/*! For license information please see main~d939e436.c7052b61.chunk.js.LICENSE.txt */ (this["webpackJsonpgonzo-test-client"]=this["webpackJsonpgonzo-test-client"]||[]).push([[93],{"+ugm":function(t,n,e){"use strict";var r=e("6txh"),i=e("2K37"),o=e("SDD1"),a=e("/aQN");n.a=function(){var t=a.a,n=a.b,e=Object(i.a)(!0),s=null,u=o.a,l=null;function c(i){var o,a,c,h=i.length,f=!1;for(null==s&&(l=u(c=Object(r.a)())),o=0;o<=h;++o)!(o1)for(var e,r,i,o=1,a=t[n[0]],s=a.length;o64?n=t(n):n.length<64&&(n=i.concat([n,a],64));for(var e=this._ipad=i.allocUnsafe(64),r=this._opad=i.allocUnsafe(64),s=0;s<64;s++)e[s]=54^n[s],r[s]=92^n[s];this._hash=[e]}r(s,o),s.prototype._update=function(t){this._hash.push(t)},s.prototype._final=function(){var t=this._alg(i.concat(this._hash));return this._alg(i.concat([this._opad,t]))},t.exports=s},"1afE":function(t,n,e){"use strict";n.a={draw:function(t,n){var e=Math.sqrt(n),r=-e/2;t.rect(r,r,e,e)}}},"1nUc":function(t,n,e){"use strict";var r=e("jICm");function i(t){this._context=t}i.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,i=(this._y0+4*this._y1+n)/6;this._line?this._context.lineTo(e,i):this._context.moveTo(e,i);break;case 3:this._point=4;default:Object(r.b)(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},n.a=function(t){return new i(t)}},"2K37":function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},"44y/":function(t,n,e){"use strict";var r=e("6txh"),i=e("2K37"),o=e("SDD1"),a=e("+ugm"),s=e("/aQN");n.a=function(){var t=s.a,n=null,e=Object(i.a)(0),u=s.b,l=Object(i.a)(!0),c=null,h=o.a,f=null;function p(i){var o,a,s,p,m,g=i.length,d=!1,_=new Array(g),v=new Array(g);for(null==c&&(f=h(m=Object(r.a)())),o=0;o<=g;++o){if(!(o=a;--s)f.point(_[s],v[s]);f.lineEnd(),f.areaEnd()}d&&(_[o]=+t(p,o,i),v[o]=+e(p,o,i),f.point(n?+n(p,o,i):_[o],u?+u(p,o,i):v[o]))}if(m)return f=null,m+""||null}function m(){return Object(a.a)().defined(l).curve(h).context(c)}return p.x=function(e){return arguments.length?(t="function"===typeof e?e:Object(i.a)(+e),n=null,p):t},p.x0=function(n){return arguments.length?(t="function"===typeof n?n:Object(i.a)(+n),p):t},p.x1=function(t){return arguments.length?(n=null==t?null:"function"===typeof t?t:Object(i.a)(+t),p):n},p.y=function(t){return arguments.length?(e="function"===typeof t?t:Object(i.a)(+t),u=null,p):e},p.y0=function(t){return arguments.length?(e="function"===typeof t?t:Object(i.a)(+t),p):e},p.y1=function(t){return arguments.length?(u=null==t?null:"function"===typeof t?t:Object(i.a)(+t),p):u},p.lineX0=p.lineY0=function(){return m().x(t).y(e)},p.lineY1=function(){return m().x(t).y(u)},p.lineX1=function(){return m().x(n).y(e)},p.defined=function(t){return arguments.length?(l="function"===typeof t?t:Object(i.a)(!!t),p):l},p.curve=function(t){return arguments.length?(h=t,null!=c&&(f=h(c)),p):h},p.context=function(t){return arguments.length?(null==t?c=f=null:f=h(c=t),p):c},p}},"4CAg":function(t,n){var e,r;e={mm3:{name:{singular:"Cubic Millimeter",plural:"Cubic Millimeters"},to_anchor:1e-6},cm3:{name:{singular:"Cubic Centimeter",plural:"Cubic Centimeters"},to_anchor:.001},ml:{name:{singular:"Millilitre",plural:"Millilitres"},to_anchor:.001},cl:{name:{singular:"Centilitre",plural:"Centilitres"},to_anchor:.01},dl:{name:{singular:"Decilitre",plural:"Decilitres"},to_anchor:.1},l:{name:{singular:"Litre",plural:"Litres"},to_anchor:1},kl:{name:{singular:"Kilolitre",plural:"Kilolitres"},to_anchor:1e3},m3:{name:{singular:"Cubic meter",plural:"Cubic meters"},to_anchor:1e3},km3:{name:{singular:"Cubic kilometer",plural:"Cubic kilometers"},to_anchor:1e12},krm:{name:{singular:"Matsked",plural:"Matskedar"},to_anchor:.001},tsk:{name:{singular:"Tesked",plural:"Teskedar"},to_anchor:.005},msk:{name:{singular:"Matsked",plural:"Matskedar"},to_anchor:.015},kkp:{name:{singular:"Kaffekopp",plural:"Kaffekoppar"},to_anchor:.15},glas:{name:{singular:"Glas",plural:"Glas"},to_anchor:.2},kanna:{name:{singular:"Kanna",plural:"Kannor"},to_anchor:2.617}},r={tsp:{name:{singular:"Teaspoon",plural:"Teaspoons"},to_anchor:1/6},Tbs:{name:{singular:"Tablespoon",plural:"Tablespoons"},to_anchor:.5},in3:{name:{singular:"Cubic inch",plural:"Cubic inches"},to_anchor:.55411},"fl-oz":{name:{singular:"Fluid Ounce",plural:"Fluid Ounces"},to_anchor:1},cup:{name:{singular:"Cup",plural:"Cups"},to_anchor:8},pnt:{name:{singular:"Pint",plural:"Pints"},to_anchor:16},qt:{name:{singular:"Quart",plural:"Quarts"},to_anchor:32},gal:{name:{singular:"Gallon",plural:"Gallons"},to_anchor:128},ft3:{name:{singular:"Cubic foot",plural:"Cubic feet"},to_anchor:957.506},yd3:{name:{singular:"Cubic yard",plural:"Cubic yards"},to_anchor:25852.7}},t.exports={metric:e,imperial:r,_anchors:{metric:{unit:"l",ratio:33.8140226},imperial:{unit:"fl-oz",ratio:1/33.8140226}}}},"4dMO":function(t,n,e){(function(n){var r=e("MzeL"),i=e("OZ/i");t.exports=function(t){return new a(t)};var o={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};function a(t){this.curveType=o[t],this.curveType||(this.curveType={name:t}),this.curve=new r.ec(this.curveType.name),this.keys=void 0}function s(t,e,r){Array.isArray(t)||(t=t.toArray());var i=new n(t);if(r&&i.length1e-6)if(Math.abs(h*u-l*c)>1e-6&&o){var p=e-a,m=i-s,g=u*u+l*l,d=p*p+m*m,_=Math.sqrt(g),v=Math.sqrt(f),y=o*Math.tan((r-Math.acos((g+f-d)/(2*_*v)))/2),b=y/v,w=y/_;Math.abs(b-1)>1e-6&&(this._+="L"+(t+b*c)+","+(n+b*h)),this._+="A"+o+","+o+",0,0,"+ +(h*p>c*m)+","+(this._x1=t+w*u)+","+(this._y1=n+w*l)}else this._+="L"+(this._x1=t)+","+(this._y1=n);else;},arc:function(t,n,e,a,s,u){t=+t,n=+n,u=!!u;var l=(e=+e)*Math.cos(a),c=e*Math.sin(a),h=t+l,f=n+c,p=1^u,m=u?a-s:s-a;if(e<0)throw new Error("negative radius: "+e);null===this._x1?this._+="M"+h+","+f:(Math.abs(this._x1-h)>1e-6||Math.abs(this._y1-f)>1e-6)&&(this._+="L"+h+","+f),e&&(m<0&&(m=m%i+i),m>o?this._+="A"+e+","+e+",0,1,"+p+","+(t-l)+","+(n-c)+"A"+e+","+e+",0,1,"+p+","+(this._x1=h)+","+(this._y1=f):m>1e-6&&(this._+="A"+e+","+e+",0,"+ +(m>=r)+","+p+","+(this._x1=t+e*Math.cos(s))+","+(this._y1=n+e*Math.sin(s))))},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=s},"8eK0":function(t,n,e){"use strict";var r=e("0T5i");n.a=function(t,n){if((o=t.length)>0&&(i=(e=t[n[0]]).length)>0){for(var e,i,o,a=0,s=1;s0&&void 0!==arguments[0]?arguments[0]:{};l(this,e),t=h(this,f(e).call(this,u({},{readableObjectMode:!0},{},r)));var i={};for(var o in r)i[b(o)]=r[o];if(void 0===i.bom||null===i.bom||!1===i.bom)i.bom=!1;else if(!0!==i.bom)throw new y("CSV_INVALID_OPTION_BOM",["Invalid option bom:","bom must be true,","got ".concat(JSON.stringify(i.bom))]);var a=null;if(void 0===i.cast||null===i.cast||!1===i.cast||""===i.cast)i.cast=void 0;else if("function"===typeof i.cast)a=i.cast,i.cast=!0;else if(!0!==i.cast)throw new y("CSV_INVALID_OPTION_CAST",["Invalid option cast:","cast must be true or a function,","got ".concat(JSON.stringify(i.cast))]);if(void 0===i.cast_date||null===i.cast_date||!1===i.cast_date||""===i.cast_date)i.cast_date=!1;else if(!0===i.cast_date)i.cast_date=function(t){var n=Date.parse(t);return isNaN(n)?t:new Date(n)};else if("function"!==typeof i.cast_date)throw new y("CSV_INVALID_OPTION_CAST_DATE",["Invalid option cast_date:","cast_date must be true or a function,","got ".concat(JSON.stringify(i.cast_date))]);var c=null;if(!0===i.columns)c=void 0;else if("function"===typeof i.columns)c=i.columns,i.columns=!0;else if(Array.isArray(i.columns))i.columns=x(i.columns);else{if(void 0!==i.columns&&null!==i.columns&&!1!==i.columns)throw new y("CSV_INVALID_OPTION_COLUMNS",["Invalid option columns:","expect an object, a function or true,","got ".concat(JSON.stringify(i.columns))]);i.columns=!1}if(void 0===i.comment||null===i.comment||!1===i.comment||""===i.comment)i.comment=null;else if("string"===typeof i.comment&&(i.comment=n.from(i.comment)),!n.isBuffer(i.comment))throw new y("CSV_INVALID_OPTION_COMMENT",["Invalid option comment:","comment must be a buffer or a string,","got ".concat(JSON.stringify(i.comment))]);if(void 0===i.delimiter||null===i.delimiter||!1===i.delimiter)i.delimiter=n.from(",");else if("string"===typeof i.delimiter&&0!==i.delimiter.length)i.delimiter=n.from(i.delimiter);else if(n.isBuffer(i.delimiter)&&0===i.delimiter.length||"string"===typeof i.delimiter&&0===i.delimiter.length||!n.isBuffer(i.delimiter)&&"string"!==typeof i.delimiter)throw new y("CSV_INVALID_OPTION_DELIMITER",["Invalid option delimiter:","delimiter must be a non empty string or buffer,","got ".concat(JSON.stringify(i.delimiter))]);if(void 0===i.escape||null===i.escape?i.escape=n.from('"'):"string"===typeof i.escape&&(i.escape=n.from(i.escape)),!n.isBuffer(i.escape))throw new Error("Invalid Option: escape must be a buffer or a string, got ".concat(JSON.stringify(i.escape)));if(1!==i.escape.length)throw new Error("Invalid Option Length: escape must be one character, got ".concat(i.escape.length));if(i.escape=i.escape[0],void 0===i.from||null===i.from)i.from=1;else{if("string"===typeof i.from&&/\d+/.test(i.from)&&(i.from=parseInt(i.from)),!Number.isInteger(i.from))throw new Error("Invalid Option: from must be an integer, got ".concat(JSON.stringify(i.from)));if(i.from<0)throw new Error("Invalid Option: from must be a positive integer, got ".concat(JSON.stringify(r.from)))}if(void 0===i.from_line||null===i.from_line)i.from_line=1;else{if("string"===typeof i.from_line&&/\d+/.test(i.from_line)&&(i.from_line=parseInt(i.from_line)),!Number.isInteger(i.from_line))throw new Error("Invalid Option: from_line must be an integer, got ".concat(JSON.stringify(r.from_line)));if(i.from_line<=0)throw new Error("Invalid Option: from_line must be a positive integer greater than 0, got ".concat(JSON.stringify(r.from_line)))}if(void 0===i.info||null===i.info||!1===i.info)i.info=!1;else if(!0!==i.info)throw new Error("Invalid Option: info must be true, got ".concat(JSON.stringify(i.info)));if(void 0===i.max_record_size||null===i.max_record_size||!1===i.max_record_size)i.max_record_size=0;else if(Number.isInteger(i.max_record_size)&&i.max_record_size>=0);else{if("string"!==typeof i.max_record_size||!/\d+/.test(i.max_record_size))throw new Error("Invalid Option: max_record_size must be a positive integer, got ".concat(JSON.stringify(i.max_record_size)));i.max_record_size=parseInt(i.max_record_size)}if(void 0===i.objname||null===i.objname||!1===i.objname)i.objname=void 0;else if(n.isBuffer(i.objname)){if(0===i.objname.length)throw new Error("Invalid Option: objname must be a non empty buffer");i.objname=i.objname.toString()}else{if("string"!==typeof i.objname)throw new Error("Invalid Option: objname must be a string or a buffer, got ".concat(i.objname));if(0===i.objname.length)throw new Error("Invalid Option: objname must be a non empty string")}if(void 0===i.on_record||null===i.on_record)i.on_record=void 0;else if("function"!==typeof i.on_record)throw new y("CSV_INVALID_OPTION_ON_RECORD",["Invalid option `on_record`:","expect a function,","got ".concat(JSON.stringify(i.on_record))]);if(null===i.quote||!1===i.quote||""===i.quote)i.quote=null;else{if(void 0===i.quote||!0===i.quote?i.quote=n.from('"'):"string"===typeof i.quote&&(i.quote=n.from(i.quote)),!n.isBuffer(i.quote))throw new Error("Invalid Option: quote must be a buffer or a string, got ".concat(JSON.stringify(i.quote)));if(1!==i.quote.length)throw new Error("Invalid Option Length: quote must be one character, got ".concat(i.quote.length));i.quote=i.quote[0]}if(void 0===i.raw||null===i.raw||!1===i.raw)i.raw=!1;else if(!0!==i.raw)throw new Error("Invalid Option: raw must be true, got ".concat(JSON.stringify(i.raw)));if(i.record_delimiter?Array.isArray(i.record_delimiter)||(i.record_delimiter=[i.record_delimiter]):i.record_delimiter=[],i.record_delimiter=i.record_delimiter.map((function(t){return"string"===typeof t&&(t=n.from(t)),t})),"boolean"===typeof i.relax);else{if(void 0!==i.relax&&null!==i.relax)throw new Error("Invalid Option: relax must be a boolean, got ".concat(JSON.stringify(i.relax)));i.relax=!1}if("boolean"===typeof i.relax_column_count);else{if(void 0!==i.relax_column_count&&null!==i.relax_column_count)throw new Error("Invalid Option: relax_column_count must be a boolean, got ".concat(JSON.stringify(i.relax_column_count)));i.relax_column_count=!1}if("boolean"===typeof i.relax_column_count_less);else{if(void 0!==i.relax_column_count_less&&null!==i.relax_column_count_less)throw new Error("Invalid Option: relax_column_count_less must be a boolean, got ".concat(JSON.stringify(i.relax_column_count_less)));i.relax_column_count_less=!1}if("boolean"===typeof i.relax_column_count_more);else{if(void 0!==i.relax_column_count_more&&null!==i.relax_column_count_more)throw new Error("Invalid Option: relax_column_count_more must be a boolean, got ".concat(JSON.stringify(i.relax_column_count_more)));i.relax_column_count_more=!1}if("boolean"===typeof i.skip_empty_lines);else{if(void 0!==i.skip_empty_lines&&null!==i.skip_empty_lines)throw new Error("Invalid Option: skip_empty_lines must be a boolean, got ".concat(JSON.stringify(i.skip_empty_lines)));i.skip_empty_lines=!1}if("boolean"===typeof i.skip_lines_with_empty_values);else{if(void 0!==i.skip_lines_with_empty_values&&null!==i.skip_lines_with_empty_values)throw new Error("Invalid Option: skip_lines_with_empty_values must be a boolean, got ".concat(JSON.stringify(i.skip_lines_with_empty_values)));i.skip_lines_with_empty_values=!1}if("boolean"===typeof i.skip_lines_with_error);else{if(void 0!==i.skip_lines_with_error&&null!==i.skip_lines_with_error)throw new Error("Invalid Option: skip_lines_with_error must be a boolean, got ".concat(JSON.stringify(i.skip_lines_with_error)));i.skip_lines_with_error=!1}if(void 0===i.rtrim||null===i.rtrim||!1===i.rtrim)i.rtrim=!1;else if(!0!==i.rtrim)throw new Error("Invalid Option: rtrim must be a boolean, got ".concat(JSON.stringify(i.rtrim)));if(void 0===i.ltrim||null===i.ltrim||!1===i.ltrim)i.ltrim=!1;else if(!0!==i.ltrim)throw new Error("Invalid Option: ltrim must be a boolean, got ".concat(JSON.stringify(i.ltrim)));if(void 0===i.trim||null===i.trim||!1===i.trim)i.trim=!1;else if(!0!==i.trim)throw new Error("Invalid Option: trim must be a boolean, got ".concat(JSON.stringify(i.trim)));if(!0===i.trim&&!1!==r.ltrim?i.ltrim=!0:!0!==i.ltrim&&(i.ltrim=!1),!0===i.trim&&!1!==r.rtrim?i.rtrim=!0:!0!==i.rtrim&&(i.rtrim=!1),void 0===i.to||null===i.to)i.to=-1;else{if("string"===typeof i.to&&/\d+/.test(i.to)&&(i.to=parseInt(i.to)),!Number.isInteger(i.to))throw new Error("Invalid Option: to must be an integer, got ".concat(JSON.stringify(r.to)));if(i.to<=0)throw new Error("Invalid Option: to must be a positive integer greater than 0, got ".concat(JSON.stringify(r.to)))}if(void 0===i.to_line||null===i.to_line)i.to_line=-1;else{if("string"===typeof i.to_line&&/\d+/.test(i.to_line)&&(i.to_line=parseInt(i.to_line)),!Number.isInteger(i.to_line))throw new Error("Invalid Option: to_line must be an integer, got ".concat(JSON.stringify(r.to_line)));if(i.to_line<=0)throw new Error("Invalid Option: to_line must be a positive integer greater than 0, got ".concat(JSON.stringify(r.to_line)))}return t.info={comment_lines:0,empty_lines:0,invalid_field_length:0,lines:1,records:0},t.options=i,t.state={bomSkipped:!1,castField:a,commenting:!1,enabled:1===i.from_line,escaping:!1,escapeIsQuote:i.escape===i.quote,expectedRecordLength:null===i.columns?0:i.columns.length,field:new g(20),firstLineToHeaders:c,info:Object.assign({},t.info),previousBuf:void 0,quoting:!1,stop:!1,rawBuffer:new g(100),record:[],recordHasError:!1,record_length:0,recordDelimiterMaxLength:0===i.record_delimiter.length?2:Math.max.apply(Math,s(i.record_delimiter.map((function(t){return t.length})))),trimChars:[n.from(" ")[0],n.from("\t")[0]],wasQuoting:!1,wasRowDelimiter:!1},t}return p(e,t),c(e,[{key:"_transform",value:function(t,n,e){if(!0!==this.state.stop){var r=this.__parse(t,!1);void 0!==r&&(this.state.stop=!0),e(r)}}},{key:"_flush",value:function(t){!0!==this.state.stop&&t(this.__parse(void 0,!0))}},{key:"__parse",value:function(t,e){var r,i=this.options,o=i.bom,a=i.comment,s=i.escape,u=i.from_line,l=i.info,c=i.ltrim,h=i.max_record_size,f=i.quote,p=i.raw,m=i.relax,g=i.rtrim,_=i.skip_empty_lines,v=i.to,b=i.to_line,w=this.options.record_delimiter,M=this.state,x=M.bomSkipped,T=M.previousBuf,k=M.rawBuffer,E=M.escapeIsQuote;if(void 0===T){if(void 0===t)return void this.push(null);r=t}else r=void 0!==T&&void 0===t?T:n.concat([T,t]);if(!1===x)if(!1===o)this.state.bomSkipped=!0;else if(r.length<3){if(!1===e)return void(this.state.previousBuf=r)}else 0===d.compare(r,0,3)&&(r=r.slice(3)),this.state.bomSkipped=!0;var N,S=r.length;for(N=0;Nb)return this.state.stop=!0,void this.push(null);!1===this.state.quoting&&0===w.length&&this.__autoDiscoverRowDelimiter(r,N)&&(w=this.options.record_delimiter);var C=r[N];if(!0===p&&k.append(C),13!==C&&10!==C||!1!==this.state.wasRowDelimiter||(this.state.wasRowDelimiter=!0),!0===this.state.escaping)this.state.escaping=!1;else{if(!0===this.state.quoting&&C===s&&N+1=u){this.state.enabled=!0,this.__resetField(),this.__resetRow(),N+=L-1;continue}var j=this.__onField();if(void 0!==j)return j;var U=this.__onRow();if(void 0!==U)return U;if(-1!==v&&this.info.records>=v)return this.state.stop=!0,void this.push(null)}this.state.commenting=!1,N+=L-1;continue}if(this.state.commenting)continue;if(0!==(null===a?0:this.__compareBytes(a,r,N,C))){this.state.commenting=!0;continue}var q=this.__isDelimiter(C,r,N);if(0!==q){var z=this.__onField();if(void 0!==z)return z;N+=q-1;continue}}}if(!1===this.state.commenting&&0!==h&&this.state.record_length+this.state.field.length>h){var H=this.__error(new y("CSV_MAX_RECORD_SIZE",["Max Record Size:","record exceed the maximum number of tolerated bytes","of ".concat(h),"at line ".concat(this.info.lines)],this.__context()));if(void 0!==H)return H}var V=!1===c||!0===this.state.quoting||0!==this.state.field.length||!this.__isCharTrimable(C),B=!1===g||!1===this.state.wasQuoting;if(!0===V&&!0===B)this.state.field.append(C);else if(!0===g&&!this.__isCharTrimable(C)){var Y=this.__error(new y("CSV_NON_TRIMABLE_CHAR_AFTER_CLOSING_QUOTE",["Invalid Closing Quote:","found non trimable byte after quote","at line ".concat(this.info.lines)],this.__context()));if(void 0!==Y)return Y}}if(!0===e)if(!0===this.state.quoting){var K=this.__error(new y("CSV_QUOTE_NOT_CLOSED",["Quote Not Closed:","the parsing is finished with an opening quote at line ".concat(this.info.lines)],this.__context()));if(void 0!==K)return K}else if(!0===this.state.wasQuoting||0!==this.state.record.length||0!==this.state.field.length){var G=this.__onField();if(void 0!==G)return G;var J=this.__onRow();if(void 0!==J)return J}else!0===this.state.wasRowDelimiter?this.info.empty_lines++:!0===this.state.commenting&&this.info.comment_lines++;else this.state.previousBuf=r.slice(N);!0===this.state.wasRowDelimiter&&(this.info.lines++,this.state.wasRowDelimiter=!1)}},{key:"__isCharTrimable",value:function(t){return 32===t||9===t||13===t||10===t}},{key:"__onRow",value:function(){var t=this.options,n=t.columns,e=t.info,r=t.from,i=t.relax_column_count,o=t.relax_column_count_less,a=t.relax_column_count_more,s=t.raw,u=t.skip_lines_with_empty_values,l=this.state,c=l.enabled,h=l.record;if(!1===c)return this.__resetRow();var f=h.length;if(!0===n)return M(h)?void this.__resetRow():this.__firstLineToColumns(h);if(!1===n&&0===this.info.records&&(this.state.expectedRecordLength=f),f!==this.state.expectedRecordLength)if(!0===i||!0===o&&fthis.state.expectedRecordLength)this.info.invalid_field_length++;else if(!1===n){var p=this.__error(new y("CSV_INCONSISTENT_RECORD_LENGTH",["Invalid Record Length:","expect ".concat(this.state.expectedRecordLength,","),"got ".concat(f," on line ").concat(this.info.lines)],this.__context(),{record:h}));if(void 0!==p)return p}else{var m=this.__error(new y("CSV_RECORD_DONT_MATCH_COLUMNS_LENGTH",["Invalid Record Length:","columns length is ".concat(n.length,","),"got ".concat(f," on line ").concat(this.info.lines)],this.__context(),{record:h}));if(void 0!==m)return m}if(!0===u&&M(h))this.__resetRow();else{if(!0===this.state.recordHasError)return this.__resetRow(),void(this.state.recordHasError=!1);if(this.info.records++,1===r||this.info.records>=r)if(!1!==n){var g={};for(var d in h)void 0===n[d]||n[d].disabled||(g[n[d].name]=h[d]);var _=this.options.objname;if(void 0===_)if(!0===s||!0===e){var v=this.__push(Object.assign({record:g},!0===s?{raw:this.state.rawBuffer.toString()}:{},!0===e?{info:this.state.info}:{}));if(v)return v}else{var b=this.__push(g);if(b)return b}else if(!0===s||!0===e){var w=this.__push(Object.assign({record:[g[_],g]},!0===s?{raw:this.state.rawBuffer.toString()}:{},!0===e?{info:this.state.info}:{}));if(w)return w}else{var x=this.__push([g[_],g]);if(x)return x}}else if(!0===s||!0===e){var T=this.__push(Object.assign({record:h},!0===s?{raw:this.state.rawBuffer.toString()}:{},!0===e?{info:this.state.info}:{}));if(T)return T}else{var k=this.__push(h);if(k)return k}this.__resetRow()}}},{key:"__firstLineToColumns",value:function(t){var n=this.state.firstLineToHeaders;try{var e=void 0===n?t:n.call(null,t);if(!Array.isArray(e))return this.__error(new y("CSV_INVALID_COLUMN_MAPPING",["Invalid Column Mapping:","expect an array from column function,","got ".concat(JSON.stringify(e))],this.__context(),{headers:e}));var r=x(e);return this.state.expectedRecordLength=r.length,this.options.columns=r,void this.__resetRow()}catch(i){return i}}},{key:"__resetRow",value:function(){!0===this.options.raw&&this.state.rawBuffer.reset(),this.state.record=[],this.state.record_length=0}},{key:"__onField",value:function(){var t=this.options,n=t.cast,e=t.rtrim,r=t.max_record_size,i=this.state,o=i.enabled,s=i.wasQuoting;if(!1===o)return this.__resetField();var u=this.state.field.toString();if(!0===e&&!1===s&&(u=u.trimRight()),!0===n){var l=this.__cast(u),c=a(l,2),h=c[0],f=c[1];if(void 0!==h)return h;u=f}this.state.record.push(u),0!==r&&"string"===typeof u&&(this.state.record_length+=u.length),this.__resetField()}},{key:"__resetField",value:function(){this.state.field.reset(),this.state.wasQuoting=!1}},{key:"__push",value:function(t){var n=this.options.on_record;if(void 0!==n){var e=this.__context();try{t=n.call(null,t,e)}catch(r){return r}if(void 0===t||null===t)return}this.push(t)}},{key:"__cast",value:function(t){var n=this.options,e=n.columns,r=n.relax_column_count;if(!0===Array.isArray(e)&&r&&this.options.columns.length<=this.state.record.length)return[void 0,void 0];var i=this.__context();if(null!==this.state.castField)try{return[void 0,this.state.castField.call(null,t,i)]}catch(o){return[o]}return this.__isFloat(t)?[void 0,parseFloat(t)]:!1!==this.options.cast_date?[void 0,this.options.cast_date.call(null,t,i)]:[void 0,t]}},{key:"__isFloat",value:function(t){return t-parseFloat(t)+1>=0}},{key:"__compareBytes",value:function(t,n,e,r){if(t[0]!==r)return 0;for(var i=t.length,o=1;othis.state.record.length?t[this.state.record.length].name:null:this.state.record.length,empty_lines:this.info.empty_lines,header:!0===t,index:this.state.record.length,invalid_field_length:this.info.invalid_field_length,quoting:this.state.wasQuoting,lines:this.info.lines,records:this.info.records}}}]),e}(m),v=function(){var t,e,i;for(var o in arguments){var a=arguments[o],s=typeof a;if(void 0!==t||"string"!==typeof a&&!n.isBuffer(a))if(void 0===e&&w(a))e=a;else{if(void 0!==i||"function"!==s)throw new y("CSV_INVALID_ARGUMENT",["Invalid argument:","got ".concat(JSON.stringify(a)," at index ").concat(o)]);i=a}else t=a}var u=new _(e);if(i){var l=void 0===e||void 0===e.objname?[]:{};u.on("readable",(function(){for(var t;null!==(t=this.read());)void 0===e||void 0===e.objname?l.push(t):l[t[0]]=t[1]})),u.on("error",(function(t){i(t,void 0,u.info)})),u.on("end",(function(){i(void 0,l,u.info)}))}return void 0!==t&&("function"===typeof r?r((function(){u.write(t),u.end()})):(u.write(t),u.end())),u},y=function(t){"use strict";function e(t,r){var o;l(this,e),Array.isArray(r)&&(r=r.join(" ")),o=h(this,f(e).call(this,r)),void 0!==Error.captureStackTrace&&Error.captureStackTrace(i(o),e),o.code=t;for(var a=arguments.length,s=new Array(a>2?a-2:0),u=2;ue)?n=("rmd160"===t?new u:l(t)).update(n).digest():n.length0){for(var e,i,o,a=0,s=t[0].length;a=4&&1!==t[3]&&(n=", "+t[3]),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+n+")"},s.to.keyword=function(t){return o[t.slice(0,3)]}},GvAG:function(t,n,e){"use strict";var r=e("CYYh");n.a={draw:function(t,n){var e=Math.sqrt(n/r.a);t.moveTo(e,0),t.arc(0,0,e,0,r.b)}}},HEbw:function(t,n,e){"use strict";n.randomBytes=n.rng=n.pseudoRandomBytes=n.prng=e("Edxu"),n.createHash=n.Hash=e("mObS"),n.createHmac=n.Hmac=e("Giow");var r=e("EW2V"),i=Object.keys(r),o=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(i);n.getHashes=function(){return o};var a=e("oJl4");n.pbkdf2=a.pbkdf2,n.pbkdf2Sync=a.pbkdf2Sync;var s=e("lWpZ");n.Cipher=s.Cipher,n.createCipher=s.createCipher,n.Cipheriv=s.Cipheriv,n.createCipheriv=s.createCipheriv,n.Decipher=s.Decipher,n.createDecipher=s.createDecipher,n.Decipheriv=s.Decipheriv,n.createDecipheriv=s.createDecipheriv,n.getCiphers=s.getCiphers,n.listCiphers=s.listCiphers;var u=e("ANxK");n.DiffieHellmanGroup=u.DiffieHellmanGroup,n.createDiffieHellmanGroup=u.createDiffieHellmanGroup,n.getDiffieHellman=u.getDiffieHellman,n.createDiffieHellman=u.createDiffieHellman,n.DiffieHellman=u.DiffieHellman;var l=e("tpL1");n.createSign=l.createSign,n.Sign=l.Sign,n.createVerify=l.createVerify,n.Verify=l.Verify,n.createECDH=e("4dMO");var c=e("ZEK9");n.publicEncrypt=c.publicEncrypt,n.privateEncrypt=c.privateEncrypt,n.publicDecrypt=c.publicDecrypt,n.privateDecrypt=c.privateDecrypt;var h=e("dcwN");n.randomFill=h.randomFill,n.randomFillSync=h.randomFillSync,n.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join("\n"))},n.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},HIRa:function(t,n){var e,r;e={"mm3/s":{name:{singular:"Cubic Millimeter per second",plural:"Cubic Millimeters per second"},to_anchor:1e-6},"cm3/s":{name:{singular:"Cubic Centimeter per second",plural:"Cubic Centimeters per second"},to_anchor:.001},"ml/s":{name:{singular:"Millilitre per second",plural:"Millilitres per second"},to_anchor:.001},"cl/s":{name:{singular:"Centilitre per second",plural:"Centilitres per second"},to_anchor:.01},"dl/s":{name:{singular:"Decilitre per second",plural:"Decilitres per second"},to_anchor:.1},"l/s":{name:{singular:"Litre per second",plural:"Litres per second"},to_anchor:1},"l/min":{name:{singular:"Litre per minute",plural:"Litres per minute"},to_anchor:1/60},"l/h":{name:{singular:"Litre per hour",plural:"Litres per hour"},to_anchor:1/3600},"kl/s":{name:{singular:"Kilolitre per second",plural:"Kilolitres per second"},to_anchor:1e3},"kl/min":{name:{singular:"Kilolitre per minute",plural:"Kilolitres per minute"},to_anchor:50/3},"kl/h":{name:{singular:"Kilolitre per hour",plural:"Kilolitres per hour"},to_anchor:5/18},"m3/s":{name:{singular:"Cubic meter per second",plural:"Cubic meters per second"},to_anchor:1e3},"m3/min":{name:{singular:"Cubic meter per minute",plural:"Cubic meters per minute"},to_anchor:50/3},"m3/h":{name:{singular:"Cubic meter per hour",plural:"Cubic meters per hour"},to_anchor:5/18},"km3/s":{name:{singular:"Cubic kilometer per second",plural:"Cubic kilometers per second"},to_anchor:1e12}},r={"tsp/s":{name:{singular:"Teaspoon per second",plural:"Teaspoons per second"},to_anchor:1/6},"Tbs/s":{name:{singular:"Tablespoon per second",plural:"Tablespoons per second"},to_anchor:.5},"in3/s":{name:{singular:"Cubic inch per second",plural:"Cubic inches per second"},to_anchor:.55411},"in3/min":{name:{singular:"Cubic inch per minute",plural:"Cubic inches per minute"},to_anchor:.55411/60},"in3/h":{name:{singular:"Cubic inch per hour",plural:"Cubic inches per hour"},to_anchor:.55411/3600},"fl-oz/s":{name:{singular:"Fluid Ounce per second",plural:"Fluid Ounces per second"},to_anchor:1},"fl-oz/min":{name:{singular:"Fluid Ounce per minute",plural:"Fluid Ounces per minute"},to_anchor:1/60},"fl-oz/h":{name:{singular:"Fluid Ounce per hour",plural:"Fluid Ounces per hour"},to_anchor:1/3600},"cup/s":{name:{singular:"Cup per second",plural:"Cups per second"},to_anchor:8},"pnt/s":{name:{singular:"Pint per second",plural:"Pints per second"},to_anchor:16},"pnt/min":{name:{singular:"Pint per minute",plural:"Pints per minute"},to_anchor:4/15},"pnt/h":{name:{singular:"Pint per hour",plural:"Pints per hour"},to_anchor:1/225},"qt/s":{name:{singular:"Quart per second",plural:"Quarts per second"},to_anchor:32},"gal/s":{name:{singular:"Gallon per second",plural:"Gallons per second"},to_anchor:128},"gal/min":{name:{singular:"Gallon per minute",plural:"Gallons per minute"},to_anchor:32/15},"gal/h":{name:{singular:"Gallon per hour",plural:"Gallons per hour"},to_anchor:8/225},"ft3/s":{name:{singular:"Cubic foot per second",plural:"Cubic feet per second"},to_anchor:957.506},"ft3/min":{name:{singular:"Cubic foot per minute",plural:"Cubic feet per minute"},to_anchor:957.506/60},"ft3/h":{name:{singular:"Cubic foot per hour",plural:"Cubic feet per hour"},to_anchor:957.506/3600},"yd3/s":{name:{singular:"Cubic yard per second",plural:"Cubic yards per second"},to_anchor:25852.7},"yd3/min":{name:{singular:"Cubic yard per minute",plural:"Cubic yards per minute"},to_anchor:25852.7/60},"yd3/h":{name:{singular:"Cubic yard per hour",plural:"Cubic yards per hour"},to_anchor:25852.7/3600}},t.exports={metric:e,imperial:r,_anchors:{metric:{unit:"l/s",ratio:33.8140227},imperial:{unit:"fl-oz/s",ratio:1/33.8140227}}}},Ib8C:function(t,n,e){t.exports=function(){var t=t||function(t,n){var e=Object.create||function(){function t(){}return function(n){var e;return t.prototype=n,e=new t,t.prototype=null,e}}(),r={},i=r.lib={},o=i.Base={extend:function(t){var n=e(this);return t&&n.mixIn(t),n.hasOwnProperty("init")&&this.init!==n.init||(n.init=function(){n.$super.init.apply(this,arguments)}),n.init.prototype=n,n.$super=this,n},create:function(){var t=this.extend();return t.init.apply(t,arguments),t},init:function(){},mixIn:function(t){for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n]);t.hasOwnProperty("toString")&&(this.toString=t.toString)},clone:function(){return this.init.prototype.extend(this)}},a=i.WordArray=o.extend({init:function(t,n){t=this.words=t||[],this.sigBytes=void 0!=n?n:4*t.length},toString:function(t){return(t||u).stringify(this)},concat:function(t){var n=this.words,e=t.words,r=this.sigBytes,i=t.sigBytes;if(this.clamp(),r%4)for(var o=0;o>>2]>>>24-o%4*8&255;n[r+o>>>2]|=a<<24-(r+o)%4*8}else for(o=0;o>>2]=e[o>>>2];return this.sigBytes+=i,this},clamp:function(){var n=this.words,e=this.sigBytes;n[e>>>2]&=4294967295<<32-e%4*8,n.length=t.ceil(e/4)},clone:function(){var t=o.clone.call(this);return t.words=this.words.slice(0),t},random:function(n){for(var e,r=[],i=function(n){n=n;var e=987654321,r=4294967295;return function(){var i=((e=36969*(65535&e)+(e>>16)&r)<<16)+(n=18e3*(65535&n)+(n>>16)&r)&r;return i/=4294967296,(i+=.5)*(t.random()>.5?1:-1)}},o=0;o>>2]>>>24-i%4*8&255;r.push((o>>>4).toString(16)),r.push((15&o).toString(16))}return r.join("")},parse:function(t){for(var n=t.length,e=[],r=0;r>>3]|=parseInt(t.substr(r,2),16)<<24-r%8*4;return new a.init(e,n/2)}},l=s.Latin1={stringify:function(t){for(var n=t.words,e=t.sigBytes,r=[],i=0;i>>2]>>>24-i%4*8&255;r.push(String.fromCharCode(o))}return r.join("")},parse:function(t){for(var n=t.length,e=[],r=0;r>>2]|=(255&t.charCodeAt(r))<<24-r%4*8;return new a.init(e,n)}},c=s.Utf8={stringify:function(t){try{return decodeURIComponent(escape(l.stringify(t)))}catch(n){throw new Error("Malformed UTF-8 data")}},parse:function(t){return l.parse(unescape(encodeURIComponent(t)))}},h=i.BufferedBlockAlgorithm=o.extend({reset:function(){this._data=new a.init,this._nDataBytes=0},_append:function(t){"string"==typeof t&&(t=c.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(n){var e=this._data,r=e.words,i=e.sigBytes,o=this.blockSize,s=i/(4*o),u=(s=n?t.ceil(s):t.max((0|s)-this._minBufferSize,0))*o,l=t.min(4*u,i);if(u){for(var c=0;c0&&void 0!==arguments[0]?arguments[0]:100;r(this,t),this.size=e,this.length=0,this.buf=n.alloc(e)}return i(t,[{key:"prepend",value:function(t){var n=this.length++;n===this.size&&this.resize();var e=this.clone();this.buf[0]=t,e.copy(this.buf,1,0,n)}},{key:"append",value:function(t){var n=this.length++;n===this.size&&this.resize(),this.buf[n]=t}},{key:"clone",value:function(){return n.from(this.buf.slice(0,this.length))}},{key:"resize",value:function(){var t=this.length;this.size=2*this.size;var e=n.alloc(this.size);this.buf.copy(e,0,0,t),this.buf=e}},{key:"toString",value:function(){return this.buf.slice(0,this.length).toString()}},{key:"toJSON",value:function(){return this.toString()}},{key:"reset",value:function(){this.length=0}}]),t}();t.exports=o}).call(this,e("tjlA").Buffer)},"LV+z":function(t,n){var e;e={A:{name:{singular:"Ampere",plural:"Amperes"},to_anchor:1},mA:{name:{singular:"Milliampere",plural:"Milliamperes"},to_anchor:.001},kA:{name:{singular:"Kiloampere",plural:"Kiloamperes"},to_anchor:1e3}},t.exports={metric:e,_anchors:{metric:{unit:"A",ratio:1}}}},NTw3:function(t,n){var e;e={rad:{name:{singular:"radian",plural:"radians"},to_anchor:180/Math.PI},deg:{name:{singular:"degree",plural:"degrees"},to_anchor:1},grad:{name:{singular:"gradian",plural:"gradians"},to_anchor:.9},arcmin:{name:{singular:"arcminute",plural:"arcminutes"},to_anchor:1/60},arcsec:{name:{singular:"arcsecond",plural:"arcseconds"},to_anchor:1/3600}},t.exports={metric:e,_anchors:{metric:{unit:"deg",ratio:1}}}},NtxT:function(t,n,e){"use strict";var r=e("0T5i");n.a=function(t,n){if((e=t.length)>0){for(var e,i=0,o=t[n[0]],a=o.length;i=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}},n.a=function(t){return new r(t,.5)}},g3rt:function(t,n){var e,r;e={"min/km":{name:{singular:"Minute per kilometre",plural:"Minutes per kilometre"},to_anchor:.06},"s/m":{name:{singular:"Second per metre",plural:"Seconds per metre"},to_anchor:1}},r={"min/mi":{name:{singular:"Minute per mile",plural:"Minutes per mile"},to_anchor:.0113636},"s/ft":{name:{singular:"Second per foot",plural:"Seconds per foot"},to_anchor:1}},t.exports={metric:e,imperial:r,_anchors:{metric:{unit:"s/m",ratio:.3048},imperial:{unit:"s/ft",ratio:1/.3048}}}},gKgP:function(t,n){var e;e={ea:{name:{singular:"Each",plural:"Each"},to_anchor:1},dz:{name:{singular:"Dozen",plural:"Dozens"},to_anchor:12}},t.exports={metric:e,imperial:{},_anchors:{metric:{unit:"ea",ratio:1}}}},"iVi/":function(t,n,e){"use strict";n.parse=function(t,n){if("string"!==typeof t)throw new TypeError("argument str must be a string");for(var e={},i=n||{},a=t.split(o),u=i.decode||r,l=0;l>>7)^(m<<14|m>>>18)^m>>>3,d=l[p-2],_=(d<<15|d>>>17)^(d<<13|d>>>19)^d>>>10;l[p]=g+l[p-7]+_+l[p-16]}var v=r&i^r&o^i&o,y=(r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22),b=f+((s<<26|s>>>6)^(s<<21|s>>>11)^(s<<7|s>>>25))+(s&c^~s&h)+u[p]+l[p];f=h,h=c,c=s,s=a+b|0,a=o,o=i,i=r,r=b+(y+v)|0}e[0]=e[0]+r|0,e[1]=e[1]+i|0,e[2]=e[2]+o|0,e[3]=e[3]+a|0,e[4]=e[4]+s|0,e[5]=e[5]+c|0,e[6]=e[6]+h|0,e[7]=e[7]+f|0},_doFinalize:function(){var n=this._data,e=n.words,r=8*this._nDataBytes,i=8*n.sigBytes;return e[i>>>5]|=128<<24-i%32,e[14+(i+64>>>9<<4)]=t.floor(r/4294967296),e[15+(i+64>>>9<<4)]=r,n.sigBytes=4*e.length,this._process(),this._hash},clone:function(){var t=o.clone.call(this);return t._hash=this._hash.clone(),t}});n.SHA256=o._createHelper(c),n.HmacSHA256=o._createHmacHelper(c)}(Math),i.SHA256)}()},lT4e:function(t,n,e){"use strict";var r=e("MgzW"),i=e("t33a"),o=e("2NuI");t.exports=function(t,n,e){var a=[],s={mixins:"DEFINE_MANY",statics:"DEFINE_MANY",propTypes:"DEFINE_MANY",contextTypes:"DEFINE_MANY",childContextTypes:"DEFINE_MANY",getDefaultProps:"DEFINE_MANY_MERGED",getInitialState:"DEFINE_MANY_MERGED",getChildContext:"DEFINE_MANY_MERGED",render:"DEFINE_ONCE",componentWillMount:"DEFINE_MANY",componentDidMount:"DEFINE_MANY",componentWillReceiveProps:"DEFINE_MANY",shouldComponentUpdate:"DEFINE_ONCE",componentWillUpdate:"DEFINE_MANY",componentDidUpdate:"DEFINE_MANY",componentWillUnmount:"DEFINE_MANY",UNSAFE_componentWillMount:"DEFINE_MANY",UNSAFE_componentWillReceiveProps:"DEFINE_MANY",UNSAFE_componentWillUpdate:"DEFINE_MANY",updateComponent:"OVERRIDE_BASE"},u={getDerivedStateFromProps:"DEFINE_MANY_MERGED"},l={displayName:function(t,n){t.displayName=n},mixins:function(t,n){if(n)for(var e=0;e=0;--n)i[n]=(a[n]-i[n+1])/o[n];for(o[r-1]=(t[r]+i[r-1])/2,n=0;n=t.cutOffNumber&&i=0;)e[n]=n;return e}},rkAg:function(t,n,e){"use strict";var r=Math.sqrt(3);n.a={draw:function(t,n){var e=-Math.sqrt(n/(3*r));t.moveTo(0,2*e),t.lineTo(-r*e,-e),t.lineTo(r*e,-e),t.closePath()}}},t1N5:function(t,n,e){var r=e("T016"),i={};for(var o in r)r.hasOwnProperty(o)&&(i[r[o]]=o);var a=t.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var s in a)if(a.hasOwnProperty(s)){if(!("channels"in a[s]))throw new Error("missing channels property: "+s);if(!("labels"in a[s]))throw new Error("missing channel labels property: "+s);if(a[s].labels.length!==a[s].channels)throw new Error("channel and label counts mismatch: "+s);var u=a[s].channels,l=a[s].labels;delete a[s].channels,delete a[s].labels,Object.defineProperty(a[s],"channels",{value:u}),Object.defineProperty(a[s],"labels",{value:l})}a.rgb.hsl=function(t){var n,e,r=t[0]/255,i=t[1]/255,o=t[2]/255,a=Math.min(r,i,o),s=Math.max(r,i,o),u=s-a;return s===a?n=0:r===s?n=(i-o)/u:i===s?n=2+(o-r)/u:o===s&&(n=4+(r-i)/u),(n=Math.min(60*n,360))<0&&(n+=360),e=(a+s)/2,[n,100*(s===a?0:e<=.5?u/(s+a):u/(2-s-a)),100*e]},a.rgb.hsv=function(t){var n,e,r,i,o,a=t[0]/255,s=t[1]/255,u=t[2]/255,l=Math.max(a,s,u),c=l-Math.min(a,s,u),h=function(t){return(l-t)/6/c+.5};return 0===c?i=o=0:(o=c/l,n=h(a),e=h(s),r=h(u),a===l?i=r-e:s===l?i=1/3+n-r:u===l&&(i=2/3+e-n),i<0?i+=1:i>1&&(i-=1)),[360*i,100*o,100*l]},a.rgb.hwb=function(t){var n=t[0],e=t[1],r=t[2];return[a.rgb.hsl(t)[0],100*(1/255*Math.min(n,Math.min(e,r))),100*(r=1-1/255*Math.max(n,Math.max(e,r)))]},a.rgb.cmyk=function(t){var n,e=t[0]/255,r=t[1]/255,i=t[2]/255;return[100*((1-e-(n=Math.min(1-e,1-r,1-i)))/(1-n)||0),100*((1-r-n)/(1-n)||0),100*((1-i-n)/(1-n)||0),100*n]},a.rgb.keyword=function(t){var n=i[t];if(n)return n;var e,o,a,s=1/0;for(var u in r)if(r.hasOwnProperty(u)){var l=r[u],c=(o=t,a=l,Math.pow(o[0]-a[0],2)+Math.pow(o[1]-a[1],2)+Math.pow(o[2]-a[2],2));c.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.3576*(e=e>.04045?Math.pow((e+.055)/1.055,2.4):e/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*n+.7152*e+.0722*r),100*(.0193*n+.1192*e+.9505*r)]},a.rgb.lab=function(t){var n=a.rgb.xyz(t),e=n[0],r=n[1],i=n[2];return r/=100,i/=108.883,e=(e/=95.047)>.008856?Math.pow(e,1/3):7.787*e+16/116,[116*(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116)-16,500*(e-r),200*(r-(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116))]},a.hsl.rgb=function(t){var n,e,r,i,o,a=t[0]/360,s=t[1]/100,u=t[2]/100;if(0===s)return[o=255*u,o,o];n=2*u-(e=u<.5?u*(1+s):u+s-u*s),i=[0,0,0];for(var l=0;l<3;l++)(r=a+1/3*-(l-1))<0&&r++,r>1&&r--,o=6*r<1?n+6*(e-n)*r:2*r<1?e:3*r<2?n+(e-n)*(2/3-r)*6:n,i[l]=255*o;return i},a.hsl.hsv=function(t){var n=t[0],e=t[1]/100,r=t[2]/100,i=e,o=Math.max(r,.01);return e*=(r*=2)<=1?r:2-r,i*=o<=1?o:2-o,[n,100*(0===r?2*i/(o+i):2*e/(r+e)),100*((r+e)/2)]},a.hsv.rgb=function(t){var n=t[0]/60,e=t[1]/100,r=t[2]/100,i=Math.floor(n)%6,o=n-Math.floor(n),a=255*r*(1-e),s=255*r*(1-e*o),u=255*r*(1-e*(1-o));switch(r*=255,i){case 0:return[r,u,a];case 1:return[s,r,a];case 2:return[a,r,u];case 3:return[a,s,r];case 4:return[u,a,r];case 5:return[r,a,s]}},a.hsv.hsl=function(t){var n,e,r,i=t[0],o=t[1]/100,a=t[2]/100,s=Math.max(a,.01);return r=(2-o)*a,e=o*s,[i,100*(e=(e/=(n=(2-o)*s)<=1?n:2-n)||0),100*(r/=2)]},a.hwb.rgb=function(t){var n,e,r,i,o,a,s,u=t[0]/360,l=t[1]/100,c=t[2]/100,h=l+c;switch(h>1&&(l/=h,c/=h),r=6*u-(n=Math.floor(6*u)),0!==(1&n)&&(r=1-r),i=l+r*((e=1-c)-l),n){default:case 6:case 0:o=e,a=i,s=l;break;case 1:o=i,a=e,s=l;break;case 2:o=l,a=e,s=i;break;case 3:o=l,a=i,s=e;break;case 4:o=i,a=l,s=e;break;case 5:o=e,a=l,s=i}return[255*o,255*a,255*s]},a.cmyk.rgb=function(t){var n=t[0]/100,e=t[1]/100,r=t[2]/100,i=t[3]/100;return[255*(1-Math.min(1,n*(1-i)+i)),255*(1-Math.min(1,e*(1-i)+i)),255*(1-Math.min(1,r*(1-i)+i))]},a.xyz.rgb=function(t){var n,e,r,i=t[0]/100,o=t[1]/100,a=t[2]/100;return e=-.9689*i+1.8758*o+.0415*a,r=.0557*i+-.204*o+1.057*a,n=(n=3.2406*i+-1.5372*o+-.4986*a)>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,e=e>.0031308?1.055*Math.pow(e,1/2.4)-.055:12.92*e,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,[255*(n=Math.min(Math.max(0,n),1)),255*(e=Math.min(Math.max(0,e),1)),255*(r=Math.min(Math.max(0,r),1))]},a.xyz.lab=function(t){var n=t[0],e=t[1],r=t[2];return e/=100,r/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(e=e>.008856?Math.pow(e,1/3):7.787*e+16/116)-16,500*(n-e),200*(e-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]},a.lab.xyz=function(t){var n,e,r,i=t[0];n=t[1]/500+(e=(i+16)/116),r=e-t[2]/200;var o=Math.pow(e,3),a=Math.pow(n,3),s=Math.pow(r,3);return e=o>.008856?o:(e-16/116)/7.787,n=a>.008856?a:(n-16/116)/7.787,r=s>.008856?s:(r-16/116)/7.787,[n*=95.047,e*=100,r*=108.883]},a.lab.lch=function(t){var n,e=t[0],r=t[1],i=t[2];return(n=360*Math.atan2(i,r)/2/Math.PI)<0&&(n+=360),[e,Math.sqrt(r*r+i*i),n]},a.lch.lab=function(t){var n,e=t[0],r=t[1];return n=t[2]/360*2*Math.PI,[e,r*Math.cos(n),r*Math.sin(n)]},a.rgb.ansi16=function(t){var n=t[0],e=t[1],r=t[2],i=1 in arguments?arguments[1]:a.rgb.hsv(t)[2];if(0===(i=Math.round(i/50)))return 30;var o=30+(Math.round(r/255)<<2|Math.round(e/255)<<1|Math.round(n/255));return 2===i&&(o+=60),o},a.hsv.ansi16=function(t){return a.rgb.ansi16(a.hsv.rgb(t),t[2])},a.rgb.ansi256=function(t){var n=t[0],e=t[1],r=t[2];return n===e&&e===r?n<8?16:n>248?231:Math.round((n-8)/247*24)+232:16+36*Math.round(n/255*5)+6*Math.round(e/255*5)+Math.round(r/255*5)},a.ansi16.rgb=function(t){var n=t%10;if(0===n||7===n)return t>50&&(n+=3.5),[n=n/10.5*255,n,n];var e=.5*(1+~~(t>50));return[(1&n)*e*255,(n>>1&1)*e*255,(n>>2&1)*e*255]},a.ansi256.rgb=function(t){if(t>=232){var n=10*(t-232)+8;return[n,n,n]}var e;return t-=16,[Math.floor(t/36)/5*255,Math.floor((e=t%36)/6)/5*255,e%6/5*255]},a.rgb.hex=function(t){var n=(((255&Math.round(t[0]))<<16)+((255&Math.round(t[1]))<<8)+(255&Math.round(t[2]))).toString(16).toUpperCase();return"000000".substring(n.length)+n},a.hex.rgb=function(t){var n=t.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!n)return[0,0,0];var e=n[0];3===n[0].length&&(e=e.split("").map((function(t){return t+t})).join(""));var r=parseInt(e,16);return[r>>16&255,r>>8&255,255&r]},a.rgb.hcg=function(t){var n,e=t[0]/255,r=t[1]/255,i=t[2]/255,o=Math.max(Math.max(e,r),i),a=Math.min(Math.min(e,r),i),s=o-a;return n=s<=0?0:o===e?(r-i)/s%6:o===r?2+(i-e)/s:4+(e-r)/s+4,n/=6,[360*(n%=1),100*s,100*(s<1?a/(1-s):0)]},a.hsl.hcg=function(t){var n=t[1]/100,e=t[2]/100,r=1,i=0;return(r=e<.5?2*n*e:2*n*(1-e))<1&&(i=(e-.5*r)/(1-r)),[t[0],100*r,100*i]},a.hsv.hcg=function(t){var n=t[1]/100,e=t[2]/100,r=n*e,i=0;return r<1&&(i=(e-r)/(1-r)),[t[0],100*r,100*i]},a.hcg.rgb=function(t){var n=t[0]/360,e=t[1]/100,r=t[2]/100;if(0===e)return[255*r,255*r,255*r];var i,o=[0,0,0],a=n%1*6,s=a%1,u=1-s;switch(Math.floor(a)){case 0:o[0]=1,o[1]=s,o[2]=0;break;case 1:o[0]=u,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=s;break;case 3:o[0]=0,o[1]=u,o[2]=1;break;case 4:o[0]=s,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=u}return i=(1-e)*r,[255*(e*o[0]+i),255*(e*o[1]+i),255*(e*o[2]+i)]},a.hcg.hsv=function(t){var n=t[1]/100,e=n+t[2]/100*(1-n),r=0;return e>0&&(r=n/e),[t[0],100*r,100*e]},a.hcg.hsl=function(t){var n=t[1]/100,e=t[2]/100*(1-n)+.5*n,r=0;return e>0&&e<.5?r=n/(2*e):e>=.5&&e<1&&(r=n/(2*(1-e))),[t[0],100*r,100*e]},a.hcg.hwb=function(t){var n=t[1]/100,e=n+t[2]/100*(1-n);return[t[0],100*(e-n),100*(1-e)]},a.hwb.hcg=function(t){var n=t[1]/100,e=1-t[2]/100,r=e-n,i=0;return r<1&&(i=(e-r)/(1-r)),[t[0],100*r,100*i]},a.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]},a.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]},a.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]},a.gray.hsl=a.gray.hsv=function(t){return[0,0,t[0]]},a.gray.hwb=function(t){return[0,100,t[0]]},a.gray.cmyk=function(t){return[0,0,0,t[0]]},a.gray.lab=function(t){return[t[0],0,0]},a.gray.hex=function(t){var n=255&Math.round(t[0]/100*255),e=((n<<16)+(n<<8)+n).toString(16).toUpperCase();return"000000".substring(e.length)+e},a.rgb.gray=function(t){return[(t[0]+t[1]+t[2])/3/255*100]}},t3v8:function(t,n){var e;e={VAR:{name:{singular:"Volt-Ampere Reactive",plural:"Volt-Amperes Reactive"},to_anchor:1},mVAR:{name:{singular:"Millivolt-Ampere Reactive",plural:"Millivolt-Amperes Reactive"},to_anchor:.001},kVAR:{name:{singular:"Kilovolt-Ampere Reactive",plural:"Kilovolt-Amperes Reactive"},to_anchor:1e3},MVAR:{name:{singular:"Megavolt-Ampere Reactive",plural:"Megavolt-Amperes Reactive"},to_anchor:1e6},GVAR:{name:{singular:"Gigavolt-Ampere Reactive",plural:"Gigavolt-Amperes Reactive"},to_anchor:1e9}},t.exports={metric:e,_anchors:{metric:{unit:"VAR",ratio:1}}}},tV9T:function(t,n){var e;e={mHz:{name:{singular:"millihertz",plural:"millihertz"},to_anchor:.001},Hz:{name:{singular:"hertz",plural:"hertz"},to_anchor:1},kHz:{name:{singular:"kilohertz",plural:"kilohertz"},to_anchor:1e3},MHz:{name:{singular:"megahertz",plural:"megahertz"},to_anchor:1e6},GHz:{name:{singular:"gigahertz",plural:"gigahertz"},to_anchor:1e9},THz:{name:{singular:"terahertz",plural:"terahertz"},to_anchor:1e12},rpm:{name:{singular:"rotation per minute",plural:"rotations per minute"},to_anchor:1/60},"deg/s":{name:{singular:"degree per second",plural:"degrees per second"},to_anchor:1/360},"rad/s":{name:{singular:"radian per second",plural:"radians per second"},to_anchor:1/(2*Math.PI)}},t.exports={metric:e,_anchors:{frequency:{unit:"hz",ratio:1}}}},uxXc:function(t,n,e){var r=e("t1N5"),i=e("onlc"),o={};Object.keys(r).forEach((function(t){o[t]={},Object.defineProperty(o[t],"channels",{value:r[t].channels}),Object.defineProperty(o[t],"labels",{value:r[t].labels});var n=i(t);Object.keys(n).forEach((function(e){var r=n[e];o[t][e]=function(t){var n=function(n){if(void 0===n||null===n)return n;arguments.length>1&&(n=Array.prototype.slice.call(arguments));var e=t(n);if("object"===typeof e)for(var r=e.length,i=0;i1&&(n=Array.prototype.slice.call(arguments)),t(n))};return"conversion"in t&&(n.conversion=t.conversion),n}(r)}))})),t.exports=o},wIsI:function(t,n,e){"use strict";var r=Array.prototype.slice,i=e("2K37"),o=e("0T5i"),a=e("qqpY");function s(t,n){return t[n]}n.a=function(){var t=Object(i.a)([]),n=a.a,e=o.a,u=s;function l(r){var i,o,a=t.apply(this,arguments),s=r.length,l=a.length,c=new Array(l);for(i=0;in?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>>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>>1;t(n[o],e)>0?i=o:r=o+1}return r}}};var o=i(r),a=o.right,s=(o.left,a);var u=function(t){return null===t?NaN:+t},l=Array.prototype,c=(l.slice,l.map,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);++r0)return[t];if((r=n0)for(t=Math.ceil(t/a),n=Math.floor(n/a),o=new Array(i=Math.ceil(n-t+1));++s=0?(o>=h?10:o>=f?5:o>=p?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=h?10:o>=f?5:o>=p?2:1)}function d(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>=h?i*=10:o>=f?i*=5:o>=p&&(i*=2),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)}};function v(t,n){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(n).domain(t)}return this}function y(t,n){switch(arguments.length){case 0:break;case 1:this.interpolator(t);break;default:this.interpolator(n).domain(t)}return this}function b(){}function w(t,n){var e=new b;if(t instanceof b)t.each((function(t,n){e.set(n,t)}));else if(Array.isArray(t)){var r,i=-1,o=t.length;if(null==n)for(;++i>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):8===e?new nt(n>>24&255,n>>16&255,n>>8&255,(255&n)/255):4===e?new nt(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=z.exec(t))?new nt(n[1],n[2],n[3],1):(n=H.exec(t))?new nt(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=V.exec(t))?Z(n[1],n[2],n[3],n[4]):(n=B.exec(t))?Z(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=Y.exec(t))?ot(n[1],n[2]/100,n[3]/100,1):(n=K.exec(t))?ot(n[1],n[2]/100,n[3]/100,n[4]):G.hasOwnProperty(t)?$(G[t]):"transparent"===t?new nt(NaN,NaN,NaN,0):null}function $(t){return new nt(t>>16&255,t>>8&255,255&t,1)}function Z(t,n,e,r){return r<=0&&(t=n=e=NaN),new nt(t,n,e,r)}function X(t){return t instanceof F||(t=Q(t)),t?new nt((t=t.rgb()).r,t.g,t.b,t.opacity):new nt}function tt(t,n,e,r){return 1===arguments.length?X(t):new nt(t,n,e,null==r?1:r)}function nt(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function et(){return"#"+it(this.r)+it(this.g)+it(this.b)}function rt(){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 it(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function ot(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new st(t,n,e,r)}function at(t){if(t instanceof st)return new st(t.h,t.s,t.l,t.opacity);if(t instanceof F||(t=Q(t)),!t)return new st;if(t instanceof st)return t;var n=(t=t.rgb()).r/255,e=t.g/255,r=t.b/255,i=Math.min(n,e,r),o=Math.max(n,e,r),a=NaN,s=o-i,u=(o+i)/2;return s?(a=n===o?(e-r)/s+6*(e0&&u<1?0:a,new st(a,s,u,t.opacity)}function st(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function ut(t,n,e){return 255*(t<60?n+(e-n)*t/60:t<180?e:t<240?n+(e-n)*(240-t)/60:n)}function lt(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}P(F,Q,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:J,formatHex:J,formatHsl:function(){return at(this).formatHsl()},formatRgb:W,toString:W}),P(nt,tt,R(F,{brighter:function(t){return t=null==t?1/.7:Math.pow(1/.7,t),new nt(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new nt(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:et,formatHex:et,formatRgb:rt,toString:rt})),P(st,(function(t,n,e,r){return 1===arguments.length?at(t):new st(t,n,e,null==r?1:r)}),R(F,{brighter:function(t){return t=null==t?1/.7:Math.pow(1/.7,t),new st(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new st(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 nt(ut(t>=240?t-240:t+120,i,r),ut(t,i,r),ut(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+")")}}));var ct=function(t){return function(){return t}};function ht(t,n){return function(e){return t+e*n}}function ft(t){return 1===(t=+t)?pt: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):ct(isNaN(n)?e:n)}}function pt(t,n){var e=n-t;return e?ht(t,e):ct(isNaN(t)?n:t)}var mt=function t(n){var e=ft(n);function r(t,n){var r=e((t=tt(t)).r,(n=tt(n)).r),i=e(t.g,n.g),o=e(t.b,n.b),a=pt(t.opacity,n.opacity);return function(n){return t.r=r(n),t.g=i(n),t.b=o(n),t.opacity=a(n),t+""}}return r.gamma=t,r}(1);function gt(t){return function(n){var e,r,i=n.length,o=new Array(i),a=new Array(i),s=new Array(i);for(e=0;e=1?(e=1,n-1):Math.floor(e*n),i=t[r],o=t[r+1],a=r>0?t[r-1]:2*i-o,s=ro&&(i=n.slice(o,i),s[a]?s[a]+=i:s[++a]=i),(e=e[0])===(r=r[0])?s[a]?s[a]+=r:s[++a]=r:(s[++a]=null,u.push({i:a,x:bt(e,r)})),o=xt.lastIndex;return or&&(n=e,e=r,r=n),function(t){return Math.max(e,Math.min(r,t))}}function Dt(t,n,e){var r=t[0],i=t[1],o=n[0],a=n[1];return i2?It:Dt,i=o=null,h}function h(n){return isNaN(n=+n)?e:(i||(i=r(a.map(t),s,u)))(t(l(n)))}return h.invert=function(e){return l(n((o||(o=r(s,a.map(t),bt)))(e)))},h.domain=function(t){return arguments.length?(a=N.call(t,Nt),l===Ct||(l=Ot(a)),c()):a.slice()},h.range=function(t){return arguments.length?(s=S.call(t),c()):s.slice()},h.rangeRound=function(t){return s=S.call(t),u=Et,c()},h.clamp=function(t){return arguments.length?(l=t?Ot(a):Ct,h):l!==Ct},h.interpolate=function(t){return arguments.length?(u=t,c()):u},h.unknown=function(t){return arguments.length?(e=t,h):e},function(e,r){return t=e,n=r,c()}}function Ft(t,n){return Rt()(t,n)}var Lt=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function jt(t){if(!(n=Lt.exec(t)))throw new Error("invalid format: "+t);var n;return new Ut({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 Ut(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+""}jt.prototype=Ut.prototype,Ut.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var qt,zt,Ht,Vt,Bt=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)]},Yt=function(t){return(t=Bt(Math.abs(t)))?t[1]:NaN},Kt=function(t,n){var e=Bt(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")},Gt={"%":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 Kt(100*t,n)},r:Kt,s:function(t,n){var e=Bt(t,n);if(!e)return t+"";var r=e[0],i=e[1],o=i-(qt=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,a=r.length;return o===a?r:o>a?r+new Array(o-a+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+Bt(t,Math.max(0,n+o-1))[0]},X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}},Jt=function(t){return t},Wt=Array.prototype.map,Qt=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];zt=function(t){var n,e,r=void 0===t.grouping||void 0===t.thousands?Jt:(n=Wt.call(t.grouping,Number),e=t.thousands+"",function(t,r){for(var i=t.length,o=[],a=0,s=n[0],u=0;i>0&&s>0&&(u+s+1>r&&(s=Math.max(1,r-u)),o.push(t.substring(i-=s,i+s)),!((u+=s+1)>r));)s=n[a=(a+1)%n.length];return o.reverse().join(e)}),i=void 0===t.currency?"":t.currency[0]+"",o=void 0===t.currency?"":t.currency[1]+"",a=void 0===t.decimal?".":t.decimal+"",s=void 0===t.numerals?Jt:function(t){return function(n){return n.replace(/[0-9]/g,(function(n){return t[+n]}))}}(Wt.call(t.numerals,String)),u=void 0===t.percent?"%":t.percent+"",l=void 0===t.minus?"-":t.minus+"",c=void 0===t.nan?"NaN":t.nan+"";function h(t){var n=(t=jt(t)).fill,e=t.align,h=t.sign,f=t.symbol,p=t.zero,m=t.width,g=t.comma,d=t.precision,_=t.trim,v=t.type;"n"===v?(g=!0,v="g"):Gt[v]||(void 0===d&&(d=12),_=!0,v="g"),(p||"0"===n&&"="===e)&&(p=!0,n="0",e="=");var y="$"===f?i:"#"===f&&/[boxX]/.test(v)?"0"+v.toLowerCase():"",b="$"===f?o:/[%p]/.test(v)?u:"",w=Gt[v],M=/[defgprs%]/.test(v);function x(t){var i,o,u,f=y,x=b;if("c"===v)x=w(t)+x,t="";else{var T=(t=+t)<0;if(t=isNaN(t)?c:w(Math.abs(t),d),_&&(t=function(t){t:for(var n,e=t.length,r=1,i=-1;r0&&(i=0)}return i>0?t.slice(0,i)+t.slice(n+1):t}(t)),T&&0===+t&&(T=!1),f=(T?"("===h?h:l:"-"===h||"("===h?"":h)+f,x=("s"===v?Qt[8+qt/3]:"")+x+(T&&"("===h?")":""),M)for(i=-1,o=t.length;++i(u=t.charCodeAt(i))||u>57){x=(46===u?a+t.slice(i+1):t.slice(i))+x,t=t.slice(0,i);break}}g&&!p&&(t=r(t,1/0));var k=f.length+t.length+x.length,E=k>1)+f+t+x+E.slice(k);break;default:t=E+f+t+x}return s(t)}return d=void 0===d?6:/[gprs]/.test(v)?Math.max(1,Math.min(21,d)):Math.max(0,Math.min(20,d)),x.toString=function(){return t+""},x}return{format:h,formatPrefix:function(t,n){var e=h(((t=jt(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(Yt(n)/3))),i=Math.pow(10,-r),o=Qt[8+r/3];return function(t){return e(i*t)+o}}}}({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"}),Ht=zt.format,Vt=zt.formatPrefix;var $t=function(t,n,e,r){var i,o=d(t,n,e);switch((r=jt(null==r?",f":r)).type){case"s":var a=Math.max(Math.abs(t),Math.abs(n));return null!=r.precision||isNaN(i=function(t,n){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Yt(n)/3)))-Yt(Math.abs(t)))}(o,a))||(r.precision=i),Vt(r,a);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(i=function(t,n){return t=Math.abs(t),n=Math.abs(n)-t,Math.max(0,Yt(n)-Yt(t))+1}(o,Math.max(Math.abs(t),Math.abs(n))))||(r.precision=i-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(i=function(t){return Math.max(0,-Yt(Math.abs(t)))}(o))||(r.precision=i-2*("%"===r.type))}return Ht(r)};function Zt(t){var n=t.domain;return t.ticks=function(t){var e=n();return m(e[0],e[e.length-1],null==t?10:t)},t.tickFormat=function(t,e){var r=n();return $t(r[0],r[r.length-1],null==t?10:t,e)},t.nice=function(e){null==e&&(e=10);var r,i=n(),o=0,a=i.length-1,s=i[o],u=i[a];return u0?r=g(s=Math.floor(s/r)*r,u=Math.ceil(u/r)*r,e):r<0&&(r=g(s=Math.ceil(s*r)/r,u=Math.floor(u*r)/r,e)),r>0?(i[o]=Math.floor(s/r)*r,i[a]=Math.ceil(u/r)*r,n(i)):r<0&&(i[o]=Math.ceil(s*r)/r,i[a]=Math.floor(u*r)/r,n(i)),t},t}function Xt(){var t=Ft(Ct,Ct);return t.copy=function(){return Pt(t,Xt())},v.apply(t,arguments),Zt(t)}function tn(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=N.call(n,Nt),e):t.slice()},e.unknown=function(t){return arguments.length?(n=t,e):n},e.copy=function(){return tn(t).unknown(n)},t=arguments.length?N.call(t,Nt):[0,1],Zt(e)}var nn=function(t,n){var e,r=0,i=(t=t.slice()).length-1,o=t[r],a=t[i];return a0){for(;fu)break;d.push(h)}}else for(;f=1;--c)if(!((h=l*c)u)break;d.push(h)}}else d=m(f,p,Math.min(p-f,g)).map(e);return r?d.reverse():d},r.tickFormat=function(t,i){if(null==i&&(i=10===o?".0e":","),"function"!==typeof i&&(i=Ht(i)),t===1/0)return i;null==t&&(t=10);var a=Math.max(1,o*t/r.ticks().length);return function(t){var r=t/e(Math.round(n(t)));return r*o0?i[r-1]:n[0],r=r?[i[r-1],e]:[i[a-1],i[a]]},a.unknown=function(n){return arguments.length?(t=n,a):a},a.thresholds=function(){return i.slice()},a.copy=function(){return Mn().domain([n,e]).range(o).unknown(t)},v.apply(Zt(a),arguments)}function xn(){var t,n=[.5],e=[0,1],r=1;function i(i){return i<=i?e[s(n,i,0,r)]:t}return i.domain=function(t){return arguments.length?(n=S.call(t),r=Math.min(n.length,e.length-1),i):n.slice()},i.range=function(t){return arguments.length?(e=S.call(t),r=Math.min(n.length,e.length-1),i):e.slice()},i.invertExtent=function(t){var r=e.indexOf(t);return[n[r-1],n[r]]},i.unknown=function(n){return arguments.length?(t=n,i):t},i.copy=function(){return xn().domain(n).range(e).unknown(t)},v.apply(i,arguments)}var Tn=new Date,kn=new Date;function En(t,n,e,r){function i(n){return t(n=0===arguments.length?new Date:new Date(+n)),n}return i.floor=function(n){return t(n=new Date(+n)),n},i.ceil=function(e){return t(e=new Date(e-1)),n(e,1),t(e),e},i.round=function(t){var n=i(t),e=i.ceil(t);return t-n0))return s;do{s.push(a=new Date(+e)),n(e,o),t(e)}while(a=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&&(i.count=function(n,r){return Tn.setTime(+n),kn.setTime(+r),t(Tn),t(kn),Math.floor(e(Tn,kn))},i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?i.filter(r?function(n){return r(n)%t===0}:function(n){return i.count(0,n)%t===0}):i:null}),i}var Nn=En((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()}));Nn.every=function(t){return isFinite(t=Math.floor(t))&&t>0?En((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};var Sn=Nn,Cn=(Nn.range,En((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()}))),An=Cn;Cn.range;function On(t){return En((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-6e4*(n.getTimezoneOffset()-t.getTimezoneOffset()))/6048e5}))}var Dn=On(0),In=On(1),Pn=On(2),Rn=On(3),Fn=On(4),Ln=On(5),jn=On(6),Un=(Dn.range,In.range,Pn.range,Rn.range,Fn.range,Ln.range,jn.range,En((function(t){t.setHours(0,0,0,0)}),(function(t,n){t.setDate(t.getDate()+n)}),(function(t,n){return(n-t-6e4*(n.getTimezoneOffset()-t.getTimezoneOffset()))/864e5}),(function(t){return t.getDate()-1}))),qn=Un,zn=(Un.range,En((function(t){t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds()-6e4*t.getMinutes())}),(function(t,n){t.setTime(+t+36e5*n)}),(function(t,n){return(n-t)/36e5}),(function(t){return t.getHours()}))),Hn=zn,Vn=(zn.range,En((function(t){t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds())}),(function(t,n){t.setTime(+t+6e4*n)}),(function(t,n){return(n-t)/6e4}),(function(t){return t.getMinutes()}))),Bn=Vn,Yn=(Vn.range,En((function(t){t.setTime(t-t.getMilliseconds())}),(function(t,n){t.setTime(+t+1e3*n)}),(function(t,n){return(n-t)/1e3}),(function(t){return t.getUTCSeconds()}))),Kn=Yn,Gn=(Yn.range,En((function(){}),(function(t,n){t.setTime(+t+n)}),(function(t,n){return n-t})));Gn.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?En((function(n){n.setTime(Math.floor(n/t)*t)}),(function(n,e){n.setTime(+n+e*t)}),(function(n,e){return(e-n)/t})):Gn:null};var Jn=Gn;Gn.range;function Wn(t){return En((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)/6048e5}))}var Qn=Wn(0),$n=Wn(1),Zn=Wn(2),Xn=Wn(3),te=Wn(4),ne=Wn(5),ee=Wn(6),re=(Qn.range,$n.range,Zn.range,Xn.range,te.range,ne.range,ee.range,En((function(t){t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCDate(t.getUTCDate()+n)}),(function(t,n){return(n-t)/864e5}),(function(t){return t.getUTCDate()-1}))),ie=re,oe=(re.range,En((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()})));oe.every=function(t){return isFinite(t=Math.floor(t))&&t>0?En((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};var ae=oe;oe.range;function se(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 ue(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 le(t,n,e){return{y:t,m:n,d:e,H:0,M:0,S:0,L:0}}var ce,he,fe,pe={"-":"",_:" ",0:"0"},me=/^\s*\d+/,ge=/^%/,de=/[\\^$*+?|[\]().{}]/g;function _e(t,n,e){var r=t<0?"-":"",i=(r?-t:t)+"",o=i.length;return r+(o68?1900:2e3),e+r[0].length):-1}function Se(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 Ce(t,n,e){var r=me.exec(n.slice(e,e+1));return r?(t.q=3*r[0]-3,e+r[0].length):-1}function Ae(t,n,e){var r=me.exec(n.slice(e,e+2));return r?(t.m=r[0]-1,e+r[0].length):-1}function Oe(t,n,e){var r=me.exec(n.slice(e,e+2));return r?(t.d=+r[0],e+r[0].length):-1}function De(t,n,e){var r=me.exec(n.slice(e,e+3));return r?(t.m=0,t.d=+r[0],e+r[0].length):-1}function Ie(t,n,e){var r=me.exec(n.slice(e,e+2));return r?(t.H=+r[0],e+r[0].length):-1}function Pe(t,n,e){var r=me.exec(n.slice(e,e+2));return r?(t.M=+r[0],e+r[0].length):-1}function Re(t,n,e){var r=me.exec(n.slice(e,e+2));return r?(t.S=+r[0],e+r[0].length):-1}function Fe(t,n,e){var r=me.exec(n.slice(e,e+3));return r?(t.L=+r[0],e+r[0].length):-1}function Le(t,n,e){var r=me.exec(n.slice(e,e+6));return r?(t.L=Math.floor(r[0]/1e3),e+r[0].length):-1}function je(t,n,e){var r=ge.exec(n.slice(e,e+1));return r?e+r[0].length:-1}function Ue(t,n,e){var r=me.exec(n.slice(e));return r?(t.Q=+r[0],e+r[0].length):-1}function qe(t,n,e){var r=me.exec(n.slice(e));return r?(t.s=+r[0],e+r[0].length):-1}function ze(t,n){return _e(t.getDate(),n,2)}function He(t,n){return _e(t.getHours(),n,2)}function Ve(t,n){return _e(t.getHours()%12||12,n,2)}function Be(t,n){return _e(1+qn.count(Sn(t),t),n,3)}function Ye(t,n){return _e(t.getMilliseconds(),n,3)}function Ke(t,n){return Ye(t,n)+"000"}function Ge(t,n){return _e(t.getMonth()+1,n,2)}function Je(t,n){return _e(t.getMinutes(),n,2)}function We(t,n){return _e(t.getSeconds(),n,2)}function Qe(t){var n=t.getDay();return 0===n?7:n}function $e(t,n){return _e(Dn.count(Sn(t)-1,t),n,2)}function Ze(t,n){var e=t.getDay();return t=e>=4||0===e?Fn(t):Fn.ceil(t),_e(Fn.count(Sn(t),t)+(4===Sn(t).getDay()),n,2)}function Xe(t){return t.getDay()}function tr(t,n){return _e(In.count(Sn(t)-1,t),n,2)}function nr(t,n){return _e(t.getFullYear()%100,n,2)}function er(t,n){return _e(t.getFullYear()%1e4,n,4)}function rr(t){var n=t.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+_e(n/60|0,"0",2)+_e(n%60,"0",2)}function ir(t,n){return _e(t.getUTCDate(),n,2)}function or(t,n){return _e(t.getUTCHours(),n,2)}function ar(t,n){return _e(t.getUTCHours()%12||12,n,2)}function sr(t,n){return _e(1+ie.count(ae(t),t),n,3)}function ur(t,n){return _e(t.getUTCMilliseconds(),n,3)}function lr(t,n){return ur(t,n)+"000"}function cr(t,n){return _e(t.getUTCMonth()+1,n,2)}function hr(t,n){return _e(t.getUTCMinutes(),n,2)}function fr(t,n){return _e(t.getUTCSeconds(),n,2)}function pr(t){var n=t.getUTCDay();return 0===n?7:n}function mr(t,n){return _e(Qn.count(ae(t)-1,t),n,2)}function gr(t,n){var e=t.getUTCDay();return t=e>=4||0===e?te(t):te.ceil(t),_e(te.count(ae(t),t)+(4===ae(t).getUTCDay()),n,2)}function dr(t){return t.getUTCDay()}function _r(t,n){return _e($n.count(ae(t)-1,t),n,2)}function vr(t,n){return _e(t.getUTCFullYear()%100,n,2)}function yr(t,n){return _e(t.getUTCFullYear()%1e4,n,4)}function br(){return"+0000"}function wr(){return"%"}function Mr(t){return+t}function xr(t){return Math.floor(+t/1e3)}!function(t){ce=function(t){var n=t.dateTime,e=t.date,r=t.time,i=t.periods,o=t.days,a=t.shortDays,s=t.months,u=t.shortMonths,l=ye(i),c=be(i),h=ye(o),f=be(o),p=ye(a),m=be(a),g=ye(s),d=be(s),_=ye(u),v=be(u),y={a:function(t){return a[t.getDay()]},A:function(t){return o[t.getDay()]},b:function(t){return u[t.getMonth()]},B:function(t){return s[t.getMonth()]},c:null,d:ze,e:ze,f:Ke,H:He,I:Ve,j:Be,L:Ye,m:Ge,M:Je,p:function(t){return i[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:Mr,s:xr,S:We,u:Qe,U:$e,V:Ze,w:Xe,W:tr,x:null,X:null,y:nr,Y:er,Z:rr,"%":wr},b={a:function(t){return a[t.getUTCDay()]},A:function(t){return o[t.getUTCDay()]},b:function(t){return u[t.getUTCMonth()]},B:function(t){return s[t.getUTCMonth()]},c:null,d:ir,e:ir,f:lr,H:or,I:ar,j:sr,L:ur,m:cr,M:hr,p:function(t){return i[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:Mr,s:xr,S:fr,u:pr,U:mr,V:gr,w:dr,W:_r,x:null,X:null,y:vr,Y:yr,Z:br,"%":wr},w={a:function(t,n,e){var r=p.exec(n.slice(e));return r?(t.w=m[r[0].toLowerCase()],e+r[0].length):-1},A:function(t,n,e){var r=h.exec(n.slice(e));return r?(t.w=f[r[0].toLowerCase()],e+r[0].length):-1},b:function(t,n,e){var r=_.exec(n.slice(e));return r?(t.m=v[r[0].toLowerCase()],e+r[0].length):-1},B:function(t,n,e){var r=g.exec(n.slice(e));return r?(t.m=d[r[0].toLowerCase()],e+r[0].length):-1},c:function(t,e,r){return T(t,n,e,r)},d:Oe,e:Oe,f:Le,H:Ie,I:Ie,j:De,L:Fe,m:Ae,M:Pe,p:function(t,n,e){var r=l.exec(n.slice(e));return r?(t.p=c[r[0].toLowerCase()],e+r[0].length):-1},q:Ce,Q:Ue,s:qe,S:Re,u:Me,U:xe,V:Te,w:we,W:ke,x:function(t,n,r){return T(t,e,n,r)},X:function(t,n,e){return T(t,r,n,e)},y:Ne,Y:Ee,Z:Se,"%":je};function M(t,n){return function(e){var r,i,o,a=[],s=-1,u=0,l=t.length;for(e instanceof Date||(e=new Date(+e));++s53)return null;"w"in o||(o.w=1),"Z"in o?(i=(r=ue(le(o.y,0,1))).getUTCDay(),r=i>4||0===i?$n.ceil(r):$n(r),r=ie.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(i=(r=se(le(o.y,0,1))).getDay(),r=i>4||0===i?In.ceil(r):In(r),r=qn.offset(r,7*(o.V-1)),o.y=r.getFullYear(),o.m=r.getMonth(),o.d=r.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),i="Z"in o?ue(le(o.y,0,1)).getUTCDay():se(le(o.y,0,1)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(i+5)%7:o.w+7*o.U-(i+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,ue(o)):se(o)}}function T(t,n,e,r){for(var i,o,a=0,s=n.length,u=e.length;a=u)return-1;if(37===(i=n.charCodeAt(a++))){if(i=n.charAt(a++),!(o=w[i in pe?n.charAt(a++):i])||(r=o(t,e,r))<0)return-1}else if(i!=e.charCodeAt(r++))return-1}return r}return y.x=M(e,y),y.X=M(r,y),y.c=M(n,y),b.x=M(e,b),b.X=M(r,b),b.c=M(n,b),{format:function(t){var n=M(t+="",y);return n.toString=function(){return t},n},parse:function(t){var n=x(t+="",!1);return n.toString=function(){return t},n},utcFormat:function(t){var n=M(t+="",b);return n.toString=function(){return t},n},utcParse:function(t){var n=x(t+="",!0);return n.toString=function(){return t},n}}}(t),he=ce.format,ce.parse,fe=ce.utcFormat,ce.utcParse}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function Tr(t){return new Date(t)}function kr(t){return t instanceof Date?+t:+new Date(+t)}function Er(t,n,e,r,o,a,s,u,l){var c=Ft(Ct,Ct),h=c.invert,f=c.domain,p=l(".%L"),m=l(":%S"),g=l("%I:%M"),_=l("%I %p"),v=l("%a %d"),y=l("%b %d"),b=l("%B"),w=l("%Y"),M=[[s,1,1e3],[s,5,5e3],[s,15,15e3],[s,30,3e4],[a,1,6e4],[a,5,3e5],[a,15,9e5],[a,30,18e5],[o,1,36e5],[o,3,108e5],[o,6,216e5],[o,12,432e5],[r,1,864e5],[r,2,1728e5],[e,1,6048e5],[n,1,2592e6],[n,3,7776e6],[t,1,31536e6]];function x(i){return(s(i)