/**
 * CyberChef - The Cyber Swiss Army Knife
 *
 * @copyright Crown Copyright 2016
 * @license Apache-2.0
 *
 *   Copyright 2016 Crown Copyright
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */!function(t){var n={};function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var i in t)e.d(r,i,function(n){return t[n]}.bind(null,i));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=1415)}({0:function(t,n,e){"use strict";(function(t,r){e.d(n,"c",(function(){return y})),e.d(n,"d",(function(){return b})),e.d(n,"e",(function(){return x})),e.d(n,"a",(function(){return w}));var i=e(6),o=e.n(i),a=e(1),u=e.n(a),c=e(2),f=e.n(c),s=e(23),l=e.n(s),h=e(15),d=e(16),p=e(28),g=e(27),v=function(){function n(){u()(this,n)}return f()(n,null,[{key:"chr",value:function(t){if(t>65535){t-=65536;var n=String.fromCharCode(t>>>10&1023|55296);return t=56320|1023&t,n+String.fromCharCode(t)}return String.fromCharCode(t)}},{key:"ord",value:function(t){if(2===t.length){var n=t.charCodeAt(0),e=t.charCodeAt(1);if(n>=55296&&n<56320&&e>=56320&&e<57344)return 1024*(n-55296)+e-56320+65536}return t.charCodeAt(0)}},{key:"padBytesRight",value:function(t,n){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=new Array(n);return r.fill(e),[...t].forEach((function(t,n){r[n]=t})),r}},{key:"truncate",value:function(t,n){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"...";return t.length>n&&(t=t.slice(0,n-e.length)+e),t}},{key:"hex",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return(t="string"==typeof t?n.ord(t):t).toString(16).padStart(e,"0")}},{key:"bin",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:8;return(t="string"==typeof t?n.ord(t):t).toString(2).padStart(e,"0")}},{key:"printable",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];m()&&window.app&&!window.app.options.treatAsUtf8&&(t=n.byteArrayToChars(n.strToByteArray(t)));var r=/[\0-\x08\x0B-\x0C\x0E-\x1F\x7F-\x9F\xAD\u0378\u0379\u037F-\u0383\u038B\u038D\u03A2\u0528-\u0530\u0557\u0558\u0560\u0588\u058B-\u058E\u0590\u05C8-\u05CF\u05EB-\u05EF\u05F5-\u0605\u061C\u061D\u06DD\u070E\u070F\u074B\u074C\u07B2-\u07BF\u07FB-\u07FF\u082E\u082F\u083F\u085C\u085D\u085F-\u089F\u08A1\u08AD-\u08E3\u08FF\u0978\u0980\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09FC-\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A76-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF2-\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B55\u0B58-\u0B5B\u0B5E\u0B64\u0B65\u0B78-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BE5\u0BFB-\u0C00\u0C04\u0C0D\u0C11\u0C29\u0C34\u0C3A-\u0C3C\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5A-\u0C5F\u0C64\u0C65\u0C70-\u0C77\u0C80\u0C81\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDD\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0D01\u0D04\u0D0D\u0D11\u0D3B\u0D3C\u0D45\u0D49\u0D4F-\u0D56\u0D58-\u0D5F\u0D64\u0D65\u0D76-\u0D78\u0D80\u0D81\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DF1\u0DF5-\u0E00\u0E3B-\u0E3E\u0E5C-\u0E80\u0E83\u0E85\u0E86\u0E89\u0E8B\u0E8C\u0E8E-\u0E93\u0E98\u0EA0\u0EA4\u0EA6\u0EA8\u0EA9\u0EAC\u0EBA\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F48\u0F6D-\u0F70\u0F98\u0FBD\u0FCD\u0FDB-\u0FFF\u10C6\u10C8-\u10CC\u10CE\u10CF\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u137D-\u137F\u139A-\u139F\u13F5-\u13FF\u169D-\u169F\u16F1-\u16FF\u170D\u1715-\u171F\u1737-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17DE\u17DF\u17EA-\u17EF\u17FA-\u17FF\u180F\u181A-\u181F\u1878-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191D-\u191F\u192C-\u192F\u193C-\u193F\u1941-\u1943\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DB-\u19DD\u1A1C\u1A1D\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1A9F\u1AAE-\u1AFF\u1B4C-\u1B4F\u1B7D-\u1B7F\u1BF4-\u1BFB\u1C38-\u1C3A\u1C4A-\u1C4C\u1C80-\u1CBF\u1CC8-\u1CCF\u1CF7-\u1CFF\u1DE7-\u1DFB\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FC5\u1FD4\u1FD5\u1FDC\u1FF0\u1FF1\u1FF5\u1FFF\u200B-\u200F\u202A-\u202E\u2060-\u206F\u2072\u2073\u208F\u209D-\u209F\u20BB-\u20CF\u20F1-\u20FF\u218A-\u218F\u23F4-\u23FF\u2427-\u243F\u244B-\u245F\u2700\u2B4D-\u2B4F\u2B5A-\u2BFF\u2C2F\u2C5F\u2CF4-\u2CF8\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D71-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E3C-\u2E7F\u2E9A\u2EF4-\u2EFF\u2FD6-\u2FEF\u2FFC-\u2FFF\u3040\u3097\u3098\u3100-\u3104\u312E-\u3130\u318F\u31BB-\u31BF\u31E4-\u31EF\u321F\u32FF\u4DB6-\u4DBF\u9FCD-\u9FFF\uA48D-\uA48F\uA4C7-\uA4CF\uA62C-\uA63F\uA698-\uA69E\uA6F8-\uA6FF\uA78F\uA794-\uA79F\uA7AB-\uA7F7\uA82C-\uA82F\uA83A-\uA83F\uA878-\uA87F\uA8C5-\uA8CD\uA8DA-\uA8DF\uA8FC-\uA8FF\uA954-\uA95E\uA97D-\uA97F\uA9CE\uA9DA-\uA9DD\uA9E0-\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A\uAA5B\uAA7C-\uAA7F\uAAC3-\uAADA\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F-\uABBF\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uE000-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBC2-\uFBD2\uFD40-\uFD4F\uFD90\uFD91\uFDC8-\uFDEF\uFDFE\uFDFF\uFE1A-\uFE1F\uFE27-\uFE2F\uFE53\uFE67\uFE6C-\uFE6F\uFE75\uFEFD-\uFF00\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFDF\uFFE7\uFFEF-\uFFFB\uFFFE\uFFFF]/g,i=/[\x09-\x10\x0D\u2028\u2029]/g;return t=t.replace(r,"."),e||(t=t.replace(i,".")),t}},{key:"parseEscapedChars",value:function(t){return t.replace(/\\([bfnrtv'"]|[0-3][0-7]{2}|[0-7]{1,2}|x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]{1,6}\}|\\)/g,(function(t,n){switch(n[0]){case"\\":return"\\";case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":return String.fromCharCode(parseInt(n,8));case"b":return"\b";case"t":return"\t";case"n":return"\n";case"v":return"\v";case"f":return"\f";case"r":return"\r";case'"':return'"';case"'":return"'";case"x":return String.fromCharCode(parseInt(n.substr(1),16));case"u":return"{"===n[1]?String.fromCodePoint(parseInt(n.slice(2,-1),16)):String.fromCharCode(parseInt(n.substr(1),16))}}))}},{key:"escapeRegex",value:function(t){return t.replace(/([.*+?^=!:${}()|[\]/\\])/g,"\\$1")}},{key:"expandAlphRange",value:function(t){for(var e=[],r=0;r<t.length;r++)if(r<t.length-2&&"-"===t[r+1]&&"\\"!==t[r]){for(var i=n.ord(t[r]),o=n.ord(t[r+2]),a=i;a<=o;a++)e.push(n.chr(a));r+=2}else r<t.length-2&&"\\"===t[r]&&"-"===t[r+1]?(e.push("-"),r++):e.push(t[r]);return e}},{key:"convertToByteArray",value:function(t,e){switch(e.toLowerCase()){case"binary":return Object(g.a)(t);case"hex":return Object(d.a)(t);case"decimal":return Object(p.a)(t);case"base64":return Object(h.a)(t,null,"byteArray");case"utf8":return n.strToUtf8ByteArray(t);case"latin1":default:return n.strToByteArray(t)}}},{key:"convertToByteString",value:function(t,e){switch(e.toLowerCase()){case"binary":return n.byteArrayToChars(Object(g.a)(t));case"hex":return n.byteArrayToChars(Object(d.a)(t));case"decimal":return n.byteArrayToChars(Object(p.a)(t));case"base64":return n.byteArrayToChars(Object(h.a)(t,null,"byteArray"));case"utf8":return l.a.encode(t);case"latin1":default:return t}}},{key:"strToArrayBuffer",value:function(t){for(var e,r=new Uint8Array(t.length),i=t.length;i--;)if(e=t.charCodeAt(i),r[i]=e,e>255)return n.strToUtf8ArrayBuffer(t);return r.buffer}},{key:"strToUtf8ArrayBuffer",value:function(t){var e=l.a.encode(t);return t.length!==e.length&&(b()?self.setOption("attemptHighlight",!1):m()&&(window.app.options.attemptHighlight=!1)),n.strToArrayBuffer(e)}},{key:"strToByteArray",value:function(t){for(var e,r=new Array(t.length),i=t.length;i--;)if(e=t.charCodeAt(i),r[i]=e,e>255)return n.strToUtf8ByteArray(t);return r}},{key:"strToUtf8ByteArray",value:function(t){var e=l.a.encode(t);return t.length!==e.length&&(b()?self.setOption("attemptHighlight",!1):m()&&(window.app.options.attemptHighlight=!1)),n.strToByteArray(e)}},{key:"strToCharcode",value:function(t){for(var e=[],r=0;r<t.length;r++){var i=t.charCodeAt(r);if(r<t.length-1&&i>=55296&&i<56320){var o=t[r+1].charCodeAt(0);o>=56320&&o<57344&&(i=n.ord(t[r]+t[++r]))}e.push(i)}return e}},{key:"byteArrayToUtf8",value:function(t){var e=n.byteArrayToChars(t);try{var r=l.a.decode(e);return e.length!==r.length&&(b()?self.setOption("attemptHighlight",!1):m()&&(window.app.options.attemptHighlight=!1)),r}catch(t){return e}}},{key:"byteArrayToChars",value:function(t){if(!t)return"";for(var n="",e=0;e<t.length;)n+=String.fromCharCode(t[e++]);return n}},{key:"arrayBufferToStr",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=new Uint8Array(t);return e?n.byteArrayToUtf8(r):n.byteArrayToChars(r)}},{key:"calculateShannonEntropy",value:function(t){t instanceof ArrayBuffer&&(t=new Uint8Array(t));var n,e=[],r=new Array(256).fill(0);for(n=0;n<t.length;n++)r[t[n]]++;for(n=0;n<r.length;n++)r[n]>0&&e.push(r[n]/t.length);var i,o=0;for(n=0;n<e.length;n++)o+=(i=e[n])*Math.log(i)/Math.log(2);return-o}},{key:"parseCSV",value:function(t){var n,e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[","],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:["\n","\r"],o=!1,a=!1,u="",c=[],f=[];t.length&&"\ufeff"===t[0]&&(t=t.substr(1));for(var s=0;s<t.length;s++)n=t[s],e=t[s+1]||"",o?(u+=n,o=!1):'"'!==n||a?'"'===n&&a?'"'===e?o=!0:a=!1:!a&&r.indexOf(n)>=0?(c.push(u),u=""):!a&&i.indexOf(n)>=0?(c.push(u),u="",f.push(c),c=[],i.indexOf(e)>=0&&e!==n&&s++):u+=n:a=!0;return c.length&&(c.push(u),f.push(c)),f}},{key:"stripHtmlTags",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return n&&(t=t.replace(/<(script|style)[^>]*>.*<\/(script|style)>/gim,"")),t.replace(/<[^>]+>/g,"")}},{key:"escapeHtml",value:function(t){var n={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","/":"&#x2F;","`":"&#x60;"};return t.replace(/[&<>"'/`]/g,(function(t){return n[t]}))}},{key:"unescapeHtml",value:function(t){var n={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#x27;":"'","&#x2F;":"/","&#x60;":"`"};return t.replace(/&#?x?[a-z0-9]{2,4};/gi,(function(t){return n[t]||t}))}},{key:"encodeURIFragment",value:function(t){var n={"%2D":"-","%2E":".","%5F":"_","%7E":"~","%21":"!","%24":"$","%27":"'","%28":"(","%29":")","%2A":"*","%2C":",","%3B":";","%3A":":","%40":"@","%2F":"/","%3F":"?"};return(t=encodeURIComponent(t)).replace(/%[0-9A-F]{2}/g,(function(t){return n[t]||t}))}},{key:"generatePrettyRecipe",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],e="",r="",i="",o="",a="";return t.forEach((function(t){r=t.op.replace(/ /g,"_"),i=JSON.stringify(t.args).slice(1,-1).replace(/'/g,"\\'").replace(/"((?:[^"\\]|\\.)*)"/g,"'$1'").replace(/\\"/g,'"'),o=t.disabled?"/disabled":"",a=t.breakpoint?"/breakpoint":"",e+=`${r}(${i}${o}${a})`,n&&(e+="\n")})),e}},{key:"parseRecipeConfig",value:function(t){if(0===(t=t.trim()).length)return[];if("["===t[0])return JSON.parse(t);var n,e;t=t.replace(/\n/g,"");for(var r=/([^(]+)\(((?:'[^'\\]*(?:\\.[^'\\]*)*'|[^)/'])*)(\/[^)]+)?\)/g,i=[];n=r.exec(t);){e="["+(e=n[2].replace(/"/g,'\\"').replace(/(^|,|{|:)'/g,'$1"').replace(/([^\\]|(?:\\\\)+)'(,|:|}|$)/g,'$1"$2').replace(/\\'/g,"'"))+"]";var o={op:n[1].replace(/_/g," "),args:JSON.parse(e)};n[3]&&n[3].indexOf("disabled")>0&&(o.disabled=!0),n[3]&&n[3].indexOf("breakpoint")>0&&(o.breakpoint=!0),i.push(o)}return i}},{key:"displayFilesAsHTML",value:function(t){var e,r,i,a,u;return o.a.async((function(c){for(;;)switch(c.prev=c.next){case 0:e=function(t){return`<div class='card' style='white-space: normal;'>\n                    <div class='card-header'>\n                        <h6 class="mb-0">\n                            ${n.escapeHtml(t.name)}\n                        </h6>\n                    </div>\n                </div>`},r=function(t,e){if(e.startsWith("image")){var r="data:";return r+=e+";","<img style='max-width: 100%;' src='"+(r+="base64,"+Object(h.b)(t))+"'>"}return`<pre>${n.escapeHtml(n.arrayBufferToStr(t.buffer))}</pre>`},i=function(t,e){var i,a,u,c;return o.a.async((function(f){for(;;)switch(f.prev=f.next){case 0:return f.next=2,o.a.awrap(n.readFile(t));case 2:return i=f.sent,a=new Blob([i],{type:t.type||"octet/stream"}),u=URL.createObjectURL(a),c=`<div class='card' style='white-space: normal;'>\n                    <div class='card-header' id='heading${e}'>\n                        <h6 class='mb-0'>\n                            <a class='collapsed'\n                                data-toggle='collapse'\n                                href='#collapse${e}'\n                                aria-expanded='false'\n                                aria-controls='collapse${e}'\n                                title="Show/hide contents of '${n.escapeHtml(t.name)}'">\n                                ${n.escapeHtml(t.name)}</a>\n                            <span class='float-right' style="margin-top: -3px">\n                                ${t.size.toLocaleString()} bytes\n                                <a title="Download ${n.escapeHtml(t.name)}"\n                                    href="${u}"\n                                    download="${n.escapeHtml(t.name)}"\n                                    data-toggle="tooltip">\n                                    <i class="material-icons" style="vertical-align: bottom">save</i>\n                                </a>\n                                <a title="Move to input"\n                                    href="#"\n                                    blob-url="${u}"\n                                    file-name="${n.escapeHtml(t.name)}"\n                                    class="extract-file"\n                                    data-toggle="tooltip">\n                                    <i class="material-icons" style="vertical-align: bottom">open_in_browser</i>\n                                </a>\n                            </span>\n                        </h6>\n                    </div>\n                    <div id='collapse${e}' class='collapse' aria-labelledby='heading${e}' data-parent="#files">\n                        <div class='card-body'>\n                            ${r(i,t.type)}\n                        </div>\n                    </div>\n                </div>`,f.abrupt("return",c);case 7:case"end":return f.stop()}}))},a=`<div style='padding: 5px; white-space: normal;'>\n                ${t.length} file(s) found\n            </div><div id="files" style="padding: 20px">`,u=0;case 5:if(!(u<t.length)){c.next=17;break}if(!t[u].name.endsWith("/")){c.next=10;break}a+=e(t[u]),c.next=14;break;case 10:return c.t0=a,c.next=13,o.a.awrap(i(t[u],u));case 13:a=c.t0+=c.sent;case 14:u++,c.next=5;break;case 17:return c.abrupt("return",a+="</div>");case 18:case"end":return c.stop()}}))}},{key:"parseURIParams",value:function(t){if(""===t)return{};"?"!==t[0]&&"#"!==t[0]||(t=t.substr(1));for(var n=t.split("&"),e={},r=0;r<n.length;r++){var i=n[r].split("=");2!==i.length?e[n[r]]=!0:e[i[0]]=decodeURIComponent(i[1].replace(/\+/g," "))}return e}},{key:"readFile",value:function(n){return y()?t.from(n).buffer:new Promise((function(t,e){var r=new FileReader,i=new Uint8Array(n.size),o=0,a=function(){if(o>=n.size)t(i);else{var e=n.slice(o,o+10485760);r.readAsArrayBuffer(e)}};r.onload=function(t){i.set(new Uint8Array(r.result),o),o+=10485760,a()},r.onerror=function(t){e(r.error.message)},a()}))}},{key:"readFileSync",value:function(t){if(!y())throw new TypeError("Browser environment cannot support readFileSync");return Uint8Array.from(t.data).buffer}},{key:"mod",value:function(t,n){return(t%n+n)%n}},{key:"gcd",value:function(t,e){return e?n.gcd(e,t%e):t}},{key:"modInv",value:function(t,n){t%=n;for(var e=1;e<n;e++)if(t*e%26==1)return e}},{key:"charRep",value:function(t){return{Space:" ",Percent:"%",Comma:",","Semi-colon":";",Colon:":",Tab:"\t","Line feed":"\n",CRLF:"\r\n","Forward slash":"/",Backslash:"\\","0x":"0x","\\x":"\\x","Nothing (separate chars)":"",None:""}[t]}},{key:"regexRep",value:function(t){return{Space:/\s+/g,Percent:/%/g,Comma:/,/g,"Semi-colon":/;/g,Colon:/:/g,"Line feed":/\n/g,CRLF:/\r\n/g,"Forward slash":/\//g,Backslash:/\\/g,"0x":/0x/g,"\\x":/\\x/g,None:/\s+/g}[t]}}]),n}();function y(){return void 0!==r&&null!=r.versions&&null!=r.versions.node}function m(){return"object"==typeof window}function b(){return"function"==typeof importScripts}function x(t){b()?self.sendStatusMessage(t):m()?app.alert(t,1e4):y()&&console.debug(t)}n.b=v,Array.prototype.unique=function(){for(var t={},n=[],e=0,r=this.length;e<r;e++)Object.prototype.hasOwnProperty.call(t,this[e])||(n.push(this[e]),t[this[e]]=1);return n},Array.prototype.max=function(){return Math.max.apply(null,this)},Array.prototype.min=function(){return Math.min.apply(null,this)},Array.prototype.sum=function(){return this.reduce((function(t,n){return t+n}),0)},Array.prototype.equals=function(t){if(!t)return!1;var n=this.length;if(n!==t.length)return!1;for(;n--;)if(this[n]!==t[n])return!1;return!0},String.prototype.count=function(t){return this.split(t).length-1};var _={};function w(t,n,e,r,i){return function(){clearTimeout(_[e]),_[e]=setTimeout((function(){t.apply(r,i)}),n)}}String.prototype.padStart||(String.prototype.padStart=function(t,n){return t>>=0,n=String(void 0!==n?n:" "),this.length>t?String(this):((t-=this.length)>n.length&&(n+=n.repeat(t/n.length)),n.slice(0,t)+String(this))}),String.prototype.padEnd||(String.prototype.padEnd=function(t,n){return t>>=0,n=String(void 0!==n?n:" "),this.length>t?String(this):((t-=this.length)>n.length&&(n+=n.repeat(t/n.length)),String(this)+n.slice(0,t))})}).call(this,e(11).Buffer,e(25))},1:function(t,n){t.exports=function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}},109:function(t,n,e){"use strict";n.a=function(t,n){return t=+t,n=+n,function(e){return t*(1-e)+n*e}}},11:function(t,n,e){"use strict";(function(t){
/*!
 * The buffer module from node.js, for the browser.
 *
 * @author   Feross Aboukhadijeh <http://feross.org>
 * @license  MIT
 */
var r=e(40),i=e(41),o=e(42);function a(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function u(t,n){if(a()<n)throw new RangeError("Invalid typed array length");return c.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(n)).__proto__=c.prototype:(null===t&&(t=new c(n)),t.length=n),t}function c(t,n,e){if(!(c.TYPED_ARRAY_SUPPORT||this instanceof c))return new c(t,n,e);if("number"==typeof t){if("string"==typeof n)throw new Error("If encoding is specified then the first argument must be a string");return l(this,t)}return f(this,t,n,e)}function f(t,n,e,r){if("number"==typeof n)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&n instanceof ArrayBuffer?function(t,n,e,r){if(n.byteLength,e<0||n.byteLength<e)throw new RangeError("'offset' is out of bounds");if(n.byteLength<e+(r||0))throw new RangeError("'length' is out of bounds");n=void 0===e&&void 0===r?new Uint8Array(n):void 0===r?new Uint8Array(n,e):new Uint8Array(n,e,r);c.TYPED_ARRAY_SUPPORT?(t=n).__proto__=c.prototype:t=h(t,n);return t}(t,n,e,r):"string"==typeof n?function(t,n,e){"string"==typeof e&&""!==e||(e="utf8");if(!c.isEncoding(e))throw new TypeError('"encoding" must be a valid string encoding');var r=0|p(n,e),i=(t=u(t,r)).write(n,e);i!==r&&(t=t.slice(0,i));return t}(t,n,e):function(t,n){if(c.isBuffer(n)){var e=0|d(n.length);return 0===(t=u(t,e)).length?t:(n.copy(t,0,0,e),t)}if(n){if("undefined"!=typeof ArrayBuffer&&n.buffer instanceof ArrayBuffer||"length"in n)return"number"!=typeof n.length||(r=n.length)!=r?u(t,0):h(t,n);if("Buffer"===n.type&&o(n.data))return h(t,n.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,n)}function s(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function l(t,n){if(s(n),t=u(t,n<0?0:0|d(n)),!c.TYPED_ARRAY_SUPPORT)for(var e=0;e<n;++e)t[e]=0;return t}function h(t,n){var e=n.length<0?0:0|d(n.length);t=u(t,e);for(var r=0;r<e;r+=1)t[r]=255&n[r];return t}function d(t){if(t>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|t}function p(t,n){if(c.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var e=t.length;if(0===e)return 0;for(var r=!1;;)switch(n){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":case void 0:return z(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*e;case"hex":return e>>>1;case"base64":return Y(t).length;default:if(r)return z(t).length;n=(""+n).toLowerCase(),r=!0}}function g(t,n,e){var r=!1;if((void 0===n||n<0)&&(n=0),n>this.length)return"";if((void 0===e||e>this.length)&&(e=this.length),e<=0)return"";if((e>>>=0)<=(n>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return T(this,n,e);case"utf8":case"utf-8":return k(this,n,e);case"ascii":return B(this,n,e);case"latin1":case"binary":return F(this,n,e);case"base64":return M(this,n,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,n,e);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function v(t,n,e){var r=t[n];t[n]=t[e],t[e]=r}function y(t,n,e,r,i){if(0===t.length)return-1;if("string"==typeof e?(r=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,isNaN(e)&&(e=i?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(i)return-1;e=t.length-1}else if(e<0){if(!i)return-1;e=0}if("string"==typeof n&&(n=c.from(n,r)),c.isBuffer(n))return 0===n.length?-1:m(t,n,e,r,i);if("number"==typeof n)return n&=255,c.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,n,e):Uint8Array.prototype.lastIndexOf.call(t,n,e):m(t,[n],e,r,i);throw new TypeError("val must be string, number or Buffer")}function m(t,n,e,r,i){var o,a=1,u=t.length,c=n.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||n.length<2)return-1;a=2,u/=2,c/=2,e/=2}function f(t,n){return 1===a?t[n]:t.readUInt16BE(n*a)}if(i){var s=-1;for(o=e;o<u;o++)if(f(t,o)===f(n,-1===s?0:o-s)){if(-1===s&&(s=o),o-s+1===c)return s*a}else-1!==s&&(o-=o-s),s=-1}else for(e+c>u&&(e=u-c),o=e;o>=0;o--){for(var l=!0,h=0;h<c;h++)if(f(t,o+h)!==f(n,h)){l=!1;break}if(l)return o}return-1}function b(t,n,e,r){e=Number(e)||0;var i=t.length-e;r?(r=Number(r))>i&&(r=i):r=i;var o=n.length;if(o%2!=0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a<r;++a){var u=parseInt(n.substr(2*a,2),16);if(isNaN(u))return a;t[e+a]=u}return a}function x(t,n,e,r){return q(z(n,t.length-e),t,e,r)}function _(t,n,e,r){return q(function(t){for(var n=[],e=0;e<t.length;++e)n.push(255&t.charCodeAt(e));return n}(n),t,e,r)}function w(t,n,e,r){return _(t,n,e,r)}function A(t,n,e,r){return q(Y(n),t,e,r)}function E(t,n,e,r){return q(function(t,n){for(var e,r,i,o=[],a=0;a<t.length&&!((n-=2)<0);++a)e=t.charCodeAt(a),r=e>>8,i=e%256,o.push(i),o.push(r);return o}(n,t.length-e),t,e,r)}function M(t,n,e){return 0===n&&e===t.length?r.fromByteArray(t):r.fromByteArray(t.slice(n,e))}function k(t,n,e){e=Math.min(t.length,e);for(var r=[],i=n;i<e;){var o,a,u,c,f=t[i],s=null,l=f>239?4:f>223?3:f>191?2:1;if(i+l<=e)switch(l){case 1:f<128&&(s=f);break;case 2:128==(192&(o=t[i+1]))&&(c=(31&f)<<6|63&o)>127&&(s=c);break;case 3:o=t[i+1],a=t[i+2],128==(192&o)&&128==(192&a)&&(c=(15&f)<<12|(63&o)<<6|63&a)>2047&&(c<55296||c>57343)&&(s=c);break;case 4:o=t[i+1],a=t[i+2],u=t[i+3],128==(192&o)&&128==(192&a)&&128==(192&u)&&(c=(15&f)<<18|(63&o)<<12|(63&a)<<6|63&u)>65535&&c<1114112&&(s=c)}null===s?(s=65533,l=1):s>65535&&(s-=65536,r.push(s>>>10&1023|55296),s=56320|1023&s),r.push(s),i+=l}return function(t){var n=t.length;if(n<=O)return String.fromCharCode.apply(String,t);var e="",r=0;for(;r<n;)e+=String.fromCharCode.apply(String,t.slice(r,r+=O));return e}(r)}n.Buffer=c,n.SlowBuffer=function(t){+t!=t&&(t=0);return c.alloc(+t)},n.INSPECT_MAX_BYTES=50,c.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(t){return!1}}(),n.kMaxLength=a(),c.poolSize=8192,c._augment=function(t){return t.__proto__=c.prototype,t},c.from=function(t,n,e){return f(null,t,n,e)},c.TYPED_ARRAY_SUPPORT&&(c.prototype.__proto__=Uint8Array.prototype,c.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&c[Symbol.species]===c&&Object.defineProperty(c,Symbol.species,{value:null,configurable:!0})),c.alloc=function(t,n,e){return function(t,n,e,r){return s(n),n<=0?u(t,n):void 0!==e?"string"==typeof r?u(t,n).fill(e,r):u(t,n).fill(e):u(t,n)}(null,t,n,e)},c.allocUnsafe=function(t){return l(null,t)},c.allocUnsafeSlow=function(t){return l(null,t)},c.isBuffer=function(t){return!(null==t||!t._isBuffer)},c.compare=function(t,n){if(!c.isBuffer(t)||!c.isBuffer(n))throw new TypeError("Arguments must be Buffers");if(t===n)return 0;for(var e=t.length,r=n.length,i=0,o=Math.min(e,r);i<o;++i)if(t[i]!==n[i]){e=t[i],r=n[i];break}return e<r?-1:r<e?1:0},c.isEncoding=function(t){switch(String(t).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}},c.concat=function(t,n){if(!o(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return c.alloc(0);var e;if(void 0===n)for(n=0,e=0;e<t.length;++e)n+=t[e].length;var r=c.allocUnsafe(n),i=0;for(e=0;e<t.length;++e){var a=t[e];if(!c.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(r,i),i+=a.length}return r},c.byteLength=p,c.prototype._isBuffer=!0,c.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var n=0;n<t;n+=2)v(this,n,n+1);return this},c.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var n=0;n<t;n+=4)v(this,n,n+3),v(this,n+1,n+2);return this},c.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var n=0;n<t;n+=8)v(this,n,n+7),v(this,n+1,n+6),v(this,n+2,n+5),v(this,n+3,n+4);return this},c.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?k(this,0,t):g.apply(this,arguments)},c.prototype.equals=function(t){if(!c.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===c.compare(this,t)},c.prototype.inspect=function(){var t="",e=n.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,e).match(/.{2}/g).join(" "),this.length>e&&(t+=" ... ")),"<Buffer "+t+">"},c.prototype.compare=function(t,n,e,r,i){if(!c.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===n&&(n=0),void 0===e&&(e=t?t.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),n<0||e>t.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&n>=e)return 0;if(r>=i)return-1;if(n>=e)return 1;if(this===t)return 0;for(var o=(i>>>=0)-(r>>>=0),a=(e>>>=0)-(n>>>=0),u=Math.min(o,a),f=this.slice(r,i),s=t.slice(n,e),l=0;l<u;++l)if(f[l]!==s[l]){o=f[l],a=s[l];break}return o<a?-1:a<o?1:0},c.prototype.includes=function(t,n,e){return-1!==this.indexOf(t,n,e)},c.prototype.indexOf=function(t,n,e){return y(this,t,n,e,!0)},c.prototype.lastIndexOf=function(t,n,e){return y(this,t,n,e,!1)},c.prototype.write=function(t,n,e,r){if(void 0===n)r="utf8",e=this.length,n=0;else if(void 0===e&&"string"==typeof n)r=n,e=this.length,n=0;else{if(!isFinite(n))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");n|=0,isFinite(e)?(e|=0,void 0===r&&(r="utf8")):(r=e,e=void 0)}var i=this.length-n;if((void 0===e||e>i)&&(e=i),t.length>0&&(e<0||n<0)||n>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return b(this,t,n,e);case"utf8":case"utf-8":return x(this,t,n,e);case"ascii":return _(this,t,n,e);case"latin1":case"binary":return w(this,t,n,e);case"base64":return A(this,t,n,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return E(this,t,n,e);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var O=4096;function B(t,n,e){var r="";e=Math.min(t.length,e);for(var i=n;i<e;++i)r+=String.fromCharCode(127&t[i]);return r}function F(t,n,e){var r="";e=Math.min(t.length,e);for(var i=n;i<e;++i)r+=String.fromCharCode(t[i]);return r}function T(t,n,e){var r=t.length;(!n||n<0)&&(n=0),(!e||e<0||e>r)&&(e=r);for(var i="",o=n;o<e;++o)i+=U(t[o]);return i}function N(t,n,e){for(var r=t.slice(n,e),i="",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function C(t,n,e){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+n>e)throw new RangeError("Trying to access beyond buffer length")}function S(t,n,e,r,i,o){if(!c.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(n>i||n<o)throw new RangeError('"value" argument is out of bounds');if(e+r>t.length)throw new RangeError("Index out of range")}function j(t,n,e,r){n<0&&(n=65535+n+1);for(var i=0,o=Math.min(t.length-e,2);i<o;++i)t[e+i]=(n&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function P(t,n,e,r){n<0&&(n=4294967295+n+1);for(var i=0,o=Math.min(t.length-e,4);i<o;++i)t[e+i]=n>>>8*(r?i:3-i)&255}function R(t,n,e,r,i,o){if(e+r>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function D(t,n,e,r,o){return o||R(t,0,e,4),i.write(t,n,e,r,23,4),e+4}function L(t,n,e,r,o){return o||R(t,0,e,8),i.write(t,n,e,r,52,8),e+8}c.prototype.slice=function(t,n){var e,r=this.length;if((t=~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),(n=void 0===n?r:~~n)<0?(n+=r)<0&&(n=0):n>r&&(n=r),n<t&&(n=t),c.TYPED_ARRAY_SUPPORT)(e=this.subarray(t,n)).__proto__=c.prototype;else{var i=n-t;e=new c(i,void 0);for(var o=0;o<i;++o)e[o]=this[o+t]}return e},c.prototype.readUIntLE=function(t,n,e){t|=0,n|=0,e||C(t,n,this.length);for(var r=this[t],i=1,o=0;++o<n&&(i*=256);)r+=this[t+o]*i;return r},c.prototype.readUIntBE=function(t,n,e){t|=0,n|=0,e||C(t,n,this.length);for(var r=this[t+--n],i=1;n>0&&(i*=256);)r+=this[t+--n]*i;return r},c.prototype.readUInt8=function(t,n){return n||C(t,1,this.length),this[t]},c.prototype.readUInt16LE=function(t,n){return n||C(t,2,this.length),this[t]|this[t+1]<<8},c.prototype.readUInt16BE=function(t,n){return n||C(t,2,this.length),this[t]<<8|this[t+1]},c.prototype.readUInt32LE=function(t,n){return n||C(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},c.prototype.readUInt32BE=function(t,n){return n||C(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},c.prototype.readIntLE=function(t,n,e){t|=0,n|=0,e||C(t,n,this.length);for(var r=this[t],i=1,o=0;++o<n&&(i*=256);)r+=this[t+o]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*n)),r},c.prototype.readIntBE=function(t,n,e){t|=0,n|=0,e||C(t,n,this.length);for(var r=n,i=1,o=this[t+--r];r>0&&(i*=256);)o+=this[t+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*n)),o},c.prototype.readInt8=function(t,n){return n||C(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},c.prototype.readInt16LE=function(t,n){n||C(t,2,this.length);var e=this[t]|this[t+1]<<8;return 32768&e?4294901760|e:e},c.prototype.readInt16BE=function(t,n){n||C(t,2,this.length);var e=this[t+1]|this[t]<<8;return 32768&e?4294901760|e:e},c.prototype.readInt32LE=function(t,n){return n||C(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},c.prototype.readInt32BE=function(t,n){return n||C(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},c.prototype.readFloatLE=function(t,n){return n||C(t,4,this.length),i.read(this,t,!0,23,4)},c.prototype.readFloatBE=function(t,n){return n||C(t,4,this.length),i.read(this,t,!1,23,4)},c.prototype.readDoubleLE=function(t,n){return n||C(t,8,this.length),i.read(this,t,!0,52,8)},c.prototype.readDoubleBE=function(t,n){return n||C(t,8,this.length),i.read(this,t,!1,52,8)},c.prototype.writeUIntLE=function(t,n,e,r){(t=+t,n|=0,e|=0,r)||S(this,t,n,e,Math.pow(2,8*e)-1,0);var i=1,o=0;for(this[n]=255&t;++o<e&&(i*=256);)this[n+o]=t/i&255;return n+e},c.prototype.writeUIntBE=function(t,n,e,r){(t=+t,n|=0,e|=0,r)||S(this,t,n,e,Math.pow(2,8*e)-1,0);var i=e-1,o=1;for(this[n+i]=255&t;--i>=0&&(o*=256);)this[n+i]=t/o&255;return n+e},c.prototype.writeUInt8=function(t,n,e){return t=+t,n|=0,e||S(this,t,n,1,255,0),c.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[n]=255&t,n+1},c.prototype.writeUInt16LE=function(t,n,e){return t=+t,n|=0,e||S(this,t,n,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[n]=255&t,this[n+1]=t>>>8):j(this,t,n,!0),n+2},c.prototype.writeUInt16BE=function(t,n,e){return t=+t,n|=0,e||S(this,t,n,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[n]=t>>>8,this[n+1]=255&t):j(this,t,n,!1),n+2},c.prototype.writeUInt32LE=function(t,n,e){return t=+t,n|=0,e||S(this,t,n,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[n+3]=t>>>24,this[n+2]=t>>>16,this[n+1]=t>>>8,this[n]=255&t):P(this,t,n,!0),n+4},c.prototype.writeUInt32BE=function(t,n,e){return t=+t,n|=0,e||S(this,t,n,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[n]=t>>>24,this[n+1]=t>>>16,this[n+2]=t>>>8,this[n+3]=255&t):P(this,t,n,!1),n+4},c.prototype.writeIntLE=function(t,n,e,r){if(t=+t,n|=0,!r){var i=Math.pow(2,8*e-1);S(this,t,n,e,i-1,-i)}var o=0,a=1,u=0;for(this[n]=255&t;++o<e&&(a*=256);)t<0&&0===u&&0!==this[n+o-1]&&(u=1),this[n+o]=(t/a>>0)-u&255;return n+e},c.prototype.writeIntBE=function(t,n,e,r){if(t=+t,n|=0,!r){var i=Math.pow(2,8*e-1);S(this,t,n,e,i-1,-i)}var o=e-1,a=1,u=0;for(this[n+o]=255&t;--o>=0&&(a*=256);)t<0&&0===u&&0!==this[n+o+1]&&(u=1),this[n+o]=(t/a>>0)-u&255;return n+e},c.prototype.writeInt8=function(t,n,e){return t=+t,n|=0,e||S(this,t,n,1,127,-128),c.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[n]=255&t,n+1},c.prototype.writeInt16LE=function(t,n,e){return t=+t,n|=0,e||S(this,t,n,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[n]=255&t,this[n+1]=t>>>8):j(this,t,n,!0),n+2},c.prototype.writeInt16BE=function(t,n,e){return t=+t,n|=0,e||S(this,t,n,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[n]=t>>>8,this[n+1]=255&t):j(this,t,n,!1),n+2},c.prototype.writeInt32LE=function(t,n,e){return t=+t,n|=0,e||S(this,t,n,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[n]=255&t,this[n+1]=t>>>8,this[n+2]=t>>>16,this[n+3]=t>>>24):P(this,t,n,!0),n+4},c.prototype.writeInt32BE=function(t,n,e){return t=+t,n|=0,e||S(this,t,n,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),c.TYPED_ARRAY_SUPPORT?(this[n]=t>>>24,this[n+1]=t>>>16,this[n+2]=t>>>8,this[n+3]=255&t):P(this,t,n,!1),n+4},c.prototype.writeFloatLE=function(t,n,e){return D(this,t,n,!0,e)},c.prototype.writeFloatBE=function(t,n,e){return D(this,t,n,!1,e)},c.prototype.writeDoubleLE=function(t,n,e){return L(this,t,n,!0,e)},c.prototype.writeDoubleBE=function(t,n,e){return L(this,t,n,!1,e)},c.prototype.copy=function(t,n,e,r){if(e||(e=0),r||0===r||(r=this.length),n>=t.length&&(n=t.length),n||(n=0),r>0&&r<e&&(r=e),r===e)return 0;if(0===t.length||0===this.length)return 0;if(n<0)throw new RangeError("targetStart out of bounds");if(e<0||e>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-n<r-e&&(r=t.length-n+e);var i,o=r-e;if(this===t&&e<n&&n<r)for(i=o-1;i>=0;--i)t[i+n]=this[i+e];else if(o<1e3||!c.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)t[i+n]=this[i+e];else Uint8Array.prototype.set.call(t,this.subarray(e,e+o),n);return o},c.prototype.fill=function(t,n,e,r){if("string"==typeof t){if("string"==typeof n?(r=n,n=0,e=this.length):"string"==typeof e&&(r=e,e=this.length),1===t.length){var i=t.charCodeAt(0);i<256&&(t=i)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!c.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof t&&(t&=255);if(n<0||this.length<n||this.length<e)throw new RangeError("Out of range index");if(e<=n)return this;var o;if(n>>>=0,e=void 0===e?this.length:e>>>0,t||(t=0),"number"==typeof t)for(o=n;o<e;++o)this[o]=t;else{var a=c.isBuffer(t)?t:z(new c(t,r).toString()),u=a.length;for(o=0;o<e-n;++o)this[o+n]=a[o%u]}return this};var I=/[^+\/0-9A-Za-z-_]/g;function U(t){return t<16?"0"+t.toString(16):t.toString(16)}function z(t,n){var e;n=n||1/0;for(var r=t.length,i=null,o=[],a=0;a<r;++a){if((e=t.charCodeAt(a))>55295&&e<57344){if(!i){if(e>56319){(n-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(n-=3)>-1&&o.push(239,191,189);continue}i=e;continue}if(e<56320){(n-=3)>-1&&o.push(239,191,189),i=e;continue}e=65536+(i-55296<<10|e-56320)}else i&&(n-=3)>-1&&o.push(239,191,189);if(i=null,e<128){if((n-=1)<0)break;o.push(e)}else if(e<2048){if((n-=2)<0)break;o.push(e>>6|192,63&e|128)}else if(e<65536){if((n-=3)<0)break;o.push(e>>12|224,e>>6&63|128,63&e|128)}else{if(!(e<1114112))throw new Error("Invalid code point");if((n-=4)<0)break;o.push(e>>18|240,e>>12&63|128,e>>6&63|128,63&e|128)}}return o}function Y(t){return r.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(I,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function q(t,n,e,r){for(var i=0;i<r&&!(i+e>=n.length||i>=t.length);++i)n[i+e]=t[i];return i}}).call(this,e(26))},110:function(t,n,e){"use strict";function r(t,n){var e=Object.create(t.prototype);for(var r in n)e[r]=n[r];return e}e.d(n,"b",(function(){return r})),n.a=function(t,n,e){t.prototype=n.prototype=e,e.constructor=t}},118:function(t,n,e){"use strict";e.r(n);var r=e(67);e.d(n,"color",(function(){return r.e})),e.d(n,"rgb",(function(){return r.g})),e.d(n,"hsl",(function(){return r.f}));var i=e(268);e.d(n,"lab",(function(){return i.a})),e.d(n,"hcl",(function(){return i.c})),e.d(n,"lch",(function(){return i.d})),e.d(n,"gray",(function(){return i.b}));var o=e(407);e.d(n,"cubehelix",(function(){return o.a}))},12:function(t,n,e){var r=e(44),i=e(45),o=e(46);t.exports=function(t,n){return r(t)||i(t,n)||o()}},13:function(t,n,e){"use strict";var r=e(6),i=e.n(r),o=e(1),a=e.n(o),u=e(2),c=e.n(u),f=e(0),s=e(4),l=e.n(s),h=e(3),d=e.n(h),p=e(22),g=e.n(p),v=e(5),y=e.n(v);
/**
 * Custom error type for handling Dish type errors.
 * i.e. where the Dish cannot be successfully translated between types
 *
 * @author n1474335 [n1474335@gmail.com]
 * @copyright Crown Copyright 2018
 * @license Apache-2.0
 */
var m=function(t){function n(){var t;a()(this,n);for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];return(t=l()(this,d()(n).call(this,...r))).type="DishError",Error.captureStackTrace&&Error.captureStackTrace(g()(t),n),t}return y()(n,t),n}(function(t){function n(){var n=Reflect.construct(t,Array.from(arguments));return Object.setPrototypeOf(n,Object.getPrototypeOf(this)),n}return n.prototype=Object.create(t.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t,n}(Error)),b=e(14),x=e.n(b),_=e(18),w=e(24),A=e.n(w),E=function(){function t(){a()(this,t)}return c()(t,null,[{key:"checkForValue",value:function(t){if(void 0===t)throw new Error("only use translation methods with .bind")}},{key:"toArrayBuffer",value:function(){throw new Error("toArrayBuffer has not been implemented")}},{key:"fromArrayBuffer",value:function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0];throw new Error("fromArrayBuffer has not been implemented")}}]),t}(),M=function(t){function n(){return a()(this,n),l()(this,d()(n).apply(this,arguments))}return y()(n,t),c()(n,null,[{key:"toArrayBuffer",value:function(){n.checkForValue(this.value),this.value=new Uint8Array(this.value).buffer}},{key:"fromArrayBuffer",value:function(){n.checkForValue(this.value),this.value=Array.prototype.slice.call(new Uint8Array(this.value))}}]),n}(E),k=function(t){function n(){return a()(this,n),l()(this,d()(n).apply(this,arguments))}return y()(n,t),c()(n,null,[{key:"toArrayBuffer",value:function(){n.checkForValue(this.value),this.value=x.a.isBigNumber(this.value)?f.b.strToArrayBuffer(this.value.toFixed()):new ArrayBuffer}},{key:"fromArrayBuffer",value:function(t){n.checkForValue(this.value);try{this.value=new x.a(f.b.arrayBufferToStr(this.value,!t))}catch(t){this.value=new x.a(NaN)}}}]),n}(E),O=function(t){function n(){return a()(this,n),l()(this,d()(n).apply(this,arguments))}return y()(n,t),c()(n,null,[{key:"toArrayBuffer",value:function(){var t=this;if(n.checkForValue(this.value),!Object(f.c)())return new Promise((function(n,e){f.b.readFile(t.value).then((function(n){return t.value=n.buffer})).then(n).catch(e)}));this.value=f.b.readFileSync(this.value)}},{key:"fromArrayBuffer",value:function(){n.checkForValue(this.value),this.value=new File(this.value,"unknown")}}]),n}(E),B=function(t){function n(){return a()(this,n),l()(this,d()(n).apply(this,arguments))}return y()(n,t),c()(n,null,[{key:"toArrayBuffer",value:function(){n.checkForValue(this.value),this.value=this.value?f.b.strToArrayBuffer(this.value):new ArrayBuffer}},{key:"fromArrayBuffer",value:function(t){n.checkForValue(this.value),this.value=this.value?f.b.arrayBufferToStr(this.value,!t):""}}]),n}(E),F=function(t){function n(){return a()(this,n),l()(this,d()(n).apply(this,arguments))}return y()(n,t),c()(n,null,[{key:"toArrayBuffer",value:function(){n.checkForValue(this.value),this.value=this.value?f.b.strToArrayBuffer(f.b.unescapeHtml(f.b.stripHtmlTags(this.value,!0))):new ArrayBuffer}}]),n}(B),T=function(t){function n(){return a()(this,n),l()(this,d()(n).apply(this,arguments))}return y()(n,t),c()(n,null,[{key:"toArrayBuffer",value:function(){n.checkForValue(this.value),this.value=this.value?f.b.strToArrayBuffer(JSON.stringify(this.value,null,4)):new ArrayBuffer}},{key:"fromArrayBuffer",value:function(t){n.checkForValue(this.value),this.value=JSON.parse(f.b.arrayBufferToStr(this.value,!t))}}]),n}(E),N=function(t){function n(){return a()(this,n),l()(this,d()(n).apply(this,arguments))}return y()(n,t),c()(n,null,[{key:"toArrayBuffer",value:function(){return i.a.async((function(t){for(;;)switch(t.prev=t.next){case 0:if(n.checkForValue(this.value),!Object(f.c)()){t.next=5;break}this.value=this.value.map((function(t){return Uint8Array.from(t.data)})),t.next=8;break;case 5:return t.next=7,i.a.awrap(n.concatenateTypedArraysWithTypedElements(...this.value));case 7:this.value=t.sent;case 8:case"end":return t.stop()}}),null,this)}},{key:"fromArrayBuffer",value:function(){n.checkForValue(this.value),this.value=[new File(this.value,"unknown")]}},{key:"concatenateTypedArraysWithTypedElements",value:function(){var t,n,e,r,o,a,u,c,s,l,h,d,p,g=arguments;return i.a.async((function(v){for(;;)switch(v.prev=v.next){case 0:for(t=0,n=g.length,e=new Array(n),r=0;r<n;r++)e[r]=g[r];for(o=0,a=e;o<a.length;o++)u=a[o],t+=u.size;c=new Uint8Array(t),s=0,l=0,h=e;case 6:if(!(l<h.length)){v.next=16;break}return d=h[l],v.next=10,i.a.awrap(f.b.readFile(d));case 10:p=v.sent,c.set(p,s),s+=p.length;case 13:l++,v.next=6;break;case 16:return v.abrupt("return",c);case 17:case"end":return v.stop()}}))}},{key:"concatenateTypedArrays",value:function(){for(var t=0,n=arguments.length,e=new Array(n),r=0;r<n;r++)e[r]=arguments[r];for(var i=0,o=e;i<o.length;i++){var a=o[i];t+=a.length}for(var u=new Uint8Array(t),c=0,f=0,s=e;f<s.length;f++){var l=s[f];u.set(l,c),c+=l.length}return u}}]),n}(E),C=function(t){function n(){return a()(this,n),l()(this,d()(n).apply(this,arguments))}return y()(n,t),c()(n,null,[{key:"toArrayBuffer",value:function(){n.checkForValue(this.value),this.value="number"==typeof this.value?f.b.strToArrayBuffer(this.value.toString()):new ArrayBuffer}},{key:"fromArrayBuffer",value:function(t){n.checkForValue(this.value),this.value=this.value?parseFloat(f.b.arrayBufferToStr(this.value,!t)):0}}]),n}(E),S=function(){function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(a()(this,t),this.value=new ArrayBuffer(0),this.type=t.ARRAY_BUFFER,n&&Object.prototype.hasOwnProperty.call(n,"value")&&Object.prototype.hasOwnProperty.call(n,"type"))this.set(n.value,n.type);else if(n&&null!==e)this.set(n,e);else if(n){var r=t.typeEnum(n.constructor.name);this.set(n,r)}}return c()(t,[{key:"get",value:function(n){var e=this,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return"string"==typeof n&&(n=t.typeEnum(n)),this.type!==n?Object(f.c)()?(this._translate(n,r),this.value):new Promise((function(t,i){e._translate(n,r).then((function(){t(e.value)})).catch(i)})):this.value}},{key:"set",value:function(n,e){if("string"==typeof e&&(e=t.typeEnum(e)),A.a.debug("Dish type: "+t.enumLookup(e)),this.value=n,this.type=e,!this.valid()){var r=f.b.truncate(JSON.stringify(this.value),25);throw new m(`Data is not a valid ${t.enumLookup(e)}: ${r}`)}}},{key:"presentAs",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],e=this.clone();return e.get(t,n)}},{key:"detectDishType",value:function(){var t=new Uint8Array(this.value.slice(0,2048)),n=Object(_.a)(t);return n.length&&n[0].mime&&"text/plain"!==!n[0].mime?n[0].mime:null}},{key:"getTitle",value:function(n){var e,r;return i.a.async((function(o){for(;;)switch(o.prev=o.next){case 0:e="",o.t0=this.type,o.next=o.t0===t.FILE?4:o.t0===t.LIST_FILE?6:o.t0===t.JSON?8:o.t0===t.NUMBER?10:o.t0===t.BIG_NUMBER?10:o.t0===t.ARRAY_BUFFER?12:o.t0===t.BYTE_ARRAY?12:15;break;case 4:return e=this.value.name,o.abrupt("break",26);case 6:return e=`${this.value.length} file(s)`,o.abrupt("break",26);case 8:return e="application/json",o.abrupt("break",26);case 10:return e=this.value.toString(),o.abrupt("break",26);case 12:if(null===(e=this.detectDishType())){o.next=15;break}return o.abrupt("break",26);case 15:return o.prev=15,(r=this.clone()).value=r.value.slice(0,256),o.next=20,i.a.awrap(r.get(t.STRING));case 20:e=o.sent,o.next=26;break;case 23:o.prev=23,o.t1=o.catch(15),A.a.error(`${t.enumLookup(this.type)} cannot be sliced. ${o.t1}`);case 26:return o.abrupt("return",e.slice(0,n));case 27:case"end":return o.stop()}}),null,this,[[15,23]])}},{key:"valid",value:function(){switch(this.type){case t.BYTE_ARRAY:if(!(this.value instanceof Uint8Array||this.value instanceof Array))return!1;for(var n=0;n<this.value.length;n++)if("number"!=typeof this.value[n]||this.value[n]<0||this.value[n]>255)return!1;return!0;case t.STRING:case t.HTML:return"string"==typeof this.value;case t.NUMBER:return"number"==typeof this.value;case t.ARRAY_BUFFER:return this.value instanceof ArrayBuffer;case t.BIG_NUMBER:if(x.a.isBigNumber(this.value))return!0;if(Object.keys(this.value).sort().equals(["c","e","s"])){var e=new x.a;return e.c=this.value.c,e.e=this.value.e,e.s=this.value.s,this.value=e,!0}return!1;case t.JSON:return!0;case t.FILE:return this.value instanceof File;case t.LIST_FILE:return this.value instanceof Array&&this.value.reduce((function(t,n){return t&&n instanceof File}),!0);default:return!1}}},{key:"clone",value:function(){var n=new t;switch(this.type){case t.STRING:case t.HTML:case t.NUMBER:case t.BIG_NUMBER:n.set(this.value,this.type);break;case t.BYTE_ARRAY:case t.JSON:n.set(JSON.parse(JSON.stringify(this.value)),this.type);break;case t.ARRAY_BUFFER:n.set(this.value.slice(0),this.type);break;case t.FILE:n.set(new File([this.value],this.value.name,{type:this.value.type,lastModified:this.value.lastModified}),this.type);break;case t.LIST_FILE:n.set(this.value.map((function(t){return new File([t],t.name,{type:t.type,lastModified:t.lastModified})})),this.type);break;default:throw new m("Cannot clone Dish, unknown type")}return n}},{key:"_translate",value:function(n){var e=this,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(A.a.debug(`Translating Dish from ${t.enumLookup(this.type)} to ${t.enumLookup(n)}`),!Object(f.c)())return new Promise((function(r,i){e._toArrayBuffer().then((function(){return e.type=t.ARRAY_BUFFER})).then((function(){e._fromArrayBuffer(n),r()})).catch(i)}));this._toArrayBuffer(),this.type=t.ARRAY_BUFFER,this._fromArrayBuffer(n,r)}},{key:"_toArrayBuffer",value:function(){var n=this,e={browser:{[t.STRING]:function(){return Promise.resolve(B.toArrayBuffer.bind(n)())},[t.NUMBER]:function(){return Promise.resolve(C.toArrayBuffer.bind(n)())},[t.HTML]:function(){return Promise.resolve(F.toArrayBuffer.bind(n)())},[t.ARRAY_BUFFER]:function(){return Promise.resolve()},[t.BIG_NUMBER]:function(){return Promise.resolve(k.toArrayBuffer.bind(n)())},[t.JSON]:function(){return Promise.resolve(T.toArrayBuffer.bind(n)())},[t.FILE]:function(){return O.toArrayBuffer.bind(n)()},[t.LIST_FILE]:function(){return Promise.resolve(N.toArrayBuffer.bind(n)())},[t.BYTE_ARRAY]:function(){return Promise.resolve(M.toArrayBuffer.bind(n)())}},node:{[t.STRING]:function(){return B.toArrayBuffer.bind(n)()},[t.NUMBER]:function(){return C.toArrayBuffer.bind(n)()},[t.HTML]:function(){return F.toArrayBuffer.bind(n)()},[t.ARRAY_BUFFER]:function(){},[t.BIG_NUMBER]:function(){return k.toArrayBuffer.bind(n)()},[t.JSON]:function(){return T.toArrayBuffer.bind(n)()},[t.FILE]:function(){return O.toArrayBuffer.bind(n)()},[t.LIST_FILE]:function(){return N.toArrayBuffer.bind(n)()},[t.BYTE_ARRAY]:function(){return M.toArrayBuffer.bind(n)()}}};try{return e[Object(f.c)()?"node":"browser"][this.type]()}catch(n){throw new m(`Error translating from ${t.enumLookup(this.type)} to ArrayBuffer: ${n}`)}}},{key:"_fromArrayBuffer",value:function(n,e){var r=this,i={[t.STRING]:function(){return B.fromArrayBuffer.bind(r)(e)},[t.NUMBER]:function(){return C.fromArrayBuffer.bind(r)(e)},[t.HTML]:function(){return F.fromArrayBuffer.bind(r)(e)},[t.ARRAY_BUFFER]:function(){},[t.BIG_NUMBER]:function(){return k.fromArrayBuffer.bind(r)(e)},[t.JSON]:function(){return T.fromArrayBuffer.bind(r)(e)},[t.FILE]:function(){return O.fromArrayBuffer.bind(r)()},[t.LIST_FILE]:function(){return N.fromArrayBuffer.bind(r)()},[t.BYTE_ARRAY]:function(){return M.fromArrayBuffer.bind(r)()}};try{i[n](),this.type=n}catch(e){throw new m(`Error translating from ArrayBuffer to ${t.enumLookup(n)}: ${e}`)}}},{key:"size",get:function(){switch(this.type){case t.BYTE_ARRAY:case t.STRING:case t.HTML:return this.value.length;case t.NUMBER:case t.BIG_NUMBER:return this.value.toString().length;case t.ARRAY_BUFFER:return this.value.byteLength;case t.JSON:return JSON.stringify(this.value).length;case t.FILE:return this.value.size;case t.LIST_FILE:return this.value.reduce((function(t,n){return t+n.size}),0);default:return-1}}}],[{key:"typeEnum",value:function(n){switch(n.toLowerCase()){case"bytearray":case"byte array":return t.BYTE_ARRAY;case"string":return t.STRING;case"number":return t.NUMBER;case"html":return t.HTML;case"arraybuffer":case"array buffer":return t.ARRAY_BUFFER;case"bignumber":case"big number":return t.BIG_NUMBER;case"json":case"object":return t.JSON;case"file":return t.FILE;case"list<file>":return t.LIST_FILE;default:throw new m("Invalid data type string. No matching enum.")}}},{key:"enumLookup",value:function(n){switch(n){case t.BYTE_ARRAY:return"byteArray";case t.STRING:return"string";case t.NUMBER:return"number";case t.HTML:return"html";case t.ARRAY_BUFFER:return"ArrayBuffer";case t.BIG_NUMBER:return"BigNumber";case t.JSON:return"JSON";case t.FILE:return"File";case t.LIST_FILE:return"List<File>";default:throw new m("Invalid data type enum. No matching type.")}}}]),t}();S.BYTE_ARRAY=0,S.STRING=1,S.NUMBER=2,S.HTML=3,S.ARRAY_BUFFER=4,S.BIG_NUMBER=5,S.JSON=6,S.FILE=7,S.LIST_FILE=8;n.a=S},134:function(t,n,e){"use strict";e.d(n,"b",(function(){return i}));var r=e(141);function i(){r.c.stopImmediatePropagation()}n.a=function(){r.c.preventDefault(),r.c.stopImmediatePropagation()}},138:function(t,n,e){"use strict";e.r(n);var r=e(248),i=e(400),o=e(244),a=e(394),u=e(399),c=function(t){var n=t.length;return function(e){return t[Math.max(0,Math.min(n-1,Math.floor(e*n)))]}},f=e(59),s=function(t,n){var e=Object(f.c)(+t,+n);return function(t){var n=e(t);return n-360*Math.floor(n/360)}},l=e(109),h=e(206),d=e(401),p=e(661),g=e(395),v=e(486),y=e(662),m=e(223),b=e(67);function x(t){return function(n,e){var r=t((n=Object(b.f)(n)).h,(e=Object(b.f)(e)).h),i=Object(f.a)(n.s,e.s),o=Object(f.a)(n.l,e.l),a=Object(f.a)(n.opacity,e.opacity);return function(t){return n.h=r(t),n.s=i(t),n.l=o(t),n.opacity=a(t),n+""}}}var _=x(f.c),w=x(f.a),A=e(268);function E(t,n){var e=Object(f.a)((t=Object(A.a)(t)).l,(n=Object(A.a)(n)).l),r=Object(f.a)(t.a,n.a),i=Object(f.a)(t.b,n.b),o=Object(f.a)(t.opacity,n.opacity);return function(n){return t.l=e(n),t.a=r(n),t.b=i(n),t.opacity=o(n),t+""}}function M(t){return function(n,e){var r=t((n=Object(A.c)(n)).h,(e=Object(A.c)(e)).h),i=Object(f.a)(n.c,e.c),o=Object(f.a)(n.l,e.l),a=Object(f.a)(n.opacity,e.opacity);return function(t){return n.h=r(t),n.c=i(t),n.l=o(t),n.opacity=a(t),n+""}}}var k=M(f.c),O=M(f.a),B=e(431);function F(t,n){for(var e=0,r=n.length-1,i=n[0],o=new Array(r<0?0:r);e<r;)o[e]=t(i,i=n[++e]);return function(t){var n=Math.max(0,Math.min(r-1,Math.floor(t*=r)));return o[n](t-n)}}var T=function(t,n){for(var e=new Array(n),r=0;r<n;++r)e[r]=t(r/(n-1));return e};e.d(n,"interpolate",(function(){return r.a})),e.d(n,"interpolateArray",(function(){return i.a})),e.d(n,"interpolateBasis",(function(){return o.b})),e.d(n,"interpolateBasisClosed",(function(){return a.a})),e.d(n,"interpolateDate",(function(){return u.a})),e.d(n,"interpolateDiscrete",(function(){return c})),e.d(n,"interpolateHue",(function(){return s})),e.d(n,"interpolateNumber",(function(){return l.a})),e.d(n,"interpolateNumberArray",(function(){return h.a})),e.d(n,"interpolateObject",(function(){return d.a})),e.d(n,"interpolateRound",(function(){return p.a})),e.d(n,"interpolateString",(function(){return g.a})),e.d(n,"interpolateTransformCss",(function(){return v.a})),e.d(n,"interpolateTransformSvg",(function(){return v.b})),e.d(n,"interpolateZoom",(function(){return y.a})),e.d(n,"interpolateRgb",(function(){return m.a})),e.d(n,"interpolateRgbBasis",(function(){return m.b})),e.d(n,"interpolateRgbBasisClosed",(function(){return m.c})),e.d(n,"interpolateHsl",(function(){return _})),e.d(n,"interpolateHslLong",(function(){return w})),e.d(n,"interpolateLab",(function(){return E})),e.d(n,"interpolateHcl",(function(){return k})),e.d(n,"interpolateHclLong",(function(){return O})),e.d(n,"interpolateCubehelix",(function(){return B.b})),e.d(n,"interpolateCubehelixLong",(function(){return B.a})),e.d(n,"piecewise",(function(){return F})),e.d(n,"quantize",(function(){return T}))},139:function(t,n,e){"use strict";e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return o})),e.d(n,"d",(function(){return a})),e.d(n,"e",(function(){return u})),e.d(n,"a",(function(){return f}));var r,i,o,a,u,c=e(402);function f(t){return r=Object(c.a)(t),i=r.format,o=r.parse,a=r.utcFormat,u=r.utcParse,r}f({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"]})},1394:function(t,n,e){"use strict";e.r(n);var r=function(){return new i};function i(){this.reset()}i.prototype={constructor:i,reset:function(){this.s=this.t=0},add:function(t){a(o,t,this.t),a(this,o.s,this.s),this.s?this.t+=o.t:this.s=o.t},valueOf:function(){return this.s}};var o=new i;function a(t,n,e){var r=t.s=n+e,i=r-n,o=r-i;t.t=n-o+(e-i)}var u=1e-6,c=1e-12,f=Math.PI,s=f/2,l=f/4,h=2*f,d=180/f,p=f/180,g=Math.abs,v=Math.atan,y=Math.atan2,m=Math.cos,b=Math.ceil,x=Math.exp,_=(Math.floor,Math.log),w=Math.pow,A=Math.sin,E=Math.sign||function(t){return t>0?1:t<0?-1:0},M=Math.sqrt,k=Math.tan;function O(t){return t>1?0:t<-1?f:Math.acos(t)}function B(t){return t>1?s:t<-1?-s:Math.asin(t)}function F(t){return(t=A(t/2))*t}function T(){}function N(t,n){t&&S.hasOwnProperty(t.type)&&S[t.type](t,n)}var C={Feature:function(t,n){N(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,r=-1,i=e.length;++r<i;)N(e[r].geometry,n)}},S={Sphere:function(t,n){n.sphere()},Point:function(t,n){t=t.coordinates,n.point(t[0],t[1],t[2])},MultiPoint:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)t=e[r],n.point(t[0],t[1],t[2])},LineString:function(t,n){j(t.coordinates,n,0)},MultiLineString:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)j(e[r],n,0)},Polygon:function(t,n){P(t.coordinates,n)},MultiPolygon:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)P(e[r],n)},GeometryCollection:function(t,n){for(var e=t.geometries,r=-1,i=e.length;++r<i;)N(e[r],n)}};function j(t,n,e){var r,i=-1,o=t.length-e;for(n.lineStart();++i<o;)r=t[i],n.point(r[0],r[1],r[2]);n.lineEnd()}function P(t,n){var e=-1,r=t.length;for(n.polygonStart();++e<r;)j(t[e],n,1);n.polygonEnd()}var R,D,L,I,U,z=function(t,n){t&&C.hasOwnProperty(t.type)?C[t.type](t,n):N(t,n)},Y=r(),q=r(),H={point:T,lineStart:T,lineEnd:T,polygonStart:function(){Y.reset(),H.lineStart=$,H.lineEnd=V},polygonEnd:function(){var t=+Y;q.add(t<0?h+t:t),this.lineStart=this.lineEnd=this.point=T},sphere:function(){q.add(h)}};function $(){H.point=G}function V(){W(R,D)}function G(t,n){H.point=W,R=t,D=n,L=t*=p,I=m(n=(n*=p)/2+l),U=A(n)}function W(t,n){var e=(t*=p)-L,r=e>=0?1:-1,i=r*e,o=m(n=(n*=p)/2+l),a=A(n),u=U*a,c=I*o+u*m(i),f=u*r*A(i);Y.add(y(f,c)),L=t,I=o,U=a}var X=function(t){return q.reset(),z(t,H),2*q};function J(t){return[y(t[1],t[0]),B(t[2])]}function Z(t){var n=t[0],e=t[1],r=m(e);return[r*m(n),r*A(n),A(e)]}function Q(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]}function K(t,n){return[t[1]*n[2]-t[2]*n[1],t[2]*n[0]-t[0]*n[2],t[0]*n[1]-t[1]*n[0]]}function tt(t,n){t[0]+=n[0],t[1]+=n[1],t[2]+=n[2]}function nt(t,n){return[t[0]*n,t[1]*n,t[2]*n]}function et(t){var n=M(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=n,t[1]/=n,t[2]/=n}var rt,it,ot,at,ut,ct,ft,st,lt,ht,dt=r(),pt={point:gt,lineStart:yt,lineEnd:mt,polygonStart:function(){pt.point=bt,pt.lineStart=xt,pt.lineEnd=_t,dt.reset(),H.polygonStart()},polygonEnd:function(){H.polygonEnd(),pt.point=gt,pt.lineStart=yt,pt.lineEnd=mt,Y<0?(rt=-(ot=180),it=-(at=90)):dt>u?at=90:dt<-u&&(it=-90),ht[0]=rt,ht[1]=ot},sphere:function(){rt=-(ot=180),it=-(at=90)}};function gt(t,n){lt.push(ht=[rt=t,ot=t]),n<it&&(it=n),n>at&&(at=n)}function vt(t,n){var e=Z([t*p,n*p]);if(st){var r=K(st,e),i=K([r[1],-r[0],0],r);et(i),i=J(i);var o,a=t-ut,u=a>0?1:-1,c=i[0]*d*u,f=g(a)>180;f^(u*ut<c&&c<u*t)?(o=i[1]*d)>at&&(at=o):f^(u*ut<(c=(c+360)%360-180)&&c<u*t)?(o=-i[1]*d)<it&&(it=o):(n<it&&(it=n),n>at&&(at=n)),f?t<ut?wt(rt,t)>wt(rt,ot)&&(ot=t):wt(t,ot)>wt(rt,ot)&&(rt=t):ot>=rt?(t<rt&&(rt=t),t>ot&&(ot=t)):t>ut?wt(rt,t)>wt(rt,ot)&&(ot=t):wt(t,ot)>wt(rt,ot)&&(rt=t)}else lt.push(ht=[rt=t,ot=t]);n<it&&(it=n),n>at&&(at=n),st=e,ut=t}function yt(){pt.point=vt}function mt(){ht[0]=rt,ht[1]=ot,pt.point=gt,st=null}function bt(t,n){if(st){var e=t-ut;dt.add(g(e)>180?e+(e>0?360:-360):e)}else ct=t,ft=n;H.point(t,n),vt(t,n)}function xt(){H.lineStart()}function _t(){bt(ct,ft),H.lineEnd(),g(dt)>u&&(rt=-(ot=180)),ht[0]=rt,ht[1]=ot,st=null}function wt(t,n){return(n-=t)<0?n+360:n}function At(t,n){return t[0]-n[0]}function Et(t,n){return t[0]<=t[1]?t[0]<=n&&n<=t[1]:n<t[0]||t[1]<n}var Mt,kt,Ot,Bt,Ft,Tt,Nt,Ct,St,jt,Pt,Rt,Dt,Lt,It,Ut,zt=function(t){var n,e,r,i,o,a,u;if(at=ot=-(rt=it=1/0),lt=[],z(t,pt),e=lt.length){for(lt.sort(At),n=1,o=[r=lt[0]];n<e;++n)Et(r,(i=lt[n])[0])||Et(r,i[1])?(wt(r[0],i[1])>wt(r[0],r[1])&&(r[1]=i[1]),wt(i[0],r[1])>wt(r[0],r[1])&&(r[0]=i[0])):o.push(r=i);for(a=-1/0,n=0,r=o[e=o.length-1];n<=e;r=i,++n)i=o[n],(u=wt(r[1],i[0]))>a&&(a=u,rt=i[0],ot=r[1])}return lt=ht=null,rt===1/0||it===1/0?[[NaN,NaN],[NaN,NaN]]:[[rt,it],[ot,at]]},Yt={sphere:T,point:qt,lineStart:$t,lineEnd:Wt,polygonStart:function(){Yt.lineStart=Xt,Yt.lineEnd=Jt},polygonEnd:function(){Yt.lineStart=$t,Yt.lineEnd=Wt}};function qt(t,n){t*=p;var e=m(n*=p);Ht(e*m(t),e*A(t),A(n))}function Ht(t,n,e){++Mt,Ot+=(t-Ot)/Mt,Bt+=(n-Bt)/Mt,Ft+=(e-Ft)/Mt}function $t(){Yt.point=Vt}function Vt(t,n){t*=p;var e=m(n*=p);Lt=e*m(t),It=e*A(t),Ut=A(n),Yt.point=Gt,Ht(Lt,It,Ut)}function Gt(t,n){t*=p;var e=m(n*=p),r=e*m(t),i=e*A(t),o=A(n),a=y(M((a=It*o-Ut*i)*a+(a=Ut*r-Lt*o)*a+(a=Lt*i-It*r)*a),Lt*r+It*i+Ut*o);kt+=a,Tt+=a*(Lt+(Lt=r)),Nt+=a*(It+(It=i)),Ct+=a*(Ut+(Ut=o)),Ht(Lt,It,Ut)}function Wt(){Yt.point=qt}function Xt(){Yt.point=Zt}function Jt(){Qt(Rt,Dt),Yt.point=qt}function Zt(t,n){Rt=t,Dt=n,t*=p,n*=p,Yt.point=Qt;var e=m(n);Lt=e*m(t),It=e*A(t),Ut=A(n),Ht(Lt,It,Ut)}function Qt(t,n){t*=p;var e=m(n*=p),r=e*m(t),i=e*A(t),o=A(n),a=It*o-Ut*i,u=Ut*r-Lt*o,c=Lt*i-It*r,f=M(a*a+u*u+c*c),s=B(f),l=f&&-s/f;St+=l*a,jt+=l*u,Pt+=l*c,kt+=s,Tt+=s*(Lt+(Lt=r)),Nt+=s*(It+(It=i)),Ct+=s*(Ut+(Ut=o)),Ht(Lt,It,Ut)}var Kt=function(t){Mt=kt=Ot=Bt=Ft=Tt=Nt=Ct=St=jt=Pt=0,z(t,Yt);var n=St,e=jt,r=Pt,i=n*n+e*e+r*r;return i<c&&(n=Tt,e=Nt,r=Ct,kt<u&&(n=Ot,e=Bt,r=Ft),(i=n*n+e*e+r*r)<c)?[NaN,NaN]:[y(e,n)*d,B(r/M(i))*d]},tn=function(t){return function(){return t}},nn=function(t,n){function e(e,r){return e=t(e,r),n(e[0],e[1])}return t.invert&&n.invert&&(e.invert=function(e,r){return(e=n.invert(e,r))&&t.invert(e[0],e[1])}),e};function en(t,n){return[g(t)>f?t+Math.round(-t/h)*h:t,n]}function rn(t,n,e){return(t%=h)?n||e?nn(an(t),un(n,e)):an(t):n||e?un(n,e):en}function on(t){return function(n,e){return[(n+=t)>f?n-h:n<-f?n+h:n,e]}}function an(t){var n=on(t);return n.invert=on(-t),n}function un(t,n){var e=m(t),r=A(t),i=m(n),o=A(n);function a(t,n){var a=m(n),u=m(t)*a,c=A(t)*a,f=A(n),s=f*e+u*r;return[y(c*i-s*o,u*e-f*r),B(s*i+c*o)]}return a.invert=function(t,n){var a=m(n),u=m(t)*a,c=A(t)*a,f=A(n),s=f*i-c*o;return[y(c*i+f*o,u*e+s*r),B(s*e-u*r)]},a}en.invert=en;var cn=function(t){function n(n){return(n=t(n[0]*p,n[1]*p))[0]*=d,n[1]*=d,n}return t=rn(t[0]*p,t[1]*p,t.length>2?t[2]*p:0),n.invert=function(n){return(n=t.invert(n[0]*p,n[1]*p))[0]*=d,n[1]*=d,n},n};function fn(t,n,e,r,i,o){if(e){var a=m(n),u=A(n),c=r*e;null==i?(i=n+r*h,o=n-c/2):(i=sn(a,i),o=sn(a,o),(r>0?i<o:i>o)&&(i+=r*h));for(var f,s=i;r>0?s>o:s<o;s-=c)f=J([a,-u*m(s),-u*A(s)]),t.point(f[0],f[1])}}function sn(t,n){(n=Z(n))[0]-=t,et(n);var e=O(-n[1]);return((-n[2]<0?-e:e)+h-u)%h}var ln=function(){var t,n,e=tn([0,0]),r=tn(90),i=tn(6),o={point:function(e,r){t.push(e=n(e,r)),e[0]*=d,e[1]*=d}};function a(){var a=e.apply(this,arguments),u=r.apply(this,arguments)*p,c=i.apply(this,arguments)*p;return t=[],n=rn(-a[0]*p,-a[1]*p,0).invert,fn(o,u,c,1),a={type:"Polygon",coordinates:[t]},t=n=null,a}return a.center=function(t){return arguments.length?(e="function"==typeof t?t:tn([+t[0],+t[1]]),a):e},a.radius=function(t){return arguments.length?(r="function"==typeof t?t:tn(+t),a):r},a.precision=function(t){return arguments.length?(i="function"==typeof t?t:tn(+t),a):i},a},hn=function(){var t,n=[];return{point:function(n,e){t.push([n,e])},lineStart:function(){n.push(t=[])},lineEnd:T,rejoin:function(){n.length>1&&n.push(n.pop().concat(n.shift()))},result:function(){var e=n;return n=[],t=null,e}}},dn=function(t,n){return g(t[0]-n[0])<u&&g(t[1]-n[1])<u};function pn(t,n,e,r){this.x=t,this.z=n,this.o=e,this.e=r,this.v=!1,this.n=this.p=null}var gn=function(t,n,e,r,i){var o,a,u=[],c=[];if(t.forEach((function(t){if(!((n=t.length-1)<=0)){var n,e,r=t[0],a=t[n];if(dn(r,a)){for(i.lineStart(),o=0;o<n;++o)i.point((r=t[o])[0],r[1]);i.lineEnd()}else u.push(e=new pn(r,t,null,!0)),c.push(e.o=new pn(r,null,e,!1)),u.push(e=new pn(a,t,null,!1)),c.push(e.o=new pn(a,null,e,!0))}})),u.length){for(c.sort(n),vn(u),vn(c),o=0,a=c.length;o<a;++o)c[o].e=e=!e;for(var f,s,l=u[0];;){for(var h=l,d=!0;h.v;)if((h=h.n)===l)return;f=h.z,i.lineStart();do{if(h.v=h.o.v=!0,h.e){if(d)for(o=0,a=f.length;o<a;++o)i.point((s=f[o])[0],s[1]);else r(h.x,h.n.x,1,i);h=h.n}else{if(d)for(f=h.p.z,o=f.length-1;o>=0;--o)i.point((s=f[o])[0],s[1]);else r(h.x,h.p.x,-1,i);h=h.p}f=(h=h.o).z,d=!d}while(!h.v);i.lineEnd()}}};function vn(t){if(n=t.length){for(var n,e,r=0,i=t[0];++r<n;)i.n=e=t[r],e.p=i,i=e;i.n=e=t[0],e.p=i}}var yn=r();function mn(t){return g(t[0])<=f?t[0]:E(t[0])*((g(t[0])+f)%h-f)}var bn=function(t,n){var e=mn(n),r=n[1],i=A(r),o=[A(e),-m(e),0],a=0,c=0;yn.reset(),1===i?r=s+u:-1===i&&(r=-s-u);for(var d=0,p=t.length;d<p;++d)if(v=(g=t[d]).length)for(var g,v,b=g[v-1],x=mn(b),_=b[1]/2+l,w=A(_),E=m(_),M=0;M<v;++M,x=O,w=T,E=N,b=k){var k=g[M],O=mn(k),F=k[1]/2+l,T=A(F),N=m(F),C=O-x,S=C>=0?1:-1,j=S*C,P=j>f,R=w*T;if(yn.add(y(R*S*A(j),E*N+R*m(j))),a+=P?C+S*h:C,P^x>=e^O>=e){var D=K(Z(b),Z(k));et(D);var L=K(o,D);et(L);var I=(P^C>=0?-1:1)*B(L[2]);(r>I||r===I&&(D[0]||D[1]))&&(c+=P^C>=0?1:-1)}}return(a<-u||a<u&&yn<-u)^1&c},xn=e(33),_n=function(t,n,e,r){return function(i){var o,a,u,c=n(i),f=hn(),s=n(f),l=!1,h={point:d,lineStart:g,lineEnd:v,polygonStart:function(){h.point=y,h.lineStart=m,h.lineEnd=b,a=[],o=[]},polygonEnd:function(){h.point=d,h.lineStart=g,h.lineEnd=v,a=Object(xn.merge)(a);var t=bn(o,r);a.length?(l||(i.polygonStart(),l=!0),gn(a,An,t,e,i)):t&&(l||(i.polygonStart(),l=!0),i.lineStart(),e(null,null,1,i),i.lineEnd()),l&&(i.polygonEnd(),l=!1),a=o=null},sphere:function(){i.polygonStart(),i.lineStart(),e(null,null,1,i),i.lineEnd(),i.polygonEnd()}};function d(n,e){t(n,e)&&i.point(n,e)}function p(t,n){c.point(t,n)}function g(){h.point=p,c.lineStart()}function v(){h.point=d,c.lineEnd()}function y(t,n){u.push([t,n]),s.point(t,n)}function m(){s.lineStart(),u=[]}function b(){y(u[0][0],u[0][1]),s.lineEnd();var t,n,e,r,c=s.clean(),h=f.result(),d=h.length;if(u.pop(),o.push(u),u=null,d)if(1&c){if((n=(e=h[0]).length-1)>0){for(l||(i.polygonStart(),l=!0),i.lineStart(),t=0;t<n;++t)i.point((r=e[t])[0],r[1]);i.lineEnd()}}else d>1&&2&c&&h.push(h.pop().concat(h.shift())),a.push(h.filter(wn))}return h}};function wn(t){return t.length>1}function An(t,n){return((t=t.x)[0]<0?t[1]-s-u:s-t[1])-((n=n.x)[0]<0?n[1]-s-u:s-n[1])}var En=_n((function(){return!0}),(function(t){var n,e=NaN,r=NaN,i=NaN;return{lineStart:function(){t.lineStart(),n=1},point:function(o,a){var c=o>0?f:-f,l=g(o-e);g(l-f)<u?(t.point(e,r=(r+a)/2>0?s:-s),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(c,r),t.point(o,r),n=0):i!==c&&l>=f&&(g(e-i)<u&&(e-=i*u),g(o-c)<u&&(o-=c*u),r=function(t,n,e,r){var i,o,a=A(t-e);return g(a)>u?v((A(n)*(o=m(r))*A(e)-A(r)*(i=m(n))*A(t))/(i*o*a)):(n+r)/2}(e,r,o,a),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(c,r),n=0),t.point(e=o,r=a),i=c},lineEnd:function(){t.lineEnd(),e=r=NaN},clean:function(){return 2-n}}}),(function(t,n,e,r){var i;if(null==t)i=e*s,r.point(-f,i),r.point(0,i),r.point(f,i),r.point(f,0),r.point(f,-i),r.point(0,-i),r.point(-f,-i),r.point(-f,0),r.point(-f,i);else if(g(t[0]-n[0])>u){var o=t[0]<n[0]?f:-f;i=e*o/2,r.point(-o,i),r.point(0,i),r.point(o,i)}else r.point(n[0],n[1])}),[-f,-s]);var Mn=function(t){var n=m(t),e=6*p,r=n>0,i=g(n)>u;function o(t,e){return m(t)*m(e)>n}function a(t,e,r){var i=[1,0,0],o=K(Z(t),Z(e)),a=Q(o,o),c=o[0],s=a-c*c;if(!s)return!r&&t;var l=n*a/s,h=-n*c/s,d=K(i,o),p=nt(i,l);tt(p,nt(o,h));var v=d,y=Q(p,v),m=Q(v,v),b=y*y-m*(Q(p,p)-1);if(!(b<0)){var x=M(b),_=nt(v,(-y-x)/m);if(tt(_,p),_=J(_),!r)return _;var w,A=t[0],E=e[0],k=t[1],O=e[1];E<A&&(w=A,A=E,E=w);var B=E-A,F=g(B-f)<u;if(!F&&O<k&&(w=k,k=O,O=w),F||B<u?F?k+O>0^_[1]<(g(_[0]-A)<u?k:O):k<=_[1]&&_[1]<=O:B>f^(A<=_[0]&&_[0]<=E)){var T=nt(v,(-y+x)/m);return tt(T,p),[_,J(T)]}}}function c(n,e){var i=r?t:f-t,o=0;return n<-i?o|=1:n>i&&(o|=2),e<-i?o|=4:e>i&&(o|=8),o}return _n(o,(function(t){var n,e,s,l,h;return{lineStart:function(){l=s=!1,h=1},point:function(d,p){var g,v=[d,p],y=o(d,p),m=r?y?0:c(d,p):y?c(d+(d<0?f:-f),p):0;if(!n&&(l=s=y)&&t.lineStart(),y!==s&&(!(g=a(n,v))||dn(n,g)||dn(v,g))&&(v[0]+=u,v[1]+=u,y=o(v[0],v[1])),y!==s)h=0,y?(t.lineStart(),g=a(v,n),t.point(g[0],g[1])):(g=a(n,v),t.point(g[0],g[1]),t.lineEnd()),n=g;else if(i&&n&&r^y){var b;m&e||!(b=a(v,n,!0))||(h=0,r?(t.lineStart(),t.point(b[0][0],b[0][1]),t.point(b[1][0],b[1][1]),t.lineEnd()):(t.point(b[1][0],b[1][1]),t.lineEnd(),t.lineStart(),t.point(b[0][0],b[0][1])))}!y||n&&dn(n,v)||t.point(v[0],v[1]),n=v,s=y,e=m},lineEnd:function(){s&&t.lineEnd(),n=null},clean:function(){return h|(l&&s)<<1}}}),(function(n,r,i,o){fn(o,t,e,i,n,r)}),r?[0,-t]:[-f,t-f])},kn=function(t,n,e,r,i,o){var a,u=t[0],c=t[1],f=0,s=1,l=n[0]-u,h=n[1]-c;if(a=e-u,l||!(a>0)){if(a/=l,l<0){if(a<f)return;a<s&&(s=a)}else if(l>0){if(a>s)return;a>f&&(f=a)}if(a=i-u,l||!(a<0)){if(a/=l,l<0){if(a>s)return;a>f&&(f=a)}else if(l>0){if(a<f)return;a<s&&(s=a)}if(a=r-c,h||!(a>0)){if(a/=h,h<0){if(a<f)return;a<s&&(s=a)}else if(h>0){if(a>s)return;a>f&&(f=a)}if(a=o-c,h||!(a<0)){if(a/=h,h<0){if(a>s)return;a>f&&(f=a)}else if(h>0){if(a<f)return;a<s&&(s=a)}return f>0&&(t[0]=u+f*l,t[1]=c+f*h),s<1&&(n[0]=u+s*l,n[1]=c+s*h),!0}}}}},On=1e9,Bn=-On;function Fn(t,n,e,r){function i(i,o){return t<=i&&i<=e&&n<=o&&o<=r}function o(i,o,u,c){var s=0,l=0;if(null==i||(s=a(i,u))!==(l=a(o,u))||f(i,o)<0^u>0)do{c.point(0===s||3===s?t:e,s>1?r:n)}while((s=(s+u+4)%4)!==l);else c.point(o[0],o[1])}function a(r,i){return g(r[0]-t)<u?i>0?0:3:g(r[0]-e)<u?i>0?2:1:g(r[1]-n)<u?i>0?1:0:i>0?3:2}function c(t,n){return f(t.x,n.x)}function f(t,n){var e=a(t,1),r=a(n,1);return e!==r?e-r:0===e?n[1]-t[1]:1===e?t[0]-n[0]:2===e?t[1]-n[1]:n[0]-t[0]}return function(a){var u,f,s,l,h,d,p,g,v,y,m,b=a,x=hn(),_={point:w,lineStart:function(){_.point=A,f&&f.push(s=[]);y=!0,v=!1,p=g=NaN},lineEnd:function(){u&&(A(l,h),d&&v&&x.rejoin(),u.push(x.result()));_.point=w,v&&b.lineEnd()},polygonStart:function(){b=x,u=[],f=[],m=!0},polygonEnd:function(){var n=function(){for(var n=0,e=0,i=f.length;e<i;++e)for(var o,a,u=f[e],c=1,s=u.length,l=u[0],h=l[0],d=l[1];c<s;++c)o=h,a=d,l=u[c],h=l[0],d=l[1],a<=r?d>r&&(h-o)*(r-a)>(d-a)*(t-o)&&++n:d<=r&&(h-o)*(r-a)<(d-a)*(t-o)&&--n;return n}(),e=m&&n,i=(u=Object(xn.merge)(u)).length;(e||i)&&(a.polygonStart(),e&&(a.lineStart(),o(null,null,1,a),a.lineEnd()),i&&gn(u,c,n,o,a),a.polygonEnd());b=a,u=f=s=null}};function w(t,n){i(t,n)&&b.point(t,n)}function A(o,a){var u=i(o,a);if(f&&s.push([o,a]),y)l=o,h=a,d=u,y=!1,u&&(b.lineStart(),b.point(o,a));else if(u&&v)b.point(o,a);else{var c=[p=Math.max(Bn,Math.min(On,p)),g=Math.max(Bn,Math.min(On,g))],x=[o=Math.max(Bn,Math.min(On,o)),a=Math.max(Bn,Math.min(On,a))];kn(c,x,t,n,e,r)?(v||(b.lineStart(),b.point(c[0],c[1])),b.point(x[0],x[1]),u||b.lineEnd(),m=!1):u&&(b.lineStart(),b.point(o,a),m=!1)}p=o,g=a,v=u}return _}}var Tn,Nn,Cn,Sn=function(){var t,n,e,r=0,i=0,o=960,a=500;return e={stream:function(e){return t&&n===e?t:t=Fn(r,i,o,a)(n=e)},extent:function(u){return arguments.length?(r=+u[0][0],i=+u[0][1],o=+u[1][0],a=+u[1][1],t=n=null,e):[[r,i],[o,a]]}}},jn=r(),Pn={sphere:T,point:T,lineStart:function(){Pn.point=Dn,Pn.lineEnd=Rn},lineEnd:T,polygonStart:T,polygonEnd:T};function Rn(){Pn.point=Pn.lineEnd=T}function Dn(t,n){Tn=t*=p,Nn=A(n*=p),Cn=m(n),Pn.point=Ln}function Ln(t,n){t*=p;var e=A(n*=p),r=m(n),i=g(t-Tn),o=m(i),a=r*A(i),u=Cn*e-Nn*r*o,c=Nn*e+Cn*r*o;jn.add(y(M(a*a+u*u),c)),Tn=t,Nn=e,Cn=r}var In=function(t){return jn.reset(),z(t,Pn),+jn},Un=[null,null],zn={type:"LineString",coordinates:Un},Yn=function(t,n){return Un[0]=t,Un[1]=n,In(zn)},qn={Feature:function(t,n){return $n(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,r=-1,i=e.length;++r<i;)if($n(e[r].geometry,n))return!0;return!1}},Hn={Sphere:function(){return!0},Point:function(t,n){return Vn(t.coordinates,n)},MultiPoint:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)if(Vn(e[r],n))return!0;return!1},LineString:function(t,n){return Gn(t.coordinates,n)},MultiLineString:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)if(Gn(e[r],n))return!0;return!1},Polygon:function(t,n){return Wn(t.coordinates,n)},MultiPolygon:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)if(Wn(e[r],n))return!0;return!1},GeometryCollection:function(t,n){for(var e=t.geometries,r=-1,i=e.length;++r<i;)if($n(e[r],n))return!0;return!1}};function $n(t,n){return!(!t||!Hn.hasOwnProperty(t.type))&&Hn[t.type](t,n)}function Vn(t,n){return 0===Yn(t,n)}function Gn(t,n){for(var e,r,i,o=0,a=t.length;o<a;o++){if(0===(r=Yn(t[o],n)))return!0;if(o>0&&(i=Yn(t[o],t[o-1]))>0&&e<=i&&r<=i&&(e+r-i)*(1-Math.pow((e-r)/i,2))<c*i)return!0;e=r}return!1}function Wn(t,n){return!!bn(t.map(Xn),Jn(n))}function Xn(t){return(t=t.map(Jn)).pop(),t}function Jn(t){return[t[0]*p,t[1]*p]}var Zn=function(t,n){return(t&&qn.hasOwnProperty(t.type)?qn[t.type]:$n)(t,n)};function Qn(t,n,e){var r=Object(xn.range)(t,n-u,e).concat(n);return function(t){return r.map((function(n){return[t,n]}))}}function Kn(t,n,e){var r=Object(xn.range)(t,n-u,e).concat(n);return function(t){return r.map((function(n){return[n,t]}))}}function te(){var t,n,e,r,i,o,a,c,f,s,l,h,d=10,p=d,v=90,y=360,m=2.5;function x(){return{type:"MultiLineString",coordinates:_()}}function _(){return Object(xn.range)(b(r/v)*v,e,v).map(l).concat(Object(xn.range)(b(c/y)*y,a,y).map(h)).concat(Object(xn.range)(b(n/d)*d,t,d).filter((function(t){return g(t%v)>u})).map(f)).concat(Object(xn.range)(b(o/p)*p,i,p).filter((function(t){return g(t%y)>u})).map(s))}return x.lines=function(){return _().map((function(t){return{type:"LineString",coordinates:t}}))},x.outline=function(){return{type:"Polygon",coordinates:[l(r).concat(h(a).slice(1),l(e).reverse().slice(1),h(c).reverse().slice(1))]}},x.extent=function(t){return arguments.length?x.extentMajor(t).extentMinor(t):x.extentMinor()},x.extentMajor=function(t){return arguments.length?(r=+t[0][0],e=+t[1][0],c=+t[0][1],a=+t[1][1],r>e&&(t=r,r=e,e=t),c>a&&(t=c,c=a,a=t),x.precision(m)):[[r,c],[e,a]]},x.extentMinor=function(e){return arguments.length?(n=+e[0][0],t=+e[1][0],o=+e[0][1],i=+e[1][1],n>t&&(e=n,n=t,t=e),o>i&&(e=o,o=i,i=e),x.precision(m)):[[n,o],[t,i]]},x.step=function(t){return arguments.length?x.stepMajor(t).stepMinor(t):x.stepMinor()},x.stepMajor=function(t){return arguments.length?(v=+t[0],y=+t[1],x):[v,y]},x.stepMinor=function(t){return arguments.length?(d=+t[0],p=+t[1],x):[d,p]},x.precision=function(u){return arguments.length?(m=+u,f=Qn(o,i,90),s=Kn(n,t,m),l=Qn(c,a,90),h=Kn(r,e,m),x):m},x.extentMajor([[-180,-90+u],[180,90-u]]).extentMinor([[-180,-80-u],[180,80+u]])}function ne(){return te()()}var ee,re,ie,oe,ae=function(t,n){var e=t[0]*p,r=t[1]*p,i=n[0]*p,o=n[1]*p,a=m(r),u=A(r),c=m(o),f=A(o),s=a*m(e),l=a*A(e),h=c*m(i),g=c*A(i),v=2*B(M(F(o-r)+a*c*F(i-e))),b=A(v),x=v?function(t){var n=A(t*=v)/b,e=A(v-t)/b,r=e*s+n*h,i=e*l+n*g,o=e*u+n*f;return[y(i,r)*d,y(o,M(r*r+i*i))*d]}:function(){return[e*d,r*d]};return x.distance=v,x},ue=function(t){return t},ce=r(),fe=r(),se={point:T,lineStart:T,lineEnd:T,polygonStart:function(){se.lineStart=le,se.lineEnd=pe},polygonEnd:function(){se.lineStart=se.lineEnd=se.point=T,ce.add(g(fe)),fe.reset()},result:function(){var t=ce/2;return ce.reset(),t}};function le(){se.point=he}function he(t,n){se.point=de,ee=ie=t,re=oe=n}function de(t,n){fe.add(oe*t-ie*n),ie=t,oe=n}function pe(){de(ee,re)}var ge=se,ve=1/0,ye=ve,me=-ve,be=me;var xe,_e,we,Ae,Ee={point:function(t,n){t<ve&&(ve=t);t>me&&(me=t);n<ye&&(ye=n);n>be&&(be=n)},lineStart:T,lineEnd:T,polygonStart:T,polygonEnd:T,result:function(){var t=[[ve,ye],[me,be]];return me=be=-(ye=ve=1/0),t}},Me=0,ke=0,Oe=0,Be=0,Fe=0,Te=0,Ne=0,Ce=0,Se=0,je={point:Pe,lineStart:Re,lineEnd:Ie,polygonStart:function(){je.lineStart=Ue,je.lineEnd=ze},polygonEnd:function(){je.point=Pe,je.lineStart=Re,je.lineEnd=Ie},result:function(){var t=Se?[Ne/Se,Ce/Se]:Te?[Be/Te,Fe/Te]:Oe?[Me/Oe,ke/Oe]:[NaN,NaN];return Me=ke=Oe=Be=Fe=Te=Ne=Ce=Se=0,t}};function Pe(t,n){Me+=t,ke+=n,++Oe}function Re(){je.point=De}function De(t,n){je.point=Le,Pe(we=t,Ae=n)}function Le(t,n){var e=t-we,r=n-Ae,i=M(e*e+r*r);Be+=i*(we+t)/2,Fe+=i*(Ae+n)/2,Te+=i,Pe(we=t,Ae=n)}function Ie(){je.point=Pe}function Ue(){je.point=Ye}function ze(){qe(xe,_e)}function Ye(t,n){je.point=qe,Pe(xe=we=t,_e=Ae=n)}function qe(t,n){var e=t-we,r=n-Ae,i=M(e*e+r*r);Be+=i*(we+t)/2,Fe+=i*(Ae+n)/2,Te+=i,Ne+=(i=Ae*t-we*n)*(we+t),Ce+=i*(Ae+n),Se+=3*i,Pe(we=t,Ae=n)}var He=je;function $e(t){this._context=t}$e.prototype={_radius:4.5,pointRadius:function(t){return this._radius=t,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(t,n){switch(this._point){case 0:this._context.moveTo(t,n),this._point=1;break;case 1:this._context.lineTo(t,n);break;default:this._context.moveTo(t+this._radius,n),this._context.arc(t,n,this._radius,0,h)}},result:T};var Ve,Ge,We,Xe,Je,Ze=r(),Qe={point:T,lineStart:function(){Qe.point=Ke},lineEnd:function(){Ve&&tr(Ge,We),Qe.point=T},polygonStart:function(){Ve=!0},polygonEnd:function(){Ve=null},result:function(){var t=+Ze;return Ze.reset(),t}};function Ke(t,n){Qe.point=tr,Ge=Xe=t,We=Je=n}function tr(t,n){Xe-=t,Je-=n,Ze.add(M(Xe*Xe+Je*Je)),Xe=t,Je=n}var nr=Qe;function er(){this._string=[]}function rr(t){return"m0,"+t+"a"+t+","+t+" 0 1,1 0,"+-2*t+"a"+t+","+t+" 0 1,1 0,"+2*t+"z"}er.prototype={_radius:4.5,_circle:rr(4.5),pointRadius:function(t){return(t=+t)!==this._radius&&(this._radius=t,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(t,n){switch(this._point){case 0:this._string.push("M",t,",",n),this._point=1;break;case 1:this._string.push("L",t,",",n);break;default:null==this._circle&&(this._circle=rr(this._radius)),this._string.push("M",t,",",n,this._circle)}},result:function(){if(this._string.length){var t=this._string.join("");return this._string=[],t}return null}};var ir=function(t,n){var e,r,i=4.5;function o(t){return t&&("function"==typeof i&&r.pointRadius(+i.apply(this,arguments)),z(t,e(r))),r.result()}return o.area=function(t){return z(t,e(ge)),ge.result()},o.measure=function(t){return z(t,e(nr)),nr.result()},o.bounds=function(t){return z(t,e(Ee)),Ee.result()},o.centroid=function(t){return z(t,e(He)),He.result()},o.projection=function(n){return arguments.length?(e=null==n?(t=null,ue):(t=n).stream,o):t},o.context=function(t){return arguments.length?(r=null==t?(n=null,new er):new $e(n=t),"function"!=typeof i&&r.pointRadius(i),o):n},o.pointRadius=function(t){return arguments.length?(i="function"==typeof t?t:(r.pointRadius(+t),+t),o):i},o.projection(t).context(n)},or=function(t){return{stream:ar(t)}};function ar(t){return function(n){var e=new ur;for(var r in t)e[r]=t[r];return e.stream=n,e}}function ur(){}function cr(t,n,e){var r=t.clipExtent&&t.clipExtent();return t.scale(150).translate([0,0]),null!=r&&t.clipExtent(null),z(e,t.stream(Ee)),n(Ee.result()),null!=r&&t.clipExtent(r),t}function fr(t,n,e){return cr(t,(function(e){var r=n[1][0]-n[0][0],i=n[1][1]-n[0][1],o=Math.min(r/(e[1][0]-e[0][0]),i/(e[1][1]-e[0][1])),a=+n[0][0]+(r-o*(e[1][0]+e[0][0]))/2,u=+n[0][1]+(i-o*(e[1][1]+e[0][1]))/2;t.scale(150*o).translate([a,u])}),e)}function sr(t,n,e){return fr(t,[[0,0],n],e)}function lr(t,n,e){return cr(t,(function(e){var r=+n,i=r/(e[1][0]-e[0][0]),o=(r-i*(e[1][0]+e[0][0]))/2,a=-i*e[0][1];t.scale(150*i).translate([o,a])}),e)}function hr(t,n,e){return cr(t,(function(e){var r=+n,i=r/(e[1][1]-e[0][1]),o=-i*e[0][0],a=(r-i*(e[1][1]+e[0][1]))/2;t.scale(150*i).translate([o,a])}),e)}ur.prototype={constructor:ur,point:function(t,n){this.stream.point(t,n)},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()}};var dr=16,pr=m(30*p),gr=function(t,n){return+n?function(t,n){function e(r,i,o,a,c,f,s,l,h,d,p,v,m,b){var x=s-r,_=l-i,w=x*x+_*_;if(w>4*n&&m--){var A=a+d,E=c+p,k=f+v,O=M(A*A+E*E+k*k),F=B(k/=O),T=g(g(k)-1)<u||g(o-h)<u?(o+h)/2:y(E,A),N=t(T,F),C=N[0],S=N[1],j=C-r,P=S-i,R=_*j-x*P;(R*R/w>n||g((x*j+_*P)/w-.5)>.3||a*d+c*p+f*v<pr)&&(e(r,i,o,a,c,f,C,S,T,A/=O,E/=O,k,m,b),b.point(C,S),e(C,S,T,A,E,k,s,l,h,d,p,v,m,b))}}return function(n){var r,i,o,a,u,c,f,s,l,h,d,p,g={point:v,lineStart:y,lineEnd:b,polygonStart:function(){n.polygonStart(),g.lineStart=x},polygonEnd:function(){n.polygonEnd(),g.lineStart=y}};function v(e,r){e=t(e,r),n.point(e[0],e[1])}function y(){s=NaN,g.point=m,n.lineStart()}function m(r,i){var o=Z([r,i]),a=t(r,i);e(s,l,f,h,d,p,s=a[0],l=a[1],f=r,h=o[0],d=o[1],p=o[2],dr,n),n.point(s,l)}function b(){g.point=v,n.lineEnd()}function x(){y(),g.point=_,g.lineEnd=w}function _(t,n){m(r=t,n),i=s,o=l,a=h,u=d,c=p,g.point=m}function w(){e(s,l,f,h,d,p,i,o,r,a,u,c,dr,n),g.lineEnd=b,b()}return g}}(t,n):function(t){return ar({point:function(n,e){n=t(n,e),this.stream.point(n[0],n[1])}})}(t)};var vr=ar({point:function(t,n){this.stream.point(t*p,n*p)}});function yr(t,n,e){function r(r,i){return[n+t*r,e-t*i]}return r.invert=function(r,i){return[(r-n)/t,(e-i)/t]},r}function mr(t,n,e,r){var i=m(r),o=A(r),a=i*t,u=o*t,c=i/t,f=o/t,s=(o*e-i*n)/t,l=(o*n+i*e)/t;function h(t,r){return[a*t-u*r+n,e-u*t-a*r]}return h.invert=function(t,n){return[c*t-f*n+s,l-f*t-c*n]},h}function br(t){return xr((function(){return t}))()}function xr(t){var n,e,r,i,o,a,u,c,f,s,l=150,h=480,g=250,v=0,y=0,m=0,b=0,x=0,_=0,w=null,A=En,E=null,k=ue,O=.5;function B(t){return c(t[0]*p,t[1]*p)}function F(t){return(t=c.invert(t[0],t[1]))&&[t[0]*d,t[1]*d]}function T(){var t=mr(l,0,0,_).apply(null,n(v,y)),r=(_?mr:yr)(l,h-t[0],g-t[1],_);return e=rn(m,b,x),u=nn(n,r),c=nn(e,u),a=gr(u,O),N()}function N(){return f=s=null,B}return B.stream=function(t){return f&&s===t?f:f=vr(function(t){return ar({point:function(n,e){var r=t(n,e);return this.stream.point(r[0],r[1])}})}(e)(A(a(k(s=t)))))},B.preclip=function(t){return arguments.length?(A=t,w=void 0,N()):A},B.postclip=function(t){return arguments.length?(k=t,E=r=i=o=null,N()):k},B.clipAngle=function(t){return arguments.length?(A=+t?Mn(w=t*p):(w=null,En),N()):w*d},B.clipExtent=function(t){return arguments.length?(k=null==t?(E=r=i=o=null,ue):Fn(E=+t[0][0],r=+t[0][1],i=+t[1][0],o=+t[1][1]),N()):null==E?null:[[E,r],[i,o]]},B.scale=function(t){return arguments.length?(l=+t,T()):l},B.translate=function(t){return arguments.length?(h=+t[0],g=+t[1],T()):[h,g]},B.center=function(t){return arguments.length?(v=t[0]%360*p,y=t[1]%360*p,T()):[v*d,y*d]},B.rotate=function(t){return arguments.length?(m=t[0]%360*p,b=t[1]%360*p,x=t.length>2?t[2]%360*p:0,T()):[m*d,b*d,x*d]},B.angle=function(t){return arguments.length?(_=t%360*p,T()):_*d},B.precision=function(t){return arguments.length?(a=gr(u,O=t*t),N()):M(O)},B.fitExtent=function(t,n){return fr(B,t,n)},B.fitSize=function(t,n){return sr(B,t,n)},B.fitWidth=function(t,n){return lr(B,t,n)},B.fitHeight=function(t,n){return hr(B,t,n)},function(){return n=t.apply(this,arguments),B.invert=n.invert&&F,T()}}function _r(t){var n=0,e=f/3,r=xr(t),i=r(n,e);return i.parallels=function(t){return arguments.length?r(n=t[0]*p,e=t[1]*p):[n*d,e*d]},i}function wr(t,n){var e=A(t),r=(e+A(n))/2;if(g(r)<u)return function(t){var n=m(t);function e(t,e){return[t*n,A(e)/n]}return e.invert=function(t,e){return[t/n,B(e*n)]},e}(t);var i=1+e*(2*r-e),o=M(i)/r;function a(t,n){var e=M(i-2*r*A(n))/r;return[e*A(t*=r),o-e*m(t)]}return a.invert=function(t,n){var e=o-n;return[y(t,g(e))/r*E(e),B((i-(t*t+e*e)*r*r)/(2*r))]},a}var Ar=function(){return _r(wr).scale(155.424).center([0,33.6442])},Er=function(){return Ar().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])};var Mr=function(){var t,n,e,r,i,o,a=Er(),c=Ar().rotate([154,0]).center([-2,58.5]).parallels([55,65]),f=Ar().rotate([157,0]).center([-3,19.9]).parallels([8,18]),s={point:function(t,n){o=[t,n]}};function l(t){var n=t[0],a=t[1];return o=null,e.point(n,a),o||(r.point(n,a),o)||(i.point(n,a),o)}function h(){return t=n=null,l}return l.invert=function(t){var n=a.scale(),e=a.translate(),r=(t[0]-e[0])/n,i=(t[1]-e[1])/n;return(i>=.12&&i<.234&&r>=-.425&&r<-.214?c:i>=.166&&i<.234&&r>=-.214&&r<-.115?f:a).invert(t)},l.stream=function(e){return t&&n===e?t:(r=[a.stream(n=e),c.stream(e),f.stream(e)],i=r.length,t={point:function(t,n){for(var e=-1;++e<i;)r[e].point(t,n)},sphere:function(){for(var t=-1;++t<i;)r[t].sphere()},lineStart:function(){for(var t=-1;++t<i;)r[t].lineStart()},lineEnd:function(){for(var t=-1;++t<i;)r[t].lineEnd()},polygonStart:function(){for(var t=-1;++t<i;)r[t].polygonStart()},polygonEnd:function(){for(var t=-1;++t<i;)r[t].polygonEnd()}});var r,i},l.precision=function(t){return arguments.length?(a.precision(t),c.precision(t),f.precision(t),h()):a.precision()},l.scale=function(t){return arguments.length?(a.scale(t),c.scale(.35*t),f.scale(t),l.translate(a.translate())):a.scale()},l.translate=function(t){if(!arguments.length)return a.translate();var n=a.scale(),o=+t[0],l=+t[1];return e=a.translate(t).clipExtent([[o-.455*n,l-.238*n],[o+.455*n,l+.238*n]]).stream(s),r=c.translate([o-.307*n,l+.201*n]).clipExtent([[o-.425*n+u,l+.12*n+u],[o-.214*n-u,l+.234*n-u]]).stream(s),i=f.translate([o-.205*n,l+.212*n]).clipExtent([[o-.214*n+u,l+.166*n+u],[o-.115*n-u,l+.234*n-u]]).stream(s),h()},l.fitExtent=function(t,n){return fr(l,t,n)},l.fitSize=function(t,n){return sr(l,t,n)},l.fitWidth=function(t,n){return lr(l,t,n)},l.fitHeight=function(t,n){return hr(l,t,n)},l.scale(1070)};function kr(t){return function(n,e){var r=m(n),i=m(e),o=t(r*i);return[o*i*A(n),o*A(e)]}}function Or(t){return function(n,e){var r=M(n*n+e*e),i=t(r),o=A(i),a=m(i);return[y(n*o,r*a),B(r&&e*o/r)]}}var Br=kr((function(t){return M(2/(1+t))}));Br.invert=Or((function(t){return 2*B(t/2)}));var Fr=function(){return br(Br).scale(124.75).clipAngle(179.999)},Tr=kr((function(t){return(t=O(t))&&t/A(t)}));Tr.invert=Or((function(t){return t}));var Nr=function(){return br(Tr).scale(79.4188).clipAngle(179.999)};function Cr(t,n){return[t,_(k((s+n)/2))]}Cr.invert=function(t,n){return[t,2*v(x(n))-s]};var Sr=function(){return jr(Cr).scale(961/h)};function jr(t){var n,e,r,i=br(t),o=i.center,a=i.scale,u=i.translate,c=i.clipExtent,s=null;function l(){var o=f*a(),u=i(cn(i.rotate()).invert([0,0]));return c(null==s?[[u[0]-o,u[1]-o],[u[0]+o,u[1]+o]]:t===Cr?[[Math.max(u[0]-o,s),n],[Math.min(u[0]+o,e),r]]:[[s,Math.max(u[1]-o,n)],[e,Math.min(u[1]+o,r)]])}return i.scale=function(t){return arguments.length?(a(t),l()):a()},i.translate=function(t){return arguments.length?(u(t),l()):u()},i.center=function(t){return arguments.length?(o(t),l()):o()},i.clipExtent=function(t){return arguments.length?(null==t?s=n=e=r=null:(s=+t[0][0],n=+t[0][1],e=+t[1][0],r=+t[1][1]),l()):null==s?null:[[s,n],[e,r]]},l()}function Pr(t){return k((s+t)/2)}function Rr(t,n){var e=m(t),r=t===n?A(t):_(e/m(n))/_(Pr(n)/Pr(t)),i=e*w(Pr(t),r)/r;if(!r)return Cr;function o(t,n){i>0?n<-s+u&&(n=-s+u):n>s-u&&(n=s-u);var e=i/w(Pr(n),r);return[e*A(r*t),i-e*m(r*t)]}return o.invert=function(t,n){var e=i-n,o=E(r)*M(t*t+e*e);return[y(t,g(e))/r*E(e),2*v(w(i/o,1/r))-s]},o}var Dr=function(){return _r(Rr).scale(109.5).parallels([30,30])};function Lr(t,n){return[t,n]}Lr.invert=Lr;var Ir=function(){return br(Lr).scale(152.63)};function Ur(t,n){var e=m(t),r=t===n?A(t):(e-m(n))/(n-t),i=e/r+t;if(g(r)<u)return Lr;function o(t,n){var e=i-n,o=r*t;return[e*A(o),i-e*m(o)]}return o.invert=function(t,n){var e=i-n;return[y(t,g(e))/r*E(e),i-E(r)*M(t*t+e*e)]},o}var zr=function(){return _r(Ur).scale(131.154).center([0,13.9389])},Yr=1.340264,qr=-.081106,Hr=893e-6,$r=.003796,Vr=M(3)/2;function Gr(t,n){var e=B(Vr*A(n)),r=e*e,i=r*r*r;return[t*m(e)/(Vr*(Yr+3*qr*r+i*(7*Hr+9*$r*r))),e*(Yr+qr*r+i*(Hr+$r*r))]}Gr.invert=function(t,n){for(var e,r=n,i=r*r,o=i*i*i,a=0;a<12&&(o=(i=(r-=e=(r*(Yr+qr*i+o*(Hr+$r*i))-n)/(Yr+3*qr*i+o*(7*Hr+9*$r*i)))*r)*i*i,!(g(e)<c));++a);return[Vr*t*(Yr+3*qr*i+o*(7*Hr+9*$r*i))/m(r),B(A(r)/Vr)]};var Wr=function(){return br(Gr).scale(177.158)};function Xr(t,n){var e=m(n),r=m(t)*e;return[e*A(t)/r,A(n)/r]}Xr.invert=Or(v);var Jr=function(){return br(Xr).scale(144.049).clipAngle(60)};function Zr(t,n,e,r){return 1===t&&1===n&&0===e&&0===r?ue:ar({point:function(i,o){this.stream.point(i*t+e,o*n+r)}})}var Qr=function(){var t,n,e,r,i,o,a=1,u=0,c=0,f=1,s=1,l=ue,h=null,d=ue;function p(){return r=i=null,o}return o={stream:function(t){return r&&i===t?r:r=l(d(i=t))},postclip:function(r){return arguments.length?(d=r,h=t=n=e=null,p()):d},clipExtent:function(r){return arguments.length?(d=null==r?(h=t=n=e=null,ue):Fn(h=+r[0][0],t=+r[0][1],n=+r[1][0],e=+r[1][1]),p()):null==h?null:[[h,t],[n,e]]},scale:function(t){return arguments.length?(l=Zr((a=+t)*f,a*s,u,c),p()):a},translate:function(t){return arguments.length?(l=Zr(a*f,a*s,u=+t[0],c=+t[1]),p()):[u,c]},reflectX:function(t){return arguments.length?(l=Zr(a*(f=t?-1:1),a*s,u,c),p()):f<0},reflectY:function(t){return arguments.length?(l=Zr(a*f,a*(s=t?-1:1),u,c),p()):s<0},fitExtent:function(t,n){return fr(o,t,n)},fitSize:function(t,n){return sr(o,t,n)},fitWidth:function(t,n){return lr(o,t,n)},fitHeight:function(t,n){return hr(o,t,n)}}};function Kr(t,n){var e=n*n,r=e*e;return[t*(.8707-.131979*e+r*(r*(.003971*e-.001529*r)-.013791)),n*(1.007226+e*(.015085+r*(.028874*e-.044475-.005916*r)))]}Kr.invert=function(t,n){var e,r=n,i=25;do{var o=r*r,a=o*o;r-=e=(r*(1.007226+o*(.015085+a*(.028874*o-.044475-.005916*a)))-n)/(1.007226+o*(.045255+a*(.259866*o-.311325-.005916*11*a)))}while(g(e)>u&&--i>0);return[t/(.8707+(o=r*r)*(o*(o*o*o*(.003971-.001529*o)-.013791)-.131979)),r]};var ti=function(){return br(Kr).scale(175.295)};function ni(t,n){return[m(n)*A(t),A(n)]}ni.invert=Or(B);var ei=function(){return br(ni).scale(249.5).clipAngle(90+u)};function ri(t,n){var e=m(n),r=1+m(t)*e;return[e*A(t)/r,A(n)/r]}ri.invert=Or((function(t){return 2*v(t)}));var ii=function(){return br(ri).scale(250).clipAngle(142)};function oi(t,n){return[_(k((s+n)/2)),-t]}oi.invert=function(t,n){return[-n,2*v(x(t))-s]};var ai=function(){var t=jr(oi),n=t.center,e=t.rotate;return t.center=function(t){return arguments.length?n([-t[1],t[0]]):[(t=n())[1],-t[0]]},t.rotate=function(t){return arguments.length?e([t[0],t[1],t.length>2?t[2]+90:90]):[(t=e())[0],t[1],t[2]-90]},e([0,0,90]).scale(159.155)};e.d(n,"geoArea",(function(){return X})),e.d(n,"geoBounds",(function(){return zt})),e.d(n,"geoCentroid",(function(){return Kt})),e.d(n,"geoCircle",(function(){return ln})),e.d(n,"geoClipAntimeridian",(function(){return En})),e.d(n,"geoClipCircle",(function(){return Mn})),e.d(n,"geoClipExtent",(function(){return Sn})),e.d(n,"geoClipRectangle",(function(){return Fn})),e.d(n,"geoContains",(function(){return Zn})),e.d(n,"geoDistance",(function(){return Yn})),e.d(n,"geoGraticule",(function(){return te})),e.d(n,"geoGraticule10",(function(){return ne})),e.d(n,"geoInterpolate",(function(){return ae})),e.d(n,"geoLength",(function(){return In})),e.d(n,"geoPath",(function(){return ir})),e.d(n,"geoAlbers",(function(){return Er})),e.d(n,"geoAlbersUsa",(function(){return Mr})),e.d(n,"geoAzimuthalEqualArea",(function(){return Fr})),e.d(n,"geoAzimuthalEqualAreaRaw",(function(){return Br})),e.d(n,"geoAzimuthalEquidistant",(function(){return Nr})),e.d(n,"geoAzimuthalEquidistantRaw",(function(){return Tr})),e.d(n,"geoConicConformal",(function(){return Dr})),e.d(n,"geoConicConformalRaw",(function(){return Rr})),e.d(n,"geoConicEqualArea",(function(){return Ar})),e.d(n,"geoConicEqualAreaRaw",(function(){return wr})),e.d(n,"geoConicEquidistant",(function(){return zr})),e.d(n,"geoConicEquidistantRaw",(function(){return Ur})),e.d(n,"geoEqualEarth",(function(){return Wr})),e.d(n,"geoEqualEarthRaw",(function(){return Gr})),e.d(n,"geoEquirectangular",(function(){return Ir})),e.d(n,"geoEquirectangularRaw",(function(){return Lr})),e.d(n,"geoGnomonic",(function(){return Jr})),e.d(n,"geoGnomonicRaw",(function(){return Xr})),e.d(n,"geoIdentity",(function(){return Qr})),e.d(n,"geoProjection",(function(){return br})),e.d(n,"geoProjectionMutator",(function(){return xr})),e.d(n,"geoMercator",(function(){return Sr})),e.d(n,"geoMercatorRaw",(function(){return Cr})),e.d(n,"geoNaturalEarth1",(function(){return ti})),e.d(n,"geoNaturalEarth1Raw",(function(){return Kr})),e.d(n,"geoOrthographic",(function(){return ei})),e.d(n,"geoOrthographicRaw",(function(){return ni})),e.d(n,"geoStereographic",(function(){return ii})),e.d(n,"geoStereographicRaw",(function(){return ri})),e.d(n,"geoTransverseMercator",(function(){return ai})),e.d(n,"geoTransverseMercatorRaw",(function(){return oi})),e.d(n,"geoRotation",(function(){return cn})),e.d(n,"geoStream",(function(){return z})),e.d(n,"geoTransform",(function(){return or}))},1395:function(t,n,e){"use strict";e.r(n);var r=e(657),i=function(t){return function(){return t}},o=Math.abs,a=Math.atan2,u=Math.cos,c=Math.max,f=Math.min,s=Math.sin,l=Math.sqrt,h=1e-12,d=Math.PI,p=d/2,g=2*d;function v(t){return t>=1?p:t<=-1?-p:Math.asin(t)}function y(t){return t.innerRadius}function m(t){return t.outerRadius}function b(t){return t.startAngle}function x(t){return t.endAngle}function _(t){return t&&t.padAngle}function w(t,n,e,r,i,o,a){var u=t-e,f=n-r,s=(a?o:-o)/l(u*u+f*f),h=s*f,d=-s*u,p=t+h,g=n+d,v=e+h,y=r+d,m=(p+v)/2,b=(g+y)/2,x=v-p,_=y-g,w=x*x+_*_,A=i-o,E=p*y-v*g,M=(_<0?-1:1)*l(c(0,A*A*w-E*E)),k=(E*_-x*M)/w,O=(-E*x-_*M)/w,B=(E*_+x*M)/w,F=(-E*x+_*M)/w,T=k-m,N=O-b,C=B-m,S=F-b;return T*T+N*N>C*C+S*S&&(k=B,O=F),{cx:k,cy:O,x01:-h,y01:-d,x11:k*(i/A-1),y11:O*(i/A-1)}}var A=function(){var t=y,n=m,e=i(0),c=null,A=b,E=x,M=_,k=null;function O(){var i,y,m,b=+t.apply(this,arguments),x=+n.apply(this,arguments),_=A.apply(this,arguments)-p,O=E.apply(this,arguments)-p,B=o(O-_),F=O>_;if(k||(k=i=Object(r.a)()),x<b&&(y=x,x=b,b=y),x>h)if(B>g-h)k.moveTo(x*u(_),x*s(_)),k.arc(0,0,x,_,O,!F),b>h&&(k.moveTo(b*u(O),b*s(O)),k.arc(0,0,b,O,_,F));else{var T,N,C=_,S=O,j=_,P=O,R=B,D=B,L=M.apply(this,arguments)/2,I=L>h&&(c?+c.apply(this,arguments):l(b*b+x*x)),U=f(o(x-b)/2,+e.apply(this,arguments)),z=U,Y=U;if(I>h){var q=v(I/b*s(L)),H=v(I/x*s(L));(R-=2*q)>h?(j+=q*=F?1:-1,P-=q):(R=0,j=P=(_+O)/2),(D-=2*H)>h?(C+=H*=F?1:-1,S-=H):(D=0,C=S=(_+O)/2)}var $=x*u(C),V=x*s(C),G=b*u(P),W=b*s(P);if(U>h){var X,J=x*u(S),Z=x*s(S),Q=b*u(j),K=b*s(j);if(B<d&&(X=function(t,n,e,r,i,o,a,u){var c=e-t,f=r-n,s=a-i,l=u-o,d=l*c-s*f;if(!(d*d<h))return[t+(d=(s*(n-o)-l*(t-i))/d)*c,n+d*f]}($,V,Q,K,J,Z,G,W))){var tt=$-X[0],nt=V-X[1],et=J-X[0],rt=Z-X[1],it=1/s(((m=(tt*et+nt*rt)/(l(tt*tt+nt*nt)*l(et*et+rt*rt)))>1?0:m<-1?d:Math.acos(m))/2),ot=l(X[0]*X[0]+X[1]*X[1]);z=f(U,(b-ot)/(it-1)),Y=f(U,(x-ot)/(it+1))}}D>h?Y>h?(T=w(Q,K,$,V,x,Y,F),N=w(J,Z,G,W,x,Y,F),k.moveTo(T.cx+T.x01,T.cy+T.y01),Y<U?k.arc(T.cx,T.cy,Y,a(T.y01,T.x01),a(N.y01,N.x01),!F):(k.arc(T.cx,T.cy,Y,a(T.y01,T.x01),a(T.y11,T.x11),!F),k.arc(0,0,x,a(T.cy+T.y11,T.cx+T.x11),a(N.cy+N.y11,N.cx+N.x11),!F),k.arc(N.cx,N.cy,Y,a(N.y11,N.x11),a(N.y01,N.x01),!F))):(k.moveTo($,V),k.arc(0,0,x,C,S,!F)):k.moveTo($,V),b>h&&R>h?z>h?(T=w(G,W,J,Z,b,-z,F),N=w($,V,Q,K,b,-z,F),k.lineTo(T.cx+T.x01,T.cy+T.y01),z<U?k.arc(T.cx,T.cy,z,a(T.y01,T.x01),a(N.y01,N.x01),!F):(k.arc(T.cx,T.cy,z,a(T.y01,T.x01),a(T.y11,T.x11),!F),k.arc(0,0,b,a(T.cy+T.y11,T.cx+T.x11),a(N.cy+N.y11,N.cx+N.x11),F),k.arc(N.cx,N.cy,z,a(N.y11,N.x11),a(N.y01,N.x01),!F))):k.arc(0,0,b,P,j,F):k.lineTo(G,W)}else k.moveTo(0,0);if(k.closePath(),i)return k=null,i+""||null}return O.centroid=function(){var e=(+t.apply(this,arguments)+ +n.apply(this,arguments))/2,r=(+A.apply(this,arguments)+ +E.apply(this,arguments))/2-d/2;return[u(r)*e,s(r)*e]},O.innerRadius=function(n){return arguments.length?(t="function"==typeof n?n:i(+n),O):t},O.outerRadius=function(t){return arguments.length?(n="function"==typeof t?t:i(+t),O):n},O.cornerRadius=function(t){return arguments.length?(e="function"==typeof t?t:i(+t),O):e},O.padRadius=function(t){return arguments.length?(c=null==t?null:"function"==typeof t?t:i(+t),O):c},O.startAngle=function(t){return arguments.length?(A="function"==typeof t?t:i(+t),O):A},O.endAngle=function(t){return arguments.length?(E="function"==typeof t?t:i(+t),O):E},O.padAngle=function(t){return arguments.length?(M="function"==typeof t?t:i(+t),O):M},O.context=function(t){return arguments.length?(k=null==t?null:t,O):k},O};function E(t){this._context=t}E.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;default:this._context.lineTo(t,n)}}};var M=function(t){return new E(t)};function k(t){return t[0]}function O(t){return t[1]}var B=function(){var t=k,n=O,e=i(!0),o=null,a=M,u=null;function c(i){var c,f,s,l=i.length,h=!1;for(null==o&&(u=a(s=Object(r.a)())),c=0;c<=l;++c)!(c<l&&e(f=i[c],c,i))===h&&((h=!h)?u.lineStart():u.lineEnd()),h&&u.point(+t(f,c,i),+n(f,c,i));if(s)return u=null,s+""||null}return c.x=function(n){return arguments.length?(t="function"==typeof n?n:i(+n),c):t},c.y=function(t){return arguments.length?(n="function"==typeof t?t:i(+t),c):n},c.defined=function(t){return arguments.length?(e="function"==typeof t?t:i(!!t),c):e},c.curve=function(t){return arguments.length?(a=t,null!=o&&(u=a(o)),c):a},c.context=function(t){return arguments.length?(null==t?o=u=null:u=a(o=t),c):o},c},F=function(){var t=k,n=null,e=i(0),o=O,a=i(!0),u=null,c=M,f=null;function s(i){var s,l,h,d,p,g=i.length,v=!1,y=new Array(g),m=new Array(g);for(null==u&&(f=c(p=Object(r.a)())),s=0;s<=g;++s){if(!(s<g&&a(d=i[s],s,i))===v)if(v=!v)l=s,f.areaStart(),f.lineStart();else{for(f.lineEnd(),f.lineStart(),h=s-1;h>=l;--h)f.point(y[h],m[h]);f.lineEnd(),f.areaEnd()}v&&(y[s]=+t(d,s,i),m[s]=+e(d,s,i),f.point(n?+n(d,s,i):y[s],o?+o(d,s,i):m[s]))}if(p)return f=null,p+""||null}function l(){return B().defined(a).curve(c).context(u)}return s.x=function(e){return arguments.length?(t="function"==typeof e?e:i(+e),n=null,s):t},s.x0=function(n){return arguments.length?(t="function"==typeof n?n:i(+n),s):t},s.x1=function(t){return arguments.length?(n=null==t?null:"function"==typeof t?t:i(+t),s):n},s.y=function(t){return arguments.length?(e="function"==typeof t?t:i(+t),o=null,s):e},s.y0=function(t){return arguments.length?(e="function"==typeof t?t:i(+t),s):e},s.y1=function(t){return arguments.length?(o=null==t?null:"function"==typeof t?t:i(+t),s):o},s.lineX0=s.lineY0=function(){return l().x(t).y(e)},s.lineY1=function(){return l().x(t).y(o)},s.lineX1=function(){return l().x(n).y(e)},s.defined=function(t){return arguments.length?(a="function"==typeof t?t:i(!!t),s):a},s.curve=function(t){return arguments.length?(c=t,null!=u&&(f=c(u)),s):c},s.context=function(t){return arguments.length?(null==t?u=f=null:f=c(u=t),s):u},s},T=function(t,n){return n<t?-1:n>t?1:n>=t?0:NaN},N=function(t){return t},C=function(){var t=N,n=T,e=null,r=i(0),o=i(g),a=i(0);function u(i){var u,c,f,s,l,h=i.length,d=0,p=new Array(h),v=new Array(h),y=+r.apply(this,arguments),m=Math.min(g,Math.max(-g,o.apply(this,arguments)-y)),b=Math.min(Math.abs(m)/h,a.apply(this,arguments)),x=b*(m<0?-1:1);for(u=0;u<h;++u)(l=v[p[u]=u]=+t(i[u],u,i))>0&&(d+=l);for(null!=n?p.sort((function(t,e){return n(v[t],v[e])})):null!=e&&p.sort((function(t,n){return e(i[t],i[n])})),u=0,f=d?(m-h*x)/d:0;u<h;++u,y=s)c=p[u],s=y+((l=v[c])>0?l*f:0)+x,v[c]={data:i[c],index:u,value:l,startAngle:y,endAngle:s,padAngle:b};return v}return u.value=function(n){return arguments.length?(t="function"==typeof n?n:i(+n),u):t},u.sortValues=function(t){return arguments.length?(n=t,e=null,u):n},u.sort=function(t){return arguments.length?(e=t,n=null,u):e},u.startAngle=function(t){return arguments.length?(r="function"==typeof t?t:i(+t),u):r},u.endAngle=function(t){return arguments.length?(o="function"==typeof t?t:i(+t),u):o},u.padAngle=function(t){return arguments.length?(a="function"==typeof t?t:i(+t),u):a},u},S=P(M);function j(t){this._curve=t}function P(t){function n(n){return new j(t(n))}return n._curve=t,n}function R(t){var n=t.curve;return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t.curve=function(t){return arguments.length?n(P(t)):n()._curve},t}j.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(t,n){this._curve.point(n*Math.sin(t),n*-Math.cos(t))}};var D=function(){return R(B().curve(S))},L=function(){var t=F().curve(S),n=t.curve,e=t.lineX0,r=t.lineX1,i=t.lineY0,o=t.lineY1;return t.angle=t.x,delete t.x,t.startAngle=t.x0,delete t.x0,t.endAngle=t.x1,delete t.x1,t.radius=t.y,delete t.y,t.innerRadius=t.y0,delete t.y0,t.outerRadius=t.y1,delete t.y1,t.lineStartAngle=function(){return R(e())},delete t.lineX0,t.lineEndAngle=function(){return R(r())},delete t.lineX1,t.lineInnerRadius=function(){return R(i())},delete t.lineY0,t.lineOuterRadius=function(){return R(o())},delete t.lineY1,t.curve=function(t){return arguments.length?n(P(t)):n()._curve},t},I=function(t,n){return[(n=+n)*Math.cos(t-=Math.PI/2),n*Math.sin(t)]},U=Array.prototype.slice;function z(t){return t.source}function Y(t){return t.target}function q(t){var n=z,e=Y,o=k,a=O,u=null;function c(){var i,c=U.call(arguments),f=n.apply(this,c),s=e.apply(this,c);if(u||(u=i=Object(r.a)()),t(u,+o.apply(this,(c[0]=f,c)),+a.apply(this,c),+o.apply(this,(c[0]=s,c)),+a.apply(this,c)),i)return u=null,i+""||null}return c.source=function(t){return arguments.length?(n=t,c):n},c.target=function(t){return arguments.length?(e=t,c):e},c.x=function(t){return arguments.length?(o="function"==typeof t?t:i(+t),c):o},c.y=function(t){return arguments.length?(a="function"==typeof t?t:i(+t),c):a},c.context=function(t){return arguments.length?(u=null==t?null:t,c):u},c}function H(t,n,e,r,i){t.moveTo(n,e),t.bezierCurveTo(n=(n+r)/2,e,n,i,r,i)}function $(t,n,e,r,i){t.moveTo(n,e),t.bezierCurveTo(n,e=(e+i)/2,r,e,r,i)}function V(t,n,e,r,i){var o=I(n,e),a=I(n,e=(e+i)/2),u=I(r,e),c=I(r,i);t.moveTo(o[0],o[1]),t.bezierCurveTo(a[0],a[1],u[0],u[1],c[0],c[1])}function G(){return q(H)}function W(){return q($)}function X(){var t=q(V);return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t}var J={draw:function(t,n){var e=Math.sqrt(n/d);t.moveTo(e,0),t.arc(0,0,e,0,g)}},Z={draw:function(t,n){var e=Math.sqrt(n/5)/2;t.moveTo(-3*e,-e),t.lineTo(-e,-e),t.lineTo(-e,-3*e),t.lineTo(e,-3*e),t.lineTo(e,-e),t.lineTo(3*e,-e),t.lineTo(3*e,e),t.lineTo(e,e),t.lineTo(e,3*e),t.lineTo(-e,3*e),t.lineTo(-e,e),t.lineTo(-3*e,e),t.closePath()}},Q=Math.sqrt(1/3),K=2*Q,tt={draw:function(t,n){var e=Math.sqrt(n/K),r=e*Q;t.moveTo(0,-e),t.lineTo(r,0),t.lineTo(0,e),t.lineTo(-r,0),t.closePath()}},nt=Math.sin(d/10)/Math.sin(7*d/10),et=Math.sin(g/10)*nt,rt=-Math.cos(g/10)*nt,it={draw:function(t,n){var e=Math.sqrt(.8908130915292852*n),r=et*e,i=rt*e;t.moveTo(0,-e),t.lineTo(r,i);for(var o=1;o<5;++o){var a=g*o/5,u=Math.cos(a),c=Math.sin(a);t.lineTo(c*e,-u*e),t.lineTo(u*r-c*i,c*r+u*i)}t.closePath()}},ot={draw:function(t,n){var e=Math.sqrt(n),r=-e/2;t.rect(r,r,e,e)}},at=Math.sqrt(3),ut={draw:function(t,n){var e=-Math.sqrt(n/(3*at));t.moveTo(0,2*e),t.lineTo(-at*e,-e),t.lineTo(at*e,-e),t.closePath()}},ct=Math.sqrt(3)/2,ft=1/Math.sqrt(12),st=3*(ft/2+1),lt={draw:function(t,n){var e=Math.sqrt(n/st),r=e/2,i=e*ft,o=r,a=e*ft+e,u=-o,c=a;t.moveTo(r,i),t.lineTo(o,a),t.lineTo(u,c),t.lineTo(-.5*r-ct*i,ct*r+-.5*i),t.lineTo(-.5*o-ct*a,ct*o+-.5*a),t.lineTo(-.5*u-ct*c,ct*u+-.5*c),t.lineTo(-.5*r+ct*i,-.5*i-ct*r),t.lineTo(-.5*o+ct*a,-.5*a-ct*o),t.lineTo(-.5*u+ct*c,-.5*c-ct*u),t.closePath()}},ht=[J,Z,tt,ot,it,ut,lt],dt=function(){var t=i(J),n=i(64),e=null;function o(){var i;if(e||(e=i=Object(r.a)()),t.apply(this,arguments).draw(e,+n.apply(this,arguments)),i)return e=null,i+""||null}return o.type=function(n){return arguments.length?(t="function"==typeof n?n:i(n),o):t},o.size=function(t){return arguments.length?(n="function"==typeof t?t:i(+t),o):n},o.context=function(t){return arguments.length?(e=null==t?null:t,o):e},o},pt=function(){};function gt(t,n,e){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+n)/6,(t._y0+4*t._y1+e)/6)}function vt(t){this._context=t}vt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:gt(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:gt(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}};var yt=function(t){return new vt(t)};function mt(t){this._context=t}mt.prototype={areaStart:pt,areaEnd:pt,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._x2=t,this._y2=n;break;case 1:this._point=2,this._x3=t,this._y3=n;break;case 2:this._point=3,this._x4=t,this._y4=n,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+n)/6);break;default:gt(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}};var bt=function(t){return new mt(t)};function xt(t){this._context=t}xt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var e=(this._x0+4*this._x1+t)/6,r=(this._y0+4*this._y1+n)/6;this._line?this._context.lineTo(e,r):this._context.moveTo(e,r);break;case 3:this._point=4;default:gt(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}};var _t=function(t){return new xt(t)};function wt(t,n){this._basis=new vt(t),this._beta=n}wt.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,n=this._y,e=t.length-1;if(e>0)for(var r,i=t[0],o=n[0],a=t[e]-i,u=n[e]-o,c=-1;++c<=e;)r=c/e,this._basis.point(this._beta*t[c]+(1-this._beta)*(i+r*a),this._beta*n[c]+(1-this._beta)*(o+r*u));this._x=this._y=null,this._basis.lineEnd()},point:function(t,n){this._x.push(+t),this._y.push(+n)}};var At=function t(n){function e(t){return 1===n?new vt(t):new wt(t,n)}return e.beta=function(n){return t(+n)},e}(.85);function Et(t,n,e){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-n),t._y2+t._k*(t._y1-e),t._x2,t._y2)}function Mt(t,n){this._context=t,this._k=(1-n)/6}Mt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:Et(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2,this._x1=t,this._y1=n;break;case 2:this._point=3;default:Et(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var kt=function t(n){function e(t){return new Mt(t,n)}return e.tension=function(n){return t(+n)},e}(0);function Ot(t,n){this._context=t,this._k=(1-n)/6}Ot.prototype={areaStart:pt,areaEnd:pt,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._x3=t,this._y3=n;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=n);break;case 2:this._point=3,this._x5=t,this._y5=n;break;default:Et(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var Bt=function t(n){function e(t){return new Ot(t,n)}return e.tension=function(n){return t(+n)},e}(0);function Ft(t,n){this._context=t,this._k=(1-n)/6}Ft.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Et(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var Tt=function t(n){function e(t){return new Ft(t,n)}return e.tension=function(n){return t(+n)},e}(0);function Nt(t,n,e){var r=t._x1,i=t._y1,o=t._x2,a=t._y2;if(t._l01_a>h){var u=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,c=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*u-t._x0*t._l12_2a+t._x2*t._l01_2a)/c,i=(i*u-t._y0*t._l12_2a+t._y2*t._l01_2a)/c}if(t._l23_a>h){var f=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,s=3*t._l23_a*(t._l23_a+t._l12_a);o=(o*f+t._x1*t._l23_2a-n*t._l12_2a)/s,a=(a*f+t._y1*t._l23_2a-e*t._l12_2a)/s}t._context.bezierCurveTo(r,i,o,a,t._x2,t._y2)}function Ct(t,n){this._context=t,this._alpha=n}Ct.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3;default:Nt(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var St=function t(n){function e(t){return n?new Ct(t,n):new Mt(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);function jt(t,n){this._context=t,this._alpha=n}jt.prototype={areaStart:pt,areaEnd:pt,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=n;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=n);break;case 2:this._point=3,this._x5=t,this._y5=n;break;default:Nt(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var Pt=function t(n){function e(t){return n?new jt(t,n):new Ot(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);function Rt(t,n){this._context=t,this._alpha=n}Rt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Nt(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var Dt=function t(n){function e(t){return n?new Rt(t,n):new Ft(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);function Lt(t){this._context=t}Lt.prototype={areaStart:pt,areaEnd:pt,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,n){t=+t,n=+n,this._point?this._context.lineTo(t,n):(this._point=1,this._context.moveTo(t,n))}};var It=function(t){return new Lt(t)};function Ut(t){return t<0?-1:1}function zt(t,n,e){var r=t._x1-t._x0,i=n-t._x1,o=(t._y1-t._y0)/(r||i<0&&-0),a=(e-t._y1)/(i||r<0&&-0),u=(o*i+a*r)/(r+i);return(Ut(o)+Ut(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(u))||0}function Yt(t,n){var e=t._x1-t._x0;return e?(3*(t._y1-t._y0)/e-n)/2:n}function qt(t,n,e){var r=t._x0,i=t._y0,o=t._x1,a=t._y1,u=(o-r)/3;t._context.bezierCurveTo(r+u,i+u*n,o-u,a-u*e,o,a)}function Ht(t){this._context=t}function $t(t){this._context=new Vt(t)}function Vt(t){this._context=t}function Gt(t){return new Ht(t)}function Wt(t){return new $t(t)}function Xt(t){this._context=t}function Jt(t){var n,e,r=t.length-1,i=new Array(r),o=new Array(r),a=new Array(r);for(i[0]=0,o[0]=2,a[0]=t[0]+2*t[1],n=1;n<r-1;++n)i[n]=1,o[n]=4,a[n]=4*t[n]+2*t[n+1];for(i[r-1]=2,o[r-1]=7,a[r-1]=8*t[r-1]+t[r],n=1;n<r;++n)e=i[n]/o[n-1],o[n]-=e,a[n]-=e*a[n-1];for(i[r-1]=a[r-1]/o[r-1],n=r-2;n>=0;--n)i[n]=(a[n]-i[n+1])/o[n];for(o[r-1]=(t[r]+i[r-1])/2,n=0;n<r-1;++n)o[n]=2*t[n+1]-i[n+1];return[i,o]}Ht.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:qt(this,this._t0,Yt(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){var e=NaN;if(n=+n,(t=+t)!==this._x1||n!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3,qt(this,Yt(this,e=zt(this,t,n)),e);break;default:qt(this,this._t0,e=zt(this,t,n))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n,this._t0=e}}},($t.prototype=Object.create(Ht.prototype)).point=function(t,n){Ht.prototype.point.call(this,n,t)},Vt.prototype={moveTo:function(t,n){this._context.moveTo(n,t)},closePath:function(){this._context.closePath()},lineTo:function(t,n){this._context.lineTo(n,t)},bezierCurveTo:function(t,n,e,r,i,o){this._context.bezierCurveTo(n,t,r,e,o,i)}},Xt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,n=this._y,e=t.length;if(e)if(this._line?this._context.lineTo(t[0],n[0]):this._context.moveTo(t[0],n[0]),2===e)this._context.lineTo(t[1],n[1]);else for(var r=Jt(t),i=Jt(n),o=0,a=1;a<e;++o,++a)this._context.bezierCurveTo(r[0][o],i[0][o],r[1][o],i[1][o],t[a],n[a]);(this._line||0!==this._line&&1===e)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,n){this._x.push(+t),this._y.push(+n)}};var Zt=function(t){return new Xt(t)};function Qt(t,n){this._context=t,this._t=n}Qt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,n),this._context.lineTo(t,n);else{var e=this._x*(1-this._t)+t*this._t;this._context.lineTo(e,this._y),this._context.lineTo(e,n)}}this._x=t,this._y=n}};var Kt=function(t){return new Qt(t,.5)};function tn(t){return new Qt(t,0)}function nn(t){return new Qt(t,1)}var en=function(t,n){if((i=t.length)>1)for(var e,r,i,o=1,a=t[n[0]],u=a.length;o<i;++o)for(r=a,a=t[n[o]],e=0;e<u;++e)a[e][1]+=a[e][0]=isNaN(r[e][1])?r[e][0]:r[e][1]},rn=function(t){for(var n=t.length,e=new Array(n);--n>=0;)e[n]=n;return e};function on(t,n){return t[n]}var an=function(){var t=i([]),n=rn,e=en,r=on;function o(i){var o,a,u=t.apply(this,arguments),c=i.length,f=u.length,s=new Array(f);for(o=0;o<f;++o){for(var l,h=u[o],d=s[o]=new Array(c),p=0;p<c;++p)d[p]=l=[0,+r(i[p],h,p,i)],l.data=i[p];d.key=h}for(o=0,a=n(s);o<f;++o)s[a[o]].index=o;return e(s,a),s}return o.keys=function(n){return arguments.length?(t="function"==typeof n?n:i(U.call(n)),o):t},o.value=function(t){return arguments.length?(r="function"==typeof t?t:i(+t),o):r},o.order=function(t){return arguments.length?(n=null==t?rn:"function"==typeof t?t:i(U.call(t)),o):n},o.offset=function(t){return arguments.length?(e=null==t?en:t,o):e},o},un=function(t,n){if((r=t.length)>0){for(var e,r,i,o=0,a=t[0].length;o<a;++o){for(i=e=0;e<r;++e)i+=t[e][o][1]||0;if(i)for(e=0;e<r;++e)t[e][o][1]/=i}en(t,n)}},cn=function(t,n){if((u=t.length)>0)for(var e,r,i,o,a,u,c=0,f=t[n[0]].length;c<f;++c)for(o=a=0,e=0;e<u;++e)(i=(r=t[n[e]][c])[1]-r[0])>0?(r[0]=o,r[1]=o+=i):i<0?(r[1]=a,r[0]=a+=i):(r[0]=0,r[1]=i)},fn=function(t,n){if((e=t.length)>0){for(var e,r=0,i=t[n[0]],o=i.length;r<o;++r){for(var a=0,u=0;a<e;++a)u+=t[a][r][1]||0;i[r][1]+=i[r][0]=-u/2}en(t,n)}},sn=function(t,n){if((i=t.length)>0&&(r=(e=t[n[0]]).length)>0){for(var e,r,i,o=0,a=1;a<r;++a){for(var u=0,c=0,f=0;u<i;++u){for(var s=t[n[u]],l=s[a][1]||0,h=(l-(s[a-1][1]||0))/2,d=0;d<u;++d){var p=t[n[d]];h+=(p[a][1]||0)-(p[a-1][1]||0)}c+=l,f+=h*l}e[a-1][1]+=e[a-1][0]=o,c&&(o-=f/c)}e[a-1][1]+=e[a-1][0]=o,en(t,n)}},ln=function(t){var n=t.map(hn);return rn(t).sort((function(t,e){return n[t]-n[e]}))};function hn(t){for(var n,e=-1,r=0,i=t.length,o=-1/0;++e<i;)(n=+t[e][1])>o&&(o=n,r=e);return r}var dn=function(t){var n=t.map(pn);return rn(t).sort((function(t,e){return n[t]-n[e]}))};function pn(t){for(var n,e=0,r=-1,i=t.length;++r<i;)(n=+t[r][1])&&(e+=n);return e}var gn=function(t){return dn(t).reverse()},vn=function(t){var n,e,r=t.length,i=t.map(pn),o=ln(t),a=0,u=0,c=[],f=[];for(n=0;n<r;++n)e=o[n],a<u?(a+=i[e],c.push(e)):(u+=i[e],f.push(e));return f.reverse().concat(c)},yn=function(t){return rn(t).reverse()};e.d(n,"arc",(function(){return A})),e.d(n,"area",(function(){return F})),e.d(n,"line",(function(){return B})),e.d(n,"pie",(function(){return C})),e.d(n,"areaRadial",(function(){return L})),e.d(n,"radialArea",(function(){return L})),e.d(n,"lineRadial",(function(){return D})),e.d(n,"radialLine",(function(){return D})),e.d(n,"pointRadial",(function(){return I})),e.d(n,"linkHorizontal",(function(){return G})),e.d(n,"linkVertical",(function(){return W})),e.d(n,"linkRadial",(function(){return X})),e.d(n,"symbol",(function(){return dt})),e.d(n,"symbols",(function(){return ht})),e.d(n,"symbolCircle",(function(){return J})),e.d(n,"symbolCross",(function(){return Z})),e.d(n,"symbolDiamond",(function(){return tt})),e.d(n,"symbolSquare",(function(){return ot})),e.d(n,"symbolStar",(function(){return it})),e.d(n,"symbolTriangle",(function(){return ut})),e.d(n,"symbolWye",(function(){return lt})),e.d(n,"curveBasisClosed",(function(){return bt})),e.d(n,"curveBasisOpen",(function(){return _t})),e.d(n,"curveBasis",(function(){return yt})),e.d(n,"curveBundle",(function(){return At})),e.d(n,"curveCardinalClosed",(function(){return Bt})),e.d(n,"curveCardinalOpen",(function(){return Tt})),e.d(n,"curveCardinal",(function(){return kt})),e.d(n,"curveCatmullRomClosed",(function(){return Pt})),e.d(n,"curveCatmullRomOpen",(function(){return Dt})),e.d(n,"curveCatmullRom",(function(){return St})),e.d(n,"curveLinearClosed",(function(){return It})),e.d(n,"curveLinear",(function(){return M})),e.d(n,"curveMonotoneX",(function(){return Gt})),e.d(n,"curveMonotoneY",(function(){return Wt})),e.d(n,"curveNatural",(function(){return Zt})),e.d(n,"curveStep",(function(){return Kt})),e.d(n,"curveStepAfter",(function(){return nn})),e.d(n,"curveStepBefore",(function(){return tn})),e.d(n,"stack",(function(){return an})),e.d(n,"stackOffsetExpand",(function(){return un})),e.d(n,"stackOffsetDiverging",(function(){return cn})),e.d(n,"stackOffsetNone",(function(){return en})),e.d(n,"stackOffsetSilhouette",(function(){return fn})),e.d(n,"stackOffsetWiggle",(function(){return sn})),e.d(n,"stackOrderAppearance",(function(){return ln})),e.d(n,"stackOrderAscending",(function(){return dn})),e.d(n,"stackOrderDescending",(function(){return gn})),e.d(n,"stackOrderInsideOut",(function(){return vn})),e.d(n,"stackOrderNone",(function(){return rn})),e.d(n,"stackOrderReverse",(function(){return yn}))},1396:function(t,n,e){"use strict";e.r(n);var r=function(t){for(var n=t.length/6|0,e=new Array(n),r=0;r<n;)e[r]="#"+t.slice(6*r,6*++r);return e},i=r("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),o=r("7fc97fbeaed4fdc086ffff99386cb0f0027fbf5b17666666"),a=r("1b9e77d95f027570b3e7298a66a61ee6ab02a6761d666666"),u=r("a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928"),c=r("fbb4aeb3cde3ccebc5decbe4fed9a6ffffcce5d8bdfddaecf2f2f2"),f=r("b3e2cdfdcdaccbd5e8f4cae4e6f5c9fff2aef1e2cccccccc"),s=r("e41a1c377eb84daf4a984ea3ff7f00ffff33a65628f781bf999999"),l=r("66c2a5fc8d628da0cbe78ac3a6d854ffd92fe5c494b3b3b3"),h=r("8dd3c7ffffb3bebadafb807280b1d3fdb462b3de69fccde5d9d9d9bc80bdccebc5ffed6f"),d=r("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab"),p=e(223),g=function(t){return Object(p.b)(t[t.length-1])},v=new Array(3).concat("d8b365f5f5f55ab4ac","a6611adfc27d80cdc1018571","a6611adfc27df5f5f580cdc1018571","8c510ad8b365f6e8c3c7eae55ab4ac01665e","8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e","8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e","8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e","5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30","5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(r),y=g(v),m=new Array(3).concat("af8dc3f7f7f77fbf7b","7b3294c2a5cfa6dba0008837","7b3294c2a5cff7f7f7a6dba0008837","762a83af8dc3e7d4e8d9f0d37fbf7b1b7837","762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837","762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837","762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837","40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b","40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(r),b=g(m),x=new Array(3).concat("e9a3c9f7f7f7a1d76a","d01c8bf1b6dab8e1864dac26","d01c8bf1b6daf7f7f7b8e1864dac26","c51b7de9a3c9fde0efe6f5d0a1d76a4d9221","c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221","c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221","c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221","8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419","8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(r),_=g(x),w=new Array(3).concat("998ec3f7f7f7f1a340","5e3c99b2abd2fdb863e66101","5e3c99b2abd2f7f7f7fdb863e66101","542788998ec3d8daebfee0b6f1a340b35806","542788998ec3d8daebf7f7f7fee0b6f1a340b35806","5427888073acb2abd2d8daebfee0b6fdb863e08214b35806","5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806","2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08","2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(r),A=g(w),E=new Array(3).concat("ef8a62f7f7f767a9cf","ca0020f4a58292c5de0571b0","ca0020f4a582f7f7f792c5de0571b0","b2182bef8a62fddbc7d1e5f067a9cf2166ac","b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac","b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac","b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac","67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061","67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(r),M=g(E),k=new Array(3).concat("ef8a62ffffff999999","ca0020f4a582bababa404040","ca0020f4a582ffffffbababa404040","b2182bef8a62fddbc7e0e0e09999994d4d4d","b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d","b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d","b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d","67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a","67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(r),O=g(k),B=new Array(3).concat("fc8d59ffffbf91bfdb","d7191cfdae61abd9e92c7bb6","d7191cfdae61ffffbfabd9e92c7bb6","d73027fc8d59fee090e0f3f891bfdb4575b4","d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4","d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4","d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4","a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695","a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(r),F=g(B),T=new Array(3).concat("fc8d59ffffbf91cf60","d7191cfdae61a6d96a1a9641","d7191cfdae61ffffbfa6d96a1a9641","d73027fc8d59fee08bd9ef8b91cf601a9850","d73027fc8d59fee08bffffbfd9ef8b91cf601a9850","d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850","d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850","a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837","a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(r),N=g(T),C=new Array(3).concat("fc8d59ffffbf99d594","d7191cfdae61abdda42b83ba","d7191cfdae61ffffbfabdda42b83ba","d53e4ffc8d59fee08be6f59899d5943288bd","d53e4ffc8d59fee08bffffbfe6f59899d5943288bd","d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd","d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd","9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2","9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(r),S=g(C),j=new Array(3).concat("e5f5f999d8c92ca25f","edf8fbb2e2e266c2a4238b45","edf8fbb2e2e266c2a42ca25f006d2c","edf8fbccece699d8c966c2a42ca25f006d2c","edf8fbccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(r),P=g(j),R=new Array(3).concat("e0ecf49ebcda8856a7","edf8fbb3cde38c96c688419d","edf8fbb3cde38c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(r),D=g(R),L=new Array(3).concat("e0f3dba8ddb543a2ca","f0f9e8bae4bc7bccc42b8cbe","f0f9e8bae4bc7bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(r),I=g(L),U=new Array(3).concat("fee8c8fdbb84e34a33","fef0d9fdcc8afc8d59d7301f","fef0d9fdcc8afc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(r),z=g(U),Y=new Array(3).concat("ece2f0a6bddb1c9099","f6eff7bdc9e167a9cf02818a","f6eff7bdc9e167a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(r),q=g(Y),H=new Array(3).concat("ece7f2a6bddb2b8cbe","f1eef6bdc9e174a9cf0570b0","f1eef6bdc9e174a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(r),$=g(H),V=new Array(3).concat("e7e1efc994c7dd1c77","f1eef6d7b5d8df65b0ce1256","f1eef6d7b5d8df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(r),G=g(V),W=new Array(3).concat("fde0ddfa9fb5c51b8a","feebe2fbb4b9f768a1ae017e","feebe2fbb4b9f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(r),X=g(W),J=new Array(3).concat("edf8b17fcdbb2c7fb8","ffffcca1dab441b6c4225ea8","ffffcca1dab441b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(r),Z=g(J),Q=new Array(3).concat("f7fcb9addd8e31a354","ffffccc2e69978c679238443","ffffccc2e69978c67931a354006837","ffffccd9f0a3addd8e78c67931a354006837","ffffccd9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(r),K=g(Q),tt=new Array(3).concat("fff7bcfec44fd95f0e","ffffd4fed98efe9929cc4c02","ffffd4fed98efe9929d95f0e993404","ffffd4fee391fec44ffe9929d95f0e993404","ffffd4fee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(r),nt=g(tt),et=new Array(3).concat("ffeda0feb24cf03b20","ffffb2fecc5cfd8d3ce31a1c","ffffb2fecc5cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(r),rt=g(et),it=new Array(3).concat("deebf79ecae13182bd","eff3ffbdd7e76baed62171b5","eff3ffbdd7e76baed63182bd08519c","eff3ffc6dbef9ecae16baed63182bd08519c","eff3ffc6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(r),ot=g(it),at=new Array(3).concat("e5f5e0a1d99b31a354","edf8e9bae4b374c476238b45","edf8e9bae4b374c47631a354006d2c","edf8e9c7e9c0a1d99b74c47631a354006d2c","edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(r),ut=g(at),ct=new Array(3).concat("f0f0f0bdbdbd636363","f7f7f7cccccc969696525252","f7f7f7cccccc969696636363252525","f7f7f7d9d9d9bdbdbd969696636363252525","f7f7f7d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(r),ft=g(ct),st=new Array(3).concat("efedf5bcbddc756bb1","f2f0f7cbc9e29e9ac86a51a3","f2f0f7cbc9e29e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(r),lt=g(st),ht=new Array(3).concat("fee0d2fc9272de2d26","fee5d9fcae91fb6a4acb181d","fee5d9fcae91fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(r),dt=g(ht),pt=new Array(3).concat("fee6cefdae6be6550d","feeddefdbe85fd8d3cd94701","feeddefdbe85fd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(r),gt=g(pt),vt=function(t){return t=Math.max(0,Math.min(1,t)),"rgb("+Math.max(0,Math.min(255,Math.round(-4.54-t*(35.34-t*(2381.73-t*(6402.7-t*(7024.72-2710.57*t)))))))+", "+Math.max(0,Math.min(255,Math.round(32.49+t*(170.73+t*(52.82-t*(131.46-t*(176.58-67.37*t)))))))+", "+Math.max(0,Math.min(255,Math.round(81.24+t*(442.36-t*(2482.43-t*(6167.24-t*(6614.94-2475.67*t)))))))+")"},yt=e(407),mt=e(431),bt=Object(mt.a)(Object(yt.a)(300,.5,0),Object(yt.a)(-240,.5,1)),xt=Object(mt.a)(Object(yt.a)(-100,.75,.35),Object(yt.a)(80,1.5,.8)),_t=Object(mt.a)(Object(yt.a)(260,.75,.35),Object(yt.a)(80,1.5,.8)),wt=Object(yt.a)(),At=function(t){(t<0||t>1)&&(t-=Math.floor(t));var n=Math.abs(t-.5);return wt.h=360*t-100,wt.s=1.5-1.5*n,wt.l=.8-.9*n,wt+""},Et=e(67),Mt=Object(Et.g)(),kt=Math.PI/3,Ot=2*Math.PI/3,Bt=function(t){var n;return t=(.5-t)*Math.PI,Mt.r=255*(n=Math.sin(t))*n,Mt.g=255*(n=Math.sin(t+kt))*n,Mt.b=255*(n=Math.sin(t+Ot))*n,Mt+""},Ft=function(t){return t=Math.max(0,Math.min(1,t)),"rgb("+Math.max(0,Math.min(255,Math.round(34.61+t*(1172.33-t*(10793.56-t*(33300.12-t*(38394.49-14825.05*t)))))))+", "+Math.max(0,Math.min(255,Math.round(23.31+t*(557.33+t*(1225.33-t*(3574.96-t*(1073.77+707.56*t)))))))+", "+Math.max(0,Math.min(255,Math.round(27.2+t*(3211.1-t*(15327.97-t*(27814-t*(22569.18-6838.66*t)))))))+")"};function Tt(t){var n=t.length;return function(e){return t[Math.max(0,Math.min(n-1,Math.floor(e*n)))]}}var Nt=Tt(r("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),Ct=Tt(r("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),St=Tt(r("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),jt=Tt(r("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));e.d(n,"schemeCategory10",(function(){return i})),e.d(n,"schemeAccent",(function(){return o})),e.d(n,"schemeDark2",(function(){return a})),e.d(n,"schemePaired",(function(){return u})),e.d(n,"schemePastel1",(function(){return c})),e.d(n,"schemePastel2",(function(){return f})),e.d(n,"schemeSet1",(function(){return s})),e.d(n,"schemeSet2",(function(){return l})),e.d(n,"schemeSet3",(function(){return h})),e.d(n,"schemeTableau10",(function(){return d})),e.d(n,"interpolateBrBG",(function(){return y})),e.d(n,"schemeBrBG",(function(){return v})),e.d(n,"interpolatePRGn",(function(){return b})),e.d(n,"schemePRGn",(function(){return m})),e.d(n,"interpolatePiYG",(function(){return _})),e.d(n,"schemePiYG",(function(){return x})),e.d(n,"interpolatePuOr",(function(){return A})),e.d(n,"schemePuOr",(function(){return w})),e.d(n,"interpolateRdBu",(function(){return M})),e.d(n,"schemeRdBu",(function(){return E})),e.d(n,"interpolateRdGy",(function(){return O})),e.d(n,"schemeRdGy",(function(){return k})),e.d(n,"interpolateRdYlBu",(function(){return F})),e.d(n,"schemeRdYlBu",(function(){return B})),e.d(n,"interpolateRdYlGn",(function(){return N})),e.d(n,"schemeRdYlGn",(function(){return T})),e.d(n,"interpolateSpectral",(function(){return S})),e.d(n,"schemeSpectral",(function(){return C})),e.d(n,"interpolateBuGn",(function(){return P})),e.d(n,"schemeBuGn",(function(){return j})),e.d(n,"interpolateBuPu",(function(){return D})),e.d(n,"schemeBuPu",(function(){return R})),e.d(n,"interpolateGnBu",(function(){return I})),e.d(n,"schemeGnBu",(function(){return L})),e.d(n,"interpolateOrRd",(function(){return z})),e.d(n,"schemeOrRd",(function(){return U})),e.d(n,"interpolatePuBuGn",(function(){return q})),e.d(n,"schemePuBuGn",(function(){return Y})),e.d(n,"interpolatePuBu",(function(){return $})),e.d(n,"schemePuBu",(function(){return H})),e.d(n,"interpolatePuRd",(function(){return G})),e.d(n,"schemePuRd",(function(){return V})),e.d(n,"interpolateRdPu",(function(){return X})),e.d(n,"schemeRdPu",(function(){return W})),e.d(n,"interpolateYlGnBu",(function(){return Z})),e.d(n,"schemeYlGnBu",(function(){return J})),e.d(n,"interpolateYlGn",(function(){return K})),e.d(n,"schemeYlGn",(function(){return Q})),e.d(n,"interpolateYlOrBr",(function(){return nt})),e.d(n,"schemeYlOrBr",(function(){return tt})),e.d(n,"interpolateYlOrRd",(function(){return rt})),e.d(n,"schemeYlOrRd",(function(){return et})),e.d(n,"interpolateBlues",(function(){return ot})),e.d(n,"schemeBlues",(function(){return it})),e.d(n,"interpolateGreens",(function(){return ut})),e.d(n,"schemeGreens",(function(){return at})),e.d(n,"interpolateGreys",(function(){return ft})),e.d(n,"schemeGreys",(function(){return ct})),e.d(n,"interpolatePurples",(function(){return lt})),e.d(n,"schemePurples",(function(){return st})),e.d(n,"interpolateReds",(function(){return dt})),e.d(n,"schemeReds",(function(){return ht})),e.d(n,"interpolateOranges",(function(){return gt})),e.d(n,"schemeOranges",(function(){return pt})),e.d(n,"interpolateCividis",(function(){return vt})),e.d(n,"interpolateCubehelixDefault",(function(){return bt})),e.d(n,"interpolateRainbow",(function(){return At})),e.d(n,"interpolateWarm",(function(){return xt})),e.d(n,"interpolateCool",(function(){return _t})),e.d(n,"interpolateSinebow",(function(){return Bt})),e.d(n,"interpolateTurbo",(function(){return Ft})),e.d(n,"interpolateViridis",(function(){return Nt})),e.d(n,"interpolateMagma",(function(){return Ct})),e.d(n,"interpolateInferno",(function(){return St})),e.d(n,"interpolatePlasma",(function(){return jt}))},1398:function(t,n,e){"use strict";function r(t,n){return t.parent===n.parent?1:2}function i(t,n){return t+n.x}function o(t,n){return Math.max(t,n.y)}e.r(n);var a=function(){var t=r,n=1,e=1,a=!1;function u(r){var u,c=0;r.eachAfter((function(n){var e=n.children;e?(n.x=function(t){return t.reduce(i,0)/t.length}(e),n.y=function(t){return 1+t.reduce(o,0)}(e)):(n.x=u?c+=t(n,u):0,n.y=0,u=n)}));var f=function(t){for(var n;n=t.children;)t=n[0];return t}(r),s=function(t){for(var n;n=t.children;)t=n[n.length-1];return t}(r),l=f.x-t(f,s)/2,h=s.x+t(s,f)/2;return r.eachAfter(a?function(t){t.x=(t.x-r.x)*n,t.y=(r.y-t.y)*e}:function(t){t.x=(t.x-l)/(h-l)*n,t.y=(1-(r.y?t.y/r.y:1))*e})}return u.separation=function(n){return arguments.length?(t=n,u):t},u.size=function(t){return arguments.length?(a=!1,n=+t[0],e=+t[1],u):a?null:[n,e]},u.nodeSize=function(t){return arguments.length?(a=!0,n=+t[0],e=+t[1],u):a?[n,e]:null},u};function u(t){var n=0,e=t.children,r=e&&e.length;if(r)for(;--r>=0;)n+=e[r].value;else n=1;t.value=n}function c(t,n){var e,r,i,o,a,u=new h(t),c=+t.value&&(u.value=t.value),s=[u];for(null==n&&(n=f);e=s.pop();)if(c&&(e.value=+e.data.value),(i=n(e.data))&&(a=i.length))for(e.children=new Array(a),o=a-1;o>=0;--o)s.push(r=e.children[o]=new h(i[o])),r.parent=e,r.depth=e.depth+1;return u.eachBefore(l)}function f(t){return t.children}function s(t){t.data=t.data.data}function l(t){var n=0;do{t.height=n}while((t=t.parent)&&t.height<++n)}function h(t){this.data=t,this.depth=this.height=0,this.parent=null}h.prototype=c.prototype={constructor:h,count:function(){return this.eachAfter(u)},each:function(t){var n,e,r,i,o=this,a=[o];do{for(n=a.reverse(),a=[];o=n.pop();)if(t(o),e=o.children)for(r=0,i=e.length;r<i;++r)a.push(e[r])}while(a.length);return this},eachAfter:function(t){for(var n,e,r,i=this,o=[i],a=[];i=o.pop();)if(a.push(i),n=i.children)for(e=0,r=n.length;e<r;++e)o.push(n[e]);for(;i=a.pop();)t(i);return this},eachBefore:function(t){for(var n,e,r=this,i=[r];r=i.pop();)if(t(r),n=r.children)for(e=n.length-1;e>=0;--e)i.push(n[e]);return this},sum:function(t){return this.eachAfter((function(n){for(var e=+t(n.data)||0,r=n.children,i=r&&r.length;--i>=0;)e+=r[i].value;n.value=e}))},sort:function(t){return this.eachBefore((function(n){n.children&&n.children.sort(t)}))},path:function(t){for(var n=this,e=function(t,n){if(t===n)return t;var e=t.ancestors(),r=n.ancestors(),i=null;t=e.pop(),n=r.pop();for(;t===n;)i=t,t=e.pop(),n=r.pop();return i}(n,t),r=[n];n!==e;)n=n.parent,r.push(n);for(var i=r.length;t!==e;)r.splice(i,0,t),t=t.parent;return r},ancestors:function(){for(var t=this,n=[t];t=t.parent;)n.push(t);return n},descendants:function(){var t=[];return this.each((function(n){t.push(n)})),t},leaves:function(){var t=[];return this.eachBefore((function(n){n.children||t.push(n)})),t},links:function(){var t=this,n=[];return t.each((function(e){e!==t&&n.push({source:e.parent,target:e})})),n},copy:function(){return c(this).eachBefore(s)}};var d=Array.prototype.slice;var p=function(t){for(var n,e,r=0,i=(t=function(t){for(var n,e,r=t.length;r;)e=Math.random()*r--|0,n=t[r],t[r]=t[e],t[e]=n;return t}(d.call(t))).length,o=[];r<i;)n=t[r],e&&y(e,n)?++r:(e=b(o=g(o,n)),r=0);return e};function g(t,n){var e,r;if(m(n,t))return[n];for(e=0;e<t.length;++e)if(v(n,t[e])&&m(x(t[e],n),t))return[t[e],n];for(e=0;e<t.length-1;++e)for(r=e+1;r<t.length;++r)if(v(x(t[e],t[r]),n)&&v(x(t[e],n),t[r])&&v(x(t[r],n),t[e])&&m(_(t[e],t[r],n),t))return[t[e],t[r],n];throw new Error}function v(t,n){var e=t.r-n.r,r=n.x-t.x,i=n.y-t.y;return e<0||e*e<r*r+i*i}function y(t,n){var e=t.r-n.r+1e-6,r=n.x-t.x,i=n.y-t.y;return e>0&&e*e>r*r+i*i}function m(t,n){for(var e=0;e<n.length;++e)if(!y(t,n[e]))return!1;return!0}function b(t){switch(t.length){case 1:return{x:(n=t[0]).x,y:n.y,r:n.r};case 2:return x(t[0],t[1]);case 3:return _(t[0],t[1],t[2])}var n}function x(t,n){var e=t.x,r=t.y,i=t.r,o=n.x,a=n.y,u=n.r,c=o-e,f=a-r,s=u-i,l=Math.sqrt(c*c+f*f);return{x:(e+o+c/l*s)/2,y:(r+a+f/l*s)/2,r:(l+i+u)/2}}function _(t,n,e){var r=t.x,i=t.y,o=t.r,a=n.x,u=n.y,c=n.r,f=e.x,s=e.y,l=e.r,h=r-a,d=r-f,p=i-u,g=i-s,v=c-o,y=l-o,m=r*r+i*i-o*o,b=m-a*a-u*u+c*c,x=m-f*f-s*s+l*l,_=d*p-h*g,w=(p*x-g*b)/(2*_)-r,A=(g*v-p*y)/_,E=(d*b-h*x)/(2*_)-i,M=(h*y-d*v)/_,k=A*A+M*M-1,O=2*(o+w*A+E*M),B=w*w+E*E-o*o,F=-(k?(O+Math.sqrt(O*O-4*k*B))/(2*k):B/O);return{x:r+w+A*F,y:i+E+M*F,r:F}}function w(t,n,e){var r,i,o,a,u=t.x-n.x,c=t.y-n.y,f=u*u+c*c;f?(i=n.r+e.r,i*=i,a=t.r+e.r,i>(a*=a)?(r=(f+a-i)/(2*f),o=Math.sqrt(Math.max(0,a/f-r*r)),e.x=t.x-r*u-o*c,e.y=t.y-r*c+o*u):(r=(f+i-a)/(2*f),o=Math.sqrt(Math.max(0,i/f-r*r)),e.x=n.x+r*u-o*c,e.y=n.y+r*c+o*u)):(e.x=n.x+e.r,e.y=n.y)}function A(t,n){var e=t.r+n.r-1e-6,r=n.x-t.x,i=n.y-t.y;return e>0&&e*e>r*r+i*i}function E(t){var n=t._,e=t.next._,r=n.r+e.r,i=(n.x*e.r+e.x*n.r)/r,o=(n.y*e.r+e.y*n.r)/r;return i*i+o*o}function M(t){this._=t,this.next=null,this.previous=null}function k(t){if(!(i=t.length))return 0;var n,e,r,i,o,a,u,c,f,s,l;if((n=t[0]).x=0,n.y=0,!(i>1))return n.r;if(e=t[1],n.x=-e.r,e.x=n.r,e.y=0,!(i>2))return n.r+e.r;w(e,n,r=t[2]),n=new M(n),e=new M(e),r=new M(r),n.next=r.previous=e,e.next=n.previous=r,r.next=e.previous=n;t:for(u=3;u<i;++u){w(n._,e._,r=t[u]),r=new M(r),c=e.next,f=n.previous,s=e._.r,l=n._.r;do{if(s<=l){if(A(c._,r._)){e=c,n.next=e,e.previous=n,--u;continue t}s+=c._.r,c=c.next}else{if(A(f._,r._)){(n=f).next=e,e.previous=n,--u;continue t}l+=f._.r,f=f.previous}}while(c!==f.next);for(r.previous=n,r.next=e,n.next=e.previous=e=r,o=E(n);(r=r.next)!==e;)(a=E(r))<o&&(n=r,o=a);e=n.next}for(n=[e._],r=e;(r=r.next)!==e;)n.push(r._);for(r=p(n),u=0;u<i;++u)(n=t[u]).x-=r.x,n.y-=r.y;return r.r}var O=function(t){return k(t),t};function B(t){return null==t?null:F(t)}function F(t){if("function"!=typeof t)throw new Error;return t}function T(){return 0}var N=function(t){return function(){return t}};function C(t){return Math.sqrt(t.value)}var S=function(){var t=null,n=1,e=1,r=T;function i(i){return i.x=n/2,i.y=e/2,t?i.eachBefore(j(t)).eachAfter(P(r,.5)).eachBefore(R(1)):i.eachBefore(j(C)).eachAfter(P(T,1)).eachAfter(P(r,i.r/Math.min(n,e))).eachBefore(R(Math.min(n,e)/(2*i.r))),i}return i.radius=function(n){return arguments.length?(t=B(n),i):t},i.size=function(t){return arguments.length?(n=+t[0],e=+t[1],i):[n,e]},i.padding=function(t){return arguments.length?(r="function"==typeof t?t:N(+t),i):r},i};function j(t){return function(n){n.children||(n.r=Math.max(0,+t(n)||0))}}function P(t,n){return function(e){if(r=e.children){var r,i,o,a=r.length,u=t(e)*n||0;if(u)for(i=0;i<a;++i)r[i].r+=u;if(o=k(r),u)for(i=0;i<a;++i)r[i].r-=u;e.r=o+u}}}function R(t){return function(n){var e=n.parent;n.r*=t,e&&(n.x=e.x+t*n.x,n.y=e.y+t*n.y)}}var D=function(t){t.x0=Math.round(t.x0),t.y0=Math.round(t.y0),t.x1=Math.round(t.x1),t.y1=Math.round(t.y1)},L=function(t,n,e,r,i){for(var o,a=t.children,u=-1,c=a.length,f=t.value&&(r-n)/t.value;++u<c;)(o=a[u]).y0=e,o.y1=i,o.x0=n,o.x1=n+=o.value*f},I=function(){var t=1,n=1,e=0,r=!1;function i(i){var o=i.height+1;return i.x0=i.y0=e,i.x1=t,i.y1=n/o,i.eachBefore(function(t,n){return function(r){r.children&&L(r,r.x0,t*(r.depth+1)/n,r.x1,t*(r.depth+2)/n);var i=r.x0,o=r.y0,a=r.x1-e,u=r.y1-e;a<i&&(i=a=(i+a)/2),u<o&&(o=u=(o+u)/2),r.x0=i,r.y0=o,r.x1=a,r.y1=u}}(n,o)),r&&i.eachBefore(D),i}return i.round=function(t){return arguments.length?(r=!!t,i):r},i.size=function(e){return arguments.length?(t=+e[0],n=+e[1],i):[t,n]},i.padding=function(t){return arguments.length?(e=+t,i):e},i},U="$",z={depth:-1},Y={};function q(t){return t.id}function H(t){return t.parentId}var $=function(){var t=q,n=H;function e(e){var r,i,o,a,u,c,f,s=e.length,d=new Array(s),p={};for(i=0;i<s;++i)r=e[i],u=d[i]=new h(r),null!=(c=t(r,i,e))&&(c+="")&&(p[f=U+(u.id=c)]=f in p?Y:u);for(i=0;i<s;++i)if(u=d[i],null!=(c=n(e[i],i,e))&&(c+="")){if(!(a=p[U+c]))throw new Error("missing: "+c);if(a===Y)throw new Error("ambiguous: "+c);a.children?a.children.push(u):a.children=[u],u.parent=a}else{if(o)throw new Error("multiple roots");o=u}if(!o)throw new Error("no root");if(o.parent=z,o.eachBefore((function(t){t.depth=t.parent.depth+1,--s})).eachBefore(l),o.parent=null,s>0)throw new Error("cycle");return o}return e.id=function(n){return arguments.length?(t=F(n),e):t},e.parentId=function(t){return arguments.length?(n=F(t),e):n},e};function V(t,n){return t.parent===n.parent?1:2}function G(t){var n=t.children;return n?n[0]:t.t}function W(t){var n=t.children;return n?n[n.length-1]:t.t}function X(t,n,e){var r=e/(n.i-t.i);n.c-=r,n.s+=e,t.c+=r,n.z+=e,n.m+=e}function J(t,n,e){return t.a.parent===n.parent?t.a:e}function Z(t,n){this._=t,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=n}Z.prototype=Object.create(h.prototype);var Q=function(){var t=V,n=1,e=1,r=null;function i(i){var c=function(t){for(var n,e,r,i,o,a=new Z(t,0),u=[a];n=u.pop();)if(r=n._.children)for(n.children=new Array(o=r.length),i=o-1;i>=0;--i)u.push(e=n.children[i]=new Z(r[i],i)),e.parent=n;return(a.parent=new Z(null,0)).children=[a],a}(i);if(c.eachAfter(o),c.parent.m=-c.z,c.eachBefore(a),r)i.eachBefore(u);else{var f=i,s=i,l=i;i.eachBefore((function(t){t.x<f.x&&(f=t),t.x>s.x&&(s=t),t.depth>l.depth&&(l=t)}));var h=f===s?1:t(f,s)/2,d=h-f.x,p=n/(s.x+h+d),g=e/(l.depth||1);i.eachBefore((function(t){t.x=(t.x+d)*p,t.y=t.depth*g}))}return i}function o(n){var e=n.children,r=n.parent.children,i=n.i?r[n.i-1]:null;if(e){!function(t){for(var n,e=0,r=0,i=t.children,o=i.length;--o>=0;)(n=i[o]).z+=e,n.m+=e,e+=n.s+(r+=n.c)}(n);var o=(e[0].z+e[e.length-1].z)/2;i?(n.z=i.z+t(n._,i._),n.m=n.z-o):n.z=o}else i&&(n.z=i.z+t(n._,i._));n.parent.A=function(n,e,r){if(e){for(var i,o=n,a=n,u=e,c=o.parent.children[0],f=o.m,s=a.m,l=u.m,h=c.m;u=W(u),o=G(o),u&&o;)c=G(c),(a=W(a)).a=n,(i=u.z+l-o.z-f+t(u._,o._))>0&&(X(J(u,n,r),n,i),f+=i,s+=i),l+=u.m,f+=o.m,h+=c.m,s+=a.m;u&&!W(a)&&(a.t=u,a.m+=l-s),o&&!G(c)&&(c.t=o,c.m+=f-h,r=n)}return r}(n,i,n.parent.A||r[0])}function a(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function u(t){t.x*=n,t.y=t.depth*e}return i.separation=function(n){return arguments.length?(t=n,i):t},i.size=function(t){return arguments.length?(r=!1,n=+t[0],e=+t[1],i):r?null:[n,e]},i.nodeSize=function(t){return arguments.length?(r=!0,n=+t[0],e=+t[1],i):r?[n,e]:null},i},K=function(t,n,e,r,i){for(var o,a=t.children,u=-1,c=a.length,f=t.value&&(i-e)/t.value;++u<c;)(o=a[u]).x0=n,o.x1=r,o.y0=e,o.y1=e+=o.value*f},tt=(1+Math.sqrt(5))/2;function nt(t,n,e,r,i,o){for(var a,u,c,f,s,l,h,d,p,g,v,y=[],m=n.children,b=0,x=0,_=m.length,w=n.value;b<_;){c=i-e,f=o-r;do{s=m[x++].value}while(!s&&x<_);for(l=h=s,v=s*s*(g=Math.max(f/c,c/f)/(w*t)),p=Math.max(h/v,v/l);x<_;++x){if(s+=u=m[x].value,u<l&&(l=u),u>h&&(h=u),v=s*s*g,(d=Math.max(h/v,v/l))>p){s-=u;break}p=d}y.push(a={value:s,dice:c<f,children:m.slice(b,x)}),a.dice?L(a,e,r,i,w?r+=f*s/w:o):K(a,e,r,w?e+=c*s/w:i,o),w-=s,b=x}return y}var et=function t(n){function e(t,e,r,i,o){nt(n,t,e,r,i,o)}return e.ratio=function(n){return t((n=+n)>1?n:1)},e}(tt),rt=function(){var t=et,n=!1,e=1,r=1,i=[0],o=T,a=T,u=T,c=T,f=T;function s(t){return t.x0=t.y0=0,t.x1=e,t.y1=r,t.eachBefore(l),i=[0],n&&t.eachBefore(D),t}function l(n){var e=i[n.depth],r=n.x0+e,s=n.y0+e,l=n.x1-e,h=n.y1-e;l<r&&(r=l=(r+l)/2),h<s&&(s=h=(s+h)/2),n.x0=r,n.y0=s,n.x1=l,n.y1=h,n.children&&(e=i[n.depth+1]=o(n)/2,r+=f(n)-e,s+=a(n)-e,(l-=u(n)-e)<r&&(r=l=(r+l)/2),(h-=c(n)-e)<s&&(s=h=(s+h)/2),t(n,r,s,l,h))}return s.round=function(t){return arguments.length?(n=!!t,s):n},s.size=function(t){return arguments.length?(e=+t[0],r=+t[1],s):[e,r]},s.tile=function(n){return arguments.length?(t=F(n),s):t},s.padding=function(t){return arguments.length?s.paddingInner(t).paddingOuter(t):s.paddingInner()},s.paddingInner=function(t){return arguments.length?(o="function"==typeof t?t:N(+t),s):o},s.paddingOuter=function(t){return arguments.length?s.paddingTop(t).paddingRight(t).paddingBottom(t).paddingLeft(t):s.paddingTop()},s.paddingTop=function(t){return arguments.length?(a="function"==typeof t?t:N(+t),s):a},s.paddingRight=function(t){return arguments.length?(u="function"==typeof t?t:N(+t),s):u},s.paddingBottom=function(t){return arguments.length?(c="function"==typeof t?t:N(+t),s):c},s.paddingLeft=function(t){return arguments.length?(f="function"==typeof t?t:N(+t),s):f},s},it=function(t,n,e,r,i){var o,a,u=t.children,c=u.length,f=new Array(c+1);for(f[0]=a=o=0;o<c;++o)f[o+1]=a+=u[o].value;!function t(n,e,r,i,o,a,c){if(n>=e-1){var s=u[n];return s.x0=i,s.y0=o,s.x1=a,void(s.y1=c)}var l=f[n],h=r/2+l,d=n+1,p=e-1;for(;d<p;){var g=d+p>>>1;f[g]<h?d=g+1:p=g}h-f[d-1]<f[d]-h&&n+1<d&&--d;var v=f[d]-l,y=r-v;if(a-i>c-o){var m=(i*y+a*v)/r;t(n,d,v,i,o,m,c),t(d,e,y,m,o,a,c)}else{var b=(o*y+c*v)/r;t(n,d,v,i,o,a,b),t(d,e,y,i,b,a,c)}}(0,c,t.value,n,e,r,i)},ot=function(t,n,e,r,i){(1&t.depth?K:L)(t,n,e,r,i)},at=function t(n){function e(t,e,r,i,o){if((a=t._squarify)&&a.ratio===n)for(var a,u,c,f,s,l=-1,h=a.length,d=t.value;++l<h;){for(c=(u=a[l]).children,f=u.value=0,s=c.length;f<s;++f)u.value+=c[f].value;u.dice?L(u,e,r,i,r+=(o-r)*u.value/d):K(u,e,r,e+=(i-e)*u.value/d,o),d-=u.value}else t._squarify=a=nt(n,t,e,r,i,o),a.ratio=n}return e.ratio=function(n){return t((n=+n)>1?n:1)},e}(tt);e.d(n,"cluster",(function(){return a})),e.d(n,"hierarchy",(function(){return c})),e.d(n,"pack",(function(){return S})),e.d(n,"packSiblings",(function(){return O})),e.d(n,"packEnclose",(function(){return p})),e.d(n,"partition",(function(){return I})),e.d(n,"stratify",(function(){return $})),e.d(n,"tree",(function(){return Q})),e.d(n,"treemap",(function(){return rt})),e.d(n,"treemapBinary",(function(){return it})),e.d(n,"treemapDice",(function(){return L})),e.d(n,"treemapSlice",(function(){return K})),e.d(n,"treemapSliceDice",(function(){return ot})),e.d(n,"treemapSquarify",(function(){return et})),e.d(n,"treemapResquarify",(function(){return at}))},14:function(t,n,e){var r;!function(i){"use strict";var o,a=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,u=Math.ceil,c=Math.floor,f="[BigNumber Error] ",s=f+"Number primitive has more than 15 significant digits: ",l=1e14,h=14,d=9007199254740991,p=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],g=1e7,v=1e9;function y(t){var n=0|t;return t>0||t===n?n:n-1}function m(t){for(var n,e,r=1,i=t.length,o=t[0]+"";r<i;){for(n=t[r++]+"",e=h-n.length;e--;n="0"+n);o+=n}for(i=o.length;48===o.charCodeAt(--i););return o.slice(0,i+1||1)}function b(t,n){var e,r,i=t.c,o=n.c,a=t.s,u=n.s,c=t.e,f=n.e;if(!a||!u)return null;if(e=i&&!i[0],r=o&&!o[0],e||r)return e?r?0:-u:a;if(a!=u)return a;if(e=a<0,r=c==f,!i||!o)return r?0:!i^e?1:-1;if(!r)return c>f^e?1:-1;for(u=(c=i.length)<(f=o.length)?c:f,a=0;a<u;a++)if(i[a]!=o[a])return i[a]>o[a]^e?1:-1;return c==f?0:c>f^e?1:-1}function x(t,n,e,r){if(t<n||t>e||t!==c(t))throw Error(f+(r||"Argument")+("number"==typeof t?t<n||t>e?" out of range: ":" not an integer: ":" not a primitive number: ")+String(t))}function _(t){var n=t.c.length-1;return y(t.e/h)==n&&t.c[n]%2!=0}function w(t,n){return(t.length>1?t.charAt(0)+"."+t.slice(1):t)+(n<0?"e":"e+")+n}function A(t,n,e){var r,i;if(n<0){for(i=e+".";++n;i+=e);t=i+t}else if(++n>(r=t.length)){for(i=e,n-=r;--n;i+=e);t+=i}else n<r&&(t=t.slice(0,n)+"."+t.slice(n));return t}(o=function t(n){var e,r,i,o,E,M,k,O,B,F=Y.prototype={constructor:Y,toString:null,valueOf:null},T=new Y(1),N=20,C=4,S=-7,j=21,P=-1e7,R=1e7,D=!1,L=1,I=0,U={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:" ",suffix:""},z="0123456789abcdefghijklmnopqrstuvwxyz";function Y(t,n){var e,o,u,f,l,p,g,v,y=this;if(!(y instanceof Y))return new Y(t,n);if(null==n){if(t&&!0===t._isBigNumber)return y.s=t.s,void(!t.c||t.e>R?y.c=y.e=null:t.e<P?y.c=[y.e=0]:(y.e=t.e,y.c=t.c.slice()));if((p="number"==typeof t)&&0*t==0){if(y.s=1/t<0?(t=-t,-1):1,t===~~t){for(f=0,l=t;l>=10;l/=10,f++);return void(f>R?y.c=y.e=null:(y.e=f,y.c=[t]))}v=String(t)}else{if(!a.test(v=String(t)))return i(y,v,p);y.s=45==v.charCodeAt(0)?(v=v.slice(1),-1):1}(f=v.indexOf("."))>-1&&(v=v.replace(".","")),(l=v.search(/e/i))>0?(f<0&&(f=l),f+=+v.slice(l+1),v=v.substring(0,l)):f<0&&(f=v.length)}else{if(x(n,2,z.length,"Base"),10==n)return V(y=new Y(t),N+y.e+1,C);if(v=String(t),p="number"==typeof t){if(0*t!=0)return i(y,v,p,n);if(y.s=1/t<0?(v=v.slice(1),-1):1,Y.DEBUG&&v.replace(/^0\.0*|\./,"").length>15)throw Error(s+t)}else y.s=45===v.charCodeAt(0)?(v=v.slice(1),-1):1;for(e=z.slice(0,n),f=l=0,g=v.length;l<g;l++)if(e.indexOf(o=v.charAt(l))<0){if("."==o){if(l>f){f=g;continue}}else if(!u&&(v==v.toUpperCase()&&(v=v.toLowerCase())||v==v.toLowerCase()&&(v=v.toUpperCase()))){u=!0,l=-1,f=0;continue}return i(y,String(t),p,n)}p=!1,(f=(v=r(v,n,10,y.s)).indexOf("."))>-1?v=v.replace(".",""):f=v.length}for(l=0;48===v.charCodeAt(l);l++);for(g=v.length;48===v.charCodeAt(--g););if(v=v.slice(l,++g)){if(g-=l,p&&Y.DEBUG&&g>15&&(t>d||t!==c(t)))throw Error(s+y.s*t);if((f=f-l-1)>R)y.c=y.e=null;else if(f<P)y.c=[y.e=0];else{if(y.e=f,y.c=[],l=(f+1)%h,f<0&&(l+=h),l<g){for(l&&y.c.push(+v.slice(0,l)),g-=h;l<g;)y.c.push(+v.slice(l,l+=h));l=h-(v=v.slice(l)).length}else l-=g;for(;l--;v+="0");y.c.push(+v)}}else y.c=[y.e=0]}function q(t,n,e,r){var i,o,a,u,c;if(null==e?e=C:x(e,0,8),!t.c)return t.toString();if(i=t.c[0],a=t.e,null==n)c=m(t.c),c=1==r||2==r&&(a<=S||a>=j)?w(c,a):A(c,a,"0");else if(o=(t=V(new Y(t),n,e)).e,u=(c=m(t.c)).length,1==r||2==r&&(n<=o||o<=S)){for(;u<n;c+="0",u++);c=w(c,o)}else if(n-=a,c=A(c,o,"0"),o+1>u){if(--n>0)for(c+=".";n--;c+="0");}else if((n+=o-u)>0)for(o+1==u&&(c+=".");n--;c+="0");return t.s<0&&i?"-"+c:c}function H(t,n){for(var e,r=1,i=new Y(t[0]);r<t.length;r++){if(!(e=new Y(t[r])).s){i=e;break}n.call(i,e)&&(i=e)}return i}function $(t,n,e){for(var r=1,i=n.length;!n[--i];n.pop());for(i=n[0];i>=10;i/=10,r++);return(e=r+e*h-1)>R?t.c=t.e=null:e<P?t.c=[t.e=0]:(t.e=e,t.c=n),t}function V(t,n,e,r){var i,o,a,f,s,d,g,v=t.c,y=p;if(v){t:{for(i=1,f=v[0];f>=10;f/=10,i++);if((o=n-i)<0)o+=h,a=n,g=(s=v[d=0])/y[i-a-1]%10|0;else if((d=u((o+1)/h))>=v.length){if(!r)break t;for(;v.length<=d;v.push(0));s=g=0,i=1,a=(o%=h)-h+1}else{for(s=f=v[d],i=1;f>=10;f/=10,i++);g=(a=(o%=h)-h+i)<0?0:s/y[i-a-1]%10|0}if(r=r||n<0||null!=v[d+1]||(a<0?s:s%y[i-a-1]),r=e<4?(g||r)&&(0==e||e==(t.s<0?3:2)):g>5||5==g&&(4==e||r||6==e&&(o>0?a>0?s/y[i-a]:0:v[d-1])%10&1||e==(t.s<0?8:7)),n<1||!v[0])return v.length=0,r?(n-=t.e+1,v[0]=y[(h-n%h)%h],t.e=-n||0):v[0]=t.e=0,t;if(0==o?(v.length=d,f=1,d--):(v.length=d+1,f=y[h-o],v[d]=a>0?c(s/y[i-a]%y[a])*f:0),r)for(;;){if(0==d){for(o=1,a=v[0];a>=10;a/=10,o++);for(a=v[0]+=f,f=1;a>=10;a/=10,f++);o!=f&&(t.e++,v[0]==l&&(v[0]=1));break}if(v[d]+=f,v[d]!=l)break;v[d--]=0,f=1}for(o=v.length;0===v[--o];v.pop());}t.e>R?t.c=t.e=null:t.e<P&&(t.c=[t.e=0])}return t}function G(t){var n,e=t.e;return null===e?t.toString():(n=m(t.c),n=e<=S||e>=j?w(n,e):A(n,e,"0"),t.s<0?"-"+n:n)}return Y.clone=t,Y.ROUND_UP=0,Y.ROUND_DOWN=1,Y.ROUND_CEIL=2,Y.ROUND_FLOOR=3,Y.ROUND_HALF_UP=4,Y.ROUND_HALF_DOWN=5,Y.ROUND_HALF_EVEN=6,Y.ROUND_HALF_CEIL=7,Y.ROUND_HALF_FLOOR=8,Y.EUCLID=9,Y.config=Y.set=function(t){var n,e;if(null!=t){if("object"!=typeof t)throw Error(f+"Object expected: "+t);if(t.hasOwnProperty(n="DECIMAL_PLACES")&&(x(e=t[n],0,v,n),N=e),t.hasOwnProperty(n="ROUNDING_MODE")&&(x(e=t[n],0,8,n),C=e),t.hasOwnProperty(n="EXPONENTIAL_AT")&&((e=t[n])&&e.pop?(x(e[0],-v,0,n),x(e[1],0,v,n),S=e[0],j=e[1]):(x(e,-v,v,n),S=-(j=e<0?-e:e))),t.hasOwnProperty(n="RANGE"))if((e=t[n])&&e.pop)x(e[0],-v,-1,n),x(e[1],1,v,n),P=e[0],R=e[1];else{if(x(e,-v,v,n),!e)throw Error(f+n+" cannot be zero: "+e);P=-(R=e<0?-e:e)}if(t.hasOwnProperty(n="CRYPTO")){if((e=t[n])!==!!e)throw Error(f+n+" not true or false: "+e);if(e){if("undefined"==typeof crypto||!crypto||!crypto.getRandomValues&&!crypto.randomBytes)throw D=!e,Error(f+"crypto unavailable");D=e}else D=e}if(t.hasOwnProperty(n="MODULO_MODE")&&(x(e=t[n],0,9,n),L=e),t.hasOwnProperty(n="POW_PRECISION")&&(x(e=t[n],0,v,n),I=e),t.hasOwnProperty(n="FORMAT")){if("object"!=typeof(e=t[n]))throw Error(f+n+" not an object: "+e);U=e}if(t.hasOwnProperty(n="ALPHABET")){if("string"!=typeof(e=t[n])||/^.$|[+-.\s]|(.).*\1/.test(e))throw Error(f+n+" invalid: "+e);z=e}}return{DECIMAL_PLACES:N,ROUNDING_MODE:C,EXPONENTIAL_AT:[S,j],RANGE:[P,R],CRYPTO:D,MODULO_MODE:L,POW_PRECISION:I,FORMAT:U,ALPHABET:z}},Y.isBigNumber=function(t){if(!t||!0!==t._isBigNumber)return!1;if(!Y.DEBUG)return!0;var n,e,r=t.c,i=t.e,o=t.s;t:if("[object Array]"=={}.toString.call(r)){if((1===o||-1===o)&&i>=-v&&i<=v&&i===c(i)){if(0===r[0]){if(0===i&&1===r.length)return!0;break t}if((n=(i+1)%h)<1&&(n+=h),String(r[0]).length==n){for(n=0;n<r.length;n++)if((e=r[n])<0||e>=l||e!==c(e))break t;if(0!==e)return!0}}}else if(null===r&&null===i&&(null===o||1===o||-1===o))return!0;throw Error(f+"Invalid BigNumber: "+t)},Y.maximum=Y.max=function(){return H(arguments,F.lt)},Y.minimum=Y.min=function(){return H(arguments,F.gt)},Y.random=(o=9007199254740992*Math.random()&2097151?function(){return c(9007199254740992*Math.random())}:function(){return 8388608*(1073741824*Math.random()|0)+(8388608*Math.random()|0)},function(t){var n,e,r,i,a,s=0,l=[],d=new Y(T);if(null==t?t=N:x(t,0,v),i=u(t/h),D)if(crypto.getRandomValues){for(n=crypto.getRandomValues(new Uint32Array(i*=2));s<i;)(a=131072*n[s]+(n[s+1]>>>11))>=9e15?(e=crypto.getRandomValues(new Uint32Array(2)),n[s]=e[0],n[s+1]=e[1]):(l.push(a%1e14),s+=2);s=i/2}else{if(!crypto.randomBytes)throw D=!1,Error(f+"crypto unavailable");for(n=crypto.randomBytes(i*=7);s<i;)(a=281474976710656*(31&n[s])+1099511627776*n[s+1]+4294967296*n[s+2]+16777216*n[s+3]+(n[s+4]<<16)+(n[s+5]<<8)+n[s+6])>=9e15?crypto.randomBytes(7).copy(n,s):(l.push(a%1e14),s+=7);s=i/7}if(!D)for(;s<i;)(a=o())<9e15&&(l[s++]=a%1e14);for(i=l[--s],t%=h,i&&t&&(a=p[h-t],l[s]=c(i/a)*a);0===l[s];l.pop(),s--);if(s<0)l=[r=0];else{for(r=-1;0===l[0];l.splice(0,1),r-=h);for(s=1,a=l[0];a>=10;a/=10,s++);s<h&&(r-=h-s)}return d.e=r,d.c=l,d}),Y.sum=function(){for(var t=1,n=arguments,e=new Y(n[0]);t<n.length;)e=e.plus(n[t++]);return e},r=function(){function t(t,n,e,r){for(var i,o,a=[0],u=0,c=t.length;u<c;){for(o=a.length;o--;a[o]*=n);for(a[0]+=r.indexOf(t.charAt(u++)),i=0;i<a.length;i++)a[i]>e-1&&(null==a[i+1]&&(a[i+1]=0),a[i+1]+=a[i]/e|0,a[i]%=e)}return a.reverse()}return function(n,r,i,o,a){var u,c,f,s,l,h,d,p,g=n.indexOf("."),v=N,y=C;for(g>=0&&(s=I,I=0,n=n.replace(".",""),h=(p=new Y(r)).pow(n.length-g),I=s,p.c=t(A(m(h.c),h.e,"0"),10,i,"0123456789"),p.e=p.c.length),f=s=(d=t(n,r,i,a?(u=z,"0123456789"):(u="0123456789",z))).length;0==d[--s];d.pop());if(!d[0])return u.charAt(0);if(g<0?--f:(h.c=d,h.e=f,h.s=o,d=(h=e(h,p,v,y,i)).c,l=h.r,f=h.e),g=d[c=f+v+1],s=i/2,l=l||c<0||null!=d[c+1],l=y<4?(null!=g||l)&&(0==y||y==(h.s<0?3:2)):g>s||g==s&&(4==y||l||6==y&&1&d[c-1]||y==(h.s<0?8:7)),c<1||!d[0])n=l?A(u.charAt(1),-v,u.charAt(0)):u.charAt(0);else{if(d.length=c,l)for(--i;++d[--c]>i;)d[c]=0,c||(++f,d=[1].concat(d));for(s=d.length;!d[--s];);for(g=0,n="";g<=s;n+=u.charAt(d[g++]));n=A(n,f,u.charAt(0))}return n}}(),e=function(){function t(t,n,e){var r,i,o,a,u=0,c=t.length,f=n%g,s=n/g|0;for(t=t.slice();c--;)u=((i=f*(o=t[c]%g)+(r=s*o+(a=t[c]/g|0)*f)%g*g+u)/e|0)+(r/g|0)+s*a,t[c]=i%e;return u&&(t=[u].concat(t)),t}function n(t,n,e,r){var i,o;if(e!=r)o=e>r?1:-1;else for(i=o=0;i<e;i++)if(t[i]!=n[i]){o=t[i]>n[i]?1:-1;break}return o}function e(t,n,e,r){for(var i=0;e--;)t[e]-=i,i=t[e]<n[e]?1:0,t[e]=i*r+t[e]-n[e];for(;!t[0]&&t.length>1;t.splice(0,1));}return function(r,i,o,a,u){var f,s,d,p,g,v,m,b,x,_,w,A,E,M,k,O,B,F=r.s==i.s?1:-1,T=r.c,N=i.c;if(!(T&&T[0]&&N&&N[0]))return new Y(r.s&&i.s&&(T?!N||T[0]!=N[0]:N)?T&&0==T[0]||!N?0*F:F/0:NaN);for(x=(b=new Y(F)).c=[],F=o+(s=r.e-i.e)+1,u||(u=l,s=y(r.e/h)-y(i.e/h),F=F/h|0),d=0;N[d]==(T[d]||0);d++);if(N[d]>(T[d]||0)&&s--,F<0)x.push(1),p=!0;else{for(M=T.length,O=N.length,d=0,F+=2,(g=c(u/(N[0]+1)))>1&&(N=t(N,g,u),T=t(T,g,u),O=N.length,M=T.length),E=O,w=(_=T.slice(0,O)).length;w<O;_[w++]=0);B=N.slice(),B=[0].concat(B),k=N[0],N[1]>=u/2&&k++;do{if(g=0,(f=n(N,_,O,w))<0){if(A=_[0],O!=w&&(A=A*u+(_[1]||0)),(g=c(A/k))>1)for(g>=u&&(g=u-1),m=(v=t(N,g,u)).length,w=_.length;1==n(v,_,m,w);)g--,e(v,O<m?B:N,m,u),m=v.length,f=1;else 0==g&&(f=g=1),m=(v=N.slice()).length;if(m<w&&(v=[0].concat(v)),e(_,v,w,u),w=_.length,-1==f)for(;n(N,_,O,w)<1;)g++,e(_,O<w?B:N,w,u),w=_.length}else 0===f&&(g++,_=[0]);x[d++]=g,_[0]?_[w++]=T[E]||0:(_=[T[E]],w=1)}while((E++<M||null!=_[0])&&F--);p=null!=_[0],x[0]||x.splice(0,1)}if(u==l){for(d=1,F=x[0];F>=10;F/=10,d++);V(b,o+(b.e=d+s*h-1)+1,a,p)}else b.e=s,b.r=+p;return b}}(),E=/^(-?)0([xbo])(?=\w[\w.]*$)/i,M=/^([^.]+)\.$/,k=/^\.([^.]+)$/,O=/^-?(Infinity|NaN)$/,B=/^\s*\+(?=[\w.])|^\s+|\s+$/g,i=function(t,n,e,r){var i,o=e?n:n.replace(B,"");if(O.test(o))t.s=isNaN(o)?null:o<0?-1:1;else{if(!e&&(o=o.replace(E,(function(t,n,e){return i="x"==(e=e.toLowerCase())?16:"b"==e?2:8,r&&r!=i?t:n})),r&&(i=r,o=o.replace(M,"$1").replace(k,"0.$1")),n!=o))return new Y(o,i);if(Y.DEBUG)throw Error(f+"Not a"+(r?" base "+r:"")+" number: "+n);t.s=null}t.c=t.e=null},F.absoluteValue=F.abs=function(){var t=new Y(this);return t.s<0&&(t.s=1),t},F.comparedTo=function(t,n){return b(this,new Y(t,n))},F.decimalPlaces=F.dp=function(t,n){var e,r,i,o=this;if(null!=t)return x(t,0,v),null==n?n=C:x(n,0,8),V(new Y(o),t+o.e+1,n);if(!(e=o.c))return null;if(r=((i=e.length-1)-y(this.e/h))*h,i=e[i])for(;i%10==0;i/=10,r--);return r<0&&(r=0),r},F.dividedBy=F.div=function(t,n){return e(this,new Y(t,n),N,C)},F.dividedToIntegerBy=F.idiv=function(t,n){return e(this,new Y(t,n),0,1)},F.exponentiatedBy=F.pow=function(t,n){var e,r,i,o,a,s,l,d,p=this;if((t=new Y(t)).c&&!t.isInteger())throw Error(f+"Exponent not an integer: "+G(t));if(null!=n&&(n=new Y(n)),a=t.e>14,!p.c||!p.c[0]||1==p.c[0]&&!p.e&&1==p.c.length||!t.c||!t.c[0])return d=new Y(Math.pow(+G(p),a?2-_(t):+G(t))),n?d.mod(n):d;if(s=t.s<0,n){if(n.c?!n.c[0]:!n.s)return new Y(NaN);(r=!s&&p.isInteger()&&n.isInteger())&&(p=p.mod(n))}else{if(t.e>9&&(p.e>0||p.e<-1||(0==p.e?p.c[0]>1||a&&p.c[1]>=24e7:p.c[0]<8e13||a&&p.c[0]<=9999975e7)))return o=p.s<0&&_(t)?-0:0,p.e>-1&&(o=1/o),new Y(s?1/o:o);I&&(o=u(I/h+2))}for(a?(e=new Y(.5),s&&(t.s=1),l=_(t)):l=(i=Math.abs(+G(t)))%2,d=new Y(T);;){if(l){if(!(d=d.times(p)).c)break;o?d.c.length>o&&(d.c.length=o):r&&(d=d.mod(n))}if(i){if(0===(i=c(i/2)))break;l=i%2}else if(V(t=t.times(e),t.e+1,1),t.e>14)l=_(t);else{if(0===(i=+G(t)))break;l=i%2}p=p.times(p),o?p.c&&p.c.length>o&&(p.c.length=o):r&&(p=p.mod(n))}return r?d:(s&&(d=T.div(d)),n?d.mod(n):o?V(d,I,C,void 0):d)},F.integerValue=function(t){var n=new Y(this);return null==t?t=C:x(t,0,8),V(n,n.e+1,t)},F.isEqualTo=F.eq=function(t,n){return 0===b(this,new Y(t,n))},F.isFinite=function(){return!!this.c},F.isGreaterThan=F.gt=function(t,n){return b(this,new Y(t,n))>0},F.isGreaterThanOrEqualTo=F.gte=function(t,n){return 1===(n=b(this,new Y(t,n)))||0===n},F.isInteger=function(){return!!this.c&&y(this.e/h)>this.c.length-2},F.isLessThan=F.lt=function(t,n){return b(this,new Y(t,n))<0},F.isLessThanOrEqualTo=F.lte=function(t,n){return-1===(n=b(this,new Y(t,n)))||0===n},F.isNaN=function(){return!this.s},F.isNegative=function(){return this.s<0},F.isPositive=function(){return this.s>0},F.isZero=function(){return!!this.c&&0==this.c[0]},F.minus=function(t,n){var e,r,i,o,a=this,u=a.s;if(n=(t=new Y(t,n)).s,!u||!n)return new Y(NaN);if(u!=n)return t.s=-n,a.plus(t);var c=a.e/h,f=t.e/h,s=a.c,d=t.c;if(!c||!f){if(!s||!d)return s?(t.s=-n,t):new Y(d?a:NaN);if(!s[0]||!d[0])return d[0]?(t.s=-n,t):new Y(s[0]?a:3==C?-0:0)}if(c=y(c),f=y(f),s=s.slice(),u=c-f){for((o=u<0)?(u=-u,i=s):(f=c,i=d),i.reverse(),n=u;n--;i.push(0));i.reverse()}else for(r=(o=(u=s.length)<(n=d.length))?u:n,u=n=0;n<r;n++)if(s[n]!=d[n]){o=s[n]<d[n];break}if(o&&(i=s,s=d,d=i,t.s=-t.s),(n=(r=d.length)-(e=s.length))>0)for(;n--;s[e++]=0);for(n=l-1;r>u;){if(s[--r]<d[r]){for(e=r;e&&!s[--e];s[e]=n);--s[e],s[r]+=l}s[r]-=d[r]}for(;0==s[0];s.splice(0,1),--f);return s[0]?$(t,s,f):(t.s=3==C?-1:1,t.c=[t.e=0],t)},F.modulo=F.mod=function(t,n){var r,i,o=this;return t=new Y(t,n),!o.c||!t.s||t.c&&!t.c[0]?new Y(NaN):!t.c||o.c&&!o.c[0]?new Y(o):(9==L?(i=t.s,t.s=1,r=e(o,t,0,3),t.s=i,r.s*=i):r=e(o,t,0,L),(t=o.minus(r.times(t))).c[0]||1!=L||(t.s=o.s),t)},F.multipliedBy=F.times=function(t,n){var e,r,i,o,a,u,c,f,s,d,p,v,m,b,x,_=this,w=_.c,A=(t=new Y(t,n)).c;if(!(w&&A&&w[0]&&A[0]))return!_.s||!t.s||w&&!w[0]&&!A||A&&!A[0]&&!w?t.c=t.e=t.s=null:(t.s*=_.s,w&&A?(t.c=[0],t.e=0):t.c=t.e=null),t;for(r=y(_.e/h)+y(t.e/h),t.s*=_.s,(c=w.length)<(d=A.length)&&(m=w,w=A,A=m,i=c,c=d,d=i),i=c+d,m=[];i--;m.push(0));for(b=l,x=g,i=d;--i>=0;){for(e=0,p=A[i]%x,v=A[i]/x|0,o=i+(a=c);o>i;)e=((f=p*(f=w[--a]%x)+(u=v*f+(s=w[a]/x|0)*p)%x*x+m[o]+e)/b|0)+(u/x|0)+v*s,m[o--]=f%b;m[o]=e}return e?++r:m.splice(0,1),$(t,m,r)},F.negated=function(){var t=new Y(this);return t.s=-t.s||null,t},F.plus=function(t,n){var e,r=this,i=r.s;if(n=(t=new Y(t,n)).s,!i||!n)return new Y(NaN);if(i!=n)return t.s=-n,r.minus(t);var o=r.e/h,a=t.e/h,u=r.c,c=t.c;if(!o||!a){if(!u||!c)return new Y(i/0);if(!u[0]||!c[0])return c[0]?t:new Y(u[0]?r:0*i)}if(o=y(o),a=y(a),u=u.slice(),i=o-a){for(i>0?(a=o,e=c):(i=-i,e=u),e.reverse();i--;e.push(0));e.reverse()}for((i=u.length)-(n=c.length)<0&&(e=c,c=u,u=e,n=i),i=0;n;)i=(u[--n]=u[n]+c[n]+i)/l|0,u[n]=l===u[n]?0:u[n]%l;return i&&(u=[i].concat(u),++a),$(t,u,a)},F.precision=F.sd=function(t,n){var e,r,i,o=this;if(null!=t&&t!==!!t)return x(t,1,v),null==n?n=C:x(n,0,8),V(new Y(o),t,n);if(!(e=o.c))return null;if(r=(i=e.length-1)*h+1,i=e[i]){for(;i%10==0;i/=10,r--);for(i=e[0];i>=10;i/=10,r++);}return t&&o.e+1>r&&(r=o.e+1),r},F.shiftedBy=function(t){return x(t,-d,d),this.times("1e"+t)},F.squareRoot=F.sqrt=function(){var t,n,r,i,o,a=this,u=a.c,c=a.s,f=a.e,s=N+4,l=new Y("0.5");if(1!==c||!u||!u[0])return new Y(!c||c<0&&(!u||u[0])?NaN:u?a:1/0);if(0==(c=Math.sqrt(+G(a)))||c==1/0?(((n=m(u)).length+f)%2==0&&(n+="0"),c=Math.sqrt(+n),f=y((f+1)/2)-(f<0||f%2),r=new Y(n=c==1/0?"1e"+f:(n=c.toExponential()).slice(0,n.indexOf("e")+1)+f)):r=new Y(c+""),r.c[0])for((c=(f=r.e)+s)<3&&(c=0);;)if(o=r,r=l.times(o.plus(e(a,o,s,1))),m(o.c).slice(0,c)===(n=m(r.c)).slice(0,c)){if(r.e<f&&--c,"9999"!=(n=n.slice(c-3,c+1))&&(i||"4999"!=n)){+n&&(+n.slice(1)||"5"!=n.charAt(0))||(V(r,r.e+N+2,1),t=!r.times(r).eq(a));break}if(!i&&(V(o,o.e+N+2,0),o.times(o).eq(a))){r=o;break}s+=4,c+=4,i=1}return V(r,r.e+N+1,C,t)},F.toExponential=function(t,n){return null!=t&&(x(t,0,v),t++),q(this,t,n,1)},F.toFixed=function(t,n){return null!=t&&(x(t,0,v),t=t+this.e+1),q(this,t,n)},F.toFormat=function(t,n,e){var r,i=this;if(null==e)null!=t&&n&&"object"==typeof n?(e=n,n=null):t&&"object"==typeof t?(e=t,t=n=null):e=U;else if("object"!=typeof e)throw Error(f+"Argument not an object: "+e);if(r=i.toFixed(t,n),i.c){var o,a=r.split("."),u=+e.groupSize,c=+e.secondaryGroupSize,s=e.groupSeparator||"",l=a[0],h=a[1],d=i.s<0,p=d?l.slice(1):l,g=p.length;if(c&&(o=u,u=c,c=o,g-=o),u>0&&g>0){for(o=g%u||u,l=p.substr(0,o);o<g;o+=u)l+=s+p.substr(o,u);c>0&&(l+=s+p.slice(o)),d&&(l="-"+l)}r=h?l+(e.decimalSeparator||"")+((c=+e.fractionGroupSize)?h.replace(new RegExp("\\d{"+c+"}\\B","g"),"$&"+(e.fractionGroupSeparator||"")):h):l}return(e.prefix||"")+r+(e.suffix||"")},F.toFraction=function(t){var n,r,i,o,a,u,c,s,l,d,g,v,y=this,b=y.c;if(null!=t&&(!(c=new Y(t)).isInteger()&&(c.c||1!==c.s)||c.lt(T)))throw Error(f+"Argument "+(c.isInteger()?"out of range: ":"not an integer: ")+G(c));if(!b)return new Y(y);for(n=new Y(T),l=r=new Y(T),i=s=new Y(T),v=m(b),a=n.e=v.length-y.e-1,n.c[0]=p[(u=a%h)<0?h+u:u],t=!t||c.comparedTo(n)>0?a>0?n:l:c,u=R,R=1/0,c=new Y(v),s.c[0]=0;d=e(c,n,0,1),1!=(o=r.plus(d.times(i))).comparedTo(t);)r=i,i=o,l=s.plus(d.times(o=l)),s=o,n=c.minus(d.times(o=n)),c=o;return o=e(t.minus(r),i,0,1),s=s.plus(o.times(l)),r=r.plus(o.times(i)),s.s=l.s=y.s,g=e(l,i,a*=2,C).minus(y).abs().comparedTo(e(s,r,a,C).minus(y).abs())<1?[l,i]:[s,r],R=u,g},F.toNumber=function(){return+G(this)},F.toPrecision=function(t,n){return null!=t&&x(t,1,v),q(this,t,n,2)},F.toString=function(t){var n,e=this,i=e.s,o=e.e;return null===o?i?(n="Infinity",i<0&&(n="-"+n)):n="NaN":(null==t?n=o<=S||o>=j?w(m(e.c),o):A(m(e.c),o,"0"):10===t?n=A(m((e=V(new Y(e),N+o+1,C)).c),e.e,"0"):(x(t,2,z.length,"Base"),n=r(A(m(e.c),o,"0"),10,t,i,!0)),i<0&&e.c[0]&&(n="-"+n)),n},F.valueOf=F.toJSON=function(){return G(this)},F._isBigNumber=!0,null!=n&&Y.set(n),Y}()).default=o.BigNumber=o,void 0===(r=function(){return o}.call(n,e,n,t))||(t.exports=r)}()},1401:function(t,n,e){"use strict";e.r(n);var r=e(33);function i(t,n){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(n).domain(t)}return this}function o(t,n){switch(arguments.length){case 0:break;case 1:this.interpolator(t);break;default:this.interpolator(n).domain(t)}return this}var a=e(207),u=Array.prototype,c=u.map,f=u.slice,s={name:"implicit"};function l(){var t=Object(a.map)(),n=[],e=[],r=s;function o(i){var o=i+"",a=t.get(o);if(!a){if(r!==s)return r;t.set(o,a=n.push(i))}return e[(a-1)%e.length]}return o.domain=function(e){if(!arguments.length)return n.slice();n=[],t=Object(a.map)();for(var r,i,u=-1,c=e.length;++u<c;)t.has(i=(r=e[u])+"")||t.set(i,n.push(r));return o},o.range=function(t){return arguments.length?(e=f.call(t),o):e.slice()},o.unknown=function(t){return arguments.length?(r=t,o):r},o.copy=function(){return l(n,e).unknown(r)},i.apply(o,arguments),o}function h(){var t,n,e=l().unknown(void 0),o=e.domain,a=e.range,u=[0,1],c=!1,f=0,s=0,d=.5;function p(){var e=o().length,i=u[1]<u[0],l=u[i-0],h=u[1-i];t=(h-l)/Math.max(1,e-f+2*s),c&&(t=Math.floor(t)),l+=(h-l-t*(e-f))*d,n=t*(1-f),c&&(l=Math.round(l),n=Math.round(n));var p=Object(r.range)(e).map((function(n){return l+t*n}));return a(i?p.reverse():p)}return delete e.unknown,e.domain=function(t){return arguments.length?(o(t),p()):o()},e.range=function(t){return arguments.length?(u=[+t[0],+t[1]],p()):u.slice()},e.rangeRound=function(t){return u=[+t[0],+t[1]],c=!0,p()},e.bandwidth=function(){return n},e.step=function(){return t},e.round=function(t){return arguments.length?(c=!!t,p()):c},e.padding=function(t){return arguments.length?(f=Math.min(1,s=+t),p()):f},e.paddingInner=function(t){return arguments.length?(f=Math.min(1,t),p()):f},e.paddingOuter=function(t){return arguments.length?(s=+t,p()):s},e.align=function(t){return arguments.length?(d=Math.max(0,Math.min(1,t)),p()):d},e.copy=function(){return h(o(),u).round(c).paddingInner(f).paddingOuter(s).align(d)},i.apply(p(),arguments)}function d(){return function t(n){var e=n.copy;return n.padding=n.paddingOuter,delete n.paddingInner,delete n.paddingOuter,n.copy=function(){return t(e())},n}(h.apply(null,arguments).paddingInner(1))}var p=e(248),g=e(109),v=e(661),y=function(t){return function(){return t}},m=function(t){return+t},b=[0,1];function x(t){return t}function _(t,n){return(n-=t=+t)?function(e){return(e-t)/n}:y(isNaN(n)?NaN:.5)}function w(t){var n,e=t[0],r=t[t.length-1];return e>r&&(n=e,e=r,r=n),function(t){return Math.max(e,Math.min(r,t))}}function A(t,n,e){var r=t[0],i=t[1],o=n[0],a=n[1];return i<r?(r=_(i,r),o=e(a,o)):(r=_(r,i),o=e(o,a)),function(t){return o(r(t))}}function E(t,n,e){var i=Math.min(t.length,n.length)-1,o=new Array(i),a=new Array(i),u=-1;for(t[i]<t[0]&&(t=t.slice().reverse(),n=n.slice().reverse());++u<i;)o[u]=_(t[u],t[u+1]),a[u]=e(n[u],n[u+1]);return function(n){var e=Object(r.bisect)(t,n,1,i)-1;return a[e](o[e](n))}}function M(t,n){return n.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function k(){var t,n,e,r,i,o,a=b,u=b,s=p.a,l=x;function h(){return r=Math.min(a.length,u.length)>2?E:A,i=o=null,d}function d(n){return isNaN(n=+n)?e:(i||(i=r(a.map(t),u,s)))(t(l(n)))}return d.invert=function(e){return l(n((o||(o=r(u,a.map(t),g.a)))(e)))},d.domain=function(t){return arguments.length?(a=c.call(t,m),l===x||(l=w(a)),h()):a.slice()},d.range=function(t){return arguments.length?(u=f.call(t),h()):u.slice()},d.rangeRound=function(t){return u=f.call(t),s=v.a,h()},d.clamp=function(t){return arguments.length?(l=t?w(a):x,d):l!==x},d.interpolate=function(t){return arguments.length?(s=t,h()):s},d.unknown=function(t){return arguments.length?(e=t,d):e},function(e,r){return t=e,n=r,h()}}function O(t,n){return k()(t,n)}var B=e(251),F=e(659),T=e(373),N=e(660),C=e(658),S=function(t,n,e,i){var o,a=Object(r.tickStep)(t,n,e);switch((i=Object(B.b)(null==i?",f":i)).type){case"s":var u=Math.max(Math.abs(t),Math.abs(n));return null!=i.precision||isNaN(o=Object(F.a)(a,u))||(i.precision=o),Object(T.c)(i,u);case"":case"e":case"g":case"p":case"r":null!=i.precision||isNaN(o=Object(N.a)(a,Math.max(Math.abs(t),Math.abs(n))))||(i.precision=o-("e"===i.type));break;case"f":case"%":null!=i.precision||isNaN(o=Object(C.a)(a))||(i.precision=o-2*("%"===i.type))}return Object(T.b)(i)};function j(t){var n=t.domain;return t.ticks=function(t){var e=n();return Object(r.ticks)(e[0],e[e.length-1],null==t?10:t)},t.tickFormat=function(t,e){var r=n();return S(r[0],r[r.length-1],null==t?10:t,e)},t.nice=function(e){null==e&&(e=10);var i,o=n(),a=0,u=o.length-1,c=o[a],f=o[u];return f<c&&(i=c,c=f,f=i,i=a,a=u,u=i),(i=Object(r.tickIncrement)(c,f,e))>0?(c=Math.floor(c/i)*i,f=Math.ceil(f/i)*i,i=Object(r.tickIncrement)(c,f,e)):i<0&&(c=Math.ceil(c*i)/i,f=Math.floor(f*i)/i,i=Object(r.tickIncrement)(c,f,e)),i>0?(o[a]=Math.floor(c/i)*i,o[u]=Math.ceil(f/i)*i,n(o)):i<0&&(o[a]=Math.ceil(c*i)/i,o[u]=Math.floor(f*i)/i,n(o)),t},t}function P(){var t=O(x,x);return t.copy=function(){return M(t,P())},i.apply(t,arguments),j(t)}function R(t){var n;function e(t){return isNaN(t=+t)?n:t}return e.invert=e,e.domain=e.range=function(n){return arguments.length?(t=c.call(n,m),e):t.slice()},e.unknown=function(t){return arguments.length?(n=t,e):n},e.copy=function(){return R(t).unknown(n)},t=arguments.length?c.call(t,m):[0,1],j(e)}var D=function(t,n){var e,r=0,i=(t=t.slice()).length-1,o=t[r],a=t[i];return a<o&&(e=r,r=i,i=e,e=o,o=a,a=e),t[r]=n.floor(o),t[i]=n.ceil(a),t};function L(t){return Math.log(t)}function I(t){return Math.exp(t)}function U(t){return-Math.log(-t)}function z(t){return-Math.exp(-t)}function Y(t){return isFinite(t)?+("1e"+t):t<0?0:t}function q(t){return function(n){return-t(-n)}}function H(t){var n,e,i=t(L,I),o=i.domain,a=10;function u(){return n=function(t){return t===Math.E?Math.log:10===t&&Math.log10||2===t&&Math.log2||(t=Math.log(t),function(n){return Math.log(n)/t})}(a),e=function(t){return 10===t?Y:t===Math.E?Math.exp:function(n){return Math.pow(t,n)}}(a),o()[0]<0?(n=q(n),e=q(e),t(U,z)):t(L,I),i}return i.base=function(t){return arguments.length?(a=+t,u()):a},i.domain=function(t){return arguments.length?(o(t),u()):o()},i.ticks=function(t){var i,u=o(),c=u[0],f=u[u.length-1];(i=f<c)&&(d=c,c=f,f=d);var s,l,h,d=n(c),p=n(f),g=null==t?10:+t,v=[];if(!(a%1)&&p-d<g){if(d=Math.round(d)-1,p=Math.round(p)+1,c>0){for(;d<p;++d)for(l=1,s=e(d);l<a;++l)if(!((h=s*l)<c)){if(h>f)break;v.push(h)}}else for(;d<p;++d)for(l=a-1,s=e(d);l>=1;--l)if(!((h=s*l)<c)){if(h>f)break;v.push(h)}}else v=Object(r.ticks)(d,p,Math.min(p-d,g)).map(e);return i?v.reverse():v},i.tickFormat=function(t,r){if(null==r&&(r=10===a?".0e":","),"function"!=typeof r&&(r=Object(T.b)(r)),t===1/0)return r;null==t&&(t=10);var o=Math.max(1,a*t/i.ticks().length);return function(t){var i=t/e(Math.round(n(t)));return i*a<a-.5&&(i*=a),i<=o?r(t):""}},i.nice=function(){return o(D(o(),{floor:function(t){return e(Math.floor(n(t)))},ceil:function(t){return e(Math.ceil(n(t)))}}))},i}function $(){var t=H(k()).domain([1,10]);return t.copy=function(){return M(t,$()).base(t.base())},i.apply(t,arguments),t}function V(t){return function(n){return Math.sign(n)*Math.log1p(Math.abs(n/t))}}function G(t){return function(n){return Math.sign(n)*Math.expm1(Math.abs(n))*t}}function W(t){var n=1,e=t(V(n),G(n));return e.constant=function(e){return arguments.length?t(V(n=+e),G(n)):n},j(e)}function X(){var t=W(k());return t.copy=function(){return M(t,X()).constant(t.constant())},i.apply(t,arguments)}function J(t){return function(n){return n<0?-Math.pow(-n,t):Math.pow(n,t)}}function Z(t){return t<0?-Math.sqrt(-t):Math.sqrt(t)}function Q(t){return t<0?-t*t:t*t}function K(t){var n=t(x,x),e=1;function r(){return 1===e?t(x,x):.5===e?t(Z,Q):t(J(e),J(1/e))}return n.exponent=function(t){return arguments.length?(e=+t,r()):e},j(n)}function tt(){var t=K(k());return t.copy=function(){return M(t,tt()).exponent(t.exponent())},i.apply(t,arguments),t}function nt(){return tt.apply(null,arguments).exponent(.5)}function et(){var t,n=[],e=[],o=[];function a(){var t=0,i=Math.max(1,e.length);for(o=new Array(i-1);++t<i;)o[t-1]=Object(r.quantile)(n,t/i);return u}function u(n){return isNaN(n=+n)?t:e[Object(r.bisect)(o,n)]}return u.invertExtent=function(t){var r=e.indexOf(t);return r<0?[NaN,NaN]:[r>0?o[r-1]:n[0],r<o.length?o[r]:n[n.length-1]]},u.domain=function(t){if(!arguments.length)return n.slice();n=[];for(var e,i=0,o=t.length;i<o;++i)null==(e=t[i])||isNaN(e=+e)||n.push(e);return n.sort(r.ascending),a()},u.range=function(t){return arguments.length?(e=f.call(t),a()):e.slice()},u.unknown=function(n){return arguments.length?(t=n,u):t},u.quantiles=function(){return o.slice()},u.copy=function(){return et().domain(n).range(e).unknown(t)},i.apply(u,arguments)}function rt(){var t,n=0,e=1,o=1,a=[.5],u=[0,1];function c(n){return n<=n?u[Object(r.bisect)(a,n,0,o)]:t}function s(){var t=-1;for(a=new Array(o);++t<o;)a[t]=((t+1)*e-(t-o)*n)/(o+1);return c}return c.domain=function(t){return arguments.length?(n=+t[0],e=+t[1],s()):[n,e]},c.range=function(t){return arguments.length?(o=(u=f.call(t)).length-1,s()):u.slice()},c.invertExtent=function(t){var r=u.indexOf(t);return r<0?[NaN,NaN]:r<1?[n,a[0]]:r>=o?[a[o-1],e]:[a[r-1],a[r]]},c.unknown=function(n){return arguments.length?(t=n,c):c},c.thresholds=function(){return a.slice()},c.copy=function(){return rt().domain([n,e]).range(u).unknown(t)},i.apply(j(c),arguments)}function it(){var t,n=[.5],e=[0,1],o=1;function a(i){return i<=i?e[Object(r.bisect)(n,i,0,o)]:t}return a.domain=function(t){return arguments.length?(n=f.call(t),o=Math.min(n.length,e.length-1),a):n.slice()},a.range=function(t){return arguments.length?(e=f.call(t),o=Math.min(n.length,e.length-1),a):e.slice()},a.invertExtent=function(t){var r=e.indexOf(t);return[n[r-1],n[r]]},a.unknown=function(n){return arguments.length?(t=n,a):t},a.copy=function(){return it().domain(n).range(e).unknown(t)},i.apply(a,arguments)}var ot=e(208),at=e(433),ut=e(65),ct=e(361),ft=e(434),st=e(435),lt=e(269),ht=e(270),dt=e(139),pt=1e3,gt=60*pt,vt=60*gt,yt=24*vt,mt=7*yt,bt=30*yt,xt=365*yt;function _t(t){return new Date(t)}function wt(t){return t instanceof Date?+t:+new Date(+t)}function At(t,n,e,i,o,a,u,f,s){var l=O(x,x),h=l.invert,d=l.domain,p=s(".%L"),g=s(":%S"),v=s("%I:%M"),y=s("%I %p"),m=s("%a %d"),b=s("%b %d"),_=s("%B"),w=s("%Y"),A=[[u,1,pt],[u,5,5*pt],[u,15,15*pt],[u,30,30*pt],[a,1,gt],[a,5,5*gt],[a,15,15*gt],[a,30,30*gt],[o,1,vt],[o,3,3*vt],[o,6,6*vt],[o,12,12*vt],[i,1,yt],[i,2,2*yt],[e,1,mt],[n,1,bt],[n,3,3*bt],[t,1,xt]];function E(r){return(u(r)<r?p:a(r)<r?g:o(r)<r?v:i(r)<r?y:n(r)<r?e(r)<r?m:b:t(r)<r?_:w)(r)}function k(n,e,i,o){if(null==n&&(n=10),"number"==typeof n){var a=Math.abs(i-e)/n,u=Object(r.bisector)((function(t){return t[2]})).right(A,a);u===A.length?(o=Object(r.tickStep)(e/xt,i/xt,n),n=t):u?(o=(u=A[a/A[u-1][2]<A[u][2]/a?u-1:u])[1],n=u[0]):(o=Math.max(Object(r.tickStep)(e,i,n),1),n=f)}return null==o?n:n.every(o)}return l.invert=function(t){return new Date(h(t))},l.domain=function(t){return arguments.length?d(c.call(t,wt)):d().map(_t)},l.ticks=function(t,n){var e,r=d(),i=r[0],o=r[r.length-1],a=o<i;return a&&(e=i,i=o,o=e),e=(e=k(t,i,o,n))?e.range(i,o+1):[],a?e.reverse():e},l.tickFormat=function(t,n){return null==n?E:s(n)},l.nice=function(t,n){var e=d();return(t=k(t,e[0],e[e.length-1],n))?d(D(e,t)):l},l.copy=function(){return M(l,At(t,n,e,i,o,a,u,f,s))},l}var Et=function(){return i.apply(At(ot.a,at.a,ut.g,ct.b,ft.a,st.a,lt.a,ht.a,dt.b).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)},Mt=e(209),kt=e(436),Ot=e(66),Bt=e(362),Ft=e(437),Tt=e(438),Nt=function(){return i.apply(At(Mt.a,kt.a,Ot.g,Bt.a,Ft.a,Tt.a,lt.a,ht.a,dt.d).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)};function Ct(){var t,n,e,r,i,o=0,a=1,u=x,c=!1;function f(n){return isNaN(n=+n)?i:u(0===e?.5:(n=(r(n)-t)*e,c?Math.max(0,Math.min(1,n)):n))}return f.domain=function(i){return arguments.length?(t=r(o=+i[0]),n=r(a=+i[1]),e=t===n?0:1/(n-t),f):[o,a]},f.clamp=function(t){return arguments.length?(c=!!t,f):c},f.interpolator=function(t){return arguments.length?(u=t,f):u},f.unknown=function(t){return arguments.length?(i=t,f):i},function(i){return r=i,t=i(o),n=i(a),e=t===n?0:1/(n-t),f}}function St(t,n){return n.domain(t.domain()).interpolator(t.interpolator()).clamp(t.clamp()).unknown(t.unknown())}function jt(){var t=j(Ct()(x));return t.copy=function(){return St(t,jt())},o.apply(t,arguments)}function Pt(){var t=H(Ct()).domain([1,10]);return t.copy=function(){return St(t,Pt()).base(t.base())},o.apply(t,arguments)}function Rt(){var t=W(Ct());return t.copy=function(){return St(t,Rt()).constant(t.constant())},o.apply(t,arguments)}function Dt(){var t=K(Ct());return t.copy=function(){return St(t,Dt()).exponent(t.exponent())},o.apply(t,arguments)}function Lt(){return Dt.apply(null,arguments).exponent(.5)}function It(){var t=[],n=x;function e(e){if(!isNaN(e=+e))return n((Object(r.bisect)(t,e)-1)/(t.length-1))}return e.domain=function(n){if(!arguments.length)return t.slice();t=[];for(var i,o=0,a=n.length;o<a;++o)null==(i=n[o])||isNaN(i=+i)||t.push(i);return t.sort(r.ascending),e},e.interpolator=function(t){return arguments.length?(n=t,e):n},e.copy=function(){return It(n).domain(t)},o.apply(e,arguments)}function Ut(){var t,n,e,r,i,o,a,u=0,c=.5,f=1,s=x,l=!1;function h(t){return isNaN(t=+t)?a:(t=.5+((t=+o(t))-n)*(t<n?r:i),s(l?Math.max(0,Math.min(1,t)):t))}return h.domain=function(a){return arguments.length?(t=o(u=+a[0]),n=o(c=+a[1]),e=o(f=+a[2]),r=t===n?0:.5/(n-t),i=n===e?0:.5/(e-n),h):[u,c,f]},h.clamp=function(t){return arguments.length?(l=!!t,h):l},h.interpolator=function(t){return arguments.length?(s=t,h):s},h.unknown=function(t){return arguments.length?(a=t,h):a},function(a){return o=a,t=a(u),n=a(c),e=a(f),r=t===n?0:.5/(n-t),i=n===e?0:.5/(e-n),h}}function zt(){var t=j(Ut()(x));return t.copy=function(){return St(t,zt())},o.apply(t,arguments)}function Yt(){var t=H(Ut()).domain([.1,1,10]);return t.copy=function(){return St(t,Yt()).base(t.base())},o.apply(t,arguments)}function qt(){var t=W(Ut());return t.copy=function(){return St(t,qt()).constant(t.constant())},o.apply(t,arguments)}function Ht(){var t=K(Ut());return t.copy=function(){return St(t,Ht()).exponent(t.exponent())},o.apply(t,arguments)}function $t(){return Ht.apply(null,arguments).exponent(.5)}e.d(n,"scaleBand",(function(){return h})),e.d(n,"scalePoint",(function(){return d})),e.d(n,"scaleIdentity",(function(){return R})),e.d(n,"scaleLinear",(function(){return P})),e.d(n,"scaleLog",(function(){return $})),e.d(n,"scaleSymlog",(function(){return X})),e.d(n,"scaleOrdinal",(function(){return l})),e.d(n,"scaleImplicit",(function(){return s})),e.d(n,"scalePow",(function(){return tt})),e.d(n,"scaleSqrt",(function(){return nt})),e.d(n,"scaleQuantile",(function(){return et})),e.d(n,"scaleQuantize",(function(){return rt})),e.d(n,"scaleThreshold",(function(){return it})),e.d(n,"scaleTime",(function(){return Et})),e.d(n,"scaleUtc",(function(){return Nt})),e.d(n,"scaleSequential",(function(){return jt})),e.d(n,"scaleSequentialLog",(function(){return Pt})),e.d(n,"scaleSequentialPow",(function(){return Dt})),e.d(n,"scaleSequentialSqrt",(function(){return Lt})),e.d(n,"scaleSequentialSymlog",(function(){return Rt})),e.d(n,"scaleSequentialQuantile",(function(){return It})),e.d(n,"scaleDiverging",(function(){return zt})),e.d(n,"scaleDivergingLog",(function(){return Yt})),e.d(n,"scaleDivergingPow",(function(){return Ht})),e.d(n,"scaleDivergingSqrt",(function(){return $t})),e.d(n,"scaleDivergingSymlog",(function(){return qt})),e.d(n,"tickFormat",(function(){return S}))},1407:function(t,n,e){"use strict";e.r(n);var r=function(t,n){var e;function r(){var r,i,o=e.length,a=0,u=0;for(r=0;r<o;++r)a+=(i=e[r]).x,u+=i.y;for(a=a/o-t,u=u/o-n,r=0;r<o;++r)(i=e[r]).x-=a,i.y-=u}return null==t&&(t=0),null==n&&(n=0),r.initialize=function(t){e=t},r.x=function(n){return arguments.length?(t=+n,r):t},r.y=function(t){return arguments.length?(n=+t,r):n},r},i=function(t){return function(){return t}},o=function(){return 1e-6*(Math.random()-.5)},a=e(746);function u(t){return t.x+t.vx}function c(t){return t.y+t.vy}var f=function(t){var n,e,r=1,f=1;function s(){for(var t,i,s,h,d,p,g,v=n.length,y=0;y<f;++y)for(i=Object(a.a)(n,u,c).visitAfter(l),t=0;t<v;++t)s=n[t],p=e[s.index],g=p*p,h=s.x+s.vx,d=s.y+s.vy,i.visit(m);function m(t,n,e,i,a){var u=t.data,c=t.r,f=p+c;if(!u)return n>h+f||i<h-f||e>d+f||a<d-f;if(u.index>s.index){var l=h-u.x-u.vx,v=d-u.y-u.vy,y=l*l+v*v;y<f*f&&(0===l&&(y+=(l=o())*l),0===v&&(y+=(v=o())*v),y=(f-(y=Math.sqrt(y)))/y*r,s.vx+=(l*=y)*(f=(c*=c)/(g+c)),s.vy+=(v*=y)*f,u.vx-=l*(f=1-f),u.vy-=v*f)}}}function l(t){if(t.data)return t.r=e[t.data.index];for(var n=t.r=0;n<4;++n)t[n]&&t[n].r>t.r&&(t.r=t[n].r)}function h(){if(n){var r,i,o=n.length;for(e=new Array(o),r=0;r<o;++r)i=n[r],e[i.index]=+t(i,r,n)}}return"function"!=typeof t&&(t=i(null==t?1:+t)),s.initialize=function(t){n=t,h()},s.iterations=function(t){return arguments.length?(f=+t,s):f},s.strength=function(t){return arguments.length?(r=+t,s):r},s.radius=function(n){return arguments.length?(t="function"==typeof n?n:i(+n),h(),s):t},s},s=e(207);function l(t){return t.index}function h(t,n){var e=t.get(n);if(!e)throw new Error("missing: "+n);return e}var d=function(t){var n,e,r,a,u,c=l,f=function(t){return 1/Math.min(a[t.source.index],a[t.target.index])},d=i(30),p=1;function g(r){for(var i=0,a=t.length;i<p;++i)for(var c,f,s,l,h,d,g,v=0;v<a;++v)f=(c=t[v]).source,l=(s=c.target).x+s.vx-f.x-f.vx||o(),h=s.y+s.vy-f.y-f.vy||o(),l*=d=((d=Math.sqrt(l*l+h*h))-e[v])/d*r*n[v],h*=d,s.vx-=l*(g=u[v]),s.vy-=h*g,f.vx+=l*(g=1-g),f.vy+=h*g}function v(){if(r){var i,o,f=r.length,l=t.length,d=Object(s.map)(r,c);for(i=0,a=new Array(f);i<l;++i)(o=t[i]).index=i,"object"!=typeof o.source&&(o.source=h(d,o.source)),"object"!=typeof o.target&&(o.target=h(d,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,u=new Array(l);i<l;++i)o=t[i],u[i]=a[o.source.index]/(a[o.source.index]+a[o.target.index]);n=new Array(l),y(),e=new Array(l),m()}}function y(){if(r)for(var e=0,i=t.length;e<i;++e)n[e]=+f(t[e],e,t)}function m(){if(r)for(var n=0,i=t.length;n<i;++n)e[n]=+d(t[n],n,t)}return null==t&&(t=[]),g.initialize=function(t){r=t,v()},g.links=function(n){return arguments.length?(t=n,v(),g):t},g.id=function(t){return arguments.length?(c=t,g):c},g.iterations=function(t){return arguments.length?(p=+t,g):p},g.strength=function(t){return arguments.length?(f="function"==typeof t?t:i(+t),y(),g):f},g.distance=function(t){return arguments.length?(d="function"==typeof t?t:i(+t),m(),g):d},g},p=e(653),g=e(158);function v(t){return t.x}function y(t){return t.y}var m=10,b=Math.PI*(3-Math.sqrt(5)),x=function(t){var n,e=1,r=.001,i=1-Math.pow(r,1/300),o=0,a=.6,u=Object(s.map)(),c=Object(g.c)(l),f=Object(p.a)("tick","end");function l(){h(),f.call("tick",n),e<r&&(c.stop(),f.call("end",n))}function h(r){var c,f,s=t.length;void 0===r&&(r=1);for(var l=0;l<r;++l)for(e+=(o-e)*i,u.each((function(t){t(e)})),c=0;c<s;++c)null==(f=t[c]).fx?f.x+=f.vx*=a:(f.x=f.fx,f.vx=0),null==f.fy?f.y+=f.vy*=a:(f.y=f.fy,f.vy=0);return n}function d(){for(var n,e=0,r=t.length;e<r;++e){if((n=t[e]).index=e,null!=n.fx&&(n.x=n.fx),null!=n.fy&&(n.y=n.fy),isNaN(n.x)||isNaN(n.y)){var i=m*Math.sqrt(e),o=e*b;n.x=i*Math.cos(o),n.y=i*Math.sin(o)}(isNaN(n.vx)||isNaN(n.vy))&&(n.vx=n.vy=0)}}function v(n){return n.initialize&&n.initialize(t),n}return null==t&&(t=[]),d(),n={tick:h,restart:function(){return c.restart(l),n},stop:function(){return c.stop(),n},nodes:function(e){return arguments.length?(t=e,d(),u.each(v),n):t},alpha:function(t){return arguments.length?(e=+t,n):e},alphaMin:function(t){return arguments.length?(r=+t,n):r},alphaDecay:function(t){return arguments.length?(i=+t,n):+i},alphaTarget:function(t){return arguments.length?(o=+t,n):o},velocityDecay:function(t){return arguments.length?(a=1-t,n):1-a},force:function(t,e){return arguments.length>1?(null==e?u.remove(t):u.set(t,v(e)),n):u.get(t)},find:function(n,e,r){var i,o,a,u,c,f=0,s=t.length;for(null==r?r=1/0:r*=r,f=0;f<s;++f)(a=(i=n-(u=t[f]).x)*i+(o=e-u.y)*o)<r&&(c=u,r=a);return c},on:function(t,e){return arguments.length>1?(f.on(t,e),n):f.on(t)}}},_=function(){var t,n,e,r,u=i(-30),c=1,f=1/0,s=.81;function l(r){var i,o=t.length,u=Object(a.a)(t,v,y).visitAfter(d);for(e=r,i=0;i<o;++i)n=t[i],u.visit(p)}function h(){if(t){var n,e,i=t.length;for(r=new Array(i),n=0;n<i;++n)e=t[n],r[e.index]=+u(e,n,t)}}function d(t){var n,e,i,o,a,u=0,c=0;if(t.length){for(i=o=a=0;a<4;++a)(n=t[a])&&(e=Math.abs(n.value))&&(u+=n.value,c+=e,i+=e*n.x,o+=e*n.y);t.x=i/c,t.y=o/c}else{(n=t).x=n.data.x,n.y=n.data.y;do{u+=r[n.data.index]}while(n=n.next)}t.value=u}function p(t,i,a,u){if(!t.value)return!0;var l=t.x-n.x,h=t.y-n.y,d=u-i,p=l*l+h*h;if(d*d/s<p)return p<f&&(0===l&&(p+=(l=o())*l),0===h&&(p+=(h=o())*h),p<c&&(p=Math.sqrt(c*p)),n.vx+=l*t.value*e/p,n.vy+=h*t.value*e/p),!0;if(!(t.length||p>=f)){(t.data!==n||t.next)&&(0===l&&(p+=(l=o())*l),0===h&&(p+=(h=o())*h),p<c&&(p=Math.sqrt(c*p)));do{t.data!==n&&(d=r[t.data.index]*e/p,n.vx+=l*d,n.vy+=h*d)}while(t=t.next)}}return l.initialize=function(n){t=n,h()},l.strength=function(t){return arguments.length?(u="function"==typeof t?t:i(+t),h(),l):u},l.distanceMin=function(t){return arguments.length?(c=t*t,l):Math.sqrt(c)},l.distanceMax=function(t){return arguments.length?(f=t*t,l):Math.sqrt(f)},l.theta=function(t){return arguments.length?(s=t*t,l):Math.sqrt(s)},l},w=function(t,n,e){var r,o,a,u=i(.1);function c(t){for(var i=0,u=r.length;i<u;++i){var c=r[i],f=c.x-n||1e-6,s=c.y-e||1e-6,l=Math.sqrt(f*f+s*s),h=(a[i]-l)*o[i]*t/l;c.vx+=f*h,c.vy+=s*h}}function f(){if(r){var n,e=r.length;for(o=new Array(e),a=new Array(e),n=0;n<e;++n)a[n]=+t(r[n],n,r),o[n]=isNaN(a[n])?0:+u(r[n],n,r)}}return"function"!=typeof t&&(t=i(+t)),null==n&&(n=0),null==e&&(e=0),c.initialize=function(t){r=t,f()},c.strength=function(t){return arguments.length?(u="function"==typeof t?t:i(+t),f(),c):u},c.radius=function(n){return arguments.length?(t="function"==typeof n?n:i(+n),f(),c):t},c.x=function(t){return arguments.length?(n=+t,c):n},c.y=function(t){return arguments.length?(e=+t,c):e},c},A=function(t){var n,e,r,o=i(.1);function a(t){for(var i,o=0,a=n.length;o<a;++o)(i=n[o]).vx+=(r[o]-i.x)*e[o]*t}function u(){if(n){var i,a=n.length;for(e=new Array(a),r=new Array(a),i=0;i<a;++i)e[i]=isNaN(r[i]=+t(n[i],i,n))?0:+o(n[i],i,n)}}return"function"!=typeof t&&(t=i(null==t?0:+t)),a.initialize=function(t){n=t,u()},a.strength=function(t){return arguments.length?(o="function"==typeof t?t:i(+t),u(),a):o},a.x=function(n){return arguments.length?(t="function"==typeof n?n:i(+n),u(),a):t},a},E=function(t){var n,e,r,o=i(.1);function a(t){for(var i,o=0,a=n.length;o<a;++o)(i=n[o]).vy+=(r[o]-i.y)*e[o]*t}function u(){if(n){var i,a=n.length;for(e=new Array(a),r=new Array(a),i=0;i<a;++i)e[i]=isNaN(r[i]=+t(n[i],i,n))?0:+o(n[i],i,n)}}return"function"!=typeof t&&(t=i(null==t?0:+t)),a.initialize=function(t){n=t,u()},a.strength=function(t){return arguments.length?(o="function"==typeof t?t:i(+t),u(),a):o},a.y=function(n){return arguments.length?(t="function"==typeof n?n:i(+n),u(),a):t},a};e.d(n,"forceCenter",(function(){return r})),e.d(n,"forceCollide",(function(){return f})),e.d(n,"forceLink",(function(){return d})),e.d(n,"forceManyBody",(function(){return _})),e.d(n,"forceRadial",(function(){return w})),e.d(n,"forceSimulation",(function(){return x})),e.d(n,"forceX",(function(){return A})),e.d(n,"forceY",(function(){return E}))},1408:function(t,n,e){"use strict";e.r(n);var r=function(t){return function(){return t}};function i(t){return t[0]}function o(t){return t[1]}function a(){this._=null}function u(t){t.U=t.C=t.L=t.R=t.P=t.N=null}function c(t,n){var e=n,r=n.R,i=e.U;i?i.L===e?i.L=r:i.R=r:t._=r,r.U=i,e.U=r,e.R=r.L,e.R&&(e.R.U=e),r.L=e}function f(t,n){var e=n,r=n.L,i=e.U;i?i.L===e?i.L=r:i.R=r:t._=r,r.U=i,e.U=r,e.L=r.R,e.L&&(e.L.U=e),r.R=e}function s(t){for(;t.L;)t=t.L;return t}a.prototype={constructor:a,insert:function(t,n){var e,r,i;if(t){if(n.P=t,n.N=t.N,t.N&&(t.N.P=n),t.N=n,t.R){for(t=t.R;t.L;)t=t.L;t.L=n}else t.R=n;e=t}else this._?(t=s(this._),n.P=null,n.N=t,t.P=t.L=n,e=t):(n.P=n.N=null,this._=n,e=null);for(n.L=n.R=null,n.U=e,n.C=!0,t=n;e&&e.C;)e===(r=e.U).L?(i=r.R)&&i.C?(e.C=i.C=!1,r.C=!0,t=r):(t===e.R&&(c(this,e),e=(t=e).U),e.C=!1,r.C=!0,f(this,r)):(i=r.L)&&i.C?(e.C=i.C=!1,r.C=!0,t=r):(t===e.L&&(f(this,e),e=(t=e).U),e.C=!1,r.C=!0,c(this,r)),e=t.U;this._.C=!1},remove:function(t){t.N&&(t.N.P=t.P),t.P&&(t.P.N=t.N),t.N=t.P=null;var n,e,r,i=t.U,o=t.L,a=t.R;if(e=o?a?s(a):o:a,i?i.L===t?i.L=e:i.R=e:this._=e,o&&a?(r=e.C,e.C=t.C,e.L=o,o.U=e,e!==a?(i=e.U,e.U=t.U,t=e.R,i.L=t,e.R=a,a.U=e):(e.U=i,i=e,t=e.R)):(r=t.C,t=e),t&&(t.U=i),!r)if(t&&t.C)t.C=!1;else{do{if(t===this._)break;if(t===i.L){if((n=i.R).C&&(n.C=!1,i.C=!0,c(this,i),n=i.R),n.L&&n.L.C||n.R&&n.R.C){n.R&&n.R.C||(n.L.C=!1,n.C=!0,f(this,n),n=i.R),n.C=i.C,i.C=n.R.C=!1,c(this,i),t=this._;break}}else if((n=i.L).C&&(n.C=!1,i.C=!0,f(this,i),n=i.L),n.L&&n.L.C||n.R&&n.R.C){n.L&&n.L.C||(n.R.C=!1,n.C=!0,c(this,n),n=i.L),n.C=i.C,i.C=n.L.C=!1,f(this,i),t=this._;break}n.C=!0,t=i,i=i.U}while(!t.C);t&&(t.C=!1)}}};var l=a;function h(t,n,e,r){var i=[null,null],o=R.push(i)-1;return i.left=t,i.right=n,e&&p(i,t,n,e),r&&p(i,n,t,r),j[t.index].halfedges.push(o),j[n.index].halfedges.push(o),i}function d(t,n,e){var r=[n,e];return r.left=t,r}function p(t,n,e,r){t[0]||t[1]?t.left===e?t[1]=r:t[0]=r:(t[0]=r,t.left=n,t.right=e)}function g(t,n,e,r,i){var o,a=t[0],u=t[1],c=a[0],f=a[1],s=0,l=1,h=u[0]-c,d=u[1]-f;if(o=n-c,h||!(o>0)){if(o/=h,h<0){if(o<s)return;o<l&&(l=o)}else if(h>0){if(o>l)return;o>s&&(s=o)}if(o=r-c,h||!(o<0)){if(o/=h,h<0){if(o>l)return;o>s&&(s=o)}else if(h>0){if(o<s)return;o<l&&(l=o)}if(o=e-f,d||!(o>0)){if(o/=d,d<0){if(o<s)return;o<l&&(l=o)}else if(d>0){if(o>l)return;o>s&&(s=o)}if(o=i-f,d||!(o<0)){if(o/=d,d<0){if(o>l)return;o>s&&(s=o)}else if(d>0){if(o<s)return;o<l&&(l=o)}return!(s>0||l<1)||(s>0&&(t[0]=[c+s*h,f+s*d]),l<1&&(t[1]=[c+l*h,f+l*d]),!0)}}}}}function v(t,n,e,r,i){var o=t[1];if(o)return!0;var a,u,c=t[0],f=t.left,s=t.right,l=f[0],h=f[1],d=s[0],p=s[1],g=(l+d)/2,v=(h+p)/2;if(p===h){if(g<n||g>=r)return;if(l>d){if(c){if(c[1]>=i)return}else c=[g,e];o=[g,i]}else{if(c){if(c[1]<e)return}else c=[g,i];o=[g,e]}}else if(u=v-(a=(l-d)/(p-h))*g,a<-1||a>1)if(l>d){if(c){if(c[1]>=i)return}else c=[(e-u)/a,e];o=[(i-u)/a,i]}else{if(c){if(c[1]<e)return}else c=[(i-u)/a,i];o=[(e-u)/a,e]}else if(h<p){if(c){if(c[0]>=r)return}else c=[n,a*n+u];o=[r,a*r+u]}else{if(c){if(c[0]<n)return}else c=[r,a*r+u];o=[n,a*n+u]}return t[0]=c,t[1]=o,!0}function y(t,n){var e=t.site,r=n.left,i=n.right;return e===i&&(i=r,r=e),i?Math.atan2(i[1]-r[1],i[0]-r[0]):(e===r?(r=n[1],i=n[0]):(r=n[0],i=n[1]),Math.atan2(r[0]-i[0],i[1]-r[1]))}function m(t,n){return n[+(n.left!==t.site)]}function b(t,n){return n[+(n.left===t.site)]}var x,_=[];function w(){u(this),this.x=this.y=this.arc=this.site=this.cy=null}function A(t){var n=t.P,e=t.N;if(n&&e){var r=n.site,i=t.site,o=e.site;if(r!==o){var a=i[0],u=i[1],c=r[0]-a,f=r[1]-u,s=o[0]-a,l=o[1]-u,h=2*(c*l-f*s);if(!(h>=-L)){var d=c*c+f*f,p=s*s+l*l,g=(l*d-f*p)/h,v=(c*p-s*d)/h,y=_.pop()||new w;y.arc=t,y.site=i,y.x=g+a,y.y=(y.cy=v+u)+Math.sqrt(g*g+v*v),t.circle=y;for(var m=null,b=P._;b;)if(y.y<b.y||y.y===b.y&&y.x<=b.x){if(!b.L){m=b.P;break}b=b.L}else{if(!b.R){m=b;break}b=b.R}P.insert(m,y),m||(x=y)}}}}function E(t){var n=t.circle;n&&(n.P||(x=n.N),P.remove(n),_.push(n),u(n),t.circle=null)}var M=[];function k(){u(this),this.edge=this.site=this.circle=null}function O(t){var n=M.pop()||new k;return n.site=t,n}function B(t){E(t),S.remove(t),M.push(t),u(t)}function F(t){var n=t.circle,e=n.x,r=n.cy,i=[e,r],o=t.P,a=t.N,u=[t];B(t);for(var c=o;c.circle&&Math.abs(e-c.circle.x)<D&&Math.abs(r-c.circle.cy)<D;)o=c.P,u.unshift(c),B(c),c=o;u.unshift(c),E(c);for(var f=a;f.circle&&Math.abs(e-f.circle.x)<D&&Math.abs(r-f.circle.cy)<D;)a=f.N,u.push(f),B(f),f=a;u.push(f),E(f);var s,l=u.length;for(s=1;s<l;++s)f=u[s],c=u[s-1],p(f.edge,c.site,f.site,i);c=u[0],(f=u[l-1]).edge=h(c.site,f.site,null,i),A(c),A(f)}function T(t){for(var n,e,r,i,o=t[0],a=t[1],u=S._;u;)if((r=N(u,a)-o)>D)u=u.L;else{if(!((i=o-C(u,a))>D)){r>-D?(n=u.P,e=u):i>-D?(n=u,e=u.N):n=e=u;break}if(!u.R){n=u;break}u=u.R}!function(t){j[t.index]={site:t,halfedges:[]}}(t);var c=O(t);if(S.insert(n,c),n||e){if(n===e)return E(n),e=O(n.site),S.insert(c,e),c.edge=e.edge=h(n.site,c.site),A(n),void A(e);if(e){E(n),E(e);var f=n.site,s=f[0],l=f[1],d=t[0]-s,g=t[1]-l,v=e.site,y=v[0]-s,m=v[1]-l,b=2*(d*m-g*y),x=d*d+g*g,_=y*y+m*m,w=[(m*x-g*_)/b+s,(d*_-y*x)/b+l];p(e.edge,f,v,w),c.edge=h(f,t,null,w),e.edge=h(t,v,null,w),A(n),A(e)}else c.edge=h(n.site,c.site)}}function N(t,n){var e=t.site,r=e[0],i=e[1],o=i-n;if(!o)return r;var a=t.P;if(!a)return-1/0;var u=(e=a.site)[0],c=e[1],f=c-n;if(!f)return u;var s=u-r,l=1/o-1/f,h=s/f;return l?(-h+Math.sqrt(h*h-2*l*(s*s/(-2*f)-c+f/2+i-o/2)))/l+r:(r+u)/2}function C(t,n){var e=t.N;if(e)return N(e,n);var r=t.site;return r[1]===n?r[0]:1/0}var S,j,P,R,D=1e-6,L=1e-12;function I(t,n){return n[1]-t[1]||n[0]-t[0]}function U(t,n){var e,r,i,o=t.sort(I).pop();for(R=[],j=new Array(t.length),S=new l,P=new l;;)if(i=x,o&&(!i||o[1]<i.y||o[1]===i.y&&o[0]<i.x))o[0]===e&&o[1]===r||(T(o),e=o[0],r=o[1]),o=t.pop();else{if(!i)break;F(i.arc)}if(function(){for(var t,n,e,r,i=0,o=j.length;i<o;++i)if((t=j[i])&&(r=(n=t.halfedges).length)){var a=new Array(r),u=new Array(r);for(e=0;e<r;++e)a[e]=e,u[e]=y(t,R[n[e]]);for(a.sort((function(t,n){return u[n]-u[t]})),e=0;e<r;++e)u[e]=n[a[e]];for(e=0;e<r;++e)n[e]=u[e]}}(),n){var a=+n[0][0],u=+n[0][1],c=+n[1][0],f=+n[1][1];!function(t,n,e,r){for(var i,o=R.length;o--;)v(i=R[o],t,n,e,r)&&g(i,t,n,e,r)&&(Math.abs(i[0][0]-i[1][0])>D||Math.abs(i[0][1]-i[1][1])>D)||delete R[o]}(a,u,c,f),function(t,n,e,r){var i,o,a,u,c,f,s,l,h,p,g,v,y=j.length,x=!0;for(i=0;i<y;++i)if(o=j[i]){for(a=o.site,u=(c=o.halfedges).length;u--;)R[c[u]]||c.splice(u,1);for(u=0,f=c.length;u<f;)g=(p=b(o,R[c[u]]))[0],v=p[1],l=(s=m(o,R[c[++u%f]]))[0],h=s[1],(Math.abs(g-l)>D||Math.abs(v-h)>D)&&(c.splice(u,0,R.push(d(a,p,Math.abs(g-t)<D&&r-v>D?[t,Math.abs(l-t)<D?h:r]:Math.abs(v-r)<D&&e-g>D?[Math.abs(h-r)<D?l:e,r]:Math.abs(g-e)<D&&v-n>D?[e,Math.abs(l-e)<D?h:n]:Math.abs(v-n)<D&&g-t>D?[Math.abs(h-n)<D?l:t,n]:null))-1),++f);f&&(x=!1)}if(x){var _,w,A,E=1/0;for(i=0,x=null;i<y;++i)(o=j[i])&&(A=(_=(a=o.site)[0]-t)*_+(w=a[1]-n)*w)<E&&(E=A,x=o);if(x){var M=[t,n],k=[t,r],O=[e,r],B=[e,n];x.halfedges.push(R.push(d(a=x.site,M,k))-1,R.push(d(a,k,O))-1,R.push(d(a,O,B))-1,R.push(d(a,B,M))-1)}}for(i=0;i<y;++i)(o=j[i])&&(o.halfedges.length||delete j[i])}(a,u,c,f)}this.edges=R,this.cells=j,S=P=R=j=null}U.prototype={constructor:U,polygons:function(){var t=this.edges;return this.cells.map((function(n){var e=n.halfedges.map((function(e){return m(n,t[e])}));return e.data=n.site.data,e}))},triangles:function(){var t=[],n=this.edges;return this.cells.forEach((function(e,r){if(o=(i=e.halfedges).length)for(var i,o,a,u,c,f,s=e.site,l=-1,h=n[i[o-1]],d=h.left===s?h.right:h.left;++l<o;)a=d,d=(h=n[i[l]]).left===s?h.right:h.left,a&&d&&r<a.index&&r<d.index&&(c=a,f=d,((u=s)[0]-f[0])*(c[1]-u[1])-(u[0]-c[0])*(f[1]-u[1])<0)&&t.push([s.data,a.data,d.data])})),t},links:function(){return this.edges.filter((function(t){return t.right})).map((function(t){return{source:t.left.data,target:t.right.data}}))},find:function(t,n,e){for(var r,i,o=this,a=o._found||0,u=o.cells.length;!(i=o.cells[a]);)if(++a>=u)return null;var c=t-i.site[0],f=n-i.site[1],s=c*c+f*f;do{i=o.cells[r=a],a=null,i.halfedges.forEach((function(e){var r=o.edges[e],u=r.left;if(u!==i.site&&u||(u=r.right)){var c=t-u[0],f=n-u[1],l=c*c+f*f;l<s&&(s=l,a=u.index)}}))}while(null!==a);return o._found=r,null==e||s<=e*e?i.site:null}};var z=function(){var t=i,n=o,e=null;function a(r){return new U(r.map((function(e,i){var o=[Math.round(t(e,i,r)/D)*D,Math.round(n(e,i,r)/D)*D];return o.index=i,o.data=e,o})),e)}return a.polygons=function(t){return a(t).polygons()},a.links=function(t){return a(t).links()},a.triangles=function(t){return a(t).triangles()},a.x=function(n){return arguments.length?(t="function"==typeof n?n:r(+n),a):t},a.y=function(t){return arguments.length?(n="function"==typeof t?t:r(+t),a):n},a.extent=function(t){return arguments.length?(e=null==t?null:[[+t[0][0],+t[0][1]],[+t[1][0],+t[1][1]]],a):e&&[[e[0][0],e[0][1]],[e[1][0],e[1][1]]]},a.size=function(t){return arguments.length?(e=null==t?null:[[0,0],[+t[0],+t[1]]],a):e&&[e[1][0]-e[0][0],e[1][1]-e[0][1]]},a};e.d(n,"voronoi",(function(){return z}))},1409:function(t,n,e){"use strict";e.r(n);var r=e(33),i=Array.prototype.slice,o=function(t,n){return t-n},a=function(t){for(var n=0,e=t.length,r=t[e-1][1]*t[0][0]-t[e-1][0]*t[0][1];++n<e;)r+=t[n-1][1]*t[n][0]-t[n-1][0]*t[n][1];return r},u=function(t){return function(){return t}},c=function(t,n){for(var e,r=-1,i=n.length;++r<i;)if(e=f(t,n[r]))return e;return 0};function f(t,n){for(var e=n[0],r=n[1],i=-1,o=0,a=t.length,u=a-1;o<a;u=o++){var c=t[o],f=c[0],l=c[1],h=t[u],d=h[0],p=h[1];if(s(c,h,n))return 0;l>r!=p>r&&e<(d-f)*(r-l)/(p-l)+f&&(i=-i)}return i}function s(t,n,e){var r,i,o,a;return function(t,n,e){return(n[0]-t[0])*(e[1]-t[1])==(e[0]-t[0])*(n[1]-t[1])}(t,n,e)&&(i=t[r=+(t[0]===n[0])],o=e[r],a=n[r],i<=o&&o<=a||a<=o&&o<=i)}var l=function(){},h=[[],[[[1,1.5],[.5,1]]],[[[1.5,1],[1,1.5]]],[[[1.5,1],[.5,1]]],[[[1,.5],[1.5,1]]],[[[1,1.5],[.5,1]],[[1,.5],[1.5,1]]],[[[1,.5],[1,1.5]]],[[[1,.5],[.5,1]]],[[[.5,1],[1,.5]]],[[[1,1.5],[1,.5]]],[[[.5,1],[1,.5]],[[1.5,1],[1,1.5]]],[[[1.5,1],[1,.5]]],[[[.5,1],[1.5,1]]],[[[1,1.5],[1.5,1]]],[[[.5,1],[1,1.5]]],[]],d=function(){var t=1,n=1,e=r.thresholdSturges,f=g;function s(t){var n=e(t);if(Array.isArray(n))n=n.slice().sort(o);else{var i=Object(r.extent)(t),a=i[0],u=i[1];n=Object(r.tickStep)(a,u,n),n=Object(r.range)(Math.floor(a/n)*n,Math.floor(u/n)*n,n)}return n.map((function(n){return d(t,n)}))}function d(e,r){var i=[],o=[];return function(e,r,i){var o,a,u,c,f,s,l=new Array,d=new Array;o=a=-1,c=e[0]>=r,h[c<<1].forEach(g);for(;++o<t-1;)u=c,c=e[o+1]>=r,h[u|c<<1].forEach(g);h[c<<0].forEach(g);for(;++a<n-1;){for(o=-1,c=e[a*t+t]>=r,f=e[a*t]>=r,h[c<<1|f<<2].forEach(g);++o<t-1;)u=c,c=e[a*t+t+o+1]>=r,s=f,f=e[a*t+o+1]>=r,h[u|c<<1|f<<2|s<<3].forEach(g);h[c|f<<3].forEach(g)}o=-1,f=e[a*t]>=r,h[f<<2].forEach(g);for(;++o<t-1;)s=f,f=e[a*t+o+1]>=r,h[f<<2|s<<3].forEach(g);function g(t){var n,e,r=[t[0][0]+o,t[0][1]+a],u=[t[1][0]+o,t[1][1]+a],c=p(r),f=p(u);(n=d[c])?(e=l[f])?(delete d[n.end],delete l[e.start],n===e?(n.ring.push(u),i(n.ring)):l[n.start]=d[e.end]={start:n.start,end:e.end,ring:n.ring.concat(e.ring)}):(delete d[n.end],n.ring.push(u),d[n.end=f]=n):(n=l[f])?(e=d[c])?(delete l[n.start],delete d[e.end],n===e?(n.ring.push(u),i(n.ring)):l[e.start]=d[n.end]={start:e.start,end:n.end,ring:e.ring.concat(n.ring)}):(delete l[n.start],n.ring.unshift(r),l[n.start=c]=n):l[c]=d[f]={start:c,end:f,ring:[r,u]}}h[f<<3].forEach(g)}(e,r,(function(t){f(t,e,r),a(t)>0?i.push([t]):o.push(t)})),o.forEach((function(t){for(var n,e=0,r=i.length;e<r;++e)if(-1!==c((n=i[e])[0],t))return void n.push(t)})),{type:"MultiPolygon",value:r,coordinates:i}}function p(n){return 2*n[0]+n[1]*(t+1)*4}function g(e,r,i){e.forEach((function(e){var o,a=e[0],u=e[1],c=0|a,f=0|u,s=r[f*t+c];a>0&&a<t&&c===a&&(o=r[f*t+c-1],e[0]=a+(i-o)/(s-o)-.5),u>0&&u<n&&f===u&&(o=r[(f-1)*t+c],e[1]=u+(i-o)/(s-o)-.5)}))}return s.contour=d,s.size=function(e){if(!arguments.length)return[t,n];var r=Math.ceil(e[0]),i=Math.ceil(e[1]);if(!(r>0&&i>0))throw new Error("invalid size");return t=r,n=i,s},s.thresholds=function(t){return arguments.length?(e="function"==typeof t?t:Array.isArray(t)?u(i.call(t)):u(t),s):e},s.smooth=function(t){return arguments.length?(f=t?g:l,s):f===g},s};function p(t,n,e){for(var r=t.width,i=t.height,o=1+(e<<1),a=0;a<i;++a)for(var u=0,c=0;u<r+e;++u)u<r&&(c+=t.data[u+a*r]),u>=e&&(u>=o&&(c-=t.data[u-o+a*r]),n.data[u-e+a*r]=c/Math.min(u+1,r-1+o-u,o))}function g(t,n,e){for(var r=t.width,i=t.height,o=1+(e<<1),a=0;a<r;++a)for(var u=0,c=0;u<i+e;++u)u<i&&(c+=t.data[a+u*r]),u>=e&&(u>=o&&(c-=t.data[a+(u-o)*r]),n.data[a+(u-e)*r]=c/Math.min(u+1,i-1+o-u,o))}function v(t){return t[0]}function y(t){return t[1]}function m(){return 1}var b=function(){var t=v,n=y,e=m,o=960,a=500,c=20,f=2,s=3*c,l=o+2*s>>f,h=a+2*s>>f,b=u(20);function x(i){var o=new Float32Array(l*h),a=new Float32Array(l*h);i.forEach((function(r,i,a){var u=+t(r,i,a)+s>>f,c=+n(r,i,a)+s>>f,d=+e(r,i,a);u>=0&&u<l&&c>=0&&c<h&&(o[u+c*l]+=d)})),p({width:l,height:h,data:o},{width:l,height:h,data:a},c>>f),g({width:l,height:h,data:a},{width:l,height:h,data:o},c>>f),p({width:l,height:h,data:o},{width:l,height:h,data:a},c>>f),g({width:l,height:h,data:a},{width:l,height:h,data:o},c>>f),p({width:l,height:h,data:o},{width:l,height:h,data:a},c>>f),g({width:l,height:h,data:a},{width:l,height:h,data:o},c>>f);var u=b(o);if(!Array.isArray(u)){var v=Object(r.max)(o);u=Object(r.tickStep)(0,v,u),(u=Object(r.range)(0,Math.floor(v/u)*u,u)).shift()}return d().thresholds(u).size([l,h])(o).map(_)}function _(t){return t.value*=Math.pow(2,-2*f),t.coordinates.forEach(w),t}function w(t){t.forEach(A)}function A(t){t.forEach(E)}function E(t){t[0]=t[0]*Math.pow(2,f)-s,t[1]=t[1]*Math.pow(2,f)-s}function M(){return l=o+2*(s=3*c)>>f,h=a+2*s>>f,x}return x.x=function(n){return arguments.length?(t="function"==typeof n?n:u(+n),x):t},x.y=function(t){return arguments.length?(n="function"==typeof t?t:u(+t),x):n},x.weight=function(t){return arguments.length?(e="function"==typeof t?t:u(+t),x):e},x.size=function(t){if(!arguments.length)return[o,a];var n=Math.ceil(t[0]),e=Math.ceil(t[1]);if(!(n>=0||n>=0))throw new Error("invalid size");return o=n,a=e,M()},x.cellSize=function(t){if(!arguments.length)return 1<<f;if(!((t=+t)>=1))throw new Error("invalid cell size");return f=Math.floor(Math.log(t)/Math.LN2),M()},x.thresholds=function(t){return arguments.length?(b="function"==typeof t?t:Array.isArray(t)?u(i.call(t)):u(t),x):b},x.bandwidth=function(t){if(!arguments.length)return Math.sqrt(c*(c+1));if(!((t=+t)>=0))throw new Error("invalid bandwidth");return c=Math.round((Math.sqrt(4*t*t+1)-1)/2),M()},x};e.d(n,"contours",(function(){return d})),e.d(n,"contourDensity",(function(){return b}))},141:function(t,n,e){"use strict";e.d(n,"c",(function(){return i})),e.d(n,"a",(function(){return s}));var r={},i=null;"undefined"!=typeof document&&("onmouseenter"in document.documentElement||(r={mouseenter:"mouseover",mouseleave:"mouseout"}));function o(t,n,e){return t=a(t,n,e),function(n){var e=n.relatedTarget;e&&(e===this||8&e.compareDocumentPosition(this))||t.call(this,n)}}function a(t,n,e){return function(r){var o=i;i=r;try{t.call(this,this.__data__,n,e)}finally{i=o}}}function u(t){return t.trim().split(/^|\s+/).map((function(t){var n="",e=t.indexOf(".");return e>=0&&(n=t.slice(e+1),t=t.slice(0,e)),{type:t,name:n}}))}function c(t){return function(){var n=this.__on;if(n){for(var e,r=0,i=-1,o=n.length;r<o;++r)e=n[r],t.type&&e.type!==t.type||e.name!==t.name?n[++i]=e:this.removeEventListener(e.type,e.listener,e.capture);++i?n.length=i:delete this.__on}}}function f(t,n,e){var i=r.hasOwnProperty(t.type)?o:a;return function(r,o,a){var u,c=this.__on,f=i(n,o,a);if(c)for(var s=0,l=c.length;s<l;++s)if((u=c[s]).type===t.type&&u.name===t.name)return this.removeEventListener(u.type,u.listener,u.capture),this.addEventListener(u.type,u.listener=f,u.capture=e),void(u.value=n);this.addEventListener(t.type,f,e),u={type:t.type,name:t.name,value:n,listener:f,capture:e},c?c.push(u):this.__on=[u]}}function s(t,n,e,r){var o=i;t.sourceEvent=i,i=t;try{return n.apply(e,r)}finally{i=o}}n.b=function(t,n,e){var r,i,o=u(t+""),a=o.length;if(!(arguments.length<2)){for(s=n?f:c,null==e&&(e=!1),r=0;r<a;++r)this.each(s(o[r],n,e));return this}var s=this.node().__on;if(s)for(var l,h=0,d=s.length;h<d;++h)for(r=0,l=s[h];r<a;++r)if((i=o[r]).type===l.type&&i.name===l.name)return l.value}},1411:function(t,n,e){"use strict";function r(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);return t.blob()}e.r(n);var i=function(t,n){return fetch(t,n).then(r)};function o(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);return t.arrayBuffer()}var a=function(t,n){return fetch(t,n).then(o)},u=e(250),c=e(164),f=e(165);function s(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);return t.text()}var l=function(t,n){return fetch(t,n).then(s)};function h(t){return function(n,e,r){return 2===arguments.length&&"function"==typeof e&&(r=e,e=void 0),l(n,e).then((function(n){return t(n,r)}))}}function d(t,n,e,r){3===arguments.length&&"function"==typeof e&&(r=e,e=void 0);var i=Object(u.a)(t);return l(n,e).then((function(t){return i.parse(t,r)}))}var p=h(c.f),g=h(f.f),v=function(t,n){return new Promise((function(e,r){var i=new Image;for(var o in n)i[o]=n[o];i.onerror=r,i.onload=function(){e(i)},i.src=t}))};function y(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);return t.json()}var m=function(t,n){return fetch(t,n).then(y)};function b(t){return function(n,e){return l(n,e).then((function(n){return(new DOMParser).parseFromString(n,t)}))}}var x=b("application/xml"),_=b("text/html"),w=b("image/svg+xml");e.d(n,"blob",(function(){return i})),e.d(n,"buffer",(function(){return a})),e.d(n,"dsv",(function(){return d})),e.d(n,"csv",(function(){return p})),e.d(n,"tsv",(function(){return g})),e.d(n,"image",(function(){return v})),e.d(n,"json",(function(){return m})),e.d(n,"text",(function(){return l})),e.d(n,"xml",(function(){return x})),e.d(n,"html",(function(){return _})),e.d(n,"svg",(function(){return w}))},1412:function(t,n,e){"use strict";e.r(n);var r=function(){return Math.random()},i=function t(n){function e(t,e){return t=null==t?0:+t,e=null==e?1:+e,1===arguments.length?(e=t,t=0):e-=t,function(){return n()*e+t}}return e.source=t,e}(r),o=function t(n){function e(t,e){var r,i;return t=null==t?0:+t,e=null==e?1:+e,function(){var o;if(null!=r)o=r,r=null;else do{r=2*n()-1,o=2*n()-1,i=r*r+o*o}while(!i||i>1);return t+e*o*Math.sqrt(-2*Math.log(i)/i)}}return e.source=t,e}(r),a=function t(n){function e(){var t=o.source(n).apply(this,arguments);return function(){return Math.exp(t())}}return e.source=t,e}(r),u=function t(n){function e(t){return function(){for(var e=0,r=0;r<t;++r)e+=n();return e}}return e.source=t,e}(r),c=function t(n){function e(t){var e=u.source(n)(t);return function(){return e()/t}}return e.source=t,e}(r),f=function t(n){function e(t){return function(){return-Math.log(1-n())/t}}return e.source=t,e}(r);e.d(n,"randomUniform",(function(){return i})),e.d(n,"randomNormal",(function(){return o})),e.d(n,"randomLogNormal",(function(){return a})),e.d(n,"randomBates",(function(){return c})),e.d(n,"randomIrwinHall",(function(){return u})),e.d(n,"randomExponential",(function(){return f}))},1415:function(t,n,e){"use strict";e.r(n);var r=e(1),i=e.n(r),o=e(2),a=e.n(o),u=e(4),c=e.n(u),f=e(3),s=e.n(f),l=e(5),h=e.n(l),d=e(77),p=e.n(d),g=e(78),v=e.n(g),y=e(9),m=p.a?p.a:d,b=v.a?v.a:g,x=function(t){function n(){var t;return i()(this,n),(t=c()(this,s()(n).call(this))).name="Entropy",t.module="Charts",t.description="Shannon Entropy, in the context of information theory, is a measure of the rate at which information is produced by a source of data. It can be used, in a broad sense, to detect whether data is likely to be structured or unstructured. 8 is the maximum, representing highly unstructured, 'random' data. English language text usually falls somewhere between 3.5 and 5. Properly encrypted or compressed data should have an entropy of over 7.5.",t.infoURL="https://wikipedia.org/wiki/Entropy_(information_theory)",t.inputType="ArrayBuffer",t.outputType="json",t.presentType="html",t.args=[{name:"Visualisation",type:"option",value:["Shannon scale","Histogram (Bar)","Histogram (Line)","Curve","Image"]}],t}return h()(n,t),a()(n,[{key:"calculateShannonEntropy",value:function(t){var n,e=[],r=new Array(256).fill(0);for(n=0;n<t.length;n++)r[t[n]]++;for(n=0;n<r.length;n++)r[n]>0&&e.push(r[n]/t.length);var i,o=0;for(n=0;n<e.length;n++)o+=(i=e[n])*Math.log(i)/Math.log(2);return-o}},{key:"calculateScanningEntropy",value:function(t){for(var n=[],e=t.length<256?8:256,r=0;r<t.length;r+=e){var i=t.slice(r,r+e);n.push(this.calculateShannonEntropy(i))}return{entropyData:n,binWidth:e}}},{key:"createAxes",value:function(t,n,e,r,i,o,a,u,c){var f=m.axisLeft().scale(e),s=m.axisBottom().scale(n);t.append("g").attr("transform",`translate(0, ${r-o.bottom})`).call(s),t.append("g").attr("transform",`translate(${o.left},0)`).call(f),t.append("text").attr("transform","rotate(-90)").attr("y",0-o.left).attr("x",0-r/2).attr("dy","1em").style("text-anchor","middle").text(c),t.append("text").attr("transform",`translate(${i/2}, ${r-o.bottom+40})`).style("text-anchor","middle").text(u),t.append("text").attr("transform",`translate(${i/2}, ${o.top-10})`).style("text-anchor","middle").text(a)}},{key:"calculateByteFrequency",value:function(t){var n,e=new Array(256).fill(0);if(0===t.length)return e;for(n=0;n<t.length;n++)e[t[n]]++;for(n=0;n<e.length;n++)e[n]=e[n]/t.length;return e}},{key:"createByteFrequencyLineHistogram",value:function(t){var n={top:30,right:20,bottom:50,left:30},e=(new b.Document).createElement("svg");e=m.select(e).attr("width","100%").attr("height","100%").attr("viewBox","0 0 500 500");var r=m.scaleLinear().domain([0,m.max(t,(function(t){return t}))]).range([500-n.bottom,n.top]),i=m.scaleLinear().domain([0,t.length-1]).range([n.left,500-n.right]),o=m.line().x((function(t,n){return i(n)})).y((function(t){return r(t)})).curve(m.curveMonotoneX);return e.append("path").datum(t).attr("fill","none").attr("stroke","steelblue").attr("d",o),this.createAxes(e,i,r,500,500,n,"","Byte","Byte Frequency"),e._groups[0][0].outerHTML}},{key:"createByteFrequencyBarHistogram",value:function(t){var n={top:30,right:20,bottom:50,left:30},e=(new b.Document).createElement("svg");e=m.select(e).attr("width","100%").attr("height","100%").attr("viewBox","0 0 500 500");var r=m.extent(t,(function(t){return t})),i=m.scaleLinear().domain(r).range([500-n.bottom,n.top]),o=m.scaleLinear().domain([0,t.length-1]).range([n.left-1,500-n.right]);return e.selectAll("rect").data(t).enter().append("rect").attr("x",(function(t,n){return o(n)+1})).attr("y",(function(t){return i(t)})).attr("width",1).attr("height",(function(t){return i(r[0])-i(t)})).attr("fill","blue"),this.createAxes(e,o,i,500,500,n,"","Byte","Byte Frequency"),e._groups[0][0].outerHTML}},{key:"createEntropyCurve",value:function(t){var n={top:30,right:20,bottom:50,left:30},e=(new b.Document).createElement("svg");e=m.select(e).attr("width","100%").attr("height","100%").attr("viewBox","0 0 500 500");var r=m.scaleLinear().domain([0,m.max(t,(function(t){return t}))]).range([500-n.bottom,n.top]),i=m.scaleLinear().domain([0,t.length]).range([n.left,500-n.right]),o=m.line().x((function(t,n){return i(n)})).y((function(t){return r(t)})).curve(m.curveMonotoneX);return t.length>0&&(e.append("path").datum(t).attr("d",o),e.selectAll("path").attr("fill","none").attr("stroke","steelblue")),this.createAxes(e,i,r,500,500,n,"Scanning Entropy","Block","Entropy"),e._groups[0][0].outerHTML}},{key:"createEntropyImage",value:function(t){for(var n=[],e=0;e<t.length;e++)n.push({x:e%100,y:Math.floor(e/100),entropy:t[e]});var r=(new b.Document).createElement("svg");r=m.select(r).attr("width","100%").attr("height","100%").attr("viewBox","0 0 100 100");var i=m.scaleLinear().domain([0,m.max(t,(function(t){return t}))]).range(["#000000","#FFFFFF"]).interpolate(m.interpolateRgb);return r.selectAll("rect").data(n).enter().append("rect").attr("x",(function(t){return 1*t.x})).attr("y",(function(t){return 1*t.y})).attr("width",1).attr("height",1).style("fill",(function(t){return i(t.entropy)})),r._groups[0][0].outerHTML}},{key:"createShannonEntropyVisualization",value:function(t){return`Shannon entropy: ${t}\n        <br><canvas id='chart-area'></canvas><br>\n        - 0 represents no randomness (i.e. all the bytes in the data have the same value) whereas 8, the maximum, represents a completely random string.\n        - Standard English text usually falls somewhere between 3.5 and 5.\n        - Properly encrypted or compressed data of a reasonable length should have an entropy of over 7.5.\n\n        The following results show the entropy of chunks of the input data. Chunks with particularly high entropy could suggest encrypted or compressed sections.\n\n        <br><script>\n            var canvas = document.getElementById("chart-area"),\n                parentRect = canvas.parentNode.getBoundingClientRect(),\n                entropy = ${t},\n                height = parentRect.height * 0.25;\n\n            canvas.width = parentRect.width * 0.95;\n            canvas.height = height > 150 ? 150 : height;\n\n            CanvasComponents.drawScaleBar(canvas, entropy, 8, [\n                {\n                    label: "English text",\n                    min: 3.5,\n                    max: 5\n                },{\n                    label: "Encrypted/compressed",\n                    min: 7.5,\n                    max: 8\n                }\n            ]);\n        <\/script>`}},{key:"run",value:function(t,n){var e=n[0];switch(t=new Uint8Array(t),e){case"Histogram (Bar)":case"Histogram (Line)":return this.calculateByteFrequency(t);case"Curve":case"Image":return this.calculateScanningEntropy(t).entropyData;case"Shannon scale":default:return this.calculateShannonEntropy(t)}}},{key:"present",value:function(t,n){switch(n[0]){case"Histogram (Bar)":return this.createByteFrequencyBarHistogram(t);case"Histogram (Line)":return this.createByteFrequencyLineHistogram(t);case"Curve":return this.createEntropyCurve(t);case"Image":return this.createEntropyImage(t);case"Shannon scale":default:return this.createShannonEntropyVisualization(t)}}}]),n}(y.a),_=e(8),w=["Line feed","CRLF"],A=["Space","Comma","Semi-colon","Colon","Tab"],E={min:"white",max:"black"};function M(t,n,e,r,i){var o,a=[];return t.split(n).forEach((function(t,n){var u=t.split(e);if(u.length!==i)throw new _.a(`Each row must have length ${i}.`);r&&0===n?o=u:a.push(u)})),{headings:o,values:a}}function k(t,n,e,r){var i=M(t,n,e,r,2),o=i.headings,a=i.values;return o&&(o={x:o[0],y:o[1]}),{headings:o,values:a=a.map((function(t){var n=parseFloat(t[0],10),e=parseFloat(t[1],10);if(Number.isNaN(n))throw new _.a("Values must be numbers in base 10.");if(Number.isNaN(e))throw new _.a("Values must be numbers in base 10.");return[n,e]}))}}function O(t,n,e,r){var i=M(t,n,e,r,3),o=i.headings,a=i.values;return o&&(o={x:o[0],y:o[1]}),{headings:o,values:a=a.map((function(t){var n=parseFloat(t[0],10),e=parseFloat(t[1],10),r=t[2];if(Number.isNaN(n))throw new _.a("Values must be numbers in base 10.");if(Number.isNaN(e))throw new _.a("Values must be numbers in base 10.");return[n,e,r]}))}}var B=e(0),F=p.a?p.a:d,T=v.a?v.a:g,N=function(t){function n(){var t;return i()(this,n),(t=c()(this,s()(n).call(this))).name="Heatmap chart",t.module="Charts",t.description="A heatmap is a graphical representation of data where the individual values contained in a matrix are represented as colors.",t.infoURL="https://wikipedia.org/wiki/Heat_map",t.inputType="string",t.outputType="html",t.args=[{name:"Record delimiter",type:"option",value:w},{name:"Field delimiter",type:"option",value:A},{name:"Number of vertical bins",type:"number",value:25},{name:"Number of horizontal bins",type:"number",value:25},{name:"Use column headers as labels",type:"boolean",value:!0},{name:"X label",type:"string",value:""},{name:"Y label",type:"string",value:""},{name:"Draw bin edges",type:"boolean",value:!1},{name:"Min colour value",type:"string",value:E.min},{name:"Max colour value",type:"string",value:E.max}],t}return h()(n,t),a()(n,[{key:"run",value:function(t,n){var e=B.b.charRep(n[0]),r=B.b.charRep(n[1]),i=n[2],o=n[3],a=n[4],u=n[7],c=n[8],f=n[9];if(i<=0)throw new _.a("Number of vertical bins must be greater than 0");if(o<=0)throw new _.a("Number of horizontal bins must be greater than 0");var s=n[5],l=n[6],h=k(t,e,r,a),d=h.headings,p=h.values;d&&(s=d.x,l=d.y);var g=(new T.Document).createElement("svg");g=F.select(g).attr("width","100%").attr("height","100%").attr("viewBox","0 0 500 500");var v=10,y=30,m=500-y-0,b=500-v-40,x=m/o,w=b/i,A=g.append("g").attr("transform","translate("+y+","+v+")"),E=this.getHeatmapPacking(p,i,o),M=Math.max(...E.map((function(t){var n=t.map((function(t){return t.length}));return Math.max(...n)}))),O=F.extent(p,(function(t){return t[0]})),N=F.extent(p,(function(t){return t[1]})),C=F.scaleLinear().domain(O).range([0,m]),S=F.scaleLinear().domain(N).range([b,0]),j=F.scaleSequential(F.interpolateLab(c,f)).domain([0,M]);return A.append("clipPath").attr("id","clip").append("rect").attr("width",m).attr("height",b),A.append("g").attr("class","bins").attr("clip-path","url(#clip)").selectAll("g").data(E).enter().append("g").selectAll("rect").data((function(t){return t})).enter().append("rect").attr("x",(function(t){return x*t.x})).attr("y",(function(t){return b-w*(t.y+1)})).attr("width",x).attr("height",w).attr("fill",(function(t){return j(t.length)})).attr("stroke",u?"rgba(0, 0, 0, 0.5)":"none").attr("stroke-width",u?"0.5":"none").append("title").text((function(t){return`Count: ${t.length}\n\n                               Percentage: ${(100*t.length/p.length).toFixed(2)}%\n\n                    `.replace(/\s{2,}/g,"\n")})),A.append("g").attr("class","axis axis--y").call(F.axisLeft(S).tickSizeOuter(-m)),g.append("text").attr("transform","rotate(-90)").attr("y",-y).attr("x",-b/2).attr("dy","1em").style("text-anchor","middle").text(l),A.append("g").attr("class","axis axis--x").attr("transform","translate(0,"+b+")").call(F.axisBottom(C).tickSizeOuter(-b)),g.append("text").attr("x",m/2).attr("y",500).style("text-anchor","middle").text(s),g._groups[0][0].outerHTML}},{key:"getHeatmapPacking",value:function(t,n,e){var r=F.extent(t,(function(t){return t[0]})),i=F.extent(t,(function(t){return t[1]})),o=[];if(r[0]===r[1])throw"Cannot pack points. There is no difference between the minimum and maximum X coordinate.";if(i[0]===i[1])throw"Cannot pack points. There is no difference between the minimum and maximum Y coordinate.";for(var a=0;a<n;a++){o.push([]);for(var u=0;u<e;u++){var c=[];c.y=a,c.x=u,o[a].push(c)}}return t.forEach((function(t){var a=(t[1]-i[0])/(i[1]+1e-9-i[0]),u=(t[0]-r[0])/(r[1]+1e-9-r[0]),c=Math.floor(n*a),f=Math.floor(e*u);o[c][f].push({x:t[0],y:t[1]})})),o}}]),n}(y.a),C=e(414),S=e.n(C),j=p.a?p.a:d,P=S.a?S.a:C,R=v.a?v.a:g,D=function(t){function n(){var t;return i()(this,n),(t=c()(this,s()(n).call(this))).name="Hex Density chart",t.module="Charts",t.description="Hex density charts are used in a similar way to scatter charts, however rather than rendering tens of thousands of points, it groups the points into a few hundred hexagons to show the distribution.",t.inputType="string",t.outputType="html",t.args=[{name:"Record delimiter",type:"option",value:w},{name:"Field delimiter",type:"option",value:A},{name:"Pack radius",type:"number",value:25},{name:"Draw radius",type:"number",value:15},{name:"Use column headers as labels",type:"boolean",value:!0},{name:"X label",type:"string",value:""},{name:"Y label",type:"string",value:""},{name:"Draw hexagon edges",type:"boolean",value:!1},{name:"Min colour value",type:"string",value:E.min},{name:"Max colour value",type:"string",value:E.max},{name:"Draw empty hexagons within data boundaries",type:"boolean",value:!1}],t}return h()(n,t),a()(n,[{key:"run",value:function(t,n){var e=B.b.charRep(n[0]),r=B.b.charRep(n[1]),i=n[2],o=n[3],a=n[4],u=n[7],c=n[8],f=n[9],s=n[10],l=n[5],h=n[6],d=k(t,e,r,a),p=d.headings,g=d.values;p&&(l=p.x,h=p.y);var v=(new R.Document).createElement("svg"),y=10,m=30,b=500-m-0,x=500-y-40,_=(v=j.select(v).attr("width","100%").attr("height","100%").attr("viewBox","0 0 500 500")).append("g").attr("transform","translate("+m+","+y+")"),w=P.hexbin().radius(i).extent([0,0],[b,x]),A=w(g),E=Math.max(...A.map((function(t){return t.length}))),M=j.extent(A,(function(t){return t.x})),O=j.extent(A,(function(t){return t.y}));M[0]-=2*i,M[1]+=3*i,O[0]-=2*i,O[1]+=2*i;var F=j.scaleLinear().domain(M).range([0,b]),T=j.scaleLinear().domain(O).range([x,0]),N=j.scaleSequential(j.interpolateLab(c,f)).domain([0,E]);return _.append("clipPath").attr("id","clip").append("rect").attr("width",b).attr("height",x),s&&_.append("g").attr("class","empty-hexagon").selectAll("path").data(this.getEmptyHexagons(A,i)).enter().append("path").attr("d",(function(t){return`M${F(t.x)},${T(t.y)} ${w.hexagon(o)}`})).attr("fill",(function(t){return N(0)})).attr("stroke",u?"black":"none").attr("stroke-width",u?"0.5":"none").append("title").text((function(t){return`Count: 0\n\n                                Percentage: ${(0).toFixed(2)}%\n\n                                Center: ${t.x.toFixed(2)}, ${t.y.toFixed(2)}\n\n                        `.replace(/\s{2,}/g,"\n")})),_.append("g").attr("class","hexagon").attr("clip-path","url(#clip)").selectAll("path").data(A).enter().append("path").attr("d",(function(t){return`M${F(t.x)},${T(t.y)} ${w.hexagon(o)}`})).attr("fill",(function(t){return N(t.length)})).attr("stroke",u?"black":"none").attr("stroke-width",u?"0.5":"none").append("title").text((function(t){var n=t.length,e=100*t.length/g.length,r=t.x,i=t.y,o=Math.min(...t.map((function(t){return t[0]}))),a=Math.max(...t.map((function(t){return t[0]}))),u=Math.min(...t.map((function(t){return t[1]}))),c=Math.max(...t.map((function(t){return t[1]})));return`Count: ${n}\n\n                               Percentage: ${e.toFixed(2)}%\n\n                               Center: ${r.toFixed(2)}, ${i.toFixed(2)}\n\n                               Min X: ${o.toFixed(2)}\n\n                               Max X: ${a.toFixed(2)}\n\n                               Min Y: ${u.toFixed(2)}\n\n                               Max Y: ${c.toFixed(2)}\n                    `.replace(/\s{2,}/g,"\n")})),_.append("g").attr("class","axis axis--y").call(j.axisLeft(T).tickSizeOuter(-b)),v.append("text").attr("transform","rotate(-90)").attr("y",-m).attr("x",-x/2).attr("dy","1em").style("text-anchor","middle").text(h),_.append("g").attr("class","axis axis--x").attr("transform","translate(0,"+x+")").call(j.axisBottom(F).tickSizeOuter(-x)),v.append("text").attr("x",b/2).attr("y",500).style("text-anchor","middle").text(l),v._groups[0][0].outerHTML}},{key:"getEmptyHexagons",value:function(t,n){for(var e=[],r=[j.extent(t,(function(t){return t.x})),j.extent(t,(function(t){return t.y}))],i=Math.cos(2*Math.PI/12)*n,o=Math.sin(2*Math.PI/12)*n,a=!1,u=r[1][0];u<=r[1][1]+n;u+=o+n){for(var c=r[0][0];c<=r[0][1]+n;c+=2*i){var f=c,s=u;if(a&&c>=r[0][1])break;a&&(f+=i),e.push({x:f,y:s})}a=!a}return e}}]),n}(y.a),L=p.a?p.a:d,I=v.a?v.a:g,U=function(t){function n(){var t;return i()(this,n),(t=c()(this,s()(n).call(this))).name="Scatter chart",t.module="Charts",t.description="Plots two-variable data as single points on a graph.",t.infoURL="https://wikipedia.org/wiki/Scatter_plot",t.inputType="string",t.outputType="html",t.args=[{name:"Record delimiter",type:"option",value:w},{name:"Field delimiter",type:"option",value:A},{name:"Use column headers as labels",type:"boolean",value:!0},{name:"X label",type:"string",value:""},{name:"Y label",type:"string",value:""},{name:"Colour",type:"string",value:E.max},{name:"Point radius",type:"number",value:10},{name:"Use colour from third column",type:"boolean",value:!1}],t}return h()(n,t),a()(n,[{key:"run",value:function(t,n){var e=B.b.charRep(n[0]),r=B.b.charRep(n[1]),i=n[2],o=n[5],a=n[6],u=n[7],c=n[3],f=n[4],s=(u?O:k)(t,e,r,i),l=s.headings,h=s.values;l&&(c=l.x,f=l.y);var d=(new I.Document).createElement("svg"),p=10,g=30,v=500-g-0,y=500-p-40,m=(d=L.select(d).attr("width","100%").attr("height","100%").attr("viewBox","0 0 500 500")).append("g").attr("transform","translate("+g+","+p+")"),b=L.extent(h,(function(t){return t[0]})),x=b[1]-b[0],_=L.extent(h,(function(t){return t[1]})),w=_[1]-_[0],A=L.scaleLinear().domain([b[0]-.1*x,b[1]+.1*x]).range([0,v]),E=L.scaleLinear().domain([_[0]-.1*w,_[1]+.1*w]).range([y,0]);return m.append("clipPath").attr("id","clip").append("rect").attr("width",v).attr("height",y),m.append("g").attr("class","points").attr("clip-path","url(#clip)").selectAll("circle").data(h).enter().append("circle").attr("cx",(function(t){return A(t[0])})).attr("cy",(function(t){return E(t[1])})).attr("r",(function(t){return a})).attr("fill",(function(t){return u?t[2]:o})).attr("stroke","rgba(0, 0, 0, 0.5)").attr("stroke-width","0.5").append("title").text((function(t){return`X: ${t[0]}\n\n                               Y: ${t[1]}\n\n                    `.replace(/\s{2,}/g,"\n")})),m.append("g").attr("class","axis axis--y").call(L.axisLeft(E).tickSizeOuter(-v)),d.append("text").attr("transform","rotate(-90)").attr("y",-g).attr("x",-y/2).attr("dy","1em").style("text-anchor","middle").text(f),m.append("g").attr("class","axis axis--x").attr("transform","translate(0,"+y+")").call(L.axisBottom(A).tickSizeOuter(-y)),d.append("text").attr("x",v/2).attr("y",500).style("text-anchor","middle").text(c),d._groups[0][0].outerHTML}}]),n}(y.a),z=p.a?p.a:d,Y=v.a?v.a:g,q=function(t){function n(){var t;return i()(this,n),(t=c()(this,s()(n).call(this))).name="Series chart",t.module="Charts",t.description="A time series graph is a line graph of repeated measurements taken over regular time intervals.",t.inputType="string",t.outputType="html",t.args=[{name:"Record delimiter",type:"option",value:w},{name:"Field delimiter",type:"option",value:A},{name:"X label",type:"string",value:""},{name:"Point radius",type:"number",value:1},{name:"Series colours",type:"string",value:"mediumseagreen, dodgerblue, tomato"}],t}return h()(n,t),a()(n,[{key:"run",value:function(t,n){var e=B.b.charRep(n[0]),r=B.b.charRep(n[1]),i=n[2],o=n[3],a=n[4].split(","),u=function(t,n,e,r){var i=M(t,n,e,!1,3).values,o=new Set,a={};i.forEach((function(t){var n=t[0],e=t[1],r=parseFloat(t[2],10);if(Number.isNaN(r))throw new _.a("Values must be numbers in base 10.");o.add(e),void 0===a[n]&&(a[n]={}),a[n][e]=r})),o=new Array(...o);var u=[];for(var c in a){var f=a[c];u.push({name:c,data:f})}return{xValues:o,series:u}}(t,e,r),c=u.xValues,f=u.series,s=120*Object.keys(f).length,l=s+50+20,h=(new Y.Document).createElement("svg");h=z.select(h).attr("width","100%").attr("height","100%").attr("viewBox",`0 0 500 ${l}`);var d=z.scalePoint().domain(c).range([0,430]);h.append("g").attr("class","axis axis--x").attr("transform","translate(50, 50)").call(z.axisTop(d).tickValues(c.filter((function(t,n){return[0,Math.round(c.length/2),c.length-1].indexOf(n)>=0})))),h.append("text").attr("x",250).attr("y",25).style("text-anchor","middle").text(i);var p={},g=430/c.length;c.forEach((function(t){var n=[];f.forEach((function(e){var r=e.data[t];void 0!==r&&n.push(`${e.name}: ${r}`)})),p[t]=n.join("\n")}));var v=h.append("g").attr("transform","translate(50, 50)");v.append("g").selectAll("rect").data(c).enter().append("rect").attr("x",(function(t){return d(t)-g/2})).attr("y",0).attr("width",g).attr("height",s).attr("stroke","none").attr("fill","transparent").append("title").text((function(t){return`${t}\n\n                    --\n\n                    ${p[t]}\n\n                `.replace(/\s{2,}/g,"\n")}));var y=h.append("g").attr("transform","translate(0, 50)");return f.forEach((function(t,n){var e=z.extent(Object.values(t.data)),r=z.scaleLinear().domain(e).range([100,0]),i=v.append("g").attr("transform",`translate(0, ${100*n+20*(n+1)})`),u="";c.forEach((function(n,e){var i=c[e+1],o=t.data[n],a=t.data[i];void 0!==o&&void 0!==a&&(n=d(n),i=d(i),o=r(o),a=r(a),u+=`M ${n} ${o} L ${i} ${a} z `)})),i.append("path").attr("d",u).attr("fill","none").attr("stroke",a[n%a.length]).attr("stroke-width","1"),c.forEach((function(e){var u=t.data[e];void 0!==u&&i.append("circle").attr("cx",d(e)).attr("cy",r(u)).attr("r",o).attr("fill",a[n%a.length]).append("title").text((function(t){return`${e}\n\n                            --\n\n                            ${p[e]}\n\n                        `.replace(/\s{2,}/g,"\n")}))})),y.append("g").attr("transform",`translate(30, ${100*n+20*(n+1)})`).attr("class","axis axis--y").call(z.axisLeft(r).ticks(5)),y.append("g").attr("transform",`translate(0, ${50+100*n+20*(n+1)})`).append("text").style("text-anchor","middle").attr("transform","rotate(-90)").text(t.name)})),h._groups[0][0].outerHTML}}]),n}(y.a),H="undefined"==typeof self?{}:self.OpModules||{};
/**
 * @author tlwr [toby@toby.codes]
 * @author Matt C [me@mitt.dev]
 * @copyright Crown Copyright 2019
 * @license Apache-2.0
 */H.Charts={Entropy:x,"Heatmap chart":N,"Hex Density chart":D,"Scatter chart":U,"Series chart":q};n.default=H},1416:function(t,n,e){"use strict";e.r(n);var r=function(t){for(var n,e=-1,r=t.length,i=t[r-1],o=0;++e<r;)n=i,i=t[e],o+=n[1]*i[0]-n[0]*i[1];return o/2},i=function(t){for(var n,e,r=-1,i=t.length,o=0,a=0,u=t[i-1],c=0;++r<i;)n=u,u=t[r],c+=e=n[0]*u[1]-u[0]*n[1],o+=(n[0]+u[0])*e,a+=(n[1]+u[1])*e;return[o/(c*=3),a/c]},o=function(t,n,e){return(n[0]-t[0])*(e[1]-t[1])-(n[1]-t[1])*(e[0]-t[0])};function a(t,n){return t[0]-n[0]||t[1]-n[1]}function u(t){for(var n=t.length,e=[0,1],r=2,i=2;i<n;++i){for(;r>1&&o(t[e[r-2]],t[e[r-1]],t[i])<=0;)--r;e[r++]=i}return e.slice(0,r)}var c=function(t){if((e=t.length)<3)return null;var n,e,r=new Array(e),i=new Array(e);for(n=0;n<e;++n)r[n]=[+t[n][0],+t[n][1],n];for(r.sort(a),n=0;n<e;++n)i[n]=[r[n][0],-r[n][1]];var o=u(r),c=u(i),f=c[0]===o[0],s=c[c.length-1]===o[o.length-1],l=[];for(n=o.length-1;n>=0;--n)l.push(t[r[o[n]][2]]);for(n=+f;n<c.length-s;++n)l.push(t[r[c[n]][2]]);return l},f=function(t,n){for(var e,r,i=t.length,o=t[i-1],a=n[0],u=n[1],c=o[0],f=o[1],s=!1,l=0;l<i;++l)e=(o=t[l])[0],(r=o[1])>u!=f>u&&a<(c-e)*(u-r)/(f-r)+e&&(s=!s),c=e,f=r;return s},s=function(t){for(var n,e,r=-1,i=t.length,o=t[i-1],a=o[0],u=o[1],c=0;++r<i;)n=a,e=u,n-=a=(o=t[r])[0],e-=u=o[1],c+=Math.sqrt(n*n+e*e);return c};e.d(n,"polygonArea",(function(){return r})),e.d(n,"polygonCentroid",(function(){return i})),e.d(n,"polygonHull",(function(){return c})),e.d(n,"polygonContains",(function(){return f})),e.d(n,"polygonLength",(function(){return s}))},1417:function(t,n,e){"use strict";e.r(n);var r=e(33),i=Math.cos,o=Math.sin,a=Math.PI,u=a/2,c=2*a,f=Math.max;function s(t){return function(n,e){return t(n.source.value+n.target.value,e.source.value+e.target.value)}}var l=function(){var t=0,n=null,e=null,i=null;function o(o){var a,u,s,l,h,d,p=o.length,g=[],v=Object(r.range)(p),y=[],m=[],b=m.groups=new Array(p),x=new Array(p*p);for(a=0,h=-1;++h<p;){for(u=0,d=-1;++d<p;)u+=o[h][d];g.push(u),y.push(Object(r.range)(p)),a+=u}for(n&&v.sort((function(t,e){return n(g[t],g[e])})),e&&y.forEach((function(t,n){t.sort((function(t,r){return e(o[n][t],o[n][r])}))})),l=(a=f(0,c-t*p)/a)?t:c/p,u=0,h=-1;++h<p;){for(s=u,d=-1;++d<p;){var _=v[h],w=y[_][d],A=o[_][w],E=u,M=u+=A*a;x[w*p+_]={index:_,subindex:w,startAngle:E,endAngle:M,value:A}}b[_]={index:_,startAngle:s,endAngle:u,value:g[_]},u+=l}for(h=-1;++h<p;)for(d=h-1;++d<p;){var k=x[d*p+h],O=x[h*p+d];(k.value||O.value)&&m.push(k.value<O.value?{source:O,target:k}:{source:k,target:O})}return i?m.sort(i):m}return o.padAngle=function(n){return arguments.length?(t=f(0,n),o):t},o.sortGroups=function(t){return arguments.length?(n=t,o):n},o.sortSubgroups=function(t){return arguments.length?(e=t,o):e},o.sortChords=function(t){return arguments.length?(null==t?i=null:(i=s(t))._=t,o):i&&i._},o},h=Array.prototype.slice,d=function(t){return function(){return t}},p=e(657);function g(t){return t.source}function v(t){return t.target}function y(t){return t.radius}function m(t){return t.startAngle}function b(t){return t.endAngle}var x=function(){var t=g,n=v,e=y,r=m,a=b,c=null;function f(){var f,s=h.call(arguments),l=t.apply(this,s),d=n.apply(this,s),g=+e.apply(this,(s[0]=l,s)),v=r.apply(this,s)-u,y=a.apply(this,s)-u,m=g*i(v),b=g*o(v),x=+e.apply(this,(s[0]=d,s)),_=r.apply(this,s)-u,w=a.apply(this,s)-u;if(c||(c=f=Object(p.a)()),c.moveTo(m,b),c.arc(0,0,g,v,y),v===_&&y===w||(c.quadraticCurveTo(0,0,x*i(_),x*o(_)),c.arc(0,0,x,_,w)),c.quadraticCurveTo(0,0,m,b),c.closePath(),f)return c=null,f+""||null}return f.radius=function(t){return arguments.length?(e="function"==typeof t?t:d(+t),f):e},f.startAngle=function(t){return arguments.length?(r="function"==typeof t?t:d(+t),f):r},f.endAngle=function(t){return arguments.length?(a="function"==typeof t?t:d(+t),f):a},f.source=function(n){return arguments.length?(t=n,f):t},f.target=function(t){return arguments.length?(n=t,f):n},f.context=function(t){return arguments.length?(c=null==t?null:t,f):c},f};e.d(n,"chord",(function(){return l})),e.d(n,"ribbon",(function(){return x}))},1418:function(t,n,e){"use strict";e.r(n);var r=e(653),i=e(249),o=e(662),a=e(141),u=e(656),c=e(255),f=e(655),s=e(210),l=function(t){return function(){return t}};function h(t,n,e){this.target=t,this.type=n,this.transform=e}function d(t,n,e){this.k=t,this.x=n,this.y=e}d.prototype={constructor:d,scale:function(t){return 1===t?this:new d(this.k*t,this.x,this.y)},translate:function(t,n){return 0===t&0===n?this:new d(this.k,this.x+this.k*t,this.y+this.k*n)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var p=new d(1,0,0);function g(t){for(;!t.__zoom;)if(!(t=t.parentNode))return p;return t.__zoom}function v(){a.c.stopImmediatePropagation()}g.prototype=d.prototype;var y=function(){a.c.preventDefault(),a.c.stopImmediatePropagation()};function m(){return!a.c.ctrlKey&&!a.c.button}function b(){var t=this;return t instanceof SVGElement?(t=t.ownerSVGElement||t).hasAttribute("viewBox")?[[(t=t.viewBox.baseVal).x,t.y],[t.x+t.width,t.y+t.height]]:[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]:[[0,0],[t.clientWidth,t.clientHeight]]}function x(){return this.__zoom||p}function _(){return-a.c.deltaY*(1===a.c.deltaMode?.05:a.c.deltaMode?1:.002)}function w(){return navigator.maxTouchPoints||"ontouchstart"in this}function A(t,n,e){var r=t.invertX(n[0][0])-e[0][0],i=t.invertX(n[1][0])-e[1][0],o=t.invertY(n[0][1])-e[0][1],a=t.invertY(n[1][1])-e[1][1];return t.translate(i>r?(r+i)/2:Math.min(0,r)||Math.max(0,i),a>o?(o+a)/2:Math.min(0,o)||Math.max(0,a))}var E=function(){var t,n,e=m,g=b,E=A,M=_,k=w,O=[0,1/0],B=[[-1/0,-1/0],[1/0,1/0]],F=250,T=o.a,N=Object(r.a)("start","zoom","end"),C=500,S=150,j=0;function P(t){t.property("__zoom",x).on("wheel.zoom",Y).on("mousedown.zoom",q).on("dblclick.zoom",H).filter(k).on("touchstart.zoom",$).on("touchmove.zoom",V).on("touchend.zoom touchcancel.zoom",G).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function R(t,n){return(n=Math.max(O[0],Math.min(O[1],n)))===t.k?t:new d(n,t.x,t.y)}function D(t,n,e){var r=n[0]-e[0]*t.k,i=n[1]-e[1]*t.k;return r===t.x&&i===t.y?t:new d(t.k,r,i)}function L(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function I(t,n,e){t.on("start.zoom",(function(){U(this,arguments).start()})).on("interrupt.zoom end.zoom",(function(){U(this,arguments).end()})).tween("zoom",(function(){var t=this,r=arguments,i=U(t,r),o=g.apply(t,r),a=null==e?L(o):"function"==typeof e?e.apply(t,r):e,u=Math.max(o[1][0]-o[0][0],o[1][1]-o[0][1]),c=t.__zoom,f="function"==typeof n?n.apply(t,r):n,s=T(c.invert(a).concat(u/c.k),f.invert(a).concat(u/f.k));return function(t){if(1===t)t=f;else{var n=s(t),e=u/n[2];t=new d(e,a[0]-n[0]*e,a[1]-n[1]*e)}i.zoom(null,t)}}))}function U(t,n,e){return!e&&t.__zooming||new z(t,n)}function z(t,n){this.that=t,this.args=n,this.active=0,this.extent=g.apply(t,n),this.taps=0}function Y(){if(e.apply(this,arguments)){var t=U(this,arguments),n=this.__zoom,r=Math.max(O[0],Math.min(O[1],n.k*Math.pow(2,M.apply(this,arguments)))),i=Object(u.a)(this);if(t.wheel)t.mouse[0][0]===i[0]&&t.mouse[0][1]===i[1]||(t.mouse[1]=n.invert(t.mouse[0]=i)),clearTimeout(t.wheel);else{if(n.k===r)return;t.mouse=[i,n.invert(i)],Object(s.interrupt)(this),t.start()}y(),t.wheel=setTimeout((function(){t.wheel=null,t.end()}),S),t.zoom("mouse",E(D(R(n,r),t.mouse[0],t.mouse[1]),t.extent,B))}}function q(){if(!n&&e.apply(this,arguments)){var t=U(this,arguments,!0),r=Object(c.a)(a.c.view).on("mousemove.zoom",(function(){if(y(),!t.moved){var n=a.c.clientX-f,e=a.c.clientY-l;t.moved=n*n+e*e>j}t.zoom("mouse",E(D(t.that.__zoom,t.mouse[0]=Object(u.a)(t.that),t.mouse[1]),t.extent,B))}),!0).on("mouseup.zoom",(function(){r.on("mousemove.zoom mouseup.zoom",null),Object(i.b)(a.c.view,t.moved),y(),t.end()}),!0),o=Object(u.a)(this),f=a.c.clientX,l=a.c.clientY;Object(i.a)(a.c.view),v(),t.mouse=[o,this.__zoom.invert(o)],Object(s.interrupt)(this),t.start()}}function H(){if(e.apply(this,arguments)){var t=this.__zoom,n=Object(u.a)(this),r=t.invert(n),i=t.k*(a.c.shiftKey?.5:2),o=E(D(R(t,i),n,r),g.apply(this,arguments),B);y(),F>0?Object(c.a)(this).transition().duration(F).call(I,o,n):Object(c.a)(this).call(P.transform,o)}}function $(){if(e.apply(this,arguments)){var n,r,i,o,u=a.c.touches,c=u.length,l=U(this,arguments,a.c.changedTouches.length===c);for(v(),r=0;r<c;++r)i=u[r],o=[o=Object(f.a)(this,u,i.identifier),this.__zoom.invert(o),i.identifier],l.touch0?l.touch1||l.touch0[2]===o[2]||(l.touch1=o,l.taps=0):(l.touch0=o,n=!0,l.taps=1+!!t);t&&(t=clearTimeout(t)),n&&(l.taps<2&&(t=setTimeout((function(){t=null}),C)),Object(s.interrupt)(this),l.start())}}function V(){if(this.__zooming){var n,e,r,i,o=U(this,arguments),u=a.c.changedTouches,c=u.length;for(y(),t&&(t=clearTimeout(t)),o.taps=0,n=0;n<c;++n)e=u[n],r=Object(f.a)(this,u,e.identifier),o.touch0&&o.touch0[2]===e.identifier?o.touch0[0]=r:o.touch1&&o.touch1[2]===e.identifier&&(o.touch1[0]=r);if(e=o.that.__zoom,o.touch1){var s=o.touch0[0],l=o.touch0[1],h=o.touch1[0],d=o.touch1[1],p=(p=h[0]-s[0])*p+(p=h[1]-s[1])*p,g=(g=d[0]-l[0])*g+(g=d[1]-l[1])*g;e=R(e,Math.sqrt(p/g)),r=[(s[0]+h[0])/2,(s[1]+h[1])/2],i=[(l[0]+d[0])/2,(l[1]+d[1])/2]}else{if(!o.touch0)return;r=o.touch0[0],i=o.touch0[1]}o.zoom("touch",E(D(e,r,i),o.extent,B))}}function G(){if(this.__zooming){var t,e,r=U(this,arguments),i=a.c.changedTouches,o=i.length;for(v(),n&&clearTimeout(n),n=setTimeout((function(){n=null}),C),t=0;t<o;++t)e=i[t],r.touch0&&r.touch0[2]===e.identifier?delete r.touch0:r.touch1&&r.touch1[2]===e.identifier&&delete r.touch1;if(r.touch1&&!r.touch0&&(r.touch0=r.touch1,delete r.touch1),r.touch0)r.touch0[1]=this.__zoom.invert(r.touch0[0]);else if(r.end(),2===r.taps){var u=Object(c.a)(this).on("dblclick.zoom");u&&u.apply(this,arguments)}}}return P.transform=function(t,n,e){var r=t.selection?t.selection():t;r.property("__zoom",x),t!==r?I(t,n,e):r.interrupt().each((function(){U(this,arguments).start().zoom(null,"function"==typeof n?n.apply(this,arguments):n).end()}))},P.scaleBy=function(t,n,e){P.scaleTo(t,(function(){var t=this.__zoom.k,e="function"==typeof n?n.apply(this,arguments):n;return t*e}),e)},P.scaleTo=function(t,n,e){P.transform(t,(function(){var t=g.apply(this,arguments),r=this.__zoom,i=null==e?L(t):"function"==typeof e?e.apply(this,arguments):e,o=r.invert(i),a="function"==typeof n?n.apply(this,arguments):n;return E(D(R(r,a),i,o),t,B)}),e)},P.translateBy=function(t,n,e){P.transform(t,(function(){return E(this.__zoom.translate("function"==typeof n?n.apply(this,arguments):n,"function"==typeof e?e.apply(this,arguments):e),g.apply(this,arguments),B)}))},P.translateTo=function(t,n,e,r){P.transform(t,(function(){var t=g.apply(this,arguments),i=this.__zoom,o=null==r?L(t):"function"==typeof r?r.apply(this,arguments):r;return E(p.translate(o[0],o[1]).scale(i.k).translate("function"==typeof n?-n.apply(this,arguments):-n,"function"==typeof e?-e.apply(this,arguments):-e),t,B)}),r)},z.prototype={start:function(){return 1==++this.active&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(t,n){return this.mouse&&"mouse"!==t&&(this.mouse[1]=n.invert(this.mouse[0])),this.touch0&&"touch"!==t&&(this.touch0[1]=n.invert(this.touch0[0])),this.touch1&&"touch"!==t&&(this.touch1[1]=n.invert(this.touch1[0])),this.that.__zoom=n,this.emit("zoom"),this},end:function(){return 0==--this.active&&(delete this.that.__zooming,this.emit("end")),this},emit:function(t){Object(a.a)(new h(P,t,this.that.__zoom),N.apply,N,[t,this.that,this.args])}},P.wheelDelta=function(t){return arguments.length?(M="function"==typeof t?t:l(+t),P):M},P.filter=function(t){return arguments.length?(e="function"==typeof t?t:l(!!t),P):e},P.touchable=function(t){return arguments.length?(k="function"==typeof t?t:l(!!t),P):k},P.extent=function(t){return arguments.length?(g="function"==typeof t?t:l([[+t[0][0],+t[0][1]],[+t[1][0],+t[1][1]]]),P):g},P.scaleExtent=function(t){return arguments.length?(O[0]=+t[0],O[1]=+t[1],P):[O[0],O[1]]},P.translateExtent=function(t){return arguments.length?(B[0][0]=+t[0][0],B[1][0]=+t[1][0],B[0][1]=+t[0][1],B[1][1]=+t[1][1],P):[[B[0][0],B[0][1]],[B[1][0],B[1][1]]]},P.constrain=function(t){return arguments.length?(E=t,P):E},P.duration=function(t){return arguments.length?(F=+t,P):F},P.interpolate=function(t){return arguments.length?(T=t,P):T},P.on=function(){var t=N.on.apply(N,arguments);return t===N?P:t},P.clickDistance=function(t){return arguments.length?(j=(t=+t)*t,P):Math.sqrt(j)},P};e.d(n,"zoom",(function(){return E})),e.d(n,"zoomTransform",(function(){return g})),e.d(n,"zoomIdentity",(function(){return p}))},1419:function(t,n,e){"use strict";e.r(n);var r=e(653),i=e(249),o=e(248),a=e(655),u=e(141),c=e(255),f=e(656),s=e(210),l=function(t){return function(){return t}},h=function(t,n,e){this.target=t,this.type=n,this.selection=e};function d(){u.c.stopImmediatePropagation()}var p=function(){u.c.preventDefault(),u.c.stopImmediatePropagation()},g={name:"drag"},v={name:"space"},y={name:"handle"},m={name:"center"};function b(t){return[+t[0],+t[1]]}function x(t){return[b(t[0]),b(t[1])]}var _={name:"x",handles:["w","e"].map(F),input:function(t,n){return null==t?null:[[+t[0],n[0][1]],[+t[1],n[1][1]]]},output:function(t){return t&&[t[0][0],t[1][0]]}},w={name:"y",handles:["n","s"].map(F),input:function(t,n){return null==t?null:[[n[0][0],+t[0]],[n[1][0],+t[1]]]},output:function(t){return t&&[t[0][1],t[1][1]]}},A={name:"xy",handles:["n","w","e","s","nw","ne","sw","se"].map(F),input:function(t){return null==t?null:x(t)},output:function(t){return t}},E={overlay:"crosshair",selection:"move",n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},M={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},k={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},O={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},B={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1};function F(t){return{type:t}}function T(){return!u.c.ctrlKey&&!u.c.button}function N(){var t=this.ownerSVGElement||this;return t.hasAttribute("viewBox")?[[(t=t.viewBox.baseVal).x,t.y],[t.x+t.width,t.y+t.height]]:[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]}function C(){return navigator.maxTouchPoints||"ontouchstart"in this}function S(t){for(;!t.__brush;)if(!(t=t.parentNode))return;return t.__brush}function j(t){var n=t.__brush;return n?n.dim.output(n.selection):null}function P(){return L(_)}function R(){return L(w)}var D=function(){return L(A)};function L(t){var n,e=N,b=T,A=C,j=!0,P=Object(r.a)("start","brush","end"),R=6;function D(n){var e=n.property("__brush",H).selectAll(".overlay").data([F("overlay")]);e.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",E.overlay).merge(e).each((function(){var t=S(this).extent;Object(c.a)(this).attr("x",t[0][0]).attr("y",t[0][1]).attr("width",t[1][0]-t[0][0]).attr("height",t[1][1]-t[0][1])})),n.selectAll(".selection").data([F("selection")]).enter().append("rect").attr("class","selection").attr("cursor",E.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");var r=n.selectAll(".handle").data(t.handles,(function(t){return t.type}));r.exit().remove(),r.enter().append("rect").attr("class",(function(t){return"handle handle--"+t.type})).attr("cursor",(function(t){return E[t.type]})),n.each(L).attr("fill","none").attr("pointer-events","all").on("mousedown.brush",z).filter(A).on("touchstart.brush",z).on("touchmove.brush",Y).on("touchend.brush touchcancel.brush",q).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function L(){var t=Object(c.a)(this),n=S(this).selection;n?(t.selectAll(".selection").style("display",null).attr("x",n[0][0]).attr("y",n[0][1]).attr("width",n[1][0]-n[0][0]).attr("height",n[1][1]-n[0][1]),t.selectAll(".handle").style("display",null).attr("x",(function(t){return"e"===t.type[t.type.length-1]?n[1][0]-R/2:n[0][0]-R/2})).attr("y",(function(t){return"s"===t.type[0]?n[1][1]-R/2:n[0][1]-R/2})).attr("width",(function(t){return"n"===t.type||"s"===t.type?n[1][0]-n[0][0]+R:R})).attr("height",(function(t){return"e"===t.type||"w"===t.type?n[1][1]-n[0][1]+R:R}))):t.selectAll(".selection,.handle").style("display","none").attr("x",null).attr("y",null).attr("width",null).attr("height",null)}function I(t,n,e){return!e&&t.__brush.emitter||new U(t,n)}function U(t,n){this.that=t,this.args=n,this.state=t.__brush,this.active=0}function z(){if((!n||u.c.touches)&&b.apply(this,arguments)){var e,r,o,l,h,x,A,F,T,N,C,P,R=this,D=u.c.target.__data__.type,U="selection"===(j&&u.c.metaKey?D="overlay":D)?g:j&&u.c.altKey?m:y,z=t===w?null:O[D],Y=t===_?null:B[D],q=S(R),H=q.extent,$=q.selection,V=H[0][0],G=H[0][1],W=H[1][0],X=H[1][1],J=0,Z=0,Q=z&&Y&&j&&u.c.shiftKey,K=u.c.touches?(P=u.c.changedTouches[0].identifier,function(t){return Object(a.a)(t,u.c.touches,P)}):f.a,tt=K(R),nt=tt,et=I(R,arguments,!0).beforestart();"overlay"===D?($&&(T=!0),q.selection=$=[[e=t===w?V:tt[0],o=t===_?G:tt[1]],[h=t===w?W:e,A=t===_?X:o]]):(e=$[0][0],o=$[0][1],h=$[1][0],A=$[1][1]),r=e,l=o,x=h,F=A;var rt=Object(c.a)(R).attr("pointer-events","none"),it=rt.selectAll(".overlay").attr("cursor",E[D]);if(u.c.touches)et.moved=at,et.ended=ct;else{var ot=Object(c.a)(u.c.view).on("mousemove.brush",at,!0).on("mouseup.brush",ct,!0);j&&ot.on("keydown.brush",(function(){switch(u.c.keyCode){case 16:Q=z&&Y;break;case 18:U===y&&(z&&(h=x-J*z,e=r+J*z),Y&&(A=F-Z*Y,o=l+Z*Y),U=m,ut());break;case 32:U!==y&&U!==m||(z<0?h=x-J:z>0&&(e=r-J),Y<0?A=F-Z:Y>0&&(o=l-Z),U=v,it.attr("cursor",E.selection),ut());break;default:return}p()}),!0).on("keyup.brush",(function(){switch(u.c.keyCode){case 16:Q&&(N=C=Q=!1,ut());break;case 18:U===m&&(z<0?h=x:z>0&&(e=r),Y<0?A=F:Y>0&&(o=l),U=y,ut());break;case 32:U===v&&(u.c.altKey?(z&&(h=x-J*z,e=r+J*z),Y&&(A=F-Z*Y,o=l+Z*Y),U=m):(z<0?h=x:z>0&&(e=r),Y<0?A=F:Y>0&&(o=l),U=y),it.attr("cursor",E[D]),ut());break;default:return}p()}),!0),Object(i.a)(u.c.view)}d(),Object(s.interrupt)(R),L.call(R),et.start()}function at(){var t=K(R);!Q||N||C||(Math.abs(t[0]-nt[0])>Math.abs(t[1]-nt[1])?C=!0:N=!0),nt=t,T=!0,p(),ut()}function ut(){var t;switch(J=nt[0]-tt[0],Z=nt[1]-tt[1],U){case v:case g:z&&(J=Math.max(V-e,Math.min(W-h,J)),r=e+J,x=h+J),Y&&(Z=Math.max(G-o,Math.min(X-A,Z)),l=o+Z,F=A+Z);break;case y:z<0?(J=Math.max(V-e,Math.min(W-e,J)),r=e+J,x=h):z>0&&(J=Math.max(V-h,Math.min(W-h,J)),r=e,x=h+J),Y<0?(Z=Math.max(G-o,Math.min(X-o,Z)),l=o+Z,F=A):Y>0&&(Z=Math.max(G-A,Math.min(X-A,Z)),l=o,F=A+Z);break;case m:z&&(r=Math.max(V,Math.min(W,e-J*z)),x=Math.max(V,Math.min(W,h+J*z))),Y&&(l=Math.max(G,Math.min(X,o-Z*Y)),F=Math.max(G,Math.min(X,A+Z*Y)))}x<r&&(z*=-1,t=e,e=h,h=t,t=r,r=x,x=t,D in M&&it.attr("cursor",E[D=M[D]])),F<l&&(Y*=-1,t=o,o=A,A=t,t=l,l=F,F=t,D in k&&it.attr("cursor",E[D=k[D]])),q.selection&&($=q.selection),N&&(r=$[0][0],x=$[1][0]),C&&(l=$[0][1],F=$[1][1]),$[0][0]===r&&$[0][1]===l&&$[1][0]===x&&$[1][1]===F||(q.selection=[[r,l],[x,F]],L.call(R),et.brush())}function ct(){if(d(),u.c.touches){if(u.c.touches.length)return;n&&clearTimeout(n),n=setTimeout((function(){n=null}),500)}else Object(i.b)(u.c.view,T),ot.on("keydown.brush keyup.brush mousemove.brush mouseup.brush",null);rt.attr("pointer-events","all"),it.attr("cursor",E.overlay),q.selection&&($=q.selection),function(t){return t[0][0]===t[1][0]||t[0][1]===t[1][1]}($)&&(q.selection=null,L.call(R)),et.end()}}function Y(){I(this,arguments).moved()}function q(){I(this,arguments).ended()}function H(){var n=this.__brush||{selection:null};return n.extent=x(e.apply(this,arguments)),n.dim=t,n}return D.move=function(n,e){n.selection?n.on("start.brush",(function(){I(this,arguments).beforestart().start()})).on("interrupt.brush end.brush",(function(){I(this,arguments).end()})).tween("brush",(function(){var n=this,r=n.__brush,i=I(n,arguments),a=r.selection,u=t.input("function"==typeof e?e.apply(this,arguments):e,r.extent),c=Object(o.a)(a,u);function f(t){r.selection=1===t&&null===u?null:c(t),L.call(n),i.brush()}return null!==a&&null!==u?f:f(1)})):n.each((function(){var n=this,r=arguments,i=n.__brush,o=t.input("function"==typeof e?e.apply(n,r):e,i.extent),a=I(n,r).beforestart();Object(s.interrupt)(n),i.selection=null===o?null:o,L.call(n),a.start().brush().end()}))},D.clear=function(t){D.move(t,null)},U.prototype={beforestart:function(){return 1==++this.active&&(this.state.emitter=this,this.starting=!0),this},start:function(){return this.starting?(this.starting=!1,this.emit("start")):this.emit("brush"),this},brush:function(){return this.emit("brush"),this},end:function(){return 0==--this.active&&(delete this.state.emitter,this.emit("end")),this},emit:function(n){Object(u.a)(new h(D,n,t.output(this.state.selection)),P.apply,P,[n,this.that,this.args])}},D.extent=function(t){return arguments.length?(e="function"==typeof t?t:l(x(t)),D):e},D.filter=function(t){return arguments.length?(b="function"==typeof t?t:l(!!t),D):b},D.touchable=function(t){return arguments.length?(A="function"==typeof t?t:l(!!t),D):A},D.handleSize=function(t){return arguments.length?(R=+t,D):R},D.keyModifiers=function(t){return arguments.length?(j=!!t,D):j},D.on=function(){var t=P.on.apply(P,arguments);return t===P?D:t},D}e.d(n,"brush",(function(){return D})),e.d(n,"brushX",(function(){return P})),e.d(n,"brushY",(function(){return R})),e.d(n,"brushSelection",(function(){return j}))},142:function(t,n,e){"use strict";var r=e(224);n.a=function(t){return(t=Object(r.a)(Math.abs(t)))?t[1]:NaN}},1420:function(t,n,e){"use strict";e.r(n);var r=Array.prototype.slice,i=function(t){return t},o=1,a=2,u=3,c=4,f=1e-6;function s(t){return"translate("+(t+.5)+",0)"}function l(t){return"translate(0,"+(t+.5)+")"}function h(t){return function(n){return+t(n)}}function d(t){var n=Math.max(0,t.bandwidth()-1)/2;return t.round()&&(n=Math.round(n)),function(e){return+t(e)+n}}function p(){return!this.__axis}function g(t,n){var e=[],g=null,v=null,y=6,m=6,b=3,x=t===o||t===c?-1:1,_=t===c||t===a?"x":"y",w=t===o||t===u?s:l;function A(r){var s=null==g?n.ticks?n.ticks.apply(n,e):n.domain():g,l=null==v?n.tickFormat?n.tickFormat.apply(n,e):i:v,A=Math.max(y,0)+b,E=n.range(),M=+E[0]+.5,k=+E[E.length-1]+.5,O=(n.bandwidth?d:h)(n.copy()),B=r.selection?r.selection():r,F=B.selectAll(".domain").data([null]),T=B.selectAll(".tick").data(s,n).order(),N=T.exit(),C=T.enter().append("g").attr("class","tick"),S=T.select("line"),j=T.select("text");F=F.merge(F.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),T=T.merge(C),S=S.merge(C.append("line").attr("stroke","currentColor").attr(_+"2",x*y)),j=j.merge(C.append("text").attr("fill","currentColor").attr(_,x*A).attr("dy",t===o?"0em":t===u?"0.71em":"0.32em")),r!==B&&(F=F.transition(r),T=T.transition(r),S=S.transition(r),j=j.transition(r),N=N.transition(r).attr("opacity",f).attr("transform",(function(t){return isFinite(t=O(t))?w(t):this.getAttribute("transform")})),C.attr("opacity",f).attr("transform",(function(t){var n=this.parentNode.__axis;return w(n&&isFinite(n=n(t))?n:O(t))}))),N.remove(),F.attr("d",t===c||t==a?m?"M"+x*m+","+M+"H0.5V"+k+"H"+x*m:"M0.5,"+M+"V"+k:m?"M"+M+","+x*m+"V0.5H"+k+"V"+x*m:"M"+M+",0.5H"+k),T.attr("opacity",1).attr("transform",(function(t){return w(O(t))})),S.attr(_+"2",x*y),j.attr(_,x*A).text(l),B.filter(p).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===a?"start":t===c?"end":"middle"),B.each((function(){this.__axis=O}))}return A.scale=function(t){return arguments.length?(n=t,A):n},A.ticks=function(){return e=r.call(arguments),A},A.tickArguments=function(t){return arguments.length?(e=null==t?[]:r.call(t),A):e.slice()},A.tickValues=function(t){return arguments.length?(g=null==t?null:r.call(t),A):g&&g.slice()},A.tickFormat=function(t){return arguments.length?(v=t,A):v},A.tickSize=function(t){return arguments.length?(y=m=+t,A):y},A.tickSizeInner=function(t){return arguments.length?(y=+t,A):y},A.tickSizeOuter=function(t){return arguments.length?(m=+t,A):m},A.tickPadding=function(t){return arguments.length?(b=+t,A):b},A}function v(t){return g(o,t)}function y(t){return g(a,t)}function m(t){return g(u,t)}function b(t){return g(c,t)}e.d(n,"axisTop",(function(){return v})),e.d(n,"axisRight",(function(){return y})),e.d(n,"axisBottom",(function(){return m})),e.d(n,"axisLeft",(function(){return b}))},143:function(t,n,e){"use strict";var r=e(246),i=e(397),o=e(396),a=function(t){return new Array(t.length)};function u(t,n){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=n}u.prototype={constructor:u,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,n){return this._parent.insertBefore(t,n)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var c="$";function f(t,n,e,r,i,o){for(var a,c=0,f=n.length,s=o.length;c<s;++c)(a=n[c])?(a.__data__=o[c],r[c]=a):e[c]=new u(t,o[c]);for(;c<f;++c)(a=n[c])&&(i[c]=a)}function s(t,n,e,r,i,o,a){var f,s,l,h={},d=n.length,p=o.length,g=new Array(d);for(f=0;f<d;++f)(s=n[f])&&(g[f]=l=c+a.call(s,s.__data__,f,n),l in h?i[f]=s:h[l]=s);for(f=0;f<p;++f)(s=h[l=c+a.call(t,o[f],f,o)])?(r[f]=s,s.__data__=o[f],h[l]=null):e[f]=new u(t,o[f]);for(f=0;f<d;++f)(s=n[f])&&h[g[f]]===s&&(i[f]=s)}function l(t,n){return t<n?-1:t>n?1:t>=n?0:NaN}var h=e(245);function d(t){return function(){this.removeAttribute(t)}}function p(t){return function(){this.removeAttributeNS(t.space,t.local)}}function g(t,n){return function(){this.setAttribute(t,n)}}function v(t,n){return function(){this.setAttributeNS(t.space,t.local,n)}}function y(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttribute(t):this.setAttribute(t,e)}}function m(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,e)}}var b=e(398);function x(t){return function(){delete this[t]}}function _(t,n){return function(){this[t]=n}}function w(t,n){return function(){var e=n.apply(this,arguments);null==e?delete this[t]:this[t]=e}}function A(t){return t.trim().split(/^|\s+/)}function E(t){return t.classList||new M(t)}function M(t){this._node=t,this._names=A(t.getAttribute("class")||"")}function k(t,n){for(var e=E(t),r=-1,i=n.length;++r<i;)e.add(n[r])}function O(t,n){for(var e=E(t),r=-1,i=n.length;++r<i;)e.remove(n[r])}function B(t){return function(){k(this,t)}}function F(t){return function(){O(this,t)}}function T(t,n){return function(){(n.apply(this,arguments)?k:O)(this,t)}}M.prototype={add:function(t){this._names.indexOf(t)<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var n=this._names.indexOf(t);n>=0&&(this._names.splice(n,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};function N(){this.textContent=""}function C(t){return function(){this.textContent=t}}function S(t){return function(){var n=t.apply(this,arguments);this.textContent=null==n?"":n}}function j(){this.innerHTML=""}function P(t){return function(){this.innerHTML=t}}function R(t){return function(){var n=t.apply(this,arguments);this.innerHTML=null==n?"":n}}function D(){this.nextSibling&&this.parentNode.appendChild(this)}function L(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}var I=e(202);function U(){return null}function z(){var t=this.parentNode;t&&t.removeChild(this)}function Y(){var t=this.cloneNode(!1),n=this.parentNode;return n?n.insertBefore(t,this.nextSibling):t}function q(){var t=this.cloneNode(!0),n=this.parentNode;return n?n.insertBefore(t,this.nextSibling):t}var H=e(141),$=e(247);function V(t,n,e){var r=Object($.a)(t),i=r.CustomEvent;"function"==typeof i?i=new i(n,e):(i=r.document.createEvent("Event"),e?(i.initEvent(n,e.bubbles,e.cancelable),i.detail=e.detail):i.initEvent(n,!1,!1)),t.dispatchEvent(i)}function G(t,n){return function(){return V(this,t,n)}}function W(t,n){return function(){return V(this,t,n.apply(this,arguments))}}e.d(n,"c",(function(){return X})),e.d(n,"a",(function(){return J}));var X=[null];function J(t,n){this._groups=t,this._parents=n}function Z(){return new J([[document.documentElement]],X)}J.prototype=Z.prototype={constructor:J,select:function(t){"function"!=typeof t&&(t=Object(r.a)(t));for(var n=this._groups,e=n.length,i=new Array(e),o=0;o<e;++o)for(var a,u,c=n[o],f=c.length,s=i[o]=new Array(f),l=0;l<f;++l)(a=c[l])&&(u=t.call(a,a.__data__,l,c))&&("__data__"in a&&(u.__data__=a.__data__),s[l]=u);return new J(i,this._parents)},selectAll:function(t){"function"!=typeof t&&(t=Object(i.a)(t));for(var n=this._groups,e=n.length,r=[],o=[],a=0;a<e;++a)for(var u,c=n[a],f=c.length,s=0;s<f;++s)(u=c[s])&&(r.push(t.call(u,u.__data__,s,c)),o.push(u));return new J(r,o)},filter:function(t){"function"!=typeof t&&(t=Object(o.a)(t));for(var n=this._groups,e=n.length,r=new Array(e),i=0;i<e;++i)for(var a,u=n[i],c=u.length,f=r[i]=[],s=0;s<c;++s)(a=u[s])&&t.call(a,a.__data__,s,u)&&f.push(a);return new J(r,this._parents)},data:function(t,n){if(!t)return v=new Array(this.size()),h=-1,this.each((function(t){v[++h]=t})),v;var e,r=n?s:f,i=this._parents,o=this._groups;"function"!=typeof t&&(e=t,t=function(){return e});for(var a=o.length,u=new Array(a),c=new Array(a),l=new Array(a),h=0;h<a;++h){var d=i[h],p=o[h],g=p.length,v=t.call(d,d&&d.__data__,h,i),y=v.length,m=c[h]=new Array(y),b=u[h]=new Array(y);r(d,p,m,b,l[h]=new Array(g),v,n);for(var x,_,w=0,A=0;w<y;++w)if(x=m[w]){for(w>=A&&(A=w+1);!(_=b[A])&&++A<y;);x._next=_||null}}return(u=new J(u,i))._enter=c,u._exit=l,u},enter:function(){return new J(this._enter||this._groups.map(a),this._parents)},exit:function(){return new J(this._exit||this._groups.map(a),this._parents)},join:function(t,n,e){var r=this.enter(),i=this,o=this.exit();return r="function"==typeof t?t(r):r.append(t+""),null!=n&&(i=n(i)),null==e?o.remove():e(o),r&&i?r.merge(i).order():i},merge:function(t){for(var n=this._groups,e=t._groups,r=n.length,i=e.length,o=Math.min(r,i),a=new Array(r),u=0;u<o;++u)for(var c,f=n[u],s=e[u],l=f.length,h=a[u]=new Array(l),d=0;d<l;++d)(c=f[d]||s[d])&&(h[d]=c);for(;u<r;++u)a[u]=n[u];return new J(a,this._parents)},order:function(){for(var t=this._groups,n=-1,e=t.length;++n<e;)for(var r,i=t[n],o=i.length-1,a=i[o];--o>=0;)(r=i[o])&&(a&&4^r.compareDocumentPosition(a)&&a.parentNode.insertBefore(r,a),a=r);return this},sort:function(t){function n(n,e){return n&&e?t(n.__data__,e.__data__):!n-!e}t||(t=l);for(var e=this._groups,r=e.length,i=new Array(r),o=0;o<r;++o){for(var a,u=e[o],c=u.length,f=i[o]=new Array(c),s=0;s<c;++s)(a=u[s])&&(f[s]=a);f.sort(n)}return new J(i,this._parents).order()},call:function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},nodes:function(){var t=new Array(this.size()),n=-1;return this.each((function(){t[++n]=this})),t},node:function(){for(var t=this._groups,n=0,e=t.length;n<e;++n)for(var r=t[n],i=0,o=r.length;i<o;++i){var a=r[i];if(a)return a}return null},size:function(){var t=0;return this.each((function(){++t})),t},empty:function(){return!this.node()},each:function(t){for(var n=this._groups,e=0,r=n.length;e<r;++e)for(var i,o=n[e],a=0,u=o.length;a<u;++a)(i=o[a])&&t.call(i,i.__data__,a,o);return this},attr:function(t,n){var e=Object(h.a)(t);if(arguments.length<2){var r=this.node();return e.local?r.getAttributeNS(e.space,e.local):r.getAttribute(e)}return this.each((null==n?e.local?p:d:"function"==typeof n?e.local?m:y:e.local?v:g)(e,n))},style:b.a,property:function(t,n){return arguments.length>1?this.each((null==n?x:"function"==typeof n?w:_)(t,n)):this.node()[t]},classed:function(t,n){var e=A(t+"");if(arguments.length<2){for(var r=E(this.node()),i=-1,o=e.length;++i<o;)if(!r.contains(e[i]))return!1;return!0}return this.each(("function"==typeof n?T:n?B:F)(e,n))},text:function(t){return arguments.length?this.each(null==t?N:("function"==typeof t?S:C)(t)):this.node().textContent},html:function(t){return arguments.length?this.each(null==t?j:("function"==typeof t?R:P)(t)):this.node().innerHTML},raise:function(){return this.each(D)},lower:function(){return this.each(L)},append:function(t){var n="function"==typeof t?t:Object(I.a)(t);return this.select((function(){return this.appendChild(n.apply(this,arguments))}))},insert:function(t,n){var e="function"==typeof t?t:Object(I.a)(t),i=null==n?U:"function"==typeof n?n:Object(r.a)(n);return this.select((function(){return this.insertBefore(e.apply(this,arguments),i.apply(this,arguments)||null)}))},remove:function(){return this.each(z)},clone:function(t){return this.select(t?q:Y)},datum:function(t){return arguments.length?this.property("__data__",t):this.node().__data__},on:H.b,dispatch:function(t,n){return this.each(("function"==typeof n?W:G)(t,n))}};n.b=Z},15:function(t,n,e){"use strict";e.d(n,"b",(function(){return o})),e.d(n,"a",(function(){return a}));var r=e(0),i=e(8);
/**
 * Base64 functions.
 *
 * @author n1474335 [n1474335@gmail.com]
 * @copyright Crown Copyright 2016
 * @license Apache-2.0
 */
function o(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"A-Za-z0-9+/=";if(!t)return"";if(t instanceof ArrayBuffer&&(t=new Uint8Array(t)),"string"==typeof t&&(t=r.b.strToByteArray(t)),64!==(n=r.b.expandAlphRange(n).join("")).length&&65!==n.length)throw new i.a(`Invalid Base64 alphabet length (${n.length}): ${n}`);for(var e,o,a,u,c,f,s,l="",h=0;h<t.length;)u=(e=t[h++])>>2,c=(3&e)<<4|(o=t[h++])>>4,f=(15&o)<<2|(a=t[h++])>>6,s=63&a,isNaN(o)?f=s=64:isNaN(a)&&(s=64),l+=n.charAt(u)+n.charAt(c)+n.charAt(f)+n.charAt(s);return l}function a(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"A-Za-z0-9+/=",e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"string",o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(!t)return"string"===e?"":[];if(n=n||"A-Za-z0-9+/=",64!==(n=r.b.expandAlphRange(n).join("")).length&&65!==n.length)throw new i.a(`Invalid Base64 alphabet length (${n.length}): ${n}`);var a,u,c,f,s,l,h=[],d=0;if(o){var p=new RegExp("[^"+n.replace(/[[\]\\\-^$]/g,"\\$&")+"]","g");t=t.replace(p,"")}for(;d<t.length;)a=n.indexOf(t.charAt(d++))<<2|(f=-1===(f=n.indexOf(t.charAt(d++)||"="))?64:f)>>4,u=(15&f)<<4|(s=-1===(s=n.indexOf(t.charAt(d++)||"="))?64:s)>>2,c=(3&s)<<6|(l=-1===(l=n.indexOf(t.charAt(d++)||"="))?64:l),h.push(a),64!==s&&h.push(u),64!==l&&h.push(c);return"string"===e?r.b.byteArrayToUtf8(h):h}},158:function(t,n,e){"use strict";e.d(n,"b",(function(){return p})),e.d(n,"a",(function(){return v})),e.d(n,"c",(function(){return y})),e.d(n,"d",(function(){return m}));var r,i,o=0,a=0,u=0,c=1e3,f=0,s=0,l=0,h="object"==typeof performance&&performance.now?performance:Date,d="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function p(){return s||(d(g),s=h.now()+l)}function g(){s=0}function v(){this._call=this._time=this._next=null}function y(t,n,e){var r=new v;return r.restart(t,n,e),r}function m(){p(),++o;for(var t,n=r;n;)(t=s-n._time)>=0&&n._call.call(null,t),n=n._next;--o}function b(){s=(f=h.now())+l,o=a=0;try{m()}finally{o=0,function(){var t,n,e=r,o=1/0;for(;e;)e._call?(o>e._time&&(o=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:r=n);i=t,_(o)}(),s=0}}function x(){var t=h.now(),n=t-f;n>c&&(l-=n,f=t)}function _(t){o||(a&&(a=clearTimeout(a)),t-s>24?(t<1/0&&(a=setTimeout(b,t-h.now()-l)),u&&(u=clearInterval(u))):(u||(f=h.now(),u=setInterval(x,c)),o=1,d(b)))}v.prototype=y.prototype={constructor:v,restart:function(t,n,e){if("function"!=typeof t)throw new TypeError("callback is not a function");e=(null==e?p():+e)+(null==n?0:+n),this._next||i===this||(i?i._next=this:r=this,i=this),this._call=t,this._time=e,_()},stop:function(){this._call&&(this._call=null,this._time=1/0,_())}}},16:function(t,n,e){"use strict";e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return o})),e.d(n,"a",(function(){return a}));var r=e(0);
/**
 * Hexadecimal functions.
 *
 * @author n1474335 [n1474335@gmail.com]
 * @copyright Crown Copyright 2016
 * @license Apache-2.0
 */function i(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:" ",e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;if(!t)return"";t instanceof ArrayBuffer&&(t=new Uint8Array(t));for(var o="",a="0x"===n||"\\x"===n,u=0;u<t.length;u++){var c=t[u].toString(16).padStart(e,"0");o+=a?n+c:c+n,r&&(o+=r),u!==t.length-1&&(u+1)%i==0&&(o+="\n")}var f=r.length+(a?0:n.length);return f?o.slice(0,-f):o}function o(t){if(!t)return"";t instanceof ArrayBuffer&&(t=new Uint8Array(t));for(var n=[],e=0;e<t.length;e++)n.push((t[e]>>>4).toString(16)),n.push((15&t[e]).toString(16));return n.join("")}function a(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Auto",e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2;if("None"!==n){var i="Auto"===n?/[^a-f\d]|(0x)/gi:r.b.regexRep(n);t=t.replace(i,"")}for(var o=[],a=0;a<t.length;a+=e)o.push(parseInt(t.substr(a,e),16));return o}["Auto"].concat(["Space","Percent","Comma","Semi-colon","Colon","Line feed","CRLF","0x","0x with comma","\\x","None"])},164:function(t,n,e){"use strict";e.d(n,"f",(function(){return o})),e.d(n,"g",(function(){return a})),e.d(n,"a",(function(){return u})),e.d(n,"b",(function(){return c})),e.d(n,"d",(function(){return f})),e.d(n,"c",(function(){return s})),e.d(n,"e",(function(){return l}));var r=e(250),i=Object(r.a)(","),o=i.parse,a=i.parseRows,u=i.format,c=i.formatBody,f=i.formatRows,s=i.formatRow,l=i.formatValue},165:function(t,n,e){"use strict";e.d(n,"f",(function(){return o})),e.d(n,"g",(function(){return a})),e.d(n,"a",(function(){return u})),e.d(n,"b",(function(){return c})),e.d(n,"d",(function(){return f})),e.d(n,"c",(function(){return s})),e.d(n,"e",(function(){return l}));var r=e(250),i=Object(r.a)("\t"),o=i.parse,a=i.parseRows,u=i.format,c=i.formatBody,f=i.formatRows,s=i.formatRow,l=i.formatValue},18:function(t,n,e){"use strict";var r=e(12),i=e.n(r),o=e(7),a={Images:[{name:"Joint Photographic Experts Group image",extension:"jpg,jpeg,jpe,thm,mpo",mime:"image/jpeg",description:"",signature:{0:255,1:216,2:255,3:[192,196,219,221,224,225,226,227,228,229,231,232,234,235,236,237,238,254]},extractor:function(t,n){var e=new o.a(t.slice(n));for(;e.hasMore();){var r=e.getBytes(2);if(255!==r[0])throw new Error(`Invalid marker while parsing JPEG at pos ${e.position}: ${r}`);var i=0;switch(r[1]){case 216:case 1:break;case 217:return e.carve();case 192:case 193:case 194:case 195:case 196:case 197:case 198:case 199:case 200:case 201:case 202:case 203:case 204:case 205:case 206:case 207:case 219:case 222:case 224:case 225:case 226:case 227:case 228:case 229:case 230:case 231:case 232:case 233:case 234:case 235:case 236:case 237:case 238:case 239:case 254:i=e.readInt(2,"be"),e.position+=i-2;break;case 223:e.position++;break;case 220:case 221:e.position+=2;break;case 218:i=e.readInt(2,"be"),e.position+=i-2,e.continueUntil(255);break;case 0:case 208:case 209:case 210:case 211:case 212:case 213:case 214:case 215:default:e.continueUntil(255)}}throw new Error("Unable to parse JPEG successfully")}},{name:"Graphics Interchange Format image",extension:"gif",mime:"image/gif",description:"",signature:{0:71,1:73,2:70,3:56,4:[55,57],5:97},extractor:function(t,n){var e=new o.a(t.slice(n));e.continueUntil([33,255]),e.continueUntil([33,249]),e.moveForwardsBy(2);for(;e.hasMore();){for(e.moveForwardsBy(e.readInt(1)+1),e.moveForwardsBy(11);e.getBytes(2)!==[33,249]&&(e.moveBackwardsBy(2),e.moveForwardsBy(e.readInt(1)),e.readInt(1));)e.moveBackwardsBy(1);if(59===e.readInt(1))break;e.moveForwardsBy(1)}return e.carve()}},{name:"Portable Network Graphics image",extension:"png",mime:"image/png",description:"",signature:{0:137,1:80,2:78,3:71,4:13,5:10,6:26,7:10},extractor:function(t,n){var e=new o.a(t.slice(n));e.moveForwardsBy(8);var r=0,i="";for(;"IEND"!==i;)r=e.readInt(4,"be"),i=e.readString(4),e.moveForwardsBy(r+4);return e.carve()}},{name:"WEBP Image",extension:"webp",mime:"image/webp",description:"",signature:{8:87,9:69,10:66,11:80},extractor:null},{name:"Camera Image File Format",extension:"crw",mime:"image/x-canon-crw",description:"",signature:{6:72,7:69,8:65,9:80,10:67,11:67,12:68,13:82},extractor:null},{name:"Canon CR2 raw image",extension:"cr2",mime:"image/x-canon-cr2",description:"",signature:[{0:73,1:73,2:42,3:0,8:67,9:82},{0:77,1:77,2:0,3:42,8:67,9:82}],extractor:null},{name:"Tagged Image File Format image",extension:"tif",mime:"image/tiff",description:"",signature:[{0:73,1:73,2:42,3:0},{0:77,1:77,2:0,3:42}],extractor:null},{name:"Bitmap image",extension:"bmp",mime:"image/bmp",description:"",signature:{0:66,1:77,7:0,9:0,14:[12,40,56,64,108,124],15:0,16:0,17:0},extractor:function(t,n){var e=new o.a(t.slice(n));e.moveForwardsBy(2);var r=e.readInt(4,"le");return e.moveForwardsBy(r-6),e.carve()}},{name:"JPEG Extended Range image",extension:"jxr",mime:"image/vnd.ms-photo",description:"",signature:{0:73,1:73,2:188},extractor:null},{name:"Photoshop image",extension:"psd",mime:"image/vnd.adobe.photoshop",description:"",signature:{0:56,1:66,2:80,3:83,4:0,5:1,6:0,7:0,8:0,9:0,10:0,11:0},extractor:null},{name:"Photoshop Large Document",extension:"psb",mime:"application/x-photoshop",description:"",signature:{0:56,1:66,2:80,3:83,4:0,5:2,6:0,7:0,8:0,9:0,10:0,11:0,12:0},extractor:null},{name:"Paint Shop Pro image",extension:"psp",mime:"image/psp",description:"",signature:[{0:80,1:97,2:105,3:110,4:116,5:32,6:83,7:104,8:111,9:112,10:32,11:80,12:114,13:111,14:32,15:73,16:109},{0:126,1:66,2:75,3:0}],extractor:null},{name:"The GIMP image",extension:"xcf",mime:"image/x-xcf",description:"",signature:{0:103,1:105,2:109,3:112,4:32,5:120,6:99,7:102,8:32,9:[102,118],10:[105,48],11:[108,48],12:[101,49,50,51]},extractor:null},{name:"Icon image",extension:"ico",mime:"image/x-icon",description:"",signature:{0:0,1:0,2:1,3:0,4:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21],5:0,6:[16,32,48,64,128],7:[16,32,48,64,128],9:0,10:[0,1]},extractor:function(t,n){var e=new o.a(t.slice(n));e.moveTo(4);var r=e.readInt(2,"le");e.moveForwardsBy(8+16*(r-1));var i=e.readInt(4,"le"),a=e.readInt(4,"le");return e.moveTo(a+i),e.carve()}},{name:"Radiance High Dynamic Range image",extension:"hdr",mime:"image/vnd.radiance",description:"",signature:{0:35,1:63,2:82,3:65,4:68,5:73,6:65,7:78,8:67,9:69,10:10},extractor:null},{name:"Sony ARW image",extension:"arw",mime:"image/x-raw",description:"",signature:{0:5,1:0,2:0,3:0,4:65,5:87,6:49,7:46},extractor:null},{name:"Fujifilm Raw Image",extension:"raf",mime:"image/x-raw",description:"",signature:{0:70,1:85,2:74,3:73,4:70,5:73,6:76,7:77,8:67,9:67,10:68,11:45,12:82,13:65,14:87},extractor:null},{name:"Minolta RAW image",extension:"mrw",mime:"image/x-raw",description:"",signature:{0:0,1:77,2:82,3:77},extractor:null},{name:"Adobe Bridge Thumbnail Cache",extension:"bct",mime:"application/octet-stream",description:"",signature:{0:108,1:110,2:98,3:116,4:2,5:0,6:0,7:0},extractor:null},{name:"Microsoft Document Imaging",extension:"mdi",mime:"image/vnd.ms-modi",description:"",signature:{0:69,1:80,2:42,3:0},extractor:null},{name:"Joint Photographic Experts Group image (under Base64)",extension:"B64",mime:"application/octet-stream",description:"",signature:{0:47,1:57,2:106,3:47,4:52},extractor:null},{name:"Portable Network Graphics image (under Base64)",extension:"B64",mime:"application/octet-stream",description:"",signature:{0:105,1:86,2:66,3:79,4:82,5:119,6:48},extractor:null},{name:"AutoCAD Drawing",extension:"dwg,123d",mime:"application/acad",description:"",signature:{0:65,1:67,2:49,3:48,4:[48,49],5:[48,49,50,51,52,53],6:0},extractor:null},{name:"AutoCAD Drawing",extension:"dwg,dwt",mime:"application/acad",description:"",signature:[{0:65,1:67,2:49,3:48,4:49,5:56,6:0},{0:65,1:67,2:49,3:48,4:50,5:52,6:0},{0:65,1:67,2:49,3:48,4:50,5:55,6:0}],extractor:null}],Video:[{name:"Matroska Multimedia Container",extension:"mkv",mime:"video/x-matroska",description:"",signature:{31:109,32:97,33:116,34:114,35:111,36:115,37:107,38:97},extractor:null},{name:"WEBM video",extension:"webm",mime:"video/webm",description:"",signature:{0:26,1:69,2:223,3:163},extractor:null},{name:"Flash MP4 video",extension:"f4v",mime:"video/mp4",description:"",signature:{4:102,5:116,6:121,7:112,8:[102,70],9:52,10:[118,86],11:32},extractor:null},{name:"MPEG-4 video",extension:"mp4",mime:"video/mp4",description:"",signature:[{0:0,1:0,2:0,3:[24,32],4:102,5:116,6:121,7:112},{0:51,1:103,2:112,3:53},{0:0,1:0,2:0,3:28,4:102,5:116,6:121,7:112,8:109,9:112,10:52,11:50,16:109,17:112,18:52,19:49,20:109,21:112,22:52,23:50,24:105,25:115,26:111,27:109}],extractor:null},{name:"M4V video",extension:"m4v",mime:"video/x-m4v",description:"",signature:{0:0,1:0,2:0,3:28,4:102,5:116,6:121,7:112,8:77,9:52,10:86},extractor:null},{name:"Quicktime video",extension:"mov",mime:"video/quicktime",description:"",signature:{0:0,1:0,2:0,3:20,4:102,5:116,6:121,7:112},extractor:null},{name:"Audio Video Interleave",extension:"avi",mime:"video/x-msvideo",description:"",signature:{0:82,1:73,2:70,3:70,8:65,9:86,10:73},extractor:null},{name:"Windows Media Video",extension:"wmv",mime:"video/x-ms-wmv",description:"",signature:{0:48,1:38,2:178,3:117,4:142,5:102,6:207,7:17,8:166,9:217},extractor:null},{name:"MPEG video",extension:"mpg",mime:"video/mpeg",description:"",signature:{0:0,1:0,2:1,3:186},extractor:null},{name:"Flash Video",extension:"flv",mime:"video/x-flv",description:"",signature:{0:70,1:76,2:86,3:1},extractor:function(t,n){var e=new o.a(t.slice(n));e.moveForwardsBy(5);var r=e.readInt(4,"be");e.moveForwardsBy(r-9);var i=-11;for(;e.hasMore();){var a=e.readInt(4,"be"),u=e.readInt(1);if([8,9,18].indexOf(u)<0){e.moveBackwardsBy(1);break}if(a!==i+11){e.moveBackwardsBy(i+11+5);break}i=e.readInt(3,"be"),e.moveForwardsBy(7+i)}return e.carve()}},{name:"OGG Video",extension:"ogv,ogm,opus,ogx",mime:"video/ogg",description:"",signature:[{0:79,1:103,2:103,3:83,4:0,5:2,28:1,29:118,30:105,31:100,32:101,33:111},{0:79,1:103,2:103,3:83,4:0,5:2,28:128,29:116,30:104,31:101,32:111,33:114,34:97},{0:79,1:103,2:103,3:83,4:0,5:2,28:102,29:105,30:115,31:104,32:101,33:97,34:100}],extractor:null}],Audio:[{name:"Waveform Audio",extension:"wav",mime:"audio/x-wav",description:"",signature:{0:82,1:73,2:70,3:70,8:87,9:65,10:86,11:69},extractor:function(t,n){var e=new o.a(t.slice(n));return e.moveTo(4),e.moveTo(e.readInt(4,"le")),e.carve()}},{name:"OGG audio",extension:"ogg",mime:"audio/ogg",description:"",signature:{0:79,1:103,2:103,3:83},extractor:null},{name:"Musical Instrument Digital Interface audio",extension:"midi",mime:"audio/midi",description:"",signature:{0:77,1:84,2:104,3:100},extractor:null},{name:"MPEG-3 audio",extension:"mp3",mime:"audio/mpeg",description:"",signature:[{0:73,1:68,2:51},{0:255,1:251}],extractor:null},{name:"MPEG-4 Part 14 audio",extension:"m4a",mime:"audio/m4a",description:"",signature:[{4:102,5:116,6:121,7:112,8:77,9:52,10:65},{0:77,1:52,2:65,3:32}],extractor:null},{name:"Free Lossless Audio Codec",extension:"flac",mime:"audio/x-flac",description:"",signature:{0:102,1:76,2:97,3:67},extractor:null},{name:"Adaptive Multi-Rate audio codec",extension:"amr",mime:"audio/amr",description:"",signature:{0:35,1:33,2:65,3:77,4:82,5:10},extractor:null},{name:"Audacity",extension:"au",mime:"audio/x-au",description:"",signature:{0:100,1:110,2:115,3:46,24:65,25:117,26:100,27:97,28:99,29:105,30:116,31:121,32:66,33:108,34:111,35:99,36:107,37:70,38:105,39:108,40:101},extractor:null},{name:"Audacity Block",extension:"auf",mime:"application/octet-stream",description:"",signature:{0:65,1:117,2:100,3:97,4:99,5:105,6:116,7:121,8:66,9:108,10:111,11:99,12:107,13:70,14:105,15:108,16:101},extractor:null},{name:"Audio Interchange File",extension:"aif",mime:"audio/x-aiff",description:"",signature:{0:70,1:79,2:82,3:77,8:65,9:73,10:70,11:70},extractor:null},{name:"Audio Interchange File (compressed)",extension:"aifc",mime:"audio/x-aifc",description:"",signature:{0:70,1:79,2:82,3:77,8:65,9:73,10:70,11:67},extractor:null}],Documents:[{name:"Portable Document Format",extension:"pdf",mime:"application/pdf",description:"",signature:{0:37,1:80,2:68,3:70},extractor:function(t,n){var e=new o.a(t.slice(n));return e.continueUntil([37,37,69,79,70]),e.moveForwardsBy(5),e.consumeIf(13),e.consumeIf(10),e.carve()}},{name:"Portable Document Format (under Base64)",extension:"B64",mime:"application/octet-stream",description:"",signature:{0:65,1:74,2:86,3:66,4:69,5:82,6:105},extractor:null},{name:"Adobe PostScript",extension:"ps,eps,ai,pfa",mime:"application/postscript",description:"",signature:{0:37,1:33,2:80,3:83,4:45,5:65,6:100,7:111,8:98,9:101},extractor:null},{name:"PostScript",extension:"ps",mime:"application/postscript",description:"",signature:{0:37,1:33},extractor:null},{name:"Encapsulated PostScript",extension:"eps,ai",mime:"application/eps",description:"",signature:{0:197,1:208,2:211,3:198},extractor:null},{name:"Rich Text Format",extension:"rtf",mime:"application/rtf",description:"",signature:{0:123,1:92,2:114,3:116},extractor:function(t,n){var e=new o.a(t.slice(n)),r=0;if(123!==e.readInt(1))throw new Error("Not a valid RTF file");r++;for(;r>0&&e.hasMore();)switch(e.readInt(1)){case 123:r++;break;case 125:r--;break;case 92:e.consumeIf(92),e.position++}return e.carve()}},{name:"Microsoft Office document/OLE2",extension:"ole2,doc,xls,dot,ppt,xla,ppa,pps,pot,msi,sdw,db,vsd,msg",mime:"application/msword,application/vnd.ms-excel,application/vnd.ms-powerpoint",description:"Microsoft Office documents",signature:{0:208,1:207,2:17,3:224,4:161,5:177,6:26,7:225},extractor:null},{name:"Microsoft Office document/OLE2 (under Base64)",extension:"B64",mime:"application/octet-stream",description:"",signature:{0:48,1:77,2:56,3:82,4:52,5:75,6:71,7:120},extractor:null},{name:"Microsoft Office 2007+ document",extension:"docx,xlsx,pptx",mime:"application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application/vnd.openxmlformats-officedocument.presentationml.presentation",description:"",signature:{38:95,39:84,40:121,41:112,42:101,43:115,44:93,45:46,46:120,47:109,48:108},extractor:u},{name:"Microsoft Access database",extension:"mdb,mda,mde,mdt,fdb,psa",mime:"application/msaccess",description:"",signature:{0:0,1:1,2:0,3:0,4:83,5:116,6:97,7:110,8:100,9:97,10:114,11:100,12:32,13:74,14:101,15:116},extractor:null},{name:"Microsoft Access 2007+ database",extension:"accdb,accde,accda,accdu",mime:"application/msaccess",description:"",signature:{0:0,1:1,2:0,3:0,4:83,5:116,6:97,7:110,8:100,9:97,10:114,11:100,12:32,13:65,14:67,15:69,16:32},extractor:null},{name:"Microsoft OneNote document",extension:"one",mime:"application/onenote",description:"",signature:{0:228,1:82,2:92,3:123,4:140,5:216,6:167,7:77,8:174,9:177,10:83,11:120,12:208,13:41,14:150,15:211},extractor:null},{name:"Outlook Express database",extension:"dbx",mime:"application/octet-stream",description:"",signature:{0:207,1:173,2:18,3:254,4:[48,197,198,199],11:17},extractor:null},{name:"Personal Storage Table (Outlook)",extension:"pst,ost,fdb,pab",mime:"application/octet-stream",description:"",signature:{0:33,1:66,2:68,3:78},extractor:null},{name:"Microsoft Exchange Database",extension:"edb",mime:"application/octet-stream",description:"",signature:{4:239,5:205,6:171,7:137,8:[32,35],9:6,10:0,11:0,12:[0,1],13:0,14:0,15:0},extractor:null},{name:"WordPerfect document",extension:"wpd,wp,wp5,wp6,wpp,bk!,wcm",mime:"application/wordperfect",description:"",signature:{0:255,1:87,2:80,3:67,7:[0,1,2],8:1,9:10},extractor:null},{name:"EPUB e-book",extension:"epub",mime:"application/epub+zip",description:"",signature:{0:80,1:75,2:3,3:4,30:109,31:105,32:109,33:101,34:116,35:121,36:112,37:101,38:97,39:112,40:112,41:108,42:105,43:99,44:97,45:116,46:105,47:111,48:110,49:47,50:101,51:112,52:117,53:98,54:43,55:122,56:105,57:112},extractor:u}],Applications:[{name:"Windows Portable Executable",extension:"exe,dll,drv,vxd,sys,ocx,vbx,com,fon,scr",mime:"application/vnd.microsoft.portable-executable",description:"",signature:{0:77,1:90,3:[0,1,2],5:[0,1,2]},extractor:function(t,n){var e=new o.a(t.slice(n));e.moveTo(60);var r=e.readInt(4,"le");e.moveTo(r),e.moveForwardsBy(6);var i=e.readInt(2,"le");e.moveForwardsBy(16);var a=523===e.readInt(2,"le")?112:96;e.moveForwardsBy(a-2),e.moveForwardsBy(32);var u=e.readInt(4,"le"),c=e.readInt(4,"le");if(u>0)return e.moveTo(u+c),e.carve();e.moveForwardsBy(88),e.moveForwardsBy(40*(i-1)),e.moveForwardsBy(16);var f=e.readInt(4,"le"),s=e.readInt(4,"le");return e.moveTo(s+f),e.carve()}},{name:"Executable and Linkable Format",extension:"elf,bin,axf,o,prx,so",mime:"application/x-executable",description:"Executable and Linkable Format file. No standard file extension.",signature:{0:127,1:69,2:76,3:70},extractor:function(t,n){var e=new o.a(t.slice(n));e.moveForwardsBy(4);var r=1===e.readInt(1),i=1===e.readInt(1)?"le":"be";e.moveForwardsBy(r?26:34);var a=r?e.readInt(4,i):e.readInt(8,i);e.moveForwardsBy(10);var u=e.readInt(2,i),c=e.readInt(2,i);return e.moveTo(a),e.moveForwardsBy(u*c),e.carve()}},{name:"MacOS Mach-O object",extension:"dylib",mime:"application/octet-stream",description:"",signature:[{0:202,1:254,2:186,3:190,4:0,5:0,6:0,7:[1,2,3]},{0:206,1:250,2:237,3:254,4:7,5:0,6:0,7:0,8:[1,2,3]}],extractor:c},{name:"MacOS Mach-O 64-bit object",extension:"dylib",mime:"application/octet-stream",description:"",signature:{0:207,1:250,2:237,3:254},extractor:c},{name:"Adobe Flash",extension:"swf",mime:"application/x-shockwave-flash",description:"",signature:{0:[67,70],1:87,2:83},extractor:null},{name:"Java Class",extension:"class",mime:"application/java-vm",description:"",signature:{0:202,1:254,2:186,3:190},extractor:null},{name:"Dalvik Executable",extension:"dex",mime:"application/octet-stream",description:"Dalvik Executable as used by Android",signature:{0:100,1:101,2:120,3:10,4:48,5:51,6:53,7:0},extractor:null},{name:"Google Chrome Extension",extension:"crx",mime:"application/crx",description:"Google Chrome extension or packaged app",signature:{0:67,1:114,2:50,3:52},extractor:null}],Archives:[{name:"PKZIP archive",extension:"zip",mime:"application/zip",description:"",signature:{0:80,1:75,2:[3,5,7],3:[4,6,8]},extractor:u},{name:"PKZIP archive (under Base64)",extension:"B64",mime:"application/octet-stream",description:"",signature:{0:85,1:69,2:115,3:68,4:66,5:66},extractor:null},{name:"TAR archive",extension:"tar",mime:"application/x-tar",description:"",signature:{257:117,258:115,259:116,260:97,261:114},extractor:function(t,n){var e=new o.a(t.slice(n));for(;e.hasMore();){if(e.moveForwardsBy(257),e.getBytes(5).join("")!==[117,115,116,97,114].join("")){e.moveBackwardsBy(262);break}e.moveBackwardsBy(138);var r=0;e.getBytes(11).forEach((function(t,n){r+=(t-48).toString()})),r=512*Math.ceil(parseInt(r,8)/512),e.moveForwardsBy(r+377)}return e.consumeWhile(0),e.carve()}},{name:"Roshal Archive",extension:"rar",mime:"application/x-rar-compressed",description:"",signature:{0:82,1:97,2:114,3:33,4:26,5:7,6:[0,1]},extractor:null},{name:"Gzip",extension:"gz",mime:"application/gzip",description:"",signature:{0:31,1:139,2:8},extractor:function(t,n){var e=new o.a(t.slice(n));e.moveForwardsBy(3);var r=e.readInt(1);if(e.moveForwardsBy(4),e.readInt(1),e.moveForwardsBy(1),4&r){var i=e.readInt(2,"le");e.moveForwardsby(i)}8&r&&(e.continueUntil(0),e.moveForwardsBy(1));16&r&&(e.continueUntil(0),e.moveForwardsBy(1));2&r&&e.moveForwardsBy(2);return p(e),e.moveForwardsBy(8),e.carve()}},{name:"Bzip2",extension:"bz2",mime:"application/x-bzip2",description:"",signature:{0:66,1:90,2:104},extractor:function(t,n){for(var e=new o.a(t.slice(n)),r=[[119,36,83,133,9],[238,72,167,10,18],[220,145,78,20,36],[185,34,156,40,72],[114,69,56,80,144],[187,146,41,194,132],[93,201,20,225,66],[46,228,138,112,161],[23,114,69,56,80]],i=0;i<r.length&&(e.continueUntil(r[i]),e.getBytes(5).join("")!==r[i].join(""));i++)e.moveTo(0);return e.moveForwardsBy(4),e.carve()}},{name:"7zip",extension:"7z",mime:"application/x-7z-compressed",description:"",signature:{0:55,1:122,2:188,3:175,4:39,5:28},extractor:null},{name:"Zlib Deflate",extension:"zlib",mime:"application/x-deflate",description:"",signature:{0:120,1:[1,156,218,94]},extractor:function(t,n){var e=new o.a(t.slice(n));e.moveForwardsBy(1),32&e.readInt(1)&&e.moveForwardsBy(4);return p(e),e.moveForwardsBy(4),e.carve()}},{name:"xz compression",extension:"xz",mime:"application/x-xz",description:"",signature:{0:253,1:55,2:122,3:88,4:90,5:0},extractor:function(t,n){var e=new o.a(t.slice(n));return e.continueUntil([0,0,0,0,4,89,90]),e.moveForwardsBy(7),e.carve()}},{name:"Tarball",extension:"tar.z",mime:"application/x-gtar",description:"",signature:{0:31,1:[157,160]},extractor:null},{name:"ISO disk image",extension:"iso",mime:"application/octet-stream",description:"ISO 9660 CD/DVD image file",signature:[{32769:67,32770:68,32771:48,32772:48,32773:49},{34817:67,34818:68,34819:48,34820:48,34821:49},{36865:67,36866:68,36867:48,36868:48,36869:49}],extractor:null},{name:"Virtual Machine Disk",extension:"vmdk",mime:"application/vmdk,application/x-virtualbox-vmdk",description:"",signature:{0:75,1:68,2:77,3:86,5:0,6:0,7:0},extractor:null},{name:"Virtual Hard Drive",extension:"vhd",mime:"application/x-vhd",description:"",signature:{0:99,1:111,2:110,3:101,4:99,5:116,6:105,7:120},extractor:null},{name:"Macintosh disk image",extension:"dmf,dmg",mime:"application/octet-stream",description:"",signature:{0:120,1:1,2:115,3:13,4:98,5:98,6:96,7:96},extractor:null},{name:"ARJ Archive",extension:"arj",mime:"application/x-arj-compressed",description:"",signature:{0:96,1:234,8:[0,16,20],9:0,10:2},extractor:null},{name:"WinAce Archive",extension:"ace",mime:"application/x-ace-compressed",description:"",signature:{7:42,8:42,9:65,10:67,11:69,12:42,13:42},extractor:null},{name:"Macintosh BinHex Encoded File",extension:"hqx",mime:"application/mac-binhex",description:"",signature:{11:109,12:117,13:115,14:116,15:32,16:98,17:101,18:32,19:99,20:111,21:110,22:118,23:101,24:114,25:116,26:101,27:100,28:32,29:119,30:105,31:116,32:104,33:32,34:66,35:105,36:110,37:72,38:101,39:120},extractor:null},{name:"ALZip Archive",extension:"alz",mime:"application/octet-stream",description:"",signature:{0:65,1:76,2:90,3:1,4:10,5:0,6:0,7:0},extractor:null},{name:"KGB Compressed Archive",extension:"kgb",mime:"application/x-kgb-compressed",description:"",signature:{0:75,1:71,2:66,3:95,4:97,5:114,6:99,7:104,8:32,9:45},extractor:null},{name:"Microsoft Cabinet",extension:"cab",mime:"vnd.ms-cab-compressed",description:"",signature:{0:77,1:83,2:67,3:70,4:0,5:0,6:0,7:0},extractor:null},{name:"Jar Archive",extension:"jar",mime:"application/java-archive",description:"",signature:{0:95,1:39,2:168,3:137},extractor:null},{name:"lzop compressed",extension:"lzop,lzo",mime:"application/x-lzop",description:"",signature:{0:137,1:76,2:90,3:79,4:0,5:13,6:10,7:26},extractor:null},{name:"Linux deb",extension:"deb",mime:"application/vnd.debian.binary-package",description:"",signature:{0:33,1:60,2:97,3:114,4:99,5:104,6:62},extractor:null},{name:"Apple Disk Image",extension:"dmg",mime:"application/x-apple-diskimage",description:"",signature:{0:120,1:1,2:115,3:13,4:98,5:98,6:96},extractor:null}],Miscellaneous:[{name:"UTF-8 text",extension:"txt",mime:"text/plain",description:"UTF-8 encoded Unicode byte order mark, commonly but not exclusively seen in text files.",signature:{0:239,1:187,2:191},extractor:null},{name:"UTF-32 LE text",extension:"utf32le",mime:"charset/utf32le",description:"Little-endian UTF-32 encoded Unicode byte order mark.",signature:{0:255,1:254,2:0,3:0},extractor:null},{name:"UTF-16 LE text",extension:"utf16le",mime:"charset/utf16le",description:"Little-endian UTF-16 encoded Unicode byte order mark.",signature:{0:255,1:254},extractor:null},{name:"Web Open Font Format",extension:"woff",mime:"application/font-woff",description:"",signature:{0:119,1:79,2:70,3:70,4:0,5:1,6:0,7:0},extractor:null},{name:"Web Open Font Format 2",extension:"woff2",mime:"application/font-woff",description:"",signature:{0:119,1:79,2:70,3:50,4:0,5:1,6:0,7:0},extractor:null},{name:"Embedded OpenType font",extension:"eot",mime:"application/octet-stream",description:"",signature:[{8:2,9:0,10:1,34:76,35:80},{8:1,9:0,10:0,34:76,35:80},{8:2,9:0,10:2,34:76,35:80}],extractor:null},{name:"TrueType Font",extension:"ttf",mime:"application/font-sfnt",description:"",signature:{0:0,1:1,2:0,3:0,4:0},extractor:null},{name:"OpenType Font",extension:"otf",mime:"application/font-sfnt",description:"",signature:{0:79,1:84,2:84,3:79,4:0},extractor:null},{name:"SQLite",extension:"sqlite",mime:"application/x-sqlite3",description:"",signature:{0:83,1:81,2:76,3:105},extractor:function(t,n){var e=new o.a(t.slice(n));e.moveTo(16);var r=e.readInt(2);e.moveTo(28);var i=e.readInt(4);return e.moveTo(r*i),e.carve()}},{name:"BitTorrent link",extension:"torrent",mime:"application/x-bittorrent",description:"",signature:[{0:100,1:56,2:58,3:97,4:110,5:110,6:111,7:117,8:110,9:99,10:101,11:35,12:35,13:58},{0:100,1:52,2:58,3:105,4:110,5:102,6:111,7:100,8:[52,53,54],9:58}],extractor:null},{name:"Cryptocurrency wallet",extension:"wallet",mime:"application/octet-stream",description:"",signature:{0:0,1:0,2:0,3:0,4:1,5:0,6:0,7:0,8:0,9:0,10:0,11:0,12:98,13:49,14:5,15:0},extractor:null},{name:"Registry fragment",extension:"hbin",mime:"application/octet-stream",description:"",signature:{0:104,1:98,2:105,3:110,4:0},extractor:null},{name:"Registry script",extension:"rgs",mime:"application/octet-stream",description:"",signature:{0:72,1:75,2:67,3:82,4:13,5:10,6:92,7:123},extractor:null},{name:"WinNT Registry Hive",extension:"registry",mime:"application/octet-stream",description:"",signature:{0:114,1:101,2:103,3:102},extractor:null},{name:"Windows Event Log",extension:"evt",mime:"application/octet-stream",description:"",signature:{0:48,1:0,2:0,3:0,4:76,5:102,6:76,7:101},extractor:function(t,n){var e=new o.a(t.slice(n));e.moveTo(20);var r=e.readInt(4,"le");e.moveTo(r);var i=e.readInt(4,"le");return e.moveForwardsBy(i-4),e.carve()}},{name:"Windows Event Log",extension:"evtx",mime:"application/octet-stream",description:"",signature:{0:69,1:108,2:102,3:70,4:105,5:108,6:101},extractor:function(t,n){var e=new o.a(t.slice(n));e.moveTo(40);var r=e.readInt(4,"le")-44;e.moveForwardsBy(r);for(;e.hasMore()&&e.getBytes(7).join("")===[69,108,102,67,104,110,107].join("");)e.moveForwardsBy(65529);return e.consumeWhile(0),e.carve()}},{name:"Windows Pagedump",extension:"dmp",mime:"application/octet-stream",description:"",signature:{0:80,1:65,2:71,3:69,4:68,5:85,6:[77,54],7:[80,52]},extractor:null},{name:"Windows Prefetch",extension:"pf",mime:"application/x-pf",description:"",signature:{0:[17,23,26],1:0,2:0,3:0,4:83,5:67,6:67,7:65},extractor:null},{name:"Windows Prefetch (Win 10)",extension:"pf",mime:"application/x-pf",description:"",signature:{0:77,1:65,2:77,3:4,7:0},extractor:null},{name:"PList (XML)",extension:"plist",mime:"application/xml",description:"",signature:{39:60,40:33,41:68,42:79,43:67,44:84,45:89,46:80,47:69,48:32,49:112,50:108,51:105,52:115,53:116},extractor:function(t,n){var e=new o.a(t.slice(n)),r=0;e.continueUntil([60,112,108,105,115,116]),e.moveForwardsBy(6),r++;for(;r>0&&e.hasMore();)60===e.readInt(1)&&(e.getBytes(5).join("")===[112,108,105,115,116].join("")?r++:e.moveBackwardsBy(5),e.getBytes(7).join("")===[47,112,108,105,115,116,62].join("")?r--:e.moveBackwardsBy(7));return e.consumeIf(10),e.carve()}},{name:"PList (binary)",extension:"bplist,plist,ipmeta,abcdp,mdbackup,mdinfo,strings,nib,ichat,qtz,webbookmark,webhistory",mime:"application/x-plist",description:"",signature:{0:98,1:112,2:108,3:105,4:115,5:116,6:48,7:48},extractor:null},{name:"MacOS X Keychain",extension:"keychain",mime:"application/octet-stream",description:"",signature:{0:107,1:121,2:99,3:104,4:0,5:1},extractor:null},{name:"TCP Packet",extension:"tcp",mime:"application/tcp",description:"",signature:{12:8,13:0,14:69,15:0,21:0,22:function(t){return t>=1&&t<=128},23:6},extractor:null},{name:"UDP Packet",extension:"udp",mime:"application/udp",description:"",signature:{12:8,13:0,14:69,15:0,16:[0,1,2,3,4,5],22:function(t){return t>=1&&t<=128},23:17},extractor:null},{name:"Compiled HTML",extension:"chm,chw,chi",mime:"application/vnd.ms-htmlhelp",description:"",signature:{0:73,1:84,2:83,3:70,4:3,5:0,6:0,7:0},extractor:null},{name:"Windows Password",extension:"pwl",mime:"application/octet-stream",description:"",signature:{0:227,1:130,2:133,3:150},extractor:null},{name:"Bitlocker recovery key",extension:"bitlocker",mime:"application/octet-stream",description:"",signature:{0:255,1:254,2:66,3:0,4:105,5:0,6:116,7:0,8:76,9:0,10:111,11:0,12:99,13:0,14:107,15:0,16:101,17:0,18:114,19:0,20:32,21:0},extractor:null},{name:"Certificate",extension:"cer,cat,p7b,p7c,p7m,p7s,swz,rsa,crl,crt,der",mime:"application/pkix-cert",description:"",signature:{0:48,1:130,4:[6,10,48]},extractor:null},{name:"Certificate",extension:"cat,swz,p7m",mime:"application/vnd.ms-pki.seccat",description:"",signature:{0:48,1:131,2:function(t){return 0!==t},5:6,6:9},extractor:null},{name:"PGP pubring",extension:"pkr,gpg",mime:"application/pgp-keys",description:"",signature:{0:153,1:1,2:[13,162],3:4},extractor:null},{name:"PGP secring",extension:"skr",mime:"application/pgp-keys",description:"",signature:[{0:149,1:1,2:207,3:4},{0:149,1:3,2:198,3:4}],extractor:null},{name:"PGP Safe",extension:"pgd",mime:"application/pgp-keys",description:"",signature:{0:80,1:71,2:80,3:100,4:77,5:65,6:73,7:78,8:96,9:1,10:0},extractor:null},{name:"Task Scheduler",extension:"job",mime:"application/octet-stream",description:"",signature:{0:[0,1,2,3],1:[5,6],2:1,3:0,20:70,21:0},extractor:null},{name:"Windows Shortcut",extension:"lnk",mime:"application/x-ms-shortcut",description:"",signature:{0:76,1:0,2:0,3:0,4:1,5:20,6:2,7:0,8:0,9:0,10:0,11:0,12:192,13:0,14:0,15:0,16:0,17:0,18:0,19:70},extractor:null},{name:"Bash",extension:"bash",mime:"application/bash",description:"",signature:{0:35,1:33,2:47,3:98,4:105,5:110,6:47,7:98,8:97,9:115,10:104},extractor:null},{name:"Shell",extension:"sh",mime:"application/sh",description:"",signature:{0:35,1:33,2:47,3:98,4:105,5:110,6:47,7:115,8:104},extractor:null},{name:"Python",extension:"py,pyc,pyd,pyo,pyw,pyz",mime:"application/python",description:"",signature:{0:35,1:33,2:47,3:117,4:115,5:114,6:47,7:98,8:105,9:110,10:47,11:112,12:121,13:116,14:104,15:111,16:110,17:[50,51,10,13]},extractor:null},{name:"Ruby",extension:"rb",mime:"application/ruby",description:"",signature:{0:35,1:33,2:47,3:117,4:115,5:114,6:47,7:98,8:105,9:110,10:47,11:114,12:117,13:98,14:121},extractor:null},{name:"perl",extension:"pl,pm,t,pod",mime:"application/perl",description:"",signature:{0:35,1:33,2:47,3:117,4:115,5:114,6:47,7:98,8:105,9:110,10:47,11:112,12:101,13:114,14:108},extractor:null},{name:"php",extension:"php,phtml,php3,php4,php5,php7,phps,php-s,pht,phar",mime:"application/php",description:"",signature:{0:60,1:63,2:112,3:104,4:112},extractor:null},{name:"Smile",extension:"sml",mime:"\tapplication/x-jackson-smile",description:"",signature:{0:58,1:41,2:10},extractor:null},{name:"Lua Bytecode",extension:"luac",mime:"application/x-lua",description:"",signature:{0:27,1:76,2:117,3:97},extractor:null},{name:"WebAssembly binary",extension:"wasm",mime:"application/octet-stream",description:"",signature:{0:0,1:97,2:115,3:109},extractor:null}]};function u(t,n){var e=new o.a(t.slice(n));e.continueUntil([80,75,5,6]),e.moveForwardsBy(20);var r=e.readInt(2,"le");return e.moveForwardsBy(r),e.carve()}function c(t,n){var e="207250237254",r="254237250207",i="206250237254";var a=new o.a(t.slice(n)),u=a.getBytes(4).join("");return a.moveTo(function(t,n,e){var r=28;n&&(r+=4),t.moveTo(16);var i=t.readInt(4,e);return function(t,n,e,r){for(var i=0,o=0;o<r;o++){t.moveTo(n);var a=t.readInt(4,e);25===a?(t.moveTo(n+48),i+=t.readInt(8,e),t.moveTo(n+4),n+=t.readInt(4,e)):1===a&&(t.moveTo(n+36),i+=t.readInt(4,e),t.moveTo(n+4),n+=t.readInt(4,e))}return i}(t,r,e,i)}(a,function(t){return t===e||t===r}(u),function(t){return t===i||t===e}(u)?"le":"be")),a.carve()}for(var f=new Array(288),s=0;s<f.length;s++)f[s]=s<=143?8:s<=255?9:s<=279?7:8;var l=m(f),h=m(new Array(30).fill(5)),d=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];function p(t){for(var n=0;!n;){n=t.readBits(1);var e=t.readBits(2);if(0===e){t.moveForwardsBy(1);var r=t.readInt(2,"le");t.moveForwardsBy(2+r)}else if(1===e)y(t,l,h);else{if(2!==e)throw new Error(`Invalid block type while parsing DEFLATE stream at pos ${t.position}`);for(var i=t.readBits(5)+257,o=t.readBits(5)+1,a=t.readBits(4)+4,u=new Uint8Array(d.length),c=0;c<a;c++)u[d[c]]=t.readBits(3);for(var f=m(u),s=new Uint8Array(i+o),p=void 0,g=void 0,v=void 0,x=0;x<i+o;)switch(p=b(t,f)){case 16:for(g=3+t.readBits(2);g--;)s[x++]=v;break;case 17:for(g=3+t.readBits(3);g--;)s[x++]=0;v=0;break;case 18:for(g=11+t.readBits(7);g--;)s[x++]=0;v=0;break;default:s[x++]=p,v=p}y(t,m(s.subarray(0,i)),m(s.subarray(i)))}}t.bitPos>0&&t.moveForwardsBy(1)}var g=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0],v=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13];function y(t,n,e){for(var r,i=0;(r=b(t,n))&&256!==r;){if(++i>1e4)throw new Error("Caught in probable infinite loop while parsing Huffman Block");r<256||(t.readBits(g[r-257]),r=b(t,e),t.readBits(v[r]))}}function m(t){for(var n=Math.max.apply(Math,t),e=Math.min.apply(Math,t),r=1<<n,i=new Uint32Array(r),o=1,a=0,u=2;o<=n;){for(var c=0;c<t.length;c++)if(t[c]===o){var f=void 0,s=void 0,l=void 0;for(f=0,s=a,l=0;l<o;l++)f=f<<1|1&s,s>>=1;for(var h=o<<16|c,d=f;d<r;d+=u)i[d]=h;a++}o++,a<<=1,u<<=1}return[i,n,e]}function b(t,n){var e=i()(n,2),r=e[0],o=e[1],a=r[t.readBits(o)&(1<<o)-1],u=a>>>16;if(u>o)throw new Error(`Invalid Huffman Code length while parsing DEFLATE block at pos ${t.position}: ${u}`);return t.moveBackwardsByBits(o-u),65535&a}e(0);
/**
 * File type functions
 *
 * @author n1474335 [n1474335@gmail.com]
 * @copyright Crown Copyright 2018
 * @license Apache-2.0
 *
 */
function x(t,n){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(t.length){for(var r=0;r<t.length;r++)if(_(t[r],n,e))return!0;return!1}return _(t,n,e)}function _(t,n){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;for(var r in t){var i=parseInt(r,10)+e;switch(typeof t[r]){case"number":if(n[i]!==t[r])return!1;break;case"object":if(t[r].indexOf(n[i])<0)return!1;break;case"function":if(!t[r](n[i]))return!1;break;default:throw new Error(`Unrecognised signature type at offset ${r}`)}}return!0}function w(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Object.keys(a);if(t instanceof ArrayBuffer&&(t=new Uint8Array(t)),!(t&&t.length>1))return[];var e=[],r={};for(var i in a)n.includes(i)&&(r[i]=a[i]);for(var o in r){r[o].forEach((function(n){x(n.signature,t)&&e.push(n)}))}return e}function A(t){return function(t,n){var e=w(n);if(!e||!e.length)return!1;if("string"==typeof t)return e.reduce((function(n,e){var r=!!e.mime.startsWith(t)&&e.mime;return n||r}),!1);if(t instanceof RegExp)return e.reduce((function(n,e){var r=!!t.test(e.mime)&&e.mime;return n||r}),!1);throw new Error("Invalid type input.")}("image",t)}e.d(n,"a",(function(){return w})),e.d(n,"b",(function(){return A}))},2:function(t,n){function e(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}t.exports=function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}},202:function(t,n,e){"use strict";var r=e(245),i=e(205);function o(t){return function(){var n=this.ownerDocument,e=this.namespaceURI;return e===i.b&&n.documentElement.namespaceURI===i.b?n.createElement(t):n.createElementNS(e,t)}}function a(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}n.a=function(t){var n=Object(r.a)(t);return(n.local?a:o)(n)}},203:function(t,n,e){"use strict";n.a=function(t,n){var e=t.ownerSVGElement||t;if(e.createSVGPoint){var r=e.createSVGPoint();return r.x=n.clientX,r.y=n.clientY,[(r=r.matrixTransform(t.getScreenCTM().inverse())).x,r.y]}var i=t.getBoundingClientRect();return[n.clientX-i.left-t.clientLeft,n.clientY-i.top-t.clientTop]}},205:function(t,n,e){"use strict";e.d(n,"b",(function(){return r}));var r="http://www.w3.org/1999/xhtml";n.a={svg:"http://www.w3.org/2000/svg",xhtml:r,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"}},206:function(t,n,e){"use strict";function r(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}e.d(n,"b",(function(){return r})),n.a=function(t,n){n||(n=[]);var e,r=t?Math.min(n.length,t.length):0,i=n.slice();return function(o){for(e=0;e<r;++e)i[e]=t[e]*(1-o)+n[e]*o;return i}}},207:function(t,n,e){"use strict";e.r(n);function r(){}function i(t,n){var e=new r;if(t instanceof r)t.each((function(t,n){e.set(n,t)}));else if(Array.isArray(t)){var i,o=-1,a=t.length;if(null==n)for(;++o<a;)e.set(o,t[o]);else for(;++o<a;)e.set(n(i=t[o],o,t),i)}else if(t)for(var u in t)e.set(u,t[u]);return e}r.prototype=i.prototype={constructor:r,has:function(t){return"$"+t in this},get:function(t){return this["$"+t]},set:function(t,n){return this["$"+t]=n,this},remove:function(t){var n="$"+t;return n in this&&delete this[n]},clear:function(){for(var t in this)"$"===t[0]&&delete this[t]},keys:function(){var t=[];for(var n in this)"$"===n[0]&&t.push(n.slice(1));return t},values:function(){var t=[];for(var n in this)"$"===n[0]&&t.push(this[n]);return t},entries:function(){var t=[];for(var n in this)"$"===n[0]&&t.push({key:n.slice(1),value:this[n]});return t},size:function(){var t=0;for(var n in this)"$"===n[0]&&++t;return t},empty:function(){for(var t in this)if("$"===t[0])return!1;return!0},each:function(t){for(var n in this)"$"===n[0]&&t(this[n],n.slice(1),this)}};var o=i,a=function(){var t,n,e,r=[],i=[];function a(e,i,u,c){if(i>=r.length)return null!=t&&e.sort(t),null!=n?n(e):e;for(var f,s,l,h=-1,d=e.length,p=r[i++],g=o(),v=u();++h<d;)(l=g.get(f=p(s=e[h])+""))?l.push(s):g.set(f,[s]);return g.each((function(t,n){c(v,n,a(t,i,u,c))})),v}return e={object:function(t){return a(t,0,u,c)},map:function(t){return a(t,0,f,s)},entries:function(t){return function t(e,o){if(++o>r.length)return e;var a,u=i[o-1];return null!=n&&o>=r.length?a=e.entries():(a=[],e.each((function(n,e){a.push({key:e,values:t(n,o)})}))),null!=u?a.sort((function(t,n){return u(t.key,n.key)})):a}(a(t,0,f,s),0)},key:function(t){return r.push(t),e},sortKeys:function(t){return i[r.length-1]=t,e},sortValues:function(n){return t=n,e},rollup:function(t){return n=t,e}}};function u(){return{}}function c(t,n,e){t[n]=e}function f(){return o()}function s(t,n,e){t.set(n,e)}function l(){}var h=o.prototype;function d(t,n){var e=new l;if(t instanceof l)t.each((function(t){e.add(t)}));else if(t){var r=-1,i=t.length;if(null==n)for(;++r<i;)e.add(t[r]);else for(;++r<i;)e.add(n(t[r],r,t))}return e}l.prototype=d.prototype={constructor:l,has:h.has,add:function(t){return this["$"+(t+="")]=t,this},remove:h.remove,clear:h.clear,values:h.keys,size:h.size,empty:h.empty,each:h.each};var p=d,g=function(t){var n=[];for(var e in t)n.push(e);return n},v=function(t){var n=[];for(var e in t)n.push(t[e]);return n},y=function(t){var n=[];for(var e in t)n.push({key:e,value:t[e]});return n};e.d(n,"nest",(function(){return a})),e.d(n,"set",(function(){return p})),e.d(n,"map",(function(){return o})),e.d(n,"keys",(function(){return g})),e.d(n,"values",(function(){return v})),e.d(n,"entries",(function(){return y}))},208:function(t,n,e){"use strict";e.d(n,"b",(function(){return o}));var r=e(53),i=Object(r.a)((function(t){t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,n){t.setFullYear(t.getFullYear()+n)}),(function(t,n){return n.getFullYear()-t.getFullYear()}),(function(t){return t.getFullYear()}));i.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Object(r.a)((function(n){n.setFullYear(Math.floor(n.getFullYear()/t)*t),n.setMonth(0,1),n.setHours(0,0,0,0)}),(function(n,e){n.setFullYear(n.getFullYear()+e*t)})):null},n.a=i;var o=i.range},209:function(t,n,e){"use strict";e.d(n,"b",(function(){return o}));var r=e(53),i=Object(r.a)((function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n)}),(function(t,n){return n.getUTCFullYear()-t.getUTCFullYear()}),(function(t){return t.getUTCFullYear()}));i.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Object(r.a)((function(n){n.setUTCFullYear(Math.floor(n.getUTCFullYear()/t)*t),n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)}),(function(n,e){n.setUTCFullYear(n.getUTCFullYear()+e*t)})):null},n.a=i;var o=i.range},210:function(t,n,e){"use strict";e.r(n);var r=e(143),i=e(653),o=e(158),a=e(654),u=Object(i.a)("start","end","cancel","interrupt"),c=[],f=0,s=1,l=2,h=3,d=4,p=5,g=6,v=function(t,n,e,r,i,v){var y=t.__transition;if(y){if(e in y)return}else t.__transition={};!function(t,n,e){var r,i=t.__transition;function u(o){var p,v,y,m;if(e.state!==s)return f();for(p in i)if((m=i[p]).name===e.name){if(m.state===h)return Object(a.a)(u);m.state===d?(m.state=g,m.timer.stop(),m.on.call("interrupt",t,t.__data__,m.index,m.group),delete i[p]):+p<n&&(m.state=g,m.timer.stop(),m.on.call("cancel",t,t.__data__,m.index,m.group),delete i[p])}if(Object(a.a)((function(){e.state===h&&(e.state=d,e.timer.restart(c,e.delay,e.time),c(o))})),e.state=l,e.on.call("start",t,t.__data__,e.index,e.group),e.state===l){for(e.state=h,r=new Array(y=e.tween.length),p=0,v=-1;p<y;++p)(m=e.tween[p].value.call(t,t.__data__,e.index,e.group))&&(r[++v]=m);r.length=v+1}}function c(n){for(var i=n<e.duration?e.ease.call(null,n/e.duration):(e.timer.restart(f),e.state=p,1),o=-1,a=r.length;++o<a;)r[o].call(t,i);e.state===p&&(e.on.call("end",t,t.__data__,e.index,e.group),f())}function f(){for(var r in e.state=g,e.timer.stop(),delete i[n],i)return;delete t.__transition}i[n]=e,e.timer=Object(o.c)((function(t){e.state=s,e.timer.restart(u,e.delay,e.time),e.delay<=t&&u(t-e.delay)}),0,e.time)}(t,e,{name:n,index:r,group:i,on:u,tween:c,time:v.time,delay:v.delay,duration:v.duration,ease:v.ease,timer:null,state:f})};function y(t,n){var e=b(t,n);if(e.state>f)throw new Error("too late; already scheduled");return e}function m(t,n){var e=b(t,n);if(e.state>h)throw new Error("too late; already running");return e}function b(t,n){var e=t.__transition;if(!e||!(e=e[n]))throw new Error("transition not found");return e}var x=function(t,n){var e,r,i,o=t.__transition,a=!0;if(o){for(i in n=null==n?null:n+"",o)(e=o[i]).name===n?(r=e.state>l&&e.state<p,e.state=g,e.timer.stop(),e.on.call(r?"interrupt":"cancel",t,t.__data__,e.index,e.group),delete o[i]):a=!1;a&&delete t.__transition}},_=e(486),w=e(245);function A(t,n){var e,r;return function(){var i=m(this,t),o=i.tween;if(o!==e)for(var a=0,u=(r=e=o).length;a<u;++a)if(r[a].name===n){(r=r.slice()).splice(a,1);break}i.tween=r}}function E(t,n,e){var r,i;if("function"!=typeof e)throw new Error;return function(){var o=m(this,t),a=o.tween;if(a!==r){i=(r=a).slice();for(var u={name:n,value:e},c=0,f=i.length;c<f;++c)if(i[c].name===n){i[c]=u;break}c===f&&i.push(u)}o.tween=i}}function M(t,n,e){var r=t._id;return t.each((function(){var t=m(this,r);(t.value||(t.value={}))[n]=e.apply(this,arguments)})),function(t){return b(t,r).value[n]}}var k=e(67),O=e(109),B=e(223),F=e(395),T=function(t,n){var e;return("number"==typeof n?O.a:n instanceof k.e?B.a:(e=Object(k.e)(n))?(n=e,B.a):F.a)(t,n)};function N(t){return function(){this.removeAttribute(t)}}function C(t){return function(){this.removeAttributeNS(t.space,t.local)}}function S(t,n,e){var r,i,o=e+"";return function(){var a=this.getAttribute(t);return a===o?null:a===r?i:i=n(r=a,e)}}function j(t,n,e){var r,i,o=e+"";return function(){var a=this.getAttributeNS(t.space,t.local);return a===o?null:a===r?i:i=n(r=a,e)}}function P(t,n,e){var r,i,o;return function(){var a,u,c=e(this);if(null!=c)return(a=this.getAttribute(t))===(u=c+"")?null:a===r&&u===i?o:(i=u,o=n(r=a,c));this.removeAttribute(t)}}function R(t,n,e){var r,i,o;return function(){var a,u,c=e(this);if(null!=c)return(a=this.getAttributeNS(t.space,t.local))===(u=c+"")?null:a===r&&u===i?o:(i=u,o=n(r=a,c));this.removeAttributeNS(t.space,t.local)}}function D(t,n){var e,r;function i(){var i=n.apply(this,arguments);return i!==r&&(e=(r=i)&&function(t,n){return function(e){this.setAttributeNS(t.space,t.local,n.call(this,e))}}(t,i)),e}return i._value=n,i}function L(t,n){var e,r;function i(){var i=n.apply(this,arguments);return i!==r&&(e=(r=i)&&function(t,n){return function(e){this.setAttribute(t,n.call(this,e))}}(t,i)),e}return i._value=n,i}function I(t,n){return function(){y(this,t).delay=+n.apply(this,arguments)}}function U(t,n){return n=+n,function(){y(this,t).delay=n}}function z(t,n){return function(){m(this,t).duration=+n.apply(this,arguments)}}function Y(t,n){return n=+n,function(){m(this,t).duration=n}}function q(t,n){if("function"!=typeof n)throw new Error;return function(){m(this,t).ease=n}}var H=e(396);function $(t,n,e){var r,i,o=function(t){return(t+"").trim().split(/^|\s+/).every((function(t){var n=t.indexOf(".");return n>=0&&(t=t.slice(0,n)),!t||"start"===t}))}(n)?y:m;return function(){var a=o(this,t),u=a.on;u!==r&&(i=(r=u).copy()).on(n,e),a.on=i}}var V=e(246),G=e(397),W=r.b.prototype.constructor,X=e(398);function J(t){return function(){this.style.removeProperty(t)}}function Z(t,n,e){var r,i;function o(){var o=n.apply(this,arguments);return o!==i&&(r=(i=o)&&function(t,n,e){return function(r){this.style.setProperty(t,n.call(this,r),e)}}(t,o,e)),r}return o._value=n,o}function Q(t){var n,e;function r(){var r=t.apply(this,arguments);return r!==e&&(n=(e=r)&&function(t){return function(n){this.textContent=t.call(this,n)}}(r)),n}return r._value=t,r}var K=0;function tt(t,n,e,r){this._groups=t,this._parents=n,this._name=e,this._id=r}function nt(t){return Object(r.b)().transition(t)}function et(){return++K}var rt=r.b.prototype;tt.prototype=nt.prototype={constructor:tt,select:function(t){var n=this._name,e=this._id;"function"!=typeof t&&(t=Object(V.a)(t));for(var r=this._groups,i=r.length,o=new Array(i),a=0;a<i;++a)for(var u,c,f=r[a],s=f.length,l=o[a]=new Array(s),h=0;h<s;++h)(u=f[h])&&(c=t.call(u,u.__data__,h,f))&&("__data__"in u&&(c.__data__=u.__data__),l[h]=c,v(l[h],n,e,h,l,b(u,e)));return new tt(o,this._parents,n,e)},selectAll:function(t){var n=this._name,e=this._id;"function"!=typeof t&&(t=Object(G.a)(t));for(var r=this._groups,i=r.length,o=[],a=[],u=0;u<i;++u)for(var c,f=r[u],s=f.length,l=0;l<s;++l)if(c=f[l]){for(var h,d=t.call(c,c.__data__,l,f),p=b(c,e),g=0,y=d.length;g<y;++g)(h=d[g])&&v(h,n,e,g,d,p);o.push(d),a.push(c)}return new tt(o,a,n,e)},filter:function(t){"function"!=typeof t&&(t=Object(H.a)(t));for(var n=this._groups,e=n.length,r=new Array(e),i=0;i<e;++i)for(var o,a=n[i],u=a.length,c=r[i]=[],f=0;f<u;++f)(o=a[f])&&t.call(o,o.__data__,f,a)&&c.push(o);return new tt(r,this._parents,this._name,this._id)},merge:function(t){if(t._id!==this._id)throw new Error;for(var n=this._groups,e=t._groups,r=n.length,i=e.length,o=Math.min(r,i),a=new Array(r),u=0;u<o;++u)for(var c,f=n[u],s=e[u],l=f.length,h=a[u]=new Array(l),d=0;d<l;++d)(c=f[d]||s[d])&&(h[d]=c);for(;u<r;++u)a[u]=n[u];return new tt(a,this._parents,this._name,this._id)},selection:function(){return new W(this._groups,this._parents)},transition:function(){for(var t=this._name,n=this._id,e=et(),r=this._groups,i=r.length,o=0;o<i;++o)for(var a,u=r[o],c=u.length,f=0;f<c;++f)if(a=u[f]){var s=b(a,n);v(a,t,e,f,u,{time:s.time+s.delay+s.duration,delay:0,duration:s.duration,ease:s.ease})}return new tt(r,this._parents,t,e)},call:rt.call,nodes:rt.nodes,node:rt.node,size:rt.size,empty:rt.empty,each:rt.each,on:function(t,n){var e=this._id;return arguments.length<2?b(this.node(),e).on.on(t):this.each($(e,t,n))},attr:function(t,n){var e=Object(w.a)(t),r="transform"===e?_.b:T;return this.attrTween(t,"function"==typeof n?(e.local?R:P)(e,r,M(this,"attr."+t,n)):null==n?(e.local?C:N)(e):(e.local?j:S)(e,r,n))},attrTween:function(t,n){var e="attr."+t;if(arguments.length<2)return(e=this.tween(e))&&e._value;if(null==n)return this.tween(e,null);if("function"!=typeof n)throw new Error;var r=Object(w.a)(t);return this.tween(e,(r.local?D:L)(r,n))},style:function(t,n,e){var r="transform"==(t+="")?_.a:T;return null==n?this.styleTween(t,function(t,n){var e,r,i;return function(){var o=Object(X.b)(this,t),a=(this.style.removeProperty(t),Object(X.b)(this,t));return o===a?null:o===e&&a===r?i:i=n(e=o,r=a)}}(t,r)).on("end.style."+t,J(t)):"function"==typeof n?this.styleTween(t,function(t,n,e){var r,i,o;return function(){var a=Object(X.b)(this,t),u=e(this),c=u+"";return null==u&&(this.style.removeProperty(t),c=u=Object(X.b)(this,t)),a===c?null:a===r&&c===i?o:(i=c,o=n(r=a,u))}}(t,r,M(this,"style."+t,n))).each(function(t,n){var e,r,i,o,a="style."+n,u="end."+a;return function(){var c=m(this,t),f=c.on,s=null==c.value[a]?o||(o=J(n)):void 0;f===e&&i===s||(r=(e=f).copy()).on(u,i=s),c.on=r}}(this._id,t)):this.styleTween(t,function(t,n,e){var r,i,o=e+"";return function(){var a=Object(X.b)(this,t);return a===o?null:a===r?i:i=n(r=a,e)}}(t,r,n),e).on("end.style."+t,null)},styleTween:function(t,n,e){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==n)return this.tween(r,null);if("function"!=typeof n)throw new Error;return this.tween(r,Z(t,n,null==e?"":e))},text:function(t){return this.tween("text","function"==typeof t?function(t){return function(){var n=t(this);this.textContent=null==n?"":n}}(M(this,"text",t)):function(t){return function(){this.textContent=t}}(null==t?"":t+""))},textTween:function(t){var n="text";if(arguments.length<1)return(n=this.tween(n))&&n._value;if(null==t)return this.tween(n,null);if("function"!=typeof t)throw new Error;return this.tween(n,Q(t))},remove:function(){return this.on("end.remove",(t=this._id,function(){var n=this.parentNode;for(var e in this.__transition)if(+e!==t)return;n&&n.removeChild(this)}));var t},tween:function(t,n){var e=this._id;if(t+="",arguments.length<2){for(var r,i=b(this.node(),e).tween,o=0,a=i.length;o<a;++o)if((r=i[o]).name===t)return r.value;return null}return this.each((null==n?A:E)(e,t,n))},delay:function(t){var n=this._id;return arguments.length?this.each(("function"==typeof t?I:U)(n,t)):b(this.node(),n).delay},duration:function(t){var n=this._id;return arguments.length?this.each(("function"==typeof t?z:Y)(n,t)):b(this.node(),n).duration},ease:function(t){var n=this._id;return arguments.length?this.each(q(n,t)):b(this.node(),n).ease},end:function(){var t,n,e=this,r=e._id,i=e.size();return new Promise((function(o,a){var u={value:a},c={value:function(){0==--i&&o()}};e.each((function(){var e=m(this,r),i=e.on;i!==t&&((n=(t=i).copy())._.cancel.push(u),n._.interrupt.push(u),n._.end.push(c)),e.on=n}))}))}};var it={time:null,delay:0,duration:250,ease:e(267).b};function ot(t,n){for(var e;!(e=t.__transition)||!(e=e[n]);)if(!(t=t.parentNode))return it.time=Object(o.b)(),it;return e}r.b.prototype.interrupt=function(t){return this.each((function(){x(this,t)}))},r.b.prototype.transition=function(t){var n,e;t instanceof tt?(n=t._id,t=t._name):(n=et(),(e=it).time=Object(o.b)(),t=null==t?null:t+"");for(var r=this._groups,i=r.length,a=0;a<i;++a)for(var u,c=r[a],f=c.length,s=0;s<f;++s)(u=c[s])&&v(u,t,n,s,c,e||ot(u,n));return new tt(r,this._parents,t,n)};var at=[null],ut=function(t,n){var e,r,i=t.__transition;if(i)for(r in n=null==n?null:n+"",i)if((e=i[r]).state>s&&e.name===n)return new tt([[t]],at,n,+r);return null};e.d(n,"transition",(function(){return nt})),e.d(n,"active",(function(){return ut})),e.d(n,"interrupt",(function(){return x}))},215:function(t,n,e){"use strict";e.r(n);var r=e(657);e.d(n,"path",(function(){return r.a}))},22:function(t,n){t.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}},223:function(t,n,e){"use strict";e.d(n,"b",(function(){return c})),e.d(n,"c",(function(){return f}));var r=e(67),i=e(244),o=e(394),a=e(59);function u(t){return function(n){var e,i,o=n.length,a=new Array(o),u=new Array(o),c=new Array(o);for(e=0;e<o;++e)i=Object(r.g)(n[e]),a[e]=i.r||0,u[e]=i.g||0,c[e]=i.b||0;return a=t(a),u=t(u),c=t(c),i.opacity=1,function(t){return i.r=a(t),i.g=u(t),i.b=c(t),i+""}}}n.a=function t(n){var e=Object(a.b)(n);function i(t,n){var i=e((t=Object(r.g)(t)).r,(n=Object(r.g)(n)).r),o=e(t.g,n.g),u=e(t.b,n.b),c=Object(a.a)(t.opacity,n.opacity);return function(n){return t.r=i(n),t.g=o(n),t.b=u(n),t.opacity=c(n),t+""}}return i.gamma=t,i}(1);var c=u(i.b),f=u(o.a)},224:function(t,n,e){"use strict";n.a=function(t,n){if((e=(t=n?t.toExponential(n-1):t.toExponential()).indexOf("e"))<0)return null;var e,r=t.slice(0,e);return[r.length>1?r[0]+r.slice(2):r,+t.slice(e+1)]}},23:function(t,n,e){!function(t){var n,e,r,i=String.fromCharCode;function o(t){for(var n,e,r=[],i=0,o=t.length;i<o;)(n=t.charCodeAt(i++))>=55296&&n<=56319&&i<o?56320==(64512&(e=t.charCodeAt(i++)))?r.push(((1023&n)<<10)+(1023&e)+65536):(r.push(n),i--):r.push(n);return r}function a(t){if(t>=55296&&t<=57343)throw Error("Lone surrogate U+"+t.toString(16).toUpperCase()+" is not a scalar value")}function u(t,n){return i(t>>n&63|128)}function c(t){if(0==(4294967168&t))return i(t);var n="";return 0==(4294965248&t)?n=i(t>>6&31|192):0==(4294901760&t)?(a(t),n=i(t>>12&15|224),n+=u(t,6)):0==(4292870144&t)&&(n=i(t>>18&7|240),n+=u(t,12),n+=u(t,6)),n+=i(63&t|128)}function f(){if(r>=e)throw Error("Invalid byte index");var t=255&n[r];if(r++,128==(192&t))return 63&t;throw Error("Invalid continuation byte")}function s(){var t,i;if(r>e)throw Error("Invalid byte index");if(r==e)return!1;if(t=255&n[r],r++,0==(128&t))return t;if(192==(224&t)){if((i=(31&t)<<6|f())>=128)return i;throw Error("Invalid continuation byte")}if(224==(240&t)){if((i=(15&t)<<12|f()<<6|f())>=2048)return a(i),i;throw Error("Invalid continuation byte")}if(240==(248&t)&&(i=(7&t)<<18|f()<<12|f()<<6|f())>=65536&&i<=1114111)return i;throw Error("Invalid UTF-8 detected")}t.version="3.0.0",t.encode=function(t){for(var n=o(t),e=n.length,r=-1,i="";++r<e;)i+=c(n[r]);return i},t.decode=function(t){n=o(t),e=n.length,r=0;for(var a,u=[];!1!==(a=s());)u.push(a);return function(t){for(var n,e=t.length,r=-1,o="";++r<e;)(n=t[r])>65535&&(o+=i((n-=65536)>>>10&1023|55296),n=56320|1023&n),o+=i(n);return o}(u)}}(n)},233:function(t,n,e){"use strict";e.r(n);var r=e(653);e.d(n,"dispatch",(function(){return r.a}))},24:function(t,n,e){var r,i;!function(o,a){"use strict";void 0===(i="function"==typeof(r=function(){var t=function(){},n="undefined",e=typeof window!==n&&/Trident\/|MSIE /.test(window.navigator.userAgent),r=["trace","debug","info","warn","error"];function i(t,n){var e=t[n];if("function"==typeof e.bind)return e.bind(t);try{return Function.prototype.bind.call(e,t)}catch(n){return function(){return Function.prototype.apply.apply(e,[t,arguments])}}}function o(){console.log&&(console.log.apply?console.log.apply(console,arguments):Function.prototype.apply.apply(console.log,[console,arguments])),console.trace&&console.trace()}function a(n,e){for(var i=0;i<r.length;i++){var o=r[i];this[o]=i<n?t:this.methodFactory(o,n,e)}this.log=this.debug}function u(t,e,r){return function(){typeof console!==n&&(a.call(this,e,r),this[t].apply(this,arguments))}}function c(r,a,c){return function(r){return"debug"===r&&(r="log"),typeof console!==n&&("trace"===r&&e?o:void 0!==console[r]?i(console,r):void 0!==console.log?i(console,"log"):t)}(r)||u.apply(this,arguments)}function f(t,e,i){var o,u=this,f="loglevel";function s(){var t;if(typeof window!==n){try{t=window.localStorage[f]}catch(t){}if(typeof t===n)try{var e=window.document.cookie,r=e.indexOf(encodeURIComponent(f)+"=");-1!==r&&(t=/^([^;]+)/.exec(e.slice(r))[1])}catch(t){}return void 0===u.levels[t]&&(t=void 0),t}}t&&(f+=":"+t),u.name=t,u.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5},u.methodFactory=i||c,u.getLevel=function(){return o},u.setLevel=function(e,i){if("string"==typeof e&&void 0!==u.levels[e.toUpperCase()]&&(e=u.levels[e.toUpperCase()]),!("number"==typeof e&&e>=0&&e<=u.levels.SILENT))throw"log.setLevel() called with invalid level: "+e;if(o=e,!1!==i&&function(t){var e=(r[t]||"silent").toUpperCase();if(typeof window!==n){try{return void(window.localStorage[f]=e)}catch(t){}try{window.document.cookie=encodeURIComponent(f)+"="+e+";"}catch(t){}}}(e),a.call(u,e,t),typeof console===n&&e<u.levels.SILENT)return"No console available for logging"},u.setDefaultLevel=function(t){s()||u.setLevel(t,!1)},u.enableAll=function(t){u.setLevel(u.levels.TRACE,t)},u.disableAll=function(t){u.setLevel(u.levels.SILENT,t)};var l=s();null==l&&(l=null==e?"WARN":e),u.setLevel(l,!1)}var s=new f,l={};s.getLogger=function(t){if("string"!=typeof t||""===t)throw new TypeError("You must supply a name when creating a logger.");var n=l[t];return n||(n=l[t]=new f(t,s.getLevel(),s.methodFactory)),n};var h=typeof window!==n?window.log:void 0;return s.noConflict=function(){return typeof window!==n&&window.log===s&&(window.log=h),s},s.getLoggers=function(){return l},s})?r.call(n,e,n,t):r)||(t.exports=i)}()},244:function(t,n,e){"use strict";function r(t,n,e,r,i){var o=t*t,a=o*t;return((1-3*t+3*o-a)*n+(4-6*o+3*a)*e+(1+3*t+3*o-3*a)*r+a*i)/6}e.d(n,"a",(function(){return r})),n.b=function(t){var n=t.length-1;return function(e){var i=e<=0?e=0:e>=1?(e=1,n-1):Math.floor(e*n),o=t[i],a=t[i+1],u=i>0?t[i-1]:2*o-a,c=i<n-1?t[i+2]:2*a-o;return r((e-i/n)*n,u,o,a,c)}}},245:function(t,n,e){"use strict";var r=e(205);n.a=function(t){var n=t+="",e=n.indexOf(":");return e>=0&&"xmlns"!==(n=t.slice(0,e))&&(t=t.slice(e+1)),r.a.hasOwnProperty(n)?{space:r.a[n],local:t}:t}},246:function(t,n,e){"use strict";function r(){}n.a=function(t){return null==t?r:function(){return this.querySelector(t)}}},247:function(t,n,e){"use strict";n.a=function(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}},248:function(t,n,e){"use strict";var r=e(67),i=e(223),o=e(400),a=e(399),u=e(109),c=e(401),f=e(395),s=e(260),l=e(206);n.a=function(t,n){var e,h=typeof n;return null==n||"boolean"===h?Object(s.a)(n):("number"===h?u.a:"string"===h?(e=Object(r.e)(n))?(n=e,i.a):f.a:n instanceof r.e?i.a:n instanceof Date?a.a:Object(l.b)(n)?l.a:Array.isArray(n)?o.b:"function"!=typeof n.valueOf&&"function"!=typeof n.toString||isNaN(n)?c.a:u.a)(t,n)}},249:function(t,n,e){"use strict";e.d(n,"b",(function(){return o}));var r=e(255),i=e(134);function o(t,n){var e=t.document.documentElement,o=Object(r.a)(t).on("dragstart.drag",null);n&&(o.on("click.drag",i.a,!0),setTimeout((function(){o.on("click.drag",null)}),0)),"onselectstart"in e?o.on("selectstart.drag",null):(e.style.MozUserSelect=e.__noselect,delete e.__noselect)}n.a=function(t){var n=t.document.documentElement,e=Object(r.a)(t).on("dragstart.drag",i.a,!0);"onselectstart"in n?e.on("selectstart.drag",i.a,!0):(n.__noselect=n.style.MozUserSelect,n.style.MozUserSelect="none")}},25:function(t,n){var e,r,i=t.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function u(t){if(e===setTimeout)return setTimeout(t,0);if((e===o||!e)&&setTimeout)return e=setTimeout,setTimeout(t,0);try{return e(t,0)}catch(n){try{return e.call(null,t,0)}catch(n){return e.call(this,t,0)}}}!function(){try{e="function"==typeof setTimeout?setTimeout:o}catch(t){e=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(t){r=a}}();var c,f=[],s=!1,l=-1;function h(){s&&c&&(s=!1,c.length?f=c.concat(f):l=-1,f.length&&d())}function d(){if(!s){var t=u(h);s=!0;for(var n=f.length;n;){for(c=f,f=[];++l<n;)c&&c[l].run();l=-1,n=f.length}c=null,s=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(n){try{return r.call(null,t)}catch(n){return r.call(this,t)}}}(t)}}function p(t,n){this.fun=t,this.array=n}function g(){}i.nextTick=function(t){var n=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)n[e-1]=arguments[e];f.push(new p(t,n)),1!==f.length||s||u(d)},p.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=g,i.addListener=g,i.once=g,i.off=g,i.removeListener=g,i.removeAllListeners=g,i.emit=g,i.prependListener=g,i.prependOnceListener=g,i.listeners=function(t){return[]},i.binding=function(t){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(t){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},250:function(t,n,e){"use strict";var r={},i={},o=34,a=10,u=13;function c(t){return new Function("d","return {"+t.map((function(t,n){return JSON.stringify(t)+": d["+n+'] || ""'})).join(",")+"}")}function f(t){var n=Object.create(null),e=[];return t.forEach((function(t){for(var r in t)r in n||e.push(n[r]=r)})),e}function s(t,n){var e=t+"",r=e.length;return r<n?new Array(n-r+1).join(0)+e:e}function l(t){var n,e=t.getUTCHours(),r=t.getUTCMinutes(),i=t.getUTCSeconds(),o=t.getUTCMilliseconds();return isNaN(t)?"Invalid Date":((n=t.getUTCFullYear())<0?"-"+s(-n,6):n>9999?"+"+s(n,6):s(n,4))+"-"+s(t.getUTCMonth()+1,2)+"-"+s(t.getUTCDate(),2)+(o?"T"+s(e,2)+":"+s(r,2)+":"+s(i,2)+"."+s(o,3)+"Z":i?"T"+s(e,2)+":"+s(r,2)+":"+s(i,2)+"Z":r||e?"T"+s(e,2)+":"+s(r,2)+"Z":"")}n.a=function(t){var n=new RegExp('["'+t+"\n\r]"),e=t.charCodeAt(0);function s(t,n){var c,f=[],s=t.length,l=0,h=0,d=s<=0,p=!1;function g(){if(d)return i;if(p)return p=!1,r;var n,c,f=l;if(t.charCodeAt(f)===o){for(;l++<s&&t.charCodeAt(l)!==o||t.charCodeAt(++l)===o;);return(n=l)>=s?d=!0:(c=t.charCodeAt(l++))===a?p=!0:c===u&&(p=!0,t.charCodeAt(l)===a&&++l),t.slice(f+1,n-1).replace(/""/g,'"')}for(;l<s;){if((c=t.charCodeAt(n=l++))===a)p=!0;else if(c===u)p=!0,t.charCodeAt(l)===a&&++l;else if(c!==e)continue;return t.slice(f,n)}return d=!0,t.slice(f,s)}for(t.charCodeAt(s-1)===a&&--s,t.charCodeAt(s-1)===u&&--s;(c=g())!==i;){for(var v=[];c!==r&&c!==i;)v.push(c),c=g();n&&null==(v=n(v,h++))||f.push(v)}return f}function h(n,e){return n.map((function(n){return e.map((function(t){return p(n[t])})).join(t)}))}function d(n){return n.map(p).join(t)}function p(t){return null==t?"":t instanceof Date?l(t):n.test(t+="")?'"'+t.replace(/"/g,'""')+'"':t}return{parse:function(t,n){var e,r,i=s(t,(function(t,i){if(e)return e(t,i-1);r=t,e=n?function(t,n){var e=c(t);return function(r,i){return n(e(r),i,t)}}(t,n):c(t)}));return i.columns=r||[],i},parseRows:s,format:function(n,e){return null==e&&(e=f(n)),[e.map(p).join(t)].concat(h(n,e)).join("\n")},formatBody:function(t,n){return null==n&&(n=f(t)),h(t,n).join("\n")},formatRows:function(t){return t.map(d).join("\n")},formatRow:d,formatValue:p}}},251:function(t,n,e){"use strict";e.d(n,"b",(function(){return i})),e.d(n,"a",(function(){return o}));var r=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function i(t){if(!(n=r.exec(t)))throw new Error("invalid format: "+t);var n;return new o({fill:n[1],align:n[2],sign:n[3],symbol:n[4],zero:n[5],width:n[6],comma:n[7],precision:n[8]&&n[8].slice(1),trim:n[9],type:n[10]})}function o(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}i.prototype=o.prototype,o.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type}},254:function(t,n,e){"use strict";var r=e(141);n.a=function(){for(var t,n=r.c;t=n.sourceEvent;)n=t;return n}},255:function(t,n,e){"use strict";var r=e(143);n.a=function(t){return"string"==typeof t?new r.a([[document.querySelector(t)]],[document.documentElement]):new r.a([[t]],r.c)}},26:function(t,n){var e;e=function(){return this}();try{e=e||new Function("return this")()}catch(t){"object"==typeof window&&(e=window)}t.exports=e},260:function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},261:function(t,n,e){"use strict";e.d(n,"a",(function(){return r})),e.d(n,"b",(function(){return i}));var r=Math.PI/180,i=180/Math.PI},267:function(t,n,e){"use strict";function r(t){return t*t*t}function i(t){return--t*t*t+1}function o(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}e.d(n,"a",(function(){return r})),e.d(n,"c",(function(){return i})),e.d(n,"b",(function(){return o}))},268:function(t,n,e){"use strict";e.d(n,"b",(function(){return p})),e.d(n,"a",(function(){return g})),e.d(n,"d",(function(){return w})),e.d(n,"c",(function(){return A}));var r=e(110),i=e(67),o=e(261),a=.96422,u=1,c=.82521,f=4/29,s=6/29,l=3*s*s,h=s*s*s;function d(t){if(t instanceof v)return new v(t.l,t.a,t.b,t.opacity);if(t instanceof E)return M(t);t instanceof i.b||(t=Object(i.h)(t));var n,e,r=x(t.r),o=x(t.g),f=x(t.b),s=y((.2225045*r+.7168786*o+.0606169*f)/u);return r===o&&o===f?n=e=s:(n=y((.4360747*r+.3850649*o+.1430804*f)/a),e=y((.0139322*r+.0971045*o+.7141733*f)/c)),new v(116*s-16,500*(n-s),200*(s-e),t.opacity)}function p(t,n){return new v(t,0,0,null==n?1:n)}function g(t,n,e,r){return 1===arguments.length?d(t):new v(t,n,e,null==r?1:r)}function v(t,n,e,r){this.l=+t,this.a=+n,this.b=+e,this.opacity=+r}function y(t){return t>h?Math.pow(t,1/3):t/l+f}function m(t){return t>s?t*t*t:l*(t-f)}function b(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function x(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function _(t){if(t instanceof E)return new E(t.h,t.c,t.l,t.opacity);if(t instanceof v||(t=d(t)),0===t.a&&0===t.b)return new E(NaN,0<t.l&&t.l<100?0:NaN,t.l,t.opacity);var n=Math.atan2(t.b,t.a)*o.b;return new E(n<0?n+360:n,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function w(t,n,e,r){return 1===arguments.length?_(t):new E(e,n,t,null==r?1:r)}function A(t,n,e,r){return 1===arguments.length?_(t):new E(t,n,e,null==r?1:r)}function E(t,n,e,r){this.h=+t,this.c=+n,this.l=+e,this.opacity=+r}function M(t){if(isNaN(t.h))return new v(t.l,0,0,t.opacity);var n=t.h*o.a;return new v(t.l,Math.cos(n)*t.c,Math.sin(n)*t.c,t.opacity)}Object(r.a)(v,g,Object(r.b)(i.a,{brighter:function(t){return new v(this.l+18*(null==t?1:t),this.a,this.b,this.opacity)},darker:function(t){return new v(this.l-18*(null==t?1:t),this.a,this.b,this.opacity)},rgb:function(){var t=(this.l+16)/116,n=isNaN(this.a)?t:t+this.a/500,e=isNaN(this.b)?t:t-this.b/200;return n=a*m(n),t=u*m(t),e=c*m(e),new i.b(b(3.1338561*n-1.6168667*t-.4906146*e),b(-.9787684*n+1.9161415*t+.033454*e),b(.0719453*n-.2289914*t+1.4052427*e),this.opacity)}})),Object(r.a)(E,A,Object(r.b)(i.a,{brighter:function(t){return new E(this.h,this.c,this.l+18*(null==t?1:t),this.opacity)},darker:function(t){return new E(this.h,this.c,this.l-18*(null==t?1:t),this.opacity)},rgb:function(){return M(this).rgb()}}))},269:function(t,n,e){"use strict";e.d(n,"b",(function(){return a}));var r=e(53),i=e(57),o=Object(r.a)((function(t){t.setTime(t-t.getMilliseconds())}),(function(t,n){t.setTime(+t+n*i.d)}),(function(t,n){return(n-t)/i.d}),(function(t){return t.getUTCSeconds()}));n.a=o;var a=o.range},27:function(t,n,e){"use strict";e.d(n,"a",(function(){return i}));var r=e(0);
/**
 * Binary functions.
 *
 * @author n1474335 [n1474335@gmail.com]
 * @copyright Crown Copyright 2018
 * @license Apache-2.0
 */function i(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Space",e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:8,i=r.b.regexRep(n);t=t.replace(i,"");for(var o=[],a=0;a<t.length;a+=e)o.push(parseInt(t.substr(a,e),2));return o}},270:function(t,n,e){"use strict";e.d(n,"b",(function(){return o}));var r=e(53),i=Object(r.a)((function(){}),(function(t,n){t.setTime(+t+n)}),(function(t,n){return n-t}));i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?Object(r.a)((function(n){n.setTime(Math.floor(n/t)*t)}),(function(n,e){n.setTime(+n+e*t)}),(function(n,e){return(e-n)/t})):i:null},n.a=i;var o=i.range},28:function(t,n,e){"use strict";e.d(n,"a",(function(){return i}));var r=e(0);
/**
 * Decimal functions.
 *
 * @author n1474335 [n1474335@gmail.com]
 * @copyright Crown Copyright 2018
 * @license Apache-2.0
 */function i(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Auto";n=r.b.charRep(n);var e=[],i=t.split(n);""===i[i.length-1]&&(i=i.slice(0,i.length-1));for(var o=0;o<i.length;o++)e[o]=parseInt(i[o],10);return e}},3:function(t,n){function e(n){return t.exports=e=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},e(n)}t.exports=e},33:function(t,n,e){"use strict";e.r(n);var r=function(t,n){return t<n?-1:t>n?1:t>=n?0:NaN},i=function(t){var n;return 1===t.length&&(n=t,t=function(t,e){return r(n(t),e)}),{left:function(n,e,r,i){for(null==r&&(r=0),null==i&&(i=n.length);r<i;){var o=r+i>>>1;t(n[o],e)<0?r=o+1:i=o}return r},right:function(n,e,r,i){for(null==r&&(r=0),null==i&&(i=n.length);r<i;){var o=r+i>>>1;t(n[o],e)>0?i=o:r=o+1}return r}}};var o=i(r),a=o.right,u=o.left,c=a,f=function(t,n){null==n&&(n=s);for(var e=0,r=t.length-1,i=t[0],o=new Array(r<0?0:r);e<r;)o[e]=n(i,i=t[++e]);return o};function s(t,n){return[t,n]}var l=function(t,n,e){var r,i,o,a,u=t.length,c=n.length,f=new Array(u*c);for(null==e&&(e=s),r=o=0;r<u;++r)for(a=t[r],i=0;i<c;++i,++o)f[o]=e(a,n[i]);return f},h=function(t,n){return n<t?-1:n>t?1:n>=t?0:NaN},d=function(t){return null===t?NaN:+t},p=function(t,n){var e,r,i=t.length,o=0,a=-1,u=0,c=0;if(null==n)for(;++a<i;)isNaN(e=d(t[a]))||(c+=(r=e-u)*(e-(u+=r/++o)));else for(;++a<i;)isNaN(e=d(n(t[a],a,t)))||(c+=(r=e-u)*(e-(u+=r/++o)));if(o>1)return c/(o-1)},g=function(t,n){var e=p(t,n);return e?Math.sqrt(e):e},v=function(t,n){var e,r,i,o=t.length,a=-1;if(null==n){for(;++a<o;)if(null!=(e=t[a])&&e>=e)for(r=i=e;++a<o;)null!=(e=t[a])&&(r>e&&(r=e),i<e&&(i=e))}else for(;++a<o;)if(null!=(e=n(t[a],a,t))&&e>=e)for(r=i=e;++a<o;)null!=(e=n(t[a],a,t))&&(r>e&&(r=e),i<e&&(i=e));return[r,i]},y=Array.prototype,m=y.slice,b=y.map,x=function(t){return function(){return t}},_=function(t){return t},w=function(t,n,e){t=+t,n=+n,e=(i=arguments.length)<2?(n=t,t=0,1):i<3?1:+e;for(var r=-1,i=0|Math.max(0,Math.ceil((n-t)/e)),o=new Array(i);++r<i;)o[r]=t+r*e;return o},A=Math.sqrt(50),E=Math.sqrt(10),M=Math.sqrt(2),k=function(t,n,e){var r,i,o,a,u=-1;if(e=+e,(t=+t)===(n=+n)&&e>0)return[t];if((r=n<t)&&(i=t,t=n,n=i),0===(a=O(t,n,e))||!isFinite(a))return[];if(a>0)for(t=Math.ceil(t/a),n=Math.floor(n/a),o=new Array(i=Math.ceil(n-t+1));++u<i;)o[u]=(t+u)*a;else for(t=Math.floor(t*a),n=Math.ceil(n*a),o=new Array(i=Math.ceil(t-n+1));++u<i;)o[u]=(t-u)/a;return r&&o.reverse(),o};function O(t,n,e){var r=(n-t)/Math.max(0,e),i=Math.floor(Math.log(r)/Math.LN10),o=r/Math.pow(10,i);return i>=0?(o>=A?10:o>=E?5:o>=M?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=A?10:o>=E?5:o>=M?2:1)}function B(t,n,e){var r=Math.abs(n-t)/Math.max(0,e),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),o=r/i;return o>=A?i*=10:o>=E?i*=5:o>=M&&(i*=2),n<t?-i:i}var F=function(t){return Math.ceil(Math.log(t.length)/Math.LN2)+1},T=function(){var t=_,n=v,e=F;function r(r){var i,o,a=r.length,u=new Array(a);for(i=0;i<a;++i)u[i]=t(r[i],i,r);var f=n(u),s=f[0],l=f[1],h=e(u,s,l);Array.isArray(h)||(h=B(s,l,h),h=w(Math.ceil(s/h)*h,l,h));for(var d=h.length;h[0]<=s;)h.shift(),--d;for(;h[d-1]>l;)h.pop(),--d;var p,g=new Array(d+1);for(i=0;i<=d;++i)(p=g[i]=[]).x0=i>0?h[i-1]:s,p.x1=i<d?h[i]:l;for(i=0;i<a;++i)s<=(o=u[i])&&o<=l&&g[c(h,o,0,d)].push(r[i]);return g}return r.value=function(n){return arguments.length?(t="function"==typeof n?n:x(n),r):t},r.domain=function(t){return arguments.length?(n="function"==typeof t?t:x([t[0],t[1]]),r):n},r.thresholds=function(t){return arguments.length?(e="function"==typeof t?t:Array.isArray(t)?x(m.call(t)):x(t),r):e},r},N=function(t,n,e){if(null==e&&(e=d),r=t.length){if((n=+n)<=0||r<2)return+e(t[0],0,t);if(n>=1)return+e(t[r-1],r-1,t);var r,i=(r-1)*n,o=Math.floor(i),a=+e(t[o],o,t);return a+(+e(t[o+1],o+1,t)-a)*(i-o)}},C=function(t,n,e){return t=b.call(t,d).sort(r),Math.ceil((e-n)/(2*(N(t,.75)-N(t,.25))*Math.pow(t.length,-1/3)))},S=function(t,n,e){return Math.ceil((e-n)/(3.5*g(t)*Math.pow(t.length,-1/3)))},j=function(t,n){var e,r,i=t.length,o=-1;if(null==n){for(;++o<i;)if(null!=(e=t[o])&&e>=e)for(r=e;++o<i;)null!=(e=t[o])&&e>r&&(r=e)}else for(;++o<i;)if(null!=(e=n(t[o],o,t))&&e>=e)for(r=e;++o<i;)null!=(e=n(t[o],o,t))&&e>r&&(r=e);return r},P=function(t,n){var e,r=t.length,i=r,o=-1,a=0;if(null==n)for(;++o<r;)isNaN(e=d(t[o]))?--i:a+=e;else for(;++o<r;)isNaN(e=d(n(t[o],o,t)))?--i:a+=e;if(i)return a/i},R=function(t,n){var e,i=t.length,o=-1,a=[];if(null==n)for(;++o<i;)isNaN(e=d(t[o]))||a.push(e);else for(;++o<i;)isNaN(e=d(n(t[o],o,t)))||a.push(e);return N(a.sort(r),.5)},D=function(t){for(var n,e,r,i=t.length,o=-1,a=0;++o<i;)a+=t[o].length;for(e=new Array(a);--i>=0;)for(n=(r=t[i]).length;--n>=0;)e[--a]=r[n];return e},L=function(t,n){var e,r,i=t.length,o=-1;if(null==n){for(;++o<i;)if(null!=(e=t[o])&&e>=e)for(r=e;++o<i;)null!=(e=t[o])&&r>e&&(r=e)}else for(;++o<i;)if(null!=(e=n(t[o],o,t))&&e>=e)for(r=e;++o<i;)null!=(e=n(t[o],o,t))&&r>e&&(r=e);return r},I=function(t,n){for(var e=n.length,r=new Array(e);e--;)r[e]=t[n[e]];return r},U=function(t,n){if(e=t.length){var e,i,o=0,a=0,u=t[a];for(null==n&&(n=r);++o<e;)(n(i=t[o],u)<0||0!==n(u,u))&&(u=i,a=o);return 0===n(u,u)?a:void 0}},z=function(t,n,e){for(var r,i,o=(null==e?t.length:e)-(n=null==n?0:+n);o;)i=Math.random()*o--|0,r=t[o+n],t[o+n]=t[i+n],t[i+n]=r;return t},Y=function(t,n){var e,r=t.length,i=-1,o=0;if(null==n)for(;++i<r;)(e=+t[i])&&(o+=e);else for(;++i<r;)(e=+n(t[i],i,t))&&(o+=e);return o},q=function(t){if(!(i=t.length))return[];for(var n=-1,e=L(t,H),r=new Array(e);++n<e;)for(var i,o=-1,a=r[n]=new Array(i);++o<i;)a[o]=t[o][n];return r};function H(t){return t.length}var $=function(){return q(arguments)};e.d(n,"bisect",(function(){return c})),e.d(n,"bisectRight",(function(){return a})),e.d(n,"bisectLeft",(function(){return u})),e.d(n,"ascending",(function(){return r})),e.d(n,"bisector",(function(){return i})),e.d(n,"cross",(function(){return l})),e.d(n,"descending",(function(){return h})),e.d(n,"deviation",(function(){return g})),e.d(n,"extent",(function(){return v})),e.d(n,"histogram",(function(){return T})),e.d(n,"thresholdFreedmanDiaconis",(function(){return C})),e.d(n,"thresholdScott",(function(){return S})),e.d(n,"thresholdSturges",(function(){return F})),e.d(n,"max",(function(){return j})),e.d(n,"mean",(function(){return P})),e.d(n,"median",(function(){return R})),e.d(n,"merge",(function(){return D})),e.d(n,"min",(function(){return L})),e.d(n,"pairs",(function(){return f})),e.d(n,"permute",(function(){return I})),e.d(n,"quantile",(function(){return N})),e.d(n,"range",(function(){return w})),e.d(n,"scan",(function(){return U})),e.d(n,"shuffle",(function(){return z})),e.d(n,"sum",(function(){return Y})),e.d(n,"ticks",(function(){return k})),e.d(n,"tickIncrement",(function(){return O})),e.d(n,"tickStep",(function(){return B})),e.d(n,"transpose",(function(){return q})),e.d(n,"variance",(function(){return p})),e.d(n,"zip",(function(){return $}))},361:function(t,n,e){"use strict";e.d(n,"a",(function(){return a}));var r=e(53),i=e(57),o=Object(r.a)((function(t){t.setHours(0,0,0,0)}),(function(t,n){t.setDate(t.getDate()+n)}),(function(t,n){return(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*i.c)/i.a}),(function(t){return t.getDate()-1}));n.b=o;var a=o.range},362:function(t,n,e){"use strict";e.d(n,"b",(function(){return a}));var r=e(53),i=e(57),o=Object(r.a)((function(t){t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCDate(t.getUTCDate()+n)}),(function(t,n){return(n-t)/i.a}),(function(t){return t.getUTCDate()-1}));n.a=o;var a=o.range},373:function(t,n,e){"use strict";e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return o})),e.d(n,"a",(function(){return u}));var r,i,o,a=e(403);function u(t){return r=Object(a.a)(t),i=r.format,o=r.formatPrefix,r}u({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"})},374:function(t,n,e){"use strict";e.r(n);var r=e(53);e.d(n,"timeInterval",(function(){return r.a}));var i=e(270);e.d(n,"timeMillisecond",(function(){return i.a})),e.d(n,"timeMilliseconds",(function(){return i.b})),e.d(n,"utcMillisecond",(function(){return i.a})),e.d(n,"utcMilliseconds",(function(){return i.b}));var o=e(269);e.d(n,"timeSecond",(function(){return o.a})),e.d(n,"timeSeconds",(function(){return o.b})),e.d(n,"utcSecond",(function(){return o.a})),e.d(n,"utcSeconds",(function(){return o.b}));var a=e(435);e.d(n,"timeMinute",(function(){return a.a})),e.d(n,"timeMinutes",(function(){return a.b}));var u=e(434);e.d(n,"timeHour",(function(){return u.a})),e.d(n,"timeHours",(function(){return u.b}));var c=e(361);e.d(n,"timeDay",(function(){return c.b})),e.d(n,"timeDays",(function(){return c.a}));var f=e(65);e.d(n,"timeWeek",(function(){return f.g})),e.d(n,"timeWeeks",(function(){return f.h})),e.d(n,"timeSunday",(function(){return f.g})),e.d(n,"timeSundays",(function(){return f.h})),e.d(n,"timeMonday",(function(){return f.c})),e.d(n,"timeMondays",(function(){return f.d})),e.d(n,"timeTuesday",(function(){return f.k})),e.d(n,"timeTuesdays",(function(){return f.l})),e.d(n,"timeWednesday",(function(){return f.m})),e.d(n,"timeWednesdays",(function(){return f.n})),e.d(n,"timeThursday",(function(){return f.i})),e.d(n,"timeThursdays",(function(){return f.j})),e.d(n,"timeFriday",(function(){return f.a})),e.d(n,"timeFridays",(function(){return f.b})),e.d(n,"timeSaturday",(function(){return f.e})),e.d(n,"timeSaturdays",(function(){return f.f}));var s=e(433);e.d(n,"timeMonth",(function(){return s.a})),e.d(n,"timeMonths",(function(){return s.b}));var l=e(208);e.d(n,"timeYear",(function(){return l.a})),e.d(n,"timeYears",(function(){return l.b}));var h=e(438);e.d(n,"utcMinute",(function(){return h.a})),e.d(n,"utcMinutes",(function(){return h.b}));var d=e(437);e.d(n,"utcHour",(function(){return d.a})),e.d(n,"utcHours",(function(){return d.b}));var p=e(362);e.d(n,"utcDay",(function(){return p.a})),e.d(n,"utcDays",(function(){return p.b}));var g=e(66);e.d(n,"utcWeek",(function(){return g.g})),e.d(n,"utcWeeks",(function(){return g.h})),e.d(n,"utcSunday",(function(){return g.g})),e.d(n,"utcSundays",(function(){return g.h})),e.d(n,"utcMonday",(function(){return g.c})),e.d(n,"utcMondays",(function(){return g.d})),e.d(n,"utcTuesday",(function(){return g.k})),e.d(n,"utcTuesdays",(function(){return g.l})),e.d(n,"utcWednesday",(function(){return g.m})),e.d(n,"utcWednesdays",(function(){return g.n})),e.d(n,"utcThursday",(function(){return g.i})),e.d(n,"utcThursdays",(function(){return g.j})),e.d(n,"utcFriday",(function(){return g.a})),e.d(n,"utcFridays",(function(){return g.b})),e.d(n,"utcSaturday",(function(){return g.e})),e.d(n,"utcSaturdays",(function(){return g.f}));var v=e(436);e.d(n,"utcMonth",(function(){return v.a})),e.d(n,"utcMonths",(function(){return v.b}));var y=e(209);e.d(n,"utcYear",(function(){return y.a})),e.d(n,"utcYears",(function(){return y.b}))},38:function(t,n){function e(n){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?t.exports=e=function(t){return typeof t}:t.exports=e=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(n)}t.exports=e},39:function(t,n){function e(n,r){return t.exports=e=Object.setPrototypeOf||function(t,n){return t.__proto__=n,t},e(n,r)}t.exports=e},393:function(t,n,e){"use strict";e.r(n);var r=e(158),i=e(654),o=function(t,n,e){var i=new r.a,o=n;return null==n?(i.restart(t,n,e),i):(n=+n,e=null==e?Object(r.b)():+e,i.restart((function r(a){a+=o,i.restart(r,o+=n,e),t(a)}),n,e),i)};e.d(n,"now",(function(){return r.b})),e.d(n,"timer",(function(){return r.c})),e.d(n,"timerFlush",(function(){return r.d})),e.d(n,"timeout",(function(){return i.a})),e.d(n,"interval",(function(){return o}))},394:function(t,n,e){"use strict";var r=e(244);n.a=function(t){var n=t.length;return function(e){var i=Math.floor(((e%=1)<0?++e:e)*n),o=t[(i+n-1)%n],a=t[i%n],u=t[(i+1)%n],c=t[(i+2)%n];return Object(r.a)((e-i/n)*n,o,a,u,c)}}},395:function(t,n,e){"use strict";var r=e(109),i=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,o=new RegExp(i.source,"g");n.a=function(t,n){var e,a,u,c=i.lastIndex=o.lastIndex=0,f=-1,s=[],l=[];for(t+="",n+="";(e=i.exec(t))&&(a=o.exec(n));)(u=a.index)>c&&(u=n.slice(c,u),s[f]?s[f]+=u:s[++f]=u),(e=e[0])===(a=a[0])?s[f]?s[f]+=a:s[++f]=a:(s[++f]=null,l.push({i:f,x:Object(r.a)(e,a)})),c=o.lastIndex;return c<n.length&&(u=n.slice(c),s[f]?s[f]+=u:s[++f]=u),s.length<2?l[0]?function(t){return function(n){return t(n)+""}}(l[0].x):function(t){return function(){return t}}(n):(n=l.length,function(t){for(var e,r=0;r<n;++r)s[(e=l[r]).i]=e.x(t);return s.join("")})}},396:function(t,n,e){"use strict";n.a=function(t){return function(){return this.matches(t)}}},397:function(t,n,e){"use strict";function r(){return[]}n.a=function(t){return null==t?r:function(){return this.querySelectorAll(t)}}},398:function(t,n,e){"use strict";e.d(n,"b",(function(){return u}));var r=e(247);function i(t){return function(){this.style.removeProperty(t)}}function o(t,n,e){return function(){this.style.setProperty(t,n,e)}}function a(t,n,e){return function(){var r=n.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,e)}}function u(t,n){return t.style.getPropertyValue(n)||Object(r.a)(t).getComputedStyle(t,null).getPropertyValue(n)}n.a=function(t,n,e){return arguments.length>1?this.each((null==n?i:"function"==typeof n?a:o)(t,n,null==e?"":e)):u(this.node(),t)}},399:function(t,n,e){"use strict";n.a=function(t,n){var e=new Date;return t=+t,n=+n,function(r){return e.setTime(t*(1-r)+n*r),e}}},4:function(t,n,e){var r=e(38),i=e(22);t.exports=function(t,n){return!n||"object"!==r(n)&&"function"!=typeof n?i(t):n}},40:function(t,n,e){"use strict";n.byteLength=function(t){var n=f(t),e=n[0],r=n[1];return 3*(e+r)/4-r},n.toByteArray=function(t){for(var n,e=f(t),r=e[0],a=e[1],u=new o(function(t,n,e){return 3*(n+e)/4-e}(0,r,a)),c=0,s=a>0?r-4:r,l=0;l<s;l+=4)n=i[t.charCodeAt(l)]<<18|i[t.charCodeAt(l+1)]<<12|i[t.charCodeAt(l+2)]<<6|i[t.charCodeAt(l+3)],u[c++]=n>>16&255,u[c++]=n>>8&255,u[c++]=255&n;2===a&&(n=i[t.charCodeAt(l)]<<2|i[t.charCodeAt(l+1)]>>4,u[c++]=255&n);1===a&&(n=i[t.charCodeAt(l)]<<10|i[t.charCodeAt(l+1)]<<4|i[t.charCodeAt(l+2)]>>2,u[c++]=n>>8&255,u[c++]=255&n);return u},n.fromByteArray=function(t){for(var n,e=t.length,i=e%3,o=[],a=0,u=e-i;a<u;a+=16383)o.push(s(t,a,a+16383>u?u:a+16383));1===i?(n=t[e-1],o.push(r[n>>2]+r[n<<4&63]+"==")):2===i&&(n=(t[e-2]<<8)+t[e-1],o.push(r[n>>10]+r[n>>4&63]+r[n<<2&63]+"="));return o.join("")};for(var r=[],i=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u=0,c=a.length;u<c;++u)r[u]=a[u],i[a.charCodeAt(u)]=u;function f(t){var n=t.length;if(n%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var e=t.indexOf("=");return-1===e&&(e=n),[e,e===n?0:4-e%4]}function s(t,n,e){for(var i,o,a=[],u=n;u<e;u+=3)i=(t[u]<<16&16711680)+(t[u+1]<<8&65280)+(255&t[u+2]),a.push(r[(o=i)>>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return a.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},400:function(t,n,e){"use strict";e.d(n,"b",(function(){return o}));var r=e(248),i=e(206);function o(t,n){var e,i=n?n.length:0,o=t?Math.min(i,t.length):0,a=new Array(o),u=new Array(i);for(e=0;e<o;++e)a[e]=Object(r.a)(t[e],n[e]);for(;e<i;++e)u[e]=n[e];return function(t){for(e=0;e<o;++e)u[e]=a[e](t);return u}}n.a=function(t,n){return(Object(i.b)(n)?i.a:o)(t,n)}},401:function(t,n,e){"use strict";var r=e(248);n.a=function(t,n){var e,i={},o={};for(e in null!==t&&"object"==typeof t||(t={}),null!==n&&"object"==typeof n||(n={}),n)e in t?i[e]=Object(r.a)(t[e],n[e]):o[e]=n[e];return function(t){for(e in i)o[e]=i[e](t);return o}}},402:function(t,n,e){"use strict";e.d(n,"a",(function(){return h}));var r=e(66),i=e(362),o=e(65),a=e(361),u=e(208),c=e(209);function f(t){if(0<=t.y&&t.y<100){var n=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return n.setFullYear(t.y),n}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function s(t){if(0<=t.y&&t.y<100){var n=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return n.setUTCFullYear(t.y),n}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function l(t,n,e){return{y:t,m:n,d:e,H:0,M:0,S:0,L:0}}function h(t){var n=t.dateTime,e=t.date,u=t.time,c=t.periods,h=t.days,p=t.shortDays,g=t.months,v=t.shortMonths,y=b(c),m=x(c),Et=b(h),Mt=x(h),kt=b(p),Ot=x(p),Bt=b(g),Ft=x(g),Tt=b(v),Nt=x(v),Ct={a:function(t){return p[t.getDay()]},A:function(t){return h[t.getDay()]},b:function(t){return v[t.getMonth()]},B:function(t){return g[t.getMonth()]},c:null,d:z,e:z,f:V,H:Y,I:q,j:H,L:$,m:G,M:W,p:function(t){return c[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:wt,s:At,S:X,u:J,U:Z,V:Q,w:K,W:tt,x:null,X:null,y:nt,Y:et,Z:rt,"%":_t},St={a:function(t){return p[t.getUTCDay()]},A:function(t){return h[t.getUTCDay()]},b:function(t){return v[t.getUTCMonth()]},B:function(t){return g[t.getUTCMonth()]},c:null,d:it,e:it,f:ft,H:ot,I:at,j:ut,L:ct,m:st,M:lt,p:function(t){return c[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:wt,s:At,S:ht,u:dt,U:pt,V:gt,w:vt,W:yt,x:null,X:null,y:mt,Y:bt,Z:xt,"%":_t},jt={a:function(t,n,e){var r=kt.exec(n.slice(e));return r?(t.w=Ot[r[0].toLowerCase()],e+r[0].length):-1},A:function(t,n,e){var r=Et.exec(n.slice(e));return r?(t.w=Mt[r[0].toLowerCase()],e+r[0].length):-1},b:function(t,n,e){var r=Tt.exec(n.slice(e));return r?(t.m=Nt[r[0].toLowerCase()],e+r[0].length):-1},B:function(t,n,e){var r=Bt.exec(n.slice(e));return r?(t.m=Ft[r[0].toLowerCase()],e+r[0].length):-1},c:function(t,e,r){return Dt(t,n,e,r)},d:N,e:N,f:D,H:S,I:S,j:C,L:R,m:T,M:j,p:function(t,n,e){var r=y.exec(n.slice(e));return r?(t.p=m[r[0].toLowerCase()],e+r[0].length):-1},q:F,Q:I,s:U,S:P,u:w,U:A,V:E,w:_,W:M,x:function(t,n,r){return Dt(t,e,n,r)},X:function(t,n,e){return Dt(t,u,n,e)},y:O,Y:k,Z:B,"%":L};function Pt(t,n){return function(e){var r,i,o,a=[],u=-1,c=0,f=t.length;for(e instanceof Date||(e=new Date(+e));++u<f;)37===t.charCodeAt(u)&&(a.push(t.slice(c,u)),null!=(i=d[r=t.charAt(++u)])?r=t.charAt(++u):i="e"===r?" ":"0",(o=n[r])&&(r=o(e,i)),a.push(r),c=u+1);return a.push(t.slice(c,u)),a.join("")}}function Rt(t,n){return function(e){var u,c,h=l(1900,void 0,1);if(Dt(h,t,e+="",0)!=e.length)return null;if("Q"in h)return new Date(h.Q);if("s"in h)return new Date(1e3*h.s+("L"in h?h.L:0));if(!n||"Z"in h||(h.Z=0),"p"in h&&(h.H=h.H%12+12*h.p),void 0===h.m&&(h.m="q"in h?h.q:0),"V"in h){if(h.V<1||h.V>53)return null;"w"in h||(h.w=1),"Z"in h?(c=(u=s(l(h.y,0,1))).getUTCDay(),u=c>4||0===c?r.c.ceil(u):Object(r.c)(u),u=i.a.offset(u,7*(h.V-1)),h.y=u.getUTCFullYear(),h.m=u.getUTCMonth(),h.d=u.getUTCDate()+(h.w+6)%7):(c=(u=f(l(h.y,0,1))).getDay(),u=c>4||0===c?o.c.ceil(u):Object(o.c)(u),u=a.b.offset(u,7*(h.V-1)),h.y=u.getFullYear(),h.m=u.getMonth(),h.d=u.getDate()+(h.w+6)%7)}else("W"in h||"U"in h)&&("w"in h||(h.w="u"in h?h.u%7:"W"in h?1:0),c="Z"in h?s(l(h.y,0,1)).getUTCDay():f(l(h.y,0,1)).getDay(),h.m=0,h.d="W"in h?(h.w+6)%7+7*h.W-(c+5)%7:h.w+7*h.U-(c+6)%7);return"Z"in h?(h.H+=h.Z/100|0,h.M+=h.Z%100,s(h)):f(h)}}function Dt(t,n,e,r){for(var i,o,a=0,u=n.length,c=e.length;a<u;){if(r>=c)return-1;if(37===(i=n.charCodeAt(a++))){if(i=n.charAt(a++),!(o=jt[i in d?n.charAt(a++):i])||(r=o(t,e,r))<0)return-1}else if(i!=e.charCodeAt(r++))return-1}return r}return(Ct.x=Pt(e,Ct),Ct.X=Pt(u,Ct),Ct.c=Pt(n,Ct),St.x=Pt(e,St),St.X=Pt(u,St),St.c=Pt(n,St),{format:function(t){var n=Pt(t+="",Ct);return n.toString=function(){return t},n},parse:function(t){var n=Rt(t+="",!1);return n.toString=function(){return t},n},utcFormat:function(t){var n=Pt(t+="",St);return n.toString=function(){return t},n},utcParse:function(t){var n=Rt(t+="",!0);return n.toString=function(){return t},n}})}var d={"-":"",_:" ",0:"0"},p=/^\s*\d+/,g=/^%/,v=/[\\^$*+?|[\]().{}]/g;function y(t,n,e){var r=t<0?"-":"",i=(r?-t:t)+"",o=i.length;return r+(o<e?new Array(e-o+1).join(n)+i:i)}function m(t){return t.replace(v,"\\$&")}function b(t){return new RegExp("^(?:"+t.map(m).join("|")+")","i")}function x(t){for(var n={},e=-1,r=t.length;++e<r;)n[t[e].toLowerCase()]=e;return n}function _(t,n,e){var r=p.exec(n.slice(e,e+1));return r?(t.w=+r[0],e+r[0].length):-1}function w(t,n,e){var r=p.exec(n.slice(e,e+1));return r?(t.u=+r[0],e+r[0].length):-1}function A(t,n,e){var r=p.exec(n.slice(e,e+2));return r?(t.U=+r[0],e+r[0].length):-1}function E(t,n,e){var r=p.exec(n.slice(e,e+2));return r?(t.V=+r[0],e+r[0].length):-1}function M(t,n,e){var r=p.exec(n.slice(e,e+2));return r?(t.W=+r[0],e+r[0].length):-1}function k(t,n,e){var r=p.exec(n.slice(e,e+4));return r?(t.y=+r[0],e+r[0].length):-1}function O(t,n,e){var r=p.exec(n.slice(e,e+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),e+r[0].length):-1}function B(t,n,e){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(n.slice(e,e+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),e+r[0].length):-1}function F(t,n,e){var r=p.exec(n.slice(e,e+1));return r?(t.q=3*r[0]-3,e+r[0].length):-1}function T(t,n,e){var r=p.exec(n.slice(e,e+2));return r?(t.m=r[0]-1,e+r[0].length):-1}function N(t,n,e){var r=p.exec(n.slice(e,e+2));return r?(t.d=+r[0],e+r[0].length):-1}function C(t,n,e){var r=p.exec(n.slice(e,e+3));return r?(t.m=0,t.d=+r[0],e+r[0].length):-1}function S(t,n,e){var r=p.exec(n.slice(e,e+2));return r?(t.H=+r[0],e+r[0].length):-1}function j(t,n,e){var r=p.exec(n.slice(e,e+2));return r?(t.M=+r[0],e+r[0].length):-1}function P(t,n,e){var r=p.exec(n.slice(e,e+2));return r?(t.S=+r[0],e+r[0].length):-1}function R(t,n,e){var r=p.exec(n.slice(e,e+3));return r?(t.L=+r[0],e+r[0].length):-1}function D(t,n,e){var r=p.exec(n.slice(e,e+6));return r?(t.L=Math.floor(r[0]/1e3),e+r[0].length):-1}function L(t,n,e){var r=g.exec(n.slice(e,e+1));return r?e+r[0].length:-1}function I(t,n,e){var r=p.exec(n.slice(e));return r?(t.Q=+r[0],e+r[0].length):-1}function U(t,n,e){var r=p.exec(n.slice(e));return r?(t.s=+r[0],e+r[0].length):-1}function z(t,n){return y(t.getDate(),n,2)}function Y(t,n){return y(t.getHours(),n,2)}function q(t,n){return y(t.getHours()%12||12,n,2)}function H(t,n){return y(1+a.b.count(Object(u.a)(t),t),n,3)}function $(t,n){return y(t.getMilliseconds(),n,3)}function V(t,n){return $(t,n)+"000"}function G(t,n){return y(t.getMonth()+1,n,2)}function W(t,n){return y(t.getMinutes(),n,2)}function X(t,n){return y(t.getSeconds(),n,2)}function J(t){var n=t.getDay();return 0===n?7:n}function Z(t,n){return y(o.g.count(Object(u.a)(t)-1,t),n,2)}function Q(t,n){var e=t.getDay();return t=e>=4||0===e?Object(o.i)(t):o.i.ceil(t),y(o.i.count(Object(u.a)(t),t)+(4===Object(u.a)(t).getDay()),n,2)}function K(t){return t.getDay()}function tt(t,n){return y(o.c.count(Object(u.a)(t)-1,t),n,2)}function nt(t,n){return y(t.getFullYear()%100,n,2)}function et(t,n){return y(t.getFullYear()%1e4,n,4)}function rt(t){var n=t.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+y(n/60|0,"0",2)+y(n%60,"0",2)}function it(t,n){return y(t.getUTCDate(),n,2)}function ot(t,n){return y(t.getUTCHours(),n,2)}function at(t,n){return y(t.getUTCHours()%12||12,n,2)}function ut(t,n){return y(1+i.a.count(Object(c.a)(t),t),n,3)}function ct(t,n){return y(t.getUTCMilliseconds(),n,3)}function ft(t,n){return ct(t,n)+"000"}function st(t,n){return y(t.getUTCMonth()+1,n,2)}function lt(t,n){return y(t.getUTCMinutes(),n,2)}function ht(t,n){return y(t.getUTCSeconds(),n,2)}function dt(t){var n=t.getUTCDay();return 0===n?7:n}function pt(t,n){return y(r.g.count(Object(c.a)(t)-1,t),n,2)}function gt(t,n){var e=t.getUTCDay();return t=e>=4||0===e?Object(r.i)(t):r.i.ceil(t),y(r.i.count(Object(c.a)(t),t)+(4===Object(c.a)(t).getUTCDay()),n,2)}function vt(t){return t.getUTCDay()}function yt(t,n){return y(r.c.count(Object(c.a)(t)-1,t),n,2)}function mt(t,n){return y(t.getUTCFullYear()%100,n,2)}function bt(t,n){return y(t.getUTCFullYear()%1e4,n,4)}function xt(){return"+0000"}function _t(){return"%"}function wt(t){return+t}function At(t){return Math.floor(+t/1e3)}},403:function(t,n,e){"use strict";var r,i=e(142),o=e(251),a=function(t){t:for(var n,e=t.length,r=1,i=-1;r<e;++r)switch(t[r]){case".":i=n=r;break;case"0":0===i&&(i=r),n=r;break;default:if(i>0){if(!+t[r])break t;i=0}}return i>0?t.slice(0,i)+t.slice(n+1):t},u=e(224),c=function(t,n){var e=Object(u.a)(t,n);if(!e)return t+"";var r=e[0],i=e[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")},f={"%":function(t,n){return(100*t).toFixed(n)},b:function(t){return Math.round(t).toString(2)},c:function(t){return t+""},d:function(t){return Math.round(t).toString(10)},e:function(t,n){return t.toExponential(n)},f:function(t,n){return t.toFixed(n)},g:function(t,n){return t.toPrecision(n)},o:function(t){return Math.round(t).toString(8)},p:function(t,n){return c(100*t,n)},r:c,s:function(t,n){var e=Object(u.a)(t,n);if(!e)return t+"";var i=e[0],o=e[1],a=o-(r=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,c=i.length;return a===c?i:a>c?i+new Array(a-c+1).join("0"):a>0?i.slice(0,a)+"."+i.slice(a):"0."+new Array(1-a).join("0")+Object(u.a)(t,Math.max(0,n+a-1))[0]},X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}},s=function(t){return t},l=Array.prototype.map,h=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];n.a=function(t){var n,e,u=void 0===t.grouping||void 0===t.thousands?s:(n=l.call(t.grouping,Number),e=t.thousands+"",function(t,r){for(var i=t.length,o=[],a=0,u=n[0],c=0;i>0&&u>0&&(c+u+1>r&&(u=Math.max(1,r-c)),o.push(t.substring(i-=u,i+u)),!((c+=u+1)>r));)u=n[a=(a+1)%n.length];return o.reverse().join(e)}),c=void 0===t.currency?"":t.currency[0]+"",d=void 0===t.currency?"":t.currency[1]+"",p=void 0===t.decimal?".":t.decimal+"",g=void 0===t.numerals?s:function(t){return function(n){return n.replace(/[0-9]/g,(function(n){return t[+n]}))}}(l.call(t.numerals,String)),v=void 0===t.percent?"%":t.percent+"",y=void 0===t.minus?"-":t.minus+"",m=void 0===t.nan?"NaN":t.nan+"";function b(t){var n=(t=Object(o.b)(t)).fill,e=t.align,i=t.sign,s=t.symbol,l=t.zero,b=t.width,x=t.comma,_=t.precision,w=t.trim,A=t.type;"n"===A?(x=!0,A="g"):f[A]||(void 0===_&&(_=12),w=!0,A="g"),(l||"0"===n&&"="===e)&&(l=!0,n="0",e="=");var E="$"===s?c:"#"===s&&/[boxX]/.test(A)?"0"+A.toLowerCase():"",M="$"===s?d:/[%p]/.test(A)?v:"",k=f[A],O=/[defgprs%]/.test(A);function B(t){var o,c,f,s=E,d=M;if("c"===A)d=k(t)+d,t="";else{var v=(t=+t)<0;if(t=isNaN(t)?m:k(Math.abs(t),_),w&&(t=a(t)),v&&0==+t&&(v=!1),s=(v?"("===i?i:y:"-"===i||"("===i?"":i)+s,d=("s"===A?h[8+r/3]:"")+d+(v&&"("===i?")":""),O)for(o=-1,c=t.length;++o<c;)if(48>(f=t.charCodeAt(o))||f>57){d=(46===f?p+t.slice(o+1):t.slice(o))+d,t=t.slice(0,o);break}}x&&!l&&(t=u(t,1/0));var B=s.length+t.length+d.length,F=B<b?new Array(b-B+1).join(n):"";switch(x&&l&&(t=u(F+t,F.length?b-d.length:1/0),F=""),e){case"<":t=s+t+d+F;break;case"=":t=s+F+t+d;break;case"^":t=F.slice(0,B=F.length>>1)+s+t+d+F.slice(B);break;default:t=F+s+t+d}return g(t)}return _=void 0===_?6:/[gprs]/.test(A)?Math.max(1,Math.min(21,_)):Math.max(0,Math.min(20,_)),B.toString=function(){return t+""},B}return{format:b,formatPrefix:function(t,n){var e=b(((t=Object(o.b)(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(Object(i.a)(n)/3))),a=Math.pow(10,-r),u=h[8+r/3];return function(t){return e(a*t)+u}}}}},407:function(t,n,e){"use strict";e.d(n,"a",(function(){return p}));var r=e(110),i=e(67),o=e(261),a=-.14861,u=1.78277,c=-.29227,f=-.90649,s=1.97294,l=s*f,h=s*u,d=u*c-f*a;function p(t,n,e,r){return 1===arguments.length?function(t){if(t instanceof g)return new g(t.h,t.s,t.l,t.opacity);t instanceof i.b||(t=Object(i.h)(t));var n=t.r/255,e=t.g/255,r=t.b/255,a=(d*r+l*n-h*e)/(d+l-h),u=r-a,p=(s*(e-a)-c*u)/f,v=Math.sqrt(p*p+u*u)/(s*a*(1-a)),y=v?Math.atan2(p,u)*o.b-120:NaN;return new g(y<0?y+360:y,v,a,t.opacity)}(t):new g(t,n,e,null==r?1:r)}function g(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}Object(r.a)(g,p,Object(r.b)(i.a,{brighter:function(t){return t=null==t?i.c:Math.pow(i.c,t),new g(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?i.d:Math.pow(i.d,t),new g(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=isNaN(this.h)?0:(this.h+120)*o.a,n=+this.l,e=isNaN(this.s)?0:this.s*n*(1-n),r=Math.cos(t),l=Math.sin(t);return new i.b(255*(n+e*(a*r+u*l)),255*(n+e*(c*r+f*l)),255*(n+e*(s*r)),this.opacity)}}))},41:function(t,n){n.read=function(t,n,e,r,i){var o,a,u=8*i-r-1,c=(1<<u)-1,f=c>>1,s=-7,l=e?i-1:0,h=e?-1:1,d=t[n+l];for(l+=h,o=d&(1<<-s)-1,d>>=-s,s+=u;s>0;o=256*o+t[n+l],l+=h,s-=8);for(a=o&(1<<-s)-1,o>>=-s,s+=r;s>0;a=256*a+t[n+l],l+=h,s-=8);if(0===o)o=1-f;else{if(o===c)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,r),o-=f}return(d?-1:1)*a*Math.pow(2,o-r)},n.write=function(t,n,e,r,i,o){var a,u,c,f=8*o-i-1,s=(1<<f)-1,l=s>>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:o-1,p=r?1:-1,g=n<0||0===n&&1/n<0?1:0;for(n=Math.abs(n),isNaN(n)||n===1/0?(u=isNaN(n)?1:0,a=s):(a=Math.floor(Math.log(n)/Math.LN2),n*(c=Math.pow(2,-a))<1&&(a--,c*=2),(n+=a+l>=1?h/c:h*Math.pow(2,1-l))*c>=2&&(a++,c/=2),a+l>=s?(u=0,a=s):a+l>=1?(u=(n*c-1)*Math.pow(2,i),a+=l):(u=n*Math.pow(2,l-1)*Math.pow(2,i),a=0));i>=8;t[e+d]=255&u,d+=p,u/=256,i-=8);for(a=a<<i|u,f+=i;f>0;t[e+d]=255&a,d+=p,a/=256,f-=8);t[e+d-p]|=128*g}},414:function(t,n,e){!function(t){"use strict";var n=Math.PI/3,e=[0,n,2*n,3*n,4*n,5*n];function r(t){return t[0]}function i(t){return t[1]}t.hexbin=function(){var t,o,a,u=0,c=0,f=1,s=1,l=r,h=i;function d(t){var n,e={},r=[],i=t.length;for(n=0;n<i;++n)if(!isNaN(c=+l.call(null,u=t[n],n,t))&&!isNaN(f=+h.call(null,u,n,t))){var u,c,f,s=Math.round(f/=a),d=Math.round(c=c/o-(1&s)/2),p=f-s;if(3*Math.abs(p)>1){var g=c-d,v=d+(c<d?-1:1)/2,y=s+(f<s?-1:1),m=c-v,b=f-y;g*g+p*p>m*m+b*b&&(d=v+(1&s?1:-1)/2,s=y)}var x=d+"-"+s,_=e[x];_?_.push(u):(r.push(_=e[x]=[u]),_.x=(d+(1&s)/2)*o,_.y=s*a)}return r}function p(t){var n=0,r=0;return e.map((function(e){var i=Math.sin(e)*t,o=-Math.cos(e)*t,a=i-n,u=o-r;return n=i,r=o,[a,u]}))}return d.hexagon=function(n){return"m"+p(null==n?t:+n).join("l")+"z"},d.centers=function(){for(var n=[],e=Math.round(c/a),r=Math.round(u/o),i=e*a;i<s+t;i+=a,++e)for(var l=r*o+(1&e)*o/2;l<f+o/2;l+=o)n.push([l,i]);return n},d.mesh=function(){var n=p(t).slice(0,4).join("l");return d.centers().map((function(t){return"M"+t+"m"+n})).join("")},d.x=function(t){return arguments.length?(l=t,d):l},d.y=function(t){return arguments.length?(h=t,d):h},d.radius=function(e){return arguments.length?(o=2*(t=+e)*Math.sin(n),a=1.5*t,d):t},d.size=function(t){return arguments.length?(u=c=0,f=+t[0],s=+t[1],d):[f-u,s-c]},d.extent=function(t){return arguments.length?(u=+t[0][0],c=+t[0][1],f=+t[1][0],s=+t[1][1],d):[[u,c],[f,s]]},d.radius(1)},Object.defineProperty(t,"__esModule",{value:!0})}(n)},42:function(t,n){var e={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==e.call(t)}},43:function(t,n,e){var r=function(t){"use strict";var n,e=Object.prototype,r=e.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function c(t,n,e,r){var i=n&&n.prototype instanceof g?n:g,o=Object.create(i.prototype),a=new O(r||[]);return o._invoke=function(t,n,e){var r=s;return function(i,o){if(r===h)throw new Error("Generator is already running");if(r===d){if("throw"===i)throw o;return F()}for(e.method=i,e.arg=o;;){var a=e.delegate;if(a){var u=E(a,e);if(u){if(u===p)continue;return u}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if(r===s)throw r=d,e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);r=h;var c=f(t,n,e);if("normal"===c.type){if(r=e.done?d:l,c.arg===p)continue;return{value:c.arg,done:e.done}}"throw"===c.type&&(r=d,e.method="throw",e.arg=c.arg)}}}(t,e,a),o}function f(t,n,e){try{return{type:"normal",arg:t.call(n,e)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var s="suspendedStart",l="suspendedYield",h="executing",d="completed",p={};function g(){}function v(){}function y(){}var m={};m[o]=function(){return this};var b=Object.getPrototypeOf,x=b&&b(b(B([])));x&&x!==e&&r.call(x,o)&&(m=x);var _=y.prototype=g.prototype=Object.create(m);function w(t){["next","throw","return"].forEach((function(n){t[n]=function(t){return this._invoke(n,t)}}))}function A(t){var n;this._invoke=function(e,i){function o(){return new Promise((function(n,o){!function n(e,i,o,a){var u=f(t[e],t,i);if("throw"!==u.type){var c=u.arg,s=c.value;return s&&"object"==typeof s&&r.call(s,"__await")?Promise.resolve(s.__await).then((function(t){n("next",t,o,a)}),(function(t){n("throw",t,o,a)})):Promise.resolve(s).then((function(t){c.value=t,o(c)}),(function(t){return n("throw",t,o,a)}))}a(u.arg)}(e,i,n,o)}))}return n=n?n.then(o,o):o()}}function E(t,e){var r=t.iterator[e.method];if(r===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=n,E(t,e),"throw"===e.method))return p;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var i=f(r,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,p;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=n),e.delegate=null,p):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,p)}function M(t){var n={tryLoc:t[0]};1 in t&&(n.catchLoc=t[1]),2 in t&&(n.finallyLoc=t[2],n.afterLoc=t[3]),this.tryEntries.push(n)}function k(t){var n=t.completion||{};n.type="normal",delete n.arg,t.completion=n}function O(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(M,this),this.reset(!0)}function B(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function e(){for(;++i<t.length;)if(r.call(t,i))return e.value=t[i],e.done=!1,e;return e.value=n,e.done=!0,e};return a.next=a}}return{next:F}}function F(){return{value:n,done:!0}}return v.prototype=_.constructor=y,y.constructor=v,y[u]=v.displayName="GeneratorFunction",t.isGeneratorFunction=function(t){var n="function"==typeof t&&t.constructor;return!!n&&(n===v||"GeneratorFunction"===(n.displayName||n.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,y):(t.__proto__=y,u in t||(t[u]="GeneratorFunction")),t.prototype=Object.create(_),t},t.awrap=function(t){return{__await:t}},w(A.prototype),A.prototype[a]=function(){return this},t.AsyncIterator=A,t.async=function(n,e,r,i){var o=new A(c(n,e,r,i));return t.isGeneratorFunction(e)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},w(_),_[u]="Generator",_[o]=function(){return this},_.toString=function(){return"[object Generator]"},t.keys=function(t){var n=[];for(var e in t)n.push(e);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=B,O.prototype={constructor:O,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(k),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=n)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function i(r,i){return u.type="throw",u.arg=t,e.next=r,i&&(e.method="next",e.arg=n),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],u=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),f=r.call(a,"finallyLoc");if(c&&f){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!f)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(t,n){for(var e=this.tryEntries.length-1;e>=0;--e){var i=this.tryEntries[e];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=n&&n<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=n,o?(this.method="next",this.next=o.finallyLoc,p):this.complete(a)},complete:function(t,n){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&n&&(this.next=n),p},finish:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var e=this.tryEntries[n];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),k(e),p}},catch:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var e=this.tryEntries[n];if(e.tryLoc===t){var r=e.completion;if("throw"===r.type){var i=r.arg;k(e)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:B(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=n),p}},t}(t.exports);try{regeneratorRuntime=r}catch(t){Function("r","regeneratorRuntime = r")(r)}},430:function(t,n,e){"use strict";e.r(n);var r=e(373);e.d(n,"formatDefaultLocale",(function(){return r.a})),e.d(n,"format",(function(){return r.b})),e.d(n,"formatPrefix",(function(){return r.c}));var i=e(403);e.d(n,"formatLocale",(function(){return i.a}));var o=e(251);e.d(n,"formatSpecifier",(function(){return o.b})),e.d(n,"FormatSpecifier",(function(){return o.a}));var a=e(658);e.d(n,"precisionFixed",(function(){return a.a}));var u=e(659);e.d(n,"precisionPrefix",(function(){return u.a}));var c=e(660);e.d(n,"precisionRound",(function(){return c.a}))},431:function(t,n,e){"use strict";e.d(n,"a",(function(){return a}));var r=e(407),i=e(59);function o(t){return function n(e){function o(n,o){var a=t((n=Object(r.a)(n)).h,(o=Object(r.a)(o)).h),u=Object(i.a)(n.s,o.s),c=Object(i.a)(n.l,o.l),f=Object(i.a)(n.opacity,o.opacity);return function(t){return n.h=a(t),n.s=u(t),n.l=c(Math.pow(t,e)),n.opacity=f(t),n+""}}return e=+e,o.gamma=n,o}(1)}n.b=o(i.c);var a=o(i.a)},432:function(t,n,e){"use strict";e.r(n);var r=e(746);e.d(n,"quadtree",(function(){return r.a}))},433:function(t,n,e){"use strict";e.d(n,"b",(function(){return o}));var r=e(53),i=Object(r.a)((function(t){t.setDate(1),t.setHours(0,0,0,0)}),(function(t,n){t.setMonth(t.getMonth()+n)}),(function(t,n){return n.getMonth()-t.getMonth()+12*(n.getFullYear()-t.getFullYear())}),(function(t){return t.getMonth()}));n.a=i;var o=i.range},434:function(t,n,e){"use strict";e.d(n,"b",(function(){return a}));var r=e(53),i=e(57),o=Object(r.a)((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*i.d-t.getMinutes()*i.c)}),(function(t,n){t.setTime(+t+n*i.b)}),(function(t,n){return(n-t)/i.b}),(function(t){return t.getHours()}));n.a=o;var a=o.range},435:function(t,n,e){"use strict";e.d(n,"b",(function(){return a}));var r=e(53),i=e(57),o=Object(r.a)((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*i.d)}),(function(t,n){t.setTime(+t+n*i.c)}),(function(t,n){return(n-t)/i.c}),(function(t){return t.getMinutes()}));n.a=o;var a=o.range},436:function(t,n,e){"use strict";e.d(n,"b",(function(){return o}));var r=e(53),i=Object(r.a)((function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCMonth(t.getUTCMonth()+n)}),(function(t,n){return n.getUTCMonth()-t.getUTCMonth()+12*(n.getUTCFullYear()-t.getUTCFullYear())}),(function(t){return t.getUTCMonth()}));n.a=i;var o=i.range},437:function(t,n,e){"use strict";e.d(n,"b",(function(){return a}));var r=e(53),i=e(57),o=Object(r.a)((function(t){t.setUTCMinutes(0,0,0)}),(function(t,n){t.setTime(+t+n*i.b)}),(function(t,n){return(n-t)/i.b}),(function(t){return t.getUTCHours()}));n.a=o;var a=o.range},438:function(t,n,e){"use strict";e.d(n,"b",(function(){return a}));var r=e(53),i=e(57),o=Object(r.a)((function(t){t.setUTCSeconds(0,0)}),(function(t,n){t.setTime(+t+n*i.c)}),(function(t,n){return(n-t)/i.c}),(function(t){return t.getUTCMinutes()}));n.a=o;var a=o.range},44:function(t,n){t.exports=function(t){if(Array.isArray(t))return t}},45:function(t,n){t.exports=function(t,n){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t)){var e=[],r=!0,i=!1,o=void 0;try{for(var a,u=t[Symbol.iterator]();!(r=(a=u.next()).done)&&(e.push(a.value),!n||e.length!==n);r=!0);}catch(t){i=!0,o=t}finally{try{r||null==u.return||u.return()}finally{if(i)throw o}}return e}}},46:function(t,n){t.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},485:function(t,n,e){"use strict";e.r(n);var r=e(653),i=e(141),o=e(656),a=e(255),u=e(655),c=e(249),f=e(134),s=function(t){return function(){return t}};function l(t,n,e,r,i,o,a,u,c,f){this.target=t,this.type=n,this.subject=e,this.identifier=r,this.active=i,this.x=o,this.y=a,this.dx=u,this.dy=c,this._=f}function h(){return!i.c.ctrlKey&&!i.c.button}function d(){return this.parentNode}function p(t){return null==t?{x:i.c.x,y:i.c.y}:t}function g(){return navigator.maxTouchPoints||"ontouchstart"in this}l.prototype.on=function(){var t=this._.on.apply(this._,arguments);return t===this._?this:t};var v=function(){var t,n,e,v,y=h,m=d,b=p,x=g,_={},w=Object(r.a)("start","drag","end"),A=0,E=0;function M(t){t.on("mousedown.drag",k).filter(x).on("touchstart.drag",F).on("touchmove.drag",T).on("touchend.drag touchcancel.drag",N).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function k(){if(!v&&y.apply(this,arguments)){var r=C("mouse",m.apply(this,arguments),o.a,this,arguments);r&&(Object(a.a)(i.c.view).on("mousemove.drag",O,!0).on("mouseup.drag",B,!0),Object(c.a)(i.c.view),Object(f.b)(),e=!1,t=i.c.clientX,n=i.c.clientY,r("start"))}}function O(){if(Object(f.a)(),!e){var r=i.c.clientX-t,o=i.c.clientY-n;e=r*r+o*o>E}_.mouse("drag")}function B(){Object(a.a)(i.c.view).on("mousemove.drag mouseup.drag",null),Object(c.b)(i.c.view,e),Object(f.a)(),_.mouse("end")}function F(){if(y.apply(this,arguments)){var t,n,e=i.c.changedTouches,r=m.apply(this,arguments),o=e.length;for(t=0;t<o;++t)(n=C(e[t].identifier,r,u.a,this,arguments))&&(Object(f.b)(),n("start"))}}function T(){var t,n,e=i.c.changedTouches,r=e.length;for(t=0;t<r;++t)(n=_[e[t].identifier])&&(Object(f.a)(),n("drag"))}function N(){var t,n,e=i.c.changedTouches,r=e.length;for(v&&clearTimeout(v),v=setTimeout((function(){v=null}),500),t=0;t<r;++t)(n=_[e[t].identifier])&&(Object(f.b)(),n("end"))}function C(t,n,e,r,o){var a,u,c,f=e(n,t),s=w.copy();if(Object(i.a)(new l(M,"beforestart",a,t,A,f[0],f[1],0,0,s),(function(){return null!=(i.c.subject=a=b.apply(r,o))&&(u=a.x-f[0]||0,c=a.y-f[1]||0,!0)})))return function h(d){var p,g=f;switch(d){case"start":_[t]=h,p=A++;break;case"end":delete _[t],--A;case"drag":f=e(n,t),p=A}Object(i.a)(new l(M,d,a,t,p,f[0]+u,f[1]+c,f[0]-g[0],f[1]-g[1],s),s.apply,s,[d,r,o])}}return M.filter=function(t){return arguments.length?(y="function"==typeof t?t:s(!!t),M):y},M.container=function(t){return arguments.length?(m="function"==typeof t?t:s(t),M):m},M.subject=function(t){return arguments.length?(b="function"==typeof t?t:s(t),M):b},M.touchable=function(t){return arguments.length?(x="function"==typeof t?t:s(!!t),M):x},M.on=function(){var t=w.on.apply(w,arguments);return t===w?M:t},M.clickDistance=function(t){return arguments.length?(E=(t=+t)*t,M):Math.sqrt(E)},M};e.d(n,"drag",(function(){return v})),e.d(n,"dragDisable",(function(){return c.a})),e.d(n,"dragEnable",(function(){return c.b}))},486:function(t,n,e){"use strict";var r,i,o,a,u=e(109),c=180/Math.PI,f={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1},s=function(t,n,e,r,i,o){var a,u,f;return(a=Math.sqrt(t*t+n*n))&&(t/=a,n/=a),(f=t*e+n*r)&&(e-=t*f,r-=n*f),(u=Math.sqrt(e*e+r*r))&&(e/=u,r/=u,f/=u),t*r<n*e&&(t=-t,n=-n,f=-f,a=-a),{translateX:i,translateY:o,rotate:Math.atan2(n,t)*c,skewX:Math.atan(f)*c,scaleX:a,scaleY:u}};function l(t,n,e,r){function i(t){return t.length?t.pop()+" ":""}return function(o,a){var c=[],f=[];return o=t(o),a=t(a),function(t,r,i,o,a,c){if(t!==i||r!==o){var f=a.push("translate(",null,n,null,e);c.push({i:f-4,x:Object(u.a)(t,i)},{i:f-2,x:Object(u.a)(r,o)})}else(i||o)&&a.push("translate("+i+n+o+e)}(o.translateX,o.translateY,a.translateX,a.translateY,c,f),function(t,n,e,o){t!==n?(t-n>180?n+=360:n-t>180&&(t+=360),o.push({i:e.push(i(e)+"rotate(",null,r)-2,x:Object(u.a)(t,n)})):n&&e.push(i(e)+"rotate("+n+r)}(o.rotate,a.rotate,c,f),function(t,n,e,o){t!==n?o.push({i:e.push(i(e)+"skewX(",null,r)-2,x:Object(u.a)(t,n)}):n&&e.push(i(e)+"skewX("+n+r)}(o.skewX,a.skewX,c,f),function(t,n,e,r,o,a){if(t!==e||n!==r){var c=o.push(i(o)+"scale(",null,",",null,")");a.push({i:c-4,x:Object(u.a)(t,e)},{i:c-2,x:Object(u.a)(n,r)})}else 1===e&&1===r||o.push(i(o)+"scale("+e+","+r+")")}(o.scaleX,o.scaleY,a.scaleX,a.scaleY,c,f),o=a=null,function(t){for(var n,e=-1,r=f.length;++e<r;)c[(n=f[e]).i]=n.x(t);return c.join("")}}}e.d(n,"a",(function(){return h})),e.d(n,"b",(function(){return d}));var h=l((function(t){return"none"===t?f:(r||(r=document.createElement("DIV"),i=document.documentElement,o=document.defaultView),r.style.transform=t,t=o.getComputedStyle(i.appendChild(r),null).getPropertyValue("transform"),i.removeChild(r),t=t.slice(7,-1).split(","),s(+t[0],+t[1],+t[2],+t[3],+t[4],+t[5]))}),"px, ","px)","deg)"),d=l((function(t){return null==t?f:(a||(a=document.createElementNS("http://www.w3.org/2000/svg","g")),a.setAttribute("transform",t),(t=a.transform.baseVal.consolidate())?(t=t.matrix,s(t.a,t.b,t.c,t.d,t.e,t.f)):f)}),", ",")",")")},487:function(t,n,e){"use strict";e.r(n);var r=e(139),i=e(402);var o=Date.prototype.toISOString?function(t){return t.toISOString()}:Object(r.d)("%Y-%m-%dT%H:%M:%S.%LZ");var a=+new Date("2000-01-01T00:00:00.000Z")?function(t){var n=new Date(t);return isNaN(n)?null:n}:Object(r.e)("%Y-%m-%dT%H:%M:%S.%LZ");e.d(n,"timeFormatDefaultLocale",(function(){return r.a})),e.d(n,"timeFormat",(function(){return r.b})),e.d(n,"timeParse",(function(){return r.c})),e.d(n,"utcFormat",(function(){return r.d})),e.d(n,"utcParse",(function(){return r.e})),e.d(n,"timeFormatLocale",(function(){return i.a})),e.d(n,"isoFormat",(function(){return o})),e.d(n,"isoParse",(function(){return a}))},5:function(t,n,e){var r=e(39);t.exports=function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),n&&r(t,n)}},53:function(t,n,e){"use strict";e.d(n,"a",(function(){return o}));var r=new Date,i=new Date;function o(t,n,e,a){function u(n){return t(n=0===arguments.length?new Date:new Date(+n)),n}return u.floor=function(n){return t(n=new Date(+n)),n},u.ceil=function(e){return t(e=new Date(e-1)),n(e,1),t(e),e},u.round=function(t){var n=u(t),e=u.ceil(t);return t-n<e-t?n:e},u.offset=function(t,e){return n(t=new Date(+t),null==e?1:Math.floor(e)),t},u.range=function(e,r,i){var o,a=[];if(e=u.ceil(e),i=null==i?1:Math.floor(i),!(e<r&&i>0))return a;do{a.push(o=new Date(+e)),n(e,i),t(e)}while(o<e&&e<r);return a},u.filter=function(e){return o((function(n){if(n>=n)for(;t(n),!e(n);)n.setTime(n-1)}),(function(t,r){if(t>=t)if(r<0)for(;++r<=0;)for(;n(t,-1),!e(t););else for(;--r>=0;)for(;n(t,1),!e(t););}))},e&&(u.count=function(n,o){return r.setTime(+n),i.setTime(+o),t(r),t(i),Math.floor(e(r,i))},u.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?u.filter(a?function(n){return a(n)%t==0}:function(n){return u.count(0,n)%t==0}):u:null}),u}},57:function(t,n,e){"use strict";e.d(n,"d",(function(){return r})),e.d(n,"c",(function(){return i})),e.d(n,"b",(function(){return o})),e.d(n,"a",(function(){return a})),e.d(n,"e",(function(){return u}));var r=1e3,i=6e4,o=36e5,a=864e5,u=6048e5},59:function(t,n,e){"use strict";e.d(n,"c",(function(){return o})),e.d(n,"b",(function(){return a})),e.d(n,"a",(function(){return u}));var r=e(260);function i(t,n){return function(e){return t+e*n}}function o(t,n){var e=n-t;return e?i(t,e>180||e<-180?e-360*Math.round(e/360):e):Object(r.a)(isNaN(t)?n:t)}function a(t){return 1==(t=+t)?u:function(n,e){return e-n?function(t,n,e){return t=Math.pow(t,e),n=Math.pow(n,e)-t,e=1/e,function(r){return Math.pow(t+r*n,e)}}(n,e,t):Object(r.a)(isNaN(n)?e:n)}}function u(t,n){var e=n-t;return e?i(t,e):Object(r.a)(isNaN(t)?n:t)}},6:function(t,n,e){t.exports=e(43)},65:function(t,n,e){"use strict";e.d(n,"g",(function(){return a})),e.d(n,"c",(function(){return u})),e.d(n,"k",(function(){return c})),e.d(n,"m",(function(){return f})),e.d(n,"i",(function(){return s})),e.d(n,"a",(function(){return l})),e.d(n,"e",(function(){return h})),e.d(n,"h",(function(){return d})),e.d(n,"d",(function(){return p})),e.d(n,"l",(function(){return g})),e.d(n,"n",(function(){return v})),e.d(n,"j",(function(){return y})),e.d(n,"b",(function(){return m})),e.d(n,"f",(function(){return b}));var r=e(53),i=e(57);function o(t){return Object(r.a)((function(n){n.setDate(n.getDate()-(n.getDay()+7-t)%7),n.setHours(0,0,0,0)}),(function(t,n){t.setDate(t.getDate()+7*n)}),(function(t,n){return(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*i.c)/i.e}))}var a=o(0),u=o(1),c=o(2),f=o(3),s=o(4),l=o(5),h=o(6),d=a.range,p=u.range,g=c.range,v=f.range,y=s.range,m=l.range,b=h.range},653:function(t,n,e){"use strict";var r={value:function(){}};function i(){for(var t,n=0,e=arguments.length,r={};n<e;++n){if(!(t=arguments[n]+"")||t in r||/[\s.]/.test(t))throw new Error("illegal type: "+t);r[t]=[]}return new o(r)}function o(t){this._=t}function a(t,n){return t.trim().split(/^|\s+/).map((function(t){var e="",r=t.indexOf(".");if(r>=0&&(e=t.slice(r+1),t=t.slice(0,r)),t&&!n.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:e}}))}function u(t,n){for(var e,r=0,i=t.length;r<i;++r)if((e=t[r]).name===n)return e.value}function c(t,n,e){for(var i=0,o=t.length;i<o;++i)if(t[i].name===n){t[i]=r,t=t.slice(0,i).concat(t.slice(i+1));break}return null!=e&&t.push({name:n,value:e}),t}o.prototype=i.prototype={constructor:o,on:function(t,n){var e,r=this._,i=a(t+"",r),o=-1,f=i.length;if(!(arguments.length<2)){if(null!=n&&"function"!=typeof n)throw new Error("invalid callback: "+n);for(;++o<f;)if(e=(t=i[o]).type)r[e]=c(r[e],t.name,n);else if(null==n)for(e in r)r[e]=c(r[e],t.name,null);return this}for(;++o<f;)if((e=(t=i[o]).type)&&(e=u(r[e],t.name)))return e},copy:function(){var t={},n=this._;for(var e in n)t[e]=n[e].slice();return new o(t)},call:function(t,n){if((e=arguments.length-2)>0)for(var e,r,i=new Array(e),o=0;o<e;++o)i[o]=arguments[o+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(o=0,e=(r=this._[t]).length;o<e;++o)r[o].value.apply(n,i)},apply:function(t,n,e){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var r=this._[t],i=0,o=r.length;i<o;++i)r[i].value.apply(n,e)}},n.a=i},654:function(t,n,e){"use strict";var r=e(158);n.a=function(t,n,e){var i=new r.a;return n=null==n?0:+n,i.restart((function(e){i.stop(),t(e+n)}),n,e),i}},655:function(t,n,e){"use strict";var r=e(254),i=e(203);n.a=function(t,n,e){arguments.length<3&&(e=n,n=Object(r.a)().changedTouches);for(var o,a=0,u=n?n.length:0;a<u;++a)if((o=n[a]).identifier===e)return Object(i.a)(t,o);return null}},656:function(t,n,e){"use strict";var r=e(254),i=e(203);n.a=function(t){var n=Object(r.a)();return n.changedTouches&&(n=n.changedTouches[0]),Object(i.a)(t,n)}},657:function(t,n,e){"use strict";var r=Math.PI,i=2*r,o=i-1e-6;function a(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function u(){return new a}a.prototype=u.prototype={constructor:a,moveTo:function(t,n){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,n){this._+="L"+(this._x1=+t)+","+(this._y1=+n)},quadraticCurveTo:function(t,n,e,r){this._+="Q"+ +t+","+ +n+","+(this._x1=+e)+","+(this._y1=+r)},bezierCurveTo:function(t,n,e,r,i,o){this._+="C"+ +t+","+ +n+","+ +e+","+ +r+","+(this._x1=+i)+","+(this._y1=+o)},arcTo:function(t,n,e,i,o){t=+t,n=+n,e=+e,i=+i,o=+o;var a=this._x1,u=this._y1,c=e-t,f=i-n,s=a-t,l=u-n,h=s*s+l*l;if(o<0)throw new Error("negative radius: "+o);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=n);else if(h>1e-6)if(Math.abs(l*c-f*s)>1e-6&&o){var d=e-a,p=i-u,g=c*c+f*f,v=d*d+p*p,y=Math.sqrt(g),m=Math.sqrt(h),b=o*Math.tan((r-Math.acos((g+h-v)/(2*y*m)))/2),x=b/m,_=b/y;Math.abs(x-1)>1e-6&&(this._+="L"+(t+x*s)+","+(n+x*l)),this._+="A"+o+","+o+",0,0,"+ +(l*d>s*p)+","+(this._x1=t+_*c)+","+(this._y1=n+_*f)}else this._+="L"+(this._x1=t)+","+(this._y1=n);else;},arc:function(t,n,e,a,u,c){t=+t,n=+n,c=!!c;var f=(e=+e)*Math.cos(a),s=e*Math.sin(a),l=t+f,h=n+s,d=1^c,p=c?a-u:u-a;if(e<0)throw new Error("negative radius: "+e);null===this._x1?this._+="M"+l+","+h:(Math.abs(this._x1-l)>1e-6||Math.abs(this._y1-h)>1e-6)&&(this._+="L"+l+","+h),e&&(p<0&&(p=p%i+i),p>o?this._+="A"+e+","+e+",0,1,"+d+","+(t-f)+","+(n-s)+"A"+e+","+e+",0,1,"+d+","+(this._x1=l)+","+(this._y1=h):p>1e-6&&(this._+="A"+e+","+e+",0,"+ +(p>=r)+","+d+","+(this._x1=t+e*Math.cos(u))+","+(this._y1=n+e*Math.sin(u))))},rect:function(t,n,e,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)+"h"+ +e+"v"+ +r+"h"+-e+"Z"},toString:function(){return this._}},n.a=u},658:function(t,n,e){"use strict";var r=e(142);n.a=function(t){return Math.max(0,-Object(r.a)(Math.abs(t)))}},659:function(t,n,e){"use strict";var r=e(142);n.a=function(t,n){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Object(r.a)(n)/3)))-Object(r.a)(Math.abs(t)))}},66:function(t,n,e){"use strict";e.d(n,"g",(function(){return a})),e.d(n,"c",(function(){return u})),e.d(n,"k",(function(){return c})),e.d(n,"m",(function(){return f})),e.d(n,"i",(function(){return s})),e.d(n,"a",(function(){return l})),e.d(n,"e",(function(){return h})),e.d(n,"h",(function(){return d})),e.d(n,"d",(function(){return p})),e.d(n,"l",(function(){return g})),e.d(n,"n",(function(){return v})),e.d(n,"j",(function(){return y})),e.d(n,"b",(function(){return m})),e.d(n,"f",(function(){return b}));var r=e(53),i=e(57);function o(t){return Object(r.a)((function(n){n.setUTCDate(n.getUTCDate()-(n.getUTCDay()+7-t)%7),n.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCDate(t.getUTCDate()+7*n)}),(function(t,n){return(n-t)/i.e}))}var a=o(0),u=o(1),c=o(2),f=o(3),s=o(4),l=o(5),h=o(6),d=a.range,p=u.range,g=c.range,v=f.range,y=s.range,m=l.range,b=h.range},660:function(t,n,e){"use strict";var r=e(142);n.a=function(t,n){return t=Math.abs(t),n=Math.abs(n)-t,Math.max(0,Object(r.a)(n)-Object(r.a)(t))+1}},661:function(t,n,e){"use strict";n.a=function(t,n){return t=+t,n=+n,function(e){return Math.round(t*(1-e)+n*e)}}},662:function(t,n,e){"use strict";var r=Math.SQRT2;function i(t){return((t=Math.exp(t))+1/t)/2}n.a=function(t,n){var e,o,a=t[0],u=t[1],c=t[2],f=n[0],s=n[1],l=n[2],h=f-a,d=s-u,p=h*h+d*d;if(p<1e-12)o=Math.log(l/c)/r,e=function(t){return[a+t*h,u+t*d,c*Math.exp(r*t*o)]};else{var g=Math.sqrt(p),v=(l*l-c*c+4*p)/(2*c*2*g),y=(l*l-c*c-4*p)/(2*l*2*g),m=Math.log(Math.sqrt(v*v+1)-v),b=Math.log(Math.sqrt(y*y+1)-y);o=(b-m)/r,e=function(t){var n,e=t*o,f=i(m),s=c/(2*g)*(f*(n=r*e+m,((n=Math.exp(2*n))-1)/(n+1))-function(t){return((t=Math.exp(t))-1/t)/2}(m));return[a+s*h,u+s*d,c*f/i(r*e+m)]}}return e.duration=1e3*o,e}},67:function(t,n,e){"use strict";e.d(n,"a",(function(){return i})),e.d(n,"d",(function(){return o})),e.d(n,"c",(function(){return a})),e.d(n,"e",(function(){return x})),e.d(n,"h",(function(){return A})),e.d(n,"g",(function(){return E})),e.d(n,"b",(function(){return M})),e.d(n,"f",(function(){return N}));var r=e(110);function i(){}var o=.7,a=1/o,u="\\s*([+-]?\\d+)\\s*",c="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",f="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",s=/^#([0-9a-f]{3,8})$/,l=new RegExp("^rgb\\("+[u,u,u]+"\\)$"),h=new RegExp("^rgb\\("+[f,f,f]+"\\)$"),d=new RegExp("^rgba\\("+[u,u,u,c]+"\\)$"),p=new RegExp("^rgba\\("+[f,f,f,c]+"\\)$"),g=new RegExp("^hsl\\("+[c,f,f]+"\\)$"),v=new RegExp("^hsla\\("+[c,f,f,c]+"\\)$"),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 m(){return this.rgb().formatHex()}function b(){return this.rgb().formatRgb()}function x(t){var n,e;return t=(t+"").trim().toLowerCase(),(n=s.exec(t))?(e=n[1].length,n=parseInt(n[1],16),6===e?_(n):3===e?new M(n>>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):8===e?new M(n>>24&255,n>>16&255,n>>8&255,(255&n)/255):4===e?new M(n>>12&15|n>>8&240,n>>8&15|n>>4&240,n>>4&15|240&n,((15&n)<<4|15&n)/255):null):(n=l.exec(t))?new M(n[1],n[2],n[3],1):(n=h.exec(t))?new M(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=d.exec(t))?w(n[1],n[2],n[3],n[4]):(n=p.exec(t))?w(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=g.exec(t))?F(n[1],n[2]/100,n[3]/100,1):(n=v.exec(t))?F(n[1],n[2]/100,n[3]/100,n[4]):y.hasOwnProperty(t)?_(y[t]):"transparent"===t?new M(NaN,NaN,NaN,0):null}function _(t){return new M(t>>16&255,t>>8&255,255&t,1)}function w(t,n,e,r){return r<=0&&(t=n=e=NaN),new M(t,n,e,r)}function A(t){return t instanceof i||(t=x(t)),t?new M((t=t.rgb()).r,t.g,t.b,t.opacity):new M}function E(t,n,e,r){return 1===arguments.length?A(t):new M(t,n,e,null==r?1:r)}function M(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function k(){return"#"+B(this.r)+B(this.g)+B(this.b)}function O(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"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===t?")":", "+t+")")}function B(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function F(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new C(t,n,e,r)}function T(t){if(t instanceof C)return new C(t.h,t.s,t.l,t.opacity);if(t instanceof i||(t=x(t)),!t)return new C;if(t instanceof C)return t;var n=(t=t.rgb()).r/255,e=t.g/255,r=t.b/255,o=Math.min(n,e,r),a=Math.max(n,e,r),u=NaN,c=a-o,f=(a+o)/2;return c?(u=n===a?(e-r)/c+6*(e<r):e===a?(r-n)/c+2:(n-e)/c+4,c/=f<.5?a+o:2-a-o,u*=60):c=f>0&&f<1?0:u,new C(u,c,f,t.opacity)}function N(t,n,e,r){return 1===arguments.length?T(t):new C(t,n,e,null==r?1:r)}function C(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function S(t,n,e){return 255*(t<60?n+(e-n)*t/60:t<180?e:t<240?n+(e-n)*(240-t)/60:n)}Object(r.a)(i,x,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:m,formatHex:m,formatHsl:function(){return T(this).formatHsl()},formatRgb:b,toString:b}),Object(r.a)(M,E,Object(r.b)(i,{brighter:function(t){return t=null==t?a:Math.pow(a,t),new M(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?o:Math.pow(o,t),new M(this.r*t,this.g*t,this.b*t,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:k,formatHex:k,formatRgb:O,toString:O})),Object(r.a)(C,N,Object(r.b)(i,{brighter:function(t){return t=null==t?a:Math.pow(a,t),new C(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?o:Math.pow(o,t),new C(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),n=isNaN(t)||isNaN(this.s)?0:this.s,e=this.l,r=e+(e<.5?e:1-e)*n,i=2*e-r;return new M(S(t>=240?t-240:t+120,i,r),S(t,i,r),S(t<120?t+240:t-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===t?")":", "+t+")")}}))},7:function(t,n,e){"use strict";e.d(n,"a",(function(){return u}));var r=e(1),i=e.n(r),o=e(2),a=e.n(o),u=function(){function t(n){i()(this,t),this.bytes=n,this.length=this.bytes.length,this.position=0,this.bitPos=0}return a()(t,[{key:"getBytes",value:function(t){if(!(this.position>this.length)){var n=this.position+t,e=this.bytes.slice(this.position,n);return this.position=n,this.bitPos=0,e}}},{key:"readString",value:function(t){if(!(this.position>this.length)){for(var n="",e=this.position;e<this.position+t;e++){var r=this.bytes[e];if(0===r)break;n+=String.fromCharCode(r)}return this.position+=t,this.bitPos=0,n}}},{key:"readInt",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"be";if(!(this.position>this.length)){var e=0;if("be"===n)for(var r=this.position;r<this.position+t;r++)e<<=8,e|=this.bytes[r];else for(var i=this.position+t-1;i>=this.position;i--)e<<=8,e|=this.bytes[i];return this.position+=t,this.bitPos=0,e}}},{key:"readBits",value:function(t){if(!(this.position>this.length)){var n=0,e=0;for(n=(this.bytes[this.position++]&256-(1<<this.bitPos))>>>this.bitPos,e=8-this.bitPos,this.bitPos=0;e<t;)n|=this.bytes[this.position++]<<e,e+=8;if(e>t){var r=e-t;n&=(1<<t)-1,e-=r,this.position--,this.bitPos=8-r}return n}}},{key:"continueUntil",value:function(t){if(!(this.position>this.length))if(this.bitPos=0,"number"!=typeof t){var n=t.length,e=t[n-1];this.position=n;for(var r=function(t,n){var e=new Array;return t.forEach((function(t,r){e[t]=n-r})),e}(t,n),i=!0;this.position<this.length;){for(;this.position<this.length&&this.bytes[this.position++]!==e;);i=!0;for(var o=n-1;o>=0;o--)if(this.bytes[this.position-n+o]!==t[o]){i=!1,this.position+=r[t[o]];break}if(i){this.position-=n;break}}}else for(;++this.position<this.length&&this.bytes[this.position]!==t;);}},{key:"consumeWhile",value:function(t){for(;this.position<this.length&&this.bytes[this.position]===t;)this.position++;this.bitPos=0}},{key:"consumeIf",value:function(t){this.bytes[this.position]===t&&(this.position++,this.bitPos=0)}},{key:"moveForwardsBy",value:function(t){var n=this.position+t;if(n<0||n>this.length)throw new Error("Cannot move to position "+n+" in stream. Out of bounds.");this.position=n,this.bitPos=0}},{key:"moveBackwardsBy",value:function(t){var n=this.position-t;if(n<0||n>this.length)throw new Error("Cannot move to position "+n+" in stream. Out of bounds.");this.position=n,this.bitPos=0}},{key:"moveBackwardsByBits",value:function(t){if(t<=this.bitPos)this.bitPos-=t;else for(this.bitPos>0&&(t-=this.bitPos,this.bitPos=0);t>0;)this.moveBackwardsBy(1),this.bitPos=8,this.moveBackwardsByBits(t),t-=8}},{key:"moveTo",value:function(t){if(t<0||t>this.length)throw new Error("Cannot move to position "+t+" in stream. Out of bounds.");this.position=t,this.bitPos=0}},{key:"hasMore",value:function(){return this.position<this.length}},{key:"carve",value:function(){return this.bitPos>0&&this.position++,this.bytes.slice(0,this.position)}}]),t}()},746:function(t,n,e){"use strict";function r(t,n,e,r){if(isNaN(n)||isNaN(e))return t;var i,o,a,u,c,f,s,l,h,d=t._root,p={data:r},g=t._x0,v=t._y0,y=t._x1,m=t._y1;if(!d)return t._root=p,t;for(;d.length;)if((f=n>=(o=(g+y)/2))?g=o:y=o,(s=e>=(a=(v+m)/2))?v=a:m=a,i=d,!(d=d[l=s<<1|f]))return i[l]=p,t;if(u=+t._x.call(null,d.data),c=+t._y.call(null,d.data),n===u&&e===c)return p.next=d,i?i[l]=p:t._root=p,t;do{i=i?i[l]=new Array(4):t._root=new Array(4),(f=n>=(o=(g+y)/2))?g=o:y=o,(s=e>=(a=(v+m)/2))?v=a:m=a}while((l=s<<1|f)==(h=(c>=a)<<1|u>=o));return i[h]=d,i[l]=p,t}var i=function(t,n,e,r,i){this.node=t,this.x0=n,this.y0=e,this.x1=r,this.y1=i};function o(t){return t[0]}function a(t){return t[1]}function u(t,n,e){var r=new c(null==n?o:n,null==e?a:e,NaN,NaN,NaN,NaN);return null==t?r:r.addAll(t)}function c(t,n,e,r,i,o){this._x=t,this._y=n,this._x0=e,this._y0=r,this._x1=i,this._y1=o,this._root=void 0}function f(t){for(var n={data:t.data},e=n;t=t.next;)e=e.next={data:t.data};return n}e.d(n,"a",(function(){return u}));var s=u.prototype=c.prototype;s.copy=function(){var t,n,e=new c(this._x,this._y,this._x0,this._y0,this._x1,this._y1),r=this._root;if(!r)return e;if(!r.length)return e._root=f(r),e;for(t=[{source:r,target:e._root=new Array(4)}];r=t.pop();)for(var i=0;i<4;++i)(n=r.source[i])&&(n.length?t.push({source:n,target:r.target[i]=new Array(4)}):r.target[i]=f(n));return e},s.add=function(t){var n=+this._x.call(null,t),e=+this._y.call(null,t);return r(this.cover(n,e),n,e,t)},s.addAll=function(t){var n,e,i,o,a=t.length,u=new Array(a),c=new Array(a),f=1/0,s=1/0,l=-1/0,h=-1/0;for(e=0;e<a;++e)isNaN(i=+this._x.call(null,n=t[e]))||isNaN(o=+this._y.call(null,n))||(u[e]=i,c[e]=o,i<f&&(f=i),i>l&&(l=i),o<s&&(s=o),o>h&&(h=o));if(f>l||s>h)return this;for(this.cover(f,s).cover(l,h),e=0;e<a;++e)r(this,u[e],c[e],t[e]);return this},s.cover=function(t,n){if(isNaN(t=+t)||isNaN(n=+n))return this;var e=this._x0,r=this._y0,i=this._x1,o=this._y1;if(isNaN(e))i=(e=Math.floor(t))+1,o=(r=Math.floor(n))+1;else{for(var a,u,c=i-e,f=this._root;e>t||t>=i||r>n||n>=o;)switch(u=(n<r)<<1|t<e,(a=new Array(4))[u]=f,f=a,c*=2,u){case 0:i=e+c,o=r+c;break;case 1:e=i-c,o=r+c;break;case 2:i=e+c,r=o-c;break;case 3:e=i-c,r=o-c}this._root&&this._root.length&&(this._root=f)}return this._x0=e,this._y0=r,this._x1=i,this._y1=o,this},s.data=function(){var t=[];return this.visit((function(n){if(!n.length)do{t.push(n.data)}while(n=n.next)})),t},s.extent=function(t){return arguments.length?this.cover(+t[0][0],+t[0][1]).cover(+t[1][0],+t[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]},s.find=function(t,n,e){var r,o,a,u,c,f,s,l=this._x0,h=this._y0,d=this._x1,p=this._y1,g=[],v=this._root;for(v&&g.push(new i(v,l,h,d,p)),null==e?e=1/0:(l=t-e,h=n-e,d=t+e,p=n+e,e*=e);f=g.pop();)if(!(!(v=f.node)||(o=f.x0)>d||(a=f.y0)>p||(u=f.x1)<l||(c=f.y1)<h))if(v.length){var y=(o+u)/2,m=(a+c)/2;g.push(new i(v[3],y,m,u,c),new i(v[2],o,m,y,c),new i(v[1],y,a,u,m),new i(v[0],o,a,y,m)),(s=(n>=m)<<1|t>=y)&&(f=g[g.length-1],g[g.length-1]=g[g.length-1-s],g[g.length-1-s]=f)}else{var b=t-+this._x.call(null,v.data),x=n-+this._y.call(null,v.data),_=b*b+x*x;if(_<e){var w=Math.sqrt(e=_);l=t-w,h=n-w,d=t+w,p=n+w,r=v.data}}return r},s.remove=function(t){if(isNaN(o=+this._x.call(null,t))||isNaN(a=+this._y.call(null,t)))return this;var n,e,r,i,o,a,u,c,f,s,l,h,d=this._root,p=this._x0,g=this._y0,v=this._x1,y=this._y1;if(!d)return this;if(d.length)for(;;){if((f=o>=(u=(p+v)/2))?p=u:v=u,(s=a>=(c=(g+y)/2))?g=c:y=c,n=d,!(d=d[l=s<<1|f]))return this;if(!d.length)break;(n[l+1&3]||n[l+2&3]||n[l+3&3])&&(e=n,h=l)}for(;d.data!==t;)if(r=d,!(d=d.next))return this;return(i=d.next)&&delete d.next,r?(i?r.next=i:delete r.next,this):n?(i?n[l]=i:delete n[l],(d=n[0]||n[1]||n[2]||n[3])&&d===(n[3]||n[2]||n[1]||n[0])&&!d.length&&(e?e[h]=d:this._root=d),this):(this._root=i,this)},s.removeAll=function(t){for(var n=0,e=t.length;n<e;++n)this.remove(t[n]);return this},s.root=function(){return this._root},s.size=function(){var t=0;return this.visit((function(n){if(!n.length)do{++t}while(n=n.next)})),t},s.visit=function(t){var n,e,r,o,a,u,c=[],f=this._root;for(f&&c.push(new i(f,this._x0,this._y0,this._x1,this._y1));n=c.pop();)if(!t(f=n.node,r=n.x0,o=n.y0,a=n.x1,u=n.y1)&&f.length){var s=(r+a)/2,l=(o+u)/2;(e=f[3])&&c.push(new i(e,s,l,a,u)),(e=f[2])&&c.push(new i(e,r,l,s,u)),(e=f[1])&&c.push(new i(e,s,o,a,l)),(e=f[0])&&c.push(new i(e,r,o,s,l))}return this},s.visitAfter=function(t){var n,e=[],r=[];for(this._root&&e.push(new i(this._root,this._x0,this._y0,this._x1,this._y1));n=e.pop();){var o=n.node;if(o.length){var a,u=n.x0,c=n.y0,f=n.x1,s=n.y1,l=(u+f)/2,h=(c+s)/2;(a=o[0])&&e.push(new i(a,u,c,l,h)),(a=o[1])&&e.push(new i(a,l,c,f,h)),(a=o[2])&&e.push(new i(a,u,h,l,s)),(a=o[3])&&e.push(new i(a,l,h,f,s))}r.push(n)}for(;n=r.pop();)t(n.node,n.x0,n.y0,n.x1,n.y1);return this},s.x=function(t){return arguments.length?(this._x=t,this):this._x},s.y=function(t){return arguments.length?(this._y=t,this):this._y}},747:function(t,n,e){"use strict";function r(t){return+t}function i(t){return t*t}function o(t){return t*(2-t)}function a(t){return((t*=2)<=1?t*t:--t*(2-t)+1)/2}e.r(n);var u=e(267),c=function t(n){function e(t){return Math.pow(t,n)}return n=+n,e.exponent=t,e}(3),f=function t(n){function e(t){return 1-Math.pow(1-t,n)}return n=+n,e.exponent=t,e}(3),s=function t(n){function e(t){return((t*=2)<=1?Math.pow(t,n):2-Math.pow(2-t,n))/2}return n=+n,e.exponent=t,e}(3),l=Math.PI,h=l/2;function d(t){return 1-Math.cos(t*h)}function p(t){return Math.sin(t*h)}function g(t){return(1-Math.cos(l*t))/2}function v(t){return Math.pow(2,10*t-10)}function y(t){return 1-Math.pow(2,-10*t)}function m(t){return((t*=2)<=1?Math.pow(2,10*t-10):2-Math.pow(2,10-10*t))/2}function b(t){return 1-Math.sqrt(1-t*t)}function x(t){return Math.sqrt(1- --t*t)}function _(t){return((t*=2)<=1?1-Math.sqrt(1-t*t):Math.sqrt(1-(t-=2)*t)+1)/2}var w=4/11,A=6/11,E=8/11,M=.75,k=9/11,O=10/11,B=.9375,F=21/22,T=63/64,N=1/w/w;function C(t){return 1-S(1-t)}function S(t){return(t=+t)<w?N*t*t:t<E?N*(t-=A)*t+M:t<O?N*(t-=k)*t+B:N*(t-=F)*t+T}function j(t){return((t*=2)<=1?1-S(1-t):S(t-1)+1)/2}var P=function t(n){function e(t){return t*t*((n+1)*t-n)}return n=+n,e.overshoot=t,e}(1.70158),R=function t(n){function e(t){return--t*t*((n+1)*t+n)+1}return n=+n,e.overshoot=t,e}(1.70158),D=function t(n){function e(t){return((t*=2)<1?t*t*((n+1)*t-n):(t-=2)*t*((n+1)*t+n)+2)/2}return n=+n,e.overshoot=t,e}(1.70158),L=2*Math.PI,I=function t(n,e){var r=Math.asin(1/(n=Math.max(1,n)))*(e/=L);function i(t){return n*Math.pow(2,10*--t)*Math.sin((r-t)/e)}return i.amplitude=function(n){return t(n,e*L)},i.period=function(e){return t(n,e)},i}(1,.3),U=function t(n,e){var r=Math.asin(1/(n=Math.max(1,n)))*(e/=L);function i(t){return 1-n*Math.pow(2,-10*(t=+t))*Math.sin((t+r)/e)}return i.amplitude=function(n){return t(n,e*L)},i.period=function(e){return t(n,e)},i}(1,.3),z=function t(n,e){var r=Math.asin(1/(n=Math.max(1,n)))*(e/=L);function i(t){return((t=2*t-1)<0?n*Math.pow(2,10*t)*Math.sin((r-t)/e):2-n*Math.pow(2,-10*t)*Math.sin((r+t)/e))/2}return i.amplitude=function(n){return t(n,e*L)},i.period=function(e){return t(n,e)},i}(1,.3);e.d(n,"easeLinear",(function(){return r})),e.d(n,"easeQuad",(function(){return a})),e.d(n,"easeQuadIn",(function(){return i})),e.d(n,"easeQuadOut",(function(){return o})),e.d(n,"easeQuadInOut",(function(){return a})),e.d(n,"easeCubic",(function(){return u.b})),e.d(n,"easeCubicIn",(function(){return u.a})),e.d(n,"easeCubicOut",(function(){return u.c})),e.d(n,"easeCubicInOut",(function(){return u.b})),e.d(n,"easePoly",(function(){return s})),e.d(n,"easePolyIn",(function(){return c})),e.d(n,"easePolyOut",(function(){return f})),e.d(n,"easePolyInOut",(function(){return s})),e.d(n,"easeSin",(function(){return g})),e.d(n,"easeSinIn",(function(){return d})),e.d(n,"easeSinOut",(function(){return p})),e.d(n,"easeSinInOut",(function(){return g})),e.d(n,"easeExp",(function(){return m})),e.d(n,"easeExpIn",(function(){return v})),e.d(n,"easeExpOut",(function(){return y})),e.d(n,"easeExpInOut",(function(){return m})),e.d(n,"easeCircle",(function(){return _})),e.d(n,"easeCircleIn",(function(){return b})),e.d(n,"easeCircleOut",(function(){return x})),e.d(n,"easeCircleInOut",(function(){return _})),e.d(n,"easeBounce",(function(){return S})),e.d(n,"easeBounceIn",(function(){return C})),e.d(n,"easeBounceOut",(function(){return S})),e.d(n,"easeBounceInOut",(function(){return j})),e.d(n,"easeBack",(function(){return D})),e.d(n,"easeBackIn",(function(){return P})),e.d(n,"easeBackOut",(function(){return R})),e.d(n,"easeBackInOut",(function(){return D})),e.d(n,"easeElastic",(function(){return U})),e.d(n,"easeElasticIn",(function(){return I})),e.d(n,"easeElasticOut",(function(){return U})),e.d(n,"easeElasticInOut",(function(){return z}))},748:function(t,n,e){"use strict";e.r(n);var r=e(250),i=e(164),o=e(165);function a(t){for(var n in t){var e,r,i=t[n].trim();if(i)if("true"===i)i=!0;else if("false"===i)i=!1;else if("NaN"===i)i=NaN;else if(isNaN(e=+i)){if(!(r=i.match(/^([-+]\d{2})?\d{4}(-\d{2}(-\d{2})?)?(T\d{2}:\d{2}(:\d{2}(\.\d{3})?)?(Z|[-+]\d{2}:\d{2})?)?$/)))continue;u&&r[4]&&!r[7]&&(i=i.replace(/-/g,"/").replace(/T/," ")),i=new Date(i)}else i=e;else i=null;t[n]=i}return t}var u=new Date("2019-01-01T00:00").getHours()||new Date("2019-07-01T00:00").getHours();e.d(n,"dsvFormat",(function(){return r.a})),e.d(n,"csvParse",(function(){return i.f})),e.d(n,"csvParseRows",(function(){return i.g})),e.d(n,"csvFormat",(function(){return i.a})),e.d(n,"csvFormatBody",(function(){return i.b})),e.d(n,"csvFormatRows",(function(){return i.d})),e.d(n,"csvFormatRow",(function(){return i.c})),e.d(n,"csvFormatValue",(function(){return i.e})),e.d(n,"tsvParse",(function(){return o.f})),e.d(n,"tsvParseRows",(function(){return o.g})),e.d(n,"tsvFormat",(function(){return o.a})),e.d(n,"tsvFormatBody",(function(){return o.b})),e.d(n,"tsvFormatRows",(function(){return o.d})),e.d(n,"tsvFormatRow",(function(){return o.c})),e.d(n,"tsvFormatValue",(function(){return o.e})),e.d(n,"autoType",(function(){return a}))},77:function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(33),i=e(1420),o=e(1419),a=e(1417),u=e(207),c=e(118),f=e(1409),s=e(233),l=e(485),h=e(748),d=e(747),p=e(1411),g=e(1407),v=e(430),y=e(1394),m=e(1398),b=e(138),x=e(215),_=e(1416),w=e(432),A=e(1412),E=e(1401),M=e(1396),k=e(91),O=e(1395),B=e(374),F=e(487),T=e(393),N=e(210),C=e(1408),S=e(1418);Object.keys(r).forEach((function(t){"default"!==t&&Object.defineProperty(n,t,{enumerable:!0,get:function(){return r[t]}})})),Object.keys(i).forEach((function(t){"default"!==t&&Object.defineProperty(n,t,{enumerable:!0,get:function(){return i[t]}})})),Object.keys(o).forEach((function(t){"default"!==t&&Object.defineProperty(n,t,{enumerable:!0,get:function(){return o[t]}})})),Object.keys(a).forEach((function(t){"default"!==t&&Object.defineProperty(n,t,{enumerable:!0,get:function(){return a[t]}})})),Object.keys(u).forEach((function(t){"default"!==t&&Object.defineProperty(n,t,{enumerable:!0,get:function(){return u[t]}})})),Object.keys(c).forEach((function(t){"default"!==t&&Object.defineProperty(n,t,{enumerable:!0,get:function(){return c[t]}})})),Object.keys(f).forEach((function(t){"default"!==t&&Object.defineProperty(n,t,{enumerable:!0,get:function(){return f[t]}})})),Object.keys(s).forEach((function(t){"default"!==t&&Object.defineProperty(n,t,{enumerable:!0,get:function(){return s[t]}})})),Object.keys(l).forEach((function(t){"default"!==t&&Object.defineProperty(n,t,{enumerable:!0,get:function(){return l[t]}})})),Object.keys(h).forEach((function(t){"default"!==t&&Object.defineProperty(n,t,{enumerable:!0,get:function(){return h[t]}})})),Object.keys(d).forEach((function(t){"default"!==t&&Object.defineProperty(n,t,{enumerable:!0,get:function(){return d[t]}})})),Object.keys(p).forEach((function(t){"default"!==t&&Object.defineProperty(n,t,{enumerable:!0,get:function(){return p[t]}})})),Object.keys(g).forEach((function(t){"default"!==t&&Object.defineProperty(n,t,{enumerable:!0,get:function(){return g[t]}})})),Object.keys(v).forEach((function(t){"default"!==t&&Object.defineProperty(n,t,{enumerable:!0,get:function(){return v[t]}})})),Object.keys(y).forEach((function(t){"default"!==t&&Object.defineProperty(n,t,{enumerable:!0,get:function(){return y[t]}})})),Object.keys(m).forEach((function(t){"default"!==t&&Object.defineProperty(n,t,{enumerable:!0,get:function(){return m[t]}})})),Object.keys(b).forEach((function(t){"default"!==t&&Object.defineProperty(n,t,{enumerable:!0,get:function(){return b[t]}})})),Object.keys(x).forEach((function(t){"default"!==t&&Object.defineProperty(n,t,{enumerable:!0,get:function(){return x[t]}})})),Object.keys(_).forEach((function(t){"default"!==t&&Object.defineProperty(n,t,{enumerable:!0,get:function(){return _[t]}})})),Object.keys(w).forEach((function(t){"default"!==t&&Object.defineProperty(n,t,{enumerable:!0,get:function(){return w[t]}})})),Object.keys(A).forEach((function(t){"default"!==t&&Object.defineProperty(n,t,{enumerable:!0,get:function(){return A[t]}})})),Object.keys(E).forEach((function(t){"default"!==t&&Object.defineProperty(n,t,{enumerable:!0,get:function(){return E[t]}})})),Object.keys(M).forEach((function(t){"default"!==t&&Object.defineProperty(n,t,{enumerable:!0,get:function(){return M[t]}})})),Object.keys(k).forEach((function(t){"default"!==t&&Object.defineProperty(n,t,{enumerable:!0,get:function(){return k[t]}})})),Object.keys(O).forEach((function(t){"default"!==t&&Object.defineProperty(n,t,{enumerable:!0,get:function(){return O[t]}})})),Object.keys(B).forEach((function(t){"default"!==t&&Object.defineProperty(n,t,{enumerable:!0,get:function(){return B[t]}})})),Object.keys(F).forEach((function(t){"default"!==t&&Object.defineProperty(n,t,{enumerable:!0,get:function(){return F[t]}})})),Object.keys(T).forEach((function(t){"default"!==t&&Object.defineProperty(n,t,{enumerable:!0,get:function(){return T[t]}})})),Object.keys(N).forEach((function(t){"default"!==t&&Object.defineProperty(n,t,{enumerable:!0,get:function(){return N[t]}})})),Object.keys(C).forEach((function(t){"default"!==t&&Object.defineProperty(n,t,{enumerable:!0,get:function(){return C[t]}})})),Object.keys(S).forEach((function(t){"default"!==t&&Object.defineProperty(n,t,{enumerable:!0,get:function(){return S[t]}})})),n.version="5.14.2"},78:function(t,n,e){!function(t){"use strict";function n(t){this.reset(t.className)}function e(){this.childNodes=[]}n.prototype=[],n.prototype.reset=function(t){var n=(t||"").split(" ");this.length=n.length;for(var e=0;e<n.length;e++)this[e]=n[e]},n.prototype.add=function(t){this.contains(t)||this.push(t)},n.prototype.contains=function(t){for(var n=0;n<this.length;n++)if(this[n]===t)return!0;return!1},n.prototype.item=function(t){return this[t]||null},n.prototype.remove=function(t){for(var n=this.classNames,e=0;e<this.length;e++)n[e]===t&&this.splice(e,1)},n.prototype.toggle=function(t){var n=this.indexOf(t);return n>=0?(this.splice(n,1),!1):(this.push(t),!0)},n.prototype.toString=function(){return this.join(" ").trim()},e.prototype.cloneNode=function(t){if(!t||"childNodes"in this&&Array.isArray(this.childNodes)&&0===this.childNodes.length)return new(Object.getPrototypeOf(this).constructor)(this);var n=new(Object.getPrototypeOf(this).constructor)(this),e=[];return this.childNodes.map((function(t){return e.push(t.cloneNode(!0))})),n.childNodes=e,n},Object.defineProperty(e.prototype,"nodeValue",{get:function(){return null}}),Object.defineProperty(e.prototype,"children",{get:function(){return this.childNodes}}),Object.defineProperty(e.prototype,"firstChild",{get:function(){return this.childNodes[0]||null}}),Object.defineProperty(e.prototype,"lastChild",{get:function(){return this.childNodes[this.childNodes.length-1]||null}}),Object.defineProperty(e.prototype,"nodeName",{get:function(){return this.tagName}});var r={"&":"&amp;","<":"&lt;",">":"&gt;"};function i(t){e.apply(this),this.nodeType=3,this.textContent=String(t)}i.prototype=Object.create(e.prototype),i.prototype.constructor=i,i.prototype.render=function(){return(this.textContent||"").replace(/[&<>]/g,(function(t){return r[t]}))},Object.defineProperty(i.prototype,"nodeValue",{get:function(){return this.textContent}});var o,a=new RegExp("\\s*([ >+~])\\s*","g"),u=new RegExp("(^|[ >+~])([^ >+~]+)","ig"),c=new RegExp("#[^. >+~]+","g"),f=new RegExp("^(?:[ >+~])?([^#. >+~\\[\\]]+)"),s=new RegExp("\\.[^. >+~]+","g"),l=function(t){return null!=t?t[0]:null},h=function(t){return Array.isArray(t)&&t.length>1?t[1]:null},d=function(t){return t.substr(1)},p=function(t){return null!=t?d(t):null},g=(o=d,function(t){return Array.isArray(t)?t.map(o):null});function v(t){return null==t||0===t.length?null:t.replace(a,"$1").match(u).map((function(t,n){return{tagName:(h(t.match(f))||"").toLowerCase(),id:p(l(t.match(c))),classNames:g(t.match(s)),relation:n>0?t[0]:null}})).reverse()}function y(t,n){return!(null==t||n.tagName&&t.tagName!==n.tagName||n.id&&t.id!==n.id||n.classNames&&!n.classNames.every((function(n){return t.classList.contains(n)})))}function m(t,n){for(var e=t,r=function(t){switch(n[t-1].relation){case" ":do{e=e.parentNode}while(null!=e&&!y(e,n[t]));break;case">":if(!y(e.parentNode,n[t]))return{v:!1};break;case"+":if(!y(e.parentNode.childNodes.find((function(t){return t.nextSibling===e})),n[t]))return{v:!1};break;case"~":if(!e.parentNode.childNodes.slice(0,e.parentNode.childNodes.indexOf(e)).some((function(e){return y(e,n[t])})))return{v:!1}}},i=1;i<n.length;i++){var o=r(i);if(o)return o.v}return null!=e}function b(t,n,e){var r=v(t);if(null==r)return[];for(var i=n.getElementsByTagName(r[0].tagName||"*"),o=[],a=0;a<i.length&&!(y(i[a],r[0])&&m(i[a],r)&&(o.push(i[a]),null!=e&&o.length>=e));a++);return o}function x(t,n){return b(t,n,1)[0]||null}function _(){}function w(t,n){return Object.prototype.hasOwnProperty.call(t,n)}function A(t){var n=[],e=t.split("");e.map((function(t,e){"-"===t&&n.push(e)}));var r=t.split("");return n.map((function(t,n){var i=e[t+1].toUpperCase();r.splice(t-n,2,i)})),r.join("")}function E(t){var n=[],e=t.split("");e.map((function(t,e){/^[A-Z]/.test(t)&&n.push(e)}));var r=t.split("");return n.map((function(t){r.splice(t,1,"-"+e[t].toLowerCase())})),r.join("")}function M(){}function k(){}_.prototype={},M.prototype=Object.create({}),M.prototype.getPropertyPriority=function(t){return""},M.prototype.getPropertyValue=function(t){return w(this,t=A(t))?this[t]:""},M.prototype.setProperty=function(t,n){this[A(t)]=n},M.prototype.removeProperty=function(t){var n=this.getPropertyValue(t);return n&&delete this[A(t)],n},M.prototype.valueOf=function(){return this},M.prototype.toString=function(){var t="";for(var n in this)w(this,n)&&(t+=E(n)+": "+this[n]+"; ");return t},M.prototype.setValue=function(t){var n=t.split(";");for(var e in n){var r=e.split(":");this[r[0].trim()]=r[1].trim()}},Object.defineProperty(M.prototype,"cssText",{get:function(){return this.toString()},set:function(t){this.setValue(t)},enumerable:!0}),k.prototype={};var O="area base br col command embed hr img input keygen link meta param source track wbr".split(" ").reduce((function(t,n){return t[n]=!0,t}),{});function B(t){for(var n in e.apply(this),this.attributes=new _,this.style=new M,this.dataset=new k,this.nodeType=1,t)this[n]=t[n];this.tagName||(this.tagName="div"),this.tagName=this.tagName.toLowerCase(),Object.defineProperty(this,"isVoidEl",{value:O[this.tagName]})}var F=function(t){function n(){t.apply(this,arguments)}return t&&(n.__proto__=t),n.prototype=Object.create(t&&t.prototype),n.prototype.constructor=n,n}(B);B.prototype=Object.create(e.prototype),B.prototype.constructor=B;var T=function(){};"blur click focus".split(" ").forEach((function(t){return B.prototype[t]=T}));var N="tagName view nodeType isVoidEl parent parentNode childNodes isMounted".split(" ").reduce((function(t,n){return t[n]=!0,t}),{});function C(t){return t.render()}function S(){this.documentElement=this.createElement("html"),this.head=this.documentElement.appendChild(this.createElement("head")),this.body=this.documentElement.appendChild(this.createElement("body")),this.nodeType=9}B.prototype.render=function(t){var n=this,e=this.isVoidEl,r=[],i=!1,o="";for(var a in this)if("isMounted"!==a&&"style"!==a&&"attributes"!==a&&"dataset"!==a&&"_classList"!==a&&w(this,a))if(N[a])this.childNodes.length&&(i=!0);else if("_innerHTML"===a)o=this._innerHTML;else if(!N[a]){if(a in this.attributes)continue;if("function"==typeof this[a])continue;var u=void 0;switch(typeof this[a]){case"string":case"number":u='"'+this[a]+'"';break;default:u="'"+JSON.stringify(this[a])+"'"}r.push(a+"="+u)}this.className&&r.push('class="'+this.className+'"');var c=this.style.cssText;c.length>0&&r.push('style="'+c+'"');var f=Object.keys(this.attributes);if(f.length>0&&f.filter((function(t){return"style"!==t&&"_classList"!==t})).map((function(t){return r.push(t+'="'+n.attributes[t]+'"')})),t)return!e&&i?this.childNodes.map(C).join(""):!e&&o?o:"";if(!e&&i){var s=this.tagName;return"<"+[s].concat(r).join(" ")+">"+this.childNodes.map(C).join("")+"</"+s+">"}if(!e&&o){var l=this.tagName;return"<"+[this.tagName].concat(r).join(" ")+">"+o+"</"+l+">"}var h=[this.tagName].concat(r).join(" ");return e?"<"+h+">":"<"+h+"></"+this.tagName+">"},B.prototype.addEventListener=function(){},B.prototype.removeEventListener=function(){},B.prototype.setAttribute=function(t,n){var e=this;if("class"===t)return this.classList.splice(0,this.classList.length),void n.split(" ").forEach((function(t){return e.classList.add(t)}));var r,i,o=t;/^data-/.test(t)?(o=A(t),this.dataset[o]=n,Object.defineProperty(this,o,{get:(r=this,i=o,function(){return r.dataset[i]}),enumerable:!1,configurable:!0})):w(this,o)||Object.defineProperty(this,o,{get:function(t,n){return function(){return t.attributes[n]}}(this,o),enumerable:!0,configurable:!0}),this.attributes[t]=n},B.prototype.getAttribute=function(t){return this.attributes[t]||this[t]||null},B.prototype.removeAttribute=function(t){"class"!==t?(/^data-/.test(t)&&delete this.dataset[A(t)],w(this.attributes,t)&&(delete this.attributes[t],delete this[t])):this.classList.reset()},B.prototype.appendChild=function(t){if(this.isVoidEl)return t;t.parentNode=this;for(var n=0;n<this.childNodes.length;n++)this.childNodes[n]===t&&this.childNodes.splice(n,1);return this.childNodes.push(t),t},B.prototype.insertBefore=function(t,n){if(this.isVoidEl)return t;if(t.parentNode=this,null==n)this.childNodes.push(t);else for(var e=0;e<this.childNodes.length;e++)this.childNodes[e]===n?this.childNodes.splice(e++,0,t):this.childNodes[e]===t&&this.childNodes.splice(e,1);return t},B.prototype.replaceChild=function(t,n){if(this.isVoidEl)return n;t.parentNode=this;for(var e=0;e<this.childNodes.length;e++)this.childNodes[e]===n&&(this.childNodes[e]=t);return n},B.prototype.removeChild=function(t){if(this.isVoidEl)return t;t.parentNode=null;for(var n=0;n<this.childNodes.length;n++)this.childNodes[n]===t&&this.childNodes.splice(n,1);return t},B.prototype.getElementsByTagName=function(t){var n=t.toLowerCase();return this.isVoidEl||0===this.childNodes.length?[]:this.childNodes.reduce((function(t,e){return e.getElementsByTagName?"*"===n||e.tagName===n?t.concat(e,e.getElementsByTagName(n)):t.concat(e.getElementsByTagName(n)):t}),[])},B.prototype.getElementsByClassName=function(t){return Array.isArray(t)?0===t.length?[]:this.childNodes.reduce((function(n,e){return t.every((function(t){return e.classList.contains(t)}))?n.concat(e,e.getElementsByClassName(t)):n.concat(e.getElementsByClassName(t))}),[]):this.getElementsByClassName(String(t).split(" ").map((function(t){return t.trim()})).filter((function(t){return t.length>0})))},B.prototype.querySelector=function(t){return x(t,this)},B.prototype.querySelectorAll=function(t){return b(t,this)},B.prototype.matches=function(t){var n=v(t);return!(null==n||n.length>1)&&y(this,n[0])},Object.defineProperties(B.prototype,{_classList:{value:null,enumerable:!1,configurable:!1,writable:!0},classList:{get:function(){return this._classList||(this._classList=new n(this)),this._classList}},className:{set:function(t){this.classList.reset(t)},get:function(){return null==this._classList?"":this._classList.toString()}},innerHTML:{get:function(){return this._innerHTML||this.render(!0)},set:function(t){this._innerHTML=t}},outerHTML:{get:function(){return this.render()}},firstChild:{get:function(){return this.childNodes[0]||null}},textContent:{get:function(){return this.childNodes.filter((function(t){return t instanceof i})).map((function(t){return t.textContent})).join("")},set:function(t){this.childNodes=[new i(t)]}},nextSibling:{get:function(){for(var t=this.parentNode.childNodes,n=0;n<t.length;n++)if(t[n]===this)return t[n+1];return null}}}),S.prototype.createElement=function(t){var n,e=new B({tagName:t});return"ownerDocument"in e||Object.defineProperty(e,"ownerDocument",{enumerable:!1,get:(n=this,function(){return n})}),e},S.prototype.createElementNS=function(t,n){var e,r;return"ownerDocument"in(e="http://www.w3.org/2000/svg"===n?new F({tagName:n}):new B({tagName:n}))||Object.defineProperty(e,"ownerDocument",{enumerable:!1,get:(r=this,function(){return r})}),e},S.prototype.createDocumentFragment=function(){return(new S).body},S.prototype.createTextNode=function(t){var n,e=new i(t);return"ownerDocument"in e||Object.defineProperty(e,"ownerDocument",{enumerable:!1,get:(n=this,function(){return n})}),e},S.prototype.getElementsByTagName=function(t){var n=t.toLowerCase();return"html"===n?[this.documentElement]:"*"===n?[this.documentElement].concat(this.documentElement.getElementsByTagName(n)):this.documentElement.getElementsByTagName(n)},S.prototype.getElementsByClassName=function(t){var n=this;if(!Array.isArray(t))return this.getElementsByClassName(String(t).split(" ").map((function(t){return t.trim()})).filter((function(t){return t.length>0})));if(0===t.length)return[];var e=t.every((function(t){return n.documentElement.classList.contains(t)}));return this.documentElement.childNodes.reduce((function(n,e){return t.every((function(t){return e.classList.contains(t)}))?n.concat(e,e.getElementsByClassName(t)):n.concat(e.getElementsByClassName(t))}),e?[this.documentElement]:[])},S.prototype.getElementById=function(t){return this.documentElement.id===t?this.documentElement:function t(n,e){for(var r=[],i=0;i<e.length;i++){if(e[i].id===n)return e[i];r=r.concat(e[i].childNodes)}return r.length>0?t(n,r):null}(t,this.documentElement.childNodes)},S.prototype.querySelector=function(t){return x(t,this)},S.prototype.querySelectorAll=function(t){return b(t,this)},S.prototype.implementation=Object.create(null),S.prototype.implementation.hasFeature=function(t){return!1},S.prototype.implementation.createHTMLDocument=function(t){var n=new S;return n.outerHTML=t,n},t.Document=S,t.HTMLElement=B,t.Node=e,t.SVGElement=F,t.TextNode=i,t.render=function(t,n){return(t.el||t).render(n)},Object.defineProperty(t,"__esModule",{value:!0})}(n)},8:function(t,n,e){"use strict";var r=e(1),i=e.n(r),o=e(4),a=e.n(o),u=e(3),c=e.n(u),f=e(22),s=e.n(f),l=e(5),h=e.n(l);
/**
 * Custom error type for handling operation input errors.
 * i.e. where the operation can handle the error and print a message to the screen.
 *
 * @author d98762625 [d98762625@gmail.com]
 * @copyright Crown Copyright 2018
 * @license Apache-2.0
 */
var d=function(t){function n(){var t;i()(this,n);for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return(t=a()(this,c()(n).call(this,...r))).type="OperationError",Error.captureStackTrace&&Error.captureStackTrace(s()(t),n),t}return h()(n,t),n}(function(t){function n(){var n=Reflect.construct(t,Array.from(arguments));return Object.setPrototypeOf(n,Object.getPrototypeOf(this)),n}return n.prototype=Object.create(t.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t,n}(Error));n.a=d},9:function(t,n,e){"use strict";var r=e(1),i=e.n(r),o=e(2),a=e.n(o),u=e(13),c=e(0),f=e(16),s=function(){function t(n){i()(this,t),this.name="",this.type="",this._value=null,this.disabled=!1,this.hint="",this.rows=0,this.toggleValues=[],this.target=null,this.defaultIndex=0,this.min=null,this.max=null,this.step=1,n&&this._parseConfig(n)}return a()(t,[{key:"_parseConfig",value:function(t){this.name=t.name,this.type=t.type,this.defaultValue=t.value,this.disabled=!!t.disabled,this.hint=t.hint||!1,this.rows=t.rows||!1,this.toggleValues=t.toggleValues,this.target=void 0!==t.target?t.target:null,this.defaultIndex=void 0!==t.defaultIndex?t.defaultIndex:0,this.min=t.min,this.max=t.max,this.step=t.step}},{key:"config",get:function(){return this._value}},{key:"value",set:function(n){this._value=t.prepare(n,this.type)},get:function(){return this._value}}],[{key:"prepare",value:function(t,n){var e;switch(n){case"binaryString":case"binaryShortString":case"editableOption":case"editableOptionShort":return c.b.parseEscapedChars(t);case"byteArray":return"string"==typeof t?(t=t.replace(/\s+/g,""),Object(f.a)(t)):t;case"number":if(null===t)return t;if(e=parseFloat(t),isNaN(e))throw"Invalid ingredient value. Not a number: "+c.b.truncate(t.toString(),10);return e;default:return t}}}]),t}(),l=function(){function t(){i()(this,t),this._inputType=-1,this._outputType=-1,this._presentType=-1,this._breakpoint=!1,this._disabled=!1,this._flowControl=!1,this._manualBake=!1,this._ingList=[],this.name="",this.module="",this.description="",this.infoURL=null}return a()(t,[{key:"run",value:function(t,n){return t}},{key:"highlight",value:function(t,n){return!1}},{key:"highlightReverse",value:function(t,n){return!1}},{key:"present",value:function(t,n){return t}},{key:"addIngredient",value:function(t){this._ingList.push(t)}},{key:"inputType",set:function(t){this._inputType=u.a.typeEnum(t)},get:function(){return u.a.enumLookup(this._inputType)}},{key:"outputType",set:function(t){this._outputType=u.a.typeEnum(t),this._presentType<0&&(this._presentType=this._outputType)},get:function(){return u.a.enumLookup(this._outputType)}},{key:"presentType",set:function(t){this._presentType=u.a.typeEnum(t)},get:function(){return u.a.enumLookup(this._presentType)}},{key:"args",set:function(t){var n=this;t.forEach((function(t){var e=new s(t);n.addIngredient(e)}))},get:function(){return this._ingList.map((function(t){var n={name:t.name,type:t.type,value:t.defaultValue};return t.toggleValues&&(n.toggleValues=t.toggleValues),t.hint&&(n.hint=t.hint),t.rows&&(n.rows=t.rows),t.disabled&&(n.disabled=t.disabled),t.target&&(n.target=t.target),t.defaultIndex&&(n.defaultIndex=t.defaultIndex),"number"==typeof t.min&&(n.min=t.min),"number"==typeof t.max&&(n.max=t.max),t.step&&(n.step=t.step),n}))}},{key:"config",get:function(){return{op:this.name,args:this._ingList.map((function(t){return t.config}))}}},{key:"ingValues",set:function(t){var n=this;t.forEach((function(t,e){n._ingList[e].value=t}))},get:function(){return this._ingList.map((function(t){return t.value}))}},{key:"breakpoint",set:function(t){this._breakpoint=!!t},get:function(){return this._breakpoint}},{key:"disabled",set:function(t){this._disabled=!!t},get:function(){return this._disabled}},{key:"flowControl",get:function(){return this._flowControl},set:function(t){this._flowControl=!!t}},{key:"manualBake",get:function(){return this._manualBake},set:function(t){this._manualBake=!!t}}]),t}();n.a=l},91:function(t,n,e){"use strict";e.r(n);var r=e(202),i=e(255),o=function(t){return Object(i.a)(Object(r.a)(t).call(document.documentElement))},a=0;function u(){return new c}function c(){this._="@"+(++a).toString(36)}c.prototype=u.prototype={constructor:c,get:function(t){for(var n=this._;!(n in t);)if(!(t=t.parentNode))return;return t[n]},set:function(t,n){return t[this._]=n},remove:function(t){return this._ in t&&delete t[this._]},toString:function(){return this._}};var f=e(396),s=e(656),l=e(245),h=e(205),d=e(203),p=e(143),g=function(t){return"string"==typeof t?new p.a([document.querySelectorAll(t)],[document.documentElement]):new p.a([null==t?[]:t],p.c)},v=e(246),y=e(397),m=e(398),b=e(655),x=e(254),_=function(t,n){null==n&&(n=Object(x.a)().touches);for(var e=0,r=n?n.length:0,i=new Array(r);e<r;++e)i[e]=Object(d.a)(t,n[e]);return i},w=e(247),A=e(141);e.d(n,"create",(function(){return o})),e.d(n,"creator",(function(){return r.a})),e.d(n,"local",(function(){return u})),e.d(n,"matcher",(function(){return f.a})),e.d(n,"mouse",(function(){return s.a})),e.d(n,"namespace",(function(){return l.a})),e.d(n,"namespaces",(function(){return h.a})),e.d(n,"clientPoint",(function(){return d.a})),e.d(n,"select",(function(){return i.a})),e.d(n,"selectAll",(function(){return g})),e.d(n,"selection",(function(){return p.b})),e.d(n,"selector",(function(){return v.a})),e.d(n,"selectorAll",(function(){return y.a})),e.d(n,"style",(function(){return m.b})),e.d(n,"touch",(function(){return b.a})),e.d(n,"touches",(function(){return _})),e.d(n,"window",(function(){return w.a})),e.d(n,"event",(function(){return A.c})),e.d(n,"customEvent",(function(){return A.a}))}});