ultisuite-client/out/_next/static/chunks/9838-d36caaee4c791ac0.js
R3D347HR4Y d6d18f911b
Some checks failed
E2E / Playwright e2e (push) Has been cancelled
Lots of stuff and mobile app
2026-06-17 00:13:28 +02:00

1 line
38 KiB
JavaScript

"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9838],{18827:(t,n,e)=>{e.d(n,{A:()=>a});var r={value:()=>{}};function i(){for(var t,n=0,e=arguments.length,r={};n<e;++n){if(!(t=arguments[n]+"")||t in r||/[\s.]/.test(t))throw Error("illegal type: "+t);r[t]=[]}return new o(r)}function o(t){this._=t}function u(t,n,e){for(var i=0,o=t.length;i<o;++i)if(t[i].name===n){t[i]=r,t=t.slice(0,i).concat(t.slice(i+1));break}return null!=e&&t.push({name:n,value:e}),t}o.prototype=i.prototype={constructor:o,on:function(t,n){var e,r=this._,i=(t+"").trim().split(/^|\s+/).map(function(t){var n="",e=t.indexOf(".");if(e>=0&&(n=t.slice(e+1),t=t.slice(0,e)),t&&!r.hasOwnProperty(t))throw Error("unknown type: "+t);return{type:t,name:n}}),o=-1,a=i.length;if(arguments.length<2){for(;++o<a;)if((e=(t=i[o]).type)&&(e=function(t,n){for(var e,r=0,i=t.length;r<i;++r)if((e=t[r]).name===n)return e.value}(r[e],t.name)))return e;return}if(null!=n&&"function"!=typeof n)throw Error("invalid callback: "+n);for(;++o<a;)if(e=(t=i[o]).type)r[e]=u(r[e],t.name,n);else if(null==n)for(e in r)r[e]=u(r[e],t.name,null);return this},copy:function(){var t={},n=this._;for(var e in n)t[e]=n[e].slice();return new o(t)},call:function(t,n){if((e=arguments.length-2)>0)for(var e,r,i=Array(e),o=0;o<e;++o)i[o]=arguments[o+2];if(!this._.hasOwnProperty(t))throw 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 Error("unknown type: "+t);for(var r=this._[t],i=0,o=r.length;i<o;++i)r[i].value.apply(n,e)}};let a=i},25610:(t,n,e)=>{e.d(n,{G:()=>N});var r,i,o,u=e(25662),a=e(18827),s=0,l=0,c=0,h=0,f=0,p=0,v="object"==typeof performance&&performance.now?performance:Date,_="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function m(){return f||(_(y),f=v.now()+p)}function y(){f=0}function d(){this._call=this._time=this._next=null}function g(t,n,e){var r=new d;return r.restart(t,n,e),r}function w(){f=(h=v.now())+p,s=l=0;try{m(),++s;for(var t,n=i;n;)(t=f-n._time)>=0&&n._call.call(void 0,t),n=n._next;--s}finally{s=0,function(){for(var t,n,e=i,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:i=n);o=t,x(r)}(),f=0}}function A(){var t=v.now(),n=t-h;n>1e3&&(p-=n,h=t)}function x(t){!s&&(l&&(l=clearTimeout(l)),t-f>24?(t<1/0&&(l=setTimeout(w,t-v.now()-p)),c&&(c=clearInterval(c))):(c||(h=v.now(),c=setInterval(A,1e3)),s=1,_(w)))}function b(t,n,e){var r=new d;return n=null==n?0:+n,r.restart(e=>{r.stop(),t(e+n)},n,e),r}d.prototype=g.prototype={constructor:d,restart:function(t,n,e){if("function"!=typeof t)throw TypeError("callback is not a function");e=(null==e?m():+e)+(null==n?0:+n),this._next||o===this||(o?o._next=this:i=this,o=this),this._call=t,this._time=e,x()},stop:function(){this._call&&(this._call=null,this._time=1/0,x())}};var z=(0,a.A)("start","end","cancel","interrupt"),k=[];function E(t,n,e,r,i,o){var u=t.__transition;if(u){if(e in u)return}else t.__transition={};!function(t,n,e){var r,i=t.__transition;function o(s){var l,c,h,f;if(1!==e.state)return a();for(l in i)if((f=i[l]).name===e.name){if(3===f.state)return b(o);4===f.state?(f.state=6,f.timer.stop(),f.on.call("interrupt",t,t.__data__,f.index,f.group),delete i[l]):+l<n&&(f.state=6,f.timer.stop(),f.on.call("cancel",t,t.__data__,f.index,f.group),delete i[l])}if(b(function(){3===e.state&&(e.state=4,e.timer.restart(u,e.delay,e.time),u(s))}),e.state=2,e.on.call("start",t,t.__data__,e.index,e.group),2===e.state){for(l=0,e.state=3,r=Array(h=e.tween.length),c=-1;l<h;++l)(f=e.tween[l].value.call(t,t.__data__,e.index,e.group))&&(r[++c]=f);r.length=c+1}}function u(n){for(var i=n<e.duration?e.ease.call(null,n/e.duration):(e.timer.restart(a),e.state=5,1),o=-1,u=r.length;++o<u;)r[o].call(t,i);5===e.state&&(e.on.call("end",t,t.__data__,e.index,e.group),a())}function a(){for(var r in e.state=6,e.timer.stop(),delete i[n],i)return;delete t.__transition}i[n]=e,e.timer=g(function(t){e.state=1,e.timer.restart(o,e.delay,e.time),e.delay<=t&&o(t-e.delay)},0,e.time)}(t,e,{name:n,index:r,group:i,on:z,tween:k,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:0})}function M(t,n){var e=T(t,n);if(e.state>0)throw Error("too late; already scheduled");return e}function S(t,n){var e=T(t,n);if(e.state>3)throw Error("too late; already running");return e}function T(t,n){var e=t.__transition;if(!e||!(e=e[n]))throw Error("transition not found");return e}function N(t,n){var e,r,i,o=t.__transition,u=!0;if(o){for(i in n=null==n?null:n+"",o){if((e=o[i]).name!==n){u=!1;continue}r=e.state>2&&e.state<5,e.state=6,e.timer.stop(),e.on.call(r?"interrupt":"cancel",t,t.__data__,e.index,e.group),delete o[i]}u&&delete t.__transition}}var C=e(76424),X=180/Math.PI,P={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function Y(t,n,e,r,i,o){var u,a,s;return(u=Math.sqrt(t*t+n*n))&&(t/=u,n/=u),(s=t*e+n*r)&&(e-=t*s,r-=n*s),(a=Math.sqrt(e*e+r*r))&&(e/=a,r/=a,s/=a),t*r<n*e&&(t=-t,n=-n,s=-s,u=-u),{translateX:i,translateY:o,rotate:Math.atan2(n,t)*X,skewX:Math.atan(s)*X,scaleX:u,scaleY:a}}function j(t,n,e,r){function i(t){return t.length?t.pop()+" ":""}return function(o,u){var a,s,l,c,h=[],f=[];return o=t(o),u=t(u),!function(t,r,i,o,u,a){if(t!==i||r!==o){var s=u.push("translate(",null,n,null,e);a.push({i:s-4,x:(0,C.A)(t,i)},{i:s-2,x:(0,C.A)(r,o)})}else(i||o)&&u.push("translate("+i+n+o+e)}(o.translateX,o.translateY,u.translateX,u.translateY,h,f),a=o.rotate,s=u.rotate,a!==s?(a-s>180?s+=360:s-a>180&&(a+=360),f.push({i:h.push(i(h)+"rotate(",null,r)-2,x:(0,C.A)(a,s)})):s&&h.push(i(h)+"rotate("+s+r),l=o.skewX,c=u.skewX,l!==c?f.push({i:h.push(i(h)+"skewX(",null,r)-2,x:(0,C.A)(l,c)}):c&&h.push(i(h)+"skewX("+c+r),!function(t,n,e,r,o,u){if(t!==e||n!==r){var a=o.push(i(o)+"scale(",null,",",null,")");u.push({i:a-4,x:(0,C.A)(t,e)},{i:a-2,x:(0,C.A)(n,r)})}else(1!==e||1!==r)&&o.push(i(o)+"scale("+e+","+r+")")}(o.scaleX,o.scaleY,u.scaleX,u.scaleY,h,f),o=u=null,function(t){for(var n,e=-1,r=f.length;++e<r;)h[(n=f[e]).i]=n.x(t);return h.join("")}}}var q=j(function(t){let n=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(t+"");return n.isIdentity?P:Y(n.a,n.b,n.c,n.d,n.e,n.f)},"px, ","px)","deg)"),D=j(function(t){return null==t?P:(r||(r=document.createElementNS("http://www.w3.org/2000/svg","g")),r.setAttribute("transform",t),t=r.transform.baseVal.consolidate())?Y((t=t.matrix).a,t.b,t.c,t.d,t.e,t.f):P},", ",")",")"),V=e(71383);function B(t,n,e){var r=t._id;return t.each(function(){var t=S(this,r);(t.value||(t.value={}))[n]=e.apply(this,arguments)}),function(t){return T(t,r).value[n]}}var L=e(98712),O=e(33947),I=e(54572);function R(t,n){var e;return("number"==typeof n?C.A:n instanceof L.Ay?O.Ay:(e=(0,L.Ay)(n))?(n=e,O.Ay):I.A)(t,n)}var G=e(78122),U=e(41225),H=e(92080),K=u.Ay.prototype.constructor,F=e(32984);function Q(t){return function(){this.style.removeProperty(t)}}var W=0;function $(t,n,e,r){this._groups=t,this._parents=n,this._name=e,this._id=r}var J=u.Ay.prototype;$.prototype=(function(t){return(0,u.Ay)().transition(t)}).prototype={constructor:$,select:function(t){var n=this._name,e=this._id;"function"!=typeof t&&(t=(0,U.A)(t));for(var r=this._groups,i=r.length,o=Array(i),u=0;u<i;++u)for(var a,s,l=r[u],c=l.length,h=o[u]=Array(c),f=0;f<c;++f)(a=l[f])&&(s=t.call(a,a.__data__,f,l))&&("__data__"in a&&(s.__data__=a.__data__),h[f]=s,E(h[f],n,e,f,h,T(a,e)));return new $(o,this._parents,n,e)},selectAll:function(t){var n=this._name,e=this._id;"function"!=typeof t&&(t=(0,H.A)(t));for(var r=this._groups,i=r.length,o=[],u=[],a=0;a<i;++a)for(var s,l=r[a],c=l.length,h=0;h<c;++h)if(s=l[h]){for(var f,p=t.call(s,s.__data__,h,l),v=T(s,e),_=0,m=p.length;_<m;++_)(f=p[_])&&E(f,n,e,_,p,v);o.push(p),u.push(s)}return new $(o,u,n,e)},selectChild:J.selectChild,selectChildren:J.selectChildren,filter:function(t){"function"!=typeof t&&(t=(0,G.A)(t));for(var n=this._groups,e=n.length,r=Array(e),i=0;i<e;++i)for(var o,u=n[i],a=u.length,s=r[i]=[],l=0;l<a;++l)(o=u[l])&&t.call(o,o.__data__,l,u)&&s.push(o);return new $(r,this._parents,this._name,this._id)},merge:function(t){if(t._id!==this._id)throw Error();for(var n=this._groups,e=t._groups,r=n.length,i=e.length,o=Math.min(r,i),u=Array(r),a=0;a<o;++a)for(var s,l=n[a],c=e[a],h=l.length,f=u[a]=Array(h),p=0;p<h;++p)(s=l[p]||c[p])&&(f[p]=s);for(;a<r;++a)u[a]=n[a];return new $(u,this._parents,this._name,this._id)},selection:function(){return new K(this._groups,this._parents)},transition:function(){for(var t=this._name,n=this._id,e=++W,r=this._groups,i=r.length,o=0;o<i;++o)for(var u,a=r[o],s=a.length,l=0;l<s;++l)if(u=a[l]){var c=T(u,n);E(u,t,e,l,a,{time:c.time+c.delay+c.duration,delay:0,duration:c.duration,ease:c.ease})}return new $(r,this._parents,t,e)},call:J.call,nodes:J.nodes,node:J.node,size:J.size,empty:J.empty,each:J.each,on:function(t,n){var e,r,i,o,u,a,s=this._id;return arguments.length<2?T(this.node(),s).on.on(t):this.each((e=s,r=t,i=n,a=(r+"").trim().split(/^|\s+/).every(function(t){var n=t.indexOf(".");return n>=0&&(t=t.slice(0,n)),!t||"start"===t})?M:S,function(){var t=a(this,e),n=t.on;n!==o&&(u=(o=n).copy()).on(r,i),t.on=u}))},attr:function(t,n){var e=(0,V.A)(t),r="transform"===e?D:R;return this.attrTween(t,"function"==typeof n?(e.local?function(t,n,e){var r,i,o;return function(){var u,a,s=e(this);return null==s?void this.removeAttributeNS(t.space,t.local):(u=this.getAttributeNS(t.space,t.local))===(a=s+"")?null:u===r&&a===i?o:(i=a,o=n(r=u,s))}}:function(t,n,e){var r,i,o;return function(){var u,a,s=e(this);return null==s?void this.removeAttribute(t):(u=this.getAttribute(t))===(a=s+"")?null:u===r&&a===i?o:(i=a,o=n(r=u,s))}})(e,r,B(this,"attr."+t,n)):null==n?(e.local?function(t){return function(){this.removeAttributeNS(t.space,t.local)}}:function(t){return function(){this.removeAttribute(t)}})(e):(e.local?function(t,n,e){var r,i,o=e+"";return function(){var u=this.getAttributeNS(t.space,t.local);return u===o?null:u===r?i:i=n(r=u,e)}}:function(t,n,e){var r,i,o=e+"";return function(){var u=this.getAttribute(t);return u===o?null:u===r?i:i=n(r=u,e)}})(e,r,n))},attrTween:function(t,n){var e="attr."+t;if(arguments.length<2)return(e=this.tween(e))&&e._value;if(null==n)return this.tween(e,null);if("function"!=typeof n)throw Error();var r=(0,V.A)(t);return this.tween(e,(r.local?function(t,n){var e,r;function i(){var i=n.apply(this,arguments);return i!==r&&(e=(r=i)&&function(n){this.setAttributeNS(t.space,t.local,i.call(this,n))}),e}return i._value=n,i}:function(t,n){var e,r;function i(){var i=n.apply(this,arguments);return i!==r&&(e=(r=i)&&function(n){this.setAttribute(t,i.call(this,n))}),e}return i._value=n,i})(r,n))},style:function(t,n,e){var r,i,o,u,a,s,l,c,h,f,p,v,_,m,y,d,g,w,A,x,b,z="transform"==(t+="")?q:R;return null==n?this.styleTween(t,(r=t,function(){var t=(0,F.j)(this,r),n=(this.style.removeProperty(r),(0,F.j)(this,r));return t===n?null:t===i&&n===o?u:u=z(i=t,o=n)})).on("end.style."+t,Q(t)):"function"==typeof n?this.styleTween(t,(a=t,s=B(this,"style."+t,n),function(){var t=(0,F.j)(this,a),n=s(this),e=n+"";return null==n&&(this.style.removeProperty(a),e=n=(0,F.j)(this,a)),t===e?null:t===l&&e===c?h:(c=e,h=z(l=t,n))})).each((f=this._id,g="end."+(d="style."+(p=t)),function(){var t=S(this,f),n=t.on,e=null==t.value[d]?y||(y=Q(p)):void 0;(n!==v||m!==e)&&(_=(v=n).copy()).on(g,m=e),t.on=_})):this.styleTween(t,(w=t,b=n+"",function(){var t=(0,F.j)(this,w);return t===b?null:t===A?x:x=z(A=t,n)}),e).on("end.style."+t,null)},styleTween:function(t,n,e){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==n)return this.tween(r,null);if("function"!=typeof n)throw Error();return this.tween(r,function(t,n,e){var r,i;function o(){var o=n.apply(this,arguments);return o!==i&&(r=(i=o)&&function(n){this.style.setProperty(t,o.call(this,n),e)}),r}return o._value=n,o}(t,n,null==e?"":e))},text:function(t){var n,e;return this.tween("text","function"==typeof t?(n=B(this,"text",t),function(){var t=n(this);this.textContent=null==t?"":t}):(e=null==t?"":t+"",function(){this.textContent=e}))},textTween:function(t){var n="text";if(arguments.length<1)return(n=this.tween(n))&&n._value;if(null==t)return this.tween(n,null);if("function"!=typeof t)throw Error();return this.tween(n,function(t){var n,e;function r(){var r=t.apply(this,arguments);return r!==e&&(n=(e=r)&&function(t){this.textContent=r.call(this,t)}),n}return r._value=t,r}(t))},remove:function(){var t;return this.on("end.remove",(t=this._id,function(){var n=this.parentNode;for(var e in this.__transition)if(+e!==t)return;n&&n.removeChild(this)}))},tween:function(t,n){var e=this._id;if(t+="",arguments.length<2){for(var r,i=T(this.node(),e).tween,o=0,u=i.length;o<u;++o)if((r=i[o]).name===t)return r.value;return null}return this.each((null==n?function(t,n){var e,r;return function(){var i=S(this,t),o=i.tween;if(o!==e){r=e=o;for(var u=0,a=r.length;u<a;++u)if(r[u].name===n){(r=r.slice()).splice(u,1);break}}i.tween=r}}:function(t,n,e){var r,i;if("function"!=typeof e)throw Error();return function(){var o=S(this,t),u=o.tween;if(u!==r){i=(r=u).slice();for(var a={name:n,value:e},s=0,l=i.length;s<l;++s)if(i[s].name===n){i[s]=a;break}s===l&&i.push(a)}o.tween=i}})(e,t,n))},delay:function(t){var n=this._id;return arguments.length?this.each(("function"==typeof t?function(t,n){return function(){M(this,t).delay=+n.apply(this,arguments)}}:function(t,n){return n*=1,function(){M(this,t).delay=n}})(n,t)):T(this.node(),n).delay},duration:function(t){var n=this._id;return arguments.length?this.each(("function"==typeof t?function(t,n){return function(){S(this,t).duration=+n.apply(this,arguments)}}:function(t,n){return n*=1,function(){S(this,t).duration=n}})(n,t)):T(this.node(),n).duration},ease:function(t){var n=this._id;return arguments.length?this.each(function(t,n){if("function"!=typeof n)throw Error();return function(){S(this,t).ease=n}}(n,t)):T(this.node(),n).ease},easeVarying:function(t){var n;if("function"!=typeof t)throw Error();return this.each((n=this._id,function(){var e=t.apply(this,arguments);if("function"!=typeof e)throw Error();S(this,n).ease=e}))},end:function(){var t,n,e=this,r=e._id,i=e.size();return new Promise(function(o,u){var a={value:u},s={value:function(){0==--i&&o()}};e.each(function(){var e=S(this,r),i=e.on;i!==t&&((n=(t=i).copy())._.cancel.push(a),n._.interrupt.push(a),n._.end.push(s)),e.on=n}),0===i&&o()})},[Symbol.iterator]:J[Symbol.iterator]};var Z={time:null,delay:0,duration:250,ease:function(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}};u.Ay.prototype.interrupt=function(t){return this.each(function(){N(this,t)})},u.Ay.prototype.transition=function(t){var n,e;t instanceof $?(n=t._id,t=t._name):(n=++W,(e=Z).time=m(),t=null==t?null:t+"");for(var r=this._groups,i=r.length,o=0;o<i;++o)for(var u,a=r[o],s=a.length,l=0;l<s;++l)(u=a[l])&&E(u,t,n,l,a,e||function(t,n){for(var e;!(e=t.__transition)||!(e=e[n]);)if(!(t=t.parentNode))throw Error(`transition ${n} not found`);return e}(u,n));return new $(r,this._parents,t,n)}},25662:(t,n,e)=>{e.d(n,{LN:()=>V,Ay:()=>L,zr:()=>D});var r=e(41225),i=e(92080),o=e(78122),u=Array.prototype.find;function a(){return this.firstElementChild}var s=Array.prototype.filter;function l(){return Array.from(this.children)}function c(t){return Array(t.length)}function h(t,n){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=n}function f(t,n,e,r,i,o){for(var u,a=0,s=n.length,l=o.length;a<l;++a)(u=n[a])?(u.__data__=o[a],r[a]=u):e[a]=new h(t,o[a]);for(;a<s;++a)(u=n[a])&&(i[a]=u)}function p(t,n,e,r,i,o,u){var a,s,l,c=new Map,f=n.length,p=o.length,v=Array(f);for(a=0;a<f;++a)(s=n[a])&&(v[a]=l=u.call(s,s.__data__,a,n)+"",c.has(l)?i[a]=s:c.set(l,s));for(a=0;a<p;++a)l=u.call(t,o[a],a,o)+"",(s=c.get(l))?(r[a]=s,s.__data__=o[a],c.delete(l)):e[a]=new h(t,o[a]);for(a=0;a<f;++a)(s=n[a])&&c.get(v[a])===s&&(i[a]=s)}function v(t){return t.__data__}function _(t,n){return t<n?-1:t>n?1:t>=n?0:NaN}h.prototype={constructor:h,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 m=e(71383),y=e(32984);function d(t){return t.trim().split(/^|\s+/)}function g(t){return t.classList||new w(t)}function w(t){this._node=t,this._names=d(t.getAttribute("class")||"")}function A(t,n){for(var e=g(t),r=-1,i=n.length;++r<i;)e.add(n[r])}function x(t,n){for(var e=g(t),r=-1,i=n.length;++r<i;)e.remove(n[r])}function b(){this.textContent=""}function z(){this.innerHTML=""}function k(){this.nextSibling&&this.parentNode.appendChild(this)}function E(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}w.prototype={add:function(t){0>this._names.indexOf(t)&&(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 M=e(88788);function S(t){var n=(0,m.A)(t);return(n.local?function(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}:function(t){return function(){var n=this.ownerDocument,e=this.namespaceURI;return e===M.g&&n.documentElement.namespaceURI===M.g?n.createElement(t):n.createElementNS(e,t)}})(n)}function T(){return null}function N(){var t=this.parentNode;t&&t.removeChild(this)}function C(){var t=this.cloneNode(!1),n=this.parentNode;return n?n.insertBefore(t,this.nextSibling):t}function X(){var t=this.cloneNode(!0),n=this.parentNode;return n?n.insertBefore(t,this.nextSibling):t}function P(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.options);++i?n.length=i:delete this.__on}}}function Y(t,n,e){return function(){var r,i=this.__on,o=function(t){n.call(this,t,this.__data__)};if(i){for(var u=0,a=i.length;u<a;++u)if((r=i[u]).type===t.type&&r.name===t.name){this.removeEventListener(r.type,r.listener,r.options),this.addEventListener(r.type,r.listener=o,r.options=e),r.value=n;return}}this.addEventListener(t.type,o,e),r={type:t.type,name:t.name,value:n,listener:o,options:e},i?i.push(r):this.__on=[r]}}var j=e(65036);function q(t,n,e){var r=(0,j.A)(t),i=r.CustomEvent;"function"==typeof i?i=new i(n,e):(i=r.document.createEvent("Event"),e?(i.initEvent(n,e.bubbles,e.cancelable),i.detail=e.detail):i.initEvent(n,!1,!1)),t.dispatchEvent(i)}var D=[null];function V(t,n){this._groups=t,this._parents=n}function B(){return new V([[document.documentElement]],D)}V.prototype=B.prototype={constructor:V,select:function(t){"function"!=typeof t&&(t=(0,r.A)(t));for(var n=this._groups,e=n.length,i=Array(e),o=0;o<e;++o)for(var u,a,s=n[o],l=s.length,c=i[o]=Array(l),h=0;h<l;++h)(u=s[h])&&(a=t.call(u,u.__data__,h,s))&&("__data__"in u&&(a.__data__=u.__data__),c[h]=a);return new V(i,this._parents)},selectAll:function(t){if("function"==typeof t){var n;n=t,t=function(){var t;return t=n.apply(this,arguments),null==t?[]:Array.isArray(t)?t:Array.from(t)}}else t=(0,i.A)(t);for(var e=this._groups,r=e.length,o=[],u=[],a=0;a<r;++a)for(var s,l=e[a],c=l.length,h=0;h<c;++h)(s=l[h])&&(o.push(t.call(s,s.__data__,h,l)),u.push(s));return new V(o,u)},selectChild:function(t){var n;return this.select(null==t?a:(n="function"==typeof t?t:(0,o.j)(t),function(){return u.call(this.children,n)}))},selectChildren:function(t){var n;return this.selectAll(null==t?l:(n="function"==typeof t?t:(0,o.j)(t),function(){return s.call(this.children,n)}))},filter:function(t){"function"!=typeof t&&(t=(0,o.A)(t));for(var n=this._groups,e=n.length,r=Array(e),i=0;i<e;++i)for(var u,a=n[i],s=a.length,l=r[i]=[],c=0;c<s;++c)(u=a[c])&&t.call(u,u.__data__,c,a)&&l.push(u);return new V(r,this._parents)},data:function(t,n){if(!arguments.length)return Array.from(this,v);var e=n?p:f,r=this._parents,i=this._groups;"function"!=typeof t&&(A=t,t=function(){return A});for(var o=i.length,u=Array(o),a=Array(o),s=Array(o),l=0;l<o;++l){var c=r[l],h=i[l],_=h.length,m="object"==typeof(w=t.call(c,c&&c.__data__,l,r))&&"length"in w?w:Array.from(w),y=m.length,d=a[l]=Array(y),g=u[l]=Array(y);e(c,h,d,g,s[l]=Array(_),m,n);for(var w,A,x,b,z=0,k=0;z<y;++z)if(x=d[z]){for(z>=k&&(k=z+1);!(b=g[k])&&++k<y;);x._next=b||null}}return(u=new V(u,r))._enter=a,u._exit=s,u},enter:function(){return new V(this._enter||this._groups.map(c),this._parents)},exit:function(){return new V(this._exit||this._groups.map(c),this._parents)},join:function(t,n,e){var r=this.enter(),i=this,o=this.exit();return"function"==typeof t?(r=t(r))&&(r=r.selection()):r=r.append(t+""),null!=n&&(i=n(i))&&(i=i.selection()),null==e?o.remove():e(o),r&&i?r.merge(i).order():i},merge:function(t){for(var n=t.selection?t.selection():t,e=this._groups,r=n._groups,i=e.length,o=r.length,u=Math.min(i,o),a=Array(i),s=0;s<u;++s)for(var l,c=e[s],h=r[s],f=c.length,p=a[s]=Array(f),v=0;v<f;++v)(l=c[v]||h[v])&&(p[v]=l);for(;s<i;++s)a[s]=e[s];return new V(a,this._parents)},selection:function(){return this},order:function(){for(var t=this._groups,n=-1,e=t.length;++n<e;)for(var r,i=t[n],o=i.length-1,u=i[o];--o>=0;)(r=i[o])&&(u&&4^r.compareDocumentPosition(u)&&u.parentNode.insertBefore(r,u),u=r);return this},sort:function(t){function n(n,e){return n&&e?t(n.__data__,e.__data__):!n-!e}t||(t=_);for(var e=this._groups,r=e.length,i=Array(r),o=0;o<r;++o){for(var u,a=e[o],s=a.length,l=i[o]=Array(s),c=0;c<s;++c)(u=a[c])&&(l[c]=u);l.sort(n)}return new V(i,this._parents).order()},call:function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},nodes:function(){return Array.from(this)},node:function(){for(var t=this._groups,n=0,e=t.length;n<e;++n)for(var r=t[n],i=0,o=r.length;i<o;++i){var u=r[i];if(u)return u}return null},size:function(){let t=0;for(let n of this)++t;return t},empty:function(){return!this.node()},each:function(t){for(var n=this._groups,e=0,r=n.length;e<r;++e)for(var i,o=n[e],u=0,a=o.length;u<a;++u)(i=o[u])&&t.call(i,i.__data__,u,o);return this},attr:function(t,n){var e=(0,m.A)(t);if(arguments.length<2){var r=this.node();return e.local?r.getAttributeNS(e.space,e.local):r.getAttribute(e)}return this.each((null==n?e.local?function(t){return function(){this.removeAttributeNS(t.space,t.local)}}:function(t){return function(){this.removeAttribute(t)}}:"function"==typeof n?e.local?function(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(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttribute(t):this.setAttribute(t,e)}}:e.local?function(t,n){return function(){this.setAttributeNS(t.space,t.local,n)}}:function(t,n){return function(){this.setAttribute(t,n)}})(e,n))},style:y.A,property:function(t,n){return arguments.length>1?this.each((null==n?function(t){return function(){delete this[t]}}:"function"==typeof n?function(t,n){return function(){var e=n.apply(this,arguments);null==e?delete this[t]:this[t]=e}}:function(t,n){return function(){this[t]=n}})(t,n)):this.node()[t]},classed:function(t,n){var e=d(t+"");if(arguments.length<2){for(var r=g(this.node()),i=-1,o=e.length;++i<o;)if(!r.contains(e[i]))return!1;return!0}return this.each(("function"==typeof n?function(t,n){return function(){(n.apply(this,arguments)?A:x)(this,t)}}:n?function(t){return function(){A(this,t)}}:function(t){return function(){x(this,t)}})(e,n))},text:function(t){return arguments.length?this.each(null==t?b:("function"==typeof t?function(t){return function(){var n=t.apply(this,arguments);this.textContent=null==n?"":n}}:function(t){return function(){this.textContent=t}})(t)):this.node().textContent},html:function(t){return arguments.length?this.each(null==t?z:("function"==typeof t?function(t){return function(){var n=t.apply(this,arguments);this.innerHTML=null==n?"":n}}:function(t){return function(){this.innerHTML=t}})(t)):this.node().innerHTML},raise:function(){return this.each(k)},lower:function(){return this.each(E)},append:function(t){var n="function"==typeof t?t:S(t);return this.select(function(){return this.appendChild(n.apply(this,arguments))})},insert:function(t,n){var e="function"==typeof t?t:S(t),i=null==n?T:"function"==typeof n?n:(0,r.A)(n);return this.select(function(){return this.insertBefore(e.apply(this,arguments),i.apply(this,arguments)||null)})},remove:function(){return this.each(N)},clone:function(t){return this.select(t?X:C)},datum:function(t){return arguments.length?this.property("__data__",t):this.node().__data__},on:function(t,n,e){var r,i,o=(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}}),u=o.length;if(arguments.length<2){var a=this.node().__on;if(a){for(var s,l=0,c=a.length;l<c;++l)for(r=0,s=a[l];r<u;++r)if((i=o[r]).type===s.type&&i.name===s.name)return s.value}return}for(r=0,a=n?Y:P;r<u;++r)this.each(a(o[r],n,e));return this},dispatch:function(t,n){return this.each(("function"==typeof n?function(t,n){return function(){return q(this,t,n.apply(this,arguments))}}:function(t,n){return function(){return q(this,t,n)}})(t,n))},[Symbol.iterator]:function*(){for(var t=this._groups,n=0,e=t.length;n<e;++n)for(var r,i=t[n],o=0,u=i.length;o<u;++o)(r=i[o])&&(yield r)}};let L=B},32984:(t,n,e)=>{e.d(n,{A:()=>i,j:()=>o});var r=e(65036);function i(t,n,e){return arguments.length>1?this.each((null==n?function(t){return function(){this.style.removeProperty(t)}}:"function"==typeof n?function(t,n,e){return function(){var r=n.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,e)}}:function(t,n,e){return function(){this.style.setProperty(t,n,e)}})(t,n,null==e?"":e)):o(this.node(),t)}function o(t,n){return t.style.getPropertyValue(n)||(0,r.A)(t).getComputedStyle(t,null).getPropertyValue(n)}},33619:(t,n,e)=>{e.d(n,{A:()=>r});function r(t,n){if(t=function(t){let n;for(;n=t.sourceEvent;)t=n;return t}(t),void 0===n&&(n=t.currentTarget),n){var e=n.ownerSVGElement||n;if(e.createSVGPoint){var r=e.createSVGPoint();return r.x=t.clientX,r.y=t.clientY,[(r=r.matrixTransform(n.getScreenCTM().inverse())).x,r.y]}if(n.getBoundingClientRect){var i=n.getBoundingClientRect();return[t.clientX-i.left-n.clientLeft,t.clientY-i.top-n.clientTop]}}return[t.pageX,t.pageY]}},34456:(t,n,e)=>{e.d(n,{A:()=>i});var r=e(25662);function i(t){return"string"==typeof t?new r.LN([[document.querySelector(t)]],[document.documentElement]):new r.LN([[t]],r.zr)}},41225:(t,n,e)=>{function r(){}function i(t){return null==t?r:function(){return this.querySelector(t)}}e.d(n,{A:()=>i})},62767:(t,n,e)=>{e.d(n,{A:()=>o,y:()=>u});var r=e(34456),i=e(99167);function o(t){var n=t.document.documentElement,e=(0,r.A)(t).on("dragstart.drag",i.Ay,i.Rw);"onselectstart"in n?e.on("selectstart.drag",i.Ay,i.Rw):(n.__noselect=n.style.MozUserSelect,n.style.MozUserSelect="none")}function u(t,n){var e=t.document.documentElement,o=(0,r.A)(t).on("dragstart.drag",null);n&&(o.on("click.drag",i.Ay,i.Rw),setTimeout(function(){o.on("click.drag",null)},0)),"onselectstart"in e?o.on("selectstart.drag",null):(e.style.MozUserSelect=e.__noselect,delete e.__noselect)}},65036:(t,n,e)=>{e.d(n,{A:()=>r});function r(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}},67758:(t,n,e)=>{function r(t){return((t=Math.exp(t))+1/t)/2}e.d(n,{A:()=>i});let i=function t(n,e,i){function o(t,o){var u,a,s=t[0],l=t[1],c=t[2],h=o[0],f=o[1],p=o[2],v=h-s,_=f-l,m=v*v+_*_;if(m<1e-12)a=Math.log(p/c)/n,u=function(t){return[s+t*v,l+t*_,c*Math.exp(n*t*a)]};else{var y=Math.sqrt(m),d=(p*p-c*c+i*m)/(2*c*e*y),g=(p*p-c*c-i*m)/(2*p*e*y),w=Math.log(Math.sqrt(d*d+1)-d);a=(Math.log(Math.sqrt(g*g+1)-g)-w)/n,u=function(t){var i,o,u=t*a,h=r(w),f=c/(e*y)*(h*(((i=Math.exp(2*(i=n*u+w)))-1)/(i+1))-((o=Math.exp(o=w))-1/o)/2);return[s+f*v,l+f*_,c*h/r(n*u+w)]}}return u.duration=1e3*a*n/Math.SQRT2,u}return o.rho=function(n){var e=Math.max(.001,+n),r=e*e;return t(e,r,r*r)},o}(Math.SQRT2,2,4)},71383:(t,n,e)=>{e.d(n,{A:()=>i});var r=e(88788);function i(t){var n=t+="",e=n.indexOf(":");return e>=0&&"xmlns"!==(n=t.slice(0,e))&&(t=t.slice(e+1)),r.A.hasOwnProperty(n)?{space:r.A[n],local:t}:t}},78122:(t,n,e)=>{function r(t){return function(){return this.matches(t)}}function i(t){return function(n){return n.matches(t)}}e.d(n,{A:()=>r,j:()=>i})},88788:(t,n,e)=>{e.d(n,{A:()=>i,g:()=>r});var r="http://www.w3.org/1999/xhtml";let i={svg:"http://www.w3.org/2000/svg",xhtml:r,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"}},92080:(t,n,e)=>{function r(){return[]}function i(t){return null==t?r:function(){return this.querySelectorAll(t)}}e.d(n,{A:()=>i})},99167:(t,n,e)=>{e.d(n,{Ay:()=>u,GK:()=>o,Rw:()=>i,vr:()=>r});let r={passive:!1},i={capture:!0,passive:!1};function o(t){t.stopImmediatePropagation()}function u(t){t.preventDefault(),t.stopImmediatePropagation()}},99838:(t,n,e)=>{e.d(n,{s_:()=>x,GS:()=>f,_V:()=>p});var r=e(18827),i=e(62767),o=e(67758),u=e(34456),a=e(33619),s=e(25610);let l=t=>()=>t;function c(t,{sourceEvent:n,target:e,transform:r,dispatch:i}){Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:n,enumerable:!0,configurable:!0},target:{value:e,enumerable:!0,configurable:!0},transform:{value:r,enumerable:!0,configurable:!0},_:{value:i}})}function h(t,n,e){this.k=t,this.x=n,this.y=e}h.prototype={constructor:h,scale:function(t){return 1===t?this:new h(this.k*t,this.x,this.y)},translate:function(t,n){return 0===t&0===n?this:new h(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 f=new h(1,0,0);function p(t){for(;!t.__zoom;)if(!(t=t.parentNode))return f;return t.__zoom}function v(t){t.stopImmediatePropagation()}function _(t){t.preventDefault(),t.stopImmediatePropagation()}function m(t){return(!t.ctrlKey||"wheel"===t.type)&&!t.button}function y(){var t=this;return t instanceof SVGElement?(t=t.ownerSVGElement||t).hasAttribute("viewBox")?[[(t=t.viewBox.baseVal).x,t.y],[t.x+t.width,t.y+t.height]]:[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]:[[0,0],[t.clientWidth,t.clientHeight]]}function d(){return this.__zoom||f}function g(t){return-t.deltaY*(1===t.deltaMode?.05:t.deltaMode?1:.002)*(t.ctrlKey?10:1)}function w(){return navigator.maxTouchPoints||"ontouchstart"in this}function A(t,n,e){var r=t.invertX(n[0][0])-e[0][0],i=t.invertX(n[1][0])-e[1][0],o=t.invertY(n[0][1])-e[0][1],u=t.invertY(n[1][1])-e[1][1];return t.translate(i>r?(r+i)/2:Math.min(0,r)||Math.max(0,i),u>o?(o+u)/2:Math.min(0,o)||Math.max(0,u))}function x(){var t,n,e,p=m,x=y,b=A,z=g,k=w,E=[0,1/0],M=[[-1/0,-1/0],[1/0,1/0]],S=250,T=o.A,N=(0,r.A)("start","zoom","end"),C=0,X=10;function P(t){t.property("__zoom",d).on("wheel.zoom",L,{passive:!1}).on("mousedown.zoom",O).on("dblclick.zoom",I).filter(k).on("touchstart.zoom",R).on("touchmove.zoom",G).on("touchend.zoom touchcancel.zoom",U).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function Y(t,n){return(n=Math.max(E[0],Math.min(E[1],n)))===t.k?t:new h(n,t.x,t.y)}function j(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 h(t.k,r,i)}function q(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function D(t,n,e,r){t.on("start.zoom",function(){V(this,arguments).event(r).start()}).on("interrupt.zoom end.zoom",function(){V(this,arguments).event(r).end()}).tween("zoom",function(){var t=arguments,i=V(this,t).event(r),o=x.apply(this,t),u=null==e?q(o):"function"==typeof e?e.apply(this,t):e,a=Math.max(o[1][0]-o[0][0],o[1][1]-o[0][1]),s=this.__zoom,l="function"==typeof n?n.apply(this,t):n,c=T(s.invert(u).concat(a/s.k),l.invert(u).concat(a/l.k));return function(t){if(1===t)t=l;else{var n=c(t),e=a/n[2];t=new h(e,u[0]-n[0]*e,u[1]-n[1]*e)}i.zoom(null,t)}})}function V(t,n,e){return!e&&t.__zooming||new B(t,n)}function B(t,n){this.that=t,this.args=n,this.active=0,this.sourceEvent=null,this.extent=x.apply(t,n),this.taps=0}function L(t,...n){if(p.apply(this,arguments)){var e=V(this,n).event(t),r=this.__zoom,i=Math.max(E[0],Math.min(E[1],r.k*Math.pow(2,z.apply(this,arguments)))),o=(0,a.A)(t);if(e.wheel)(e.mouse[0][0]!==o[0]||e.mouse[0][1]!==o[1])&&(e.mouse[1]=r.invert(e.mouse[0]=o)),clearTimeout(e.wheel);else{if(r.k===i)return;e.mouse=[o,r.invert(o)],(0,s.G)(this),e.start()}_(t),e.wheel=setTimeout(function(){e.wheel=null,e.end()},150),e.zoom("mouse",b(j(Y(r,i),e.mouse[0],e.mouse[1]),e.extent,M))}}function O(t,...n){if(!e&&p.apply(this,arguments)){var r=t.currentTarget,o=V(this,n,!0).event(t),l=(0,u.A)(t.view).on("mousemove.zoom",function(t){if(_(t),!o.moved){var n=t.clientX-h,e=t.clientY-f;o.moved=n*n+e*e>C}o.event(t).zoom("mouse",b(j(o.that.__zoom,o.mouse[0]=(0,a.A)(t,r),o.mouse[1]),o.extent,M))},!0).on("mouseup.zoom",function(t){l.on("mousemove.zoom mouseup.zoom",null),(0,i.y)(t.view,o.moved),_(t),o.event(t).end()},!0),c=(0,a.A)(t,r),h=t.clientX,f=t.clientY;(0,i.A)(t.view),v(t),o.mouse=[c,this.__zoom.invert(c)],(0,s.G)(this),o.start()}}function I(t,...n){if(p.apply(this,arguments)){var e=this.__zoom,r=(0,a.A)(t.changedTouches?t.changedTouches[0]:t,this),i=e.invert(r),o=e.k*(t.shiftKey?.5:2),s=b(j(Y(e,o),r,i),x.apply(this,n),M);_(t),S>0?(0,u.A)(this).transition().duration(S).call(D,s,r,t):(0,u.A)(this).call(P.transform,s,r,t)}}function R(e,...r){if(p.apply(this,arguments)){var i,o,u,l,c=e.touches,h=c.length,f=V(this,r,e.changedTouches.length===h).event(e);for(v(e),o=0;o<h;++o)u=c[o],l=[l=(0,a.A)(u,this),this.__zoom.invert(l),u.identifier],f.touch0?f.touch1||f.touch0[2]===l[2]||(f.touch1=l,f.taps=0):(f.touch0=l,i=!0,f.taps=1+!!t);t&&(t=clearTimeout(t)),i&&(f.taps<2&&(n=l[0],t=setTimeout(function(){t=null},500)),(0,s.G)(this),f.start())}}function G(t,...n){if(this.__zooming){var e,r,i,o,u=V(this,n).event(t),s=t.changedTouches,l=s.length;for(_(t),e=0;e<l;++e)r=s[e],i=(0,a.A)(r,this),u.touch0&&u.touch0[2]===r.identifier?u.touch0[0]=i:u.touch1&&u.touch1[2]===r.identifier&&(u.touch1[0]=i);if(r=u.that.__zoom,u.touch1){var c=u.touch0[0],h=u.touch0[1],f=u.touch1[0],p=u.touch1[1],v=(v=f[0]-c[0])*v+(v=f[1]-c[1])*v,m=(m=p[0]-h[0])*m+(m=p[1]-h[1])*m;r=Y(r,Math.sqrt(v/m)),i=[(c[0]+f[0])/2,(c[1]+f[1])/2],o=[(h[0]+p[0])/2,(h[1]+p[1])/2]}else{if(!u.touch0)return;i=u.touch0[0],o=u.touch0[1]}u.zoom("touch",b(j(r,i,o),u.extent,M))}}function U(t,...r){if(this.__zooming){var i,o,s=V(this,r).event(t),l=t.changedTouches,c=l.length;for(v(t),e&&clearTimeout(e),e=setTimeout(function(){e=null},500),i=0;i<c;++i)o=l[i],s.touch0&&s.touch0[2]===o.identifier?delete s.touch0:s.touch1&&s.touch1[2]===o.identifier&&delete s.touch1;if(s.touch1&&!s.touch0&&(s.touch0=s.touch1,delete s.touch1),s.touch0)s.touch0[1]=this.__zoom.invert(s.touch0[0]);else if(s.end(),2===s.taps&&(o=(0,a.A)(o,this),Math.hypot(n[0]-o[0],n[1]-o[1])<X)){var h=(0,u.A)(this).on("dblclick.zoom");h&&h.apply(this,arguments)}}}return P.transform=function(t,n,e,r){var i=t.selection?t.selection():t;i.property("__zoom",d),t!==i?D(t,n,e,r):i.interrupt().each(function(){V(this,arguments).event(r).start().zoom(null,"function"==typeof n?n.apply(this,arguments):n).end()})},P.scaleBy=function(t,n,e,r){P.scaleTo(t,function(){var t=this.__zoom.k,e="function"==typeof n?n.apply(this,arguments):n;return t*e},e,r)},P.scaleTo=function(t,n,e,r){P.transform(t,function(){var t=x.apply(this,arguments),r=this.__zoom,i=null==e?q(t):"function"==typeof e?e.apply(this,arguments):e,o=r.invert(i),u="function"==typeof n?n.apply(this,arguments):n;return b(j(Y(r,u),i,o),t,M)},e,r)},P.translateBy=function(t,n,e,r){P.transform(t,function(){return b(this.__zoom.translate("function"==typeof n?n.apply(this,arguments):n,"function"==typeof e?e.apply(this,arguments):e),x.apply(this,arguments),M)},null,r)},P.translateTo=function(t,n,e,r,i){P.transform(t,function(){var t=x.apply(this,arguments),i=this.__zoom,o=null==r?q(t):"function"==typeof r?r.apply(this,arguments):r;return b(f.translate(o[0],o[1]).scale(i.k).translate("function"==typeof n?-n.apply(this,arguments):-n,"function"==typeof e?-e.apply(this,arguments):-e),t,M)},r,i)},B.prototype={event:function(t){return t&&(this.sourceEvent=t),this},start:function(){return 1==++this.active&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(t,n){return this.mouse&&"mouse"!==t&&(this.mouse[1]=n.invert(this.mouse[0])),this.touch0&&"touch"!==t&&(this.touch0[1]=n.invert(this.touch0[0])),this.touch1&&"touch"!==t&&(this.touch1[1]=n.invert(this.touch1[0])),this.that.__zoom=n,this.emit("zoom"),this},end:function(){return 0==--this.active&&(delete this.that.__zooming,this.emit("end")),this},emit:function(t){var n=(0,u.A)(this.that).datum();N.call(t,this.that,new c(t,{sourceEvent:this.sourceEvent,target:P,type:t,transform:this.that.__zoom,dispatch:N}),n)}},P.wheelDelta=function(t){return arguments.length?(z="function"==typeof t?t:l(+t),P):z},P.filter=function(t){return arguments.length?(p="function"==typeof t?t:l(!!t),P):p},P.touchable=function(t){return arguments.length?(k="function"==typeof t?t:l(!!t),P):k},P.extent=function(t){return arguments.length?(x="function"==typeof t?t:l([[+t[0][0],+t[0][1]],[+t[1][0],+t[1][1]]]),P):x},P.scaleExtent=function(t){return arguments.length?(E[0]=+t[0],E[1]=+t[1],P):[E[0],E[1]]},P.translateExtent=function(t){return arguments.length?(M[0][0]=+t[0][0],M[1][0]=+t[1][0],M[0][1]=+t[0][1],M[1][1]=+t[1][1],P):[[M[0][0],M[0][1]],[M[1][0],M[1][1]]]},P.constrain=function(t){return arguments.length?(b=t,P):b},P.duration=function(t){return arguments.length?(S=+t,P):S},P.interpolate=function(t){return arguments.length?(T=t,P):T},P.on=function(){var t=N.on.apply(N,arguments);return t===N?P:t},P.clickDistance=function(t){return arguments.length?(C=(t*=1)*t,P):Math.sqrt(C)},P.tapDistance=function(t){return arguments.length?(X=+t,P):X},P}p.prototype=h.prototype}}]);