PageSourceSearch

https://aguasan.ch/chunk-EL5SV3JE.js

js aguasan.ch collected 2026-09-29 16:47:55 UTC 19,956 bytes, 1 lines download raw bytes

vendor: 8,956 bytes, line 1
1import{a as $,b as ut,c as at,e as ft,f as tt}from"./chunk-2GU5336X.js";import{j as H,k as F,u as st}from"./chunk-KAYYNT2L.js";function ht(t){let e=+this._x.call(null,t),n=+this._y.call(null,t);return lt(this.cover(e,n),e,n,t)}function lt(t,e,n,s){if(isNaN(e)||isNaN(n))return t;var a,u=t._root,l={data:s},o=t._x0,p=t._y0,g=t._x1,d=t._y1,M,w,m,z,c,f,r,y;if(!u)return t._root=l,t;for(;u.length;)if((c=e>=(M=(o+g)/2))?o=M:g=M,(f=n>=(w=(p+d)/2))?p=w:d=w,a=u,!(u=u[r=f<<1|c]))return a[r]=l,t;if(m=+t._x.call(null,u.data),z=+t._y.call(null,u.data),e===m&&n===z)return l.next=u,a?a[r]=l:t._root=l,t;do a=a?a[r]=new Array(4):t._root=new Array(4),(c=e>=(M=(o+g)/2))?o=M:g=M,(f=n>=(w=(p+d)/2))?p=w:d=w;while((r=f<<1|c)===(y=(z>=w)<<1|m>=M));return a[y]=u,a[r]=l,t}function ct(t){var e,n,s=t.length,a,u,l=new Array(s),o=new Array(s),p=1/0,g=1/0,d=-1/0,M=-1/0;for(n=0;n<s;++n)isNaN(a=+this._x.call(null,e=t[n]))||isNaN(u=+this._y.call(null,e))||(l[n]=a,o[n]=u,a<p&&(p=a),a>d&&(d=a),u<g&&(g=u),u>M&&(M=u));if(p>d||g>M)return this;for(this.cover(p,g).cover(d,M),n=0;n<s;++n)lt(this,l[n],o[n],t[n]);return this}function mt(t,e){if(isNaN(t=+t)||isNaN(e=+e))return this;var n=this._x0,s=this._y0,a=this._x1,u=this._y1;if(isNaN(n))a=(n=Math.floor(t))+1,u=(s=Math.floor(e))+1;else{for(var l=a-n||1,o=this._root,p,g;n>t||t>=a||s>e||e>=u;)switch(g=(e<s)<<1|t<n,p=new Array(4),p[g]=o,o=p,l*=2,g){case 0:a=n+l,u=s+l;break;case 1:n=a-l,u=s+l;break;case 2:a=n+l,s=u-l;break;case 3:n=a-l,s=u-l;break}this._root&&this._root.length&&(this._root=o)}return this._x0=n,this._y0=s,this._x1=a,this._y1=u,this}function pt(){var t=[];return this.visit(function(e){if(!e.length)do t.push(e.data);while(e=e.next)}),t}function gt(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]]}function Y(t,e,n,s,a){this.node=t,this.x0=e,this.y0=n,this.x1=s,this.y1=a}function yt(t,e,n){var s,a=this._x0,u=this._y0,l,o,p,g,d=this._x1,M=this._y1,w=[],m=this._root,z,c;for(m&&w.push(new Y(m,a,u,d,M)),n==null?n=1/0:(a=t-n,u=e-n,d=t+n,M=e+n,n*=n);z=w.pop();)if(!(!(m=z.node)||(l=z.x0)>d||(o=z.y0)>M||(p=z.x1)<a||(g=z.y1)<u))if(m.length){var f=(l+p)/2,r=(o+g)/2;w.push(new Y(m[3],f,r,p,g),new Y(m[2],l,r,f,g),new Y(m[1],f,o,p,r),new Y(m[0],l,o,f,r)),(c=(e>=r)<<1|t>=f)&&(z=w[w.length-1],w[w.length-1]=w[w.length-1-c],w[w.length-1-c]=z)}else{var y=t-+this._x.call(null,m.data),b=e-+this._y.call(null,m.data),v=y*y+b*b;if(v<n){var E=Math.sqrt(n=v);a=t-E,u=e-E,d=t+E,M=e+E,s=m.data}}return s}function xt(t){if(isNaN(d=+this._x.call(null,t))||isNaN(M=+this._y.call(null,t)))return this;var e,n=this._root,s,a,u,l=this._x0,o=this._y0,p=this._x1,g=this._y1,d,M,w,m,z,c,f,r;if(!n)return this;if(n.length)for(;;){if((z=d>=(w=(l+p)/2))?l=w:p=w,(c=M>=(m=(o+g)/2))?o=m:g=m,e=n,!(n=n[f=c<<1|z]))return this;if(!n.length)break;(e[f+1&3]||e[f+2&3]||e[f+3&3])&&(s=e,r=f)}for(;n.data!==t;)if(a=n,!(n=n.next))return this;return(u=n.next)&&delete n.next,a?(u?a.next=u:delete a.next,this):e?(u?e[f]=u:delete e[f],(n=e[0]||e[1]||e[2]||e[3])&&n===(e[3]||e[2]||e[1]||e[0])&&!n.length&&(s?s[r]=n:this._root=n),this):(this._root=u,this)}function vt(t){for(var e=0,n=t.length;e<n;++e)this.remove(t[e]);return this}function dt(){return this._root}function _t(){var t=0;return this.visit(function(e){if(!e.length)do++t;while(e=e.next)}),t}function wt(t){var e=[],n,s=this._root,a,u,l,o,p;for(s&&e.push(new Y(s,this._x0,this._y0,this._x1,this._y1));n=e.pop();)if(!t(s=n.node,u=n.x0,l=n.y0,o=n.x1,p=n.y1)&&s.length){var g=(u+o)/2,d=(l+p)/2;(a=s[3])&&e.push(new Y(a,g,d,o,p)),(a=s[2])&&e.push(new Y(a,u,d,g,p)),(a=s[1])&&e.push(new Y(a,g,l,o,d)),(a=s[0])&&e.push(new Y(a,u,l,g,d))}return this}function zt(t){var e=[],n=[],s;for(this._root&&e.push(new Y(this._root,this._x0,this._y0,this._x1,this._y1));s=e.pop();){var a=s.node;if(a.length){var u,l=s.x0,o=s.y0,p=s.x1,g=s.y1,d=(l+p)/2,M=(o+g)/2;(u=a[0])&&e.push(new Y(u,l,o,d,M)),(u=a[1])&&e.push(new Y(u,d,o,p,M)),(u=a[2])&&e.push(new Y(u,l,M,d,g)),(u=a[3])&&e.push(new Y(u,d,M,p,g))}n.push(s)}for(;s=n.pop();)t(s.node,s.x0,s.y0,s.x1,s.y1);return this}function Nt(t){return t[0]}function Mt(t){return arguments.length?(this._x=t,this):this._x}function bt(t){return t[1]}function At(t){return arguments.length?(this._y=t,this):this._y}function O(t,e,n){var s=new it(e==null?Nt:e,n==null?bt:n,NaN,NaN,NaN,NaN);return t==null?s:s.addAll(t)}function it(t,e,n,s,a,u){this._x=t,this._y=e,this._x0=n,this._y0=s,this._x1=a,this._y1=u,this._root=void 0}function Tt(t){for(var e={data:t.data},n=e;t=t.next;)n=n.next={data:t.data};return e}var S=O.prototype=it.prototype;S.copy=function(){var t=new it(this._x,this._y,this._x0,this._y0,this._x1,this._y1),e=this._root,n,s;if(!e)return t;if(!e.length)return t._root=Tt(e),t;for(n=[{source:e,target:t._root=new Array(4)}];e=n.pop();)for(var a=0;a<4;++a)(s=e.source[a])&&(s.length?n.push({source:s,target:e.target[a]=new Array(4)}):e.target[a]=Tt(s));return t};S.add=ht;S.addAll=ct;S.cover=mt;S.data=pt;S.extent=gt;S.find=yt;S.remove=xt;S.removeAll=vt;S.root=dt;S.size=_t;S.visit=wt;S.visitAfter=zt;S.x=Mt;S.y=At;function j(t){return function(){return t}}function R(t){return(t()-.5)*1e-6}function Bt(t){return t.index}function kt(t,e){var n=t.get(e);if(!n)throw new Error("node not found: "+e);return n}function Pt(t){var e=Bt,n=M,s,a=j(30),u,l,o,p,g,d=1;t==null&&(t=[]);function M(f){return 1/Math.min(o[f.source.index],o[f.target.index])}function w(f){for(var r=0,y=t.length;r<d;++r)for(var b=0,v,E,D,B,P,K,W;b<y;++b)v=t[b],E=v.source,D=v.target,B=D.x+D.vx-E.x-E.vx||R(g),P=D.y+D.vy-E.y-E.vy||R(g),K=Math.sqrt(B*B+P*P),K=(K-u[b])/K*f*s[b],B*=K,P*=K,D.vx-=B*(W=p[b]),D.vy-=P*W,E.vx+=B*(W=1-W),E.vy+=P*W}function m(){if(l){var f,r=l.length,y=t.length,b=new Map(l.map((E,D)=>[e(E,D,l),E])),v;for(f=0,o=new Array(r);f<y;++f)v=t[f],v.index=f,typeof v.source!="object"&&(v.source=kt(b,v.source)),typeof v.target!="object"&&(v.target=kt(b,v.target)),o[v.source.index]=(o[v.source.index]||0)+1,o[v.target.index]=(o[v.target.index]||0)+1;for(f=0,p=new Array(y);f<y;++f)v=t[f],p[f]=o[v.source.index]/(o[v.source.index]+o[v.target.index]);s=new Array(y),z(),u=new Array(y),c()}}function z(){if(l)for(var f=0,r=t.length;f<r;++f)s[f]=+n(t[f],f,t)}function c(){if(l)for(var f=0,r=t.length;f<r;++f)u[f]=+a(t[f],f,t)}return w.initialize=function(f,r){l=f,g=r,m()},w.links=function(f){return arguments.length?(t=f,m(),w):t},w.id=function(f){return arguments.length?(e=f,w):e},w.iterations=function(f){return arguments.length?(d=+f,w):d},w.strength=function(f){return arguments.length?(n=typeof f=="function"?f:j(+f),z(),w):n},w.distance=function(f){return arguments.length?(a=typeof f=="function"?f:j(+f),c(),w):a},w}function Dt(){let t=1;return()=>(t=(1664525*t+1013904223)%4294967296)/4294967296}function Et(t){return t.x}function It(t){return t.y}var qt=10,Vt=Math.PI*(3-Math.sqrt(5));function Qt(t){var e,n=1,s=.001,a=1-Math.pow(s,1/300),u=0,l=.6,o=new Map,p=ft(M),g=$("tick","end"),d=Dt();t==null&&(t=[]);function M(){w(),g.call("tick",e),n<s&&(p.stop(),g.call("end",e))}function w(c){var f,r=t.length,y;c===void 0&&(c=1);for(var b=0;b<c;++b)for(n+=(u-n)*a,o.forEach(function(v){v(n)}),f=0;f<r;++f)y=t[f],y.fx==null?y.x+=y.vx*=l:(y.x=y.fx,y.vx=0),y.fy==null?y.y+=y.vy*=l:(y.y=y.fy,y.vy=0);return e}function m(){for(var c=0,f=t.length,r;c<f;++c){if(r=t[c],r.index=c,r.fx!=null&&(r.x=r.fx),r.fy!=null&&(r.y=r.fy),isNaN(r.x)||isNaN(r.y)){var y=qt*Math.sqrt(.5+c),b=c*Vt;r.x=y*Math.cos(b),r.y=y*Math.sin(b)}(isNaN(r.vx)||isNaN(r.vy))&&(r.vx=r.vy=0)}}function z(c){return c.initialize&&c.initialize(t,d),c}return m(),e={tick:w,restart:function(){return p.restart(M),e},stop:function(){return p.stop(),e},nodes:function(c){return arguments.length?(t=c,m(),o.forEach(z),e):t},alpha:function(c){return arguments.length?(n=+c,e):n},alphaMin:function(c){return arguments.length?(s=+c,e):s},alphaDecay:function(c){return arguments.length?(a=+c,e):+a},alphaTarget:function(c){return arguments.length?(u=+c,e):u},velocityDecay:function(c){return arguments.length?(l=1-c,e):1-l},randomSource:function(c){return arguments.length?(d=c,o.forEach(z),e):d},force:function(c,f){return arguments.length>1?(f==null?o.delete(c):o.set(c,z(f)),e):o.get(c)},find:function(c,f,r){var y=0,b=t.length,v,E,D,B,P;for(r==null?r=1/0:r*=r,y=0;y<b;++y)B=t[y],v=c-B.x,E=f-B.y,D=v*v+E*E,D<r&&(P=B,r=D);return P},on:function(c,f){return arguments.length>1?(g.on(c,f),e):g.on(c)}}}function Zt(){var t,e,n,s,a=j(-30),u,l=1,o=1/0,p=.81;function g(m){var z,c=t.length,f=O(t,Et,It).visitAfter(M);for(s=m,z=0;z<c;++z)e=t[z],f.visit(w)}function d(){if(t){var m,z=t.length,c;for(u=new Array(z),m=0;m<z;++m)c=t[m],u[c.index]=+a(c,m,t)}}function M(m){var z=0,c,f,r=0,y,b,v;if(m.length){for(y=b=v=0;v<4;++v)(c=m[v])&&(f=Math.abs(c.value))&&(z+=c.value,r+=f,y+=f*c.x,b+=f*c.y);m.x=y/r,m.y=b/r}else{c=m,c.x=c.data.x,c.y=c.data.y;do z+=u[c.data.index];while(c=c.next)}m.value=z}function w(m,z,c,f){if(!m.value)return!0;
1var r=m.x-e.x,y=m.y-e.y,b=f-z,v=r*r+y*y;if(b*b/p<v)return v<o&&(r===0&&(r=R(n),v+=r*r),y===0&&(y=R(n),v+=y*y),v<l&&(v=Math.sqrt(l*v)),e.vx+=r*m.value*s/v,e.vy+=y*m.value*s/v),!0;if(m.length||v>=o)return;(m.data!==e||m.next)&&(r===0&&(r=R(n),v+=r*r),y===0&&(y=R(n),v+=y*y),v<l&&(v=Math.sqrt(l*v)));do m.data!==e&&(b=u[m.data.index]*s/v,e.vx+=r*b,e.vy+=y*b);while(m=m.next)}return g.initialize=function(m,z){t=m,n=z,d()},g.strength=function(m){return arguments.length?(a=typeof m=="function"?m:j(+m),d(),g):a},g.distanceMin=function(m){return arguments.length?(l=m*m,g):Math.sqrt(l)},g.distanceMax=function(m){return arguments.length?(o=m*m,g):Math.sqrt(o)},g.theta=function(m){return arguments.length?(p=m*m,g):Math.sqrt(p)},g}function Ct(t){var e=j(.1),n,s,a;typeof t!="function"&&(t=j(t==null?0:+t));function u(o){for(var p=0,g=n.length,d;p<g;++p)d=n[p],d.vx+=(a[p]-d.x)*s[p]*o}function l(){if(n){var o,p=n.length;for(s=new Array(p),a=new Array(p),o=0;o<p;++o)s[o]=isNaN(a[o]=+t(n[o],o,n))?0:+e(n[o],o,n)}}return u.initialize=function(o){n=o,l()},u.strength=function(o){return arguments.length?(e=typeof o=="function"?o:j(+o),l(),u):e},u.x=function(o){return arguments.length?(t=typeof o=="function"?o:j(+o),l(),u):t},u}function Gt(t){var e=j(.1),n,s,a;typeof t!="function"&&(t=j(t==null?0:+t));function u(o){for(var p=0,g=n.length,d;p<g;++p)d=n[p],d.vy+=(a[p]-d.y)*s[p]*o}function l(){if(n){var o,p=n.length;for(s=new Array(p),a=new Array(p),o=0;o<p;++o)s[o]=isNaN(a[o]=+t(n[o],o,n))?0:+e(n[o],o,n)}}return u.initialize=function(o){n=o,l()},u.strength=function(o){return arguments.length?(e=typeof o=="function"?o:j(+o),l(),u):e},u.y=function(o){return arguments.length?(t=typeof o=="function"?o:j(+o),l(),u):t},u}function Q(t,e,n){this.k=t,this.x=e,this.y=n}Q.prototype={constructor:Q,scale:function(t){return t===1?this:new Q(this.k*t,this.x,this.y)},translate:function(t,e){return t===0&e===0?this:new Q(this.k,this.x+this.k*t,this.y+this.k*e)},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 J=new Q(1,0,0);rt.prototype=Q.prototype;function rt(t){for(;!t.__zoom;)if(!(t=t.parentNode))return J;return t.__zoom}var U=t=>()=>t;function ot(t,{sourceEvent:e,target:n,transform:s,dispatch:a}){Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:e,enumerable:!0,configurable:!0},target:{value:n,enumerable:!0,configurable:!0},transform:{value:s,enumerable:!0,configurable:!0},_:{value:a}})}function et(t){t.stopImmediatePropagation()}function L(t){t.preventDefault(),t.stopImmediatePropagation()}function Kt(t){return(!t.ctrlKey||t.type==="wheel")&&!t.button}function Ft(){var t=this;return t instanceof SVGElement?(t=t.ownerSVGElement||t,t.hasAttribute("viewBox")?(t=t.viewBox.baseVal,[[t.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 Yt(){return this.__zoom||J}function Rt(t){return-t.deltaY*(t.deltaMode===1?.05:t.deltaMode?1:.002)*(t.ctrlKey?10:1)}function Wt(){return navigator.maxTouchPoints||"ontouchstart"in this}function Ht(t,e,n){var s=t.invertX(e[0][0])-n[0][0],a=t.invertX(e[1][0])-n[1][0],u=t.invertY(e[0][1])-n[0][1],l=t.invertY(e[1][1])-n[1][1];return t.translate(a>s?(s+a)/2:Math.min(0,s)||Math.max(0,a),l>u?(u+l)/2:Math.min(0,u)||Math.max(0,l))}function Lt(){var t=Kt,e=Ft,n=Ht,s=Rt,a=Wt,u=[0,1/0],l=[[-1/0,-1/0],[1/0,1/0]],o=250,p=st,g=$("start","zoom","end"),d,M,w,m=500,z=150,c=0,f=10;function r(i){i.property("__zoom",Yt).on("wheel.zoom",P,{passive:!1}).on("mousedown.zoom",K).on("dblclick.zoom",W).filter(a).on("touchstart.zoom",Xt).on("touchmove.zoom",jt).on("touchend.zoom touchcancel.zoom",St).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}r.transform=function(i,x,h,_){var N=i.selection?i.selection():i;N.property("__zoom",Yt),i!==N?E(i,x,h,_):N.interrupt().each(function(){D(this,arguments).event(_).start().zoom(null,typeof x=="function"?x.apply(this,arguments):x).end()})},r.scaleBy=function(i,x,h,_){r.scaleTo(i,function(){var N=this.__zoom.k,A=typeof x=="function"?x.apply(this,arguments):x;return N*A},h,_)},r.scaleTo=function(i,x,h,_){r.transform(i,function(){var N=e.apply(this,arguments),A=this.__zoom,T=h==null?v(N):typeof h=="function"?h.apply(this,arguments):h,k=A.invert(T),I=typeof x=="function"?x.apply(this,arguments):x;return n(b(y(A,I),T,k),N,l)},h,_)},r.translateBy=function(i,x,h,_){r.transform(i,function(){return n(this.__zoom.translate(typeof x=="function"?x.apply(this,arguments):x,typeof h=="function"?h.apply(this,arguments):h),e.apply(this,arguments),l)},null,_)},r.translateTo=function(i,x,h,_,N){r.transform(i,function(){var A=e.apply(this,arguments),T=this.__zoom,k=_==null?v(A):typeof _=="function"?_.apply(this,arguments):_;return n(J.translate(k[0],k[1]).scale(T.k).translate(typeof x=="function"?-x.apply(this,arguments):-x,typeof h=="function"?-h.apply(this,arguments):-h),A,l)},_,N)};function y(i,x){return x=Math.max(u[0],Math.min(u[1],x)),x===i.k?i:new Q(x,i.x,i.y)}function b(i,x,h){var _=x[0]-h[0]*i.k,N=x[1]-h[1]*i.k;return _===i.x&&N===i.y?i:new Q(i.k,_,N)}function v(i){return[(+i[0][0]+ +i[1][0])/2,(+i[0][1]+ +i[1][1])/2]}function E(i,x,h,_){i.on("start.zoom",function(){D(this,arguments).event(_).start()}).on("interrupt.zoom end.zoom",function(){D(this,arguments).event(_).end()}).tween("zoom",function(){var N=this,A=arguments,T=D(N,A).event(_),k=e.apply(N,A),I=h==null?v(k):typeof h=="function"?h.apply(N,A):h,Z=Math.max(k[1][0]-k[0][0],k[1][1]-k[0][1]),X=N.__zoom,q=typeof x=="function"?x.apply(N,A):x,C=p(X.invert(I).concat(Z/X.k),q.invert(
vendor: 4,159 bytes, line 1
1I).concat(Z/q.k));return function(V){if(V===1)V=q;else{var G=C(V),nt=Z/G[2];V=new Q(nt,I[0]-G[0]*nt,I[1]-G[1]*nt)}T.zoom(null,V)}})}function D(i,x,h){return!h&&i.__zooming||new B(i,x)}function B(i,x){this.that=i,this.args=x,this.active=0,this.sourceEvent=null,this.extent=e.apply(i,x),this.taps=0}B.prototype={event:function(i){return i&&(this.sourceEvent=i),this},start:function(){return++this.active===1&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(i,x){return this.mouse&&i!=="mouse"&&(this.mouse[1]=x.invert(this.mouse[0])),this.touch0&&i!=="touch"&&(this.touch0[1]=x.invert(this.touch0[0])),this.touch1&&i!=="touch"&&(this.touch1[1]=x.invert(this.touch1[0])),this.that.__zoom=x,this.emit("zoom"),this},end:function(){return--this.active===0&&(delete this.that.__zooming,this.emit("end")),this},emit:function(i){var x=H(this.that).datum();g.call(i,this.that,new ot(i,{sourceEvent:this.sourceEvent,target:r,type:i,transform:this.that.__zoom,dispatch:g}),x)}};function P(i,...x){if(!t.apply(this,arguments))return;var h=D(this,x).event(i),_=this.__zoom,N=Math.max(u[0],Math.min(u[1],_.k*Math.pow(2,s.apply(this,arguments)))),A=F(i);if(h.wheel)(h.mouse[0][0]!==A[0]||h.mouse[0][1]!==A[1])&&(h.mouse[1]=_.invert(h.mouse[0]=A)),clearTimeout(h.wheel);else{if(_.k===N)return;h.mouse=[A,_.invert(A)],tt(this),h.start()}L(i),h.wheel=setTimeout(T,z),h.zoom("mouse",n(b(y(_,N),h.mouse[0],h.mouse[1]),h.extent,l));function T(){h.wheel=null,h.end()}}function K(i,...x){if(w||!t.apply(this,arguments))return;var h=i.currentTarget,_=D(this,x,!0).event(i),N=H(i.view).on("mousemove.zoom",I,!0).on("mouseup.zoom",Z,!0),A=F(i,h),T=i.clientX,k=i.clientY;ut(i.view),et(i),_.mouse=[A,this.__zoom.invert(A)],tt(this),_.start();function I(X){if(L(X),!_.moved){var q=X.clientX-T,C=X.clientY-k;_.moved=q*q+C*C>c}_.event(X).zoom("mouse",n(b(_.that.__zoom,_.mouse[0]=F(X,h),_.mouse[1]),_.extent,l))}function Z(X){N.on("mousemove.zoom mouseup.zoom",null),at(X.view,_.moved),L(X),_.event(X).end()}}function W(i,...x){if(t.apply(this,arguments)){var h=this.__zoom,_=F(i.changedTouches?i.changedTouches[0]:i,this),N=h.invert(_),A=h.k*(i.shiftKey?.5:2),T=n(b(y(h,A),_,N),e.apply(this,x),l);L(i),o>0?H(this).transition().duration(o).call(E,T,_,i):H(this).call(r.transform,T,_,i)}}function Xt(i,...x){if(t.apply(this,arguments)){var h=i.touches,_=h.length,N=D(this,x,i.changedTouches.length===_).event(i),A,T,k,I;for(et(i),T=0;T<_;++T)k=h[T],I=F(k,this),I=[I,this.__zoom.invert(I),k.identifier],N.touch0?!N.touch1&&N.touch0[2]!==I[2]&&(N.touch1=I,N.taps=0):(N.touch0=I,A=!0,N.taps=1+!!d);d&&(d=clearTimeout(d)),A&&(N.taps<2&&(M=I[0],d=setTimeout(function(){d=null},m)),tt(this),N.start())}}function jt(i,...x){if(this.__zooming){var h=D(this,x).event(i),_=i.changedTouches,N=_.length,A,T,k,I;for(L(i),A=0;A<N;++A)T=_[A],k=F(T,this),h.touch0&&h.touch0[2]===T.identifier?h.touch0[0]=k:h.touch1&&h.touch1[2]===T.identifier&&(h.touch1[0]=k);if(T=h.that.__zoom,h.touch1){var Z=h.touch0[0],X=h.touch0[1],q=h.touch1[0],C=h.touch1[1],V=(V=q[0]-Z[0])*V+(V=q[1]-Z[1])*V,G=(G=C[0]-X[0])*G+(G=C[1]-X[1])*G;T=y(T,Math.sqrt(V/G)),k=[(Z[0]+q[0])/2,(Z[1]+q[1])/2],I=[(X[0]+C[0])/2,(X[1]+C[1])/2]}else if(h.touch0)k=h.touch0[0],I=h.touch0[1];else return;h.zoom("touch",n(b(T,k,I),h.extent,l))}}function St(i,...x){if(this.__zooming){var h=D(this,x).event(i),_=i.changedTouches,N=_.length,A,T;for(et(i),w&&clearTimeout(w),w=setTimeout(function(){w=null},m),A=0;A<N;++A)T=_[A],h.touch0&&h.touch0[2]===T.identifier?delete h.touch0:h.touch1&&h.touch1[2]===T.identifier&&delete h.touch1;if(h.touch1&&!h.touch0&&(h.touch0=h.touch1,delete h.touch1),h.touch0)h.touch0[1]=this.__zoom.invert(h.touch0[0]);else if(h.end(),h.taps===2&&(T=F(T,this),Math.hypot(M[0]-T[0],M[1]-T[1])<f)){var k=H(this).on("dblclick.zoom");k&&k.apply(this,arguments)}}}return r.wheelDelta=function(i){return arguments.length?(s=typeof i=="function"?i:U(+i),r):s},r.filter=function(i){return arguments.length?(t=typeof i=="function"?i:U(!!i),r):t},r.touchable=function(i){return arguments.length?(a=typeof i=="function"?i:U(!!i),r):a},r.extent=function(i){return arguments.length?(e=typeof i=="function"?i:U([[+i[0][0],
vendor: 744 bytes, line 1
1+i[0][1]],[+i[1][0],+i[1][1]]]),r):e},r.scaleExtent=function(i){return arguments.length?(u[0]=+i[0],u[1]=+i[1],r):[u[0],u[1]]},r.translateExtent=function(i){return arguments.length?(l[0][0]=+i[0][0],l[1][0]=+i[1][0],l[0][1]=+i[0][1],l[1][1]=+i[1][1],r):[[l[0][0],l[0][1]],[l[1][0],l[1][1]]]},r.constrain=function(i){return arguments.length?(n=i,r):n},r.duration=function(i){return arguments.length?(o=+i,r):o},r.interpolate=function(i){return arguments.length?(p=i,r):p},r.on=function(){var i=g.on.apply(g,arguments);return i===g?r:i},r.clickDistance=function(i){return arguments.length?(c=(i=+i)*i,r):Math.sqrt(c)},r.tapDistance=function(i){return arguments.length?(f=+i,r):f},r}export{Pt as a,Qt as b,Zt as c,Ct as d,Gt as e,J as f,Lt as g};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.