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.
1256 lines
622 KiB
1256 lines
622 KiB
// All material copyright Esri, All Rights Reserved, unless otherwise specified. |
|
// See https://js.arcgis.com/4.30/esri/copyright.txt for details. |
|
//>>built |
|
define(["exports","./_commonjsHelpers"],function(ya,ta){var ma={exports:{}};(function(sa,qa){qa=function(){function fa(g){if("number"===typeof g)return D.Tc.Zg(g);if(null==g)return null;if(null!=za[g])return D.Tc.Zg(za[g]);throw Error("Unrecognised Unit Type");}function ja(g){if("number"===typeof g)return D.Tc.Zg(g);if(null==g)return null;if(null!=Aa[g])return D.Tc.Zg(Aa[g]);throw Error("Unrecognised Unit Type");}function ha(g){if(g)switch(g){case "loxodrome":return 1;case "great-elliptic":return 2; |
|
case "normal-section":return 3;case "shape-preserving":return 4}return 0}function W(g,v,l,c){if(null==l||l.B())return null;switch(l.getType()){case D.qn.Point:return g.exportPoint(v,l,c);case D.qn.Polygon:return g.exportPolygon(v,l,c);case D.qn.Polyline:return g.exportPolyline(v,l,c);case D.qn.MultiPoint:return g.exportMultipoint(v,l,c);case D.qn.Envelope:return g.exportExtent(v,l,c)}return null}function wa(g,v,l,c){if(l.getType()!==D.qn.Point)throw Error("Geometry not Point");return g.exportPoint(v, |
|
l,c)}function N(g){var v=g.wkid;g=g.wkt2||g.wkt;var l=na.get(v||g);null==l&&(-1!==v&&null!=v?(l=D.Eg.create(v),na.set(v,l)):g&&(l=D.Eg.qP(g),na.set(g,l)),ra.has(v||g)&&l.VW(ra.get(v||g)));return l}function Ca(g){var v,l,c;if(null==g)return null;var a=N(g);g=a.Hd();a=a.Kn();return v={},v.tolerance=a,v.unitType=null==g?-1:g.od,v.unitID=null==g?-1:g.Ec(),v.unitBaseFactor=null==g?0:g.ai,v.unitSquareDerivative=null==g?0:null!==(c=null===(l=D.Tc.aG(g))||void 0===l?void 0:l.Ec())&&void 0!==c?c:0,v}function Da(g, |
|
v,l,c){if(null==l)return null;l=D.$b.clip(g.convertToGEGeometry(K,l),g.convertToGEGeometry(K,c),N(v));return W(g,K,l,v)}function Ea(g,v,l,c){l=D.$b.dl(g.convertToGEGeometry(K,l),g.convertToGEGeometry(K,c),N(v));c=[];for(var a=0;a<l.length;a++)c.push(W(g,K,l[a],v));return c}function Fa(g,v,l,c){if(null==l||null==c)throw Error("Illegal Argument Exception");return D.$b.contains(g.convertToGEGeometry(K,l),g.convertToGEGeometry(K,c),N(v))}function Ga(g,v,l,c){if(null==l||null==c)throw Error("Illegal Argument Exception"); |
|
return D.$b.BP(g.convertToGEGeometry(K,l),g.convertToGEGeometry(K,c),N(v))}function Ha(g,v,l,c,a){if(null==l||null==c)throw Error("Illegal Argument Exception");return D.$b.tb(g.convertToGEGeometry(K,l),g.convertToGEGeometry(K,c),N(v),fa(a))}function Ia(g,v,l,c){return null==l&&null!=c||null==c&&null!=l?!1:D.$b.Nb(g.convertToGEGeometry(K,l),g.convertToGEGeometry(K,c),N(v))}function Ja(g,v,l,c){if(null==l||null==c)throw Error("Illegal Argument Exception");return D.$b.TS(g.convertToGEGeometry(K,l),g.convertToGEGeometry(K, |
|
c),N(v))}function Ka(g,v,l,c){if(null==l||null==c)throw Error("Illegal Argument Exception");return D.$b.touches(g.convertToGEGeometry(K,l),g.convertToGEGeometry(K,c),N(v))}function La(g,v,l,c){if(null==l||null==c)throw Error("Illegal Argument Exception");return D.$b.qY(g.convertToGEGeometry(K,l),g.convertToGEGeometry(K,c),N(v))}function Ma(g,v,l,c){if(null==l||null==c)throw Error("Illegal Argument Exception");return D.$b.TP(g.convertToGEGeometry(K,l),g.convertToGEGeometry(K,c),N(v))}function Na(g, |
|
v,l,c){if(null==l||null==c)throw Error("Illegal Argument Exception");return D.$b.DU(g.convertToGEGeometry(K,l),g.convertToGEGeometry(K,c),N(v))}function Oa(g,v,l,c,a){if(null==l||null==c)throw Error("Illegal Argument Exception");return D.$b.yB(g.convertToGEGeometry(K,l),g.convertToGEGeometry(K,c),N(v),a)}function Pa(g,v,l){if(null==l)throw Error("Illegal Argument Exception");return D.$b.dT(g.convertToGEGeometry(K,l),N(v))}function Qa(g,v,l){if(null==l)throw Error("Illegal Argument Exception");l=D.$b.eC(g.convertToGEGeometry(K, |
|
l),N(v));return W(g,K,l,v)}function Ra(g,v,l,c){void 0===c&&(c=!1);if(null==l)throw Error("Illegal Argument Exception");if(Array.isArray(l)){var a=c,b=[];for(c=0;c<l.length;c++)b.push(g.convertToGEGeometry(K,l[c]));l=D.$b.jP(b,a);a=Array(l.length);for(c=0;c<l.length;c++)a[c]=W(g,K,l[c],v);return a}c=D.$b.iP(g.convertToGEGeometry(K,l),N(v));return W(g,K,c,v)}function Sa(g,v,l,c){if(null==l||null==c)throw Error("Illegal Argument Exception");if(Array.isArray(l)){for(var a=[],b=0;b<l.length;b++)a.push(g.convertToGEGeometry(K, |
|
l[b]));l=D.$b.QP(a,g.convertToGEGeometry(K,c),N(v));c=Array(l.length);for(b=0;b<l.length;b++)c[b]=W(g,K,l[b],v);return c}b=D.$b.im(g.convertToGEGeometry(K,l),g.convertToGEGeometry(K,c),N(v));return W(g,K,b,v)}function Ta(g,v,l,c){if(null==l||null==c)throw Error("Illegal Argument Exception");if(Array.isArray(l)){for(var a=[],b=0;b<l.length;b++)a.push(g.convertToGEGeometry(K,l[b]));l=D.$b.VX(a,g.convertToGEGeometry(K,c),N(v));c=Array(l.length);for(b=0;b<l.length;b++)c[b]=W(g,K,l[b],v);return c}b=D.$b.ep(g.convertToGEGeometry(K, |
|
l),g.convertToGEGeometry(K,c),N(v));return W(g,K,b,v)}function Ua(g,v,l,c){if(null==l||null==c)throw Error("Illegal Argument Exception");if(Array.isArray(l)){for(var a=[],b=0;b<l.length;b++)a.push(g.convertToGEGeometry(K,l[b]));l=D.$b.RS(a,g.convertToGEGeometry(K,c),N(v));c=Array(l.length);for(b=0;b<l.length;b++)c[b]=W(g,K,l[b],v);return c}b=D.$b.Ea(g.convertToGEGeometry(K,l),g.convertToGEGeometry(K,c),N(v));return W(g,K,b,v)}function Va(g,v,l,c){if(null==l)return null;var a=[];if(Array.isArray(l)){if(0=== |
|
l.length)return null;for(c=0;c<l.length;c++)a.push(g.convertToGEGeometry(K,l[c]))}else a.push(g.convertToGEGeometry(K,l)),null!=c&&a.push(g.convertToGEGeometry(K,c));return W(g,K,D.$b.jY(a,N(v)),v)}function Wa(g,v,l,c,a,b,d,e){var f=0;if(null!=b)switch(b){case "round":f=0;break;case "bevel":f=1;break;case "miter":f=2;break;case "square":f=3}if(Array.isArray(l)){if(null==l)g=null;else if(0===l.length)g=[];else{var h=[];for(b=0;b<l.length;b++)h.push(g.convertToGEGeometry(K,l[b]));l=D.$b.BU(h,N(v),c, |
|
f,d,e,fa(a));c=Array(l.length);for(b=0;b<l.length;b++)c[b]=W(g,K,l[b],v);g=c}return g}l=D.$b.offset(g.convertToGEGeometry(K,l),N(v),c,f,d,e,fa(a));return W(g,K,l,v)}function Xa(g,v,l,c,a,b){void 0===b&&(b=!1);if(Array.isArray(l)){if(!Array.isArray(c)){for(var d=[],e=0;e<l.length;e++)d.push(c);c=d}if(c.length!=l.length){if(0==c.length)throw Error("Illegal Argument Exception");d=[];var f=0;for(e=0;e<l.length;e++)void 0===c[e]?d.push(f):(d.push(c[e]),f=c[e]);c=d}return Ba(g,v,l,c,a,!1,b,"geodesic",NaN)}l= |
|
D.$b.buffer(g.convertToGEGeometry(K,l),N(v),c,fa(a),!1,0,NaN);return W(g,K,l,v)}function Ya(g,v,l,c,a,b,d,e){if(Array.isArray(l)){if(!Array.isArray(c)){for(var f=[],h=0;h<l.length;h++)f.push(c);c=f}if(c.length!==l.length){if(0===c.length)throw Error("Illegal Argument Exception");f=[];var k=0;for(h=0;h<l.length;h++)void 0===c[h]?f.push(k):(f.push(c[h]),k=c[h]);c=f}return Ba(g,v,l,c,a,!0,b,d,e)}void 0===d&&(d=NaN);l=D.$b.buffer(g.convertToGEGeometry(K,l),N(v),c,fa(a),!0,ha(b),d);return W(g,K,l,v)}function Ba(g, |
|
v,l,c,a,b,d,e,f){void 0===f&&(f=NaN);if(null==l)return null;if(0===l.length)return[];for(var h=[],k=0;k<l.length;k++)h.push(g.convertToGEGeometry(K,l[k]));l=D.$b.MN(h,N(v),c,fa(a),b,d,ha(e),f);c=Array(l.length);for(k=0;k<l.length;k++)c[k]=W(g,K,l[k],v);return c}function Za(g,v,l,c,a){var b;void 0===a&&(a=!0);l=D.$b.nz(g.convertToGEGeometry(K,l),g.convertToGEGeometry(K,c),a);return b={},b.coordinate=wa(g,K,l.fz(),v),b.distance=l.hz(),b.isRightSide=l.Sz(),b.vertexIndex=l.Ua(),b.isEmpty=l.B(),b}function $a(g, |
|
v,l,c){var a;l=D.$b.oz(g.convertToGEGeometry(K,l),g.convertToGEGeometry(K,c));return a={},a.coordinate=wa(g,K,l.fz(),v),a.distance=l.hz(),a.isRightSide=l.Sz(),a.vertexIndex=l.Ua(),a.isEmpty=l.B(),a}function ab(g,v,l,c,a,b){var d;l=D.$b.pz(g.convertToGEGeometry(K,l),g.convertToGEGeometry(K,c),a,b);c=[];for(a=0;a<l.length;a++)!1===l[a].B()&&c.push((d={},d.coordinate=wa(g,K,l[a].fz(),v),d.distance=l[a].hz(),d.isRightSide=l[a].Sz(),d.vertexIndex=l[a].Ua(),d.isEmpty=l[a].B(),d));return c}function bb(g, |
|
v,l,c,a,b){l=D.$b.QQ(g.convertToGEGeometry(K,l),N(v),c,a,fa(b));return W(g,K,l,v)}function cb(g,v,l,c,a){l=D.$b.Qr(g.convertToGEGeometry(K,l),N(v),c,fa(a));return W(g,K,l,v)}function db(g,v,l,c,a,b){void 0===b&&(b=0);l=D.$b.Wy(g.convertToGEGeometry(K,l),N(v),c,fa(a),b);return W(g,K,l,v)}function eb(g,v,l,c){if(null==l)throw Error("Illegal Argument Exception");return D.$b.JU(g.convertToGEGeometry(K,l),N(v),ja(c))}function fb(g,v,l,c){if(null==l)throw Error("Illegal Argument Exception");return D.$b.KU(g.convertToGEGeometry(K, |
|
l),N(v),fa(c))}function gb(g,v,l,c,a){if(null==l)throw Error("Illegal Argument Exception");return D.$b.WQ(g.convertToGEGeometry(K,l),N(v),ja(c),ha(a))}function hb(g,v,l,c,a){if(null==l)throw Error("Illegal Argument Exception");return D.$b.ZQ(g.convertToGEGeometry(K,l),N(v),fa(c),ha(a))}function ib(g){D.NL.bind(g)}function jb(g,v,l,c,a){var b=null,d=null;if(c){if(!a)throw D.i.N("AOI missing Spatial Reference");b=g.convertToGEGeometry(K,c);d=N(a).fh()}g=D.gu.XR(N(v).fh(),N(l).fh(),b,d);return null!== |
|
g?g:null}function kb(g,v,l,c,a){var b=null,d=null;if(c){if(!a)throw D.i.N("AOI missing Spatial Reference");b=g.convertToGEGeometry(K,c);d=N(a).fh()}return D.gu.YR(N(v).fh(),N(l).fh(),b,d)}function lb(g,v,l,c,a,b){void 0===a&&(a=null);void 0===b&&(b=null);if(b){var d=new D.yC;d.Vu=b.densificationStep;d.Jr=b.centralMeridianOfOutputGCS;b.clipWithInputHorizon&&d.PW(b.clipWithInputHorizon);b.clipWithOutputHorizon&&d.QW(b.clipWithOutputHorizon)}if(!1===this.KY)throw Error("Projection Engine must be enabled using enableProjection"); |
|
if(0===v.length)return[];if(a){if(b=a.getCachedGeTransformation(l,c),!b)a:{b=a;a=null;if(b){var e=b.getGTListEntry();if(null!==e){a=new D.wC(null);for(var f=0,h=e.steps;f<h.length;f++){e=h[f];var k=new D.Dx(e.geogtran);e.isInverse&&k.Qz();a.add(k)}d=D.vr.Nr(N(l).fh(),N(c).fh(),a,d);b.assignCachedGe(l,c,d);b=d;break a}}if(null===a&&b&&b.steps&&0<b.steps.length){a=new D.wC(null);f=0;for(h=b.steps;f<h.length;f++)e=h[f],-1!=e.wkid&&null!=e.wkid?a.add(D.Dx.create(e.wkid,e.isInverse)):a.add(D.Dx.uP(e.wkt, |
|
e.isInverse));d=D.vr.Nr(N(l).fh(),N(c).fh(),a,d);b.assignCachedGe(l,c,d);b=d}else b=D.vr.Nr(N(l).fh(),N(c).fh(),a,d)}}else b=D.vr.Nr(N(l).fh(),N(c).fh(),null);l=[];for(a=0;a<v.length;a++){d=v[a];e=l;f=e.push;h=g;k=c;var m=b;d=D.$b.zh(h.convertToGEGeometry(K,d),m);d=W(h,K,d,k);f.call(e,d)}return l}function mb(g,v){null!=g&&(g=g.wkid||g.wkt2||g.wkt,ra.has(g),ra.set(g,v),na.has(g)&&na.delete(g))}function nb(g){null!=g&&(g=g.wkid||g.wkt2||g.wkt,ra.has(g)&&(ra.delete(g),na.has(g)&&na.delete(g)))}function ob(g, |
|
v,l,c){if(null==l||null==c)return[];var a=[],b=0;for(l=D.$b.QS(g.convertToGEGeometry(K,l),g.convertToGEGeometry(K,c),N(v))||[];b<l.length;b++)a.push(W(g,K,l[b],v));return a}var da,R=this&&this.__extends||function(){function g(v,l){g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,a){c.__proto__=a}||function(c,a){for(var b in a)a.hasOwnProperty(b)&&(c[b]=a[b])};return g(v,l)}return function(v,l){function c(){this.constructor=v}g(v,l);v.prototype=null===l?Object.create(l):(c.prototype= |
|
l.prototype,new c)}}(),D;(function(g){(function(l){l[l.Unknown=0]="Unknown";l[l.Point=33]="Point";l[l.Line=322]="Line";l[l.Envelope=197]="Envelope";l[l.MultiPoint=550]="MultiPoint";l[l.Polyline=1607]="Polyline";l[l.Polygon=1736]="Polygon"})(g.qn||(g.qn={}));(function(l){l[l.enumMild=0]="enumMild";l[l.enumMedium=1]="enumMedium";l[l.enumHot=2]="enumHot"})(g.YK||(g.YK={}));var v=function(){function l(){this.description=null;this.VA=0}l.prototype.getType=function(){return 0};l.prototype.Db=function(){return-1}; |
|
l.prototype.Nf=function(c){this.vc();c!=this.description&&this.sn(c)};l.prototype.sn=function(){};l.prototype.Jl=function(c){this.vc();c!=this.description&&(c=g.ee.CR(this.description,c),c!=this.description&&this.sn(c))};l.prototype.hasAttribute=function(c){return this.description.hasAttribute(c)};l.prototype.re=function(c){this.vc();this.description.hasAttribute(c)||(c=g.ee.BR(this.description,c),this.sn(c))};l.prototype.Tg=function(){return null};l.prototype.bn=function(){};l.prototype.A=function(){}; |
|
l.prototype.Qo=function(){};l.prototype.xc=function(c){this.A(c)};l.prototype.B=function(){return!0};l.prototype.Oa=function(){};l.prototype.Oc=function(){};l.prototype.Ia=function(){return null};l.prototype.copyTo=function(){};l.prototype.Ke=function(){return 0};l.prototype.Qb=function(){return 0};l.prototype.iG=function(){return this.hasAttribute(1)};l.tf=function(c){return((c&192)>>6)+1>>1};l.Rn=function(c){return 0!=(c&32)};l.US=function(c){return 0!=(c&128)};l.yd=function(c){return 0!=(c&256)}; |
|
l.xj=function(c){return 0!=(c&512)};l.Hc=function(c){return 0!=(c&1024)};l.prototype.Of=function(){var c=this.Ia();this.copyTo(c);return c};l.prototype.mg=function(){return null};l.jg=function(c){var a=c.Ia();c.copyTo(a);return a};l.prototype.vc=function(){0<=this.VA&&(this.VA+=2147483649)};l.Ax=function(c){var a=c.getType();if(l.xj(a))return c.I();if(c.B())return 0;if(197==a)return 4;if(33==a)return 1;if(l.yd(a))return 2;throw g.i.fa("missing type");};return l}();g.aa=v})(D||={});(function(g){var v= |
|
function(){function l(){this.y=this.x=0}l.construct=function(c,a){var b=new l;b.x=c;b.y=a;return b};l.al=function(c){var a=new l;a.x=c.x;a.y=c.y;return a};l.prototype.ma=function(c,a){this.x=c;this.y=a};l.prototype.L=function(c){this.x=c.x;this.y=c.y};l.prototype.fq=function(c,a){return this.x===c&&this.y===a};l.prototype.Rz=function(c){return 2.220446049250313E-16>=Math.abs(this.x-c.x)&&2.220446049250313E-16>=Math.abs(this.y-c.y)};l.prototype.qb=function(c){return this.x===c.x&&this.y===c.y};l.prototype.Nb= |
|
function(c){return c==this?!0:c instanceof l?this.x==c.x&&this.y==c.y:!1};l.prototype.sub=function(c){this.x-=c.x;this.y-=c.y};l.prototype.uc=function(c,a){this.x=c.x-a.x;this.y=c.y-a.y};l.prototype.add=function(c,a){void 0!==a?(this.x=c.x+a.x,this.y=c.y+a.y):(this.x+=c.x,this.y+=c.y)};l.prototype.Sq=function(){this.x=-this.x;this.y=-this.y};l.prototype.mt=function(c){this.x=-c.x;this.y=-c.y};l.prototype.NS=function(c,a,b){this.x=c.x*(1-b)+a.x*b;this.y=c.y*(1-b)+a.y*b};l.prototype.Ct=function(c,a){this.x= |
|
this.x*c+a.x;this.y=this.y*c+a.y};l.prototype.HW=function(c,a,b){this.x=a.x*c+b.x;this.y=a.y*c+b.y};l.prototype.scale=function(c){this.x*=c;this.y*=c};l.prototype.compare=function(c){return this.y<c.y?-1:this.y>c.y?1:this.x<c.x?-1:this.x>c.x?1:0};l.prototype.normalize=function(){var c=this.length();0==c&&(this.x=1,this.y=0);this.x/=c;this.y/=c};l.prototype.length=function(){return Math.sqrt(this.x*this.x+this.y*this.y)};l.prototype.Sk=function(){return this.x*this.x+this.y*this.y};l.tb=function(c, |
|
a){return Math.sqrt(this.yc(c,a))};l.Oy=function(c,a,b,d){c-=b;a-=d;return Math.sqrt(c*c+a*a)};l.prototype.Qh=function(c){return this.x*c.x+this.y*c.y};l.prototype.fD=function(c){return Math.abs(this.x*c.x)+Math.abs(this.y*c.y)};l.prototype.wi=function(c){return this.x*c.y-this.y*c.x};l.prototype.Bt=function(c,a){var b=-this.x*a+this.y*c;this.x=this.x*c+this.y*a;this.y=b};l.prototype.Hv=function(){var c=this.x;this.x=-this.y;this.y=c};l.prototype.MG=function(c){this.x=-c.y;this.y=c.x};l.prototype.ar= |
|
function(){var c=this.x;this.x=this.y;this.y=-c};l.prototype.qu=function(){return 0<this.x?0<=this.y?1:4:0<this.y?2:0==this.x?4:3};l.nu=function(c,a){var b=c.qu(),d=a.qu();return d==b?(c=c.wi(a),0>c?1:0<c?-1:0):b<d?-1:1};l.yc=function(c,a){var b=c.x-a.x;c=c.y-a.y;return b*b+c*c};l.prototype.toString=function(){return"("+this.x+" , "+this.y+")"};l.prototype.Rc=function(){this.y=this.x=NaN};l.prototype.isNaN=function(){return isNaN(this.x)||isNaN(this.y)};l.prototype.offset=function(c,a){var b=l.tb(c, |
|
a),d=l.construct(this.x,this.y);if(0==b)return l.tb(d,c);var e=new l;e.L(a);e.sub(c);d.sub(c);return d.wi(e)/b};l.Uq=function(c,a,b){var d=new g.Wb;d.set(a.x);d.sub(c.x);var e=new g.Wb;e.set(b.y);e.sub(c.y);var f=new g.Wb;f.set(a.y);f.sub(c.y);var h=new g.Wb;h.set(b.x);h.sub(c.x);d.Ag(e);f.Ag(h);d.sub(f);if(!d.ps())return b=d.value(),0>b?-1:0<b?1:0;d=new g.hp(a.x);e=new g.hp(c.x);f=new g.hp(c.y);d=d.jt(e);c=new g.hp(b.y);c=c.jt(f);a=new g.hp(a.y);a=a.jt(f);b=new g.hp(b.x);b=b.jt(e);d=d.lr(c);a=a.lr(b); |
|
d=d.lr(a);return d.nT()?-1:d.fS()?1:0};l.prototype.cc=function(){return g.O.uj(g.O.uj())};return l}();g.h=v})(D||={});(function(g){var v=function(){function l(c){this.Fy=this.Mt=0;this.OX=c}l.prototype.reset=function(){this.Fy=this.Mt=0};l.prototype.add=function(c){c-=this.Fy;var a=this.Mt+c;this.Fy=a-this.Mt-c;this.Mt=a};l.prototype.sub=function(c){this.add(-c)};l.prototype.rm=function(){return this.OX+this.Mt};return l}();g.Fx=v;g.lc=function(){function l(){}l.Cn=function(c,a){return 0<=a?Math.abs(c): |
|
-Math.abs(c)};l.sign=function(c){return 0>c?-1:0<c?1:0};l.RK=function(c){return c-360*Math.floor(c/360)};l.round=function(c){return Math.floor(c+.5)};l.ox=function(c){return c*c};l.hq=function(c,a,b){return.5>=b?c+(a-c)*b:a-(a-c)*(1-b)};l.OG=function(c,a,b,d){.5>=b?(d.x=c.x+(a.x-c.x)*b,d.y=c.y+(a.y-c.y)*b):(d.x=a.x-(a.x-c.x)*(1-b),d.y=a.y-(a.y-c.y)*(1-b))};l.lT=function(c,a,b,d,e,f){.5>=e?(f.x=c+(b-c)*e,f.y=a+(d-a)*e):(f.x=b-(b-c)*(1-e),f.y=d-(d-a)*(1-e))};return l}()})(D||={});(function(g){var v= |
|
function(l){function c(){var a=l.call(this)||this;a.sa=0;a.na=0;a.pa=0;a.la=0;a.ka=null;return a}R(c,l);c.prototype.ac=function(){return g.h.construct(this.sa,this.na)};c.prototype.Yp=function(a){a.x=this.sa;a.y=this.na};c.prototype.Dc=function(a){this.em(0,a)};c.prototype.ZB=function(a,b){this.em(0,g.h.construct(a,b))};c.prototype.To=function(a){this.hD(0,a)};c.prototype.setStart=function(a){this.uD(0,a)};c.prototype.wv=function(a,b){return this.Od(0,a,b)};c.prototype.YB=function(a,b,d){this.tn(0, |
|
a,b,d)};c.prototype.wc=function(){return g.h.construct(this.pa,this.la)};c.prototype.Tr=function(a){a.x=this.pa;a.y=this.la};c.prototype.Qc=function(a){this.em(1,a)};c.prototype.Ql=function(a,b){this.em(1,g.h.construct(a,b))};c.prototype.Po=function(a){this.hD(1,a)};c.prototype.setEnd=function(a){this.uD(1,a)};c.prototype.gv=function(a,b){return this.Od(1,a,b)};c.prototype.OB=function(a,b,d){this.tn(1,a,b,d)};c.prototype.Db=function(){return 1};c.prototype.B=function(){return this.Ac()};c.prototype.Oa= |
|
function(){};c.prototype.Ke=function(){return 0};c.prototype.Ea=function(a,b,d,e,f){return this.KM(a,b,d,e,f)};c.prototype.isIntersecting=function(a,b){return 0!=this.zr(a,b,!1)};c.prototype.qs=function(a,b){return this.ru(a,b,!1)};c.prototype.ru=function(){return null};c.prototype.Ac=function(){return!1};c.prototype.ay=function(a){this.vc();if(null==this.ka&&0<a)this.ka=g.O.lg(2*a);else if(null!=this.ka&&this.ka.length<2*a){for(var b=this.ka.slice(0),d=this.ka.length;d<2*a;d++)b[d]=0;this.ka=b}}; |
|
c.gM=function(a,b,d){if(0<d)var e=0;for(var f=0;f<d;f++)b[0+e]=a[0],e++};c.prototype.em=function(a,b){0!=a?(this.pa=b.x,this.la=b.y):(this.sa=b.x,this.na=b.y)};c.prototype.sn=function(a){if(null!=this.ka){for(var b=g.ee.Iw(a,this.description),d=[],e=c.Gg(this.description,0),f=c.Gg(this.description,1),h=c.Gg(a,0),k=c.Gg(a,1),m=0,n=1,p=a.Aa;n<p;n++){var q=a.kd(n),r=g.ra.Va(q);if(-1==b[n]){var t=g.ra.se(q);for(q=0;q<r;q++)d[h+m]=t,d[k+m]=t,m++}else for(t=this.description.$j(b[n])-2,q=0;q<r;q++)d[h+m]= |
|
this.ka[e+t],d[k+m]=this.ka[f+t],m++,t++}this.ka=d}this.description=a};c.prototype.hD=function(a,b){if(this.Ac())throw g.i.fa("empty geometry");b.Nf(this.description);b.Ac()&&b.un();for(var d=0;d<this.description.Aa;d++)for(var e=this.description.Ed(d),f=0,h=g.ra.Va(e);f<h;f++){var k=this.Od(a,e,f);b.setAttribute(e,f,k)}};c.prototype.uD=function(a,b){this.vc();if(b.Ac())throw g.i.fa("empty geometry");for(var d=b.description,e=0,f=d.Aa;e<f;e++)for(var h=d.Ed(e),k=g.ra.Va(h),m=0;m<k;m++){var n=b.Uc(h, |
|
m);this.tn(a,h,m,n)}};c.prototype.Od=function(a,b,d){if(this.Ac())throw g.i.fa("This operation was performed on an Empty Geometry.");if(0==b)return 0!=a?0!=d?this.la:this.pa:0!=d?this.na:this.sa;if(d>=g.ra.Va(b))throw g.i.ce();var e=this.description.Pf(b);return 0<=e?(null!=this.ka&&this.ay(this.description.Ae.length-2),this.ka[c.Gg(this.description,a)+this.description.$j(e)-2+d]):g.ra.se(b)};c.prototype.tn=function(a,b,d,e){this.vc();if(d>=g.ra.Va(b))throw g.i.ce();var f=this.description.Pf(b);0> |
|
f&&(this.re(b),f=this.description.Pf(b));0==b?0!=a?0!=d?this.la=e:this.pa=e:0!=d?this.na=e:this.sa=e:(null==this.ka&&this.ay(this.description.Ae.length-2),this.ka[c.Gg(this.description,a)+this.description.$j(f)-2+d]=e)};c.prototype.copyTo=function(a){if(a.getType()!=this.getType())throw g.i.N();a.description=this.description;a.ay(this.description.Ae.length-2);c.gM(this.ka,a.ka,2*(this.description.Ae.length-2));a.sa=this.sa;a.na=this.na;a.pa=this.pa;a.la=this.la;a.vc();this.op(a)};c.prototype.Tg=function(a, |
|
b){var d=new g.Nc;if(this.Ac())return d.Oa(),d;d.oa=this.Od(0,a,b);d.va=d.oa;d.Lk(this.Od(1,a,b));return d};c.prototype.ZI=function(a){this.Ac()?a.Oa():(a.oa=this.Od(0,0,0),a.va=a.oa,a.Lk(this.Od(1,0,0)))};c.prototype.Tw=function(a,b){b.Nf(this.description);b.Cb(this.hc(a));for(var d=1,e=this.description.Aa;d<e;d++)for(var f=this.description.Ed(d),h=g.ra.Va(f),k=0;k<h;k++){var m=this.Uc(a,f,k);b.setAttribute(f,k,m)}};c.prototype.FM=function(a){if(this.description!=a.description||this.sa!=a.sa||this.pa!= |
|
a.pa||this.na!=a.na||this.la!=a.la)return!1;for(var b=0;b<2*(this.description.Ae.length-2);b++)if(this.ka[b]!=a.ka[b])return!1;return!0};c.prototype.BG=function(){return this.sa==this.pa&&this.na==this.la};c.prototype.reverse=function(){var a=this.sa;this.sa=this.pa;this.pa=a;a=this.na;this.na=this.la;this.la=a;a=1;for(var b=this.description.Aa;a<b;a++)for(var d=this.description.kd(a),e=0,f=g.ra.Va(d);e<f;e++){var h=this.Od(0,d,e),k=this.Od(1,d,e);this.tn(0,d,e,k);this.tn(1,d,e,h)}};c.prototype.zr= |
|
function(a,b,d){var e=this.getType(),f=a.getType();switch(e){case 322:if(322==f)return g.yb.OM(this,a,b,d);throw g.i.Qa();default:throw g.i.Qa();}};c.prototype.KM=function(a,b,d,e,f){var h=this.getType(),k=a.getType();switch(h){case 322:if(322==k)return g.yb.Zx(this,a,b,d,e,f);throw g.i.Qa();default:throw g.i.Qa();}};c.prototype.Tx=function(){return null};c.Gg=function(a,b){return b*(a.Ae.length-2)};c.prototype.hc=function(a,b){if(void 0===b)return b=new g.h,this.hc(a,b),b;g.lc.lT(this.sa,this.na, |
|
this.pa,this.la,a,b)};c.prototype.fe=function(){return null};c.prototype.eG=function(){return null};c.prototype.cq=function(){return null};c.prototype.Bi=function(){return null};c.prototype.Pn=function(){return null};c.prototype.kg=function(){return null};c.prototype.Ux=function(a,b){return void 0!==b?this.vx(b)-this.vx(a):this.vx(a)};c.prototype.op=function(){};c.prototype.dl=function(){return null};c.prototype.ah=function(){};c.prototype.Uc=function(){return null};c.prototype.Pe=function(){return null}; |
|
c.prototype.vx=function(){return null};c.prototype.NG=function(){return null};c.prototype.tb=function(a,b){if(!b&&0!=this.zr(a,0,!1))return 0;b=1.7976931348623157E308;var d=this.ac(),e=a.fe(d,!1);d.sub(a.hc(e));d=d.length();d<b&&(b=d);d=this.wc();e=a.fe(d,!1);d.sub(a.hc(e));d=d.length();d<b&&(b=d);d=a.ac();e=this.fe(d,!1);d.sub(this.hc(e));d=d.length();d<b&&(b=d);d=a.wc();e=this.fe(d,!1);d.sub(this.hc(e));d=d.length();d<b&&(b=d);return b};c.prototype.mg=function(){return g.pi.gm(this,null)};return c}(g.aa); |
|
g.SC=v})(D||={});new D.h;(function(g){(function(l){l[l.Unknown=-1]="Unknown";l[l.Not=0]="Not";l[l.Weak=1]="Weak";l[l.Strong=2]="Strong"})(g.$K||(g.$K={}));(function(l){l[l.DirtyIsKnownSimple=1]="DirtyIsKnownSimple";l[l.IsWeakSimple=2]="IsWeakSimple";l[l.IsStrongSimple=4]="IsStrongSimple";l[l.DirtyOGCFlags=8]="DirtyOGCFlags";l[l.DirtyVerifiedStreams=32]="DirtyVerifiedStreams";l[l.DirtyExactIntervals=64]="DirtyExactIntervals";l[l.DirtyLooseIntervals=128]="DirtyLooseIntervals";l[l.DirtyIntervals=192]= |
|
"DirtyIntervals";l[l.DirtyIsEnvelope=256]="DirtyIsEnvelope";l[l.DirtyLength2D=512]="DirtyLength2D";l[l.DirtyRingAreas2D=1024]="DirtyRingAreas2D";l[l.DirtyCoordinates=1993]="DirtyCoordinates";l[l.DirtyAllInternal=65535]="DirtyAllInternal";l[l.DirtyAll=16777215]="DirtyAll"})(g.MK||(g.MK={}));var v=function(l){function c(){var a=l.call(this)||this;a.Hm=65535;a.wa=0;a.Pg=-1;a.Bb=null;return a}R(c,l);c.prototype.op=function(){};c.prototype.$x=function(){};c.prototype.iy=function(){};c.prototype.I=function(){return this.wa}; |
|
c.prototype.B=function(){return this.Ac()};c.prototype.Ac=function(){return 0==this.wa};c.prototype.ak=function(a){return 0!=(this.Hm&a)};c.prototype.Lf=function(a,b){this.Hm=b?this.Hm|a:this.Hm&~a};c.prototype.mc=function(){this.ak(32)&&this.bN()};c.prototype.wx=function(){if(this.Ac())throw g.i.fa("This operation was performed on an Empty Geometry.");};c.prototype.ve=function(a,b){if(0>a||a>=this.wa)throw g.i.fa("index out of bounds");this.mc();b.Nf(this.description);b.B()&&b.un();for(var d=0;d< |
|
this.description.Aa;d++)for(var e=this.description.Ed(d),f=0,h=g.ra.Va(e);f<h;f++){var k=this.za[d].eg(h*a+f);b.setAttribute(e,f,k)}};c.prototype.Ht=function(a,b){this.mc();for(var d=b.description,e=0;e<d.Aa;e++)for(var f=d.Ed(e),h=g.ra.Va(f),k=0;k<h;k++){var m=b.Uc(f,k);this.setAttribute(f,a,k,m)}};c.prototype.D=function(a,b){if(0>a||a>=this.I())throw g.i.ce();this.mc();this.za[0].tc(2*a,b)};c.prototype.Na=function(a){var b=new g.h;this.D(a,b);return b};c.prototype.Gc=function(a,b){this.za[0].tc(2* |
|
a,b)};c.prototype.Cb=function(a,b,d){if(0>a||a>=this.wa)throw g.i.ce();this.mc();var e=this.za[0];void 0!==d?(e.write(2*a,b),e.write(2*a+1,d)):e.Tt(2*a,b);this.Pc(1993)};c.prototype.Cz=function(){if(void 0>=this.I())throw g.i.ce();this.mc();var a=this.za[0],b=new g.Nd;b.x=a.read(NaN);b.y=a.read(NaN);b.z=this.hasAttribute(1)?this.za[1].eg():g.ra.se(1);return b};c.prototype.dC=function(a){if(0>a||a>=this.I())throw g.i.ce();this.re(1);this.mc();this.Pc(1993);var b=this.za[0];b.write(2*a,(void 0).x); |
|
b.write(2*a+1,(void 0).y);this.za[1].pr(a,(void 0).z)};c.prototype.Uc=function(a,b,d){if(0>b||b>=this.wa)throw g.i.ce();var e=g.ra.Va(a);if(d>=e)throw g.i.ce();this.mc();var f=this.description.Pf(a);return 0<=f?this.za[f].eg(b*e+d):g.ra.se(a)};c.prototype.yF=function(a,b){return this.Uc(a,b)};c.prototype.setAttribute=function(a,b,d,e){if(0>b||b>=this.wa)throw g.i.ce();var f=g.ra.Va(a);if(d>=f)throw g.i.ce();this.re(a);this.mc();a=this.description.Pf(a);this.Pc(1993);this.za[a].pr(b*f+d,e)};c.prototype.ub= |
|
function(a){this.wx();this.re(a);this.mc();return this.za[this.description.Pf(a)]};c.prototype.hn=function(a,b){if(null!=b&&g.ra.Tp(a)!=b.Tp())throw g.i.N();this.re(a);a=this.description.Pf(a);null==this.za&&(this.za=g.Yc.qI(this.description.Aa));this.za[a]=b;this.Pc(16777215)};c.prototype.sn=function(a){var b=null;if(null!=this.za){var d=g.ee.Iw(a,this.description);b=[];for(var e=0,f=a.Aa;e<f;e++)-1!=d[e]&&(b[e]=this.za[d[e]])}this.description=a;this.za=b;this.Pg=-1;this.Pc(16777215)};c.prototype.AD= |
|
function(a){this.wu(!0);a instanceof g.l?this.$.A(a):this.$.Qo(a)};c.prototype.aN=function(a){this.wu(!1);a instanceof g.l?this.$.A(a):this.$.Qo(a)};c.prototype.bn=function(a){this.wu(!0);this.$.copyTo(a)};c.prototype.A=function(a){this.AD(a)};c.prototype.Qo=function(a){this.AD(a)};c.prototype.xc=function(a){this.aN(a)};c.prototype.Tg=function(a,b){var d=new g.Nc;if(this.Ac())return d.Oa(),d;this.wu(!0);return this.$.Tg(a,b)};c.prototype.cc=function(){var a=this.description.cc();if(!this.Ac())for(var b= |
|
this.I(),d=0,e=this.description.Aa;d<e;d++)a=this.za[d].An(a,0,b*g.ra.Va(this.description.Ed(d)));return a};c.prototype.Nb=function(a){if(a==this)return!0;if(!(a instanceof c&&this.description.Nb(a.description))||this.Ac()!=a.Ac())return!1;if(this.Ac())return!0;var b=this.I();if(b!=a.I())return!1;for(var d=0;d<this.description.Aa;d++){var e=this.description.kd(d),f=this.ub(e),h=a.ub(e);if(!f.Nb(h,0,b*g.ra.Va(e)))return!1}return!0};c.prototype.copyTo=function(a){if(a.getType()!=this.getType())throw g.i.N(); |
|
this.dD(a)};c.prototype.dD=function(a){this.mc();a.description=this.description;a.za=null;var b=this.description.Aa,d=null;if(null!=this.za){d=[];for(var e=0;e<b;e++)null!=this.za[e]&&(d[e]=this.za[e].GB(this.I()*g.ra.Va(this.description.Ed(e))))}null!=this.$?(a.$=this.$.Ia(),this.$.copyTo(a.$)):a.$=null;a.wa=this.wa;a.Hm=this.Hm;a.za=d;try{this.op(a)}catch(f){throw a.Oa(),g.i.fu();}};c.prototype.wD=function(){this.wa=0;this.Pg=-1;this.za=null;this.Pc(16777215)};c.prototype.Pc=function(a){16777215== |
|
a&&(this.Pg=-1,this.$x());this.Hm|=a;this.lM();this.vc()};c.prototype.wu=function(a){this.mc();if(this.ak(192))if(null==this.$?this.$=new g.Fh(this.description):this.$.Nf(this.description),this.B())this.$.Oa();else{this.hy(a);for(var b=1;b<this.description.Aa;b++)for(var d=this.description.Ed(b),e=g.ra.Va(d),f=this.za[b],h=0;h<e;h++){var k=new g.Nc;k.Oa();for(var m=0;m<this.wa;m++){var n=f.eg(m*e+h);k.Zb(n)}this.$.setInterval(d,h,k)}a&&this.Lf(192,!1)}};c.prototype.hy=function(){this.$.Oa();for(var a= |
|
this.za[0],b=new g.h,d=0;d<this.wa;d++)a.tc(2*d,b),this.$.Zb(b)};c.prototype.yp=function(a){a.Oa();for(var b=this.za[0],d=new g.h,e=0;e<this.wa;e++)b.tc(2*e,d),a.Zb(d)};c.prototype.bN=function(){if(this.Pg<this.wa){null==this.za&&(this.za=g.Yc.qI(this.description.Aa));this.Pg=2147483647;for(var a=0;a<this.description.Aa;a++){var b=this.description.Ed(a);if(null!=this.za[a]){var d=g.ra.Va(b),e=g.O.truncate(this.za[a].size/d);e<this.wa&&(e=g.O.truncate(this.Pg>this.wa+5?(5*this.wa+3)/4:this.wa),this.za[a].resize(e* |
|
d,g.ra.se(b)));e<this.Pg&&(this.Pg=e)}else this.za[a]=g.Yc.YE(b,this.wa),this.Pg=this.wa}}this.iy();this.Lf(32,!1)};c.prototype.dm=function(a){if(0>a)throw g.i.N();a!=this.wa&&(this.wa=a,this.Pc(65535))};c.prototype.om=function(a){if(!this.ak(1)){if(!this.ak(2))return 0;if(this.QT>=a)return this.ak(8)?1:2}return-1};c.prototype.Ch=function(a,b){this.QT=b;if(-1==a)this.Lf(1,!0),this.Lf(8,!0);else if(this.Lf(1,!1),this.Lf(8,!0),0==a)this.Lf(2,!1),this.Lf(4,!1);else if(1==a)this.Lf(2,!0),this.Lf(4,!1); |
|
else if(2==a)this.Lf(2,!0),this.Lf(4,!0);else throw g.i.fa("internal error.");};c.prototype.lM=function(){null!=this.Bb&&(this.Bb=null)};c.prototype.kD=function(a,b,d,e){if(0>a||a>=this.wa)throw g.i.fa("index out of bounds");if(0>b||b>=this.wa)throw g.i.fa("index out of bounds");this.mc();e.Nf(this.description);e.B()&&e.un();for(var f=0;f<this.description.Aa;f++)for(var h=this.description.Ed(f),k=0,m=g.ra.Va(h);k<m;k++){var n=this.za[f].eg(m*a+k),p=this.za[f].eg(m*b+k);e.setAttribute(h,k,g.lc.hq(n, |
|
p,d))}};c.prototype.yr=function(a,b){var d=this.za[0].o,e=d[2*a]-d[2*b];a=d[2*a+1]-d[2*b+1];return Math.sqrt(e*e+a*a)};c.prototype.KR=function(a){if(0>a||a>=this.wa)throw g.i.ce();this.mc();var b=new g.Sa;b.Nf(this.description);b.B()&&b.un();for(var d=0;d<this.description.Aa;d++)for(var e=this.description.kd(d),f=0,h=g.ra.Va(e);f<h;f++){var k=this.za[d].eg(h*a+f);b.setAttribute(e,f,k)}return b};c.prototype.Dh=function(a,b){if(0>a||a>=this.wa)throw g.i.ce();if(b.B())throw g.i.N();this.mc();for(var d= |
|
b.description,e=0;e<d.Aa;e++)for(var f=d.kd(e),h=g.ra.Va(f),k=0;k<h;k++){var m=b.Uc(f,k);this.setAttribute(f,a,k,m)}};c.prototype.lu=function(){return null};c.prototype.fj=function(){return null};return c}(g.aa);g.Gx=v})(D||={});(function(g){var v=function(){function l(){this.ob=this.Zn=null;this.Tm=124234251;this.Rv=!0;this.Qe=-1;this.ob=new g.$c(7);this.Zn=null}l.prototype.Vo=function(c){this.Zn=c};l.prototype.RP=function(){this.Rv=!1};l.prototype.De=function(c){this.ob.De(c)};l.prototype.Pr=function(c){var a= |
|
this.ob.Ce();this.rX(a);this.uX(c,a);return a};l.prototype.MP=function(c){this.ob.jd(c)};l.prototype.addElement=function(c,a){-1==a&&(-1==this.Qe&&(this.Qe=this.Pr(-1)),a=this.Qe);return this.FD(c,0,a)};l.prototype.KD=function(c){-1==this.Qe&&(this.Qe=this.Pr(-1));return this.FD(c,1,this.Qe)};l.prototype.xn=function(c){-1==this.Qe&&(this.Qe=this.Pr(-1));var a=this.Qe,b=this.ob.o;if(-1==a||-1==b[7*a])return c=this.ob.Ll([-1,-1,-1,c,this.gl(),-1,-1]),b=this.ob.o,b[7*a]=c,this.vp(-1,c,a,b),c;var d=-1== |
|
a?-1:b[7*a+2];c=this.ob.Ll([-1,-1,d,c,this.gl(),-1,-1]);b=this.ob.o;b[7*d+1]=c;this.oy(c,b);-1===b[7*c+2]&&(b[7*a]=c);this.vp(-1,c,a,b);return c};l.prototype.zu=function(c,a,b,d){var e=-1;-1==e&&(-1==this.Qe&&(this.Qe=this.Pr(-1)),e=this.Qe);var f=this.ob.o;if(-1==e||-1==f[7*e])return b=this.ob.Ll([-1,-1,-1,b,this.gl(),-1,-1]),f=this.ob.o,f[7*e]=b,this.vp(-1,b,e,f),b;if(d){d=-1!=a?this.Zn.compare(this,b,a):-1;var h=-1!=c?this.Zn.compare(this,b,c):1}else d=-1,h=1;if(0==d||0==h)return f[7*e+3]=0==d? |
|
a:c,-1;(-1!=a&&-1!=c?this.Tm>g.O.bB(this.Tm)>>1:-1!=a)?c=a:d=h;for(a=!0;;){if(0>d)if(h=f[7*c],-1!=h)c=h;else{d=c;b=this.ob.Ll([-1,-1,c,b,this.gl(),-1,-1]);f=this.ob.o;f[7*c]=b;break}else if(h=f[7*c+1],-1!=h)c=h;else{d=f[7*c+6];b=this.ob.Ll([-1,-1,c,b,this.gl(),-1,-1]);f=this.ob.o;f[7*c+1]=b;break}a&&(d*=-1,a=!1)}this.oy(b,f);-1===f[7*b+2]&&(f[7*e]=b);this.vp(d,b,e,f);return b};l.prototype.FF=function(){return this.iR(this.Qe)};l.prototype.vd=function(c,a){a=-1==a?this.Qe:a;this.Rv?this.LP(c,a):this.iY(c, |
|
a)};l.prototype.search=function(c,a){for(a=this.sv(a);-1!=a;){var b=this.Zn.compare(this,c,a);if(0==b)return a;a=0>b?this.ll(a):this.Xp(a)}return-1};l.prototype.IW=function(c){for(var a=this.sv(-1),b=-1;-1!=a;){var d=c.compare(this,a);if(0==d)return a;0>d?a=this.ll(a):(b=a,a=this.Xp(a))}return b};l.prototype.uJ=function(c){for(var a=this.sv(-1),b=-1;-1!=a;){var d=c.compare(this,a);if(0==d)return a;0>d?(b=a,a=this.ll(a)):a=this.Xp(a)}return b};l.prototype.ja=function(c){return this.ob.T(c,3)};l.prototype.ll= |
|
function(c){return this.ob.T(c,0)};l.prototype.Xp=function(c){return this.ob.T(c,1)};l.prototype.getParent=function(c){return this.ob.T(c,2)};l.prototype.lb=function(c){return this.ob.T(c,6)};l.prototype.we=function(c){return this.ob.T(c,5)};l.prototype.rc=function(c){return-1==c?this.kl(this.Qe):this.kl(c)};l.prototype.Fc=function(c){return-1==c?this.Zr(this.Qe):this.Zr(c)};l.prototype.ZR=function(c){return-1==c?this.bG(this.Qe):this.bG(c)};l.prototype.Sj=function(c,a){this.NB(c,a)};l.prototype.sv= |
|
function(c){return-1==c?this.YF(this.Qe):this.YF(c)};l.prototype.clear=function(){this.ob.mj(!1);this.Qe=-1};l.prototype.size=function(c){return-1==c?this.$F(this.Qe):this.$F(c)};l.prototype.KN=function(c,a){for(var b=a[7*c],d=a[7*c+1],e=a[7*c+4];-1!=b||-1!=d;){var f=-1!=b?a[7*b+4]:2147483647;d=-1!=d?a[7*d+4]:2147483647;if(e<=Math.min(f,d))break;f<=d?this.sJ(b,a):this.rJ(c,a);b=a[7*c];d=a[7*c+1]}};l.prototype.oy=function(c,a){if(this.Rv)for(var b=a[7*c+4],d=a[7*c+2];-1!=d&&a[7*d+4]>b;)a[7*d]==c?this.sJ(c, |
|
a):this.rJ(d,a),d=a[7*c+2]};l.prototype.rJ=function(c,a){var b=a[7*c+1];a[7*b+2]=a[7*c+2];a[7*c+2]=b;var d=a[7*b];a[7*c+1]=d;-1!=d&&(a[7*d+2]=c);a[7*b]=c;d=a[7*b+2];-1!=d&&(a[7*d]==c?a[7*d]=b:a[7*d+1]=b)};l.prototype.sJ=function(c,a){var b=a[7*c+2];a[7*c+2]=a[7*b+2];a[7*b+2]=c;var d=a[7*c+1];a[7*b]=d;-1!=d&&(a[7*d+2]=b);a[7*c+1]=b;d=a[7*c+2];-1!=d&&(a[7*d]===b?a[7*d]=c:a[7*d+1]=c)};l.prototype.Pk=function(c,a){this.ob.S(c,2,a)};l.prototype.TB=function(c,a){this.ob.S(c,0,a)};l.prototype.XB=function(c, |
|
a){this.ob.S(c,1,a)};l.prototype.WB=function(c,a){this.ob.S(c,5,a)};l.prototype.ex=function(c,a){this.ob.S(c,6,a)};l.prototype.XJ=function(c,a){this.ob.S(a,0,c)};l.prototype.rX=function(c){this.ob.S(c,4,0)};l.prototype.uX=function(c,a){this.ob.S(a,5,c)};l.prototype.YF=function(c){return-1==c?-1:this.ob.T(c,0)};l.prototype.kl=function(c){return-1==c?-1:this.ob.T(c,1)};l.prototype.Zr=function(c){return-1==c?-1:this.ob.T(c,2)};l.prototype.iR=function(c){return-1==c?-1:this.ob.T(c,3)};l.prototype.$F= |
|
function(c){return-1==c?0:this.ob.T(c,4)};l.prototype.bG=function(c){return this.ob.T(c,5)};l.prototype.Pw=function(){return this.ob.Ll([-1,-1,-1,void 0,this.gl(),-1,-1])};l.prototype.fl=function(c){-1!=c&&this.ob.jd(c)};l.prototype.gl=function(){this.Tm=g.O.bB(this.Tm);return this.Tm&1073741823};l.prototype.FD=function(c,a,b){var d=this.ob.o;if(-1==b||-1==d[7*b])return c=this.ob.Ll([-1,-1,-1,c,this.gl(),-1,-1]),d=this.ob.o,d[7*b]=c,this.vp(-1,c,b,d),c;for(var e=-1==b?-1:d[7*b];;){var f=-1==a?1:this.Zn.compare(this, |
|
c,e);if(0>f)if(f=this.ll(e),-1!=f)e=f;else{a=e;c=this.ob.Ll([-1,-1,e,c,this.gl(),-1,-1]);d=this.ob.o;d[7*e]=c;break}else{if(1==a&&0==f)return d[7*b+3]=e,-1;f=d[7*e+1];if(-1!=f)e=f;else{a=d[7*e+6];c=this.ob.Ll([-1,-1,e,c,this.gl(),-1,-1]);d=this.ob.o;d[7*e+1]=c;break}}}this.oy(c,d);-1===d[7*c+2]&&(d[7*b]=c);this.vp(a,c,b,d);return c};l.prototype.vp=function(c,a,b,d){if(-1!=c){var e=d[7*c+5];d[7*c+5]=a}else e=-1==b?-1:d[7*b+2];d[7*a+5]=e;-1!=e&&(d[7*e+6]=a);d[7*a+6]=c;c==(-1==b?-1:d[7*b+1])&&(d[7*b+ |
|
1]=a);-1==c&&(d[7*b+2]=a);d[7*b+4]=(-1==b?0:d[7*b+4])+1};l.prototype.AB=function(c,a){var b=this.ob.o,d=b[7*c+5];c=b[7*c+6];-1!=d?b[7*d+6]=c:b[7*a+1]=c;-1!=c?b[7*c+5]=d:b[7*a+2]=d;b[7*a+4]=-1===a?-1:b[7*a+4]-1};l.prototype.iY=function(c,a){this.AB(c,a);var b=this.ll(c),d=this.Xp(c),e=this.getParent(c),f=c;if(-1!=b&&-1!=d){this.Tm=g.O.bB(this.Tm);var h=1073741823<this.Tm?this.lb(c):this.we(c),k=this.getParent(h)==c;this.ob.gC(c,h,0);this.ob.gC(c,h,1);this.ob.gC(c,h,2);-1!=e?this.ll(e)==c?this.TB(e, |
|
h):this.XB(e,h):this.XJ(h,a);k?(b==h?(this.TB(h,c),this.Pk(d,h)):d==h&&(this.XB(h,c),this.Pk(b,h)),this.Pk(c,h),e=h):(this.Pk(b,h),this.Pk(d,h),e=this.getParent(c),f=h);b=this.ll(c);d=this.Xp(c);-1!=b&&this.Pk(b,c);-1!=d&&this.Pk(d,c)}b=-1!=b?b:d;-1==e?this.XJ(b,a):this.ll(e)==f?this.TB(e,b):this.XB(e,b);-1!=b&&this.Pk(b,e);this.fl(c)};l.prototype.LP=function(c,a){var b=this.ob.o;b[7*c+4]=2147483647;var d=-1,e=-1,f=-1===a?-1:b[7*a],h=f==c;h&&(d=b[7*f],e=b[7*f+1],-1==d&&-1==e)?(this.AB(f,a),this.fl(f), |
|
b[7*a]=-1):(this.KN(c,b),f=b[7*c+2],-1!=f&&(b[7*f]==c?b[7*f]=-1:b[7*f+1]=-1),this.AB(c,a),this.fl(c),h&&(b[7*a]=-1==d||-1!=b[7*d+2]?e:d))};l.prototype.NB=function(c,a){this.ob.S(c,3,a)};return l}();g.Yj=v})(D||={});(function(g){var v=function(){function l(c,a){void 0!==c&&this.K(c,a)}l.prototype.K=function(c,a){this.oa=c;this.va=a;this.normalize()};l.prototype.isIntersecting=function(c){return this.oa<=c.oa?this.va>=c.oa:c.va>=this.oa};l.prototype.move=function(c){this.B()||(this.oa+=c,this.va+=c)}; |
|
l.prototype.normalize=function(){if(!isNaN(this.oa)){if(this.oa>this.va){var c=this.oa;this.oa=this.va;this.va=c}isNaN(this.va)&&this.Oa()}};l.prototype.Oa=function(){this.va=this.oa=NaN};l.prototype.B=function(){return isNaN(this.oa)};l.prototype.Zb=function(c){"number"===typeof c?this.B()?this.va=this.oa=c:this.Lk(c):c.B()||(this.B()?(this.oa=c.oa,this.va=c.va):(this.oa>c.oa&&(this.oa=c.oa),this.va<c.va&&(this.va=c.va),this.oa>this.va&&this.Oa()))};l.prototype.Lk=function(c){c<this.oa?this.oa=c: |
|
c>this.va&&(this.va=c)};l.prototype.contains=function(c){return"number"===typeof c?c>=this.oa&&c<=this.va:c.oa>=this.oa&&c.va<=this.va};l.prototype.Ea=function(c){this.B()||c.B()?this.Oa():(this.oa<c.oa&&(this.oa=c.oa),this.va>c.va&&(this.va=c.va),this.oa>this.va&&this.Oa())};l.prototype.W=function(c){this.B()||(this.oa-=c,this.va+=c,this.va<this.oa&&this.Oa())};l.prototype.xr=function(){return this.B()?2.220446049250313E-14:2.220446049250313E-14*(Math.abs(this.oa)+Math.abs(this.va)+1)};l.prototype.KB= |
|
function(c,a){c>a?(this.oa=a,this.va=c):(this.oa=c,this.va=a)};l.prototype.It=function(c){return g.O.Rk(c,this.oa,this.va)};l.prototype.R=function(){return this.va-this.oa};l.prototype.sf=function(){return.5*(this.oa+this.va)};l.prototype.Nb=function(c){return c==this?!0:c instanceof l?this.B()&&c.B()?!0:this.oa!=c.oa||this.va!=c.va?!1:!0:!1};l.prototype.cc=function(){return g.O.uj(g.O.uj())};return l}();g.Nc=v})(D||={});(function(g){var v=new g.Nc,l=new g.Nc,c=function(){return function(){this.ne= |
|
null;this.pb=-1;this.sb=new g.yb;this.qA=55555555;this.Tv=this.Vv=!1;this.Uf=new g.Nc;this.Uf.KB(0,0)}}();g.IY=c;var a=function(){function b(d,e,f){this.g=d;this.Hk=NaN;this.NH=this.Kq=0;this.OH=NaN;this.qa=e;this.Nq=10*e;this.PH=this.QH=NaN;this.rg=!1;this.Dm=this.gt=this.Lo=this.Xs=this.Ws=-1;this.gA=f;this.TA=new c;this.YH=new c;g.O.truncate(3*d.fd/2)}b.prototype.mG=function(d,e,f,h){d.ne=null===h?null:h[f[5*e]];d.Tv=null!=d.ne;d.Tv||(h=f[5*e+2],-1!==h&&this.g.mW(f[5*e],f[5*h],d.sb),d.ne=d.sb, |
|
d.Uf.KB(d.sb.sa,d.sb.pa),d.Uf.va+=this.qa,d.sb.rI(),d.Vv=d.sb.la==d.sb.na,d.Vv||(d.qA=(d.sb.pa-d.sb.sa)/(d.sb.la-d.sb.na)))};b.prototype.OO=function(d,e){var f=d.zr(e,this.qa,!0);if(0!=f)return 2==f?this.Qy():this.xi();d.Yp(ia);d.Tr(ka);e.Yp(la);e.Tr(oa);aa.ma(this.Kq,this.Hk);ia.qb(la)&&this.Hk==ia.y?0>ka.compare(oa)?aa.L(ka):aa.L(oa):ia.qb(oa)&&this.Hk==ia.y?0>ka.compare(la)?aa.L(ka):aa.L(la):la.qb(ka)&&this.Hk==la.y?0>ia.compare(oa)?aa.L(ia):aa.L(oa):ka.qb(oa)&&this.Hk==ka.y&&(0>ia.compare(la)? |
|
aa.L(ia):aa.L(la));return d.Pe(aa.y,aa.x)<e.Pe(aa.y,aa.x)?-1:1};b.prototype.MO=function(d,e){if(d.sb.na==e.sb.na&&d.sb.sa==e.sb.sa)return d.sb.la==e.sb.la&&d.sb.pa==e.sb.pa?this.gA?this.Qy():0:this.PE(d,e);if(d.sb.la==e.sb.la&&d.sb.pa==e.sb.pa)return this.OE(d,e);var f=this.OE(d,e);d=this.PE(d,e);return 0>f&&0>d?-1:0<f&&0<d?1:this.xi()};b.prototype.IO=function(d,e){if(d.pa>e.pa){if(e.pa>e.sa&&e.la-e.na<2*this.qa&&d.vi(e.pa,e.la,this.qa))return this.xi()}else if((e.la-e.na)/(e.pa-e.sa)*(d.pa-d.sa)< |
|
this.Nq&&e.vi(d.pa,d.la,this.qa))return this.xi();return 1};b.prototype.JO=function(d,e){if(d.sa<e.sa){if(e.pa>e.sa&&e.la-e.na<2*this.qa&&d.vi(e.pa,e.la,this.qa))return this.xi()}else if((e.la-e.na)/(e.pa-e.sa)*(d.sa-d.pa)<this.Nq&&e.vi(d.sa,d.na,this.qa))return this.xi();return-1};b.prototype.KO=function(d,e){var f=new g.h;f.uc(e.wc(),e.ac());f.ar();f.normalize();var h=new g.h;h.uc(d.ac(),e.ac());var k=new g.h;k.uc(d.wc(),e.ac());h=h.Qh(f);f=k.Qh(f);k=Math.abs(h);var m=Math.abs(f);if(k<m){if(k<this.Nq&& |
|
e.vi(d.sa,d.na,this.qa))return this.xi()}else if(m<this.Nq&&e.vi(d.pa,d.la,this.qa))return this.xi();return 0>h&&0>f?-1:0<h&&0<f?1:this.xi()};b.prototype.NE=function(d,e){return d.na==e.na&&d.sa==e.sa?this.IO(d,e):d.la==e.la&&d.pa==e.pa?this.JO(d,e):this.KO(d,e)};b.prototype.LO=function(d,e){return d.la==e.la&&d.pa==e.pa&&d.na==e.na&&d.sa==e.sa?this.gA?this.Qy():0:this.xi()};b.prototype.OE=function(d,e){var f=1;if(d.sb.na<e.sb.na){f=-1;var h=d;d=e;e=h}d=d.sb;h=e.sb;var k=d.sa-h.sa;e=e.qA*(d.na-h.na); |
|
var m=this.Nq;return k<e-m?-f:k>e+m?f:h.vi(d.sa,d.na,this.qa)?this.xi():k<e?-f:f};b.prototype.PE=function(d,e){var f=1;if(e.sb.la<d.sb.la){f=-1;var h=d;d=e;e=h}d=d.sb;h=e.sb;var k=d.pa-h.sa;e=e.qA*(d.la-h.na);var m=this.Nq;return k<e-m?-f:k>e+m?f:h.vi(d.pa,d.la,this.qa)?this.xi():k<e?-f:f};b.prototype.Qy=function(){this.rg=!0;this.Ni=new g.Md(5,this.Lo,this.gt);return-1};b.prototype.xi=function(){this.rg=!0;this.gA?this.Ni=new g.Md(4,this.Lo,this.gt):this.gt=this.Lo=this.Xs=this.Ws=-1;return-1};b.prototype.NO= |
|
function(d,e,f,h){if(this.rg)return-1;var k=this.OH==this.Hk&&this.NH==this.Kq;if(k&&d==this.Ws)var m=this.PH;else m=NaN,this.Ws=-1;k&&e==this.Xs?k=this.QH:(k=NaN,this.Xs=-1);f.ne.ZI(v);h.ne.ZI(l);if(v.va<l.oa)return-1;if(l.va<v.oa)return 1;this.OH=this.Hk;this.NH=this.Kq;isNaN(m)&&(this.Ws=d,this.PH=m=d=f.ne.Pe(this.Hk,this.Kq));isNaN(k)&&(this.Xs=e,this.QH=k=d=h.ne.Pe(this.Hk,this.Kq));return Math.abs(m-k)<=this.qa?this.OO(f.ne,h.ne):m<k?-1:m>k?1:0};b.prototype.Kr=function(){this.rg=!1};b.prototype.rm= |
|
function(){return this.Ni};b.prototype.$J=function(d,e){this.Hk=d;this.Kq=e;this.gt=this.Lo=this.Xs=this.Ws=-1};b.prototype.compare=function(d,e,f){if(this.rg)return-1;d=d.ja(f);this.Dm=f;return this.RE(e,e,d,d)};b.prototype.RE=function(d,e,f,h){if(this.Lo==e)var k=this.TA;else this.Lo=e,k=this.TA,this.TA.pb=d,this.mG(k,e,this.g.td.o,this.g.We);if(null==m){this.gt=h;var m=this.YH;this.YH.pb=f;this.mG(m,h,this.g.td.o,this.g.We)}if(k.Tv||m.Tv)return this.NO(e,h,k,m);if(k.Uf.va<m.Uf.oa)return-1;if(m.Uf.va< |
|
k.Uf.oa)return 1;d=k.Vv?1:0;d|=m.Vv?2:0;return 0==d?this.MO(k,m):1==d?this.NE(k.sb,m.sb):2==d?-1*this.NE(m.sb,k.sb):this.LO(k.sb,m.sb)};return b}();g.UC=a})(D||={});(function(g){var v=function(){function l(c,a){this.g=c;this.qa=a;this.rg=!1;this.Lo=-1;this.Uf=new g.Nc;this.Gq=new g.h;this.Gq.Rc();this.ie=new g.yb;this.Dm=-1;this.BA=1.7976931348623157E308}l.prototype.Kr=function(){this.rg=!1;this.BA=1.7976931348623157E308};l.prototype.Dh=function(c){this.Gq.L(c)};l.prototype.compare=function(c,a){return this.SE(a, |
|
c.ja(a))};l.prototype.SE=function(c,a){var b=null!=this.g.bc(a);b||(this.g.ed(a,this.ie),this.Uf.KB(this.ie.sa,this.ie.pa));if(b)throw g.i.fa("not implemented");if(this.Gq.x+this.qa<this.Uf.oa)return-1;if(this.Gq.x-this.qa>this.Uf.va)return 1;if(this.ie.na==this.ie.la)return this.Dm=c,this.rg=!0,0;this.ie.rI();b=this.ie.ac();a=new g.h;a.uc(this.ie.wc(),b);a.ar();var d=new g.h;d.uc(this.Gq,b);b=a.Qh(d);b/=a.length();return b<10*-this.qa?-1:b>10*this.qa?1:this.ie.qs(this.Gq,this.qa)&&(a=Math.abs(b), |
|
a<this.BA&&(this.Dm=c,this.BA=a),this.rg=!0,a<.25*this.qa)?0:0>b?-1:1};return l}();g.aM=v})(D||={});(function(g){function v(c,a,b,d){b=new Float64Array(c.subarray(b,d));c.set(b,a)}var l=function(){function c(a){this.Pb=this.pk=!1;this.o=null;var b=a;2>b&&(b=2);this.o=new Float64Array(b);this.size=a}c.prototype.rotate=function(a,b,d){if(this.Pb)throw g.i.fa("invalid_call");if(b<a||b>d||a>d)throw g.i.N();a!=b&&d!=b&&(this.ni(a,b-a,1),this.ni(b,d-b,1),this.ni(a,d-a,1))};c.qf=function(a,b){var d=new c(a), |
|
e=d.o;2>a&&(a=2);if(0!==b)for(var f=0;f<a;f++)e[f]=b;return d};c.Bn=function(a){var b=new c(0);b.o=new Float64Array(a.o);b.size=a.size;return b};c.Lr=function(a,b){var d=new c(0);d.size=a.size;d.size>b&&(d.size=b);b=d.size;2>b&&(b=2);d.o=new Float64Array(b);d.o.set(a.o.length<=b?a.o:a.o.subarray(0,b),0);return d};c.prototype.Jb=function(a){0>=a||(null==this.o?this.o=new Float64Array(a):a<=this.o.length||(0<this.o.length?(a=new Float64Array(a),a.set(this.o),this.o=a):this.o=new Float64Array(a)))}; |
|
c.prototype.read=function(a){return this.o[a]};c.prototype.tc=function(a,b){b.x=this.o[a];b.y=this.o[a+1]};c.prototype.get=function(a){return this.o[a]};c.prototype.write=function(a,b){if(this.Pb)throw g.i.Hb();this.o[a]=b};c.prototype.set=function(a,b){if(this.Pb)throw g.i.Hb();this.o[a]=b};c.prototype.Tt=function(a,b){if(this.Pb)throw g.i.Hb();this.o[a]=b.x;this.o[a+1]=b.y};c.prototype.add=function(a){this.resize(this.size+1);this.o[this.size-1]=a};c.prototype.GB=function(a){return c.Lr(this,a)}; |
|
c.prototype.eg=function(a){return this.read(a)};c.prototype.resize=function(a,b){void 0===b&&(b=0);if(this.pk)throw g.i.fa("invalid call. Attribute Stream is locked and cannot be resized.");if(a<=this.size){if(30<this.o.length&&5*a/4<this.o.length){var d=new Float64Array(this.o,0,a);this.o=d}}else{a>this.o.length&&(d=g.O.truncate(64>a?Math.max(2*a,4):5*a/4),d=new Float64Array(d),d.set(this.o),this.o=d);d=this.o;for(var e=this.size;e<a;e++)d[e]=b}this.size=a};c.prototype.Bh=function(a){(null==this.o|| |
|
a>this.o.length)&&this.resize(a);if(this.pk)throw g.i.fa("invalid call. Attribute Stream is locked and cannot be resized.");this.size=a};c.prototype.pr=function(a,b){this.write(a,b)};c.prototype.An=function(a,b,d){for(var e=this.size;b<e&&b<d;b++)a=g.O.uj(this.read(b));return a};c.prototype.Nb=function(a,b,d){if(null==a||!(a instanceof c))return!1;var e=this.size,f=a.size;if(d>e||d>f&&e!=f)return!1;for(d>e&&(d=e);b<d;b++)if(this.read(b)!=a.read(b))return!1;return!0};c.prototype.addRange=function(a, |
|
b,d,e,f){if(this.Pb)throw g.i.Hb();if(!e&&(1>f||0!=d%f))throw g.i.N();var h=this.size;this.resize(h+d);if(e)this.o.set(a.o.subarray(b,b+d),h);else{e=d;for(var k=0;k<d;k+=f){e-=f;for(var m=0;m<f;m++)this.o[h+k+m]=a.o[b+e+m]}}};c.prototype.Mn=function(a,b,d,e,f,h,k){if(this.Pb)throw g.i.Hb();if(!f&&(1>h||0!=e%h))throw g.i.N();var m=this.size-k;m<e&&this.resize(this.size+e-m);v(this.o,a+e,a,a+(k-a));this.o==b.o&&a<d&&(d+=e);if(f)this.o.set(b.o.subarray(d,d+e),a);else for(f=e,k=0;k<e;k+=h)for(f-=h,m= |
|
0;m<h;m++)this.o[a+k+m]=b.o[d+f+m]};c.prototype.Iz=function(a,b,d,e,f,h){if(this.Pb)throw g.i.Hb();0>h&&(h=this.size);this.size+2*e>this.o.length?this.resize(this.size+2*e):this.size+=2*e;v(this.o,a+2*e,a,a+(h-a));if(f)for(f=0;f<e;f++)h=b[d++],this.o[a++]=h.x,this.o[a++]=h.y;else{f=0;for(var k=e-1;f<e;++f)h=b[d+k],this.o[a++]=h.x,this.o[a++]=h.y,k--}};c.prototype.Ln=function(a,b,d,e){if(this.Pb)throw g.i.Hb();e-=a;v(this.o,a+e,a,a+e);for(e=0;e<d;e++)this.o[a+e]=b};c.prototype.vj=function(a,b,d){if(this.Pb)throw g.i.Hb(); |
|
v(this.o,a+2,a,a+(d-a));this.o[a]=b.x;this.o[a+1]=b.y};c.prototype.Ut=function(a,b,d,e,f,h){if(0>a||0>b||0>e)throw g.i.N();if(!f&&(0>=h||0!=b%h))throw g.i.N();if(d.size<e+b)throw g.i.N();if(0!=b)if(this.size<b+a&&this.resize(b+a),d==this)this.Ar(a,b,e,f,h);else if(f)for(f=0;f<b;f++)this.o[a]=d.o[e],a++,e++;else if(e=e+b-h,1==h)for(f=0;f<b;f++)this.o[a]=d.o[e],a++,e--;else for(f=0,b=g.O.truncate(b/h);f<b;f++){for(var k=0;k<h;k++)this.o[a+k]=d.o[e+k];a+=h;e-=h}};c.prototype.En=function(a,b,d){if(this.Pb)throw g.i.Hb(); |
|
if(a+b>this.size)throw g.i.Hb();0<d-(a+b)&&v(this.o,a,a+b,a+(d-(a+b))+b);this.size-=b};c.prototype.ni=function(a,b,d){if(this.Pb)throw g.i.Hb();if(1>d||0!=b%d)throw g.i.Hb();for(var e=b>>1,f=0;f<e;f+=d){b-=d;for(var h=0;h<d;h++){var k=this.o[a+f+h];this.o[a+f+h]=this.o[a+b+h];this.o[a+b+h]=k}}};c.prototype.Wj=function(a,b,d){if(0>b||0>d||0>b||d+b>this.size)throw g.i.N();for(var e=b;e<b+d;e++)this.o[e]=a};c.prototype.Ar=function(a,b,d,e,f){if(!e||a!=d)if(this.o.set(this.o.subarray(d,d+b),a),!e)for(d= |
|
a,a=a+b-f,e=0,b=g.O.truncate(b/2);e<b;e++){for(var h=0;h<f;h++){var k=this.o[d+h];this.o[d+h]=this.o[a+h];this.o[a+h]=k}d+=f;a-=f}};c.prototype.vC=function(a,b,d,e,f){if(0>a||0>b||0>e)throw g.i.N();if(0!=b)for(this.size<(b<<1)+a&&this.resize((b<<1)+a),f||(a+=b-1<<1),f=f?2:-2,b+=e;e<b;e++)this.o[a]=d[e].x,this.o[a+1]=d[e].y,a+=f};c.prototype.uC=function(a,b,d){if(0>a||0>b)throw g.i.N();if(0!=b){this.size<(b<<1)+a&&this.resize((b<<1)+a);b+=0;for(var e=0;e<b;e++)this.o[a]=d[e][0],this.o[a+1]=d[e][1], |
|
a+=2}};c.prototype.Vw=function(a,b,d,e,f){if(0>a||0>b||0>e||this.size<b+a)throw g.i.N();if(f)for(f=0;f<b;f++)d[e+f]=this.o[a+f];else for(e=e+b-1;a<b;a++)d[e]=this.o[a],e--};c.prototype.uB=function(a,b,d){if(0>a||0>b||this.size<(b>>1)+a)throw g.i.N();if(0!=b){b=0+b;for(var e=0;e<b;e++)d[e][0]=this.o[a],d[e][1]=this.o[a+1],a+=2}};c.prototype.clear=function(a){a?this.resize(0):this.Bh(0)};c.prototype.ix=function(){this.pk=this.Pb=!0};c.prototype.Vd=function(a,b,d){Array.prototype.sort.call(this.o.subarray(a, |
|
b),d)};c.prototype.Tp=function(){return 1};return c}();g.be=l})(D||={});(function(g){function v(c,a,b,d){b=new Int32Array(c.subarray(b,d));c.set(b,a)}g.rY=function(){return function(){this.random=1973}}();var l=function(){function c(a){this.Pb=this.pk=!1;this.o=null;var b=a;2>b&&(b=2);this.o=new Int32Array(b);this.size=a}c.prototype.rotate=function(a,b,d){if(this.Pb)throw g.i.fa("invalid_call");if(b<a||b>d||a>d)throw g.i.N();a!=b&&d!=b&&(this.ni(a,b-a,1),this.ni(b,d-b,1),this.ni(a,d-a,1))};c.qf=function(a, |
|
b){var d=new c(a),e=d.o;2>a&&(a=2);if(0!==b)for(var f=0;f<a;f++)e[f]=b;return d};c.Bn=function(a){var b=new c(0);b.o=new Int32Array(a.o);b.size=a.size;return b};c.Lr=function(a,b){var d=new c(0);d.size=a.size;d.size>b&&(d.size=b);b=d.size;2>b&&(b=2);d.o=new Int32Array(b);d.o.set(a.o.length<=b?a.o:a.o.subarray(0,b),0);return d};c.prototype.Jb=function(a){0>=a||(null==this.o?this.o=new Int32Array(a):a<=this.o.length||(0<this.o.length?(a=new Int32Array(a),a.set(this.o),this.o=a):this.o=new Int32Array(a)))}; |
|
c.prototype.read=function(a){return this.o[a]};c.prototype.tc=function(a,b){b.x=this.o[a];b.y=this.o[a+1]};c.prototype.get=function(a){return this.o[a]};c.prototype.write=function(a,b){if(this.Pb)throw g.i.Hb();this.o[a]=b};c.prototype.set=function(a,b){if(this.Pb)throw g.i.Hb();this.o[a]=b};c.prototype.Tt=function(a,b){if(this.Pb)throw g.i.Hb();this.o[a]=b.x;this.o[a+1]=b.y};c.prototype.add=function(a){this.resize(this.size+1);this.o[this.size-1]=a};c.prototype.GB=function(a){return c.Lr(this,a)}; |
|
c.prototype.eg=function(a){return this.read(a)};c.prototype.resize=function(a,b){void 0===b&&(b=0);if(this.pk)throw g.i.fa("invalid call. Attribute Stream is locked and cannot be resized.");if(a<=this.size){if(30<this.o.length&&5*a/4<this.o.length){var d=new Int32Array(this.o,0,a);this.o=d}}else{a>this.o.length&&(d=g.O.truncate(64>a?Math.max(2*a,4):5*a/4),d=new Int32Array(d),d.set(this.o),this.o=d);d=this.o;for(var e=this.size;e<a;e++)d[e]=b}this.size=a};c.prototype.Bh=function(a){(null==this.o|| |
|
a>this.o.length)&&this.resize(a);if(this.pk)throw g.i.fa("invalid call. Attribute Stream is locked and cannot be resized.");this.size=a};c.prototype.pr=function(a,b){this.write(a,b)};c.prototype.An=function(a,b,d){for(var e=this.size;b<e&&b<d;b++)a=g.O.Th(this.read(b),a);return a};c.prototype.Nb=function(a,b,d){if(null==a||!(a instanceof c))return!1;var e=this.size,f=a.size;if(d>e||d>f&&e!=f)return!1;for(d>e&&(d=e);b<d;b++)if(this.read(b)!=a.read(b))return!1;return!0};c.prototype.addRange=function(a, |
|
b,d,e,f){if(this.Pb)throw g.i.Hb();if(!e&&(1>f||0!=d%f))throw g.i.N();var h=this.size;this.resize(h+d);if(e)this.o.set(a.o.subarray(b,b+d),h);else{e=d;for(var k=0;k<d;k+=f){e-=f;for(var m=0;m<f;m++)this.o[h+k+m]=a.o[b+e+m]}}};c.prototype.Mn=function(a,b,d,e,f,h,k){if(this.Pb)throw g.i.Hb();if(!f&&(1>h||0!=e%h))throw g.i.N();v(this.o,a+e,a,a+(k-a));this.o==b.o&&a<d&&(d+=e);if(f)this.o.set(b.o.subarray(d,d+e),a);else for(f=e,k=0;k<e;k+=h){f-=h;for(var m=0;m<h;m++)this.o[a+k+m]=b.o[d+f+m]}};c.prototype.Iz= |
|
function(a,b,d,e,f,h){if(this.Pb)throw g.i.Hb();0>h&&(h=this.size);this.size+2*e>this.o.length?this.resize(this.size+2*e):this.size+=2*e;v(this.o,a+2*e,a,a+(h-a));if(f)for(f=0;f<e;f++)h=b[d++],this.o[a++]=h.x,this.o[a++]=h.y;else{f=0;for(var k=e-1;f<e;++f)h=b[d+k],this.o[a++]=h.x,this.o[a++]=h.y,k--}};c.prototype.Ln=function(a,b,d,e){if(this.Pb)throw g.i.Hb();e-=a;v(this.o,a+e,a,a+e);for(e=0;e<d;e++)this.o[a+e]=b};c.prototype.vj=function(a,b,d){if(this.Pb)throw g.i.Hb();v(this.o,a+2,a,a+(d-a));this.o[a]= |
|
b.x;this.o[a+1]=b.y};c.prototype.Ut=function(a,b,d,e,f,h){if(0>a||0>b||0>e)throw g.i.N();if(!f&&(0>=h||0!=b%h))throw g.i.N();if(d.size<e+b)throw g.i.N();if(0!=b)if(this.size<b+a&&this.resize(b+a),d==this)this.Ar(a,b,e,f,h);else if(f)for(f=0;f<b;f++)this.o[a]=d.o[e],a++,e++;else if(e=e+b-h,1==h)for(f=0;f<b;f++)this.o[a]=d.o[e],a++,e--;else for(f=0,b=g.O.truncate(b/h);f<b;f++){for(var k=0;k<h;k++)this.o[a+k]=d.o[e+k];a+=h;e-=h}};c.prototype.En=function(a,b,d){if(this.Pb)throw g.i.Hb();if(a+b>this.size)throw g.i.Hb(); |
|
0<d-(a+b)&&v(this.o,a,a+b,a+(d-(a+b))+b);this.size-=b};c.prototype.ni=function(a,b,d){if(this.Pb)throw g.i.Hb();if(1>d||0!=b%d)throw g.i.Hb();for(var e=b>>1,f=0;f<e;f+=d){b-=d;for(var h=0;h<d;h++){var k=this.o[a+f+h];this.o[a+f+h]=this.o[a+b+h];this.o[a+b+h]=k}}};c.prototype.Wj=function(a,b,d){if(0>b||0>d||0>b||d+b>this.size)throw g.i.N();for(var e=b;e<b+d;e++)this.o[e]=a};c.prototype.Ar=function(a,b,d,e,f){if(!e||a!=d)if(this.o.set(this.o.subarray(d,d+b),a),!e)for(d=a,a=a+b-f,e=0,b=g.O.truncate(b/ |
|
2);e<b;e++){for(var h=0;h<f;h++){var k=this.o[d+h];this.o[d+h]=this.o[a+h];this.o[a+h]=k}d+=f;a-=f}};c.prototype.vC=function(a,b,d,e,f){if(0>a||0>b||0>e)throw g.i.N();if(0!=b)for(this.size<(b<<1)+a&&this.resize((b<<1)+a),f||(a+=b-1<<1),f=f?2:-2,b+=e;e<b;e++)this.o[a]=d[e].x,this.o[a+1]=d[e].y,a+=f};c.prototype.Vw=function(a,b,d,e,f){if(0>a||0>b||0>e||this.size<b+a)throw g.i.N();if(f)for(f=0;f<b;f++)d[e+f]=this.o[a+f];else for(e=e+b-1;a<b;a++)d[e]=this.o[a],e--};c.prototype.clear=function(a){a?this.resize(0): |
|
this.Bh(0)};c.prototype.ix=function(){this.pk=this.Pb=!0};c.prototype.Vd=function(a,b,d){10>b-a?c.rG(this.o,a,b,d):c.qB(this.o,a,b-1,d)};c.prototype.Tp=function(){return 2};c.prototype.Fc=function(){return this.o[this.size-1]};c.prototype.If=function(){this.resize(this.size-1)};c.prototype.bX=function(a){this.o[this.size-1]=a};c.prototype.SV=function(a){a<this.size-1&&(this.o[a]=this.o[this.size-1]);this.resize(this.size-1)};c.prototype.lF=function(a){for(var b=0,d=this.size;b<d;b++)if(this.o[b]== |
|
a)return b;return-1};c.prototype.hG=function(a){return 0<=this.lF(a)};c.rG=function(a,b,d,e){for(var f=b;f<d;f++){for(var h=a[f],k=f-1;k>=b&&0<e(a[k],h);)a[k+1]=a[k],k--;a[k+1]=h}};c.tx=function(a,b,d){var e=a[d];a[d]=a[b];a[b]=e};c.qB=function(a,b,d,e){if(!(b>=d))for(;;){if(9>d-b){c.rG(a,b,d+1,e);break}var f=a[b];c.tx(a,b,d);for(var h=b,k=b;k<d;k++)0>=e(a[k],f)&&(c.tx(a,h,k),h+=1);c.tx(a,h,d);h-b<d-h?(c.qB(a,b,h-1,e),b=h+1):(c.qB(a,h+1,d,e),d=h-1)}};return c}();g.ia=l})(D||={});(function(g){function v(c, |
|
a,b,d){b=new Int8Array(c.subarray(b,d));c.set(b,a)}var l=function(){function c(a){this.o=null;var b=a;2>b&&(b=2);this.o=new Int8Array(b);this.size=a}c.prototype.rotate=function(a,b,d){if(this.Pb)throw g.i.fa("invalid_call");if(b<a||b>d||a>d)throw g.i.N();a!=b&&d!=b&&(this.ni(a,b-a,1),this.ni(b,d-b,1),this.ni(a,d-a,1))};c.qf=function(a,b){var d=new c(a),e=d.o;2>a&&(a=2);if(0!==b)for(var f=0;f<a;f++)e[f]=b;return d};c.Bn=function(a){var b=new c(0);b.o=new Int8Array(a.o);b.size=a.size;return b};c.Lr= |
|
function(a,b){var d=new c(0);d.size=a.size;d.size>b&&(d.size=b);b=d.size;2>b&&(b=2);d.o=new Int8Array(b);d.o.set(a.o.length<=b?a.o:a.o.subarray(0,b),0);return d};c.prototype.Jb=function(a){0>=a||(null==this.o?this.o=new Int8Array(a):a<=this.o.length||(0<this.o.length?(a=new Int8Array(a),a.set(this.o),this.o=a):this.o=new Int8Array(a)))};c.prototype.read=function(a){return this.o[a]};c.prototype.tc=function(a,b){b.x=this.o[a];b.y=this.o[a+1]};c.prototype.get=function(a){return this.o[a]};c.prototype.write= |
|
function(a,b){if(this.Pb)throw g.i.Hb();this.o[a]=b};c.prototype.set=function(a,b){if(this.Pb)throw g.i.Hb();this.o[a]=b};c.prototype.Tt=function(a,b){if(this.Pb)throw g.i.Hb();this.o[a]=b.x;this.o[a+1]=b.y};c.prototype.add=function(a){this.resize(this.size+1);this.o[this.size-1]=a};c.prototype.GB=function(a){return c.Lr(this,a)};c.prototype.eg=function(a){return this.read(a)};c.prototype.resize=function(a,b){void 0===b&&(b=0);if(this.pk)throw g.i.fa("invalid call. Attribute Stream is locked and cannot be resized."); |
|
if(a<=this.size){if(30<this.o.length&&5*a/4<this.o.length){var d=new Int8Array(this.o,0,a);this.o=d}}else{a>this.o.length&&(d=g.O.truncate(64>a?Math.max(2*a,4):5*a/4),d=new Int8Array(d),d.set(this.o),this.o=d);d=this.o;for(var e=this.size;e<a;e++)d[e]=b}this.size=a};c.prototype.Bh=function(a){(null==this.o||a>this.o.length)&&this.resize(a);if(this.pk)throw g.i.fa("invalid call. Attribute Stream is locked and cannot be resized.");this.size=a};c.prototype.pr=function(a,b){this.write(a,b)};c.prototype.An= |
|
function(a,b,d){for(var e=this.size;b<e&&b<d;b++)a=g.O.Th(this.read(b),a);return a};c.prototype.Nb=function(a,b,d){if(null==a||!(a instanceof c))return!1;var e=this.size,f=a.size;if(d>e||d>f&&e!=f)return!1;for(d>e&&(d=e);b<d;b++)if(this.read(b)!=a.read(b))return!1;return!0};c.prototype.addRange=function(a,b,d,e,f){if(this.Pb)throw g.i.Hb();if(!e&&(1>f||0!=d%f))throw g.i.N();var h=this.size;this.resize(h+d);if(e)this.o.set(a.o.subarray(b,b+d),h);else{e=d;for(var k=0;k<d;k+=f){e-=f;for(var m=0;m<f;m++)this.o[h+ |
|
k+m]=a.o[b+e+m]}}};c.prototype.Mn=function(a,b,d,e,f,h,k){if(this.Pb)throw g.i.Hb();if(!f&&(1>h||0!=e%h))throw g.i.N();v(this.o,a+e,a,a+(k-a));this.o==b.o&&a<d&&(d+=e);if(f)this.o.set(b.o.subarray(d,d+e),a);else for(f=e,k=0;k<e;k+=h){f-=h;for(var m=0;m<h;m++)this.o[a+k+m]=b.o[d+f+m]}};c.prototype.Ln=function(a,b,d,e){if(this.Pb)throw g.i.Hb();e-=a;v(this.o,a+e,a,a+e);for(e=0;e<d;e++)this.o[a+e]=b};c.prototype.Iz=function(a,b,d,e,f,h){if(this.Pb)throw g.i.Hb();0>h&&(h=this.size);this.size+2*e>this.o.length? |
|
this.resize(this.size+2*e):this.size+=2*e;v(this.o,a+2*e,a,a+(h-a));if(f)for(f=0;f<e;f++)h=b[d++],this.o[a++]=h.x,this.o[a++]=h.y;else{f=0;for(var k=e-1;f<e;++f)h=b[d+k],this.o[a++]=h.x,this.o[a++]=h.y,k--}};c.prototype.vj=function(a,b,d){if(this.Pb)throw g.i.Hb();v(this.o,a+2,a,a+(d-a));this.o[a]=b.x;this.o[a+1]=b.y};c.prototype.Ut=function(a,b,d,e,f,h){if(0>a||0>b||0>e)throw g.i.N();if(!f&&(0>=h||0!=b%h))throw g.i.N();if(d.size<e+b)throw g.i.N();if(0!=b)if(this.size<b+a&&this.resize(b+a),d==this)this.Ar(a, |
|
b,e,f,h);else if(f)for(f=0;f<b;f++)this.o[a]=d.o[e],a++,e++;else if(e=e+b-h,1==h)for(f=0;f<b;f++)this.o[a]=d.o[e],a++,e--;else for(f=0,b=g.O.truncate(b/h);f<b;f++){for(var k=0;k<h;k++)this.o[a+k]=d.o[e+k];a+=h;e-=h}};c.prototype.En=function(a,b,d){if(this.Pb)throw g.i.Hb();if(a+b>this.size)throw g.i.Hb();0<d-(a+b)&&v(this.o,a,a+b,a+(d-(a+b))+b);this.size-=b};c.prototype.ni=function(a,b,d){if(this.Pb)throw g.i.Hb();if(1>d||0!=b%d)throw g.i.Hb();for(var e=b>>1,f=0;f<e;f+=d){b-=d;for(var h=0;h<d;h++){var k= |
|
this.o[a+f+h];this.o[a+f+h]=this.o[a+b+h];this.o[a+b+h]=k}}};c.prototype.Wj=function(a,b,d){if(0>b||0>d||0>b||d+b>this.size)throw g.i.N();for(var e=b;e<b+d;e++)this.o[e]=a};c.prototype.Ar=function(a,b,d,e,f){if(!e||a!=d)if(this.o.set(this.o.subarray(d,d+b),a),!e)for(d=a,a=a+b-f,e=0,b=g.O.truncate(b/2);e<b;e++){for(var h=0;h<f;h++){var k=this.o[d+h];this.o[d+h]=this.o[a+h];this.o[a+h]=k}d+=f;a-=f}};c.prototype.vC=function(a,b,d,e,f){if(0>a||0>b||0>e)throw g.i.N();if(0!=b)for(this.size<(b<<1)+a&&this.resize((b<< |
|
1)+a),f||(a+=b-1<<1),f=f?2:-2,b+=e;e<b;e++)this.o[a]=d[e].x,this.o[a+1]=d[e].y,a+=f};c.prototype.Vw=function(a,b,d,e,f){if(0>a||0>b||0>e||this.size<b+a)throw g.i.N();if(f)for(f=0;f<b;f++)d[e+f]=this.o[a+f];else for(e=e+b-1;a<b;a++)d[e]=this.o[a],e--};c.prototype.clear=function(a){a?this.resize(0):this.Bh(0)};c.prototype.ix=function(){this.pk=this.Pb=!0};c.prototype.Vd=function(a,b,d){b=this.o.subarray(a,b);Array.prototype.sort.call(b,d);this.o.set(b,a)};c.prototype.zJ=function(a,b){if(this.Pb)throw g.i.fa("invalid call. Attribute Stream is read only."); |
|
this.o[a]|=b};c.prototype.KE=function(a,b){if(this.Pb)throw g.i.fa("invalid call. Attribute Stream is read only.");this.o[a]&=~b};c.prototype.Tp=function(){return 1};return c}();g.pn=l})(D||={});(function(g){g.Yc=function(){function v(){}v.Mr=function(l,c){return g.pn.qf(l,c)};v.Dn=function(l,c){return g.be.qf(l,c)};v.pP=function(l,c,a){switch(l){case 1:l=g.be.qf(c,a);break;case 2:l=g.ia.qf(c,a);break;case 4:l=g.pn.qf(c,a);break;default:throw g.i.Qa();}return l};v.YE=function(l,c){return v.pP(g.ra.Tp(l), |
|
c*g.ra.Va(l),g.ra.se(l))};v.Oh=function(l,c){return g.ia.qf(l,c)};v.qI=function(l){var c,a=[];for(c=0;c<l;c++)a.push(null);return a};return v}()})(D||={});(function(g){g.ga=function(){return function(v){void 0===v&&(v=0);this.u=v}}()})(D||={});(function(g){g.NL=function(){function v(){}v.bind=function(l){g.Sc=l.PeDefs;g.pf=l.PeFactory;g.NC=l.PeVertcs;g.ej=l.PeCSTransformations;g.MC=l.PeGTTransformations;g.LL=l.PeGeogtran;g.KL=l.PeFactoryCodechange;g.LC=l.PeGCSExtent;g.Cg=l.PePCSInfo;g.ML=l.PeHorizon; |
|
g.JL=l.PeCoordsys;g.lp=l.PeGTlistExtended;g.lp.PE_GTLIST_OPTS_USE_DEFAULT=128;g.pf.initialize(null);g.Mx=l.PeGTlistExtendedEntry;g.pf.fromString(g.Sc.PE_TYPE_UNIT,'UNIT["Meter",1.0]')};return v}();g.pf=null;g.NC=null;g.JL=null;g.ML=null;g.Cg=null;g.lp=null;g.Mx=null;g.LC=null;g.KL=null;g.LL=null;g.Sc=null;g.MC=null;g.ej=null})(D||={});(function(g){var v=function(){function l(){}l.Mb=function(c,a){return 0<=a?l.P(c):-l.P(c)};l.P=function(c){return 0>c?-c:c};l.ti=function(c){return 3.552713678800501E-15> |
|
c};l.KC=function(c,a,b){return l.P(c-a)<=b*(1+(l.P(c)+l.P(a))/2)};l.Y=function(c,a){return l.KC(c,a,3.552713678800501E-15)};l.FL=function(c){return 3.552713678800501E-15>=l.P(c)};l.Cd=function(c){return l.FL(c)};return l}();g.s=v;g.F=function(){function l(){}l.gp=function(c,a){c=v.P(c);a=v.P(a);var b=0;0!=c+a&&(c>a?(b=a/c,b=c*Math.sqrt(1+b*b)):(b=c/a,b=a*Math.sqrt(1+b*b)));return b};l.Wq=function(c,a,b,d,e){for(var f=[0,0,0],h=[0,0,0],k=0;2>=k;k++)a[k]-=c[k],b[k]-=a[k];b=f[1]*h[2]-f[2]*h[1];a=f[2]* |
|
h[0]-f[0]*h[2];f=f[0]*h[1]-f[1]*h[0];c=-1*(b*c[0]+a*c[1]+f*c[2]);d[0]=b;d[1]=a;d[2]=f;d[3]=c;h=l.on(d);d[0]/=h;d[1]/=h;d[2]/=h;d[3]/=h;0!=e&&(h=v.Cd(f)?v.Cd(c)?v.Mb(1,a):-v.Mb(1,c):v.Mb(1,f),h*=v.Mb(1,e),d[0]*=h,d[1]*=h,d[2]*=h,d[3]*=h)};l.zx=function(c,a,b){b[0]=c[1]*a[2]-a[1]*c[2];b[1]=c[2]*a[0]-a[2]*c[0];b[2]=c[0]*a[1]-a[0]*c[1]};l.St=function(c,a){return c[0]*a[0]+c[1]*a[1]+c[2]*a[2]};l.on=function(c){return l.gp(l.gp(c[0],c[1]),c[2])};l.cl=function(c,a,b,d,e,f,h,k){c=l.n(c,a,b);var m=Math.cos(b); |
|
f.u=(c+e)*m*Math.cos(d);h.u=(c+e)*m*Math.sin(d);k.u=(c*(1-a)+e)*Math.sin(b)};l.jO=function(c,a,b,d,e,f,h){var k=l.gp(a,b),m=1*Math.sqrt(1-c),n=m/1;if(v.Y(k,0))f.u=0,e.u=v.Mb(1.570796326794897,d),h.u=v.P(d)-m;else{f.u=Math.atan2(b,a);b=Math.atan2(1*d,m*k);f=Math.cos(b);var p=Math.sin(b);a=m*c/(1-c);c*=1;b=Math.atan2(d+a*p*p*p,k-c*f*f*f);3.141592653589793<v.P(b)&&(b=v.Mb(3.141592653589793,b)-b);b=Math.atan(n*Math.tan(b));p=Math.sin(b);f=Math.cos(b);e.u=Math.atan2(d+a*p*p*p,k-c*f*f*f);1.570796326794897< |
|
v.P(e.u)&&(e.u=v.Mb(3.141592653589793,e.u)-e.u);b=Math.atan(n*Math.tan(e.u));p=Math.sin(b);f=Math.cos(b);h.u=(d-m*p)*Math.sin(e.u)+(k-1*f)*Math.cos(e.u)}};l.n=function(c,a,b){b=Math.sin(b);return c/Math.sqrt(1-a*b*b)};l.ot=function(c,a){return Math.atan2(Math.sin(a)*(1-c),Math.cos(a))};l.Qj=function(c,a){return Math.atan2(Math.sin(a),Math.cos(a)*(1-c))};l.Rq=function(c,a){if(v.ti(c)||0==a||v.Y(v.P(a),1.570796326794897))return a;if(.006884661117170036>c){var b=Math.sqrt(1-c),d=(1-b)/(1+b),e=d*d,f= |
|
d*e,h=d*f,k=d*h,m=d*k,n=d*m,p=1.572916666666667*f-3.2578125*k+4.295068359375*n;c=2.142578125*h-6.071484375*m;b=3.129296875*k-11.249837239583334*n;var q=4.775276692708333*m,r=7.958636765252976*n,t=Math.cos(2*a);return a+Math.sin(2*a)*(1.5*d-.84375*f+.525390625*k-.2688395182291667*n-p+b-r+t*(2*(1.3125*e-1.71875*h+1.650146484375*m)-4*c+6*q+t*(4*p-12*b+24*r+t*(8*c-32*q+t*(16*b-80*r+t*(32*q+64*t*r))))))}b=1-c;d=c/2;e=v.P(a);f=e*l.Zu(c)/(1.570796326794897*b);h=9999;m=e;for(e=0;1E-16<h&&50>e;e++)n=l.w(c, |
|
m),k=(l.kG(m,c)-d*Math.sin(2*m)/n)/b-f,n=1/(n*n*n),p=k/n,k=m-p,h=v.P(p),m=k;return 0<=a?m:-m};l.qW=function(c,a){return v.ti(a)?c:c*l.Zu(a)/1.570796326794897};l.ba=function(c){c=l.pF(c,6.283185307179586);return 0>c?c+6.283185307179586:3.141592653589793>v.P(c)||v.Y(v.P(c),3.141592653589793)?c:c-6.283185307179586};l.pF=function(c,a){return c-Math.floor(c/a)*a};l.Ah=function(c,a){if(.006884661117170036>a){a=Math.sqrt(1-a);a=(1-a)/(1+a);var b=a*a,d=b*b;return c/(1+a)*(1+.25*b+.015625*d+.00390625*b*d)* |
|
1.570796326794897}return c*l.Zu(a)};l.Vq=function(c,a){var b=v.Mb(1,Math.sin(a));a=v.P(l.pF(a,3.141592653589793));a=1.570796326794897>=a?a:3.141592653589793-a;return(v.Y(a,1.570796326794897)?a:Math.atan(Math.sqrt(1-c)*Math.tan(a)))*b};l.q=function(c,a,b){if(.006884661117170036>a){a=Math.sqrt(1-a);a=(1-a)/(1+a);var d=a*a,e=a*d,f=a*e,h=a*f,k=a*h,m=a*k,n=-.7291666666666666*e+.2278645833333333*h+.03987630208333334*m,p=.615234375*f-.21533203125*k,q=-.54140625*h+.20302734375*m,r=.48876953125*k,t=-.4488699776785715* |
|
m,u=Math.cos(2*b);return c/(1+a)*((1+.25*d+.015625*f+.00390625*k)*b+Math.sin(2*b)*(-1.5*a+.1875*e+.0234375*h+.00732421875*m-n+q-t+u*(2*(.9375*d-.234375*f-.03662109375*k)-4*p+6*r+u*(4*n-12*q+24*t+u*(8*p-32*r+u*(16*q-80*t+u*(32*r+64*u*t)))))))}return c*(l.kG(b,a)-.5*a*Math.sin(2*b)/l.w(a,b))};l.w=function(c,a){a=Math.sin(a);return Math.sqrt(1-c*a*a)};l.Zu=function(c){return v.KC(c,1,2.220446049250313E-16)?1:1>c?l.Xw(0,1-c)-c/3*l.Uw(0,1-c):NaN};l.kG=function(c,a){var b=v.Mb(1,c);c=v.P(c);var d=Math.floor(c/ |
|
1.570796326794897);if(1<a)a=0==c?0:NaN;else if(v.Cd(d))c=l.sin(c),a=c*l.Xw(1-c*c,1-a*c*c)-a/3*c*c*c*l.Uw(1-c*c,1-a*c*c);else{var e=g.O.truncate(d%2),f=l.Zu(a);0<e?(c=1.570796326794897*(d+1)-c,c=Math.sin(c),a=c*l.Xw(1-c*c,1-a*c*c)-a/3*c*c*c*l.Uw(1-c*c,1-a*c*c),a=f*(d+1)-a):(c-=1.570796326794897*d,c=Math.sin(c),a=c*l.Xw(1-c*c,1-a*c*c)-a/3*c*c*c*l.Uw(1-c*c,1-a*c*c),a=f*d+a)}return a*b};l.sin=function(c){c=l.ba(c);var a=v.Mb(1,c);c=v.P(c);return v.Y(c,3.141592653589793)?0:v.Y(c,1.570796326794897)?1*a: |
|
Math.sin(c)*a};l.Uw=function(c,a){var b=c,d=a,e=1;a=0;c=1;for(var f,h,k,m;;){f=.2*(b+d+3*e);h=(f-b)/f;k=(f-d)/f;m=(f-e)/f;if(1E-4>v.P(h)&&1E-4>v.P(k)&&1E-4>v.P(m))break;m=Math.sqrt(d);f=Math.sqrt(e);m=Math.sqrt(b)*(m+f)+m*f;a+=c/(f*(e+m));c*=.25;b=.25*(b+m);d=.25*(d+m);e=.25*(e+m)}b=h*k;e=m*m;d=b-e;e=b-6*e;h=e+d+d;return 3*a+c*(1+e*(-.2142857142857143+.10227272727272728*e-.1730769230769231*m*h)+m*(.1666666666666667*h+m*(-.4090909090909091*d+.1153846153846154*m*b)))/(f*Math.sqrt(f))};l.Xw=function(c, |
|
a){for(var b,d,e,f,h=1;;h=.25*(h+b)){b=(c+a+h)/3;d=2-(b+c)/b;e=2-(b+a)/b;f=2-(b+h)/b;if(1E-4>v.P(d)&&1E-4>v.P(e)&&1E-4>v.P(f))break;b=Math.sqrt(a);d=Math.sqrt(h);b=Math.sqrt(c)*(b+d)+b*d;c=.25*(c+b);a=.25*(a+b)}c=d*e-f*f;a=d*e*f;return(1+(.04166666666666666*c-.1-.06818181818181818*a)*c+.07142857142857142*a)/Math.sqrt(b)};l.Qw=function(c,a){if(v.ti(c)||0==a||v.Y(v.P(a),1.570796326794897))return a;if(.006884661117170036>c){var b=c*c,d=c*b,e=c*d,f=c*e,h=c*f,k=c*h,m=-(.02708333333333333*d+.03430059523809524* |
|
e+.03149181547619048*f+.02634359154541446*h+.02156896735835538*k),n=.007669890873015873*e+.01299603174603175*f+.0148051353064374*h+.01454454953803912*k,p=-(.002275545634920635*f+.004830845032667949*h+.006558395368616723*k),q=6.957236677288761E-4*h+.001775193002406544*k,r=-(2.17324089394402E-4*k),t=Math.cos(2*a);return a+Math.sin(2*a)*(-(.5*c+.2083333333333333*b+.09375*d+.04878472222222222*e+.02916666666666667*f+.01938905423280423*h+.01388255931712963*k)-m+p-r+t*(2*(.1041666666666667*b+.0875*d+.06050347222222222* |
|
e+.04151785714285714*f+.02958958540013228*h+.02203667534722222*k)-4*n+6*q+t*(4*m-12*p+24*r+t*(8*n-32*q+t*(16*p-80*r+t*(32*q+64*t*r))))))}0==a||v.Y(v.P(a),1.570796326794897)?b=a:(d=Math.sqrt(c),e=d*Math.sin(a),b=Math.tan(.7853981633974483+a/2)*Math.pow((1-e)/(1+e),d/2),b=2*Math.atan(b)-1.570796326794897);return b};l.yO=function(c,a){if(v.ti(c)||0==a||v.Y(v.P(a),1.570796326794897))return a;if(.006884661117170036>c){t=c*c;p=c*t;q=c*p;var b=c*q;r=c*b;var d=c*r,e=.05833333333333333*p+.07232142857142858* |
|
q+.05634300595238095*b+.0355325796406526*r+.020235546186067*d,f=.02653149801587302*q+.04379960317460317*b+.0429211791776896*r+.03255384637546096*d,h=.01294022817460318*b+.02668104344536636*r+.03155651254609588*d,k=.00659454790965208*r+.0163075268674227*d,m=.003463473736911237*d,n=Math.cos(2*a);return a+Math.sin(2*a)*(.5*c+.2083333333333333*t+.08333333333333333*p+.03611111111111111*q+.01875*b+.01195601851851852*r+.008863673941798942*d-e+h-m+n*(2*(.1458333333333333*t+.1208333333333333*p+.07039930555555556* |
|
q+.03616071428571429*b+.01839451058201058*r+.01017113095238095*d)-4*f+6*k+n*(4*e-12*h+24*m+n*(8*f-32*k+n*(16*h-80*m+n*(32*k+64*n*m))))))}var p=Math.sqrt(c),q=p/2,r=Math.tan(.7853981633974483+a/2);c=0;e=1;for(var t=a;0!=e;t=d)if(b=p*Math.sin(t),d=r*Math.pow((1+b)/(1-b),q),d=2*Math.atan(d)-1.570796326794897,c++,v.Y(d,t)||3E4<c)e=0;return t};return l}()})(D||={});(function(g){var v=function(){function l(c){this.ul=this.Us=null;this.Iv=!1;this.GA=this.HA=0;this.HH=new g.h;this.XH=new g.h;this.KA=!1;this.vq= |
|
new g.l;this.wH=this.sw=0;this.tw=null;this.zl=!1;this.Eo=null;this.bA=0;this.Ue=c;this.As=g.zb.xv(this.Ue,0,!0);this.HH.Rc();this.XH.Rc();this.RH=NaN;var a=c.getCode();0<a?(this.Kk=a,g.pf.getCode(c)):this.Kk=g.pf.getCode(c);0>this.Kk&&(this.Kk=0);var b=this.Ue.getType();this.jH=b==g.Sc.PE_TYPE_PROJCS?2:1;if(b==g.Sc.PE_TYPE_PROJCS&&!c.loadConstants())throw g.i.N("PeProjcs.loadConstants failed");a=b==g.Sc.PE_TYPE_GEOGCS?this.Ue:this.Ue.getGeogcs();b!=g.Sc.PE_TYPE_GEOGCS&&g.pf.getCode(a);this.Eo=c.getUnit(); |
|
this.RH=a.getPrimem().getLongitude();this.wH=c=a.getUnit().getUnitFactor();c=Math.PI/(180*c);1E-10>Math.abs(c-1)&&(c=1);this.GA=c;0!=(b&g.Sc.PE_TYPE_PROJCS)?(a=this.Ue,this.HA=1/a.getUnit().getUnitFactor(),this.sw=.001/this.Ue.getUnit().getUnitFactor(),this.tw=g.Cg.generate(a,g.Cg.PE_PCSINFO_OPTION_NONE),this.zl=this.tw.isPannableRectangle(),this.bA=g.zb.qN(this.tw.getCentralMeridian(),this.GA)):(this.KA=this.zl=!0,this.HA=0,b=1/a.getUnit().getUnitFactor(),this.sw=.001/a.getDatum().getSpheroid().getAxis()* |
|
b,this.bA=0);this.zl&&(this.xx(),this.DK(),this.nY(),this.CK(),this.lY(),this.mY())}l.prototype.$r=function(){return this.Kk};l.prototype.kk=function(){return this.tw};l.Py=function(c,a){return c==a?!0:null!=c&&null!=a&&0==c.Kk&&0==a.Kk?c.As===a.As:!1};l.prototype.Wc=function(){return this.zl};l.prototype.gh=function(c){c.K(this.so)};l.prototype.pv=function(){return this.so.v};l.prototype.ov=function(){return this.so.C};l.prototype.GR=function(c){c.K(this.uw)};l.prototype.lY=function(){var c=this.Ue.getType(); |
|
if(c==g.Sc.PE_TYPE_PROJCS){c=this.Ue;var a=this.kk().getCentralMeridian(),b=c.getGeogcs();if(null==b)throw g.i.fa("internal error");b=1/b.getUnit().getUnitFactor()*Math.PI;a=[[a+b,0]];g.ej.geogToProj(c,1,a);a=a[0][0];b=c.getParameters()[g.Sc.PE_PARM_X0].getValue();var d=this.ml();c=new g.l;d.A(c);d=Math.abs(a-b);a=d+b;b=-1*d+b;d=c.H;c=c.G;var e=new g.l;e.K(b,c,a,d);null==this.so&&(this.so=e)}else if(c==g.Sc.PE_TYPE_GEOGCS)b=1/this.Ue.getUnit().getUnitFactor()*Math.PI,c=new g.l,c.K(-b,-b/2,b,b/2), |
|
null==this.so&&(this.so=c);else throw g.i.fa("internal error");};l.prototype.mY=function(){var c=this.Ue.getType();if(c==g.Sc.PE_TYPE_PROJCS){var a=this.Ue;c=this.kk().getCentralMeridian();a=a.getGeogcs();if(null==a)throw g.i.fa("internal error");a=1/a.getUnit().getUnitFactor()*Math.PI;var b=this.Vr(),d=new g.l;b.A(d);b=new g.l;b.K(c-a,d.G,c+a,d.H);null==this.uw&&(this.uw=b)}else if(c==g.Sc.PE_TYPE_GEOGCS)a=1/this.Ue.getUnit().getUnitFactor()*Math.PI,c=new g.l,c.K(-a,-a/2,a,a/2),null==this.uw&&(this.uw= |
|
c);else throw g.i.fa("internal error");};l.prototype.bf=function(){return this.GA};l.prototype.pm=function(){return this.HA};l.prototype.Vr=function(){if(this.zl)return this.ul;var c=this.ul;if(null!=c)return c;this.xx();return this.ul};l.prototype.Wr=function(){if(this.zl)return null;if(null!=this.ul)return this.YG;this.xx();return this.YG};l.prototype.xx=function(){if(this.Ue.getType()==g.Sc.PE_TYPE_PROJCS){var c=this.Ue,a=c.getGeogcs(),b=c.horizonGcsGenerate();if(null!=b){var d=b[0].getNump(), |
|
e=b[0].getKind();c=0<b[0].getInclusive();var f=this.bf(),h=90*f,k=360*f,m=370*f,n=180*f*g.Sc.PE_HORIZON_DELTA/Math.PI,p=new g.l,q=null;if(1<d)for(var r=1;r<d;r++)if(b[r].getKind()==g.Sc.PE_HORIZON_LINE){null==q&&(q=new g.Ta);var t=b[r].getCoord();q.sx(t[0][0],t[0][1]);q.yj(t[1][0],t[1][1])}if(e==g.Sc.PE_HORIZON_RECT)b=b[0].getCoord(),p.K(b[0][0],b[0][1]),p.Zb(b[1][0],b[1][1]),Math.abs(p.H-h)<1E-7*n&&(p.H=h),Math.abs(p.G+h)<1E-7*n&&(p.G=-h),p.R()>m&&(b=-400*f,p.K(b,p.G,b+5*k,p.H)),b=new g.Fh(p),null== |
|
this.ul&&(this.ul=b,this.Iv=c);else{m=new g.Da;k=this.kk().isGcsHorizonMultiOverlap();p=g.gu.bF(a,g.hu.Integer64);if(k){m=new g.gL;n=g.Gh.local().V(m,p,null);for(r=0;r<d;r++)if(b[r].getKind()==g.Sc.PE_HORIZON_POLY){a=b[r].getSize();f=b[r].getCoord();e=[];for(h=0;h<a;h++)e[h]=g.h.construct(f[h][0],f[h][1]);b[r].getInclusive();k&&(f=new g.Da,f.Yk(e,a-1),m.ZX(f),n.qe())}m=n.next()}else for(r=0;r<d;r++)if(b[r].getKind()==g.Sc.PE_HORIZON_POLY){a=b[r].getSize();f=b[r].getCoord();k=[];for(h=0;h<a;h++)k[h]= |
|
g.h.construct(f[h][0],f[h][1]);b[r].getInclusive();m.Yk(k,a-1)}c?g.Xj.local().wn(m,p,1):g.kp.local().wn(m,p,1);g.dj.local().wn(m,p,1);null==this.ul&&(this.ul=m,this.Iv=c,this.YG=q)}}}};l.prototype.hv=function(){if(this.zl)return this.Iv;null==this.ul&&this.xx();return this.Iv};l.prototype.DK=function(){if(2==this.jH){var c=this.Ue.horizonPcsGenerate();if(null!=c){var a=c[0].getKind();c[0].getInclusive();var b=c[0].getNump(),d=!1;if(a==g.Sc.PE_HORIZON_RECT)c=c[0].getCoord(),b=new g.l,b.K(c[0][0],c[0][1]), |
|
b.Zb(c[1][0],c[1][1]),c=new g.Fh(b);else{a=-1;for(d=0;d<b;d++)c[d].getKind()==g.Sc.PE_HORIZON_POLY&&(a=d);d=c[a].getSize()-1;c=c[a].getCoord();b=[];for(a=0;a<d;a++)b[a]=g.h.construct(c[a][0],c[a][1]);c=a=new g.Da;a.Yk(b,d);d=!0}this.kk().isDensificationNeeded()&&(b=1E5*this.pm(),c=g.Xl.local().V(c,b,null));d&&(d=new g.Fh,c.bn(d),c.Ke(),c.Qb(),c.qR(),g.Xj.local().wn(c,null,1));null==this.Us&&(this.Us=c)}}};l.prototype.ml=function(){if(this.zl)return this.Us;var c=this.Us;if(null!=c)return c;this.DK(); |
|
return this.Us};l.prototype.nY=function(){if(this.Ue.getType()==g.Sc.PE_TYPE_PROJCS){var c=90*this.bf();c=[[0,c],[0,-c]];g.ej.geogToProj(this.Ue,2,c);var a=this.kk(),b=a.getNorthPoleLocation()!=g.Cg.PE_POLE_OUTSIDE_BOUNDARY;a=a.getSouthPoleLocation()!=g.Cg.PE_POLE_OUTSIDE_BOUNDARY;this.KA||(b&&this.HH.ma(c[0][0],c[0][1]),a&&this.XH.ma(c[1][0],c[1][1]))}this.KA=!0};l.prototype.CK=function(){if(1==this.jH){var c=400*this.bf();this.vq.K(-c,-c,c,c)}else c=g.Cg.generate(this.Ue,g.Cg.PE_PCSINFO_OPTION_DOMAIN), |
|
c=g.l.construct(c.getDomainMinx(),c.getDomainMiny(),c.getDomainMaxx(),c.getDomainMaxy()),this.vq.B()&&this.vq.K(c)};l.prototype.hR=function(c){this.zl&&c.K(this.vq);this.vq.B()&&this.CK();c.K(this.vq)};l.prototype.Up=function(){return this.RH};l.prototype.zi=function(){return this.bA};l.prototype.Hd=function(){return this.Eo};l.prototype.Xr=function(){return this.wH};return l}();g.OC=v})(D||={});(function(g){var v=function(){function l(c){this.KT=c;this.As=g.zb.xv(c,0,!0);var a=c.getCode();this.ss= |
|
0<a?a:g.pf.getCode(c);0>this.ss&&(this.ss=0);this.Eo=a=this.KT.getUnit();this.IH=1/a.getUnitFactor();g.pf.getCode(c)}l.Py=function(c,a){return c==a?!0:null!=c&&null!=a&&0==c.ss&&0==a.ss?c.As===a.As:!1};l.prototype.$r=function(){return this.ss};return l}();g.PL=v})(D||={});(function(g){g.Yg=function(){function v(){}v.tb=function(l,c,a,b,d,e,f,h){if(null!=e||null!=f||null!=h){b=g.F.ba(b);c=g.F.ba(c);a=g.F.ba(a);d=g.F.ba(d);1.570796326794897<g.s.P(a)&&(a=g.s.Mb(3.141592653589793,a)-a,c=g.F.ba(c+3.141592653589793)); |
|
1.570796326794897<g.s.P(d)&&(d=g.s.Mb(3.141592653589793,d)-d,b=g.F.ba(b+3.141592653589793));var k=g.F.ba(b-c);if(g.s.Y(a,d)&&(g.s.Y(c,b)||g.s.Y(g.s.P(a),1.570796326794897)))null!=e&&(e.u=0),null!=f&&(f.u=0),null!=h&&(h.u=0);else{if(g.s.Y(a,-d)){if(g.s.Y(g.s.P(a),1.570796326794897)){null!=e&&(e.u=3.141592653589793*l);null!=f&&(f.u=0<a?g.F.ba(3.141592653589793-g.F.ba(b)):g.F.ba(b));null!=h&&(h.u=0<a?g.F.ba(b):g.F.ba(3.141592653589793-g.F.ba(b)));return}if(g.s.Y(g.s.P(k),3.141592653589793)){null!=e&& |
|
(e.u=3.141592653589793*l);null!=f&&(f.u=0);null!=h&&(h.u=0);return}}var m=1.570796326794897==g.s.P(a)?0:Math.cos(a),n=Math.sin(a),p=1.570796326794897==g.s.P(d)?0:Math.cos(d),q=Math.sin(d),r=1.570796326794897==g.s.P(k)?0:Math.cos(k),t=3.141592653589793==g.s.P(k)?0:Math.sin(k);if(null!=e){var u=Math.sin((d-a)/2);k=Math.sin(k/2);e.u=2*Math.asin(Math.sqrt(u*u+m*p*k*k))*l}null!=f&&(f.u=g.s.Y(g.s.P(a),1.570796326794897)?0>a?b:g.F.ba(3.141592653589793-b):Math.atan2(p*t,m*q-n*p*r));null!=h&&(g.s.Y(g.s.P(d), |
|
1.570796326794897)?h.u=0>d?c:g.F.ba(3.141592653589793-c):(h.u=Math.atan2(m*t,q*m*r-p*n),h.u=g.F.ba(h.u+3.141592653589793)))}}};v.rf=function(l,c,a,b,d,e,f){if(null!=e||null!=f){c=g.F.ba(c);a=g.F.ba(a);1.570796326794897<g.s.P(a)&&(a=g.s.Mb(3.141592653589793,a)-a,c=g.F.ba(c+3.141592653589793));g.s.Y(g.s.P(a),1.570796326794897)&&(c=0);d=g.F.ba(d);var h=g.s.Y(g.s.P(d),1.570796326794897)?0:Math.cos(d),k=g.s.Y(g.s.P(d),3.141592653589793)?0:Math.sin(d),m=g.s.Y(g.s.P(a),1.570796326794897)?0:Math.cos(a),n= |
|
Math.sin(a);l=b/l;b=g.s.Y(g.s.P(l),1.570796326794897)?0:Math.cos(l);var p=g.s.Y(g.s.P(l),3.141592653589793)?0:Math.sin(l),q=Math.asin(n*b+m*p*h);null!=f&&(f.u=q);null!=e&&(e.u=g.s.Y(g.s.P(q),1.570796326794897)?g.s.Y(a,-q)?0>q?d:g.F.ba(3.141592653589793-d):c:g.s.Y(g.s.P(a),1.570796326794897)&&g.s.Y(l,3.141592653589793)?0>a?d:g.F.ba(3.141592653589793-d):g.F.ba(c+Math.atan2(p*k,m*b-n*p*h)))}};return v}()})(D||={});(function(g){g.Wk=function(){function v(){}v.tb=function(l,c,a,b,d,e,f,h,k){var m=new g.ga(0), |
|
n=new g.ga(0),p=[0,0,0],q=[0,0,0],r=[0,0,0],t=new g.ga(0),u=new g.ga(0),w=new g.ga(0),y=new g.ga(0),x=new g.ga(0);if(null!=f||null!=h||null!=k)if(g.s.ti(c))g.Yg.tb(l,a,b,d,e,f,h,k);else{d=g.F.ba(d);a=g.F.ba(a);var z=g.F.ba(d-a);if(g.s.Y(b,e)&&(g.s.Y(a,d)||g.s.Y(g.s.P(b),1.570796326794897)))null!=f&&(f.u=0),null!=h&&(h.u=0),null!=k&&(k.u=0);else{if(g.s.Y(b,-e)){if(g.s.Y(g.s.P(b),1.570796326794897)){null!=f&&(f.u=2*g.F.Ah(l,c));null!=h&&(h.u=0<b?g.F.ba(3.141592653589793-g.F.ba(d)):g.F.ba(d));null!= |
|
k&&(k.u=0<b?g.F.ba(d):g.F.ba(3.141592653589793-g.F.ba(d)));return}g.s.Y(g.s.P(z),3.141592653589793)&&(null!=f&&(f.u=2*g.F.Ah(l,c)),null!=h&&(h.u=0),null!=k&&(k.u=0))}else if(g.s.Y(g.s.P(b),1.570796326794897)||g.s.Y(g.s.P(e),1.570796326794897))g.s.Y(g.s.P(b),1.570796326794897)?a=d:d=a;var A=0;if(0>z){A=1;var B=a;a=d;d=B;B=b;b=e;e=B}z=g.F.ot(c,b);var C=g.F.ot(c,e);if(null!=h||null!=k)g.Yg.tb(l,a,z,d,C,null,m,n),m=Math.atan2(Math.sin(m.u)*Math.cos(b-z),Math.cos(m.u)),n=Math.atan2(Math.sin(n.u)*Math.cos(e- |
|
C),Math.cos(n.u)),0!=A&&(B=m,m=n,n=B),null!=h&&(h.u=m),null!=k&&(k.u=n);null!=f&&(g.F.cl(1,c,b,a,0,w,y,x),p[0]=w.u,p[1]=y.u,p[2]=x.u,g.F.cl(1,c,e,d,0,w,y,x),q[0]=w.u,q[1]=y.u,q[2]=x.u,r[0]=p[1]*q[2]-q[1]*p[2],r[1]=-(p[0]*q[2]-q[0]*p[2]),r[2]=p[0]*q[1]-q[0]*p[1],c=1-g.F.w(c,g.F.Vq(c,g.F.Qj(c,Math.acos(r[2]/Math.sqrt(r[0]*r[0]+r[1]*r[1]+r[2]*r[2]))))),c*=2-c,h=Math.atan2(-r[1],-r[0]),r=g.F.ba(h-1.570796326794897),h=g.F.ba(h+1.570796326794897),r=g.s.P(g.F.ba(a-r))<=g.s.P(g.F.ba(a-h))?r:h,g.Yg.tb(1,r, |
|
0,a,z,t,null,null),g.Yg.tb(1,r,0,d,C,u,null,null),3.141592653589793<t.u+u.u&&(r=g.F.ba(r+3.141592653589793),g.Yg.tb(1,r,0,a,z,t,null,null),g.Yg.tb(1,r,0,d,C,u,null,null)),t.u*=g.s.Mb(1,b),u.u*=g.s.Mb(1,e),t.u=g.F.Qj(c,t.u),u.u=g.F.Qj(c,u.u),a=g.F.q(l,c,t.u),l=g.F.q(l,c,u.u),f.u=g.s.P(l-a))}}};v.rf=function(l,c,a,b,d,e,f,h){var k=0,m=new g.ga(0),n=new g.ga(0),p=[0,0,0],q=[0,0,0],r=new g.ga(0),t=new g.ga(0),u=new g.ga(0);if(null!=f||null!=h)if(g.s.ti(c))g.Yg.rf(l,a,b,d,e,f,h);else if(g.s.Cd(d))null!= |
|
f&&(f.u=a),null!=h&&(h.u=b);else if(e=g.F.ba(e),0>d&&(d=g.s.P(d),e=g.F.ba(e+3.141592653589793)),a=g.F.ba(a),b=g.F.ba(b),1.570796326794897<g.s.P(b)&&(a=g.F.ba(a+3.141592653589793),b=g.s.Mb(3.141592653589793,b)-b),g.s.Y(g.s.P(b),1.570796326794897)&&(a=0),g.s.Cd(b)){var w=g.s.P(1.570796326794897-g.s.P(e));w=g.F.Qj(c,w);w=1-g.F.w(c,g.F.Vq(c,w));w*=2-w;l=d/g.F.Ah(l,w)*1.570796326794897;l=g.F.Rq(w,l);l=g.F.ot(w,l);g.Yg.rf(1,a,b,l,e,f,m);null!=h&&(k=m.u);null!=h&&(h.u=g.F.Qj(c,k))}else if(g.s.Y(g.s.P(b), |
|
1.570796326794897))k=g.F.Ah(l,c),m=2*k,l=g.s.Mb(1.570796326794897,b),e=0<l?g.F.ba(3.141592653589793-e):e,b=k-d,g.s.P(b)<=k?null!=f&&(f.u=e):(b=Math.floor(d/m),0==g.O.truncate(b%2)?(null!=f&&(f.u=e),d-=b*m):(null!=f&&(f.u=g.F.ba(e+3.141592653589793)),d=(b+1)*m-d),b=k-d),null!=h&&(h.u=g.F.Rq(c,b/k*l));else{w=g.F.ot(c,b);e=Math.atan2(Math.sin(e),Math.cos(e)*Math.cos(b-w));var y=g.O.truncate(g.s.Mb(1,w))*(1.570796326794897>=g.s.P(e)?1:-1);e=g.F.ba(a+Math.atan(Math.tan(e)*-Math.sin(w)));g.Yg.tb(l,e,0, |
|
a,w,null,n,null);w=g.s.P(1.570796326794897-g.s.P(n.u));w=g.F.Qj(c,w);w=1-g.F.w(c,g.F.Vq(c,w));w*=2-w;g.F.cl(1,c,0,e,0,r,t,u);p[0]=r.u;p[1]=t.u;p[2]=u.u;g.F.cl(1,c,b,a,0,r,t,u);q[0]=r.u;q[1]=t.u;q[2]=u.u;b=Math.acos((p[0]*q[0]+p[1]*q[1]+p[2]*q[2])/Math.sqrt(q[0]*q[0]+q[1]*q[1]+q[2]*q[2]));b=g.F.Qj(w,b);b=g.F.q(l,w,b)+d*y;d=0<b?n.u:g.F.ba(n.u+3.141592653589793);l=g.s.P(b)/g.F.Ah(l,w)*1.570796326794897;l=g.F.Rq(w,l);l=g.F.ot(w,l);g.Yg.rf(1,e,0,l,d,f,m);null!=h&&(k=m.u);null!=h&&(h.u=g.F.Qj(c,k))}};return v}()})(D||= |
|
{});(function(g){g.cu=function(){function v(){}v.tb=function(l,c,a,b,d,e,f,h,k){var m=0,n=0,p=0;if(null!=f||null!=h||null!=k)if(g.s.ti(c))g.Yg.tb(l,a,b,d,e,f,h,k);else{var q=g.F.ba(d-a);if(g.s.Y(b,e)&&(g.s.Cd(q)||g.s.Y(g.s.P(b),1.570796326794897)))null!=f&&(f.u=0),null!=h&&(h.u=0),null!=k&&(k.u=0);else{if(g.s.Y(b,-e)){if(g.s.Y(g.s.P(b),1.570796326794897)){null!=f&&(f.u=2*g.F.Ah(l,c));null!=h&&(h.u=0<b?g.F.ba(3.141592653589793-g.F.ba(d)):g.F.ba(d));null!=k&&(k.u=0<b?g.F.ba(d):g.F.ba(3.141592653589793- |
|
g.F.ba(d)));return}g.s.Y(g.s.P(q),3.141592653589793)&&(null!=f&&(f.u=2*g.F.Ah(l,c)),null!=h&&(h.u=0),null!=k&&(k.u=0))}else{if(g.s.Y(g.s.P(b),1.570796326794897)||g.s.Y(g.s.P(e),1.570796326794897)){g.Wk.tb(l,c,a,b,d,e,f,h,k);return}if(g.s.Cd(q)||g.s.Y(g.s.P(q),3.141592653589793)){g.Wk.tb(l,c,a,b,d,e,f,h,k);return}}var r=1-Math.sqrt(1-c),t=c/(1-c),u=l*(1-r);l=g.F.Vq(c,b);var w=g.F.Vq(c,e);c=1.570796326794897==g.s.P(l)?0:Math.cos(l);var y=Math.sin(l),x=1.570796326794897==g.s.P(w)?0:Math.cos(w),z=Math.sin(w), |
|
A=q,B=Math.cos(A),C=Math.sin(A),E=1,F=0;do{var H=A,G=Math.sqrt(Math.pow(x*C,2)+Math.pow(c*z-y*x*B,2)),J=y*z+c*x*B,I=Math.atan2(G,J);if(0==G){E=0;break}var L=c*x*C/G;m=Math.cos(Math.asin(L));m*=m;n=J-2*y*z/m;1<g.s.P(n)&&(n=g.s.Mb(1,n));p=n*n;A=r/16*m*(4+r*(4-3*m));A=q+(1-A)*r*L*(I+A*G*(n+A*J*(2*p-1)));B=Math.cos(A);C=Math.sin(A);F++;if(3.141592653589793<g.s.P(A)&&30<F){E=0;break}}while(5E3>=F&&!g.s.Y(H,A));if(0!=E)t*=m,r=t*(256+t*(-128+t*(74-47*t)))/1024,null!=f&&(f.u=u*(1+t*(4096+t*(-768+t*(320-175* |
|
t)))/16384)*(I-r*G*(n+r/4*(J*(2*p-1)-r/6*n*(4*G*G-3)*(4*p-3))))),null!=h&&(h.u=g.s.Y(g.s.P(b),1.570796326794897)?0>b?d:g.F.ba(3.141592653589793-d):Math.atan2(x*C,c*z-y*x*B)),null!=k&&(g.s.Y(g.s.P(e),1.570796326794897)?k.u=0>e?a:g.F.ba(3.141592653589793-a):(k.u=Math.atan2(c*C,c*z*B-y*x),k.u=g.F.ba(k.u+3.141592653589793)));else{A=g.s.Mb(3.141592653589793,q);J=y*z-c*x;I=Math.acos(J);G=Math.sin(I);m=1;F=L=0;do p=L,m*=m,B=m*m,L=r*m*(1+r+r*r),n=r*r*B*(1+2.25*r),E=r*r*r*B*m,B=1-.25*L+.1875*n-.1953125*E, |
|
L=.25*L-.25*n+.29296875*E,C=.03125*n-.05859375*E,E*=.00651041666666667,n=J-2*y*z/m,1<g.s.P(n)&&(n=g.s.Mb(1,n)),m=Math.acos(n),J=Math.cos(2*m),H=Math.cos(3*m),L=g.s.Y(b,-e)?g.F.ba(3.141592653589793-q)/(3.141592653589793*r*B):g.F.ba(A-q)/(r*(B*I+L*G*n+C*Math.sin(2*I)*J+E*Math.sin(3*I)*H)),C=L*G/(c*x),A=1.570796326794897<g.s.P(q)?g.s.Mb(3.141592653589793,C)-Math.asin(C):Math.asin(C),B=Math.cos(A),G=Math.sqrt(Math.pow(x*C,2)+Math.pow(c*z-y*x*B,2)),I=3.141592653589793-Math.asin(g.s.P(G)),J=Math.cos(I), |
|
m=Math.cos(Math.asin(L)),F++;while(70>=F&&!g.s.Y(p,L));null!=f&&(m*=m,t*=m,B=1+t*(4096+t*(-768+t*(320-175*t)))/16384,g.s.Y(b,-e)?f.u=3.141592653589793*u*B:(n=J-2*y*z/m,m=Math.acos(n),J=Math.cos(2*m),H=Math.cos(3*m),f.u=u*(B*I+t*(-512+t*(128+t*(-60+35*t)))/2048*G*n+t*(-4+5*t)/6144*t*t*Math.sin(2*I)*J+E*Math.sin(3*I)*H+-7.62939453125E-5*t*t*t*t*Math.sin(4*I)*Math.cos(4*m))));null!=h&&(g.s.Cd(b)&&g.s.Cd(e)?(m=Math.sqrt(1-L*L),h.u=Math.acos(m),0>q&&(h.u*=-1)):g.s.Y(g.s.P(b),1.570796326794897)?h.u=0>b? |
|
d:g.F.ba(3.141592653589793-d):(f=L/c,u=Math.sqrt(1-f*f),0>c*z-y*x*Math.cos(A)&&(u*=-1),h.u=Math.atan2(f,u),g.s.Y(b,-e)&&g.s.P(g.F.ba(a-d))>3.141592653589793*(1-r*Math.cos(b))&&(0<b&&1.570796326794897>g.s.P(h.u)||0>b&&1.570796326794897<g.s.P(h.u))&&(h.u=g.s.Mb(3.141592653589793,h.u)-h.u)));if(null!=k)if(g.s.Cd(b)&&g.s.Cd(e))m=Math.sqrt(1-L*L),k.u=Math.acos(m),0<=q&&(k.u*=-1);else if(g.s.Y(g.s.P(e),1.570796326794897))k.u=0>e?a:g.F.ba(3.141592653589793-a);else if(q=L/x,f=Math.sqrt(1-q*q),u=Math.sin(A/ |
|
2),0>Math.sin(w-l)-2*c*z*u*u&&(f*=-1),k.u=Math.atan2(q,f),k.u=g.F.ba(k.u+3.141592653589793),g.s.Y(b,-e)&&!g.s.Cd(b)&&!g.s.Y(g.s.P(b),1.570796326794897)&&g.s.P(g.F.ba(a-d))>3.141592653589793*(1-r*Math.cos(b))&&(null!=h?u=h.u:(f=L/c,u=Math.sqrt(1-f*f),0>c*z-y*x*Math.cos(A)&&(u*=-1),u=Math.atan2(f,u),g.s.Y(b,-e)&&g.s.P(g.F.ba(a-d))>3.141592653589793*(1-r*Math.cos(b))&&(0<b&&1.570796326794897>g.s.P(u)||0>b&&1.570796326794897<g.s.P(u))&&(u=g.s.Mb(3.141592653589793,u)-u)),1.570796326794897>=g.s.P(u)&&1.570796326794897< |
|
g.s.P(k.u)||1.570796326794897<=g.s.P(u)&&1.570796326794897>g.s.P(k.u)))k.u=-1*g.F.ba(k.u+3.141592653589793)}}}};v.rf=function(l,c,a,b,d,e,f,h){if(null!=f||null!=h)if(g.s.ti(c))g.Yg.rf(l,a,b,d,e,f,h);else if(e=g.F.ba(e),g.s.Y(g.s.P(b),1.570796326794897)||g.s.Cd(e)||g.s.Y(g.s.P(e),3.141592653589793))g.Wk.rf(l,c,a,b,d,e,f,h);else{var k=1.570796326794897==g.s.P(e)?0:Math.cos(e),m=3.141592653589793==g.s.P(e)?0:Math.sin(e);g.s.Y(g.s.P(b),1.570796326794897)&&(a=0);e=1-Math.sqrt(1-c);var n=g.F.Vq(c,b);b= |
|
1.570796326794897==g.s.P(n)?0:Math.cos(n);var p=Math.sin(n);n=Math.atan2(Math.tan(n),k);var q=b*m,r=q*q,t=1-r,u=c/(1-c)*t;c=u*(256+u*(-128+u*(74-47*u)))/1024;var w=c/4,y=c/6,x=d/(l*(1-e)*(1+u*(4096+u*(-768+u*(320-175*u)))/16384)),z=x;do{var A=z;d=1.570796326794897==g.s.P(z)?0:Math.cos(z);u=3.141592653589793==g.s.P(z)?0:Math.sin(z);var B=u*u;l=Math.cos(2*n+z);z=l*l;z=c*u*(l+w*(d*(2*z-1)-y*l*(4*B-3)*(4*z-3)))+x}while(!g.s.Y(A,z));d=1.570796326794897==g.s.P(z)?0:Math.cos(z);u=3.141592653589793==g.s.P(z)? |
|
0:Math.sin(z);null!=f&&(m=Math.atan2(u*m,b*d-p*u*k),t=e/16*t*(4+e*(4-3*t)),l=Math.cos(2*n+z),f.u=g.F.ba(a+(m-(1-t)*e*q*(z+t*u*(l+t*d*(2*l*l-1))))));null!=h&&(t=p*u-b*d*k,t=(1-e)*Math.sqrt(r+t*t),h.u=Math.atan2(p*d+b*u*k,t))}};return v}()})(D||={});(function(g){g.PC=function(){function v(){}v.tb=function(l,c,a,b,d,e,f,h,k){var m=g.F.ba(d-a),n=g.s.Y(g.s.P(b),1.570796326794897),p=g.s.Y(g.s.P(e),1.570796326794897);if(g.s.Y(b,e)&&(g.s.Cd(m)||n))null!=f&&(f.u=0),null!=h&&(h.u=0),null!=k&&(k.u=0);else{if(g.s.ti(c)){var q= |
|
Math.sin(b),r=Math.sin(e);q=Math.sqrt((1+q)/(1-q));r=Math.sqrt((1+r)/(1-r));q=Math.log(r)-Math.log(q);q=Math.atan2(m,q);null!=f&&(f.u=g.s.Y(b,e)?g.s.P(l*Math.cos(b)*m):g.s.P((l*e-l*b)/Math.cos(q)))}else r=g.F.Qw(c,e),q=Math.sin(g.F.Qw(c,b)),r=Math.sin(r),q=Math.sqrt((1+q)/(1-q)),r=Math.sqrt((1+r)/(1-r)),q=Math.log(r)-Math.log(q),q=Math.atan2(m,q),null!=f&&(g.s.Y(b,e)?f.u=g.s.P(l*m*Math.cos(b)/g.F.w(c,b)):(m=g.F.q(l,c,b),l=g.F.q(l,c,e),f.u=g.s.P((l-m)/Math.cos(q))));if(null!=h||null!=k)f=g.F.ba(q+ |
|
3.141592653589793),n&&p||!n&&!p||(n?q=0>b?d:g.F.ba(3.141592653589793-d):p&&(f=0>e?a:g.F.ba(3.141592653589793-a))),null!=h&&(h.u=q),null!=k&&(k.u=f)}};v.rf=function(l,c,a,b,d,e,f,h){e=g.F.ba(e);0>d&&(d=g.s.P(d),e=g.F.ba(e+3.141592653589793));g.s.ti(c)?g.s.Y(g.s.P(b),1.570796326794897)?(a=0>b?e:g.F.ba(3.141592653589793-e),e=d/l%6.283185307179586,3.141592653589793>=e?l=b-g.s.Mb(e,b):(a=g.F.ba(a+3.141592653589793),l=-b+g.s.Mb(e-3.141592653589793,b))):g.s.Y(g.s.P(e),1.570796326794897)?(a=g.F.ba(a+g.s.Mb(d, |
|
e)/(l*Math.cos(b))),l=b):(l=b+d*Math.cos(e)/l,1.570796326794897<g.s.P(l)&&(l=1.570796326794897),g.s.Y(g.s.P(l),1.570796326794897)&&(g.s.Cd(e)||g.s.Y(g.s.P(e),3.141592653589793))||(1.570796316258184<g.s.P(l)&&(l=g.s.Mb(1.570796316258184,l)),c=Math.sin(b),b=Math.sin(l),c=Math.sqrt((1+c)/(1-c)),b=Math.sqrt((1+b)/(1-b)),c=Math.log(b)-Math.log(c),a=g.F.ba(a+Math.tan(e)*c))):g.s.Y(g.s.P(b),1.570796326794897)?(a=0>b?e:g.F.ba(3.141592653589793-e),e=d/g.F.qW(l,c),e%=6.283185307179586,3.141592653589793>=e? |
|
l=b-g.s.Mb(e,b):(a=g.F.ba(a+3.141592653589793),l=-b+g.s.Mb(e-3.141592653589793,b)),l=g.F.Rq(c,l)):g.s.Y(g.s.P(e),1.570796326794897)?(a=g.F.ba(a+g.s.Mb(d,e)*g.F.w(c,b)/(l*Math.cos(b))),l=b):(l=1.570796326794897*(d*Math.cos(e)+g.F.q(l,c,b))/g.F.Ah(l,c),1.570796326794897<g.s.P(l)&&(l=g.s.Mb(1.570796326794897,l)),l=g.F.Rq(c,l),g.s.Y(g.s.P(l),1.570796326794897)&&(g.s.Cd(e)||g.s.Y(g.s.P(e),3.141592653589793))||(d=g.F.Qw(c,b),b=g.F.Qw(c,l),1.570796316258184<g.s.P(b)&&(b=g.s.Mb(1.570796316258184,l),l=g.F.yO(c, |
|
b)),c=Math.sin(d),b=Math.sin(b),c=Math.sqrt((1+c)/(1-c)),b=Math.sqrt((1+b)/(1-b)),c=Math.log(b)-Math.log(c),a=g.F.ba(a+Math.tan(e)*c)));null!=f&&(f.u=a);null!=h&&(h.u=l)};return v}()})(D||={});(function(g){g.kb=function(){function v(){}v.Xy=function(l,c,a,b,d,e,f){g.cu.tb(l,c,a,b,d,e,null,f,null)};v.yi=function(l,c,a,b,d,e,f,h){g.cu.rf(l,c,a,b,d,e,f,h)};v.wd=function(l,c,a,b,d,e,f,h,k,m){switch(m){case 2:g.Wk.tb(l,c,a,b,d,e,f,h,k);break;case 3:g.QC.tb(l,c,a,b,d,e,f,h,k);break;case 1:g.PC.tb(l,c,a, |
|
b,d,e,f,h,k);break;default:g.cu.tb(l,c,a,b,d,e,f,h,k)}};v.oj=function(l,c,a,b,d,e,f,h,k){switch(k){case 2:g.Wk.rf(l,c,a,b,d,e,f,h);break;case 3:g.QC.rf(l,c,a,b,d,e,f,h);break;case 1:g.PC.rf(l,c,a,b,d,e,f,h);break;default:g.cu.rf(l,c,a,b,d,e,f,h)}};return v}()})(D||={});(function(g){var v=function(){function c(){this.y=this.x=null}c.construct=function(a){var b=new c;b.x=new g.Wb;b.x.set(a.x);b.y=new g.Wb;b.y.set(a.y);return b};c.VE=function(a,b){var d=new c;d.x=new g.Wb;d.x.set(a);d.y=new g.Wb;d.y.set(b); |
|
return d};c.prototype.qg=function(){return this.x.qg()&&this.y.qg()};c.prototype.value=function(){return g.h.construct(this.x.value(),this.y.value())};return c}();g.vY=v;var l=function(){function c(){this.z=this.y=this.x=null}c.construct=function(a){var b=new c;b.x=new g.Wb;b.x.set(a.x);b.y=new g.Wb;b.y.set(a.y);b.z=new g.Wb;b.z.set(a.z);return b};c.VE=function(a,b,d){var e=new c;e.x=new g.Wb;e.x.set(a);e.y=new g.Wb;e.y.set(b);e.z=new g.Wb;e.z.set(d);return e};c.prototype.qg=function(){return this.x.qg()&& |
|
this.y.qg()&&this.z.qg()};c.prototype.value=function(){return new g.Nd(this.x.value(),this.y.value(),this.z.value())};c.prototype.Qh=function(a){var b=new g.Wb,d=new g.Wb,e=new g.Wb;b.Kl(this.x,a.x);d.Kl(this.y,a.y);e.Kl(this.z,a.z);a=new g.Wb;a.dN(b,d);a.add(e);return a};c.prototype.cF=function(a){var b=new c;b.x.Kl(this.y,a.z);b.y.Kl(this.z,a.x);b.z.Kl(this.x,a.y);var d=new g.Wb,e=new g.Wb,f=new g.Wb;d.Kl(this.z,a.y);e.Kl(this.x,a.z);f.Kl(this.y,a.x);b.x.sub(d);b.y.sub(e);b.z.sub(f);return b};return c}(); |
|
g.wY=l;g.Ox=function(){function c(){}c.EP=function(a,b,d){var e=b.x;b=b.y;c.cl(1,a,Math.cos(e),Math.sin(e),Math.cos(b),Math.sin(b),d)};c.DP=function(a,b){var d=new g.Nd;c.EP(a,b,d);return d};c.cl=function(a,b,d,e,f,h,k){a/=Math.sqrt(1-b*h*h);k.K(a*f*d,a*f*e,a*(1-b)*h)};c.Yu=function(a,b){var d=new g.Wb,e=new g.Wb,f=new g.Wb,h=new g.Wb;d.cos(b.x);e.sin(b.x);f.cos(b.y);h.sin(b.y);var k=new g.Wb;k.set(h);k.Ag(h);k.No(a);k.No(-1);k.kN();k.sqrt();b=new g.Wb;b.set(1);b.jm(k);k=new g.Wb;k.set(b);k.Ag(f); |
|
k.Ag(d);d=new g.Wb;d.set(b);d.Ag(f);d.Ag(e);e=new g.Wb;e.set(b);e.No(1-a);e.Ag(h);return l.VE(k,d,e)};c.SS=function(a,b,d,e){if(Math.abs(b.x-d.x)>Math.PI||Math.abs(b.y)>.5*Math.PI||Math.abs(d.y)>.5*Math.PI||(Math.abs(b.y)==.5*Math.PI||Math.abs(d.y)==.5*Math.PI)&&b.x!=d.x)return NaN;e=c.cB(e,Math.min(b.x,d.x),Math.max(b.x,d.x));if(!(new g.Nc(b.x,d.x)).contains(e))return NaN;var f=v.construct(b);d=v.construct(d);f=c.Yu(a,f);d=c.Yu(a,d);d=f.cF(d);if(d.z.qg())return b=b.y;var h=new g.Wb;h.set(d.x);h.jm(d.z); |
|
h.No(-1);var k=new g.Wb;k.set(d.y);k.jm(d.z);k.No(-1);var m=new g.Wb;m.set(k);m.Ag(k);f=new g.Wb;f.set(h);f.Ag(h);f.add(m);f.sqrt();if(f.qg()||h.qg()&&k.qg())return b=b.y;b=Math.atan2(k.value(),h.value());b=Math.atan2(f.value()*Math.cos(b-e),1-a);e=c.DP(a,g.h.construct(e,b));a=new g.Nd(e.x,e.y,-e.z);e=d.value().Qh(e);a=d.value().Qh(a);Math.abs(a)<Math.abs(e)&&(b=-b);return b};c.Oz=function(a,b,d,e,f){f[0]=NaN;f[1]=NaN;if(Math.abs(b.x-d.x)>Math.PI||Math.abs(b.y)>.5*Math.PI||Math.abs(d.y)>.5*Math.PI|| |
|
(Math.abs(b.y)==.5*Math.PI||Math.abs(d.y)==.5*Math.PI)&&b.x!=d.x||Math.abs(e)>=.5*Math.PI||0<b.y&&0<d.y&&b.y>e&&d.y>e||0>b.y&&0>d.y&&b.y<e&&d.y<e)return 0;var h=v.construct(b),k=v.construct(d);h=c.Yu(a,h);k=c.Yu(a,k);var m=h.cF(k);if(m.z.qg())return(new g.Nc(b.y,d.y)).contains(e)?(f[0]=b.x,1):0;k=new g.Wb;k.set(m.x);k.jm(m.z);k.No(-1);h=new g.Wb;h.set(m.y);h.jm(m.z);h.No(-1);m=new g.Wb;m.set(h);m.Ag(h);var n=new g.Wb;n.set(k);n.Ag(k);n.add(m);n.sqrt();if(n.qg()||k.qg()&&h.qg())return 0==e?(f[0]=b.x, |
|
f[1]=d.x,2):0;a=(1-a)*Math.tan(e)/n.value();if(1<Math.abs(a))return 0;a=Math.acos(a);m=Math.atan2(h.value(),k.value());k=Math.min(b.x,d.x);h=Math.max(b.x,d.x);d=c.cB(m-a,k,h);a=0!=e?c.cB(m+a,k,h):d;e=0;k<=d&&d<=h&&(f[e]=d,e++);a!=d&&k<=a&&a<=h&&(f[e]=a,e++,2==e&&Math.abs(f[0]-b.x)>Math.abs(f[1]-b.x)&&(b=f[0],f[0]=f[1],f[1]=b));return e};c.cB=function(a,b,d){a>d?(b=Math.ceil((a-d)/(2*Math.PI)),a-=2*b*Math.PI):a<b&&(b=Math.ceil((b-a)/(2*Math.PI)),a+=2*b*Math.PI);return a};return c}()})(D||={});(function(g){g.XK= |
|
function(){function v(){}v.$X=function(l,c){var a=[0,0,0,0],b=new g.h;b.L(c);b.scale(9102==g.cb.sc(l).Hd().Ec()?1:g.cb.sc(l).Hd().ai/3.141592653589793*180);-180>b.x?(b.x-=b.x%360,-180>b.x&&(b.x+=360)):180<b.x&&(b.x-=b.x%360,180<b.x&&(b.x-=360));90<b.y&&(b.y=90);-90>b.y&&(b.y=-90);l=40;c=(l+31)/32;for(var d=-180,e=180,f=l-1,h=c-1;0<=h;h--)for(var k=f-32*h,m=Math.min(32,l-32*h),n=1;n<m;n+=2){var p=.5*(e+d);b.x>=p?(a[h]|=1<<k,d=p):e=p;k-=2;f-=2}d=-90;e=90;f=l-2;for(h=c-1;0<=h;h--)for(k=f-32*h,m=Math.min(32, |
|
l-32*h),n=0;n<m;n+=2)p=.5*(e+d),b.y>=p?(a[h]|=1<<k,d=p):e=p,k-=2,f-=2;return v.$P(a,8,8)};v.$P=function(l,c,a){for(var b=[],d=0;d<c;d++)b[d]="";for(var e=d=0,f=0;f<c;f++){var h=l[d]>>e&31;e+=5;if(31<e){var k=37-e;h&=(1<<k)-1;e-=32;d++;h|=(l[d]&(1<<e)-1)<<k}b[c-1-f]="0123456789bcdefghjkmnpqrstuvwxyz".split("")[h]}if(a>c)for(f=0;f<a-c;f++)b.push("0");else a<c&&(b.length=a);return b.join("")};return v}()})(D||={});(function(g){var v={gcstol:[0,2E-9,1,2.241706620489156E-9,2,2.313672246530541E-9,3,8.98240164660333E-9, |
|
4,8.982433838020134E-9,5,8.982439417325895E-9,6,8.982466029667677E-9,7,8.982476760268133E-9,8,8.982492642167149E-9,9,8.98251968292634E-9,10,8.98253685210448E-9,11,8.982546725256576E-9,12,8.982557456049832E-9,13,8.98257333682596E-9,14,8.982575482995276E-9,15,8.982578488197342E-9,16,8.982579775336987E-9,17,8.9825840676828E-9,18,8.982599090925448E-9,19,8.982605529473397E-9,20,8.982609220517402E-9,21,8.982611968030573E-9,22,8.982616260407152E-9,23,8.982620552787834E-9,24,8.982633429954492E-9,25,8.982637722351582E-9, |
|
26,8.98264416095491E-9,27,8.982646307158072E-9,28,8.982654891980968E-9,29,8.982667769246082E-9,30,8.982674207892485E-9,31,8.982680646548117E-9,32,8.982682792768713E-9,33,8.982685798042582E-9,34,8.982689231436652E-9,35,8.98269137766135E-9,36,8.98269266624163E-9,37,8.982705114087017E-9,38,8.982706830791106E-9,39,8.982711958374661E-9,40,8.982712839964735E-9,41,8.982717991496125E-9,42,8.982721424914803E-9,43,8.982723571154887E-9,44,8.982727863638127E-9,45,8.982730868942154E-9,46,8.982734302370678E-9, |
|
47,8.982745033612112E-9,48,8.982751472369276E-9,49,8.982755764879183E-9,50,8.982762203651733E-9,51,8.982764776628385E-9,52,8.982766496171896E-9,53,8.98277722749025E-9,54,8.98278152002477E-9,55,8.98279933943848E-9,56,8.9829143024805E-9,57,8.982922161948598E-9,58,8.98292327314211E-9,59,8.982925667349601E-9,60,8.982932222965576E-9,61,8.982961298941316E-9,62,8.982965524049989E-9,63,8.982994818246099E-9,64,8.982994895706967E-9,65,8.98299489597736E-9,66,8.983000733443498E-9,67,8.983055097289157E-9,68,8.983064111047368E-9, |
|
69,8.983111996941178E-9,70,8.983120447446023E-9,71,8.98312748954554E-9,72,8.983134531656096E-9,73,8.983141573777694E-9,74,8.983148615910332E-9,75,8.983152841195215E-9,76,8.983153545409748E-9,77,8.983153827095593E-9,78,8.98315396793852E-9,79,8.983154249624393E-9,80,8.983155658054012E-9,81,8.983960794340072E-9,82,8.984061344391998E-9,83,8.984072829255685E-9,84,8.984194981201908E-9,85,8.984275233099427E-9,86,8.984326127007554E-9,87,8.984330099816539E-9,88,8.98433275258421E-9,89,8.984333047023206E-9, |
|
90,8.984333885258723E-9,91,8.984337959508212E-9,92,8.984365176209457E-9,93,8.984727360418079E-9,94,8.984901041679577E-9,95,8.98542662091587E-9,96,8.98610024130669E-9,97,8.992894229037531E-9,98,8.993203677616635E-9,99,8.993206178094346E-9,100,8.993216059187305E-9,101,8.99322029394808E-9,102,8.994627867045891E-9,103,9.467559984315793E-9,104,9.46881168618118E-9,105,9.980888154931644E-9,106,9.981105353606775E-9,107,9.983807356573187E-9,108,1.687060485811522E-8,109,1.688447560354875E-8,110,2.176606011487185E-8, |
|
111,2.225078816042032E-8,112,2.348476432064694E-8,113,2.348765250187846E-8,114,2.378108974103778E-8,115,3.14559636297708E-8,116,3.297788621680806E-8,117,3.667892343788279E-8,118,4.235973644320739E-8,119,4.794625900676345E-8,120,7.262742998235812E-8,121,7.499447580246377E-8,122,7.525056410964318E-8,123,7.979913581209237E-8,124,9.662020153976783E-8,125,9.799175562353741E-8,126,9.897353517547472E-8,127,1.02313891987647E-7,128,1.081460541960784E-7,129,1.21905913857622E-7,130,2.246893314238523E-7,131, |
|
2.297344808062643E-7,132,2.42984645941825E-7,133,2.754604784282804E-7,134,2.884548130346993E-7,135,3.370339971357784E-7,136,4.307953346848296E-7,137,5.208707228462029E-7,138,5.509209568565608E-7,139,6.452227422644406E-7,140,6.740679942715567E-7,141,6.861770001566745E-7,142,7.252630318111686E-7,143,7.441010326374328E-7,144,7.742672907173287E-7,145,9.629542775307953E-7,146,1.061032953945969E-6,147,1.143628333594458E-6,148,1.162186197019925E-6,149,1.36418522650196E-6,150,1.367441038498385E-6,151,1.432394487827058E-6, |
|
152,1.736235742820677E-6,153,1.848250952034914E-6,154,1.909859317102744E-6,155,1.975716534933873E-6,156,2.122065907891938E-6,157,2.72837045300392E-6,158,3.183098861837907E-6,159,3.580986219567645E-6,160,3.819718634205488E-6,161,4.09255567950588E-6,162,4.407367654852486E-6,163,4.774648292756861E-6,164,5.161781938115525E-6,165,5.20870722846203E-6,166,5.729577951308232E-6,167,6.031134685587613E-6,168,6.987290184522236E-6,169,9.241254760174569E-6,170,1.145915590261646E-5],pcstol:[0,6.666666666666667E-9, |
|
1,2E-8,2,4.970973863636364E-5,3,4.970978156565657E-5,4,4.970980410559237E-5,5,.001,6,.001093615055555556,7,.001093615194444445,8,.001093619003239988,9,.001093623110088878,10,.003280833333333333,11,.003280839895013123,12,.003280843014596366,13,.003280845583333334,14,.003280869330266636,15,.00497101413676763],newtoold:[2154,102110,2195,102200,2204,32036,2205,26979,2225,102641,2226,102642,2227,102643,2228,102644,2229,102645,2230,102646,2231,102653,2232,102654,2233,102655,2234,102656,2235,102657,2236, |
|
102658,2237,102659,2238,102660,2239,102666,2240,102667,2241,102668,2242,102669,2243,102670,2246,102679,2247,102680,2248,102685,2249,102686,2250,102687,2254,102694,2255,102695,2257,102712,2258,102713,2259,102714,2260,102715,2261,102716,2262,102717,2263,102718,2264,102719,2267,102724,2268,102725,2271,102728,2272,102729,2274,102736,2275,102737,2276,102738,2277,102739,2278,102740,2279,102741,2283,102746,2284,102747,2285,102748,2286,102749,2287,102752,2288,102753,2289,102754,2312,23433,2326,102140,2395, |
|
2091,2396,2092,2397,2166,2398,2167,2399,2168,2759,102229,2760,102230,2761,102248,2762,102249,2763,102250,2764,102251,2765,102252,2766,102241,2767,102242,2768,102243,2769,102244,2770,102245,2771,102246,2772,102253,2773,102254,2774,102255,2775,102256,2776,102257,2777,102258,2778,102259,2779,102260,2780,102266,2781,102267,2782,102261,2783,102262,2784,102263,2785,102264,2786,102265,2787,102268,2788,102269,2789,102270,2790,102271,2791,102272,2792,102273,2793,102274,2794,102275,2795,102276,2796,102277, |
|
2797,102278,2798,102279,2799,102280,2800,102281,2801,102282,2802,102283,2803,102284,2804,102285,2805,102286,2806,102287,2807,102288,2808,102289,2809,102290,2810,102291,2811,102292,2812,102293,2813,102294,2814,102295,2815,102296,2816,102297,2817,102298,2818,102300,2819,102304,2820,102307,2821,102308,2822,102309,2823,102310,2824,102311,2825,102312,2826,102313,2827,102314,2828,102315,2829,102316,2830,102317,2831,102318,2832,102320,2833,102321,2834,102322,2835,102323,2836,102324,2837,102325,2838,102326, |
|
2839,102327,2840,102330,2841,102334,2842,102335,2843,102336,2844,102337,2845,102338,2846,102339,2847,102340,2848,102341,2849,102342,2850,102343,2851,102344,2852,102345,2853,102346,2854,102347,2855,102348,2856,102349,2857,102350,2858,102351,2859,102352,2860,102353,2861,102354,2862,102355,2863,102356,2864,102357,2865,102358,2866,102361,2942,102167,2943,102169,2944,2139,2945,2140,2946,2141,2947,2142,2948,2143,2949,2144,2950,2145,2951,2146,2952,2147,2953,2036,2954,2291,2955,2153,2956,2152,2957,2151,2958, |
|
2150,2959,2149,2960,2037,2961,2038,2962,2148,2965,2244,2966,2245,3003,102091,3004,102092,3005,102190,3060,2982,3067,102139,3072,102606,3074,102608,3075,102208,3077,102210,3078,102123,3080,102119,3081,102603,3082,102602,3083,102601,3088,65163,3089,102763,3090,102363,3092,102151,3093,102152,3094,102153,3095,102154,3096,102155,3097,102145,3098,102146,3099,102147,3100,102148,3101,102149,3102,2155,3107,102172,3110,102170,3111,102171,3119,2214,3158,102234,3159,102235,3160,102236,3336,2979,3338,102006,3346, |
|
2600,3370,102126,3371,102127,3372,102130,3373,102131,3389,2577,3390,2694,3400,102184,3401,102185,3404,3359,3407,3366,3417,102675,3418,102676,3419,102677,3420,102678,3421,102707,3422,102708,3423,102709,3424,102711,3433,102651,3434,102652,3435,102671,3436,102672,3437,102710,3438,102730,3448,102095,3451,102681,3452,102682,3455,102735,3461,2063,3462,2064,3463,3073,3464,3076,3560,102742,3566,102743,3567,102744,3734,102722,3735,102723,3736,102755,3737,102756,3738,102757,3739,102758,3741,102205,3742,102206, |
|
3743,102207,3748,102211,3750,102202,3751,102203,3759,102663,3760,102463,3764,102112,3770,102090,3771,102180,3772,102181,3773,102182,3775,102186,3776,102187,3777,102188,3800,102183,3801,102189,3812,102199,3814,102609,3815,102469,3819,104990,3821,104136,3824,104137,3825,102444,3826,102443,3827,102442,3828,102441,3857,102100,3889,104991,3906,104992,4048,103201,4049,103202,4050,103203,4051,103204,4056,103205,4057,103206,4058,103207,4059,103208,4060,103209,4061,103210,4062,103211,4063,103212,4071,103213, |
|
4082,103214,4083,103215,4093,103216,4094,103217,4095,103218,4096,103219,4167,104108,4169,37252,4171,104107,4189,104110,4197,4234,4223,37223,4304,104304,4414,102201,4415,102762,4417,102764,4434,102765,4437,102647,4455,32029,4456,32018,4457,3454,4462,102439,4463,4466,4470,4469,4484,103794,4485,103795,4486,103796,4487,103797,4488,103798,4489,103799,4611,104104,4612,104111,4613,37255,4615,37247,4616,37250,4617,4140,4618,4291,4620,37211,4626,37235,4647,102362,4658,37204,4668,37201,4669,4126,4672,37217, |
|
4673,104125,4675,37220,4684,37232,4698,4631,4707,37213,4708,37231,4709,37212,4710,37238,4711,37214,4712,37237,4713,37208,4714,37215,4715,37253,4716,37216,4717,37239,4719,37219,4722,37242,4724,37233,4725,37222,4727,37224,4728,37246,4729,37226,4730,37227,4731,37228,4732,37229,4733,37230,4734,37251,4735,37259,4736,37254,4739,37205,4758,104133,4760,37001,4762,104114,4826,102214,5013,104142,5014,102331,5015,102332,5016,102333,5173,102085,5174,102086,5175,102087,5176,102088,5177,102089,5178,102040,5179, |
|
102080,5185,102081,5186,102082,5187,102083,5188,102084,5221,102066,5246,104100,5247,102490,5324,104144,5325,102420,5329,2934,5365,104143,5367,102305,5451,104132,5513,102065,5514,102067,5519,102111,5520,31461,5646,102745,5839,5388,5858,5532,5879,4474,6207,104256,6244,102769,6245,102790,6246,102770,6247,102771,6248,102793,6249,102796,6250,102772,6251,102788,6252,102775,6253,102795,6254,102781,6255,102767,6256,102774,6257,102768,6258,102797,6259,102789,6260,102780,6261,102783,6262,102787,6263,102791, |
|
6264,102777,6265,102798,6266,102779,6267,102784,6268,102792,6269,102782,6270,102785,6271,102794,6272,102773,6273,102778,6274,102786,6275,102776,6311,104141,6318,104145,6322,104287,6325,104286,6328,102046,6329,102047,6330,102048,6331,102049,6332,102050,6333,102051,6334,102052,6335,102053,6336,102054,6337,102055,6338,102056,6339,102057,6340,102058,6341,102059,6342,102382,6343,102383,6344,102384,6345,102385,6346,102386,6347,102387,6348,102388,6350,102965,6355,102975,6356,102976,6391,6141,6393,102966, |
|
6394,102977,6395,102978,6396,102979,6397,102980,6398,102981,6399,102982,6400,102983,6401,102984,6402,102985,6403,102986,6404,102988,6405,102991,6406,102987,6407,102990,6408,102989,6409,102992,6410,102993,6411,102995,6412,102994,6413,102996,6414,102962,6415,102997,6416,103003,6417,102998,6418,103004,6419,102999,6420,103005,6421,103E3,6422,103006,6423,103001,6424,103007,6425,103002,6426,103008,6427,103010,6428,103013,6429,103009,6430,103012,6431,103011,6432,103014,6433,103015,6434,103016,6435,103017, |
|
6436,103018,6437,103019,6438,103022,6439,102967,6440,103021,6441,103024,6442,103020,6443,103023,6444,103025,6445,103027,6446,103026,6447,103028,6448,103030,6449,103033,6450,103029,6451,103032,6452,103031,6453,103034,6454,103035,6455,103037,6456,103036,6457,103038,6458,103039,6459,103041,6460,103040,6461,103042,6462,103043,6463,103045,6464,103044,6465,103046,6466,103047,6467,103049,6468,103048,6469,103050,6470,103051,6471,103052,6472,103053,6473,103054,6474,103055,6475,103056,6476,103057,6477,103059, |
|
6478,103058,6479,103060,6480,103066,6481,103065,6482,103067,6483,103061,6484,103063,6485,103062,6486,103064,6487,103068,6488,103069,6489,103071,6490,103073,6491,103070,6492,103072,6493,103075,6494,103078,6495,103074,6496,103077,6497,102968,6498,103076,6499,103079,6500,103081,6501,103084,6502,103080,6503,103083,6504,103082,6505,103085,6506,103086,6507,103088,6508,102963,6509,103087,6510,103089,6511,103091,6512,103090,6513,103092,6514,103093,6515,103094,6516,103095,6518,103098,6519,103101,6520,103097, |
|
6521,103100,6522,103099,6523,103102,6524,103103,6525,103104,6526,103105,6527,103106,6528,103108,6529,103111,6530,103107,6531,103110,6532,103109,6533,103112,6534,103114,6535,103118,6536,103113,6537,103117,6538,103116,6539,103120,6540,103115,6541,103119,6542,103121,6543,103122,6544,103123,6545,103125,6546,103124,6547,103126,6548,103127,6549,103129,6550,103128,6551,103130,6552,103131,6553,103133,6554,103132,6555,103134,6556,102969,6557,102970,6558,103135,6559,103137,6560,103136,6561,103138,6562,103139, |
|
6563,103140,6564,103141,6565,103142,6566,103200,6567,103143,6568,103144,6569,103145,6570,103146,6571,103147,6572,103149,6573,103148,6574,103150,6575,103151,6576,103152,6577,103155,6578,103160,6579,102971,6580,102972,6581,103153,6582,103158,6583,103154,6584,103159,6585,103157,6586,103162,6587,103156,6588,103161,6589,103172,6590,103173,6592,103174,6593,103176,6594,103175,6595,103177,6596,103178,6597,103180,6598,103179,6599,103181,6600,103182,6601,103184,6602,103183,6603,103185,6605,103190,6606,103186, |
|
6607,103189,6608,103188,6609,103191,6610,102973,6611,103192,6612,103196,6613,103193,6614,103197,6615,103195,6616,103199,6617,103194,6618,103198,6619,103164,6620,103163,6621,103165,6625,103170,6626,103169,6627,103171,6628,102520,6629,102521,6630,102522,6631,102523,6632,102524,6633,102527,6634,102493,6635,102494,6636,102496,6637,102495,6668,104020,6669,102610,6670,102611,6671,102612,6672,102613,6673,102614,6674,102615,6675,102616,6676,102617,6677,102618,6678,102619,6679,102620,6680,102621,6681,102622, |
|
6682,102623,6683,102624,6684,102625,6685,102626,6686,102627,6687,102628,6688,102593,6689,102594,6690,102595,6691,102596,6692,102597,6783,104223,6784,102530,6785,102500,6788,102532,6789,102502,6792,102533,6793,102503,6796,102531,6797,102501,6800,102534,6801,102504,6804,102535,6805,102505,6808,102536,6809,102506,6812,102537,6813,102507,6816,102538,6817,102508,6820,102539,6821,102509,6824,102540,6825,102510,6828,102541,6829,102511,6832,102542,6833,102512,6836,102543,6837,102513,6840,102544,6841,102514, |
|
6844,102546,6845,102516,6848,102545,6849,102515,6852,102547,6853,102517,6856,102548,6857,102518,6860,102549,6861,102519,6867,102380,6868,102381,6879,103187,6880,103096,6884,102376,6885,102378,6886,102377,6887,102379,7136,6980,7139,6987,7142,102706,7692,102557,7693,102558,7694,102559,7695,102560,7696,102561,8090,103318,8091,103418,8092,103317,8093,103417,8095,103371,8096,103471,8097,103369,8098,103469,8099,103368,8100,103468,8101,103367,8102,103467,8103,103366,8104,103466,8105,103365,8106,103465,8107, |
|
103364,8108,103464,8109,103363,8110,103463,8111,103362,8112,103462,8113,103361,8114,103461,8115,103360,8116,103460,8117,103359,8118,103459,8119,103357,8120,103457,8121,103356,8122,103456,8123,103355,8124,103455,8125,103354,8126,103454,8127,103353,8128,103453,8129,103352,8130,103452,8131,103350,8132,103450,8133,103349,8134,103449,8135,103348,8136,103448,8139,103343,8140,103443,8141,103342,8142,103442,8143,103341,8144,103441,8145,103339,8146,103439,8147,103337,8148,103437,8149,103336,8150,103436,8151, |
|
103334,8152,103434,8153,103333,8154,103433,8155,103331,8156,103431,8161,103326,8162,103426,8163,103325,8164,103425,8165,103324,8166,103424,8171,103321,8172,103421,8173,103320,8177,103420,8179,103316,8180,103416,8181,103315,8182,103415,8184,103314,8185,103414,8191,103312,8193,103412,8196,103311,8197,103411,8198,103310,8200,103410,8201,103309,8202,103409,8203,103308,8204,103408,8207,103306,8208,103406,8209,103305,8210,103405,8212,103304,8213,103404,8214,103303,8216,103403,8218,103302,8220,103402,8222, |
|
103301,8224,103401,8431,104248,8441,102590,8693,102449,8826,102605,8857,54035,8858,54036,8859,54037,8860,8449,8988,104115,8989,104116,8990,104117,8991,104118,8992,104119,8993,104120,8994,104121,8995,104122,8996,104123,8997,104124,8998,104896,8999,104257,9E3,104019,9014,104010,9019,104021,9053,104011,9054,104012,9055,104013,9056,104014,9057,104015,9059,104258,9060,104179,9061,104180,9062,104181,9063,104182,9064,104183,9065,104184,9066,104185,9067,104186,21896,21891,21897,21892,21898,21893,21899,21894, |
|
26701,102124,26702,102125,26799,26747,26847,102683,26848,102684,26849,102691,26850,102692,26851,102693,26852,102704,26853,102750,26854,102751,26857,102466,26858,102467,26859,102468,26901,102128,26902,102129,27493,27492,29101,29100,29168,29118,29169,29119,29170,29120,29171,29121,29172,29122,29187,29177,29188,29178,29189,29179,29190,29180,29191,29181,29192,29182,29193,29183,29194,29184,29195,29185,29902,29900,31279,31278,31281,31291,31282,31292,31283,31293,31284,31294,31285,31295,31286,31296,31287, |
|
31297,31466,31462,31467,31463,31468,31464,31469,31465,31986,31917,31987,31918,31988,31919,31989,31920,31990,31921,31991,31922,32064,32074,32065,32075,32066,32076,32067,32077,102550,2181,102551,2182,102552,2183,102553,2184,102554,2185,102555,2186,102556,2187],pcsid:[2066,15,2136,12,2155,10,2157,5,2158,5,2159,12,2160,12,2219,5,2220,5,2244,10,2245,10,2256,11,2265,11,2266,11,2269,11,2270,11,2273,11,2290,5,2291,5,2294,5,2295,5,2313,5,2314,14,2899,10,2900,10,2901,11,2909,11,2910,11,2911,10,2912,10,2913, |
|
11,2914,11,2964,10,2967,10,2968,10,2991,5,2992,11,2993,5,2994,11,3073,5,3076,5,3079,5,3091,10,3106,5,3108,5,3109,5,3141,5,3142,5,3167,4,3337,5,3347,5,3348,5,3359,10,3360,5,3361,11,3362,5,3363,10,3364,5,3365,10,3366,14,3402,5,3403,5,3405,5,3406,5,3439,5,3440,5,3447,5,3449,5,3450,5,3453,10,3454,10,3460,5,3479,11,3480,5,3481,11,3482,5,3483,11,3484,5,3485,10,3486,5,3487,10,3488,5,3489,5,3490,10,3491,5,3492,10,3493,5,3494,10,3495,5,3496,10,3497,5,3498,10,3499,5,3500,10,3501,5,3502,10,3503,5,3504,10,3505, |
|
5,3506,10,3507,5,3508,10,3509,5,3510,10,3511,5,3512,10,3513,5,3514,5,3515,10,3516,5,3517,10,3518,5,3519,10,3520,5,3521,10,3522,5,3523,10,3524,5,3525,10,3526,5,3527,10,3528,5,3529,10,3530,5,3531,10,3532,5,3533,10,3534,5,3535,10,3536,5,3537,10,3538,5,3539,10,3540,5,3541,10,3542,5,3543,10,3544,5,3545,10,3546,5,3547,10,3548,5,3549,10,3550,5,3551,10,3552,5,3553,10,3582,10,3583,5,3584,10,3585,5,3586,10,3587,5,3588,11,3589,5,3590,11,3591,5,3592,5,3593,11,3598,10,3599,5,3600,10,3605,11,3606,5,3607,5,3608, |
|
10,3609,5,3610,10,3611,5,3612,10,3613,5,3614,10,3615,5,3616,10,3617,5,3618,10,3619,5,3620,10,3621,5,3622,10,3623,5,3624,10,3625,5,3626,10,3627,5,3628,10,3629,5,3630,10,3631,5,3632,10,3633,5,3634,11,3635,5,3636,11,3640,10,3641,5,3642,10,3643,5,3644,11,3645,5,3646,11,3647,5,3648,11,3649,5,3650,10,3651,5,3652,10,3653,5,3654,10,3655,5,3656,11,3657,5,3658,10,3659,5,3660,10,3661,5,3662,10,3663,5,3664,10,3668,10,3669,5,3670,10,3671,5,3672,10,3673,5,3674,10,3675,5,3676,11,3677,10,3678,5,3679,11,3680,10,3681, |
|
5,3682,11,3683,10,3684,5,3685,5,3686,10,3687,5,3688,10,3689,5,3690,10,3691,5,3692,10,3696,10,3697,5,3698,10,3699,5,3700,10,3740,5,3749,5,3783,5,3784,5,3793,5,3794,5,3802,5,3816,5,3829,5,3854,5,3911,5,3912,5,3920,5,3978,5,3979,5,3991,10,3992,10,4026,5,4037,5,4038,5,4087,5,4088,5,4217,10,4438,10,4439,10,4467,5,4471,5,4474,5,4559,5,4822,5,4839,5,5018,5,5048,5,5167,5,5168,5,5223,5,5234,5,5235,5,5243,5,5266,5,5316,5,5320,5,5321,5,5330,5,5331,5,5337,5,5361,5,5362,5,5382,5,5383,5,5396,5,5456,5,5457,5,5469, |
|
5,5472,9,5490,5,5518,5,5523,5,5559,5,5588,11,5589,14,5596,5,5627,5,5629,5,5641,5,5643,5,5644,5,5654,10,5655,10,5659,5,5700,5,5825,5,5836,5,5837,5,5842,5,5844,5,5880,5,5887,5,5890,5,6128,11,6129,11,6141,11,6204,5,6210,5,6211,5,6307,5,6312,5,6316,5,6362,5,6591,5,6646,5,6703,5,6786,5,6787,11,6790,5,6791,11,6794,5,6795,11,6798,5,6799,11,6802,5,6803,11,6806,5,6807,11,6810,5,6811,11,6814,5,6815,11,6818,5,6819,11,6822,5,6823,11,6826,5,6827,11,6830,5,6831,11,6834,5,6835,11,6838,5,6839,11,6842,5,6843,11,6846, |
|
5,6847,11,6850,5,6851,11,6854,5,6855,11,6858,5,6859,11,6862,5,6863,11,6870,5,6875,5,6876,5,6915,5,6922,5,6923,10,6924,5,6925,10,6962,5,6984,5,6991,5,7128,10,7131,5,7132,10,7257,5,7258,10,7259,5,7260,10,7261,5,7262,10,7263,5,7264,10,7265,5,7266,10,7267,5,7268,10,7269,5,7270,10,7271,5,7272,10,7273,5,7274,10,7275,5,7276,10,7277,5,7278,10,7279,5,7280,10,7281,5,7282,10,7283,5,7284,10,7285,5,7286,10,7287,5,7288,10,7289,5,7290,10,7291,5,7292,10,7293,5,7294,10,7295,5,7296,10,7297,5,7298,10,7299,5,7300,10, |
|
7301,5,7302,10,7303,5,7304,10,7305,5,7306,10,7307,5,7308,10,7309,5,7310,10,7311,5,7312,10,7313,5,7314,10,7315,5,7316,10,7317,5,7318,10,7319,5,7320,10,7321,5,7322,10,7323,5,7324,10,7325,5,7326,10,7327,5,7328,10,7329,5,7330,10,7331,5,7332,10,7333,5,7334,10,7335,5,7336,10,7337,5,7338,10,7339,5,7340,10,7341,5,7342,10,7343,5,7344,10,7345,5,7346,10,7347,5,7348,10,7349,5,7350,10,7351,5,7352,10,7353,5,7354,10,7355,5,7356,10,7357,5,7358,10,7359,5,7360,10,7361,5,7362,10,7363,5,7364,10,7365,5,7366,10,7367,5, |
|
7368,10,7369,5,7370,10,7877,5,7878,5,7882,5,7883,5,7887,5,7899,5,7991,5,7992,5,8035,10,8036,10,8058,5,8059,5,8082,5,8083,5,8088,5,8137,5,8138,10,8157,5,8158,10,8159,5,8160,10,8167,5,8168,10,8169,5,8170,10,8187,5,8189,10,8205,5,8206,10,8225,5,8226,10,8311,5,8312,11,8313,5,8314,11,8315,5,8316,11,8317,5,8318,11,8319,5,8320,11,8321,5,8322,11,8323,5,8324,11,8325,5,8326,11,8327,5,8328,11,8329,5,8330,11,8331,5,8332,11,8333,5,8334,11,8335,5,8336,11,8337,5,8338,11,8339,5,8340,11,8341,5,8342,11,8343,5,8344, |
|
11,8345,5,8346,11,8347,5,8348,11,8352,5,8353,5,8379,5,8380,10,8381,5,8382,10,8383,5,8384,10,8385,5,8387,10,8391,5,8395,5,8433,5,8455,5,8456,5,8531,10,8682,5,8687,5,8692,5,8903,5,8950,5,8951,5,9039,5,9040,5,9141,5,9149,5,9150,5,9191,5,9221,5,9222,5,20499,5,20538,5,20539,5,20790,5,20791,5,21291,5,21292,5,21500,5,21817,5,21818,5,22032,5,22033,5,22091,5,22092,5,22332,5,22391,5,22392,5,22700,5,22770,5,22780,5,22832,5,23090,5,23095,5,23239,5,23240,5,23433,5,23700,5,24047,5,24048,5,24100,14,24200,5,24305, |
|
5,24306,5,24382,6,24383,5,24500,5,24547,5,24548,5,24571,2,24600,5,25E3,5,25231,5,25884,5,25932,5,26237,5,26331,5,26332,5,26591,5,26592,5,26632,5,26692,5,26855,10,26856,10,27120,5,27200,5,27291,7,27292,7,27429,5,27492,5,27500,5,27700,5,28232,5,28600,5,28991,5,28992,5,29100,5,29220,5,29221,5,29333,5,29635,5,29636,5,29701,5,29738,5,29739,5,29849,5,29850,5,29871,3,29872,13,29873,5,29900,5,29901,5,29903,5,30200,15,30339,5,30340,5,30791,5,30792,5,31028,5,31121,5,31154,5,31170,5,31171,5,31370,5,31528,5, |
|
31529,5,31600,5,31700,5,31838,5,31839,5,31901,5,32061,5,32062,5,32098,5,32099,10,32100,5,32104,5,32161,5,32766,5,53048,5,53049,5,54090,5,54091,5,65061,10,65062,10,65161,5,65163,5,102041,10,102064,8,102068,1,102069,0,102118,10,102119,11,102120,10,102121,10,102217,10,102218,5,102219,10,102220,10,102378,11,102379,11,102380,5,102381,11,102498,5,102499,5,102589,10,102590,5,102599,10,102600,10,102604,10,102605,5,102606,5,102647,5,102704,10,102705,10,102706,5,102733,10,102761,10,102762,5,102763,10,102764, |
|
5,102765,5,102766,10,102962,5,102963,5,102970,11,102974,10,102993,5,102994,5,102995,10,102996,10,103015,5,103016,10,103017,5,103018,10,103025,5,103026,5,103027,10,103028,10,103035,5,103036,5,103037,10,103038,10,103039,5,103040,5,103041,10,103042,10,103043,5,103044,5,103045,10,103046,10,103047,5,103048,5,103049,10,103050,10,103051,5,103052,10,103053,5,103054,10,103055,5,103056,10,103057,5,103058,5,103059,10,103060,10,103061,5,103062,5,103063,10,103064,10,103069,10,103070,5,103071,5,103072,10,103073, |
|
10,103086,5,103087,5,103088,10,103089,10,103094,11,103095,5,103096,10,103103,5,103104,10,103105,5,103106,10,103121,5,103122,10,103123,5,103124,5,103125,11,103126,11,103127,5,103128,5,103129,10,103130,10,103131,5,103132,5,103133,10,103134,10,103135,5,103136,5,103137,11,103138,11,103139,5,103140,10,103141,5,103142,10,103143,5,103144,10,103145,5,103146,11,103147,5,103148,5,103149,10,103150,10,103151,5,103152,10,103172,5,103173,10,103174,5,103175,5,103176,10,103177,10,103178,5,103179,5,103180,10,103181, |
|
10,103182,5,103183,5,103184,10,103185,10,103228,5,103229,5,103230,10,103231,10,103250,5,103251,10,103252,5,103253,10,103260,5,103261,5,103262,10,103263,10,103270,5,103271,5,103272,10,103273,10,103274,5,103275,5,103276,10,103277,10,103278,5,103279,5,103280,10,103281,10,103282,5,103283,5,103284,10,103285,10,103286,5,103287,10,103288,5,103289,10,103290,5,103291,10,103292,5,103293,5,103294,10,103295,10,103296,5,103297,5,103298,10,103299,10,103376,10,103377,5,103378,5,103379,10,103380,10,103393,5,103394, |
|
5,103395,10,103396,10,103472,5,103473,11,103474,5,103475,10,103482,5,103483,10,103484,5,103485,10,103500,5,103501,10,103502,5,103503,5,103504,11,103505,11,103506,5,103507,5,103508,10,103509,10,103510,5,103511,5,103512,10,103513,10,103514,5,103515,10,103516,5,103517,10,103518,5,103519,10,103520,5,103521,11,103522,5,103523,5,103524,10,103525,10,103526,5,103527,10,103561,10,103562,10,103563,5,103564,5,103565,10,103566,10,103567,5,103568,5,103569,10,103570,10,103585,10,103586,5,103587,10,103588,11,103589, |
|
5,103590,10,103591,11,103592,5,103593,10,103594,11,103695,10,103846,5,103946,10],pcsidc:[[2E3,2045,5],[2056,2065,5],[2067,2135,5],[2137,2153,5],[2161,2170,5],[2172,2193,5],[2196,2198,5],[2200,2203,5],[2206,2217,5],[2222,2224,11],[2251,2253,11],[2280,2282,11],[2308,2311,5],[2315,2325,5],[2327,2394,5],[2400,2491,5],[2494,2758,5],[2867,2869,11],[2870,2888,10],[2891,2895,10],[2896,2898,11],[2902,2908,10],[2915,2920,10],[2921,2923,11],[2924,2930,10],[2931,2941,5],[2969,2973,5],[2975,2982,5],[2984,2988, |
|
5],[2995,3002,5],[3006,3051,5],[3054,3059,5],[3061,3066,5],[3068,3071,5],[3084,3087,5],[3112,3118,5],[3120,3138,5],[3146,3151,5],[3153,3157,5],[3161,3166,5],[3168,3172,5],[3174,3203,5],[3294,3313,5],[3315,3335,5],[3339,3345,5],[3350,3358,5],[3367,3369,5],[3374,3388,5],[3391,3399,5],[3408,3416,5],[3425,3432,10],[3441,3446,10],[3456,3459,10],[3465,3478,5],[3554,3559,5],[3561,3565,10],[3568,3570,10],[3571,3581,5],[3594,3597,5],[3601,3604,5],[3637,3639,5],[3665,3667,5],[3693,3695,5],[3701,3727,5],[3728, |
|
3733,10],[3744,3747,5],[3753,3758,10],[3761,3763,5],[3765,3769,5],[3779,3781,5],[3788,3791,5],[3797,3799,5],[3832,3841,5],[3844,3852,5],[3873,3885,5],[3890,3893,5],[3942,3950,5],[3968,3970,5],[3973,3976,5],[3986,3989,5],[3994,3997,5],[4390,4398,5],[4399,4413,10],[4418,4433,10],[4491,4554,5],[4568,4589,5],[4652,4656,5],[4766,4800,5],[5069,5072,5],[5105,5130,5],[5180,5184,5],[5253,5259,5],[5269,5275,5],[5292,5311,5],[5343,5349,5],[5355,5357,5],[5387,5389,5],[5459,5463,5],[5479,5482,5],[5530,5539,5], |
|
[5550,5552,5],[5562,5583,5],[5623,5625,10],[5631,5639,5],[5649,5653,5],[5663,5680,5],[5682,5685,5],[5875,5877,5],[5896,5899,5],[5921,5940,5],[6050,6125,5],[6351,6354,5],[6366,6372,5],[6381,6387,5],[6622,6624,5],[6707,6709,5],[6720,6723,5],[6732,6738,5],[6931,6933,5],[7005,7007,5],[7057,7070,10],[7074,7082,5],[7109,7118,5],[7119,7127,11],[7374,7376,5],[7528,7586,5],[7587,7645,10],[7755,7787,5],[7791,7795,5],[7799,7801,5],[7803,7805,5],[7825,7831,5],[7845,7859,5],[8013,8032,5],[8065,8068,11],[8518, |
|
8529,10],[8533,8536,10],[8538,8540,10],[8677,8679,5],[8836,8840,5],[8908,8910,5],[9154,9159,5],[9205,9218,5],[20002,20032,5],[20062,20092,5],[20135,20138,5],[20248,20258,5],[20348,20358,5],[20436,20440,5],[20822,20824,5],[20934,20936,5],[21035,21037,5],[21095,21097,5],[21148,21150,5],[21413,21423,5],[21473,21483,5],[21780,21782,5],[21891,21894,5],[22171,22177,5],[22181,22187,5],[22191,22197,5],[22234,22236,5],[22521,22525,5],[22991,22994,5],[23028,23038,5],[23830,23853,5],[23866,23872,5],[23877,23884, |
|
5],[23886,23894,5],[23946,23948,5],[24311,24313,5],[24342,24347,5],[24370,24374,6],[24375,24381,5],[24718,24721,5],[24817,24821,5],[24877,24882,5],[24891,24893,5],[25391,25395,5],[25828,25838,5],[26191,26195,5],[26391,26393,5],[26703,26722,5],[26729,26760,10],[26766,26798,10],[26860,26870,10],[26891,26899,5],[26903,26923,5],[26929,26946,5],[26948,26998,5],[27037,27040,5],[27205,27232,5],[27258,27260,5],[27391,27398,5],[27561,27564,5],[27571,27574,5],[27581,27584,5],[27591,27594,5],[28191,28193,5], |
|
[28348,28358,5],[28402,28432,5],[28462,28492,5],[29118,29122,5],[29177,29185,5],[30161,30179,5],[30491,30494,5],[30729,30732,5],[31251,31259,5],[31265,31268,5],[31275,31278,5],[31288,31297,5],[31461,31465,5],[31491,31495,5],[31917,31922,5],[31965,31985,5],[31992,32E3,5],[32001,32003,10],[32005,32031,10],[32033,32060,10],[32074,32077,10],[32081,32086,5],[32107,32130,5],[32133,32158,5],[32164,32167,10],[32180,32199,5],[32201,32260,5],[32301,32360,5],[32601,32662,5],[32664,32667,10],[32701,32761,5], |
|
[53001,53004,5],[53008,53019,5],[53021,53032,5],[53034,53037,5],[53042,53046,5],[53074,53080,5],[54001,54004,5],[54008,54019,5],[54021,54032,5],[54034,54037,5],[54042,54046,5],[54048,54053,5],[54074,54080,5],[54098,54101,5],[102001,102040,5],[102042,102063,5],[102065,102067,5],[102070,102112,5],[102114,102117,5],[102122,102208,5],[102210,102216,5],[102221,102300,5],[102304,102377,5],[102382,102388,5],[102389,102398,10],[102399,102444,5],[102445,102447,10],[102448,102458,5],[102459,102468,10],[102469, |
|
102496,5],[102500,102519,11],[102520,102524,5],[102525,102529,10],[102530,102549,5],[102557,102588,5],[102593,102598,5],[102601,102603,5],[102608,102628,5],[102629,102646,10],[102648,102672,10],[102675,102700,10],[102701,102703,5],[102707,102730,10],[102735,102758,10],[102767,102900,5],[102965,102969,5],[102971,102973,5],[102975,102989,5],[102990,102992,11],[102997,103002,5],[103003,103008,10],[103009,103011,5],[103012,103014,10],[103019,103021,5],[103022,103024,10],[103029,103031,5],[103032,103034, |
|
10],[103065,103068,5],[103074,103076,5],[103077,103079,11],[103080,103082,5],[103083,103085,10],[103090,103093,5],[103097,103099,5],[103100,103102,10],[103107,103109,5],[103110,103112,10],[103113,103116,5],[103117,103120,10],[103153,103157,5],[103158,103162,10],[103163,103165,5],[103166,103168,11],[103169,103171,10],[103186,103188,5],[103189,103191,10],[103192,103195,5],[103196,103199,10],[103200,103224,5],[103225,103227,11],[103232,103237,5],[103238,103243,10],[103244,103246,5],[103247,103249,10], |
|
[103254,103256,5],[103257,103259,10],[103264,103266,5],[103267,103269,10],[103300,103375,5],[103381,103383,5],[103384,103386,11],[103387,103389,5],[103390,103392,10],[103397,103399,5],[103400,103471,10],[103476,103478,5],[103479,103481,10],[103486,103488,5],[103489,103491,10],[103492,103495,5],[103496,103499,10],[103539,103543,5],[103544,103548,10],[103549,103551,5],[103552,103554,11],[103555,103557,10],[103558,103560,5],[103571,103573,5],[103574,103576,10],[103577,103580,5],[103581,103583,10],[103595, |
|
103597,5],[103600,103694,5],[103696,103698,5],[103700,103793,10],[103794,103799,5]],gcsid:[4001,81,4002,85,4003,70,4004,84,4005,82,4006,83,4007,60,4008,67,4009,39,4010,57,4011,63,4012,64,4013,64,4014,63,4015,92,4016,90,4018,86,4019,75,4020,68,4021,70,4022,55,4023,75,4024,66,4025,73,4027,95,4028,59,4029,58,4031,75,4032,78,4033,77,4034,65,4035,100,4036,70,4042,88,4044,87,4045,89,4046,75,4047,99,4052,101,4053,97,4054,61,4075,75,4081,75,4120,84,4121,75,4122,80,4123,55,4124,84,4126,75,4130,75,4131,92, |
|
4132,64,4133,75,4134,64,4140,75,4141,75,4142,64,4143,64,4144,92,4145,87,4146,89,4147,66,4148,75,4149,84,4150,84,4151,75,4152,75,4153,55,4154,55,4155,63,4156,84,4157,60,4162,84,4163,75,4164,66,4165,55,4166,75,4168,58,4170,75,4172,75,4173,75,4174,58,4175,64,4176,75,4178,66,4179,66,4180,75,4188,81,4190,75,4191,66,4192,55,4193,63,4198,64,4199,55,4200,66,4201,64,4202,70,4203,70,4204,55,4205,66,4206,63,4207,55,4208,55,4209,64,4210,64,4211,84,4212,64,4213,63,4214,66,4215,55,4216,67,4218,55,4219,84,4220, |
|
64,4221,55,4222,64,4224,55,4225,55,4229,68,4230,55,4231,55,4232,64,4234,64,4235,55,4236,55,4237,70,4238,70,4239,92,4240,92,4241,65,4242,67,4243,88,4244,92,4245,86,4246,64,4250,64,4251,64,4252,63,4253,67,4254,55,4255,55,4256,64,4257,84,4258,75,4259,55,4260,64,4261,106,4262,84,4263,64,4265,55,4266,63,4267,67,4269,75,4270,64,4271,55,4272,55,4273,82,4274,55,4275,63,4276,73,4280,84,4281,57,4282,63,4283,75,4284,66,4285,55,4286,68,4288,55,4289,84,4291,70,4292,55,4293,83,4294,84,4295,84,4296,63,4297,55,4298, |
|
90,4299,85,4300,85,4301,84,4302,60,4303,68,4306,84,4307,64,4308,84,4309,55,4310,63,4311,55,4312,84,4313,55,4314,84,4315,63,4316,55,4317,66,4318,75,4319,75,4322,80,4324,80,4326,75,4466,75,4469,75,4475,55,4483,75,4490,75,4555,66,4558,75,4608,67,4609,67,4610,74,4614,55,4619,75,4624,75,4625,55,4627,75,4636,55,4637,55,4638,67,4639,55,4657,93,4659,75,4660,55,4661,75,4666,84,4667,75,4670,75,4671,63,4674,75,4679,64,4680,64,4682,92,4683,67,4686,75,4687,75,4693,75,4694,75,4695,67,4696,64,4697,64,4702,75,4703, |
|
64,4704,55,4705,55,4706,68,4718,55,4720,80,4721,55,4723,67,4726,67,4737,75,4738,60,4740,79,4741,55,4742,75,4743,64,4744,64,4745,84,4746,84,4747,75,4748,56,4749,75,4750,75,4751,91,4752,56,4753,55,4754,55,4759,75,4761,75,4801,84,4802,55,4803,55,4804,84,4805,84,4806,55,4807,106,4808,84,4809,55,4810,105,4811,106,4816,106,4817,82,4818,84,4820,84,4821,106,4823,55,4824,55,4901,107,4902,107,4903,59,4904,84,5228,84,5229,84,5233,92,5252,75,5264,75,5340,75,5354,75,5360,75,5371,75,5373,75,5381,75,5393,75,5464, |
|
60,5467,67,5489,75,5524,55,5527,70,5546,75,5561,66,5593,75,5681,84,5886,75,6135,75,6365,75,6706,75,6881,64,6882,64,6883,55,6892,64,6894,64,6980,75,6983,75,6987,75,6990,75,7035,75,7037,75,7039,75,7041,75,7073,75,7084,75,7086,75,7133,75,7373,75,7683,76,7798,75,7844,75,7881,75,7886,75,8042,96,8043,96,8086,75,8232,75,8237,75,8240,75,8246,75,8249,75,8252,75,8255,75,8351,84,8427,75,8428,55,8449,75,8545,75,8685,75,8694,64,8699,75,8818,75,8888,75,8900,75,8902,75,8907,75,8949,75,9003,75,9006,75,9009,75,9012, |
|
75,9017,75,9068,75,9069,75,9140,75,9148,75,9153,75,37001,73,37002,69,37003,72,37004,71,37005,62,37006,91,37007,94,37008,101,37201,55,37202,92,37203,87,37204,55,37205,55,37206,64,37207,71,37208,64,37211,64,37220,67,37221,55,37222,55,37223,63,37224,55,37225,106,37226,55,37227,55,37228,64,37229,62,37230,55,37231,70,37232,55,37233,55,37235,55,37237,55,37238,55,37239,67,37240,64,37241,55,37242,55,37243,67,37252,67,37253,55,37254,64,37255,84,37257,66,37259,55,37260,67,104017,79,104018,79,104024,75,104027, |
|
75,104047,98,104050,75,104100,75,104101,84,104102,84,104103,64,104104,55,104105,84,104106,55,104107,75,104108,75,104109,67,104110,75,104111,75,104112,67,104113,67,104128,102,104129,75,104130,55,104131,84,104132,67,104133,75,104134,75,104135,66,104136,70,104137,75,104138,55,104139,106,104140,106,104223,75,104248,55,104256,92,104261,63,104286,75,104287,75,104304,63,104700,49,104701,9,104702,24,104703,15,104704,28,104705,32,104706,53,104707,46,104708,37,104709,54,104710,11,104711,14,104712,30,104713, |
|
52,104714,4,104715,4,104716,23,104717,14,104718,48,104719,29,104720,22,104721,21,104722,35,104723,21,104724,46,104725,22,104726,49,104727,45,104728,52,104729,10,104730,10,104731,21,104732,31,104733,26,104734,40,104735,19,104736,30,104737,34,104738,27,104739,46,104740,5,104741,12,104742,50,104743,9,104744,43,104745,21,104746,26,104747,25,104748,21,104749,7,104750,53,104751,6,104752,33,104753,29,104754,19,104755,41,104756,31,104757,3,104758,41,104759,25,104760,49,104761,41,104762,44,104763,50,104764, |
|
46,104765,6,104766,40,104767,16,104768,8,104769,17,104770,48,104771,42,104772,50,104773,25,104774,29,104775,25,104776,32,104777,13,104778,36,104779,47,104780,14,104781,29,104782,23,104783,38,104784,42,104785,18,104786,20,104808,51,104896,75,104900,112,104901,104,104902,103,104903,116,104904,109,104905,108,104906,169,104907,164,104908,0,104909,168,104910,141,104911,166,104912,114,104913,160,104914,151,104915,117,104916,110,104917,140,104918,115,104919,170,104920,163,104921,154,104922,158,104923,161, |
|
104924,148,104925,0,104926,159,104927,167,104928,127,104929,131,104930,145,104931,159,104932,136,104933,123,104934,139,104935,134,104936,166,104937,150,104938,137,104939,147,104940,121,104941,165,104942,128,104943,111,104944,1,104945,126,104946,152,104947,157,104948,162,104949,153,104950,156,104951,149,104952,132,104953,122,104954,160,104955,146,104956,143,104957,156,104958,120,104959,125,104960,2,104961,144,104962,142,104963,138,104964,155,104965,135,104966,133,104967,151,104968,118,104969,119,104970, |
|
124,104971,108,104972,129,104973,130,104974,113,104975,0,104990,84,104991,75,104992,84],gcsidc:[[4127,4129,67],[4135,4139,67],[4158,4161,55],[4181,4185,55],[4194,4196,55],[4226,4228,63],[4247,4249,55],[4277,4279,81],[4600,4607,64],[4621,4623,55],[4628,4633,55],[4641,4646,55],[4662,4665,55],[4676,4678,66],[4688,4692,55],[4699,4701,64],[4755,4757,75],[4763,4765,75],[4813,4815,84],[8972,8987,75],[37212,37219,55],[37245,37247,55],[37249,37251,55],[104009,104015,75],[104019,104022,75],[104114,104124,75], |
|
[104125,104127,55],[104141,104145,75],[104179,104186,75],[104257,104260,75]]},l={c:[[2E3,2035,9001],[2039,2045,9001],[2056,2062,9001],[2067,2090,9001],[2093,2135,9001],[2161,2165,9001],[2172,2180,9001],[2188,2193,9001],[2195,2198,9001],[2200,2203,9001],[2205,2213,9001],[2215,2217,9001],[2222,2224,9002],[2225,2243,9003],[2246,2250,9003],[2251,2253,9002],[2257,2264,9003],[2274,2279,9003],[2280,2282,9002],[2283,2289,9003],[2308,2313,9001],[2315,2491,9001],[2494,2576,9001],[2578,2599,9001],[2601,2693, |
|
9001],[2695,2866,9001],[2867,2869,9002],[2870,2888,9003],[2891,2895,9003],[2896,2898,9002],[2902,2908,9003],[2915,2920,9003],[2921,2923,9002],[2924,2930,9003],[2931,2933,9001],[2935,2962,9001],[2964,2968,9003],[2969,2973,9001],[2975,2978,9001],[2984,2988,9001],[2995,3051,9001],[3054,3072,9001],[3077,3079,9001],[3081,3088,9001],[3092,3101,9001],[3106,3138,9001],[3146,3151,9001],[3153,3166,9001],[3168,3172,9001],[3174,3203,9001],[3294,3313,9001],[3315,3348,9001],[3350,3358,9001],[3367,3403,9001],[3408, |
|
3416,9001],[3417,3438,9003],[3441,3446,9003],[3447,3450,9001],[3451,3453,9003],[3455,3459,9003],[3460,3478,9001],[3554,3559,9001],[3560,3570,9003],[3571,3581,9001],[3594,3597,9001],[3601,3604,9001],[3637,3639,9001],[3665,3667,9001],[3693,3695,9001],[3701,3727,9001],[3728,3739,9003],[3740,3751,9001],[3753,3760,9003],[3761,3773,9001],[3775,3777,9001],[3779,3781,9001],[3788,3791,9001],[3797,3802,9001],[3814,3816,9001],[3825,3829,9001],[3832,3841,9001],[3844,3852,9001],[3873,3885,9001],[3890,3893,9001], |
|
[3942,3950,9001],[3968,3970,9001],[3973,3976,9001],[3986,3989,9001],[3994,3997,9001],[4001,4016,9102],[4018,4025,9102],[4027,4029,9102],[4031,4036,9102],[4044,4047,9102],[4048,4051,9001],[4052,4054,9102],[4056,4063,9001],[4093,4096,9001],[4120,4124,9102],[4127,4139,9102],[4141,4176,9102],[4178,4185,9102],[4188,4216,9102],[4218,4232,9102],[4235,4260,9102],[4265,4267,9102],[4269,4286,9102],[4292,4304,9102],[4306,4319,9102],[4390,4398,9001],[4399,4413,9003],[4418,4433,9003],[4455,4457,9003],[4484,4489, |
|
9001],[4491,4554,9001],[4568,4589,9001],[4600,4630,9102],[4636,4639,9102],[4641,4646,9102],[4652,4656,9001],[4657,4680,9102],[4682,4684,9102],[4686,4765,9102],[4766,4800,9001],[4801,4806,9102],[4813,4815,9102],[5014,5016,9001],[5069,5072,9001],[5105,5130,9001],[5173,5188,9001],[5253,5259,9001],[5269,5275,9001],[5292,5311,9001],[5329,5331,9001],[5343,5349,9001],[5355,5357,9001],[5459,5463,9001],[5479,5482,9001],[5518,5520,9001],[5533,5539,9001],[5550,5552,9001],[5562,5583,9001],[5623,5625,9003],[5631, |
|
5639,9001],[5649,5653,9001],[5663,5680,9001],[5682,5685,9001],[5875,5877,9001],[5896,5899,9001],[5921,5940,9001],[6050,6125,9001],[6244,6275,9001],[6328,6348,9001],[6350,6356,9001],[6366,6372,9001],[6381,6387,9001],[6393,6404,9001],[6480,6483,9001],[6511,6514,9001],[6579,6581,9001],[6619,6624,9001],[6625,6627,9003],[6628,6632,9001],[6634,6637,9001],[6669,6692,9001],[6707,6709,9001],[6720,6723,9001],[6732,6738,9001],[6881,6883,9102],[6931,6933,9001],[7005,7007,9001],[7057,7070,9003],[7074,7082,9001], |
|
[7109,7118,9001],[7119,7127,9002],[7374,7376,9001],[7528,7586,9001],[7587,7645,9003],[7692,7696,9001],[7755,7787,9001],[7791,7795,9001],[7799,7801,9001],[7803,7805,9001],[7825,7831,9001],[7845,7859,9001],[8013,8032,9001],[8065,8068,9002],[8518,8529,9003],[8533,8536,9003],[8538,8540,9003],[8677,8679,9001],[8836,8840,9001],[8857,8859,9001],[8908,8910,9001],[8972,9E3,9102],[9053,9057,9102],[9059,9069,9102],[9154,9159,9001],[9205,9218,9001],[20002,20032,9001],[20062,20092,9001],[20135,20138,9001],[20248, |
|
20258,9001],[20348,20358,9001],[20436,20440,9001],[20822,20824,9001],[20934,20936,9001],[21035,21037,9001],[21095,21097,9001],[21148,21150,9001],[21413,21423,9001],[21473,21483,9001],[21780,21782,9001],[21896,21899,9001],[22171,22177,9001],[22181,22187,9001],[22191,22197,9001],[22234,22236,9001],[22521,22525,9001],[22991,22994,9001],[23028,23038,9001],[23830,23853,9001],[23866,23872,9001],[23877,23884,9001],[23886,23894,9001],[23946,23948,9001],[24311,24313,9001],[24342,24347,9001],[24370,24374,9084], |
|
[24375,24381,9001],[24718,24721,9001],[24817,24821,9001],[24877,24882,9001],[24891,24893,9001],[25391,25395,9001],[25828,25838,9001],[26191,26195,9001],[26391,26393,9001],[26701,26722,9001],[26729,26746,9003],[26748,26760,9003],[26766,26799,9003],[26847,26870,9003],[26891,26899,9001],[26901,26923,9001],[26929,26946,9001],[26948,26978,9001],[26980,26998,9001],[27037,27040,9001],[27205,27232,9001],[27258,27260,9001],[27391,27398,9001],[27561,27564,9001],[27571,27574,9001],[27581,27584,9001],[27591, |
|
27594,9001],[28191,28193,9001],[28348,28358,9001],[28402,28432,9001],[28462,28492,9001],[29168,29172,9001],[29187,29195,9001],[29901,29903,9001],[30161,30179,9001],[30491,30494,9001],[30729,30732,9001],[31251,31259,9001],[31265,31268,9001],[31275,31277,9001],[31281,31290,9001],[31466,31469,9001],[31491,31495,9001],[31965,32E3,9001],[32001,32003,9003],[32005,32017,9003],[32019,32028,9003],[32033,32035,9003],[32037,32060,9003],[32064,32067,9003],[32081,32086,9001],[32107,32130,9001],[32133,32158,9001], |
|
[32164,32167,9003],[32180,32199,9001],[32201,32260,9001],[32301,32360,9001],[32601,32662,9001],[32664,32667,9003],[32701,32761,9001],[37002,37008,9102],[53001,53004,9001],[53008,53019,9001],[53021,53032,9001],[53034,53037,9001],[53042,53046,9001],[53074,53080,9001],[54001,54004,9001],[54008,54019,9001],[54021,54032,9001],[54042,54046,9001],[54048,54053,9001],[54074,54080,9001],[54098,54101,9001],[102001,102005,9001],[102007,102039,9001],[102042,102045,9001],[102060,102063,9001],[102070,102079,9001], |
|
[102096,102099,9001],[102101,102109,9001],[102114,102117,9001],[102132,102138,9001],[102141,102144,9001],[102156,102166,9001],[102173,102179,9001],[102191,102198,9001],[102221,102228,9001],[102231,102233,9001],[102237,102240,9001],[102364,102375,9001],[102389,102398,9003],[102399,102419,9001],[102421,102438,9001],[102445,102447,9003],[102450,102458,9001],[102459,102462,9003],[102470,102489,9001],[102550,102556,9001],[102562,102588,9001],[102629,102640,9003],[102648,102650,9003],[102688,102690,9003], |
|
[102696,102700,9003],[102701,102703,9001],[102799,102900,9001],[103166,103168,9002],[103220,103224,9001],[103225,103227,9002],[103232,103237,9001],[103238,103243,9003],[103244,103246,9001],[103247,103249,9003],[103254,103256,9001],[103257,103259,9003],[103264,103266,9001],[103267,103269,9003],[103327,103330,9001],[103344,103347,9001],[103372,103375,9001],[103381,103383,9001],[103384,103386,9002],[103387,103389,9001],[103390,103392,9003],[103397,103399,9001],[103427,103430,9003],[103444,103447,9003], |
|
[103476,103478,9001],[103479,103481,9003],[103486,103488,9001],[103489,103491,9003],[103492,103495,9001],[103496,103499,9003],[103539,103543,9001],[103544,103548,9003],[103549,103551,9001],[103552,103554,9002],[103555,103557,9003],[103558,103560,9001],[103571,103573,9001],[103574,103576,9003],[103577,103580,9001],[103581,103583,9003],[103595,103597,9001],[103600,103694,9001],[103696,103698,9001],[103700,103793,9003],[104101,104103,9102],[104126,104131,9102],[104259,104261,9102],[104700,104786,9102], |
|
[104900,104975,9102]],nc:[2065,9001,2066,9039,2136,9094,2137,9001,2138,9001,2154,9001,2157,9001,2158,9001,2159,9094,2160,9094,2169,9001,2170,9001,2204,9003,2219,9001,2220,9001,2254,9003,2255,9003,2256,9002,2265,9002,2266,9002,2267,9003,2268,9003,2269,9002,2270,9002,2271,9003,2272,9003,2273,9002,2290,9001,2294,9001,2295,9001,2314,9005,2899,9003,2900,9003,2901,9002,2909,9002,2910,9002,2911,9003,2912,9003,2913,9002,2914,9002,2980,9001,2981,9001,2991,9001,2992,9002,2993,9001,2994,9002,3074,9001,3075, |
|
9001,3080,9002,3089,9003,3090,9001,3091,9003,3102,9003,3141,9001,3142,9001,3167,9301,3360,9001,3361,9002,3362,9001,3363,9003,3364,9001,3365,9003,3404,9003,3405,9001,3406,9001,3407,9005,3439,9001,3440,9001,3479,9002,3480,9001,3481,9002,3482,9001,3483,9002,3484,9001,3485,9003,3486,9001,3487,9003,3488,9001,3489,9001,3490,9003,3491,9001,3492,9003,3493,9001,3494,9003,3495,9001,3496,9003,3497,9001,3498,9003,3499,9001,3500,9003,3501,9001,3502,9003,3503,9001,3504,9003,3505,9001,3506,9003,3507,9001,3508,9003, |
|
3509,9001,3510,9003,3511,9001,3512,9003,3513,9001,3514,9001,3515,9003,3516,9001,3517,9003,3518,9001,3519,9003,3520,9001,3521,9003,3522,9001,3523,9003,3524,9001,3525,9003,3526,9001,3527,9003,3528,9001,3529,9003,3530,9001,3531,9003,3532,9001,3533,9003,3534,9001,3535,9003,3536,9001,3537,9003,3538,9001,3539,9003,3540,9001,3541,9003,3542,9001,3543,9003,3544,9001,3545,9003,3546,9001,3547,9003,3548,9001,3549,9003,3550,9001,3551,9003,3552,9001,3553,9003,3582,9003,3583,9001,3584,9003,3585,9001,3586,9003,3587, |
|
9001,3588,9002,3589,9001,3590,9002,3591,9001,3592,9001,3593,9002,3598,9003,3599,9001,3600,9003,3605,9002,3606,9001,3607,9001,3608,9003,3609,9001,3610,9003,3611,9001,3612,9003,3613,9001,3614,9003,3615,9001,3616,9003,3617,9001,3618,9003,3619,9001,3620,9003,3621,9001,3622,9003,3623,9001,3624,9003,3625,9001,3626,9003,3627,9001,3628,9003,3629,9001,3630,9003,3631,9001,3632,9003,3633,9001,3634,9002,3635,9001,3636,9002,3640,9003,3641,9001,3642,9003,3643,9001,3644,9002,3645,9001,3646,9002,3647,9001,3648,9002, |
|
3649,9001,3650,9003,3651,9001,3652,9003,3653,9001,3654,9003,3655,9001,3656,9002,3657,9001,3658,9003,3659,9001,3660,9003,3661,9001,3662,9003,3663,9001,3664,9003,3668,9003,3669,9001,3670,9003,3671,9001,3672,9003,3673,9001,3674,9003,3675,9001,3676,9002,3677,9003,3678,9001,3679,9002,3680,9003,3681,9001,3682,9002,3683,9003,3684,9001,3685,9001,3686,9003,3687,9001,3688,9003,3689,9001,3690,9003,3691,9001,3692,9003,3696,9003,3697,9001,3698,9003,3699,9001,3700,9003,3783,9001,3784,9001,3793,9001,3794,9001,3812, |
|
9001,3819,9102,3821,9102,3824,9102,3854,9001,3857,9001,3889,9102,3906,9102,3911,9001,3912,9001,3920,9001,3978,9001,3979,9001,3991,9003,3992,9003,4026,9001,4037,9001,4038,9001,4042,9102,4071,9001,4075,9102,4081,9102,4082,9001,4083,9001,4087,9001,4088,9001,4217,9003,4261,9105,4262,9102,4263,9102,4288,9102,4289,9102,4322,9102,4324,9102,4326,9102,4414,9001,4415,9001,4417,9001,4434,9001,4437,9001,4438,9003,4439,9003,4462,9001,4463,9102,4467,9001,4470,9102,4471,9001,4475,9102,4483,9102,4490,9102,4555,9102, |
|
4558,9102,4559,9001,4632,9102,4633,9102,4647,9001,4807,9105,4808,9102,4809,9102,4810,9105,4811,9105,4816,9105,4817,9102,4818,9102,4820,9102,4821,9105,4822,9001,4823,9102,4824,9102,4826,9001,4839,9001,4901,9105,4902,9105,4903,9102,4904,9102,5013,9102,5018,9001,5048,9001,5167,9001,5168,9001,5221,9001,5223,9001,5228,9102,5229,9102,5233,9102,5234,9001,5235,9001,5243,9001,5246,9102,5247,9001,5252,9102,5264,9102,5266,9001,5316,9001,5320,9001,5321,9001,5324,9102,5325,9001,5337,9001,5340,9102,5354,9102,5360, |
|
9102,5361,9001,5362,9001,5365,9102,5367,9001,5371,9102,5373,9102,5381,9102,5382,9001,5383,9001,5387,9001,5389,9001,5393,9102,5396,9001,5451,9102,5456,9001,5457,9001,5464,9102,5467,9102,5469,9001,5472,9037,5489,9102,5490,9001,5513,9001,5514,9001,5523,9001,5524,9102,5527,9102,5530,9001,5531,9001,5546,9102,5559,9001,5561,9102,5588,9002,5589,9005,5593,9102,5596,9001,5627,9001,5629,9001,5641,9001,5643,9001,5644,9001,5646,9003,5654,9003,5655,9003,5659,9001,5681,9102,5700,9001,5825,9001,5836,9001,5837,9001, |
|
5839,9001,5842,9001,5844,9001,5858,9001,5879,9001,5880,9001,5886,9102,5887,9001,5890,9001,6128,9002,6129,9002,6135,9102,6204,9001,6207,9102,6210,9001,6211,9001,6307,9001,6311,9102,6312,9001,6316,9001,6318,9102,6322,9102,6325,9102,6362,9001,6365,9102,6391,9002,6405,9002,6406,9001,6407,9002,6408,9001,6409,9002,6410,9001,6411,9003,6412,9001,6413,9003,6414,9001,6415,9001,6416,9003,6417,9001,6418,9003,6419,9001,6420,9003,6421,9001,6422,9003,6423,9001,6424,9003,6425,9001,6426,9003,6427,9001,6428,9003,6429, |
|
9001,6430,9003,6431,9001,6432,9003,6433,9001,6434,9003,6435,9001,6436,9003,6437,9001,6438,9003,6439,9001,6440,9001,6441,9003,6442,9001,6443,9003,6444,9001,6445,9003,6446,9001,6447,9003,6448,9001,6449,9003,6450,9001,6451,9003,6452,9001,6453,9003,6454,9001,6455,9003,6456,9001,6457,9003,6458,9001,6459,9003,6460,9001,6461,9003,6462,9001,6463,9003,6464,9001,6465,9003,6466,9001,6467,9003,6468,9001,6469,9003,6470,9001,6471,9003,6472,9001,6473,9003,6474,9001,6475,9003,6476,9001,6477,9003,6478,9001,6479,9003, |
|
6484,9003,6485,9001,6486,9003,6487,9001,6488,9003,6489,9001,6490,9003,6491,9001,6492,9003,6493,9001,6494,9002,6495,9001,6496,9002,6497,9001,6498,9001,6499,9002,6500,9001,6501,9003,6502,9001,6503,9003,6504,9001,6505,9003,6506,9001,6507,9003,6508,9001,6509,9001,6510,9003,6515,9002,6516,9001,6518,9001,6519,9003,6520,9001,6521,9003,6522,9001,6523,9003,6524,9001,6525,9003,6526,9001,6527,9003,6528,9001,6529,9003,6530,9001,6531,9003,6532,9001,6533,9003,6534,9001,6535,9003,6536,9001,6537,9003,6538,9001,6539, |
|
9003,6540,9001,6541,9003,6542,9001,6543,9003,6544,9001,6545,9002,6546,9001,6547,9002,6548,9001,6549,9003,6550,9001,6551,9003,6552,9001,6553,9003,6554,9001,6555,9003,6556,9001,6557,9002,6558,9001,6559,9002,6560,9001,6561,9002,6562,9001,6563,9003,6564,9001,6565,9003,6566,9001,6567,9001,6568,9003,6569,9001,6570,9002,6571,9001,6572,9003,6573,9001,6574,9003,6575,9001,6576,9003,6577,9001,6578,9003,6582,9003,6583,9001,6584,9003,6585,9001,6586,9003,6587,9001,6588,9003,6589,9001,6590,9003,6591,9001,6592,9001, |
|
6593,9003,6594,9001,6595,9003,6596,9001,6597,9003,6598,9001,6599,9003,6600,9001,6601,9003,6602,9001,6603,9003,6605,9003,6606,9001,6607,9003,6608,9001,6609,9003,6610,9001,6611,9001,6612,9003,6613,9001,6614,9003,6615,9001,6616,9003,6617,9001,6618,9003,6633,9003,6646,9001,6668,9102,6703,9001,6706,9102,6783,9102,6784,9001,6785,9002,6786,9001,6787,9002,6788,9001,6789,9002,6790,9001,6791,9002,6792,9001,6793,9002,6794,9001,6795,9002,6796,9001,6797,9002,6798,9001,6799,9002,6800,9001,6801,9002,6802,9001,6803, |
|
9002,6804,9001,6805,9002,6806,9001,6807,9002,6808,9001,6809,9002,6810,9001,6811,9002,6812,9001,6813,9002,6814,9001,6815,9002,6816,9001,6817,9002,6818,9001,6819,9002,6820,9001,6821,9002,6822,9001,6823,9002,6824,9001,6825,9002,6826,9001,6827,9002,6828,9001,6829,9002,6830,9001,6831,9002,6832,9001,6833,9002,6834,9001,6835,9002,6836,9001,6837,9002,6838,9001,6839,9002,6840,9001,6841,9002,6842,9001,6843,9002,6844,9001,6845,9002,6846,9001,6847,9002,6848,9001,6849,9002,6850,9001,6851,9002,6852,9001,6853,9002, |
|
6854,9001,6855,9002,6856,9001,6857,9002,6858,9001,6859,9002,6860,9001,6861,9002,6862,9001,6863,9002,6867,9001,6868,9002,6870,9001,6875,9001,6876,9001,6879,9001,6880,9003,6884,9001,6885,9002,6886,9001,6887,9002,6892,9102,6894,9102,6915,9001,6922,9001,6923,9003,6924,9001,6925,9003,6962,9001,6983,9102,6984,9001,6990,9102,6991,9001,7035,9102,7037,9102,7039,9102,7041,9102,7073,9102,7084,9102,7086,9102,7128,9003,7131,9001,7132,9003,7133,9102,7136,9102,7139,9102,7142,9001,7257,9001,7258,9003,7259,9001,7260, |
|
9003,7261,9001,7262,9003,7263,9001,7264,9003,7265,9001,7266,9003,7267,9001,7268,9003,7269,9001,7270,9003,7271,9001,7272,9003,7273,9001,7274,9003,7275,9001,7276,9003,7277,9001,7278,9003,7279,9001,7280,9003,7281,9001,7282,9003,7283,9001,7284,9003,7285,9001,7286,9003,7287,9001,7288,9003,7289,9001,7290,9003,7291,9001,7292,9003,7293,9001,7294,9003,7295,9001,7296,9003,7297,9001,7298,9003,7299,9001,7300,9003,7301,9001,7302,9003,7303,9001,7304,9003,7305,9001,7306,9003,7307,9001,7308,9003,7309,9001,7310,9003, |
|
7311,9001,7312,9003,7313,9001,7314,9003,7315,9001,7316,9003,7317,9001,7318,9003,7319,9001,7320,9003,7321,9001,7322,9003,7323,9001,7324,9003,7325,9001,7326,9003,7327,9001,7328,9003,7329,9001,7330,9003,7331,9001,7332,9003,7333,9001,7334,9003,7335,9001,7336,9003,7337,9001,7338,9003,7339,9001,7340,9003,7341,9001,7342,9003,7343,9001,7344,9003,7345,9001,7346,9003,7347,9001,7348,9003,7349,9001,7350,9003,7351,9001,7352,9003,7353,9001,7354,9003,7355,9001,7356,9003,7357,9001,7358,9003,7359,9001,7360,9003,7361, |
|
9001,7362,9003,7363,9001,7364,9003,7365,9001,7366,9003,7367,9001,7368,9003,7369,9001,7370,9003,7373,9102,7683,9102,7798,9102,7844,9102,7877,9001,7878,9001,7881,9102,7882,9001,7883,9001,7886,9102,7887,9001,7899,9001,7991,9001,7992,9001,8035,9003,8036,9003,8042,9102,8043,9102,8058,9001,8059,9001,8082,9001,8083,9001,8086,9102,8088,9001,8090,9001,8091,9003,8092,9001,8093,9003,8095,9001,8096,9003,8097,9001,8098,9003,8099,9001,8100,9003,8101,9001,8102,9003,8103,9001,8104,9003,8105,9001,8106,9003,8107,9001, |
|
8108,9003,8109,9001,8110,9003,8111,9001,8112,9003,8113,9001,8114,9003,8115,9001,8116,9003,8117,9001,8118,9003,8119,9001,8120,9003,8121,9001,8122,9003,8123,9001,8124,9003,8125,9001,8126,9003,8127,9001,8128,9003,8129,9001,8130,9003,8131,9001,8132,9003,8133,9001,8134,9003,8135,9001,8136,9003,8137,9001,8138,9003,8139,9001,8140,9003,8141,9001,8142,9003,8143,9001,8144,9003,8145,9001,8146,9003,8147,9001,8148,9003,8149,9001,8150,9003,8151,9001,8152,9003,8153,9001,8154,9003,8155,9001,8156,9003,8157,9001,8158, |
|
9003,8159,9001,8160,9003,8161,9001,8162,9003,8163,9001,8164,9003,8165,9001,8166,9003,8167,9001,8168,9003,8169,9001,8170,9003,8171,9001,8172,9003,8173,9001,8177,9003,8179,9001,8180,9003,8181,9001,8182,9003,8184,9001,8185,9003,8187,9001,8189,9003,8191,9001,8193,9003,8196,9001,8197,9003,8198,9001,8200,9003,8201,9001,8202,9003,8203,9001,8204,9003,8205,9001,8206,9003,8207,9001,8208,9003,8209,9001,8210,9003,8212,9001,8213,9003,8214,9001,8216,9003,8218,9001,8220,9003,8222,9001,8224,9003,8225,9001,8226,9003, |
|
8232,9102,8237,9102,8240,9102,8246,9102,8249,9102,8252,9102,8255,9102,8311,9001,8312,9002,8313,9001,8314,9002,8315,9001,8316,9002,8317,9001,8318,9002,8319,9001,8320,9002,8321,9001,8322,9002,8323,9001,8324,9002,8325,9001,8326,9002,8327,9001,8328,9002,8329,9001,8330,9002,8331,9001,8332,9002,8333,9001,8334,9002,8335,9001,8336,9002,8337,9001,8338,9002,8339,9001,8340,9002,8341,9001,8342,9002,8343,9001,8344,9002,8345,9001,8346,9002,8347,9001,8348,9002,8351,9102,8352,9001,8353,9001,8379,9001,8380,9003,8381, |
|
9001,8382,9003,8383,9001,8384,9003,8385,9001,8387,9003,8391,9001,8395,9001,8427,9102,8428,9102,8431,9102,8433,9001,8441,9001,8455,9001,8456,9001,8531,9003,8545,9102,8682,9001,8685,9102,8687,9001,8692,9001,8693,9001,8694,9102,8699,9102,8818,9102,8826,9001,8860,9102,8888,9102,8900,9102,8902,9102,8903,9001,8907,9102,8949,9102,8950,9001,8951,9001,9003,9102,9006,9102,9009,9102,9012,9102,9014,9102,9017,9102,9019,9102,9039,9001,9040,9001,9140,9102,9141,9001,9148,9102,9149,9001,9150,9001,9153,9102,9191,9001, |
|
9221,9001,9222,9001,20499,9001,20538,9001,20539,9001,20790,9001,20791,9001,21291,9001,21292,9001,21500,9001,21817,9001,21818,9001,22032,9001,22033,9001,22091,9001,22092,9001,22332,9001,22391,9001,22392,9001,22700,9001,22770,9001,22780,9001,22832,9001,23090,9001,23095,9001,23239,9001,23240,9001,23700,9001,24047,9001,24048,9001,24100,9005,24200,9001,24305,9001,24306,9001,24382,9084,24383,9001,24500,9001,24547,9001,24548,9001,24571,9062,24600,9001,25E3,9001,25231,9001,25884,9001,25932,9001,26237,9001, |
|
26331,9001,26332,9001,26591,9001,26592,9001,26632,9001,26692,9001,27120,9001,27200,9001,27291,9040,27292,9040,27429,9001,27493,9001,27500,9001,27700,9001,28232,9001,28600,9001,28991,9001,28992,9001,29101,9001,29220,9001,29221,9001,29333,9001,29635,9001,29636,9001,29701,9001,29738,9001,29739,9001,29849,9001,29850,9001,29871,9042,29872,9041,29873,9001,30200,9039,30339,9001,30340,9001,30791,9001,30792,9001,31028,9001,31121,9001,31154,9001,31170,9001,31171,9001,31279,9001,31370,9001,31528,9001,31529, |
|
9001,31600,9001,31700,9001,31838,9001,31839,9001,31901,9001,32030,9003,32031,9003,32061,9001,32062,9001,32098,9001,32099,9003,32100,9001,32104,9001,32161,9001,32766,9001,37202,9102,37203,9102,37206,9102,37207,9102,37218,9102,37221,9102,37225,9105,37240,9102,37241,9102,37243,9102,37245,9102,37249,9102,37257,9102,37260,9102,53048,9001,53049,9001,54034,9001,54090,9001,54091,9001,65061,9003,65062,9003,65161,9001,102041,9003,102064,9085,102068,109030,102069,109031,102093,9001,102094,9001,102118,9003,102120, |
|
9003,102121,9003,102122,9001,102150,9001,102168,9001,102204,9001,102212,9001,102213,9001,102215,9001,102216,9001,102217,9003,102218,9001,102219,9003,102220,9003,102247,9001,102299,9001,102306,9001,102319,9001,102328,9001,102329,9001,102359,9001,102360,9001,102440,9001,102448,9001,102464,9003,102465,9003,102491,9001,102492,9001,102498,9001,102499,9001,102525,9003,102526,9003,102528,9003,102529,9003,102589,9003,102598,9001,102599,9003,102600,9003,102604,9003,102661,9003,102662,9003,102664,9003,102665, |
|
9003,102705,9003,102720,9003,102721,9003,102726,9003,102727,9003,102733,9003,102761,9003,102766,9003,102974,9003,103228,9001,103229,9001,103230,9003,103231,9003,103250,9001,103251,9003,103252,9001,103253,9003,103260,9001,103261,9001,103262,9003,103263,9003,103270,9001,103271,9001,103272,9003,103273,9003,103274,9001,103275,9001,103276,9003,103277,9003,103278,9001,103279,9001,103280,9003,103281,9003,103282,9001,103283,9001,103284,9003,103285,9003,103286,9001,103287,9003,103288,9001,103289,9003,103290, |
|
9001,103291,9003,103292,9001,103293,9001,103294,9003,103295,9003,103296,9001,103297,9001,103298,9003,103299,9003,103300,9001,103307,9001,103313,9001,103319,9001,103322,9001,103323,9001,103332,9001,103335,9001,103338,9001,103340,9001,103351,9001,103358,9001,103370,9001,103376,9003,103377,9001,103378,9001,103379,9003,103380,9003,103393,9001,103394,9001,103395,9003,103396,9003,103400,9003,103407,9003,103413,9003,103419,9003,103422,9003,103423,9003,103432,9003,103435,9003,103438,9003,103440,9003,103451, |
|
9003,103458,9003,103470,9003,103472,9001,103473,9002,103474,9001,103475,9003,103482,9001,103483,9003,103484,9001,103485,9003,103500,9001,103501,9003,103502,9001,103503,9001,103504,9002,103505,9002,103506,9001,103507,9001,103508,9003,103509,9003,103510,9001,103511,9001,103512,9003,103513,9003,103514,9001,103515,9003,103516,9001,103517,9003,103518,9001,103519,9003,103520,9001,103521,9002,103522,9001,103523,9001,103524,9003,103525,9003,103526,9001,103527,9003,103561,9003,103562,9003,103563,9001,103564, |
|
9001,103565,9003,103566,9003,103567,9001,103568,9001,103569,9003,103570,9003,103585,9003,103586,9001,103587,9003,103588,9002,103589,9001,103590,9003,103591,9002,103592,9001,103593,9003,103594,9002,103695,9003,103846,9001,103946,9003,104009,9102,104017,9102,104018,9102,104022,9102,104024,9102,104027,9102,104047,9102,104050,9102,104105,9102,104106,9102,104109,9102,104112,9102,104113,9102,104134,9102,104135,9102,104138,9102,104139,9105,104140,9105,104808,9102]};g.wr=function(){function c(){}c.Sy=function(a){!1=== |
|
c.xp&&c.yt();var b=c.FQ(a);if(-1==b){var d=c.Bx(a);d!=a&&(b=c.Sy(d))}-1==b&&(d=c.FK(a),d!=a&&(b=c.Sy(d)));return b};c.FQ=function(a){return void 0!==c.Fw[a]?c.Fw[a]:-1};c.CQ=function(a){!1===c.xp&&c.yt();var b=c.nF(a);if(1E38==b){var d=c.Bx(a);d!=a&&(b=c.nF(d));if(1E38==b)return 1E-10}return b};c.ZS=function(a){if(void 0!==c.Is[a])return!0;var b=c.Bx(a);return b!=a&&void 0!==c.Is[b]?!0:!1};c.aT=function(a){if(void 0!==c.xo[a])return!0;var b=c.Bx(a);return b!=a&&void 0!==c.xo[b]?!0:!1};c.nF=function(a){!1=== |
|
c.xp&&c.yt();return void 0!==c.Is[a]?c.Is[a]:void 0!==c.xo[a]?c.xo[a]:1E38};c.FK=function(a){!1===c.xp&&c.yt();return void 0!==c.WA[a]?c.WA[a]:a};c.Bx=function(a){!1===c.xp&&c.yt();return void 0!==c.XA[a]?c.XA[a]:a};c.yt=function(){for(var a=v,b,d=0;d<a.pcsid.length;d+=2)c.xo[a.pcsid[d]]=a.pcstol[2*a.pcsid[d+1]+1];for(d=0;d<a.pcsidc.length;d+=1){b=a.pcsidc[d];for(var e=b[0];e<=b[1];e++)c.xo[e]=a.pcstol[2*b[2]+1]}for(d=0;d<a.gcsid.length;d+=2)c.Is[a.gcsid[d]]=a.gcstol[2*a.gcsid[d+1]+1];for(d=0;d<a.gcsidc.length;d+= |
|
1)for(b=a.gcsidc[d],e=b[0];e<=b[1];e++)c.xo[e]=a.gcstol[2*b[2]+1];for(d=0;d<l.c.length;d+=1)for(b=l.c[d],e=b[0];e<=b[1];e++)c.Fw[e]=b[2];for(d=0;d<l.nc.length;d+=2)c.Fw[l.nc[d]]=l.nc[d+1];l=null;for(d=0;d<a.newtoold.length;d+=2)c.WA[a.newtoold[d+1]]=a.newtoold[d],c.XA[a.newtoold[d]]=a.newtoold[d+1];v=null;c.xp=!0};c.xp=!1;c.Is=[];c.xo=[];c.WA=[];c.XA=[];c.Fw=[];return c}()})(D||={});(function(g){function v(c){return 0===c.length?'""':'"'==c[0]||"."==c[0]||"0"<=c[0]&&"9">=c[0]?c:'"'+c.trim()+'"'}var l= |
|
[];g.XC=function(){function c(){}c.EQ=function(a){try{for(var b=0;b<l.length;b++)if(l[b].wkttext===a)return l[b].unit;for(var d,e=b="",f=!1,h=0;h<a.length;h++){var k=a[h];!0===f?'"'==k?'"'==a[h+1]?b+=k:f=f=!1:b+=k:/[\s]/.test(k)||(","==k?(e=""!==b?e+(v(b)+","):e+",",b=""):")"==k||"]"==k?(e=""!==b?e+(v(b)+"]}"):e+"]}",b=""):"("==k||"["==k?(e+='{ "entity": "'+b.toUpperCase().trim()+'", "values":[',b=""):'"'==k?(f=!0,b=""):b+=k)}d=JSON.parse(e);var m=c.mF(d);if(null===m)return null;d=null;for(k=0;k< |
|
m.values.length;k++)if("object"===typeof m.values[k]&&("UNIT"===m.values[k].entity||"ANGLEUNIT"===m.values[k].entity||"LENGTHUNIT"===m.values[k].entity)){d=m.values[k];break}if(null===d)return null;var n=g.Tc.ZO("GEOGCS"===m.entity||"GEOGCRS"===m.entity?1:0,d.values[1],d.values[2]);l.push({wkttext:a,unit:n});10<l.length&&l.shift();return n}catch(p){return null}};c.mF=function(a){if(null===a)return null;switch(a.entity){case "GEOGCRS":case "GEOGCS":case "PROJCRS":case "PROJCS":return a}for(var b=[], |
|
d=0;d<a.values.length;d++)if("object"===typeof a.values[d]&&void 0!==a.values[d].entity)switch(a.values[d].entity){case "GEOGCRS":case "GEOGCS":case "PROJCRS":case "PROJCS":return a.values[d];default:b.push(a.values[d])}for(a=0;a<b.length;a++)if(d=c.mF(b[a]),null!==d)return d;return null};c.DQ=function(a){var b=-1;if(null!=a&&0<a.length){var d=a.search(/PROJCR?S/);if(0<=d){var e=0;d=a.lastIndexOf("UNIT");if(0<=d&&(d=a.indexOf(",",d+4),0<d)){d++;var f=a.indexOf("]",d+1);if(0<f)try{e=parseFloat(a.substring(d, |
|
f))}catch(k){e=0}}0<e&&(b=.001/e)}else if(d=a.search(/GEOGCR?S/),0<=d){var h=0;e=0;d=a.indexOf("SPHEROID",d+6);-1===d&&(d=a.indexOf("ELLIPSOID",d+7));if(0<d&&(d=a.indexOf(",",d+8),0<d)){d++;f=a.indexOf(",",d+1);if(0<f)try{h=parseFloat(a.substring(d,f))}catch(k){h=0}if(0<h&&(d=a.lastIndexOf("ANGLEUNIT",f+1),-1===d&&(d=a.lastIndexOf("UNIT",f+1)),0<=d&&(d=a.indexOf(",",d+4),0<d&&(d++,f=a.indexOf("]",d+1),0<f))))try{e=parseFloat(a.substring(d,f))}catch(k){e=0}}0<h&&0<e&&(b=.001/(h*e))}}return b};return c}()})(D||= |
|
{});(function(g){(function(l){l[l.NONE=0]="NONE";l[l.LINEAR=1]="LINEAR";l[l.ANGULAR=2]="ANGULAR"})(g.eL||(g.eL={}));(function(l){l[l.enumFloat=0]="enumFloat";l[l.enumDouble=1]="enumDouble";l[l.enumInt32=2]="enumInt32";l[l.enumInt64=3]="enumInt64";l[l.enumInt8=4]="enumInt8";l[l.enumInt16=5]="enumInt16"})(g.QL||(g.QL={}));(function(l){l[l.POSITION=0]="POSITION";l[l.Z=1]="Z";l[l.M=2]="M";l[l.ID=3]="ID";l[l.NORMAL=4]="NORMAL";l[l.TEXTURE1D=5]="TEXTURE1D";l[l.TEXTURE2D=6]="TEXTURE2D";l[l.TEXTURE3D=7]= |
|
"TEXTURE3D";l[l.ID2=8]="ID2";l[l.MAXSEMANTICS=10]="MAXSEMANTICS"})(g.Ih||(g.Ih={}));var v=function(){function l(c,a){this.Vs=this.Ae=null;this.Oq=this.Aa=0;this.uh=this.bg=null;this.wl=0;if(void 0!==a){this.Aa=a.Aa;this.Oq=a.Oq;this.bg=a.bg.slice(0);this.uh=a.uh.slice(0);this.wl=a.wl;this.Vs=[];for(c=a=0;c<this.Aa;c++)this.Vs[c]=a,a+=l.Va(this.bg[c]);this.Oq=a;this.Ae=[];for(c=0;c<this.Aa;c++){a=l.Va(this.kd(c));for(var b=l.se(this.kd(c)),d=0;d<a;d++)this.Ae[this.Vs[c]+d]=b}}else this.Oq=this.Aa= |
|
0}l.prototype.kd=function(c){if(0>c||c>this.Aa)throw g.i.N();return this.bg[c]};l.prototype.Pf=function(c){return this.uh[c]};l.lz=function(c){return l.JM[c]};l.Tp=function(c){return l.SM[c]};l.Va=function(c){return l.rM[c]};l.prototype.hasAttribute=function(c){return 0<=this.uh[c]};l.prototype.iG=function(){return this.hasAttribute(1)};l.se=function(c){return l.eD[c]};l.prototype.LR=function(c){return this.Vs[c]};l.DG=function(c,a){return l.eD[c]===a};l.prototype.Nb=function(c){return this===c}; |
|
l.prototype.An=function(){for(var c=g.O.Th(this.bg[0]),a=1;a<this.Aa;a++)c=g.O.Th(this.bg[a],c);return c};l.prototype.$j=function(c){return this.Vs[c]};l.prototype.cc=function(){return this.wl};l.prototype.Ed=function(c){return this.bg[c]};l.eD=[0,0,NaN,0,0,0,0,0,0];l.JM=[1,1,1,0,2,1,1,1,0];l.SM=[1,1,1,2,0,0,0,0,2];l.rM=[2,1,1,1,3,1,2,3,2];return l}();g.ra=v})(D||={});(function(g){function v(f,h,k){var m=h-(f=new e(f)).e,n=f.c;n.length>++h&&l(f,m,e.eu);for(n[0]?k?m=h:(n=f.c,m=f.e+m+1):++m;n.length< |
|
m;n.push(0));m=f.e;return 1===k||k&&(h<=m||m<=a)?(0>f.Bd&&n[0]?"-":"")+(1<n.length?n[0]+"."+n.join("").slice(1):n[0])+(0>m?"e":"e+")+m:f.toString()}function l(f,h,k,m){var n=f.c,p=f.e+h+1;1===k?m=5<=n[p]:2===k?m=5<n[p]||5==n[p]&&(m||0>p||void 0!==n[p+1]||n[p-1]&1):3===k?m=m||void 0!==n[p]||0>p:(m=!1,0!==k&&c("!Big.RM!"));if(1>p||!n[0])m?(f.e=-h,f.c=[1]):f.c=[f.e=0];else{n.length=p--;if(m)for(;9<++n[p];)n[p]=0,p--||(++f.e,n.unshift(1));for(p=n.length;!n[--p];n.pop());}return f}function c(f){f=Error(f); |
|
f.name="BigError";throw f;}var a=-7,b=21,d=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,e=function(){function f(h){if(h instanceof f)this.Bd=h.Bd,this.e=h.e,this.c=h.c.slice();else{var k,m,n;0===h&&0>1/h?h="-0":d.test(h+="")||c(NaN);this.Bd="-"==h.charAt(0)?(h=h.slice(1),-1):1;-1<(k=h.indexOf("."))&&(h=h.replace(".",""));0<(m=h.search(/e/i))?(0>k&&(k=m),k+=+h.slice(m+1),h=h.substring(0,m)):0>k&&(k=h.length);for(m=0;"0"==h.charAt(m);m++);if(m==(n=h.length))this.c=[this.e=0];else{for(;"0"==h.charAt(--n);); |
|
this.e=k-m-1;this.c=[];for(k=0;m<=n;this.c[k++]=+h.charAt(m++));}}}f.prototype.abs=function(){var h=new f(this);h.Bd=1;return h};f.prototype.cmp=function(h){var k=this.c,m=(h=new f(h)).c,n=this.Bd,p=h.Bd,q=this.e,r=h.e;if(!k[0]||!m[0])return k[0]?n:m[0]?-p:0;if(n!=p)return n;h=0>n;if(q!=r)return q>(r^h)?1:-1;n=-1;for(p=(q=k.length)<(r=m.length)?q:r;++n<p;)if(k[n]!=m[n])return k[n]>(m[n]^h)?1:-1;return q==r?0:q>(r^h)?1:-1};f.prototype.jm=function(h){var k=this.c,m=(h=new f(h)).c,n=this.Bd==h.Bd?1: |
|
-1,p=f.rr;(p!==~~p||0>p||1E6<p)&&c("!Big.DP!");if(!k[0]||!m[0])return k[0]==m[0]&&c(NaN),m[0]||c(n/0),new f(0*n);var q,r,t=m.slice(),u=q=m.length,w=k.length,y=k.slice(0,q),x=y.length,z=h,A=z.c=[],B=0,C=p+(z.e=this.e-h.e)+1;z.Bd=n;n=0>C?0:C;for(t.unshift(0);x++<q;y.push(0));do{for(r=0;10>r;r++){if(q!=(x=y.length))var E=q>x?1:-1;else{var F=-1;for(E=0;++F<q;)if(m[F]!=y[F]){E=m[F]>y[F]?1:-1;break}}if(0>E){for(h=x==q?m:t;x;){if(y[--x]<h[x]){for(F=x;F&&!y[--F];y[F]=9);--y[F];y[x]+=10}y[x]-=h[x]}for(;!y[0];y.shift()); |
|
}else break}A[B++]=E?r:++r;y[0]&&E?y[x]=k[u]||0:y=[k[u]]}while((u++<w||void 0!==y[0])&&n--);A[0]||1==B||(A.shift(),z.e--);B>C&&l(z,p,f.eu,void 0!==y[0]);return z};f.prototype.fS=function(){return 0<this.cmp(0)};f.prototype.nT=function(){return 0>this.cmp(0)};f.prototype.jt=function(h){var k,m=this.Bd,n=(h=new f(h)).Bd;if(m!=n)return h.Bd=-n,this.tI(h);var p=this.c.slice(),q=this.e,r=h.c,t=h.e;if(!p[0]||!r[0])return r[0]?(h.Bd=-n,h):new f(p[0]?this:0);if(m=q-t){(k=0>m)?(m=-m,q=p):(t=q,q=r);q.reverse(); |
|
for(n=m;n--;q.push(0));q.reverse()}else for(q=((k=p.length<r.length)?p:r).length,m=n=0;n<q;n++)if(p[n]!=r[n]){k=p[n]<r[n];break}k&&(q=p,p=r,r=q,h.Bd=-h.Bd);if(0<(n=(q=r.length)-(k=p.length)))for(;n--;p[k++]=0);for(n=k;q>m;){if(p[--q]<r[q]){for(k=q;k&&!p[--k];p[k]=9);--p[k];p[q]+=10}p[q]-=r[q]}for(;0==p[--n];p.pop());for(;0==p[0];)p.shift(),--t;p[0]||(h.Bd=1,p=[t=0]);h.c=p;h.e=t;return h};f.prototype.tI=function(h){var k=this.Bd,m=(h=new f(h)).Bd;if(k!=m)return h.Bd=-m,this.jt(h);m=this.e;var n=this.c, |
|
p=h.e,q=h.c;if(!n[0]||!q[0])return q[0]?h:new f(n[0]?this:0*k);n=n.slice();if(k=m-p){0<k?(p=m,m=q):(k=-k,m=n);for(m.reverse();k--;m.push(0));m.reverse()}0>n.length-q.length&&(m=q,q=n,n=m);k=q.length;for(m=0;k;)m=(n[--k]=n[k]+q[k]+m)/10|0,n[k]%=10;m&&(n.unshift(m),++p);for(k=n.length;0==n[--k];n.pop());h.c=n;h.e=p;return h};f.prototype.pow=function(h){var k=this,m=new f(1),n=m,p=0>h;(h!==~~h||-1E6>h||1E6<h)&&c("!pow!");for(h=p?-h:h;;){h&1&&(n=n.lr(k));h>>=1;if(!h)break;k=k.lr(k)}return p?m.jm(n):n}; |
|
f.prototype.round=function(h,k){var m=this;null==h?h=0:(h!==~~h||0>h||1E6<h)&&c("!round!");l(m=new f(m),h,null==k?f.eu:k);return m};f.prototype.sqrt=function(){var h=this.c,k=this.Bd,m=this.e,n=new f("0.5");if(!h[0])return new f(this);0>k&&c(NaN);k=Math.sqrt(this.toString());0==k||k==1/0?(k=h.join(""),k.length+m&1||(k+="0"),h=new f(Math.sqrt(k).toString()),h.e=((m+1)/2|0)-(0>m||m&1)):h=new f(k.toString());k=h.e+(f.rr+=4);do m=h,h=n.lr(m.tI(this.jm(m)));while(m.c.slice(0,k).join("")!==h.c.slice(0, |
|
k).join(""));l(h,f.rr-=4,f.eu);return h};f.prototype.lr=function(h){var k=this.c,m=(h=new f(h)).c,n=k.length,p=m.length,q=this.e,r=h.e;h.Bd=this.Bd==h.Bd?1:-1;if(!k[0]||!m[0])return new f(0*h.Bd);h.e=q+r;if(n<p){var t=k;k=m;m=t;r=n;n=p;p=r}for(t=Array(r=n+p);r--;t[r]=0);for(q=p;q--;){p=0;for(r=n+q;r>q;)p=t[r]+m[q]*k[r-q-1]+p,t[r--]=p%10,p=p/10|0;t[r]=(t[r]+p)%10}p&&++h.e;t[0]||t.shift();for(q=t.length;!t[--q];t.pop());h.c=t;return h};f.prototype.toString=function(){var h=this.e,k=this.c.join(""), |
|
m=k.length;if(h<=a||h>=b)k=k.charAt(0)+(1<m?"."+k.slice(1):"")+(0>h?"e":"e+")+h;else if(0>h){for(;++h;k="0"+k);k="0."+k}else if(0<h)if(++h>m)for(h-=m;h--;k+="0");else h<m&&(k=k.slice(0,h)+"."+k.slice(h));else 1<m&&(k=k.charAt(0)+"."+k.slice(1));return 0>this.Bd&&this.c[0]?"-"+k:k};f.prototype.toExponential=function(h){null==h?h=this.c.length-1:(h!==~~h||0>h||1E6<h)&&c("!toExp!");return v(this,h,1)};f.prototype.toFixed=function(h){var k=a,m=b;a=-(b=1/0);if(null==h)var n=this.toString();else h===~~h&& |
|
0<=h&&1E6>=h&&(n=v(this,this.e+h),0>this.Bd&&this.c[0]&&0>n.indexOf("-")&&(n="-"+n));a=k;b=m;n||c("!toFix!");return n};f.prototype.toPrecision=function(h){if(null==h)return this.toString();(h!==~~h||1>h||1E6<h)&&c("!toPre!");return v(this,h-1,2)};f.rr=20;f.eu=1;return f}();g.hp=e})(D||={});(function(g){var v=function(){function l(c){this.lf=c}l.prototype.nr=function(c,a,b){var d=new g.h,e=new g.h,f=this.lf;b.Vd(c,a,function(h,k){f.tc(2*h,d);f.tc(2*k,e);return d.compare(e)})};l.prototype.$p=function(c){return this.lf.read(2* |
|
c+1)};return l}();g.pi=function(){function l(){}l.aq=function(c){if(c.B())return!1;var a=c.getType();return 1736==a?0==c.Ke()?!1:!0:1607==a?(a=[!1],l.sE(c,!0,a),a[0]):197==a||g.aa.yd(a)&&!c.BG()?!0:!1};l.gm=function(c){var a=c.getType();if(1736==a)return a=new g.Ta(c.description),c.B()||c.dD(a),a;if(1607==a)return l.sE(c,!1,null);if(197==a)return a=new g.Ta(c.description),c.B()||a.ad(c,!1),a;if(g.aa.yd(a)){a=new g.de(c.description);if(!c.B()&&!c.BG()){var b=new g.Sa;c.To(b);a.add(b);c.Po(b);a.add(b)}return a}if(g.aa.Rn(a))return null; |
|
throw g.i.N();};l.sE=function(c,a,b){null!=b&&(b[0]=!1);var d=null;a||(d=new g.de(c.description));if(!c.B()){var e=new g.ia(0);e.Jb(2*c.da());for(var f=0,h=c.da();f<h;f++)if(0<c.Ja(f)&&!c.Nn(f)){var k=c.Ba(f);e.add(k);k=c.Vc(f)-1;e.add(k)}if(0<e.size){h=new g.Xt;f=c.ub(0);h.sort(e,0,e.size,new v(f));h=new g.h;f.tc(2*e.get(0),h);k=0;for(var m=1,n=new g.Sa,p=new g.h,q=1,r=e.size;q<r;q++)if(f.tc(2*e.get(q),p),p.qb(h))e.get(k)>e.get(q)?(e.set(k,2147483647),k=q):e.set(q,2147483647),m++;else{if(0==(m&1))e.set(k, |
|
2147483647);else if(a)return null!=b&&(b[0]=!0),null;h.L(p);k=q;m=1}if(0==(m&1))e.set(k,2147483647);else if(a)return null!=b&&(b[0]=!0),null;if(!a)for(e.Vd(0,e.size,function(t,u){return t-u}),q=0,r=e.size;q<r&&2147483647!=e.get(q);q++)c.ve(e.get(q),n),d.add(n)}}return a?null:d};return l}()})(D||={});(function(g){var v=function(){function l(){this.yf=new g.ia(0);this.ys=new g.ia(0);this.EH=1;this.Es=NaN}l.prototype.sort=function(c,a,b,d){if(32>b-a)d.nr(a,b,c);else{var e=!0;try{for(var f=Infinity,h= |
|
-Infinity,k=a;k<b;k++){var m=d.$p(c.get(k));m<f&&(f=m);m>h&&(h=m)}if(this.reset(b-a,f,h,b-a)){for(k=a;k<b;k++){var n=c.get(k);m=d.$p(n);var p=this.zF(m);this.yf.set(p,this.yf.get(p)+1);this.ys.write(k-a,n)}var q=this.yf.get(0);this.yf.set(0,0);k=1;for(var r=this.yf.size;k<r;k++){var t=this.yf.get(k);this.yf.set(k,q);q+=t}for(k=a;k<b;k++){n=this.ys.read(k-a);m=d.$p(n);p=this.zF(m);var u=this.yf.get(p);c.set(u+a,n);this.yf.set(p,u+1)}e=!1}}catch(w){this.yf.resize(0),this.ys.resize(0)}if(e)d.nr(a,b, |
|
c);else{k=b=0;for(r=this.yf.size;k<r;k++)e=b,b=this.yf.get(k),b>e&&d.nr(a+e,a+b,c);100<this.yf.size&&(this.yf.resize(0),this.ys.resize(0))}}};l.prototype.reset=function(c,a,b,d){if(2>c||b==a)return!1;c=Math.min(l.hL,c);this.yf.Jb(c);this.yf.resize(c);this.yf.Wj(0,0,this.yf.size);this.EH=a;this.ys.resize(d);this.Es=(b-a)/(c-1);return!0};l.prototype.zF=function(c){return g.O.truncate((c-this.EH)/this.Es)};l.hL=65536;return l}();g.Xt=v})(D||={});(function(g){var v;(function(e){e[e.enum_line=1]="enum_line"; |
|
e[e.enum_arc=2]="enum_arc";e[e.enum_dummy=4]="enum_dummy";e[e.enum_concave_dip=8]="enum_concave_dip";e[e.enum_connection=3]="enum_connection"})(v||={});var l=function(){function e(){}e.Qu=function(f,h,k,m,n,p){var q=new e;q.Im=new g.h;q.Vm=new g.h;q.aw=new g.h;q.Im.L(f);q.Vm.L(h);q.aw.L(k);q.Co=m;q.qh=n;q.sh=p;return q};e.construct=function(f,h,k,m){var n=new e;n.Im=new g.h;n.Vm=new g.h;n.aw=new g.h;n.Im.L(f);n.Vm.L(h);n.aw.Rc();n.Co=4;n.qh=k;n.sh=m;return n};return e}(),c=function(){function e(f, |
|
h,k,m,n,p){this.Yv=null;this.ya=0;this.EA=f;this.bI=this.$H=0;this.Ka=h;this.Mj=k;this.vk=m;this.Dq=n;this.Ub=p}e.prototype.next=function(){for(var f=new g.Sa;;){if(this.ya==this.EA.I())return null;this.EA.ve(this.ya,f);this.ya++;if(!f.B())break}var h=!1;null==this.Yv&&(this.$H=f.Lg(),this.bI=f.ih(),this.Yv=d.buffer(f,this.Ka,this.Mj,this.vk,this.Dq,this.Ub),h=!0);if(this.ya<this.EA.I()){var k=new g.Da;this.Yv.copyTo(k)}else k=this.Yv;if(!h){h=new g.Dd;var m=f.Lg()-this.$H;f=f.ih()-this.bI;h.gg(m, |
|
f);k.Oc(h)}return k};e.prototype.La=function(){return 0};e.prototype.qe=function(){};return e}(),a=function(){function e(f,h){this.Wa=f;this.ya=0;this.oq=h}e.prototype.next=function(){var f=this.Wa.X;if(this.ya<f.da()){var h=this.ya;this.ya++;if(!f.Nn(h))for(var k=f.Na(f.Vc(h)-1);this.ya<f.da();){var m=f.Na(f.Ba(this.ya));if(f.Nn(this.ya))break;if(m!=k)break;k=f.Na(f.Vc(this.ya)-1);this.ya++}if(1==this.ya-h)return this.Wa.kE(this.Wa.X,h,this.oq);k=new g.Ta(this.Wa.X.description);k.addPath(this.Wa.X, |
|
h,!0);for(h+=1;h<this.ya;h++)k.Dr(this.Wa.X,h,0,f.rv(h),!1);return this.Wa.kE(k,0,this.oq)}return null};e.prototype.La=function(){return 0};e.prototype.qe=function(){};return e}(),b=function(){function e(f){this.Wa=f;this.ya=0}e.prototype.next=function(){var f=this.Wa.X;if(this.ya<f.da()){var h=this.ya;f.Ir(this.ya);for(this.ya++;this.ya<f.da()&&!(0<f.Ir(this.ya));)this.ya++;return 0==h&&this.ya==f.da()?this.Wa.py(f,0,f.da()):this.Wa.py(f,h,this.ya)}return null};e.prototype.La=function(){return 0}; |
|
e.prototype.qe=function(){};return e}(),d=function(){function e(f){this.Ks=this.lw=this.Ls=this.Id=null;this.Zd=[];this.Ub=f;this.rb=this.Kv=this.JT=this.Ka=this.tA=this.ct=this.qa=0;this.oA=this.vk=-1;this.oq=!0}e.buffer=function(f,h,k,m,n,p){if(null==f)throw g.i.N();if(0>m)throw g.i.N();if(f.B())return new g.Da(f.description);var q=new g.l;f.xc(q);0<h&&q.W(h,h);p=new e(p);p.Mj=k;p.X=f;p.qa=g.ta.Wd(k,q,!0);p.ct=g.ta.Wd(null,q,!0);p.Ka=h;p.JT=f.getType();0>=n&&(n=96);p.rb=Math.abs(p.Ka);p.Kv=0!=p.rb? |
|
1/p.rb:0;isNaN(m)||0==m?m=1E-5*p.rb:m>.5*p.rb&&(m=.5*p.rb);12>n&&(n=12);f=Math.abs(h)*(1-Math.cos(Math.PI/n));f>m?m=f:(f=Math.PI/Math.acos(1-m/Math.abs(h)),f<n-1&&(n=g.O.truncate(f),12>n&&(n=12,m=Math.abs(h)*(1-Math.cos(Math.PI/n)))));p.vk=m;p.Dq=n;p.tA=Math.min(p.ct,.25*m);return p.lE()};e.prototype.cv=function(){if(null==this.Id)this.Id=[];else if(0!==this.Id.length)return;var f=this.qE();f=g.O.truncate((f+3)/4);var h=.5*Math.PI/f;this.oA=h;for(var k=0;k<4*f;k++)this.Id.push(null);var m=Math.cos(h); |
|
h=Math.sin(h);var n=g.h.construct(0,1);for(k=0;k<f;k++)this.Id[k+0*f]=g.h.construct(n.y,-n.x),this.Id[k+1*f]=g.h.construct(-n.x,-n.y),this.Id[k+2*f]=g.h.construct(-n.y,n.x),this.Id[k+3*f]=n,n=g.h.construct(n.x,n.y),n.Bt(m,h)};e.prototype.lE=function(){var f=this.X.getType();if(g.aa.yd(f))return f=new g.Ta(this.X.description),f.oc(this.X,!0),this.X=f,this.lE();if(this.Ka<=this.qa)if(g.aa.US(f)){if(0>=this.Ka&&(f=new g.l,this.X.A(f),f.R()<=2*-this.Ka||f.ca()<=2*this.Ka))return new g.Da(this.X.description)}else return new g.Da(this.X.description); |
|
switch(this.X.getType()){case 33:return this.PN();case 550:return this.ON();case 1607:return this.RN();case 1736:return this.QN();case 197:return this.LN();default:throw g.i.Qa();}};e.prototype.RN=function(){if(this.EG(this.X)){var f=new g.Sa;this.X.ve(0,f);var h=new g.l;this.X.A(h);f.Cb(h.sf());return this.Gu(f)}this.X=this.WV(this.X);f=new a(this,this.oq);return g.Gh.local().V(f,this.Mj,this.Ub).next()};e.prototype.QN=function(){if(0==this.Ka)return this.X;var f=g.Yl.local();this.cv();this.X=f.V(this.X, |
|
null,!1,this.Ub);if(0>this.Ka){var h=this.X;h=this.py(h,0,h.da());return f.V(h,this.Mj,!1,this.Ub)}if(this.EG(this.X))return f=new g.Sa,this.X.ve(0,f),h=new g.l,this.X.A(h),f.Cb(h.sf()),this.Gu(f);f=new b(this);return g.Gh.local().V(f,this.Mj,this.Ub).next()};e.prototype.py=function(f,h,k){for(var m=new g.Da(f.description);h<k;h++)if(!(1>f.Ja(h))){var n=f.Ir(h),p=new g.l;f.Rj(h,p);if(0<this.Ka)if(0<n)if(this.FG(f,h))n=new g.Sa,f.ve(f.Ba(h),n),n.Cb(p.sf()),this.yu(m,n);else{var q=n=new g.Ta(f.description); |
|
q=g.Zt.JG(this.X,h)||2==this.zn(this.X,h,q,!0,1)?this.jE(f,h):this.yn(n);m.add(q,!1)}else{if(!(p.R()+this.qa<=2*this.rb||p.ca()+this.qa<=2*this.rb||(q=n=new g.Ta(f.description),this.zn(this.X,h,q,!0,1),n.B()))){var r=new g.l;r.K(p);r.W(this.rb,this.rb);q.tp(r);q=this.yn(n);p=1;for(n=q.da();p<n;p++)m.addPath(q,p,!0)}}else if(0<n){if(!(p.R()+this.qa<=2*this.rb||p.ca()+this.qa<=2*this.rb||(q=n=new g.Ta(f.description),this.zn(this.X,h,q,!0,-1),n.B())))for(r=new g.l,q.xc(r),r.W(this.rb,this.rb),q.tp(r), |
|
q=this.yn(n),p=1,n=q.da();p<n;p++)m.addPath(q,p,!0)}else for(q=n=new g.Ta(f.description),this.zn(this.X,h,q,!0,-1),q=this.yn(n),p=0,n=q.da();p<n;p++)m.addPath(q,p,!0)}if(0<this.Ka)return 1<m.da()?m=this.yn(m):e.kx(m);f=new g.l;m.xc(f);if(m.B())return e.kx(m);f.W(this.rb,this.rb);m.tp(f);m=this.yn(m);f=new g.Da(m.description);p=1;for(n=m.da();p<n;p++)f.addPath(m,p,!1);return e.kx(f)};e.prototype.PN=function(){return this.Gu(this.X)};e.prototype.Gu=function(f){var h=new g.Da(this.X.description);this.yu(h, |
|
f);return this.sX(h)};e.prototype.ON=function(){var f=new c(this.X,this.Ka,this.Mj,this.vk,this.Dq,this.Ub);return g.Gh.local().V(f,this.Mj,this.Ub).next()};e.prototype.LN=function(){var f=new g.Da(this.X.description);if(0>=this.Ka){if(0==this.Ka)f.ad(this.X,!1);else{var h=new g.Fh;this.X.bn(h);h.W(this.Ka,this.Ka);f.ad(h,!1)}return f}f.ad(this.X,!1);this.X=f;return this.jE(f,0)};e.prototype.jE=function(f,h){this.cv();var k=new g.Da(f.description),m=new g.h,n=new g.h,p=new g.h,q=new g.h,r=new g.h, |
|
t=new g.h,u=new g.h,w=new g.h,y=f.Ja(h),x=f.Ba(h),z=0;for(h=f.Ja(h);z<h;z++){f.D(x+z,n);f.D(x+(z+1)%y,q);f.D(x+(z+2)%y,t);u.uc(q,n);if(0==u.length())throw g.i.Qa();u.Hv();u.normalize();u.scale(this.rb);m.add(u,n);p.add(u,q);0==z?k.Lt(m):k.Ci(m);k.Ci(p);w.uc(t,q);if(0==w.length())throw g.i.Qa();w.Hv();w.normalize();w.scale(this.rb);r.add(w,q);this.GD(k,q,p,r,!1)}return e.kx(k)};e.prototype.kE=function(f,h,k){this.cv();if(1>f.Ja(h))return null;if(this.FG(f,h)&&0<this.Ka){k=new g.Sa;f.ve(f.Ba(h),k); |
|
var m=new g.l;f.Rj(h,m);k.Cb(m.sf());return this.Gu(k)}m=new g.Ta(f.description);if(f.Nn(h))this.zn(f,h,m,k,1),this.zn(f,h,m,k,-1);else{var n=new g.Ta(f.description);n.addPath(f,h,!1);n.Dr(f,h,0,f.rv(h),!1);this.zn(n,0,m,k,1)}return this.yn(m)};e.prototype.Xq=function(){this.Ys++;if(0==this.Ys%1024&&null!=this.Ub&&!this.Ub.progress(-1,-1))throw g.i.fu("user_canceled");};e.prototype.yn=function(f){return g.Fg.Mk(f,this.ct,!0,!0,this.Ub)};e.prototype.qE=function(){if(0==this.vk)return this.Dq;var f= |
|
1-this.vk*Math.abs(this.Kv);f=-1>f?4:2*Math.PI/Math.acos(f)+.5;4>f?f=4:f>this.Dq&&(f=this.Dq);return g.O.truncate(f)};e.prototype.GD=function(f,h,k,m,n){this.cv();var p=new g.h;p.uc(k,h);p.scale(this.Kv);var q=new g.h;q.uc(m,h);q.scale(this.Kv);p=Math.atan2(p.y,p.x)/this.oA;0>p&&(p=this.Id.length+p);p=this.Id.length-p;q=Math.atan2(q.y,q.x)/this.oA;0>q&&(q=this.Id.length+q);q=this.Id.length-q;q<p&&(q+=this.Id.length);var r=g.O.truncate(q);q=g.O.truncate(Math.ceil(p));p=new g.h;p.L(this.Id[q%this.Id.length]); |
|
p.Ct(this.rb,h);var t=10*this.qa;p.sub(k);p.length()<t&&(q+=1);p.L(this.Id[r%this.Id.length]);p.Ct(this.rb,h);p.sub(m);p.length()<t&&--r;k=r-q;k++;r=0;for(q%=this.Id.length;r<k;r++,q=(q+1)%this.Id.length)p.L(this.Id[q]),p.Ct(this.rb,h),f.Ci(p),this.Xq();n&&f.Ci(m)};e.prototype.zn=function(f,h,k,m,n){var p=new g.gd,q=p.mN(f,h);p.Gp(this.tA,!1,!1);if(2>p.I(q)){if(0>n)return 1;n=f;p=new g.Sa;n.ve(n.Ba(h),p);this.yu(k,p);return 1}var r=p.Na(p.Xa(p.Ob(q))),t=new g.Dd;t.gg(-r.x,-r.y);p.Oc(t);if(m&&(this.tQ(p, |
|
q,n),2>p.I(q))){if(0>n)return 1;n=f;p=new g.Sa;n.ve(n.Ba(h),p);this.yu(k,p);return 1}this.Zd.length=0;var u=p.Ob(q);h=p.Xa(u);var w=1==n?p.Ma(h):p.U(h);f=1==n?p.U(h):p.Ma(h);var y=!0;m=new g.h;q=new g.h;var x=new g.h,z=new g.h,A=new g.h,B=new g.h,C=new g.h,E=new g.h,F=new g.h,H=new g.h,G=this.rb;u=p.Ja(u);for(var J=0;J<u;J++)p.D(f,q),y&&(p.D(h,m),p.D(w,x),E.uc(m,x),E.normalize(),H.MG(E),H.scale(G),z.add(H,m)),C.uc(q,m),C.normalize(),F.MG(C),F.scale(G),A.add(m,F),w=E.wi(C),y=E.Qh(C),0>w||0>y&&0==w? |
|
this.Zd.push(l.Qu(z,A,m,2,this.Zd.length+1,this.Zd.length-1)):z.qb(A)||(this.Zd.push(l.construct(z,m,this.Zd.length+1,this.Zd.length-1,"dummy")),this.Zd.push(l.construct(m,A,this.Zd.length+1,this.Zd.length-1,"dummy"))),B.add(q,F),this.Zd.push(l.Qu(A,B,m,1,this.Zd.length+1,this.Zd.length-1)),z.L(B),H.L(F),x.L(m),m.L(q),E.L(C),w=h,h=f,y=!1,f=1==n?p.U(h):p.Ma(h);this.Zd[this.Zd.length-1].qh=0;this.Zd[0].sh=this.Zd.length-1;this.YV(k);t.gg(r.x,r.y);k.YD(t,k.da()-1);return 1};e.prototype.YV=function(f){for(var h= |
|
this.zO(),k=!0,m=h+1,n=h;m!=h;n=m){var p=this.Zd[n];m=-1!=p.qh?p.qh:(n+1)%this.Zd.length;0!=p.Co&&(k&&f.Lt(p.Im),2==p.Co?this.GD(f,p.aw,p.Im,p.Vm,!0):f.Ci(p.Vm),k=!1)}};e.prototype.zO=function(){null==this.Ks&&(this.Ks=[null,null,null,null,null,null,null,null,null]);for(var f=0,h=0,k=this.Zd.length;h<k;){var m=this.Zd[h];if(0!=(m.Co&3)){f=h;break}h=m.qh}k=f+1;for(h=f;k!=f;h=k){m=this.Zd[h];k=m.qh;for(var n=1,p=null;k!=h;){p=this.Zd[k];if(0!=(p.Co&3))break;k=p.qh;n++}1!=n&&1==(m.Co&p.Co)&&(null==this.Ls&& |
|
(this.Ls=new g.yb,this.lw=new g.yb),this.Ls.Dc(m.Im),this.Ls.Qc(m.Vm),this.lw.Dc(p.Im),this.lw.Qc(p.Vm),1==this.Ls.Ea(this.lw,this.Ks,null,null,this.ct)&&(m.Vm.L(this.Ks[0]),p.Im.L(this.Ks[0]),m.qh=k,p.sh=h))}return f};e.prototype.Fv=function(f,h,k){var m=new g.h;m.uc(k,f);k=m.length();k=this.rb*this.rb-k*k*.25;if(0<k){k=Math.sqrt(k);m.normalize();m.ar();var n=new g.h;n.uc(h,f);if(n.Qh(m)+k>=this.rb)return!0}return!1};e.prototype.tQ=function(f,h,k){for(var m=0;1>m;m++){var n=!1,p=f.Ob(h),q=f.Ja(p); |
|
if(0==q)break;var r=q;if(3>q)break;!f.dc(p)&&(r=q-1);p=f.Xa(p);q=0<k?f.Ma(p):f.U(p);for(var t=0<k?f.U(p):f.Ma(p),u=q,w=!0,y=new g.h,x=new g.h,z=new g.h,A=new g.h,B=new g.h,C=g.h.construct(0,0),E=new g.h,F=new g.h,H=new g.h,G=new g.h,J=this.rb,I=0,L=0;L<r;){f.D(t,x);w&&(f.D(p,y),f.D(q,z),u=q);F.uc(y,z);F.normalize();E.uc(x,y);E.normalize();if(u==t)break;var M=F.wi(E),Q=F.Qh(E),U=!0;0>M||0>Q&&0==M||!this.Fv(z,y,x)||(C.L(x),U=!1,++I,n=!0);if(U){if(0<I)for(;;){M=0<k?f.Ma(u):f.U(u);if(M==p)break;f.D(M, |
|
A);if(this.Fv(A,z,C))z.L(A),u=M,U=!1,++I;else{M!=t&&this.Fv(A,z,x)&&this.Fv(A,y,x)&&(z.L(A),u=M,U=!1,++I);break}}if(!U)continue;if(0<I){u=0<k?f.Ma(q):f.U(q);for(w=1;w<I;w++)U=0<k?f.Ma(u):f.U(u),f.pd(u,!0),u=U;H.uc(y,z);I=H.length();I=J*J-I*I*.25;I=Math.sqrt(I);J-I>.5*this.vk?(B.add(z,y),B.scale(.5),H.normalize(),H.ar(),G.L(H),G.scale(J-I),B.add(G),f.mf(q,B)):f.pd(q,!0);I=0}z.L(y);u=p}y.L(x);q=p;p=t;t=0<k?f.U(p):f.Ma(p);L++;w=!1}if(0<I){u=0<k?f.Ma(q):f.U(q);for(w=1;w<I;w++)U=0<k?f.Ma(u):f.U(u),f.pd(u, |
|
!0),u=U;B.add(z,y);B.scale(.5);H.uc(y,z);I=H.length();I=J*J-I*I*.25;I=Math.sqrt(I);H.normalize();H.ar();G.L(H);G.scale(J-I);B.add(G);f.mf(q,B)}f.Gp(this.tA,!1,!1);if(!n)break}};e.prototype.FG=function(f,h){if(1==f.Ja(h))return!0;var k=new g.l;f.Rj(h,k);return Math.max(k.R(),k.ca())<.5*this.vk?!0:!1};e.prototype.EG=function(f){var h=new g.l;f.A(h);return Math.max(h.R(),h.ca())<.5*this.vk?!0:!1};e.prototype.WV=function(f){f=g.EC.local().V(f,.25*this.vk,!1,this.Ub);for(var h=0,k=0,m=f.da();k<m;k++)h= |
|
Math.max(f.Ja(k),h);if(32>h)return this.oq=!1,f;this.oq=!0;return g.Fg.Mk(f,this.ct,!1,!0,this.Ub)};e.prototype.yu=function(f,h){h=h.D();if(null!=this.Id&&0!==this.Id.length){var k=new g.h;k.L(this.Id[0]);k.Ct(this.rb,h);f.Lt(k);for(var m=1,n=this.Id.length;m<n;m++)k.L(this.Id[m]),k.Ct(this.rb,h),f.Ci(k)}else{m=this.qE();k=g.O.truncate((m+3)/4);m=.5*Math.PI/k;n=Math.cos(m);for(var p=Math.sin(m),q=new g.h,r=3;0<=r;r--){q.ma(0,this.rb);switch(r){case 0:for(m=0;m<k;m++)f.yj(q.x+h.x,q.y+h.y),q.Bt(n,p); |
|
break;case 1:for(m=0;m<k;m++)f.yj(-q.y+h.x,q.x+h.y),q.Bt(n,p);break;case 2:for(m=0;m<k;m++)f.yj(-q.x+h.x,-q.y+h.y),q.Bt(n,p);break;default:for(f.sx(q.y+h.x,-q.x+h.y),m=1;m<k;m++)q.Bt(n,p),f.yj(q.y+h.x,-q.x+h.y)}this.Xq()}}};e.kx=function(f){f.Ch(1,0);return f};e.prototype.sX=function(f){f.Ch(2,this.qa);f.fm();return f};return e}();g.HK=d})(D||={});(function(g){var v=function(){function l(c){this.Ca=c;this.g=new g.gd;this.dd=new g.ia(0)}l.prototype.Lh=function(c,a,b){switch(a){case 0:if(c.v<b&&c.C<= |
|
b)break;else return c.v>=b?1:-1;case 1:if(c.G<b&&c.H<=b)break;else return c.G>=b?1:-1;case 2:if(c.v>=b&&c.C>b)break;else return c.C<=b?1:-1;case 3:if(!(c.G>=b&&c.H>b))return c.H<=b?1:-1}return 0};l.prototype.Ay=function(c,a){return 1736==c.getType()?this.Cy(c,a):this.Dy(c)};l.prototype.Cy=function(c,a){if(0==this.Ca.R()||0==this.Ca.ca())return c.Ia();var b=new g.l;c.xc(b);this.X=this.g.Ib(c);var d=new g.l,e=new g.l,f=new g.h,h=new g.h,k=[0,0,0,0,0,0,0,0,0],m=[0,0,0,0,0,0,0,0,0];new g.ig;var n=new g.yb, |
|
p=new g.ia(0);p.Jb(Math.min(100,c.I()));for(var q=!1,r=0;!q&&4>r;r++){var t=!1,u=0!=(r&1),w=0;switch(r){case 0:w=this.Ca.v;t=b.v<=w&&b.C>=w;break;case 1:w=this.Ca.G;t=b.G<=w&&b.H>=w;break;case 2:w=this.Ca.C;t=b.v<=w&&b.C>=w;break;case 3:w=this.Ca.H,t=b.G<=w&&b.H>=w}if(t)for(q=!0,t=this.g.Ob(this.X);-1!=t;){var y=-1,x=-1,z=this.g.Xa(t),A=z;do{var B=this.g.bc(A);null==B&&(B=n,this.g.D(A,f),B.Dc(f),this.g.D(this.g.U(A),h),B.Qc(h));B.A(d);var C=this.Lh(d,r,w),E=0,F=-1;if(-1==C){B=B.cq(u,w,k,m);E=0<B? |
|
this.g.Ul(A,m,B):0;E+=1;var H=A,G=this.g.U(H);for(B=0;B<E;B++){this.g.D(H,f);this.g.D(G,h);F=this.g.bc(H);null==F&&(F=n,F.Dc(f),F.Qc(h));F.A(e);F=this.Lh(e,r,w);if(-1==F){if(u)F=Math.abs(f.y-w),J=Math.abs(h.y-w),F<J?(f.y=w,this.g.mf(H,f)):(h.y=w,this.g.mf(G,h));else{F=Math.abs(f.x-w);var J=Math.abs(h.x-w);F<J?(f.x=w,this.g.mf(H,f)):(h.x=w,this.g.mf(G,h))}F=this.g.bc(H);null==F&&(F=n,F.Dc(f),F.Qc(h));F.A(e);F=this.Lh(e,r,w)}J=y;y=F;-1==x&&(x=y);0==J&&1==y||1==J&&0==y||0!=J||0!=y||p.add(H);1==y&&(q= |
|
!1);F=H=G;G=this.g.U(G)}}0==E&&(J=y,y=C,-1==x&&(x=y),0==J&&1==y||1==J&&0==y||0!=J||0!=y||p.add(A),1==y&&(q=!1),F=this.g.U(A));A=F}while(A!=z);0==x&&0==y&&p.add(z);B=0;for(y=p.size;B<y;B++)x=p.get(B),this.g.pd(x,!1);p.clear(!1);t=3>this.g.Ja(t)?this.g.Zq(t):this.g.Rb(t)}}if(q)return c.Ia();this.FB();0<a&&this.My(a);return this.g.Ne(this.X)};l.prototype.Dy=function(c){var a=new g.l,b=new g.l,d=[0,0,0,0,0,0,0,0,0],e=[0,0,0,0,0,0,0,0,0],f=new g.ig,h=c,k=new g.l;c.xc(k);for(var m=0;4>m;m++){var n=!1,p= |
|
0!=(m&1),q=0;switch(m){case 0:q=this.Ca.v;n=k.v<=q&&k.C>=q;break;case 1:q=this.Ca.G;n=k.G<=q&&k.H>=q;break;case 2:q=this.Ca.C;n=k.v<=q&&k.C>=q;break;case 3:q=this.Ca.H,n=k.G<=q&&k.H>=q}if(n){n=h;h=c.Ia();n=n.Ga();n.Zi();for(var r,t=new g.h;n.$a();)for(var u,w=!0;n.Ha();){var y=n.ha();y.A(a);var x=this.Lh(a,m,q);if(-1==x){if(x=y.cq(p,q,d,e),0<x){var z=0;r=y.ac();for(var A=0;A<=x;A++)if(u=A<x?e[A]:1,z!=u){y.ah(z,u,f);var B=f.get();B.Dc(r);A<x&&(p?(t.x=d[A],t.y=q):(t.x=q,t.y=d[A]),B.Qc(t));B.A(b);var C= |
|
this.Lh(b,m,q);if(-1==C){r=B.ac();z=B.wc();if(p)C=Math.abs(r.y-q),E=Math.abs(z.y-q),C<E?(r.y=q,B.Dc(r)):(z.y=q,B.Qc(z));else{C=Math.abs(r.x-q);var E=Math.abs(z.x-q);C<E?(r.x=q,B.Dc(r)):(z.x=q,B.Qc(z))}B.A(b);C=this.Lh(b,m,q)}r=B.wc();z=u;u=C;1==u?(h.oc(B,w),w=!1):w=!0}}}else u=x,1==u?(h.oc(y,w),w=!1):w=!0}}}return h};l.prototype.FB=function(){this.ji=-1;this.Vl(!1,this.Ca.v);this.Vl(!1,this.Ca.C);this.Vl(!0,this.Ca.G);this.Vl(!0,this.Ca.H);this.dd.resize(0);this.dd.Jb(100);this.ji=this.g.Gd();for(var c= |
|
new g.h,a=this.g.Ob(this.X);-1!=a;a=this.g.Rb(a))for(var b=this.g.Xa(a),d=0,e=this.g.Ja(a);d<e;d++,b=this.g.U(b))if(this.g.D(b,c),this.Ca.v==c.x||this.Ca.C==c.x||this.Ca.G==c.y||this.Ca.H==c.y)this.g.Ra(b,this.ji,this.dd.size),this.dd.add(b);this.Nl(!1,this.Ca.v);this.Nl(!1,this.Ca.C);this.Nl(!0,this.Ca.G);this.Nl(!0,this.Ca.H);this.Ty()};l.prototype.My=function(c){for(var a=new g.h,b=new g.h,d=g.O.lg(2048,0),e=this.g.Ob(this.X);-1!=e;e=this.g.Rb(e)){var f=this.g.Xa(e),h=f;do{var k=this.g.U(h);this.g.D(h, |
|
a);var m=-1;a.x==this.Ca.v?(this.g.D(k,b),b.x==this.Ca.v&&(m=1)):a.x==this.Ca.C&&(this.g.D(k,b),b.x==this.Ca.C&&(m=1));a.y==this.Ca.G?(this.g.D(k,b),b.y==this.Ca.G&&(m=0)):a.y==this.Ca.H&&(this.g.D(k,b),b.y==this.Ca.H&&(m=0));if(-1!=m&&(m=g.h.tb(a,b),m=g.O.truncate(Math.min(Math.ceil(m/c),2048)),!(1>=m))){for(var n=1;n<m;n++)d[n-1]=1*n/m;this.g.Ul(h,d,m-1)}h=k}while(h!=f)}};l.prototype.Vl=function(c,a){var b=this.g.Gd(),d=new g.h,e=new g.ia(0);e.Jb(100);for(var f=this.g.Ob(this.X);-1!=f;f=this.g.Rb(f))for(var h= |
|
this.g.Xa(f),k=0,m=this.g.Ja(f);k<m;k++){var n=this.g.U(h);this.g.D(h,d);if(c?d.y==a:d.x==a)if(this.g.D(n,d),c?d.y==a:d.x==a)1!=this.g.Pa(h,b)&&(e.add(h),this.g.Ra(h,b,1)),1!=this.g.Pa(n,b)&&(e.add(n),this.g.Ra(n,b,1));h=n}this.g.Td(b);if(!(3>e.size)){var p=this;e.Vd(0,e.size,function(C,E){return p.Mh(C,E)});b=new g.h;f=new g.h;h=new g.h;f.Rc();var q=-1;k=new g.ia(0);m=new g.ia(0);n=this.g.Gd();for(var r=this.g.Gd(),t=0,u=e.size;t<u;t++){var w=e.get(t);this.g.D(w,d);if(!d.qb(f)){if(-1!=q){for(var y= |
|
q;y<t;y++){q=e.get(y);var x=this.g.U(q);w=this.g.Ma(q);var z=!1;0>this.Mh(q,x)&&(this.g.D(x,b),c?b.y==a:b.x==a)&&(k.add(q),z=!0,this.g.Ra(q,r,1));0>this.Mh(q,w)&&(this.g.D(w,b),c?b.y==a:b.x==a)&&(z||k.add(q),this.g.Ra(q,n,1))}y=0;for(z=k.size;y<z;y++){q=k.get(y);w=this.g.Pa(q,n);x=this.g.Pa(q,r);if(1==w){w=this.g.Ma(q);this.g.D(w,h);var A=[0];A[0]=0;if(!h.qb(d)){var B=g.h.tb(f,h);A[0]=g.h.tb(h,d)/B;0==A[0]?A[0]=2.220446049250313E-16:1==A[0]&&(A[0]=.9999999999999998);this.g.Ul(w,A,1);w=this.g.Ma(q); |
|
this.g.mf(w,d);m.add(w);this.g.Ra(w,n,1);this.g.Ra(w,r,-1)}}1==x&&(x=this.g.U(q),this.g.D(x,h),A=[0],A[0]=0,h.qb(d)||(B=g.h.tb(f,h),A[0]=g.h.tb(f,d)/B,0==A[0]?A[0]=2.220446049250313E-16:1==A[0]&&(A[0]=.9999999999999998),this.g.Ul(q,A,1),w=this.g.U(q),this.g.mf(w,d),m.add(w),this.g.Ra(w,n,-1),this.g.Ra(w,r,1)))}q=k;k=m;m=q;m.clear(!1)}q=t;f.L(d)}}this.g.Td(n);this.g.Td(r)}};l.prototype.Nl=function(c,a){var b=new g.h,d=new g.ia(0);d.Jb(100);for(var e=this.g.Gd(),f=0,h=this.dd.size;f<h;f++){var k=this.dd.get(f); |
|
if(-1!=k){var m=this.g.U(k);this.g.D(k,b);if(c?b.y==a:b.x==a)if(this.g.D(m,b),c?b.y==a:b.x==a)-2!=this.g.Pa(k,e)&&(d.add(k),this.g.Ra(k,e,-2)),-2!=this.g.Pa(m,e)&&(d.add(m),this.g.Ra(m,e,-2))}}if(0!=d.size){var n=this;d.Vd(0,d.size,function(E,F){return n.Mh(E,F)});f=0;for(h=d.size;f<h;f++){var p=d.get(f);this.g.Ra(p,e,f)}k=new g.h;m=new g.h;m.Rc();var q=-1;f=0;for(h=d.size;f<h;f++)if(p=d.get(f),-1!=p&&(this.g.D(p,b),!b.qb(m))){if(-1!=q)for(;;){p=!1;for(var r=1<f-q?f-1:f,t=q;t<r;t++){var u=d.get(t); |
|
if(-1!=u){var w=-1,y=this.g.U(u);0>this.Mh(u,y)&&(this.g.D(y,k),c?k.y==a:k.x==a)&&(w=y);y=-1;var x=this.g.Ma(u);0>this.Mh(u,x)&&(this.g.D(x,k),c?k.y==a:k.x==a)&&(y=x);if(-1!=w&&-1!=y)this.Kh(u,d,e),this.g.pd(u,!1),this.Kh(w,d,e),this.g.pd(w,!1),p=!0;else if(-1!=w||-1!=y){for(x=t+1;x<f;x++){var z=d.get(x);if(-1!=z){var A=this.g.U(z),B=-1;0>this.Mh(z,A)&&(this.g.D(A,k),c?k.y==a:k.x==a)&&(B=A);A=this.g.Ma(z);var C=-1;0>this.Mh(z,A)&&(this.g.D(A,k),c?k.y==a:k.x==a)&&(C=A);if(-1!=B&&-1!=C){this.Kh(z,d, |
|
e);this.g.pd(z,!1);this.Kh(B,d,e);this.g.pd(B,!1);p=!0;break}if(-1!=w&&-1!=C){this.zt(d,u,w,z,C,e);p=!0;break}else if(-1!=y&&-1!=B){this.zt(d,z,B,u,y,e);p=!0;break}}}if(p)break}}}if(!p)break}q=f;m.L(b)}}this.g.Td(e)};l.prototype.Kh=function(c,a,b){b=this.g.Pa(c,b);a.set(b,-1);b=this.g.Pa(c,this.ji);this.dd.set(b,-1);a=this.g.bd(c);-1!=a&&this.g.Xa(a)==c&&(this.g.Jf(a,-1),this.g.Wg(a,-1))};l.prototype.zt=function(c,a,b,d,e,f){this.g.Bc(a,d);this.g.Cc(d,a);this.g.Cc(b,e);this.g.Bc(e,b);this.Kh(d,c, |
|
f);this.g.mi(d,!1);this.Kh(e,c,f);this.g.mi(e,!0)};l.prototype.Ty=function(){for(var c=0,a=this.dd.size;c<a;c++){var b=this.dd.get(c);-1!=b&&this.g.aj(b,-1)}for(var d=0,e=0,f=this.g.Ob(this.X);-1!=f;){var h=this.g.Xa(f);if(-1==h||f!=this.g.bd(h)){var k=f;f=this.g.Rb(f);this.g.Jf(k,-1);this.g.$q(k)}else{b=h;k=0;do this.g.aj(b,f),k++,b=this.g.U(b);while(b!=h);2>=k?(b=this.g.Pa(h,this.ji),this.dd.set(b,-1),h=this.g.pd(h,!1),2==k&&(b=this.g.Pa(h,this.ji),this.dd.set(b,-1),this.g.pd(h,!1)),k=f,f=this.g.Rb(f), |
|
this.g.Jf(k,-1),this.g.$q(k)):(this.g.cp(f,!1),this.g.Wg(f,this.g.Ma(h)),this.g.Vj(f,k),e+=k,d++,f=this.g.Rb(f))}}c=0;for(a=this.dd.size;c<a;c++)if(b=this.dd.get(c),-1!=b&&(f=this.g.bd(b),-1==f)){f=this.g.vf(this.X,-1);k=0;h=b;do this.g.aj(b,f),k++,b=this.g.U(b);while(b!=h);2>=k?(b=this.g.Pa(h,this.ji),this.dd.set(b,-1),h=this.g.pd(h,!1),2==k&&(b=this.g.Pa(h,this.ji),0<=b&&this.dd.set(b,-1),this.g.pd(h,!1)),k=f,this.g.Jf(k,-1),this.g.$q(k)):(this.g.kn(f,!0),this.g.Vj(f,k),this.g.Jf(f,h),this.g.Wg(f, |
|
this.g.Ma(h)),this.g.cp(f,!1),e+=k,d++)}this.g.Rl(this.X,d);this.g.Tj(this.X,e);c=0;for(a=this.g.ld;-1!=a;a=this.g.ue(a))c+=this.g.I(a);this.g.bC(c)};l.By=function(c,a,b){return(new l(a)).Ay(c,b)};l.clip=function(c,a,b,d){if(c.B())return c;if(a.B())return c.Ia();b=c.getType();if(33==b)return d=c.D(),a.contains(d)?c:c.Ia();if(197==b)return d=new g.l,c.A(d),d.Ea(a)?(a=new g.Fh,c.copyTo(a),a.Xo(d),a):c.Ia();var e=new g.l;c.xc(e);if(a.contains(e))return c;if(!a.isIntersecting(e))return c.Ia();e=c.Bb; |
|
if(null!=e&&(e=e.Fk,null!=e)){e=e.Ro(a);if(1==e){if(1736!=b)throw g.i.Qa();c=new g.Da(c.description);c.tp(a);return c}if(0==e)return c.Ia()}switch(b){case 550:b=null;e=c.I();for(var f=c.ub(0),h=0,k=0;k<e;k++)d=new g.h,f.tc(2*k,d),a.contains(d)||(0==h&&(b=c.Ia()),h<k&&b.Fd(c,h,k),h=k+1);0<h&&b.Fd(c,h,e);return 0==h?c:b;case 1736:case 1607:return l.By(c,a,d);default:throw g.i.Qa();}};l.prototype.Mh=function(c,a){var b=new g.h;this.g.D(c,b);c=new g.h;this.g.D(a,c);return b.compare(c)};return l}();g.Ud= |
|
v})(D||={});(function(g){var v=function(){function l(c,a){this.Ca=c;this.g=new g.gd;this.dd=new g.ia(0);this.nd=a}l.prototype.Lh=function(c,a,b){switch(a){case 0:if(c.v<b&&c.C<=b)break;else return c.v>=b?1:-1;case 1:if(c.G<b&&c.H<=b)break;else return c.G>=b?1:-1;case 2:if(c.v>=b&&c.C>b)break;else return c.C<=b?1:-1;case 3:if(!(c.G>=b&&c.H>b))return c.H<=b?1:-1}return 0};l.prototype.Ay=function(c,a){return 1736==c.getType()?this.Cy(c,a):this.Dy(c)};l.prototype.Cy=function(c,a){if(0==this.Ca.R()||0== |
|
this.Ca.ca())return c.Ia();var b=new g.l;c.xc(b);this.X=this.g.Ib(c);var d=new g.l,e=new g.l,f=new g.h,h=new g.h,k=[0,0,0,0,0,0,0,0,0],m=[0,0,0,0,0,0,0,0,0],n=new g.yb,p=new g.ia(0);p.Jb(256);for(var q=!1,r=0;!q&&4>r;r++){var t=!1,u=0!=(r&1),w=0;switch(r){case 0:w=this.Ca.v;t=b.v<=w&&b.C>=w;break;case 1:w=this.Ca.G;t=b.G<=w&&b.H>=w;break;case 2:w=this.Ca.C;t=b.v<=w&&b.C>=w;break;case 3:w=this.Ca.H,t=b.G<=w&&b.H>=w}if(t)for(q=!0,t=this.g.Ob(this.X);-1!=t;){var y=!0,x=-1,z=-1,A=this.g.Xa(t),B=A;do{var C= |
|
this.g.bc(B);null==C&&(C=n,this.g.D(B,f),C.Dc(f),this.g.D(this.g.U(B),h),C.Qc(h));C.A(d);var E=this.Lh(d,r,w),F=0,H=-1;if(-1==E){C=C.cq(u,w,k,m);F=0<C?this.g.LX(B,m,C):0;F+=1;var G=B,J=this.g.U(G);for(C=0;C<F;C++){this.g.D(G,f);this.g.D(J,h);H=this.g.bc(G);null==H&&(H=n,H.Dc(f),H.Qc(h));H.A(e);H=this.Lh(e,r,w);if(-1==H){if(u)H=Math.abs(f.y-w),I=Math.abs(h.y-w),H<I?(f.y=w,this.g.mf(G,f)):(h.y=w,this.g.mf(J,h));else{H=Math.abs(f.x-w);var I=Math.abs(h.x-w);H<I?(f.x=w,this.g.mf(G,f)):(h.x=w,this.g.mf(J, |
|
h))}H=this.g.bc(G);null==H&&(H=n,H.Dc(f),H.Qc(h));H.A(e);H=this.Lh(e,r,w)}I=x;x=H;-1==z&&(z=x);0==I&&1==x||1==I&&0==x||0!=I||0!=x||p.add(G);1==x&&(y=q=!1);H=G=J;J=this.g.U(J)}}0==F&&(I=x,x=E,-1==z&&(z=x),0==I&&1==x||1==I&&0==x||0!=I||0!=x||p.add(B),1==x&&(y=q=!1),H=this.g.U(B));B=H;if(256<=p.size){C=1;for(E=p.size-1;C<E;C++)F=p.get(C),this.g.pd(F,!1);p.set(1,p.Fc());p.Bh(2)}}while(B!=A);if(!y)for(0==z&&0==x&&p.add(A),C=0,E=p.size;C<E;C++)F=p.get(C),this.g.pd(F,!1);p.clear(!1);t=y||0==this.g.Ja(t)? |
|
this.g.Zq(t):this.g.Rb(t)}}if(q)return c.Ia();this.FB();0<a&&this.My(a);return this.g.Ne(this.X)};l.prototype.Dy=function(c){var a=new g.l,b=new g.l,d=[0,0,0,0,0,0,0,0,0],e=[0,0,0,0,0,0,0,0,0],f=new g.ig,h=c,k=new g.l;c.xc(k);for(var m=new g.h,n=new g.h,p=null,q=null,r=0;4>r;r++){var t=!1,u=0!=(r&1),w=0;switch(r){case 0:w=this.Ca.v;t=k.v<=w&&k.C>=w;break;case 1:w=this.Ca.G;t=k.G<=w&&k.H>=w;break;case 2:w=this.Ca.C;t=k.v<=w&&k.C>=w;break;case 3:w=this.Ca.H,t=k.G<=w&&k.H>=w}if(t)for(t=h,h=c.Ia(),t= |
|
t.Ga(),t.Zi();t.$a();)for(var y,x=!0;t.Ha();){var z=t.ha();z.A(a);var A=this.Lh(a,r,w);if(-1==A){if(A=z.cq(u,w,d,e),0<A){var B=0;z.Yp(m);for(var C=0;C<=A;C++)if(y=C<A?e[C]:1,B!=y){z.ah(B,y,f);var E=f.get();E.Dc(m);C<A&&(u?(n.x=d[C],n.y=w):(n.x=w,n.y=d[C]),E.Qc(n));E.A(b);var F=this.Lh(b,r,w);-1==F&&(null==p&&(p=new g.h),null==q&&(q=new g.h),E.Yp(p),E.Tr(q),u?(B=Math.abs(p.y-w),F=Math.abs(q.y-w),B<F?(p.y=w,E.Dc(p)):(q.y=w,E.Qc(q))):(B=Math.abs(p.x-w),F=Math.abs(q.x-w),B<F?(p.x=w,E.Dc(p)):(q.x=w,E.Qc(q))), |
|
E.A(b),F=this.Lh(b,r,w));E.Tr(m);B=y;y=F;1==y?(h.oc(E,x),x=!1):x=!0}}}else y=A,1==y?(h.oc(z,x),x=!1):x=!0}}return h};l.prototype.FB=function(){this.ji=-1;this.Vl(!1,this.Ca.v);this.Vl(!1,this.Ca.C);this.Vl(!0,this.Ca.G);this.Vl(!0,this.Ca.H);this.dd.resize(0);this.dd.Jb(100);this.ji=this.g.Gd();for(var c=new g.h,a=this.g.Ob(this.X);-1!=a;a=this.g.Rb(a))for(var b=this.g.Xa(a),d=0,e=this.g.Ja(a);d<e;d++,b=this.g.U(b))if(this.g.D(b,c),this.Ca.v==c.x||this.Ca.C==c.x||this.Ca.G==c.y||this.Ca.H==c.y)this.g.Ra(b, |
|
this.ji,this.dd.size),this.dd.add(b);this.Nl(!1,this.Ca.v);this.Nl(!1,this.Ca.C);this.Nl(!0,this.Ca.G);this.Nl(!0,this.Ca.H);this.Ty()};l.prototype.My=function(c){for(var a=new g.h,b=new g.h,d=null,e=null,f=g.O.lg(2048,0),h=this.g.Ob(this.X);-1!=h;h=this.g.Rb(h)){var k=this.g.Xa(h),m=k;do{var n=this.g.U(m);this.g.D(m,a);var p=-1;a.x==this.Ca.v?(this.g.D(n,b),b.x==this.Ca.v&&(p=1)):a.x==this.Ca.C&&(this.g.D(n,b),b.x==this.Ca.C&&(p=1));a.y==this.Ca.G?(this.g.D(n,b),b.y==this.Ca.G&&(p=0)):a.y==this.Ca.H&& |
|
(this.g.D(n,b),b.y==this.Ca.H&&(p=0));if(-1!=p){null==d&&(d=new g.h);null==e&&(e=new g.h);d.L(a);e.ma(0,0);if(0==p){var q=a.x-this.Ca.v;e.x=g.lc.sign(b.x-a.x);d.x=c*g.lc.Cn(Math.floor(Math.abs(q/c)),q)+this.Ca.v;0>d.x&&(d.x+=c)}else q=a.y-this.Ca.G,e.y=g.lc.sign(b.y-a.y),d.y=c*g.lc.Cn(Math.floor(Math.abs(q/c)),q)+this.Ca.G,0>d.y&&(d.y+=c);q=0!=p?b.y-a.y:b.x-a.x;var r=Math.abs(q);if(65536<r/c)throw g.i.fa("internal error");if(0<r){r=g.O.truncate(r/c)+2;f.length<r&&(f=g.O.lg(r));for(var t=r=0;;t++){var u= |
|
new g.h;u.x=d.x+e.x*t*c;u.y=d.y+e.y*t*c;u=(0!=p?u.y-a.y:u.x-a.x)/q;if(1<=u)break;0>=u||(f[r]=u,r++)}0!=r&&this.g.Ul(m,f,r)}}m=n}while(m!=k)}};l.prototype.Vl=function(c,a){for(var b=-1,d=new g.h,e=null,f=this.g.Ob(this.X);-1!=f;f=this.g.Rb(f))for(var h=this.g.Xa(f),k=0,m=this.g.Ja(f);k<m;k++){var n=this.g.U(h);this.g.D(h,d);if(c?d.y==a:d.x==a)if(this.g.D(n,d),c?d.y==a:d.x==a)-1==b&&(b=this.g.Gd()),null==e&&(e=new g.ia(0),e.Jb(100)),1!=this.g.Pa(h,b)&&(e.add(h),this.g.Ra(h,b,1)),1!=this.g.Pa(n,b)&& |
|
(e.add(n),this.g.Ra(n,b,1));h=n}-1!=b&&this.g.Td(b);if(!(null==e||3>e.size)){var p=this;e.Vd(0,e.size,function(C,E){return p.Mh(C,E)});b=new g.h;f=new g.h;h=new g.h;f.Rc();var q=-1;k=new g.ia(0);m=new g.ia(0);n=null;for(var r=this.g.Gd(),t=this.g.Gd(),u=0,w=e.size;u<w;u++){var y=e.get(u);this.g.D(y,d);if(!d.qb(f)){if(-1!=q){for(var x=q;x<u;x++){q=e.get(x);var z=this.g.U(q);y=this.g.Ma(q);var A=!1;this.g.D(z,b);0>f.compare(b)&&(c?b.y==a:b.x==a)&&(k.add(q),A=!0,this.g.Ra(q,t,1));this.g.D(y,b);0>f.compare(b)&& |
|
(c?b.y==a:b.x==a)&&(A||k.add(q),this.g.Ra(q,r,1))}x=0;for(A=k.size;x<A;x++){q=k.get(x);y=this.g.Pa(q,r);z=this.g.Pa(q,t);if(1==y&&(y=this.g.Ma(q),this.g.D(y,h),!h.qb(d))){null==n&&(n=[]);var B=g.h.tb(f,h);n[0]=g.h.tb(h,d)/B;0==n[0]?n[0]=2.220446049250313E-16:1==n[0]&&(n[0]=.9999999999999998);this.g.Ul(y,n,1);y=this.g.Ma(q);this.g.mf(y,d);m.add(y);this.g.Ra(y,r,1);this.g.Ra(y,t,-1)}1==z&&(z=this.g.U(q),this.g.D(z,h),h.qb(d)||(null==n&&(n=[]),B=g.h.tb(f,h),n[0]=g.h.tb(f,d)/B,0==n[0]?n[0]=2.220446049250313E-16: |
|
1==n[0]&&(n[0]=.9999999999999998),this.g.Ul(q,n,1),y=this.g.U(q),this.g.mf(y,d),m.add(y),this.g.Ra(y,r,-1),this.g.Ra(y,t,1)))}q=k;k=m;m=q;m.clear(!1)}q=u;f.L(d)}}this.g.Td(r);this.g.Td(t)}};l.prototype.Nl=function(c,a){for(var b=new g.h,d=null,e=-1,f=0,h=this.dd.size;f<h;f++){var k=this.dd.get(f);if(-1!=k){var m=this.g.U(k);this.g.D(k,b);if(c?b.y==a:b.x==a)if(this.g.D(m,b),c?b.y==a:b.x==a)-1==e&&(e=this.g.Gd()),null==d&&(d=new g.ia(0),d.Jb(100)),-2!=this.g.Pa(k,e)&&(d.add(k),this.g.Ra(k,e,-2)),-2!= |
|
this.g.Pa(m,e)&&(d.add(m),this.g.Ra(m,e,-2))}}if(null==d)-1!=e&&this.g.Td(e);else{var n=this;d.Vd(0,d.size,function(E,F){return n.Mh(E,F)});f=0;for(h=d.size;f<h;f++){var p=d.get(f);this.g.Ra(p,e,f)}k=new g.h;m=new g.h;m.Rc();var q=-1;f=0;for(h=d.size;f<h;f++)if(p=d.get(f),-1!=p&&(this.g.D(p,b),!b.qb(m))){if(-1!=q)for(;;){p=!1;for(var r=1<f-q?f-1:f,t=q;t<r;t++){var u=d.get(t);if(-1!=u){var w=-1,y=this.g.U(u);this.g.D(y,k);0>m.compare(k)&&(c?k.y==a:k.x==a)&&(w=y);y=-1;var x=this.g.Ma(u);this.g.D(x, |
|
k);0>m.compare(k)&&(c?k.y==a:k.x==a)&&(y=x);if(-1!=w&&-1!=y)this.Kh(u,d,e),this.g.pd(u,!1),this.Kh(w,d,e),this.g.pd(w,!1),p=!0;else if(-1!=w||-1!=y){for(x=t+1;x<f;x++){var z=d.get(x);if(-1!=z){var A=this.g.U(z),B=-1;this.g.D(A,k);0>m.compare(k)&&(c?k.y==a:k.x==a)&&(B=A);A=this.g.Ma(z);var C=-1;this.g.D(A,k);0>m.compare(k)&&(c?k.y==a:k.x==a)&&(C=A);if(-1!=B&&-1!=C){this.Kh(z,d,e);this.g.pd(z,!1);this.Kh(B,d,e);this.g.pd(B,!1);p=!0;break}if(-1!=w&&-1!=C){this.zt(d,u,w,z,C,e);p=!0;break}else if(-1!= |
|
y&&-1!=B){this.zt(d,z,B,u,y,e);p=!0;break}}}if(p)break}}}if(!p)break}q=f;m.L(b)}this.g.Td(e)}};l.prototype.Kh=function(c,a,b){b=this.g.Pa(c,b);a.set(b,-1);b=this.g.Pa(c,this.ji);this.dd.set(b,-1);a=this.g.bd(c);-1!=a&&this.g.Xa(a)==c&&(this.g.Jf(a,-1),this.g.Wg(a,-1))};l.prototype.zt=function(c,a,b,d,e,f){this.g.Bc(a,d);this.g.Cc(d,a);this.g.Cc(b,e);this.g.Bc(e,b);this.Kh(d,c,f);this.g.mi(d,!1);this.Kh(e,c,f);this.g.mi(e,!0)};l.prototype.Ty=function(){for(var c=0,a=this.dd.size;c<a;c++){var b=this.dd.get(c); |
|
-1!=b&&this.g.aj(b,-1)}for(var d=0,e=0,f=this.g.Ob(this.X);-1!=f;){var h=this.g.Xa(f);if(-1==h||f!=this.g.bd(h)){var k=f;f=this.g.Rb(f);this.g.Jf(k,-1);this.g.$q(k)}else{b=h;k=0;do this.g.aj(b,f),k++,b=this.g.U(b);while(b!=h);this.g.cp(f,!1);this.g.Wg(f,this.g.Ma(h));this.g.Vj(f,k);e+=k;d++;f=this.g.Rb(f)}}c=0;for(a=this.dd.size;c<a;c++)if(b=this.dd.get(c),-1!=b&&(f=this.g.bd(b),-1==f)){f=this.g.vf(this.X,-1);k=0;h=b;do this.g.aj(b,f),k++,b=this.g.U(b);while(b!=h);2>=k?(b=this.g.Pa(h,this.ji),this.dd.set(b, |
|
-1),h=this.g.pd(h,!1),2==k&&(b=this.g.Pa(h,this.ji),0<=b&&this.dd.set(b,-1),this.g.pd(h,!1)),k=f,this.g.Jf(k,-1),this.g.$q(k)):(this.g.kn(f,!0),this.g.Vj(f,k),this.g.Jf(f,h),this.g.Wg(f,this.g.Ma(h)),this.g.cp(f,!1),e+=k,d++)}this.g.Rl(this.X,d);this.g.Tj(this.X,e);c=0;for(a=this.g.ld;-1!=a;a=this.g.ue(a))c+=this.g.I(a);this.g.bC(c)};l.By=function(c,a,b,d){return(new l(a,d)).Ay(c,b)};l.clip=function(c,a,b,d,e){return l.Nu(c,a,null,b,d,e)};l.Nu=function(c,a,b,d,e,f){var h=c.getType();if(33==h)return e= |
|
c.D(),a.contains(e)?c:c.Ia();if(197==h)return e=new g.l,c.A(e),e.Ea(a)?(a=new g.Fh,c.copyTo(a),a.Xo(e),a):c.Ia();if(c.B())return c;if(a.B())return c.Ia();var k=new g.l;c.xc(k);if(a.contains(k))return c;if(!a.isIntersecting(k))return c.Ia();(null!=b||isNaN(d))&&g.ta.ty(b,a,!1);if(!g.aa.xj(h))throw g.i.N();b=c.Bb;if(null!=b&&(b=b.Fk,null!=b)){b=b.Ro(a);if(1==b){if(1736!=h)throw g.i.fa("internal error");c=new g.Da(c.description);c.tp(a);return c}if(0==b)return c.Ia()}switch(h){case 550:f=null;h=c.I(); |
|
b=c.ub(0);d=0;e=new g.h;for(k=0;k<h;k++)b.tc(2*k,e),a.contains(e)||(0==d&&(f=c.Ia()),d<k&&f.Fd(c,d,k),d=k+1);0<d&&f.Fd(c,d,h);return 0==d?c:f;case 1736:case 1607:return l.By(c,a,e,f);default:throw g.i.fa("internal error");}};l.prototype.Mh=function(c,a){var b=new g.h;this.g.D(c,b);c=new g.h;this.g.D(a,c);return b.compare(c)};return l}();g.ri=v})(D||={});(function(g){var v=new g.h,l=function(){function a(b,d,e,f,h){this.Pm=new g.h;this.Dk=new g.h;this.Pi=new g.h;this.g=b;this.Aw=e;this.no=f;this.Pm= |
|
d;this.yl=h;this.Dk.Rc();this.Pi.Rc()}a.prototype.xE=function(b){this.g.D(b,this.Dk);b=g.O.truncate((this.Dk.x-this.Pm.x)*this.no+.5);var d=g.O.truncate((this.Dk.y-this.Pm.y)*this.no+.5);return c.jG(b,d)};a.prototype.jz=function(b){return this.g.Pa(b,this.yl)};a.prototype.Py=function(b,d){this.g.D(b,this.Dk);this.g.D(d,this.Pi);return c.Cv(this.Dk.x,this.Dk.y,this.Pi.x,this.Pi.y,this.Aw)};return a}();g.sY=function(){return function(){}}();var c=function(){function a(){this.Pm=new g.h;this.pq=[0,0, |
|
0,0];this.xs=[0,0,0,0];this.qo=this.yl=-1}a.iQ=function(b,d){var e=new a;e.g=b;e.qa=d;e.Aw=d*d;e.$v=2*d;e.no=1/e.$v;return e.BO()};a.Cv=function(b,d,e,f,h){b-=e;d-=f;return b*b+d*d<=h};a.jG=function(b,d){return g.O.Th(d,g.O.Th(b))};a.prototype.DO=function(b,d){this.g.Gc(b,v);for(var e=(v.y-this.Pm.y)*this.no,f=g.O.truncate((v.x-this.Pm.x)*this.no),h=g.O.truncate(e),k=e=0;1>=k;k+=1)for(var m=0;1>=m;m+=1){var n=a.jG(f+k,h+m),p=this.xl.rR(n);-1!=p&&(this.pq[e]=p,this.xs[e]=n,e++)}for(f=e-1;1<=f;f--)for(p= |
|
this.pq[f],h=f-1;0<=h;h--)if(p==this.pq[h]){this.xs[h]=-1;e--;f!=e&&(this.xs[f]=this.xs[e],this.pq[f]=this.pq[e]);break}for(h=0;h<e;h++)this.EO(b,this.xs[h],v,this.pq[h],d)};a.prototype.EO=function(b,d,e,f,h){for(var k=new g.h;-1!=f;f=this.xl.ER(f)){var m=this.xl.ja(f);b==m||-1!=d&&this.g.Pa(m,this.yl)!=d||(this.g.Gc(m,k),a.Cv(e.x,e.y,k.x,k.y,this.Aw)&&h.add(f))}};a.prototype.Xm=function(b,d,e){var f=this.g.Pa(b,this.qo),h=this.g.Pa(d,this.qo);-1==f&&(f=this.zd.Ph(),this.zd.addElement(f,b),this.g.Ra(b, |
|
this.qo,f));-1==h?this.zd.addElement(f,d):this.zd.Hy(f,h);this.g.Ra(d,this.qo,-2);d=this.YT(b,d);e&&(e=this.kw.xE(b),this.g.Ra(b,this.yl,e));return d};a.WT=function(b,d,e){b.Nb(d);e=b;var f=new g.h;a.XT(b.D(),d.D(),f);e.Cb(f)};a.XT=function(b,d,e){var f=b.x;b.x!=d.x&&(f=(1*b.x+1*d.x)/2);var h=b.y;b.y!=d.y&&(h=(1*b.y+1*d.y)/2);e.ma(f,h)};a.prototype.YT=function(b,d){var e=new g.h;this.g.D(b,e);var f=new g.h;this.g.D(d,f);var h=this.g.cG(b);d=this.g.cG(d);var k=h+d,m=0,n=e.x;e.x!=f.x&&(n=(e.x*h+f.x* |
|
d)/k,m++);var p=e.y;e.y!=f.y&&(p=(e.y*h+f.y*d)/k,m++);0<m&&this.g.Cb(b,n,p);this.g.vX(b,k);return 0!=m};a.prototype.BO=function(){var b=this.g.fd,d=this.g.IF();this.Pm=d.mz();d=Math.max(d.ca(),d.R())/2147483646;this.$v<d&&(this.$v=d,this.no=1/this.$v);this.zd=new g.au;this.zd.At(g.O.truncate(this.g.fd/3+1));this.zd.fn(g.O.truncate(this.g.fd/3+1));this.yl=this.g.Gd();this.qo=this.g.Gd();this.kw=new l(this.g,this.Pm,this.Aw,this.no,this.yl);this.xl=new g.dL(g.O.truncate(4*b/3),this.kw);this.xl.AW(this.g.fd); |
|
b=!1;for(d=this.g.ld;-1!=d;d=this.g.ue(d))for(var e=this.g.Ob(d);-1!=e;e=this.g.Rb(e))for(var f=this.g.Xa(e),h=0,k=this.g.Ja(e);h<k;h++){var m=this.kw.xE(f);this.g.Ra(f,this.yl,m);this.xl.addElement(f,m);f=this.g.U(f)}var n=new g.ia(0);n.Jb(10);for(d=this.g.ld;-1!=d;d=this.g.ue(d))for(e=this.g.Ob(d);-1!=e;e=this.g.Rb(e))for(f=this.g.Xa(e),h=0,k=this.g.Ja(e);h<k;h++){if(-2!=this.g.Pa(f,this.qo))for(m=this.g.Pa(f,this.yl),this.xl.jd(f,m);;){this.DO(f,n);if(0==n.size)break;m=!1;for(var p=0,q=n.size;p< |
|
q;p++){var r=n.get(p),t=this.xl.ja(r);this.xl.vd(r);m=this.Xm(f,t,p+1==q)||m}b=b||m;n.clear(!1);if(!m)break}f=this.g.U(f)}b&&this.vN();this.kw=this.xl=null;this.g.Td(this.yl);this.g.Td(this.qo);return b};a.prototype.vN=function(){for(var b=new g.h,d=this.zd.je;-1!=d;d=this.zd.qz(d)){var e=this.zd.rc(d);this.g.D(this.zd.ja(e),b);for(e=this.zd.lb(e);-1!=e;e=this.zd.lb(e))this.g.mf(this.zd.ja(e),b)}};return a}();g.Yt=c})(D||={});(function(g){var v=function(){function l(c){void 0===c&&(c=null);this.yg= |
|
null;this.Pb=!1;this.yg=null===c?[]:c}l.prototype.copyTo=function(c){if(c.Pb)throw g.i.fa("CompositeGeographicTransformation is read-only");for(var a=0;a<this.yg.length;a++)c.yg.push(this.yg[a].Of())};l.prototype.count=function(){return this.yg.length};l.prototype.add=function(c){if(this.Pb)throw g.i.fa("CompositeGeographicTransformation is read-only");this.yg.push(c.Of())};l.prototype.clear=function(){if(this.Pb)throw g.i.fa("CompositeGeographicTransformation is read-only");this.yg.length=0};l.prototype.remove= |
|
function(c){if(this.Pb)throw g.i.fa("CompositeGeographicTransformation is read-only");this.yg.splice(c,1)};l.prototype.jg=function(){var c=new l;this.copyTo(c);return c};l.prototype.Of=function(){return this.jg()};l.prototype.transform=function(c,a,b,d){if(c.length<a)throw g.i.fa("invalid Argument");var e=b;for(b=0;b<this.yg.length;b++){var f=this.yg[b];if(null!=f.qm()){var h=f.Un,k=h?1:0,m=h?f.qm().getGeogcs2():f.qm().getGeogcs1();m=m.getUnit().getUnitFactor();m=e/m;if(3.552713678800501E-15<Math.abs(m- |
|
1))for(e=0;e<a;e++)c[e][0]*=m,c[e][1]*=m;g.MC.geogToGeog(f.qm(),a,c,null,k);e=(h?f.qm().getGeogcs1():f.qm().getGeogcs2()).getUnit().getUnitFactor()}}m=e/d;if(3.552713678800501E-15<Math.abs(m-1))for(e=0;e<a;e++)c[e][0]*=m,c[e][1]*=m;return a};l.prototype.Nb=function(c){if(c==this)return!0;if(!(c instanceof l)||this.yg.length!=c.yg.length)return!1;for(var a=0;a<this.yg.length;a++)if(!this.yg[a].Nb(c.yg[a]))return!1;return!0};l.prototype.ix=function(){this.Pb=!0};l.prototype.toString=function(){for(var c= |
|
"CGT ("+this.count()+") ",a=0,b=this.count();a<b;++a)c+=this.yg[a].toString()+", ";return 200<c.length?c.substring(0,197)+"... ("+c.length.toString()+" characters)":c};l.create=function(){return new l};return l}();g.wC=v})(D||={});(function(g){var v=Math.PI,l=2*Math.PI,c=Math.PI/2,a=function(){function e(){}e.TO=function(f,h){var k=new e;k.x=f;k.y=h;k.type=0;k.Uh=0;return k};e.al=function(f){var h=new e;h.x=f.x;h.y=f.y;h.type=0;h.Uh=0;return h};e.SO=function(f){var h=new e;h.x=f.x;h.y=f.y;h.type= |
|
f.type;h.Uh=f.Uh;return h};e.Pd=function(f,h,k){var m=new e;m.x=f.x+h*Math.cos(k);m.y=f.y+h*Math.sin(k);m.type=f.type;m.Uh=f.Uh;return m};e.Pu=function(f,h){var k=new e;k.x=.5*(f.x+h.x);k.y=.5*(f.y+h.y);k.type=f.type;k.Uh=f.Uh;return k};e.TE=function(f,h){var k=new e;k.x=f.x+.001*(h.x-f.x);k.y=f.y+.001*(h.y-f.y);k.type=f.type;k.Uh=f.Uh;return k};return e}(),b=function(){return function(){}}();(function(e){e[e.Round=0]="Round";e[e.Bevel=1]="Bevel";e[e.Miter=2]="Miter";e[e.Square=3]="Square"})(g.fL|| |
|
(g.fL={}));var d=function(){function e(f){this.NA=this.Yb=this.wg=null;this.nd=f}e.V=function(f,h,k,m,n,p){if(null==f)throw g.i.N();if(1>f.Db())throw g.i.N();if(0==h||f.B())return f;p=new e(p);p.ko=f;p.Ka=h;p.qa=n;p.Ki=k;p.CA=m;return p.Rx()};e.prototype.eM=function(){var f=this.ko,h=f.ac(),k=f.wc(),m=new g.h;m.uc(k,h);m.normalize();m.Hv();m.scale(this.Ka);h.add(m);k.add(m);m=f.Ia();f.Dc(h);f.Qc(k);return m};e.prototype.dM=function(){var f=this.ko;if(0<this.Ka&&2!=this.Ki){var h=new g.Da;h.ad(f,!1); |
|
this.ko=h;return this.Rx()}f=new g.Fh(f.$);f.W(this.Ka,this.Ka);return f};e.prototype.tJ=function(f,h,k,m){return(h.x-f.x)*(m.x-k.x)+(h.y-f.y)*(m.y-k.y)};e.prototype.fc=function(f,h){if(void 0===h)this.Yb.push(f),this.gf++;else if(0==this.gf)this.fc(f);else{var k=this.Bw,m=this.wg[0==h?k-1:h-1],n=this.wg[h],p=this.tJ(m,n,this.Yb[this.gf-1],f);0<p?this.fc(f):0>p&&(0<this.tJ(m,n,n,this.Yb[this.gf-1])?(n=this.wg[0==h?k-2:1==h?k-1:h-2],k=a.Pd(m,this.Ka,Math.atan2(m.y-n.y,m.x-n.x)-c),this.Yb[this.gf-1]= |
|
k,1==this.Ki||2==this.Ki?(k=a.Pu(k,m),this.fc(k),k=a.Pd(m,this.Ka,this.Jv+c),m=a.Pu(k,m),m.type|=256,this.fc(m)):(k=a.Pd(m,this.Ka,this.Jv+c),k.type|=256),this.fc(k),this.fc(f,h)):(k=a.Pd(n,this.Ka,this.Jv+c),this.fc(k),1==this.Ki||2==this.Ki?(k=a.Pu(k,n),this.fc(k),k=a.Pd(n,this.Ka,this.aA-c),m=a.Pu(k,n),m.type|=256,this.fc(m)):(k=a.Pd(n,this.Ka,this.aA-c),k.type|=256),this.fc(k)))}};e.prototype.mE=function(){var f,h=this.Bw;this.gf=0;var k=.5*this.qa,m=0,n=0;for(f=0;f<h;f++){var p=this.wg[f],q= |
|
0==f?this.wg[h-1]:this.wg[f-1],r=f==h-1?this.wg[0]:this.wg[f+1],t=q.x-p.x,u=q.y-p.y,w=r.x-p.x,y=r.y-p.y,x=Math.atan2(u,t),z=Math.atan2(y,w);this.Jv=x;this.aA=z;0==f&&(m=x,n=z);t=t*y-w*u;u=z;z<x&&(z+=l);if(0<t*this.Ka)1==this.Ki||2==this.Ki?(x=a.Pd(p,this.Ka,x+c),this.fc(x),x=a.TE(p,x),this.fc(x),x=a.Pd(p,this.Ka,z-c),p=a.TE(p,x),p.type|=256,this.fc(p),this.fc(x)):(t=.5*(z-x),t=this.Ka/Math.abs(Math.sin(t)),x=a.Pd(p,t,.5*(x+z)),this.fc(x,f));else if(0!=(p.type&512)){t=1-k/Math.abs(this.Ka);q=1;r=0> |
|
this.Ka?-v:v;-1<t&&1>t&&(u=2*Math.acos(t),.017453292519943295>u&&(u=.017453292519943295),q=g.O.truncate(v/u+1.5),1<q&&(r/=q));u=x+c;x=a.Pd(p,this.Ka,u);0==f&&(x.type|=1024);this.fc(x,f);t=this.Ka/Math.cos(r/2);u+=r/2;x=a.Pd(p,t,u);x.type|=1024;for(this.fc(x);0<--q;)u+=r,x=a.Pd(p,t,u),x.type|=1024,this.fc(x);x=a.Pd(p,this.Ka,z-c);x.type|=1024;this.fc(x)}else if(1==this.Ki)x=a.Pd(p,this.Ka,x+c),this.fc(x,f),x=a.Pd(p,this.Ka,z-c),this.fc(x);else if(0==this.Ki)for(t=1-k/Math.abs(this.Ka),q=1,r=z-c-(x+ |
|
c),-1<t&&1>t&&(u=2*Math.acos(t),.017453292519943295>u&&(u=.017453292519943295),q=g.O.truncate(Math.abs(r)/u+1.5),1<q&&(r/=q)),t=this.Ka/Math.cos(.5*r),u=x+c+.5*r,x=a.Pd(p,t,u),this.fc(x,f);0<--q;)u+=r,x=a.Pd(p,t,u),this.fc(x);else 2==this.Ki?(t=q.x-p.x,u=q.y-p.y,w=r.x-p.x,y=r.y-p.y,q=(t*w+u*y)/Math.sqrt(t*t+u*u)/Math.sqrt(w*w+y*y),.99999999<q?(x=a.Pd(p,1.4142135623730951*this.Ka,z-.25*v),this.fc(x,f),x=a.Pd(p,1.4142135623730951*this.Ka,z+.25*v),this.fc(x)):(q=Math.abs(this.Ka/Math.sin(.5*Math.acos(q))), |
|
r=Math.abs(this.CA*this.Ka),q>r?(t=.5*(z-x),t=this.Ka/Math.abs(Math.sin(t)),x=a.Pd(p,t,.5*(x+z)),z=g.h.construct(x.x,x.y),x=g.h.construct(p.x,p.y),p=new g.h,p.uc(z,x),z=new g.h,z.HW(r/p.length(),p,x),x=(q-r)*Math.abs(this.Ka)/Math.sqrt(q*q-this.Ka*this.Ka),0<this.Ka?p.Hv():p.ar(),p.scale(x/p.length()),x=new g.h,x.add(z,p),q=new g.h,q.uc(z,p),x=a.al(x),this.fc(x,f),x=a.al(q),this.fc(x)):(t=.5*(z-x),t=this.Ka/Math.abs(Math.sin(t)),x=a.Pd(p,t,.5*(x+z)),this.fc(x,f)))):(z=u,0<this.Ka?(z>x&&(z-=l),q=x- |
|
z<c):(z<x&&(z+=l),q=z-x<c),q?(t=1.4142135623730951*this.Ka,u=0>t?x+.25*v:x+.75*v,x=a.Pd(p,t,u),this.fc(x,f),u=0>t?z-.25*v:z-.75*v,x=a.Pd(p,t,u),this.fc(x)):(t=.5*(z-x),t=this.Ka/Math.abs(Math.sin(t)),z<x&&(z+=l),x=a.Pd(p,t,(x+z)/2),this.fc(x,f)))}this.Jv=m;this.aA=n;this.fc(this.Yb[0],0);p=a.SO(this.Yb[this.gf-1]);this.Yb[0]=p;return this.wW()};e.prototype.Au=function(f,h){if(!(2>h))for(var k=0;k<h;k++){var m=this.Yb[f+k];0!=k?this.NA.Ci(g.h.construct(m.x,m.y)):this.NA.Lt(g.h.construct(m.x,m.y))}}; |
|
e.prototype.fM=function(f,h,k){var m=f.Ba(h),n=f.Vc(h);this.Yb=[];this.NA=k;if(f.dc(h)){for(h=f.Na(m);f.Na(n-1).qb(h);)n--;if(2<=n-m){this.Bw=n-m;this.wg=[];for(h=m;h<n;h++)this.wg.push(a.al(f.Na(h)));this.mE()&&this.Au(0,this.gf-1)}}else{for(h=f.Na(m);m<n&&f.Na(m+1).qb(h);)m++;for(h=f.Na(n-1);m<n&&f.Na(n-2).qb(h);)n--;if(2<=n-m){this.Bw=2*(n-m)-2;this.wg=[];k=a.al(f.Na(m));k.type|=1536;this.wg.push(k);for(h=m+1;h<n-1;h++)k=a.al(f.Na(h)),this.wg.push(k);k=a.al(f.Na(n-1));k.type|=512;this.wg.push(k); |
|
for(h=n-2;h>=m+1;h--)k=a.al(f.Na(h)),k.type|=1024,this.wg.push(k);if(this.mE())if(2<=this.Yb.length){f=-1;(n=0!=(this.Yb[this.gf-1].type&1024))||(f=0);for(h=1;h<this.gf;h++)(m=0!=(this.Yb[h].type&1024))?n||(n=h-1,1<n-f+1&&this.Au(f,n-f+1)):n&&(f=h-1),n=m;n||(n=this.gf-1,1<n-f+1&&this.Au(f,n-f+1))}else f=0,n=this.gf-1,0<=f&&1<=n-f&&this.Au(f,n-f+1)}}this.wg=null;this.Bw=0;this.Yb=null;this.gf=0};e.prototype.wW=function(){for(var f=!1,h=0;h<this.gf;h++){var k=this.Yb[h];k.qh=h+1;k.sh=h-1;this.Yb[h]= |
|
k}k=this.Yb[0];k.sh=this.gf-2;this.Yb[0]=k;k=this.Yb[this.gf-2];k.qh=0;this.Yb[this.gf-2]=k;for(h=k=0;h<this.gf;h++)if(0!=(this.Yb[k].type&256)){var m=this.GP(k);if(-1!=m)k=m;else{f=!0;break}}else k=this.Yb[k].qh;if(f)return!1;this.QO(k);return!0};e.prototype.GP=function(f){for(var h=this.gf-1,k=f,m,n,p=1;p<=h-2;p++){m=k=this.Yb[k].qh;n=f;for(var q=1;q<=p;q++){n=this.Yb[n].sh;if(0==(this.Yb[n].type&256)&&0==(this.Yb[m].type&256)){var r=this.gS(n,m);if(-1!=r)return r}m=this.Yb[m].sh}}return-1};e.prototype.gS= |
|
function(f,h){var k=this.Yb[this.Yb[f].sh],m=this.Yb[f],n=this.Yb[this.Yb[h].sh],p=this.Yb[h];if(!this.JW(k,m,n,p))return-1;var q=new b;return this.xQ(k,m,n,p,q)&&!q.bE&&g.O.bK((m.x-k.x)*(p.y-n.y)-(m.y-k.y)*(p.x-n.x))!=g.O.bK(this.Ka)?(k=this.Yb[f].sh,q.an.type=m.type,q.an.qh=h,q.an.sh=k,this.Yb[f]=q.an,q.an=this.Yb[h],q.an.sh=f,this.Yb[h]=q.an,h):-1};e.prototype.JW=function(f,h,k,m){return Math.max(f.x,h.x)>=Math.min(k.x,m.x)&&Math.max(k.x,m.x)>=Math.min(f.x,h.x)&&Math.max(f.y,h.y)>=Math.min(k.y, |
|
m.y)&&Math.max(k.y,m.y)>=Math.min(f.y,h.y)};e.prototype.xQ=function(f,h,k,m,n){n.bE=!1;var p=(h.y-f.y)*(m.x-k.x)-(h.x-f.x)*(m.y-k.y),q=(k.y-f.y)*(h.x-f.x)-(k.x-f.x)*(h.y-f.y);p=0==p?2:q/p;if(0<=p&&1>=p){var r=p;p=(m.y-k.y)*(h.x-f.x)-(m.x-k.x)*(h.y-f.y);q=(f.y-k.y)*(m.x-k.x)-(f.x-k.x)*(m.y-k.y);p=0==p?2:q/p;if(0<=p&&1>=p)return n.an=a.TO(f.x+p*(h.x-f.x),f.y+p*(h.y-f.y)),n.an.Uh=k.Uh+r*(m.Uh-k.Uh),0!=r&&1!=r||0!=p&&1!=p||(n.bE=!0),n.VY=p,n.WY=r,(0==r||1==r)&&0<p&&1>p||(0==p||1==p)&&0<r&&1>r?!1:!0}return!1}; |
|
e.prototype.QO=function(f){for(;this.Yb[f].sh<f;)f=this.Yb[f].sh;var h=0,k=f;do k=this.Yb[k],this.Yb[h]=k,k=k.qh,h++;while(k!=f);this.Yb[h]=this.Yb[0];this.gf=h+1};e.prototype.$C=function(f){var h=this.ko,k=h.Ga();if(null!=k){k.Zi();for(var m=-1;k.$a();)m++,this.fM(h,m,f)}};e.prototype.Rx=function(){var f=this.ko.getType();return 322==f?this.eM():197==f?this.dM():g.aa.yd(f)?(f=new g.Ta,f.oc(this.ko,!0),this.ko=f,this.Rx()):1607==f?(f=new g.Ta,this.$C(f),f):1736==f?(f=new g.Da,this.$C(f),f):null}; |
|
return e}();g.IK=d})(D||={});(function(g){var v=function(){function b(d){this.qk=d}b.prototype.D=function(d,e){this.qk.g.D(d,e)};b.prototype.vd=function(d){var e=this.qk.Fa.ja(d);this.qk.Fa.vd(d,-1);this.qk.g.pd(e,!1)};return b}(),l=function(){function b(d){this.qk=d}b.prototype.D=function(d,e){this.qk.IT.D(d,e)};b.prototype.vd=function(d){this.qk.Fa.vd(d,-1)};return b}(),c=function(){function b(d){this.qk=d}b.prototype.D=function(d,e){e.L(this.qk.LT[d])};b.prototype.vd=function(d){this.qk.Fa.vd(d, |
|
-1)};return b}(),a=function(){function b(d){void 0===d?(this.Fa=new g.Yj,this.Fa.De(20),this.g=new g.gd,this.xT=this.g.Ig(550),this.Ss=this.g.vf(this.xT,-1),this.Xh=new v(this)):d instanceof Array?(this.Fa=new g.Yj,this.Fa.De(20),this.LT=d,this.Xh=new c(this)):(this.Fa=new g.Yj,this.Fa.De(20),this.IT=d,this.Xh=new l(this))}b.prototype.Ib=function(d){var e=d.getType();if(g.Gx.xj(e))this.jN(d);else if(g.Vk.yd(e))this.oN(d);else if(197==e)this.gN(d);else if(33==e)this.nN(d);else throw g.i.N("invalid shape type"); |
|
};b.prototype.cR=function(){var d=new g.Sa,e=this.Fa.rc(-1),f=new g.Da(this.g.ht);this.g.Vi(this.Fa.ja(e),d);f.nf(d);for(e=this.Fa.lb(e);-1!=e;e=this.Fa.lb(e))this.g.Vi(this.Fa.ja(e),d),f.lineTo(d);return f};b.RO=function(d){var e=new b(d),f=d.I(),h=1,k=new g.h,m=new g.h,n=new g.h;for(d.D(0,k);;){d.D(h,m);if(!(m.Rz(k)&&h<f-1))break;h++}e.Fa.addElement(0,-1);e.Fa.xn(h);for(f=h+1;f<d.I();f++)d.D(f,n),h=e.pC(n),-1!=h&&e.Fa.Sj(h,f);n=new g.Sa;h=e.Fa.rc(-1);f=new g.Da(d.description);d.ve(e.Fa.ja(h),n); |
|
f.nf(n);for(h=e.Fa.lb(h);-1!=h;h=e.Fa.lb(h))d.ve(e.Fa.ja(h),n),f.lineTo(n);return f};b.construct=function(d,e,f){for(var h=new b(d),k=1,m=d[0];d[k].Rz(m)&&k<e-1;)k++;h.Fa.addElement(0,-1);h.Fa.xn(k);for(k+=1;k<e;k++)m=h.pC(d[k]),-1!=m&&h.Fa.Sj(m,k);d=0;for(e=h.Fa.rc(-1);-1!=e;e=h.Fa.lb(e))f[d++]=h.Fa.ja(e);return d};b.JG=function(d,e){var f=d.Ba(e),h=d.Vc(e);e=!d.dc(e)&&d.Nn(e);d=d.ub(0);f*=2;h*=2;e&&(h-=2);if(6>h-f)return!0;e=new g.h;var k=new g.h,m=new g.h;d.tc(f,e);d.tc(f+2,k);d.tc(f+4,m);var n= |
|
b.Wu(k,m,e);if(n.ps()||!b.um(n.value()))return!1;var p=g.h.construct(k.x,k.y),q=new g.h;for(f+=6;f<h;f+=2){q.L(k);k.L(m);d.tc(f,m);n=b.Wu(k,m,e);if(n.ps()||!b.um(n.value()))return!1;n=b.Wu(p,m,e);if(n.ps()||!b.um(n.value()))return!1;n=b.Wu(k,m,q);if(n.ps()||!b.um(n.value()))return!1}return!0};b.prototype.jN=function(d){for(var e=new g.Sa,f=new g.h,h=0;h<d.I();h++){d.D(h,f);var k=this.Cr(f);if(-1!=k){d.ve(h,e);var m=this.g.fc(this.Ss,e);this.Fa.Sj(k,m)}}};b.prototype.gN=function(d){for(var e=new g.Sa, |
|
f=new g.h,h=0;4>h;h++){d.mB(h,f);var k=this.Cr(f);if(-1!=k){d.Hf(h,e);var m=this.g.fc(this.Ss,e);this.Fa.Sj(k,m)}}};b.prototype.oN=function(d){var e=new g.Sa,f=d.ac();f=this.Cr(f);if(-1!=f){d.To(e);var h=this.g.fc(this.Ss,e);this.Fa.Sj(f,h)}f=d.wc();f=this.Cr(f);-1!=f&&(d.Po(e),d=this.g.fc(this.Ss,e),this.Fa.Sj(f,d))};b.prototype.nN=function(d){var e=d.D();e=this.Cr(e);-1!=e&&(d=this.g.fc(this.Ss,d),this.Fa.Sj(e,d))};b.prototype.Cr=function(d){var e=-1;if(0==this.Fa.size(-1))return e=this.Fa.addElement(-4, |
|
-1);if(1==this.Fa.size(-1)){var f=this.g.Na(this.Fa.ja(this.Fa.rc(-1)));d.Rz(f)||(e=this.Fa.xn(-5));return e}return e=this.pC(d)};b.prototype.pC=function(d){var e=-1,f=this.Fa.rc(-1),h=this.Fa.Fc(-1),k=this.Fa.ja(f),m=this.Fa.ja(h),n=new g.h,p=new g.h;this.Xh.D(k,n);this.Xh.D(m,p);k=g.h.Uq(p,d,n);if(b.um(k))e=this.Fa.xn(-1),n=this.nC(d,h,f),n!=f&&this.oC(d,f,this.Fa.we(n));else if(b.CG(k)){p=this.Fa.sv(-1);var q=this.Fa.rc(-1),r=this.Fa.Fc(-1);k=new g.h;for(m=new g.h;q!=this.Fa.we(r);){var t=this.Fa.ja(p); |
|
this.Xh.D(t,k);t=g.h.Uq(k,d,n);b.CG(t)?(r=p,p=this.Fa.ll(p)):(q=p,p=this.Fa.Xp(p))}p=r;n=q;t=this.Fa.ja(p);q=this.Fa.ja(n);this.Xh.D(t,k);this.Xh.D(q,m);if(n==f||(k=g.h.Uq(m,d,k),b.um(k)))e=this.Fa.zu(n,p,-2,!1),this.oC(d,p,h),this.nC(d,n,f)}else null==this.sb&&(this.sb=new g.yb),this.sb.Dc(p),this.sb.Qc(n),n=this.sb.fe(d,!0),0>n?(n=this.Fa.we(h),this.Fa.vd(h,-1),e=this.Fa.xn(-3),this.nC(d,n,f)):1<n&&(n=this.Fa.lb(f),this.Fa.vd(f,-1),e=this.Fa.zu(-1,n,-3,!1),this.oC(d,n,h));return e};b.prototype.oC= |
|
function(d,e,f){if(e!=f){var h=this.Fa.ja(e),k=this.Fa.lb(e),m=new g.h,n=new g.h;for(this.Xh.D(h,m);e!=f&&2<this.Fa.size(-1);){this.Xh.D(this.Fa.ja(k),n);h=g.h.Uq(n,d,m);if(b.um(h))break;h=e;e=k;m.L(n);k=this.Fa.lb(e);this.Xh.vd(h)}}};b.prototype.nC=function(d,e,f){if(e==f)return f;var h=this.Fa.ja(e),k=this.Fa.we(e),m=new g.h,n=new g.h;for(this.Xh.D(h,m);e!=f&&2<this.Fa.size(-1);){this.Xh.D(this.Fa.ja(k),n);h=g.h.Uq(m,d,n);if(b.um(h))break;h=e;e=k;m.L(n);k=this.Fa.we(e);this.Xh.vd(h)}return e};b.Wu= |
|
function(d,e,f){var h=new g.Wb;h.set(e.x);h.sub(d.x);var k=new g.Wb;k.set(f.y);k.sub(d.y);var m=new g.Wb;m.set(e.y);m.sub(d.y);e=new g.Wb;e.set(f.x);e.sub(d.x);h.Ag(k);m.Ag(e);h.sub(m);return h};b.um=function(d){return 0>d};b.CG=function(d){return 0<d};return b}();g.Zt=a})(D||={});(function(g){var v=function(){function l(c){this.g=null;this.tH=!0;this.nd=c}l.zU=function(c,a,b){c=g.ta.Er(c);return g.Yt.Cv(a.Lg(),a.ih(),b.Lg(),b.ih(),g.lc.ox(c))};l.CO=function(c,a){var b=new g.Sa;g.Yt.WT(c,a,b);return b}; |
|
l.V=function(c,a,b,d){b=new l(b);b.g=c;b.qa=a;b.tH=d;return b.EM()};l.prototype.nM=function(c){return g.Yt.iQ(this.g,c)};l.prototype.sM=function(c){return g.$t.V(this.g,c,this.nd)};l.prototype.EM=function(){var c=this.qa,a=g.ta.Er(c);c=g.ta.rN(c);var b=1.00001*c;c*=1.000001;for(var d=!1,e=30<this.g.fd+10?1E3:(this.g.fd+10)*(this.g.fd+10),f=0,h=this.g.jS();;f++){if(f>e)throw g.i.fa("Internal Error: max number of iterations exceeded");var k=this.nM(a);d=d||k;this.tH&&(k=0!=this.g.Gp(a,!0,!1),d=d||k); |
|
k=!1;if(0==f||h||g.$t.kI(!0,this.g,c,null,this.nd))k=this.sM(b),d=d||k;if(!k)break;g.mp.zp(this.nd)}return d};return l}();g.Tk=v})(D||={});(function(g){var v=function(){function c(a){this.$d=this.Mc=null;this.Ys=0;this.Ub=a;this.cA=!0}c.prototype.uv=function(a,b){var d=this.g.bc(a);if(null==d){if(!this.g.ed(a,b))return null;d=b}return d};c.prototype.Xq=function(){var a;void 0===a&&(a=!1);this.Ys++;if(a||0==(this.Ys&4095))this.Ys=0,g.mp.zp(this.Ub)};c.prototype.nP=function(){var a=this.g.Yq(!1),b= |
|
!1,d=new g.yb,e=new g.yb,f=new g.l;f.Oa();var h=new g.l;h.Oa();for(var k=new g.Sa,m=new g.TC,n=a.next();-1!=n;n=a.next()){g.mp.zp(this.Ub);var p=null,q=!1;if(!g.aa.Rn(this.g.ic(a.ck))){p=this.uv(n,d);if(null==p)continue;p.A(f);f.W(this.qa,this.qa);if(p.Bi(this.qa))if(p.Bi(0))q=!0,p=null;else continue}var r=this.g.Yq(a),t=r.next();for(-1!=t&&(t=r.next());-1!=t;t=r.next()){var u=null,w=!1;if(!g.aa.Rn(this.g.ic(r.ck))){u=this.uv(t,e);if(null==u)continue;u.A(h);if(u.Bi(this.qa))if(u.Bi(0))w=!0,u=null; |
|
else continue}var y=0,x=0;if(null!=p&&null!=u)f.HG(h)&&(m.Oo(p),m.Oo(u),m.Ea(this.qa,!1),y=m.ol(0),x=m.ol(1),0<y+x&&(this.g.jr(n,m,0,!0),this.g.jr(t,m,1,!0)),m.clear());else if(null!=p){var z=new g.h;this.g.D(t,z);if(f.contains(z)){m.Oo(p);this.g.Vi(t,k);m.Kz(this.qa,k,!1);y=m.ol(0);if(0<y)if(this.g.jr(n,m,0,!0),w){w=-1;for(z=this.g.U(t);-1!=z&&z!=t&&(u=this.uv(z,e),w=z,null!=u&&u.Bi(0));z=this.g.U(z));for(z=t;-1!=z&&(this.g.Dh(z,m.Bf),z!=w);z=this.g.U(z));}else this.g.Dh(t,m.Bf);m.clear()}}else if(null!= |
|
u){if(z=new g.h,this.g.D(n,z),h.W(this.qa,this.qa),h.contains(z)){m.Oo(u);this.g.Vi(n,k);m.Kz(this.qa,k,!1);x=m.ol(0);if(0<x)if(this.g.jr(t,m,0,!0),q){w=-1;for(z=this.g.U(n);-1!=z&&z!=n&&(u=this.uv(z,e),w=z,null!=u&&u.Bi(0));z=this.g.U(z));for(z=n;-1!=z&&(this.g.Dh(z,m.Bf),z!=w);z=this.g.U(z));}else this.g.Dh(n,m.Bf);m.clear()}}else continue;if(0!=y+x){if(0!=y){p=this.g.bc(n);if(null==p){if(!this.g.ed(n,d))continue;p=d;d.A(f)}else p.A(f);if(p.Bi(this.qa))break}b=!0}}}return b};c.prototype.oP=function(){return this.QU()}; |
|
c.prototype.QU=function(){return(new g.RC).PX(this.g,this.qa)};c.prototype.lI=function(){var a=!1;null==this.Mc&&(this.Mc=new g.Yj);var b=new g.ia(0);b.Jb(this.g.fd+1);for(var d=this.g.Yq(),e=d.next();-1!=e;e=d.next())b.add(e);this.g.nx(b,b.size);b.add(-1);d=this.g.Gd();e=this.g.Gd();this.$d=new g.UC(this.g,this.qa,!this.cA);this.Mc.Vo(this.$d);var f=new g.ia(0),h=new g.ia(0),k=0;new g.h;var m=this.g.td;this.g.vb.mc();for(var n=this.g.vb.za[0].o,p,q,r=b.get(k++);-1!=r;){q=m.T(r,0);p=n[2*q];q=n[2* |
|
q+1];var t=p,u=q;do{var w=m.T(r,2),y=m.T(r,1);if(-1!=w){var x=m.T(w,0),z=n[2*x];x=n[2*x+1];0>(u<x?-1:u>x?1:t<z?-1:t>z?1:0)&&(h.add(r),h.add(w))}-1!=y&&(x=m.T(y,0),z=n[2*x],x=n[2*x+1],0>(u<x?-1:u>x?1:t<z?-1:t>z?1:0)&&(h.add(y),h.add(y)));z=this.g.Pa(r,d);-1!=z&&(f.add(z),this.g.Ra(r,d,-1));z=this.g.Pa(r,e);-1!=z&&(f.add(z),this.g.Ra(r,e,-1));r=b.get(k++);-1!==r&&(u=m.T(r,0),t=n[2*u],u=n[2*u+1])}while(-1!=r&&t===p&&u===q);t=1==f.size&&2==h.size;z=u=-1;w=0;for(y=f.size;w<y;w++){x=f.get(w);var A=this.Mc.we(x); |
|
-1==A||f.hG(A)||(u=A);x=this.Mc.lb(x);-1==x||f.hG(x)||(z=x);if(-1!=u&&-1!=z)break}this.$d.$J(q,p);w=0;for(y=f.size;w<y;w++)x=f.get(w),this.Mc.vd(x,-1);f.clear(!1);if(!t&&-1!=u&&-1!=z&&this.qO(u,z)){a=!0;this.Ni=this.$d.rm();break}w=0;for(y=h.size;w<y;w+=2){q=h.get(w);p=h.get(w+1);t?(q=this.Mc.zu(u,z,q,!0),t=!1):q=this.Mc.addElement(q,-1);if(this.$d.rg){this.Ni=this.$d.rm();a=!0;break}-1==this.g.Pa(p,d)?this.g.Ra(p,d,q):this.g.Ra(p,e,q)}if(a)break;h.Bh(0)}this.g.Td(d);this.g.Td(e);return a};c.prototype.qO= |
|
function(a,b){this.$d.compare(this.Mc,this.Mc.ja(a),b);a=this.$d.rg;this.$d.Kr();return a};c.yE=function(a){for(var b=a.ld;-1!=b;b=a.ue(b))if(g.aa.Hc(a.ic(b)))return!0;return!1};c.fQ=function(a,b,d,e){if(!c.yE(a))return!1;b=new c(e);b.g=a;b.qa=d;if(15>a.fd)a=b.nP();else return b.oP();return a};c.V=function(a,b,d){return c.fQ(a,a.IF(),b,d)};c.kI=function(a,b,d,e,f){if(!c.yE(b))return!1;var h=new c(f);h.g=b;h.qa=d;h.cA=a;if(h.lI())return null!=e&&e.Wt(h.Ni),!0;var k=new g.Dd;k.$B();b.Oc(k);h=new c(f); |
|
h.g=b;h.qa=d;h.cA=a;a=h.lI();k.$B();b.Oc(k);return a?(null!=e&&e.Wt(h.Ni),!0):!1};c.Ml=function(a,b){a=a.I();return 16>a?!1:2*a+Math.log(a)*Math.LOG10E/Math.log(2)*b<1*a*b};c.lP=function(a,b,d,e){var f=b.getType();if(g.aa.Hc(f))return(new c(e)).mP(a,b,d);throw g.i.fa("crack_A_with_B");};c.prototype.mP=function(a,b,d){var e=new g.l;a.xc(e);var f=new g.l;b.xc(f);f.W(d,d);if(!f.isIntersecting(e))return a;var h=a.Bb,k=null;null!=h&&(k=h.Fb);c.Ml(a,a.I())&&(k=g.ta.jj(a,f));var m=null!=k?k.getIterator(): |
|
null,n=b.Ga();b=a.Ga();var p=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(f=[];n.$a();)for(;n.Ha();){var q=n.ha();if(null!=k)for(m.Uo(q,d),h=m.next();-1!=h;h=m.next()){if(this.Xq(),b.Vb(k.ja(h),-1),b.Ha()){h=b.ha();var r=h.Ea(q,null,p,null,d);for(h=0;h<r;++h){var t=p[h];if(0!=t&&1!=t){var u=b.wb(),w=new l;w.t=t;w.index=u;f.push(w)}}}}else{var y=new g.l;q.xc(y);y.W(d,d);if(e.isIntersecting(y))for(b.Zi();b.$a();)for(;b.Ha();)if(this.Xq(),h=b.ha(),t=new g.l,h.xc(t),t.isIntersecting(y))for(r=h.Ea(q,null,p,null, |
|
d),h=0;h<r;++h)t=p[h],0!=t&&1!=t&&(u=b.wb(),w=new l,w.t=t,w.index=u,f.push(w))}}if(0==f.length)return a;f=f.sort(l.Ey);a=a.Ia();for(b.Zi();b.$a()&&!b.Ha(););d=b.ha();e=new g.ig;k=-1;h=0;for(m=f.length;h<m;){p=f[h].index;for(n=h+1;n<m&&f[n].index==p;)++n;for(;b.wb()<p;){this.Xq();q=b.Ha();t=b.gb;(y=q||!b.On()||b.Pn())&&a.oc(d,k!=t);k=t;if(!q)for(;b.$a()&&!b.Ha(););d=b.ha()}for(p=0;h<n;h++)t=f[h].t,t!=p&&(d.ah(p,t,e),p=t,t=b.gb,a.oc(e.get(),k!=t),k=t);if(y=(q=b.Ha())||!b.On()||b.Pn())d.ah(p,1,e),a.oc(e.get(), |
|
!1);if(q)d=b.ha();else{for(;b.$a()&&!b.Ha(););d=b.Ha()?b.ha():null}h=n}null!=d&&(t=b.gb,(y=(q=b.Ha())||!b.On()||b.Pn())&&a.oc(d,k!=t),k=t);for(q=b.Ha();;){if(!q){for(;b.$a()&&!(q=b.Ha()););if(!q)break}d=b.ha();t=b.gb;(y=(q=b.Ha())||!b.On()||b.Pn())&&a.oc(d,k!=t);k=t}return a};return c}();g.$t=v;var l=function(){function c(){}c.Ey=function(a,b){return a.index==b.index?a.t>b.t?1:a.t<b.t?-1:0:a.index>b.index?1:-1};return c}()})(D||={});(function(g){(function(a){a[a.Left=0]="Left";a[a.Right=1]="Right"; |
|
a[a.Coincident=2]="Coincident";a[a.Undefined=3]="Undefined";a[a.Uncut=4]="Uncut"})(g.KK||(g.KK={}));var v=function(){return function(a,b,d,e,f,h,k,m,n,p,q){this.X=a;this.bt=b;this.Ns=d;this.tg=e;this.Lm=p;this.Al=q}}();g.uY=v;var l=function(){function a(b,d){this.JH=b;this.Hi=d}a.prototype.qM=function(b,d){var e=new g.h;this.Hi.D(b,e);var f=new g.h;this.Hi.D(d,f);e=e.compare(f);if(0!=e)return e;b=this.Hi.Pa(b,this.JH);d=this.Hi.Pa(d,this.JH);return b<d?-1:b==d?0:1};return a}(),c=function(){return function(a, |
|
b,d,e,f,h,k,m,n){this.tg=a;this.Ns=b;this.OA=d;this.UH=e;this.Ei=f;this.Al=h;this.Lm=k;this.VH=m;this.OT=n}}();g.tY=c;g.LK=function(){function a(){}a.JK=function(b,d,e,f,h,k){if(d.B())b=new v(d,4,-1,-1,NaN,4,-1,-1,NaN,-1,-1,NaN,-1,-1,NaN),h.push(b);else if(e.B())b=new v(d,4,-1,-1,NaN,4,-1,-1,NaN,-1,-1,NaN,-1,-1,NaN),h.push(b);else{var m=new g.gd;m.Ib(d);m.Ib(e);g.Tk.V(m,f,k,!0);if(0==m.fd)b=new v(d.Ia(),4,-1,-1,NaN,4,-1,-1,NaN,-1,-1,NaN,-1,-1,NaN),h.push(b);else{d=0;e=m.Gd();for(f=m.ld;-1!=f;f=m.ue(f))for(k= |
|
m.Ob(f);-1!=k;k=m.Rb(k))for(var n=m.Xa(k),p=0,q=m.Ja(k);p<q;n=m.U(n),p++)m.Ra(n,e,d++);d=a.HM(e,m);a.cM(b,d,m,h)}}};a.HM=function(b,d){for(var e=d.fd,f=new g.ia(0),h=d.ld;-1!=h;h=d.ue(h))for(var k=d.Ob(h);-1!=k;k=d.Rb(k))for(var m=d.Xa(k),n=0,p=d.Ja(k);n<p;m=d.U(m),n++)f.add(m);var q=new l(b,d);f.Vd(0,e,function(H,G){return q.qM(H,G)});b=[];var r=[],t=d.Gd(),u=d.Gd();h=d.ld;k=d.ue(h);p=new g.h;var w=new g.h,y=f.get(0),x=d.bd(y),z=d.Qf(x);d.D(y,p);var A=1;for(m=0;A<e-1;){var B=!1;for(n=A;n<e;n++)if(n!= |
|
m){var C=f.get(n),E=d.bd(C),F=d.Qf(E);d.D(C,w);if(p.qb(w))z==h&&F==k&&(B=a.uM(t,u,d,b,r,x,y,E,C));else break}if(B||m==A-1){B&&m==A-1&&A--;if(++m==e)break;y=f.get(m);x=d.bd(y);z=d.Qf(x);d.D(y,p)}B||(A=m+1)}e=[];for(h=d.ld;-1!=h;h=d.ue(h))for(k=d.Ob(h);-1!=k;k=d.Rb(k))for(f=d.Xa(k),n=0,p=d.Ja(k);n<p;f=d.U(f),n++){m=d.Pa(f,u);if(0<=m)for(;m<r.length&&r[m].tg==f;)e.push(r[m++]);m=d.Pa(f,t);if(0<=m)for(;m<b.length&&b[m].tg==f;)e.push(b[m++])}d.Td(t);d.Td(u);return e};a.uM=function(b,d,e,f,h,k,m,n,p){var q= |
|
e.rj(k),r=e.rj(n),t=e.Xa(k),u=e.Xa(n),w=e.Ma(m),y=e.Ma(p),x=!1,z=!1,A=!1,B=!1;m!=t&&(p!=u&&(x=a.vM(b,e,f,k,w,n,y)),p!=r&&(z=a.wM(b,e,f,k,w,n,p)));m!=q&&(p!=u&&(A=a.xM(d,e,h,k,m,n,y,t)),p!=r&&(B=a.yM(d,e,h,k,m,n,p,t)));x&&z&&A?(b=f.length-1,2==h[B?h.length-2:h.length-1].Ei&&(f[b-1]=f[b],--f.length)):x&&z&&B&&2==h[h.length-1].Ei&&(h=f[f.length-1],--f.length,e.Pa(h.tg,b)==f.length&&e.Ra(h.tg,b,-1));return x||z||A||B};a.vM=function(b,d,e,f,h,k,m){var n=new g.yb,p=new g.yb,q=[0,0],r=[0,0],t=d.bc(h);null== |
|
t&&(d.ed(h,n),t=n);n=d.bc(m);null==n&&(d.ed(m,p),n=p);t=t.Ea(n,null,q,r,0);2>t&&(f=new c(h,f,q[0],NaN,t,m,k,r[0],NaN),e.push(f),f=d.Pa(h,b),0>f&&d.Ra(h,b,e.length-1));return!0};a.wM=function(b,d,e,f,h,k,m){var n=new g.yb,p=new g.yb,q=[0,0],r=[0,0],t=d.bc(h);null==t&&(d.ed(h,n),t=n);n=d.bc(m);null==n&&(d.ed(m,p),n=p);t=t.Ea(n,null,q,r,0);return 2>t?(f=new c(h,f,q[0],NaN,t,m,k,r[0],NaN),e.push(f),f=d.Pa(h,b),0>f&&d.Ra(h,b,e.length-1),!0):!1};a.xM=function(b,d,e,f,h,k,m,n){var p=new g.yb,q=new g.yb, |
|
r=[0,0],t=[0,0],u=d.bc(h);null==u&&(d.ed(h,p),u=p);p=d.bc(m);null==p&&(d.ed(m,q),p=q);u=u.Ea(p,null,r,t,0);if(2==u)return f=new c(h,f,r[0],r[1],u,m,k,t[0],t[1]),e.push(f),f=d.Pa(h,b),0>f&&d.Ra(h,b,e.length-1),!0;q=!1;h==n&&(f=new c(h,f,r[0],NaN,u,m,k,t[0],NaN),e.push(f),f=d.Pa(h,b),0>f&&d.Ra(h,b,e.length-1),q=!0);return q};a.yM=function(b,d,e,f,h,k,m,n){var p=new g.yb,q=new g.yb,r=[0,0],t=[0,0],u=d.bc(h);null==u&&(d.ed(h,p),u=p);p=d.bc(m);null==p&&(d.ed(m,q),p=q);u=u.Ea(p,null,r,t,0);if(2==u)return f= |
|
new c(h,f,r[0],r[1],u,m,k,t[0],t[1]),e.push(f),f=d.Pa(h,b),0>f&&d.Ra(h,b,e.length-1),!0;q=!1;h==n&&(f=new c(h,f,r[0],NaN,u,m,k,t[0],NaN),e.push(f),f=d.Pa(h,b),0>f&&d.Ra(h,b,e.length-1),q=!0);return q};a.cM=function(b,d,e,f){var h=[];h[0]=new g.h;h[1]=new g.h;h[2]=new g.h;h[3]=new g.h;var k=new g.h,m=new g.h,n=new g.h,p=new g.h,q=null;null!=f&&(q=new g.ig,q.Or());var r=0,t=null,u=new g.yb;new g.yb;for(var w=e.Ob(e.ld);-1!=w;w=e.Rb(w)){for(var y=4,x=-1,z=-1,A=-1,B=-1,C=NaN,E=!0,F=!1,H=!0,G=!0,J=!0, |
|
I=0,L=w,M=0,Q=e.Xa(w),U=e.Ja(w),ba=0;ba<U;Q=e.U(Q),ba++){var Y=e.bc(Q);if(null==Y){if(!e.ed(Q,u))continue;Y=u}-1==z&&(z=Q);for(var P=0;r<d.length&&Q==d[r].tg;){x=d[r].Ns;var S=d[r].tg,O=d[r].OA,Z=d[r].Lm,X=d[r].Al,ea=d[r].VH;if(2==d[r].Ei){if(F||(L=x,z=S,M=O,A=Z,B=X,C=ea,y=2,null!=f?t=new g.Ta:I=0,J=!1,G=!0),O=d[r].UH,ea=d[r].OT,null!=f?(Y.ah(P,d[r].UH,q),t.oc(q.get(),G)):I++,P=O,F=!0,G=E=!1,r+1==d.length||2!=d[r+1].Ei||d[r+1].tg==S&&d[r+1].OA!=P){if(null!=f){var T=new v(t,2,x,S,O,y,L,z,M,Z,X,ea, |
|
A,B,C);f.push(T)}else null.add(I);L=x;z=S;M=O;A=Z;B=X;C=ea;y=2;F=E=!1;G=J=!0}}else{var ca=e.U(S);if(r<d.length-1&&d[r+1].tg==ca&&d[r+1].Al==X&&2==d[r+1].Ei)O!=P&&(J&&(null!=f?t=new g.Ta:I=0),E=0<r&&d[r-1].Ns==x?1==y?0:0==y?1:3:3,null!=f?(Y.ah(P,O,q),t.oc(q.get(),G),T=new v(t,E,x,S,O,y,L,z,M,Z,X,ea,A,B,C),f.push(T)):(I++,null.add(I)),P=O,L=x,z=S,M=O,A=Z,B=X,C=ea,y=E,E=H=!1,G=J=!0);else if(!a.CM(b,e,d,r,k,m)){a.zM(e,d,r,w,Q,n,p);var V=!1;ca=!1;T=!0;if(!(k.qb(n)||m.qb(n)||k.qb(p)||m.qb(p))){h[0].L(k); |
|
h[1].L(m);h[2].L(n);h[3].L(p);h.sort(g.h.nu);var pa=h[0],ua=h[1],va=h[2],xa=h[3];pa.qb(k)?ua.qb(m)?b?(ca=V=!0,T=!1):V=!1:xa.qb(m)?b?T=ca=V=!0:V=!1:(V=!0,T=ua.qb(n)):ua.qb(k)?va.qb(m)?b?(ca=V=!0,T=!1):V=!1:pa.qb(m)?b?T=ca=V=!0:V=!1:(V=!0,T=va.qb(n)):va.qb(k)?xa.qb(m)?b?(ca=V=!0,T=!1):V=!1:ua.qb(m)?b?T=ca=V=!0:V=!1:(V=!0,T=xa.qb(n)):pa.qb(m)?b?(ca=V=!0,T=!1):V=!1:va.qb(m)?b?T=ca=V=!0:V=!1:(V=!0,T=pa.qb(n))}if(V){V=Q==S;if(O!=P||V&&0==P)J&&(null!=f?t=new g.Ta:I=0),null!=f?(Y.ah(P,O,q),t.oc(q.get(),G)): |
|
I++;if(T)if(1!=y){if(O!=P||V&&0==P)null!=f?(T=new v(t,1,x,S,O,y,L,z,M,Z,X,ea,A,B,C),f.push(T)):null.add(I);if(!ca)y=1;else if(r>=d.length-2||d[r+2].Ns!=x)y=0}else{if(O!=P||V&&0==P)null!=f?(T=new v(t,3,x,S,O,y,L,z,M,Z,X,ea,A,B,C),f.push(T)):null.add(I);y=1}else if(0!=y){if(O!=P||V&&0==P)null!=f?(T=new v(t,0,x,S,O,y,L,z,M,Z,X,ea,A,B,C),f.push(T)):null.add(I);if(!ca)y=0;else if(r>=d.length-2||d[r+2].Ns!=x)y=1}else{if(O!=P||V&&0==P)null!=f?(T=new v(t,3,x,S,O,y,L,z,M,Z,X,ea,A,B,C),f.push(T)):null.add(I); |
|
y=0}if(O!=P||V&&0==P)P=O,L=x,z=S,M=O,A=Z,B=X,C=ea,E=H=!1,G=J=!0}}}r++}1!=P&&(J&&(null!=f?t=new g.Ta:I=0),null!=f?(Y.ah(P,1,q),t.oc(q.get(),G)):I++,G=J=!1,H=!0)}H&&(O=1,S=e.rj(w),S=e.Ma(S),X=Z=-1,ea=NaN,E?null!=f?(T=new v(t,4,x,S,O,y,L,z,M,Z,X,ea,A,B,C),f.push(T)):null.add(I):(E=1==y?0:0==y?1:3,null!=f?(T=new v(t,E,x,S,O,y,L,z,M,Z,X,ea,A,B,C),f.push(T)):null.add(I)))}};a.CM=function(b,d,e,f,h,k){var m=e[f].VH;if(1==m)return a.AM(b,d,e,f,h,k);if(0==m)return a.BM(b,d,e,f,h,k);throw g.i.Qa();};a.AM=function(b, |
|
d,e,f,h,k){var m=new g.yb,n=e[f].tg,p=e[f].Lm,q=e[f].Al,r=-1,t=-1,u=-1,w=-1;if(!b&&0<f){var y=e[f-1];r=y.tg;t=y.Lm;u=y.Al;w=y.Ei}var x=-1,z=-1,A=-1,B=-1;f<e.length-1&&(y=e[f+1],x=y.tg,z=y.Lm,A=y.Al,B=y.Ei);var C=d.U(n);y=d.U(q);if(!b)return 0<f&&r==n&&t==p&&u==y&&2==w||f<e.length-1&&x==C&&z==p&&A==y&&2==B?(b=d.bc(q),null==b&&(d.ed(q,m),b=m),k.L(b.kg()),h.mt(k),k.normalize(),h.normalize(),!1):f<e.length-1&&x==n&&z==p&&A==y?(b=d.bc(q),null==b&&(d.ed(q,m),b=m),h.L(b.kg()),b=d.bc(y),null==b&&(d.ed(y, |
|
m),b=m),k.L(b.kg()),h.Sq(),k.normalize(),h.normalize(),!1):!0;if(f==e.length-1||x!=n||z!=p||A!=y||2==B)return b=d.bc(q),null==b&&(d.ed(q,m),b=m),k.L(b.kg()),h.mt(k),k.normalize(),h.normalize(),!1;b=d.bc(q);null==b&&(d.ed(q,m),b=m);h.L(b.kg());b=d.bc(y);null==b&&(d.ed(y,m),b=m);k.L(b.kg());h.Sq();k.normalize();h.normalize();return!1};a.BM=function(b,d,e,f,h,k){var m=new g.yb,n=e[f].tg,p=e[f].Lm,q=e[f].Al,r=-1,t=-1,u=-1,w=-1;if(!b&&f<e.length-1){var y=e[f+1];r=y.tg;t=y.Lm;u=y.Al;w=y.Ei}var x=-1,z=-1, |
|
A=-1;y=-1;0<f&&(y=e[f-1],x=y.tg,z=y.Lm,A=y.Al,y=y.Ei);var B=d.U(n),C=d.Ma(q);return b?0==f||x!=n||z!=p||A!=C||2==y?(b=d.bc(q),null==b&&(d.ed(q,m),b=m),k.L(b.kg()),h.mt(k),k.normalize(),h.normalize(),!1):!0:0<f&&x==n&&z==p&&A==C&&2==y||f<e.length-1&&r==B&&t==p&&u==C&&2==w?(b=d.bc(q),null==b&&(d.ed(q,m),b=m),k.L(b.kg()),h.mt(k),k.normalize(),h.normalize(),!1):!0};a.zM=function(b,d,e,f,h,k,m){var n=new g.yb,p=b.bc(h);null==p&&(b.ed(h,n),p=n);e=d[e];d=e.tg;e=e.OA;h=b.U(d);if(1==e)k.L(p.kg()),-1!=h&&h!= |
|
b.rj(f)?(p=b.bc(h),null==p&&(b.ed(h,n),p=n),m.L(p.kg()),p=b.bc(d),null==p&&b.ed(d,n)):m.L(k),k.Sq(),m.normalize(),k.normalize();else if(0==e)m.L(p.kg()),k.mt(m),m.normalize(),k.normalize();else throw g.i.Qa();};return a}()})(D||={});(function(g){(function(f){f[f.Linear=0]="Linear";f[f.Angular=1]="Angular";f[f.Area=2]="Area"})(g.bM||(g.bM={}));var v=function(){function f(h,k,m){this.od=k;this.ai=m;this.vA=h}f.prototype.Nb=function(h){return h instanceof f?this.ai===h.ai:!1};f.aG=function(h){return 0!== |
|
h.od?null:-1===h.vA?new f(-1,2,h.ai*h.ai):f.Zg(d[h.vA])};f.Zg=function(h){h=b[h];return void 0===h?null:h};f.ZO=function(h,k,m){var n=null;if(void 0!==m&&null!==m)try{"EPSG"===m.values[0]&&(n=f.Zg(parseInt(m.values[1])))}catch(p){}null===n&&(n=new f(-1,h,k));return n};f.prototype.Ec=function(){return this.vA};f.prototype.CF=function(h){if(h.od!=this.od)throw g.i.Hb();return this.ai/h.ai};f.Nh=function(h,k,m){return k.CF(m)*h};f.XE=function(h,k,m,n,p){m=m.CF(n);for(n=0;n<k;n++)p[n]=h[n]*m};return f}(); |
|
g.Tc=v;for(var l=[109401,1E4,109402,4046.8564224,109403,4046.87260987425,109404,1,109405,.09290304,109406,.09290341161327487,109407,.09290137299531805,109408,3.34450944,109409,3429904,109410,1.000027193184865,109411,404.6872609874253,109412,.04046872609874253,109413,2589998.4703195216,109414,1E6,109415,.8361123569578626,109416,404.67838076760535,109417,.04046783807676053,109418,.8361244606523066,109419,.09290271785025629,109420,404.68423895571647,109421,.04046842389557164,109422,.83612589696064,109423, |
|
.0929028774400711,109424,404.6849341289498,109425,.04046849341289498,109426,.836125904805842,109427,.09290287831176021,109428,404.68493792602754,109429,.04046849379260275,109430,.09290354800069446,109431,.09290274144751023,109432,.09290207073852812,109433,.09290279616016,109434,.09290273520025,109435,.836124673027592,109436,.836118636646753,109437,.8361251654414399,109438,.83612461680225,109439,2589988.110336,109440,.09290286332673177,109441,.09290349665192114,109442,.83612736,109443,.8361307045194736, |
|
109444,404.68564224000005,109445,.04046856422400001,109446,.8361237024040001,109447,.0929026336004445,109448,404.683871963536,109449,.0404683871963536,109450,.01,109451,1E-4,109452,1E-6,109453,6.4516E-4,109454,6.451625806477421E-4,109455,25.292852640000003,109456,25.29295381171408,109457,3434528.1495040003,109458,3434290.937856,109459,2.89612324,109460,25E8,109461,225E8,109462,.7168473118308245,109463,100,109464,1.244521604938272E-7,109465,1E-12,109466,1E-18],c=[1031,4.84813681109536E-9,9101,1,9102, |
|
.0174532925199433,9103,2.908882086657216E-4,9104,4.84813681109536E-6,9105,.01570796326794897,9106,.01570796326794897,9109,1E-6,9112,1.570796326794897E-4,9113,1.570796326794897E-6,9114,9.817477042468104E-4],a=[1025,.001,109452,1033,.01,109451,9001,1,109404,9002,.3048,109405,9003,.3048006096012192,109406,9005,.3047972654,109407,9014,1.8288,109408,9030,1852,109409,9031,1.0000135965,109410,9033,20.11684023368047,109411,9034,.2011684023368047,109412,9035,1609.3472186944375,109413,9036,1E3,109414,9037, |
|
.9143917962000001,109415,9038,20.1166195164,109416,9039,.201166195164,109417,9040,.9143984146160287,109418,9041,.304799471538676,109419,9042,20.116765121552632,109420,9043,.2011676512155263,109421,9050,.9143992,109422,9051,.3047997333333333,109423,9052,20.1167824,109424,9053,.201167824,109425,9060,.9143992042898124,109426,9061,.3047997347632708,109427,9062,20.116782494375872,109428,9063,.2011678249437587,109429,9070,.3048008333333334,109430,9080,.3047995102481469,109431,9081,.30479841,109432,9082, |
|
.3047996,109433,9083,.3047995,109434,9084,.9143985307444408,109435,9085,.91439523,109436,9086,.9143988,109437,9087,.9143985,109438,9093,1609.344,109439,9094,.3047997101815088,109440,9095,.3048007491,109441,9096,.9144,109442,9097,20.1168,109444,9098,.201168,109445,9099,.914398,109446,9300,.3047993333333334,109447,9301,20.116756,109448,9302,.20116756,109449,109001,.9144,109442,109002,.9144018288036576,109443,109003,20.1168,109444,109004,.201168,109445,109005,.1,109450,109006,.01,109451,109007,.001, |
|
109452,109008,.0254,109453,109009,.0254000508001016,109454,109010,5.0292,109455,109011,5.029210058420118,109456,109012,1853.248,109457,109013,1853.184,109458,109014,1.7018,109459,109015,.8466683600033867,109462,109016,3.527777777777778E-4,109464,109017,1E-6,109465,109018,1E-9,109466,109030,5E4,109460,109031,15E4,109461],b=[],d=[],e=0;e<l.length;e+=2)b[l[e]]=new v(l[e],2,l[e+1]);l=null;for(e=0;e<c.length;e+=2)b[c[e]]=new v(c[e],1,c[e+1]);c=null;for(e=0;e<a.length;e+=3)b[a[e]]=new v(a[e],0,a[e+1]), |
|
d[a[e]]=a[e+2];a=null})(D||={});(function(g){var v=function(){function l(){this.xb=this.pb=0}l.prototype.set=function(c,a){void 0!==a?(this.pb=c,this.xb=a):"number"===typeof c?(this.pb=c,this.xb=0):(this.pb=c.pb,this.xb=c.xb)};l.prototype.value=function(){return this.pb};l.prototype.add=function(c){var a=this.pb+c.pb;c=this.xb+c.xb+2.220446049250313E-16*Math.abs(a);this.pb=a;this.xb=c};l.prototype.kN=function(){var c=this.pb+1,a=this.xb+2.220446049250313E-16*Math.abs(c);this.pb=c;this.xb=a};l.prototype.dN= |
|
function(c,a){this.pb=c.pb+a.pb;this.xb=c.xb+a.xb+2.220446049250313E-16*Math.abs(this.pb)};l.prototype.sub=function(c){if("number"===typeof c){var a=this.pb-c;c=this.xb+2.220446049250313E-16*Math.abs(a)}else a=this.pb-c.pb,c=this.xb+c.xb+2.220446049250313E-16*Math.abs(a);this.pb=a;this.xb=c};l.prototype.Ag=function(c){var a=this.pb*c.pb;this.xb=this.xb*Math.abs(c.pb)+c.xb*Math.abs(this.pb)+this.xb*c.xb+2.220446049250313E-16*Math.abs(a);this.pb=a};l.prototype.No=function(c){var a=this.pb*c;this.xb= |
|
this.xb*Math.abs(c)+2.220446049250313E-16*Math.abs(a);this.pb=a};l.prototype.Kl=function(c,a){var b=Math.abs(c.pb)*Math.abs(a.pb);this.xb=c.xb*Math.abs(a.pb)+a.xb*Math.abs(c.pb)+c.xb*a.xb+2.220446049250313E-16*Math.abs(b);this.pb=b};l.prototype.jm=function(c){var a=Math.abs(c.pb),b=this.pb/c.pb,d=(this.xb+Math.abs(b)*c.xb)/a;c.xb>.01*a&&(c=c.xb/a,d*=1+(1+c)*c);this.pb=b;this.xb=d+2.220446049250313E-16*Math.abs(b)};l.prototype.sqrt=function(){if(0<=this.pb){var c=Math.sqrt(this.pb),a=this.pb>10*this.xb? |
|
.5*this.xb/c:this.pb>this.xb?c-Math.sqrt(this.pb-this.xb):Math.max(c,Math.sqrt(this.pb+this.xb)-c);a+=2.220446049250313E-16*Math.abs(c)}else this.pb<-1*this.xb?a=c=NaN:(c=0,a=Math.sqrt(this.xb));this.pb=c;this.xb=a};l.prototype.sin=function(c){var a=Math.sin(c.pb),b=Math.cos(c.pb);this.pb=a;a=Math.abs(a);this.xb=(Math.abs(b)+.5*a*c.xb)*c.xb+2.220446049250313E-16*a};l.prototype.cos=function(c){var a=Math.sin(c.pb),b=Math.cos(c.pb);this.pb=b;b=Math.abs(b);this.xb=(Math.abs(a)+.5*b*c.xb)*c.xb+2.220446049250313E-16* |
|
b};l.prototype.qg=function(){return Math.abs(this.pb)<=this.xb};l.prototype.ps=function(){return this.qg()&&0!=this.xb};return l}();g.Wb=v})(D||={});var aa=new D.h,ia=new D.h,ka=new D.h,la=new D.h,oa=new D.h;(function(g){(function(c){c[c.closedPath=1]="closedPath";c[c.exteriorPath=2]="exteriorPath";c[c.ringAreaValid=4]="ringAreaValid"})(l||={});var v=function(){function c(a,b,d,e,f,h,k){void 0!==b?(this.ib=a,this.ck=b,this.bl=d,this.ii=e,this.ya=h,this.hA=k,this.ew=f):(this.ib=a.ib,this.ck=a.ck,this.bl= |
|
a.bl,this.ii=a.ii,this.ya=a.ya,this.hA=a.hA,this.ew=a.ew);this.bH=!0}c.prototype.next=function(){return this.bH?(this.bH=!1,this.ii):-1!=this.ii?(this.ii=this.ib.U(this.ii),this.ya++,-1!=this.ii&&this.ii!=this.ew?this.ii:this.$T()):-1};c.prototype.$T=function(){this.bl=this.ib.Rb(this.bl);for(this.ya=0;-1!=this.ck;){for(;-1!=this.bl;this.bl=this.ib.Rb(this.bl))if(this.ew=this.ii=this.ib.Xa(this.bl),-1!=this.ii)return this.ii;this.ck=this.ib.ue(this.ck);if(-1==this.ck)break;if(!this.hA||g.aa.Hc(this.ib.ic(this.ck)))this.bl= |
|
this.ib.Ob(this.ck)}return-1};c.AP=function(a,b,d,e,f,h,k){return new c(a,b,d,e,f,h,k)};return c}();g.zY=v;var l=function(){function c(){this.jo=this.Am=this.wk=this.cd=this.Ck=this.vo=this.Oi=this.md=this.bi=this.Sg=this.We=this.Il=null;this.qw=this.ld=-1;this.fd=0;this.fA=!1;this.ht=this.it=this.vb=null}c.prototype.Sh=function(a){return null!=this.We?this.We[a]:null};c.prototype.Xg=function(a,b){if(null==this.We){if(null==b)return;this.We=[];for(var d=0,e=this.vb.I();d<e;d++)this.We.push(null)}this.We[a]= |
|
b};c.prototype.bp=function(a,b){this.md.S(a,1,b)};c.prototype.ap=function(a,b){this.md.S(a,2,b)};c.prototype.VB=function(a,b){this.md.S(a,6,b)};c.prototype.Sp=function(a){return this.md.T(a,6)};c.prototype.gx=function(a,b){this.md.S(a,7,b)};c.prototype.qv=function(a){return this.md.T(a,0)};c.prototype.OJ=function(a,b){this.cd.S(a,1,b)};c.prototype.SJ=function(a,b){this.cd.S(a,0,b)};c.prototype.JF=function(a){return this.cd.T(a,7)};c.prototype.Zo=function(a,b){this.cd.S(a,3,b)};c.prototype.$o=function(a, |
|
b){this.cd.S(a,4,b)};c.prototype.uU=function(a){null==this.cd&&(this.cd=new g.$c(8));var b=this.cd.Ce();this.cd.S(b,2,a);this.cd.S(b,5,0);this.cd.S(b,6,0);this.cd.S(b,7,b);return b};c.prototype.OQ=function(a){this.cd.jd(a)};c.prototype.wU=function(a){null==this.md&&(this.md=new g.$c(8),this.td=new g.$c(5),this.Oi=new g.be(0),this.vo=new g.be(0));var b=this.md.Ce();this.md.S(b,0,b);this.md.S(b,3,0);this.md.S(b,6,0);this.gx(b,a);b>=this.Oi.size&&(a=16>b?16:g.O.truncate(3*b/2),this.Oi.resize(a),this.vo.resize(a)); |
|
this.Oi.set(b,0);this.vo.set(b,0);return b};c.prototype.sF=function(a){this.md.jd(a)};c.prototype.Vy=function(a){this.td.jd(a);this.fd--};c.prototype.oI=function(a){null==this.md&&(this.md=new g.$c(8),this.td=new g.$c(5),this.Oi=new g.be(0),this.vo=new g.be(0));var b=this.td.Ce(),d=0<=a?a:b;this.td.S(b,0,d);if(0>a){if(d>=this.vb.I()){a=16>d?16:g.O.truncate(3*d/2);this.vb.resize(a);if(null!=this.We)for(var e=0;e<a;e++)this.We.push(null);null!=this.Sg&&this.Sg.resize(a);this.it=this.vb.ub(0)}this.vb.Cb(d, |
|
-1E38,-1E38);null!=this.We&&(this.We[d]=null);null!=this.Sg&&this.Sg.write(d,1)}this.td.S(b,4,2*d);this.fd++;return b};c.prototype.wj=function(a,b,d){var e=-1!=b?this.Ma(b):this.rj(a),f=-1!=e?this.U(e):-1,h=this.oI(null==d?this.fd:-1),k=this.Ua(h);null!=d&&this.vb.Ht(k,d);this.aj(h,a);this.Bc(h,f);this.Cc(h,e);-1!=f&&this.Cc(f,h);-1!=e&&this.Bc(e,h);d=this.dc(a);e=this.Xa(a);-1==b&&this.Wg(a,h);b==e&&this.Jf(a,h);d&&-1==f&&(this.Bc(h,h),this.Cc(h,h));this.Vj(a,this.Ja(a)+1);a=this.Qf(a);this.Tj(a, |
|
this.I(a)+1);return h};c.prototype.nm=function(){null==this.jo&&(this.jo=new g.Sa(this.vb.description));return this.jo};c.prototype.Yo=function(a,b){this.cd.S(a,2,this.cd.T(a,2)&-134217729||(1==b?134217728:0))};c.prototype.In=function(a){return 0!=(this.cd.T(a,2)&134217728)?1:0};c.prototype.hN=function(a){var b=this.Ig(a.getType(),a.description);1736==a.getType()&&this.Yo(b,a.In());this.UD(b,a);return b};c.prototype.iN=function(a){var b=this.Ig(a.getType(),a.description);this.VD(b,a);return b};c.prototype.XV= |
|
function(a,b){null==this.md&&(this.md=new g.$c(8),this.td=new g.$c(5),this.Oi=new g.be(0),this.vo=new g.be(0));this.md.De(this.md.Hg+a);this.td.De(this.td.Hg+b);this.Oi.Jb(this.Oi.size+a);this.vo.Jb(this.vo.size+a)};c.prototype.UD=function(a,b){this.XV(b.da(),b.I());this.Il.Fd(b,0,b.I());this.it=this.vb.ub(0);for(var d=null!=this.We&&null!=b.Ve,e=0,f=b.da();e<f;e++)if(!(2>b.Ja(e))){var h=this.vf(a,-1);this.kn(h,b.dc(e));for(var k=b.Ba(e),m=b.Vc(e);k<m;k++){var n=this.wj(h,-1,null);if(d)if(n=this.Ua(n), |
|
0!=(b.ZF(k)&1))this.Xg(n,null);else{var p=new g.ig;b.bc(k,p,!0);this.Xg(n,p.get())}}}};c.prototype.VD=function(a,b){this.Il.Fd(b,0,b.I());this.it=this.vb.ub(0);a=this.vf(a,-1);var d=0;for(b=b.I();d<b;d++)this.wj(a,-1,null)};c.prototype.NX=function(a,b,d){var e=this.U(a);if(-1==e)throw g.i.Qa();for(var f=this.nm(),h=this.bd(a),k=0,m=b.ol(d);k<m;k++){var n=this.Ua(a),p=this.U(a),q=b.Vp(d,k);0==k&&(q.To(f),this.Dh(a,f));322==q.getType()?this.Xg(n,null):this.Xg(n,g.aa.jg(q));q.Po(f);k<m-1?a=this.wj(h, |
|
p,f):this.Dh(e,f)}};c.prototype.MX=function(a,b,d){var e=this.U(a);if(-1==e)throw g.i.Qa();for(var f=this.nm(),h=this.bd(a),k=0,m=b.ol(d);k<m;k++){var n=this.Ua(a),p=this.U(a),q=b.Vp(d,m-k-1);0==k&&(q.Po(f),this.Dh(a,f));322==q.getType()?this.Xg(n,null):this.Xg(n,g.aa.jg(q));q.To(f);k<m-1?a=this.wj(h,p,f):this.Dh(e,f)}};c.prototype.IF=function(){var a=new g.l;a.Oa();for(var b=this.Yq(),d=new g.h,e=!0,f=b.next();-1!=f;f=b.next())this.D(f,d),e?a.Zb(d.x,d.y):a.Lk(d.x,d.y),e=!1;return a};c.prototype.Ib= |
|
function(a){var b=a.getType();if(g.aa.Hc(b))return this.hN(a);if(550==b)return this.iN(a);throw g.i.Qa();};c.prototype.uN=function(a,b){var d=b.getType();if(g.aa.Hc(d))this.UD(a,b);else if(550==d)this.VD(a,b);else throw g.i.Qa();};c.prototype.mN=function(a,b){var d=this.Ig(1736,a.description);if(2>a.Ja(b))return d;this.Il.Fd(a,a.Ba(b),a.Vc(b));this.it=this.vb.ub(0);var e=this.vf(d,-1);this.kn(e,a.dc(b)||!0);var f=null!=this.We&&null!=a.Ve,h=a.Ba(b);for(b=a.Vc(b);h<b;h++){var k=this.wj(e,-1,null); |
|
if(f)if(k=this.Ua(k),0!=(a.ZF(h)&1))this.Xg(k,null);else{var m=new g.ig;a.bc(h,m,!0);this.Xg(k,m.get())}}return d};c.prototype.Ne=function(a){var b=this.ic(a),d=g.ZK.Ig(b,this.Il.description),e=this.I(a);if(0==e)return d;if(g.aa.Hc(b)){b=this.da(a);for(var f=g.Yc.Oh(b+1),h=g.Yc.Mr(b+1,0),k=d.description,m=0,n=k.Aa;m<n;m++){for(var p=k.kd(m),q=g.ra.Va(p),r=g.Yc.YE(p,e),t=this.vb.ub(p),u=0,w=0,y=0,x=this.Ob(a);-1!=x;x=this.Rb(x)){var z=0;this.dc(x)&&(z|=1);this.YS(x)&&(z|=4);0!=z&&h.zJ(w,z);var A=this.Ja(x); |
|
f.write(w++,y);y+=A;if(0==p){A=t;var B=r,C=new g.h;for(z=this.Xa(x);u<y;z=this.U(z),u++){var E=this.Ua(z);A.tc(2*E,C);B.Tt(2*u,C)}}else for(z=this.Xa(x);u<y;z=this.U(z),u++)for(E=this.Ua(z),B=0;B<q;B++)C=t.eg(E*q+B),r.pr(u*q+B,C)}d.hn(p,r);f.write(b,e)}d.PJ(h);d.QJ(f);d.Pc(16777215)}else if(550==b){k=d.description;d.resize(e);m=0;for(n=k.Aa;m<n;m++){p=k.kd(m);q=g.ra.Va(p);r=d.ub(p);t=this.vb.ub(p);u=0;x=this.Ob(a);A=this.Ja(x);for(z=this.Xa(x);u<A;z=this.U(z),u++)for(E=this.Ua(z),B=0;B<q;B++)C=t.eg(E* |
|
q+B),r.pr(u*q+B,C);d.hn(p,r)}d.Pc(16777215)}return d};c.prototype.BB=function(a){for(var b=this.Ob(a);-1!=b;b=this.Zq(b));b=this.PR(a);var d=this.ue(a);-1!=b?this.OJ(b,d):this.ld=d;-1!=d?this.SJ(d,b):this.qw=b;this.OQ(a)};c.prototype.Ig=function(a,b){return void 0===b?this.$E(a,g.ee.og()):this.$E(a,b)};c.prototype.$E=function(a,b){a=this.uU(a);null==this.vb?this.vb=this.Il=new g.de(b):this.Il.Jl(b);this.ht=this.Il.description;this.fA=1<this.ht.Aa;-1==this.ld?this.ld=a:(this.SJ(a,this.qw),this.OJ(this.qw, |
|
a));return this.qw=a};c.prototype.ue=function(a){return this.cd.T(a,1)};c.prototype.PR=function(a){return this.cd.T(a,0)};c.prototype.ic=function(a){return this.cd.T(a,2)&2147483647};c.prototype.HJ=function(a,b,d){b=this.wk[b];a=this.JF(a);a>=b.size&&b.resize(Math.max(g.O.truncate(1.25*a),16),-1);b.write(a,d)};c.prototype.KF=function(a,b){a=this.JF(a);b=this.wk[b];return a<b.size?b.read(a):-1};c.prototype.aF=function(){null==this.wk&&(this.wk=[]);for(var a=0;a<this.wk.length;a++)if(null==this.wk[a])return this.wk[a]= |
|
g.Yc.Oh(0),a;this.wk.push(g.Yc.Oh(0));return this.wk.length-1};c.prototype.xW=function(a){this.wk[a]=null};c.prototype.Ob=function(a){return this.cd.T(a,3)};c.prototype.kv=function(a){return this.cd.T(a,4)};c.prototype.I=function(a){return this.cd.T(a,5)};c.prototype.da=function(a){return this.cd.T(a,6)};c.prototype.Gp=function(a,b,d){for(var e=0,f=this.ld;-1!=f;f=this.ue(f)){var h=this.ic(f);if(g.aa.Hc(h)&&(!d||1736==h)){h=1736==this.ic(f);for(var k=this.Ob(f);-1!=k;){for(var m=0,n=this.Xa(k);m< |
|
g.O.truncate(this.Ja(k)/2);){var p=this.U(n);if(-1==p)break;var q=this.Ua(n),r=this.Sh(q);null!=r?q=r.Qb():(r=this.Ua(p),q=this.vb.yr(q,r));q<=a?(0==q?0==e&&(e=-1):e=1,p!=this.rj(k)&&(this.lC(p,n),this.pd(p,!0))):n=this.U(n);m++}m=this.Xa(k);for(n=this.dc(k)?m:this.rj(k);0<this.Ja(k);)if(p=this.Ma(n),-1!=p){var t=this.Ua(p);r=this.Sh(t);null!=r?q=r.Qb():(q=this.Ua(n),q=this.vb.yr(q,t));if(q<=a)0==q?0==e&&(e=-1):e=1,this.lC(p,n),this.pd(p,!1),m==p&&(m=this.Xa(k));else if(n=this.Ma(n),n==m)break}else{this.pd(n, |
|
!0);0==e&&(e=-1);break}n=this.Ja(k);b&&(h?3>n:2>n)?(k=this.Zq(k),e=0<n?1:0==e?-1:e):k=this.Rb(k)}}}return e};c.prototype.lC=function(a,b){var d=this.Ua(a),e=this.Ua(b);null!=this.Sg&&(d=this.Sg.read(d),this.Sg.write(e,d));if(null!=this.bi)for(e=0,d=this.bi.length;e<d;e++)if(null!=this.bi[e]){var f=this.Pa(a,e);-1!=f&&this.Ra(b,e,f)}};c.prototype.Ul=function(a,b,d){var e=0,f=this.U(a);if(-1==f)throw g.i.Qa();for(var h=this.Ua(a),k=this.Ua(f),m=this.Sh(h),n=null==m?this.vb.yr(h,k):m.Qb(),p=0;p<d;p++){var q= |
|
b[p];if(0<q&&1>q){var r=q;null!=m&&(r=0<n?m.Ux(q)/n:0);this.vb.kD(h,k,r,this.nm());var t=this.wj(this.bd(a),f,this.nm());e++;if(null!=m){var u=m.dl(0,q);r=this.Ua(this.Ma(t));this.Xg(r,u);this.mf(t,u.wc());if(p==d-1||1==b[p+1])q=m.dl(q,1),this.Xg(r,q)}}}return e};c.prototype.LX=function(a,b,d){var e=0,f=this.U(a);if(-1==f)throw g.i.fa("internal error");var h=this.Ua(a),k=this.Ua(f),m=this.Sh(h),n=null==m?this.vb.yr(h,k):m.Qb(),p=0;a=this.bd(a);for(var q=0;q<d;q++){var r=b[q];if(p<r&&1>r){var t=r; |
|
null!=m&&(t=0<n?m.Ux(r)/n:0);this.vb.kD(h,k,t,this.nm());t=this.yS(a,f,this.nm());e++;if(null!=m){p=m.dl(p,r);var u=this.Ua(this.Ma(t));this.Xg(u,p);this.Cb(t,p.pa,p.la);if(q==d-1||1==b[q+1])p=m.dl(r,1),t=this.Ua(t),this.Xg(t,p)}}p=r}return e};c.prototype.yS=function(a,b,d){var e=-1!=b?this.Ma(b):this.rj(a),f=-1!=e?this.U(e):-1,h=this.oI(null==d?this.fd:-1),k=this.Ua(h);null!=d&&this.vb.Ht(k,d);this.aj(h,a);this.Bc(h,f);this.Cc(h,e);-1!=f&&this.Cc(f,h);-1!=e&&this.Bc(e,h);d=this.dc(a);e=this.Xa(a); |
|
-1==b&&this.Wg(a,h);b==e&&(d&&-1!=e||this.Jf(a,h));d&&-1==f&&(this.Bc(h,h),this.Cc(h,h));this.Vj(a,this.Ja(a)+1);a=this.Qf(a);this.Tj(a,this.I(a)+1);return h};c.prototype.uE=function(a,b,d){var e=this.Ua(b),f=this.Ua(d);if(0>e||f>this.fd-1)throw g.i.N("invalid call");if(e>f&&!this.dc(a))throw g.i.N("cannot iterate across an open path");for(a=0;b!=d;b=this.U(b))e=this.Ua(b),f=this.Sh(e),null!=f?a+=f.Qb():(f=this.Ua(this.U(b)),a+=this.vb.yr(e,f));return a};c.prototype.Dh=function(a,b){var d=this.Ua(a); |
|
this.vb.Ht(d,b);d=this.Sh(d);null!=d&&d.setStart(b);a=this.Ma(a);-1!=a&&(a=this.Ua(a),null!=this.Sh(a)&&d.setEnd(b))};c.prototype.Vi=function(a,b){a=this.Ua(a);this.vb.ve(a,b)};c.prototype.mf=function(a,b){this.Cb(a,b.x,b.y)};c.prototype.Cb=function(a,b,d){var e=this.Ua(a);this.vb.Cb(e,b,d);e=this.Sh(e);null!=e&&e.ZB(b,d);a=this.Ma(a);-1!=a&&(a=this.Ua(a),null!=this.Sh(a)&&e.Ql(b,d))};c.prototype.D=function(a,b){this.vb.D(this.td.T(a,0),b)};c.prototype.Gc=function(a,b){this.vb.za[0].tc(2*this.td.T(a, |
|
0),b)};c.prototype.Na=function(a){var b=new g.h;this.vb.D(this.td.T(a,0),b);return b};c.prototype.dG=function(a,b){this.it.tc(2*a,b)};c.prototype.Uc=function(a,b,d){return this.vb.Uc(a,this.Ua(b),d)};c.prototype.setAttribute=function(a,b,d,e){this.vb.setAttribute(a,this.Ua(b),d,e)};c.prototype.Ua=function(a){return this.td.T(a,0)};c.prototype.ih=function(){var a=new g.h;this.D(void 0,a);return a.y};c.prototype.fq=function(a,b){a=this.Ua(a);b=this.Ua(b);var d=this.vb.za[0].o;return d[2*a]===d[2*b]&& |
|
d[2*a+1]===d[2*b+1]};c.prototype.Dv=function(a,b){a=this.Ua(a);var d=this.vb.za[0].o;return d[2*a]===b.x&&d[2*a+1]===b.y};c.prototype.vX=function(a,b){1>b&&(b=1);if(null==this.Sg){if(1==b)return;this.Sg=g.Yc.Dn(this.vb.I(),1)}a=this.Ua(a);a>=this.Sg.size&&this.Sg.resize(a+1,1);this.Sg.write(a,b)};c.prototype.cG=function(a){a=this.Ua(a);return null==this.Sg||a>=this.Sg.size?1:this.Sg.read(a)};c.prototype.Ra=function(a,b,d){b=this.bi[b];a=this.Ua(a);b.size<this.vb.I()&&b.resize(this.vb.I(),-1);b.write(a, |
|
d)};c.prototype.Pa=function(a,b){a=this.Ua(a);b=this.bi[b];return a<b.size?b.read(a):-1};c.prototype.Gd=function(){null==this.bi&&(this.bi=[]);for(var a=0;a<this.bi.length;a++)if(null==this.bi[a])return this.bi[a]=g.Yc.Oh(0,-1),a;this.bi.push(g.Yc.Oh(0,-1));return this.bi.length-1};c.prototype.Td=function(a){this.bi[a]=null};c.prototype.bc=function(a){return null!=this.We?(a=this.Ua(a),this.We[a]):null};c.prototype.ed=function(a,b){var d=this.td.T(a,2);if(-1==d)return!1;if(this.fA){var e=new g.Sa; |
|
this.Vi(a,e);b.setStart(e);this.Vi(d,e);b.setEnd(e)}else this.vb.Gc(this.td.T(a,0),aa),b.em(0,aa),this.vb.Gc(this.td.T(d,0),aa),b.em(1,aa);return!0};c.prototype.mW=function(a,b,d){if(this.fA){var e=new g.Sa;this.Vi(a,e);d.setStart(e);this.Vi(b,e);d.setEnd(e)}else this.vb.Gc(a,aa),d.em(0,aa),this.vb.Gc(b,aa),d.em(1,aa)};c.prototype.vf=function(a,b){if(-1!=b){if(a!=this.Qf(b))throw g.i.Qa();var d=this.cs(b)}else d=this.kv(a);var e=this.wU(a);-1!=b&&this.bp(b,e);this.ap(e,b);this.bp(e,d);-1!=d?this.ap(d, |
|
e):this.Zo(a,e);-1==b&&this.$o(a,e);this.Rl(a,this.da(a)+1);return e};c.prototype.nG=function(a,b,d,e){a=this.vf(a,-1);for(var f=0,h=b,k=!1;h==d&&(k=!0),this.aj(h,a),f++,h=this.U(h),h!=b;);this.kn(a,!0);this.Vj(a,f);k&&(b=d);this.Jf(a,b);this.Wg(a,this.Ma(b));this.cp(a,!1);null!=e&&(e[0]=k);return a};c.prototype.Zq=function(a){var b=this.cs(a),d=this.Rb(a),e=this.Qf(a);-1!=b?this.ap(b,d):this.Zo(e,d);-1!=d?this.bp(d,b):this.$o(e,b);this.AO(a);this.Rl(e,this.da(e)-1);this.sF(a);return d};c.prototype.AO= |
|
function(a){var b=this.Xa(a);if(-1!=b){for(var d=0,e=this.Ja(a);d<e;d++){var f=b;b=this.U(b);this.Vy(f)}b=this.Qf(a);this.Tj(b,this.I(b)-this.Ja(a))}this.Vj(a,0)};c.prototype.Rb=function(a){return this.md.T(a,2)};c.prototype.cs=function(a){return this.md.T(a,1)};c.prototype.Ja=function(a){return this.md.T(a,3)};c.prototype.dc=function(a){return 0!=(this.Sp(a)&1)};c.prototype.kn=function(a,b){if(this.dc(a)!=b){if(0<this.Ja(a)){var d=this.Xa(a),e=this.rj(a);b?(this.Bc(e,d),this.Cc(d,e),d=this.Ua(e)): |
|
(this.Bc(e,-1),this.Cc(d,-1),d=this.Ua(e));this.Xg(d,null)}this.VB(a,(this.Sp(a)|1)-1|(b?1:0))}};c.prototype.Qf=function(a){return this.md.T(a,7)};c.prototype.YS=function(a){return 0!=(this.Sp(a)&2)};c.prototype.PB=function(a,b){this.VB(a,(this.Sp(a)|2)-2|(b?2:0))};c.prototype.wz=function(a){if(this.cT(a))return this.Oi.get(this.qv(a));var b=new g.yb,d=this.Xa(a);if(-1==d)return 0;var e=new g.h;this.D(d,e);for(var f=0,h=0,k=this.Ja(a);h<k;h++,d=this.U(d)){var m=this.bc(d);if(null==m){if(!this.ed(d, |
|
b))continue;m=b}f+=m.Tx(e.x,e.y)}this.cp(a,!0);this.Oi.set(this.qv(a),f);return f};c.prototype.gr=function(a,b,d){b=this.Ck[b];a=this.qv(a);b.size<this.Oi.size&&b.resize(this.Oi.size,-1);b.write(a,d)};c.prototype.sj=function(a,b){a=this.qv(a);b=this.Ck[b];return a<b.size?b.read(a):-1};c.prototype.Ky=function(){null==this.Ck&&(this.Ck=[]);for(var a=0;a<this.Ck.length;a++)if(null==this.Ck[a])return this.Ck[a]=g.Yc.Oh(0),a;this.Ck.push(g.Yc.Oh(0));return this.Ck.length-1};c.prototype.CB=function(a){this.Ck[a]= |
|
null};c.prototype.ZT=function(a,b,d){if(-1==d)throw g.i.N();if(b!=d){var e=this.Rb(d),f=this.cs(d),h=this.Qf(d);-1==f?this.Zo(h,e):this.ap(f,e);-1==e?this.$o(h,f):this.bp(e,f);this.Tj(h,this.I(h)-this.Ja(d));this.Rl(h,this.da(h)-1);f=-1==b?this.kv(a):this.cs(b);this.bp(d,f);this.ap(d,b);-1==b?this.$o(a,d):this.bp(b,d);-1==f?this.Zo(a,d):this.ap(f,d);this.Tj(a,this.I(a)+this.Ja(d));this.Rl(a,this.da(a)+1);this.gx(d,a)}};c.prototype.ij=function(a,b){this.vb.ve(this.Ua(b),this.nm());this.wj(a,-1,this.nm())}; |
|
c.prototype.pd=function(a,b){var d=this.bd(a),e=this.Ma(a),f=this.U(a);-1!=e&&this.Bc(e,f);var h=this.Ja(d);a==this.Xa(d)&&this.Jf(d,1<h?f:-1);-1!=f&&this.Cc(f,e);a==this.rj(d)&&this.Wg(d,1<h?e:-1);if(-1!=e&&-1!=f){e=this.Ua(e);var k=this.Ua(f);b?(b=this.Sh(e),null!=b&&(e=new g.h,this.vb.D(k,e),b.Qc(e))):(k=this.Ua(a),b=this.Sh(k),this.Xg(e,b),null!=b&&(e=this.vb.Na(e),b.Dc(e)))}this.Vj(d,h-1);d=this.Qf(d);this.Tj(d,this.I(d)-1);this.Vy(a);return f};c.prototype.Xa=function(a){return this.md.T(a,4)}; |
|
c.prototype.rj=function(a){return this.md.T(a,5)};c.prototype.U=function(a){return this.td.T(a,2)};c.prototype.Ma=function(a){return this.td.T(a,1)};c.prototype.bd=function(a){return this.td.T(a,3)};c.prototype.fc=function(a,b){return this.wj(a,-1,b)};c.prototype.Yq=function(a){if(void 0===a)return this.Yq(!1);if(a instanceof v)return new v(a);var b,d=-1,e=-1,f=-1,h=0,k=!1;for(b=this.ld;-1!=b;b=this.ue(b))if(!a||g.aa.Hc(this.ic(b))){for(d=this.Ob(b);-1!=d;d=this.Rb(d))if(f=e=this.Xa(d),h=0,-1!=e){k= |
|
!0;break}if(k)break}return v.AP(this,b,d,e,f,h,a)};c.prototype.Oc=function(a){this.Il.Oc(a);if(null!=this.We)for(var b=0,d=this.We.length;b<d;b++)null!=this.We[b]&&this.We[b].Oc(a)};c.prototype.jr=function(a,b,d,e){e?this.NX(a,b,d):this.MX(a,b,d)};c.prototype.Cc=function(a,b){this.td.S(a,1,b)};c.prototype.Bc=function(a,b){this.td.S(a,2,b)};c.prototype.aj=function(a,b){this.td.S(a,3,b)};c.prototype.Vj=function(a,b){this.md.S(a,3,b)};c.prototype.Jf=function(a,b){this.md.S(a,4,b)};c.prototype.Wg=function(a, |
|
b){this.md.S(a,5,b)};c.prototype.Rl=function(a,b){this.cd.S(a,6,b)};c.prototype.Tj=function(a,b){this.cd.S(a,5,b)};c.prototype.pJ=function(a){var b=a;do{var d=this.U(b);this.Bc(b,this.Ma(b));this.Cc(b,d);b=d}while(b!=a)};c.prototype.bC=function(a){this.fd=a};c.prototype.$q=function(a){var b=this.cs(a),d=this.Rb(a),e=this.Qf(a);-1!=b?this.ap(b,d):this.Zo(e,d);-1!=d?this.bp(d,b):this.$o(e,b);this.Jf(a,-1);this.Wg(a,-1);this.sF(a)};c.prototype.mi=function(a,b){var d=this.Ma(a),e=this.U(a);-1!=d&&this.Bc(d, |
|
e);-1!=e&&this.Cc(e,d);if(-1!=d&&-1!=e)if(d=this.Ua(d),e=this.Ua(e),b){if(b=this.Sh(d),null!=b){var f=new g.h;this.vb.D(e,f);b.Qc(f)}}else b=this.Ua(a),b=this.Sh(b),this.Xg(d,b),null!=b&&(f=new g.h,this.vb.D(d,f),b.Dc(f));this.Vy(a)};c.prototype.cT=function(a){return 0!=(this.Sp(a)&4)};c.prototype.cp=function(a,b){this.VB(a,(this.Sp(a)|4)-4|(b?4:0))};c.prototype.nx=function(a,b){var d=this.td.o;this.vb.mc();var e=this.vb.za[0].o;a.Vd(0,b,function(f,h){var k=d[5*f];f=d[5*h];h=e[2*k];k=e[2*k+1];var m= |
|
e[2*f];f=e[2*f+1];return k<f?-1:k>f?1:h<m?-1:h>m?1:0})};c.prototype.jS=function(){for(var a=this.ld;-1!=a;a=this.ue(a))if(!g.aa.Hc(this.ic(a)))return!0;return!1};c.prototype.hC=function(a,b){for(var d=this.Ob(a),e=this.Ob(b),f=this.kv(a),h=this.kv(b),k=this.Ob(a);-1!=k;k=this.Rb(k))this.gx(k,b);for(k=this.Ob(b);-1!=k;k=this.Rb(k))this.gx(k,a);this.Zo(a,e);this.Zo(b,d);this.$o(a,h);this.$o(b,f);d=this.I(a);e=this.da(a);f=this.da(b);this.Tj(a,this.I(b));this.Tj(b,d);this.Rl(a,f);this.Rl(b,e);d=this.cd.T(a, |
|
2);this.cd.S(a,2,this.cd.T(b,2));this.cd.S(b,2,d)};return c}();g.gd=l})(D||={});(function(g){var v=function(l){function c(a,b,d,e){var f=l.call(this)||this;f.$=new g.l;void 0===a?f.UE():"number"===typeof a?f.VO(a,b,d,e):a instanceof g.Sa?void 0!==b?f.Qu(a,b,d):f.WO(a):a instanceof g.ra?void 0!==b?f.YO(a,b):f.XO(a):a instanceof g.l?f.UO(a):f.UE();return f}R(c,l);c.prototype.Qu=function(a,b,d){this.description=g.ee.og();this.$.Oa();a.B()||this.tu(a,b,d)};c.prototype.UO=function(a){this.description= |
|
g.ee.og();this.$.K(a);this.$.normalize()};c.prototype.XO=function(a){if(null==a)throw g.i.N();this.description=a;this.$.Oa()};c.prototype.YO=function(a,b){if(null==a)throw g.i.N();this.description=a;this.$.K(b);this.$.normalize()};c.prototype.UE=function(){this.description=g.ee.og();this.$.Oa()};c.prototype.WO=function(a){this.description=g.ee.og();this.$.Oa();a.B()||this.tu(a)};c.prototype.VO=function(a,b,d,e){this.description=g.ee.og();this.K(a,b,d,e)};c.prototype.K=function(a,b,d,e){this.vc(); |
|
if("number"===typeof a)this.$.K(a,b,d,e);else for(this.Oa(),b=0,d=a.length;b<d;b++)this.Zb(a[b])};c.prototype.Xo=function(a){this.vc();if(!a.fT())throw g.i.N();this.$.K(a)};c.prototype.Oa=function(){this.vc();this.$.Oa()};c.prototype.B=function(){return this.$.B()};c.prototype.R=function(){return this.$.R()};c.prototype.ca=function(){return this.$.ca()};c.prototype.gk=function(){return this.$.gk()};c.prototype.Jp=function(){return this.$.Jp()};c.prototype.Ip=function(){return this.$.sf()};c.prototype.Zb= |
|
function(a){if(a instanceof g.h)this.vc(),this.$.Zb(a);else if(a instanceof g.l)this.vc(),this.$.Zb(a);else if(a instanceof g.Sa){if(this.vc(),!a.Ac()){var b=a.description;this.description!=b&&this.Jl(b);if(this.B())this.tu(a);else{this.$.Zb(a.D());for(var d=1,e=b.Aa;d<e;d++)for(var f=b.Ed(d),h=g.ra.Va(f),k=0;k<h;k++){var m=a.Uc(f,k),n=this.Tg(f,k);n.Zb(m);this.setInterval(f,k,n)}}}}else if(a instanceof c&&!a.B())for(b=a.description,b!=this.description&&this.Jl(b),this.$.Zb(a.$),d=1,e=b.Aa;d<e;d++)for(f= |
|
b.kd(d),h=g.ra.Va(f),k=0;k<h;k++)m=a.Tg(f,k),n=this.Tg(f,k),n.Zb(m),this.setInterval(f,k,n)};c.prototype.tu=function(a,b,d){if(void 0!==b){this.$.K(a.D(),b,d);b=a.description;d=1;for(var e=b.Aa;d<e;d++)for(var f=b.Ed(d),h=g.ra.Va(f),k=0;k<h;k++){var m=a.Uc(f,k);this.setInterval(f,k,m,m)}}else for(this.$.K(a.ka[0],a.ka[1]),b=a.description,d=1,e=b.Aa;d<e;d++)for(f=b.Ed(d),h=g.ra.Va(f),k=0;k<h;k++)m=a.Uc(f,k),this.setInterval(f,k,m,m)};c.prototype.setInterval=function(a,b,d,e){d="number"===typeof d? |
|
new g.Nc(d,e):d;this.vc();if(0==a)if(0==b)this.$.v=d.oa,this.$.C=d.va;else if(1==b)this.$.G=d.oa,this.$.H=d.va;else throw g.i.ce();else this.vD(0,a,b,d.oa),this.vD(1,a,b,d.va)};c.prototype.W=function(a,b){this.vc();this.$.W(a,b)};c.prototype.Oc=function(a){if(a instanceof g.Dd)this.vc(),a.mC(this.$);else if(this.vc(),!this.$.B()){var b=new g.OK;this.Qo(b);b.XS()?b.Oa():a.mC(b)}};c.prototype.copyTo=function(a){if(a.getType()!=this.getType())throw g.i.N();a.vc();a.description=this.description;a.$.K(this.$); |
|
a.ka=null;if(null!=this.ka){a.ou();for(var b=0;b<2*(this.description.Ae.length-2);b++)a.ka[b]=this.ka[b]}};c.prototype.Ia=function(){return new c(this.description)};c.prototype.Ke=function(){return this.$.wF()};c.prototype.Qb=function(){return this.$.yR()};c.prototype.getType=function(){return 197};c.prototype.Db=function(){return 2};c.prototype.bn=function(a){this.copyTo(a)};c.prototype.A=function(a){a.v=this.$.v;a.G=this.$.G;a.C=this.$.C;a.H=this.$.H};c.prototype.Qo=function(a){a.v=this.$.v;a.G= |
|
this.$.G;a.C=this.$.C;a.H=this.$.H;a.K(this.$.v,this.$.G,this.Od(0,1,0),this.$.C,this.$.H,this.Od(1,1,0))};c.prototype.Tg=function(a,b){var d=new g.Nc;d.K(this.Od(0,a,b),this.Od(1,a,b));return d};c.prototype.Hf=function(a,b){b.Nf(this.description);var d=this.description.Aa-1;switch(a){case 0:for(a=0;a<d;a++)for(var e=this.description.kd(a),f=g.ra.Va(e),h=0;h<f;h++)b.setAttribute(e,h,this.Od(0,e,h));b.Cb(this.$.v,this.$.G);break;case 1:for(a=0;a<d;a++)for(e=this.description.kd(a),f=g.ra.Va(e),h=0;h< |
|
f;h++)b.setAttribute(e,h,this.Od(1,e,h));b.Cb(this.$.v,this.$.H);break;case 2:for(a=0;a<d;a++)for(e=this.description.kd(a),f=g.ra.Va(e),h=0;h<f;h++)b.setAttribute(e,h,this.Od(0,e,h));b.Cb(this.$.C,this.$.H);break;case 3:for(a=0;a<d;a++)for(e=this.description.kd(a),f=g.ra.Va(e),h=0;h<f;h++)b.setAttribute(e,h,this.Od(1,e,h));b.Cb(this.$.C,this.$.G);break;default:throw g.i.ce();}};c.prototype.mB=function(a,b){a=this.$.mB(a);b.ma(a.x,a.y)};c.prototype.kR=function(a,b){return b*(a.Oq-2)};c.prototype.xF= |
|
function(a,b,d){if(this.$.B())throw g.i.fa("empty geometry");if(0==b)return 0!=a?0!=d?this.$.H:this.$.C:0!=d?this.$.G:this.$.v;if(d>=g.ra.Va(b))throw g.i.N();var e=this.description.Pf(b);this.ou();return 0<=e?this.ka[this.kR(this.description,a)+this.description.LR(e)-2+d]:g.ra.se(b)};c.prototype.ou=function(){this.vc();if(null==this.ka&&2<this.description.Ae.length){this.ka=[];for(var a=c.Gg(this.description,0),b=c.Gg(this.description,1),d=0,e=1,f=this.description.Aa;e<f;e++){var h=this.description.kd(e), |
|
k=g.ra.Va(h);h=g.ra.se(h);for(var m=0;m<k;m++)this.ka[a+d]=h,this.ka[b+d]=h,d++}}};c.prototype.sn=function(a){if(null!=this.ka)if(2<a.Ae.length){for(var b=g.ee.Iw(a,this.description),d=[],e=c.Gg(this.description,0),f=c.Gg(this.description,1),h=c.Gg(a,0),k=c.Gg(a,1),m=0,n=1,p=a.Aa;n<p;n++){var q=a.kd(n),r=g.ra.Va(q);if(-1==b[n]){var t=g.ra.se(q);for(q=0;q<r;q++)d[h+m]=t,d[k+m]=t,m++}else for(t=this.description.$j(b[n])-2,q=0;q<r;q++)d[h+m]=this.ka[e+t],d[k+m]=this.ka[f+t],m++,t++}this.ka=d}else this.ka= |
|
null;this.description=a};c.prototype.Od=function(a,b,d){if(this.$.B())throw g.i.fa("This operation was performed on an Empty Geometry.");if(0==b)return 0!=a?0!=d?this.$.H:this.$.C:0!=d?this.$.G:this.$.v;if(d>=g.ra.Va(b))throw g.i.ce();var e=this.description.Pf(b);return 0<=e?(this.ou(),this.ka[c.Gg(this.description,a)+this.description.$j(e)-2+d]):g.ra.se(b)};c.prototype.vD=function(a,b,d,e){this.vc();if(0==b)0!=a?0!=d?this.$.H=e:this.$.C=e:0!=d?this.$.G=e:this.$.v=e;else{if(d>=g.ra.Va(b))throw g.i.ce(); |
|
if(!this.hasAttribute(b)){if(g.ra.DG(b,e))return;this.re(b)}b=this.description.Pf(b);this.ou();this.ka[c.Gg(this.description,a)+this.description.$j(b)-2+d]=e}};c.Gg=function(a,b){return b*(a.Ae.length-2)};c.prototype.Ea=function(a){this.vc();var b=new g.l;a.A(b);return this.$.Ea(b)};c.prototype.isIntersecting=function(a){return a instanceof g.l?this.$.isIntersecting(a):this.$.isIntersecting(a.$)};c.prototype.Ju=function(a,b){this.vc();a.B()?this.Oa():void 0!==b?this.tu(a,b):this.$.Ju(a.Lg(),a.ih())}; |
|
c.prototype.offset=function(a,b){this.vc();this.$.offset(a,b)};c.prototype.normalize=function(){this.vc();this.$.normalize()};c.prototype.sf=function(a){if(void 0!==a)if(a.Nf(this.description),this.B())a.Oa();else{for(var b=this.description.Aa,d=1;d<b;d++)for(var e=this.description.kd(d),f=g.ra.Va(e),h=0;h<f;h++){var k=.5*(this.xF(0,e,h)+this.xF(1,e,h));a.setAttribute(e,h,k)}a.Cb(this.$.sf())}else{a=new g.Sa(this.description);if(this.B())return a;b=this.description.Aa;for(d=1;d<b;d++)for(e=this.description.Ed(d), |
|
f=g.ra.Va(e),h=0;h<f;h++)k=.5*(this.Od(0,e,h)+this.Od(1,e,h)),a.setAttribute(e,h,k);a.Cb(this.$.gk(),this.$.Jp());return a}};c.prototype.mz=function(){return new g.Sa(this.$.mz())};c.prototype.contains=function(a){return a instanceof g.Sa?a.B()?!1:this.$.contains(a.Lg(),a.ih()):this.$.contains(a.$)};c.prototype.dP=function(a){return this.$.contains(a)};c.prototype.Nb=function(a){if(a==this)return!0;if(!(a instanceof c)||this.description!=a.description)return!1;if(this.B())return a.B()?!0:!1;if(!this.$.Nb(a.$))return!1; |
|
for(var b=0,d=2*(this.description.Ae.length-2);b<d;b++)if(this.ka[b]!=a.ka[b])return!1;return!0};c.prototype.cc=function(){var a=this.description.cc();a=g.O.Th(a,this.$.cc());if(!this.B()&&null!=this.ka)for(var b=0,d=2*(this.description.Ae.length-2);b<d;b++)a=g.O.Th(a,this.ka[b]);return a};c.prototype.es=function(){return this.$.v};c.prototype.gs=function(){return this.$.G};c.prototype.ds=function(){return this.$.C};c.prototype.fs=function(){return this.$.H};c.prototype.mg=function(){return g.pi.gm(this, |
|
null)};c.prototype.toString=function(){return this.B()?"Envelope: []":"Envelope: ["+this.$.v+", "+this.$.G+", "+this.$.C+", "+this.$.H+"]"};return c}(g.aa);g.Fh=v})(D||={});(function(g){var v=function(){function l(c,a,b,d){void 0===c?this.Oa():(this.v=c,this.G=a,this.C=b,this.H=d)}l.construct=function(c,a,b,d){var e=new l;e.v=c;e.G=a;e.C=b;e.H=d;return e};l.prototype.K=function(c,a,b,d){"number"===typeof c?void 0!==b?(this.v=c,this.G=a,this.C=b,this.H=d,this.normalize()):(this.v=c,this.G=a,this.C= |
|
c,this.H=a):c instanceof g.h?void 0!==a?(this.v=c.x-.5*a,this.C=this.v+a,this.G=c.y-.5*b,this.H=this.G+b,this.normalize()):(this.v=c.x,this.G=c.y,this.C=c.x,this.H=c.y):c instanceof l?this.K(c.v,c.G,c.C,c.H):c instanceof g.Nc&&(c.B()||a.B()?this.Oa():(this.v=c.oa,this.C=c.va,this.G=a.oa,this.H=a.va))};l.prototype.Zw=function(c,a){if(void 0!==a)if(0==a)this.Oa();else{this.v=c[0].x;this.G=c[0].y;this.C=this.v;this.H=this.G;for(var b=1;b<a;b++){var d=c[b];d.x<this.v?this.v=d.x:d.x>this.C&&(this.C=d.x); |
|
d.y<this.G?this.G=d.y:d.y>this.H&&(this.H=d.y)}}else if(null==c||0==c.length)this.Oa();else for(d=c[0],this.K(d.x,d.y),b=1;b<c.length;b++)a=c[b],this.Lk(a.x,a.y)};l.prototype.Oa=function(){this.H=this.C=this.G=this.v=NaN};l.prototype.B=function(){return isNaN(this.v)};l.prototype.Zb=function(c,a){"number"===typeof c?this.B()?(this.v=c,this.G=a,this.C=c,this.H=a):(this.v>c?this.v=c:this.C<c&&(this.C=c),this.G>a?this.G=a:this.H<a&&(this.H=a)):c instanceof g.h?this.Zb(c.x,c.y):c instanceof g.Nd?this.Zb(c.x, |
|
c.y):c instanceof l&&!c.B()&&(this.Zb(c.v,c.G),this.Zb(c.C,c.H))};l.prototype.Lk=function(c,a){this.v>c?this.v=c:this.C<c&&(this.C=c);this.G>a?this.G=a:this.H<a&&(this.H=a)};l.prototype.W=function(c,a){this.B()||(this.v-=c,this.C+=c,this.G-=a,this.H+=a,(this.v>this.C||this.G>this.H)&&this.Oa())};l.prototype.scale=function(c){0>c&&this.Oa();this.B()||(this.v*=c,this.C*=c,this.G*=c,this.H*=c)};l.prototype.zoom=function(c,a){this.B()||this.K(this.sf(),c*this.R(),a*this.ca())};l.prototype.isIntersecting= |
|
function(c){return!this.B()&&!c.B()&&(this.v<=c.v?this.C>=c.v:c.C>=this.v)&&(this.G<=c.G?this.H>=c.G:c.H>=this.G)};l.prototype.HG=function(c){return(this.v<=c.v?this.C>=c.v:c.C>=this.v)&&(this.G<=c.G?this.H>=c.G:c.H>=this.G)};l.prototype.Ea=function(c){if(this.B()||c.B())return!1;c.v>this.v&&(this.v=c.v);c.C<this.C&&(this.C=c.C);c.G>this.G&&(this.G=c.G);c.H<this.H&&(this.H=c.H);(c=this.v<=this.C&&this.G<=this.H)||this.Oa();return c};l.prototype.mB=function(c){switch(c){case 0:return g.h.construct(this.v, |
|
this.G);case 1:return g.h.construct(this.v,this.H);case 2:return g.h.construct(this.C,this.H);case 3:return g.h.construct(this.C,this.G);default:throw g.i.ce();}};l.prototype.nB=function(c){if(null==c||4>c.length)throw g.i.N();null!=c[0]?c[0].ma(this.v,this.G):c[0]=g.h.construct(this.v,this.G);null!=c[1]?c[1].ma(this.v,this.H):c[1]=g.h.construct(this.v,this.H);null!=c[2]?c[2].ma(this.C,this.H):c[2]=g.h.construct(this.C,this.H);null!=c[3]?c[3].ma(this.C,this.G):c[3]=g.h.construct(this.C,this.G)};l.prototype.wF= |
|
function(){return this.B()?0:this.R()*this.ca()};l.prototype.yR=function(){return this.B()?0:2*(this.R()+this.ca())};l.prototype.gk=function(){return(this.C+this.v)/2};l.prototype.Jp=function(){return(this.H+this.G)/2};l.prototype.R=function(){return this.C-this.v};l.prototype.ca=function(){return this.H-this.G};l.prototype.move=function(c,a){this.B()||(this.v+=c,this.G+=a,this.C+=c,this.H+=a)};l.prototype.Ju=function(c,a){if(void 0!==a)this.move(c-this.gk(),a-this.Jp());else if(c instanceof g.h)this.Ju(c.x, |
|
c.y);else if(c instanceof g.Sa){a=(this.C-this.v)/2;var b=(this.H-this.G)/2;this.v=c.Lg()-a;this.C=c.Lg()+a;this.G=c.ih()-b;this.H=c.ih()+b}else throw g.i.N();};l.prototype.offset=function(c,a){this.v+=c;this.C+=c;this.G+=a;this.H+=a};l.prototype.normalize=function(){if(!this.B()){var c=Math.min(this.v,this.C),a=Math.max(this.v,this.C);this.v=c;this.C=a;c=Math.min(this.G,this.H);a=Math.max(this.G,this.H);this.G=c;this.H=a}};l.prototype.dn=function(c){c.ma(this.v,this.G)};l.prototype.$I=function(c){c.ma(this.C, |
|
this.G)};l.prototype.cJ=function(c){c.ma(this.v,this.H)};l.prototype.en=function(c){c.ma(this.C,this.H)};l.prototype.fT=function(){return this.B()||this.v<=this.C&&this.G<=this.H};l.prototype.sf=function(){return g.h.construct((this.C+this.v)/2,(this.H+this.G)/2)};l.prototype.mz=function(){return g.h.construct(this.v,this.G)};l.prototype.contains=function(c,a){if(void 0!==a)return c>=this.v&&c<=this.C&&a>=this.G&&a<=this.H;if(c instanceof g.Sa)return this.contains(c.Lg(),c.ih());if(c instanceof g.h)return this.contains(c.x, |
|
c.y);if(c instanceof l)return c.v>=this.v&&c.C<=this.C&&c.G>=this.G&&c.H<=this.H;throw g.i.N();};l.prototype.hm=function(c,a){if(void 0!==a)return c>this.v&&c<this.C&&a>this.G&&a<this.H;if(c instanceof g.h)return this.hm(c.x,c.y);if(c instanceof l)return c.v>this.v&&c.C<this.C&&c.G>this.G&&c.H<this.H;throw g.i.N();};l.prototype.Nb=function(c){return c==this?!0:c instanceof l?this.B()&&c.B()?!0:this.v!=c.v||this.G!=c.G||this.C!=c.C||this.H!=c.H?!1:!0:!1};l.prototype.cc=function(){var c=this.v;c=g.O.truncate(c^ |
|
c>>>32);var a=g.O.Th(c);c=this.C;c=g.O.truncate(c^c>>>32);a=g.O.Th(c,a);c=this.G;c=g.O.truncate(c^c>>>32);a=g.O.Th(c,a);c=this.H;c=g.O.truncate(c^c>>>32);return a=g.O.Th(c,a)};l.prototype.xr=function(){return this.B()?2.220446049250313E-14:2.220446049250313E-14*(Math.abs(this.v)+Math.abs(this.C)+Math.abs(this.G)+Math.abs(this.H)+1)};l.prototype.zy=function(c,a){var b=this.Zj(c),d=this.Zj(a);if(0!=(b&d))return 0;if(0==(b|d))return 4;var e=(0!=b?1:0)|(0!=d?2:0);do{var f=a.x-c.x,h=a.y-c.y;f>h?0!=(b& |
|
l.YC)?(0!=(b&l.ju)?(c.y+=h*(this.v-c.x)/f,c.x=this.v):(c.y+=h*(this.C-c.x)/f,c.x=this.C),b=this.Zj(c)):0!=(d&l.YC)?(0!=(d&l.ju)?(a.y+=h*(this.v-a.x)/f,a.x=this.v):(a.y+=h*(this.C-a.x)/f,a.x=this.C),d=this.Zj(a)):0!=b?(0!=(b&l.ku)?(c.x+=f*(this.G-c.y)/h,c.y=this.G):(c.x+=f*(this.H-c.y)/h,c.y=this.H),b=this.Zj(c)):(0!=(d&l.ku)?(a.x+=f*(this.G-a.y)/h,a.y=this.G):(a.x+=f*(this.H-a.y)/h,a.y=this.H),d=this.Zj(a)):0!=(b&l.ZC)?(0!=(b&l.ku)?(c.x+=f*(this.G-c.y)/h,c.y=this.G):(c.x+=f*(this.H-c.y)/h,c.y=this.H), |
|
b=this.Zj(c)):0!=(d&l.ZC)?(0!=(d&l.ku)?(a.x+=f*(this.G-a.y)/h,a.y=this.G):(a.x+=f*(this.H-a.y)/h,a.y=this.H),d=this.Zj(a)):0!=b?(0!=(b&l.ju)?(c.y+=h*(this.v-c.x)/f,c.x=this.v):(c.y+=h*(this.C-c.x)/f,c.x=this.C),b=this.Zj(c)):(0!=(d&l.ju)?(a.y+=h*(this.v-a.x)/f,a.x=this.v):(a.y+=h*(this.C-a.x)/f,a.x=this.C),d=this.Zj(a));if(0!=(b&d))return 0}while(0!=(b|d));return e};l.prototype.Zj=function(c){return(c.x<this.v?1:0)|(c.x>this.C?1:0)<<1|(c.y<this.G?1:0)<<2|(c.y>this.H?1:0)<<3};l.prototype.Bi=function(c){return!this.B()&& |
|
(this.R()<=c||this.ca()<=c)};l.prototype.tb=function(c){return c instanceof g.h?Math.sqrt(this.iK(c)):Math.sqrt(this.px(c))};l.prototype.px=function(c){var a=0,b=0,d=this.v-c.C;d>a&&(a=d);d=this.G-c.H;d>b&&(b=d);d=c.v-this.C;d>a&&(a=d);d=c.G-this.H;d>b&&(b=d);return a*a+b*b};l.prototype.iK=function(c){var a=0,b=0,d=this.v-c.x;d>a&&(a=d);d=this.G-c.y;d>b&&(b=d);d=c.x-this.C;d>a&&(a=d);d=c.y-this.H;d>b&&(b=d);return a*a+b*b};l.prototype.cn=function(c){this.B()?c.Oa():c.K(this.v,this.C)};l.ju=1;l.ku= |
|
4;l.YC=3;l.ZC=12;return l}();g.l=v})(D||={});(function(g){(function(c){c[c.initialize=0]="initialize";c[c.initializeRed=1]="initializeRed";c[c.initializeBlue=2]="initializeBlue";c[c.initializeRedBlue=3]="initializeRedBlue";c[c.sweep=4]="sweep";c[c.sweepBruteForce=5]="sweepBruteForce";c[c.sweepRedBlueBruteForce=6]="sweepRedBlueBruteForce";c[c.sweepRedBlue=7]="sweepRedBlue";c[c.sweepRed=8]="sweepRed";c[c.sweepBlue=9]="sweepBlue";c[c.iterate=10]="iterate";c[c.iterateRed=11]="iterateRed";c[c.iterateBlue= |
|
12]="iterateBlue";c[c.iterateBruteForce=13]="iterateBruteForce";c[c.iterateRedBlueBruteForce=14]="iterateRedBlueBruteForce";c[c.resetRed=15]="resetRed";c[c.resetBlue=16]="resetBlue"})(l||={});var v=function(){function c(a,b){this.ci=a;this.dH=b}c.prototype.nr=function(a,b,d){this.ci.JX(d,a,b,this.dH)};c.prototype.$p=function(a){return this.ci.Rr(a,this.dH)};return c}();var l=function(){function c(){this.ow=this.oo=this.ff=this.rd=null;this.wq=new g.l;this.Am=this.Hj=this.Ij=this.Ad=this.Ef=this.Ld= |
|
this.cw=this.fo=this.qd=this.Eb=null;this.Xb=-1;this.qa=0;this.Nk()}c.prototype.kr=function(){this.Nk();this.Pv=!0;null==this.Eb?(this.fo=new g.ia(0),this.Eb=[]):(this.fo.Bh(0),this.Eb.length=0)};c.prototype.ad=function(a,b){if(!this.Pv)throw g.i.Hb();var d=new g.l;d.K(b);this.fo.add(a);this.Eb.push(d)};c.prototype.Fp=function(){if(!this.Pv)throw g.i.Hb();this.Pv=!1;null!=this.Eb&&0<this.Eb.length&&(this.Xb=0,this.Ic=!1)};c.prototype.pK=function(){this.Nk();this.Ov=!0;null==this.Eb?(this.fo=new g.ia(0), |
|
this.Eb=[]):(this.fo.Bh(0),this.Eb.length=0)};c.prototype.JD=function(a,b){if(!this.Ov)throw g.i.Hb();var d=new g.l;d.K(b);this.fo.add(a);this.Eb.push(d)};c.prototype.iF=function(){if(!this.Ov)throw g.i.Hb();this.Ov=!1;null!=this.Eb&&0<this.Eb.length&&null!=this.qd&&0<this.qd.length&&(-1==this.Xb?this.Xb=3:2==this.Xb?this.Xb=3:3!=this.Xb&&(this.Xb=1),this.Ic=!1)};c.prototype.oK=function(){this.Nk();this.Nv=!0;null==this.qd?(this.cw=new g.ia(0),this.qd=[]):(this.cw.Bh(0),this.qd.length=0)};c.prototype.ED= |
|
function(a,b){if(!this.Nv)throw g.i.Hb();var d=new g.l;d.K(b);this.cw.add(a);this.qd.push(d)};c.prototype.hF=function(){if(!this.Nv)throw g.i.Hb();this.Nv=!1;null!=this.Eb&&0<this.Eb.length&&null!=this.qd&&0<this.qd.length&&(-1==this.Xb?this.Xb=3:1==this.Xb?this.Xb=3:3!=this.Xb&&(this.Xb=2),this.Ic=!1)};c.prototype.next=function(){if(this.Ic)return!1;for(var a=!0;a;)switch(this.Xb){case 0:a=this.Gz();break;case 1:a=this.rS();break;case 2:a=this.oS();break;case 3:a=this.qS();break;case 4:a=this.UX(); |
|
break;case 5:a=this.QX();break;case 6:a=this.RX();break;case 7:a=this.SX();break;case 8:a=this.ux();break;case 9:a=this.iC();break;case 10:a=this.Uz();break;case 11:a=this.jT();break;case 12:a=this.gT();break;case 13:a=this.hT();break;case 14:a=this.iT();break;case 15:a=this.kJ();break;case 16:a=this.jJ();break;default:throw g.i.Qa();}return this.Ic?!1:!0};c.prototype.aC=function(a){this.qa=a};c.prototype.uz=function(a){return this.Eb[a]};c.prototype.az=function(a){return this.qd[a]};c.prototype.nl= |
|
function(a){return this.fo.read(a)};c.prototype.hl=function(a){return this.cw.read(a)};c.Tz=function(a){return 1==(a&1)};c.eq=function(a){return 0==(a&1)};c.prototype.Nk=function(){this.Pv=this.Nv=this.Ov=!1;this.Cf=this.Df=this.Rg=this.pe=-1;this.Ic=!0};c.prototype.Gz=function(){this.Af=this.Vf=-1;if(10>this.Eb.length)return this.pe=this.Eb.length,this.Xb=5,!0;null==this.rd&&(this.rd=new g.sr(!0),this.oo=this.rd.getIterator(),this.Ld=new g.ia(0));this.rd.kr();for(var a=0;a<this.Eb.length;a++){var b= |
|
this.Eb[a];this.rd.Br(b.v,b.C)}this.rd.Fp();this.Ld.Jb(2*this.Eb.length);this.Ld.resize(0);for(a=0;a<2*this.Eb.length;a++)this.Ld.add(a);this.Kt(this.Ld,2*this.Eb.length,!0);this.pe=2*this.Eb.length;this.Xb=4;return!0};c.prototype.rS=function(){this.Af=this.Vf=-1;if(10>this.Eb.length||10>this.qd.length)return this.pe=this.Eb.length,this.Xb=6,!0;null==this.rd&&(this.rd=new g.sr(!0),this.oo=this.rd.getIterator(),this.Ld=new g.ia(0));this.rd.kr();for(var a=0;a<this.Eb.length;a++){var b=this.Eb[a];this.rd.Br(b.v, |
|
b.C)}this.rd.Fp();this.Ld.Jb(2*this.Eb.length);this.Ld.resize(0);for(a=0;a<2*this.Eb.length;a++)this.Ld.add(a);this.Kt(this.Ld,this.Ld.size,!0);this.pe=this.Ld.size;-1!=this.Df&&(this.Ad.bh(this.Df),this.Ij.resize(0),this.Df=-1);this.Xb=7;return this.jJ()};c.prototype.oS=function(){this.Af=this.Vf=-1;if(10>this.Eb.length||10>this.qd.length)return this.pe=this.Eb.length,this.Xb=6,!0;null==this.ff&&(this.ff=new g.sr(!0),this.ow=this.ff.getIterator(),this.Ef=new g.ia(0));this.ff.kr();for(var a=0;a<this.qd.length;a++){var b= |
|
this.qd[a];this.ff.Br(b.v,b.C)}this.ff.Fp();this.Ef.Jb(2*this.qd.length);this.Ef.resize(0);for(a=0;a<2*this.qd.length;a++)this.Ef.add(a);this.Kt(this.Ef,this.Ef.size,!1);this.Rg=this.Ef.size;-1!=this.Cf&&(this.Ad.bh(this.Cf),this.Hj.resize(0),this.Cf=-1);this.Xb=7;return this.kJ()};c.prototype.qS=function(){this.Af=this.Vf=-1;if(10>this.Eb.length||10>this.qd.length)return this.pe=this.Eb.length,this.Xb=6,!0;null==this.rd&&(this.rd=new g.sr(!0),this.oo=this.rd.getIterator(),this.Ld=new g.ia(0));null== |
|
this.ff&&(this.ff=new g.sr(!0),this.ow=this.ff.getIterator(),this.Ef=new g.ia(0));this.rd.kr();for(var a=0;a<this.Eb.length;a++){var b=this.Eb[a];this.rd.Br(b.v,b.C)}this.rd.Fp();this.ff.kr();for(a=0;a<this.qd.length;a++)b=this.qd[a],this.ff.Br(b.v,b.C);this.ff.Fp();this.Ld.Jb(2*this.Eb.length);this.Ef.Jb(2*this.qd.length);this.Ld.resize(0);this.Ef.resize(0);for(a=0;a<2*this.Eb.length;a++)this.Ld.add(a);for(a=0;a<2*this.qd.length;a++)this.Ef.add(a);this.Kt(this.Ld,this.Ld.size,!0);this.Kt(this.Ef, |
|
this.Ef.size,!1);this.pe=this.Ld.size;this.Rg=this.Ef.size;-1!=this.Df&&(this.Ad.bh(this.Df),this.Ij.resize(0),this.Df=-1);-1!=this.Cf&&(this.Ad.bh(this.Cf),this.Hj.resize(0),this.Cf=-1);this.Xb=7;return!0};c.prototype.UX=function(){var a=this.Ld.get(--this.pe),b=a>>1;if(c.eq(a))return this.rd.remove(b),0==this.pe?(this.Af=this.Vf=-1,this.Ic=!0,!1):!0;this.oo.EB(this.Eb[b].v,this.Eb[b].C,this.qa);this.Vf=b;this.Xb=10;return!0};c.prototype.QX=function(){if(-1==--this.pe)return this.Af=this.Vf=-1,this.Ic= |
|
!0,!1;this.Rg=this.Vf=this.pe;this.Xb=13;return!0};c.prototype.RX=function(){if(-1==--this.pe)return this.Af=this.Vf=-1,this.Ic=!0,!1;this.Vf=this.pe;this.Rg=this.qd.length;this.Xb=14;return!0};c.prototype.SX=function(){var a=this.Ld.get(this.pe-1),b=this.Ef.get(this.Rg-1),d=this.Rr(a,!0),e=this.Rr(b,!1);return d>e?this.ux():d<e?this.iC():c.Tz(a)?this.ux():c.Tz(b)?this.iC():this.ux()};c.prototype.ux=function(){var a=this.Ld.get(--this.pe),b=a>>1;if(c.eq(a))return-1!=this.Df&&-1!=this.Ij.get(b)?(this.Ad.jd(this.Df, |
|
this.Ij.get(b)),this.Ij.set(b,-1)):this.rd.remove(b),0==this.pe?(this.Af=this.Vf=-1,this.Ic=!0,!1):!0;if(-1!=this.Cf&&0<this.Ad.bs(this.Cf))for(a=this.Ad.rc(this.Cf);-1!=a;){var d=this.Ad.getData(a);this.ff.vj(d);this.Hj.set(d,-1);d=this.Ad.lb(a);this.Ad.jd(this.Cf,a);a=d}0<this.ff.size()?(this.ow.EB(this.Eb[b].v,this.Eb[b].C,this.qa),this.Vf=b,this.Xb=12):(-1==this.Df&&(null==this.Ad&&(this.Ad=new g.jp),this.Ij=new g.ia(0),this.Ij.resize(this.Eb.length,-1),this.Ij.Wj(-1,0,this.Eb.length),this.Df= |
|
this.Ad.Ph(1)),this.Ij.set(b,this.Ad.addElement(this.Df,b)),this.Xb=7);return!0};c.prototype.iC=function(){var a=this.Ef.get(--this.Rg),b=a>>1;if(c.eq(a))return-1!=this.Cf&&-1!=this.Hj.get(b)?(this.Ad.jd(this.Cf,this.Hj.get(b)),this.Hj.set(b,-1)):this.ff.remove(b),0==this.Rg?(this.Af=this.Vf=-1,this.Ic=!0,!1):!0;if(-1!=this.Df&&0<this.Ad.bs(this.Df))for(a=this.Ad.rc(this.Df);-1!=a;){var d=this.Ad.getData(a);this.rd.vj(d);this.Ij.set(d,-1);d=this.Ad.lb(a);this.Ad.jd(this.Df,a);a=d}0<this.rd.size()? |
|
(this.oo.EB(this.qd[b].v,this.qd[b].C,this.qa),this.Af=b,this.Xb=11):(-1==this.Cf&&(null==this.Ad&&(this.Ad=new g.jp),this.Hj=new g.ia(0),this.Hj.resize(this.qd.length,-1),this.Hj.Wj(-1,0,this.qd.length),this.Cf=this.Ad.Ph(0)),this.Hj.set(b,this.Ad.addElement(this.Cf,b)),this.Xb=7);return!0};c.prototype.Uz=function(){this.Af=this.oo.next();if(-1!=this.Af)return!1;var a=this.Ld.get(this.pe)>>1;this.rd.vj(a);this.Xb=4;return!0};c.prototype.jT=function(){this.Vf=this.oo.next();if(-1!=this.Vf)return!1; |
|
this.Af=this.Vf=-1;var a=this.Ef.get(this.Rg)>>1;this.ff.vj(a);this.Xb=7;return!0};c.prototype.gT=function(){this.Af=this.ow.next();if(-1!=this.Af)return!1;var a=this.Ld.get(this.pe)>>1;this.rd.vj(a);this.Xb=7;return!0};c.prototype.hT=function(){if(-1==--this.Rg)return this.Xb=5,!0;this.wq.K(this.Eb[this.pe]);var a=this.Eb[this.Rg];this.wq.W(this.qa,this.qa);return this.wq.isIntersecting(a)?(this.Af=this.Rg,!1):!0};c.prototype.iT=function(){if(-1==--this.Rg)return this.Xb=6,!0;this.wq.K(this.Eb[this.pe]); |
|
var a=this.qd[this.Rg];this.wq.W(this.qa,this.qa);return this.wq.isIntersecting(a)?(this.Af=this.Rg,!1):!0};c.prototype.kJ=function(){if(null==this.rd)return this.Ic=!0,!1;this.pe=this.Ld.size;0<this.rd.size()&&this.rd.reset();-1!=this.Df&&(this.Ad.bh(this.Df),this.Ij.resize(0),this.Df=-1);this.Ic=!1;return!0};c.prototype.jJ=function(){if(null==this.ff)return this.Ic=!0,!1;this.Rg=this.Ef.size;0<this.ff.size()&&this.ff.reset();-1!=this.Cf&&(this.Ad.bh(this.Cf),this.Hj.resize(0),this.Cf=-1);this.Ic= |
|
!1;return!0};c.prototype.Kt=function(a,b,d){null==this.Am&&(this.Am=new g.Xt);d=new v(this,d);this.Am.sort(a,0,b,d)};c.prototype.JX=function(a,b,d,e){var f=this;a.Vd(b,d,function(h,k){var m=f.Rr(h,e),n=f.Rr(k,e);return m<n||m==n&&c.eq(h)&&c.Tz(k)?-1:1})};c.prototype.Rr=function(a,b){var d=.5*this.qa;if(b)return b=this.Eb[a>>1],a=c.eq(a)?b.G-d:b.H+d;b=this.qd[a>>1];return a=c.eq(a)?b.G-d:b.H+d};return c}();g.xC=l})(D||={});(function(g){var v=function(){function l(){}l.construct=function(c,a,b,d,e, |
|
f){var h=new l;h.v=c;h.G=a;h.Ye=b;h.C=d;h.H=e;h.Bg=f;return h};l.prototype.Oa=function(){this.Ye=this.v=NaN};l.prototype.B=function(){return isNaN(this.v)};l.prototype.XS=function(){return isNaN(this.Ye)};l.prototype.K=function(c,a,b,d,e,f){void 0!==d?"number"===typeof c?(this.v=c,this.G=a,this.Ye=b,this.C=d,this.H=e,this.Bg=f):(this.v=c.x-.5*a,this.C=this.v+a,this.G=c.y-.5*b,this.H=this.G+b,this.Ye=c.z-.5*d,this.Bg=this.Ye+d):(this.v=c,this.G=a,this.Ye=b,this.C=c,this.H=a,this.Bg=b)};l.prototype.move= |
|
function(c){this.v+=c.x;this.G+=c.y;this.Ye+=c.z;this.C+=c.x;this.H+=c.y;this.Bg+=c.z};l.prototype.copyTo=function(c){c.v=this.v;c.G=this.G;c.C=this.C;c.H=this.H};l.prototype.Lk=function(c,a,b){this.v>c?this.v=c:this.C<c&&(this.C=c);this.G>a?this.G=a:this.H<a&&(this.H=a);0==isNaN(this.Ye)?this.Ye>b?this.Ye=b:this.Bg<b&&(this.Bg=b):this.Bg=this.Ye=b};l.prototype.Zb=function(c,a,b){if("number"===typeof c)this.B()?(this.v=c,this.G=a,this.Ye=b,this.C=c,this.H=a,this.Bg=b):this.Lk(c,a,b);else if(c instanceof |
|
g.Nd)this.Zb(c.x,c.y,c.z);else if(c instanceof l)c.B()||(this.Zb(c.v,c.G,c.Ye),this.Zb(c.C,c.H,c.Bg));else throw g.i.N();};l.prototype.construct=function(c,a,b){c.B()||a.B()?this.Oa():(this.v=c.oa,this.C=c.va,this.G=a.oa,this.H=a.va,this.Ye=b.oa,this.Bg=b.va)};l.prototype.nB=function(c){if(null==c||8>c.length)throw g.i.N();c[0]=new g.Nd(this.v,this.G,this.Ye);c[1]=new g.Nd(this.v,this.H,this.Ye);c[2]=new g.Nd(this.C,this.H,this.Ye);c[3]=new g.Nd(this.C,this.G,this.Ye);c[4]=new g.Nd(this.v,this.G, |
|
this.Bg);c[5]=new g.Nd(this.v,this.H,this.Bg);c[6]=new g.Nd(this.C,this.H,this.Bg);c[7]=new g.Nd(this.C,this.G,this.Bg)};l.prototype.Zw=function(c){if(null==c||0==c.length)this.Oa();else{var a=c[0];this.K(a.x,a.y,a.z);for(a=1;a<c.length;a++){var b=c[a];this.Lk(b.x,b.y,b.z)}}};return l}();g.OK=v})(D||={});(function(g){(function(v){v.Qa=function(){var l=Error();l.message="Internal Error";return l};v.Ie=function(){var l=Error();l.message="Not Implemented";return l};v.Xk=function(){var l=Error();l.message= |
|
"The input unit and the spatial reference unit are not of the same unit type.ie Linear vs.Angular";return l};v.Hb=function(){var l=Error();l.message="Invalid Call";return l};v.N=function(l){var c=Error();c.message="Illegal Argument Exception";void 0!==l&&(c.message+=": "+l);return c};v.fu=function(l){var c=Error();c.message=void 0!==l?"Runtime Exception: "+l:"Runtime Exception.";return c};v.fa=function(l){var c=Error();c.message="Geometry Exception: "+l;return c};v.GK=function(){var l=Error();l.message= |
|
"Assert Failed Exception";return l};v.ce=function(){var l=Error();l.message="IndexOutOfBoundsException";return l};v.WC=function(){var l=Error();l.message="UserCancelException";return l}})(g.i||(g.i={}))})(D||={});(function(g){g=g.bm||(g.bm={});g[g.forward=0]="forward";g[g.reverse=1]="reverse"})(D||={});(function(g){var v=function(){function a(b,d){this.Wa=b;this.FH=d;this.LH=-1;this.sl=!1}a.prototype.qe=function(){};a.prototype.next=function(){if(++this.LH==this.FH.I())return null;var b=this.FH.Na(this.LH); |
|
b.scale(this.Wa.ec);var d=new g.Da;this.Wa.sy(b,this.sl,d);return d};a.prototype.La=function(){return 0};return a}(),l=function(){function a(b,d,e){this.Wa=b;this.rw=d;this.Xn=!1;this.co=e;this.bw=[0];this.sk=[0];this.Nj=[0];this.Gs=[0];this.sl=!1;this.qq=new g.Da;this.uk=[]}a.prototype.qe=function(){};a.prototype.next=function(){if(this.Xn){this.Xn=!1;this.sd.ha();var b=g.aa.jg(this.qq);return b=g.Fg.Mk(b,this.Wa.Aq,!0,!0,this.Wa.Ub)}null==this.sd&&(this.sd=this.rw.Ga(),this.sd.$a(),null!=this.co&& |
|
this.co.Yk(null,0));if(!this.sd.Ha()){if(!this.sd.$a())return null;null!=this.co&&this.co.Yk(null,0)}b=null;this.sk[0]=0;this.FA=this.bw[0]=0;this.di=NaN;this.Xn=!1;for(var d=this.uk.length=0,e=new g.h,f=new g.h,h=[0];this.sd.Ha()&&8>this.FA;){var k=this.sd.ha();e.L(k.ac());f.L(k.wc());e.scale(this.Wa.ec);f.scale(this.Wa.ec);g.cj.Mu(e,f)?e.x=f.x:g.cj.Ku(e,f)&&(f.x=e.x);this.uk.length=0;g.cj.tF(this.Wa.Tb,this.Wa.kc,this.Wa.ze,e,f,this.Wa.QA,this.Wa.Zs,h,this.Nj,this.Gs,this.uk,this.bw);null!=this.co&& |
|
(k=this.uk.slice(0),this.co.qG(this.co.da()-1,k,k.length-1));g.cj.Lu(e,f)?(this.qq.Oa(),this.Wa.sy(e,this.sl,this.qq),this.Xn=!0):(this.qq.Oa(),this.Xn=this.xy(h[0],this.qq));if(this.Xn){this.sd.li();if(this.sd.Ez()){this.sd.li();this.sd.ha();break}this.sd.DW();break}null==b&&(b=new g.Da,b.Yk(null,0));this.OD(b);d++}this.bw[0]=0;if(0<d){for(h=this.sd.wb();0<d;)this.sd.li(),e.L(this.rw.Na(this.sd.wb())),f.L(this.rw.Na(this.sd.ik())),e.scale(this.Wa.ec),f.scale(this.Wa.ec),this.sl&&(g.cj.Mu(e,f)?e.x= |
|
f.x:g.cj.Ku(e,f)&&(f.x=e.x)),this.uk.length=0,g.cj.tF(this.Wa.Tb,this.Wa.kc,this.Wa.ze,f,e,this.Wa.QA,this.Wa.Zs,null,this.Nj,this.Gs,this.uk,this.bw),this.OD(b),d--;e.L(this.rw.Na(this.sd.wb()));e.scale(this.Wa.ec);c.Hr(this.Wa.Tb,this.Wa.kc,this.Wa.ec,this.Wa.rb,e,this.di+1.570796326794897,this.di+4.71238898038469,this.Wa.ao,this.sl,this.sk,b,NaN,NaN);this.sd.Vb(h);this.sd.ha();d=g.ta.kj(null,b,!0);return b=g.Fg.Mk(b,d,!0,!0,this.Wa.Ub)}this.Xn=!1;this.sd.ha();b=g.aa.jg(this.qq);return b=g.Fg.Mk(b, |
|
this.Wa.Aq,!0,!0,this.Wa.Ub)};a.prototype.OD=function(b){var d=this.uk[0],e=this.Nj[0]-1.570796326794897,f=this.Gs[0]+1.570796326794897;if(!isNaN(this.di)){if(this.di>=this.Nj[0]){var h=this.di+1.570796326794897;e=h+3.141592653589793-(this.di-this.Nj[0])}else h=this.di+1.570796326794897,e=h+3.141592653589793-(6.283185307179586-(this.Nj[0]-this.di));var k=this.di>=this.Nj[0]&&3.141592653589793>=this.di-this.Nj[0]?!1:this.di<this.Nj[0]&&3.141592653589793<=this.Nj[0]-this.di?!1:!0,m=!1;if(Math.abs(e- |
|
h)<=.5*this.Wa.ao)if(k){var n=b.Na(b.I()-2);n.scale(this.Wa.ec);var p=new g.ga(0);g.kb.Xy(this.Wa.Tb,this.Wa.kc,d.x,d.y,n.x,n.y,p);for(n=p.u;n<=h;)n+=6.283185307179586;for(;n>h;)n-=6.283185307179586;n<e&&(m=!0)}else m=!0;m?(b.DB(0,b.I()-1),this.sl||(d=new g.h,d.L(b.Na(b.I()-1)),d.scale(this.Wa.ec),-3.141592653589793>d.x-this.sk[0]?this.sk[0]-=6.283185307179586:3.141592653589793<d.x-this.sk[0]&&(this.sk[0]+=6.283185307179586)),k||(e=.5*(e+h))):(k?(h=new g.h,h.L(d),h.scale(1/this.Wa.ec),b.wf(0,-1,h)): |
|
c.Hr(this.Wa.Tb,this.Wa.kc,this.Wa.ec,this.Wa.rb,this.uk[0],h,e,this.Wa.ao,this.sl,this.sk,b,NaN,NaN),this.FA+=1)}c.qy(this.Wa.Tb,this.Wa.kc,this.Wa.ec,this.Wa.rb,this.Wa.ze,this.uk,e,f,this.sl,this.sk,b);this.di=this.Gs[0]};a.prototype.xy=function(b,d){return this.Wa.xy(this.uk,b,this.Nj[0],this.Gs[0],this.sl,d)};a.prototype.La=function(){return 0};return a}(),c=function(){function a(){}a.buffer=function(b,d,e,f,h,k){if(null==b)throw g.i.N("Geometry::Geodesic_bufferer::buffer");if(b.B())return new g.Da(b.description); |
|
var m=new a;m.Qg=d;m.Jc=g.cb.sc(d);var n=g.cb.vv(m.Jc);m.Ub=k;m.Tb=g.cb.ev(m.Jc);m.kc=n*(2-n);m.ec=m.Jc.Hd().ai;m.qa=m.Qg.Kn();m.Aq=m.Jc.Kn();m.Zs=m.Aq*m.ec;m.zq=1.570796326794897/m.ec;m.OY=3.141592653589793/m.ec;m.Js=6.283185307179586/m.ec;m.PY=m.Js/6;m.LA=0;m.NY=1.5707963267948966*m.Tb/m.LA;4==e?(m.ze=2,m.Wv=!0):(m.ze=e,m.Wv=!1);m.Ka=f;m.rb=Math.abs(f);isNaN(h)||.001>h?m.xX():m.$n=h;e=b.getType();g.aa.yd(e)?(e=new g.Ta(b.description),e.oc(b,!0),b=e,e=1607):197==e&&(e=new g.l,b.A(e),e.R()<=m.qa|| |
|
e.ca()<=m.qa?(e=new g.Ta(b.description),e.ad(b,!1),b=e,e=1607):(e=new g.Da(b.description),e.ad(b,!1),b=e,e=1736));m.yX();g.aa.Rn(e)||m.zX();if(m.rb<=.5*m.$n)return 1736!=e?new g.Da(b.description):m.Wv?b:g.cj.Qr(b,m.Qg,m.ze,m.QA,-1,k);if(0>m.Ka&&1736!=e)return new g.Da(b.description);m.Wv&&g.aa.Hc(e)?(d=g.cj.Qr(b,d,4,NaN,m.$n,k),b=g.cb.zh(d,m.Qg,m.Jc)):b=g.cb.zh(b,m.Qg,m.Jc);b=g.Hh.lj(b,m.Jc);if(b.B())return new g.Da(b.description);!m.Wv&&g.aa.Hc(e)&&(b=g.cj.pI(m.ec,b));b=a.KX(b,m.Jc);switch(e){case 1736:d= |
|
m.UN(b);break;case 1607:d=m.VN(b);break;case 550:d=m.SN(b);break;case 33:d=m.TN(b);break;default:throw g.i.fa("corrupted_geometry");}m=g.cb.zh(d,m.Jc,m.Qg);m.Jl(b.description);return m};a.prototype.UN=function(b){var d=new g.Da;b=new l(this,b,d);b=g.Gh.local().V(b,this.Jc,this.Ub).next();b=g.ip.nj(b,this.Jc,2);var e=new g.Dd;e.scale(1/this.ec,1/this.ec);d.Oc(e);d=g.ip.nj(d,this.Jc,2);return 0<=this.Ka?g.Gh.local().V(d,b,this.Jc,this.Ub):g.kp.local().V(d,b,this.Jc,this.Ub)};a.prototype.VN=function(b){b= |
|
new l(this,b,null);b=g.Gh.local().V(b,this.Jc,this.Ub).next();return b=g.ip.nj(b,this.Jc,2)};a.prototype.SN=function(b){b=new v(this,b);b=g.Gh.local().V(b,this.Jc,this.Ub).next();return b=g.ip.nj(b,this.Jc,2)};a.prototype.TN=function(b){b=b.D();b.scale(this.ec);var d=new g.Da;this.sy(b,!1,d);return d=g.ip.nj(d,this.Jc,2)};a.prototype.xy=function(b,d,e,f,h,k){var m=b[0],n=b[b.length-1],p=m.y>n.y?m.y:n.y,q=g.F.q(this.Tb,this.kc,m.y<n.y?m.y:n.y);p=g.F.q(this.Tb,this.kc,p);if(.001<this.LA-(q+d+this.rb)&& |
|
.001<this.LA+(p-d-this.rb))return!1;d=e-1.570796326794897;e=f+1.570796326794897;q=d-3.141592653589793;p=d+3.141592653589793;var r=e+3.141592653589793,t=[NaN],u=[NaN],w=[NaN],y=[NaN];f=!1;a.dJ(this.Tb,this.kc,this.rb,m,d,q,n,e,t,u);a.dJ(this.Tb,this.kc,this.rb,n,r,e,m,q,w,y);e<t[0]&&t[0]<r?f=!0:e<u[0]&&u[0]<r&&(f=!0);f||(q<w[0]&&w[0]<d?f=!0:q<y[0]&&y[0]<d&&(f=!0));if(!f&&h)return!1;for(var x=[],z=b.length-1;0<=z;z--)x.push(b[z]);k.Oa();k.Yk(null,0);z=[0];a.qy(this.Tb,this.kc,this.ec,this.rb,this.ze, |
|
b,d,e,h,z,k);a.Hr(this.Tb,this.kc,this.ec,this.rb,n,e,r,this.ao,h,z,k,t[0],u[0]);a.qy(this.Tb,this.kc,this.ec,this.rb,this.ze,x,r,p,h,z,k);a.Hr(this.Tb,this.kc,this.ec,this.rb,m,q,d,this.ao,h,z,k,w[0],y[0]);b=!1;h||(b=this.IE(this.ec,k));return f||b};a.prototype.sy=function(b,d,e){e.Oa();e.Yk(null,0);a.Hr(this.Tb,this.kc,this.ec,this.rb,b,-this.ao,6.283185307179586,this.ao,d,[0],e,NaN,NaN);d||this.IE(this.ec,e)};a.prototype.IE=function(b,d){var e=this.vO(b,d);b=this.wO(b,d);return e||b};a.prototype.vO= |
|
function(b,d){var e=d.I(),f=!1,h=new g.l;d.A(h);if(!g.s.Y(h.H*b,1.570796326794897)&&!g.s.Y(h.G*b,-1.570796326794897))return!1;var k=new g.h;for(--e;0<=e;e--)d.D(e,k),k.y==h.H&&g.s.Y(k.y*b,1.570796326794897)?(f=!0,this.OI(k,e,d)):k.y==h.G&&g.s.Y(k.y*b,-1.570796326794897)&&(f=!0,this.OI(k,e,d));return f};a.prototype.wO=function(b,d){var e=d.Na(0),f=d.Na(d.I()-1);return 3.141592653589793<Math.abs(e.x-f.x)*b?(this.VV(d),!0):this.uO(d)};a.prototype.uO=function(b){return 0>b.Ke()?(this.UV(b),!0):!1};a.prototype.OI= |
|
function(b,d,e){var f=e.I(),h=0<d?d-1:f-1;f=e.Na(d<f-1?d+1:0);h=e.Na(h);if(!g.s.Y(f.y,b.y)&&!g.s.Y(f.x,b.x)){var k=new g.h;k.ma(f.x,b.y);e.Cb(d,k)}g.s.Y(h.y,b.y)||g.s.Y(h.x,b.x)||(f=new g.h,f.ma(h.x,b.y),e.wf(0,d,f))};a.prototype.VV=function(b){var d=new g.Da,e=new g.Da,f=new g.Dd,h=b.Na(0),k=b.Na(b.I()-1),m=new g.h;h.x>k.x?(k=this.zq,f.gg(-this.Js,0)):(k=-this.zq,f.gg(this.Js,0));d.add(b,!1);b.Oa();e.add(d,!1);e.Oc(f);h=new g.l;e.A(h);h.W((this.Js-h.R())/2,0);h.G=-this.zq;h.H=this.zq;for(var n=0;n< |
|
e.I();n++)e.D(n,m),d.wf(0,-1,m);e.Oc(f);for(n=0;n<e.I();n++)e.D(n,m),d.wf(0,-1,m);e=d.Na(0);f=d.Na(d.I()-1);m.ma(f.x,k);d.wf(0,-1,m);m.ma(.5*(f.x+e.x),k);d.wf(0,-1,m);m.ma(e.x,k);d.wf(0,-1,m);d=g.Hh.ks(d,this.Jc,2,!0,h.v);d=g.Hh.ks(d,this.Jc,2,!0,h.C);d=g.Ud.clip(d,h,this.Aq,NaN);b.add(d,!1)};a.prototype.UV=function(b){var d=new g.l;b.A(d);d.W((this.Js-d.R())/2,0);d.G=-this.zq;d.H=this.zq;b.Yk(null,0);var e=new g.h;e.ma(d.v,d.G);b.wf(1,-1,e);e.ma(d.v,d.H);b.wf(1,-1,e);e.ma(.5*(d.v+d.C),d.H);b.wf(1, |
|
-1,e);e.ma(d.C,d.H);b.wf(1,-1,e);e.ma(d.C,d.G);b.wf(1,-1,e);e.ma(.5*(d.v+d.C),d.G);b.wf(1,-1,e)};a.qy=function(b,d,e,f,h,k,m,n,p,q,r){var t=null;p||(t=new g.h,t.Rc(),0<r.I()&&(t.L(r.Na(r.I()-1)),t.scale(e)));var u=new g.ga(0),w=new g.ga(0),y=new g.ga(0),x=new g.h,z=new g.h,A=k[k.length-1];e=1/e;for(var B=0;B<k.length;B++){var C=k[B];if(0==B)var E=m;else B==k.length-1?E=n:(g.kb.wd(b,d,A.x,A.y,C.x,C.y,null,null,u,h),E=u.u-1.570796326794897);g.kb.yi(b,d,C.x,C.y,f,E,w,y);p?z.ma(w.u,y.u):(x.ma(w.u,y.u), |
|
a.gJ(C.x,x.x,t.x,q),z.ma(q[0]+x.x,x.y),t.L(z));z.scale(e);r.wf(0,-1,z)}};a.Hr=function(b,d,e,f,h,k,m,n,p,q,r,t,u){if(!(m-k<n)){var w=new g.ga(0),y=new g.ga(0),x=new g.h,z=new g.h,A=null;p||(A=new g.h,A.Rc(),0<r.I()&&(A.L(r.Na(r.I()-1)),A.scale(e)));var B=g.O.truncate(Math.ceil(k/n)),C=B++*n;C==k&&(C=B++*n);for(e=1/e;C<m+n;){k<t&&t<C?(C=t,B--):k<u&&u<C&&(C=u,B--);if(C>=m)break;g.kb.yi(b,d,h.x,h.y,f,C,w,y);p?z.ma(w.u,y.u):(x.ma(w.u,y.u),a.gJ(h.x,x.x,A.x,q),z.ma(q[0]+x.x,x.y),A.L(z));z.scale(e);r.wf(0, |
|
-1,z);k=C;C=B++*n}}};a.dJ=function(b,d,e,f,h,k,m,n,p,q){var r=new g.h,t=new g.h,u=new g.ga(0),w=new g.ga(0);g.kb.yi(b,d,f.x,f.y,e,h,u,w);r.ma(u.u,w.u);g.kb.yi(b,d,f.x,f.y,e,k,u,w);t.ma(u.u,w.u);e=new g.ga(0);g.kb.Xy(b,d,m.x,m.y,r.x,r.y,e);p[0]=e.u;g.kb.Xy(b,d,m.x,m.y,t.x,t.y,e);for(q[0]=e.u;p[0]<=q[0];)p[0]+=6.283185307179586;for(;p[0]>q[0];)p[0]-=6.283185307179586;for(;p[0]>=n;)p[0]-=6.283185307179586,q[0]-=6.283185307179586;for(;p[0]<n;)p[0]+=6.283185307179586,q[0]+=6.283185307179586};a.gJ=function(b, |
|
d,e,f){if(isNaN(e)){for(;3.141592653589793<f[0]+d-b;)f[0]-=6.283185307179586;for(;3.141592653589793<b-(f[0]+d);)f[0]+=6.283185307179586}else 3.141592653589793<f[0]+d-e?f[0]-=6.283185307179586:3.141592653589793<e-(f[0]+d)&&(f[0]+=6.283185307179586)};a.KX=function(b,d){var e=b.getType(),f=g.aa.Hc(e)?b.da():550==e?b.I():1;if(1==f)return b;var h=new g.ia(0);h.resize(f);for(var k=[],m=new g.l,n=0;n<f;n++){h.write(n,n);if(g.aa.Hc(e)){b.Rj(n,m);var p=m.sf()}else p=b.Na(n);p=g.XK.$X(d,p);k[n]=p}h.Vd(0,h.size, |
|
function(q,r){return k[q]<k[r]?-1:k[q]>k[r]?1:0});d=b.Ia();for(n=0;n<f;n++)m=h.read(n),g.aa.Hc(e)?d.addPath(b,m,!0):d.Fd(b,m,m+1);return d};a.prototype.yX=function(){var b=Math.min(3.141592653589793*this.Tb-this.rb,this.rb);b=Math.min(b,.39269908169872414*this.Tb);var d=new g.h;d.ma(0,10*this.ec);var e=45*this.ec,f=new g.ga(0),h=new g.ga(0),k=new g.ga(0),m=new g.ga(0),n=new g.ga(0),p=new g.ga(0),q=new g.ga(0),r=new g.ga(0),t=new g.h,u=new g.h,w=new g.h,y=new g.h;g.kb.yi(this.Tb,this.kc,d.x,d.y,b, |
|
0,f,h);t.ma(f.u,h.u);g.kb.yi(this.Tb,this.kc,d.x,d.y,b,e,k,m);u.ma(k.u,m.u);f=new g.ga(0);h=new g.ga(0);for(var x=new g.ga(0);;){g.kb.yi(this.Tb,this.kc,d.x,d.y,b,.5*(0+e),n,p);w.ma(n.u,p.u);g.kb.wd(this.Tb,this.kc,t.x,t.y,u.x,u.y,f,h,null,2);g.kb.oj(this.Tb,this.kc,t.x,t.y,.5*f.u,h.u,q,r,2);y.ma(q.u,r.u);g.kb.wd(this.Tb,this.kc,w.x,w.y,y.x,y.y,x,null,null,2);if(x.u<=this.$n)break;e*=.9;g.kb.yi(this.Tb,this.kc,d.x,d.y,b,e,k,m);u.ma(k.u,m.u)}this.ao=6.283185307179586/Math.ceil(6.283185307179586/(e- |
|
0))};a.prototype.zX=function(){var b=Math.min(3.141592653589793*this.Tb-this.rb,this.rb);b=Math.min(b,.39269908169872414*this.Tb);var d=new g.h,e=new g.h;d.ma(0,10*this.ec);e.ma(10*this.ec,10*this.ec);var f=new g.ga(0),h=new g.ga(0),k=new g.ga(0);g.kb.wd(this.Tb,this.kc,d.x,d.y,e.x,e.y,k,f,h,this.ze);var m=new g.ga(0),n=new g.ga(0),p=new g.ga(0),q=new g.ga(0),r=new g.h,t=new g.ga(0),u=new g.ga(0),w=new g.ga(0),y=new g.ga(0),x=new g.ga(0),z=new g.ga(0),A=new g.ga(0),B=new g.ga(0),C=new g.ga(0),E=new g.h, |
|
F=new g.h,H=new g.h,G=new g.h,J=1;f=f.u;h=h.u+1.570796326794897;k=k.u;g.kb.yi(this.Tb,this.kc,d.x,d.y,b,f-1.570796326794897,u,w);E.ma(u.u,w.u);g.kb.yi(this.Tb,this.kc,e.x,e.y,b,h,y,x);F.ma(y.u,x.u);u=new g.ga(0);w=new g.ga(0);h=new g.ga(0);for(var I=new g.ga(0);;){g.kb.oj(this.Tb,this.kc,d.x,d.y,.5*(0+J)*k,f,m,n,this.ze);r.ma(m.u,n.u);g.kb.wd(this.Tb,this.kc,d.x,d.y,r.x,r.y,null,null,t,this.ze);g.kb.yi(this.Tb,this.kc,r.x,r.y,b,t.u+1.570796326794897,z,A);H.ma(z.u,A.u);g.kb.wd(this.Tb,this.kc,E.x, |
|
E.y,F.x,F.y,u,w,null,2);g.kb.oj(this.Tb,this.kc,E.x,E.y,.5*u.u,w.u,B,C,2);G.ma(B.u,C.u);g.kb.wd(this.Tb,this.kc,H.x,H.y,G.x,G.y,h,null,null,2);if(h.u<=this.$n)break;J*=.9;g.kb.oj(this.Tb,this.kc,d.x,d.y,J*k,f,p,q,this.ze);e.ma(p.u,q.u);g.kb.wd(this.Tb,this.kc,d.x,d.y,e.x,e.y,null,null,I,this.ze);g.kb.yi(this.Tb,this.kc,e.x,e.y,b,I.u+1.570796326794897,y,x);F.ma(y.u,x.u)}b=J*k;1E5<b&&(b=1E5);this.QA=b};a.prototype.xX=function(){var b=5E4<this.rb?100:1E4<this.rb?10:1;500>this.rb/b&&(b=this.rb/500);.01> |
|
b&&(b=.01);this.$n=b};return a}();g.VK=c})(D||={});(function(g){var v=function(){function l(){}l.Mf=function(c,a){var b=new g.h;b.L(a);c.push(b)};l.up=function(c,a){c.add(a.x);c.add(a.y)};l.hB=function(c){c.Bh(c.size-2)};l.oB=function(c,a){a.ma(c.get(c.size-2),c.get(c.size-1))};l.Qr=function(c,a,b,d,e,f){if(null==c)throw g.i.N();var h=c.getType();if(c.B()||g.aa.Rn(h))return c;var k=new l;k.Qg=a;k.Jc=g.cb.sc(a);var m=g.cb.vv(k.Jc);k.Ub=f;k.Tb=g.cb.ev(k.Jc);k.kc=m*(2-m);k.ec=k.Jc.Hd().ai;k.Aq=k.Jc.Kn(); |
|
k.Zs=k.Aq*k.ec;k.AA=d;k.zA=e;k.ze=b;197==h?(b=new g.Da(c.description),b.ad(c,!1)):g.aa.yd(h)?(b=new g.Ta(c.description),b.oc(c,!0)):b=c;if(4!=k.ze){a=0==k.Qg.Nb(k.Jc)?g.cb.zh(b,k.Qg,k.Jc):g.Hh.lj(b,k.Jc);if(a.B())return a;a=l.pI(k.ec,a);a=k.Zy(a);a=g.ip.nj(a,k.Jc,k.ze);k=g.cb.zh(a,k.Jc,k.Qg)}else{2==g.Eg.Sb(a)?(c=g.cb.ml(),a=g.Xj.local().V(b,c,a,f),a==c&&(a=new g.Da,c.copyTo(a))):a=g.Hh.lj(b,k.Jc);if(a.B())return a;k=k.CX(a)}return k};l.pI=function(c,a){var b=new g.l;a.xc(b);if(3.141592653589793> |
|
b.R()*c)return a;var d=!1;b=a.Ga();for(var e=new g.h,f=new g.h;b.$a();)for(;b.Ha();){var h=b.ha();e.L(h.ac());f.L(h.wc());e.scale(c);f.scale(c);if(3.141592653589793<Math.abs(e.x-f.x)){var k=l.Lu(e,f);if(!k){d=!0;break}if(6.283185307179586<Math.abs(e.x-f.x)){d=!0;break}}}if(!d)return a;d=a.Ia();var m=1<a.description.Aa,n=new g.h,p=new g.h,q=new g.h,r=new g.h,t=new g.Sa;for(b.Zi();b.$a();)for(var u=NaN,w=[0];b.Ha();){h=b.ha();e.L(h.ac());f.L(h.wc());e.scale(c);f.scale(c);isNaN(u)?(l.Wi(e.x,NaN,w),p.L(e)): |
|
p.L(q);u=p.x;if(k=l.Lu(e,f)){if(6.283185307179586<f.x-e.x)for(;6.283185307179586<f.x-e.x;)f.x-=6.283185307179586;if(-6.283185307179586>f.x-e.x)for(;-6.283185307179586>f.x-e.x;)f.x+=6.283185307179586;l.Wi(f.x,NaN,w);q.L(f)}else n.L(f),l.AU(n),l.Wi(n.x,u,w),q.ma(w[0]+n.x,n.y);.5>Math.abs(q.x-f.x)&&q.L(f);m?(h.Tw(0,t),r.L(p),r.scale(1/c),t.Cb(r),(k=b.vm())?d.nf(t):d.lineTo(t),b.Qn()&&!a.dc(b.gb)&&(h.Tw(1,t),r.L(q),r.scale(1/c),t.Cb(r),d.lineTo(t))):((k=b.vm())&&d.Hz(null,0),h=d.da()-1,r.L(p),r.scale(1/ |
|
c),d.wf(h,-1,r),b.Qn()&&!a.dc(b.gb)&&(r.L(q),r.scale(1/c),d.wf(h,-1,r)))}return d};l.tF=function(c,a,b,d,e,f,h,k,m,n,p,q){var r=new g.h,t=new g.h,u=0<d.compare(e);l.fJ(u,d,e,r,t);l.uF(c,a,b,r,t,f,NaN,h,k,m,n,null,p,q);u&&l.fC(m,n,null,p)};l.prototype.Zy=function(c){var a=c.Ia(),b=c.Ga(),d=[],e=null,f=null,h=1<c.description.Aa;h&&(e=new g.be(0),f=new g.ig);for(var k=[0],m=new g.h,n=new g.h,p=new g.h,q=new g.h;b.$a();)for(k[0]=0;b.Ha();){var r=b.ha();m.L(r.ac());n.L(r.wc());m.scale(this.ec);n.scale(this.ec); |
|
var t=0<m.compare(n);l.fJ(t,m,n,p,q);d.length=0;null!=e&&e.Bh(0);0<this.AA?l.uF(this.Tb,this.kc,this.ze,p,q,this.AA,this.zA,this.Zs,null,null,null,h?e:null,d,k):l.aR(this.Tb,this.kc,this.ze,p,q,this.zA,this.Zs,h?e:null,d,k);t&&l.fC(null,null,h?e:null,d);d[0].L(r.ac());d[d.length-1].L(r.wc());for(var u=1;u<d.length-1;u++)d[u].scale(1/this.ec);h?(t=l.eJ(t,r,f),l.TD(b.vm(),b.Qn()&&!c.dc(b.gb),r,t,e,d,a)):l.SD(b.vm(),b.Qn()&&!c.dc(b.gb),d,a)}return a};l.prototype.CX=function(c){var a=c.Ia(),b=c.Ga(), |
|
d=[],e=null,f=new g.ig,h=1<c.description.Aa;for(h&&(e=new g.be(0));b.$a();)for(;b.Ha();){var k=b.ha(),m=k.ac(),n=k.wc();m=0<m.compare(n);n=l.eJ(m,k,f);d.length=0;null!=e&&e.Bh(0);l.BX(this.Tb,this.kc,this.ec,n,this.Qg,this.AA,this.zA,h?e:null,d);m&&l.fC(null,null,h?e:null,d);h?l.TD(b.vm(),b.Qn()&&!c.dc(b.gb),k,n,e,d,a):l.SD(b.vm(),b.Qn()&&!c.dc(b.gb),d,a)}return a};l.SD=function(c,a,b,d){c&&d.Hz(null,0);c=d.da()-1;var e=b.slice(0);d.qG(c,e,e.length-1);a&&d.wf(c,-1,b[b.length-1])};l.TD=function(c, |
|
a,b,d,e,f,h){var k=new g.Sa;b.To(k);c?h.nf(k):h.lineTo(k);if(2<f.length){c=d.Qb();for(var m=1;m<f.length-1;m++){var n=d.NG(e.get(m)*c);d.Tw(n,k);k.Cb(f[m]);h.lineTo(k)}}a&&(b.Po(k),h.lineTo(k))};l.uF=function(c,a,b,d,e,f,h,k,m,n,p,q,r,t){var u=new g.ga(0),w=new g.ga(0),y=new g.ga(0);g.kb.wd(c,a,d.x,d.y,e.x,e.y,y,u,w,b);y=y.u;var x=u=u.u;w=w.u;0>x&&(x+=6.283185307179586);0>w&&(w+=6.283185307179586);null!=m&&(m[0]=y);null!=n&&(n[0]=x);null!=p&&(p[0]=w);n=m=NaN;null!=q&&(n=g.F.Ah(c,a),p=g.F.q(c,a,d.y), |
|
m=(n-p)/y,n=(n+p)/y);p=l.Mu(d,e);w=l.Ku(d,e);x=p||w;var z=l.FE(d,e,k),A=new g.ga(0),B=new g.ga(0),C=new g.h,E=new g.h,F=new g.h;l.Wi(d.x,NaN,t);var H=[t[0]];if(y<=f)l.Mf(r,d),l.Wi(e.x,NaN,t),null!=q&&q.add(0),x?(p&&l.kB(d,e,q,r),w&&l.iB(d,e,q,r)):z?l.jB(d,e,u,m,n,q,r):0<h&&(E.ma(d.x-H[0],d.y),C.ma(e.x-t[0],e.y),l.Yy(c,a,b,d,y,u,E,C,0,1,h,q,r,H)),l.Mf(r,e);else{f=1+g.O.truncate(Math.ceil(y/f));var G=y/(f-1),J=new g.h,I=0;l.Mf(r,d);J.L(d);E.ma(d.x-t[0],d.y);null!=q&&q.add(0);for(var L=1;L<f;L++){if(L< |
|
f-1){g.kb.oj(c,a,d.x,d.y,L*G,u,A,B,b);C.ma(A.u,B.u);l.Wi(C.x,J.x,t);F.ma(t[0]+C.x,C.y);var M=L/(f-1)}else l.Wi(e.x,NaN,t),C.ma(e.x-t[0],e.y),F.L(e),M=1;x?(1==L&&p&&l.kB(d,F,q,r),L==f-1&&w&&l.iB(J,e,q,r)):z?l.EE(J,F,k)&&(d.x<e.x?J.x>F.x&&(t[0]+=6.283185307179586,F.ma(t[0]+C.x,C.y)):J.x<F.x&&(t[0]-=6.283185307179586,F.ma(t[0]+C.x,C.y)),l.jB(J,F,u,m,n,q,r)):0<h&&l.Yy(c,a,b,d,y,u,E,C,I,M,h,q,r,H);l.Mf(r,F);null!=q&&q.add(M);J.L(F);E.L(C);H[0]=t[0];I=M}}};l.aR=function(c,a,b,d,e,f,h,k,m,n){var p=new g.ga(0), |
|
q=new g.ga(0),r=new g.ga(0);g.kb.wd(c,a,d.x,d.y,e.x,e.y,r,p,q,b);q=r.u;p=p.u;var t=r=NaN;if(null!=k){t=g.F.Ah(c,a);var u=g.F.q(c,a,d.y);r=(t-u)/q;t=(t+u)/q}u=l.Mu(d,e);var w=l.Ku(d,e),y=u||w;h=l.FE(d,e,h);var x=l.Lu(d,e);x=y||h||x;l.Wi(d.x,NaN,n);var z=new g.h;l.Mf(m,d);z.L(d);null!=k&&k.add(0);x?(y?(u&&l.kB(d,e,k,m),w&&l.iB(d,e,k,m)):h&&l.jB(d,e,p,r,t,k,m),l.Wi(e.x,NaN,n),l.Mf(m,e)):q<=f?(l.Wi(e.x,NaN,n),l.Mf(m,e)):(r=new g.h,h=new g.h,r.L(d),h.L(e),r.x-=n[0],h.x-=n[0],-3.141592653589793>h.x?h.x+= |
|
6.283185307179586:3.141592653589793<h.x&&(h.x-=6.283185307179586),l.Yy(c,a,b,d,q,p,r,h,0,1,f,k,m,n),l.Mf(m,e),l.Wi(e.x,NaN,n));null!=k&&k.add(1)};l.Yy=function(c,a,b,d,e,f,h,k,m,n,p,q,r,t){var u=new g.h,w=new g.h;u.ma(h.x+t[0],h.y);new g.ga(0);new g.ga(0);new g.ga(0);new g.ga(0);var y=new g.ga(0),x=new g.ga(0),z=new g.ga(0),A=new g.h,B=new g.h,C=new g.h,E=new g.h;A.L(h);B.L(k);h=new g.be(0);k=new g.be(0);l.up(h,B);k.add(n);var F=new g.h,H=new g.yb,G=[];for(l.YJ(4,G);0<h.size;){for(var J=!1,I,L=NaN, |
|
M=0;3>M;M++)if(I=G[M]*n+(1-G[M])*m,g.kb.oj(c,a,d.x,d.y,I*e,f,y,x,b),C.ma(y.u,x.u),0==M&&(L=I,E.L(C)),l.WW(A,C,B,H),H.hc(H.fe(C,!0),F),g.kb.wd(c,a,C.x,C.y,F.x,F.y,z,null,null,2),z.u>p){J=!0;break}J?(B.L(E),n=L,l.up(h,B),k.add(n)):(l.hB(h),k.En(k.size-1,1,k.size-1),0<h.size&&(l.Wi(B.x,u.x,t),w.ma(t[0]+B.x,B.y),l.Mf(r,w),u.L(w),null!=q&&q.add(n),A.L(B),m=n,l.oB(h,B),n=k.get(k.size-1)))}};l.BX=function(c,a,b,d,e,f,h,k,m){var n=new g.h,p=new g.h,q=new g.h,r=new g.h,t=new g.h,u=new g.h,w=new g.h,y=new g.h, |
|
x=new g.h,z=new g.h,A=new g.ga(0),B=new g.ga(0),C=new g.h,E=[[],[]],F=1==g.Eg.Sb(e);e=e.Xd(0);var H=d.ac(),G=d.wc();F?(u.ma(H.x*b,H.y*b),w.ma(G.x*b,G.y*b)):(E[0][0]=H.x,E[0][1]=H.y,E[1][0]=G.x,E[1][1]=G.y,g.cb.vt(),u.x=E[0][0]*b,u.y=E[0][1]*b,w.x=E[1][0]*b,w.y=E[1][1]*b);var J=0,I=0,L=1,M=d.Pn();n.L(H);p.L(G);G=new g.be(0);var Q=new g.be(0),U=new g.be(0);l.up(G,p);l.up(Q,w);U.add(L);l.Mf(m,n);null!=k&&k.add(I);var ba=[],Y=0<h?M?5:3:M?5:1;l.YJ(Y,ba);for(var P=new g.ga(0),S=new g.ga(0),O=new g.ga(0), |
|
Z=new g.ga(0),X=new g.ga(0),ea=new g.ga(0),T=new g.ga(0);0<Q.size;){var ca=!1,V=NaN;g.kb.wd(c,a,u.x,u.y,w.x,w.y,P,S,null,2);for(H=0;H<Y;H++){if(0==H){if(!M&&0>=h&&P.u<=f&&3.141592653589793>Math.abs(u.x-w.x))break;if(d.Ux(I,L)<=e)break}var pa=ba[H]*L+(1-ba[H])*I;d.hc(pa,q);F?y.ma(q.x*b,q.y*b):(E[0][0]=q.x,E[0][1]=q.y,g.cb.vt(),y.x=E[0][0]*b,y.y=E[0][1]*b);if(0==H&&(V=pa,t.L(q),z.L(y),0<f&&(P.u>f||3.141592653589793<=Math.abs(u.x-w.x)))){ca=!0;break}if(M&&0<f){if(g.kb.wd(c,a,u.x,u.y,y.x,y.y,O,null,null, |
|
2),O.u>f||3.141592653589793<=Math.abs(u.x-y.x)){ca=!0;break}}else if(0<h)if(M?(r.NS(n,p,ba[H]),F?x.ma(r.x*b,r.y*b):(E[0][0]=r.x,E[0][1]=r.y,g.cb.vt(),x.x=E[0][0]*b,x.y=E[0][1]*b)):(r.L(q),x.L(y)),g.kb.wd(c,a,u.x,u.y,x.x,x.y,Z,null,null,2),Z.u<=P.u){g.kb.oj(c,a,u.x,u.y,Z.u,S.u,A,B,2);C.ma(A.u,B.u);g.kb.wd(c,a,C.x,C.y,y.x,y.y,X,null,null,2);if(X.u>h){ca=!0;break}if(M){g.kb.wd(c,a,C.x,C.y,x.x,x.y,ea,null,null,2);if(ea.u>h){ca=!0;break}g.kb.wd(c,a,x.x,x.y,y.x,y.y,T,null,null,2);if(T.u>h){ca=!0;break}}}else{ca= |
|
!0;break}}ca?(p.L(t),w.L(z),L=V,l.up(G,p),l.up(Q,w),U.add(L)):(l.hB(G),l.hB(Q),U.En(U.size-1,1,U.size-1),l.Mf(m,p),J+=P.u,null!=k&&k.add(J),0<Q.size&&(n.L(p),u.L(w),I=L,l.oB(G,p),l.oB(Q,w),L=U.get(U.size-1)))}if(null!=k)for(c=1/J,H=0;H<k.size;H++)k.write(H,k.read(H)*c)};l.fC=function(c,a,b,d){d.reverse();null!=b&&b.ni(0,b.size,1);b=null!=c?c[0]:NaN;d=null!=a?a[0]:NaN;null!=c&&(c[0]=d);null!=a&&(a[0]=b)};l.fJ=function(c,a,b,d,e){c?(d.L(b),e.L(a)):(d.L(a),e.L(b))};l.eJ=function(c,a,b){if(!c)return a; |
|
b.create(a.getType());a.copyTo(b.get());b.get().reverse();return b.get()};l.Wi=function(c,a,b){if(isNaN(a)){for(;3.141592653589793<b[0]-c;)b[0]-=6.283185307179586;for(;3.141592653589793<c-b[0];)b[0]+=6.283185307179586}else 3.141592653589793<b[0]+c-a?b[0]-=6.283185307179586:3.141592653589793<a-(b[0]+c)&&(b[0]+=6.283185307179586)};l.WW=function(c,a,b,d){3.141592653589793>Math.abs(a.x-c.x)?(d.Dc(c),3.141592653589793<=b.x-c.x?d.Ql(b.x-6.283185307179586,b.y):3.141592653589793<=c.x-b.x?d.Ql(b.x+6.283185307179586, |
|
b.y):d.Ql(b.x,b.y)):(d.Dc(b),3.141592653589793<=c.x-b.x?d.Ql(c.x-6.283185307179586,c.y):3.141592653589793<=b.x-c.x?d.Ql(c.x+6.283185307179586,c.y):d.Ql(c.x,c.y))};l.YJ=function(c,a){for(var b=0;b<c;b++){var d=Math.ceil(b/2)/(c+1);0!=b%2&&(d=-d);a[b]=.5+d}};l.Mu=function(c,a){return g.s.Y(c.y,1.570796326794897)&&!g.s.Y(a.y,1.570796326794897)||g.s.Y(c.y,-1.570796326794897)&&!g.s.Y(a.y,-1.570796326794897)?!0:!1};l.Ku=function(c,a){return g.s.Y(a.y,1.570796326794897)&&!g.s.Y(c.y,1.570796326794897)||g.s.Y(a.y, |
|
-1.570796326794897)&&!g.s.Y(c.y,-1.570796326794897)?!0:!1};l.FE=function(c,a,b){return!l.EE(c,a,b)||g.s.Y(c.y,1.570796326794897)||g.s.Y(c.y,-1.570796326794897)||g.s.Y(a.y,1.570796326794897)||g.s.Y(a.y,-1.570796326794897)?!1:!0};l.EE=function(c,a,b){return Math.abs(Math.abs(c.x-a.x)-3.141592653589793)<=b?!0:!1};l.Lu=function(c,a){return g.s.Y(c.y,1.570796326794897)&&g.s.Y(a.y,1.570796326794897)||g.s.Y(c.y,-1.570796326794897)&&g.s.Y(a.y,-1.570796326794897)?!0:!1};l.kB=function(c,a,b,d){if(0<c.y){var e= |
|
new g.h;e.ma(a.x,1.570796326794897)}else e=new g.h,e.ma(a.x,-1.570796326794897);g.s.Y(c.x,e.x)||g.s.Y(a.y,e.y)||(l.Mf(d,e),null!=b&&b.add(0))};l.iB=function(c,a,b,d){if(0<a.y){var e=new g.h;e.ma(c.x,1.570796326794897)}else e=new g.h,e.ma(c.x,-1.570796326794897);g.s.Y(a.x,e.x)||g.s.Y(c.y,e.y)||(l.Mf(d,e),null!=b&&b.add(1))};l.jB=function(c,a,b,d,e,f,h){g.s.Cd(b)?(0<1.570796326794897-c.y&&(b=new g.h,b.ma(c.x,1.570796326794897),l.Mf(h,b),null!=f&&f.add(d)),0<1.570796326794897-a.y&&(b=new g.h,b.ma(a.x, |
|
1.570796326794897),l.Mf(h,b),null!=f&&f.add(d))):(0<1.570796326794897+c.y&&(b=new g.h,b.ma(c.x,-1.570796326794897),l.Mf(h,b),null!=f&&f.add(e)),0<1.570796326794897+a.y&&(b=new g.h,b.ma(a.x,-1.570796326794897),l.Mf(h,b),null!=f&&f.add(e)))};l.AU=function(c){if(-3.141592653589793>c.x)for(;-3.141592653589793>c.x;)c.x+=6.283185307179586;if(3.141592653589793<c.x)for(;3.141592653589793<c.x;)c.x-=6.283185307179586};return l}();g.cj=v})(D||={});(function(g){g.ip=function(){function v(){}v.nj=function(l,c, |
|
a){if(null==l||null==c||!g.cb.Wc(c))throw g.i.N();if(l.B())return l;var b=l,d=b.getType();if(g.aa.Hc(d)){b=g.Hh.lj(l,c);l=new g.l;b.A(l);d=g.ta.Wd(c,l,!1);for(var e=g.cb.gh(c),f=Math.floor((l.v-e.v)/e.R())*e.R()+e.v;f<l.C;)f>l.v+d&&f<l.C-d&&(b=g.Hh.ks(b,c,a,!0,f)),f+=e.R()}else{if(197==d)return l=new g.Da(b.description),l.ad(b,!1),v.nj(l,c,a);if(g.aa.yd(d))return l=new g.Ta(b.description),l.oc(b,!0),v.nj(l,c,a)}return v.Uy(b,c)};v.Uy=function(l,c){if(null==l||null==c||!g.cb.Wc(c))throw g.i.N();if(l.B())return l; |
|
var a=l.getType();197==a?(a=new g.Da(l.description),a.ad(l,!1)):g.aa.yd(a)?(a=new g.Ta(l.description),a.oc(l,!0)):a=l;a=g.Hh.lj(a,c);return a.B()?a:1==g.Eg.Sb(c)?g.Hh.Fn(a,c,0,a!=l,0):v.NQ(a,c,a!=l)};v.NQ=function(l,c,a){if(!g.cb.Wc(c))throw g.i.N();if(l.B())return l;var b=g.cb.bf(c),d=-(180*b);b*=360;2==g.Eg.Sb(c)&&(d=g.cb.gh(c),b=d.C,d=d.v,b-=d);return g.Hh.Hp(l,d,b,c,a,0,!0)};return v}()})(D||={});(function(g){g.BY=function(){function v(){}v.P=function(l){return 0>l?-l:l};v.Mb=function(l,c){return 0<= |
|
c?v.P(l):-v.P(l)};v.Y=function(l,c){return l==c||v.P(l-c)<=v.JC*(1+(v.P(l)+v.P(c))/2)};v.Cd=function(l){return 0==l||v.P(l)<=v.JC};v.Ah=function(l,c){c=Math.sqrt(1-c);c=(1-c)/(1+c);var a=c*c;return l/(1+c)*(1+a*(.25+a*(.015625+1/256*a)))*v.EL};v.EL=1.5707963267948966;v.JC=3.552713678800501E-15;return v}()})(D||={});(function(g){var v=function(){return function(c){this.Wf=c;this.Kk=this.Wf.getCode();0>this.Kk&&(this.Kk=0)}}();g.DY=v;var l=function(){function c(a){void 0===a&&(a=null);this.Cj=null; |
|
this.Un=!1;null!==a&&(this.Cj=new v(a))}c.prototype.Ec=function(){return null!=this.Cj?this.Cj.Kk:0};c.prototype.Of=function(){var a=new c;this.copyTo(a);return a};c.prototype.copyTo=function(a){a.Cj=this.Cj;a.Un=this.Un};c.prototype.Qz=function(){this.Un=!this.Un};c.prototype.qm=function(){return null!=this.Cj?this.Cj.Wf:null};c.prototype.LJ=function(a){if(0>=a)throw g.i.N();if(a!=this.Ec()){a=g.pf.geogtran(a);if(null==a)throw g.i.N("Geogtran not found.");this.Cj=new v(a)}};c.prototype.Bz=function(){return null== |
|
this.Cj?null:this.Cj.Wf.toString()};c.prototype.tX=function(a){if(null==a)throw g.i.N();var b=null;try{b=g.pf.fromString(g.Sc.PE_TYPE_GEOGTRAN,a)}catch(d){throw g.i.N();}this.Cj=new v(b)};c.prototype.Nb=function(a){return a==this?!0:a instanceof c&&(!(0>=this.Ec()||this.Ec()!=a.Ec())||this.qm().isEqual(a.qm()))?this.Un==a.Un:!1};c.prototype.toString=function(){var a="GeographicTransformation: "+this.Bz();return 200<a.length?a.substring(0,197)+"... ("+a.length.toString()+" characters)":a};c.create= |
|
function(a,b){var d=new c;d.LJ(a);b&&d.Qz();return d};c.uP=function(a,b){var d=new c;d.tX(a);b&&d.Qz();return d};return c}();g.Dx=l})(D||={});(function(g){var v=function(){function c(){}c.construct=function(a,b,d,e){var f=new c;f.hw=a;f.iw=b;f.QY=d;f.RY=e;return f};c.Ey=function(a,b){return a.hw==b.hw?a.iw==b.iw?0:a.iw<b.iw?-1:1:a.hw<b.hw?-1:1};return c}(),l=function(){function c(){this.yT=[];this.zT=[];this.qp()}c.kz=function(){null==c.jK&&(c.jK=new c);return c.jK};c.prototype.qp=function(){this.iD(this.yT); |
|
this.iD(this.zT)};c.prototype.iD=function(a){try{var b=[];b=b.sort(v.Ey);for(var d=0;d<b.length;d++)a.push(b[d])}catch(e){}};return c}();g.CY=l})(D||={});(function(g){var v=function(){function l(){}l.prototype.yD=function(c){this.Fk=c};l.prototype.WM=function(c){this.Fb=c};l.prototype.xD=function(c){this.zo=c};l.CE=function(c){return c.B()||1607!=c.getType()&&1736!=c.getType()?!1:!0};l.AE=function(c){return c.B()||1607!=c.getType()&&1736!=c.getType()||20>c.I()?!1:!0};l.BE=function(c){return c.B()|| |
|
1607!=c.getType()&&1736!=c.getType()||20>c.I()?!1:!0};return l}();g.Uk=v})(D||={});(function(g){g.$b=function(){function v(){}v.TT=function(l){var c=new g.Da;c.sx(l.es(),l.gs());c.yj(l.es(),l.fs());c.yj(l.ds(),l.fs());c.yj(l.ds(),l.gs());return c};v.zh=function(l,c){return null===l?null:g.Hx.local().V(l,c,null)};v.jY=function(l,c){var a=g.Gh.local();l=new g.Zc(l);return a.V(l,c,null).next()};v.im=function(l,c,a){return g.kp.local().V(l,c,a,null)};v.ep=function(l,c,a){return g.Kx.local().V(l,c,a,null)}; |
|
v.VX=function(l,c,a){var b=g.Kx.local();l=new g.Zc(l);c=new g.Zc(c);a=b.V(l,c,a,null);for(b=[];null!=(c=a.next());)b.push(c);return b};v.Nb=function(l,c,a){return g.dj.local().V(3,l,c,a,null)};v.TP=function(l,c,a){return g.dj.local().V(4,l,c,a,null)};v.RS=function(l,c,a){var b=g.Xj.local();l=new g.Zc(l);c=new g.Zc(c);a=b.V(l,c,a,null);for(b=[];null!=(c=a.next());)b.push(c);return b};v.QP=function(l,c,a){var b=g.kp.local();l=new g.Zc(l);c=new g.Zc(c);a=b.V(l,c,a,null);for(b=[];null!=(c=a.next());)b.push(c); |
|
return b};v.Ea=function(l,c,a){return g.Xj.local().V(l,c,a,null)};v.QS=function(l,c,a){l=g.Xj.local().V(l,c,a,null,1);if(null===l)return[];if(550===l.getType()){c=[];for(a=0;a<l.wa;a++)c.push(l.KR(a));return c}return 33===l.getType()?[l]:[]};v.qY=function(l,c,a){return g.dj.local().V(2,l,c,a,null)};v.contains=function(l,c,a){return g.dj.local().V(1,l,c,a,null)};v.BP=function(l,c,a){return g.dj.local().V(16,l,c,a,null)};v.touches=function(l,c,a){return g.dj.local().V(8,l,c,a,null)};v.DU=function(l, |
|
c,a){return g.dj.local().V(32,l,c,a,null)};v.TS=function(l,c,a){return g.dj.local().V(1073741824,l,c,a,null)};v.yB=function(l,c,a,b){return g.zL.local().V(l,c,a,b,null)};v.tb=function(l,c,a,b){var d=null;if(null!=a){if(d=a.Hd(),null!=b&&d.Ec()!=b.Ec()&&d.od!=b.od)throw g.i.Xk();}else if(null!=b)throw g.i.N();l=g.rL.local().V(l,c,null);null!==d&&null!==b&&(l=g.Tc.Nh(l,d,b));return l};v.clip=function(l,c,a){return g.kL.local().V(l,g.l.construct(c.es(),c.gs(),c.ds(),c.fs()),a,null)};v.dl=function(l, |
|
c,a){if(null==l||null==c)return null;l=g.mL.local().V(!0,l,c,a,null);for(c=[];null!=(a=l.next());)a.B()||c.push(a);return c.slice(0)};v.MN=function(l,c,a,b,d,e,f,h){if(!0===d)return v.NN(l,c,a,b,e,f,h);d=a;if(null!=c){if(f=c.Hd(),null!=b&&f.Ec()!=b.Ec()){if(f.od!=b.od)throw g.i.Xk();d=[];g.Tc.XE(a,a.length,b,f,d)}}else if(null!=b)throw g.i.N();a=g.AC.local();if(e){l=new g.Zc(l);c=a.V(l,c,d,e,null);for(l=[];null!=(e=c.next());)l.push(e);e=l.slice(0)}else for(e=[],b=0;b<l.length;b++)e[b]=a.V(l[b],c, |
|
d[b],null);return e};v.NN=function(l,c,a,b,d,e,f){if(null===c)throw g.i.N();if(null===b||void 0===b)b=4326!==c.Ec()?c.Hd():g.Tc.Zg(9001);if(0!==b.od)throw g.i.N();g.Tc.XE(a,a.length,b,g.Tc.Zg(9001),a);b=g.FC.local();if(d){l=new g.Zc(l);c=b.V(l,c,e,a,f,!1,d,null);for(a=[];null!=(e=c.next());)a.push(e);d=a.slice(0)}else{d=[];for(var h=0;h<l.length;h++)d[h]=b.V(l[h],c,e,a[h],f,!1,null)}return d};v.buffer=function(l,c,a,b,d,e,f){var h=a;if(!1===d){if(null!=c){if(d=c.Hd(),null!=b&&d.Ec()!=b.Ec()){if(d.od!= |
|
b.od)throw g.i.Xk();h=g.Tc.Nh(a,b,d)}}else if(null!=b)throw g.i.N();l=g.AC.local().V(l,c,h,null)}else{if(null===c)throw g.i.N();if(null===b||void 0===b)b=4326!==c.Ec()?c.Hd():g.Tc.Zg(9001);if(0!==b.od)throw g.i.N();h=g.Tc.Nh(a,b,g.Tc.Zg(9001));l=g.FC.local().V(l,c,e,h,f,!1,null)}return l};v.BU=function(l,c,a,b,d,e,f){if(null!=c){var h=c.Hd();if(null!=f&&h.Ec()!=f.Ec()){if(h.od!=f.od)throw g.i.Xk();a=g.Tc.Nh(a,f,h)}}else if(null!=f)throw g.i.N();l=new g.Zc(l);c=g.IC.local().V(l,c,a,b,d,e,null);for(a= |
|
[];null!=(b=c.next());)a.push(b);return a.slice(0)};v.offset=function(l,c,a,b,d,e,f){if(null!=c){var h=c.Hd();if(null!=f&&h.Ec()!=f.Ec()){if(h.od!=f.od)throw g.i.Xk();a=g.Tc.Nh(a,f,h)}}else if(null!=f)throw g.i.N();return g.IC.local().V(l,c,a,b,d,e,null)};v.iP=function(l){return g.CC.local().V(l,null)};v.jP=function(l,c){var a=g.CC.local();l=new g.Zc(l);c=a.V(l,c,null);for(a=[];null!=(l=c.next());)a.push(l);return a};v.nz=function(l,c,a){return g.Ix.local().nz(l,c,a)};v.oz=function(l,c){return g.Ix.local().oz(l, |
|
c)};v.pz=function(l,c,a,b){return g.Ix.local().pz(l,c,a,b)};v.eC=function(l,c){return g.Yl.local().V(l,c,!1,null)};v.dT=function(l,c){return g.Yl.local().rs(l,c,null)};v.QQ=function(l,c,a,b,d){var e=g.EC.local();if(null!=c){if(c=c.Hd(),null!=d&&c.Ec()!=d.Ec()){if(c.od!=d.od)throw g.i.Xk();a=g.Tc.Nh(a,d,c)}}else if(null!=d)throw g.i.N();return e.V(l,a,b,null)};v.Qr=function(l,c,a,b){var d=g.Xl.local();if(null!=c){if(c=c.Hd(),null!=b&&c.Ec()!=b.Ec()){if(c.od!=b.od)throw g.i.Xk();a=g.Tc.Nh(a,b,c)}}else if(null!= |
|
b)throw g.i.N();return d.V(l,a,null)};v.Wy=function(l,c,a,b,d){void 0===d&&(d=0);var e=g.tL.local();if(4==d)throw g.i.Ie();if(0!==d)throw g.i.Ie();if(null!==b){if(0!==b.od)throw g.i.N("Unit must be a linear unit type");a=g.Tc.Nh(a,b,g.Tc.Zg(9001))}return e.V(l,a,c,d,null)};v.WQ=function(l,c,a,b){if(null===l)return 0;if(4==b)throw g.i.Ie();if(0!==b)throw g.i.Ie();if(197==l.getType())l=v.TT(l);else if(1736!=l.getType())return 0;b=g.cb.sc(c);l=g.cb.zh(l,c,b);l=g.UK.XQ([l])[0];if(null!==a){if(2!==a.od)throw g.i.N("Unit must be a area unit type"); |
|
l=g.Tc.Nh(l,g.Tc.Zg(109404),a)}return l};v.ZQ=function(l,c,a,b){l=g.vL.local().V(l,c,b,null);if(null!==a){if(0!==a.od)throw g.i.N("Unit must be a linear unit type");l=g.Tc.Nh(l,g.Tc.Zg(9001),a)}return l};v.JU=function(l,c,a){if(null===l)return 0;var b=null;if(null!=c){b=c.Hd();if(0==b.od&&(b=g.Tc.aG(b),null==b&&null!==a))throw g.i.N();if(null!=a&&b.Ec()!=a.Ec()&&b.od!=a.od)throw g.i.Xk();}else if(null!=a)throw g.i.N();return 1736==l.getType()||197==l.getType()?(l=l.Ke(),null!==a?g.Tc.Nh(l,b,a):l): |
|
0};v.KU=function(l,c,a){if(null===l||l.B()||1>l.Db())return 0;var b=null;if(null!=c){if(b=c.Hd(),null!=a&&b.Ec()!=a.Ec()&&b.od!=a.od)throw g.i.Xk();}else if(null!=a)throw g.i.N();1736==l.getType()||197==l.getType()?c=l.mg():g.aa.yd(l.getType())?(c=new g.Ta(l.description),c.oc(l,!0)):c=l;l=0;c=c.Ga();for(var d=new g.h,e=new g.h;c.$a();)for(;c.Ha();){var f=c.ha();f.Yp(d);f.Tr(e);l+=g.h.tb(d,e)}null!==b&&null!==a&&(l=g.Tc.Nh(l,b,a));return l};v.fP=function(l){return void 0!==l.points?v.mS(l,void 0=== |
|
l.hasZ?!1:l.hasZ,void 0===l.hasM?!1:l.hasM):void 0!==l.rings?v.lG(l.rings,void 0===l.hasZ?!1:l.hasZ,void 0===l.hasM?!1:l.hasM,"P"):void 0!==l.paths?v.lG(l.paths,void 0===l.hasZ?!1:l.hasZ,void 0===l.hasM?!1:l.hasM,"L"):void 0!==l.x?v.nS(l):void 0!==l.xmin?v.lS(l):null};v.nS=function(l){if(null==l.x||"NaN"==l.x)return new g.Sa;var c=new g.Sa(l.x,l.y);void 0!==l.z&&null!==l.z&&c.wX(l.z);void 0!==l.m&&null!==l.m&&c.hX(l.m);return c};v.lS=function(l){if(null==l.xmin||"NaN"==l.xmin)return new g.Fh;var c= |
|
new g.Fh(l.xmin,l.ymin,l.xmax,l.ymax);void 0!==l.zmin&&null!==l.zmin&&c.setInterval(1,0,l.zmin,l.zmax);void 0!==l.mmin&&null!==l.mmin&&c.setInterval(2,0,l.mmin,l.mmax);return c};v.mS=function(l,c,a){var b=0,d=new g.de,e=3*l.points.length;0!=e%2&&e++;2>e&&(e=2);var f=g.O.truncate(3*l.points.length/2);4>f?f=4:16>f&&(f=16);e=g.Yc.Dn(e,0);var h=g.Yc.Dn(f);f=g.Yc.Dn(f);for(var k=0;k<l.points.length;k++)e.write(2*k,l.points[k][0]),e.write(2*k+1,l.points[k][1]),h.write(k,c||a?l.points[k][2]:NaN),f.write(k, |
|
a&&c?l.points[k][3]:NaN),b++;0!=b&&(d.resize(b),d.hn(0,e));c&&(d.re(1),d.hn(1,h));a&&(d.re(2),d.hn(2,0==c?h:f));d.Pc(16777215);return d};v.lG=function(l,c,a,b){var d=0,e=2;if("P"==b){var f=new g.Da;d=1;e=3}else f=new g.Ta;for(var h=g.Yc.Oh(0),k=g.Yc.Mr(0),m=0,n=0,p=[],q=[],r=0;r<l.length;r++){var t=l[r].length;p[r]=!1;if("P"===b&&l[r][0][0]===l[r][l[r].length-1][0]&&l[r][0][1]===l[r][l[r].length-1][1]){var u=0==a?!0:l[r][0][3]===l[r][l[r].length-1][3]||void 0===l[r][0][3]&&void 0===l[r][l[r].length- |
|
1][3];(0==c||l[r][0][2]===l[r][l[r].length-1][2]||void 0===l[r][0][2]&&void 0===l[r][l[r].length-1][2])&&u&&(p[r]=!0,--t)}t>=e?(q[r]=!1,n+=1,h.add(m),k.add(d),m+=t):q[r]=!0}b=3*m;0!=b%2&&b++;2>b&&(b=2);r=g.O.truncate(3*m/2);4>r?r=4:16>r&&(r=16);b=g.Yc.Dn(b,0);d=g.Yc.Dn(r);e=g.Yc.Dn(r);for(r=t=0;r<l.length;r++)if(!1===q[r])for(u=0;u<l[r].length;u++){var w=!1;u===l[r].length-1&&!0===p[r]&&(w=!0);w||(b.write(2*t,l[r][u][0]),b.write(2*t+1,l[r][u][1]),d.write(t,c||a?l[r][u][2]:NaN),e.write(t,a&&c?l[r][u][3]: |
|
NaN),t++)}0!=m&&(l=f,h.resize(n),k.resize(n),0<m&&(h.add(m),k.add(0)),l.hn(0,b),l.PJ(k),l.QJ(h));c&&(f.re(1),f.hn(1,d));a&&(f.re(2),f.hn(2,0==c?d:e));f.Pc(16777215);return f};return v}()})(D||={});(function(g){g.Ex=function(){function v(){}v.br=function(l){var c=0,a,b=l.length,d=l[0];for(a=0;a<b-1;a++){var e=l[a+1];c+=(e[0]-d[0])*(e[1]+d[1]);d=e}return 0<=c};v.rotate=function(l,c,a){c=c*Math.PI/180;var b=Math.cos(c),d=Math.sin(c);if(void 0!==l.paths){c={paths:[]};for(var e=0;e<l.paths.length;e++){for(var f= |
|
l.paths[e],h=[],k=0;k<f.length;k++){var m=f[k].slice(0);h.push(m);var n=b*(f[k][0]-a.x)-d*(f[k][1]-a.y)+a.x,p=d*(f[k][0]-a.x)+b*(f[k][1]-a.y)+a.y;m[0]=n;m[1]=p}c.paths.push(h);void 0!==l.hasZ&&(c.hasZ=l.hasZ);void 0!==l.hasM&&(c.hasM=l.hasM)}return c}if(void 0!==l.rings){c={rings:[]};for(e=0;e<l.rings.length;e++){f=l.rings[e];h=[];var q=v.br(f);for(k=0;k<f.length;k++)m=f[k].slice(0),h.push(m),n=b*(f[k][0]-a.x)-d*(f[k][1]-a.y)+a.x,p=d*(f[k][0]-a.x)+b*(f[k][1]-a.y)+a.y,m[0]=n,m[1]=p;v.br(h)!==q&&h.reverse(); |
|
c.rings.push(h);void 0!==l.hasZ&&(c.hasZ=l.hasZ);void 0!==l.hasM&&(c.hasM=l.hasM)}return c}if(void 0!==l.x)return c={x:b*(l.x-a.x)-d*(l.y-a.y)+a.x,y:d*(l.x-a.x)+b*(l.y-a.y)+a.y},void 0!==l.z&&(c.z=l.z),void 0!==l.m&&(c.m=l.m),void 0!==l.hasZ&&(c.hasZ=l.hasZ),void 0!==l.hasM&&(c.hasM=l.hasM),c;if(void 0!==l.points){c={points:[]};e=l.points;for(k=0;k<e.length;k++)f=e[k].slice(0),f[0]=b*(e[k][0]-a.x)-d*(e[k][1]-a.y)+a.x,f[1]=d*(e[k][0]-a.x)+b*(e[k][1]-a.y)+a.y,c.points.push(f);void 0!==l.hasZ&&(c.hasZ= |
|
l.hasZ);void 0!==l.hasM&&(c.hasM=l.hasM);return c}return null};v.JQ=function(l,c){if(void 0!==l.paths){for(var a={paths:[]},b=0;b<l.paths.length;b++){for(var d=l.paths[b],e=[],f=0;f<d.length;f++){var h=d[f].slice(0);e.push(h);var k=c.x-d[f][0];h[0]=d[f][0]+2*k}a.paths.push(e)}void 0!==l.hasZ&&(a.hasZ=l.hasZ);void 0!==l.hasM&&(a.hasM=l.hasM);return a}if(void 0!==l.rings){a={rings:[]};for(b=0;b<l.rings.length;b++){d=l.rings[b];var m=v.br(d);e=[];for(f=0;f<d.length;f++)h=d[f].slice(0),e.push(h),k=c.x- |
|
d[f][0],h[0]=d[f][0]+2*k;v.br(e)!==m&&e.reverse();a.rings.push(e)}void 0!==l.hasZ&&(a.hasZ=l.hasZ);void 0!==l.hasM&&(a.hasM=l.hasM);return a}if(void 0!==l.x)return k=c.x-l.x,a={x:l.x+2*k,y:l.y},void 0!==l.z&&(a.z=l.z),void 0!==l.m&&(a.m=l.m),void 0!==l.hasZ&&(a.hasZ=l.hasZ),void 0!==l.hasM&&(a.hasM=l.hasM),a;if(void 0!==l.points){a={points:[]};b=l.points;for(f=0;f<b.length;f++)d=b[f].slice(0),k=c.x-d[0],d[0]+=2*k,a.points.push(d);void 0!==l.hasZ&&(a.hasZ=l.hasZ);void 0!==l.hasM&&(a.hasM=l.hasM);return a}return void 0!== |
|
l.xmin?(a={v:l.xmin,G:l.ymin,C:l.xmax,H:l.ymax},void 0!==l.zmin&&(a.zmin=l.zmin,a.zmax=l.zmax),void 0!==l.mmin&&(a.mmin=l.mmin,a.mmax=l.mmax),k=c.x-l.xmin,a.xmax=l.xmin+2*k,k=c.x-l.xmax,a.xmin=l.xmax+2*k,void 0!==l.zmin&&(a.zmin=l.zmin),void 0!==l.zmax&&(a.zmax=l.zmax),void 0!==l.mmin&&(a.mmin=l.mmin),void 0!==l.mmax&&(a.mmax=l.mmax),void 0!==l.hasZ&&(a.hasZ=l.hasZ),void 0!==l.hasM&&(a.hasM=l.hasM),a):null};v.KQ=function(l,c){if(void 0!==l.paths){for(var a={paths:[]},b=0;b<l.paths.length;b++){for(var d= |
|
l.paths[b],e=[],f=0;f<d.length;f++){var h=d[f].slice(0);e.push(h);var k=c.y-d[f][1];h[1]=d[f][1]+2*k}a.paths.push(e)}void 0!==l.hasZ&&(a.hasZ=l.hasZ);void 0!==l.hasM&&(a.hasM=l.hasM);return a}if(void 0!==l.rings){a={rings:[]};for(b=0;b<l.rings.length;b++){d=l.rings[b];var m=v.br(d);e=[];for(f=0;f<d.length;f++)h=d[f].slice(0),e.push(h),k=c.y-d[f][1],h[1]=d[f][1]+2*k;v.br(e)!==m&&e.reverse();a.rings.push(e)}void 0!==l.hasZ&&(a.hasZ=l.hasZ);void 0!==l.hasM&&(a.hasM=l.hasM);return a}if(void 0!==l.x)return k= |
|
c.y-l.y,a={y:l.y+2*k,x:l.x},void 0!==l.z&&(a.z=l.z),void 0!==l.m&&(a.m=l.m),void 0!==l.hasZ&&(a.hasZ=l.hasZ),void 0!==l.hasM&&(a.hasM=l.hasM),a;if(void 0!==l.points){a={points:[]};b=l.points;for(f=0;f<b.length;f++)d=b[f].slice(0),k=c.y-d[1],d[1]+=2*k,a.points.push(d);void 0!==l.hasZ&&(a.hasZ=l.hasZ);void 0!==l.hasM&&(a.hasM=l.hasM);return a}return void 0!==l.xmin?(a={v:l.xmin,G:l.ymin,C:l.xmax,H:l.ymax},void 0!==l.zmin&&(a.zmin=l.zmin,a.zmax=l.zmax),void 0!==l.mmin&&(a.mmin=l.mmin,a.mmax=l.mmax), |
|
k=c.y-l.ymin,a.ymax=l.ymin+2*k,k=c.y-l.ymax,a.ymin=l.ymax+2*k,void 0!==l.zmin&&(a.zmin=l.zmin),void 0!==l.zmax&&(a.zmax=l.zmax),void 0!==l.mmin&&(a.mmin=l.mmin),void 0!==l.mmax&&(a.mmax=l.mmax),void 0!==l.hasZ&&(a.hasZ=l.hasZ),void 0!==l.hasM&&(a.hasM=l.hasM),a):null};return v}()})(D||={});(function(g){g.ZK=function(){function v(){}v.Ig=function(l,c){null==c&&(c=g.ee.og());switch(l){case 33:return new g.Sa(c);case 322:return new g.yb(c);case 197:return new g.Fh(c);case 550:return new g.de(c);case 1607:return new g.Ta(c); |
|
case 1736:return new g.Da(c);default:throw g.i.fa("invalid argument.");}};return v}()})(D||={});(function(g){var v=function(){function l(c,a){this.Te=g.ia.qf(c,-1);this.ua=new g.au;this.wl=a}l.prototype.AW=function(c){this.ua.At(Math.min(this.Te.size,c));this.ua.fn(c)};l.prototype.addElement=function(c,a){if(void 0===a)return this.eN(c);a=g.O.truncate(a%this.Te.size);var b=this.Te.get(a);-1==b&&(b=this.ua.Ph(),this.Te.set(a,b));return this.ua.addElement(b,c)};l.prototype.eN=function(c){var a=this.wl.jz(c); |
|
a=g.O.truncate(a%this.Te.size);var b=this.Te.get(a);-1==b&&(b=this.ua.Ph(),this.Te.set(a,b));return this.ua.addElement(b,c)};l.prototype.jd=function(c,a){if(void 0===a)this.KP(c);else{a=g.O.truncate(a%this.Te.size);var b=this.Te.get(a);if(-1==b)throw g.i.N();for(var d=this.ua.rc(b),e=-1;-1!=d;){var f=this.ua.lb(d);this.ua.ja(d)==c?(this.ua.jd(b,e,d),-1==this.ua.rc(b)&&(this.ua.bh(b),this.Te.set(a,-1))):e=d;d=f}}};l.prototype.KP=function(c){var a=this.wl.jz(c);a=g.O.truncate(a%this.Te.size);var b= |
|
this.Te.get(a);if(-1==b)throw g.i.N();for(var d=this.ua.rc(b),e=-1;-1!=d;){var f=this.ua.lb(d);this.ua.ja(d)==c?(this.ua.jd(b,e,d),-1==this.ua.rc(b)&&(this.ua.bh(b),this.Te.set(a,-1))):e=d;d=f}};l.prototype.rR=function(c){c=g.O.truncate(c%this.Te.size);c=this.Te.get(c);return-1==c?-1:this.ua.rc(c)};l.prototype.ER=function(c){return this.ua.lb(c)};l.prototype.vd=function(c){var a=this.wl.jz(this.ja(c));a=g.O.truncate(a%this.Te.size);var b=this.Te.get(a);if(-1==b)throw g.i.N();for(var d=this.ua.rc(b), |
|
e=-1;-1!=d;){if(d==c){this.ua.jd(b,e,d);-1==this.ua.rc(b)&&(this.ua.bh(b),this.Te.set(a,-1));return}e=d;d=this.ua.lb(d)}throw g.i.N();};l.prototype.ja=function(c){return this.ua.ja(c)};l.prototype.clear=function(){this.Te=g.ia.qf(this.Te.size,-1);this.ua.clear()};l.prototype.size=function(){return this.ua.TF()};return l}();g.dL=v})(D||={});(function(g){var v=function(){function l(){this.Li=new g.$c(3);this.ua=new g.$c(6);this.sT=!1;this.je=-1}l.prototype.fl=function(c){this.Li.jd(c)};l.prototype.Pw= |
|
function(){return this.Li.Ce()};l.prototype.bv=function(c){this.ua.jd(c)};l.prototype.$A=function(){return this.ua.Ce()};l.prototype.WB=function(c,a){this.Li.S(c,1,a)};l.prototype.ex=function(c,a){this.Li.S(c,2,a)};l.prototype.gX=function(c,a){this.Li.S(c,3,a)};l.prototype.UB=function(c,a){this.ua.S(c,4,a)};l.prototype.jX=function(c,a){this.ua.S(c,3,a)};l.prototype.TJ=function(c,a){this.ua.S(c,2,a)};l.prototype.Ph=function(c){var a=this.$A();this.ua.S(a,3,this.je);this.ua.S(a,4,0);this.ua.S(a,5,c); |
|
-1!=this.je&&this.TJ(this.je,a);return this.je=a};l.prototype.bh=function(c){this.LE(c);var a=this.ua.T(c,2),b=this.ua.T(c,3);-1!=a?this.jX(a,b):this.je=b;-1!=b&&this.TJ(b,a);this.bv(c);return b};l.prototype.At=function(c){this.ua.De(c)};l.prototype.PF=function(c){return this.ua.T(c,5)};l.prototype.fX=function(c,a){this.ua.S(c,5,a)};l.prototype.addElement=function(c,a){return this.tS(c,a)};l.prototype.tS=function(c,a){var b=this.Pw();this.ex(b,-1);-1==this.ua.T(c,0)&&this.ua.S(c,0,b);var d=this.ua.T(c, |
|
1);this.WB(b,d);-1!=d&&this.ex(d,b);this.ua.S(c,1,b);this.setData(b,a);this.UB(c,this.bs(c)+1);this.sT&&this.gX(b,c);return b};l.prototype.jd=function(c,a){var b=this.we(a),d=this.lb(a);-1!=b?this.ex(b,d):this.ua.S(c,0,d);-1!=d?this.WB(d,b):this.ua.S(c,1,b);this.fl(a);this.UB(c,this.bs(c)-1);return d};l.prototype.fn=function(c){this.Li.De(c)};l.prototype.getData=function(c){return this.Li.T(c,0)};l.prototype.setData=function(c,a){this.Li.S(c,0,a)};l.prototype.lb=function(c){return this.Li.T(c,2)}; |
|
l.prototype.we=function(c){return this.Li.T(c,1)};l.prototype.rc=function(c){return this.ua.T(c,0)};l.prototype.Fc=function(c){return this.ua.T(c,1)};l.prototype.clear=function(){for(var c=this.je;-1!=c;)c=this.bh(c)};l.prototype.LE=function(c){for(var a=this.Fc(c);-1!=a;){var b=a;a=this.we(b);this.fl(b)}this.ua.S(c,0,-1);this.ua.S(c,1,-1);this.UB(c,0)};l.prototype.B=function(){return 0==this.Li.size};l.prototype.TF=function(){return this.Li.size};l.prototype.bs=function(c){return this.ua.T(c,4)}; |
|
l.prototype.qz=function(c){return this.ua.T(c,3)};return l}();g.jp=v})(D||={});(function(g){var v=function(){function l(c){void 0===c?(this.ug=new g.$c(2),this.ua=new g.$c(4),this.je=-1,this.Qv=!0):(this.ug=new g.$c(2),this.ua=new g.$c(c?4:2),this.je=-1,this.Qv=c)}l.prototype.fl=function(c){this.ug.jd(c)};l.prototype.Pw=function(){return this.ug.Ce()};l.prototype.bv=function(c){this.ua.jd(c)};l.prototype.$A=function(){return this.ua.Ce()};l.prototype.Ph=function(){var c=this.$A();this.Qv&&(this.ua.S(c, |
|
3,this.je),-1!=this.je&&this.ua.S(this.je,2,c),this.je=c);return c};l.prototype.bh=function(c){for(var a=this.rc(c);-1!=a;){var b=a;a=this.lb(a);this.fl(b)}this.Qv&&(a=this.ua.T(c,2),b=this.ua.T(c,3),-1!=a?this.ua.S(a,3,b):this.je=b,-1!=b&&this.ua.S(b,2,a));this.bv(c)};l.prototype.At=function(c){this.ua.De(c)};l.prototype.addElement=function(c,a){var b=this.ua.T(c,1),d=this.Pw();-1!=b?this.ug.S(b,1,d):this.ua.S(c,0,d);this.ua.S(c,1,d);this.ug.S(d,0,a);return d};l.prototype.fn=function(c){this.ug.De(c)}; |
|
l.prototype.jd=function(c,a,b){-1!=a?(this.ug.S(a,1,this.ug.T(b,1)),this.ua.T(c,1)==b&&this.ua.S(c,1,a)):(this.ua.S(c,0,this.ug.T(b,1)),this.ua.T(c,1)==b&&this.ua.S(c,1,-1));this.fl(b)};l.prototype.Hy=function(c,a){var b=this.ua.T(c,1),d=this.ua.T(a,0);-1!=d&&(-1!=b?this.ug.S(b,1,d):this.ua.S(c,0,d),this.ua.S(c,1,this.ua.T(a,1)));this.Qv&&(c=this.ua.T(a,2),b=this.ua.T(a,3),-1!=c?this.ua.S(c,3,b):this.je=b,-1!=b&&this.ua.S(b,2,c));this.bv(a)};l.prototype.ja=function(c){return this.ug.T(c,0)};l.prototype.Sj= |
|
function(c,a){this.ug.S(c,0,a)};l.prototype.lb=function(c){return this.ug.T(c,1)};l.prototype.rc=function(c){return this.ua.T(c,0)};l.prototype.Jn=function(c){return this.ja(this.rc(c))};l.prototype.clear=function(){this.ug.mj(!0);this.ua.mj(!0);this.je=-1};l.prototype.B=function(){return 0==this.ug.size};l.prototype.TF=function(){return this.ug.size};l.prototype.qz=function(c){return this.ua.T(c,3)};return l}();g.au=v})(D||={});(function(g){g.ta=function(){function v(){}v.Wd=function(l,c,a){c=c.xr(); |
|
l=null!=l&&void 0!==l.Xd?l.Xd(0):0;a&&(c*=4,l*=1.1);return Math.max(l,c)};v.Er=function(l){return 2*Math.sqrt(2)*l};v.rN=function(l){return Math.sqrt(2)*l};v.kj=function(l,c,a){var b=new g.l;c.A(b);return v.Wd(l,b,a)};v.wE=function(l,c,a){c=c.Tg(1,0).xr();l=null!=l?l.Xd(1):0;a&&(c*=4,l*=1.1);return Math.max(l,c)};v.mv=function(l,c){var a=new g.l;l.xc(a);l=new g.l;c.xc(l);a.Zb(l);return a};v.YN=function(l){var c=new g.l;l.xc(c);if(c.B())return null;var a=new g.du(c,8),b=-1,d=new g.l,e=!1;do for(var f= |
|
0,h=l.da();f<h;f++)if(l.Rj(f,d),b=a.Jz(f,d,b),-1==b){if(e)throw g.i.fa("internal error");l.yp(c,!1);e=!0;a.reset(c,8);break}else e=!1;while(e);return a};v.nE=function(l){var c=new g.l;l.xc(c);for(var a=new g.du(c,8),b=-1,d=l.Ga(),e=new g.l,f=!1;d.$a();)for(;d.Ha();){var h=d.ha(),k=d.wb();h.A(e);b=a.Jz(k,e,b);if(-1==b){if(f)throw g.i.Qa();l.yp(c,!1);f=!0;a.reset(c,8);d.Zi();break}}return a};v.jj=function(l,c){var a=new g.l;l.xc(a);for(var b=new g.du(a,8),d=-1,e=new g.l,f=l.Ga(),h=!1;f.$a();)for(;f.Ha();){var k= |
|
f.ha(),m=f.wb();k.A(e);if(e.isIntersecting(c)&&(d=b.Jz(m,e,d),-1==d)){if(h)throw g.i.fa("internal error.");l.yp(a,!1);h=!0;b.reset(a,8);f.Zi();break}}return b};v.oE=function(l,c){for(var a=new g.du(c,8),b=new g.h,d=!1,e=new g.l,f=0;f<l.I();f++)if(l.D(f,b),c.contains(b)&&(e.K(b),-1==a.vj(f,e))){if(d)throw g.i.Qa();d=!0;f=new g.l;l.yp(f,!1);a.reset(f,8);f=-1}return a};v.lR=function(l,c,a){var b=new g.l,d=new g.l;l.xc(b);c.xc(d);b.W(a,a);d.W(a,a);var e=new g.l;e.K(b);e.Ea(d);l=l.Ga();c=c.Ga();var f= |
|
new g.xC;f.aC(a);var h=!1;for(f.pK();l.$a();)for(;l.Ha();)l.ha().A(b),b.isIntersecting(e)&&(h=!0,a=new g.l,a.K(b),f.JD(l.wb(),a));f.iF();if(!h)return null;b=!1;for(f.oK();c.$a();)for(;c.Ha();)c.ha().A(d),d.isIntersecting(e)&&(b=!0,a=new g.l,a.K(d),f.ED(c.wb(),a));f.hF();return b?f:null};v.mR=function(l,c,a,b,d){var e=l.getType(),f=c.getType(),h=new g.l,k=new g.l;l.xc(h);c.xc(k);h.W(a,a);k.W(a,a);var m=new g.l;m.K(h);m.Ea(k);var n=new g.xC;n.aC(a);var p=!1;n.pK();var q=0;for(a=l.da();q<a;q++)if(!b|| |
|
1736!=e||l.Ev(q))l.Rj(q,h),h.isIntersecting(m)&&(p=!0,n.JD(q,h));n.iF();if(!p)return null;l=!1;n.oK();b=0;for(a=c.da();b<a;b++)if(!d||1736!=f||c.Ev(b))c.Rj(b,k),k.isIntersecting(m)&&(l=!0,n.ED(b,k));n.hF();return l?n:null};v.Ru=function(l,c,a){if(l!=c)for(var b=0;b<a;b++)null==l[b]?l[b]=g.h.al(c[b]):l[b].L(c[b])};v.Jy=function(l,c,a,b){var d=0;for(b+=0;d<b;a++,d++)null==l[d]&&(l[d]=[0,0]),l[d][0]=c[a].x,l[d][1]=c[a].y};v.Iy=function(l,c,a,b){var d=c,e=0;for(c=b+c;d<c;e++,d++)null==l[d]?l[d]=g.h.construct(a[e][0], |
|
a[e][1]):l[d].ma(a[e][0],a[e][1])};v.kP=function(l,c,a){if(l!=c)for(var b=0;b<a;b++)null==l[b]?l[b]=new g.Sa(c[b]):c[b].copyTo(l[b])};v.vE=function(l,c,a,b){var d=0;null!=l&&(d=l.Xd(0),b&&!a||null==l||(d+=1.01*l.vz(0)));a&&(c*=4,d*=1.01);return Math.max(d,c)};v.ty=function(l,c,a){return v.vE(l,c.xr(),a,!1)};v.gO=function(l,c){var a=new g.l;c.A(a);return v.ty(l,a,!0)};v.uy=function(l,c){return v.vE(l,c.xr(),!1,!0)};v.Hu=function(l,c){var a=new g.l;c.A(a);return v.uy(l,a)};v.AG=function(l,c,a,b){b*= |
|
b;var d=new g.h;d.uc(l,c);l=new g.h;l.uc(a,c);c=d.Sk();a=l.Sk();if(c<=b&&a<=b)return!0;var e=g.lc.ox(d.wi(l));return e<=b*c||e<=b*a?0<=d.Qh(l):!1};v.dK=function(l,c,a,b){for(var d=0;d<c;d++){var e=l[d].y,f=g.O.Rk(e,a,b);f!=e&&(l[d].y=f)}};return v}()})(D||={});(function(g){var v=function(){function d(e){this.Ya=e}d.prototype.compare=function(e,f,h){e=e.ja(h);h=this.Ya.nk(f);var k=this.Ya.nk(e);return h<k?-1:h==k?b.gq(f)&&b.Gv(e)?-1:b.gq(e)&&b.Gv(f)?1:0:1};return d}(),l=function(){function d(e){this.Ya= |
|
e}d.prototype.nr=function(e,f,h){this.Ya.GX(h,e,f)};d.prototype.$p=function(e){return this.Ya.nk(e)};return d}(),c;(function(d){d[d.initialize=0]="initialize";d[d.pIn=1]="pIn";d[d.pL=2]="pL";d[d.pR=3]="pR";d[d.pT=4]="pT";d[d.right=5]="right";d[d.left=6]="left";d[d.all=7]="all"})(c||={});var a=function(){function d(){this.Ya=null;this.Qi=new g.Nc;this.hi=new g.ia(0);this.sg=[0,0]}d.prototype.Xi=function(e,f){this.Qi.oa=e.oa-f;this.Qi.va=e.va+f;this.hi.resize(0);this.he=0;this.sg[0]=0};d.prototype.EB= |
|
function(e,f,h){if(e>f)throw g.i.N();this.Qi.oa=e-h;this.Qi.va=f+h;this.hi.resize(0);this.he=0;this.sg[0]=0};d.prototype.Uo=function(e,f){this.Qi.oa=e-f;this.Qi.va=e+f;this.hi.resize(0);this.he=0;this.sg[0]=0};d.prototype.next=function(){if(!this.Ya.lq)throw g.i.Hb();if(0>this.he)return-1;for(var e=!0;e;)switch(this.sg[this.he]){case 1:e=this.FU();break;case 2:e=this.GU();break;case 3:e=this.HU();break;case 4:e=this.IU();break;case 5:e=this.GW();break;case 6:e=this.kT();break;case 7:e=this.tN();break; |
|
case 0:e=this.Gz();break;default:throw g.i.Qa();}return-1!=this.Og?this.Mp()>>1:-1};d.construct=function(e){var f=new d;f.Ya=e;f.hi.Jb(20);f.he=-1;return f};d.prototype.Gz=function(){this.Og=this.vH=this.Mi=this.Lc=-1;if(null!=this.Ya.me&&0<this.Ya.me.size)return this.sg[0]=1,this.Mi=this.Ya.kf,!0;this.he=-1;return!1};d.prototype.FU=function(){this.Lc=this.Mi;if(-1==this.Lc)return this.Og=this.he=-1,!1;var e=this.Ya.Np(this.Lc);if(this.Qi.va<e)return e=this.Ya.mk(this.Lc),this.Mi=this.Ya.qj(this.Lc), |
|
-1!=e&&(this.ei=this.Ya.kl(e),this.sg[++this.he]=6),!0;if(e<this.Qi.oa)return e=this.Ya.mk(this.Lc),this.Mi=this.Ya.lk(this.Lc),-1!=e&&(this.ei=this.Ya.Zr(e),this.sg[++this.he]=5),!0;this.sg[this.he]=2;this.vH=this.Lc;e=this.Ya.mk(this.Lc);this.Mi=this.Ya.qj(this.Lc);-1!=e&&(this.ei=this.Ya.kl(e),this.sg[++this.he]=7);return!0};d.prototype.GU=function(){this.Lc=this.Mi;if(-1==this.Lc)return this.sg[this.he]=3,this.Mi=this.Ya.lk(this.vH),!0;if(this.Ya.Np(this.Lc)<this.Qi.oa){var e=this.Ya.mk(this.Lc); |
|
this.Mi=this.Ya.lk(this.Lc);-1!=e&&(this.ei=this.Ya.Zr(e),this.sg[++this.he]=5);return!0}e=this.Ya.mk(this.Lc);this.Mi=this.Ya.qj(this.Lc);-1!=e&&(this.ei=this.Ya.kl(e),this.sg[++this.he]=7);e=this.Ya.lk(this.Lc);-1!=e&&this.hi.add(e);return!0};d.prototype.HU=function(){this.Lc=this.Mi;if(-1==this.Lc)return this.sg[this.he]=4,!0;if(this.Qi.va<this.Ya.Np(this.Lc)){var e=this.Ya.mk(this.Lc);this.Mi=this.Ya.qj(this.Lc);-1!=e&&(this.ei=this.Ya.kl(e),this.sg[++this.he]=6);return!0}e=this.Ya.mk(this.Lc); |
|
this.Mi=this.Ya.lk(this.Lc);-1!=e&&(this.ei=this.Ya.kl(e),this.sg[++this.he]=7);e=this.Ya.qj(this.Lc);-1!=e&&this.hi.add(e);return!0};d.prototype.IU=function(){if(0==this.hi.size)return this.Og=this.he=-1,!1;this.Lc=this.hi.get(this.hi.size-1);this.hi.resize(this.hi.size-1);var e=this.Ya.mk(this.Lc);-1!=e&&(this.ei=this.Ya.kl(e),this.sg[++this.he]=7);-1!=this.Ya.qj(this.Lc)&&this.hi.add(this.Ya.qj(this.Lc));-1!=this.Ya.lk(this.Lc)&&this.hi.add(this.Ya.lk(this.Lc));return!0};d.prototype.kT=function(){this.Og= |
|
this.ei;if(-1!=this.Og&&b.gq(this.Mp())&&this.Ya.nk(this.Mp())<=this.Qi.va)return this.ei=this.SF(),!1;this.he--;return!0};d.prototype.GW=function(){this.Og=this.ei;if(-1!=this.Og&&b.Gv(this.Mp())&&this.Ya.nk(this.Mp())>=this.Qi.oa)return this.ei=this.QR(),!1;this.he--;return!0};d.prototype.tN=function(){this.Og=this.ei;if(-1!=this.Og&&b.gq(this.Mp()))return this.ei=this.SF(),!1;this.he--;return!0};d.prototype.SF=function(){return this.Ya.Sf?this.Ya.$f.lb(this.Og):this.Ya.Ti.lb(this.Og)};d.prototype.QR= |
|
function(){return this.Ya.Sf?this.Ya.$f.we(this.Og):this.Ya.Ti.we(this.Og)};d.prototype.Mp=function(){return this.Ya.Sf?this.Ya.$f.ja(this.Og):this.Ya.Ti.getData(this.Og)};return d}();g.EY=a;var b=function(){function d(e){this.Am=this.$h=this.$f=this.Ti=this.Km=this.Ej=this.me=this.Fj=null;this.Sf=e;this.lq=this.Sv=!1}d.prototype.kr=function(){this.Nk(!0)};d.prototype.Br=function(e,f){if(!this.Sv)throw g.i.Hb();this.Fj.push(new g.Nc(e,f))};d.prototype.Fp=function(){if(!this.Sv)throw g.i.fa("invalid call"); |
|
this.Sv=!1;this.lq=!0;this.Sf||(this.vS(),this.Zv=this.Fj.length)};d.prototype.vj=function(e){if(!this.Sf||!this.lq)throw g.i.N("invalid call");if(-1==this.kf){var f=this.Fj.length;if(this.iA){var h=new g.ia(0);h.Jb(2*f);this.bJ(h);this.$h.Jb(2*f);this.$h.resize(0);this.aJ(h);this.Km.resize(f,-1);this.Km.Wj(-1,0,f);this.iA=!1}else this.Km.Wj(-1,0,f);this.kf=this.Tu()}f=this.pG(e<<1,this.kf);h=this.$f.addElement((e<<1)+1,this.xz(f));this.VJ(f,h);this.Km.set(e,f);this.Zv++};d.prototype.remove=function(e){if(!this.Sf|| |
|
!this.lq)throw g.i.fa("invalid call");var f=this.Km.get(e);if(-1==f)throw g.i.N("the interval does not exist in the interval tree");this.Km.set(e,-1);this.Zv--;var h=this.xz(f),k=this.$f.ZR(h);this.$f.vd(this.wR(f),h);this.$f.vd(this.TR(f),h);e=this.$f.size(h);0==e&&(this.$f.MP(h),this.ZJ(k,-1));this.Ej.jd(f);h=this.UF(k);var m=this.qj(k),n=this.lk(k);for(f=0;!(0<e||k==this.kf||-1!=m&&-1!=n);)k==this.qj(h)?-1!=m?(this.Ok(h,m),this.Uj(m,h),this.Ok(k,-1)):-1!=n?(this.Ok(h,n),this.Uj(n,h),this.Qk(k, |
|
-1)):this.Ok(h,-1):-1!=m?(this.Qk(h,m),this.Uj(m,h),this.Ok(k,-1)):-1!=n?(this.Qk(h,n),this.Uj(n,h),this.Qk(k,-1)):this.Qk(h,-1),this.Uj(k,-1),f++,k=h,h=this.mk(k),e=-1!=h?this.$f.size(h):0,m=this.qj(k),n=this.lk(k),h=this.UF(k)};d.prototype.reset=function(){if(!this.Sf||!this.lq)throw g.i.N("invalid call");this.Nk(!1)};d.prototype.size=function(){return this.Zv};d.prototype.getIterator=function(){return a.construct(this)};d.prototype.bJ=function(e){for(var f=this.Fj.length,h=0;h<2*f;h++)e.add(h); |
|
this.HX(e,2*f)};d.prototype.aJ=function(e){for(var f=NaN,h=0;h<e.size;h++){var k=e.get(h),m=this.nk(k);m!=f&&(this.$h.add(k),f=m)}};d.prototype.vS=function(){var e=this.Fj.length,f=new g.ia(0);f.Jb(2*e);this.bJ(f);this.$h.Jb(2*e);this.$h.resize(0);this.aJ(f);this.Ej.De(e);this.Ti.fn(2*e);var h=g.Yc.Oh(e);h.Wj(-1,0,e);this.kf=this.Tu();for(e=0;e<f.size;e++){var k=f.get(e),m=h.get(k>>1);-1!=m?this.VJ(m,this.Ti.addElement(this.xz(m),k)):(m=this.pG(k,this.kf),h.set(k>>1,m))}};d.prototype.pG=function(e, |
|
f){var h=f,k=f,m=-1,n=0,p=this.$h.size-1,q=0,r=e>>1,t=NaN,u=NaN,w=!0,y=this.DR(r);for(r=this.AR(r);w;){n<p?(q=n+g.O.truncate((p-n)/2),-1==this.gz(h)&&this.FJ(h,this.$h.get(q),this.$h.get(q+1))):-1==this.gz(h)&&this.FJ(h,this.$h.get(n),this.$h.get(n));var x=this.Np(h);if(r<x)-1!=f&&(f==h?(k=h,t=x,f=this.qj(h),u=-1!=f?this.Np(f):NaN):u>x&&(x<t?this.Ok(k,h):this.Qk(k,h),this.Qk(h,f),this.Sf&&(this.Uj(h,k),this.Uj(f,h)),k=h,t=x,f=-1,u=NaN)),p=this.xR(h),-1==p&&(p=this.Tu(),this.dX(h,p)),h=p,p=q;else if(y> |
|
x)-1!=f&&(f==h?(k=h,t=x,f=this.lk(h),u=-1!=f?this.Np(f):NaN):u<x&&(x<t?this.Ok(k,h):this.Qk(k,h),this.Ok(h,f),this.Sf&&(this.Uj(h,k),this.Uj(f,h)),k=h,t=x,f=-1,u=NaN)),n=this.UR(h),-1==n&&(n=this.Tu(),this.oX(h,n)),h=n,n=q+1;else{w=this.mk(h);-1==w&&(w=this.zP(h),this.ZJ(h,w));var z=this.fN(w,e);m=this.xP();this.qX(m,w);this.cX(m,z);h!=f&&(x<t?this.Ok(k,h):this.Qk(k,h),this.Sf&&this.Uj(h,k),-1!=f&&(u<x?this.Ok(h,f):this.Qk(h,f),this.Sf&&this.Uj(f,h)));w=!1}}return m};d.prototype.Tu=function(){return this.me.Ce()}; |
|
d.prototype.zP=function(e){return this.Sf?this.$f.Pr(e):this.Ti.Ph(e)};d.prototype.xP=function(){return this.Ej.Ce()};d.prototype.Nk=function(e){e?(this.Sv=this.iA=!0,this.lq=!1,null==this.$h?this.$h=g.Yc.Oh(0):this.$h.resize(0),null==this.Fj?this.Fj=[]:this.Fj.length=0):this.iA=!1;this.Sf?null==this.Km?(this.Km=g.Yc.Oh(0),this.$f=new g.Yj,this.$f.Vo(new v(this))):this.$f.clear():null==this.Ti?this.Ti=new g.jp:this.Ti.clear();null==this.me?(this.Ej=new g.$c(3),this.me=new g.$c(this.Sf?8:7)):(this.Ej.mj(!1), |
|
this.me.mj(!1));this.kf=-1;this.Zv=0};d.prototype.FJ=function(e,f,h){this.XW(e,f);this.YW(e,h)};d.prototype.Np=function(e){var f=this.gz(e);if(-1==f)return NaN;f=this.nk(f);e=this.nk(this.gR(e));return f==e?f:.5*(f+e)};d.prototype.XW=function(e,f){this.me.S(e,0,f)};d.prototype.YW=function(e,f){this.me.S(e,1,f)};d.prototype.dX=function(e,f){this.me.S(e,3,f)};d.prototype.oX=function(e,f){this.me.S(e,4,f)};d.prototype.ZJ=function(e,f){this.me.S(e,2,f)};d.prototype.Ok=function(e,f){this.me.S(e,5,f)}; |
|
d.prototype.Qk=function(e,f){this.me.S(e,6,f)};d.prototype.Uj=function(e,f){this.me.S(e,7,f)};d.prototype.qX=function(e,f){this.Ej.S(e,0,f)};d.prototype.fN=function(e,f){return this.Sf?this.$f.addElement(f,e):this.Ti.addElement(e,f)};d.prototype.cX=function(e,f){this.Ej.S(e,1,f)};d.prototype.VJ=function(e,f){this.Ej.S(e,2,f)};d.prototype.kl=function(e){return this.Sf?this.$f.rc(e):this.Ti.rc(e)};d.prototype.Zr=function(e){return this.Sf?this.$f.Fc(e):this.Ti.Fc(e)};d.gq=function(e){return 0==(e&1)}; |
|
d.Gv=function(e){return 1==(e&1)};d.prototype.gz=function(e){return this.me.T(e,0)};d.prototype.gR=function(e){return this.me.T(e,1)};d.prototype.mk=function(e){return this.me.T(e,2)};d.prototype.xR=function(e){return this.me.T(e,3)};d.prototype.UR=function(e){return this.me.T(e,4)};d.prototype.qj=function(e){return this.me.T(e,5)};d.prototype.lk=function(e){return this.me.T(e,6)};d.prototype.UF=function(e){return this.me.T(e,7)};d.prototype.xz=function(e){return this.Ej.T(e,0)};d.prototype.wR=function(e){return this.Ej.T(e, |
|
1)};d.prototype.TR=function(e){return this.Ej.T(e,2)};d.prototype.DR=function(e){return this.Fj[e].oa};d.prototype.AR=function(e){return this.Fj[e].va};d.prototype.HX=function(e,f){null==this.Am&&(this.Am=new g.Xt);var h=new l(this);this.Am.sort(e,0,f,h)};d.prototype.GX=function(e,f,h){var k=this;e.Vd(f,h,function(m,n){var p=k.nk(m),q=k.nk(n);return p<q||p==q&&d.gq(m)&&d.Gv(n)?-1:1})};d.prototype.nk=function(e){var f=this.Fj[e>>1];return d.gq(e)?f.oa:f.va};return d}();g.sr=b})(D||={});(function(g){var v= |
|
function(){function l(c){if(null==c)throw g.i.fa("Invalid arguement");this.hf=c;var a=c.nR();a.hS()?c.ef.IG()?this.lo=g.si.PannableFold:this.lo=g.si.Clip:this.lo=g.si.DontClip;a.iS()?c.Yf.IG()?this.Qm=g.si.PannableFold:this.Qm=g.si.Clip:this.Qm=g.si.DontClip;this.Bm=a.Jr;this.mH=a.Vu;c=this.hf.sH;this.aH=c.hs(2147483648);this.Uv=c.hs(1073741824)}l.zh=function(c,a,b){return a.ww.zh(c,b)};l.Rt=function(c,a,b,d){return c.ww.Rt(a,b,d)};l.Qt=function(c,a,b,d){b=0>b?a.length:b;c=c.ww.Rt(a,b,d);if(c==b)return c; |
|
for(var e=a=0;e<b;e++){var f=d[e];f.isNaN()||(a<e&&d[a].L(f),a++)}for(;a<b;a++)d[a].Rc();return c};l.transform=function(c,a,b,d,e){if(c.isIdentity())return g.ta.kP(d,a,b),b;for(var f=[],h=0,k=0;k<b;){for(var m=Math.min(f.length,b-k),n=k,p=0;n<m;n++,p++)null==f[p]?f[p]=a[n].D():a[n].D(f[p]);var q=e?l.Qt(c,f,m,f):l.Rt(c,f,m,f);for(p=n=0;n<q;n++,p++)null==d[k]&&(d[k]=new g.Sa(a[k])),d[k].Cb(f[p]);k+=m;h+=q}return h};l.prototype.Rt=function(c,a,b){if(this.hf.isIdentity())return c!=b&&g.ta.Ru(b,c,a),a; |
|
var d=this.hf.ef,e=this.hf.Yf,f=d.Sb(),h=e.Sb();if(0==f&&f===h){var k=d.Qp();e=e.Qp();e=k/e;k=new g.Dd;k.setScale(e,e);k.eY(c,a,b);return a}k=g.O.Fu(Math.min(a,64));if(3==f){var m=d.Ji;d=m.fk();f=d.Sb();b!=c&&g.ta.Ru(b,c,a);g.zb.$k(m,b,a,!0);m.Qt(g.bm.forward,b,a);g.zb.Zk(m,b,a,!0)}if(3==f||3===h)throw g.i.fa("image: transform_in_place_");if(2==f)this.lo==g.si.Clip?(b!=c&&g.ta.Ru(b,c,a),c=d.ml(),g.zb.OS(c,d,b,a)):(b!=c&&g.ta.Ru(b,c,a),d.Wc()&&(f=d.Xd(0),m=d.Oe(),g.zb.EX(b,a,m,f),g.zb.qF(b,a,d,0))), |
|
g.zb.IL(d,b,a,k);else for(f=d.Xd(0),m=d.Oe(),d=0;d<a;d++)g.zb.FX(c[d],m,f,b[d]);g.zb.GL(this.hf,b,a,k);c=0;(h=2==h)?c=e.zi():isNaN(this.Bm)||(c=this.Bm);h&&this.Qm!=g.si.Clip||g.zb.qF(b,a,e.sc(),c);h&&(g.zb.yG(b,a,e,this.Qm),g.zb.HL(e,b,a,k));c=a;for(d=0;d<a;++d)b[d].isNaN()&&c--;return c};l.prototype.zh=function(c,a){if(this.hf.isIdentity()||c.B())return c;if(33==c.getType())return this.XI(c);var b=this.hf.ef,d=this.hf.Yf,e=b.Sb(),f=d.Sb();if(0==e&&e==f)return a=b.Qp(),d=d.Qp(),a/=d,d=new g.Dd,d.setScale(a, |
|
a),c=g.aa.jg(c),c.Oc(d),c;switch(c.getType()){case 1607:case 1736:c=this.VI(c,a);break;case 550:c=this.fW(c,a);break;case 197:c=this.eW(c,a);break;default:throw g.i.fa("");}return c};l.prototype.XI=function(c){var a=c.D(),b=[];b[0]=a;this.Rt(b,1,b);c=new g.Sa(c);c.Cb(b[0]);return c};l.prototype.VI=function(c,a){if(c.tm())throw g.i.fa("curves not supported");var b=c.getType();if(1736==b)return this.gW(c,a);if(1607==b)return this.hW(c,a);throw g.i.fa("projectMultiPath");};l.prototype.gW=function(c, |
|
a){var b=this.hf.ef,d=this.hf.Yf,e=b.Sb(),f=d.Sb(),h=g.O.Fu(Math.min(c.I(),64)),k=g.Da.jg(c);3==e&&(c=b.Ji,b=c.fk(),e=b.Sb(),k=c.$k(k,!0),this.wp(c,g.bm.forward,k),k=c.Zk(k,!0));c=null;3==f&&(c=d.Ji,d=c.fk(),f=d.Sb());var m=2==e,n=2==f,p=n?d.sc():d,q=!n&&!this.Uv;f=!1;var r=k;if(m){if(r=g.zb.UI(r,b,this.lo,a),r.B())return r}else{k=new g.l;r.xc(k);e=b.Oe();if(k.G<e.G||k.H>e.H){var t=g.l.construct(k.v-1,e.G,k.C+1,e.H);r=g.ri.Nu(r,t,b,NaN,0,a);if(r.B())return r}k.R()>2*e.R()&&(r=g.zb.Hp(r,-2*e.R(),2* |
|
e.R(),b,!0,0,!0,a))}k=this.mH;(e=!isNaN(k))&&(r=g.Xl.local().V(r,k,a));t=n?d.kk():null;var u=NaN;m&&(u=b.zi());var w=null!=d.Wr();if(this.aH)m&&(g.zb.ur(b,u,r,h),e&&(m=b.hh(),u=b.sc().hh(),k*=u/m)),g.zb.tr(this.hf,r,q,h),e&&(m=b.sc().hh(),u=d.sc().hh(),k*=u/m),b=r;else{var y=new g.Ta(r.description);y.DD(r);m&&(g.zb.ur(b,u,y,h),e&&(m=b.hh(),u=b.sc().hh(),k*=u/m));g.zb.tr(this.hf,y,q,h);e&&(m=b.sc().pm(),u=d.sc().pm(),k*=u/m);q=NaN;n?(t=d.kk(),q=d.zi()):isNaN(this.Bm)||(q=this.Bm);m=l.tv(b)|l.tv(d); |
|
u=10*p.Xd(0);this.Uv&&(m=3,u=0);b=g.zb.UQ(r,b,y,p,q,a,m,u)}w&&(b=g.zb.XD(b,d,a));n&&(f||(n=p.Oe().R(),b.Tg(0,0).R()>=n-p.Xd(0)&&(p=t.getNorthPoleLocation(),n=t.getSouthPoleLocation(),r=t.getNorthPoleGeometry(),t=t.getSouthPoleGeometry(),q=0,r==g.Cg.PE_POLE_POINT&&p!=g.Cg.PE_POLE_OUTSIDE_BOUNDARY&&(q=1),t==g.Cg.PE_POLE_POINT&&n!=g.Cg.PE_POLE_OUTSIDE_BOUNDARY&&(q|=2),0!==q&&(f=!0))),b=g.zb.Mz(b,d,this.Qm,a),e&&(b=g.Xl.local().V(b,k,a)),g.zb.Lx(d,b,h));if(b.B())return b;f&&(b=g.Yl.local().V(b,d,!1,a)); |
|
null!=c&&(b=c.Zk(b,!1),this.wp(c,g.bm.reverse,b),b=c.$k(b,!1));return b};l.tv=function(c){if(2!=c.Sb())return 0;var a=0,b=c.kk();c=b.getNorthPoleLocation();var d=b.getSouthPoleLocation(),e=b.getNorthPoleGeometry();b=b.getSouthPoleGeometry();e==g.Cg.PE_POLE_POINT&&c!=g.Cg.PE_POLE_OUTSIDE_BOUNDARY&&(a=1);b==g.Cg.PE_POLE_POINT&&d!=g.Cg.PE_POLE_OUTSIDE_BOUNDARY&&(a|=2);return a};l.prototype.hW=function(c,a){var b=this.hf.ef,d=this.hf.Yf,e=b.Sb(),f=d.Sb(),h=g.O.Fu(Math.min(c.I(),64)),k=g.Ta.jg(c);3==e&& |
|
(c=b.Ji,b=c.fk(),e=b.Sb(),k=c.$k(k,!0),this.wp(c,g.bm.forward,k),k=c.Zk(k,!0));c=null;3==f&&(c=d.Ji,d=c.fk(),f=d.Sb());var m=2==e;e=(f=2==f)?d.sc():d;var n=!f&&!this.Uv;if(m){if(k=g.zb.UI(k,b,this.lo,a),k.B())return k}else{var p=new g.l;k.xc(p);var q=b.Oe();if(p.G<q.G||p.H>q.H)if(p=g.l.construct(p.v-1,q.G,p.C+1,q.H),k=g.ri.Nu(k,p,b,NaN,0,a),k.B())return k}var r=NaN;m&&(r=b.zi());p=null!=d.Wr();q=this.mH;var t=!isNaN(q);t&&(k=g.Xl.local().V(k,q,a));if(this.aH)m&&g.zb.ur(b,r,k,h),t&&(m=b.hh(),r=b.sc().hh(), |
|
q*=r/m),g.zb.tr(this.hf,k,n,h),t&&(m=b.sc().hh(),r=d.sc().hh(),q*=r/m),b=k;else{var u=new g.Ta(k.description);u.DD(k);m&&(g.zb.ur(b,r,u,h),t&&(m=b.hh(),r=b.sc().hh(),q*=r/m));g.zb.tr(this.hf,u,n,h);t&&(m=b.sc().hh(),r=d.sc().hh(),q*=r/m);n=NaN;f?n=d.zi():isNaN(this.Bm)||(n=this.Bm);m=l.tv(b)|l.tv(d);r=10*e.Xd(0);this.Uv&&(m=3,r=0);b=g.zb.VQ(k,b,u,e,n,a,m,r)}p&&(b=g.zb.XD(b,d,a));f&&(b=g.zb.Mz(b,d,this.Qm,a),t&&(b=g.Xl.local().V(b,q,a)),g.zb.Lx(d,b,h));if(b.B())return b;null!=c&&(b=c.Zk(b,!1),this.wp(c, |
|
g.bm.reverse,b),b=c.$k(b,!1));return b};l.prototype.eW=function(c,a){var b=(c.ca()+c.R())/400;0!=b?(b=g.Xl.local().V(c,b,a),b=this.VI(b,a),a=c.Ia(),b.bn(a)):(a=new g.Sa(c.Ip()),b=this.XI(a),a=c.Ia(),b.B()?a.Oa():(c.copyTo(a),c=b.D(),a.K(c.x,c.y,c.x,c.y)));return a};l.prototype.fW=function(c,a){c=g.aa.jg(c);var b=this.hf.ef,d=this.hf.Yf,e=b.Sb(),f=d.Sb(),h=g.O.Fu(Math.min(c.I(),64));if(3==e){var k=b.Ji;b=k.fk();e=b.Sb();c=k.Zk(c,!0);this.wp(k,g.bm.forward,c);c=k.$k(c,!0)}if(2==e){this.lo==g.si.Clip? |
|
c=g.Xj.local().V(c,b.ml(),b,a):b.Wc()&&(e=new g.l,c.xc(e),b.Oe().contains(e)||(this.lo==g.si.PannableFold&&(c=g.zb.lj(c,b)),g.zb.Jt(c,b.Oe(),b.Xd(0),!0),c=g.zb.Fn(c,b,0,!0,0,a)));if(c.B())return c;g.zb.ur(b,0,c,h)}else g.zb.Jt(c,b.Oe(),b.Xd(0),!0);g.zb.tr(this.hf,c,!1,h);b=0;e=!1;k=null;3==f&&(e=!0,k=d.Ji,d=k.fk(),f=d.Sb());(f=2==f)?b=d.zi():isNaN(this.Bm)||(b=this.Bm);f&&this.Qm!=g.si.Clip||(c=g.zb.Fn(c,d.sc(),b,!1,0,a));if(f&&(c=g.zb.Mz(c,d,this.Qm,a),g.zb.Lx(d,c,h),c.B()))return c;e&&(c=k.Zk(c, |
|
!0),this.wp(k,g.bm.reverse,c),c=k.$k(c,!0));return c};l.prototype.wp=function(c,a,b){var d=b.I();if(0!=d){for(var e=b.ub(0),f=g.O.lg(200,0),h=[],k=0;k<d;){var m=Math.min(100,d-k);e.Vw(2*k,2*m,f,2,!0);for(var n=0;n<m;++n)h[n]=g.h.construct(f[2*k],f[2*k+1]);c.Qt(a,h,m);k+=m}b.Pc(1993)}};l.Uy=function(c,a,b){if(null==c||null==a||!a.Wc())throw g.i.fa("Invalid Arguement");if(c.B())return c;var d=c.getType();197==d?(d=new g.Da(c.description),d.ad(c,!1)):g.aa.yd(d)?(d=new g.Ta(c.description),d.oc(c,!0)): |
|
d=c;d=g.zb.lj(d,a);return d.B()?d:g.zb.Fn(d,a,0,d!=c,0,b)};l.nj=function(c,a,b,d){if(null==c||null==a||!a.Wc())throw g.i.fa("Invalid Arguement");if(c.B())return c;var e=c.getType();if(g.aa.Hc(e)){c=g.zb.lj(c,a);e=new g.l;c.A(e);for(var f=g.ta.ty(a,e,!1),h=a.gh(),k=Math.floor((e.v-h.v)/h.R())*h.R()+h.v;k<e.C;)k>e.v+f&&k<e.C-f&&(c=g.zb.uS(c,a,b,k)),k+=h.R()}else{if(197==e)return e=new g.Da(c.description),e.ad(c,!1),l.nj(e,a,b,d);if(g.aa.yd(e))return e=new g.Ta(c.description),e.oc(c,!0),l.nj(e,a,b,d)}return l.Uy(c, |
|
a,d)};return l}();g.bu=v})(D||={});(function(g){var v=function(l){function c(a,b,d,e){var f=l.call(this)||this;void 0===a?f.description=g.ee.og():void 0===d?f.description=a:(f.description=g.ee.og(),f.ZB(a,b),f.Ql(d,e));return f}R(c,l);c.prototype.getType=function(){return 322};c.prototype.Qb=function(){var a=this.sa-this.pa,b=this.na-this.la;return Math.sqrt(a*a+b*b)};c.prototype.Bi=function(a){var b=this.sa-this.pa,d=this.na-this.la;return Math.sqrt(b*b+d*d)<=a};c.prototype.Pn=function(){return!1}; |
|
c.prototype.kg=function(){var a=new g.h;a.uc(this.wc(),this.ac());return a};c.cP=function(a,b){return new c(a.x,a.y,b.x,b.y)};c.prototype.bn=function(a){a.Oa();a.Nf(this.description);var b=new g.l;this.A(b);a.Xo(b);b=1;for(var d=this.description.Aa;b<d;b++)for(var e=this.description.kd(b),f=g.ra.Va(e);b<f;b++){var h=this.Tg(e,0);a.setInterval(e,0,h)}};c.prototype.A=function(a){a.K(this.sa,this.na,this.pa,this.la);a.normalize()};c.prototype.Qo=function(a){a.Oa();a.Zb(this.sa,this.na,this.Od(0,1,0)); |
|
a.Zb(this.pa,this.la,this.Od(1,1,0))};c.prototype.Oc=function(a){if(a instanceof g.Dd){this.vc();var b=new g.h;b.x=this.sa;b.y=this.na;a.Eh(b,b);this.sa=b.x;this.na=b.y;b.x=this.pa;b.y=this.la;a.Eh(b,b);this.pa=b.x;this.la=b.y}else this.vc(),b=new g.Nd,b.x=this.sa,b.y=this.na,b.z=this.Od(0,1,0),b=a.fp(b),this.sa=b.x,this.na=b.y,this.tn(0,1,0,b.z),b.x=this.pa,b.y=this.la,b.z=this.Od(1,1,0),b=a.fp(b),this.pa=b.x,this.la=b.y,this.tn(1,1,0,b.z)};c.prototype.Ia=function(){return new c(this.description)}; |
|
c.prototype.Tx=function(a,b){return(this.pa-a-(this.sa-a))*(this.la-b+(this.na-b))*.5};c.prototype.vx=function(a){return a*this.Qb()};c.prototype.NG=function(a){return a/this.Qb()};c.prototype.DF=function(a){return g.lc.hq(this.sa,this.pa,a)};c.prototype.fR=function(a){return g.lc.hq(this.na,this.la,a)};c.prototype.dl=function(a,b){var d=new g.ig;this.ah(a,b,d);return d.get()};c.prototype.ah=function(a,b,d){if(null==d)throw g.i.N();d.Or();d=d.get();d.Nf(this.description);var e=new g.h;this.hc(a,e); |
|
d.ZB(e.x,e.y);this.hc(b,e);d.Ql(e.x,e.y);e=1;for(var f=this.description.Aa;e<f;e++)for(var h=this.description.Ed(e),k=g.ra.Va(h),m=0;m<k;m++){var n=this.Uc(a,h,m);d.YB(h,m,n);n=this.Uc(b,h,m);d.OB(h,m,n)}};c.prototype.Uc=function(a,b,d){if(0==b)return 0==d?this.hc(a).x:this.hc(a).y;switch(g.ra.lz(b)){case 0:return.5>a?this.wv(b,d):this.gv(b,d);case 1:var e=this.wv(b,d);b=this.gv(b,d);return g.lc.hq(e,b,a);case 2:throw g.i.fa("not implemented");}throw g.i.Qa();};c.prototype.fe=function(a,b){var d= |
|
this.pa-this.sa,e=this.la-this.na,f=d*d+e*e;if(0==f)return.5;a=((a.x-this.sa)*d+(a.y-this.na)*e)/f;b||(0>a?a=0:1<a&&(a=1));return a};c.prototype.cq=function(a,b,d,e){if(a){a=this.la-this.na;if(0==a)return b==this.la?-1:0;b=(b-this.na)/a;if(0>b||1<b)return 0;null!=d&&(d[0]=this.DF(b))}else{a=this.pa-this.sa;if(0==a)return b==this.pa?-1:0;b=(b-this.sa)/a;if(0>b||1<b)return 0;null!=d&&(d[0]=this.fR(b))}null!=e&&(e[0]=b);return 1};c.prototype.Pe=function(a,b){var d=this.la-this.na;if(0==d)return a==this.la? |
|
b:NaN;a=(a-this.na)/d;b=this.DF(a);1==a&&(b=this.pa);return b};c.prototype.ru=function(a,b,d){return 0<=this.rp(a.x,a.y,b,d)};c.prototype.vi=function(a,b,d){return 0<=this.rp(a,b,d,!0)};c.prototype.qs=function(a,b){return this.ru(a,b,!1)};c.prototype.rI=function(){if(this.la<this.na||this.la==this.na&&this.pa<this.sa){var a=this.sa;this.sa=this.pa;this.pa=a;a=this.na;this.na=this.la;this.la=a;a=0;for(var b=this.description.Oq-2;a<b;a++){var d=this.ka[a];this.ka[a]=this.ka[a+b];this.ka[a+b]=d}}};c.prototype.uu= |
|
function(a,b){b=g.h.construct(a,b);b.sub(this.ac());var d=new g.h;d.uc(this.wc(),this.ac());a=d.wi(b);b=8.881784197001252E-16*(Math.abs(d.x*b.y)+Math.abs(d.y*b.x));return a>b?-1:a<-b?1:0};c.prototype.rp=function(a,b,d,e){var f=this.sa,h=this.na,k=a-f,m=b-h;k=Math.sqrt(k*k+m*m);if(k<=Math.max(d,6.661338147750939E-16*k))return e&&0==k?NaN:0;k=a-this.pa;m=b-this.la;k=Math.sqrt(k*k+m*m);if(k<=Math.max(d,6.661338147750939E-16*k))return e&&0==k?NaN:1;k=this.pa-this.sa;m=this.la-this.na;e=Math.sqrt(k*k+ |
|
m*m);if(0<e){var n=1/e;k*=n;m*=n;var p=a-f,q=b-h,r=p*k+q*m,t=1.7763568394002505E-15*(Math.abs(p*k)+Math.abs(q*m)),u=k;k=-m;m=u;t=Math.max(d,t);if(r<-t||r>e+t)return NaN;if(Math.abs(p*k+q*m)<=Math.max(d,1.7763568394002505E-15*(Math.abs(p*k)+Math.abs(q*m)))&&(k=g.O.Rk(r*n,0,1),.5>=k?(m=this.sa+(this.pa-this.sa)*k,e=this.na+(this.la-this.na)*k):(m=this.pa-(this.pa-this.sa)*(1-k),e=this.la-(this.la-this.na)*(1-k)),g.h.Oy(m,e,a,b)<=d)){if(.5>k){if(g.h.Oy(m,e,f,h)<=d)return 0}else if(g.h.Oy(m,e,this.pa, |
|
this.la)<=d)return 1;return k}}return NaN};c.prototype.Nb=function(a){return null==a?!1:a==this?!0:a.constructor!==this.constructor?!1:this.FM(a)};c.prototype.rD=function(a,b,d){var e=d?this.sa:this.pa;d=d?this.na:this.la;var f=new g.h;f.x=a.pa-e;f.y=a.la-d;return b.Qh(f)>6.661338147750939E-16*b.fD(f)?(f.x=a.sa-e,f.y=a.na-d,b.Qh(f)<=6.661338147750939E-16*b.fD(f)):!0};c.prototype.qD=function(a){var b=new g.h;b.x=this.pa-this.sa;b.y=this.la-this.na;if(!this.rD(a,b,!1))return!1;b.Sq();return this.rD(a, |
|
b,!0)?!0:!1};c.NM=function(a,b){var d=a.uu(b.sa,b.na),e=a.uu(b.pa,b.la);if(0>d&&0>e||0<d&&0<e)return!1;d=b.uu(a.sa,a.na);e=b.uu(a.pa,a.la);if(0>d&&0>e||0<d&&0<e)return!1;d=a.Qb();e=b.Qb();return d>e?a.qD(b):b.qD(a)};c.LM=function(a,b,d){var e=g.h.construct(NaN,NaN),f=a.pa-a.sa,h=a.la-a.na,k=b.pa-b.sa,m=b.la-b.na,n=k*h-f*m;if(0==n)return e;var p=8.881784197001252E-16*(Math.abs(k*h)+Math.abs(f*m)),q=b.sa-a.sa,r=b.na-a.na,t=k*r-q*m,u=t/n,w=Math.abs(n);k=(8.881784197001252E-16*(Math.abs(k*r)+Math.abs(q* |
|
m))*w+p*Math.abs(t))/(n*n)+2.220446049250313E-16*Math.abs(u);if(u<-k||u>1+k)return e;m=f*r-q*h;k=m/n;f=(8.881784197001252E-16*(Math.abs(f*r)+Math.abs(q*h))*w+p*Math.abs(m))/(n*n)+2.220446049250313E-16*Math.abs(k);if(k<-f||k>1+f)return e;u=g.O.Rk(u,0,1);f=g.O.Rk(k,0,1);h=a.hc(u);n=b.hc(f);p=new g.h;p.uc(h,n);if(p.length()>d&&(p.add(h,n),p.scale(.5),u=a.fe(p,!1),f=b.fe(p,!1),a=a.hc(u),b=b.hc(f),a.sub(b),a.length()>d))return e;e.ma(u,f);return e};c.OM=function(a,b,d,e){var f=0;if(a.sa==b.sa&&a.na==b.na|| |
|
a.sa==b.pa&&a.na==b.la)if(f++,!e)return 1;if(a.pa==b.sa&&a.la==b.na||a.pa==b.pa&&a.la==b.la){f++;if(2==f)return 2;if(!e)return 1}return b.vi(a.sa,a.na,d)||b.vi(a.pa,a.la,d)||a.vi(b.sa,b.na,d)||a.vi(b.pa,b.la,d)?1:e&&0!=f?0:0==c.NM(a,b)?0:1};c.Zx=function(a,b,d,e,f,h){var k=0,m=a.rp(b.sa,b.na,h,!1),n=a.rp(b.pa,b.la,h,!1),p=b.rp(a.sa,a.na,h,!1),q=b.rp(a.pa,a.la,h,!1);isNaN(m)||(null!=e&&(e[k]=m),null!=f&&(f[k]=0),null!=d&&(d[k]=g.h.construct(b.sa,b.na)),k++);isNaN(n)||(null!=e&&(e[k]=n),null!=f&&(f[k]= |
|
1),null!=d&&(d[k]=g.h.construct(b.pa,b.la)),k++);2==k||isNaN(p)||0==m&&0==p||0==n&&1==p||(null!=e&&(e[k]=0),null!=f&&(f[k]=p),null!=d&&(d[k]=g.h.construct(a.sa,a.na)),k++);2==k||isNaN(q)||1==m&&0==q||1==n&&1==q||(null!=e&&(e[k]=1),null!=f&&(f[k]=q),null!=d&&(d[k]=g.h.construct(b.pa,b.la)),k++);if(0<k)return 2==k&&null!=e&&e[0]>e[1]&&(a=e[0],e[0]=e[1],e[1]=a,null!=f&&(e=f[0],f[0]=f[1],f[1]=e),null!=d&&(f=g.h.construct(d[0].x,d[0].y),d[0]=d[1],d[1]=f)),k;k=c.LM(a,b,h);if(isNaN(k.x))return 0;null!=d&& |
|
(d[0]=a.hc(k.x));null!=e&&(e[0]=k.x);null!=f&&(f[0]=k.y);return 1};c.prototype.eG=function(){return 0};c.prototype.op=function(){};c.prototype.toString=function(){return"Line: ["+this.sa.toString()+", "+this.na.toString()+", "+this.pa.toString()+", "+this.la.toString()+"]"};return c}(g.SC);g.yb=v})(D||={});(function(g){var v=function(){function l(){this.Jm=[];this.ya=-1}l.prototype.La=function(){return this.ya};l.prototype.next=function(){if(null!=this.Jm&&0!=this.Jm.length){this.ya++;var c=this.Jm[0]; |
|
this.Jm=1>=this.Jm.length?[]:this.Jm.slice(1);return c}return this.Jm=null};l.prototype.ZX=function(c){this.Jm.push(c)};l.prototype.qe=function(){};return l}();g.gL=v})(D||={});(function(g){(function(l){l[l.enumFillRuleOddEven=0]="enumFillRuleOddEven";l[l.enumFillRuleWinding=1]="enumFillRuleWinding"})(g.SL||(g.SL={}));var v=function(l){function c(a,b){var d=l.call(this)||this;d.xf=!1;d.Eq=null;d.sq=0;d.rq=0;d.Aj=null;d.Mg=!1;d.nb=null;d.mb=null;d.Ve=null;d.Lj=null;d.Sd=null;d.tq=0;d.gb=0;d.xq=0;if(void 0=== |
|
b)d.xf=a,d.Mg=!1,d.tq=0,d.sq=0,d.rq=0,d.wa=0,d.description=g.ee.og();else{if(null==b)throw g.i.N();d.xf=a;d.Mg=!1;d.tq=0;d.sq=0;d.rq=0;d.wa=0;d.description=b}d.Aj=null;d.gb=0;return d}R(c,l);c.prototype.tm=function(){return 0<this.tq};c.prototype.Yx=function(){this.vc();null==this.Eq?this.Eq=new g.Sa(this.description):this.Eq.Nf(this.description)};c.prototype.sx=function(a,b){var d=new g.h;d.x=a;d.y=b;this.Lt(d)};c.prototype.Lt=function(a){this.Yx();this.Eq.Cb(a);this.Mg=!0};c.prototype.nf=function(a){if(a.B())throw g.i.N(); |
|
this.Jl(a.description);this.Yx();a.copyTo(this.Eq);this.Mg=!0};c.prototype.Sx=function(){var a=1;this.Mg&&(this.Yx(),null==this.nb?(this.nb=g.Yc.Oh(2),this.nb.write(0,0),this.mb=g.Yc.Mr(2,0)):(this.nb.resize(this.nb.size+1,0),this.mb.resize(this.mb.size+1,0)),this.xf&&this.mb.write(this.mb.size-2,1),a++);var b=this.wa;this.nb.write(this.nb.size-1,this.wa+a);this.dm(b+a);this.mb.write(this.nb.size-1,0);this.Mg&&(this.Ht(b,this.Eq),this.Mg=!1)};c.prototype.yj=function(a,b){this.Sx();this.Cb(this.wa- |
|
1,a,b)};c.prototype.Ci=function(a){this.Sx();this.Cb(this.wa-1,a)};c.prototype.lineTo=function(a){this.Sx();this.Ht(this.wa-1,a)};c.prototype.CU=function(a){this.vc();if(this.xf)throw g.i.Qa();var b=this.da();if(a>b)throw g.i.Qa();if(this.dc(a)){if(null==this.mb)throw g.i.Qa();var d=this.wa,e=this.Ba(a),f=this.Vc(a);this.dm(this.wa+1);this.mc();for(var h=0,k=this.description.Aa;h<k;h++)if(null!=this.za[h]){var m=g.ra.Va(this.description.Ed(h));this.za[h].Mn(m*f,this.za[h],m*e,m,!0,1,m*d)}for(;b>a;b--)d= |
|
this.nb.read(b),this.nb.write(b,d+1);this.mb.KE(a,1)}};c.prototype.Ap=function(){this.wx();if(void 0===a){this.Mg=!1;var a=this.da()-1}var b=this.mb.read(a);this.mb.write(a,b|1);null!=this.Ve&&(a=this.Vc(a)-1,this.Ve.write(a,1),this.Lj.write(a,-1))};c.prototype.dc=function(a){return 0!=(this.mb.read(a)&1)};c.prototype.Nn=function(a){if(this.dc(a))return!0;var b=this.Ba(a);a=this.Vc(a)-1;if(b>a)return!1;b=this.Na(b);a=this.Na(a);return b.qb(a)};c.prototype.yv=function(a){return 0!=(this.mb.read(a)& |
|
2)};c.prototype.oc=function(a,b){this.Jl(a.description);if(322==a.getType()){var d=new g.Sa;if(b||this.B())a.To(d),this.nf(d);a.Po(d);this.lineTo(d)}else throw g.i.Qa();};c.prototype.tp=function(a){var b=0==this.wa;this.sx(a.v,a.G);this.yj(a.v,a.H);this.yj(a.C,a.H);this.yj(a.C,a.G);this.Ap();this.Mg=!1;b&&this.Lf(256,!1)};c.prototype.ad=function(a,b){if(!a.B()){for(var d=0==this.wa,e=new g.Sa(this.description),f=0;4>f;f++)a.Hf(b?4-f-1:f,e),0==f?this.nf(e):this.lineTo(e);this.Ap();this.Mg=!1;d&&!b&& |
|
this.Lf(256,!1)}};c.prototype.add=function(a,b){for(var d=0;d<a.da();d++)this.addPath(a,d,!b)};c.prototype.addPath=function(a,b,d){this.vf(-1,a,b,d)};c.prototype.Yk=function(a,b){this.Hz(a,b)};c.prototype.Dr=function(a,b,d,e,f){f||0!=this.da()||(f=!0);0>b&&(b=a.da()-1);if(b>=a.da()||0>d||0>e||e>a.rv(b))throw g.i.fa("index out of bounds");if(0!=e){var h=a.dc(b)&&d+e==a.rv(b);if(!h||1!=e){this.Mg=!1;this.Jl(a.description);d=a.Ba(b)+d+1;f&&(e++,d--);h&&e--;h=this.wa;this.dm(this.wa+e);this.mc();if(f){if(0== |
|
e)return;this.nb.add(this.wa);f=a.mb.read(b);f&=-5;this.xf&&(f|=1);this.mb.write(this.mb.size-1,f);this.mb.add(0)}else this.nb.write(this.mb.size-1,this.wa);f=0;for(var k=this.description.Aa;f<k;f++){var m=this.description.kd(f),n=g.ra.Va(m),p=a.description.Pf(m);0>p||null==a.za[p]?this.za[f].Ln(n*h,g.ra.se(m),e*n,n*h):this.za[f].Mn(n*h,a.za[p],n*d,e*n,!0,n,n*h)}if(this.tm())throw g.i.Qa();if(a.yv(b))throw g.i.Qa();this.Pc(1993)}}};c.prototype.oJ=function(){for(var a=0,b=this.da();a<b;a++)this.FW(a)}; |
|
c.prototype.FW=function(a){this.mc();if(a>=this.da())throw g.i.N();var b=this.Ba(a),d=this.Ja(a);a=this.dc(a)?1:0;for(var e=0,f=this.description.Aa;e<f;e++)if(null!=this.za[e]){var h=g.ra.Va(this.description.Ed(e));this.za[e].ni(h*(b+a),h*(d-a),h)}this.Pc(1993)};c.prototype.Zq=function(a){this.mc();var b=this.da();0>a&&(a=b-1);if(a>=b)throw g.i.N();for(var d=this.Ba(a),e=this.Ja(a),f=0,h=this.description.Aa;f<h;f++)if(null!=this.za[f]){var k=g.ra.Va(this.description.Ed(f));this.za[f].En(k*d,k*e,k* |
|
this.wa)}for(d=a+1;d<=b;d++)f=this.nb.read(d),this.nb.write(d-1,f-e);if(null==this.mb)for(d=a+1;d<=b;d++)a=this.mb.read(d),this.mb.write(d-1,a);this.nb.resize(b);this.mb.resize(b);this.wa-=e;this.Pg-=e;this.Pc(1993)};c.prototype.vf=function(a,b,d,e){if(b==this)throw g.i.N();if(d>=b.da())throw g.i.N();var f=this.da();if(a>f)throw g.i.N();0>a&&(a=f);0>d&&(d=b.da()-1);this.Mg=!1;this.Jl(b.description);b.mc();var h=b.Ba(d),k=b.Ja(d),m=this.wa,n=b.dc(d)&&!e?1:0;this.dm(this.wa+k);this.mc();for(var p=a< |
|
f?this.Ba(a):m,q=0,r=this.description.Aa;q<r;q++){var t=this.description.Ed(q),u=b.description.Pf(t),w=g.ra.Va(t);0<=u&&null!=b.za[u]?(0!=n&&this.za[q].Mn(p*w,b.za[u],w*h,w,!0,w,w*m),this.za[q].Mn((p+n)*w,b.za[u],w*(h+n),w*(k-n),e,w,w*(m+n))):this.za[q].Ln(p*w,g.ra.se(t),w*k,w*m)}this.nb.add(m+k);for(e=f;e>=a+1;e--)h=this.nb.read(e-1),this.nb.write(e,h+k);b.yv(d);this.mb.add(0);for(e=f-1;e>=a+1;e--)f=this.mb.read(e),f&=-5,this.mb.write(e+1,f);f=b.JR().read(d);f&=-5;this.xf&&(f|=1);this.mb.write(a, |
|
f)};c.prototype.Hz=function(a,b){var d=-1,e=this.da();if(d>e)throw g.i.N();0>d&&(d=e);this.Mg=!1;var f=this.wa;this.dm(this.wa+b);this.mc();var h=d<e?this.Ba(d):f;if(null!=a)this.za[0].Iz(2*h,a,0,b,!0,2*f);else{var k=g.ra.se(0);this.za[0].Ln(2*h,k,2*b,2*f)}a=1;for(var m=this.description.Aa;a<m;a++){k=this.description.kd(a);var n=g.ra.Va(k);k=g.ra.se(k);this.za[a].Ln(h*n,k,n*b,n*f)}this.nb.add(this.wa);for(f=e;f>=d+1;f--)h=this.nb.read(f-1),this.nb.write(f,h+b);this.mb.add(0);for(f=e-1;f>=d+1;f--)b= |
|
this.mb.read(f),b&=-5,this.mb.write(f+1,b);this.xf&&this.mb.write(d,1)};c.prototype.qG=function(a,b,d){var e=-1;0>a&&(a=this.da());if(a>this.da()||e>this.Ja(a)||d>b.length)throw g.i.fa("index out of bounds");if(0!=d){a==this.da()&&(this.nb.add(this.wa),this.xf?this.mb.add(1):this.mb.add(0));0>e&&(e=this.Ja(a));this.mc();var f=this.wa;this.dm(this.wa+d);this.mc();for(var h=0,k=this.description.Aa;h<k;h++){var m=this.description.Ed(h),n=g.ra.Va(m);this.za[h].Ut(n*(this.Ba(a)+e+d),(f-this.Ba(a)-e)*n, |
|
this.za[h],n*(this.Ba(a)+e),!0,n);0==h?this.za[h].vC(n*(this.Ba(a)+e),d,b,0,!0):this.za[h].Wj(g.ra.se(m),(this.Ba(a)+e)*n,d*n)}this.tm()&&(this.Ve.Ut(this.Ba(a)+e+d,f-this.Ba(a)-e,this.Ve,this.Ba(a)+e,!0,1),this.Lj.Ut(this.Ba(a)+e+d,f-this.Ba(a)-e,this.Lj,this.Ba(a)+e,!0,1),this.Ve.Wj(1,this.Ba(a)+e,d),this.Lj.Wj(-1,this.Ba(a)+e,d));a+=1;for(b=this.da();a<=b;a++)this.nb.write(a,this.nb.read(a)+d)}};c.prototype.wf=function(a,b,d){var e=this.da();0>a&&(a=this.da());if(a>=e||b>this.Ja(a))throw g.i.fa("index out of bounds"); |
|
a==this.da()&&(this.nb.add(this.wa),this.xf?this.mb.add(1):this.mb.add(0));0>b&&(b=this.Ja(a));var f=this.wa;this.dm(this.wa+1);this.mc();var h=this.Ba(a);this.za[0].vj(2*(h+b),d,2*f);d=1;for(var k=this.description.Aa;d<k;d++){var m=this.description.Ed(d),n=g.ra.Va(m);this.za[d].Ln(n*(h+b),g.ra.se(m),n,n*f)}for(a+=1;a<=e;a++)this.nb.write(a,this.nb.read(a)+1)};c.prototype.DB=function(a,b){var d=this.da();0>a&&(a=d-1);if(a>=d||b>=this.Ja(a))throw g.i.fa("index out of bounds");this.mc();var e=this.Ba(a); |
|
0>b&&(b=this.Ja(a)-1);b=e+b;e=0;for(var f=this.description.Aa;e<f;e++)if(null!=this.za[e]){var h=g.ra.Va(this.description.Ed(e));this.za[e].En(h*b,h,h*this.wa)}for(;d>=a+1;d--)b=this.nb.read(d),this.nb.write(d,b-1);this.wa--;this.Pg--;this.Pc(1993)};c.prototype.uE=function(a,b,d){var e=this.Ba(a)+b;d=this.Ba(d)+void 0;if(d<e||0>e||d>this.I()-1)throw g.i.N();a=this.Ga();b=0;a.Vb(e);do{for(;a.Ha();){e=a.ha();if(a.wb()==d)break;e=e.Qb();b+=e}if(a.wb()==d)break}while(a.$a());return b};c.prototype.fO= |
|
function(a,b,d){b=this.Ba(a)+b;d=this.Ba(a)+d;if(0>b||d>this.I()-1)throw g.i.N();var e=this.Ga();if(b>d){if(!this.dc(a))throw g.i.N("cannot iterate across an open path");e.JB()}var f=a=0;e.Vb(b);do f+=a,a=e.ha().Qb();while(e.wb()!=d);return f};c.prototype.mg=function(){return g.pi.gm(this,null)};c.prototype.KS=function(a,b,d){for(var e=a;e<d-1;e++)if(this.dc(e))throw g.i.N("cannot interpolate across closed paths");e=this.description.Aa;if(1!=e){var f=this.uE(a,b,d);if(0!=f)for(var h=1;h<e;h++){var k= |
|
this.description.kd(h);if(2!=g.ra.lz(k))for(var m=g.ra.Va(k),n=0;n<m;n++)this.MS(k,a,b,d,f,n)}}};c.prototype.JS=function(a,b,d){var e=this.description.Aa;if(1!=e){var f=this.fO(a,b,d);if(0!=f)for(var h=1;h<e;h++){var k=this.description.kd(h);if(2!=g.ra.lz(k))for(var m=g.ra.Va(k),n=0;n<m;n++)this.LS(k,a,b,d,f,n)}}};c.prototype.MS=function(a,b,d,e,f,h){var k=this.Ga(),m=this.Ba(b)+d;e=this.Ba(e)+void 0;b=this.Uc(a,m,h);d=this.Uc(a,e,h);var n=b,p=0;k.Vb(m);do if(k.Ha()){k.ha();if(k.wb()==e)break;this.setAttribute(a, |
|
k.wb(),h,n);k.li();do{m=k.ha();if(k.ik()==e)return;m=m.Qb();p+=m;n=g.lc.hq(b,d,p/f);k.On()||this.setAttribute(a,k.ik(),h,n)}while(k.Ha())}while(k.$a())};c.prototype.LS=function(a,b,d,e,f,h){var k=this.Ga(),m=this.Ba(b)+d;b=this.Ba(b)+e;if(b!=m){e=this.Uc(a,m,h);d=this.Uc(a,b,h);var n=0;k.Vb(m);k.JB();m=e;do{var p=k.ha();this.setAttribute(a,k.wb(),h,m);m=p.Qb();n+=m;m=g.lc.hq(e,d,n/f)}while(k.ik()!=b)}};c.prototype.Oa=function(){this.tq=0;this.Mg=!1;this.Sd=this.Ve=this.Lj=this.mb=this.nb=null;this.wD()}; |
|
c.prototype.Oc=function(a){a instanceof g.Dd?this.YD(a,-1):this.wN(a)};c.prototype.YD=function(a,b){if(!this.B()&&!a.isIdentity()){this.mc();var d=this.za[0],e=new g.h,f=new g.h;if(0>b){var h=this.tm(),k=0;b=this.wa}else h=this.yv(b),k=this.Ba(b),b=this.Vc(b);for(;k<b;k++){e.x=d.read(2*k);e.y=d.read(2*k+1);if(h){var m=this.Lj.read(k);if(0<=m)switch(this.Ve.read(k)&7){case 2:f.x=this.Sd.read(m);f.y=this.Sd.read(m+1);a.Eh(f,f);this.Sd.write(m,f.x);this.Sd.write(m+1,f.y);f.x=this.Sd.read(m+3);f.y=this.Sd.read(m+ |
|
4);a.Eh(f,f);this.Sd.write(m+3,f.x);this.Sd.write(m+4,f.y);break;case 4:throw g.i.Qa();}}a.Eh(e,e);d.write(2*k,e.x);d.write(2*k+1,e.y)}this.Pc(1993)}};c.prototype.wN=function(a){if(!this.B()){this.re(1);this.mc();for(var b=this.za[0],d=this.za[1],e=new g.Nd,f=new g.Nd,h=this.tm(),k=0;k<this.wa;k++){e.x=b.read(2*k);e.y=b.read(2*k+1);e.z=d.read(k);if(h){var m=this.Lj.read(k);if(0<=m)switch(this.Ve.read(k)&7){case 2:f.x=this.Sd.read(m);f.y=this.Sd.read(m+1);f.z=this.Sd.read(m+2);f=a.fp(f);this.Sd.write(m, |
|
f.x);this.Sd.write(m+1,f.y);this.Sd.write(m+1,f.z);f.x=this.Sd.read(m+3);f.y=this.Sd.read(m+4);f.z=this.Sd.read(m+5);f=a.fp(f);this.Sd.write(m+3,f.x);this.Sd.write(m+4,f.y);this.Sd.write(m+5,f.z);break;case 4:throw g.i.Qa();}}e=a.fp(e);b.write(2*k,e.x);b.write(2*k+1,e.y);d.write(k,e.z)}this.Pc(1993)}};c.prototype.iy=function(){null==this.nb&&(this.nb=g.Yc.Oh(1,0),this.mb=g.Yc.Mr(1,0));null!=this.Ve&&(this.Ve.resize(this.Pg,1),this.Lj.resize(this.Pg,-1))};c.prototype.op=function(a){a.Mg=!1;a.tq=this.tq; |
|
a.xq=this.xq;a.nb=null!=this.nb?g.ia.Bn(this.nb):null;a.mb=null!=this.mb?g.pn.Bn(this.mb):null;a.Lj=null!=this.Lj?g.ia.Bn(this.Lj):null;a.Ve=null!=this.Ve?g.pn.Bn(this.Ve):null;a.Sd=null!=this.Sd?g.be.Bn(this.Sd):null;a.sq=this.sq;a.rq=this.rq;a.Aj=this.ak(1024)?null:this.Aj};c.prototype.Qb=function(){if(!this.ak(512))return this.sq;for(var a=this.Ga(),b=new g.Fx(0);a.$a();)for(;a.Ha();)b.add(a.ha().Qb());this.sq=b.rm();this.Lf(512,!1);return b.rm()};c.prototype.Nb=function(a){if(a==this)return!0; |
|
if(!(a instanceof c&&l.prototype.Nb.call(this,a)))return!1;var b=this.da();return b!=a.da()||null!=this.nb&&!this.nb.Nb(a.nb,0,b+1)||this.xq!=a.xq||null!=this.mb&&!this.mb.Nb(a.mb,0,b)?!1:l.prototype.Nb.call(this,a)};c.prototype.Ga=function(){return new g.YL(this)};c.prototype.hy=function(a){l.prototype.hy.call(this,a);if(this.tm())for(a=this.Ga();a.$a();)for(;a.Ha();)break};c.prototype.yp=function(a,b){l.prototype.yp.call(this,a,b);if(this.tm())for(a=this.Ga();a.$a();)for(;a.Ha();)break};c.prototype.$x= |
|
function(){this.wa=null==this.nb||0==this.nb.size?0:this.nb.read(this.nb.size-1)};c.prototype.Ke=function(){if(!this.xf)return 0;this.xu();return this.rq};c.prototype.Ev=function(a){if(!this.xf)return!1;if(!this.ak(8))return 0!=(this.mb.read(a)&4);this.xu();return 0<this.Aj.read(a)};c.prototype.Ir=function(a){if(!this.xf)return 0;this.xu();return this.Aj.read(a)};c.prototype.xu=function(){if(this.ak(1024)){var a=this.da();null==this.Aj?this.Aj=new g.be(a):this.Aj.size!=a&&this.Aj.resize(a);a=new g.Fx(0); |
|
for(var b=new g.Fx(0),d=new g.h,e=0,f=this.Ga();f.$a();){b.reset();for(this.D(this.Ba(f.gb),d);f.Ha();)b.add(f.ha().Tx(d.x,d.y));a.add(b.rm());var h=e++;this.Aj.write(h,b.rm())}this.rq=a.rm();this.Lf(1024,!1)}};c.prototype.FR=function(){if(this.xf){this.fm();for(var a=0,b=this.da(),d=0;d<b;d++)0!=(this.mb.read(d)&4)&&a++}};c.prototype.fm=function(){if(this.ak(8)){this.xu();var a=this.da();if(null==this.mb||this.mb.size<a)this.mb=g.Yc.Mr(a+1);for(var b=1,d=0;d<a;d++){var e=this.Aj.read(d);0==d&&(b= |
|
0<e?1:-1);0<e*b?this.mb.zJ(d,4):this.mb.KE(d,4)}this.Lf(8,!1)}};c.prototype.sz=function(a){var b=this.gb,d=this.da();if(0<=b&&b<d){if(a<this.Vc(b)){if(a>=this.Ba(b))return b;b--}else b++;if(0<=b&&b<d&&a>=this.Ba(b)&&a<this.Vc(b))return this.gb=b}if(5>d){for(b=0;b<d;b++)if(a<this.Vc(b))return this.gb=b;throw g.i.fa("corrupted geometry");}b=0;for(--d;d>b;){var e=b+(d-b>>1),f=this.Ba(e);if(a<f)d=e-1;else if(b=this.Vc(e),a>=b)b=e+1;else return this.gb=e}return this.gb=b};c.prototype.yz=function(){var a= |
|
this.I();if(!this.xf){a-=this.da();for(var b=0,d=this.da();b<d;b++)this.dc(b)&&a++}return a};c.prototype.rv=function(a){var b=this.Ja(a);this.dc(a)||b--;return b};c.prototype.Ia=function(){return new c(this.xf,this.description)};c.prototype.Db=function(){return this.xf?2:1};c.prototype.getType=function(){return this.xf?1736:1607};c.prototype.QJ=function(a){this.nb=a;this.Pc(16777215)};c.prototype.VR=function(){this.wx();return this.Ve};c.prototype.JR=function(){this.wx();return this.mb};c.prototype.PJ= |
|
function(a){this.mb=a;this.Pc(16777215)};c.prototype.da=function(){return null!=this.nb?this.nb.size-1:0};c.prototype.Vc=function(a){return this.nb.read(a+1)};c.prototype.Ja=function(a){return this.nb.read(a+1)-this.nb.read(a)};c.prototype.Ba=function(a){return this.nb.read(a)};c.prototype.lu=function(a,b){null==this.Bb&&(this.Bb=new g.Uk);b=g.Nx.pW(b);var d=this.Bb.Fk;if(null!=d)if(d.Ik<a||b>d.RR())this.Bb.yD(null);else return!0;d=g.Nx.create(this,a,b);this.Bb.yD(d);return!0};c.prototype.cc=function(){var a= |
|
l.prototype.cc.call(this);if(!this.Ac()){var b=this.da();null!=this.nb&&this.nb.An(a,0,b+1);null!=this.mb&&this.mb.An(a,0,b)}return a};c.prototype.ZF=function(a){return null!=this.Ve?this.Ve.read(a):1};c.prototype.bc=function(a,b,d){var e=this.sz(a);if(a==this.Vc(e)-1&&!this.dc(e))throw g.i.fa("index out of bounds");this.mc();var f=this.Ve,h=1;null!=f&&(h=f.read(a)&7);switch(h){case 1:b.Or();break;case 2:throw g.i.Qa();case 4:throw g.i.Qa();default:throw g.i.Qa();}b=b.get();d?b.Nf(g.ee.og()):b.Nf(this.description); |
|
e=a==this.Vc(e)-1&&this.dc(e)?this.Ba(e):a+1;f=new g.h;this.D(a,f);b.Dc(f);this.D(e,f);b.Qc(f);if(!d)for(d=1,f=this.description.Aa;d<f;d++){h=this.description.Ed(d);for(var k=g.ra.Va(h),m=0;m<k;m++){var n=this.Uc(h,a,m);b.YB(h,m,n);n=this.Uc(h,e,m);b.OB(h,m,n)}}};c.prototype.Rj=function(a,b){if(a>=this.da())throw g.i.N();if(this.B())b.Oa();else{if(this.yv(a))throw g.i.fa("not implemented");var d=this.ub(0),e=new g.h,f=new g.l;f.Oa();var h=this.Ba(a);for(a=this.Vc(a);h<a;h++)d.tc(2*h,e),f.Zb(e);b.K(f)}}; |
|
c.prototype.fj=function(a){null==this.Bb&&(this.Bb=new g.Uk);if(0==a||16>this.I())return!1;a=g.ta.nE(this);this.Bb.WM(a);return!0};c.prototype.hM=function(){null==this.Bb&&(this.Bb=new g.Uk);if(null==this.Bb.zo){this.Bb.xD(null);var a=g.ta.YN(this);this.Bb.xD(a)}};c.prototype.Yo=function(a){this.xq=a};c.prototype.In=function(){return this.xq};c.prototype.DD=function(a){if(this==a)throw g.i.fa("MultiPathImpl.add");for(var b=this.da(),d=0;d<a.da();d++)this.addPath(a,d,!0),this.CU(b),b++};c.prototype.kO= |
|
function(a){var b=this.sz(a),d=this.Ba(b);if(d!=a){b=this.Vc(b);if(a>=b||a<d)throw g.i.fa("change_ring_start_point");for(var e=0,f=this.description.Aa;e<f;e++){var h=this.description.kd(e);h=g.ra.Va(h);this.za[e].rotate(d*h,a*h,b*h)}}};return c}(g.Gx);g.Vk=v})(D||={});(function(g){var v=function(l){function c(a){var b=l.call(this)||this;if(void 0!==a){if(null==a)throw g.i.N();b.description=a}else b.description=g.ee.og();b.wa=0;return b}R(c,l);c.prototype.Ia=function(){return new c(this.description)}; |
|
c.prototype.add=function(a){this.resize(this.wa+1);this.Dh(this.wa-1,a)};c.prototype.Bu=function(a,b){this.resize(this.wa+1);var d=new g.h;d.ma(a,b);this.Cb(this.wa-1,d)};c.prototype.Fd=function(a,b,d){d=0>d?a.I():d;if(0>b||b>a.I()||d<b)throw g.i.N();if(b!=d){this.Jl(a.description);d-=b;var e=this.wa;this.resize(this.wa+d);this.mc();for(var f=0,h=a.description.Aa;f<h;f++){var k=a.description.Ed(f),m=g.ra.Va(k),n=this.ub(k);k=a.ub(k);n.Mn(e*m,k,b*m,d*m,!0,1,e*m)}}};c.prototype.HD=function(a,b){var d= |
|
a.length;b=0>b?d:b;if(0>d||0>b)throw g.i.N();if(0!=b){d=b-0;b=this.wa;this.resize(this.wa+d);for(var e=0;e<d;e++)this.Cb(b+e,a[0+e])}};c.prototype.DB=function(a){if(0>a||a>=this.I())throw g.i.fa("index out of bounds");this.mc();for(var b=0,d=this.description.Aa;b<d;b++)if(null!=this.za[b]){var e=g.ra.Va(this.description.Ed(b));this.za[b].En(e*a,e,e*this.wa)}this.wa--;this.Pg--;this.Pc(1993)};c.prototype.resize=function(a){this.dm(a)};c.prototype.op=function(){};c.prototype.Oa=function(){l.prototype.wD.call(this)}; |
|
c.prototype.Oc=function(a){if(a instanceof g.Dd){if(this.B())return;this.mc();for(var b=this.za[0],d=new g.h,e=0;e<this.wa;e++)d.x=b.read(2*e),d.y=b.read(2*e+1),a.Eh(d,d),b.write(2*e,d.x),b.write(2*e+1,d.y)}else{if(this.B())return;this.mc();this.re(1);this.mc();b=this.za[0];d=this.za[1];var f=new g.Nd;for(e=0;e<this.wa;e++){f.x=b.read(2*e);f.y=b.read(2*e+1);f.z=d.read(e);var h=a.fp(f);b.write(2*e,h.x);b.write(2*e+1,h.y);d.write(e,h.z)}}this.Pc(1993)};c.prototype.Db=function(){return 0};c.prototype.getType= |
|
function(){return 550};c.prototype.Ke=function(){return 0};c.prototype.Qb=function(){return 0};c.prototype.Nb=function(a){return a==this?!0:a instanceof c?l.prototype.Nb.call(this,a):!1};c.prototype.lW=function(a,b){var d=this.wa;d=Math.min(d,b+1E3);if(0>b||b>=this.wa||d<b||1E3!=a.length)throw g.i.N();var e=this.ub(0),f=d-b,h=[];e.Vw(2*b,2*f,h,0,!0);for(b=0;b<f;b++)a[b]=g.h.construct(h[2*b],h[2*b+1]);return d};c.prototype.$x=function(){};c.prototype.iy=function(){};c.prototype.lu=function(){return!1}; |
|
c.prototype.fj=function(){return!1};c.prototype.mg=function(){return null};return c}(g.Gx);g.de=v})(D||={});(function(g){(function(l){l[l.NotDetermined=0]="NotDetermined";l[l.Structure=1]="Structure";l[l.DegenerateSegments=2]="DegenerateSegments";l[l.Clustering=3]="Clustering";l[l.Cracking=4]="Cracking";l[l.CrossOver=5]="CrossOver";l[l.RingOrientation=6]="RingOrientation";l[l.RingOrder=7]="RingOrder";l[l.OGCPolylineSelfTangency=8]="OGCPolylineSelfTangency";l[l.OGCPolygonSelfTangency=9]="OGCPolygonSelfTangency"; |
|
l[l.OGCDisconnectedInterior=10]="OGCDisconnectedInterior"})(g.iL||(g.iL={}));var v=function(){function l(c,a,b){void 0===c?(this.Jj=0,this.Ko=this.Jo=-1):(this.Jj=c,this.Jo=a,this.Ko=b)}l.prototype.Wt=function(c){this.Jj=c.Jj;this.Jo=c.Jo;this.Ko=c.Ko};return l}();g.Md=v})(D||={});(function(g){g.O=function(){function v(){}v.assert=function(l){if(!1===l)throw g.i.GK();};v.bK=function(l){return isNaN(l)?NaN:0===l?l:0<l?1:-1};v.Fu=function(l){var c;void 0===c&&(c=0);for(var a=[],b=0;b<l;b++)a[b]=v.lg(2, |
|
c);return a};v.lg=function(l,c){void 0===c&&(c=0);for(var a=[],b=0;b<l;b++)a[b]=c;return a};v.$u=function(l,c){var a,b;void 0===a&&(a=0);for(void 0===b&&(b=l.length-1);a<=b;a++)l[a]=c};v.Rk=function(l,c,a){return l<c?c:l>a?a:l};v.Th=function(l,c){var a=5381;a=void 0!==c?(c<<5)+c+(l&255):(a<<5)+a+(l&255);a=(a<<5)+a+(l>>8&255);a=(a<<5)+a+(l>>16&255);return(a<<5)+a+(l>>24&255)&2147483647};v.uj=function(){throw Error("Not Implemented");};v.bB=function(l){return v.aU(l)+12345&2147483647};v.XG=function(l){var c= |
|
32,a=l%v.Qx|0,b=l/v.Qx|0;if(0===(c&=63))return l;32>c?(l=a>>>c|b<<32-c,c=b>>c):(l=b>>c-32,c=0<=b?0:-1);return c*v.Qx+(l>>>0)};v.aU=function(l){l|=0;return(1103495168*l|0)+(20077*l|0)|0};v.truncate=function(l){return 0>l?-1*Math.floor(Math.abs(l)):Math.floor(l)};v.MAX_SAFE_INTEGER=Math.pow(2,53)-1;v.MIN_SAFE_INTEGER=-v.MAX_SAFE_INTEGER;v.VC=65536;v.Qx=v.VC*v.VC;return v}()})(D||={});(function(g){(function(l){l[l.Project=0]="Project";l[l.Union=1]="Union";l[l.Difference=2]="Difference";l[l.Proximity2D= |
|
3]="Proximity2D";l[l.Relate=4]="Relate";l[l.Equals=5]="Equals";l[l.Disjoint=6]="Disjoint";l[l.Intersects=7]="Intersects";l[l.Within=8]="Within";l[l.Contains=9]="Contains";l[l.Crosses=10]="Crosses";l[l.Touches=11]="Touches";l[l.Overlaps=12]="Overlaps";l[l.Buffer=13]="Buffer";l[l.Distance=14]="Distance";l[l.Intersection=15]="Intersection";l[l.Clip=16]="Clip";l[l.Cut=17]="Cut";l[l.DensifyByLength=18]="DensifyByLength";l[l.DensifyByAngle=19]="DensifyByAngle";l[l.LabelPoint=20]="LabelPoint";l[l.GeodesicBuffer= |
|
21]="GeodesicBuffer";l[l.GeodeticDensifyByLength=22]="GeodeticDensifyByLength";l[l.ShapePreservingDensify=23]="ShapePreservingDensify";l[l.GeodeticLength=24]="GeodeticLength";l[l.GeodeticArea=25]="GeodeticArea";l[l.Simplify=26]="Simplify";l[l.SimplifyOGC=27]="SimplifyOGC";l[l.Offset=28]="Offset";l[l.Generalize=29]="Generalize";l[l.SymmetricDifference=30]="SymmetricDifference";l[l.ConvexHull=31]="ConvexHull";l[l.Boundary=32]="Boundary";l[l.SimpleRelation=33]="SimpleRelation"})(g.CL||(g.CL={}));var v= |
|
function(){function l(){}l.prototype.getType=function(){return null};l.prototype.wn=function(){};l.prototype.Iu=function(){return!1};return l}();g.Je=v})(D||={});(function(g){var v=function(l){function c(){return null!==l&&l.apply(this,arguments)||this}R(c,l);c.prototype.getType=function(){return 13};c.local=function(){null===c.instance&&(c.instance=new c);return c.instance};c.prototype.V=function(a,b,d,e,f){return a instanceof g.aa?(f=new g.Zc(a),this.V(f,b,[d],!1,e).next()):!0===e?(d=new g.BC(a, |
|
b,d,!1,f),g.Gh.local().V(d,b,f)):new g.BC(a,b,d,!1,f)};c.instance=null;return c}(g.Je);g.AC=v})(D||={});(function(g){var v=function(){function l(c,a,b,d,e){this.ya=-1;this.Rd=c;this.$z=a;this.Cs=b;this.tT=new g.l;this.tT.Oa();this.eo=-1;this.Ub=e}l.prototype.next=function(){for(var c;null!=(c=this.Rd.next());)return this.ya=this.Rd.La(),this.eo+1<this.Cs.length&&this.eo++,this.buffer(c,this.Cs[this.eo]);return null};l.prototype.La=function(){return this.ya};l.prototype.buffer=function(c,a){return g.HK.buffer(c, |
|
a,this.$z,NaN,96,this.Ub)};l.prototype.qe=function(){};return l}();g.BC=v})(D||={});(function(g){var v=function(l){function c(){return null!==l&&l.apply(this,arguments)||this}R(c,l);c.prototype.getType=function(){return 16};c.local=function(){null===c.instance&&(c.instance=new c);return c.instance};c.prototype.V=function(a,b,d,e){return a instanceof g.aa?(a=new g.Zc(a),this.V(a,b,d,e).next()):new g.lL(a,b,d,e)};c.instance=null;return c}(g.Je);g.kL=v})(D||={});(function(g){var v=function(){function l(c, |
|
a,b){this.ya=-1;if(null==c)throw g.i.N();this.$=a;this.yk=c;this.qa=g.ta.Wd(b,a,!1)}l.prototype.next=function(){var c;return null!=(c=this.yk.next())?(this.ya=this.yk.La(),g.Ud.clip(c,this.$,this.qa,0)):null};l.prototype.La=function(){return this.ya};l.prototype.qe=function(){};return l}();g.lL=v})(D||={});(function(g){var v=function(l){function c(){return null!==l&&l.apply(this,arguments)||this}R(c,l);c.prototype.getType=function(){return 31};c.local=function(){null===c.instance&&(c.instance=new c); |
|
return c.instance};c.prototype.V=function(a,b,d){return a instanceof g.aa?g.DC.rE(a):new g.DC(b,a,d)};c.instance=null;return c}(g.Je);g.CC=v})(D||={});(function(g){var v=function(){function l(c,a,b){this.uA=new g.Zt;this.ya=-1;if(null==a)throw g.i.N();this.cH=c;this.Ic=!1;this.yk=a;this.Ub=b}l.prototype.next=function(){if(this.cH){if(!this.Ic){var c=this.dO(this.yk);this.Ic=!0;return c}return null}if(!this.Ic){c=this.yk.next();if(null!=c)return this.ya=this.yk.La(),l.rE(c);this.Ic=!0}return null}; |
|
l.prototype.La=function(){return this.ya};l.prototype.dO=function(c){for(var a;null!=(a=c.next());)this.uA.Ib(a);return this.uA.cR()};l.prototype.qe=function(){if(!this.Ic){if(!this.cH)throw g.i.fa("Invalid call for non merging convex hull.");var c=this.yk.next();if(null!=c)this.uA.Ib(c);else throw g.i.fa("Expects a non-null geometry.");}};l.rE=function(c){if(l.VS(c))return c;var a=c.getType();if(g.Vk.yd(a))return a=new g.Ta(c.description),a.oc(c,!0),a;if(550==a&&2==c.I()){var b=new g.Sa;a=new g.Ta(c.description); |
|
c.ve(0,b);a.nf(b);c.ve(1,b);a.lineTo(b);return a}return g.Zt.RO(c)};l.VS=function(c){if(c.B())return!0;var a=c.getType();return 33==a||197==a?!0:g.Vk.yd(a)?!1:550==a?1==c.I()?!0:!1:1607==a?1==c.da()&&2>=c.I()?!0:!1:1!=c.da()?!1:2>=c.I()?!0:g.Zt.JG(c,0)};return l}();g.DC=v})(D||={});(function(g){var v=function(l){function c(){return null!==l&&l.apply(this,arguments)||this}R(c,l);c.prototype.getType=function(){return 17};c.local=function(){null===c.instance&&(c.instance=new c);return c.instance};c.prototype.V= |
|
function(a,b,d,e,f){return new g.nL(a,b,d,e,f)};c.instance=null;return c}(g.Je);g.mL=v})(D||={});(function(g){var v=function(){function l(c,a,b,d,e){this.Tf=null;if(null==a||null==b)throw g.i.fa("invalid argument");this.qT=c;this.nA=a;this.lH=b;c=g.ta.mv(a,b);this.qa=g.ta.Wd(d,c,!0);this.kH=-1;this.nd=e}l.prototype.La=function(){return 0};l.prototype.next=function(){this.RQ();return++this.kH<this.Tf.length?this.Tf[this.kH]:null};l.prototype.RQ=function(){if(null==this.Tf)switch(this.Tf=[],this.nA.getType()){case 1607:this.TQ(); |
|
break;case 1736:this.SQ()}};l.prototype.TQ=function(){var c=new g.Ta,a=new g.Ta,b=new g.Ta;this.Tf.push(c);this.Tf.push(a);var d=[];g.LK.JK(this.qT,this.nA,this.lH,this.qa,d,this.nd);for(var e=0;e<d.length;e++){var f=d[e];if(0==f.bt)c.add(f.X,!1);else if(1==f.bt||2==f.bt)a.add(f.X,!1);else if(3==f.bt)this.Tf.push(f.X);else if(4==f.bt)b.add(f.X,!1);else throw g.i.fa("internal");}b.B()||c.B()&&a.B()&&!(3<=this.Tf.length)||this.Tf.push(b);c.B()&&a.B()&&3>this.Tf.length&&(this.Tf.length=0)};l.prototype.SQ= |
|
function(){var c=new g.ia(0),a=new g.gd,b=a.aF(),d=a.Ib(this.nA),e=a.Ib(this.lH),f=new g.Fg;try{f.Ft(a,this.qa,this.nd);f.dl(b,d,e,c);var h=a.Ne(d),k=new g.Da,m=new g.Da;this.Tf.length=0;this.Tf.push(k);this.Tf.push(m);for(d=0;d<c.size;d++){var n=new g.gd,p=n.Ib(h),q=n.Ib(a.Ne(c.get(d)));f.dr(n,this.nd);var r=f.Av(p,q),t=n.Ne(r);if(!t.B()){var u=a.KF(c.get(d),b);2==u?k.add(t,!1):1==u?m.add(t,!1):this.Tf.push(t);var w=new g.gd;p=w.Ib(h);q=w.Ib(a.Ne(c.get(d)));f.dr(w,this.nd);h=w.Ne(f.im(p,q))}}!h.B()&& |
|
0<c.size&&this.Tf.push(h);k.B()&&m.B()&&(this.Tf.length=0)}finally{f.Ug()}};l.prototype.qe=function(){};return l}();g.nL=v})(D||={});(function(g){var v=function(l){function c(){return null!==l&&l.apply(this,arguments)||this}R(c,l);c.prototype.getType=function(){return 18};c.local=function(){null===c.instance&&(c.instance=new c);return c.instance};c.prototype.V=function(a,b,d){if(a instanceof g.aa)return a=new g.Zc(a),this.V(a,b,d).next();if(0>=b)throw g.i.N();return new g.oL(a,b,d)};c.instance=null; |
|
return c}(g.Je);g.Xl=v})(D||={});(function(g){var v=function(){function l(c,a){this.ya=-1;this.Rd=c;this.Ps=a}l.prototype.La=function(){return this.ya};l.prototype.next=function(){var c;return null!=(c=this.Rd.next())?(this.ya=this.Rd.La(),this.NP(c)):null};l.prototype.NP=function(c){if(c.B()||1>c.Db())return c;var a=c.getType();if(1736==a||1607==a)return this.Ny(c);if(g.aa.yd(a))return this.PP(c);if(197==a)return this.OP(c);throw g.i.Qa();};l.prototype.PP=function(c){if(c.Qb()<=this.Ps)return c; |
|
var a=new g.Ta(c.description);a.oc(c,!0);return this.Ny(a)};l.prototype.OP=function(c){var a=new g.Da(c.description);a.ad(c,!1);var b=new g.l;c.A(b);c=b.ca();return b.R()<=this.Ps&&c<=this.Ps?a:this.Ny(a)};l.prototype.Ny=function(c){for(var a=c.Ia(),b=c.Ga();b.$a();)for(var d=!0;b.Ha();){var e=b.ha();if(322!=e.getType())throw g.i.fa("not implemented");var f=b.On(),h=e.Qb();if(h>this.Ps){var k=Math.ceil(h/this.Ps);h=new g.Sa(c.description);d&&(e.To(h),a.nf(h));var m=d=1/k,n=0;for(--k;n<k;n++)e.Tw(m, |
|
h),a.lineTo(h),m+=d;f?a.Ap():(e.Po(h),a.lineTo(h))}else f?a.Ap():a.oc(e,d);d=!1}return a};l.prototype.qe=function(){};return l}();g.oL=v})(D||={});(function(g){var v=function(l){function c(){return null!==l&&l.apply(this,arguments)||this}R(c,l);c.local=function(){null===c.instance&&(c.instance=new c);return c.instance};c.prototype.getType=function(){return 2};c.prototype.V=function(a,b,d,e){return a instanceof g.aa?(a=new g.Zc(a),b=new g.Zc(b),this.V(a,b,d,e).next()):new g.qL(a,b,d,e)};c.im=function(a, |
|
b,d,e){if(a.B()||b.B())return a;var f=a.Db(),h=b.Db();if(f>h)return a;var k=a.getType(),m=b.getType(),n=new g.l,p=new g.l,q=new g.l;a.A(n);b.A(p);q.K(n);q.Zb(p);q=g.ta.Wd(d,q,!0);var r=q*Math.sqrt(2)*1.00001,t=new g.l;t.K(n);t.W(r,r);if(!t.isIntersecting(p))return a;if(1==f&&2==h)return c.KV(a,b,m,d,e);if(33==k)switch(g.Vk.yd(m)?(d=new g.Ta(b.description),d.oc(b,!0)):d=b,m){case 1736:return c.XU(a,d,q);case 1607:return c.YU(a,d,q);case 550:return c.VU(a,d,q);case 197:return c.UU(a,d,q);case 33:return c.WU(a, |
|
d,q);default:throw g.i.N();}else if(550==k)switch(m){case 1736:return c.nU(a,b,q);case 197:return c.lU(a,b,q);case 33:return c.mU(a,b,q)}return g.Fg.im(a,b,d,e)};c.XU=function(a,b,d){return 0==g.hd.KG(b,a,d)?a:a.Ia()};c.YU=function(a,b,d){var e=a.D();b=b.Ga();for(var f=d*Math.sqrt(2)*1.00001,h=f*f,k=new g.l;b.$a();)for(;b.Ha();){var m=b.ha();m.A(k);k.W(f,f);if(k.contains(e)){if(m.qs(e,d))return a.Ia();var n=m.ac();if(g.h.yc(e,n)<=h)return a.Ia();n=m.wc();if(g.h.yc(e,n)<=h)return a.Ia()}}return a}; |
|
c.VU=function(a,b,d){var e=b.ub(0);b=b.I();var f=a.D(),h=new g.h;d=d*Math.sqrt(2)*1.00001;d*=d;for(var k=0;k<b;k++)if(e.tc(2*k,h),g.h.yc(h,f)<=d)return a.Ia();return a};c.UU=function(a,b,d){var e=new g.l;b.A(e);e.W(d,d);b=a.D();return e.contains(b)?a.Ia():a};c.WU=function(a,b,d){d=d*Math.sqrt(2)*1.00001;d*=d;var e=a.D();b=b.D();return g.h.yc(e,b)<=d?a.Ia():a};c.nU=function(a,b,d){var e=new g.l;b.A(e);e.W(d,d);for(var f=a.I(),h=!1,k=[],m=0;m<f;m++)k[m]=!1;var n=new g.h;for(m=0;m<f;m++)a.D(m,n),e.contains(n)&& |
|
0!=g.hd.Yd(b,n,d)&&(h=!0,k[m]=!0);if(!h)return a;b=a.Ia();for(m=0;m<f;m++)k[m]||b.Fd(a,m,m+1);return b};c.lU=function(a,b,d){var e=new g.l;b.A(e);e.W(d,d);b=a.I();var f=!1;d=[];for(var h=0;h<b;h++)d[h]=!1;var k=new g.h;for(h=0;h<b;h++)a.D(h,k),e.contains(k)&&(f=!0,d[h]=!0);if(!f)return a;e=a.Ia();for(h=0;h<b;h++)d[h]||e.Fd(a,h,h+1);return e};c.mU=function(a,b,d){var e=a.ub(0),f=a.I(),h=b.D(),k=new g.h,m=!1;b=[];for(var n=0;n<f;n++)b[n]=!1;n=d*Math.sqrt(2)*1.00001;d=n*n;for(n=0;n<f;n++)e.tc(2*n,k), |
|
g.h.yc(k,h)<=d&&(m=!0,b[n]=!0);if(!m)return a;e=a.Ia();for(n=0;n<f;n++)b[n]||e.Fd(a,n,n+1);return e};c.KV=function(a,b,d,e,f){var h=new g.Fh;a.bn(h);var k=new g.l;b.A(k);h.Zb(k);h.W(.1*h.R(),.1*h.ca());k=new g.Da;k.ad(h,!1);1736==d?k.add(b,!0):k.ad(b,!0);return g.Xj.local().V(a,k,e,f)};c.instance=null;return c}(g.Je);g.kp=v})(D||={});(function(g){var v=function(){function l(c,a,b,d){this.ts=null==a;this.ya=-1;this.Rd=c;this.$z=b;this.wT=a.next();this.Ub=d}l.prototype.next=function(){if(this.ts)return null; |
|
var c;return null!=(c=this.Rd.next())?(this.ya=this.Rd.La(),g.kp.im(c,this.wT,this.$z,this.Ub)):null};l.prototype.La=function(){return this.ya};l.prototype.qe=function(){};return l}();g.qL=v})(D||={});(function(g){var v=function(){function c(a){this.nd=a;this.Bj=new g.l;this.Bj.Oa();this.oh=new g.l;this.oh.Oa()}c.prototype.Nt=function(){var a=this.Bj.v;this.Bj.v=this.oh.v;this.oh.v=a;a=this.Bj.C;this.Bj.C=this.oh.C;this.oh.C=a;a=this.Bj.G;this.Bj.G=this.oh.G;this.oh.G=a;a=this.Bj.H;this.Bj.H=this.oh.H; |
|
this.oh.H=a};c.prototype.eQ=function(a,b){if(null!=this.nd&&!this.nd.progress(-1,-1))throw g.i.fu("user_canceled");var d=!this.Bj.isIntersecting(this.oh);if(g.aa.Hc(a.getType())&&g.aa.Hc(b.getType())){if(a.I()>b.I())return this.gE(a,b,d);this.Nt();a=this.gE(b,a,d);this.Nt();return a}if(550==a.getType()&&g.aa.Hc(b.getType()))return a=this.hE(b,a,d),this.Nt(),a;if(550==b.getType()&&g.aa.Hc(a.getType()))return this.hE(a,b,d);if(550==a.getType()&&550==b.getType()){if(a.I()>b.I())return this.iE(a,b);this.Nt(); |
|
a=this.iE(b,a);this.Nt();return a}return 0};c.prototype.gE=function(a,b,d){var e=a.Ga(),f=b.Ga(),h=new g.l,k=new g.l,m=1.7976931348623157E308;if(!d&&this.pY(a,b,e,f))return 0;for(;e.$a();)for(;e.Ha();)if(a=e.ha(),a.A(h),!(h.px(this.oh)>m)){for(;f.$a();)for(;f.Ha();)if(b=f.ha(),b.A(k),h.px(k)<m&&(b=a.tb(b,d),b*=b,b<m)){if(0==b)return 0;m=b}f.Zi()}return Math.sqrt(m)};c.prototype.hE=function(a,b,d){var e=a.Ga(),f=new g.l,h=1.7976931348623157E308,k=new g.h,m=b.I();for(d=!d&&1736==a.getType();e.$a();)for(;e.Ha();){var n= |
|
e.ha();n.A(f);if(!(1<m&&f.px(this.oh)>h)){for(var p=0;p<m;p++){b.D(p,k);if(d&&0!=g.hd.Yd(a,k,0))return 0;var q=n.fe(k,!1);k.sub(n.hc(q));q=k.Sk();if(q<h){if(0==q)return 0;h=q}}d=!1}}return Math.sqrt(h)};c.prototype.iE=function(a,b){for(var d=1.7976931348623157E308,e=new g.h,f=new g.h,h,k=a.I(),m=b.I(),n=0;n<k;n++)if(a.D(n,e),!(1<m&&this.oh.iK(e)>d))for(var p=0;p<m;p++)if(b.D(p,f),h=g.h.yc(e,f),h<d){if(0==h)return 0;d=h}return Math.sqrt(d)};c.prototype.pY=function(a,b,d,e){if(1736==a.getType()){for(;e.$a();)if(e.Ha()){var f= |
|
e.ha();if(0!=g.hd.Yd(a,f.wc(),0))return!0}e.Zi()}if(1736==b.getType()){for(;d.$a();)if(d.Ha()&&(a=d.ha(),0!=g.hd.Yd(b,a.wc(),0)))return!0;d.Zi()}return!1};c.prototype.gm=function(a,b){if(a.B()||b.B())return NaN;a.A(this.Bj);b.A(this.oh);return this.eQ(a,b)};return c}(),l=function(c){function a(){return null!==c&&c.apply(this,arguments)||this}R(a,c);a.prototype.V=function(b,d,e){if(null==b||null==d)throw g.i.N();if(b.B()||d.B())return NaN;var f=b.getType(),h=d.getType();if(33==f){if(33==h)return g.h.tb(b.D(), |
|
d.D());if(197==h)return e=new g.l,d.A(e),e.tb(b.D());f=new g.de;f.add(b);b=f}else if(197==f){if(197==h)return h=new g.l,b.A(h),e=new g.l,d.A(e),e.tb(h);f=new g.Da;f.ad(b,!1);b=f}33==h?(h=new g.de,h.add(d),d=h):197==h&&(h=new g.Da,h.ad(d,!1),d=h);return(new v(e)).gm(b,d)};a.local=function(){null===a.instance&&(a.instance=new a);return a.instance};a.prototype.getType=function(){return 14};a.instance=null;return a}(g.Je);g.rL=l})(D||={});(function(g){var v=function(){function l(c,a,b,d){this.zH=c;this.DH= |
|
a;this.nd=d;this.$G=b}l.prototype.next=function(){var c=this.zH.next();return null==c?null:this.zC(c)};l.prototype.La=function(){return this.zH.La()};l.prototype.zC=function(c){var a=c.getType();if(g.aa.Rn(a))return c;if(197==a)return a=new g.Da(c.description),a.ad(c,!1),this.zC(a);if(c.B())return c;if(null==c)throw g.i.Qa();a=c.Ia();for(var b=new g.yb,d=0,e=c.da();d<e;d++)this.TK(c,d,a,b);return a};l.prototype.TK=function(c,a,b,d){if(!(2>c.Ja(a))){var e=c.Ba(a),f=c.Vc(a)-1,h=c.ub(0),k=c.dc(a),m= |
|
new g.ia(0);m.Jb(c.Ja(a)+1);var n=new g.ia(0);n.Jb(c.Ja(a)+1);m.add(k?e:f);m.add(e);for(e=new g.h;1<m.size;){var p=m.Fc();m.If();var q=m.Fc();c.D(p,e);d.Dc(e);c.D(q,e);d.Qc(e);q=this.SK(d,e,h,p,q,f);0<=q?(m.add(q),m.add(p)):n.add(p)}k||n.add(m.get(0));if(n.size==m.size)b.addPath(c,a,!0);else if(2<=n.size&&(!this.$G||2!=n.size||!(k||g.h.tb(c.Na(n.get(0)),c.Na(n.get(1)))<=this.DH))){a=new g.Sa;d=0;for(f=n.size;d<f;d++)c.ve(n.get(d),a),0==d?b.nf(a):b.lineTo(a);k&&(this.$G||2!=n.size||b.lineTo(a),b.Ap())}}}; |
|
l.prototype.SK=function(c,a,b,d,e,f){var h=e-1;e<=d&&(h=f);f=e=-1;for(d+=1;d<=h;d++){b.tc(2*d,a);var k=a.x,m=a.y;c.hc(c.fe(a,!1),a);a.x-=k;a.y-=m;k=a.length();k>this.DH&&k>f&&(e=d,f=k)}return e};l.prototype.qe=function(){};return l}();g.sL=v})(D||={});(function(g){var v=function(l){function c(){return null!==l&&l.apply(this,arguments)||this}R(c,l);c.prototype.getType=function(){return 29};c.prototype.V=function(a,b,d,e){return a instanceof g.aa?(a=new g.Zc(a),this.V(a,b,d,e).next()):new g.sL(a,b, |
|
d,e)};c.local=function(){null===c.instance&&(c.instance=new c);return c.instance};c.instance=null;return c}(g.Je);g.EC=v})(D||={});(function(g){var v=function(l){function c(){return null!==l&&l.apply(this,arguments)||this}R(c,l);c.prototype.getType=function(){return 21};c.local=function(){null===c.instance&&(c.instance=new c);return c.instance};c.prototype.V=function(a,b,d,e,f,h,k,m){return a instanceof g.aa?(m=new g.Zc(a),this.V(m,b,d,[e],f,h,!1,k).next()):!0===k?(d=new g.GC(a,b,d,e,f,!1,!1,m),g.Gh.local().V(d, |
|
b,m)):new g.GC(a,b,d,e,f,!1,!1,m)};c.instance=null;return c}(g.Je);g.FC=v})(D||={});(function(g){var v=function(){function l(c,a,b,d,e,f,h,k){if(f)throw g.i.Ie();if(null==a)throw g.i.N();this.ya=-1;this.Ms=c;this.vg=a;this.ze=b;this.Cs=d;this.$n=e;this.eo=-1;this.Ub=k;this.uT=new g.l;this.uT.Oa()}l.prototype.next=function(){for(var c;null!=(c=this.Ms.next());)return this.ya=this.Ms.La(),this.eo+1<this.Cs.length&&this.eo++,this.$Q(c,this.Cs[this.eo]);return null};l.prototype.La=function(){return this.ya}; |
|
l.prototype.$Q=function(c,a){return g.VK.buffer(c,this.vg,this.ze,a,this.$n,this.Ub)};l.prototype.qe=function(){};return l}();g.GC=v})(D||={});(function(g){var v=function(l){function c(){return null!==l&&l.apply(this,arguments)||this}R(c,l);c.prototype.getType=function(){return 24};c.local=function(){null===c.instance&&(c.instance=new c);return c.instance};c.prototype.V=function(a,b,d){if(null==b)throw g.i.N();if(a.B()||1>a.Db())return 0;if(4==d)throw g.i.Ie();var e=g.cb.sc(b),f=g.cb.vv(e),h=g.cb.ev(e); |
|
f*=2-f;var k=e.Hd().ai,m=a.getType();if(1736==m||197==m)var n=a.mg();else g.aa.yd(m)?(n=new g.Ta(a.description),n.oc(a,!0)):n=a;if(0==e.Nb(b)){if(g.cb.Wc(b)){n=g.Hh.lj(n,b);1607==m&&n==a&&(n=g.aa.jg(a));a=new g.Nc;g.cb.gh(b).cn(a);m=0;for(var p=n.I();m<p;m++){var q=n.Na(m);q.x=g.Hh.Zm(q.x,a);n.Cb(m,q)}}a=n.Ia();n=g.Hh.WI(b,e,n,a)?a:g.cb.zh(n,b,e)}return this.hQ(n,d,h,f,k)};c.prototype.hQ=function(a,b,d,e,f){var h=new g.ga(0),k=0;for(a=a.Ga();a.$a();)for(;a.Ha();){var m=a.ha(),n=m.ac();m=m.wc();n.scale(f); |
|
m.scale(f);g.kb.wd(d,e,n.x,n.y,m.x,m.y,h,null,null,b);k+=h.u}return k};c.instance=null;return c}(g.Je);g.vL=v})(D||={});(function(g){var v=function(l){function c(){return null!==l&&l.apply(this,arguments)||this}R(c,l);c.prototype.getType=function(){return 18};c.local=function(){null===c.instance&&(c.instance=new c);return c.instance};c.prototype.V=function(a,b,d,e,f){return a instanceof g.aa?(a=new g.Zc(a),this.V(a,b,d,e,f).next()):new g.uL(a,d,e,b,-1,-1,f)};c.instance=null;return c}(g.Je);g.tL=v})(D||= |
|
{});(function(g){var v=function(){function l(c,a,b,d,e,f){if(0<f)throw g.i.Ie();if(4!=b&&0<e)throw g.i.Ie();if(null==a)throw g.i.N();this.ya=-1;this.Ms=c;this.vg=a;this.ze=b;this.DT=d;this.CT=e}l.prototype.next=function(){for(var c;null!=(c=this.Ms.next());)return this.ya=this.Ms.La(),this.Zy(c);return null};l.prototype.La=function(){return this.ya};l.prototype.Zy=function(c){return g.cj.Qr(c,this.vg,this.ze,this.DT,this.CT,this.Ub)};l.prototype.qe=function(){};return l}();g.uL=v})(D||={});(function(g){(function(v){v[v.Unknown= |
|
0]="Unknown";v[v.Contains=1]="Contains";v[v.Within=2]="Within";v[v.Equals=3]="Equals";v[v.Disjoint=4]="Disjoint";v[v.Touches=8]="Touches";v[v.Crosses=16]="Crosses";v[v.Overlaps=32]="Overlaps";v[v.NoThisRelation=64]="NoThisRelation";v[v.Intersects=1073741824]="Intersects";v[v.IntersectsOrDisjoint=1073741828]="IntersectsOrDisjoint"})(g.cL||(g.cL={}));g.wL=function(){function v(){}v.nW=function(l,c){var a=l.getType(),b=c.getType();if(g.aa.xj(a)){var d=l.Bb;if(null!=d&&(d=d.Fk,null!=d)){if(33==b){var e= |
|
c.D();d=d.So(e.x,e.y)}else e=new g.l,c.A(e),d=d.Ro(e);if(1==d)return 1;if(0==d)return 4}}if(g.aa.xj(b)&&(d=c.Bb,null!=d&&(d=d.Fk,null!=d))){33==a?(l=l.D(),d=d.So(l.x,l.y)):(c=new g.l,l.A(c),d=d.Ro(c));if(1==d)return 2;if(0==d)return 4}return 0};return v}()})(D||={});(function(g){var v=function(l){function c(){return null!==l&&l.apply(this,arguments)||this}R(c,l);c.local=function(){null===c.instance&&(c.instance=new c);return c.instance};c.prototype.getType=function(){return 15};c.prototype.V=function(a, |
|
b,d,e,f){return a instanceof g.aa?(a=new g.Zc(a),b=new g.Zc(b),this.V(a,b,d,e,void 0===f?-1:f).next()):void 0===f?new g.HC(a,b,d,e,-1):new g.HC(a,b,d,e,f)};c.prototype.wn=function(a,b,d){this.Iu(a)&&(b=g.ta.kj(b,a,!1),a.fj(d)||a.lu(b,d))};c.prototype.Iu=function(a){return g.Nx.zE(a)};c.instance=null;return c}(g.Je);g.Xj=v})(D||={});(function(g){var v=function(){function l(c,a,b,d,e){this.ts=null==a;this.ya=-1;this.Rd=c;this.vg=b;this.Se=a.next();this.Dj=this.Se.getType();this.Ub=d;this.Fi=e;if(-1!= |
|
this.Fi&&(0>=this.Fi||7<this.Fi))throw g.i.N("bad dimension mask");}l.prototype.next=function(){if(this.ts)return null;if(null!=this.zw){var c=this.zw.next();if(null!=c)return c;this.zw=null}for(;null!=(c=this.Rd.next());)return this.ya=this.Rd.La(),-1==this.Fi?c=this.Ea(c):(this.zw=this.PS(c),c=this.zw.next()),c;return null};l.prototype.La=function(){return this.ya};l.prototype.Ea=function(c){var a=this.zK(c);if(null!=a)return a;a=g.ta.mv(this.Se,c);var b=g.ta.Wd(this.vg,a,!0);a=new g.l;this.Se.A(a); |
|
var d=new g.l;c.A(d);a.W(2*b,2*b);a.Ea(d);a.W(100*b,100*b);b=g.Ud.clip(this.Se,a,0,0);c=g.Ud.clip(c,a,0,0);return g.Fg.Av(c,b,this.vg,this.Ub)};l.prototype.QI=function(c,a,b){var d=0;if(0!=(a&1))null==b[0]&&(b[0]=new g.de(c)),d++;else for(var e=0;e<b.length-1;e++)b[e]=b[e+1];if(0!=(a&2))null==b[d]&&(b[d]=new g.Ta(c)),d++;else for(e=d;e<b.length-1;e++)b[e]=b[e+1];if(0!=(a&4))null==b[d]&&(b[d]=new g.Da(c)),d++;else for(e=d;e<b.length-1;e++)b[e]=b[e+1];if(3!=d){c=[];for(e=0;e<d;e++)c[e]=b[e];return new g.Zc(c)}return new g.Zc(b)}; |
|
l.prototype.PS=function(c){var a=this.zK(c);if(null!=a){var b=[null,null,null];b[a.Db()]=a;return this.QI(c.description,this.Fi,b)}a=g.ta.mv(this.Se,c);b=g.ta.Wd(this.vg,a,!0);a=new g.l;this.Se.A(a);a.W(2*b,2*b);var d=new g.l;c.A(d);a.Ea(d);a.W(100*b,100*b);b=g.Ud.clip(this.Se,a,0,0);a=g.Ud.clip(c,a,0,0);b=g.Fg.Pz(a,b,this.vg,this.Ub);return this.QI(c.description,this.Fi,b)};l.prototype.zK=function(c){var a=g.ta.mv(c,this.Se),b=g.ta.Wd(this.vg,a,!0);a=c.getType();var d=c.B(),e=this.Se.B();e=d||e; |
|
if(!e){e=new g.l;c.A(e);var f=new g.l;this.Se.A(f);f.W(2*b,2*b);e=!e.isIntersecting(f)}if(!e)if(f=g.wL.nW(this.Se,c),4==f)e=!0;else{if(0!=(f&2))return this.Se;if(0!=(f&1))return c}if(e)return b=g.aa.tf(a),e=g.aa.tf(this.Dj),b<e?l.HB(c,d):b>e?this.nJ():0==b?550==a&&33==this.Dj?this.nJ():l.HB(c,d):l.HB(c,d);if((-1==this.Fi||4==this.Fi)&&197==a&&197==this.Dj)return b=this.Se,a=new g.l,c.A(a),d=new g.l,b.A(d),a.Ea(d),b=new g.Fh,c.copyTo(b),b.Xo(a),b;if(197==a&&0==g.aa.tf(this.Dj)||197==this.Dj&&0==g.aa.tf(a))return d= |
|
197==a?c:this.Se,c=197==a?this.Se:c,a=new g.l,d.A(a),g.Ud.clip(c,a,b,0);if(0==g.aa.tf(a)&&0<g.aa.tf(this.Dj)||0<g.aa.tf(a)&&0==g.aa.tf(this.Dj)){b=g.ta.kj(this.vg,c,!1);if(550==a||33==a)return g.Fg.zG(c,this.Se,b);if(550==this.Dj||33==this.Dj)return g.Fg.zG(this.Se,c,b);throw g.i.Qa();}return-1!=this.Fi&&2!=this.Fi||1607!=a||1736!=this.Dj?-1!=this.Fi&&2!=this.Fi||1736!=a||1607!=this.Dj?null:this.wK(this.Se,c):this.wK(c,this.Se)};l.prototype.wK=function(c,a){var b=c,d=a,e=g.ta.kj(this.vg,a,!1),f=new g.l; |
|
d.A(f);var h=new g.l;b.A(h);h.W(2*e,2*e);f.Ea(h);f.W(10*e,10*e);b=c=g.Ud.clip(c,f,0,0);h=new g.ia(0);var k=-1,m=d.Bb;if(null!=m){var n=m.Fk;if(null!=n){k=0;h.Jb(b.I()+b.da());for(var p=new g.l,q=b.Ga();q.$a();)for(;q.Ha();){q.ha().A(p);var r=n.Ro(p);1==r?h.add(1):0==r?h.add(0):(h.add(-1),k++)}}}5<a.I()&&(d=a=g.Ud.clip(a,f,0,0),m=d.Bb);0>k&&(k=b.yz());f=b.I()+d.I();if(k*d.I()>Math.log(f)*f*4)return null;f=null;k=d.Ga();null!=m&&null!=m.Fb&&(f=m.Fb);null==f&&20<d.I()&&(f=g.ta.nE(d));c=c.Ia();d=null; |
|
m=b.Ga();n=[0,0,0,0,0,0,0,0,0];p=new g.be(0);q=new g.ig;r=-1;for(var t=0,u=0,w=0<h.size,y=-1;m.$a();){y=m.gb;var x=0;r=-1;for(t=0;m.Ha();){var z=w?g.O.truncate(h.get(u)):-1;u++;var A=m.ha();if(0>z){if(null!=f)for(null==d?d=f.vR(A,e):d.Uo(A,e),z=d.next();-1!=z;z=d.next()){k.Vb(f.ja(z));z=k.ha();var B=A.Ea(z,null,n,null,e);for(z=0;z<B;z++)p.add(n[z])}else for(k.Zi();k.$a();)for(;k.Ha();)for(z=k.ha(),B=A.Ea(z,null,n,null,e),z=0;z<B;z++)p.add(n[z]);if(0<p.size){p.Vd(0,p.size,function(G,J){return G-J}); |
|
var C=0;p.add(1);B=-1;z=0;for(var E=p.size;z<E;z++){var F=p.get(z);if(F!=C){var H=!1;0!=C||1!=F?(A.ah(C,F,q),C=q.get()):(C=A,H=!0);if(2<=x){c.Dr(b,y,r,t,3==x);if(1!=this.QD(a,C.ac(),e)&&1!=this.RD(a,C,e))return null;c.oc(C,!1);x=1;t=0}else switch(B=this.RD(a,C,e),B){case 1:H?2>x?(r=m.wb()-b.Ba(y),t=1,x=0==x?3:2):t++:(c.oc(C,0==x),x=1);break;case 0:x=0;r=-1;t=0;break;default:return null}C=F}}}else{z=this.QD(a,A.ac(),e);if(0>z)return null;1==z?(2>x&&(r=m.wb()-b.Ba(y),x=0==x?3:2),t++):(r=-1,t=0)}p.clear(!1)}else 0!= |
|
z&&1==z&&(0==x?(x=3,r=m.wb()-b.Ba(y)):1==x?(x=2,r=m.wb()-b.Ba(y)):t++)}2<=x&&(c.Dr(b,y,r,t,3==x),r=-1)}return c};l.prototype.QD=function(c,a,b){return g.Dg.wm(c,a,b)};l.prototype.RD=function(c,a,b){var d=a.ac();a=a.wc();var e=g.Dg.wm(c,d,b),f=g.Dg.wm(c,a,b);if(1==e&&0==f||0==e&&1==f)return-1;if(0==e||0==f)return 0;if(1==e||1==f)return 1;e=new g.h;e.add(d,a);e.scale(.5);c=g.Dg.wm(c,e,b);return 0==c?0:1==c?1:-1};l.HB=function(c,a){return a?c:c.Ia()};l.prototype.nJ=function(){null==this.yH&&(this.yH= |
|
this.Se.Ia());return this.yH};l.prototype.qe=function(){};return l}();g.HC=v})(D||={});(function(g){var v=function(l){function c(){return null!==l&&l.apply(this,arguments)||this}R(c,l);c.prototype.getType=function(){return 28};c.local=function(){null===c.instance&&(c.instance=new c);return c.instance};c.prototype.V=function(a,b,d,e,f,h,k){return a instanceof g.aa?(a=new g.Zc(a),this.V(a,b,d,e,f,h,k).next()):new g.xL(a,b,d,e,f,h,k)};c.instance=null;return c}(g.Je);g.IC=v})(D||={});(function(g){var v= |
|
function(){function l(c,a,b,d,e,f,h){this.ya=-1;this.Rd=c;this.Mj=a;this.Ka=b;this.Ki=d;this.CA=e;this.uH=f;this.nd=h}l.prototype.next=function(){var c=this.Rd.next();return null!=c?(this.ya=this.Rd.La(),this.jL(c)):null};l.prototype.La=function(){return this.ya};l.prototype.jL=function(c){var a=0>=this.uH?g.ta.kj(this.Mj,c,!1):this.uH;return g.IK.V(c,this.Ka,this.Ki,this.CA,a,this.nd)};l.prototype.qe=function(){};return l}();g.xL=v})(D||={});(function(g){(function(l){l[l.clipToDomainOnly=1]="clipToDomainOnly"; |
|
l[l.clipWithHorizon=2]="clipWithHorizon";l[l.foldAndClipWithHorizon=3]="foldAndClipWithHorizon"})(g.NK||(g.NK={}));var v=function(l){function c(){return null!==l&&l.apply(this,arguments)||this}R(c,l);c.prototype.getType=function(){return 0};c.local=function(){null===c.instance&&(c.instance=new c);return c.instance};c.prototype.V=function(a,b,d){return a instanceof g.aa?(a=new g.Zc(a),this.V(a,b,d).next()):new g.yL(a,b,d)};c.prototype.transform=function(a,b,d,e){return g.bu.transform(a,b,d,e,!0)}; |
|
c.prototype.Qt=function(a,b,d,e){return g.bu.Qt(a,b,d,e)};c.instance=null;return c}(g.Je);g.Hx=v})(D||={});(function(g){var v=function(){function l(c,a,b){this.ya=-1;this.Rd=c;this.MT=a;this.nd=b}l.prototype.next=function(){var c=this.Rd.next();return null!=c?(this.ya=this.Rd.La(),g.bu.zh(c,this.MT,this.nd)):null};l.prototype.La=function(){return this.ya};l.prototype.qe=function(){};return l}();g.yL=v})(D||={});(function(g){var v=function(){function c(){}c.prototype.reset=function(){this.ph=this.xk= |
|
-1;this.us=this.kq=!1};c.prototype.AQ=function(a,b,d){for(a.Vb(b,d);a.Ha();){var e=a.ha();e=e.Qb();if(0!=e)return a.wb()}for(a.Vb(b,d);a.Ez();)if(e=a.li(),e=e.Qb(),0!=e)return a.wb();return-1};c.prototype.BQ=function(a,b){for(a.Vb(b,-1);a.Ez();)if(0!=a.li().Qb())return a.wb();return-1};c.prototype.zQ=function(a,b){a.Vb(b,-1);for(a.ha();a.Ha();)if(0!=a.ha().Qb())return a.wb();return-1};c.prototype.yQ=function(a,b,d,e){this.xk=this.AQ(b,d,e);if(-1!=this.xk){b.Vb(this.xk,-1);var f=b.ha(),h=f.hc(f.fe(a, |
|
!1));d=g.h.yc(h,a);e=new g.h;e.L(h);e.sub(f.ac());h=new g.h;h.L(a);h.sub(f.ac());this.kq=0>e.wi(h);this.ph=this.zQ(b,this.xk);if(-1!=this.ph){b.Vb(this.ph,-1);f=b.ha();var k=f.fe(a,!1);k=f.hc(k);var m=g.h.yc(k,a);m>d?this.ph=-1:(e.L(k),e.sub(f.ac()),h.L(a),h.sub(f.ac()),this.us=0>e.wi(h))}-1==this.ph&&(this.ph=this.BQ(b,this.xk),-1!=this.ph&&(b.Vb(this.ph,-1),f=b.ha(),k=f.fe(a,!1),k=f.hc(k),m=g.h.yc(k,a),m>d?this.ph=-1:(e.L(k),e.sub(f.ac()),h.L(a),h.sub(f.ac()),this.us=0>e.wi(h),a=this.xk,this.xk= |
|
this.ph,this.ph=a,a=this.kq,this.kq=this.us,this.us=a)))}};c.prototype.cO=function(a,b,d,e,f){d=d.Ga();this.yQ(a,d,e,f);if(-1!=this.xk&&-1==this.ph)return this.kq;if(-1!=this.xk&&-1!=this.ph){if(this.kq==this.us)return this.kq;d.Vb(this.xk,-1);a=d.ha().kg();d.Vb(this.ph,-1);b=d.ha().kg();return 0<=a.wi(b)?!0:!1}return b};return c}(),l=function(c){function a(){return null!==c&&c.apply(this,arguments)||this}R(a,c);a.local=function(){null===a.instance&&(a.instance=new a);return a.instance};a.prototype.getType= |
|
function(){return 3};a.prototype.nz=function(b,d,e){var f;void 0===f&&(f=!1);if(b.B())return new g.$l;d=d.D();var h=b,k=b.getType();197==k&&(h=new g.Da,h.ad(b,!1),k=1736);switch(k){case 33:return this.xI(h,d);case 550:return this.jI(h,d);case 1607:case 1736:return this.bU(h,d,e,f);default:throw g.i.fa("not implemented");}};a.prototype.oz=function(b,d){if(b.B())return new g.$l;d=d.D();var e=b,f=b.getType();197==f&&(e=new g.Da,e.ad(b,!1),f=1736);switch(f){case 33:return this.xI(e,d);case 550:case 1607:case 1736:return this.jI(e, |
|
d);default:throw g.i.fa("not implemented");}};a.prototype.pz=function(b,d,e,f){if(0>f)throw g.i.N();if(b.B())return[];d=d.D();var h=b,k=b.getType();197==k&&(h=new g.Da,h.ad(b,!1),k=1736);switch(k){case 33:return this.TU(h,d,e,f);case 550:case 1607:case 1736:return this.tU(h,d,e,f);default:throw g.i.fa("not implemented");}};a.prototype.bU=function(b,d,e,f){if(1736==b.getType()&&e&&(e=new g.l,b.A(e),e=g.ta.Wd(null,e,!1),0!=(f?g.hd.Yd(b,d,0):g.hd.Yd(b,d,e)))){var h=new g.$l(d,0,0);f&&h.WJ(!0);return h}var k= |
|
b.Ga();h=new g.h;for(var m=e=-1,n=1.7976931348623157E308,p=0;k.$a();)for(;k.Ha();){var q=k.ha();q=q.hc(q.fe(d,!1));var r=g.h.yc(q,d);r<n?(p=1,h=q,e=k.wb(),m=k.gb,n=r):r==n&&p++}h=new g.$l(h,e,Math.sqrt(n));f&&(k.Vb(e,m),q=k.ha(),f=0>g.h.Uq(d,q.ac(),q.wc()),1<p&&(p=new v,p.reset(),f=p.cO(d,f,b,e,m)),h.WJ(f));return h};a.prototype.xI=function(b,d){b=b.D();d=g.h.tb(b,d);return new g.$l(b,0,d)};a.prototype.jI=function(b,d){for(var e=b.ub(0),f=b.I(),h=b=0,k=0,m=1.7976931348623157E308,n=0;n<f;n++){var p= |
|
new g.h;e.tc(2*n,p);var q=g.h.yc(p,d);q<m&&(h=p.x,k=p.y,b=n,m=q)}d=new g.$l;d.ey(h,k,b,Math.sqrt(m));return d};a.prototype.TU=function(b,d,e,f){if(0==f)return e=[];e*=e;b=b.D();d=g.h.yc(b,d);d<=e?(e=[],f=new g.$l,f.ey(b.x,b.y,0,Math.sqrt(d)),e[0]=f):e=[];return e};a.prototype.tU=function(b,d,e,f){if(0==f)return f=[];var h=b.ub(0),k=b.I();b=[];e*=e;for(var m=0;m<k;m++){var n=h.read(2*m),p=h.read(2*m+1),q=d.x-n,r=d.y-p;q=q*q+r*r;q<=e&&(r=new g.$l,r.ey(n,p,m,Math.sqrt(q)),b.push(r))}d=b.length;b.sort(function(t, |
|
u){return t.Ka<u.Ka?-1:t.Ka==u.Ka?0:1});if(f>=d)return b.slice(0);b.length=f;return b.slice(0)};a.instance=null;return a}(g.Je);g.Ix=l})(D||={});(function(g){var v=function(l){function c(){return null!==l&&l.apply(this,arguments)||this}R(c,l);c.prototype.getType=function(){return 4};c.prototype.V=function(a,b,d,e,f){return g.am.yB(a,b,d,e,f)};c.local=function(){null===c.instance&&(c.instance=new c);return c.instance};c.prototype.Iu=function(a){return g.Vt.wy(a)};c.prototype.wn=function(a,b,d){g.Vt.CD(a, |
|
b,d)};c.instance=null;return c}(g.Je);g.zL=v})(D||={});(function(g){var v=function(l){function c(){return null!==l&&l.apply(this,arguments)||this}R(c,l);c.prototype.getType=function(){return 33};c.prototype.V=function(a,b,d,e,f){return 1073741824===a?!g.ud.zB(b,d,e,4,f):g.ud.zB(b,d,e,a,f)};c.local=function(){null===c.instance&&(c.instance=new c);return c.instance};c.prototype.Iu=function(a){return g.Vt.wy(a)};c.prototype.wn=function(a,b,d){g.Vt.CD(a,b,d)};c.instance=null;return c}(g.Je);g.dj=v})(D||= |
|
{});(function(g){var v=function(){function l(c,a,b,d){this.nd=d;this.rT=b;this.ya=-1;if(null==c)throw g.i.N();this.yk=c;this.Mj=a}l.prototype.next=function(){var c;if(null!=(c=this.yk.next())){this.ya=this.yk.La();if(null!=this.nd&&!this.nd.progress(-1,-1))throw g.i.fu("user_canceled");return this.eC(c)}return null};l.prototype.La=function(){return this.ya};l.prototype.eC=function(c){if(null==c)throw g.i.N();return g.Jx.cK(c,this.Mj,this.rT,this.nd)};l.prototype.qe=function(){};return l}();g.AL=v})(D||= |
|
{});(function(g){var v=function(l){function c(){return null!==l&&l.apply(this,arguments)||this}R(c,l);c.prototype.getType=function(){return 26};c.prototype.V=function(a,b,d,e){return a instanceof g.aa?(a=new g.Zc(a),this.V(a,b,d,e).next()):new g.AL(a,b,d,e)};c.prototype.rs=function(a,b,d,e,f){return 0<(void 0!==e?g.Jx.rs(a,b,d,e,f):g.Jx.rs(a,b,!1,null,d))};c.local=function(){null===c.instance&&(c.instance=new c);return c.instance};c.instance=null;return c}(g.Je);g.Yl=v})(D||={});(function(g){var v= |
|
function(){function f(){this.yq=0}f.prototype.nX=function(h){this.yq&=-2;this.yq|=h?1:0};f.prototype.Wp=function(){return 0!=(this.yq&1)};f.prototype.XF=function(){return this.Wp()?0:1};return f}();g.xY=v;var l=function(){return function(){}}(),c=function(){return function(f,h,k,m){this.x=f;this.y=h;this.Ai=k;this.xm=m}}(),a=function(){function f(h){this.Be=h}f.prototype.compare=function(h,k,m){h=h.ja(m);k=this.Be.lf.read(2*k);h=this.Be.lf.read(2*h);k-=h;return 0>k?-1:0<k?1:0};return f}(),b=function(){function f(h){this.Be= |
|
h}f.prototype.compare=function(h,k,m){k=this.Be.hb[k];h=this.Be.hb[h.ja(m)];var n=k.Wp(),p=h.Wp();m=k.ne.Pe(this.Be.Mo,0);var q=h.ne.Pe(this.Be.Mo,0);m==q&&(m=Math.min(n?k.ne.na:k.ne.la,p?h.ne.na:h.ne.la),n=.5*(m-this.Be.Mo)+this.Be.Mo,n==this.Be.Mo&&(n=m),m=k.ne.Pe(n,0),q=h.ne.Pe(n,0));return m<q?-1:m>q?1:0};return f}(),d=function(){function f(h,k){this.YI=new g.h;this.parent=h;this.dS=k}f.prototype.nr=function(h,k,m){var n=this.parent,p=this.dS;m.Vd(h,k,function(q,r){return n.Mh(q,r,p)})};f.prototype.$p= |
|
function(h){h=this.parent.gi.get(h);this.parent.lf.tc(2*(h>>1),this.YI);return this.YI.y+(0!=(h&1)?this.parent.Oj:-this.parent.Oj)};return f}(),e=function(){function f(h,k,m,n,p){this.nH=h.description;this.X=h;this.Qg=k;this.Oj=g.ta.kj(this.Qg,h,!1);this.Bo=g.ta.kj(this.Qg,h,!0);this.xA=m;this.oT=this.nH.Aa;this.hb=[];this.po=[];this.mh=new g.jp;this.fb=new g.Yj;this.ke=new g.Md;this.ZG=this.ql=p}f.prototype.eT=function(){this.ZG=!0;return(!g.aa.Hc(this.X.getType())||this.GE()&&this.DE(!1))&&this.mO()? |
|
g.aa.Hc(this.X.getType())?this.pO()?1607==this.X.getType()?this.rO()?2:0:this.sO()?this.tO():0:0:2:0};f.prototype.kC=function(h,k){var m=this.lf.read(2*h);h=this.lf.read(2*h+1);var n=this.lf.read(2*k);k=this.lf.read(2*k+1);var p=!g.Yt.Cv(m,h,n,k,this.Oj*this.Oj);return p?p:0==this.X.Db()?!1:m==n&&h==k};f.prototype.GE=function(){for(var h=this.X,k=h.xf?3:2,m=0,n=h.da();m<n;m++)if(h.Ja(m)<k)return this.ke=new g.Md(1,m,0),!1;return!0};f.prototype.DE=function(h){var k=this.X,m=k.Ga(),n=k.hasAttribute(1); |
|
for(k=n?g.ta.wE(this.Qg,k,!1):0;m.$a();)for(;m.Ha();){var p=m.ha();if(!(p.Qb()>this.Oj)){if(h&&n){var q=p.wv(1,0);p=p.wv(1,0);if(Math.abs(p-q)>k)continue}this.ke=new g.Md(2,m.wb(),-1);return!1}}return!0};f.prototype.mO=function(){var h=this.X,k=null;g.aa.Hc(this.X.getType())&&(k=this.X);var m=(this.ZG||this.ql)&&null!=k,n=h.I();this.lf=h.ub(0);this.gi=new g.ia(0);this.gi.Jb(2*n);this.fi=new g.ia(0);this.fi.Jb(2*n);m&&(null==this.Fl&&(this.Fl=new g.ia(0)),this.Fl.Jb(n));for(var p=h=0;p<n;p++)if(this.gi.add(2* |
|
p),this.gi.add(2*p+1),this.fi.add(2*p),this.fi.add(2*p+1),m){for(;p>=k.Vc(h);)h++;this.Fl.add(h)}(new g.Xt).sort(this.fi,0,2*n,new d(this,m));this.fb.clear();this.fb.Vo(new a(this));this.fb.De(n);k=0;for(n*=2;k<n;k++)if(m=this.fi.get(k),h=this.gi.get(m),m=h>>1,0==(h&1)){h=this.fb.addElement(m,-1);p=this.fb.we(h);if(-1!=p&&!this.kC(this.fb.ja(p),m))return this.ke=new g.Md(3,m,this.fb.ja(p)),!1;var q=this.fb.lb(h);if(-1!=q&&!this.kC(this.fb.ja(q),m))return this.ke=new g.Md(3,m,this.fb.ja(q)),!1}else if(h= |
|
this.fb.search(m,-1),p=this.fb.we(h),q=this.fb.lb(h),this.fb.vd(h,-1),-1!=p&&-1!=q&&!this.kC(this.fb.ja(p),this.fb.ja(q)))return this.ke=new g.Md(3,this.fb.ja(p),this.fb.ja(q)),!1;return!0};f.prototype.pO=function(){return 10>this.X.I()?this.nO():this.oO()};f.prototype.oO=function(){var h=new g.gd;h.Ib(this.X);var k=new g.Md;return g.$t.kI(!1,h,this.Oj,k,this.nd)?(k.Jo=h.Ua(k.Jo),k.Ko=h.Ua(k.Ko),this.ke.Wt(k),!1):!0};f.prototype.nO=function(){var h=this.X,k=h.Ga();for(h=h.Ga();k.$a();)for(;k.Ha();){var m= |
|
k.ha();if(!k.Qn()||!k.$S()){h.BW(k);do for(;h.Ha();){var n=h.ha();n=m.zr(n,this.Oj,!0);if(0!=n)return this.ke=new g.Md(2==n?5:4,k.wb(),h.wb()),!1}while(h.$a())}}return!0};f.prototype.sO=function(){var h=this.X;this.hb.length=0;this.po.length=0;this.Zf=h.Ga();this.Zf.JB();var k=new g.ia(0);k.Jb(10);var m=NaN,n=0,p=0;for(h=2*h.I();p<h;p++){var q=this.fi.get(p);q=this.gi.get(q);if(0==(q&1)){q>>=1;var r=this.lf.read(2*q),t=this.lf.read(2*q+1);if(0!=k.size&&(r!=m||t!=n)){if(!this.RI(k))return!1;null!= |
|
k&&k.clear(!1)}k.add(q);m=r;n=t}}return this.RI(k)?!0:!1};f.prototype.rO=function(){for(var h=this.X,k=Array(h.da()),m=0,n=h.da();m<n;m++)k[m]=h.Nn(m);n=new l;var p=new g.h;m=this.fi.get(0);m=this.gi.get(m);var q=m>>1;this.lf.tc(2*q,p);m=this.Fl.get(q);var r=k[m],t=h.Ba(m),u=h.Vc(m)-1;n.el=q==t||q==u;n.ny=this.ql?!r&&n.el:n.el;n.Ai=m;n.x=p.x;n.y=p.y;n.xm=q;for(var w=new l,y=1,x=this.fi.size;y<x;y++)if(m=this.fi.get(y),m=this.gi.get(m),0==(m&1)){q=m>>1;this.lf.tc(2*q,p);m=this.Fl.get(q);m!=n.Ai&&(r= |
|
k[m],t=h.Ba(m),u=h.Vc(m)-1);var z=q==t||q==u,A=this.ql?!r&&n.el:n.el;w.x=p.x;w.y=p.y;w.Ai=m;w.xm=q;w.ny=A;w.el=z;if(w.x==n.x&&w.y==n.y)if(this.ql){if(!w.ny||!n.ny)if(w.Ai!=n.Ai||!w.el&&!n.el)return this.ke=new g.Md(8,w.xm,n.xm),!1}else if(!w.el||!n.el)return this.ke=new g.Md(5,w.xm,n.xm),!1;m=n;n=w;w=m}return!0};f.prototype.JE=function(){for(var h=this.X,k=[],m=-1,n=!1,p=0,q=h.da();p<q;p++)h.Ev(p)&&(n=!1,m++,p<q-1&&(h.Ev(p+1)||(n=!0))),k[p]=n?m:-1;n=new g.h;p=this.fi.get(0);p=this.gi.get(p);var r= |
|
p>>1;this.lf.tc(2*r,n);p=this.Fl.get(r);m=new c(n.x,n.y,p,r,k[p]);h=[];var t=1;for(q=this.fi.size;t<q;t++)if(p=this.fi.get(t),p=this.gi.get(p),0==(p&1)){r=p>>1;this.lf.tc(2*r,n);p=this.Fl.get(r);p=new c(n.x,n.y,p,r,k[p]);if(p.x==m.x&&p.y==m.y){if(p.Ai==m.Ai)return this.ke=new g.Md(9,p.xm,m.xm),!1;0<=k[p.Ai]&&k[p.Ai]==k[m.Ai]&&(0!=h.length&&h[h.length-1]==m||h.push(m),h.push(p))}m=p}if(0==h.length)return!0;p=new g.jp(!0);g.O.$u(k,-1);n=-1;t=new g.h;t.Rc();m=0;for(q=h.length;m<q;m++){r=h[m];if(r.x!= |
|
t.x||r.y!=t.y)n=p.Ph(0),t.x=r.x,t.y=r.y;var u=k[r.Ai];-1==u&&(u=p.Ph(2),k[r.Ai]=u);p.addElement(u,n);p.addElement(n,u)}q=new g.ia(0);q.Jb(10);for(m=p.je;-1!=m;m=p.qz(m))if(h=p.PF(m),0==(h&1)&&0!=(h&2)){h=-1;q.add(m);for(q.add(-1);0<q.size;){n=q.Fc();q.If();t=q.Fc();q.If();r=p.PF(t);if(0!=(r&1)){h=0==(r&2)?n:t;break}p.fX(t,r|1);for(r=p.rc(t);-1!=r;r=p.lb(r))u=p.getData(r),u!=n&&(q.add(u),q.add(t))}if(-1!=h){p=-1;m=0;for(q=k.length;m<q;m++)if(k[m]==h){p=m;break}this.ke=new g.Md(10,p,-1);return!1}}return!0}; |
|
f.prototype.tO=function(){var h=this.X;if(0>=h.Ke())return this.ke=new g.Md(6,1==h.da()?1:-1,-1),0;if(1==h.da())return this.ql&&!this.JE()?0:2;this.to=g.ia.qf(h.da(),0);this.JA=g.ia.qf(h.da(),-1);for(var k=-1,m=0,n=0,p=h.da();n<p;n++){var q=h.Ir(n);this.to.write(n,0>q?0:256);if(0<q)k=n,m=q;else{if(0==q)return this.ke=new g.Md(6,n,-1),0;if(0>k||m<Math.abs(q))if(this.ke=new g.Md(7,n,-1),this.ql)return 0;this.JA.write(n,k)}}this.dt=h.da();this.Om=new g.ia(0);this.Om.Jb(10);p=h.I();this.Mo=NaN;h=new g.ia(0); |
|
h.Jb(10);this.Qq=g.ia.qf(p,-1);this.Hw=g.ia.qf(p,-1);null!=this.zj?this.zj.clear(!1):this.zj=new g.ia(0);this.zj.Jb(10);this.fb.clear();this.fb.Vo(new b(this));k=0;for(p*=2;0<this.dt&&k<p;k++)if(m=this.fi.get(k),m=this.gi.get(m),0==(m&1)){m>>=1;n=this.lf.read(2*m+1);if(n!=this.Mo&&0!=h.size){if(!this.ut(h))return 0;null!=h&&h.clear(!1)}h.add(m);this.Mo=n}return 0<this.dt&&!this.ut(h)?0:this.ql?0==this.ke.Jj&&this.JE()?2:0:0==this.ke.Jj?2:1};f.prototype.RI=function(h){if(1==h.size)return!0;for(var k= |
|
0,m=h.size;k<m;k++){var n=h.get(k);this.Zf.Vb(n);var p=this.Zf.li();this.hb.push(this.Su(p,n,this.Zf.gb,!0));this.Zf.ha();p=this.Zf.ha();this.hb.push(this.Su(p,n,this.Zf.gb,!1))}var q=this;this.hb.sort(function(u,w){return q.XP(u,w)});n=this.mh.je;-1==n&&(n=this.mh.Ph(0));this.mh.fn(this.hb.length);k=0;for(m=this.hb.length;k<m;k++)this.mh.addElement(n,k);k=!0;for(var r=m=-1;k;){k=!1;p=this.mh.rc(n);if(-1==p)break;for(var t=this.mh.lb(p);-1!=t;){m=this.mh.getData(p);r=this.mh.getData(t);m=this.hb[m].Io; |
|
r=this.hb[r].Io;if(m==r)if(k=!0,this.mh.jd(n,p),p=this.mh.we(t),t=this.mh.jd(n,t),-1==t||-1==p)break;else continue;p=t;t=this.mh.lb(p)}}k=this.mh.bs(n);this.mh.LE(n);if(0<k)return this.ke=new g.Md(5,m,r),!1;k=0;for(m=h.size;k<m;k++)this.vB(this.hb[k]);this.hb.length=0;return!0};f.prototype.ut=function(h){for(var k=0,m=h.size;k<m;k++){var n=h.get(k),p=this.Qq.read(n);if(-1!=p){var q=this.fb.ja(p);this.zj.add(q);this.fb.vd(p,-1);this.vB(this.hb[q]);this.hb[q]=null;this.Qq.write(n,-1)}p=this.Hw.read(n); |
|
-1!=p&&(q=this.fb.ja(p),this.zj.add(q),this.fb.vd(p,-1),this.vB(this.hb[q]),this.hb[q]=null,this.Hw.write(n,-1))}k=0;for(m=h.size;k<m;k++){n=h.get(k);this.Zf.Vb(n);p=this.Zf.li();if(p.na>p.la){var r=this.Zf.wb(),t=this.Su(p,n,this.Zf.gb,!0);0<this.zj.size?(q=this.zj.Fc(),this.zj.If(),this.hb[q]=t):(q=this.hb.length,this.hb.push(t));p=this.fb.addElement(q,-1);-1==this.Qq.read(r)?this.Qq.write(r,p):this.Hw.write(r,p);0==(this.to.read(this.Zf.gb)&3)&&this.Om.add(p)}this.Zf.ha();p=this.Zf.ha();p.na<p.la&& |
|
(r=this.Zf.ik(),t=this.Su(p,n,this.Zf.gb,!1),0<this.zj.size?(q=this.zj.Fc(),this.zj.If(),this.hb[q]=t):(q=this.hb.length,this.hb.push(t)),p=this.fb.addElement(q,-1),-1==this.Qq.read(r)?this.Qq.write(r,p):this.Hw.write(r,p),0==(this.to.read(this.Zf.gb)&3)&&this.Om.add(p))}k=0;for(m=this.Om.size;k<m&&0<this.dt;k++)if(p=this.Om.get(k),0==(this.to.read(this.hb[this.fb.ja(p)].IA)&3)){h=-1;n=this.fb.we(p);var u=p;t=null;q=-1;for(var w=0;-1!=n;){q=this.fb.ja(n);t=this.hb[q];q=t.IA;w=this.to.read(q);if(0!= |
|
(w&3))break;u=n;n=this.fb.we(n)}-1==n?(r=1,n=u):(h=1==(w&3)?q:this.JA.read(q),r=0!=t.XF()?0:1,n=this.fb.lb(n));do{q=this.fb.ja(n);t=this.hb[q];q=t.IA;u=this.to.read(q);if(0==(u&3)){if(r!=t.XF())return this.ke=new g.Md(6,q,-1),!1;w=0==r||t.Wp()?2:1;u=u&252|w;this.to.write(q,w);if(2==w&&0==this.ke.Jj&&this.JA.read(q)!=h&&(this.ke=new g.Md(7,q,-1),this.ql))return!1;this.dt--;if(0==this.dt)return!0}1==(u&3)&&(h=q);u=n;n=this.fb.lb(n);r=0!=r?0:1}while(u!=p)}null!=this.Om?this.Om.clear(!1):this.Om=new g.ia(0); |
|
return!0};f.prototype.Su=function(h,k,m,n){if(322==h.getType())h=this.sP(h);else throw g.i.Qa();h.Io=k;h.IA=m;h.yq=0;h.nX(n);return h};f.prototype.sP=function(h){if(0<this.po.length){var k=this.po[this.po.length-1];--this.po.length;h.copyTo(k.ne)}else k=new v,k.ne=g.SC.jg(h);return k};f.prototype.vB=function(h){322==h.ne.getType()&&this.po.push(h)};f.prototype.kU=function(){for(var h=this.X.I(),k=new g.ia(0),m=0;m<h;m++)k.add(m);var n=this;k.Vd(0,h,function(p,q){return n.Ou(p,q)});for(m=1;m<h;m++)if(0== |
|
this.Ou(k.get(m-1),k.get(m)))return this.ke=new g.Md(3,k.get(m-1),k.get(m)),0;return 2};f.prototype.JV=function(){return this.GE()?this.DE(!0)?2:0:0};f.prototype.oV=function(){return this.eT()};f.prototype.pU=function(){for(var h=this.X.I(),k=new g.ia(0),m=0;m<h;m++)k.add(m);var n=this;k.Vd(0,h,function(u,w){return n.PO(u,w)});var p=Array(h);g.O.$u(p,!1);p[k.get(0)]=!0;for(m=1;m<h;m++){var q=k.get(m-1),r=k.get(m);0==this.Ou(q,r)?p[r]=!1:p[r]=!0}k=this.X.Ia();q=this.X;r=0;var t=1;for(m=0;m<h;m++)p[m]? |
|
t=m+1:(r<t&&k.Fd(q,r,t),r=m+1);r<t&&k.Fd(q,r,t);k.Ch(2,this.Bo);return k};f.prototype.NV=function(){var h=this.X,k=h.Ga(),m=h.Ga(),n=this.X.Ia(),p=this.X,q=h.hasAttribute(1),r=q?g.ta.wE(this.Qg,h,!0):0,t=new g.ia(0),u=new g.ia(0);t.Jb(g.O.truncate(h.I()/2+1));for(u.Jb(g.O.truncate(h.I()/2+1));k.$a();)if(m.$a(),!(2>h.Ja(k.gb))){m.EW();for(var w,y,x=!0;k.Ha();){var z=k.ha(),A=m.li();if(k.wb()>m.wb())break;x&&(t.add(k.wb()),u.add(m.ik()),x=!1);y=t.Fc();var B=k.ik();if(1<B-y){var C=new g.h;C.uc(h.Na(y), |
|
h.Na(B));w=C.length()}else w=z.Qb();y=u.Fc();B=m.wb();1<B-y?(C=new g.h,C.uc(h.Na(y),h.Na(B)),y=C.length()):y=A.Qb();w>this.Bo?t.add(k.ik()):q&&(w=h.Uc(1,t.Fc(),0),z=z.gv(1,0),Math.abs(z-w)>r&&t.add(k.ik()));y>this.Bo?u.add(m.wb()):q&&(w=h.Uc(1,u.Fc(),0),z=A.gv(1,0),Math.abs(z-w)>r&&u.add(m.wb()))}t.Fc()<u.Fc()?t.size>u.size?t.If():u.If():(t.Fc()!=u.Fc()&&u.If(),u.If());if(2<=u.size+t.size){x=new g.Sa;A=0;for(z=t.size;A<z;A++)p.ve(t.get(A),x),0==A?n.nf(x):n.lineTo(x);for(A=u.size-1;0<A;A--)p.ve(u.get(A), |
|
x),n.lineTo(x);p.dc(k.gb)?n.Ap():0<u.size&&(p.ve(u.get(0),x),n.lineTo(x))}null!=t&&t.clear(!1);null!=u&&u.clear(!1)}n.Ch(2,this.Bo);return n};f.prototype.rV=function(){return this.DX()};f.prototype.DX=function(){if(1736==this.X.getType()&&1==this.X.In())return g.Fg.Mk(this.X,this.Bo,!0,!1,this.nd);this.Hi=new g.gd;this.Hi.Ib(this.X);0!=this.Hi.fd&&(1!=this.xA&&g.Tk.V(this.Hi,this.Bo,this.nd,!0),1736==this.X.getType()&&g.rn.V(this.Hi,this.Hi.ld,this.xA,!1,this.nd));this.X=this.Hi.Ne(this.Hi.ld);1736== |
|
this.X.getType()&&(this.X.fm(),this.X.Yo(0));this.X.Ch(2,this.Bo);return this.X};f.rs=function(h,k,m,n,p){null!=n&&(n.Jj=0,n.Jo=-1,n.Ko=-1);if(h.B())return 1;var q=h.getType();if(33==q)return 1;var r=g.ta.kj(k,h,!1);if(197==q)return k=new g.l,h.A(k),k.Bi(r)?(null!=n&&(n.Jj=2,n.Jo=-1,n.Ko=-1),0):1;if(g.aa.yd(q))return r=new g.Ta(h.description),r.oc(h,!0),f.rs(r,k,m,n,p);var t=h.om(r);m=m?-1:t;if(-1!=m)return m;k=new f(h,k,m,p,!1);if(550==q)m=k.kU();else if(1607==q)m=k.JV();else if(1736==q)m=k.oV(); |
|
else throw g.i.Qa();h.Ch(m,r);null!=n&&0==m&&n.Wt(k.ke);return m};f.cK=function(h,k,m,n){if(h.B())return h;var p=h.getType();if(33==p)return h;var q=g.ta.kj(k,h,!1);if(197==p)return k=new g.l,h.A(k),k.Bi(q)?h.Ia():h;if(g.aa.yd(p))return p=new g.Ta(h.description),p.oc(h,!0),f.cK(p,k,m,n);q=h.om(q);m=m?-1:q;if(2==m)return h;h=new f(h,k,m,n,!1);if(550==p)h=h.pU();else if(1607==p)h=h.NV();else if(1736==p)h=h.rV();else throw g.i.Qa();return h};f.prototype.Mh=function(h,k,m){if(h==k)return 0;h=this.gi.get(h); |
|
var n=this.gi.get(k);k=h>>1;var p=n>>1,q=new g.h,r=new g.h;this.lf.tc(2*k,q);q.y+=0!=(h&1)?this.Oj:-this.Oj;this.lf.tc(2*p,r);r.y+=0!=(n&1)?this.Oj:-this.Oj;h=q.compare(r);return 0==h&&m?(m=this.Fl.get(k)-this.Fl.get(p),0>m?-1:0<m?1:0):h};f.prototype.Ou=function(h,k){if(h==k)return 0;var m=this.X,n=m.Na(h),p=m.Na(k);if(n.x<p.x)return-1;if(n.x>p.x)return 1;if(n.y<p.y)return-1;if(n.y>p.y)return 1;for(n=1;n<this.oT;n++){p=this.nH.kd(n);for(var q=g.ra.Va(p),r=0;r<q;r++){var t=m.Uc(p,h,r),u=m.Uc(p,k,r); |
|
if(t<u)return-1;if(t>u)return 1}}return 0};f.prototype.PO=function(h,k){var m=this.Ou(h,k);return 0==m?h<k?-1:1:m};f.prototype.XP=function(h,k){if(h===k)return 0;var m=h.ne.kg();h.Wp()&&m.Sq();h=k.ne.kg();k.Wp()&&h.Sq();k=m.qu();var n=h.qu();return n==k?(k=m.wi(h),Math.abs(k)<=8.881784197001252E-16*(Math.abs(h.x*m.y)+Math.abs(h.y*m.x))&&(k--,k++),0>k?1:0<k?-1:0):k<n?-1:1};return f}();g.Jx=e})(D||={});(function(g){var v=function(l){function c(){return null!==l&&l.apply(this,arguments)||this}R(c,l); |
|
c.prototype.getType=function(){return 30};c.local=function(){null===c.instance&&(c.instance=new c);return c.instance};c.prototype.V=function(a,b,d,e){return a instanceof g.aa?(a=new g.Zc(a),b=new g.Zc(b),this.V(a,b,d,e).next()):new g.BL(a,b,d,e)};c.ep=function(a,b,d,e){var f=a.Db(),h=b.Db();if(a.B()&&b.B())return f>h?a:b;if(a.B())return b;if(b.B())return a;var k=new g.l,m=new g.l,n=new g.l;a.A(k);b.A(m);n.K(k);n.Zb(m);k=g.ta.Wd(d,n,!0);m=a.getType();n=b.getType();return 33==m&&33==n?c.aV(a,b,k):m!= |
|
n?0<f||0<h?f>h?a:b:550==m?c.iI(a,b,k):c.iI(b,a,k):g.Fg.ep(a,b,d,e)};c.aV=function(a,b,d){d=d*Math.sqrt(2)*1.00001;d*=d;var e=a.D(),f=b.D(),h=new g.de(a.description);g.h.yc(e,f)>d&&(h.add(a),h.add(b));return h};c.iI=function(a,b,d){var e=a.ub(0),f=a.I(),h=b.D(),k=a.Ia();d=d*Math.sqrt(2)*1.00001;var m=new g.l;a.A(m);m.W(d,d);if(m.contains(h)){d*=d;m=!1;for(var n=[],p=0;p<f;p++)n[p]=!1;for(p=0;p<f;p++){var q=e.read(2*p),r=e.read(2*p+1);q-=h.x;r-=h.y;q*q+r*r<=d&&(m=!0,n[p]=!0)}if(m)for(p=0;p<f;p++)n[p]|| |
|
k.Fd(a,p,p+1);else k.Fd(a,0,f),k.add(b)}else k.Fd(a,0,f),k.add(b);return k};c.instance=null;return c}(g.Je);g.Kx=v})(D||={});(function(g){var v=function(){function l(c,a,b,d){this.ts=null==a;this.ya=-1;this.Rd=c;this.vg=b;this.NT=a.next();this.Ub=d}l.prototype.next=function(){if(this.ts)return null;var c;return null!=(c=this.Rd.next())?(this.ya=this.Rd.La(),g.Kx.ep(c,this.NT,this.vg,this.Ub)):null};l.prototype.La=function(){return this.ya};l.prototype.qe=function(){};return l}();g.BL=v})(D||={}); |
|
(function(g){var v=function(){function a(){}a.prototype.Fz=function(){this.$y=null;this.Ax=-1;this.AK=!1};return a}(),l=function(){function a(){this.Gr=0;this.pj=[]}a.prototype.pN=function(b){this.Gr+=b.Ax;this.pj.push(b)};a.prototype.TV=function(){this.Gr-=this.pj[this.pj.length-1].Ax;--this.pj.length};a.prototype.my=function(){return this.pj[this.pj.length-1]};a.prototype.Nb=function(b){return b===this};return a}(),c=function(){function a(b,d,e){this.ya=-1;this.Ic=!1;this.AH=[!1,!1,!1,!1];this.uq= |
|
[0,0,0,0];this.jA=!1;this.zk=-1;this.iq=0;this.bo=-1;this.Do=[];this.Rd=b;this.vg=d;this.Ub=e}a.dE=function(b){var d=[],e=0;for(b=Object.keys(b);e<b.length;e++)d.push(Number(b[e]));d.sort(function(f,h){return f-h});return d};a.prototype.fG=function(b){var d=this.Do[b],e=a.dE(d)[0],f=d[e],h=f.my().$y;f=f.my().AK;delete d[e];f&&(h=g.Yl.local().V(h,this.vg,!1,this.Ub),0==b&&33==h.getType()&&(b=new g.de(h.description),h.B()||b.add(h),h=b));return h};a.prototype.next=function(){if(this.Ic&&this.bo==this.zk)return null; |
|
for(;!this.qK(););if(-1==this.zk)return null;if(this.jA){for(this.bo++;;){if(this.bo>this.zk||0>this.bo)throw g.i.Qa();if(this.AH[this.bo])break}this.ya++;return this.fG(this.bo)}this.ya=0;this.bo=this.zk;return this.fG(this.zk)};a.prototype.La=function(){return this.ya};a.prototype.qK=function(){if(this.Ic)return!0;var b=null;null!=this.Rd&&(b=this.Rd.next(),null==b&&(this.Ic=!0,this.Rd=null));g.mp.zp(this.Ub);if(null!=b){var d=b.Db();this.AH[d]=!0;d>=this.zk&&!this.jA&&(this.ND(d,!1,b),d>this.zk&& |
|
!this.jA&&this.zW(d))}if(0<this.iq)for(d=0;d<=this.zk;d++)for(;1<this.uq[d];)if(b=this.FO(d),0!=b.length)b=g.Fg.VP(b,this.vg,this.Ub),this.ND(d,!0,b);else break;return this.Ic};a.prototype.FO=function(b){for(var d=[],e=[],f=this.Do[b],h=a.dE(f),k=0;k<h.length;k++){var m=h[k],n=f[m];if(this.Ic||1E4<n.Gr&&1<n.pj.length){this.uq[b]-=n.pj.length;for(this.iq-=n.pj.length;0<n.pj.length;)d.push(n.my().$y),n.TV();e.push(m)}}for(k=0;k<e.length;k++)delete f[e[k]];return d};a.prototype.zW=function(b){for(var d= |
|
0;d<b;d++)this.Do[d]=[],this.iq-=this.uq[d],this.uq[d]=0};a.prototype.ND=function(b,d,e){var f=new v;f.Fz();f.$y=e;e=a.eS(e);f.Ax=e;e=a.cS(e);if(b+1>this.Do.length)for(var h=0,k=Math.max(2,b+1);h<k;h++)this.Do.push([]);h=this.Do[b][e];void 0===h&&(h=new l,this.Do[b][e]=h);f.AK=d;h.pN(f);this.uq[b]++;this.iq++;this.zk=Math.max(this.zk,b)};a.cS=function(b){return 0<b?g.O.truncate(Math.log(b)/Math.log(4)+.5):0};a.eS=function(b){var d=b.getType();if(g.aa.xj(d))return b.I();if(33==d)return 1;if(197==d)return 4; |
|
if(g.aa.yd(d))return 2;throw g.i.Qa();};a.prototype.qe=function(){this.qK()};return a}();g.DL=c})(D||={});(function(g){var v=function(l){function c(){return null!==l&&l.apply(this,arguments)||this}R(c,l);c.prototype.getType=function(){return 1};c.prototype.V=function(a,b,d,e){return void 0===e?new g.DL(a,b,d):this.gQ(a,b,d,e)};c.prototype.gQ=function(a,b,d,e){a=new g.Zc([a,b]);return this.V(a,d,e).next()};c.local=function(){null===c.instance&&(c.instance=new c);return c.instance};c.instance=null; |
|
return c}(g.Je);g.Gh=v})(D||={});(function(g){(function(l){l[l.nextPath=0]="nextPath";l[l.nextSegment=1]="nextSegment";l[l.iterate=2]="iterate"})(v||={});var v=function(){function l(c,a,b,d){this.Ts=new g.l;this.GT=c;this.HT=a;this.mq=d;this.uo=-1;this.rl=!1;var e=c.Bb;null!=e&&(e=d?e.zo:e.Fb,null!=e&&(this.Ic=!1,this.qa=b,this.Fb=e,this.xw=this.Fb.getIterator(),this.nq=this.rl=!0,this.Xb=0,d?this.uo=a.da():this.sd=a.Ga()));this.rl||(e=a.Bb,null!=e&&(e=d?e.zo:e.Fb,null!=e&&(this.Ic=!1,this.qa=b,this.Fb= |
|
e,this.xw=this.Fb.getIterator(),this.rl=!0,this.nq=!1,this.Xb=0,d?this.uo=c.da():this.sd=c.Ga())));this.rl||(this.ci=d?g.ta.mR(c,a,b,1<=c.om(0),1<=a.om(0)):g.ta.lR(c,a,b))}l.prototype.next=function(){if(this.rl){if(this.Ic)return!1;for(var c=!0;c;)switch(this.Xb){case 0:c=this.xU();break;case 1:c=this.yU();break;case 2:c=this.Uz();break;default:throw g.i.fa("internal error");}return this.Ic?!1:!0}return null==this.ci?!1:this.ci.next()};l.prototype.nl=function(){return this.rl?this.nq?this.Fb.ja(this.Fs): |
|
this.mq?this.uo:this.sd.wb():this.ci.nl(this.ci.Vf)};l.prototype.hl=function(){return this.rl?this.nq?this.mq?this.uo:this.sd.wb():this.Fb.ja(this.Fs):this.ci.hl(this.ci.Af)};l.prototype.uz=function(){if(!this.mq)throw g.i.fa("internal error");return this.rl?this.nq?this.Fb.GF(this.Fs):this.Ts:this.ci.uz(this.ci.Vf)};l.prototype.az=function(){if(!this.mq)throw g.i.fa("internal error");return this.rl?this.nq?this.Ts:this.Fb.GF(this.Fs):this.ci.az(this.ci.Af)};l.prototype.xU=function(){if(!this.mq){if(!this.sd.$a())return this.Ic= |
|
!0,!1;this.Xb=1;return!0}if(-1==--this.uo)return this.Ic=!0,!1;this.nq?this.HT.Rj(this.uo,this.Ts):this.GT.Rj(this.uo,this.Ts);this.xw.Xi(this.Ts,this.qa);this.Xb=2;return!0};l.prototype.yU=function(){if(!this.sd.Ha())return this.Xb=0,!0;var c=this.sd.ha();this.xw.Uo(c,this.qa);this.Xb=2;return!0};l.prototype.Uz=function(){this.Fs=this.xw.next();return-1==this.Fs?(this.Xb=this.mq?0:1,!0):!1};return l}();g.Zl=v})(D||={});(function(g){g=g.OL||(g.OL={});g[g.enumClosed=1]="enumClosed";g[g.enumHasNonlinearSegments= |
|
2]="enumHasNonlinearSegments";g[g.enumOGCStartPolygon=4]="enumOGCStartPolygon";g[g.enumCalcMask=4]="enumCalcMask"})(D||={});(function(g){g.QC=function(){function v(){}v.tb=function(l,c,a,b,d,e,f,h,k){var m=[0,0,0],n=[0,0,0],p=[0,0,0],q=[0,0,0,0],r=new g.ga(0),t=new g.ga(0),u=new g.ga(0);if(null!=f||null!=h||null!=k)if(g.s.ti(c))g.Yg.tb(l,a,b,d,e,f,h,k);else{d=g.F.ba(d);a=g.F.ba(a);var w=g.F.ba(d-a);if(g.s.Y(b,e)&&(g.s.Y(a,d)||g.s.Y(g.s.P(b),1.570796326794897)))null!=f&&(f.u=0),null!=h&&(h.u=0),null!= |
|
k&&(k.u=0);else{if(g.s.Y(b,-e)){if(g.s.Y(g.s.P(b),1.570796326794897)){null!=f&&(f.u=2*g.F.Ah(l,c));null!=h&&(h.u=0<b?g.F.ba(3.141592653589793-g.F.ba(d)):g.F.ba(d));null!=k&&(k.u=0<b?g.F.ba(d):g.F.ba(3.141592653589793-g.F.ba(d)));return}g.s.Y(g.s.P(w),3.141592653589793)&&(null!=f&&(f.u=2*g.F.Ah(l,c)),null!=h&&(h.u=0),null!=k&&(k.u=0))}else{if(g.s.Y(g.s.P(b),1.570796326794897)||g.s.Y(g.s.P(e),1.570796326794897)){g.Wk.tb(l,c,a,b,d,e,f,h,k);return}if(g.s.Y(a,d)||g.s.Y(g.s.P(w),3.141592653589793)){g.Wk.tb(l, |
|
c,a,b,d,e,f,h,k);return}if(g.s.Cd(b)){g.Wk.tb(l,c,a,b,d,e,f,h,k);return}}var y=Math.sqrt(1-c);d=g.F.ba(d-a);a=0;g.F.cl(1,c,b,a,0,r,t,u);m[0]=r.u;m[1]=t.u;m[2]=u.u;g.F.cl(1,c,e,d,0,r,t,u);n[0]=r.u;n[1]=t.u;n[2]=u.u;p[0]=0;p[1]=0;p[2]=-1*c*g.F.n(1,c,b)*Math.sin(b);0>d?g.F.Wq(p,n,m,q,0):g.F.Wq(p,m,n,q,0);t=[0,0,0];u=[0,0,0];var x=[0,0,0];m=[0,0,0];r=[0,0,0];var z=Math.acos(q[2]/1),A=1-c,B=Math.tan(z),C=1+B*B/A,E=2*p[2]*B/A;B=Math.sqrt(E*E-4*C*(p[2]*p[2]/A-1));C*=2;A=(-E+B)/C;E=(-E-B)/C;B=Math.tan(z); |
|
C=B*A+p[2];z=(A+E)/2;p=(C+(B*E+p[2]))/2;B=g.F.gp(A-z,C-p);A=p/y*1.570796326794897;for(E=0;100>E;E++){C=g.F.w(c,A);C=C*C/Math.cos(A)*(Math.sin(A)-p*C/(1-c));if(g.s.Cd(C))break;A-=C}p=g.F.n(1,c,A)*Math.cos(A);p=Math.sqrt((p-z)*(p+z));B=1-B/p;B*=2-B;C=g.F.on(t);z=g.F.on(u);A=g.F.on(x);var F=g.F.St(x,t);E=g.F.St(x,u);g.F.zx(x,t,m);g.F.zx(x,u,r);t=Math.acos(F/(A*C));u=Math.acos(E/(A*z));u*=g.s.Mb(1,g.F.St(m,r));if(1.570796326794897<=g.s.P(t)&&1.570796326794897<=g.s.P(u)||3.141592653589793<g.s.P(t-u))t= |
|
(3.141592653589793-g.s.P(t))*g.s.Mb(1,t),u=(3.141592653589793-g.s.P(u))*g.s.Mb(1,u);m=g.F.Qj(B,u);r=g.F.q(p,B,g.F.Qj(B,t));m=g.F.q(p,B,m);m=g.s.P(m-r)*l;t=new g.ga(0);u=new g.ga(0);x=q[1]/1;x*=-g.s.Mb(1,w);r=Math.acos(x)*g.s.Mb(1,w);v.rf(l,c,a,b,m,r,t,u);g.s.Y(d,t.u)&&g.s.Y(e,u.u)||(B=g.F.gp(g.F.ba(d-t.u),e-u.u),v.rf(l,c,a,b,m,g.F.ba(r+3.141592653589793),t,u),C=g.F.gp(g.F.ba(d-t.u),e-u.u),C<B&&(r=g.F.ba(r+3.141592653589793)));t=[0,0,0,0];u=[0,0,0,0];p=[0,0,0];B=[0,0,0];l=[0,0,0];a=[0,0,0];b=[0,0, |
|
0];x=[0,0,0];p[0]=0;p[1]=0;p[2]=y;B[0]=0;B[1]=0;B[2]=0;g.F.Wq(B,p,n,t,0);g.s.Cd(e)?(l[0]=n[0],l[1]=n[1],l[2]=1,a[0]=1*Math.cos(d)-1*Math.sin(d),a[1]=1*Math.sin(d)+1*Math.cos(d)):(c=g.F.n(1,c,e)*Math.cos(e),l[0]=0,l[1]=0,n[2]+=Math.tan(1.570796326794897-g.s.P(e))*c*g.s.Mb(1,e),a[0]=c*Math.cos(d)-c*Math.sin(d),a[1]=c*Math.sin(d)+c*Math.cos(d));a[2]=n[2];g.F.Wq(n,a,l,u,1);g.F.zx(u,t,b);g.F.zx(u,q,x);x=g.F.St(b,x)/(g.F.on(b)*g.F.on(x));x*=g.s.Mb(1,w);d=Math.acos(x)*-g.s.Mb(1,w);0<r&&0<d?d=g.F.ba(d+3.141592653589793): |
|
0>r&&0>d&&(d=g.F.ba(d+3.141592653589793));null!=f&&(f.u=m);null!=h&&(h.u=r);null!=k&&(k.u=d)}}};v.rf=function(l,c,a,b,d,e,f,h){var k=[0,0,0],m=[0,0,0],n=[0,0,0],p=[0,0,0],q=[0,0,0],r=[0,0,0],t=[0,0,0],u=[0,0,0,0],w=new g.ga(0),y=new g.ga(0),x=new g.ga(0),z=new g.ga(0),A=new g.ga(0),B=new g.ga(0);if(null!=f&&null!=h)if(g.s.ti(c))g.Yg.rf(l,a,b,d,e,f,h);else if(g.s.Cd(d))null!=f&&(f.u=a),null!=h&&(h.u=b);else if(e=g.F.ba(e),0>d&&(d=g.s.P(d),e=g.F.ba(e+3.141592653589793)),a=g.F.ba(a),b=g.F.ba(b),1.570796326794897< |
|
g.s.P(b)&&(a=g.F.ba(a+3.141592653589793),b=g.s.Mb(3.141592653589793,b)-b),g.s.Y(g.s.P(b),1.570796326794897)||g.s.Cd(b)||g.s.Cd(e)||g.s.Y(g.s.P(e),3.141592653589793))g.Wk.rf(l,c,a,b,d,e,f,h);else{var C=Math.sqrt(1-c);l=d/l;g.F.cl(1,c,b,0,0,z,A,B);k[0]=z.u;k[1]=A.u;k[2]=A.u;t[0]=0;t[1]=0;t[2]=-1*c*g.F.n(1,c,b)*Math.sin(b);z=g.F.n(1,c,b);A=g.F.ba(1.570796326794897-e);B=Math.sin(A);d=Math.cos(b);b=Math.sin(b);q[0]=z*d-b*B;q[1]=Math.cos(A);q[2]=(1-c)*z*b+d*B;0>e?g.F.Wq(t,q,k,u,0):g.F.Wq(t,k,q,u,0);k=Math.acos(u[2]/ |
|
1);u=Math.atan2(-u[1],-u[0]);b=1-c;q=Math.tan(k);A=1+q*q/b;z=2*t[2]*q/b;q=Math.sqrt(z*z-4*A*(t[2]*t[2]/b-1));A*=2;b=(-z+q)/A;z=(-z-q)/A;q=Math.tan(k);A=q*b+t[2];k=(b+z)/2;t=(A+(q*z+t[2]))/2;q=g.F.gp(b-k,A-t);C=t/C*1.570796326794897;for(b=0;100>b;b++){z=g.F.w(c,C);z=z*z/Math.cos(C)*(Math.sin(C)-t*z/(1-c));if(g.s.Cd(z))break;C-=z}C=g.F.n(1,c,C)*Math.cos(C);C=Math.sqrt((C-k)*(C+k));t=1-q/C;t*=2-t;r=Math.acos(g.F.St(r,m)/(g.F.on(r)*g.F.on(m)));r*=g.s.Mb(1,m[0]);e=(g.F.q(C,t,g.F.Qj(t,r))+l*g.s.Mb(1,e))/ |
|
g.F.Ah(C,t);e=g.F.ba(1.570796326794897*e);e=g.F.Rq(t,e);g.F.n(C,t,e);q=g.F.ba(u+a);a=Math.cos(q);e=Math.sin(q);n[0]=p[0]*a+p[1]*-e;n[1]=p[0]*e+p[1]*a;n[2]=p[2];g.F.jO(c,n[0],n[1],n[2],x,y,w);null!=f&&(f.u=y.u);null!=h&&(h.u=x.u)}};return v}()})(D||={});(function(g){var v=function(){function d(e){this.Ya=null;this.wt=new g.h;this.xt=new g.h;this.g=e}d.prototype.compare=function(e,f,h){this.g.Gc(f,this.wt);this.g.Gc(e.ja(h),this.xt);return this.wt.compare(this.xt)};return d}(),l=function(){function d(e){this.Bf= |
|
new g.h;this.Dk=new g.h;this.g=e}d.prototype.Dh=function(e){this.Bf.L(e)};d.prototype.compare=function(e,f){this.g.Gc(e.ja(f),this.Dk);return this.Bf.compare(this.Dk)};return d}(),c=function(d){function e(f){var h=d.call(this,f.g,f.qa,!1)||this;h.ib=f;return h}R(e,d);e.prototype.compare=function(f,h,k){if(this.rg)return-1;var m=this.ib.Qd.Jn(this.ib.Rh(h));f=f.ja(k);var n=this.ib.Qd.Jn(this.ib.Rh(f));this.Dm=k;return this.RE(h,m,f,n)};return e}(g.UC),a=function(d){function e(f){var h=d.call(this, |
|
f.g,f.qa)||this;h.ib=f;return h}R(e,d);e.prototype.compare=function(f,h){if(this.rg)return-1;f=this.ib.Qd.Jn(this.ib.Rh(f.ja(h)));this.Dm=h;return this.SE(h,f)};return e}(g.aM),b=function(){function d(){this.Mc=this.df=this.jo=this.Qd=this.lh=this.zd=this.hb=this.g=null;this.Ng=!1;this.vh=this.Nm=this.ie=this.Gk=this.nh=this.Ak=this.Ff=this.$d=null;this.xh=this.Jq=this.UA=this.qa=0;this.Xv=this.Wn=!1;this.yo=new g.h;this.Pi=new g.h;this.hb=new g.$c(8);this.zd=new g.$c(5);this.lh=new g.au;this.Qd= |
|
new g.au;this.Ng=!1;this.vh=new g.h;this.vh.ma(0,0);this.qa=0;this.xh=-1;this.Wn=!1;this.g=null;this.df=new g.Yj;this.Mc=new g.Yj;this.nh=new g.ia(0);this.Gk=new g.TC;this.Ff=new g.ia(0);this.Ak=new g.ia(0);this.jo=new g.Sa}d.prototype.PX=function(e,f){var h=new g.Dd;h.$B();e.Oc(h);this.er(e);this.Wn=!1;this.qa=f;this.UA=f*f;f=this.jC();e.Oc(h);f||(this.qQ(),f||this.jC());-1!=this.xh&&(this.g.Td(this.xh),this.xh=-1);this.g=null;return this.Wn};d.prototype.TX=function(e,f){this.er(e);this.Wn=!1;this.qa= |
|
f;this.UA=f*f;this.Ng=!1;this.jC();this.Ng||(this.Ng=1==e.Gp(f,!0,!1));-1!=this.xh&&(this.g.Td(this.xh),this.xh=-1);this.g=null};d.prototype.pg=function(e,f){return this.hb.T(e,0+f)};d.prototype.LB=function(e,f,h){this.hb.S(e,0+f,h)};d.prototype.Rh=function(e){return this.hb.T(e,2)};d.prototype.ZW=function(e,f){this.hb.S(e,2,f)};d.prototype.RF=function(e,f){return this.hb.T(e,3+f)};d.prototype.Pp=function(e){return this.hb.T(e,7)};d.prototype.Pl=function(e,f){this.hb.S(e,7,f)};d.prototype.Rp=function(e, |
|
f){return this.hb.T(e,3+this.Op(e,f))};d.prototype.fr=function(e,f,h){this.hb.S(e,3+this.Op(e,f),h)};d.prototype.NR=function(e,f){return this.hb.T(e,5+this.Op(e,f))};d.prototype.hr=function(e,f,h){this.hb.S(e,5+this.Op(e,f),h)};d.prototype.Sr=function(e){return this.zd.T(e,0)};d.prototype.UW=function(e,f){this.zd.S(e,0,f)};d.prototype.ez=function(e){return this.zd.T(e,4)};d.prototype.cr=function(e,f){this.zd.S(e,4,f)};d.prototype.il=function(e){return this.zd.T(e,1)};d.prototype.ln=function(e,f){this.zd.S(e, |
|
1,f)};d.prototype.dz=function(e){return this.zd.T(e,3)};d.prototype.Et=function(e,f){this.zd.S(e,3,f)};d.prototype.Ym=function(e){var f=this.zd.Ce(),h=this.lh.Ph();this.UW(f,h);-1!=e?(this.lh.addElement(h,e),this.g.Ra(e,this.xh,f),this.cr(f,this.g.Ua(e))):this.cr(f,-1);return f};d.prototype.HP=function(e){this.zd.jd(e)};d.prototype.LD=function(e,f){this.lh.addElement(this.Sr(e),f);this.g.Ra(f,this.xh,e)};d.prototype.nt=function(e){var f=this.hb.Ce(),h=this.Qd.Ph();this.ZW(f,h);-1!=e&&this.Qd.addElement(h, |
|
e);return f};d.prototype.MD=function(e,f){this.Qd.addElement(this.Rh(e),f)};d.prototype.Uu=function(e){this.hb.jd(e);e=this.nh.lF(e);0<=e&&this.nh.SV(e)};d.prototype.hj=function(e,f){if(-1==this.pg(e,0))this.LB(e,0,f);else if(-1==this.pg(e,1))this.LB(e,1,f);else throw g.i.Qa();this.ky(e,f)};d.prototype.ky=function(e,f){var h=this.il(f);if(-1!=h){var k=this.Rp(h,f);this.hr(k,f,e);this.fr(e,f,k);this.fr(h,f,e);this.hr(e,f,h)}else this.hr(e,f,e),this.fr(e,f,e),this.ln(f,e)};d.prototype.Op=function(e, |
|
f){return this.pg(e,0)==f?0:1};d.prototype.Xm=function(e,f){var h=this.dz(f);-1!=h&&(this.df.vd(h,-1),this.Et(f,-1));var k;h=this.il(f);if(-1!=h){var m=k=h;do{var n=!1,p=this.Op(k,f),q=this.RF(k,p);if(this.pg(k,p+1&1)==e){this.Xu(k);this.Qd.bh(this.Rh(k));this.Uu(k);if(k==q){h=-1;break}h==k&&(h=this.il(f),m=q,n=!0)}k=q}while(k!=m||n);if(-1!=h){do p=this.Op(k,f),q=this.RF(k,p),this.LB(k,p,e),k=q;while(k!=m);k=this.il(e);-1!=k?(m=this.Rp(k,e),n=this.Rp(h,e),m==k?(this.ln(e,h),this.ky(k,e),this.ln(e, |
|
k)):n==h&&this.ky(h,e),this.fr(h,e,m),this.hr(m,e,h),this.fr(k,e,n),this.hr(n,e,k)):this.ln(e,h)}}h=this.Sr(e);k=this.Sr(f);for(m=this.lh.rc(k);-1!=m;m=this.lh.lb(m))this.g.Ra(this.lh.ja(m),this.xh,e);this.lh.Hy(h,k);this.HP(f)};d.prototype.UT=function(e,f){var h=this.pg(e,0),k=this.pg(e,1),m=this.pg(f,0),n=this.pg(f,1);this.Qd.Hy(this.Rh(e),this.Rh(f));f==this.il(h)&&this.ln(h,e);f==this.il(k)&&this.ln(k,e);this.Xu(f);this.Uu(f);h==m&&k==n||k==m&&h==n||(this.Hn(h,this.yo),this.Hn(m,this.Pi),this.yo.qb(this.Pi)? |
|
(h!=m&&this.Xm(h,m),k!=n&&this.Xm(k,n)):(k!=m&&this.Xm(k,m),h!=n&&this.Xm(h,n)))};d.prototype.Xu=function(e){var f=this.pg(e,1);this.dF(e,this.pg(e,0));this.dF(e,f)};d.prototype.dF=function(e,f){var h=this.Rp(e,f),k=this.NR(e,f),m=this.il(f);h!=e?(this.fr(k,f,h),this.hr(h,f,k),m==e&&this.ln(f,h)):this.ln(f,-1)};d.prototype.WD=function(e,f,h){var k=this.Qd.rc(e),m=this.Qd.ja(k);e=this.Le(m);var n=this.Le(this.g.U(m));this.g.jr(m,f,h,!0);for(k=this.Qd.lb(k);-1!=k;k=this.Qd.lb(k)){m=this.Qd.ja(k);var p= |
|
this.Le(m)==e;this.g.jr(m,f,h,p)}k=f.Vp(h,0).ac();f=f.Vp(h,f.ol(h)-1).wc();this.BK(e,k);this.BK(n,f)};d.prototype.ZE=function(e,f,h){var k=this.Rh(e),m=this.pg(e,0),n=this.pg(e,1),p=this.nt(-1);this.nh.add(p);this.Pl(p,-3);this.Ff.add(p);this.hj(p,m);e=1;for(f=f.ol(h);e<f;e++)h=this.Ym(-1),this.Ak.add(h),this.Ff.add(h),this.hj(p,h),p=this.nt(-1),this.nh.add(p),this.Pl(p,-3),this.Ff.add(p),this.hj(p,h);this.hj(p,n);for(k=this.Qd.rc(k);-1!=k;k=this.Qd.lb(k))if(n=this.Qd.ja(k),this.Le(n)==m){e=0;do 0< |
|
e&&(p=this.Ff.get(e-1),this.LD(p,n),-1==this.ez(p)&&this.cr(p,this.g.Ua(n))),p=this.Ff.get(e),e+=2,this.MD(p,n),n=this.g.U(n);while(e<this.Ff.size)}else{e=this.Ff.size-1;do e<this.Ff.size-2&&(p=this.Ff.get(e+1),this.LD(p,n),0>this.ez(p)&&this.cr(p,this.g.Ua(n))),p=this.Ff.get(e),e-=2,this.MD(p,n),n=this.g.U(n);while(0<=e)}this.Ff.clear(!1)};d.prototype.Le=function(e){return this.g.Pa(e,this.xh)};d.prototype.TI=function(e,f,h){var k=this.pg(f,0),m=new g.h;this.Hn(k,m);var n=new g.h,p=this.pg(f,1); |
|
this.Hn(p,n);var q=h.ol(e),r=h.Vp(e,0),t=new g.h;r.Yp(t);if(!m.qb(t)){if(!this.Ng){var u=m.compare(this.vh);t=t.compare(this.vh);0>u*t&&(this.Ng=!0)}this.vF(k,this.Ff);this.Ak.add(k)}!this.Ng&&1<q&&(u=m.compare(n),r=r.wc(),m.compare(r)!=u||r.compare(n)!=u?this.Ng=!0:0>r.compare(this.vh)&&(this.Ng=!0));r=h.Vp(e,q-1);e=r.wc();n.qb(e)||(this.Ng||(u=n.compare(this.vh),t=e.compare(this.vh),0>u*t&&(this.Ng=!0)),this.vF(p,this.Ff),this.Ak.add(p));this.Ff.add(f);n=0;for(p=this.Ff.size;n<p;n++)e=this.Ff.get(n), |
|
h=this.Pp(e),g.$c.LG(h)&&(this.Mc.vd(h,-1),this.Pl(e,-1)),e!=f&&-3!=this.Pp(e)&&(this.nh.add(e),this.Pl(e,-3));this.Ff.clear(!1)};d.prototype.lO=function(e,f){this.$d.compare(this.Mc,this.Mc.ja(e),f);this.$d.rg&&(this.$d.Kr(),this.oF(e,f))};d.prototype.oF=function(e,f){this.Wn=!0;e=this.Mc.ja(e);f=this.Mc.ja(f);var h=this.Qd.Jn(this.Rh(e)),k=this.Qd.Jn(this.Rh(f)),m=this.g.bc(h);null==m&&(null==this.ie&&(this.ie=new g.yb),this.g.ed(h,this.ie),m=this.ie);h=this.g.bc(k);null==h&&(null==this.Nm&&(this.Nm= |
|
new g.yb),this.g.ed(k,this.Nm),h=this.Nm);this.Gk.Oo(m);this.Gk.Oo(h);this.Gk.Ea(this.qa,!0)&&(this.Ng=!0);this.hK(e,f,-1,this.Gk);this.Gk.clear()};d.prototype.GQ=function(e,f){this.Wn=!0;f=this.Mc.ja(f);var h=this.Qd.Jn(this.Rh(f)),k=this.g.bc(h);null==k&&(null==this.ie&&(this.ie=new g.yb),this.g.ed(h,this.ie),k=this.ie);h=this.BF(e);this.Gk.Oo(k);this.g.Vi(h,this.jo);this.Gk.Kz(this.qa,this.jo,!0);this.hK(f,-1,e,this.Gk);this.Gk.clear()};d.prototype.xS=function(){if(0!=this.nh.size)for(;0!=this.nh.size;){if(this.nh.size> |
|
Math.max(100,this.g.fd)){this.nh.clear(!1);this.Ng=!0;break}var e=this.nh.Fc();this.nh.If();this.Pl(e,-1);-1!=this.WS(e)&&this.wS(e);this.Vn=!1}};d.prototype.wS=function(e){if(this.Vn){var f=this.Mc.zu(this.MH,this.GH,e,!0);this.Vn=!1}else f=this.Mc.KD(e);-1==f?this.UT(this.Mc.ja(this.Mc.FF()),e):(this.Pl(e,f),this.$d.rg&&(this.$d.Kr(),this.oF(this.$d.Dm,f)))};d.prototype.WS=function(e){var f=this.pg(e,0);e=this.pg(e,1);this.Hn(f,this.yo);this.Hn(e,this.Pi);if(g.h.yc(this.yo,this.Pi)<=this.UA)return this.Ng= |
|
!0,-1;var h=this.yo.compare(this.vh),k=this.Pi.compare(this.vh);return 0>=h&&0<k?e:0>=k&&0<h?f:-1};d.prototype.oQ=function(){var e=new g.ia(0);e.Jb(this.g.fd);for(var f=this.g.Yq(),h=f.next();-1!=h;h=f.next())-1!=this.g.Pa(h,this.xh)&&e.add(h);this.g.nx(e,e.size);this.pQ(e)};d.prototype.pQ=function(e){this.df.clear();this.df.De(e.size);this.df.Vo(new v(this.g));var f=new g.h;f.Rc();for(var h=-1,k=new g.h,m=0,n=e.size;m<n;m++){var p=e.get(m);this.g.Gc(p,k);k.qb(f)?(p=this.g.Pa(p,this.xh),this.Xm(h, |
|
p)):(h=this.Le(p),this.g.Gc(p,f),p=this.df.xn(p),this.Et(h,p))}};d.prototype.qQ=function(){var e=new g.ia(0);e.Jb(this.g.fd);for(var f=this.df.rc(-1);-1!=f;f=this.df.lb(f))e.add(this.df.ja(f));this.df.clear();this.g.nx(e,e.size);f=0;for(var h=e.size;f<h;f++){var k=e.get(f),m=this.Le(k);k=this.df.xn(k);this.Et(m,k)}};d.prototype.vF=function(e,f){var h=this.il(e);if(-1!=h){var k=h;do g.$c.LG(this.Pp(k))&&f.add(k),k=this.Rp(k,e);while(k!=h)}};d.prototype.BK=function(e,f){for(e=this.lh.rc(this.Sr(e));-1!= |
|
e;e=this.lh.lb(e))this.g.mf(this.lh.ja(e),f)};d.prototype.hK=function(e,f,h,k){this.Xu(e);-1!=f&&this.Xu(f);this.TI(0,e,k);-1!=f&&this.TI(1,f,k);-1!=h&&(k.Bf.D(this.yo),this.Hn(h,this.Pi),this.Pi.qb(this.yo)||this.Ak.add(h));h=0;for(var m=this.Ak.size;h<m;h++){var n=this.Ak.get(h),p=this.dz(n);-1!=p&&(this.df.vd(p,-1),this.Et(n,-1))}h=this.Rh(e);m=-1!=f?this.Rh(f):-1;this.WD(h,k,0);-1!=f&&this.WD(m,k,1);this.ZE(e,k,0);-1!=f&&this.ZE(f,k,1);this.Qd.bh(h);this.Uu(e);-1!=f&&(this.Qd.bh(m),this.Uu(f)); |
|
h=0;for(m=this.Ak.size;h<m;h++)n=this.Ak.get(h),n==this.Jq&&(this.Xv=!0),p=this.dz(n),-1==p&&(p=this.df.KD(this.BF(n)),-1==p?(e=this.Le(this.df.ja(this.df.FF())),this.Xm(e,n)):this.Et(n,p));this.Ak.clear(!1)};d.prototype.Hn=function(e,f){this.g.dG(this.ez(e),f)};d.prototype.BF=function(e){return this.lh.Jn(this.Sr(e))};d.prototype.jC=function(){this.Xv=!1;this.Jq=-1;null==this.$d&&(this.Mc.Rv=!1,this.$d=new c(this),this.Mc.Zn=this.$d);var e=new g.ia(0),f=null,h=null;this.GH=this.MH=-1;this.Vn=!1; |
|
for(var k=this.df.rc(-1);-1!=k;){this.Vn=!1;var m=this.df.ja(k);this.Jq=this.Le(m);this.g.Gc(m,this.vh);this.$d.$J(this.vh.y,this.vh.x);var n=this.il(this.Jq),p=-1==n;if(!p){m=n;do{var q=this.Pp(m);-1==q?(this.nh.add(m),this.Pl(m,-3)):-3!=q&&e.add(q);m=this.Rp(m,this.Jq)}while(m!=n)}if(0<e.size){this.Vn=1==e.size&&1==this.nh.size;p=0;for(n=e.size;p<n;p++)m=this.Mc.ja(e.get(p)),this.Pl(m,-2);var r=-2,t=-2;p=0;for(n=e.size;p<n;p++){q=e.get(p);if(-2==r){var u=this.Mc.we(q);-1!=u?(m=this.Mc.ja(u),m=this.Pp(m), |
|
-2!=m&&(r=u)):r=-1}-2==t&&(q=this.Mc.lb(q),-1!=q?(m=this.Mc.ja(q),m=this.Pp(m),-2!=m&&(t=q)):t=-1);if(-2!=r&&-2!=t)break}p=0;for(n=e.size;p<n;p++)q=e.get(p),m=this.Mc.ja(q),this.Mc.vd(q,-1),this.Pl(m,-1);e.clear(!1);this.MH=-1!=r?r:-1;this.GH=-1!=t?t:-1;-1!=r&&-1!=t?this.Vn||this.lO(r,t):-1==r&&-1==t&&(this.Vn=!1)}else p&&(null==f&&(f=new a(this)),f.Dh(this.vh),this.Mc.uJ(f),f.rg&&(f.Kr(),this.GQ(this.Jq,f.Dm)));this.xS();this.Xv?(this.Xv=!1,null==h&&(h=new l(this.g)),h.Dh(this.vh),k=this.df.uJ(h)): |
|
k=this.df.lb(k)}return this.Wn};d.prototype.er=function(e){this.g=e;this.xh=this.g.Gd();this.hb.De(e.fd+32);this.zd.De(e.fd);this.lh.At(e.fd);this.lh.fn(e.fd);this.Qd.At(e.fd+32);this.Qd.fn(e.fd+32);for(e=this.g.ld;-1!=e;e=this.g.ue(e))if(g.aa.Hc(this.g.ic(e)))for(q=this.g.Ob(e);-1!=q;q=this.g.Rb(q)){var f=this.g.Ja(q),h=this.g.Xa(q),k=this.Ym(h),m=this.nt(h);this.hj(m,k);r=this.g.U(h);h=0;for(f-=2;h<f;h++){var n=this.g.U(r),p=this.Ym(r);this.hj(m,p);m=this.nt(r);this.hj(m,p);r=n}this.g.dc(q)?(p= |
|
this.Ym(r),this.hj(m,p),m=this.nt(r),this.hj(m,p),this.hj(m,k)):(p=this.Ym(r),this.hj(m,p))}else for(var q=this.g.Ob(e);-1!=q;q=this.g.Rb(q)){var r=this.g.Xa(q);k=0;for(f=this.g.Ja(q);k<f;k++)this.Ym(r),r=this.g.U(r)}this.oQ()};return d}();g.RC=b})(D||={});(function(g){var v=function(l){function c(a,b,d){var e=l.call(this)||this;if(void 0!==a)if(void 0!==d){e.description=g.ee.og();var f=new g.Nd;f.K(a,b,d);e.dC(f)}else if(void 0!==b)e.description=g.ee.og(),e.Cb(a,b);else if(a instanceof g.ra)e.description= |
|
a;else if(a instanceof g.h)e.description=g.ee.og(),e.Cb(a);else if(a instanceof c)e.description=a.description,e.Cb(a.Lg(),a.ih()),null!==a.ka&&(e.ka=a.ka.slice(0));else throw g.i.N();else e.description=g.ee.og();return e}R(c,l);c.prototype.D=function(a){if(void 0!==a){if(this.Ac())throw g.i.fa("This operation should not be performed on an empty geometry.");a.ma(this.ka[0],this.ka[1])}else{if(this.Ac())throw g.i.fa("This operation should not be performed on an empty geometry.");a=new g.h;a.ma(this.ka[0], |
|
this.ka[1]);return a}};c.prototype.Cb=function(a,b){"number"===typeof a?(this.vc(),null==this.ka&&this.un(),this.ka[0]=a,this.ka[1]=b):(this.vc(),this.Cb(a.x,a.y))};c.prototype.Cz=function(){if(this.Ac())throw g.i.fa("This operation should not be performed on an empty geometry.");var a=new g.Nd;a.x=this.ka[0];a.y=this.ka[1];a.z=this.description.iG()?this.ka[2]:g.ra.se(1);return a};c.prototype.dC=function(a){this.vc();var b=this.hasAttribute(1);b||g.ra.DG(1,a.z)||(this.re(1),b=!0);null==this.ka&&this.un(); |
|
this.ka[0]=a.x;this.ka[1]=a.y;b&&(this.ka[2]=a.z)};c.prototype.Lg=function(){if(this.Ac())throw g.i.fa("This operation should not be performed on an empty geometry.");return this.ka[0]};c.prototype.cC=function(a){this.setAttribute(0,0,a)};c.prototype.ih=function(){if(this.Ac())throw g.i.fa("This operation should not be performed on an empty geometry.");return this.ka[1]};c.prototype.aK=function(a){this.setAttribute(0,1,a)};c.prototype.bS=function(){return this.Uc(1,0)};c.prototype.wX=function(a){this.setAttribute(1, |
|
0,a)};c.prototype.zR=function(){return this.Uc(2,0)};c.prototype.hX=function(a){this.setAttribute(2,0,a)};c.prototype.Ec=function(){return this.yF(3,0)};c.prototype.LJ=function(a){this.setAttribute(3,0,a)};c.prototype.Uc=function(a,b){var d=this.description.Pf(a);return 0<=d?this.ka[this.description.$j(d)+b]:g.ra.se(a)};c.prototype.yF=function(a,b){var d=this.description.Pf(a);return 0<=d?this.ka[this.description.$j(d)+b]:g.ra.se(a)};c.prototype.setAttribute=function(a,b,d){this.vc();var e=this.description.Pf(a); |
|
0>e&&(this.re(a),e=this.description.Pf(a));null==this.ka&&this.un();this.ka[this.description.$j(e)+b]=d};c.prototype.getType=function(){return 33};c.prototype.Db=function(){return 0};c.prototype.Oa=function(){this.vc();null!=this.ka&&(this.ka[0]=NaN,this.ka[1]=NaN)};c.prototype.sn=function(a){if(null!=this.ka){for(var b=g.ee.Iw(a,this.description),d=[],e=0,f=0,h=a.Aa;f<h;f++){var k=a.kd(f),m=g.ra.Va(k);if(-1==b[f]){var n=g.ra.se(k);for(k=0;k<m;k++)d[e]=n,e++}else for(n=this.description.$j(b[f]),k= |
|
0;k<m;k++)d[e]=this.ka[n],e++,n++}this.ka=d}this.description=a};c.prototype.un=function(){this.lJ(this.description.Ae.length);c.cE(this.description.Ae,this.ka,this.description.Ae.length);this.ka[0]=NaN;this.ka[1]=NaN};c.prototype.Oc=function(a){if(a instanceof g.Dd){if(!this.Ac()){var b=this.D();a.Eh(b,b);this.Cb(b)}}else this.Ac()||(this.re(1),b=this.Cz(),this.dC(a.fp(b)))};c.prototype.copyTo=function(a){if(33!=a.getType())throw g.i.N();a.vc();null==this.ka?(a.Oa(),a.ka=null,a.Nf(this.description)): |
|
(a.Nf(this.description),a.lJ(this.description.Ae.length),c.cE(this.ka,a.ka,this.description.Ae.length))};c.prototype.Ia=function(){return new c(this.description)};c.prototype.B=function(){return this.Ac()};c.prototype.Ac=function(){return null==this.ka||isNaN(this.ka[0])||isNaN(this.ka[1])};c.prototype.bn=function(a){a.Oa();this.description!=a.description&&a.Nf(this.description);a.Zb(this)};c.prototype.A=function(a){this.Ac()?a.Oa():(a.v=this.ka[0],a.G=this.ka[1],a.C=this.ka[0],a.H=this.ka[1])};c.prototype.Qo= |
|
function(a){if(this.Ac())a.Oa();else{var b=this.Cz();a.v=b.x;a.G=b.y;a.Ye=b.z;a.C=b.x;a.H=b.y;a.Bg=b.z}};c.prototype.Tg=function(a,b){var d=new g.Nc;if(this.Ac())return d.Oa(),d;a=this.Uc(a,b);d.oa=a;d.va=a;return d};c.prototype.lJ=function(a){if(null==this.ka)this.ka=g.O.lg(a);else if(this.ka.length<a){for(var b=this.ka.slice(0),d=this.ka.length;d<a;d++)b[d]=0;this.ka=b}};c.cE=function(a,b,d){if(0<d)for(d=0;d<a.length;d++)b[d]=a[d]};c.prototype.Nb=function(a){if(a==this)return!0;if(!(a instanceof |
|
c)||this.description!=a.description)return!1;if(this.Ac())return a.Ac()?!0:!1;for(var b=0,d=this.description.Ae.length;b<d;b++)if(this.ka[b]!=a.ka[b])return!1;return!0};c.prototype.cc=function(){var a=this.description.cc();if(!this.Ac())for(var b=0,d=this.description.Ae.length;b<d;b++){var e=this.ka[b];e=g.O.truncate(e^e>>>32);a=g.O.Th(e,a)}return a};c.prototype.mg=function(){return null};return c}(g.aa);g.Sa=v})(D||={});(function(g){var v=function(){function l(c,a,b){void 0!==c&&(this.x=c,this.y= |
|
a,this.z=b)}l.construct=function(c,a,b){var d=new l;d.x=c;d.y=a;d.z=b;return d};l.prototype.K=function(c,a,b){this.x=c;this.y=a;this.z=b};l.prototype.lx=function(){this.z=this.y=this.x=0};l.prototype.normalize=function(){var c=this.length();0==c&&(this.x/=c,this.y/=c,this.z/=c)};l.prototype.length=function(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)};l.prototype.sub=function(c){return new l(this.x-c.x,this.y-c.y,this.z-c.z)};l.prototype.Ag=function(c){new l(this.x*c,this.y*c,this.z* |
|
c)};l.prototype.Qh=function(c){return this.x*c.x+this.y*c.y+this.z*c.z};return l}();g.Nd=v})(D||={});(function(g){var v=function(){function l(c,a,b){this.Gw=this.DA=null;this.Xf=a;this.FT=a.y-b;this.ET=a.y+b;this.Ew=0;this.dA=c;this.qa=b;this.RT=b*b;this.eA=0!=b;this.Lv=!1}l.prototype.result=function(){return 0!=this.Ew?1:0};l.prototype.ZM=function(c){c=c.hc(c.fe(this.Xf,!1));return g.h.yc(c,this.Xf)<=this.RT?!0:!1};l.prototype.fF=function(c){if(!this.eA&&(this.dA&&this.Xf.qb(c.ac())||this.Xf.qb(c.wc())))this.Lv= |
|
!0;else if(c.na==this.Xf.y&&c.na==c.la){if(this.dA&&!this.eA){var a=Math.max(c.sa,c.pa);this.Xf.x>Math.min(c.sa,c.pa)&&this.Xf.x<a&&(this.Lv=!0)}}else{var b=!1;a=Math.max(c.sa,c.pa);this.Xf.x>a?b=!0:this.Xf.x>=Math.min(c.sa,c.pa)&&(b=0<c.cq(!0,this.Xf.y,this.Gw,null)&&this.Gw[0]<=this.Xf.x);if(b){if(this.Xf.y==c.ac().y){if(this.Xf.y<c.wc().y)return}else if(this.Xf.y==c.wc().y&&this.Xf.y<c.ac().y)return;this.Ew=this.dA?this.Ew^1:this.Ew+(c.ac().y>c.wc().y?1:-1)}}};l.prototype.SI=function(c){var a= |
|
c.Tg(0,1);if(a.oa>this.ET||a.va<this.FT)return!1;if(this.eA&&this.ZM(c))return!0;if(a.oa>this.Xf.y||a.va<this.Xf.y)return!1;null==this.DA&&(this.DA=[null,null,null,null,null]);null==this.Gw&&(this.Gw=[0,0,0]);a=c.eG();if(0<a)for(c=0;c<a;c++){var b=this.DA[c].get();this.fF(b);if(this.Lv)return!0}else if(this.fF(c),this.Lv)return!0;return!1};l.PM=function(c,a,b){a=new l(0==c.In(),a,b);for(c=c.Ga();c.$a();)for(;c.Ha();)if(b=c.ha(),a.SI(b))return-1;return a.result()};l.QM=function(c,a,b,d){var e=new g.l; |
|
c.xc(e);e.W(d,d);var f=new l(0==c.In(),b,d);c=c.Ga();var h=new g.l;h.K(e);h.C=b.x+d;h.G=b.y-d;h.H=b.y+d;b=a.MF(h,d);for(d=b.next();-1!=d;d=b.next())if(c.Vb(a.ja(d)),c.Ha()&&(d=c.ha(),f.SI(d)))return-1;return f.result()};l.wm=function(c,a,b){if(c.B())return 0;var d=new g.l;c.xc(d);d.W(b,b);if(!d.contains(a))return 0;d=c.Bb;if(null!=d){var e=d.Fk;if(null!=e){e=e.So(a.x,a.y);if(1==e)return 1;if(0==e)return 0}d=d.Fb;if(null!=d)return l.QM(c,d,a,b)}return l.PM(c,a,b)};l.bT=function(c,a,b){return a.B()? |
|
0:l.wm(c,a.D(),b)};l.Ml=function(c,a){c=c.I();return 16>c?!1:2*c+Math.log(c)/Math.log(2)*a<1*c*a};return l}();g.Dg=v})(D||={});(function(g){var v=function(l){function c(a){return l.call(this,!0,a)||this}R(c,l);c.prototype.Ia=function(){return new c(this.description)};c.prototype.Db=function(){return 2};c.prototype.getType=function(){return 1736};c.prototype.xG=function(a,b,d){this.JS(a,b,d)};c.prototype.qR=function(){this.FR()};return c}(g.Vk);g.Da=v})(D||={});(function(g){(function(v){v[v.PiPOutside= |
|
0]="PiPOutside";v[v.PiPInside=1]="PiPInside";v[v.PiPBoundary=2]="PiPBoundary"})(g.RL||(g.RL={}));g.hd=function(){function v(){}v.KG=function(l,c,a){l=g.Dg.bT(l,c,a);return 0==l?0:1==l?1:2};v.Yd=function(l,c,a){l=g.Dg.wm(l,c,a);return 0==l?0:1==l?1:2};v.WX=function(l,c,a,b,d){if(c.length<a||d.length<a)throw g.i.N();for(var e=0;e<a;e++)d[e]=v.Yd(l,c[e],b)};v.sK=function(l,c,a,b,d){if(1736==l.getType())v.WX(l,c,a,b,d);else if(197==l.getType()){var e=new g.l;l.A(e);v.$M(e,c,a,b,d)}else throw g.i.fa("invalid_call"); |
|
};v.$M=function(l,c,a,b,d){if(c.length<a||d.length<a)throw g.i.N();if(l.B())for(b=0;b<a;b++)d[b]=0;else for(l.W(.5*-b,.5*-b),l.W(.5*b,.5*b),b=0;b<a;b++)l.contains(c[b])?d[b]=1:l.contains(c[b])?d[b]=2:d[b]=0};v.YX=function(l,c,a,b,d){for(var e=0;e<a;e++)d[e]=l.qs(c[e],b)?2:0};v.XX=function(l,c,a,b,d){var e=l.Bb,f=null;null!=e&&(f=e.Fk);e=a;for(var h=0;h<a;h++)if(d[h]=1,null!=f){var k=c[h];0==f.So(k.x,k.y)&&(d[h]=0,e--)}if(0!=e)for(l=l.Ga();l.$a()&&0!=e;)for(;l.Ha()&&0!=e;)for(f=l.ha(),h=0;h<a&&0!= |
|
e;h++)1==d[h]&&f.qs(c[h],b)&&(d[h]=2,e--);for(h=0;h<a;h++)1==d[h]&&(d[h]=0)};v.tK=function(l,c,a,b,d){var e=l.getType();if(1607==e)v.XX(l,c,a,b,d);else if(g.aa.yd(e))v.YX(l,c,a,b,d);else throw g.i.fa("Invalid call.");};return v}()})(D||={});(function(g){var v=function(l){function c(a,b){if(2==arguments.length){var d=l.call(this,!1,a.description)||this;d.nf(a);d.lineTo(b)}else d=l.call(this,!1,a)||this;return d}R(c,l);c.prototype.Ia=function(){return new c(this.description)};c.prototype.Db=function(){return 1}; |
|
c.prototype.getType=function(){return 1607};c.prototype.xG=function(a,b,d){this.KS(a,b,d)};return c}(g.Vk);g.Ta=v})(D||={});(function(g){var v=function(){function l(){}l.prototype.progress=function(){return!0};l.zp=function(c){if(null!=c&&!c.progress(-1,-1))throw g.i.WC();};return l}();g.mp=v})(D||={});(function(g){(function(a){a[a.clipWithInputHorizon=1]="clipWithInputHorizon";a[a.clipWithOutputHorizon=2]="clipWithOutputHorizon"})(g.PK||(g.PK={}));var v=function(){function a(){this.Kg=3;this.Vu= |
|
this.Jr=NaN}a.prototype.PW=function(b){this.QB(1,b)};a.prototype.QW=function(b){this.QB(2,b)};a.prototype.hS=function(){return this.hs(1)};a.prototype.iS=function(){return this.hs(2)};a.prototype.QB=function(b,d){this.Kg=d?this.Kg|b:this.Kg&~b};a.prototype.hs=function(b){return 0!=(this.Kg&b)};a.prototype.Of=function(){var b=new a;b.Jr=this.Jr;b.Vu=this.Vu;b.Kg=this.Kg;return b};return a}();g.yC=v;(function(a){a[a.Dont_Geonomalize_Polygon=2147483648]="Dont_Geonomalize_Polygon";a[a.Dont_Adjust_At_Poles= |
|
1073741824]="Dont_Adjust_At_Poles"})(g.QK||(g.QK={}));var l=function(){function a(){this.Kg=0}a.prototype.QB=function(b,d){this.Kg=d?this.Kg|b:this.Kg&~b};a.prototype.hs=function(b){return 0!=(this.Kg&b)};a.jg=function(b){var d=new a;d.Kg=b.Kg;return d};a.prototype.mM=function(b){this.Kg=b.Kg};return a}();g.AY=l;var c=function(){function a(b,d,e){this.ef=b;this.Yf=d;this.Uf=new g.l;this.Uf.K(e);this.AT=b.cc()+d.cc()+this.Uf.cc().toString()}a.prototype.cc=function(){return this.AT};a.prototype.Nb= |
|
function(b){return this==b||this.ef.Nb(b.ef)&&this.Yf.Nb(b.Yf)&&this.Uf.Nb(b.Uf)};return a}();g.FY=c;c=function(){function a(){this.Yf=this.ef=null;this.rH=new v;this.sH=new l;this.ww=this.Wf=null;this.mw=this.Tn=!0}a.Nr=function(b,d,e,f){var h;void 0===f&&(f=null);void 0===h&&(h=null);var k=new a;k.qp(b,d,e,f,h);return k};a.prototype.qp=function(b,d,e,f,h){if(null==b||null==d)throw g.i.fa("invalidArgument");this.ef=b;this.Yf=d;this.mw=this.Tn=!1;null!=f&&(this.rH=f.Of());null!=h&&this.sH.mM(h);h= |
|
!1;1==d.Sb()&&null!=f&&(f=f.Jr,isNaN(f)||0==f||(h=!0));if(b==d)this.Tn=!h,this.mw=!0;else{f=b.Sb();var k=d.Sb();if(0==f||0==k){if(null!=e)throw g.i.N();null!=b.Hd()&&null!=d.Hd()&&(this.Tn=b.Hd().Nb(d.Hd()))}else 3==f||3==k?this.Tn=b.Nb(d):this.ef.kS(this.Yf)?this.Tn=!h:this.Tn=!1,this.Wf=e,null!=this.Wf&&this.Wf.ix(),this.mw=(null==this.Wf||0==this.Wf.count())&&this.ef.sc().Nb(this.Yf.sc())}this.oY()};a.prototype.isIdentity=function(){return this.Tn};a.prototype.nR=function(){return this.rH.Of()}; |
|
a.prototype.Nb=function(b){return b==this?!0:b instanceof a&&this.ef.Nb(b.ef)&&this.Yf.Nb(b.Yf)?this.Wf==b.Wf?!0:null!=this.Wf&&null!=b.Wf&&this.Wf.Nb(b.Wf)?!0:!1:!1};a.prototype.oY=function(){this.ww=new g.bu(this)};return a}();g.vr=c})(D||={});(function(g){var v=function(){function l(){}l.Cp=function(c){return c*l.oW};l.mx=function(c,a){return l.gP(a-c)};l.hP=function(c){if(-360<=c&&720>c)return 0>c?c+=360:360<=c&&(c-=360),c;c=g.lc.RK(c);0>c&&(c+=360);return c};l.gP=function(c){c=l.hP(c);180<c&& |
|
(c-=360);return c};l.oW=57.29577951308232;return l}();g.qr=v;g.Hh=function(){function l(){}l.lj=function(c,a){var b=new g.l;c.A(b);var d=g.cb.gh(a),e=new g.l;e.K(d);e.v=b.v;e.C=b.C;e.W(.01*e.ca(),0);a=g.ta.Wd(a,b,!1);return e.contains(b)?c:g.Ud.clip(c,e,a,0)};l.ks=function(c,a,b,d,e){if(!g.cb.Wc(a))throw g.i.N();var f=g.ta.kj(a,c,!1),h=g.cb.gh(a),k=g.cb.sc(a),m=k.Hd().ai,n=g.cb.vv(k);k=g.cb.ev(k);n*=2-n;var p=new g.Nc;h.cn(p);var q=[[0,0],[0,0]];2==g.Eg.Sb(a)?d?(q[0][0]=l.Zm(e,p),q[0][1]=h.Jp(),g.cb.vt(), |
|
h=q[0][0]*m):(q[0][0]=h.gk(),q[0][1]=e,g.cb.vt(),h=q[0][1]*m):h=e*m;if(!d&&0!=h)throw g.i.N();var r=new g.ga,t=new g.gd;c=t.Ib(c);for(var u=[0],w=new g.h,y=new g.h,x=new g.h,z=new g.h,A=new g.h,B=new g.h,C=t.Ob(c);-1!=C;C=t.Rb(C)){var E=t.Xa(C);t.D(E,x);for(var F=!1,H=E=t.U(E);-1!=H;H=t.U(H)){if(H==E){if(F)break;F=!0}t.D(H,z);if(d&&f<e-x.x&&z.x-e>f||f<e-z.x&&x.x-e>f||!d&&f<-x.y&&z.y>f||f<-z.y&&x.y>f){do if(!(Math.abs(x.x-z.x)>=.5*p.R())){2==g.Eg.Sb(a)?(q[0][0]=l.Zm(x.x,p),q[0][1]=x.y,q[1][0]=l.Zm(z.x, |
|
p),q[1][1]=z.y,g.cb.dW(),A.x=q[0][0]*m,A.y=q[0][1]*m,B.x=q[1][0]*m,B.y=q[1][1]*m):(A.x=x.x*m,A.y=x.y*m,B.x=z.x*m,B.y=z.y*m);B.x=6.283185307179586*(z.x-x.x)/p.R()+A.x;if(d){if(y.x=h,y.y=l.Nz(k,n,A,B,h,b),isNaN(y.y))break}else{y.x=l.Lz(k,n,A,B,b);if(isNaN(y.x))break;y.y=0}g.kb.wd(k,n,A.x,A.y,B.x,B.y,r,null,null,b);var G=r.u;g.kb.wd(k,n,A.x,A.y,y.x,y.y,r,null,null,b);var J=r.u;2==g.Eg.Sb(a)?(q[0][0]=y.x/m,q[0][1]=y.y/m,g.cb.bR(),d?(w.y=q[0][1],w.x=e):(w.x=l.os(q[0][0],x.x,z.x,p),w.y=e)):d?(w.x=e,w.y= |
|
y.y/m):(w.x=l.os(y.x/m,x.x,z.x,p),w.y=e);u[0]=0<G?g.O.Rk(J/G,0,1):.5;0!=u[0]&&1!=u[0]&&(G=t.Ma(H),t.Ul(G,u,1),t.Cb(t.U(G),w.x,w.y))}while(0)}x.L(z)}}return t.Ne(c)};l.Fn=function(c,a,b,d,e){if(c.B())return c;var f=g.cb.bf(a);return l.Hp(c,b-180*f,360*f,a,d,e,!0)};l.Nz=function(c,a,b,d,e,f){if(3.141592653589793<=Math.abs(b.x-d.x)||!l.Sn(b.x,d.x,e))return NaN;if(b.x>d.x)var h=d;else h=b,b=d;d=new g.ga(0);var k=new g.ga(0),m=new g.ga(0);g.kb.wd(c,a,h.x,h.y,b.x,b.y,k,d,null,f);var n=k.u,p=0,q=1,r=new g.h; |
|
for(r.L(h);n*(q-p)>1E-12*c;){var t=.5*(p+q);g.kb.oj(c,a,h.x,h.y,n*t,d.u,k,m,f);r.x=k.u;r.y=m.u;if(r.x==e)break;if(l.Sn(h.x,r.x,e))q=t;else if(l.Sn(b.x,r.x,e))p=t;else return NaN}return r.y};l.Sn=function(c,a,b){c=v.Cp(c);a=v.mx(c,v.Cp(a));b=v.mx(c,v.Cp(b));return 0==b||0<a&&0<b&&b<=a||0>a&&0>b&&b>=a?!0:!1};l.Zm=function(c,a){var b=a.va-a.oa;return a.It(c-Math.floor((c-a.oa)/b)*b)};l.os=function(c,a,b,d){var e=new g.Nc;e.K(a,b);b=d.R();c=Math.floor((c-a)/b)*b+c;for(e=e.sf();Math.abs(c-e)>Math.abs(c+ |
|
b-e);)c+=b;return c};l.Lz=function(c,a,b,d,e){if(b.y>d.y)var f=d;else f=b,b=d;d=new g.Nc;d.K(f.y,b.y);if(!d.contains(0)||3.141592653589793<=Math.abs(f.x-b.x))return NaN;if(f.x==b.x)return f.x;var h=new g.ga(0),k=new g.ga(0),m=new g.ga(0);g.kb.wd(c,a,f.x,f.y,b.x,b.y,k,h,null,e);var n=k.u,p=0,q=1,r=new g.h;for(r.L(f);n*(q-p)>1E-12*c;){var t=.5*(p+q);g.kb.oj(c,a,f.x,f.y,n*t,h.u,k,m,e);r.x=k.u;r.y=m.u;d.K(f.y,r.y);if(0==r.y)break;if(d.contains(0))q=t;else if(d.K(b.y,r.y),d.contains(0))p=t;else return NaN}return r.x}; |
|
l.Hp=function(c,a,b,d,e,f,h){var k=new g.l;c.A(k);if(k.B())return c;var m=new g.Nc;k.cn(m);var n=new g.Nc;n.K(a,a+b);if(n.contains(m)&&n.va!=m.va)return c;var p=new g.l;p.K(k);var q=c.getType();if(33==q){p=e?c:c.Of();k=p.Lg();if(k<n.oa||k>=n.va||h&&k==n.va)k+=Math.ceil((n.oa-k)/b)*b,k=n.It(k),p.cC(k);return p}if(550==q){p=e?c:c.Of();d=p.ub(0);q=2*p.I();c=!1;for(e=0;e<q;e+=2)if(k=d.read(e),k<n.oa||k>=n.va||h&&k==n.va)c=!0,k+=Math.ceil((n.oa-k)/b)*b,k=n.It(k),d.write(e,k);c&&p.Pc(1993);return p}if(n.contains(m))return c; |
|
if(197==q)return b=e?c:c.Of(),k.Ea(p),b.Xo(k),b;var r=.1*Math.max(k.ca(),k.R());p.W(0,r);h=c;n=d.Xd(0);c=g.Gh.local();e=new g.Dd;for(var t=0;;){var u=Math.floor((m.oa-a)/b),w=Math.ceil((m.va-a)/b);if(3<w-u){u=Math.floor(.5*(w+u));p.v=k.v-r;p.C=a+b*u;var y=g.Ud.clip(h,p,n,f);p.v=p.C;p.C=k.C+r;var x=g.Ud.clip(h,p,n,f);e.gg((u-w)*b,0);x.Oc(e);1736==q?h=c.V(y,x,d,null):(h=y,h.add(x,!1));h.A(k);k.cn(m);t++}else break}p.v=a;p.C=a+b;a=new g.l;a.K(p);a.W(n,0);a=Math.floor((k.v-p.v)/b)*b;0!=a?(p.move(a,0), |
|
e.gg(-a,0)):e.RB();a=1607==q?new g.Ta(h.description):new g.Da(h.description);f=new g.l;for(m=new g.l;k.C>p.v;){r=g.Ud.clip(h,p,n,0);r.A(m);if(1607==q?!r.B()&&(m.R()>n||m.ca()>n):!r.B()&&(1736!=q||m.R()>n))r.Oc(e),r.A(m),a.A(f),f.W(n,n),f.isIntersecting(m)&&1736==q?a=c.V(a,r,d,null):a.add(r,!1);p.move(b,0);e.shift(-b,0)}return a};l.WI=function(c,a,b,d){var e=new g.de(b.description);e.Fd(b,0,-1);e=g.cb.zh(e,c,a);var f=b.I();d.Oa();if(!g.cb.Wc(c)||f!=e.I())return!1;var h=new g.l;b.A(h);var k=new g.l; |
|
e.A(k);h=h.R();k=k.R();if(0!=h&&0!=k){if(k/=h,c=g.cb.gh(a).R()/g.cb.gh(c).R(),1E-10<Math.abs(k/c-1))return!1}else if(0!=h||0!=k)return!1;d.add(b,!1);for(b=0;b<f;b++)c=e.Na(b),d.Cb(b,c);return!0};l.Oz=function(){throw g.i.Ie();};return l}()})(D||={});(function(g){var v;(function(c){c[c.Clip=0]="Clip";c[c.DontClip=1]="DontClip";c[c.PannableFold=2]="PannableFold"})(v=g.si||(g.si={}));var l;(function(c){c[c.Geodesic=0]="Geodesic";c[c.Loxodrome=1]="Loxodrome";c[c.GreatElliptic=2]="GreatElliptic";c[c.NormalSection= |
|
3]="NormalSection";c[c.ShapePreserving=4]="ShapePreserving"})(l=g.WK||(g.WK={}));g.zb=function(){function c(){}c.xv=function(a,b,d){if(d||0<b){a=a.toString(g.Sc.PE_STR_NAME_CANON|g.Sc.PE_STR_AUTH_NONE);b=[];for(d=0;d<a.length;d++)b[d]="a"<=a[d]&&"z">=a[d]?b[d]=a[d].toUpperCase():a[d];return b.join()}return a.toString(g.Sc.PE_STR_AUTH_TOP)};c.ur=function(a,b,d,e){var f=e.length,h=d.I();if(0!=h){var k=d.ub(0),m=Math.min(h,f),n=0,p=a.eh();isNaN(b)&&(b=0);var q=a.Wc();a=q?a.sc().Oe().R():0;for(var r= |
|
179*a/360;0<h;){k.uB(n<<1,m,e);g.ej.projToGeogCenter(p,m,e,b);if(q)for(var t=0;t<m;t++){var u=e[t][0]-b,w=g.lc.sign(u),y=k.read(2*(n+t));0>w*g.lc.sign(y)&&Math.abs(u)>r&&(e[t][0]+=-w*a)}k.uC(n<<1,m,e);n+=m;h-=m;m=Math.min(h,f)}d.Pc(1993)}};c.IL=function(a,b,d,e){var f=0,h=a.eh();isNaN(f)&&(f=0);var k=a.Wc(),m=a.bf();a=360*m;m*=179;for(var n=e.length,p=0;p<d;){for(var q=p;q<d&&b[q].isNaN();++q)p++;var r=Math.min(n,d-p);if(0<r){q=1;for(var t=p+1;q<r;++q,++t)if(b[t].isNaN()){r=q;break}g.ta.Jy(e,b,p, |
|
r);g.ej.projToGeogCenter(h,r,e,f);if(k)for(q=0,t=p;q<r;++q,++t){var u=b[t].x,w=e[q][0]-f,y=g.lc.sign(w);0>y*g.lc.sign(u)&&Math.abs(w)>m&&(e[q][0]-=y*a)}g.ta.Iy(b,p,e,r);p+=r}}};c.Lx=function(a,b,d){var e=d.length,f=b.I();if(!(1>f)){var h=b.ub(0),k=Math.min(f,e),m=0,n=a.eh(),p=a.Wc(),q=p?a.Oe().R():0,r=179*q/360,t=0;for(p&&(t=a.zi());0<f;){h.uB(m<<1,k,d);g.ej.geogToProj(n,k,d);if(p)for(a=0;a<k;a++){var u=d[a][0],w=g.lc.sign(u),y=h.read(2*(m+a))-t;0>w*g.lc.sign(y)&&Math.abs(u)>r&&(d[a][0]+=-w*q)}h.uC(m<< |
|
1,k,d);m+=k;f-=k;k=Math.min(f,e)}b.Pc(1993)}};c.HL=function(a,b,d,e){if(0!=d){var f=a.eh(),h=a.Wc(),k=h?a.Oe().R():0,m=179*k/360,n=0;h&&(n=a.zi());for(a=0;a<d;){for(var p=a;p<d&&b[p].isNaN();++p)a++;var q=Math.min(e.length,d-a);if(0<q){p=1;for(var r=a+1;p<q;++p,++r)if(b[r].isNaN()){q=p;break}g.ta.Jy(e,b,a,q);g.ej.geogToProj(f,q,e);if(h)for(p=0,r=a;p<q;p++){var t=e[p][0],u=g.lc.sign(t);0>u*g.lc.sign(b[r].x-n)&&Math.abs(t)>m&&(e[p][0]-=u*k)}g.ta.Iy(b,a,e,q);a+=q}}}};c.tr=function(a,b,d,e){var f=b.I(); |
|
if(0!=f){var h=b.ub(0),k=a.ef,m=a.Yf,n=k.sc().Qp(),p=m.sc().Qp(),q=k.bf(),r=m.bf();a=a.Wf;if(null==a||0==a.count()){d=n/p;e=(k.Up()-m.Up())*r;p=-90*q;a=90*q;n=!1;r=1;for(k=2*f;r<k;)q=h.get(r),m=g.O.Rk(q,p,a),m!=q&&(h.set(r,m),n=!0),r+=2;if(0!=e||1!=d)for(n=!0,p=new g.h,r=0;r<f;r++)h.tc(2*r,p),p.x*=d,p.x+=e,p.y*=d,h.Tt(2*r,p);n&&b.Pc(1993)}else{k=e.length;m=Math.min(f,k);var t=g.O.lg(m),u=null,w=0,y=NaN,x=NaN,z=360*r,A=r/q;d&&(x=90*r,y=89.9*q,u=g.O.lg(m));for(var B=!0,C=0;0!=f;){q=!1;h.uB(w<<1,m,e); |
|
for(r=0;r<m;r++)t[r]=e[r][0];if(d)for(r=0;r<m;r++){var E=Math.abs(e[r][1])-y;0<E&&(q=e[r][1],e[r][1]=g.lc.Cn(y,q),u[r]=g.lc.Cn(E,q),q=!0)}r=e[0][0];a.transform(e,m,n,p);B&&(C=e[0][0]-A*r,B=!1);for(r=0;r<m;r++)E=e[r][0]-t[r]*A-C,200<Math.abs(E)&&(e[r][0]=0<E?e[r][0]-z:e[r][0]+z);if(q){for(r=0;r<m;r++)0!=u[r]&&(e[r][1]+=A*u[r],e[r][1]>x?e[r][1]=x:e[r][1]<-x&&(e[r][1]=-x));for(q=0;q<m;q++)u[q]=0}h.uC(w<<1,m,e);w+=m;f-=m;m=Math.min(f,k)}b.Pc(1993)}}};c.GL=function(a,b,d,e){if(a.mw)e=90*a.ef.bf(),g.ta.dK(b, |
|
d,-e,e);else{var f=a.Wf,h=a.ef,k=a.Yf;a=h.Xr();var m=k.Xr(),n=h.bf(),p=90*n,q=k.bf();if(null==f||0==f.count()){if(e=a/m,f=(h.Up()-k.Up())*q,g.ta.dK(b,d,-p,p),0!=f||1!=e)for(q=0;q<d;q++)b[q].x*=e,b[q].x+=f,b[q].y*=e}else{h=Math.min(d,e.length);p=g.O.lg(h);k=360*q;n=q/n;for(var r=!0,t=0,u=0;0!=d;){for(q=0;q<h;q++)p[q]=b[q+u].x;q=b[0].x;g.ta.Jy(e,b,u,h);f.transform(e,h,a,m);g.ta.Iy(b,u,e,h);r&&(t=b[0].x-n*q,r=!1);for(q=0;q<h;q++){var w=b[u+q].x-p[q]*n-t;200<Math.abs(w)&&(b[u+q].x=0<w?b[u+q].x-k:b[u+ |
|
q].x+k)}u+=h;d-=h;h=Math.min(d,e.length)}}}};c.dv=function(a,b){a=a.gh();isNaN(b)||a.Ju(b,0);return a};c.UQ=function(a,b,d,e,f,h,k,m){for(var n=c.dv(e,f),p=n.R(),q=p/360,r=c.pE*q,t=a.ub(0),u=b.Wc(),w=u?p/b.Oe().R():0,y=!1,x=new g.Da(d.description),z=0,A=d.da();z<A;++z){var B=u,C=new g.Ta(d.description);C.addPath(d,z,!0);if(0!=k){var E=c.PD(!0,C,n.H-m,n.H,k);(y=y||E)&&(B=!1)}var F=-1;B&&(F=a.Ba(z));var H=C.ub(0),G=C.I(),J=0,I=H.read(0),L=0;E=3*e.Xd(0);var M=!1,Q=new g.h;Q.Rc();var U=new g.h;U.Rc(); |
|
for(var ba=!1,Y=1;Y<G;++Y){var P=g.h.construct(H.eg(2*Y),H.eg(2*Y+1)),S=P.x,O=S+J,Z=O-I;P.x=O;if(Math.abs(Z)>r){if(B){var X=F+(Y+1<G?Y:0),ea=t.read(2*(F+Y-1));X=(t.read(2*X)-ea)*w;Math.abs(Z-X)>1*q&&(B=!1)}B||(J-=g.lc.Cn(p,O-I),O=S+J,++L,ba=0!=J,P.x=O)}else M||g.ta.AG(U,Q,P,E)&&(M=!0);ba&&H.write(2*Y,O);I=O;U.L(Q);Q.L(P)}0<L&&C.Pc(1993);B=C.Na(0);G=C.Na(G-1);C=g.h.tb(B,G)<E?c.uQ(C,e,f,h,M):c.vQ(a,z,C,e,f);x.add(C,!1)}f=e.Xd(0);d=n.R()/180;c.Jt(x,n,.1*f,!1);f=g.ri.clip(x,n,f,d,h);x=x!=f;a=a.Ke();m= |
|
f.Ke();k=0;0<m&&0>a?k=1:0>=m&&0<a&&(0==m?(m=NaN,2==b.Sb()?m=b.ml().Ke():1==b.Sb()&&(m=b.Oe().wF()),a>.99*m&&(k=-1)):k=-1);0!=k&&(b=new g.Da(f.description),b.tp(n),b=g.Xl.local().V(b,d,h),b.add(f,!1),x=!0,f=b);x&&(f=g.Yl.local().V(f,e,!1,h));return f};c.vQ=function(a,b,d,e,f){var h=d.I(),k=d.Na(0),m=d.Na(h-1);e=c.dv(e,f);f=e.R();k=g.lc.sign(m.x-k.x);var n=new g.l;d.xc(n);var p=e.gk();m=p-f;p+=f;if(0<=k){var q=Math.ceil((m-n.v)/f);for(q*=f;m>n.v+q;)q+=f;for(;m<n.C+q;)q-=f;var r=q;720<n.R()&&(p=m+360* |
|
Math.ceil(n.R()/360))}else{q=Math.ceil((p-n.C)/f);for(q*=f;p<n.C+q;)q-=f;for(;p>n.v+q;)q+=f;r=q;720<n.R()&&(m=p-360*Math.ceil(n.R()/360))}q=k*f;var t=g.l.construct(n.v,n.G,n.C,n.H);t.move(r,0);var u=new g.Dd;u.gg(r,0);d.Oc(u);n=new g.Ta(d.description);n.add(d,!1);r=d.Na(h-1);f=0;for(var w=n.Na(0).x,y=0;0<k?t.C<p:t.v>m;)1024<=y&&(y=0),t.move(q,0),u.Gb=q,d.Oc(u),w+=q,e.v<=w&&e.C>=w&&(f=n.I()-1),d.Cb(0,r),r=d.Na(h-1),n.Dr(d,0,0,h-1,!1);d=new g.Da(n.description);h=0<a.Ir(b);d.add(n,!1);a=n.Na(0);m=n.Na(n.I()- |
|
1);b=d.da()-1;(0>k?h:!h)?(k=g.h.construct(m.x,e.H),d.Ci(k),k=g.h.construct(e.gk(),e.H),d.Ci(k),e=g.h.construct(a.x,e.H)):(k=g.h.construct(m.x,e.G),d.Ci(k),k=g.h.construct(e.gk(),e.G),d.Ci(k),e=g.h.construct(a.x,e.G));d.Ci(e);d.xG(0,b,0);d.kO(f);return d};c.uQ=function(a,b,d,e,f){var h=new g.Da(a.description);h.add(a,!1);h.DB(0,h.I()-1);var k=new g.l;h.xc(k);d=c.dv(b,d);var m=d.R(),n=Math.ceil((d.v-k.v)/m);for(n*=m;d.v>k.v+n;)n+=m;for(;d.v<k.C+n;)n-=m;n+=m;if(0!=n){k.move(n,0);var p=new g.Dd;p.gg(n, |
|
0);h.Oc(p)}if(d.v<=k.v&&d.C>k.C)return f&&(f=h.Ke(),h=g.Yl.local().V(h,b,!0,e),b=h.Ke(),(b=g.lc.sign(f)!=g.lc.sign(b))&&h.oJ()),h;a=new g.Da(a.description);a.add(h,!1);for(f=f||k.R()>m-b.Xd(0);k.v<d.C;)k.move(m,0),p=new g.Dd,p.gg(m,0),h.Oc(p),a.add(h,!1);f&&(f=a.Ke(),a.Yo(1),a=g.Yl.local().V(a,b,!0,e),b=a.Ke(),(b=g.lc.sign(f)!=g.lc.sign(b))&&a.oJ());return a};c.PD=function(a,b,d,e,f){for(var h=b.ub(0),k=b.I(),m=!1,n=0;n<k;n++){var p=g.h.construct(h.eg(2*n),h.eg(2*n+1));if(0!=(f&1)&&p.y>=d){m=!0;break}if(0!= |
|
(f&2)&&p.y<=-d){m=!0;break}}if(!m)return!1;h=!1;a&&(h=b.Nn(0));a=new g.gd;k=a.Ib(b);m=a.Ob(k);var q=-1,r=!0,t=new g.h;t.Rc();n=new g.Sa;for(var u=-1,w=a.Xa(m);-1!=w;w=a.U(w)){p=a.Na(w);var y=0!=(f&1)&&90<=p.y?1:0;y|=0!=(f&2)&&p.y<=-d?2:0;if(0<q&&q!=y){if(t.x!=p.x){t.x=p.x;a.Vi(a.Ma(w),n);var x=a.wj(m,w,n);a.mf(x,t)}if(h)for(u=-1!=u?a.U(u):a.Xa(m),x=a.Ma(w);u!=x;)u=a.pd(u,!1);u=-1}0<y&&(p.y=g.lc.Cn(e,p.y),a.mf(w,p),r||q==y||(p.x!=t.x?(a.Vi(w,n),x=a.wj(m,w,n),a.Cb(x,t.x,p.y),u=x):u=w));q=y;t=p;r=!1}if(h){if(-1!= |
|
u)for(u=a.U(u);-1!=u;)u=a.pd(u,!1);d=a.Xa(m);a.fq(d,a.rj(m))||(a.Vi(d,n),a.wj(m,-1,n))}a.Ne(k).copyTo(b);return!0};c.Mz=function(a,b,d,e){var f=a;if(f.B()||d==v.DontClip)return f;var h=f.getType();if(33==h)return e=f,f=[e.D()],c.yG(f,1,b,d),f[0].isNaN()?e.Oa():e.Cb(f[0]),a;a=b.sc();var k=a.bf(),m=90*k,n=180*k,p=360*k,q=b.zi(),r=.5*k,t=new g.l;f.A(t);var u=b.Vr(),w=b.PQ(),y=197==u.getType();b=new g.l;u.A(b);d==v.PannableFold&&(d=a.Oe().R(),b.v=q-.5*d,b.C=b.v+d);if(t.G<-m||t.H>m){(new g.l).K(t.v-k, |
|
-m,t.C+k,m);f=g.ri.Nu(f,b,a,NaN,0,e);if(f.B())return f;f.A(t)}if(w&&(b.H<t.G||b.G>t.H))return f.Ia();t.R()>p&&(f=c.Hp(f,q-n,p,a,!0,0,!0,e),f.A(t));m=c.eO(t.v,t.C,b.v,b.C,p);0!=m&&t.move(m,0);if(t.C>b.C||t.v<b.v){if(t.C>b.C)for(;t.v>=b.C;)t.move(-p,0),m-=p;for(;t.v<b.C-p;)t.move(p,0),m+=p}d=g.ta.Hu(a,u);0!=m&&(k=new g.Dd,k.gg(m,0),f.Oc(k));if(w){if(y&&b.contains(t))return f;w=[null,null];for(m=0;2>m;m++){y?k=g.aa.Hc(h)?g.ri.clip(f,b,d,r,e):g.ri.clip(f,b,d,0,e):(k=g.Xj.local().V(f,u,a,e),k==u&&(k=g.aa.jg(k))); |
|
if(b.v<=t.v&&b.C>=t.C||b.v>=t.v&&b.C<=t.C)return k;w[m]=k;0==m&&(t.move(-p,0),k=new g.Dd,k.gg(-p,0),f.Oc(k))}if(550==h)w[0].Fd(w[1],0,-1);else if(g.aa.Hc(h))w[0].add(w[1],!1);else if(33==h)w[0].B()&&(w[0]=w[1]);else throw g.i.fa("intersect_with_GCS_horizon: unexpected geometry type");return w[0]}if(b.H<t.G||b.G>t.H)return f;for(h=0;!f.B()&&t.C>b.v;)0!=h&&(k=new g.Dd,k.gg(h,0),f.Oc(k)),g.dj.local().V(4,f,u,a,e)||(f=g.kp.local().V(f,u,a,e),u==f&&(f=g.aa.jg(f))),0!=h&&(r=new g.Dd,r.gg(-h,0),f.Oc(r)), |
|
h-=p,t.move(-p,0);return f};c.yG=function(a,b,d,e){if(0!=b&&e!=v.DontClip)if(e==v.PannableFold){e=d.HR();for(var f=b,h=0;h<b;h++)if(a[h].y>e.H||a[h].y<e.G)a[h].Rc(),f--;0!=f&&c.av(a,b,e.v,e.R())}else{e=d.bf();var k=90*e,m=180*e;e*=360;f=b;for(h=0;h<b;h++)if(a[h].y>k||a[h].y<-k)a[h].Rc(),f--;if(0!=f){f=new g.l;f.Zw(a,b);k=d.Vr();var n=d.hv();h=197==k.getType();var p=new g.l;k.A(p);if(!n||!(p.H<f.G||p.G>f.H))if(n)if(c.av(a,b,p.gk()-m,e),f=b,h)for(h=0;h<b;h++)p.contains(a[h])||(a[h].Rc(),f--);else for(d= |
|
g.ta.Hu(d.sc(),k),h=0;h<b;h++)(m=0!=g.hd.Yd(k,a[h],d))||(a[h].Rc(),f--);else for(c.av(a,b,-m,e),f=b,d=g.ta.Hu(d.sc(),k),h=0;h<b;h++)if(m=a[h],m.isNaN()&&f--,n=c.tE(m.x,p.v,p.C,e),m.x+=n,m=0!=g.hd.Yd(k,m,d))a[h].Rc(),f--}}};c.Hp=function(a,b,d,e,f,h,k,m){var n=a.getType(),p=b+d;if(33===n){e=f?a:a.Of();var q=e.Lg();if(q<b||q>=p||k&&q==p)q+=Math.ceil((b-q)/d)*d,q=g.O.Rk(q,b,p),e.cC(q);return e}if(a.B())return a;q=new g.l;a.A(q);if(q.B())return a;var r=new g.Nc;q.cn(r);var t=new g.Nc;t.K(b,p);if(t.contains(r))return a; |
|
p=new g.l;p.K(q);if(550===n){e=f?a:a.Of();m=e.ub(0);n=2*e.I();p=!1;for(b=0;b<n;b+=2)if(q=m.read(b),q<t.oa||q>=t.va||k&&q==t.va)p=!0,q+=Math.ceil((t.oa-q)/d)*d,q=t.It(q),m.write(b,q);p&&e.Pc(1993);return e}if(197==n)return d=f?a:a.Of(),q.Ea(p),d.Xo(q),d;var u=.1*Math.max(q.ca(),q.R());p.W(0,u);k=a;t=e.Xd(0);a=g.Gh.local();for(f=new g.Dd;;){var w=Math.floor((r.oa-b)/d),y=Math.ceil((r.va-b)/d);if(3<y-w){w=Math.floor(.5*(y+w));p.v=q.v-u;p.C=b+d*w;var x=g.ri.clip(k,p,t,h,m);p.v=p.C;p.C=q.C+u;var z=g.ri.clip(k, |
|
p,t,h,m);f.gg((w-y)*d,0);z.Oc(f);1736==n?k=a.V(x,z,e,null):(k=x,k.add(z,!1));k.A(q);q.cn(r)}else break}p.v=b;p.C=b+d;b=new g.l;b.K(p);b.W(t,0);b=Math.floor((q.v-p.v)/d)*d;0!=b?(p.move(b,0),f.gg(-b,0)):f.RB();b=1607==n?new g.Ta(k.description):new g.Da(k.description);h=new g.l;for(r=new g.l;q.C>p.v;){u=g.ri.clip(k,p,t,0,m);u.A(r);if(1607==n?!u.B()&&(r.R()>t||r.ca()>t):!u.B()&&(1736!=n||r.R()>t))u.Oc(f),u.A(r),b.A(h),h.W(t,t),h.isIntersecting(r)&&1736==n?b=a.V(b,u,e,null):b.add(u,!1);p.move(d,0);f.shift(-d, |
|
0)}return b};c.av=function(a,b,d,e){for(var f=d+e,h=0;h<b;h++){var k=a[h].x;d<=k&&k<f||!(k<d||k>f||k==f)||(k+=Math.ceil((d-k)/e)*e,k=g.O.Rk(k,d,f),a[h].x=k)}};c.Fn=function(a,b,d,e,f,h){if(!b.Wc())throw g.i.fa("fold_into_360_degree_range");if(a.B())return a;if(2==b.Sb()){d=b.pv();var k=b.ov()-d}else{var m=b.bf();k=360*m;d-=180*m}return c.Hp(a,d,k,b,e,f,!0,h)};c.qF=function(a,b,d,e){if(2==d.Sb())e=d.pv(),d=d.ov()-e;else{var f=d.bf();d=360*f;e-=180*f}c.av(a,b,e,d)};c.lj=function(a,b){var d=b.Oe();if(33== |
|
a.getType()){var e=a.ih();return d.G<=e&&e<=d.H?a:a.Ia()}e=new g.l;a.A(e);var f=new g.l;f.K(d);f.v=e.v;f.C=e.C;f.W(.01*f.ca(),0);d=g.ta.uy(b,e);return f.contains(e)?a:g.ri.clip(a,f,d,0,null)};c.ir=function(a,b,d){return a>b.C&&a-b.C<d?b.C:a<b.v&&b.v-a<d?b.v:a};c.FX=function(a,b,d,e){e.x=c.ir(a.x,b,d);e.y=a.y};c.EX=function(a,b,d,e){for(var f=0;f<b;f++)a[f].y<d.G||a[f].y>d.H?a[f].Rc():a[f].x=c.ir(a[f].x,d,e)};c.Jt=function(a,b,d,e){if(!a.B()){var f=a.getType();if(!e||1736!=f)if(g.aa.xj(f)){e=a.ub(0); |
|
f=0;for(var h=a.I();f<h;f++){var k=e.read(2*f),m=c.ir(k,b,d);m!=k&&e.write(2*f,m)}a.Pc(1993)}else if(197==f)e=new g.l,a.A(e),e.v=c.ir(e.v,b,d),e.C=c.ir(e.C,b,d),a.Xo(e);else if(33==f)a.cC(c.ir(a.Lg(),b,d));else throw g.i.fa("internal error");}};c.uS=function(a,b,d,e){var f=new g.gd,h=f.Ib(a);a=g.ta.Hu(b,a);c.ks(f,h,b,a,d,!0,e);return f.Ne(h)};c.ks=function(a,b,d,e,f,h,k){if(!d.Wc())throw g.i.N("invalid call");var m=d.Oe(),n=d.sc(),p=n.eh().getDatum().getSpheroid();n=n.Hd().ai;var q=p.getFlattening(); |
|
p=p.getAxis();q*=2-q;var r=new g.Nc;m.cn(r);var t=null,u=[[0,0],[0,0]];2==d.Sb()?(t=d.eh(),h?(u[0][0]=c.Zm(k,r),u[0][1]=m.Jp(),g.ej.projToGeog(t,1,u),m=u[0][0]*n):(u[0][0]=m.gk(),u[0][1]=k,g.ej.projToGeog(t,1,u),m=u[0][1]*n)):m=k*n;if(!h&&0!=m&&f!=l.GreatElliptic)throw g.i.fa("invalid argument");var w=new g.ga,y=[0],x=new g.h,z=new g.h,A=new g.h,B=[null,null],C=new g.h,E=new g.h,F=new g.h,H=new g.h;for(b=a.Ob(b);-1!=b;b=a.Rb(b)){var G=a.Xa(b);a.D(G,C);for(var J=!1,I=G=a.U(G);-1!=I;I=a.U(I)){if(I== |
|
G){if(J)break;J=!0}a.D(I,E);if(h&&(e<k-C.x&&E.x-k>e||e<k-E.x&&C.x-k>e)||!h&&(0!=k||e<-C.y&&E.y>e||e<-E.y&&C.y>e)){do if(!(Math.abs(C.x-E.x)>=.5*r.R())){2==d.Sb()?(u[0][0]=c.Zm(C.x,r),u[0][1]=C.y,u[1][0]=c.Zm(E.x,r),u[1][1]=E.y,g.ej.projToGeogCenter(t,2,u,0),F.x=u[0][0]*n,F.y=u[0][1]*n,H.y=u[1][1]*n):(F.x=C.x*n,F.y=C.y*n,H.y=E.y*n);H.x=2*(E.x-C.x)*Math.PI/r.R()+F.x;if(h){z.x=m;z.y=c.Nz(p,q,F,H,m,f);if(isNaN(z.y))break;B[0]=z;var L=1}else if(f==l.GreatElliptic){var M=[0,0];L=g.Ox.Oz(q,F,H,m,M);if(0== |
|
L)break;z.x=M[0];z.y=m;B[0]=z;2==L&&(A.x=M[1],A.y=m,B[1]=A)}else{z.x=c.Lz(p,q,F,H,f);if(isNaN(z.x))break;z.y=0;B[0]=z;L=1}var Q=-1;for(M=0;M<L;M++){g.kb.wd(p,q,F.x,F.y,H.x,H.y,w,null,null,f);var U=w.u;g.kb.wd(p,q,F.x,F.y,B[M].x,B[M].y,w,null,null,f);var ba=w.u;2==d.Sb()?(u[0][0]=B[M].x/n,u[0][1]=B[M].y/n,g.ej.geogToProj(t,1,u),h?(x.y=u[0][1],x.x=k):(x.x=c.os(u[0][0],C.x,E.x,r),x.y=k)):h?(x.x=k,x.y=B[M].y/n):(x.x=c.os(B[M].x/n,C.x,E.x,r),x.y=k);y[0]=0<U?g.O.Rk(ba/U,0,1):.5;if(0==y[0]||1==y[0])break; |
|
Q>y[0]||(Q=a.Ma(I),a.Ul(Q,y,1),a.Cb(a.U(Q),x.x,x.y),Q=y[0])}}while(0)}C.L(E)}}};c.Zm=function(a,b){var d=b.va-b.oa;return b.It(a-Math.floor((a-b.oa)/d)*d)};c.os=function(a,b,d,e){var f=new g.Nc;f.K(b,d);d=e.R();a=Math.floor((a-b)/d)*d+a;for(f=f.sf();Math.abs(a-f)>Math.abs(a+d-f);)a+=d;return a};c.Sn=function(a,b,d){a=g.qr.Cp(a);b=g.qr.mx(a,g.qr.Cp(b));d=g.qr.mx(a,g.qr.Cp(d));return 0==d||0<b&&0<d&&d<=b||0>b&&0>d&&d>=b?!0:!1};c.Nz=function(a,b,d,e,f,h){if(h==l.GreatElliptic)return g.Ox.SS(b,d,e,f); |
|
if(Math.abs(d.x-e.x)>=Math.PI||!c.Sn(d.x,e.x,f))return NaN;if(d.x>e.x)var k=e;else k=d,d=e;e=new g.ga;var m=new g.ga,n=new g.ga;g.kb.wd(a,b,k.x,k.y,d.x,d.y,m,e,null,h);var p=m.u,q=0,r=1,t=new g.h;for(t.L(k);p*(r-q)>1E-12*a;){var u=.5*(q+r);g.kb.oj(a,b,k.x,k.y,p*u,e.u,m,n,h);t.x=m.u;t.y=n.u;if(t.x==f)break;if(c.Sn(k.x,t.x,f))r=u;else if(c.Sn(d.x,t.x,f))q=u;else return NaN}return t.y};c.Lz=function(a,b,d,e,f){if(f==l.GreatElliptic)return a=[0,0],g.Ox.Oz(b,d,e,0,a),a[0];if(d.y>e.y)var h=e;else h=d,d= |
|
e;e=new g.Nc;e.K(h.y,d.y);if(!e.contains(0)||Math.abs(h.x-d.x)>=Math.PI)return NaN;if(h.x==d.x)return h.x;var k=new g.ga,m=new g.ga,n=new g.ga;g.kb.wd(a,b,h.x,h.y,d.x,d.y,m,k,null,f);var p=m.u,q=0,r=1,t=new g.h;for(t.L(h);p*(r-q)>1E-12*a;){var u=.5*(q+r);g.kb.oj(a,b,h.x,h.y,p*u,k.u,m,n,f);t.x=m.u;t.y=n.u;e.K(h.y,t.y);if(0==t.y)break;if(e.contains(0))r=u;else if(e.K(d.y,t.y),e.contains(0))q=u;else return NaN}return t.x};c.WI=function(a,b,d,e){if(!a.ef.Wc())return!1;var f=new g.de(b.description);f.Fd(b, |
|
0,-1);e=g.Hx.local().V(f,a,e);f=b.I();d.Oa();if(f!=e.I())return!1;var h=new g.l;b.A(h);var k=new g.l;e.A(k);h=h.R();k=k.R();if(0!=h&&0!=k){if(k/=h,a=a.Yf.gh().R()/a.ef.gh().R(),1E-10<Math.abs(k/a-1))return!1}else if(0!=h||0!=k)return!1;d.add(b,!1);b=new g.h;for(a=0;a<f;a++)e.D(a,b),d.Cb(a,b);return!0};c.qN=function(a,b){a%=360*b;a>=180*b&&(a-=360*b);return a};c.UI=function(a,b,d,e){if(d==v.Clip){var f=b.ml();197==f.getType()?(d=new g.l,f.A(d),f=g.ta.uy(b,d),a=g.ri.clip(a,d,f,5E4*b.pm(),e)):g.dj.local().V(1, |
|
f,a,b,e)||(a=g.Xj.local().V(a,f,b,e),a==f&&(a=g.Vk.jg(a)))}else b.Wc()&&(e=new g.l,a.xc(e),b.Oe().contains(e)||(c.Jt(a,b.Oe(),b.Xd(0),!0),d==v.PannableFold&&(a=c.lj(a,b)),a=c.Fn(a,b,0,!0,1E5*b.pm(),null)));return a};c.XD=function(a,b,d){var e=b.Wr();if(null==e)return a;b=b.sc();var f=b.Oe().R(),h=new g.l;a.xc(h);var k=new g.Nc;h.cn(k);h=e.Ga();e=null;for(var m=new g.Dd;h.$a();)for(;h.Ha();){var n=h.ha(),p=n.Tg(0,0),q=new g.Nc;q.K(p.oa,p.va);for(p=0;q.va>k.oa;)q.move(-f),--p;for(;q.oa<=k.va;){if(q.isIntersecting(k)){null== |
|
e&&(e=new g.Ta);var r=g.yb.cP(n.ac(),n.wc());0!=p&&(m.gg(p*f,0),r.Oc(m));e.oc(r,!0)}q.move(f);++p}}return null!=e?(b=g.ta.gO(b,e),b=g.ta.Er(b),g.$t.lP(a,e,b,d)):a};c.eO=function(a,b,d,e,f){return a>=d&&b<=e?0:c.tE(.5*(b+a),d,e,f)};c.tE=function(a,b,d,e){return g.lc.round((.5*(d+b)-a)/e)*e};c.VQ=function(a,b,d,e,f,h,k,m){var n=c.dv(e,f),p=n.R(),q=p/360,r=c.pE*q,t=a.ub(0),u=b.Wc(),w=u?p/b.Oe().R():0;b=a.Ia();for(var y=0,x=d.da();y<x;++y){var z=u,A=new g.Ta(d.description);A.addPath(d,y,!0);var B=d.dc(y); |
|
0!=k&&(B=c.PD(B,A,n.H-m,n.H,k))&&(z=!1);var C=-1;B=A.I();var E=!1;z&&(C=a.Ba(y),E=a.dc(y));var F=A.ub(0),H=0,G=F.read(0),J=0,I=3*e.Xd(0),L=!1,M=new g.h;M.Rc();var Q=new g.h;Q.Rc();for(var U=!1,ba=1;ba<B;++ba){var Y=g.h.construct(F.eg(2*ba),F.eg(2*ba+1)),P=Y.x,S=P+H,O=S-G;Y.x=S;if(Math.abs(O)>r){if(z){var Z=C+ba-1,X=C;if(!E||ba+1<B)X+=ba;Z=t.read(2*Z);X=(t.read(2*X)-Z)*w;Math.abs(O-X)>1*q&&(u=!1)}z||(H-=g.lc.Cn(p,S-G),S=P+H,++J,U=0!=H,Y.x=S)}else L||g.ta.AG(M,Q,Y,I)&&(L=!0);U&&F.write(2*ba,S);G=S; |
|
M.L(Q);Q.L(Y)}0!=J&&A.Pc(1993);z=A.Na(0);B=A.Na(B-1);g.h.tb(z,B);A=c.wQ(A,e,isNaN(f)?0:f,h);b.add(A,!1)}a=e.Xd(0);d=n.R()/180;c.Jt(b,n,.1*a,!1);return g.ri.clip(b,n,a,d,h)};c.wQ=function(a,b,d,e){return c.Fn(a,b,d,!0,0,e)};c.OS=function(a,b,d,e){var f=a.getType();if(1736==f)for(b=null!=b?b.Xd(0):0,f=0;f<e;f++)1!=g.hd.Yd(a,d[f],b)&&d[f].Rc();else if(197==f)for(f=0;f<e;f++)a.dP(d[f])||d[f].Rc();else throw g.i.N();};c.$k=function(a,b,d,e){if(32>d)for(var f=new g.Sa,h=0;h<d;h++)f.Cb(b[h]),a.$k(f,e).D(b[h]); |
|
else{var k=new g.de;k.re(3);k.HD(b,d);f=k.ub(3);for(h=0;h<d;h++)f.write(h,h);h=a.$k(k,e);a=h.ub(0);f=h.ub(3);e=g.h.construct(NaN,NaN);for(k=0;k<d;k++)b[k]=e;d=h.I();for(h=0;h<d;h++)e=f.read(h),a.tc(2*h,b[e])}};c.Zk=function(a,b,d,e){if(32>d)for(var f=new g.Sa,h=0;h<d;h++)f.Cb(b[h]),a.Zk(f,e).D(b[h]);else{var k=new g.de;k.re(3);k.HD(b,d);f=k.ub(3);for(h=0;h<d;h++)f.write(h,h);h=a.Zk(k,e);a=h.ub(0);f=h.ub(3);e=g.h.construct(NaN,NaN);for(k=0;k<d;k++)b[k]=e;d=h.I();for(h=0;h<d;h++)e=f.read(h),a.tc(2* |
|
h,b[e])}};c.pE=210;return c}()})(D||={});(function(g){(function(l){l[l.rightSide=1]="rightSide"})(g.UL||(g.UL={}));var v=function(){function l(c,a,b){this.Bs=new g.h;void 0===c?this.Io=-1:(this.Bs.L(c),this.Io=a,this.Ka=b,this.nw=0)}l.prototype.WJ=function(c){this.nw=c?this.nw|1:this.nw&-2};l.prototype.B=function(){return 0>this.Io};l.prototype.fz=function(){if(this.B())throw g.i.fa("invalid call");return new g.Sa(this.Bs.x,this.Bs.y)};l.prototype.Ua=function(){if(this.B())throw g.i.fa("invalid call"); |
|
return this.Io};l.prototype.hz=function(){if(this.B())throw g.i.fa("invalid call");return this.Ka};l.prototype.Sz=function(){return 0!=(this.nw&1)};l.prototype.ey=function(c,a,b,d){this.Bs.x=c;this.Bs.y=a;this.Io=b;this.Ka=d};return l}();g.$l=v})(D||={});(function(g){var v=function(){function c(){}c.prototype.Uo=function(a,b){this.th.resize(0);this.Ii.length=0;this.tk=-1;a.xc(this.Ek);this.Ek.W(b,b);if(this.Ek.isIntersecting(this.Fb.Ca)){var d=a.getType();(this.vs=g.aa.yd(d))?(this.TH=a.ac(),this.SH= |
|
a.wc(),this.qa=b):this.qa=NaN;this.th.add(this.Fb.kf);this.Ii.push(this.Fb.Ca);this.Qs=this.Fb.Ur(this.Fb.kf)}else this.Qs=-1};c.prototype.Xi=function(a,b){this.th.resize(0);this.Ii.length=0;this.tk=-1;this.Ek.K(a);this.Ek.W(b,b);this.qa=NaN;this.Ek.isIntersecting(this.Fb.Ca)?(this.th.add(this.Fb.kf),this.Ii.push(this.Fb.Ca),this.Qs=this.Fb.Ur(this.Fb.kf),this.vs=!1):this.Qs=-1};c.prototype.next=function(){if(0==this.th.size)return-1;this.tk=this.Qs;var a=null,b=null,d=null,e=null;this.vs&&(a=new g.h, |
|
b=new g.h,d=new g.l);for(var f=!1;!f;){for(;-1!=this.tk;){var h=this.Fb.bz(this.Fb.fv(this.tk));if(h.isIntersecting(this.Ek))if(this.vs){if(a.L(this.TH),b.L(this.SH),d.K(h),d.W(this.qa,this.qa),0<d.zy(a,b)){f=!0;break}}else{f=!0;break}this.tk=this.Fb.nv(this.tk)}if(-1==this.tk){h=this.th.Fc();var k=this.Ii[this.Ii.length-1];null==e&&(e=[],e[0]=new g.l,e[1]=new g.l,e[2]=new g.l,e[3]=new g.l);l.EJ(k,e);this.th.If();--this.Ii.length;for(k=0;4>k;k++){var m=this.Fb.Lp(h,k);if(-1!=m&&0<this.Fb.WR(m)&&e[k].isIntersecting(this.Ek))if(this.vs){if(a.L(this.TH), |
|
b.L(this.SH),d.K(e[k]),d.W(this.qa,this.qa),0<d.zy(a,b)){var n=new g.l;n.K(e[k]);this.th.add(m);this.Ii.push(n)}}else n=new g.l,n.K(e[k]),this.th.add(m),this.Ii.push(n)}if(0==this.th.size)return-1;this.tk=this.Fb.Ur(this.th.get(this.th.size-1))}}this.Qs=this.Fb.nv(this.tk);return this.tk};c.bP=function(a,b,d){var e=new c;e.Fb=a;e.Ek=new g.l;e.th=new g.ia(0);e.Ii=[];e.Uo(b,d);return e};c.aP=function(a,b,d){var e=new c;e.Fb=a;e.Ek=new g.l;e.th=new g.ia(0);e.Ii=[];e.Xi(b,d);return e};c.$O=function(a){var b= |
|
new c;b.Fb=a;b.Ek=new g.l;b.th=new g.ia(0);b.Ii=[];return b};return c}();g.GY=v;var l=function(){function c(a,b){this.jf=new g.$c(11);this.Zh=new g.$c(5);this.ws=[];this.gw=new g.ia(0);this.Ca=new g.l;this.Nk(a,b)}c.prototype.reset=function(a,b){this.jf.mj(!1);this.Zh.mj(!1);this.ws.length=0;this.gw.clear(!1);this.Nk(a,b)};c.prototype.vj=function(a,b){return this.zv(a,b,0,this.Ca,this.kf,!1,-1)};c.prototype.Jz=function(a,b,d){d=-1==d?this.kf:this.WF(d);var e=this.ca(d),f=this.oR(d);return this.zv(a, |
|
b,e,f,d,!1,-1)};c.prototype.ja=function(a){return this.jR(a)};c.prototype.GF=function(a){return this.bz(this.fv(a))};c.prototype.ca=function(a){return this.jv(a)};c.prototype.oR=function(a){var b=new g.l;b.K(this.Ca);var d=this.jv(a);a=this.QF(a);for(var e=0;e<2*d;e+=2){var f=g.O.truncate(3&a>>e);0==f?(b.v=.5*(b.v+b.C),b.G=.5*(b.G+b.H)):1==f?(b.C=.5*(b.v+b.C),b.G=.5*(b.G+b.H)):(2==f?b.C=.5*(b.v+b.C):b.v=.5*(b.v+b.C),b.H=.5*(b.G+b.H))}return b};c.prototype.WR=function(a){return this.Az(a)};c.prototype.vR= |
|
function(a,b){return v.bP(this,a,b)};c.prototype.MF=function(a,b){return v.aP(this,a,b)};c.prototype.getIterator=function(){return v.$O(this)};c.prototype.Nk=function(a,b){if(0>b||32<2*b)throw g.i.N("invalid height");this.BT=b;this.Ca.K(a);this.kf=this.jf.Ce();this.jx(this.kf,0);this.ax(this.kf,0);this.NJ(this.kf,0);this.KJ(this.kf,0)};c.prototype.zv=function(a,b,d,e,f,h,k){if(!e.contains(b))return 0==d?-1:this.zv(a,b,0,this.Ca,this.kf,h,k);if(!h)for(var m=f;-1!=m;m=this.IR(m))this.jx(m,this.Az(m)+ |
|
1);m=new g.l;m.K(e);e=f;var n=[];n[0]=new g.l;n[1]=new g.l;n[2]=new g.l;for(n[3]=new g.l;d<this.BT&&this.iO(e);d++){c.EJ(m,n);for(var p=!1,q=0;4>q;q++)if(n[q].contains(b)){p=!0;var r=this.Lp(e,q);-1==r&&(r=this.rP(e,q));this.jx(r,this.Az(r)+1);e=r;m.K(n[q]);break}if(!p)break}return this.sS(a,b,d,m,e,h,f,k)};c.prototype.sS=function(a,b,d,e,f,h,k,m){var n=this.NF(f);if(h){if(f==k)return m;this.SP(m);h=m}else h=this.tP(),this.NB(h,a),this.KW(this.fv(h),b);this.mX(h,f);-1!=n?(this.hx(h,n),this.bx(n,h)): |
|
this.GJ(f,h);this.SB(f,h);this.ax(f,this.lv(f)+1);this.hO(f)&&this.MQ(d,e,f);return h};c.prototype.SP=function(a){var b=this.WF(a),d=this.NF(b),e=this.OR(a),f=this.nv(a);this.Ur(b)==a?(-1!=f?this.hx(f,-1):this.SB(b,-1),this.GJ(b,f)):d==a?(this.bx(e,-1),this.SB(b,e)):(this.hx(f,e),this.bx(e,f));this.hx(a,-1);this.bx(a,-1);this.ax(b,this.lv(b)-1)};c.EJ=function(a,b){var d=.5*(a.v+a.C),e=.5*(a.G+a.H);b[0].K(d,e,a.C,a.H);b[1].K(a.v,e,d,a.H);b[2].K(a.v,a.G,d,e);b[3].K(d,a.G,a.C,e)};c.prototype.hO=function(a){return 8== |
|
this.lv(a)&&!this.gG(a)};c.prototype.MQ=function(a,b,d){var e=this.Ur(d);do{var f=this.fv(e),h=this.Zh.T(e,0);f=this.bz(f);this.zv(h,f,a,b,d,!0,e);e=h=this.nv(e)}while(-1!=e)};c.prototype.iO=function(a){return 8<=this.lv(a)||this.gG(a)};c.prototype.gG=function(a){return-1!=this.Lp(a,0)||-1!=this.Lp(a,1)||-1!=this.Lp(a,2)||-1!=this.Lp(a,3)};c.prototype.rP=function(a,b){var d=this.jf.Ce();this.OW(a,b,d);this.jx(d,0);this.ax(d,0);this.Pk(d,a);this.KJ(d,this.jv(a)+1);this.NJ(d,b<<2*this.jv(a)|this.QF(a)); |
|
return d};c.prototype.tP=function(){var a=this.Zh.Ce();if(0<this.gw.size){var b=this.gw.Fc();this.gw.If()}else b=this.ws.length,this.ws.push(new g.l);this.LW(a,b);return a};c.prototype.Lp=function(a,b){return this.jf.T(a,b)};c.prototype.OW=function(a,b,d){this.jf.S(a,b,d)};c.prototype.Ur=function(a){return this.jf.T(a,4)};c.prototype.GJ=function(a,b){this.jf.S(a,4,b)};c.prototype.NF=function(a){return this.jf.T(a,5)};c.prototype.SB=function(a,b){this.jf.S(a,5,b)};c.prototype.QF=function(a){return this.jf.T(a, |
|
6)};c.prototype.NJ=function(a,b){this.jf.S(a,6,b)};c.prototype.lv=function(a){return this.jf.T(a,7)};c.prototype.Az=function(a){return this.jf.T(a,8)};c.prototype.ax=function(a,b){this.jf.S(a,7,b)};c.prototype.jx=function(a,b){this.jf.S(a,8,b)};c.prototype.IR=function(a){return this.jf.T(a,9)};c.prototype.Pk=function(a,b){this.jf.S(a,9,b)};c.prototype.jv=function(a){return this.jf.T(a,10)};c.prototype.KJ=function(a,b){this.jf.S(a,10,b)};c.prototype.jR=function(a){return this.Zh.T(a,0)};c.prototype.NB= |
|
function(a,b){this.Zh.S(a,0,b)};c.prototype.OR=function(a){return this.Zh.T(a,1)};c.prototype.nv=function(a){return this.Zh.T(a,2)};c.prototype.hx=function(a,b){this.Zh.S(a,1,b)};c.prototype.bx=function(a,b){this.Zh.S(a,2,b)};c.prototype.WF=function(a){return this.Zh.T(a,3)};c.prototype.mX=function(a,b){this.Zh.S(a,3,b)};c.prototype.fv=function(a){return this.Zh.T(a,4)};c.prototype.LW=function(a,b){this.Zh.S(a,4,b)};c.prototype.bz=function(a){return this.ws[a]};c.prototype.KW=function(a,b){this.ws[a].K(b)}; |
|
return c}();g.du=l})(D||={});(function(g){(function(c){c[c.Outside=0]="Outside";c[c.Inside=1]="Inside";c[c.Border=2]="Border"})(g.aL||(g.aL={}));var v=function(){function c(a,b){this.PT=b;this.Vh=a}c.prototype.setColor=function(a,b){this.iH!=b&&a.flush();this.iH=b};c.prototype.gF=function(a,b){for(var d=0;d<b;)for(var e=a[d++],f=a[d++],h=a[d++]*this.PT;e<f;e++)this.Vh[h+(e>>4)]|=this.iH<<2*(e&15)};return c}();g.HY=v;var l=function(){function c(a,b,d){this.Vh=null;this.SA=this.Ik=this.cI=this.aI=this.Es= |
|
this.qH=this.Gf=this.Um=0;this.Ri=this.Jk=this.vl=null;this.Fz(a,b,d)}c.create=function(a,b,d){if(!c.zE(a))throw g.i.N();return c.wP(a,b,d)};c.pW=function(a){switch(a){case 0:a=1024;break;case 1:a=16384;break;case 2:a=262144;break;default:throw g.i.fa("Internal Error");}return a};c.zE=function(a){return a.B()||1607!=a.getType()&&1736!=a.getType()?!1:!0};c.prototype.rQ=function(a,b){b=b.Ga();for(var d=new g.h,e=new g.h;b.$a();)for(;b.Ha();){var f=b.ha();if(322!=f.getType())throw g.i.fa("Internal Error"); |
|
a.Eh(f.ac(),d);a.Eh(f.wc(),e);this.Ri.jy(d.x,d.y,e.x,e.y)}this.Ri.iJ(g.Px.Cx)};c.prototype.sQ=function(){throw g.i.fa("Internal Error");};c.prototype.Ry=function(a,b){for(var d=1;4>d;d++)a.jy(b[d-1].x,b[d-1].y,b[d].x,b[d].y);a.jy(b[3].x,b[3].y,b[0].x,b[0].y);this.Ri.iJ(g.Px.Cx)};c.prototype.rK=function(a,b,d){for(var e=[null,null,null,null],f=0;f<e.length;f++)e[f]=new g.h;b=b.Ga();d=this.Jk.dY(d)+1.5;f=new g.h;for(var h=new g.h,k=new g.h,m=new g.h,n=new g.h,p=new g.l,q=new g.h;b.$a();){var r=!1,t= |
|
!0;for(q.ma(0,0);b.Ha();){var u=b.ha();m.x=u.sa;m.y=u.na;n.x=u.pa;n.y=u.la;p.Oa();p.Zb(m.x,m.y);p.Lk(n.x,n.y);if(this.vl.HG(p)){this.Jk.Eh(n,n);t?(this.Jk.Eh(m,m),q.L(m),t=!1):m.L(q);f.uc(n,m);u=f.length();var w=.5>u;0==u?f.ma(1,0):(w||q.L(n),f.scale(d/u),h.ma(-f.y,f.x),k.ma(f.y,-f.x),m.sub(f),n.add(f),e[0].add(m,h),e[1].add(m,k),e[2].add(n,k),e[3].add(n,h),w?r=!0:this.Ry(a,e))}else r&&(this.Ry(a,e),r=!1),t=!0}r&&this.Ry(a,e)}};c.prototype.sC=function(a){return g.O.truncate(a*this.qH+this.aI)};c.prototype.tC= |
|
function(a){return g.O.truncate(a*this.Es+this.cI)};c.wP=function(a,b,d){return new c(a,b,d)};c.prototype.Fz=function(a,b,d){this.Gf=Math.max(g.O.truncate(2*Math.sqrt(d)+.5),64);this.Um=g.O.truncate((2*this.Gf+31)/32);this.vl=new g.l;this.Ik=b;d=0;for(var e=this.Gf,f=this.Um;8<=e;)d+=e*f,e=g.O.truncate(e/2),f=g.O.truncate((2*e+31)/32);this.Vh=g.O.lg(d,0);this.Ri=new g.Px;d=new v(this.Vh,this.Um,this);this.Ri.AX(this.Gf,this.Gf,d);a.A(this.vl);this.vl.W(b,b);e=new g.l;f=g.l.construct(1,1,this.Gf-2, |
|
this.Gf-2);var h=b*f.R();b*=f.ca();e.K(this.vl.sf(),Math.max(h,this.vl.R()),Math.max(b,this.vl.ca()));this.SA=this.Ik;this.Jk=new g.Dd;this.Jk.pS(e,f);new g.Dd;switch(a.getType()){case 550:d.setColor(this.Ri,2);this.sQ();break;case 1607:d.setColor(this.Ri,2);this.rK(this.Ri,a,this.SA);break;case 1736:d.setColor(this.Ri,1),this.rQ(this.Jk,a),d.setColor(this.Ri,2),this.rK(this.Ri,a,this.SA)}this.qH=this.Jk.bb;this.Es=this.Jk.ab;this.aI=this.Jk.Gb;this.cI=this.Jk.Lb;this.XN()};c.prototype.XN=function(){this.Ri.flush(); |
|
for(var a=0,b=this.Gf*this.Um,d=this.Gf,e=g.O.truncate(this.Gf/2),f=this.Um,h=g.O.truncate((2*e+31)/32);8<d;){for(d=0;d<e;d++)for(var k=2*d,m=2*d+1,n=0;n<e;n++){var p=2*n,q=2*n+1,r=p>>4;p=2*(p&15);var t=q>>4;q=2*(q&15);var u=this.Vh[a+f*k+r]>>p&3;u|=this.Vh[a+f*k+t]>>q&3;u|=this.Vh[a+f*m+r]>>p&3;u|=this.Vh[a+f*m+t]>>q&3;this.Vh[b+h*d+(n>>4)]|=u<<2*(n&15)}d=e;f=h;a=b;e=g.O.truncate(d/2);h=g.O.truncate((2*e+31)/32);b=a+f*d}};c.prototype.So=function(a,b){if(!this.vl.contains(a,b))return 0;a=this.sC(a); |
|
b=this.tC(b);if(0>a||a>=this.Gf||0>b||b>=this.Gf)return 0;b=this.Vh[this.Um*b+(a>>4)]>>2*(a&15)&3;return 0==b?0:1==b?1:2};c.prototype.Ro=function(a){if(!a.Ea(this.vl))return 0;var b=this.sC(a.v),d=this.sC(a.C),e=this.tC(a.G);a=this.tC(a.H);0>b&&(b=0);0>e&&(e=0);d>=this.Gf&&(d=this.Gf-1);a>=this.Gf&&(a=this.Gf-1);if(b>d||e>a)return 0;for(var f=Math.max(d-b,1)*Math.max(a-e,1),h=0,k=this.Um,m=this.Gf,n=0;;){if(32>f||16>m){for(f=e;f<=a;f++)for(var p=b;p<=d;p++)if(n=this.Vh[h+k*f+(p>>4)]>>2*(p&15)&3,1< |
|
n)return 2;if(0==n)return 0;if(1==n)return 1}h+=k*m;m=g.O.truncate(m/2);k=g.O.truncate((2*m+31)/32);b=g.O.truncate(b/2);e=g.O.truncate(e/2);d=g.O.truncate(d/2);a=g.O.truncate(a/2);f=Math.max(d-b,1)*Math.max(a-e,1)}};c.prototype.RR=function(){return this.Gf*this.Um};return c}();g.Nx=l})(D||={});(function(g){(function(c){c[c.contains=1]="contains";c[c.within=2]="within";c[c.equals=3]="equals";c[c.disjoint=4]="disjoint";c[c.touches=8]="touches";c[c.crosses=16]="crosses";c[c.overlaps=32]="overlaps";c[c.unknown= |
|
0]="unknown";c[c.intersects=1073741824]="intersects"})(g.VL||(g.VL={}));var v=function(){function c(){}c.construct=function(a,b,d,e,f,h,k,m){var n=new c;n.pw=a;n.Mm=b;n.Kj=d;n.Si=e;n.BH=f;n.SY=h;n.TY=k;n.UY=m;return n};return c}();g.Vt=function(){function c(){}c.CD=function(a,b,d){if(c.wy(a)){var e=g.ta.kj(b,a,!1);b=!1;g.Uk.CE(a)&&(b=b||a.lu(e,d));e=a.getType();1736!=e&&1607!=e||!g.Uk.AE(a)||0==d||(b=b||a.fj(d));1736!=e&&1607!=e||!g.Uk.BE(a)||0==d||b||a.hM()}};c.wy=function(a){return g.Uk.CE(a)|| |
|
g.Uk.AE(a)||g.Uk.BE(a)};return c}();var l=function(){function c(){this.rh=[]}c.zB=function(a,b,d,e,f){var h=a.getType(),k=b.getType();if(197==h){if(197==k)return c.tW(a,b,d,e);if(33==k)return 2==e?e=1:1==e&&(e=2),c.hJ(b,a,d,e)}else if(33==h){if(197==k)return c.hJ(a,b,d,e);if(33==k)return c.vW(a,b,d,e)}if(a.B()||b.B())return 4==e?!0:!1;var m=new g.l;a.A(m);var n=new g.l;b.A(n);var p=new g.l;p.K(m);p.Zb(n);d=g.ta.Wd(d,p,!1);if(c.dk(m,n,d))return 4==e?!0:!1;m=!1;g.Vk.yd(h)&&(h=new g.Ta(a.description), |
|
h.oc(a,!0),a=h,h=1607);g.Vk.yd(k)&&(k=new g.Ta(b.description),k.oc(b,!0),b=k,k=1607);if(197!=h&&197!=k){if(a.Db()<b.Db()||33==h&&550==k)2==e?e=1:1==e&&(e=2)}else 1736!=h&&197!=k&&(2==e?e=1:1==e&&(e=2));switch(h){case 1736:switch(k){case 1736:m=c.rt(a,b,d,e,f);break;case 1607:m=c.$m(a,b,d,e,f);break;case 33:m=c.qt(a,b,d,e);break;case 550:m=c.pt(a,b,d,e,f);break;case 197:m=c.GI(a,b,d,e,f)}break;case 1607:switch(k){case 1736:m=c.$m(b,a,d,e,f);break;case 1607:m=c.gB(a,b,d,e,f);break;case 33:m=c.tt(a, |
|
b,d,e,f);break;case 550:m=c.st(a,b,d,e,f);break;case 197:m=c.MI(a,b,d,e)}break;case 33:switch(k){case 1736:m=c.qt(b,a,d,e);break;case 1607:m=c.tt(b,a,d,e,f);break;case 550:m=c.lt(b,a,d,e)}break;case 550:switch(k){case 1736:m=c.pt(b,a,d,e,f);break;case 1607:m=c.st(b,a,d,e,f);break;case 550:m=c.ZA(a,b,d,e,f);break;case 33:m=c.lt(a,b,d,e);break;case 197:m=c.hI(a,b,d,e)}break;case 197:switch(k){case 1736:m=c.GI(b,a,d,e,f);break;case 1607:m=c.MI(b,a,d,e);break;case 550:m=c.hI(b,a,d,e)}}return m};c.tW= |
|
function(a,b,d,e){if(a.B()||b.B())return 4==e?!0:!1;var f=new g.l,h=new g.l,k=new g.l;a.A(f);b.A(h);k.K(f);k.Zb(h);a=g.ta.Wd(d,k,!1);switch(e){case 4:return c.dk(f,h,a);case 2:return c.jF(h,f,a);case 1:return c.jF(f,h,a);case 3:return c.ek(f,h,a);case 8:return c.cQ(f,h,a);case 32:return c.bQ(f,h,a);case 16:return c.aQ(f,h,a)}return!1};c.hJ=function(a,b,d,e){if(a.B()||b.B())return 4==e?!0:!1;a=a.D();var f=new g.l,h=new g.l;b.A(f);h.K(a);h.Zb(f);b=g.ta.Wd(d,h,!1);switch(e){case 4:return c.Rw(a,f,b); |
|
case 2:return c.eB(a,f,b);case 1:return c.RU(a,f,b);case 3:return c.vI(a,f,b);case 8:return c.dB(a,f,b)}return!1};c.vW=function(a,b,d,e){if(a.B()||b.B())return 4==e?!0:!1;a=a.D();b=b.D();var f=new g.l;f.K(a);f.Zb(b);d=g.ta.Wd(d,f,!1);switch(e){case 4:return c.SU(a,b,d);case 2:return c.uI(b,a,d);case 1:return c.uI(a,b,d);case 3:return c.wI(a,b,d)}return!1};c.rt=function(a,b,d,e,f){switch(e){case 4:return c.kV(a,b,d);case 2:return c.Sw(b,a,d,f);case 1:return c.Sw(a,b,d,f);case 3:return c.nV(a,b,d); |
|
case 8:return c.vV(a,b,d);case 32:return c.qV(a,b,d,f)}return!1};c.$m=function(a,b,d,e,f){switch(e){case 4:return c.lV(a,b,d);case 1:return c.fB(a,b,d,f);case 8:return c.wV(a,b,d,f);case 16:return c.gV(a,b,d)}return!1};c.qt=function(a,b,d,e){switch(e){case 4:return c.jV(a,b,d);case 1:return c.dV(a,b,d);case 8:return c.uV(a,b,d)}return!1};c.pt=function(a,b,d,e){switch(e){case 4:return c.iV(a,b,d);case 1:return c.cV(a,b,d);case 8:return c.tV(a,b,d);case 16:return c.fV(a,b,d)}return!1};c.GI=function(a, |
|
b,d,e,f){if(c.hV(a,b,d))return 4==e?!0:!1;if(4==e)return!1;switch(e){case 2:return c.xV(a,b,d);case 1:return c.bV(a,b,d);case 3:return c.mV(a,b,d);case 8:return c.sV(a,b,d,f);case 32:return c.pV(a,b,d,f);case 16:return c.eV(a,b,d,f)}return!1};c.gB=function(a,b,d,e){switch(e){case 4:return c.GV(a,b,d);case 2:return c.KI(b,a,d);case 1:return c.KI(a,b,d);case 3:return c.IV(a,b,d);case 8:return c.NI(a,b,d);case 32:return c.MV(a,b,d);case 16:return c.LI(a,b,d)}return!1};c.tt=function(a,b,d,e){switch(e){case 4:return c.FV(a, |
|
b,d);case 1:return c.AV(a,b,d);case 8:return c.QV(a,b,d)}return!1};c.st=function(a,b,d,e){switch(e){case 4:return c.EV(a,b,d);case 1:return c.zV(a,b,d);case 8:return c.PV(a,b,d);case 16:return c.CV(a,b,d)}return!1};c.MI=function(a,b,d,e){if(c.DV(a,b,d))return 4==e?!0:!1;if(4==e)return!1;switch(e){case 2:return c.RV(a,b,d);case 1:return c.yV(a,b,d);case 3:return c.HV(a,b,d);case 8:return c.OV(a,b,d);case 32:return c.LV(a,b,d);case 16:return c.BV(a,b,d)}return!1};c.ZA=function(a,b,d,e){switch(e){case 4:return c.gU(a, |
|
b,d);case 2:return c.eI(b,a,d);case 1:return c.eI(a,b,d);case 3:return c.iU(a,b,d);case 32:return c.oU(a,b,d)}return!1};c.lt=function(a,b,d,e){switch(e){case 4:return c.fI(a,b,d);case 2:return c.sU(a,b,d);case 1:return c.dU(a,b,d);case 3:return c.Nw(a,b,d)}return!1};c.hI=function(a,b,d,e){switch(e){case 4:return c.fU(a,b,d);case 2:return c.rU(a,b,d);case 1:return c.cU(a,b,d);case 3:return c.hU(a,b,d);case 8:return c.qU(a,b,d);case 16:return c.eU(a,b,d)}return!1};c.nV=function(a,b,d){var e=new g.l, |
|
f=new g.l;a.A(e);b.A(f);if(!c.ek(e,f,d))return!1;e=c.qc(a,b,!1);if(4==e||1==e||2==e)return!1;if(c.dI(a,b,d))return!0;e=a.Qb();f=b.Qb();return Math.abs(e-f)>4*Math.max(a.I(),b.I())*d?!1:c.Wz(a,b,d,!0)};c.kV=function(a,b,d){var e=c.qc(a,b,!0);return 4==e?!0:1==e||2==e||1073741824==e?!1:c.EI(a,b,d)};c.vV=function(a,b,d){var e=c.qc(a,b,!1);return 4==e||1==e||2==e?!1:c.II(a,b,d,null)};c.qV=function(a,b,d,e){var f=c.qc(a,b,!1);return 4==f||1==f||2==f?!1:c.FI(a,b,d,e)};c.Sw=function(a,b,d,e){var f=new g.l, |
|
h=new g.l;a.A(f);b.A(h);if(!c.zc(f,h,d))return!1;f=c.qc(a,b,!1);return 4==f||2==f?!1:1==f?!0:c.BI(a,b,d,e)};c.lV=function(a,b,d){var e=c.qc(a,b,!0);return 4==e?!0:1==e||1073741824==e?!1:c.EI(a,b,d)};c.wV=function(a,b,d,e){var f=c.qc(a,b,!1);return 4==f||1==f?!1:c.JI(a,b,d,e)};c.gV=function(a,b,d){var e=c.qc(a,b,!1);return 4==e||1==e?!1:c.DI(a,b,d,null)};c.fB=function(a,b,d,e){var f=new g.l,h=new g.l;a.A(f);b.A(h);if(!c.zc(f,h,d))return!1;f=c.qc(a,b,!1);return 4==f?!1:1==f?!0:c.CI(a,b,d,e)};c.jV=function(a, |
|
b,d){return 0==g.hd.KG(a,b,d)?!0:!1};c.uV=function(a,b,d){b=b.D();return c.HI(a,b,d)};c.dV=function(a,b,d){b=b.D();return c.AI(a,b,d)};c.iV=function(a,b,d){var e=c.qc(a,b,!1);if(4==e)return!0;if(1==e)return!1;e=new g.l;a.A(e);e.W(d,d);for(var f=new g.h,h=0;h<b.I();h++)if(b.D(h,f),e.contains(f)){var k=g.hd.Yd(a,f,d);if(1==k||2==k)return!1}return!0};c.tV=function(a,b,d){var e=this.qc(a,b,!1);if(4==e||1==e)return!1;e=new g.l;a.A(e);e.W(d,d);for(var f=!1,h=a,k=!1,m=0;m<b.I();m++){var n=b.Na(m);if(e.contains(n))if(n= |
|
g.hd.Yd(h,n,d),2==n)f=!0;else if(1==n)return!1;k||(!g.Dg.Ml(a,b.I()-1)||null!=a.Bb&&null!=a.Bb.Fb?h=a:(h=new g.Da,a.copyTo(h),h.fj(1)),k=!0)}return f?!0:!1};c.fV=function(a,b,d){var e=this.qc(a,b,!1);if(4==e||1==e)return!1;var f=new g.l;e=new g.l;var h=new g.l;a.A(f);b.A(h);e.K(f);e.W(d,d);h=f=!1;for(var k=a,m=!1,n=0;n<b.I();n++){var p=b.Na(n);e.contains(p)?(p=g.hd.Yd(k,p,d),0==p?h=!0:1==p&&(f=!0)):h=!0;if(f&&h)return!0;m||(!g.Dg.Ml(a,b.I()-1)||null!=a.Bb&&null!=a.Bb.Fb?k=a:(k=new g.Da,a.copyTo(k), |
|
k.fj(1)),m=!0)}return!1};c.cV=function(a,b,d){var e=new g.l,f=new g.l;a.A(e);b.A(f);if(!this.zc(e,f,d))return!1;f=this.qc(a,b,!1);if(4==f)return!1;if(1==f)return!0;f=!1;for(var h=a,k=!1,m=0;m<b.I();m++){var n=b.Na(m);if(!e.contains(n))return!1;n=g.hd.Yd(h,n,d);if(1==n)f=!0;else if(0==n)return!1;k||(!g.Dg.Ml(a,b.I()-1)||null!=a.Bb&&null!=a.Bb.Fb?h=a:(h=new g.Da,a.copyTo(h),h.fj(1)),k=!0)}return f};c.mV=function(a,b,d){var e=new g.l,f=new g.l;a.A(e);b.A(f);if(!c.ek(e,f,d))return!1;e=new g.Da;e.ad(b, |
|
!1);return c.Wz(a,e,d,!0)};c.hV=function(a,b,d){var e=c.qc(a,b,!1);if(4==e)return!0;if(1==e||2==e)return!1;var f=new g.l;e=new g.l;a.A(f);b.A(e);if(c.zc(e,f,d))return!1;f=new g.h;e.dn(f);b=g.hd.Yd(a,f,d);if(0!=b)return!1;e.$I(f);b=g.hd.Yd(a,f,d);if(0!=b)return!1;e.en(f);b=g.hd.Yd(a,f,d);if(0!=b)return!1;e.cJ(f);b=g.hd.Yd(a,f,d);if(0!=b)return!1;b=a.ub(0);f=new g.l;f.K(e);f.W(d,d);for(var h=0,k=a.I();h<k;h++){var m=b.read(2*h),n=b.read(2*h+1);if(f.contains(m,n))return!1}return!c.TG(a,e,d)};c.sV=function(a, |
|
b,d,e){var f=c.qc(a,b,!1);if(4==f||1==f||2==f)return!1;f=new g.l;var h=new g.l;a.A(f);b.A(h);if(c.zc(h,f,d))return!1;if(h.R()<=d&&h.ca()<=d)return b=b.Ip(),c.HI(a,b,d);if(h.R()<=d||h.ca()<=d)return f=new g.Ta,h=new g.Sa,b.Hf(0,h),f.nf(h),b.Hf(2,h),f.lineTo(h),c.JI(a,f,d,e);f=new g.Da;f.ad(b,!1);return c.II(a,f,d,e)};c.pV=function(a,b,d,e){var f=c.qc(a,b,!1);if(4==f||1==f||2==f)return!1;f=new g.l;var h=new g.l;a.A(f);b.A(h);if(c.zc(h,f,d)||h.R()<=d||h.ca()<=d)return!1;f=new g.Da;f.ad(b,!1);return c.FI(a, |
|
f,d,e)};c.xV=function(a,b,d){var e=new g.l,f=new g.l;a.A(e);b.A(f);return c.zc(f,e,d)};c.bV=function(a,b,d){var e=new g.l,f=new g.l;a.A(e);b.A(f);if(!c.zc(e,f,d))return!1;e=c.qc(a,b,!1);if(4==e||2==e)return!1;if(1==e)return!0;if(f.R()<=d&&f.ca()<=d)return b=b.Ip(),c.AI(a,b,d);if(f.R()<=d||f.ca()<=d)return f=new g.Ta,e=new g.Sa,b.Hf(0,e),f.nf(e),b.Hf(2,e),f.lineTo(e),c.CI(a,f,d,null);f=new g.Da;f.ad(b,!1);return c.BI(a,f,d,null)};c.eV=function(a,b,d,e){var f=new g.l,h=new g.l;a.A(f);b.A(h);if(c.zc(h, |
|
f,d)||h.ca()>d&&h.R()>d||h.ca()<=d&&h.R()<=d)return!1;f=new g.Ta;h=new g.Sa;b.Hf(0,h);f.nf(h);b.Hf(2,h);f.lineTo(h);return c.DI(a,f,d,e)};c.IV=function(a,b,d){var e=new g.l,f=new g.l;a.A(e);b.A(f);return c.ek(e,f,d)&&4!=c.qc(a,b,!1)?c.dI(a,b,d)?!0:c.Wz(a,b,d,!1):!1};c.GV=function(a,b,d){return 4==this.qc(a,b,!1)?!0:(new g.Zl(a,b,d,!0)).next()?!this.UG(a,b,d):!1};c.NI=function(a,b,d){if(4==c.qc(a,b,!1))return!1;var e=new g.be(0);if(0!=c.Xz(a,b,d,e))return!1;for(var f=new g.de,h=0;h<e.size;h+=2){var k= |
|
e.read(h),m=e.read(h+1);f.Bu(k,m)}a=a.mg();b=b.mg();a.Fd(b,0,b.I());return c.Mw(a,f,d)};c.LI=function(a,b,d){if(4==c.qc(a,b,!1))return!1;var e=new g.be(0);if(0!=c.Xz(a,b,d,e))return!1;for(var f=new g.de,h=0;h<e.size;h+=2){var k=e.read(h),m=e.read(h+1);f.Bu(k,m)}a=a.mg();b=b.mg();a.Fd(b,0,b.I());return!c.Mw(a,f,d)};c.MV=function(a,b,d){return 4==c.qc(a,b,!1)?!1:c.WG(a,b,d)};c.KI=function(a,b,d){var e=new g.l,f=new g.l;a.A(e);b.A(f);return c.zc(e,f,d)&&4!=c.qc(a,b,!1)?c.ym(b,a,d,!1):!1};c.FV=function(a, |
|
b,d){if(4==c.qc(a,b,!1))return!0;b=b.D();return!c.Yz(a,b,d)};c.QV=function(a,b,d){if(4==c.qc(a,b,!1))return!1;b=b.D();return c.Zz(a,b,d)};c.AV=function(a,b,d){if(4==c.qc(a,b,!1))return!1;b=b.D();return c.SG(a,b,d)};c.EV=function(a,b,d){return 4==c.qc(a,b,!1)?!0:!c.VG(a,b,d,!1)};c.PV=function(a,b,d){if(4==this.qc(a,b,!1))return!1;var e=a.Ga(),f=new g.l,h=new g.l,k=new g.l;a.A(f);b.A(h);f.W(d,d);h.W(d,d);k.K(f);k.Ea(h);f=null;var m=a.Bb;if(null!=m){var n=m.Fb;f=m.zo;null==n&&(n=m=g.ta.jj(a,k))}else n= |
|
m=g.ta.jj(a,k);var p=n.getIterator(),q=null;null!=f&&(q=f.getIterator());var r=new g.h,t=new g.h,u=!1,w=d*d;f=new g.pn(b.I());for(m=0;m<b.I();m++)f.write(m,0);for(m=0;m<b.I();m++)if(b.D(m,r),k.contains(r))if(h.K(r.x,r.y,r.x,r.y),null==q||(q.Xi(h,d),-1!=q.next())){p.Xi(h,d);for(var y=p.next();-1!=y;y=p.next())if(e.Vb(n.ja(y)),y=e.ha(),y.hc(y.fe(r,!1),t),g.h.yc(r,t)<=w){f.write(m,1);u=!0;break}}if(!u)return!1;a=a.mg();e=new g.de;h=new g.h;for(m=0;m<b.I();m++)0!=f.read(m)&&(b.D(m,h),e.Bu(h.x,h.y));return this.Mw(a, |
|
e,d)};c.CV=function(a,b,d){if(4==this.qc(a,b,!1))return!1;var e=a.Ga(),f=new g.l,h=new g.l,k=new g.l;a.A(f);b.A(h);f.W(d,d);h.W(d,d);k.K(f);k.Ea(h);f=null;var m=a.Bb;if(null!=m){var n=m.Fb;f=m.zo;null==n&&(n=m=g.ta.jj(a,k))}else n=m=g.ta.jj(a,k);var p=n.getIterator(),q=null;null!=f&&(q=f.getIterator());var r=new g.h,t=new g.h,u=!1,w=!1,y=d*d;f=new g.pn(b.I());for(m=0;m<b.I();m++)f.write(m,0);for(m=0;m<b.I();m++)if(b.D(m,r),k.contains(r))if(h.K(r.x,r.y,r.x,r.y),null!=q&&(q.Xi(h,d),-1==q.next()))w= |
|
!0;else{p.Xi(h,d);for(var x=!1,z=p.next();-1!=z;z=p.next())if(e.Vb(n.ja(z)),z=e.ha(),z.hc(z.fe(r,!1),t),g.h.yc(r,t)<=y){f.write(m,1);x=u=!0;break}x||(w=!0)}else w=!0;if(!u||!w)return!1;a=a.mg();e=new g.de;h=new g.h;for(m=0;m<b.I();m++)0!=f.read(m)&&(b.D(m,h),e.Bu(h.x,h.y));return!this.Mw(a,e,d)};c.zV=function(a,b,d){var e=new g.l,f=new g.l;a.A(e);b.A(f);if(!c.zc(e,f,d)||4==c.qc(a,b,!1)||!c.VG(a,b,d,!0))return!1;a=a.mg();return!c.gI(a,b,d)};c.HV=function(a,b,d){var e=new g.l,f=new g.l;a.A(e);b.A(f); |
|
return f.ca()>d&&f.R()>d?!1:c.ek(e,f,d)};c.DV=function(a,b,d){var e=new g.l,f=new g.l;a.A(e);b.A(f);return c.zc(f,e,d)?!1:!c.TG(a,f,d)};c.OV=function(a,b,d){var e=new g.l,f=new g.l;a.A(e);b.A(f);if(f.ca()<=d&&f.R()<=d)return f=b.Ip(),c.Zz(a,f,d);if(f.ca()<=d||f.R()<=d)return f=new g.Ta,e=new g.Sa,b.Hf(0,e),f.nf(e),b.Hf(2,e),f.lineTo(e),c.NI(a,f,d);a=a.Ga();b=new g.l;e=new g.l;b.K(f);e.K(f);b.W(-d,-d);e.W(d,d);f=!1;for(var h=new g.l,k=new g.l;a.$a();)for(;a.Ha();){a.ha().A(h);k.K(b);k.Ea(h);if(!k.B()&& |
|
(k.ca()>d||k.R()>d))return!1;k.K(e);k.Ea(h);k.B()||(f=!0)}return f};c.LV=function(a,b,d){var e=new g.l,f=new g.l;a.A(e);b.A(f);if(c.zc(e,f,d)||c.zc(f,e,d)||c.zc(f,e,d)||f.ca()>d&&f.R()>d||f.ca()<=d&&f.R()<=d)return!1;e=new g.Ta;f=new g.Sa;b.Hf(0,f);e.nf(f);b.Hf(2,f);e.lineTo(f);return c.WG(a,e,d)};c.RV=function(a,b,d){var e=new g.l,f=new g.l;a.A(e);b.A(f);if(!c.zc(f,e,d)||f.ca()<=d&&f.R()<=d)return!1;if(f.ca()<=d||f.R()<=d)return c.zc(f,e,d);a=a.Ga();b=new g.l;b.K(f);b.W(-d,-d);f=!1;e=new g.l;for(var h= |
|
new g.l;a.$a();)for(;a.Ha();)a.ha().A(e),b.hm(e)?f=!0:(h.K(b),h.Ea(e),!h.B()&&(h.ca()>d||h.R()>d)&&(f=!0));return f};c.yV=function(a,b,d){var e=new g.l,f=new g.l;b.A(f);a.A(e);if(!c.zc(e,f,d)||f.ca()>d&&f.R()>d)return!1;if(f.ca()<=d&&f.R()<=d)return b=b.Ip(),c.SG(a,b,d);e=new g.Ta;f=new g.Sa;b.Hf(0,f);e.nf(f);b.Hf(2,f);e.lineTo(f);return c.ym(e,a,d,!1)};c.BV=function(a,b,d){var e=new g.l,f=new g.l;a.A(e);b.A(f);if(c.zc(f,e,d)||f.ca()<=d&&f.R()<=d)return!1;if(f.ca()<=d||f.R()<=d)return e=new g.Ta, |
|
f=new g.Sa,b.Hf(0,f),e.nf(f),b.Hf(2,f),e.lineTo(f),c.LI(a,e,d);a=a.Ga();b=new g.l;e=new g.l;e.K(f);b.K(f);e.W(-d,-d);b.W(d,d);for(var h=f=!1,k=new g.l,m=new g.l;a.$a();)for(;a.Ha();)if(a.ha().A(k),h||b.contains(k)||(h=!0),f||(m.K(e),m.Ea(k),!m.B()&&(m.ca()>d||m.R()>d)&&(f=!0)),f&&h)return!0;return!1};c.iU=function(a,b,d){var e=new g.l,f=new g.l;a.A(e);b.A(f);return c.ek(e,f,d)?c.jU(a,b,d)?!0:c.YA(a,b,d,!1,!0,!1):!1};c.gU=function(a,b,d){return!c.gI(a,b,d)};c.oU=function(a,b,d){return c.YA(a,b,d,!1, |
|
!1,!0)};c.eI=function(a,b,d){var e=new g.l,f=new g.l;a.A(e);b.A(f);return c.zc(e,f,d)?c.YA(b,a,d,!0,!1,!1):!1};c.Mw=function(a,b,d){d*=d;for(var e=new g.h,f=new g.h,h=0;h<b.I();h++){b.D(h,f);for(var k=!1,m=0;m<a.I();m++)if(a.D(m,e),g.h.yc(e,f)<=d){k=!0;break}if(!k)return!1}return!0};c.Nw=function(a,b,d){var e=new g.l,f=new g.l;a.A(e);b.A(f);return c.ek(e,f,d)};c.fI=function(a,b,d){b=b.D();return c.kt(a,b,d)};c.sU=function(a,b,d){return c.Nw(a,b,d)};c.dU=function(a,b,d){return!c.fI(a,b,d)};c.hU=function(a, |
|
b,d){var e=new g.l,f=new g.l;a.A(e);b.A(f);return f.ca()>d||f.R()>d?!1:c.ek(e,f,d)};c.fU=function(a,b,d){var e=new g.l,f=new g.l;a.A(e);b.A(f);if(c.zc(f,e,d))return!1;b=new g.l;b.K(f);b.W(d,d);d=new g.h;for(f=0;f<a.I();f++)if(a.D(f,d),b.contains(d))return!1;return!0};c.qU=function(a,b,d){var e=new g.l,f=new g.l,h=new g.l;b.A(e);if(e.ca()<=d&&e.R()<=d)return!1;if(e.ca()<=d||e.R()<=d){b=new g.h;var k=!1;f.K(e);h.K(e);f.W(d,d);e.ca()>d?h.W(0,-d):h.W(-d,0);for(var m=0;m<a.I();m++)if(a.D(m,b),f.contains(b)){if(e.ca()> |
|
d){if(b.y>h.G&&b.y<h.H)return!1}else if(b.x>h.v&&b.x<h.C)return!1;k=!0}return k}f.K(e);h.K(e);f.W(d,d);h.W(-d,-d);b=new g.h;k=!1;for(m=0;m<a.I();m++)if(a.D(m,b),f.contains(b)){if(h.hm(b))return!1;k=!0}return k};c.rU=function(a,b,d){var e=new g.l,f=new g.l;a.A(e);b.A(f);if(!c.zc(f,e,d))return!1;if(f.ca()<=d&&f.R()<=d)return c.ek(e,f,d);if(f.ca()<=d||f.R()<=d){b=!1;e=new g.l;var h=new g.l;e.K(f);h.K(f);f.ca()>d?e.W(0,-d):e.W(-d,0);h.W(d,d);for(var k=new g.h,m=0;m<a.I();m++){a.D(m,k);if(!h.contains(k))return!1; |
|
f.ca()>d?k.y>e.G&&k.y<e.H&&(b=!0):k.x>e.v&&k.x<e.C&&(b=!0)}return b}b=!1;e=new g.l;h=new g.l;e.K(f);h.K(f);e.W(-d,-d);h.W(d,d);k=new g.h;for(m=0;m<a.I();m++){a.D(m,k);if(!h.contains(k))return!1;e.hm(k)&&(b=!0)}return b};c.cU=function(a,b,d){var e=new g.l,f=new g.l;a.A(e);b.A(f);if(!c.zc(e,f,d)||f.ca()>d||f.R()>d)return!1;b=b.Ip();return!c.kt(a,b,d)};c.eU=function(a,b,d){var e=new g.l,f=new g.l;a.A(e);b.A(f);if(c.zc(f,e,d)||f.ca()<=d&&f.R()<=d)return!1;if(f.ca()<=d||f.R()<=d){b=new g.l;e=new g.l;b.K(f); |
|
f.ca()>d?b.W(0,-d):b.W(-d,0);e.K(f);e.W(d,d);for(var h=new g.h,k=!1,m=!1,n=0;n<a.I();n++)if(a.D(n,h),k||(f.ca()>d?h.y>b.G&&h.y<b.H&&(k=!0):h.x>b.v&&h.x<b.C&&(k=!0)),m||e.contains(h)||(m=!0),k&&m)return!0;return!1}b=new g.l;e=new g.l;b.K(f);b.W(-d,-d);e.K(f);e.W(d,d);h=new g.h;m=k=!1;for(n=0;n<a.I();n++)if(a.D(n,h),!k&&b.hm(h)&&(k=!0),m||e.contains(h)||(m=!0),k&&m)return!0;return!1};c.wI=function(a,b,d){return g.h.yc(a,b)<=d*d?!0:!1};c.SU=function(a,b,d){return g.h.yc(a,b)>d*d?!0:!1};c.uI=function(a, |
|
b,d){return c.wI(a,b,d)};c.vI=function(a,b,d){var e=new g.l;e.K(a);return c.ek(e,b,d)};c.Rw=function(a,b,d){var e=new g.l;e.K(b);e.W(d,d);return!e.contains(a)};c.dB=function(a,b,d){if(b.ca()<=d&&b.R()<=d)return!1;var e=new g.l,f=new g.l;e.K(b);e.W(d,d);if(!e.contains(a))return!1;if(b.ca()<=d||b.R()<=d){f.K(b);b.ca()>d?f.W(0,-d):f.W(-d,0);if(b.ca()>d){if(a.y>f.G&&a.y<f.H)return!1}else if(a.x>f.v&&a.x<f.C)return!1;return!0}f.K(b);f.W(-d,-d);return f.hm(a)?!1:!0};c.eB=function(a,b,d){if(b.ca()<=d&&b.R()<= |
|
d)return!0;if(b.ca()<=d||b.R()<=d){var e=new g.l;e.K(b);b.ca()>d?e.W(0,-d):e.W(-d,0);var f=!1;b.ca()>d?a.y>e.G&&a.y<e.H&&(f=!0):a.x>e.v&&a.x<e.C&&(f=!0);return f}e=new g.l;e.K(b);e.W(-d,-d);return e.hm(a)};c.RU=function(a,b,d){return c.vI(a,b,d)};c.ek=function(a,b,d){return c.zc(a,b,d)&&c.zc(b,a,d)};c.dk=function(a,b,d){var e=new g.l;e.K(b);e.W(d,d);return!a.isIntersecting(e)};c.cQ=function(a,b,d){if(a.ca()<=d&&a.R()<=d){var e=a.sf();return c.dB(e,b,d)}if(b.ca()<=d&&b.R()<=d)return e=b.sf(),c.dB(e, |
|
a,d);a.ca()>d&&a.R()>d&&(b.ca()<=d||b.R()<=d)?e=b:(e=a,a=b);if(e.ca()<=d||e.R()<=d){if(a.ca()<=d||a.R()<=d){b=new g.yb;var f=new g.yb,h=[0,0],k=[0,0],m=new g.h;e.dn(m);b.Dc(m);e.en(m);b.Qc(m);a.dn(m);f.Dc(m);a.en(m);f.Qc(m);b.Ea(f,null,h,k,d);return 1!=b.Ea(f,null,null,null,d)?!1:0==h[0]||1==h[1]||0==k[0]||1==k[1]}b=new g.l;f=new g.l;b.K(a);b.W(-d,-d);f.K(b);f.Ea(e);return!f.B()&&(f.ca()>d||f.R()>d)?!1:!0}a.W(d,d);f=new g.l;f.K(e);f.Ea(a);return f.B()||!f.B()&&f.ca()>d&&f.R()>d?!1:!0};c.bQ=function(a, |
|
b,d){if(c.zc(a,b,d)||c.zc(b,a,d)||a.ca()<=d&&a.R()<=d||b.ca()<=d&&b.R()<=d)return!1;if(a.ca()<=d||a.R()<=d){if(b.ca()>d&&b.R()>d)return!1;var e=new g.yb,f=new g.yb,h=[0,0],k=[0,0],m=new g.h;a.dn(m);e.Dc(m);a.en(m);e.Qc(m);b.dn(m);f.Dc(m);b.en(m);f.Qc(m);e.Ea(f,null,h,k,d);return 2!=e.Ea(f,null,null,null,d)?!1:(0<h[0]||1>h[1])&&(0<k[0]||1>k[1])}if(b.ca()<=d||b.R()<=d)return!1;e=new g.l;e.K(a);e.Ea(b);return e.B()||e.ca()<=d||e.R()<=d?!1:!0};c.jF=function(a,b,d){if(!c.zc(a,b,d))return!1;if(a.ca()<= |
|
d&&a.R()<=d)return a=a.sf(),c.eB(a,b,d);if(b.ca()<=d&&b.R()<=d)return b=b.sf(),c.eB(b,a,d);if(a.ca()<=d||a.R()<=d)return c.zc(a,b,d);if(b.ca()<=d||b.R()<=d){var e=new g.l;e.K(a);e.W(-d,-d);if(e.hm(b))return!0;a=new g.l;a.K(e);a.Ea(b);return a.B()||a.ca()<=d&&a.R()<=d?!1:!0}return c.zc(a,b,d)};c.aQ=function(a,b,d){if(c.zc(a,b,d)||c.zc(b,a,d)||a.ca()<=d&&a.R()<=d||b.ca()<=d&&b.R()<=d||b.ca()>d&&b.R()>d&&a.ca()>d&&a.R()>d)return!1;if(a.ca()>d&&a.R()>d)var e=b;else e=a,a=b;if(a.ca()>d&&a.R()>d){b=new g.l; |
|
var f=new g.l;f.K(a);f.W(-d,-d);b.K(f);b.Ea(e);return b.B()||b.ca()<=d&&b.R()<=d?!1:!0}b=new g.yb;f=new g.yb;var h=[0,0],k=[0,0],m=new g.h;e.dn(m);b.Dc(m);e.en(m);b.Qc(m);a.dn(m);f.Dc(m);a.en(m);f.Qc(m);b.Ea(f,null,h,k,d);return 1!=b.Ea(f,null,null,null,d)?!1:0<h[0]&&1>h[1]&&0<k[0]&&1>k[1]};c.EI=function(a,b,d){var e=new g.l,f=new g.l,h=new g.Zl(a,b,d,!0);if(!h.next())return!0;if(this.UG(a,b,d))return!1;var k=a,m=null;1736==b.getType()&&(m=b);var n=!1,p=!1;do{var q=h.nl(),r=h.hl();r=b.Na(b.Ba(r)); |
|
e.K(h.uz());e.W(d,d);if(e.contains(r)&&(r=g.hd.Yd(k,r,0),0!=r)||1736==b.getType()&&(q=a.Na(a.Ba(q)),f.K(h.az()),f.W(d,d),f.contains(q)&&(r=g.hd.Yd(m,q,0),0!=r)))return!1;n||(!g.Dg.Ml(a,b.da()-1)||null!=a.Bb&&null!=a.Bb.Fb?k=a:(k=new g.Da,a.copyTo(k),k.fj(1)),n=!0);1736!=b.getType()||p||(p=b,!g.Dg.Ml(p,a.da()-1)||null!=b.Bb&&null!=b.Bb.Fb?m=b:(m=new g.Da,p.copyTo(m),m.fj(1)),p=!0)}while(h.next());return!0};c.zc=function(a,b,d){var e=new g.l;e.K(a);e.W(d,d);return e.contains(b)};c.ls=function(a,b,d){var e= |
|
new g.l;e.K(b);e.W(d,d);b=new g.h;a.dn(b);if(!e.contains(b))return!0;a.$I(b);if(!e.contains(b))return!0;a.cJ(b);if(!e.contains(b))return!0;a.en(b);return e.contains(b)?!1:!0};c.dI=function(a,b,d){if(a.da()!=b.da()||a.I()!=b.I())return!1;var e=new g.h,f=new g.h,h=!0;d*=d;for(var k=0;k<a.da();k++){if(a.Vc(k)!=b.Vc(k)){h=!1;break}for(var m=a.Ba(k);m<b.Vc(k);m++)if(a.D(m,e),b.D(m,f),g.h.yc(e,f)>d){h=!1;break}if(!h)break}return h?!0:!1};c.jU=function(a,b,d){if(a.I()!=b.I())return!1;var e=new g.h,f=new g.h, |
|
h=!0;d*=d;for(var k=0;k<a.I();k++)if(a.D(k,e),b.D(k,f),g.h.yc(e,f)>d){h=!1;break}return h?!0:!1};c.YA=function(a,b,d,e,f,h){var k=!1;if(a.I()>b.I()){e&&(e=!1,k=!0);var m=b}else m=a,a=b;b=null;if(f||h||k){b=new g.pn(a.I());for(var n=0;n<a.I();n++)b.write(n,0)}n=new g.l;var p=new g.l,q=new g.l;m.A(n);a.A(p);n.W(d,d);p.W(d,d);q.K(n);q.Ea(p);p=new g.h;for(var r=new g.h,t=!0,u=g.ta.oE(a,q),w=u.getIterator(),y=d*d,x=0;x<m.I();x++)if(m.D(x,p),q.contains(p)){var z=!1;n.K(p.x,p.y,p.x,p.y);w.Xi(n,d);for(var A= |
|
w.next();-1!=A&&!(A=u.ja(A),a.D(A,r),g.h.yc(p,r)<=y&&((f||h||k)&&b.write(A,1),z=!0,e));A=w.next());if(!z&&(t=!1,f||e))return!1}else{if(f||e)return!1;t=!1}if(h&&t)return!1;if(e)return!0;for(n=0;n<a.I();n++)if(1==b.read(n)){if(h)return!0}else if(f||k)return!1;return h?!1:!0};c.gI=function(a,b,d){if(a.I()>b.I())var e=b;else e=a,a=b;b=new g.l;var f=new g.l,h=new g.l;e.A(b);a.A(f);b.W(d,d);f.W(d,d);h.K(b);h.Ea(f);f=new g.h;for(var k=new g.h,m=d*d,n=g.ta.oE(a,h),p=n.getIterator(),q=0;q<e.I();q++)if(e.D(q, |
|
f),h.contains(f)){b.K(f.x,f.y,f.x,f.y);p.Xi(b,d);for(var r=p.next();-1!=r;r=p.next())if(a.D(n.ja(r),k),g.h.yc(f,k)<=m)return!0}return!1};c.Wz=function(a,b,d,e){return c.ym(a,b,d,e)&&c.ym(b,a,d,e)};c.ym=function(a,b,d,e){function f(J,I){return q.QE(J,I)}var h=!0,k=[0,0],m=[0,0],n=0,p=new g.ia(0),q=new c,r,t=new g.l,u=new g.l,w=new g.l;a.A(t);b.A(u);t.W(d,d);u.W(d,d);w.K(t);w.Ea(u);a=a.Ga();u=b.Ga();var y=null,x=y=null,z=b.Bb;null!=z?(y=z.Fb,x=z.zo,null==y&&(y=g.ta.jj(b,w))):y=g.ta.jj(b,w);b=y.getIterator(); |
|
z=null;for(null!=x&&(z=x.getIterator());a.$a();)for(;a.Ha();){var A=!1,B=a.ha();B.A(t);if(!t.isIntersecting(w))return!1;if(null!=z&&(z.Xi(t,d),-1==z.next()))return h=!1;x=B.Qb();b.Uo(B,d);for(r=b.next();-1!=r;r=b.next()){u.Vb(y.ja(r));r=u.ha();var C=B.Ea(r,null,k,m,d);if(2==C&&(!e||m[0]<=m[1])){C=k[0];var E=k[1],F=m[0],H=m[1];if(C*x<=d&&(1-E)*x<=d){A=!0;n=0;p.resize(0);q.rh.length=0;var G=a.wb();for(F=!0;F;){if(a.Ha()){B=a.ha();x=B.Qb();C=B.Ea(r,null,k,m,d);if(2==C&&(!e||m[0]<=m[1])&&(C=k[0],E=k[1], |
|
C*x<=d&&(1-E)*x<=d)){G=a.wb();continue}if(u.Ha()&&(r=u.ha(),C=B.Ea(r,null,k,m,d),2==C&&(!e||m[0]<=m[1])&&(C=k[0],E=k[1],C*x<=d&&(1-E)*x<=d))){G=a.wb();continue}}F=!1}G!=a.wb()&&(a.Vb(G),a.ha());break}else G=a.wb(),r=v.construct(G,a.gb,C,E,u.wb(),u.gb,F,H),q.rh.push(r),p.add(p.size)}}if(!A){if(n==q.rh.length)return!1;1<p.size-n&&p.Vd(n,p.size,f);for(A=0;n<q.rh.length;n++)if(r=q.rh[p.get(n)],!(r.Kj<A&&r.Si<A)){if(x*(r.Kj-A)>d)return!1;A=r.Si;if(x*(1-A)<=d||1==A)break}if(x*(1-A)>d)return!1;n=0;p.resize(0); |
|
q.rh.length=0}}return h};c.WG=function(a,b,d){if(1>c.Xz(a,b,d,null))return!1;var e=new g.l,f=new g.l;a.A(e);b.A(f);var h=c.ls(e,f,d);e=c.ls(f,e,d);return h&&e?!0:h&&!e?!c.ym(b,a,d,!1):e&&!h?!c.ym(a,b,d,!1):!c.ym(a,b,d,!1)&&!c.ym(b,a,d,!1)};c.Xz=function(a,b,d,e){function f(Q,U){return t.QE(Q,U)}if(a.yz()>b.yz())var h=b,k=a;else h=a,k=b;a=h.Ga();b=k.Ga();var m=[0,0],n=[0,0],p=-1,q=0,r=new g.ia(0),t=new c,u=new g.l,w=new g.l,y=new g.l;h.A(u);k.A(w);u.W(d,d);w.W(d,d);y.K(u);y.Ea(w);h=null;null!=e&&(h= |
|
new g.h);var x=w=w=null,z=k.Bb;null!=z?(w=z.Fb,x=z.zo,null==w&&(w=g.ta.jj(k,y))):w=g.ta.jj(k,y);k=w.getIterator();z=null;for(null!=x&&(z=x.getIterator());a.$a();)for(x=0;a.Ha();){var A=a.ha();A.A(u);if(u.isIntersecting(y)&&(null==z||(z.Xi(u,d),-1!=z.next()))){var B=A.Qb();k.Uo(A,d);for(var C=k.next();-1!=C;C=k.next()){var E=w.ja(C);b.Vb(E);var F=b.ha(),H=F.Qb(),G=A.Ea(F,null,m,n,d);if(0<G){C=m[0];p=n[0];var J=2==G?m[1]:NaN,I=2==G?n[1]:NaN;if(2==G){if(B*(J-C)>d)return p=1;var L=B*(J-C);if(b.Ha()){F= |
|
b.ha();G=A.Ea(F,null,m,null,d);if(2==G){G=m[0];var M=m[1];G=B*(M-G);if(L+G>d)return p=1}b.Vb(E);b.ha()}if(!b.vm()){b.li();F=b.li();G=A.Ea(F,null,m,null,d);if(2==G&&(G=m[0],M=m[1],G=B*(M-G),L+G>d))return p=1;b.Vb(E);b.ha()}if(a.Ha()){E=a.wb();A=a.ha();G=A.Ea(F,null,m,null,d);if(2==G&&(G=m[0],M=m[1],G=B*(M-G),L+G>d))return p=1;a.Vb(E);a.ha()}if(!a.vm()){E=a.wb();a.li();A=a.li();G=A.Ea(F,null,m,null,d);if(2==G&&(G=m[0],M=m[1],G=H*(M-G),L+G>d))return p=1;a.Vb(E);a.ha()}F=v.construct(a.wb(),a.gb,C,J,b.wb(), |
|
b.gb,p,I);t.rh.push(F);r.add(r.size)}p=0;null!=e&&(A.hc(C,h),e.add(h.x),e.add(h.y))}}if(q<t.rh.length){r.Vd(q,r.size,f);A=0;for(C=t.rh[r.get(q)].Mm;q<t.rh.length;q++)if(F=t.rh[r.get(q)],!(F.Kj<A&&F.Si<A))if(B*(F.Kj-A)>d)x=B*(F.Si-F.Kj),A=F.Si,C=F.Mm;else{F.Mm!=C?(x=B*(F.Si-F.Kj),C=F.Mm):x+=B*(F.Si-F.Kj);if(x>d)return p=1;A=F.Si;if(1==A)break}B*(1-A)>d&&(x=0);q=0;r.resize(0);t.rh.length=0}}}return p};c.UG=function(a,b,d){var e=a.Ga(),f=b.Ga();for(a=new g.Zl(a,b,d,!1);a.next();){b=a.nl();var h=a.hl(); |
|
e.Vb(b);f.Vb(h);b=e.ha();if(0<f.ha().Ea(b,null,null,null,d))return!0}return!1};c.VG=function(a,b,d,e){var f=a.Ga(),h=new g.l,k=new g.l,m=new g.l;a.A(h);b.A(k);h.W(d,d);h.contains(k);k.W(d,d);m.K(h);m.Ea(k);h=a.Bb;null!=h?(h=h.Fb,null==h&&(h=g.ta.jj(a,m))):h=g.ta.jj(a,m);a=h.getIterator();for(var n=new g.h,p=new g.h,q=d*d,r=0;r<b.I();r++)if(b.D(r,n),m.contains(n)){k.K(n.x,n.y,n.x,n.y);a.Xi(k,d);for(var t=!1,u=a.next();-1!=u;u=a.next())if(f.Vb(h.ja(u)),u=f.ha(),u.hc(u.fe(n,!1),p),g.h.yc(p,n)<=q){t= |
|
!0;break}if(e){if(!t)return!1}else if(t)return!0}return e?!0:!1};c.Yz=function(a,b,d){var e=new g.h,f=d*d,h=a.Ga();a=a.Bb;if(null!=a&&(a=a.Fb,null!=a)){var k=new g.l;k.K(b);d=a.MF(k,d);for(k=d.next();-1!=k;k=d.next())if(h.Vb(a.ja(k)),h.Ha()){k=h.ha();var m=k.fe(b,!1);k.hc(m,e);if(g.h.yc(b,e)<=f)return!0}return!1}for(a=new g.l;h.$a();)for(;h.Ha();)if(k=h.ha(),k.A(a),a.W(d,d),a.contains(b)&&(m=k.fe(b,!1),k.hc(m,e),g.h.yc(b,e)<=f))return!0;return!1};c.SG=function(a,b,d){return c.Yz(a,b,d)&&!c.Zz(a,b, |
|
d)};c.Zz=function(a,b,d){a=a.mg();return!c.kt(a,b,d)};c.TG=function(a,b,d){if(a.tm()){var e=new g.yb(b.v,b.G,b.v,b.H),f=new g.yb(b.v,b.H,b.C,b.H),h=new g.yb(b.C,b.H,b.C,b.G);b=new g.yb(b.C,b.G,b.v,b.G);for(a=a.Ga();a.$a();)for(;a.Ha();){var k=a.ha();if(k.isIntersecting(e,d)||k.isIntersecting(f,d)||k.isIntersecting(h,d)||k.isIntersecting(b,d))return!0}}else{e=new g.l;e.K(b);e.W(d,d);d=a.ub(0);f=new g.h;h=new g.h;b=new g.h;k=new g.h;for(var m=0,n=a.da();m<n;m++)for(var p=!0,q=a.Ba(m),r=a.Vc(m);q<r;q++)if(p)d.tc(2* |
|
q,h),p=!1;else{d.tc(2*q,f);b.L(h);k.L(f);if(0!=e.zy(b,k))return!0;h.L(f)}}return!1};c.qc=function(a,b,d){var e=a.getType(),f=b.getType();if(g.aa.xj(e)){var h=a.Bb;if(null!=h&&(h=h.Fk,null!=h))if(33==f){var k=b.D();k=h.So(k.x,k.y);if(1==k)return 1;if(0==k)return 4}else{k=new g.l;b.A(k);k=h.Ro(k);if(1==k)return 1;if(0==k)return 4;if(d&&g.aa.xj(f)&&c.HE(b,h))return 1073741824}}if(g.aa.xj(f)&&(h=b.Bb,null!=h&&(h=h.Fk,null!=h)))if(33==e){a=a.D();k=h.So(a.x,a.y);if(1==k)return 2;if(0==k)return 4}else{b= |
|
new g.l;a.A(b);k=h.Ro(b);if(1==k)return 2;if(0==k)return 4;if(d&&g.aa.xj(e)&&c.HE(a,h))return 1073741824}return 0};c.HE=function(a,b){for(var d=a.I(),e=new g.h,f=0;f<d;f++)if(a.D(f,e),1==b.So(e.x,e.y))return!0;return!1};c.II=function(a,b,d,e){for(var f=1<=a.om(0)&&1<=b.om(0),h=a.Ga(),k=b.Ga(),m=[0,0],n=[0,0],p=new g.Zl(a,b,d,!1),q=!1;p.next();){var r=p.nl(),t=p.hl();h.Vb(r);k.Vb(t);r=h.ha();t=k.ha().Ea(r,null,n,m,d);if(2==t){q=m[0];t=m[1];r=r.Qb();if(f&&(t-q)*r>d)return!1;q=!0}else if(0!=t){q=m[0]; |
|
r=n[0];if(0<q&&1>q&&0<r&&1>r)return!1;q=!0}}if(!q)return!1;h=new g.l;k=new g.l;f=new g.l;a.A(h);b.A(k);h.W(1E3*d,1E3*d);k.W(1E3*d,1E3*d);f.K(h);f.Ea(k);return 10<a.I()&&(a=g.Ud.clip(a,f,d,0),a.B())||10<b.I()&&(b=g.Ud.clip(b,f,d,0),b.B())?!1:g.am.rt(a,b,d,"F********",e)};c.FI=function(a,b,d,e){var f=1<=a.om(0)&&1<=b.om(0),h=new g.l,k=new g.l,m=new g.l;a.A(h);b.A(k);for(var n=!1,p=c.ls(h,k,d),q=c.ls(k,h,d),r=a.Ga(),t=b.Ga(),u=[0,0],w=[0,0],y=new g.Zl(a,b,d,!1);y.next();){var x=y.nl(),z=y.hl();r.Vb(x); |
|
t.Vb(z);z=r.ha();x=t.ha().Ea(z,null,w,u,d);if(2==x){x=u[0];var A=u[1];z=z.Qb();if(f&&(A-x)*z>d&&(n=!0,p&&q))return!0}else if(0!=x&&(x=u[0],z=w[0],0<x&&1>x&&0<z&&1>z))return!0}f=new g.l;r=new g.l;f.K(h);f.W(1E3*d,1E3*d);r.K(k);r.W(1E3*d,1E3*d);m.K(f);m.Ea(r);h="";h=n?h+"**":h+"T*";if(p){if(10<b.I()&&(b=g.Ud.clip(b,m,d,0),b.B()))return!1;h+="****"}else h+="T***";if(q){if(10<a.I()&&(a=g.Ud.clip(a,m,d,0),a.B()))return!1;h+="***"}else h+="T**";return g.am.rt(a,b,d,h.toString(),e)};c.BI=function(a,b,d, |
|
e){var f=[!1],h=c.zI(a,b,d,f);if(f[0])return h;f=new g.l;b.A(f);f.W(1E3*d,1E3*d);return 10<a.I()&&(a=g.Ud.clip(a,f,d,0),a.B())?!1:g.am.Sw(a,b,d,e)};c.zI=function(a,b,d,e){e[0]=!1;for(var f=a.Ga(),h=b.Ga(),k=[0,0],m=[0,0],n=new g.Zl(a,b,d,!1),p=!1;n.next();){var q=n.nl(),r=n.hl();f.Vb(q,-1);h.Vb(r,-1);q=f.ha();q=h.ha().Ea(q,null,m,k,d);if(0!=q&&(p=!0,1==q&&(q=k[0],r=m[0],0<q&&1>q&&0<r&&1>r)))return e[0]=!0,!1}if(!p){e[0]=!0;k=new g.l;a.A(k);k.W(d,d);n=a;p=!1;m=new g.l;e=0;for(f=b.da();e<f;e++)if(0< |
|
b.Ja(e)){b.Rj(e,m);if(k.isIntersecting(m)){if(h=b.Na(b.Ba(e)),h=g.Dg.wm(n,h,0),0==h)return!1}else return!1;p||(!g.Dg.Ml(a,b.da()-1)||null!=a.Bb&&null!=a.Bb.Fb?n=a:(h=new g.Da,a.copyTo(h),h.fj(1),n=h),p=!0)}if(1==a.da()||1607==b.getType())return!0;k=new g.l;b.A(k);k.W(d,d);m=b;n=!1;d=new g.l;e=0;for(f=a.da();e<f;e++)if(0<a.Ja(e)){a.Rj(e,d);if(k.isIntersecting(d)&&(h=a.Na(a.Ba(e)),h=g.Dg.wm(m,h,0),1==h))return!1;n||(!g.Dg.Ml(b,a.da()-1)||null!=b.Bb&&null!=b.Bb.Fb?m=b:(h=new g.Da,b.copyTo(h),h.fj(1), |
|
m=h),n=!0)}return!0}return!1};c.JI=function(a,b,d,e){for(var f=a.Ga(),h=b.Ga(),k=[0,0],m=[0,0],n=new g.Zl(a,b,d,!1),p=!1;n.next();){var q=n.nl(),r=n.hl();f.Vb(q);h.Vb(r);q=f.ha();q=h.ha().Ea(q,null,m,k,d);if(2==q)p=!0;else if(0!=q){p=k[0];q=m[0];if(0<p&&1>p&&0<q&&1>q)return!1;p=!0}}if(!p)return!1;h=new g.l;k=new g.l;f=new g.l;a.A(h);b.A(k);h.W(1E3*d,1E3*d);k.W(1E3*d,1E3*d);f.K(h);f.Ea(k);return 10<a.I()&&(a=g.Ud.clip(a,f,d,0),a.B())||10<b.I()&&(b=g.Ud.clip(b,f,d,0),b.B())?!1:g.am.$m(a,b,d,"F********", |
|
e)};c.DI=function(a,b,d,e){for(var f=a.Ga(),h=b.Ga(),k=[0,0],m=[0,0],n=new g.Zl(a,b,d,!1),p=!1;n.next();){var q=n.nl(),r=n.hl();f.Vb(q);h.Vb(r);q=f.ha();q=h.ha().Ea(q,null,m,k,d);if(2==q)p=!0;else if(0!=q){p=k[0];q=m[0];if(0<p&&1>p&&0<q&&1>q)return!0;p=!0}}if(!p)return!1;h=new g.l;k=new g.l;m=new g.l;n=new g.l;f=new g.l;a.A(h);b.A(k);return c.ls(k,h,d)?(m.K(h),m.W(1E3*d,1E3*d),n.K(k),n.W(1E3*d,1E3*d),f.K(m),f.Ea(n),10<a.I()&&(a=g.Ud.clip(a,f,d,0),a.B())||10<b.I()&&(b=g.Ud.clip(b,f,d,0),b.B())?!1: |
|
d=g.am.$m(a,b,d,"T********",e)):d=g.am.$m(a,b,d,"T*****T**",e)};c.CI=function(a,b,d,e){var f=[!1],h=c.zI(a,b,d,f);if(f[0])return h;f=new g.l;b.A(f);f.W(1E3*d,1E3*d);return 10<a.I()&&(a=g.Ud.clip(a,f,d,0),a.B())?!1:g.am.fB(a,b,d,e)};c.AI=function(a,b,d){return 1==g.hd.Yd(a,b,d)?!0:!1};c.HI=function(a,b,d){return 2==g.hd.Yd(a,b,d)?!0:!1};c.kt=function(a,b,d){var e=new g.h;d*=d;for(var f=0;f<a.I();f++)if(a.D(f,e),g.h.yc(e,b)<=d)return!1;return!0};c.prototype.QE=function(a,b){a=this.rh[a];b=this.rh[b]; |
|
return a.Mm<b.Mm||a.Mm==b.Mm&&(a.pw<b.pw||a.pw==b.pw&&(a.Kj<b.Kj||a.Kj==b.Kj&&(a.Si<b.Si||a.Si==b.Si&&a.BH<b.BH)))?-1:1};return c}();g.ud=l})(D||={});(function(g){(function(c){c[c.InteriorInterior=0]="InteriorInterior";c[c.InteriorBoundary=1]="InteriorBoundary";c[c.InteriorExterior=2]="InteriorExterior";c[c.BoundaryInterior=3]="BoundaryInterior";c[c.BoundaryBoundary=4]="BoundaryBoundary";c[c.BoundaryExterior=5]="BoundaryExterior";c[c.ExteriorInterior=6]="ExteriorInterior";c[c.ExteriorBoundary=7]= |
|
"ExteriorBoundary";c[c.ExteriorExterior=8]="ExteriorExterior"})(l||={});var v;(function(c){c[c.AreaAreaPredicates=0]="AreaAreaPredicates";c[c.AreaLinePredicates=1]="AreaLinePredicates";c[c.LineLinePredicates=2]="LineLinePredicates";c[c.AreaPointPredicates=3]="AreaPointPredicates";c[c.LinePointPredicates=4]="LinePointPredicates";c[c.PointPointPredicates=5]="PointPointPredicates"})(v||={});var l=function(){function c(){this.le=0;this.j=new g.iu;this.J=[0,0,0,0,0,0,0,0,0];this.Za=[0,0,0,0,0,0,0,0,0]; |
|
this.ea=[!1,!1,!1,!1,!1,!1,!1,!1,!1];this.Sm=this.vw=-1}c.yB=function(a,b,d,e,f){if(9!=e.length)throw g.i.fa("relation string length has to be 9 characters");for(var h=0;9>h;h++){var k=e.charAt(h);if("*"!=k&&"T"!=k&&"F"!=k&&"0"!=k&&"1"!=k&&"2"!=k)throw g.i.fa("relation string");}h=this.MR(e,a.Db(),b.Db());if(0!=h)return g.ud.zB(a,b,d,h,f);h=new g.l;a.A(h);k=new g.l;b.A(k);var m=new g.l;m.K(h);m.Zb(k);d=g.ta.Wd(d,m,!1);a=this.WE(a,d);b=this.WE(b,d);if(a.B()||b.B())return this.uW(a,b,e);h=a.getType(); |
|
k=b.getType();m=!1;switch(h){case 1736:switch(k){case 1736:m=this.rt(a,b,d,e,f);break;case 1607:m=this.$m(a,b,d,e,f);break;case 33:m=this.qt(a,b,d,e);break;case 550:m=this.pt(a,b,d,e,f)}break;case 1607:switch(k){case 1736:m=this.$m(b,a,d,this.Zp(e),f);break;case 1607:m=this.gB(a,b,d,e,f);break;case 33:m=this.tt(a,b,d,e,f);break;case 550:m=this.st(a,b,d,e,f)}break;case 33:switch(k){case 1736:m=this.qt(b,a,d,this.Zp(e));break;case 1607:m=this.tt(b,a,d,this.Zp(e),f);break;case 33:m=this.$U(a,b,d,e); |
|
break;case 550:m=this.lt(b,a,d,this.Zp(e))}break;case 550:switch(k){case 1736:m=this.pt(b,a,d,this.Zp(e),f);break;case 1607:m=this.st(b,a,d,this.Zp(e),f);break;case 550:m=this.ZA(a,b,d,e,f);break;case 33:m=this.lt(a,b,d,e)}break;default:m=!1}return m};c.rt=function(a,b,d,e,f){var h=new c;h.Yi();h.bj(e);h.xJ();var k=new g.l,m=new g.l;a.A(k);b.A(m);e=!1;g.ud.dk(k,m,d)&&(h.Cu(a,b),e=!0);e||(k=g.ud.qc(a,b,!1),4==k?(h.Cu(a,b),e=!0):1==k?(h.ly(b),e=!0):2==k&&(h.ZD(a),e=!0));e||(e=new g.gd,a=e.Ib(a),b=e.Ib(b), |
|
h.Wo(e,d,f),h.Bp(a,b),h.j.Ug());return c.fg(h.J,h.Xc)};c.Sw=function(a,b,d,e){var f=new c;f.Yi();f.bj("T*****F**");f.xJ();var h=new g.l,k=new g.l;a.A(h);b.A(k);var m=!1;g.ud.dk(h,k,d)&&(f.Cu(a,b),m=!0);m||(h=g.ud.qc(a,b,!1),4==h?(f.Cu(a,b),m=!0):1==h?(f.ly(b),m=!0):2==h&&(f.ZD(a),m=!0));if(m)return h=this.fg(f.J,f.Xc);m=new g.gd;a=m.Ib(a);h=m.Ib(b);g.Tk.V(m,d,e,!1);d=m.Ne(h).mg();m.Gp(0,!0,!0);g.rn.V(m,a,-1,!1,e);if(0==m.I(a))return!1;g.rn.V(m,h,-1,!1,e);f.er(m,e);b=0==m.I(h);if(!b&&(f.Bp(a,h),f.j.Ug(), |
|
h=this.fg(f.J,f.Xc),!h))return h;a=m.Ne(a);m=new g.gd;a=m.Ib(a);h=m.Ib(d);f.er(m,e);f.le=0;f.Yi();f.bj(b?"T*****F**":"******F**");f.IB();f.Bp(a,h);f.j.Ug();return h=this.fg(f.J,f.Xc)};c.$m=function(a,b,d,e,f){var h=new c;h.Yi();h.bj(e);h.IB();var k=new g.l,m=new g.l;a.A(k);b.A(m);e=!1;g.ud.dk(k,m,d)&&(h.Du(a,b),e=!0);e||(k=g.ud.qc(a,b,!1),4==k?(h.Du(a,b),e=!0):1==k&&(h.$D(b),e=!0));e||(e=new g.gd,a=e.Ib(a),b=e.Ib(b),h.Wo(e,d,f),h.kh=h.j.Dp(),c.Jw(b,h.j,h.kh),h.Bp(a,b),h.j.Ep(h.kh),h.j.Ug());return c.fg(h.J, |
|
h.Xc)};c.fB=function(a,b,d,e){var f=new c;f.Yi();f.bj("T*****F**");f.IB();var h=new g.l,k=new g.l;a.A(h);b.A(k);var m=!1;g.ud.dk(h,k,d)&&(f.Du(a,b),m=!0);m||(h=g.ud.qc(a,b,!1),4==h?(f.Du(a,b),m=!0):1==h&&(f.$D(b),m=!0));if(m)return d=this.fg(f.J,f.Xc);m=new g.gd;a=m.Ib(a);b=m.Ib(b);f.Wo(m,d,e);if(0==m.I(a))return!1;f.Bp(a,b);f.j.Ug();return d=this.fg(f.J,f.Xc)};c.pt=function(a,b,d,e,f){var h=new c;h.Yi();h.bj(e);h.yJ();var k=new g.l,m=new g.l;a.A(k);b.A(m);e=!1;g.ud.dk(k,m,d)&&(h.Eu(a),e=!0);e||(k= |
|
g.ud.qc(a,b,!1),4==k?(h.Eu(a),e=!0):1==k&&(h.zN(),e=!0));e||(e=new g.gd,a=e.Ib(a),b=e.Ib(b),h.Wo(e,d,f),h.Gy(a,b),h.j.Ug());return c.fg(h.J,h.Xc)};c.gB=function(a,b,d,e,f){var h=new c;h.Yi();h.bj(e);h.eX();e=new g.l;var k=new g.l;a.A(e);b.A(k);var m=!1;g.ud.dk(e,k,d)&&(h.PG(a,b),m=!0);m||4!=g.ud.qc(a,b,!1)||(h.PG(a,b),m=!0);m||(e=new g.gd,a=e.Ib(a),b=e.Ib(b),h.Wo(e,d,f),h.Yh=h.j.Dp(),h.kh=h.j.Dp(),c.Jw(a,h.j,h.Yh),c.Jw(b,h.j,h.kh),h.Bp(a,b),h.j.Ep(h.Yh),h.j.Ep(h.kh),h.j.Ug());return c.fg(h.J,h.Xc)}; |
|
c.st=function(a,b,d,e,f){var h=new c;h.Yi();h.bj(e);h.MJ();e=new g.l;var k=new g.l;a.A(e);b.A(k);var m=!1;g.ud.dk(e,k,d)&&(h.Vz(a),m=!0);m||4!=g.ud.qc(a,b,!1)||(h.Vz(a),m=!0);m||(e=new g.gd,a=e.Ib(a),b=e.Ib(b),h.Wo(e,d,f),h.Yh=h.j.Dp(),c.Jw(a,h.j,h.Yh),h.Gy(a,b),h.j.Ep(h.Yh),h.j.Ug());return c.fg(h.J,h.Xc)};c.ZA=function(a,b,d,e,f){var h=new c;h.Yi();h.bj(e);h.RJ();e=new g.l;var k=new g.l;a.A(e);b.A(k);var m=!1;g.ud.dk(e,k,d)&&(h.yI(),m=!0);m||(e=new g.gd,a=e.Ib(a),b=e.Ib(b),h.Wo(e,d,f),h.Gy(a,b), |
|
h.j.Ug());return c.fg(h.J,h.Xc)};c.qt=function(a,b,d,e){var f=new c;f.Yi();f.bj(e);f.yJ();var h=new g.l;a.A(h);b=b.D();var k=!1;g.ud.Rw(b,h,d)&&(f.Eu(a),k=!0);k||(d=g.hd.Yd(a,b,d),1==d?(f.J[0]=0,f.J[2]=2,f.J[3]=-1,f.J[5]=1,f.J[6]=-1):2==d?(f.J[6]=-1,0!=a.Ke()?(f.J[0]=-1,f.J[3]=0,f.J[2]=2,f.J[5]=1):(f.J[0]=0,f.J[3]=-1,f.J[5]=-1,d=new g.l,a.A(d),f.J[2]=0==d.ca()&&0==d.R()?-1:1)):f.Eu(a));return this.fg(f.J,e)};c.tt=function(a,b,d,e,f){var h=new c;h.Yi();h.bj(e);h.MJ();var k=new g.l;a.A(k);e=b.D();var m= |
|
!1;g.ud.Rw(e,k,d)&&(h.Vz(a),m=!0);if(!m){k=null;var n=m=!1;if(h.ea[0]||h.ea[6])g.ud.Yz(a,e,d)?(h.ea[0]&&(k=g.pi.gm(a,f),n=!g.ud.kt(k,e,d),m=!0,h.J[0]=n?-1:0),h.J[6]=-1):(h.J[0]=-1,h.J[6]=0);h.ea[3]&&(null!=k&&k.B()?h.J[3]=-1:(m||(null==k&&(k=g.pi.gm(a,f)),n=!g.ud.kt(k,e,d),m=!0),h.J[3]=n?0:-1));h.ea[5]&&(null!=k&&k.B()?h.J[5]=-1:m&&!n?h.J[5]=0:(null==k&&(k=g.pi.gm(a,f)),f=g.ud.Nw(k,b,d),h.J[5]=f?-1:0));h.ea[2]&&(0!=a.Qb()?h.J[2]=1:(f=new g.de(a.description),f.Fd(a,0,a.I()),a=g.ud.Nw(f,b,d),h.J[2]= |
|
a?-1:0))}return this.fg(h.J,h.Xc)};c.lt=function(a,b,d,e){var f=new c;f.Yi();f.bj(e);f.RJ();var h=new g.l;a.A(h);b=b.D();var k=!1;g.ud.Rw(b,h,d)&&(f.yI(),k=!0);if(!k){h=!1;k=!0;d*=d;for(var m=0;m<a.I();m++){var n=a.Na(m);g.h.yc(n,b)<=d?h=!0:k=!1;if(h&&!k)break}h?(f.J[0]=0,f.J[2]=k?-1:0,f.J[6]=-1):(f.J[0]=-1,f.J[2]=0,f.J[6]=0)}return c.fg(f.J,e)};c.$U=function(a,b,d,e){a=a.D();b=b.D();for(var f=[],h=0;9>h;h++)f[h]=-1;g.h.yc(a,b)<=d*d?f[0]=0:(f[2]=0,f[6]=0);f[8]=2;return c.fg(f,e)};c.fg=function(a, |
|
b){for(var d=0;9>d;d++)switch(b.charAt(d)){case "T":if(-1==a[d])return!1;break;case "F":if(-1!=a[d])return!1;break;case "0":if(0!=a[d])return!1;break;case "1":if(1!=a[d])return!1;break;case "2":if(2!=a[d])return!1}return!0};c.uW=function(a,b,d){var e=[-1,-1,-1,-1,-1,-1,-1,-1,-1];if(a.B()&&b.B()){for(var f=0;9>f;f++)e[f]=-1;return this.fg(e,d)}f=!1;a.B()&&(a=b,f=!0);e[0]=-1;e[1]=-1;e[3]=-1;e[4]=-1;e[6]=-1;e[7]=-1;e[8]=2;b=a.getType();g.aa.Hc(b)?1736==b?0!=a.Ke()?(e[2]=2,e[5]=1):(e[5]=-1,b=new g.l, |
|
a.A(b),e[2]=0==b.ca()&&0==b.R()?0:1):(b=0!=a.Qb(),e[2]=b?1:0,e[5]=g.pi.aq(a)?0:-1):(e[2]=0,e[5]=-1);f&&this.vK(e);return this.fg(e,d)};c.MR=function(a,b,d){return c.dQ(a)?3:c.UP(a)?4:c.cY(a,b,d)?8:c.CP(a,b,d)?16:c.eP(a)?1:c.EU(a,b,d)?32:0};c.dQ=function(a){return"T"==a.charAt(0)&&"*"==a.charAt(1)&&"F"==a.charAt(2)&&"*"==a.charAt(3)&&"*"==a.charAt(4)&&"F"==a.charAt(5)&&"F"==a.charAt(6)&&"F"==a.charAt(7)&&"*"==a.charAt(8)?!0:!1};c.UP=function(a){return"F"==a.charAt(0)&&"F"==a.charAt(1)&&"*"==a.charAt(2)&& |
|
"F"==a.charAt(3)&&"F"==a.charAt(4)&&"*"==a.charAt(5)&&"*"==a.charAt(6)&&"*"==a.charAt(7)&&"*"==a.charAt(8)?!0:!1};c.cY=function(a,b,d){if(0==b&&0==d)return!1;if(2!=b||2!=d)if("F"==a.charAt(0)&&"*"==a.charAt(1)&&"*"==a.charAt(2)&&"T"==a.charAt(3)&&"*"==a.charAt(4)&&"*"==a.charAt(5)&&"*"==a.charAt(6)&&"*"==a.charAt(7)&&"*"==a.charAt(8)||1==b&&1==d&&"F"==a.charAt(0)&&"T"==a.charAt(1)&&"*"==a.charAt(2)&&"*"==a.charAt(3)&&"*"==a.charAt(4)&&"*"==a.charAt(5)&&"*"==a.charAt(6)&&"*"==a.charAt(7)&&"*"==a.charAt(8))return!0; |
|
return 0!=d&&"F"==a.charAt(0)&&"*"==a.charAt(1)&&"*"==a.charAt(2)&&"*"==a.charAt(3)&&"T"==a.charAt(4)&&"*"==a.charAt(5)&&"*"==a.charAt(6)&&"*"==a.charAt(7)&&"*"==a.charAt(8)?!0:!1};c.CP=function(a,b,d){return b>d?"T"==a.charAt(0)&&"*"==a.charAt(1)&&"*"==a.charAt(2)&&"*"==a.charAt(3)&&"*"==a.charAt(4)&&"*"==a.charAt(5)&&"T"==a.charAt(6)&&"*"==a.charAt(7)&&"*"==a.charAt(8)?!0:!1:1==b&&1==d&&"0"==a.charAt(0)&&"*"==a.charAt(1)&&"*"==a.charAt(2)&&"*"==a.charAt(3)&&"*"==a.charAt(4)&&"*"==a.charAt(5)&&"*"== |
|
a.charAt(6)&&"*"==a.charAt(7)&&"*"==a.charAt(8)?!0:!1};c.eP=function(a){return"T"==a.charAt(0)&&"*"==a.charAt(1)&&"*"==a.charAt(2)&&"*"==a.charAt(3)&&"*"==a.charAt(4)&&"*"==a.charAt(5)&&"F"==a.charAt(6)&&"F"==a.charAt(7)&&"*"==a.charAt(8)?!0:!1};c.EU=function(a,b,d){if(b==d){if(1!=b)return"T"==a.charAt(0)&&"*"==a.charAt(1)&&"T"==a.charAt(2)&&"*"==a.charAt(3)&&"*"==a.charAt(4)&&"*"==a.charAt(5)&&"T"==a.charAt(6)&&"*"==a.charAt(7)&&"*"==a.charAt(8)?!0:!1;if("1"==a.charAt(0)&&"*"==a.charAt(1)&&"T"== |
|
a.charAt(2)&&"*"==a.charAt(3)&&"*"==a.charAt(4)&&"*"==a.charAt(5)&&"T"==a.charAt(6)&&"*"==a.charAt(7)&&"*"==a.charAt(8))return!0}return!1};c.Jw=function(a,b,d){a=b.La(a);for(var e=b.Re;-1!=e;e=b.Rf(e))if(0!=(b.xd(e)&a)){var f=b.Me(e);if(-1==f)b.nn(e,d,0);else{var h=f,k=0;do 0!=(b.dh(h)&a)&&k++,h=b.jc(b.xa(h));while(h!=f);b.nn(e,d,k)}}};c.Zp=function(a){var b=""+a.charAt(0);b+=a.charAt(3);b+=a.charAt(6);b+=a.charAt(1);b+=a.charAt(4);b+=a.charAt(7);b+=a.charAt(2);b+=a.charAt(5);return b+=a.charAt(8)}; |
|
c.prototype.Yi=function(){for(var a=0;9>a;a++)this.J[a]=-2,this.Za[a]=-2};c.vK=function(a){var b=a[1],d=a[2],e=a[5];a[1]=a[3];a[2]=a[6];a[5]=a[7];a[3]=b;a[6]=d;a[7]=e};c.prototype.bj=function(a){this.Xc=a;for(a=0;9>a;a++)"*"!=this.Xc.charAt(a)?(this.ea[a]=!0,this.le++):this.ea[a]=!1};c.prototype.UJ=function(){for(var a=0;9>a;a++)this.ea[a]&&-2==this.J[a]&&(this.J[a]=-1,this.ea[a]=!1)};c.prototype.pc=function(a){if(-2==this.J[a])return!1;if(-1==this.J[a])return this.ea[a]=!1,this.le--,!0;if("T"!=this.Xc.charAt(a)&& |
|
"F"!=this.Xc.charAt(a)){if(this.J[a]<this.Za[a])return!1;this.ea[a]=!1;this.le--;return!0}this.ea[a]=!1;this.le--;return!0};c.prototype.xJ=function(){this.vw=0;this.Za[0]=2;this.Za[1]=1;this.Za[2]=2;this.Za[3]=1;this.Za[4]=1;this.Za[5]=1;this.Za[6]=2;this.Za[7]=1;this.Za[8]=2;this.ea[8]&&(this.J[8]=2,this.ea[8]=!1,this.le--)};c.prototype.IB=function(){this.vw=1;this.Sm=3;this.Za[0]=1;this.Za[1]=0;this.Za[2]=2;this.Za[3]=1;this.Za[4]=0;this.Za[5]=1;this.Za[6]=1;this.Za[7]=0;this.Za[8]=2;this.ea[8]&& |
|
(this.J[8]=2,this.ea[8]=!1,this.le--)};c.prototype.eX=function(){this.vw=2;this.Sm=4;this.Za[0]=1;this.Za[1]=0;this.Za[2]=1;this.Za[3]=0;this.Za[4]=0;this.Za[5]=0;this.Za[6]=1;this.Za[7]=0;this.Za[8]=2;this.ea[8]&&(this.J[8]=2,this.ea[8]=!1,this.le--)};c.prototype.yJ=function(){this.Sm=3;this.Za[0]=0;this.Za[1]=-1;this.Za[2]=2;this.Za[3]=0;this.Za[4]=-1;this.Za[5]=1;this.Za[6]=0;this.Za[7]=-1;this.Za[8]=2;this.ea[1]&&(this.J[1]=-1,this.ea[1]=!1,this.le--);this.ea[4]&&(this.J[4]=-1,this.ea[4]=!1,this.le--); |
|
this.ea[7]&&(this.J[7]=-1,this.ea[7]=!1,this.le--);this.ea[8]&&(this.J[8]=2,this.ea[8]=!1,this.le--)};c.prototype.MJ=function(){this.Sm=4;this.Za[0]=0;this.Za[1]=-1;this.Za[2]=1;this.Za[3]=0;this.Za[4]=-1;this.Za[5]=0;this.Za[6]=0;this.Za[7]=-1;this.Za[8]=2;this.ea[1]&&(this.J[1]=-1,this.ea[1]=!1,this.le--);this.ea[4]&&(this.J[4]=-1,this.ea[4]=!1,this.le--);this.ea[7]&&(this.J[7]=-1,this.ea[7]=!1,this.le--);this.ea[8]&&(this.J[8]=2,this.ea[8]=!1,this.le--)};c.prototype.RJ=function(){this.Sm=5;this.Za[0]= |
|
0;this.Za[1]=-1;this.Za[2]=0;this.Za[3]=-1;this.Za[4]=-1;this.Za[5]=-1;this.Za[6]=0;this.Za[7]=-1;this.Za[8]=2;this.ea[1]&&(this.J[1]=-1,this.ea[1]=!1,this.le--);this.ea[3]&&(this.J[3]=-1,this.ea[3]=!1,this.le--);this.ea[4]&&(this.J[4]=-1,this.ea[4]=!1,this.le--);this.ea[5]&&(this.J[5]=-1,this.ea[5]=!1,this.le--);this.ea[7]&&(this.J[7]=-1,this.ea[7]=!1,this.le--);this.ea[8]&&(this.J[8]=2,this.ea[8]=!1,this.le--)};c.prototype.xN=function(a,b,d){var e=!0;this.ea[0]&&(this.CS(a,b,d),e=e&&this.pc(0)); |
|
this.ea[1]&&(this.sG(a,b,1),e=e&&this.pc(1));this.ea[2]&&(this.tG(a,b,d,2),e=e&&this.pc(2));this.ea[3]&&(this.sG(a,d,3),e=e&&this.pc(3));this.ea[4]&&(this.BN(a,b,d),e=e&&this.pc(4));this.ea[5]&&(this.eE(a,d,5),e=e&&this.pc(5));this.ea[6]&&(this.tG(a,d,b,6),e=e&&this.pc(6));this.ea[7]&&(this.eE(a,b,7),e=e&&this.pc(7));return e};c.prototype.Cu=function(a,b){this.J[0]=-1;this.J[1]=-1;this.J[3]=-1;this.J[4]=-1;this.Fr(a,this.ea[2]?2:-1,this.Xc.charAt(2),this.ea[5]?5:-1,this.Xc.charAt(5));this.Fr(b,this.ea[6]? |
|
6:-1,this.Xc.charAt(6),this.ea[7]?7:-1,this.Xc.charAt(7))};c.prototype.Fr=function(a,b,d,e,f){if(-1!=b||-1!=e)("T"!=d&&"F"!=d&&-1!=b||"T"!=f&&"F"!=f&&-1!=e?0!=a.Ke():1)?(-1!=b&&(this.J[b]=2),-1!=e&&(this.J[e]=1)):(-1!=e&&(this.J[e]=-1),-1!=b&&(d=new g.l,a.A(d),this.J[b]=0==d.ca()&&0==d.R()?0:1))};c.prototype.ly=function(a){this.J[2]=2;this.J[3]=-1;this.J[4]=-1;this.J[5]=1;this.J[6]=-1;this.J[7]=-1;this.Fr(a,this.ea[0]?0:-1,this.Xc.charAt(0),this.ea[1]?1:-1,this.Xc.charAt(1))};c.prototype.ZD=function(a){this.ly(a); |
|
c.vK(this.J)};c.prototype.Du=function(a,b){this.J[0]=-1;this.J[1]=-1;this.J[3]=-1;this.J[4]=-1;if(this.ea[6]){var d=this.Xc.charAt(6);d="T"!=d&&"F"!=d?0!=b.Qb():!0;this.J[6]=d?1:0}this.ea[7]&&(b=g.pi.aq(b),this.J[7]=b?0:-1);this.Fr(a,this.ea[2]?2:-1,this.Xc.charAt(2),this.ea[5]?5:-1,this.Xc.charAt(5))};c.prototype.$D=function(a){if(this.ea[0]){var b=this.Xc.charAt(0);b="T"!=b&&"F"!=b?0!=a.Qb():!0;this.J[0]=b?1:0}this.ea[1]&&(a=g.pi.aq(a),this.J[1]=a?0:-1);this.J[2]=2;this.J[3]=-1;this.J[4]=-1;this.J[5]= |
|
1;this.J[6]=-1;this.J[7]=-1};c.prototype.Eu=function(a){this.J[0]=-1;this.J[3]=-1;this.J[6]=0;this.Fr(a,this.ea[2]?2:-1,this.Xc.charAt(2),this.ea[5]?5:-1,this.Xc.charAt(5))};c.prototype.zN=function(){this.J[0]=0;this.J[2]=2;this.J[3]=-1;this.J[5]=1;this.J[6]=-1};c.prototype.PG=function(a,b){this.J[0]=-1;this.J[1]=-1;this.J[3]=-1;this.J[4]=-1;if(this.ea[2]){var d=this.Xc.charAt(2);d="T"!=d&&"F"!=d?0!=a.Qb():!0;this.J[2]=d?1:0}this.ea[5]&&(a=g.pi.aq(a),this.J[5]=a?0:-1);this.ea[6]&&(d=this.Xc.charAt(6), |
|
d="T"!=d&&"F"!=d?0!=b.Qb():!0,this.J[6]=d?1:0);this.ea[7]&&(b=g.pi.aq(b),this.J[7]=b?0:-1)};c.prototype.Vz=function(a){this.J[0]=-1;this.J[3]=-1;if(this.ea[2]){var b=this.Xc.charAt(2);b="T"!=b&&"F"!=b?0!=a.Qb():!0;this.J[2]=b?1:0}this.ea[5]&&(a=g.pi.aq(a),this.J[5]=a?0:-1);this.J[6]=0};c.prototype.yI=function(){this.J[0]=-1;this.J[2]=0;this.J[6]=0};c.prototype.yN=function(a,b,d){var e=!0;this.ea[0]&&(this.DS(a,b),e=e&&this.pc(0));this.ea[1]&&(this.zS(a,b,d,this.kh),e=e&&this.pc(1));this.ea[2]&&(this.AS(a, |
|
b),e=e&&this.pc(2));this.ea[3]&&(this.FN(a,b,d,this.kh),e=e&&this.pc(3));this.ea[4]&&(this.CN(a,b,d,this.kh),e=e&&this.pc(4));this.ea[5]&&(this.DN(a,b,d),e=e&&this.pc(5));this.ea[6]&&(this.lQ(a,b),e=e&&this.pc(6));this.ea[7]&&(this.kQ(a,b,d,this.kh),e=e&&this.pc(7));return e};c.prototype.mT=function(a,b,d){var e=!0;this.ea[0]&&(this.GS(a,b,d,this.Yh,this.kh),e=e&&this.pc(0));this.ea[1]&&(this.uG(a,b,d,this.Yh,this.kh,1),e=e&&this.pc(1));this.ea[2]&&(this.vG(a,b,d,2),e=e&&this.pc(2));this.ea[3]&&(this.uG(a, |
|
d,b,this.kh,this.Yh,3),e=e&&this.pc(3));this.ea[4]&&(this.HN(a,b,d,this.Yh,this.kh),e=e&&this.pc(4));this.ea[5]&&(this.fE(a,d,this.Yh,5),e=e&&this.pc(5));this.ea[6]&&(this.vG(a,d,b,6),e=e&&this.pc(6));this.ea[7]&&(this.fE(a,b,this.kh,7),e=e&&this.pc(7));return e};c.prototype.aE=function(a,b,d){var e=!0;this.ea[0]&&(this.ES(a,b),e=e&&this.pc(0));this.ea[2]&&(this.BS(a,b),e=e&&this.pc(2));this.ea[3]&&(this.GN(a,b,d),e=e&&this.pc(3));this.ea[5]&&(this.EN(a,b),e=e&&this.pc(5));this.ea[6]&&(this.mQ(a, |
|
b),e=e&&this.pc(6));return e};c.prototype.QG=function(a,b,d){var e=!0;this.ea[0]&&(this.HS(a,b,d,this.Yh),e=e&&this.pc(0));this.ea[2]&&(this.FS(a,d),e=e&&this.pc(2));this.ea[3]&&(this.JN(a,b,d,this.Yh),e=e&&this.pc(3));this.ea[5]&&(this.IN(a,b,d,this.Yh),e=e&&this.pc(5));this.ea[6]&&(this.nQ(a,b,d),e=e&&this.pc(6));return e};c.prototype.ZU=function(a,b,d){var e=!0;this.ea[0]&&(this.IS(a,b,d),e=e&&this.pc(0));this.ea[2]&&(this.wG(a,b,d,2),e=e&&this.pc(2));this.ea[6]&&(this.wG(a,d,b,6),e=e&&this.pc(6)); |
|
return e};c.prototype.CS=function(a,b,d){2!=this.J[0]&&(a=this.j.af(a),0!=(a&b)&&0!=(a&d)&&(this.J[0]=2))};c.prototype.sG=function(a,b,d){if(1!=this.J[d]){var e=this.j.af(this.j.xa(a));0!=(this.j.af(a)&b)&&0!=(e&b)&&(this.J[d]=1)}};c.prototype.tG=function(a,b,d,e){2!=this.J[e]&&(a=this.j.af(a),0!=(a&b)&&0==(a&d)&&(this.J[e]=2))};c.prototype.BN=function(a,b,d){if(1!=this.J[4]){var e=this.j.dh(a);0!=(e&b)&&0!=(e&d)?this.J[4]=1:0!=this.J[4]&&1!=this.j.Ab(this.j.te(this.j.xa(a)),this.Ui)&&(a=this.j.xd(this.j.uf(a)), |
|
0!=(a&b)&&0!=(a&d)&&(this.J[4]=0))}};c.prototype.eE=function(a,b,d){if(1!=this.J[d]){var e=this.j.af(this.j.xa(a));0==(this.j.af(a)&b)&&0==(e&b)&&(this.J[d]=1)}};c.prototype.DS=function(a,b){if(1!=this.J[0]){var d=this.j.af(this.j.xa(a));0!=(this.j.af(a)&b)&&0!=(d&b)&&(this.J[0]=1)}};c.prototype.zS=function(a,b,d,e){if(0!=this.J[1]&&1!=this.j.Ab(this.j.te(this.j.xa(a)),this.Ui)){var f=this.j.uf(a),h=this.j.xd(f);0==(h&b)&&0!=(this.j.af(a)&b)&&(a=this.j.ng(f,e),0!=(h&d)&&0!=a%2&&(this.J[1]=0))}};c.prototype.AS= |
|
function(a,b){2!=this.J[2]&&0!=(this.j.dh(a)&b)&&(this.J[2]=2)};c.prototype.FN=function(a,b,d,e){if(1!=this.J[3]){var f=this.j.dh(a);0!=(f&b)&&0!=(f&d)?this.J[3]=1:0!=this.J[3]&&1!=this.j.Ab(this.j.te(this.j.xa(a)),this.Ui)&&(f=this.j.uf(a),a=this.j.xd(f),0!=(a&b)&&(b=this.j.ng(f,e),0!=(a&d)&&0==b%2&&(this.J[3]=0)))}};c.prototype.CN=function(a,b,d,e){if(0!=this.J[4]&&1!=this.j.Ab(this.j.te(this.j.xa(a)),this.Ui)){var f=this.j.uf(a);a=this.j.xd(f);0!=(a&b)&&(b=this.j.ng(f,e),0!=(a&d)&&0!=b%2&&(this.J[4]= |
|
0))}};c.prototype.DN=function(a,b,d){1!=this.J[5]&&(a=this.j.dh(a),0!=(a&b)&&0==(a&d)&&(this.J[5]=1))};c.prototype.lQ=function(a,b){if(1!=this.J[6]){var d=this.j.af(this.j.xa(a));0==(this.j.af(a)&b)&&0==(d&b)&&(this.J[6]=1)}};c.prototype.kQ=function(a,b,d,e){if(0!=this.J[7]&&1!=this.j.Ab(this.j.te(this.j.xa(a)),this.Ui)){var f=this.j.uf(a),h=this.j.xd(f);0==(h&b)&&0==(this.j.af(a)&b)&&(a=this.j.ng(f,e),0!=(h&d)&&0!=a%2&&(this.J[7]=0))}};c.prototype.GS=function(a,b,d,e,f){if(1!=this.J[0]){var h=this.j.dh(a); |
|
0!=(h&b)&&0!=(h&d)?this.J[0]=1:0!=this.J[0]&&1!=this.j.Ab(this.j.te(this.j.xa(a)),this.Ui)&&(a=this.j.uf(a),h=this.j.xd(a),0!=(h&b)&&0!=(h&d)&&(b=this.j.ng(a,e),f=this.j.ng(a,f),0==b%2&&0==f%2&&(this.J[0]=0)))}};c.prototype.uG=function(a,b,d,e,f,h){if(0!=this.J[h]&&1!=this.j.Ab(this.j.te(this.j.xa(a)),this.Ui)){a=this.j.uf(a);var k=this.j.xd(a);0!=(k&b)&&0!=(k&d)&&(b=this.j.ng(a,e),f=this.j.ng(a,f),0==b%2&&0!=f%2&&(this.J[h]=0))}};c.prototype.vG=function(a,b,d,e){1!=this.J[e]&&(a=this.j.dh(a),0!= |
|
(a&b)&&0==(a&d)&&(this.J[e]=1))};c.prototype.HN=function(a,b,d,e,f){if(0!=this.J[4]&&1!=this.j.Ab(this.j.te(this.j.xa(a)),this.Ui)){a=this.j.uf(a);var h=this.j.xd(a);0!=(h&b)&&0!=(h&d)&&(b=this.j.ng(a,e),f=this.j.ng(a,f),0!=b%2&&0!=f%2&&(this.J[4]=0))}};c.prototype.fE=function(a,b,d,e){0!=this.J[e]&&1!=this.j.Ab(this.j.te(this.j.xa(a)),this.Ui)&&(a=this.j.uf(a),0==(this.j.xd(a)&b)&&0!=this.j.ng(a,d)%2&&(this.J[e]=0))};c.prototype.ES=function(a,b){0!=this.J[0]&&0==(this.j.xd(a)&b)&&0!=(this.j.hk(this.j.cz(a))& |
|
b)&&(this.J[0]=0)};c.prototype.BS=function(a,b){2!=this.J[2]&&0!=(this.j.xd(a)&b)&&(this.J[2]=2)};c.prototype.GN=function(a,b,d){0!=this.J[3]&&(a=this.j.xd(a),0!=(a&b)&&0!=(a&d)&&(this.J[3]=0))};c.prototype.EN=function(a,b){1!=this.J[5]&&0!=(this.j.xd(a)&b)&&(this.J[5]=1)};c.prototype.mQ=function(a,b){0!=this.J[6]&&0==(this.j.xd(a)&b)&&0==(this.j.hk(this.j.cz(a))&b)&&(this.J[6]=0)};c.prototype.HS=function(a,b,d,e){if(0!=this.J[0]){var f=this.j.xd(a);0!=(f&b)&&0!=(f&d)&&0==this.j.ng(a,e)%2&&(this.J[0]= |
|
0)}};c.prototype.FS=function(a,b){1!=this.J[2]&&(-1!=this.j.Me(a)?this.J[2]=1:0!=this.J[2]&&0==(this.j.xd(a)&b)&&(this.J[2]=0))};c.prototype.JN=function(a,b,d,e){if(0!=this.J[3]){var f=this.j.xd(a);0!=(f&b)&&0!=(f&d)&&0!=this.j.ng(a,e)%2&&(this.J[3]=0)}};c.prototype.IN=function(a,b,d,e){if(0!=this.J[5]){var f=this.j.xd(a);0!=(f&b)&&0==(f&d)&&0!=this.j.ng(a,e)%2&&(this.J[5]=0)}};c.prototype.nQ=function(a,b,d){0!=this.J[6]&&(a=this.j.xd(a),0==(a&b)&&0!=(a&d)&&(this.J[6]=0))};c.prototype.IS=function(a, |
|
b,d){0!=this.J[0]&&(a=this.j.xd(a),0!=(a&b)&&0!=(a&d)&&(this.J[0]=0))};c.prototype.wG=function(a,b,d,e){0!=this.J[e]&&(a=this.j.xd(a),0!=(a&b)&&0==(a&d)&&(this.J[e]=0))};c.prototype.Bp=function(a,b){var d=!1;a=this.j.La(a);b=this.j.La(b);this.Ui=this.j.$g();for(var e=this.j.Re;-1!=e;e=this.j.Rf(e)){var f=this.j.Me(e);if(-1==f){if(-1!=this.Sm)switch(this.Sm){case 3:d=this.aE(e,a,b);break;case 4:d=this.QG(e,a,b);break;default:throw g.i.fa("internal error");}}else{var h=f;do{var k=h;if(1!=this.j.Ab(k, |
|
this.Ui)){do{switch(this.vw){case 0:d=this.xN(k,a,b);break;case 1:d=this.yN(k,a,b);break;case 2:d=this.mT(k,a,b);break;default:throw g.i.fa("internal error");}if(d)break;this.j.Kb(k,this.Ui,1);k=this.j.jc(k)}while(k!=h&&!d)}if(d)break;h=this.j.jc(this.j.xa(k))}while(h!=f);if(d)break}}d||this.UJ();this.j.Jg(this.Ui)};c.prototype.Gy=function(a,b){var d=!1;a=this.j.La(a);b=this.j.La(b);for(var e=this.j.Re;-1!=e;e=this.j.Rf(e)){switch(this.Sm){case 3:d=this.aE(e,a,b);break;case 4:d=this.QG(e,a,b);break; |
|
case 5:d=this.ZU(e,a,b);break;default:throw g.i.Qa();}if(d)break}d||this.UJ()};c.prototype.er=function(a,b){this.j.dr(a,b)};c.prototype.Wo=function(a,b,d){this.YP(a,b,d);this.er(a,d)};c.prototype.YP=function(a,b,d){g.Tk.V(a,b,d,!1);a.Gp(0,!0,!0);for(b=a.ld;-1!=b;b=a.ue(b))1736==a.ic(b)&&g.rn.V(a,b,-1,!1,d)};c.WE=function(a,b){var d=a.getType();if(g.aa.yd(d))return b=new g.Ta(a.description),b.oc(a,!0),b;if(197==d){d=new g.l;a.A(d);if(d.ca()<=b&&d.R()<=b)return b=new g.Sa(a.description),a.sf(b),b;if(d.ca()<= |
|
b||d.R()<=b)return b=new g.Ta(a.description),d=new g.Sa,a.Hf(0,d),b.nf(d),a.Hf(2,d),b.lineTo(d),b;b=new g.Da(a.description);b.ad(a,!1);return b}return a};return c}();g.am=l})(D||={});(function(g){var v=function(){function a(b){this.Em=new g.ia(0);this.dw=new g.ia(0);this.wt=new g.h;this.xt=new g.h;this.g=b;this.Hs=-1}a.prototype.bc=function(b){return this.g.bc(this.zz(b))};a.prototype.Bv=function(b){var d=this.iz(b);b=this.HF(b);if(this.g.Ma(d)==b){var e=d;d=b;b=e}this.g.Gc(d,this.wt);this.g.Gc(b, |
|
this.xt);return this.wt.y<this.xt.y};a.prototype.zz=function(b){var d=this.iz(b);b=this.HF(b);return this.g.U(d)==b?d:b};a.prototype.iz=function(b){return this.Em.get(b)};a.prototype.HF=function(b){return this.dw.get(b)};a.prototype.rF=function(b){this.Em.set(b,this.Hs);this.Hs=b};a.prototype.nI=function(b){if(-1!=this.Hs){var d=this.Hs;this.Hs=this.Em.get(d);this.Em.set(d,b);this.dw.set(d,this.g.U(b));return d}null==this.Em&&(this.Em=new g.ia(0),this.dw=new g.ia(0));d=this.Em.size;this.Em.add(b); |
|
this.dw.add(this.g.U(b));return d};a.prototype.rz=function(b){return this.g.bd(this.iz(b))};return a}();g.yY=v;var l=function(){function a(b){this.Be=b;this.ie=new g.yb;this.Nm=new g.yb;this.CH=0;this.Ao=null;this.yA=-1}a.prototype.compare=function(b,d,e){e=b.ja(e);var f=this.Be.hb;if(this.yA==d)var h=this.CH;else this.Ao=f.bc(d),null==this.Ao?(b=f.g,b.ed(f.zz(d),this.ie),this.Ao=this.ie,h=this.ie.Pe(this.Be.yh,0)):h=this.Ao.Pe(this.Be.yh,0),this.CH=h,this.yA=d;b=f.bc(e);if(null==b){b=f.g;b.ed(f.zz(e), |
|
this.Nm);b=this.Nm;var k=this.Nm.Pe(this.Be.yh,0)}else k=b.Pe(this.Be.yh,0);h==k&&(d=f.Bv(d),e=f.Bv(e),e=Math.min(d?this.Ao.la:this.Ao.na,e?b.la:b.na),d=.5*(e+this.Be.yh),d==this.Be.yh&&(d=e),h=this.Ao.Pe(d,0),k=b.Pe(d,0));return h<k?-1:h>k?1:0};a.prototype.reset=function(){this.yA=-1};return a}(),c=function(){function a(){this.Wm=this.Gl=null;this.fb=new g.Yj;this.fb.RP();this.$d=new l(this);this.fb.Vo(this.$d)}a.prototype.HQ=function(){var b=!1;this.fw&&(b=this.IQ());if(1==this.g.da(this.X)){var d= |
|
this.g.Ob(this.X);b=this.g.wz(d);this.g.PB(d,!0);return 0>b?(b=this.g.Xa(d),this.g.pJ(b),this.g.Wg(d,this.g.Ma(b)),!0):!1}this.El=this.g.Ky();this.wo=this.g.Ky();for(d=this.g.Ob(this.X);-1!=d;d=this.g.Rb(d))this.g.gr(d,this.El,0),this.g.gr(d,this.wo,-1);d=new g.ia(0);this.yh=NaN;var e=new g.h;this.et=this.g.da(this.X);this.ro=this.g.Gd();this.Rs=this.g.Gd();for(var f=this.Gl.rc(this.Gl.je);-1!=f;f=this.Gl.lb(f)){var h=this.Gl.getData(f);this.g.Gc(h,e);e.y!=this.yh&&0!=d.size&&(b=this.ut(d)||b,this.$d.reset(), |
|
d.clear(!1));d.add(h);this.yh=e.y;if(0==this.et)break}0<this.et&&(b=this.ut(d)||b,d.clear(!1));this.g.Td(this.ro);this.g.Td(this.Rs);for(d=this.g.Ob(this.X);-1!=d;)if(3==this.g.sj(d,this.El)){this.g.PB(d,!0);e=d;for(d=this.g.sj(d,this.wo);-1!=d;)f=this.g.sj(d,this.wo),this.g.ZT(this.X,this.g.Rb(e),d),e=d,d=f;d=this.g.Rb(e)}else this.g.PB(d,!1),d=this.g.Rb(d);this.g.CB(this.El);this.g.CB(this.wo);return b};a.prototype.ut=function(b){return this.$V(b)};a.prototype.$V=function(b){var d=!1;null==this.hb&& |
|
(this.hb=new v(this.g));null==this.Wm?(this.Wm=new g.ia(0),this.Wm.Jb(16)):this.Wm.clear(!1);this.ZV(b);for(var e=0,f=b.size;e<f;e++){var h=b.get(e);-1!=h&&this.oG(h,-1)}for(e=0;e<this.Wm.size&&0<this.et;e++)if(b=this.Wm.get(e),h=this.hb.rz(this.fb.ja(b)),f=-1,0==this.g.sj(h,this.El)){h=this.fb.we(b);for(var k=b,m;-1!=h;){var n=this.fb.ja(h),p=this.hb.rz(n),q=this.g.sj(p,this.El);if(0!=q){f=p;break}k=h;h=this.fb.we(h)}-1==h?(m=!0,h=k):(n=this.fb.ja(h),m=this.hb.Bv(n),h=this.fb.lb(h),m=!m);do{n=this.fb.ja(h); |
|
p=this.hb.rz(n);q=this.g.sj(p,this.El);if(0==q&&(m!=this.hb.Bv(n)&&(d=this.g.Xa(p),this.g.pJ(d),this.g.Wg(p,this.g.Ma(d)),d=!0),this.g.gr(p,this.El,m?3:2),m||(k=this.g.sj(f,this.wo),this.g.gr(f,this.wo,p),this.g.gr(p,this.wo,k)),this.et--,0==this.et))return d;f=p;k=h;h=this.fb.lb(h);m=!m}while(k!=b)}return d};a.prototype.ZV=function(b){for(var d=0,e=b.size;d<e;d++){var f=b.get(d),h=this.g.Pa(f,this.ro),k=this.g.Pa(f,this.Rs);if(-1!=h){var m=this.fb.ja(h);this.hb.rF(m);this.g.Ra(f,this.ro,-1)}-1!= |
|
k&&(m=this.fb.ja(k),this.hb.rF(m),this.g.Ra(f,this.Rs,-1));m=-1;-1!=h&&-1!=k?(this.fb.vd(h,-1),this.fb.vd(k,-1),b.set(d,-1)):m=-1!=h?h:k;-1!=m&&(this.oG(f,m)||this.fb.vd(m,-1),b.set(d,-1))}};a.prototype.oG=function(b,d){var e=new g.h,f=new g.h;this.g.Gc(b,e);var h=this.g.U(b);this.g.Gc(h,f);var k=!1;if(e.y<f.y){k=!0;var m=this.hb.nI(b);if(-1==d)var n=this.fb.addElement(m,-1);else n=d,this.fb.Sj(n,m);m=this.g.Pa(h,this.ro);-1==m?this.g.Ra(h,this.ro,n):this.g.Ra(h,this.Rs,n);h=this.g.bd(b);0==this.g.sj(h, |
|
this.El)&&this.Wm.add(n)}h=this.g.Ma(b);this.g.Gc(h,f);e.y<f.y&&(k=!0,m=this.hb.nI(h),-1==d?n=this.fb.addElement(m,-1):(n=d,this.fb.Sj(n,m)),m=this.g.Pa(h,this.ro),-1==m?this.g.Ra(h,this.ro,n):this.g.Ra(h,this.Rs,n),h=this.g.bd(b),0==this.g.sj(h,this.El)&&this.Wm.add(n));return k};a.V=function(b,d,e,f){var h=new a;h.g=b;h.X=d;h.Gl=e;h.fw=f;return h.HQ()};a.prototype.IQ=function(){var b=new g.ia(0),d=new g.ia(0),e=-1,f=-1,h=new g.h;h.Rc();for(var k=-1,m=-1,n=-1,p=new g.h,q=this.Gl.rc(this.Gl.je);-1!= |
|
q;q=this.Gl.lb(q)){var r=this.Gl.getData(q);this.g.Gc(r,p);var t=this.g.bd(r);h.qb(p)&&m==t?(-1==f&&(e=this.g.Ky(),f=this.g.Gd()),-1==n&&(n=d.size,this.g.Ra(k,f,n),d.add(1),-1==this.g.sj(t,e)&&(this.g.gr(t,e,k),b.add(t))),this.g.Ra(r,f,n),d.bX(d.Fc()+1)):(n=-1,h.L(p));k=r;m=t}if(0==b.size)return!1;h=new g.ia(0);k=new g.ia(0);m=0;for(n=b.size;m<n;m++){t=b.get(m);var u=this.g.sj(t,e);r=this.g.Pa(u,f);h.clear(!1);k.clear(!1);h.add(u);k.add(r);for(r=this.g.U(u);r!=u;r=this.g.U(r)){var w=r;p=this.g.Pa(w, |
|
f);if(-1!=p)if(0==k.size)k.add(p),h.add(w);else if(k.Fc()==p){q=h.Fc();var y=this.g.U(q);u=this.g.U(w);this.g.Bc(q,u);this.g.Cc(u,q);this.g.Bc(w,y);this.g.Cc(y,w);w=[!1];y=this.g.nG(this.X,y,this.g.Xa(t),w);this.g.Ra(r,f,-1);w[0]&&this.g.Jf(t,u);r=this.g.Ja(t);u=this.g.Ja(y);r-=u;this.g.Vj(t,r);d.set(p,d.get(p)-1);1==d.get(p)&&(d.set(p,0),k.If(),h.If());r=u=q}else h.add(r),k.add(p)}}this.g.CB(e);this.g.Td(f);return!0};return a}();g.WL=c})(D||={});(function(g){var v=function(){function l(){}l.prototype.ig= |
|
function(){this.PA=this.sb=null};l.prototype.get=function(){return this.PA};l.prototype.set=function(c){this.PA=c;if(null!=c)throw 322==c.getType()&&(this.sb=c),g.i.Qa();};l.prototype.create=function(c){if(322==c)this.Or();else throw g.i.fa("Not Implemented");};l.prototype.Or=function(){null==this.sb&&(this.sb=new g.yb);this.PA=this.sb};return l}();g.ig=v})(D||={});(function(g){g=g.XL||(g.XL={});g[g.enumLineSeg=1]="enumLineSeg";g[g.enumBezierSeg=2]="enumBezierSeg";g[g.enumArcSeg=4]="enumArcSeg";g[g.enumNonlinearSegmentMask= |
|
6]="enumNonlinearSegmentMask";g[g.enumSegmentMask=7]="enumSegmentMask";g[g.enumDensified=8]="enumDensified"})(D||={});(function(g){var v=function(){return function(c){this.$i=c;this.qC=this.rC=1;this.sB=this.rB=this.tB=0}}(),l=function(){function c(){this.Fq=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];this.Bk=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];this.Bf=new g.Sa;this.qa=this.Cw=0;this.mo=[];this.$s=[];this.yw=[];this.Iq=[];this.MA=[]}c.prototype.wB=function(a){if(null!=a){for(var b=0,d=a.length;b<d;b++)this.rW(a[b]); |
|
a.length=0}};c.prototype.rW=function(a){a.$i=null;this.Iq.push(a)};c.prototype.Ow=function(a){if(0===this.Iq.length)var b=new v(a);else b=this.Iq[this.Iq.length-1],b.$i=a,--this.Iq.length;return b};c.prototype.SR=function(a,b){return 0==a?this.$s[b]:this.yw[b]};c.prototype.aB=function(){this.Cw>=this.MA.length&&this.MA.push(new g.ig);var a=this.MA[this.Cw];this.Cw++;return a};c.prototype.clear=function(){this.wB(this.mo);this.wB(this.$s);this.wB(this.yw);this.Cw=0};c.prototype.Oo=function(a){this.mo.push(this.Ow(a))}; |
|
c.prototype.ol=function(a){return 0==a?this.$s.length:this.yw.length};c.prototype.Vp=function(a,b){return this.SR(a,b).$i};c.prototype.Ea=function(a,b){if(2!=this.mo.length)throw g.i.Qa();this.qa=a;var d=g.lc.ox(.01*a),e=!1,f=this.mo[0],h=this.mo[1];if(b||0!=(f.$i.zr(h.$i,a,!0)&5)){if(322==f.$i.getType()){var k=f.$i;if(322==h.$i.getType()){b=h.$i;var m=g.yb.Zx(k,b,null,this.Fq,this.Bk,a);if(0==m)throw g.yb.Zx(k,b,null,this.Fq,this.Bk,a),g.i.Qa();a=Array(9);g.O.$u(a,null);for(var n=0;n<m;n++){var p= |
|
this.Fq[n],q=this.Bk[n],r=f.sB,t=1;0==p?(r=f.tB,t=f.rC):1==p&&(r=f.rB,t=f.qC);var u=h.sB,w=1;0==q?(u=h.tB,w=h.rC):1==q&&(u=h.rB,w=h.qC);var y=new g.h;r==u?(r=new g.h,k.hc(p,r),p=new g.h,b.hc(q,p),q=t+w,w/=q,g.lc.OG(r,p,w,y),g.h.yc(y,r)+g.h.yc(y,p)>d&&(e=!0)):r>u?(k.hc(p,y),p=new g.h,b.hc(q,p),g.h.yc(y,p)>d&&(e=!0)):(b.hc(q,y),r=new g.h,k.hc(p,r),g.h.yc(y,r)>d&&(e=!0));a[n]=y}f=0;h=-1;for(n=0;n<=m;n++)w=n<m?this.Fq[n]:1,w!=f&&(d=this.aB(),k.ah(f,w,d),-1!=h&&d.get().Dc(a[h]),n!=m&&d.get().Qc(a[n]), |
|
f=w,this.$s.push(this.Ow(d.get()))),h=n;k=[0,0,0,0,0,0,0,0,0];for(n=0;n<m;n++)k[n]=n;1<m&&this.Bk[0]>this.Bk[1]&&(w=this.Bk[0],this.Bk[0]=this.Bk[1],this.Bk[1]=w,n=k[0],k[0]=k[1],k[1]=n);f=0;h=-1;for(n=0;n<=m;n++)w=n<m?this.Bk[n]:1,w!=f&&(d=this.aB(),b.ah(f,w,d),-1!=h&&(f=k[h],d.get().Dc(a[f])),n!=m&&(f=k[n],d.get().Qc(a[f])),f=w,this.yw.push(this.Ow(d.get()))),h=n;return e}}throw g.i.Qa();}return!1};c.prototype.Kz=function(a,b,d){b.copyTo(this.Bf);if(1!=this.mo.length)throw g.i.Qa();this.qa=a;var e= |
|
this.mo[0];if(d||e.$i.ru(b.D(),a,!0))if(322==e.$i.getType()){a=e.$i;var f=a.fe(b.D(),!1);this.Fq[0]=f;var h=e.sB;d=1;0==f?(h=e.tB,d=e.rC):1==f&&(h=e.rB,d=e.qC);e=new g.h;0==h?(h=new g.h,a.hc(f,h),b=b.D(),g.lc.OG(h,b,1/(d+1),e)):0<h?(e=new g.h,a.hc(f,e)):e=b.D();d=0;f=-1;for(h=0;1>=h;h++){b=1>h?this.Fq[h]:1;if(b!=d){var k=this.aB();a.ah(d,b,k);-1!=f&&k.get().Dc(e);1!=h&&k.get().Qc(e);d=b;this.$s.push(this.Ow(k.get()))}f=h}this.Bf.Cb(e)}else throw g.i.Qa();};return c}();g.TC=l})(D||={});(function(g){var v= |
|
function(){function l(c){this.Ds=this.rk=this.sb=null;this.ag=0;this.zm=!1;this.zf=-1;this.Cl=this.Jd=0;this.gb=-1;this.ib=c;this.ag=this.Wx(this.Cl);this.zm=!1;this.rk=null;this.Ds=new g.h}l.prototype.BW=function(c){if(this.ib!=c.ib)throw g.i.Hb();this.zf=c.zf;this.Jd=c.Jd;this.gb=c.gb;this.Cl=c.Cl;this.ag=c.ag;this.zm=c.zm;this.rk=null};l.prototype.ha=function(){this.zf!=this.Jd&&this.BD();if(this.zm)this.Jd=(this.Jd+1)%this.ag;else{if(this.Jd==this.ag)throw g.i.ce();this.Jd++}return this.rk};l.prototype.li= |
|
function(){if(this.zm)this.Jd=(this.ag+this.Jd-1)%this.ag;else{if(0==this.Jd)throw g.i.ce();this.Jd--}this.Jd!=this.zf&&this.BD();return this.rk};l.prototype.DW=function(){this.zf=-1;this.Jd=0};l.prototype.EW=function(){this.Jd=this.ag;this.zf=-1};l.prototype.Vb=function(c,a){void 0===a&&(a=-1);if(0<=this.gb&&this.gb<this.ib.da()){var b=this.IM();if(c>=b&&c<this.ib.Vc(this.gb)){this.zf=-1;this.Jd=c-b;return}}a=0<=a&&a<this.ib.da()&&c>=this.ib.Ba(a)&&c<this.ib.Vc(a)?a:this.ib.sz(c);this.Cl=a+1;this.gb= |
|
a;this.zf=-1;this.Jd=c-this.ib.Ba(a);this.ag=this.Wx(a);this.ib.Ba(this.gb);this.ib.dc(this.gb)};l.prototype.$a=function(){this.gb=this.Cl;if(this.gb>=this.ib.da())return!1;this.zf=-1;this.Jd=0;this.ag=this.Wx(this.gb);this.ib.Ba(this.gb);this.ib.dc(this.gb);this.Cl++;return!0};l.prototype.Zi=function(){this.ag=this.Jd=this.zf=-1;this.Cl=0;this.gb=-1};l.prototype.Wx=function(c){if(this.ib.Ac())return 0;var a=1;this.ib.dc(c)&&(a=0);return this.ib.Ja(c)-a};l.prototype.On=function(){return this.zf== |
|
this.ag-1&&this.ib.dc(this.gb)};l.prototype.JB=function(){this.zm=!0};l.prototype.wb=function(){return this.ib.nb.o[this.gb]+this.zf};l.prototype.IM=function(){return this.ib.Ba(this.gb)};l.prototype.ik=function(){return this.On()?this.ib.Ba(this.gb):this.wb()+1};l.prototype.vm=function(){return 0==this.zf};l.prototype.Qn=function(){return this.zf==this.ag-1};l.prototype.Ha=function(){return this.Jd<this.ag};l.prototype.Ez=function(){return 0<this.Jd};l.prototype.Of=function(){var c=new l(this.ib); |
|
c.zf=this.zf;c.Jd=this.Jd;c.ag=this.ag;c.gb=this.gb;c.Cl=this.Cl;c.ib=this.ib;c.zm=this.zm;return c};l.prototype.BD=function(){if(0>this.Jd||this.Jd>=this.ag)throw g.i.ce();this.zf=this.Jd;var c=this.wb();this.ib.mc();var a=this.ib.Ve,b=1;null!=a&&(b=a.read(c)&7);a=this.ib.description;switch(b){case 1:null==this.sb&&(this.sb=new g.yb);this.rk=this.sb;break;case 2:throw g.i.fa("internal error");case 4:throw g.i.Qa();default:throw g.i.Qa();}this.rk.Nf(a);b=this.ik();this.ib.Gc(c,this.Ds);this.rk.Dc(this.Ds); |
|
this.ib.Gc(b,this.Ds);this.rk.Qc(this.Ds);for(var d=1,e=a.Aa;d<e;d++)for(var f=a.kd(d),h=g.ra.Va(f),k=0;k<h;k++){var m=this.ib.Uc(f,c,k);this.rk.YB(f,k,m);m=this.ib.Uc(f,b,k);this.rk.OB(f,k,m)}};l.prototype.$S=function(){return this.gb==this.ib.da()-1};l.prototype.Pn=function(){var c=this.ib.VR();return null!=c?1!=(c.read(this.zf)&7):!1};return l}();g.YL=v})(D||={});(function(g){var v=function(){function l(c){c instanceof g.aa?(this.xH=c,this.ya=-1,this.Ei=1):(this.vT=c.slice(0),this.ya=-1,this.Ei= |
|
c.length)}l.prototype.La=function(){return this.ya};l.prototype.next=function(){return this.ya<this.Ei-1?(this.ya++,null!=this.xH?this.xH:this.vT[this.ya]):null};l.prototype.qe=function(){};return l}();g.Zc=v})(D||={});(function(g){var v=function(){return function(){this.next=null}}(),l=function(){function c(){this.Tq=this.Kw=this.Lw=0;this.kF=!1;this.gK=0;this.gn=this.Kf=this.Wl=this.Jh=null;this.Ol=0;this.vy=null;this.pl=this.oi=-1}c.prototype.AX=function(a,b,d){this.oi=a;this.pl=b;this.Jh=this.Wl= |
|
null;this.Tq=0;this.vy=d;null==this.gn&&(this.gn=g.O.lg(384,0));this.nK()};c.prototype.R=function(){return this.oi};c.prototype.ca=function(){return this.pl};c.prototype.flush=function(){0<this.Ol&&(this.vy.gF(this.gn,this.Ol),this.Ol=0)};c.prototype.nK=function(){if(0<this.Tq){for(var a=0;a<this.pl;a++){for(var b=this.Wl[a];null!=b;){var d=b;b=b.next;d.next=null}this.Wl[a]=null}this.Jh=null}this.Lw=this.pl;this.Kw=-1;this.Tq=0};c.prototype.iJ=function(a){this.kF=a==c.Cx;for(a=this.Lw;a<=this.Kw;a++)this.sN(), |
|
this.lN(a),this.ZP();this.nK()};c.prototype.jy=function(a,b,d,e){if(b!=e){var f=1;b>e&&(f=a,a=d,d=f,f=b,b=e,e=f,f=-1);if(!(0>e||b>=this.pl)){0>a&&0>d?d=a=-1:a>=this.oi&&d>=this.oi&&(d=a=this.oi);var h=(d-a)/(e-b);e>this.pl&&(e=this.pl,d=h*(e-b)+a);0>b&&(a=h*(0-b)+a,b=0);var k=Math.max(this.oi+1,8388607);-8388607>a?(b=(0-a)/h+b,a=0):a>k&&(b=(this.oi-a)/h+b,a=this.oi);-8388607>d?e=(0-a)/h+b:d>k&&(e=(this.oi-a)/h+b);b=g.O.truncate(b);e=g.O.truncate(e);b!=e&&(d=new v,d.x=g.O.truncate(4294967296*a),d.y= |
|
b,d.H=e,d.WP=g.O.truncate(4294967296*h),d.dir=f,null==this.Wl&&(this.Wl=g.O.lg(this.pl,null)),d.next=this.Wl[d.y],this.Wl[d.y]=d,d.y<this.Lw&&(this.Lw=d.y),d.H>this.Kw&&(this.Kw=d.H),this.Tq++)}}};c.prototype.sN=function(){if(null!=this.Jh){for(var a=!1,b=null,d=this.Jh;null!=d;)if(d.y++,d.y==d.H){var e=d;d=d.next;null!=b?b.next=d:this.Jh=d;e.next=null}else d.x+=d.WP,null!=b&&b.x>d.x&&(a=!0),b=d,d=d.next;a&&(this.Jh=this.fK(this.Jh))}};c.prototype.lN=function(a){if(!(a>=this.pl)){var b=this.Wl[a]; |
|
if(null!=b){this.Wl[a]=null;b=this.fK(b);this.Tq-=this.gK;a=this.Jh;for(var d=!0,e=b,f=null;null!=a&&null!=e;)a.x>e.x?(d&&(this.Jh=e),d=e.next,e.next=a,null!=f&&(f.next=e),f=e,e=d):(d=a.next,a.next=e,null!=f&&(f.next=a),f=a,a=d),d=!1;null==this.Jh&&(this.Jh=b)}}};c.eK=function(a,b){return 0>a?0:a>b?b:a};c.prototype.ZP=function(){if(null!=this.Jh)for(var a=0,b=this.Jh,d=g.O.truncate(g.O.XG(b.x)),e=b.next;null!=e;e=e.next)if(a=this.kF?a^1:a+e.dir,e.x>b.x){var f=g.O.truncate(g.O.XG(e.x));0!=a&&(b=c.eK(d, |
|
this.oi),d=c.eK(f,this.oi),d>b&&b<this.oi&&(this.gn[this.Ol++]=b,this.gn[this.Ol++]=d,this.gn[this.Ol++]=e.y,this.Ol==this.gn.length&&(this.vy.gF(this.gn,this.Ol),this.Ol=0)));b=e;d=f}};c.prototype.fK=function(a){for(var b=0,d=a;null!=d;d=d.next)b++;this.gK=b;if(1==b)return a;null==this.Kf?this.Kf=g.O.lg(Math.max(b,16),null):this.Kf.length<b&&(this.Kf=g.O.lg(Math.max(b,2*this.Kf.length),null));var e=0;for(d=a;null!=d;d=d.next)this.Kf[e++]=d;2==b?this.Kf[0].x>this.Kf[1].x&&(a=this.Kf[0],this.Kf[0]= |
|
this.Kf[1],this.Kf[1]=a):c.AN(this.Kf,b,function(f,h){return f==h?0:f.x<h.x?-1:f.x>h.x?1:0});a=this.Kf[0];this.Kf[0]=null;d=a;for(e=1;e<b;e++)d.next=this.Kf[e],d=this.Kf[e],this.Kf[e]=null;d.next=null;return a};c.AN=function(a,b,d){if(b==a.length)a.sort(d);else{var e=a.slice(0,0),f=a.slice(b);b=a.slice(0,b).sort(d);a.length=0;a.push.apply(a,e.concat(b).concat(f))}};c.Cx=0;return c}();g.Px=l})(D||={});(function(g){var v=function(){function l(){}l.prototype.ui=function(c,a){var b=this.g.Pa(c,this.Pq); |
|
this.Dl==b&&(this.Dl=this.oe.lb(this.Dl));this.ho==b&&(this.ho=this.oe.lb(this.ho));this.oe.jd(this.RA,b);this.bk(c);if(a&&(a=this.g.bd(c),-1!=a&&this.g.Xa(a)==c)){var d=this.g.U(c);if(d!=c){b=this.g.bd(d);if(b==a){this.g.Jf(a,d);return}d=this.g.Ma(c);if(d!=c&&(b=this.g.bd(d),b==a)){this.g.Jf(a,d);return}}this.g.Jf(a,-1);this.g.Wg(a,-1)}};l.prototype.pD=function(){for(var c=!1,a=0,b=new g.h;;){a++;null==this.Wh?(this.Wh=new g.ia(0),this.zs=new g.ia(0),this.xe=new g.ia(0)):(this.Wh.clear(!1),this.zs.clear(!1), |
|
this.xe.clear(!1));for(var d=this.ho,e=0,f=!0;d!=this.Dl;){var h=this.oe.getData(d),k=new g.h;this.g.Gc(h,k);f&&(this.g.Gc(h,b),f=!1);k=this.g.Ma(h);var m=this.g.U(h);-559038737!=this.g.Pa(k,this.zg)&&(this.Wh.add(k),this.g.Ra(k,this.zg,-559038737),this.zs.add(h),this.xe.add(e++));-559038737!=this.g.Pa(m,this.zg)&&(this.Wh.add(m),this.g.Ra(m,this.zg,-559038737),this.zs.add(h),this.xe.add(e++));d=this.oe.lb(d)}if(2>this.Wh.size)break;var n=this;this.xe.Vd(0,this.xe.size,function(p,q){return n.pM(p, |
|
q)});d=0;for(e=this.xe.size;d<e;d++)f=this.xe.get(d),f=this.Wh.get(f),this.g.Ra(f,this.zg,d),k=new g.h,this.g.Gc(f,k);k=this.TM(b);d=0;for(e=this.xe.size;d<e;d++)f=this.xe.get(d),-1!=f&&(f=this.Wh.get(f),this.g.Ra(f,this.zg,-1));if(k)c=!0;else break}return c};l.prototype.TM=function(c){for(var a=!1,b=!0;b;){b=!1;var d=0;-1==this.xe.get(d)&&(d=this.cm(d));for(var e=this.cm(d),f=0,h=this.xe.size;f<h&&-1!=d&&-1!=e&&d!=e;f++){var k=this.xe.get(d);e=this.xe.get(e);k=this.Wh.get(k);e=this.Wh.get(e);var m= |
|
this.g.U(k);this.g.Dv(m,c)||(m=this.g.Ma(k));var n=this.g.U(e);this.g.Dv(n,c)||(n=this.g.Ma(e));var p=this.pu(m,k),q=this.pu(n,e),r=p?this.g.Ma(m):this.g.U(m),t=q?this.g.Ma(n):this.g.U(n),u=!1;this.sp(m)?u=!0:this.sp(n)?u=!0:this.sp(k)?u=!0:this.sp(e)?u=!0:this.sp(r)?u=!0:this.sp(t)&&(u=!0);!u&&this.g.fq(k,e)&&(u=!0,this.tD(p,q,m,k,n,e));!u&&this.g.fq(r,t)&&(u=!0,this.tD(!p,!q,m,r,n,t));u&&(a=!0);b=b||u;d=this.cm(d);e=this.cm(d)}}if(!a)for(d=0,-1==this.xe.get(d)&&(d=this.cm(d)),e=this.cm(d),f=0,h= |
|
this.xe.size;f<h&&-1!=d&&-1!=e&&d!=e;f++)k=this.xe.get(d),e=this.xe.get(e),k=this.Wh.get(k),e=this.Wh.get(e),m=this.g.U(k),this.g.Dv(m,c)||(m=this.g.Ma(k)),n=this.g.U(e),this.g.Dv(n,c)||(n=this.g.Ma(e)),p=this.pu(m,k),q=this.pu(n,e),r=p?this.g.Ma(m):this.g.U(m),t=q?this.g.Ma(n):this.g.U(n),this.DM(p,q,k,m,r,e,n,t)&&(a=!0),d=this.cm(d),e=this.cm(d);return a};l.prototype.XM=function(){1736==this.g.ic(this.X)&&1==this.g.In(this.X)&&(new g.Fg).MU(this.fw,this.g,this.X,this.nd);var c=!1,a=!0;this.zg=this.Pq= |
|
-1;var b=this.g.I(this.X),d=new g.ia(0);d.Jb(b);for(var e=this.g.Ob(this.X);-1!=e;e=this.g.Rb(e))for(var f=this.g.Xa(e),h=0,k=this.g.Ja(e);h<k;h++)d.add(f),f=this.g.U(f);var m=this.g.td.o,n=this.g.td.stride;this.g.vb.mc();var p=this.g.vb.za[0].o;d.Vd(0,b,function(r,t){var u=m[n*r],w=m[n*t],y=p[2*u];u=p[2*u+1];var x=p[2*w];w=p[2*w+1];y=u<w?-1:u>w?1:y<x?-1:y>x?1:0;0==y&&(r=m[n*r+3],t=m[n*t+3],y=r<t?-1:r==t?0:1);return y});this.Pq=this.g.Gd();this.oe=new g.jp;this.RA=this.oe.Ph(0);this.oe.fn(b);for(e= |
|
0;e<b;e++)f=d.get(e),h=this.oe.addElement(this.RA,f),this.g.Ra(f,this.Pq,h);this.zg=this.g.Gd();this.Dl=-1;for(this.cD()&&(c=!0);a;){a=!1;b=0;d=!1;do{d=!1;this.ho=-1;k=0;e=new g.h;h=new g.h;for(var q=this.oe.rc(this.RA);-1!=q;)f=this.oe.getData(q),-1!=this.ho?(this.g.Gc(f,h),e.qb(h))?k++:(e.L(h),this.Dl=q,0<k&&(f=this.pD())&&(d=!0,-1!=this.Dl&&(f=this.oe.getData(this.Dl),this.g.Gc(f,e))),this.ho=q=this.Dl,k=0):(this.ho=q,this.g.Gc(this.oe.getData(q),e),k=0),-1!=q&&(q=this.oe.lb(q));this.Dl=-1;0<k&& |
|
(f=this.pD())&&(d=!0);if(10<b++)throw g.i.Qa();d&&this.GM();this.cD()&&(d=!0);a=a||d&&!1;c=c||d}while(d)}this.g.Td(this.Pq);this.g.Td(this.zg);return c=g.WL.V(this.g,this.X,this.oe,this.fw)||c};l.prototype.pu=function(c,a){return this.g.U(a)==c?!1:!0};l.prototype.DM=function(c,a,b,d,e,f,h,k){if(d==h)return this.bk(b),this.bk(f),!1;var m=this.g.Pa(b,this.zg),n=this.g.Pa(e,this.zg),p=this.g.Pa(f,this.zg),q=this.g.Pa(k,this.zg);b=[0,0,0,0,0,0,0,0];var r=[0,0,0,0];b[0]=0;r[0]=m;b[1]=0;r[1]=n;b[2]=1;r[2]= |
|
p;b[3]=1;r[3]=q;for(m=1;4>m;m++){n=r[m];p=b[m];for(q=m-1;0<=q&&r[q]>n;)r[q+1]=r[q],b[q+1]=b[q],q--;r[q+1]=n;b[q+1]=p}r=0;0!=b[0]&&(r|=1);0!=b[1]&&(r|=2);0!=b[2]&&(r|=4);0!=b[3]&&(r|=8);if(5!=r&&10!=r)return!1;c==a?c?(this.g.Bc(k,d),this.g.Cc(d,k),this.g.Bc(e,h),this.g.Cc(h,e)):(this.g.Cc(k,d),this.g.Bc(d,k),this.g.Cc(e,h),this.g.Bc(h,e)):c?(this.g.Cc(d,f),this.g.Bc(f,d),this.g.Cc(h,e),this.g.Bc(e,h)):(this.g.Bc(d,f),this.g.Cc(f,d),this.g.Bc(h,e),this.g.Cc(e,h));return!0};l.prototype.tD=function(c, |
|
a,b,d,e,f){this.MY?this.VM():this.UM(c,a,b,d,e,f)};l.prototype.VM=function(){throw g.i.fa("not implemented.");};l.prototype.UM=function(c,a,b,d,e,f){if(c!=a)c?(this.g.Bc(b,e),this.g.Cc(e,b),this.g.Bc(f,d),this.g.Cc(d,f),this.vn(e,b),this.ui(e,!0),this.g.mi(e,!0),this.bk(b),this.vn(f,d),this.ui(f,!0),this.g.mi(f,!1)):(this.g.Bc(e,b),this.g.Cc(b,e),this.g.Bc(d,f),this.g.Cc(f,d),this.vn(e,b),this.ui(e,!0),this.g.mi(e,!1),this.bk(b),this.vn(f,d),this.ui(f,!0),this.g.mi(f,!0)),this.bk(d);else{var h=c? |
|
b:d,k=a?e:f;c=c?d:b;a=a?f:e;e=!1;this.g.Bc(h,k);this.g.Bc(k,h);this.g.Cc(c,a);this.g.Cc(a,c);for(f=a;f!=k;)b=this.g.Ma(f),d=this.g.U(f),this.g.Cc(f,d),this.g.Bc(f,b),e=e||f==h,f=d;e||(b=this.g.Ma(k),d=this.g.U(k),this.g.Cc(k,d),this.g.Bc(k,b));this.vn(k,h);this.ui(k,!0);this.g.mi(k,!1);this.bk(h);this.vn(a,c);this.ui(a,!0);this.g.mi(a,!1);this.bk(c)}};l.prototype.cD=function(){for(var c=!1,a=this.g.Ob(this.X);-1!=a;){for(var b=this.g.Xa(a),d=0,e=this.g.Ja(a);d<e&&1<e;){var f=this.g.Ma(b),h=this.g.U(b); |
|
this.g.fq(f,h)?(c=!0,this.ui(b,!1),this.g.pd(b,!0),this.ui(h,!1),this.g.pd(h,!0),b=f,d=0,e=this.g.Ja(a)):(b=h,d++)}if(2>this.g.Ja(a)){c=this.g.Xa(a);d=0;for(e=this.g.Ja(a);d<e;d++)this.ui(c,!1),c=this.g.U(c);a=this.g.Zq(a);c=!0}else a=this.g.Rb(a)}return c};l.prototype.sp=function(c){for(var a=!1;;){var b=this.g.U(c),d=this.g.Ma(c);if(b==c)return this.ui(c,!0),this.g.mi(c,!1),!0;if(!this.g.fq(b,d))break;a=!0;this.bk(d);this.bk(b);this.ui(c,!0);this.g.mi(c,!1);this.vn(b,d);this.ui(b,!0);this.g.mi(b, |
|
!0);if(b==d)break;c=d}return a};l.prototype.GM=function(){for(var c=0,a=this.oe.rc(this.oe.je);-1!=a;a=this.oe.lb(a)){var b=this.oe.getData(a);this.g.aj(b,-1)}for(var d=0,e=this.g.Ob(this.X);-1!=e;)if(a=this.g.Xa(e),-1==a||-1!=this.g.bd(a))b=e,e=this.g.Rb(e),this.g.$q(b);else{this.g.aj(a,e);var f=1;for(b=this.g.U(a);b!=a;b=this.g.U(b))this.g.aj(b,e),f++;this.g.cp(e,!1);this.g.Vj(e,f);this.g.Wg(e,this.g.Ma(a));d+=f;c++;e=this.g.Rb(e)}for(a=this.oe.rc(this.oe.je);-1!=a;a=this.oe.lb(a))b=this.oe.getData(a), |
|
-1==this.g.bd(b)&&(e=this.g.nG(this.X,b,b,null),d+=this.g.Ja(e),c++);this.g.Rl(this.X,c);this.g.Tj(this.X,d);c=0;for(d=this.g.ld;-1!=d;d=this.g.ue(d))c+=this.g.I(d);this.g.bC(c)};l.prototype.cm=function(c){for(var a=0,b=this.xe.size-1;a<b;a++)if(c=(c+1)%this.xe.size,-1!=this.xe.get(c))return c;return-1};l.prototype.vn=function(c,a){var b=this.g.Pa(a,this.Pq),d=this.g.Pa(a,this.zg);this.g.lC(c,a);this.g.Ra(a,this.Pq,b);this.g.Ra(a,this.zg,d)};l.prototype.bk=function(c){var a=this.g.Pa(c,this.zg);-1!= |
|
a&&(this.xe.set(a,-1),this.g.Ra(c,this.zg,-1))};l.V=function(c,a,b,d,e){var f=new l;f.g=c;f.X=a;f.xA=b;f.fw=d;f.nd=e;return f.XM()};l.prototype.pM=function(c,a){var b=this.Wh.get(c),d=new g.h;this.g.Gc(b,d);b=new g.h;var e=this.Wh.get(a);this.g.Gc(e,b);if(d.qb(b))return 0;e=this.zs.get(c);c=new g.h;this.g.Gc(e,c);e=this.zs.get(a);a=new g.h;this.g.Gc(e,a);e=new g.h;e.uc(d,c);d=new g.h;d.uc(b,a);return g.h.nu(e,d)};return l}();g.rn=v})(D||={});(function(g){(function(l){l[l.Local=0]="Local";l[l.Geographic= |
|
1]="Geographic";l[l.Projected=2]="Projected";l[l.Image=3]="Image";l[l.Unknown=4]="Unknown"})(g.$L||(g.$L={}));(function(l){l[l.Integer32=0]="Integer32";l[l.Integer64=1]="Integer64";l[l.FloatingPoint=2]="FloatingPoint"})(g.TL||(g.TL={}));var v=function(){function l(){this.mA=null;this.pp="";this.su=null;this.dg=0;this.ZH=this.Ho=-1;this.wh=null}l.prototype.Ec=function(){return this.dg};l.prototype.VF=function(){return 1};l.prototype.VW=function(c){this.mA=c};l.prototype.Xd=function(){if(null!==this.mA)return this.mA; |
|
var c=.001;0!=this.dg?c=g.wr.CQ(this.dg):null!=this.wh&&(c=g.XC.DQ(this.wh));return c};l.prototype.Bz=function(){return this.wh};l.prototype.Hd=function(){if(0!=this.dg)return g.Tc.Zg(g.wr.Sy(this.dg));if(null!=this.wh)return g.XC.EQ(this.wh)};l.Sb=function(c){if(0!=c.dg){if(!0===g.wr.ZS(c.dg))return 1;if(!0===g.wr.aT(c.dg))return 2}return 4};l.prototype.$r=function(){var c=this.Ec();if(-1!=this.Ho)return this.Ho;this.Ho=g.wr.FK(c);return-1!=this.Ho?this.Ho:c};l.create=function(c){if(0>=c)throw g.i.N("Invalid or unsupported wkid: "+ |
|
c);var a=new l;a.dg=c;return a};l.qP=function(c){if(null==c||0==c.length)throw g.i.N("Cannot create SpatialReference from null or empty text.");var a=new l;a.wh=c;return a};l.prototype.Nb=function(c){return this==c?!0:null==c||this.constructor!=c.constructor||this.dg!=c.dg||0==this.dg&&this.wh!==c.wh?!1:!0};l.prototype.toString=function(){return"[ tol: "+this.Kn()+"; wkid: "+this.Ec()+"; wkt: "+this.Bz()+"]"};l.prototype.cc=function(){if(""!==this.pp)return this.pp;var c=this.toString();if(Array.prototype.reduce)return this.pp= |
|
"S"+c.split("").reduce(function(d,e){d=(d<<5)-d+e.charCodeAt(0);return d&d},0);var a=0;if(0===c.length)return"";for(var b=0;b<c.length;b++)a=(a<<5)-a+c.charCodeAt(b),a&=a;return this.pp="S"+a};l.prototype.Kn=function(){return this.Xd(0)};l.prototype.fh=function(){return null!==this.su?this.su:this.su=g.gu.yP(this)};l.ZN=2147483645;l.$N=9007199254740990;return l}();g.Eg=v})(D||={});(function(g){var v=function(l){function c(){var a=null!==l&&l.apply(this,arguments)||this;a.Ji=null;a.ST=null;a.Hq=new g.ZL; |
|
a.Eo=null;a.jw=null;return a}R(c,l);c.yP=function(a){var b=new c;b.dg=a.dg;b.Ho=a.Ho;b.ZH=a.ZH;b.wh=a.wh;if(""!==b.wh&&null!==b.wh){a=c.kM(b.wh);var d=c.iM(b.wh);b.Hq.Xx(a,d,g.hu.Integer64);b.by(a);b.gy(d);b.dg=a.$r()}else a=c.jM(b.dg),b.by(a),b.gy(null),b.Hq.Xx(a,null,g.hu.Integer64);return b};c.prototype.Xd=function(a){return this.Hq.Kn(a)};c.iM=function(a){if(0>=a.length)throw g.i.N();var b=null;try{b=g.NC.fromString(a)}catch(d){b=null}return null==b?null:c.bD(b,!0)};c.prototype.by=function(a){this.Kd= |
|
a;this.Eo=this.Kd.Hd()};c.prototype.gy=function(a){this.KH=a;this.ST=null!=this.KH?this.KH.Eo:null};c.prototype.Wc=function(){return 0==this.Sb()||3==this.Sb()?!1:this.Kd.Wc()};c.prototype.IG=function(){return 0==this.Sb()?!1:3==this.Sb()?this.Ji.fk().Wc():this.Kd.Wc()};c.prototype.eh=function(){return null!=this.Kd?this.Kd.Ue:null};c.prototype.pm=function(){return this.Kd.pm()};c.prototype.bf=function(){return this.Kd.bf()};c.prototype.hh=function(){return null!=this.Kd?this.Kd.sw:NaN};c.prototype.Up= |
|
function(){return this.Kd.Up()};c.prototype.Wr=function(){return this.Kd.Wr()};c.prototype.kk=function(){return this.Kd.kk()};c.prototype.kS=function(a){return g.OC.Py(this.Kd,a.Kd)};c.prototype.ml=function(){return this.Kd.ml()};c.prototype.Vr=function(){return this.Kd.Vr()};c.prototype.zi=function(){return 3==this.Sb()?this.Ji.fk().zi():this.Kd.zi()};c.prototype.gh=function(){if(!this.Wc())throw g.i.N("!isPannable()");var a=new g.l;this.Kd.gh(a);return a};c.prototype.Oe=function(){if(!this.Wc())throw g.i.N("!isPannable()"); |
|
return this.Kd.so};c.prototype.HR=function(){if(!this.Wc())throw g.i.N("!isPannable()");var a=new g.l;this.Kd.GR(a);return a};c.prototype.pv=function(){if(!this.Wc())throw g.i.N("!isPannable()");return this.Kd.pv()};c.prototype.ov=function(){if(!this.Wc())throw g.i.N("!isPannable()");return this.Kd.ov()};c.prototype.Xr=function(){return null!=this.Ji?this.Ji.fk().Xr():this.Kd.Xr()};c.prototype.PQ=function(){return this.Kd.hv()};c.prototype.Qp=function(){return this.Eo.getUnitFactor()};c.prototype.vz= |
|
function(a){return this.Hq.vz(a)};c.prototype.sc=function(){var a=this.Sb();if(1==a)return this;if(3==a)return this.Ji.fk().sc();if(0==a)throw g.i.fa("invalid call");if(4===a)throw g.i.fa("invalid call");if(null!==this.jw)return this.jw;a=this.eh().getGeogcs();if(null==a)throw g.i.Qa();return this.jw=c.bF(a,this.Hq.VF())};c.bF=function(a,b){if(null==a)throw g.i.N("null pointer.");var d=new c;a=c.mu(a,!0);d.Hq.Xx(a,null,b);d.by(a);d.gy(null);d.dg=a.$r();return d};c.prototype.Sb=function(){var a=this.eh(); |
|
if(null!=a)switch(a.getType()){case g.Sc.PE_TYPE_GEOGCS:return 1;case g.Sc.PE_TYPE_PROJCS:return 2}return 4};c.prototype.hv=function(){return this.Kd.hv()};c.mu=function(a,b){var d=a.getCode();if(0>=d&&(d=g.pf.getCode(a),0<d)){a=g.pf.coordsys(d);if(null==a)throw g.i.N("Text to wkid mapping had failed: "+d);return c.mu(a,b)}if(b&&0<d&&(b=c.qx[d]))return b;b=g.zb.xv(a,d,!1);var e=c.lK[b];if(e)return e;a=0>=d?a:g.pf.coordsys(d);a=new g.OC(a);c.lK[b]=a;0<d&&(c.qx[d]=a);return a};c.jM=function(a){if(0>= |
|
a)throw g.i.N("Invalid or unsupported wkid: "+a);var b=c.qx[a];if(null!=b)return b;b=g.pf.coordsys(a);if(null==b)throw g.i.N("Invalid or unsupported wkid: "+a);b=c.mu(b,!1);b.$r()!=a&&(c.qx[a]=b);return b};c.kM=function(a){if(null==a||void 0===a||0==a.length)throw g.i.N("Cannot create SpatialReference from null or empty text.");var b=null;try{b=g.pf.fromString(g.Sc.PE_TYPE_COORDSYS,a)}catch(d){throw g.i.N("Cannot create SpatialReference from text. "+d.message);}if(null===b)throw g.i.N("Cannot create SpatialReference from text. "); |
|
return c.mu(b,!0)};c.bD=function(a,b){var d=a.getCode();if(0>=d&&(d=g.pf.getCode(a),0<d)){d=g.pf.vertcs(d);if(null===d)throw g.i.N();return c.bD(d,b)}if(b&&0<d&&(b=c.kK[d]))return b;a=g.zb.xv(a,d,!1);if(b=c.mK[a])return b;var e;0>=d||(e=g.pf.vertcs(d));if(null===e)throw g.i.N();e=new g.PL(e);c.mK[a]=e;0<d&&(c.kK[d]=e);return e};c.sI=function(a,b){if(null===b||b.B())return null;var d=new g.l;if(null!==b&&1!=a.Sb()){var e=a.sc(),f=e.eh();a=g.vr.Nr(a,e,null,null);b=g.Hx.local().V(b,a,null)}else f=a.eh(); |
|
b.A(d);b=f.getPrimem().getLongitude();f=f.getUnit().getUnitFactor();return new g.LC(d.v,d.G,d.C,d.H,b,f)};c.lD=function(a){var b={name:"",steps:[],_pt:null,_entry:null},d=0;for(a=a.getEntries();d<a.length;d++){var e=a[d],f={LY:!1,ZY:"",YY:-1,geogtran:null};0===e.getDirection()?f.isInverse=!1:f.isInverse=!0;var h=e.getGeogtran().getCode();-1<h?f.wkid=h:f.wkt=e.getGeogtran().toString();b.steps.push(f)}return b};c.XR=function(a,b,d,e){void 0===d&&(d=null);d=c.sI(e,d);a=g.lp.getGTlist(a.eh(),b.eh(),2, |
|
g.lp.PE_GTLIST_OPTS_COMMON,d,1);b=null;a&&0<a.length&&(b=this.lD(a[0]),g.Mx.destroy(a));null!==d&&d.destroy();return b};c.YR=function(a,b,d,e){var f;void 0===d&&(d=null);void 0===e&&(e=null);void 0===f&&(f=30);d=c.sI(e,d);a=g.lp.getGTlist(a.eh(),b.eh(),2,g.lp.PE_GTLIST_OPTS_COMMON,d,f);b=[];if(a&&0<a.length){for(f=0;f<a.length;f++)b.push(this.lD(a[f]));g.Mx.destroy(a)}null!==d&&d.destroy();return b};c.qx={};c.lK={};c.kK={};c.mK={};return c}(g.Eg);g.gu=v})(D||={});(function(g){var v;(function(c){c[c.Integer32= |
|
0]="Integer32";c[c.Integer64=1]="Integer64";c[c.FloatingPoint=2]="FloatingPoint"})(v=g.hu||(g.hu={}));var l=function(){function c(){this.qp()}c.prototype.assign=function(a){this.Fm=a.Fm;this.Gm=a.Gm;this.Pj=a.Pj;this.sA=a.sA;this.Fo=a.Fo;this.rA=a.rA;this.Ik=a.Ik;this.Mq=a.Mq;this.Lq=a.Lq;this.Rm=a.Rm};c.prototype.VF=function(){return this.Rm};c.prototype.qp=function(){this.Gm=this.Fm=0;this.Pj=1;this.sA=0;this.Fo=1;this.rA=0;this.Lq=this.Mq=this.Ik=2.220446049250313E-14;this.Rm=v.FloatingPoint}; |
|
c.prototype.Xx=function(a,b,d){this.qp();this.Rm=d;if(d!=v.FloatingPoint){var e=new g.l;a.hR(e);this.Fm=e.v;this.Gm=e.G}else this.Gm=this.Fm=-1.7976931348623157E308;e=a.Ue.getType();e==g.Sc.PE_TYPE_GEOGCS?(e=(d==v.Integer64?1E-9:1/18E5)*a.bf(),this.Pj=1/e):e==g.Sc.PE_TYPE_PROJCS&&(e=(d==v.Integer64?1E-4:.001)*a.pm(),this.Pj=1/e);null!=b?(e=(d==v.Integer32?.001:1E-4)*b.IH,this.Fo=1/e):this.Fo=1E4;this.YM();this.Ik=a.sw;this.Mq=null!=b?.001*b.IH:.001;this.Lq=2.220446049250313E-14};c.prototype.YM=function(){if(this.Rm!= |
|
v.FloatingPoint){var a=this.Rm==v.Integer64?g.Eg.$N:g.Eg.ZN,b=a/this.Pj,d=this.Fm+b,e=g.O.truncate((d-this.Fm)*this.Pj);e>a&&(this.Pj=a/(d-this.Fm));b=this.Gm+b;e=g.O.truncate((b-this.Gm)*this.Pj);e>a&&(this.Pj=a/(b-this.Gm))}};c.prototype.aC=function(a){switch(a){case 0:this.Ik=void 0;case 1:this.Mq=void 0;case 2:this.Lq=void 0}};c.prototype.Kn=function(a){switch(a){case 0:return this.Ik;case 1:return this.Mq;case 2:return this.Lq}return 0};c.prototype.vz=function(a){if(this.Rm==v.FloatingPoint)return 0; |
|
switch(a){case 0:return 1/this.Pj;case 1:return 1/this.Fo;case 2:return 1/this.Fo;default:return 0}};c.prototype.toString=function(){var a="SRPD [m_toleranceXY: "+this.Ik.toString();a=a+";m_falseX: "+this.Fm.toString();a=a+";m_falseY: "+this.Gm.toString();a=a+";m_unitsXY: "+this.Pj.toString();a=a+";m_falseZ: "+this.sA.toString();a=a+";m_unitsZ: "+this.Fo.toString();a=a+";m_falseM: "+this.rA.toString();a=a+";m_toleranceZ: "+this.Mq.toString();a=a+";m_toleranceM: "+this.Lq.toString();a=a+";m_precision: "+ |
|
this.Rm.toString();return a+"] "};return c}();g.ZL=l})(D||={});(function(g){function v(e,f){89.99999<f?f=89.99999:-89.99999>f&&(f=-89.99999);f*=.017453292519943;return[111319.49079327169*e,3189068.5*Math.log((1+Math.sin(f))/(1-Math.sin(f)))]}function l(e,f,h){e=e/6378137*57.29577951308232;return h?[e,57.29577951308232*(1.5707963267948966-2*Math.atan(Math.exp(-1*f/6378137)))]:[e-360*Math.floor((e+180)/360),57.29577951308232*(1.5707963267948966-2*Math.atan(Math.exp(-1*f/6378137)))]}function c(e,f,h){var k= |
|
e.Of();if(33===e.getType())f=f(k.Lg(),k.ih()),k.Cb(f[0],f[1]);else if(197===e.getType()){var m=f(e.es(),e.gs(),h);f=f(e.ds(),e.fs(),h);k.K(m[0],m[1],f[0],f[1])}else for(m=new g.h,e=0;e<k.I();e++){k.D(e,m);var n=f(m.x,m.y,h);m.ma(n[0],n[1]);k.Cb(e,m)}return k}function a(e){return c(e,l,!0)}function b(e){return c(e,v,!0)}var d=Math.PI/180;g.UK=function(){function e(){}e.vu=function(f){var h=Math.sqrt(.006694379990197414),k=Math.sin(f.y*d);return g.h.construct(6378137*f.x*d,3167719.6636462314*(k/(1- |
|
.006694379990197414*k*k)-1/(2*h)*Math.log((1-h*k)/(1+h*k))))};e.Vx=function(f,h,k,m){var n=1/298.257223563,p=Math.sin(k);k=Math.cos(k);var q=(1-n)*Math.tan(f);f=1/Math.sqrt(1+q*q);var r=q*f,t=Math.atan2(q,k);q=f*p;var u=q*q,w=1-u,y=2.7233160610754688E11*w/4.040829998466145E13,x=1+y/16384*(4096+y*(-768+y*(320-175*y))),z=y/1024*(256+y*(-128+y*(74-47*y)));y=m/(6356752.31424518*x);for(var A=2*Math.PI,B,C,E,F;1E-12<Math.abs(y-A);)E=Math.cos(2*t+y),B=Math.sin(y),C=Math.cos(y),F=z*B*(E+z/4*(C*(-1+2*E*E)- |
|
z/6*E*(-3+4*B*B)*(-3+4*E*E))),A=y,y=m/(6356752.31424518*x)+F;m=r*B-f*C*k;w=n/16*w*(4+n*(4-3*w));return g.h.construct((h+(Math.atan2(B*p,f*C-r*B*k)-(1-w)*n*q*(y+w*B*(E+w*C*(-1+2*E*E)))))/d,Math.atan2(r*C+f*B*k,(1-n)*Math.sqrt(u+m*m))/d)};e.MM=function(f,h,k,m){var n=1/298.257223563,p=m-h,q=Math.atan((1-n)*Math.tan(f)),r=Math.atan((1-n)*Math.tan(k)),t=Math.sin(q);q=Math.cos(q);var u=Math.sin(r);r=Math.cos(r);var w=p,y=1E3;do{var x=Math.sin(w),z=Math.cos(w),A=Math.sqrt(r*x*r*x+(q*u-t*r*z)*(q*u-t*r*z)); |
|
if(0===A)return 0;z=t*u+q*r*z;var B=Math.atan2(A,z),C=q*r*x/A,E=1-C*C;x=z-2*t*u/E;isNaN(x)&&(x=0);var F=n/16*E*(4+n*(4-3*E)),H=w;w=p+(1-F)*n*C*(B+F*A*(x+F*z*(-1+2*x*x)))}while(1E-12<Math.abs(w-H)&&0<--y);if(0===y)return t=m-h,{azimuth:Math.atan2(Math.sin(t)*Math.cos(k),Math.cos(f)*Math.sin(k)-Math.sin(f)*Math.cos(k)*Math.cos(t)),geodesicDistance:6371008.771415059*Math.acos(Math.sin(f)*Math.sin(k)+Math.cos(f)*Math.cos(k)*Math.cos(m-h))};f=2.7233160610754688E11*E/4.040829998466145E13;h=f/1024*(256+ |
|
f*(-128+f*(74-47*f)));return{azimuth:Math.atan2(r*Math.sin(w),q*u-t*r*Math.cos(w)),YQ:6356752.31424518*(1+f/16384*(4096+f*(-768+f*(320-175*f))))*(B-h*A*(x+h/4*(z*(-1+2*x*x)-h/6*x*(-3+4*A*A)*(-3+4*x*x)))),XY:Math.atan2(q*Math.sin(w),q*u*Math.cos(w)-t*r)}};e.jQ=function(f){var h=f.hasAttribute(1),k=f.hasAttribute(2),m=[],n=f.da(),p=null,q=null;h&&(p=f.ub(1));k&&(q=f.ub(2));for(var r=new g.h,t=0;t<n;t++){for(var u=f.Ba(t),w=f.Ja(t),y=0,x=0,z=NaN,A=NaN,B=NaN,C=NaN,E=f.dc(t),F=[],H=u;H<u+w;H++){f.D(H, |
|
r);C=B=NaN;var G=[r.x,r.y];h&&(B=p.get(H),G.push(B));k&&(n=q.get(H),G.push(C));H==u&&E&&(y=r.x,x=r.y,z=B,A=C);F.push(G)}!E||y==r.x&&x==r.y&&(!h||isNaN(z)&&isNaN(B)||z==B)&&(!k||isNaN(A)&&isNaN(C)||A==C)||F.push(F[0].slice(0));m.push(F)}return m};e.Wy=function(f,h){f=e.jQ(f);637.100877141506>h&&(h=637.100877141506);for(var k=[],m,n=0;n<f.length;n++){var p=f[n];k.push(m=[]);m.push([p[0][0],p[0][1]]);var q,r,t=p[0][0]*d,u=p[0][1]*d;for(q=0;q<p.length-1;q++){var w=p[q+1][0]*d,y=p[q+1][1]*d;if(t!==w|| |
|
u!==y){y=e.MM(u,t,y,w);w=y.azimuth;y=y.YQ;var x=y/h;if(1<x){for(r=1;r<=x-1;r++){var z=e.Vx(u,t,w,r*h);m.push([z.x,z.y])}r=e.Vx(u,t,w,(y+Math.floor(x-1)*h)/2);m.push([r.x,r.y])}u=e.Vx(u,t,w,y);m.push([u.x,u.y]);t=u.x*d;u=u.y*d}}}return{qJ:k}};e.XQ=function(f){for(var h=[],k=0;k<f.length;k++){var m=f[k];m=e.Wy(m,1E4);h.push(m)}f=[];for(var n=0;n<h.length;n++){m=h[n];var p=0;for(k=0;k<m.qJ.length;k++){var q=m.qJ[k],r=e.vu(g.h.construct(q[0][0],q[0][1])),t=e.vu(g.h.construct(q[q.length-1][0],q[q.length- |
|
1][1])),u=t.x*r.y-r.x*t.y,w;for(w=0;w<q.length-1;w++)r=e.vu(g.h.construct(q[w+1][0],q[w+1][1])),t=e.vu(g.h.construct(q[w][0],q[w][1])),u+=t.x*r.y-r.x*t.y;p+=u}p/=1;f.push(p/-2)}return f};return e}();g.cb=function(){function e(){}e.xB=function(f,h,k,m,n,p,q){e.gD[f.cc()]=h;0==isNaN(k)&&(e.mD[f.cc()]=k);0==isNaN(m)&&(e.zD[f.cc()]=m);0==isNaN(n)&&(e.aD[f.cc()]=n);e.nD[f.cc()]=p;null!==q&&(e.oD[f.cc()]=q)};e.Ww=function(f,h,k){e.sD[f.cc()+"-"+h.cc()]=k};e.sc=function(f){f=e.gD[f.cc()];if(void 0==f)throw g.i.Ie(); |
|
return f};e.bf=function(f){f=e.mD[f.cc()];if(void 0==f)throw g.i.Ie();return f};e.vv=function(f){f=e.zD[f.cc()];if(void 0==f)throw g.i.Ie();return f};e.ev=function(f){f=e.aD[f.cc()];if(void 0==f)throw g.i.Ie();return f};e.gh=function(f){f=e.oD[f.cc()];if(void 0==f)throw g.i.Ie();return g.l.construct(f[0],f[1],f[2],f[3])};e.Wc=function(f){f=e.nD[f.cc()];if(void 0==f)throw g.i.Ie();return f};e.zh=function(f,h,k){if(h.Nb(k))return f;var m=e.sD[h.cc()+"-"+k.cc()];if(void 0!==m)return m(f,h,k);throw g.i.Ie(); |
|
};e.vt=function(){throw g.i.Ie();};e.bR=function(){throw g.i.Ie();};e.dW=function(){throw g.i.Ie();};e.ml=function(){throw g.i.Ie();};e.sW=function(){var f=g.Eg.create(102100),h=g.Eg.create(3857),k=g.Eg.create(4326);g.cb.xB(f,k,NaN,NaN,NaN,!1,null);g.cb.xB(k,k,1,.0033528106647474805,6378137,!0,[-180,-90,180,90]);g.cb.xB(h,k,NaN,NaN,NaN,!1,null);g.cb.Ww(f,k,a);g.cb.Ww(k,f,b);g.cb.Ww(h,k,a);g.cb.Ww(k,h,b)};e.gD=[];e.mD=[];e.zD=[];e.aD=[];e.nD=[];e.oD=[];e.sD=[];return e}()})(D||={});D.cb.sW();(function(g){var v= |
|
function(){function l(c){this.o=new Int32Array(0);this.io=-1;this.Hg=this.size=this.Bl=0;this.stride=c}l.prototype.jd=function(c){c<this.Bl?(this.o[c*this.stride]=this.io,this.io=c):this.Bl--;this.size--};l.prototype.T=function(c,a){return this.o[c*this.stride+a]};l.prototype.S=function(c,a,b){this.o[c*this.stride+a]=b};l.prototype.Ce=function(){var c=this.io;if(-1==c){if(this.Bl==this.Hg){c=0!=this.Hg?g.O.truncate(3*(this.Hg+1)/2):1;2147483647<c&&(c=2147483647);if(c==this.Hg)throw g.i.ce();this.Dz(c)}c= |
|
this.Bl;this.Bl++}else this.io=this.o[c*this.stride];this.size++;for(var a=c*this.stride;a<c*this.stride+this.stride;a++)this.o[a]=-1;return c};l.prototype.Ll=function(c){var a=this.io;if(-1==a){if(this.Bl==this.Hg){a=0!=this.Hg?g.O.truncate(3*(this.Hg+1)/2):1;2147483647<a&&(a=2147483647);if(a==this.Hg)throw g.i.ce();this.Dz(a)}a=this.Bl;this.Bl++}else this.io=this.o[a*this.stride];this.size++;for(var b=a*this.stride,d=0;d<c.length;d++)this.o[b+d]=c[d];return a};l.prototype.mj=function(c){this.io= |
|
-1;this.size=this.Bl=0;c&&(this.o=null,this.Hg=0)};l.prototype.De=function(c){c>this.Hg&&this.Dz(c)};l.prototype.tx=function(c,a){c*=this.stride;a*=this.stride;for(var b=0;b<this.stride;b++){var d=this.o[a+b];this.o[a+b]=this.o[c+b];this.o[c+b]=d}};l.prototype.gC=function(c,a,b){var d=this.o[this.stride*a+b];this.o[this.stride*a+b]=this.o[this.stride*c+b];this.o[this.stride*c+b]=d};l.LG=function(c){return 0<=c};l.prototype.Dz=function(c){null==this.o&&(this.o=new Int32Array(0));var a=new Int32Array(this.stride* |
|
c);a.set(this.o,0);this.o=a;this.Hg=c};return l}();g.$c=v})(D||={});(function(g){(function(a){a[a.enumInputModeBuildGraph=0]="enumInputModeBuildGraph";a[a.enumInputModeSimplifyAlternate=4]="enumInputModeSimplifyAlternate";a[a.enumInputModeSimplifyWinding=5]="enumInputModeSimplifyWinding";a[a.enumInputModeIsSimplePolygon=7]="enumInputModeIsSimplePolygon"})(c||={});var v=function(){function a(b){this.Be=b;this.yh=NaN;this.eH=new g.ig;this.fH=new g.ig;this.ms=new g.Nc;this.ns=new g.Nc}a.prototype.compare= |
|
function(b,d,e){b=b.ja(e);this.Be.pB(d,this.eH);this.Be.pB(b,this.fH);d=this.eH.get();b=this.fH.get();this.ms.K(d.sa,d.pa);this.ns.K(b.sa,b.pa);if(this.ms.va<this.ns.oa)return-1;if(this.ms.oa>this.ns.va)return 1;e=d.na==d.la;var f=b.na==b.la;if(e||f){if(e&&f)return 0;if(d.na==b.na&&d.sa==b.sa)return e?1:-1;if(d.la==b.la&&d.pa==b.pa)return e?-1:1}e=d.Pe(this.yh,this.ms.oa);f=b.Pe(this.yh,this.ns.oa);e==f&&(e=Math.min(d.la,b.la),f=.5*(e+this.yh),f==this.yh&&(f=e),e=d.Pe(f,this.ms.oa),f=b.Pe(f,this.ns.oa)); |
|
return e<f?-1:e>f?1:0};a.prototype.aK=function(b){this.yh=b};return a}(),l=function(){function a(b){this.ib=b;this.WH=new g.ig;this.Bf=new g.h;this.wA=new g.Nc}a.prototype.kX=function(b){this.Bf.L(b)};a.prototype.compare=function(b,d){this.ib.pB(b.ja(d),this.WH);b=this.WH.get();this.wA.K(b.sa,b.pa);if(this.Bf.x<this.wA.oa)return-1;if(this.Bf.x>this.wA.va)return 1;b=b.Pe(this.Bf.y,this.Bf.x);return this.Bf.x<b?-1:this.Bf.x>b?1:0};return a}();var c=function(){function a(){this.hH=this.Di=this.Gi=this.kA= |
|
this.Yn=this.ye=this.Kc=this.jh=this.ge=null;this.Go=this.xg=-1;this.gH=!0;this.pA=!1;this.lA=NaN;this.Ni=new g.Md;this.bO=2147483647;this.aO=g.O.truncate(-2147483648);this.cg=this.ae=this.Hl=this.Cq=this.Cm=this.Bq=this.Os=this.Re=-1;this.wa=0}a.prototype.yy=function(b){this.lA=b};a.prototype.Ym=function(){null==this.ge&&(this.ge=new g.$c(8));var b=this.ge.Ce();this.ge.S(b,1,0);return b};a.prototype.vU=function(){null==this.Kc&&(this.Kc=new g.$c(8));var b=this.Kc.Ce();this.Kc.S(b,2,0);this.Kc.S(b, |
|
3,0);var d=this.Kc.Ce();this.Kc.S(d,2,0);this.Kc.S(d,3,0);this.JJ(b,d);this.JJ(d,b);return b};a.prototype.mI=function(){null==this.ye&&(this.ye=new g.$c(8));var b=this.ye.Ce();this.ye.S(b,2,0);return b};a.prototype.TW=function(b,d){this.ge.S(b,7,d)};a.prototype.mn=function(b,d){this.ge.S(b,2,d)};a.prototype.SW=function(b,d){this.ge.S(b,1,d)};a.prototype.lX=function(b,d){this.ge.S(b,3,d)};a.prototype.iX=function(b,d){this.ge.S(b,4,d)};a.prototype.cr=function(b,d){this.ge.S(b,5,d)};a.prototype.eR=function(b){return this.ge.T(b, |
|
5)};a.prototype.RW=function(b,d){this.ge.S(b,6,d)};a.prototype.cN=function(b,d){this.RW(d,b)};a.prototype.IJ=function(b,d){this.Kc.S(b,1,d)};a.prototype.JJ=function(b,d){this.Kc.S(b,4,d)};a.prototype.Tl=function(b,d){this.Kc.S(b,5,d)};a.prototype.Sl=function(b,d){this.Kc.S(b,6,d)};a.prototype.$W=function(b,d){this.Kc.S(b,2,d)};a.prototype.$w=function(b,d){this.Kc.S(b,3,d)};a.prototype.LF=function(b){return this.Kc.T(b,3)};a.prototype.Gt=function(b,d){this.Kc.S(b,7,d)};a.prototype.EK=function(b,d){if(-1!= |
|
this.mm(b))for(d=d?-1:b,b=this.mm(b);-1!=b;b=this.js(b))this.g.Ra(this.tj(b),this.Cq,d)};a.prototype.yx=function(b,d){-1!=b&&(this.EK(b,d),this.EK(this.xa(b),d))};a.prototype.Dt=function(b,d){this.ye.S(b,1,d)};a.prototype.Vg=function(b,d){this.ye.S(b,2,d)};a.prototype.jn=function(b,d){this.ye.S(b,3,d);this.NW(b,this.dR(d));this.MW(d,b)};a.prototype.MW=function(b,d){this.ye.S(b,4,d)};a.prototype.NW=function(b,d){this.ye.S(b,5,d)};a.prototype.DJ=function(b,d){this.ye.S(b,6,d)};a.prototype.BJ=function(b, |
|
d){this.ye.S(b,7,d)};a.prototype.AJ=function(b,d){this.Yn.write(b,d)};a.prototype.CJ=function(b,d){this.kA.write(b,d)};a.prototype.kY=function(b){var d=0,e=0,f=this.AF(b),h=new g.h,k=new g.h,m=new g.h;this.Yr(f,h);k.L(h);var n=f;do this.lm(n,m),e+=g.h.tb(k,m),this.$e(this.xa(n))!=b&&(d+=(m.x-h.x-(k.x-h.x))*(m.y-h.y+(k.y-h.y))*.5),k.L(m),n=this.jc(n);while(n!=f);this.Yn.write(b,d);this.kA.write(b,e)};a.prototype.PU=function(b,d){var e=new v(this),f=new g.Yj;f.De(g.O.truncate(this.wa/2));f.Vo(e);for(var h= |
|
new g.ia(0),k=this.$g(),m=null,n=0,p=new g.h,q=this.Re;-1!=q;q=this.Rf(q)){n++;if(0==(n&255)&&null!=d&&!d.progress(-1,-1))throw g.i.WC();var r=this.Me(q);if(-1!=r){h.Bh(0);if(!this.gY(f,k,h,r)){this.D(q,p);e.aK(p.y);var t=r;do{var u=this.Ab(t,k);-1!=u&&(f.vd(u,-1),this.Kb(t,k,-2));t=this.jc(this.xa(t))}while(r!=t);t=r;do u=this.Ab(t,k),-1==u&&(u=f.addElement(t,-1),h.add(u)),t=this.jc(this.xa(t));while(r!=t)}for(r=h.size-1;0<=r;r--)u=h.get(r),t=f.ja(u),this.Kb(this.xa(t),k,u),this.OU(f,u,b)}else-1== |
|
this.cz(q)&&(null==m&&(m=new l(this)),this.D(q,p),m.kX(p),t=f.IW(m),r=this.Hl,-1!=t&&(u=f.ja(t),this.$e(u)==this.$e(this.xa(u))&&(u=this.OF(f,t)),-1!=u&&(r=this.$e(u))),this.cN(r,q))}this.Jg(k)};a.prototype.OU=function(b,d,e){var f=b.ja(d),h=this.$e(f);if(-1==this.Gn(h)){var k=this.OF(b,d),m=this.xa(f),n=this.$e(m);this.Kp(h);this.Kp(n);var p=this.Gn(h),q=this.Gn(n);-1==k&&-1==p&&(n==h?(this.jn(n,this.Hl),p=q=this.Hl):(-1==q&&(this.jn(n,this.Hl),q=this.Hl),this.jn(h,n),p=n));if(-1!=k){var r=this.$e(k); |
|
-1==q&&(0>=this.Kp(r)?(q=this.Gn(r),this.jn(n,q)):(this.jn(n,r),q=r),n==h&&(p=q))}-1==p&&this.hY(h,n);0==e?this.jW(b,d,f,k,h,n):5==e?this.kW(b,d,f,m,h,n):4==e&&this.iW(f,k,h,n)}};a.prototype.jW=function(b,d,e,f,h,k){var m=this.hk(h);if(-1!=f){var n=this.hk(k),p=this.hk(this.$e(f));f=m&n&p;p^=p&this.dh(e);p|=f;0!=p&&(this.Vg(k,n|p),this.Vg(h,p|m),m=m||p)}for(d=b.lb(d);-1!=d;d=b.lb(d)){f=b.ja(d);e=this.$e(this.xa(f));h=this.hk(e);k=this.dh(f);n=this.$e(f);p=this.hk(n);f=h&p&m;m^=m&k;m|=f;if(0==m)break; |
|
this.Vg(e,h|m);this.Vg(n,p|m)}};a.prototype.kW=function(b,d,e,f,h,k){if(h!=k){e=this.Ab(e,this.cg);e+=this.Ab(f,this.cg);f=0;var m=new g.ia(0),n=new g.ia(0);n.add(0);for(var p=b.rc(-1);p!=d;p=b.lb(p)){var q=b.ja(p),r=this.xa(q),t=this.$e(q),u=this.$e(r);if(t!=u){q=this.Ab(q,this.cg);q+=this.Ab(r,this.cg);f+=q;r=!1;0!=m.size&&m.Fc()==u&&(n.If(),m.If(),r=!0);if(-1==this.Gn(u))throw g.i.Qa();r&&this.Gn(u)==t||(n.add(f),m.add(t))}}f+=e;0!=m.size&&m.Fc()==k&&(n.If(),m.If());0!=f?0==n.Fc()&&(b=this.g.ld, |
|
b=this.La(b),this.Vg(h,b)):0!=n.Fc()&&(b=this.g.ld,b=this.La(b),this.Vg(h,b))}};a.prototype.iW=function(b,d,e,f){var h=this.La(this.g.ld);if(-1==d)this.Vg(f,this.Go),b=this.Ab(b,this.xg),0!=(b&1)?this.Vg(e,h):this.Vg(e,this.Go);else{var k=this.hk(f);0==k?(k=this.hk(this.$e(d)),this.Vg(f,k),b=this.Ab(b,this.xg),0!=(b&1)?this.Vg(e,k==h?this.Go:h):this.Vg(e,k)):(b=this.Ab(b,this.xg),0!=(b&1)?this.Vg(e,k==h?this.Go:h):this.Vg(e,k))}};a.prototype.gY=function(b,d,e,f){var h=f,k=-1,m=-1,n=0;do{if(2==n)return!1; |
|
var p=this.Ab(h,d);if(-1!=p){if(-1!=k)return!1;k=p}else{if(-1!=m)return!1;m=h}n++;h=this.jc(this.xa(h))}while(f!=h);if(-1==m||-1==k)return!1;this.Kb(b.ja(k),d,-2);b.Sj(k,m);e.add(k);return!0};a.prototype.hY=function(b,d){var e=this.Kp(b);if(0!=e){var f=this.Kp(d);0<e&&0>f?this.jn(b,d):0>e&&0<f?this.jn(b,d):(d=this.Gn(d),-1!=d&&this.jn(b,d))}};a.prototype.vP=function(b,d){this.Cq=this.g.Gd();for(var e=0,f=d.size;e<f;e++){var h=d.get(e),k=this.g.Pa(h,this.Cm),m=this.g.Qf(this.g.bd(h)),n=this.g.ic(m); |
|
if(g.aa.Hc(n)){var p=this.g.U(h);if(-1!=p){var q=this.g.Pa(p,this.Cm);if(k!=q){var r=this.vU(),t=this.xa(r),u=this.jh.Ce();this.jh.S(u,0,h);this.jh.S(u,1,-1);this.Gt(r,u);this.IJ(r,k);u=this.Me(k);-1==u?(this.mn(k,r),this.Tl(r,t),this.Sl(t,r)):(k=this.te(u),this.Tl(u,t),this.Sl(t,u),this.Sl(k,r),this.Tl(r,k));this.IJ(t,q);k=this.Me(q);-1==k?(this.mn(q,t),this.Sl(r,t),this.Tl(t,r)):(q=this.te(k),this.Tl(k,r),this.Sl(r,k),this.Sl(q,t),this.Tl(t,q));m=this.La(m);0==b?(this.Kb(t,this.ae,0),this.Kb(r, |
|
this.ae,1736==n?m:0)):5==b?(q=new g.h,this.g.D(h,q),h=new g.h,this.g.D(p,h),k=p=0,0>q.compare(h)?p=1:k=-1,this.Kb(t,this.ae,0),this.Kb(r,this.ae,0),this.Kb(r,this.cg,p),this.Kb(t,this.cg,k)):7==b?(this.Kb(t,this.ae,this.Go),this.Kb(r,this.ae,1736==n?m:0)):4==b&&(this.Kb(t,this.ae,0),this.Kb(r,this.ae,0),this.Kb(r,this.xg,1),this.Kb(t,this.xg,1));n=1736==n?this.aO:0;this.$w(r,m|n);this.$w(t,m|n)}}}}};a.prototype.VT=function(b,d){var e=this.mm(d);if(-1!=e){var f=this.mm(b);this.jh.S(e,1,f);this.Gt(b, |
|
e);this.Gt(d,-1)}b=this.xa(b);d=this.xa(d);e=this.mm(d);-1!=e&&(f=this.mm(b),this.jh.S(e,1,f),this.Gt(b,e),this.Gt(d,-1))};a.prototype.IX=function(b){function d(A,B){return f.HO(A,B)}var e=new g.ia(0);e.Jb(10);for(var f=this,h=this.Re;-1!=h;h=this.Rf(h)){e.clear(!1);var k=this.Me(h);if(-1!=k){var m=k;do e.add(m),m=this.jc(this.xa(m));while(m!=k);if(1<e.size){m=!0;if(2<e.size)e.Vd(0,e.size,d),e.add(e.get(0));else if(0<this.GO(e.get(0),e.get(1))){var n=e.get(0);e.set(0,e.get(1));e.set(1,n)}else m=!1; |
|
for(var p=n=e.get(0),q=this.uf(p),r=this.xa(p),t=-1,u=1,w=e.size;u<w;u++){var y=e.get(u),x=this.xa(y),z=this.jk(x);if(z==q&&y!=p){if(0==b)t=this.LF(p)|this.LF(y),this.$w(p,t),this.$w(r,t),this.Kb(p,this.ae,this.Ab(p,this.ae)|this.Ab(y,this.ae)),this.Kb(r,this.ae,this.Ab(r,this.ae)|this.Ab(x,this.ae));else if(-1!=this.cg)t=this.Ab(p,this.cg)+this.Ab(y,this.cg),x=this.Ab(r,this.cg)+this.Ab(x,this.cg),this.Kb(p,this.cg,t),this.Kb(r,this.cg,x);else{if(7==b){this.Ni=new g.Md(5,h,-1);return}-1!=this.xg&& |
|
(t=this.Ab(p,this.xg)+this.Ab(y,this.xg),x=this.Ab(r,this.xg)+this.Ab(x,this.xg),this.Kb(p,this.xg,t),this.Kb(r,this.xg,x))}this.VT(p,y);this.Ly(y);t=p;e.set(u,-1);y==n&&(e.set(0,-1),n=-1)}else this.yx(t,!1),t=-1,p=y,q=z,r=x}this.yx(t,!1);t=-1;if(m){n=-1;u=0;for(w=e.size;u<w;u++)if(y=e.get(u),-1!=y)if(-1==n)p=n=y,q=this.uf(p),r=this.xa(p);else if(y!=p&&(x=this.xa(y),z=this.jk(x),this.Sl(r,y),this.Tl(y,r),p=y,q=z,r=x,7==b&&(this.Ab(y,this.ae)|this.Ab(this.te(y),this.ae))==(this.Go|1))){this.Ni=new g.Md(5, |
|
h,-1);return}this.mn(h,n)}else{n=-1;u=0;for(w=e.size;u<w;u++)if(y=e.get(u),-1!=y){n=y;break}k!=n&&this.mn(h,n)}}}}};a.prototype.WN=function(){for(var b=-1,d=this.$g(),e=this.Re;-1!=e;e=this.Rf(e)){var f=this.Me(e);if(-1!=f){var h=f;do{if(1!=this.Ab(h,d)){var k=this.mI();this.Dt(k,h);this.BJ(k,b);-1!=b&&this.DJ(b,k);b=k;var m=0,n=h;do m|=this.Ab(n,this.ae),this.$W(n,k),this.Kb(n,d,1),n=this.jc(n);while(n!=h);this.Vg(k,m)}h=this.jc(this.xa(h))}while(h!=f)}}k=this.mI();this.Dt(k,-1);this.BJ(k,b);-1!= |
|
b&&this.DJ(b,k);this.Hl=k;this.Yn=g.be.qf(this.ye.size,NaN);this.kA=g.be.qf(this.ye.size,NaN);this.AJ(this.Hl,Infinity);this.CJ(this.Hl,Infinity);this.Jg(d)};a.prototype.sR=function(b,d,e){d=-1!=d?d:this.Me(b);if(-1==d)return-1;for(b=d;;){if(1!=this.Ab(d,e))return d;d=this.jc(this.xa(d));if(d==b)return-1}};a.prototype.yW=function(){for(var b=this.$g(),d=this.Re;-1!=d;d=this.Rf(d))for(var e=-1;;){var f=this.sR(d,e,b);if(-1==f)break;e=this.jc(this.xa(f));for(var h=f;;){var k=this.jc(h),m=this.te(h), |
|
n=this.xa(h);if(m==n){this.IP(h);if(e==h||e==n)e=-1;if(h==f||m==f){f=k;if(h==f||m==f)break;h=k;continue}}else this.Kb(h,b,1);h=k;if(h==f)break}}this.Jg(b)};a.prototype.MB=function(b,d,e,f,h){this.Ug();this.gH=h;this.g=b;this.Bq=this.g.aF();b=new g.ia(0);b.Jb(null!=e?this.g.I(e.get(0)):this.g.fd);var k=0,m=1,n=null!=e?e.get(0):this.g.ld;for(h=1;-1!=n;){this.g.HJ(n,this.Bq,m);m<<=1;for(var p=this.g.Ob(n);-1!=p;p=this.g.Rb(p))for(var q=this.g.Xa(p),r=0,t=this.g.Ja(p);r<t;r++)b.add(q),q=this.g.U(q);g.aa.Rn(this.g.ic(n))|| |
|
(k+=this.g.da(n));null!=e?(n=h<e.size?e.get(h):-1,h++):n=this.g.ue(n)}this.Go=m;this.wa=b.size;this.g.nx(b,this.wa);null==this.jh&&(this.jh=new g.$c(2),this.ge=new g.$c(8),this.Kc=new g.$c(8),this.ye=new g.$c(8));this.jh.De(this.wa);g.mp.zp(f);this.ge.De(this.wa+10);this.Kc.De(2*this.wa+32);this.ye.De(Math.max(32,k));this.Cm=this.g.Gd();e=new g.h;h=0;k=new g.h;e.Rc();for(m=0;m<=this.wa;m++)if(m<this.wa?(q=b.get(m),this.g.D(q,k)):k.Rc(),!e.qb(k)){if(h<m){q=this.Ym();for(t=r=-1;h<m;h++)t=b.get(h),this.g.Ra(t, |
|
this.Cm,q),n=this.jh.Ce(),this.jh.S(n,0,t),this.jh.S(n,1,r),r=n,p=this.g.bd(t),n=this.g.Qf(p),n=this.La(n),this.SW(q,this.xd(q)|n);this.TW(q,r);this.cr(q,this.g.Ua(t));-1!=this.Os&&this.iX(this.Os,q);this.lX(q,this.Os);this.Os=q;-1==this.Re&&(this.Re=q)}h=m;e.L(k)}g.mp.zp(f);this.ae=this.$g();5==d&&(this.cg=this.$g());4==d&&(this.xg=this.$g());this.vP(d,b);0==this.Ni.Jj&&(this.IX(d),0==this.Ni.Jj&&(isNaN(this.lA)||this.xO()?(this.WN(),0==this.Ni.Jj&&(this.Jg(this.ae),this.ae=-1,this.gH&&this.PU(d, |
|
f))):this.pA=!0))};a.prototype.Ly=function(b){var d=this.jc(b),e=this.te(b),f=this.xa(b),h=this.jc(f),k=this.te(f);d!=f&&(this.Sl(k,d),this.Tl(d,k));e!=f&&(this.Sl(e,h),this.Tl(h,e));e=this.jk(b);this.Me(e)==b&&(h!=b?this.mn(e,h):this.mn(e,-1));h=this.jk(f);this.Me(h)==f&&(d!=f?this.mn(h,d):this.mn(h,-1));this.Kc.jd(b);this.Kc.jd(f)};a.prototype.OF=function(b,d){for(;;)if(d=b.we(d),-1!=d){var e=b.ja(d);if(this.$e(e)!=this.$e(this.xa(e)))return e}else return-1};a.prototype.dr=function(b,d){var e;void 0=== |
|
e&&(e=!0);this.MB(b,0,null,d,e)};a.prototype.vJ=function(b,d,e){var f=new g.ia(0);f.add(d);this.MB(b,4,f,e,1736==b.ic(d))};a.prototype.wJ=function(b,d,e){var f=new g.ia(0);f.add(d);this.MB(b,5,f,e,!0)};a.prototype.Ug=function(){null!=this.g&&(-1!=this.Bq&&(this.g.xW(this.Bq),this.Bq=-1),-1!=this.Cm&&(this.g.Td(this.Cm),this.Cm=-1),-1!=this.Cq&&(this.g.Td(this.Cq),this.Cq=-1),-1!=this.ae&&(this.Jg(this.ae),this.ae=-1),-1!=this.cg&&(this.Jg(this.cg),this.cg=-1),-1!=this.xg&&(this.Jg(this.xg),this.xg= |
|
-1),this.g=null,this.ge.mj(!0),this.jh.mj(!0),this.Os=this.Re=-1,null!=this.Kc&&this.Kc.mj(!0),null!=this.Gi&&(this.Gi.length=0),null!=this.Di&&(this.Di.length=0),null!=this.hH&&(this.hH.length=0),null!=this.ye&&this.ye.mj(!0),this.Hl=-1,this.Yn=null)};a.prototype.Me=function(b){return this.ge.T(b,2)};a.prototype.D=function(b,d){this.g.dG(this.eR(b),d)};a.prototype.xd=function(b){return this.ge.T(b,1)};a.prototype.Rf=function(b){return this.ge.T(b,4)};a.prototype.cz=function(b){return this.ge.T(b, |
|
6)};a.prototype.km=function(b){return this.ge.T(b,7)};a.prototype.js=function(b){return this.jh.T(b,1)};a.prototype.tj=function(b){return this.jh.T(b,0)};a.prototype.ng=function(b,d){d=this.Di[d];return d.size<=b?-1:d.read(b)};a.prototype.nn=function(b,d,e){d=this.Di[d];d.size<=b&&d.resize(this.ge.size,-1);d.write(b,e)};a.prototype.Dp=function(){null==this.Di&&(this.Di=[]);for(var b=g.ia.qf(this.ge.Hg,-1),d=0,e=this.Di.length;d<e;d++)if(null==this.Di[d])return this.Di[d]=b,d;this.Di.push(b);return this.Di.length- |
|
1};a.prototype.Ep=function(b){this.Di[b]=null};a.prototype.jk=function(b){return this.Kc.T(b,1)};a.prototype.uf=function(b){return this.jk(this.xa(b))};a.prototype.xa=function(b){return this.Kc.T(b,4)};a.prototype.te=function(b){return this.Kc.T(b,5)};a.prototype.jc=function(b){return this.Kc.T(b,6)};a.prototype.$e=function(b){return this.Kc.T(b,2)};a.prototype.af=function(b){return this.hk(this.Kc.T(b,2))};a.prototype.mm=function(b){return this.Kc.T(b,7)};a.prototype.Yr=function(b,d){this.D(this.jk(b), |
|
d)};a.prototype.lm=function(b,d){this.D(this.uf(b),d)};a.prototype.dh=function(b){return this.Kc.T(b,3)&this.bO};a.prototype.Ab=function(b,d){d=this.Gi[d];return d.size<=b?-1:d.read(b)};a.prototype.Kb=function(b,d,e){d=this.Gi[d];d.size<=b&&d.resize(this.Kc.size,-1);d.write(b,e)};a.prototype.$g=function(){null==this.Gi&&(this.Gi=[]);for(var b=g.ia.qf(this.Kc.Hg,-1),d=0,e=this.Gi.length;d<e;d++)if(null==this.Gi[d])return this.Gi[d]=b,d;this.Gi.push(b);return this.Gi.length-1};a.prototype.Jg=function(b){this.Gi[b]= |
|
null};a.prototype.IP=function(b){var d=this.$e(b),e=this.xa(b),f=this.jc(b);f==e&&(f=this.jc(f),f==b&&(f=-1));var h=this.AF(d);h!==b&&h!=e||this.Dt(d,f);e=this.Yn.read(d);isNaN(e)||(this.AJ(d,NaN),this.CJ(d,NaN));this.yx(b,!0);this.Ly(b)};a.prototype.JP=function(b){for(var d=0,e=b.size;d<e;d++){var f=b.get(d),h=this.$e(this.xa(f));this.Dt(this.$e(f),-1);this.Dt(h,-1);this.yx(f,!0);this.Ly(f)}};a.prototype.AF=function(b){return this.ye.T(b,1)};a.prototype.hk=function(b){return this.ye.T(b,2)};a.prototype.Gn= |
|
function(b){return this.ye.T(b,3)};a.prototype.dR=function(b){return this.ye.T(b,4)};a.prototype.Kp=function(b){var d=this.Yn.read(b);isNaN(d)&&(this.kY(b),d=this.Yn.read(b));return d};a.prototype.La=function(b){return this.g.KF(b,this.Bq)};a.prototype.Le=function(b){return this.g.Pa(b,this.Cm)};a.prototype.uR=function(b){return this.g.Pa(b,this.Cq)};a.prototype.tR=function(b,d){var e=this.Me(b);if(-1==e)return-1;var f=e,h=-1,k=-1;do{if(this.uf(f)==d)return f;if(-1==h){h=this.Me(d);if(-1==h)break; |
|
k=h}if(this.uf(k)==b)return f=this.xa(k);f=this.jc(this.xa(f));k=this.jc(this.xa(k))}while(f!=e&&k!=h);return-1};a.prototype.pB=function(b,d){d.Or();d=d.get();var e=new g.h;this.Yr(b,e);d.Dc(e);this.lm(b,e);d.Qc(e)};a.prototype.HO=function(b,d){if(b==d)return 0;var e=new g.h;this.lm(b,e);var f=new g.h;this.lm(d,f);if(e.qb(f))return 0;d=new g.h;this.Yr(b,d);b=new g.h;b.uc(e,d);e=new g.h;e.uc(f,d);return g.h.nu(b,e)};a.prototype.GO=function(b,d){if(b==d)return 0;var e=new g.h;this.lm(b,e);var f=new g.h; |
|
this.lm(d,f);if(e.qb(f))return 0;d=new g.h;this.Yr(b,d);b=new g.h;b.uc(e,d);e=new g.h;e.uc(f,d);return 0<=e.y&&0<b.y?g.h.nu(b,e):0};a.prototype.xO=function(){for(var b=g.lc.ox(this.lA),d=new g.h,e=new g.h,f=new g.h,h=new g.h,k=new g.h,m=this.Re;-1!=m;m=this.Rf(m)){var n=this.Me(m);if(-1!=n){var p=n;this.Yr(p,d);this.lm(p,e);k.uc(e,d);var q=k.Sk();do{var r=p;p=this.jc(this.xa(p));if(p!=r){this.lm(p,f);h.uc(f,d);r=h.Sk();var t=h.wi(k);if(t*t/(r*q)*Math.min(r,q)<=b)return!1;k.L(h);q=r;e.L(f)}}while(p!= |
|
n)}}return!0};return a}();g.iu=c})(D||={});(function(g){var v=function(){function l(){this.j=null;this.oH=new g.h;this.pH=new g.h;this.Gj=null;this.Mv=!1;this.tl=-1}l.prototype.cf=function(c){return c<this.Gj.length?this.Gj[c]:!1};l.prototype.dl=function(c,a,b,d){var e=g.aa.tf(this.j.g.ic(b));if(2==g.aa.tf(this.j.g.ic(a))&&1==e)this.FP(c,a,b,d);else throw g.i.Qa();};l.prototype.dr=function(c,a){null==this.j&&(this.j=new g.iu);this.j.dr(c,a)};l.prototype.Ft=function(c,a,b){g.Tk.V(c,a,b,!0);for(a=c.ld;-1!= |
|
a;a=c.ue(a))1736==c.ic(a)&&g.rn.V(c,a,-1,this.Mv,b);this.dr(c,b)};l.prototype.ME=function(c,a,b,d,e){var f=this.j.g;if(1736==f.ic(c))for(c=f.Ob(c);-1!=c;c=f.Rb(c)){var h=f.Xa(c);this.j.Le(h);this.j.Le(f.U(h));var k=this.j.uR(h);if(-1!=k){var m=this.j.Ab(k,b);if(1!=m&&2!=m)if(this.cf(this.j.af(k))){this.j.Kb(k,b,1);m=f.vf(a,-1);var n=k,p=this.j.Le(h),q=1;do{var r=this.sm(h,e);f.ij(m,r);-1!=d&&this.j.nn(p,d,1);this.j.Kb(n,b,1);n=this.j.jc(n);do{r=1==q?f.U(h):f.Ma(h);var t=-1!=r?this.j.Le(r):-1}while(t== |
|
p);var u=this.j.jk(n);if(u!=t){do r=1==q?f.Ma(h):f.U(h),t=-1!=r?this.j.Le(r):-1;while(t==p);u!=t?(t=u,r=this.j.tj(this.j.km(t))):q=-q}p=t;h=r}while(n!=k);f.kn(m,!0)}else this.j.Kb(k,b,2)}}};l.prototype.eF=function(){for(var c=this.j.$g(),a=new g.ia(0),b=this.j.Re;-1!=b;b=this.j.Rf(b)){var d=this.j.Me(b),e=d;if(-1!=d){do{if(1!=this.j.Ab(e,c)){var f=this.j.xa(e);this.j.Kb(f,c,1);this.j.Kb(e,c,1);this.cf(this.j.af(e))&&this.cf(this.j.af(f))&&a.add(e)}e=this.j.jc(this.j.xa(e))}while(e!=d)}}this.j.Jg(c); |
|
this.j.JP(a)};l.prototype.sm=function(c,a){return-1==a?c:this.aS(c,a)};l.prototype.aS=function(c,a){var b=this.j.g,d=this.j.km(this.j.Le(c));do{var e=this.j.tj(d);if(b.Qf(b.bd(e))==a)return e;d=this.j.js(d)}while(-1!=d);return c};l.prototype.Ot=function(c,a,b){this.eF();var d=this.j.g,e=d.Ig(1736),f=this.j.$g();this.uK(c,a,e,b,f,-1);this.j.Jg(f);g.rn.V(d,e,1,this.Mv,null);return e};l.prototype.uK=function(c,a,b,d,e,f){this.ME(c,b,e,f,d);-1!=a&&this.ME(a,b,e,f,d);c=this.j.g;for(a=this.j.Re;-1!=a;a= |
|
this.j.Rf(a)){var h=this.j.Me(a);if(-1!=h){var k=h;do{var m=this.j.Ab(k,e);if(1!=m&&2!=m)if(this.cf(this.j.af(k))){m=c.vf(b,-1);var n=k;do{var p=this.j.mm(n);-1!=p?p=this.j.tj(p):(p=this.j.tj(this.j.mm(this.j.xa(n))),p=this.j.g.U(p));p=this.sm(p,d);c.ij(m,p);this.j.Kb(n,e,1);-1!=f&&(p=this.j.Le(p),this.j.nn(p,f,1));n=this.j.jc(n)}while(n!=k);c.kn(m,!0)}else this.j.Kb(k,e,2);k=this.j.jc(this.j.xa(k))}while(k!=h)}}};l.prototype.aY=function(c,a,b){var d=this.j.g,e=d.Ig(1736),f=d.Ig(1607),h=d.Ig(550); |
|
this.eF();var k=-1,m=this.j.$g(),n=this.j.Dp();this.uK(c,a,e,b,m,n);for(c=this.j.Re;-1!=c;c=this.j.Rf(c))if(a=this.j.Me(c),-1!=a){var p=a;do{var q=this.j.Ab(p,m),r=this.j.Ab(this.j.xa(p),m);q|=r;if(2==q)if(q=this.j.dh(p),this.cf(q)){var t=d.vf(f,-1),u=p;q=this.Yw(c,d);q=this.sm(q,b);d.ij(t,q);this.j.nn(c,n,1);do{q=this.j.uf(u);r=this.Yw(q,d);r=this.sm(r,b);d.ij(t,r);this.j.Kb(u,m,1);this.j.Kb(this.j.xa(u),m,1);this.j.nn(q,n,1);u=this.j.jc(u);q=this.j.Ab(u,m);r=this.j.Ab(this.j.xa(u),m);q|=r;if(2!= |
|
q)break;q=this.j.dh(u);if(!this.cf(q)){this.j.Kb(u,m,1);this.j.Kb(this.j.xa(u),m,1);break}}while(u!=p)}else this.j.Kb(p,m,1),this.j.Kb(this.j.xa(p),m,1);p=this.j.jc(this.j.xa(p))}while(p!=a)}for(c=this.j.Re;-1!=c;c=this.j.Rf(c))q=this.j.ng(c,n),1!=q&&(q=this.j.xd(c),this.cf(q)&&(-1==k&&(k=d.vf(h,-1)),a=this.j.km(c),-1!=a&&(a=this.j.tj(a),q=this.sm(a,b),d.ij(k,q))));this.j.Ep(n);this.j.Jg(m);g.rn.V(d,e,1,this.Mv,null);b=[];b[0]=h;b[1]=f;b[2]=e;return b};l.prototype.Yw=function(c,a){var b=-1;for(c= |
|
this.j.km(c);-1!=c;c=this.j.js(c)){var d=this.j.tj(c);-1==b&&(b=d);var e=this.j.La(a.Qf(a.bd(d)));if(this.cf(e)){b=d;break}}return b};l.prototype.lB=function(c,a){for(var b=this.jl(a),d=this.j.jk(a),e=this.j.uf(a),f=0,h=0,k=this.j.km(d);-1!=k;k=this.j.js(k)){var m=this.j.tj(k),n=c.bd(m),p=this.j.La(c.Qf(n));n=c.Xa(n);(p=0!=(p&b))&&n==m&&(this.tl=a);var q=c.U(m);-1!=q&&this.j.Le(q)==e?(f++,p&&(-1===this.tl&&n==q&&(m=this.j.jc(a),this.cf(this.jl(m))&&(this.tl=m)),h++)):(m=c.Ma(m),-1!=m&&this.j.Le(m)== |
|
e&&(f--,p&&(-1===this.tl&&n===m&&(m=this.j.jc(a),this.cf(this.jl(m))&&(this.tl=m)),h--)))}this.j.D(d,this.oH);this.j.D(e,this.pH);c=g.h.tb(this.oH,this.pH);return(0!=h?h:f)*c};l.prototype.jl=function(c){return this.j.dh(c)|this.j.af(c)|this.j.af(this.j.xa(c))};l.prototype.xK=function(c){for(var a=this.j.xa(this.j.te(c)),b=-1;a!=c;){if(this.cf(this.jl(a))){if(-1!=b)return-1;b=a}a=this.j.xa(this.j.te(a))}return-1!=b?this.j.xa(b):-1};l.prototype.yK=function(c){for(var a=this.j.xa(this.j.jc(c)),b=-1;a!= |
|
c;){if(this.cf(this.jl(a))){if(-1!=b)return-1;b=a}a=this.j.xa(this.j.jc(a))}return-1!=b?this.j.xa(b):-1};l.prototype.mJ=function(c,a,b,d,e){var f=this.j.g,h=c,k=this.j.xa(h);this.j.Kb(h,b,1);this.j.Kb(k,b,1);this.tl=-1;for(var m=this.lB(f,h),n=h,p=-1,q=!1,r=1;;){var t=this.j.te(h);if(t==k)break;k=this.j.jc(k);if(this.j.xa(t)!=k)if(h=this.xK(h),-1==h){q=!0;break}else k=this.j.xa(h);else h=t;if(h==c){p=c;break}t=this.jl(h);if(!this.cf(t))break;this.j.Kb(h,b,1);this.j.Kb(k,b,1);n=h;m+=this.lB(f,h);r++}if(-1== |
|
p)for(h=c,k=this.j.xa(h),p=h;;){c=this.j.jc(h);if(c==k)break;k=this.j.te(k);if(this.j.xa(c)!=k)if(h=this.yK(h),-1==h){q=!0;break}else k=this.j.xa(h);else h=c;t=this.jl(h);if(!this.cf(t))break;this.j.Kb(h,b,1);this.j.Kb(k,b,1);p=h;m+=this.lB(f,h);r++}else if(-1!=this.tl&&(n=this.tl,p=this.j.te(this.tl),this.j.xa(p)!=this.j.jc(this.j.xa(n))&&(p=this.xK(n),-1==p)))throw g.i.Qa();0<=m||(h=p,p=this.j.xa(n),n=this.j.xa(h));b=f.vf(a,-1);h=n;n=this.j.jk(n);q=this.j.uf(p)==n&&q;m=this.Yw(n,f);m=this.sm(m, |
|
e);f.ij(b,m);-1!=d&&this.j.nn(n,d,1);n=0;for(r=q?g.O.truncate((r+1)/2):-1;;){c=this.j.uf(h);m=this.Yw(c,f);m=this.sm(m,e);f.ij(b,m);n++;-1!=d&&this.j.nn(c,d,1);q&&n==r&&(b=f.vf(a,-1),f.ij(b,m));if(h==p)break;c=this.j.jc(h);if(this.j.te(this.j.xa(h))!=this.j.xa(c)){if(h=this.yK(h),-1==h)throw g.i.Qa();}else h=c}};l.prototype.Pt=function(c){for(var a=this.j.g.Ig(1607),b=this.j.$g(),d=this.j.Re;-1!=d;d=this.j.Rf(d)){var e=this.j.Me(d),f=e;do 1!=this.j.Ab(f,b)&&this.cf(this.jl(f))&&this.mJ(f,a,b,-1,c), |
|
f=this.j.jc(this.j.xa(f));while(f!=e)}this.j.Jg(b);return a};l.prototype.bY=function(c){for(var a=this.j.g,b=a.Ig(1607),d=a.Ig(550),e=this.j.$g(),f=this.j.Dp(),h=-1,k=this.j.Re;-1!=k;k=this.j.Rf(k)){var m=this.j.Me(k),n=m;do{var p=this.j.Ab(n,e);1!=p&&(p=this.jl(n),this.cf(p)&&this.mJ(n,b,e,f,c));n=this.j.jc(this.j.xa(n))}while(n!=m)}for(k=this.j.Re;-1!=k;k=this.j.Rf(k))p=this.j.ng(k,f),1!=p&&(p=this.j.xd(k),this.cf(p)&&(-1==h&&(h=a.vf(d,-1)),m=this.j.km(k),-1!=m&&(m=this.j.tj(m),m=this.sm(m,c),a.ij(h, |
|
m))));this.j.Jg(e);this.j.Ep(f);c=[];c[0]=d;c[1]=b;return c};l.prototype.mr=function(){for(var c=this.j.g,a=c.Ig(550),b=c.vf(a,-1),d=this.j.Re;-1!=d;d=this.j.Rf(d))if(this.cf(this.j.xd(d))){for(var e=-1,f=this.j.km(d);-1!=f;f=this.j.js(f)){var h=this.j.tj(f);-1==e&&(e=h);var k=this.j.La(c.Qf(c.bd(h)));if(this.cf(k)){e=h;break}}c.ij(b,e)}return a};l.prototype.bq=function(c){this.Gj=[];for(var a=0;a<c;a++)this.Gj[a]=!1};l.aW=function(c,a,b){var d=c.Ia(),e=Array(1E3);g.O.$u(e,null);var f=g.O.lg(1E3, |
|
0),h=c.I(),k=!0,m=2==a.Db();if(1!=a.Db()&&2!=a.Db())throw g.i.Qa();for(var n=0;n<h;){var p=g.O.truncate(c.lW(e,n)-n);m?g.hd.sK(a,e,p,b,f):g.hd.tK(a,e,p,b,f);for(var q=0,r=0;r<p;r++)0==f[r]&&(k&&(k=!1,d.Fd(c,0,n)),q!=r&&d.Fd(c,n+q,n+r),q=r+1);k||q==p||d.Fd(c,n+q,n+p);n+=p}return k?c:d};l.zG=function(c,a,b){return c instanceof g.de?l.aW(c,a,b):a instanceof g.Sa?c.B()||a.B()?c.Ia():g.Tk.zU(b,c,a)?g.Tk.CO(c,a):c.Ia():l.bW(c,a,b)};l.Av=function(c,a,b,d){var e=new g.l;c.A(e);var f=new g.l;a.A(f);var h= |
|
new g.l;h.K(e);h.Zb(f);b=g.ta.Wd(b,h,!0);h=new g.l;h.K(f);f=g.ta.Er(b);h.W(f,f);if(!e.isIntersecting(h)){if(c.Db()<=a.Db())return l.ki(l.Xe(c.Ia()),c,"\x26");if(c.Db()>a.Db())return l.ki(l.Xe(a.Ia()),c,"\x26")}f=new l;e=new g.gd;h=e.Ib(l.Xe(c));a=e.Ib(l.Xe(a));f.Ft(e,b,d);d=f.Av(h,a);c=l.ki(e.Ne(d),c,"\x26");g.aa.Hc(c.getType())&&(c.Ch(2,b),1736==c.getType()&&c.fm());return c};l.bW=function(c,a,b){if(c.B()||a.B())return c.Ia();var d=[null],e=[0],f=2==a.Db();if(1!=a.Db()&&2!=a.Db())throw g.i.Qa(); |
|
d[0]=c.D();f?g.hd.sK(a,d,1,b,e):g.hd.tK(a,d,1,b,e);return 0==e[0]?c.Ia():c};l.prototype.LU=function(c,a,b,d,e){if(c.B())return c;var f=new g.gd;c=f.Ib(c);return this.Mk(f,c,a,b,d,e)};l.prototype.NU=function(c,a,b,d,e,f){if(e&&550!=c.ic(a)){var h=new g.RC;h.TX(c,b);h.Ng?(g.Tk.V(c,b,f,!0),e=!1):this.j.yy(b)}else g.Tk.V(c,b,f,!0),e=!1;d&&550!=c.ic(a)?this.j.wJ(c,a,f):this.j.vJ(c,a,f);if(this.j.pA)return this.j.Ug(),this.j=null,this.Mk(c,a,b,d,!1,f);this.j.yy(NaN);f=this.j.La(a);this.bq(f+1);this.Gj[f]= |
|
!0;if(1736==c.ic(a)||d&&550!=c.ic(a))return c.Yo(a,0),a=this.Ot(a,-1,-1),c=c.Ne(a),c.Yo(0),e?c.Ch(1,0):(c.Ch(2,b),c.fm()),c;if(1607==c.ic(a))return a=this.Pt(-1),c=c.Ne(a),e||c.Ch(2,b),c;if(550==c.ic(a))return a=this.mr(),c=c.Ne(a),e||c.Ch(2,b),c;throw g.i.Qa();};l.prototype.Mk=function(c,a,b,d,e,f){this.j=new g.iu;try{return this.NU(c,a,b,d,e,f)}finally{this.j.Ug()}};l.Mk=function(c,a,b,d,e){return(new l).LU(c,a,b,d,e)};l.prototype.MU=function(c,a,b,d){this.Mv=c;this.j=new g.iu;c=a.In(b);var e=a.ic(b); |
|
1!=c||550==e?this.j.vJ(a,b,d):this.j.wJ(a,b,d);if(!this.j.pA)if(this.j.yy(NaN),d=this.j.La(b),this.bq(d+1),this.Gj[d]=!0,1736==a.ic(b)||1==c&&550!=a.ic(b))a.Yo(b,0),d=this.Ot(b,-1,-1),a.hC(d,b),a.BB(d);else if(1607==a.ic(b))d=this.Pt(-1),a.hC(d,b),a.BB(d);else if(550==a.ic(b))d=this.mr(),a.hC(d,b),a.BB(d);else throw g.i.fa("internal error");};l.prototype.im=function(c,a){var b=g.aa.tf(this.j.g.ic(c)),d=g.aa.tf(this.j.g.ic(a));if(b>d)return c;var e=this.j.La(c),f=this.j.La(a);this.bq((e|f)+1);this.Gj[this.j.La(c)]= |
|
!0;if(2==b&&2==d)return this.Ot(c,a,-1);if(1==b&&2==d||1==b&&1==d)return this.Pt(-1);if(0==b)return this.mr();throw g.i.Qa();};l.prototype.Av=function(c,a){var b=g.aa.tf(this.j.g.ic(c)),d=g.aa.tf(this.j.g.ic(a)),e=this.j.La(c),f=this.j.La(a);this.bq((e|f)+1);this.Gj[this.j.La(c)|this.j.La(a)]=!0;e=-1;1<this.j.g.ht.Aa&&(e=c);if(2==b&&2==d)return this.Ot(c,a,e);if(1==b&&0<d||1==d&&0<b)return this.Pt(e);if(0==b||0==d)return this.mr();throw g.i.Qa();};l.prototype.Pz=function(c,a){var b=g.aa.tf(this.j.g.ic(c)), |
|
d=g.aa.tf(this.j.g.ic(a)),e=this.j.La(c),f=this.j.La(a);this.bq((e|f)+1);this.Gj[this.j.La(c)|this.j.La(a)]=!0;e=-1;1<this.j.g.ht.Aa&&(e=c);if(2==b&&2==d)return this.aY(c,a,e);if(1==b&&0<d||1==d&&0<b)return this.bY(e);if(0==b||0==d)return c=[],c[0]=this.mr(),c;throw g.i.Qa();};l.prototype.ep=function(c,a){var b=g.aa.tf(this.j.g.ic(c)),d=g.aa.tf(this.j.g.ic(a)),e=this.j.La(c),f=this.j.La(a);this.bq((e|f)+1);this.Gj[this.j.La(c)]=!0;this.Gj[this.j.La(a)]=!0;if(2==b&&2==d)return this.Ot(c,a,-1);if(1== |
|
b&&1==d)return this.Pt(-1);if(0==b&&0==d)return this.mr();throw g.i.Qa();};l.Xe=function(c){var a=c.getType();return 197==a?(a=new g.Da(c.description),c.B()||a.ad(c,!1),a):33==a?(a=new g.de(c.description),c.B()||a.add(c),a):322==a?(a=new g.Ta(c.description),c.B()||a.oc(c,!0),a):c};l.ki=function(c,a,b){var d=c.getType();return 197==d?(a=new g.Da(c.description),c.B()||a.ad(c,!1),a):33!=d||"|"!=b&&"^"!=b?322==d?(a=new g.Ta(c.description),c.B()||a.oc(c,!0),a):33==d&&"-"==b&&33==a.getType()||550==d&&"\x26"== |
|
b&&33==a.getType()?(a=new g.Sa(c.description),c.B()||c.ve(0,a),a):c:(a=new g.de(c.description),c.B()||a.add(c),a)};l.im=function(c,a,b,d){if(c.B()||a.B()||c.Db()>a.Db())return l.ki(l.Xe(c),c,"-");var e=new g.l;c.A(e);var f=new g.l;a.A(f);if(!e.isIntersecting(f))return l.ki(l.Xe(c),c,"-");var h=new g.l;h.K(e);h.Zb(f);b=g.ta.Wd(b,h,!0);f=new l;e=new g.gd;h=e.Ib(l.Xe(c));a=e.Ib(l.Xe(a));f.Ft(e,b,d);d=f.im(h,a);d=e.Ne(d);c=l.ki(d,c,"-");g.aa.Hc(c.getType())&&(c.Ch(2,b),1736==c.getType()&&c.fm());return c}; |
|
l.VP=function(c,a,b){if(2>c.length)throw g.i.N("not enough geometries to dissolve");for(var d=0,e=0,f=c.length;e<f;e++)d=Math.max(c[e].Db(),d);var h=new g.l;h.Oa();var k=new g.gd,m=-1,n=0,p=-1;e=0;for(f=c.length;e<f;e++)if(c[e].Db()==d)if(c[e].B())-1==p&&(p=e);else{p=e;-1==m?m=k.Ib(l.Xe(c[e])):k.uN(m,l.Xe(c[e]));var q=new g.l;c[e].xc(q);h.Zb(q);n++}if(2>n)return l.Xe(c[p]);c=2==d;a=g.ta.Wd(0==d?a:null,h,!0);return(new l).Mk(k,m,a,c,!0,b)};l.Pz=function(c,a,b,d){var e=[null,null,null],f=new g.l;c.A(f); |
|
var h=new g.l;a.A(h);var k=new g.l;k.K(f);k.Zb(h);b=g.ta.Wd(b,k,!0);k=new g.l;k.K(h);h=g.ta.Er(b);k.W(h,h);if(!f.isIntersecting(k)){if(c.Db()<=a.Db())return c=l.ki(l.Xe(c.Ia()),c,"\x26"),e[c.Db()]=c,e;if(c.Db()>a.Db())return c=l.ki(l.Xe(a.Ia()),c,"\x26"),e[c.Db()]=c,e}h=new l;f=new g.gd;k=f.Ib(l.Xe(c));a=f.Ib(l.Xe(a));h.Ft(f,b,d);d=h.Pz(k,a);for(a=0;a<d.length;a++)h=l.ki(f.Ne(d[a]),c,"\x26"),g.aa.Hc(h.getType())&&(h.Ch(2,b),1736==h.getType()&&h.fm()),e[h.Db()]=h;return e};l.ep=function(c,a,b,d){if(c.Db()> |
|
a.Db())return l.ki(l.Xe(c),c,"^");if(c.Db()<a.Db()||c.B())return l.ki(l.Xe(a),c,"^");if(a.B())return l.ki(l.Xe(c),c,"^");var e=new g.l;c.A(e);var f=new g.l;a.A(f);var h=new g.l;h.K(e);h.Zb(f);b=g.ta.Wd(b,h,!0);f=new l;e=new g.gd;h=e.Ib(l.Xe(c));a=e.Ib(l.Xe(a));f.Ft(e,b,d);d=f.ep(h,a);c=l.ki(e.Ne(d),c,"^");g.aa.Hc(c.getType())&&(c.Ch(2,b),1736==c.getType()&&c.fm());return c};l.prototype.LQ=function(c,a){var b=this.j.g;c=b.vf(c,-1);for(var d=a.size,e=0;e<d;e++){var f=a.get(e);b.ij(c,f)}b.kn(c,!0)}; |
|
l.prototype.aX=function(c,a){for(var b=this.j.g,d=b.ld;-1!=d;d=b.ue(d))if(d==a)for(var e=b.Ob(d);-1!=e;e=b.Rb(e)){var f=b.Xa(e);if(-1!=f)for(var h=b.U(f);-1!=h;){f=this.j.Le(f);var k=this.j.Le(h);f=this.j.tR(f,k);-1!=f&&(k=this.j.xa(f),this.j.Kb(f,c,1),this.j.Kb(k,c,2));f=h;h=b.U(f)}}};l.prototype.cW=function(c,a,b,d){b=this.j.La(b);d=this.j.La(d);var e=new g.ia(0);e.Jb(256);for(var f=this.j.g,h=this.j.$g(),k=this.j.Re;-1!=k;k=this.j.Rf(k)){var m=this.j.Me(k);if(-1!=m){var n=m;do{if(1!=this.j.Ab(n, |
|
h)){var p=n,q=n,r=!1,t=0;do{this.j.Kb(p,h,1);if(!r){var u=this.j.dh(p);0!=(u&d)&&0!=(this.j.af(p)&b)&&(q=p,r=!0)}r&&(e.add(this.j.tj(this.j.km(this.j.jk(p)))),-1!=c&&(u=this.j.dh(p),0!=(u&d)&&(u=this.j.Ab(p,c),t|=u)));p=this.j.jc(p)}while(p!=q);r&&0<this.j.Kp(this.j.$e(q))&&(p=f.Ig(1736),this.LQ(p,e),-1!=a&&f.HJ(p,a,t));e.clear(!1)}n=this.j.jc(this.j.xa(n))}while(n!=m)}}this.j.Jg(h)};l.prototype.FP=function(c,a,b,d){this.j.yW();var e=-1;-1!=c&&(e=this.j.$g(),this.aX(e,b));this.cW(e,c,a,b);-1!=e&& |
|
(this.j.Jg(e),e=-1);var f=this.j.g;c=0;for(e=f.ld;-1!=e;e=f.ue(e))e!=a&&e!=b&&(d.add(e),c++);d.Vd(0,c,function(h,k){h=f.wz(f.Ob(h));k=f.wz(f.Ob(k));return h<k?-1:h==k?0:1})};l.prototype.Ug=function(){null!=this.j&&(this.j.Ug(),this.j=null)};return l}();g.Fg=v})(D||={});(function(g){var v=function(){function l(c){void 0!==c?this.setScale(c):this.RB()}l.prototype.lx=function(){this.Lb=this.Gb=this.jb=this.eb=this.ab=this.bb=0};l.prototype.Nb=function(c){return this==c?!0:c instanceof l?this.bb==c.bb&& |
|
this.eb==c.eb&&this.Gb==c.Gb&&this.jb==c.jb&&this.ab==c.ab&&this.Lb==c.Lb:!1};l.prototype.cc=function(){g.O.uj();g.O.uj();g.O.uj();g.O.uj();g.O.uj();return g.O.uj()};l.prototype.Eh=function(c,a){var b=this.jb*c.x+this.ab*c.y+this.Lb;a.x=this.bb*c.x+this.eb*c.y+this.Gb;a.y=b};l.prototype.eY=function(c,a,b){for(var d=0;d<a;d++){var e=c[d].x,f=c[d].y,h=this.bb*e+this.eb*f+this.Gb;e=this.jb*e+this.ab*f+this.Lb;null!=b[d]?b[d].ma(h,e):b[d]=g.h.construct(h,e)}};l.prototype.multiply=function(c){l.multiply(this, |
|
c,this)};l.multiply=function(c,a,b){var d=c.bb*a.bb+c.jb*a.eb,e=c.eb*a.bb+c.ab*a.eb,f=c.Gb*a.bb+c.Lb*a.eb+a.Gb,h=c.bb*a.jb+c.jb*a.ab,k=c.eb*a.jb+c.ab*a.ab;c=c.Gb*a.jb+c.Lb*a.ab+a.Lb;b.bb=d;b.eb=e;b.Gb=f;b.jb=h;b.ab=k;b.Lb=c};l.prototype.Of=function(){var c=new l;c.bb=this.bb;c.eb=this.eb;c.Gb=this.Gb;c.jb=this.jb;c.ab=this.ab;c.Lb=this.Lb;return c};l.prototype.mC=function(c){if(!c.B()){for(var a=[],b=0;4>b;b++)a[b]=new g.h;c.nB(a);this.fY(a,a);c.Zw(a,4)}};l.prototype.fY=function(c,a){for(var b=0;b< |
|
c.length;b++){var d=new g.h,e=c[b];d.x=this.bb*e.x+this.eb*e.y+this.Gb;d.y=this.jb*e.x+this.ab*e.y+this.Lb;a[b]=d}};l.prototype.pS=function(c,a){c.B()||a.B()||0==c.R()||0==c.ca()?this.lx():(this.eb=this.jb=0,this.bb=a.R()/c.R(),this.ab=a.ca()/c.ca(),this.Gb=a.v-c.v*this.bb,this.Lb=a.G-c.G*this.ab)};l.prototype.dY=function(c){var a=new g.h,b=new g.h;a.ma(this.bb,this.jb);b.ma(this.eb,this.ab);a.sub(a);var d=.5*a.Sk();a.ma(this.bb,this.jb);b.ma(this.eb,this.ab);a.add(b);a=.5*a.Sk();return c*(d>a?Math.sqrt(d): |
|
Math.sqrt(a))};l.prototype.RB=function(){this.bb=1;this.jb=this.Gb=this.eb=0;this.ab=1;this.Lb=0};l.prototype.isIdentity=function(c){if(void 0!==c){var a=g.h.construct(0,1);this.Eh(a,a);a.sub(g.h.construct(0,1));if(a.Sk()>c*c)return!1;a.ma(0,0);this.Eh(a,a);if(a.Sk()>c*c)return!1;a.ma(1,0);this.Eh(a,a);a.sub(g.h.construct(1,0));return a.Sk()<=c*c}return 1==this.bb&&1==this.ab&&0==this.eb&&0==this.Gb&&0==this.jb&&0==this.Lb};l.prototype.Bi=function(c){return Math.abs(this.bb*this.ab-this.jb*this.eb)<= |
|
2*c*(Math.abs(this.bb*this.ab)+Math.abs(this.jb*this.eb))};l.prototype.gg=function(c,a){this.bb=1;this.eb=0;this.Gb=c;this.jb=0;this.ab=1;this.Lb=a};l.prototype.setScale=function(c,a){void 0!==a?(this.bb=c,this.jb=this.Gb=this.eb=0,this.ab=a,this.Lb=0):this.setScale(c,c)};l.prototype.$B=function(){this.bb=0;this.eb=1;this.Gb=0;this.jb=1;this.Lb=this.ab=0};l.prototype.setRotate=function(c){this.pX(Math.cos(c),Math.sin(c))};l.prototype.pX=function(c,a){this.bb=c;this.eb=-a;this.Gb=0;this.jb=a;this.ab= |
|
c;this.Lb=0};l.prototype.shift=function(c,a){this.Gb+=c;this.Lb+=a};l.prototype.scale=function(c,a){this.bb*=c;this.eb*=c;this.Gb*=c;this.jb*=a;this.ab*=a;this.Lb*=a};l.prototype.flipX=function(c,a){this.bb=-this.bb;this.eb=-this.eb;this.Gb=c+a-this.Gb};l.prototype.flipY=function(c,a){this.jb=-this.jb;this.ab=-this.ab;this.Lb=c+a-this.Lb};l.prototype.rotate=function(c){var a=new l;a.setRotate(c);this.multiply(a)};l.prototype.inverse=function(c){if(void 0!==c){var a=this.bb*this.ab-this.eb*this.jb; |
|
0==a?c.lx():(a=1/a,c.Gb=(this.eb*this.Lb-this.Gb*this.ab)*a,c.Lb=(this.Gb*this.jb-this.bb*this.Lb)*a,c.bb=this.ab*a,c.eb=-this.eb*a,c.jb=-this.jb*a,c.ab=this.bb*a)}else this.inverse(this)};return l}();g.Dd=v})(D||={});(function(g){var v=function(){function l(){}l.prototype.lx=function(){this.hg=this.Lb=this.Gb=this.He=this.Fe=this.Ee=this.Ge=this.ab=this.eb=this.Ze=this.jb=this.bb=0};l.prototype.setScale=function(c,a,b){this.bb=c;this.eb=this.Ze=this.jb=0;this.ab=a;this.Fe=this.Ee=this.Ge=0;this.He= |
|
b;this.hg=this.Lb=this.Gb=0};l.prototype.setTranslate=function(c,a,b){this.bb=1;this.eb=this.Ze=this.jb=0;this.ab=1;this.Fe=this.Ee=this.Ge=0;this.He=1;this.Gb=c;this.Lb=a;this.hg=b};l.prototype.translate=function(c,a,b){this.Gb+=c;this.Lb+=a;this.hg+=b};l.prototype.mC=function(c){if(!c.B()){for(var a=new g.Nd[8],b=0;8>b;b++)a[b]=new g.Nd;c.nB(a);this.transform(a,8,a);c.Zw(a)}};l.prototype.transform=function(c,a,b){for(var d=0;d<a;d++){var e=new g.Nd,f=c[d];e.x=this.bb*f.x+this.eb*f.y+this.Ee*f.z+ |
|
this.Gb;e.y=this.jb*f.x+this.ab*f.y+this.Fe*f.z+this.Lb;e.z=this.Ze*f.x+this.Ge*f.y+this.He*f.z+this.hg;b[d]=e}};l.prototype.fp=function(c){var a=new g.Nd;a.x=this.bb*c.x+this.eb*c.y+this.Ee*c.z+this.Gb;a.y=this.jb*c.x+this.ab*c.y+this.Fe*c.z+this.Lb;a.z=this.Ze*c.x+this.Ge*c.y+this.He*c.z+this.hg;return a};l.prototype.Ag=function(c){l.multiply(this,c,this)};l.multiply=function(c,a,b){var d=c.bb*a.bb+c.jb*a.eb+c.Ze*a.Ee,e=c.bb*a.jb+c.jb*a.ab+c.Ze*a.Fe,f=c.bb*a.Ze+c.jb*a.Ge+c.Ze*a.He,h=c.eb*a.bb+c.ab* |
|
a.eb+c.Ge*a.Ee,k=c.eb*a.jb+c.ab*a.ab+c.Ge*a.Fe,m=c.eb*a.Ze+c.ab*a.Ge+c.Ge*a.He,n=c.Ee*a.bb+c.Fe*a.eb+c.He*a.Ee,p=c.Ee*a.jb+c.Fe*a.ab+c.He*a.Fe,q=c.Ee*a.Ze+c.Fe*a.Ge+c.He*a.He,r=c.Gb*a.bb+c.Lb*a.eb+c.hg*a.Ee+a.Gb,t=c.Gb*a.jb+c.Lb*a.ab+c.hg*a.Fe+a.Lb;c=c.Gb*a.Ze+c.Lb*a.Ge+c.hg*a.He+a.hg;b.bb=d;b.jb=e;b.Ze=f;b.eb=h;b.ab=k;b.Ge=m;b.Ee=n;b.Fe=p;b.He=q;b.Gb=r;b.Lb=t;b.hg=c};l.inverse=function(c,a){var b=c.bb*(c.ab*c.He-c.Ge*c.Fe)-c.jb*(c.eb*c.He-c.Ge*c.Ee)+c.Ze*(c.eb*c.Fe-c.ab*c.Ee);if(0!=b){var d=1/b; |
|
b=(c.ab*c.He-c.Ge*c.Fe)*d;var e=-(c.eb*c.He-c.Ge*c.Ee)*d,f=(c.eb*c.Fe-c.ab*c.Ee)*d,h=-(c.jb*c.He-c.Fe*c.Ze)*d,k=(c.bb*c.He-c.Ze*c.Ee)*d,m=-(c.bb*c.Fe-c.jb*c.Ee)*d,n=(c.jb*c.Ge-c.Ze*c.ab)*d,p=-(c.bb*c.Ge-c.Ze*c.eb)*d;d*=c.bb*c.ab-c.jb*c.eb;var q=-(c.Gb*b+c.Lb*e+c.hg*f),r=-(c.Gb*h+c.Lb*k+c.hg*m);c=-(c.Gb*n+c.Lb*p+c.hg*d);a.bb=b;a.jb=h;a.Ze=n;a.eb=e;a.ab=k;a.Ge=p;a.Ee=f;a.Fe=m;a.He=d;a.Gb=q;a.Lb=r;a.hg=c}else throw g.i.fa("math singularity");};l.prototype.Of=function(){var c=new l;c.bb=this.bb;c.jb= |
|
this.jb;c.Ze=this.Ze;c.eb=this.eb;c.ab=this.ab;c.Ge=this.Ge;c.Ee=this.Ee;c.Fe=this.Fe;c.He=this.He;c.Gb=this.Gb;c.Lb=this.Lb;c.hg=this.hg;return c};return l}();g.JY=v})(D||={});(function(g){var v=function(c){function a(b){if(void 0!==b)b=c.call(this,b.cc(),b)||this;else{b=c.call(this)||this;b.bg=[];b.bg[0]=0;b.Aa=1;b.uh=[];for(var d=0;10>d;d++)b.uh[d]=-1;b.uh[b.bg[0]]=0}b.jq=!0;return b}R(a,c);a.prototype.re=function(b){this.hasAttribute(b)||(this.uh[b]=0,this.jD())};a.prototype.removeAttribute=function(b){if(0== |
|
b)throw g.i.N("Position attribue cannot be removed");this.hasAttribute(b)&&(this.uh[b]=-1,this.jD())};a.prototype.reset=function(){this.bg[0]=0;this.Aa=1;for(var b=0;b<this.uh.length;b++)this.uh[b]=-1;this.uh[this.bg[0]]=0;this.jq=!0};a.prototype.EF=function(){return l.kz().add(this)};a.og=function(){return l.kz().$R()};a.prototype.tM=function(){var b=this.cc();return new g.ra(b,this)};a.prototype.jD=function(){for(var b=this.Aa=0,d=0;10>b;b++)0<=this.uh[b]&&(this.bg[d]=b,this.uh[b]=d,d++,this.Aa++); |
|
this.jq=!0};a.prototype.cc=function(){this.jq&&(this.wl=this.An(),this.jq=!1);return this.wl};a.prototype.Nb=function(b){if(null==b)return!1;if(b==this)return!0;if(!(b instanceof a)||b.Aa!=this.Aa)return!1;for(var d=0;d<this.Aa;d++)if(this.bg[d]!=b.bg[d])return!1;return this.jq!=b.jq?!1:!0};a.prototype.GG=function(b){if(b.Aa!=this.Aa)return!1;for(var d=0;d<this.Aa;d++)if(this.bg[d]!=b.bg[d])return!1;return!0};a.Iw=function(b,d){for(var e=[],f=0;f<b.Aa;f++)e[f]=-1;f=0;for(var h=b.Aa;f<h;f++)e[f]=d.Pf(b.kd(f)); |
|
return e};a.BR=function(b,d){b=new a(b);b.re(d);return b.EF()};a.CR=function(b,d){for(var e=null,f=0;10>f;f++)!b.hasAttribute(f)&&d.hasAttribute(f)&&(null==e&&(e=new a(b)),e.re(f));return null!=e?e.EF():b};return a}(g.ra);g.ee=v;var l=function(){function c(){this.map=[];var a=new v;this.add(a);a=new v;a.re(1);this.add(a)}c.kz=function(){return c.bL};c.prototype.$R=function(){return c.ft};c.prototype.add=function(a){var b=a.cc();if(null!=c.ft&&c.ft.cc()==b&&a.GG(c.ft))return c.ft;if(null!=c.Dw&&c.Dw.cc()== |
|
b&&a.GG(c.Dw))return c.Dw;var d=null;void 0!==this.map[b]&&(d=this.map[b]);null==d&&(d=a.tM(),1==d.Aa?c.ft=d:2==d.Aa&&1==d.kd(1)?c.Dw=d:this.map[b]=d);return d};c.bL=new c;return c}()})(D||={});var za={feet:9002,kilometers:9036,meters:9001,miles:9093,"nautical-miles":9030,yards:9096},Aa={acres:109402,ares:109463,hectares:109401,"square-feet":109405,"square-kilometers":109414,"square-meters":109404,"square-miles":109439,"square-yards":109442},na=new (function(){function g(){this.RM=50;this.np=new Map; |
|
this.gj=[]}g.prototype.clear=function(){this.gj.length=0;this.np.clear()};g.prototype.delete=function(v){return this.np.delete(v)?(this.gj.splice(this.gj.indexOf(v),1),!0):!1};g.prototype.get=function(v){var l=this.np.get(v);if(void 0!==l)return this.gj[0]!==v&&(this.gj.splice(this.gj.indexOf(v),1),this.gj.unshift(v)),l};g.prototype.has=function(v){return this.np.has(v)};g.prototype.set=function(v,l){void 0!==this.get(v)&&this.delete(v);this.gj.unshift(v);this.np.set(v,l);this.oM();return this};g.prototype.oM= |
|
function(){for(;this.gj.length&&this.gj.length>this.RM;){var v=this.gj.pop();this.np.delete(v)}};return g}()),K=(da={},da.convertJSONToGeometry=function(g){return D.$b.fP(g)},da.hasM=function(g){return g.hasAttribute(D.Ih.M)},da.hasZ=function(g){return g.hasAttribute(D.Ih.Z)},da.getPointX=function(g){return g.Lg()},da.getPointY=function(g){return g.ih()},da.getPointZ=function(g){return g.bS()},da.getPointM=function(g){return g.zR()},da.getXMin=function(g){return g.es()},da.getYMin=function(g){return g.gs()}, |
|
da.getXMax=function(g){return g.ds()},da.getYMax=function(g){return g.fs()},da.getZExtent=function(g){return g.Tg(D.Ih.Z,0)},da.getMExtent=function(g){return g.Tg(D.Ih.M,0)},da.exportPaths=function(g){var v=[],l=g.da(),c=null,a=null,b=g.hasAttribute(D.Ih.Z),d=g.hasAttribute(D.Ih.M);b&&(c=g.ub(D.Ih.Z));d&&(a=g.ub(D.Ih.M));for(var e=new D.h,f=0;f<l;f++){for(var h=g.Ba(f),k=g.Ja(f),m=0,n=0,p=NaN,q=NaN,r=NaN,t=NaN,u=g.dc(f),w=[],y=h;y<h+k;y++){g.D(y,e);t=r=NaN;var x=[e.x,e.y];b&&(r=c.get(y),x.push(r)); |
|
d&&(t=a.get(y),x.push(t));y==h&&u&&(m=e.x,n=e.y,p=r,q=t);w.push(x)}!u||m==e.x&&n==e.y&&(!b||isNaN(p)&&isNaN(r)||p==r)&&(!d||isNaN(q)&&isNaN(t)||q==t)||w.push(w[0].slice(0));v.push(w)}return v},da.exportPathsFlat=function(){},da.exportPoints=function(g){var v=g.hasAttribute(D.Ih.Z),l=g.hasAttribute(D.Ih.M),c=null,a=null;v&&(c=g.ub(D.Ih.Z));l&&(a=g.ub(D.Ih.M));for(var b=new D.h,d=g.I(),e=[],f=0;f<d;f++){g.D(f,b);var h=[b.x,b.y];v&&h.push(c.get(f));l&&h.push(a.get(f));e.push(h)}return e},da.exportPointsFlat= |
|
function(){},da),ra=new Map;return function(){function g(){}g.buffer=Xa;g.clip=Da;g.contains=Fa;g.convexHull=Ra;g.crosses=Ga;g.cut=Ea;g.densify=cb;g.difference=Sa;g.disjoint=Ma;g.distance=Ha;g.equals=Ia;g.extendedSpatialReferenceInfo=Ca;g.generalize=bb;g.geodesicArea=gb;g.geodesicBuffer=Ya;g.geodesicDensify=db;g.geodesicLength=hb;g.intersect=Ua;g.intersects=Ja;g.isSimple=Pa;g.nearestCoordinate=Za;g.nearestVertex=$a;g.nearestVertices=ab;g.offset=Wa;g.overlaps=Na;g.planarArea=eb;g.planarLength=fb;g.relate= |
|
Oa;g.simplify=Qa;g.symmetricDifference=Ta;g.touches=Ka;g.union=Va;g.within=La;g.rotate=D.Ex.rotate;g.flipHorizontal=D.Ex.JQ;g.flipVertical=D.Ex.KQ;g.intersectLinesToPoints=ob;g.ExtendedParams=D.yC;g.clearDefaultSpatialReferenceTolerance=nb;g.changeDefaultSpatialReferenceTolerance=mb;g._enableProjection=ib;g._project=lb;g._getTransformation=jb;g._getTransformationBySuitability=kb;return g}()}();void 0!==qa&&(sa.exports=qa)})(ma);ma=ma.exports;ta=ta.getDefaultExportFromCjs(ma);ma=function(sa,qa){for(var fa= |
|
0;fa<qa.length;fa++){const ja=qa[fa];if("string"!==typeof ja&&!Array.isArray(ja))for(const ha in ja)if("default"!==ha&&!(ha in sa)){const W=Object.getOwnPropertyDescriptor(ja,ha);W&&Object.defineProperty(sa,ha,W.get?W:{enumerable:!0,get:()=>ja[ha]})}}return Object.freeze(Object.defineProperty(sa,Symbol.toStringTag,{value:"Module"}))}({__proto__:null,default:ta},[ma]);ya.GeometryEngineApi=ta;ya.geometryEngineBase=ma}); |