From d645279c3b37311748708d8d7a5da9007666cc25 Mon Sep 17 00:00:00 2001 From: Rahul Baruri Date: Wed, 27 Mar 2024 00:36:10 +0100 Subject: [PATCH] removed unnecessary logs --- public/js/main.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/public/js/main.js b/public/js/main.js index a44ccea..af2a139 100644 --- a/public/js/main.js +++ b/public/js/main.js @@ -1,12 +1,12 @@ !function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return t[r].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var n={};return e.m=t,e.c=n,e.p="/",e(0)}(function(t){for(var e in t)if(Object.prototype.hasOwnProperty.call(t,e))switch(typeof t[e]){case"function":break;case"object":t[e]=function(e){var n=e.slice(1),r=t[e[0]];return function(t,e,o){r.apply(this,[t,e,o].concat(n))}}(t[e]);break;default:t[e]=t[t[e]]}return t}([function(t,e,n){n(312),t.exports=n(125)},function(t,e,n){"use strict";function r(t,e,n,r,i,a,u,s){if(o(e),!t){var c;if(void 0===e)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,i,a,u,s],f=0;c=new Error(e.replace(/%s/g,function(){return l[f++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}}var o=function(t){};t.exports=r},function(t,e){"use strict";function n(t){for(var e=arguments.length-1,n="Minified React error #"+t+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+t,r=0;r=arguments.length)?c=r[s]:(c=arguments[a],a+=1),i[s]=c,null!=c&&c["@@functional/placeholder"]===!0||(u-=1),s+=1}return u<=0?o.apply(this,i):n(u,t(e,i,o))}},f=function(t,e){for(var n=0,r=e.length,o=[];n=0&&"[object Array]"===Object.prototype.toString.call(t)},y=Number.isInteger||function(t){return t<<0===t},m=function(t){return"[object Number]"===Object.prototype.toString.call(t)},b=function(t){return"[object String]"===Object.prototype.toString.call(t)},x=function(t){return"function"==typeof t["@@transducer/step"]},w=function(t,e){for(var n=0,r=e.length,o=Array(r);n=n.length||e<-n.length)return n;var r=e<0?n.length:0,o=r+e,a=i(n);return a[o]=t(n[o]),a}),H=u(function(t){return function(){return t}}),B=s(function(t,e){for(var n=0,r=e.length-(t-1),o=new Array(r>=0?r:0);n=0&&t(e[n]);)n-=1;return k(e,0,n+1)}),ct=s(function(t,e){return function(){return t.apply(this,arguments)||e.apply(this,arguments)}}),lt=u(function(t){if(null!=t&&"function"==typeof t.empty)return t.empty();if(null!=t&&null!=typeof t.constructor&&"function"==typeof t.constructor.empty)return t.constructor.empty();switch(Object.prototype.toString.call(t)){case"[object Array]":return[];case"[object Object]":return{};case"[object String]":return""}}),ft=s(function t(e,n){var r,o,i,a={};for(o in n)r=e[o],i=typeof r,a[o]="function"===i?r(n[o]):"object"===i?t(e[o],n[o]):n[o];return a}),pt=u(function(t){for(var e=0,n=t.length,r={};ee}),dt=s(function(t,e){return t>=e}),vt=s(d),gt=s(function(t,e){return t in e}),yt=s(function(t,e){return t===e?0!==t||1/t===1/e:t!==t&&e!==e}),mt=u(v),bt=c(function(t,e,n){return et(Math.max(t.length,e.length,n.length),function(){return t.apply(this,arguments)?e.apply(this,arguments):n.apply(this,arguments)})}),xt=F(1),wt=c(function(t,e,n){t=t=0?t:n.length;var r=k(n);return r.splice(t,0,e),r}),_t=c(function(t,e,n){return t=t=0?t:n.length,i(i(k(n,0,t),e),k(n,t))}),Ct=s(function(t,e){return null!=e&&e.constructor===t||e instanceof t}),Et=u(function(t){return!!g(t)||!!t&&("object"==typeof t&&(!(t instanceof String)&&(1===t.nodeType?!!t.length:0===t.length||t.length>0&&(t.hasOwnProperty(0)&&t.hasOwnProperty(t.length-1)))))}),Mt=u(function(t){return 0===Object(t).length}),kt=u(function(t){return null==t}),St=function(){var t=!{toString:null}.propertyIsEnumerable("toString"),e=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],n=function(t,e){for(var n=0;n=0;)o=e[i],d(o,r)&&!n(a,o)&&(a[a.length]=o),i-=1;return a})}(),Tt=u(function(t){var e,n=[];for(e in t)n[n.length]=e;return n}),Nt=u(function(t){return null!=t&&Ct(Number,t.length)?t.length:NaN}),Ot=s(function(t,e){return t=0;)i=t(i[0],n[r]),o[r]=i[1],r-=1;return[i[0],o]}),Dt=s(function(t,e){return e.match(t)||[]}),It=s(function(t,e){return y(t)?!y(e)||e<1?NaN:(t%e+e)%e:NaN}),Rt=s(function(t,e){return e>t?e:t}),Lt=c(function(t,e,n){return t(n)>t(e)?n:e}),Ut=s(function(t,e){for(var n={},r=St(t),o=0;o=0;)e=t(e,n[r]),r-=1;return e}),le=u(M),fe=c(function(t,e,n){return i(k(n,0,Math.min(t,n.length)),k(n,Math.min(n.length,t+e)))}),pe=c(function(t,e,n){return n.replace(t,e)}),he=u(function(t){return k(t).reverse()}),de=c(function(t,e,n){for(var r=0,o=n.length,i=[e];ro?1:0})}),me=s(function(t,e){return t-e}),be=s(function(t,e){for(var n=e.length-1;n>=0&&t(e[n]);)n-=1;return k(e,n+1,1/0)}),xe=s(function(t,e){return t(e),e}),we=s(function(t,e){return r(t).test(e)}),_e=s(function(t,e){for(var n=Number(e),r=new Array(n),o=0;o=0;){if(r[u]===e)return o[u]===n;u-=1}for(r[r.length]=e,o[o.length]=n,u=a.length-1;u>=0;){var s=a[u];if(!d(s,n)||!t(n[s],e[s],r,o))return!1;u-=1}return r.pop(),o.pop(),!0}return!1},Xe=function(t,e){return null!=e&&!g(e)&&"function"==typeof e[t]},Ge=function(t){return function e(n){for(var r,o,i,a=[],u=0,s=n.length;u0?(this.n-=1, t):this.xf["@@transducer/step"](t,e)},s(function(e,n){return new t(e,n)})}(),nn=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=N.init,t.prototype["@@transducer/result"]=N.result,t.prototype["@@transducer/step"]=function(t,e){if(this.f){if(this.f(e))return t;this.f=null}return this.xf["@@transducer/step"](t,e)},s(function(e,n){return new t(e,n)})}(),rn=function(){function t(t,e){this.xf=e,this.f=t,this.inputs={}}return t.prototype["@@transducer/init"]=N.init,t.prototype["@@transducer/result"]=function(t){var e;for(e in this.inputs)if(d(e,this.inputs)&&(t=this.xf["@@transducer/step"](t,this.inputs[e]),t["@@transducer/reduced"])){t=t["@@transducer/value"];break}return this.xf["@@transducer/result"](t)},t.prototype["@@transducer/step"]=function(t,e){var n=this.f(e);return this.inputs[n]=this.inputs[n]||[n,[]],this.inputs[n][1]=z(e,this.inputs[n][1]),t},s(function(e,n){return new t(e,n)})}(),on=u(function(t){return et(t.length,function(){var e=0,n=arguments[0],r=arguments[arguments.length-1],o=k(arguments);return o[0]=function(){var t=n.apply(this,i(arguments,[e,r]));return e+=1,t},t.apply(this,o)})}),an=s(Ye("all",Ze,function(t,e){for(var n=0;n=0;){if(t(e[n]))return e[n];n-=1}})),bn=s(Ye("findLastIndex",D,function(t,e){for(var n=e.length-1;n>=0;){if(t(e[n]))return n;n-=1}return-1})),xn=u(Ge(!0)),wn=u(function(t){return pn(function(e,n){var r=k(arguments);return r[0]=n,r[1]=e,t.apply(this,r)})}),_n=s(We("forEach",function(t,e){for(var n=e.length,r=0;r=0;){if(dn(e[n],t))return n;n-=1}return-1}),Dn=s(Ye("map",I,w)),In=s(function(t,e){return Je(function(n,r){return n[r]=t(e[r]),n},{},St(e))}),Rn=s(function(t,e){return Je(function(n,r){return n[r]=t(e[r],r,e),n},{},St(e))}),Ln=s(o(Ye("any",tn,sn))),Un=s(function(t,e){return Xe("or",t)?t.or(e):t||e}),Fn=pn($e(i)),qn=pn($e(wn(i))),Hn=s(function(t,e){return Je(function(e,n){var r=e[t(n)?0:1];return r[r.length]=n,e},[[],[]],e)}),Bn=c(function(t,e,n){return dn(Zt(t,n),e)}),zn=s(function(t,e){return Dn(oe(t),e)}),Wn=c(function(t,e,n){return ae(dn(e),t,n)}),Vn=c(function(t,e,n){return ae(Ct(t),e,n)}),$n=c(Je),Yn=s(function(t,e){return vn(o(t),e)}),Kn=s(function(t,e){return _e(H(t),e)}),Xn=c(We("slice",function(t,e,n){return Array.prototype.slice.call(n,t,e)})),Gn=s(function(t,e){if(t<=0)throw new Error("First argument to splitEvery must be a positive integer");for(var n=[],r=0;r1?r.apply(null,k(arguments,1)):n(Math.max.apply(Math,zn("length",e)),r)}},lr=s(function(t,e){return Dn(t,ur(e))}),fr=u(cr(an)),pr=u(cr(sn)),hr=s(function(t,e){return Xe("ap",t)?t.ap(e):Je(function(t,n){return i(t,Dn(n,e))},[],t)}),dr=pn(function(t){return t.apply(this,k(arguments,1))}),vr=s(Ye("chain",lr,function(t,e){return or(Dn(t,e))})),gr=c(function(t,e,n){function r(e,n){return hr(Dn(z,t(n)),e)}return Je(r,e([]),n)}),yr=s(function(t,e){if(t>10)throw new Error("Constructor with greater than ten arguments");return 0===t?function(){return new e}:pn(zt(t,function(t,n,r,o,i,a,u,s,c,l){switch(arguments.length){case 1:return new e(t);case 2:return new e(t,n);case 3:return new e(t,n,r);case 4:return new e(t,n,r,o);case 5:return new e(t,n,r,o,i);case 6:return new e(t,n,r,o,i,a);case 7:return new e(t,n,r,o,i,a,u);case 8:return new e(t,n,r,o,i,a,u,s);case 9:return new e(t,n,r,o,i,a,u,s,c);case 10:return new e(t,n,r,o,i,a,u,s,c,l)}}))}),mr=et(3,function(t){var e=k(arguments,1);return et(Math.max.apply(Math,zn("length",e)),function(){var n=arguments,r=this;return t.apply(r,w(function(t){return t.apply(r,n)},e))})}),br=s(Ye("drop",en,function(t,e){return Xn(Math.max(0,t),1/0,e)})),xr=s(function(t,e){return Zn(t=0)return!1;n+=1}return!0}),kr=s(function(t,e){return function(n){return function(r){return Dn(function(t){return e(t,r)},n(t(r)))}}}),Sr=u(function(t){return kr($t(t),Pe(t))}),Tr=u(function(t){return kr(oe(t),V(t))}),Nr=s(function(t,e){var n=et(t,e);return et(t,function(){return Je(hr,Dn(n,arguments[0]),k(arguments,1))})}),Or=u(function(t){return Jn(t)/t.length}),Ar=u(function(t){var e=t.length;if(0===e)return NaN;var n=2-e%2,r=(e-n)/2;return Or(k(t).sort(function(t,e){return te?1:0}).slice(r,r+n))}),Pr=u(function(t){return $n(Ut,{},t)}),jr=function(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return et(arguments[0].length,$n(_,arguments[0],Qn(arguments)))},Dr=function(){if(0===arguments.length)throw new Error("pipeP requires at least one argument");return et(arguments[0].length,$n(C,arguments[0],Qn(arguments)))},Ir=$n(Bt,1),Rr=ir(w,ee,mt),Lr=s(function(t,e){return br(t>=0?e.length-t:0,e)}),Ur=function(t,e){return sr(e,t,0)>=0},Fr=function t(e,n){var r=function(r){var o=n.concat([e]);return Ur(r,o)?"":t(r,o)},o=function(t,e){return w(function(e){return E(e)+": "+r(t[e])},e.slice().sort())};switch(Object.prototype.toString.call(e)){case"[object Arguments]":return"(function() { return arguments; }("+w(r,e).join(", ")+"))";case"[object Array]":return"["+w(r,e).concat(o(e,Yn(we(/^\d+$/),St(e)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof e?"new Boolean("+r(e.valueOf())+")":e.toString();case"[object Date]":return"new Date("+E(S(e))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof e?"new Number("+r(e.valueOf())+")":1/e===-(1/0)?"-0":e.toString(10);case"[object String]":return"object"==typeof e?"new String("+r(e.valueOf())+")":E(e);case"[object Undefined]":return"undefined";default:return"function"==typeof e.constructor&&"Object"!==e.constructor.name&&"function"==typeof e.toString&&"[object Object]"!==e.toString()?e.toString():"{"+o(e,St(e)).join(", ")+"}"}},qr=gr(mt),Hr=function(){if(0===arguments.length)throw new Error("compose requires at least one argument");return jr.apply(this,he(arguments))},Br=function(){return 0===arguments.length?mt:Hr.apply(this,Dn(vr,arguments))},zr=function(){if(0===arguments.length)throw new Error("composeP requires at least one argument");return Dr.apply(this,he(arguments))},Wr=u(function(t){return yr(t.length,t)}),Vr=s(Ur),$r=s(function(t,e){for(var n=[],r=0,o=t.length;r1){for(var g=Array(v),y=0;y1){for(var b=Array(m),x=0;x]/;t.exports=r},function(t,e,n){"use strict";var r,o=n(6),i=n(51),a=/^[ \r\n\t\f]/,u=/<(!--|link|noscript|meta|script|style)[ \r\n\t\f\/>]/,s=n(59),c=s(function(t,e){if(t.namespaceURI!==i.svg||"innerHTML"in t)t.innerHTML=e;else{r=r||document.createElement("div"),r.innerHTML=""+e+"";for(var n=r.firstChild;n.firstChild;)t.appendChild(n.firstChild)}});if(o.canUseDOM){var l=document.createElement("div");l.innerHTML=" ",""===l.innerHTML&&(c=function(t,e){if(t.parentNode&&t.parentNode.replaceChild(t,t),a.test(e)||"<"===e[0]&&u.test(e)){t.innerHTML=String.fromCharCode(65279)+e;var n=t.firstChild;1===n.data.length?t.removeChild(n):n.deleteData(0,1)}else t.innerHTML=e}),l=null}t.exports=c},function(t,e){"use strict";function n(t,e){return t===e?0!==t||0!==e||1/t===1/e:t!==t&&e!==e}function r(t,e){if(n(t,e))return!0;if("object"!=typeof t||null===t||"object"!=typeof e||null===e)return!1;var r=Object.keys(t),i=Object.keys(e);if(r.length!==i.length)return!1;for(var a=0;a-1&&t%1==0&&t<=r}var r=9007199254740991;t.exports=n},function(t,e){function n(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}t.exports=n},function(t,e,n){function r(t){return"symbol"==typeof t||i(t)&&o(t)==a}var o=n(16),i=n(17),a="[object Symbol]";t.exports=r},function(t,e,n){function r(t){return a(t)?o(t):i(t)}var o=n(163),i=n(178),a=n(235);t.exports=r},function(t,e,n){"use strict";function r(t,e){return Array.isArray(e)&&(e=e[1]),e?e.nextSibling:t.firstChild}function o(t,e,n){l.insertTreeBefore(t,e,n)}function i(t,e,n){Array.isArray(e)?u(t,e[0],e[1],n):v(t,e,n)}function a(t,e){if(Array.isArray(e)){var n=e[1];e=e[0],s(t,e,n),t.removeChild(n)}t.removeChild(e)}function u(t,e,n,r){for(var o=e;;){var i=o.nextSibling;if(v(t,o,r),o===n)break;o=i}}function s(t,e,n){for(;;){var r=e.nextSibling;if(r===n)break;t.removeChild(r)}}function c(t,e,n){var r=t.parentNode,o=t.nextSibling;o===e?n&&v(r,document.createTextNode(n),o):n?(d(o,n),s(r,o,e)):s(r,t,e)}var l=n(19),f=n(252),p=(n(5),n(7),n(59)),h=n(41),d=n(110),v=p(function(t,e,n){t.insertBefore(e,n)}),g=f.dangerouslyReplaceNodeWithMarkup,y={dangerouslyReplaceNodeWithMarkup:g,replaceDelimitedText:c,processUpdates:function(t,e){for(var n=0;n-1?void 0:a("96",t),!c.plugins[n]){e.extractEvents?void 0:a("97",t), c.plugins[n]=e;var r=e.eventTypes;for(var i in r)o(r[i],e,i)?void 0:a("98",i,t)}}}function o(t,e,n){c.eventNameDispatchConfigs.hasOwnProperty(n)?a("99",n):void 0,c.eventNameDispatchConfigs[n]=t;var r=t.phasedRegistrationNames;if(r){for(var o in r)if(r.hasOwnProperty(o)){var u=r[o];i(u,e,n)}return!0}return!!t.registrationName&&(i(t.registrationName,e,n),!0)}function i(t,e,n){c.registrationNameModules[t]?a("100",t):void 0,c.registrationNameModules[t]=e,c.registrationNameDependencies[t]=e.eventTypes[n].dependencies}var a=n(2),u=(n(1),null),s={},c={plugins:[],eventNameDispatchConfigs:{},registrationNameModules:{},registrationNameDependencies:{},possibleRegistrationNames:null,injectEventPluginOrder:function(t){u?a("101"):void 0,u=Array.prototype.slice.call(t),r()},injectEventPluginsByName:function(t){var e=!1;for(var n in t)if(t.hasOwnProperty(n)){var o=t[n];s.hasOwnProperty(n)&&s[n]===o||(s[n]?a("102",n):void 0,s[n]=o,e=!0)}e&&r()},getPluginModuleForEvent:function(t){var e=t.dispatchConfig;if(e.registrationName)return c.registrationNameModules[e.registrationName]||null;if(void 0!==e.phasedRegistrationNames){var n=e.phasedRegistrationNames;for(var r in n)if(n.hasOwnProperty(r)){var o=c.registrationNameModules[n[r]];if(o)return o}}return null},_resetEventPlugins:function(){u=null;for(var t in s)s.hasOwnProperty(t)&&delete s[t];c.plugins.length=0;var e=c.eventNameDispatchConfigs;for(var n in e)e.hasOwnProperty(n)&&delete e[n];var r=c.registrationNameModules;for(var o in r)r.hasOwnProperty(o)&&delete r[o]}};t.exports=c},function(t,e,n){"use strict";function r(t){return"topMouseUp"===t||"topTouchEnd"===t||"topTouchCancel"===t}function o(t){return"topMouseMove"===t||"topTouchMove"===t}function i(t){return"topMouseDown"===t||"topTouchStart"===t}function a(t,e,n,r){var o=t.type||"unknown-event";t.currentTarget=y.getNodeFromInstance(r),e?v.invokeGuardedCallbackWithCatch(o,n,t):v.invokeGuardedCallback(o,n,t),t.currentTarget=null}function u(t,e){var n=t._dispatchListeners,r=t._dispatchInstances;if(Array.isArray(n))for(var o=0;o0&&r.length<20?n+" (keys: "+r.join(", ")+")":n}function i(t,e){var n=u.get(t);if(!n){return null}return n}var a=n(2),u=(n(13),n(27)),s=(n(7),n(9)),c=(n(1),n(3),{isMounted:function(t){var e=u.get(t);return!!e&&!!e._renderedComponent},enqueueCallback:function(t,e,n){c.validateCallback(e,n);var o=i(t);return o?(o._pendingCallbacks?o._pendingCallbacks.push(e):o._pendingCallbacks=[e],void r(o)):null},enqueueCallbackInternal:function(t,e){t._pendingCallbacks?t._pendingCallbacks.push(e):t._pendingCallbacks=[e],r(t)},enqueueForceUpdate:function(t){var e=i(t,"forceUpdate");e&&(e._pendingForceUpdate=!0,r(e))},enqueueReplaceState:function(t,e,n){var o=i(t,"replaceState");o&&(o._pendingStateQueue=[e],o._pendingReplaceState=!0,void 0!==n&&null!==n&&(c.validateCallback(n,"replaceState"),o._pendingCallbacks?o._pendingCallbacks.push(n):o._pendingCallbacks=[n]),r(o))},enqueueSetState:function(t,e){var n=i(t,"setState");if(n){var o=n._pendingStateQueue||(n._pendingStateQueue=[]);o.push(e),r(n)}},enqueueElementInternal:function(t,e,n){t._pendingElement=e,t._context=n,r(t)},validateCallback:function(t,e){t&&"function"!=typeof t?a("122",e,o(t)):void 0}});t.exports=c},function(t,e){"use strict";var n=function(t){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,n,r,o){MSApp.execUnsafeLocalFunction(function(){return t(e,n,r,o)})}:t};t.exports=n},function(t,e){"use strict";function n(t){var e,n=t.keyCode;return"charCode"in t?(e=t.charCode,0===e&&13===n&&(e=13)):e=n,e>=32||13===e?e:0}t.exports=n},function(t,e){"use strict";function n(t){var e=this,n=e.nativeEvent;if(n.getModifierState)return n.getModifierState(t);var r=o[t];return!!r&&!!n[r]}function r(t){return n}var o={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};t.exports=r},function(t,e){"use strict";function n(t){var e=t.target||t.srcElement||window;return e.correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}t.exports=n},function(t,e,n){"use strict";function r(t,e){if(!i.canUseDOM||e&&!("addEventListener"in document))return!1;var n="on"+t,r=n in document;if(!r){var a=document.createElement("div");a.setAttribute(n,"return;"),r="function"==typeof a[n]}return!r&&o&&"wheel"===t&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r}var o,i=n(6);i.canUseDOM&&(o=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0),t.exports=r},function(t,e){"use strict";function n(t,e){var n=null===t||t===!1,r=null===e||e===!1;if(n||r)return n===r;var o=typeof t,i=typeof e;return"string"===o||"number"===o?"string"===i||"number"===i:"object"===i&&t.type===e.type&&t.key===e.key}t.exports=n},function(t,e,n){"use strict";var r=(n(4),n(8)),o=(n(3),r);t.exports=o},function(t,e){"use strict";function n(t){return t instanceof Object&&Object.keys(t).length>0}function r(t){var e=/^(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?/;return e.test(t)}function o(t,e){var a="";if("string"==typeof t)t=t.replace(/&/g,"&").replace(//g,">"),a+=r(t)?'"'+t+'"':'"'+t+'"';else if("number"==typeof t)a+=''+t+"";else if("boolean"==typeof t)a+=''+t+"";else if(null===t)a+='null';else if(t instanceof Array)if(t.length>0){a+='[
    ';for(var u=0;u",n(t[u])&&(a+=''),a+=o(t[u],e),u";a+="
]"}else a+="[]";else if("object"===("undefined"==typeof t?"undefined":i(t))){var s=Object.keys(t).length;if(s>0){a+='{
    ';for(var c in t)if(t.hasOwnProperty(c)){a+="
  • ";var l=e.withQuotes?'"'+c+'"':c;a+=n(t[c])?''+l+"":l,a+=": "+o(t[c],e),--s>0&&(a+=","),a+="
  • "}a+="
}"}else a+="{}"}return a}Object.defineProperty(e,"__esModule",{value:!0});var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};e.initPlugin=function(t,e,r,i){!function(t,e,r,i){return i=i||{collapsed:!1},t(e).each(function(){var e=o(r,i);n(r)&&(e=''+e),t(this).html(e),t(this).off("click"),t(this).on("click","span.property",function(e){t("li").removeClass("copyable"),t(this).parents("li").first().addClass("copyable")}),t(this).on("click","a.json-placeholder",function(){return t(this).siblings("a.json-toggle").click(),!1})})}(e,t,r,i)}},function(t,e,n){"use strict";function r(t){return(0,o.is)(Function,t)?t:function(){return t}}e.__esModule=!0,e.default=r;var o=n(18)},function(t,e){},function(t,e,n){"use strict";var r=n(8),o={listen:function(t,e,n){return t.addEventListener?(t.addEventListener(e,n,!1),{remove:function(){t.removeEventListener(e,n,!1)}}):t.attachEvent?(t.attachEvent("on"+e,n),{remove:function(){t.detachEvent("on"+e,n)}}):void 0},capture:function(t,e,n){return t.addEventListener?(t.addEventListener(e,n,!0),{remove:function(){t.removeEventListener(e,n,!0)}}):{remove:r}},registerDefault:function(){}};t.exports=o},function(t,e){"use strict";function n(t){try{t.focus()}catch(t){}}t.exports=n},function(t,e){"use strict";function n(t){if(t=t||("undefined"!=typeof document?document:void 0),"undefined"==typeof t)return null;try{return t.activeElement||t.body}catch(e){return t.body}}t.exports=n},function(t,e,n){function r(t){var e=this.__data__=new o(t);this.size=e.size}var o=n(31),i=n(226),a=n(227),u=n(228),s=n(229),c=n(230);r.prototype.clear=i,r.prototype.delete=a,r.prototype.get=u,r.prototype.has=s,r.prototype.set=c,t.exports=r},function(t,e,n){function r(t,e){e=o(e,t);for(var n=0,r=e.length;null!=t&&np))return!1;var d=l.get(t);if(d&&l.get(e))return d==e;var v=-1,g=!0,y=n&s?new o:void 0;for(l.set(t,e),l.set(e,t);++v-1&&t%1==0&&t1)for(var n=1;n.":"function"==typeof e?" Instead of passing a class like Foo, pass React.createElement(Foo) or .":null!=e&&void 0!==e.props?" This may be caused by unintentionally loading two independent copies of React.":"");var a,u=g.createElement(U,{child:e});if(t){var s=_.get(t);a=s._processChildContext(s._context)}else a=S;var l=p(n);if(l){var f=l._currentElement,d=f.props.child;if(O(d,e)){var v=l._renderedComponent.getPublicInstance(),y=r&&function(){r.call(v)};return F._updateRootComponent(l,u,a,n,y),v}F.unmountComponentAtNode(n)}var m=o(n),b=m&&!!i(m),x=c(n),w=b&&!l&&!x,C=F._renderNewRootComponent(u,n,w,a)._renderedComponent.getPublicInstance();return r&&r.call(C),C},render:function(t,e,n){return F._renderSubtreeIntoContainer(null,t,e,n)},unmountComponentAtNode:function(t){l(t)?void 0:h("40");var e=p(t);if(!e){c(t),1===t.nodeType&&t.hasAttribute(P);return!1}return delete R[e._instance.rootID],k.batchedUpdates(s,e,t,!1),!0},_mountImageIntoNode:function(t,e,n,i,a){if(l(e)?void 0:h("41"),i){var u=o(e);if(C.canReuseMarkup(t,u))return void m.precacheNode(n,u);var s=u.getAttribute(C.CHECKSUM_ATTR_NAME);u.removeAttribute(C.CHECKSUM_ATTR_NAME);var c=u.outerHTML;u.setAttribute(C.CHECKSUM_ATTR_NAME,s);var f=t,p=r(f,c),v=" (client) "+f.substring(p-20,p+20)+"\n (server) "+c.substring(p-20,p+20);e.nodeType===D?h("42",v):void 0}if(e.nodeType===D?h("43"):void 0,a.useCreateElement){for(;e.lastChild;)e.removeChild(e.lastChild);d.insertTreeBefore(e,t,null)}else N(e,t),m.precacheNode(n,e.firstChild)}};t.exports=F},function(t,e,n){"use strict";var r=n(2),o=n(22),i=(n(1),{HOST:0,COMPOSITE:1,EMPTY:2,getType:function(t){return null===t||t===!1?i.EMPTY:o.isValidElement(t)?"function"==typeof t.type?i.COMPOSITE:i.HOST:void r("26",t)}});t.exports=i},function(t,e){"use strict";var n={currentScrollLeft:0,currentScrollTop:0,refreshScrollValues:function(t){n.currentScrollLeft=t.x,n.currentScrollTop=t.y}};t.exports=n},function(t,e,n){"use strict";function r(t,e){return null==e?o("30"):void 0,null==t?e:Array.isArray(t)?Array.isArray(e)?(t.push.apply(t,e),t):(t.push(e),t):Array.isArray(e)?[t].concat(e):[t,e]}var o=n(2);n(1);t.exports=r},function(t,e){"use strict";function n(t,e,n){Array.isArray(t)?t.forEach(e,n):t&&e.call(n,t)}t.exports=n},function(t,e,n){"use strict";function r(t){for(var e;(e=t._renderedNodeType)===o.COMPOSITE;)t=t._renderedComponent;return e===o.HOST?t._renderedComponent:e===o.EMPTY?null:void 0}var o=n(101);t.exports=r},function(t,e,n){"use strict";function r(){return!i&&o.canUseDOM&&(i="textContent"in document.documentElement?"textContent":"innerText"),i}var o=n(6),i=null;t.exports=r},function(t,e,n){"use strict";function r(t){var e=t.type,n=t.nodeName;return n&&"input"===n.toLowerCase()&&("checkbox"===e||"radio"===e)}function o(t){return t._wrapperState.valueTracker}function i(t,e){t._wrapperState.valueTracker=e}function a(t){t._wrapperState.valueTracker=null}function u(t){var e;return t&&(e=r(t)?""+t.checked:t.value),e}var s=n(5),c={_getTrackerFromNode:function(t){return o(s.getInstanceFromNode(t))},track:function(t){if(!o(t)){var e=s.getNodeFromInstance(t),n=r(e)?"checked":"value",u=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),c=""+e[n];e.hasOwnProperty(n)||"function"!=typeof u.get||"function"!=typeof u.set||(Object.defineProperty(e,n,{enumerable:u.enumerable,configurable:!0,get:function(){return u.get.call(this)},set:function(t){c=""+t,u.set.call(this,t)}}),i(t,{getValue:function(){return c},setValue:function(t){c=""+t},stopTracking:function(){a(t),delete e[n]}}))}},updateValueIfChanged:function(t){if(!t)return!1;var e=o(t);if(!e)return c.track(t),!0;var n=e.getValue(),r=u(s.getNodeFromInstance(t));return r!==n&&(e.setValue(r),!0)},stopTracking:function(t){var e=o(t);e&&e.stopTracking()}};t.exports=c},function(t,e,n){"use strict";function r(t){if(t){var e=t.getName();if(e)return" Check the render method of `"+e+"`."}return""}function o(t){return"function"==typeof t&&"undefined"!=typeof t.prototype&&"function"==typeof t.prototype.mountComponent&&"function"==typeof t.prototype.receiveComponent}function i(t,e){var n;if(null===t||t===!1)n=c.create(i);else if("object"==typeof t){var u=t,s=u.type;if("function"!=typeof s&&"string"!=typeof s){var p="";p+=r(u._owner),a("130",null==s?s:typeof s,p)}"string"==typeof u.type?n=l.createInternalComponent(u):o(u.type)?(n=new u.type(u),n.getHostNode||(n.getHostNode=n.getNativeNode)):n=new f(u)}else"string"==typeof t||"number"==typeof t?n=l.createInstanceForText(t):a("131",typeof t);return n._mountIndex=0,n._mountImage=null,n}var a=n(2),u=n(4),s=n(259),c=n(96),l=n(98),f=(n(325),n(1),n(3),function(t){this.construct(t)});u(f.prototype,s,{_instantiateReactComponent:i}),t.exports=i},function(t,e){"use strict";function n(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return"input"===e?!!r[t.type]:"textarea"===e}var r={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};t.exports=n},function(t,e,n){"use strict";var r=n(6),o=n(40),i=n(41),a=function(t,e){if(e){var n=t.firstChild; -if(n&&n===t.lastChild&&3===n.nodeType)return void(n.nodeValue=e)}t.textContent=e};r.canUseDOM&&("textContent"in document.documentElement||(a=function(t,e){return 3===t.nodeType?void(t.nodeValue=e):void i(t,o(e))})),t.exports=a},function(t,e,n){"use strict";function r(t,e){return t&&"object"==typeof t&&null!=t.key?c.escape(t.key):e.toString(36)}function o(t,e,n,i){var p=typeof t;if("undefined"!==p&&"boolean"!==p||(t=null),null===t||"string"===p||"number"===p||"object"===p&&t.$$typeof===u)return n(i,t,""===e?l+r(t,0):e),1;var h,d,v=0,g=""===e?l:e+f;if(Array.isArray(t))for(var y=0;yl){for(var e=0,n=u.length-c;e-1){var r=t.substring(e+1,n);return r}return t}},{key:"createNewNodeValue",value:function(t){var e=this.props.data,n=[].concat(o(t));return 1==n.length?this.state.rootState:(n.reverse().splice(0,1),n.forEach(function(t,n){var r=t.lastIndexOf("["),o=t.lastIndexOf("]");if(r>-1){var i=t.substring(r+1,o);return e=e[i]}e=e[t]}),e)}},{key:"generateDataFromBreadcumb",value:function(t){var e=this.state.rootState;return t.forEach(function(t,n){e=e[t]}),e}},{key:"gotToChart",value:function(t){var e=this.state.breadcrumbs.slice(1,t+1),n=this.generateDataFromBreadcumb(e),r={};0===t?r=Object.assign({},n):r[e[e.length-1]]=n,this.setState({breadcrumbs:this.state.breadcrumbs.slice(0,t+1)}),this.props.changeTargetNodeOnChart(r)}},{key:"renderIngChart",value:function(){var t=this,e={state:this.props.data,rootKeyName:"response",onClickText:function(e){var n=e,r=void 0,o=!1,i=t.createValidPath(e.name);if(t.state.breadcrumbs[t.state.breadcrumbs.length-1]!==n.name&&1!==n.depth||t.state.breadcrumbs[t.state.breadcrumbs.length-1]!==n.name&&1==n.depth)for(o=!0,r=[e.name];e.hasOwnProperty("parent")&&e.parent.hasOwnProperty("name");)r.push(t.createValidPath(e.parent.name)),e=e.parent;else r=t.state.breadcrumbs;var a=r,u=t.createNewNodeValue(a),s={};if(0==n.depth?s=Object.assign({},u):s[i]=u,t.props.changeTargetNodeOnChart(s),o)if(0===n.depth)t.setState({breadcrumbs:["response"]});else{var c=t.state.breadcrumbs,l=[];a.forEach(function(e,n){if(c.indexOf(e)===-1){var r=t.createValidPath(e);l.push(r)}}),t.setState({breadcrumbs:t.state.breadcrumbs.concat(l.reverse())})}},id:"treeExample",size:window.innerWidth-100,aspectRatio:.8,isSorted:!1,margin:{top:50,left:100},widthBetweenNodesCoeff:1.5,heightBetweenNodesCoeff:2,style:{node:{colors:{collapsed:"red",parent:"#01ff70",default:"#1FB3D5"},stroke:"white"},text:{colors:{default:"#A15AEC",hover:"#3DAAE0"},"font-size":"12px"},link:{stroke:"#188E3F",fill:"none"}},tooltipOptions:{offset:{left:50,top:10},indentationSize:2,style:{background:"#222",padding:"8px",color:"#4FDEE5","border-radius":"2px","box-shadow":"0 7px 7px 0 #111","font-size":"13px","line-height":"1.3"}}};this.renderChart=(0,p.tree)((0,f.findDOMNode)(this),e),this.renderChart()}},{key:"componentWillMount",value:function(){this.prepareComponentState(this.props)}},{key:"componentWillReceiveProps",value:function(t){this.prepareComponentState(t),this.renderChart(t.data||t.state)}},{key:"prepareComponentState",value:function(t){this.setState({chartData:t.data})}},{key:"componentDidMount",value:function(){this.renderIngChart()}},{key:"render",value:function(){var t=this;return l.default.createElement("div",null,l.default.createElement("div",{className:"breadcumb"},l.default.createElement("ul",null,this.state.breadcrumbs.map(function(e,n){return l.default.createElement("li",{key:n},l.default.createElement("a",{href:"#",onClick:t.gotToChart.bind(t,n)}," ",e," "))}))),l.default.createElement("div",{className:"chart-holder"}))}}]),e}(c.Component);e.default=h},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var u=function(){function t(t,e){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:null;this.resetErrors();var e=t&&"string"==typeof t?t:this.refs.rawJSON.value.trim();if(!t&&!e)return void this.setState({errors:Object.assign({},this.state.errors,Object.assign({},this.state.errors,{rawJSON:Object.assign({},this.state.errors.rawJSON,{status:!0})}))});try{var n=JSON.parse(e);this.props.changeJSON(n)}catch(t){this.setState({errors:Object.assign({},this.state.errors,Object.assign({},this.state.errors,{jsonParseFailed:Object.assign({},this.state.errors.jsonParseFailed,{status:!0})}))})}}},{key:"showFileDialog",value:function(){var t=document.getElementById("fileInput");t&&t.click()}},{key:"handleFileInputChange",value:function(t){var e=this,n=t.target.files;if(n.length){var r=new FileReader;r.onload=function(t){e.parseJSON(t.target.result)},r.readAsText(n[0])}}},{key:"resetErrors",value:function(){this.setState({errors:Object.assign({},this.state.errors,Object.assign({},this.state.errors,{jsonParseFailed:Object.assign({},this.state.errors.jsonParseFailed,{status:!1}),rawJSON:Object.assign({},this.state.errors.rawJSON,{status:!1})}))})}},{key:"render",value:function(){return c.default.createElement("div",{className:"json-input-section"},c.default.createElement("div",{className:"json-logo"},c.default.createElement("span",null,"{..}")),c.default.createElement("h1",null,"JSON formatted text"),this.state.errors.jsonParseFailed.status&&c.default.createElement("div",{className:"json-input-error-msg"},this.state.errors.jsonParseFailed.message),this.state.errors.rawJSON.status&&c.default.createElement("div",{className:"json-input-error-msg"},this.state.errors.rawJSON.message),c.default.createElement("div",{className:"form-input"},c.default.createElement("textarea",{ref:"rawJSON",defaultValue:this.state.json,className:"json-input"})),c.default.createElement("input",{className:"d-none",onChange:this.handleFileInputChange.bind(this),accept:"application/json",type:"file",id:"fileInput"}),c.default.createElement("div",{className:"form-input save-btn-area"},c.default.createElement("button",{type:"button",className:"btn btn-big btn-white",onClick:this.parseJSON.bind(this)},"Parse JSON"),c.default.createElement("button",{type:"button",className:"btn btn-big btn-white",onClick:this.showFileDialog.bind(this)},"Load a file")))}}]),e}(s.Component));e.default=l},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var u=function(){function t(t,e){for(var n=0;n-1?t.substring(e+1,n):t}},{key:"createValidPath",value:function(t){var e="";return t.forEach(function(t,n){e=0===n?e.concat(t):t.indexOf("-")>-1?e+"['"+t+"']":isNaN(t)===!1?e+"["+t+"]":e.concat(".").concat(t)}),e}},{key:"findPath",value:function(t,e){var n=[],r=f(e.target).parents("li").first().text(),o=r.indexOf(":"),i=r.substring(o+1),a=f(e.target).parentsUntil("#json-rb");f(a).each(function(e,r){if("LI"==f(r).get(0).tagName&&"UL"==f(r).parent()[0].tagName){var o=f(r).find("span.property").eq(0).text();n.push(t.getArrayIndex(o.replace(/\"+/g,"")))}if("LI"==f(r).get(0).tagName&&"OL"==f(r).parent()[0].tagName){var i=f(r).parent("OL").parent("li").find("span.property").eq(0).text()+"["+f(r).index()+"]";n.push(t.getArrayIndex(i.replace(/\"+/g,"")))}}),","===i[i.length-1]&&(i=i.substring(0,i.length-1)),t.setState({actualPath:t.createValidPath(n.reverse()),value:i})}},{key:"toggleSection",value:function(t){t.preventDefault();var e=f(t.target).toggleClass("collapsed").siblings("ul.json-dict, ol.json-array");if(e.toggle(),e.is(":visible"))e.siblings(".json-placeholder").remove();else{var n=e.children("li").length,r=n+(n>1?" items":" item");e.after(''+r+"")}}},{key:"componentDidMount",value:function(){if(window.json=this.props.data,this.$node=f(this.refs.jsonRenderer),f){var t={collapsed:0,withQuotes:!0};(0,l.initPlugin)(this.$node,f,this.props.data,t),f(document).on("click","span.property",this.changeCopyIconLocation),f(document).on("click","a.json-toggle",this.toggleSection),setTimeout(function(){1==(window.extensionOptions||{}).collapsed&&f.each(f("a.json-toggle"),function(t,e){t>0&&f(e).trigger("click")})},1e3)}}},{key:"componentWillUnmount",value:function(){f(document).off("click","span.property",this.changeCopyIconLocation),f(document).off("click","a.json-toggle",this.toggleSection)}},{key:"render",value:function(){return window.json=this.props.data,c.default.createElement("div",null,c.default.createElement("a",{className:"copier",style:{top:this.state.top,display:this.state.showCopier?"block":"none"}},c.default.createElement("ul",{className:"copyMenu"},c.default.createElement("li",null,c.default.createElement("a",{onClick:this.copy.bind(this,event,"path")},"Copy path")),c.default.createElement("li",null,c.default.createElement("a",{onClick:this.copy.bind(this,event,"value")},"Copy Value")))),c.default.createElement("pre",{ref:"jsonRenderer",id:"json-rb"}))}}]),e}(s.Component);e.default=p},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t){return function(){var e=t.apply(this,arguments);return new Promise(function(t,n){function r(o,i){try{var a=e[o](i),u=a.value}catch(t){return void n(t)}return a.done?void t(u):Promise.resolve(u).then(function(t){r("next",t)},function(t){r("throw",t)})}return r("next")})}}var i=n(126),a=r(i),u=n(24),s=r(u),c=n(90),l=r(c),f=n(120),p=r(f);n(140);var h={theme:"default",collapsed:0,css:"/**Write your CSS style **/\n .property{\n /*color:#994c9e;*/\n }\n\n .json-literal-numeric{\n /*color:#F5B041;*/\n }\n\n .json-literal-url {\n /*color: #34a632;*/\n }\n\n .json-literal-string{\n /*color:#0642b0;*/\n }\n\n .json-literal{\n /*color:#b568de;*/\n }\n\n .json-literal-boolean{\n /*color: #f23ebb;*/\n }"},d=function(){var t=o(a.default.mark(function t(){var e,n,r;return a.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(t.prev=0,e=document.querySelector('meta[name="extension-options"]'),n=e&&e.getAttribute("content"),!n){t.next=5;break}return t.abrupt("return",JSON.parse(n));case 5:if(!window.location.href.includes("chrome-extension://")||!window.location.search.includes("options")){t.next=7;break}return t.abrupt("return",JSON.parse(decodeURIComponent(new URLSearchParams(window.location.search).get("options"))));case 7:if(r=window.chrome,!(r&&r.storage&&r.storage.local)){t.next=12;break}return t.next=11,r.storage.local.get(["rb-awesome-json-viewer-options"]);case 11:return t.abrupt("return",t.sent);case 12:t.next=17;break;case 14:t.prev=14,t.t0=t.catch(0),console.error("Error while fetching options",t.t0);case 17:return t.abrupt("return",h);case 18:case"end":return t.stop()}},t,void 0,[[0,14]])}));return function(){return t.apply(this,arguments)}}();o(a.default.mark(function t(){var e,n,r;return a.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,e=document.body.textContent,n=JSON.parse(e.trim()),window.json=n,t.next=6,d();case 6:window.extensionOptions=t.sent,r=document.createElement("div"),r.setAttribute("id","rbrahul-awesome-json"),document.body.innerHTML="",document.body.appendChild(r),l.default.render(s.default.createElement(p.default,{json:n}),document.getElementById("rbrahul-awesome-json")),t.next=17;break;case 14:t.prev=14,t.t0=t.catch(0),console.error("Something went wrong at Awesome JSON Viewer Pro",t.t0);case 17:case"end":return t.stop()}},t,void 0,[[0,14]])}))()},function(t,e,n){t.exports=n(127)},function(t,e,n){(function(e){var r="object"==typeof e?e:"object"==typeof window?window:"object"==typeof self?self:this,o=r.regeneratorRuntime&&Object.getOwnPropertyNames(r).indexOf("regeneratorRuntime")>=0,i=o&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,t.exports=n(128),o)r.regeneratorRuntime=i;else try{delete r.regeneratorRuntime}catch(t){r.regeneratorRuntime=void 0}}).call(e,function(){return this}())},function(t,e){(function(e){!function(e){"use strict";function n(t,e,n,r){var i=e&&e.prototype instanceof o?e:o,a=Object.create(i.prototype),u=new h(r||[]);return a._invoke=c(t,n,u),a}function r(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}function o(){}function i(){}function a(){}function u(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function s(t){function n(e,o,i,a){var u=r(t[e],t,o);if("throw"!==u.type){var s=u.arg,c=s.value;return c&&"object"==typeof c&&m.call(c,"__await")?Promise.resolve(c.__await).then(function(t){n("next",t,i,a)},function(t){n("throw",t,i,a)}):Promise.resolve(c).then(function(t){s.value=t,i(s)},a)}a(u.arg)}function o(t,e){function r(){return new Promise(function(r,o){n(t,e,r,o)})}return i=i?i.then(r,r):r()}"object"==typeof e.process&&e.process.domain&&(n=e.process.domain.bind(n));var i;this._invoke=o}function c(t,e,n){var o=M;return function(i,a){if(o===S)throw new Error("Generator is already running"); -if(o===T){if("throw"===i)throw a;return v()}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var s=l(u,n);if(s){if(s===N)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===M)throw o=T,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=S;var c=r(t,e,n);if("normal"===c.type){if(o=n.done?T:k,c.arg===N)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=T,n.method="throw",n.arg=c.arg)}}}function l(t,e){var n=t.iterator[e.method];if(n===g){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=g,l(t,e),"throw"===e.method))return N;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return N}var o=r(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,N;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=g),e.delegate=null,N):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,N)}function f(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function p(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function h(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(f,this),this.reset(!0)}function d(t){if(t){var e=t[x];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,r=function e(){for(;++n=0;--r){var o=this.tryEntries[r],i=o.completion;if("root"===o.tryLoc)return e("end");if(o.tryLoc<=this.prev){var a=m.call(o,"catchLoc"),u=m.call(o,"finallyLoc");if(a&&u){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&m.call(r,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),p(n),N}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;p(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:d(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=g),N}}}("object"==typeof e?e:"object"==typeof window?window:"object"==typeof self?self:this)}).call(e,function(){return this}())},function(t,e,n){"use strict";function r(t){return t}function o(t,e,n){function o(t,e){var n=m.hasOwnProperty(e)?m[e]:null;C.hasOwnProperty(e)&&s("OVERRIDE_BASE"===n,"ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",e),t&&s("DEFINE_MANY"===n||"DEFINE_MANY_MERGED"===n,"ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",e)}function i(t,n){if(n){s("function"!=typeof n,"ReactClass: You're attempting to use a component class or function as a mixin. Instead, just use a regular object."),s(!e(n),"ReactClass: You're attempting to use a component as a mixin. Instead, just use a regular object.");var r=t.prototype,i=r.__reactAutoBindPairs;n.hasOwnProperty(c)&&x.mixins(t,n.mixins);for(var a in n)if(n.hasOwnProperty(a)&&a!==c){var u=n[a],l=r.hasOwnProperty(a);if(o(l,a),x.hasOwnProperty(a))x[a](t,u);else{var f=m.hasOwnProperty(a),d="function"==typeof u,v=d&&!f&&!l&&n.autobind!==!1;if(v)i.push(a,u),r[a]=u;else if(l){var g=m[a];s(f&&("DEFINE_MANY_MERGED"===g||"DEFINE_MANY"===g),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",g,a),"DEFINE_MANY_MERGED"===g?r[a]=p(r[a],u):"DEFINE_MANY"===g&&(r[a]=h(r[a],u))}else r[a]=u}}}else;}function l(t,e){if(e)for(var n in e){var r=e[n];if(e.hasOwnProperty(n)){var o=n in x;s(!o,'ReactClass: You are attempting to define a reserved property, `%s`, that shouldn\'t be on the "statics" key. Define it as an instance property instead; it will still be accessible on the constructor.',n);var i=n in t;if(i){var a=b.hasOwnProperty(n)?b[n]:null;return s("DEFINE_MANY_MERGED"===a,"ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",n),void(t[n]=p(t[n],r))}t[n]=r}}}function f(t,e){s(t&&e&&"object"==typeof t&&"object"==typeof e,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects.");for(var n in e)e.hasOwnProperty(n)&&(s(void 0===t[n],"mergeIntoWithNoDuplicateKeys(): Tried to merge two objects with the same key: `%s`. This conflict may be due to a mixin; in particular, this may be caused by two getInitialState() or getDefaultProps() methods returning objects with clashing keys.",n),t[n]=e[n]);return t}function p(t,e){return function(){var n=t.apply(this,arguments),r=e.apply(this,arguments);if(null==n)return r;if(null==r)return n;var o={};return f(o,n),f(o,r),o}}function h(t,e){return function(){t.apply(this,arguments),e.apply(this,arguments)}}function d(t,e){var n=e.bind(t);return n}function v(t){for(var e=t.__reactAutoBindPairs,n=0;n1&&void 0!==arguments[1]?arguments[1]:{},r=(0,f.default)(v,n),i=r.id,s=r.style,l=r.size,h=r.aspectRatio,g=r.initialZoom,y=r.margin,m=r.isSorted,b=r.widthBetweenNodesCoeff,x=r.heightBetweenNodesCoeff,w=r.transitionDuration,_=r.blinkDuration,C=r.state,E=r.rootKeyName,M=r.pushMethod,k=r.tree,S=r.tooltipOptions,T=r.onClickText,N=l-y.left-y.right,O=l*h-y.top-y.bottom,A=l,P=l*h,j={id:i,preserveAspectRatio:"xMinYMin slice"};s.width||(j.width=A),s.width&&s.height||(j.viewBox="0 0 "+A+" "+P);var D=a.default.select(t),I=a.default.behavior.zoom().scaleExtent([.1,3]).scale(g),R=D.append("svg").attr(j).style(o({cursor:"-webkit-grab"},s)).call(I.on("zoom",function(){var t=a.default.event,e=t.translate,n=t.scale;R.attr("transform","translate("+e+")scale("+n+")")})).append("g").attr({transform:"translate("+(y.left+s.node.radius)+", "+y.top+") scale("+g+")"}),L=a.default.layout.tree().size([N,O]),U=void 0;m&&L.sort(function(t,e){return e.name.toLowerCase()0&&void 0!==arguments[0]?arguments[0]:k||C;U=k?n:(0,c.default)(n,{key:E,pushMethod:M}),!(0,u.isEmpty)(U)&&U.name||(U={name:"error",message:"Please provide a state map or a tree structure"});var r=0,i=0;(0,p.visit)(U,function(t){i=Math.max(t.name.length,i),t.id=t.id||"root"},function(t){return t.children&&t.children.length>0?t.children.map(function(e){return e.id=(t.id||"")+"|"+e.name,e}):null}),t()}};var i=n(135),a=r(i),u=n(18),s=n(243),c=r(s),l=n(139),f=r(l),p=n(133),h=n(136),d=r(h),v={state:void 0,rootKeyName:"state",pushMethod:"push",tree:void 0,id:"d3svg",style:{node:{colors:{default:"#ccc",collapsed:"lightsteelblue",parent:"white"},radius:7},text:{colors:{default:"black",hover:"skyblue"}},link:{stroke:"#000",fill:"none"}},size:500,aspectRatio:1,initialZoom:1,margin:{top:10,right:10,bottom:10,left:50},isSorted:!1,heightBetweenNodesCoeff:2,widthBetweenNodesCoeff:1,transitionDuration:750,blinkDuration:100,onClickText:function(){},tooltipOptions:{disabled:!1,left:void 0,right:void 0,offset:{left:0,top:0},style:void 0}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t){t.children&&(t._children=t.children,t._children.forEach(o),t.children=null)}function i(t){t._children&&(t.children=t._children,t.children.forEach(i),t._children=null)}function a(t){return t.children?(t._children=t.children,t.children=null):t._children&&(t.children=t._children,t._children=null),t}function u(t,e,n){if(t){e(t);var r=n(t);if(r)for(var o=r.length,i=0;i1&&void 0!==arguments[1]?arguments[1]:0;return n.children&&0!==n.children.length?(e.length<=r+1&&e.push(0),e[r+1]+=n.children.length,void n.children.forEach(function(e){t(e,r+1)})):0};return n(t),e}function c(t,e,n){var r=n.indentationSize,o=void 0===r?4:r;if(!(0,l.is)(Object,t))return"";var i=(0,l.join)("  "),a=(0,l.replace)(/\n/g,"
"),u=(0,l.replace)(/\s{2}/g,i(new Array(o))),s=(0,l.pipe)(p.default,a,u),c=t.children||t._children;return"undefined"!=typeof t.value?s(t.value):"undefined"!=typeof t.object?s(t.object):c&&c.length?"childrenCount: "+c.length:"empty"}e.__esModule=!0,e.collapseChildren=o,e.expandChildren=i,e.toggleChildren=a,e.visit=u,e.getNodeGroupByDepthCount=s,e.getTooltipString=c;var l=n(18),f=n(131),p=r(f)},function(t,e,n){"use strict";function r(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}e.__esModule=!0,e.tree=void 0;var o=n(130);Object.defineProperty(e,"tree",{enumerable:!0,get:function(){return o.tree}});var i=r(o);e.default=i},function(t,e,n){var r,o;!function(){function i(t){return t&&(t.ownerDocument||t.document||t).documentElement}function a(t){return t&&(t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView)}function u(t,e){return te?1:t>=e?0:NaN}function s(t){return null===t?NaN:+t}function c(t){return!isNaN(t)}function l(t){return{left:function(e,n,r,o){for(arguments.length<3&&(r=0),arguments.length<4&&(o=e.length);r>>1;t(e[i],n)<0?r=i+1:o=i}return r},right:function(e,n,r,o){for(arguments.length<3&&(r=0),arguments.length<4&&(o=e.length);r>>1;t(e[i],n)>0?o=i:r=i+1}return r}}}function f(t){return t.length}function p(t){for(var e=1;t*e%1;)e*=10;return e}function h(t,e){for(var n in e)Object.defineProperty(t.prototype,n,{value:e[n],enumerable:!1})}function d(){this._=Object.create(null)}function v(t){return(t+="")===Ea||t[0]===Ma?Ma+t:t}function g(t){return(t+="")[0]===Ma?t.slice(1):t}function y(t){return v(t)in this._}function m(t){return(t=v(t))in this._&&delete this._[t]}function b(){var t=[];for(var e in this._)t.push(g(e));return t}function x(){var t=0;for(var e in this._)++t;return t}function w(){for(var t in this._)return!1;return!0}function _(){this._=Object.create(null)}function C(t){return t}function E(t,e,n){return function(){var r=n.apply(e,arguments);return r===e?t:r}}function M(t,e){if(e in t)return e;e=e.charAt(0).toUpperCase()+e.slice(1);for(var n=0,r=ka.length;n=e&&(e=o+1);!(a=u[e])&&++e0&&(t=t.slice(0,u));var c=Ra.get(t);return c&&(t=c,s=Z),u?e?o:r:e?k:i}function Q(t,e){return function(n){var r=ha.event;ha.event=n,e[0]=this.__data__;try{t.apply(this,e)}finally{ha.event=r}}}function Z(t,e){var n=Q(t,e);return function(t){var e=this,r=t.relatedTarget;r&&(r===e||8&r.compareDocumentPosition(e))||n.call(e,t)}}function tt(t){var e=".dragsuppress-"+ ++Ua,n="click"+e,r=ha.select(a(t)).on("touchmove"+e,N).on("dragstart"+e,N).on("selectstart"+e,N);if(null==La&&(La=!("onselectstart"in t)&&M(t.style,"userSelect")),La){var o=i(t).style,u=o[La];o[La]="none"}return function(t){if(r.on(e,null),La&&(o[La]=u),t){var i=function(){r.on(n,null)};r.on(n,function(){N(),i()},!0),setTimeout(i,0)}}}function et(t,e){e.changedTouches&&(e=e.changedTouches[0]);var n=t.ownerSVGElement||t;if(n.createSVGPoint){var r=n.createSVGPoint();if(Fa<0){var o=a(t);if(o.scrollX||o.scrollY){n=ha.select("body").append("svg").style({position:"absolute",top:0,left:0,margin:0,padding:0,border:"none"},"important");var i=n[0][0].getScreenCTM();Fa=!(i.f||i.e),n.remove()}}return Fa?(r.x=e.pageX,r.y=e.pageY):(r.x=e.clientX,r.y=e.clientY),r=r.matrixTransform(t.getScreenCTM().inverse()),[r.x,r.y]}var u=t.getBoundingClientRect();return[e.clientX-u.left-t.clientLeft,e.clientY-u.top-t.clientTop]}function nt(){return ha.event.changedTouches[0].identifier}function rt(t){return t>0?1:t<0?-1:0}function ot(t,e,n){return(e[0]-t[0])*(n[1]-t[1])-(e[1]-t[1])*(n[0]-t[0])}function it(t){return t>1?0:t<-1?Ba:Math.acos(t)}function at(t){return t>1?Va:t<-1?-Va:Math.asin(t)}function ut(t){return((t=Math.exp(t))-1/t)/2}function st(t){return((t=Math.exp(t))+1/t)/2}function ct(t){return((t=Math.exp(2*t))-1)/(t+1)}function lt(t){return(t=Math.sin(t/2))*t}function ft(){}function pt(t,e,n){return this instanceof pt?(this.h=+t,this.s=+e,void(this.l=+n)):arguments.length<2?t instanceof pt?new pt(t.h,t.s,t.l):kt(""+t,St,pt):new pt(t,e,n)}function ht(t,e,n){function r(t){return t>360?t-=360:t<0&&(t+=360),t<60?i+(a-i)*t/60:t<180?a:t<240?i+(a-i)*(240-t)/60:i}function o(t){return Math.round(255*r(t))}var i,a;return t=isNaN(t)?0:(t%=360)<0?t+360:t,e=isNaN(e)?0:e<0?0:e>1?1:e,n=n<0?0:n>1?1:n,a=n<=.5?n*(1+e):n+e-n*e,i=2*n-a,new _t(o(t+120),o(t),o(t-120))}function dt(t,e,n){return this instanceof dt?(this.h=+t,this.c=+e,void(this.l=+n)):arguments.length<2?t instanceof dt?new dt(t.h,t.c,t.l):t instanceof gt?mt(t.l,t.a,t.b):mt((t=Tt((t=ha.rgb(t)).r,t.g,t.b)).l,t.a,t.b):new dt(t,e,n)}function vt(t,e,n){return isNaN(t)&&(t=0),isNaN(e)&&(e=0),new gt(n,Math.cos(t*=$a)*e,Math.sin(t)*e)}function gt(t,e,n){return this instanceof gt?(this.l=+t,this.a=+e,void(this.b=+n)):arguments.length<2?t instanceof gt?new gt(t.l,t.a,t.b):t instanceof dt?vt(t.h,t.c,t.l):Tt((t=_t(t)).r,t.g,t.b):new gt(t,e,n)}function yt(t,e,n){var r=(t+16)/116,o=r+e/500,i=r-n/200;return o=bt(o)*ru,r=bt(r)*ou,i=bt(i)*iu,new _t(wt(3.2404542*o-1.5371385*r-.4985314*i),wt(-.969266*o+1.8760108*r+.041556*i),wt(.0556434*o-.2040259*r+1.0572252*i))}function mt(t,e,n){return t>0?new dt(Math.atan2(n,e)*Ya,Math.sqrt(e*e+n*n),t):new dt(NaN,NaN,t)}function bt(t){return t>.206893034?t*t*t:(t-4/29)/7.787037}function xt(t){return t>.008856?Math.pow(t,1/3):7.787037*t+4/29}function wt(t){return Math.round(255*(t<=.00304?12.92*t:1.055*Math.pow(t,1/2.4)-.055))}function _t(t,e,n){return this instanceof _t?(this.r=~~t,this.g=~~e,void(this.b=~~n)):arguments.length<2?t instanceof _t?new _t(t.r,t.g,t.b):kt(""+t,_t,ht):new _t(t,e,n)}function Ct(t){return new _t(t>>16,t>>8&255,255&t)}function Et(t){return Ct(t)+""}function Mt(t){return t<16?"0"+Math.max(0,t).toString(16):Math.min(255,t).toString(16)}function kt(t,e,n){var r,o,i,a=0,u=0,s=0;if(r=/([a-z]+)\((.*)\)/.exec(t=t.toLowerCase()))switch(o=r[2].split(","),r[1]){case"hsl":return n(parseFloat(o[0]),parseFloat(o[1])/100,parseFloat(o[2])/100);case"rgb":return e(Ot(o[0]),Ot(o[1]),Ot(o[2]))}return(i=su.get(t))?e(i.r,i.g,i.b):(null==t||"#"!==t.charAt(0)||isNaN(i=parseInt(t.slice(1),16))||(4===t.length?(a=(3840&i)>>4,a|=a>>4,u=240&i,u|=u>>4,s=15&i,s|=s<<4):7===t.length&&(a=(16711680&i)>>16,u=(65280&i)>>8,s=255&i)),e(a,u,s))}function St(t,e,n){var r,o,i=Math.min(t/=255,e/=255,n/=255),a=Math.max(t,e,n),u=a-i,s=(a+i)/2;return u?(o=s<.5?u/(a+i):u/(2-a-i),r=t==a?(e-n)/u+(e0&&s<1?0:r),new pt(r,o,s)}function Tt(t,e,n){t=Nt(t),e=Nt(e),n=Nt(n);var r=xt((.4124564*t+.3575761*e+.1804375*n)/ru),o=xt((.2126729*t+.7151522*e+.072175*n)/ou),i=xt((.0193339*t+.119192*e+.9503041*n)/iu);return gt(116*o-16,500*(r-o),200*(o-i))}function Nt(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function Ot(t){var e=parseFloat(t);return"%"===t.charAt(t.length-1)?Math.round(2.55*e):e}function At(t){return"function"==typeof t?t:function(){return t}}function Pt(t){return function(e,n,r){return 2===arguments.length&&"function"==typeof n&&(r=n,n=null),jt(e,n,t,r)}}function jt(t,e,n,r){function o(){var t,e=s.status;if(!e&&It(s)||e>=200&&e<300||304===e){try{t=n.call(i,s)}catch(t){return void a.error.call(i,t)}a.load.call(i,t)}else a.error.call(i,s)}var i={},a=ha.dispatch("beforesend","progress","load","error"),u={},s=new XMLHttpRequest,c=null;return!this.XDomainRequest||"withCredentials"in s||!/^(http(s)?:)?\/\//.test(t)||(s=new XDomainRequest),"onload"in s?s.onload=s.onerror=o:s.onreadystatechange=function(){s.readyState>3&&o()},s.onprogress=function(t){var e=ha.event;ha.event=t;try{a.progress.call(i,s)}finally{ha.event=e}},i.header=function(t,e){return t=(t+"").toLowerCase(),arguments.length<2?u[t]:(null==e?delete u[t]:u[t]=e+"",i)},i.mimeType=function(t){return arguments.length?(e=null==t?null:t+"",i):e},i.responseType=function(t){return arguments.length?(c=t,i):c},i.response=function(t){return n=t,i},["get","post"].forEach(function(t){i[t]=function(){return i.send.apply(i,[t].concat(va(arguments)))}}),i.send=function(n,r,o){if(2===arguments.length&&"function"==typeof r&&(o=r,r=null),s.open(n,t,!0),null==e||"accept"in u||(u.accept=e+",*/*"),s.setRequestHeader)for(var l in u)s.setRequestHeader(l,u[l]);return null!=e&&s.overrideMimeType&&s.overrideMimeType(e),null!=c&&(s.responseType=c),null!=o&&i.on("error",o).on("load",function(t){o(null,t)}),a.beforesend.call(i,s),s.send(null==r?null:r),i},i.abort=function(){return s.abort(),i},ha.rebind(i,a,"on"),null==r?i:i.get(Dt(r))}function Dt(t){return 1===t.length?function(e,n){t(null==e?n:null)}:t}function It(t){var e=t.responseType;return e&&"text"!==e?t.response:t.responseText}function Rt(t,e,n){var r=arguments.length;r<2&&(e=0),r<3&&(n=Date.now());var o=n+e,i={c:t,t:o,n:null};return lu?lu.n=i:cu=i,lu=i,fu||(pu=clearTimeout(pu),fu=1,hu(Lt)),i}function Lt(){var t=Ut(),e=Ft()-t;e>24?(isFinite(e)&&(clearTimeout(pu),pu=setTimeout(Lt,e)),fu=0):(fu=1,hu(Lt))}function Ut(){for(var t=Date.now(),e=cu;e;)t>=e.t&&e.c(t-e.t)&&(e.c=null),e=e.n;return t}function Ft(){for(var t,e=cu,n=1/0;e;)e.c?(e.t8?function(t){return t/n}:function(t){return t*n},symbol:t}}function Bt(t){var e=t.decimal,n=t.thousands,r=t.grouping,o=t.currency,i=r&&n?function(t,e){for(var o=t.length,i=[],a=0,u=r[0],s=0;o>0&&u>0&&(s+u+1>e&&(u=Math.max(1,e-s)),i.push(t.substring(o-=u,o+u)),!((s+=u+1)>e));)u=r[a=(a+1)%r.length];return i.reverse().join(n)}:C;return function(t){var n=vu.exec(t),r=n[1]||" ",a=n[2]||">",u=n[3]||"-",s=n[4]||"",c=n[5],l=+n[6],f=n[7],p=n[8],h=n[9],d=1,v="",g="",y=!1,m=!0;switch(p&&(p=+p.substring(1)),(c||"0"===r&&"="===a)&&(c=r="0",a="="),h){case"n":f=!0,h="g";break;case"%":d=100,g="%",h="f";break;case"p":d=100,g="%",h="r";break;case"b":case"o":case"x":case"X":"#"===s&&(v="0"+h.toLowerCase());case"c":m=!1;case"d":y=!0,p=0;break;case"s":d=-1,h="r"}"$"===s&&(v=o[0],g=o[1]),"r"!=h||p||(h="g"),null!=p&&("g"==h?p=Math.max(1,Math.min(21,p)):"e"!=h&&"f"!=h||(p=Math.max(0,Math.min(20,p)))),h=gu.get(h)||zt;var b=c&&f;return function(t){var n=g;if(y&&t%1)return"";var o=t<0||0===t&&1/t<0?(t=-t,"-"):"-"===u?"":u;if(d<0){var s=ha.formatPrefix(t,p);t=s.scale(t),n=s.symbol+g}else t*=d;t=h(t,p);var x,w,_=t.lastIndexOf(".");if(_<0){var C=m?t.lastIndexOf("e"):-1;C<0?(x=t,w=""):(x=t.substring(0,C),w=t.substring(C))}else x=t.substring(0,_),w=e+t.substring(_+1);!c&&f&&(x=i(x,1/0));var E=v.length+x.length+w.length+(b?0:o.length),M=E"===a?M+o+t:"^"===a?M.substring(0,E>>=1)+o+t+M.substring(E):o+(b?t:M+t))+n}}}function zt(t){return t+""}function Wt(){this._=new Date(arguments.length>1?Date.UTC.apply(this,arguments):arguments[0])}function Vt(t,e,n){function r(e){var n=t(e),r=i(n,1);return e-n1)for(;a=c)return-1;if(o=e.charCodeAt(u++),37===o){if(a=e.charAt(u++),i=N[a in xu?e.charAt(u++):a],!i||(r=i(t,n,r))<0)return-1}else if(o!=n.charCodeAt(r++))return-1}return r}function r(t,e,n){_.lastIndex=0;var r=_.exec(e.slice(n));return r?(t.w=C.get(r[0].toLowerCase()),n+r[0].length):-1}function o(t,e,n){x.lastIndex=0;var r=x.exec(e.slice(n));return r?(t.w=w.get(r[0].toLowerCase()),n+r[0].length):-1}function i(t,e,n){k.lastIndex=0;var r=k.exec(e.slice(n));return r?(t.m=S.get(r[0].toLowerCase()),n+r[0].length):-1}function a(t,e,n){E.lastIndex=0;var r=E.exec(e.slice(n));return r?(t.m=M.get(r[0].toLowerCase()),n+r[0].length):-1}function u(t,e,r){return n(t,T.c.toString(),e,r)}function s(t,e,r){return n(t,T.x.toString(),e,r)}function c(t,e,r){return n(t,T.X.toString(),e,r)}function l(t,e,n){var r=b.get(e.slice(n,n+=2).toLowerCase());return null==r?-1:(t.p=r,n)}var f=t.dateTime,p=t.date,h=t.time,d=t.periods,v=t.days,g=t.shortDays,y=t.months,m=t.shortMonths;e.utc=function(t){function n(t){try{mu=Wt;var e=new mu;return e._=t,r(e)}finally{mu=Date}}var r=e(t);return n.parse=function(t){try{mu=Wt;var e=r.parse(t);return e&&e._}finally{mu=Date}},n.toString=r.toString,n},e.multi=e.utc.multi=he;var b=ha.map(),x=Xt(v),w=Gt(v),_=Xt(g),C=Gt(g),E=Xt(y),M=Gt(y),k=Xt(m),S=Gt(m);d.forEach(function(t,e){b.set(t.toLowerCase(),e)});var T={a:function(t){return g[t.getDay()]},A:function(t){return v[t.getDay()]},b:function(t){return m[t.getMonth()]},B:function(t){return y[t.getMonth()]},c:e(f),d:function(t,e){return Kt(t.getDate(),e,2)},e:function(t,e){return Kt(t.getDate(),e,2)},H:function(t,e){return Kt(t.getHours(),e,2)},I:function(t,e){return Kt(t.getHours()%12||12,e,2)},j:function(t,e){return Kt(1+yu.dayOfYear(t),e,3)},L:function(t,e){return Kt(t.getMilliseconds(),e,3)},m:function(t,e){return Kt(t.getMonth()+1,e,2)},M:function(t,e){return Kt(t.getMinutes(),e,2)},p:function(t){return d[+(t.getHours()>=12)]},S:function(t,e){return Kt(t.getSeconds(),e,2)},U:function(t,e){return Kt(yu.sundayOfYear(t),e,2)},w:function(t){return t.getDay()},W:function(t,e){return Kt(yu.mondayOfYear(t),e,2)},x:e(p),X:e(h),y:function(t,e){return Kt(t.getFullYear()%100,e,2)},Y:function(t,e){return Kt(t.getFullYear()%1e4,e,4)},Z:fe,"%":function(){return"%"}},N={a:r,A:o,b:i,B:a,c:u,d:ie,e:ie,H:ue,I:ue,j:ae,L:le,m:oe,M:se,p:l,S:ce,U:Qt,w:Jt,W:Zt,x:s,X:c,y:ee,Y:te,Z:ne,"%":pe};return e}function Kt(t,e,n){var r=t<0?"-":"",o=(r?-t:t)+"",i=o.length;return r+(i68?1900:2e3)}function oe(t,e,n){wu.lastIndex=0;var r=wu.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function ie(t,e,n){wu.lastIndex=0;var r=wu.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function ae(t,e,n){wu.lastIndex=0;var r=wu.exec(e.slice(n,n+3));return r?(t.j=+r[0],n+r[0].length):-1}function ue(t,e,n){wu.lastIndex=0;var r=wu.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function se(t,e,n){wu.lastIndex=0;var r=wu.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function ce(t,e,n){wu.lastIndex=0;var r=wu.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function le(t,e,n){wu.lastIndex=0;var r=wu.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function fe(t){var e=t.getTimezoneOffset(),n=e>0?"-":"+",r=Ca(e)/60|0,o=Ca(e)%60;return n+Kt(r,"0",2)+Kt(o,"0",2)}function pe(t,e,n){_u.lastIndex=0;var r=_u.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function he(t){for(var e=t.length,n=-1;++n=0?1:-1,u=a*n,s=Math.cos(e),c=Math.sin(e),l=i*c,f=o*s+l*Math.cos(u),p=l*a*Math.sin(u);Tu.add(Math.atan2(p,f)),r=t,o=s,i=c}var e,n,r,o,i;Nu.point=function(a,u){Nu.point=t,r=(e=a)*$a,o=Math.cos(u=(n=u)*$a/2+Ba/4),i=Math.sin(u)},Nu.lineEnd=function(){t(e,n)}}function xe(t){var e=t[0],n=t[1],r=Math.cos(n);return[r*Math.cos(e),r*Math.sin(e),Math.sin(n)]}function we(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function _e(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]}function Ce(t,e){t[0]+=e[0],t[1]+=e[1],t[2]+=e[2]}function Ee(t,e){return[t[0]*e,t[1]*e,t[2]*e]}function Me(t){var e=Math.sqrt(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=e,t[1]/=e,t[2]/=e}function ke(t){return[Math.atan2(t[1],t[0]),at(t[2])]}function Se(t,e){return Ca(t[0]-e[0])=0;--u)o.point((f=l[u])[0],f[1])}else r(h.x,h.p.x,-1,o);h=h.p}h=h.o,l=h.z,d=!d}while(!h.v);o.lineEnd()}}}function Re(t){if(e=t.length){for(var e,n,r=0,o=t[0];++r0){for(w||(i.polygonStart(),w=!0),i.lineStart();++a1&&2&e&&n.push(n.pop().concat(n.shift())),h.push(n.filter(Fe))}var h,d,v,g=e(i),y=o.invert(r[0],r[1]),m={point:a,lineStart:s,lineEnd:c,polygonStart:function(){m.point=l,m.lineStart=f,m.lineEnd=p,h=[],d=[]},polygonEnd:function(){m.point=a,m.lineStart=s,m.lineEnd=c,h=ha.merge(h);var t=Ve(y,d);h.length?(w||(i.polygonStart(),w=!0),Ie(h,He,t,n,i)):t&&(w||(i.polygonStart(),w=!0),i.lineStart(),n(null,null,1,i),i.lineEnd()),w&&(i.polygonEnd(),w=!1),h=d=null},sphere:function(){i.polygonStart(),i.lineStart(),n(null,null,1,i),i.lineEnd(),i.polygonEnd()}},b=qe(),x=e(b),w=!1;return m}}function Fe(t){return t.length>1}function qe(){var t,e=[];return{lineStart:function(){e.push(t=[])},point:function(e,n){t.push([e,n])},lineEnd:k,buffer:function(){var n=e;return e=[],t=null,n},rejoin:function(){e.length>1&&e.push(e.pop().concat(e.shift()))}}}function He(t,e){return((t=t.x)[0]<0?t[1]-Va-qa:Va-t[1])-((e=e.x)[0]<0?e[1]-Va-qa:Va-e[1])}function Be(t){var e,n=NaN,r=NaN,o=NaN;return{lineStart:function(){t.lineStart(),e=1},point:function(i,a){var u=i>0?Ba:-Ba,s=Ca(i-n);Ca(s-Ba)0?Va:-Va),t.point(o,r),t.lineEnd(),t.lineStart(),t.point(u,r),t.point(i,r),e=0):o!==u&&s>=Ba&&(Ca(n-o)qa?Math.atan((Math.sin(e)*(i=Math.cos(r))*Math.sin(n)-Math.sin(r)*(o=Math.cos(e))*Math.sin(t))/(o*i*a)):(e+r)/2}function We(t,e,n,r){var o;if(null==t)o=n*Va,r.point(-Ba,o),r.point(0,o),r.point(Ba,o),r.point(Ba,0),r.point(Ba,-o),r.point(0,-o),r.point(-Ba,-o),r.point(-Ba,0),r.point(-Ba,o);else if(Ca(t[0]-e[0])>qa){var i=t[0]=0?1:-1,C=_*w,E=C>Ba,M=d*b;if(Tu.add(Math.atan2(M*_*Math.sin(C),v*x+M*Math.cos(C))),i+=E?w+_*za:w,E^p>=n^y>=n){var k=_e(xe(f),xe(t));Me(k);var S=_e(o,k);Me(S);var T=(E^w>=0?-1:1)*at(S[2]);(r>T||r===T&&(k[0]||k[1]))&&(a+=E^w>=0?1:-1)}if(!g++)break;p=y,d=b,v=x,f=t}}return(i<-qa||ii}function n(t){var n,i,s,c,l;return{lineStart:function(){c=s=!1,l=1},point:function(f,p){var h,d=[f,p],v=e(f,p),g=a?v?0:o(f,p):v?o(f+(f<0?Ba:-Ba),p):0;if(!n&&(c=s=v)&&t.lineStart(),v!==s&&(h=r(n,d),(Se(n,h)||Se(d,h))&&(d[0]+=qa,d[1]+=qa,v=e(d[0],d[1]))),v!==s)l=0,v?(t.lineStart(),h=r(d,n),t.point(h[0],h[1])):(h=r(n,d),t.point(h[0],h[1]),t.lineEnd()),n=h;else if(u&&n&&a^v){var y;g&i||!(y=r(d,n,!0))||(l=0,a?(t.lineStart(),t.point(y[0][0],y[0][1]),t.point(y[1][0],y[1][1]),t.lineEnd()):(t.point(y[1][0],y[1][1]),t.lineEnd(),t.lineStart(),t.point(y[0][0],y[0][1])))}!v||n&&Se(n,d)||t.point(d[0],d[1]),n=d,s=v,i=g},lineEnd:function(){s&&t.lineEnd(),n=null},clean:function(){return l|(c&&s)<<1}}}function r(t,e,n){var r=xe(t),o=xe(e),a=[1,0,0],u=_e(r,o),s=we(u,u),c=u[0],l=s-c*c;if(!l)return!n&&t;var f=i*s/l,p=-i*c/l,h=_e(a,u),d=Ee(a,f),v=Ee(u,p);Ce(d,v);var g=h,y=we(d,g),m=we(g,g),b=y*y-m*(we(d,d)-1);if(!(b<0)){var x=Math.sqrt(b),w=Ee(g,(-y-x)/m);if(Ce(w,d),w=ke(w),!n)return w;var _,C=t[0],E=e[0],M=t[1],k=e[1];E0^w[1]<(Ca(w[0]-C)Ba^(C<=w[0]&&w[0]<=E)){var O=Ee(g,(-y+x)/m);return Ce(O,d),[w,ke(O)]}}}function o(e,n){var r=a?t:Ba-t,o=0;return e<-r?o|=1:e>r&&(o|=2),n<-r?o|=4:n>r&&(o|=8),o}var i=Math.cos(t),a=i>0,u=Ca(i)>qa,s=xn(t,6*$a);return Ue(e,n,s,a?[0,-t]:[-Ba,t-Ba])}function Ye(t,e,n,r){return function(o){var i,a=o.a,u=o.b,s=a.x,c=a.y,l=u.x,f=u.y,p=0,h=1,d=l-s,v=f-c;if(i=t-s,d||!(i>0)){if(i/=d,d<0){if(i0){if(i>h)return;i>p&&(p=i)}if(i=n-s,d||!(i<0)){if(i/=d,d<0){if(i>h)return;i>p&&(p=i)}else if(d>0){if(i0)){if(i/=v,v<0){if(i0){if(i>h)return;i>p&&(p=i)}if(i=r-c,v||!(i<0)){if(i/=v,v<0){if(i>h)return;i>p&&(p=i)}else if(v>0){if(i0&&(o.a={x:s+p*d,y:c+p*v}),h<1&&(o.b={x:s+h*d,y:c+h*v}),o}}}}}}function Ke(t,e,n,r){function o(r,o){return Ca(r[0]-t)0?0:3:Ca(r[0]-n)0?2:1:Ca(r[1]-e)0?1:0:o>0?3:2}function i(t,e){return a(t.x,e.x)}function a(t,e){var n=o(t,1),r=o(e,1);return n!==r?n-r:0===n?e[1]-t[1]:1===n?t[0]-e[0]:2===n?t[1]-e[1]:e[0]-t[0]}return function(u){function s(t){for(var e=0,n=g.length,r=t[1],o=0;or&&ot(c,i,t)>0&&++e:i[1]<=r&&ot(c,i,t)<0&&--e,c=i;return 0!==e}function c(i,u,s,c){var l=0,f=0;if(null==i||(l=o(i,s))!==(f=o(u,s))||a(i,u)<0^s>0){do c.point(0===l||3===l?t:n,l>1?r:e);while((l=(l+s+4)%4)!==f)}else c.point(u[0],u[1])}function l(o,i){return t<=o&&o<=n&&e<=i&&i<=r}function f(t,e){l(t,e)&&u.point(t,e)}function p(){N.point=d,g&&g.push(y=[]),E=!0,C=!1,w=_=NaN}function h(){v&&(d(m,b),x&&C&&S.rejoin(),v.push(S.buffer())),N.point=f,C&&u.lineEnd()}function d(t,e){t=Math.max(-zu,Math.min(zu,t)),e=Math.max(-zu,Math.min(zu,e));var n=l(t,e);if(g&&y.push([t,e]),E)m=t,b=e,x=n,E=!1,n&&(u.lineStart(),u.point(t,e));else if(n&&C)u.point(t,e);else{var r={a:{x:w,y:_},b:{x:t,y:e}};T(r)?(C||(u.lineStart(),u.point(r.a.x,r.a.y)),u.point(r.b.x,r.b.y),n||u.lineEnd(),M=!1):n&&(u.lineStart(),u.point(t,e),M=!1)}w=t,_=e,C=n}var v,g,y,m,b,x,w,_,C,E,M,k=u,S=qe(),T=Ye(t,e,n,r),N={point:f,lineStart:p,lineEnd:h,polygonStart:function(){u=S,v=[],g=[],M=!0},polygonEnd:function(){u=k,v=ha.merge(v);var e=s([t,r]),n=M&&e,o=v.length;(n||o)&&(u.polygonStart(),n&&(u.lineStart(),c(null,null,1,u),u.lineEnd()),o&&Ie(v,i,e,c,u),u.polygonEnd()),v=g=y=null}};return N}}function Xe(t){var e=0,n=Ba/3,r=pn(t),o=r(e,n);return o.parallels=function(t){return arguments.length?r(e=t[0]*Ba/180,n=t[1]*Ba/180):[e/Ba*180,n/Ba*180]},o}function Ge(t,e){function n(t,e){var n=Math.sqrt(i-2*o*Math.sin(e))/o;return[n*Math.sin(t*=o),a-n*Math.cos(t)]}var r=Math.sin(t),o=(r+Math.sin(e))/2,i=1+r*(2*o-r),a=Math.sqrt(i)/o;return n.invert=function(t,e){var n=a-e;return[Math.atan2(t,n)/o,at((i-(t*t+n*n)*o*o)/(2*o))]},n}function Je(){function t(t,e){Vu+=o*t-r*e,r=t,o=e}var e,n,r,o;Gu.point=function(i,a){Gu.point=t,e=r=i,n=o=a},Gu.lineEnd=function(){t(e,n)}}function Qe(t,e){t<$u&&($u=t),t>Ku&&(Ku=t),eXu&&(Xu=e)}function Ze(){function t(t,e){a.push("M",t,",",e,i)}function e(t,e){a.push("M",t,",",e),u.point=n}function n(t,e){a.push("L",t,",",e)}function r(){u.point=t}function o(){a.push("Z")}var i=tn(4.5),a=[],u={point:t,lineStart:function(){u.point=e},lineEnd:r,polygonStart:function(){u.lineEnd=o},polygonEnd:function(){u.lineEnd=r,u.point=t},pointRadius:function(t){return i=tn(t),u},result:function(){if(a.length){var t=a.join("");return a=[],t}}};return u}function tn(t){return"m0,"+t+"a"+t+","+t+" 0 1,1 0,"+-2*t+"a"+t+","+t+" 0 1,1 0,"+2*t+"z"}function en(t,e){Pu+=t,ju+=e,++Du}function nn(){function t(t,r){var o=t-e,i=r-n,a=Math.sqrt(o*o+i*i);Iu+=a*(e+t)/2,Ru+=a*(n+r)/2,Lu+=a,en(e=t,n=r)}var e,n;Qu.point=function(r,o){Qu.point=t,en(e=r,n=o)}}function rn(){Qu.point=en}function on(){function t(t,e){var n=t-r,i=e-o,a=Math.sqrt(n*n+i*i);Iu+=a*(r+t)/2,Ru+=a*(o+e)/2,Lu+=a,a=o*t-r*e,Uu+=a*(r+t),Fu+=a*(o+e),qu+=3*a,en(r=t,o=e)}var e,n,r,o;Qu.point=function(i,a){Qu.point=t,en(e=r=i,n=o=a)},Qu.lineEnd=function(){t(e,n)}}function an(t){function e(e,n){t.moveTo(e+a,n),t.arc(e,n,a,0,za)}function n(e,n){t.moveTo(e,n),u.point=r}function r(e,n){t.lineTo(e,n)}function o(){u.point=e}function i(){t.closePath()}var a=4.5,u={point:e,lineStart:function(){u.point=n},lineEnd:o,polygonStart:function(){u.lineEnd=i},polygonEnd:function(){u.lineEnd=o,u.point=e},pointRadius:function(t){return a=t,u},result:k};return u}function un(t){function e(t){return(u?r:n)(t)}function n(e){return ln(e,function(n,r){n=t(n,r),e.point(n[0],n[1])})}function r(e){function n(n,r){n=t(n,r),e.point(n[0],n[1])}function r(){b=NaN,E.point=i,e.lineStart()}function i(n,r){var i=xe([n,r]),a=t(n,r);o(b,x,m,w,_,C,b=a[0],x=a[1],m=n,w=i[0],_=i[1],C=i[2],u,e),e.point(b,x)}function a(){E.point=n,e.lineEnd()}function s(){r(),E.point=c,E.lineEnd=l}function c(t,e){i(f=t,p=e),h=b,d=x,v=w,g=_,y=C,E.point=i}function l(){o(b,x,m,w,_,C,h,d,f,v,g,y,u,e),E.lineEnd=a,a()}var f,p,h,d,v,g,y,m,b,x,w,_,C,E={point:n,lineStart:r,lineEnd:a,polygonStart:function(){e.polygonStart(),E.lineStart=s},polygonEnd:function(){e.polygonEnd(),E.lineStart=r}};return E}function o(e,n,r,u,s,c,l,f,p,h,d,v,g,y){var m=l-e,b=f-n,x=m*m+b*b;if(x>4*i&&g--){var w=u+h,_=s+d,C=c+v,E=Math.sqrt(w*w+_*_+C*C),M=Math.asin(C/=E),k=Ca(Ca(C)-1)i||Ca((m*O+b*A)/x-.5)>.3||u*h+s*d+c*v0&&16,e):Math.sqrt(i)},e}function sn(t){var e=un(function(e,n){return t([e*Ya,n*Ya])});return function(t){return hn(e(t))}}function cn(t){this.stream=t}function ln(t,e){return{point:e,sphere:function(){t.sphere()},lineStart:function(){t.lineStart()},lineEnd:function(){t.lineEnd()},polygonStart:function(){t.polygonStart()},polygonEnd:function(){t.polygonEnd()}}}function fn(t){return pn(function(){return t})()}function pn(t){function e(t){return t=u(t[0]*$a,t[1]*$a),[t[0]*p+s,c-t[1]*p]}function n(t){return t=u.invert((t[0]-s)/p,(c-t[1])/p),t&&[t[0]*Ya,t[1]*Ya]}function r(){u=je(a=gn(y,m,b),i);var t=i(v,g);return s=h-t[0]*p,c=d+t[1]*p,o()}function o(){return l&&(l.valid=!1,l=null),e}var i,a,u,s,c,l,f=un(function(t,e){return t=i(t,e),[t[0]*p+s,c-t[1]*p]}),p=150,h=480,d=250,v=0,g=0,y=0,m=0,b=0,x=Bu,w=C,_=null,E=null;return e.stream=function(t){return l&&(l.valid=!1),l=hn(x(a,f(w(t)))),l.valid=!0,l},e.clipAngle=function(t){return arguments.length?(x=null==t?(_=t,Bu):$e((_=+t)*$a),o()):_},e.clipExtent=function(t){return arguments.length?(E=t,w=t?Ke(t[0][0],t[0][1],t[1][0],t[1][1]):C,o()):E},e.scale=function(t){return arguments.length?(p=+t,r()):p},e.translate=function(t){return arguments.length?(h=+t[0],d=+t[1],r()):[h,d]},e.center=function(t){return arguments.length?(v=t[0]%360*$a,g=t[1]%360*$a,r()):[v*Ya,g*Ya]},e.rotate=function(t){return arguments.length?(y=t[0]%360*$a,m=t[1]%360*$a,b=t.length>2?t[2]%360*$a:0,r()):[y*Ya,m*Ya,b*Ya]},ha.rebind(e,f,"precision"),function(){return i=t.apply(this,arguments),e.invert=i.invert&&n,r()}}function hn(t){return ln(t,function(e,n){t.point(e*$a,n*$a)})}function dn(t,e){return[t,e]}function vn(t,e){return[t>Ba?t-za:t<-Ba?t+za:t,e]}function gn(t,e,n){return t?e||n?je(mn(t),bn(e,n)):mn(t):e||n?bn(e,n):vn}function yn(t){return function(e,n){return e+=t,[e>Ba?e-za:e<-Ba?e+za:e,n]}}function mn(t){var e=yn(t);return e.invert=yn(-t),e}function bn(t,e){function n(t,e){var n=Math.cos(e),u=Math.cos(t)*n,s=Math.sin(t)*n,c=Math.sin(e),l=c*r+u*o;return[Math.atan2(s*i-l*a,u*r-c*o),at(l*i+s*a)]}var r=Math.cos(t),o=Math.sin(t),i=Math.cos(e),a=Math.sin(e);return n.invert=function(t,e){var n=Math.cos(e),u=Math.cos(t)*n,s=Math.sin(t)*n,c=Math.sin(e),l=c*i-s*a;return[Math.atan2(s*i+c*a,u*r+l*o),at(l*r-u*o)]},n}function xn(t,e){var n=Math.cos(t),r=Math.sin(t);return function(o,i,a,u){var s=a*e;null!=o?(o=wn(n,o),i=wn(n,i),(a>0?oi)&&(o+=a*za)):(o=t+a*za,i=t-.5*s);for(var c,l=o;a>0?l>i:l0?e<-Va+qa&&(e=-Va+qa):e>Va-qa&&(e=Va-qa);var n=a/Math.pow(o(e),i);return[n*Math.sin(i*t),a-n*Math.cos(i*t)]}var r=Math.cos(t),o=function(t){return Math.tan(Ba/4+t/2)},i=t===e?Math.sin(t):Math.log(r/Math.cos(e))/Math.log(o(e)/o(t)),a=r*Math.pow(o(t),i)/i;return i?(n.invert=function(t,e){var n=a-e,r=rt(i)*Math.sqrt(t*t+n*n);return[Math.atan2(t,n)/i,2*Math.atan(Math.pow(a/r,1/i))-Va]},n):An}function On(t,e){function n(t,e){var n=i-e;return[n*Math.sin(o*t),i-n*Math.cos(o*t)]}var r=Math.cos(t),o=t===e?Math.sin(t):(r-Math.cos(e))/(e-t),i=r/o+t;return Ca(o)1&&ot(t[n[r-2]],t[n[r-1]],t[o])<=0;)--r;n[r++]=o}return n.slice(0,r)}function Ln(t,e){return t[0]-e[0]||t[1]-e[1]}function Un(t,e,n){return(n[0]-e[0])*(t[1]-e[1])<(n[1]-e[1])*(t[0]-e[0])}function Fn(t,e,n,r){var o=t[0],i=n[0],a=e[0]-o,u=r[0]-i,s=t[1],c=n[1],l=e[1]-s,f=r[1]-c,p=(u*(s-c)-f*(o-i))/(f*a-u*l);return[o+p*a,s+p*l]}function qn(t){var e=t[0],n=t[t.length-1];return!(e[0]-n[0]||e[1]-n[1])}function Hn(){sr(this),this.edge=this.site=this.circle=null}function Bn(t){var e=ps.pop()||new Hn;return e.site=t,e}function zn(t){Zn(t),cs.remove(t),ps.push(t),sr(t)}function Wn(t){var e=t.circle,n=e.x,r=e.cy,o={x:n,y:r},i=t.P,a=t.N,u=[t];zn(t);for(var s=i;s.circle&&Ca(n-s.circle.x)qa)u=u.L;else{if(o=i-Yn(u,a),!(o>qa)){r>-qa?(e=u.P,n=u):o>-qa?(e=u,n=u.N):e=n=u;break}if(!u.R){e=u;break}u=u.R}var s=Bn(t);if(cs.insert(e,s),e||n){if(e===n)return Zn(e),n=Bn(e.site),cs.insert(s,n),s.edge=n.edge=rr(e.site,s.site),Qn(e),void Qn(n);if(!n)return void(s.edge=rr(e.site,s.site));Zn(e),Zn(n);var c=e.site,l=c.x,f=c.y,p=t.x-l,h=t.y-f,d=n.site,v=d.x-l,g=d.y-f,y=2*(p*g-h*v),m=p*p+h*h,b=v*v+g*g,x={x:(g*m-h*b)/y+l,y:(p*b-v*m)/y+f};ir(n.edge,c,d,x),s.edge=rr(c,t,null,x),n.edge=rr(t,d,null,x),Qn(e),Qn(n)}}function $n(t,e){var n=t.site,r=n.x,o=n.y,i=o-e;if(!i)return r;var a=t.P;if(!a)return-(1/0);n=a.site;var u=n.x,s=n.y,c=s-e;if(!c)return u;var l=u-r,f=1/i-1/c,p=l/c;return f?(-p+Math.sqrt(p*p-2*f*(l*l/(-2*c)-s+c/2+o-i/2)))/f+r:(r+u)/2}function Yn(t,e){var n=t.N;if(n)return $n(n,e);var r=t.site;return r.y===e?r.x:1/0}function Kn(t){this.site=t,this.edges=[]}function Xn(t){for(var e,n,r,o,i,a,u,s,c,l,f=t[0][0],p=t[1][0],h=t[0][1],d=t[1][1],v=ss,g=v.length;g--;)if(i=v[g],i&&i.prepare())for(u=i.edges,s=u.length,a=0;aqa||Ca(o-n)>qa)&&(u.splice(a,0,new ar(or(i.site,l,Ca(r-f)qa?{x:f,y:Ca(e-f)qa?{x:Ca(n-d)qa?{x:p,y:Ca(e-p)qa?{x:Ca(n-h)=-Ha)){var h=s*s+c*c,d=l*l+f*f,v=(f*h-c*d)/p,g=(s*d-l*h)/p,f=g+u,y=hs.pop()||new Jn;y.arc=t,y.site=o,y.x=v+a,y.y=f+Math.sqrt(v*v+g*g),y.cy=f,t.circle=y;for(var m=null,b=fs._;b;)if(y.y=u)return;if(p>d){if(i){if(i.y>=c)return}else i={x:g,y:s};n={x:g,y:c}}else{if(i){if(i.y1)if(p>d){if(i){if(i.y>=c)return}else i={x:(s-o)/r,y:s};n={x:(c-o)/r,y:c}}else{if(i){if(i.y=u)return}else i={x:a,y:r*a+o};n={x:u,y:r*u+o}}else{if(i){if(i.xi||f>a||p=x,C=n>=w,E=C<<1|_,M=E+4;Ei&&(o=e.slice(i,o),u[a]?u[a]+=o:u[++a]=o),(n=n[0])===(r=r[0])?u[a]?u[a]+=r:u[++a]=r:(u[++a]=null,s.push({i:a,x:_r(n,r)})),i=gs.lastIndex;return i=0&&!(n=ha.interpolators[r](t,e)););return n}function Mr(t,e){var n,r=[],o=[],i=t.length,a=e.length,u=Math.min(t.length,e.length);for(n=0;n=1?1:t(e)}}function Sr(t){return function(e){return 1-t(1-e)}}function Tr(t){return function(e){return.5*(e<.5?t(2*e):2-t(2-2*e))}}function Nr(t){return t*t}function Or(t){return t*t*t}function Ar(t){if(t<=0)return 0;if(t>=1)return 1;var e=t*t,n=e*t;return 4*(t<.5?n:3*(t-e)+n-.75)}function Pr(t){return function(e){return Math.pow(e,t)}}function jr(t){return 1-Math.cos(t*Va)}function Dr(t){return Math.pow(2,10*(t-1))}function Ir(t){return 1-Math.sqrt(1-t*t)}function Rr(t,e){var n;return arguments.length<2&&(e=.45),arguments.length?n=e/za*Math.asin(1/t):(t=1,n=e/4),function(r){return 1+t*Math.pow(2,-10*r)*Math.sin((r-n)*za/e)}}function Lr(t){return t||(t=1.70158),function(e){return e*e*((t+1)*e-t)}}function Ur(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375; -}function Fr(t,e){t=ha.hcl(t),e=ha.hcl(e);var n=t.h,r=t.c,o=t.l,i=e.h-n,a=e.c-r,u=e.l-o;return isNaN(a)&&(a=0,r=isNaN(r)?e.c:r),isNaN(i)?(i=0,n=isNaN(n)?e.h:n):i>180?i-=360:i<-180&&(i+=360),function(t){return vt(n+i*t,r+a*t,o+u*t)+""}}function qr(t,e){t=ha.hsl(t),e=ha.hsl(e);var n=t.h,r=t.s,o=t.l,i=e.h-n,a=e.s-r,u=e.l-o;return isNaN(a)&&(a=0,r=isNaN(r)?e.s:r),isNaN(i)?(i=0,n=isNaN(n)?e.h:n):i>180?i-=360:i<-180&&(i+=360),function(t){return ht(n+i*t,r+a*t,o+u*t)+""}}function Hr(t,e){t=ha.lab(t),e=ha.lab(e);var n=t.l,r=t.a,o=t.b,i=e.l-n,a=e.a-r,u=e.b-o;return function(t){return yt(n+i*t,r+a*t,o+u*t)+""}}function Br(t,e){return e-=t,function(n){return Math.round(t+e*n)}}function zr(t){var e=[t.a,t.b],n=[t.c,t.d],r=Vr(e),o=Wr(e,n),i=Vr($r(n,e,-o))||0;e[0]*n[1]180?e+=360:e-t>180&&(t+=360),r.push({i:n.push(Yr(n)+"rotate(",null,")")-2,x:_r(t,e)})):e&&n.push(Yr(n)+"rotate("+e+")")}function Gr(t,e,n,r){t!==e?r.push({i:n.push(Yr(n)+"skewX(",null,")")-2,x:_r(t,e)}):e&&n.push(Yr(n)+"skewX("+e+")")}function Jr(t,e,n,r){if(t[0]!==e[0]||t[1]!==e[1]){var o=n.push(Yr(n)+"scale(",null,",",null,")");r.push({i:o-4,x:_r(t[0],e[0])},{i:o-2,x:_r(t[1],e[1])})}else 1===e[0]&&1===e[1]||n.push(Yr(n)+"scale("+e+")")}function Qr(t,e){var n=[],r=[];return t=ha.transform(t),e=ha.transform(e),Kr(t.translate,e.translate,n,r),Xr(t.rotate,e.rotate,n,r),Gr(t.skew,e.skew,n,r),Jr(t.scale,e.scale,n,r),t=e=null,function(t){for(var e,o=-1,i=r.length;++o=0;)n.push(o[r])}function fo(t,e){for(var n=[t],r=[];null!=(t=n.pop());)if(r.push(t),(i=t.children)&&(o=i.length))for(var o,i,a=-1;++ao&&(r=n,o=e);return r}function Co(t){return t.reduce(Eo,0)}function Eo(t,e){return t+e[1]}function Mo(t,e){return ko(t,Math.ceil(Math.log(e.length)/Math.LN2+1))}function ko(t,e){for(var n=-1,r=+t[0],o=(t[1]-r)/e,i=[];++n<=e;)i[n]=o*n+r;return i}function So(t){return[ha.min(t),ha.max(t)]}function To(t,e){return t.value-e.value}function No(t,e){var n=t._pack_next;t._pack_next=e,e._pack_prev=t,e._pack_next=n,n._pack_prev=e}function Oo(t,e){t._pack_next=e,e._pack_prev=t}function Ao(t,e){var n=e.x-t.x,r=e.y-t.y,o=t.r+e.r;return.999*o*o>n*n+r*r}function Po(t){function e(t){l=Math.min(t.x-t.r,l),f=Math.max(t.x+t.r,f),p=Math.min(t.y-t.r,p),h=Math.max(t.y+t.r,h)}if((n=t.children)&&(c=n.length)){var n,r,o,i,a,u,s,c,l=1/0,f=-(1/0),p=1/0,h=-(1/0);if(n.forEach(jo),r=n[0],r.x=-r.r,r.y=0,e(r),c>1&&(o=n[1],o.x=o.r,o.y=0,e(o),c>2))for(i=n[2],Ro(r,o,i),e(i),No(r,i),r._pack_prev=i,No(i,o),o=r._pack_next,a=3;a=0;)e=o[i],e.z+=n,e.m+=n,n+=e.s+(r+=e.c)}function Bo(t,e,n){return t.a.parent===e.parent?t.a:n}function zo(t){return 1+ha.max(t,function(t){return t.y})}function Wo(t){return t.reduce(function(t,e){return t+e.x},0)/t.length}function Vo(t){var e=t.children;return e&&e.length?Vo(e[0]):t}function $o(t){var e,n=t.children;return n&&(e=n.length)?$o(n[e-1]):t}function Yo(t){return{x:t.x,y:t.y,dx:t.dx,dy:t.dy}}function Ko(t,e){var n=t.x+e[3],r=t.y+e[0],o=t.dx-e[1]-e[3],i=t.dy-e[0]-e[2];return o<0&&(n+=o/2,o=0),i<0&&(r+=i/2,i=0),{x:n,y:r,dx:o,dy:i}}function Xo(t){var e=t[0],n=t[t.length-1];return e2?ti:Jo,s=r?to:Zr;return a=o(t,e,s,n),u=o(e,t,s,Er),i}function i(t){return a(t)}var a,u;return i.invert=function(t){return u(t)},i.domain=function(e){return arguments.length?(t=e.map(Number),o()):t},i.range=function(t){return arguments.length?(e=t,o()):e},i.rangeRound=function(t){return i.range(t).interpolate(Br)},i.clamp=function(t){return arguments.length?(r=t,o()):r},i.interpolate=function(t){return arguments.length?(n=t,o()):n},i.ticks=function(e){return ii(t,e)},i.tickFormat=function(e,n){return ai(t,e,n)},i.nice=function(e){return ri(t,e),o()},i.copy=function(){return ei(t,e,n,r)},o()}function ni(t,e){return ha.rebind(t,e,"range","rangeRound","interpolate","clamp")}function ri(t,e){return Qo(t,Zo(oi(t,e)[2])),Qo(t,Zo(oi(t,e)[2])),t}function oi(t,e){null==e&&(e=10);var n=Xo(t),r=n[1]-n[0],o=Math.pow(10,Math.floor(Math.log(r/e)/Math.LN10)),i=e/r*o;return i<=.15?o*=10:i<=.35?o*=5:i<=.75&&(o*=2),n[0]=Math.ceil(n[0]/o)*o,n[1]=Math.floor(n[1]/o)*o+.5*o,n[2]=o,n}function ii(t,e){return ha.range.apply(ha,oi(t,e))}function ai(t,e,n){var r=oi(t,e);if(n){var o=vu.exec(n);if(o.shift(),"s"===o[8]){var i=ha.formatPrefix(Math.max(Ca(r[0]),Ca(r[1])));return o[7]||(o[7]="."+ui(i.scale(r[2]))),o[8]="f",n=ha.format(o.join("")),function(t){return n(i.scale(t))+i.symbol}}o[7]||(o[7]="."+si(o[8],r)),n=o.join("")}else n=",."+ui(r[2])+"f";return ha.format(n)}function ui(t){return-Math.floor(Math.log(t)/Math.LN10+.01)}function si(t,e){var n=ui(e[2]);return t in Ts?Math.abs(n-ui(Math.max(Ca(e[0]),Ca(e[1]))))+ +("e"!==t):n-2*("%"===t)}function ci(t,e,n,r){function o(t){return(n?Math.log(t<0?0:t):-Math.log(t>0?0:-t))/Math.log(e)}function i(t){return n?Math.pow(e,t):-Math.pow(e,-t)}function a(e){return t(o(e))}return a.invert=function(e){return i(t.invert(e))},a.domain=function(e){return arguments.length?(n=e[0]>=0,t.domain((r=e.map(Number)).map(o)),a):r},a.base=function(n){return arguments.length?(e=+n,t.domain(r.map(o)),a):e},a.nice=function(){var e=Qo(r.map(o),n?Math:Os);return t.domain(e),r=e.map(i),a},a.ticks=function(){var t=Xo(r),a=[],u=t[0],s=t[1],c=Math.floor(o(u)),l=Math.ceil(o(s)),f=e%1?2:e;if(isFinite(l-c)){if(n){for(;c0;p--)a.push(i(c)*p);for(c=0;a[c]s;l--);a=a.slice(c,l)}return a},a.tickFormat=function(t,n){if(!arguments.length)return Ns;arguments.length<2?n=Ns:"function"!=typeof n&&(n=ha.format(n));var r=Math.max(1,e*t/a.ticks().length);return function(t){var a=t/i(Math.round(o(t)));return a*e0?o[n-1]:t[0],n0?0:1}function Ei(t,e,n,r,o){var i=t[0]-e[0],a=t[1]-e[1],u=(o?r:-r)/Math.sqrt(i*i+a*a),s=u*a,c=-u*i,l=t[0]+s,f=t[1]+c,p=e[0]+s,h=e[1]+c,d=(l+p)/2,v=(f+h)/2,g=p-l,y=h-f,m=g*g+y*y,b=n-r,x=l*h-p*f,w=(y<0?-1:1)*Math.sqrt(Math.max(0,b*b*m-x*x)),_=(x*y-g*w)/m,C=(-x*g-y*w)/m,E=(x*y+g*w)/m,M=(-x*g+y*w)/m,k=_-d,S=C-v,T=E-d,N=M-v;return k*k+S*S>T*T+N*N&&(_=E,C=M),[[_-s,C-c],[_*n/b,C*n/b]]}function Mi(t){function e(e){function a(){c.push("M",i(t(l),u))}for(var s,c=[],l=[],f=-1,p=e.length,h=At(n),d=At(r);++f1?t.join("L"):t+"Z"}function Si(t){return t.join("L")+"Z"}function Ti(t){for(var e=0,n=t.length,r=t[0],o=[r[0],",",r[1]];++e1&&o.push("H",r[0]),o.join("")}function Ni(t){for(var e=0,n=t.length,r=t[0],o=[r[0],",",r[1]];++e1){u=e[1],i=t[s],s++,r+="C"+(o[0]+a[0])+","+(o[1]+a[1])+","+(i[0]-u[0])+","+(i[1]-u[1])+","+i[0]+","+i[1];for(var c=2;c9&&(o=3*e/Math.sqrt(o),a[u]=o*n,a[u+1]=o*r));for(u=-1;++u<=s;)o=(t[Math.min(s,u+1)][0]-t[Math.max(0,u-1)][0])/(6*(1+a[u]*a[u])),i.push([o||0,a[u]*o||0]);return i}function Vi(t){return t.length<3?ki(t):t[0]+Di(t,Wi(t))}function $i(t){for(var e,n,r,o=-1,i=t.length;++o0;)p[--u].call(t,a);if(i>=1)return v.event&&v.event.end.call(t,t.__data__,e),--h.count?delete h[r]:delete t[n],1}var s,c,l,f,p,h=t[n]||(t[n]={active:0,count:0}),v=h[r];v||(s=o.time,c=Rt(i,0,s),v=h[r]={tween:new d,time:s,timer:c,delay:o.delay,duration:o.duration,ease:o.ease,index:e},o=null,++h.count)}function aa(t,e,n){t.attr("transform",function(t){var r=e(t);return"translate("+(isFinite(r)?r:n(t))+",0)"})}function ua(t,e,n){t.attr("transform",function(t){var r=e(t);return"translate(0,"+(isFinite(r)?r:n(t))+")"})}function sa(t){return t.toISOString()}function ca(t,e,n){function r(e){return t(e)}function o(t,n){var r=t[1]-t[0],o=r/n,i=ha.bisect(ec,o);return i==ec.length?[e.year,oi(t.map(function(t){return t/31536e6}),n)[2]]:i?e[o/ec[i-1]1?{floor:function(e){for(;n(e=t.floor(e));)e=la(e-1);return e},ceil:function(e){for(;n(e=t.ceil(e));)e=la(+e+1);return e}}:t))},r.ticks=function(t,e){var n=Xo(r.domain()),i=null==t?o(n,10):"number"==typeof t?o(n,t):!t.range&&[{range:t},e];return i&&(t=i[0],e=i[1]),t.range(n[0],la(+n[1]+1),e<1?1:e)},r.tickFormat=function(){return n},r.copy=function(){return ca(t.copy(),e,n)},ni(r,t)}function la(t){return new Date(t)}function fa(t){return JSON.parse(t.responseText)}function pa(t){var e=ga.createRange();return e.selectNode(ga.body),e.createContextualFragment(t.responseText)}var ha={version:"3.5.17"},da=[].slice,va=function(t){return da.call(t)},ga=this.document;if(ga)try{va(ga.documentElement.childNodes)[0].nodeType}catch(t){va=function(t){for(var e=t.length,n=new Array(e);e--;)n[e]=t[e];return n}}if(Date.now||(Date.now=function(){return+new Date}),ga)try{ga.createElement("DIV").style.setProperty("opacity",0,"")}catch(t){var ya=this.Element.prototype,ma=ya.setAttribute,ba=ya.setAttributeNS,xa=this.CSSStyleDeclaration.prototype,wa=xa.setProperty;ya.setAttribute=function(t,e){ma.call(this,t,e+"")},ya.setAttributeNS=function(t,e,n){ba.call(this,t,e,n+"")},xa.setProperty=function(t,e,n){wa.call(this,t,e+"",n)}}ha.ascending=u,ha.descending=function(t,e){return et?1:e>=t?0:NaN},ha.min=function(t,e){var n,r,o=-1,i=t.length;if(1===arguments.length){for(;++o=r){n=r;break}for(;++or&&(n=r)}else{for(;++o=r){n=r;break}for(;++or&&(n=r)}return n},ha.max=function(t,e){var n,r,o=-1,i=t.length;if(1===arguments.length){for(;++o=r){n=r;break}for(;++on&&(n=r)}else{for(;++o=r){n=r;break}for(;++on&&(n=r)}return n},ha.extent=function(t,e){var n,r,o,i=-1,a=t.length;if(1===arguments.length){for(;++i=r){n=o=r;break}for(;++ir&&(n=r),o=r){n=o=r;break}for(;++ir&&(n=r),o1)return a/(l-1)},ha.deviation=function(){var t=ha.variance.apply(this,arguments);return t?Math.sqrt(t):t};var _a=l(u);ha.bisectLeft=_a.left,ha.bisect=ha.bisectRight=_a.right,ha.bisector=function(t){return l(1===t.length?function(e,n){return u(t(e),n)}:t)},ha.shuffle=function(t,e,n){(i=arguments.length)<3&&(n=t.length,i<2&&(e=0));for(var r,o,i=n-e;i;)o=Math.random()*i--|0,r=t[i+e],t[i+e]=t[o+e],t[o+e]=r;return t},ha.permute=function(t,e){for(var n=e.length,r=new Array(n);n--;)r[n]=t[e[n]];return r},ha.pairs=function(t){for(var e,n=0,r=t.length-1,o=t[0],i=new Array(r<0?0:r);n=0;)for(r=t[o],e=r.length;--e>=0;)n[--a]=r[e];return n};var Ca=Math.abs;ha.range=function(t,e,n){if(arguments.length<3&&(n=1,arguments.length<2&&(e=t,t=0)),(e-t)/n===1/0)throw new Error("infinite range");var r,o=[],i=p(Ca(n)),a=-1;if(t*=i,e*=i,n*=i,n<0)for(;(r=t+n*++a)>e;)o.push(r/i);else for(;(r=t+n*++a)=i.length)return r?r.call(o,a):n?a.sort(n):a;for(var s,c,l,f,p=-1,h=a.length,v=i[u++],g=new d;++p=i.length)return t;var r=[],o=a[n++];return t.forEach(function(t,o){r.push({key:t,values:e(o,n)})}),o?r.sort(function(t,e){return o(t.key,e.key)}):r}var n,r,o={},i=[],a=[];return o.map=function(e,n){return t(n,e,0)},o.entries=function(n){return e(t(ha.map,n,0),0)},o.key=function(t){return i.push(t),o},o.sortKeys=function(t){return a[i.length-1]=t,o},o.sortValues=function(t){return n=t,o},o.rollup=function(t){return r=t,o},o},ha.set=function(t){var e=new _;if(t)for(var n=0,r=t.length;n=0&&(r=t.slice(n+1),t=t.slice(0,n)),t)return arguments.length<2?this[t].on(r):this[t].on(r,e);if(2===arguments.length){if(null==e)for(t in this)this.hasOwnProperty(t)&&this[t].on(r,null);return this}},ha.event=null,ha.requote=function(t){return t.replace(Sa,"\\$&")};var Sa=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,Ta={}.__proto__?function(t,e){t.__proto__=e}:function(t,e){for(var n in e)t[n]=e[n]},Na=function(t,e){return e.querySelector(t)},Oa=function(t,e){return e.querySelectorAll(t)},Aa=function(t,e){var n=t.matches||t[M(t,"matchesSelector")];return(Aa=function(t,e){return n.call(t,e)})(t,e)};"function"==typeof Sizzle&&(Na=function(t,e){return Sizzle(t,e)[0]||null},Oa=Sizzle,Aa=Sizzle.matchesSelector),ha.selection=function(){return ha.select(ga.documentElement)};var Pa=ha.selection.prototype=[];Pa.select=function(t){var e,n,r,o,i=[];t=j(t);for(var a=-1,u=this.length;++a=0&&"xmlns"!==(n=t.slice(0,e))&&(t=t.slice(e+1)),Da.hasOwnProperty(n)?{space:Da[n],local:t}:t}},Pa.attr=function(t,e){if(arguments.length<2){if("string"==typeof t){var n=this.node();return t=ha.ns.qualify(t),t.local?n.getAttributeNS(t.space,t.local):n.getAttribute(t)}for(e in t)this.each(I(e,t[e]));return this}return this.each(I(t,e))},Pa.classed=function(t,e){if(arguments.length<2){if("string"==typeof t){var n=this.node(),r=(t=U(t)).length,o=-1;if(e=n.classList){for(;++o=0;)(n=r[o])&&(i&&i!==n.nextSibling&&i.parentNode.insertBefore(n,i),i=n);return this},Pa.sort=function(t){t=Y.apply(this,arguments);for(var e=-1,n=this.length;++e0&&(e=e.transition().duration(S)),e.call(t.event)}function u(){w&&w.domain(x.range().map(function(t){return(t-E.x)/E.k}).map(x.invert)),C&&C.domain(_.range().map(function(t){return(t-E.y)/E.k}).map(_.invert))}function s(t){T++||t({type:"zoomstart"})}function c(t){u(),t({type:"zoom",scale:E.k,translate:[E.x,E.y]})}function l(t){--T||(t({type:"zoomend"}),g=null)}function f(){function t(){u=1,o(ha.mouse(r),p),c(i)}function n(){f.on(P,null).on(j,null),h(u),l(i)}var r=this,i=I.of(r,arguments),u=0,f=ha.select(a(r)).on(P,t).on(j,n),p=e(ha.mouse(r)),h=tt(r);Vs.call(r),s(i)}function p(){function t(){var t=ha.touches(d);return h=E.k,t.forEach(function(t){t.identifier in g&&(g[t.identifier]=e(t))}),t}function n(){var e=ha.event.target;ha.select(e).on(x,a).on(w,u),_.push(e);for(var n=ha.event.changedTouches,r=0,o=n.length;r1){var l=s[0],f=s[1],p=l[0]-f[0],h=l[1]-f[1];y=p*p+h*h}}function a(){var t,e,n,i,a=ha.touches(d);Vs.call(d);for(var u=0,s=a.length;u=c)return a;if(o)return o=!1,i;var e=l;if(34===t.charCodeAt(e)){for(var n=e;n++=^]))?([+\- ])?([$#])?(0)?(\d+)?(,)?(\.-?\d+)?([a-z%])?/i,gu=ha.map({b:function(t){return t.toString(2)},c:function(t){return String.fromCharCode(t)},o:function(t){return t.toString(8)},x:function(t){return t.toString(16)},X:function(t){return t.toString(16).toUpperCase()},g:function(t,e){return t.toPrecision(e)},e:function(t,e){return t.toExponential(e)},f:function(t,e){return t.toFixed(e)},r:function(t,e){return(t=ha.round(t,qt(t,e))).toFixed(Math.max(0,Math.min(20,qt(t*(1+1e-15),e))))}}),yu=ha.time={},mu=Date;Wt.prototype={getDate:function(){return this._.getUTCDate()},getDay:function(){return this._.getUTCDay()},getFullYear:function(){return this._.getUTCFullYear()},getHours:function(){return this._.getUTCHours()},getMilliseconds:function(){return this._.getUTCMilliseconds()},getMinutes:function(){return this._.getUTCMinutes()},getMonth:function(){return this._.getUTCMonth()},getSeconds:function(){return this._.getUTCSeconds()},getTime:function(){return this._.getTime()},getTimezoneOffset:function(){return 0},valueOf:function(){return this._.valueOf()},setDate:function(){bu.setUTCDate.apply(this._,arguments)},setDay:function(){bu.setUTCDay.apply(this._,arguments)},setFullYear:function(){bu.setUTCFullYear.apply(this._,arguments)},setHours:function(){bu.setUTCHours.apply(this._,arguments)},setMilliseconds:function(){bu.setUTCMilliseconds.apply(this._,arguments)},setMinutes:function(){bu.setUTCMinutes.apply(this._,arguments)},setMonth:function(){bu.setUTCMonth.apply(this._,arguments)},setSeconds:function(){bu.setUTCSeconds.apply(this._,arguments)},setTime:function(){bu.setTime.apply(this._,arguments)}};var bu=Date.prototype;yu.year=Vt(function(t){return t=yu.day(t),t.setMonth(0,1),t},function(t,e){t.setFullYear(t.getFullYear()+e)},function(t){return t.getFullYear()}),yu.years=yu.year.range,yu.years.utc=yu.year.utc.range,yu.day=Vt(function(t){var e=new mu(2e3,0);return e.setFullYear(t.getFullYear(),t.getMonth(),t.getDate()),e},function(t,e){t.setDate(t.getDate()+e)},function(t){return t.getDate()-1}),yu.days=yu.day.range,yu.days.utc=yu.day.utc.range,yu.dayOfYear=function(t){var e=yu.year(t);return Math.floor((t-e-6e4*(t.getTimezoneOffset()-e.getTimezoneOffset()))/864e5)},["sunday","monday","tuesday","wednesday","thursday","friday","saturday"].forEach(function(t,e){e=7-e;var n=yu[t]=Vt(function(t){return(t=yu.day(t)).setDate(t.getDate()-(t.getDay()+e)%7),t},function(t,e){t.setDate(t.getDate()+7*Math.floor(e))},function(t){var n=yu.year(t).getDay();return Math.floor((yu.dayOfYear(t)+(n+e)%7)/7)-(n!==e)});yu[t+"s"]=n.range,yu[t+"s"].utc=n.utc.range,yu[t+"OfYear"]=function(t){var n=yu.year(t).getDay();return Math.floor((yu.dayOfYear(t)+(n+e)%7)/7)}}),yu.week=yu.sunday,yu.weeks=yu.sunday.range,yu.weeks.utc=yu.sunday.utc.range,yu.weekOfYear=yu.sundayOfYear;var xu={"-":"",_:" ",0:"0"},wu=/^\s*\d+/,_u=/^%/;ha.locale=function(t){return{numberFormat:Bt(t),timeFormat:Yt(t)}};var Cu=ha.locale({decimal:".",thousands:",",grouping:[3],currency:["$",""],dateTime:"%a %b %e %X %Y",date:"%m/%d/%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});ha.format=Cu.numberFormat,ha.geo={},de.prototype={s:0,t:0,add:function(t){ve(t,this.t,Eu),ve(Eu.s,this.s,this),this.s?this.t+=Eu.t:this.s=Eu.t},reset:function(){this.s=this.t=0},valueOf:function(){return this.s}};var Eu=new de;ha.geo.stream=function(t,e){t&&Mu.hasOwnProperty(t.type)?Mu[t.type](t,e):ge(t,e)};var Mu={Feature:function(t,e){ge(t.geometry,e)},FeatureCollection:function(t,e){for(var n=t.features,r=-1,o=n.length;++rh&&(h=e)}function e(e,n){var r=xe([e*$a,n*$a]);if(y){var o=_e(y,r),i=[o[1],-o[0],0],a=_e(i,o);Me(a),a=ke(a);var s=e-d,c=s>0?1:-1,v=a[0]*Ya*c,g=Ca(s)>180;if(g^(c*dh&&(h=m)}else if(v=(v+360)%360-180,g^(c*dh&&(h=n);g?eu(l,p)&&(p=e):u(e,p)>u(l,p)&&(l=e):p>=l?(ep&&(p=e)):e>d?u(l,e)>u(l,p)&&(p=e):u(e,p)>u(l,p)&&(l=e)}else t(e,n);y=r,d=e}function n(){w.point=e}function r(){x[0]=l,x[1]=p,w.point=t,y=null}function o(t,n){if(y){var r=t-d;m+=Ca(r)>180?r+(r>0?360:-360):r}else v=t,g=n;Nu.point(t,n),e(t,n)}function i(){Nu.lineStart()}function a(){o(v,g),Nu.lineEnd(),Ca(m)>qa&&(l=-(p=180)),x[0]=l,x[1]=p,y=null}function u(t,e){return(e-=t)<0?e+360:e}function s(t,e){return t[0]-e[0]}function c(t,e){return e[0]<=e[1]?e[0]<=t&&t<=e[1]:tqa?h=90:m<-qa&&(f=-90),x[0]=l,x[1]=p}};return function(t){h=p=-(l=f=1/0),b=[],ha.geo.stream(t,w);var e=b.length;if(e){b.sort(s);for(var n,r=1,o=b[0],i=[o];ru(o[0],o[1])&&(o[1]=n[1]),u(n[0],o[1])>u(o[0],o[1])&&(o[0]=n[0])):i.push(o=n);for(var a,n,d=-(1/0),e=i.length-1,r=0,o=i[e];r<=e;o=n,++r)n=i[r],(a=u(o[1],n[0]))>d&&(d=a,l=n[0],p=o[1])}return b=x=null,l===1/0||f===1/0?[[NaN,NaN],[NaN,NaN]]:[[l,f],[p,h]]}}(),ha.geo.centroid=function(t){Ou=Au=Pu=ju=Du=Iu=Ru=Lu=Uu=Fu=qu=0,ha.geo.stream(t,Hu);var e=Uu,n=Fu,r=qu,o=e*e+n*n+r*r;return o=.12&&o<.234&&r>=-.425&&r<-.214?a:o>=.166&&o<.234&&r>=-.214&&r<-.115?u:i).invert(t)},t.stream=function(t){var e=i.stream(t),n=a.stream(t),r=u.stream(t);return{point:function(t,o){e.point(t,o),n.point(t,o),r.point(t,o)},sphere:function(){e.sphere(),n.sphere(),r.sphere()},lineStart:function(){e.lineStart(),n.lineStart(),r.lineStart()},lineEnd:function(){e.lineEnd(),n.lineEnd(),r.lineEnd()},polygonStart:function(){e.polygonStart(),n.polygonStart(),r.polygonStart()},polygonEnd:function(){e.polygonEnd(),n.polygonEnd(),r.polygonEnd()}}},t.precision=function(e){return arguments.length?(i.precision(e),a.precision(e),u.precision(e),t):i.precision()},t.scale=function(e){return arguments.length?(i.scale(e),a.scale(.35*e),u.scale(e),t.translate(i.translate())):i.scale()},t.translate=function(e){if(!arguments.length)return i.translate();var c=i.scale(),l=+e[0],f=+e[1];return n=i.translate(e).clipExtent([[l-.455*c,f-.238*c],[l+.455*c,f+.238*c]]).stream(s).point,r=a.translate([l-.307*c,f+.201*c]).clipExtent([[l-.425*c+qa,f+.12*c+qa],[l-.214*c-qa,f+.234*c-qa]]).stream(s).point,o=u.translate([l-.205*c,f+.212*c]).clipExtent([[l-.214*c+qa,f+.166*c+qa],[l-.115*c-qa,f+.234*c-qa]]).stream(s).point,t},t.scale(1070)};var Wu,Vu,$u,Yu,Ku,Xu,Gu={point:k,lineStart:k,lineEnd:k,polygonStart:function(){Vu=0,Gu.lineStart=Je},polygonEnd:function(){Gu.lineStart=Gu.lineEnd=Gu.point=k,Wu+=Ca(Vu/2)}},Ju={point:Qe,lineStart:k,lineEnd:k,polygonStart:k,polygonEnd:k},Qu={point:en,lineStart:nn,lineEnd:rn,polygonStart:function(){Qu.lineStart=on},polygonEnd:function(){Qu.point=en,Qu.lineStart=nn,Qu.lineEnd=rn}};ha.geo.path=function(){function t(t){return t&&("function"==typeof u&&i.pointRadius(+u.apply(this,arguments)),a&&a.valid||(a=o(i)),ha.geo.stream(t,a)),i.result()}function e(){return a=null,t}var n,r,o,i,a,u=4.5;return t.area=function(t){return Wu=0,ha.geo.stream(t,o(Gu)),Wu},t.centroid=function(t){return Pu=ju=Du=Iu=Ru=Lu=Uu=Fu=qu=0,ha.geo.stream(t,o(Qu)),qu?[Uu/qu,Fu/qu]:Lu?[Iu/Lu,Ru/Lu]:Du?[Pu/Du,ju/Du]:[NaN,NaN]},t.bounds=function(t){return Ku=Xu=-($u=Yu=1/0),ha.geo.stream(t,o(Ju)),[[$u,Yu],[Ku,Xu]]},t.projection=function(t){return arguments.length?(o=(n=t)?t.stream||sn(t):C,e()):n},t.context=function(t){return arguments.length?(i=null==(r=t)?new Ze:new an(t),"function"!=typeof u&&i.pointRadius(u),e()):r},t.pointRadius=function(e){return arguments.length?(u="function"==typeof e?e:(i.pointRadius(+e),+e),t):u},t.projection(ha.geo.albersUsa()).context(null)},ha.geo.transform=function(t){return{stream:function(e){var n=new cn(e);for(var r in t)n[r]=t[r];return n}}},cn.prototype={point:function(t,e){this.stream.point(t,e)},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()}},ha.geo.projection=fn,ha.geo.projectionMutator=pn,(ha.geo.equirectangular=function(){return fn(dn)}).raw=dn.invert=dn,ha.geo.rotation=function(t){function e(e){return e=t(e[0]*$a,e[1]*$a),e[0]*=Ya,e[1]*=Ya,e}return t=gn(t[0]%360*$a,t[1]*$a,t.length>2?t[2]*$a:0),e.invert=function(e){return e=t.invert(e[0]*$a,e[1]*$a),e[0]*=Ya,e[1]*=Ya,e},e},vn.invert=dn,ha.geo.circle=function(){function t(){var t="function"==typeof r?r.apply(this,arguments):r,e=gn(-t[0]*$a,-t[1]*$a,0).invert,o=[];return n(null,null,1,{point:function(t,n){o.push(t=e(t,n)),t[0]*=Ya,t[1]*=Ya}}),{type:"Polygon",coordinates:[o]}}var e,n,r=[0,0],o=6;return t.origin=function(e){return arguments.length?(r=e,t):r},t.angle=function(r){return arguments.length?(n=xn((e=+r)*$a,o*$a),t):e},t.precision=function(r){return arguments.length?(n=xn(e*$a,(o=+r)*$a),t):o},t.angle(90)},ha.geo.distance=function(t,e){var n,r=(e[0]-t[0])*$a,o=t[1]*$a,i=e[1]*$a,a=Math.sin(r),u=Math.cos(r),s=Math.sin(o),c=Math.cos(o),l=Math.sin(i),f=Math.cos(i);return Math.atan2(Math.sqrt((n=f*a)*n+(n=c*l-s*f*u)*n),s*l+c*f*u)},ha.geo.graticule=function(){function t(){return{type:"MultiLineString",coordinates:e()}}function e(){return ha.range(Math.ceil(i/g)*g,o,g).map(p).concat(ha.range(Math.ceil(c/y)*y,s,y).map(h)).concat(ha.range(Math.ceil(r/d)*d,n,d).filter(function(t){return Ca(t%g)>qa}).map(l)).concat(ha.range(Math.ceil(u/v)*v,a,v).filter(function(t){return Ca(t%y)>qa}).map(f))}var n,r,o,i,a,u,s,c,l,f,p,h,d=10,v=d,g=90,y=360,m=2.5;return t.lines=function(){return e().map(function(t){return{type:"LineString",coordinates:t}})},t.outline=function(){return{type:"Polygon",coordinates:[p(i).concat(h(s).slice(1),p(o).reverse().slice(1),h(c).reverse().slice(1))]}},t.extent=function(e){return arguments.length?t.majorExtent(e).minorExtent(e):t.minorExtent()},t.majorExtent=function(e){return arguments.length?(i=+e[0][0],o=+e[1][0],c=+e[0][1],s=+e[1][1],i>o&&(e=i,i=o,o=e),c>s&&(e=c,c=s,s=e),t.precision(m)):[[i,c],[o,s]]},t.minorExtent=function(e){return arguments.length?(r=+e[0][0],n=+e[1][0],u=+e[0][1],a=+e[1][1],r>n&&(e=r,r=n,n=e),u>a&&(e=u,u=a,a=e),t.precision(m)):[[r,u],[n,a]]},t.step=function(e){return arguments.length?t.majorStep(e).minorStep(e):t.minorStep()},t.majorStep=function(e){return arguments.length?(g=+e[0],y=+e[1],t):[g,y]},t.minorStep=function(e){return arguments.length?(d=+e[0],v=+e[1],t):[d,v]},t.precision=function(e){return arguments.length?(m=+e,l=_n(u,a,90),f=Cn(r,n,m),p=_n(c,s,90),h=Cn(i,o,m),t):m},t.majorExtent([[-180,-90+qa],[180,90-qa]]).minorExtent([[-180,-80-qa],[180,80+qa]])},ha.geo.greatArc=function(){function t(){return{type:"LineString",coordinates:[e||r.apply(this,arguments),n||o.apply(this,arguments)]}}var e,n,r=En,o=Mn;return t.distance=function(){return ha.geo.distance(e||r.apply(this,arguments),n||o.apply(this,arguments))},t.source=function(n){return arguments.length?(r=n,e="function"==typeof n?null:n,t):r},t.target=function(e){return arguments.length?(o=e,n="function"==typeof e?null:e,t):o},t.precision=function(){return arguments.length?t:0},t},ha.geo.interpolate=function(t,e){return kn(t[0]*$a,t[1]*$a,e[0]*$a,e[1]*$a)},ha.geo.length=function(t){return Zu=0,ha.geo.stream(t,ts),Zu};var Zu,ts={sphere:k,point:k,lineStart:Sn,lineEnd:k,polygonStart:k,polygonEnd:k},es=Tn(function(t){return Math.sqrt(2/(1+t))},function(t){return 2*Math.asin(t/2)});(ha.geo.azimuthalEqualArea=function(){return fn(es)}).raw=es;var ns=Tn(function(t){var e=Math.acos(t);return e&&e/Math.sin(e)},C);(ha.geo.azimuthalEquidistant=function(){return fn(ns)}).raw=ns,(ha.geo.conicConformal=function(){return Xe(Nn)}).raw=Nn,(ha.geo.conicEquidistant=function(){return Xe(On)}).raw=On;var rs=Tn(function(t){return 1/t},Math.atan);(ha.geo.gnomonic=function(){return fn(rs)}).raw=rs,An.invert=function(t,e){return[t,2*Math.atan(Math.exp(e))-Va]},(ha.geo.mercator=function(){return Pn(An)}).raw=An;var os=Tn(function(){return 1},Math.asin);(ha.geo.orthographic=function(){return fn(os)}).raw=os;var is=Tn(function(t){return 1/(1+t)},function(t){return 2*Math.atan(t)});(ha.geo.stereographic=function(){return fn(is)}).raw=is,jn.invert=function(t,e){return[-e,2*Math.atan(Math.exp(t))-Va]},(ha.geo.transverseMercator=function(){var t=Pn(jn),e=t.center,n=t.rotate;return t.center=function(t){return t?e([-t[1],t[0]]):(t=e(),[t[1],-t[0]])},t.rotate=function(t){return t?n([t[0],t[1],t.length>2?t[2]+90:90]):(t=n(),[t[0],t[1],t[2]-90])},n([0,0,90])}).raw=jn,ha.geom={},ha.geom.hull=function(t){function e(t){if(t.length<3)return[];var e,o=At(n),i=At(r),a=t.length,u=[],s=[];for(e=0;e=0;--e)h.push(t[u[c[e]][2]]);for(e=+f;e=r&&c.x<=i&&c.y>=o&&c.y<=a?[[r,a],[i,a],[i,o],[r,o]]:[];l.point=t[u]}),e}function n(t){return t.map(function(t,e){return{x:Math.round(i(t,e)/qa)*qa,y:Math.round(a(t,e)/qa)*qa,i:e}})}var r=Dn,o=In,i=r,a=o,u=ds;return t?e(t):(e.links=function(t){return pr(n(t)).edges.filter(function(t){return t.l&&t.r}).map(function(e){return{source:t[e.l.i],target:t[e.r.i]}})},e.triangles=function(t){var e=[];return pr(n(t)).cells.forEach(function(n,r){for(var o,i,a=n.site,u=n.edges.sort(Gn),s=-1,c=u.length,l=u[c-1].edge,f=l.l===a?l.r:l.l;++s=c,p=r>=l,h=p<<1|f;t.leaf=!1,t=t.nodes[h]||(t.nodes[h]=yr()),f?o=c:u=c,p?a=l:s=l,i(t,e,n,r,o,a,u,s)}var l,f,p,h,d,v,g,y,m,b=At(u),x=At(s);if(null!=e)v=e,g=n,y=r,m=o;else if(y=m=-(v=g=1/0),f=[],p=[],d=t.length,a)for(h=0;hy&&(y=l.x),l.y>m&&(m=l.y),f.push(l.x),p.push(l.y);else for(h=0;hy&&(y=w),_>m&&(m=_),f.push(w),p.push(_)}var C=y-v,E=m-g;C>E?m=g+C:y=v+E;var M=yr();if(M.add=function(t){i(M,t,+b(t,++h),+x(t,h),v,g,y,m)},M.visit=function(t){mr(t,M,v,g,y,m)},M.find=function(t){return br(M,t[0],t[1],v,g,y,m)},h=-1,null==e){for(;++h=0?t.slice(0,e):t,r=e>=0?t.slice(e+1):"in";return n=ms.get(n)||ys,r=bs.get(r)||C,kr(r(n.apply(null,da.call(arguments,1))))},ha.interpolateHcl=Fr,ha.interpolateHsl=qr,ha.interpolateLab=Hr,ha.interpolateRound=Br,ha.transform=function(t){var e=ga.createElementNS(ha.ns.prefix.svg,"g");return(ha.transform=function(t){if(null!=t){e.setAttribute("transform",t);var n=e.transform.baseVal.consolidate()}return new zr(n?n.matrix:xs)})(t)},zr.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};var xs={a:1,b:0,c:0,d:1,e:0,f:0};ha.interpolateTransform=Qr,ha.layout={},ha.layout.bundle=function(){return function(t){for(var e=[],n=-1,r=t.length;++n0?o=t:(n.c=null,n.t=NaN,n=null,c.end({type:"end",alpha:o=0})):t>0&&(c.start({type:"start",alpha:o=t}),n=Rt(s.tick)),s):o},s.start=function(){function t(t,r){if(!n){for(n=new Array(o),s=0;s=0;)a.push(l=c[s]),l.parent=i,l.depth=i.depth+1;r&&(i.value=0),i.children=c}else r&&(i.value=+r.call(t,i,i.depth)||0),delete i.children;return fo(o,function(t){var n,o;e&&(n=t.children)&&n.sort(e),r&&(o=t.parent)&&(o.value+=t.value)}),u}var e=vo,n=po,r=ho;return t.sort=function(n){return arguments.length?(e=n,t):e},t.children=function(e){return arguments.length?(n=e,t):n},t.value=function(e){return arguments.length?(r=e,t):r},t.revalue=function(e){return r&&(lo(e,function(t){t.children&&(t.value=0)}),fo(e,function(e){var n;e.children||(e.value=+r.call(t,e,e.depth)||0),(n=e.parent)&&(n.value+=e.value)})),e},t},ha.layout.partition=function(){function t(e,n,r,o){var i=e.children;if(e.x=n,e.y=e.depth*o,e.dx=r,e.dy=o,i&&(a=i.length)){var a,u,s,c=-1;for(r=e.value?r/e.value:0;++cu&&(u=r),a.push(r)}for(n=0;n0)for(i=-1;++i=l[0]&&u<=l[1]&&(a=s[ha.bisect(f,u,1,h)-1],a.y+=d,a.push(t[i]));return s}var e=!0,n=Number,r=So,o=Mo;return t.value=function(e){return arguments.length?(n=e,t):n},t.range=function(e){return arguments.length?(r=At(e),t):r},t.bins=function(e){return arguments.length?(o="number"==typeof e?function(t){return ko(t,e)}:At(e),t):o},t.frequency=function(n){return arguments.length?(e=!!n,t):e},t},ha.layout.pack=function(){function t(t,i){var a=n.call(this,t,i),u=a[0],s=o[0],c=o[1],l=null==e?Math.sqrt:"function"==typeof e?e:function(){return e};if(u.x=u.y=0,fo(u,function(t){t.r=+l(t.value)}),fo(u,Po),r){var f=r*(e?1:Math.max(2*u.r/s,2*u.r/c))/2;fo(u,function(t){t.r+=f}),fo(u,Po),fo(u,function(t){t.r-=f})}return Io(u,s/2,c/2,e?1:1/Math.max(2*u.r/s,2*u.r/c)),a}var e,n=ha.layout.hierarchy().sort(To),r=0,o=[1,1];return t.size=function(e){return arguments.length?(o=e,t):o},t.radius=function(n){return arguments.length?(e=null==n||"function"==typeof n?n:+n,t):e},t.padding=function(e){return arguments.length?(r=+e,t):r},co(t,n)},ha.layout.tree=function(){function t(t,o){var l=a.call(this,t,o),f=l[0],p=e(f);if(fo(p,n),p.parent.m=-p.z,lo(p,r),c)lo(f,i);else{var h=f,d=f,v=f;lo(f,function(t){t.xd.x&&(d=t),t.depth>v.depth&&(v=t)});var g=u(h,d)/2-h.x,y=s[0]/(d.x+u(d,h)/2+g),m=s[1]/(v.depth||1);lo(f,function(t){t.x=(t.x+g)*y,t.y=t.depth*m})}return l}function e(t){for(var e,n={A:null,children:[t]},r=[n];null!=(e=r.pop());)for(var o,i=e.children,a=0,u=i.length;a0&&(qo(Bo(a,t,n),t,r),c+=r,l+=r),f+=a.m,c+=o.m,p+=s.m,l+=i.m;a&&!Fo(i)&&(i.t=a,i.m+=f-l),o&&!Uo(s)&&(s.t=o,s.m+=c-p,n=t)}return n}function i(t){t.x*=s[0],t.y=t.depth*s[1]}var a=ha.layout.hierarchy().sort(null).value(null),u=Lo,s=[1,1],c=null;return t.separation=function(e){return arguments.length?(u=e,t):u},t.size=function(e){return arguments.length?(c=null==(s=e)?i:null,t):c?null:s},t.nodeSize=function(e){return arguments.length?(c=null==(s=e)?null:i,t):c?s:null},co(t,a)},ha.layout.cluster=function(){function t(t,i){var a,u=e.call(this,t,i),s=u[0],c=0;fo(s,function(t){var e=t.children;e&&e.length?(t.x=Wo(e),t.y=zo(e)):(t.x=a?c+=n(t,a):0,t.y=0,a=t)});var l=Vo(s),f=$o(s),p=l.x-n(l,f)/2,h=f.x+n(f,l)/2;return fo(s,o?function(t){t.x=(t.x-s.x)*r[0],t.y=(s.y-t.y)*r[1]}:function(t){t.x=(t.x-p)/(h-p)*r[0],t.y=(1-(s.y?t.y/s.y:1))*r[1]}),u}var e=ha.layout.hierarchy().sort(null).value(null),n=Lo,r=[1,1],o=!1;return t.separation=function(e){return arguments.length?(n=e,t):n},t.size=function(e){return arguments.length?(o=null==(r=e),t):o?null:r},t.nodeSize=function(e){return arguments.length?(o=null!=(r=e),t):o?r:null},co(t,e)},ha.layout.treemap=function(){function t(t,e){for(var n,r,o=-1,i=t.length;++o0;)l.push(a=p[s-1]),l.area+=a.area,"squarify"!==h||(u=r(l,v))<=d?(p.pop(),d=u):(l.area-=l.pop().area,o(l,v,c,!1),v=Math.min(c.dx,c.dy),l.length=l.area=0,d=1/0);l.length&&(o(l,v,c,!0),l.length=l.area=0),i.forEach(e)}}function n(e){var r=e.children;if(r&&r.length){var i,a=f(e),u=r.slice(),s=[];for(t(u,a.dx*a.dy/e.value),s.area=0;i=u.pop();)s.push(i),s.area+=i.area,null!=i.z&&(o(s,i.z?a.dx:a.dy,a,!u.length),s.length=s.area=0);r.forEach(n)}}function r(t,e){for(var n,r=t.area,o=0,i=1/0,a=-1,u=t.length;++ao&&(o=n));return r*=r,e*=e,r?Math.max(e*o*d/r,r/(e*i*d)):1/0}function o(t,e,n,r){var o,i=-1,a=t.length,u=n.x,c=n.y,l=e?s(t.area/e):0;if(e==n.dx){for((r||l>n.dy)&&(l=n.dy);++in.dx)&&(l=n.dx);++i1);return t+e*n*Math.sqrt(-2*Math.log(o)/o)}},logNormal:function(){var t=ha.random.normal.apply(ha,arguments);return function(){return Math.exp(t())}},bates:function(t){var e=ha.random.irwinHall(t);return function(){return e()/t}},irwinHall:function(t){return function(){for(var e=0,n=0;nf?0:1;if(c=Wa)return e(c,h)+(t?e(t,1-h):"")+"Z";var d,v,g,y,m,b,x,w,_,C,E,M,k=0,S=0,T=[];if((y=(+s.apply(this,arguments)||0)/2)&&(g=i===Is?Math.sqrt(t*t+c*c):+i.apply(this,arguments),h||(S*=-1),c&&(S=at(g/c*Math.sin(y))),t&&(k=at(g/t*Math.sin(y)))),c){m=c*Math.cos(l+S),b=c*Math.sin(l+S),x=c*Math.cos(f-S),w=c*Math.sin(f-S);var N=Math.abs(f-l-2*S)<=Ba?0:1;if(S&&Ci(m,b,x,w)===h^N){var O=(l+f)/2;m=c*Math.cos(O),b=c*Math.sin(O),x=w=null}}else m=b=0;if(t){_=t*Math.cos(f-k),C=t*Math.sin(f-k),E=t*Math.cos(l+k),M=t*Math.sin(l+k);var A=Math.abs(l-f+2*k)<=Ba?0:1;if(k&&Ci(_,C,E,M)===1-h^A){var P=(l+f)/2;_=t*Math.cos(P),C=t*Math.sin(P),E=M=null}}else _=C=0;if(p>qa&&(d=Math.min(Math.abs(c-t)/2,+o.apply(this,arguments)))>.001){v=tBa)+",1 "+e}function o(t,e,n,r){return"Q 0,0 "+r}var i=En,a=Mn,u=Ki,s=xi,c=wi;return t.radius=function(e){return arguments.length?(u=At(e),t):u},t.source=function(e){return arguments.length?(i=At(e),t):i},t.target=function(e){return arguments.length?(a=At(e),t):a},t.startAngle=function(e){return arguments.length?(s=At(e),t):s},t.endAngle=function(e){return arguments.length?(c=At(e),t):c},t},ha.svg.diagonal=function(){function t(t,o){var i=e.call(this,t,o),a=n.call(this,t,o),u=(i.y+a.y)/2,s=[i,{x:i.x,y:u},{x:a.x,y:u},a];return s=s.map(r),"M"+s[0]+"C"+s[1]+" "+s[2]+" "+s[3]}var e=En,n=Mn,r=Xi;return t.source=function(n){return arguments.length?(e=At(n),t):e},t.target=function(e){return arguments.length?(n=At(e),t):n},t.projection=function(e){return arguments.length?(r=e,t):r},t},ha.svg.diagonal.radial=function(){var t=ha.svg.diagonal(),e=Xi,n=t.projection;return t.projection=function(t){return arguments.length?n(Gi(e=t)):e},t},ha.svg.symbol=function(){function t(t,r){return(qs.get(e.call(this,t,r))||Zi)(n.call(this,t,r))}var e=Qi,n=Ji;return t.type=function(n){return arguments.length?(e=At(n),t):e},t.size=function(e){return arguments.length?(n=At(e),t):n},t};var qs=ha.map({circle:Zi,cross:function(t){var e=Math.sqrt(t/5)/2;return"M"+-3*e+","+-e+"H"+-e+"V"+-3*e+"H"+e+"V"+-e+"H"+3*e+"V"+e+"H"+e+"V"+3*e+"H"+-e+"V"+e+"H"+-3*e+"Z"},diamond:function(t){var e=Math.sqrt(t/(2*Bs)),n=e*Bs;return"M0,"+-e+"L"+n+",0 0,"+e+" "+-n+",0Z"},square:function(t){var e=Math.sqrt(t)/2;return"M"+-e+","+-e+"L"+e+","+-e+" "+e+","+e+" "+-e+","+e+"Z"},"triangle-down":function(t){var e=Math.sqrt(t/Hs),n=e*Hs/2;return"M0,"+n+"L"+e+","+-n+" "+-e+","+-n+"Z"},"triangle-up":function(t){var e=Math.sqrt(t/Hs),n=e*Hs/2;return"M0,"+-n+"L"+e+","+n+" "+-e+","+n+"Z"}});ha.svg.symbolTypes=qs.keys();var Hs=Math.sqrt(3),Bs=Math.tan(30*$a);Pa.transition=function(t){for(var e,n,r=zs||++Ys,o=oa(t),i=[],a=Ws||{time:Date.now(),ease:Ar,delay:0,duration:250},u=-1,s=this.length;++ul){for(var e=0,n=u.length-c;e-1){var r=t.substring(e+1,n);return r}return t}},{key:"createNewNodeValue",value:function(t){var e=this.props.data,n=[].concat(o(t));return 1==n.length?this.state.rootState:(n.reverse().splice(0,1),n.forEach(function(t,n){var r=t.lastIndexOf("["),o=t.lastIndexOf("]");if(r>-1){var i=t.substring(r+1,o);return e=e[i]}e=e[t]}),e)}},{key:"generateDataFromBreadcumb",value:function(t){var e=this.state.rootState;return t.forEach(function(t,n){e=e[t]}),e}},{key:"gotToChart",value:function(t){var e=this.state.breadcrumbs.slice(1,t+1),n=this.generateDataFromBreadcumb(e),r={};0===t?r=Object.assign({},n):r[e[e.length-1]]=n,this.setState({breadcrumbs:this.state.breadcrumbs.slice(0,t+1)}),this.props.changeTargetNodeOnChart(r)}},{key:"renderIngChart",value:function(){var t=this,e={state:this.props.data,rootKeyName:"response",onClickText:function(e){var n=e,r=void 0,o=!1,i=t.createValidPath(e.name);if(t.state.breadcrumbs[t.state.breadcrumbs.length-1]!==n.name&&1!==n.depth||t.state.breadcrumbs[t.state.breadcrumbs.length-1]!==n.name&&1==n.depth)for(o=!0,r=[e.name];e.hasOwnProperty("parent")&&e.parent.hasOwnProperty("name");)r.push(t.createValidPath(e.parent.name)),e=e.parent;else r=t.state.breadcrumbs;var a=r,u=t.createNewNodeValue(a),s={};if(0==n.depth?s=Object.assign({},u):s[i]=u,t.props.changeTargetNodeOnChart(s),o)if(0===n.depth)t.setState({breadcrumbs:["response"]});else{var c=t.state.breadcrumbs,l=[];a.forEach(function(e,n){if(c.indexOf(e)===-1){var r=t.createValidPath(e);l.push(r)}}),t.setState({breadcrumbs:t.state.breadcrumbs.concat(l.reverse())})}},id:"treeExample",size:window.innerWidth-100,aspectRatio:.8,isSorted:!1,margin:{top:50,left:100},widthBetweenNodesCoeff:1.5,heightBetweenNodesCoeff:2,style:{node:{colors:{collapsed:"red",parent:"#01ff70",default:"#1FB3D5"},stroke:"white"},text:{colors:{default:"#A15AEC",hover:"#3DAAE0"},"font-size":"12px"},link:{stroke:"#188E3F",fill:"none"}},tooltipOptions:{offset:{left:50,top:10},indentationSize:2,style:{background:"#222",padding:"8px",color:"#4FDEE5","border-radius":"2px","box-shadow":"0 7px 7px 0 #111","font-size":"13px","line-height":"1.3"}}};this.renderChart=(0,p.tree)((0,f.findDOMNode)(this),e),this.renderChart()}},{key:"componentWillMount",value:function(){this.prepareComponentState(this.props)}},{key:"componentWillReceiveProps",value:function(t){this.prepareComponentState(t),this.renderChart(t.data||t.state)}},{key:"prepareComponentState",value:function(t){this.setState({chartData:t.data})}},{key:"componentDidMount",value:function(){this.renderIngChart()}},{key:"render",value:function(){var t=this;return l.default.createElement("div",null,l.default.createElement("div",{className:"breadcumb"},l.default.createElement("ul",null,this.state.breadcrumbs.map(function(e,n){return l.default.createElement("li",{key:n},l.default.createElement("a",{href:"#",onClick:t.gotToChart.bind(t,n)}," ",e," "))}))),l.default.createElement("div",{className:"chart-holder"}))}}]),e}(c.Component);e.default=h},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var u=function(){function t(t,e){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:null;this.resetErrors();var e=t&&"string"==typeof t?t:this.refs.rawJSON.value.trim();if(!t&&!e)return void this.setState({errors:Object.assign({},this.state.errors,Object.assign({},this.state.errors,{rawJSON:Object.assign({},this.state.errors.rawJSON,{status:!0})}))});try{var n=JSON.parse(e);this.props.changeJSON(n)}catch(t){this.setState({errors:Object.assign({},this.state.errors,Object.assign({},this.state.errors,{jsonParseFailed:Object.assign({},this.state.errors.jsonParseFailed,{status:!0})}))})}}},{key:"showFileDialog",value:function(){var t=document.getElementById("fileInput");t&&t.click()}},{key:"handleFileInputChange",value:function(t){var e=this,n=t.target.files;if(n.length){var r=new FileReader;r.onload=function(t){e.parseJSON(t.target.result)},r.readAsText(n[0])}}},{key:"resetErrors",value:function(){this.setState({errors:Object.assign({},this.state.errors,Object.assign({},this.state.errors,{jsonParseFailed:Object.assign({},this.state.errors.jsonParseFailed,{status:!1}),rawJSON:Object.assign({},this.state.errors.rawJSON,{status:!1})}))})}},{key:"render",value:function(){return c.default.createElement("div",{className:"json-input-section"},c.default.createElement("div",{className:"json-logo"},c.default.createElement("span",null,"{..}")),c.default.createElement("h1",null,"JSON formatted text"),this.state.errors.jsonParseFailed.status&&c.default.createElement("div",{className:"json-input-error-msg"},this.state.errors.jsonParseFailed.message),this.state.errors.rawJSON.status&&c.default.createElement("div",{className:"json-input-error-msg"},this.state.errors.rawJSON.message),c.default.createElement("div",{className:"form-input"},c.default.createElement("textarea",{ref:"rawJSON",defaultValue:this.state.json,className:"json-input"})),c.default.createElement("input",{className:"d-none",onChange:this.handleFileInputChange.bind(this),accept:"application/json",type:"file",id:"fileInput"}),c.default.createElement("div",{className:"form-input save-btn-area"},c.default.createElement("button",{type:"button",className:"btn btn-big btn-white",onClick:this.parseJSON.bind(this)},"Parse JSON"),c.default.createElement("button",{type:"button",className:"btn btn-big btn-white",onClick:this.showFileDialog.bind(this)},"Load a file")))}}]),e}(s.Component));e.default=l},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var u=function(){function t(t,e){for(var n=0;n-1?t.substring(e+1,n):t}},{key:"createValidPath",value:function(t){var e="";return t.forEach(function(t,n){e=0===n?e.concat(t):t.indexOf("-")>-1?e+"['"+t+"']":isNaN(t)===!1?e+"["+t+"]":e.concat(".").concat(t)}),e}},{key:"findPath",value:function(t,e){var n=[],r=f(e.target).parents("li").first().text(),o=r.indexOf(":"),i=r.substring(o+1),a=f(e.target).parentsUntil("#json-rb");f(a).each(function(e,r){if("LI"==f(r).get(0).tagName&&"UL"==f(r).parent()[0].tagName){var o=f(r).find("span.property").eq(0).text();n.push(t.getArrayIndex(o.replace(/\"+/g,"")))}if("LI"==f(r).get(0).tagName&&"OL"==f(r).parent()[0].tagName){var i=f(r).parent("OL").parent("li").find("span.property").eq(0).text()+"["+f(r).index()+"]";n.push(t.getArrayIndex(i.replace(/\"+/g,"")))}}),","===i[i.length-1]&&(i=i.substring(0,i.length-1)),t.setState({actualPath:t.createValidPath(n.reverse()),value:i})}},{key:"toggleSection",value:function(t){t.preventDefault();var e=f(t.target).toggleClass("collapsed").siblings("ul.json-dict, ol.json-array");if(e.toggle(),e.is(":visible"))e.siblings(".json-placeholder").remove();else{var n=e.children("li").length,r=n+(n>1?" items":" item");e.after(''+r+"")}}},{key:"componentDidMount",value:function(){if(window.json=this.props.data,this.$node=f(this.refs.jsonRenderer),f){var t={collapsed:0,withQuotes:!0};(0,l.initPlugin)(this.$node,f,this.props.data,t),f(document).on("click","span.property",this.changeCopyIconLocation),f(document).on("click","a.json-toggle",this.toggleSection),setTimeout(function(){1==(window.extensionOptions||{}).collapsed&&f.each(f("a.json-toggle"),function(t,e){t>0&&f(e).trigger("click")})},1e3)}}},{key:"componentWillUnmount",value:function(){f(document).off("click","span.property",this.changeCopyIconLocation),f(document).off("click","a.json-toggle",this.toggleSection)}},{key:"render",value:function(){return window.json=this.props.data,c.default.createElement("div",null,c.default.createElement("a",{className:"copier",style:{top:this.state.top,display:this.state.showCopier?"block":"none"}},c.default.createElement("ul",{className:"copyMenu"},c.default.createElement("li",null,c.default.createElement("a",{onClick:this.copy.bind(this,event,"path")},"Copy path")),c.default.createElement("li",null,c.default.createElement("a",{onClick:this.copy.bind(this,event,"value")},"Copy Value")))),c.default.createElement("pre",{ref:"jsonRenderer",id:"json-rb"}))}}]),e}(s.Component);e.default=p},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t){return function(){var e=t.apply(this,arguments);return new Promise(function(t,n){function r(o,i){try{var a=e[o](i),u=a.value}catch(t){return void n(t)}return a.done?void t(u):Promise.resolve(u).then(function(t){r("next",t)},function(t){r("throw",t)})}return r("next")})}}var i=n(126),a=r(i),u=n(24),s=r(u),c=n(90),l=r(c),f=n(120),p=r(f);n(140);var h={theme:"default",collapsed:0,css:"/**Write your CSS style **/\n .property{\n /*color:#994c9e;*/\n }\n\n .json-literal-numeric{\n /*color:#F5B041;*/\n }\n\n .json-literal-url {\n /*color: #34a632;*/\n }\n\n .json-literal-string{\n /*color:#0642b0;*/\n }\n\n .json-literal{\n /*color:#b568de;*/\n }\n\n .json-literal-boolean{\n /*color: #f23ebb;*/\n }"},d=function(){var t=o(a.default.mark(function t(){var e,n,r;return a.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(t.prev=0,e=document.querySelector('meta[name="extension-options"]'),n=e&&e.getAttribute("content"),!n){t.next=5;break}return t.abrupt("return",JSON.parse(n));case 5:if(!window.location.href.includes("chrome-extension://")||!window.location.search.includes("options")){t.next=7;break}return t.abrupt("return",JSON.parse(decodeURIComponent(new URLSearchParams(window.location.search).get("options"))));case 7:if(r=window.chrome,!(r&&r.storage&&r.storage.local)){t.next=12;break}return t.next=11,r.storage.local.get(["rb-awesome-json-viewer-options"]);case 11:return t.abrupt("return",t.sent);case 12:t.next=17;break;case 14:t.prev=14,t.t0=t.catch(0),console.error("Error while fetching options",t.t0);case 17:return t.abrupt("return",h);case 18:case"end":return t.stop()}},t,void 0,[[0,14]])}));return function(){return t.apply(this,arguments)}}();o(a.default.mark(function t(){var e,n,r;return a.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,e=document.body.textContent,n=JSON.parse(e.trim()),window.json=n,t.next=6,d();case 6:window.extensionOptions=t.sent,r=document.createElement("div"),r.setAttribute("id","rbrahul-awesome-json"),document.body.innerHTML="",document.body.appendChild(r),l.default.render(s.default.createElement(p.default,{json:n}),document.getElementById("rbrahul-awesome-json")),t.next=17;break;case 14:t.prev=14,t.t0=t.catch(0),console.error("Something went wrong at Awesome JSON Viewer Pro",t.t0);case 17:case"end":return t.stop()}},t,void 0,[[0,14]])}))()},function(t,e,n){t.exports=n(127)},function(t,e,n){(function(e){var r="object"==typeof e?e:"object"==typeof window?window:"object"==typeof self?self:this,o=r.regeneratorRuntime&&Object.getOwnPropertyNames(r).indexOf("regeneratorRuntime")>=0,i=o&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,t.exports=n(128),o)r.regeneratorRuntime=i;else try{delete r.regeneratorRuntime}catch(t){r.regeneratorRuntime=void 0}}).call(e,function(){return this}())},function(t,e){(function(e){!function(e){"use strict";function n(t,e,n,r){var i=e&&e.prototype instanceof o?e:o,a=Object.create(i.prototype),u=new h(r||[]);return a._invoke=c(t,n,u),a}function r(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}function o(){}function i(){}function a(){}function u(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function s(t){function n(e,o,i,a){var u=r(t[e],t,o);if("throw"!==u.type){var s=u.arg,c=s.value;return c&&"object"==typeof c&&m.call(c,"__await")?Promise.resolve(c.__await).then(function(t){n("next",t,i,a)},function(t){n("throw",t,i,a)}):Promise.resolve(c).then(function(t){s.value=t,i(s)},a)}a(u.arg)}function o(t,e){function r(){return new Promise(function(r,o){n(t,e,r,o)})}return i=i?i.then(r,r):r()}"object"==typeof e.process&&e.process.domain&&(n=e.process.domain.bind(n));var i;this._invoke=o}function c(t,e,n){var o=M;return function(i,a){if(o===S)throw new Error("Generator is already running");if(o===T){if("throw"===i)throw a;return v()}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var s=l(u,n);if(s){if(s===N)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===M)throw o=T, +n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=S;var c=r(t,e,n);if("normal"===c.type){if(o=n.done?T:k,c.arg===N)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=T,n.method="throw",n.arg=c.arg)}}}function l(t,e){var n=t.iterator[e.method];if(n===g){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=g,l(t,e),"throw"===e.method))return N;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return N}var o=r(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,N;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=g),e.delegate=null,N):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,N)}function f(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function p(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function h(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(f,this),this.reset(!0)}function d(t){if(t){var e=t[x];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,r=function e(){for(;++n=0;--r){var o=this.tryEntries[r],i=o.completion;if("root"===o.tryLoc)return e("end");if(o.tryLoc<=this.prev){var a=m.call(o,"catchLoc"),u=m.call(o,"finallyLoc");if(a&&u){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&m.call(r,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),p(n),N}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;p(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:d(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=g),N}}}("object"==typeof e?e:"object"==typeof window?window:"object"==typeof self?self:this)}).call(e,function(){return this}())},function(t,e,n){"use strict";function r(t){return t}function o(t,e,n){function o(t,e){var n=m.hasOwnProperty(e)?m[e]:null;C.hasOwnProperty(e)&&s("OVERRIDE_BASE"===n,"ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",e),t&&s("DEFINE_MANY"===n||"DEFINE_MANY_MERGED"===n,"ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",e)}function i(t,n){if(n){s("function"!=typeof n,"ReactClass: You're attempting to use a component class or function as a mixin. Instead, just use a regular object."),s(!e(n),"ReactClass: You're attempting to use a component as a mixin. Instead, just use a regular object.");var r=t.prototype,i=r.__reactAutoBindPairs;n.hasOwnProperty(c)&&x.mixins(t,n.mixins);for(var a in n)if(n.hasOwnProperty(a)&&a!==c){var u=n[a],l=r.hasOwnProperty(a);if(o(l,a),x.hasOwnProperty(a))x[a](t,u);else{var f=m.hasOwnProperty(a),d="function"==typeof u,v=d&&!f&&!l&&n.autobind!==!1;if(v)i.push(a,u),r[a]=u;else if(l){var g=m[a];s(f&&("DEFINE_MANY_MERGED"===g||"DEFINE_MANY"===g),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",g,a),"DEFINE_MANY_MERGED"===g?r[a]=p(r[a],u):"DEFINE_MANY"===g&&(r[a]=h(r[a],u))}else r[a]=u}}}else;}function l(t,e){if(e)for(var n in e){var r=e[n];if(e.hasOwnProperty(n)){var o=n in x;s(!o,'ReactClass: You are attempting to define a reserved property, `%s`, that shouldn\'t be on the "statics" key. Define it as an instance property instead; it will still be accessible on the constructor.',n);var i=n in t;if(i){var a=b.hasOwnProperty(n)?b[n]:null;return s("DEFINE_MANY_MERGED"===a,"ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",n),void(t[n]=p(t[n],r))}t[n]=r}}}function f(t,e){s(t&&e&&"object"==typeof t&&"object"==typeof e,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects.");for(var n in e)e.hasOwnProperty(n)&&(s(void 0===t[n],"mergeIntoWithNoDuplicateKeys(): Tried to merge two objects with the same key: `%s`. This conflict may be due to a mixin; in particular, this may be caused by two getInitialState() or getDefaultProps() methods returning objects with clashing keys.",n),t[n]=e[n]);return t}function p(t,e){return function(){var n=t.apply(this,arguments),r=e.apply(this,arguments);if(null==n)return r;if(null==r)return n;var o={};return f(o,n),f(o,r),o}}function h(t,e){return function(){t.apply(this,arguments),e.apply(this,arguments)}}function d(t,e){var n=e.bind(t);return n}function v(t){for(var e=t.__reactAutoBindPairs,n=0;n1&&void 0!==arguments[1]?arguments[1]:{},r=(0,f.default)(v,n),i=r.id,s=r.style,l=r.size,h=r.aspectRatio,g=r.initialZoom,y=r.margin,m=r.isSorted,b=r.widthBetweenNodesCoeff,x=r.heightBetweenNodesCoeff,w=r.transitionDuration,_=r.blinkDuration,C=r.state,E=r.rootKeyName,M=r.pushMethod,k=r.tree,S=r.tooltipOptions,T=r.onClickText,N=l-y.left-y.right,O=l*h-y.top-y.bottom,A=l,P=l*h,j={id:i,preserveAspectRatio:"xMinYMin slice"};s.width||(j.width=A),s.width&&s.height||(j.viewBox="0 0 "+A+" "+P);var D=a.default.select(t),I=a.default.behavior.zoom().scaleExtent([.1,3]).scale(g),R=D.append("svg").attr(j).style(o({cursor:"-webkit-grab"},s)).call(I.on("zoom",function(){var t=a.default.event,e=t.translate,n=t.scale;R.attr("transform","translate("+e+")scale("+n+")")})).append("g").attr({transform:"translate("+(y.left+s.node.radius)+", "+y.top+") scale("+g+")"}),L=a.default.layout.tree().size([N,O]),U=void 0;m&&L.sort(function(t,e){return e.name.toLowerCase()0&&void 0!==arguments[0]?arguments[0]:k||C;U=k?n:(0,c.default)(n,{key:E,pushMethod:M}),!(0,u.isEmpty)(U)&&U.name||(U={name:"error",message:"Please provide a state map or a tree structure"});var r=0,i=0;(0,p.visit)(U,function(t){i=Math.max(t.name.length,i),t.id=t.id||"root"},function(t){return t.children&&t.children.length>0?t.children.map(function(e){return e.id=(t.id||"")+"|"+e.name,e}):null}),t()}};var i=n(135),a=r(i),u=n(18),s=n(243),c=r(s),l=n(139),f=r(l),p=n(133),h=n(136),d=r(h),v={state:void 0,rootKeyName:"state",pushMethod:"push",tree:void 0,id:"d3svg",style:{node:{colors:{default:"#ccc",collapsed:"lightsteelblue",parent:"white"},radius:7},text:{colors:{default:"black",hover:"skyblue"}},link:{stroke:"#000",fill:"none"}},size:500,aspectRatio:1,initialZoom:1,margin:{top:10,right:10,bottom:10,left:50},isSorted:!1,heightBetweenNodesCoeff:2,widthBetweenNodesCoeff:1,transitionDuration:750,blinkDuration:100,onClickText:function(){},tooltipOptions:{disabled:!1,left:void 0,right:void 0,offset:{left:0,top:0},style:void 0}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t){t.children&&(t._children=t.children,t._children.forEach(o),t.children=null)}function i(t){t._children&&(t.children=t._children,t.children.forEach(i),t._children=null)}function a(t){return t.children?(t._children=t.children,t.children=null):t._children&&(t.children=t._children,t._children=null),t}function u(t,e,n){if(t){e(t);var r=n(t);if(r)for(var o=r.length,i=0;i1&&void 0!==arguments[1]?arguments[1]:0;return n.children&&0!==n.children.length?(e.length<=r+1&&e.push(0),e[r+1]+=n.children.length,void n.children.forEach(function(e){t(e,r+1)})):0};return n(t),e}function c(t,e,n){var r=n.indentationSize,o=void 0===r?4:r;if(!(0,l.is)(Object,t))return"";var i=(0,l.join)("  "),a=(0,l.replace)(/\n/g,"
"),u=(0,l.replace)(/\s{2}/g,i(new Array(o))),s=(0,l.pipe)(p.default,a,u),c=t.children||t._children;return"undefined"!=typeof t.value?s(t.value):"undefined"!=typeof t.object?s(t.object):c&&c.length?"childrenCount: "+c.length:"empty"}e.__esModule=!0,e.collapseChildren=o,e.expandChildren=i,e.toggleChildren=a,e.visit=u,e.getNodeGroupByDepthCount=s,e.getTooltipString=c;var l=n(18),f=n(131),p=r(f)},function(t,e,n){"use strict";function r(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}e.__esModule=!0,e.tree=void 0;var o=n(130);Object.defineProperty(e,"tree",{enumerable:!0,get:function(){return o.tree}});var i=r(o);e.default=i},function(t,e,n){var r,o;!function(){function i(t){return t&&(t.ownerDocument||t.document||t).documentElement}function a(t){return t&&(t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView)}function u(t,e){return te?1:t>=e?0:NaN}function s(t){return null===t?NaN:+t}function c(t){return!isNaN(t)}function l(t){return{left:function(e,n,r,o){for(arguments.length<3&&(r=0),arguments.length<4&&(o=e.length);r>>1;t(e[i],n)<0?r=i+1:o=i}return r},right:function(e,n,r,o){for(arguments.length<3&&(r=0),arguments.length<4&&(o=e.length);r>>1;t(e[i],n)>0?o=i:r=i+1}return r}}}function f(t){return t.length}function p(t){for(var e=1;t*e%1;)e*=10;return e}function h(t,e){for(var n in e)Object.defineProperty(t.prototype,n,{value:e[n],enumerable:!1})}function d(){this._=Object.create(null)}function v(t){return(t+="")===Ea||t[0]===Ma?Ma+t:t}function g(t){return(t+="")[0]===Ma?t.slice(1):t}function y(t){return v(t)in this._}function m(t){return(t=v(t))in this._&&delete this._[t]}function b(){var t=[];for(var e in this._)t.push(g(e));return t}function x(){var t=0;for(var e in this._)++t;return t}function w(){for(var t in this._)return!1;return!0}function _(){this._=Object.create(null)}function C(t){return t}function E(t,e,n){return function(){var r=n.apply(e,arguments);return r===e?t:r}}function M(t,e){if(e in t)return e;e=e.charAt(0).toUpperCase()+e.slice(1);for(var n=0,r=ka.length;n=e&&(e=o+1);!(a=u[e])&&++e0&&(t=t.slice(0,u));var c=Ra.get(t);return c&&(t=c,s=Z),u?e?o:r:e?k:i}function Q(t,e){return function(n){var r=ha.event;ha.event=n,e[0]=this.__data__;try{t.apply(this,e)}finally{ha.event=r}}}function Z(t,e){var n=Q(t,e);return function(t){var e=this,r=t.relatedTarget;r&&(r===e||8&r.compareDocumentPosition(e))||n.call(e,t)}}function tt(t){var e=".dragsuppress-"+ ++Ua,n="click"+e,r=ha.select(a(t)).on("touchmove"+e,N).on("dragstart"+e,N).on("selectstart"+e,N);if(null==La&&(La=!("onselectstart"in t)&&M(t.style,"userSelect")),La){var o=i(t).style,u=o[La];o[La]="none"}return function(t){if(r.on(e,null),La&&(o[La]=u),t){var i=function(){r.on(n,null)};r.on(n,function(){N(),i()},!0),setTimeout(i,0)}}}function et(t,e){e.changedTouches&&(e=e.changedTouches[0]);var n=t.ownerSVGElement||t;if(n.createSVGPoint){var r=n.createSVGPoint();if(Fa<0){var o=a(t);if(o.scrollX||o.scrollY){n=ha.select("body").append("svg").style({position:"absolute",top:0,left:0,margin:0,padding:0,border:"none"},"important");var i=n[0][0].getScreenCTM();Fa=!(i.f||i.e),n.remove()}}return Fa?(r.x=e.pageX,r.y=e.pageY):(r.x=e.clientX,r.y=e.clientY),r=r.matrixTransform(t.getScreenCTM().inverse()),[r.x,r.y]}var u=t.getBoundingClientRect();return[e.clientX-u.left-t.clientLeft,e.clientY-u.top-t.clientTop]}function nt(){return ha.event.changedTouches[0].identifier}function rt(t){return t>0?1:t<0?-1:0}function ot(t,e,n){return(e[0]-t[0])*(n[1]-t[1])-(e[1]-t[1])*(n[0]-t[0])}function it(t){return t>1?0:t<-1?Ba:Math.acos(t)}function at(t){return t>1?Va:t<-1?-Va:Math.asin(t)}function ut(t){return((t=Math.exp(t))-1/t)/2}function st(t){return((t=Math.exp(t))+1/t)/2}function ct(t){return((t=Math.exp(2*t))-1)/(t+1)}function lt(t){return(t=Math.sin(t/2))*t}function ft(){}function pt(t,e,n){return this instanceof pt?(this.h=+t,this.s=+e,void(this.l=+n)):arguments.length<2?t instanceof pt?new pt(t.h,t.s,t.l):kt(""+t,St,pt):new pt(t,e,n)}function ht(t,e,n){function r(t){return t>360?t-=360:t<0&&(t+=360),t<60?i+(a-i)*t/60:t<180?a:t<240?i+(a-i)*(240-t)/60:i}function o(t){return Math.round(255*r(t))}var i,a;return t=isNaN(t)?0:(t%=360)<0?t+360:t,e=isNaN(e)?0:e<0?0:e>1?1:e,n=n<0?0:n>1?1:n,a=n<=.5?n*(1+e):n+e-n*e,i=2*n-a,new _t(o(t+120),o(t),o(t-120))}function dt(t,e,n){return this instanceof dt?(this.h=+t,this.c=+e,void(this.l=+n)):arguments.length<2?t instanceof dt?new dt(t.h,t.c,t.l):t instanceof gt?mt(t.l,t.a,t.b):mt((t=Tt((t=ha.rgb(t)).r,t.g,t.b)).l,t.a,t.b):new dt(t,e,n)}function vt(t,e,n){return isNaN(t)&&(t=0),isNaN(e)&&(e=0),new gt(n,Math.cos(t*=$a)*e,Math.sin(t)*e)}function gt(t,e,n){return this instanceof gt?(this.l=+t,this.a=+e,void(this.b=+n)):arguments.length<2?t instanceof gt?new gt(t.l,t.a,t.b):t instanceof dt?vt(t.h,t.c,t.l):Tt((t=_t(t)).r,t.g,t.b):new gt(t,e,n)}function yt(t,e,n){var r=(t+16)/116,o=r+e/500,i=r-n/200;return o=bt(o)*ru,r=bt(r)*ou,i=bt(i)*iu,new _t(wt(3.2404542*o-1.5371385*r-.4985314*i),wt(-.969266*o+1.8760108*r+.041556*i),wt(.0556434*o-.2040259*r+1.0572252*i))}function mt(t,e,n){return t>0?new dt(Math.atan2(n,e)*Ya,Math.sqrt(e*e+n*n),t):new dt(NaN,NaN,t)}function bt(t){return t>.206893034?t*t*t:(t-4/29)/7.787037}function xt(t){return t>.008856?Math.pow(t,1/3):7.787037*t+4/29}function wt(t){return Math.round(255*(t<=.00304?12.92*t:1.055*Math.pow(t,1/2.4)-.055))}function _t(t,e,n){return this instanceof _t?(this.r=~~t,this.g=~~e,void(this.b=~~n)):arguments.length<2?t instanceof _t?new _t(t.r,t.g,t.b):kt(""+t,_t,ht):new _t(t,e,n)}function Ct(t){return new _t(t>>16,t>>8&255,255&t)}function Et(t){return Ct(t)+""}function Mt(t){return t<16?"0"+Math.max(0,t).toString(16):Math.min(255,t).toString(16)}function kt(t,e,n){var r,o,i,a=0,u=0,s=0;if(r=/([a-z]+)\((.*)\)/.exec(t=t.toLowerCase()))switch(o=r[2].split(","),r[1]){case"hsl":return n(parseFloat(o[0]),parseFloat(o[1])/100,parseFloat(o[2])/100);case"rgb":return e(Ot(o[0]),Ot(o[1]),Ot(o[2]))}return(i=su.get(t))?e(i.r,i.g,i.b):(null==t||"#"!==t.charAt(0)||isNaN(i=parseInt(t.slice(1),16))||(4===t.length?(a=(3840&i)>>4,a|=a>>4,u=240&i,u|=u>>4,s=15&i,s|=s<<4):7===t.length&&(a=(16711680&i)>>16,u=(65280&i)>>8,s=255&i)),e(a,u,s))}function St(t,e,n){var r,o,i=Math.min(t/=255,e/=255,n/=255),a=Math.max(t,e,n),u=a-i,s=(a+i)/2;return u?(o=s<.5?u/(a+i):u/(2-a-i),r=t==a?(e-n)/u+(e0&&s<1?0:r),new pt(r,o,s)}function Tt(t,e,n){t=Nt(t),e=Nt(e),n=Nt(n);var r=xt((.4124564*t+.3575761*e+.1804375*n)/ru),o=xt((.2126729*t+.7151522*e+.072175*n)/ou),i=xt((.0193339*t+.119192*e+.9503041*n)/iu);return gt(116*o-16,500*(r-o),200*(o-i))}function Nt(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function Ot(t){var e=parseFloat(t);return"%"===t.charAt(t.length-1)?Math.round(2.55*e):e}function At(t){return"function"==typeof t?t:function(){return t}}function Pt(t){return function(e,n,r){return 2===arguments.length&&"function"==typeof n&&(r=n,n=null),jt(e,n,t,r)}}function jt(t,e,n,r){function o(){var t,e=s.status;if(!e&&It(s)||e>=200&&e<300||304===e){try{t=n.call(i,s)}catch(t){return void a.error.call(i,t)}a.load.call(i,t)}else a.error.call(i,s)}var i={},a=ha.dispatch("beforesend","progress","load","error"),u={},s=new XMLHttpRequest,c=null;return!this.XDomainRequest||"withCredentials"in s||!/^(http(s)?:)?\/\//.test(t)||(s=new XDomainRequest),"onload"in s?s.onload=s.onerror=o:s.onreadystatechange=function(){s.readyState>3&&o()},s.onprogress=function(t){var e=ha.event;ha.event=t;try{a.progress.call(i,s)}finally{ha.event=e}},i.header=function(t,e){return t=(t+"").toLowerCase(),arguments.length<2?u[t]:(null==e?delete u[t]:u[t]=e+"",i)},i.mimeType=function(t){return arguments.length?(e=null==t?null:t+"",i):e},i.responseType=function(t){return arguments.length?(c=t,i):c},i.response=function(t){return n=t,i},["get","post"].forEach(function(t){i[t]=function(){return i.send.apply(i,[t].concat(va(arguments)))}}),i.send=function(n,r,o){if(2===arguments.length&&"function"==typeof r&&(o=r,r=null),s.open(n,t,!0),null==e||"accept"in u||(u.accept=e+",*/*"),s.setRequestHeader)for(var l in u)s.setRequestHeader(l,u[l]);return null!=e&&s.overrideMimeType&&s.overrideMimeType(e),null!=c&&(s.responseType=c),null!=o&&i.on("error",o).on("load",function(t){o(null,t)}),a.beforesend.call(i,s),s.send(null==r?null:r),i},i.abort=function(){return s.abort(),i},ha.rebind(i,a,"on"),null==r?i:i.get(Dt(r))}function Dt(t){return 1===t.length?function(e,n){t(null==e?n:null)}:t}function It(t){var e=t.responseType;return e&&"text"!==e?t.response:t.responseText}function Rt(t,e,n){var r=arguments.length;r<2&&(e=0),r<3&&(n=Date.now());var o=n+e,i={c:t,t:o,n:null};return lu?lu.n=i:cu=i,lu=i,fu||(pu=clearTimeout(pu),fu=1,hu(Lt)),i}function Lt(){var t=Ut(),e=Ft()-t;e>24?(isFinite(e)&&(clearTimeout(pu),pu=setTimeout(Lt,e)),fu=0):(fu=1,hu(Lt))}function Ut(){for(var t=Date.now(),e=cu;e;)t>=e.t&&e.c(t-e.t)&&(e.c=null),e=e.n;return t}function Ft(){for(var t,e=cu,n=1/0;e;)e.c?(e.t8?function(t){return t/n}:function(t){return t*n},symbol:t}}function Bt(t){var e=t.decimal,n=t.thousands,r=t.grouping,o=t.currency,i=r&&n?function(t,e){for(var o=t.length,i=[],a=0,u=r[0],s=0;o>0&&u>0&&(s+u+1>e&&(u=Math.max(1,e-s)),i.push(t.substring(o-=u,o+u)),!((s+=u+1)>e));)u=r[a=(a+1)%r.length];return i.reverse().join(n)}:C;return function(t){var n=vu.exec(t),r=n[1]||" ",a=n[2]||">",u=n[3]||"-",s=n[4]||"",c=n[5],l=+n[6],f=n[7],p=n[8],h=n[9],d=1,v="",g="",y=!1,m=!0;switch(p&&(p=+p.substring(1)),(c||"0"===r&&"="===a)&&(c=r="0",a="="),h){case"n":f=!0,h="g";break;case"%":d=100,g="%",h="f";break;case"p":d=100,g="%",h="r";break;case"b":case"o":case"x":case"X":"#"===s&&(v="0"+h.toLowerCase());case"c":m=!1;case"d":y=!0,p=0;break;case"s":d=-1,h="r"}"$"===s&&(v=o[0],g=o[1]),"r"!=h||p||(h="g"),null!=p&&("g"==h?p=Math.max(1,Math.min(21,p)):"e"!=h&&"f"!=h||(p=Math.max(0,Math.min(20,p)))),h=gu.get(h)||zt;var b=c&&f;return function(t){var n=g;if(y&&t%1)return"";var o=t<0||0===t&&1/t<0?(t=-t,"-"):"-"===u?"":u;if(d<0){var s=ha.formatPrefix(t,p);t=s.scale(t),n=s.symbol+g}else t*=d;t=h(t,p);var x,w,_=t.lastIndexOf(".");if(_<0){var C=m?t.lastIndexOf("e"):-1;C<0?(x=t,w=""):(x=t.substring(0,C),w=t.substring(C))}else x=t.substring(0,_),w=e+t.substring(_+1);!c&&f&&(x=i(x,1/0));var E=v.length+x.length+w.length+(b?0:o.length),M=E"===a?M+o+t:"^"===a?M.substring(0,E>>=1)+o+t+M.substring(E):o+(b?t:M+t))+n}}}function zt(t){return t+""}function Wt(){this._=new Date(arguments.length>1?Date.UTC.apply(this,arguments):arguments[0])}function Vt(t,e,n){function r(e){var n=t(e),r=i(n,1);return e-n1)for(;a=c)return-1;if(o=e.charCodeAt(u++),37===o){if(a=e.charAt(u++),i=N[a in xu?e.charAt(u++):a],!i||(r=i(t,n,r))<0)return-1}else if(o!=n.charCodeAt(r++))return-1}return r}function r(t,e,n){_.lastIndex=0;var r=_.exec(e.slice(n));return r?(t.w=C.get(r[0].toLowerCase()),n+r[0].length):-1}function o(t,e,n){x.lastIndex=0;var r=x.exec(e.slice(n));return r?(t.w=w.get(r[0].toLowerCase()),n+r[0].length):-1}function i(t,e,n){k.lastIndex=0;var r=k.exec(e.slice(n));return r?(t.m=S.get(r[0].toLowerCase()),n+r[0].length):-1}function a(t,e,n){E.lastIndex=0;var r=E.exec(e.slice(n));return r?(t.m=M.get(r[0].toLowerCase()),n+r[0].length):-1}function u(t,e,r){return n(t,T.c.toString(),e,r)}function s(t,e,r){return n(t,T.x.toString(),e,r)}function c(t,e,r){return n(t,T.X.toString(),e,r)}function l(t,e,n){var r=b.get(e.slice(n,n+=2).toLowerCase());return null==r?-1:(t.p=r,n)}var f=t.dateTime,p=t.date,h=t.time,d=t.periods,v=t.days,g=t.shortDays,y=t.months,m=t.shortMonths;e.utc=function(t){function n(t){try{mu=Wt;var e=new mu;return e._=t,r(e)}finally{mu=Date}}var r=e(t);return n.parse=function(t){try{mu=Wt;var e=r.parse(t);return e&&e._}finally{mu=Date}},n.toString=r.toString,n},e.multi=e.utc.multi=he;var b=ha.map(),x=Xt(v),w=Gt(v),_=Xt(g),C=Gt(g),E=Xt(y),M=Gt(y),k=Xt(m),S=Gt(m);d.forEach(function(t,e){b.set(t.toLowerCase(),e)});var T={a:function(t){return g[t.getDay()]},A:function(t){return v[t.getDay()]},b:function(t){return m[t.getMonth()]},B:function(t){return y[t.getMonth()]},c:e(f),d:function(t,e){return Kt(t.getDate(),e,2)},e:function(t,e){return Kt(t.getDate(),e,2)},H:function(t,e){return Kt(t.getHours(),e,2)},I:function(t,e){return Kt(t.getHours()%12||12,e,2)},j:function(t,e){return Kt(1+yu.dayOfYear(t),e,3)},L:function(t,e){return Kt(t.getMilliseconds(),e,3)},m:function(t,e){return Kt(t.getMonth()+1,e,2)},M:function(t,e){return Kt(t.getMinutes(),e,2)},p:function(t){return d[+(t.getHours()>=12)]},S:function(t,e){return Kt(t.getSeconds(),e,2)},U:function(t,e){return Kt(yu.sundayOfYear(t),e,2)},w:function(t){return t.getDay()},W:function(t,e){return Kt(yu.mondayOfYear(t),e,2)},x:e(p),X:e(h),y:function(t,e){return Kt(t.getFullYear()%100,e,2)},Y:function(t,e){return Kt(t.getFullYear()%1e4,e,4)},Z:fe,"%":function(){return"%"}},N={a:r,A:o,b:i,B:a,c:u,d:ie,e:ie,H:ue,I:ue,j:ae,L:le,m:oe,M:se,p:l,S:ce,U:Qt,w:Jt,W:Zt,x:s,X:c,y:ee,Y:te,Z:ne,"%":pe};return e}function Kt(t,e,n){var r=t<0?"-":"",o=(r?-t:t)+"",i=o.length;return r+(i68?1900:2e3)}function oe(t,e,n){wu.lastIndex=0;var r=wu.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function ie(t,e,n){wu.lastIndex=0;var r=wu.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function ae(t,e,n){wu.lastIndex=0;var r=wu.exec(e.slice(n,n+3));return r?(t.j=+r[0],n+r[0].length):-1}function ue(t,e,n){wu.lastIndex=0;var r=wu.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function se(t,e,n){wu.lastIndex=0;var r=wu.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function ce(t,e,n){wu.lastIndex=0;var r=wu.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function le(t,e,n){wu.lastIndex=0;var r=wu.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function fe(t){var e=t.getTimezoneOffset(),n=e>0?"-":"+",r=Ca(e)/60|0,o=Ca(e)%60;return n+Kt(r,"0",2)+Kt(o,"0",2)}function pe(t,e,n){_u.lastIndex=0;var r=_u.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function he(t){for(var e=t.length,n=-1;++n=0?1:-1,u=a*n,s=Math.cos(e),c=Math.sin(e),l=i*c,f=o*s+l*Math.cos(u),p=l*a*Math.sin(u);Tu.add(Math.atan2(p,f)),r=t,o=s,i=c}var e,n,r,o,i;Nu.point=function(a,u){Nu.point=t,r=(e=a)*$a,o=Math.cos(u=(n=u)*$a/2+Ba/4),i=Math.sin(u)},Nu.lineEnd=function(){t(e,n)}}function xe(t){var e=t[0],n=t[1],r=Math.cos(n);return[r*Math.cos(e),r*Math.sin(e),Math.sin(n)]}function we(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function _e(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]}function Ce(t,e){t[0]+=e[0],t[1]+=e[1],t[2]+=e[2]}function Ee(t,e){return[t[0]*e,t[1]*e,t[2]*e]}function Me(t){var e=Math.sqrt(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=e,t[1]/=e,t[2]/=e}function ke(t){return[Math.atan2(t[1],t[0]),at(t[2])]}function Se(t,e){return Ca(t[0]-e[0])=0;--u)o.point((f=l[u])[0],f[1])}else r(h.x,h.p.x,-1,o);h=h.p}h=h.o,l=h.z,d=!d}while(!h.v);o.lineEnd()}}}function Re(t){if(e=t.length){for(var e,n,r=0,o=t[0];++r0){for(w||(i.polygonStart(),w=!0),i.lineStart();++a1&&2&e&&n.push(n.pop().concat(n.shift())),h.push(n.filter(Fe))}var h,d,v,g=e(i),y=o.invert(r[0],r[1]),m={point:a,lineStart:s,lineEnd:c,polygonStart:function(){m.point=l,m.lineStart=f,m.lineEnd=p,h=[],d=[]},polygonEnd:function(){m.point=a,m.lineStart=s,m.lineEnd=c,h=ha.merge(h);var t=Ve(y,d);h.length?(w||(i.polygonStart(),w=!0),Ie(h,He,t,n,i)):t&&(w||(i.polygonStart(),w=!0),i.lineStart(),n(null,null,1,i),i.lineEnd()),w&&(i.polygonEnd(),w=!1),h=d=null},sphere:function(){i.polygonStart(),i.lineStart(),n(null,null,1,i),i.lineEnd(),i.polygonEnd()}},b=qe(),x=e(b),w=!1;return m}}function Fe(t){return t.length>1}function qe(){var t,e=[];return{lineStart:function(){e.push(t=[])},point:function(e,n){t.push([e,n])},lineEnd:k,buffer:function(){var n=e;return e=[],t=null,n},rejoin:function(){e.length>1&&e.push(e.pop().concat(e.shift()))}}}function He(t,e){return((t=t.x)[0]<0?t[1]-Va-qa:Va-t[1])-((e=e.x)[0]<0?e[1]-Va-qa:Va-e[1])}function Be(t){var e,n=NaN,r=NaN,o=NaN;return{lineStart:function(){t.lineStart(),e=1},point:function(i,a){var u=i>0?Ba:-Ba,s=Ca(i-n);Ca(s-Ba)0?Va:-Va),t.point(o,r),t.lineEnd(),t.lineStart(),t.point(u,r),t.point(i,r),e=0):o!==u&&s>=Ba&&(Ca(n-o)qa?Math.atan((Math.sin(e)*(i=Math.cos(r))*Math.sin(n)-Math.sin(r)*(o=Math.cos(e))*Math.sin(t))/(o*i*a)):(e+r)/2}function We(t,e,n,r){var o;if(null==t)o=n*Va,r.point(-Ba,o),r.point(0,o),r.point(Ba,o),r.point(Ba,0),r.point(Ba,-o),r.point(0,-o),r.point(-Ba,-o),r.point(-Ba,0),r.point(-Ba,o);else if(Ca(t[0]-e[0])>qa){var i=t[0]=0?1:-1,C=_*w,E=C>Ba,M=d*b;if(Tu.add(Math.atan2(M*_*Math.sin(C),v*x+M*Math.cos(C))),i+=E?w+_*za:w,E^p>=n^y>=n){var k=_e(xe(f),xe(t));Me(k);var S=_e(o,k);Me(S);var T=(E^w>=0?-1:1)*at(S[2]);(r>T||r===T&&(k[0]||k[1]))&&(a+=E^w>=0?1:-1)}if(!g++)break;p=y,d=b,v=x,f=t}}return(i<-qa||ii}function n(t){var n,i,s,c,l;return{lineStart:function(){c=s=!1,l=1},point:function(f,p){var h,d=[f,p],v=e(f,p),g=a?v?0:o(f,p):v?o(f+(f<0?Ba:-Ba),p):0;if(!n&&(c=s=v)&&t.lineStart(),v!==s&&(h=r(n,d),(Se(n,h)||Se(d,h))&&(d[0]+=qa,d[1]+=qa,v=e(d[0],d[1]))),v!==s)l=0,v?(t.lineStart(),h=r(d,n),t.point(h[0],h[1])):(h=r(n,d),t.point(h[0],h[1]),t.lineEnd()),n=h;else if(u&&n&&a^v){var y;g&i||!(y=r(d,n,!0))||(l=0,a?(t.lineStart(),t.point(y[0][0],y[0][1]),t.point(y[1][0],y[1][1]),t.lineEnd()):(t.point(y[1][0],y[1][1]),t.lineEnd(),t.lineStart(),t.point(y[0][0],y[0][1])))}!v||n&&Se(n,d)||t.point(d[0],d[1]),n=d,s=v,i=g},lineEnd:function(){s&&t.lineEnd(),n=null},clean:function(){return l|(c&&s)<<1}}}function r(t,e,n){var r=xe(t),o=xe(e),a=[1,0,0],u=_e(r,o),s=we(u,u),c=u[0],l=s-c*c;if(!l)return!n&&t;var f=i*s/l,p=-i*c/l,h=_e(a,u),d=Ee(a,f),v=Ee(u,p);Ce(d,v);var g=h,y=we(d,g),m=we(g,g),b=y*y-m*(we(d,d)-1);if(!(b<0)){var x=Math.sqrt(b),w=Ee(g,(-y-x)/m);if(Ce(w,d),w=ke(w),!n)return w;var _,C=t[0],E=e[0],M=t[1],k=e[1];E0^w[1]<(Ca(w[0]-C)Ba^(C<=w[0]&&w[0]<=E)){var O=Ee(g,(-y+x)/m);return Ce(O,d),[w,ke(O)]}}}function o(e,n){var r=a?t:Ba-t,o=0;return e<-r?o|=1:e>r&&(o|=2),n<-r?o|=4:n>r&&(o|=8),o}var i=Math.cos(t),a=i>0,u=Ca(i)>qa,s=xn(t,6*$a);return Ue(e,n,s,a?[0,-t]:[-Ba,t-Ba])}function Ye(t,e,n,r){return function(o){var i,a=o.a,u=o.b,s=a.x,c=a.y,l=u.x,f=u.y,p=0,h=1,d=l-s,v=f-c;if(i=t-s,d||!(i>0)){if(i/=d,d<0){if(i0){if(i>h)return;i>p&&(p=i)}if(i=n-s,d||!(i<0)){if(i/=d,d<0){if(i>h)return;i>p&&(p=i)}else if(d>0){if(i0)){if(i/=v,v<0){if(i0){if(i>h)return;i>p&&(p=i)}if(i=r-c,v||!(i<0)){if(i/=v,v<0){if(i>h)return;i>p&&(p=i)}else if(v>0){if(i0&&(o.a={x:s+p*d,y:c+p*v}),h<1&&(o.b={x:s+h*d,y:c+h*v}),o}}}}}}function Ke(t,e,n,r){function o(r,o){return Ca(r[0]-t)0?0:3:Ca(r[0]-n)0?2:1:Ca(r[1]-e)0?1:0:o>0?3:2}function i(t,e){return a(t.x,e.x)}function a(t,e){var n=o(t,1),r=o(e,1);return n!==r?n-r:0===n?e[1]-t[1]:1===n?t[0]-e[0]:2===n?t[1]-e[1]:e[0]-t[0]}return function(u){function s(t){for(var e=0,n=g.length,r=t[1],o=0;or&&ot(c,i,t)>0&&++e:i[1]<=r&&ot(c,i,t)<0&&--e,c=i;return 0!==e}function c(i,u,s,c){var l=0,f=0;if(null==i||(l=o(i,s))!==(f=o(u,s))||a(i,u)<0^s>0){do c.point(0===l||3===l?t:n,l>1?r:e);while((l=(l+s+4)%4)!==f)}else c.point(u[0],u[1])}function l(o,i){return t<=o&&o<=n&&e<=i&&i<=r}function f(t,e){l(t,e)&&u.point(t,e)}function p(){N.point=d,g&&g.push(y=[]),E=!0,C=!1,w=_=NaN}function h(){v&&(d(m,b),x&&C&&S.rejoin(),v.push(S.buffer())),N.point=f,C&&u.lineEnd()}function d(t,e){t=Math.max(-zu,Math.min(zu,t)),e=Math.max(-zu,Math.min(zu,e));var n=l(t,e);if(g&&y.push([t,e]),E)m=t,b=e,x=n,E=!1,n&&(u.lineStart(),u.point(t,e));else if(n&&C)u.point(t,e);else{var r={a:{x:w,y:_},b:{x:t,y:e}};T(r)?(C||(u.lineStart(),u.point(r.a.x,r.a.y)),u.point(r.b.x,r.b.y),n||u.lineEnd(),M=!1):n&&(u.lineStart(),u.point(t,e),M=!1)}w=t,_=e,C=n}var v,g,y,m,b,x,w,_,C,E,M,k=u,S=qe(),T=Ye(t,e,n,r),N={point:f,lineStart:p,lineEnd:h,polygonStart:function(){u=S,v=[],g=[],M=!0},polygonEnd:function(){u=k,v=ha.merge(v);var e=s([t,r]),n=M&&e,o=v.length;(n||o)&&(u.polygonStart(),n&&(u.lineStart(),c(null,null,1,u),u.lineEnd()),o&&Ie(v,i,e,c,u),u.polygonEnd()),v=g=y=null}};return N}}function Xe(t){var e=0,n=Ba/3,r=pn(t),o=r(e,n);return o.parallels=function(t){return arguments.length?r(e=t[0]*Ba/180,n=t[1]*Ba/180):[e/Ba*180,n/Ba*180]},o}function Ge(t,e){function n(t,e){var n=Math.sqrt(i-2*o*Math.sin(e))/o;return[n*Math.sin(t*=o),a-n*Math.cos(t)]}var r=Math.sin(t),o=(r+Math.sin(e))/2,i=1+r*(2*o-r),a=Math.sqrt(i)/o;return n.invert=function(t,e){var n=a-e;return[Math.atan2(t,n)/o,at((i-(t*t+n*n)*o*o)/(2*o))]},n}function Je(){function t(t,e){Vu+=o*t-r*e,r=t,o=e}var e,n,r,o;Gu.point=function(i,a){Gu.point=t,e=r=i,n=o=a},Gu.lineEnd=function(){t(e,n)}}function Qe(t,e){t<$u&&($u=t),t>Ku&&(Ku=t),eXu&&(Xu=e)}function Ze(){function t(t,e){a.push("M",t,",",e,i)}function e(t,e){a.push("M",t,",",e),u.point=n}function n(t,e){a.push("L",t,",",e)}function r(){u.point=t}function o(){a.push("Z")}var i=tn(4.5),a=[],u={point:t,lineStart:function(){u.point=e},lineEnd:r,polygonStart:function(){u.lineEnd=o},polygonEnd:function(){u.lineEnd=r,u.point=t},pointRadius:function(t){return i=tn(t),u},result:function(){if(a.length){var t=a.join("");return a=[],t}}};return u}function tn(t){return"m0,"+t+"a"+t+","+t+" 0 1,1 0,"+-2*t+"a"+t+","+t+" 0 1,1 0,"+2*t+"z"}function en(t,e){Pu+=t,ju+=e,++Du}function nn(){function t(t,r){var o=t-e,i=r-n,a=Math.sqrt(o*o+i*i);Iu+=a*(e+t)/2,Ru+=a*(n+r)/2,Lu+=a,en(e=t,n=r)}var e,n;Qu.point=function(r,o){Qu.point=t,en(e=r,n=o)}}function rn(){Qu.point=en}function on(){function t(t,e){var n=t-r,i=e-o,a=Math.sqrt(n*n+i*i);Iu+=a*(r+t)/2,Ru+=a*(o+e)/2,Lu+=a,a=o*t-r*e,Uu+=a*(r+t),Fu+=a*(o+e),qu+=3*a,en(r=t,o=e)}var e,n,r,o;Qu.point=function(i,a){Qu.point=t,en(e=r=i,n=o=a)},Qu.lineEnd=function(){t(e,n)}}function an(t){function e(e,n){t.moveTo(e+a,n),t.arc(e,n,a,0,za)}function n(e,n){t.moveTo(e,n),u.point=r}function r(e,n){t.lineTo(e,n)}function o(){u.point=e}function i(){t.closePath()}var a=4.5,u={point:e,lineStart:function(){u.point=n},lineEnd:o,polygonStart:function(){u.lineEnd=i},polygonEnd:function(){u.lineEnd=o,u.point=e},pointRadius:function(t){return a=t,u},result:k};return u}function un(t){function e(t){return(u?r:n)(t)}function n(e){return ln(e,function(n,r){n=t(n,r),e.point(n[0],n[1])})}function r(e){function n(n,r){n=t(n,r),e.point(n[0],n[1])}function r(){b=NaN,E.point=i,e.lineStart()}function i(n,r){var i=xe([n,r]),a=t(n,r);o(b,x,m,w,_,C,b=a[0],x=a[1],m=n,w=i[0],_=i[1],C=i[2],u,e),e.point(b,x)}function a(){E.point=n,e.lineEnd()}function s(){r(),E.point=c,E.lineEnd=l}function c(t,e){i(f=t,p=e),h=b,d=x,v=w,g=_,y=C,E.point=i}function l(){o(b,x,m,w,_,C,h,d,f,v,g,y,u,e),E.lineEnd=a,a()}var f,p,h,d,v,g,y,m,b,x,w,_,C,E={point:n,lineStart:r,lineEnd:a,polygonStart:function(){e.polygonStart(),E.lineStart=s},polygonEnd:function(){e.polygonEnd(),E.lineStart=r}};return E}function o(e,n,r,u,s,c,l,f,p,h,d,v,g,y){var m=l-e,b=f-n,x=m*m+b*b;if(x>4*i&&g--){var w=u+h,_=s+d,C=c+v,E=Math.sqrt(w*w+_*_+C*C),M=Math.asin(C/=E),k=Ca(Ca(C)-1)i||Ca((m*O+b*A)/x-.5)>.3||u*h+s*d+c*v0&&16,e):Math.sqrt(i)},e}function sn(t){var e=un(function(e,n){return t([e*Ya,n*Ya])});return function(t){return hn(e(t))}}function cn(t){this.stream=t}function ln(t,e){return{point:e,sphere:function(){t.sphere()},lineStart:function(){t.lineStart()},lineEnd:function(){t.lineEnd()},polygonStart:function(){t.polygonStart()},polygonEnd:function(){t.polygonEnd()}}}function fn(t){return pn(function(){return t})()}function pn(t){function e(t){return t=u(t[0]*$a,t[1]*$a),[t[0]*p+s,c-t[1]*p]}function n(t){return t=u.invert((t[0]-s)/p,(c-t[1])/p),t&&[t[0]*Ya,t[1]*Ya]}function r(){u=je(a=gn(y,m,b),i);var t=i(v,g);return s=h-t[0]*p,c=d+t[1]*p,o()}function o(){return l&&(l.valid=!1,l=null),e}var i,a,u,s,c,l,f=un(function(t,e){return t=i(t,e),[t[0]*p+s,c-t[1]*p]}),p=150,h=480,d=250,v=0,g=0,y=0,m=0,b=0,x=Bu,w=C,_=null,E=null;return e.stream=function(t){return l&&(l.valid=!1),l=hn(x(a,f(w(t)))),l.valid=!0,l},e.clipAngle=function(t){return arguments.length?(x=null==t?(_=t,Bu):$e((_=+t)*$a),o()):_},e.clipExtent=function(t){return arguments.length?(E=t,w=t?Ke(t[0][0],t[0][1],t[1][0],t[1][1]):C,o()):E},e.scale=function(t){return arguments.length?(p=+t,r()):p},e.translate=function(t){return arguments.length?(h=+t[0],d=+t[1],r()):[h,d]},e.center=function(t){return arguments.length?(v=t[0]%360*$a,g=t[1]%360*$a,r()):[v*Ya,g*Ya]},e.rotate=function(t){return arguments.length?(y=t[0]%360*$a,m=t[1]%360*$a,b=t.length>2?t[2]%360*$a:0,r()):[y*Ya,m*Ya,b*Ya]},ha.rebind(e,f,"precision"),function(){return i=t.apply(this,arguments),e.invert=i.invert&&n,r()}}function hn(t){return ln(t,function(e,n){t.point(e*$a,n*$a)})}function dn(t,e){return[t,e]}function vn(t,e){return[t>Ba?t-za:t<-Ba?t+za:t,e]}function gn(t,e,n){return t?e||n?je(mn(t),bn(e,n)):mn(t):e||n?bn(e,n):vn}function yn(t){return function(e,n){return e+=t,[e>Ba?e-za:e<-Ba?e+za:e,n]}}function mn(t){var e=yn(t);return e.invert=yn(-t),e}function bn(t,e){function n(t,e){var n=Math.cos(e),u=Math.cos(t)*n,s=Math.sin(t)*n,c=Math.sin(e),l=c*r+u*o;return[Math.atan2(s*i-l*a,u*r-c*o),at(l*i+s*a)]}var r=Math.cos(t),o=Math.sin(t),i=Math.cos(e),a=Math.sin(e);return n.invert=function(t,e){var n=Math.cos(e),u=Math.cos(t)*n,s=Math.sin(t)*n,c=Math.sin(e),l=c*i-s*a;return[Math.atan2(s*i+c*a,u*r+l*o),at(l*r-u*o)]},n}function xn(t,e){var n=Math.cos(t),r=Math.sin(t);return function(o,i,a,u){var s=a*e;null!=o?(o=wn(n,o),i=wn(n,i),(a>0?oi)&&(o+=a*za)):(o=t+a*za,i=t-.5*s);for(var c,l=o;a>0?l>i:l0?e<-Va+qa&&(e=-Va+qa):e>Va-qa&&(e=Va-qa);var n=a/Math.pow(o(e),i);return[n*Math.sin(i*t),a-n*Math.cos(i*t)]}var r=Math.cos(t),o=function(t){return Math.tan(Ba/4+t/2)},i=t===e?Math.sin(t):Math.log(r/Math.cos(e))/Math.log(o(e)/o(t)),a=r*Math.pow(o(t),i)/i;return i?(n.invert=function(t,e){var n=a-e,r=rt(i)*Math.sqrt(t*t+n*n);return[Math.atan2(t,n)/i,2*Math.atan(Math.pow(a/r,1/i))-Va]},n):An}function On(t,e){function n(t,e){var n=i-e;return[n*Math.sin(o*t),i-n*Math.cos(o*t)]}var r=Math.cos(t),o=t===e?Math.sin(t):(r-Math.cos(e))/(e-t),i=r/o+t;return Ca(o)1&&ot(t[n[r-2]],t[n[r-1]],t[o])<=0;)--r;n[r++]=o}return n.slice(0,r)}function Ln(t,e){return t[0]-e[0]||t[1]-e[1]}function Un(t,e,n){return(n[0]-e[0])*(t[1]-e[1])<(n[1]-e[1])*(t[0]-e[0])}function Fn(t,e,n,r){var o=t[0],i=n[0],a=e[0]-o,u=r[0]-i,s=t[1],c=n[1],l=e[1]-s,f=r[1]-c,p=(u*(s-c)-f*(o-i))/(f*a-u*l);return[o+p*a,s+p*l]}function qn(t){var e=t[0],n=t[t.length-1];return!(e[0]-n[0]||e[1]-n[1])}function Hn(){sr(this),this.edge=this.site=this.circle=null}function Bn(t){var e=ps.pop()||new Hn;return e.site=t,e}function zn(t){Zn(t),cs.remove(t),ps.push(t),sr(t)}function Wn(t){var e=t.circle,n=e.x,r=e.cy,o={x:n,y:r},i=t.P,a=t.N,u=[t];zn(t);for(var s=i;s.circle&&Ca(n-s.circle.x)qa)u=u.L;else{if(o=i-Yn(u,a),!(o>qa)){r>-qa?(e=u.P,n=u):o>-qa?(e=u,n=u.N):e=n=u;break}if(!u.R){e=u;break}u=u.R}var s=Bn(t);if(cs.insert(e,s),e||n){if(e===n)return Zn(e),n=Bn(e.site),cs.insert(s,n),s.edge=n.edge=rr(e.site,s.site),Qn(e),void Qn(n);if(!n)return void(s.edge=rr(e.site,s.site));Zn(e),Zn(n);var c=e.site,l=c.x,f=c.y,p=t.x-l,h=t.y-f,d=n.site,v=d.x-l,g=d.y-f,y=2*(p*g-h*v),m=p*p+h*h,b=v*v+g*g,x={x:(g*m-h*b)/y+l,y:(p*b-v*m)/y+f};ir(n.edge,c,d,x),s.edge=rr(c,t,null,x),n.edge=rr(t,d,null,x),Qn(e),Qn(n)}}function $n(t,e){var n=t.site,r=n.x,o=n.y,i=o-e;if(!i)return r;var a=t.P;if(!a)return-(1/0);n=a.site;var u=n.x,s=n.y,c=s-e;if(!c)return u;var l=u-r,f=1/i-1/c,p=l/c;return f?(-p+Math.sqrt(p*p-2*f*(l*l/(-2*c)-s+c/2+o-i/2)))/f+r:(r+u)/2}function Yn(t,e){var n=t.N;if(n)return $n(n,e);var r=t.site;return r.y===e?r.x:1/0}function Kn(t){this.site=t,this.edges=[]}function Xn(t){for(var e,n,r,o,i,a,u,s,c,l,f=t[0][0],p=t[1][0],h=t[0][1],d=t[1][1],v=ss,g=v.length;g--;)if(i=v[g],i&&i.prepare())for(u=i.edges,s=u.length,a=0;aqa||Ca(o-n)>qa)&&(u.splice(a,0,new ar(or(i.site,l,Ca(r-f)qa?{x:f,y:Ca(e-f)qa?{x:Ca(n-d)qa?{x:p,y:Ca(e-p)qa?{x:Ca(n-h)=-Ha)){var h=s*s+c*c,d=l*l+f*f,v=(f*h-c*d)/p,g=(s*d-l*h)/p,f=g+u,y=hs.pop()||new Jn;y.arc=t,y.site=o,y.x=v+a,y.y=f+Math.sqrt(v*v+g*g),y.cy=f,t.circle=y;for(var m=null,b=fs._;b;)if(y.y=u)return;if(p>d){if(i){if(i.y>=c)return}else i={x:g,y:s};n={x:g,y:c}}else{if(i){if(i.y1)if(p>d){if(i){if(i.y>=c)return}else i={x:(s-o)/r,y:s};n={x:(c-o)/r,y:c}}else{if(i){if(i.y=u)return}else i={x:a,y:r*a+o};n={x:u,y:r*u+o}}else{if(i){if(i.xi||f>a||p=x,C=n>=w,E=C<<1|_,M=E+4;Ei&&(o=e.slice(i,o),u[a]?u[a]+=o:u[++a]=o),(n=n[0])===(r=r[0])?u[a]?u[a]+=r:u[++a]=r:(u[++a]=null,s.push({i:a,x:_r(n,r)})),i=gs.lastIndex;return i=0&&!(n=ha.interpolators[r](t,e)););return n}function Mr(t,e){var n,r=[],o=[],i=t.length,a=e.length,u=Math.min(t.length,e.length);for(n=0;n=1?1:t(e)}}function Sr(t){return function(e){return 1-t(1-e)}}function Tr(t){return function(e){return.5*(e<.5?t(2*e):2-t(2-2*e))}}function Nr(t){return t*t}function Or(t){return t*t*t}function Ar(t){if(t<=0)return 0;if(t>=1)return 1;var e=t*t,n=e*t;return 4*(t<.5?n:3*(t-e)+n-.75)}function Pr(t){return function(e){return Math.pow(e,t)}}function jr(t){return 1-Math.cos(t*Va)}function Dr(t){return Math.pow(2,10*(t-1))}function Ir(t){return 1-Math.sqrt(1-t*t)}function Rr(t,e){var n;return arguments.length<2&&(e=.45),arguments.length?n=e/za*Math.asin(1/t):(t=1,n=e/4),function(r){return 1+t*Math.pow(2,-10*r)*Math.sin((r-n)*za/e)}}function Lr(t){return t||(t=1.70158),function(e){return e*e*((t+1)*e-t)}}function Ur(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375}function Fr(t,e){t=ha.hcl(t),e=ha.hcl(e);var n=t.h,r=t.c,o=t.l,i=e.h-n,a=e.c-r,u=e.l-o;return isNaN(a)&&(a=0,r=isNaN(r)?e.c:r),isNaN(i)?(i=0,n=isNaN(n)?e.h:n):i>180?i-=360:i<-180&&(i+=360),function(t){return vt(n+i*t,r+a*t,o+u*t)+""; +}}function qr(t,e){t=ha.hsl(t),e=ha.hsl(e);var n=t.h,r=t.s,o=t.l,i=e.h-n,a=e.s-r,u=e.l-o;return isNaN(a)&&(a=0,r=isNaN(r)?e.s:r),isNaN(i)?(i=0,n=isNaN(n)?e.h:n):i>180?i-=360:i<-180&&(i+=360),function(t){return ht(n+i*t,r+a*t,o+u*t)+""}}function Hr(t,e){t=ha.lab(t),e=ha.lab(e);var n=t.l,r=t.a,o=t.b,i=e.l-n,a=e.a-r,u=e.b-o;return function(t){return yt(n+i*t,r+a*t,o+u*t)+""}}function Br(t,e){return e-=t,function(n){return Math.round(t+e*n)}}function zr(t){var e=[t.a,t.b],n=[t.c,t.d],r=Vr(e),o=Wr(e,n),i=Vr($r(n,e,-o))||0;e[0]*n[1]180?e+=360:e-t>180&&(t+=360),r.push({i:n.push(Yr(n)+"rotate(",null,")")-2,x:_r(t,e)})):e&&n.push(Yr(n)+"rotate("+e+")")}function Gr(t,e,n,r){t!==e?r.push({i:n.push(Yr(n)+"skewX(",null,")")-2,x:_r(t,e)}):e&&n.push(Yr(n)+"skewX("+e+")")}function Jr(t,e,n,r){if(t[0]!==e[0]||t[1]!==e[1]){var o=n.push(Yr(n)+"scale(",null,",",null,")");r.push({i:o-4,x:_r(t[0],e[0])},{i:o-2,x:_r(t[1],e[1])})}else 1===e[0]&&1===e[1]||n.push(Yr(n)+"scale("+e+")")}function Qr(t,e){var n=[],r=[];return t=ha.transform(t),e=ha.transform(e),Kr(t.translate,e.translate,n,r),Xr(t.rotate,e.rotate,n,r),Gr(t.skew,e.skew,n,r),Jr(t.scale,e.scale,n,r),t=e=null,function(t){for(var e,o=-1,i=r.length;++o=0;)n.push(o[r])}function fo(t,e){for(var n=[t],r=[];null!=(t=n.pop());)if(r.push(t),(i=t.children)&&(o=i.length))for(var o,i,a=-1;++ao&&(r=n,o=e);return r}function Co(t){return t.reduce(Eo,0)}function Eo(t,e){return t+e[1]}function Mo(t,e){return ko(t,Math.ceil(Math.log(e.length)/Math.LN2+1))}function ko(t,e){for(var n=-1,r=+t[0],o=(t[1]-r)/e,i=[];++n<=e;)i[n]=o*n+r;return i}function So(t){return[ha.min(t),ha.max(t)]}function To(t,e){return t.value-e.value}function No(t,e){var n=t._pack_next;t._pack_next=e,e._pack_prev=t,e._pack_next=n,n._pack_prev=e}function Oo(t,e){t._pack_next=e,e._pack_prev=t}function Ao(t,e){var n=e.x-t.x,r=e.y-t.y,o=t.r+e.r;return.999*o*o>n*n+r*r}function Po(t){function e(t){l=Math.min(t.x-t.r,l),f=Math.max(t.x+t.r,f),p=Math.min(t.y-t.r,p),h=Math.max(t.y+t.r,h)}if((n=t.children)&&(c=n.length)){var n,r,o,i,a,u,s,c,l=1/0,f=-(1/0),p=1/0,h=-(1/0);if(n.forEach(jo),r=n[0],r.x=-r.r,r.y=0,e(r),c>1&&(o=n[1],o.x=o.r,o.y=0,e(o),c>2))for(i=n[2],Ro(r,o,i),e(i),No(r,i),r._pack_prev=i,No(i,o),o=r._pack_next,a=3;a=0;)e=o[i],e.z+=n,e.m+=n,n+=e.s+(r+=e.c)}function Bo(t,e,n){return t.a.parent===e.parent?t.a:n}function zo(t){return 1+ha.max(t,function(t){return t.y})}function Wo(t){return t.reduce(function(t,e){return t+e.x},0)/t.length}function Vo(t){var e=t.children;return e&&e.length?Vo(e[0]):t}function $o(t){var e,n=t.children;return n&&(e=n.length)?$o(n[e-1]):t}function Yo(t){return{x:t.x,y:t.y,dx:t.dx,dy:t.dy}}function Ko(t,e){var n=t.x+e[3],r=t.y+e[0],o=t.dx-e[1]-e[3],i=t.dy-e[0]-e[2];return o<0&&(n+=o/2,o=0),i<0&&(r+=i/2,i=0),{x:n,y:r,dx:o,dy:i}}function Xo(t){var e=t[0],n=t[t.length-1];return e2?ti:Jo,s=r?to:Zr;return a=o(t,e,s,n),u=o(e,t,s,Er),i}function i(t){return a(t)}var a,u;return i.invert=function(t){return u(t)},i.domain=function(e){return arguments.length?(t=e.map(Number),o()):t},i.range=function(t){return arguments.length?(e=t,o()):e},i.rangeRound=function(t){return i.range(t).interpolate(Br)},i.clamp=function(t){return arguments.length?(r=t,o()):r},i.interpolate=function(t){return arguments.length?(n=t,o()):n},i.ticks=function(e){return ii(t,e)},i.tickFormat=function(e,n){return ai(t,e,n)},i.nice=function(e){return ri(t,e),o()},i.copy=function(){return ei(t,e,n,r)},o()}function ni(t,e){return ha.rebind(t,e,"range","rangeRound","interpolate","clamp")}function ri(t,e){return Qo(t,Zo(oi(t,e)[2])),Qo(t,Zo(oi(t,e)[2])),t}function oi(t,e){null==e&&(e=10);var n=Xo(t),r=n[1]-n[0],o=Math.pow(10,Math.floor(Math.log(r/e)/Math.LN10)),i=e/r*o;return i<=.15?o*=10:i<=.35?o*=5:i<=.75&&(o*=2),n[0]=Math.ceil(n[0]/o)*o,n[1]=Math.floor(n[1]/o)*o+.5*o,n[2]=o,n}function ii(t,e){return ha.range.apply(ha,oi(t,e))}function ai(t,e,n){var r=oi(t,e);if(n){var o=vu.exec(n);if(o.shift(),"s"===o[8]){var i=ha.formatPrefix(Math.max(Ca(r[0]),Ca(r[1])));return o[7]||(o[7]="."+ui(i.scale(r[2]))),o[8]="f",n=ha.format(o.join("")),function(t){return n(i.scale(t))+i.symbol}}o[7]||(o[7]="."+si(o[8],r)),n=o.join("")}else n=",."+ui(r[2])+"f";return ha.format(n)}function ui(t){return-Math.floor(Math.log(t)/Math.LN10+.01)}function si(t,e){var n=ui(e[2]);return t in Ts?Math.abs(n-ui(Math.max(Ca(e[0]),Ca(e[1]))))+ +("e"!==t):n-2*("%"===t)}function ci(t,e,n,r){function o(t){return(n?Math.log(t<0?0:t):-Math.log(t>0?0:-t))/Math.log(e)}function i(t){return n?Math.pow(e,t):-Math.pow(e,-t)}function a(e){return t(o(e))}return a.invert=function(e){return i(t.invert(e))},a.domain=function(e){return arguments.length?(n=e[0]>=0,t.domain((r=e.map(Number)).map(o)),a):r},a.base=function(n){return arguments.length?(e=+n,t.domain(r.map(o)),a):e},a.nice=function(){var e=Qo(r.map(o),n?Math:Os);return t.domain(e),r=e.map(i),a},a.ticks=function(){var t=Xo(r),a=[],u=t[0],s=t[1],c=Math.floor(o(u)),l=Math.ceil(o(s)),f=e%1?2:e;if(isFinite(l-c)){if(n){for(;c0;p--)a.push(i(c)*p);for(c=0;a[c]s;l--);a=a.slice(c,l)}return a},a.tickFormat=function(t,n){if(!arguments.length)return Ns;arguments.length<2?n=Ns:"function"!=typeof n&&(n=ha.format(n));var r=Math.max(1,e*t/a.ticks().length);return function(t){var a=t/i(Math.round(o(t)));return a*e0?o[n-1]:t[0],n0?0:1}function Ei(t,e,n,r,o){var i=t[0]-e[0],a=t[1]-e[1],u=(o?r:-r)/Math.sqrt(i*i+a*a),s=u*a,c=-u*i,l=t[0]+s,f=t[1]+c,p=e[0]+s,h=e[1]+c,d=(l+p)/2,v=(f+h)/2,g=p-l,y=h-f,m=g*g+y*y,b=n-r,x=l*h-p*f,w=(y<0?-1:1)*Math.sqrt(Math.max(0,b*b*m-x*x)),_=(x*y-g*w)/m,C=(-x*g-y*w)/m,E=(x*y+g*w)/m,M=(-x*g+y*w)/m,k=_-d,S=C-v,T=E-d,N=M-v;return k*k+S*S>T*T+N*N&&(_=E,C=M),[[_-s,C-c],[_*n/b,C*n/b]]}function Mi(t){function e(e){function a(){c.push("M",i(t(l),u))}for(var s,c=[],l=[],f=-1,p=e.length,h=At(n),d=At(r);++f1?t.join("L"):t+"Z"}function Si(t){return t.join("L")+"Z"}function Ti(t){for(var e=0,n=t.length,r=t[0],o=[r[0],",",r[1]];++e1&&o.push("H",r[0]),o.join("")}function Ni(t){for(var e=0,n=t.length,r=t[0],o=[r[0],",",r[1]];++e1){u=e[1],i=t[s],s++,r+="C"+(o[0]+a[0])+","+(o[1]+a[1])+","+(i[0]-u[0])+","+(i[1]-u[1])+","+i[0]+","+i[1];for(var c=2;c9&&(o=3*e/Math.sqrt(o),a[u]=o*n,a[u+1]=o*r));for(u=-1;++u<=s;)o=(t[Math.min(s,u+1)][0]-t[Math.max(0,u-1)][0])/(6*(1+a[u]*a[u])),i.push([o||0,a[u]*o||0]);return i}function Vi(t){return t.length<3?ki(t):t[0]+Di(t,Wi(t))}function $i(t){for(var e,n,r,o=-1,i=t.length;++o0;)p[--u].call(t,a);if(i>=1)return v.event&&v.event.end.call(t,t.__data__,e),--h.count?delete h[r]:delete t[n],1}var s,c,l,f,p,h=t[n]||(t[n]={active:0,count:0}),v=h[r];v||(s=o.time,c=Rt(i,0,s),v=h[r]={tween:new d,time:s,timer:c,delay:o.delay,duration:o.duration,ease:o.ease,index:e},o=null,++h.count)}function aa(t,e,n){t.attr("transform",function(t){var r=e(t);return"translate("+(isFinite(r)?r:n(t))+",0)"})}function ua(t,e,n){t.attr("transform",function(t){var r=e(t);return"translate(0,"+(isFinite(r)?r:n(t))+")"})}function sa(t){return t.toISOString()}function ca(t,e,n){function r(e){return t(e)}function o(t,n){var r=t[1]-t[0],o=r/n,i=ha.bisect(ec,o);return i==ec.length?[e.year,oi(t.map(function(t){return t/31536e6}),n)[2]]:i?e[o/ec[i-1]1?{floor:function(e){for(;n(e=t.floor(e));)e=la(e-1);return e},ceil:function(e){for(;n(e=t.ceil(e));)e=la(+e+1);return e}}:t))},r.ticks=function(t,e){var n=Xo(r.domain()),i=null==t?o(n,10):"number"==typeof t?o(n,t):!t.range&&[{range:t},e];return i&&(t=i[0],e=i[1]),t.range(n[0],la(+n[1]+1),e<1?1:e)},r.tickFormat=function(){return n},r.copy=function(){return ca(t.copy(),e,n)},ni(r,t)}function la(t){return new Date(t)}function fa(t){return JSON.parse(t.responseText)}function pa(t){var e=ga.createRange();return e.selectNode(ga.body),e.createContextualFragment(t.responseText)}var ha={version:"3.5.17"},da=[].slice,va=function(t){return da.call(t)},ga=this.document;if(ga)try{va(ga.documentElement.childNodes)[0].nodeType}catch(t){va=function(t){for(var e=t.length,n=new Array(e);e--;)n[e]=t[e];return n}}if(Date.now||(Date.now=function(){return+new Date}),ga)try{ga.createElement("DIV").style.setProperty("opacity",0,"")}catch(t){var ya=this.Element.prototype,ma=ya.setAttribute,ba=ya.setAttributeNS,xa=this.CSSStyleDeclaration.prototype,wa=xa.setProperty;ya.setAttribute=function(t,e){ma.call(this,t,e+"")},ya.setAttributeNS=function(t,e,n){ba.call(this,t,e,n+"")},xa.setProperty=function(t,e,n){wa.call(this,t,e+"",n)}}ha.ascending=u,ha.descending=function(t,e){return et?1:e>=t?0:NaN},ha.min=function(t,e){var n,r,o=-1,i=t.length;if(1===arguments.length){for(;++o=r){n=r;break}for(;++or&&(n=r)}else{for(;++o=r){n=r;break}for(;++or&&(n=r)}return n},ha.max=function(t,e){var n,r,o=-1,i=t.length;if(1===arguments.length){for(;++o=r){n=r;break}for(;++on&&(n=r)}else{for(;++o=r){n=r;break}for(;++on&&(n=r)}return n},ha.extent=function(t,e){var n,r,o,i=-1,a=t.length;if(1===arguments.length){for(;++i=r){n=o=r;break}for(;++ir&&(n=r),o=r){n=o=r;break}for(;++ir&&(n=r),o1)return a/(l-1)},ha.deviation=function(){var t=ha.variance.apply(this,arguments);return t?Math.sqrt(t):t};var _a=l(u);ha.bisectLeft=_a.left,ha.bisect=ha.bisectRight=_a.right,ha.bisector=function(t){return l(1===t.length?function(e,n){return u(t(e),n)}:t)},ha.shuffle=function(t,e,n){(i=arguments.length)<3&&(n=t.length,i<2&&(e=0));for(var r,o,i=n-e;i;)o=Math.random()*i--|0,r=t[i+e],t[i+e]=t[o+e],t[o+e]=r;return t},ha.permute=function(t,e){for(var n=e.length,r=new Array(n);n--;)r[n]=t[e[n]];return r},ha.pairs=function(t){for(var e,n=0,r=t.length-1,o=t[0],i=new Array(r<0?0:r);n=0;)for(r=t[o],e=r.length;--e>=0;)n[--a]=r[e];return n};var Ca=Math.abs;ha.range=function(t,e,n){if(arguments.length<3&&(n=1,arguments.length<2&&(e=t,t=0)),(e-t)/n===1/0)throw new Error("infinite range");var r,o=[],i=p(Ca(n)),a=-1;if(t*=i,e*=i,n*=i,n<0)for(;(r=t+n*++a)>e;)o.push(r/i);else for(;(r=t+n*++a)=i.length)return r?r.call(o,a):n?a.sort(n):a;for(var s,c,l,f,p=-1,h=a.length,v=i[u++],g=new d;++p=i.length)return t;var r=[],o=a[n++];return t.forEach(function(t,o){r.push({key:t,values:e(o,n)})}),o?r.sort(function(t,e){return o(t.key,e.key)}):r}var n,r,o={},i=[],a=[];return o.map=function(e,n){return t(n,e,0)},o.entries=function(n){return e(t(ha.map,n,0),0)},o.key=function(t){return i.push(t),o},o.sortKeys=function(t){return a[i.length-1]=t,o},o.sortValues=function(t){return n=t,o},o.rollup=function(t){return r=t,o},o},ha.set=function(t){var e=new _;if(t)for(var n=0,r=t.length;n=0&&(r=t.slice(n+1),t=t.slice(0,n)),t)return arguments.length<2?this[t].on(r):this[t].on(r,e);if(2===arguments.length){if(null==e)for(t in this)this.hasOwnProperty(t)&&this[t].on(r,null);return this}},ha.event=null,ha.requote=function(t){return t.replace(Sa,"\\$&")};var Sa=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,Ta={}.__proto__?function(t,e){t.__proto__=e}:function(t,e){for(var n in e)t[n]=e[n]},Na=function(t,e){return e.querySelector(t)},Oa=function(t,e){return e.querySelectorAll(t)},Aa=function(t,e){var n=t.matches||t[M(t,"matchesSelector")];return(Aa=function(t,e){return n.call(t,e)})(t,e)};"function"==typeof Sizzle&&(Na=function(t,e){return Sizzle(t,e)[0]||null},Oa=Sizzle,Aa=Sizzle.matchesSelector),ha.selection=function(){return ha.select(ga.documentElement)};var Pa=ha.selection.prototype=[];Pa.select=function(t){var e,n,r,o,i=[];t=j(t);for(var a=-1,u=this.length;++a=0&&"xmlns"!==(n=t.slice(0,e))&&(t=t.slice(e+1)),Da.hasOwnProperty(n)?{space:Da[n],local:t}:t}},Pa.attr=function(t,e){if(arguments.length<2){if("string"==typeof t){var n=this.node();return t=ha.ns.qualify(t),t.local?n.getAttributeNS(t.space,t.local):n.getAttribute(t)}for(e in t)this.each(I(e,t[e]));return this}return this.each(I(t,e))},Pa.classed=function(t,e){if(arguments.length<2){if("string"==typeof t){var n=this.node(),r=(t=U(t)).length,o=-1;if(e=n.classList){for(;++o=0;)(n=r[o])&&(i&&i!==n.nextSibling&&i.parentNode.insertBefore(n,i),i=n);return this},Pa.sort=function(t){t=Y.apply(this,arguments);for(var e=-1,n=this.length;++e0&&(e=e.transition().duration(S)),e.call(t.event)}function u(){w&&w.domain(x.range().map(function(t){return(t-E.x)/E.k}).map(x.invert)),C&&C.domain(_.range().map(function(t){return(t-E.y)/E.k}).map(_.invert))}function s(t){T++||t({type:"zoomstart"})}function c(t){u(),t({type:"zoom",scale:E.k,translate:[E.x,E.y]})}function l(t){--T||(t({type:"zoomend"}),g=null)}function f(){function t(){u=1,o(ha.mouse(r),p),c(i)}function n(){f.on(P,null).on(j,null),h(u),l(i)}var r=this,i=I.of(r,arguments),u=0,f=ha.select(a(r)).on(P,t).on(j,n),p=e(ha.mouse(r)),h=tt(r);Vs.call(r),s(i)}function p(){function t(){var t=ha.touches(d);return h=E.k,t.forEach(function(t){t.identifier in g&&(g[t.identifier]=e(t))}),t}function n(){var e=ha.event.target;ha.select(e).on(x,a).on(w,u),_.push(e);for(var n=ha.event.changedTouches,r=0,o=n.length;r1){var l=s[0],f=s[1],p=l[0]-f[0],h=l[1]-f[1];y=p*p+h*h}}function a(){var t,e,n,i,a=ha.touches(d);Vs.call(d);for(var u=0,s=a.length;u=c)return a;if(o)return o=!1,i;var e=l;if(34===t.charCodeAt(e)){for(var n=e;n++=^]))?([+\- ])?([$#])?(0)?(\d+)?(,)?(\.-?\d+)?([a-z%])?/i,gu=ha.map({b:function(t){return t.toString(2)},c:function(t){return String.fromCharCode(t)},o:function(t){return t.toString(8)},x:function(t){return t.toString(16)},X:function(t){return t.toString(16).toUpperCase()},g:function(t,e){return t.toPrecision(e)},e:function(t,e){return t.toExponential(e)},f:function(t,e){return t.toFixed(e)},r:function(t,e){return(t=ha.round(t,qt(t,e))).toFixed(Math.max(0,Math.min(20,qt(t*(1+1e-15),e))))}}),yu=ha.time={},mu=Date;Wt.prototype={getDate:function(){return this._.getUTCDate()},getDay:function(){return this._.getUTCDay()},getFullYear:function(){return this._.getUTCFullYear()},getHours:function(){return this._.getUTCHours()},getMilliseconds:function(){return this._.getUTCMilliseconds()},getMinutes:function(){return this._.getUTCMinutes()},getMonth:function(){return this._.getUTCMonth()},getSeconds:function(){return this._.getUTCSeconds()},getTime:function(){return this._.getTime()},getTimezoneOffset:function(){return 0},valueOf:function(){return this._.valueOf()},setDate:function(){bu.setUTCDate.apply(this._,arguments)},setDay:function(){bu.setUTCDay.apply(this._,arguments)},setFullYear:function(){bu.setUTCFullYear.apply(this._,arguments)},setHours:function(){bu.setUTCHours.apply(this._,arguments)},setMilliseconds:function(){bu.setUTCMilliseconds.apply(this._,arguments)},setMinutes:function(){bu.setUTCMinutes.apply(this._,arguments)},setMonth:function(){bu.setUTCMonth.apply(this._,arguments)},setSeconds:function(){bu.setUTCSeconds.apply(this._,arguments)},setTime:function(){bu.setTime.apply(this._,arguments)}};var bu=Date.prototype;yu.year=Vt(function(t){return t=yu.day(t),t.setMonth(0,1),t},function(t,e){t.setFullYear(t.getFullYear()+e)},function(t){return t.getFullYear()}),yu.years=yu.year.range,yu.years.utc=yu.year.utc.range,yu.day=Vt(function(t){var e=new mu(2e3,0);return e.setFullYear(t.getFullYear(),t.getMonth(),t.getDate()),e},function(t,e){t.setDate(t.getDate()+e)},function(t){return t.getDate()-1}),yu.days=yu.day.range,yu.days.utc=yu.day.utc.range,yu.dayOfYear=function(t){var e=yu.year(t);return Math.floor((t-e-6e4*(t.getTimezoneOffset()-e.getTimezoneOffset()))/864e5)},["sunday","monday","tuesday","wednesday","thursday","friday","saturday"].forEach(function(t,e){e=7-e;var n=yu[t]=Vt(function(t){return(t=yu.day(t)).setDate(t.getDate()-(t.getDay()+e)%7),t},function(t,e){t.setDate(t.getDate()+7*Math.floor(e))},function(t){var n=yu.year(t).getDay();return Math.floor((yu.dayOfYear(t)+(n+e)%7)/7)-(n!==e)});yu[t+"s"]=n.range,yu[t+"s"].utc=n.utc.range,yu[t+"OfYear"]=function(t){var n=yu.year(t).getDay();return Math.floor((yu.dayOfYear(t)+(n+e)%7)/7)}}),yu.week=yu.sunday,yu.weeks=yu.sunday.range,yu.weeks.utc=yu.sunday.utc.range,yu.weekOfYear=yu.sundayOfYear;var xu={"-":"",_:" ",0:"0"},wu=/^\s*\d+/,_u=/^%/;ha.locale=function(t){return{numberFormat:Bt(t),timeFormat:Yt(t)}};var Cu=ha.locale({decimal:".",thousands:",",grouping:[3],currency:["$",""],dateTime:"%a %b %e %X %Y",date:"%m/%d/%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});ha.format=Cu.numberFormat,ha.geo={},de.prototype={s:0,t:0,add:function(t){ve(t,this.t,Eu),ve(Eu.s,this.s,this),this.s?this.t+=Eu.t:this.s=Eu.t},reset:function(){this.s=this.t=0},valueOf:function(){return this.s}};var Eu=new de;ha.geo.stream=function(t,e){t&&Mu.hasOwnProperty(t.type)?Mu[t.type](t,e):ge(t,e)};var Mu={Feature:function(t,e){ge(t.geometry,e)},FeatureCollection:function(t,e){for(var n=t.features,r=-1,o=n.length;++rh&&(h=e)}function e(e,n){var r=xe([e*$a,n*$a]);if(y){var o=_e(y,r),i=[o[1],-o[0],0],a=_e(i,o);Me(a),a=ke(a);var s=e-d,c=s>0?1:-1,v=a[0]*Ya*c,g=Ca(s)>180;if(g^(c*dh&&(h=m)}else if(v=(v+360)%360-180,g^(c*dh&&(h=n);g?eu(l,p)&&(p=e):u(e,p)>u(l,p)&&(l=e):p>=l?(ep&&(p=e)):e>d?u(l,e)>u(l,p)&&(p=e):u(e,p)>u(l,p)&&(l=e)}else t(e,n);y=r,d=e}function n(){w.point=e}function r(){x[0]=l,x[1]=p,w.point=t,y=null}function o(t,n){if(y){var r=t-d;m+=Ca(r)>180?r+(r>0?360:-360):r}else v=t,g=n;Nu.point(t,n),e(t,n)}function i(){Nu.lineStart()}function a(){o(v,g),Nu.lineEnd(),Ca(m)>qa&&(l=-(p=180)),x[0]=l,x[1]=p,y=null}function u(t,e){return(e-=t)<0?e+360:e}function s(t,e){return t[0]-e[0]}function c(t,e){return e[0]<=e[1]?e[0]<=t&&t<=e[1]:tqa?h=90:m<-qa&&(f=-90),x[0]=l,x[1]=p}};return function(t){h=p=-(l=f=1/0),b=[],ha.geo.stream(t,w);var e=b.length;if(e){b.sort(s);for(var n,r=1,o=b[0],i=[o];ru(o[0],o[1])&&(o[1]=n[1]),u(n[0],o[1])>u(o[0],o[1])&&(o[0]=n[0])):i.push(o=n);for(var a,n,d=-(1/0),e=i.length-1,r=0,o=i[e];r<=e;o=n,++r)n=i[r],(a=u(o[1],n[0]))>d&&(d=a,l=n[0],p=o[1])}return b=x=null,l===1/0||f===1/0?[[NaN,NaN],[NaN,NaN]]:[[l,f],[p,h]]}}(),ha.geo.centroid=function(t){Ou=Au=Pu=ju=Du=Iu=Ru=Lu=Uu=Fu=qu=0,ha.geo.stream(t,Hu);var e=Uu,n=Fu,r=qu,o=e*e+n*n+r*r;return o=.12&&o<.234&&r>=-.425&&r<-.214?a:o>=.166&&o<.234&&r>=-.214&&r<-.115?u:i).invert(t)},t.stream=function(t){var e=i.stream(t),n=a.stream(t),r=u.stream(t);return{point:function(t,o){e.point(t,o),n.point(t,o),r.point(t,o)},sphere:function(){e.sphere(),n.sphere(),r.sphere()},lineStart:function(){e.lineStart(),n.lineStart(),r.lineStart()},lineEnd:function(){e.lineEnd(),n.lineEnd(),r.lineEnd()},polygonStart:function(){e.polygonStart(),n.polygonStart(),r.polygonStart()},polygonEnd:function(){e.polygonEnd(),n.polygonEnd(),r.polygonEnd()}}},t.precision=function(e){return arguments.length?(i.precision(e),a.precision(e),u.precision(e),t):i.precision()},t.scale=function(e){return arguments.length?(i.scale(e),a.scale(.35*e),u.scale(e),t.translate(i.translate())):i.scale()},t.translate=function(e){if(!arguments.length)return i.translate();var c=i.scale(),l=+e[0],f=+e[1];return n=i.translate(e).clipExtent([[l-.455*c,f-.238*c],[l+.455*c,f+.238*c]]).stream(s).point,r=a.translate([l-.307*c,f+.201*c]).clipExtent([[l-.425*c+qa,f+.12*c+qa],[l-.214*c-qa,f+.234*c-qa]]).stream(s).point,o=u.translate([l-.205*c,f+.212*c]).clipExtent([[l-.214*c+qa,f+.166*c+qa],[l-.115*c-qa,f+.234*c-qa]]).stream(s).point,t},t.scale(1070)};var Wu,Vu,$u,Yu,Ku,Xu,Gu={point:k,lineStart:k,lineEnd:k,polygonStart:function(){Vu=0,Gu.lineStart=Je},polygonEnd:function(){Gu.lineStart=Gu.lineEnd=Gu.point=k,Wu+=Ca(Vu/2)}},Ju={point:Qe,lineStart:k,lineEnd:k,polygonStart:k,polygonEnd:k},Qu={point:en,lineStart:nn,lineEnd:rn,polygonStart:function(){Qu.lineStart=on},polygonEnd:function(){Qu.point=en,Qu.lineStart=nn,Qu.lineEnd=rn}};ha.geo.path=function(){function t(t){return t&&("function"==typeof u&&i.pointRadius(+u.apply(this,arguments)),a&&a.valid||(a=o(i)),ha.geo.stream(t,a)),i.result()}function e(){return a=null,t}var n,r,o,i,a,u=4.5;return t.area=function(t){return Wu=0,ha.geo.stream(t,o(Gu)),Wu},t.centroid=function(t){return Pu=ju=Du=Iu=Ru=Lu=Uu=Fu=qu=0,ha.geo.stream(t,o(Qu)),qu?[Uu/qu,Fu/qu]:Lu?[Iu/Lu,Ru/Lu]:Du?[Pu/Du,ju/Du]:[NaN,NaN]},t.bounds=function(t){return Ku=Xu=-($u=Yu=1/0),ha.geo.stream(t,o(Ju)),[[$u,Yu],[Ku,Xu]]},t.projection=function(t){return arguments.length?(o=(n=t)?t.stream||sn(t):C,e()):n},t.context=function(t){return arguments.length?(i=null==(r=t)?new Ze:new an(t),"function"!=typeof u&&i.pointRadius(u),e()):r},t.pointRadius=function(e){return arguments.length?(u="function"==typeof e?e:(i.pointRadius(+e),+e),t):u},t.projection(ha.geo.albersUsa()).context(null)},ha.geo.transform=function(t){return{stream:function(e){var n=new cn(e);for(var r in t)n[r]=t[r];return n}}},cn.prototype={point:function(t,e){this.stream.point(t,e)},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()}},ha.geo.projection=fn,ha.geo.projectionMutator=pn,(ha.geo.equirectangular=function(){return fn(dn)}).raw=dn.invert=dn,ha.geo.rotation=function(t){function e(e){return e=t(e[0]*$a,e[1]*$a),e[0]*=Ya,e[1]*=Ya,e}return t=gn(t[0]%360*$a,t[1]*$a,t.length>2?t[2]*$a:0),e.invert=function(e){return e=t.invert(e[0]*$a,e[1]*$a),e[0]*=Ya,e[1]*=Ya,e},e},vn.invert=dn,ha.geo.circle=function(){function t(){var t="function"==typeof r?r.apply(this,arguments):r,e=gn(-t[0]*$a,-t[1]*$a,0).invert,o=[];return n(null,null,1,{point:function(t,n){o.push(t=e(t,n)),t[0]*=Ya,t[1]*=Ya}}),{type:"Polygon",coordinates:[o]}}var e,n,r=[0,0],o=6;return t.origin=function(e){return arguments.length?(r=e,t):r},t.angle=function(r){return arguments.length?(n=xn((e=+r)*$a,o*$a),t):e},t.precision=function(r){return arguments.length?(n=xn(e*$a,(o=+r)*$a),t):o},t.angle(90)},ha.geo.distance=function(t,e){var n,r=(e[0]-t[0])*$a,o=t[1]*$a,i=e[1]*$a,a=Math.sin(r),u=Math.cos(r),s=Math.sin(o),c=Math.cos(o),l=Math.sin(i),f=Math.cos(i);return Math.atan2(Math.sqrt((n=f*a)*n+(n=c*l-s*f*u)*n),s*l+c*f*u)},ha.geo.graticule=function(){function t(){return{type:"MultiLineString",coordinates:e()}}function e(){return ha.range(Math.ceil(i/g)*g,o,g).map(p).concat(ha.range(Math.ceil(c/y)*y,s,y).map(h)).concat(ha.range(Math.ceil(r/d)*d,n,d).filter(function(t){return Ca(t%g)>qa}).map(l)).concat(ha.range(Math.ceil(u/v)*v,a,v).filter(function(t){return Ca(t%y)>qa}).map(f))}var n,r,o,i,a,u,s,c,l,f,p,h,d=10,v=d,g=90,y=360,m=2.5;return t.lines=function(){return e().map(function(t){return{type:"LineString",coordinates:t}})},t.outline=function(){return{type:"Polygon",coordinates:[p(i).concat(h(s).slice(1),p(o).reverse().slice(1),h(c).reverse().slice(1))]}},t.extent=function(e){return arguments.length?t.majorExtent(e).minorExtent(e):t.minorExtent()},t.majorExtent=function(e){return arguments.length?(i=+e[0][0],o=+e[1][0],c=+e[0][1],s=+e[1][1],i>o&&(e=i,i=o,o=e),c>s&&(e=c,c=s,s=e),t.precision(m)):[[i,c],[o,s]]},t.minorExtent=function(e){return arguments.length?(r=+e[0][0],n=+e[1][0],u=+e[0][1],a=+e[1][1],r>n&&(e=r,r=n,n=e),u>a&&(e=u,u=a,a=e),t.precision(m)):[[r,u],[n,a]]},t.step=function(e){return arguments.length?t.majorStep(e).minorStep(e):t.minorStep()},t.majorStep=function(e){return arguments.length?(g=+e[0],y=+e[1],t):[g,y]},t.minorStep=function(e){return arguments.length?(d=+e[0],v=+e[1],t):[d,v]},t.precision=function(e){return arguments.length?(m=+e,l=_n(u,a,90),f=Cn(r,n,m),p=_n(c,s,90),h=Cn(i,o,m),t):m},t.majorExtent([[-180,-90+qa],[180,90-qa]]).minorExtent([[-180,-80-qa],[180,80+qa]])},ha.geo.greatArc=function(){function t(){return{type:"LineString",coordinates:[e||r.apply(this,arguments),n||o.apply(this,arguments)]}}var e,n,r=En,o=Mn;return t.distance=function(){return ha.geo.distance(e||r.apply(this,arguments),n||o.apply(this,arguments))},t.source=function(n){return arguments.length?(r=n,e="function"==typeof n?null:n,t):r},t.target=function(e){return arguments.length?(o=e,n="function"==typeof e?null:e,t):o},t.precision=function(){return arguments.length?t:0},t},ha.geo.interpolate=function(t,e){return kn(t[0]*$a,t[1]*$a,e[0]*$a,e[1]*$a)},ha.geo.length=function(t){return Zu=0,ha.geo.stream(t,ts),Zu};var Zu,ts={sphere:k,point:k,lineStart:Sn,lineEnd:k,polygonStart:k,polygonEnd:k},es=Tn(function(t){return Math.sqrt(2/(1+t))},function(t){return 2*Math.asin(t/2)});(ha.geo.azimuthalEqualArea=function(){return fn(es)}).raw=es;var ns=Tn(function(t){var e=Math.acos(t);return e&&e/Math.sin(e)},C);(ha.geo.azimuthalEquidistant=function(){return fn(ns)}).raw=ns,(ha.geo.conicConformal=function(){return Xe(Nn)}).raw=Nn,(ha.geo.conicEquidistant=function(){return Xe(On)}).raw=On;var rs=Tn(function(t){return 1/t},Math.atan);(ha.geo.gnomonic=function(){return fn(rs)}).raw=rs,An.invert=function(t,e){return[t,2*Math.atan(Math.exp(e))-Va]},(ha.geo.mercator=function(){return Pn(An)}).raw=An;var os=Tn(function(){return 1},Math.asin);(ha.geo.orthographic=function(){return fn(os)}).raw=os;var is=Tn(function(t){return 1/(1+t)},function(t){return 2*Math.atan(t)});(ha.geo.stereographic=function(){return fn(is)}).raw=is,jn.invert=function(t,e){return[-e,2*Math.atan(Math.exp(t))-Va]},(ha.geo.transverseMercator=function(){var t=Pn(jn),e=t.center,n=t.rotate;return t.center=function(t){return t?e([-t[1],t[0]]):(t=e(),[t[1],-t[0]])},t.rotate=function(t){return t?n([t[0],t[1],t.length>2?t[2]+90:90]):(t=n(),[t[0],t[1],t[2]-90])},n([0,0,90])}).raw=jn,ha.geom={},ha.geom.hull=function(t){function e(t){if(t.length<3)return[];var e,o=At(n),i=At(r),a=t.length,u=[],s=[];for(e=0;e=0;--e)h.push(t[u[c[e]][2]]);for(e=+f;e=r&&c.x<=i&&c.y>=o&&c.y<=a?[[r,a],[i,a],[i,o],[r,o]]:[];l.point=t[u]}),e}function n(t){return t.map(function(t,e){return{x:Math.round(i(t,e)/qa)*qa,y:Math.round(a(t,e)/qa)*qa,i:e}})}var r=Dn,o=In,i=r,a=o,u=ds;return t?e(t):(e.links=function(t){return pr(n(t)).edges.filter(function(t){return t.l&&t.r}).map(function(e){return{source:t[e.l.i],target:t[e.r.i]}})},e.triangles=function(t){var e=[];return pr(n(t)).cells.forEach(function(n,r){for(var o,i,a=n.site,u=n.edges.sort(Gn),s=-1,c=u.length,l=u[c-1].edge,f=l.l===a?l.r:l.l;++s=c,p=r>=l,h=p<<1|f;t.leaf=!1,t=t.nodes[h]||(t.nodes[h]=yr()),f?o=c:u=c,p?a=l:s=l,i(t,e,n,r,o,a,u,s)}var l,f,p,h,d,v,g,y,m,b=At(u),x=At(s);if(null!=e)v=e,g=n,y=r,m=o;else if(y=m=-(v=g=1/0),f=[],p=[],d=t.length,a)for(h=0;hy&&(y=l.x),l.y>m&&(m=l.y),f.push(l.x),p.push(l.y);else for(h=0;hy&&(y=w),_>m&&(m=_),f.push(w),p.push(_)}var C=y-v,E=m-g;C>E?m=g+C:y=v+E;var M=yr();if(M.add=function(t){i(M,t,+b(t,++h),+x(t,h),v,g,y,m)},M.visit=function(t){mr(t,M,v,g,y,m)},M.find=function(t){return br(M,t[0],t[1],v,g,y,m)},h=-1,null==e){for(;++h=0?t.slice(0,e):t,r=e>=0?t.slice(e+1):"in";return n=ms.get(n)||ys,r=bs.get(r)||C,kr(r(n.apply(null,da.call(arguments,1))))},ha.interpolateHcl=Fr,ha.interpolateHsl=qr,ha.interpolateLab=Hr,ha.interpolateRound=Br,ha.transform=function(t){var e=ga.createElementNS(ha.ns.prefix.svg,"g");return(ha.transform=function(t){if(null!=t){e.setAttribute("transform",t);var n=e.transform.baseVal.consolidate()}return new zr(n?n.matrix:xs)})(t)},zr.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};var xs={a:1,b:0,c:0,d:1,e:0,f:0};ha.interpolateTransform=Qr,ha.layout={},ha.layout.bundle=function(){return function(t){for(var e=[],n=-1,r=t.length;++n0?o=t:(n.c=null,n.t=NaN,n=null,c.end({type:"end",alpha:o=0})):t>0&&(c.start({type:"start",alpha:o=t}),n=Rt(s.tick)),s):o},s.start=function(){function t(t,r){if(!n){for(n=new Array(o),s=0;s=0;)a.push(l=c[s]),l.parent=i,l.depth=i.depth+1;r&&(i.value=0),i.children=c}else r&&(i.value=+r.call(t,i,i.depth)||0),delete i.children;return fo(o,function(t){var n,o;e&&(n=t.children)&&n.sort(e),r&&(o=t.parent)&&(o.value+=t.value)}),u}var e=vo,n=po,r=ho;return t.sort=function(n){return arguments.length?(e=n,t):e},t.children=function(e){return arguments.length?(n=e,t):n},t.value=function(e){return arguments.length?(r=e,t):r},t.revalue=function(e){return r&&(lo(e,function(t){t.children&&(t.value=0)}),fo(e,function(e){var n;e.children||(e.value=+r.call(t,e,e.depth)||0),(n=e.parent)&&(n.value+=e.value)})),e},t},ha.layout.partition=function(){function t(e,n,r,o){var i=e.children;if(e.x=n,e.y=e.depth*o,e.dx=r,e.dy=o,i&&(a=i.length)){var a,u,s,c=-1;for(r=e.value?r/e.value:0;++cu&&(u=r),a.push(r)}for(n=0;n0)for(i=-1;++i=l[0]&&u<=l[1]&&(a=s[ha.bisect(f,u,1,h)-1],a.y+=d,a.push(t[i]));return s}var e=!0,n=Number,r=So,o=Mo;return t.value=function(e){return arguments.length?(n=e,t):n},t.range=function(e){return arguments.length?(r=At(e),t):r},t.bins=function(e){return arguments.length?(o="number"==typeof e?function(t){return ko(t,e)}:At(e),t):o},t.frequency=function(n){return arguments.length?(e=!!n,t):e},t},ha.layout.pack=function(){function t(t,i){var a=n.call(this,t,i),u=a[0],s=o[0],c=o[1],l=null==e?Math.sqrt:"function"==typeof e?e:function(){return e};if(u.x=u.y=0,fo(u,function(t){t.r=+l(t.value)}),fo(u,Po),r){var f=r*(e?1:Math.max(2*u.r/s,2*u.r/c))/2;fo(u,function(t){t.r+=f}),fo(u,Po),fo(u,function(t){t.r-=f})}return Io(u,s/2,c/2,e?1:1/Math.max(2*u.r/s,2*u.r/c)),a}var e,n=ha.layout.hierarchy().sort(To),r=0,o=[1,1];return t.size=function(e){return arguments.length?(o=e,t):o},t.radius=function(n){return arguments.length?(e=null==n||"function"==typeof n?n:+n,t):e},t.padding=function(e){return arguments.length?(r=+e,t):r},co(t,n)},ha.layout.tree=function(){function t(t,o){var l=a.call(this,t,o),f=l[0],p=e(f);if(fo(p,n),p.parent.m=-p.z,lo(p,r),c)lo(f,i);else{var h=f,d=f,v=f;lo(f,function(t){t.xd.x&&(d=t),t.depth>v.depth&&(v=t)});var g=u(h,d)/2-h.x,y=s[0]/(d.x+u(d,h)/2+g),m=s[1]/(v.depth||1);lo(f,function(t){t.x=(t.x+g)*y,t.y=t.depth*m})}return l}function e(t){for(var e,n={A:null,children:[t]},r=[n];null!=(e=r.pop());)for(var o,i=e.children,a=0,u=i.length;a0&&(qo(Bo(a,t,n),t,r),c+=r,l+=r),f+=a.m,c+=o.m,p+=s.m,l+=i.m;a&&!Fo(i)&&(i.t=a,i.m+=f-l),o&&!Uo(s)&&(s.t=o,s.m+=c-p,n=t)}return n}function i(t){t.x*=s[0],t.y=t.depth*s[1]}var a=ha.layout.hierarchy().sort(null).value(null),u=Lo,s=[1,1],c=null;return t.separation=function(e){return arguments.length?(u=e,t):u},t.size=function(e){return arguments.length?(c=null==(s=e)?i:null,t):c?null:s},t.nodeSize=function(e){return arguments.length?(c=null==(s=e)?null:i,t):c?s:null},co(t,a)},ha.layout.cluster=function(){function t(t,i){var a,u=e.call(this,t,i),s=u[0],c=0;fo(s,function(t){var e=t.children;e&&e.length?(t.x=Wo(e),t.y=zo(e)):(t.x=a?c+=n(t,a):0,t.y=0,a=t)});var l=Vo(s),f=$o(s),p=l.x-n(l,f)/2,h=f.x+n(f,l)/2;return fo(s,o?function(t){t.x=(t.x-s.x)*r[0],t.y=(s.y-t.y)*r[1]}:function(t){t.x=(t.x-p)/(h-p)*r[0],t.y=(1-(s.y?t.y/s.y:1))*r[1]}),u}var e=ha.layout.hierarchy().sort(null).value(null),n=Lo,r=[1,1],o=!1;return t.separation=function(e){return arguments.length?(n=e,t):n},t.size=function(e){return arguments.length?(o=null==(r=e),t):o?null:r},t.nodeSize=function(e){return arguments.length?(o=null!=(r=e),t):o?r:null},co(t,e)},ha.layout.treemap=function(){function t(t,e){for(var n,r,o=-1,i=t.length;++o0;)l.push(a=p[s-1]),l.area+=a.area,"squarify"!==h||(u=r(l,v))<=d?(p.pop(),d=u):(l.area-=l.pop().area,o(l,v,c,!1),v=Math.min(c.dx,c.dy),l.length=l.area=0,d=1/0);l.length&&(o(l,v,c,!0),l.length=l.area=0),i.forEach(e)}}function n(e){var r=e.children;if(r&&r.length){var i,a=f(e),u=r.slice(),s=[];for(t(u,a.dx*a.dy/e.value),s.area=0;i=u.pop();)s.push(i),s.area+=i.area,null!=i.z&&(o(s,i.z?a.dx:a.dy,a,!u.length),s.length=s.area=0);r.forEach(n)}}function r(t,e){for(var n,r=t.area,o=0,i=1/0,a=-1,u=t.length;++ao&&(o=n));return r*=r,e*=e,r?Math.max(e*o*d/r,r/(e*i*d)):1/0}function o(t,e,n,r){var o,i=-1,a=t.length,u=n.x,c=n.y,l=e?s(t.area/e):0;if(e==n.dx){for((r||l>n.dy)&&(l=n.dy);++in.dx)&&(l=n.dx);++i1);return t+e*n*Math.sqrt(-2*Math.log(o)/o)}},logNormal:function(){var t=ha.random.normal.apply(ha,arguments);return function(){return Math.exp(t())}},bates:function(t){var e=ha.random.irwinHall(t);return function(){return e()/t}},irwinHall:function(t){return function(){for(var e=0,n=0;nf?0:1;if(c=Wa)return e(c,h)+(t?e(t,1-h):"")+"Z";var d,v,g,y,m,b,x,w,_,C,E,M,k=0,S=0,T=[];if((y=(+s.apply(this,arguments)||0)/2)&&(g=i===Is?Math.sqrt(t*t+c*c):+i.apply(this,arguments),h||(S*=-1),c&&(S=at(g/c*Math.sin(y))),t&&(k=at(g/t*Math.sin(y)))),c){m=c*Math.cos(l+S),b=c*Math.sin(l+S),x=c*Math.cos(f-S),w=c*Math.sin(f-S);var N=Math.abs(f-l-2*S)<=Ba?0:1;if(S&&Ci(m,b,x,w)===h^N){var O=(l+f)/2;m=c*Math.cos(O),b=c*Math.sin(O),x=w=null}}else m=b=0;if(t){_=t*Math.cos(f-k),C=t*Math.sin(f-k),E=t*Math.cos(l+k),M=t*Math.sin(l+k);var A=Math.abs(l-f+2*k)<=Ba?0:1;if(k&&Ci(_,C,E,M)===1-h^A){var P=(l+f)/2;_=t*Math.cos(P),C=t*Math.sin(P),E=M=null}}else _=C=0;if(p>qa&&(d=Math.min(Math.abs(c-t)/2,+o.apply(this,arguments)))>.001){v=tBa)+",1 "+e}function o(t,e,n,r){return"Q 0,0 "+r}var i=En,a=Mn,u=Ki,s=xi,c=wi;return t.radius=function(e){return arguments.length?(u=At(e),t):u},t.source=function(e){return arguments.length?(i=At(e),t):i},t.target=function(e){return arguments.length?(a=At(e),t):a},t.startAngle=function(e){return arguments.length?(s=At(e),t):s},t.endAngle=function(e){return arguments.length?(c=At(e),t):c},t},ha.svg.diagonal=function(){function t(t,o){var i=e.call(this,t,o),a=n.call(this,t,o),u=(i.y+a.y)/2,s=[i,{x:i.x,y:u},{x:a.x,y:u},a];return s=s.map(r),"M"+s[0]+"C"+s[1]+" "+s[2]+" "+s[3]}var e=En,n=Mn,r=Xi;return t.source=function(n){return arguments.length?(e=At(n),t):e},t.target=function(e){return arguments.length?(n=At(e),t):n},t.projection=function(e){return arguments.length?(r=e,t):r},t},ha.svg.diagonal.radial=function(){var t=ha.svg.diagonal(),e=Xi,n=t.projection;return t.projection=function(t){return arguments.length?n(Gi(e=t)):e},t},ha.svg.symbol=function(){function t(t,r){return(qs.get(e.call(this,t,r))||Zi)(n.call(this,t,r))}var e=Qi,n=Ji;return t.type=function(n){return arguments.length?(e=At(n),t):e},t.size=function(e){return arguments.length?(n=At(e),t):n},t};var qs=ha.map({circle:Zi,cross:function(t){var e=Math.sqrt(t/5)/2;return"M"+-3*e+","+-e+"H"+-e+"V"+-3*e+"H"+e+"V"+-e+"H"+3*e+"V"+e+"H"+e+"V"+3*e+"H"+-e+"V"+e+"H"+-3*e+"Z"},diamond:function(t){var e=Math.sqrt(t/(2*Bs)),n=e*Bs;return"M0,"+-e+"L"+n+",0 0,"+e+" "+-n+",0Z"},square:function(t){var e=Math.sqrt(t)/2;return"M"+-e+","+-e+"L"+e+","+-e+" "+e+","+e+" "+-e+","+e+"Z"},"triangle-down":function(t){var e=Math.sqrt(t/Hs),n=e*Hs/2;return"M0,"+n+"L"+e+","+-n+" "+-e+","+-n+"Z"},"triangle-up":function(t){var e=Math.sqrt(t/Hs),n=e*Hs/2;return"M0,"+-n+"L"+e+","+n+" "+-e+","+n+"Z"}});ha.svg.symbolTypes=qs.keys();var Hs=Math.sqrt(3),Bs=Math.tan(30*$a);Pa.transition=function(t){for(var e,n,r=zs||++Ys,o=oa(t),i=[],a=Ws||{time:Date.now(),ease:Ar,delay:0,duration:250},u=-1,s=this.length;++urect,.s>rect").attr("width",f[1]-f[0])}function r(t){t.select(".extent").attr("y",p[0]),t.selectAll(".extent,.e>rect,.w>rect").attr("height",p[1]-p[0])}function o(){function o(){32==ha.event.keyCode&&(T||(b=null,A[0]-=f[1],A[1]-=p[1],T=2),N())}function v(){32==ha.event.keyCode&&2==T&&(A[0]+=f[1],A[1]+=p[1],T=0,N())}function g(){var t=ha.mouse(w),o=!1;x&&(t[0]+=x[0],t[1]+=x[1]),T||(ha.event.altKey?(b||(b=[(f[0]+f[1])/2,(p[0]+p[1])/2]),A[0]=f[+(t[0]":a.innerHTML="<"+t+">",u[t]=!a.firstChild),u[t]?p[t]:null}var o=n(6),i=n(1),a=o.canUseDOM?document.createElement("div"):null,u={},s=[1,'"],c=[1,"","
"],l=[3,"","
"],f=[1,'',""],p={"*":[1,"?
","
"],area:[1,"",""],col:[2,"","
"],legend:[1,"
","
"],param:[1,"",""],tr:[2,"","
"],optgroup:s,option:s,caption:c,colgroup:c,tbody:c,tfoot:c,thead:c,td:l,th:l},h=["circle","clipPath","defs","ellipse","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","text","tspan"];h.forEach(function(t){p[t]=f,u[t]=!0}),t.exports=r},function(t,e){"use strict";function n(t){return t.Window&&t instanceof t.Window?{x:t.pageXOffset||t.document.documentElement.scrollLeft,y:t.pageYOffset||t.document.documentElement.scrollTop}:{x:t.scrollLeft,y:t.scrollTop}}t.exports=n},function(t,e){"use strict";function n(t){return t.replace(r,"-$1").toLowerCase()}var r=/([A-Z])/g;t.exports=n},function(t,e,n){"use strict";function r(t){return o(t).replace(i,"-ms-")}var o=n(149),i=/^ms-/;t.exports=r},function(t,e){"use strict";function n(t){var e=t?t.ownerDocument||t:document,n=e.defaultView||window;return!(!t||!("function"==typeof n.Node?t instanceof n.Node:"object"==typeof t&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName))}t.exports=n},function(t,e,n){"use strict";function r(t){return o(t)&&3==t.nodeType}var o=n(151);t.exports=r},function(t,e){"use strict";function n(t){var e={};return function(n){return e.hasOwnProperty(n)||(e[n]=t.call(this,n)),e[n]}}t.exports=n},function(t,e,n){var r,o;!function(e,n){"use strict";"object"==typeof t&&"object"==typeof t.exports?t.exports=e.document?n(e,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return n(t)}:n(e)}("undefined"!=typeof window?window:this,function(n,i){"use strict";function a(t,e,n){n=n||Mt;var r,o,i=n.createElement("script");if(i.text=t,e)for(r in kt)o=e[r]||e.getAttribute&&e.getAttribute(r),o&&i.setAttribute(r,o);n.head.appendChild(i).parentNode.removeChild(i)}function u(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?yt[mt.call(t)]||"object":typeof t}function s(t){var e=!!t&&"length"in t&&t.length,n=u(t);return!Ct(t)&&!Et(t)&&("array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t)}function c(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}function l(t,e,n){return Ct(e)?Tt.grep(t,function(t,r){return!!e.call(t,r,t)!==n}):e.nodeType?Tt.grep(t,function(t){return t===e!==n}):"string"!=typeof e?Tt.grep(t,function(t){return gt.call(e,t)>-1!==n}):Tt.filter(e,t,n)}function f(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}function p(t){var e={};return Tt.each(t.match(Ft)||[],function(t,n){e[n]=!0}),e}function h(t){return t}function d(t){throw t}function v(t,e,n,r){var o;try{t&&Ct(o=t.promise)?o.call(t).done(e).fail(n):t&&Ct(o=t.then)?o.call(t,e,n):e.apply(void 0,[t].slice(r))}catch(t){n.apply(void 0,[t])}}function g(){Mt.removeEventListener("DOMContentLoaded",g),n.removeEventListener("load",g),Tt.ready()}function y(t,e){return e.toUpperCase()}function m(t){return t.replace(zt,"ms-").replace(Wt,y)}function b(){this.expando=Tt.expando+b.uid++}function x(t){return"true"===t||"false"!==t&&("null"===t?null:t===+t+""?+t:Kt.test(t)?JSON.parse(t):t)}function w(t,e,n){var r;if(void 0===n&&1===t.nodeType)if(r="data-"+e.replace(Xt,"-$&").toLowerCase(),n=t.getAttribute(r),"string"==typeof n){try{n=x(n)}catch(t){}Yt.set(t,e,n)}else n=void 0;return n}function _(t,e,n,r){var o,i,a=20,u=r?function(){return r.cur()}:function(){return Tt.css(t,e,"")},s=u(),c=n&&n[3]||(Tt.cssNumber[e]?"":"px"),l=t.nodeType&&(Tt.cssNumber[e]||"px"!==c&&+s)&&Jt.exec(Tt.css(t,e));if(l&&l[3]!==c){for(s/=2,c=c||l[3],l=+s||1;a--;)Tt.style(t,e,l+c),(1-i)*(1-(i=u()/s||.5))<=0&&(a=0),l/=i;l*=2,Tt.style(t,e,l+c),n=n||[]}return n&&(l=+l||+s||0,o=n[1]?l+(n[1]+1)*n[2]:+n[2],r&&(r.unit=c,r.start=l,r.end=o)),o}function C(t){var e,n=t.ownerDocument,r=t.nodeName,o=re[r];return o?o:(e=n.body.appendChild(n.createElement(r)),o=Tt.css(e,"display"),e.parentNode.removeChild(e),"none"===o&&(o="block"),re[r]=o,o)}function E(t,e){for(var n,r,o=[],i=0,a=t.length;i-1)o&&o.push(i);else if(l=te(i),a=M(p.appendChild(i),"script"),l&&k(a),n)for(f=0;i=a[f++];)ae.test(i.type||"")&&n.push(i);return p}function T(){return!0}function N(){return!1}function O(t,e){return t===A()==("focus"===e)}function A(){try{return Mt.activeElement}catch(t){}}function P(t,e,n,r,o,i){var a,u;if("object"==typeof e){"string"!=typeof n&&(r=r||n,n=void 0);for(u in e)P(t,u,n,r,e[u],i);return t}if(null==r&&null==o?(o=n,r=n=void 0):null==o&&("string"==typeof n?(o=r,r=void 0):(o=r,r=n,n=void 0)),o===!1)o=N;else if(!o)return t;return 1===i&&(a=o,o=function(t){return Tt().off(t),a.apply(this,arguments)},o.guid=a.guid||(a.guid=Tt.guid++)),t.each(function(){Tt.event.add(this,e,o,r,n)})}function j(t,e,n){return n?($t.set(t,e,!1),void Tt.event.add(t,e,{namespace:!1,handler:function(t){var r,o,i=$t.get(this,e);if(1&t.isTrigger&&this[e]){if(i.length)(Tt.event.special[e]||{}).delegateType&&t.stopPropagation();else if(i=ht.call(arguments),$t.set(this,e,i),r=n(this,e),this[e](),o=$t.get(this,e),i!==o||r?$t.set(this,e,!1):o={},i!==o)return t.stopImmediatePropagation(),t.preventDefault(),o.value}else i.length&&($t.set(this,e,{value:Tt.event.trigger(Tt.extend(i[0],Tt.Event.prototype),i.slice(1),this)}),t.stopImmediatePropagation())}})):void(void 0===$t.get(t,e)&&Tt.event.add(t,e,T))}function D(t,e){return c(t,"table")&&c(11!==e.nodeType?e:e.firstChild,"tr")?Tt(t).children("tbody")[0]||t:t}function I(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function R(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function L(t,e){var n,r,o,i,a,u,s;if(1===e.nodeType){if($t.hasData(t)&&(i=$t.get(t),s=i.events)){$t.remove(e,"handle events");for(o in s)for(n=0,r=s[o].length;n1&&"string"==typeof d&&!_t.checkClone&&he.test(d))return t.each(function(o){var i=t.eq(o);v&&(e[0]=d.call(this,o,i.html())),F(i,e,n,r)});if(p&&(o=S(e,t[0].ownerDocument,!1,t,r),i=o.firstChild,1===o.childNodes.length&&(o=i),i||r)){for(u=Tt.map(M(o,"script"),I),s=u.length;f=0&&(s+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-i-s-u-.5))||0),s}function Y(t,e,n){var r=ge(t),o=!_t.boxSizingReliable()||n,i=o&&"border-box"===Tt.css(t,"boxSizing",!1,r),a=i,u=H(t,e,r),s="offset"+e[0].toUpperCase()+e.slice(1);if(ve.test(u)){if(!n)return u;u="auto"}return(!_t.boxSizingReliable()&&i||!_t.reliableTrDimensions()&&c(t,"tr")||"auto"===u||!parseFloat(u)&&"inline"===Tt.css(t,"display",!1,r))&&t.getClientRects().length&&(i="border-box"===Tt.css(t,"boxSizing",!1,r),a=s in t,a&&(u=t[s])),u=parseFloat(u)||0,u+$(t,e,n||(i?"border":"content"),a,r,u)+"px"}function K(t,e,n,r,o){return new K.prototype.init(t,e,n,r,o)}function X(){Se&&(Mt.hidden===!1&&n.requestAnimationFrame?n.requestAnimationFrame(X):n.setTimeout(X,Tt.fx.interval),Tt.fx.tick())}function G(){return n.setTimeout(function(){ke=void 0}),ke=Date.now()}function J(t,e){var n,r=0,o={height:t};for(e=e?1:0;r<4;r+=2-e)n=Qt[r],o["margin"+n]=o["padding"+n]=t;return e&&(o.opacity=o.width=t),o}function Q(t,e,n){for(var r,o=(et.tweeners[e]||[]).concat(et.tweeners["*"]),i=0,a=o.length;i=0&&nC.cacheLength&&delete t[e.shift()],t[n+" "]=r}var e=[];return t}function r(t){return t[q]=!0,t}function o(t){var e=j.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function i(t,e){for(var n=t.split("|"),r=n.length;r--;)C.attrHandle[n[r]]=e}function a(t,e){var n=e&&t,r=n&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function u(t){return function(e){var n=e.nodeName.toLowerCase();return"input"===n&&e.type===t}}function s(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function c(t){return function(e){return"form"in e?e.parentNode&&e.disabled===!1?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&kt(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function l(t){return r(function(e){return e=+e,r(function(n,r){for(var o,i=t([],n.length,e),a=i.length;a--;)n[o=i[a]]&&(n[o]=!(r[o]=n[o]))})})}function f(t){return t&&"undefined"!=typeof t.getElementsByTagName&&t}function p(){}function h(t){for(var e=0,n=t.length,r="";e1?function(e,n,r){for(var o=t.length;o--;)if(!t[o](e,n,r))return!1;return!0}:t[0]}function g(t,n,r){for(var o=0,i=n.length;o-1&&(r[c]=!(a[c]=f))}}else b=y(b===a?b.splice(d,b.length):b),i?i(null,a,b,s):Z.apply(a,b)})}function b(t){for(var e,n,r,o=t.length,i=C.relative[t[0].type],a=i||C.relative[" "],u=i?1:0,s=d(function(t){return t===e},a,!0),c=d(function(t){return et(e,t)>-1},a,!0),l=[function(t,n,r){var o=!i&&(r||n!==N)||((e=n).nodeType?s(t,n,r):c(t,n,r));return e=null,o}];u1&&v(l),u>1&&h(t.slice(0,u-1).concat({value:" "===t[u-2].type?"*":""})).replace(st,"$1"),n,u0,i=t.length>0,a=function(r,a,u,s,c){var l,f,p,h=0,d="0",v=r&&[],g=[],m=N,b=r||i&&C.find.TAG("*",c),x=B+=null==m?1:Math.random()||.1,w=b.length;for(c&&(N=a==j||a||c);d!==w&&null!=(l=b[d]);d++){if(i&&l){for(f=0,a||l.ownerDocument==j||(P(l),u=!I);p=t[f++];)if(p(l,a||j,u)){s.push(l);break}c&&(B=x)}o&&((l=!p&&l)&&h--,r&&v.push(l))}if(h+=d,o&&d!==h){for(f=0;p=n[f++];)p(v,g,a,u);if(r){if(h>0)for(;d--;)v[d]||g[d]||(g[d]=J.call(s));g=y(g)}Z.apply(s,g),c&&!r&&g.length>0&&h+n.length>1&&e.uniqueSort(s)}return c&&(B=x,N=m),v};return o?r(a):a}var w,_,C,E,M,k,S,T,N,O,A,P,j,D,I,R,L,U,F,q="sizzle"+1*new Date,H=t.document,B=0,z=0,W=n(),V=n(),$=n(),Y=n(),K=function(t,e){return t===e&&(A=!0),0},X={}.hasOwnProperty,G=[],J=G.pop,Q=G.push,Z=G.push,tt=G.slice,et=function(t,e){for(var n=0,r=t.length;n+~]|"+rt+")"+rt+"*"),ft=new RegExp(rt+"|>"),pt=new RegExp(at),ht=new RegExp("^"+ot+"$"),dt={ID:new RegExp("^#("+ot+")"),CLASS:new RegExp("^\\.("+ot+")"),TAG:new RegExp("^("+ot+"|[*])"),ATTR:new RegExp("^"+it),PSEUDO:new RegExp("^"+at),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+rt+"*(even|odd|(([+-]|)(\\d*)n|)"+rt+"*(?:([+-]|)"+rt+"*(\\d+)|))"+rt+"*\\)|)","i"),bool:new RegExp("^(?:"+nt+")$","i"),needsContext:new RegExp("^"+rt+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+rt+"*((?:-\\d)?\\d*)"+rt+"*\\)|)(?=[^-]|$)","i")},vt=/HTML$/i,gt=/^(?:input|select|textarea|button)$/i,yt=/^h\d$/i,mt=/^[^{]+\{\s*\[native \w/,bt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,xt=/[+~]/,wt=new RegExp("\\\\[\\da-fA-F]{1,6}"+rt+"?|\\\\([^\\r\\n\\f])","g"),_t=function(t,e){var n="0x"+t.slice(1)-65536;return e?e:n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320)},Ct=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,Et=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},Mt=function(){P()},kt=d(function(t){return t.disabled===!0&&"fieldset"===t.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{Z.apply(G=tt.call(H.childNodes),H.childNodes),G[H.childNodes.length].nodeType}catch(t){Z={apply:G.length?function(t,e){Q.apply(t,tt.call(e))}:function(t,e){for(var n=t.length,r=0;t[n++]=e[r++];);t.length=n-1}}}_=e.support={},M=e.isXML=function(t){var e=t.namespaceURI,n=(t.ownerDocument||t).documentElement;return!vt.test(e||n&&n.nodeName||"HTML")},P=e.setDocument=function(t){var e,n,r=t?t.ownerDocument||t:H;return r!=j&&9===r.nodeType&&r.documentElement?(j=r,D=j.documentElement,I=!M(j),H!=j&&(n=j.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",Mt,!1):n.attachEvent&&n.attachEvent("onunload",Mt)),_.scope=o(function(t){return D.appendChild(t).appendChild(j.createElement("div")),"undefined"!=typeof t.querySelectorAll&&!t.querySelectorAll(":scope fieldset div").length}),_.attributes=o(function(t){return t.className="i",!t.getAttribute("className")}),_.getElementsByTagName=o(function(t){return t.appendChild(j.createComment("")),!t.getElementsByTagName("*").length}),_.getElementsByClassName=mt.test(j.getElementsByClassName),_.getById=o(function(t){return D.appendChild(t).id=q,!j.getElementsByName||!j.getElementsByName(q).length}),_.getById?(C.filter.ID=function(t){var e=t.replace(wt,_t);return function(t){return t.getAttribute("id")===e}},C.find.ID=function(t,e){if("undefined"!=typeof e.getElementById&&I){var n=e.getElementById(t);return n?[n]:[]}}):(C.filter.ID=function(t){var e=t.replace(wt,_t);return function(t){var n="undefined"!=typeof t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}},C.find.ID=function(t,e){if("undefined"!=typeof e.getElementById&&I){var n,r,o,i=e.getElementById(t);if(i){if(n=i.getAttributeNode("id"),n&&n.value===t)return[i];for(o=e.getElementsByName(t),r=0;i=o[r++];)if(n=i.getAttributeNode("id"),n&&n.value===t)return[i]}return[]}}),C.find.TAG=_.getElementsByTagName?function(t,e){return"undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t):_.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,r=[],o=0,i=e.getElementsByTagName(t);if("*"===t){for(;n=i[o++];)1===n.nodeType&&r.push(n);return r}return i},C.find.CLASS=_.getElementsByClassName&&function(t,e){if("undefined"!=typeof e.getElementsByClassName&&I)return e.getElementsByClassName(t)},L=[],R=[],(_.qsa=mt.test(j.querySelectorAll))&&(o(function(t){var e;D.appendChild(t).innerHTML="",t.querySelectorAll("[msallowcapture^='']").length&&R.push("[*^$]="+rt+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||R.push("\\["+rt+"*(?:value|"+nt+")"),t.querySelectorAll("[id~="+q+"-]").length||R.push("~="),e=j.createElement("input"),e.setAttribute("name",""),t.appendChild(e),t.querySelectorAll("[name='']").length||R.push("\\["+rt+"*name"+rt+"*="+rt+"*(?:''|\"\")"),t.querySelectorAll(":checked").length||R.push(":checked"),t.querySelectorAll("a#"+q+"+*").length||R.push(".#.+[+~]"),t.querySelectorAll("\\\f"),R.push("[\\r\\n\\f]")}),o(function(t){t.innerHTML="";var e=j.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&R.push("name"+rt+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&R.push(":enabled",":disabled"),D.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&R.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),R.push(",.*:")})),(_.matchesSelector=mt.test(U=D.matches||D.webkitMatchesSelector||D.mozMatchesSelector||D.oMatchesSelector||D.msMatchesSelector))&&o(function(t){_.disconnectedMatch=U.call(t,"*"),U.call(t,"[s!='']:x"),L.push("!=",at)}),R=R.length&&new RegExp(R.join("|")),L=L.length&&new RegExp(L.join("|")),e=mt.test(D.compareDocumentPosition),F=e||mt.test(D.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,r=e&&e.parentNode;return t===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):t.compareDocumentPosition&&16&t.compareDocumentPosition(r)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},K=e?function(t,e){if(t===e)return A=!0,0;var n=!t.compareDocumentPosition-!e.compareDocumentPosition;return n?n:(n=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1,1&n||!_.sortDetached&&e.compareDocumentPosition(t)===n?t==j||t.ownerDocument==H&&F(H,t)?-1:e==j||e.ownerDocument==H&&F(H,e)?1:O?et(O,t)-et(O,e):0:4&n?-1:1)}:function(t,e){if(t===e)return A=!0,0;var n,r=0,o=t.parentNode,i=e.parentNode,u=[t],s=[e];if(!o||!i)return t==j?-1:e==j?1:o?-1:i?1:O?et(O,t)-et(O,e):0;if(o===i)return a(t,e);for(n=t;n=n.parentNode;)u.unshift(n);for(n=e;n=n.parentNode;)s.unshift(n);for(;u[r]===s[r];)r++;return r?a(u[r],s[r]):u[r]==H?-1:s[r]==H?1:0},j):j},e.matches=function(t,n){return e(t,null,null,n)},e.matchesSelector=function(t,n){if(P(t),_.matchesSelector&&I&&!Y[n+" "]&&(!L||!L.test(n))&&(!R||!R.test(n)))try{var r=U.call(t,n);if(r||_.disconnectedMatch||t.document&&11!==t.document.nodeType)return r}catch(t){Y(n,!0)}return e(n,j,null,[t]).length>0},e.contains=function(t,e){return(t.ownerDocument||t)!=j&&P(t),F(t,e)},e.attr=function(t,e){(t.ownerDocument||t)!=j&&P(t);var n=C.attrHandle[e.toLowerCase()],r=n&&X.call(C.attrHandle,e.toLowerCase())?n(t,e,!I):void 0;return void 0!==r?r:_.attributes||!I?t.getAttribute(e):(r=t.getAttributeNode(e))&&r.specified?r.value:null},e.escape=function(t){return(t+"").replace(Ct,Et)},e.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},e.uniqueSort=function(t){var e,n=[],r=0,o=0;if(A=!_.detectDuplicates,O=!_.sortStable&&t.slice(0),t.sort(K),A){for(;e=t[o++];)e===t[o]&&(r=n.push(o));for(;r--;)t.splice(n[r],1)}return O=null,t},E=e.getText=function(t){var e,n="",r=0,o=t.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=E(t)}else if(3===o||4===o)return t.nodeValue}else for(;e=t[r++];)n+=E(e);return n},C=e.selectors={cacheLength:50,createPseudo:r,match:dt,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(wt,_t),t[3]=(t[3]||t[4]||t[5]||"").replace(wt,_t),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||e.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&e.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return dt.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&pt.test(n)&&(e=k(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(wt,_t).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=W[t+" "];return e||(e=new RegExp("(^|"+rt+")"+t+"("+rt+"|$)"))&&W(t,function(t){return e.test("string"==typeof t.className&&t.className||"undefined"!=typeof t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,n,r){return function(o){var i=e.attr(o,t);return null==i?"!="===n:!n||(i+="","="===n?i===r:"!="===n?i!==r:"^="===n?r&&0===i.indexOf(r):"*="===n?r&&i.indexOf(r)>-1:"$="===n?r&&i.slice(-r.length)===r:"~="===n?(" "+i.replace(ut," ")+" ").indexOf(r)>-1:"|="===n&&(i===r||i.slice(0,r.length+1)===r+"-"))}},CHILD:function(t,e,n,r,o){var i="nth"!==t.slice(0,3),a="last"!==t.slice(-4),u="of-type"===e;return 1===r&&0===o?function(t){return!!t.parentNode}:function(e,n,s){var c,l,f,p,h,d,v=i!==a?"nextSibling":"previousSibling",g=e.parentNode,y=u&&e.nodeName.toLowerCase(),m=!s&&!u,b=!1;if(g){if(i){for(;v;){for(p=e;p=p[v];)if(u?p.nodeName.toLowerCase()===y:1===p.nodeType)return!1;d=v="only"===t&&!d&&"nextSibling"}return!0}if(d=[a?g.firstChild:g.lastChild],a&&m){for(p=g,f=p[q]||(p[q]={}),l=f[p.uniqueID]||(f[p.uniqueID]={}),c=l[t]||[],h=c[0]===B&&c[1],b=h&&c[2],p=h&&g.childNodes[h];p=++h&&p&&p[v]||(b=h=0)||d.pop();)if(1===p.nodeType&&++b&&p===e){l[t]=[B,h,b];break}}else if(m&&(p=e,f=p[q]||(p[q]={}),l=f[p.uniqueID]||(f[p.uniqueID]={}),c=l[t]||[],h=c[0]===B&&c[1],b=h),b===!1)for(;(p=++h&&p&&p[v]||(b=h=0)||d.pop())&&((u?p.nodeName.toLowerCase()!==y:1!==p.nodeType)||!++b||(m&&(f=p[q]||(p[q]={}),l=f[p.uniqueID]||(f[p.uniqueID]={}),l[t]=[B,b]),p!==e)););return b-=o,b===r||b%r===0&&b/r>=0}}},PSEUDO:function(t,n){var o,i=C.pseudos[t]||C.setFilters[t.toLowerCase()]||e.error("unsupported pseudo: "+t);return i[q]?i(n):i.length>1?(o=[t,t,"",n],C.setFilters.hasOwnProperty(t.toLowerCase())?r(function(t,e){for(var r,o=i(t,n),a=o.length;a--;)r=et(t,o[a]),t[r]=!(e[r]=o[a])}):function(t){return i(t,0,o)}):i}},pseudos:{not:r(function(t){var e=[],n=[],o=S(t.replace(st,"$1"));return o[q]?r(function(t,e,n,r){for(var i,a=o(t,null,r,[]),u=t.length;u--;)(i=a[u])&&(t[u]=!(e[u]=i))}):function(t,r,i){return e[0]=t,o(e,null,i,n),e[0]=null,!n.pop()}}),has:r(function(t){return function(n){return e(t,n).length>0}}),contains:r(function(t){return t=t.replace(wt,_t),function(e){return(e.textContent||E(e)).indexOf(t)>-1}}),lang:r(function(t){return ht.test(t||"")||e.error("unsupported lang: "+t),t=t.replace(wt,_t).toLowerCase(),function(e){var n;do if(n=I?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return n=n.toLowerCase(),n===t||0===n.indexOf(t+"-");while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===D},focus:function(t){return t===j.activeElement&&(!j.hasFocus||j.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:c(!1),disabled:c(!0),checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,t.selected===!0},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!C.pseudos.empty(t)},header:function(t){return yt.test(t.nodeName)},input:function(t){return gt.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:l(function(){return[0]}),last:l(function(t,e){return[e-1]}),eq:l(function(t,e,n){return[n<0?n+e:n]}),even:l(function(t,e){for(var n=0;ne?e:n;--r>=0;)t.push(r);return t}),gt:l(function(t,e,n){for(var r=n<0?n+e:n;++r2&&"ID"===(a=i[0]).type&&9===e.nodeType&&I&&C.relative[i[1].type]){if(e=(C.find.ID(a.matches[0].replace(wt,_t),e)||[])[0],!e)return n;c&&(e=e.parentNode),t=t.slice(i.shift().value.length)}for(o=dt.needsContext.test(t)?0:i.length;o--&&(a=i[o],!C.relative[u=a.type]);)if((s=C.find[u])&&(r=s(a.matches[0].replace(wt,_t),xt.test(i[0].type)&&f(e.parentNode)||e))){if(i.splice(o,1),t=r.length&&h(i),!t)return Z.apply(n,r),n;break}}return(c||S(t,l))(r,e,!I,n,!e||xt.test(t)&&f(e.parentNode)||e),n},_.sortStable=q.split("").sort(K).join("")===q,_.detectDuplicates=!!A,P(),_.sortDetached=o(function(t){return 1&t.compareDocumentPosition(j.createElement("fieldset"))}),o(function(t){return t.innerHTML="","#"===t.firstChild.getAttribute("href")})||i("type|href|height|width",function(t,e,n){if(!n)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),_.attributes&&o(function(t){return t.innerHTML="",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||i("value",function(t,e,n){if(!n&&"input"===t.nodeName.toLowerCase())return t.defaultValue}),o(function(t){return null==t.getAttribute("disabled")})||i(nt,function(t,e,n){var r;if(!n)return t[e]===!0?e.toLowerCase():(r=t.getAttributeNode(e))&&r.specified?r.value:null}),e}(n);Tt.find=Nt,Tt.expr=Nt.selectors,Tt.expr[":"]=Tt.expr.pseudos,Tt.uniqueSort=Tt.unique=Nt.uniqueSort,Tt.text=Nt.getText,Tt.isXMLDoc=Nt.isXML,Tt.contains=Nt.contains,Tt.escapeSelector=Nt.escape;var Ot=function(t,e,n){for(var r=[],o=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(o&&Tt(t).is(n))break;r.push(t)}return r},At=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},Pt=Tt.expr.match.needsContext,jt=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;Tt.filter=function(t,e,n){var r=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===r.nodeType?Tt.find.matchesSelector(r,t)?[r]:[]:Tt.find.matches(t,Tt.grep(e,function(t){return 1===t.nodeType}))},Tt.fn.extend({find:function(t){var e,n,r=this.length,o=this;if("string"!=typeof t)return this.pushStack(Tt(t).filter(function(){for(e=0;e1?Tt.uniqueSort(n):n},filter:function(t){return this.pushStack(l(this,t||[],!1))},not:function(t){return this.pushStack(l(this,t||[],!0))},is:function(t){return!!l(this,"string"==typeof t&&Pt.test(t)?Tt(t):t||[],!1).length}});var Dt,It=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,Rt=Tt.fn.init=function(t,e,n){var r,o;if(!t)return this;if(n=n||Dt,"string"==typeof t){if(r="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:It.exec(t),!r||!r[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(r[1]){if(e=e instanceof Tt?e[0]:e,Tt.merge(this,Tt.parseHTML(r[1],e&&e.nodeType?e.ownerDocument||e:Mt,!0)),jt.test(r[1])&&Tt.isPlainObject(e))for(r in e)Ct(this[r])?this[r](e[r]):this.attr(r,e[r]);return this}return o=Mt.getElementById(r[2]),o&&(this[0]=o,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):Ct(t)?void 0!==n.ready?n.ready(t):t(Tt):Tt.makeArray(t,this)};Rt.prototype=Tt.fn,Dt=Tt(Mt);var Lt=/^(?:parents|prev(?:Until|All))/,Ut={children:!0,contents:!0,next:!0,prev:!0};Tt.fn.extend({has:function(t){var e=Tt(t,this),n=e.length;return this.filter(function(){for(var t=0;t-1:1===n.nodeType&&Tt.find.matchesSelector(n,t))){i.push(n);break}return this.pushStack(i.length>1?Tt.uniqueSort(i):i)},index:function(t){return t?"string"==typeof t?gt.call(Tt(t),this[0]):gt.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(Tt.uniqueSort(Tt.merge(this.get(),Tt(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),Tt.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return Ot(t,"parentNode")},parentsUntil:function(t,e,n){return Ot(t,"parentNode",n)},next:function(t){return f(t,"nextSibling")},prev:function(t){return f(t,"previousSibling")},nextAll:function(t){return Ot(t,"nextSibling")},prevAll:function(t){return Ot(t,"previousSibling")},nextUntil:function(t,e,n){return Ot(t,"nextSibling",n)},prevUntil:function(t,e,n){return Ot(t,"previousSibling",n)},siblings:function(t){return At((t.parentNode||{}).firstChild,t)},children:function(t){return At(t.firstChild)},contents:function(t){return null!=t.contentDocument&&pt(t.contentDocument)?t.contentDocument:(c(t,"template")&&(t=t.content||t),Tt.merge([],t.childNodes))}},function(t,e){Tt.fn[t]=function(n,r){var o=Tt.map(this,e,n);return"Until"!==t.slice(-5)&&(r=n),r&&"string"==typeof r&&(o=Tt.filter(r,o)),this.length>1&&(Ut[t]||Tt.uniqueSort(o),Lt.test(t)&&o.reverse()),this.pushStack(o)}});var Ft=/[^\x20\t\r\n\f]+/g;Tt.Callbacks=function(t){t="string"==typeof t?p(t):Tt.extend({},t);var e,n,r,o,i=[],a=[],s=-1,c=function(){for(o=o||t.once,r=e=!0;a.length;s=-1)for(n=a.shift();++s-1;)i.splice(n,1),n<=s&&s--}),this},has:function(t){return t?Tt.inArray(t,i)>-1:i.length>0},empty:function(){return i&&(i=[]),this},disable:function(){return o=a=[],i=n="",this},disabled:function(){return!i},lock:function(){return o=a=[],n||e||(i=n=""),this},locked:function(){return!!o},fireWith:function(t,n){return o||(n=n||[],n=[t,n.slice?n.slice():n],a.push(n),e||c()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!r}};return l},Tt.extend({Deferred:function(t){var e=[["notify","progress",Tt.Callbacks("memory"),Tt.Callbacks("memory"),2],["resolve","done",Tt.Callbacks("once memory"),Tt.Callbacks("once memory"),0,"resolved"],["reject","fail",Tt.Callbacks("once memory"),Tt.Callbacks("once memory"),1,"rejected"]],r="pending",o={state:function(){return r},always:function(){return i.done(arguments).fail(arguments),this},catch:function(t){return o.then(null,t)},pipe:function(){var t=arguments;return Tt.Deferred(function(n){Tt.each(e,function(e,r){var o=Ct(t[r[4]])&&t[r[4]];i[r[1]](function(){var t=o&&o.apply(this,arguments);t&&Ct(t.promise)?t.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,o?[t]:arguments)})}),t=null}).promise()},then:function(t,r,o){function i(t,e,r,o){return function(){var u=this,s=arguments,c=function(){var n,c;if(!(t=a&&(r!==d&&(u=void 0,s=[n]),e.rejectWith(u,s))}};t?l():(Tt.Deferred.getStackHook&&(l.stackTrace=Tt.Deferred.getStackHook()),n.setTimeout(l))}}var a=0;return Tt.Deferred(function(n){e[0][3].add(i(0,n,Ct(o)?o:h,n.notifyWith)),e[1][3].add(i(0,n,Ct(t)?t:h)),e[2][3].add(i(0,n,Ct(r)?r:d))}).promise()},promise:function(t){return null!=t?Tt.extend(t,o):o}},i={};return Tt.each(e,function(t,n){var a=n[2],u=n[5];o[n[1]]=a.add,u&&a.add(function(){r=u},e[3-t][2].disable,e[3-t][3].disable,e[0][2].lock,e[0][3].lock),a.add(n[3].fire),i[n[0]]=function(){return i[n[0]+"With"](this===i?void 0:this,arguments),this},i[n[0]+"With"]=a.fireWith}),o.promise(i),t&&t.call(i,i),i},when:function(t){var e=arguments.length,n=e,r=Array(n),o=ht.call(arguments),i=Tt.Deferred(),a=function(t){return function(n){r[t]=this,o[t]=arguments.length>1?ht.call(arguments):n,--e||i.resolveWith(r,o)}};if(e<=1&&(v(t,i.done(a(n)).resolve,i.reject,!e),"pending"===i.state()||Ct(o[n]&&o[n].then)))return i.then();for(;n--;)v(o[n],a(n),i.reject);return i.promise()}});var qt=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;Tt.Deferred.exceptionHook=function(t,e){n.console&&n.console.warn&&t&&qt.test(t.name)&&n.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},Tt.readyException=function(t){n.setTimeout(function(){throw t})};var Ht=Tt.Deferred();Tt.fn.ready=function(t){return Ht.then(t).catch(function(t){Tt.readyException(t)}),this},Tt.extend({isReady:!1,readyWait:1,ready:function(t){(t===!0?--Tt.readyWait:Tt.isReady)||(Tt.isReady=!0,t!==!0&&--Tt.readyWait>0||Ht.resolveWith(Mt,[Tt]))}}),Tt.ready.then=Ht.then,"complete"===Mt.readyState||"loading"!==Mt.readyState&&!Mt.documentElement.doScroll?n.setTimeout(Tt.ready):(Mt.addEventListener("DOMContentLoaded",g),n.addEventListener("load",g));var Bt=function(t,e,n,r,o,i,a){var s=0,c=t.length,l=null==n;if("object"===u(n)){o=!0;for(s in n)Bt(t,e,s,n[s],!0,i,a)}else if(void 0!==r&&(o=!0,Ct(r)||(a=!0),l&&(a?(e.call(t,r),e=null):(l=e,e=function(t,e,n){return l.call(Tt(t),n)})),e))for(;s1,null,!0)},removeData:function(t){return this.each(function(){Yt.remove(this,t)})}}),Tt.extend({queue:function(t,e,n){var r;if(t)return e=(e||"fx")+"queue",r=$t.get(t,e),n&&(!r||Array.isArray(n)?r=$t.access(t,e,Tt.makeArray(n)):r.push(n)),r||[]},dequeue:function(t,e){e=e||"fx";var n=Tt.queue(t,e),r=n.length,o=n.shift(),i=Tt._queueHooks(t,e),a=function(){Tt.dequeue(t,e)};"inprogress"===o&&(o=n.shift(),r--),o&&("fx"===e&&n.unshift("inprogress"),delete i.stop,o.call(t,a,i)),!r&&i&&i.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return $t.get(t,n)||$t.access(t,n,{empty:Tt.Callbacks("once memory").add(function(){$t.remove(t,[e+"queue",n])})})}}),Tt.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length\x20\t\r\n\f]*)/i,ae=/^$|^module$|\/(?:java|ecma)script/i;!function(){var t=Mt.createDocumentFragment(),e=t.appendChild(Mt.createElement("div")),n=Mt.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),e.appendChild(n),_t.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="",_t.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue,e.innerHTML="",_t.option=!!e.lastChild}();var ue={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};ue.tbody=ue.tfoot=ue.colgroup=ue.caption=ue.thead,ue.th=ue.td,_t.option||(ue.optgroup=ue.option=[1,""]);var se=/<|&#?\w+;/,ce=/^key/,le=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,fe=/^([^.]*)(?:\.(.+)|)/;Tt.event={global:{},add:function(t,e,n,r,o){var i,a,u,s,c,l,f,p,h,d,v,g=$t.get(t);if(Vt(t))for(n.handler&&(i=n,n=i.handler,o=i.selector),o&&Tt.find.matchesSelector(Zt,o),n.guid||(n.guid=Tt.guid++),(s=g.events)||(s=g.events=Object.create(null)),(a=g.handle)||(a=g.handle=function(e){return"undefined"!=typeof Tt&&Tt.event.triggered!==e.type?Tt.event.dispatch.apply(t,arguments):void 0}),e=(e||"").match(Ft)||[""],c=e.length;c--;)u=fe.exec(e[c])||[],h=v=u[1],d=(u[2]||"").split(".").sort(),h&&(f=Tt.event.special[h]||{},h=(o?f.delegateType:f.bindType)||h,f=Tt.event.special[h]||{},l=Tt.extend({type:h,origType:v,data:r,handler:n,guid:n.guid,selector:o,needsContext:o&&Tt.expr.match.needsContext.test(o),namespace:d.join(".")},i),(p=s[h])||(p=s[h]=[],p.delegateCount=0,f.setup&&f.setup.call(t,r,d,a)!==!1||t.addEventListener&&t.addEventListener(h,a)),f.add&&(f.add.call(t,l),l.handler.guid||(l.handler.guid=n.guid)),o?p.splice(p.delegateCount++,0,l):p.push(l),Tt.event.global[h]=!0)},remove:function(t,e,n,r,o){var i,a,u,s,c,l,f,p,h,d,v,g=$t.hasData(t)&&$t.get(t);if(g&&(s=g.events)){for(e=(e||"").match(Ft)||[""],c=e.length;c--;)if(u=fe.exec(e[c])||[],h=v=u[1],d=(u[2]||"").split(".").sort(),h){for(f=Tt.event.special[h]||{},h=(r?f.delegateType:f.bindType)||h,p=s[h]||[],u=u[2]&&new RegExp("(^|\\.)"+d.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=i=p.length;i--;)l=p[i],!o&&v!==l.origType||n&&n.guid!==l.guid||u&&!u.test(l.namespace)||r&&r!==l.selector&&("**"!==r||!l.selector)||(p.splice(i,1),l.selector&&p.delegateCount--,f.remove&&f.remove.call(t,l));a&&!p.length&&(f.teardown&&f.teardown.call(t,d,g.handle)!==!1||Tt.removeEvent(t,h,g.handle),delete s[h])}else for(h in s)Tt.event.remove(t,h+e[c],n,r,!0);Tt.isEmptyObject(s)&&$t.remove(t,"handle events")}},dispatch:function(t){var e,n,r,o,i,a,u=new Array(arguments.length),s=Tt.event.fix(t),c=($t.get(this,"events")||Object.create(null))[s.type]||[],l=Tt.event.special[s.type]||{};for(u[0]=s,e=1;e=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==t.type||c.disabled!==!0)){for(i=[],a={},n=0;n-1:Tt.find(o,this,null,[c]).length),a[o]&&i.push(r);i.length&&u.push({elem:c,handlers:i})}return c=this,s\s*$/g;Tt.extend({htmlPrefilter:function(t){return t},clone:function(t,e,n){var r,o,i,a,u=t.cloneNode(!0),s=te(t);if(!(_t.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||Tt.isXMLDoc(t)))for(a=M(u),i=M(t),r=0,o=i.length;r0&&k(a,!s&&M(t,"script")),u},cleanData:function(t){for(var e,n,r,o=Tt.event.special,i=0;void 0!==(n=t[i]);i++)if(Vt(n)){if(e=n[$t.expando]){if(e.events)for(r in e.events)o[r]?Tt.event.remove(n,r):Tt.removeEvent(n,r,e.handle);n[$t.expando]=void 0}n[Yt.expando]&&(n[Yt.expando]=void 0)}}}),Tt.fn.extend({detach:function(t){return q(this,t,!0)},remove:function(t){return q(this,t)},text:function(t){return Bt(this,function(t){return void 0===t?Tt.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)})},null,t,arguments.length)},append:function(){return F(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=D(this,t);e.appendChild(t)}})},prepend:function(){return F(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=D(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return F(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return F(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(Tt.cleanData(M(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return Tt.clone(this,t,e)})},html:function(t){return Bt(this,function(t){var e=this[0]||{},n=0,r=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!pe.test(t)&&!ue[(ie.exec(t)||["",""])[1].toLowerCase()]){t=Tt.htmlPrefilter(t);try{for(;n3,Zt.removeChild(t)),u}}))}();var be=["Webkit","Moz","ms"],xe=Mt.createElement("div").style,we={},_e=/^(none|table(?!-c[ea]).+)/,Ce=/^--/,Ee={position:"absolute",visibility:"hidden",display:"block"},Me={letterSpacing:"0",fontWeight:"400"};Tt.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=H(t,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(t,e,n,r){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var o,i,a,u=m(e),s=Ce.test(e),c=t.style;return s||(e=W(u)),a=Tt.cssHooks[e]||Tt.cssHooks[u],void 0===n?a&&"get"in a&&void 0!==(o=a.get(t,!1,r))?o:c[e]:(i=typeof n,"string"===i&&(o=Jt.exec(n))&&o[1]&&(n=_(t,e,o),i="number"),null!=n&&n===n&&("number"!==i||s||(n+=o&&o[3]||(Tt.cssNumber[u]?"":"px")),_t.clearCloneStyle||""!==n||0!==e.indexOf("background")||(c[e]="inherit"),a&&"set"in a&&void 0===(n=a.set(t,n,r))||(s?c.setProperty(e,n):c[e]=n)),void 0)}},css:function(t,e,n,r){var o,i,a,u=m(e),s=Ce.test(e);return s||(e=W(u)),a=Tt.cssHooks[e]||Tt.cssHooks[u],a&&"get"in a&&(o=a.get(t,!0,n)),void 0===o&&(o=H(t,e,r)),"normal"===o&&e in Me&&(o=Me[e]),""===n||n?(i=parseFloat(o),n===!0||isFinite(i)?i||0:o):o}}),Tt.each(["height","width"],function(t,e){Tt.cssHooks[e]={get:function(t,n,r){if(n)return!_e.test(Tt.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?Y(t,e,r):ye(t,Ee,function(){return Y(t,e,r)})},set:function(t,n,r){var o,i=ge(t),a=!_t.scrollboxSize()&&"absolute"===i.position,u=a||r,s=u&&"border-box"===Tt.css(t,"boxSizing",!1,i),c=r?$(t,e,r,s,i):0;return s&&a&&(c-=Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(i[e])-$(t,e,"border",!1,i)-.5)),c&&(o=Jt.exec(n))&&"px"!==(o[3]||"px")&&(t.style[e]=n,n=Tt.css(t,e)),V(t,n,c)}}}),Tt.cssHooks.marginLeft=B(_t.reliableMarginLeft,function(t,e){if(e)return(parseFloat(H(t,"marginLeft"))||t.getBoundingClientRect().left-ye(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px"}),Tt.each({margin:"",padding:"",border:"Width"},function(t,e){Tt.cssHooks[t+e]={expand:function(n){for(var r=0,o={},i="string"==typeof n?n.split(" "):[n];r<4;r++)o[t+Qt[r]+e]=i[r]||i[r-2]||i[0];return o}},"margin"!==t&&(Tt.cssHooks[t+e].set=V)}),Tt.fn.extend({css:function(t,e){return Bt(this,function(t,e,n){var r,o,i={},a=0;if(Array.isArray(e)){for(r=ge(t),o=e.length;a1)}}),Tt.Tween=K,K.prototype={constructor:K,init:function(t,e,n,r,o,i){this.elem=t,this.prop=n,this.easing=o||Tt.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=r,this.unit=i||(Tt.cssNumber[n]?"":"px")},cur:function(){var t=K.propHooks[this.prop];return t&&t.get?t.get(this):K.propHooks._default.get(this)},run:function(t){var e,n=K.propHooks[this.prop];return this.options.duration?this.pos=e=Tt.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):K.propHooks._default.set(this),this}},K.prototype.init.prototype=K.prototype,K.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=Tt.css(t.elem,t.prop,""),e&&"auto"!==e?e:0)},set:function(t){Tt.fx.step[t.prop]?Tt.fx.step[t.prop](t):1!==t.elem.nodeType||!Tt.cssHooks[t.prop]&&null==t.elem.style[W(t.prop)]?t.elem[t.prop]=t.now:Tt.style(t.elem,t.prop,t.now+t.unit)}}},K.propHooks.scrollTop=K.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},Tt.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},Tt.fx=K.prototype.init,Tt.fx.step={};var ke,Se,Te=/^(?:toggle|show|hide)$/,Ne=/queueHooks$/;Tt.Animation=Tt.extend(et,{tweeners:{"*":[function(t,e){var n=this.createTween(t,e);return _(n.elem,t,Jt.exec(e),n),n}]},tweener:function(t,e){Ct(t)?(e=t,t=["*"]):t=t.match(Ft);for(var n,r=0,o=t.length;r1)},removeAttr:function(t){return this.each(function(){Tt.removeAttr(this,t)})}}),Tt.extend({attr:function(t,e,n){var r,o,i=t.nodeType;if(3!==i&&8!==i&&2!==i)return"undefined"==typeof t.getAttribute?Tt.prop(t,e,n):(1===i&&Tt.isXMLDoc(t)||(o=Tt.attrHooks[e.toLowerCase()]||(Tt.expr.match.bool.test(e)?Oe:void 0)),void 0!==n?null===n?void Tt.removeAttr(t,e):o&&"set"in o&&void 0!==(r=o.set(t,n,e))?r:(t.setAttribute(e,n+""),n):o&&"get"in o&&null!==(r=o.get(t,e))?r:(r=Tt.find.attr(t,e),null==r?void 0:r))},attrHooks:{type:{set:function(t,e){if(!_t.radioValue&&"radio"===e&&c(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},removeAttr:function(t,e){var n,r=0,o=e&&e.match(Ft);if(o&&1===t.nodeType)for(;n=o[r++];)t.removeAttribute(n)}}),Oe={set:function(t,e,n){return e===!1?Tt.removeAttr(t,n):t.setAttribute(n,n),n}},Tt.each(Tt.expr.match.bool.source.match(/\w+/g),function(t,e){var n=Ae[e]||Tt.find.attr;Ae[e]=function(t,e,r){var o,i,a=e.toLowerCase();return r||(i=Ae[a],Ae[a]=o,o=null!=n(t,e,r)?a:null,Ae[a]=i),o}});var Pe=/^(?:input|select|textarea|button)$/i,je=/^(?:a|area)$/i;Tt.fn.extend({prop:function(t,e){return Bt(this,Tt.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each(function(){delete this[Tt.propFix[t]||t]})}}),Tt.extend({prop:function(t,e,n){var r,o,i=t.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&Tt.isXMLDoc(t)||(e=Tt.propFix[e]||e,o=Tt.propHooks[e]),void 0!==n?o&&"set"in o&&void 0!==(r=o.set(t,n,e))?r:t[e]=n:o&&"get"in o&&null!==(r=o.get(t,e))?r:t[e]},propHooks:{tabIndex:{get:function(t){var e=Tt.find.attr(t,"tabindex");return e?parseInt(e,10):Pe.test(t.nodeName)||je.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),_t.optSelected||(Tt.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),Tt.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){Tt.propFix[this.toLowerCase()]=this}),Tt.fn.extend({addClass:function(t){var e,n,r,o,i,a,u,s=0;if(Ct(t))return this.each(function(e){Tt(this).addClass(t.call(this,e,rt(this)))});if(e=ot(t),e.length)for(;n=this[s++];)if(o=rt(n),r=1===n.nodeType&&" "+nt(o)+" "){for(a=0;i=e[a++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");u=nt(r),o!==u&&n.setAttribute("class",u)}return this},removeClass:function(t){var e,n,r,o,i,a,u,s=0;if(Ct(t))return this.each(function(e){Tt(this).removeClass(t.call(this,e,rt(this)))});if(!arguments.length)return this.attr("class","");if(e=ot(t),e.length)for(;n=this[s++];)if(o=rt(n),r=1===n.nodeType&&" "+nt(o)+" "){for(a=0;i=e[a++];)for(;r.indexOf(" "+i+" ")>-1;)r=r.replace(" "+i+" "," ");u=nt(r),o!==u&&n.setAttribute("class",u)}return this},toggleClass:function(t,e){var n=typeof t,r="string"===n||Array.isArray(t);return"boolean"==typeof e&&r?e?this.addClass(t):this.removeClass(t):Ct(t)?this.each(function(n){Tt(this).toggleClass(t.call(this,n,rt(this),e),e)}):this.each(function(){var e,o,i,a;if(r)for(o=0,i=Tt(this),a=ot(t);e=a[o++];)i.hasClass(e)?i.removeClass(e):i.addClass(e);else void 0!==t&&"boolean"!==n||(e=rt(this),e&&$t.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||t===!1?"":$t.get(this,"__className__")||""))})},hasClass:function(t){var e,n,r=0;for(e=" "+t+" ";n=this[r++];)if(1===n.nodeType&&(" "+nt(rt(n))+" ").indexOf(e)>-1)return!0;return!1}});var De=/\r/g;Tt.fn.extend({val:function(t){var e,n,r,o=this[0];{if(arguments.length)return r=Ct(t),this.each(function(n){var o;1===this.nodeType&&(o=r?t.call(this,n,Tt(this).val()):t,null==o?o="":"number"==typeof o?o+="":Array.isArray(o)&&(o=Tt.map(o,function(t){return null==t?"":t+""})),e=Tt.valHooks[this.type]||Tt.valHooks[this.nodeName.toLowerCase()],e&&"set"in e&&void 0!==e.set(this,o,"value")||(this.value=o))});if(o)return e=Tt.valHooks[o.type]||Tt.valHooks[o.nodeName.toLowerCase()],e&&"get"in e&&void 0!==(n=e.get(o,"value"))?n:(n=o.value,"string"==typeof n?n.replace(De,""):null==n?"":n)}}}),Tt.extend({valHooks:{option:{get:function(t){var e=Tt.find.attr(t,"value");return null!=e?e:nt(Tt.text(t))}},select:{get:function(t){var e,n,r,o=t.options,i=t.selectedIndex,a="select-one"===t.type,u=a?null:[],s=a?i+1:o.length;for(r=i<0?s:a?i:0;r-1)&&(n=!0);return n||(t.selectedIndex=-1),i}}}}),Tt.each(["radio","checkbox"],function(){Tt.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=Tt.inArray(Tt(t).val(),e)>-1}},_t.checkOn||(Tt.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})}),_t.focusin="onfocusin"in n;var Ie=/^(?:focusinfocus|focusoutblur)$/,Re=function(t){t.stopPropagation()};Tt.extend(Tt.event,{trigger:function(t,e,r,o){var i,a,u,s,c,l,f,p,h=[r||Mt],d=bt.call(t,"type")?t.type:t,v=bt.call(t,"namespace")?t.namespace.split("."):[];if(a=p=u=r=r||Mt,3!==r.nodeType&&8!==r.nodeType&&!Ie.test(d+Tt.event.triggered)&&(d.indexOf(".")>-1&&(v=d.split("."),d=v.shift(),v.sort()),c=d.indexOf(":")<0&&"on"+d,t=t[Tt.expando]?t:new Tt.Event(d,"object"==typeof t&&t),t.isTrigger=o?2:3,t.namespace=v.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=r),e=null==e?[t]:Tt.makeArray(e,[t]),f=Tt.event.special[d]||{},o||!f.trigger||f.trigger.apply(r,e)!==!1)){if(!o&&!f.noBubble&&!Et(r)){for(s=f.delegateType||d,Ie.test(s+d)||(a=a.parentNode);a;a=a.parentNode)h.push(a),u=a;u===(r.ownerDocument||Mt)&&h.push(u.defaultView||u.parentWindow||n)}for(i=0;(a=h[i++])&&!t.isPropagationStopped();)p=a,t.type=i>1?s:f.bindType||d,l=($t.get(a,"events")||Object.create(null))[t.type]&&$t.get(a,"handle"),l&&l.apply(a,e),l=c&&a[c],l&&l.apply&&Vt(a)&&(t.result=l.apply(a,e),t.result===!1&&t.preventDefault());return t.type=d,o||t.isDefaultPrevented()||f._default&&f._default.apply(h.pop(),e)!==!1||!Vt(r)||c&&Ct(r[d])&&!Et(r)&&(u=r[c],u&&(r[c]=null),Tt.event.triggered=d,t.isPropagationStopped()&&p.addEventListener(d,Re),r[d](),t.isPropagationStopped()&&p.removeEventListener(d,Re),Tt.event.triggered=void 0,u&&(r[c]=u)),t.result}},simulate:function(t,e,n){var r=Tt.extend(new Tt.Event,n,{type:t,isSimulated:!0});Tt.event.trigger(r,null,e)}}),Tt.fn.extend({trigger:function(t,e){return this.each(function(){Tt.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];if(n)return Tt.event.trigger(t,e,n,!0)}}),_t.focusin||Tt.each({focus:"focusin",blur:"focusout"},function(t,e){var n=function(t){Tt.event.simulate(e,t.target,Tt.event.fix(t))};Tt.event.special[e]={setup:function(){var r=this.ownerDocument||this.document||this,o=$t.access(r,e);o||r.addEventListener(t,n,!0),$t.access(r,e,(o||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,o=$t.access(r,e)-1;o?$t.access(r,e,o):(r.removeEventListener(t,n,!0),$t.remove(r,e))}}});var Le=n.location,Ue={guid:Date.now()},Fe=/\?/;Tt.parseXML=function(t){var e;if(!t||"string"!=typeof t)return null;try{e=(new n.DOMParser).parseFromString(t,"text/xml")}catch(t){e=void 0}return e&&!e.getElementsByTagName("parsererror").length||Tt.error("Invalid XML: "+t),e};var qe=/\[\]$/,He=/\r?\n/g,Be=/^(?:submit|button|image|reset|file)$/i,ze=/^(?:input|select|textarea|keygen)/i;Tt.param=function(t,e){var n,r=[],o=function(t,e){var n=Ct(e)?e():e;r[r.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==n?"":n)};if(null==t)return"";if(Array.isArray(t)||t.jquery&&!Tt.isPlainObject(t))Tt.each(t,function(){o(this.name,this.value)});else for(n in t)it(n,t[n],e,o);return r.join("&")},Tt.fn.extend({serialize:function(){return Tt.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=Tt.prop(this,"elements");return t?Tt.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!Tt(this).is(":disabled")&&ze.test(this.nodeName)&&!Be.test(t)&&(this.checked||!oe.test(t))}).map(function(t,e){var n=Tt(this).val();return null==n?null:Array.isArray(n)?Tt.map(n,function(t){return{name:e.name,value:t.replace(He,"\r\n")}}):{name:e.name,value:n.replace(He,"\r\n")}}).get()}});var We=/%20/g,Ve=/#.*$/,$e=/([?&])_=[^&]*/,Ye=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ke=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Xe=/^(?:GET|HEAD)$/,Ge=/^\/\//,Je={},Qe={},Ze="*/".concat("*"),tn=Mt.createElement("a");tn.href=Le.href,Tt.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Le.href,type:"GET",isLocal:Ke.test(Le.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ze,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":Tt.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?st(st(t,Tt.ajaxSettings),e):st(Tt.ajaxSettings,t)},ajaxPrefilter:at(Je),ajaxTransport:at(Qe),ajax:function(t,e){function r(t,e,r,u){var c,p,h,x,w,_=e;l||(l=!0,s&&n.clearTimeout(s),o=void 0,a=u||"",C.readyState=t>0?4:0,c=t>=200&&t<300||304===t,r&&(x=ct(d,C,r)),!c&&Tt.inArray("script",d.dataTypes)>-1&&(d.converters["text script"]=function(){}),x=lt(d,x,C,c),c?(d.ifModified&&(w=C.getResponseHeader("Last-Modified"),w&&(Tt.lastModified[i]=w),w=C.getResponseHeader("etag"),w&&(Tt.etag[i]=w)),204===t||"HEAD"===d.type?_="nocontent":304===t?_="notmodified":(_=x.state,p=x.data,h=x.error,c=!h)):(h=_,!t&&_||(_="error",t<0&&(t=0))),C.status=t,C.statusText=(e||_)+"",c?y.resolveWith(v,[p,_,C]):y.rejectWith(v,[C,_,h]),C.statusCode(b),b=void 0,f&&g.trigger(c?"ajaxSuccess":"ajaxError",[C,d,c?p:h]),m.fireWith(v,[C,_]),f&&(g.trigger("ajaxComplete",[C,d]),--Tt.active||Tt.event.trigger("ajaxStop")))}"object"==typeof t&&(e=t,t=void 0),e=e||{};var o,i,a,u,s,c,l,f,p,h,d=Tt.ajaxSetup({},e),v=d.context||d,g=d.context&&(v.nodeType||v.jquery)?Tt(v):Tt.event,y=Tt.Deferred(),m=Tt.Callbacks("once memory"),b=d.statusCode||{},x={},w={},_="canceled",C={readyState:0,getResponseHeader:function(t){var e;if(l){if(!u)for(u={};e=Ye.exec(a);)u[e[1].toLowerCase()+" "]=(u[e[1].toLowerCase()+" "]||[]).concat(e[2]);e=u[t.toLowerCase()+" "]}return null==e?null:e.join(", ")},getAllResponseHeaders:function(){return l?a:null},setRequestHeader:function(t,e){return null==l&&(t=w[t.toLowerCase()]=w[t.toLowerCase()]||t,x[t]=e),this},overrideMimeType:function(t){return null==l&&(d.mimeType=t),this},statusCode:function(t){var e;if(t)if(l)C.always(t[C.status]);else for(e in t)b[e]=[b[e],t[e]];return this},abort:function(t){var e=t||_;return o&&o.abort(e),r(0,e),this}};if(y.promise(C),d.url=((t||d.url||Le.href)+"").replace(Ge,Le.protocol+"//"),d.type=e.method||e.type||d.method||d.type,d.dataTypes=(d.dataType||"*").toLowerCase().match(Ft)||[""],null==d.crossDomain){c=Mt.createElement("a");try{c.href=d.url,c.href=c.href,d.crossDomain=tn.protocol+"//"+tn.host!=c.protocol+"//"+c.host}catch(t){d.crossDomain=!0}}if(d.data&&d.processData&&"string"!=typeof d.data&&(d.data=Tt.param(d.data,d.traditional)),ut(Je,d,e,C),l)return C;f=Tt.event&&d.global,f&&0===Tt.active++&&Tt.event.trigger("ajaxStart"),d.type=d.type.toUpperCase(),d.hasContent=!Xe.test(d.type),i=d.url.replace(Ve,""),d.hasContent?d.data&&d.processData&&0===(d.contentType||"").indexOf("application/x-www-form-urlencoded")&&(d.data=d.data.replace(We,"+")):(h=d.url.slice(i.length),d.data&&(d.processData||"string"==typeof d.data)&&(i+=(Fe.test(i)?"&":"?")+d.data,delete d.data),d.cache===!1&&(i=i.replace($e,"$1"),h=(Fe.test(i)?"&":"?")+"_="+Ue.guid++ +h),d.url=i+h),d.ifModified&&(Tt.lastModified[i]&&C.setRequestHeader("If-Modified-Since",Tt.lastModified[i]),Tt.etag[i]&&C.setRequestHeader("If-None-Match",Tt.etag[i])),(d.data&&d.hasContent&&d.contentType!==!1||e.contentType)&&C.setRequestHeader("Content-Type",d.contentType),C.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+("*"!==d.dataTypes[0]?", "+Ze+"; q=0.01":""):d.accepts["*"]);for(p in d.headers)C.setRequestHeader(p,d.headers[p]);if(d.beforeSend&&(d.beforeSend.call(v,C,d)===!1||l))return C.abort();if(_="abort",m.add(d.complete),C.done(d.success),C.fail(d.error),o=ut(Qe,d,e,C)){if(C.readyState=1,f&&g.trigger("ajaxSend",[C,d]),l)return C;d.async&&d.timeout>0&&(s=n.setTimeout(function(){C.abort("timeout")},d.timeout));try{l=!1,o.send(x,r)}catch(t){if(l)throw t;r(-1,t)}}else r(-1,"No Transport"); @@ -14,4 +14,4 @@ return C},getJSON:function(t,e,n){return Tt.get(t,e,n,"json")},getScript:functio "aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},DOMAttributeNames:{},DOMPropertyNames:{}};t.exports=n},function(t,e,n){"use strict";var r=n(5),o=n(70),i={focusDOMComponent:function(){o(r.getNodeFromInstance(this))}};t.exports=i},function(t,e,n){"use strict";function r(){var t=window.opera;return"object"==typeof t&&"function"==typeof t.version&&parseInt(t.version(),10)<=12}function o(t){return(t.ctrlKey||t.altKey||t.metaKey)&&!(t.ctrlKey&&t.altKey)}function i(t){switch(t){case"topCompositionStart":return k.compositionStart;case"topCompositionEnd":return k.compositionEnd;case"topCompositionUpdate":return k.compositionUpdate}}function a(t,e){return"topKeyDown"===t&&e.keyCode===b}function u(t,e){switch(t){case"topKeyUp":return m.indexOf(e.keyCode)!==-1;case"topKeyDown":return e.keyCode!==b;case"topKeyPress":case"topMouseDown":case"topBlur":return!0;default:return!1}}function s(t){var e=t.detail;return"object"==typeof e&&"data"in e?e.data:null}function c(t,e,n,r){var o,c;if(x?o=i(t):T?u(t,n)&&(o=k.compositionEnd):a(t,n)&&(o=k.compositionStart),!o)return null;C&&(T||o!==k.compositionStart?o===k.compositionEnd&&T&&(c=T.getData()):T=v.getPooled(r));var l=g.getPooled(o,e,n,r);if(c)l.data=c;else{var f=s(n);null!==f&&(l.data=f)}return h.accumulateTwoPhaseDispatches(l),l}function l(t,e){switch(t){case"topCompositionEnd":return s(e);case"topKeyPress":var n=e.which;return n!==E?null:(S=!0,M);case"topTextInput":var r=e.data;return r===M&&S?null:r;default:return null}}function f(t,e){if(T){if("topCompositionEnd"===t||!x&&u(t,e)){var n=T.getData();return v.release(T),T=null,n}return null}switch(t){case"topPaste":return null;case"topKeyPress":return e.which&&!o(e)?String.fromCharCode(e.which):null;case"topCompositionEnd":return C?null:e.data;default:return null}}function p(t,e,n,r){var o;if(o=_?l(t,n):f(t,n),!o)return null;var i=y.getPooled(k.beforeInput,e,n,r);return i.data=o,h.accumulateTwoPhaseDispatches(i),i}var h=n(26),d=n(6),v=n(255),g=n(292),y=n(295),m=[9,13,27,32],b=229,x=d.canUseDOM&&"CompositionEvent"in window,w=null;d.canUseDOM&&"documentMode"in document&&(w=document.documentMode);var _=d.canUseDOM&&"TextEvent"in window&&!w&&!r(),C=d.canUseDOM&&(!x||w&&w>8&&w<=11),E=32,M=String.fromCharCode(E),k={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["topCompositionEnd","topKeyPress","topTextInput","topPaste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:["topBlur","topCompositionEnd","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:["topBlur","topCompositionStart","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:["topBlur","topCompositionUpdate","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]}},S=!1,T=null,N={eventTypes:k,extractEvents:function(t,e,n,r){return[c(t,e,n,r),p(t,e,n,r)]}};t.exports=N},function(t,e,n){"use strict";var r=n(91),o=n(6),i=(n(7),n(143),n(301)),a=n(150),u=n(153),s=(n(3),u(function(t){return a(t)})),c=!1,l="cssFloat";if(o.canUseDOM){var f=document.createElement("div").style;try{f.font=""}catch(t){c=!0}void 0===document.documentElement.style.cssFloat&&(l="styleFloat")}var p={createMarkupForStyles:function(t,e){var n="";for(var r in t)if(t.hasOwnProperty(r)){var o=0===r.indexOf("--"),a=t[r];null!=a&&(n+=s(r)+":",n+=i(r,a,e,o)+";")}return n||null},setValueForStyles:function(t,e,n){var o=t.style;for(var a in e)if(e.hasOwnProperty(a)){var u=0===a.indexOf("--"),s=i(a,e[a],n,u);if("float"!==a&&"cssFloat"!==a||(a=l),u)o.setProperty(a,s);else if(s)o[a]=s;else{var f=c&&r.shorthandPropertyExpansions[a];if(f)for(var p in f)o[p]="";else o[a]=""}}}};t.exports=p},function(t,e,n){"use strict";function r(t,e,n){var r=k.getPooled(A.change,t,e,n);return r.type="change",_.accumulateTwoPhaseDispatches(r),r}function o(t){var e=t.nodeName&&t.nodeName.toLowerCase();return"select"===e||"input"===e&&"file"===t.type}function i(t){var e=r(j,t,T(t));M.batchedUpdates(a,e)}function a(t){w.enqueueEvents(t),w.processEventQueue(!1)}function u(t,e){P=t,j=e,P.attachEvent("onchange",i)}function s(){P&&(P.detachEvent("onchange",i),P=null,j=null)}function c(t,e){var n=S.updateValueIfChanged(t),r=e.simulated===!0&&R._allowSimulatedPassThrough;if(n||r)return t}function l(t,e){if("topChange"===t)return e}function f(t,e,n){"topFocus"===t?(s(),u(e,n)):"topBlur"===t&&s()}function p(t,e){P=t,j=e,P.attachEvent("onpropertychange",d)}function h(){P&&(P.detachEvent("onpropertychange",d),P=null,j=null)}function d(t){"value"===t.propertyName&&c(j,t)&&i(t)}function v(t,e,n){"topFocus"===t?(h(),p(e,n)):"topBlur"===t&&h()}function g(t,e,n){if("topSelectionChange"===t||"topKeyUp"===t||"topKeyDown"===t)return c(j,n)}function y(t){var e=t.nodeName;return e&&"input"===e.toLowerCase()&&("checkbox"===t.type||"radio"===t.type)}function m(t,e,n){if("topClick"===t)return c(e,n)}function b(t,e,n){if("topInput"===t||"topChange"===t)return c(e,n)}function x(t,e){if(null!=t){var n=t._wrapperState||e._wrapperState;if(n&&n.controlled&&"number"===e.type){var r=""+e.value;e.getAttribute("value")!==r&&e.setAttribute("value",r)}}}var w=n(25),_=n(26),C=n(6),E=n(5),M=n(9),k=n(12),S=n(107),T=n(62),N=n(63),O=n(109),A={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:["topBlur","topChange","topClick","topFocus","topInput","topKeyDown","topKeyUp","topSelectionChange"]}},P=null,j=null,D=!1;C.canUseDOM&&(D=N("change")&&(!document.documentMode||document.documentMode>8));var I=!1;C.canUseDOM&&(I=N("input")&&(!document.documentMode||document.documentMode>9));var R={eventTypes:A,_allowSimulatedPassThrough:!0,_isInputEventSupported:I,extractEvents:function(t,e,n,i){var a,u,s=e?E.getNodeFromInstance(e):window;if(o(s)?D?a=l:u=f:O(s)?I?a=b:(a=g,u=v):y(s)&&(a=m),a){var c=a(t,e,n);if(c){var p=r(c,n,i);return p}}u&&u(t,s,e),"topBlur"===t&&x(e,s)}};t.exports=R},function(t,e,n){"use strict";var r=n(2),o=n(19),i=n(6),a=n(146),u=n(8),s=(n(1),{dangerouslyReplaceNodeWithMarkup:function(t,e){if(i.canUseDOM?void 0:r("56"),e?void 0:r("57"),"HTML"===t.nodeName?r("58"):void 0,"string"==typeof e){var n=a(e,u)[0];t.parentNode.replaceChild(n,t)}else o.replaceChildWithTree(t,e)}});t.exports=s},function(t,e){"use strict";var n=["ResponderEventPlugin","SimpleEventPlugin","TapEventPlugin","EnterLeaveEventPlugin","ChangeEventPlugin","SelectEventPlugin","BeforeInputEventPlugin"];t.exports=n},function(t,e,n){"use strict";var r=n(26),o=n(5),i=n(38),a={mouseEnter:{registrationName:"onMouseEnter",dependencies:["topMouseOut","topMouseOver"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["topMouseOut","topMouseOver"]}},u={eventTypes:a,extractEvents:function(t,e,n,u){if("topMouseOver"===t&&(n.relatedTarget||n.fromElement))return null;if("topMouseOut"!==t&&"topMouseOver"!==t)return null;var s;if(u.window===u)s=u;else{var c=u.ownerDocument;s=c?c.defaultView||c.parentWindow:window}var l,f;if("topMouseOut"===t){l=e;var p=n.relatedTarget||n.toElement;f=p?o.getClosestInstanceFromNode(p):null}else l=null,f=e;if(l===f)return null;var h=null==l?s:o.getNodeFromInstance(l),d=null==f?s:o.getNodeFromInstance(f),v=i.getPooled(a.mouseLeave,l,n,u);v.type="mouseleave",v.target=h,v.relatedTarget=d;var g=i.getPooled(a.mouseEnter,f,n,u);return g.type="mouseenter",g.target=d,g.relatedTarget=h,r.accumulateEnterLeaveDispatches(v,g,l,f),[v,g]}};t.exports=u},function(t,e,n){"use strict";function r(t){this._root=t,this._startText=this.getText(),this._fallbackText=null}var o=n(4),i=n(15),a=n(106);o(r.prototype,{destructor:function(){this._root=null,this._startText=null,this._fallbackText=null},getText:function(){return"value"in this._root?this._root.value:this._root[a()]},getData:function(){if(this._fallbackText)return this._fallbackText;var t,e,n=this._startText,r=n.length,o=this.getText(),i=o.length;for(t=0;t1?1-e:void 0;return this._fallbackText=o.slice(t,u),this._fallbackText}}),i.addPoolingTo(r),t.exports=r},function(t,e,n){"use strict";var r=n(20),o=r.injection.MUST_USE_PROPERTY,i=r.injection.HAS_BOOLEAN_VALUE,a=r.injection.HAS_NUMERIC_VALUE,u=r.injection.HAS_POSITIVE_NUMERIC_VALUE,s=r.injection.HAS_OVERLOADED_BOOLEAN_VALUE,c={isCustomAttribute:RegExp.prototype.test.bind(new RegExp("^(data|aria)-["+r.ATTRIBUTE_NAME_CHAR+"]*$")),Properties:{accept:0,acceptCharset:0,accessKey:0,action:0,allowFullScreen:i,allowTransparency:0,alt:0,as:0,async:i,autoComplete:0,autoPlay:i,capture:i,cellPadding:0,cellSpacing:0,charSet:0,challenge:0,checked:o|i,cite:0,classID:0,className:0,cols:u,colSpan:0,content:0,contentEditable:0,contextMenu:0,controls:i,controlsList:0,coords:0,crossOrigin:0,data:0,dateTime:0,default:i,defer:i,dir:0,disabled:i,download:s,draggable:0,encType:0,form:0,formAction:0,formEncType:0,formMethod:0,formNoValidate:i,formTarget:0,frameBorder:0,headers:0,height:0,hidden:i,high:0,href:0,hrefLang:0,htmlFor:0,httpEquiv:0,icon:0,id:0,inputMode:0,integrity:0,is:0,keyParams:0,keyType:0,kind:0,label:0,lang:0,list:0,loop:i,low:0,manifest:0,marginHeight:0,marginWidth:0,max:0,maxLength:0,media:0,mediaGroup:0,method:0,min:0,minLength:0,multiple:o|i,muted:o|i,name:0,nonce:0,noValidate:i,open:i,optimum:0,pattern:0,placeholder:0,playsInline:i,poster:0,preload:0,profile:0,radioGroup:0,readOnly:i,referrerPolicy:0,rel:0,required:i,reversed:i,role:0,rows:u,rowSpan:a,sandbox:0,scope:0,scoped:i,scrolling:0,seamless:i,selected:o|i,shape:0,size:u,sizes:0,span:u,spellCheck:0,src:0,srcDoc:0,srcLang:0,srcSet:0,start:a,step:0,style:0,summary:0,tabIndex:0,target:0,title:0,type:0,useMap:0,value:0,width:0,wmode:0,wrap:0,about:0,datatype:0,inlist:0,prefix:0,property:0,resource:0,typeof:0,vocab:0,autoCapitalize:0,autoCorrect:0,autoSave:0,color:0,itemProp:0,itemScope:i,itemType:0,itemID:0,itemRef:0,results:0,security:0,unselectable:0},DOMAttributeNames:{acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},DOMPropertyNames:{},DOMMutationMethods:{value:function(t,e){return null==e?t.removeAttribute("value"):void("number"!==t.type||t.hasAttribute("value")===!1?t.setAttribute("value",""+e):t.validity&&!t.validity.badInput&&t.ownerDocument.activeElement!==t&&t.setAttribute("value",""+e))}}};t.exports=c},function(t,e,n){(function(e){"use strict";function r(t,e,n,r){var o=void 0===t[n];null!=e&&o&&(t[n]=i(e,!0))}var o=n(21),i=n(108),a=(n(54),n(64)),u=n(111),s=(n(3),{instantiateChildren:function(t,e,n,o){if(null==t)return null;var i={};return u(t,r,i),i},updateChildren:function(t,e,n,r,u,s,c,l,f){if(e||t){var p,h;for(p in e)if(e.hasOwnProperty(p)){h=t&&t[p];var d=h&&h._currentElement,v=e[p];if(null!=h&&a(d,v))o.receiveComponent(h,v,u,l),e[p]=h;else{h&&(r[p]=o.getHostNode(h),o.unmountComponent(h,!1));var g=i(v,!0);e[p]=g;var y=o.mountComponent(g,u,s,c,l,f);n.push(y)}}for(p in t)!t.hasOwnProperty(p)||e&&e.hasOwnProperty(p)||(h=t[p],r[p]=o.getHostNode(h),o.unmountComponent(h,!1))}},unmountChildren:function(t,e){for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];o.unmountComponent(r,e)}}});t.exports=s}).call(e,n(88))},function(t,e,n){"use strict";var r=n(50),o=n(265),i={processChildrenUpdates:o.dangerouslyProcessChildrenUpdates,replaceNodeWithMarkup:r.dangerouslyReplaceNodeWithMarkup};t.exports=i},function(t,e,n){"use strict";function r(t){}function o(t,e){}function i(t){return!(!t.prototype||!t.prototype.isReactComponent)}function a(t){return!(!t.prototype||!t.prototype.isPureReactComponent)}var u=n(2),s=n(4),c=n(22),l=n(56),f=n(13),p=n(57),h=n(27),d=(n(7),n(101)),v=n(21),g=n(30),y=(n(1),n(42)),m=n(64),b=(n(3),{ImpureClass:0,PureClass:1,StatelessFunctional:2});r.prototype.render=function(){var t=h.get(this)._currentElement.type,e=t(this.props,this.context,this.updater);return o(t,e),e};var x=1,w={construct:function(t){this._currentElement=t,this._rootNodeID=0,this._compositeType=null,this._instance=null,this._hostParent=null,this._hostContainerInfo=null,this._updateBatchNumber=null,this._pendingElement=null,this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,this._renderedNodeType=null,this._renderedComponent=null,this._context=null,this._mountOrder=0,this._topLevelWrapper=null,this._pendingCallbacks=null,this._calledComponentWillUnmount=!1},mountComponent:function(t,e,n,s){this._context=s,this._mountOrder=x++,this._hostParent=e,this._hostContainerInfo=n;var l,f=this._currentElement.props,p=this._processContext(s),d=this._currentElement.type,v=t.getUpdateQueue(),y=i(d),m=this._constructComponent(y,f,p,v);y||null!=m&&null!=m.render?a(d)?this._compositeType=b.PureClass:this._compositeType=b.ImpureClass:(l=m,o(d,l),null===m||m===!1||c.isValidElement(m)?void 0:u("105",d.displayName||d.name||"Component"),m=new r(d),this._compositeType=b.StatelessFunctional);m.props=f,m.context=p,m.refs=g,m.updater=v,this._instance=m,h.set(m,this);var w=m.state;void 0===w&&(m.state=w=null),"object"!=typeof w||Array.isArray(w)?u("106",this.getName()||"ReactCompositeComponent"):void 0,this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1;var _;return _=m.unstable_handleError?this.performInitialMountWithErrorHandling(l,e,n,t,s):this.performInitialMount(l,e,n,t,s),m.componentDidMount&&t.getReactMountReady().enqueue(m.componentDidMount,m),_},_constructComponent:function(t,e,n,r){return this._constructComponentWithoutOwner(t,e,n,r)},_constructComponentWithoutOwner:function(t,e,n,r){var o=this._currentElement.type;return t?new o(e,n,r):o(e,n,r)},performInitialMountWithErrorHandling:function(t,e,n,r,o){var i,a=r.checkpoint();try{i=this.performInitialMount(t,e,n,r,o)}catch(u){r.rollback(a),this._instance.unstable_handleError(u),this._pendingStateQueue&&(this._instance.state=this._processPendingState(this._instance.props,this._instance.context)),a=r.checkpoint(),this._renderedComponent.unmountComponent(!0),r.rollback(a),i=this.performInitialMount(t,e,n,r,o)}return i},performInitialMount:function(t,e,n,r,o){var i=this._instance,a=0;i.componentWillMount&&(i.componentWillMount(),this._pendingStateQueue&&(i.state=this._processPendingState(i.props,i.context))),void 0===t&&(t=this._renderValidatedComponent());var u=d.getType(t);this._renderedNodeType=u;var s=this._instantiateReactComponent(t,u!==d.EMPTY);this._renderedComponent=s;var c=v.mountComponent(s,r,e,n,this._processChildContext(o),a);return c},getHostNode:function(){return v.getHostNode(this._renderedComponent)},unmountComponent:function(t){if(this._renderedComponent){var e=this._instance;if(e.componentWillUnmount&&!e._calledComponentWillUnmount)if(e._calledComponentWillUnmount=!0,t){var n=this.getName()+".componentWillUnmount()";p.invokeGuardedCallback(n,e.componentWillUnmount.bind(e))}else e.componentWillUnmount();this._renderedComponent&&(v.unmountComponent(this._renderedComponent,t),this._renderedNodeType=null,this._renderedComponent=null,this._instance=null),this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,this._pendingCallbacks=null,this._pendingElement=null,this._context=null,this._rootNodeID=0,this._topLevelWrapper=null,h.remove(e)}},_maskContext:function(t){var e=this._currentElement.type,n=e.contextTypes;if(!n)return g;var r={};for(var o in n)r[o]=t[o];return r},_processContext:function(t){var e=this._maskContext(t);return e},_processChildContext:function(t){var e,n=this._currentElement.type,r=this._instance;if(r.getChildContext&&(e=r.getChildContext()),e){"object"!=typeof n.childContextTypes?u("107",this.getName()||"ReactCompositeComponent"):void 0;for(var o in e)o in n.childContextTypes?void 0:u("108",this.getName()||"ReactCompositeComponent",o);return s({},t,e)}return t},_checkContextTypes:function(t,e,n){},receiveComponent:function(t,e,n){var r=this._currentElement,o=this._context;this._pendingElement=null,this.updateComponent(e,r,t,o,n)},performUpdateIfNecessary:function(t){null!=this._pendingElement?v.receiveComponent(this,this._pendingElement,t,this._context):null!==this._pendingStateQueue||this._pendingForceUpdate?this.updateComponent(t,this._currentElement,this._currentElement,this._context,this._context):this._updateBatchNumber=null},updateComponent:function(t,e,n,r,o){var i=this._instance;null==i?u("136",this.getName()||"ReactCompositeComponent"):void 0;var a,s=!1;this._context===o?a=i.context:(a=this._processContext(o),s=!0);var c=e.props,l=n.props;e!==n&&(s=!0),s&&i.componentWillReceiveProps&&i.componentWillReceiveProps(l,a);var f=this._processPendingState(l,a),p=!0;this._pendingForceUpdate||(i.shouldComponentUpdate?p=i.shouldComponentUpdate(l,f,a):this._compositeType===b.PureClass&&(p=!y(c,l)||!y(i.state,f))),this._updateBatchNumber=null,p?(this._pendingForceUpdate=!1,this._performComponentUpdate(n,l,f,a,t,o)):(this._currentElement=n,this._context=o,i.props=l,i.state=f,i.context=a)},_processPendingState:function(t,e){var n=this._instance,r=this._pendingStateQueue,o=this._pendingReplaceState;if(this._pendingReplaceState=!1,this._pendingStateQueue=null,!r)return n.state;if(o&&1===r.length)return r[0];for(var i=s({},o?r[0]:n.state),a=o?1:0;a=0||null!=e.is}function v(t){var e=t.type;h(e),this._currentElement=t,this._tag=e.toLowerCase(),this._namespaceURI=null,this._renderedChildren=null,this._previousStyle=null,this._previousStyleCopy=null,this._hostNode=null,this._hostParent=null,this._rootNodeID=0,this._domID=0,this._hostContainerInfo=null,this._wrapperState=null,this._topLevelWrapper=null,this._flags=0}var g=n(2),y=n(4),m=n(248),b=n(250),x=n(19),w=n(51),_=n(20),C=n(93),E=n(25),M=n(52),k=n(37),S=n(94),T=n(5),N=n(266),O=n(267),A=n(95),P=n(270),j=(n(7),n(279)),D=n(284),I=(n(8),n(40)),R=(n(1),n(63),n(42),n(107)),L=(n(65),n(3),S),U=E.deleteListener,F=T.getNodeFromInstance,q=k.listenTo,H=M.registrationNameModules,B={string:!0,number:!0},z="style",W="__html",V={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null},$=11,Y={topAbort:"abort",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topSeeked:"seeked",topSeeking:"seeking",topStalled:"stalled",topSuspend:"suspend",topTimeUpdate:"timeupdate",topVolumeChange:"volumechange",topWaiting:"waiting"},K={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},X={listing:!0,pre:!0,textarea:!0},G=y({menuitem:!0},K),J=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Q={},Z={}.hasOwnProperty,tt=1;v.displayName="ReactDOMComponent",v.Mixin={mountComponent:function(t,e,n,r){this._rootNodeID=tt++,this._domID=n._idCounter++,this._hostParent=e,this._hostContainerInfo=n;var i=this._currentElement.props;switch(this._tag){case"audio":case"form":case"iframe":case"img":case"link":case"object":case"source":case"video":this._wrapperState={listeners:null},t.getReactMountReady().enqueue(f,this);break;case"input":N.mountWrapper(this,i,e),i=N.getHostProps(this,i),t.getReactMountReady().enqueue(l,this),t.getReactMountReady().enqueue(f,this);break;case"option":O.mountWrapper(this,i,e),i=O.getHostProps(this,i);break;case"select":A.mountWrapper(this,i,e),i=A.getHostProps(this,i),t.getReactMountReady().enqueue(f,this);break;case"textarea":P.mountWrapper(this,i,e),i=P.getHostProps(this,i),t.getReactMountReady().enqueue(l,this),t.getReactMountReady().enqueue(f,this)}o(this,i);var a,p;null!=e?(a=e._namespaceURI,p=e._tag):n._tag&&(a=n._namespaceURI,p=n._tag),(null==a||a===w.svg&&"foreignobject"===p)&&(a=w.html),a===w.html&&("svg"===this._tag?a=w.svg:"math"===this._tag&&(a=w.mathml)),this._namespaceURI=a;var h;if(t.useCreateElement){var d,v=n._ownerDocument;if(a===w.html)if("script"===this._tag){var g=v.createElement("div"),y=this._currentElement.type;g.innerHTML="<"+y+">",d=g.removeChild(g.firstChild)}else d=i.is?v.createElement(this._currentElement.type,i.is):v.createElement(this._currentElement.type);else d=v.createElementNS(a,this._currentElement.type);T.precacheNode(this,d),this._flags|=L.hasCachedChildNodes,this._hostParent||C.setAttributeForRoot(d),this._updateDOMProperties(null,i,t);var b=x(d);this._createInitialChildren(t,i,r,b),h=b}else{var _=this._createOpenTagMarkupAndPutListeners(t,i),E=this._createContentMarkup(t,i,r);h=!E&&K[this._tag]?_+"/>":_+">"+E+""}switch(this._tag){case"input":t.getReactMountReady().enqueue(u,this),i.autoFocus&&t.getReactMountReady().enqueue(m.focusDOMComponent,this);break;case"textarea":t.getReactMountReady().enqueue(s,this),i.autoFocus&&t.getReactMountReady().enqueue(m.focusDOMComponent,this);break;case"select":i.autoFocus&&t.getReactMountReady().enqueue(m.focusDOMComponent,this);break;case"button":i.autoFocus&&t.getReactMountReady().enqueue(m.focusDOMComponent,this);break;case"option":t.getReactMountReady().enqueue(c,this)}return h},_createOpenTagMarkupAndPutListeners:function(t,e){var n="<"+this._currentElement.type;for(var r in e)if(e.hasOwnProperty(r)){var o=e[r];if(null!=o)if(H.hasOwnProperty(r))o&&i(this,r,o,t);else{r===z&&(o&&(o=this._previousStyleCopy=y({},e.style)),o=b.createMarkupForStyles(o,this));var a=null;null!=this._tag&&d(this._tag,e)?V.hasOwnProperty(r)||(a=C.createMarkupForCustomAttribute(r,o)):a=C.createMarkupForProperty(r,o),a&&(n+=" "+a)}}return t.renderToStaticMarkup?n:(this._hostParent||(n+=" "+C.createMarkupForRoot()),n+=" "+C.createMarkupForID(this._domID))},_createContentMarkup:function(t,e,n){var r="",o=e.dangerouslySetInnerHTML;if(null!=o)null!=o.__html&&(r=o.__html);else{var i=B[typeof e.children]?e.children:null,a=null!=i?null:e.children;if(null!=i)r=I(i);else if(null!=a){var u=this.mountChildren(a,t,n);r=u.join("")}}return X[this._tag]&&"\n"===r.charAt(0)?"\n"+r:r},_createInitialChildren:function(t,e,n,r){var o=e.dangerouslySetInnerHTML;if(null!=o)null!=o.__html&&x.queueHTML(r,o.__html);else{var i=B[typeof e.children]?e.children:null,a=null!=i?null:e.children;if(null!=i)""!==i&&x.queueText(r,i);else if(null!=a)for(var u=this.mountChildren(a,t,n),s=0;s"},receiveComponent:function(){},getHostNode:function(){return i.getNodeFromInstance(this)},unmountComponent:function(){i.uncacheNode(this)}}),t.exports=a},function(t,e){"use strict";var n={useCreateElement:!0,useFiber:!1};t.exports=n},function(t,e,n){"use strict";var r=n(50),o=n(5),i={dangerouslyProcessChildrenUpdates:function(t,e){var n=o.getNodeFromInstance(t);r.processUpdates(n,e)}};t.exports=i},function(t,e,n){"use strict";function r(){this._rootNodeID&&p.updateWrapper(this)}function o(t){var e="checkbox"===t.type||"radio"===t.type;return e?null!=t.checked:null!=t.value}function i(t){var e=this._currentElement.props,n=c.executeOnChange(e,t);f.asap(r,this);var o=e.name;if("radio"===e.type&&null!=o){for(var i=l.getNodeFromInstance(this),u=i;u.parentNode;)u=u.parentNode;for(var s=u.querySelectorAll("input[name="+JSON.stringify(""+o)+'][type="radio"]'),p=0;pe.end?(n=e.end,r=e.start):(n=e.start,r=e.end),o.moveToElementText(t),o.moveStart("character",n),o.setEndPoint("EndToStart",o),o.moveEnd("character",r-n),o.select()}function u(t,e){if(window.getSelection){var n=window.getSelection(),r=t[l()].length,o=Math.min(e.start,r),i=void 0===e.end?o:Math.min(e.end,r);if(!n.extend&&o>i){var a=i;i=o,o=a}var u=c(t,o),s=c(t,i);if(u&&s){var f=document.createRange();f.setStart(u.node,u.offset),n.removeAllRanges(),o>i?(n.addRange(f),n.extend(s.node,s.offset)):(f.setEnd(s.node,s.offset),n.addRange(f))}}}var s=n(6),c=n(306),l=n(106),f=s.canUseDOM&&"selection"in document&&!("getSelection"in window),p={getOffsets:f?o:i,setOffsets:f?a:u};t.exports=p},function(t,e,n){"use strict";var r=n(2),o=n(4),i=n(50),a=n(19),u=n(5),s=n(40),c=(n(1),n(65),function(t){this._currentElement=t,this._stringText=""+t,this._hostNode=null,this._hostParent=null,this._domID=0,this._mountIndex=0,this._closingComment=null,this._commentNodes=null});o(c.prototype,{mountComponent:function(t,e,n,r){var o=n._idCounter++,i=" react-text: "+o+" ",c=" /react-text ";if(this._domID=o,this._hostParent=e,t.useCreateElement){var l=n._ownerDocument,f=l.createComment(i),p=l.createComment(c),h=a(l.createDocumentFragment());return a.queueChild(h,a(f)),this._stringText&&a.queueChild(h,a(l.createTextNode(this._stringText))),a.queueChild(h,a(p)),u.precacheNode(this,f),this._closingComment=p,h}var d=s(this._stringText);return t.renderToStaticMarkup?d:""+d+""},receiveComponent:function(t,e){if(t!==this._currentElement){this._currentElement=t;var n=""+t;if(n!==this._stringText){this._stringText=n;var r=this.getHostNode();i.replaceDelimitedText(r[0],r[1],n)}}},getHostNode:function(){var t=this._commentNodes;if(t)return t;if(!this._closingComment)for(var e=u.getNodeFromInstance(this),n=e.nextSibling;;){if(null==n?r("67",this._domID):void 0,8===n.nodeType&&" /react-text "===n.nodeValue){this._closingComment=n;break}n=n.nextSibling}return t=[this._hostNode,this._closingComment],this._commentNodes=t,t},unmountComponent:function(){this._closingComment=null,this._commentNodes=null,u.uncacheNode(this)}}),t.exports=c},function(t,e,n){"use strict";function r(){this._rootNodeID&&l.updateWrapper(this)}function o(t){var e=this._currentElement.props,n=u.executeOnChange(e,t);return c.asap(r,this),n}var i=n(2),a=n(4),u=n(55),s=n(5),c=n(9),l=(n(1),n(3),{getHostProps:function(t,e){null!=e.dangerouslySetInnerHTML?i("91"):void 0;var n=a({},e,{value:void 0,defaultValue:void 0,children:""+t._wrapperState.initialValue,onChange:t._wrapperState.onChange});return n},mountWrapper:function(t,e){var n=u.getValue(e),r=n;if(null==n){var a=e.defaultValue,s=e.children;null!=s&&(null!=a?i("92"):void 0,Array.isArray(s)&&(s.length<=1?void 0:i("93"),s=s[0]),a=""+s),null==a&&(a=""),r=a}t._wrapperState={initialValue:""+r,listeners:null,onChange:o.bind(t)}},updateWrapper:function(t){var e=t._currentElement.props,n=s.getNodeFromInstance(t),r=u.getValue(e);if(null!=r){var o=""+r;o!==n.value&&(n.value=o),null==e.defaultValue&&(n.defaultValue=o)}null!=e.defaultValue&&(n.defaultValue=e.defaultValue)},postMountWrapper:function(t){var e=s.getNodeFromInstance(t),n=e.textContent;n===t._wrapperState.initialValue&&(e.value=n)}});t.exports=l},function(t,e,n){"use strict";function r(t,e){"_hostNode"in t?void 0:s("33"),"_hostNode"in e?void 0:s("33");for(var n=0,r=t;r;r=r._hostParent)n++;for(var o=0,i=e;i;i=i._hostParent)o++;for(;n-o>0;)t=t._hostParent,n--;for(;o-n>0;)e=e._hostParent,o--;for(var a=n;a--;){if(t===e)return t;t=t._hostParent,e=e._hostParent}return null}function o(t,e){"_hostNode"in t?void 0:s("35"),"_hostNode"in e?void 0:s("35");for(;e;){if(e===t)return!0;e=e._hostParent}return!1}function i(t){return"_hostNode"in t?void 0:s("36"),t._hostParent}function a(t,e,n){for(var r=[];t;)r.push(t),t=t._hostParent;var o;for(o=r.length;o-- >0;)e(r[o],"captured",n);for(o=0;o0;)n(s[c],"captured",i)}var s=n(2);n(1);t.exports={isAncestor:o,getLowestCommonAncestor:r,getParentInstance:i,traverseTwoPhase:a,traverseEnterLeave:u}},function(t,e,n){"use strict";function r(){this.reinitializeTransaction()}var o=n(4),i=n(9),a=n(39),u=n(8),s={initialize:u,close:function(){p.isBatchingUpdates=!1}},c={initialize:u,close:i.flushBatchedUpdates.bind(i)},l=[c,s];o(r.prototype,a,{getTransactionWrappers:function(){return l}});var f=new r,p={isBatchingUpdates:!1,batchedUpdates:function(t,e,n,r,o,i){var a=p.isBatchingUpdates;return p.isBatchingUpdates=!0,a?t(e,n,r,o,i):f.perform(t,null,e,n,r,o,i)}};t.exports=p},function(t,e,n){"use strict";function r(){C||(C=!0,m.EventEmitter.injectReactEventListener(y),m.EventPluginHub.injectEventPluginOrder(u),m.EventPluginUtils.injectComponentTree(p),m.EventPluginUtils.injectTreeTraversal(d),m.EventPluginHub.injectEventPluginsByName({SimpleEventPlugin:_,EnterLeaveEventPlugin:s,ChangeEventPlugin:a,SelectEventPlugin:w,BeforeInputEventPlugin:i}),m.HostComponent.injectGenericComponentClass(f),m.HostComponent.injectTextComponentClass(v),m.DOMProperty.injectDOMPropertyConfig(o),m.DOMProperty.injectDOMPropertyConfig(c),m.DOMProperty.injectDOMPropertyConfig(x),m.EmptyComponent.injectEmptyComponentFactory(function(t){return new h(t)}),m.Updates.injectReconcileTransaction(b),m.Updates.injectBatchingStrategy(g),m.Component.injectEnvironment(l))}var o=n(247),i=n(249),a=n(251),u=n(253),s=n(254),c=n(256),l=n(258),f=n(261),p=n(5),h=n(263),d=n(271),v=n(269),g=n(272),y=n(276),m=n(277),b=n(282),x=n(287),w=n(288),_=n(289),C=!1;t.exports={inject:r}},115,function(t,e,n){"use strict";function r(t){o.enqueueEvents(t),o.processEventQueue(!1)}var o=n(25),i={handleTopLevel:function(t,e,n,i){var a=o.extractEvents(t,e,n,i);r(a)}};t.exports=i},function(t,e,n){"use strict";function r(t){for(;t._hostParent;)t=t._hostParent;var e=f.getNodeFromInstance(t),n=e.parentNode;return f.getClosestInstanceFromNode(n)}function o(t,e){this.topLevelType=t,this.nativeEvent=e,this.ancestors=[]}function i(t){var e=h(t.nativeEvent),n=f.getClosestInstanceFromNode(e),o=n;do t.ancestors.push(o),o=o&&r(o);while(o);for(var i=0;i/,i=/^<\!\-\-/,a={CHECKSUM_ATTR_NAME:"data-react-checksum",addChecksumToMarkup:function(t){var e=r(t);return i.test(t)?t:t.replace(o," "+a.CHECKSUM_ATTR_NAME+'="'+e+'"$&')},canReuseMarkup:function(t,e){var n=e.getAttribute(a.CHECKSUM_ATTR_NAME);n=n&&parseInt(n,10);var o=r(t);return o===n}};t.exports=a},function(t,e,n){"use strict";function r(t,e,n){return{type:"INSERT_MARKUP",content:t,fromIndex:null,fromNode:null,toIndex:n,afterNode:e}}function o(t,e,n){return{type:"MOVE_EXISTING",content:null,fromIndex:t._mountIndex,fromNode:p.getHostNode(t),toIndex:n,afterNode:e}}function i(t,e){return{type:"REMOVE_NODE",content:null,fromIndex:t._mountIndex,fromNode:e,toIndex:null,afterNode:null}}function a(t){return{type:"SET_MARKUP",content:t,fromIndex:null,fromNode:null,toIndex:null,afterNode:null}}function u(t){return{type:"TEXT_CONTENT",content:t,fromIndex:null,fromNode:null,toIndex:null,afterNode:null}}function s(t,e){return e&&(t=t||[],t.push(e)),t}function c(t,e){f.processChildrenUpdates(t,e)}var l=n(2),f=n(56),p=(n(27),n(7),n(13),n(21)),h=n(257),d=(n(8),n(303)),v=(n(1),{Mixin:{_reconcilerInstantiateChildren:function(t,e,n){return h.instantiateChildren(t,e,n)},_reconcilerUpdateChildren:function(t,e,n,r,o,i){var a,u=0;return a=d(e,u),h.updateChildren(t,a,n,r,o,this,this._hostContainerInfo,i,u),a},mountChildren:function(t,e,n){var r=this._reconcilerInstantiateChildren(t,e,n);this._renderedChildren=r;var o=[],i=0;for(var a in r)if(r.hasOwnProperty(a)){var u=r[a],s=0,c=p.mountComponent(u,e,this,this._hostContainerInfo,n,s);u._mountIndex=i++,o.push(c)}return o},updateTextContent:function(t){var e=this._renderedChildren;h.unmountChildren(e,!1);for(var n in e)e.hasOwnProperty(n)&&l("118");var r=[u(t)];c(this,r)},updateMarkup:function(t){var e=this._renderedChildren;h.unmountChildren(e,!1);for(var n in e)e.hasOwnProperty(n)&&l("118");var r=[a(t)];c(this,r)},updateChildren:function(t,e,n){this._updateChildren(t,e,n)},_updateChildren:function(t,e,n){var r=this._renderedChildren,o={},i=[],a=this._reconcilerUpdateChildren(r,t,i,o,e,n);if(a||r){var u,l=null,f=0,h=0,d=0,v=null;for(u in a)if(a.hasOwnProperty(u)){var g=r&&r[u],y=a[u];g===y?(l=s(l,this.moveChild(g,v,f,h)),h=Math.max(g._mountIndex,h),g._mountIndex=f):(g&&(h=Math.max(g._mountIndex,h)),l=s(l,this._mountChildAtIndex(y,i[d],v,f,e,n)),d++),f++,v=p.getHostNode(y)}for(u in o)o.hasOwnProperty(u)&&(l=s(l,this._unmountChild(r[u],o[u])));l&&c(this,l),this._renderedChildren=a}},unmountChildren:function(t){var e=this._renderedChildren;h.unmountChildren(e,t),this._renderedChildren=null},moveChild:function(t,e,n,r){if(t._mountIndex=e)return{node:o, offset:e-i};i=a}o=n(r(o))}}t.exports=o},function(t,e,n){"use strict";function r(t,e){var n={};return n[t.toLowerCase()]=e.toLowerCase(),n["Webkit"+t]="webkit"+e,n["Moz"+t]="moz"+e,n["ms"+t]="MS"+e,n["O"+t]="o"+e.toLowerCase(),n}function o(t){if(u[t])return u[t];if(!a[t])return t;var e=a[t];for(var n in e)if(e.hasOwnProperty(n)&&n in s)return u[t]=e[n];return""}var i=n(6),a={animationend:r("Animation","AnimationEnd"),animationiteration:r("Animation","AnimationIteration"),animationstart:r("Animation","AnimationStart"),transitionend:r("Transition","TransitionEnd")},u={},s={};i.canUseDOM&&(s=document.createElement("div").style,"AnimationEvent"in window||(delete a.animationend.animation,delete a.animationiteration.animation,delete a.animationstart.animation),"TransitionEvent"in window||delete a.transitionend.transition),t.exports=o},function(t,e,n){"use strict";function r(t){return'"'+o(t)+'"'}var o=n(40);t.exports=r},function(t,e,n){"use strict";var r=n(100);t.exports=r.renderSubtreeIntoContainer},function(t,e){"use strict";function n(t){if("object"==typeof t&&null!==t){var e=t.$$typeof;switch(e){case i:switch(t=t.type){case p:case h:case u:case c:case s:case v:return t;default:switch(t=t&&t.$$typeof){case f:case d:case m:case y:case l:return t;default:return e}}case a:return e}}}function r(t){return n(t)===h}var o="function"==typeof Symbol&&Symbol.for,i=o?Symbol.for("react.element"):60103,a=o?Symbol.for("react.portal"):60106,u=o?Symbol.for("react.fragment"):60107,s=o?Symbol.for("react.strict_mode"):60108,c=o?Symbol.for("react.profiler"):60114,l=o?Symbol.for("react.provider"):60109,f=o?Symbol.for("react.context"):60110,p=o?Symbol.for("react.async_mode"):60111,h=o?Symbol.for("react.concurrent_mode"):60111,d=o?Symbol.for("react.forward_ref"):60112,v=o?Symbol.for("react.suspense"):60113,g=o?Symbol.for("react.suspense_list"):60120,y=o?Symbol.for("react.memo"):60115,m=o?Symbol.for("react.lazy"):60116,b=o?Symbol.for("react.block"):60121,x=o?Symbol.for("react.fundamental"):60117,w=o?Symbol.for("react.responder"):60118,_=o?Symbol.for("react.scope"):60119;e.AsyncMode=p,e.ConcurrentMode=h,e.ContextConsumer=f,e.ContextProvider=l,e.Element=i,e.ForwardRef=d,e.Fragment=u,e.Lazy=m,e.Memo=y,e.Portal=a,e.Profiler=c,e.StrictMode=s,e.Suspense=v,e.isAsyncMode=function(t){return r(t)||n(t)===p},e.isConcurrentMode=r,e.isContextConsumer=function(t){return n(t)===f},e.isContextProvider=function(t){return n(t)===l},e.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===i},e.isForwardRef=function(t){return n(t)===d},e.isFragment=function(t){return n(t)===u},e.isLazy=function(t){return n(t)===m},e.isMemo=function(t){return n(t)===y},e.isPortal=function(t){return n(t)===a},e.isProfiler=function(t){return n(t)===c},e.isStrictMode=function(t){return n(t)===s},e.isSuspense=function(t){return n(t)===v},e.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===u||t===h||t===c||t===s||t===v||t===g||"object"==typeof t&&null!==t&&(t.$$typeof===m||t.$$typeof===y||t.$$typeof===l||t.$$typeof===f||t.$$typeof===d||t.$$typeof===x||t.$$typeof===w||t.$$typeof===_||t.$$typeof===b)},e.typeOf=n},function(t,e,n){"use strict";t.exports=n(310)},function(t,e,n){"undefined"==typeof Promise&&(n(315).enable(),window.Promise=n(314)),n(316),Object.assign=n(313)},function(t,e){"use strict";function n(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}function r(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(e).map(function(t){return e[t]});if("0123456789"!==r.join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(t){o[t]=t}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(t){return!1}}var o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;t.exports=r()?Object.assign:function(t,e){for(var r,a,u=n(t),s=1;s-1?e:t}function f(t,e){e=e||{};var n=e.body;if(f.prototype.isPrototypeOf(t)){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new o(t.headers)),this.method=t.method,this.mode=t.mode,n||(n=t._bodyInit,t.bodyUsed=!0)}else this.url=t;if(this.credentials=e.credentials||this.credentials||"omit",!e.headers&&this.headers||(this.headers=new o(e.headers)),this.method=l(e.method||this.method||"GET"),this.mode=e.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n)}function p(t){var e=new FormData;return t.trim().split("&").forEach(function(t){if(t){var n=t.split("="),r=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");e.append(decodeURIComponent(r),decodeURIComponent(o))}}),e}function h(t){var e=new o,n=(t.getAllResponseHeaders()||"").trim().split("\n");return n.forEach(function(t){var n=t.trim().split(":"),r=n.shift().trim(),o=n.join(":").trim();e.append(r,o)}),e}function d(t,e){e||(e={}),this.type="default",this.status=e.status,this.ok=this.status>=200&&this.status<300,this.statusText=e.statusText,this.headers=e.headers instanceof o?e.headers:new o(e.headers),this.url=e.url||"",this._initBody(t)}if(!t.fetch){var v={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};o.prototype.append=function(t,r){t=e(t),r=n(r);var o=this.map[t];o||(o=[],this.map[t]=o),o.push(r)},o.prototype.delete=function(t){delete this.map[e(t)]},o.prototype.get=function(t){var n=this.map[e(t)];return n?n[0]:null},o.prototype.getAll=function(t){return this.map[e(t)]||[]},o.prototype.has=function(t){return this.map.hasOwnProperty(e(t))},o.prototype.set=function(t,r){this.map[e(t)]=[n(r)]},o.prototype.forEach=function(t,e){Object.getOwnPropertyNames(this.map).forEach(function(n){this.map[n].forEach(function(r){t.call(e,r,n,this)},this)},this)},o.prototype.keys=function(){var t=[];return this.forEach(function(e,n){t.push(n)}),r(t)},o.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),r(t)},o.prototype.entries=function(){var t=[];return this.forEach(function(e,n){t.push([n,e])}),r(t)},v.iterable&&(o.prototype[Symbol.iterator]=o.prototype.entries);var g=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];f.prototype.clone=function(){return new f(this)},c.call(f.prototype),c.call(d.prototype),d.prototype.clone=function(){return new d(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new o(this.headers),url:this.url})},d.error=function(){var t=new d(null,{status:0,statusText:""});return t.type="error",t};var y=[301,302,303,307,308];d.redirect=function(t,e){if(y.indexOf(e)===-1)throw new RangeError("Invalid status code");return new d(null,{status:e,headers:{location:t}})},t.Headers=o,t.Request=f,t.Response=d,t.fetch=function(t,e){return new Promise(function(n,r){function o(){return"responseURL"in a?a.responseURL:/^X-Request-URL:/m.test(a.getAllResponseHeaders())?a.getResponseHeader("X-Request-URL"):void 0}var i;i=f.prototype.isPrototypeOf(t)&&!e?t:new f(t,e);var a=new XMLHttpRequest;a.onload=function(){var t={status:a.status,statusText:a.statusText,headers:h(a),url:o()},e="response"in a?a.response:a.responseText;n(new d(e,t))},a.onerror=function(){r(new TypeError("Network request failed"))},a.ontimeout=function(){r(new TypeError("Network request failed"))},a.open(i.method,i.url,!0),"include"===i.credentials&&(a.withCredentials=!0),"responseType"in a&&v.blob&&(a.responseType="blob"),i.headers.forEach(function(t,e){a.setRequestHeader(e,t)}),a.send("undefined"==typeof i._bodyInit?null:i._bodyInit)})},t.fetch.polyfill=!0}}("undefined"!=typeof self?self:this)},54,[329,29],function(t,e,n){"use strict";function r(t){return(""+t).replace(x,"$&/")}function o(t,e){this.func=t,this.context=e,this.count=0}function i(t,e,n){var r=t.func,o=t.context;r.call(o,e,t.count++)}function a(t,e,n){if(null==t)return t;var r=o.getPooled(e,n);y(t,i,r),o.release(r)}function u(t,e,n,r){this.result=t,this.keyPrefix=e,this.func=n,this.context=r,this.count=0}function s(t,e,n){var o=t.result,i=t.keyPrefix,a=t.func,u=t.context,s=a.call(u,e,t.count++);Array.isArray(s)?c(s,o,n,g.thatReturnsArgument):null!=s&&(v.isValidElement(s)&&(s=v.cloneAndReplaceKey(s,i+(!s.key||e&&e.key===s.key?"":r(s.key)+"/")+n)),o.push(s))}function c(t,e,n,o,i){var a="";null!=n&&(a=r(n)+"/");var c=u.getPooled(e,a,o,i);y(t,s,c),u.release(c)}function l(t,e,n){if(null==t)return t;var r=[];return c(t,r,null,e,n),r}function f(t,e,n){return null}function p(t,e){return y(t,f,null)}function h(t){var e=[];return c(t,e,null,g.thatReturnsArgument),e}var d=n(318),v=n(23),g=n(8),y=n(328),m=d.twoArgumentPooler,b=d.fourArgumentPooler,x=/\/+/g;o.prototype.destructor=function(){this.func=null,this.context=null,this.count=0},d.addPoolingTo(o,m),u.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},d.addPoolingTo(u,b);var w={forEach:a,map:l,mapIntoWithKeyPrefixInternal:c,count:p,toArray:h};t.exports=w},function(t,e,n){"use strict";var r=n(23),o=r.createFactory,i={a:o("a"),abbr:o("abbr"),address:o("address"),area:o("area"),article:o("article"),aside:o("aside"),audio:o("audio"),b:o("b"),base:o("base"),bdi:o("bdi"),bdo:o("bdo"),big:o("big"),blockquote:o("blockquote"),body:o("body"),br:o("br"),button:o("button"),canvas:o("canvas"),caption:o("caption"),cite:o("cite"),code:o("code"),col:o("col"),colgroup:o("colgroup"),data:o("data"),datalist:o("datalist"),dd:o("dd"),del:o("del"),details:o("details"),dfn:o("dfn"),dialog:o("dialog"),div:o("div"),dl:o("dl"),dt:o("dt"),em:o("em"),embed:o("embed"),fieldset:o("fieldset"),figcaption:o("figcaption"),figure:o("figure"),footer:o("footer"),form:o("form"),h1:o("h1"),h2:o("h2"),h3:o("h3"),h4:o("h4"),h5:o("h5"),h6:o("h6"),head:o("head"),header:o("header"),hgroup:o("hgroup"),hr:o("hr"),html:o("html"),i:o("i"),iframe:o("iframe"),img:o("img"),input:o("input"),ins:o("ins"),kbd:o("kbd"),keygen:o("keygen"),label:o("label"),legend:o("legend"),li:o("li"),link:o("link"),main:o("main"),map:o("map"),mark:o("mark"),menu:o("menu"),menuitem:o("menuitem"),meta:o("meta"),meter:o("meter"),nav:o("nav"),noscript:o("noscript"),object:o("object"),ol:o("ol"),optgroup:o("optgroup"),option:o("option"),output:o("output"),p:o("p"),param:o("param"),picture:o("picture"),pre:o("pre"),progress:o("progress"),q:o("q"),rp:o("rp"),rt:o("rt"),ruby:o("ruby"),s:o("s"),samp:o("samp"),script:o("script"),section:o("section"),select:o("select"),small:o("small"),source:o("source"),span:o("span"),strong:o("strong"),style:o("style"),sub:o("sub"),summary:o("summary"),sup:o("sup"),table:o("table"),tbody:o("tbody"),td:o("td"),textarea:o("textarea"),tfoot:o("tfoot"),th:o("th"),thead:o("thead"),time:o("time"),title:o("title"),tr:o("tr"),track:o("track"),u:o("u"),ul:o("ul"),var:o("var"),video:o("video"),wbr:o("wbr"),circle:o("circle"),clipPath:o("clipPath"),defs:o("defs"),ellipse:o("ellipse"),g:o("g"),image:o("image"),line:o("line"),linearGradient:o("linearGradient"),mask:o("mask"),path:o("path"),pattern:o("pattern"),polygon:o("polygon"),polyline:o("polyline"),radialGradient:o("radialGradient"),rect:o("rect"),stop:o("stop"),svg:o("svg"),text:o("text"),tspan:o("tspan")};t.exports=i},function(t,e,n){"use strict";var r=n(23),o=r.isValidElement,i=n(89);t.exports=i(o)},286,function(t,e,n){"use strict";var r=n(113),o=r.Component,i=n(23),a=i.isValidElement,u=n(116),s=n(129);t.exports=s(o,a,u)},305,function(t,e){"use strict";function n(){return r++}var r=1;t.exports=n},function(t,e,n){"use strict";var r=function(){};t.exports=r},function(t,e,n){"use strict";function r(t){return i.isValidElement(t)?void 0:o("143"),t}var o=n(29),i=n(23);n(1);t.exports=r},function(t,e,n){"use strict";function r(t,e){return t&&"object"==typeof t&&null!=t.key?c.escape(t.key):e.toString(36)}function o(t,e,n,i){var p=typeof t;if("undefined"!==p&&"boolean"!==p||(t=null),null===t||"string"===p||"number"===p||"object"===p&&t.$$typeof===u)return n(i,t,""===e?l+r(t,0):e),1;var h,d,v=0,g=""===e?l:e+f;if(Array.isArray(t))for(var y=0;y