You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
423 KiB
24 lines
423 KiB
webpackJsonp([0,2],[function(t,n){t.exports=function(t,n,e,r){var i,o=t=t||{},a=typeof t.default;"object"!==a&&"function"!==a||(i=t,o=t.default);var u="function"==typeof o?o.options:o;if(n&&(u.render=n.render,u.staticRenderFns=n.staticRenderFns),e&&(u._scopeId=e),r){var c=u.computed||(u.computed={});Object.keys(r).forEach(function(t){var n=r[t];c[t]=function(){return n}})}return{esModule:i,exports:o,options:u}}},function(t,n,e){!function(t,e){e(n)}(this,function(t){"use strict";function n(t){return function(n,e){return Cs(t(n),e)}}function e(t,n,e){var r=Math.abs(n-t)/Math.max(0,e),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),o=r/i;return o>=Bs?i*=10:o>=Hs?i*=5:o>=Ws&&(i*=2),n<t?-i:i}function r(t){return t.length}function i(t,n,e){var r=t(e);return"translate("+(isFinite(r)?r:n(e))+",0)"}function o(t,n,e){var r=t(e);return"translate(0,"+(isFinite(r)?r:n(e))+")"}function a(t){var n=t.bandwidth()/2;return t.round()&&(n=Math.round(n)),function(e){return t(e)+n}}function u(){return!this.__axis}function c(t,n){function e(e){var p,d=null==c?n.ticks?n.ticks.apply(n,r):n.domain():c,v=null==s?n.tickFormat?n.tickFormat.apply(n,r):hf:s,g=Math.max(f,0)+h,y=t===pf||t===vf?i:o,_=n.range(),m=_[0]+.5,b=_[_.length-1]+.5,x=(n.bandwidth?a:hf)(n.copy()),w=e.selection?e.selection():e,M=w.selectAll(".domain").data([null]),k=w.selectAll(".tick").data(d,n).order(),A=k.exit(),E=k.enter().append("g").attr("class","tick"),C=k.select("line"),S=k.select("text"),T=t===pf||t===gf?-1:1,O=t===gf||t===df?(p="x","y"):(p="y","x");M=M.merge(M.enter().insert("path",".tick").attr("class","domain").attr("stroke","#000")),k=k.merge(E),C=C.merge(E.append("line").attr("stroke","#000").attr(p+"2",T*f).attr(O+"1",.5).attr(O+"2",.5)),S=S.merge(E.append("text").attr("fill","#000").attr(p,T*g).attr(O,.5).attr("dy",t===pf?"0em":t===vf?"0.71em":"0.32em")),e!==w&&(M=M.transition(e),k=k.transition(e),C=C.transition(e),S=S.transition(e),A=A.transition(e).attr("opacity",yf).attr("transform",function(t){return y(x,this.parentNode.__axis||x,t)}),E.attr("opacity",yf).attr("transform",function(t){return y(this.parentNode.__axis||x,x,t)})),A.remove(),M.attr("d",t===gf||t==df?"M"+T*l+","+m+"H0.5V"+b+"H"+T*l:"M"+m+","+T*l+"V0.5H"+b+"V"+T*l),k.attr("opacity",1).attr("transform",function(t){return y(x,x,t)}),C.attr(p+"2",T*f),S.attr(p,T*g).text(v),w.filter(u).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===df?"start":t===gf?"end":"middle"),w.each(function(){this.__axis=x})}var r=[],c=null,s=null,f=6,l=6,h=3;return e.scale=function(t){return arguments.length?(n=t,e):n},e.ticks=function(){return r=lf.call(arguments),e},e.tickArguments=function(t){return arguments.length?(r=null==t?[]:lf.call(t),e):r.slice()},e.tickValues=function(t){return arguments.length?(c=null==t?null:lf.call(t),e):c&&c.slice()},e.tickFormat=function(t){return arguments.length?(s=t,e):s},e.tickSize=function(t){return arguments.length?(f=l=+t,e):f},e.tickSizeInner=function(t){return arguments.length?(f=+t,e):f},e.tickSizeOuter=function(t){return arguments.length?(l=+t,e):l},e.tickPadding=function(t){return arguments.length?(h=+t,e):h},e}function s(t){return c(pf,t)}function f(t){return c(df,t)}function l(t){return c(vf,t)}function h(t){return c(gf,t)}function p(){for(var t,n=0,e=arguments.length,r={};n<e;++n){if(!(t=arguments[n]+"")||t in r)throw new Error("illegal type: "+t);r[t]=[]}return new d(r)}function d(t){this._=t}function v(t,n){return t.trim().split(/^|\s+/).map(function(t){var e="",r=t.indexOf(".");if(r>=0&&(e=t.slice(r+1),t=t.slice(0,r)),t&&!n.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:e}})}function g(t,n){for(var e,r=0,i=t.length;r<i;++r)if((e=t[r]).name===n)return e.value}function y(t,n,e){for(var r=0,i=t.length;r<i;++r)if(t[r].name===n){t[r]=_f,t=t.slice(0,r).concat(t.slice(r+1));break}return null!=e&&t.push({name:n,value:e}),t}function _(t){return function(){var n=this.ownerDocument,e=this.namespaceURI;return e===mf&&n.documentElement.namespaceURI===mf?n.createElement(t):n.createElementNS(e,t)}}function m(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function b(){return new x}function x(){this._="@"+(++Mf).toString(36)}function w(t,n,e){return t=M(t,n,e),function(n){var e=n.relatedTarget;e&&(e===this||8&e.compareDocumentPosition(this))||t.call(this,n)}}function M(n,e,r){return function(i){var o=t.event;t.event=i;try{n.call(this,this.__data__,e,r)}finally{t.event=o}}}function k(t){return t.trim().split(/^|\s+/).map(function(t){var n="",e=t.indexOf(".");return e>=0&&(n=t.slice(e+1),t=t.slice(0,e)),{type:t,name:n}})}function A(t){return function(){var n=this.__on;if(n){for(var e,r=0,i=-1,o=n.length;r<o;++r)e=n[r],t.type&&e.type!==t.type||e.name!==t.name?n[++i]=e:this.removeEventListener(e.type,e.listener,e.capture);++i?n.length=i:delete this.__on}}}function E(t,n,e){var r=Sf.hasOwnProperty(t.type)?w:M;return function(i,o,a){var u,c=this.__on,s=r(n,o,a);if(c)for(var f=0,l=c.length;f<l;++f)if((u=c[f]).type===t.type&&u.name===t.name)return this.removeEventListener(u.type,u.listener,u.capture),this.addEventListener(u.type,u.listener=s,u.capture=e),void(u.value=n);this.addEventListener(t.type,s,e),u={type:t.type,name:t.name,value:n,listener:s,capture:e},c?c.push(u):this.__on=[u]}}function C(n,e,r,i){var o=t.event;n.sourceEvent=t.event,t.event=n;try{return e.apply(r,i)}finally{t.event=o}}function S(){}function T(){return[]}function O(t,n){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=n}function N(t,n,e,r,i,o){for(var a,u=0,c=n.length,s=o.length;u<s;++u)(a=n[u])?(a.__data__=o[u],r[u]=a):e[u]=new O(t,o[u]);for(;u<c;++u)(a=n[u])&&(i[u]=a)}function j(t,n,e,r,i,o,a){var u,c,s,f={},l=n.length,h=o.length,p=new Array(l);for(u=0;u<l;++u)(c=n[u])&&(p[u]=s=Ff+a.call(c,c.__data__,u,n),s in f?i[u]=c:f[s]=c);for(u=0;u<h;++u)s=Ff+a.call(t,o[u],u,o),(c=f[s])?(r[u]=c,c.__data__=o[u],f[s]=null):e[u]=new O(t,o[u]);for(u=0;u<l;++u)(c=n[u])&&f[p[u]]===c&&(i[u]=c)}function P(t,n){return t<n?-1:t>n?1:t>=n?0:NaN}function $(t){return function(){this.removeAttribute(t)}}function R(t){return function(){this.removeAttributeNS(t.space,t.local)}}function L(t,n){return function(){this.setAttribute(t,n)}}function I(t,n){return function(){this.setAttributeNS(t.space,t.local,n)}}function z(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttribute(t):this.setAttribute(t,e)}}function U(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,e)}}function D(t){return function(){this.style.removeProperty(t)}}function q(t,n,e){return function(){this.style.setProperty(t,n,e)}}function F(t,n,e){return function(){var r=n.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,e)}}function B(t){return function(){delete this[t]}}function H(t,n){return function(){this[t]=n}}function W(t,n){return function(){var e=n.apply(this,arguments);null==e?delete this[t]:this[t]=e}}function Y(t){return t.trim().split(/^|\s+/)}function V(t){return t.classList||new X(t)}function X(t){this._node=t,this._names=Y(t.getAttribute("class")||"")}function G(t,n){for(var e=V(t),r=-1,i=n.length;++r<i;)e.add(n[r])}function J(t,n){for(var e=V(t),r=-1,i=n.length;++r<i;)e.remove(n[r])}function K(t){return function(){G(this,t)}}function Z(t){return function(){J(this,t)}}function Q(t,n){return function(){(n.apply(this,arguments)?G:J)(this,t)}}function tt(){this.textContent=""}function nt(t){return function(){this.textContent=t}}function et(t){return function(){var n=t.apply(this,arguments);this.textContent=null==n?"":n}}function rt(){this.innerHTML=""}function it(t){return function(){this.innerHTML=t}}function ot(t){return function(){var n=t.apply(this,arguments);this.innerHTML=null==n?"":n}}function at(){this.nextSibling&&this.parentNode.appendChild(this)}function ut(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function ct(){return null}function st(){var t=this.parentNode;t&&t.removeChild(this)}function ft(t,n,e){var r=nl(t),i=r.CustomEvent;i?i=new i(n,e):(i=r.document.createEvent("Event"),e?(i.initEvent(n,e.bubbles,e.cancelable),i.detail=e.detail):i.initEvent(n,!1,!1)),t.dispatchEvent(i)}function lt(t,n){return function(){return ft(this,t,n)}}function ht(t,n){return function(){return ft(this,t,n.apply(this,arguments))}}function pt(t,n){this._groups=t,this._parents=n}function dt(){return new pt([[document.documentElement]],dl)}function vt(){t.event.stopImmediatePropagation()}function gt(t,n){var e=t.document.documentElement,r=vl(t).on("dragstart.drag",null);n&&(r.on("click.drag",ml,!0),setTimeout(function(){r.on("click.drag",null)},0)),"onselectstart"in e?r.on("selectstart.drag",null):(e.style.MozUserSelect=e.__noselect,delete e.__noselect)}function yt(t,n,e,r,i,o,a,u,c,s){this.target=t,this.type=n,this.subject=e,this.identifier=r,this.active=i,this.x=o,this.y=a,this.dx=u,this.dy=c,this._=s}function _t(){return!t.event.button}function mt(){return this.parentNode}function bt(n){return null==n?{x:t.event.x,y:t.event.y}:n}function xt(t,n){var e=Object.create(t.prototype);for(var r in n)e[r]=n[r];return e}function wt(){}function Mt(t){var n;return t=(t+"").trim().toLowerCase(),(n=Tl.exec(t))?(n=parseInt(n[1],16),new St(n>>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1)):(n=Ol.exec(t))?kt(parseInt(n[1],16)):(n=Nl.exec(t))?new St(n[1],n[2],n[3],1):(n=jl.exec(t))?new St(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=Pl.exec(t))?At(n[1],n[2],n[3],n[4]):(n=$l.exec(t))?At(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=Rl.exec(t))?Tt(n[1],n[2]/100,n[3]/100,1):(n=Ll.exec(t))?Tt(n[1],n[2]/100,n[3]/100,n[4]):Il.hasOwnProperty(t)?kt(Il[t]):"transparent"===t?new St(NaN,NaN,NaN,0):null}function kt(t){return new St(t>>16&255,t>>8&255,255&t,1)}function At(t,n,e,r){return r<=0&&(t=n=e=NaN),new St(t,n,e,r)}function Et(t){return t instanceof wt||(t=Mt(t)),t?(t=t.rgb(),new St(t.r,t.g,t.b,t.opacity)):new St}function Ct(t,n,e,r){return 1===arguments.length?Et(t):new St(t,n,e,null==r?1:r)}function St(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function Tt(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new jt(t,n,e,r)}function Ot(t){if(t instanceof jt)return new jt(t.h,t.s,t.l,t.opacity);if(t instanceof wt||(t=Mt(t)),!t)return new jt;if(t instanceof jt)return t;t=t.rgb();var n=t.r/255,e=t.g/255,r=t.b/255,i=Math.min(n,e,r),o=Math.max(n,e,r),a=NaN,u=o-i,c=(o+i)/2;return u?(a=n===o?(e-r)/u+6*(e<r):e===o?(r-n)/u+2:(n-e)/u+4,u/=c<.5?o+i:2-o-i,a*=60):u=c>0&&c<1?0:a,new jt(a,u,c,t.opacity)}function Nt(t,n,e,r){return 1===arguments.length?Ot(t):new jt(t,n,e,null==r?1:r)}function jt(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function Pt(t,n,e){return 255*(t<60?n+(e-n)*t/60:t<180?e:t<240?n+(e-n)*(240-t)/60:n)}function $t(t){if(t instanceof Lt)return new Lt(t.l,t.a,t.b,t.opacity);if(t instanceof Bt){var n=t.h*zl;return new Lt(t.l,Math.cos(n)*t.c,Math.sin(n)*t.c,t.opacity)}t instanceof St||(t=Et(t));var e=Dt(t.r),r=Dt(t.g),i=Dt(t.b),o=It((.4124564*e+.3575761*r+.1804375*i)/ql),a=It((.2126729*e+.7151522*r+.072175*i)/Fl),u=It((.0193339*e+.119192*r+.9503041*i)/Bl);return new Lt(116*a-16,500*(o-a),200*(a-u),t.opacity)}function Rt(t,n,e,r){return 1===arguments.length?$t(t):new Lt(t,n,e,null==r?1:r)}function Lt(t,n,e,r){this.l=+t,this.a=+n,this.b=+e,this.opacity=+r}function It(t){return t>Vl?Math.pow(t,1/3):t/Yl+Hl}function zt(t){return t>Wl?t*t*t:Yl*(t-Hl)}function Ut(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function Dt(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function qt(t){if(t instanceof Bt)return new Bt(t.h,t.c,t.l,t.opacity);t instanceof Lt||(t=$t(t));var n=Math.atan2(t.b,t.a)*Ul;return new Bt(n<0?n+360:n,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function Ft(t,n,e,r){return 1===arguments.length?qt(t):new Bt(t,n,e,null==r?1:r)}function Bt(t,n,e,r){this.h=+t,this.c=+n,this.l=+e,this.opacity=+r}function Ht(t){if(t instanceof Yt)return new Yt(t.h,t.s,t.l,t.opacity);t instanceof St||(t=Et(t));var n=t.r/255,e=t.g/255,r=t.b/255,i=(nh*r+Ql*n-th*e)/(nh+Ql-th),o=r-i,a=(Zl*(e-i)-Jl*o)/Kl,u=Math.sqrt(a*a+o*o)/(Zl*i*(1-i)),c=u?Math.atan2(a,o)*Ul-120:NaN;return new Yt(c<0?c+360:c,u,i,t.opacity)}function Wt(t,n,e,r){return 1===arguments.length?Ht(t):new Yt(t,n,e,null==r?1:r)}function Yt(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function Vt(t,n,e,r,i){var o=t*t,a=o*t;return((1-3*t+3*o-a)*n+(4-6*o+3*a)*e+(1+3*t+3*o-3*a)*r+a*i)/6}function Xt(t,n){return function(e){return t+e*n}}function Gt(t,n,e){return t=Math.pow(t,e),n=Math.pow(n,e)-t,e=1/e,function(r){return Math.pow(t+r*n,e)}}function Jt(t,n){var e=n-t;return e?Xt(t,e>180||e<-180?e-360*Math.round(e/360):e):fh(isNaN(t)?n:t)}function Kt(t){return 1===(t=+t)?Zt:function(n,e){return e-n?Gt(n,e,t):fh(isNaN(n)?e:n)}}function Zt(t,n){var e=n-t;return e?Xt(t,e):fh(isNaN(t)?n:t)}function Qt(t){return function(n){var e,r,i=n.length,o=new Array(i),a=new Array(i),u=new Array(i);for(e=0;e<i;++e)r=Ct(n[e]),o[e]=r.r||0,a[e]=r.g||0,u[e]=r.b||0;return o=t(o),a=t(a),u=t(u),r.opacity=1,function(t){return r.r=o(t),r.g=a(t),r.b=u(t),r+""}}}function tn(t){return function(){return t}}function nn(t){return function(n){return t(n)+""}}function en(t){return"none"===t?kh:(eh||(eh=document.createElement("DIV"),rh=document.documentElement,ih=document.defaultView),eh.style.transform=t,t=ih.getComputedStyle(rh.appendChild(eh),null).getPropertyValue("transform"),rh.removeChild(eh),t=t.slice(7,-1).split(","),Ah(+t[0],+t[1],+t[2],+t[3],+t[4],+t[5]))}function rn(t){return null==t?kh:(oh||(oh=document.createElementNS("http://www.w3.org/2000/svg","g")),oh.setAttribute("transform",t),(t=oh.transform.baseVal.consolidate())?(t=t.matrix,Ah(t.a,t.b,t.c,t.d,t.e,t.f)):kh)}function on(t,n,e,r){function i(t){return t.length?t.pop()+" ":""}function o(t,r,i,o,a,u){if(t!==i||r!==o){var c=a.push("translate(",null,n,null,e);u.push({i:c-4,x:gh(t,i)},{i:c-2,x:gh(r,o)})}else(i||o)&&a.push("translate("+i+n+o+e)}function a(t,n,e,o){t!==n?(t-n>180?n+=360:n-t>180&&(t+=360),o.push({i:e.push(i(e)+"rotate(",null,r)-2,x:gh(t,n)})):n&&e.push(i(e)+"rotate("+n+r)}function u(t,n,e,o){t!==n?o.push({i:e.push(i(e)+"skewX(",null,r)-2,x:gh(t,n)}):n&&e.push(i(e)+"skewX("+n+r)}function c(t,n,e,r,o,a){if(t!==e||n!==r){var u=o.push(i(o)+"scale(",null,",",null,")");a.push({i:u-4,x:gh(t,e)},{i:u-2,x:gh(n,r)})}else 1===e&&1===r||o.push(i(o)+"scale("+e+","+r+")")}return function(n,e){var r=[],i=[];return n=t(n),e=t(e),o(n.translateX,n.translateY,e.translateX,e.translateY,r,i),a(n.rotate,e.rotate,r,i),u(n.skewX,e.skewX,r,i),c(n.scaleX,n.scaleY,e.scaleX,e.scaleY,r,i),n=e=null,function(t){for(var n,e=-1,o=i.length;++e<o;)r[(n=i[e]).i]=n.x(t);return r.join("")}}}function an(t){return((t=Math.exp(t))+1/t)/2}function un(t){return((t=Math.exp(t))-1/t)/2}function cn(t){return((t=Math.exp(2*t))-1)/(t+1)}function sn(t){return function(n,e){var r=t((n=Nt(n)).h,(e=Nt(e)).h),i=Zt(n.s,e.s),o=Zt(n.l,e.l),a=Zt(n.opacity,e.opacity);return function(t){return n.h=r(t),n.s=i(t),n.l=o(t),n.opacity=a(t),n+""}}}function fn(t,n){var e=Zt((t=Rt(t)).l,(n=Rt(n)).l),r=Zt(t.a,n.a),i=Zt(t.b,n.b),o=Zt(t.opacity,n.opacity);return function(n){return t.l=e(n),t.a=r(n),t.b=i(n),t.opacity=o(n),t+""}}function ln(t){return function(n,e){var r=t((n=Ft(n)).h,(e=Ft(e)).h),i=Zt(n.c,e.c),o=Zt(n.l,e.l),a=Zt(n.opacity,e.opacity);return function(t){return n.h=r(t),n.c=i(t),n.l=o(t),n.opacity=a(t),n+""}}}function hn(t){return function n(e){function r(n,r){var i=t((n=Wt(n)).h,(r=Wt(r)).h),o=Zt(n.s,r.s),a=Zt(n.l,r.l),u=Zt(n.opacity,r.opacity);return function(t){return n.h=i(t),n.s=o(t),n.l=a(Math.pow(t,e)),n.opacity=u(t),n+""}}return e=+e,r.gamma=n,r}(1)}function pn(){return Wh||(Xh(dn),Wh=Vh.now()+Yh)}function dn(){Wh=0}function vn(){this._call=this._time=this._next=null}function gn(t,n,e){var r=new vn;return r.restart(t,n,e),r}function yn(){pn(),++Dh;for(var t,n=ah;n;)(t=Wh-n._time)>=0&&n._call.call(null,t),n=n._next;--Dh}function _n(){Wh=(Hh=Vh.now())+Yh,Dh=qh=0;try{yn()}finally{Dh=0,bn(),Wh=0}}function mn(){var t=Vh.now(),n=t-Hh;n>Bh&&(Yh-=n,Hh=t)}function bn(){for(var t,n,e=ah,r=1/0;e;)e._call?(r>e._time&&(r=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:ah=n);uh=t,xn(r)}function xn(t){if(!Dh){qh&&(qh=clearTimeout(qh));var n=t-Wh;n>24?(t<1/0&&(qh=setTimeout(_n,n)),Fh&&(Fh=clearInterval(Fh))):(Fh||(Hh=Wh,Fh=setInterval(mn,Bh)),Dh=1,Xh(_n))}}function wn(t,n){var e=t.__transition;if(!e||!(e=e[n])||e.state>Qh)throw new Error("too late");return e}function Mn(t,n){var e=t.__transition;if(!e||!(e=e[n])||e.state>np)throw new Error("too late");return e}function kn(t,n){var e=t.__transition;if(!e||!(e=e[n]))throw new Error("too late");return e}function An(t,n,e){function r(t){e.state=tp,e.timer.restart(i,e.delay,e.time),e.delay<=t&&i(t-e.delay)}function i(r){var s,f,l,h;if(e.state!==tp)return a();for(s in c)if(h=c[s],h.name===e.name){if(h.state===ep)return Gh(i);h.state===rp?(h.state=op,h.timer.stop(),h.on.call("interrupt",t,t.__data__,h.index,h.group),delete c[s]):+s<n&&(h.state=op,h.timer.stop(),delete c[s])}if(Gh(function(){e.state===ep&&(e.state=rp,e.timer.restart(o,e.delay,e.time),o(r))}),e.state=np,e.on.call("start",t,t.__data__,e.index,e.group),e.state===np){for(e.state=ep,u=new Array(l=e.tween.length),s=0,f=-1;s<l;++s)(h=e.tween[s].value.call(t,t.__data__,e.index,e.group))&&(u[++f]=h);u.length=f+1}}function o(n){for(var r=n<e.duration?e.ease.call(null,n/e.duration):(e.timer.restart(a),e.state=ip,1),i=-1,o=u.length;++i<o;)u[i].call(null,r);e.state===ip&&(e.on.call("end",t,t.__data__,e.index,e.group),a())}function a(){e.state=op,e.timer.stop(),delete c[n];for(var r in c)return;delete t.__transition}var u,c=t.__transition;c[n]=e,e.timer=gn(r,0,e.time)}function En(t,n){var e,r;return function(){var i=Mn(this,t),o=i.tween;if(o!==e){r=e=o;for(var a=0,u=r.length;a<u;++a)if(r[a].name===n){r=r.slice(),r.splice(a,1);break}}i.tween=r}}function Cn(t,n,e){var r,i;if("function"!=typeof e)throw new Error;return function(){var o=Mn(this,t),a=o.tween;if(a!==r){i=(r=a).slice();for(var u={name:n,value:e},c=0,s=i.length;c<s;++c)if(i[c].name===n){i[c]=u;break}c===s&&i.push(u)}o.tween=i}}function Sn(t,n,e){var r=t._id;return t.each(function(){var t=Mn(this,r);(t.value||(t.value={}))[n]=e.apply(this,arguments)}),function(t){return kn(t,r).value[n]}}function Tn(t){return function(){this.removeAttribute(t)}}function On(t){return function(){this.removeAttributeNS(t.space,t.local)}}function Nn(t,n,e){var r,i;return function(){var o=this.getAttribute(t);return o===e?null:o===r?i:i=n(r=o,e)}}function jn(t,n,e){var r,i;return function(){var o=this.getAttributeNS(t.space,t.local);return o===e?null:o===r?i:i=n(r=o,e)}}function Pn(t,n,e){var r,i,o;return function(){var a,u=e(this);return null==u?void this.removeAttribute(t):(a=this.getAttribute(t),a===u?null:a===r&&u===i?o:o=n(r=a,i=u))}}function $n(t,n,e){var r,i,o;return function(){var a,u=e(this);return null==u?void this.removeAttributeNS(t.space,t.local):(a=this.getAttributeNS(t.space,t.local),a===u?null:a===r&&u===i?o:o=n(r=a,i=u))}}function Rn(t,n){function e(){var e=this,r=n.apply(e,arguments);return r&&function(n){e.setAttributeNS(t.space,t.local,r(n))}}return e._value=n,e}function Ln(t,n){function e(){var e=this,r=n.apply(e,arguments);return r&&function(n){e.setAttribute(t,r(n))}}return e._value=n,e}function In(t,n){return function(){wn(this,t).delay=+n.apply(this,arguments)}}function zn(t,n){return n=+n,function(){wn(this,t).delay=n}}function Un(t,n){return function(){Mn(this,t).duration=+n.apply(this,arguments)}}function Dn(t,n){return n=+n,function(){Mn(this,t).duration=n}}function qn(t,n){if("function"!=typeof n)throw new Error;return function(){Mn(this,t).ease=n}}function Fn(t){return(t+"").trim().split(/^|\s+/).every(function(t){var n=t.indexOf(".");return n>=0&&(t=t.slice(0,n)),!t||"start"===t})}function Bn(t,n,e){var r,i,o=Fn(n)?wn:Mn;return function(){var a=o(this,t),u=a.on;u!==r&&(i=(r=u).copy()).on(n,e),a.on=i}}function Hn(t){return function(){var n=this.parentNode;for(var e in this.__transition)if(+e!==t)return;n&&n.removeChild(this)}}function Wn(t,n){var e,r,i;return function(){var o=nl(this).getComputedStyle(this,null),a=o.getPropertyValue(t),u=(this.style.removeProperty(t),o.getPropertyValue(t));return a===u?null:a===e&&u===r?i:i=n(e=a,r=u)}}function Yn(t){return function(){this.style.removeProperty(t)}}function Vn(t,n,e){var r,i;return function(){var o=nl(this).getComputedStyle(this,null).getPropertyValue(t);return o===e?null:o===r?i:i=n(r=o,e)}}function Xn(t,n,e){var r,i,o;return function(){var a=nl(this).getComputedStyle(this,null),u=a.getPropertyValue(t),c=e(this);return null==c&&(this.style.removeProperty(t),c=a.getPropertyValue(t)),u===c?null:u===r&&c===i?o:o=n(r=u,i=c)}}function Gn(t,n,e){function r(){var r=this,i=n.apply(r,arguments);return i&&function(n){r.style.setProperty(t,i(n),e)}}return r._value=n,r}function Jn(t){return function(){this.textContent=t}}function Kn(t){return function(){var n=t(this);this.textContent=null==n?"":n}}function Zn(t,n,e,r){this._groups=t,this._parents=n,this._name=e,this._id=r}function Qn(t){return dt().transition(t)}function te(){return++Sp}function ne(t){return+t}function ee(t){return t*t}function re(t){return t*(2-t)}function ie(t){return((t*=2)<=1?t*t:--t*(2-t)+1)/2}function oe(t){return t*t*t}function ae(t){return--t*t*t+1}function ue(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}function ce(t){return 1-Math.cos(t*Rp)}function se(t){return Math.sin(t*Rp)}function fe(t){return(1-Math.cos($p*t))/2}function le(t){return Math.pow(2,10*t-10)}function he(t){return 1-Math.pow(2,-10*t)}function pe(t){return((t*=2)<=1?Math.pow(2,10*t-10):2-Math.pow(2,10-10*t))/2}function de(t){return 1-Math.sqrt(1-t*t)}function ve(t){return Math.sqrt(1- --t*t)}function ge(t){return((t*=2)<=1?1-Math.sqrt(1-t*t):Math.sqrt(1-(t-=2)*t)+1)/2}function ye(t){return 1-_e(1-t)}function _e(t){return(t=+t)<Lp?Wp*t*t:t<zp?Wp*(t-=Ip)*t+Up:t<qp?Wp*(t-=Dp)*t+Fp:Wp*(t-=Bp)*t+Hp}function me(t){return((t*=2)<=1?1-_e(1-t):_e(t-1)+1)/2}function be(t,n){for(var e;!(e=t.__transition)||!(e=e[n]);)if(!(t=t.parentNode))return ed.time=pn(),ed;return e}function xe(){t.event.stopImmediatePropagation()}function we(t){return{type:t}}function Me(){return!t.event.button}function ke(){var t=this.ownerSVGElement||this;return[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]}function Ae(t){for(;!t.__brush;)if(!(t=t.parentNode))return;return t.__brush}function Ee(t){return t[0][0]===t[1][0]||t[0][1]===t[1][1]}function Ce(t){var n=t.__brush;return n?n.dim.output(n.selection):null}function Se(){return Oe(pd)}function Te(){return Oe(dd)}function Oe(n){function e(t){var e=t.property("__brush",u).selectAll(".overlay").data([we("overlay")]);e.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",gd.overlay).merge(e).each(function(){var t=Ae(this).extent;vl(this).attr("x",t[0][0]).attr("y",t[0][1]).attr("width",t[1][0]-t[0][0]).attr("height",t[1][1]-t[0][1])}),t.selectAll(".selection").data([we("selection")]).enter().append("rect").attr("class","selection").attr("cursor",gd.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");var i=t.selectAll(".handle").data(n.handles,function(t){return t.type});i.exit().remove(),i.enter().append("rect").attr("class",function(t){return"handle handle--"+t.type}).attr("cursor",function(t){return gd[t.type]}),t.each(r).attr("fill","none").attr("pointer-events","all").style("-webkit-tap-highlight-color","rgba(0,0,0,0)").on("mousedown.brush touchstart.brush",a)}function r(){var t=vl(this),n=Ae(this).selection;n?(t.selectAll(".selection").style("display",null).attr("x",n[0][0]).attr("y",n[0][1]).attr("width",n[1][0]-n[0][0]).attr("height",n[1][1]-n[0][1]),t.selectAll(".handle").style("display",null).attr("x",function(t){return"e"===t.type[t.type.length-1]?n[1][0]-h/2:n[0][0]-h/2}).attr("y",function(t){return"s"===t.type[0]?n[1][1]-h/2:n[0][1]-h/2}).attr("width",function(t){return"n"===t.type||"s"===t.type?n[1][0]-n[0][0]+h:h}).attr("height",function(t){return"e"===t.type||"w"===t.type?n[1][1]-n[0][1]+h:h})):t.selectAll(".selection,.handle").style("display","none").attr("x",null).attr("y",null).attr("width",null).attr("height",null)}function i(t,n){return t.__brush.emitter||new o(t,n)}function o(t,n){this.that=t,this.args=n,this.state=t.__brush,this.active=0}function a(){function e(){var t=Pf(k);!L||w||M||(Math.abs(t[0]-z[0])>Math.abs(t[1]-z[1])?M=!0:w=!0),z=t,x=!0,cd(),o()}function o(){var t;switch(m=z[0]-I[0],b=z[1]-I[1],E){case fd:case sd:C&&(m=Math.max(j-l,Math.min($-v,m)),h=l+m,g=v+m),S&&(b=Math.max(P-p,Math.min(R-y,b)),d=p+b,_=y+b);break;case ld:C<0?(m=Math.max(j-l,Math.min($-l,m)),h=l+m,g=v):C>0&&(m=Math.max(j-v,Math.min($-v,m)),h=l,g=v+m),S<0?(b=Math.max(P-p,Math.min(R-p,b)),d=p+b,_=y):S>0&&(b=Math.max(P-y,Math.min(R-y,b)),d=p,_=y+b);break;case hd:C&&(h=Math.max(j,Math.min($,l-m*C)),g=Math.max(j,Math.min($,v+m*C))),S&&(d=Math.max(P,Math.min(R,p-b*S)),_=Math.max(P,Math.min(R,y+b*S)))}g<h&&(C*=-1,t=l,l=v,v=t,t=h,h=g,g=t,A in yd&&q.attr("cursor",gd[A=yd[A]])),_<d&&(S*=-1,t=p,p=y,y=t,t=d,d=_,_=t,A in _d&&q.attr("cursor",gd[A=_d[A]])),T.selection&&(N=T.selection),w&&(h=N[0][0],g=N[1][0]),M&&(d=N[0][1],_=N[1][1]),N[0][0]===h&&N[0][1]===d&&N[1][0]===g&&N[1][1]===_||(T.selection=[[h,d],[g,_]],r.call(k),U.brush())}function a(){if(xe(),t.event.touches){if(t.event.touches.length)return;c&&clearTimeout(c),c=setTimeout(function(){c=null},500),D.on("touchmove.brush touchend.brush touchcancel.brush",null)}else gt(t.event.view,x),F.on("keydown.brush keyup.brush mousemove.brush mouseup.brush",null);D.attr("pointer-events","all"),q.attr("cursor",gd.overlay),T.selection&&(N=T.selection),Ee(N)&&(T.selection=null,r.call(k)),U.end()}function u(){switch(t.event.keyCode){case 16:L=C&&S;break;case 18:E===ld&&(C&&(v=g-m*C,l=h+m*C),S&&(y=_-b*S,p=d+b*S),E=hd,o());break;case 32:E!==ld&&E!==hd||(C<0?v=g-m:C>0&&(l=h-m),S<0?y=_-b:S>0&&(p=d-b),E=fd,q.attr("cursor",gd.selection),o());break;default:return}cd()}function s(){switch(t.event.keyCode){case 16:L&&(w=M=L=!1,o());break;case 18:E===hd&&(C<0?v=g:C>0&&(l=h),S<0?y=_:S>0&&(p=d),E=ld,o());break;case 32:E===fd&&(t.event.altKey?(C&&(v=g-m*C,l=h+m*C),S&&(y=_-b*S,p=d+b*S),E=hd):(C<0?v=g:C>0&&(l=h),S<0?y=_:S>0&&(p=d),E=ld),q.attr("cursor",gd[A]),o());break;default:return}cd()}if(t.event.touches){if(t.event.changedTouches.length<t.event.touches.length)return cd()}else if(c)return;if(f.apply(this,arguments)){var l,h,p,d,v,g,y,_,m,b,x,w,M,k=this,A=t.event.target.__data__.type,E="selection"===(t.event.metaKey?A="overlay":A)?sd:t.event.altKey?hd:ld,C=n===dd?null:md[A],S=n===pd?null:bd[A],T=Ae(k),O=T.extent,N=T.selection,j=O[0][0],P=O[0][1],$=O[1][0],R=O[1][1],L=C&&S&&t.event.shiftKey,I=Pf(k),z=I,U=i(k,arguments).beforestart();"overlay"===A?T.selection=N=[[l=n===dd?j:I[0],p=n===pd?P:I[1]],[v=n===dd?$:l,y=n===pd?R:p]]:(l=N[0][0],p=N[0][1],v=N[1][0],y=N[1][1]),h=l,d=p,g=v,_=y;var D=vl(k).attr("pointer-events","none"),q=D.selectAll(".overlay").attr("cursor",gd[A]);if(t.event.touches)D.on("touchmove.brush",e,!0).on("touchend.brush touchcancel.brush",a,!0);else{var F=vl(t.event.view).on("keydown.brush",u,!0).on("keyup.brush",s,!0).on("mousemove.brush",e,!0).on("mouseup.brush",a,!0);bl(t.event.view)}xe(),up(k),r.call(k),U.start()}}function u(){var t=this.__brush||{selection:null};return t.extent=s.apply(this,arguments),t.dim=n,t}var c,s=ke,f=Me,l=p(e,"start","brush","end"),h=6;return e.move=function(t,e){t.selection?t.on("start.brush",function(){i(this,arguments).beforestart().start()}).on("interrupt.brush end.brush",function(){i(this,arguments).end()}).tween("brush",function(){function t(t){a.selection=1===t&&Ee(s)?null:f(t),r.call(o),u.brush()}var o=this,a=o.__brush,u=i(o,arguments),c=a.selection,s=n.input("function"==typeof e?e.apply(this,arguments):e,a.extent),f=xh(c,s);return c&&s?t:t(1)}):t.each(function(){var t=this,o=arguments,a=t.__brush,u=n.input("function"==typeof e?e.apply(t,o):e,a.extent),c=i(t,o).beforestart();up(t),a.selection=null==u||Ee(u)?null:u,r.call(t),c.start().brush().end()})},o.prototype={beforestart:function(){return 1===++this.active&&(this.state.emitter=this,this.starting=!0),this},start:function(){return this.starting&&(this.starting=!1,this.emit("start")),this},brush:function(){return this.emit("brush"),this},end:function(){return 0===--this.active&&(delete this.state.emitter,this.emit("end")),this},emit:function(t){C(new ud(e,t,n.output(this.state.selection)),l.apply,l,[t,this.that,this.args])}},e.extent=function(t){return arguments.length?(s="function"==typeof t?t:ad([[+t[0][0],+t[0][1]],[+t[1][0],+t[1][1]]]),e):s},e.filter=function(t){return arguments.length?(f="function"==typeof t?t:ad(!!t),e):f},e.handleSize=function(t){return arguments.length?(h=+t,e):h},e.on=function(){var t=l.on.apply(l,arguments);return t===l?e:t},e}function Ne(t){return function(n,e){return t(n.source.value+n.target.value,e.source.value+e.target.value)}}function je(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function Pe(){return new je}function $e(t){return t.source}function Re(t){return t.target}function Le(t){return t.radius}function Ie(t){return t.startAngle}function ze(t){return t.endAngle}function Ue(){}function De(t,n){var e=new Ue;if(t instanceof Ue)t.each(function(t,n){e.set(n,t)});else if(Array.isArray(t)){var r,i=-1,o=t.length;if(null==n)for(;++i<o;)e.set(i,t[i]);else for(;++i<o;)e.set(n(r=t[i],i,t),r)}else if(t)for(var a in t)e.set(a,t[a]);return e}function qe(){return{}}function Fe(t,n,e){t[n]=e}function Be(){return De()}function He(t,n,e){t.set(n,e)}function We(){}function Ye(t,n){var e=new We;if(t instanceof We)t.each(function(t){e.add(t)});else if(t){var r=-1,i=t.length;if(null==n)for(;++r<i;)e.add(t[r]);else for(;++r<i;)e.add(n(t[r],r,t))}return e}function Ve(t){return new Function("d","return {"+t.map(function(t,n){return JSON.stringify(t)+": d["+n+"]"}).join(",")+"}")}function Xe(t,n){var e=Ve(t);return function(r,i){return n(e(r),i,t)}}function Ge(t){var n=Object.create(null),e=[];return t.forEach(function(t){for(var r in t)r in n||e.push(n[r]=r)}),e}function Je(t,n,e,r){if(isNaN(n)||isNaN(e))return t;var i,o,a,u,c,s,f,l,h,p=t._root,d={data:r},v=t._x0,g=t._y0,y=t._x1,_=t._y1;if(!p)return t._root=d,t;for(;p.length;)if((s=n>=(o=(v+y)/2))?v=o:y=o,(f=e>=(a=(g+_)/2))?g=a:_=a,i=p,!(p=p[l=f<<1|s]))return i[l]=d,t;if(u=+t._x.call(null,p.data),c=+t._y.call(null,p.data),n===u&&e===c)return d.next=p,i?i[l]=d:t._root=d,t;do i=i?i[l]=new Array(4):t._root=new Array(4),(s=n>=(o=(v+y)/2))?v=o:y=o,(f=e>=(a=(g+_)/2))?g=a:_=a;while((l=f<<1|s)===(h=(c>=a)<<1|u>=o));return i[h]=p,i[l]=d,t}function Ke(t){var n,e,r,i,o=t.length,a=new Array(o),u=new Array(o),c=1/0,s=1/0,f=-(1/0),l=-(1/0);for(e=0;e<o;++e)isNaN(r=+this._x.call(null,n=t[e]))||isNaN(i=+this._y.call(null,n))||(a[e]=r,u[e]=i,r<c&&(c=r),r>f&&(f=r),i<s&&(s=i),i>l&&(l=i));for(f<c&&(c=this._x0,f=this._x1),l<s&&(s=this._y0,l=this._y1),this.cover(c,s).cover(f,l),e=0;e<o;++e)Je(this,a[e],u[e],t[e]);return this}function Ze(t){for(var n=0,e=t.length;n<e;++n)this.remove(t[n]);return this}function Qe(t){return t[0]}function tr(t){return t[1]}function nr(t,n,e){var r=new er(null==n?Qe:n,null==e?tr:e,NaN,NaN,NaN,NaN);return null==t?r:r.addAll(t)}function er(t,n,e,r,i,o){this._x=t,this._y=n,this._x0=e,this._y0=r,this._x1=i,this._y1=o,this._root=void 0}function rr(t){for(var n={data:t.data},e=n;t=t.next;)e=e.next={data:t.data};return n}function ir(t){return t.x+t.vx}function or(t){return t.y+t.vy}function ar(t){return t.index}function ur(t,n){var e=t.get(n);if(!e)throw new Error("missing: "+n);return e}function cr(t){return t.x}function sr(t){return t.y}function fr(t){if(!(n=jv.exec(t)))throw new Error("invalid format: "+t);var n,e=n[1]||" ",r=n[2]||">",i=n[3]||"-",o=n[4]||"",a=!!n[5],u=n[6]&&+n[6],c=!!n[7],s=n[8]&&+n[8].slice(1),f=n[9]||""; |
|
"n"===f?(c=!0,f="g"):Nv[f]||(f=""),(a||"0"===e&&"="===r)&&(a=!0,e="0",r="="),this.fill=e,this.align=r,this.sign=i,this.symbol=o,this.zero=a,this.width=u,this.comma=c,this.precision=s,this.type=f}function lr(t){return t}function hr(n){return $v=Lv(n),t.format=$v.format,t.formatPrefix=$v.formatPrefix,$v}function pr(){this.reset()}function dr(t,n,e){var r=t.s=n+e,i=r-n,o=r-i;t.t=n-o+(e-i)}function vr(t){return t>1?0:t<-1?xg:Math.acos(t)}function gr(t){return t>1?wg:t<-1?-wg:Math.asin(t)}function yr(t){return(t=Rg(t/2))*t}function _r(){}function mr(t,n){t&&Dg.hasOwnProperty(t.type)&&Dg[t.type](t,n)}function br(t,n,e){var r,i=-1,o=t.length-e;for(n.lineStart();++i<o;)r=t[i],n.point(r[0],r[1],r[2]);n.lineEnd()}function xr(t,n){var e=-1,r=t.length;for(n.polygonStart();++e<r;)br(t[e],n,1);n.polygonEnd()}function wr(){Hg.point=kr}function Mr(){Ar(qv,Fv)}function kr(t,n){Hg.point=Ar,qv=t,Fv=n,t*=Eg,n*=Eg,Bv=t,Hv=Og(n=n/2+Mg),Wv=Rg(n)}function Ar(t,n){t*=Eg,n*=Eg,n=n/2+Mg;var e=t-Bv,r=e>=0?1:-1,i=r*e,o=Og(n),a=Rg(n),u=Wv*a,c=Hv*o+u*Og(i),s=u*r*Rg(i);Fg.add(Tg(s,c)),Bv=t,Hv=o,Wv=a}function Er(t){return[Tg(t[1],t[0]),gr(t[2])]}function Cr(t){var n=t[0],e=t[1],r=Og(e);return[r*Og(n),r*Rg(n),Rg(e)]}function Sr(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]}function Tr(t,n){return[t[1]*n[2]-t[2]*n[1],t[2]*n[0]-t[0]*n[2],t[0]*n[1]-t[1]*n[0]]}function Or(t,n){t[0]+=n[0],t[1]+=n[1],t[2]+=n[2]}function Nr(t,n){return[t[0]*n,t[1]*n,t[2]*n]}function jr(t){var n=Ig(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=n,t[1]/=n,t[2]/=n}function Pr(t,n){tg.push(ng=[Yv=t,Xv=t]),n<Vv&&(Vv=n),n>Gv&&(Gv=n)}function $r(t,n){var e=Cr([t*Eg,n*Eg]);if(Qv){var r=Tr(Qv,e),i=[r[1],-r[0],0],o=Tr(i,r);jr(o),o=Er(o);var a,u=t-Jv,c=u>0?1:-1,s=o[0]*Ag*c,f=Cg(u)>180;f^(c*Jv<s&&s<c*t)?(a=o[1]*Ag,a>Gv&&(Gv=a)):(s=(s+360)%360-180,f^(c*Jv<s&&s<c*t)?(a=-o[1]*Ag,a<Vv&&(Vv=a)):(n<Vv&&(Vv=n),n>Gv&&(Gv=n))),f?t<Jv?Dr(Yv,t)>Dr(Yv,Xv)&&(Xv=t):Dr(t,Xv)>Dr(Yv,Xv)&&(Yv=t):Xv>=Yv?(t<Yv&&(Yv=t),t>Xv&&(Xv=t)):t>Jv?Dr(Yv,t)>Dr(Yv,Xv)&&(Xv=t):Dr(t,Xv)>Dr(Yv,Xv)&&(Yv=t)}else tg.push(ng=[Yv=t,Xv=t]);n<Vv&&(Vv=n),n>Gv&&(Gv=n),Qv=e,Jv=t}function Rr(){Vg.point=$r}function Lr(){ng[0]=Yv,ng[1]=Xv,Vg.point=Pr,Qv=null}function Ir(t,n){if(Qv){var e=t-Jv;Yg.add(Cg(e)>180?e+(e>0?360:-360):e)}else Kv=t,Zv=n;Hg.point(t,n),$r(t,n)}function zr(){Hg.lineStart()}function Ur(){Ir(Kv,Zv),Hg.lineEnd(),Cg(Yg)>mg&&(Yv=-(Xv=180)),ng[0]=Yv,ng[1]=Xv,Qv=null}function Dr(t,n){return(n-=t)<0?n+360:n}function qr(t,n){return t[0]-n[0]}function Fr(t,n){return t[0]<=t[1]?t[0]<=n&&n<=t[1]:n<t[0]||t[1]<n}function Br(t,n){t*=Eg,n*=Eg;var e=Og(n);Hr(e*Og(t),e*Rg(t),Rg(n))}function Hr(t,n,e){++eg,ig+=(t-ig)/eg,og+=(n-og)/eg,ag+=(e-ag)/eg}function Wr(){Gg.point=Yr}function Yr(t,n){t*=Eg,n*=Eg;var e=Og(n);vg=e*Og(t),gg=e*Rg(t),yg=Rg(n),Gg.point=Vr,Hr(vg,gg,yg)}function Vr(t,n){t*=Eg,n*=Eg;var e=Og(n),r=e*Og(t),i=e*Rg(t),o=Rg(n),a=Tg(Ig((a=gg*o-yg*i)*a+(a=yg*r-vg*o)*a+(a=vg*i-gg*r)*a),vg*r+gg*i+yg*o);rg+=a,ug+=a*(vg+(vg=r)),cg+=a*(gg+(gg=i)),sg+=a*(yg+(yg=o)),Hr(vg,gg,yg)}function Xr(){Gg.point=Br}function Gr(){Gg.point=Kr}function Jr(){Zr(pg,dg),Gg.point=Br}function Kr(t,n){pg=t,dg=n,t*=Eg,n*=Eg,Gg.point=Zr;var e=Og(n);vg=e*Og(t),gg=e*Rg(t),yg=Rg(n),Hr(vg,gg,yg)}function Zr(t,n){t*=Eg,n*=Eg;var e=Og(n),r=e*Og(t),i=e*Rg(t),o=Rg(n),a=gg*o-yg*i,u=yg*r-vg*o,c=vg*i-gg*r,s=Ig(a*a+u*u+c*c),f=vg*r+gg*i+yg*o,l=s&&-gr(s)/s,h=Tg(s,f);fg+=l*a,lg+=l*u,hg+=l*c,rg+=h,ug+=h*(vg+(vg=r)),cg+=h*(gg+(gg=i)),sg+=h*(yg+(yg=o)),Hr(vg,gg,yg)}function Qr(t,n){return[t>xg?t-kg:t<-xg?t+kg:t,n]}function ti(t,n,e){return(t%=kg)?n||e?Zg(ei(t),ri(n,e)):ei(t):n||e?ri(n,e):Qr}function ni(t){return function(n,e){return n+=t,[n>xg?n-kg:n<-xg?n+kg:n,e]}}function ei(t){var n=ni(t);return n.invert=ni(-t),n}function ri(t,n){function e(t,n){var e=Og(n),u=Og(t)*e,c=Rg(t)*e,s=Rg(n),f=s*r+u*i;return[Tg(c*o-f*a,u*r-s*i),gr(f*o+c*a)]}var r=Og(t),i=Rg(t),o=Og(n),a=Rg(n);return e.invert=function(t,n){var e=Og(n),u=Og(t)*e,c=Rg(t)*e,s=Rg(n),f=s*o-c*a;return[Tg(c*o+s*a,u*r+f*i),gr(f*r-u*i)]},e}function ii(t,n,e,r,i,o){if(e){var a=Og(n),u=Rg(n),c=r*e;null==i?(i=n+r*kg,o=n-c/2):(i=oi(a,i),o=oi(a,o),(r>0?i<o:i>o)&&(i+=r*kg));for(var s,f=i;r>0?f>o:f<o;f-=c)s=Er([a,-u*Og(f),-u*Rg(f)]),t.point(s[0],s[1])}}function oi(t,n){n=Cr(n),n[0]-=t,jr(n);var e=vr(-n[1]);return((-n[2]<0?-e:e)+kg-mg)%kg}function ai(t,n,e,r){this.x=t,this.z=n,this.o=e,this.e=r,this.v=!1,this.n=this.p=null}function ui(t){if(n=t.length){for(var n,e,r=0,i=t[0];++r<n;)i.n=e=t[r],e.p=i,i=e;i.n=e=t[0],e.p=i}}function ci(t,n,e,r){function i(i,o){return t<=i&&i<=e&&n<=o&&o<=r}function o(i,o,u,s){var f=0,l=0;if(null==i||(f=a(i,u))!==(l=a(o,u))||c(i,o)<0^u>0){do s.point(0===f||3===f?t:e,f>1?r:n);while((f=(f+u+4)%4)!==l)}else s.point(o[0],o[1])}function a(r,i){return Cg(r[0]-t)<mg?i>0?0:3:Cg(r[0]-e)<mg?i>0?2:1:Cg(r[1]-n)<mg?i>0?1:0:i>0?3:2}function u(t,n){return c(t.x,n.x)}function c(t,n){var e=a(t,1),r=a(n,1);return e!==r?e-r:0===e?n[1]-t[1]:1===e?t[0]-n[0]:2===e?t[1]-n[1]:n[0]-t[0]}return function(a){function c(t,n){i(t,n)&&E.point(t,n)}function s(){for(var n=0,e=0,i=g.length;e<i;++e)for(var o,a,u=g[e],c=1,s=u.length,f=u[0],l=f[0],h=f[1];c<s;++c)o=l,a=h,f=u[c],l=f[0],h=f[1],a<=r?h>r&&(l-o)*(r-a)>(h-a)*(t-o)&&++n:h<=r&&(l-o)*(r-a)<(h-a)*(t-o)&&--n;return n}function f(){E=C,v=[],g=[],A=!0}function l(){var t=s(),n=A&&t,e=(v=nf(v)).length;(n||e)&&(a.polygonStart(),n&&(a.lineStart(),o(null,null,1,a),a.lineEnd()),e&&vy(v,u,t,o,a),a.polygonEnd()),E=a,v=g=y=null}function h(){S.point=d,g&&g.push(y=[]),k=!0,M=!1,x=w=NaN}function p(){v&&(d(_,m),b&&M&&C.rejoin(),v.push(C.result())),S.point=c,M&&E.lineEnd()}function d(o,a){var u=i(o,a);if(g&&y.push([o,a]),k)_=o,m=a,b=u,k=!1,u&&(E.lineStart(),E.point(o,a));else if(u&&M)E.point(o,a);else{var c=[x=Math.max(yy,Math.min(gy,x)),w=Math.max(yy,Math.min(gy,w))],s=[o=Math.max(yy,Math.min(gy,o)),a=Math.max(yy,Math.min(gy,a))];py(c,s,t,n,e,r)?(M||(E.lineStart(),E.point(c[0],c[1])),E.point(s[0],s[1]),u||E.lineEnd(),A=!1):u&&(E.lineStart(),E.point(o,a),A=!1)}x=o,w=a,M=u}var v,g,y,_,m,b,x,w,M,k,A,E=a,C=hy(),S={point:c,lineStart:h,lineEnd:p,polygonStart:f,polygonEnd:l};return S}}function si(){by.point=li,by.lineEnd=fi}function fi(){by.point=by.lineEnd=_r}function li(t,n){t*=Eg,n*=Eg,Qg=t,ty=Rg(n),ny=Og(n),by.point=hi}function hi(t,n){t*=Eg,n*=Eg;var e=Rg(n),r=Og(n),i=Cg(t-Qg),o=Og(i),a=Rg(i),u=r*a,c=ny*e-ty*r*o,s=ty*e+ny*r*o;my.add(Tg(Ig(u*u+c*c),s)),Qg=t,ty=e,ny=r}function pi(t,n,e){var r=Fs(t,n-mg,e).concat(n);return function(t){return r.map(function(n){return[t,n]})}}function di(t,n,e){var r=Fs(t,n-mg,e).concat(n);return function(t){return r.map(function(n){return[n,t]})}}function vi(){function t(){return{type:"MultiLineString",coordinates:n()}}function n(){return Fs(Ng(o/g)*g,i,g).map(h).concat(Fs(Ng(s/y)*y,c,y).map(p)).concat(Fs(Ng(r/d)*d,e,d).filter(function(t){return Cg(t%g)>mg}).map(f)).concat(Fs(Ng(u/v)*v,a,v).filter(function(t){return Cg(t%y)>mg}).map(l))}var e,r,i,o,a,u,c,s,f,l,h,p,d=10,v=d,g=90,y=360,_=2.5;return t.lines=function(){return n().map(function(t){return{type:"LineString",coordinates:t}})},t.outline=function(){return{type:"Polygon",coordinates:[h(o).concat(p(c).slice(1),h(i).reverse().slice(1),p(s).reverse().slice(1))]}},t.extent=function(n){return arguments.length?t.extentMajor(n).extentMinor(n):t.extentMinor()},t.extentMajor=function(n){return arguments.length?(o=+n[0][0],i=+n[1][0],s=+n[0][1],c=+n[1][1],o>i&&(n=o,o=i,i=n),s>c&&(n=s,s=c,c=n),t.precision(_)):[[o,s],[i,c]]},t.extentMinor=function(n){return arguments.length?(r=+n[0][0],e=+n[1][0],u=+n[0][1],a=+n[1][1],r>e&&(n=r,r=e,e=n),u>a&&(n=u,u=a,a=n),t.precision(_)):[[r,u],[e,a]]},t.step=function(n){return arguments.length?t.stepMajor(n).stepMinor(n):t.stepMinor()},t.stepMajor=function(n){return arguments.length?(g=+n[0],y=+n[1],t):[g,y]},t.stepMinor=function(n){return arguments.length?(d=+n[0],v=+n[1],t):[d,v]},t.precision=function(n){return arguments.length?(_=+n,f=pi(u,a,90),l=di(r,e,_),h=pi(s,c,90),p=di(o,i,_),t):_},t.extentMajor([[-180,-90+mg],[180,90-mg]]).extentMinor([[-180,-80-mg],[180,80+mg]])}function gi(){return vi()()}function yi(){Ty.point=_i}function _i(t,n){Ty.point=mi,ey=iy=t,ry=oy=n}function mi(t,n){Sy.add(oy*t-iy*n),iy=t,oy=n}function bi(){mi(ey,ry)}function xi(t,n){t<Oy&&(Oy=t),t>jy&&(jy=t),n<Ny&&(Ny=n),n>Py&&(Py=n)}function wi(t,n){Ry+=t,Ly+=n,++Iy}function Mi(){Hy.point=ki}function ki(t,n){Hy.point=Ai,wi(cy=t,sy=n)}function Ai(t,n){var e=t-cy,r=n-sy,i=Ig(e*e+r*r);zy+=i*(cy+t)/2,Uy+=i*(sy+n)/2,Dy+=i,wi(cy=t,sy=n)}function Ei(){Hy.point=wi}function Ci(){Hy.point=Ti}function Si(){Oi(ay,uy)}function Ti(t,n){Hy.point=Oi,wi(ay=cy=t,uy=sy=n)}function Oi(t,n){var e=t-cy,r=n-sy,i=Ig(e*e+r*r);zy+=i*(cy+t)/2,Uy+=i*(sy+n)/2,Dy+=i,i=sy*t-cy*n,qy+=i*(cy+t),Fy+=i*(sy+n),By+=3*i,wi(cy=t,sy=n)}function Ni(t){this._context=t}function ji(t,n){Ky.point=Pi,Yy=Xy=t,Vy=Gy=n}function Pi(t,n){Xy-=t,Gy-=n,Jy.add(Ig(Xy*Xy+Gy*Gy)),Xy=t,Gy=n}function $i(){this._string=[]}function Ri(t){return"m0,"+t+"a"+t+","+t+" 0 1,1 0,"+-2*t+"a"+t+","+t+" 0 1,1 0,"+2*t+"z"}function Li(t){return t.length>1}function Ii(t,n){return((t=t.x)[0]<0?t[1]-wg-mg:wg-t[1])-((n=n.x)[0]<0?n[1]-wg-mg:wg-n[1])}function zi(t){var n,e=NaN,r=NaN,i=NaN;return{lineStart:function(){t.lineStart(),n=1},point:function(o,a){var u=o>0?xg:-xg,c=Cg(o-e);Cg(c-xg)<mg?(t.point(e,r=(r+a)/2>0?wg:-wg),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(u,r),t.point(o,r),n=0):i!==u&&c>=xg&&(Cg(e-i)<mg&&(e-=i*mg),Cg(o-u)<mg&&(o-=u*mg),r=Ui(e,r,o,a),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(u,r),n=0),t.point(e=o,r=a),i=u},lineEnd:function(){t.lineEnd(),e=r=NaN},clean:function(){return 2-n}}}function Ui(t,n,e,r){var i,o,a=Rg(t-e);return Cg(a)>mg?Sg((Rg(n)*(o=Og(r))*Rg(e)-Rg(r)*(i=Og(n))*Rg(t))/(i*o*a)):(n+r)/2}function Di(t,n,e,r){var i;if(null==t)i=e*wg,r.point(-xg,i),r.point(0,i),r.point(xg,i),r.point(xg,0),r.point(xg,-i),r.point(0,-i),r.point(-xg,-i),r.point(-xg,0),r.point(-xg,i);else if(Cg(t[0]-n[0])>mg){var o=t[0]<n[0]?xg:-xg;i=e*o/2,r.point(-o,i),r.point(0,i),r.point(o,i)}else r.point(n[0],n[1])}function qi(t){return function(n){var e=new Fi;for(var r in t)e[r]=t[r];return e.stream=n,e}}function Fi(){}function Bi(t,n,e){var r=n[1][0]-n[0][0],i=n[1][1]-n[0][1],o=t.clipExtent&&t.clipExtent();t.scale(150).translate([0,0]),null!=o&&t.clipExtent(null),qg(e,t.stream($y));var a=$y.result(),u=Math.min(r/(a[1][0]-a[0][0]),i/(a[1][1]-a[0][1])),c=+n[0][0]+(r-u*(a[1][0]+a[0][0]))/2,s=+n[0][1]+(i-u*(a[1][1]+a[0][1]))/2;return null!=o&&t.clipExtent(o),t.scale(150*u).translate([c,s])}function Hi(t,n,e){return Bi(t,[[0,0],n],e)}function Wi(t){return qi({point:function(n,e){n=t(n,e),this.stream.point(n[0],n[1])}})}function Yi(t,n){function e(r,i,o,a,u,c,s,f,l,h,p,d,v,g){var y=s-r,_=f-i,m=y*y+_*_;if(m>4*n&&v--){var b=a+h,x=u+p,w=c+d,M=Ig(b*b+x*x+w*w),k=gr(w/=M),A=Cg(Cg(w)-1)<mg||Cg(o-l)<mg?(o+l)/2:Tg(x,b),E=t(A,k),C=E[0],S=E[1],T=C-r,O=S-i,N=_*T-y*O;(N*N/m>n||Cg((y*T+_*O)/m-.5)>.3||a*h+u*p+c*d<a_)&&(e(r,i,o,a,u,c,C,S,A,b/=M,x/=M,w,v,g),g.point(C,S),e(C,S,A,b,x,w,s,f,l,h,p,d,v,g))}}return function(n){function r(e,r){e=t(e,r),n.point(e[0],e[1])}function i(){y=NaN,w.point=o,n.lineStart()}function o(r,i){var o=Cr([r,i]),a=t(r,i);e(y,_,g,m,b,x,y=a[0],_=a[1],g=r,m=o[0],b=o[1],x=o[2],o_,n),n.point(y,_)}function a(){w.point=r,n.lineEnd()}function u(){i(),w.point=c,w.lineEnd=s}function c(t,n){o(f=t,n),l=y,h=_,p=m,d=b,v=x,w.point=o}function s(){e(y,_,g,m,b,x,l,h,f,p,d,v,o_,n),w.lineEnd=a,a()}var f,l,h,p,d,v,g,y,_,m,b,x,w={point:r,lineStart:i,lineEnd:a,polygonStart:function(){n.polygonStart(),w.lineStart=u},polygonEnd:function(){n.polygonEnd(),w.lineStart=i}};return w}}function Vi(t){return Xi(function(){return t})()}function Xi(t){function n(t){return t=f(t[0]*Eg,t[1]*Eg),[t[0]*g+u,c-t[1]*g]}function e(t){return t=f.invert((t[0]-u)/g,(c-t[1])/g),t&&[t[0]*Ag,t[1]*Ag]}function r(t,n){return t=a(t,n),[t[0]*g+u,c-t[1]*g]}function i(){f=Zg(s=ti(x,w,M),a);var t=a(m,b);return u=y-t[0]*g,c=_+t[1]*g,o()}function o(){return d=v=null,n}var a,u,c,s,f,l,h,p,d,v,g=150,y=480,_=250,m=0,b=0,x=0,w=0,M=0,k=null,A=e_,E=null,C=Ey,S=.5,T=u_(r,S);return n.stream=function(t){return d&&v===t?d:d=c_(A(s,T(C(v=t))))},n.clipAngle=function(t){return arguments.length?(A=+t?r_(k=t*Eg,6*Eg):(k=null,e_),o()):k*Ag},n.clipExtent=function(t){return arguments.length?(C=null==t?(E=l=h=p=null,Ey):ci(E=+t[0][0],l=+t[0][1],h=+t[1][0],p=+t[1][1]),o()):null==E?null:[[E,l],[h,p]]},n.scale=function(t){return arguments.length?(g=+t,i()):g},n.translate=function(t){return arguments.length?(y=+t[0],_=+t[1],i()):[y,_]},n.center=function(t){return arguments.length?(m=t[0]%360*Eg,b=t[1]%360*Eg,i()):[m*Ag,b*Ag]},n.rotate=function(t){return arguments.length?(x=t[0]%360*Eg,w=t[1]%360*Eg,M=t.length>2?t[2]%360*Eg:0,i()):[x*Ag,w*Ag,M*Ag]},n.precision=function(t){return arguments.length?(T=u_(r,S=t*t),o()):Ig(S)},n.fitExtent=function(t,e){return Bi(n,t,e)},n.fitSize=function(t,e){return Hi(n,t,e)},function(){return a=t.apply(this,arguments),n.invert=a.invert&&e,i()}}function Gi(t){var n=0,e=xg/3,r=Xi(t),i=r(n,e);return i.parallels=function(t){return arguments.length?r(n=t[0]*Eg,e=t[1]*Eg):[n*Ag,e*Ag]},i}function Ji(t){function n(t,n){return[t*e,Rg(n)/e]}var e=Og(t);return n.invert=function(t,n){return[t/e,gr(n*e)]},n}function Ki(t,n){function e(t,n){var e=Ig(o-2*i*Rg(n))/i;return[e*Rg(t*=i),a-e*Og(t)]}var r=Rg(t),i=(r+Rg(n))/2;if(Cg(i)<mg)return Ji(t);var o=1+r*(2*i-r),a=Ig(o)/i;return e.invert=function(t,n){var e=a-n;return[Tg(t,Cg(e))/i*Lg(e),gr((o-(t*t+e*e)*i*i)/(2*i))]},e}function Zi(t){var n=t.length;return{point:function(e,r){for(var i=-1;++i<n;)t[i].point(e,r)},sphere:function(){for(var e=-1;++e<n;)t[e].sphere()},lineStart:function(){for(var e=-1;++e<n;)t[e].lineStart()},lineEnd:function(){for(var e=-1;++e<n;)t[e].lineEnd()},polygonStart:function(){for(var e=-1;++e<n;)t[e].polygonStart()},polygonEnd:function(){for(var e=-1;++e<n;)t[e].polygonEnd()}}}function Qi(t){return function(n,e){var r=Og(n),i=Og(e),o=t(r*i);return[o*i*Rg(n),o*Rg(e)]}}function to(t){return function(n,e){var r=Ig(n*n+e*e),i=t(r),o=Rg(i),a=Og(i);return[Tg(n*o,r*a),gr(r&&e*o/r)]}}function no(t,n){return[t,Pg(zg((wg+n)/2))]}function eo(t){var n,e=Vi(t),r=e.scale,i=e.translate,o=e.clipExtent;return e.scale=function(t){return arguments.length?(r(t),n&&e.clipExtent(null),e):r()},e.translate=function(t){return arguments.length?(i(t),n&&e.clipExtent(null),e):i()},e.clipExtent=function(t){if(!arguments.length)return n?null:o();if(n=null==t){var a=xg*r(),u=i();t=[[u[0]-a,u[1]-a],[u[0]+a,u[1]+a]]}return o(t),e},e.clipExtent(null)}function ro(t){return zg((wg+t)/2)}function io(t,n){function e(t,n){o>0?n<-wg+mg&&(n=-wg+mg):n>wg-mg&&(n=wg-mg);var e=o/$g(ro(n),i);return[e*Rg(i*t),o-e*Og(i*t)]}var r=Og(t),i=t===n?Rg(t):Pg(r/Og(n))/Pg(ro(n)/ro(t)),o=r*$g(ro(t),i)/i;return i?(e.invert=function(t,n){var e=o-n,r=Lg(i)*Ig(t*t+e*e);return[Tg(t,Cg(e))/i*Lg(e),2*Sg($g(o/r,1/i))-wg]},e):no}function oo(t,n){return[t,n]}function ao(t,n){function e(t,n){var e=o-n,r=i*t;return[e*Rg(r),o-e*Og(r)]}var r=Og(t),i=t===n?Rg(t):(r-Og(n))/(n-t),o=r/i+t;return Cg(i)<mg?oo:(e.invert=function(t,n){var e=o-n;return[Tg(t,Cg(e))/i*Lg(e),o-Lg(i)*Ig(t*t+e*e)]},e)}function uo(t,n){var e=Og(n),r=Og(t)*e;return[e*Rg(t)/r,Rg(n)/r]}function co(t,n,e,r){return 1===t&&1===n&&0===e&&0===r?Ey:qi({point:function(i,o){this.stream.point(i*t+e,o*n+r)}})}function so(t,n){return[Og(n)*Rg(t),Rg(n)]}function fo(t,n){var e=Og(n),r=1+Og(t)*e;return[e*Rg(t)/r,Rg(n)/r]}function lo(t,n){return[Pg(zg((wg+n)/2)),-t]}function ho(t,n){return t.parent===n.parent?1:2}function po(t){return t.reduce(vo,0)/t.length}function vo(t,n){return t+n.x}function go(t){return 1+t.reduce(yo,0)}function yo(t,n){return Math.max(t,n.y)}function _o(t){for(var n;n=t.children;)t=n[0];return t}function mo(t){for(var n;n=t.children;)t=n[n.length-1];return t}function bo(t){var n=0,e=t.children,r=e&&e.length;if(r)for(;--r>=0;)n+=e[r].value;else n=1;t.value=n}function xo(t,n){if(t===n)return t;var e=t.ancestors(),r=n.ancestors(),i=null;for(t=e.pop(),n=r.pop();t===n;)i=t,t=e.pop(),n=r.pop();return i}function wo(t,n){var e,r,i,o,a,u=new Co(t),c=+t.value&&(u.value=t.value),s=[u];for(null==n&&(n=ko);e=s.pop();)if(c&&(e.value=+e.data.value),(i=n(e.data))&&(a=i.length))for(e.children=new Array(a),o=a-1;o>=0;--o)s.push(r=e.children[o]=new Co(i[o])),r.parent=e,r.depth=e.depth+1;return u.eachBefore(Eo)}function Mo(){return wo(this).eachBefore(Ao)}function ko(t){return t.children}function Ao(t){t.data=t.data.data}function Eo(t){var n=0;do t.height=n;while((t=t.parent)&&t.height<++n)}function Co(t){this.data=t,this.depth=this.height=0,this.parent=null}function So(t){this._=t,this.next=null}function To(t,n){var e=n.x-t.x,r=n.y-t.y,i=t.r-n.r;return i*i+1e-6>e*e+r*r}function Oo(t,n){var e,r,i,o=null,a=t.head;switch(n.length){case 1:e=No(n[0]);break;case 2:e=jo(n[0],n[1]);break;case 3:e=Po(n[0],n[1],n[2])}for(;a;)i=a._,r=a.next,e&&To(e,i)?o=a:(o?(t.tail=o,o.next=null):t.head=t.tail=null,n.push(i),e=Oo(t,n),n.pop(),t.head?(a.next=t.head,t.head=a):(a.next=null,t.head=t.tail=a),o=t.tail,o.next=r),a=r;return t.tail=o,e}function No(t){return{x:t.x,y:t.y,r:t.r}}function jo(t,n){var e=t.x,r=t.y,i=t.r,o=n.x,a=n.y,u=n.r,c=o-e,s=a-r,f=u-i,l=Math.sqrt(c*c+s*s);return{x:(e+o+c/l*f)/2,y:(r+a+s/l*f)/2,r:(l+i+u)/2}}function Po(t,n,e){var r=t.x,i=t.y,o=t.r,a=n.x,u=n.y,c=n.r,s=e.x,f=e.y,l=e.r,h=2*(r-a),p=2*(i-u),d=2*(c-o),v=r*r+i*i-o*o-a*a-u*u+c*c,g=2*(r-s),y=2*(i-f),_=2*(l-o),m=r*r+i*i-o*o-s*s-f*f+l*l,b=g*p-h*y,x=(p*m-y*v)/b-r,w=(y*d-p*_)/b,M=(g*v-h*m)/b-i,k=(h*_-g*d)/b,A=w*w+k*k-1,E=2*(x*w+M*k+o),C=x*x+M*M-o*o,S=(-E-Math.sqrt(E*E-4*A*C))/(2*A);return{x:x+w*S+r,y:M+k*S+i,r:S}}function $o(t,n,e){var r=t.x,i=t.y,o=n.r+e.r,a=t.r+e.r,u=n.x-r,c=n.y-i,s=u*u+c*c;if(s){var f=.5+((a*=a)-(o*=o))/(2*s),l=Math.sqrt(Math.max(0,2*o*(a+s)-(a-=s)*a-o*o))/(2*s);e.x=r+f*u+l*c,e.y=i+f*c-l*u}else e.x=r+a,e.y=i}function Ro(t,n){var e=n.x-t.x,r=n.y-t.y,i=t.r+n.r;return i*i-1e-6>e*e+r*r}function Lo(t,n){for(var e=t._.r;t!==n;)e+=2*(t=t.next)._.r;return e-n._.r}function Io(t,n,e){var r=t._,i=t.next._,o=r.r+i.r,a=(r.x*i.r+i.x*r.r)/o-n,u=(r.y*i.r+i.y*r.r)/o-e;return a*a+u*u}function zo(t){this._=t,this.next=null,this.previous=null}function Uo(t){if(!(i=t.length))return 0;var n,e,r,i;if(n=t[0],n.x=0,n.y=0,!(i>1))return n.r;if(e=t[1],n.x=-e.r,e.x=n.r,e.y=0,!(i>2))return n.r+e.r;$o(e,n,r=t[2]);var o,a,u,c,s,f,l,h=n.r*n.r,p=e.r*e.r,d=r.r*r.r,v=h+p+d,g=h*n.x+p*e.x+d*r.x,y=h*n.y+p*e.y+d*r.y;n=new zo(n),e=new zo(e),r=new zo(r),n.next=r.previous=e,e.next=n.previous=r,r.next=e.previous=n;t:for(u=3;u<i;++u){$o(n._,e._,r=t[u]),r=new zo(r),c=e.next,s=n.previous,f=e._.r,l=n._.r;do if(f<=l){if(Ro(c._,r._)){f+n._.r+e._.r>Lo(c,e)?n=c:e=c,n.next=e,e.previous=n,--u;continue t}f+=c._.r,c=c.next}else{if(Ro(s._,r._)){Lo(n,s)>l+n._.r+e._.r?n=s:e=s,n.next=e,e.previous=n,--u;continue t}l+=s._.r,s=s.previous}while(c!==s.next);for(r.previous=n,r.next=e,n.next=e.previous=e=r,v+=d=r._.r*r._.r,g+=d*r._.x,y+=d*r._.y,h=Io(n,o=g/v,a=y/v);(r=r.next)!==e;)(d=Io(r,o,a))<h&&(n=r,h=d);e=n.next}for(n=[e._],r=e;(r=r.next)!==e;)n.push(r._);for(r=z_(n),u=0;u<i;++u)n=t[u],n.x-=r.x,n.y-=r.y;return r.r}function Do(t){return null==t?null:qo(t)}function qo(t){if("function"!=typeof t)throw new Error;return t}function Fo(){return 0}function Bo(t){return Math.sqrt(t.value)}function Ho(t){return function(n){n.children||(n.r=Math.max(0,+t(n)||0))}}function Wo(t,n){return function(e){if(r=e.children){var r,i,o,a=r.length,u=t(e)*n||0;if(u)for(i=0;i<a;++i)r[i].r+=u;if(o=Uo(r),u)for(i=0;i<a;++i)r[i].r-=u;e.r=o+u}}}function Yo(t){return function(n){var e=n.parent;n.r*=t,e&&(n.x=e.x+t*n.x,n.y=e.y+t*n.y)}}function Vo(t){return t.id}function Xo(t){return t.parentId}function Go(t,n){return t.parent===n.parent?1:2}function Jo(t){var n=t.children;return n?n[0]:t.t}function Ko(t){var n=t.children;return n?n[n.length-1]:t.t}function Zo(t,n,e){var r=e/(n.i-t.i);n.c-=r,n.s+=e,t.c+=r,n.z+=e,n.m+=e}function Qo(t){for(var n,e=0,r=0,i=t.children,o=i.length;--o>=0;)n=i[o],n.z+=e,n.m+=e,e+=n.s+(r+=n.c)}function ta(t,n,e){return t.a.parent===n.parent?t.a:e}function na(t,n){this._=t,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=n}function ea(t){for(var n,e,r,i,o,a=new na(t,0),u=[a];n=u.pop();)if(r=n._.children)for(n.children=new Array(o=r.length),i=o-1;i>=0;--i)u.push(e=n.children[i]=new na(r[i],i)),e.parent=n;return(a.parent=new na(null,0)).children=[a],a}function ra(t,n,e,r,i,o){for(var a,u,c,s,f,l,h,p,d,v,g,y=[],_=n.children,m=0,b=0,x=_.length,w=n.value;m<x;){c=i-e,s=o-r;do f=_[b++].value;while(!f&&b<x);for(l=h=f,v=Math.max(s/c,c/s)/(w*t),g=f*f*v,d=Math.max(h/g,g/l);b<x;++b){if(f+=u=_[b].value,u<l&&(l=u),u>h&&(h=u),g=f*f*v,p=Math.max(h/g,g/l),p>d){f-=u;break}d=p}y.push(a={value:f,dice:c<s,children:_.slice(m,b)}),a.dice?B_(a,e,r,i,w?r+=s*f/w:o):J_(a,e,r,w?e+=c*f/w:i,o),w-=f,m=b}return y}function ia(t,n){return t[0]-n[0]||t[1]-n[1]}function oa(t){for(var n=t.length,e=[0,1],r=2,i=2;i<n;++i){for(;r>1&&om(t[e[r-2]],t[e[r-1]],t[i])<=0;)--r;e[r++]=i}return e.slice(0,r)}function aa(t){if(!(t>=1))throw new Error;this._size=t,this._call=this._error=null,this._tasks=[],this._data=[],this._waiting=this._active=this._ended=this._start=0}function ua(t){if(!t._start)try{ca(t)}catch(n){if(t._tasks[t._ended+t._active-1])fa(t,n);else if(!t._data)throw n}}function ca(t){for(;t._start=t._waiting&&t._active<t._size;){var n=t._ended+t._active,e=t._tasks[n],r=e.length-1,i=e[r];e[r]=sa(t,n),--t._waiting,++t._active,e=i.apply(null,e),t._tasks[n]&&(t._tasks[n]=e||fm)}}function sa(t,n){return function(e,r){t._tasks[n]&&(--t._active,++t._ended,t._tasks[n]=null,null==t._error&&(null!=e?fa(t,e):(t._data[n]=r,t._waiting?ua(t):la(t))))}}function fa(t,n){var e,r=t._tasks.length;for(t._error=n,t._data=void 0,t._waiting=NaN;--r>=0;)if((e=t._tasks[r])&&(t._tasks[r]=null,e.abort))try{e.abort()}catch(t){}t._active=NaN,la(t)}function la(t){if(!t._active&&t._call){var n=t._data;t._data=void 0,t._call(t._error,n)}}function ha(t){return new aa(arguments.length?+t:1/0)}function pa(t){return function(n,e){t(null==n?e:null)}}function da(t){var n=t.responseType;return n&&"text"!==n?t.response:t.responseText}function va(t,n){return function(e){return t(e.responseText,n)}}function ga(t){function n(n){var o=n+"",a=e.get(o);if(!a){if(i!==Tm)return i;e.set(o,a=r.push(n))}return t[(a-1)%t.length]}var e=De(),r=[],i=Tm;return t=null==t?[]:Sm.call(t),n.domain=function(t){if(!arguments.length)return r.slice();r=[],e=De();for(var i,o,a=-1,u=t.length;++a<u;)e.has(o=(i=t[a])+"")||e.set(o,r.push(i));return n},n.range=function(e){return arguments.length?(t=Sm.call(e),n):t.slice()},n.unknown=function(t){return arguments.length?(i=t,n):i},n.copy=function(){return ga().domain(r).range(t).unknown(i)},n}function ya(){function t(){var t=i().length,r=a[1]<a[0],l=a[r-0],h=a[1-r];n=(h-l)/Math.max(1,t-c+2*s),u&&(n=Math.floor(n)),l+=(h-l-n*(t-c))*f,e=n*(1-c),u&&(l=Math.round(l),e=Math.round(e));var p=Fs(t).map(function(t){return l+n*t});return o(r?p.reverse():p)}var n,e,r=ga().unknown(void 0),i=r.domain,o=r.range,a=[0,1],u=!1,c=0,s=0,f=.5;return delete r.unknown,r.domain=function(n){return arguments.length?(i(n),t()):i()},r.range=function(n){return arguments.length?(a=[+n[0],+n[1]],t()):a.slice()},r.rangeRound=function(n){return a=[+n[0],+n[1]],u=!0,t()},r.bandwidth=function(){return e},r.step=function(){return n},r.round=function(n){return arguments.length?(u=!!n,t()):u},r.padding=function(n){return arguments.length?(c=s=Math.max(0,Math.min(1,n)),t()):c},r.paddingInner=function(n){return arguments.length?(c=Math.max(0,Math.min(1,n)),t()):c},r.paddingOuter=function(n){return arguments.length?(s=Math.max(0,Math.min(1,n)),t()):s},r.align=function(n){return arguments.length?(f=Math.max(0,Math.min(1,n)),t()):f},r.copy=function(){return ya().domain(i()).range(a).round(u).paddingInner(c).paddingOuter(s).align(f)},t()}function _a(t){var n=t.copy;return t.padding=t.paddingOuter,delete t.paddingInner,delete t.paddingOuter,t.copy=function(){return _a(n())},t}function ma(){return _a(ya().paddingInner(1))}function ba(t,n){return(n-=t=+t)?function(e){return(e-t)/n}:Om(n)}function xa(t){return function(n,e){var r=t(n=+n,e=+e);return function(t){return t<=n?0:t>=e?1:r(t)}}}function wa(t){return function(n,e){var r=t(n=+n,e=+e);return function(t){return t<=0?n:t>=1?e:r(t)}}}function Ma(t,n,e,r){var i=t[0],o=t[1],a=n[0],u=n[1];return o<i?(i=e(o,i),a=r(u,a)):(i=e(i,o),a=r(a,u)),function(t){return a(i(t))}}function ka(t,n,e,r){var i=Math.min(t.length,n.length)-1,o=new Array(i),a=new Array(i),u=-1;for(t[i]<t[0]&&(t=t.slice().reverse(),n=n.slice().reverse());++u<i;)o[u]=e(t[u],t[u+1]),a[u]=r(n[u],n[u+1]);return function(n){var e=Os(t,n,1,i)-1;return a[e](o[e](n))}}function Aa(t,n){return n.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp())}function Ea(t,n){function e(){return i=Math.min(u.length,c.length)>2?ka:Ma,o=a=null,r}function r(n){return(o||(o=i(u,c,f?xa(t):t,s)))(+n)}var i,o,a,u=jm,c=jm,s=xh,f=!1;return r.invert=function(t){return(a||(a=i(c,u,ba,f?wa(n):n)))(+t)},r.domain=function(t){return arguments.length?(u=Cm.call(t,Nm),e()):u.slice()},r.range=function(t){return arguments.length?(c=Sm.call(t),e()):c.slice()},r.rangeRound=function(t){return c=Sm.call(t),s=wh,e()},r.clamp=function(t){return arguments.length?(f=!!t,e()):f},r.interpolate=function(t){return arguments.length?(s=t,e()):s},e()}function Ca(t){var n=t.domain;return t.ticks=function(t){var e=n();return Ys(e[0],e[e.length-1],null==t?10:t)},t.tickFormat=function(t,e){return Pm(n(),t,e)},t.nice=function(r){var i=n(),o=i.length-1,a=null==r?10:r,u=i[0],c=i[o],s=e(u,c,a);return s&&(s=e(Math.floor(u/s)*s,Math.ceil(c/s)*s,a),i[0]=Math.floor(u/s)*s,i[o]=Math.ceil(c/s)*s,n(i)),t},t}function Sa(){var t=Ea(ba,gh);return t.copy=function(){return Aa(t,Sa())},Ca(t)}function Ta(){function t(t){return+t}var n=[0,1];return t.invert=t,t.domain=t.range=function(e){return arguments.length?(n=Cm.call(e,Nm),t):n.slice()},t.copy=function(){return Ta().domain(n)},Ca(t)}function Oa(t,n){return(n=Math.log(n/t))?function(e){return Math.log(e/t)/n}:Om(n)}function Na(t,n){return t<0?function(e){return-Math.pow(-n,e)*Math.pow(-t,1-e)}:function(e){return Math.pow(n,e)*Math.pow(t,1-e)}}function ja(t){return isFinite(t)?+("1e"+t):t<0?0:t}function Pa(t){return 10===t?ja:t===Math.E?Math.exp:function(n){return Math.pow(t,n)}}function $a(t){return t===Math.E?Math.log:10===t&&Math.log10||2===t&&Math.log2||(t=Math.log(t),function(n){return Math.log(n)/t})}function Ra(t){return function(n){return-t(-n)}}function La(){function n(){return o=$a(i),a=Pa(i),r()[0]<0&&(o=Ra(o),a=Ra(a)),e}var e=Ea(Oa,Na).domain([1,10]),r=e.domain,i=10,o=$a(10),a=Pa(10);return e.base=function(t){return arguments.length?(i=+t,n()):i},e.domain=function(t){return arguments.length?(r(t),n()):r()},e.ticks=function(t){var n,e=r(),u=e[0],c=e[e.length-1];(n=c<u)&&(h=u,u=c,c=h);var s,f,l,h=o(u),p=o(c),d=null==t?10:+t,v=[];if(!(i%1)&&p-h<d){if(h=Math.round(h)-1,p=Math.round(p)+1,u>0){for(;h<p;++h)for(f=1,s=a(h);f<i;++f)if(l=s*f,!(l<u)){if(l>c)break;v.push(l)}}else for(;h<p;++h)for(f=i-1,s=a(h);f>=1;--f)if(l=s*f,!(l<u)){if(l>c)break;v.push(l)}}else v=Ys(h,p,Math.min(p-h,d)).map(a);return n?v.reverse():v},e.tickFormat=function(n,r){if(null==r&&(r=10===i?".0e":","),"function"!=typeof r&&(r=t.format(r)),n===1/0)return r;null==n&&(n=10);var u=Math.max(1,i*n/e.ticks().length);return function(t){var n=t/a(Math.round(o(t)));return n*i<i-.5&&(n*=i),n<=u?r(t):""}},e.nice=function(){return r($m(r(),{floor:function(t){return a(Math.floor(o(t)))},ceil:function(t){return a(Math.ceil(o(t)))}}))},e.copy=function(){return Aa(e,La().base(i))},e}function Ia(t,n){return t<0?-Math.pow(-t,n):Math.pow(t,n)}function za(){function t(t,n){return(n=Ia(n,e)-(t=Ia(t,e)))?function(r){return(Ia(r,e)-t)/n}:Om(n)}function n(t,n){return n=Ia(n,e)-(t=Ia(t,e)),function(r){return Ia(t+n*r,1/e)}}var e=1,r=Ea(t,n),i=r.domain;return r.exponent=function(t){return arguments.length?(e=+t,i(i())):e},r.copy=function(){return Aa(r,za().exponent(e))},Ca(r)}function Ua(){return za().exponent(.5)}function Da(){function t(){var t=0,o=Math.max(1,r.length);for(i=new Array(o-1);++t<o;)i[t-1]=Gs(e,t/o);return n}function n(t){if(!isNaN(t=+t))return r[Os(i,t)]}var e=[],r=[],i=[];return n.invertExtent=function(t){var n=r.indexOf(t);return n<0?[NaN,NaN]:[n>0?i[n-1]:e[0],n<i.length?i[n]:e[e.length-1]]},n.domain=function(n){if(!arguments.length)return e.slice();e=[];for(var r,i=0,o=n.length;i<o;++i)r=n[i],null==r||isNaN(r=+r)||e.push(r);return e.sort(Cs),t()},n.range=function(n){return arguments.length?(r=Sm.call(n),t()):r.slice()},n.quantiles=function(){return i.slice()},n.copy=function(){return Da().domain(e).range(r)},n}function qa(){function t(t){if(t<=t)return a[Os(o,t,0,i)]}function n(){var n=-1;for(o=new Array(i);++n<i;)o[n]=((n+1)*r-(n-i)*e)/(i+1);return t}var e=0,r=1,i=1,o=[.5],a=[0,1];return t.domain=function(t){return arguments.length?(e=+t[0],r=+t[1],n()):[e,r]},t.range=function(t){return arguments.length?(i=(a=Sm.call(t)).length-1,n()):a.slice()},t.invertExtent=function(t){var n=a.indexOf(t);return n<0?[NaN,NaN]:n<1?[e,o[0]]:n>=i?[o[i-1],r]:[o[n-1],o[n]]},t.copy=function(){return qa().domain([e,r]).range(a)},Ca(t)}function Fa(){function t(t){if(t<=t)return e[Os(n,t,0,r)]}var n=[.5],e=[0,1],r=1;return t.domain=function(i){return arguments.length?(n=Sm.call(i),r=Math.min(n.length,e.length-1),t):n.slice()},t.range=function(i){return arguments.length?(e=Sm.call(i),r=Math.min(n.length,e.length-1),t):e.slice()},t.invertExtent=function(t){var r=e.indexOf(t);return[n[r-1],n[r]]},t.copy=function(){return Fa().domain(n).range(e)},t}function Ba(t,n,e,r){function i(n){return t(n=new Date(+n)),n}return i.floor=i,i.ceil=function(e){return t(e=new Date(e-1)),n(e,1),t(e),e},i.round=function(t){var n=i(t),e=i.ceil(t);return t-n<e-t?n:e},i.offset=function(t,e){return n(t=new Date(+t),null==e?1:Math.floor(e)),t},i.range=function(e,r,o){var a=[];if(e=i.ceil(e),o=null==o?1:Math.floor(o),!(e<r&&o>0))return a;do a.push(new Date(+e));while(n(e,o),t(e),e<r);return a},i.filter=function(e){return Ba(function(n){if(n>=n)for(;t(n),!e(n);)n.setTime(n-1)},function(t,r){if(t>=t)for(;--r>=0;)for(;n(t,1),!e(t););})},e&&(i.count=function(n,r){return Rm.setTime(+n),Lm.setTime(+r),t(Rm),t(Lm),Math.floor(e(Rm,Lm))},i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?i.filter(r?function(n){return r(n)%t===0}:function(n){return i.count(0,n)%t===0}):i:null}),i}function Ha(t){return Ba(function(n){n.setDate(n.getDate()-(n.getDay()+7-t)%7),n.setHours(0,0,0,0)},function(t,n){t.setDate(t.getDate()+7*n)},function(t,n){return(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*Dm)/Bm})}function Wa(t){return Ba(function(n){n.setUTCDate(n.getUTCDate()-(n.getUTCDay()+7-t)%7),n.setUTCHours(0,0,0,0)},function(t,n){t.setUTCDate(t.getUTCDate()+7*n)},function(t,n){return(n-t)/Bm})}function Ya(t){if(0<=t.y&&t.y<100){var n=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return n.setFullYear(t.y),n}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function Va(t){if(0<=t.y&&t.y<100){var n=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return n.setUTCFullYear(t.y),n}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function Xa(t){return{y:t,m:0,d:1,H:0,M:0,S:0,L:0}}function Ga(t){function n(t,n){return function(e){var r,i,o,a=[],u=-1,c=0,s=t.length;for(e instanceof Date||(e=new Date(+e));++u<s;)37===t.charCodeAt(u)&&(a.push(t.slice(c,u)),null!=(i=qb[r=t.charAt(++u)])?r=t.charAt(++u):i="e"===r?" ":"0",(o=n[r])&&(r=o(e,i)),a.push(r),c=u+1);return a.push(t.slice(c,u)),a.join("")}}function e(t,n){return function(e){var i=Xa(1900),o=r(i,t,e+="",0);if(o!=e.length)return null;if("p"in i&&(i.H=i.H%12+12*i.p),"W"in i||"U"in i){"w"in i||(i.w="W"in i?1:0);var a="Z"in i?Va(Xa(i.y)).getUTCDay():n(Xa(i.y)).getDay();i.m=0,i.d="W"in i?(i.w+6)%7+7*i.W-(a+5)%7:i.w+7*i.U-(a+6)%7}return"Z"in i?(i.H+=i.Z/100|0,i.M+=i.Z%100,Va(i)):n(i)}}function r(t,n,e,r){for(var i,o,a=0,u=n.length,c=e.length;a<u;){if(r>=c)return-1; |
|
if(i=n.charCodeAt(a++),37===i){if(i=n.charAt(a++),o=F[i in qb?n.charAt(a++):i],!o||(r=o(t,e,r))<0)return-1}else if(i!=e.charCodeAt(r++))return-1}return r}function i(t,n,e){var r=O.exec(n.slice(e));return r?(t.p=N[r[0].toLowerCase()],e+r[0].length):-1}function o(t,n,e){var r=$.exec(n.slice(e));return r?(t.w=R[r[0].toLowerCase()],e+r[0].length):-1}function a(t,n,e){var r=j.exec(n.slice(e));return r?(t.w=P[r[0].toLowerCase()],e+r[0].length):-1}function u(t,n,e){var r=z.exec(n.slice(e));return r?(t.m=U[r[0].toLowerCase()],e+r[0].length):-1}function c(t,n,e){var r=L.exec(n.slice(e));return r?(t.m=I[r[0].toLowerCase()],e+r[0].length):-1}function s(t,n,e){return r(t,w,n,e)}function f(t,n,e){return r(t,M,n,e)}function l(t,n,e){return r(t,k,n,e)}function h(t){return C[t.getDay()]}function p(t){return E[t.getDay()]}function d(t){return T[t.getMonth()]}function v(t){return S[t.getMonth()]}function g(t){return A[+(t.getHours()>=12)]}function y(t){return C[t.getUTCDay()]}function _(t){return E[t.getUTCDay()]}function m(t){return T[t.getUTCMonth()]}function b(t){return S[t.getUTCMonth()]}function x(t){return A[+(t.getUTCHours()>=12)]}var w=t.dateTime,M=t.date,k=t.time,A=t.periods,E=t.days,C=t.shortDays,S=t.months,T=t.shortMonths,O=Za(A),N=Qa(A),j=Za(E),P=Qa(E),$=Za(C),R=Qa(C),L=Za(S),I=Qa(S),z=Za(T),U=Qa(T),D={a:h,A:p,b:d,B:v,c:null,d:du,e:du,H:vu,I:gu,j:yu,L:_u,m:mu,M:bu,p:g,S:xu,U:wu,w:Mu,W:ku,x:null,X:null,y:Au,Y:Eu,Z:Cu,"%":Fu},q={a:y,A:_,b:m,B:b,c:null,d:Su,e:Su,H:Tu,I:Ou,j:Nu,L:ju,m:Pu,M:$u,p:x,S:Ru,U:Lu,w:Iu,W:zu,x:null,X:null,y:Uu,Y:Du,Z:qu,"%":Fu},F={a:o,A:a,b:u,B:c,c:s,d:uu,e:uu,H:su,I:su,j:cu,L:hu,m:au,M:fu,p:i,S:lu,U:nu,w:tu,W:eu,x:f,X:l,y:iu,Y:ru,Z:ou,"%":pu};return D.x=n(M,D),D.X=n(k,D),D.c=n(w,D),q.x=n(M,q),q.X=n(k,q),q.c=n(w,q),{format:function(t){var e=n(t+="",D);return e.toString=function(){return t},e},parse:function(t){var n=e(t+="",Ya);return n.toString=function(){return t},n},utcFormat:function(t){var e=n(t+="",q);return e.toString=function(){return t},e},utcParse:function(t){var n=e(t,Va);return n.toString=function(){return t},n}}}function Ja(t,n,e){var r=t<0?"-":"",i=(r?-t:t)+"",o=i.length;return r+(o<e?new Array(e-o+1).join(n)+i:i)}function Ka(t){return t.replace(Hb,"\\$&")}function Za(t){return new RegExp("^(?:"+t.map(Ka).join("|")+")","i")}function Qa(t){for(var n={},e=-1,r=t.length;++e<r;)n[t[e].toLowerCase()]=e;return n}function tu(t,n,e){var r=Fb.exec(n.slice(e,e+1));return r?(t.w=+r[0],e+r[0].length):-1}function nu(t,n,e){var r=Fb.exec(n.slice(e));return r?(t.U=+r[0],e+r[0].length):-1}function eu(t,n,e){var r=Fb.exec(n.slice(e));return r?(t.W=+r[0],e+r[0].length):-1}function ru(t,n,e){var r=Fb.exec(n.slice(e,e+4));return r?(t.y=+r[0],e+r[0].length):-1}function iu(t,n,e){var r=Fb.exec(n.slice(e,e+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),e+r[0].length):-1}function ou(t,n,e){var r=/^(Z)|([+-]\d\d)(?:\:?(\d\d))?/.exec(n.slice(e,e+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),e+r[0].length):-1}function au(t,n,e){var r=Fb.exec(n.slice(e,e+2));return r?(t.m=r[0]-1,e+r[0].length):-1}function uu(t,n,e){var r=Fb.exec(n.slice(e,e+2));return r?(t.d=+r[0],e+r[0].length):-1}function cu(t,n,e){var r=Fb.exec(n.slice(e,e+3));return r?(t.m=0,t.d=+r[0],e+r[0].length):-1}function su(t,n,e){var r=Fb.exec(n.slice(e,e+2));return r?(t.H=+r[0],e+r[0].length):-1}function fu(t,n,e){var r=Fb.exec(n.slice(e,e+2));return r?(t.M=+r[0],e+r[0].length):-1}function lu(t,n,e){var r=Fb.exec(n.slice(e,e+2));return r?(t.S=+r[0],e+r[0].length):-1}function hu(t,n,e){var r=Fb.exec(n.slice(e,e+3));return r?(t.L=+r[0],e+r[0].length):-1}function pu(t,n,e){var r=Bb.exec(n.slice(e,e+1));return r?e+r[0].length:-1}function du(t,n){return Ja(t.getDate(),n,2)}function vu(t,n){return Ja(t.getHours(),n,2)}function gu(t,n){return Ja(t.getHours()%12||12,n,2)}function yu(t,n){return Ja(1+Jm.count(db(t),t),n,3)}function _u(t,n){return Ja(t.getMilliseconds(),n,3)}function mu(t,n){return Ja(t.getMonth()+1,n,2)}function bu(t,n){return Ja(t.getMinutes(),n,2)}function xu(t,n){return Ja(t.getSeconds(),n,2)}function wu(t,n){return Ja(Zm.count(db(t),t),n,2)}function Mu(t){return t.getDay()}function ku(t,n){return Ja(Qm.count(db(t),t),n,2)}function Au(t,n){return Ja(t.getFullYear()%100,n,2)}function Eu(t,n){return Ja(t.getFullYear()%1e4,n,4)}function Cu(t){var n=t.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+Ja(n/60|0,"0",2)+Ja(n%60,"0",2)}function Su(t,n){return Ja(t.getUTCDate(),n,2)}function Tu(t,n){return Ja(t.getUTCHours(),n,2)}function Ou(t,n){return Ja(t.getUTCHours()%12||12,n,2)}function Nu(t,n){return Ja(1+bb.count(zb(t),t),n,3)}function ju(t,n){return Ja(t.getUTCMilliseconds(),n,3)}function Pu(t,n){return Ja(t.getUTCMonth()+1,n,2)}function $u(t,n){return Ja(t.getUTCMinutes(),n,2)}function Ru(t,n){return Ja(t.getUTCSeconds(),n,2)}function Lu(t,n){return Ja(wb.count(zb(t),t),n,2)}function Iu(t){return t.getUTCDay()}function zu(t,n){return Ja(Mb.count(zb(t),t),n,2)}function Uu(t,n){return Ja(t.getUTCFullYear()%100,n,2)}function Du(t,n){return Ja(t.getUTCFullYear()%1e4,n,4)}function qu(){return"+0000"}function Fu(){return"%"}function Bu(n){return Ub=Ga(n),t.timeFormat=Ub.format,t.timeParse=Ub.parse,t.utcFormat=Ub.utcFormat,t.utcParse=Ub.utcParse,Ub}function Hu(t){return t.toISOString()}function Wu(t){var n=new Date(t);return isNaN(n)?null:n}function Yu(t){return new Date(t)}function Vu(t){return t instanceof Date?+t:+new Date(+t)}function Xu(t,n,r,i,o,a,u,c,s){function f(e){return(u(e)<e?v:a(e)<e?g:o(e)<e?y:i(e)<e?_:n(e)<e?r(e)<e?m:b:t(e)<e?x:w)(e)}function l(n,r,i,o){if(null==n&&(n=10),"number"==typeof n){var a=Math.abs(i-r)/n,u=Ss(function(t){return t[2]}).right(M,a);u===M.length?(o=e(r/tx,i/tx,n),n=t):u?(u=M[a/M[u-1][2]<M[u][2]/a?u-1:u],o=u[1],n=u[0]):(o=e(r,i,n),n=c)}return null==o?n:n.every(o)}var h=Ea(ba,gh),p=h.invert,d=h.domain,v=s(".%L"),g=s(":%S"),y=s("%I:%M"),_=s("%I %p"),m=s("%a %d"),b=s("%b %d"),x=s("%B"),w=s("%Y"),M=[[u,1,Xb],[u,5,5*Xb],[u,15,15*Xb],[u,30,30*Xb],[a,1,Gb],[a,5,5*Gb],[a,15,15*Gb],[a,30,30*Gb],[o,1,Jb],[o,3,3*Jb],[o,6,6*Jb],[o,12,12*Jb],[i,1,Kb],[i,2,2*Kb],[r,1,Zb],[n,1,Qb],[n,3,3*Qb],[t,1,tx]];return h.invert=function(t){return new Date(p(t))},h.domain=function(t){return arguments.length?d(Cm.call(t,Vu)):d().map(Yu)},h.ticks=function(t,n){var e,r=d(),i=r[0],o=r[r.length-1],a=o<i;return a&&(e=i,i=o,o=e),e=l(t,i,o,n),e=e?e.range(i,o+1):[],a?e.reverse():e},h.tickFormat=function(t,n){return null==n?f:s(n)},h.nice=function(t,n){var e=d();return(t=l(t,e[0],e[e.length-1],n))?d($m(e,t)):h},h.copy=function(){return Aa(h,Xu(t,n,r,i,o,a,u,c,s))},h}function Gu(t){var n=t.length;return function(e){return t[Math.max(0,Math.min(n-1,Math.floor(e*n)))]}}function Ju(t){function n(n){var o=(n-e)/(r-e);return t(i?Math.max(0,Math.min(1,o)):o)}var e=0,r=1,i=!1;return n.domain=function(t){return arguments.length?(e=+t[0],r=+t[1],n):[e,r]},n.clamp=function(t){return arguments.length?(i=!!t,n):i},n.interpolator=function(e){return arguments.length?(t=e,n):t},n.copy=function(){return Ju(t).domain([e,r]).clamp(i)},Ca(n)}function Ku(t){return t.innerRadius}function Zu(t){return t.outerRadius}function Qu(t){return t.startAngle}function tc(t){return t.endAngle}function nc(t){return t&&t.padAngle}function ec(t){return t>=1?bx:t<=-1?-bx:Math.asin(t)}function rc(t,n,e,r,i,o,a,u){var c=e-t,s=r-n,f=a-i,l=u-o,h=(f*(n-o)-l*(t-i))/(l*c-f*s);return[t+h*c,n+h*s]}function ic(t,n,e,r,i,o,a){var u=t-e,c=n-r,s=(a?o:-o)/Math.sqrt(u*u+c*c),f=s*c,l=-s*u,h=t+f,p=n+l,d=e+f,v=r+l,g=(h+d)/2,y=(p+v)/2,_=d-h,m=v-p,b=_*_+m*m,x=i-o,w=h*v-d*p,M=(m<0?-1:1)*Math.sqrt(Math.max(0,x*x*b-w*w)),k=(w*m-_*M)/b,A=(-w*_-m*M)/b,E=(w*m+_*M)/b,C=(-w*_+m*M)/b,S=k-g,T=A-y,O=E-g,N=C-y;return S*S+T*T>O*O+N*N&&(k=E,A=C),{cx:k,cy:A,x01:-f,y01:-l,x11:k*(i/x-1),y11:A*(i/x-1)}}function oc(t){this._context=t}function ac(t){return t[0]}function uc(t){return t[1]}function cc(t){this._curve=t}function sc(t){function n(n){return new cc(t(n))}return n._curve=t,n}function fc(t){var n=t.curve;return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t.curve=function(t){return arguments.length?n(sc(t)):n()._curve},t}function lc(t,n,e){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+n)/6,(t._y0+4*t._y1+e)/6)}function hc(t){this._context=t}function pc(t){this._context=t}function dc(t){this._context=t}function vc(t,n){this._basis=new hc(t),this._beta=n}function gc(t,n,e){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-n),t._y2+t._k*(t._y1-e),t._x2,t._y2)}function yc(t,n){this._context=t,this._k=(1-n)/6}function _c(t,n){this._context=t,this._k=(1-n)/6}function mc(t,n){this._context=t,this._k=(1-n)/6}function bc(t,n,e){var r=t._x1,i=t._y1,o=t._x2,a=t._y2;if(t._l01_a>_x){var u=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,c=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*u-t._x0*t._l12_2a+t._x2*t._l01_2a)/c,i=(i*u-t._y0*t._l12_2a+t._y2*t._l01_2a)/c}if(t._l23_a>_x){var s=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,f=3*t._l23_a*(t._l23_a+t._l12_a);o=(o*s+t._x1*t._l23_2a-n*t._l12_2a)/f,a=(a*s+t._y1*t._l23_2a-e*t._l12_2a)/f}t._context.bezierCurveTo(r,i,o,a,t._x2,t._y2)}function xc(t,n){this._context=t,this._alpha=n}function wc(t,n){this._context=t,this._alpha=n}function Mc(t,n){this._context=t,this._alpha=n}function kc(t){this._context=t}function Ac(t){return t<0?-1:1}function Ec(t,n,e){var r=t._x1-t._x0,i=n-t._x1,o=(t._y1-t._y0)/(r||i<0&&-0),a=(e-t._y1)/(i||r<0&&-0),u=(o*i+a*r)/(r+i);return(Ac(o)+Ac(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(u))||0}function Cc(t,n){var e=t._x1-t._x0;return e?(3*(t._y1-t._y0)/e-n)/2:n}function Sc(t,n,e){var r=t._x0,i=t._y0,o=t._x1,a=t._y1,u=(o-r)/3;t._context.bezierCurveTo(r+u,i+u*n,o-u,a-u*e,o,a)}function Tc(t){this._context=t}function Oc(t){this._context=new Nc(t)}function Nc(t){this._context=t}function jc(t){return new Tc(t)}function Pc(t){return new Oc(t)}function $c(t){this._context=t}function Rc(t){var n,e,r=t.length-1,i=new Array(r),o=new Array(r),a=new Array(r);for(i[0]=0,o[0]=2,a[0]=t[0]+2*t[1],n=1;n<r-1;++n)i[n]=1,o[n]=4,a[n]=4*t[n]+2*t[n+1];for(i[r-1]=2,o[r-1]=7,a[r-1]=8*t[r-1]+t[r],n=1;n<r;++n)e=i[n]/o[n-1],o[n]-=e,a[n]-=e*a[n-1];for(i[r-1]=a[r-1]/o[r-1],n=r-2;n>=0;--n)i[n]=(a[n]-i[n+1])/o[n];for(o[r-1]=(t[r]+i[r-1])/2,n=0;n<r-1;++n)o[n]=2*t[n+1]-i[n+1];return[i,o]}function Lc(t,n){this._context=t,this._t=n}function Ic(t){return new Lc(t,0)}function zc(t){return new Lc(t,1)}function Uc(t,n){return t[n]}function Dc(t){for(var n,e=0,r=-1,i=t.length;++r<i;)(n=+t[r][1])&&(e+=n);return e}function qc(t){return t[0]}function Fc(t){return t[1]}function Bc(){this._=null}function Hc(t){t.U=t.C=t.L=t.R=t.P=t.N=null}function Wc(t,n){var e=n,r=n.R,i=e.U;i?i.L===e?i.L=r:i.R=r:t._=r,r.U=i,e.U=r,e.R=r.L,e.R&&(e.R.U=e),r.L=e}function Yc(t,n){var e=n,r=n.L,i=e.U;i?i.L===e?i.L=r:i.R=r:t._=r,r.U=i,e.U=r,e.L=r.R,e.L&&(e.L.U=e),r.R=e}function Vc(t){for(;t.L;)t=t.L;return t}function Xc(t,n,e,r){var i=[null,null],o=Sw.push(i)-1;return i.left=t,i.right=n,e&&Jc(i,t,n,e),r&&Jc(i,n,t,r),Ew[t.index].halfedges.push(o),Ew[n.index].halfedges.push(o),i}function Gc(t,n,e){var r=[n,e];return r.left=t,r}function Jc(t,n,e,r){t[0]||t[1]?t.left===e?t[1]=r:t[0]=r:(t[0]=r,t.left=n,t.right=e)}function Kc(t,n,e,r,i){var o,a=t[0],u=t[1],c=a[0],s=a[1],f=u[0],l=u[1],h=0,p=1,d=f-c,v=l-s;if(o=n-c,d||!(o>0)){if(o/=d,d<0){if(o<h)return;o<p&&(p=o)}else if(d>0){if(o>p)return;o>h&&(h=o)}if(o=r-c,d||!(o<0)){if(o/=d,d<0){if(o>p)return;o>h&&(h=o)}else if(d>0){if(o<h)return;o<p&&(p=o)}if(o=e-s,v||!(o>0)){if(o/=v,v<0){if(o<h)return;o<p&&(p=o)}else if(v>0){if(o>p)return;o>h&&(h=o)}if(o=i-s,v||!(o<0)){if(o/=v,v<0){if(o>p)return;o>h&&(h=o)}else if(v>0){if(o<h)return;o<p&&(p=o)}return!(h>0||p<1)||(h>0&&(t[0]=[c+h*d,s+h*v]),p<1&&(t[1]=[c+p*d,s+p*v]),!0)}}}}}function Zc(t,n,e,r,i){var o=t[1];if(o)return!0;var a,u,c=t[0],s=t.left,f=t.right,l=s[0],h=s[1],p=f[0],d=f[1],v=(l+p)/2,g=(h+d)/2;if(d===h){if(v<n||v>=r)return;if(l>p){if(c){if(c[1]>=i)return}else c=[v,e];o=[v,i]}else{if(c){if(c[1]<e)return}else c=[v,i];o=[v,e]}}else if(a=(l-p)/(d-h),u=g-a*v,a<-1||a>1)if(l>p){if(c){if(c[1]>=i)return}else c=[(e-u)/a,e];o=[(i-u)/a,i]}else{if(c){if(c[1]<e)return}else c=[(i-u)/a,i];o=[(e-u)/a,e]}else if(h<d){if(c){if(c[0]>=r)return}else c=[n,a*n+u];o=[r,a*r+u]}else{if(c){if(c[0]<n)return}else c=[r,a*r+u];o=[n,a*n+u]}return t[0]=c,t[1]=o,!0}function Qc(t,n,e,r){for(var i,o=Sw.length;o--;)Zc(i=Sw[o],t,n,e,r)&&Kc(i,t,n,e,r)&&(Math.abs(i[0][0]-i[1][0])>Nw||Math.abs(i[0][1]-i[1][1])>Nw)||delete Sw[o]}function ts(t){return Ew[t.index]={site:t,halfedges:[]}}function ns(t,n){var e=t.site,r=n.left,i=n.right;return e===i&&(i=r,r=e),i?Math.atan2(i[1]-r[1],i[0]-r[0]):(e===r?(r=n[1],i=n[0]):(r=n[0],i=n[1]),Math.atan2(r[0]-i[0],i[1]-r[1]))}function es(t,n){return n[+(n.left!==t.site)]}function rs(t,n){return n[+(n.left===t.site)]}function is(){for(var t,n,e,r,i=0,o=Ew.length;i<o;++i)if((t=Ew[i])&&(r=(n=t.halfedges).length)){var a=new Array(r),u=new Array(r);for(e=0;e<r;++e)a[e]=e,u[e]=ns(t,Sw[n[e]]);for(a.sort(function(t,n){return u[n]-u[t]}),e=0;e<r;++e)u[e]=n[a[e]];for(e=0;e<r;++e)n[e]=u[e]}}function os(t,n,e,r){var i,o,a,u,c,s,f,l,h,p,d,v,g=Ew.length,y=!0;for(i=0;i<g;++i)if(o=Ew[i]){for(a=o.site,c=o.halfedges,u=c.length;u--;)Sw[c[u]]||c.splice(u,1);for(u=0,s=c.length;u<s;)p=rs(o,Sw[c[u]]),d=p[0],v=p[1],f=es(o,Sw[c[++u%s]]),l=f[0],h=f[1],(Math.abs(d-l)>Nw||Math.abs(v-h)>Nw)&&(c.splice(u,0,Sw.push(Gc(a,p,Math.abs(d-t)<Nw&&r-v>Nw?[t,Math.abs(l-t)<Nw?h:r]:Math.abs(v-r)<Nw&&e-d>Nw?[Math.abs(h-r)<Nw?l:e,r]:Math.abs(d-e)<Nw&&v-n>Nw?[e,Math.abs(l-e)<Nw?h:n]:Math.abs(v-n)<Nw&&d-t>Nw?[Math.abs(h-n)<Nw?l:t,n]:null))-1),++s);s&&(y=!1)}if(y){var _,m,b,x=1/0;for(i=0,y=null;i<g;++i)(o=Ew[i])&&(a=o.site,_=a[0]-t,m=a[1]-n,b=_*_+m*m,b<x&&(x=b,y=o));if(y){var w=[t,n],M=[t,r],k=[e,r],A=[e,n];y.halfedges.push(Sw.push(Gc(a=y.site,w,M))-1,Sw.push(Gc(a,M,k))-1,Sw.push(Gc(a,k,A))-1,Sw.push(Gc(a,A,w))-1)}}for(i=0;i<g;++i)(o=Ew[i])&&(o.halfedges.length||delete Ew[i])}function as(){Hc(this),this.x=this.y=this.arc=this.site=this.cy=null}function us(t){var n=t.P,e=t.N;if(n&&e){var r=n.site,i=t.site,o=e.site;if(r!==o){var a=i[0],u=i[1],c=r[0]-a,s=r[1]-u,f=o[0]-a,l=o[1]-u,h=2*(c*l-s*f);if(!(h>=-jw)){var p=c*c+s*s,d=f*f+l*l,v=(l*p-s*d)/h,g=(c*d-f*p)/h,y=Tw.pop()||new as;y.arc=t,y.site=i,y.x=v+a,y.y=(y.cy=g+u)+Math.sqrt(v*v+g*g),t.circle=y;for(var _=null,m=Cw._;m;)if(y.y<m.y||y.y===m.y&&y.x<=m.x){if(!m.L){_=m.P;break}m=m.L}else{if(!m.R){_=m;break}m=m.R}Cw.insert(_,y),_||(kw=y)}}}}function cs(t){var n=t.circle;n&&(n.P||(kw=n.N),Cw.remove(n),Tw.push(n),Hc(n),t.circle=null)}function ss(){Hc(this),this.edge=this.site=this.circle=null}function fs(t){var n=Ow.pop()||new ss;return n.site=t,n}function ls(t){cs(t),Aw.remove(t),Ow.push(t),Hc(t)}function hs(t){var n=t.circle,e=n.x,r=n.cy,i=[e,r],o=t.P,a=t.N,u=[t];ls(t);for(var c=o;c.circle&&Math.abs(e-c.circle.x)<Nw&&Math.abs(r-c.circle.cy)<Nw;)o=c.P,u.unshift(c),ls(c),c=o;u.unshift(c),cs(c);for(var s=a;s.circle&&Math.abs(e-s.circle.x)<Nw&&Math.abs(r-s.circle.cy)<Nw;)a=s.N,u.push(s),ls(s),s=a;u.push(s),cs(s);var f,l=u.length;for(f=1;f<l;++f)s=u[f],c=u[f-1],Jc(s.edge,c.site,s.site,i);c=u[0],s=u[l-1],s.edge=Xc(c.site,s.site,null,i),us(c),us(s)}function ps(t){for(var n,e,r,i,o=t[0],a=t[1],u=Aw._;u;)if(r=ds(u,a)-o,r>Nw)u=u.L;else{if(i=o-vs(u,a),!(i>Nw)){r>-Nw?(n=u.P,e=u):i>-Nw?(n=u,e=u.N):n=e=u;break}if(!u.R){n=u;break}u=u.R}ts(t);var c=fs(t);if(Aw.insert(n,c),n||e){if(n===e)return cs(n),e=fs(n.site),Aw.insert(c,e),c.edge=e.edge=Xc(n.site,c.site),us(n),void us(e);if(!e)return void(c.edge=Xc(n.site,c.site));cs(n),cs(e);var s=n.site,f=s[0],l=s[1],h=t[0]-f,p=t[1]-l,d=e.site,v=d[0]-f,g=d[1]-l,y=2*(h*g-p*v),_=h*h+p*p,m=v*v+g*g,b=[(g*_-p*m)/y+f,(h*m-v*_)/y+l];Jc(e.edge,s,d,b),c.edge=Xc(s,t,null,b),e.edge=Xc(t,d,null,b),us(n),us(e)}}function ds(t,n){var e=t.site,r=e[0],i=e[1],o=i-n;if(!o)return r;var a=t.P;if(!a)return-(1/0);e=a.site;var u=e[0],c=e[1],s=c-n;if(!s)return u;var f=u-r,l=1/o-1/s,h=f/s;return l?(-h+Math.sqrt(h*h-2*l*(f*f/(-2*s)-c+s/2+i-o/2)))/l+r:(r+u)/2}function vs(t,n){var e=t.N;if(e)return ds(e,n);var r=t.site;return r[1]===n?r[0]:1/0}function gs(t,n,e){return(t[0]-e[0])*(n[1]-t[1])-(t[0]-n[0])*(e[1]-t[1])}function ys(t,n){return n[1]-t[1]||n[0]-t[0]}function _s(t,n){var e,r,i,o=t.sort(ys).pop();for(Sw=[],Ew=new Array(t.length),Aw=new Bc,Cw=new Bc;;)if(i=kw,o&&(!i||o[1]<i.y||o[1]===i.y&&o[0]<i.x))o[0]===e&&o[1]===r||(ps(o),e=o[0],r=o[1]),o=t.pop();else{if(!i)break;hs(i.arc)}if(is(),n){var a=+n[0][0],u=+n[0][1],c=+n[1][0],s=+n[1][1];Qc(a,u,c,s),os(a,u,c,s)}this.edges=Sw,this.cells=Ew,Aw=Cw=Sw=Ew=null}function ms(t,n,e){this.target=t,this.type=n,this.transform=e}function bs(t,n,e){this.k=t,this.x=n,this.y=e}function xs(t){return t.__zoom||Rw}function ws(){t.event.stopImmediatePropagation()}function Ms(){return!t.event.button}function ks(){var t,n,e=this;return e instanceof SVGElement?(e=e.ownerSVGElement||e,t=e.width.baseVal.value,n=e.height.baseVal.value):(t=e.clientWidth,n=e.clientHeight),[[0,0],[t,n]]}function As(){return this.__zoom||Rw}var Es="4.6.0",Cs=function(t,n){return t<n?-1:t>n?1:t>=n?0:NaN},Ss=function(t){return 1===t.length&&(t=n(t)),{left:function(n,e,r,i){for(null==r&&(r=0),null==i&&(i=n.length);r<i;){var o=r+i>>>1;t(n[o],e)<0?r=o+1:i=o}return r},right:function(n,e,r,i){for(null==r&&(r=0),null==i&&(i=n.length);r<i;){var o=r+i>>>1;t(n[o],e)>0?i=o:r=o+1}return r}}},Ts=Ss(Cs),Os=Ts.right,Ns=Ts.left,js=function(t,n){return n<t?-1:n>t?1:n>=t?0:NaN},Ps=function(t){return null===t?NaN:+t},$s=function(t,n){var e,r,i=t.length,o=0,a=0,u=-1,c=0;if(null==n)for(;++u<i;)isNaN(e=Ps(t[u]))||(r=e-o,o+=r/++c,a+=r*(e-o));else for(;++u<i;)isNaN(e=Ps(n(t[u],u,t)))||(r=e-o,o+=r/++c,a+=r*(e-o));if(c>1)return a/(c-1)},Rs=function(t,n){var e=$s(t,n);return e?Math.sqrt(e):e},Ls=function(t,n){var e,r,i,o=-1,a=t.length;if(null==n){for(;++o<a;)if(null!=(r=t[o])&&r>=r){e=i=r;break}for(;++o<a;)null!=(r=t[o])&&(e>r&&(e=r),i<r&&(i=r))}else{for(;++o<a;)if(null!=(r=n(t[o],o,t))&&r>=r){e=i=r;break}for(;++o<a;)null!=(r=n(t[o],o,t))&&(e>r&&(e=r),i<r&&(i=r))}return[e,i]},Is=Array.prototype,zs=Is.slice,Us=Is.map,Ds=function(t){return function(){return t}},qs=function(t){return t},Fs=function(t,n,e){t=+t,n=+n,e=(i=arguments.length)<2?(n=t,t=0,1):i<3?1:+e;for(var r=-1,i=0|Math.max(0,Math.ceil((n-t)/e)),o=new Array(i);++r<i;)o[r]=t+r*e;return o},Bs=Math.sqrt(50),Hs=Math.sqrt(10),Ws=Math.sqrt(2),Ys=function(t,n,r){var i=e(t,n,r);return Fs(Math.ceil(t/i)*i,Math.floor(n/i)*i+i/2,i)},Vs=function(t){return Math.ceil(Math.log(t.length)/Math.LN2)+1},Xs=function(){function t(t){var i,o,a=t.length,u=new Array(a);for(i=0;i<a;++i)u[i]=n(t[i],i,t);var c=e(u),s=c[0],f=c[1],l=r(u,s,f);Array.isArray(l)||(l=Ys(s,f,l));for(var h=l.length;l[0]<=s;)l.shift(),--h;for(;l[h-1]>=f;)l.pop(),--h;var p,d=new Array(h+1);for(i=0;i<=h;++i)p=d[i]=[],p.x0=i>0?l[i-1]:s,p.x1=i<h?l[i]:f;for(i=0;i<a;++i)o=u[i],s<=o&&o<=f&&d[Os(l,o,0,h)].push(t[i]);return d}var n=qs,e=Ls,r=Vs;return t.value=function(e){return arguments.length?(n="function"==typeof e?e:Ds(e),t):n},t.domain=function(n){return arguments.length?(e="function"==typeof n?n:Ds([n[0],n[1]]),t):e},t.thresholds=function(n){return arguments.length?(r="function"==typeof n?n:Ds(Array.isArray(n)?zs.call(n):n),t):r},t},Gs=function(t,n,e){if(null==e&&(e=Ps),r=t.length){if((n=+n)<=0||r<2)return+e(t[0],0,t);if(n>=1)return+e(t[r-1],r-1,t);var r,i=(r-1)*n,o=Math.floor(i),a=+e(t[o],o,t),u=+e(t[o+1],o+1,t);return a+(u-a)*(i-o)}},Js=function(t,n,e){return t=Us.call(t,Ps).sort(Cs),Math.ceil((e-n)/(2*(Gs(t,.75)-Gs(t,.25))*Math.pow(t.length,-1/3)))},Ks=function(t,n,e){return Math.ceil((e-n)/(3.5*Rs(t)*Math.pow(t.length,-1/3)))},Zs=function(t,n){var e,r,i=-1,o=t.length;if(null==n){for(;++i<o;)if(null!=(r=t[i])&&r>=r){e=r;break}for(;++i<o;)null!=(r=t[i])&&r>e&&(e=r)}else{for(;++i<o;)if(null!=(r=n(t[i],i,t))&&r>=r){e=r;break}for(;++i<o;)null!=(r=n(t[i],i,t))&&r>e&&(e=r)}return e},Qs=function(t,n){var e,r=0,i=t.length,o=-1,a=i;if(null==n)for(;++o<i;)isNaN(e=Ps(t[o]))?--a:r+=e;else for(;++o<i;)isNaN(e=Ps(n(t[o],o,t)))?--a:r+=e;if(a)return r/a},tf=function(t,n){var e,r=[],i=t.length,o=-1;if(null==n)for(;++o<i;)isNaN(e=Ps(t[o]))||r.push(e);else for(;++o<i;)isNaN(e=Ps(n(t[o],o,t)))||r.push(e);return Gs(r.sort(Cs),.5)},nf=function(t){for(var n,e,r,i=t.length,o=-1,a=0;++o<i;)a+=t[o].length;for(e=new Array(a);--i>=0;)for(r=t[i],n=r.length;--n>=0;)e[--a]=r[n];return e},ef=function(t,n){var e,r,i=-1,o=t.length;if(null==n){for(;++i<o;)if(null!=(r=t[i])&&r>=r){e=r;break}for(;++i<o;)null!=(r=t[i])&&e>r&&(e=r)}else{for(;++i<o;)if(null!=(r=n(t[i],i,t))&&r>=r){e=r;break}for(;++i<o;)null!=(r=n(t[i],i,t))&&e>r&&(e=r)}return e},rf=function(t){for(var n=0,e=t.length-1,r=t[0],i=new Array(e<0?0:e);n<e;)i[n]=[r,r=t[++n]];return i},of=function(t,n){for(var e=n.length,r=new Array(e);e--;)r[e]=t[n[e]];return r},af=function(t,n){if(e=t.length){var e,r,i=0,o=0,a=t[o];for(n||(n=Cs);++i<e;)(n(r=t[i],a)<0||0!==n(a,a))&&(a=r,o=i);return 0===n(a,a)?o:void 0}},uf=function(t,n,e){for(var r,i,o=(null==e?t.length:e)-(n=null==n?0:+n);o;)i=Math.random()*o--|0,r=t[o+n],t[o+n]=t[i+n],t[i+n]=r;return t},cf=function(t,n){var e,r=0,i=t.length,o=-1;if(null==n)for(;++o<i;)(e=+t[o])&&(r+=e);else for(;++o<i;)(e=+n(t[o],o,t))&&(r+=e);return r},sf=function(t){if(!(o=t.length))return[];for(var n=-1,e=ef(t,r),i=new Array(e);++n<e;)for(var o,a=-1,u=i[n]=new Array(o);++a<o;)u[a]=t[a][n];return i},ff=function(){return sf(arguments)},lf=Array.prototype.slice,hf=function(t){return t},pf=1,df=2,vf=3,gf=4,yf=1e-6,_f={value:function(){}};d.prototype=p.prototype={constructor:d,on:function(t,n){var e,r=this._,i=v(t+"",r),o=-1,a=i.length;{if(!(arguments.length<2)){if(null!=n&&"function"!=typeof n)throw new Error("invalid callback: "+n);for(;++o<a;)if(e=(t=i[o]).type)r[e]=y(r[e],t.name,n);else if(null==n)for(e in r)r[e]=y(r[e],t.name,null);return this}for(;++o<a;)if((e=(t=i[o]).type)&&(e=g(r[e],t.name)))return e}},copy:function(){var t={},n=this._;for(var e in n)t[e]=n[e].slice();return new d(t)},call:function(t,n){if((e=arguments.length-2)>0)for(var e,r,i=new Array(e),o=0;o<e;++o)i[o]=arguments[o+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(r=this._[t],o=0,e=r.length;o<e;++o)r[o].value.apply(n,i)},apply:function(t,n,e){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var r=this._[t],i=0,o=r.length;i<o;++i)r[i].value.apply(n,e)}};var mf="http://www.w3.org/1999/xhtml",bf={svg:"http://www.w3.org/2000/svg",xhtml:mf,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},xf=function(t){var n=t+="",e=n.indexOf(":");return e>=0&&"xmlns"!==(n=t.slice(0,e))&&(t=t.slice(e+1)),bf.hasOwnProperty(n)?{space:bf[n],local:t}:t},wf=function(t){var n=xf(t);return(n.local?m:_)(n)},Mf=0;x.prototype=b.prototype={constructor:x,get:function(t){for(var n=this._;!(n in t);)if(!(t=t.parentNode))return;return t[n]},set:function(t,n){return t[this._]=n},remove:function(t){return this._ in t&&delete t[this._]},toString:function(){return this._}};var kf=function(t){return function(){return this.matches(t)}};if("undefined"!=typeof document){var Af=document.documentElement;if(!Af.matches){var Ef=Af.webkitMatchesSelector||Af.msMatchesSelector||Af.mozMatchesSelector||Af.oMatchesSelector;kf=function(t){return function(){return Ef.call(this,t)}}}}var Cf=kf,Sf={};if(t.event=null,"undefined"!=typeof document){var Tf=document.documentElement;"onmouseenter"in Tf||(Sf={mouseenter:"mouseover",mouseleave:"mouseout"})}var Of=function(t,n,e){var r,i,o=k(t+""),a=o.length;{if(!(arguments.length<2)){for(u=n?E:A,null==e&&(e=!1),r=0;r<a;++r)this.each(u(o[r],n,e));return this}var u=this.node().__on;if(u)for(var c,s=0,f=u.length;s<f;++s)for(r=0,c=u[s];r<a;++r)if((i=o[r]).type===c.type&&i.name===c.name)return c.value}},Nf=function(){for(var n,e=t.event;n=e.sourceEvent;)e=n;return e},jf=function(t,n){var e=t.ownerSVGElement||t;if(e.createSVGPoint){var r=e.createSVGPoint();return r.x=n.clientX,r.y=n.clientY,r=r.matrixTransform(t.getScreenCTM().inverse()),[r.x,r.y]}var i=t.getBoundingClientRect();return[n.clientX-i.left-t.clientLeft,n.clientY-i.top-t.clientTop]},Pf=function(t){var n=Nf();return n.changedTouches&&(n=n.changedTouches[0]),jf(t,n)},$f=function(t){return null==t?S:function(){return this.querySelector(t)}},Rf=function(t){"function"!=typeof t&&(t=$f(t));for(var n=this._groups,e=n.length,r=new Array(e),i=0;i<e;++i)for(var o,a,u=n[i],c=u.length,s=r[i]=new Array(c),f=0;f<c;++f)(o=u[f])&&(a=t.call(o,o.__data__,f,u))&&("__data__"in o&&(a.__data__=o.__data__),s[f]=a);return new pt(r,this._parents)},Lf=function(t){return null==t?T:function(){return this.querySelectorAll(t)}},If=function(t){"function"!=typeof t&&(t=Lf(t));for(var n=this._groups,e=n.length,r=[],i=[],o=0;o<e;++o)for(var a,u=n[o],c=u.length,s=0;s<c;++s)(a=u[s])&&(r.push(t.call(a,a.__data__,s,u)),i.push(a));return new pt(r,i)},zf=function(t){"function"!=typeof t&&(t=Cf(t));for(var n=this._groups,e=n.length,r=new Array(e),i=0;i<e;++i)for(var o,a=n[i],u=a.length,c=r[i]=[],s=0;s<u;++s)(o=a[s])&&t.call(o,o.__data__,s,a)&&c.push(o);return new pt(r,this._parents)},Uf=function(t){return new Array(t.length)},Df=function(){return new pt(this._enter||this._groups.map(Uf),this._parents)};O.prototype={constructor:O,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,n){return this._parent.insertBefore(t,n)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var qf=function(t){return function(){return t}},Ff="$",Bf=function(t,n){if(!t)return p=new Array(this.size()),s=-1,this.each(function(t){p[++s]=t}),p;var e=n?j:N,r=this._parents,i=this._groups;"function"!=typeof t&&(t=qf(t));for(var o=i.length,a=new Array(o),u=new Array(o),c=new Array(o),s=0;s<o;++s){var f=r[s],l=i[s],h=l.length,p=t.call(f,f&&f.__data__,s,r),d=p.length,v=u[s]=new Array(d),g=a[s]=new Array(d),y=c[s]=new Array(h);e(f,l,v,g,y,p,n);for(var _,m,b=0,x=0;b<d;++b)if(_=v[b]){for(b>=x&&(x=b+1);!(m=g[x])&&++x<d;);_._next=m||null}}return a=new pt(a,r),a._enter=u,a._exit=c,a},Hf=function(){return new pt(this._exit||this._groups.map(Uf),this._parents)},Wf=function(t){for(var n=this._groups,e=t._groups,r=n.length,i=e.length,o=Math.min(r,i),a=new Array(r),u=0;u<o;++u)for(var c,s=n[u],f=e[u],l=s.length,h=a[u]=new Array(l),p=0;p<l;++p)(c=s[p]||f[p])&&(h[p]=c);for(;u<r;++u)a[u]=n[u];return new pt(a,this._parents)},Yf=function(){for(var t=this._groups,n=-1,e=t.length;++n<e;)for(var r,i=t[n],o=i.length-1,a=i[o];--o>=0;)(r=i[o])&&(a&&a!==r.nextSibling&&a.parentNode.insertBefore(r,a),a=r);return this},Vf=function(t){function n(n,e){return n&&e?t(n.__data__,e.__data__):!n-!e}t||(t=P);for(var e=this._groups,r=e.length,i=new Array(r),o=0;o<r;++o){for(var a,u=e[o],c=u.length,s=i[o]=new Array(c),f=0;f<c;++f)(a=u[f])&&(s[f]=a);s.sort(n)}return new pt(i,this._parents).order()},Xf=function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},Gf=function(){var t=new Array(this.size()),n=-1;return this.each(function(){t[++n]=this}),t},Jf=function(){for(var t=this._groups,n=0,e=t.length;n<e;++n)for(var r=t[n],i=0,o=r.length;i<o;++i){var a=r[i];if(a)return a}return null},Kf=function(){var t=0;return this.each(function(){++t}),t},Zf=function(){return!this.node()},Qf=function(t){for(var n=this._groups,e=0,r=n.length;e<r;++e)for(var i,o=n[e],a=0,u=o.length;a<u;++a)(i=o[a])&&t.call(i,i.__data__,a,o);return this},tl=function(t,n){var e=xf(t);if(arguments.length<2){var r=this.node();return e.local?r.getAttributeNS(e.space,e.local):r.getAttribute(e)}return this.each((null==n?e.local?R:$:"function"==typeof n?e.local?U:z:e.local?I:L)(e,n))},nl=function(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView},el=function(t,n,e){var r;return arguments.length>1?this.each((null==n?D:"function"==typeof n?F:q)(t,n,null==e?"":e)):nl(r=this.node()).getComputedStyle(r,null).getPropertyValue(t)},rl=function(t,n){return arguments.length>1?this.each((null==n?B:"function"==typeof n?W:H)(t,n)):this.node()[t]};X.prototype={add:function(t){var n=this._names.indexOf(t);n<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var n=this._names.indexOf(t);n>=0&&(this._names.splice(n,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var il=function(t,n){var e=Y(t+"");if(arguments.length<2){for(var r=V(this.node()),i=-1,o=e.length;++i<o;)if(!r.contains(e[i]))return!1;return!0}return this.each(("function"==typeof n?Q:n?K:Z)(e,n))},ol=function(t){return arguments.length?this.each(null==t?tt:("function"==typeof t?et:nt)(t)):this.node().textContent},al=function(t){return arguments.length?this.each(null==t?rt:("function"==typeof t?ot:it)(t)):this.node().innerHTML},ul=function(){return this.each(at)},cl=function(){return this.each(ut)},sl=function(t){var n="function"==typeof t?t:wf(t);return this.select(function(){return this.appendChild(n.apply(this,arguments))})},fl=function(t,n){var e="function"==typeof t?t:wf(t),r=null==n?ct:"function"==typeof n?n:$f(n);return this.select(function(){return this.insertBefore(e.apply(this,arguments),r.apply(this,arguments)||null)})},ll=function(){return this.each(st)},hl=function(t){return arguments.length?this.property("__data__",t):this.node().__data__},pl=function(t,n){return this.each(("function"==typeof n?ht:lt)(t,n))},dl=[null];pt.prototype=dt.prototype={constructor:pt,select:Rf,selectAll:If,filter:zf,data:Bf,enter:Df,exit:Hf,merge:Wf,order:Yf,sort:Vf,call:Xf,nodes:Gf,node:Jf,size:Kf,empty:Zf,each:Qf,attr:tl,style:el,property:rl,classed:il,text:ol,html:al,raise:ul,lower:cl,append:sl,insert:fl,remove:ll,datum:hl,on:Of,dispatch:pl};var vl=function(t){return"string"==typeof t?new pt([[document.querySelector(t)]],[document.documentElement]):new pt([[t]],dl)},gl=function(t){return"string"==typeof t?new pt([document.querySelectorAll(t)],[document.documentElement]):new pt([null==t?[]:t],dl)},yl=function(t,n,e){arguments.length<3&&(e=n,n=Nf().changedTouches);for(var r,i=0,o=n?n.length:0;i<o;++i)if((r=n[i]).identifier===e)return jf(t,r);return null},_l=function(t,n){null==n&&(n=Nf().touches);for(var e=0,r=n?n.length:0,i=new Array(r);e<r;++e)i[e]=jf(t,n[e]);return i},ml=function(){t.event.preventDefault(),t.event.stopImmediatePropagation()},bl=function(t){var n=t.document.documentElement,e=vl(t).on("dragstart.drag",ml,!0);"onselectstart"in n?e.on("selectstart.drag",ml,!0):(n.__noselect=n.style.MozUserSelect,n.style.MozUserSelect="none")},xl=function(t){return function(){return t}};yt.prototype.on=function(){var t=this._.on.apply(this._,arguments);return t===this._?this:t};var wl=function(){function n(t){t.on("mousedown.drag",e).on("touchstart.drag",o).on("touchmove.drag",a).on("touchend.drag touchcancel.drag",u).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function e(){if(!f&&l.apply(this,arguments)){var n=c("mouse",h.apply(this,arguments),Pf,this,arguments);n&&(vl(t.event.view).on("mousemove.drag",r,!0).on("mouseup.drag",i,!0),bl(t.event.view),vt(),s=!1,n("start"))}}function r(){ml(),s=!0,v.mouse("drag")}function i(){vl(t.event.view).on("mousemove.drag mouseup.drag",null),gt(t.event.view,s),ml(),v.mouse("end")}function o(){if(l.apply(this,arguments)){var n,e,r=t.event.changedTouches,i=h.apply(this,arguments),o=r.length;for(n=0;n<o;++n)(e=c(r[n].identifier,i,yl,this,arguments))&&(vt(),e("start"))}}function a(){var n,e,r=t.event.changedTouches,i=r.length;for(n=0;n<i;++n)(e=v[r[n].identifier])&&(ml(),e("drag"))}function u(){var n,e,r=t.event.changedTouches,i=r.length;for(f&&clearTimeout(f),f=setTimeout(function(){f=null},500),n=0;n<i;++n)(e=v[r[n].identifier])&&(vt(),e("end"))}function c(e,r,i,o,a){var u,c,s,f=i(r,e),l=g.copy();if(C(new yt(n,"beforestart",u,e,y,f[0],f[1],0,0,l),function(){return null!=(t.event.subject=u=d.apply(o,a))&&(c=u.x-f[0]||0,s=u.y-f[1]||0,!0)}))return function t(h){ |
|
var p,d=f;switch(h){case"start":v[e]=t,p=y++;break;case"end":delete v[e],--y;case"drag":f=i(r,e),p=y}C(new yt(n,h,u,e,p,f[0]+c,f[1]+s,f[0]-d[0],f[1]-d[1],l),l.apply,l,[h,o,a])}}var s,f,l=_t,h=mt,d=bt,v={},g=p("start","drag","end"),y=0;return n.filter=function(t){return arguments.length?(l="function"==typeof t?t:xl(!!t),n):l},n.container=function(t){return arguments.length?(h="function"==typeof t?t:xl(t),n):h},n.subject=function(t){return arguments.length?(d="function"==typeof t?t:xl(t),n):d},n.on=function(){var t=g.on.apply(g,arguments);return t===g?n:t},n},Ml=function(t,n,e){t.prototype=n.prototype=e,e.constructor=t},kl=.7,Al=1/kl,El="\\s*([+-]?\\d+)\\s*",Cl="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",Sl="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Tl=/^#([0-9a-f]{3})$/,Ol=/^#([0-9a-f]{6})$/,Nl=new RegExp("^rgb\\("+[El,El,El]+"\\)$"),jl=new RegExp("^rgb\\("+[Sl,Sl,Sl]+"\\)$"),Pl=new RegExp("^rgba\\("+[El,El,El,Cl]+"\\)$"),$l=new RegExp("^rgba\\("+[Sl,Sl,Sl,Cl]+"\\)$"),Rl=new RegExp("^hsl\\("+[Cl,Sl,Sl]+"\\)$"),Ll=new RegExp("^hsla\\("+[Cl,Sl,Sl,Cl]+"\\)$"),Il={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};Ml(wt,Mt,{displayable:function(){return this.rgb().displayable()},toString:function(){return this.rgb()+""}}),Ml(St,Ct,xt(wt,{brighter:function(t){return t=null==t?Al:Math.pow(Al,t),new St(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?kl:Math.pow(kl,t),new St(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return 0<=this.r&&this.r<=255&&0<=this.g&&this.g<=255&&0<=this.b&&this.b<=255&&0<=this.opacity&&this.opacity<=1},toString:function(){var t=this.opacity;return t=isNaN(t)?1:Math.max(0,Math.min(1,t)),(1===t?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}})),Ml(jt,Nt,xt(wt,{brighter:function(t){return t=null==t?Al:Math.pow(Al,t),new jt(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?kl:Math.pow(kl,t),new jt(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),n=isNaN(t)||isNaN(this.s)?0:this.s,e=this.l,r=e+(e<.5?e:1-e)*n,i=2*e-r;return new St(Pt(t>=240?t-240:t+120,i,r),Pt(t,i,r),Pt(t<120?t+240:t-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1}}));var zl=Math.PI/180,Ul=180/Math.PI,Dl=18,ql=.95047,Fl=1,Bl=1.08883,Hl=4/29,Wl=6/29,Yl=3*Wl*Wl,Vl=Wl*Wl*Wl;Ml(Lt,Rt,xt(wt,{brighter:function(t){return new Lt(this.l+Dl*(null==t?1:t),this.a,this.b,this.opacity)},darker:function(t){return new Lt(this.l-Dl*(null==t?1:t),this.a,this.b,this.opacity)},rgb:function(){var t=(this.l+16)/116,n=isNaN(this.a)?t:t+this.a/500,e=isNaN(this.b)?t:t-this.b/200;return t=Fl*zt(t),n=ql*zt(n),e=Bl*zt(e),new St(Ut(3.2404542*n-1.5371385*t-.4985314*e),Ut(-.969266*n+1.8760108*t+.041556*e),Ut(.0556434*n-.2040259*t+1.0572252*e),this.opacity)}})),Ml(Bt,Ft,xt(wt,{brighter:function(t){return new Bt(this.h,this.c,this.l+Dl*(null==t?1:t),this.opacity)},darker:function(t){return new Bt(this.h,this.c,this.l-Dl*(null==t?1:t),this.opacity)},rgb:function(){return $t(this).rgb()}}));var Xl=-.14861,Gl=1.78277,Jl=-.29227,Kl=-.90649,Zl=1.97294,Ql=Zl*Kl,th=Zl*Gl,nh=Gl*Jl-Kl*Xl;Ml(Yt,Wt,xt(wt,{brighter:function(t){return t=null==t?Al:Math.pow(Al,t),new Yt(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?kl:Math.pow(kl,t),new Yt(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=isNaN(this.h)?0:(this.h+120)*zl,n=+this.l,e=isNaN(this.s)?0:this.s*n*(1-n),r=Math.cos(t),i=Math.sin(t);return new St(255*(n+e*(Xl*r+Gl*i)),255*(n+e*(Jl*r+Kl*i)),255*(n+e*(Zl*r)),this.opacity)}}));var eh,rh,ih,oh,ah,uh,ch=function(t){var n=t.length-1;return function(e){var r=e<=0?e=0:e>=1?(e=1,n-1):Math.floor(e*n),i=t[r],o=t[r+1],a=r>0?t[r-1]:2*i-o,u=r<n-1?t[r+2]:2*o-i;return Vt((e-r/n)*n,a,i,o,u)}},sh=function(t){var n=t.length;return function(e){var r=Math.floor(((e%=1)<0?++e:e)*n),i=t[(r+n-1)%n],o=t[r%n],a=t[(r+1)%n],u=t[(r+2)%n];return Vt((e-r/n)*n,i,o,a,u)}},fh=function(t){return function(){return t}},lh=function t(n){function e(t,n){var e=r((t=Ct(t)).r,(n=Ct(n)).r),i=r(t.g,n.g),o=r(t.b,n.b),a=Zt(t.opacity,n.opacity);return function(n){return t.r=e(n),t.g=i(n),t.b=o(n),t.opacity=a(n),t+""}}var r=Kt(n);return e.gamma=t,e}(1),hh=Qt(ch),ph=Qt(sh),dh=function(t,n){var e,r=n?n.length:0,i=t?Math.min(r,t.length):0,o=new Array(r),a=new Array(r);for(e=0;e<i;++e)o[e]=xh(t[e],n[e]);for(;e<r;++e)a[e]=n[e];return function(t){for(e=0;e<i;++e)a[e]=o[e](t);return a}},vh=function(t,n){var e=new Date;return t=+t,n-=t,function(r){return e.setTime(t+n*r),e}},gh=function(t,n){return t=+t,n-=t,function(e){return t+n*e}},yh=function(t,n){var e,r={},i={};null!==t&&"object"==typeof t||(t={}),null!==n&&"object"==typeof n||(n={});for(e in n)e in t?r[e]=xh(t[e],n[e]):i[e]=n[e];return function(t){for(e in r)i[e]=r[e](t);return i}},_h=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,mh=new RegExp(_h.source,"g"),bh=function(t,n){var e,r,i,o=_h.lastIndex=mh.lastIndex=0,a=-1,u=[],c=[];for(t+="",n+="";(e=_h.exec(t))&&(r=mh.exec(n));)(i=r.index)>o&&(i=n.slice(o,i),u[a]?u[a]+=i:u[++a]=i),(e=e[0])===(r=r[0])?u[a]?u[a]+=r:u[++a]=r:(u[++a]=null,c.push({i:a,x:gh(e,r)})),o=mh.lastIndex;return o<n.length&&(i=n.slice(o),u[a]?u[a]+=i:u[++a]=i),u.length<2?c[0]?nn(c[0].x):tn(n):(n=c.length,function(t){for(var e,r=0;r<n;++r)u[(e=c[r]).i]=e.x(t);return u.join("")})},xh=function(t,n){var e,r=typeof n;return null==n||"boolean"===r?fh(n):("number"===r?gh:"string"===r?(e=Mt(n))?(n=e,lh):bh:n instanceof Mt?lh:n instanceof Date?vh:Array.isArray(n)?dh:isNaN(n)?yh:gh)(t,n)},wh=function(t,n){return t=+t,n-=t,function(e){return Math.round(t+n*e)}},Mh=180/Math.PI,kh={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1},Ah=function(t,n,e,r,i,o){var a,u,c;return(a=Math.sqrt(t*t+n*n))&&(t/=a,n/=a),(c=t*e+n*r)&&(e-=t*c,r-=n*c),(u=Math.sqrt(e*e+r*r))&&(e/=u,r/=u,c/=u),t*r<n*e&&(t=-t,n=-n,c=-c,a=-a),{translateX:i,translateY:o,rotate:Math.atan2(n,t)*Mh,skewX:Math.atan(c)*Mh,scaleX:a,scaleY:u}},Eh=on(en,"px, ","px)","deg)"),Ch=on(rn,", ",")",")"),Sh=Math.SQRT2,Th=2,Oh=4,Nh=1e-12,jh=function(t,n){var e,r,i=t[0],o=t[1],a=t[2],u=n[0],c=n[1],s=n[2],f=u-i,l=c-o,h=f*f+l*l;if(h<Nh)r=Math.log(s/a)/Sh,e=function(t){return[i+t*f,o+t*l,a*Math.exp(Sh*t*r)]};else{var p=Math.sqrt(h),d=(s*s-a*a+Oh*h)/(2*a*Th*p),v=(s*s-a*a-Oh*h)/(2*s*Th*p),g=Math.log(Math.sqrt(d*d+1)-d),y=Math.log(Math.sqrt(v*v+1)-v);r=(y-g)/Sh,e=function(t){var n=t*r,e=an(g),u=a/(Th*p)*(e*cn(Sh*n+g)-un(g));return[i+u*f,o+u*l,a*e/an(Sh*n+g)]}}return e.duration=1e3*r,e},Ph=sn(Jt),$h=sn(Zt),Rh=ln(Jt),Lh=ln(Zt),Ih=hn(Jt),zh=hn(Zt),Uh=function(t,n){for(var e=new Array(n),r=0;r<n;++r)e[r]=t(r/(n-1));return e},Dh=0,qh=0,Fh=0,Bh=1e3,Hh=0,Wh=0,Yh=0,Vh="object"==typeof performance&&performance.now?performance:Date,Xh="function"==typeof requestAnimationFrame?requestAnimationFrame:function(t){setTimeout(t,17)};vn.prototype=gn.prototype={constructor:vn,restart:function(t,n,e){if("function"!=typeof t)throw new TypeError("callback is not a function");e=(null==e?pn():+e)+(null==n?0:+n),this._next||uh===this||(uh?uh._next=this:ah=this,uh=this),this._call=t,this._time=e,xn()},stop:function(){this._call&&(this._call=null,this._time=1/0,xn())}};var Gh=function(t,n,e){var r=new vn;return n=null==n?0:+n,r.restart(function(e){r.stop(),t(e+n)},n,e),r},Jh=function(t,n,e){var r=new vn,i=n;return null==n?(r.restart(t,n,e),r):(n=+n,e=null==e?pn():+e,r.restart(function o(a){a+=i,r.restart(o,i+=n,e),t(a)},n,e),r)},Kh=p("start","end","interrupt"),Zh=[],Qh=0,tp=1,np=2,ep=3,rp=4,ip=5,op=6,ap=function(t,n,e,r,i,o){var a=t.__transition;if(a){if(e in a)return}else t.__transition={};An(t,e,{name:n,index:r,group:i,on:Kh,tween:Zh,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:Qh})},up=function(t,n){var e,r,i,o=t.__transition,a=!0;if(o){n=null==n?null:n+"";for(i in o)(e=o[i]).name===n?(r=e.state>np&&e.state<ip,e.state=op,e.timer.stop(),r&&e.on.call("interrupt",t,t.__data__,e.index,e.group),delete o[i]):a=!1;a&&delete t.__transition}},cp=function(t){return this.each(function(){up(this,t)})},sp=function(t,n){var e=this._id;if(t+="",arguments.length<2){for(var r,i=kn(this.node(),e).tween,o=0,a=i.length;o<a;++o)if((r=i[o]).name===t)return r.value;return null}return this.each((null==n?En:Cn)(e,t,n))},fp=function(t,n){var e;return("number"==typeof n?gh:n instanceof Mt?lh:(e=Mt(n))?(n=e,lh):bh)(t,n)},lp=function(t,n){var e=xf(t),r="transform"===e?Ch:fp;return this.attrTween(t,"function"==typeof n?(e.local?$n:Pn)(e,r,Sn(this,"attr."+t,n)):null==n?(e.local?On:Tn)(e):(e.local?jn:Nn)(e,r,n))},hp=function(t,n){var e="attr."+t;if(arguments.length<2)return(e=this.tween(e))&&e._value;if(null==n)return this.tween(e,null);if("function"!=typeof n)throw new Error;var r=xf(t);return this.tween(e,(r.local?Rn:Ln)(r,n))},pp=function(t){var n=this._id;return arguments.length?this.each(("function"==typeof t?In:zn)(n,t)):kn(this.node(),n).delay},dp=function(t){var n=this._id;return arguments.length?this.each(("function"==typeof t?Un:Dn)(n,t)):kn(this.node(),n).duration},vp=function(t){var n=this._id;return arguments.length?this.each(qn(n,t)):kn(this.node(),n).ease},gp=function(t){"function"!=typeof t&&(t=Cf(t));for(var n=this._groups,e=n.length,r=new Array(e),i=0;i<e;++i)for(var o,a=n[i],u=a.length,c=r[i]=[],s=0;s<u;++s)(o=a[s])&&t.call(o,o.__data__,s,a)&&c.push(o);return new Zn(r,this._parents,this._name,this._id)},yp=function(t){if(t._id!==this._id)throw new Error;for(var n=this._groups,e=t._groups,r=n.length,i=e.length,o=Math.min(r,i),a=new Array(r),u=0;u<o;++u)for(var c,s=n[u],f=e[u],l=s.length,h=a[u]=new Array(l),p=0;p<l;++p)(c=s[p]||f[p])&&(h[p]=c);for(;u<r;++u)a[u]=n[u];return new Zn(a,this._parents,this._name,this._id)},_p=function(t,n){var e=this._id;return arguments.length<2?kn(this.node(),e).on.on(t):this.each(Bn(e,t,n))},mp=function(){return this.on("end.remove",Hn(this._id))},bp=function(t){var n=this._name,e=this._id;"function"!=typeof t&&(t=$f(t));for(var r=this._groups,i=r.length,o=new Array(i),a=0;a<i;++a)for(var u,c,s=r[a],f=s.length,l=o[a]=new Array(f),h=0;h<f;++h)(u=s[h])&&(c=t.call(u,u.__data__,h,s))&&("__data__"in u&&(c.__data__=u.__data__),l[h]=c,ap(l[h],n,e,h,l,kn(u,e)));return new Zn(o,this._parents,n,e)},xp=function(t){var n=this._name,e=this._id;"function"!=typeof t&&(t=Lf(t));for(var r=this._groups,i=r.length,o=[],a=[],u=0;u<i;++u)for(var c,s=r[u],f=s.length,l=0;l<f;++l)if(c=s[l]){for(var h,p=t.call(c,c.__data__,l,s),d=kn(c,e),v=0,g=p.length;v<g;++v)(h=p[v])&&ap(h,n,e,v,p,d);o.push(p),a.push(c)}return new Zn(o,a,n,e)},wp=dt.prototype.constructor,Mp=function(){return new wp(this._groups,this._parents)},kp=function(t,n,e){var r="transform"==(t+="")?Eh:fp;return null==n?this.styleTween(t,Wn(t,r)).on("end.style."+t,Yn(t)):this.styleTween(t,"function"==typeof n?Xn(t,r,Sn(this,"style."+t,n)):Vn(t,r,n),e)},Ap=function(t,n,e){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==n)return this.tween(r,null);if("function"!=typeof n)throw new Error;return this.tween(r,Gn(t,n,null==e?"":e))},Ep=function(t){return this.tween("text","function"==typeof t?Kn(Sn(this,"text",t)):Jn(null==t?"":t+""))},Cp=function(){for(var t=this._name,n=this._id,e=te(),r=this._groups,i=r.length,o=0;o<i;++o)for(var a,u=r[o],c=u.length,s=0;s<c;++s)if(a=u[s]){var f=kn(a,n);ap(a,t,e,s,u,{time:f.time+f.delay+f.duration,delay:0,duration:f.duration,ease:f.ease})}return new Zn(r,this._parents,t,e)},Sp=0,Tp=dt.prototype;Zn.prototype=Qn.prototype={constructor:Zn,select:bp,selectAll:xp,filter:gp,merge:yp,selection:Mp,transition:Cp,call:Tp.call,nodes:Tp.nodes,node:Tp.node,size:Tp.size,empty:Tp.empty,each:Tp.each,on:_p,attr:lp,attrTween:hp,style:kp,styleTween:Ap,text:Ep,remove:mp,tween:sp,delay:pp,duration:dp,ease:vp};var Op=3,Np=function t(n){function e(t){return Math.pow(t,n)}return n=+n,e.exponent=t,e}(Op),jp=function t(n){function e(t){return 1-Math.pow(1-t,n)}return n=+n,e.exponent=t,e}(Op),Pp=function t(n){function e(t){return((t*=2)<=1?Math.pow(t,n):2-Math.pow(2-t,n))/2}return n=+n,e.exponent=t,e}(Op),$p=Math.PI,Rp=$p/2,Lp=4/11,Ip=6/11,zp=8/11,Up=.75,Dp=9/11,qp=10/11,Fp=.9375,Bp=21/22,Hp=63/64,Wp=1/Lp/Lp,Yp=1.70158,Vp=function t(n){function e(t){return t*t*((n+1)*t-n)}return n=+n,e.overshoot=t,e}(Yp),Xp=function t(n){function e(t){return--t*t*((n+1)*t+n)+1}return n=+n,e.overshoot=t,e}(Yp),Gp=function t(n){function e(t){return((t*=2)<1?t*t*((n+1)*t-n):(t-=2)*t*((n+1)*t+n)+2)/2}return n=+n,e.overshoot=t,e}(Yp),Jp=2*Math.PI,Kp=1,Zp=.3,Qp=function t(n,e){function r(t){return n*Math.pow(2,10*--t)*Math.sin((i-t)/e)}var i=Math.asin(1/(n=Math.max(1,n)))*(e/=Jp);return r.amplitude=function(n){return t(n,e*Jp)},r.period=function(e){return t(n,e)},r}(Kp,Zp),td=function t(n,e){function r(t){return 1-n*Math.pow(2,-10*(t=+t))*Math.sin((t+i)/e)}var i=Math.asin(1/(n=Math.max(1,n)))*(e/=Jp);return r.amplitude=function(n){return t(n,e*Jp)},r.period=function(e){return t(n,e)},r}(Kp,Zp),nd=function t(n,e){function r(t){return((t=2*t-1)<0?n*Math.pow(2,10*t)*Math.sin((i-t)/e):2-n*Math.pow(2,-10*t)*Math.sin((i+t)/e))/2}var i=Math.asin(1/(n=Math.max(1,n)))*(e/=Jp);return r.amplitude=function(n){return t(n,e*Jp)},r.period=function(e){return t(n,e)},r}(Kp,Zp),ed={time:null,delay:0,duration:250,ease:ue},rd=function(t){var n,e;t instanceof Zn?(n=t._id,t=t._name):(n=te(),(e=ed).time=pn(),t=null==t?null:t+"");for(var r=this._groups,i=r.length,o=0;o<i;++o)for(var a,u=r[o],c=u.length,s=0;s<c;++s)(a=u[s])&&ap(a,t,n,s,u,e||be(a,n));return new Zn(r,this._parents,t,n)};dt.prototype.interrupt=cp,dt.prototype.transition=rd;var id=[null],od=function(t,n){var e,r,i=t.__transition;if(i){n=null==n?null:n+"";for(r in i)if((e=i[r]).state>tp&&e.name===n)return new Zn([[t]],id,n,+r)}return null},ad=function(t){return function(){return t}},ud=function(t,n,e){this.target=t,this.type=n,this.selection=e},cd=function(){t.event.preventDefault(),t.event.stopImmediatePropagation()},sd={name:"drag"},fd={name:"space"},ld={name:"handle"},hd={name:"center"},pd={name:"x",handles:["e","w"].map(we),input:function(t,n){return t&&[[t[0],n[0][1]],[t[1],n[1][1]]]},output:function(t){return t&&[t[0][0],t[1][0]]}},dd={name:"y",handles:["n","s"].map(we),input:function(t,n){return t&&[[n[0][0],t[0]],[n[1][0],t[1]]]},output:function(t){return t&&[t[0][1],t[1][1]]}},vd={name:"xy",handles:["n","e","s","w","nw","ne","se","sw"].map(we),input:function(t){return t},output:function(t){return t}},gd={overlay:"crosshair",selection:"move",n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},yd={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},_d={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},md={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},bd={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1},xd=function(){return Oe(vd)},wd=Math.cos,Md=Math.sin,kd=Math.PI,Ad=kd/2,Ed=2*kd,Cd=Math.max,Sd=function(){function t(t){var o,a,u,c,s,f,l=t.length,h=[],p=Fs(l),d=[],v=[],g=v.groups=new Array(l),y=new Array(l*l);for(o=0,s=-1;++s<l;){for(a=0,f=-1;++f<l;)a+=t[s][f];h.push(a),d.push(Fs(l)),o+=a}for(e&&p.sort(function(t,n){return e(h[t],h[n])}),r&&d.forEach(function(n,e){n.sort(function(n,i){return r(t[e][n],t[e][i])})}),o=Cd(0,Ed-n*l)/o,c=o?n:Ed/l,a=0,s=-1;++s<l;){for(u=a,f=-1;++f<l;){var _=p[s],m=d[_][f],b=t[_][m],x=a,w=a+=b*o;y[m*l+_]={index:_,subindex:m,startAngle:x,endAngle:w,value:b}}g[_]={index:_,startAngle:u,endAngle:a,value:h[_]},a+=c}for(s=-1;++s<l;)for(f=s-1;++f<l;){var M=y[f*l+s],k=y[s*l+f];(M.value||k.value)&&v.push(M.value<k.value?{source:k,target:M}:{source:M,target:k})}return i?v.sort(i):v}var n=0,e=null,r=null,i=null;return t.padAngle=function(e){return arguments.length?(n=Cd(0,e),t):n},t.sortGroups=function(n){return arguments.length?(e=n,t):e},t.sortSubgroups=function(n){return arguments.length?(r=n,t):r},t.sortChords=function(n){return arguments.length?(null==n?i=null:(i=Ne(n))._=n,t):i&&i._},t},Td=Array.prototype.slice,Od=function(t){return function(){return t}},Nd=Math.PI,jd=2*Nd,Pd=1e-6,$d=jd-Pd;je.prototype=Pe.prototype={constructor:je,moveTo:function(t,n){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,n){this._+="L"+(this._x1=+t)+","+(this._y1=+n)},quadraticCurveTo:function(t,n,e,r){this._+="Q"+ +t+","+ +n+","+(this._x1=+e)+","+(this._y1=+r)},bezierCurveTo:function(t,n,e,r,i,o){this._+="C"+ +t+","+ +n+","+ +e+","+ +r+","+(this._x1=+i)+","+(this._y1=+o)},arcTo:function(t,n,e,r,i){t=+t,n=+n,e=+e,r=+r,i=+i;var o=this._x1,a=this._y1,u=e-t,c=r-n,s=o-t,f=a-n,l=s*s+f*f;if(i<0)throw new Error("negative radius: "+i);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=n);else if(l>Pd)if(Math.abs(f*u-c*s)>Pd&&i){var h=e-o,p=r-a,d=u*u+c*c,v=h*h+p*p,g=Math.sqrt(d),y=Math.sqrt(l),_=i*Math.tan((Nd-Math.acos((d+l-v)/(2*g*y)))/2),m=_/y,b=_/g;Math.abs(m-1)>Pd&&(this._+="L"+(t+m*s)+","+(n+m*f)),this._+="A"+i+","+i+",0,0,"+ +(f*h>s*p)+","+(this._x1=t+b*u)+","+(this._y1=n+b*c)}else this._+="L"+(this._x1=t)+","+(this._y1=n);else;},arc:function(t,n,e,r,i,o){t=+t,n=+n,e=+e;var a=e*Math.cos(r),u=e*Math.sin(r),c=t+a,s=n+u,f=1^o,l=o?r-i:i-r;if(e<0)throw new Error("negative radius: "+e);null===this._x1?this._+="M"+c+","+s:(Math.abs(this._x1-c)>Pd||Math.abs(this._y1-s)>Pd)&&(this._+="L"+c+","+s),e&&(l>$d?this._+="A"+e+","+e+",0,1,"+f+","+(t-a)+","+(n-u)+"A"+e+","+e+",0,1,"+f+","+(this._x1=c)+","+(this._y1=s):(l<0&&(l=l%jd+jd),this._+="A"+e+","+e+",0,"+ +(l>=Nd)+","+f+","+(this._x1=t+e*Math.cos(i))+","+(this._y1=n+e*Math.sin(i))))},rect:function(t,n,e,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)+"h"+ +e+"v"+ +r+"h"+-e+"Z"},toString:function(){return this._}};var Rd=function(){function t(){var t,u=Td.call(arguments),c=n.apply(this,u),s=e.apply(this,u),f=+r.apply(this,(u[0]=c,u)),l=i.apply(this,u)-Ad,h=o.apply(this,u)-Ad,p=f*wd(l),d=f*Md(l),v=+r.apply(this,(u[0]=s,u)),g=i.apply(this,u)-Ad,y=o.apply(this,u)-Ad;if(a||(a=t=Pe()),a.moveTo(p,d),a.arc(0,0,f,l,h),l===g&&h===y||(a.quadraticCurveTo(0,0,v*wd(g),v*Md(g)),a.arc(0,0,v,g,y)),a.quadraticCurveTo(0,0,p,d),a.closePath(),t)return a=null,t+""||null}var n=$e,e=Re,r=Le,i=Ie,o=ze,a=null;return t.radius=function(n){return arguments.length?(r="function"==typeof n?n:Od(+n),t):r},t.startAngle=function(n){return arguments.length?(i="function"==typeof n?n:Od(+n),t):i},t.endAngle=function(n){return arguments.length?(o="function"==typeof n?n:Od(+n),t):o},t.source=function(e){return arguments.length?(n=e,t):n},t.target=function(n){return arguments.length?(e=n,t):e},t.context=function(n){return arguments.length?(a=null==n?null:n,t):a},t},Ld="$";Ue.prototype=De.prototype={constructor:Ue,has:function(t){return Ld+t in this},get:function(t){return this[Ld+t]},set:function(t,n){return this[Ld+t]=n,this},remove:function(t){var n=Ld+t;return n in this&&delete this[n]},clear:function(){for(var t in this)t[0]===Ld&&delete this[t]},keys:function(){var t=[];for(var n in this)n[0]===Ld&&t.push(n.slice(1));return t},values:function(){var t=[];for(var n in this)n[0]===Ld&&t.push(this[n]);return t},entries:function(){var t=[];for(var n in this)n[0]===Ld&&t.push({key:n.slice(1),value:this[n]});return t},size:function(){var t=0;for(var n in this)n[0]===Ld&&++t;return t},empty:function(){for(var t in this)if(t[0]===Ld)return!1;return!0},each:function(t){for(var n in this)n[0]===Ld&&t(this[n],n.slice(1),this)}};var Id=function(){function t(n,i,a,u){if(i>=o.length)return null!=r?r(n):null!=e?n.sort(e):n;for(var c,s,f,l=-1,h=n.length,p=o[i++],d=De(),v=a();++l<h;)(f=d.get(c=p(s=n[l])+""))?f.push(s):d.set(c,[s]);return d.each(function(n,e){u(v,e,t(n,i,a,u))}),v}function n(t,e){if(++e>o.length)return t;var i,u=a[e-1];return null!=r&&e>=o.length?i=t.entries():(i=[],t.each(function(t,r){i.push({key:r,values:n(t,e)})})),null!=u?i.sort(function(t,n){return u(t.key,n.key)}):i}var e,r,i,o=[],a=[];return i={object:function(n){return t(n,0,qe,Fe)},map:function(n){return t(n,0,Be,He)},entries:function(e){return n(t(e,0,Be,He),0)},key:function(t){return o.push(t),i},sortKeys:function(t){return a[o.length-1]=t,i},sortValues:function(t){return e=t,i},rollup:function(t){return r=t,i}}},zd=De.prototype;We.prototype=Ye.prototype={constructor:We,has:zd.has,add:function(t){return t+="",this[Ld+t]=t,this},remove:zd.remove,clear:zd.clear,values:zd.keys,size:zd.size,empty:zd.empty,each:zd.each};var Ud=function(t){var n=[];for(var e in t)n.push(e);return n},Dd=function(t){var n=[];for(var e in t)n.push(t[e]);return n},qd=function(t){var n=[];for(var e in t)n.push({key:e,value:t[e]});return n},Fd=function(t){function n(t,n){var r,i,o=e(t,function(t,e){return r?r(t,e-1):(i=t,void(r=n?Xe(t,n):Ve(t)))});return o.columns=i,o}function e(t,n){function e(){if(f>=s)return a;if(i)return i=!1,o;var n,e=f;if(34===t.charCodeAt(e)){for(var r=e;r++<s;)if(34===t.charCodeAt(r)){if(34!==t.charCodeAt(r+1))break;++r}return f=r+2,n=t.charCodeAt(r+1),13===n?(i=!0,10===t.charCodeAt(r+2)&&++f):10===n&&(i=!0),t.slice(e+1,r).replace(/""/g,'"')}for(;f<s;){var u=1;if(n=t.charCodeAt(f++),10===n)i=!0;else if(13===n)i=!0,10===t.charCodeAt(f)&&(++f,++u);else if(n!==c)continue;return t.slice(e,f-u)}return t.slice(e)}for(var r,i,o={},a={},u=[],s=t.length,f=0,l=0;(r=e())!==a;){for(var h=[];r!==o&&r!==a;)h.push(r),r=e();n&&null==(h=n(h,l++))||u.push(h)}return u}function r(n,e){return null==e&&(e=Ge(n)),[e.map(a).join(t)].concat(n.map(function(n){return e.map(function(t){return a(n[t])}).join(t)})).join("\n")}function i(t){return t.map(o).join("\n")}function o(n){return n.map(a).join(t)}function a(t){return null==t?"":u.test(t+="")?'"'+t.replace(/\"/g,'""')+'"':t}var u=new RegExp('["'+t+"\n]"),c=t.charCodeAt(0);return{parse:n,parseRows:e,format:r,formatRows:i}},Bd=Fd(","),Hd=Bd.parse,Wd=Bd.parseRows,Yd=Bd.format,Vd=Bd.formatRows,Xd=Fd("\t"),Gd=Xd.parse,Jd=Xd.parseRows,Kd=Xd.format,Zd=Xd.formatRows,Qd=function(t,n){function e(){var e,i,o=r.length,a=0,u=0;for(e=0;e<o;++e)i=r[e],a+=i.x,u+=i.y;for(a=a/o-t,u=u/o-n,e=0;e<o;++e)i=r[e],i.x-=a,i.y-=u}var r;return null==t&&(t=0),null==n&&(n=0),e.initialize=function(t){r=t},e.x=function(n){return arguments.length?(t=+n,e):t},e.y=function(t){return arguments.length?(n=+t,e):n},e},tv=function(t){return function(){return t}},nv=function(){return 1e-6*(Math.random()-.5)},ev=function(t){var n=+this._x.call(null,t),e=+this._y.call(null,t);return Je(this.cover(n,e),n,e,t)},rv=function(t,n){if(isNaN(t=+t)||isNaN(n=+n))return this;var e=this._x0,r=this._y0,i=this._x1,o=this._y1;if(isNaN(e))i=(e=Math.floor(t))+1,o=(r=Math.floor(n))+1;else{if(!(e>t||t>i||r>n||n>o))return this;var a,u,c=i-e,s=this._root;switch(u=(n<(r+o)/2)<<1|t<(e+i)/2){case 0:do a=new Array(4),a[u]=s,s=a;while(c*=2,i=e+c,o=r+c,t>i||n>o);break;case 1:do a=new Array(4),a[u]=s,s=a;while(c*=2,e=i-c,o=r+c,e>t||n>o);break;case 2:do a=new Array(4),a[u]=s,s=a;while(c*=2,i=e+c,r=o-c,t>i||r>n);break;case 3:do a=new Array(4),a[u]=s,s=a;while(c*=2,e=i-c,r=o-c,e>t||r>n)}this._root&&this._root.length&&(this._root=s)}return this._x0=e,this._y0=r,this._x1=i,this._y1=o,this},iv=function(){var t=[];return this.visit(function(n){if(!n.length)do t.push(n.data);while(n=n.next)}),t},ov=function(t){return arguments.length?this.cover(+t[0][0],+t[0][1]).cover(+t[1][0],+t[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]},av=function(t,n,e,r,i){this.node=t,this.x0=n,this.y0=e,this.x1=r,this.y1=i},uv=function(t,n,e){var r,i,o,a,u,c,s,f=this._x0,l=this._y0,h=this._x1,p=this._y1,d=[],v=this._root;for(v&&d.push(new av(v,f,l,h,p)),null==e?e=1/0:(f=t-e,l=n-e,h=t+e,p=n+e,e*=e);c=d.pop();)if(!(!(v=c.node)||(i=c.x0)>h||(o=c.y0)>p||(a=c.x1)<f||(u=c.y1)<l))if(v.length){var g=(i+a)/2,y=(o+u)/2;d.push(new av(v[3],g,y,a,u),new av(v[2],i,y,g,u),new av(v[1],g,o,a,y),new av(v[0],i,o,g,y)),(s=(n>=y)<<1|t>=g)&&(c=d[d.length-1],d[d.length-1]=d[d.length-1-s],d[d.length-1-s]=c)}else{var _=t-+this._x.call(null,v.data),m=n-+this._y.call(null,v.data),b=_*_+m*m;if(b<e){var x=Math.sqrt(e=b);f=t-x,l=n-x,h=t+x,p=n+x,r=v.data}}return r},cv=function(t){if(isNaN(o=+this._x.call(null,t))||isNaN(a=+this._y.call(null,t)))return this;var n,e,r,i,o,a,u,c,s,f,l,h,p=this._root,d=this._x0,v=this._y0,g=this._x1,y=this._y1;if(!p)return this;if(p.length)for(;;){if((s=o>=(u=(d+g)/2))?d=u:g=u,(f=a>=(c=(v+y)/2))?v=c:y=c,n=p,!(p=p[l=f<<1|s]))return this;if(!p.length)break;(n[l+1&3]||n[l+2&3]||n[l+3&3])&&(e=n,h=l)}for(;p.data!==t;)if(r=p,!(p=p.next))return this;return(i=p.next)&&delete p.next,r?(i?r.next=i:delete r.next,this):n?(i?n[l]=i:delete n[l],(p=n[0]||n[1]||n[2]||n[3])&&p===(n[3]||n[2]||n[1]||n[0])&&!p.length&&(e?e[h]=p:this._root=p),this):(this._root=i,this)},sv=function(){return this._root},fv=function(){var t=0;return this.visit(function(n){if(!n.length)do++t;while(n=n.next)}),t},lv=function(t){var n,e,r,i,o,a,u=[],c=this._root;for(c&&u.push(new av(c,this._x0,this._y0,this._x1,this._y1));n=u.pop();)if(!t(c=n.node,r=n.x0,i=n.y0,o=n.x1,a=n.y1)&&c.length){var s=(r+o)/2,f=(i+a)/2;(e=c[3])&&u.push(new av(e,s,f,o,a)),(e=c[2])&&u.push(new av(e,r,f,s,a)),(e=c[1])&&u.push(new av(e,s,i,o,f)),(e=c[0])&&u.push(new av(e,r,i,s,f))}return this},hv=function(t){var n,e=[],r=[];for(this._root&&e.push(new av(this._root,this._x0,this._y0,this._x1,this._y1));n=e.pop();){var i=n.node;if(i.length){var o,a=n.x0,u=n.y0,c=n.x1,s=n.y1,f=(a+c)/2,l=(u+s)/2;(o=i[0])&&e.push(new av(o,a,u,f,l)),(o=i[1])&&e.push(new av(o,f,u,c,l)),(o=i[2])&&e.push(new av(o,a,l,f,s)),(o=i[3])&&e.push(new av(o,f,l,c,s))}r.push(n)}for(;n=r.pop();)t(n.node,n.x0,n.y0,n.x1,n.y1);return this},pv=function(t){return arguments.length?(this._x=t,this):this._x},dv=function(t){return arguments.length?(this._y=t,this):this._y},vv=nr.prototype=er.prototype;vv.copy=function(){var t,n,e=new er(this._x,this._y,this._x0,this._y0,this._x1,this._y1),r=this._root;if(!r)return e;if(!r.length)return e._root=rr(r),e;for(t=[{source:r,target:e._root=new Array(4)}];r=t.pop();)for(var i=0;i<4;++i)(n=r.source[i])&&(n.length?t.push({source:n,target:r.target[i]=new Array(4)}):r.target[i]=rr(n));return e},vv.add=ev,vv.addAll=Ke,vv.cover=rv,vv.data=iv,vv.extent=ov,vv.find=uv,vv.remove=cv,vv.removeAll=Ze,vv.root=sv,vv.size=fv,vv.visit=lv,vv.visitAfter=hv,vv.x=pv,vv.y=dv;var gv,yv=function(t){function n(){function t(t,n,e,r,i){var o=t.data,u=t.r,p=l+u;{if(!o)return n>s+p||r<s-p||e>f+p||i<f-p;if(o.index>c.index){var d=s-o.x-o.vx,v=f-o.y-o.vy,g=d*d+v*v;g<p*p&&(0===d&&(d=nv(),g+=d*d),0===v&&(v=nv(),g+=v*v),g=(p-(g=Math.sqrt(g)))/g*a,c.vx+=(d*=g)*(p=(u*=u)/(h+u)),c.vy+=(v*=g)*p,o.vx-=d*(p=1-p),o.vy-=v*p)}}}for(var n,r,c,s,f,l,h,p=i.length,d=0;d<u;++d)for(r=nr(i,ir,or).visitAfter(e),n=0;n<p;++n)c=i[n],l=o[c.index],h=l*l,s=c.x+c.vx,f=c.y+c.vy,r.visit(t)}function e(t){if(t.data)return t.r=o[t.data.index];for(var n=t.r=0;n<4;++n)t[n]&&t[n].r>t.r&&(t.r=t[n].r)}function r(){if(i){var n,e,r=i.length;for(o=new Array(r),n=0;n<r;++n)e=i[n],o[e.index]=+t(e,n,i)}}var i,o,a=1,u=1;return"function"!=typeof t&&(t=tv(null==t?1:+t)),n.initialize=function(t){i=t,r()},n.iterations=function(t){return arguments.length?(u=+t,n):u},n.strength=function(t){return arguments.length?(a=+t,n):a},n.radius=function(e){return arguments.length?(t="function"==typeof e?e:tv(+e),r(),n):t},n},_v=function(t){function n(t){return 1/Math.min(s[t.source.index],s[t.target.index])}function e(n){for(var e=0,r=t.length;e<d;++e)for(var i,o,c,s,l,h,p,v=0;v<r;++v)i=t[v],o=i.source,c=i.target,s=c.x+c.vx-o.x-o.vx||nv(),l=c.y+c.vy-o.y-o.vy||nv(),h=Math.sqrt(s*s+l*l),h=(h-u[v])/h*n*a[v],s*=h,l*=h,c.vx-=s*(p=f[v]),c.vy-=l*p,o.vx+=s*(p=1-p),o.vy+=l*p}function r(){if(c){var n,e,r=c.length,h=t.length,p=De(c,l);for(n=0,s=new Array(r);n<h;++n)e=t[n],e.index=n,"object"!=typeof e.source&&(e.source=ur(p,e.source)),"object"!=typeof e.target&&(e.target=ur(p,e.target)),s[e.source.index]=(s[e.source.index]||0)+1,s[e.target.index]=(s[e.target.index]||0)+1;for(n=0,f=new Array(h);n<h;++n)e=t[n],f[n]=s[e.source.index]/(s[e.source.index]+s[e.target.index]);a=new Array(h),i(),u=new Array(h),o()}}function i(){if(c)for(var n=0,e=t.length;n<e;++n)a[n]=+h(t[n],n,t)}function o(){if(c)for(var n=0,e=t.length;n<e;++n)u[n]=+p(t[n],n,t)}var a,u,c,s,f,l=ar,h=n,p=tv(30),d=1;return null==t&&(t=[]),e.initialize=function(t){c=t,r()},e.links=function(n){return arguments.length?(t=n,r(),e):t},e.id=function(t){return arguments.length?(l=t,e):l},e.iterations=function(t){return arguments.length?(d=+t,e):d},e.strength=function(t){return arguments.length?(h="function"==typeof t?t:tv(+t),i(),e):h},e.distance=function(t){return arguments.length?(p="function"==typeof t?t:tv(+t),o(),e):p},e},mv=10,bv=Math.PI*(3-Math.sqrt(5)),xv=function(t){function n(){e(),d.call("tick",o),a<u&&(h.stop(),d.call("end",o))}function e(){var n,e,r=t.length;for(a+=(s-a)*c,l.each(function(t){t(a)}),n=0;n<r;++n)e=t[n],null==e.fx?e.x+=e.vx*=f:(e.x=e.fx,e.vx=0),null==e.fy?e.y+=e.vy*=f:(e.y=e.fy,e.vy=0)}function r(){for(var n,e=0,r=t.length;e<r;++e){if(n=t[e],n.index=e,isNaN(n.x)||isNaN(n.y)){var i=mv*Math.sqrt(e),o=e*bv;n.x=i*Math.cos(o),n.y=i*Math.sin(o)}(isNaN(n.vx)||isNaN(n.vy))&&(n.vx=n.vy=0)}}function i(n){return n.initialize&&n.initialize(t), |
|
n}var o,a=1,u=.001,c=1-Math.pow(u,1/300),s=0,f=.6,l=De(),h=gn(n),d=p("tick","end");return null==t&&(t=[]),r(),o={tick:e,restart:function(){return h.restart(n),o},stop:function(){return h.stop(),o},nodes:function(n){return arguments.length?(t=n,r(),l.each(i),o):t},alpha:function(t){return arguments.length?(a=+t,o):a},alphaMin:function(t){return arguments.length?(u=+t,o):u},alphaDecay:function(t){return arguments.length?(c=+t,o):+c},alphaTarget:function(t){return arguments.length?(s=+t,o):s},velocityDecay:function(t){return arguments.length?(f=1-t,o):1-f},force:function(t,n){return arguments.length>1?(null==n?l.remove(t):l.set(t,i(n)),o):l.get(t)},find:function(n,e,r){var i,o,a,u,c,s=0,f=t.length;for(null==r?r=1/0:r*=r,s=0;s<f;++s)u=t[s],i=n-u.x,o=e-u.y,a=i*i+o*o,a<r&&(c=u,r=a);return c},on:function(t,n){return arguments.length>1?(d.on(t,n),o):d.on(t)}}},wv=function(){function t(t){var n,u=i.length,c=nr(i,cr,sr).visitAfter(e);for(a=t,n=0;n<u;++n)o=i[n],c.visit(r)}function n(){if(i){var t,n,e=i.length;for(u=new Array(e),t=0;t<e;++t)n=i[t],u[n.index]=+c(n,t,i)}}function e(t){var n,e,r,i,o,a=0;if(t.length){for(r=i=o=0;o<4;++o)(n=t[o])&&(e=n.value)&&(a+=e,r+=e*n.x,i+=e*n.y);t.x=r/a,t.y=i/a}else{n=t,n.x=n.data.x,n.y=n.data.y;do a+=u[n.data.index];while(n=n.next)}t.value=a}function r(t,n,e,r){if(!t.value)return!0;var i=t.x-o.x,c=t.y-o.y,h=r-n,p=i*i+c*c;if(h*h/l<p)return p<f&&(0===i&&(i=nv(),p+=i*i),0===c&&(c=nv(),p+=c*c),p<s&&(p=Math.sqrt(s*p)),o.vx+=i*t.value*a/p,o.vy+=c*t.value*a/p),!0;if(!(t.length||p>=f)){(t.data!==o||t.next)&&(0===i&&(i=nv(),p+=i*i),0===c&&(c=nv(),p+=c*c),p<s&&(p=Math.sqrt(s*p)));do t.data!==o&&(h=u[t.data.index]*a/p,o.vx+=i*h,o.vy+=c*h);while(t=t.next)}}var i,o,a,u,c=tv(-30),s=1,f=1/0,l=.81;return t.initialize=function(t){i=t,n()},t.strength=function(e){return arguments.length?(c="function"==typeof e?e:tv(+e),n(),t):c},t.distanceMin=function(n){return arguments.length?(s=n*n,t):Math.sqrt(s)},t.distanceMax=function(n){return arguments.length?(f=n*n,t):Math.sqrt(f)},t.theta=function(n){return arguments.length?(l=n*n,t):Math.sqrt(l)},t},Mv=function(t){function n(t){for(var n,e=0,a=r.length;e<a;++e)n=r[e],n.vx+=(o[e]-n.x)*i[e]*t}function e(){if(r){var n,e=r.length;for(i=new Array(e),o=new Array(e),n=0;n<e;++n)i[n]=isNaN(o[n]=+t(r[n],n,r))?0:+a(r[n],n,r)}}var r,i,o,a=tv(.1);return"function"!=typeof t&&(t=tv(null==t?0:+t)),n.initialize=function(t){r=t,e()},n.strength=function(t){return arguments.length?(a="function"==typeof t?t:tv(+t),e(),n):a},n.x=function(r){return arguments.length?(t="function"==typeof r?r:tv(+r),e(),n):t},n},kv=function(t){function n(t){for(var n,e=0,a=r.length;e<a;++e)n=r[e],n.vy+=(o[e]-n.y)*i[e]*t}function e(){if(r){var n,e=r.length;for(i=new Array(e),o=new Array(e),n=0;n<e;++n)i[n]=isNaN(o[n]=+t(r[n],n,r))?0:+a(r[n],n,r)}}var r,i,o,a=tv(.1);return"function"!=typeof t&&(t=tv(null==t?0:+t)),n.initialize=function(t){r=t,e()},n.strength=function(t){return arguments.length?(a="function"==typeof t?t:tv(+t),e(),n):a},n.y=function(r){return arguments.length?(t="function"==typeof r?r:tv(+r),e(),n):t},n},Av=function(t,n){if((e=(t=n?t.toExponential(n-1):t.toExponential()).indexOf("e"))<0)return null;var e,r=t.slice(0,e);return[r.length>1?r[0]+r.slice(2):r,+t.slice(e+1)]},Ev=function(t){return t=Av(Math.abs(t)),t?t[1]:NaN},Cv=function(t,n){return function(e,r){for(var i=e.length,o=[],a=0,u=t[0],c=0;i>0&&u>0&&(c+u+1>r&&(u=Math.max(1,r-c)),o.push(e.substring(i-=u,i+u)),!((c+=u+1)>r));)u=t[a=(a+1)%t.length];return o.reverse().join(n)}},Sv=function(t,n){t=t.toPrecision(n);t:for(var e,r=t.length,i=1,o=-1;i<r;++i)switch(t[i]){case".":o=e=i;break;case"0":0===o&&(o=i),e=i;break;case"e":break t;default:o>0&&(o=0)}return o>0?t.slice(0,o)+t.slice(e+1):t},Tv=function(t,n){var e=Av(t,n);if(!e)return t+"";var r=e[0],i=e[1],o=i-(gv=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,a=r.length;return o===a?r:o>a?r+new Array(o-a+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+Av(t,Math.max(0,n+o-1))[0]},Ov=function(t,n){var e=Av(t,n);if(!e)return t+"";var r=e[0],i=e[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")},Nv={"":Sv,"%":function(t,n){return(100*t).toFixed(n)},b:function(t){return Math.round(t).toString(2)},c:function(t){return t+""},d:function(t){return Math.round(t).toString(10)},e:function(t,n){return t.toExponential(n)},f:function(t,n){return t.toFixed(n)},g:function(t,n){return t.toPrecision(n)},o:function(t){return Math.round(t).toString(8)},p:function(t,n){return Ov(100*t,n)},r:Ov,s:Tv,X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}},jv=/^(?:(.)?([<>=^]))?([+\-\( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?([a-z%])?$/i,Pv=function(t){return new fr(t)};fr.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(null==this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(null==this.precision?"":"."+Math.max(0,0|this.precision))+this.type};var $v,Rv=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"],Lv=function(t){function n(t){function n(t){var n,i,c,_=d,m=v;if("c"===p)m=g(t)+m,t="";else{t=+t;var b=(t<0||1/t<0)&&(t*=-1,!0);if(t=g(t,h),b)for(n=-1,i=t.length,b=!1;++n<i;)if(c=t.charCodeAt(n),48<c&&c<58||"x"===p&&96<c&&c<103||"X"===p&&64<c&&c<71){b=!0;break}if(_=(b?"("===u?u:"-":"-"===u||"("===u?"":u)+_,m=m+("s"===p?Rv[8+gv/3]:"")+(b&&"("===u?")":""),y)for(n=-1,i=t.length;++n<i;)if(c=t.charCodeAt(n),48>c||c>57){m=(46===c?o+t.slice(n+1):t.slice(n))+m,t=t.slice(0,n);break}}l&&!s&&(t=r(t,1/0));var x=_.length+t.length+m.length,w=x<f?new Array(f-x+1).join(e):"";switch(l&&s&&(t=r(w+t,w.length?f-m.length:1/0),w=""),a){case"<":return _+t+m+w;case"=":return _+w+t+m;case"^":return w.slice(0,x=w.length>>1)+_+t+m+w.slice(x)}return w+_+t+m}t=Pv(t);var e=t.fill,a=t.align,u=t.sign,c=t.symbol,s=t.zero,f=t.width,l=t.comma,h=t.precision,p=t.type,d="$"===c?i[0]:"#"===c&&/[boxX]/.test(p)?"0"+p.toLowerCase():"",v="$"===c?i[1]:/[%p]/.test(p)?"%":"",g=Nv[p],y=!p||/[defgprs%]/.test(p);return h=null==h?p?6:12:/[gprs]/.test(p)?Math.max(1,Math.min(21,h)):Math.max(0,Math.min(20,h)),n.toString=function(){return t+""},n}function e(t,e){var r=n((t=Pv(t),t.type="f",t)),i=3*Math.max(-8,Math.min(8,Math.floor(Ev(e)/3))),o=Math.pow(10,-i),a=Rv[8+i/3];return function(t){return r(o*t)+a}}var r=t.grouping&&t.thousands?Cv(t.grouping,t.thousands):lr,i=t.currency,o=t.decimal;return{format:n,formatPrefix:e}};hr({decimal:".",thousands:",",grouping:[3],currency:["$",""]});var Iv=function(t){return Math.max(0,-Ev(Math.abs(t)))},zv=function(t,n){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Ev(n)/3)))-Ev(Math.abs(t)))},Uv=function(t,n){return t=Math.abs(t),n=Math.abs(n)-t,Math.max(0,Ev(n)-Ev(t))+1},Dv=function(){return new pr};pr.prototype={constructor:pr,reset:function(){this.s=this.t=0},add:function(t){dr(_g,t,this.t),dr(this,_g.s,this.s),this.s?this.t+=_g.t:this.s=_g.t},valueOf:function(){return this.s}};var qv,Fv,Bv,Hv,Wv,Yv,Vv,Xv,Gv,Jv,Kv,Zv,Qv,tg,ng,eg,rg,ig,og,ag,ug,cg,sg,fg,lg,hg,pg,dg,vg,gg,yg,_g=new pr,mg=1e-6,bg=1e-12,xg=Math.PI,wg=xg/2,Mg=xg/4,kg=2*xg,Ag=180/xg,Eg=xg/180,Cg=Math.abs,Sg=Math.atan,Tg=Math.atan2,Og=Math.cos,Ng=Math.ceil,jg=Math.exp,Pg=Math.log,$g=Math.pow,Rg=Math.sin,Lg=Math.sign||function(t){return t>0?1:t<0?-1:0},Ig=Math.sqrt,zg=Math.tan,Ug={Feature:function(t,n){mr(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,r=-1,i=e.length;++r<i;)mr(e[r].geometry,n)}},Dg={Sphere:function(t,n){n.sphere()},Point:function(t,n){t=t.coordinates,n.point(t[0],t[1],t[2])},MultiPoint:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)t=e[r],n.point(t[0],t[1],t[2])},LineString:function(t,n){br(t.coordinates,n,0)},MultiLineString:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)br(e[r],n,0)},Polygon:function(t,n){xr(t.coordinates,n)},MultiPolygon:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)xr(e[r],n)},GeometryCollection:function(t,n){for(var e=t.geometries,r=-1,i=e.length;++r<i;)mr(e[r],n)}},qg=function(t,n){t&&Ug.hasOwnProperty(t.type)?Ug[t.type](t,n):mr(t,n)},Fg=Dv(),Bg=Dv(),Hg={point:_r,lineStart:_r,lineEnd:_r,polygonStart:function(){Fg.reset(),Hg.lineStart=wr,Hg.lineEnd=Mr},polygonEnd:function(){var t=+Fg;Bg.add(t<0?kg+t:t),this.lineStart=this.lineEnd=this.point=_r},sphere:function(){Bg.add(kg)}},Wg=function(t){return Bg.reset(),qg(t,Hg),2*Bg},Yg=Dv(),Vg={point:Pr,lineStart:Rr,lineEnd:Lr,polygonStart:function(){Vg.point=Ir,Vg.lineStart=zr,Vg.lineEnd=Ur,Yg.reset(),Hg.polygonStart()},polygonEnd:function(){Hg.polygonEnd(),Vg.point=Pr,Vg.lineStart=Rr,Vg.lineEnd=Lr,Fg<0?(Yv=-(Xv=180),Vv=-(Gv=90)):Yg>mg?Gv=90:Yg<-mg&&(Vv=-90),ng[0]=Yv,ng[1]=Xv}},Xg=function(t){var n,e,r,i,o,a,u;if(Gv=Xv=-(Yv=Vv=1/0),tg=[],qg(t,Vg),e=tg.length){for(tg.sort(qr),n=1,r=tg[0],o=[r];n<e;++n)i=tg[n],Fr(r,i[0])||Fr(r,i[1])?(Dr(r[0],i[1])>Dr(r[0],r[1])&&(r[1]=i[1]),Dr(i[0],r[1])>Dr(r[0],r[1])&&(r[0]=i[0])):o.push(r=i);for(a=-(1/0),e=o.length-1,n=0,r=o[e];n<=e;r=i,++n)i=o[n],(u=Dr(r[1],i[0]))>a&&(a=u,Yv=i[0],Xv=r[1])}return tg=ng=null,Yv===1/0||Vv===1/0?[[NaN,NaN],[NaN,NaN]]:[[Yv,Vv],[Xv,Gv]]},Gg={sphere:_r,point:Br,lineStart:Wr,lineEnd:Xr,polygonStart:function(){Gg.lineStart=Gr,Gg.lineEnd=Jr},polygonEnd:function(){Gg.lineStart=Wr,Gg.lineEnd=Xr}},Jg=function(t){eg=rg=ig=og=ag=ug=cg=sg=fg=lg=hg=0,qg(t,Gg);var n=fg,e=lg,r=hg,i=n*n+e*e+r*r;return i<bg&&(n=ug,e=cg,r=sg,rg<mg&&(n=ig,e=og,r=ag),i=n*n+e*e+r*r,i<bg)?[NaN,NaN]:[Tg(e,n)*Ag,gr(r/Ig(i))*Ag]},Kg=function(t){return function(){return t}},Zg=function(t,n){function e(e,r){return e=t(e,r),n(e[0],e[1])}return t.invert&&n.invert&&(e.invert=function(e,r){return e=n.invert(e,r),e&&t.invert(e[0],e[1])}),e};Qr.invert=Qr;var Qg,ty,ny,ey,ry,iy,oy,ay,uy,cy,sy,fy=function(t){function n(n){return n=t(n[0]*Eg,n[1]*Eg),n[0]*=Ag,n[1]*=Ag,n}return t=ti(t[0]*Eg,t[1]*Eg,t.length>2?t[2]*Eg:0),n.invert=function(n){return n=t.invert(n[0]*Eg,n[1]*Eg),n[0]*=Ag,n[1]*=Ag,n},n},ly=function(){function t(t,n){e.push(t=r(t,n)),t[0]*=Ag,t[1]*=Ag}function n(){var t=i.apply(this,arguments),n=o.apply(this,arguments)*Eg,c=a.apply(this,arguments)*Eg;return e=[],r=ti(-t[0]*Eg,-t[1]*Eg,0).invert,ii(u,n,c,1),t={type:"Polygon",coordinates:[e]},e=r=null,t}var e,r,i=Kg([0,0]),o=Kg(90),a=Kg(6),u={point:t};return n.center=function(t){return arguments.length?(i="function"==typeof t?t:Kg([+t[0],+t[1]]),n):i},n.radius=function(t){return arguments.length?(o="function"==typeof t?t:Kg(+t),n):o},n.precision=function(t){return arguments.length?(a="function"==typeof t?t:Kg(+t),n):a},n},hy=function(){var t,n=[];return{point:function(n,e){t.push([n,e])},lineStart:function(){n.push(t=[])},lineEnd:_r,rejoin:function(){n.length>1&&n.push(n.pop().concat(n.shift()))},result:function(){var e=n;return n=[],t=null,e}}},py=function(t,n,e,r,i,o){var a,u=t[0],c=t[1],s=n[0],f=n[1],l=0,h=1,p=s-u,d=f-c;if(a=e-u,p||!(a>0)){if(a/=p,p<0){if(a<l)return;a<h&&(h=a)}else if(p>0){if(a>h)return;a>l&&(l=a)}if(a=i-u,p||!(a<0)){if(a/=p,p<0){if(a>h)return;a>l&&(l=a)}else if(p>0){if(a<l)return;a<h&&(h=a)}if(a=r-c,d||!(a>0)){if(a/=d,d<0){if(a<l)return;a<h&&(h=a)}else if(d>0){if(a>h)return;a>l&&(l=a)}if(a=o-c,d||!(a<0)){if(a/=d,d<0){if(a>h)return;a>l&&(l=a)}else if(d>0){if(a<l)return;a<h&&(h=a)}return l>0&&(t[0]=u+l*p,t[1]=c+l*d),h<1&&(n[0]=u+h*p,n[1]=c+h*d),!0}}}}},dy=function(t,n){return Cg(t[0]-n[0])<mg&&Cg(t[1]-n[1])<mg},vy=function(t,n,e,r,i){var o,a,u=[],c=[];if(t.forEach(function(t){if(!((n=t.length-1)<=0)){var n,e,r=t[0],a=t[n];if(dy(r,a)){for(i.lineStart(),o=0;o<n;++o)i.point((r=t[o])[0],r[1]);return void i.lineEnd()}u.push(e=new ai(r,t,null,!0)),c.push(e.o=new ai(r,null,e,!1)),u.push(e=new ai(a,t,null,!1)),c.push(e.o=new ai(a,null,e,!0))}}),u.length){for(c.sort(n),ui(u),ui(c),o=0,a=c.length;o<a;++o)c[o].e=e=!e;for(var s,f,l=u[0];;){for(var h=l,p=!0;h.v;)if((h=h.n)===l)return;s=h.z,i.lineStart();do{if(h.v=h.o.v=!0,h.e){if(p)for(o=0,a=s.length;o<a;++o)i.point((f=s[o])[0],f[1]);else r(h.x,h.n.x,1,i);h=h.n}else{if(p)for(s=h.p.z,o=s.length-1;o>=0;--o)i.point((f=s[o])[0],f[1]);else r(h.x,h.p.x,-1,i);h=h.p}h=h.o,s=h.z,p=!p}while(!h.v);i.lineEnd()}}},gy=1e9,yy=-gy,_y=function(){var t,n,e,r=0,i=0,o=960,a=500;return e={stream:function(e){return t&&n===e?t:t=ci(r,i,o,a)(n=e)},extent:function(u){return arguments.length?(r=+u[0][0],i=+u[0][1],o=+u[1][0],a=+u[1][1],t=n=null,e):[[r,i],[o,a]]}}},my=Dv(),by={sphere:_r,point:_r,lineStart:si,lineEnd:_r,polygonStart:_r,polygonEnd:_r},xy=function(t){return my.reset(),qg(t,by),+my},wy=[null,null],My={type:"LineString",coordinates:wy},ky=function(t,n){return wy[0]=t,wy[1]=n,xy(My)},Ay=function(t,n){var e=t[0]*Eg,r=t[1]*Eg,i=n[0]*Eg,o=n[1]*Eg,a=Og(r),u=Rg(r),c=Og(o),s=Rg(o),f=a*Og(e),l=a*Rg(e),h=c*Og(i),p=c*Rg(i),d=2*gr(Ig(yr(o-r)+a*c*yr(i-e))),v=Rg(d),g=d?function(t){var n=Rg(t*=d)/v,e=Rg(d-t)/v,r=e*f+n*h,i=e*l+n*p,o=e*u+n*s;return[Tg(i,r)*Ag,Tg(o,Ig(r*r+i*i))*Ag]}:function(){return[e*Ag,r*Ag]};return g.distance=d,g},Ey=function(t){return t},Cy=Dv(),Sy=Dv(),Ty={point:_r,lineStart:_r,lineEnd:_r,polygonStart:function(){Ty.lineStart=yi,Ty.lineEnd=bi},polygonEnd:function(){Ty.lineStart=Ty.lineEnd=Ty.point=_r,Cy.add(Cg(Sy)),Sy.reset()},result:function(){var t=Cy/2;return Cy.reset(),t}},Oy=1/0,Ny=Oy,jy=-Oy,Py=jy,$y={point:xi,lineStart:_r,lineEnd:_r,polygonStart:_r,polygonEnd:_r,result:function(){var t=[[Oy,Ny],[jy,Py]];return jy=Py=-(Ny=Oy=1/0),t}},Ry=0,Ly=0,Iy=0,zy=0,Uy=0,Dy=0,qy=0,Fy=0,By=0,Hy={point:wi,lineStart:Mi,lineEnd:Ei,polygonStart:function(){Hy.lineStart=Ci,Hy.lineEnd=Si},polygonEnd:function(){Hy.point=wi,Hy.lineStart=Mi,Hy.lineEnd=Ei},result:function(){var t=By?[qy/By,Fy/By]:Dy?[zy/Dy,Uy/Dy]:Iy?[Ry/Iy,Ly/Iy]:[NaN,NaN];return Ry=Ly=Iy=zy=Uy=Dy=qy=Fy=By=0,t}};Ni.prototype={_radius:4.5,pointRadius:function(t){return this._radius=t,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(t,n){switch(this._point){case 0:this._context.moveTo(t,n),this._point=1;break;case 1:this._context.lineTo(t,n);break;default:this._context.moveTo(t+this._radius,n),this._context.arc(t,n,this._radius,0,kg)}},result:_r};var Wy,Yy,Vy,Xy,Gy,Jy=Dv(),Ky={point:_r,lineStart:function(){Ky.point=ji},lineEnd:function(){Wy&&Pi(Yy,Vy),Ky.point=_r},polygonStart:function(){Wy=!0},polygonEnd:function(){Wy=null},result:function(){var t=+Jy;return Jy.reset(),t}};$i.prototype={_circle:Ri(4.5),pointRadius:function(t){return this._circle=Ri(t),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(t,n){switch(this._point){case 0:this._string.push("M",t,",",n),this._point=1;break;case 1:this._string.push("L",t,",",n);break;default:this._string.push("M",t,",",n,this._circle)}},result:function(){if(this._string.length){var t=this._string.join("");return this._string=[],t}}};var Zy=function(t,n){function e(t){return t&&("function"==typeof o&&i.pointRadius(+o.apply(this,arguments)),qg(t,r(i))),i.result()}var r,i,o=4.5;return e.area=function(t){return qg(t,r(Ty)),Ty.result()},e.measure=function(t){return qg(t,r(Ky)),Ky.result()},e.bounds=function(t){return qg(t,r($y)),$y.result()},e.centroid=function(t){return qg(t,r(Hy)),Hy.result()},e.projection=function(n){return arguments.length?(r=null==n?(t=null,Ey):(t=n).stream,e):t},e.context=function(t){return arguments.length?(i=null==t?(n=null,new $i):new Ni(n=t),"function"!=typeof o&&i.pointRadius(o),e):n},e.pointRadius=function(t){return arguments.length?(o="function"==typeof t?t:(i.pointRadius(+t),+t),e):o},e.projection(t).context(n)},Qy=Dv(),t_=function(t,n){var e=n[0],r=n[1],i=[Rg(e),-Og(e),0],o=0,a=0;Qy.reset();for(var u=0,c=t.length;u<c;++u)if(f=(s=t[u]).length)for(var s,f,l=s[f-1],h=l[0],p=l[1]/2+Mg,d=Rg(p),v=Og(p),g=0;g<f;++g,h=_,d=b,v=x,l=y){var y=s[g],_=y[0],m=y[1]/2+Mg,b=Rg(m),x=Og(m),w=_-h,M=w>=0?1:-1,k=M*w,A=k>xg,E=d*b;if(Qy.add(Tg(E*M*Rg(k),v*x+E*Og(k))),o+=A?w+M*kg:w,A^h>=e^_>=e){var C=Tr(Cr(l),Cr(y));jr(C);var S=Tr(i,C);jr(S);var T=(A^w>=0?-1:1)*gr(S[2]);(r>T||r===T&&(C[0]||C[1]))&&(a+=A^w>=0?1:-1)}}return(o<-mg||o<mg&&Qy<-mg)^1&a},n_=function(t,n,e,r){return function(i,o){function a(n,e){var r=i(n,e);t(n=r[0],e=r[1])&&o.point(n,e)}function u(t,n){var e=i(t,n);g.point(e[0],e[1])}function c(){x.point=u,g.lineStart()}function s(){x.point=a,g.lineEnd()}function f(t,n){v.push([t,n]);var e=i(t,n);m.point(e[0],e[1])}function l(){m.lineStart(),v=[]}function h(){f(v[0][0],v[0][1]),m.lineEnd();var t,n,e,r,i=m.clean(),a=_.result(),u=a.length;if(v.pop(),p.push(v),v=null,u)if(1&i){if(e=a[0],(n=e.length-1)>0){for(b||(o.polygonStart(),b=!0),o.lineStart(),t=0;t<n;++t)o.point((r=e[t])[0],r[1]);o.lineEnd()}}else u>1&&2&i&&a.push(a.pop().concat(a.shift())),d.push(a.filter(Li))}var p,d,v,g=n(o),y=i.invert(r[0],r[1]),_=hy(),m=n(_),b=!1,x={point:a,lineStart:c,lineEnd:s,polygonStart:function(){x.point=f,x.lineStart=l,x.lineEnd=h,d=[],p=[]},polygonEnd:function(){x.point=a,x.lineStart=c,x.lineEnd=s,d=nf(d);var t=t_(p,y);d.length?(b||(o.polygonStart(),b=!0),vy(d,Ii,t,e,o)):t&&(b||(o.polygonStart(),b=!0),o.lineStart(),e(null,null,1,o),o.lineEnd()),b&&(o.polygonEnd(),b=!1),d=p=null},sphere:function(){o.polygonStart(),o.lineStart(),e(null,null,1,o),o.lineEnd(),o.polygonEnd()}};return x}},e_=n_(function(){return!0},zi,Di,[-xg,-wg]),r_=function(t,n){function e(e,r,i,o){ii(o,t,n,i,e,r)}function r(t,n){return Og(t)*Og(n)>u}function i(t){var n,e,i,u,f;return{lineStart:function(){u=i=!1,f=1},point:function(l,h){var p,d=[l,h],v=r(l,h),g=c?v?0:a(l,h):v?a(l+(l<0?xg:-xg),h):0;if(!n&&(u=i=v)&&t.lineStart(),v!==i&&(p=o(n,d),(dy(n,p)||dy(d,p))&&(d[0]+=mg,d[1]+=mg,v=r(d[0],d[1]))),v!==i)f=0,v?(t.lineStart(),p=o(d,n),t.point(p[0],p[1])):(p=o(n,d),t.point(p[0],p[1]),t.lineEnd()),n=p;else if(s&&n&&c^v){var y;g&e||!(y=o(d,n,!0))||(f=0,c?(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&&dy(n,d)||t.point(d[0],d[1]),n=d,i=v,e=g},lineEnd:function(){i&&t.lineEnd(),n=null},clean:function(){return f|(u&&i)<<1}}}function o(t,n,e){var r=Cr(t),i=Cr(n),o=[1,0,0],a=Tr(r,i),c=Sr(a,a),s=a[0],f=c-s*s;if(!f)return!e&&t;var l=u*c/f,h=-u*s/f,p=Tr(o,a),d=Nr(o,l),v=Nr(a,h);Or(d,v);var g=p,y=Sr(d,g),_=Sr(g,g),m=y*y-_*(Sr(d,d)-1);if(!(m<0)){var b=Ig(m),x=Nr(g,(-y-b)/_);if(Or(x,d),x=Er(x),!e)return x;var w,M=t[0],k=n[0],A=t[1],E=n[1];k<M&&(w=M,M=k,k=w);var C=k-M,S=Cg(C-xg)<mg,T=S||C<mg;if(!S&&E<A&&(w=A,A=E,E=w),T?S?A+E>0^x[1]<(Cg(x[0]-M)<mg?A:E):A<=x[1]&&x[1]<=E:C>xg^(M<=x[0]&&x[0]<=k)){var O=Nr(g,(-y+b)/_);return Or(O,d),[x,Er(O)]}}}function a(n,e){var r=c?t:xg-t,i=0;return n<-r?i|=1:n>r&&(i|=2),e<-r?i|=4:e>r&&(i|=8),i}var u=Og(t),c=u>0,s=Cg(u)>mg;return n_(r,i,e,c?[0,-t]:[-xg,t-xg])},i_=function(t){return{stream:qi(t)}};Fi.prototype={constructor:Fi,point:function(t,n){this.stream.point(t,n)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var o_=16,a_=Og(30*Eg),u_=function(t,n){return+n?Yi(t,n):Wi(t)},c_=qi({point:function(t,n){this.stream.point(t*Eg,n*Eg)}}),s_=function(){return Gi(Ki).scale(155.424).center([0,33.6442])},f_=function(){return s_().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])},l_=function(){function t(t){var n=t[0],e=t[1];return u=null,i.point(n,e),u||(o.point(n,e),u)||(a.point(n,e),u)}function n(){return e=r=null,t}var e,r,i,o,a,u,c=f_(),s=s_().rotate([154,0]).center([-2,58.5]).parallels([55,65]),f=s_().rotate([157,0]).center([-3,19.9]).parallels([8,18]),l={point:function(t,n){u=[t,n]}};return t.invert=function(t){var n=c.scale(),e=c.translate(),r=(t[0]-e[0])/n,i=(t[1]-e[1])/n;return(i>=.12&&i<.234&&r>=-.425&&r<-.214?s:i>=.166&&i<.234&&r>=-.214&&r<-.115?f:c).invert(t)},t.stream=function(t){return e&&r===t?e:e=Zi([c.stream(r=t),s.stream(t),f.stream(t)])},t.precision=function(t){return arguments.length?(c.precision(t),s.precision(t),f.precision(t),n()):c.precision()},t.scale=function(n){return arguments.length?(c.scale(n),s.scale(.35*n),f.scale(n),t.translate(c.translate())):c.scale()},t.translate=function(t){if(!arguments.length)return c.translate();var e=c.scale(),r=+t[0],u=+t[1];return i=c.translate(t).clipExtent([[r-.455*e,u-.238*e],[r+.455*e,u+.238*e]]).stream(l),o=s.translate([r-.307*e,u+.201*e]).clipExtent([[r-.425*e+mg,u+.12*e+mg],[r-.214*e-mg,u+.234*e-mg]]).stream(l),a=f.translate([r-.205*e,u+.212*e]).clipExtent([[r-.214*e+mg,u+.166*e+mg],[r-.115*e-mg,u+.234*e-mg]]).stream(l),n()},t.fitExtent=function(n,e){return Bi(t,n,e)},t.fitSize=function(n,e){return Hi(t,n,e)},t.scale(1070)},h_=Qi(function(t){return Ig(2/(1+t))});h_.invert=to(function(t){return 2*gr(t/2)});var p_=function(){return Vi(h_).scale(124.75).clipAngle(179.999)},d_=Qi(function(t){return(t=vr(t))&&t/Rg(t)});d_.invert=to(function(t){return t});var v_=function(){return Vi(d_).scale(79.4188).clipAngle(179.999)};no.invert=function(t,n){return[t,2*Sg(jg(n))-wg]};var g_=function(){return eo(no).scale(961/kg)},y_=function(){return Gi(io).scale(109.5).parallels([30,30])};oo.invert=oo;var __=function(){return Vi(oo).scale(152.63)},m_=function(){return Gi(ao).scale(131.154).center([0,13.9389])};uo.invert=to(Sg);var b_=function(){return Vi(uo).scale(144.049).clipAngle(60)},x_=function(){function t(){return i=o=null,a}var n,e,r,i,o,a,u=1,c=0,s=0,f=1,l=1,h=Ey,p=null,d=Ey;return a={stream:function(t){return i&&o===t?i:i=h(d(o=t))},clipExtent:function(i){return arguments.length?(d=null==i?(p=n=e=r=null,Ey):ci(p=+i[0][0],n=+i[0][1],e=+i[1][0],r=+i[1][1]),t()):null==p?null:[[p,n],[e,r]]},scale:function(n){return arguments.length?(h=co((u=+n)*f,u*l,c,s),t()):u},translate:function(n){return arguments.length?(h=co(u*f,u*l,c=+n[0],s=+n[1]),t()):[c,s]},reflectX:function(n){return arguments.length?(h=co(u*(f=n?-1:1),u*l,c,s),t()):f<0},reflectY:function(n){return arguments.length?(h=co(u*f,u*(l=n?-1:1),c,s),t()):l<0},fitExtent:function(t,n){return Bi(a,t,n)},fitSize:function(t,n){return Hi(a,t,n)}}};so.invert=to(gr);var w_=function(){return Vi(so).scale(249.5).clipAngle(90+mg)};fo.invert=to(function(t){return 2*Sg(t)});var M_=function(){return Vi(fo).scale(250).clipAngle(142)};lo.invert=function(t,n){return[-n,2*Sg(jg(t))-wg]};var k_=function(){var t=eo(lo),n=t.center,e=t.rotate;return t.center=function(t){return arguments.length?n([-t[1],t[0]]):(t=n(),[t[1],-t[0]])},t.rotate=function(t){return arguments.length?e([t[0],t[1],t.length>2?t[2]+90:90]):(t=e(),[t[0],t[1],t[2]-90])},e([0,0,90]).scale(159.155)},A_=function(){function t(t){var o,a=0;t.eachAfter(function(t){var e=t.children;e?(t.x=po(e),t.y=go(e)):(t.x=o?a+=n(t,o):0,t.y=0,o=t)});var u=_o(t),c=mo(t),s=u.x-n(u,c)/2,f=c.x+n(c,u)/2;return t.eachAfter(i?function(n){n.x=(n.x-t.x)*e,n.y=(t.y-n.y)*r}:function(n){n.x=(n.x-s)/(f-s)*e,n.y=(1-(t.y?n.y/t.y:1))*r})}var n=ho,e=1,r=1,i=!1;return t.separation=function(e){return arguments.length?(n=e,t):n},t.size=function(n){return arguments.length?(i=!1,e=+n[0],r=+n[1],t):i?null:[e,r]},t.nodeSize=function(n){return arguments.length?(i=!0,e=+n[0],r=+n[1],t):i?[e,r]:null},t},E_=function(){return this.eachAfter(bo)},C_=function(t){var n,e,r,i,o=this,a=[o];do for(n=a.reverse(),a=[];o=n.pop();)if(t(o),e=o.children)for(r=0,i=e.length;r<i;++r)a.push(e[r]);while(a.length);return this},S_=function(t){for(var n,e,r=this,i=[r];r=i.pop();)if(t(r),n=r.children)for(e=n.length-1;e>=0;--e)i.push(n[e]);return this},T_=function(t){for(var n,e,r,i=this,o=[i],a=[];i=o.pop();)if(a.push(i),n=i.children)for(e=0,r=n.length;e<r;++e)o.push(n[e]);for(;i=a.pop();)t(i);return this},O_=function(t){return this.eachAfter(function(n){for(var e=+t(n.data)||0,r=n.children,i=r&&r.length;--i>=0;)e+=r[i].value;n.value=e})},N_=function(t){return this.eachBefore(function(n){n.children&&n.children.sort(t)})},j_=function(t){for(var n=this,e=xo(n,t),r=[n];n!==e;)n=n.parent,r.push(n);for(var i=r.length;t!==e;)r.splice(i,0,t),t=t.parent;return r},P_=function(){for(var t=this,n=[t];t=t.parent;)n.push(t);return n},$_=function(){var t=[];return this.each(function(n){t.push(n)}),t},R_=function(){var t=[];return this.eachBefore(function(n){n.children||t.push(n)}),t},L_=function(){var t=this,n=[];return t.each(function(e){e!==t&&n.push({source:e.parent,target:e})}),n};Co.prototype=wo.prototype={constructor:Co,count:E_,each:C_,eachAfter:T_,eachBefore:S_,sum:O_,sort:N_,path:j_,ancestors:P_,descendants:$_,leaves:R_,links:L_,copy:Mo};var I_=function(t){for(var n,e=(t=t.slice()).length,r=null,i=r;e;){var o=new So(t[e-1]);i=i?i.next=o:r=o,t[n]=t[--e]}return{head:r,tail:i}},z_=function(t){return Oo(I_(t),[])},U_=function(t){return Uo(t),t},D_=function(t){return function(){return t}},q_=function(){function t(t){return t.x=e/2,t.y=r/2,n?t.eachBefore(Ho(n)).eachAfter(Wo(i,.5)).eachBefore(Yo(1)):t.eachBefore(Ho(Bo)).eachAfter(Wo(Fo,1)).eachAfter(Wo(i,t.r/Math.min(e,r))).eachBefore(Yo(Math.min(e,r)/(2*t.r))),t}var n=null,e=1,r=1,i=Fo;return t.radius=function(e){return arguments.length?(n=Do(e),t):n},t.size=function(n){return arguments.length?(e=+n[0],r=+n[1],t):[e,r]},t.padding=function(n){return arguments.length?(i="function"==typeof n?n:D_(+n),t):i},t},F_=function(t){t.x0=Math.round(t.x0),t.y0=Math.round(t.y0),t.x1=Math.round(t.x1),t.y1=Math.round(t.y1)},B_=function(t,n,e,r,i){for(var o,a=t.children,u=-1,c=a.length,s=t.value&&(r-n)/t.value;++u<c;)o=a[u],o.y0=e,o.y1=i,o.x0=n,o.x1=n+=o.value*s},H_=function(){function t(t){var a=t.height+1;return t.x0=t.y0=i,t.x1=e,t.y1=r/a,t.eachBefore(n(r,a)),o&&t.eachBefore(F_),t}function n(t,n){return function(e){e.children&&B_(e,e.x0,t*(e.depth+1)/n,e.x1,t*(e.depth+2)/n);var r=e.x0,o=e.y0,a=e.x1-i,u=e.y1-i;a<r&&(r=a=(r+a)/2),u<o&&(o=u=(o+u)/2),e.x0=r,e.y0=o,e.x1=a,e.y1=u}}var e=1,r=1,i=0,o=!1;return t.round=function(n){return arguments.length?(o=!!n,t):o},t.size=function(n){return arguments.length?(e=+n[0],r=+n[1],t):[e,r]},t.padding=function(n){return arguments.length?(i=+n,t):i},t},W_="$",Y_={depth:-1},V_={},X_=function(){function t(t){var r,i,o,a,u,c,s,f=t.length,l=new Array(f),h={};for(i=0;i<f;++i)r=t[i],u=l[i]=new Co(r),null!=(c=n(r,i,t))&&(c+="")&&(s=W_+(u.id=c),h[s]=s in h?V_:u);for(i=0;i<f;++i)if(u=l[i],c=e(t[i],i,t),null!=c&&(c+="")){if(a=h[W_+c],!a)throw new Error("missing: "+c);if(a===V_)throw new Error("ambiguous: "+c);a.children?a.children.push(u):a.children=[u],u.parent=a}else{if(o)throw new Error("multiple roots");o=u}if(!o)throw new Error("no root");if(o.parent=Y_,o.eachBefore(function(t){t.depth=t.parent.depth+1,--f}).eachBefore(Eo),o.parent=null,f>0)throw new Error("cycle");return o}var n=Vo,e=Xo;return t.id=function(e){return arguments.length?(n=qo(e),t):n},t.parentId=function(n){return arguments.length?(e=qo(n),t):e},t};na.prototype=Object.create(Co.prototype);var G_=function(){function t(t){var r=ea(t);if(r.eachAfter(n),r.parent.m=-r.z,r.eachBefore(e),c)t.eachBefore(i);else{var s=t,f=t,l=t;t.eachBefore(function(t){t.x<s.x&&(s=t),t.x>f.x&&(f=t),t.depth>l.depth&&(l=t)});var h=s===f?1:o(s,f)/2,p=h-s.x,d=a/(f.x+h+p),v=u/(l.depth||1);t.eachBefore(function(t){t.x=(t.x+p)*d,t.y=t.depth*v})}return t}function n(t){var n=t.children,e=t.parent.children,i=t.i?e[t.i-1]:null;if(n){Qo(t);var a=(n[0].z+n[n.length-1].z)/2;i?(t.z=i.z+o(t._,i._),t.m=t.z-a):t.z=a}else i&&(t.z=i.z+o(t._,i._));t.parent.A=r(t,i,t.parent.A||e[0])}function e(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function r(t,n,e){if(n){for(var r,i=t,a=t,u=n,c=i.parent.children[0],s=i.m,f=a.m,l=u.m,h=c.m;u=Ko(u),i=Jo(i),u&&i;)c=Jo(c),a=Ko(a),a.a=t,r=u.z+l-i.z-s+o(u._,i._),r>0&&(Zo(ta(u,t,e),t,r),s+=r,f+=r),l+=u.m,s+=i.m,h+=c.m,f+=a.m;u&&!Ko(a)&&(a.t=u,a.m+=l-f),i&&!Jo(c)&&(c.t=i,c.m+=s-h,e=t)}return e}function i(t){t.x*=a,t.y=t.depth*u}var o=Go,a=1,u=1,c=null;return t.separation=function(n){return arguments.length?(o=n,t):o},t.size=function(n){return arguments.length?(c=!1,a=+n[0],u=+n[1],t):c?null:[a,u]},t.nodeSize=function(n){return arguments.length?(c=!0,a=+n[0],u=+n[1],t):c?[a,u]:null},t},J_=function(t,n,e,r,i){for(var o,a=t.children,u=-1,c=a.length,s=t.value&&(i-e)/t.value;++u<c;)o=a[u],o.x0=n,o.x1=r,o.y0=e,o.y1=e+=o.value*s},K_=(1+Math.sqrt(5))/2,Z_=function t(n){function e(t,e,r,i,o){ra(n,t,e,r,i,o)}return e.ratio=function(n){return t((n=+n)>1?n:1)},e}(K_),Q_=function(){function t(t){return t.x0=t.y0=0,t.x1=i,t.y1=o,t.eachBefore(n),a=[0],r&&t.eachBefore(F_),t}function n(t){var n=a[t.depth],r=t.x0+n,i=t.y0+n,o=t.x1-n,h=t.y1-n;o<r&&(r=o=(r+o)/2),h<i&&(i=h=(i+h)/2),t.x0=r,t.y0=i,t.x1=o,t.y1=h,t.children&&(n=a[t.depth+1]=u(t)/2,r+=l(t)-n,i+=c(t)-n,o-=s(t)-n,h-=f(t)-n,o<r&&(r=o=(r+o)/2),h<i&&(i=h=(i+h)/2),e(t,r,i,o,h))}var e=Z_,r=!1,i=1,o=1,a=[0],u=Fo,c=Fo,s=Fo,f=Fo,l=Fo;return t.round=function(n){return arguments.length?(r=!!n,t):r},t.size=function(n){return arguments.length?(i=+n[0],o=+n[1],t):[i,o]},t.tile=function(n){return arguments.length?(e=qo(n),t):e},t.padding=function(n){return arguments.length?t.paddingInner(n).paddingOuter(n):t.paddingInner()},t.paddingInner=function(n){return arguments.length?(u="function"==typeof n?n:D_(+n),t):u},t.paddingOuter=function(n){return arguments.length?t.paddingTop(n).paddingRight(n).paddingBottom(n).paddingLeft(n):t.paddingTop()},t.paddingTop=function(n){return arguments.length?(c="function"==typeof n?n:D_(+n),t):c},t.paddingRight=function(n){return arguments.length?(s="function"==typeof n?n:D_(+n),t):s},t.paddingBottom=function(n){return arguments.length?(f="function"==typeof n?n:D_(+n),t):f},t.paddingLeft=function(n){return arguments.length?(l="function"==typeof n?n:D_(+n),t):l},t},tm=function(t,n,e,r,i){function o(t,n,e,r,i,a,u){if(t>=n-1){var s=c[t];return s.x0=r,s.y0=i,s.x1=a,s.y1=u,void 0}for(var l=f[t],h=e/2+l,p=t+1,d=n-1;p<d;){var v=p+d>>>1;f[v]<h?p=v+1:d=v}var g=f[p]-l,y=e-g;if(u-i>a-r){var _=(i*y+u*g)/e;o(t,p,g,r,i,a,_),o(p,n,y,r,_,a,u)}else{var m=(r*y+a*g)/e;o(t,p,g,r,i,m,u),o(p,n,y,m,i,a,u)}}var a,u,c=t.children,s=c.length,f=new Array(s+1);for(f[0]=u=a=0;a<s;++a)f[a+1]=u+=c[a].value;o(0,s,t.value,n,e,r,i)},nm=function(t,n,e,r,i){(1&t.depth?J_:B_)(t,n,e,r,i)},em=function t(n){function e(t,e,r,i,o){if((a=t._squarify)&&a.ratio===n)for(var a,u,c,s,f,l=-1,h=a.length,p=t.value;++l<h;){for(u=a[l],c=u.children,s=u.value=0,f=c.length;s<f;++s)u.value+=c[s].value;u.dice?B_(u,e,r,i,r+=(o-r)*u.value/p):J_(u,e,r,e+=(i-e)*u.value/p,o),p-=u.value}else t._squarify=a=ra(n,t,e,r,i,o),a.ratio=n}return e.ratio=function(n){return t((n=+n)>1?n:1)},e}(K_),rm=function(t){for(var n,e=-1,r=t.length,i=t[r-1],o=0;++e<r;)n=i,i=t[e],o+=n[1]*i[0]-n[0]*i[1];return o/2},im=function(t){for(var n,e,r=-1,i=t.length,o=0,a=0,u=t[i-1],c=0;++r<i;)n=u,u=t[r],c+=e=n[0]*u[1]-u[0]*n[1],o+=(n[0]+u[0])*e,a+=(n[1]+u[1])*e;return c*=3,[o/c,a/c]},om=function(t,n,e){return(n[0]-t[0])*(e[1]-t[1])-(n[1]-t[1])*(e[0]-t[0])},am=function(t){if((e=t.length)<3)return null;var n,e,r=new Array(e),i=new Array(e);for(n=0;n<e;++n)r[n]=[+t[n][0],+t[n][1],n];for(r.sort(ia),n=0;n<e;++n)i[n]=[r[n][0],-r[n][1]];var o=oa(r),a=oa(i),u=a[0]===o[0],c=a[a.length-1]===o[o.length-1],s=[];for(n=o.length-1;n>=0;--n)s.push(t[r[o[n]][2]]);for(n=+u;n<a.length-c;++n)s.push(t[r[a[n]][2]]);return s},um=function(t,n){for(var e,r,i=t.length,o=t[i-1],a=n[0],u=n[1],c=o[0],s=o[1],f=!1,l=0;l<i;++l)o=t[l],e=o[0],r=o[1],r>u!=s>u&&a<(c-e)*(u-r)/(s-r)+e&&(f=!f),c=e,s=r;return f},cm=function(t){for(var n,e,r=-1,i=t.length,o=t[i-1],a=o[0],u=o[1],c=0;++r<i;)n=a,e=u,o=t[r],a=o[0],u=o[1],n-=a,e-=u,c+=Math.sqrt(n*n+e*e);return c},sm=[].slice,fm={};aa.prototype=ha.prototype={constructor:aa,defer:function(t){if("function"!=typeof t||this._call)throw new Error;if(null!=this._error)return this;var n=sm.call(arguments,1);return n.push(t),++this._waiting,this._tasks.push(n),ua(this),this},abort:function(){return null==this._error&&fa(this,new Error("abort")), |
|
this},await:function(t){if("function"!=typeof t||this._call)throw new Error;return this._call=function(n,e){t.apply(null,[n].concat(e))},la(this),this},awaitAll:function(t){if("function"!=typeof t||this._call)throw new Error;return this._call=t,la(this),this}};var lm=function(t,n){return t=null==t?0:+t,n=null==n?1:+n,1===arguments.length?(n=t,t=0):n-=t,function(){return Math.random()*n+t}},hm=function(t,n){var e,r;return t=null==t?0:+t,n=null==n?1:+n,function(){var i;if(null!=e)i=e,e=null;else do e=2*Math.random()-1,i=2*Math.random()-1,r=e*e+i*i;while(!r||r>1);return t+n*i*Math.sqrt(-2*Math.log(r)/r)}},pm=function(){var t=hm.apply(this,arguments);return function(){return Math.exp(t())}},dm=function(t){return function(){for(var n=0,e=0;e<t;++e)n+=Math.random();return n}},vm=function(t){var n=dm(t);return function(){return n()/t}},gm=function(t){return function(){return-Math.log(1-Math.random())/t}},ym=function(t,n){function e(t){var n,e=s.status;if(!e&&da(s)||e>=200&&e<300||304===e){if(o)try{n=o.call(r,s)}catch(t){return void u.call("error",r,t)}else n=s;u.call("load",r,n)}else u.call("error",r,t)}var r,i,o,a,u=p("beforesend","progress","load","error"),c=De(),s=new XMLHttpRequest,f=null,l=null,h=0;if("undefined"==typeof XDomainRequest||"withCredentials"in s||!/^(http(s)?:)?\/\//.test(t)||(s=new XDomainRequest),"onload"in s?s.onload=s.onerror=s.ontimeout=e:s.onreadystatechange=function(t){s.readyState>3&&e(t)},s.onprogress=function(t){u.call("progress",r,t)},r={header:function(t,n){return t=(t+"").toLowerCase(),arguments.length<2?c.get(t):(null==n?c.remove(t):c.set(t,n+""),r)},mimeType:function(t){return arguments.length?(i=null==t?null:t+"",r):i},responseType:function(t){return arguments.length?(a=t,r):a},timeout:function(t){return arguments.length?(h=+t,r):h},user:function(t){return arguments.length<1?f:(f=null==t?null:t+"",r)},password:function(t){return arguments.length<1?l:(l=null==t?null:t+"",r)},response:function(t){return o=t,r},get:function(t,n){return r.send("GET",t,n)},post:function(t,n){return r.send("POST",t,n)},send:function(n,e,o){return s.open(n,t,!0,f,l),null==i||c.has("accept")||c.set("accept",i+",*/*"),s.setRequestHeader&&c.each(function(t,n){s.setRequestHeader(n,t)}),null!=i&&s.overrideMimeType&&s.overrideMimeType(i),null!=a&&(s.responseType=a),h>0&&(s.timeout=h),null==o&&"function"==typeof e&&(o=e,e=null),null!=o&&1===o.length&&(o=pa(o)),null!=o&&r.on("error",o).on("load",function(t){o(null,t)}),u.call("beforesend",r,s),s.send(null==e?null:e),r},abort:function(){return s.abort(),r},on:function(){var t=u.on.apply(u,arguments);return t===u?r:t}},null!=n){if("function"!=typeof n)throw new Error("invalid callback: "+n);return r.get(n)}return r},_m=function(t,n){return function(e,r){var i=ym(e).mimeType(t).response(n);if(null!=r){if("function"!=typeof r)throw new Error("invalid callback: "+r);return i.get(r)}return i}},mm=_m("text/html",function(t){return document.createRange().createContextualFragment(t.responseText)}),bm=_m("application/json",function(t){return JSON.parse(t.responseText)}),xm=_m("text/plain",function(t){return t.responseText}),wm=_m("application/xml",function(t){var n=t.responseXML;if(!n)throw new Error("parse error");return n}),Mm=function(t,n){return function(e,r,i){arguments.length<3&&(i=r,r=null);var o=ym(e).mimeType(t);return o.row=function(t){return arguments.length?o.response(va(n,r=t)):r},o.row(r),i?o.get(i):o}},km=Mm("text/csv",Hd),Am=Mm("text/tab-separated-values",Gd),Em=Array.prototype,Cm=Em.map,Sm=Em.slice,Tm={name:"implicit"},Om=function(t){return function(){return t}},Nm=function(t){return+t},jm=[0,1],Pm=function(n,r,i){var o,a=n[0],u=n[n.length-1],c=e(a,u,null==r?10:r);switch(i=Pv(null==i?",f":i),i.type){case"s":var s=Math.max(Math.abs(a),Math.abs(u));return null!=i.precision||isNaN(o=zv(c,s))||(i.precision=o),t.formatPrefix(i,s);case"":case"e":case"g":case"p":case"r":null!=i.precision||isNaN(o=Uv(c,Math.max(Math.abs(a),Math.abs(u))))||(i.precision=o-("e"===i.type));break;case"f":case"%":null!=i.precision||isNaN(o=Iv(c))||(i.precision=o-2*("%"===i.type))}return t.format(i)},$m=function(t,n){t=t.slice();var e,r=0,i=t.length-1,o=t[r],a=t[i];return a<o&&(e=r,r=i,i=e,e=o,o=a,a=e),t[r]=n.floor(o),t[i]=n.ceil(a),t},Rm=new Date,Lm=new Date,Im=Ba(function(){},function(t,n){t.setTime(+t+n)},function(t,n){return n-t});Im.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?Ba(function(n){n.setTime(Math.floor(n/t)*t)},function(n,e){n.setTime(+n+e*t)},function(n,e){return(e-n)/t}):Im:null};var zm=Im.range,Um=1e3,Dm=6e4,qm=36e5,Fm=864e5,Bm=6048e5,Hm=Ba(function(t){t.setTime(Math.floor(t/Um)*Um)},function(t,n){t.setTime(+t+n*Um)},function(t,n){return(n-t)/Um},function(t){return t.getUTCSeconds()}),Wm=Hm.range,Ym=Ba(function(t){t.setTime(Math.floor(t/Dm)*Dm)},function(t,n){t.setTime(+t+n*Dm)},function(t,n){return(n-t)/Dm},function(t){return t.getMinutes()}),Vm=Ym.range,Xm=Ba(function(t){var n=t.getTimezoneOffset()*Dm%qm;n<0&&(n+=qm),t.setTime(Math.floor((+t-n)/qm)*qm+n)},function(t,n){t.setTime(+t+n*qm)},function(t,n){return(n-t)/qm},function(t){return t.getHours()}),Gm=Xm.range,Jm=Ba(function(t){t.setHours(0,0,0,0)},function(t,n){t.setDate(t.getDate()+n)},function(t,n){return(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*Dm)/Fm},function(t){return t.getDate()-1}),Km=Jm.range,Zm=Ha(0),Qm=Ha(1),tb=Ha(2),nb=Ha(3),eb=Ha(4),rb=Ha(5),ib=Ha(6),ob=Zm.range,ab=Qm.range,ub=tb.range,cb=nb.range,sb=eb.range,fb=rb.range,lb=ib.range,hb=Ba(function(t){t.setDate(1),t.setHours(0,0,0,0)},function(t,n){t.setMonth(t.getMonth()+n)},function(t,n){return n.getMonth()-t.getMonth()+12*(n.getFullYear()-t.getFullYear())},function(t){return t.getMonth()}),pb=hb.range,db=Ba(function(t){t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,n){t.setFullYear(t.getFullYear()+n)},function(t,n){return n.getFullYear()-t.getFullYear()},function(t){return t.getFullYear()});db.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Ba(function(n){n.setFullYear(Math.floor(n.getFullYear()/t)*t),n.setMonth(0,1),n.setHours(0,0,0,0)},function(n,e){n.setFullYear(n.getFullYear()+e*t)}):null};var vb=db.range,gb=Ba(function(t){t.setUTCSeconds(0,0)},function(t,n){t.setTime(+t+n*Dm)},function(t,n){return(n-t)/Dm},function(t){return t.getUTCMinutes()}),yb=gb.range,_b=Ba(function(t){t.setUTCMinutes(0,0,0)},function(t,n){t.setTime(+t+n*qm)},function(t,n){return(n-t)/qm},function(t){return t.getUTCHours()}),mb=_b.range,bb=Ba(function(t){t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCDate(t.getUTCDate()+n)},function(t,n){return(n-t)/Fm},function(t){return t.getUTCDate()-1}),xb=bb.range,wb=Wa(0),Mb=Wa(1),kb=Wa(2),Ab=Wa(3),Eb=Wa(4),Cb=Wa(5),Sb=Wa(6),Tb=wb.range,Ob=Mb.range,Nb=kb.range,jb=Ab.range,Pb=Eb.range,$b=Cb.range,Rb=Sb.range,Lb=Ba(function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCMonth(t.getUTCMonth()+n)},function(t,n){return n.getUTCMonth()-t.getUTCMonth()+12*(n.getUTCFullYear()-t.getUTCFullYear())},function(t){return t.getUTCMonth()}),Ib=Lb.range,zb=Ba(function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n)},function(t,n){return n.getUTCFullYear()-t.getUTCFullYear()},function(t){return t.getUTCFullYear()});zb.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Ba(function(n){n.setUTCFullYear(Math.floor(n.getUTCFullYear()/t)*t),n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)},function(n,e){n.setUTCFullYear(n.getUTCFullYear()+e*t)}):null};var Ub,Db=zb.range,qb={"-":"",_:" ",0:"0"},Fb=/^\s*\d+/,Bb=/^%/,Hb=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g;Bu({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});var Wb="%Y-%m-%dT%H:%M:%S.%LZ",Yb=Date.prototype.toISOString?Hu:t.utcFormat(Wb),Vb=+new Date("2000-01-01T00:00:00.000Z")?Wu:t.utcParse(Wb),Xb=1e3,Gb=60*Xb,Jb=60*Gb,Kb=24*Jb,Zb=7*Kb,Qb=30*Kb,tx=365*Kb,nx=function(){return Xu(db,hb,Zm,Jm,Xm,Ym,Hm,Im,t.timeFormat).domain([new Date(2e3,0,1),new Date(2e3,0,2)])},ex=function(){return Xu(zb,Lb,wb,bb,_b,gb,Hm,Im,t.utcFormat).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)])},rx=function(t){return t.match(/.{6}/g).map(function(t){return"#"+t})},ix=rx("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),ox=rx("393b795254a36b6ecf9c9ede6379398ca252b5cf6bcedb9c8c6d31bd9e39e7ba52e7cb94843c39ad494ad6616be7969c7b4173a55194ce6dbdde9ed6"),ax=rx("3182bd6baed69ecae1c6dbefe6550dfd8d3cfdae6bfdd0a231a35474c476a1d99bc7e9c0756bb19e9ac8bcbddcdadaeb636363969696bdbdbdd9d9d9"),ux=rx("1f77b4aec7e8ff7f0effbb782ca02c98df8ad62728ff98969467bdc5b0d58c564bc49c94e377c2f7b6d27f7f7fc7c7c7bcbd22dbdb8d17becf9edae5"),cx=zh(Wt(300,.5,0),Wt(-240,.5,1)),sx=zh(Wt(-100,.75,.35),Wt(80,1.5,.8)),fx=zh(Wt(260,.75,.35),Wt(80,1.5,.8)),lx=Wt(),hx=function(t){(t<0||t>1)&&(t-=Math.floor(t));var n=Math.abs(t-.5);return lx.h=360*t-100,lx.s=1.5-1.5*n,lx.l=.8-.9*n,lx+""},px=Gu(rx("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),dx=Gu(rx("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),vx=Gu(rx("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),gx=Gu(rx("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921")),yx=function(t){return function(){return t}},_x=1e-12,mx=Math.PI,bx=mx/2,xx=2*mx,wx=function(){function t(){var t,s,f=+n.apply(this,arguments),l=+e.apply(this,arguments),h=o.apply(this,arguments)-bx,p=a.apply(this,arguments)-bx,d=Math.abs(p-h),v=p>h;if(c||(c=t=Pe()),l<f&&(s=l,l=f,f=s),l>_x)if(d>xx-_x)c.moveTo(l*Math.cos(h),l*Math.sin(h)),c.arc(0,0,l,h,p,!v),f>_x&&(c.moveTo(f*Math.cos(p),f*Math.sin(p)),c.arc(0,0,f,p,h,v));else{var g,y,_=h,m=p,b=h,x=p,w=d,M=d,k=u.apply(this,arguments)/2,A=k>_x&&(i?+i.apply(this,arguments):Math.sqrt(f*f+l*l)),E=Math.min(Math.abs(l-f)/2,+r.apply(this,arguments)),C=E,S=E;if(A>_x){var T=ec(A/f*Math.sin(k)),O=ec(A/l*Math.sin(k));(w-=2*T)>_x?(T*=v?1:-1,b+=T,x-=T):(w=0,b=x=(h+p)/2),(M-=2*O)>_x?(O*=v?1:-1,_+=O,m-=O):(M=0,_=m=(h+p)/2)}var N=l*Math.cos(_),j=l*Math.sin(_),P=f*Math.cos(x),$=f*Math.sin(x);if(E>_x){var R=l*Math.cos(m),L=l*Math.sin(m),I=f*Math.cos(b),z=f*Math.sin(b);if(d<mx){var U=w>_x?rc(N,j,I,z,R,L,P,$):[P,$],D=N-U[0],q=j-U[1],F=R-U[0],B=L-U[1],H=1/Math.sin(Math.acos((D*F+q*B)/(Math.sqrt(D*D+q*q)*Math.sqrt(F*F+B*B)))/2),W=Math.sqrt(U[0]*U[0]+U[1]*U[1]);C=Math.min(E,(f-W)/(H-1)),S=Math.min(E,(l-W)/(H+1))}}M>_x?S>_x?(g=ic(I,z,N,j,l,S,v),y=ic(R,L,P,$,l,S,v),c.moveTo(g.cx+g.x01,g.cy+g.y01),S<E?c.arc(g.cx,g.cy,S,Math.atan2(g.y01,g.x01),Math.atan2(y.y01,y.x01),!v):(c.arc(g.cx,g.cy,S,Math.atan2(g.y01,g.x01),Math.atan2(g.y11,g.x11),!v),c.arc(0,0,l,Math.atan2(g.cy+g.y11,g.cx+g.x11),Math.atan2(y.cy+y.y11,y.cx+y.x11),!v),c.arc(y.cx,y.cy,S,Math.atan2(y.y11,y.x11),Math.atan2(y.y01,y.x01),!v))):(c.moveTo(N,j),c.arc(0,0,l,_,m,!v)):c.moveTo(N,j),f>_x&&w>_x?C>_x?(g=ic(P,$,R,L,f,-C,v),y=ic(N,j,I,z,f,-C,v),c.lineTo(g.cx+g.x01,g.cy+g.y01),C<E?c.arc(g.cx,g.cy,C,Math.atan2(g.y01,g.x01),Math.atan2(y.y01,y.x01),!v):(c.arc(g.cx,g.cy,C,Math.atan2(g.y01,g.x01),Math.atan2(g.y11,g.x11),!v),c.arc(0,0,f,Math.atan2(g.cy+g.y11,g.cx+g.x11),Math.atan2(y.cy+y.y11,y.cx+y.x11),v),c.arc(y.cx,y.cy,C,Math.atan2(y.y11,y.x11),Math.atan2(y.y01,y.x01),!v))):c.arc(0,0,f,x,b,v):c.lineTo(P,$)}else c.moveTo(0,0);if(c.closePath(),t)return c=null,t+""||null}var n=Ku,e=Zu,r=yx(0),i=null,o=Qu,a=tc,u=nc,c=null;return t.centroid=function(){var t=(+n.apply(this,arguments)+ +e.apply(this,arguments))/2,r=(+o.apply(this,arguments)+ +a.apply(this,arguments))/2-mx/2;return[Math.cos(r)*t,Math.sin(r)*t]},t.innerRadius=function(e){return arguments.length?(n="function"==typeof e?e:yx(+e),t):n},t.outerRadius=function(n){return arguments.length?(e="function"==typeof n?n:yx(+n),t):e},t.cornerRadius=function(n){return arguments.length?(r="function"==typeof n?n:yx(+n),t):r},t.padRadius=function(n){return arguments.length?(i=null==n?null:"function"==typeof n?n:yx(+n),t):i},t.startAngle=function(n){return arguments.length?(o="function"==typeof n?n:yx(+n),t):o},t.endAngle=function(n){return arguments.length?(a="function"==typeof n?n:yx(+n),t):a},t.padAngle=function(n){return arguments.length?(u="function"==typeof n?n:yx(+n),t):u},t.context=function(n){return arguments.length?(c=null==n?null:n,t):c},t};oc.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;default:this._context.lineTo(t,n)}}};var Mx=function(t){return new oc(t)},kx=function(){function t(t){var u,c,s,f=t.length,l=!1;for(null==i&&(a=o(s=Pe())),u=0;u<=f;++u)!(u<f&&r(c=t[u],u,t))===l&&((l=!l)?a.lineStart():a.lineEnd()),l&&a.point(+n(c,u,t),+e(c,u,t));if(s)return a=null,s+""||null}var n=ac,e=uc,r=yx(!0),i=null,o=Mx,a=null;return t.x=function(e){return arguments.length?(n="function"==typeof e?e:yx(+e),t):n},t.y=function(n){return arguments.length?(e="function"==typeof n?n:yx(+n),t):e},t.defined=function(n){return arguments.length?(r="function"==typeof n?n:yx(!!n),t):r},t.curve=function(n){return arguments.length?(o=n,null!=i&&(a=o(i)),t):o},t.context=function(n){return arguments.length?(null==n?i=a=null:a=o(i=n),t):i},t},Ax=function(){function t(t){var n,f,l,h,p,d=t.length,v=!1,g=new Array(d),y=new Array(d);for(null==u&&(s=c(p=Pe())),n=0;n<=d;++n){if(!(n<d&&a(h=t[n],n,t))===v)if(v=!v)f=n,s.areaStart(),s.lineStart();else{for(s.lineEnd(),s.lineStart(),l=n-1;l>=f;--l)s.point(g[l],y[l]);s.lineEnd(),s.areaEnd()}v&&(g[n]=+e(h,n,t),y[n]=+i(h,n,t),s.point(r?+r(h,n,t):g[n],o?+o(h,n,t):y[n]))}if(p)return s=null,p+""||null}function n(){return kx().defined(a).curve(c).context(u)}var e=ac,r=null,i=yx(0),o=uc,a=yx(!0),u=null,c=Mx,s=null;return t.x=function(n){return arguments.length?(e="function"==typeof n?n:yx(+n),r=null,t):e},t.x0=function(n){return arguments.length?(e="function"==typeof n?n:yx(+n),t):e},t.x1=function(n){return arguments.length?(r=null==n?null:"function"==typeof n?n:yx(+n),t):r},t.y=function(n){return arguments.length?(i="function"==typeof n?n:yx(+n),o=null,t):i},t.y0=function(n){return arguments.length?(i="function"==typeof n?n:yx(+n),t):i},t.y1=function(n){return arguments.length?(o=null==n?null:"function"==typeof n?n:yx(+n),t):o},t.lineX0=t.lineY0=function(){return n().x(e).y(i)},t.lineY1=function(){return n().x(e).y(o)},t.lineX1=function(){return n().x(r).y(i)},t.defined=function(n){return arguments.length?(a="function"==typeof n?n:yx(!!n),t):a},t.curve=function(n){return arguments.length?(c=n,null!=u&&(s=c(u)),t):c},t.context=function(n){return arguments.length?(null==n?u=s=null:s=c(u=n),t):u},t},Ex=function(t,n){return n<t?-1:n>t?1:n>=t?0:NaN},Cx=function(t){return t},Sx=function(){function t(t){var u,c,s,f,l,h=t.length,p=0,d=new Array(h),v=new Array(h),g=+i.apply(this,arguments),y=Math.min(xx,Math.max(-xx,o.apply(this,arguments)-g)),_=Math.min(Math.abs(y)/h,a.apply(this,arguments)),m=_*(y<0?-1:1);for(u=0;u<h;++u)(l=v[d[u]=u]=+n(t[u],u,t))>0&&(p+=l);for(null!=e?d.sort(function(t,n){return e(v[t],v[n])}):null!=r&&d.sort(function(n,e){return r(t[n],t[e])}),u=0,s=p?(y-h*m)/p:0;u<h;++u,g=f)c=d[u],l=v[c],f=g+(l>0?l*s:0)+m,v[c]={data:t[c],index:u,value:l,startAngle:g,endAngle:f,padAngle:_};return v}var n=Cx,e=Ex,r=null,i=yx(0),o=yx(xx),a=yx(0);return t.value=function(e){return arguments.length?(n="function"==typeof e?e:yx(+e),t):n},t.sortValues=function(n){return arguments.length?(e=n,r=null,t):e},t.sort=function(n){return arguments.length?(r=n,e=null,t):r},t.startAngle=function(n){return arguments.length?(i="function"==typeof n?n:yx(+n),t):i},t.endAngle=function(n){return arguments.length?(o="function"==typeof n?n:yx(+n),t):o},t.padAngle=function(n){return arguments.length?(a="function"==typeof n?n:yx(+n),t):a},t},Tx=sc(Mx);cc.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(t,n){this._curve.point(n*Math.sin(t),n*-Math.cos(t))}};var Ox=function(){return fc(kx().curve(Tx))},Nx=function(){var t=Ax().curve(Tx),n=t.curve,e=t.lineX0,r=t.lineX1,i=t.lineY0,o=t.lineY1;return t.angle=t.x,delete t.x,t.startAngle=t.x0,delete t.x0,t.endAngle=t.x1,delete t.x1,t.radius=t.y,delete t.y,t.innerRadius=t.y0,delete t.y0,t.outerRadius=t.y1,delete t.y1,t.lineStartAngle=function(){return fc(e())},delete t.lineX0,t.lineEndAngle=function(){return fc(r())},delete t.lineX1,t.lineInnerRadius=function(){return fc(i())},delete t.lineY0,t.lineOuterRadius=function(){return fc(o())},delete t.lineY1,t.curve=function(t){return arguments.length?n(sc(t)):n()._curve},t},jx={draw:function(t,n){var e=Math.sqrt(n/mx);t.moveTo(e,0),t.arc(0,0,e,0,xx)}},Px={draw:function(t,n){var e=Math.sqrt(n/5)/2;t.moveTo(-3*e,-e),t.lineTo(-e,-e),t.lineTo(-e,-3*e),t.lineTo(e,-3*e),t.lineTo(e,-e),t.lineTo(3*e,-e),t.lineTo(3*e,e),t.lineTo(e,e),t.lineTo(e,3*e),t.lineTo(-e,3*e),t.lineTo(-e,e),t.lineTo(-3*e,e),t.closePath()}},$x=Math.sqrt(1/3),Rx=2*$x,Lx={draw:function(t,n){var e=Math.sqrt(n/Rx),r=e*$x;t.moveTo(0,-e),t.lineTo(r,0),t.lineTo(0,e),t.lineTo(-r,0),t.closePath()}},Ix=.8908130915292852,zx=Math.sin(mx/10)/Math.sin(7*mx/10),Ux=Math.sin(xx/10)*zx,Dx=-Math.cos(xx/10)*zx,qx={draw:function(t,n){var e=Math.sqrt(n*Ix),r=Ux*e,i=Dx*e;t.moveTo(0,-e),t.lineTo(r,i);for(var o=1;o<5;++o){var a=xx*o/5,u=Math.cos(a),c=Math.sin(a);t.lineTo(c*e,-u*e),t.lineTo(u*r-c*i,c*r+u*i)}t.closePath()}},Fx={draw:function(t,n){var e=Math.sqrt(n),r=-e/2;t.rect(r,r,e,e)}},Bx=Math.sqrt(3),Hx={draw:function(t,n){var e=-Math.sqrt(n/(3*Bx));t.moveTo(0,2*e),t.lineTo(-Bx*e,-e),t.lineTo(Bx*e,-e),t.closePath()}},Wx=-.5,Yx=Math.sqrt(3)/2,Vx=1/Math.sqrt(12),Xx=3*(Vx/2+1),Gx={draw:function(t,n){var e=Math.sqrt(n/Xx),r=e/2,i=e*Vx,o=r,a=e*Vx+e,u=-o,c=a;t.moveTo(r,i),t.lineTo(o,a),t.lineTo(u,c),t.lineTo(Wx*r-Yx*i,Yx*r+Wx*i),t.lineTo(Wx*o-Yx*a,Yx*o+Wx*a),t.lineTo(Wx*u-Yx*c,Yx*u+Wx*c),t.lineTo(Wx*r+Yx*i,Wx*i-Yx*r),t.lineTo(Wx*o+Yx*a,Wx*a-Yx*o),t.lineTo(Wx*u+Yx*c,Wx*c-Yx*u),t.closePath()}},Jx=[jx,Px,Lx,Fx,qx,Hx,Gx],Kx=function(){function t(){var t;if(r||(r=t=Pe()),n.apply(this,arguments).draw(r,+e.apply(this,arguments)),t)return r=null,t+""||null}var n=yx(jx),e=yx(64),r=null;return t.type=function(e){return arguments.length?(n="function"==typeof e?e:yx(e),t):n},t.size=function(n){return arguments.length?(e="function"==typeof n?n:yx(+n),t):e},t.context=function(n){return arguments.length?(r=null==n?null:n,t):r},t},Zx=function(){};hc.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:lc(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:lc(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}};var Qx=function(t){return new hc(t)};pc.prototype={areaStart:Zx,areaEnd:Zx,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._x2=t,this._y2=n;break;case 1:this._point=2,this._x3=t,this._y3=n;break;case 2:this._point=3,this._x4=t,this._y4=n,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+n)/6);break;default:lc(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}};var tw=function(t){return new pc(t)};dc.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var e=(this._x0+4*this._x1+t)/6,r=(this._y0+4*this._y1+n)/6;this._line?this._context.lineTo(e,r):this._context.moveTo(e,r);break;case 3:this._point=4;default:lc(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}};var nw=function(t){return new dc(t)};vc.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,n=this._y,e=t.length-1;if(e>0)for(var r,i=t[0],o=n[0],a=t[e]-i,u=n[e]-o,c=-1;++c<=e;)r=c/e,this._basis.point(this._beta*t[c]+(1-this._beta)*(i+r*a),this._beta*n[c]+(1-this._beta)*(o+r*u));this._x=this._y=null,this._basis.lineEnd()},point:function(t,n){this._x.push(+t),this._y.push(+n)}};var ew=function t(n){function e(t){return 1===n?new hc(t):new vc(t,n)}return e.beta=function(n){return t(+n)},e}(.85);yc.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:gc(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2,this._x1=t,this._y1=n;break;case 2:this._point=3;default:gc(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var rw=function t(n){function e(t){return new yc(t,n)}return e.tension=function(n){return t(+n)},e}(0);_c.prototype={areaStart:Zx,areaEnd:Zx,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._x3=t,this._y3=n;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=n);break;case 2:this._point=3,this._x5=t,this._y5=n;break;default:gc(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var iw=function t(n){function e(t){return new _c(t,n)}return e.tension=function(n){return t(+n)},e}(0);mc.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:gc(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var ow=function t(n){function e(t){return new mc(t,n)}return e.tension=function(n){return t(+n)},e}(0);xc.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3;default:bc(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var aw=function t(n){function e(t){return n?new xc(t,n):new yc(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);wc.prototype={areaStart:Zx,areaEnd:Zx,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))}switch(this._point){ |
|
case 0:this._point=1,this._x3=t,this._y3=n;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=n);break;case 2:this._point=3,this._x5=t,this._y5=n;break;default:bc(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var uw=function t(n){function e(t){return n?new wc(t,n):new _c(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);Mc.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:bc(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var cw=function t(n){function e(t){return n?new Mc(t,n):new mc(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);kc.prototype={areaStart:Zx,areaEnd:Zx,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,n){t=+t,n=+n,this._point?this._context.lineTo(t,n):(this._point=1,this._context.moveTo(t,n))}};var sw=function(t){return new kc(t)};Tc.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:Sc(this,this._t0,Cc(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){var e=NaN;if(t=+t,n=+n,t!==this._x1||n!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3,Sc(this,Cc(this,e=Ec(this,t,n)),e);break;default:Sc(this,this._t0,e=Ec(this,t,n))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n,this._t0=e}}},(Oc.prototype=Object.create(Tc.prototype)).point=function(t,n){Tc.prototype.point.call(this,n,t)},Nc.prototype={moveTo:function(t,n){this._context.moveTo(n,t)},closePath:function(){this._context.closePath()},lineTo:function(t,n){this._context.lineTo(n,t)},bezierCurveTo:function(t,n,e,r,i,o){this._context.bezierCurveTo(n,t,r,e,o,i)}},$c.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,n=this._y,e=t.length;if(e)if(this._line?this._context.lineTo(t[0],n[0]):this._context.moveTo(t[0],n[0]),2===e)this._context.lineTo(t[1],n[1]);else for(var r=Rc(t),i=Rc(n),o=0,a=1;a<e;++o,++a)this._context.bezierCurveTo(r[0][o],i[0][o],r[1][o],i[1][o],t[a],n[a]);(this._line||0!==this._line&&1===e)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,n){this._x.push(+t),this._y.push(+n)}};var fw=function(t){return new $c(t)};Lc.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,n),this._context.lineTo(t,n);else{var e=this._x*(1-this._t)+t*this._t;this._context.lineTo(e,this._y),this._context.lineTo(e,n)}}this._x=t,this._y=n}};var lw=function(t){return new Lc(t,.5)},hw=Array.prototype.slice,pw=function(t,n){if((r=t.length)>1)for(var e,r,i=1,o=t[n[0]],a=o.length;i<r;++i){e=o,o=t[n[i]];for(var u=0;u<a;++u)o[u][1]+=o[u][0]=isNaN(e[u][1])?e[u][0]:e[u][1]}},dw=function(t){for(var n=t.length,e=new Array(n);--n>=0;)e[n]=n;return e},vw=function(){function t(t){var o,a,u=n.apply(this,arguments),c=t.length,s=u.length,f=new Array(s);for(o=0;o<s;++o){for(var l,h=u[o],p=f[o]=new Array(c),d=0;d<c;++d)p[d]=l=[0,+i(t[d],h,d,t)],l.data=t[d];p.key=h}for(o=0,a=e(f);o<s;++o)f[a[o]].index=o;return r(f,a),f}var n=yx([]),e=dw,r=pw,i=Uc;return t.keys=function(e){return arguments.length?(n="function"==typeof e?e:yx(hw.call(e)),t):n},t.value=function(n){return arguments.length?(i="function"==typeof n?n:yx(+n),t):i},t.order=function(n){return arguments.length?(e=null==n?dw:"function"==typeof n?n:yx(hw.call(n)),t):e},t.offset=function(n){return arguments.length?(r=null==n?pw:n,t):r},t},gw=function(t,n){if((r=t.length)>0){for(var e,r,i,o=0,a=t[0].length;o<a;++o){for(i=e=0;e<r;++e)i+=t[e][o][1]||0;if(i)for(e=0;e<r;++e)t[e][o][1]/=i}pw(t,n)}},yw=function(t,n){if((e=t.length)>0){for(var e,r=0,i=t[n[0]],o=i.length;r<o;++r){for(var a=0,u=0;a<e;++a)u+=t[a][r][1]||0;i[r][1]+=i[r][0]=-u/2}pw(t,n)}},_w=function(t,n){if((i=t.length)>0&&(r=(e=t[n[0]]).length)>0){for(var e,r,i,o=0,a=1;a<r;++a){for(var u=0,c=0,s=0;u<i;++u){for(var f=t[n[u]],l=f[a][1]||0,h=f[a-1][1]||0,p=(l-h)/2,d=0;d<u;++d){var v=t[n[d]],g=v[a][1]||0,y=v[a-1][1]||0;p+=g-y}c+=l,s+=p*l}e[a-1][1]+=e[a-1][0]=o,c&&(o-=s/c)}e[a-1][1]+=e[a-1][0]=o,pw(t,n)}},mw=function(t){var n=t.map(Dc);return dw(t).sort(function(t,e){return n[t]-n[e]})},bw=function(t){return mw(t).reverse()},xw=function(t){var n,e,r=t.length,i=t.map(Dc),o=dw(t).sort(function(t,n){return i[n]-i[t]}),a=0,u=0,c=[],s=[];for(n=0;n<r;++n)e=o[n],a<u?(a+=i[e],c.push(e)):(u+=i[e],s.push(e));return s.reverse().concat(c)},ww=function(t){return dw(t).reverse()},Mw=function(t){return function(){return t}};Bc.prototype={constructor:Bc,insert:function(t,n){var e,r,i;if(t){if(n.P=t,n.N=t.N,t.N&&(t.N.P=n),t.N=n,t.R){for(t=t.R;t.L;)t=t.L;t.L=n}else t.R=n;e=t}else this._?(t=Vc(this._),n.P=null,n.N=t,t.P=t.L=n,e=t):(n.P=n.N=null,this._=n,e=null);for(n.L=n.R=null,n.U=e,n.C=!0,t=n;e&&e.C;)r=e.U,e===r.L?(i=r.R,i&&i.C?(e.C=i.C=!1,r.C=!0,t=r):(t===e.R&&(Wc(this,e),t=e,e=t.U),e.C=!1,r.C=!0,Yc(this,r))):(i=r.L,i&&i.C?(e.C=i.C=!1,r.C=!0,t=r):(t===e.L&&(Yc(this,e),t=e,e=t.U),e.C=!1,r.C=!0,Wc(this,r))),e=t.U;this._.C=!1},remove:function(t){t.N&&(t.N.P=t.P),t.P&&(t.P.N=t.N),t.N=t.P=null;var n,e,r,i=t.U,o=t.L,a=t.R;if(e=o?a?Vc(a):o:a,i?i.L===t?i.L=e:i.R=e:this._=e,o&&a?(r=e.C,e.C=t.C,e.L=o,o.U=e,e!==a?(i=e.U,e.U=t.U,t=e.R,i.L=t,e.R=a,a.U=e):(e.U=i,i=e,t=e.R)):(r=t.C,t=e),t&&(t.U=i),!r){if(t&&t.C)return void(t.C=!1);do{if(t===this._)break;if(t===i.L){if(n=i.R,n.C&&(n.C=!1,i.C=!0,Wc(this,i),n=i.R),n.L&&n.L.C||n.R&&n.R.C){n.R&&n.R.C||(n.L.C=!1,n.C=!0,Yc(this,n),n=i.R),n.C=i.C,i.C=n.R.C=!1,Wc(this,i),t=this._;break}}else if(n=i.L,n.C&&(n.C=!1,i.C=!0,Yc(this,i),n=i.L),n.L&&n.L.C||n.R&&n.R.C){n.L&&n.L.C||(n.R.C=!1,n.C=!0,Wc(this,n),n=i.L),n.C=i.C,i.C=n.L.C=!1,Yc(this,i),t=this._;break}n.C=!0,t=i,i=i.U}while(!t.C);t&&(t.C=!1)}}};var kw,Aw,Ew,Cw,Sw,Tw=[],Ow=[],Nw=1e-6,jw=1e-12;_s.prototype={constructor:_s,polygons:function(){var t=this.edges;return this.cells.map(function(n){var e=n.halfedges.map(function(e){return es(n,t[e])});return e.data=n.site.data,e})},triangles:function(){var t=[],n=this.edges;return this.cells.forEach(function(e,r){if(o=(i=e.halfedges).length)for(var i,o,a,u=e.site,c=-1,s=n[i[o-1]],f=s.left===u?s.right:s.left;++c<o;)a=f,s=n[i[c]],f=s.left===u?s.right:s.left,a&&f&&r<a.index&&r<f.index&&gs(u,a,f)<0&&t.push([u.data,a.data,f.data])}),t},links:function(){return this.edges.filter(function(t){return t.right}).map(function(t){return{source:t.left.data,target:t.right.data}})},find:function(t,n,e){for(var r,i,o=this,a=o._found||0,u=o.cells.length;!(i=o.cells[a]);)if(++a>=u)return null;var c=t-i.site[0],s=n-i.site[1],f=c*c+s*s;do i=o.cells[r=a],a=null,i.halfedges.forEach(function(e){var r=o.edges[e],u=r.left;if(u!==i.site&&u||(u=r.right)){var c=t-u[0],s=n-u[1],l=c*c+s*s;l<f&&(f=l,a=u.index)}});while(null!==a);return o._found=r,null==e||f<=e*e?i.site:null}};var Pw=function(){function t(t){return new _s(t.map(function(r,i){var o=[Math.round(n(r,i,t)/Nw)*Nw,Math.round(e(r,i,t)/Nw)*Nw];return o.index=i,o.data=r,o}),r)}var n=qc,e=Fc,r=null;return t.polygons=function(n){return t(n).polygons()},t.links=function(n){return t(n).links()},t.triangles=function(n){return t(n).triangles()},t.x=function(e){return arguments.length?(n="function"==typeof e?e:Mw(+e),t):n},t.y=function(n){return arguments.length?(e="function"==typeof n?n:Mw(+n),t):e},t.extent=function(n){return arguments.length?(r=null==n?null:[[+n[0][0],+n[0][1]],[+n[1][0],+n[1][1]]],t):r&&[[r[0][0],r[0][1]],[r[1][0],r[1][1]]]},t.size=function(n){return arguments.length?(r=null==n?null:[[0,0],[+n[0],+n[1]]],t):r&&[r[1][0]-r[0][0],r[1][1]-r[0][1]]},t},$w=function(t){return function(){return t}};bs.prototype={constructor:bs,scale:function(t){return 1===t?this:new bs(this.k*t,this.x,this.y)},translate:function(t,n){return 0===t&0===n?this:new bs(this.k,this.x+this.k*t,this.y+this.k*n)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var Rw=new bs(1,0,0);xs.prototype=bs.prototype;var Lw=function(){t.event.preventDefault(),t.event.stopImmediatePropagation()},Iw=function(){function n(t){t.on("wheel.zoom",s).on("mousedown.zoom",f).on("dblclick.zoom",l).on("touchstart.zoom",h).on("touchmove.zoom",d).on("touchend.zoom touchcancel.zoom",v).style("-webkit-tap-highlight-color","rgba(0,0,0,0)").property("__zoom",As)}function e(t,n){return n=Math.max(b,Math.min(x,n)),n===t.k?t:new bs(n,t.x,t.y)}function r(t,n,e){var r=n[0]-e[0]*t.k,i=n[1]-e[1]*t.k;return r===t.x&&i===t.y?t:new bs(t.k,r,i)}function i(t,n){var e=t.invertX(n[0][0])-w,r=t.invertX(n[1][0])-M,i=t.invertY(n[0][1])-k,o=t.invertY(n[1][1])-A;return t.translate(r>e?(e+r)/2:Math.min(0,e)||Math.max(0,r),o>i?(i+o)/2:Math.min(0,i)||Math.max(0,o))}function o(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function a(t,n,e){t.on("start.zoom",function(){u(this,arguments).start()}).on("interrupt.zoom end.zoom",function(){u(this,arguments).end()}).tween("zoom",function(){var t=this,r=arguments,i=u(t,r),a=m.apply(t,r),c=e||o(a),s=Math.max(a[1][0]-a[0][0],a[1][1]-a[0][1]),f=t.__zoom,l="function"==typeof n?n.apply(t,r):n,h=S(f.invert(c).concat(s/f.k),l.invert(c).concat(s/l.k));return function(t){if(1===t)t=l;else{var n=h(t),e=s/n[2];t=new bs(e,c[0]-n[0]*e,c[1]-n[1]*e)}i.zoom(null,t)}})}function u(t,n){for(var e,r=0,i=T.length;r<i;++r)if((e=T[r]).that===t)return e;return new c(t,n)}function c(t,n){this.that=t,this.args=n,this.index=-1,this.active=0,this.extent=m.apply(t,n)}function s(){function n(){o.wheel=null,o.end()}if(_.apply(this,arguments)){var o=u(this,arguments),a=this.__zoom,c=Math.max(b,Math.min(x,a.k*Math.pow(2,-t.event.deltaY*(t.event.deltaMode?120:1)/500))),s=Pf(this);if(o.wheel)o.mouse[0][0]===s[0]&&o.mouse[0][1]===s[1]||(o.mouse[1]=a.invert(o.mouse[0]=s)),clearTimeout(o.wheel);else{if(a.k===c)return;o.mouse=[s,a.invert(s)],up(this),o.start()}Lw(),o.wheel=setTimeout(n,j),o.zoom("mouse",i(r(e(a,c),o.mouse[0],o.mouse[1]),o.extent))}}function f(){function n(){Lw(),o.moved=!0,o.zoom("mouse",i(r(o.that.__zoom,o.mouse[0]=Pf(o.that),o.mouse[1]),o.extent))}function e(){a.on("mousemove.zoom mouseup.zoom",null),gt(t.event.view,o.moved),Lw(),o.end()}if(!y&&_.apply(this,arguments)){var o=u(this,arguments),a=vl(t.event.view).on("mousemove.zoom",n,!0).on("mouseup.zoom",e,!0),c=Pf(this);bl(t.event.view),ws(),o.mouse=[c,this.__zoom.invert(c)],up(this),o.start()}}function l(){if(_.apply(this,arguments)){var o=this.__zoom,u=Pf(this),c=o.invert(u),s=o.k*(t.event.shiftKey?.5:2),f=i(r(e(o,s),u,c),m.apply(this,arguments));Lw(),E>0?vl(this).transition().duration(E).call(a,f,u):vl(this).call(n.transform,f)}}function h(){if(_.apply(this,arguments)){var n,e,r,i,o=u(this,arguments),a=t.event.changedTouches,c=a.length;for(ws(),e=0;e<c;++e)r=a[e],i=yl(this,a,r.identifier),i=[i,this.__zoom.invert(i),r.identifier],o.touch0?o.touch1||(o.touch1=i):(o.touch0=i,n=!0);return g&&(g=clearTimeout(g),!o.touch1)?(o.end(),i=vl(this).on("dblclick.zoom"),void(i&&i.apply(this,arguments))):void(n&&(g=setTimeout(function(){g=null},N),up(this),o.start()))}}function d(){var n,o,a,c,s=u(this,arguments),f=t.event.changedTouches,l=f.length;for(Lw(),g&&(g=clearTimeout(g)),n=0;n<l;++n)o=f[n],a=yl(this,f,o.identifier),s.touch0&&s.touch0[2]===o.identifier?s.touch0[0]=a:s.touch1&&s.touch1[2]===o.identifier&&(s.touch1[0]=a);if(o=s.that.__zoom,s.touch1){var h=s.touch0[0],p=s.touch0[1],d=s.touch1[0],v=s.touch1[1],y=(y=d[0]-h[0])*y+(y=d[1]-h[1])*y,_=(_=v[0]-p[0])*_+(_=v[1]-p[1])*_;o=e(o,Math.sqrt(y/_)),a=[(h[0]+d[0])/2,(h[1]+d[1])/2],c=[(p[0]+v[0])/2,(p[1]+v[1])/2]}else{if(!s.touch0)return;a=s.touch0[0],c=s.touch0[1]}s.zoom("touch",i(r(o,a,c),s.extent))}function v(){var n,e,r=u(this,arguments),i=t.event.changedTouches,o=i.length;for(ws(),y&&clearTimeout(y),y=setTimeout(function(){y=null},N),n=0;n<o;++n)e=i[n],r.touch0&&r.touch0[2]===e.identifier?delete r.touch0:r.touch1&&r.touch1[2]===e.identifier&&delete r.touch1;r.touch1&&!r.touch0&&(r.touch0=r.touch1,delete r.touch1),r.touch0||r.end()}var g,y,_=Ms,m=ks,b=0,x=1/0,w=-x,M=x,k=w,A=M,E=250,S=jh,T=[],O=p("start","zoom","end"),N=500,j=150;return n.transform=function(t,n){var e=t.selection?t.selection():t;e.property("__zoom",As),t!==e?a(t,n):e.interrupt().each(function(){u(this,arguments).start().zoom(null,"function"==typeof n?n.apply(this,arguments):n).end()})},n.scaleBy=function(t,e){n.scaleTo(t,function(){var t=this.__zoom.k,n="function"==typeof e?e.apply(this,arguments):e;return t*n})},n.scaleTo=function(t,a){n.transform(t,function(){var t=m.apply(this,arguments),n=this.__zoom,u=o(t),c=n.invert(u),s="function"==typeof a?a.apply(this,arguments):a;return i(r(e(n,s),u,c),t)})},n.translateBy=function(t,e,r){n.transform(t,function(){return i(this.__zoom.translate("function"==typeof e?e.apply(this,arguments):e,"function"==typeof r?r.apply(this,arguments):r),m.apply(this,arguments))})},c.prototype={start:function(){return 1===++this.active&&(this.index=T.push(this)-1,this.emit("start")),this},zoom:function(t,n){return this.mouse&&"mouse"!==t&&(this.mouse[1]=n.invert(this.mouse[0])),this.touch0&&"touch"!==t&&(this.touch0[1]=n.invert(this.touch0[0])),this.touch1&&"touch"!==t&&(this.touch1[1]=n.invert(this.touch1[0])),this.that.__zoom=n,this.emit("zoom"),this},end:function(){return 0===--this.active&&(T.splice(this.index,1),this.index=-1,this.emit("end")),this},emit:function(t){C(new ms(n,t,this.that.__zoom),O.apply,O,[t,this.that,this.args])}},n.filter=function(t){return arguments.length?(_="function"==typeof t?t:$w(!!t),n):_},n.extent=function(t){return arguments.length?(m="function"==typeof t?t:$w([[+t[0][0],+t[0][1]],[+t[1][0],+t[1][1]]]),n):m},n.scaleExtent=function(t){return arguments.length?(b=+t[0],x=+t[1],n):[b,x]},n.translateExtent=function(t){return arguments.length?(w=+t[0][0],M=+t[1][0],k=+t[0][1],A=+t[1][1],n):[[w,k],[M,A]]},n.duration=function(t){return arguments.length?(E=+t,n):E},n.interpolate=function(t){return arguments.length?(S=t,n):S},n.on=function(){var t=O.on.apply(O,arguments);return t===O?n:t},n};t.version=Es,t.bisect=Os,t.bisectRight=Os,t.bisectLeft=Ns,t.ascending=Cs,t.bisector=Ss,t.descending=js,t.deviation=Rs,t.extent=Ls,t.histogram=Xs,t.thresholdFreedmanDiaconis=Js,t.thresholdScott=Ks,t.thresholdSturges=Vs,t.max=Zs,t.mean=Qs,t.median=tf,t.merge=nf,t.min=ef,t.pairs=rf,t.permute=of,t.quantile=Gs,t.range=Fs,t.scan=af,t.shuffle=uf,t.sum=cf,t.ticks=Ys,t.tickStep=e,t.transpose=sf,t.variance=$s,t.zip=ff,t.axisTop=s,t.axisRight=f,t.axisBottom=l,t.axisLeft=h,t.brush=xd,t.brushX=Se,t.brushY=Te,t.brushSelection=Ce,t.chord=Sd,t.ribbon=Rd,t.nest=Id,t.set=Ye,t.map=De,t.keys=Ud,t.values=Dd,t.entries=qd,t.color=Mt,t.rgb=Ct,t.hsl=Nt,t.lab=Rt,t.hcl=Ft,t.cubehelix=Wt,t.dispatch=p,t.drag=wl,t.dragDisable=bl,t.dragEnable=gt,t.dsvFormat=Fd,t.csvParse=Hd,t.csvParseRows=Wd,t.csvFormat=Yd,t.csvFormatRows=Vd,t.tsvParse=Gd,t.tsvParseRows=Jd,t.tsvFormat=Kd,t.tsvFormatRows=Zd,t.easeLinear=ne,t.easeQuad=ie,t.easeQuadIn=ee,t.easeQuadOut=re,t.easeQuadInOut=ie,t.easeCubic=ue,t.easeCubicIn=oe,t.easeCubicOut=ae,t.easeCubicInOut=ue,t.easePoly=Pp,t.easePolyIn=Np,t.easePolyOut=jp,t.easePolyInOut=Pp,t.easeSin=fe,t.easeSinIn=ce,t.easeSinOut=se,t.easeSinInOut=fe,t.easeExp=pe,t.easeExpIn=le,t.easeExpOut=he,t.easeExpInOut=pe,t.easeCircle=ge,t.easeCircleIn=de,t.easeCircleOut=ve,t.easeCircleInOut=ge,t.easeBounce=_e,t.easeBounceIn=ye,t.easeBounceOut=_e,t.easeBounceInOut=me,t.easeBack=Gp,t.easeBackIn=Vp,t.easeBackOut=Xp,t.easeBackInOut=Gp,t.easeElastic=td,t.easeElasticIn=Qp,t.easeElasticOut=td,t.easeElasticInOut=nd,t.forceCenter=Qd,t.forceCollide=yv,t.forceLink=_v,t.forceManyBody=wv,t.forceSimulation=xv,t.forceX=Mv,t.forceY=kv,t.formatDefaultLocale=hr,t.formatLocale=Lv,t.formatSpecifier=Pv,t.precisionFixed=Iv,t.precisionPrefix=zv,t.precisionRound=Uv,t.geoArea=Wg,t.geoBounds=Xg,t.geoCentroid=Jg,t.geoCircle=ly,t.geoClipExtent=_y,t.geoDistance=ky,t.geoGraticule=vi,t.geoGraticule10=gi,t.geoInterpolate=Ay,t.geoLength=xy,t.geoPath=Zy,t.geoAlbers=f_,t.geoAlbersUsa=l_,t.geoAzimuthalEqualArea=p_,t.geoAzimuthalEqualAreaRaw=h_,t.geoAzimuthalEquidistant=v_,t.geoAzimuthalEquidistantRaw=d_,t.geoConicConformal=y_,t.geoConicConformalRaw=io,t.geoConicEqualArea=s_,t.geoConicEqualAreaRaw=Ki,t.geoConicEquidistant=m_,t.geoConicEquidistantRaw=ao,t.geoEquirectangular=__,t.geoEquirectangularRaw=oo,t.geoGnomonic=b_,t.geoGnomonicRaw=uo,t.geoIdentity=x_,t.geoProjection=Vi,t.geoProjectionMutator=Xi,t.geoMercator=g_,t.geoMercatorRaw=no,t.geoOrthographic=w_,t.geoOrthographicRaw=so,t.geoStereographic=M_,t.geoStereographicRaw=fo,t.geoTransverseMercator=k_,t.geoTransverseMercatorRaw=lo,t.geoRotation=fy,t.geoStream=qg,t.geoTransform=i_,t.cluster=A_,t.hierarchy=wo,t.pack=q_,t.packSiblings=U_,t.packEnclose=z_,t.partition=H_,t.stratify=X_,t.tree=G_,t.treemap=Q_,t.treemapBinary=tm,t.treemapDice=B_,t.treemapSlice=J_,t.treemapSliceDice=nm,t.treemapSquarify=Z_,t.treemapResquarify=em,t.interpolate=xh,t.interpolateArray=dh,t.interpolateBasis=ch,t.interpolateBasisClosed=sh,t.interpolateDate=vh,t.interpolateNumber=gh,t.interpolateObject=yh,t.interpolateRound=wh,t.interpolateString=bh,t.interpolateTransformCss=Eh,t.interpolateTransformSvg=Ch,t.interpolateZoom=jh,t.interpolateRgb=lh,t.interpolateRgbBasis=hh,t.interpolateRgbBasisClosed=ph,t.interpolateHsl=Ph,t.interpolateHslLong=$h,t.interpolateLab=fn,t.interpolateHcl=Rh,t.interpolateHclLong=Lh,t.interpolateCubehelix=Ih,t.interpolateCubehelixLong=zh,t.quantize=Uh,t.path=Pe,t.polygonArea=rm,t.polygonCentroid=im,t.polygonHull=am,t.polygonContains=um,t.polygonLength=cm;t.quadtree=nr;t.queue=ha,t.randomUniform=lm,t.randomNormal=hm,t.randomLogNormal=pm,t.randomBates=vm,t.randomIrwinHall=dm,t.randomExponential=gm,t.request=ym,t.html=mm,t.json=bm,t.text=xm,t.xml=wm,t.csv=km,t.tsv=Am,t.scaleBand=ya,t.scalePoint=ma,t.scaleIdentity=Ta,t.scaleLinear=Sa,t.scaleLog=La,t.scaleOrdinal=ga,t.scaleImplicit=Tm,t.scalePow=za,t.scaleSqrt=Ua,t.scaleQuantile=Da,t.scaleQuantize=qa,t.scaleThreshold=Fa,t.scaleTime=nx,t.scaleUtc=ex,t.schemeCategory10=ix,t.schemeCategory20b=ox,t.schemeCategory20c=ax,t.schemeCategory20=ux,t.interpolateCubehelixDefault=cx,t.interpolateRainbow=hx,t.interpolateWarm=sx,t.interpolateCool=fx,t.interpolateViridis=px,t.interpolateMagma=dx,t.interpolateInferno=vx,t.interpolatePlasma=gx,t.scaleSequential=Ju,t.creator=wf,t.local=b,t.matcher=Cf,t.mouse=Pf,t.namespace=xf,t.namespaces=bf,t.select=vl,t.selectAll=gl,t.selection=dt,t.selector=$f,t.selectorAll=Lf,t.touch=yl,t.touches=_l,t.window=nl,t.customEvent=C,t.arc=wx,t.area=Ax,t.line=kx,t.pie=Sx,t.radialArea=Nx,t.radialLine=Ox,t.symbol=Kx,t.symbols=Jx,t.symbolCircle=jx,t.symbolCross=Px,t.symbolDiamond=Lx,t.symbolSquare=Fx,t.symbolStar=qx,t.symbolTriangle=Hx,t.symbolWye=Gx,t.curveBasisClosed=tw,t.curveBasisOpen=nw,t.curveBasis=Qx,t.curveBundle=ew,t.curveCardinalClosed=iw,t.curveCardinalOpen=ow,t.curveCardinal=rw,t.curveCatmullRomClosed=uw,t.curveCatmullRomOpen=cw,t.curveCatmullRom=aw,t.curveLinearClosed=sw,t.curveLinear=Mx,t.curveMonotoneX=jc,t.curveMonotoneY=Pc,t.curveNatural=fw,t.curveStep=lw,t.curveStepAfter=zc,t.curveStepBefore=Ic,t.stack=vw,t.stackOffsetExpand=gw,t.stackOffsetNone=pw,t.stackOffsetSilhouette=yw,t.stackOffsetWiggle=_w,t.stackOrderAscending=mw,t.stackOrderDescending=bw,t.stackOrderInsideOut=xw,t.stackOrderNone=dw,t.stackOrderReverse=ww,t.timeInterval=Ba,t.timeMillisecond=Im,t.timeMilliseconds=zm,t.utcMillisecond=Im,t.utcMilliseconds=zm,t.timeSecond=Hm,t.timeSeconds=Wm,t.utcSecond=Hm,t.utcSeconds=Wm,t.timeMinute=Ym,t.timeMinutes=Vm,t.timeHour=Xm,t.timeHours=Gm,t.timeDay=Jm,t.timeDays=Km,t.timeWeek=Zm,t.timeWeeks=ob,t.timeSunday=Zm,t.timeSundays=ob,t.timeMonday=Qm,t.timeMondays=ab,t.timeTuesday=tb,t.timeTuesdays=ub,t.timeWednesday=nb,t.timeWednesdays=cb,t.timeThursday=eb,t.timeThursdays=sb,t.timeFriday=rb,t.timeFridays=fb,t.timeSaturday=ib,t.timeSaturdays=lb,t.timeMonth=hb,t.timeMonths=pb,t.timeYear=db,t.timeYears=vb,t.utcMinute=gb,t.utcMinutes=yb,t.utcHour=_b,t.utcHours=mb,t.utcDay=bb,t.utcDays=xb,t.utcWeek=wb,t.utcWeeks=Tb,t.utcSunday=wb,t.utcSundays=Tb,t.utcMonday=Mb,t.utcMondays=Ob,t.utcTuesday=kb,t.utcTuesdays=Nb,t.utcWednesday=Ab,t.utcWednesdays=jb,t.utcThursday=Eb,t.utcThursdays=Pb,t.utcFriday=Cb,t.utcFridays=$b,t.utcSaturday=Sb,t.utcSaturdays=Rb,t.utcMonth=Lb,t.utcMonths=Ib,t.utcYear=zb,t.utcYears=Db,t.timeFormatDefaultLocale=Bu,t.timeFormatLocale=Ga,t.isoFormat=Yb,t.isoParse=Vb,t.now=pn,t.timer=gn,t.timerFlush=yn,t.timeout=Gh,t.interval=Jh,t.transition=Qn,t.active=od,t.interrupt=up,t.voronoi=Pw,t.zoom=Iw,t.zoomTransform=xs,t.zoomIdentity=Rw,Object.defineProperty(t,"__esModule",{value:!0})})},function(t,n,e){var r=e(29)("wks"),i=e(33),o=e(5).Symbol,a="function"==typeof o,u=t.exports=function(t){return r[t]||(r[t]=a&&o[t]||(a?o:i)("Symbol."+t))};u.store=r},function(t,n,e){(function(t,r){var i;(function(){function o(t,n){return t.set(n[0],n[1]),t}function a(t,n){return t.add(n),t}function u(t,n,e){switch(e.length){case 0:return t.call(n);case 1:return t.call(n,e[0]);case 2:return t.call(n,e[0],e[1]);case 3:return t.call(n,e[0],e[1],e[2])}return t.apply(n,e)}function c(t,n,e,r){for(var i=-1,o=null==t?0:t.length;++i<o;){var a=t[i];n(r,a,e(a),t)}return r}function s(t,n){for(var e=-1,r=null==t?0:t.length;++e<r&&n(t[e],e,t)!==!1;);return t}function f(t,n){for(var e=null==t?0:t.length;e--&&n(t[e],e,t)!==!1;);return t}function l(t,n){for(var e=-1,r=null==t?0:t.length;++e<r;)if(!n(t[e],e,t))return!1;return!0}function h(t,n){for(var e=-1,r=null==t?0:t.length,i=0,o=[];++e<r;){var a=t[e];n(a,e,t)&&(o[i++]=a)}return o}function p(t,n){var e=null==t?0:t.length;return!!e&&k(t,n,0)>-1}function d(t,n,e){for(var r=-1,i=null==t?0:t.length;++r<i;)if(e(n,t[r]))return!0;return!1}function v(t,n){for(var e=-1,r=null==t?0:t.length,i=Array(r);++e<r;)i[e]=n(t[e],e,t);return i}function g(t,n){for(var e=-1,r=n.length,i=t.length;++e<r;)t[i+e]=n[e];return t}function y(t,n,e,r){var i=-1,o=null==t?0:t.length;for(r&&o&&(e=t[++i]);++i<o;)e=n(e,t[i],i,t);return e}function _(t,n,e,r){var i=null==t?0:t.length;for(r&&i&&(e=t[--i]);i--;)e=n(e,t[i],i,t);return e}function m(t,n){for(var e=-1,r=null==t?0:t.length;++e<r;)if(n(t[e],e,t))return!0;return!1}function b(t){return t.split("")}function x(t){return t.match(Hn)||[]}function w(t,n,e){var r;return e(t,function(t,e,i){if(n(t,e,i))return r=e,!1}),r}function M(t,n,e,r){for(var i=t.length,o=e+(r?1:-1);r?o--:++o<i;)if(n(t[o],o,t))return o;return-1}function k(t,n,e){return n===n?K(t,n,e):M(t,E,e)}function A(t,n,e,r){for(var i=e-1,o=t.length;++i<o;)if(r(t[i],n))return i;return-1}function E(t){return t!==t}function C(t,n){var e=null==t?0:t.length;return e?j(t,n)/e:It}function S(t){return function(n){return null==n?it:n[t]}}function T(t){return function(n){return null==t?it:t[n]}}function O(t,n,e,r,i){return i(t,function(t,i,o){e=r?(r=!1,t):n(e,t,i,o)}),e}function N(t,n){var e=t.length;for(t.sort(n);e--;)t[e]=t[e].value;return t}function j(t,n){for(var e,r=-1,i=t.length;++r<i;){var o=n(t[r]);o!==it&&(e=e===it?o:e+o)}return e}function P(t,n){for(var e=-1,r=Array(t);++e<t;)r[e]=n(e);return r}function $(t,n){return v(n,function(n){return[n,t[n]]})}function R(t){return function(n){return t(n)}}function L(t,n){return v(n,function(n){return t[n]})}function I(t,n){return t.has(n)}function z(t,n){for(var e=-1,r=t.length;++e<r&&k(n,t[e],0)>-1;);return e}function U(t,n){for(var e=t.length;e--&&k(n,t[e],0)>-1;);return e}function D(t,n){for(var e=t.length,r=0;e--;)t[e]===n&&++r;return r}function q(t){return"\\"+er[t]}function F(t,n){return null==t?it:t[n]}function B(t){return Ve.test(t)}function H(t){return Xe.test(t)}function W(t){for(var n,e=[];!(n=t.next()).done;)e.push(n.value);return e}function Y(t){var n=-1,e=Array(t.size);return t.forEach(function(t,r){e[++n]=[r,t]}),e}function V(t,n){return function(e){return t(n(e))}}function X(t,n){for(var e=-1,r=t.length,i=0,o=[];++e<r;){var a=t[e];a!==n&&a!==lt||(t[e]=lt,o[i++]=e)}return o}function G(t){var n=-1,e=Array(t.size);return t.forEach(function(t){e[++n]=t}),e}function J(t){var n=-1,e=Array(t.size);return t.forEach(function(t){e[++n]=[t,t]}),e}function K(t,n,e){for(var r=e-1,i=t.length;++r<i;)if(t[r]===n)return r;return-1}function Z(t,n,e){for(var r=e+1;r--;)if(t[r]===n)return r;return r}function Q(t){return B(t)?nt(t):mr(t)}function tt(t){return B(t)?et(t):b(t)}function nt(t){for(var n=We.lastIndex=0;We.test(t);)++n;return n}function et(t){return t.match(We)||[]}function rt(t){return t.match(Ye)||[]}var it,ot="4.17.4",at=200,ut="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",ct="Expected a function",st="__lodash_hash_undefined__",ft=500,lt="__lodash_placeholder__",ht=1,pt=2,dt=4,vt=1,gt=2,yt=1,_t=2,mt=4,bt=8,xt=16,wt=32,Mt=64,kt=128,At=256,Et=512,Ct=30,St="...",Tt=800,Ot=16,Nt=1,jt=2,Pt=3,$t=1/0,Rt=9007199254740991,Lt=1.7976931348623157e308,It=NaN,zt=4294967295,Ut=zt-1,Dt=zt>>>1,qt=[["ary",kt],["bind",yt],["bindKey",_t],["curry",bt],["curryRight",xt],["flip",Et],["partial",wt],["partialRight",Mt],["rearg",At]],Ft="[object Arguments]",Bt="[object Array]",Ht="[object AsyncFunction]",Wt="[object Boolean]",Yt="[object Date]",Vt="[object DOMException]",Xt="[object Error]",Gt="[object Function]",Jt="[object GeneratorFunction]",Kt="[object Map]",Zt="[object Number]",Qt="[object Null]",tn="[object Object]",nn="[object Promise]",en="[object Proxy]",rn="[object RegExp]",on="[object Set]",an="[object String]",un="[object Symbol]",cn="[object Undefined]",sn="[object WeakMap]",fn="[object WeakSet]",ln="[object ArrayBuffer]",hn="[object DataView]",pn="[object Float32Array]",dn="[object Float64Array]",vn="[object Int8Array]",gn="[object Int16Array]",yn="[object Int32Array]",_n="[object Uint8Array]",mn="[object Uint8ClampedArray]",bn="[object Uint16Array]",xn="[object Uint32Array]",wn=/\b__p \+= '';/g,Mn=/\b(__p \+=) '' \+/g,kn=/(__e\(.*?\)|\b__t\)) \+\n'';/g,An=/&(?:amp|lt|gt|quot|#39);/g,En=/[&<>"']/g,Cn=RegExp(An.source),Sn=RegExp(En.source),Tn=/<%-([\s\S]+?)%>/g,On=/<%([\s\S]+?)%>/g,Nn=/<%=([\s\S]+?)%>/g,jn=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Pn=/^\w*$/,$n=/^\./,Rn=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ln=/[\\^$.*+?()[\]{}|]/g,In=RegExp(Ln.source),zn=/^\s+|\s+$/g,Un=/^\s+/,Dn=/\s+$/,qn=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Fn=/\{\n\/\* \[wrapped with (.+)\] \*/,Bn=/,? & /,Hn=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Wn=/\\(\\)?/g,Yn=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Vn=/\w*$/,Xn=/^[-+]0x[0-9a-f]+$/i,Gn=/^0b[01]+$/i,Jn=/^\[object .+?Constructor\]$/,Kn=/^0o[0-7]+$/i,Zn=/^(?:0|[1-9]\d*)$/,Qn=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,te=/($^)/,ne=/['\n\r\u2028\u2029\\]/g,ee="\\ud800-\\udfff",re="\\u0300-\\u036f",ie="\\ufe20-\\ufe2f",oe="\\u20d0-\\u20ff",ae=re+ie+oe,ue="\\u2700-\\u27bf",ce="a-z\\xdf-\\xf6\\xf8-\\xff",se="\\xac\\xb1\\xd7\\xf7",fe="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",le="\\u2000-\\u206f",he=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",pe="A-Z\\xc0-\\xd6\\xd8-\\xde",de="\\ufe0e\\ufe0f",ve=se+fe+le+he,ge="['’]",ye="["+ee+"]",_e="["+ve+"]",me="["+ae+"]",be="\\d+",xe="["+ue+"]",we="["+ce+"]",Me="[^"+ee+ve+be+ue+ce+pe+"]",ke="\\ud83c[\\udffb-\\udfff]",Ae="(?:"+me+"|"+ke+")",Ee="[^"+ee+"]",Ce="(?:\\ud83c[\\udde6-\\uddff]){2}",Se="[\\ud800-\\udbff][\\udc00-\\udfff]",Te="["+pe+"]",Oe="\\u200d",Ne="(?:"+we+"|"+Me+")",je="(?:"+Te+"|"+Me+")",Pe="(?:"+ge+"(?:d|ll|m|re|s|t|ve))?",$e="(?:"+ge+"(?:D|LL|M|RE|S|T|VE))?",Re=Ae+"?",Le="["+de+"]?",Ie="(?:"+Oe+"(?:"+[Ee,Ce,Se].join("|")+")"+Le+Re+")*",ze="\\d*(?:(?:1st|2nd|3rd|(?![123])\\dth)\\b)",Ue="\\d*(?:(?:1ST|2ND|3RD|(?![123])\\dTH)\\b)",De=Le+Re+Ie,qe="(?:"+[xe,Ce,Se].join("|")+")"+De,Fe="(?:"+[Ee+me+"?",me,Ce,Se,ye].join("|")+")",Be=RegExp(ge,"g"),He=RegExp(me,"g"),We=RegExp(ke+"(?="+ke+")|"+Fe+De,"g"),Ye=RegExp([Te+"?"+we+"+"+Pe+"(?="+[_e,Te,"$"].join("|")+")",je+"+"+$e+"(?="+[_e,Te+Ne,"$"].join("|")+")",Te+"?"+Ne+"+"+Pe,Te+"+"+$e,Ue,ze,be,qe].join("|"),"g"),Ve=RegExp("["+Oe+ee+ae+de+"]"),Xe=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Ge=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Je=-1,Ke={};Ke[pn]=Ke[dn]=Ke[vn]=Ke[gn]=Ke[yn]=Ke[_n]=Ke[mn]=Ke[bn]=Ke[xn]=!0,Ke[Ft]=Ke[Bt]=Ke[ln]=Ke[Wt]=Ke[hn]=Ke[Yt]=Ke[Xt]=Ke[Gt]=Ke[Kt]=Ke[Zt]=Ke[tn]=Ke[rn]=Ke[on]=Ke[an]=Ke[sn]=!1;var Ze={};Ze[Ft]=Ze[Bt]=Ze[ln]=Ze[hn]=Ze[Wt]=Ze[Yt]=Ze[pn]=Ze[dn]=Ze[vn]=Ze[gn]=Ze[yn]=Ze[Kt]=Ze[Zt]=Ze[tn]=Ze[rn]=Ze[on]=Ze[an]=Ze[un]=Ze[_n]=Ze[mn]=Ze[bn]=Ze[xn]=!0,Ze[Xt]=Ze[Gt]=Ze[sn]=!1;var Qe={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l", |
|
"ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"},tr={"&":"&","<":"<",">":">",'"':""","'":"'"},nr={"&":"&","<":"<",">":">",""":'"',"'":"'"},er={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},rr=parseFloat,ir=parseInt,or="object"==typeof t&&t&&t.Object===Object&&t,ar="object"==typeof self&&self&&self.Object===Object&&self,ur=or||ar||Function("return this")(),cr="object"==typeof n&&n&&!n.nodeType&&n,sr=cr&&"object"==typeof r&&r&&!r.nodeType&&r,fr=sr&&sr.exports===cr,lr=fr&&or.process,hr=function(){try{return lr&&lr.binding&&lr.binding("util")}catch(t){}}(),pr=hr&&hr.isArrayBuffer,dr=hr&&hr.isDate,vr=hr&&hr.isMap,gr=hr&&hr.isRegExp,yr=hr&&hr.isSet,_r=hr&&hr.isTypedArray,mr=S("length"),br=T(Qe),xr=T(tr),wr=T(nr),Mr=function t(n){function e(t){if(sc(t)&&!xh(t)&&!(t instanceof b)){if(t instanceof i)return t;if(xf.call(t,"__wrapped__"))return aa(t)}return new i(t)}function r(){}function i(t,n){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!n,this.__index__=0,this.__values__=it}function b(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=zt,this.__views__=[]}function T(){var t=new b(this.__wrapped__);return t.__actions__=Di(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Di(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Di(this.__views__),t}function K(){if(this.__filtered__){var t=new b(this);t.__dir__=-1,t.__filtered__=!0}else t=this.clone(),t.__dir__*=-1;return t}function nt(){var t=this.__wrapped__.value(),n=this.__dir__,e=xh(t),r=n<0,i=e?t.length:0,o=Oo(0,i,this.__views__),a=o.start,u=o.end,c=u-a,s=r?u:a-1,f=this.__iteratees__,l=f.length,h=0,p=Kf(c,this.__takeCount__);if(!e||!r&&i==c&&p==c)return xi(t,this.__actions__);var d=[];t:for(;c--&&h<p;){s+=n;for(var v=-1,g=t[s];++v<l;){var y=f[v],_=y.iteratee,m=y.type,b=_(g);if(m==jt)g=b;else if(!b){if(m==Nt)continue t;break t}}d[h++]=g}return d}function et(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}function Hn(){this.__data__=ul?ul(null):{},this.size=0}function ee(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n}function re(t){var n=this.__data__;if(ul){var e=n[t];return e===st?it:e}return xf.call(n,t)?n[t]:it}function ie(t){var n=this.__data__;return ul?n[t]!==it:xf.call(n,t)}function oe(t,n){var e=this.__data__;return this.size+=this.has(t)?0:1,e[t]=ul&&n===it?st:n,this}function ae(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}function ue(){this.__data__=[],this.size=0}function ce(t){var n=this.__data__,e=Pe(n,t);if(e<0)return!1;var r=n.length-1;return e==r?n.pop():Rf.call(n,e,1),--this.size,!0}function se(t){var n=this.__data__,e=Pe(n,t);return e<0?it:n[e][1]}function fe(t){return Pe(this.__data__,t)>-1}function le(t,n){var e=this.__data__,r=Pe(e,t);return r<0?(++this.size,e.push([t,n])):e[r][1]=n,this}function he(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}function pe(){this.size=0,this.__data__={hash:new et,map:new(rl||ae),string:new et}}function de(t){var n=Eo(this,t).delete(t);return this.size-=n?1:0,n}function ve(t){return Eo(this,t).get(t)}function ge(t){return Eo(this,t).has(t)}function ye(t,n){var e=Eo(this,t),r=e.size;return e.set(t,n),this.size+=e.size==r?0:1,this}function _e(t){var n=-1,e=null==t?0:t.length;for(this.__data__=new he;++n<e;)this.add(t[n])}function me(t){return this.__data__.set(t,st),this}function be(t){return this.__data__.has(t)}function xe(t){var n=this.__data__=new ae(t);this.size=n.size}function we(){this.__data__=new ae,this.size=0}function Me(t){var n=this.__data__,e=n.delete(t);return this.size=n.size,e}function ke(t){return this.__data__.get(t)}function Ae(t){return this.__data__.has(t)}function Ee(t,n){var e=this.__data__;if(e instanceof ae){var r=e.__data__;if(!rl||r.length<at-1)return r.push([t,n]),this.size=++e.size,this;e=this.__data__=new he(r)}return e.set(t,n),this.size=e.size,this}function Ce(t,n){var e=xh(t),r=!e&&bh(t),i=!e&&!r&&Mh(t),o=!e&&!r&&!i&&Sh(t),a=e||r||i||o,u=a?P(t.length,df):[],c=u.length;for(var s in t)!n&&!xf.call(t,s)||a&&("length"==s||i&&("offset"==s||"parent"==s)||o&&("buffer"==s||"byteLength"==s||"byteOffset"==s)||zo(s,c))||u.push(s);return u}function Se(t){var n=t.length;return n?t[ei(0,n-1)]:it}function Te(t,n){return ea(Di(t),Ue(n,0,t.length))}function Oe(t){return ea(Di(t))}function Ne(t,n,e){(e===it||Gu(t[n],e))&&(e!==it||n in t)||Ie(t,n,e)}function je(t,n,e){var r=t[n];xf.call(t,n)&&Gu(r,e)&&(e!==it||n in t)||Ie(t,n,e)}function Pe(t,n){for(var e=t.length;e--;)if(Gu(t[e][0],n))return e;return-1}function $e(t,n,e,r){return ml(t,function(t,i,o){n(r,t,e(t),o)}),r}function Re(t,n){return t&&qi(n,Hc(n),t)}function Le(t,n){return t&&qi(n,Wc(n),t)}function Ie(t,n,e){"__proto__"==n&&Uf?Uf(t,n,{configurable:!0,enumerable:!0,value:e,writable:!0}):t[n]=e}function ze(t,n){for(var e=-1,r=n.length,i=uf(r),o=null==t;++e<r;)i[e]=o?it:qc(t,n[e]);return i}function Ue(t,n,e){return t===t&&(e!==it&&(t=t<=e?t:e),n!==it&&(t=t>=n?t:n)),t}function De(t,n,e,r,i,o){var a,u=n&ht,c=n&pt,f=n&dt;if(e&&(a=i?e(t,r,i,o):e(t)),a!==it)return a;if(!cc(t))return t;var l=xh(t);if(l){if(a=Po(t),!u)return Di(t,a)}else{var h=Nl(t),p=h==Gt||h==Jt;if(Mh(t))return Si(t,u);if(h==tn||h==Ft||p&&!i){if(a=c||p?{}:$o(t),!u)return c?Bi(t,Le(a,t)):Fi(t,Re(a,t))}else{if(!Ze[h])return i?t:{};a=Ro(t,h,De,u)}}o||(o=new xe);var d=o.get(t);if(d)return d;o.set(t,a);var v=f?c?wo:xo:c?Wc:Hc,g=l?it:v(t);return s(g||t,function(r,i){g&&(i=r,r=t[i]),je(a,i,De(r,n,e,i,t,o))}),a}function qe(t){var n=Hc(t);return function(e){return Fe(e,t,n)}}function Fe(t,n,e){var r=e.length;if(null==t)return!r;for(t=hf(t);r--;){var i=e[r],o=n[i],a=t[i];if(a===it&&!(i in t)||!o(a))return!1}return!0}function We(t,n,e){if("function"!=typeof t)throw new vf(ct);return $l(function(){t.apply(it,e)},n)}function Ye(t,n,e,r){var i=-1,o=p,a=!0,u=t.length,c=[],s=n.length;if(!u)return c;e&&(n=v(n,R(e))),r?(o=d,a=!1):n.length>=at&&(o=I,a=!1,n=new _e(n));t:for(;++i<u;){var f=t[i],l=null==e?f:e(f);if(f=r||0!==f?f:0,a&&l===l){for(var h=s;h--;)if(n[h]===l)continue t;c.push(f)}else o(n,l,r)||c.push(f)}return c}function Ve(t,n){var e=!0;return ml(t,function(t,r,i){return e=!!n(t,r,i)}),e}function Xe(t,n,e){for(var r=-1,i=t.length;++r<i;){var o=t[r],a=n(o);if(null!=a&&(u===it?a===a&&!bc(a):e(a,u)))var u=a,c=o}return c}function Qe(t,n,e,r){var i=t.length;for(e=Ec(e),e<0&&(e=-e>i?0:i+e),r=r===it||r>i?i:Ec(r),r<0&&(r+=i),r=e>r?0:Cc(r);e<r;)t[e++]=n;return t}function tr(t,n){var e=[];return ml(t,function(t,r,i){n(t,r,i)&&e.push(t)}),e}function nr(t,n,e,r,i){var o=-1,a=t.length;for(e||(e=Io),i||(i=[]);++o<a;){var u=t[o];n>0&&e(u)?n>1?nr(u,n-1,e,r,i):g(i,u):r||(i[i.length]=u)}return i}function er(t,n){return t&&xl(t,n,Hc)}function or(t,n){return t&&wl(t,n,Hc)}function ar(t,n){return h(n,function(n){return oc(t[n])})}function cr(t,n){n=Ei(n,t);for(var e=0,r=n.length;null!=t&&e<r;)t=t[ra(n[e++])];return e&&e==r?t:it}function sr(t,n,e){var r=n(t);return xh(t)?r:g(r,e(t))}function lr(t){return null==t?t===it?cn:Qt:zf&&zf in hf(t)?To(t):Jo(t)}function hr(t,n){return t>n}function mr(t,n){return null!=t&&xf.call(t,n)}function Mr(t,n){return null!=t&&n in hf(t)}function Ar(t,n,e){return t>=Kf(n,e)&&t<Jf(n,e)}function Er(t,n,e){for(var r=e?d:p,i=t[0].length,o=t.length,a=o,u=uf(o),c=1/0,s=[];a--;){var f=t[a];a&&n&&(f=v(f,R(n))),c=Kf(f.length,c),u[a]=!e&&(n||i>=120&&f.length>=120)?new _e(a&&f):it}f=t[0];var l=-1,h=u[0];t:for(;++l<i&&s.length<c;){var g=f[l],y=n?n(g):g;if(g=e||0!==g?g:0,!(h?I(h,y):r(s,y,e))){for(a=o;--a;){var _=u[a];if(!(_?I(_,y):r(t[a],y,e)))continue t}h&&h.push(y),s.push(g)}}return s}function Cr(t,n,e,r){return er(t,function(t,i,o){n(r,e(t),i,o)}),r}function Sr(t,n,e){n=Ei(n,t),t=Zo(t,n);var r=null==t?t:t[ra(Aa(n))];return null==r?it:u(r,t,e)}function Tr(t){return sc(t)&&lr(t)==Ft}function Or(t){return sc(t)&&lr(t)==ln}function Nr(t){return sc(t)&&lr(t)==Yt}function jr(t,n,e,r,i){return t===n||(null==t||null==n||!sc(t)&&!sc(n)?t!==t&&n!==n:Pr(t,n,e,r,jr,i))}function Pr(t,n,e,r,i,o){var a=xh(t),u=xh(n),c=a?Bt:Nl(t),s=u?Bt:Nl(n);c=c==Ft?tn:c,s=s==Ft?tn:s;var f=c==tn,l=s==tn,h=c==s;if(h&&Mh(t)){if(!Mh(n))return!1;a=!0,f=!1}if(h&&!f)return o||(o=new xe),a||Sh(t)?yo(t,n,e,r,i,o):_o(t,n,c,e,r,i,o);if(!(e&vt)){var p=f&&xf.call(t,"__wrapped__"),d=l&&xf.call(n,"__wrapped__");if(p||d){var v=p?t.value():t,g=d?n.value():n;return o||(o=new xe),i(v,g,e,r,o)}}return!!h&&(o||(o=new xe),mo(t,n,e,r,i,o))}function $r(t){return sc(t)&&Nl(t)==Kt}function Rr(t,n,e,r){var i=e.length,o=i,a=!r;if(null==t)return!o;for(t=hf(t);i--;){var u=e[i];if(a&&u[2]?u[1]!==t[u[0]]:!(u[0]in t))return!1}for(;++i<o;){u=e[i];var c=u[0],s=t[c],f=u[1];if(a&&u[2]){if(s===it&&!(c in t))return!1}else{var l=new xe;if(r)var h=r(s,f,c,t,n,l);if(!(h===it?jr(f,s,vt|gt,r,l):h))return!1}}return!0}function Lr(t){if(!cc(t)||Bo(t))return!1;var n=oc(t)?Cf:Jn;return n.test(ia(t))}function Ir(t){return sc(t)&&lr(t)==rn}function zr(t){return sc(t)&&Nl(t)==on}function Ur(t){return sc(t)&&uc(t.length)&&!!Ke[lr(t)]}function Dr(t){return"function"==typeof t?t:null==t?$s:"object"==typeof t?xh(t)?Yr(t[0],t[1]):Wr(t):Fs(t)}function qr(t){if(!Ho(t))return Gf(t);var n=[];for(var e in hf(t))xf.call(t,e)&&"constructor"!=e&&n.push(e);return n}function Fr(t){if(!cc(t))return Go(t);var n=Ho(t),e=[];for(var r in t)("constructor"!=r||!n&&xf.call(t,r))&&e.push(r);return e}function Br(t,n){return t<n}function Hr(t,n){var e=-1,r=Ju(t)?uf(t.length):[];return ml(t,function(t,i,o){r[++e]=n(t,i,o)}),r}function Wr(t){var n=Co(t);return 1==n.length&&n[0][2]?Yo(n[0][0],n[0][1]):function(e){return e===t||Rr(e,t,n)}}function Yr(t,n){return Do(t)&&Wo(n)?Yo(ra(t),n):function(e){var r=qc(e,t);return r===it&&r===n?Bc(e,t):jr(n,r,vt|gt)}}function Vr(t,n,e,r,i){t!==n&&xl(n,function(o,a){if(cc(o))i||(i=new xe),Xr(t,n,a,e,Vr,r,i);else{var u=r?r(t[a],o,a+"",t,n,i):it;u===it&&(u=o),Ne(t,a,u)}},Wc)}function Xr(t,n,e,r,i,o,a){var u=t[e],c=n[e],s=a.get(c);if(s)return void Ne(t,e,s);var f=o?o(u,c,e+"",t,n,a):it,l=f===it;if(l){var h=xh(c),p=!h&&Mh(c),d=!h&&!p&&Sh(c);f=c,h||p||d?xh(u)?f=u:Ku(u)?f=Di(u):p?(l=!1,f=Si(c,!0)):d?(l=!1,f=Ri(c,!0)):f=[]:yc(c)||bh(c)?(f=u,bh(u)?f=Tc(u):(!cc(u)||r&&oc(u))&&(f=$o(c))):l=!1}l&&(a.set(c,f),i(f,c,r,o,a),a.delete(c)),Ne(t,e,f)}function Gr(t,n){var e=t.length;if(e)return n+=n<0?e:0,zo(n,e)?t[n]:it}function Jr(t,n,e){var r=-1;n=v(n.length?n:[$s],R(Ao()));var i=Hr(t,function(t,e,i){var o=v(n,function(n){return n(t)});return{criteria:o,index:++r,value:t}});return N(i,function(t,n){return Ii(t,n,e)})}function Kr(t,n){return Zr(t,n,function(n,e){return Bc(t,e)})}function Zr(t,n,e){for(var r=-1,i=n.length,o={};++r<i;){var a=n[r],u=cr(t,a);e(u,a)&&ci(o,Ei(a,t),u)}return o}function Qr(t){return function(n){return cr(n,t)}}function ti(t,n,e,r){var i=r?A:k,o=-1,a=n.length,u=t;for(t===n&&(n=Di(n)),e&&(u=v(t,R(e)));++o<a;)for(var c=0,s=n[o],f=e?e(s):s;(c=i(u,f,c,r))>-1;)u!==t&&Rf.call(u,c,1),Rf.call(t,c,1);return t}function ni(t,n){for(var e=t?n.length:0,r=e-1;e--;){var i=n[e];if(e==r||i!==o){var o=i;zo(i)?Rf.call(t,i,1):_i(t,i)}}return t}function ei(t,n){return t+Hf(tl()*(n-t+1))}function ri(t,n,e,r){for(var i=-1,o=Jf(Bf((n-t)/(e||1)),0),a=uf(o);o--;)a[r?o:++i]=t,t+=e;return a}function ii(t,n){var e="";if(!t||n<1||n>Rt)return e;do n%2&&(e+=t),n=Hf(n/2),n&&(t+=t);while(n);return e}function oi(t,n){return Rl(Ko(t,n,$s),t+"")}function ai(t){return Se(rs(t))}function ui(t,n){var e=rs(t);return ea(e,Ue(n,0,e.length))}function ci(t,n,e,r){if(!cc(t))return t;n=Ei(n,t);for(var i=-1,o=n.length,a=o-1,u=t;null!=u&&++i<o;){var c=ra(n[i]),s=e;if(i!=a){var f=u[c];s=r?r(f,c,u):it,s===it&&(s=cc(f)?f:zo(n[i+1])?[]:{})}je(u,c,s),u=u[c]}return t}function si(t){return ea(rs(t))}function fi(t,n,e){var r=-1,i=t.length;n<0&&(n=-n>i?0:i+n),e=e>i?i:e,e<0&&(e+=i),i=n>e?0:e-n>>>0,n>>>=0;for(var o=uf(i);++r<i;)o[r]=t[r+n];return o}function li(t,n){var e;return ml(t,function(t,r,i){return e=n(t,r,i),!e}),!!e}function hi(t,n,e){var r=0,i=null==t?r:t.length;if("number"==typeof n&&n===n&&i<=Dt){for(;r<i;){var o=r+i>>>1,a=t[o];null!==a&&!bc(a)&&(e?a<=n:a<n)?r=o+1:i=o}return i}return pi(t,n,$s,e)}function pi(t,n,e,r){n=e(n);for(var i=0,o=null==t?0:t.length,a=n!==n,u=null===n,c=bc(n),s=n===it;i<o;){var f=Hf((i+o)/2),l=e(t[f]),h=l!==it,p=null===l,d=l===l,v=bc(l);if(a)var g=r||d;else g=s?d&&(r||h):u?d&&h&&(r||!p):c?d&&h&&!p&&(r||!v):!p&&!v&&(r?l<=n:l<n);g?i=f+1:o=f}return Kf(o,Ut)}function di(t,n){for(var e=-1,r=t.length,i=0,o=[];++e<r;){var a=t[e],u=n?n(a):a;if(!e||!Gu(u,c)){var c=u;o[i++]=0===a?0:a}}return o}function vi(t){return"number"==typeof t?t:bc(t)?It:+t}function gi(t){if("string"==typeof t)return t;if(xh(t))return v(t,gi)+"";if(bc(t))return yl?yl.call(t):"";var n=t+"";return"0"==n&&1/t==-$t?"-0":n}function yi(t,n,e){var r=-1,i=p,o=t.length,a=!0,u=[],c=u;if(e)a=!1,i=d;else if(o>=at){var s=n?null:Cl(t);if(s)return G(s);a=!1,i=I,c=new _e}else c=n?[]:u;t:for(;++r<o;){var f=t[r],l=n?n(f):f;if(f=e||0!==f?f:0,a&&l===l){for(var h=c.length;h--;)if(c[h]===l)continue t;n&&c.push(l),u.push(f)}else i(c,l,e)||(c!==u&&c.push(l),u.push(f))}return u}function _i(t,n){return n=Ei(n,t),t=Zo(t,n),null==t||delete t[ra(Aa(n))]}function mi(t,n,e,r){return ci(t,n,e(cr(t,n)),r)}function bi(t,n,e,r){for(var i=t.length,o=r?i:-1;(r?o--:++o<i)&&n(t[o],o,t););return e?fi(t,r?0:o,r?o+1:i):fi(t,r?o+1:0,r?i:o)}function xi(t,n){var e=t;return e instanceof b&&(e=e.value()),y(n,function(t,n){return n.func.apply(n.thisArg,g([t],n.args))},e)}function wi(t,n,e){var r=t.length;if(r<2)return r?yi(t[0]):[];for(var i=-1,o=uf(r);++i<r;)for(var a=t[i],u=-1;++u<r;)u!=i&&(o[i]=Ye(o[i]||a,t[u],n,e));return yi(nr(o,1),n,e)}function Mi(t,n,e){for(var r=-1,i=t.length,o=n.length,a={};++r<i;){var u=r<o?n[r]:it;e(a,t[r],u)}return a}function ki(t){return Ku(t)?t:[]}function Ai(t){return"function"==typeof t?t:$s}function Ei(t,n){return xh(t)?t:Do(t,n)?[t]:Ll(Nc(t))}function Ci(t,n,e){var r=t.length;return e=e===it?r:e,!n&&e>=r?t:fi(t,n,e)}function Si(t,n){if(n)return t.slice();var e=t.length,r=Nf?Nf(e):new t.constructor(e);return t.copy(r),r}function Ti(t){var n=new t.constructor(t.byteLength);return new Of(n).set(new Of(t)),n}function Oi(t,n){var e=n?Ti(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.byteLength)}function Ni(t,n,e){var r=n?e(Y(t),ht):Y(t);return y(r,o,new t.constructor)}function ji(t){var n=new t.constructor(t.source,Vn.exec(t));return n.lastIndex=t.lastIndex,n}function Pi(t,n,e){var r=n?e(G(t),ht):G(t);return y(r,a,new t.constructor)}function $i(t){return gl?hf(gl.call(t)):{}}function Ri(t,n){var e=n?Ti(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.length)}function Li(t,n){if(t!==n){var e=t!==it,r=null===t,i=t===t,o=bc(t),a=n!==it,u=null===n,c=n===n,s=bc(n);if(!u&&!s&&!o&&t>n||o&&a&&c&&!u&&!s||r&&a&&c||!e&&c||!i)return 1;if(!r&&!o&&!s&&t<n||s&&e&&i&&!r&&!o||u&&e&&i||!a&&i||!c)return-1}return 0}function Ii(t,n,e){for(var r=-1,i=t.criteria,o=n.criteria,a=i.length,u=e.length;++r<a;){var c=Li(i[r],o[r]);if(c){if(r>=u)return c;var s=e[r];return c*("desc"==s?-1:1)}}return t.index-n.index}function zi(t,n,e,r){for(var i=-1,o=t.length,a=e.length,u=-1,c=n.length,s=Jf(o-a,0),f=uf(c+s),l=!r;++u<c;)f[u]=n[u];for(;++i<a;)(l||i<o)&&(f[e[i]]=t[i]);for(;s--;)f[u++]=t[i++];return f}function Ui(t,n,e,r){for(var i=-1,o=t.length,a=-1,u=e.length,c=-1,s=n.length,f=Jf(o-u,0),l=uf(f+s),h=!r;++i<f;)l[i]=t[i];for(var p=i;++c<s;)l[p+c]=n[c];for(;++a<u;)(h||i<o)&&(l[p+e[a]]=t[i++]);return l}function Di(t,n){var e=-1,r=t.length;for(n||(n=uf(r));++e<r;)n[e]=t[e];return n}function qi(t,n,e,r){var i=!e;e||(e={});for(var o=-1,a=n.length;++o<a;){var u=n[o],c=r?r(e[u],t[u],u,e,t):it;c===it&&(c=t[u]),i?Ie(e,u,c):je(e,u,c)}return e}function Fi(t,n){return qi(t,Tl(t),n)}function Bi(t,n){return qi(t,Ol(t),n)}function Hi(t,n){return function(e,r){var i=xh(e)?c:$e,o=n?n():{};return i(e,t,Ao(r,2),o)}}function Wi(t){return oi(function(n,e){var r=-1,i=e.length,o=i>1?e[i-1]:it,a=i>2?e[2]:it;for(o=t.length>3&&"function"==typeof o?(i--,o):it,a&&Uo(e[0],e[1],a)&&(o=i<3?it:o,i=1),n=hf(n);++r<i;){var u=e[r];u&&t(n,u,r,o)}return n})}function Yi(t,n){return function(e,r){if(null==e)return e;if(!Ju(e))return t(e,r);for(var i=e.length,o=n?i:-1,a=hf(e);(n?o--:++o<i)&&r(a[o],o,a)!==!1;);return e}}function Vi(t){return function(n,e,r){for(var i=-1,o=hf(n),a=r(n),u=a.length;u--;){var c=a[t?u:++i];if(e(o[c],c,o)===!1)break}return n}}function Xi(t,n,e){function r(){var n=this&&this!==ur&&this instanceof r?o:t;return n.apply(i?e:this,arguments)}var i=n&yt,o=Ki(t);return r}function Gi(t){return function(n){n=Nc(n);var e=B(n)?tt(n):it,r=e?e[0]:n.charAt(0),i=e?Ci(e,1).join(""):n.slice(1);return r[t]()+i}}function Ji(t){return function(n){return y(Ts(ss(n).replace(Be,"")),t,"")}}function Ki(t){return function(){var n=arguments;switch(n.length){case 0:return new t;case 1:return new t(n[0]);case 2:return new t(n[0],n[1]);case 3:return new t(n[0],n[1],n[2]);case 4:return new t(n[0],n[1],n[2],n[3]);case 5:return new t(n[0],n[1],n[2],n[3],n[4]);case 6:return new t(n[0],n[1],n[2],n[3],n[4],n[5]);case 7:return new t(n[0],n[1],n[2],n[3],n[4],n[5],n[6])}var e=_l(t.prototype),r=t.apply(e,n);return cc(r)?r:e}}function Zi(t,n,e){function r(){for(var o=arguments.length,a=uf(o),c=o,s=ko(r);c--;)a[c]=arguments[c];var f=o<3&&a[0]!==s&&a[o-1]!==s?[]:X(a,s);if(o-=f.length,o<e)return so(t,n,no,r.placeholder,it,a,f,it,it,e-o);var l=this&&this!==ur&&this instanceof r?i:t;return u(l,this,a)}var i=Ki(t);return r}function Qi(t){return function(n,e,r){var i=hf(n);if(!Ju(n)){var o=Ao(e,3);n=Hc(n),e=function(t){return o(i[t],t,i)}}var a=t(n,e,r);return a>-1?i[o?n[a]:a]:it}}function to(t){return bo(function(n){var e=n.length,r=e,o=i.prototype.thru;for(t&&n.reverse();r--;){var a=n[r];if("function"!=typeof a)throw new vf(ct);if(o&&!u&&"wrapper"==Mo(a))var u=new i([],!0)}for(r=u?r:e;++r<e;){a=n[r];var c=Mo(a),s="wrapper"==c?Sl(a):it;u=s&&Fo(s[0])&&s[1]==(kt|bt|wt|At)&&!s[4].length&&1==s[9]?u[Mo(s[0])].apply(u,s[3]):1==a.length&&Fo(a)?u[c]():u.thru(a)}return function(){var t=arguments,r=t[0];if(u&&1==t.length&&xh(r))return u.plant(r).value();for(var i=0,o=e?n[i].apply(this,t):r;++i<e;)o=n[i].call(this,o);return o}})}function no(t,n,e,r,i,o,a,u,c,s){function f(){for(var y=arguments.length,_=uf(y),m=y;m--;)_[m]=arguments[m];if(d)var b=ko(f),x=D(_,b);if(r&&(_=zi(_,r,i,d)),o&&(_=Ui(_,o,a,d)),y-=x,d&&y<s){var w=X(_,b);return so(t,n,no,f.placeholder,e,_,w,u,c,s-y)}var M=h?e:this,k=p?M[t]:t;return y=_.length,u?_=Qo(_,u):v&&y>1&&_.reverse(),l&&c<y&&(_.length=c),this&&this!==ur&&this instanceof f&&(k=g||Ki(k)),k.apply(M,_)}var l=n&kt,h=n&yt,p=n&_t,d=n&(bt|xt),v=n&Et,g=p?it:Ki(t);return f}function eo(t,n){return function(e,r){return Cr(e,t,n(r),{})}}function ro(t,n){return function(e,r){var i;if(e===it&&r===it)return n;if(e!==it&&(i=e),r!==it){if(i===it)return r;"string"==typeof e||"string"==typeof r?(e=gi(e),r=gi(r)):(e=vi(e),r=vi(r)),i=t(e,r)}return i}}function io(t){return bo(function(n){return n=v(n,R(Ao())),oi(function(e){var r=this;return t(n,function(t){return u(t,r,e)})})})}function oo(t,n){n=n===it?" ":gi(n);var e=n.length;if(e<2)return e?ii(n,t):n;var r=ii(n,Bf(t/Q(n)));return B(n)?Ci(tt(r),0,t).join(""):r.slice(0,t)}function ao(t,n,e,r){function i(){for(var n=-1,c=arguments.length,s=-1,f=r.length,l=uf(f+c),h=this&&this!==ur&&this instanceof i?a:t;++s<f;)l[s]=r[s];for(;c--;)l[s++]=arguments[++n];return u(h,o?e:this,l)}var o=n&yt,a=Ki(t);return i}function uo(t){return function(n,e,r){return r&&"number"!=typeof r&&Uo(n,e,r)&&(e=r=it),n=Ac(n),e===it?(e=n,n=0):e=Ac(e),r=r===it?n<e?1:-1:Ac(r),ri(n,e,r,t)}}function co(t){return function(n,e){return"string"==typeof n&&"string"==typeof e||(n=Sc(n),e=Sc(e)),t(n,e)}}function so(t,n,e,r,i,o,a,u,c,s){var f=n&bt,l=f?a:it,h=f?it:a,p=f?o:it,d=f?it:o;n|=f?wt:Mt,n&=~(f?Mt:wt),n&mt||(n&=~(yt|_t));var v=[t,n,i,p,l,d,h,u,c,s],g=e.apply(it,v);return Fo(t)&&Pl(g,v),g.placeholder=r,ta(g,t,n)}function fo(t){var n=lf[t];return function(t,e){if(t=Sc(t),e=null==e?0:Kf(Ec(e),292)){var r=(Nc(t)+"e").split("e"),i=n(r[0]+"e"+(+r[1]+e));return r=(Nc(i)+"e").split("e"),+(r[0]+"e"+(+r[1]-e))}return n(t)}}function lo(t){return function(n){var e=Nl(n);return e==Kt?Y(n):e==on?J(n):$(n,t(n))}}function ho(t,n,e,r,i,o,a,u){var c=n&_t;if(!c&&"function"!=typeof t)throw new vf(ct);var s=r?r.length:0;if(s||(n&=~(wt|Mt),r=i=it),a=a===it?a:Jf(Ec(a),0),u=u===it?u:Ec(u),s-=i?i.length:0,n&Mt){var f=r,l=i;r=i=it}var h=c?it:Sl(t),p=[t,n,e,r,i,f,l,o,a,u];if(h&&Xo(p,h),t=p[0],n=p[1],e=p[2],r=p[3],i=p[4],u=p[9]=p[9]===it?c?0:t.length:Jf(p[9]-s,0),!u&&n&(bt|xt)&&(n&=~(bt|xt)),n&&n!=yt)d=n==bt||n==xt?Zi(t,n,u):n!=wt&&n!=(yt|wt)||i.length?no.apply(it,p):ao(t,n,e,r);else var d=Xi(t,n,e);var v=h?Ml:Pl;return ta(v(d,p),t,n)}function po(t,n,e,r){return t===it||Gu(t,_f[e])&&!xf.call(r,e)?n:t}function vo(t,n,e,r,i,o){return cc(t)&&cc(n)&&(o.set(n,t),Vr(t,n,it,vo,o),o.delete(n)),t}function go(t){return yc(t)?it:t}function yo(t,n,e,r,i,o){var a=e&vt,u=t.length,c=n.length;if(u!=c&&!(a&&c>u))return!1;var s=o.get(t);if(s&&o.get(n))return s==n;var f=-1,l=!0,h=e>?new _e:it;for(o.set(t,n),o.set(n,t);++f<u;){var p=t[f],d=n[f];if(r)var v=a?r(d,p,f,n,t,o):r(p,d,f,t,n,o);if(v!==it){if(v)continue;l=!1;break}if(h){if(!m(n,function(t,n){if(!I(h,n)&&(p===t||i(p,t,e,r,o)))return h.push(n)})){l=!1;break}}else if(p!==d&&!i(p,d,e,r,o)){l=!1;break}}return o.delete(t),o.delete(n),l}function _o(t,n,e,r,i,o,a){switch(e){case hn:if(t.byteLength!=n.byteLength||t.byteOffset!=n.byteOffset)return!1;t=t.buffer,n=n.buffer;case ln:return!(t.byteLength!=n.byteLength||!o(new Of(t),new Of(n)));case Wt:case Yt:case Zt:return Gu(+t,+n);case Xt:return t.name==n.name&&t.message==n.message;case rn:case an:return t==n+"";case Kt:var u=Y;case on:var c=r&vt;if(u||(u=G),t.size!=n.size&&!c)return!1;var s=a.get(t);if(s)return s==n;r|=gt,a.set(t,n);var f=yo(u(t),u(n),r,i,o,a);return a.delete(t),f;case un:if(gl)return gl.call(t)==gl.call(n)}return!1}function mo(t,n,e,r,i,o){var a=e&vt,u=xo(t),c=u.length,s=xo(n),f=s.length;if(c!=f&&!a)return!1;for(var l=c;l--;){var h=u[l];if(!(a?h in n:xf.call(n,h)))return!1}var p=o.get(t);if(p&&o.get(n))return p==n;var d=!0;o.set(t,n),o.set(n,t);for(var v=a;++l<c;){h=u[l];var g=t[h],y=n[h];if(r)var _=a?r(y,g,h,n,t,o):r(g,y,h,t,n,o);if(!(_===it?g===y||i(g,y,e,r,o):_)){d=!1;break}v||(v="constructor"==h)}if(d&&!v){var m=t.constructor,b=n.constructor;m!=b&&"constructor"in t&&"constructor"in n&&!("function"==typeof m&&m instanceof m&&"function"==typeof b&&b instanceof b)&&(d=!1)}return o.delete(t),o.delete(n),d}function bo(t){return Rl(Ko(t,it,ya),t+"")}function xo(t){return sr(t,Hc,Tl)}function wo(t){return sr(t,Wc,Ol)}function Mo(t){for(var n=t.name+"",e=sl[n],r=xf.call(sl,n)?e.length:0;r--;){var i=e[r],o=i.func;if(null==o||o==t)return i.name}return n}function ko(t){var n=xf.call(e,"placeholder")?e:t;return n.placeholder}function Ao(){var t=e.iteratee||Rs;return t=t===Rs?Dr:t,arguments.length?t(arguments[0],arguments[1]):t}function Eo(t,n){var e=t.__data__;return qo(n)?e["string"==typeof n?"string":"hash"]:e.map}function Co(t){for(var n=Hc(t),e=n.length;e--;){var r=n[e],i=t[r];n[e]=[r,i,Wo(i)]}return n}function So(t,n){var e=F(t,n);return Lr(e)?e:it}function To(t){var n=xf.call(t,zf),e=t[zf];try{t[zf]=it;var r=!0}catch(t){}var i=kf.call(t);return r&&(n?t[zf]=e:delete t[zf]),i}function Oo(t,n,e){for(var r=-1,i=e.length;++r<i;){var o=e[r],a=o.size;switch(o.type){case"drop":t+=a;break;case"dropRight":n-=a;break;case"take":n=Kf(n,t+a);break;case"takeRight":t=Jf(t,n-a)}}return{start:t,end:n}}function No(t){var n=t.match(Fn);return n?n[1].split(Bn):[]}function jo(t,n,e){n=Ei(n,t);for(var r=-1,i=n.length,o=!1;++r<i;){var a=ra(n[r]);if(!(o=null!=t&&e(t,a)))break;t=t[a]}return o||++r!=i?o:(i=null==t?0:t.length,!!i&&uc(i)&&zo(a,i)&&(xh(t)||bh(t)))}function Po(t){var n=t.length,e=t.constructor(n);return n&&"string"==typeof t[0]&&xf.call(t,"index")&&(e.index=t.index,e.input=t.input),e}function $o(t){return"function"!=typeof t.constructor||Ho(t)?{}:_l(jf(t))}function Ro(t,n,e,r){var i=t.constructor;switch(n){case ln:return Ti(t);case Wt:case Yt:return new i(+t);case hn:return Oi(t,r);case pn:case dn:case vn:case gn:case yn:case _n:case mn:case bn:case xn:return Ri(t,r);case Kt:return Ni(t,r,e);case Zt:case an:return new i(t);case rn:return ji(t);case on:return Pi(t,r,e);case un:return $i(t)}}function Lo(t,n){var e=n.length;if(!e)return t;var r=e-1;return n[r]=(e>1?"& ":"")+n[r],n=n.join(e>2?", ":" "),t.replace(qn,"{\n/* [wrapped with "+n+"] */\n")}function Io(t){return xh(t)||bh(t)||!!(Lf&&t&&t[Lf])}function zo(t,n){return n=null==n?Rt:n,!!n&&("number"==typeof t||Zn.test(t))&&t>-1&&t%1==0&&t<n}function Uo(t,n,e){if(!cc(e))return!1;var r=typeof n;return!!("number"==r?Ju(e)&&zo(n,e.length):"string"==r&&n in e)&&Gu(e[n],t)}function Do(t,n){if(xh(t))return!1;var e=typeof t;return!("number"!=e&&"symbol"!=e&&"boolean"!=e&&null!=t&&!bc(t))||(Pn.test(t)||!jn.test(t)||null!=n&&t in hf(n))}function qo(t){var n=typeof t;return"string"==n||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==t:null===t}function Fo(t){var n=Mo(t),r=e[n];if("function"!=typeof r||!(n in b.prototype))return!1;if(t===r)return!0;var i=Sl(r);return!!i&&t===i[0]}function Bo(t){return!!Mf&&Mf in t}function Ho(t){var n=t&&t.constructor,e="function"==typeof n&&n.prototype||_f;return t===e}function Wo(t){return t===t&&!cc(t)}function Yo(t,n){return function(e){return null!=e&&(e[t]===n&&(n!==it||t in hf(e)))}}function Vo(t){var n=Ru(t,function(t){return e.size===ft&&e.clear(),t}),e=n.cache;return n}function Xo(t,n){var e=t[1],r=n[1],i=e|r,o=i<(yt|_t|kt),a=r==kt&&e==bt||r==kt&&e==At&&t[7].length<=n[8]||r==(kt|At)&&n[7].length<=n[8]&&e==bt;if(!o&&!a)return t;r&yt&&(t[2]=n[2],i|=e&yt?0:mt);var u=n[3];if(u){var c=t[3];t[3]=c?zi(c,u,n[4]):u,t[4]=c?X(t[3],lt):n[4]}return u=n[5],u&&(c=t[5],t[5]=c?Ui(c,u,n[6]):u,t[6]=c?X(t[5],lt):n[6]),u=n[7],u&&(t[7]=u),r&kt&&(t[8]=null==t[8]?n[8]:Kf(t[8],n[8])),null==t[9]&&(t[9]=n[9]),t[0]=n[0],t[1]=i,t}function Go(t){var n=[];if(null!=t)for(var e in hf(t))n.push(e);return n}function Jo(t){return kf.call(t)}function Ko(t,n,e){return n=Jf(n===it?t.length-1:n,0),function(){for(var r=arguments,i=-1,o=Jf(r.length-n,0),a=uf(o);++i<o;)a[i]=r[n+i];i=-1;for(var c=uf(n+1);++i<n;)c[i]=r[i];return c[n]=e(a),u(t,this,c)}}function Zo(t,n){return n.length<2?t:cr(t,fi(n,0,-1))}function Qo(t,n){for(var e=t.length,r=Kf(n.length,e),i=Di(t);r--;){var o=n[r];t[r]=zo(o,e)?i[o]:it}return t}function ta(t,n,e){var r=n+"";return Rl(t,Lo(r,oa(No(r),e)))}function na(t){var n=0,e=0;return function(){var r=Zf(),i=Ot-(r-e);if(e=r,i>0){if(++n>=Tt)return arguments[0]}else n=0;return t.apply(it,arguments)}}function ea(t,n){var e=-1,r=t.length,i=r-1;for(n=n===it?r:n;++e<n;){var o=ei(e,i),a=t[o];t[o]=t[e],t[e]=a}return t.length=n,t}function ra(t){if("string"==typeof t||bc(t))return t;var n=t+"";return"0"==n&&1/t==-$t?"-0":n}function ia(t){if(null!=t){try{return bf.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function oa(t,n){return s(qt,function(e){var r="_."+e[0];n&e[1]&&!p(t,r)&&t.push(r)}),t.sort()}function aa(t){if(t instanceof b)return t.clone();var n=new i(t.__wrapped__,t.__chain__);return n.__actions__=Di(t.__actions__),n.__index__=t.__index__,n.__values__=t.__values__,n}function ua(t,n,e){n=(e?Uo(t,n,e):n===it)?1:Jf(Ec(n),0);var r=null==t?0:t.length;if(!r||n<1)return[];for(var i=0,o=0,a=uf(Bf(r/n));i<r;)a[o++]=fi(t,i,i+=n);return a}function ca(t){for(var n=-1,e=null==t?0:t.length,r=0,i=[];++n<e;){var o=t[n];o&&(i[r++]=o)}return i}function sa(){var t=arguments.length;if(!t)return[];for(var n=uf(t-1),e=arguments[0],r=t;r--;)n[r-1]=arguments[r];return g(xh(e)?Di(e):[e],nr(n,1))}function fa(t,n,e){var r=null==t?0:t.length;return r?(n=e||n===it?1:Ec(n),fi(t,n<0?0:n,r)):[]}function la(t,n,e){var r=null==t?0:t.length;return r?(n=e||n===it?1:Ec(n),n=r-n,fi(t,0,n<0?0:n)):[]}function ha(t,n){return t&&t.length?bi(t,Ao(n,3),!0,!0):[]}function pa(t,n){return t&&t.length?bi(t,Ao(n,3),!0):[]}function da(t,n,e,r){var i=null==t?0:t.length;return i?(e&&"number"!=typeof e&&Uo(t,n,e)&&(e=0,r=i),Qe(t,n,e,r)):[]}function va(t,n,e){var r=null==t?0:t.length;if(!r)return-1;var i=null==e?0:Ec(e);return i<0&&(i=Jf(r+i,0)),M(t,Ao(n,3),i)}function ga(t,n,e){var r=null==t?0:t.length;if(!r)return-1;var i=r-1;return e!==it&&(i=Ec(e),i=e<0?Jf(r+i,0):Kf(i,r-1)),M(t,Ao(n,3),i,!0)}function ya(t){var n=null==t?0:t.length;return n?nr(t,1):[]}function _a(t){var n=null==t?0:t.length;return n?nr(t,$t):[]}function ma(t,n){var e=null==t?0:t.length;return e?(n=n===it?1:Ec(n),nr(t,n)):[]}function ba(t){for(var n=-1,e=null==t?0:t.length,r={};++n<e;){var i=t[n];r[i[0]]=i[1]}return r}function xa(t){return t&&t.length?t[0]:it}function wa(t,n,e){var r=null==t?0:t.length;if(!r)return-1;var i=null==e?0:Ec(e);return i<0&&(i=Jf(r+i,0)),k(t,n,i)}function Ma(t){var n=null==t?0:t.length;return n?fi(t,0,-1):[]}function ka(t,n){return null==t?"":Xf.call(t,n)}function Aa(t){var n=null==t?0:t.length;return n?t[n-1]:it}function Ea(t,n,e){var r=null==t?0:t.length;if(!r)return-1;var i=r;return e!==it&&(i=Ec(e),i=i<0?Jf(r+i,0):Kf(i,r-1)),n===n?Z(t,n,i):M(t,E,i,!0)}function Ca(t,n){return t&&t.length?Gr(t,Ec(n)):it}function Sa(t,n){return t&&t.length&&n&&n.length?ti(t,n):t}function Ta(t,n,e){return t&&t.length&&n&&n.length?ti(t,n,Ao(e,2)):t}function Oa(t,n,e){return t&&t.length&&n&&n.length?ti(t,n,it,e):t}function Na(t,n){var e=[];if(!t||!t.length)return e;var r=-1,i=[],o=t.length;for(n=Ao(n,3);++r<o;){var a=t[r];n(a,r,t)&&(e.push(a),i.push(r))}return ni(t,i),e}function ja(t){return null==t?t:nl.call(t)}function Pa(t,n,e){var r=null==t?0:t.length;return r?(e&&"number"!=typeof e&&Uo(t,n,e)?(n=0,e=r):(n=null==n?0:Ec(n),e=e===it?r:Ec(e)),fi(t,n,e)):[]}function $a(t,n){return hi(t,n)}function Ra(t,n,e){return pi(t,n,Ao(e,2))}function La(t,n){var e=null==t?0:t.length;if(e){var r=hi(t,n);if(r<e&&Gu(t[r],n))return r}return-1}function Ia(t,n){return hi(t,n,!0)}function za(t,n,e){return pi(t,n,Ao(e,2),!0)}function Ua(t,n){var e=null==t?0:t.length;if(e){var r=hi(t,n,!0)-1;if(Gu(t[r],n))return r}return-1}function Da(t){return t&&t.length?di(t):[]}function qa(t,n){return t&&t.length?di(t,Ao(n,2)):[]}function Fa(t){var n=null==t?0:t.length;return n?fi(t,1,n):[]}function Ba(t,n,e){return t&&t.length?(n=e||n===it?1:Ec(n),fi(t,0,n<0?0:n)):[]}function Ha(t,n,e){var r=null==t?0:t.length;return r?(n=e||n===it?1:Ec(n),n=r-n,fi(t,n<0?0:n,r)):[]}function Wa(t,n){return t&&t.length?bi(t,Ao(n,3),!1,!0):[]}function Ya(t,n){return t&&t.length?bi(t,Ao(n,3)):[]}function Va(t){return t&&t.length?yi(t):[]}function Xa(t,n){return t&&t.length?yi(t,Ao(n,2)):[]}function Ga(t,n){return n="function"==typeof n?n:it,t&&t.length?yi(t,it,n):[]}function Ja(t){if(!t||!t.length)return[];var n=0;return t=h(t,function(t){if(Ku(t))return n=Jf(t.length,n),!0}),P(n,function(n){return v(t,S(n))})}function Ka(t,n){if(!t||!t.length)return[];var e=Ja(t);return null==n?e:v(e,function(t){return u(n,it,t)})}function Za(t,n){return Mi(t||[],n||[],je)}function Qa(t,n){return Mi(t||[],n||[],ci)}function tu(t){var n=e(t);return n.__chain__=!0,n}function nu(t,n){return n(t),t}function eu(t,n){return n(t)}function ru(){return tu(this)}function iu(){return new i(this.value(),this.__chain__)}function ou(){this.__values__===it&&(this.__values__=kc(this.value()));var t=this.__index__>=this.__values__.length,n=t?it:this.__values__[this.__index__++];return{done:t, |
|
value:n}}function au(){return this}function uu(t){for(var n,e=this;e instanceof r;){var i=aa(e);i.__index__=0,i.__values__=it,n?o.__wrapped__=i:n=i;var o=i;e=e.__wrapped__}return o.__wrapped__=t,n}function cu(){var t=this.__wrapped__;if(t instanceof b){var n=t;return this.__actions__.length&&(n=new b(this)),n=n.reverse(),n.__actions__.push({func:eu,args:[ja],thisArg:it}),new i(n,this.__chain__)}return this.thru(ja)}function su(){return xi(this.__wrapped__,this.__actions__)}function fu(t,n,e){var r=xh(t)?l:Ve;return e&&Uo(t,n,e)&&(n=it),r(t,Ao(n,3))}function lu(t,n){var e=xh(t)?h:tr;return e(t,Ao(n,3))}function hu(t,n){return nr(_u(t,n),1)}function pu(t,n){return nr(_u(t,n),$t)}function du(t,n,e){return e=e===it?1:Ec(e),nr(_u(t,n),e)}function vu(t,n){var e=xh(t)?s:ml;return e(t,Ao(n,3))}function gu(t,n){var e=xh(t)?f:bl;return e(t,Ao(n,3))}function yu(t,n,e,r){t=Ju(t)?t:rs(t),e=e&&!r?Ec(e):0;var i=t.length;return e<0&&(e=Jf(i+e,0)),mc(t)?e<=i&&t.indexOf(n,e)>-1:!!i&&k(t,n,e)>-1}function _u(t,n){var e=xh(t)?v:Hr;return e(t,Ao(n,3))}function mu(t,n,e,r){return null==t?[]:(xh(n)||(n=null==n?[]:[n]),e=r?it:e,xh(e)||(e=null==e?[]:[e]),Jr(t,n,e))}function bu(t,n,e){var r=xh(t)?y:O,i=arguments.length<3;return r(t,Ao(n,4),e,i,ml)}function xu(t,n,e){var r=xh(t)?_:O,i=arguments.length<3;return r(t,Ao(n,4),e,i,bl)}function wu(t,n){var e=xh(t)?h:tr;return e(t,Lu(Ao(n,3)))}function Mu(t){var n=xh(t)?Se:ai;return n(t)}function ku(t,n,e){n=(e?Uo(t,n,e):n===it)?1:Ec(n);var r=xh(t)?Te:ui;return r(t,n)}function Au(t){var n=xh(t)?Oe:si;return n(t)}function Eu(t){if(null==t)return 0;if(Ju(t))return mc(t)?Q(t):t.length;var n=Nl(t);return n==Kt||n==on?t.size:qr(t).length}function Cu(t,n,e){var r=xh(t)?m:li;return e&&Uo(t,n,e)&&(n=it),r(t,Ao(n,3))}function Su(t,n){if("function"!=typeof n)throw new vf(ct);return t=Ec(t),function(){if(--t<1)return n.apply(this,arguments)}}function Tu(t,n,e){return n=e?it:n,n=t&&null==n?t.length:n,ho(t,kt,it,it,it,it,n)}function Ou(t,n){var e;if("function"!=typeof n)throw new vf(ct);return t=Ec(t),function(){return--t>0&&(e=n.apply(this,arguments)),t<=1&&(n=it),e}}function Nu(t,n,e){n=e?it:n;var r=ho(t,bt,it,it,it,it,it,n);return r.placeholder=Nu.placeholder,r}function ju(t,n,e){n=e?it:n;var r=ho(t,xt,it,it,it,it,it,n);return r.placeholder=ju.placeholder,r}function Pu(t,n,e){function r(n){var e=h,r=p;return h=p=it,_=n,v=t.apply(r,e)}function i(t){return _=t,g=$l(u,n),m?r(t):v}function o(t){var e=t-y,r=t-_,i=n-e;return b?Kf(i,d-r):i}function a(t){var e=t-y,r=t-_;return y===it||e>=n||e<0||b&&r>=d}function u(){var t=sh();return a(t)?c(t):void(g=$l(u,o(t)))}function c(t){return g=it,x&&h?r(t):(h=p=it,v)}function s(){g!==it&&El(g),_=0,h=y=p=g=it}function f(){return g===it?v:c(sh())}function l(){var t=sh(),e=a(t);if(h=arguments,p=this,y=t,e){if(g===it)return i(y);if(b)return g=$l(u,n),r(y)}return g===it&&(g=$l(u,n)),v}var h,p,d,v,g,y,_=0,m=!1,b=!1,x=!0;if("function"!=typeof t)throw new vf(ct);return n=Sc(n)||0,cc(e)&&(m=!!e.leading,b="maxWait"in e,d=b?Jf(Sc(e.maxWait)||0,n):d,x="trailing"in e?!!e.trailing:x),l.cancel=s,l.flush=f,l}function $u(t){return ho(t,Et)}function Ru(t,n){if("function"!=typeof t||null!=n&&"function"!=typeof n)throw new vf(ct);var e=function(){var r=arguments,i=n?n.apply(this,r):r[0],o=e.cache;if(o.has(i))return o.get(i);var a=t.apply(this,r);return e.cache=o.set(i,a)||o,a};return e.cache=new(Ru.Cache||he),e}function Lu(t){if("function"!=typeof t)throw new vf(ct);return function(){var n=arguments;switch(n.length){case 0:return!t.call(this);case 1:return!t.call(this,n[0]);case 2:return!t.call(this,n[0],n[1]);case 3:return!t.call(this,n[0],n[1],n[2])}return!t.apply(this,n)}}function Iu(t){return Ou(2,t)}function zu(t,n){if("function"!=typeof t)throw new vf(ct);return n=n===it?n:Ec(n),oi(t,n)}function Uu(t,n){if("function"!=typeof t)throw new vf(ct);return n=null==n?0:Jf(Ec(n),0),oi(function(e){var r=e[n],i=Ci(e,0,n);return r&&g(i,r),u(t,this,i)})}function Du(t,n,e){var r=!0,i=!0;if("function"!=typeof t)throw new vf(ct);return cc(e)&&(r="leading"in e?!!e.leading:r,i="trailing"in e?!!e.trailing:i),Pu(t,n,{leading:r,maxWait:n,trailing:i})}function qu(t){return Tu(t,1)}function Fu(t,n){return vh(Ai(n),t)}function Bu(){if(!arguments.length)return[];var t=arguments[0];return xh(t)?t:[t]}function Hu(t){return De(t,dt)}function Wu(t,n){return n="function"==typeof n?n:it,De(t,dt,n)}function Yu(t){return De(t,ht|dt)}function Vu(t,n){return n="function"==typeof n?n:it,De(t,ht|dt,n)}function Xu(t,n){return null==n||Fe(t,n,Hc(n))}function Gu(t,n){return t===n||t!==t&&n!==n}function Ju(t){return null!=t&&uc(t.length)&&!oc(t)}function Ku(t){return sc(t)&&Ju(t)}function Zu(t){return t===!0||t===!1||sc(t)&&lr(t)==Wt}function Qu(t){return sc(t)&&1===t.nodeType&&!yc(t)}function tc(t){if(null==t)return!0;if(Ju(t)&&(xh(t)||"string"==typeof t||"function"==typeof t.splice||Mh(t)||Sh(t)||bh(t)))return!t.length;var n=Nl(t);if(n==Kt||n==on)return!t.size;if(Ho(t))return!qr(t).length;for(var e in t)if(xf.call(t,e))return!1;return!0}function nc(t,n){return jr(t,n)}function ec(t,n,e){e="function"==typeof e?e:it;var r=e?e(t,n):it;return r===it?jr(t,n,it,e):!!r}function rc(t){if(!sc(t))return!1;var n=lr(t);return n==Xt||n==Vt||"string"==typeof t.message&&"string"==typeof t.name&&!yc(t)}function ic(t){return"number"==typeof t&&Vf(t)}function oc(t){if(!cc(t))return!1;var n=lr(t);return n==Gt||n==Jt||n==Ht||n==en}function ac(t){return"number"==typeof t&&t==Ec(t)}function uc(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=Rt}function cc(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}function sc(t){return null!=t&&"object"==typeof t}function fc(t,n){return t===n||Rr(t,n,Co(n))}function lc(t,n,e){return e="function"==typeof e?e:it,Rr(t,n,Co(n),e)}function hc(t){return gc(t)&&t!=+t}function pc(t){if(jl(t))throw new sf(ut);return Lr(t)}function dc(t){return null===t}function vc(t){return null==t}function gc(t){return"number"==typeof t||sc(t)&&lr(t)==Zt}function yc(t){if(!sc(t)||lr(t)!=tn)return!1;var n=jf(t);if(null===n)return!0;var e=xf.call(n,"constructor")&&n.constructor;return"function"==typeof e&&e instanceof e&&bf.call(e)==Af}function _c(t){return ac(t)&&t>=-Rt&&t<=Rt}function mc(t){return"string"==typeof t||!xh(t)&&sc(t)&&lr(t)==an}function bc(t){return"symbol"==typeof t||sc(t)&&lr(t)==un}function xc(t){return t===it}function wc(t){return sc(t)&&Nl(t)==sn}function Mc(t){return sc(t)&&lr(t)==fn}function kc(t){if(!t)return[];if(Ju(t))return mc(t)?tt(t):Di(t);if(If&&t[If])return W(t[If]());var n=Nl(t),e=n==Kt?Y:n==on?G:rs;return e(t)}function Ac(t){if(!t)return 0===t?t:0;if(t=Sc(t),t===$t||t===-$t){var n=t<0?-1:1;return n*Lt}return t===t?t:0}function Ec(t){var n=Ac(t),e=n%1;return n===n?e?n-e:n:0}function Cc(t){return t?Ue(Ec(t),0,zt):0}function Sc(t){if("number"==typeof t)return t;if(bc(t))return It;if(cc(t)){var n="function"==typeof t.valueOf?t.valueOf():t;t=cc(n)?n+"":n}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(zn,"");var e=Gn.test(t);return e||Kn.test(t)?ir(t.slice(2),e?2:8):Xn.test(t)?It:+t}function Tc(t){return qi(t,Wc(t))}function Oc(t){return t?Ue(Ec(t),-Rt,Rt):0===t?t:0}function Nc(t){return null==t?"":gi(t)}function jc(t,n){var e=_l(t);return null==n?e:Re(e,n)}function Pc(t,n){return w(t,Ao(n,3),er)}function $c(t,n){return w(t,Ao(n,3),or)}function Rc(t,n){return null==t?t:xl(t,Ao(n,3),Wc)}function Lc(t,n){return null==t?t:wl(t,Ao(n,3),Wc)}function Ic(t,n){return t&&er(t,Ao(n,3))}function zc(t,n){return t&&or(t,Ao(n,3))}function Uc(t){return null==t?[]:ar(t,Hc(t))}function Dc(t){return null==t?[]:ar(t,Wc(t))}function qc(t,n,e){var r=null==t?it:cr(t,n);return r===it?e:r}function Fc(t,n){return null!=t&&jo(t,n,mr)}function Bc(t,n){return null!=t&&jo(t,n,Mr)}function Hc(t){return Ju(t)?Ce(t):qr(t)}function Wc(t){return Ju(t)?Ce(t,!0):Fr(t)}function Yc(t,n){var e={};return n=Ao(n,3),er(t,function(t,r,i){Ie(e,n(t,r,i),t)}),e}function Vc(t,n){var e={};return n=Ao(n,3),er(t,function(t,r,i){Ie(e,r,n(t,r,i))}),e}function Xc(t,n){return Gc(t,Lu(Ao(n)))}function Gc(t,n){if(null==t)return{};var e=v(wo(t),function(t){return[t]});return n=Ao(n),Zr(t,e,function(t,e){return n(t,e[0])})}function Jc(t,n,e){n=Ei(n,t);var r=-1,i=n.length;for(i||(i=1,t=it);++r<i;){var o=null==t?it:t[ra(n[r])];o===it&&(r=i,o=e),t=oc(o)?o.call(t):o}return t}function Kc(t,n,e){return null==t?t:ci(t,n,e)}function Zc(t,n,e,r){return r="function"==typeof r?r:it,null==t?t:ci(t,n,e,r)}function Qc(t,n,e){var r=xh(t),i=r||Mh(t)||Sh(t);if(n=Ao(n,4),null==e){var o=t&&t.constructor;e=i?r?new o:[]:cc(t)&&oc(o)?_l(jf(t)):{}}return(i?s:er)(t,function(t,r,i){return n(e,t,r,i)}),e}function ts(t,n){return null==t||_i(t,n)}function ns(t,n,e){return null==t?t:mi(t,n,Ai(e))}function es(t,n,e,r){return r="function"==typeof r?r:it,null==t?t:mi(t,n,Ai(e),r)}function rs(t){return null==t?[]:L(t,Hc(t))}function is(t){return null==t?[]:L(t,Wc(t))}function os(t,n,e){return e===it&&(e=n,n=it),e!==it&&(e=Sc(e),e=e===e?e:0),n!==it&&(n=Sc(n),n=n===n?n:0),Ue(Sc(t),n,e)}function as(t,n,e){return n=Ac(n),e===it?(e=n,n=0):e=Ac(e),t=Sc(t),Ar(t,n,e)}function us(t,n,e){if(e&&"boolean"!=typeof e&&Uo(t,n,e)&&(n=e=it),e===it&&("boolean"==typeof n?(e=n,n=it):"boolean"==typeof t&&(e=t,t=it)),t===it&&n===it?(t=0,n=1):(t=Ac(t),n===it?(n=t,t=0):n=Ac(n)),t>n){var r=t;t=n,n=r}if(e||t%1||n%1){var i=tl();return Kf(t+i*(n-t+rr("1e-"+((i+"").length-1))),n)}return ei(t,n)}function cs(t){return tp(Nc(t).toLowerCase())}function ss(t){return t=Nc(t),t&&t.replace(Qn,br).replace(He,"")}function fs(t,n,e){t=Nc(t),n=gi(n);var r=t.length;e=e===it?r:Ue(Ec(e),0,r);var i=e;return e-=n.length,e>=0&&t.slice(e,i)==n}function ls(t){return t=Nc(t),t&&Sn.test(t)?t.replace(En,xr):t}function hs(t){return t=Nc(t),t&&In.test(t)?t.replace(Ln,"\\$&"):t}function ps(t,n,e){t=Nc(t),n=Ec(n);var r=n?Q(t):0;if(!n||r>=n)return t;var i=(n-r)/2;return oo(Hf(i),e)+t+oo(Bf(i),e)}function ds(t,n,e){t=Nc(t),n=Ec(n);var r=n?Q(t):0;return n&&r<n?t+oo(n-r,e):t}function vs(t,n,e){t=Nc(t),n=Ec(n);var r=n?Q(t):0;return n&&r<n?oo(n-r,e)+t:t}function gs(t,n,e){return e||null==n?n=0:n&&(n=+n),Qf(Nc(t).replace(Un,""),n||0)}function ys(t,n,e){return n=(e?Uo(t,n,e):n===it)?1:Ec(n),ii(Nc(t),n)}function _s(){var t=arguments,n=Nc(t[0]);return t.length<3?n:n.replace(t[1],t[2])}function ms(t,n,e){return e&&"number"!=typeof e&&Uo(t,n,e)&&(n=e=it),(e=e===it?zt:e>>>0)?(t=Nc(t),t&&("string"==typeof n||null!=n&&!Eh(n))&&(n=gi(n),!n&&B(t))?Ci(tt(t),0,e):t.split(n,e)):[]}function bs(t,n,e){return t=Nc(t),e=null==e?0:Ue(Ec(e),0,t.length),n=gi(n),t.slice(e,e+n.length)==n}function xs(t,n,r){var i=e.templateSettings;r&&Uo(t,n,r)&&(n=it),t=Nc(t),n=Ph({},n,i,po);var o,a,u=Ph({},n.imports,i.imports,po),c=Hc(u),s=L(u,c),f=0,l=n.interpolate||te,h="__p += '",p=pf((n.escape||te).source+"|"+l.source+"|"+(l===Nn?Yn:te).source+"|"+(n.evaluate||te).source+"|$","g"),d="//# sourceURL="+("sourceURL"in n?n.sourceURL:"lodash.templateSources["+ ++Je+"]")+"\n";t.replace(p,function(n,e,r,i,u,c){return r||(r=i),h+=t.slice(f,c).replace(ne,q),e&&(o=!0,h+="' +\n__e("+e+") +\n'"),u&&(a=!0,h+="';\n"+u+";\n__p += '"),r&&(h+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),f=c+n.length,n}),h+="';\n";var v=n.variable;v||(h="with (obj) {\n"+h+"\n}\n"),h=(a?h.replace(wn,""):h).replace(Mn,"$1").replace(kn,"$1;"),h="function("+(v||"obj")+") {\n"+(v?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+h+"return __p\n}";var g=np(function(){return ff(c,d+"return "+h).apply(it,s)});if(g.source=h,rc(g))throw g;return g}function ws(t){return Nc(t).toLowerCase()}function Ms(t){return Nc(t).toUpperCase()}function ks(t,n,e){if(t=Nc(t),t&&(e||n===it))return t.replace(zn,"");if(!t||!(n=gi(n)))return t;var r=tt(t),i=tt(n),o=z(r,i),a=U(r,i)+1;return Ci(r,o,a).join("")}function As(t,n,e){if(t=Nc(t),t&&(e||n===it))return t.replace(Dn,"");if(!t||!(n=gi(n)))return t;var r=tt(t),i=U(r,tt(n))+1;return Ci(r,0,i).join("")}function Es(t,n,e){if(t=Nc(t),t&&(e||n===it))return t.replace(Un,"");if(!t||!(n=gi(n)))return t;var r=tt(t),i=z(r,tt(n));return Ci(r,i).join("")}function Cs(t,n){var e=Ct,r=St;if(cc(n)){var i="separator"in n?n.separator:i;e="length"in n?Ec(n.length):e,r="omission"in n?gi(n.omission):r}t=Nc(t);var o=t.length;if(B(t)){var a=tt(t);o=a.length}if(e>=o)return t;var u=e-Q(r);if(u<1)return r;var c=a?Ci(a,0,u).join(""):t.slice(0,u);if(i===it)return c+r;if(a&&(u+=c.length-u),Eh(i)){if(t.slice(u).search(i)){var s,f=c;for(i.global||(i=pf(i.source,Nc(Vn.exec(i))+"g")),i.lastIndex=0;s=i.exec(f);)var l=s.index;c=c.slice(0,l===it?u:l)}}else if(t.indexOf(gi(i),u)!=u){var h=c.lastIndexOf(i);h>-1&&(c=c.slice(0,h))}return c+r}function Ss(t){return t=Nc(t),t&&Cn.test(t)?t.replace(An,wr):t}function Ts(t,n,e){return t=Nc(t),n=e?it:n,n===it?H(t)?rt(t):x(t):t.match(n)||[]}function Os(t){var n=null==t?0:t.length,e=Ao();return t=n?v(t,function(t){if("function"!=typeof t[1])throw new vf(ct);return[e(t[0]),t[1]]}):[],oi(function(e){for(var r=-1;++r<n;){var i=t[r];if(u(i[0],this,e))return u(i[1],this,e)}})}function Ns(t){return qe(De(t,ht))}function js(t){return function(){return t}}function Ps(t,n){return null==t||t!==t?n:t}function $s(t){return t}function Rs(t){return Dr("function"==typeof t?t:De(t,ht))}function Ls(t){return Wr(De(t,ht))}function Is(t,n){return Yr(t,De(n,ht))}function zs(t,n,e){var r=Hc(n),i=ar(n,r);null!=e||cc(n)&&(i.length||!r.length)||(e=n,n=t,t=this,i=ar(n,Hc(n)));var o=!(cc(e)&&"chain"in e&&!e.chain),a=oc(t);return s(i,function(e){var r=n[e];t[e]=r,a&&(t.prototype[e]=function(){var n=this.__chain__;if(o||n){var e=t(this.__wrapped__),i=e.__actions__=Di(this.__actions__);return i.push({func:r,args:arguments,thisArg:t}),e.__chain__=n,e}return r.apply(t,g([this.value()],arguments))})}),t}function Us(){return ur._===this&&(ur._=Ef),this}function Ds(){}function qs(t){return t=Ec(t),oi(function(n){return Gr(n,t)})}function Fs(t){return Do(t)?S(ra(t)):Qr(t)}function Bs(t){return function(n){return null==t?it:cr(t,n)}}function Hs(){return[]}function Ws(){return!1}function Ys(){return{}}function Vs(){return""}function Xs(){return!0}function Gs(t,n){if(t=Ec(t),t<1||t>Rt)return[];var e=zt,r=Kf(t,zt);n=Ao(n),t-=zt;for(var i=P(r,n);++e<t;)n(e);return i}function Js(t){return xh(t)?v(t,ra):bc(t)?[t]:Di(Ll(Nc(t)))}function Ks(t){var n=++wf;return Nc(t)+n}function Zs(t){return t&&t.length?Xe(t,$s,hr):it}function Qs(t,n){return t&&t.length?Xe(t,Ao(n,2),hr):it}function tf(t){return C(t,$s)}function nf(t,n){return C(t,Ao(n,2))}function ef(t){return t&&t.length?Xe(t,$s,Br):it}function rf(t,n){return t&&t.length?Xe(t,Ao(n,2),Br):it}function of(t){return t&&t.length?j(t,$s):0}function af(t,n){return t&&t.length?j(t,Ao(n,2)):0}n=null==n?ur:kr.defaults(ur.Object(),n,kr.pick(ur,Ge));var uf=n.Array,cf=n.Date,sf=n.Error,ff=n.Function,lf=n.Math,hf=n.Object,pf=n.RegExp,df=n.String,vf=n.TypeError,gf=uf.prototype,yf=ff.prototype,_f=hf.prototype,mf=n["__core-js_shared__"],bf=yf.toString,xf=_f.hasOwnProperty,wf=0,Mf=function(){var t=/[^.]+$/.exec(mf&&mf.keys&&mf.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),kf=_f.toString,Af=bf.call(hf),Ef=ur._,Cf=pf("^"+bf.call(xf).replace(Ln,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Sf=fr?n.Buffer:it,Tf=n.Symbol,Of=n.Uint8Array,Nf=Sf?Sf.allocUnsafe:it,jf=V(hf.getPrototypeOf,hf),Pf=hf.create,$f=_f.propertyIsEnumerable,Rf=gf.splice,Lf=Tf?Tf.isConcatSpreadable:it,If=Tf?Tf.iterator:it,zf=Tf?Tf.toStringTag:it,Uf=function(){try{var t=So(hf,"defineProperty");return t({},"",{}),t}catch(t){}}(),Df=n.clearTimeout!==ur.clearTimeout&&n.clearTimeout,qf=cf&&cf.now!==ur.Date.now&&cf.now,Ff=n.setTimeout!==ur.setTimeout&&n.setTimeout,Bf=lf.ceil,Hf=lf.floor,Wf=hf.getOwnPropertySymbols,Yf=Sf?Sf.isBuffer:it,Vf=n.isFinite,Xf=gf.join,Gf=V(hf.keys,hf),Jf=lf.max,Kf=lf.min,Zf=cf.now,Qf=n.parseInt,tl=lf.random,nl=gf.reverse,el=So(n,"DataView"),rl=So(n,"Map"),il=So(n,"Promise"),ol=So(n,"Set"),al=So(n,"WeakMap"),ul=So(hf,"create"),cl=al&&new al,sl={},fl=ia(el),ll=ia(rl),hl=ia(il),pl=ia(ol),dl=ia(al),vl=Tf?Tf.prototype:it,gl=vl?vl.valueOf:it,yl=vl?vl.toString:it,_l=function(){function t(){}return function(n){if(!cc(n))return{};if(Pf)return Pf(n);t.prototype=n;var e=new t;return t.prototype=it,e}}();e.templateSettings={escape:Tn,evaluate:On,interpolate:Nn,variable:"",imports:{_:e}},e.prototype=r.prototype,e.prototype.constructor=e,i.prototype=_l(r.prototype),i.prototype.constructor=i,b.prototype=_l(r.prototype),b.prototype.constructor=b,et.prototype.clear=Hn,et.prototype.delete=ee,et.prototype.get=re,et.prototype.has=ie,et.prototype.set=oe,ae.prototype.clear=ue,ae.prototype.delete=ce,ae.prototype.get=se,ae.prototype.has=fe,ae.prototype.set=le,he.prototype.clear=pe,he.prototype.delete=de,he.prototype.get=ve,he.prototype.has=ge,he.prototype.set=ye,_e.prototype.add=_e.prototype.push=me,_e.prototype.has=be,xe.prototype.clear=we,xe.prototype.delete=Me,xe.prototype.get=ke,xe.prototype.has=Ae,xe.prototype.set=Ee;var ml=Yi(er),bl=Yi(or,!0),xl=Vi(),wl=Vi(!0),Ml=cl?function(t,n){return cl.set(t,n),t}:$s,kl=Uf?function(t,n){return Uf(t,"toString",{configurable:!0,enumerable:!1,value:js(n),writable:!0})}:$s,Al=oi,El=Df||function(t){return ur.clearTimeout(t)},Cl=ol&&1/G(new ol([,-0]))[1]==$t?function(t){return new ol(t)}:Ds,Sl=cl?function(t){return cl.get(t)}:Ds,Tl=Wf?function(t){return null==t?[]:(t=hf(t),h(Wf(t),function(n){return $f.call(t,n)}))}:Hs,Ol=Wf?function(t){for(var n=[];t;)g(n,Tl(t)),t=jf(t);return n}:Hs,Nl=lr;(el&&Nl(new el(new ArrayBuffer(1)))!=hn||rl&&Nl(new rl)!=Kt||il&&Nl(il.resolve())!=nn||ol&&Nl(new ol)!=on||al&&Nl(new al)!=sn)&&(Nl=function(t){var n=lr(t),e=n==tn?t.constructor:it,r=e?ia(e):"";if(r)switch(r){case fl:return hn;case ll:return Kt;case hl:return nn;case pl:return on;case dl:return sn}return n});var jl=mf?oc:Ws,Pl=na(Ml),$l=Ff||function(t,n){return ur.setTimeout(t,n)},Rl=na(kl),Ll=Vo(function(t){var n=[];return $n.test(t)&&n.push(""),t.replace(Rn,function(t,e,r,i){n.push(r?i.replace(Wn,"$1"):e||t)}),n}),Il=oi(function(t,n){return Ku(t)?Ye(t,nr(n,1,Ku,!0)):[]}),zl=oi(function(t,n){var e=Aa(n);return Ku(e)&&(e=it),Ku(t)?Ye(t,nr(n,1,Ku,!0),Ao(e,2)):[]}),Ul=oi(function(t,n){var e=Aa(n);return Ku(e)&&(e=it),Ku(t)?Ye(t,nr(n,1,Ku,!0),it,e):[]}),Dl=oi(function(t){var n=v(t,ki);return n.length&&n[0]===t[0]?Er(n):[]}),ql=oi(function(t){var n=Aa(t),e=v(t,ki);return n===Aa(e)?n=it:e.pop(),e.length&&e[0]===t[0]?Er(e,Ao(n,2)):[]}),Fl=oi(function(t){var n=Aa(t),e=v(t,ki);return n="function"==typeof n?n:it,n&&e.pop(),e.length&&e[0]===t[0]?Er(e,it,n):[]}),Bl=oi(Sa),Hl=bo(function(t,n){var e=null==t?0:t.length,r=ze(t,n);return ni(t,v(n,function(t){return zo(t,e)?+t:t}).sort(Li)),r}),Wl=oi(function(t){return yi(nr(t,1,Ku,!0))}),Yl=oi(function(t){var n=Aa(t);return Ku(n)&&(n=it),yi(nr(t,1,Ku,!0),Ao(n,2))}),Vl=oi(function(t){var n=Aa(t);return n="function"==typeof n?n:it,yi(nr(t,1,Ku,!0),it,n)}),Xl=oi(function(t,n){return Ku(t)?Ye(t,n):[]}),Gl=oi(function(t){return wi(h(t,Ku))}),Jl=oi(function(t){var n=Aa(t);return Ku(n)&&(n=it),wi(h(t,Ku),Ao(n,2))}),Kl=oi(function(t){var n=Aa(t);return n="function"==typeof n?n:it,wi(h(t,Ku),it,n)}),Zl=oi(Ja),Ql=oi(function(t){var n=t.length,e=n>1?t[n-1]:it;return e="function"==typeof e?(t.pop(),e):it,Ka(t,e)}),th=bo(function(t){var n=t.length,e=n?t[0]:0,r=this.__wrapped__,o=function(n){return ze(n,t)};return!(n>1||this.__actions__.length)&&r instanceof b&&zo(e)?(r=r.slice(e,+e+(n?1:0)),r.__actions__.push({func:eu,args:[o],thisArg:it}),new i(r,this.__chain__).thru(function(t){return n&&!t.length&&t.push(it),t})):this.thru(o)}),nh=Hi(function(t,n,e){xf.call(t,e)?++t[e]:Ie(t,e,1)}),eh=Qi(va),rh=Qi(ga),ih=Hi(function(t,n,e){xf.call(t,e)?t[e].push(n):Ie(t,e,[n])}),oh=oi(function(t,n,e){var r=-1,i="function"==typeof n,o=Ju(t)?uf(t.length):[];return ml(t,function(t){o[++r]=i?u(n,t,e):Sr(t,n,e)}),o}),ah=Hi(function(t,n,e){Ie(t,e,n)}),uh=Hi(function(t,n,e){t[e?0:1].push(n)},function(){return[[],[]]}),ch=oi(function(t,n){if(null==t)return[];var e=n.length;return e>1&&Uo(t,n[0],n[1])?n=[]:e>2&&Uo(n[0],n[1],n[2])&&(n=[n[0]]),Jr(t,nr(n,1),[])}),sh=qf||function(){return ur.Date.now()},fh=oi(function(t,n,e){var r=yt;if(e.length){var i=X(e,ko(fh));r|=wt}return ho(t,r,n,e,i)}),lh=oi(function(t,n,e){var r=yt|_t;if(e.length){var i=X(e,ko(lh));r|=wt}return ho(n,r,t,e,i)}),hh=oi(function(t,n){return We(t,1,n)}),ph=oi(function(t,n,e){return We(t,Sc(n)||0,e)});Ru.Cache=he;var dh=Al(function(t,n){n=1==n.length&&xh(n[0])?v(n[0],R(Ao())):v(nr(n,1),R(Ao()));var e=n.length;return oi(function(r){for(var i=-1,o=Kf(r.length,e);++i<o;)r[i]=n[i].call(this,r[i]);return u(t,this,r)})}),vh=oi(function(t,n){var e=X(n,ko(vh));return ho(t,wt,it,n,e)}),gh=oi(function(t,n){var e=X(n,ko(gh));return ho(t,Mt,it,n,e)}),yh=bo(function(t,n){return ho(t,At,it,it,it,n)}),_h=co(hr),mh=co(function(t,n){return t>=n}),bh=Tr(function(){return arguments}())?Tr:function(t){return sc(t)&&xf.call(t,"callee")&&!$f.call(t,"callee")},xh=uf.isArray,wh=pr?R(pr):Or,Mh=Yf||Ws,kh=dr?R(dr):Nr,Ah=vr?R(vr):$r,Eh=gr?R(gr):Ir,Ch=yr?R(yr):zr,Sh=_r?R(_r):Ur,Th=co(Br),Oh=co(function(t,n){return t<=n}),Nh=Wi(function(t,n){if(Ho(n)||Ju(n))return void qi(n,Hc(n),t);for(var e in n)xf.call(n,e)&&je(t,e,n[e])}),jh=Wi(function(t,n){qi(n,Wc(n),t)}),Ph=Wi(function(t,n,e,r){qi(n,Wc(n),t,r)}),$h=Wi(function(t,n,e,r){qi(n,Hc(n),t,r)}),Rh=bo(ze),Lh=oi(function(t){return t.push(it,po),u(Ph,it,t)}),Ih=oi(function(t){return t.push(it,vo),u(Fh,it,t)}),zh=eo(function(t,n,e){t[n]=e},js($s)),Uh=eo(function(t,n,e){xf.call(t,n)?t[n].push(e):t[n]=[e]},Ao),Dh=oi(Sr),qh=Wi(function(t,n,e){Vr(t,n,e)}),Fh=Wi(function(t,n,e,r){Vr(t,n,e,r)}),Bh=bo(function(t,n){var e={};if(null==t)return e;var r=!1;n=v(n,function(n){return n=Ei(n,t),r||(r=n.length>1),n}),qi(t,wo(t),e),r&&(e=De(e,ht|pt|dt,go));for(var i=n.length;i--;)_i(e,n[i]);return e}),Hh=bo(function(t,n){return null==t?{}:Kr(t,n)}),Wh=lo(Hc),Yh=lo(Wc),Vh=Ji(function(t,n,e){return n=n.toLowerCase(),t+(e?cs(n):n)}),Xh=Ji(function(t,n,e){return t+(e?"-":"")+n.toLowerCase()}),Gh=Ji(function(t,n,e){return t+(e?" ":"")+n.toLowerCase()}),Jh=Gi("toLowerCase"),Kh=Ji(function(t,n,e){return t+(e?"_":"")+n.toLowerCase()}),Zh=Ji(function(t,n,e){return t+(e?" ":"")+tp(n)}),Qh=Ji(function(t,n,e){return t+(e?" ":"")+n.toUpperCase()}),tp=Gi("toUpperCase"),np=oi(function(t,n){try{return u(t,it,n)}catch(t){return rc(t)?t:new sf(t)}}),ep=bo(function(t,n){return s(n,function(n){n=ra(n),Ie(t,n,fh(t[n],t))}),t}),rp=to(),ip=to(!0),op=oi(function(t,n){return function(e){return Sr(e,t,n)}}),ap=oi(function(t,n){return function(e){return Sr(t,e,n)}}),up=io(v),cp=io(l),sp=io(m),fp=uo(),lp=uo(!0),hp=ro(function(t,n){return t+n},0),pp=fo("ceil"),dp=ro(function(t,n){return t/n},1),vp=fo("floor"),gp=ro(function(t,n){return t*n},1),yp=fo("round"),_p=ro(function(t,n){return t-n},0);return e.after=Su,e.ary=Tu,e.assign=Nh,e.assignIn=jh,e.assignInWith=Ph,e.assignWith=$h,e.at=Rh,e.before=Ou,e.bind=fh,e.bindAll=ep,e.bindKey=lh,e.castArray=Bu,e.chain=tu,e.chunk=ua,e.compact=ca,e.concat=sa,e.cond=Os,e.conforms=Ns,e.constant=js,e.countBy=nh,e.create=jc,e.curry=Nu,e.curryRight=ju,e.debounce=Pu,e.defaults=Lh,e.defaultsDeep=Ih,e.defer=hh,e.delay=ph,e.difference=Il,e.differenceBy=zl,e.differenceWith=Ul,e.drop=fa,e.dropRight=la,e.dropRightWhile=ha,e.dropWhile=pa,e.fill=da,e.filter=lu,e.flatMap=hu,e.flatMapDeep=pu,e.flatMapDepth=du,e.flatten=ya,e.flattenDeep=_a,e.flattenDepth=ma,e.flip=$u,e.flow=rp,e.flowRight=ip,e.fromPairs=ba,e.functions=Uc,e.functionsIn=Dc,e.groupBy=ih,e.initial=Ma,e.intersection=Dl,e.intersectionBy=ql,e.intersectionWith=Fl,e.invert=zh,e.invertBy=Uh,e.invokeMap=oh,e.iteratee=Rs,e.keyBy=ah,e.keys=Hc,e.keysIn=Wc,e.map=_u,e.mapKeys=Yc,e.mapValues=Vc,e.matches=Ls,e.matchesProperty=Is,e.memoize=Ru,e.merge=qh,e.mergeWith=Fh,e.method=op,e.methodOf=ap,e.mixin=zs,e.negate=Lu,e.nthArg=qs,e.omit=Bh,e.omitBy=Xc,e.once=Iu,e.orderBy=mu,e.over=up,e.overArgs=dh,e.overEvery=cp,e.overSome=sp,e.partial=vh,e.partialRight=gh,e.partition=uh,e.pick=Hh,e.pickBy=Gc,e.property=Fs,e.propertyOf=Bs,e.pull=Bl,e.pullAll=Sa,e.pullAllBy=Ta,e.pullAllWith=Oa,e.pullAt=Hl,e.range=fp,e.rangeRight=lp,e.rearg=yh,e.reject=wu,e.remove=Na,e.rest=zu,e.reverse=ja,e.sampleSize=ku,e.set=Kc,e.setWith=Zc,e.shuffle=Au,e.slice=Pa,e.sortBy=ch,e.sortedUniq=Da,e.sortedUniqBy=qa,e.split=ms,e.spread=Uu,e.tail=Fa,e.take=Ba,e.takeRight=Ha,e.takeRightWhile=Wa,e.takeWhile=Ya,e.tap=nu,e.throttle=Du,e.thru=eu,e.toArray=kc,e.toPairs=Wh,e.toPairsIn=Yh,e.toPath=Js,e.toPlainObject=Tc,e.transform=Qc,e.unary=qu,e.union=Wl,e.unionBy=Yl,e.unionWith=Vl,e.uniq=Va,e.uniqBy=Xa,e.uniqWith=Ga,e.unset=ts,e.unzip=Ja,e.unzipWith=Ka,e.update=ns,e.updateWith=es,e.values=rs,e.valuesIn=is,e.without=Xl,e.words=Ts,e.wrap=Fu,e.xor=Gl,e.xorBy=Jl,e.xorWith=Kl,e.zip=Zl,e.zipObject=Za,e.zipObjectDeep=Qa,e.zipWith=Ql,e.entries=Wh,e.entriesIn=Yh,e.extend=jh,e.extendWith=Ph,zs(e,e),e.add=hp,e.attempt=np,e.camelCase=Vh,e.capitalize=cs,e.ceil=pp,e.clamp=os,e.clone=Hu,e.cloneDeep=Yu,e.cloneDeepWith=Vu,e.cloneWith=Wu,e.conformsTo=Xu,e.deburr=ss,e.defaultTo=Ps,e.divide=dp,e.endsWith=fs,e.eq=Gu,e.escape=ls,e.escapeRegExp=hs,e.every=fu,e.find=eh,e.findIndex=va,e.findKey=Pc,e.findLast=rh,e.findLastIndex=ga,e.findLastKey=$c,e.floor=vp,e.forEach=vu,e.forEachRight=gu,e.forIn=Rc,e.forInRight=Lc,e.forOwn=Ic,e.forOwnRight=zc,e.get=qc,e.gt=_h,e.gte=mh,e.has=Fc,e.hasIn=Bc,e.head=xa,e.identity=$s,e.includes=yu,e.indexOf=wa,e.inRange=as,e.invoke=Dh,e.isArguments=bh,e.isArray=xh,e.isArrayBuffer=wh,e.isArrayLike=Ju,e.isArrayLikeObject=Ku,e.isBoolean=Zu,e.isBuffer=Mh,e.isDate=kh,e.isElement=Qu,e.isEmpty=tc,e.isEqual=nc,e.isEqualWith=ec,e.isError=rc,e.isFinite=ic,e.isFunction=oc,e.isInteger=ac,e.isLength=uc,e.isMap=Ah,e.isMatch=fc,e.isMatchWith=lc,e.isNaN=hc,e.isNative=pc,e.isNil=vc,e.isNull=dc,e.isNumber=gc,e.isObject=cc,e.isObjectLike=sc,e.isPlainObject=yc,e.isRegExp=Eh,e.isSafeInteger=_c,e.isSet=Ch,e.isString=mc,e.isSymbol=bc,e.isTypedArray=Sh,e.isUndefined=xc,e.isWeakMap=wc,e.isWeakSet=Mc,e.join=ka,e.kebabCase=Xh,e.last=Aa,e.lastIndexOf=Ea,e.lowerCase=Gh,e.lowerFirst=Jh,e.lt=Th,e.lte=Oh,e.max=Zs,e.maxBy=Qs,e.mean=tf,e.meanBy=nf,e.min=ef,e.minBy=rf,e.stubArray=Hs,e.stubFalse=Ws,e.stubObject=Ys,e.stubString=Vs,e.stubTrue=Xs,e.multiply=gp,e.nth=Ca,e.noConflict=Us,e.noop=Ds,e.now=sh,e.pad=ps,e.padEnd=ds,e.padStart=vs,e.parseInt=gs,e.random=us,e.reduce=bu,e.reduceRight=xu,e.repeat=ys,e.replace=_s,e.result=Jc,e.round=yp,e.runInContext=t,e.sample=Mu,e.size=Eu,e.snakeCase=Kh,e.some=Cu,e.sortedIndex=$a,e.sortedIndexBy=Ra,e.sortedIndexOf=La,e.sortedLastIndex=Ia,e.sortedLastIndexBy=za,e.sortedLastIndexOf=Ua,e.startCase=Zh,e.startsWith=bs,e.subtract=_p,e.sum=of,e.sumBy=af,e.template=xs,e.times=Gs,e.toFinite=Ac,e.toInteger=Ec,e.toLength=Cc,e.toLower=ws,e.toNumber=Sc,e.toSafeInteger=Oc,e.toString=Nc,e.toUpper=Ms,e.trim=ks,e.trimEnd=As,e.trimStart=Es,e.truncate=Cs,e.unescape=Ss,e.uniqueId=Ks,e.upperCase=Qh,e.upperFirst=tp,e.each=vu,e.eachRight=gu,e.first=xa,zs(e,function(){var t={};return er(e,function(n,r){xf.call(e.prototype,r)||(t[r]=n)}),t}(),{chain:!1}),e.VERSION=ot,s(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){e[t].placeholder=e}),s(["drop","take"],function(t,n){b.prototype[t]=function(e){e=e===it?1:Jf(Ec(e),0);var r=this.__filtered__&&!n?new b(this):this.clone();return r.__filtered__?r.__takeCount__=Kf(e,r.__takeCount__):r.__views__.push({size:Kf(e,zt),type:t+(r.__dir__<0?"Right":"")}),r},b.prototype[t+"Right"]=function(n){return this.reverse()[t](n).reverse()}}),s(["filter","map","takeWhile"],function(t,n){var e=n+1,r=e==Nt||e==Pt;b.prototype[t]=function(t){var n=this.clone();return n.__iteratees__.push({iteratee:Ao(t,3),type:e}),n.__filtered__=n.__filtered__||r,n}}),s(["head","last"],function(t,n){var e="take"+(n?"Right":"");b.prototype[t]=function(){return this[e](1).value()[0]}}),s(["initial","tail"],function(t,n){var e="drop"+(n?"":"Right");b.prototype[t]=function(){return this.__filtered__?new b(this):this[e](1)}}),b.prototype.compact=function(){return this.filter($s)},b.prototype.find=function(t){return this.filter(t).head()},b.prototype.findLast=function(t){return this.reverse().find(t)},b.prototype.invokeMap=oi(function(t,n){return"function"==typeof t?new b(this):this.map(function(e){return Sr(e,t,n)})}),b.prototype.reject=function(t){return this.filter(Lu(Ao(t)))},b.prototype.slice=function(t,n){t=Ec(t);var e=this;return e.__filtered__&&(t>0||n<0)?new b(e):(t<0?e=e.takeRight(-t):t&&(e=e.drop(t)),n!==it&&(n=Ec(n),e=n<0?e.dropRight(-n):e.take(n-t)),e)},b.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},b.prototype.toArray=function(){return this.take(zt)},er(b.prototype,function(t,n){var r=/^(?:filter|find|map|reject)|While$/.test(n),o=/^(?:head|last)$/.test(n),a=e[o?"take"+("last"==n?"Right":""):n],u=o||/^find/.test(n);a&&(e.prototype[n]=function(){var n=this.__wrapped__,c=o?[1]:arguments,s=n instanceof b,f=c[0],l=s||xh(n),h=function(t){var n=a.apply(e,g([t],c));return o&&p?n[0]:n};l&&r&&"function"==typeof f&&1!=f.length&&(s=l=!1);var p=this.__chain__,d=!!this.__actions__.length,v=u&&!p,y=s&&!d;if(!u&&l){n=y?n:new b(this);var _=t.apply(n,c);return _.__actions__.push({func:eu,args:[h],thisArg:it}),new i(_,p)}return v&&y?t.apply(this,c):(_=this.thru(h),v?o?_.value()[0]:_.value():_)})}),s(["pop","push","shift","sort","splice","unshift"],function(t){var n=gf[t],r=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",i=/^(?:pop|shift)$/.test(t);e.prototype[t]=function(){var t=arguments;if(i&&!this.__chain__){var e=this.value();return n.apply(xh(e)?e:[],t)}return this[r](function(e){return n.apply(xh(e)?e:[],t)})}}),er(b.prototype,function(t,n){var r=e[n];if(r){var i=r.name+"",o=sl[i]||(sl[i]=[]);o.push({name:n,func:r})}}),sl[no(it,_t).name]=[{name:"wrapper",func:it}],b.prototype.clone=T,b.prototype.reverse=K,b.prototype.value=nt,e.prototype.at=th,e.prototype.chain=ru,e.prototype.commit=iu,e.prototype.next=ou,e.prototype.plant=uu,e.prototype.reverse=cu,e.prototype.toJSON=e.prototype.valueOf=e.prototype.value=su,e.prototype.first=e.prototype.head,If&&(e.prototype[If]=au),e},kr=Mr();ur._=kr,i=function(){return kr}.call(n,e,n,r),!(i!==it&&(r.exports=i))}).call(this)}).call(n,e(34),e(136)(t))},function(t,n,e){t.exports=!e(27)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,n){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},function(t,n,e){var r=e(9),i=e(68),o=e(84),a=Object.defineProperty;n.f=e(4)?Object.defineProperty:function(t,n,e){if(r(t),n=o(n,!0),r(e),i)try{return a(t,n,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported!");return"value"in e&&(t[n]=e.value),t}},function(t,n,e){"use strict";n.__esModule=!0,n.default=function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var i=e(59),o=r(i);n.default=function(){function t(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,o.default)(t,r.key,r)}}return function(n,e,r){return e&&t(n.prototype,e),r&&t(n,r),n}}()},function(t,n,e){var r=e(16);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,n){var e=t.exports={version:"2.4.0"};"number"==typeof __e&&(__e=e)},function(t,n){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},function(t,n,e){var r=e(6),i=e(18);t.exports=e(4)?function(t,n,e){return r.f(t,n,i(1,e))}:function(t,n,e){return t[n]=e,t}},,function(t,n){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,n,e){var r=e(5),i=e(10),o=e(24),a=e(12),u="prototype",c=function(t,n,e){var s,f,l,h=t&c.F,p=t&c.G,d=t&c.S,v=t&c.P,g=t&c.B,y=t&c.W,_=p?i:i[n]||(i[n]={}),m=_[u],b=p?r:d?r[n]:(r[n]||{})[u]; |
|
p&&(e=n);for(s in e)f=!h&&b&&void 0!==b[s],f&&s in _||(l=f?b[s]:e[s],_[s]=p&&"function"!=typeof b[s]?e[s]:g&&f?o(l,r):y&&b[s]==l?function(t){var n=function(n,e,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(n);case 2:return new t(n,e)}return new t(n,e,r)}return t.apply(this,arguments)};return n[u]=t[u],n}(l):v&&"function"==typeof l?o(Function.call,l):l,v&&((_.virtual||(_.virtual={}))[s]=l,t&c.R&&m&&!m[s]&&a(m,s,l)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n){t.exports={}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n,e){var r=e(29)("keys"),i=e(33);t.exports=function(t){return r[t]||(r[t]=i(t))}},function(t,n){var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},function(t,n,e){"use strict";function r(t){return new Function("d","return {"+t.map(function(t,n){return JSON.stringify(t)+": d["+n+"]"}).join(",")+"}")}function i(t,n){var e=r(t);return function(r,i){return n(e(r),i,t)}}function o(t){var n=Object.create(null),e=[];return t.forEach(function(t){for(var r in t)r in n||e.push(n[r]=r)}),e}n.a=function(t){function n(t,n){var o,a,u=e(t,function(t,e){return o?o(t,e-1):(a=t,void(o=n?i(t,n):r(t)))});return u.columns=a,u}function e(t,n){function e(){if(s>=c)return a;if(i)return i=!1,o;var n,e=s;if(34===t.charCodeAt(e)){for(var r=e;r++<c;)if(34===t.charCodeAt(r)){if(34!==t.charCodeAt(r+1))break;++r}return s=r+2,n=t.charCodeAt(r+1),13===n?(i=!0,10===t.charCodeAt(r+2)&&++s):10===n&&(i=!0),t.slice(e+1,r).replace(/""/g,'"')}for(;s<c;){var u=1;if(n=t.charCodeAt(s++),10===n)i=!0;else if(13===n)i=!0,10===t.charCodeAt(s)&&(++s,++u);else if(n!==l)continue;return t.slice(e,s-u)}return t.slice(e)}for(var r,i,o={},a={},u=[],c=t.length,s=0,f=0;(r=e())!==a;){for(var h=[];r!==o&&r!==a;)h.push(r),r=e();n&&null==(h=n(h,f++))||u.push(h)}return u}function a(n,e){return null==e&&(e=o(n)),[e.map(s).join(t)].concat(n.map(function(n){return e.map(function(t){return s(n[t])}).join(t)})).join("\n")}function u(t){return t.map(c).join("\n")}function c(n){return n.map(s).join(t)}function s(t){return null==t?"":f.test(t+="")?'"'+t.replace(/\"/g,'""')+'"':t}var f=new RegExp('["'+t+"\n]"),l=t.charCodeAt(0);return{parse:n,parseRows:e,format:a,formatRows:u}}},function(t,n,e){"use strict";(function(n){/*! |
|
* Vue.js v2.1.10 |
|
* (c) 2014-2017 Evan You |
|
* Released under the MIT License. |
|
*/ |
|
function e(t){return null==t?"":"object"==typeof t?JSON.stringify(t,null,2):String(t)}function r(t){var n=parseFloat(t);return isNaN(n)?t:n}function i(t,n){for(var e=Object.create(null),r=t.split(","),i=0;i<r.length;i++)e[r[i]]=!0;return n?function(t){return e[t.toLowerCase()]}:function(t){return e[t]}}function o(t,n){if(t.length){var e=t.indexOf(n);if(e>-1)return t.splice(e,1)}}function a(t,n){return ai.call(t,n)}function u(t){return"string"==typeof t||"number"==typeof t}function c(t){var n=Object.create(null);return function(e){var r=n[e];return r||(n[e]=t(e))}}function s(t,n){function e(e){var r=arguments.length;return r?r>1?t.apply(n,arguments):t.call(n,e):t.call(n)}return e._length=t.length,e}function f(t,n){n=n||0;for(var e=t.length-n,r=new Array(e);e--;)r[e]=t[e+n];return r}function l(t,n){for(var e in n)t[e]=n[e];return t}function h(t){return null!==t&&"object"==typeof t}function p(t){return hi.call(t)===pi}function d(t){for(var n={},e=0;e<t.length;e++)t[e]&&l(n,t[e]);return n}function v(){}function g(t){return t.reduce(function(t,n){return t.concat(n.staticKeys||[])},[]).join(",")}function y(t,n){var e=h(t),r=h(n);return e&&r?JSON.stringify(t)===JSON.stringify(n):!e&&!r&&String(t)===String(n)}function _(t,n){for(var e=0;e<t.length;e++)if(y(t[e],n))return e;return-1}function m(t){var n=(t+"").charCodeAt(0);return 36===n||95===n}function b(t,n,e,r){Object.defineProperty(t,n,{value:e,enumerable:!!r,writable:!0,configurable:!0})}function x(t){if(!yi.test(t)){var n=t.split(".");return function(t){for(var e=0;e<n.length;e++){if(!t)return;t=t[n[e]]}return t}}}function w(t){return/native code/.test(t.toString())}function M(t){ji.target&&Pi.push(ji.target),ji.target=t}function k(){ji.target=Pi.pop()}function A(t,n){t.__proto__=n}function E(t,n,e){for(var r=0,i=e.length;r<i;r++){var o=e[r];b(t,o,n[o])}}function C(t,n){if(h(t)){var e;return a(t,"__ob__")&&t.__ob__ instanceof zi?e=t.__ob__:Ii.shouldConvert&&!Ei()&&(Array.isArray(t)||p(t))&&Object.isExtensible(t)&&!t._isVue&&(e=new zi(t)),n&&e&&e.vmCount++,e}}function S(t,n,e,r){var i=new ji,o=Object.getOwnPropertyDescriptor(t,n);if(!o||o.configurable!==!1){var a=o&&o.get,u=o&&o.set,c=C(e);Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:function(){var n=a?a.call(t):e;return ji.target&&(i.depend(),c&&c.dep.depend(),Array.isArray(n)&&N(n)),n},set:function(n){var r=a?a.call(t):e;n===r||n!==n&&r!==r||(u?u.call(t,n):e=n,c=C(n),i.notify())}})}}function T(t,n,e){if(Array.isArray(t))return t.length=Math.max(t.length,n),t.splice(n,1,e),e;if(a(t,n))return void(t[n]=e);var r=t.__ob__;if(!(t._isVue||r&&r.vmCount))return r?(S(r.value,n,e),r.dep.notify(),e):void(t[n]=e)}function O(t,n){var e=t.__ob__;t._isVue||e&&e.vmCount||a(t,n)&&(delete t[n],e&&e.dep.notify())}function N(t){for(var n=void 0,e=0,r=t.length;e<r;e++)n=t[e],n&&n.__ob__&&n.__ob__.dep.depend(),Array.isArray(n)&&N(n)}function j(t,n){if(!n)return t;for(var e,r,i,o=Object.keys(n),u=0;u<o.length;u++)e=o[u],r=t[e],i=n[e],a(t,e)?p(r)&&p(i)&&j(r,i):T(t,e,i);return t}function P(t,n){return n?t?t.concat(n):Array.isArray(n)?n:[n]:t}function $(t,n){var e=Object.create(t||null);return n?l(e,n):e}function R(t){var n=t.props;if(n){var e,r,i,o={};if(Array.isArray(n))for(e=n.length;e--;)r=n[e],"string"==typeof r&&(i=ci(r),o[i]={type:null});else if(p(n))for(var a in n)r=n[a],i=ci(a),o[i]=p(r)?r:{type:r};t.props=o}}function L(t){var n=t.directives;if(n)for(var e in n){var r=n[e];"function"==typeof r&&(n[e]={bind:r,update:r})}}function I(t,n,e){function r(r){var i=Ui[r]||Di;f[r]=i(t[r],n[r],e,r)}R(n),L(n);var i=n.extends;if(i&&(t="function"==typeof i?I(t,i.options,e):I(t,i,e)),n.mixins)for(var o=0,u=n.mixins.length;o<u;o++){var c=n.mixins[o];c.prototype instanceof Bt&&(c=c.options),t=I(t,c,e)}var s,f={};for(s in t)r(s);for(s in n)a(t,s)||r(s);return f}function z(t,n,e,r){if("string"==typeof e){var i=t[n];if(a(i,e))return i[e];var o=ci(e);if(a(i,o))return i[o];var u=si(o);if(a(i,u))return i[u];var c=i[e]||i[o]||i[u];return c}}function U(t,n,e,r){var i=n[t],o=!a(e,t),u=e[t];if(F(Boolean,i.type)&&(o&&!a(i,"default")?u=!1:F(String,i.type)||""!==u&&u!==li(t)||(u=!0)),void 0===u){u=D(r,i,t);var c=Ii.shouldConvert;Ii.shouldConvert=!0,C(u),Ii.shouldConvert=c}return u}function D(t,n,e){if(a(n,"default")){var r=n.default;return h(r),t&&t.$options.propsData&&void 0===t.$options.propsData[e]&&void 0!==t[e]?t[e]:"function"==typeof r&&n.type!==Function?r.call(t):r}}function q(t){var n=t&&t.toString().match(/^\s*function (\w+)/);return n&&n[1]}function F(t,n){if(!Array.isArray(n))return q(n)===q(t);for(var e=0,r=n.length;e<r;e++)if(q(n[e])===q(t))return!0;return!1}function B(t){return new Fi(void 0,void 0,void 0,String(t))}function H(t){var n=new Fi(t.tag,t.data,t.children,t.text,t.elm,t.context,t.componentOptions);return n.ns=t.ns,n.isStatic=t.isStatic,n.key=t.key,n.isCloned=!0,n}function W(t){for(var n=new Array(t.length),e=0;e<t.length;e++)n[e]=H(t[e]);return n}function Y(t,n,e,r,i){if(t){var o=e.$options._base;if(h(t)&&(t=o.extend(t)),"function"==typeof t){if(!t.cid)if(t.resolved)t=t.resolved;else if(t=Q(t,o,function(){e.$forceUpdate()}),!t)return;Ft(t),n=n||{};var a=tt(n,t);if(t.options.functional)return V(t,a,n,e,r);var u=n.on;n.on=n.nativeOn,t.options.abstract&&(n={}),et(n);var c=t.options.name||i,s=new Fi("vue-component-"+t.cid+(c?"-"+c:""),n,void 0,void 0,void 0,e,{Ctor:t,propsData:a,listeners:u,tag:i,children:r});return s}}}function V(t,n,e,r,i){var o={},a=t.options.props;if(a)for(var u in a)o[u]=U(u,a,n);var c=Object.create(r),s=function(t,n,e,r){return lt(c,t,n,e,r,!0)},f=t.options.render.call(null,s,{props:o,data:e,parent:r,children:i,slots:function(){return gt(i,r)}});return f instanceof Fi&&(f.functionalContext=r,e.slot&&((f.data||(f.data={})).slot=e.slot)),f}function X(t,n,e,r){var i=t.componentOptions,o={_isComponent:!0,parent:n,propsData:i.propsData,_componentTag:i.tag,_parentVnode:t,_parentListeners:i.listeners,_renderChildren:i.children,_parentElm:e||null,_refElm:r||null},a=t.data.inlineTemplate;return a&&(o.render=a.render,o.staticRenderFns=a.staticRenderFns),new i.Ctor(o)}function G(t,n,e,r){if(!t.componentInstance||t.componentInstance._isDestroyed){var i=t.componentInstance=X(t,Ki,e,r);i.$mount(n?t.elm:void 0,n)}else if(t.data.keepAlive){var o=t;J(o,o)}}function J(t,n){var e=n.componentOptions,r=n.componentInstance=t.componentInstance;r._updateFromParent(e.propsData,e.listeners,n,e.children)}function K(t){t.componentInstance._isMounted||(t.componentInstance._isMounted=!0,kt(t.componentInstance,"mounted")),t.data.keepAlive&&(t.componentInstance._inactive=!1,kt(t.componentInstance,"activated"))}function Z(t){t.componentInstance._isDestroyed||(t.data.keepAlive?(t.componentInstance._inactive=!0,kt(t.componentInstance,"deactivated")):t.componentInstance.$destroy())}function Q(t,n,e){if(!t.requested){t.requested=!0;var r=t.pendingCallbacks=[e],i=!0,o=function(e){if(h(e)&&(e=n.extend(e)),t.resolved=e,!i)for(var o=0,a=r.length;o<a;o++)r[o](e)},a=function(t){},u=t(o,a);return u&&"function"==typeof u.then&&!t.resolved&&u.then(o,a),i=!1,t.resolved}t.pendingCallbacks.push(e)}function tt(t,n){var e=n.options.props;if(e){var r={},i=t.attrs,o=t.props,a=t.domProps;if(i||o||a)for(var u in e){var c=li(u);nt(r,o,u,c,!0)||nt(r,i,u,c)||nt(r,a,u,c)}return r}}function nt(t,n,e,r,i){if(n){if(a(n,e))return t[e]=n[e],i||delete n[e],!0;if(a(n,r))return t[e]=n[r],i||delete n[r],!0}return!1}function et(t){t.hook||(t.hook={});for(var n=0;n<Vi.length;n++){var e=Vi[n],r=t.hook[e],i=Yi[e];t.hook[e]=r?rt(i,r):i}}function rt(t,n){return function(e,r,i,o){t(e,r,i,o),n(e,r,i,o)}}function it(t,n,e,r){r+=n;var i=t.__injected||(t.__injected={});if(!i[r]){i[r]=!0;var o=t[n];o?t[n]=function(){o.apply(this,arguments),e.apply(this,arguments)}:t[n]=e}}function ot(t){var n={fn:t,invoker:function(){var t=arguments,e=n.fn;if(Array.isArray(e))for(var r=0;r<e.length;r++)e[r].apply(null,t);else e.apply(null,arguments)}};return n}function at(t,n,e,r,i){var o,a,u,c;for(o in t)a=t[o],u=n[o],c=Xi(o),a&&(u?a!==u&&(u.fn=a,t[o]=u):(a.invoker||(a=t[o]=ot(a)),e(c.name,a.invoker,c.once,c.capture)));for(o in n)t[o]||(c=Xi(o),r(c.name,n[o].invoker,c.capture))}function ut(t){for(var n=0;n<t.length;n++)if(Array.isArray(t[n]))return Array.prototype.concat.apply([],t);return t}function ct(t){return u(t)?[B(t)]:Array.isArray(t)?st(t):void 0}function st(t,n){var e,r,i,o=[];for(e=0;e<t.length;e++)r=t[e],null!=r&&"boolean"!=typeof r&&(i=o[o.length-1],Array.isArray(r)?o.push.apply(o,st(r,(n||"")+"_"+e)):u(r)?i&&i.text?i.text+=String(r):""!==r&&o.push(B(r)):r.text&&i&&i.text?o[o.length-1]=B(i.text+r.text):(r.tag&&null==r.key&&null!=n&&(r.key="__vlist"+n+"_"+e+"__"),o.push(r)));return o}function ft(t){return t&&t.filter(function(t){return t&&t.componentOptions})[0]}function lt(t,n,e,r,i,o){return(Array.isArray(e)||u(e))&&(i=r,r=e,e=void 0),o&&(i=Ji),ht(t,n,e,r,i)}function ht(t,n,e,r,i){if(e&&e.__ob__)return Wi();if(!n)return Wi();Array.isArray(r)&&"function"==typeof r[0]&&(e=e||{},e.scopedSlots={default:r[0]},r.length=0),i===Ji?r=ct(r):i===Gi&&(r=ut(r));var o,a;if("string"==typeof n){var u;a=gi.getTagNamespace(n),o=gi.isReservedTag(n)?new Fi(gi.parsePlatformTagName(n),e,r,void 0,void 0,t):(u=z(t.$options,"components",n))?Y(u,e,t,r,n):new Fi(n,e,r,void 0,void 0,t)}else o=Y(n,e,t,r);return o?(a&&pt(o,a),o):Wi()}function pt(t,n){if(t.ns=n,"foreignObject"!==t.tag&&t.children)for(var e=0,r=t.children.length;e<r;e++){var i=t.children[e];i.tag&&!i.ns&&pt(i,n)}}function dt(t){t.$vnode=null,t._vnode=null,t._staticTrees=null;var n=t.$options._parentVnode,e=n&&n.context;t.$slots=gt(t.$options._renderChildren,e),t.$scopedSlots={},t._c=function(n,e,r,i){return lt(t,n,e,r,i,!1)},t.$createElement=function(n,e,r,i){return lt(t,n,e,r,i,!0)}}function vt(t){function n(t,n,e){if(Array.isArray(t))for(var r=0;r<t.length;r++)t[r]&&"string"!=typeof t[r]&&i(t[r],n+"_"+r,e);else i(t,n,e)}function i(t,n,e){t.isStatic=!0,t.key=n,t.isOnce=e}t.prototype.$nextTick=function(t){return Si(t,this)},t.prototype._render=function(){var t=this,n=t.$options,e=n.render,r=n.staticRenderFns,i=n._parentVnode;if(t._isMounted)for(var o in t.$slots)t.$slots[o]=W(t.$slots[o]);i&&i.data.scopedSlots&&(t.$scopedSlots=i.data.scopedSlots),r&&!t._staticTrees&&(t._staticTrees=[]),t.$vnode=i;var a;try{a=e.call(t._renderProxy,t.$createElement)}catch(n){if(!gi.errorHandler)throw n;gi.errorHandler.call(null,n,t),a=t._vnode}return a instanceof Fi||(a=Wi()),a.parent=i,a},t.prototype._s=e,t.prototype._v=B,t.prototype._n=r,t.prototype._e=Wi,t.prototype._q=y,t.prototype._i=_,t.prototype._m=function(t,e){var r=this._staticTrees[t];return r&&!e?Array.isArray(r)?W(r):H(r):(r=this._staticTrees[t]=this.$options.staticRenderFns[t].call(this._renderProxy),n(r,"__static__"+t,!1),r)},t.prototype._o=function(t,e,r){return n(t,"__once__"+e+(r?"_"+r:""),!0),t},t.prototype._f=function(t){return z(this.$options,"filters",t,!0)||vi},t.prototype._l=function(t,n){var e,r,i,o,a;if(Array.isArray(t)||"string"==typeof t)for(e=new Array(t.length),r=0,i=t.length;r<i;r++)e[r]=n(t[r],r);else if("number"==typeof t)for(e=new Array(t),r=0;r<t;r++)e[r]=n(r+1,r);else if(h(t))for(o=Object.keys(t),e=new Array(o.length),r=0,i=o.length;r<i;r++)a=o[r],e[r]=n(t[a],a,r);return e},t.prototype._t=function(t,n,e,r){var i=this.$scopedSlots[t];if(i)return e=e||{},r&&l(e,r),i(e)||n;var o=this.$slots[t];return o||n},t.prototype._b=function(t,n,e,r){if(e)if(h(e)){Array.isArray(e)&&(e=d(e));for(var i in e)if("class"===i||"style"===i)t[i]=e[i];else{var o=t.attrs&&t.attrs.type,a=r||gi.mustUseProp(n,o,i)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={});a[i]=e[i]}}else;return t},t.prototype._k=function(t,n,e){var r=gi.keyCodes[n]||e;return Array.isArray(r)?r.indexOf(t)===-1:r!==t}}function gt(t,n){var e={};if(!t)return e;for(var r,i,o=[],a=0,u=t.length;a<u;a++)if(i=t[a],(i.context===n||i.functionalContext===n)&&i.data&&(r=i.data.slot)){var c=e[r]||(e[r]=[]);"template"===i.tag?c.push.apply(c,i.children):c.push(i)}else o.push(i);return o.length&&(1!==o.length||" "!==o[0].text&&!o[0].isComment)&&(e.default=o),e}function yt(t){t._events=Object.create(null),t._hasHookEvent=!1;var n=t.$options._parentListeners;n&&bt(t,n)}function _t(t,n,e){e?Hi.$once(t,n):Hi.$on(t,n)}function mt(t,n){Hi.$off(t,n)}function bt(t,n,e){Hi=t,at(n,e||{},_t,mt,t)}function xt(t){var n=/^hook:/;t.prototype.$on=function(t,e){var r=this;return(r._events[t]||(r._events[t]=[])).push(e),n.test(t)&&(r._hasHookEvent=!0),r},t.prototype.$once=function(t,n){function e(){r.$off(t,e),n.apply(r,arguments)}var r=this;return e.fn=n,r.$on(t,e),r},t.prototype.$off=function(t,n){var e=this;if(!arguments.length)return e._events=Object.create(null),e;var r=e._events[t];if(!r)return e;if(1===arguments.length)return e._events[t]=null,e;for(var i,o=r.length;o--;)if(i=r[o],i===n||i.fn===n){r.splice(o,1);break}return e},t.prototype.$emit=function(t){var n=this,e=n._events[t];if(e){e=e.length>1?f(e):e;for(var r=f(arguments,1),i=0,o=e.length;i<o;i++)e[i].apply(n,r)}return n}}function wt(t){var n=t.$options,e=n.parent;if(e&&!n.abstract){for(;e.$options.abstract&&e.$parent;)e=e.$parent;e.$children.push(t)}t.$parent=e,t.$root=e?e.$root:t,t.$children=[],t.$refs={},t._watcher=null,t._inactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}function Mt(t){t.prototype._mount=function(t,n){var e=this;return e.$el=t,e.$options.render||(e.$options.render=Wi),kt(e,"beforeMount"),e._watcher=new io(e,function(){e._update(e._render(),n)},v),n=!1,null==e.$vnode&&(e._isMounted=!0,kt(e,"mounted")),e},t.prototype._update=function(t,n){var e=this;e._isMounted&&kt(e,"beforeUpdate");var r=e.$el,i=e._vnode,o=Ki;Ki=e,e._vnode=t,i?e.$el=e.__patch__(i,t):e.$el=e.__patch__(e.$el,t,n,!1,e.$options._parentElm,e.$options._refElm),Ki=o,r&&(r.__vue__=null),e.$el&&(e.$el.__vue__=e),e.$vnode&&e.$parent&&e.$vnode===e.$parent._vnode&&(e.$parent.$el=e.$el)},t.prototype._updateFromParent=function(t,n,e,r){var i=this,o=!(!i.$options._renderChildren&&!r);if(i.$options._parentVnode=e,i.$vnode=e,i._vnode&&(i._vnode.parent=e),i.$options._renderChildren=r,t&&i.$options.props){Ii.shouldConvert=!1;for(var a=i.$options._propKeys||[],u=0;u<a.length;u++){var c=a[u];i[c]=U(c,i.$options.props,t,i)}Ii.shouldConvert=!0,i.$options.propsData=t}if(n){var s=i.$options._parentListeners;i.$options._parentListeners=n,bt(i,n,s)}o&&(i.$slots=gt(r,e.context),i.$forceUpdate())},t.prototype.$forceUpdate=function(){var t=this;t._watcher&&t._watcher.update()},t.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){kt(t,"beforeDestroy"),t._isBeingDestroyed=!0;var n=t.$parent;!n||n._isBeingDestroyed||t.$options.abstract||o(n.$children,t),t._watcher&&t._watcher.teardown();for(var e=t._watchers.length;e--;)t._watchers[e].teardown();t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,kt(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.__patch__(t._vnode,null)}}}function kt(t,n){var e=t.$options[n];if(e)for(var r=0,i=e.length;r<i;r++)e[r].call(t);t._hasHookEvent&&t.$emit("hook:"+n)}function At(){Zi.length=0,Qi={},to=no=!1}function Et(){no=!0;var t,n,e;for(Zi.sort(function(t,n){return t.id-n.id}),eo=0;eo<Zi.length;eo++)t=Zi[eo],n=t.id,Qi[n]=null,t.run();for(eo=Zi.length;eo--;)t=Zi[eo],e=t.vm,e._watcher===t&&e._isMounted&&kt(e,"updated");Ci&&gi.devtools&&Ci.emit("flush"),At()}function Ct(t){var n=t.id;if(null==Qi[n]){if(Qi[n]=!0,no){for(var e=Zi.length-1;e>=0&&Zi[e].id>t.id;)e--;Zi.splice(Math.max(e,eo)+1,0,t)}else Zi.push(t);to||(to=!0,Si(Et))}}function St(t){oo.clear(),Tt(t,oo)}function Tt(t,n){var e,r,i=Array.isArray(t);if((i||h(t))&&Object.isExtensible(t)){if(t.__ob__){var o=t.__ob__.dep.id;if(n.has(o))return;n.add(o)}if(i)for(e=t.length;e--;)Tt(t[e],n);else for(r=Object.keys(t),e=r.length;e--;)Tt(t[r[e]],n)}}function Ot(t){t._watchers=[];var n=t.$options;n.props&&Nt(t,n.props),n.methods&&Rt(t,n.methods),n.data?jt(t):C(t._data={},!0),n.computed&&Pt(t,n.computed),n.watch&&Lt(t,n.watch)}function Nt(t,n){var e=t.$options.propsData||{},r=t.$options._propKeys=Object.keys(n),i=!t.$parent;Ii.shouldConvert=i;for(var o=function(i){var o=r[i];S(t,o,U(o,n,e,t))},a=0;a<r.length;a++)o(a);Ii.shouldConvert=!0}function jt(t){var n=t.$options.data;n=t._data="function"==typeof n?n.call(t):n||{},p(n)||(n={});for(var e=Object.keys(n),r=t.$options.props,i=e.length;i--;)r&&a(r,e[i])||Ut(t,e[i]);C(n,!0)}function Pt(t,n){for(var e in n){var r=n[e];"function"==typeof r?(ao.get=$t(r,t),ao.set=v):(ao.get=r.get?r.cache!==!1?$t(r.get,t):s(r.get,t):v,ao.set=r.set?s(r.set,t):v),Object.defineProperty(t,e,ao)}}function $t(t,n){var e=new io(n,t,v,{lazy:!0});return function(){return e.dirty&&e.evaluate(),ji.target&&e.depend(),e.value}}function Rt(t,n){for(var e in n)t[e]=null==n[e]?v:s(n[e],t)}function Lt(t,n){for(var e in n){var r=n[e];if(Array.isArray(r))for(var i=0;i<r.length;i++)It(t,e,r[i]);else It(t,e,r)}}function It(t,n,e){var r;p(e)&&(r=e,e=e.handler),"string"==typeof e&&(e=t[e]),t.$watch(n,e,r)}function zt(t){var n={};n.get=function(){return this._data},Object.defineProperty(t.prototype,"$data",n),t.prototype.$set=T,t.prototype.$delete=O,t.prototype.$watch=function(t,n,e){var r=this;e=e||{},e.user=!0;var i=new io(r,t,n,e);return e.immediate&&n.call(r,i.value),function(){i.teardown()}}}function Ut(t,n){m(n)||Object.defineProperty(t,n,{configurable:!0,enumerable:!0,get:function(){return t._data[n]},set:function(e){t._data[n]=e}})}function Dt(t){t.prototype._init=function(t){var n=this;n._uid=uo++,n._isVue=!0,t&&t._isComponent?qt(n,t):n.$options=I(Ft(n.constructor),t||{},n),n._renderProxy=n,n._self=n,wt(n),yt(n),dt(n),kt(n,"beforeCreate"),Ot(n),kt(n,"created"),n.$options.el&&n.$mount(n.$options.el)}}function qt(t,n){var e=t.$options=Object.create(t.constructor.options);e.parent=n.parent,e.propsData=n.propsData,e._parentVnode=n._parentVnode,e._parentListeners=n._parentListeners,e._renderChildren=n._renderChildren,e._componentTag=n._componentTag,e._parentElm=n._parentElm,e._refElm=n._refElm,n.render&&(e.render=n.render,e.staticRenderFns=n.staticRenderFns)}function Ft(t){var n=t.options;if(t.super){var e=t.super.options,r=t.superOptions,i=t.extendOptions;e!==r&&(t.superOptions=e,i.render=n.render,i.staticRenderFns=n.staticRenderFns,i._scopeId=n._scopeId,n=t.options=I(e,i),n.name&&(n.components[n.name]=t))}return n}function Bt(t){this._init(t)}function Ht(t){t.use=function(t){if(!t.installed){var n=f(arguments,1);return n.unshift(this),"function"==typeof t.install?t.install.apply(t,n):t.apply(null,n),t.installed=!0,this}}}function Wt(t){t.mixin=function(t){this.options=I(this.options,t)}}function Yt(t){t.cid=0;var n=1;t.extend=function(t){t=t||{};var e=this,r=e.cid,i=t._Ctor||(t._Ctor={});if(i[r])return i[r];var o=t.name||e.options.name,a=function(t){this._init(t)};return a.prototype=Object.create(e.prototype),a.prototype.constructor=a,a.cid=n++,a.options=I(e.options,t),a.super=e,a.extend=e.extend,a.mixin=e.mixin,a.use=e.use,gi._assetTypes.forEach(function(t){a[t]=e[t]}),o&&(a.options.components[o]=a),a.superOptions=e.options,a.extendOptions=t,i[r]=a,a}}function Vt(t){gi._assetTypes.forEach(function(n){t[n]=function(t,e){return e?("component"===n&&p(e)&&(e.name=e.name||t,e=this.options._base.extend(e)),"directive"===n&&"function"==typeof e&&(e={bind:e,update:e}),this.options[n+"s"][t]=e,e):this.options[n+"s"][t]}})}function Xt(t){return t&&(t.Ctor.options.name||t.tag)}function Gt(t,n){return"string"==typeof t?t.split(",").indexOf(n)>-1:t.test(n)}function Jt(t,n){for(var e in t){var r=t[e];if(r){var i=Xt(r.componentOptions);i&&!n(i)&&(Kt(r),t[e]=null)}}}function Kt(t){t&&(t.componentInstance._inactive||kt(t.componentInstance,"deactivated"),t.componentInstance.$destroy())}function Zt(t){var n={};n.get=function(){return gi},Object.defineProperty(t,"config",n),t.util=qi,t.set=T,t.delete=O,t.nextTick=Si,t.options=Object.create(null),gi._assetTypes.forEach(function(n){t.options[n+"s"]=Object.create(null)}),t.options._base=t,l(t.options.components,fo),Ht(t),Wt(t),Yt(t),Vt(t)}function Qt(t){for(var n=t.data,e=t,r=t;r.componentInstance;)r=r.componentInstance._vnode,r.data&&(n=tn(r.data,n));for(;e=e.parent;)e.data&&(n=tn(n,e.data));return nn(n)}function tn(t,n){return{staticClass:en(t.staticClass,n.staticClass),class:t.class?[t.class,n.class]:n.class}}function nn(t){var n=t.class,e=t.staticClass;return e||n?en(e,rn(n)):""}function en(t,n){return t?n?t+" "+n:t:n||""}function rn(t){var n="";if(!t)return n;if("string"==typeof t)return t;if(Array.isArray(t)){for(var e,r=0,i=t.length;r<i;r++)t[r]&&(e=rn(t[r]))&&(n+=e+" ");return n.slice(0,-1)}if(h(t)){for(var o in t)t[o]&&(n+=o+" ");return n.slice(0,-1)}return n}function on(t){return ko(t)?"svg":"math"===t?"math":void 0}function an(t){if(!mi)return!0;if(Eo(t))return!1;if(t=t.toLowerCase(),null!=Co[t])return Co[t];var n=document.createElement(t);return t.indexOf("-")>-1?Co[t]=n.constructor===window.HTMLUnknownElement||n.constructor===window.HTMLElement:Co[t]=/HTMLUnknownElement/.test(n.toString())}function un(t){if("string"==typeof t){if(t=document.querySelector(t),!t)return document.createElement("div")}return t}function cn(t,n){var e=document.createElement(t);return"select"!==t?e:(n.data&&n.data.attrs&&"multiple"in n.data.attrs&&e.setAttribute("multiple","multiple"),e)}function sn(t,n){return document.createElementNS(wo[t],n)}function fn(t){return document.createTextNode(t)}function ln(t){return document.createComment(t)}function hn(t,n,e){t.insertBefore(n,e)}function pn(t,n){t.removeChild(n)}function dn(t,n){t.appendChild(n)}function vn(t){return t.parentNode}function gn(t){return t.nextSibling}function yn(t){return t.tagName}function _n(t,n){t.textContent=n}function mn(t,n,e){t.setAttribute(n,e)}function bn(t,n){var e=t.data.ref;if(e){var r=t.context,i=t.componentInstance||t.elm,a=r.$refs;n?Array.isArray(a[e])?o(a[e],i):a[e]===i&&(a[e]=void 0):t.data.refInFor?Array.isArray(a[e])&&a[e].indexOf(i)<0?a[e].push(i):a[e]=[i]:a[e]=i}}function xn(t){return null==t}function wn(t){return null!=t}function Mn(t,n){return t.key===n.key&&t.tag===n.tag&&t.isComment===n.isComment&&!t.data==!n.data}function kn(t,n,e){var r,i,o={};for(r=n;r<=e;++r)i=t[r].key,wn(i)&&(o[i]=r);return o}function An(t){function n(t){return new Fi(C.tagName(t).toLowerCase(),{},[],void 0,t)}function e(t,n){function e(){0===--e.listeners&&r(t)}return e.listeners=n,e}function r(t){var n=C.parentNode(t);n&&C.removeChild(n,t)}function o(t,n,e,r,i){if(t.isRootInsert=!i,!a(t,n,e,r)){var o=t.data,u=t.children,c=t.tag;wn(c)?(t.elm=t.ns?C.createElementNS(t.ns,c):C.createElement(c,t),d(t),l(t,u,n),wn(o)&&p(t,n),f(e,t.elm,r)):t.isComment?(t.elm=C.createComment(t.text),f(e,t.elm,r)):(t.elm=C.createTextNode(t.text),f(e,t.elm,r))}}function a(t,n,e,r){var i=t.data;if(wn(i)){var o=wn(t.componentInstance)&&i.keepAlive;if(wn(i=i.hook)&&wn(i=i.init)&&i(t,!1,e,r),wn(t.componentInstance))return c(t,n),o&&s(t,n,e,r),!0}}function c(t,n){t.data.pendingInsert&&n.push.apply(n,t.data.pendingInsert),t.elm=t.componentInstance.$el,h(t)?(p(t,n),d(t)):(bn(t),n.push(t))}function s(t,n,e,r){for(var i,o=t;o.componentInstance;)if(o=o.componentInstance._vnode,wn(i=o.data)&&wn(i=i.transition)){for(i=0;i<A.activate.length;++i)A.activate[i](Oo,o);n.push(o);break}f(e,t.elm,r)}function f(t,n,e){t&&(e?C.insertBefore(t,n,e):C.appendChild(t,n))}function l(t,n,e){if(Array.isArray(n))for(var r=0;r<n.length;++r)o(n[r],e,t.elm,null,!0);else u(t.text)&&C.appendChild(t.elm,C.createTextNode(t.text))}function h(t){for(;t.componentInstance;)t=t.componentInstance._vnode;return wn(t.tag)}function p(t,n){for(var e=0;e<A.create.length;++e)A.create[e](Oo,t);M=t.data.hook,wn(M)&&(M.create&&M.create(Oo,t),M.insert&&n.push(t))}function d(t){var n;wn(n=t.context)&&wn(n=n.$options._scopeId)&&C.setAttribute(t.elm,n,""),wn(n=Ki)&&n!==t.context&&wn(n=n.$options._scopeId)&&C.setAttribute(t.elm,n,"")}function v(t,n,e,r,i,a){for(;r<=i;++r)o(e[r],a,t,n)}function g(t){var n,e,r=t.data;if(wn(r))for(wn(n=r.hook)&&wn(n=n.destroy)&&n(t),n=0;n<A.destroy.length;++n)A.destroy[n](t);if(wn(n=t.children))for(e=0;e<t.children.length;++e)g(t.children[e])}function y(t,n,e,i){for(;e<=i;++e){var o=n[e];wn(o)&&(wn(o.tag)?(_(o),g(o)):r(o.elm))}}function _(t,n){if(n||wn(t.data)){var i=A.remove.length+1;for(n?n.listeners+=i:n=e(t.elm,i),wn(M=t.componentInstance)&&wn(M=M._vnode)&&wn(M.data)&&_(M,n),M=0;M<A.remove.length;++M)A.remove[M](t,n);wn(M=t.data.hook)&&wn(M=M.remove)?M(t,n):n()}else r(t.elm)}function m(t,n,e,r,i){for(var a,u,c,s,f=0,l=0,h=n.length-1,p=n[0],d=n[h],g=e.length-1,_=e[0],m=e[g],x=!i;f<=h&&l<=g;)xn(p)?p=n[++f]:xn(d)?d=n[--h]:Mn(p,_)?(b(p,_,r),p=n[++f],_=e[++l]):Mn(d,m)?(b(d,m,r),d=n[--h],m=e[--g]):Mn(p,m)?(b(p,m,r),x&&C.insertBefore(t,p.elm,C.nextSibling(d.elm)),p=n[++f],m=e[--g]):Mn(d,_)?(b(d,_,r),x&&C.insertBefore(t,d.elm,p.elm),d=n[--h],_=e[++l]):(xn(a)&&(a=kn(n,f,h)),u=wn(_.key)?a[_.key]:null,xn(u)?(o(_,r,t,p.elm),_=e[++l]):(c=n[u],Mn(c,_)?(b(c,_,r),n[u]=void 0,x&&C.insertBefore(t,_.elm,p.elm),_=e[++l]):(o(_,r,t,p.elm),_=e[++l])));f>h?(s=xn(e[g+1])?null:e[g+1].elm,v(t,s,e,l,g,r)):l>g&&y(t,n,f,h)}function b(t,n,e,r){if(t!==n){if(n.isStatic&&t.isStatic&&n.key===t.key&&(n.isCloned||n.isOnce))return n.elm=t.elm,void(n.componentInstance=t.componentInstance);var i,o=n.data,a=wn(o);a&&wn(i=o.hook)&&wn(i=i.prepatch)&&i(t,n);var u=n.elm=t.elm,c=t.children,s=n.children;if(a&&h(n)){for(i=0;i<A.update.length;++i)A.update[i](t,n);wn(i=o.hook)&&wn(i=i.update)&&i(t,n)}xn(n.text)?wn(c)&&wn(s)?c!==s&&m(u,c,s,e,r):wn(s)?(wn(t.text)&&C.setTextContent(u,""),v(u,null,s,0,s.length-1,e)):wn(c)?y(u,c,0,c.length-1):wn(t.text)&&C.setTextContent(u,""):t.text!==n.text&&C.setTextContent(u,n.text),a&&wn(i=o.hook)&&wn(i=i.postpatch)&&i(t,n)}}function x(t,n,e){if(e&&t.parent)t.parent.data.pendingInsert=n;else for(var r=0;r<n.length;++r)n[r].data.hook.insert(n[r])}function w(t,n,e){n.elm=t;var r=n.tag,i=n.data,o=n.children;if(wn(i)&&(wn(M=i.hook)&&wn(M=M.init)&&M(n,!0),wn(M=n.componentInstance)))return c(n,e),!0;if(wn(r)){if(wn(o))if(t.hasChildNodes()){for(var a=!0,u=t.firstChild,s=0;s<o.length;s++){if(!u||!w(u,o[s],e)){a=!1;break}u=u.nextSibling}if(!a||u)return!1}else l(n,o,e);if(wn(i))for(var f in i)if(!S(f)){p(n,e);break}}else t.data!==n.text&&(t.data=n.text);return!0}var M,k,A={},E=t.modules,C=t.nodeOps;for(M=0;M<No.length;++M)for(A[No[M]]=[],k=0;k<E.length;++k)void 0!==E[k][No[M]]&&A[No[M]].push(E[k][No[M]]);var S=i("attrs,style,class,staticClass,staticStyle,key");return function(t,e,r,i,a,u){if(!e)return void(t&&g(t));var c=!1,s=[];if(t){var f=wn(t.nodeType);if(!f&&Mn(t,e))b(t,e,s,i);else{if(f){if(1===t.nodeType&&t.hasAttribute("server-rendered")&&(t.removeAttribute("server-rendered"),r=!0),r&&w(t,e,s))return x(e,s,!0),t;t=n(t)}var l=t.elm,p=C.parentNode(l);if(o(e,s,l._leaveCb?null:p,C.nextSibling(l)),e.parent){for(var d=e.parent;d;)d.elm=e.elm,d=d.parent;if(h(e))for(var v=0;v<A.create.length;++v)A.create[v](Oo,e.parent)}null!==p?y(p,[t],0,0):wn(t.tag)&&g(t)}}else c=!0,o(e,s,a,u);return x(e,s,c),e.elm}}function En(t,n){(t.data.directives||n.data.directives)&&Cn(t,n)}function Cn(t,n){var e,r,i,o=t===Oo,a=n===Oo,u=Sn(t.data.directives,t.context),c=Sn(n.data.directives,n.context),s=[],f=[];for(e in c)r=u[e],i=c[e],r?(i.oldValue=r.value,On(i,"update",n,t),i.def&&i.def.componentUpdated&&f.push(i)):(On(i,"bind",n,t),i.def&&i.def.inserted&&s.push(i));if(s.length){var l=function(){for(var e=0;e<s.length;e++)On(s[e],"inserted",n,t)};o?it(n.data.hook||(n.data.hook={}),"insert",l,"dir-insert"):l()}if(f.length&&it(n.data.hook||(n.data.hook={}),"postpatch",function(){for(var e=0;e<f.length;e++)On(f[e],"componentUpdated",n,t)},"dir-postpatch"),!o)for(e in u)c[e]||On(u[e],"unbind",t,t,a)}function Sn(t,n){var e=Object.create(null);if(!t)return e;var r,i;for(r=0;r<t.length;r++)i=t[r],i.modifiers||(i.modifiers=Po),e[Tn(i)]=i,i.def=z(n.$options,"directives",i.name,!0);return e}function Tn(t){return t.rawName||t.name+"."+Object.keys(t.modifiers||{}).join(".")}function On(t,n,e,r,i){var o=t.def&&t.def[n];o&&o(e.elm,t,e,r,i)}function Nn(t,n){if(t.data.attrs||n.data.attrs){var e,r,i,o=n.elm,a=t.data.attrs||{},u=n.data.attrs||{};u.__ob__&&(u=n.data.attrs=l({},u));for(e in u)r=u[e],i=a[e],i!==r&&jn(o,e,r);wi&&u.value!==a.value&&jn(o,"value",u.value);for(e in a)null==u[e]&&(mo(e)?o.removeAttributeNS(_o,bo(e)):go(e)||o.removeAttribute(e))}}function jn(t,n,e){yo(n)?xo(e)?t.removeAttribute(n):t.setAttribute(n,n):go(n)?t.setAttribute(n,xo(e)||"false"===e?"false":"true"):mo(n)?xo(e)?t.removeAttributeNS(_o,bo(n)):t.setAttributeNS(_o,n,e):xo(e)?t.removeAttribute(n):t.setAttribute(n,e)}function Pn(t,n){var e=n.elm,r=n.data,i=t.data;if(r.staticClass||r.class||i&&(i.staticClass||i.class)){var o=Qt(n),a=e._transitionClasses;a&&(o=en(o,rn(a))),o!==e._prevClass&&(e.setAttribute("class",o),e._prevClass=o)}}function $n(t,n,e,r){if(e){var i=n,o=lo;n=function(e){Rn(t,n,r,o),1===arguments.length?i(e):i.apply(null,arguments)}}lo.addEventListener(t,n,r)}function Rn(t,n,e,r){(r||lo).removeEventListener(t,n,e)}function Ln(t,n){if(t.data.on||n.data.on){var e=n.data.on||{},r=t.data.on||{};lo=n.elm,at(e,r,$n,Rn,n.context)}}function In(t,n){if(t.data.domProps||n.data.domProps){var e,r,i=n.elm,o=t.data.domProps||{},a=n.data.domProps||{};a.__ob__&&(a=n.data.domProps=l({},a));for(e in o)null==a[e]&&(i[e]="");for(e in a)if(r=a[e],"textContent"!==e&&"innerHTML"!==e||(n.children&&(n.children.length=0),r!==o[e]))if("value"===e){i._value=r;var u=null==r?"":String(r);zn(i,n,u)&&(i.value=u)}else i[e]=r}}function zn(t,n,e){return!t.composing&&("option"===n.tag||Un(t,e)||Dn(n,e))}function Un(t,n){return document.activeElement!==t&&t.value!==n}function Dn(t,n){var e=t.elm.value,i=t.elm._vModifiers;return i&&i.number||"number"===t.elm.type?r(e)!==r(n):i&&i.trim?e.trim()!==n.trim():e!==n}function qn(t){var n=Fn(t.style);return t.staticStyle?l(t.staticStyle,n):n}function Fn(t){return Array.isArray(t)?d(t):"string"==typeof t?Uo(t):t}function Bn(t,n){var e,r={};if(n)for(var i=t;i.componentInstance;)i=i.componentInstance._vnode,i.data&&(e=qn(i.data))&&l(r,e);(e=qn(t.data))&&l(r,e);for(var o=t;o=o.parent;)o.data&&(e=qn(o.data))&&l(r,e);return r}function Hn(t,n){var e=n.data,r=t.data;if(e.staticStyle||e.style||r.staticStyle||r.style){var i,o,a=n.elm,u=t.data.staticStyle,c=t.data.style||{},s=u||c,f=Fn(n.data.style)||{};n.data.style=f.__ob__?l({},f):f;var h=Bn(n,!0);for(o in s)null==h[o]&&Fo(a,o,"");for(o in h)i=h[o],i!==s[o]&&Fo(a,o,null==i?"":i)}}function Wn(t,n){if(n&&n.trim())if(t.classList)n.indexOf(" ")>-1?n.split(/\s+/).forEach(function(n){return t.classList.add(n)}):t.classList.add(n);else{var e=" "+t.getAttribute("class")+" ";e.indexOf(" "+n+" ")<0&&t.setAttribute("class",(e+n).trim())}}function Yn(t,n){if(n&&n.trim())if(t.classList)n.indexOf(" ")>-1?n.split(/\s+/).forEach(function(n){return t.classList.remove(n)}):t.classList.remove(n);else{for(var e=" "+t.getAttribute("class")+" ",r=" "+n+" ";e.indexOf(r)>=0;)e=e.replace(r," ");t.setAttribute("class",e.trim())}}function Vn(t){Qo(function(){Qo(t)})}function Xn(t,n){(t._transitionClasses||(t._transitionClasses=[])).push(n),Wn(t,n)}function Gn(t,n){t._transitionClasses&&o(t._transitionClasses,n),Yn(t,n)}function Jn(t,n,e){var r=Kn(t,n),i=r.type,o=r.timeout,a=r.propCount;if(!i)return e();var u=i===Vo?Jo:Zo,c=0,s=function(){t.removeEventListener(u,f),e()},f=function(n){n.target===t&&++c>=a&&s()};setTimeout(function(){c<a&&s()},o+1),t.addEventListener(u,f)}function Kn(t,n){var e,r=window.getComputedStyle(t),i=r[Go+"Delay"].split(", "),o=r[Go+"Duration"].split(", "),a=Zn(i,o),u=r[Ko+"Delay"].split(", "),c=r[Ko+"Duration"].split(", "),s=Zn(u,c),f=0,l=0;n===Vo?a>0&&(e=Vo,f=a,l=o.length):n===Xo?s>0&&(e=Xo,f=s,l=c.length):(f=Math.max(a,s),e=f>0?a>s?Vo:Xo:null,l=e?e===Vo?o.length:c.length:0);var h=e===Vo&&ta.test(r[Go+"Property"]);return{type:e,timeout:f,propCount:l,hasTransform:h}}function Zn(t,n){for(;t.length<n.length;)t=t.concat(t);return Math.max.apply(null,n.map(function(n,e){return Qn(n)+Qn(t[e])}))}function Qn(t){return 1e3*Number(t.slice(0,-1))}function te(t,n){var e=t.elm;e._leaveCb&&(e._leaveCb.cancelled=!0, |
|
e._leaveCb());var r=ee(t.data.transition);if(r&&!e._enterCb&&1===e.nodeType){for(var i=r.css,o=r.type,a=r.enterClass,u=r.enterToClass,c=r.enterActiveClass,s=r.appearClass,f=r.appearToClass,l=r.appearActiveClass,h=r.beforeEnter,p=r.enter,d=r.afterEnter,v=r.enterCancelled,g=r.beforeAppear,y=r.appear,_=r.afterAppear,m=r.appearCancelled,b=Ki,x=Ki.$vnode;x&&x.parent;)x=x.parent,b=x.context;var w=!b._isMounted||!t.isRootInsert;if(!w||y||""===y){var M=w?s:a,k=w?l:c,A=w?f:u,E=w?g||h:h,C=w&&"function"==typeof y?y:p,S=w?_||d:d,T=w?m||v:v,O=i!==!1&&!wi,N=C&&(C._length||C.length)>1,j=e._enterCb=re(function(){O&&(Gn(e,A),Gn(e,k)),j.cancelled?(O&&Gn(e,M),T&&T(e)):S&&S(e),e._enterCb=null});t.data.show||it(t.data.hook||(t.data.hook={}),"insert",function(){var n=e.parentNode,r=n&&n._pending&&n._pending[t.key];r&&r.tag===t.tag&&r.elm._leaveCb&&r.elm._leaveCb(),C&&C(e,j)},"transition-insert"),E&&E(e),O&&(Xn(e,M),Xn(e,k),Vn(function(){Xn(e,A),Gn(e,M),j.cancelled||N||Jn(e,o,j)})),t.data.show&&(n&&n(),C&&C(e,j)),O||N||j()}}}function ne(t,n){function e(){y.cancelled||(t.data.show||((r.parentNode._pending||(r.parentNode._pending={}))[t.key]=t),f&&f(r),v&&(Xn(r,u),Xn(r,s),Vn(function(){Xn(r,c),Gn(r,u),y.cancelled||g||Jn(r,a,y)})),l&&l(r,y),v||g||y())}var r=t.elm;r._enterCb&&(r._enterCb.cancelled=!0,r._enterCb());var i=ee(t.data.transition);if(!i)return n();if(!r._leaveCb&&1===r.nodeType){var o=i.css,a=i.type,u=i.leaveClass,c=i.leaveToClass,s=i.leaveActiveClass,f=i.beforeLeave,l=i.leave,h=i.afterLeave,p=i.leaveCancelled,d=i.delayLeave,v=o!==!1&&!wi,g=l&&(l._length||l.length)>1,y=r._leaveCb=re(function(){r.parentNode&&r.parentNode._pending&&(r.parentNode._pending[t.key]=null),v&&(Gn(r,c),Gn(r,s)),y.cancelled?(v&&Gn(r,u),p&&p(r)):(n(),h&&h(r)),r._leaveCb=null});d?d(e):e()}}function ee(t){if(t){if("object"==typeof t){var n={};return t.css!==!1&&l(n,na(t.name||"v")),l(n,t),n}return"string"==typeof t?na(t):void 0}}function re(t){var n=!1;return function(){n||(n=!0,t())}}function ie(t,n){n.data.show||te(n)}function oe(t,n,e){var r=n.value,i=t.multiple;if(!i||Array.isArray(r)){for(var o,a,u=0,c=t.options.length;u<c;u++)if(a=t.options[u],i)o=_(r,ue(a))>-1,a.selected!==o&&(a.selected=o);else if(y(ue(a),r))return void(t.selectedIndex!==u&&(t.selectedIndex=u));i||(t.selectedIndex=-1)}}function ae(t,n){for(var e=0,r=n.length;e<r;e++)if(y(ue(n[e]),t))return!1;return!0}function ue(t){return"_value"in t?t._value:t.value}function ce(t){t.target.composing=!0}function se(t){t.target.composing=!1,fe(t.target,"input")}function fe(t,n){var e=document.createEvent("HTMLEvents");e.initEvent(n,!0,!0),t.dispatchEvent(e)}function le(t){return!t.componentInstance||t.data&&t.data.transition?t:le(t.componentInstance._vnode)}function he(t){var n=t&&t.componentOptions;return n&&n.Ctor.options.abstract?he(ft(n.children)):t}function pe(t){var n={},e=t.$options;for(var r in e.propsData)n[r]=t[r];var i=e._parentListeners;for(var o in i)n[ci(o)]=i[o].fn;return n}function de(t,n){return/\d-keep-alive$/.test(n.tag)?t("keep-alive"):null}function ve(t){for(;t=t.parent;)if(t.data.transition)return!0}function ge(t,n){return n.key===t.key&&n.tag===t.tag}function ye(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function _e(t){t.data.newPos=t.elm.getBoundingClientRect()}function me(t){var n=t.data.pos,e=t.data.newPos,r=n.left-e.left,i=n.top-e.top;if(r||i){t.data.moved=!0;var o=t.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+i+"px)",o.transitionDuration="0s"}}function be(t,n){var e=document.createElement("div");return e.innerHTML='<div a="'+t+'">',e.innerHTML.indexOf(n)>0}function xe(t){return da=da||document.createElement("div"),da.innerHTML=t,da.textContent}function we(t,n){return n&&(t=t.replace(uu,"\n")),t.replace(ou,"<").replace(au,">").replace(cu,"&").replace(su,'"')}function Me(t,n){function e(n){l+=n,t=t.substring(n)}function r(){var n=t.match(Aa);if(n){var r={tagName:n[1],attrs:[],start:l};e(n[0].length);for(var i,o;!(i=t.match(Ea))&&(o=t.match(wa));)e(o[0].length),r.attrs.push(o);if(i)return r.unarySlash=i[1],e(i[0].length),r.end=l,r}}function i(t){var e=t.tagName,r=t.unarySlash;s&&("p"===u&&_a(e)&&o(u),ya(e)&&u===e&&o(e));for(var i=f(e)||"html"===e&&"head"===u||!!r,a=t.attrs.length,l=new Array(a),h=0;h<a;h++){var p=t.attrs[h];Na&&p[0].indexOf('""')===-1&&(""===p[3]&&delete p[3],""===p[4]&&delete p[4],""===p[5]&&delete p[5]);var d=p[3]||p[4]||p[5]||"";l[h]={name:p[1],value:we(d,n.shouldDecodeNewlines)}}i||(c.push({tag:e,lowerCasedTag:e.toLowerCase(),attrs:l}),u=e,r=""),n.start&&n.start(e,l,i,t.start,t.end)}function o(t,e,r){var i,o;if(null==e&&(e=l),null==r&&(r=l),t&&(o=t.toLowerCase()),t)for(i=c.length-1;i>=0&&c[i].lowerCasedTag!==o;i--);else i=0;if(i>=0){for(var a=c.length-1;a>=i;a--)n.end&&n.end(c[a].tag,e,r);c.length=i,u=i&&c[i-1].tag}else"br"===o?n.start&&n.start(t,[],!0,e,r):"p"===o&&(n.start&&n.start(t,[],!1,e,r),n.end&&n.end(t,e,r))}for(var a,u,c=[],s=n.expectHTML,f=n.isUnaryTag||di,l=0;t;){if(a=t,u&&ru(u)){var h=u.toLowerCase(),p=iu[h]||(iu[h]=new RegExp("([\\s\\S]*?)(</"+h+"[^>]*>)","i")),d=0,v=t.replace(p,function(t,e,r){return d=r.length,"script"!==h&&"style"!==h&&"noscript"!==h&&(e=e.replace(/<!--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),n.chars&&n.chars(e),""});l+=t.length-v.length,t=v,o(h,l-d,l)}else{var g=t.indexOf("<");if(0===g){if(Ta.test(t)){var y=t.indexOf("-->");if(y>=0){e(y+3);continue}}if(Oa.test(t)){var _=t.indexOf("]>");if(_>=0){e(_+2);continue}}var m=t.match(Sa);if(m){e(m[0].length);continue}var b=t.match(Ca);if(b){var x=l;e(b[0].length),o(b[1],x,l);continue}var w=r();if(w){i(w);continue}}var M=void 0,k=void 0,A=void 0;if(g>0){for(k=t.slice(g);!(Ca.test(k)||Aa.test(k)||Ta.test(k)||Oa.test(k)||(A=k.indexOf("<",1),A<0));)g+=A,k=t.slice(g);M=t.substring(0,g),e(g)}g<0&&(M=t,t=""),n.chars&&M&&n.chars(M)}if(t===a&&n.chars){n.chars(t);break}}o()}function ke(t){function n(){(a||(a=[])).push(t.slice(d,i).trim()),d=i+1}var e,r,i,o,a,u=!1,c=!1,s=!1,f=!1,l=0,h=0,p=0,d=0;for(i=0;i<t.length;i++)if(r=e,e=t.charCodeAt(i),u)39===e&&92!==r&&(u=!1);else if(c)34===e&&92!==r&&(c=!1);else if(s)96===e&&92!==r&&(s=!1);else if(f)47===e&&92!==r&&(f=!1);else if(124!==e||124===t.charCodeAt(i+1)||124===t.charCodeAt(i-1)||l||h||p){switch(e){case 34:c=!0;break;case 39:u=!0;break;case 96:s=!0;break;case 40:p++;break;case 41:p--;break;case 91:h++;break;case 93:h--;break;case 123:l++;break;case 125:l--}if(47===e){for(var v=i-1,g=void 0;v>=0&&(g=t.charAt(v)," "===g);v--);g&&/[\w$]/.test(g)||(f=!0)}}else void 0===o?(d=i+1,o=t.slice(0,i).trim()):n();if(void 0===o?o=t.slice(0,i).trim():0!==d&&n(),a)for(i=0;i<a.length;i++)o=Ae(o,a[i]);return o}function Ae(t,n){var e=n.indexOf("(");if(e<0)return'_f("'+n+'")('+t+")";var r=n.slice(0,e),i=n.slice(e+1);return'_f("'+r+'")('+t+","+i}function Ee(t,n){var e=n?hu(n):fu;if(e.test(t)){for(var r,i,o=[],a=e.lastIndex=0;r=e.exec(t);){i=r.index,i>a&&o.push(JSON.stringify(t.slice(a,i)));var u=ke(r[1].trim());o.push("_s("+u+")"),a=i+r[0].length}return a<t.length&&o.push(JSON.stringify(t.slice(a))),o.join("+")}}function Ce(t){console.error("[Vue parser]: "+t)}function Se(t,n){return t?t.map(function(t){return t[n]}).filter(function(t){return t}):[]}function Te(t,n,e){(t.props||(t.props=[])).push({name:n,value:e})}function Oe(t,n,e){(t.attrs||(t.attrs=[])).push({name:n,value:e})}function Ne(t,n,e,r,i,o){(t.directives||(t.directives=[])).push({name:n,rawName:e,value:r,arg:i,modifiers:o})}function je(t,n,e,r,i){r&&r.capture&&(delete r.capture,n="!"+n),r&&r.once&&(delete r.once,n="~"+n);var o;r&&r.native?(delete r.native,o=t.nativeEvents||(t.nativeEvents={})):o=t.events||(t.events={});var a={value:e,modifiers:r},u=o[n];Array.isArray(u)?i?u.unshift(a):u.push(a):u?o[n]=i?[a,u]:[u,a]:o[n]=a}function Pe(t,n,e){var r=$e(t,":"+n)||$e(t,"v-bind:"+n);if(null!=r)return ke(r);if(e!==!1){var i=$e(t,n);if(null!=i)return JSON.stringify(i)}}function $e(t,n){var e;if(null!=(e=t.attrsMap[n]))for(var r=t.attrsList,i=0,o=r.length;i<o;i++)if(r[i].name===n){r.splice(i,1);break}return e}function Re(t){if(Pa=t,ja=Pa.length,Ra=La=Ia=0,t.indexOf("[")<0||t.lastIndexOf("]")<ja-1)return{exp:t,idx:null};for(;!Ie();)$a=Le(),ze($a)?De($a):91===$a&&Ue($a);return{exp:t.substring(0,La),idx:t.substring(La+1,Ia)}}function Le(){return Pa.charCodeAt(++Ra)}function Ie(){return Ra>=ja}function ze(t){return 34===t||39===t}function Ue(t){var n=1;for(La=Ra;!Ie();)if(t=Le(),ze(t))De(t);else if(91===t&&n++,93===t&&n--,0===n){Ia=Ra;break}}function De(t){for(var n=t;!Ie()&&(t=Le(),t!==n););}function qe(t,n){za=n.warn||Ce,Ua=n.getTagNamespace||di,Da=n.mustUseProp||di,qa=n.isPreTag||di,Fa=Se(n.modules,"preTransformNode"),Ba=Se(n.modules,"transformNode"),Ha=Se(n.modules,"postTransformNode"),Wa=n.delimiters;var e,r,i=[],o=n.preserveWhitespace!==!1,a=!1,u=!1;return Me(t,{expectHTML:n.expectHTML,isUnaryTag:n.isUnaryTag,shouldDecodeNewlines:n.shouldDecodeNewlines,start:function(t,o,c){function s(t){}var f=r&&r.ns||Ua(t);xi&&"svg"===f&&(o=or(o));var l={type:1,tag:t,attrsList:o,attrsMap:rr(o),parent:r,children:[]};f&&(l.ns=f),ir(l)&&!Ei()&&(l.forbidden=!0);for(var h=0;h<Fa.length;h++)Fa[h](l,n);if(a||(Fe(l),l.pre&&(a=!0)),qa(l.tag)&&(u=!0),a)Be(l);else{Ye(l),Ve(l),Ke(l),He(l),l.plain=!l.key&&!o.length,We(l),Ze(l),Qe(l);for(var p=0;p<Ba.length;p++)Ba[p](l,n);tr(l)}if(e?i.length||e.if&&(l.elseif||l.else)&&(s(l),Je(e,{exp:l.elseif,block:l})):(e=l,s(e)),r&&!l.forbidden)if(l.elseif||l.else)Xe(l,r);else if(l.slotScope){r.plain=!1;var d=l.slotTarget||"default";(r.scopedSlots||(r.scopedSlots={}))[d]=l}else r.children.push(l),l.parent=r;c||(r=l,i.push(l));for(var v=0;v<Ha.length;v++)Ha[v](l,n)},end:function(){var t=i[i.length-1],n=t.children[t.children.length-1];n&&3===n.type&&" "===n.text&&t.children.pop(),i.length-=1,r=i[i.length-1],t.pre&&(a=!1),qa(t.tag)&&(u=!1)},chars:function(t){if(r&&(!xi||"textarea"!==r.tag||r.attrsMap.placeholder!==t)){var n=r.children;if(t=u||t.trim()?bu(t):o&&n.length?" ":""){var e;!a&&" "!==t&&(e=Ee(t,Wa))?n.push({type:2,expression:e,text:t}):" "===t&&" "===n[n.length-1].text||r.children.push({type:3,text:t})}}}}),e}function Fe(t){null!=$e(t,"v-pre")&&(t.pre=!0)}function Be(t){var n=t.attrsList.length;if(n)for(var e=t.attrs=new Array(n),r=0;r<n;r++)e[r]={name:t.attrsList[r].name,value:JSON.stringify(t.attrsList[r].value)};else t.pre||(t.plain=!0)}function He(t){var n=Pe(t,"key");n&&(t.key=n)}function We(t){var n=Pe(t,"ref");n&&(t.ref=n,t.refInFor=nr(t))}function Ye(t){var n;if(n=$e(t,"v-for")){var e=n.match(du);if(!e)return;t.for=e[2].trim();var r=e[1].trim(),i=r.match(vu);i?(t.alias=i[1].trim(),t.iterator1=i[2].trim(),i[3]&&(t.iterator2=i[3].trim())):t.alias=r}}function Ve(t){var n=$e(t,"v-if");if(n)t.if=n,Je(t,{exp:n,block:t});else{null!=$e(t,"v-else")&&(t.else=!0);var e=$e(t,"v-else-if");e&&(t.elseif=e)}}function Xe(t,n){var e=Ge(n.children);e&&e.if&&Je(e,{exp:t.elseif,block:t})}function Ge(t){for(var n=t.length;n--;){if(1===t[n].type)return t[n];t.pop()}}function Je(t,n){t.ifConditions||(t.ifConditions=[]),t.ifConditions.push(n)}function Ke(t){var n=$e(t,"v-once");null!=n&&(t.once=!0)}function Ze(t){if("slot"===t.tag)t.slotName=Pe(t,"name");else{var n=Pe(t,"slot");n&&(t.slotTarget='""'===n?'"default"':n),"template"===t.tag&&(t.slotScope=$e(t,"scope"))}}function Qe(t){var n;(n=Pe(t,"is"))&&(t.component=n),null!=$e(t,"inline-template")&&(t.inlineTemplate=!0)}function tr(t){var n,e,r,i,o,a,u,c,s=t.attrsList;for(n=0,e=s.length;n<e;n++)if(r=i=s[n].name,o=s[n].value,pu.test(r))if(t.hasBindings=!0,u=er(r),u&&(r=r.replace(mu,"")),gu.test(r))r=r.replace(gu,""),o=ke(o),c=!1,u&&(u.prop&&(c=!0,r=ci(r),"innerHtml"===r&&(r="innerHTML")),u.camel&&(r=ci(r))),c||Da(t.tag,t.attrsMap.type,r)?Te(t,r,o):Oe(t,r,o);else if(yu.test(r))r=r.replace(yu,""),je(t,r,o,u);else{r=r.replace(pu,"");var f=r.match(_u);f&&(a=f[1])&&(r=r.slice(0,-(a.length+1))),Ne(t,r,i,o,a,u)}else{Oe(t,r,JSON.stringify(o))}}function nr(t){for(var n=t;n;){if(void 0!==n.for)return!0;n=n.parent}return!1}function er(t){var n=t.match(mu);if(n){var e={};return n.forEach(function(t){e[t.slice(1)]=!0}),e}}function rr(t){for(var n={},e=0,r=t.length;e<r;e++)n[t[e].name]=t[e].value;return n}function ir(t){return"style"===t.tag||"script"===t.tag&&(!t.attrsMap.type||"text/javascript"===t.attrsMap.type)}function or(t){for(var n=[],e=0;e<t.length;e++){var r=t[e];xu.test(r.name)||(r.name=r.name.replace(wu,""),n.push(r))}return n}function ar(t,n){t&&(Ya=Mu(n.staticKeys||""),Va=n.isReservedTag||di,cr(t),sr(t,!1))}function ur(t){return i("type,tag,attrsList,attrsMap,plain,parent,children,attrs"+(t?","+t:""))}function cr(t){if(t.static=lr(t),1===t.type){if(!Va(t.tag)&&"slot"!==t.tag&&null==t.attrsMap["inline-template"])return;for(var n=0,e=t.children.length;n<e;n++){var r=t.children[n];cr(r),r.static||(t.static=!1)}}}function sr(t,n){if(1===t.type){if((t.static||t.once)&&(t.staticInFor=n),t.static&&t.children.length&&(1!==t.children.length||3!==t.children[0].type))return void(t.staticRoot=!0);if(t.staticRoot=!1,t.children)for(var e=0,r=t.children.length;e<r;e++)sr(t.children[e],n||!!t.for);t.ifConditions&&fr(t.ifConditions,n)}}function fr(t,n){for(var e=1,r=t.length;e<r;e++)sr(t[e].block,n)}function lr(t){return 2!==t.type&&(3===t.type||!(!t.pre&&(t.hasBindings||t.if||t.for||oi(t.tag)||!Va(t.tag)||hr(t)||!Object.keys(t).every(Ya))))}function hr(t){for(;t.parent;){if(t=t.parent,"template"!==t.tag)return!1;if(t.for)return!0}return!1}function pr(t,n){var e=n?"nativeOn:{":"on:{";for(var r in t)e+='"'+r+'":'+dr(r,t[r])+",";return e.slice(0,-1)+"}"}function dr(t,n){if(n){if(Array.isArray(n))return"["+n.map(function(n){return dr(t,n)}).join(",")+"]";if(n.modifiers){var e="",r=[];for(var i in n.modifiers)Cu[i]?e+=Cu[i]:r.push(i);r.length&&(e=vr(r)+e);var o=Au.test(n.value)?n.value+"($event)":n.value;return"function($event){"+e+o+"}"}return ku.test(n.value)||Au.test(n.value)?n.value:"function($event){"+n.value+"}"}return"function(){}"}function vr(t){return"if("+t.map(gr).join("&&")+")return;"}function gr(t){var n=parseInt(t,10);if(n)return"$event.keyCode!=="+n;var e=Eu[t];return"_k($event.keyCode,"+JSON.stringify(t)+(e?","+JSON.stringify(e):"")+")"}function yr(t,n){t.wrapData=function(e){return"_b("+e+",'"+t.tag+"',"+n.value+(n.modifiers&&n.modifiers.prop?",true":"")+")"}}function _r(t,n){var e=Qa,r=Qa=[],i=tu;tu=0,nu=n,Xa=n.warn||Ce,Ga=Se(n.modules,"transformCode"),Ja=Se(n.modules,"genData"),Ka=n.directives||{},Za=n.isReservedTag||di;var o=t?mr(t):'_c("div")';return Qa=e,tu=i,{render:"with(this){return "+o+"}",staticRenderFns:r}}function mr(t){if(t.staticRoot&&!t.staticProcessed)return br(t);if(t.once&&!t.onceProcessed)return xr(t);if(t.for&&!t.forProcessed)return kr(t);if(t.if&&!t.ifProcessed)return wr(t);if("template"!==t.tag||t.slotTarget){if("slot"===t.tag)return Lr(t);var n;if(t.component)n=Ir(t.component,t);else{var e=t.plain?void 0:Ar(t),r=t.inlineTemplate?null:Or(t,!0);n="_c('"+t.tag+"'"+(e?","+e:"")+(r?","+r:"")+")"}for(var i=0;i<Ga.length;i++)n=Ga[i](t,n);return n}return Or(t)||"void 0"}function br(t){return t.staticProcessed=!0,Qa.push("with(this){return "+mr(t)+"}"),"_m("+(Qa.length-1)+(t.staticInFor?",true":"")+")"}function xr(t){if(t.onceProcessed=!0,t.if&&!t.ifProcessed)return wr(t);if(t.staticInFor){for(var n="",e=t.parent;e;){if(e.for){n=e.key;break}e=e.parent}return n?"_o("+mr(t)+","+tu++ +(n?","+n:"")+")":mr(t)}return br(t)}function wr(t){return t.ifProcessed=!0,Mr(t.ifConditions.slice())}function Mr(t){function n(t){return t.once?xr(t):mr(t)}if(!t.length)return"_e()";var e=t.shift();return e.exp?"("+e.exp+")?"+n(e.block)+":"+Mr(t):""+n(e.block)}function kr(t){var n=t.for,e=t.alias,r=t.iterator1?","+t.iterator1:"",i=t.iterator2?","+t.iterator2:"";return t.forProcessed=!0,"_l(("+n+"),function("+e+r+i+"){return "+mr(t)+"})"}function Ar(t){var n="{",e=Er(t);e&&(n+=e+","),t.key&&(n+="key:"+t.key+","),t.ref&&(n+="ref:"+t.ref+","),t.refInFor&&(n+="refInFor:true,"),t.pre&&(n+="pre:true,"),t.component&&(n+='tag:"'+t.tag+'",');for(var r=0;r<Ja.length;r++)n+=Ja[r](t);if(t.attrs&&(n+="attrs:{"+zr(t.attrs)+"},"),t.props&&(n+="domProps:{"+zr(t.props)+"},"),t.events&&(n+=pr(t.events)+","),t.nativeEvents&&(n+=pr(t.nativeEvents,!0)+","),t.slotTarget&&(n+="slot:"+t.slotTarget+","),t.scopedSlots&&(n+=Sr(t.scopedSlots)+","),t.inlineTemplate){var i=Cr(t);i&&(n+=i+",")}return n=n.replace(/,$/,"")+"}",t.wrapData&&(n=t.wrapData(n)),n}function Er(t){var n=t.directives;if(n){var e,r,i,o,a="directives:[",u=!1;for(e=0,r=n.length;e<r;e++){i=n[e],o=!0;var c=Ka[i.name]||Su[i.name];c&&(o=!!c(t,i,Xa)),o&&(u=!0,a+='{name:"'+i.name+'",rawName:"'+i.rawName+'"'+(i.value?",value:("+i.value+"),expression:"+JSON.stringify(i.value):"")+(i.arg?',arg:"'+i.arg+'"':"")+(i.modifiers?",modifiers:"+JSON.stringify(i.modifiers):"")+"},")}return u?a.slice(0,-1)+"]":void 0}}function Cr(t){var n=t.children[0];if(1===n.type){var e=_r(n,nu);return"inlineTemplate:{render:function(){"+e.render+"},staticRenderFns:["+e.staticRenderFns.map(function(t){return"function(){"+t+"}"}).join(",")+"]}"}}function Sr(t){return"scopedSlots:{"+Object.keys(t).map(function(n){return Tr(n,t[n])}).join(",")+"}"}function Tr(t,n){return t+":function("+String(n.attrsMap.scope)+"){return "+("template"===n.tag?Or(n)||"void 0":mr(n))+"}"}function Or(t,n){var e=t.children;if(e.length){var r=e[0];if(1===e.length&&r.for&&"template"!==r.tag&&"slot"!==r.tag)return mr(r);var i=Nr(e);return"["+e.map($r).join(",")+"]"+(n&&i?","+i:"")}}function Nr(t){for(var n=0,e=0;e<t.length;e++){var r=t[e];if(1===r.type){if(jr(r)||r.ifConditions&&r.ifConditions.some(function(t){return jr(t.block)})){n=2;break}(Pr(r)||r.ifConditions&&r.ifConditions.some(function(t){return Pr(t.block)}))&&(n=1)}}return n}function jr(t){return void 0!==t.for||"template"===t.tag||"slot"===t.tag}function Pr(t){return!Za(t.tag)}function $r(t){return 1===t.type?mr(t):Rr(t)}function Rr(t){return"_v("+(2===t.type?t.expression:Ur(JSON.stringify(t.text)))+")"}function Lr(t){var n=t.slotName||'"default"',e=Or(t),r="_t("+n+(e?","+e:""),i=t.attrs&&"{"+t.attrs.map(function(t){return ci(t.name)+":"+t.value}).join(",")+"}",o=t.attrsMap["v-bind"];return!i&&!o||e||(r+=",null"),i&&(r+=","+i),o&&(r+=(i?"":",null")+","+o),r+")"}function Ir(t,n){var e=n.inlineTemplate?null:Or(n,!0);return"_c("+t+","+Ar(n)+(e?","+e:"")+")"}function zr(t){for(var n="",e=0;e<t.length;e++){var r=t[e];n+='"'+r.name+'":'+Ur(r.value)+","}return n.slice(0,-1)}function Ur(t){return t.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}function Dr(t,n){var e=qe(t.trim(),n);ar(e,n);var r=_r(e,n);return{ast:e,render:r.render,staticRenderFns:r.staticRenderFns}}function qr(t,n){var e=(n.warn||Ce,$e(t,"class"));e&&(t.staticClass=JSON.stringify(e));var r=Pe(t,"class",!1);r&&(t.classBinding=r)}function Fr(t){var n="";return t.staticClass&&(n+="staticClass:"+t.staticClass+","),t.classBinding&&(n+="class:"+t.classBinding+","),n}function Br(t,n){var e=(n.warn||Ce,$e(t,"style"));if(e){t.staticStyle=JSON.stringify(Uo(e))}var r=Pe(t,"style",!1);r&&(t.styleBinding=r)}function Hr(t){var n="";return t.staticStyle&&(n+="staticStyle:"+t.staticStyle+","),t.styleBinding&&(n+="style:("+t.styleBinding+"),"),n}function Wr(t,n,e){eu=e;var r=n.value,i=n.modifiers,o=t.tag,a=t.attrsMap.type;return"select"===o?Gr(t,r,i):"input"===o&&"checkbox"===a?Yr(t,r,i):"input"===o&&"radio"===a?Vr(t,r,i):Xr(t,r,i),!0}function Yr(t,n,e){var r=e&&e.number,i=Pe(t,"value")||"null",o=Pe(t,"true-value")||"true",a=Pe(t,"false-value")||"false";Te(t,"checked","Array.isArray("+n+")?_i("+n+","+i+")>-1"+("true"===o?":("+n+")":":_q("+n+","+o+")")),je(t,"click","var $$a="+n+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+a+");if(Array.isArray($$a)){var $$v="+(r?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$c){$$i<0&&("+n+"=$$a.concat($$v))}else{$$i>-1&&("+n+"=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{"+n+"=$$c}",null,!0)}function Vr(t,n,e){var r=e&&e.number,i=Pe(t,"value")||"null";i=r?"_n("+i+")":i,Te(t,"checked","_q("+n+","+i+")"),je(t,"click",Jr(n,i),null,!0)}function Xr(t,n,e){var r=t.attrsMap.type,i=e||{},o=i.lazy,a=i.number,u=i.trim,c=o||xi&&"range"===r?"change":"input",s=!o&&"range"!==r,f="input"===t.tag||"textarea"===t.tag,l=f?"$event.target.value"+(u?".trim()":""):u?"(typeof $event === 'string' ? $event.trim() : $event)":"$event";l=a||"number"===r?"_n("+l+")":l;var h=Jr(n,l);f&&s&&(h="if($event.target.composing)return;"+h),Te(t,"value",f?"_s("+n+")":"("+n+")"),je(t,c,h,null,!0),(u||a||"number"===r)&&je(t,"blur","$forceUpdate()")}function Gr(t,n,e){var r=e&&e.number,i='Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(r?"_n(val)":"val")+"})"+(null==t.attrsMap.multiple?"[0]":""),o=Jr(n,i);je(t,"change",o,null,!0)}function Jr(t,n){var e=Re(t);return null===e.idx?t+"="+n:"var $$exp = "+e.exp+", $$idx = "+e.idx+";if (!Array.isArray($$exp)){"+t+"="+n+"}else{$$exp.splice($$idx, 1, "+n+")}"}function Kr(t,n){n.value&&Te(t,"textContent","_s("+n.value+")")}function Zr(t,n){n.value&&Te(t,"innerHTML","_s("+n.value+")")}function Qr(t,n){return n=n?l(l({},$u),n):$u,Dr(t,n)}function ti(t,n,e){var r=(n&&n.warn||Oi,n&&n.delimiters?String(n.delimiters)+t:t);if(Pu[r])return Pu[r];var i={},o=Qr(t,n);i.render=ni(o.render);var a=o.staticRenderFns.length;i.staticRenderFns=new Array(a);for(var u=0;u<a;u++)i.staticRenderFns[u]=ni(o.staticRenderFns[u]);return Pu[r]=i}function ni(t){try{return new Function(t)}catch(t){return v}}function ei(t){if(t.outerHTML)return t.outerHTML;var n=document.createElement("div");return n.appendChild(t.cloneNode(!0)),n.innerHTML}var ri,ii,oi=i("slot,component",!0),ai=Object.prototype.hasOwnProperty,ui=/-(\w)/g,ci=c(function(t){return t.replace(ui,function(t,n){return n?n.toUpperCase():""})}),si=c(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),fi=/([^-])([A-Z])/g,li=c(function(t){return t.replace(fi,"$1-$2").replace(fi,"$1-$2").toLowerCase()}),hi=Object.prototype.toString,pi="[object Object]",di=function(){return!1},vi=function(t){return t},gi={optionMergeStrategies:Object.create(null),silent:!1,devtools:!1,errorHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:di,isUnknownElement:di,getTagNamespace:v,parsePlatformTagName:vi,mustUseProp:di,_assetTypes:["component","directive","filter"],_lifecycleHooks:["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated"],_maxUpdateCount:100},yi=/[^\w.$]/,_i="__proto__"in{},mi="undefined"!=typeof window,bi=mi&&window.navigator.userAgent.toLowerCase(),xi=bi&&/msie|trident/.test(bi),wi=bi&&bi.indexOf("msie 9.0")>0,Mi=bi&&bi.indexOf("edge/")>0,ki=bi&&bi.indexOf("android")>0,Ai=bi&&/iphone|ipad|ipod|ios/.test(bi),Ei=function(){return void 0===ri&&(ri=!mi&&"undefined"!=typeof n&&"server"===n.process.env.VUE_ENV),ri},Ci=mi&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,Si=function(){function t(){r=!1;var t=e.slice(0);e.length=0;for(var n=0;n<t.length;n++)t[n]()}var n,e=[],r=!1;if("undefined"!=typeof Promise&&w(Promise)){var i=Promise.resolve(),o=function(t){console.error(t)};n=function(){i.then(t).catch(o),Ai&&setTimeout(v)}}else if("undefined"==typeof MutationObserver||!w(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())n=function(){setTimeout(t,0)};else{var a=1,u=new MutationObserver(t),c=document.createTextNode(String(a));u.observe(c,{characterData:!0}),n=function(){a=(a+1)%2,c.data=String(a)}}return function(t,i){var o;if(e.push(function(){t&&t.call(i),o&&o(i)}),r||(r=!0,n()),!t&&"undefined"!=typeof Promise)return new Promise(function(t){o=t})}}();ii="undefined"!=typeof Set&&w(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return this.set[t]===!0},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var Ti,Oi=v,Ni=0,ji=function(){this.id=Ni++,this.subs=[]};ji.prototype.addSub=function(t){this.subs.push(t)},ji.prototype.removeSub=function(t){o(this.subs,t)},ji.prototype.depend=function(){ji.target&&ji.target.addDep(this)},ji.prototype.notify=function(){for(var t=this.subs.slice(),n=0,e=t.length;n<e;n++)t[n].update()},ji.target=null;var Pi=[],$i=Array.prototype,Ri=Object.create($i);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(t){var n=$i[t];b(Ri,t,function(){for(var e=arguments,r=arguments.length,i=new Array(r);r--;)i[r]=e[r];var o,a=n.apply(this,i),u=this.__ob__;switch(t){case"push":o=i;break;case"unshift":o=i;break;case"splice":o=i.slice(2)}return o&&u.observeArray(o),u.dep.notify(),a})});var Li=Object.getOwnPropertyNames(Ri),Ii={shouldConvert:!0,isSettingProps:!1},zi=function(t){if(this.value=t,this.dep=new ji,this.vmCount=0,b(t,"__ob__",this),Array.isArray(t)){var n=_i?A:E;n(t,Ri,Li),this.observeArray(t)}else this.walk(t)};zi.prototype.walk=function(t){for(var n=Object.keys(t),e=0;e<n.length;e++)S(t,n[e],t[n[e]])},zi.prototype.observeArray=function(t){for(var n=0,e=t.length;n<e;n++)C(t[n])};var Ui=gi.optionMergeStrategies;Ui.data=function(t,n,e){return e?t||n?function(){var r="function"==typeof n?n.call(e):n,i="function"==typeof t?t.call(e):void 0;return r?j(r,i):i}:void 0:n?"function"!=typeof n?t:t?function(){return j(n.call(this),t.call(this))}:n:t},gi._lifecycleHooks.forEach(function(t){Ui[t]=P}),gi._assetTypes.forEach(function(t){Ui[t+"s"]=$}),Ui.watch=function(t,n){if(!n)return t;if(!t)return n;var e={};l(e,t);for(var r in n){var i=e[r],o=n[r];i&&!Array.isArray(i)&&(i=[i]),e[r]=i?i.concat(o):[o]}return e},Ui.props=Ui.methods=Ui.computed=function(t,n){if(!n)return t;if(!t)return n;var e=Object.create(null);return l(e,t),l(e,n),e};var Di=function(t,n){return void 0===n?t:n},qi=Object.freeze({defineReactive:S,_toString:e,toNumber:r,makeMap:i,isBuiltInTag:oi,remove:o,hasOwn:a,isPrimitive:u,cached:c,camelize:ci,capitalize:si,hyphenate:li,bind:s,toArray:f,extend:l,isObject:h,isPlainObject:p,toObject:d,noop:v,no:di,identity:vi,genStaticKeys:g,looseEqual:y,looseIndexOf:_,isReserved:m,def:b,parsePath:x,hasProto:_i,inBrowser:mi,UA:bi,isIE:xi,isIE9:wi,isEdge:Mi,isAndroid:ki,isIOS:Ai,isServerRendering:Ei,devtools:Ci,nextTick:Si,get _Set(){return ii},mergeOptions:I,resolveAsset:z,get warn(){return Oi},get formatComponentName(){return Ti},validateProp:U}),Fi=function(t,n,e,r,i,o,a){this.tag=t,this.data=n,this.children=e,this.text=r,this.elm=i,this.ns=void 0,this.context=o,this.functionalContext=void 0,this.key=n&&n.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1},Bi={child:{}};Bi.child.get=function(){return this.componentInstance},Object.defineProperties(Fi.prototype,Bi);var Hi,Wi=function(){var t=new Fi;return t.text="",t.isComment=!0,t},Yi={init:G,prepatch:J,insert:K,destroy:Z},Vi=Object.keys(Yi),Xi=c(function(t){var n="~"===t.charAt(0);t=n?t.slice(1):t;var e="!"===t.charAt(0);return t=e?t.slice(1):t,{name:t,once:n,capture:e}}),Gi=1,Ji=2,Ki=null,Zi=[],Qi={},to=!1,no=!1,eo=0,ro=0,io=function(t,n,e,r){this.vm=t,t._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync):this.deep=this.user=this.lazy=this.sync=!1,this.cb=e,this.id=++ro,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ii,this.newDepIds=new ii,this.expression="","function"==typeof n?this.getter=n:(this.getter=x(n),this.getter||(this.getter=function(){})),this.value=this.lazy?void 0:this.get()};io.prototype.get=function(){M(this);var t=this.getter.call(this.vm,this.vm);return this.deep&&St(t),k(),this.cleanupDeps(),t},io.prototype.addDep=function(t){var n=t.id;this.newDepIds.has(n)||(this.newDepIds.add(n),this.newDeps.push(t),this.depIds.has(n)||t.addSub(this))},io.prototype.cleanupDeps=function(){for(var t=this,n=this.deps.length;n--;){var e=t.deps[n];t.newDepIds.has(e.id)||e.removeSub(t)}var r=this.depIds;this.depIds=this.newDepIds,this.newDepIds=r,this.newDepIds.clear(),r=this.deps,this.deps=this.newDeps,this.newDeps=r,this.newDeps.length=0},io.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():Ct(this)},io.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||h(t)||this.deep){var n=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,n)}catch(t){if(!gi.errorHandler)throw t;gi.errorHandler.call(null,t,this.vm)}else this.cb.call(this.vm,t,n)}}},io.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},io.prototype.depend=function(){for(var t=this,n=this.deps.length;n--;)t.deps[n].depend()},io.prototype.teardown=function(){var t=this;if(this.active){this.vm._isBeingDestroyed||o(this.vm._watchers,this);for(var n=this.deps.length;n--;)t.deps[n].removeSub(t);this.active=!1}};var oo=new ii,ao={enumerable:!0,configurable:!0,get:v,set:v},uo=0;Dt(Bt),zt(Bt),xt(Bt),Mt(Bt),vt(Bt);var co=[String,RegExp],so={name:"keep-alive",abstract:!0,props:{include:co,exclude:co},created:function(){this.cache=Object.create(null)},destroyed:function(){var t=this;for(var n in this.cache)Kt(t.cache[n])},watch:{include:function(t){Jt(this.cache,function(n){return Gt(t,n)})},exclude:function(t){Jt(this.cache,function(n){return!Gt(t,n)})}},render:function(){var t=ft(this.$slots.default),n=t&&t.componentOptions;if(n){var e=Xt(n);if(e&&(this.include&&!Gt(this.include,e)||this.exclude&&Gt(this.exclude,e)))return t;var r=null==t.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):t.key;this.cache[r]?t.componentInstance=this.cache[r].componentInstance:this.cache[r]=t,t.data.keepAlive=!0}return t}},fo={KeepAlive:so};Zt(Bt),Object.defineProperty(Bt.prototype,"$isServer",{get:Ei}),Bt.version="2.1.10";var lo,ho,po=i("input,textarea,option,select"),vo=function(t,n,e){return"value"===e&&po(t)&&"button"!==n||"selected"===e&&"option"===t||"checked"===e&&"input"===t||"muted"===e&&"video"===t},go=i("contenteditable,draggable,spellcheck"),yo=i("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),_o="http://www.w3.org/1999/xlink",mo=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},bo=function(t){return mo(t)?t.slice(6,t.length):""},xo=function(t){return null==t||t===!1},wo={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Mo=i("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template"),ko=i("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Ao=function(t){return"pre"===t},Eo=function(t){return Mo(t)||ko(t)},Co=Object.create(null),So=Object.freeze({createElement:cn,createElementNS:sn,createTextNode:fn,createComment:ln,insertBefore:hn,removeChild:pn,appendChild:dn,parentNode:vn,nextSibling:gn,tagName:yn,setTextContent:_n,setAttribute:mn}),To={create:function(t,n){bn(n)},update:function(t,n){t.data.ref!==n.data.ref&&(bn(t,!0),bn(n))},destroy:function(t){bn(t,!0)}},Oo=new Fi("",{},[]),No=["create","activate","update","remove","destroy"],jo={create:En,update:En,destroy:function(t){En(t,Oo)}},Po=Object.create(null),$o=[To,jo],Ro={create:Nn,update:Nn},Lo={create:Pn, |
|
update:Pn},Io={create:Ln,update:Ln},zo={create:In,update:In},Uo=c(function(t){var n={},e=/;(?![^(]*\))/g,r=/:(.+)/;return t.split(e).forEach(function(t){if(t){var e=t.split(r);e.length>1&&(n[e[0].trim()]=e[1].trim())}}),n}),Do=/^--/,qo=/\s*!important$/,Fo=function(t,n,e){Do.test(n)?t.style.setProperty(n,e):qo.test(e)?t.style.setProperty(n,e.replace(qo,""),"important"):t.style[Ho(n)]=e},Bo=["Webkit","Moz","ms"],Ho=c(function(t){if(ho=ho||document.createElement("div"),t=ci(t),"filter"!==t&&t in ho.style)return t;for(var n=t.charAt(0).toUpperCase()+t.slice(1),e=0;e<Bo.length;e++){var r=Bo[e]+n;if(r in ho.style)return r}}),Wo={create:Hn,update:Hn},Yo=mi&&!wi,Vo="transition",Xo="animation",Go="transition",Jo="transitionend",Ko="animation",Zo="animationend";Yo&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Go="WebkitTransition",Jo="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Ko="WebkitAnimation",Zo="webkitAnimationEnd"));var Qo=mi&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout,ta=/\b(transform|all)(,|$)/,na=c(function(t){return{enterClass:t+"-enter",leaveClass:t+"-leave",appearClass:t+"-enter",enterToClass:t+"-enter-to",leaveToClass:t+"-leave-to",appearToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveActiveClass:t+"-leave-active",appearActiveClass:t+"-enter-active"}}),ea=mi?{create:ie,activate:ie,remove:function(t,n){t.data.show?n():ne(t,n)}}:{},ra=[Ro,Lo,Io,zo,Wo,ea],ia=ra.concat($o),oa=An({nodeOps:So,modules:ia});wi&&document.addEventListener("selectionchange",function(){var t=document.activeElement;t&&t.vmodel&&fe(t,"input")});var aa={inserted:function(t,n,e){if("select"===e.tag){var r=function(){oe(t,n,e.context)};r(),(xi||Mi)&&setTimeout(r,0)}else"textarea"!==e.tag&&"text"!==t.type||(t._vModifiers=n.modifiers,n.modifiers.lazy||(ki||(t.addEventListener("compositionstart",ce),t.addEventListener("compositionend",se)),wi&&(t.vmodel=!0)))},componentUpdated:function(t,n,e){if("select"===e.tag){oe(t,n,e.context);var r=t.multiple?n.value.some(function(n){return ae(n,t.options)}):n.value!==n.oldValue&&ae(n.value,t.options);r&&fe(t,"change")}}},ua={bind:function(t,n,e){var r=n.value;e=le(e);var i=e.data&&e.data.transition,o=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&i&&!wi?(e.data.show=!0,te(e,function(){t.style.display=o})):t.style.display=r?o:"none"},update:function(t,n,e){var r=n.value,i=n.oldValue;if(r!==i){e=le(e);var o=e.data&&e.data.transition;o&&!wi?(e.data.show=!0,r?te(e,function(){t.style.display=t.__vOriginalDisplay}):ne(e,function(){t.style.display="none"})):t.style.display=r?t.__vOriginalDisplay:"none"}},unbind:function(t,n,e,r,i){i||(t.style.display=t.__vOriginalDisplay)}},ca={model:aa,show:ua},sa={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String},fa={name:"transition",props:sa,abstract:!0,render:function(t){var n=this,e=this.$slots.default;if(e&&(e=e.filter(function(t){return t.tag}),e.length)){var r=this.mode,i=e[0];if(ve(this.$vnode))return i;var o=he(i);if(!o)return i;if(this._leaving)return de(t,i);var a="__transition-"+this._uid+"-",c=o.key=null==o.key?a+o.tag:u(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key,s=(o.data||(o.data={})).transition=pe(this),f=this._vnode,h=he(f);if(o.data.directives&&o.data.directives.some(function(t){return"show"===t.name})&&(o.data.show=!0),h&&h.data&&!ge(o,h)){var p=h&&(h.data.transition=l({},s));if("out-in"===r)return this._leaving=!0,it(p,"afterLeave",function(){n._leaving=!1,n.$forceUpdate()},c),de(t,i);if("in-out"===r){var d,v=function(){d()};it(s,"afterEnter",v,c),it(s,"enterCancelled",v,c),it(p,"delayLeave",function(t){d=t},c)}}return i}}},la=l({tag:String,moveClass:String},sa);delete la.mode;var ha={props:la,render:function(t){for(var n=this.tag||this.$vnode.data.tag||"span",e=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],a=pe(this),u=0;u<i.length;u++){var c=i[u];if(c.tag)if(null!=c.key&&0!==String(c.key).indexOf("__vlist"))o.push(c),e[c.key]=c,(c.data||(c.data={})).transition=a;else;}if(r){for(var s=[],f=[],l=0;l<r.length;l++){var h=r[l];h.data.transition=a,h.data.pos=h.elm.getBoundingClientRect(),e[h.key]?s.push(h):f.push(h)}this.kept=t(n,null,s),this.removed=f}return t(n,null,o)},beforeUpdate:function(){this.__patch__(this._vnode,this.kept,!1,!0),this._vnode=this.kept},updated:function(){var t=this.prevChildren,n=this.moveClass||(this.name||"v")+"-move";if(t.length&&this.hasMove(t[0].elm,n)){t.forEach(ye),t.forEach(_e),t.forEach(me);document.body.offsetHeight;t.forEach(function(t){if(t.data.moved){var e=t.elm,r=e.style;Xn(e,n),r.transform=r.WebkitTransform=r.transitionDuration="",e.addEventListener(Jo,e._moveCb=function t(r){r&&!/transform$/.test(r.propertyName)||(e.removeEventListener(Jo,t),e._moveCb=null,Gn(e,n))})}})}},methods:{hasMove:function(t,n){if(!Yo)return!1;if(null!=this._hasMove)return this._hasMove;Xn(t,n);var e=Kn(t);return Gn(t,n),this._hasMove=e.hasTransform}}},pa={Transition:fa,TransitionGroup:ha};Bt.config.isUnknownElement=an,Bt.config.isReservedTag=Eo,Bt.config.getTagNamespace=on,Bt.config.mustUseProp=vo,l(Bt.options.directives,ca),l(Bt.options.components,pa),Bt.prototype.__patch__=mi?oa:v,Bt.prototype.$mount=function(t,n){return t=t&&mi?un(t):void 0,this._mount(t,n)},setTimeout(function(){gi.devtools&&Ci&&Ci.emit("init",Bt)},0);var da,va=!!mi&&be("\n"," "),ga=i("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr",!0),ya=i("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source",!0),_a=i("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track",!0),ma=/([^\s"'<>\/=]+)/,ba=/(?:=)/,xa=[/"([^"]*)"+/.source,/'([^']*)'+/.source,/([^\s"'=<>`]+)/.source],wa=new RegExp("^\\s*"+ma.source+"(?:\\s*("+ba.source+")\\s*(?:"+xa.join("|")+"))?"),Ma="[a-zA-Z_][\\w\\-\\.]*",ka="((?:"+Ma+"\\:)?"+Ma+")",Aa=new RegExp("^<"+ka),Ea=/^\s*(\/?)>/,Ca=new RegExp("^<\\/"+ka+"[^>]*>"),Sa=/^<!DOCTYPE [^>]+>/i,Ta=/^<!--/,Oa=/^<!\[/,Na=!1;"x".replace(/x(.)?/g,function(t,n){Na=""===n});var ja,Pa,$a,Ra,La,Ia,za,Ua,Da,qa,Fa,Ba,Ha,Wa,Ya,Va,Xa,Ga,Ja,Ka,Za,Qa,tu,nu,eu,ru=i("script,style",!0),iu={},ou=/</g,au=/>/g,uu=/ /g,cu=/&/g,su=/"/g,fu=/\{\{((?:.|\n)+?)\}\}/g,lu=/[-.*+?^${}()|[\]\/\\]/g,hu=c(function(t){var n=t[0].replace(lu,"\\$&"),e=t[1].replace(lu,"\\$&");return new RegExp(n+"((?:.|\\n)+?)"+e,"g")}),pu=/^v-|^@|^:/,du=/(.*?)\s+(?:in|of)\s+(.*)/,vu=/\((\{[^}]*\}|[^,]*),([^,]*)(?:,([^,]*))?\)/,gu=/^:|^v-bind:/,yu=/^@|^v-on:/,_u=/:(.*)$/,mu=/\.[^.]+/g,bu=c(xe),xu=/^xmlns:NS\d+/,wu=/^NS\d+:/,Mu=c(ur),ku=/^\s*([\w$_]+|\([^)]*?\))\s*=>|^function\s*\(/,Au=/^\s*[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['.*?']|\[".*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*\s*$/,Eu={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Cu={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:"if($event.target !== $event.currentTarget)return;",ctrl:"if(!$event.ctrlKey)return;",shift:"if(!$event.shiftKey)return;",alt:"if(!$event.altKey)return;",meta:"if(!$event.metaKey)return;"},Su={bind:yr,cloak:v},Tu=(new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments".split(",").join("\\b|\\b")+"\\b"),{staticKeys:["staticClass"],transformNode:qr,genData:Fr}),Ou={staticKeys:["staticStyle"],transformNode:Br,genData:Hr},Nu=[Tu,Ou],ju={model:Wr,text:Kr,html:Zr},Pu=Object.create(null),$u={expectHTML:!0,modules:Nu,staticKeys:g(Nu),directives:ju,isReservedTag:Eo,isUnaryTag:ga,mustUseProp:vo,getTagNamespace:on,isPreTag:Ao},Ru=c(function(t){var n=un(t);return n&&n.innerHTML}),Lu=Bt.prototype.$mount;Bt.prototype.$mount=function(t,n){if(t=t&&un(t),t===document.body||t===document.documentElement)return this;var e=this.$options;if(!e.render){var r=e.template;if(r)if("string"==typeof r)"#"===r.charAt(0)&&(r=Ru(r));else{if(!r.nodeType)return this;r=r.innerHTML}else t&&(r=ei(t));if(r){var i=ti(r,{warn:Oi,shouldDecodeNewlines:va,delimiters:e.delimiters},this),o=i.render,a=i.staticRenderFns;e.render=o,e.staticRenderFns=a}}return Lu.call(this,t,n)},Bt.compile=ti,t.exports=Bt}).call(n,e(34))},function(t,n){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},function(t,n,e){var r=e(63);t.exports=function(t,n,e){if(r(t),void 0===n)return t;switch(e){case 1:return function(e){return t.call(n,e)};case 2:return function(e,r){return t.call(n,e,r)};case 3:return function(e,r,i){return t.call(n,e,r,i)}}return function(){return t.apply(n,arguments)}}},function(t,n,e){var r=e(16),i=e(5).document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n,e){var r=e(6).f,i=e(11),o=e(2)("toStringTag");t.exports=function(t,n,e){t&&!i(t=e?t:t.prototype,o)&&r(t,o,{configurable:!0,value:n})}},function(t,n,e){var r=e(5),i="__core-js_shared__",o=r[i]||(r[i]={});t.exports=function(t){return o[t]||(o[t]={})}},function(t,n,e){var r=e(69),i=e(14);t.exports=function(t){return r(i(t))}},function(t,n,e){var r=e(20),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},function(t,n,e){var r=e(14);t.exports=function(t){return Object(r(t))}},function(t,n){var e=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++e+r).toString(36))}},function(t,n){var e;e=function(){return this}();try{e=e||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(e=window)}t.exports=e},,,,function(t,n,e){"use strict";function r(t){this.state=Y,this.value=void 0,this.deferred=[];var n=this;try{t(function(t){n.resolve(t)},function(t){n.reject(t)})}catch(t){n.reject(t)}}function i(t,n){t instanceof Promise?this.promise=t:this.promise=new Promise(t.bind(n)),this.context=n}function o(t){"undefined"!=typeof console&&tt&&console.warn("[VueResource warn]: "+t)}function a(t){"undefined"!=typeof console&&console.error(t)}function u(t,n){return G(t,n)}function c(t){return t?t.replace(/^\s*|\s*$/g,""):""}function s(t){return t?t.toLowerCase():""}function f(t){return t?t.toUpperCase():""}function l(t){return"string"==typeof t}function h(t){return"function"==typeof t}function p(t){return null!==t&&"object"==typeof t}function d(t){return p(t)&&Object.getPrototypeOf(t)==Object.prototype}function v(t){return"undefined"!=typeof Blob&&t instanceof Blob}function g(t){return"undefined"!=typeof FormData&&t instanceof FormData}function y(t,n,e){var r=i.resolve(t);return arguments.length<2?r:r.then(n,e)}function _(t,n,e){return e=e||{},h(e)&&(e=e.call(n)),b(t.bind({$vm:n,$options:e}),t,{$options:e})}function m(t,n){var e,r;if(rt(t))for(e=0;e<t.length;e++)n.call(t[e],t[e],e);else if(p(t))for(r in t)K.call(t,r)&&n.call(t[r],t[r],r);return t}function b(t){var n=Q.call(arguments,1);return n.forEach(function(n){M(t,n,!0)}),t}function x(t){var n=Q.call(arguments,1);return n.forEach(function(n){for(var e in n)void 0===t[e]&&(t[e]=n[e])}),t}function w(t){var n=Q.call(arguments,1);return n.forEach(function(n){M(t,n)}),t}function M(t,n,e){for(var r in n)e&&(d(n[r])||rt(n[r]))?(d(n[r])&&!d(t[r])&&(t[r]={}),rt(n[r])&&!rt(t[r])&&(t[r]=[]),M(t[r],n[r],e)):void 0!==n[r]&&(t[r]=n[r])}function k(t,n,e){var r=A(t),i=r.expand(n);return e&&e.push.apply(e,r.vars),i}function A(t){var n=["+","#",".","/",";","?","&"],e=[];return{vars:e,expand:function(r){return t.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g,function(t,i,o){if(i){var a=null,u=[];if(n.indexOf(i.charAt(0))!==-1&&(a=i.charAt(0),i=i.substr(1)),i.split(/,/g).forEach(function(t){var n=/([^:\*]*)(?::(\d+)|(\*))?/.exec(t);u.push.apply(u,E(r,a,n[1],n[2]||n[3])),e.push(n[1])}),a&&"+"!==a){var c=",";return"?"===a?c="&":"#"!==a&&(c=a),(0!==u.length?a:"")+u.join(c)}return u.join(",")}return O(o)})}}}function E(t,n,e,r){var i=t[e],o=[];if(C(i)&&""!==i)if("string"==typeof i||"number"==typeof i||"boolean"==typeof i)i=i.toString(),r&&"*"!==r&&(i=i.substring(0,parseInt(r,10))),o.push(T(n,i,S(n)?e:null));else if("*"===r)Array.isArray(i)?i.filter(C).forEach(function(t){o.push(T(n,t,S(n)?e:null))}):Object.keys(i).forEach(function(t){C(i[t])&&o.push(T(n,i[t],t))});else{var a=[];Array.isArray(i)?i.filter(C).forEach(function(t){a.push(T(n,t))}):Object.keys(i).forEach(function(t){C(i[t])&&(a.push(encodeURIComponent(t)),a.push(T(n,i[t].toString())))}),S(n)?o.push(encodeURIComponent(e)+"="+a.join(",")):0!==a.length&&o.push(a.join(","))}else";"===n?o.push(encodeURIComponent(e)):""!==i||"&"!==n&&"?"!==n?""===i&&o.push(""):o.push(encodeURIComponent(e)+"=");return o}function C(t){return void 0!==t&&null!==t}function S(t){return";"===t||"&"===t||"?"===t}function T(t,n,e){return n="+"===t||"#"===t?O(n):encodeURIComponent(n),e?encodeURIComponent(e)+"="+n:n}function O(t){return t.split(/(%[0-9A-Fa-f]{2})/g).map(function(t){return/%[0-9A-Fa-f]/.test(t)||(t=encodeURI(t)),t}).join("")}function N(t,n){var e,r=this||{},i=t;return l(t)&&(i={url:t,params:n}),i=b({},N.options,r.$options,i),N.transforms.forEach(function(t){e=j(t,e,r.$vm)}),e(i)}function j(t,n,e){return function(r){return t.call(e,r,n)}}function P(t,n,e){var r,i=rt(n),o=d(n);m(n,function(n,a){r=p(n)||rt(n),e&&(a=e+"["+(o||r?a:"")+"]"),!e&&i?t.add(n.name,n.value):r?P(t,n,a):t.add(a,n)})}function $(t){var n=t.match(/^\[|^\{(?!\{)/),e={"[":/]$/,"{":/}$/};return n&&e[n[0]].test(t)}function R(t,n){var e=t.client||(nt?_t:mt);n(e(t))}function L(t,n){return Object.keys(t).reduce(function(t,e){return s(n)===s(e)?e:t},null)}function I(t){if(/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return c(t)}function z(t){return new i(function(n){var e=new FileReader;e.readAsText(t),e.onload=function(){n(e.result)}})}function U(t){return 0===t.type.indexOf("text")||t.type.indexOf("json")!==-1}function D(t){var n=this||{},e=bt(n.$vm);return x(t||{},n.$options,D.options),D.interceptors.forEach(function(t){e.use(t)}),e(new Mt(t)).then(function(t){return t.ok?t:i.reject(t)},function(t){return t instanceof Error&&a(t),i.reject(t)})}function q(t,n,e,r){var i=this||{},o={};return e=it({},q.actions,e),m(e,function(e,a){e=b({url:t,params:it({},n)},r,e),o[a]=function(){return(i.$http||D)(F(e,arguments))}}),o}function F(t,n){var e,r=it({},t),i={};switch(n.length){case 2:i=n[0],e=n[1];break;case 1:/^(POST|PUT|PATCH)$/i.test(r.method)?e=n[0]:i=n[0];break;case 0:break;default:throw"Expected up to 2 arguments [params, body], got "+n.length+" arguments"}return r.body=e,r.params=it({},r.params,i),r}function B(t){B.installed||(et(t),t.url=N,t.http=D,t.resource=q,t.Promise=i,Object.defineProperties(t.prototype,{$url:{get:function(){return _(t.url,this,this.$options.url)}},$http:{get:function(){return _(t.http,this,this.$options.http)}},$resource:{get:function(){return t.resource.bind(this)}},$promise:{get:function(){var n=this;return function(e){return new t.Promise(e,n)}}}}))}/*! |
|
* vue-resource v1.2.1 |
|
* https://github.com/pagekit/vue-resource |
|
* Released under the MIT License. |
|
*/ |
|
var H=0,W=1,Y=2;r.reject=function(t){return new r(function(n,e){e(t)})},r.resolve=function(t){return new r(function(n,e){n(t)})},r.all=function(t){return new r(function(n,e){function i(e){return function(r){a[e]=r,o+=1,o===t.length&&n(a)}}var o=0,a=[];0===t.length&&n(a);for(var u=0;u<t.length;u+=1)r.resolve(t[u]).then(i(u),e)})},r.race=function(t){return new r(function(n,e){for(var i=0;i<t.length;i+=1)r.resolve(t[i]).then(n,e)})};var V=r.prototype;V.resolve=function(t){var n=this;if(n.state===Y){if(t===n)throw new TypeError("Promise settled with itself.");var e=!1;try{var r=t&&t.then;if(null!==t&&"object"==typeof t&&"function"==typeof r)return void r.call(t,function(t){e||n.resolve(t),e=!0},function(t){e||n.reject(t),e=!0})}catch(t){return void(e||n.reject(t))}n.state=H,n.value=t,n.notify()}},V.reject=function(t){var n=this;if(n.state===Y){if(t===n)throw new TypeError("Promise settled with itself.");n.state=W,n.value=t,n.notify()}},V.notify=function(){var t=this;u(function(){if(t.state!==Y)for(;t.deferred.length;){var n=t.deferred.shift(),e=n[0],r=n[1],i=n[2],o=n[3];try{t.state===H?i("function"==typeof e?e.call(void 0,t.value):t.value):t.state===W&&("function"==typeof r?i(r.call(void 0,t.value)):o(t.value))}catch(t){o(t)}}})},V.then=function(t,n){var e=this;return new r(function(r,i){e.deferred.push([t,n,r,i]),e.notify()})},V.catch=function(t){return this.then(void 0,t)},"undefined"==typeof Promise&&(window.Promise=r),i.all=function(t,n){return new i(Promise.all(t),n)},i.resolve=function(t,n){return new i(Promise.resolve(t),n)},i.reject=function(t,n){return new i(Promise.reject(t),n)},i.race=function(t,n){return new i(Promise.race(t),n)};var X=i.prototype;X.bind=function(t){return this.context=t,this},X.then=function(t,n){return t&&t.bind&&this.context&&(t=t.bind(this.context)),n&&n.bind&&this.context&&(n=n.bind(this.context)),new i(this.promise.then(t,n),this.context)},X.catch=function(t){return t&&t.bind&&this.context&&(t=t.bind(this.context)),new i(this.promise.catch(t),this.context)},X.finally=function(t){return this.then(function(n){return t.call(this),n},function(n){return t.call(this),Promise.reject(n)})};var G,J={},K=J.hasOwnProperty,Z=[],Q=Z.slice,tt=!1,nt="undefined"!=typeof window,et=function(t){var n=t.config,e=t.nextTick;G=e,tt=n.debug||!n.silent},rt=Array.isArray,it=Object.assign||w,ot=function(t,n){var e=n(t);return l(t.root)&&!e.match(/^(https?:)?\//)&&(e=t.root+"/"+e),e},at=function(t,n){var e=Object.keys(N.options.params),r={},i=n(t);return m(t.params,function(t,n){e.indexOf(n)===-1&&(r[n]=t)}),r=N.params(r),r&&(i+=(i.indexOf("?")==-1?"?":"&")+r),i},ut=function(t){var n=[],e=k(t.url,t.params,n);return n.forEach(function(n){delete t.params[n]}),e};N.options={url:"",root:null,params:{}},N.transforms=[ut,at,ot],N.params=function(t){var n=[],e=encodeURIComponent;return n.add=function(t,n){h(n)&&(n=n()),null===n&&(n=""),this.push(e(t)+"="+e(n))},P(n,t),n.join("&").replace(/%20/g,"+")},N.parse=function(t){var n=document.createElement("a");return document.documentMode&&(n.href=t,t=n.href),n.href=t,{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",port:n.port,host:n.host,hostname:n.hostname,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):""}};var ct=function(t){return new i(function(n){var e=new XDomainRequest,r=function(r){var i=r.type,o=0;"load"===i?o=200:"error"===i&&(o=500),n(t.respondWith(e.responseText,{status:o}))};t.abort=function(){return e.abort()},e.open(t.method,t.getUrl()),t.timeout&&(e.timeout=t.timeout),e.onload=r,e.onabort=r,e.onerror=r,e.ontimeout=r,e.onprogress=function(){},e.send(t.getBody())})},st=nt&&"withCredentials"in new XMLHttpRequest,ft=function(t,n){if(nt){var e=N.parse(location.href),r=N.parse(t.getUrl());r.protocol===e.protocol&&r.host===e.host||(t.crossOrigin=!0,t.emulateHTTP=!1,st||(t.client=ct))}n()},lt=function(t,n){g(t.body)?t.headers.delete("Content-Type"):(p(t.body)||rt(t.body))&&(t.emulateJSON?(t.body=N.params(t.body),t.headers.set("Content-Type","application/x-www-form-urlencoded")):t.body=JSON.stringify(t.body)),n(function(t){return Object.defineProperty(t,"data",{get:function(){return this.body},set:function(t){this.body=t}}),t.bodyText?y(t.text(),function(n){var e=t.headers.get("Content-Type")||"";if(0===e.indexOf("application/json")||$(n))try{t.body=JSON.parse(n)}catch(n){t.body=null}else t.body=n;return t}):t})},ht=function(t){return new i(function(n){var e,r,i=t.jsonp||"callback",o=t.jsonpCallback||"_jsonp"+Math.random().toString(36).substr(2),a=null;e=function(e){var i=e.type,u=0;"load"===i&&null!==a?u=200:"error"===i&&(u=500),u&&window[o]&&(delete window[o],document.body.removeChild(r)),n(t.respondWith(a,{status:u}))},window[o]=function(t){a=JSON.stringify(t)},t.abort=function(){e({type:"abort"})},t.params[i]=o,t.timeout&&setTimeout(t.abort,t.timeout),r=document.createElement("script"),r.src=t.getUrl(),r.type="text/javascript",r.async=!0,r.onload=e,r.onerror=e,document.body.appendChild(r)})},pt=function(t,n){"JSONP"==t.method&&(t.client=ht),n()},dt=function(t,n){h(t.before)&&t.before.call(this,t),n()},vt=function(t,n){t.emulateHTTP&&/^(PUT|PATCH|DELETE)$/i.test(t.method)&&(t.headers.set("X-HTTP-Method-Override",t.method),t.method="POST"),n()},gt=function(t,n){var e=it({},D.headers.common,t.crossOrigin?{}:D.headers.custom,D.headers[s(t.method)]);m(e,function(n,e){t.headers.has(e)||t.headers.set(e,n)}),n()},yt="undefined"!=typeof Blob&&"undefined"!=typeof FileReader,_t=function(t){return new i(function(n){var e=new XMLHttpRequest,r=function(r){var i=t.respondWith("response"in e?e.response:e.responseText,{status:1223===e.status?204:e.status,statusText:1223===e.status?"No Content":c(e.statusText)});m(c(e.getAllResponseHeaders()).split("\n"),function(t){i.headers.append(t.slice(0,t.indexOf(":")),t.slice(t.indexOf(":")+1))}),n(i)};t.abort=function(){return e.abort()},t.progress&&("GET"===t.method?e.addEventListener("progress",t.progress):/^(POST|PUT)$/i.test(t.method)&&e.upload.addEventListener("progress",t.progress)),e.open(t.method,t.getUrl(),!0),t.timeout&&(e.timeout=t.timeout),t.credentials===!0&&(e.withCredentials=!0),t.crossOrigin||t.headers.set("X-Requested-With","XMLHttpRequest"),"responseType"in e&&yt&&(e.responseType="blob"),t.headers.forEach(function(t,n){e.setRequestHeader(n,t)}),e.onload=r,e.onabort=r,e.onerror=r,e.ontimeout=r,e.send(t.getBody())})},mt=function(t){var n=e(137);return new i(function(e){var r,i=t.getUrl(),o=t.getBody(),a=t.method,u={};t.headers.forEach(function(t,n){u[n]=t}),n(i,{body:o,method:a,headers:u}).then(r=function(n){var r=t.respondWith(n.body,{status:n.statusCode,statusText:c(n.statusMessage)});m(n.headers,function(t,n){r.headers.set(n,t)}),e(r)},function(t){return r(t.response)})})},bt=function(t){function n(n){return new i(function(i){function u(){e=r.pop(),h(e)?e.call(t,n,c):(o("Invalid interceptor of type "+typeof e+", must be a function"),c())}function c(n){if(h(n))a.unshift(n);else if(p(n))return a.forEach(function(e){n=y(n,function(n){return e.call(t,n)||n})}),void y(n,i);u()}u()},t)}var e,r=[R],a=[];return p(t)||(t=null),n.use=function(t){r.push(t)},n},xt=function(t){var n=this;this.map={},m(t,function(t,e){return n.append(e,t)})};xt.prototype.has=function(t){return null!==L(this.map,t)},xt.prototype.get=function(t){var n=this.map[L(this.map,t)];return n?n.join():null},xt.prototype.getAll=function(t){return this.map[L(this.map,t)]||[]},xt.prototype.set=function(t,n){this.map[I(L(this.map,t)||t)]=[c(n)]},xt.prototype.append=function(t,n){var e=this.map[L(this.map,t)];e?e.push(c(n)):this.set(t,n)},xt.prototype.delete=function(t){delete this.map[L(this.map,t)]},xt.prototype.deleteAll=function(){this.map={}},xt.prototype.forEach=function(t,n){var e=this;m(this.map,function(r,i){m(r,function(r){return t.call(n,r,i,e)})})};var wt=function(t,n){var e=n.url,r=n.headers,i=n.status,o=n.statusText;this.url=e,this.ok=i>=200&&i<300,this.status=i||0,this.statusText=o||"",this.headers=new xt(r),this.body=t,l(t)?this.bodyText=t:v(t)&&(this.bodyBlob=t,U(t)&&(this.bodyText=z(t)))};wt.prototype.blob=function(){return y(this.bodyBlob)},wt.prototype.text=function(){return y(this.bodyText)},wt.prototype.json=function(){return y(this.text(),function(t){return JSON.parse(t)})};var Mt=function(t){this.body=null,this.params={},it(this,t,{method:f(t.method||"GET")}),this.headers instanceof xt||(this.headers=new xt(this.headers))};Mt.prototype.getUrl=function(){return N(this)},Mt.prototype.getBody=function(){return this.body},Mt.prototype.respondWith=function(t,n){return new wt(t,it(n||{},{url:this.getUrl()}))};var kt={Accept:"application/json, text/plain, */*"},At={"Content-Type":"application/json;charset=utf-8"};D.options={},D.headers={put:At,post:At,patch:At,delete:At,common:kt,custom:{}},D.interceptors=[dt,vt,lt,pt,gt,ft],["get","delete","head","jsonp"].forEach(function(t){D[t]=function(n,e){return this(it(e||{},{url:n,method:t}))}}),["post","put","patch"].forEach(function(t){D[t]=function(n,e,r){return this(it(r||{},{url:n,method:t,body:e}))}}),q.actions={get:{method:"GET"},save:{method:"POST"},query:{method:"GET"},update:{method:"PUT"},remove:{method:"DELETE"},delete:{method:"DELETE"}},"undefined"!=typeof window&&window.Vue&&window.Vue.use(B),t.exports=B},,,,,,,,,,,,,,,,,,,,function(t,n,e){t.exports={default:e(61),__esModule:!0}},function(t,n,e){t.exports={default:e(62),__esModule:!0}},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var i=e(58),o=r(i);n.default=function(t){if(Array.isArray(t)){for(var n=0,e=Array(t.length);n<t.length;n++)e[n]=t[n];return e}return(0,o.default)(t)}},function(t,n,e){e(88),e(86),t.exports=e(10).Array.from},function(t,n,e){e(87);var r=e(10).Object;t.exports=function(t,n,e){return r.defineProperty(t,n,e)}},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,n,e){var r=e(30),i=e(31),o=e(83);t.exports=function(t){return function(n,e,a){var u,c=r(n),s=i(c.length),f=o(a,s);if(t&&e!=e){for(;s>f;)if(u=c[f++],u!=u)return!0}else for(;s>f;f++)if((t||f in c)&&c[f]===e)return t||f||0;return!t&&-1}}},function(t,n,e){var r=e(23),i=e(2)("toStringTag"),o="Arguments"==r(function(){return arguments}()),a=function(t,n){try{return t[n]}catch(t){}};t.exports=function(t){var n,e,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=a(n=Object(t),i))?e:o?r(n):"Object"==(u=r(n))&&"function"==typeof n.callee?"Arguments":u}},function(t,n,e){"use strict";var r=e(6),i=e(18);t.exports=function(t,n,e){n in t?r.f(t,n,i(0,e)):t[n]=e}},function(t,n,e){t.exports=e(5).document&&document.documentElement},function(t,n,e){t.exports=!e(4)&&!e(27)(function(){return 7!=Object.defineProperty(e(25)("div"),"a",{get:function(){return 7}}).a})},function(t,n,e){var r=e(23);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,n,e){var r=e(17),i=e(2)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||o[i]===t)}},function(t,n,e){var r=e(9);t.exports=function(t,n,e,i){try{return i?n(r(e)[0],e[1]):n(e)}catch(n){var o=t.return;throw void 0!==o&&r(o.call(t)),n}}},function(t,n,e){"use strict";var r=e(76),i=e(18),o=e(28),a={};e(12)(a,e(2)("iterator"),function(){return this}),t.exports=function(t,n,e){t.prototype=r(a,{next:i(1,e)}),o(t,n+" Iterator")}},function(t,n,e){"use strict";var r=e(75),i=e(15),o=e(81),a=e(12),u=e(11),c=e(17),s=e(72),f=e(28),l=e(78),h=e(2)("iterator"),p=!([].keys&&"next"in[].keys()),d="@@iterator",v="keys",g="values",y=function(){return this};t.exports=function(t,n,e,_,m,b,x){s(e,n,_);var w,M,k,A=function(t){if(!p&&t in T)return T[t];switch(t){case v:return function(){return new e(this,t)};case g:return function(){return new e(this,t)}}return function(){return new e(this,t)}},E=n+" Iterator",C=m==g,S=!1,T=t.prototype,O=T[h]||T[d]||m&&T[m],N=O||A(m),j=m?C?A("entries"):N:void 0,P="Array"==n?T.entries||O:O;if(P&&(k=l(P.call(new t)),k!==Object.prototype&&(f(k,E,!0),r||u(k,h)||a(k,h,y))),C&&O&&O.name!==g&&(S=!0,N=function(){return O.call(this)}),r&&!x||!p&&!S&&T[h]||a(T,h,N),c[n]=N,c[E]=y,m)if(w={values:C?N:A(g),keys:b?N:A(v),entries:j},x)for(M in w)M in T||o(T,M,w[M]);else i(i.P+i.F*(p||S),n,w);return w}},function(t,n,e){var r=e(2)("iterator"),i=!1;try{var o=[7][r]();o.return=function(){i=!0},Array.from(o,function(){throw 2})}catch(t){}t.exports=function(t,n){if(!n&&!i)return!1;var e=!1;try{var o=[7],a=o[r]();a.next=function(){return{done:e=!0}},o[r]=function(){return a},t(o)}catch(t){}return e}},function(t,n){t.exports=!0},function(t,n,e){var r=e(9),i=e(77),o=e(26),a=e(19)("IE_PROTO"),u=function(){},c="prototype",s=function(){var t,n=e(25)("iframe"),r=o.length,i="<",a=">";for(n.style.display="none",e(67).appendChild(n),n.src="javascript:",t=n.contentWindow.document,t.open(),t.write(i+"script"+a+"document.F=Object"+i+"/script"+a),t.close(),s=t.F;r--;)delete s[c][o[r]];return s()};t.exports=Object.create||function(t,n){var e;return null!==t?(u[c]=r(t),e=new u,u[c]=null,e[a]=t):e=s(),void 0===n?e:i(e,n)}},function(t,n,e){var r=e(6),i=e(9),o=e(80);t.exports=e(4)?Object.defineProperties:function(t,n){i(t);for(var e,a=o(n),u=a.length,c=0;u>c;)r.f(t,e=a[c++],n[e]);return t}},function(t,n,e){var r=e(11),i=e(32),o=e(19)("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},function(t,n,e){var r=e(11),i=e(30),o=e(64)(!1),a=e(19)("IE_PROTO");t.exports=function(t,n){var e,u=i(t),c=0,s=[];for(e in u)e!=a&&r(u,e)&&s.push(e);for(;n.length>c;)r(u,e=n[c++])&&(~o(s,e)||s.push(e));return s}},function(t,n,e){var r=e(79),i=e(26);t.exports=Object.keys||function(t){return r(t,i)}},function(t,n,e){t.exports=e(12)},function(t,n,e){var r=e(20),i=e(14);t.exports=function(t){return function(n,e){var o,a,u=String(i(n)),c=r(e),s=u.length;return c<0||c>=s?t?"":void 0:(o=u.charCodeAt(c),o<55296||o>56319||c+1===s||(a=u.charCodeAt(c+1))<56320||a>57343?t?u.charAt(c):o:t?u.slice(c,c+2):(o-55296<<10)+(a-56320)+65536)}}},function(t,n,e){var r=e(20),i=Math.max,o=Math.min;t.exports=function(t,n){return t=r(t),t<0?i(t+n,0):o(t,n)}},function(t,n,e){var r=e(16);t.exports=function(t,n){if(!r(t))return t;var e,i;if(n&&"function"==typeof(e=t.toString)&&!r(i=e.call(t)))return i;if("function"==typeof(e=t.valueOf)&&!r(i=e.call(t)))return i;if(!n&&"function"==typeof(e=t.toString)&&!r(i=e.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,n,e){var r=e(65),i=e(2)("iterator"),o=e(17);t.exports=e(10).getIteratorMethod=function(t){if(void 0!=t)return t[i]||t["@@iterator"]||o[r(t)]}},function(t,n,e){"use strict";var r=e(24),i=e(15),o=e(32),a=e(71),u=e(70),c=e(31),s=e(66),f=e(85);i(i.S+i.F*!e(74)(function(t){Array.from(t)}),"Array",{from:function(t){var n,e,i,l,h=o(t),p="function"==typeof this?this:Array,d=arguments.length,v=d>1?arguments[1]:void 0,g=void 0!==v,y=0,_=f(h);if(g&&(v=r(v,d>2?arguments[2]:void 0,2)),void 0==_||p==Array&&u(_))for(n=c(h.length),e=new p(n);n>y;y++)s(e,y,g?v(h[y],y):h[y]);else for(l=_.call(h),e=new p;!(i=l.next()).done;y++)s(e,y,g?a(l,v,[i.value,y],!0):i.value);return e.length=y,e}})},function(t,n,e){var r=e(15);r(r.S+r.F*!e(4),"Object",{defineProperty:e(6).f})},function(t,n,e){"use strict";var r=e(82)(!0);e(73)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,n=this._t,e=this._i;return e>=n.length?{value:void 0,done:!0}:(t=r(n,e),this._i+=t.length,{value:t,done:!1})})},function(t,n,e){"use strict";var r=e(21);e.d(n,"a",function(){return r.a});e(90),e(91)},function(t,n,e){"use strict";var r=e(21),i=e.i(r.a)(",");i.parse,i.parseRows,i.format,i.formatRows},function(t,n,e){"use strict";var r=e(21),i=e.i(r.a)("\t");i.parse,i.parseRows,i.format,i.formatRows},,,,,,,,,,,,,function(t,n,e){!function(t,e){e(n)}(this,function(t){"use strict";function n(t,n,r,i){e(t,n,r),e(t,n,n+i),e(t,n+i,r)}function e(t,n,e){for(var r,i=n+(e-- -n>>1);n<i;++n,--e)r=t[n],t[n]=t[e],t[e]=r}function r(t){return(t&&U.hasOwnProperty(t.type)?U[t.type]:o)(t)}function i(t){var n=t.geometry;return null==n?t.type=null:(o(n),t.type=n.type,n.geometries?t.geometries=n.geometries:n.coordinates&&(t.coordinates=n.coordinates),n.bbox&&(t.bbox=n.bbox)),delete t.geometry,t}function o(t){return t?(D.hasOwnProperty(t.type)&&D[t.type](t),t):{type:null}}function a(t){var n,e=t[0],r=t[1];return r<e&&(n=e,e=r,r=n),e+31*r}function u(t,n){var e,r=t[0],i=t[1],o=n[0],a=n[1];return i<r&&(e=r,r=i,i=e),a<o&&(e=o,o=a,a=e),r===o&&i===a}function c(){return!0}function s(t){return t}function f(t){return null!=t.type}function l(t,n){var e=n.id,r=n.bbox,i=null==n.properties?{}:n.properties,o=h(t,n);return null==e&&null==r?{type:"Feature",properties:i,geometry:o}:null==r?{type:"Feature",id:e,properties:i,geometry:o}:{type:"Feature",id:e,bbox:r,properties:i,geometry:o}}function h(t,n){function e(t,n){n.length&&n.pop();for(var e=s[t<0?~t:t],r=0,i=e.length;r<i;++r)n.push(c(e[r].slice(),r));t<0&&G(n,i)}function r(t){return c(t.slice())}function i(t){for(var n=[],r=0,i=t.length;r<i;++r)e(t[r],n);return n.length<2&&n.push(n[0].slice()),n}function o(t){for(var n=i(t);n.length<4;)n.push(n[0].slice());return n}function a(t){return t.map(o)}function u(t){var n,e=t.type;switch(e){case"GeometryCollection":return{type:e,geometries:t.geometries.map(u)};case"Point":n=r(t.coordinates);break;case"MultiPoint":n=t.coordinates.map(r);break;case"LineString":n=i(t.arcs);break;case"MultiLineString":n=t.arcs.map(i);break;case"Polygon":n=a(t.arcs);break;case"MultiPolygon":n=t.arcs.map(a);break;default:return null}return{type:e,coordinates:n}}var c=V(t),s=t.arcs;return u(n)}function p(t,n,e){var r,i,o;if(arguments.length>1)r=d(t,n,e);else for(i=0,r=new Array(o=t.arcs.length);i<o;++i)r[i]=i;return{type:"MultiLineString",arcs:K(t,r)}}function d(t,n,e){function r(t){var n=t<0?~t:t;(f[n]||(f[n]=[])).push({i:t,g:c})}function i(t){t.forEach(r)}function o(t){t.forEach(i)}function a(t){t.forEach(o)}function u(t){switch(c=t,t.type){case"GeometryCollection":t.geometries.forEach(u);break;case"LineString":i(t.arcs);break;case"MultiLineString":case"Polygon":o(t.arcs);break;case"MultiPolygon":a(t.arcs)}}var c,s=[],f=[];return u(n),f.forEach(null==e?function(t){s.push(t[0].i)}:function(t){e(t[0].g,t[t.length-1].g)&&s.push(t[0].i)}),s}function v(t){for(var n,e=-1,r=t.length,i=t[r-1],o=0;++e<r;)n=i,i=t[e],o+=n[0]*i[1]-n[1]*i[0];return Math.abs(o)}function g(t,n){function e(t){switch(t.type){case"GeometryCollection":t.geometries.forEach(e);break;case"Polygon":r(t.arcs);break;case"MultiPolygon":t.arcs.forEach(r)}}function r(t){t.forEach(function(n){n.forEach(function(n){(o[n=n<0?~n:n]||(o[n]=[])).push(t)})}),a.push(t)}function i(n){return v(h(t,{type:"Polygon",arcs:[n]}).coordinates[0])}var o={},a=[],u=[];return n.forEach(e),a.forEach(function(t){if(!t._){var n=[],e=[t];for(t._=1,u.push(n);t=e.pop();)n.push(t),t.forEach(function(t){t.forEach(function(t){o[t<0?~t:t].forEach(function(t){t._||(t._=1,e.push(t))})})})}}),a.forEach(function(t){delete t._}),{type:"MultiPolygon",arcs:u.map(function(n){var e,r=[];if(n.forEach(function(t){t.forEach(function(t){t.forEach(function(t){o[t<0?~t:t].length<2&&r.push(t)})})}),r=K(t,r),(e=r.length)>1)for(var a,u,c=1,s=i(r[0]);c<e;++c)(a=i(r[c]))>s&&(u=r[0],r[0]=r[c],r[c]=u,s=a);return r})}}function y(t){var n=t[0],e=t[1],r=t[2];return Math.abs((n[0]-r[0])*(e[1]-n[1])-(n[0]-e[0])*(r[1]-n[1]))}function _(t){for(var n,e=-1,r=t.length,i=t[r-1],o=0;++e<r;)n=i,i=t[e],o+=n[0]*i[1]-n[1]*i[0];return Math.abs(o)/2}function m(t,n){return t[1][2]-n[1][2]}function b(t,n){if(e=t.length){if((n=+n)<=0||e<2)return t[0];if(n>=1)return t[e-1];var e,r=(e-1)*n,i=Math.floor(r),o=t[i],a=t[i+1];return o+(a-o)*(r-i)}}function x(t,n){return n-t}function w(t,n){if(!t.length)return 0;var e,r,i,o,a,u,c,s=0,f=t[0],l=f[0]*ht,h=(f[1]*ht+ft)/2,p=gt(h),d=_t(h);for(a=1,u=t.length;a<u;++a)f=t[a],e=l,l=f[0]*ht,r=l-e,h=(f[1]*ht+ft)/2,i=p,p=gt(h),o=d,d=_t(h),c=o*d,s+=vt(c*_t(r),i*p+c*gt(r));return s=2*(s>st?s-ft:s<-st?s+ft:s),n&&(s*=-1),s<0?s+lt:s}function M(t){var n=t[0][0]*ht,e=t[0][1]*ht,r=gt(e),i=_t(e),o=t[1][0]*ht,a=t[1][1]*ht,u=gt(a),c=_t(a),s=t[2][0]*ht,f=t[2][1]*ht,l=gt(f),h=_t(f),p=k(n,r,i,o,u,c),d=k(o,u,c,s,l,h),v=k(s,l,h,n,r,i),g=(p+d+v)/2;return 4*dt(mt(yt(0,bt(g/2)*bt((g-p)/2)*bt((g-d)/2)*bt((g-v)/2))))}function k(t,n,e,r,i,o){var a=pt(r-t),u=gt(a),c=_t(a),s=o*c,f=e*i-n*o*u,l=n*i+e*o*u;return vt(mt(s*s+f*f),l)}var A=function(t){function n(t){t&&s.hasOwnProperty(t.type)&&s[t.type](t)}function e(t){var n=t[0],e=t[1];n<o&&(o=n),n>u&&(u=n),e<a&&(a=e),e>c&&(c=e)}function r(t){t.forEach(e)}function i(t){t.forEach(r)}var o=1/0,a=1/0,u=-(1/0),c=-(1/0),s={GeometryCollection:function(t){t.geometries.forEach(n)},Point:function(t){e(t.coordinates)},MultiPoint:function(t){t.coordinates.forEach(e)},LineString:function(t){r(t.coordinates)},MultiLineString:function(t){t.coordinates.forEach(r)},Polygon:function(t){t.coordinates.forEach(r)},MultiPolygon:function(t){t.coordinates.forEach(i)}};for(var f in t)n(t[f]);return u>=o&&c>=a?[o,a,u,c]:void 0},E=function(t,n,e,r,i){function o(r){for(var o=n(r)&s,a=c[o],u=0;a!=i;){if(e(a,r))return!0;if(++u>=t)throw new Error("full hashset");a=c[o=o+1&s]}return c[o]=r,!0}function a(r){for(var o=n(r)&s,a=c[o],u=0;a!=i;){if(e(a,r))return!0;if(++u>=t)break;a=c[o=o+1&s]}return!1}function u(){for(var t=[],n=0,e=c.length;n<e;++n){var r=c[n];r!=i&&t.push(r)}return t}3===arguments.length&&(r=Array,i=null);for(var c=new r(t=1<<Math.max(4,Math.ceil(Math.log(t)/Math.LN2))),s=t-1,f=0;f<t;++f)c[f]=i;return{add:o,has:a,values:u}},C=function(t,n,e,r,i,o){function a(r,o){for(var a=n(r)&h,u=f[a],c=0;u!=i;){if(e(u,r))return l[a]=o;if(++c>=t)throw new Error("full hashmap");u=f[a=a+1&h]}return f[a]=r,l[a]=o,o}function u(r,o){for(var a=n(r)&h,u=f[a],c=0;u!=i;){if(e(u,r))return l[a];if(++c>=t)throw new Error("full hashmap");u=f[a=a+1&h]}return f[a]=r,l[a]=o,o}function c(r,o){for(var a=n(r)&h,u=f[a],c=0;u!=i;){if(e(u,r))return l[a];if(++c>=t)break;u=f[a=a+1&h]}return o}function s(){for(var t=[],n=0,e=f.length;n<e;++n){var r=f[n];r!=i&&t.push(r)}return t}3===arguments.length&&(r=o=Array,i=null);for(var f=new r(t=1<<Math.max(4,Math.ceil(Math.log(t)/Math.LN2))),l=new o(t),h=t-1,p=0;p<t;++p)f[p]=i;return{set:a,maybeSet:u,get:c,keys:s}},S=function(t,n){return t[0]===n[0]&&t[1]===n[1]},T=new ArrayBuffer(16),O=new Float64Array(T),N=new Uint32Array(T),j=function(t){O[0]=t[0],O[1]=t[1];var n=N[0]^N[1];return n=n<<5^n>>7^N[2]^N[3],2147483647&n},P=function(t){function n(t,n,e,r){if(d[e]!==t){d[e]=t;var i=v[e];if(i>=0){var o=g[e];i===n&&o===r||i===r&&o===n||(++_,y[e]=1)}else v[e]=n,g[e]=r}}function e(){for(var t=C(1.4*f.length,r,i,Int32Array,-1,Int32Array),n=new Int32Array(f.length),e=0,o=f.length;e<o;++e)n[e]=t.maybeSet(e,e);return n}function r(t){return j(f[t])}function i(t,n){return S(f[t],f[n])}var o,a,u,c,s,f=t.coordinates,l=t.lines,h=t.rings,p=e(),d=new Int32Array(f.length),v=new Int32Array(f.length),g=new Int32Array(f.length),y=new Int8Array(f.length),_=0;for(o=0,a=f.length;o<a;++o)d[o]=v[o]=g[o]=-1;for(o=0,a=l.length;o<a;++o){var m=l[o],b=m[0],x=m[1];for(c=p[b],s=p[++b],++_,y[c]=1;++b<=x;)n(o,u=c,c=s,s=p[b]);++_,y[s]=1}for(o=0,a=f.length;o<a;++o)d[o]=-1;for(o=0,a=h.length;o<a;++o){var w=h[o],M=w[0]+1,k=w[1];for(u=p[k-1],c=p[M-1],s=p[M],n(o,u,c,s);++M<=k;)n(o,u=c,c=s,s=p[M])}d=v=g=null;var A,T=E(1.4*_,j,S);for(o=0,a=f.length;o<a;++o)y[A=p[o]]&&T.add(f[A]);return T},$=function(t){var e,r,i,o=P(t),a=t.coordinates,u=t.lines,c=t.rings;for(r=0,i=u.length;r<i;++r)for(var s=u[r],f=s[0],l=s[1];++f<l;)o.has(a[f])&&(e={0:f,1:s[1]},s[1]=f,s=s.next=e);for(r=0,i=c.length;r<i;++r)for(var h=c[r],p=h[0],d=p,v=h[1],g=o.has(a[p]);++d<v;)o.has(a[d])&&(g?(e={0:d,1:h[1]},h[1]=d,h=h.next=e):(n(a,p,v,v-d),a[v]=a[p],g=!0,d=p));return t},R=function(t){function n(t){var n,e,o,a,u,c,s,f;if(o=g.get(n=h[t[0]]))for(s=0,f=o.length;s<f;++s)if(a=o[s],r(a,t))return t[0]=a[0],void(t[1]=a[1]);if(u=g.get(e=h[t[1]]))for(s=0,f=u.length;s<f;++s)if(c=u[s],i(c,t))return t[1]=c[0],void(t[0]=c[1]);o?o.push(t):g.set(n,[t]),u?u.push(t):g.set(e,[t]),y.push(t)}function e(t){var n,e,r,i,c;if(e=g.get(n=h[t[0]]))for(i=0,c=e.length;i<c;++i){if(r=e[i],o(r,t))return t[0]=r[0],void(t[1]=r[1]);if(a(r,t))return t[0]=r[1],void(t[1]=r[0])}if(e=g.get(n=h[t[0]+u(t)]))for(i=0,c=e.length;i<c;++i){if(r=e[i],o(r,t))return t[0]=r[0],void(t[1]=r[1]);if(a(r,t))return t[0]=r[1],void(t[1]=r[0])}e?e.push(t):g.set(n,[t]),y.push(t)}function r(t,n){var e=t[0],r=n[0],i=t[1],o=n[1];if(e-i!==r-o)return!1;for(;e<=i;++e,++r)if(!S(h[e],h[r]))return!1;return!0}function i(t,n){var e=t[0],r=n[0],i=t[1],o=n[1];if(e-i!==r-o)return!1;for(;e<=i;++e,--o)if(!S(h[e],h[o]))return!1;return!0}function o(t,n){var e=t[0],r=n[0],i=t[1],o=n[1],a=i-e;if(a!==o-r)return!1;for(var c=u(t),s=u(n),f=0;f<a;++f)if(!S(h[e+(f+c)%a],h[r+(f+s)%a]))return!1;return!0}function a(t,n){var e=t[0],r=n[0],i=t[1],o=n[1],a=i-e;if(a!==o-r)return!1;for(var c=u(t),s=a-u(n),f=0;f<a;++f)if(!S(h[e+(f+c)%a],h[o-(f+s)%a]))return!1;return!0}function u(t){for(var n=t[0],e=t[1],r=n,i=r,o=h[r];++r<e;){var a=h[r];(a[0]<o[0]||a[0]===o[0]&&a[1]<o[1])&&(i=r,o=a)}return i-n}var c,s,f,l,h=t.coordinates,p=t.lines,d=t.rings,v=p.length+d.length;for(delete t.lines,delete t.rings,f=0,l=p.length;f<l;++f)for(c=p[f];c=c.next;)++v;for(f=0,l=d.length;f<l;++f)for(s=d[f];s=s.next;)++v;var g=C(2*v*1.4,j,S),y=t.arcs=[];for(f=0,l=p.length;f<l;++f){c=p[f];do n(c);while(c=c.next)}for(f=0,l=d.length;f<l;++f)if(s=d[f],s.next){do n(s);while(s=s.next)}else e(s);return t},L=function(t){for(var n=t.arcs,e=-1,r=n.length;++e<r;)for(var i,o,a=n[e],u=0,c=a.length,s=a[0],f=s[0],l=s[1];++u<c;)s=a[u],i=s[0],o=s[1],a[u]=[i-f,o-l],f=i,l=o;return t},I=function(t){function n(t){t&&s.hasOwnProperty(t.type)&&s[t.type](t)}function e(t){for(var n=0,e=t.length;n<e;++n)c[++o]=t[n];var r={0:o-e+1,1:o};return a.push(r),r}function r(t){for(var n=0,e=t.length;n<e;++n)c[++o]=t[n];var r={0:o-e+1,1:o};return u.push(r),r}function i(t){return t.map(r)}var o=-1,a=[],u=[],c=[],s={GeometryCollection:function(t){t.geometries.forEach(n)},LineString:function(t){t.arcs=e(t.coordinates),delete t.coordinates},MultiLineString:function(t){t.arcs=t.coordinates.map(e),delete t.coordinates},Polygon:function(t){t.arcs=t.coordinates.map(r),delete t.coordinates},MultiPolygon:function(t){t.arcs=t.coordinates.map(i),delete t.coordinates}};for(var f in t)n(t[f]);return{type:"Topology",coordinates:c,lines:a,rings:u,objects:t}},z=function(t){var n;for(n in t)t[n]=r(t[n]);return t},U={Feature:i,FeatureCollection:function(t){return t.type="GeometryCollection",t.geometries=t.features,t.features.forEach(i),delete t.features,t}},D={GeometryCollection:function(t){for(var n=t.geometries,e=-1,r=n.length;++e<r;)n[e]=o(n[e])},MultiPoint:function(t){t.coordinates.length?t.coordinates.length<2&&(t.type="Point",t.coordinates=t.coordinates[0]):(t.type=null,delete t.coordinates)},LineString:function(t){t.coordinates.length||(t.type=null,delete t.coordinates)},MultiLineString:function(t){for(var n=t.coordinates,e=0,r=0,i=n.length;e<i;++e){var o=n[e];o.length&&(n[r++]=o)}r?r<2?(t.type="LineString",t.coordinates=n[0]):t.coordinates.length=r:(t.type=null,delete t.coordinates)},Polygon:function(t){for(var n=t.coordinates,e=0,r=0,i=n.length;e<i;++e){var o=n[e];o.length&&(n[r++]=o)}r?t.coordinates.length=r:(t.type=null,delete t.coordinates)},MultiPolygon:function(t){for(var n=t.coordinates,e=0,r=0,i=n.length;e<i;++e){for(var o=n[e],a=0,u=0,c=o.length;a<c;++a){var s=o[a];s.length&&(o[u++]=s)}u&&(o.length=u,n[r++]=o)}r?r<2?(t.type="Polygon",t.coordinates=n[0]):n.length=r:(t.type=null,delete t.coordinates)}},q=function(t,n,e){function r(t){return t[0]=Math.round((t[0]-a)*f),t[1]=Math.round((t[1]-u)*l),t}function i(t){for(var n,e,i,o=0,a=1,u=t.length,c=r(t[0]),s=c[0],f=c[1];++o<u;)c=r(t[o]),e=c[0],i=c[1],e===s&&i===f||(n=t[a++],n[0]=s=e,n[1]=f=i);t.length=a}function o(t){t&&h.hasOwnProperty(t.type)&&h[t.type](t)}var a=n[0],u=n[1],c=n[2],s=n[3],f=c-a?(e-1)/(c-a):1,l=s-u?(e-1)/(s-u):1,h={GeometryCollection:function(t){t.geometries.forEach(o)},Point:function(t){r(t.coordinates)},MultiPoint:function(t){t.coordinates.forEach(r)},LineString:function(t){var n=t.coordinates;i(n),n.length<2&&(n[1]=n[0])},MultiLineString:function(t){for(var n=t.coordinates,e=0,r=n.length;e<r;++e){var o=n[e];i(o),o.length<2&&(o[1]=o[0])}},Polygon:function(t){for(var n=t.coordinates,e=0,r=n.length;e<r;++e){var o=n[e];for(i(o);o.length<4;)o.push(o[0])}},MultiPolygon:function(t){for(var n=t.coordinates,e=0,r=n.length;e<r;++e)for(var o=n[e],a=0,u=o.length;a<u;++a){var c=o[a];for(i(c);c.length<4;)c.push(c[0])}}};for(var p in t)o(t[p]);return{scale:[1/f,1/l],translate:[a,u]}},F=function(t,n){function e(t){t&&h.hasOwnProperty(t.type)&&h[t.type](t)}function r(t){var n=[];do{var e=l.get(t);n.push(t[0]<t[1]?e:~e)}while(t=t.next);return n}function i(t){return t.map(r)}var o=A(z(t)),c=n>0&&o&&q(t,o,n),s=R($(I(t))),f=s.coordinates,l=C(1.4*s.arcs.length,a,u);t=s.objects,s.bbox=o,s.arcs=s.arcs.map(function(t,n){return l.set(t,n),f.slice(t[0],t[1]+1)}),delete s.coordinates,f=null;var h={GeometryCollection:function(t){t.geometries.forEach(e)},LineString:function(t){t.arcs=r(t.arcs)},MultiLineString:function(t){t.arcs=t.arcs.map(r)},Polygon:function(t){t.arcs=t.arcs.map(r)},MultiPolygon:function(t){t.arcs=t.arcs.map(i)}};for(var p in t)e(t[p]);return c&&(s.transform=c,L(s)),s},B=function(t){function n(t){switch(t.type){case"GeometryCollection":t.geometries.forEach(n);break;case"LineString":e(t.arcs);break;case"MultiLineString":t.arcs.forEach(e);break;case"Polygon":t.arcs.forEach(e);break;case"MultiPolygon":t.arcs.forEach(r)}}function e(t){for(var n=0,e=t.length;n<e;++n){var r,i=t[n],s=i<0&&(i=~i,!0);null==(r=c[i])&&(c[i]=r=++u,a[r]=o[i]),t[n]=s?~r:r}}function r(t){t.forEach(e)}var i,o=t.arcs,a=t.arcs=[],u=-1,c=new Array(o.length);for(i in t.objects)n(t.objects[i]);return t},H=function(t,n){function e(t){switch(t.type){case"Polygon":t.arcs=r(t.arcs),t.arcs||(t.type=null,delete t.arcs);break;case"MultiPolygon":t.arcs=t.arcs.map(r).filter(s),t.arcs.length||(t.type=null,delete t.arcs);break;case"GeometryCollection":t.geometries.forEach(e),t.geometries=t.geometries.filter(f),t.geometries.length||(t.type=null,delete t.geometries)}}function r(t){return t.length&&i(t[0])?[t.shift()].concat(t.filter(o)):null}function i(t){return n(t,!1)}function o(t){return n(t,!0)}var a;null==n&&(n=c);for(a in t.objects)e(t.objects[a]);return B(t)},W=function(t){function n(t){switch(t.type){case"GeometryCollection":t.geometries.forEach(n);break;case"Polygon":e(t.arcs);break;case"MultiPolygon":t.arcs.forEach(e)}}function e(t){for(var n=0,e=t.length;n<e;++n,++o)for(var r=t[n],a=0,u=r.length;a<u;++a){var c=r[a];c<0&&(c=~c);var s=i[c];s>=0&&s!==o?i[c]=-1:i[c]=o}}var r,i={},o=0;for(r in t.objects)n(t.objects[r]);return function(t){for(var n,e=0,r=t.length;e<r;++e)if(n=t[e],i[n<0?~n:n]<0)return!0;return!1}},Y=function(t){return t},V=function(t){if(null==(n=t.transform))return Y;var n,e,r,i=n.scale[0],o=n.scale[1],a=n.translate[0],u=n.translate[1];return function(t,n){return n||(e=r=0),t[0]=(e+=t[0])*i+a,t[1]=(r+=t[1])*o+u,t}},X=function(t){function n(t){u[0]=t[0],u[1]=t[1],a(u),u[0]<c&&(c=u[0]),u[0]>f&&(f=u[0]),u[1]<s&&(s=u[1]),u[1]>l&&(l=u[1])}function e(t){switch(t.type){case"GeometryCollection":t.geometries.forEach(e);break;case"Point":n(t.coordinates);break;case"MultiPoint":t.coordinates.forEach(n)}}var r=t.bbox;if(!r){var i,o,a=V(t),u=new Array(2),c=1/0,s=c,f=-c,l=-c;t.arcs.forEach(function(t){for(var n=-1,e=t.length;++n<e;)i=t[n],u[0]=i[0],u[1]=i[1],a(u,n),u[0]<c&&(c=u[0]),u[0]>f&&(f=u[0]),u[1]<s&&(s=u[1]),u[1]>l&&(l=u[1])});for(o in t.objects)e(t.objects[o]);r=t.bbox=[c,s,f,l]}return r},G=function(t,n){for(var e,r=t.length,i=r-n;i<--r;)e=t[i],t[i++]=t[r],t[r]=e},J=function(t,n){return"GeometryCollection"===n.type?{ |
|
type:"FeatureCollection",features:n.geometries.map(function(n){return l(t,n)})}:l(t,n)},K=function(t,n){function e(n){var e,r=t.arcs[n<0?~n:n],i=r[0];return t.transform?(e=[0,0],r.forEach(function(t){e[0]+=t[0],e[1]+=t[1]})):e=r[r.length-1],n<0?[e,i]:[i,e]}function r(t,n){for(var e in t){var r=t[e];delete n[r.start],delete r.start,delete r.end,r.forEach(function(t){i[t<0?~t:t]=1}),u.push(r)}}var i={},o={},a={},u=[],c=-1;return n.forEach(function(e,r){var i,o=t.arcs[e<0?~e:e];o.length<3&&!o[1][0]&&!o[1][1]&&(i=n[++c],n[c]=e,n[r]=i)}),n.forEach(function(t){var n,r,i=e(t),u=i[0],c=i[1];if(n=a[u])if(delete a[n.end],n.push(t),n.end=c,r=o[c]){delete o[r.start];var s=r===n?n:n.concat(r);o[s.start=n.start]=a[s.end=r.end]=s}else o[n.start]=a[n.end]=n;else if(n=o[c])if(delete o[n.start],n.unshift(t),n.start=u,r=a[u]){delete a[r.end];var f=r===n?n:r.concat(n);o[f.start=r.start]=a[f.end=n.end]=f}else o[n.start]=a[n.end]=n;else n=[t],o[n.start=u]=a[n.end=c]=n}),r(a,o),r(o,a),n.forEach(function(t){i[t<0?~t:t]||u.push([t])}),u},Z=function(t){return h(t,p.apply(this,arguments))},Q=function(t){return h(t,g.apply(this,arguments))},tt=function(t,n){for(var e=0,r=t.length;e<r;){var i=e+r>>>1;t[i]<n?e=i+1:r=i}return e},nt=function(t){function n(t,n){t.forEach(function(t){t<0&&(t=~t);var e=i[t];e?e.push(n):i[t]=[n]})}function e(t,e){t.forEach(function(t){n(t,e)})}function r(t,n){"GeometryCollection"===t.type?t.geometries.forEach(function(t){r(t,n)}):t.type in a&&a[t.type](t.arcs,n)}var i={},o=t.map(function(){return[]}),a={LineString:n,MultiLineString:e,Polygon:e,MultiPolygon:function(t,n){t.forEach(function(t){e(t,n)})}};t.forEach(r);for(var u in i)for(var c=i[u],s=c.length,f=0;f<s;++f)for(var l=f+1;l<s;++l){var h,p=c[f],d=c[l];(h=o[p])[u=tt(h,d)]!==d&&h.splice(u,0,d),(h=o[d])[u=tt(h,p)]!==p&&h.splice(u,0,p)}return o},et=function(t,n){function e(t){t[0]=Math.round((t[0]-a)/u),t[1]=Math.round((t[1]-c)/s)}function r(t){switch(t.type){case"GeometryCollection":t.geometries.forEach(r);break;case"Point":e(t.coordinates);break;case"MultiPoint":t.coordinates.forEach(e)}}if(!((n=Math.floor(n))>=2))throw new Error("n must be ≥2");if(t.transform)throw new Error("already quantized");var i,o=X(t),a=o[0],u=(o[2]-a)/(n-1)||1,c=o[1],s=(o[3]-c)/(n-1)||1;t.arcs.forEach(function(t){for(var n,e,r,i=1,o=1,f=t.length,l=t[0],h=l[0]=Math.round((l[0]-a)/u),p=l[1]=Math.round((l[1]-c)/s);i<f;++i)l=t[i],e=Math.round((l[0]-a)/u),r=Math.round((l[1]-c)/s),e===h&&r===p||(n=t[o++],n[0]=e-h,h=e,n[1]=r-p,p=r);o<2&&(n=t[o++],n[0]=0,n[1]=0),t.length=o});for(i in t.objects)r(t.objects[i]);return t.transform={scale:[u,s],translate:[a,c]},t},rt=function(t){if(null==(n=t.transform))return Y;var n,e,r,i=n.scale[0],o=n.scale[1],a=n.translate[0],u=n.translate[1];return function(t,n){n||(e=r=0);var c=Math.round((t[0]-a)/i),s=Math.round((t[1]-u)/o);return t[0]=c-e,e=c,t[1]=s-r,r=s,t}},it=function(t,n,e){return n=null==n?Number.MIN_VALUE:+n,null==e&&(e=_),function(r,i){return e(J(t,{type:"Polygon",arcs:[r]}).geometry.coordinates[0],i)>=n}},ot=function(){function t(t,n){for(;n>0;){var e=(n+1>>1)-1,i=r[e];if(m(t,i)>=0)break;r[i._=n]=i,r[t._=n=e]=t}}function n(t,n){for(;;){var e=n+1<<1,o=e-1,a=n,u=r[a];if(o<i&&m(r[o],u)<0&&(u=r[a=o]),e<i&&m(r[e],u)<0&&(u=r[a=e]),a===n)break;r[u._=n]=u,r[t._=n=a]=t}}var e={},r=[],i=0;return e.push=function(n){return t(r[n._=i]=n,i++),i},e.pop=function(){if(!(i<=0)){var t,e=r[0];return--i>0&&(t=r[i],n(r[t._=0]=t,0)),e}},e.remove=function(e){var o,a=e._;if(r[a]===e)return a!==--i&&(o=r[i],(m(o,e)<0?t:n)(r[o._=a]=o,a)),a},e},at=function(t,n){function e(t){o.remove(t),t[1][2]=n(t),o.push(t)}var r=V(t),i=rt(t),o=ot();return null==n&&(n=y),t.arcs.forEach(function(t){var a,u,c,s=[],f=0;for(t.forEach(r),u=1,c=t.length-1;u<c;++u)a=t.slice(u-1,u+2),a[1][2]=n(a),s.push(a),o.push(a);for(t[0][2]=t[c][2]=1/0,u=0,c=s.length;u<c;++u)a=s[u],a.previous=s[u-1],a.next=s[u+1];for(;a=o.pop();){var l=a.previous,h=a.next;a[1][2]<f?a[1][2]=f:f=a[1][2],l&&(l.next=h,l[2]=a[2],e(l)),h&&(h.previous=l,h[0]=a[0],e(h))}t.forEach(i)}),t},ut=function(t,n){var e=[];return t.arcs.forEach(function(t){t.forEach(function(t){isFinite(t[2])&&e.push(t[2])})}),e.length&&b(e.sort(x),n)},ct=function(t,n){return n=null==n?Number.MIN_VALUE:+n,t.arcs.forEach(t.transform?function(t){for(var e,r,i=0,o=0,a=-1,u=-1,c=t.length;++a<c;)e=t[a],e[2]>=n?(r=t[++u],r[0]=e[0]+i,r[1]=e[1]+o,i=o=0):(i+=e[0],o+=e[1]);t.length=++u}:function(t){for(var e,r=-1,i=-1,o=t.length;++r<o;)e=t[r],e[2]>=n&&(t[++i]=e);t.length=++i}),t.arcs.forEach(t.transform?function(t){var n=0,e=0,r=t.length,i=t[0];for(i.length=2;++n<r;)i=t[n],i.length=2,(i[0]||i[1])&&(t[++e]=i);t.length=(e||1)+1}:function(t){var n,e,r=0,i=0,o=t.length,a=t[0],u=a[0],c=a[1];for(a.length=2;++r<o;)a=t[r],n=a[0],e=a[1],a.length=2,u===n&&c===e||(t[++i]=a,u=n,c=e);t.length=(i||1)+1}),t},st=Math.PI,ft=2*st,lt=4*st,ht=st/180,pt=Math.abs,dt=Math.atan,vt=Math.atan2,gt=Math.cos,yt=Math.max,_t=Math.sin,mt=Math.sqrt,bt=Math.tan;t.topology=F,t.filter=H,t.filterAttached=W,t.filterWeight=it,t.planarRingArea=_,t.planarTriangleArea=y,t.presimplify=at,t.quantile=ut,t.simplify=ct,t.sphericalRingArea=w,t.sphericalTriangleArea=M,t.bbox=X,t.feature=J,t.merge=Q,t.mergeArcs=g,t.mesh=Z,t.meshArcs=p,t.neighbors=nt,t.quantize=et,t.transform=V,t.untransform=rt,Object.defineProperty(t,"__esModule",{value:!0})})},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,n,e){"use strict";function r(t,n){t||"undefined"!=typeof console&&console.warn("[vue-router] "+n)}function i(t,n){switch(typeof n){case"undefined":return;case"object":return n;case"function":return n(t);case"boolean":return n?t.params:void 0;default:r(!1,'props in "'+t.path+'" is a '+typeof n+", expecting an object, function or boolean.")}}function o(t,n){if(void 0===n&&(n={}),t){var e;try{e=a(t)}catch(t){e={}}for(var r in n)e[r]=n[r];return e}return n}function a(t){var n={};return(t=t.trim().replace(/^(\?|#|&)/,""))?(t.split("&").forEach(function(t){var e=t.replace(/\+/g," ").split("="),r=jt(e.shift()),i=e.length>0?jt(e.join("=")):null;void 0===n[r]?n[r]=i:Array.isArray(n[r])?n[r].push(i):n[r]=[n[r],i]}),n):n}function u(t){var n=t?Object.keys(t).map(function(n){var e=t[n];if(void 0===e)return"";if(null===e)return Nt(n);if(Array.isArray(e)){var r=[];return e.slice().forEach(function(t){void 0!==t&&(null===t?r.push(Nt(n)):r.push(Nt(n)+"="+Nt(t)))}),r.join("&")}return Nt(n)+"="+Nt(e)}).filter(function(t){return t.length>0}).join("&"):null;return n?"?"+n:""}function c(t,n,e){var r={name:n.name||t&&t.name,meta:t&&t.meta||{},path:n.path||"/",hash:n.hash||"",query:n.query||{},params:n.params||{},fullPath:f(n),matched:t?s(t):[]};return e&&(r.redirectedFrom=f(e)),Object.freeze(r)}function s(t){for(var n=[];t;)n.unshift(t),t=t.parent;return n}function f(t){var n=t.path,e=t.query;void 0===e&&(e={});var r=t.hash;return void 0===r&&(r=""),(n||"/")+u(e)+r}function l(t,n){return n===$t?t===n:!!n&&(t.path&&n.path?t.path.replace(Pt,"")===n.path.replace(Pt,"")&&t.hash===n.hash&&h(t.query,n.query):!(!t.name||!n.name)&&(t.name===n.name&&t.hash===n.hash&&h(t.query,n.query)&&h(t.params,n.params)))}function h(t,n){void 0===t&&(t={}),void 0===n&&(n={});var e=Object.keys(t),r=Object.keys(n);return e.length===r.length&&e.every(function(e){return String(t[e])===String(n[e])})}function p(t,n){return 0===t.path.replace(Pt,"/").indexOf(n.path.replace(Pt,"/"))&&(!n.hash||t.hash===n.hash)&&d(t.query,n.query)}function d(t,n){for(var e in n)if(!(e in t))return!1;return!0}function v(t){if(!(t.metaKey||t.ctrlKey||t.shiftKey||t.defaultPrevented||void 0!==t.button&&0!==t.button)){if(t.target&&t.target.getAttribute){var n=t.target.getAttribute("target");if(/\b_blank\b/i.test(n))return}return t.preventDefault&&t.preventDefault(),!0}}function g(t){if(t)for(var n,e=0;e<t.length;e++){if(n=t[e],"a"===n.tag)return n;if(n.children&&(n=g(n.children)))return n}}function y(t){if(!y.installed){y.installed=!0,Et=t,Object.defineProperty(t.prototype,"$router",{get:function(){return this.$root._router}}),Object.defineProperty(t.prototype,"$route",{get:function(){return this.$root._route}}),t.mixin({beforeCreate:function(){this.$options.router&&(this._router=this.$options.router,this._router.init(this),t.util.defineReactive(this,"_route",this._router.history.current))}}),t.component("router-view",Ct),t.component("router-link",It);var n=t.config.optionMergeStrategies;n.beforeRouteEnter=n.beforeRouteLeave=n.created}}function _(t,n,e){if("/"===t.charAt(0))return t;if("?"===t.charAt(0)||"#"===t.charAt(0))return n+t;var r=n.split("/");e&&r[r.length-1]||r.pop();for(var i=t.replace(/^\//,"").split("/"),o=0;o<i.length;o++){var a=i[o];"."!==a&&(".."===a?r.pop():r.push(a))}return""!==r[0]&&r.unshift(""),r.join("/")}function m(t){var n="",e="",r=t.indexOf("#");r>=0&&(n=t.slice(r),t=t.slice(0,r));var i=t.indexOf("?");return i>=0&&(e=t.slice(i+1),t=t.slice(0,i)),{path:t,query:e,hash:n}}function b(t){return t.replace(/\/\//g,"/")}function x(t,n,e){var r=n||Object.create(null),i=e||Object.create(null);return t.forEach(function(t){w(r,i,t)}),{pathMap:r,nameMap:i}}function w(t,n,e,r,i){var o=e.path,a=e.name,u={path:M(o,r),components:e.components||{default:e.component},instances:{},name:a,parent:r,matchAs:i,redirect:e.redirect,beforeEnter:e.beforeEnter,meta:e.meta||{},props:null==e.props?{}:e.components?e.props:{default:e.props}};if(e.children&&e.children.forEach(function(e){var r=i?b(i+"/"+e.path):void 0;w(t,n,e,u,r)}),void 0!==e.alias)if(Array.isArray(e.alias))e.alias.forEach(function(i){var o={path:i,children:e.children};w(t,n,o,r,u.path)});else{var c={path:e.alias,children:e.children};w(t,n,c,r,u.path)}t[u.path]||(t[u.path]=u),a&&(n[a]||(n[a]=u))}function M(t,n){return t=t.replace(/\/$/,""),"/"===t[0]?t:null==n?t:b(n.path+"/"+t)}function k(t,n){for(var e,r=[],i=0,o=0,a="",u=n&&n.delimiter||"/";null!=(e=Yt.exec(t));){var c=e[0],s=e[1],f=e.index;if(a+=t.slice(o,f),o=f+c.length,s)a+=s[1];else{var l=t[o],h=e[2],p=e[3],d=e[4],v=e[5],g=e[6],y=e[7];a&&(r.push(a),a="");var _=null!=h&&null!=l&&l!==h,m="+"===g||"*"===g,b="?"===g||"*"===g,x=e[2]||u,w=d||v;r.push({name:p||i++,prefix:h||"",delimiter:x,optional:b,repeat:m,partial:_,asterisk:!!y,pattern:w?O(w):y?".*":"[^"+T(x)+"]+?"})}}return o<t.length&&(a+=t.substr(o)),a&&r.push(a),r}function A(t,n){return S(k(t,n))}function E(t){return encodeURI(t).replace(/[\/?#]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}function C(t){return encodeURI(t).replace(/[?#]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}function S(t){for(var n=new Array(t.length),e=0;e<t.length;e++)"object"==typeof t[e]&&(n[e]=new RegExp("^(?:"+t[e].pattern+")$"));return function(e,r){for(var i="",o=e||{},a=r||{},u=a.pretty?E:encodeURIComponent,c=0;c<t.length;c++){var s=t[c];if("string"!=typeof s){var f,l=o[s.name];if(null==l){if(s.optional){s.partial&&(i+=s.prefix);continue}throw new TypeError('Expected "'+s.name+'" to be defined')}if(Dt(l)){if(!s.repeat)throw new TypeError('Expected "'+s.name+'" to not repeat, but received `'+JSON.stringify(l)+"`");if(0===l.length){if(s.optional)continue;throw new TypeError('Expected "'+s.name+'" to not be empty')}for(var h=0;h<l.length;h++){if(f=u(l[h]),!n[c].test(f))throw new TypeError('Expected all "'+s.name+'" to match "'+s.pattern+'", but received `'+JSON.stringify(f)+"`");i+=(0===h?s.prefix:s.delimiter)+f}}else{if(f=s.asterisk?C(l):u(l),!n[c].test(f))throw new TypeError('Expected "'+s.name+'" to match "'+s.pattern+'", but received "'+f+'"');i+=s.prefix+f}}else i+=s}return i}}function T(t){return t.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function O(t){return t.replace(/([=!:$\/()])/g,"\\$1")}function N(t,n){return t.keys=n,t}function j(t){return t.sensitive?"":"i"}function P(t,n){var e=t.source.match(/\((?!\?)/g);if(e)for(var r=0;r<e.length;r++)n.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return N(t,n)}function $(t,n,e){for(var r=[],i=0;i<t.length;i++)r.push(I(t[i],n,e).source);var o=new RegExp("(?:"+r.join("|")+")",j(e));return N(o,n)}function R(t,n,e){return L(k(t,e),n,e)}function L(t,n,e){Dt(n)||(e=n||e,n=[]),e=e||{};for(var r=e.strict,i=e.end!==!1,o="",a=0;a<t.length;a++){var u=t[a];if("string"==typeof u)o+=T(u);else{var c=T(u.prefix),s="(?:"+u.pattern+")";n.push(u),u.repeat&&(s+="(?:"+c+s+")*"),s=u.optional?u.partial?c+"("+s+")?":"(?:"+c+"("+s+"))?":c+"("+s+")",o+=s}}var f=T(e.delimiter||"/"),l=o.slice(-f.length)===f;return r||(o=(l?o.slice(0,-f.length):o)+"(?:"+f+"(?=$))?"),o+=i?"$":r&&l?"":"(?="+f+"|$)",N(new RegExp("^"+o,j(e)),n)}function I(t,n,e){return Dt(n)||(e=n||e,n=[]),e=e||{},t instanceof RegExp?P(t,n):Dt(t)?$(t,n,e):R(t,n,e)}function z(t){var n,e,r=Vt[t];return r?(n=r.keys,e=r.regexp):(n=[],e=qt(t,n),Vt[t]={keys:n,regexp:e}),{keys:n,regexp:e}}function U(t,n,e){try{var r=Xt[t]||(Xt[t]=qt.compile(t));return r(n||{},{pretty:!0})}catch(t){return""}}function D(t,n,e){var r="string"==typeof t?{path:t}:t;if(r.name||r._normalized)return r;if(!r.path&&r.params&&n){r=q({},r),r._normalized=!0;var i=q(q({},n.params),r.params);if(n.name)r.name=n.name,r.params=i;else if(n.matched){var a=n.matched[n.matched.length-1].path;r.path=U(a,i,"path "+n.path)}return r}var u=m(r.path||""),c=n&&n.path||"/",s=u.path?_(u.path,c,e||r.append):n&&n.path||"/",f=o(u.query,r.query),l=r.hash||u.hash;return l&&"#"!==l.charAt(0)&&(l="#"+l),{_normalized:!0,path:s,query:f,hash:l}}function q(t,n){for(var e in n)t[e]=n[e];return t}function F(t){function n(t){x(t,s,f)}function e(t,n,e){var r=D(t,n),i=r.name;if(i){var o=f[i],u=z(o.path).keys.filter(function(t){return!t.optional}).map(function(t){return t.name});if("object"!=typeof r.params&&(r.params={}),n&&"object"==typeof n.params)for(var c in n.params)!(c in r.params)&&u.indexOf(c)>-1&&(r.params[c]=n.params[c]);if(o)return r.path=U(o.path,r.params,'named route "'+i+'"'),a(o,r,e)}else if(r.path){r.params={};for(var l in s)if(B(l,r.params,r.path))return a(s[l],r,e)}return a(null,r)}function i(t,n){var i=t.redirect,o="function"==typeof i?i(c(t,n)):i;if("string"==typeof o&&(o={path:o}),!o||"object"!=typeof o)return a(null,n);var u=o,s=u.name,l=u.path,h=n.query,p=n.hash,d=n.params;if(h=u.hasOwnProperty("query")?u.query:h,p=u.hasOwnProperty("hash")?u.hash:p,d=u.hasOwnProperty("params")?u.params:d,s){f[s];return e({_normalized:!0,name:s,query:h,hash:p,params:d},void 0,n)}if(l){var v=H(l,t),g=U(v,d,'redirect route with path "'+v+'"');return e({_normalized:!0,path:g,query:h,hash:p},void 0,n)}return r(!1,"invalid redirect option: "+JSON.stringify(o)),a(null,n)}function o(t,n,r){var i=U(r,n.params,'aliased route with path "'+r+'"'),o=e({_normalized:!0,path:i});if(o){var u=o.matched,c=u[u.length-1];return n.params=o.params,a(c,n)}return a(null,n)}function a(t,n,e){return t&&t.redirect?i(t,e||n):t&&t.matchAs?o(t,n,t.matchAs):c(t,n,e)}var u=x(t),s=u.pathMap,f=u.nameMap;return{match:e,addRoutes:n}}function B(t,n,e){var r=z(t),i=r.regexp,o=r.keys,a=e.match(i);if(!a)return!1;if(!n)return!0;for(var u=1,c=a.length;u<c;++u){var s=o[u-1],f="string"==typeof a[u]?decodeURIComponent(a[u]):a[u];s&&(n[s.name]=f)}return!0}function H(t,n){return _(t,n.parent?n.parent.path:"/",!0)}function W(){window.addEventListener("popstate",function(t){V(),t.state&&t.state.key&&nt(t.state.key)})}function Y(t,n,e,r){if(t.app){var i=t.options.scrollBehavior;i&&t.app.$nextTick(function(){var t=X(),o=i(n,e,r?t:null);if(o){var a="object"==typeof o;if(a&&"string"==typeof o.selector){var u=document.querySelector(o.selector);u?t=G(u):J(o)&&(t=K(o))}else a&&J(o)&&(t=K(o));t&&window.scrollTo(t.x,t.y)}})}}function V(){var t=tt();t&&(Gt[t]={x:window.pageXOffset,y:window.pageYOffset})}function X(){var t=tt();if(t)return Gt[t]}function G(t){var n=document.documentElement.getBoundingClientRect(),e=t.getBoundingClientRect();return{x:e.left-n.left,y:e.top-n.top}}function J(t){return Z(t.x)||Z(t.y)}function K(t){return{x:Z(t.x)?t.x:window.pageXOffset,y:Z(t.y)?t.y:window.pageYOffset}}function Z(t){return"number"==typeof t}function Q(){return Kt.now().toFixed(3)}function tt(){return Zt}function nt(t){Zt=t}function et(t,n){V();var e=window.history;try{n?e.replaceState({key:Zt},"",t):(Zt=Q(),e.pushState({key:Zt},"",t))}catch(e){window.location[n?"replace":"assign"](t)}}function rt(t){et(t,!0)}function it(t,n,e){var r=function(i){i>=t.length?e():t[i]?n(t[i],function(){r(i+1)}):r(i+1)};r(0)}function ot(t){if(!t)if(zt){var n=document.querySelector("base");t=n?n.getAttribute("href"):"/"}else t="/";return"/"!==t.charAt(0)&&(t="/"+t),t.replace(/\/$/,"")}function at(t,n){var e,r=Math.max(t.length,n.length);for(e=0;e<r&&t[e]===n[e];e++);return{updated:n.slice(0,e),activated:n.slice(e),deactivated:t.slice(e)}}function ut(t,n,e,r){var i=gt(t,function(t,r,i,o){var a=ct(t,n);if(a)return Array.isArray(a)?a.map(function(t){return e(t,r,i,o)}):e(a,r,i,o)});return yt(r?i.reverse():i)}function ct(t,n){return"function"!=typeof t&&(t=Et.extend(t)),t.options[n]}function st(t){return ut(t,"beforeRouteLeave",lt,!0)}function ft(t){return ut(t,"beforeRouteUpdate",lt)}function lt(t,n){return function(){return t.apply(n,arguments)}}function ht(t,n,e){return ut(t,"beforeRouteEnter",function(t,r,i,o){return pt(t,i,o,n,e)})}function pt(t,n,e,r,i){return function(o,a,u){return t(o,a,function(t){u(t),"function"==typeof t&&r.push(function(){dt(t,n.instances,e,i)})})}}function dt(t,n,e,r){n[e]?t(n[e]):r()&&setTimeout(function(){dt(t,n,e,r)},16)}function vt(t){return gt(t,function(t,n,e,i){if("function"==typeof t&&!t.options)return function(n,o,a){var u=_t(function(t){e.components[i]=t,a()}),c=_t(function(t){r(!1,"Failed to resolve async component "+i+": "+t),a(!1)}),s=t(u,c);s&&"function"==typeof s.then&&s.then(u,c)}})}function gt(t,n){return yt(t.map(function(t){return Object.keys(t.components).map(function(e){return n(t.components[e],t.instances[e],t,e)})}))}function yt(t){return Array.prototype.concat.apply([],t)}function _t(t){var n=!1;return function(){if(!n)return n=!0,t.apply(this,arguments)}}function mt(t){var n=window.location.pathname;return t&&0===n.indexOf(t)&&(n=n.slice(t.length)),(n||"/")+window.location.search+window.location.hash}function bt(t){var n=mt(t);if(!/^\/#/.test(n))return window.location.replace(b(t+"/#"+n)),!0}function xt(){var t=wt();return"/"===t.charAt(0)||(kt("/"+t),!1)}function wt(){var t=window.location.href,n=t.indexOf("#");return n===-1?"":t.slice(n+1)}function Mt(t){window.location.hash=t}function kt(t){var n=window.location.href.indexOf("#");window.location.replace(window.location.href.slice(0,n>=0?n:0)+"#"+t)}function At(t,n,e){var r="hash"===e?"#"+n:n;return t?b(t+"/"+r):r}var Et,Ct={name:"router-view",functional:!0,props:{name:{type:String,default:"default"}},render:function(t,n){var e=n.props,r=n.children,o=n.parent,a=n.data;a.routerView=!0;for(var u=e.name,c=o.$route,s=o._routerViewCache||(o._routerViewCache={}),f=0,l=!1;o;)o.$vnode&&o.$vnode.data.routerView&&f++,o._inactive&&(l=!0),o=o.$parent;if(a.routerViewDepth=f,l)return t(s[u],a,r);var h=c.matched[f];if(!h)return s[u]=null,t();var p=s[u]=h.components[u],d=a.hook||(a.hook={});return d.init=function(t){h.instances[u]=t.child},d.prepatch=function(t,n){h.instances[u]=n.child},d.destroy=function(t){h.instances[u]===t.child&&(h.instances[u]=void 0)},a.props=i(c,h.props&&h.props[u]),t(p,a,r)}},St=/[!'()*]/g,Tt=function(t){return"%"+t.charCodeAt(0).toString(16)},Ot=/%2C/g,Nt=function(t){return encodeURIComponent(t).replace(St,Tt).replace(Ot,",")},jt=decodeURIComponent,Pt=/\/?$/,$t=c(null,{path:"/"}),Rt=[String,Object],Lt=[String,Array],It={name:"router-link",props:{to:{type:Rt,required:!0},tag:{type:String,default:"a"},exact:Boolean,append:Boolean,replace:Boolean,activeClass:String,event:{type:Lt,default:"click"}},render:function(t){var n=this,e=this.$router,r=this.$route,i=e.resolve(this.to,r,this.append),o=i.location,a=i.route,u=i.href,s={},f=this.activeClass||e.options.linkActiveClass||"router-link-active",h=o.path?c(null,o):a;s[f]=this.exact?l(r,h):p(r,h);var d=function(t){v(t)&&(n.replace?e.replace(o):e.push(o))},y={click:v};Array.isArray(this.event)?this.event.forEach(function(t){y[t]=d}):y[this.event]=d;var _={class:s};if("a"===this.tag)_.on=y,_.attrs={href:u};else{var m=g(this.$slots.default);if(m){m.isStatic=!1;var b=Et.util.extend,x=m.data=b({},m.data);x.on=y;var w=m.data.attrs=b({},m.data.attrs);w.href=u}else _.on=y}return t(this.tag,_,this.$slots.default)}},zt="undefined"!=typeof window,Ut=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)},Dt=Ut,qt=I,Ft=k,Bt=A,Ht=S,Wt=L,Yt=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");qt.parse=Ft,qt.compile=Bt,qt.tokensToFunction=Ht,qt.tokensToRegExp=Wt;var Vt=Object.create(null),Xt=Object.create(null),Gt=Object.create(null),Jt=zt&&function(){var t=window.navigator.userAgent;return(t.indexOf("Android 2.")===-1&&t.indexOf("Android 4.0")===-1||t.indexOf("Mobile Safari")===-1||t.indexOf("Chrome")!==-1||t.indexOf("Windows Phone")!==-1)&&(window.history&&"pushState"in window.history)}(),Kt=zt&&window.performance&&window.performance.now?window.performance:Date,Zt=Q(),Qt=function(t,n){this.router=t,this.base=ot(n),this.current=$t,this.pending=null,this.ready=!1,this.readyCbs=[]};Qt.prototype.listen=function(t){this.cb=t},Qt.prototype.onReady=function(t){this.ready?t():this.readyCbs.push(t)},Qt.prototype.transitionTo=function(t,n,e){var r=this,i=this.router.match(t,this.current);this.confirmTransition(i,function(){r.updateRoute(i),n&&n(i),r.ensureURL(),r.ready||(r.ready=!0,r.readyCbs.forEach(function(t){t(i)}))},e)},Qt.prototype.confirmTransition=function(t,n,e){var r=this,i=this.current,o=function(){e&&e()};if(l(t,i)&&t.matched.length===i.matched.length)return this.ensureURL(),o();var a=at(this.current.matched,t.matched),u=a.updated,c=a.deactivated,s=a.activated,f=[].concat(st(c),this.router.beforeHooks,ft(u),s.map(function(t){return t.beforeEnter}),vt(s));this.pending=t;var h=function(n,e){return r.pending!==t?o():void n(t,i,function(t){t===!1?(r.ensureURL(!0),o()):"string"==typeof t||"object"==typeof t?("object"==typeof t&&t.replace?r.replace(t):r.push(t),o()):e(t)})};it(f,h,function(){var e=[],i=function(){return r.current===t},a=ht(s,e,i);it(a,h,function(){return r.pending!==t?o():(r.pending=null,n(t),void(r.router.app&&r.router.app.$nextTick(function(){e.forEach(function(t){return t()})})))})})},Qt.prototype.updateRoute=function(t){var n=this.current;this.current=t,this.cb&&this.cb(t),this.router.afterHooks.forEach(function(e){e&&e(t,n)})};var tn=function(t){function n(n,e){var r=this;t.call(this,n,e);var i=n.options.scrollBehavior;i&&W(),window.addEventListener("popstate",function(t){r.transitionTo(mt(r.base),function(t){i&&Y(n,t,r.current,!0)})})}return t&&(n.__proto__=t),n.prototype=Object.create(t&&t.prototype),n.prototype.constructor=n,n.prototype.go=function(t){window.history.go(t)},n.prototype.push=function(t,n,e){var r=this;this.transitionTo(t,function(t){et(b(r.base+t.fullPath)),Y(r.router,t,r.current,!1),n&&n(t)},e)},n.prototype.replace=function(t,n,e){var r=this;this.transitionTo(t,function(t){rt(b(r.base+t.fullPath)),Y(r.router,t,r.current,!1),n&&n(t)},e)},n.prototype.ensureURL=function(t){if(mt(this.base)!==this.current.fullPath){var n=b(this.base+this.current.fullPath);t?et(n):rt(n)}},n.prototype.getCurrentLocation=function(){return mt(this.base)},n}(Qt),nn=function(t){function n(n,e,r){t.call(this,n,e),r&&bt(this.base)||xt()}return t&&(n.__proto__=t),n.prototype=Object.create(t&&t.prototype),n.prototype.constructor=n,n.prototype.setupListeners=function(){var t=this;window.addEventListener("hashchange",function(){xt()&&t.transitionTo(wt(),function(t){kt(t.fullPath)})})},n.prototype.push=function(t,n,e){this.transitionTo(t,function(t){Mt(t.fullPath),n&&n(t)},e)},n.prototype.replace=function(t,n,e){this.transitionTo(t,function(t){kt(t.fullPath),n&&n(t)},e)},n.prototype.go=function(t){window.history.go(t)},n.prototype.ensureURL=function(t){var n=this.current.fullPath;wt()!==n&&(t?Mt(n):kt(n))},n.prototype.getCurrentLocation=function(){return wt()},n}(Qt),en=function(t){function n(n,e){t.call(this,n,e),this.stack=[],this.index=-1}return t&&(n.__proto__=t),n.prototype=Object.create(t&&t.prototype),n.prototype.constructor=n,n.prototype.push=function(t,n,e){var r=this;this.transitionTo(t,function(t){r.stack=r.stack.slice(0,r.index+1).concat(t),r.index++,n&&n(t)},e)},n.prototype.replace=function(t,n,e){var r=this;this.transitionTo(t,function(t){r.stack=r.stack.slice(0,r.index).concat(t),n&&n(t)},e)},n.prototype.go=function(t){var n=this,e=this.index+t;if(!(e<0||e>=this.stack.length)){var r=this.stack[e];this.confirmTransition(r,function(){n.index=e,n.updateRoute(r)})}},n.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},n.prototype.ensureURL=function(){},n}(Qt),rn=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.afterHooks=[],this.matcher=F(t.routes||[]);var n=t.mode||"hash";switch(this.fallback="history"===n&&!Jt,this.fallback&&(n="hash"),zt||(n="abstract"),this.mode=n,n){case"history":this.history=new tn(this,t.base);break;case"hash":this.history=new nn(this,t.base,this.fallback);break;case"abstract":this.history=new en(this,t.base)}},on={currentRoute:{}};rn.prototype.match=function(t,n,e){return this.matcher.match(t,n,e)},on.currentRoute.get=function(){return this.history&&this.history.current},rn.prototype.init=function(t){var n=this;if(this.apps.push(t),!this.app){this.app=t;var e=this.history;if(e instanceof tn)e.transitionTo(e.getCurrentLocation());else if(e instanceof nn){var r=function(){e.setupListeners()};e.transitionTo(e.getCurrentLocation(),r,r)}e.listen(function(t){n.apps.forEach(function(n){n._route=t})})}},rn.prototype.beforeEach=function(t){this.beforeHooks.push(t)},rn.prototype.afterEach=function(t){this.afterHooks.push(t)},rn.prototype.onReady=function(t){this.history.onReady(t)},rn.prototype.push=function(t,n,e){this.history.push(t,n,e)},rn.prototype.replace=function(t,n,e){this.history.replace(t,n,e)},rn.prototype.go=function(t){this.history.go(t)},rn.prototype.back=function(){this.go(-1)},rn.prototype.forward=function(){this.go(1)},rn.prototype.getMatchedComponents=function(t){var n=t?this.resolve(t).route:this.currentRoute;return n?[].concat.apply([],n.matched.map(function(t){return Object.keys(t.components).map(function(n){return t.components[n]})})):[]},rn.prototype.resolve=function(t,n,e){var r=D(t,n||this.history.current,e),i=this.match(r,n),o=i.redirectedFrom||i.fullPath,a=this.history.base,u=At(a,o,this.mode);return{location:r,route:i,href:u,normalizedTo:r,resolved:i}},rn.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==$t&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(rn.prototype,on),rn.install=y,rn.version="2.2.1",zt&&window.Vue&&window.Vue.use(rn),t.exports=rn},function(t,n){t.exports=function(t,n){for(var e=[],r={},i=0;i<n.length;i++){var o=n[i],a=o[0],u=o[1],c=o[2],s=o[3],f={id:t+":"+i,css:u,media:c,sourceMap:s};r[a]?r[a].parts.push(f):e.push(r[a]={id:a,parts:[f]})}return e}},function(t,n){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},,,function(t,n){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],n=0;n<this.length;n++){var e=this[n];e[2]?t.push("@media "+e[2]+"{"+e[1]+"}"):t.push(e[1])}return t.join("")},t.i=function(n,e){"string"==typeof n&&(n=[[null,n,""]]);for(var r={},i=0;i<this.length;i++){var o=this[i][0];"number"==typeof o&&(r[o]=!0)}for(i=0;i<n.length;i++){var a=n[i];"number"==typeof a[0]&&r[a[0]]||(e&&!a[2]?a[2]=e:e&&(a[2]="("+a[2]+") and ("+e+")"),t.push(a))}},t}},function(t,n,e){function r(t){for(var n=0;n<t.length;n++){var e=t[n],r=f[e.id];if(r){r.refs++;for(var i=0;i<r.parts.length;i++)r.parts[i](e.parts[i]);for(;i<e.parts.length;i++)r.parts.push(a(e.parts[i]));r.parts.length>e.parts.length&&(r.parts.length=e.parts.length)}else{for(var o=[],i=0;i<e.parts.length;i++)o.push(a(e.parts[i]));f[e.id]={id:e.id,refs:1,parts:o}}}}function i(t,n){for(var e=[],r={},i=0;i<n.length;i++){var o=n[i],a=o[0],u=o[1],c=o[2],s=o[3],f={css:u,media:c,sourceMap:s};r[a]?(f.id=t+":"+r[a].parts.length,r[a].parts.push(f)):(f.id=t+":0",e.push(r[a]={id:a,parts:[f]}))}return e}function o(){var t=document.createElement("style");return t.type="text/css",l.appendChild(t),t}function a(t){var n,e,r=document.querySelector('style[data-vue-ssr-id~="'+t.id+'"]'),i=null!=r;if(i&&d)return v;if(g){var a=p++;r=h||(h=o()),n=u.bind(null,r,a,!1),e=u.bind(null,r,a,!0)}else r=r||o(),n=c.bind(null,r),e=function(){r.parentNode.removeChild(r)};return i||n(t),function(r){if(r){if(r.css===t.css&&r.media===t.media&&r.sourceMap===t.sourceMap)return;n(t=r)}else e()}}function u(t,n,e,r){var i=e?"":r.css;if(t.styleSheet)t.styleSheet.cssText=y(n,i);else{var o=document.createTextNode(i),a=t.childNodes;a[n]&&t.removeChild(a[n]),a.length?t.insertBefore(o,a[n]):t.appendChild(o)}}function c(t,n){var e=n.css,r=n.media,i=n.sourceMap;if(r&&t.setAttribute("media",r),i&&(e+="\n/*# sourceURL="+i.sources[0]+" */",e+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}var s="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!s)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var i=e(135),f={},l=s&&(document.head||document.getElementsByTagName("head")[0]),h=null,p=0,d=!1,v=function(){},g="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());t.exports=function(t,n,e){d=e;var o=i(t,n);return r(o),function(n){for(var e=[],a=0;a<o.length;a++){var u=o[a],c=f[u.id];c.refs--,e.push(c)}n?(o=i(t,n),r(o)):o=[];for(var a=0;a<e.length;a++){var c=e[a];if(0===c.refs){for(var s=0;s<c.parts.length;s++)c.parts[s]();delete f[c.id]}}}};var y=function(){var t=[];return function(n,e){return t[n]=e,t.filter(Boolean).join("\n")}}()}]); |
|
//# sourceMappingURL=vendor.6308f619289aa2eab34e.js.map
|