| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279 |
- // All material copyright ESRI, All Rights Reserved, unless otherwise specified.
- // See https://js.arcgis.com/4.7/esri/copyright.txt for details.
- //>>built
- define("require exports ../kernel ./Geometry ./Polygon ./Polyline ./Point ./Extent ./Multipoint dojo/_base/lang".split(" "),function(pa,za,ua,ca,ja,ka,ha,la,ma,qa){function W(d){if(void 0===ha.fromJson){if(void 0!==d.x&&void 0!==d.y)return new ha(d);if(void 0!==d.paths)return new ka(d);if(void 0!==d.rings)return new ja(d);if(void 0!==d.points)return new ma(d);if(void 0!==d.xmin&&void 0!==d.ymin&&void 0!==d.xmax&&void 0!==d.ymax)return new la(d)}else{if(void 0!==d.x&&void 0!==d.y)return ha.fromJson(d);
- if(void 0!==d.paths)return ka.fromJson(d);if(void 0!==d.rings)return ja.fromJson(d);if(void 0!==d.points)return ma.fromJson(d);if(void 0!==d.xmin&&void 0!==d.ymin&&void 0!==d.xmax&&void 0!==d.ymax)return la.fromJson(d)}}function Y(d){if(void 0===ha.fromJson){if(void 0!==d.x&&void 0!==d.y)return new ha(d);if(void 0!==d.paths)return new ka(d);if(void 0!==d.rings)return new ja(d);if(void 0!==d.points)return new ma(d);if(void 0!==d.xmin&&void 0!==d.ymin&&void 0!==d.xmax&&void 0!==d.ymax)return new la(d)}else{if(void 0!==
- d.x&&void 0!==d.y)return ha.fromJSON(d);if(void 0!==d.paths)return ka.fromJSON(d);if(void 0!==d.rings)return ja.fromJSON(d);if(void 0!==d.points)return ma.fromJSON(d);if(void 0!==d.xmin&&void 0!==d.ymin&&void 0!==d.xmax&&void 0!==d.ymax)return la.fromJSON(d)}}function X(d,m){var g;if(null==d||void 0===d||"number"===typeof d)return d;var b=d.toString();if(""===b)return null;if(2==m){if(g=va[b],void 0!==g)return g}else if(0==m){g=ra[b];if(void 0!==g)return g;g=sa[d];if(void 0!==g)return g}else if(3==
- m&&(g=ra[b],void 0!==g))return g;if(1==m&&(g=sa[d],void 0!==g))return g;if(!0===/^\d+$/.test(b))return parseInt(b);throw Error("Unrecognised Unit Type");}function na(d){if(void 0!==d&&null!==d)switch(d){case "loxodrome":return 1;case "great-elliptic":return 2;case "normal-section":return 3;case "shape-preserving":return 4}return 0}function Q(d,m){if(null===d||void 0===d||d.u())return null;switch(d.G()){case n.Fj.Point:var g=new ha(d.Be(),d.nf(),m);if(N){var b=d.hasAttribute(n.Wc.M);d.hasAttribute(n.Wc.Z)&&
- g.set("z",d.qH());b&&g.set("m",d.$G())}return g;case n.Fj.Polygon:var g=d.hasAttribute(n.Wc.Z),b=d.hasAttribute(n.Wc.M),a=oa(d,g,b),g=new ja({rings:a,hasZ:g,hasM:b});N?g.set("spatialReference",m):g.setSpatialReference(m);g.setCacheValue("_geVersion",d);return g;case n.Fj.Polyline:return g=d.hasAttribute(n.Wc.Z),b=d.hasAttribute(n.Wc.M),a=oa(d,g,b),g=new ka({paths:a,hasZ:g,hasM:b}),N?g.set("spatialReference",m):g.setSpatialReference(m),g.setCacheValue("_geVersion",d),g;case n.Fj.MultiPoint:var g=d.hasAttribute(n.Wc.Z),
- b=d.hasAttribute(n.Wc.M),c=a=null;g&&(a=d.Pa(n.Wc.Z));b&&(c=d.Pa(n.Wc.M));var e=new n.b,f=d.D();m=new ma(m);N&&(m.set("hasZ",g),m.set("hasM",b));for(var h=0;h<f;h++){d.w(h,e);var l=[e.x,e.y];g&&l.push(a.get(h));b&&l.push(c.get(h));m.addPoint(l)}m.setCacheValue("_geVersion",d);return m;case n.Fj.Envelope:return a=d.hasAttribute(n.Wc.Z),g=d.hasAttribute(n.Wc.M),b=new la(d.R.o,d.R.A,d.R.v,d.R.B,m),N&&(a&&(a=d.xf(n.Wc.Z,0),b.set("zmin",a.ca),b.set("zmax",a.ha)),g&&(a=d.xf(n.Wc.M,0),b.set("mmin",a.ca),
- b.set("mmax",a.ha))),b.setCacheValue("_geVersion",d),b}return null}function oa(d,m,g){var b=[],a=d.aa(),c=null,e=null;m&&(c=d.Pa(n.Wc.Z));g&&(e=d.Pa(n.Wc.M));for(var f=new n.b,h=0;h<a;h++){for(var l=d.wa(h),k=d.Ka(h),r=0,t=0,p=NaN,q=NaN,u=NaN,v=NaN,x=d.Qb(h),w=[],y=l;y<l+k;y++){d.w(y,f);var v=u=NaN,D=[f.x,f.y];m&&(u=c.get(y),D.push(u));g&&(v=e.get(y),D.push(v));y==l&&x&&(r=f.x,t=f.y,p=u,q=v);w.push(D)}!x||r==f.x&&t==f.y&&(!m||isNaN(p)&&isNaN(u)||p==u)&&(!g||isNaN(q)&&isNaN(v)||q==v)||w.push(w[0].slice(0));
- b.push(w)}return b}function aa(d){var m=d._geVersion;if(null==m||void 0==m){if(Object.freeze&&Object.isFrozen(d))return 102100===d.wkid?wa:4326===d.wkid?xa:m=n.Td.create(d.wkid);-1!=d.wkid&&null!==d.wkid&&void 0!==d.wkid?(m=n.Td.create(d.wkid),d._geVersion=m):""!==d.wkt&&void 0!==d.wkt&&null!==d.wkt&&(m=n.Td.nR(d.wkt),d._geVersion=m)}return m}function I(d){if(null==d)return null;if(void 0===d.getCacheValue){var m=d._geVersion;if(null==m||void 0==m)m=n.cc.bG(d),d._geVersion=m}else if(m=d.getCacheValue("_geVersion"),
- null==m||void 0==m)m=n.cc.bG(d),d.setCacheValue("_geVersion",m);return m}function M(d){return null===d.spatialReference?null:aa(d.spatialReference)}function ea(d){return"[object Array]"===Object.prototype.toString.call(d)}function ya(d){if(null===d||void 0===d||d.u())return null;switch(d.G()){case n.Fj.Point:var m={};m.x=d.Be();m.y=d.nf();if(N){var g=d.hasAttribute(n.Wc.M);d.hasAttribute(n.Wc.Z)&&(m.z=d.qH());g&&(m.m=d.$G())}return m;case n.Fj.Polygon:return m=d.hasAttribute(n.Wc.Z),g=d.hasAttribute(n.Wc.M),
- {rings:oa(d,m,g),hasZ:m,hasM:g};case n.Fj.Polyline:return m=d.hasAttribute(n.Wc.Z),g=d.hasAttribute(n.Wc.M),{paths:oa(d,m,g),hasZ:m,hasM:g};case n.Fj.MultiPoint:var m=d.hasAttribute(n.Wc.Z),g=d.hasAttribute(n.Wc.M),b=null,a=null;m&&(b=d.Pa(n.Wc.Z));g&&(a=d.Pa(n.Wc.M));var c=new n.b,e=d.D(),f={L_:[]};N&&(f.hasZ=m,f.hasM=g);for(var h=0;h<e;h++){d.w(h,c);var l=[c.x,c.y];m&&l.push(b.get(h));g&&l.push(a.get(h));f.points.push(l)}return f;case n.Fj.Envelope:return b=d.hasAttribute(n.Wc.Z),m=d.hasAttribute(n.Wc.M),
- g={},g.xmin=d.R.o,g.ymin=d.R.A,g.xmax=d.R.v,g.ymax=d.R.B,N&&(b&&(b=d.xf(n.Wc.Z,0),g.zmin=b.ca,g.zmax=b.ha),m&&(b=d.xf(n.Wc.M,0),g.mmin=b.ca,g.mmax=b.ha)),g}return null}var O=this&&this.__extends||function(d,m){function g(){this.constructor=d}for(var b in m)m.hasOwnProperty(b)&&(d[b]=m[b]);d.prototype=null===m?Object.create(m):(g.prototype=m.prototype,new g)},n;(function(d){var m=function(){function b(){}b.Bm=!1;b.iw=!1;b.xz="";return b}();d.Xh=m;if("undefined"!==typeof window)d.Xh.xz="browser","Float64Array"in
- window&&(d.Xh.iw=!0),"ArrayBuffer"in window&&(d.Xh.Bm=!0);else if("undefined"!==typeof process)m.xz="node",d.Xh.Bm=!0,d.Xh.iw=!0;else{m.xz="browser";try{var g=new ArrayBuffer(0);new Uint8Array(g);d.Xh.Bm=!0;d.Xh.iw=!0}catch(b){d.Xh.Bm=!1}}})(n||(n={}));(function(d){(function(d){d[d.Unknown=0]="Unknown";d[d.Point=33]="Point";d[d.Line=322]="Line";d[d.Envelope=197]="Envelope";d[d.MultiPoint=550]="MultiPoint";d[d.Polyline=1607]="Polyline";d[d.Polygon=1736]="Polygon"})(d.Fj||(d.Fj={}));(function(d){d[d.enumMild=
- 0]="enumMild";d[d.enumMedium=1]="enumMedium";d[d.enumHot=2]="enumHot"})(d.sM||(d.sM={}));var m=function(){function g(){this.description=null;this.AB=0}g.prototype.G=function(){return 0};g.prototype.tb=function(){return-1};g.prototype.Fg=function(b){this.Bc();b!=this.description&&this.mo(b)};g.prototype.mo=function(){};g.prototype.om=function(b){this.Bc();b!=this.description&&(b=d.ye.uT(this.description,b),b!=this.description&&this.mo(b))};g.prototype.hasAttribute=function(b){return this.description.hasAttribute(b)};
- g.prototype.Ud=function(b){this.Bc();this.description.hasAttribute(b)||(b=d.ye.tT(this.description,b),this.mo(b))};g.prototype.xf=function(){return null};g.prototype.Rn=function(){};g.prototype.s=function(){};g.prototype.Cp=function(){};g.prototype.ac=function(b){this.s(b)};g.prototype.u=function(){return!0};g.prototype.Oa=function(){};g.prototype.Xc=function(){};g.prototype.Ja=function(){return null};g.prototype.copyTo=function(){};g.prototype.hf=function(){return 0};g.prototype.Rb=function(){return 0};
- g.prototype.tH=function(){return this.hasAttribute(1)};g.lf=function(b){return((b&192)>>6)+1>>1};g.Jo=function(b){return 0!=(b&32)};g.k_=function(b){return 0!=(b&64)};g.NU=function(b){return 0!=(b&128)};g.Oc=function(b){return 0!=(b&256)};g.gh=function(b){return 0!=(b&512)};g.Ic=function(b){return 0!=(b&1024)};g.prototype.Vf=function(){var b=this.Ja();this.copyTo(b);return b};g.prototype.Gg=function(){return null};g.ne=function(b){var a=b.Ja();b.copyTo(a);return a};g.prototype.Bc=function(){0<=this.AB&&
- (this.AB+=2147483649)};g.fy=function(b){var a=b.G();if(g.gh(a))return b.D();if(b.u())return 0;if(197==a)return 4;if(33==a)return 1;if(g.Oc(a))return 2;throw d.f.X("missing type");};return g}();d.T=m})(n||(n={}));(function(d){var m=function(){function g(){this.y=this.x=0}g.pa=function(b,a){var c=new g;c.x=b;c.y=a;return c};g.El=function(b){var a=new g;a.x=b.x;a.y=b.y;return a};g.prototype.ka=function(b,a){this.x=b;this.y=a};g.prototype.L=function(b){this.x=b.x;this.y=b.y};g.prototype.Tq=function(b,
- a){return this.x===b&&this.y===a};g.prototype.vA=function(b){return 2.220446049250313E-16>=Math.abs(this.x-b.x)&&2.220446049250313E-16>=Math.abs(this.y-b.y)};g.prototype.ub=function(b){return this.x===b.x&&this.y===b.y};g.prototype.Eb=function(b){return b==this?!0:b instanceof g?this.x==b.x&&this.y==b.y:!1};g.prototype.sub=function(b){this.x-=b.x;this.y-=b.y};g.prototype.zc=function(b,a){this.x=b.x-a.x;this.y=b.y-a.y};g.prototype.add=function(b,a){void 0!==a?(this.x=b.x+a.x,this.y=b.y+a.y):(this.x+=
- b.x,this.y+=b.y)};g.prototype.Kr=function(){this.x=-this.x;this.y=-this.y};g.prototype.au=function(b){this.x=-b.x;this.y=-b.y};g.prototype.HU=function(b,a,c){this.x=b.x*(1-c)+a.x*c;this.y=b.y*(1-c)+a.y*c};g.prototype.qu=function(b,a){this.x=this.x*b+a.x;this.y=this.y*b+a.y};g.prototype.DX=function(b,a,c){this.x=a.x*b+c.x;this.y=a.y*b+c.y};g.prototype.scale=function(b){this.x*=b;this.y*=b};g.prototype.compare=function(b){return this.y<b.y?-1:this.y>b.y?1:this.x<b.x?-1:this.x>b.x?1:0};g.prototype.normalize=
- function(){var b=this.length();0==b&&(this.x=1,this.y=0);this.x/=b;this.y/=b};g.prototype.length=function(){return Math.sqrt(this.x*this.x+this.y*this.y)};g.prototype.pk=function(){return this.x*this.x+this.y*this.y};g.Cb=function(b,a){return Math.sqrt(this.sc(b,a))};g.wz=function(b,a,c,e){b-=c;a-=e;return Math.sqrt(b*b+a*a)};g.prototype.oi=function(b){return this.x*b.x+this.y*b.y};g.prototype.xE=function(b){return Math.abs(this.x*b.x)+Math.abs(this.y*b.y)};g.prototype.Ui=function(b){return this.x*
- b.y-this.y*b.x};g.prototype.pu=function(b,a){var c=-this.x*a+this.y*b;this.x=this.x*b+this.y*a;this.y=c};g.prototype.tw=function(){var b=this.x;this.x=-this.y;this.y=b};g.prototype.$H=function(b){this.x=-b.y;this.y=b.x};g.prototype.Tr=function(){var b=this.x;this.x=this.y;this.y=-b};g.prototype.cv=function(){this.y=this.x=NaN};g.prototype.Gy=function(){return isNaN(this.x)};g.prototype.Zu=function(){return 0<this.x?0<=this.y?1:4:0<this.y?2:0==this.x?4:3};g.us=function(b,a){var c=b.Zu(),e=a.Zu();return e==
- c?(c=b.Ui(a),0>c?1:0<c?-1:0):c<e?-1:1};g.zZ=function(b,a){return g.us(b,a)};g.sc=function(b,a){var c=b.x-a.x;b=b.y-a.y;return c*c+b*b};g.prototype.toString=function(){return"("+this.x+" , "+this.y+")"};g.prototype.$c=function(){this.y=this.x=NaN};g.prototype.isNaN=function(){return isNaN(this.x)||isNaN(this.y)};g.prototype.QO=function(){return this.Gy()?NaN:Math.abs(this.x)>=Math.abs(this.y)?Math.abs(this.x):Math.abs(this.y)};g.prototype.offset=function(b,a){var c=g.Cb(b,a),e=g.pa(this.x,this.y);
- if(0==c)return g.Cb(e,b);var f=new g;f.L(a);f.sub(b);e.sub(b);return e.Ui(f)/c};g.zp=function(b,a,c){var e=new d.Xb;e.set(a.x);e.sub(b.x);var f=new d.Xb;f.set(c.y);f.sub(b.y);var h=new d.Xb;h.set(a.y);h.sub(b.y);var l=new d.Xb;l.set(c.x);l.sub(b.x);e.Vg(f);h.Vg(l);e.sub(h);if(!e.kt())return c=e.value(),0>c?-1:0<c?1:0;e=new d.Tp(a.x);f=new d.Tp(b.x);h=new d.Tp(b.y);e=e.Yt(f);b=new d.Tp(c.y);b=b.Yt(h);a=new d.Tp(a.y);a=a.Yt(h);c=new d.Tp(c.x);c=c.Yt(f);e=e.cs(b);a=a.cs(c);e=e.cs(a);return e.nV()?-1:
- e.ZT()?1:0};g.prototype.jc=function(){return d.J.Zi(d.J.Zi())};return g}();d.b=m})(n||(n={}));(function(d){var m=function(){function d(b){this.jz=this.zu=0;this.GY=b}d.prototype.reset=function(){this.jz=this.zu=0};d.prototype.add=function(b){b-=this.jz;var a=this.zu+b;this.jz=a-this.zu-b;this.zu=a};d.prototype.sub=function(b){this.add(-b)};d.prototype.fn=function(){return this.GY+this.zu};return d}();d.qy=m;m=function(){function d(){}d.Fl=function(b,a){return 0<=a?Math.abs(b):-Math.abs(b)};d.sign=
- function(b){return 0>b?-1:0<b?1:0};d.fM=function(b){return b-360*Math.floor(b/360)};d.round=function(b){return Math.floor(b+.5)};d.Xx=function(b){return b*b};d.Wq=function(b,a,c){var e;.5>=c?e=b+(a-b)*c:e=a-(a-b)*(1-c);return e};d.bI=function(b,a,c,e){.5>=c?(e.x=b.x+(a.x-b.x)*c,e.y=b.y+(a.y-b.y)*c):(e.x=a.x-(a.x-b.x)*(1-c),e.y=a.y-(a.y-b.y)*(1-c))};d.lV=function(b,a,c,e,f,h){.5>=f?(h.x=b+(c-b)*f,h.y=a+(e-a)*f):(h.x=c-(c-b)*(1-f),h.y=e-(e-a)*(1-f))};return d}();d.Ub=m})(n||(n={}));(function(d){var m=
- function(g){function b(){g.call(this);this.oa=this.sa=this.ra=this.ua=0;this.la=null}O(b,g);b.prototype.ec=function(){return d.b.pa(this.ua,this.ra)};b.prototype.Oq=function(a){a.x=this.ua;a.y=this.ra};b.prototype.Mc=function(a){this.Rm(0,a)};b.prototype.vC=function(a,c){this.Rm(0,d.b.pa(a,c))};b.prototype.Dp=function(a){this.zE(0,a)};b.prototype.setStart=function(a){this.JE(0,a)};b.prototype.ct=function(a,c){return this.ae(0,a,c)};b.prototype.Sx=function(a,c,e){this.oo(0,a,c,e)};b.prototype.Cc=function(){return d.b.pa(this.sa,
- this.oa)};b.prototype.Os=function(a){a.x=this.sa;a.y=this.oa};b.prototype.Zc=function(a){this.Rm(1,a)};b.prototype.vm=function(a,c){this.Rm(1,d.b.pa(a,c))};b.prototype.Bp=function(a){this.zE(1,a)};b.prototype.setEnd=function(a){this.JE(1,a)};b.prototype.Ns=function(a,c){return this.ae(1,a,c)};b.prototype.Kx=function(a,c,e){this.oo(1,a,c,e)};b.prototype.tb=function(){return 1};b.prototype.u=function(){return this.Hc()};b.prototype.Oa=function(){};b.prototype.hf=function(){return 0};b.prototype.Ma=
- function(a,c,e,b,h){return this.OO(a,c,e,b,h)};b.prototype.Yb=function(a,c){return 0!=this.xs(a,c,!1)};b.prototype.lt=function(a,c){return this.$u(a,c,!1)};b.prototype.$u=function(){return null};b.prototype.Hc=function(){return!1};b.prototype.Iy=function(a){this.Bc();if(null==this.la&&0<a)this.la=d.J.gf(2*a);else if(null!=this.la&&this.la.length<2*a){for(var c=this.la.slice(0),e=this.la.length;e<2*a;e++)c[e]=0;this.la=c}};b.aX=function(a,c,e){if(0<e)var b=0;for(var h=0;h<e;h++)c[0+b]=a[0],b++};b.prototype.Rm=
- function(a,c){0!=a?(this.sa=c.x,this.oa=c.y):(this.ua=c.x,this.ra=c.y)};b.prototype.mo=function(a){if(null!=this.la){for(var c=d.ye.ux(a,this.description),e=[],f=b.vl(this.description,0),h=b.vl(this.description,1),l=b.vl(a,0),k=b.vl(a,1),r=0,g=1,p=a.Ea;g<p;g++){var q=a.zd(g),u=d.na.Xa(q);if(-1==c[g])for(var v=d.na.pe(q),q=0;q<u;q++)e[l+r]=v,e[k+r]=v,r++;else for(v=this.description.wk(c[g])-2,q=0;q<u;q++)e[l+r]=this.la[f+v],e[k+r]=this.la[h+v],r++,v++}this.la=e}this.description=a};b.prototype.zE=function(a,
- c){if(this.Hc())throw d.f.X("empty geometry");c.Fg(this.description);c.Hc()&&c.nq();for(var e=0;e<this.description.Ea;e++)for(var b=this.description.Id(e),h=0,l=d.na.Xa(b);h<l;h++){var k=this.ae(a,b,h);c.setAttribute(b,h,k)}};b.prototype.JE=function(a,c){this.Bc();if(c.Hc())throw d.f.X("empty geometry");for(var e=c.description,b=0,h=e.Ea;b<h;b++)for(var l=e.Id(b),k=d.na.Xa(l),r=0;r<k;r++){var g=c.Yc(l,r);this.oo(a,l,r,g)}};b.prototype.ae=function(a,c,e){if(this.Hc())throw d.f.X("This operation was performed on an Empty Geometry.");
- if(0==c)return 0!=a?0!=e?this.oa:this.sa:0!=e?this.ra:this.ua;if(e>=d.na.Xa(c))throw d.f.vd();var f=this.description.mg(c);return 0<=f?(null!=this.la&&this.Iy(this.description.af.length-2),this.la[b.vl(this.description,a)+this.description.wk(f)-2+e]):d.na.pe(c)};b.prototype.oo=function(a,c,e,f){this.Bc();if(e>=d.na.Xa(c))throw d.f.vd();var h=this.description.mg(c);0>h&&(this.Ud(c),h=this.description.mg(c));0==c?0!=a?0!=e?this.oa=f:this.sa=f:0!=e?this.ra=f:this.ua=f:(null==this.la&&this.Iy(this.description.af.length-
- 2),this.la[b.vl(this.description,a)+this.description.wk(h)-2+e]=f)};b.prototype.copyTo=function(a){if(a.G()!=this.G())throw d.f.F();a.description=this.description;a.Iy(this.description.af.length-2);b.aX(this.la,a.la,2*(this.description.af.length-2));a.ua=this.ua;a.ra=this.ra;a.sa=this.sa;a.oa=this.oa;a.Bc();this.iq(a)};b.prototype.xf=function(a,c){var e=new d.Ac;if(this.Hc())return e.Oa(),e;e.ca=this.ae(0,a,c);e.ha=e.ca;e.ml(this.ae(1,a,c));return e};b.prototype.RJ=function(a){this.Hc()?a.Oa():(a.ca=
- this.ae(0,0,0),a.ha=a.ca,a.ml(this.ae(1,0,0)))};b.prototype.Ex=function(a,c){c.Fg(this.description);c.rb(this.gc(a));for(var e=1,b=this.description.Ea;e<b;e++)for(var h=this.description.Id(e),l=d.na.Xa(h),k=0;k<l;k++){var r=this.Yc(a,h,k);c.setAttribute(h,k,r)}};b.prototype.LO=function(a){if(this.description!=a.description||this.ua!=a.ua||this.sa!=a.sa||this.ra!=a.ra||this.oa!=a.oa)return!1;for(var c=0;c<2*(this.description.af.length-2);c++)if(this.la[c]!=a.la[c])return!1;return!0};b.prototype.NH=
- function(){return this.ua==this.sa&&this.ra==this.oa};b.prototype.reverse=function(){var a=this.ua;this.ua=this.sa;this.sa=a;a=this.ra;this.ra=this.oa;this.oa=a;for(var a=1,c=this.description.Ea;a<c;a++)for(var e=this.description.zd(a),b=0,h=d.na.Xa(e);b<h;b++){var l=this.ae(0,e,b),k=this.ae(1,e,b);this.oo(0,e,b,k);this.oo(1,e,b,l)}};b.prototype.xs=function(a,c,e){var b=a.G();switch(this.G()){case 322:if(322==b)return d.Hb.PO(this,a,c,e);throw d.f.ya();default:throw d.f.ya();}};b.prototype.OO=function(a,
- c,e,b,h){var f=a.G();switch(this.G()){case 322:if(322==f)return d.Hb.Fy(this,a,c,e,b,h);throw d.f.ya();default:throw d.f.ya();}};b.prototype.By=function(){return null};b.vl=function(a,c){return c*(a.af.length-2)};b.prototype.gc=function(a,c){if(void 0===c)return c=new d.b,this.gc(a,c),c;d.Ub.lV(this.ua,this.ra,this.sa,this.oa,a,c)};b.prototype.oe=function(){return null};b.prototype.pH=function(){return null};b.prototype.Sq=function(){return null};b.prototype.fh=function(){return null};b.prototype.Go=
- function(){return null};b.prototype.Eg=function(){return null};b.prototype.Cy=function(a,c){return void 0!==c?this.by(c)-this.by(a):this.by(a)};b.prototype.iq=function(){};b.prototype.Hl=function(){return null};b.prototype.yh=function(){};b.prototype.Yc=function(){return null};b.prototype.pf=function(){return null};b.prototype.by=function(){return null};b.prototype.aI=function(){return null};b.prototype.Cb=function(a,c){if(!c&&0!=this.xs(a,0,!1))return 0;c=1.7976931348623157E308;var e,b;e=this.ec();
- b=a.oe(e,!1);e.sub(a.gc(b));e=e.length();e<c&&(c=e);e=this.Cc();b=a.oe(e,!1);e.sub(a.gc(b));e=e.length();e<c&&(c=e);e=a.ec();b=this.oe(e,!1);e.sub(this.gc(b));e=e.length();e<c&&(c=e);e=a.Cc();b=this.oe(e,!1);e.sub(this.gc(b));e=e.length();e<c&&(c=e);return c};b.prototype.Gg=function(){return d.Pi.Sm(this,null)};return b}(d.T);d.bE=m})(n||(n={}));new n.b;(function(d){(function(d){d[d.Unknown=-1]="Unknown";d[d.Not=0]="Not";d[d.Weak=1]="Weak";d[d.Strong=2]="Strong"})(d.uM||(d.uM={}));(function(d){d[d.DirtyIsKnownSimple=
- 1]="DirtyIsKnownSimple";d[d.IsWeakSimple=2]="IsWeakSimple";d[d.IsStrongSimple=4]="IsStrongSimple";d[d.DirtyOGCFlags=8]="DirtyOGCFlags";d[d.DirtyVerifiedStreams=32]="DirtyVerifiedStreams";d[d.DirtyExactIntervals=64]="DirtyExactIntervals";d[d.DirtyLooseIntervals=128]="DirtyLooseIntervals";d[d.DirtyIntervals=192]="DirtyIntervals";d[d.DirtyIsEnvelope=256]="DirtyIsEnvelope";d[d.DirtyLength2D=512]="DirtyLength2D";d[d.DirtyRingAreas2D=1024]="DirtyRingAreas2D";d[d.DirtyCoordinates=1993]="DirtyCoordinates";
- d[d.DirtyAllInternal=65535]="DirtyAllInternal";d[d.DirtyAll=16777215]="DirtyAll"})(d.ZL||(d.ZL={}));var m=function(g){function b(){g.call(this);this.un=65535;this.qa=0;this.lh=-1;this.ob=null}O(b,g);b.prototype.iq=function(){};b.prototype.Hy=function(){};b.prototype.Oy=function(){};b.prototype.D=function(){return this.qa};b.prototype.u=function(){return this.Hc()};b.prototype.Hc=function(){return 0==this.qa};b.prototype.xk=function(a){return 0!=(this.un&a)};b.prototype.lg=function(a,c){this.un=c?
- this.un|a:this.un&~a};b.prototype.tc=function(){this.xk(32)&&this.YO()};b.prototype.Bu=function(){if(this.Hc())throw d.f.X("This operation was performed on an Empty Geometry.");};b.prototype.Ae=function(a,c){if(0>a||a>=this.qa)throw d.f.X("index out of bounds");this.tc();c.Fg(this.description);c.u()&&c.nq();for(var e=0;e<this.description.Ea;e++)for(var b=this.description.Id(e),h=0,l=d.na.Xa(b);h<l;h++){var k=this.xa[e].Of(l*a+h);c.setAttribute(b,h,k)}};b.prototype.uu=function(a,c){this.tc();for(var e=
- c.description,b=0;b<e.Ea;b++)for(var h=e.Id(b),l=d.na.Xa(h),k=0;k<l;k++){var r=c.Yc(h,k);this.setAttribute(h,a,k,r)}};b.prototype.w=function(a,c){if(0>a||a>=this.D())throw d.f.vd();this.tc();this.xa[0].fc(2*a,c)};b.prototype.Aa=function(a){var c=new d.b;this.w(a,c);return c};b.prototype.Nc=function(a,c){this.xa[0].fc(2*a,c)};b.prototype.rb=function(a,c,e){if(0>a||a>=this.qa)throw d.f.vd();this.tc();var b=this.xa[0];void 0!==e?(b.write(2*a,c),b.write(2*a+1,e)):b.ho(2*a,c);this.Dc(1993)};b.prototype.kA=
- function(a){if(0>a||a>=this.D())throw d.f.vd();this.tc();var c=this.xa[0],e=new d.qd;e.x=c.read(2*a);e.y=c.read(2*a+1);e.z=this.hasAttribute(1)?this.xa[1].Of(a):d.na.pe(1);return e};b.prototype.AC=function(a,c){if(0>a||a>=this.D())throw d.f.vd();this.Ud(1);this.tc();this.Dc(1993);var e=this.xa[0];e.write(2*a,c.x);e.write(2*a+1,c.y);this.xa[1].Dm(a,c.z)};b.prototype.Yc=function(a,c,e){if(0>c||c>=this.qa)throw d.f.vd();var b=d.na.Xa(a);if(e>=b)throw d.f.vd();this.tc();var h=this.description.mg(a);return 0<=
- h?this.xa[h].Of(c*b+e):d.na.pe(a)};b.prototype.JG=function(a,c,e){return this.Yc(a,c,e)};b.prototype.setAttribute=function(a,c,e,b){if(0>c||c>=this.qa)throw d.f.vd();var f=d.na.Xa(a);if(e>=f)throw d.f.vd();this.Ud(a);this.tc();a=this.description.mg(a);this.Dc(1993);this.xa[a].Dm(c*f+e,b)};b.prototype.Pa=function(a){this.Bu();this.Ud(a);this.tc();return this.xa[this.description.mg(a)]};b.prototype.Zn=function(a,c){if(null!=c&&d.na.si(a)!=c.si())throw d.f.F();this.Ud(a);a=this.description.mg(a);null==
- this.xa&&(this.xa=d.Uc.HB(this.description.Ea));this.xa[a]=c;this.Dc(16777215)};b.prototype.mo=function(a){var c=null;if(null!=this.xa)for(var e=d.ye.ux(a,this.description),c=[],b=0,h=a.Ea;b<h;b++)-1!=e[b]&&(c[b]=this.xa[e[b]]);this.description=a;this.xa=c;this.lh=-1;this.Dc(16777215)};b.prototype.OE=function(a){this.ev(!0);a instanceof d.h?this.R.s(a):this.R.Cp(a)};b.prototype.XO=function(a){this.ev(!1);a instanceof d.h?this.R.s(a):this.R.Cp(a)};b.prototype.Rn=function(a){this.ev(!0);this.R.copyTo(a)};
- b.prototype.s=function(a){this.OE(a)};b.prototype.Cp=function(a){this.OE(a)};b.prototype.ac=function(a){this.XO(a)};b.prototype.xf=function(a,c){var e=new d.Ac;if(this.Hc())return e.Oa(),e;this.ev(!0);return this.R.xf(a,c)};b.prototype.jc=function(){var a=this.description.jc();if(!this.Hc())for(var c=this.D(),e=0,b=this.description.Ea;e<b;e++)a=this.xa[e].zk(a,0,c*d.na.Xa(this.description.Id(e)));return a};b.prototype.Eb=function(a){if(a==this)return!0;if(!(a instanceof b&&this.description.Eb(a.description))||
- this.Hc()!=a.Hc())return!1;if(this.Hc())return!0;var c=this.D();if(c!=a.D())return!1;for(var e=0;e<this.description.Ea;e++){var f=this.description.zd(e),h=this.Pa(f),l=a.Pa(f);if(!h.Eb(l,0,c*d.na.Xa(f)))return!1}return!0};b.prototype.copyTo=function(a){if(a.G()!=this.G())throw d.f.F();this.wE(a)};b.prototype.wE=function(a){this.tc();a.description=this.description;a.xa=null;var c=this.description.Ea,e=null;if(null!=this.xa)for(var e=[],b=0;b<c;b++)null!=this.xa[b]&&(e[b]=this.xa[b].Sr(this.D()*d.na.Xa(this.description.Id(b))));
- null!=this.R?(a.R=this.R.Ja(),this.R.copyTo(a.R)):a.R=null;a.qa=this.qa;a.un=this.un;a.xa=e;try{this.iq(a)}catch(h){throw a.Oa(),d.f.SN();}};b.prototype.LE=function(){this.qa=0;this.lh=-1;this.xa=null;this.Dc(16777215)};b.prototype.Dc=function(a){16777215==a&&(this.lh=-1,this.Hy());this.un|=a;this.CO();this.Bc()};b.prototype.ev=function(a){this.tc();if(this.xk(192))if(null==this.R?this.R=new d.ci(this.description):this.R.Fg(this.description),this.u())this.R.Oa();else{this.Ny(a);for(var c=1;c<this.description.Ea;c++)for(var e=
- this.description.Id(c),b=d.na.Xa(e),h=this.xa[c],l=0;l<b;l++){var k=new d.Ac;k.Oa();for(var r=0;r<this.qa;r++){var g=h.Of(r*b+l);k.Nb(g)}this.R.setInterval(e,l,k)}a&&this.lg(192,!1)}};b.prototype.Ny=function(){this.R.Oa();for(var a=this.xa[0],c=new d.b,e=0;e<this.qa;e++)a.fc(2*e,c),this.R.Nb(c)};b.prototype.uo=function(a){a.Oa();for(var c=this.xa[0],e=new d.b,b=0;b<this.qa;b++)c.fc(2*b,e),a.Nb(e)};b.prototype.YO=function(){if(this.lh<this.qa){null==this.xa&&(this.xa=d.Uc.HB(this.description.Ea));
- this.lh=2147483647;for(var a=0;a<this.description.Ea;a++){var c=this.description.Id(a);if(null!=this.xa[a]){var e=d.na.Xa(c),b=d.J.truncate(this.xa[a].size/e);b<this.qa&&(b=d.J.truncate(this.lh>this.qa+5?(5*this.qa+3)/4:this.qa),this.xa[a].resize(b*e,d.na.pe(c)));b<this.lh&&(this.lh=b)}else this.xa[a]=d.Uc.pz(c,this.qa),this.lh=this.qa}}this.Oy();this.lg(32,!1)};b.prototype.zl=function(a){if(0>a)throw d.f.F();a!=this.qa&&(this.qa=a,this.Dc(65535))};b.prototype.Kk=function(a){if(!this.xk(1)){if(!this.xk(2))return 0;
- if(this.NV>=a)return this.xk(8)?1:2}return-1};b.prototype.Zg=function(a,c){this.NV=c;if(-1==a)this.lg(1,!0),this.lg(8,!0);else if(this.lg(1,!1),this.lg(8,!0),0==a)this.lg(2,!1),this.lg(4,!1);else if(1==a)this.lg(2,!0),this.lg(4,!1);else if(2==a)this.lg(2,!0),this.lg(4,!0);else throw d.f.X("internal error.");};b.prototype.CO=function(){null!=this.ob&&(this.ob=null)};b.prototype.CE=function(a,c,e,b){if(0>a||a>=this.qa)throw d.f.X("index out of bounds");if(0>c||c>=this.qa)throw d.f.X("index out of bounds");
- this.tc();b.Fg(this.description);b.u()&&b.nq();for(var f=0;f<this.description.Ea;f++)for(var l=this.description.Id(f),k=0,r=d.na.Xa(l);k<r;k++){var g=this.xa[f].Of(r*a+k),p=this.xa[f].Of(r*c+k);b.setAttribute(l,k,d.Ub.Wq(g,p,e))}};b.prototype.ws=function(a,c){var e=this.xa[0].g,b=e[2*a]-e[2*c],e=e[2*a+1]-e[2*c+1];return Math.sqrt(b*b+e*e)};b.prototype.Yh=function(a,c){if(0>a||a>=this.qa)throw d.f.vd();if(c.u())throw d.f.F();this.tc();for(var e=c.description,b=0;b<e.Ea;b++)for(var h=e.zd(b),l=d.na.Xa(h),
- k=0;k<l;k++){var r=c.Yc(h,k);this.setAttribute(h,a,k,r)}};b.prototype.Wu=function(){return null};b.prototype.Hj=function(){return null};return b}(d.T);d.Lu=m})(n||(n={}));(function(d){var m=function(){function g(){this.pb=this.Oo=null;this.Hn=124234251;this.Cw=!0;this.qf=-1;this.pb=new d.ad(7);this.Oo=null}g.prototype.Ep=function(b){this.Oo=b};g.prototype.NR=function(){this.Cw=!1};g.prototype.Qe=function(b){this.pb.Qe(b)};g.prototype.Js=function(b){var a=this.pb.Pe();this.lY(a);this.oY(b,a);return a};
- g.prototype.HR=function(b){this.pb.kd(b)};g.prototype.addElement=function(b,a){var c;-1==a?(-1==this.qf&&(this.qf=this.Js(-1)),c=this.qf):c=a;return this.VE(b,0,c)};g.prototype.ZE=function(b){-1==this.qf&&(this.qf=this.Js(-1));return this.VE(b,1,this.qf)};g.prototype.ro=function(b){var a;-1==this.qf&&(this.qf=this.Js(-1));a=this.qf;var c=this.pb.g;if(-1==a||-1==c[7*a])return b=this.pb.nl([-1,-1,-1,b,this.Ll(),-1,-1]),c=this.pb.g,c[7*a]=b,this.pq(-1,b,a,c),b;var e=-1==a?-1:c[7*a+2];b=this.pb.nl([-1,
- -1,e,b,this.Ll(),-1,-1]);c=this.pb.g;c[7*e+1]=b;this.Uy(b,c);-1===c[7*b+2]&&(c[7*a]=b);this.pq(-1,b,a,c);return b};g.prototype.iv=function(b,a,c,e){var f=-1;-1==f&&(-1==this.qf&&(this.qf=this.Js(-1)),f=this.qf);var h=this.pb.g;if(-1==f||-1==h[7*f])return c=this.pb.nl([-1,-1,-1,c,this.Ll(),-1,-1]),h=this.pb.g,h[7*f]=c,this.pq(-1,c,f,h),c;var l;e?(e=-1!=a?this.Oo.compare(this,c,a):-1,l=-1!=b?this.Oo.compare(this,c,b):1):(e=-1,l=1);if(0==e||0==l)return h[7*f+3]=0==e?a:b,-1;(-1!=a&&-1!=b?this.Hn>d.J.GB(this.Hn)>>
- 1:-1!=a)?b=a:e=l;for(a=!0;;){if(0>e)if(l=h[7*b],-1!=l)b=l;else{e=b;c=this.pb.nl([-1,-1,b,c,this.Ll(),-1,-1]);h=this.pb.g;h[7*b]=c;break}else if(l=h[7*b+1],-1!=l)b=l;else{e=h[7*b+6];c=this.pb.nl([-1,-1,b,c,this.Ll(),-1,-1]);h=this.pb.g;h[7*b+1]=c;break}a&&(e*=-1,a=!1)}this.Uy(c,h);-1===h[7*c+2]&&(h[7*f]=c);this.pq(e,c,f,h);return c};g.prototype.PG=function(){return this.ZS(this.qf)};g.prototype.Ld=function(b,a){a=-1==a?this.qf:a;this.Cw?this.GR(b,a):this.eZ(b,a)};g.prototype.search=function(b,a){for(a=
- this.ew(a);-1!=a;){var c=this.Oo.compare(this,b,a);if(0==c)return a;a=0>c?this.Pl(a):this.Nq(a)}return-1};g.prototype.GX=function(b){for(var a=this.ew(-1),c=-1;-1!=a;){var e=b.compare(this,a);if(0==e)return a;0>e?a=this.Pl(a):(c=a,a=this.Nq(a))}return c};g.prototype.kK=function(b){for(var a=this.ew(-1),c=-1;-1!=a;){var e=b.compare(this,a);if(0==e)return a;0>e?(c=a,a=this.Pl(a)):a=this.Nq(a)}return c};g.prototype.ja=function(b){return this.pb.S(b,3)};g.prototype.Pl=function(b){return this.pb.S(b,0)};
- g.prototype.Nq=function(b){return this.pb.S(b,1)};g.prototype.getParent=function(b){return this.pb.S(b,2)};g.prototype.nb=function(b){return this.pb.S(b,6)};g.prototype.Ve=function(b){return this.pb.S(b,5)};g.prototype.xc=function(b){return-1==b?this.Ol(this.qf):this.Ol(b)};g.prototype.Fc=function(b){return-1==b?this.Ys(this.qf):this.Ys(b)};g.prototype.RT=function(b){return-1==b?this.mH(this.qf):this.mH(b)};g.prototype.jk=function(b,a){this.mC(b,a)};g.prototype.ew=function(b){return-1==b?this.hH(this.qf):
- this.hH(b)};g.prototype.clear=function(){this.pb.Vi(!1);this.qf=-1};g.prototype.size=function(b){return-1==b?this.jH(this.qf):this.jH(b)};g.prototype.NP=function(b,a){for(var c=a[7*b],e=a[7*b+1],f=a[7*b+4];-1!=c||-1!=e;){var h=-1!=c?a[7*c+4]:2147483647,e=-1!=e?a[7*e+4]:2147483647;if(f<=Math.min(h,e))break;h<=e?this.hK(c,a):this.gK(b,a);c=a[7*b];e=a[7*b+1]}};g.prototype.Uy=function(b,a){if(this.Cw)for(var c=a[7*b+4],e=a[7*b+2];-1!=e&&a[7*e+4]>c;)a[7*e]==b?this.hK(b,a):this.gK(e,a),e=a[7*b+2]};g.prototype.gK=
- function(b,a){var c=a[7*b+1],e;a[7*c+2]=a[7*b+2];a[7*b+2]=c;e=a[7*c];a[7*b+1]=e;-1!=e&&(a[7*e+2]=b);a[7*c]=b;e=a[7*c+2];-1!=e&&(a[7*e]==b?a[7*e]=c:a[7*e+1]=c)};g.prototype.hK=function(b,a){var c=a[7*b+2],e;a[7*b+2]=a[7*c+2];a[7*c+2]=b;e=a[7*b+1];a[7*c]=e;-1!=e&&(a[7*e+2]=c);a[7*b+1]=c;e=a[7*b+2];-1!=e&&(a[7*e]===c?a[7*e]=b:a[7*e+1]=b)};g.prototype.sl=function(b,a){this.pb.P(b,2,a)};g.prototype.qC=function(b,a){this.pb.P(b,0,a)};g.prototype.uC=function(b,a){this.pb.P(b,1,a)};g.prototype.tC=function(b,
- a){this.pb.P(b,5,a)};g.prototype.Px=function(b,a){this.pb.P(b,6,a)};g.prototype.NK=function(b,a){this.pb.P(a,0,b)};g.prototype.lY=function(b){this.pb.P(b,4,0)};g.prototype.oY=function(b,a){this.pb.P(a,5,b)};g.prototype.hH=function(b){return-1==b?-1:this.pb.S(b,0)};g.prototype.Ol=function(b){return-1==b?-1:this.pb.S(b,1)};g.prototype.Ys=function(b){return-1==b?-1:this.pb.S(b,2)};g.prototype.ZS=function(b){return-1==b?-1:this.pb.S(b,3)};g.prototype.jH=function(b){return-1==b?0:this.pb.S(b,4)};g.prototype.mH=
- function(b){return this.pb.S(b,5)};g.prototype.Ax=function(b){return this.pb.nl([-1,-1,-1,b,this.Ll(),-1,-1])};g.prototype.Kl=function(b){-1!=b&&this.pb.kd(b)};g.prototype.Ll=function(){this.Hn=d.J.GB(this.Hn);return this.Hn&1073741823};g.prototype.VE=function(b,a,c){var e=this.pb.g;if(-1==c||-1==e[7*c])return b=this.pb.nl([-1,-1,-1,b,this.Ll(),-1,-1]),e=this.pb.g,e[7*c]=b,this.pq(-1,b,c,e),b;for(var f=-1==c?-1:e[7*c];;){var h=-1==a?1:this.Oo.compare(this,b,f);if(0>h)if(h=this.Pl(f),-1!=h)f=h;else{a=
- f;b=this.pb.nl([-1,-1,f,b,this.Ll(),-1,-1]);e=this.pb.g;e[7*f]=b;break}else{if(1==a&&0==h)return e[7*c+3]=f,-1;h=e[7*f+1];if(-1!=h)f=h;else{a=e[7*f+6];b=this.pb.nl([-1,-1,f,b,this.Ll(),-1,-1]);e=this.pb.g;e[7*f+1]=b;break}}}this.Uy(b,e);-1===e[7*b+2]&&(e[7*c]=b);this.pq(a,b,c,e);return b};g.prototype.pq=function(b,a,c,e){var f;-1!=b?(f=e[7*b+5],e[7*b+5]=a):f=-1==c?-1:e[7*c+2];e[7*a+5]=f;-1!=f&&(e[7*f+6]=a);e[7*a+6]=b;b==(-1==c?-1:e[7*c+1])&&(e[7*c+1]=a);-1==b&&(e[7*c+2]=a);e[7*c+4]=(-1==c?0:e[7*c+
- 4])+1};g.prototype.ZB=function(b,a){var c=this.pb.g,e=c[7*b+5];b=c[7*b+6];-1!=e?c[7*e+6]=b:c[7*a+1]=b;-1!=b?c[7*b+5]=e:c[7*a+2]=e;c[7*a+4]=-1===a?-1:c[7*a+4]-1};g.prototype.eZ=function(b,a){this.ZB(b,a);var c=this.Pl(b),e=this.Nq(b),f=this.getParent(b),h=b;if(-1!=c&&-1!=e){this.Hn=d.J.GB(this.Hn);var l;l=1073741823<this.Hn?this.nb(b):this.Ve(b);var k=this.getParent(l)==b;this.pb.$x(b,l,0);this.pb.$x(b,l,1);this.pb.$x(b,l,2);-1!=f?this.Pl(f)==b?this.qC(f,l):this.uC(f,l):this.NK(l,a);k?(c==l?(this.qC(l,
- b),this.sl(e,l)):e==l&&(this.uC(l,b),this.sl(c,l)),this.sl(b,l),f=l):(this.sl(c,l),this.sl(e,l),f=this.getParent(b),h=l);c=this.Pl(b);e=this.Nq(b);-1!=c&&this.sl(c,b);-1!=e&&this.sl(e,b)}c=-1!=c?c:e;-1==f?this.NK(c,a):this.Pl(f)==h?this.qC(f,c):this.uC(f,c);-1!=c&&this.sl(c,f);this.Kl(b,a)};g.prototype.GR=function(b,a){var c=this.pb.g;c[7*b+4]=2147483647;var e=-1,f=-1,h=-1===a?-1:c[7*a],d=h==b;d&&(e=c[7*h],f=c[7*h+1],-1==e&&-1==f)?(this.ZB(h,a),this.Kl(h,a),c[7*a]=-1):(this.NP(b,c),h=c[7*b+2],-1!=
- h&&(c[7*h]==b?c[7*h]=-1:c[7*h+1]=-1),this.ZB(b,a),this.Kl(b,a),d&&(c[7*a]=-1==e||-1!=c[7*e+2]?f:e))};g.prototype.mC=function(b,a){this.pb.P(b,3,a)};return g}();d.tk=m})(n||(n={}));(function(d){var m=function(){function g(b,a){void 0!==b&&this.I(b,a)}g.prototype.I=function(b,a){this.ca=b;this.ha=a;this.normalize()};g.prototype.Yb=function(b){return this.ca<=b.ca?this.ha>=b.ca:b.ha>=this.ca};g.prototype.move=function(b){this.u()||(this.ca+=b,this.ha+=b)};g.prototype.normalize=function(){if(!isNaN(this.ca)){if(this.ca>
- this.ha){var b=this.ca;this.ca=this.ha;this.ha=b}isNaN(this.ha)&&this.Oa()}};g.prototype.Oa=function(){this.ha=this.ca=NaN};g.prototype.u=function(){return isNaN(this.ca)};g.prototype.Nb=function(b){"number"===typeof b?this.u()?this.ha=this.ca=b:this.ml(b):b.u()||(this.u()?(this.ca=b.ca,this.ha=b.ha):(this.ca>b.ca&&(this.ca=b.ca),this.ha<b.ha&&(this.ha=b.ha),this.ca>this.ha&&this.Oa()))};g.prototype.ml=function(b){b<this.ca?this.ca=b:b>this.ha&&(this.ha=b)};g.prototype.contains=function(b){return"number"===
- typeof b?b>=this.ca&&b<=this.ha:b.ca>=this.ca&&b.ha<=this.ha};g.prototype.Ma=function(b){this.u()||b.u()?this.Oa():(this.ca<b.ca&&(this.ca=b.ca),this.ha>b.ha&&(this.ha=b.ha),this.ca>this.ha&&this.Oa())};g.prototype.O=function(b){this.u()||(this.ca-=b,this.ha+=b,this.ha<this.ca&&this.Oa())};g.prototype.no=function(){return this.u()?2.220446049250313E-14:2.220446049250313E-14*(Math.abs(this.ca)+Math.abs(this.ha)+1)};g.prototype.jC=function(b,a){b>a?(this.ca=a,this.ha=b):(this.ca=b,this.ha=a)};g.prototype.vu=
- function(b){return d.J.nk(b,this.ca,this.ha)};g.prototype.N=function(){return this.ha-this.ca};g.prototype.Wf=function(){return.5*(this.ca+this.ha)};g.prototype.Eb=function(b){return b==this?!0:b instanceof g?this.u()&&b.u()?!0:this.ca!=b.ca||this.ha!=b.ha?!1:!0:!1};g.prototype.jc=function(){return d.J.Zi(d.J.Zi())};return g}();d.Ac=m})(n||(n={}));(function(d){var m=new d.Ac,g=new d.Ac,b=function(){return function(){this.Le=null;this.qb=-1;this.wb=new d.Hb;this.XA=55555555;this.Ew=this.Hw=!1;this.rg=
- new d.Ac;this.rg.jC(0,0)}}();d.j_=b;var a=function(){function a(a,c,h){this.a=a;this.il=NaN;this.$I=this.zr=0;this.aJ=NaN;this.ta=c;this.Cr=10*c;this.bJ=this.cJ=NaN;this.Ng=!1;this.sn=this.Xt=this.vp=this.Rt=this.Qt=-1;this.OA=h;this.yB=new b;this.jJ=new b;d.J.truncate(3*a.ud/2)}a.prototype.zH=function(a,c,b,d){a.Le=null===d?null:d[b[5*c]];a.Ew=null!=a.Le;a.Ew||(d=b[5*c+2],-1!==d&&this.a.fX(b[5*c],b[5*d],a.wb),a.Le=a.wb,a.rg.jC(a.wb.ua,a.wb.sa),a.rg.ha+=this.ta,a.wb.AJ(),a.Hw=a.wb.oa==a.wb.ra,a.Hw||
- (a.XA=(a.wb.sa-a.wb.ua)/(a.wb.oa-a.wb.ra)))};a.prototype.QQ=function(a,c){var e=a.xs(c,this.ta,!0);if(0!=e)return 2==e?this.zz():this.Wi();a.Oq(da);a.Os(fa);c.Oq(ga);c.Os(ia);P.ka(this.zr,this.il);da.ub(ga)&&this.il==da.y?0>fa.compare(ia)?P.L(fa):P.L(ia):da.ub(ia)&&this.il==da.y?0>fa.compare(ga)?P.L(fa):P.L(ga):ga.ub(fa)&&this.il==ga.y?0>da.compare(ia)?P.L(da):P.L(ia):fa.ub(ia)&&this.il==fa.y&&(0>da.compare(ga)?P.L(da):P.L(ga));return a.pf(P.y,P.x)<c.pf(P.y,P.x)?-1:1};a.prototype.OQ=function(a,c){if(a.wb.ra==
- c.wb.ra&&a.wb.ua==c.wb.ua)return a.wb.oa==c.wb.oa&&a.wb.sa==c.wb.sa?this.OA?this.zz():0:this.UF(a,c);if(a.wb.oa==c.wb.oa&&a.wb.sa==c.wb.sa)return this.TF(a,c);var e=this.TF(a,c);a=this.UF(a,c);return 0>e&&0>a?-1:0<e&&0<a?1:this.Wi()};a.prototype.KQ=function(a,c){if(a.sa>c.sa){if(c.sa>c.ua&&c.oa-c.ra<2*this.ta&&a.Si(c.sa,c.oa,this.ta))return this.Wi()}else if((c.oa-c.ra)/(c.sa-c.ua)*(a.sa-a.ua)<this.Cr&&c.Si(a.sa,a.oa,this.ta))return this.Wi();return 1};a.prototype.LQ=function(a,c){if(a.ua<c.ua){if(c.sa>
- c.ua&&c.oa-c.ra<2*this.ta&&a.Si(c.sa,c.oa,this.ta))return this.Wi()}else if((c.oa-c.ra)/(c.sa-c.ua)*(a.ua-a.sa)<this.Cr&&c.Si(a.ua,a.ra,this.ta))return this.Wi();return-1};a.prototype.MQ=function(a,c){var e=new d.b;e.zc(c.Cc(),c.ec());e.Tr();e.normalize();var b=new d.b;b.zc(a.ec(),c.ec());var f=new d.b;f.zc(a.Cc(),c.ec());var b=b.oi(e),e=f.oi(e),f=Math.abs(b),r=Math.abs(e);if(f<r){if(f<this.Cr&&c.Si(a.ua,a.ra,this.ta))return this.Wi()}else if(r<this.Cr&&c.Si(a.sa,a.oa,this.ta))return this.Wi();return 0>
- b&&0>e?-1:0<b&&0<e?1:this.Wi()};a.prototype.SF=function(a,c){return a.ra==c.ra&&a.ua==c.ua?this.KQ(a,c):a.oa==c.oa&&a.sa==c.sa?this.LQ(a,c):this.MQ(a,c)};a.prototype.NQ=function(a,c){return a.oa==c.oa&&a.sa==c.sa&&a.ra==c.ra&&a.ua==c.ua?this.OA?this.zz():0:this.Wi()};a.prototype.TF=function(a,c){var e=1;if(a.wb.ra<c.wb.ra){var e=-1,b=a;a=c;c=b}b=a.wb;a=c.wb;var f=b.ua-a.ua;c=c.XA*(b.ra-a.ra);var d=this.Cr;return f<c-d?-e:f>c+d?e:a.Si(b.ua,b.ra,this.ta)?this.Wi():f<c?-e:e};a.prototype.UF=function(a,
- c){var e=1;if(c.wb.oa<a.wb.oa){var e=-1,b=a;a=c;c=b}b=a.wb;a=c.wb;var f=b.sa-a.ua;c=c.XA*(b.oa-a.ra);var d=this.Cr;return f<c-d?-e:f>c+d?e:a.Si(b.sa,b.oa,this.ta)?this.Wi():f<c?-e:e};a.prototype.zz=function(){this.Ng=!0;this.mj=new d.$d(5,this.vp,this.Xt);return-1};a.prototype.Wi=function(){this.Ng=!0;this.OA?this.mj=new d.$d(4,this.vp,this.Xt):this.Xt=this.vp=this.Rt=this.Qt=-1;return-1};a.prototype.PQ=function(a,c,b,d){if(this.Ng)return-1;var e=this.aJ==this.il&&this.$I==this.zr,f;e&&a==this.Qt?
- f=this.bJ:(f=NaN,this.Qt=-1);e&&c==this.Rt?e=this.cJ:(e=NaN,this.Rt=-1);b.Le.RJ(m);d.Le.RJ(g);if(m.ha<g.ca)return-1;if(g.ha<m.ca)return 1;this.aJ=this.il;this.$I=this.zr;isNaN(f)&&(this.Qt=a,this.bJ=f=a=b.Le.pf(this.il,this.zr));isNaN(e)&&(this.Rt=c,this.cJ=e=a=d.Le.pf(this.il,this.zr));return Math.abs(f-e)<=this.ta?this.QQ(b.Le,d.Le):f<e?-1:f>e?1:0};a.prototype.Fs=function(){this.Ng=!1};a.prototype.fn=function(){return this.mj};a.prototype.PK=function(a,c){this.il=a;this.zr=c;this.Xt=this.vp=this.Rt=
- this.Qt=-1};a.prototype.compare=function(a,c,b){if(this.Ng)return-1;a=a.ja(b);this.sn=b;return this.WF(c,c,a,a)};a.prototype.WF=function(a,c,b,d){var e;this.vp==c?e=this.yB:(this.vp=c,e=this.yB,this.yB.qb=a,this.zH(e,c,this.a.Dd.g,this.a.wf));var f;null==f&&(this.Xt=d,f=this.jJ,this.jJ.qb=b,this.zH(f,d,this.a.Dd.g,this.a.wf));if(e.Ew||f.Ew)return this.PQ(c,d,e,f);if(e.rg.ha<f.rg.ca)return-1;if(f.rg.ha<e.rg.ca)return 1;a=e.Hw?1:0;a|=f.Hw?2:0;return 0==a?this.OQ(e,f):1==a?this.SF(e.wb,f.wb):2==a?-1*
- this.SF(f.wb,e.wb):this.NQ(e.wb,f.wb)};return a}();d.eE=a})(n||(n={}));(function(d){var m=function(){function g(b,a){this.a=b;this.ta=a;this.Ng=!1;this.vp=-1;this.rg=new d.Ac;this.vr=new d.b;this.vr.$c();this.Fe=new d.Hb;this.sn=-1;this.gB=1.7976931348623157E308}g.prototype.Fs=function(){this.Ng=!1;this.gB=1.7976931348623157E308};g.prototype.Yh=function(b){this.vr.L(b)};g.prototype.compare=function(b,a){return this.XF(a,b.ja(a))};g.prototype.XF=function(b,a){var c=null!=this.a.ic(a);c||(this.a.pd(a,
- this.Fe),this.rg.jC(this.Fe.ua,this.Fe.sa));if(c)throw d.f.X("not implemented");if(this.vr.x+this.ta<this.rg.ca)return-1;if(this.vr.x-this.ta>this.rg.ha)return 1;if(this.Fe.ra==this.Fe.oa)return this.sn=b,this.Ng=!0,0;this.Fe.AJ();a=this.Fe.ec();c=new d.b;c.zc(this.Fe.Cc(),a);c.Tr();var e=new d.b;e.zc(this.vr,a);a=c.oi(e);a/=c.length();return a<10*-this.ta?-1:a>10*this.ta?1:this.Fe.lt(this.vr,this.ta)&&(c=Math.abs(a),c<this.gB&&(this.sn=b,this.gB=c),this.Ng=!0,c<.25*this.ta)?0:0>a?-1:1};return g}();
- d.$N=m})(n||(n={}));(function(d){function m(b,a,c,e){c=new Float64Array(b.subarray(c,e));b.set(c,a)}var g=function(){function b(a){this.Fa=this.Ce=!1;this.g=[];var c=a;2>c&&(c=2);this.g=d.J.gf(c,b.Bb);this.size=a}b.prototype.rotate=function(a,c,e){if(this.Fa)throw d.f.X("invalid_call");if(c<a||c>e||a>e)throw d.f.F();a!=c&&e!=c&&(this.Zd(a,c-a,1),this.Zd(c,e-c,1),this.Zd(a,e-a,1))};b.yd=function(a,c){b.Bb=c;a=new b(a);b.Bb=0;return a};b.Ak=function(a){var c=new b(0);c.g=a.g.slice(0);c.size=a.size;
- return c};b.$=function(a,c){var e=new b(0);e.size=a.size;e.size>c&&(e.size=c);e.g=a.g.slice(0,e.size);return e};b.prototype.yb=function(){};b.prototype.read=function(a){return this.g[a]};b.prototype.fc=function(a,c){c.x=this.g[a];c.y=this.g[a+1]};b.prototype.nX=function(a,c){c.x=this.g[a];c.y=this.g[a+1]};b.prototype.get=function(a){return this.g[a]};b.prototype.write=function(a,c){if(this.Fa)throw d.f.La();this.g[a]=c};b.prototype.set=function(a,c){if(this.Fa)throw d.f.La();this.g[a]=c};b.prototype.ho=
- function(a,c){if(this.Fa)throw d.f.La();this.g[a]=c.x;this.g[a+1]=c.y};b.prototype.add=function(a){this.resize(this.size+1);this.g[this.size-1]=a};b.prototype.Sr=function(a){return b.$(this,a)};b.prototype.Of=function(a){return this.read(a)};b.prototype.resize=function(a,c){void 0===c&&(c=0);if(this.Ce)throw d.f.X("invalid call. Attribute Stream is locked and cannot be resized.");if(a<=this.size){if(d.J.truncate(5*a/4)<this.g.length){var e=this.g.slice(0,a);this.g=e}}else if(a>this.g.length){d.J.truncate(64>
- a?Math.max(2*a,4):5*a/4);for(var e=this.g.slice(0),b=this.g.length;b<a;b++)e[b]=c;this.g=e}this.size=a};b.prototype.yf=function(a){(null==this.g||a>this.g.length)&&this.resize(a);if(this.Ce)throw d.f.X("invalid call. Attribute Stream is locked and cannot be resized.");this.size=a};b.prototype.Dm=function(a,c){this.write(a,c)};b.prototype.zk=function(a,c,e){for(var b=this.size;c<b&&c<e;c++)a=d.J.Zi(this.read(c));return a};b.prototype.Eb=function(a,c,e){if(null==a||!(a instanceof b))return!1;var f=
- this.size,h=a.size;if(e>f||e>h&&f!=h)return!1;for(e>f&&(e=f);c<e;c++)if(this.read(c)!=a.read(c))return!1;return!0};b.prototype.Rk=function(a,c,e,b,h,l,k){if(this.Fa)throw d.f.La();if(!h&&(1>l||0!=b%l))throw d.f.F();var f=this.size-k;f<b&&this.resize(this.size+b-f);for(f=0;f<k-a;f++)this.g[a+b+f]=this.g[a+f];this.g==c.g&&a<e&&(e+=b);if(h)for(f=0;f<b;f++)this.g[f+a]=c.g[e+f];else for(h=b,k=0;k<b;k+=l)for(h-=l,f=0;f<l;f++)this.g[a+k+f]=c.g[e+h+f]};b.prototype.Qk=function(a,c,e,b){if(this.Fa)throw d.f.La();
- b-=a;for(var f=this.g.slice(a,a+b),l=0;l<b;l++)this.g[a+e+l]=f[l];for(b=0;b<e;b++)this.g[a+b]=c};b.prototype.eh=function(a,c,e){if(this.Fa)throw d.f.La();for(var b=this.g.slice(a,a+(e-a)),h=0;h<e-a;h++)this.g[h+a+2]=b[h];this.g[a]=c.x;this.g[a+1]=c.y};b.prototype.hs=function(a,c,e,b,h){if(0>a||0>c||0>b)throw d.f.F();if(e.length<b+c)throw d.f.F();if(0!=c)if(this.size<c+a&&this.resize(c+a),h)for(h=0;h<c;h++)this.g[a+h]=e[b+h];else for(h||(a+=c-1),c=b+c;b<c;b++)this.g[a]=e[b],a--};b.prototype.Em=function(a,
- c,e,b,h,l){if(0>a||0>c||0>b)throw d.f.F();if(!h&&(0>=l||0!=c%l))throw d.f.F();if(e.size<b+c)throw d.f.F();if(0!=c)if(this.size<c+a&&this.resize(c+a),e==this)this.Ij(a,c,b,h,l);else if(h)for(h=0;h<c;h++)this.g[a]=e.g[b],a++,b++;else if(b=b+c-l,1==l)for(h=0;h<c;h++)this.g[a]=e.g[b],a++,b--;else for(h=0,c=d.J.truncate(c/l);h<c;h++){for(var f=0;f<l;f++)this.g[a+f]=e.g[b+f];a+=l;b-=l}};b.prototype.Ek=function(a,c,e){if(this.Fa)throw d.f.La();if(a+c>this.size)throw d.f.La();if(0<e-(a+c)){e-=a+c;for(var b=
- this.g.slice(a+c,a+e+c),h=0;h<e;h++)this.g[a+h]=b[h]}this.size-=c};b.prototype.Zd=function(a,c,e){if(this.Fa)throw d.f.La();if(1>e||0!=c%e)throw d.f.La();for(var b=c>>1,h=0;h<b;h+=e){c-=e;for(var l=0;l<e;l++){var k=this.g[a+h+l];this.g[a+h+l]=this.g[a+c+l];this.g[a+c+l]=k}}};b.prototype.Zh=function(a,c,e){if(0>c||0>e||0>c||e+c>this.size)throw d.f.F();for(var b=c;b<c+e;b++)this.g[b]=a};b.prototype.Ij=function(a,c,e,b,h){if(!b||a!=e){for(var f=0;f<c;f++)this.g[a+f]=this.g[e+f];if(!b)for(e=a,a=a+c-h,
- b=0,c=d.J.truncate(c/2);b<c;b++){for(f=0;f<h;f++){var k=this.g[e+f];this.g[e+f]=this.g[a+f];this.g[a+f]=k}e+=h;a-=h}}};b.prototype.js=function(a,c,e,b,h){if(0>a||0>c||0>b)throw d.f.F();if(0!=c)for(this.size<(c<<1)+a&&this.resize((c<<1)+a),h||(a+=c-1<<1),h=h?2:-2,c+=b;b<c;b++)this.g[a]=e[b].x,this.g[a+1]=e[b].y,a+=h};b.prototype.gy=function(a,c,e,b,h){if(0>a||0>c||0>b)throw d.f.F();if(0!=c)for(this.size<(c<<1)+a&&this.resize((c<<1)+a),h||(a+=c-1<<1),h=h?2:-2,c+=b;b<c;b++)this.g[a]=e[b][0],this.g[a+
- 1]=e[b][1],a+=h};b.prototype.pl=function(a,c,e,b,h){if(0>a||0>c||0>b||this.size<c+a)throw d.f.F();if(h)for(h=0;h<c;h++)e[b+h]=this.g[a+h];else for(b=b+c-1;a<c;a++)e[b]=this.g[a],b--};b.prototype.Gx=function(a,c,e,b,h){if(0>a||0>c||0>b||this.size<(c>>1)+a)throw d.f.F();if(0!=c)for(h||(a+=c-1),h=h?2:-2,c=b+c;b<c;b++)e[b][0]=this.g[a],e[b][1]=this.g[a+1],a+=h};b.prototype.clear=function(a){a?this.resize(0):this.yf(0)};b.prototype.Mp=function(){this.Ce=this.Fa=!0};b.prototype.Gd=function(a,c,e){var b=
- this.g.slice(0,a),h=this.g.slice(c);a=this.g.slice(a,c).sort(e);this.g.length=0;this.g.push.apply(this.g,b.concat(a).concat(h))};b.prototype.si=function(){return 1};b.Bb=0;return b}();d.Sd=g;g=function(){function b(a){this.Fa=this.Ce=!1;this.g=null;var c=a;2>c&&(c=2);this.g=new Float64Array(c);this.size=a}b.prototype.rotate=function(a,c,e){if(this.Fa)throw d.f.X("invalid_call");if(c<a||c>e||a>e)throw d.f.F();a!=c&&e!=c&&(this.Zd(a,c-a,1),this.Zd(c,e-c,1),this.Zd(a,e-a,1))};b.yd=function(a,c){var e=
- new b(a),f=e.g;2>a&&(a=2);if(0!==c)for(var h=0;h<a;h++)f[h]=c;return e};b.Ak=function(a){var c=new b(0);c.g=new Float64Array(a.g);c.size=a.size;return c};b.$=function(a,c){var e=new b(0);e.size=a.size;e.size>c&&(e.size=c);c=e.size;2>c&&(c=2);e.g=new Float64Array(c);e.g.set(a.g.length<=c?a.g:a.g.subarray(0,c),0);return e};b.prototype.yb=function(a){0>=a||(null==this.g?this.g=new Float64Array(a):a<=this.g.length||(0<this.g.length?(a=new Float64Array(a),a.set(this.g),this.g=a):this.g=new Float64Array(a)))};
- b.prototype.read=function(a){return this.g[a]};b.prototype.fc=function(a,c){c.x=this.g[a];c.y=this.g[a+1]};b.prototype.get=function(a){return this.g[a]};b.prototype.write=function(a,c){if(this.Fa)throw d.f.La();this.g[a]=c};b.prototype.set=function(a,c){if(this.Fa)throw d.f.La();this.g[a]=c};b.prototype.ho=function(a,c){if(this.Fa)throw d.f.La();this.g[a]=c.x;this.g[a+1]=c.y};b.prototype.add=function(a){this.resize(this.size+1);this.g[this.size-1]=a};b.prototype.Sr=function(a){return b.$(this,a)};
- b.prototype.Of=function(a){return this.read(a)};b.prototype.resize=function(a,c){void 0===c&&(c=0);if(this.Ce)throw d.f.X("invalid call. Attribute Stream is locked and cannot be resized.");if(a<=this.size){if(30<this.g.length&&5*a/4<this.g.length){var e=new Float64Array(this.g,0,a);this.g=e}}else{a>this.g.length&&(e=d.J.truncate(64>a?Math.max(2*a,4):5*a/4),e=new Float64Array(e),e.set(this.g),this.g=e);for(var e=this.g,b=this.size;b<a;b++)e[b]=c}this.size=a};b.prototype.yf=function(a){(null==this.g||
- a>this.g.length)&&this.resize(a);if(this.Ce)throw d.f.X("invalid call. Attribute Stream is locked and cannot be resized.");this.size=a};b.prototype.Dm=function(a,c){this.write(a,c)};b.prototype.zk=function(a,c,e){for(var b=this.size;c<b&&c<e;c++)a=d.J.Zi(this.read(c));return a};b.prototype.Eb=function(a,c,e){if(null==a||!(a instanceof b))return!1;var f=this.size,h=a.size;if(e>f||e>h&&f!=h)return!1;for(e>f&&(e=f);c<e;c++)if(this.read(c)!=a.read(c))return!1;return!0};b.prototype.Rk=function(a,c,e,b,
- h,l,k){if(this.Fa)throw d.f.La();if(!h&&(1>l||0!=b%l))throw d.f.F();var f=this.size-k;f<b&&this.resize(this.size+b-f);m(this.g,a+b,a,a+(k-a));this.g==c.g&&a<e&&(e+=b);if(h)this.g.set(c.g.subarray(e,e+b),a);else for(h=b,k=0;k<b;k+=l)for(h-=l,f=0;f<l;f++)this.g[a+k+f]=c.g[e+h+f]};b.prototype.Qk=function(a,c,b,f){if(this.Fa)throw d.f.La();f-=a;m(this.g,a+f,a,a+f);for(f=0;f<b;f++)this.g[a+f]=c};b.prototype.eh=function(a,c,b){if(this.Fa)throw d.f.La();m(this.g,a+2,a,a+(b-a));this.g[a]=c.x;this.g[a+1]=
- c.y};b.prototype.hs=function(a,c,b,f,h){if(0>a||0>c||0>f)throw d.f.F();if(b.length<f+c)throw d.f.F();if(0!=c)if(this.size<c+a&&this.resize(c+a),h)this.g.set(b.subarray(f,c),a);else for(h||(a+=c-1),c=f+c;f<c;f++)this.g[a]=b[f],a--};b.prototype.Em=function(a,c,b,f,h,l){if(0>a||0>c||0>f)throw d.f.F();if(!h&&(0>=l||0!=c%l))throw d.f.F();if(b.size<f+c)throw d.f.F();if(0!=c)if(this.size<c+a&&this.resize(c+a),b==this)this.Ij(a,c,f,h,l);else if(h)for(h=0;h<c;h++)this.g[a]=b.g[f],a++,f++;else if(f=f+c-l,1==
- l)for(h=0;h<c;h++)this.g[a]=b.g[f],a++,f--;else for(h=0,c=d.J.truncate(c/l);h<c;h++){for(var e=0;e<l;e++)this.g[a+e]=b.g[f+e];a+=l;f-=l}};b.prototype.Ek=function(a,c,b){if(this.Fa)throw d.f.La();if(a+c>this.size)throw d.f.La();0<b-(a+c)&&m(this.g,a,a+c,a+(b-(a+c))+c);this.size-=c};b.prototype.Zd=function(a,c,b){if(this.Fa)throw d.f.La();if(1>b||0!=c%b)throw d.f.La();for(var e=c>>1,h=0;h<e;h+=b){c-=b;for(var l=0;l<b;l++){var k=this.g[a+h+l];this.g[a+h+l]=this.g[a+c+l];this.g[a+c+l]=k}}};b.prototype.Zh=
- function(a,c,b){if(0>c||0>b||0>c||b+c>this.size)throw d.f.F();for(var e=c;e<c+b;e++)this.g[e]=a};b.prototype.Ij=function(a,c,b,f,h){if(!f||a!=b)if(this.g.set(this.g.subarray(b,b+c),a),!f)for(b=a,a=a+c-h,f=0,c=d.J.truncate(c/2);f<c;f++){for(var e=0;e<h;e++){var k=this.g[b+e];this.g[b+e]=this.g[a+e];this.g[a+e]=k}b+=h;a-=h}};b.prototype.js=function(a,c,b,f,h){if(0>a||0>c||0>f)throw d.f.F();if(0!=c)for(this.size<(c<<1)+a&&this.resize((c<<1)+a),h||(a+=c-1<<1),h=h?2:-2,c+=f;f<c;f++)this.g[a]=b[f].x,this.g[a+
- 1]=b[f].y,a+=h};b.prototype.gy=function(a,c,b,f,h){if(0>a||0>c||0>f)throw d.f.F();if(0!=c)for(this.size<(c<<1)+a&&this.resize((c<<1)+a),h||(a+=c-1<<1),h=h?2:-2,c+=f;f<c;f++)this.g[a]=b[f][0],this.g[a+1]=b[f][1],a+=h};b.prototype.pl=function(a,c,b,f,h){if(0>a||0>c||0>f||this.size<c+a)throw d.f.F();if(h)for(h=0;h<c;h++)b[f+h]=this.g[a+h];else for(f=f+c-1;a<c;a++)b[f]=this.g[a],f--};b.prototype.Gx=function(a,c,b,f,h){if(0>a||0>c||0>f||this.size<(c>>1)+a)throw d.f.F();if(0!=c)for(h||(a+=c-1),h=h?2:-2,
- c=f+c;f<c;f++)b[f][0]=this.g[a],b[f][1]=this.g[a+1],a+=h};b.prototype.clear=function(a){a?this.resize(0):this.yf(0)};b.prototype.Mp=function(){this.Ce=this.Fa=!0};b.prototype.Gd=function(a,c,b){Array.prototype.sort.call(this.g.subarray(a,c),b)};b.prototype.si=function(){return 1};return b}();d.JL=g})(n||(n={}));!0===n.Xh.Bm&&!0===n.Xh.iw&&(n.Sd=n.JL);(function(d){function m(b,a,c,e){c=new Int32Array(b.subarray(c,e));b.set(c,a)}d.AZ=function(){return function(){this.random=1973}}();var g=function(){function b(a){this.Fa=
- this.Ce=!1;this.g=[];var c=a;2>c&&(c=2);this.g=this.g=d.J.gf(c,b.Bb);this.size=a}b.prototype.rotate=function(a,c,b){if(this.Fa)throw d.f.X("invalid_call");if(c<a||c>b||a>b)throw d.f.F();a!=c&&b!=c&&(this.Zd(a,c-a,1),this.Zd(c,b-c,1),this.Zd(a,b-a,1))};b.yd=function(a,c){b.Bb=c;a=new b(a);b.Bb=0;return a};b.Ak=function(a){var c=new b(0);c.g=a.g.slice(0);c.size=a.size;return c};b.$=function(a,c){var e=new b(0);e.size=a.size;e.size>c&&(e.size=c);e.g=a.g.slice(0,e.size);return e};b.prototype.yb=function(){};
- b.prototype.read=function(a){return this.g[a]};b.prototype.fc=function(a,c){c.x=this.g[a];c.y=this.g[a+1]};b.prototype.get=function(a){return this.g[a]};b.prototype.write=function(a,c){if(this.Fa)throw d.f.La();this.g[a]=c};b.prototype.set=function(a,c){if(this.Fa)throw d.f.La();this.g[a]=c};b.prototype.ho=function(a,c){if(this.Fa)throw d.f.La();this.g[a]=c.x;this.g[a+1]=c.y};b.prototype.add=function(a){this.resize(this.size+1);this.g[this.size-1]=a};b.prototype.Sr=function(a){return b.$(this,a)};
- b.prototype.Of=function(a){return this.read(a)};b.prototype.resize=function(a,c){void 0===c&&(c=0);if(this.Ce)throw d.f.X("invalid call. Attribute Stream is locked and cannot be resized.");if(a<=this.size){if(d.J.truncate(5*a/4)<this.g.length){var b=this.g.slice(0,a);this.g=b}}else if(a>this.g.length){d.J.truncate(64>a?Math.max(2*a,4):5*a/4);for(var b=this.g.slice(0),f=this.g.length;f<a;f++)b[f]=c;this.g=b}this.size=a};b.prototype.yf=function(a){(null==this.g||a>this.g.length)&&this.resize(a);if(this.Ce)throw d.f.X("invalid call. Attribute Stream is locked and cannot be resized.");
- this.size=a};b.prototype.Dm=function(a,c){this.write(a,c)};b.prototype.zk=function(a,c,b){for(var e=this.size;c<e&&c<b;c++)a=d.J.dh(this.read(c),a);return a};b.prototype.Eb=function(a,c,e){if(null==a||!(a instanceof b))return!1;var f=this.size,h=a.size;if(e>f||e>h&&f!=h)return!1;for(e>f&&(e=f);c<e;c++)if(this.read(c)!=a.read(c))return!1;return!0};b.prototype.Rk=function(a,c,b,f,h,l,k){if(this.Fa)throw d.f.La();if(!h&&(1>l||0!=f%l))throw d.f.F();for(var e=0;e<k-a;e++)this.g[a+f+e]=this.g[a+e];this.g==
- c.g&&a<b&&(b+=f);if(h)for(e=0;e<f;e++)this.g[e+a]=c.g[b+e];else for(h=f,k=0;k<f;k+=l)for(h-=l,e=0;e<l;e++)this.g[a+k+e]=c.g[b+h+e]};b.prototype.Qk=function(a,c,b,f){if(this.Fa)throw d.f.La();f-=a;for(var e=this.g.slice(a,a+f),l=0;l<f;l++)this.g[a+b+l]=e[l];for(f=0;f<b;f++)this.g[a+f]=c};b.prototype.eh=function(a,c,b){if(this.Fa)throw d.f.La();for(var e=this.g.slice(a,a+(b-a)),h=0;h<b-a;h++)this.g[h+a+2]=e[h];this.g[a]=c.x;this.g[a+1]=c.y};b.prototype.hs=function(a,c,b,f,h){if(0>a||0>c||0>f)throw d.f.F();
- if(b.length<f+c)throw d.f.F();if(0!=c)if(this.size<c+a&&this.resize(c+a),h)for(h=0;h<c;h++)this.g[a+h]=b[f+h];else for(h||(a+=c-1),c=f+c;f<c;f++)this.g[a]=b[f],a--};b.prototype.Em=function(a,c,b,f,h,l){if(0>a||0>c||0>f)throw d.f.F();if(!h&&(0>=l||0!=c%l))throw d.f.F();if(b.size<f+c)throw d.f.F();if(0!=c)if(this.size<c+a&&this.resize(c+a),b==this)this.Ij(a,c,f,h,l);else if(h)for(h=0;h<c;h++)this.g[a]=b.g[f],a++,f++;else if(f=f+c-l,1==l)for(h=0;h<c;h++)this.g[a]=b.g[f],a++,f--;else for(h=0,c=d.J.truncate(c/
- l);h<c;h++){for(var e=0;e<l;e++)this.g[a+e]=b.g[f+e];a+=l;f-=l}};b.prototype.Ek=function(a,c,b){if(this.Fa)throw d.f.La();if(a+c>this.size)throw d.f.La();if(0<b-(a+c)){b-=a+c;for(var e=this.g.slice(a+c,a+b+c),h=0;h<b;h++)this.g[a+h]=e[h]}this.size-=c};b.prototype.Zd=function(a,c,b){if(this.Fa)throw d.f.La();if(1>b||0!=c%b)throw d.f.La();for(var e=c>>1,h=0;h<e;h+=b){c-=b;for(var l=0;l<b;l++){var k=this.g[a+h+l];this.g[a+h+l]=this.g[a+c+l];this.g[a+c+l]=k}}};b.prototype.Zh=function(a,c,b){if(0>c||0>
- b||0>c||b+c>this.size)throw d.f.F();for(var e=c;e<c+b;e++)this.g[e]=a};b.prototype.Ij=function(a,c,b,f,h){if(!f||a!=b){for(var e=0;e<c;e++)this.g[a+e]=this.g[b+e];if(!f)for(b=a,a=a+c-h,f=0,c=d.J.truncate(c/2);f<c;f++){for(e=0;e<h;e++){var k=this.g[b+e];this.g[b+e]=this.g[a+e];this.g[a+e]=k}b+=h;a-=h}}};b.prototype.js=function(a,c,b,f,h){if(0>a||0>c||0>f)throw d.f.F();if(0!=c)for(this.size<(c<<1)+a&&this.resize((c<<1)+a),h||(a+=c-1<<1),h=h?2:-2,c+=f;f<c;f++)this.g[a]=b[f].x,this.g[a+1]=b[f].y,a+=h};
- b.prototype.pl=function(a,c,b,f,h){if(0>a||0>c||0>f||this.size<c+a)throw d.f.F();if(h)for(h=0;h<c;h++)b[f+h]=this.g[a+h];else for(f=f+c-1;a<c;a++)b[f]=this.g[a],f--};b.prototype.clear=function(a){a?this.resize(0):this.yf(0)};b.prototype.Mp=function(){this.Ce=this.Fa=!0};b.prototype.Gd=function(a,c,b){var e=this.g.slice(0,a),h=this.g.slice(c);a=this.g.slice(a,c).sort(b);this.g.length=0;this.g.push.apply(this.g,e.concat(a).concat(h))};b.prototype.si=function(){return 2};b.prototype.Fc=function(){return this.g[this.size-
- 1]};b.prototype.Pf=function(){this.resize(this.size-1)};b.prototype.BK=function(a){this.g[this.size-1]=a};b.prototype.GJ=function(a){a<this.size-1&&(this.g[a]=this.g[this.size-1]);this.resize(this.size-1)};b.prototype.Nv=function(a){for(var c=0,b=this.size;c<b;c++)if(this.g[c]==a)return c;return-1};b.prototype.mA=function(a){return 0<=this.Nv(a)};b.Bb=0;return b}();d.ia=g;g=function(){function b(a){this.Fa=this.Ce=!1;this.g=null;var c=a;2>c&&(c=2);this.g=new Int32Array(c);this.size=a}b.prototype.rotate=
- function(a,c,b){if(this.Fa)throw d.f.X("invalid_call");if(c<a||c>b||a>b)throw d.f.F();a!=c&&b!=c&&(this.Zd(a,c-a,1),this.Zd(c,b-c,1),this.Zd(a,b-a,1))};b.yd=function(a,c){var e=new b(a),f=e.g;2>a&&(a=2);if(0!==c)for(var h=0;h<a;h++)f[h]=c;return e};b.Ak=function(a){var c=new b(0);c.g=new Int32Array(a.g);c.size=a.size;return c};b.$=function(a,c){var e=new b(0);e.size=a.size;e.size>c&&(e.size=c);c=e.size;2>c&&(c=2);e.g=new Int32Array(c);e.g.set(a.g.length<=c?a.g:a.g.subarray(0,c),0);return e};b.prototype.yb=
- function(a){0>=a||(null==this.g?this.g=new Int32Array(a):a<=this.g.length||(0<this.g.length?(a=new Int32Array(a),a.set(this.g),this.g=a):this.g=new Int32Array(a)))};b.prototype.read=function(a){return this.g[a]};b.prototype.fc=function(a,c){c.x=this.g[a];c.y=this.g[a+1]};b.prototype.get=function(a){return this.g[a]};b.prototype.write=function(a,c){if(this.Fa)throw d.f.La();this.g[a]=c};b.prototype.set=function(a,c){if(this.Fa)throw d.f.La();this.g[a]=c};b.prototype.ho=function(a,c){if(this.Fa)throw d.f.La();
- this.g[a]=c.x;this.g[a+1]=c.y};b.prototype.add=function(a){this.resize(this.size+1);this.g[this.size-1]=a};b.prototype.Sr=function(a){return b.$(this,a)};b.prototype.Of=function(a){return this.read(a)};b.prototype.resize=function(a,c){void 0===c&&(c=0);if(this.Ce)throw d.f.X("invalid call. Attribute Stream is locked and cannot be resized.");if(a<=this.size){if(30<this.g.length&&5*a/4<this.g.length){var b=new Int32Array(this.g,0,a);this.g=b}}else{a>this.g.length&&(b=d.J.truncate(64>a?Math.max(2*a,
- 4):5*a/4),b=new Int32Array(b),b.set(this.g),this.g=b);for(var b=this.g,f=this.size;f<a;f++)b[f]=c}this.size=a};b.prototype.yf=function(a){(null==this.g||a>this.g.length)&&this.resize(a);if(this.Ce)throw d.f.X("invalid call. Attribute Stream is locked and cannot be resized.");this.size=a};b.prototype.Dm=function(a,c){this.write(a,c)};b.prototype.zk=function(a,c,b){for(var e=this.size;c<e&&c<b;c++)a=d.J.dh(this.read(c),a);return a};b.prototype.Eb=function(a,c,e){if(null==a||!(a instanceof b))return!1;
- var f=this.size,h=a.size;if(e>f||e>h&&f!=h)return!1;for(e>f&&(e=f);c<e;c++)if(this.read(c)!=a.read(c))return!1;return!0};b.prototype.Rk=function(a,c,b,f,h,l,k){if(this.Fa)throw d.f.La();if(!h&&(1>l||0!=f%l))throw d.f.F();m(this.g,a+f,a,a+(k-a));this.g==c.g&&a<b&&(b+=f);if(h)this.g.set(c.g.subarray(b,b+f),a);else for(h=f,k=0;k<f;k+=l){h-=l;for(var e=0;e<l;e++)this.g[a+k+e]=c.g[b+h+e]}};b.prototype.Qk=function(a,c,b,f){if(this.Fa)throw d.f.La();f-=a;m(this.g,a+f,a,a+f);for(f=0;f<b;f++)this.g[a+f]=c};
- b.prototype.eh=function(a,c,b){if(this.Fa)throw d.f.La();m(this.g,a+2,a,a+(b-a));this.g[a]=c.x;this.g[a+1]=c.y};b.prototype.hs=function(a,c,b,f,h){if(0>a||0>c||0>f)throw d.f.F();if(b.length<f+c)throw d.f.F();if(0!=c)if(this.size<c+a&&this.resize(c+a),h)this.g.set(b.subarray(f,c),a);else for(h||(a+=c-1),c=f+c;f<c;f++)this.g[a]=b[f],a--};b.prototype.Em=function(a,c,b,f,h,l){if(0>a||0>c||0>f)throw d.f.F();if(!h&&(0>=l||0!=c%l))throw d.f.F();if(b.size<f+c)throw d.f.F();if(0!=c)if(this.size<c+a&&this.resize(c+
- a),b==this)this.Ij(a,c,f,h,l);else if(h)for(h=0;h<c;h++)this.g[a]=b.g[f],a++,f++;else if(f=f+c-l,1==l)for(h=0;h<c;h++)this.g[a]=b.g[f],a++,f--;else for(h=0,c=d.J.truncate(c/l);h<c;h++){for(var e=0;e<l;e++)this.g[a+e]=b.g[f+e];a+=l;f-=l}};b.prototype.Ek=function(a,c,b){if(this.Fa)throw d.f.La();if(a+c>this.size)throw d.f.La();0<b-(a+c)&&m(this.g,a,a+c,a+(b-(a+c))+c);this.size-=c};b.prototype.Zd=function(a,c,b){if(this.Fa)throw d.f.La();if(1>b||0!=c%b)throw d.f.La();for(var e=c>>1,h=0;h<e;h+=b){c-=
- b;for(var l=0;l<b;l++){var k=this.g[a+h+l];this.g[a+h+l]=this.g[a+c+l];this.g[a+c+l]=k}}};b.prototype.Zh=function(a,c,b){if(0>c||0>b||0>c||b+c>this.size)throw d.f.F();for(var e=c;e<c+b;e++)this.g[e]=a};b.prototype.Ij=function(a,c,b,f,h){if(!f||a!=b)if(this.g.set(this.g.subarray(b,b+c),a),!f)for(b=a,a=a+c-h,f=0,c=d.J.truncate(c/2);f<c;f++){for(var e=0;e<h;e++){var k=this.g[b+e];this.g[b+e]=this.g[a+e];this.g[a+e]=k}b+=h;a-=h}};b.prototype.js=function(a,c,b,f,h){if(0>a||0>c||0>f)throw d.f.F();if(0!=
- c)for(this.size<(c<<1)+a&&this.resize((c<<1)+a),h||(a+=c-1<<1),h=h?2:-2,c+=f;f<c;f++)this.g[a]=b[f].x,this.g[a+1]=b[f].y,a+=h};b.prototype.pl=function(a,c,b,f,h){if(0>a||0>c||0>f||this.size<c+a)throw d.f.F();if(h)for(h=0;h<c;h++)b[f+h]=this.g[a+h];else for(f=f+c-1;a<c;a++)b[f]=this.g[a],f--};b.prototype.clear=function(a){a?this.resize(0):this.yf(0)};b.prototype.Mp=function(){this.Ce=this.Fa=!0};b.prototype.Gd=function(a,c,e){10>c-a?b.ul(this.g,a,c,e):b.Oi(this.g,a,c-1,e)};b.prototype.si=function(){return 2};
- b.prototype.Fc=function(){return this.g[this.size-1]};b.prototype.Pf=function(){this.resize(this.size-1)};b.prototype.BK=function(a){this.g[this.size-1]=a};b.prototype.GJ=function(a){a<this.size-1&&(this.g[a]=this.g[this.size-1]);this.resize(this.size-1)};b.prototype.Nv=function(a){for(var c=0,b=this.size;c<b;c++)if(this.g[c]==a)return c;return-1};b.prototype.mA=function(a){return 0<=this.Nv(a)};b.ul=function(a,c,b,f){for(var e=c;e<b;e++){for(var d=a[e],k=e-1;k>=c&&0<f(a[k],d);)a[k+1]=a[k],k--;a[k+
- 1]=d}};b.Wg=function(a,c,b){var e=a[b];a[b]=a[c];a[c]=e};b.Oi=function(a,c,e,f){if(!(c>=e))for(;;){if(9>e-c){b.ul(a,c,e+1,f);break}var h=a[c];b.Wg(a,c,e);for(var d=c,k=c;k<e;k++)0>=f(a[k],h)&&(b.Wg(a,d,k),d+=1);b.Wg(a,d,e);d-c<e-d?(b.Oi(a,c,d-1,f),c=d+1):(b.Oi(a,d+1,e,f),e=d-1)}};return b}();d.iy=g})(n||(n={}));!0===n.Xh.Bm&&(n.ia=n.iy);(function(d){function m(b,a,c,e){c=new Int8Array(b.subarray(c,e));b.set(c,a)}var g=function(){function b(a){this.Fa=this.Ce=!1;this.g=[];var c=a;2>c&&(c=2);this.g=
- d.J.gf(c,b.Bb);this.size=a}b.prototype.rotate=function(a,c,b){if(this.Fa)throw d.f.X("invalid_call");if(c<a||c>b||a>b)throw d.f.F();a!=c&&b!=c&&(this.Zd(a,c-a,1),this.Zd(c,b-c,1),this.Zd(a,b-a,1))};b.yd=function(a,c){b.Bb=c;a=new b(a);b.Bb=0;return a};b.Ak=function(a){var c=new b(0);c.g=a.g.slice(0);c.size=a.size;return c};b.$=function(a,c){var e=new b(0);e.size=a.size;e.size>c&&(e.size=c);e.g=a.g.slice(0,e.size);return e};b.prototype.yb=function(){};b.prototype.read=function(a){return this.g[a]};
- b.prototype.fc=function(a,c){c.x=this.g[a];c.y=this.g[a+1]};b.prototype.get=function(a){return this.g[a]};b.prototype.write=function(a,c){if(this.Fa)throw d.f.La();this.g[a]=c};b.prototype.set=function(a,c){if(this.Fa)throw d.f.La();this.g[a]=c};b.prototype.ho=function(a,c){if(this.Fa)throw d.f.La();this.g[a]=c.x;this.g[a+1]=c.y};b.prototype.add=function(a){this.resize(this.size+1);this.g[this.size-1]=a};b.prototype.Sr=function(a){return b.$(this,a)};b.prototype.Of=function(a){return this.read(a)};
- b.prototype.resize=function(a,c){void 0===c&&(c=0);if(this.Ce)throw d.f.X("invalid call. Attribute Stream is locked and cannot be resized.");if(a<=this.size){if(d.J.truncate(5*a/4)<this.g.length){var b=this.g.slice(0,a);this.g=b}}else if(a>this.g.length){d.J.truncate(64>a?Math.max(2*a,4):5*a/4);for(var b=this.g.slice(0),f=this.g.length;f<a;f++)b[f]=c;this.g=b}this.size=a};b.prototype.yf=function(a){(null==this.g||a>this.g.length)&&this.resize(a);if(this.Ce)throw d.f.X("invalid call. Attribute Stream is locked and cannot be resized.");
- this.size=a};b.prototype.Dm=function(a,c){this.write(a,c)};b.prototype.zk=function(a,c,b){for(var e=this.size;c<e&&c<b;c++)a=d.J.dh(this.read(c),a);return a};b.prototype.Eb=function(a,c,e){if(null==a||!(a instanceof b))return!1;var f=this.size,h=a.size;if(e>f||e>h&&f!=h)return!1;for(e>f&&(e=f);c<e;c++)if(this.read(c)!=a.read(c))return!1;return!0};b.prototype.Rk=function(a,c,b,f,h,l,k){if(this.Fa)throw d.f.La();if(!h&&(1>l||0!=f%l))throw d.f.F();for(var e=0;e<k-a;e++)this.g[a+f+e]=this.g[a+e];this.g==
- c.g&&a<b&&(b+=f);if(h)for(e=0;e<f;e++)this.g[e+a]=c.g[b+e];else for(h=f,k=0;k<f;k+=l)for(h-=l,e=0;e<l;e++)this.g[a+k+e]=c.g[b+h+e]};b.prototype.Qk=function(a,c,b,f){if(this.Fa)throw d.f.La();f-=a;for(var e=this.g.slice(a,a+f),l=0;l<f;l++)this.g[a+b+l]=e[l];for(f=0;f<b;f++)this.g[a+f]=c};b.prototype.eh=function(a,c,b){if(this.Fa)throw d.f.La();for(var e=this.g.slice(a,a+(b-a)),h=0;h<b-a;h++)this.g[h+a+2]=e[h];this.g[a]=c.x;this.g[a+1]=c.y};b.prototype.hs=function(a,c,b,f,h){if(0>a||0>c||0>f)throw d.f.F();
- if(b.length<f+c)throw d.f.F();if(0!=c)if(this.size<c+a&&this.resize(c+a),h)for(h=0;h<c;h++)this.g[a+h]=b[f+h];else for(h||(a+=c-1),c=f+c;f<c;f++)this.g[a]=b[f],a--};b.prototype.Em=function(a,c,b,f,h,l){if(0>a||0>c||0>f)throw d.f.F();if(!h&&(0>=l||0!=c%l))throw d.f.F();if(b.size<f+c)throw d.f.F();if(0!=c)if(this.size<c+a&&this.resize(c+a),b==this)this.Ij(a,c,f,h,l);else if(h)for(h=0;h<c;h++)this.g[a]=b.g[f],a++,f++;else if(f=f+c-l,1==l)for(h=0;h<c;h++)this.g[a]=b.g[f],a++,f--;else for(h=0,c=d.J.truncate(c/
- l);h<c;h++){for(var e=0;e<l;e++)this.g[a+e]=b.g[f+e];a+=l;f-=l}};b.prototype.Ek=function(a,c,b){if(this.Fa)throw d.f.La();if(a+c>this.size)throw d.f.La();if(0<b-(a+c)){b-=a+c;for(var e=this.g.slice(a+c,a+b+c),h=0;h<b;h++)this.g[a+h]=e[h]}this.size-=c};b.prototype.Zd=function(a,c,b){if(this.Fa)throw d.f.La();if(1>b||0!=c%b)throw d.f.La();for(var e=c>>1,h=0;h<e;h+=b){c-=b;for(var l=0;l<b;l++){var k=this.g[a+h+l];this.g[a+h+l]=this.g[a+c+l];this.g[a+c+l]=k}}};b.prototype.Zh=function(a,c,b){if(0>c||0>
- b||0>c||b+c>this.size)throw d.f.F();for(var e=c;e<c+b;e++)this.g[e]=a};b.prototype.Ij=function(a,c,b,f,h){if(!f||a!=b){for(var e=0;e<c;e++)this.g[a+e]=this.g[b+e];if(!f)for(b=a,a=a+c-h,f=0,c=d.J.truncate(c/2);f<c;f++){for(e=0;e<h;e++){var k=this.g[b+e];this.g[b+e]=this.g[a+e];this.g[a+e]=k}b+=h;a-=h}}};b.prototype.js=function(a,c,b,f,h){if(0>a||0>c||0>f)throw d.f.F();if(0!=c)for(this.size<(c<<1)+a&&this.resize((c<<1)+a),h||(a+=c-1<<1),h=h?2:-2,c+=f;f<c;f++)this.g[a]=b[f].x,this.g[a+1]=b[f].y,a+=h};
- b.prototype.pl=function(a,c,b,f,h){if(0>a||0>c||0>f||this.size<c+a)throw d.f.F();if(h)for(h=0;h<c;h++)b[f+h]=this.g[a+h];else for(f=f+c-1;a<c;a++)b[f]=this.g[a],f--};b.prototype.clear=function(a){a?this.resize(0):this.yf(0)};b.prototype.Mp=function(){this.Ce=this.Fa=!0};b.prototype.Gd=function(a,c,b){var e=this.g.slice(0,a),h=this.g.slice(c);a=this.g.slice(a,c).sort(b);this.g.length=0;this.g.push.apply(this.g,e.concat(a).concat(h))};b.prototype.si=function(){return 1};b.prototype.hC=function(a,c){if(this.Fa)throw d.f.X("invalid call. Attribute Stream is read only.");
- this.g[a]|=c};b.prototype.ez=function(a,c){if(this.Fa)throw d.f.X("invalid call. Attribute Stream is read only.");this.g[a]&=~c};b.Bb=0;return b}();d.Gm=g;g=function(){function b(a){this.g=null;var c=a;2>c&&(c=2);this.g=new Int8Array(c);this.size=a}b.prototype.rotate=function(a,c,b){if(this.Fa)throw d.f.X("invalid_call");if(c<a||c>b||a>b)throw d.f.F();a!=c&&b!=c&&(this.Zd(a,c-a,1),this.Zd(c,b-c,1),this.Zd(a,b-a,1))};b.yd=function(a,c){var e=new b(a),f=e.g;2>a&&(a=2);if(0!==c)for(var h=0;h<a;h++)f[h]=
- c;return e};b.Ak=function(a){var c=new b(0);c.g=new Int8Array(a.g);c.size=a.size;return c};b.$=function(a,c){var e=new b(0);e.size=a.size;e.size>c&&(e.size=c);c=e.size;2>c&&(c=2);e.g=new Int8Array(c);e.g.set(a.g.length<=c?a.g:a.g.subarray(0,c),0);return e};b.prototype.yb=function(a){0>=a||(null==this.g?this.g=new Int8Array(a):a<=this.g.length||(0<this.g.length?(a=new Int8Array(a),a.set(this.g),this.g=a):this.g=new Int8Array(a)))};b.prototype.read=function(a){return this.g[a]};b.prototype.fc=function(a,
- c){c.x=this.g[a];c.y=this.g[a+1]};b.prototype.get=function(a){return this.g[a]};b.prototype.write=function(a,c){if(this.Fa)throw d.f.La();this.g[a]=c};b.prototype.set=function(a,c){if(this.Fa)throw d.f.La();this.g[a]=c};b.prototype.ho=function(a,c){if(this.Fa)throw d.f.La();this.g[a]=c.x;this.g[a+1]=c.y};b.prototype.add=function(a){this.resize(this.size+1);this.g[this.size-1]=a};b.prototype.Sr=function(a){return b.$(this,a)};b.prototype.Of=function(a){return this.read(a)};b.prototype.resize=function(a,
- c){void 0===c&&(c=0);if(this.Ce)throw d.f.X("invalid call. Attribute Stream is locked and cannot be resized.");if(a<=this.size){if(30<this.g.length&&5*a/4<this.g.length){var b=new Int8Array(this.g,0,a);this.g=b}}else{a>this.g.length&&(b=d.J.truncate(64>a?Math.max(2*a,4):5*a/4),b=new Int8Array(b),b.set(this.g),this.g=b);for(var b=this.g,f=this.size;f<a;f++)b[f]=c}this.size=a};b.prototype.yf=function(a){(null==this.g||a>this.g.length)&&this.resize(a);if(this.Ce)throw d.f.X("invalid call. Attribute Stream is locked and cannot be resized.");
- this.size=a};b.prototype.Dm=function(a,c){this.write(a,c)};b.prototype.zk=function(a,c,b){for(var e=this.size;c<e&&c<b;c++)a=d.J.dh(this.read(c),a);return a};b.prototype.Eb=function(a,c,e){if(null==a||!(a instanceof b))return!1;var f=this.size,h=a.size;if(e>f||e>h&&f!=h)return!1;for(e>f&&(e=f);c<e;c++)if(this.read(c)!=a.read(c))return!1;return!0};b.prototype.Rk=function(a,c,b,f,h,l,k){if(this.Fa)throw d.f.La();if(!h&&(1>l||0!=f%l))throw d.f.F();m(this.g,a+f,a,a+(k-a));this.g==c.g&&a<b&&(b+=f);if(h)this.g.set(c.g.subarray(b,
- b+f),a);else for(h=f,k=0;k<f;k+=l){h-=l;for(var e=0;e<l;e++)this.g[a+k+e]=c.g[b+h+e]}};b.prototype.Qk=function(a,c,b,f){if(this.Fa)throw d.f.La();f-=a;m(this.g,a+f,a,a+f);for(f=0;f<b;f++)this.g[a+f]=c};b.prototype.eh=function(a,c,b){if(this.Fa)throw d.f.La();m(this.g,a+2,a,a+(b-a));this.g[a]=c.x;this.g[a+1]=c.y};b.prototype.hs=function(a,c,b,f,h){if(0>a||0>c||0>f)throw d.f.F();if(b.length<f+c)throw d.f.F();if(0!=c)if(this.size<c+a&&this.resize(c+a),h)this.g.set(b.subarray(f,c),a);else for(h||(a+=
- c-1),c=f+c;f<c;f++)this.g[a]=b[f],a--};b.prototype.Em=function(a,c,b,f,h,l){if(0>a||0>c||0>f)throw d.f.F();if(!h&&(0>=l||0!=c%l))throw d.f.F();if(b.size<f+c)throw d.f.F();if(0!=c)if(this.size<c+a&&this.resize(c+a),b==this)this.Ij(a,c,f,h,l);else if(h)for(h=0;h<c;h++)this.g[a]=b.g[f],a++,f++;else if(f=f+c-l,1==l)for(h=0;h<c;h++)this.g[a]=b.g[f],a++,f--;else for(h=0,c=d.J.truncate(c/l);h<c;h++){for(var e=0;e<l;e++)this.g[a+e]=b.g[f+e];a+=l;f-=l}};b.prototype.Ek=function(a,c,b){if(this.Fa)throw d.f.La();
- if(a+c>this.size)throw d.f.La();0<b-(a+c)&&m(this.g,a,a+c,a+(b-(a+c))+c);this.size-=c};b.prototype.Zd=function(a,c,b){if(this.Fa)throw d.f.La();if(1>b||0!=c%b)throw d.f.La();for(var e=c>>1,h=0;h<e;h+=b){c-=b;for(var l=0;l<b;l++){var k=this.g[a+h+l];this.g[a+h+l]=this.g[a+c+l];this.g[a+c+l]=k}}};b.prototype.Zh=function(a,c,b){if(0>c||0>b||0>c||b+c>this.size)throw d.f.F();for(var e=c;e<c+b;e++)this.g[e]=a};b.prototype.Ij=function(a,c,b,f,h){if(!f||a!=b)if(this.g.set(this.g.subarray(b,b+c),a),!f)for(b=
- a,a=a+c-h,f=0,c=d.J.truncate(c/2);f<c;f++){for(var e=0;e<h;e++){var k=this.g[b+e];this.g[b+e]=this.g[a+e];this.g[a+e]=k}b+=h;a-=h}};b.prototype.js=function(a,c,b,f,h){if(0>a||0>c||0>f)throw d.f.F();if(0!=c)for(this.size<(c<<1)+a&&this.resize((c<<1)+a),h||(a+=c-1<<1),h=h?2:-2,c+=f;f<c;f++)this.g[a]=b[f].x,this.g[a+1]=b[f].y,a+=h};b.prototype.pl=function(a,c,b,f,h){if(0>a||0>c||0>f||this.size<c+a)throw d.f.F();if(h)for(h=0;h<c;h++)b[f+h]=this.g[a+h];else for(f=f+c-1;a<c;a++)b[f]=this.g[a],f--};b.prototype.clear=
- function(a){a?this.resize(0):this.yf(0)};b.prototype.Mp=function(){this.Ce=this.Fa=!0};b.prototype.Gd=function(a,c,b){c=this.g.subarray(a,c);Array.prototype.sort.call(c,b);this.g.set(c,a)};b.prototype.hC=function(a,c){if(this.Fa)throw d.f.X("invalid call. Attribute Stream is read only.");this.g[a]|=c};b.prototype.ez=function(a,c){if(this.Fa)throw d.f.X("invalid call. Attribute Stream is read only.");this.g[a]&=~c};b.prototype.si=function(){return 1};return b}();d.jy=g})(n||(n={}));!0===n.Xh.Bm&&(n.Gm=
- n.jy);(function(d){var m=function(){function g(){}g.vq=function(b,a){return d.Gm.yd(b,a)};g.Vm=function(b,a){return d.Sd.yd(b,a)};g.oz=function(b,a,c){switch(b){case 1:b=d.Sd.yd(a,c);break;case 2:b=d.ia.yd(a,c);break;case 4:b=d.Gm.yd(a,c);break;default:throw d.f.ya();}return b};g.pz=function(b,a){return g.oz(d.na.si(b),a*d.na.Xa(b),d.na.pe(b))};g.wh=function(b,a){return d.ia.yd(b,a)};g.HB=function(b){var a,c=[];for(a=0;a<b;a++)c.push(null);return c};return g}();d.Uc=m})(n||(n={}));(function(d){var m=
- function(){function g(){}g.vq=function(b,a){return d.jy.yd(b,a)};g.Vm=function(b,a){return d.Sd.yd(b,a)};g.oz=function(b,a,c){switch(b){case 1:b=d.Sd.yd(a,c);break;case 2:b=d.iy.yd(a,c);break;case 4:b=d.jy.yd(a,c);break;default:throw d.f.ya();}return b};g.pz=function(b,a){return d.Uc.oz(d.na.si(b),a*d.na.Xa(b),d.na.pe(b))};g.wh=function(b,a){return d.iy.yd(b,a)};g.HB=function(b){var a,c=[];for(a=0;a<b;a++)c.push(null);return c};return g}();d.KL=m})(n||(n={}));!0===n.Xh.Bm&&(n.Uc=n.KL);(function(d){d.ea=
- function(){return function(d){void 0===d&&(d=0);this.j=d}}()})(n||(n={}));(function(d){var m=function(){function g(){}g.bind=function(b){d.Vc=b.PeDefs;d.Tf=b.PeFactory;d.PD=b.PeVertcs;d.MD=b.PeCoordsys;d.fi=b.PeCSTransformations;d.OD=b.PeGTTransformations;d.xN=b.PeGeogtran;d.wN=b.PeFactoryCodechange;d.ND=b.PeGCSExtent;d.Bg=b.PePCSInfo;d.yN=b.PeHorizon;d.MD=b.PeCoordsys;d.fq=b.PeGTlistExtended;d.fq.PE_GTLIST_OPTS_USE_DEFAULT=128;d.Tf.initialize(null);d.vy=b.PeGTlistExtendedEntry;g.PY=d.Tf.fromString(d.Vc.PE_TYPE_UNIT,
- 'UNIT["Meter",1.0]')};g.v_=function(){};g.PY=null;return g}();d.zN=m;d.Tf=null;d.PD=null;d.MD=null;d.yN=null;d.Bg=null;d.fq=null;d.vy=null;d.ND=null;d.wN=null;d.xN=null;d.Vc=null;d.OD=null;d.fi=null})(n||(n={}));(function(d){var m=function(){function b(){}b.Ab=function(a,c){return 0<=c?b.K(a):-b.K(a)};b.K=function(a){return 0>a?-a:a};b.Qi=function(a){return 3.552713678800501E-15>a};b.LD=function(a,c,e){return b.K(a-c)<=e*(1+(b.K(a)+b.K(c))/2)};b.W=function(a,c){return b.LD(a,c,3.552713678800501E-15)};
- b.iW=function(a){return 3.552713678800501E-15>=b.K(a)};b.wd=function(a){return b.iW(a)};return b}();d.l=m;var g=function(){function b(){}b.Sp=function(a,c){a=m.K(a);c=m.K(c);var b=0;0!=a+c&&(a>c?(b=c/a,b=a*Math.sqrt(1+b*b)):(b=a/c,b=c*Math.sqrt(1+b*b)));return b};b.Nr=function(a,c,e,f,h){for(var d=[0,0,0],k=[0,0,0],r=0;2>=r;r++)c[r]-=a[r],e[r]-=c[r];e=d[1]*k[2]-d[2]*k[1];c=d[2]*k[0]-d[0]*k[2];d=d[0]*k[1]-d[1]*k[0];a=-1*(e*a[0]+c*a[1]+d*a[2]);f[0]=e;f[1]=c;f[2]=d;f[3]=a;k=b.fo(f);f[0]/=k;f[1]/=k;f[2]/=
- k;f[3]/=k;0!=h&&(k=m.wd(d)?m.wd(a)?m.Ab(1,c):-m.Ab(1,a):m.Ab(1,d),k*=m.Ab(1,h),f[0]*=k,f[1]*=k,f[2]*=k,f[3]*=k)};b.ey=function(a,c,b){b[0]=a[1]*c[2]-c[1]*a[2];b[1]=a[2]*c[0]-c[2]*a[0];b[2]=a[0]*c[1]-c[0]*a[1]};b.Du=function(a,c){return a[0]*c[0]+a[1]*c[1]+a[2]*c[2]};b.fo=function(a){return b.Sp(b.Sp(a[0],a[1]),a[2])};b.Ck=function(a,c,e,f,h,d,k,r){a=b.n(a,c,e);var l=Math.cos(e);d.j=(a+h)*l*Math.cos(f);k.j=(a+h)*l*Math.sin(f);r.j=(a*(1-c)+h)*Math.sin(e)};b.iQ=function(a,c,e,f,h,d,k){var l=b.Sp(c,e),
- g=1*Math.sqrt(1-a),p=g/1;if(m.W(l,0))d.j=0,h.j=m.Ab(1.570796326794897,f),k.j=m.K(f)-g;else{d.j=Math.atan2(e,c);e=Math.atan2(1*f,g*l);d=Math.cos(e);var q=Math.sin(e);c=g*a/(1-a);a*=1;e=Math.atan2(f+c*q*q*q,l-a*d*d*d);3.141592653589793<m.K(e)&&(e=m.Ab(3.141592653589793,e)-e);e=Math.atan(p*Math.tan(e));q=Math.sin(e);d=Math.cos(e);h.j=Math.atan2(f+c*q*q*q,l-a*d*d*d);1.570796326794897<m.K(h.j)&&(h.j=m.Ab(3.141592653589793,h.j)-h.j);e=Math.atan(p*Math.tan(h.j));q=Math.sin(e);d=Math.cos(e);k.j=(f-g*q)*Math.sin(h.j)+
- (l-1*d)*Math.cos(h.j)}};b.n=function(a,c,b){b=Math.sin(b);return a/Math.sqrt(1-c*b*b)};b.cu=function(a,c){return Math.atan2(Math.sin(c)*(1-a),Math.cos(c))};b.hk=function(a,c){return Math.atan2(Math.sin(c),Math.cos(c)*(1-a))};b.xp=function(a,c){if(m.Qi(a)||0==c||m.W(m.K(c),1.570796326794897))return c;var e,f,h,d,k,r,g,p,q;if(.006884661117170036>a){d=Math.sqrt(1-a);k=(1-d)/(1+d);r=k*k;g=k*r;p=k*g;e=k*p;q=k*e;f=k*q;h=1.572916666666667*g-3.2578125*e+4.295068359375*f;d=2.142578125*p-6.071484375*q;a=3.129296875*
- e-11.249837239583334*f;var u=4.775276692708333*q,v=7.958636765252976*f,x=Math.cos(2*c);return c+Math.sin(2*c)*(1.5*k-.84375*g+.525390625*e-.2688395182291667*f-h+a-v+x*(2*(1.3125*r-1.71875*p+1.650146484375*q)-4*d+6*u+x*(4*h-12*a+24*v+x*(8*d-32*u+x*(16*a-80*v+x*(32*u+64*x*v))))))}d=1-a;k=a/2;r=m.K(c);g=r*b.Su(a)/(1.570796326794897*d);p=9999;q=r;for(r=0;1E-16<p&&50>r;r++)f=b.Cm(a,q),e=(b.DG(q,a)-k*Math.sin(2*q)/f)/d-g,f=1/(f*f*f),h=e/f,e=q-h,p=m.K(h),q=e;return 0<=c?q:-q};b.oX=function(a,c){return m.Qi(c)?
- a:a*b.Su(c)/1.570796326794897};b.da=function(a){a=b.pG(a,6.283185307179586);return 0>a?a+6.283185307179586:3.141592653589793>m.K(a)||m.W(m.K(a),3.141592653589793)?a:a-6.283185307179586};b.pG=function(a,c){return a-Math.floor(a/c)*c};b.Yg=function(a,c){if(.006884661117170036>c){c=Math.sqrt(1-c);c=(1-c)/(1+c);var e=c*c,f=e*e;return a/(1+c)*(1+.25*e+.015625*f+.00390625*e*f)*1.570796326794897}return a*b.Su(c)};b.Mr=function(a,c){var e=m.Ab(1,Math.sin(c));c=m.K(b.pG(c,3.141592653589793));c=1.570796326794897>=
- c?c:3.141592653589793-c;var f;m.W(c,1.570796326794897)?f=c:f=Math.atan(Math.sqrt(1-a)*Math.tan(c));return f*e};b.q=function(a,c,e){if(.006884661117170036>c){c=Math.sqrt(1-c);c=(1-c)/(1+c);var f=c*c,h=c*f,d=c*h,k=c*d,r=c*k,g=c*r,p=-.7291666666666666*h+.2278645833333333*k+.03987630208333334*g,q=.615234375*d-.21533203125*r,u=-.54140625*k+.20302734375*g,v=.48876953125*r,x=-.4488699776785715*g,m=Math.cos(2*e);return a/(1+c)*((1+.25*f+.015625*d+.00390625*r)*e+Math.sin(2*e)*(-1.5*c+.1875*h+.0234375*k+.00732421875*
- g-p+u-x+m*(2*(.9375*f-.234375*d-.03662109375*r)-4*q+6*v+m*(4*p-12*u+24*x+m*(8*q-32*v+m*(16*u-80*x+m*(32*v+64*m*x)))))))}return a*(b.DG(e,c)-.5*c*Math.sin(2*e)/b.Cm(c,e))};b.Cm=function(a,c){c=Math.sin(c);return Math.sqrt(1-a*c*c)};b.Su=function(a){return m.LD(a,1,2.220446049250313E-16)?1:1>a?b.Kv(0,1-a)-a/3*b.Hv(0,1-a):NaN};b.DG=function(a,c){var e=m.Ab(1,a);a=m.K(a);var f=Math.floor(a/1.570796326794897),h;if(1<c)h=0==a?0:NaN;else if(m.wd(f))h=b.sin(a),h=h*b.Kv(1-h*h,1-c*h*h)-c/3*h*h*h*b.Hv(1-h*h,
- 1-c*h*h);else{h=d.J.truncate(f%2);var l=b.Su(c);0<h?(h=Math.sin(1.570796326794897*(f+1)-a),h=h*b.Kv(1-h*h,1-c*h*h)-c/3*h*h*h*b.Hv(1-h*h,1-c*h*h),h=l*(f+1)-h):(h=Math.sin(a-1.570796326794897*f),h=h*b.Kv(1-h*h,1-c*h*h)-c/3*h*h*h*b.Hv(1-h*h,1-c*h*h),h=l*f+h)}return h*e};b.sin=function(a){a=b.da(a);var c=m.Ab(1,a);a=m.K(a);return m.W(a,3.141592653589793)?0:m.W(a,1.570796326794897)?1*c:Math.sin(a)*c};b.Hv=function(a,c){for(var b=1,f=0,h=1,d,k,r,g;;){d=.2*(a+c+3*b);k=(d-a)/d;r=(d-c)/d;g=(d-b)/d;if(1E-4>
- m.K(k)&&1E-4>m.K(r)&&1E-4>m.K(g))break;g=Math.sqrt(c);d=Math.sqrt(b);g=Math.sqrt(a)*(g+d)+g*d;f+=h/(d*(b+g));h*=.25;a=.25*(a+g);c=.25*(c+g);b=.25*(b+g)}a=k*r;b=g*g;c=a-b;b=a-6*b;k=b+c+c;return 3*f+h*(1+b*(-.2142857142857143+.10227272727272728*b-.1730769230769231*g*k)+g*(.1666666666666667*k+g*(-.4090909090909091*c+.1153846153846154*g*a)))/(d*Math.sqrt(d))};b.Kv=function(a,c){for(var b,f,h,d,k=1;;k=.25*(k+b)){b=(a+c+k)/3;f=2-(b+a)/b;h=2-(b+c)/b;d=2-(b+k)/b;if(1E-4>m.K(f)&&1E-4>m.K(h)&&1E-4>m.K(d))break;
- b=Math.sqrt(c);f=Math.sqrt(k);b=Math.sqrt(a)*(b+f)+b*f;a=.25*(a+b);c=.25*(c+b)}a=f*h-d*d;c=f*h*d;return(1+(.04166666666666666*a-.1-.06818181818181818*c)*a+.07142857142857142*c)/Math.sqrt(b)};b.Bx=function(a,c){if(m.Qi(a)||0==c||m.W(m.K(c),1.570796326794897))return c;var b,f,h;if(.006884661117170036>a){b=a*a;f=a*b;h=a*f;var d=a*h,k=a*d,r=a*k,g=-(.02708333333333333*f+.03430059523809524*h+.03149181547619048*d+.02634359154541446*k+.02156896735835538*r),p=.007669890873015873*h+.01299603174603175*d+.0148051353064374*
- k+.01454454953803912*r,q=-(.002275545634920635*d+.004830845032667949*k+.006558395368616723*r),u=6.957236677288761E-4*k+.001775193002406544*r,v=-(2.17324089394402E-4*r),x=Math.cos(2*c);return c+Math.sin(2*c)*(-(.5*a+.2083333333333333*b+.09375*f+.04878472222222222*h+.02916666666666667*d+.01938905423280423*k+.01388255931712963*r)-g+q-v+x*(2*(.1041666666666667*b+.0875*f+.06050347222222222*h+.04151785714285714*d+.02958958540013228*k+.02203667534722222*r)-4*p+6*u+x*(4*g-12*q+24*v+x*(8*p-32*u+x*(16*q-80*
- v+x*(32*u+64*x*v))))))}0==c||m.W(m.K(c),1.570796326794897)?b=c:(f=Math.sqrt(a),h=f*Math.sin(c),b=Math.tan(.7853981633974483+c/2)*Math.pow((1-h)/(1+h),f/2),b=2*Math.atan(b)-1.570796326794897);return b};b.AQ=function(a,c){if(m.Qi(a)||0==c||m.W(m.K(c),1.570796326794897))return c;var b,f;if(.006884661117170036>a){x=a*a;q=a*x;u=a*q;b=a*u;v=a*b;f=a*v;var h=.05833333333333333*q+.07232142857142858*u+.05634300595238095*b+.0355325796406526*v+.020235546186067*f,d=.02653149801587302*u+.04379960317460317*b+.0429211791776896*
- v+.03255384637546096*f,k=.01294022817460318*b+.02668104344536636*v+.03155651254609588*f,r=.00659454790965208*v+.0163075268674227*f,g=.003463473736911237*f,p=Math.cos(2*c);return c+Math.sin(2*c)*(.5*a+.2083333333333333*x+.08333333333333333*q+.03611111111111111*u+.01875*b+.01195601851851852*v+.008863673941798942*f-h+k-g+p*(2*(.1458333333333333*x+.1208333333333333*q+.07039930555555556*u+.03616071428571429*b+.01839451058201058*v+.01017113095238095*f)-4*d+6*r+p*(4*h-12*k+24*g+p*(8*d-32*r+p*(16*k-80*g+
- p*(32*r+64*p*g))))))}for(var q=Math.sqrt(a),u=q/2,v=Math.tan(.7853981633974483+c/2),h=0,d=1,x=c;0!=d;x=f)if(b=q*Math.sin(x),f=v*Math.pow((1+b)/(1-b),u),f=2*Math.atan(f)-1.570796326794897,h++,m.W(f,x)||3E4<h)d=0;return x};return b}();d.C=g})(n||(n={}));(function(d){var m=function(){function g(b){this.Zl=this.Ot=null;this.uw=!1;this.lB=this.mB=0;this.jB=new d.b;this.wB=new d.b;this.hx=!1;this.jr=new d.h;this.HI=this.ex=0;this.fx=null;this.al=!1;this.Er=null;this.JA=0;this.uf=b;this.vt=d.Ib.hw(this.uf,
- 0,!0);this.jB.$c();this.wB.$c();this.dJ=NaN;var a=b.getCode();0<a?(this.ll=a,d.Tf.getCode(b)):this.ll=d.Tf.getCode(b);0>this.ll&&(this.ll=0);var c=this.uf.getType();this.uI=c==d.Vc.PE_TYPE_PROJCS?2:1;if(c==d.Vc.PE_TYPE_PROJCS&&!b.loadConstants())throw d.f.F("PeProjcs.loadConstants failed");a=c==d.Vc.PE_TYPE_GEOGCS?this.uf:this.uf.getGeogcs();c!=d.Vc.PE_TYPE_GEOGCS&&d.Tf.getCode(a);this.Er=b.getUnit();this.dJ=a.getPrimem().getLongitude();this.HI=b=a.getUnit().getUnitFactor();b=Math.PI/(180*b);1E-10>
- Math.abs(b-1)&&(b=1);this.lB=b;0!=(c&d.Vc.PE_TYPE_PROJCS)?(a=this.uf,this.mB=1/a.getUnit().getUnitFactor(),this.ex=.001/this.uf.getUnit().getUnitFactor(),this.fx=d.Bg.generate(a,d.Bg.PE_PCSINFO_OPTION_NONE),this.al=this.fx.isPannableRectangle(),this.JA=d.Ib.pP(this.fx.getCentralMeridian(),this.lB)):(this.hx=this.al=!0,this.mB=0,c=1/a.getUnit().getUnitFactor(),this.ex=.001/a.getDatum().getSpheroid().getAxis()*c,this.JA=0);this.al&&(this.cy(),this.tL(),this.uL(),this.sL(),this.hZ(),this.iZ())}g.prototype.Zs=
- function(){return this.ll};g.prototype.Sj=function(){return this.fx};g.yz=function(b,a){return b==a?!0:null!=b&&null!=a&&0==b.ll&&0==a.ll?b.vt===a.vt:!1};g.prototype.Jc=function(){return this.al};g.prototype.Bh=function(b){b.I(this.gp)};g.prototype.aw=function(){return this.gp.o};g.prototype.$v=function(){return this.gp.v};g.prototype.yT=function(b){b.I(this.gx)};g.prototype.hZ=function(){var b=this.uf.getType();if(b==d.Vc.PE_TYPE_PROJCS){var b=this.uf,a=this.Sj().getCentralMeridian(),c=b.getGeogcs();
- if(null==c)throw d.f.X("internal error");c=1/c.getUnit().getUnitFactor()*Math.PI;a=[[a+c,0]];d.fi.geogToProj(b,1,a);var a=a[0][0],c=b.getParameters()[d.Vc.PE_PARM_X0].getValue(),e=this.Lk(),b=new d.h;e.s(b);var e=Math.abs(a-c),a=e+c,c=-1*e+c,e=b.B,b=b.A,f=new d.h;f.I(c,b,a,e);null==this.gp&&(this.gp=f)}else if(b==d.Vc.PE_TYPE_GEOGCS)c=1/this.uf.getUnit().getUnitFactor()*Math.PI,b=new d.h,b.I(-c,-c/2,c,c/2),null==this.gp&&(this.gp=b);else throw d.f.X("internal error");};g.prototype.iZ=function(){var b=
- this.uf.getType();if(b==d.Vc.PE_TYPE_PROJCS){var a=this.uf,b=this.Sj().getCentralMeridian(),a=a.getGeogcs();if(null==a)throw d.f.X("internal error");var a=1/a.getUnit().getUnitFactor()*Math.PI,c=this.Us(),e=new d.h;c.s(e);c=new d.h;c.I(b-a,e.A,b+a,e.B);null==this.gx&&(this.gx=c)}else if(b==d.Vc.PE_TYPE_GEOGCS)a=1/this.uf.getUnit().getUnitFactor()*Math.PI,b=new d.h,b.I(-a,-a/2,a,a/2),null==this.gx&&(this.gx=b);else throw d.f.X("internal error");};g.prototype.de=function(){return this.lB};g.prototype.cn=
- function(){return this.mB};g.prototype.Us=function(){if(this.al)return this.Zl;var b=this.Zl;if(null!=b)return b;this.cy();return this.Zl};g.prototype.Vs=function(){if(this.al)return null;if(null!=this.Zl)return this.gI;this.cy();return this.gI};g.prototype.cy=function(){if(this.uf.getType()==d.Vc.PE_TYPE_PROJCS){var b;b=this.uf;var a=b.getGeogcs(),c=b.horizonGcsGenerate();if(null!=c){var e=c[0].getNump(),f=c[0].getKind();b=0<c[0].getInclusive();var h=this.de(),l=90*h,k=360*h,r=370*h,g=180*h*d.Vc.PE_HORIZON_DELTA/
- Math.PI,p=new d.h,q=null;if(1<e)for(var u=1;u<e;u++)if(c[u].getKind()==d.Vc.PE_HORIZON_LINE){null==q&&(q=new d.Ua);var v=c[u].getCoord();q.Zx(v[0][0],v[0][1]);q.Wj(v[1][0],v[1][1])}if(f==d.Vc.PE_HORIZON_RECT)c=c[0].getCoord(),p.I(c[0][0],c[0][1]),p.Nb(c[1][0],c[1][1]),Math.abs(p.B-l)<1E-7*g&&(p.B=l),Math.abs(p.A+l)<1E-7*g&&(p.A=-l),p.N()>r&&(c=-400*h,p.I(c,p.A,c+5*k,p.B)),c=new d.ci(p),null==this.Zl&&(this.Zl=c,this.uw=b);else{r=new d.Ia;k=this.Sj().isGcsHorizonMultiOverlap();p=d.Nu.hG(a,d.ss.Integer64);
- if(k){r=new d.PM;g=d.ei.local().V(r,p,null);for(u=0;u<e;u++)if(c[u].getKind()==d.Vc.PE_HORIZON_POLY){a=c[u].getSize();h=c[u].getCoord();f=[];for(l=0;l<a;l++)f[l]=d.b.pa(h[l][0],h[l][1]);c[u].getInclusive();k&&(h=new d.Ia,h.Bl(f,a-1),r.RY(h),g.Re())}r=g.next()}else for(u=0;u<e;u++)if(c[u].getKind()==d.Vc.PE_HORIZON_POLY){a=c[u].getSize();h=c[u].getCoord();k=[];for(l=0;l<a;l++)k[l]=d.b.pa(h[l][0],h[l][1]);c[u].getInclusive();r.Bl(k,a-1)}b?d.sk.local().qo(r,p,1):d.cq.local().qo(r,p,1);d.Gj.local().qo(r,
- p,1);null==this.Zl&&(this.Zl=r,this.uw=b,this.gI=q)}}}};g.prototype.Tv=function(){if(this.al)return this.uw;null==this.Zl&&this.cy();return this.uw};g.prototype.tL=function(){if(2==this.uI){var b=this.uf.horizonPcsGenerate();if(null!=b){var a=b[0].getKind();b[0].getInclusive();var c=b[0].getNump(),e=!1;if(a==d.Vc.PE_HORIZON_RECT)b=b[0].getCoord(),c=new d.h,c.I(b[0][0],b[0][1]),c.Nb(b[1][0],b[1][1]),b=new d.ci(c);else{a=-1;for(e=0;e<c;e++)b[e].getKind()==d.Vc.PE_HORIZON_POLY&&(a=e);e=b[a].getSize()-
- 1;b=b[a].getCoord();c=[];for(a=0;a<e;a++)c[a]=d.b.pa(b[a][0],b[a][1]);b=a=new d.Ia;a.Bl(c,e);e=!0}this.Sj().isDensificationNeeded()&&(c=1E5*this.cn(),b=d.Km.local().V(b,c,null));e&&(e=new d.ci,b.Rn(e),b.hf(),b.Rb(),b.fT(),d.sk.local().qo(b,null,1));null==this.Ot&&(this.Ot=b)}}};g.prototype.Lk=function(){if(this.al)return this.Ot;var b=this.Ot;if(null!=b)return b;this.tL();return this.Ot};g.prototype.uL=function(){if(this.uf.getType()==d.Vc.PE_TYPE_PROJCS){var b=90*this.de(),b=[[0,b],[0,-b]];d.fi.geogToProj(this.uf,
- 2,b);var a=this.Sj(),c=a.getNorthPoleLocation()!=d.Bg.PE_POLE_OUTSIDE_BOUNDARY,a=a.getSouthPoleLocation()!=d.Bg.PE_POLE_OUTSIDE_BOUNDARY;this.hx||(c&&this.jB.ka(b[0][0],b[0][1]),a&&this.wB.ka(b[1][0],b[1][1]))}this.hx=!0};g.prototype.cA=function(b,a){this.al||this.hx||this.uL();b?a.L(this.wB):a.L(this.jB)};g.prototype.sL=function(){if(1==this.uI){var b=400*this.de();this.jr.I(-b,-b,b,b)}else b=d.Bg.generate(this.uf,d.Bg.PE_PCSINFO_OPTION_DOMAIN),b=d.h.pa(b.getDomainMinx(),b.getDomainMiny(),b.getDomainMaxx(),
- b.getDomainMaxy()),this.jr.u()&&this.jr.I(b)};g.prototype.YS=function(b){this.al&&b.I(this.jr);this.jr.u()&&this.sL();b.I(this.jr)};g.prototype.en=function(){return this.dJ};g.prototype.pi=function(){return this.JA};g.prototype.Od=function(){return this.Er};g.prototype.Ws=function(){return this.HI};return g}();d.SD=m})(n||(n={}));(function(d){var m=function(){function g(b){this.HV=b;this.vt=d.Ib.hw(b,0,!0);var a=b.getCode();this.mt=0<a?a:d.Tf.getCode(b);0>this.mt&&(this.mt=0);this.Er=a=this.HV.getUnit();
- this.WI=1/a.getUnitFactor();d.Tf.getCode(b)}g.yz=function(b,a){return b==a?!0:null!=b&&null!=a&&0==b.mt&&0==a.mt?b.vt===a.vt:!1};g.prototype.Zs=function(){return this.mt};return g}();d.EN=m})(n||(n={}));(function(d){var m=function(){function g(){}g.Cb=function(b,a,c,e,f,h,l,k){if(null!=h||null!=l||null!=k){e=d.C.da(e);a=d.C.da(a);c=d.C.da(c);f=d.C.da(f);1.570796326794897<d.l.K(c)&&(c=d.l.Ab(3.141592653589793,c)-c,a=d.C.da(a+3.141592653589793));1.570796326794897<d.l.K(f)&&(f=d.l.Ab(3.141592653589793,
- f)-f,e=d.C.da(e+3.141592653589793));var r=d.C.da(e-a);if(d.l.W(c,f)&&(d.l.W(a,e)||d.l.W(d.l.K(c),1.570796326794897)))null!=h&&(h.j=0),null!=l&&(l.j=0),null!=k&&(k.j=0);else{if(d.l.W(c,-f)){if(d.l.W(d.l.K(c),1.570796326794897)){null!=h&&(h.j=3.141592653589793*b);null!=l&&(l.j=0<c?d.C.da(3.141592653589793-d.C.da(e)):d.C.da(e));null!=k&&(k.j=0<c?d.C.da(e):d.C.da(3.141592653589793-d.C.da(e)));return}if(d.l.W(d.l.K(r),3.141592653589793)){null!=h&&(h.j=3.141592653589793*b);null!=l&&(l.j=0);null!=k&&(k.j=
- 0);return}}var g=1.570796326794897==d.l.K(c)?0:Math.cos(c),p=Math.sin(c),q=1.570796326794897==d.l.K(f)?0:Math.cos(f),u=Math.sin(f),v=1.570796326794897==d.l.K(r)?0:Math.cos(r),x=3.141592653589793==d.l.K(r)?0:Math.sin(r);if(null!=h){var m=Math.sin((f-c)/2),r=Math.sin(r/2);h.j=2*Math.asin(Math.sqrt(m*m+g*q*r*r))*b}null!=l&&(d.l.W(d.l.K(c),1.570796326794897)?l.j=0>c?e:d.C.da(3.141592653589793-e):l.j=Math.atan2(q*x,g*u-p*q*v));null!=k&&(d.l.W(d.l.K(f),1.570796326794897)?k.j=0>f?a:d.C.da(3.141592653589793-
- a):(k.j=Math.atan2(g*x,u*g*v-q*p),k.j=d.C.da(k.j+3.141592653589793)))}}};g.Uf=function(b,a,c,e,f,h,l){if(null!=h||null!=l){a=d.C.da(a);c=d.C.da(c);1.570796326794897<d.l.K(c)&&(c=d.l.Ab(3.141592653589793,c)-c,a=d.C.da(a+3.141592653589793));d.l.W(d.l.K(c),1.570796326794897)&&(a=0);f=d.C.da(f);var k=d.l.W(d.l.K(f),1.570796326794897)?0:Math.cos(f),r=d.l.W(d.l.K(f),3.141592653589793)?0:Math.sin(f),g=d.l.W(d.l.K(c),1.570796326794897)?0:Math.cos(c),p=Math.sin(c);b=e/b;e=d.l.W(d.l.K(b),1.570796326794897)?
- 0:Math.cos(b);var q=d.l.W(d.l.K(b),3.141592653589793)?0:Math.sin(b),u=Math.asin(p*e+g*q*k);null!=l&&(l.j=u);null!=h&&(h.j=d.l.W(d.l.K(u),1.570796326794897)?d.l.W(c,-u)?0>u?f:d.C.da(3.141592653589793-f):a:d.l.W(d.l.K(c),1.570796326794897)&&d.l.W(b,3.141592653589793)?0>c?f:d.C.da(3.141592653589793-f):d.C.da(a+Math.atan2(q*r,g*e-p*q*k)))}};return g}();d.vh=m})(n||(n={}));(function(d){var m=function(){function g(){}g.Cb=function(b,a,c,e,f,h,l,k,r){var g=new d.ea(0),p=new d.ea(0),q=[0,0,0],u=[0,0,0],v=
- [0,0,0],x=new d.ea(0),m=new d.ea(0),y=new d.ea(0),D=new d.ea(0),n=new d.ea(0);if(null!=l||null!=k||null!=r)if(d.l.Qi(a))d.vh.Cb(b,c,e,f,h,l,k,r);else{f=d.C.da(f);c=d.C.da(c);var B=d.C.da(f-c);if(d.l.W(e,h)&&(d.l.W(c,f)||d.l.W(d.l.K(e),1.570796326794897)))null!=l&&(l.j=0),null!=k&&(k.j=0),null!=r&&(r.j=0);else{if(d.l.W(e,-h)){if(d.l.W(d.l.K(e),1.570796326794897)){null!=l&&(l.j=2*d.C.Yg(b,a));null!=k&&(k.j=0<e?d.C.da(3.141592653589793-d.C.da(f)):d.C.da(f));null!=r&&(r.j=0<e?d.C.da(f):d.C.da(3.141592653589793-
- d.C.da(f)));return}d.l.W(d.l.K(B),3.141592653589793)&&(null!=l&&(l.j=2*d.C.Yg(b,a)),null!=k&&(k.j=0),null!=r&&(r.j=0))}else if(d.l.W(d.l.K(e),1.570796326794897)||d.l.W(d.l.K(h),1.570796326794897))d.l.W(d.l.K(e),1.570796326794897)?c=f:f=c;var A=0,C;0>B&&(A=1,C=c,c=f,f=C,C=e,e=h,h=C);var B=d.C.cu(a,e),E=d.C.cu(a,h);if(null!=k||null!=r)d.vh.Cb(b,c,B,f,E,null,g,p),g=Math.atan2(Math.sin(g.j)*Math.cos(e-B),Math.cos(g.j)),p=Math.atan2(Math.sin(p.j)*Math.cos(h-E),Math.cos(p.j)),0!=A&&(C=g,g=p,p=C),null!=
- k&&(k.j=g),null!=r&&(r.j=p);null!=l&&(d.C.Ck(1,a,e,c,0,y,D,n),q[0]=y.j,q[1]=D.j,q[2]=n.j,d.C.Ck(1,a,h,f,0,y,D,n),u[0]=y.j,u[1]=D.j,u[2]=n.j,v[0]=q[1]*u[2]-u[1]*q[2],v[1]=-(q[0]*u[2]-u[0]*q[2]),v[2]=q[0]*u[1]-u[0]*q[1],a=1-d.C.Cm(a,d.C.Mr(a,d.C.hk(a,Math.acos(v[2]/Math.sqrt(v[0]*v[0]+v[1]*v[1]+v[2]*v[2]))))),a*=2-a,k=Math.atan2(-v[1],-v[0]),v=d.C.da(k-1.570796326794897),k=d.C.da(k+1.570796326794897),v=d.l.K(d.C.da(c-v))<=d.l.K(d.C.da(c-k))?v:k,d.vh.Cb(1,v,0,c,B,x,null,null),d.vh.Cb(1,v,0,f,E,m,null,
- null),3.141592653589793<x.j+m.j&&(v=d.C.da(v+3.141592653589793),d.vh.Cb(1,v,0,c,B,x,null,null),d.vh.Cb(1,v,0,f,E,m,null,null)),x.j*=d.l.Ab(1,e),m.j*=d.l.Ab(1,h),x.j=d.C.hk(a,x.j),m.j=d.C.hk(a,m.j),c=d.C.q(b,a,x.j),b=d.C.q(b,a,m.j),l.j=d.l.K(b-c))}}};g.Uf=function(b,a,c,e,f,h,l,k){var r=0,g=new d.ea(0),p=new d.ea(0),q=[0,0,0],u=[0,0,0],v=new d.ea(0),x=new d.ea(0),m=new d.ea(0);if(null!=l||null!=k)if(d.l.Qi(a))d.vh.Uf(b,c,e,f,h,l,k);else if(d.l.wd(f))null!=l&&(l.j=c),null!=k&&(k.j=e);else{h=d.C.da(h);
- 0>f&&(f=d.l.K(f),h=d.C.da(h+3.141592653589793));c=d.C.da(c);e=d.C.da(e);1.570796326794897<d.l.K(e)&&(c=d.C.da(c+3.141592653589793),e=d.l.Ab(3.141592653589793,e)-e);d.l.W(d.l.K(e),1.570796326794897)&&(c=0);var y;if(d.l.wd(e))y=d.l.K(1.570796326794897-d.l.K(h)),y=d.C.hk(a,y),y=1-d.C.Cm(a,d.C.Mr(a,y)),y*=2-y,b=f/d.C.Yg(b,y)*1.570796326794897,b=d.C.xp(y,b),b=d.C.cu(y,b),d.vh.Uf(1,c,e,b,h,l,g),null!=k&&(r=g.j),null!=k&&(k.j=d.C.hk(a,r));else if(d.l.W(d.l.K(e),1.570796326794897))r=d.C.Yg(b,a),g=2*r,b=d.l.Ab(1.570796326794897,
- e),h=0<b?d.C.da(3.141592653589793-h):h,e=r-f,d.l.K(e)<=r?null!=l&&(l.j=h):(e=Math.floor(f/g),0==d.J.truncate(e%2)?(null!=l&&(l.j=h),e=r-(f-e*g)):(null!=l&&(l.j=d.C.da(h+3.141592653589793)),e=r-((e+1)*g-f))),null!=k&&(k.j=d.C.xp(a,e/r*b));else{y=d.C.cu(a,e);h=Math.atan2(Math.sin(h),Math.cos(h)*Math.cos(e-y));var D=d.J.truncate(d.l.Ab(1,y))*(1.570796326794897>=d.l.K(h)?1:-1);h=d.C.da(c+Math.atan(Math.tan(h)*-Math.sin(y)));d.vh.Cb(b,h,0,c,y,null,p,null);y=d.l.K(1.570796326794897-d.l.K(p.j));y=d.C.hk(a,
- y);y=1-d.C.Cm(a,d.C.Mr(a,y));y*=2-y;d.C.Ck(1,a,0,h,0,v,x,m);q[0]=v.j;q[1]=x.j;q[2]=m.j;d.C.Ck(1,a,e,c,0,v,x,m);u[0]=v.j;u[1]=x.j;u[2]=m.j;e=Math.acos((q[0]*u[0]+q[1]*u[1]+q[2]*u[2])/Math.sqrt(u[0]*u[0]+u[1]*u[1]+u[2]*u[2]));e=d.C.hk(y,e);e=d.C.q(b,y,e)+f*D;f=0<e?p.j:d.C.da(p.j+3.141592653589793);b=d.l.K(e)/d.C.Yg(b,y)*1.570796326794897;b=d.C.xp(y,b);b=d.C.cu(y,b);d.vh.Uf(1,h,0,b,f,l,g);null!=k&&(r=g.j);null!=k&&(k.j=d.C.hk(a,r))}}};return g}();d.yl=m})(n||(n={}));(function(d){var m=function(){function g(){}
- g.Cb=function(b,a,c,e,f,h,l,k,r){var g=0,p=0,q=0;if(null!=l||null!=k||null!=r)if(d.l.Qi(a))d.vh.Cb(b,c,e,f,h,l,k,r);else{var u=d.C.da(f-c);if(d.l.W(e,h)&&(d.l.wd(u)||d.l.W(d.l.K(e),1.570796326794897)))null!=l&&(l.j=0),null!=k&&(k.j=0),null!=r&&(r.j=0);else{if(d.l.W(e,-h)){if(d.l.W(d.l.K(e),1.570796326794897)){null!=l&&(l.j=2*d.C.Yg(b,a));null!=k&&(k.j=0<e?d.C.da(3.141592653589793-d.C.da(f)):d.C.da(f));null!=r&&(r.j=0<e?d.C.da(f):d.C.da(3.141592653589793-d.C.da(f)));return}d.l.W(d.l.K(u),3.141592653589793)&&
- (null!=l&&(l.j=2*d.C.Yg(b,a)),null!=k&&(k.j=0),null!=r&&(r.j=0))}else{if(d.l.W(d.l.K(e),1.570796326794897)||d.l.W(d.l.K(h),1.570796326794897)){d.yl.Cb(b,a,c,e,f,h,l,k,r);return}if(d.l.wd(u)||d.l.W(d.l.K(u),3.141592653589793)){d.yl.Cb(b,a,c,e,f,h,l,k,r);return}}var v=1-Math.sqrt(1-a),x=a/(1-a),m=b*(1-v);b=d.C.Mr(a,e);var y=d.C.Mr(a,h);a=1.570796326794897==d.l.K(b)?0:Math.cos(b);var D=Math.sin(b),n=1.570796326794897==d.l.K(y)?0:Math.cos(y),B=Math.sin(y),A=u,C=Math.cos(A),E=Math.sin(A),F=1,G=0,H,J,K,
- S,L;do{H=A;J=Math.sqrt(Math.pow(n*E,2)+Math.pow(a*B-D*n*C,2));K=D*B+a*n*C;S=Math.atan2(J,K);if(0==J){F=0;break}L=a*n*E/J;g=Math.cos(Math.asin(L));g*=g;p=K-2*D*B/g;1<d.l.K(p)&&(p=d.l.Ab(1,p));q=p*p;A=v/16*g*(4+v*(4-3*g));A=u+(1-A)*v*L*(S+A*J*(p+A*K*(2*q-1)));C=Math.cos(A);E=Math.sin(A);G++;if(3.141592653589793<d.l.K(A)&&30<G){F=0;break}}while(5E3>=G&&!d.l.W(H,A));if(0!=F)x*=g,v=x*(256+x*(-128+x*(74-47*x)))/1024,null!=l&&(l.j=m*(1+x*(4096+x*(-768+x*(320-175*x)))/16384)*(S-v*J*(p+v/4*(K*(2*q-1)-v/6*
- p*(4*J*J-3)*(4*q-3))))),null!=k&&(d.l.W(d.l.K(e),1.570796326794897)?k.j=0>e?f:d.C.da(3.141592653589793-f):k.j=Math.atan2(n*E,a*B-D*n*C)),null!=r&&(d.l.W(d.l.K(h),1.570796326794897)?r.j=0>h?c:d.C.da(3.141592653589793-c):(r.j=Math.atan2(a*E,a*B*C-D*n),r.j=d.C.da(r.j+3.141592653589793)));else{A=d.l.Ab(3.141592653589793,u);K=D*B-a*n;S=Math.acos(K);J=Math.sin(S);g=1;G=L=0;do q=L,g*=g,C=g*g,L=v*g*(1+v+v*v),p=v*v*C*(1+2.25*v),F=v*v*v*C*g,C=1-.25*L+.1875*p-.1953125*F,L=.25*L-.25*p+.29296875*F,E=.03125*p-
- .05859375*F,F*=.00651041666666667,p=K-2*D*B/g,1<d.l.K(p)&&(p=d.l.Ab(1,p)),g=Math.acos(p),K=Math.cos(2*g),H=Math.cos(3*g),L=d.l.W(e,-h)?d.C.da(3.141592653589793-u)/(3.141592653589793*v*C):d.C.da(A-u)/(v*(C*S+L*J*p+E*Math.sin(2*S)*K+F*Math.sin(3*S)*H)),E=L*J/(a*n),A=1.570796326794897<d.l.K(u)?d.l.Ab(3.141592653589793,E)-Math.asin(E):Math.asin(E),C=Math.cos(A),J=Math.sqrt(Math.pow(n*E,2)+Math.pow(a*B-D*n*C,2)),S=3.141592653589793-Math.asin(d.l.K(J)),K=Math.cos(S),g=Math.cos(Math.asin(L)),G++;while(70>=
- G&&!d.l.W(q,L));null!=l&&(g*=g,x*=g,C=1+x*(4096+x*(-768+x*(320-175*x)))/16384,d.l.W(e,-h)?l.j=3.141592653589793*m*C:(p=K-2*D*B/g,g=Math.acos(p),K=Math.cos(2*g),H=Math.cos(3*g),l.j=m*(C*S+x*(-512+x*(128+x*(-60+35*x)))/2048*J*p+x*(-4+5*x)/6144*x*x*Math.sin(2*S)*K+F*Math.sin(3*S)*H+-7.62939453125E-5*x*x*x*x*Math.sin(4*S)*Math.cos(4*g))));null!=k&&(d.l.wd(e)&&d.l.wd(h)?(g=Math.sqrt(1-L*L),k.j=Math.acos(g),0>u&&(k.j*=-1)):d.l.W(d.l.K(e),1.570796326794897)?k.j=0>e?f:d.C.da(3.141592653589793-f):(l=L/a,m=
- Math.sqrt(1-l*l),0>a*B-D*n*Math.cos(A)&&(m*=-1),k.j=Math.atan2(l,m),d.l.W(e,-h)&&d.l.K(d.C.da(c-f))>3.141592653589793*(1-v*Math.cos(e))&&(0<e&&1.570796326794897>d.l.K(k.j)||0>e&&1.570796326794897<d.l.K(k.j))&&(k.j=d.l.Ab(3.141592653589793,k.j)-k.j)));if(null!=r)if(d.l.wd(e)&&d.l.wd(h))g=Math.sqrt(1-L*L),r.j=Math.acos(g),0<=u&&(r.j*=-1);else if(d.l.W(d.l.K(h),1.570796326794897))r.j=0>h?c:d.C.da(3.141592653589793-c);else if(u=L/n,l=Math.sqrt(1-u*u),m=Math.sin(A/2),0>Math.sin(y-b)-2*a*B*m*m&&(l*=-1),
- r.j=Math.atan2(u,l),r.j=d.C.da(r.j+3.141592653589793),d.l.W(e,-h)&&!d.l.wd(e)&&!d.l.W(d.l.K(e),1.570796326794897)&&d.l.K(d.C.da(c-f))>3.141592653589793*(1-v*Math.cos(e))&&(null!=k?m=k.j:(l=L/a,m=Math.sqrt(1-l*l),0>a*B-D*n*Math.cos(A)&&(m*=-1),m=Math.atan2(l,m),d.l.W(e,-h)&&d.l.K(d.C.da(c-f))>3.141592653589793*(1-v*Math.cos(e))&&(0<e&&1.570796326794897>d.l.K(m)||0>e&&1.570796326794897<d.l.K(m))&&(m=d.l.Ab(3.141592653589793,m)-m)),1.570796326794897>=d.l.K(m)&&1.570796326794897<d.l.K(r.j)||1.570796326794897<=
- d.l.K(m)&&1.570796326794897>d.l.K(r.j)))r.j=-1*d.C.da(r.j+3.141592653589793)}}}};g.Uf=function(b,a,c,e,f,h,l,k){if(null!=l||null!=k)if(d.l.Qi(a))d.vh.Uf(b,c,e,f,h,l,k);else if(h=d.C.da(h),d.l.W(d.l.K(e),1.570796326794897)||d.l.wd(h)||d.l.W(d.l.K(h),3.141592653589793))d.yl.Uf(b,a,c,e,f,h,l,k);else{var r=1.570796326794897==d.l.K(h)?0:Math.cos(h),g=3.141592653589793==d.l.K(h)?0:Math.sin(h);d.l.W(d.l.K(e),1.570796326794897)&&(c=0);h=1-Math.sqrt(1-a);var p=d.C.Mr(a,e);e=1.570796326794897==d.l.K(p)?0:Math.cos(p);
- var q=Math.sin(p),p=Math.atan2(Math.tan(p),r),u=e*g,v=u*u,x=1-v,m=a/(1-a)*x;a=m*(256+m*(-128+m*(74-47*m)))/1024;var y=a/4,n=a/6,z=f/(b*(1-h)*(1+m*(4096+m*(-768+m*(320-175*m)))/16384)),B=z,A;do{A=B;f=1.570796326794897==d.l.K(B)?0:Math.cos(B);var m=3.141592653589793==d.l.K(B)?0:Math.sin(B),C=m*m;b=Math.cos(2*p+B);B=b*b;B=a*m*(b+y*(f*(2*B-1)-n*b*(4*C-3)*(4*B-3)))+z}while(!d.l.W(A,B));f=1.570796326794897==d.l.K(B)?0:Math.cos(B);m=3.141592653589793==d.l.K(B)?0:Math.sin(B);null!=l&&(g=Math.atan2(m*g,e*
- f-q*m*r),x=h/16*x*(4+h*(4-3*x)),b=Math.cos(2*p+B),l.j=d.C.da(c+(g-(1-x)*h*u*(B+x*m*(b+x*f*(2*b*b-1))))));null!=k&&(x=q*m-e*f*r,x=(1-h)*Math.sqrt(v+x*x),k.j=Math.atan2(q*f+e*m*r,x))}};return g}();d.Mu=m})(n||(n={}));(function(d){var m=function(){function g(){}g.Cb=function(b,a,c,e,f,h,l,k,r){var g=d.C.da(f-c),p=d.l.W(d.l.K(e),1.570796326794897),q=d.l.W(d.l.K(h),1.570796326794897);if(d.l.W(e,h)&&(d.l.wd(g)||p))null!=l&&(l.j=0),null!=k&&(k.j=0),null!=r&&(r.j=0);else{var u,v;d.l.Qi(a)?(u=Math.sin(e),
- v=Math.sin(h),u=Math.sqrt((1+u)/(1-u)),v=Math.sqrt((1+v)/(1-v)),u=Math.log(v)-Math.log(u),u=Math.atan2(g,u),null!=l&&(l.j=d.l.W(e,h)?d.l.K(b*Math.cos(e)*g):d.l.K((b*h-b*e)/Math.cos(u)))):(v=d.C.Bx(a,h),u=Math.sin(d.C.Bx(a,e)),v=Math.sin(v),u=Math.sqrt((1+u)/(1-u)),v=Math.sqrt((1+v)/(1-v)),u=Math.log(v)-Math.log(u),u=Math.atan2(g,u),null!=l&&(d.l.W(e,h)?l.j=d.l.K(b*g*Math.cos(e)/d.C.Cm(a,e)):(g=d.C.q(b,a,e),b=d.C.q(b,a,h),l.j=d.l.K((b-g)/Math.cos(u)))));if(null!=k||null!=r)l=d.C.da(u+3.141592653589793),
- p&&q||!p&&!q||(p?u=0>e?f:d.C.da(3.141592653589793-f):q&&(l=0>h?c:d.C.da(3.141592653589793-c))),null!=k&&(k.j=u),null!=r&&(r.j=l)}};g.Uf=function(b,a,c,e,f,h,l,k){h=d.C.da(h);0>f&&(f=d.l.K(f),h=d.C.da(h+3.141592653589793));d.l.Qi(a)?d.l.W(d.l.K(e),1.570796326794897)?(c=0>e?h:d.C.da(3.141592653589793-h),h=f/b%6.283185307179586,3.141592653589793>=h?b=e-d.l.Ab(h,e):(c=d.C.da(c+3.141592653589793),b=-e+d.l.Ab(h-3.141592653589793,e))):d.l.W(d.l.K(h),1.570796326794897)?(c=d.C.da(c+d.l.Ab(f,h)/(b*Math.cos(e))),
- b=e):(b=e+f*Math.cos(h)/b,1.570796326794897<d.l.K(b)&&(b=1.570796326794897),d.l.W(d.l.K(b),1.570796326794897)&&(d.l.wd(h)||d.l.W(d.l.K(h),3.141592653589793))||(1.570796316258184<d.l.K(b)&&(b=d.l.Ab(1.570796316258184,b)),a=Math.sin(e),e=Math.sin(b),a=Math.sqrt((1+a)/(1-a)),e=Math.sqrt((1+e)/(1-e)),a=Math.log(e)-Math.log(a),c=d.C.da(c+Math.tan(h)*a))):d.l.W(d.l.K(e),1.570796326794897)?(c=0>e?h:d.C.da(3.141592653589793-h),h=f/d.C.oX(b,a),h%=6.283185307179586,3.141592653589793>=h?(b=e-d.l.Ab(h,e),b=d.C.xp(a,
- b)):(c=d.C.da(c+3.141592653589793),b=-e+d.l.Ab(h-3.141592653589793,e),b=d.C.xp(a,b))):d.l.W(d.l.K(h),1.570796326794897)?(c=d.C.da(c+d.l.Ab(f,h)*d.C.Cm(a,e)/(b*Math.cos(e))),b=e):(b=1.570796326794897*(f*Math.cos(h)+d.C.q(b,a,e))/d.C.Yg(b,a),1.570796326794897<d.l.K(b)&&(b=d.l.Ab(1.570796326794897,b)),b=d.C.xp(a,b),d.l.W(d.l.K(b),1.570796326794897)&&(d.l.wd(h)||d.l.W(d.l.K(h),3.141592653589793))||(f=d.C.Bx(a,e),e=d.C.Bx(a,b),1.570796316258184<d.l.K(e)&&(e=d.l.Ab(1.570796316258184,b),b=d.C.AQ(a,e)),a=
- Math.sin(f),e=Math.sin(e),a=Math.sqrt((1+a)/(1-a)),e=Math.sqrt((1+e)/(1-e)),a=Math.log(e)-Math.log(a),c=d.C.da(c+Math.tan(h)*a)));null!=l&&(l.j=c);null!=k&&(k.j=b)};return g}();d.TD=m})(n||(n={}));(function(d){var m=function(){function g(){}g.Ez=function(b,a,c,e,f,h,l){d.Mu.Cb(b,a,c,e,f,h,null,l,null)};g.Xi=function(b,a,c,e,f,h,l,k){d.Mu.Uf(b,a,c,e,f,h,l,k)};g.Md=function(b,a,c,e,f,h,l,k,r,g){switch(g){case 2:d.yl.Cb(b,a,c,e,f,h,l,k,r);break;case 3:d.UD.Cb(b,a,c,e,f,h,l,k,r);break;case 1:d.TD.Cb(b,
- a,c,e,f,h,l,k,r);break;default:d.Mu.Cb(b,a,c,e,f,h,l,k,r)}};g.Oj=function(b,a,c,e,f,h,l,k,r){switch(r){case 2:d.yl.Uf(b,a,c,e,f,h,l,k);break;case 3:d.UD.Uf(b,a,c,e,f,h,l,k);break;case 1:d.TD.Uf(b,a,c,e,f,h,l,k);break;default:d.Mu.Uf(b,a,c,e,f,h,l,k)}};return g}();d.mb=m})(n||(n={}));(function(d){var m=function(){function a(){this.y=this.x=null}a.pa=function(c){var b=new a;b.x=new d.Xb;b.x.set(c.x);b.y=new d.Xb;b.y.set(c.y);return b};a.$F=function(c,b){var e=new a;e.x=new d.Xb;e.x.set(c);e.y=new d.Xb;
- e.y.set(b);return e};a.prototype.Lg=function(){return this.x.Lg()&&this.y.Lg()};a.prototype.value=function(){return d.b.pa(this.x.value(),this.y.value())};return a}();d.HZ=m;var g=function(){function a(){this.z=this.y=this.x=null}a.pa=function(c){var b=new a;b.x=new d.Xb;b.x.set(c.x);b.y=new d.Xb;b.y.set(c.y);b.z=new d.Xb;b.z.set(c.z);return b};a.$F=function(c,b,f){var e=new a;e.x=new d.Xb;e.x.set(c);e.y=new d.Xb;e.y.set(b);e.z=new d.Xb;e.z.set(f);return e};a.prototype.Lg=function(){return this.x.Lg()&&
- this.y.Lg()&&this.z.Lg()};a.prototype.value=function(){return new d.qd(this.x.value(),this.y.value(),this.z.value())};a.prototype.oi=function(a){var c=new d.Xb,b=new d.Xb,h=new d.Xb;c.pm(this.x,a.x);b.pm(this.y,a.y);h.pm(this.z,a.z);a=new d.Xb;a.aP(c,b);a.add(h);return a};a.prototype.iG=function(c){var b=new a;b.x.pm(this.y,c.z);b.y.pm(this.z,c.x);b.z.pm(this.x,c.y);var f=new d.Xb,h=new d.Xb,l=new d.Xb;f.pm(this.z,c.y);h.pm(this.x,c.z);l.pm(this.y,c.x);b.x.sub(f);b.y.sub(h);b.z.sub(l);return b};return a}();
- d.IZ=g;var b=function(){function a(){}a.oO=function(c,b,f){var e=b.x;b=b.y;a.Ck(1,c,Math.cos(e),Math.sin(e),Math.cos(b),Math.sin(b),f)};a.lO=function(c,b){var e=new d.qd;a.oO(c,b,e);return e};a.GZ=function(c,b,f,h,l,k){var e=new d.qd;a.Ck(c,b,f,h,l,k,e);return e};a.Ck=function(a,b,f,h,d,k,r){a/=Math.sqrt(1-b*k*k);r.I(a*d*f,a*d*h,a*(1-b)*k)};a.Ru=function(a,b){var c=new d.Xb,e=new d.Xb,l=new d.Xb,k=new d.Xb;c.cos(b.x);e.sin(b.x);l.cos(b.y);k.sin(b.y);b=new d.Xb;b.set(k);b.Vg(k);b.yp(a);b.yp(-1);b.hP();
- b.sqrt();var r=new d.Xb;r.set(1);r.Xm(b);b=new d.Xb;b.set(r);b.Vg(l);b.Vg(c);c=new d.Xb;c.set(r);c.Vg(l);c.Vg(e);e=new d.Xb;e.set(r);e.yp(1-a);e.Vg(k);return g.$F(b,c,e)};a.KN=function(a,b,f){var c=b.x,e=b.y;f.ka(Math.atan2(e,c),Math.atan2(b.z,(1-a)*Math.sqrt(c*c+e*e)))};a.Y_=function(c,b,f){c=new d.b;a.KN(b,f,c);return c};a.LU=function(c,b,f,h){if(Math.abs(b.x-f.x)>Math.PI||Math.abs(b.y)>.5*Math.PI||Math.abs(f.y)>.5*Math.PI||(Math.abs(b.y)==.5*Math.PI||Math.abs(f.y)==.5*Math.PI)&&b.x!=f.x)return NaN;
- h=a.QC(h,Math.min(b.x,f.x),Math.max(b.x,f.x));if(!(new d.Ac(b.x,f.x)).contains(h))return NaN;var e=m.pa(b);f=m.pa(f);e=a.Ru(c,e);f=a.Ru(c,f);f=e.iG(f);if(f.z.Lg())return b=b.y;var k=new d.Xb;k.set(f.x);k.Xm(f.z);k.yp(-1);var r=new d.Xb;r.set(f.y);r.Xm(f.z);r.yp(-1);var g=new d.Xb;g.set(r);g.Vg(r);e=new d.Xb;e.set(k);e.Vg(k);e.add(g);e.sqrt();if(e.Lg()||k.Lg()&&r.Lg())return b=b.y;b=Math.atan2(r.value(),k.value());b=Math.atan2(e.value()*Math.cos(b-h),1-c);h=a.lO(c,d.b.pa(h,b));c=new d.qd(h.x,h.y,-h.z);
- h=f.value().oi(h);c=f.value().oi(c);Math.abs(c)<Math.abs(h)&&(b=-b);return b};a.tA=function(c,b,f,h,l,k){k[0]=NaN;k[1]=NaN;if(Math.abs(f.x-h.x)>Math.PI||Math.abs(f.y)>.5*Math.PI||Math.abs(h.y)>.5*Math.PI||(Math.abs(f.y)==.5*Math.PI||Math.abs(h.y)==.5*Math.PI)&&f.x!=h.x||Math.abs(l)>=.5*Math.PI||0<f.y&&0<h.y&&f.y>l&&h.y>l||0>f.y&&0>h.y&&f.y<l&&h.y<l)return 0;var e=m.pa(f);c=m.pa(h);e=a.Ru(b,e);c=a.Ru(b,c);var g=e.iG(c);if(g.z.Lg())return(new d.Ac(f.y,h.y)).contains(l)?(k[0]=f.x,1):0;c=new d.Xb;c.set(g.x);
- c.Xm(g.z);c.yp(-1);e=new d.Xb;e.set(g.y);e.Xm(g.z);e.yp(-1);g=new d.Xb;g.set(e);g.Vg(e);var p=new d.Xb;p.set(c);p.Vg(c);p.add(g);p.sqrt();if(p.Lg()||c.Lg()&&e.Lg())return 0==l?(k[0]=f.x,k[1]=h.x,2):0;b=(1-b)*Math.tan(l)/p.value();if(1<Math.abs(b))return 0;b=Math.acos(b);g=Math.atan2(e.value(),c.value());c=Math.min(f.x,h.x);e=Math.max(f.x,h.x);h=a.QC(g-b,c,e);b=0!=l?a.QC(g+b,c,e):h;l=0;c<=h&&h<=e&&(k[l]=h,l++);b!=h&&c<=b&&b<=e&&(k[l]=b,l++,2==l&&Math.abs(k[0]-f.x)>Math.abs(k[1]-f.x)&&(f=k[0],k[0]=
- k[1],k[1]=f));return l};a.QC=function(a,b,f){a>f?(b=Math.ceil((a-f)/(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};a.JB=function(a,b){b[0]>.5*Math.PI?(a[0]+=Math.PI,b[0]=Math.PI-b[0]):b[0]<-.5*Math.PI&&(a[0]-=Math.PI,b[0]=-Math.PI-b[0])};return a}();d.xy=b})(n||(n={}));(function(d){var m=function(){function g(){}g.SY=function(b,a){var c=8;0>c&&(c=8);var e=[0,0,0,0],f=new d.b;f.L(a);f.scale(9102==d.fb.kc(b).Od().yc()?1:d.fb.kc(b).Od().Ai/3.141592653589793*
- 180);-180>f.x?(f.x-=f.x%360,-180>f.x&&(f.x+=360)):180<f.x&&(f.x-=f.x%360,180<f.x&&(f.x-=360));90<f.y&&(f.y=90);-90>f.y&&(f.y=-90);b=5*c;a=(b+31)/32;for(var h=-180,l=180,k=b-1,r=a-1;0<=r;r--)for(var t=k-32*r,p=Math.min(32,b-32*r),q=1;q<p;q+=2){var u=.5*(l+h);f.x>=u?(e[r]|=1<<t,h=u):l=u;t-=2;k-=2}h=-90;l=90;k=b-2;for(r=a-1;0<=r;r--)for(t=k-32*r,p=Math.min(32,b-32*r),q=0;q<p;q+=2)u=.5*(l+h),f.y>=u?(e[r]|=1<<t,h=u):l=u,t-=2,k-=2;return g.uO(e,c,c)};g.uO=function(b,a,c){for(var e=[],f=0;f<a;f++)e[f]="";
- for(var h=f=0,d=0;d<a;d++){var k=b[f]>>h&31,h=h+5;if(31<h){var r=37-h,k=k&(1<<r)-1,h=h-32;f++;k|=(b[f]&(1<<h)-1)<<r}e[a-1-d]="0123456789bcdefghjkmnpqrstuvwxyz".split("")[k]}if(c>a)for(d=0;d<c-a;d++)e.push("0");else c<a&&(e.length=c);return e.join("")};return g}();d.rM=m})(n||(n={}));(function(d){var m={gcstol:[0,1E-8,1,1.11111E-8,2,1.68845E-8,3,2.17661E-8,4,2.22508E-8,5,2.34848E-8,6,2.37811E-8,7,2.88455E-8,8,3.1456E-8,9,3.29779E-8,10,3.66789E-8,11,4.23597E-8,12,4.79463E-8,13,6.45223E-8,14,7.26274E-8,
- 15,7.49945E-8,16,7.52506E-8,17,7.97991E-8,18,9.66202E-8,19,9.79918E-8,20,9.89735E-8,21,1.02314E-7,22,1.08146E-7,23,2.29734E-7,24,2.42985E-7,25,2.7546E-7,26,3.37034E-7,27,4.30795E-7,28,5.20871E-7,29,5.50921E-7,30,6.74068E-7,31,6.86177E-7,32,7.25263E-7,33,7.44101E-7,34,7.74267E-7,35,9.62954E-7,36,1.06103E-6,37,1.14363E-6,38,1.16219E-6,39,1.36419E-6,40,1.36744E-6,41,1.43239E-6,42,1.73624E-6,43,1.84825E-6,44,1.90986E-6,45,1.97572E-6,46,2.12207E-6,47,2.72837E-6,48,3.1831E-6,49,3.58099E-6,50,3.81972E-6,
- 51,4.09256E-6,52,4.40737E-6,53,4.77465E-6,54,5.16178E-6,55,5.20871E-6,56,5.72958E-6,57,6.03113E-6,58,6.98729E-6,59,9.24125E-6,60,1.14592E-5],pcstol:[0,6.66667E-9,1,2E-8,2,4.97098E-5,3,.001,4,.00109362,5,.00328087,6,.00497101],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,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,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],pcsid:[2066,6,2136,5,2155,5,2157,3,2158,3,2159,5,2160,5,2219,3,2220,3,2244,5,2245,5,2256,5,2265,5,2266,5,2269,5,2270,5,2273,5,2290,3,2291,3,2294,3,
- 2295,3,2313,3,2314,5,2964,5,2967,5,2968,5,2991,3,2992,5,2993,3,2994,5,3073,3,3076,3,3079,3,3091,5,3106,3,3108,3,3109,3,3141,3,3142,3,3167,2,3337,3,3347,3,3348,3,3359,5,3360,3,3361,5,3362,3,3363,5,3364,3,3365,5,3366,5,3402,3,3403,3,3405,3,3406,3,3439,3,3440,3,3447,3,3449,3,3450,3,3453,5,3454,5,3460,3,3479,5,3480,3,3481,5,3482,3,3483,5,3484,3,3485,5,3486,3,3487,5,3488,3,3489,3,3490,5,3491,3,3492,5,3493,3,3494,5,3495,3,3496,5,3497,3,3498,5,3499,3,3500,5,3501,3,3502,5,3503,3,3504,5,3505,3,3506,5,3507,
- 3,3508,5,3509,3,3510,5,3511,3,3512,5,3513,3,3514,3,3515,5,3516,3,3517,5,3518,3,3519,5,3520,3,3521,5,3522,3,3523,5,3524,3,3525,5,3526,3,3527,5,3528,3,3529,5,3530,3,3531,5,3532,3,3533,5,3534,3,3535,5,3536,3,3537,5,3538,3,3539,5,3540,3,3541,5,3542,3,3543,5,3544,3,3545,5,3546,3,3547,5,3548,3,3549,5,3550,3,3551,5,3552,3,3553,5,3582,5,3583,3,3584,5,3585,3,3586,5,3587,3,3588,5,3589,3,3590,5,3591,3,3592,3,3593,5,3598,5,3599,3,3600,5,3605,5,3606,3,3607,3,3608,5,3609,3,3610,5,3611,3,3612,5,3613,3,3614,5,3615,
- 3,3616,5,3617,3,3618,5,3619,3,3620,5,3621,3,3622,5,3623,3,3624,5,3625,3,3626,5,3627,3,3628,5,3629,3,3630,5,3631,3,3632,5,3633,3,3634,5,3635,3,3636,5,3640,5,3641,3,3642,5,3643,3,3644,5,3645,3,3646,5,3647,3,3648,5,3649,3,3650,5,3651,3,3652,5,3653,3,3654,5,3655,3,3656,5,3657,3,3658,5,3659,3,3660,5,3661,3,3662,5,3663,3,3664,5,3668,5,3669,3,3670,5,3671,3,3672,5,3673,3,3674,5,3675,3,3676,5,3677,5,3678,3,3679,5,3680,5,3681,3,3682,5,3683,5,3684,3,3685,3,3686,5,3687,3,3688,5,3689,3,3690,5,3691,3,3692,5,3696,
- 5,3697,3,3698,5,3699,3,3700,5,3740,3,3749,3,3783,3,3784,3,3793,3,3794,3,3802,3,3816,3,3829,3,3854,3,3920,3,3978,3,3979,3,3991,5,3992,5,4026,3,4037,3,4038,3,4217,5,4438,5,4439,5,4467,3,4471,3,4474,3,4559,3,4839,3,5018,3,5048,3,5167,3,5168,3,5223,3,5234,3,5235,3,5243,3,5266,3,5316,3,5320,3,5321,3,5330,3,5331,3,5337,3,5361,3,5362,3,5382,3,5383,3,5396,3,5456,3,5457,3,5469,3,5472,4,5490,3,5518,3,5523,3,5559,3,5588,5,5589,5,5596,3,5627,3,5629,3,5641,3,5643,3,5644,3,5654,5,5655,5,5659,3,5700,3,5825,3,5836,
- 3,5837,3,5842,3,5844,3,5880,3,5887,3,5890,3,20499,3,20538,3,20539,3,20790,3,20791,3,21291,3,21292,3,21500,3,21817,3,21818,3,22032,3,22033,3,22091,3,22092,3,22332,3,22391,3,22392,3,22700,3,22770,3,22780,3,22832,3,23090,3,23095,3,23239,3,23240,3,23433,3,23700,3,24047,3,24048,3,24100,5,24200,3,24305,3,24306,3,24382,4,24383,3,24500,3,24547,3,24548,3,24571,2,24600,3,25E3,3,25231,3,25884,3,25932,3,26237,3,26331,3,26332,3,26591,3,26592,3,26632,3,26692,3,26855,5,26856,5,27120,3,27200,3,27291,4,27292,4,27429,
- 3,27492,3,27500,3,27700,3,28232,3,28600,3,28991,3,28992,3,29100,3,29220,3,29221,3,29333,3,29635,3,29636,3,29701,3,29738,3,29739,3,29849,3,29850,3,29871,2,29872,5,29873,3,29900,3,29901,3,29903,3,30200,6,30339,3,30340,3,30591,3,30592,3,30791,3,30792,3,31028,3,31121,3,31154,3,31170,3,31171,3,31370,3,31528,3,31529,3,31600,3,31700,3,31838,3,31839,3,31901,3,32061,3,32062,3,32098,3,32099,5,32100,3,32104,3,32161,3,32766,3,53034,3,53048,3,53049,3,54034,3,65061,5,65062,5,65161,3,65163,3,102041,5,102064,4,102068,
- 1,102069,0,102217,5,102218,3,102219,5,102220,5,102378,5,102379,5,102380,3,102381,5,102589,5,102599,5,102600,5,102604,5,102605,3,102606,3,102647,3,102704,5,102705,5,102733,5,102761,5,102762,3,102763,5,102764,3,102765,3,102766,5,102970,5,102974,5,102993,3,102994,3,102995,5,102996,5,103015,3,103016,5,103017,3,103018,5,103025,3,103026,3,103027,5,103028,5,103035,3,103036,3,103037,5,103038,5,103039,3,103040,3,103041,5,103042,5,103043,3,103044,3,103045,5,103046,5,103047,3,103048,3,103049,5,103050,5,103051,
- 3,103052,5,103053,3,103054,5,103055,3,103056,5,103057,3,103058,3,103059,5,103060,5,103061,3,103062,3,103063,5,103064,5,103069,5,103070,3,103071,3,103072,5,103073,5,103086,3,103087,3,103088,5,103089,5,103094,5,103095,3,103096,5,103103,3,103104,5,103105,3,103106,5,103121,3,103122,5,103123,3,103124,3,103125,5,103126,5,103127,3,103128,3,103129,5,103130,5,103131,3,103132,3,103133,5,103134,5,103135,3,103136,3,103137,5,103138,5,103139,3,103140,5,103141,3,103142,5,103143,3,103144,5,103145,3,103146,5,103147,
- 3,103148,3,103149,5,103150,5,103151,3,103152,5,103172,3,103173,5,103174,3,103175,3,103176,5,103177,5,103178,3,103179,3,103180,5,103181,5,103182,3,103183,3,103184,5,103185,5,103228,3,103229,3,103230,5,103231,5,103250,3,103251,5,103252,3,103253,5,103260,3,103261,3,103262,5,103263,5,103270,3,103271,3,103272,5,103273,5,103274,3,103275,3,103276,5,103277,5,103278,3,103279,3,103280,5,103281,5,103282,3,103283,3,103284,5,103285,5,103286,3,103287,5,103288,3,103289,5,103290,3,103291,5,103292,3,103293,3,103294,
- 5,103295,5,103296,3,103297,3,103298,5,103299,5,103376,5,103377,3,103378,3,103379,5,103380,5,103393,3,103394,3,103395,5,103396,5,103472,3,103473,5,103474,3,103475,5,103482,3,103483,5,103484,3,103485,5,103500,3,103501,5,103502,3,103503,3,103504,5,103505,5,103506,3,103507,3,103508,5,103509,5,103510,3,103511,3,103512,5,103513,5,103514,3,103515,5,103516,3,103517,5,103518,3,103519,5,103520,3,103521,5,103522,3,103523,3,103524,5,103525,5,103526,3,103527,5,103561,5,103562,5,103563,3,103564,3,103565,5,103566,
- 5,103567,3,103568,3,103569,5,103570,5,103585,5,103695,5],pcsidc:[[2E3,2045,3],[2056,2065,3],[2067,2135,3],[2137,2153,3],[2161,2170,3],[2172,2193,3],[2196,2198,3],[2200,2203,3],[2206,2217,3],[2222,2224,5],[2251,2253,5],[2280,2282,5],[2308,2311,3],[2315,2325,3],[2327,2394,3],[2400,2462,3],[2523,2576,3],[2578,2693,3],[2695,2758,3],[2867,2888,5],[2891,2930,5],[2931,2941,3],[2969,2973,3],[2975,2982,3],[2984,2988,3],[2995,3002,3],[3006,3051,3],[3054,3059,3],[3061,3066,3],[3068,3071,3],[3084,3087,3],[3112,
- 3118,3],[3120,3138,3],[3146,3151,3],[3153,3157,3],[3161,3166,3],[3168,3172,3],[3174,3203,3],[3294,3313,3],[3315,3335,3],[3339,3345,3],[3350,3358,3],[3367,3369,3],[3374,3399,3],[3408,3416,3],[3425,3432,5],[3441,3446,5],[3456,3459,5],[3465,3478,3],[3554,3559,3],[3561,3565,5],[3568,3570,5],[3571,3581,3],[3594,3597,3],[3601,3604,3],[3637,3639,3],[3665,3667,3],[3693,3695,3],[3701,3727,3],[3728,3733,5],[3744,3747,3],[3753,3758,5],[3761,3763,3],[3765,3769,3],[3779,3781,3],[3788,3791,3],[3797,3799,3],[3832,
- 3841,3],[3844,3852,3],[3873,3885,3],[3890,3893,3],[3907,3912,3],[3942,3950,3],[3968,3970,3],[3973,3976,3],[3986,3989,3],[3994,3997,3],[4399,4413,5],[4418,4433,5],[4491,4554,3],[5069,5072,3],[5105,5130,3],[5180,5184,3],[5253,5259,3],[5269,5275,3],[5292,5311,3],[5343,5349,3],[5355,5357,3],[5387,5389,3],[5459,5463,3],[5479,5482,3],[5530,5539,3],[5550,5552,3],[5562,5583,3],[5623,5625,5],[5631,5639,3],[5649,5653,3],[5663,5680,3],[5682,5685,3],[5875,5877,3],[20002,20032,3],[20062,20092,3],[20135,20138,
- 3],[20248,20258,3],[20348,20358,3],[20436,20440,3],[20822,20824,3],[20934,20936,3],[21035,21037,3],[21095,21097,3],[21148,21150,3],[21413,21423,3],[21473,21483,3],[21780,21782,3],[21891,21894,3],[22171,22177,3],[22181,22187,3],[22191,22197,3],[22234,22236,3],[22521,22525,3],[22991,22994,3],[23028,23038,3],[23830,23853,3],[23866,23872,3],[23877,23884,3],[23886,23894,3],[23946,23948,3],[24311,24313,3],[24342,24347,3],[24370,24374,4],[24375,24381,3],[24718,24721,3],[24817,24821,3],[24877,24882,3],[24891,
- 24893,3],[25391,25395,3],[25828,25838,3],[26191,26195,3],[26391,26393,3],[26703,26722,3],[26729,26760,5],[26766,26798,5],[26860,26870,5],[26891,26899,3],[26903,26923,3],[26929,26946,3],[26948,26998,3],[27037,27040,3],[27205,27232,3],[27258,27260,3],[27391,27398,3],[27561,27564,3],[27571,27574,3],[27581,27584,3],[27591,27594,3],[28191,28193,3],[28348,28358,3],[28402,28432,3],[28462,28492,3],[29118,29122,3],[29177,29185,3],[30161,30179,3],[30491,30494,3],[30729,30732,3],[31251,31259,3],[31265,31268,
- 3],[31275,31278,3],[31288,31297,3],[31461,31465,3],[31491,31495,3],[31917,31922,3],[31965,31985,3],[31992,32E3,3],[32001,32003,5],[32005,32031,5],[32033,32060,5],[32074,32077,5],[32081,32086,3],[32107,32130,3],[32133,32158,3],[32164,32167,5],[32180,32199,3],[32201,32260,3],[32301,32360,3],[32601,32662,3],[32664,32667,5],[32701,32761,3],[53001,53004,3],[53008,53019,3],[53021,53032,3],[53042,53046,3],[54001,54004,3],[54008,54019,3],[54021,54032,3],[54042,54046,3],[54048,54053,3],[102001,102040,3],[102042,
- 102063,3],[102065,102067,3],[102070,102112,3],[102114,102117,3],[102118,102121,5],[102122,102208,3],[102210,102216,3],[102221,102300,3],[102304,102377,3],[102382,102388,3],[102389,102391,5],[102401,102444,3],[102450,102452,3],[102461,102468,5],[102469,102492,3],[102500,102519,5],[102530,102549,3],[102570,102588,3],[102590,102598,3],[102601,102603,3],[102608,102628,3],[102629,102646,5],[102648,102672,5],[102675,102700,5],[102701,102703,3],[102707,102730,5],[102735,102758,5],[102767,102798,3],[102962,
- 102969,3],[102971,102973,3],[102975,102989,3],[102990,102992,5],[102997,103002,3],[103003,103008,5],[103009,103011,3],[103012,103014,5],[103019,103021,3],[103022,103024,5],[103029,103031,3],[103032,103034,5],[103065,103068,3],[103074,103076,3],[103077,103079,5],[103080,103082,3],[103083,103085,5],[103090,103093,3],[103097,103099,3],[103100,103102,5],[103107,103109,3],[103110,103112,5],[103113,103116,3],[103117,103120,5],[103153,103157,3],[103158,103162,5],[103163,103165,3],[103166,103171,5],[103186,
- 103188,3],[103189,103191,5],[103192,103195,3],[103196,103199,5],[103200,103224,3],[103225,103227,5],[103232,103237,3],[103238,103243,5],[103244,103246,3],[103247,103249,5],[103254,103256,3],[103257,103259,5],[103264,103266,3],[103267,103269,5],[103300,103375,3],[103381,103383,3],[103384,103386,5],[103387,103389,3],[103390,103392,5],[103397,103399,3],[103400,103471,5],[103476,103478,3],[103479,103481,5],[103486,103488,3],[103489,103491,5],[103492,103495,3],[103496,103499,5],[103539,103543,3],[103544,
- 103548,5],[103549,103551,3],[103552,103557,5],[103558,103560,3],[103571,103573,3],[103574,103576,5],[103577,103580,3],[103581,103583,5],[103600,103694,3],[103700,103793,5],[103794,103799,3]],gcsid:[4042,0,4075,0,4081,0,4168,0,4170,0,4188,0,4261,1,4262,0,4263,0,4288,0,4289,0,4305,1,4322,0,4324,0,4326,0,4466,0,4469,0,4475,0,4483,0,4490,0,4555,0,4558,0,4614,0,4619,0,4657,0,4670,0,4671,0,4674,0,4682,0,4683,0,4718,0,4720,0,4721,0,4723,0,4726,0,4737,0,4738,0,4759,0,4761,0,4807,1,4808,0,4809,0,4816,1,4817,
- 0,4818,0,4819,1,4820,0,4821,1,4823,0,4824,0,4901,1,4902,1,4903,0,4904,0,5228,0,5229,0,5233,0,5252,0,5264,0,5340,0,5354,0,5360,0,5371,0,5373,0,5381,0,5393,0,5464,0,5467,0,5489,0,5524,0,5527,0,5546,0,5561,0,5593,0,5681,0,5886,0,37225,1,37235,0,37257,0,37259,0,37260,0,104020,0,104139,1,104140,1,104223,0,104286,0,104287,0,104304,0,104305,0,104896,0,104900,5,104901,0,104902,0,104903,9,104904,2,104905,2,104906,59,104907,54,104908,0,104909,58,104910,31,104911,56,104912,6,104913,50,104914,41,104915,10,104916,
- 3,104917,30,104918,8,104919,60,104920,53,104921,44,104922,48,104923,51,104924,38,104925,0,104926,49,104927,57,104928,21,104929,23,104930,35,104931,49,104932,27,104933,17,104934,13,104935,7,104936,56,104937,40,104938,28,104939,37,104940,15,104941,55,104942,22,104943,4,104944,0,104945,20,104946,42,104947,47,104948,52,104949,43,104950,46,104951,39,104952,24,104953,16,104954,50,104955,36,104956,33,104957,46,104958,14,104959,19,104960,0,104961,34,104962,32,104963,29,104964,45,104965,26,104966,25,104967,
- 41,104968,11,104969,12,104970,18],gcsidc:[[4001,4016,0],[4018,4025,0],[4027,4029,0],[4031,4036,0],[4044,4047,0],[4052,4054,0],[4120,4166,0],[4172,4176,0],[4178,4185,0],[4190,4196,0],[4198,4216,0],[4218,4222,0],[4224,4232,0],[4234,4260,0],[4265,4267,0],[4269,4286,0],[4291,4303,0],[4306,4319,0],[4600,4610,0],[4621,4625,0],[4627,4633,0],[4636,4639,0],[4641,4646,0],[4659,4667,0],[4676,4680,0],[4686,4697,0],[4699,4706,0],[4740,4757,0],[4763,4765,0],[4801,4806,0],[4810,4812,1],[4813,4815,0],[37001,37008,
- 0],[37201,37208,0],[37211,37224,0],[37226,37233,0],[37237,37243,0],[37245,37247,0],[37249,37255,0],[104100,104138,0],[104141,104145,0],[104256,104261,0],[104700,104786,0],[104990,104992,0]]},g={c:[[2E3,2045,9001],[2056,2065,9001],[2067,2135,9001],[2137,2153,9001],[2161,2170,9001],[2172,2193,9001],[2196,2198,9001],[2200,2203,9001],[2206,2217,9001],[2222,2224,9002],[2251,2253,9002],[2280,2282,9002],[2308,2311,9001],[2315,2325,9001],[2327,2394,9001],[2400,2462,9001],[2523,2576,9001],[2578,2693,9001],
- [2695,2758,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,2941,9001],[2969,2973,9001],[2975,2982,9001],[2984,2988,9001],[2995,3002,9001],[3006,3051,9001],[3054,3059,9001],[3061,3066,9001],[3068,3071,9001],[3084,3087,9001],[3112,3118,9001],[3120,3138,9001],[3146,3151,9001],[3153,3157,9001],[3161,3166,9001],[3168,3172,9001],[3174,3203,9001],[3294,3313,9001],[3315,3335,9001],[3339,3345,9001],[3350,3358,
- 9001],[3367,3369,9001],[3374,3399,9001],[3408,3416,9001],[3425,3432,9003],[3441,3446,9003],[3456,3459,9003],[3465,3478,9001],[3554,3559,9001],[3561,3565,9003],[3568,3570,9003],[3571,3581,9001],[3594,3597,9001],[3601,3604,9001],[3637,3639,9001],[3665,3667,9001],[3693,3695,9001],[3701,3727,9001],[3728,3733,9003],[3744,3747,9001],[3753,3758,9003],[3761,3763,9001],[3765,3769,9001],[3779,3781,9001],[3788,3791,9001],[3797,3799,9001],[3832,3841,9001],[3844,3852,9001],[3873,3885,9001],[3890,3893,9001],[3907,
- 3912,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],[4052,4054,9102],[4120,4166,9102],[4172,4176,9102],[4178,4185,9102],[4190,4196,9102],[4198,4216,9102],[4218,4222,9102],[4224,4232,9102],[4234,4260,9102],[4265,4267,9102],[4269,4286,9102],[4291,4303,9102],[4306,4319,9102],[4399,4413,9003],[4418,4433,9003],[4491,4554,9001],[4600,4610,9102],[4621,4625,9102],[4627,4633,9102],
- [4636,4639,9102],[4641,4646,9102],[4659,4667,9102],[4676,4680,9102],[4686,4697,9102],[4699,4706,9102],[4740,4757,9102],[4763,4765,9102],[4801,4806,9102],[4810,4812,9105],[4813,4815,9102],[5069,5072,9001],[5105,5130,9001],[5180,5184,9001],[5253,5259,9001],[5269,5275,9001],[5292,5311,9001],[5343,5349,9001],[5355,5357,9001],[5387,5389,9001],[5459,5463,9001],[5479,5482,9001],[5530,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],[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],[21891,21894,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],[26703,26722,9001],[26729,26760,9003],[26766,26798,9003],[26860,26870,9003],[26891,26899,9001],[26903,26923,9001],[26929,26946,9001],[26948,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],[29118,29122,9001],[29177,29185,9001],[30161,30179,9001],[30491,30494,9001],[30729,30732,9001],[31251,31259,9001],[31265,31268,9001],[31275,31278,9001],[31288,31297,9001],[31461,31465,9001],[31491,31495,9001],[31917,31922,9001],[31965,31985,9001],[31992,32E3,9001],[32001,32003,9003],[32005,32031,9003],[32033,32060,9003],[32074,32077,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],[37001,37008,9102],[37201,37208,9102],[37211,37224,9102],[37226,37233,9102],[37237,37243,9102],[37245,37247,9102],[37249,37255,9102],[53001,53004,9001],[53008,53019,9001],[53021,53032,9001],[53042,53046,9001],[54001,54004,9001],[54008,54019,9001],[54021,54032,9001],[54042,54046,9001],[54048,54053,9001],[102001,102040,9001],[102042,102063,9001],
- [102065,102067,9001],[102070,102112,9001],[102114,102117,9001],[102122,102208,9001],[102210,102216,9001],[102221,102300,9001],[102304,102377,9001],[102382,102388,9001],[102389,102391,9003],[102401,102444,9001],[102450,102452,9001],[102461,102468,9003],[102469,102492,9001],[102500,102519,9002],[102530,102549,9001],[102570,102588,9001],[102590,102598,9001],[102601,102603,9001],[102608,102628,9001],[102629,102646,9003],[102648,102672,9003],[102675,102700,9003],[102701,102703,9001],[102707,102730,9003],
- [102735,102758,9003],[102767,102798,9001],[102962,102969,9001],[102971,102973,9001],[102975,102989,9001],[102990,102992,9002],[102997,103002,9001],[103003,103008,9003],[103009,103011,9001],[103012,103014,9003],[103019,103021,9001],[103022,103024,9003],[103029,103031,9001],[103032,103034,9003],[103065,103068,9001],[103074,103076,9001],[103077,103079,9002],[103080,103082,9001],[103083,103085,9003],[103090,103093,9001],[103097,103099,9001],[103100,103102,9003],[103107,103109,9001],[103110,103112,9003],
- [103113,103116,9001],[103117,103120,9003],[103153,103157,9001],[103158,103162,9003],[103163,103165,9001],[103166,103168,9002],[103169,103171,9003],[103186,103188,9001],[103189,103191,9003],[103192,103195,9001],[103196,103199,9003],[103200,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],[103300,103375,9001],[103381,103383,9001],[103384,103386,9002],
- [103387,103389,9001],[103390,103392,9003],[103397,103399,9001],[103400,103471,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],[103600,103694,9001],[103700,103793,9003],[103794,103799,9001],[104100,104138,9102],
- [104141,104145,9102],[104256,104261,9102],[104700,104786,9102],[104900,104970,9102],[104990,104992,9102]],nc:[2066,9039,2136,9094,2155,9003,2157,9001,2158,9001,2159,9094,2160,9094,2219,9001,2220,9001,2244,9003,2245,9003,2256,9002,2265,9002,2266,9002,2269,9002,2270,9002,2273,9002,2290,9001,2291,9001,2294,9001,2295,9001,2313,9001,2314,9005,2899,9003,2900,9003,2901,9002,2909,9002,2910,9002,2911,9003,2912,9003,2913,9002,2914,9002,2964,9003,2967,9003,2968,9003,2991,9001,2992,9002,2993,9001,2994,9002,3073,
- 9001,3076,9001,3079,9001,3091,9003,3106,9001,3108,9001,3109,9001,3141,9001,3142,9001,3167,9301,3337,9001,3347,9001,3348,9001,3359,9003,3360,9001,3361,9002,3362,9001,3363,9003,3364,9001,3365,9003,3366,9005,3402,9001,3403,9001,3405,9001,3406,9001,3439,9001,3440,9001,3447,9001,3449,9001,3450,9001,3453,9003,3454,9003,3460,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,3740,9001,3749,9001,3783,9001,3784,9001,3793,9001,3794,9001,3802,9001,3816,9001,3829,9001,3854,9001,3920,9001,3978,9001,3979,9001,3991,9003,3992,9003,4026,9001,4037,9001,4038,9001,4042,9102,4075,9102,4081,9102,4168,9102,4170,9102,4188,9102,4217,9003,4261,9105,4262,9102,4263,9102,4288,9102,4289,9102,4305,9105,4322,9102,4324,9102,4326,9102,4438,9003,4439,9003,4466,9102,4467,9001,4469,9102,4471,9001,4474,9001,4475,9102,4483,9102,
- 4490,9102,4555,9102,4558,9102,4559,9001,4614,9102,4619,9102,4657,9102,4670,9102,4671,9102,4674,9102,4682,9102,4683,9102,4718,9102,4720,9102,4721,9102,4723,9102,4726,9102,4737,9102,4738,9102,4759,9102,4761,9102,4807,9105,4808,9102,4809,9102,4816,9105,4817,9102,4818,9102,4819,9105,4820,9102,4821,9105,4823,9102,4824,9102,4839,9001,4901,9105,4902,9105,4903,9102,4904,9102,5018,9001,5048,9001,5167,9001,5168,9001,5223,9001,5228,9102,5229,9102,5233,9102,5234,9001,5235,9001,5243,9001,5252,9102,5264,9102,5266,
- 9001,5316,9001,5320,9001,5321,9001,5330,9001,5331,9001,5337,9001,5340,9102,5354,9102,5360,9102,5361,9001,5362,9001,5371,9102,5373,9102,5381,9102,5382,9001,5383,9001,5393,9102,5396,9001,5456,9001,5457,9001,5464,9102,5467,9102,5469,9001,5472,9037,5489,9102,5490,9001,5518,9001,5523,9001,5524,9102,5527,9102,5546,9102,5559,9001,5561,9102,5588,9002,5589,9005,5593,9102,5596,9001,5627,9001,5629,9001,5641,9001,5643,9001,5644,9001,5654,9003,5655,9003,5659,9001,5681,9102,5700,9001,5825,9001,5836,9001,5837,9001,
- 5842,9001,5844,9001,5880,9001,5886,9102,5887,9001,5890,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,23433,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,26855,9003,26856,9003,27120,9001,27200,9001,27291,9040,27292,9040,27429,9001,27492,9001,27500,9001,27700,9001,28232,9001,28600,9001,28991,9001,28992,9001,29100,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,29900,9001,29901,9001,29903,9001,30200,9039,30339,9001,30340,9001,30591,9001,30592,
- 9001,30791,9001,30792,9001,31028,9001,31121,9001,31154,9001,31170,9001,31171,9001,31370,9001,31528,9001,31529,9001,31600,9001,31700,9001,31838,9001,31839,9001,31901,9001,32061,9001,32062,9001,32098,9001,32099,9003,32100,9001,32104,9001,32161,9001,32766,9001,37225,9105,37235,9102,37257,9102,37259,9102,37260,9102,53034,9001,53048,9001,53049,9001,54034,9001,65061,9003,65062,9003,65161,9001,65163,9001,102041,9003,102064,9085,102068,109030,102069,109031,102118,9003,102119,9002,102120,9003,102121,9003,
- 102217,9003,102218,9001,102219,9003,102220,9003,102378,9002,102379,9002,102380,9001,102381,9002,102589,9003,102599,9003,102600,9003,102604,9003,102605,9001,102606,9001,102647,9001,102704,9003,102705,9003,102733,9003,102761,9003,102762,9001,102763,9003,102764,9001,102765,9001,102766,9003,102970,9002,102974,9003,102993,9001,102994,9001,102995,9003,102996,9003,103015,9001,103016,9003,103017,9001,103018,9003,103025,9001,103026,9001,103027,9003,103028,9003,103035,9001,103036,9001,103037,9003,103038,9003,
- 103039,9001,103040,9001,103041,9003,103042,9003,103043,9001,103044,9001,103045,9003,103046,9003,103047,9001,103048,9001,103049,9003,103050,9003,103051,9001,103052,9003,103053,9001,103054,9003,103055,9001,103056,9003,103057,9001,103058,9001,103059,9003,103060,9003,103061,9001,103062,9001,103063,9003,103064,9003,103069,9003,103070,9001,103071,9001,103072,9003,103073,9003,103086,9001,103087,9001,103088,9003,103089,9003,103094,9002,103095,9001,103096,9003,103103,9001,103104,9003,103105,9001,103106,9003,
- 103121,9001,103122,9003,103123,9001,103124,9001,103125,9002,103126,9002,103127,9001,103128,9001,103129,9003,103130,9003,103131,9001,103132,9001,103133,9003,103134,9003,103135,9001,103136,9001,103137,9002,103138,9002,103139,9001,103140,9003,103141,9001,103142,9003,103143,9001,103144,9003,103145,9001,103146,9002,103147,9001,103148,9001,103149,9003,103150,9003,103151,9001,103152,9003,103172,9001,103173,9003,103174,9001,103175,9001,103176,9003,103177,9003,103178,9001,103179,9001,103180,9003,103181,9003,
- 103182,9001,103183,9001,103184,9003,103185,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,103376,9003,103377,9001,103378,9001,103379,9003,103380,9003,103393,9001,103394,9001,103395,9003,103396,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,103695,9003,104020,9102,104139,9105,104140,9105,104223,9102,104286,9102,104287,9102,104304,9102,104305,9102,104896,9102]},b=function(){function a(){}a.wG=function(c){!1===a.ul&&a.hq();var b=a.dU(c);if(-1==b){var f=a.Pv(c);f!=c&&(b=a.wG(f))}return b};a.dU=function(c){return void 0!==a.gv[c]?
- a.gv[c]:-1};a.tS=function(c){!1===a.ul&&a.hq();var b=a.JF(c);if(1E38==b){var f=a.Pv(c);f!=c&&(b=a.JF(f));if(1E38==b)return 1E-10}return b};a.RU=function(c){if(void 0!==a.$p[c])return!0;var b=a.Pv(c);return b!=c&&void 0!==a.$p[b]?!0:!1};a.TU=function(c){if(void 0!==a.Dj[c])return!0;var b=a.Pv(c);return b!=c&&void 0!==a.Dj[b]?!0:!1};a.JF=function(c){!1===a.ul&&a.hq();return void 0!==a.$p[c]?a.$p[c]:void 0!==a.Dj[c]?a.Dj[c]:1E38};a.rZ=function(c){!1===a.ul&&a.hq();return void 0!==a.GC[c]?a.GC[c]:c};
- a.Pv=function(c){!1===a.ul&&a.hq();return void 0!==a.OC[c]?a.OC[c]:c};a.hq=function(){for(var c=m,b,f=0;f<c.pcsid.length;f+=2)a.Dj[c.pcsid[f]]=c.pcstol[2*c.pcsid[f+1]+1];for(f=0;f<c.pcsidc.length;f+=1){b=c.pcsidc[f];for(var h=b[0];h<=b[1];h++)a.Dj[h]=c.pcstol[2*b[2]+1]}for(f=0;f<c.gcsid.length;f+=2)a.$p[c.gcsid[f]]=c.gcstol[2*c.gcsid[f+1]+1];for(f=0;f<c.gcsidc.length;f+=1)for(b=c.gcsidc[f],h=b[0];h<=b[1];h++)a.Dj[h]=c.gcstol[2*b[2]+1];for(f=0;f<g.c.length;f+=1)for(b=g.c[f],h=b[0];h<=b[1];h++)a.gv[h]=
- b[2];for(f=0;f<g.nc.length;f+=2)a.gv[g.nc[f]]=g.nc[f+1];g=null;for(f=0;f<c.newtoold.length;f+=2)a.GC[c.newtoold[f+1]]=c.newtoold[f],a.OC[c.newtoold[f]]=c.newtoold[f+1];m=null;a.ul=!0};a.ul=!1;a.$p=[];a.Dj=[];a.GC=[];a.OC=[];a.gv=[];return a}();d.ts=b})(n||(n={}));(function(d){function m(a){return 0===a.length?'""':'"'==a[0]||"."==a[0]||"0"<=a[0]&&"9">=a[0]?a:'"'+a.trim()+'"'}var g=[],b=function(){function a(){}a.vS=function(c){try{for(var b=0;b<g.length;b++)if(g[b].wkttext===c)return g[b].unit;for(var f,
- h=b="",l=!1,k=0;k<c.length;k++){var r=c[k];!0===l?'"'==r?'"'==c[k+1]?b+=r:l=!1:b+=r:/[\s]/.test(r)||(","==r?(h=""!==b?h+(m(b)+","):h+",",b=""):")"==r||"]"==r?(h=""!==b?h+(m(b)+"]}"):h+"]}",b=""):"("==r||"["==r?(h+='{ "entity": "'+b.toUpperCase().trim()+'", "values":[',b=""):'"'==r?(l=!0,b=""):b+=r)}f=JSON.parse(h);var t=a.oF(f);if(null===t)return null;f=null;for(r=0;r<t.values.length;r++)if("object"===typeof t.values[r]&&"UNIT"===t.values[r].entity){f=t.values[r];break}if(null===f)return null;var p=
- d.oc.aR("GEOGCS"===t.entity?1:0,f.values[1],f.values[2]);g.push({wkttext:c,unit:p});10<g.length&&g.shift();return p}catch(q){return null}};a.oF=function(c){if(null===c)return null;if("GEOGCS"===c.entity||"PROJCS"===c.entity)return c;for(var b=[],f=0;f<c.values.length;f++)if("object"===typeof c.values[f]&&void 0!==c.values[f].entity){if("GEOGCS"===c.values[f].entity||"PROJCS"==c.values[f].entity)return c.values[f];b.push(c.values[f])}for(c=0;c<b.length;c++)if(f=a.oF(b[c]),null!==f)return f;return null};
- a.uS=function(a){var c=-1;if(null!=a&&0<a.length){var b,h;b=a.indexOf("PROJCS");if(0<=b){var d=0;b=a.lastIndexOf("UNIT");if(0<=b&&(b=a.indexOf(",",b+4),0<b&&(b++,h=a.indexOf("]",b+1),0<h)))try{d=parseFloat(a.substring(b,h))}catch(r){d=0}0<d&&(c=.001/d)}else if(b=a.indexOf("GEOGCS"),0<=b){var k=0,d=0;b=a.indexOf("SPHEROID",b+6);if(0<b&&(b=a.indexOf(",",b+8),0<b)){b++;h=a.indexOf(",",b+1);if(0<h)try{k=parseFloat(a.substring(b,h))}catch(r){k=0}if(0<k&&(b=a.indexOf("UNIT",h+1),0<=b&&(b=a.indexOf(",",
- b+4),0<b&&(b++,h=a.indexOf("]",b+1),0<h))))try{d=parseFloat(a.substring(b,h))}catch(r){d=0}}0<k&&0<d&&(c=.001/(k*d))}}return c};return a}();d.nE=b})(n||(n={}));(function(d){(function(d){d[d.NONE=0]="NONE";d[d.LINEAR=1]="LINEAR";d[d.ANGULAR=2]="ANGULAR"})(d.EM||(d.EM={}));(function(d){d[d.enumFloat=0]="enumFloat";d[d.enumDouble=1]="enumDouble";d[d.enumInt32=2]="enumInt32";d[d.enumInt64=3]="enumInt64";d[d.enumInt8=4]="enumInt8";d[d.enumInt16=5]="enumInt16"})(d.FN||(d.FN={}));(function(d){d[d.POSITION=
- 0]="POSITION";d[d.Z=1]="Z";d[d.M=2]="M";d[d.ID=3]="ID";d[d.NORMAL=4]="NORMAL";d[d.TEXTURE1D=5]="TEXTURE1D";d[d.TEXTURE2D=6]="TEXTURE2D";d[d.TEXTURE3D=7]="TEXTURE3D";d[d.ID2=8]="ID2";d[d.MAXSEMANTICS=10]="MAXSEMANTICS"})(d.Wc||(d.Wc={}));var m=function(){function g(b,a){this.Pt=this.af=null;this.Dr=this.Ea=0;this.Sh=this.wg=null;this.bm=0;if(void 0!==a){this.Ea=a.Ea;this.Dr=a.Dr;this.wg=a.wg.slice(0);this.Sh=a.Sh.slice(0);this.bm=a.bm;this.Pt=[];for(a=b=0;a<this.Ea;a++)this.Pt[a]=b,b+=g.Xa(this.wg[a]);
- this.Dr=b;this.af=[];for(a=0;a<this.Ea;a++){b=g.Xa(this.zd(a));for(var c=g.pe(this.zd(a)),e=0;e<b;e++)this.af[this.Pt[a]+e]=c}}else this.Dr=this.Ea=0}g.prototype.zd=function(b){if(0>b||b>this.Ea)throw d.f.F();return this.wg[b]};g.prototype.mg=function(b){return this.Sh[b]};g.Vz=function(b){return g.uc[b]};g.si=function(b){return g.bd[b]};g.Mg=function(b){return g.ee[b]};g.Cj=function(b){return g.Mg(g.si(b))*g.Xa(b)};g.Xa=function(b){return g.Bb[b]};g.Wg=function(b){return 2>b};g.qk=function(b){return g.Wg(g.si(b))};
- g.prototype.hasAttribute=function(b){return 0<=this.Sh[b]};g.prototype.tH=function(){return this.hasAttribute(1)};g.pe=function(b){return g.$[b]};g.prototype.DT=function(b){return this.Pt[b]};g.OH=function(b,a){return g.$[b]===a};g.Oi=function(b){if(4==b)return 2;if(8==b)return 3;throw d.f.F();};g.prototype.Eb=function(b){return this===b};g.prototype.zk=function(){for(var b=d.J.dh(this.wg[0]),a=1;a<this.Ea;a++)b=d.J.dh(this.wg[a],b);return b};g.prototype.wk=function(b){return this.Pt[b]};g.prototype.jc=
- function(){return this.bm};g.prototype.Id=function(b){return this.wg[b]};g.$=[0,0,NaN,0,0,0,0,0,0];g.uc=[1,1,1,0,2,1,1,1,0];g.bd=[1,1,1,2,0,0,0,0,2];g.ee=[4,8,4,8,1,2];g.Bb=[2,1,1,1,3,1,2,3,2];return g}();d.na=m})(n||(n={}));(function(d){function m(a,b,f,h){var c=a.Kd,e=a.e+b+1;1===f?h=5<=c[e]:2===f?h=5<c[e]||5==c[e]&&(h||0>e||void 0!==c[e+1]||c[e-1]&1):3===f?h=h||void 0!==c[e]||0>e:(h=!1,0!==f&&g("!Big.RM!"));if(1>e||!c[0])h?(a.e=-b,a.Kd=[1]):a.Kd=[a.e=0];else{c.length=e--;if(h)for(;9<++c[e];)c[e]=
- 0,e--||(++a.e,c.unshift(1));for(e=c.length;!c[--e];c.pop());}}function g(a){a=Error(a);a.name="BigError";throw a;}var b=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,a=function(){function a(c){if(c instanceof a)this.le=c.le,this.e=c.e,this.Kd=c.Kd.slice();else{var e,h,d;0===c&&0>1/c?c="-0":b.test(c+="")||g(NaN);this.le="-"==c.charAt(0)?(c=c.slice(1),-1):1;-1<(e=c.indexOf("."))&&(c=c.replace(".",""));0<(h=c.search(/e/i))?(0>e&&(e=h),e+=+c.slice(h+1),c=c.substring(0,h)):0>e&&(e=c.length);for(h=0;"0"==c.charAt(h);h++);
- if(h==(d=c.length))this.Kd=[this.e=0];else{for(;"0"==c.charAt(--d););this.e=e-h-1;this.Kd=[];for(e=0;h<=d;this.Kd[e++]=+c.charAt(h++));}}}a.prototype.abs=function(){var c=new a(this);c.le=1;return c};a.prototype.QF=function(){var c=0,b=this.Kd,h=(c=new a(c)).Kd,d=this.le,k=c.le,r=this.e,g=c.e;if(!b[0]||!h[0])return b[0]?d:h[0]?-k:0;if(d!=k)return d;c=0>d;if(r!=g)return r>(g^c)?1:-1;d=-1;for(k=(r=b.length)<(g=h.length)?r:g;++d<k;)if(b[d]!=h[d])return b[d]>(h[d]^c)?1:-1;return r==g?0:r>(g^c)?1:-1};
- a.prototype.Xm=function(c){var b=this.Kd,e=(c=new a(c)).Kd,d=this.le==c.le?1:-1,k=a.bd;(k!==~~k||0>k||1E6<k)&&g("!Big.DP!");if(!b[0]||!e[0])return b[0]==e[0]&&g(NaN),e[0]||g(d/0),new a(0*d);var r,t,p,q,u=e.slice(),v=r=e.length,x=b.length,w=b.slice(0,r),y=w.length,n=c,z=n.Kd=[],B=0,A=k+(n.e=this.e-c.e)+1;n.le=d;d=0>A?0:A;for(u.unshift(0);y++<r;w.push(0));do{for(t=0;10>t;t++){if(r!=(y=w.length))p=r>y?1:-1;else for(q=-1,p=0;++q<r;)if(e[q]!=w[q]){p=e[q]>w[q]?1:-1;break}if(0>p){for(c=y==r?e:u;y;){if(w[--y]<
- c[y]){for(q=y;q&&!w[--q];w[q]=9);--w[q];w[y]+=10}w[y]-=c[y]}for(;!w[0];w.shift());}else break}z[B++]=p?t:++t;w[0]&&p?w[y]=b[v]||0:w=[b[v]]}while((v++<x||void 0!==w[0])&&d--);z[0]||1==B||(z.shift(),n.e--);B>A&&m(n,k,a.Mg,void 0!==w[0]);return n};a.prototype.ZT=function(){return 0<this.QF()};a.prototype.nV=function(){return 0>this.QF()};a.prototype.Yt=function(c){var b,e,d=this.le,k=(c=new a(c)).le;if(d!=k)return c.le=-k,this.DJ(c);var r=this.Kd.slice();e=this.e;var g=c.Kd,p=c.e;if(!r[0]||!g[0])return g[0]?
- (c.le=-k,c):new a(r[0]?this:0);if(d=e-p){(b=0>d)?(d=-d,e=r):(p=e,e=g);e.reverse();for(k=d;k--;e.push(0));e.reverse()}else for(e=((b=r.length<g.length)?r:g).length,d=k=0;k<e;k++)if(r[k]!=g[k]){b=r[k]<g[k];break}b&&(e=r,r=g,g=e,c.le=-c.le);if(0<(k=(e=g.length)-(b=r.length)))for(;k--;r[b++]=0);for(k=b;e>d;){if(r[--e]<g[e]){for(b=e;b&&!r[--b];r[b]=9);--r[b];r[e]+=10}r[e]-=g[e]}for(;0==r[--k];r.pop());for(;0==r[0];)r.shift(),--p;r[0]||(c.le=1,r=[p=0]);c.Kd=r;c.e=p;return c};a.prototype.DJ=function(c){var b,
- e=this.le;b=(c=new a(c)).le;if(e!=b)return c.le=-b,this.Yt(c);b=this.e;var d=this.Kd,k=c.e,r=c.Kd;if(!d[0]||!r[0])return r[0]?c:new a(d[0]?this:0*e);d=d.slice();if(e=b-k){0<e?(k=b,b=r):(e=-e,b=d);for(b.reverse();e--;b.push(0));b.reverse()}0>d.length-r.length&&(b=r,r=d,d=b);e=r.length;for(b=0;e;)b=(d[--e]=d[e]+r[e]+b)/10|0,d[e]%=10;b&&(d.unshift(b),++k);for(e=d.length;0==d[--e];d.pop());c.Kd=d;c.e=k;return c};a.prototype.pow=function(c){var b=this,e=new a(1),d=e,k=0>c;(c!==~~c||-1E6>c||1E6<c)&&g("!pow!");
- for(c=k?-c:c;;){c&1&&(d=d.cs(b));c>>=1;if(!c)break;b=b.cs(b)}return k?e.Xm(d):d};a.prototype.round=function(c,b){var e=this;null==c?c=0:(c!==~~c||0>c||1E6<c)&&g("!round!");m(e=new a(e),c,null==b?a.Mg:b);return e};a.prototype.sqrt=function(){var c,b,h;b=this.Kd;c=this.le;h=this.e;var d=new a("0.5");if(!b[0])return new a(this);0>c&&g(NaN);c=Math.sqrt(this.toString());0==c||c==1/0?(c=b.join(""),c.length+h&1||(c+="0"),b=new a(Math.sqrt(c).toString()),b.e=((h+1)/2|0)-(0>h||h&1)):b=new a(c.toString());
- c=b.e+(a.bd+=4);do h=b,b=d.cs(h.DJ(this.Xm(h)));while(h.Kd.slice(0,c).join("")!==b.Kd.slice(0,c).join(""));m(b,a.bd-=4,a.Mg);return b};a.prototype.cs=function(c){var b,e=this.Kd,d=(c=new a(c)).Kd,k=e.length,r=d.length,g=this.e,p=c.e;c.le=this.le==c.le?1:-1;if(!e[0]||!d[0])return new a(0*c.le);c.e=g+p;k<r&&(b=e,e=d,d=b,p=k,k=r,r=p);for(b=Array(p=k+r);p--;b[p]=0);for(g=r;g--;){r=0;for(p=k+g;p>g;)r=b[p]+d[g]*e[p-g-1]+r,b[p--]=r%10,r=r/10|0;b[p]=(b[p]+r)%10}r&&++c.e;b[0]||b.shift();for(g=b.length;!b[--g];b.pop());
- c.Kd=b;return c};a.prototype.toString=function(){var a=this.e,c=this.Kd.join(""),b=c.length;if(-7>=a||21<=a)c=c.charAt(0)+(1<b?"."+c.slice(1):"")+(0>a?"e":"e+")+a;else if(0>a){for(;++a;c="0"+c);c="0."+c}else if(0<a)if(++a>b)for(a-=b;a--;c+="0");else a<b&&(c=c.slice(0,a)+"."+c.slice(a));else 1<b&&(c=c.charAt(0)+"."+c.slice(1));return 0>this.le&&this.Kd[0]?"-"+c:c};a.bd=20;a.Mg=1;return a}();d.Tp=a})(n||(n={}));(function(d){var m=function(){function b(a){this.Nf=a}b.prototype.gs=function(a,c,b){var e=
- new d.b,h=new d.b,l=this.Nf;b.Gd(a,c,function(a,c){l.fc(2*a,e);l.fc(2*c,h);return e.compare(h)})};b.prototype.Qq=function(a){return this.Nf.read(2*a+1)};return b}(),g=function(){function b(){}b.Rq=function(a){if(a.u())return!1;var c=a.G();return 1736==c?0==a.hf()?!1:!0:1607==c?(c=[!1],b.lE(a,!0,c),c[0]):197==c||d.T.Oc(c)&&!a.NH()?!0:!1};b.Sm=function(a){var c=a.G();if(1736==c)return c=new d.Ua(a.description),a.u()||a.wE(c),c;if(1607==c)return b.lE(a,!1,null);if(197==c)return c=new d.Ua(a.description),
- a.u()||c.jd(a,!1),c;if(d.T.Oc(c)){c=new d.Ed(a.description);if(!a.u()&&!a.NH()){var e=new d.Wa;a.Dp(e);c.add(e);a.Bp(e);c.add(e)}return c}if(d.T.Jo(c))return null;throw d.f.F();};b.lE=function(a,c,b){null!=b&&(b[0]=!1);var e=null;c||(e=new d.Ed(a.description));if(!a.u()){var h=new d.ia(0);h.yb(2*a.aa());for(var l=0,k=a.aa();l<k;l++)if(0<a.Ka(l)&&!a.Eo(l)){var r=a.wa(l);h.add(r);r=a.Gc(l)-1;h.add(r)}if(0<h.size){k=new d.Gu;l=a.Pa(0);k.sort(h,0,h.size,new m(l));k=new d.b;l.fc(2*h.get(0),k);for(var r=
- 0,g=1,p=new d.Wa,q=new d.b,u=1,v=h.size;u<v;u++)if(l.fc(2*h.get(u),q),q.ub(k))h.get(r)>h.get(u)?(h.set(r,2147483647),r=u):h.set(u,2147483647),g++;else{if(0==(g&1))h.set(r,2147483647);else if(c)return null!=b&&(b[0]=!0),null;k.L(q);r=u;g=1}if(0==(g&1))h.set(r,2147483647);else if(c)return null!=b&&(b[0]=!0),null;if(!c)for(h.Gd(0,h.size,function(a,c){return a-c}),u=0,v=h.size;u<v&&2147483647!=h.get(u);u++)a.Ae(h.get(u),p),e.add(p)}}return c?null:e};return b}();d.Pi=g})(n||(n={}));(function(d){var m=
- function(){function g(){this.ag=new d.ia(0);this.tt=new d.ia(0);this.TI=1;this.zt=NaN}g.prototype.sort=function(b,a,c,e){if(32>c-a)e.gs(a,c,b);else{var f=!0;try{for(var d=Infinity,l=-Infinity,k=a;k<c;k++){var r=e.Qq(b.get(k));r<d&&(d=r);r>l&&(l=r)}if(this.reset(c-a,d,l,c-a)){for(k=a;k<c;k++){var g=b.get(k),r=e.Qq(g),p=this.KG(r);this.ag.set(p,this.ag.get(p)+1);this.tt.write(k-a,g)}var q=this.ag.get(0);this.ag.set(0,0);for(var k=1,u=this.ag.size;k<u;k++){var v=this.ag.get(k);this.ag.set(k,q);q+=v}for(k=
- a;k<c;k++){var g=this.tt.read(k-a),r=e.Qq(g),p=this.KG(r),m=this.ag.get(p);b.set(m+a,g);this.ag.set(p,m+1)}f=!1}}catch(w){this.ag.resize(0),this.tt.resize(0)}if(f)e.gs(a,c,b);else{k=c=0;for(u=this.ag.size;k<u;k++)f=c,c=this.ag.get(k),c>f&&e.gs(a+f,a+c,b);100<this.ag.size&&(this.ag.resize(0),this.tt.resize(0))}}};g.prototype.reset=function(b,a,c,e){if(2>b||c==a)return!1;b=Math.min(g.PV,b);this.ag.yb(b);this.ag.resize(b);this.ag.Zh(0,0,this.ag.size);this.TI=a;this.tt.resize(e);this.zt=(c-a)/(b-1);return!0};
- g.prototype.KG=function(b){return d.J.truncate((b-this.TI)/this.zt)};g.PV=65536;return g}();d.Gu=m})(n||(n={}));(function(d){var m;(function(a){a[a.enum_line=1]="enum_line";a[a.enum_arc=2]="enum_arc";a[a.enum_dummy=4]="enum_dummy";a[a.enum_concave_dip=8]="enum_concave_dip";a[a.enum_connection=3]="enum_connection"})(m||(m={}));var g=function(){function a(){}a.Dv=function(c,b,e,f,g,p){var h=new a;h.vn=new d.b;h.Jn=new d.b;h.Nw=new d.b;h.vn.L(c);h.Jn.L(b);h.Nw.L(e);h.qp=f;h.Nh=g;h.Qh=p;return h};a.pa=
- function(c,b,e,f){var h=new a;h.vn=new d.b;h.Jn=new d.b;h.Nw=new d.b;h.vn.L(c);h.Jn.L(b);h.Nw.$c();h.qp=4;h.Nh=e;h.Qh=f;return h};return a}(),b=function(){function a(a,c,b,e,f,d){this.Kw=null;this.Ba=0;this.iB=a;this.nJ=this.lJ=0;this.Qa=c;this.ek=b;this.Xk=e;this.sr=f;this.lc=d}a.prototype.next=function(){for(var a=new d.Wa;;){if(this.Ba==this.iB.D())return null;this.iB.Ae(this.Ba,a);this.Ba++;if(!a.u())break}var c=!1;null==this.Kw&&(this.lJ=a.Be(),this.nJ=a.nf(),this.Kw=e.buffer(a,this.Qa,this.ek,
- this.Xk,this.sr,this.lc),c=!0);var b;this.Ba<this.iB.D()?(b=new d.Ia,this.Kw.copyTo(b)):b=this.Kw;if(!c){var c=new d.Hd,f=a.Be()-this.lJ,a=a.nf()-this.nJ;c.Ag(f,a);b.Xc(c)}return b};a.prototype.Ha=function(){return 0};a.prototype.Re=function(){return!0};return a}(),a=function(){function a(a,c){this.$a=a;this.Ba=0;this.cr=c}a.prototype.next=function(){var a=this.$a.Y;if(this.Ba<a.aa()){var c=this.Ba;this.Ba++;if(!a.Eo(c))for(var b=a.Aa(a.Gc(c)-1);this.Ba<a.aa();){var e=a.Aa(a.wa(this.Ba));if(a.Eo(this.Ba))break;
- if(e!=b)break;b=a.Aa(a.Gc(this.Ba)-1);this.Ba++}if(1==this.Ba-c)return this.$a.wF(this.$a.Y,c,this.cr);b=new d.Ua(this.$a.Y.description);b.Ti(this.$a.Y,c,!0);for(c+=1;c<this.Ba;c++)b.As(this.$a.Y,c,0,a.dw(c),!1);return this.$a.wF(b,0,this.cr)}return null};a.prototype.Ha=function(){return 0};a.prototype.Re=function(){return!0};return a}(),c=function(){function a(a){this.$a=a;this.Ba=0}a.prototype.next=function(){var a=this.$a.Y;if(this.Ba<a.aa()){var c=this.Ba;a.Tm(this.Ba);for(this.Ba++;this.Ba<a.aa()&&
- !(0<a.Tm(this.Ba));)this.Ba++;return 0==c&&this.Ba==a.aa()?this.$a.Vy(a,0,a.aa()):this.$a.Vy(a,c,this.Ba)}return null};a.prototype.Ha=function(){return 0};a.prototype.Re=function(){return!0};return a}(),e=function(){function e(a){this.Et=this.Yw=this.Ft=this.Wd=null;this.te=[];this.lc=a;this.vb=this.ww=this.GV=this.Qa=this.YA=this.Ut=this.ta=0;this.VA=this.Xk=-1;this.cr=!0}e.buffer=function(a,c,b,f,g,p){if(null==a)throw d.f.F();if(0>f)throw d.f.F();if(a.u())return new d.Ia(a.description);var h=new d.h;
- a.ac(h);0<c&&h.O(c,c);p=new e(p);p.ek=b;p.Y=a;p.ta=d.ma.be(b,h,!0);p.Ut=d.ma.be(null,h,!0);p.Qa=c;p.GV=a.G();0>=g&&(g=96);p.vb=Math.abs(p.Qa);p.ww=0!=p.vb?1/p.vb:0;isNaN(f)||0==f?f=1E-5*p.vb:f>.5*p.vb&&(f=.5*p.vb);12>g&&(g=12);a=Math.abs(c)*(1-Math.cos(Math.PI/g));a>f?f=a:(a=Math.PI/Math.acos(1-f/Math.abs(c)),a<g-1&&(g=d.J.truncate(a),12>g&&(g=12,f=Math.abs(c)*(1-Math.cos(Math.PI/g)))));p.Xk=f;p.sr=g;p.YA=Math.min(p.Ut,.25*f);return p.xF()};e.prototype.Qv=function(){if(null==this.Wd)this.Wd=[];else if(0!==
- this.Wd.length)return;var a=this.BF(),a=d.J.truncate((a+3)/4),c=.5*Math.PI/a;this.VA=c;for(var b=0;b<4*a;b++)this.Wd.push(null);for(var e=Math.cos(c),c=Math.sin(c),f=d.b.pa(0,1),b=0;b<a;b++)this.Wd[b+0*a]=d.b.pa(f.y,-f.x),this.Wd[b+1*a]=d.b.pa(-f.x,-f.y),this.Wd[b+2*a]=d.b.pa(-f.y,f.x),this.Wd[b+3*a]=f,f=d.b.pa(f.x,f.y),f.pu(e,c)};e.prototype.xF=function(){var a=this.Y.G();if(d.T.Oc(a))return a=new d.Ua(this.Y.description),a.dc(this.Y,!0),this.Y=a,this.xF();if(this.Qa<=this.ta)if(d.T.NU(a)){if(0>=
- this.Qa&&(a=new d.h,this.Y.s(a),a.N()<=2*-this.Qa||a.fa()<=2*this.Qa))return new d.Ia(this.Y.description)}else return new d.Ia(this.Y.description);switch(this.Y.G()){case 33:return this.RP();case 550:return this.QP();case 1607:return this.TP();case 1736:return this.SP();case 197:return this.OP();default:throw d.f.ya();}};e.prototype.TP=function(){if(this.PH(this.Y)){var c=new d.Wa;this.Y.Ae(0,c);var b=new d.h;this.Y.s(b);c.rb(b.Wf());return this.qv(c)}this.Y=this.NW(this.Y);c=new a(this,this.cr);
- return d.ei.local().V(c,this.ek,this.lc).next()};e.prototype.SP=function(){if(0==this.Qa)return this.Y;var a=d.Lm.local();this.Qv();this.Y=a.V(this.Y,null,!1,this.lc);if(0>this.Qa){var b=this.Y,b=this.Vy(b,0,b.aa());return a.V(b,this.ek,!1,this.lc)}if(this.PH(this.Y))return a=new d.Wa,this.Y.Ae(0,a),b=new d.h,this.Y.s(b),a.rb(b.Wf()),this.qv(a);a=new c(this);return d.ei.local().V(a,this.ek,this.lc).next()};e.prototype.Vy=function(a,c,b){for(var f=new d.Ia(a.description);c<b;c++)if(!(1>a.Ka(c))){var h=
- a.Tm(c),l=new d.h;a.ik(c,l);if(0<this.Qa)if(0<h)if(this.QH(a,c))h=new d.Wa,a.Ae(a.wa(c),h),h.rb(l.Wf()),this.hv(f,h);else{var k=h=new d.Ua(a.description),k=d.Iu.UH(this.Y,c)||2==this.to(this.Y,c,k,!0,1)?this.vF(a,c):this.so(h);f.add(k,!1)}else{if(!(l.N()+this.ta<=2*this.vb||l.fa()+this.ta<=2*this.vb||(k=h=new d.Ua(a.description),this.to(this.Y,c,k,!0,1),h.u()))){var g=new d.h;g.I(l);g.O(this.vb,this.vb);k.oq(g);k=this.so(h);l=1;for(h=k.aa();l<h;l++)f.Ti(k,l,!0)}}else if(0<h){if(!(l.N()+this.ta<=2*
- this.vb||l.fa()+this.ta<=2*this.vb||(k=h=new d.Ua(a.description),this.to(this.Y,c,k,!0,-1),h.u())))for(g=new d.h,k.ac(g),g.O(this.vb,this.vb),k.oq(g),k=this.so(h),l=1,h=k.aa();l<h;l++)f.Ti(k,l,!0)}else for(k=h=new d.Ua(a.description),this.to(this.Y,c,k,!0,-1),k=this.so(h),l=0,h=k.aa();l<h;l++)f.Ti(k,l,!0)}if(0<this.Qa)return 1<f.aa()?f=this.so(f):e.We(f);a=new d.h;f.ac(a);if(f.u())return e.We(f);a.O(this.vb,this.vb);f.oq(a);f=this.so(f);a=new d.Ia(f.description);l=1;for(h=f.aa();l<h;l++)a.Ti(f,l,
- !1);return e.We(a)};e.prototype.RP=function(){return this.qv(this.Y)};e.prototype.qv=function(a){var c=new d.Ia(this.Y.description);this.hv(c,a);return this.mY(c)};e.prototype.QP=function(){var a=new b(this.Y,this.Qa,this.ek,this.Xk,this.sr,this.lc);return d.ei.local().V(a,this.ek,this.lc).next()};e.prototype.OP=function(){var a=new d.Ia(this.Y.description);if(0>=this.Qa){if(0==this.Qa)a.jd(this.Y,!1);else{var c=new d.ci;this.Y.Rn(c);c.O(this.Qa,this.Qa);a.jd(c,!1)}return a}a.jd(this.Y,!1);this.Y=
- a;return this.vF(a,0)};e.prototype.vF=function(a,c){this.Qv();var b=new d.Ia(a.description),f=new d.b,h=new d.b,l=new d.b,g=new d.b,u=new d.b,v=new d.b,m=new d.b,w=new d.b,y=a.Ka(c),n=a.wa(c),z=0;for(c=a.Ka(c);z<c;z++){a.w(n+z,h);a.w(n+(z+1)%y,g);a.w(n+(z+2)%y,v);m.zc(g,h);if(0==m.length())throw d.f.ya();m.tw();m.normalize();m.scale(this.vb);f.add(m,h);l.add(m,g);0==z?b.yu(f):b.aj(f);b.aj(l);w.zc(v,g);if(0==w.length())throw d.f.ya();w.tw();w.normalize();w.scale(this.vb);u.add(w,g);this.WE(b,g,l,u,
- !1)}return e.We(b)};e.prototype.wF=function(a,c,b){this.Qv();if(1>a.Ka(c))return null;if(this.QH(a,c)&&0<this.Qa){b=new d.Wa;a.Ae(a.wa(c),b);var e=new d.h;a.ik(c,e);b.rb(e.Wf());return this.qv(b)}e=new d.Ua(a.description);if(a.Eo(c))this.to(a,c,e,b,1),this.to(a,c,e,b,-1);else{var f=new d.Ua(a.description);f.Ti(a,c,!1);f.As(a,c,0,a.dw(c),!1);this.to(f,0,e,b,1)}return this.so(e)};e.prototype.Or=function(){this.jx++};e.prototype.so=function(a){return d.Dg.ol(a,this.Ut,!0,!0,this.lc)};e.prototype.BF=
- function(){if(0==this.Xk)return this.sr;var a=1-this.Xk*Math.abs(this.ww),c;-1>a?c=4:c=2*Math.PI/Math.acos(a)+.5;4>c?c=4:c>this.sr&&(c=this.sr);return d.J.truncate(c)};e.prototype.WE=function(a,c,b,e,f){this.Qv();var h=new d.b;h.zc(b,c);h.scale(this.ww);var l=new d.b;l.zc(e,c);l.scale(this.ww);h=Math.atan2(h.y,h.x)/this.VA;0>h&&(h=this.Wd.length+h);h=this.Wd.length-h;l=Math.atan2(l.y,l.x)/this.VA;0>l&&(l=this.Wd.length+l);l=this.Wd.length-l;l<h&&(l+=this.Wd.length);var k=d.J.truncate(l),l=d.J.truncate(Math.ceil(h)),
- h=new d.b;h.L(this.Wd[l%this.Wd.length]);h.qu(this.vb,c);var r=10*this.ta;h.sub(b);h.length()<r&&(l+=1);h.L(this.Wd[k%this.Wd.length]);h.qu(this.vb,c);h.sub(e);h.length()<r&&--k;b=k-l;b++;k=0;for(l%=this.Wd.length;k<b;k++,l=(l+1)%this.Wd.length)h.L(this.Wd[l]),h.qu(this.vb,c),a.aj(h),this.Or();f&&a.aj(e)};e.prototype.to=function(a,c,b,e,f){var h=new d.fd,l=h.jP(a,c);h.zq(this.YA,!1,!1);if(2>h.D(l)){if(0>f)return 1;f=a;h=new d.Wa;f.Ae(f.wa(c),h);this.hv(b,h);return 1}var k=h.Aa(h.cb(h.Pb(l))),r=new d.Hd;
- r.Ag(-k.x,-k.y);h.Xc(r);if(e&&(this.nS(h,l,f),2>h.D(l))){if(0>f)return 1;f=a;h=new d.Wa;f.Ae(f.wa(c),h);this.hv(b,h);return 1}this.te.length=0;var t=h.Pb(l);c=h.cb(t);var m=1==f?h.Ra(c):h.U(c);a=1==f?h.U(c):h.Ra(c);var y=!0;e=new d.b;for(var l=new d.b,n=new d.b,z=new d.b,B=new d.b,A=new d.b,C=new d.b,E=new d.b,F=new d.b,G=new d.b,H=this.vb,t=h.Ka(t),J=0;J<t;J++)h.w(a,l),y&&(h.w(c,e),h.w(m,n),E.zc(e,n),E.normalize(),G.$H(E),G.scale(H),z.add(G,e)),C.zc(l,e),C.normalize(),F.$H(C),F.scale(H),B.add(e,
- F),m=E.Ui(C),y=E.oi(C),0>m||0>y&&0==m?this.te.push(g.Dv(z,B,e,2,this.te.length+1,this.te.length-1)):z.ub(B)||(this.te.push(g.pa(z,e,this.te.length+1,this.te.length-1,"dummy")),this.te.push(g.pa(e,B,this.te.length+1,this.te.length-1,"dummy"))),A.add(l,F),this.te.push(g.Dv(B,A,e,1,this.te.length+1,this.te.length-1)),z.L(A),G.L(F),n.L(e),e.L(l),E.L(C),m=c,c=a,y=!1,a=1==f?h.U(c):h.Ra(c);this.te[this.te.length-1].Nh=0;this.te[0].Qh=this.te.length-1;this.PW(b);r.Ag(k.x,k.y);b.jF(r,b.aa()-1);return 1};e.prototype.PW=
- function(a){for(var c=this.BQ(),b=!0,e=c+1,f=c;e!=c;f=e){var d=this.te[f],e=-1!=d.Nh?d.Nh:(f+1)%this.te.length;0!=d.qp&&(b&&a.yu(d.vn),2==d.qp?this.WE(a,d.Nw,d.vn,d.Jn,!0):a.aj(d.Jn),b=!1)}};e.prototype.BQ=function(){null==this.Et&&(this.Et=[null,null,null,null,null,null,null,null,null]);for(var a=0,c=0,b=this.te.length;c<b;){var e=this.te[c];if(0!=(e.qp&3)){a=c;break}c=e.Nh}b=a+1;for(c=a;b!=a;c=b){for(var e=this.te[c],b=e.Nh,f=1,g=null;b!=c;){g=this.te[b];if(0!=(g.qp&3))break;b=g.Nh;f++}1!=f&&1==
- (e.qp&g.qp)&&(null==this.Ft&&(this.Ft=new d.Hb,this.Yw=new d.Hb),this.Ft.Mc(e.vn),this.Ft.Zc(e.Jn),this.Yw.Mc(g.vn),this.Yw.Zc(g.Jn),1==this.Ft.Ma(this.Yw,this.Et,null,null,this.Ut)&&(e.Jn.L(this.Et[0]),g.vn.L(this.Et[0]),e.Nh=b,g.Qh=c))}return a};e.prototype.rw=function(a,c,b){var e=new d.b;e.zc(b,a);b=e.length();b=this.vb*this.vb-b*b*.25;if(0<b){b=Math.sqrt(b);e.normalize();e.Tr();var f=new d.b;f.zc(c,a);if(f.oi(e)+b>=this.vb)return!0}return!1};e.prototype.nS=function(a,c,b){for(var e=0;1>e;e++){var f=
- !1,h=a.Pb(c),l=a.Ka(h);if(0==l)break;var k=l;if(3>l)break;!a.Qb(h)&&(k=l-1);for(var h=a.cb(h),l=0<b?a.Ra(h):a.U(h),g=0<b?a.U(h):a.Ra(h),m=l,w=!0,y=new d.b,n=new d.b,z=new d.b,B=new d.b,A=new d.b,C=d.b.pa(0,0),E=new d.b,F=new d.b,G=new d.b,H=new d.b,J=this.vb,K=0,S=0;S<k;){a.w(g,n);w&&(a.w(h,y),a.w(l,z),m=l);F.zc(y,z);F.normalize();E.zc(n,y);E.normalize();if(m==g)break;var L=F.Ui(E),I=F.oi(E),R=!0;0>L||0>I&&0==L||!this.rw(z,y,n)||(C.L(n),R=!1,++K,f=!0);if(R){if(0<K)for(;;){L=0<b?a.Ra(m):a.U(m);if(L==
- h)break;a.w(L,B);if(this.rw(B,z,C))z.L(B),m=L,R=!1,++K;else{L!=g&&this.rw(B,z,n)&&this.rw(B,y,n)&&(z.L(B),m=L,R=!1,++K);break}}if(!R)continue;if(0<K){m=0<b?a.Ra(l):a.U(l);for(w=1;w<K;w++)R=0<b?a.Ra(m):a.U(m),a.td(m,!0),m=R;G.zc(y,z);K=G.length();K=J*J-K*K*.25;K=Math.sqrt(K);J-K>.5*this.Xk?(A.add(z,y),A.scale(.5),G.normalize(),G.Tr(),H.L(G),H.scale(J-K),A.add(H),a.Qf(l,A)):a.td(l,!0);K=0}z.L(y);m=h}y.L(n);l=h;h=g;g=0<b?a.U(h):a.Ra(h);S++;w=!1}if(0<K){m=0<b?a.Ra(l):a.U(l);for(w=1;w<K;w++)R=0<b?a.Ra(m):
- a.U(m),a.td(m,!0),m=R;A.add(z,y);A.scale(.5);G.zc(y,z);K=G.length();K=J*J-K*K*.25;K=Math.sqrt(K);G.normalize();G.Tr();H.L(G);H.scale(J-K);A.add(H);a.Qf(l,A)}a.zq(this.YA,!1,!1);if(!f)break}};e.prototype.QH=function(a,c){if(1==a.Ka(c))return!0;var b=new d.h;a.ik(c,b);return Math.max(b.N(),b.fa())<.5*this.Xk?!0:!1};e.prototype.PH=function(a){var c=new d.h;a.s(c);return Math.max(c.N(),c.fa())<.5*this.Xk?!0:!1};e.prototype.NW=function(a){a=d.FD.local().V(a,.25*this.Xk,!1,this.lc);for(var c=0,b=0,e=a.aa();b<
- e;b++)c=Math.max(a.Ka(b),c);if(32>c)return this.cr=!1,a;this.cr=!0;return d.Dg.ol(a,this.Ut,!1,!0,this.lc)};e.prototype.hv=function(a,c){c=c.w();if(null!=this.Wd&&0!==this.Wd.length){var b=new d.b;b.L(this.Wd[0]);b.qu(this.vb,c);a.yu(b);for(var e=1,f=this.Wd.length;e<f;e++)b.L(this.Wd[e]),b.qu(this.vb,c),a.aj(b)}else for(var e=this.BF(),b=d.J.truncate((e+3)/4),e=.5*Math.PI/b,f=Math.cos(e),h=Math.sin(e),l=new d.b,g=3;0<=g;g--){l.ka(0,this.vb);switch(g){case 0:for(e=0;e<b;e++)a.Wj(l.x+c.x,l.y+c.y),
- l.pu(f,h);break;case 1:for(e=0;e<b;e++)a.Wj(-l.y+c.x,l.x+c.y),l.pu(f,h);break;case 2:for(e=0;e<b;e++)a.Wj(-l.x+c.x,-l.y+c.y),l.pu(f,h);break;default:for(a.Zx(l.y+c.x,-l.x+c.y),e=1;e<b;e++)l.pu(f,h),a.Wj(l.y+c.x,-l.x+c.y)}this.Or()}};e.We=function(a){a.Zg(1,0);return a};e.prototype.mY=function(a){a.Zg(2,this.ta);a.Al();return a};return e}();d.OL=e})(n||(n={}));(function(d){var m=function(){function g(b){this.Ga=b;this.a=new d.fd;this.od=new d.ia(0)}g.prototype.ji=function(b,a,c){switch(a){case 0:if(b.o<
- c&&b.v<=c)break;else return b.o>=c?1:-1;case 1:if(b.A<c&&b.B<=c)break;else return b.A>=c?1:-1;case 2:if(b.o>=c&&b.v>c)break;else return b.v<=c?1:-1;case 3:if(!(b.A>=c&&b.B>c))return b.B<=c?1:-1}return 0};g.prototype.gz=function(b,a,c){return 1736==b.G()?this.hz(b,a,c):this.iz(b,a)};g.prototype.hz=function(b,a,c){if(0==this.Ga.N()||0==this.Ga.fa())return b.Ja();a=new d.h;b.ac(a);this.Y=this.a.Jb(b);var e=new d.h,f=new d.h,h=new d.b,l=new d.b,k=[0,0,0,0,0,0,0,0,0],r=[0,0,0,0,0,0,0,0,0];new d.Cg;var g=
- new d.Hb,p=new d.ia(0);p.yb(Math.min(100,b.D()));for(var q=!1,u=0;!q&&4>u;u++){var v=!1,m=0!=(u&1),w=0;switch(u){case 0:w=this.Ga.o;v=a.o<=w&&a.v>=w;break;case 1:w=this.Ga.A;v=a.A<=w&&a.B>=w;break;case 2:w=this.Ga.v;v=a.o<=w&&a.v>=w;break;case 3:w=this.Ga.B,v=a.A<=w&&a.B>=w}if(v)for(q=!0,v=this.a.Pb(this.Y);-1!=v;){var y=-1,n=-1,z=this.a.cb(v),B=z;do{var A=this.a.ic(B);null==A&&(A=g,this.a.w(B,h),A.Mc(h),this.a.w(this.a.U(B),l),A.Zc(l));A.s(e);var C=this.ji(e,u,w),E=0,F=-1;if(-1==C){A=A.Sq(m,w,k,
- r);0<A?E=this.a.zm(B,r,A):E=0;for(var E=E+1,G=B,H=this.a.U(G),A=0;A<E;A++){this.a.w(G,h);this.a.w(H,l);F=this.a.ic(G);null==F&&(F=g,F.Mc(h),F.Zc(l));F.s(f);F=this.ji(f,u,w);if(-1==F){if(m)F=Math.abs(h.y-w),J=Math.abs(l.y-w),F<J?(h.y=w,this.a.Qf(G,h)):(l.y=w,this.a.Qf(H,l));else{var F=Math.abs(h.x-w),J=Math.abs(l.x-w);F<J?(h.x=w,this.a.Qf(G,h)):(l.x=w,this.a.Qf(H,l))}F=this.a.ic(G);null==F&&(F=g,F.Mc(h),F.Zc(l));F.s(f);F=this.ji(f,u,w)}J=y;y=F;-1==n&&(n=y);if(0!=J||1!=y)1==J&&0==y||0!=J||0!=y||p.add(G);
- 1==y&&(q=!1);F=G=H;H=this.a.U(H)}}if(0==E){J=y;y=C;-1==n&&(n=y);if(0!=J||1!=y)1==J&&0==y||0!=J||0!=y||p.add(B);1==y&&(q=!1);F=this.a.U(B)}B=F}while(B!=z);0==n&&0==y&&p.add(z);A=0;for(y=p.size;A<y;A++)n=p.get(A),this.a.td(n,!1);p.clear(!1);v=3>this.a.Ka(v)?this.a.Qr(v):this.a.Sb(v)}}if(q)return b.Ja();this.eC();0<c&&this.uz(c);return this.a.Se(this.Y)};g.prototype.iz=function(b){var a=new d.h,c=new d.h,e=[0,0,0,0,0,0,0,0,0],f=[0,0,0,0,0,0,0,0,0],h=new d.Cg,l=b,k=new d.h;b.ac(k);for(var r=0;4>r;r++){var g=
- !1,p=0!=(r&1),q=0;switch(r){case 0:q=this.Ga.o;g=k.o<=q&&k.v>=q;break;case 1:q=this.Ga.A;g=k.A<=q&&k.B>=q;break;case 2:q=this.Ga.v;g=k.o<=q&&k.v>=q;break;case 3:q=this.Ga.B,g=k.A<=q&&k.B>=q}if(g){g=l;l=b.Ja();g=g.Da();g.yj();for(var u,v=new d.b;g.Ya();)for(var m,w=!0;g.Ca();){var y=g.ba();y.s(a);var n=this.ji(a,r,q);if(-1==n){if(n=y.Sq(p,q,e,f),0<n){var z=0;u=y.ec();for(var B=0;B<=n;B++)if(m=B<n?f[B]:1,z!=m){y.yh(z,m,h);var A=h.get();A.Mc(u);B<n&&(p?(v.x=e[B],v.y=q):(v.x=q,v.y=e[B]),A.Zc(v));A.s(c);
- var C=this.ji(c,r,q);if(-1==C){u=A.ec();z=A.Cc();if(p)C=Math.abs(u.y-q),E=Math.abs(z.y-q),C<E?(u.y=q,A.Mc(u)):(z.y=q,A.Zc(z));else{var C=Math.abs(u.x-q),E=Math.abs(z.x-q);C<E?(u.x=q,A.Mc(u)):(z.x=q,A.Zc(z))}A.s(c);C=this.ji(c,r,q)}u=A.Cc();z=m;m=C;1==m?(l.dc(A,w),w=!1):w=!0}}}else m=n,1==m?(l.dc(y,w),w=!1):w=!0}}}return l};g.prototype.eC=function(){this.Ki=-1;this.Am(!1,this.Ga.o);this.Am(!1,this.Ga.v);this.Am(!0,this.Ga.A);this.Am(!0,this.Ga.B);this.od.resize(0);this.od.yb(100);this.Ki=this.a.Vd();
- for(var b=new d.b,a=this.a.Pb(this.Y);-1!=a;a=this.a.Sb(a))for(var c=this.a.cb(a),e=0,f=this.a.Ka(a);e<f;e++,c=this.a.U(c))if(this.a.w(c,b),this.Ga.o==b.x||this.Ga.v==b.x||this.Ga.A==b.y||this.Ga.B==b.y)this.a.Va(c,this.Ki,this.od.size),this.od.add(c);this.sm(!1,this.Ga.o);this.sm(!1,this.Ga.v);this.sm(!0,this.Ga.A);this.sm(!0,this.Ga.B);this.Bz()};g.prototype.uz=function(b){for(var a=new d.b,c=new d.b,e=d.J.gf(2048,0),f=this.a.Pb(this.Y);-1!=f;f=this.a.Sb(f)){var h=this.a.cb(f),l=h;do{var k=this.a.U(l);
- this.a.w(l,a);var r=-1;a.x==this.Ga.o?(this.a.w(k,c),c.x==this.Ga.o&&(r=1)):a.x==this.Ga.v&&(this.a.w(k,c),c.x==this.Ga.v&&(r=1));a.y==this.Ga.A?(this.a.w(k,c),c.y==this.Ga.A&&(r=0)):a.y==this.Ga.B&&(this.a.w(k,c),c.y==this.Ga.B&&(r=0));if(-1!=r&&(r=d.b.Cb(a,c),r=d.J.truncate(Math.min(Math.ceil(r/b),2048)),!(1>=r))){for(var g=1;g<r;g++)e[g-1]=1*g/r;this.a.zm(l,e,r-1)}l=k}while(l!=h)}};g.prototype.Am=function(b,a){var c=this.a.Vd(),e=new d.b,f=new d.ia(0);f.yb(100);for(var h=this.a.Pb(this.Y);-1!=
- h;h=this.a.Sb(h))for(var l=this.a.cb(h),k=0,r=this.a.Ka(h);k<r;k++){var g=this.a.U(l);this.a.w(l,e);if(b?e.y==a:e.x==a)if(this.a.w(g,e),b?e.y==a:e.x==a)1!=this.a.Sa(l,c)&&(f.add(l),this.a.Va(l,c,1)),1!=this.a.Sa(g,c)&&(f.add(g),this.a.Va(g,c,1));l=g}this.a.ke(c);if(!(3>f.size)){var p=this;f.Gd(0,f.size,function(a,c){return p.ki(a,c)});c=new d.b;h=new d.b;l=new d.b;h.$c();for(var q=-1,k=new d.ia(0),r=new d.ia(0),g=this.a.Vd(),u=this.a.Vd(),v=0,m=f.size;v<m;v++){var w=f.get(v);this.a.w(w,e);if(!e.ub(h)){if(-1!=
- q){for(var y=q;y<v;y++){var q=f.get(y),n=this.a.U(q),w=this.a.Ra(q),z=!1;0>this.ki(q,n)&&(this.a.w(n,c),b?c.y==a:c.x==a)&&(k.add(q),z=!0,this.a.Va(q,u,1));0>this.ki(q,w)&&(this.a.w(w,c),b?c.y==a:c.x==a)&&(z||k.add(q),this.a.Va(q,g,1))}y=0;for(z=k.size;y<z;y++){q=k.get(y);w=this.a.Sa(q,g);n=this.a.Sa(q,u);if(1==w){w=this.a.Ra(q);this.a.w(w,l);var B=[0];B[0]=0;if(!l.ub(e)){var A=d.b.Cb(h,l);B[0]=d.b.Cb(l,e)/A;0==B[0]?B[0]=2.220446049250313E-16:1==B[0]&&(B[0]=.9999999999999998);this.a.zm(w,B,1);w=this.a.Ra(q);
- this.a.Qf(w,e);r.add(w);this.a.Va(w,g,1);this.a.Va(w,u,-1)}}1==n&&(n=this.a.U(q),this.a.w(n,l),B=[0],B[0]=0,l.ub(e)||(A=d.b.Cb(h,l),B[0]=d.b.Cb(h,e)/A,0==B[0]?B[0]=2.220446049250313E-16:1==B[0]&&(B[0]=.9999999999999998),this.a.zm(q,B,1),w=this.a.U(q),this.a.Qf(w,e),r.add(w),this.a.Va(w,g,-1),this.a.Va(w,u,1)))}q=k;k=r;r=q;r.clear(!1)}q=v;h.L(e)}}this.a.ke(g);this.a.ke(u)}};g.prototype.sm=function(b,a){var c=new d.b,e=new d.ia(0);e.yb(100);for(var f=this.a.Vd(),h=0,l=this.od.size;h<l;h++){var k=this.od.get(h);
- if(-1!=k){var r=this.a.U(k);this.a.w(k,c);if(b?c.y==a:c.x==a)if(this.a.w(r,c),b?c.y==a:c.x==a)-2!=this.a.Sa(k,f)&&(e.add(k),this.a.Va(k,f,-2)),-2!=this.a.Sa(r,f)&&(e.add(r),this.a.Va(r,f,-2))}}if(0!=e.size){var g=this;e.Gd(0,e.size,function(a,c){return g.ki(a,c)});h=0;for(l=e.size;h<l;h++){var p=e.get(h);this.a.Va(p,f,h)}k=new d.b;r=new d.b;r.$c();for(var q=-1,h=0,l=e.size;h<l;h++)if(p=e.get(h),-1!=p&&(this.a.w(p,c),!c.ub(r))){if(-1!=q)for(;;){for(var p=!1,u=1<h-q?h-1:h,v=q;v<u;v++){var m=e.get(v);
- if(-1!=m){var w=-1,y=this.a.U(m);0>this.ki(m,y)&&(this.a.w(y,k),b?k.y==a:k.x==a)&&(w=y);var y=-1,n=this.a.Ra(m);0>this.ki(m,n)&&(this.a.w(n,k),b?k.y==a:k.x==a)&&(y=n);if(-1!=w&&-1!=y)this.ii(m,e,f),this.a.td(m,!1),this.ii(w,e,f),this.a.td(w,!1),p=!0;else if(-1!=w||-1!=y){for(n=v+1;n<h;n++){var z=e.get(n);if(-1!=z){var B=this.a.U(z),A=-1;0>this.ki(z,B)&&(this.a.w(B,k),b?k.y==a:k.x==a)&&(A=B);var B=this.a.Ra(z),C=-1;0>this.ki(z,B)&&(this.a.w(B,k),b?k.y==a:k.x==a)&&(C=B);if(-1!=A&&-1!=C){this.ii(z,e,
- f);this.a.td(z,!1);this.ii(A,e,f);this.a.td(A,!1);p=!0;break}if(-1!=w&&-1!=C){this.nu(e,m,w,z,C,f);p=!0;break}else if(-1!=y&&-1!=A){this.nu(e,z,A,m,y,f);p=!0;break}}}if(p)break}}}if(!p)break}q=h;r.L(c)}}this.a.ke(f)};g.prototype.ii=function(b,a,c){c=this.a.Sa(b,c);a.set(c,-1);c=this.a.Sa(b,this.Ki);this.od.set(c,-1);a=this.a.ld(b);-1!=a&&this.a.cb(a)==b&&(this.a.jg(a,-1),this.a.sh(a,-1))};g.prototype.nu=function(b,a,c,e,f,d){this.a.Kc(a,e);this.a.Lc(e,a);this.a.Lc(c,f);this.a.Kc(f,c);this.ii(e,b,
- d);this.a.Mi(e,!1);this.ii(f,b,d);this.a.Mi(f,!0)};g.prototype.Bz=function(){for(var b=0,a=this.od.size;b<a;b++){var c=this.od.get(b);-1!=c&&this.a.Aj(c,-1)}for(var e=0,f=0,d=this.a.Pb(this.Y);-1!=d;){var l=this.a.cb(d);if(-1==l||d!=this.a.ld(l)){var k=d,d=this.a.Sb(d);this.a.jg(k,-1);this.a.Rr(k)}else{c=l;k=0;do this.a.Aj(c,d),k++,c=this.a.U(c);while(c!=l);2>=k?(c=this.a.Sa(l,this.Ki),this.od.set(c,-1),l=this.a.td(l,!1),2==k&&(c=this.a.Sa(l,this.Ki),this.od.set(c,-1),this.a.td(l,!1)),k=d,d=this.a.Sb(d),
- this.a.jg(k,-1),this.a.Rr(k)):(this.a.Np(d,!1),this.a.sh(d,this.a.Ra(l)),this.a.mk(d,k),f+=k,e++,d=this.a.Sb(d))}}b=0;for(a=this.od.size;b<a;b++)if(c=this.od.get(b),-1!=c&&(d=this.a.ld(c),-1==d)){d=this.a.Yf(this.Y,-1);k=0;l=c;do this.a.Aj(c,d),k++,c=this.a.U(c);while(c!=l);2>=k?(c=this.a.Sa(l,this.Ki),this.od.set(c,-1),l=this.a.td(l,!1),2==k&&(c=this.a.Sa(l,this.Ki),0<=c&&this.od.set(c,-1),this.a.td(l,!1)),k=d,this.a.jg(k,-1),this.a.Rr(k)):(this.a.ao(d,!0),this.a.mk(d,k),this.a.jg(d,l),this.a.sh(d,
- this.a.Ra(l)),this.a.Np(d,!1),f+=k,e++)}this.a.wm(this.Y,e);this.a.kk(this.Y,f);b=0;for(a=this.a.rd;-1!=a;a=this.a.Ue(a))b+=this.a.D(a);this.a.yC(b)};g.Im=function(b,a,c,e){return(new g(a)).gz(b,c,e)};g.clip=function(b,a,c,e){if(b.u())return b;if(a.u())return b.Ja();var f=b.G();if(33==f)return c=b.w(),a.contains(c)?b:b.Ja();if(197==f)return c=new d.h,b.s(c),c.Ma(a)?(a=new d.ci,b.copyTo(a),a.Gp(c),a):b.Ja();var h=new d.h;b.ac(h);if(a.contains(h))return b;if(!a.Yb(h))return b.Ja();h=b.ob;if(null!=h&&
- (h=h.Hi,null!=h)){h=h.Sn(a);if(1==h){if(1736!=f)throw d.f.ya();b=new d.Ia(b.description);b.oq(a);return b}if(0==h)return b.Ja()}switch(f){case 550:e=null;for(var f=b.D(),h=b.Pa(0),l=0,k=0;k<f;k++)c=new d.b,h.fc(2*k,c),a.contains(c)||(0==l&&(e=b.Ja()),l<k&&e.Jd(b,l,k),l=k+1);0<l&&e.Jd(b,l,f);return 0==l?b:e;case 1736:case 1607:return g.Im(b,a,c,e);default:throw d.f.ya();}};g.prototype.ki=function(b,a){var c=new d.b;this.a.w(b,c);b=new d.b;this.a.w(a,b);return c.compare(b)};return g}();d.me=m})(n||
- (n={}));(function(d){var m=function(){function g(b,a){this.Ga=b;this.a=new d.fd;this.od=new d.ia(0);this.je=a}g.prototype.ji=function(b,a,c){switch(a){case 0:if(b.o<c&&b.v<=c)break;else return b.o>=c?1:-1;case 1:if(b.A<c&&b.B<=c)break;else return b.A>=c?1:-1;case 2:if(b.o>=c&&b.v>c)break;else return b.v<=c?1:-1;case 3:if(!(b.A>=c&&b.B>c))return b.B<=c?1:-1}return 0};g.prototype.gz=function(b,a,c){return 1736==b.G()?this.hz(b,a,c):this.iz(b,a)};g.prototype.hz=function(b,a,c){if(0==this.Ga.N()||0==
- this.Ga.fa())return b.Ja();a=new d.h;b.ac(a);this.Y=this.a.Jb(b);var e=new d.h,f=new d.h,h=new d.b,l=new d.b,k=[0,0,0,0,0,0,0,0,0],r=[0,0,0,0,0,0,0,0,0],g=new d.Hb,p=new d.ia(0);p.yb(256);for(var q=!1,u=0;!q&&4>u;u++){var v=!1,m=0!=(u&1),w=0;switch(u){case 0:w=this.Ga.o;v=a.o<=w&&a.v>=w;break;case 1:w=this.Ga.A;v=a.A<=w&&a.B>=w;break;case 2:w=this.Ga.v;v=a.o<=w&&a.v>=w;break;case 3:w=this.Ga.B,v=a.A<=w&&a.B>=w}if(v)for(q=!0,v=this.a.Pb(this.Y);-1!=v;){var y=!0,n=-1,z=-1,B=this.a.cb(v),A=B;do{var C=
- this.a.ic(A);null==C&&(C=g,this.a.w(A,h),C.Mc(h),this.a.w(this.a.U(A),l),C.Zc(l));C.s(e);var E=this.ji(e,u,w),F=0,G=-1;if(-1==E){C=C.Sq(m,w,k,r);0<C?F=this.a.DY(A,r,C):F=0;for(var F=F+1,H=A,J=this.a.U(H),C=0;C<F;C++){this.a.w(H,h);this.a.w(J,l);G=this.a.ic(H);null==G&&(G=g,G.Mc(h),G.Zc(l));G.s(f);G=this.ji(f,u,w);if(-1==G){if(m)G=Math.abs(h.y-w),K=Math.abs(l.y-w),G<K?(h.y=w,this.a.Qf(H,h)):(l.y=w,this.a.Qf(J,l));else{var G=Math.abs(h.x-w),K=Math.abs(l.x-w);G<K?(h.x=w,this.a.Qf(H,h)):(l.x=w,this.a.Qf(J,
- l))}G=this.a.ic(H);null==G&&(G=g,G.Mc(h),G.Zc(l));G.s(f);G=this.ji(f,u,w)}K=n;n=G;-1==z&&(z=n);if(0!=K||1!=n)1==K&&0==n||0!=K||0!=n||p.add(H);1==n&&(y=q=!1);G=H=J;J=this.a.U(J)}}if(0==F){K=n;n=E;-1==z&&(z=n);if(0!=K||1!=n)1==K&&0==n||0!=K||0!=n||p.add(A);1==n&&(y=q=!1);G=this.a.U(A)}A=G;if(256<=p.size){C=1;for(E=p.size-1;C<E;C++)F=p.get(C),this.a.td(F,!1);p.set(1,p.Fc());p.yf(2)}}while(A!=B);if(!y)for(0==z&&0==n&&p.add(B),C=0,E=p.size;C<E;C++)F=p.get(C),this.a.td(F,!1);p.clear(!1);v=y||0==this.a.Ka(v)?
- this.a.Qr(v):this.a.Sb(v)}}if(q)return b.Ja();this.eC();0<c&&this.uz(c);return this.a.Se(this.Y)};g.prototype.iz=function(b){var a=new d.h,c=new d.h,e=[0,0,0,0,0,0,0,0,0],f=[0,0,0,0,0,0,0,0,0],h=new d.Cg,l=b,k=new d.h;b.ac(k);for(var r=new d.b,g=new d.b,p=null,q=null,u=0;4>u;u++){var v=!1,m=0!=(u&1),w=0;switch(u){case 0:w=this.Ga.o;v=k.o<=w&&k.v>=w;break;case 1:w=this.Ga.A;v=k.A<=w&&k.B>=w;break;case 2:w=this.Ga.v;v=k.o<=w&&k.v>=w;break;case 3:w=this.Ga.B,v=k.A<=w&&k.B>=w}if(v)for(v=l,l=b.Ja(),v=
- v.Da(),v.yj();v.Ya();)for(var y,n=!0;v.Ca();){var z=v.ba();z.s(a);var B=this.ji(a,u,w);if(-1==B){if(B=z.Sq(m,w,e,f),0<B){var A=0;z.Oq(r);for(var C=0;C<=B;C++)if(y=C<B?f[C]:1,A!=y){z.yh(A,y,h);var E=h.get();E.Mc(r);C<B&&(m?(g.x=e[C],g.y=w):(g.x=w,g.y=e[C]),E.Zc(g));E.s(c);var F=this.ji(c,u,w);-1==F&&(null==p&&(p=new d.b),null==q&&(q=new d.b),E.Oq(p),E.Os(q),m?(A=Math.abs(p.y-w),F=Math.abs(q.y-w),A<F?(p.y=w,E.Mc(p)):(q.y=w,E.Zc(q))):(A=Math.abs(p.x-w),F=Math.abs(q.x-w),A<F?(p.x=w,E.Mc(p)):(q.x=w,E.Zc(q))),
- E.s(c),F=this.ji(c,u,w));E.Os(r);A=y;y=F;1==y?(l.dc(E,n),n=!1):n=!0}}}else y=B,1==y?(l.dc(z,n),n=!1):n=!0}}return l};g.prototype.eC=function(){this.Ki=-1;this.Am(!1,this.Ga.o);this.Am(!1,this.Ga.v);this.Am(!0,this.Ga.A);this.Am(!0,this.Ga.B);this.od.resize(0);this.od.yb(100);this.Ki=this.a.Vd();for(var b=new d.b,a=this.a.Pb(this.Y);-1!=a;a=this.a.Sb(a))for(var c=this.a.cb(a),e=0,f=this.a.Ka(a);e<f;e++,c=this.a.U(c))if(this.a.w(c,b),this.Ga.o==b.x||this.Ga.v==b.x||this.Ga.A==b.y||this.Ga.B==b.y)this.a.Va(c,
- this.Ki,this.od.size),this.od.add(c);this.sm(!1,this.Ga.o);this.sm(!1,this.Ga.v);this.sm(!0,this.Ga.A);this.sm(!0,this.Ga.B);this.Bz()};g.prototype.uz=function(b){for(var a=new d.b,c=new d.b,e=null,f=null,h=d.J.gf(2048,0),l=this.a.Pb(this.Y);-1!=l;l=this.a.Sb(l)){var k=this.a.cb(l),r=k;do{var g=this.a.U(r);this.a.w(r,a);var p=-1;a.x==this.Ga.o?(this.a.w(g,c),c.x==this.Ga.o&&(p=1)):a.x==this.Ga.v&&(this.a.w(g,c),c.x==this.Ga.v&&(p=1));a.y==this.Ga.A?(this.a.w(g,c),c.y==this.Ga.A&&(p=0)):a.y==this.Ga.B&&
- (this.a.w(g,c),c.y==this.Ga.B&&(p=0));if(-1!=p){null==e&&(e=new d.b);null==f&&(f=new d.b);e.L(a);f.ka(0,0);if(0==p){var q=a.x-this.Ga.o;f.x=d.Ub.sign(c.x-a.x);e.x=b*d.Ub.Fl(Math.floor(Math.abs(q/b)),q)+this.Ga.o;0>e.x&&(e.x+=b)}else q=a.y-this.Ga.A,f.y=d.Ub.sign(c.y-a.y),e.y=b*d.Ub.Fl(Math.floor(Math.abs(q/b)),q)+this.Ga.A,0>e.y&&(e.y+=b);var q=0!=p?c.y-a.y:c.x-a.x,u=Math.abs(q);if(65536<u/b)throw d.f.X("internal error");if(0<u){u=d.J.truncate(u/b)+2;h.length<u&&(h=d.J.gf(u));for(var v=u=0;;v++){var m=
- new d.b;m.x=e.x+f.x*v*b;m.y=e.y+f.y*v*b;m=(0!=p?m.y-a.y:m.x-a.x)/q;if(1<=m)break;0>=m||(h[u]=m,u++)}0!=u&&this.a.zm(r,h,u)}}r=g}while(r!=k)}};g.prototype.Am=function(b,a){for(var c=-1,e=new d.b,f=null,h=this.a.Pb(this.Y);-1!=h;h=this.a.Sb(h))for(var l=this.a.cb(h),k=0,r=this.a.Ka(h);k<r;k++){var g=this.a.U(l);this.a.w(l,e);if(b?e.y==a:e.x==a)if(this.a.w(g,e),b?e.y==a:e.x==a)-1==c&&(c=this.a.Vd()),null==f&&(f=new d.ia(0),f.yb(100)),1!=this.a.Sa(l,c)&&(f.add(l),this.a.Va(l,c,1)),1!=this.a.Sa(g,c)&&
- (f.add(g),this.a.Va(g,c,1));l=g}-1!=c&&this.a.ke(c);if(!(null==f||3>f.size)){var p=this;f.Gd(0,f.size,function(a,c){return p.ki(a,c)});c=new d.b;h=new d.b;l=new d.b;h.$c();for(var q=-1,k=new d.ia(0),r=new d.ia(0),g=null,u=this.a.Vd(),v=this.a.Vd(),m=0,w=f.size;m<w;m++){var y=f.get(m);this.a.w(y,e);if(!e.ub(h)){if(-1!=q){for(var n=q;n<m;n++){var q=f.get(n),z=this.a.U(q),y=this.a.Ra(q),B=!1;this.a.w(z,c);0>h.compare(c)&&(b?c.y==a:c.x==a)&&(k.add(q),B=!0,this.a.Va(q,v,1));this.a.w(y,c);0>h.compare(c)&&
- (b?c.y==a:c.x==a)&&(B||k.add(q),this.a.Va(q,u,1))}n=0;for(B=k.size;n<B;n++){q=k.get(n);y=this.a.Sa(q,u);z=this.a.Sa(q,v);if(1==y&&(y=this.a.Ra(q),this.a.w(y,l),!l.ub(e))){null==g&&(g=[]);var A=d.b.Cb(h,l);g[0]=d.b.Cb(l,e)/A;0==g[0]?g[0]=2.220446049250313E-16:1==g[0]&&(g[0]=.9999999999999998);this.a.zm(y,g,1);y=this.a.Ra(q);this.a.Qf(y,e);r.add(y);this.a.Va(y,u,1);this.a.Va(y,v,-1)}1==z&&(z=this.a.U(q),this.a.w(z,l),l.ub(e)||(null==g&&(g=[]),A=d.b.Cb(h,l),g[0]=d.b.Cb(h,e)/A,0==g[0]?g[0]=2.220446049250313E-16:
- 1==g[0]&&(g[0]=.9999999999999998),this.a.zm(q,g,1),y=this.a.U(q),this.a.Qf(y,e),r.add(y),this.a.Va(y,u,-1),this.a.Va(y,v,1)))}q=k;k=r;r=q;r.clear(!1)}q=m;h.L(e)}}this.a.ke(u);this.a.ke(v)}};g.prototype.sm=function(b,a){for(var c=new d.b,e=null,f=-1,h=0,l=this.od.size;h<l;h++){var k=this.od.get(h);if(-1!=k){var r=this.a.U(k);this.a.w(k,c);if(b?c.y==a:c.x==a)if(this.a.w(r,c),b?c.y==a:c.x==a)-1==f&&(f=this.a.Vd()),null==e&&(e=new d.ia(0),e.yb(100)),-2!=this.a.Sa(k,f)&&(e.add(k),this.a.Va(k,f,-2)),-2!=
- this.a.Sa(r,f)&&(e.add(r),this.a.Va(r,f,-2))}}if(null==e)-1!=f&&this.a.ke(f);else{var g=this;e.Gd(0,e.size,function(a,c){return g.ki(a,c)});h=0;for(l=e.size;h<l;h++){var p=e.get(h);this.a.Va(p,f,h)}k=new d.b;r=new d.b;r.$c();for(var q=-1,h=0,l=e.size;h<l;h++)if(p=e.get(h),-1!=p&&(this.a.w(p,c),!c.ub(r))){if(-1!=q)for(;;){for(var p=!1,u=1<h-q?h-1:h,v=q;v<u;v++){var m=e.get(v);if(-1!=m){var w=-1,y=this.a.U(m);this.a.w(y,k);0>r.compare(k)&&(b?k.y==a:k.x==a)&&(w=y);var y=-1,n=this.a.Ra(m);this.a.w(n,
- k);0>r.compare(k)&&(b?k.y==a:k.x==a)&&(y=n);if(-1!=w&&-1!=y)this.ii(m,e,f),this.a.td(m,!1),this.ii(w,e,f),this.a.td(w,!1),p=!0;else if(-1!=w||-1!=y){for(n=v+1;n<h;n++){var z=e.get(n);if(-1!=z){var B=this.a.U(z),A=-1;this.a.w(B,k);0>r.compare(k)&&(b?k.y==a:k.x==a)&&(A=B);var B=this.a.Ra(z),C=-1;this.a.w(B,k);0>r.compare(k)&&(b?k.y==a:k.x==a)&&(C=B);if(-1!=A&&-1!=C){this.ii(z,e,f);this.a.td(z,!1);this.ii(A,e,f);this.a.td(A,!1);p=!0;break}if(-1!=w&&-1!=C){this.nu(e,m,w,z,C,f);p=!0;break}else if(-1!=
- y&&-1!=A){this.nu(e,z,A,m,y,f);p=!0;break}}}if(p)break}}}if(!p)break}q=h;r.L(c)}this.a.ke(f)}};g.prototype.ii=function(b,a,c){c=this.a.Sa(b,c);a.set(c,-1);c=this.a.Sa(b,this.Ki);this.od.set(c,-1);a=this.a.ld(b);-1!=a&&this.a.cb(a)==b&&(this.a.jg(a,-1),this.a.sh(a,-1))};g.prototype.nu=function(b,a,c,e,f,d){this.a.Kc(a,e);this.a.Lc(e,a);this.a.Lc(c,f);this.a.Kc(f,c);this.ii(e,b,d);this.a.Mi(e,!1);this.ii(f,b,d);this.a.Mi(f,!0)};g.prototype.Bz=function(){for(var b=0,a=this.od.size;b<a;b++){var c=this.od.get(b);
- -1!=c&&this.a.Aj(c,-1)}for(var e=0,f=0,d=this.a.Pb(this.Y);-1!=d;){var l=this.a.cb(d);if(-1==l||d!=this.a.ld(l)){var k=d,d=this.a.Sb(d);this.a.jg(k,-1);this.a.Rr(k)}else{c=l;k=0;do this.a.Aj(c,d),k++,c=this.a.U(c);while(c!=l);this.a.Np(d,!1);this.a.sh(d,this.a.Ra(l));this.a.mk(d,k);f+=k;e++;d=this.a.Sb(d)}}b=0;for(a=this.od.size;b<a;b++)if(c=this.od.get(b),-1!=c&&(d=this.a.ld(c),-1==d)){d=this.a.Yf(this.Y,-1);k=0;l=c;do this.a.Aj(c,d),k++,c=this.a.U(c);while(c!=l);2>=k?(c=this.a.Sa(l,this.Ki),this.od.set(c,
- -1),l=this.a.td(l,!1),2==k&&(c=this.a.Sa(l,this.Ki),0<=c&&this.od.set(c,-1),this.a.td(l,!1)),k=d,this.a.jg(k,-1),this.a.Rr(k)):(this.a.ao(d,!0),this.a.mk(d,k),this.a.jg(d,l),this.a.sh(d,this.a.Ra(l)),this.a.Np(d,!1),f+=k,e++)}this.a.wm(this.Y,e);this.a.kk(this.Y,f);b=0;for(a=this.a.rd;-1!=a;a=this.a.Ue(a))b+=this.a.D(a);this.a.yC(b)};g.We=function(b,a,c,e,f){return(new g(a,f)).gz(b,c,e)};g.clip=function(b,a,c,e,f){return g.rq(b,a,null,c,e,f)};g.rq=function(b,a,c,e,f,h){var l=b.G();if(33==l)return f=
- b.w(),a.contains(f)?b:b.Ja();if(197==l)return f=new d.h,b.s(f),f.Ma(a)?(a=new d.ci,b.copyTo(a),a.Gp(f),a):b.Ja();if(b.u())return b;if(a.u())return b.Ja();var k=new d.h;b.ac(k);if(a.contains(k))return b;if(!a.Yb(k))return b.Ja();if(null!=c||isNaN(e))e=d.ma.Yy(c,a,!1);if(!d.T.gh(l))throw d.f.F();c=b.ob;if(null!=c&&(c=c.Hi,null!=c)){c=c.Sn(a);if(1==c){if(1736!=l)throw d.f.X("internal error");b=new d.Ia(b.description);b.oq(a);return b}if(0==c)return b.Ja()}switch(l){case 550:h=null;l=b.D();e=b.Pa(0);
- c=0;f=new d.b;for(k=0;k<l;k++)e.fc(2*k,f),a.contains(f)||(0==c&&(h=b.Ja()),c<k&&h.Jd(b,c,k),c=k+1);0<c&&h.Jd(b,c,l);return 0==c?b:h;case 1736:case 1607:return g.We(b,a,e,f,h);default:throw d.f.X("internal error");}};g.prototype.ki=function(b,a){var c=new d.b;this.a.w(b,c);b=new d.b;this.a.w(a,b);return c.compare(b)};return g}();d.uh=m})(n||(n={}));(function(d){var m=new d.b,g=function(){function a(a,b,f,h,l){this.Dn=new d.b;this.fl=new d.b;this.oj=new d.b;this.a=a;this.ox=f;this.ap=h;this.Dn=b;this.dm=
- l;this.fl.$c();this.oj.$c()}a.prototype.FF=function(a){this.a.w(a,this.fl);a=d.J.truncate((this.fl.x-this.Dn.x)*this.ap+.5);var c=d.J.truncate((this.fl.y-this.Dn.y)*this.ap+.5);return b.uH(a,c)};a.prototype.Uz=function(a){return this.a.Sa(a,this.dm)};a.prototype.yz=function(a,e){this.a.w(a,this.fl);this.a.w(e,this.oj);return b.ow(this.fl.x,this.fl.y,this.oj.x,this.oj.y,this.ox)};return a}();d.DZ=function(){return function(){}}();var b=function(){function a(){this.Dn=new d.b;this.dr=[0,0,0,0];this.st=
- [0,0,0,0];this.ep=this.dm=-1}a.aS=function(c,b){var e=new a;e.a=c;e.ta=b;e.ox=b*b;e.Mw=2*b;e.ap=1/e.Mw;return e.DQ()};a.ow=function(a,b,f,d,l){a-=f;b-=d;return a*a+b*b<=l};a.uH=function(a,b){return d.J.dh(b,d.J.dh(a))};a.prototype.FQ=function(c,b){this.a.Nc(c,m);for(var e=(m.y-this.Dn.y)*this.ap,h=d.J.truncate((m.x-this.Dn.x)*this.ap),l=d.J.truncate(e),k=e=0;1>=k;k+=1)for(var r=0;1>=r;r+=1){var g=a.uH(h+k,l+r),p=this.cm.gT(g);-1!=p&&(this.dr[e]=p,this.st[e]=g,e++)}for(h=e-1;1<=h;h--)for(p=this.dr[h],
- l=h-1;0<=l;l--)if(p==this.dr[l]){this.st[l]=-1;e--;h!=e&&(this.st[h]=this.st[e],this.dr[h]=this.dr[e]);break}for(l=0;l<e;l++)this.GQ(c,this.st[l],m,this.dr[l],b)};a.prototype.GQ=function(c,b,f,h,l){for(var e=new d.b;-1!=h;h=this.cm.wT(h)){var r=this.cm.ja(h);c==r||-1!=b&&this.a.Sa(r,this.dm)!=b||(this.a.Nc(r,e),a.ow(f.x,f.y,e.x,e.y,this.ox)&&l.add(h))}};a.prototype.Mn=function(a,b,f){var c=this.a.Sa(a,this.ep),e=this.a.Sa(b,this.ep);-1==c&&(c=this.Pd.mi(),this.Pd.addElement(c,a),this.a.Va(a,this.ep,
- c));-1==e?this.Pd.addElement(c,b):this.Pd.lz(c,e);this.a.Va(b,this.ep,-2);b=this.VV(a,b);f&&(f=this.Xw.FF(a),this.a.Va(a,this.dm,f));return b};a.UV=function(c,b,f){c.Eb(b);f=c;var e=new d.b;a.EX(c.w(),b.w(),e);f.rb(e)};a.EX=function(a,b,f){var c=a.x;a.x!=b.x&&(c=(1*a.x+1*b.x)/2);var e=a.y;a.y!=b.y&&(e=(1*a.y+1*b.y)/2);f.ka(c,e)};a.prototype.VV=function(a,b){var c=new d.b;this.a.w(a,c);var e=new d.b;this.a.w(b,e);var l=this.a.nH(a);b=this.a.nH(b);var k=l+b,r=0,g=c.x;c.x!=e.x&&(g=(c.x*l+e.x*b)/k,r++);
- var p=c.y;c.y!=e.y&&(p=(c.y*l+e.y*b)/k,r++);0<r&&this.a.rb(a,g,p);this.a.pY(a,k);return 0!=r};a.prototype.DQ=function(){var a=this.a.ud,b=this.a.SG();this.Dn=b.Xz();b=Math.max(b.fa(),b.N())/2147483646;this.Mw<b&&(this.Mw=b,this.ap=1/this.Mw);this.Pd=new d.Ku;this.Pd.ou(d.J.truncate(this.a.ud/3+1));this.Pd.Wn(d.J.truncate(this.a.ud/3+1));this.dm=this.a.Vd();this.ep=this.a.Vd();this.Xw=new g(this.a,this.Dn,this.ox,this.ap,this.dm);this.cm=new d.DM(d.J.truncate(4*a/3),this.Xw);this.cm.wX(this.a.ud);
- a=!1;for(b=this.a.rd;-1!=b;b=this.a.Ue(b))for(var f=this.a.Pb(b);-1!=f;f=this.a.Sb(f))for(var h=this.a.cb(f),l=0,k=this.a.Ka(f);l<k;l++){var r=this.Xw.FF(h);this.a.Va(h,this.dm,r);this.cm.addElement(h,r);h=this.a.U(h)}var t=new d.ia(0);t.yb(10);for(b=this.a.rd;-1!=b;b=this.a.Ue(b))for(f=this.a.Pb(b);-1!=f;f=this.a.Sb(f))for(h=this.a.cb(f),l=0,k=this.a.Ka(f);l<k;l++){if(-2!=this.a.Sa(h,this.ep))for(r=this.a.Sa(h,this.dm),this.cm.kd(h,r);;){this.FQ(h,t);if(0==t.size)break;for(var r=!1,p=0,q=t.size;p<
- q;p++){var u=t.get(p),v=this.cm.ja(u);this.cm.Ld(u);r=this.Mn(h,v,p+1==q)||r}a=a||r;t.clear(!1);if(!r)break}h=this.a.U(h)}a&&this.wP();this.Xw=this.cm=null;this.a.ke(this.dm);this.a.ke(this.ep);return a};a.prototype.wP=function(){for(var a=new d.b,b=this.Pd.Ge;-1!=b;b=this.Pd.aA(b)){var f=this.Pd.xc(b);this.a.w(this.Pd.ja(f),a);for(f=this.Pd.nb(f);-1!=f;f=this.Pd.nb(f))this.a.Qf(this.Pd.ja(f),a)}};return a}();d.Hu=b})(n||(n={}));(function(d){var m=function(){function g(b){void 0===b&&(b=null);this.Oe=
- null;this.Fa=!1;null===b?this.Oe=[]:this.Oe=b}g.prototype.copyTo=function(b){if(b.Fa)throw d.f.X("CompositeGeographicTransformation is read-only");for(var a=0;a<this.Oe.length;a++)b.Oe.push(this.Oe[a].Vf())};g.prototype.count=function(){return this.Oe.length};g.prototype.iT=function(b){return this.Oe[b]};g.prototype.add=function(b){if(this.Fa)throw d.f.X("CompositeGeographicTransformation is read-only");this.Oe.push(b.Vf())};g.prototype.clear=function(){if(this.Fa)throw d.f.X("CompositeGeographicTransformation is read-only");
- this.Oe.length=0};g.prototype.remove=function(b){if(this.Fa)throw d.f.X("CompositeGeographicTransformation is read-only");this.Oe.splice(b,1)};g.prototype.Vv=function(){for(var b=this.ne(),a=0;a<b.count();a++)b.iT(a).jt();b.Oe=b.Oe.reverse();return b};g.prototype.ne=function(){var b=new g;this.copyTo(b);return b};g.prototype.Vf=function(){return this.ne()};g.prototype.transform=function(b,a,c,e){if(b.length<a)throw d.f.X("invalid Argument");var f=c;for(c=0;c<this.Oe.length;c++){var h=this.Oe[c];if(null!=
- h.dn()){var l=h.on,k=l?1:0,r=l?h.dn().getGeogcs2():h.dn().getGeogcs1(),r=r.getUnit().getUnitFactor(),r=f/r;if(3.552713678800501E-15<Math.abs(r-1))for(f=0;f<a;f++)b[f][0]*=r,b[f][1]*=r;d.OD.geogToGeog(h.dn(),a,b,null,k);f=(l?h.dn().getGeogcs1():h.dn().getGeogcs2()).getUnit().getUnitFactor()}}r=f/e;if(3.552713678800501E-15<Math.abs(r-1))for(f=0;f<a;f++)b[f][0]*=r,b[f][1]*=r;return a};g.prototype.getName=function(){if(0==this.Oe.length)return"";for(var b="",a=0,c=this.Oe.length;a<c;++a)""!==b&&(b+=" + "),
- b+=this.Oe[a].getName();return b};g.prototype.Eb=function(b){if(b==this)return!0;if(!(b instanceof g)||this.Oe.length!=b.Oe.length)return!1;for(var a=0;a<this.Oe.length;a++)if(!this.Oe[a].Eb(b.Oe[a]))return!1;return!0};g.prototype.Mp=function(){this.Fa=!0};g.prototype.toString=function(){var b=toString();return 200<b.length?b.substring(0,197)+"... ("+b.length.toString()+" characters)":b};g.create=function(){return new g};g.aq=function(b,a){var c=new g;c.add(d.io.create(b,a));return c};g.bq=function(b,
- a){var c=new g;c.add(d.io.eG(b,a));return c};return g}();d.my=m})(n||(n={}));(function(d){var m=Math.PI,g=2*Math.PI,b=Math.PI/2,a=function(){function a(){}a.VQ=function(c,b){var e=new a;e.x=c;e.y=b;e.type=0;e.ui=0;return e};a.El=function(c){var b=new a;b.x=c.x;b.y=c.y;b.type=0;b.ui=0;return b};a.UQ=function(c){var b=new a;b.x=c.x;b.y=c.y;b.type=c.type;b.ui=c.ui;return b};a.ce=function(c,b,e){var f=new a;f.x=c.x+b*Math.cos(e);f.y=c.y+b*Math.sin(e);f.type=c.type;f.ui=c.ui;return f};a.Cv=function(c,
- b){var e=new a;e.x=.5*(c.x+b.x);e.y=.5*(c.y+b.y);e.type=c.type;e.ui=c.ui;return e};a.YF=function(c,b){var e=new a;e.x=c.x+.001*(b.x-c.x);e.y=c.y+.001*(b.y-c.y);e.type=c.type;e.ui=c.ui;return e};return a}(),c=function(){return function(){}}();(function(a){a[a.Round=0]="Round";a[a.Bevel=1]="Bevel";a[a.Miter=2]="Miter";a[a.Square=3]="Square"})(d.IM||(d.IM={}));var e=function(){function e(a){this.rB=this.$b=this.Sg=null;this.je=a}e.V=function(a,c,b,f,g,p){if(null==a)throw d.f.F();if(1>a.tb())throw d.f.F();
- if(0==c||a.u())return a;p=new e(p);p.Yo=a;p.Qa=c;p.ta=g;p.jj=b;p.hB=f;return p.zy()};e.prototype.yO=function(){var a=this.Yo,c=a.ec(),b=a.Cc(),e=new d.b;e.zc(b,c);e.normalize();e.tw();e.scale(this.Qa);c.add(e);b.add(e);e=a.Ja();a.Mc(c);a.Zc(b);return e};e.prototype.xO=function(){var a=this.Yo;if(0<this.Qa&&2!=this.jj){var c=new d.Ia;c.jd(a,!1);this.Yo=c;return this.zy()}a=new d.ci(a.R);a.O(this.Qa,this.Qa);return a};e.prototype.jK=function(a,c,b,e){return(c.x-a.x)*(e.x-b.x)+(c.y-a.y)*(e.y-b.y)};e.prototype.pc=
- function(c,e){if(void 0===e)this.$b.push(c),this.Kf++;else if(0==this.Kf)this.pc(c);else{var f=this.px,d,h;d=this.Sg[0==e?f-1:e-1];h=this.Sg[e];var l=this.jK(d,h,this.$b[this.Kf-1],c);0<l?this.pc(c):0>l&&(0<this.jK(d,h,h,this.$b[this.Kf-1])?(h=this.Sg[0==e?f-2:1==e?f-1:e-2],f=a.ce(d,this.Qa,Math.atan2(d.y-h.y,d.x-h.x)-b),this.$b[this.Kf-1]=f,1==this.jj||2==this.jj?(f=a.Cv(f,d),this.pc(f),f=a.ce(d,this.Qa,this.vw+b),d=a.Cv(f,d),d.type|=256,this.pc(d)):(f=a.ce(d,this.Qa,this.vw+b),f.type|=256),this.pc(f),
- this.pc(c,e)):(f=a.ce(h,this.Qa,this.vw+b),this.pc(f),1==this.jj||2==this.jj?(f=a.Cv(f,h),this.pc(f),f=a.ce(h,this.Qa,this.IA-b),d=a.Cv(f,h),d.type|=256,this.pc(d)):(f=a.ce(h,this.Qa,this.IA-b),f.type|=256),this.pc(f)))}};e.prototype.yF=function(){var c,e,f,r,t,p,q=this.px;this.Kf=0;var u=.5*this.ta,v=0,x=0;for(c=0;c<q;c++){r=this.Sg[c];t=0==c?this.Sg[q-1]:this.Sg[c-1];p=c==q-1?this.Sg[0]:this.Sg[c+1];var w=t.x-r.x,y=t.y-r.y,n=p.x-r.x,z=p.y-r.y;e=Math.atan2(y,w);f=Math.atan2(z,n);this.vw=e;this.IA=
- f;0==c&&(v=e,x=f);w=w*z-n*y;y=f;f<e&&(f+=g);if(0<w*this.Qa)1==this.jj||2==this.jj?(e=a.ce(r,this.Qa,e+b),this.pc(e),e=a.YF(r,e),this.pc(e),e=a.ce(r,this.Qa,f-b),r=a.YF(r,e),r.type|=256,this.pc(r),this.pc(e)):(w=.5*(f-e),w=this.Qa/Math.abs(Math.sin(w)),e=a.ce(r,w,.5*(e+f)),this.pc(e,c));else if(0!=(r.type&512)){w=1-u/Math.abs(this.Qa);t=1;p=0>this.Qa?-m:m;-1<w&&1>w&&(y=2*Math.acos(w),.017453292519943295>y&&(y=.017453292519943295),t=d.J.truncate(m/y+1.5),1<t&&(p/=t));y=e+b;e=a.ce(r,this.Qa,y);0==c&&
- (e.type|=1024);this.pc(e,c);w=this.Qa/Math.cos(p/2);y+=p/2;e=a.ce(r,w,y);e.type|=1024;for(this.pc(e);0<--t;)y+=p,e=a.ce(r,w,y),e.type|=1024,this.pc(e);e=a.ce(r,this.Qa,f-b);e.type|=1024;this.pc(e)}else if(1==this.jj)e=a.ce(r,this.Qa,e+b),this.pc(e,c),e=a.ce(r,this.Qa,f-b),this.pc(e);else if(0==this.jj)for(w=1-u/Math.abs(this.Qa),t=1,p=f-b-(e+b),-1<w&&1>w&&(y=2*Math.acos(w),.017453292519943295>y&&(y=.017453292519943295),t=d.J.truncate(Math.abs(p)/y+1.5),1<t&&(p/=t)),w=this.Qa/Math.cos(.5*p),y=e+b+
- .5*p,e=a.ce(r,w,y),this.pc(e,c);0<--t;)y+=p,e=a.ce(r,w,y),this.pc(e);else 2==this.jj?(w=t.x-r.x,y=t.y-r.y,n=p.x-r.x,z=p.y-r.y,t=(w*n+y*z)/Math.sqrt(w*w+y*y)/Math.sqrt(n*n+z*z),.99999999<t?(e=a.ce(r,1.4142135623730951*this.Qa,f-.25*m),this.pc(e,c),e=a.ce(r,1.4142135623730951*this.Qa,f+.25*m),this.pc(e)):(t=Math.abs(this.Qa/Math.sin(.5*Math.acos(t))),p=Math.abs(this.hB*this.Qa),t>p?(w=.5*(f-e),w=this.Qa/Math.abs(Math.sin(w)),e=a.ce(r,w,.5*(e+f)),f=d.b.pa(e.x,e.y),e=d.b.pa(r.x,r.y),r=new d.b,r.zc(f,
- e),f=new d.b,f.DX(p/r.length(),r,e),e=(t-p)*Math.abs(this.Qa)/Math.sqrt(t*t-this.Qa*this.Qa),0<this.Qa?r.tw():r.Tr(),r.scale(e/r.length()),e=new d.b,e.add(f,r),t=new d.b,t.zc(f,r),e=a.El(e),this.pc(e,c),e=a.El(t),this.pc(e)):(w=.5*(f-e),w=this.Qa/Math.abs(Math.sin(w)),e=a.ce(r,w,.5*(e+f)),this.pc(e,c)))):(f=y,0<this.Qa?(f>e&&(f-=g),t=e-f<b):(f<e&&(f+=g),t=f-e<b),t?(w=1.4142135623730951*this.Qa,y=0>w?e+.25*m:e+.75*m,e=a.ce(r,w,y),this.pc(e,c),y=0>w?f-.25*m:f-.75*m,e=a.ce(r,w,y),this.pc(e)):(w=.5*(f-
- e),w=this.Qa/Math.abs(Math.sin(w)),f<e&&(f+=g),e=a.ce(r,w,(e+f)/2),this.pc(e,c)))}this.vw=v;this.IA=x;this.pc(this.$b[0],0);r=a.UQ(this.$b[this.Kf-1]);this.$b[0]=r;return this.sX()};e.prototype.jv=function(a,c){if(!(2>c))for(var b=0;b<c;b++){var e=this.$b[a+b];0!=b?this.rB.aj(d.b.pa(e.x,e.y)):this.rB.yu(d.b.pa(e.x,e.y))}};e.prototype.zO=function(c,b,e){var f=c.wa(b),d=c.Gc(b);this.$b=[];this.rB=e;if(c.Qb(b)){for(b=c.Aa(f);c.Aa(d-1).ub(b);)d--;if(2<=d-f){this.px=d-f;this.Sg=[];for(b=f;b<d;b++)this.Sg.push(a.El(c.Aa(b)));
- this.yF()&&this.jv(0,this.Kf-1)}}else{for(b=c.Aa(f);f<d&&c.Aa(f+1).ub(b);)f++;for(b=c.Aa(d-1);f<d&&c.Aa(d-2).ub(b);)d--;if(2<=d-f){this.px=2*(d-f)-2;this.Sg=[];e=a.El(c.Aa(f));e.type|=1536;this.Sg.push(e);for(b=f+1;b<d-1;b++)e=a.El(c.Aa(b)),this.Sg.push(e);e=a.El(c.Aa(d-1));e.type|=512;this.Sg.push(e);for(b=d-2;b>=f+1;b--)e=a.El(c.Aa(b)),e.type|=1024,this.Sg.push(e);if(this.yF())if(2<=this.$b.length){c=-1;(d=0!=(this.$b[this.Kf-1].type&1024))||(c=0);for(b=1;b<this.Kf;b++)(f=0!=(this.$b[b].type&1024))?
- d||(d=b-1,1<d-c+1&&this.jv(c,d-c+1)):d&&(c=b-1),d=f;d||(d=this.Kf-1,1<d-c+1&&this.jv(c,d-c+1))}else c=0,d=this.Kf-1,0<=c&&1<=d-c&&this.jv(c,d-c+1)}}this.Sg=null;this.px=0;this.$b=null;this.Kf=0};e.prototype.sX=function(){for(var a=!1,c=0;c<this.Kf;c++){var b=this.$b[c];b.Nh=c+1;b.Qh=c-1;this.$b[c]=b}b=this.$b[0];b.Qh=this.Kf-2;this.$b[0]=b;b=this.$b[this.Kf-2];b.Nh=0;this.$b[this.Kf-2]=b;for(c=b=0;c<this.Kf;c++)if(0!=(this.$b[b].type&256)){var e=this.BR(b);if(-1!=e)b=e;else{a=!0;break}}else b=this.$b[b].Nh;
- if(a)return!1;this.SQ(b);return!0};e.prototype.BR=function(a){for(var c=this.Kf-1,b=a,e,f,d=1;d<=c-2;d++){e=b=this.$b[b].Nh;f=a;for(var h=1;h<=d;h++){f=this.$b[f].Qh;if(0==(this.$b[f].type&256)&&0==(this.$b[e].type&256)){var g=this.$T(f,e);if(-1!=g)return g}e=this.$b[e].Qh}}return-1};e.prototype.$T=function(a,b){var e,f,h,l;e=this.$b[this.$b[a].Qh];f=this.$b[a];h=this.$b[this.$b[b].Qh];l=this.$b[b];if(!this.HX(e,f,h,l))return-1;var g=new c;return this.oS(e,f,h,l,g)&&!g.nF&&d.J.RK((f.x-e.x)*(l.y-h.y)-
- (f.y-e.y)*(l.x-h.x))!=d.J.RK(this.Qa)?(e=this.$b[a].Qh,g.Qn.type=f.type,g.Qn.Nh=b,g.Qn.Qh=e,this.$b[a]=g.Qn,g.Qn=this.$b[b],g.Qn.Qh=a,this.$b[b]=g.Qn,b):-1};e.prototype.HX=function(a,c,b,e){return Math.max(a.x,c.x)>=Math.min(b.x,e.x)&&Math.max(b.x,e.x)>=Math.min(a.x,c.x)&&Math.max(a.y,c.y)>=Math.min(b.y,e.y)&&Math.max(b.y,e.y)>=Math.min(a.y,c.y)};e.prototype.oS=function(c,b,e,f,d){d.nF=!1;var h,l,k;h=(b.y-c.y)*(f.x-e.x)-(b.x-c.x)*(f.y-e.y);l=(e.y-c.y)*(b.x-c.x)-(e.x-c.x)*(b.y-c.y);h=0==h?2:l/h;return 0<=
- h&&1>=h&&(k=h,h=(f.y-e.y)*(b.x-c.x)-(f.x-e.x)*(b.y-c.y),l=(c.y-e.y)*(f.x-e.x)-(c.x-e.x)*(f.y-e.y),h=0==h?2:l/h,0<=h&&1>=h)?(d.Qn=a.VQ(c.x+h*(b.x-c.x),c.y+h*(b.y-c.y)),d.Qn.ui=e.ui+k*(f.ui-e.ui),0!=k&&1!=k||0!=h&&1!=h||(d.nF=!0),d.N_=h,d.O_=k,(0==k||1==k)&&0<h&&1>h||(0==h||1==h)&&0<k&&1>k?!1:!0):!1};e.prototype.SQ=function(a){for(;this.$b[a].Qh<a;)a=this.$b[a].Qh;var c=0,b=a;do b=this.$b[b],this.$b[c]=b,b=b.Nh,c++;while(b!=a);this.$b[c]=this.$b[0];this.Kf=c+1};e.prototype.uE=function(a){var c=this.Yo,
- b=c.Da();if(null!=b){b.yj();for(var e=-1;b.Ya();)e++,this.zO(c,e,a)}};e.prototype.zy=function(){var a=this.Yo.G();return 322==a?this.yO():197==a?this.xO():d.T.Oc(a)?(a=new d.Ua,a.dc(this.Yo,!0),this.Yo=a,this.zy()):1607==a?(a=new d.Ua,this.uE(a),a):1736==a?(a=new d.Ia,this.uE(a),a):null};return e}();d.SL=e})(n||(n={}));(function(d){var m=function(){function a(a){this.Sk=a}a.prototype.w=function(a,c){this.Sk.a.w(a,c)};a.prototype.Ld=function(a){var c=this.Sk.Na.ja(a);this.Sk.Na.Ld(a,-1);this.Sk.a.td(c,
- !1)};return a}(),g=function(){function a(a){this.Sk=a}a.prototype.w=function(a,c){this.Sk.FV.w(a,c)};a.prototype.Ld=function(a){this.Sk.Na.Ld(a,-1)};return a}(),b=function(){function a(a){this.Sk=a}a.prototype.w=function(a,c){c.L(this.Sk.IV[a])};a.prototype.Ld=function(a){this.Sk.Na.Ld(a,-1)};return a}(),a=function(){function a(a){void 0===a?(this.Na=new d.tk,this.Na.Qe(20),this.a=new d.fd,this.wV=this.a.bh(550),this.Mt=this.a.Yf(this.wV,-1),this.wi=new m(this)):a instanceof Array?(this.Na=new d.tk,
- this.Na.Qe(20),this.IV=a,this.wi=new b(this)):(this.Na=new d.tk,this.Na.Qe(20),this.FV=a,this.wi=new g(this))}a.prototype.Jb=function(a){var c=a.G();if(d.Lu.gh(c))this.gP(a);else if(d.xl.Oc(c))this.nP(a);else if(197==c)this.dP(a);else if(33==c)this.kP(a);else throw d.f.F("invalid shape type");};a.prototype.TS=function(){var a=new d.Wa,c=this.Na.xc(-1),b=new d.Ia(this.a.Gr);this.a.wj(this.Na.ja(c),a);b.Rf(a);for(c=this.Na.nb(c);-1!=c;c=this.Na.nb(c))this.a.wj(this.Na.ja(c),a),b.lineTo(a);return b};
- a.TQ=function(c){var b=new a(c),e=c.D(),l=1,k=new d.b,r=new d.b,g=new d.b;for(c.w(0,k);;){c.w(l,r);if(!(r.vA(k)&&l<e-1))break;l++}b.Na.addElement(0,-1);b.Na.ro(l);for(e=l+1;e<c.D();e++)c.w(e,g),l=b.NC(g),-1!=l&&b.Na.jk(l,e);g=new d.Wa;l=b.Na.xc(-1);e=new d.Ia(c.description);c.Ae(b.Na.ja(l),g);e.Rf(g);for(l=b.Na.nb(l);-1!=l;l=b.Na.nb(l))c.Ae(b.Na.ja(l),g),e.lineTo(g);return e};a.pa=function(c,b,d){for(var e=new a(c),f=1,h=c[0];c[f].vA(h)&&f<b-1;)f++;e.Na.addElement(0,-1);e.Na.ro(f);for(f+=1;f<b;f++)h=
- e.NC(c[f]),-1!=h&&e.Na.jk(h,f);c=0;for(b=e.Na.xc(-1);-1!=b;b=e.Na.nb(b))d[c++]=e.Na.ja(b);return c};a.UH=function(c,b){var e=c.wa(b),f=c.Gc(b);b=!c.Qb(b)&&c.Eo(b);c=c.Pa(0);e*=2;f*=2;b&&(f-=2);if(6>f-e)return!0;b=new d.b;var k=new d.b,r=new d.b;c.fc(e,b);c.fc(e+2,k);c.fc(e+4,r);var g=a.ee(k,r,b);if(g.kt()||!a.uc(g.value()))return!1;for(var p=d.b.pa(k.x,k.y),q=new d.b,e=e+6;e<f;e+=2){q.L(k);k.L(r);c.fc(e,r);g=a.ee(k,r,b);if(g.kt()||!a.uc(g.value()))return!1;g=a.ee(p,r,b);if(g.kt()||!a.uc(g.value()))return!1;
- g=a.ee(k,r,q);if(g.kt()||!a.uc(g.value()))return!1}return!0};a.prototype.gP=function(a){for(var c=new d.Wa,b=new d.b,e=0;e<a.D();e++){a.w(e,b);var k=this.zs(b);if(-1!=k){a.Ae(e,c);var g=this.a.pc(this.Mt,c);this.Na.jk(k,g)}}};a.prototype.dP=function(a){for(var c=new d.Wa,b=new d.b,e=0;4>e;e++){a.Fx(e,b);var k=this.zs(b);if(-1!=k){a.ig(e,c);var g=this.a.pc(this.Mt,c);this.Na.jk(k,g)}}};a.prototype.nP=function(a){var c=new d.Wa,b=a.ec(),b=this.zs(b);if(-1!=b){a.Dp(c);var e=this.a.pc(this.Mt,c);this.Na.jk(b,
- e)}b=a.Cc();b=this.zs(b);-1!=b&&(a.Bp(c),a=this.a.pc(this.Mt,c),this.Na.jk(b,a))};a.prototype.kP=function(a){var c=a.w(),c=this.zs(c);-1!=c&&(a=this.a.pc(this.Mt,a),this.Na.jk(c,a))};a.prototype.zs=function(a){var c=-1;if(0==this.Na.size(-1))return c=this.Na.addElement(-4,-1);if(1==this.Na.size(-1)){var b=this.a.Aa(this.Na.ja(this.Na.xc(-1)));a.vA(b)||(c=this.Na.ro(-5));return c}return c=this.NC(a)};a.prototype.NC=function(c){var b=-1,e=this.Na.xc(-1),l=this.Na.Fc(-1),k=this.Na.ja(e),g=this.Na.ja(l),
- t=new d.b,p=new d.b;this.wi.w(k,t);this.wi.w(g,p);k=d.b.zp(p,c,t);if(a.uc(k))b=this.Na.ro(-1),t=this.LC(c,l,e),t!=e&&this.MC(c,e,this.Na.Ve(t));else if(a.vl(k)){for(var p=this.Na.ew(-1),q=this.Na.xc(-1),u=this.Na.Fc(-1),v,k=new d.b,g=new d.b;q!=this.Na.Ve(u);)v=this.Na.ja(p),this.wi.w(v,k),v=d.b.zp(k,c,t),a.vl(v)?(u=p,p=this.Na.Pl(p)):(q=p,p=this.Na.Nq(p));p=u;t=q;v=this.Na.ja(p);q=this.Na.ja(t);this.wi.w(v,k);this.wi.w(q,g);if(t==e||(k=d.b.zp(g,c,k),a.uc(k)))b=this.Na.iv(t,p,-2,!1),this.MC(c,p,l),
- this.LC(c,t,e)}else null==this.wb&&(this.wb=new d.Hb),this.wb.Mc(p),this.wb.Zc(t),t=this.wb.oe(c,!0),0>t?(t=this.Na.Ve(l),this.Na.Ld(l,-1),b=this.Na.ro(-3),this.LC(c,t,e)):1<t&&(t=this.Na.nb(e),this.Na.Ld(e,-1),b=this.Na.iv(-1,t,-3,!1),this.MC(c,t,l));return b};a.prototype.MC=function(c,b,h){if(b!=h){var e=this.Na.ja(b),f=this.Na.nb(b),g=new d.b,t=new d.b;for(this.wi.w(e,g);b!=h&&2<this.Na.size(-1);){this.wi.w(this.Na.ja(f),t);e=d.b.zp(t,c,g);if(a.uc(e))break;e=b;b=f;g.L(t);f=this.Na.nb(b);this.wi.Ld(e)}}};
- a.prototype.LC=function(c,b,h){if(b==h)return h;var e=this.Na.ja(b),f=this.Na.Ve(b),g=new d.b,t=new d.b;for(this.wi.w(e,g);b!=h&&2<this.Na.size(-1);){this.wi.w(this.Na.ja(f),t);e=d.b.zp(g,c,t);if(a.uc(e))break;e=b;b=f;g.L(t);f=this.Na.Ve(b);this.wi.Ld(e)}return b};a.ee=function(a,c,b){var e=new d.Xb;e.set(c.x);e.sub(a.x);var f=new d.Xb;f.set(b.y);f.sub(a.y);var h=new d.Xb;h.set(c.y);h.sub(a.y);c=new d.Xb;c.set(b.x);c.sub(a.x);e.Vg(f);h.Vg(c);e.sub(h);return e};a.uc=function(a){return 0>a};a.vl=function(a){return 0<
- a};a.hq=function(a){return 0==a};return a}();d.Iu=a})(n||(n={}));(function(d){var m=function(){function g(b){this.je=this.a=null;this.EI=!0;this.je=b}g.xJ=function(b,a,c){b=d.ma.Bs(b);return d.Hu.ow(a.Be(),a.nf(),c.Be(),c.nf(),d.Ub.Xx(b))};g.EQ=function(b,a){var c=new d.Wa;d.Hu.UV(b,a,c);return c};g.V=function(b,a,c,e){c=new g(c);c.a=b;c.ta=a;c.EI=e;return c.KO()};g.prototype.EO=function(b){return d.Hu.aS(this.a,b)};g.prototype.HO=function(b){return d.Ju.V(this.a,b,this.je)};g.prototype.KO=function(){for(var b=
- this.ta,a=d.ma.Bs(b),b=d.ma.qP(b),c=1.00001*b,b=1.000001*b,e=!1,f=30<this.a.ud+10?1E3:(this.a.ud+10)*(this.a.ud+10),h=0,l=this.a.cU();;h++){if(h>f)throw d.f.X("Internal Error: max number of iterations exceeded");var k=this.EO(a),e=e||k;this.EI&&(k=0!=this.a.zq(a,!0,!1),e=e||k);k=!1;if(0==h||l||d.Ju.sJ(!0,this.a,b,null,this.je))k=this.HO(c),e=e||k;if(!k)break}return e};return g}();d.rk=m})(n||(n={}));(function(d){var m=function(){function b(a){this.we=this.Tc=null;this.jx=0;this.lc=a;this.KA=!0}b.prototype.fw=
- function(a,c){var b=this.a.ic(a);if(null==b){if(!this.a.pd(a,c))return null;b=c}return b};b.prototype.Or=function(a){void 0===a&&(a=!1);this.jx++;if(a||0==(this.jx&4095))this.jx=0};b.prototype.lR=function(){var a=this.a.Pr(!1),c=!1,b=new d.Hb,f=new d.Hb,h=new d.h;h.Oa();var l=new d.h;l.Oa();for(var k=new d.Wa,g=new d.cE,t=a.next();-1!=t;t=a.next()){var p=null,q=!1;if(!d.T.Jo(this.a.hc(a.Bk))){p=this.fw(t,b);if(null==p)continue;p.s(h);h.O(this.ta,this.ta);if(p.fh(this.ta))if(p.fh(0))q=!0,p=null;else continue}var u=
- this.a.Pr(a),v=u.next();for(-1!=v&&(v=u.next());-1!=v;v=u.next()){var m=null,w=!1;if(!d.T.Jo(this.a.hc(u.Bk))){m=this.fw(v,f);if(null==m)continue;m.s(l);if(m.fh(this.ta))if(m.fh(0))w=!0,m=null;else continue}var n=0,D=0;if(null!=p&&null!=m)h.SH(l)&&(g.Ap(p),g.Ap(m),g.Ma(this.ta,!1),n=g.Rl(0),D=g.Rl(1),0<n+D&&(this.a.as(t,g,0,!0),this.a.as(v,g,1,!0)),g.clear());else if(null!=p){var z=new d.b;this.a.w(v,z);if(h.contains(z)){g.Ap(p);this.a.wj(v,k);g.rA(this.ta,k,!1);n=g.Rl(0);if(0<n)if(this.a.as(t,g,
- 0,!0),w){w=-1;for(z=this.a.U(v);-1!=z&&z!=v&&(m=this.fw(z,f),w=z,null!=m&&m.fh(0));z=this.a.U(z));for(z=v;-1!=z&&(this.a.Yh(z,g.cg),z!=w);z=this.a.U(z));}else this.a.Yh(v,g.cg);g.clear()}}else if(null!=m){if(z=new d.b,this.a.w(t,z),l.O(this.ta,this.ta),l.contains(z)){g.Ap(m);this.a.wj(t,k);g.rA(this.ta,k,!1);D=g.Rl(0);if(0<D)if(this.a.as(v,g,0,!0),q){w=-1;for(z=this.a.U(t);-1!=z&&z!=t&&(m=this.fw(z,f),w=z,null!=m&&m.fh(0));z=this.a.U(z));for(z=t;-1!=z&&(this.a.Yh(z,g.cg),z!=w);z=this.a.U(z));}else this.a.Yh(t,
- g.cg);g.clear()}}else continue;if(0!=n+D){if(0!=n){p=this.a.ic(t);if(null==p){if(!this.a.pd(t,b))continue;p=b;b.s(h)}else p.s(h);if(p.fh(this.ta))break}c=!0}}}return c};b.prototype.mR=function(){return this.BW()};b.prototype.BW=function(){return(new d.VD).HY(this.a,this.ta)};b.prototype.tJ=function(){var a=!1,c,b;null==this.Tc&&(this.Tc=new d.tk);var f=new d.ia(0);f.yb(this.a.ud+1);for(var h=this.a.Pr(),l=h.next();-1!=l;l=h.next())f.add(l);this.a.Wx(f,f.size);f.add(-1);h=this.a.Vd();l=this.a.Vd();
- this.we=new d.eE(this.a,this.ta,!this.KA);this.Tc.Ep(this.we);var k=new d.ia(0),g=new d.ia(0),t=0;new d.b;var p=this.a.Dd;this.a.xb.tc();for(var q=this.a.xb.xa[0].g,u,v,m=f.get(t++);-1!=m;){v=p.S(m,0);u=q[2*v];v=q[2*v+1];var w=u,n=v;do{var D=p.S(m,2),z=p.S(m,1);-1!=D&&(c=p.S(D,0),b=q[2*c],c=q[2*c+1],0>(n<c?-1:n>c?1:w<b?-1:w>b?1:0)&&(g.add(m),g.add(D)));-1!=z&&(c=p.S(z,0),b=q[2*c],c=q[2*c+1],0>(n<c?-1:n>c?1:w<b?-1:w>b?1:0)&&(g.add(z),g.add(z)));b=this.a.Sa(m,h);-1!=b&&(k.add(b),this.a.Va(m,h,-1));
- b=this.a.Sa(m,l);-1!=b&&(k.add(b),this.a.Va(m,l,-1));m=f.get(t++);-1!==m&&(n=p.S(m,0),w=q[2*n],n=q[2*n+1])}while(-1!=m&&w===u&&n===v);w=1==k.size&&2==g.size;b=n=-1;D=0;for(z=k.size;D<z;D++){c=k.get(D);var B=this.Tc.Ve(c);-1==B||k.mA(B)||(n=B);c=this.Tc.nb(c);-1==c||k.mA(c)||(b=c);if(-1!=n&&-1!=b)break}this.we.PK(v,u);D=0;for(z=k.size;D<z;D++)c=k.get(D),this.Tc.Ld(c,-1);k.clear(!1);if(!w&&-1!=n&&-1!=b&&this.sQ(n,b)){a=!0;this.mj=this.we.fn();break}D=0;for(z=g.size;D<z;D+=2){v=g.get(D);u=g.get(D+1);
- w?(v=this.Tc.iv(n,b,v,!0),w=!1):v=this.Tc.addElement(v,-1);if(this.we.Ng){this.mj=this.we.fn();a=!0;break}-1==this.a.Sa(u,h)?this.a.Va(u,h,v):this.a.Va(u,l,v)}if(a)break;g.yf(0)}this.a.ke(h);this.a.ke(l);return a};b.prototype.sQ=function(a,c){this.we.compare(this.Tc,this.Tc.ja(a),c);a=this.we.Ng;this.we.Fs();return a};b.Cj=function(a){for(var c=a.rd;-1!=c;c=a.Ue(c))if(d.T.Ic(a.hc(c)))return!0;return!1};b.Hm=function(a,c,e,f){if(!b.Cj(a))return!1;c=new b(f);c.a=a;c.ta=e;if(15>a.ud)a=c.lR();else return c.mR();
- return a};b.V=function(a,c,e){return b.Hm(a,a.SG(),c,e)};b.sJ=function(a,c,e,f,h){if(!b.Cj(c))return!1;var l=new b(h);l.a=c;l.ta=e;l.KA=a;if(l.tJ())return null!=f&&f.ls(l.mj),!0;var k=new d.Hd;k.wC();c.Xc(k);l=new b(h);l.a=c;l.ta=e;l.KA=a;a=l.tJ();k.wC();c.Xc(k);return a?(null!=f&&f.ls(l.mj),!0):!1};b.qm=function(a,c){a=a.D();return 16>a?!1:2*a+Math.log(a)*Math.LOG10E/Math.log(2)*1*c<1*a*c};b.jR=function(a,c,e,f){if(d.T.Ic(c.G()))return(new b(f)).kR(a,c,e);throw d.f.X("crack_A_with_B");};b.prototype.kR=
- function(a,c,e){var f=new d.h;a.ac(f);var h=new d.h;c.ac(h);h.O(e,e);if(!h.Yb(f))return a;var l=a.ob,k=null;null!=l&&(k=l.Mb);b.qm(a,a.D())&&(k=d.ma.Lj(a,h));var r=null!=k?k.mf():null,t=c.Da();c=a.Da();for(var p=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],h=[];t.Ya();)for(;t.Ca();){var q=t.ba();if(null!=k)for(r.Xn(q,e),l=r.next();-1!=l;l=r.next()){if(this.Or(),c.Tb(k.ja(l),-1),c.Ca())for(var l=c.ba(),u=l.Ma(q,null,p,null,e),l=0;l<u;++l){var v=p[l];if(0!=v&&1!=v){var m=c.Db(),w=new g;w.t=v;w.index=m;h.push(w)}}}else{var n=
- new d.h;q.ac(n);n.O(e,e);if(f.Yb(n))for(c.yj();c.Ya();)for(;c.Ca();)if(this.Or(),l=c.ba(),v=new d.h,l.ac(v),v.Yb(n))for(u=l.Ma(q,null,p,null,e),l=0;l<u;++l)v=p[l],0!=v&&1!=v&&(m=c.Db(),w=new g,w.t=v,w.index=m,h.push(w))}}if(0==h.length)return a;h=h.sort(g.Gs);a=a.Ja();for(c.yj();c.Ya()&&!c.Ca(););e=c.ba();f=new d.Cg;k=-1;l=0;for(r=h.length;l<r;){p=h[l].index;for(t=l+1;t<r&&h[t].index==p;)++t;for(;c.Db()<p;){this.Or();q=c.Ca();v=c.Ta;(n=q||!c.Fo()||c.Go())&&a.dc(e,k!=v);k=v;if(!q)for(;c.Ya()&&!c.Ca(););
- e=c.ba()}for(p=0;l<t;l++)v=h[l].t,v!=p&&(e.yh(p,v,f),p=v,v=c.Ta,a.dc(f.get(),k!=v),k=v);if(n=(q=c.Ca())||!c.Fo()||c.Go())e.yh(p,1,f),a.dc(f.get(),!1);if(q)e=c.ba();else{for(;c.Ya()&&!c.Ca(););c.Ca()?e=c.ba():e=null}l=t}null!=e&&(v=c.Ta,(n=(q=c.Ca())||!c.Fo()||c.Go())&&a.dc(e,k!=v),k=v);for(q=c.Ca();;){if(!q){for(;c.Ya()&&!(q=c.Ca()););if(!q)break}e=c.ba();v=c.Ta;(n=(q=c.Ca())||!c.Fo()||c.Go())&&a.dc(e,k!=v);k=v}return a};return b}();d.Ju=m;var g=function(){function b(){}b.Gs=function(a,c){return a.index==
- c.index?a.t>c.t?1:a.t<c.t?-1:0:a.index>c.index?1:-1};return b}()})(n||(n={}));(function(d){(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"})(d.UL||(d.UL={}));var m=function(){return function(a,b,f,d,l,k,g,t,p,q,u){this.Y=a;this.mx=b;this.Ht=f;this.Pg=d;this.zn=q;this.em=u}}();d.FZ=m;var g=function(){function a(a,c){this.XI=a;this.gj=c}a.prototype.GO=function(a,c){var b=new d.b;this.gj.w(a,b);var e=new d.b;this.gj.w(c,
- e);b=b.compare(e);if(0!=b)return b;b=this.gj.Sa(a,this.XI);e=this.gj.Sa(c,this.XI);return b<e?-1:b==e?0:1};return a}(),b=function(){return function(a,b,f,d,l,k,g,t,p){this.Pg=a;this.Ht=b;this.sB=f;this.gJ=d;this.dj=l;this.em=k;this.zn=g;this.hJ=t;this.LV=p}}();d.EZ=b;var a=function(){function a(){}a.TL=function(c,b,h,l,k,g){if(b.u())c=new m(b,4,-1,-1,NaN,4,-1,-1,NaN,-1,-1,NaN,-1,-1,NaN),k.push(c);else{var e=new d.fd;e.Jb(b);e.Jb(h);d.rk.V(e,l,g,!0);b=0;h=e.Vd();for(l=e.rd;-1!=l;l=e.Ue(l))for(g=e.Pb(l);-1!=
- g;g=e.Sb(g))for(var f=e.cb(g),r=0,u=e.Ka(g);r<u;f=e.U(f),r++)e.Va(f,h,b++);b=a.kM(h,e);a.sW(c,b,e,k)}};a.kM=function(c,b){for(var e=b.ud,f=new d.ia(0),k=b.rd;-1!=k;k=b.Ue(k))for(var r=b.Pb(k);-1!=r;r=b.Sb(r))for(var t=b.cb(r),p=0,q=b.Ka(r);p<q;t=b.U(t),p++)f.add(t);var u=new g(c,b);f.Gd(0,e,function(a,c){return u.GO(a,c)});c=[];var v=[],m=b.Vd(),w=b.Vd(),k=b.rd,r=b.Ue(k),q=new d.b,n=new d.b,D=f.get(0),z=b.ld(D),B=b.ng(z);b.w(D,q);for(var A=1,t=0;A<e-1;){for(var C=!1,p=A;p<e;p++)if(p!=t){var E=f.get(p),
- F=b.ld(E),G=b.ng(F);b.w(E,n);if(q.ub(n))B==k&&G==r&&(C=a.mZ(m,w,b,c,v,z,D,F,E));else break}if(C||t==A-1){C&&t==A-1&&A--;if(++t==e)break;D=f.get(t);z=b.ld(D);B=b.ng(z);b.w(D,q)}C||(A=t+1)}e=[];for(k=b.rd;-1!=k;k=b.Ue(k))for(r=b.Pb(k);-1!=r;r=b.Sb(r))for(f=b.cb(r),p=0,q=b.Ka(r);p<q;f=b.U(f),p++){t=b.Sa(f,w);if(0<=t)for(;t<v.length&&v[t].Pg==f;)e.push(v[t++]);t=b.Sa(f,m);if(0<=t)for(;t<c.length&&c[t].Pg==f;)e.push(c[t++])}b.ke(m);b.ke(w);return e};a.mZ=function(c,b,d,l,k,g,t,p,q){var e=d.Rj(g),f=d.Rj(p),
- h=d.cb(g),r=d.cb(p),m=d.Ra(t),n=d.Ra(q),z=!1,B=!1,A=!1,C=!1;t!=h&&(q!=r&&(z=a.sZ(c,d,l,g,m,p,n)),q!=f&&(B=a.uZ(c,d,l,g,m,p,q)));t!=e&&(q!=r&&(A=a.wZ(b,d,k,g,t,p,n,h)),q!=f&&(C=a.FL(b,d,k,g,t,p,q,h)));z&&B&&A?(c=l.length-1,2==k[C?k.length-2:k.length-1].dj&&(l[c-1]=l[c],--l.length)):z&&B&&C&&2==k[k.length-1].dj&&(k=l[l.length-1],--l.length,d.Sa(k.Pg,c)==l.length&&d.Va(k.Pg,c,-1));return z||B||A||C};a.sZ=function(a,c,h,l,k,g,t){var e,f;f=new d.Hb;var r=new d.Hb,v=[0,0],m=[0,0];e=c.ic(k);null==e&&(c.pd(k,
- f),e=f);f=c.ic(t);null==f&&(c.pd(t,r),f=r);e=e.Ma(f,null,v,m,0);2>e&&(l=new b(k,l,v[0],NaN,e,t,g,m[0],NaN),h.push(l),l=c.Sa(k,a),0>l&&c.Va(k,a,h.length-1));return!0};a.uZ=function(a,c,h,l,k,g,t){var e,f;f=new d.Hb;var r=new d.Hb,v=[0,0],m=[0,0];e=c.ic(k);null==e&&(c.pd(k,f),e=f);f=c.ic(t);null==f&&(c.pd(t,r),f=r);e=e.Ma(f,null,v,m,0);return 2>e?(l=new b(k,l,v[0],NaN,e,t,g,m[0],NaN),h.push(l),l=c.Sa(k,a),0>l&&c.Va(k,a,h.length-1),!0):!1};a.wZ=function(a,c,h,l,k,g,t,p){var e,f;f=new d.Hb;var r=new d.Hb,
- m=[0,0],w=[0,0];e=c.ic(k);null==e&&(c.pd(k,f),e=f);f=c.ic(t);null==f&&(c.pd(t,r),f=r);e=e.Ma(f,null,m,w,0);if(2==e)return l=new b(k,l,m[0],m[1],e,t,g,w[0],w[1]),h.push(l),l=c.Sa(k,a),0>l&&c.Va(k,a,h.length-1),!0;r=!1;k==p&&(l=new b(k,l,m[0],NaN,e,t,g,w[0],NaN),h.push(l),l=c.Sa(k,a),0>l&&c.Va(k,a,h.length-1),r=!0);return r};a.FL=function(a,c,h,l,k,g,t,p){var e,f;f=new d.Hb;var r=new d.Hb,m=[0,0],w=[0,0];e=c.ic(k);null==e&&(c.pd(k,f),e=f);f=c.ic(t);null==f&&(c.pd(t,r),f=r);e=e.Ma(f,null,m,w,0);if(2==
- e)return l=new b(k,l,m[0],m[1],e,t,g,w[0],w[1]),h.push(l),l=c.Sa(k,a),0>l&&c.Va(k,a,h.length-1),!0;r=!1;k==p&&(l=new b(k,l,m[0],NaN,e,t,g,w[0],NaN),h.push(l),l=c.Sa(k,a),0>l&&c.Va(k,a,h.length-1),r=!0);return r};a.sW=function(c,b,h,l){var e,f=[];f[0]=new d.b;f[1]=new d.b;f[2]=new d.b;f[3]=new d.b;var g=new d.b,p=new d.b,q=new d.b,u=new d.b,v=null;null!=l&&(v=new d.Cg,v.Is());var x,w=0,n=null,D=new d.Hb;new d.Hb;for(var z=h.Pb(h.rd);-1!=z;z=h.Sb(z)){var B,A=4,C=-1,E,F,G,H=-1,J,K,S,L,I=-1,R=-1,M=NaN;
- B=!0;var O=!1,N=!0,Q=!0,Z=!0,T=0;G=z;J=0;for(var P=h.cb(z),X=h.Ka(z),ca=0;ca<X;P=h.U(P),ca++){x=h.ic(P);if(null==x){if(!h.pd(P,D))continue;x=D}-1==H&&(H=P);for(var V=0;w<b.length&&P==b[w].Pg;){C=b[w].Ht;E=b[w].Pg;F=b[w].sB;K=b[w].zn;S=b[w].em;L=b[w].hJ;if(2==b[w].dj){if(O||(G=C,H=E,J=F,I=K,R=S,M=L,A=2,null!=l?n=new d.Ua:T=0,Z=!1,Q=!0),F=b[w].gJ,L=b[w].LV,null!=l?(x.yh(V,b[w].gJ,v),n.dc(v.get(),Q)):T++,V=F,O=!0,Q=B=!1,w+1==b.length||2!=b[w+1].dj||b[w+1].Pg==E&&b[w+1].sB!=V)null!=l?(e=new m(n,2,C,E,
- F,A,G,H,J,K,S,L,I,R,M),l.push(e)):null.add(T),G=C,H=E,J=F,I=K,R=S,M=L,A=2,O=B=!1,Q=Z=!0}else{var ba=h.U(E);if(w<b.length-1&&b[w+1].Pg==ba&&b[w+1].em==S&&2==b[w+1].dj)F!=V&&(Z&&(null!=l?n=new d.Ua:T=0),B=0<w&&b[w-1].Ht==C?1==A?0:0==A?1:3:3,null!=l?(x.yh(V,F,v),n.dc(v.get(),Q),e=new m(n,B,C,E,F,A,G,H,J,K,S,L,I,R,M),l.push(e)):(T++,null.add(T)),V=F,G=C,H=E,J=F,I=K,R=S,M=L,A=B,B=N=!1,Q=Z=!0);else if(!a.$L(c,h,b,w,g,p)){a.LL(h,b,w,z,P,q,u);var U=!1,ba=!1;e=!0;if(!(g.ub(q)||p.ub(q)||g.ub(u)||p.ub(u))){f[0].L(g);
- f[1].L(p);f[2].L(q);f[3].L(u);f.sort(d.b.us);var W=f[0],Y=f[1],aa=f[2],da=f[3];W.ub(g)?Y.ub(p)?c?(ba=U=!0,e=!1):U=!1:da.ub(p)?c?e=ba=U=!0:U=!1:(U=!0,e=Y.ub(q)):Y.ub(g)?aa.ub(p)?c?(ba=U=!0,e=!1):U=!1:W.ub(p)?c?e=ba=U=!0:U=!1:(U=!0,e=aa.ub(q)):aa.ub(g)?da.ub(p)?c?(ba=U=!0,e=!1):U=!1:Y.ub(p)?c?e=ba=U=!0:U=!1:(U=!0,e=da.ub(q)):W.ub(p)?c?(ba=U=!0,e=!1):U=!1:aa.ub(p)?c?e=ba=U=!0:U=!1:(U=!0,e=W.ub(q))}if(U){U=P==E;if(F!=V||U&&0==V)Z&&(null!=l?n=new d.Ua:T=0),null!=l?(x.yh(V,F,v),n.dc(v.get(),Q)):T++;if(e)if(1!=
- A){if(F!=V||U&&0==V)null!=l?(e=new m(n,1,C,E,F,A,G,H,J,K,S,L,I,R,M),l.push(e)):null.add(T);if(!ba)A=1;else if(w==b.length-2||b[w+2].Ht!=C)A=0}else{if(F!=V||U&&0==V)null!=l?(e=new m(n,3,C,E,F,A,G,H,J,K,S,L,I,R,M),l.push(e)):null.add(T);A=1}else if(0!=A){if(F!=V||U&&0==V)null!=l?(e=new m(n,0,C,E,F,A,G,H,J,K,S,L,I,R,M),l.push(e)):null.add(T);if(!ba)A=0;else if(w==b.length-2||b[w+2].Ht!=C)A=1}else{if(F!=V||U&&0==V)null!=l?(e=new m(n,3,C,E,F,A,G,H,J,K,S,L,I,R,M),l.push(e)):null.add(T);A=0}if(F!=V||U&&
- 0==V)V=F,G=C,H=E,J=F,I=K,R=S,M=L,B=N=!1,Q=Z=!0}}}w++}1!=V&&(Z&&(null!=l?n=new d.Ua:T=0),null!=l?(x.yh(V,1,v),n.dc(v.get(),Q)):T++,Q=Z=!1,N=!0)}N&&(F=1,E=h.Rj(z),E=h.Ra(E),S=K=-1,L=NaN,B?null!=l?(e=new m(n,4,C,E,F,A,G,H,J,K,S,L,I,R,M),l.push(e)):null.add(T):(B=1==A?0:0==A?1:3,null!=l?(e=new m(n,B,C,E,F,A,G,H,J,K,S,L,I,R,M),l.push(e)):null.add(T)))}};a.$L=function(c,b,h,l,k,g){var e=h[l].hJ;if(1==e)return a.PL(c,b,h,l,k,g);if(0==e)return a.WL(c,b,h,l,k,g);throw d.f.ya();};a.PL=function(a,c,b,l,k,g){var e=
- new d.Hb,f=b[l].Pg,h=b[l].zn,r=b[l].em,v=-1,m=-1,w=-1,n=-1;if(!a&&0<l)var D=b[l-1],v=D.Pg,m=D.zn,w=D.em,n=D.dj;var z=-1,B=-1,A=-1,C=-1;l<b.length-1&&(D=b[l+1],z=D.Pg,B=D.zn,A=D.em,C=D.dj);var E=c.U(f),D=c.U(r);if(!a)return 0<l&&v==f&&m==h&&w==D&&2==n||l<b.length-1&&z==E&&B==h&&A==D&&2==C?(a=c.ic(r),null==a&&(c.pd(r,e),a=e),g.L(a.Eg(1)),k.au(g),g.normalize(),k.normalize(),!1):l<b.length-1&&z==f&&B==h&&A==D?(a=c.ic(r),null==a&&(c.pd(r,e),a=e),k.L(a.Eg(1)),a=c.ic(D),null==a&&(c.pd(D,e),a=e),g.L(a.Eg(0)),
- k.Kr(),g.normalize(),k.normalize(),!1):!0;if(l==b.length-1||z!=f||B!=h||A!=D||2==C)return a=c.ic(r),null==a&&(c.pd(r,e),a=e),g.L(a.Eg(1)),k.au(g),g.normalize(),k.normalize(),!1;a=c.ic(r);null==a&&(c.pd(r,e),a=e);k.L(a.Eg(1));a=c.ic(D);null==a&&(c.pd(D,e),a=e);g.L(a.Eg(0));k.Kr();g.normalize();k.normalize();return!1};a.WL=function(a,c,b,l,k,g){var e=new d.Hb,f=b[l].Pg,h=b[l].zn,r=b[l].em,v=-1,m=-1,w=-1,n=-1;if(!a&&l<b.length-1)var D=b[l+1],v=D.Pg,m=D.zn,w=D.em,n=D.dj;var z=-1,B=-1,A=-1,D=-1;0<l&&(D=
- b[l-1],z=D.Pg,B=D.zn,A=D.em,D=D.dj);var C=c.U(f),E=c.Ra(r);return a?0==l||z!=f||B!=h||A!=E||2==D?(a=c.ic(r),null==a&&(c.pd(r,e),a=e),g.L(a.Eg(0)),k.au(g),g.normalize(),k.normalize(),!1):!0:0<l&&z==f&&B==h&&A==E&&2==D||l<b.length-1&&v==C&&m==h&&w==E&&2==n?(a=c.ic(r),null==a&&(c.pd(r,e),a=e),g.L(a.Eg(0)),k.au(g),g.normalize(),k.normalize(),!1):!0};a.LL=function(a,c,b,l,k,g,t){var e=new d.Hb,f=a.ic(k);null==f&&(a.pd(k,e),f=e);b=c[b];c=b.Pg;b=b.sB;k=a.U(c);if(1==b)g.L(f.Eg(1)),-1!=k&&k!=a.Rj(l)?(f=a.ic(k),
- null==f&&(a.pd(k,e),f=e),t.L(f.Eg(0)),f=a.ic(c),null==f&&a.pd(c,e)):t.L(g),g.Kr(),t.normalize(),g.normalize();else if(0==b)t.L(f.Eg(b)),g.au(t),t.normalize(),g.normalize();else throw d.f.ya();};return a}();d.VL=a})(n||(n={}));(function(d){(function(a){a[a.Linear=0]="Linear";a[a.Angular=1]="Angular";a[a.Area=2]="Area"})(d.hO||(d.hO={}));var m=function(){function a(a,c,b){this.nd=c;this.Ai=b;this.aB=a}a.prototype.Eb=function(c){return c instanceof a?this.Ai===c.Ai:!1};a.kH=function(c){return 0!==c.nd?
- null:-1===c.aB?new a(-1,2,c.Ai*c.Ai):a.ze(e[c.aB])};a.ze=function(a){a=c[a];return void 0===a?null:a};a.aR=function(c,b,e){var f=null;if(void 0!==e&&null!==e)try{"EPSG"===e.values[0]&&(f=a.ze(parseInt(e.values[1])))}catch(p){}null===f&&(f=new a(-1,c,b));return f};a.prototype.yc=function(){return this.aB};a.prototype.NG=function(a){if(a.nd!=this.nd)throw d.f.La();return this.Ai/a.Ai};a.li=function(a,c,b){return c.NG(b)*a};a.cG=function(a,c,b,e,f){b=b.NG(e);for(e=0;e<c;e++)f[e]=a[e]*b};return a}();
- d.oc=m;for(var g=[109402,4046.8564224,109403,4046.87260987425,109463,100,109401,1E4,109461,225E8,109460,25E8,109451,1E-4,109444,404.68564224000005,109424,404.6849341289498,109428,404.68493792602754,109416,404.67838076760535,109420,404.68423895571647,109448,404.683871963536,109411,404.6872609874253,109450,.01,109408,3.34450944,109405,.09290304,109430,.09290354800069446,109423,.0929028774400711,109427,.09290287831176021,109441,.09290349665192114,109407,.09290137299531805,109440,.09290286332673177,109431,
- .09290274144751023,109432,.09290207073852812,109433,.09290279616016,109434,.09290273520025,109419,.09290271785025629,109447,.0929026336004445,109406,.09290341161327487,109453,6.4516E-4,109454,6.451625806477421E-4,109414,1E6,109445,.04046856422400001,109425,.04046849341289498,109429,.04046849379260275,109417,.04046783807676053,109421,.04046842389557164,109449,.0404683871963536,109412,.04046872609874253,109404,1,109410,1.000027193184865,109413,2589998.4703195216,109452,1E-6,109409,3429904,109458,3434290.937856,
- 109457,3434528.1495040003,109464,1.244521604938272E-7,109455,25.292852640000003,109456,25.29295381171408,109459,2.89612324,109439,2589988.110336,109462,.7168473118308245,109442,.83612736,109422,.83612589696064,109426,.836125904805842,109415,.8361123569578626,109435,.836124673027592,109436,.836118636646753,109437,.8361251654414399,109438,.83612461680225,109418,.8361244606523066,109446,.8361237024040001,109443,.8361307045194736],b=[9103,2.908882086657216E-4,9104,4.84813681109536E-6,9102,.0174532925199433,
- 9106,.01570796326794897,9105,.01570796326794897,9109,1E-6,9114,9.817477042468104E-4,1031,4.84813681109536E-9,9112,1.570796326794897E-4,9101,1,9113,1.570796326794897E-6],a=[109031,15E4,109461,109030,5E4,109460,1033,.01,109451,9097,20.1168,109444,9052,20.1167824,109424,9062,20.116782494375872,109428,9038,20.1166195164,109416,9042,20.116765121552632,109420,9301,20.116756,109448,9033,20.11684023368047,109411,109005,.1,109450,9014,1.8288,109408,9002,.3048,109405,9070,.3048008333333334,109430,9051,.3047997333333333,
- 109423,9061,.3047997347632708,109427,9095,.3048007491,109441,9005,.3047972654,109407,9094,.3047997101815088,109440,9080,.3047995102481469,109431,9081,.30479841,109432,9082,.3047996,109433,9083,.3047995,109434,9041,.304799471538676,109419,9300,.3047993333333334,109447,9003,.3048006096012192,109406,109008,.0254,109453,109009,.0254000508001016,109454,9036,1E3,109414,9098,.201168,109445,9053,.201167824,109425,9063,.2011678249437587,109429,9039,.201166195164,109417,9043,.2011676512155263,109421,9302,.20116756,
- 109449,9034,.2011684023368047,109412,9001,1,109404,9031,1.0000135965,109410,9035,1609.3472186944375,109413,1025,.001,109452,9030,1852,109409,109013,1853.184,109458,109012,1853.248,109457,109016,3.527777777777778E-4,109464,109010,5.0292,109455,109011,5.029210058420118,109456,109014,1.7018,109459,9093,1609.344,109439,109015,.8466683600033867,109462,9096,.9144,109442,9050,.9143992,109422,9060,.9143992042898124,109426,9037,.9143917962000001,109415,9084,.9143985307444408,109435,9085,.91439523,109436,9086,
- .9143988,109437,9087,.9143985,109438,9040,.9143984146160287,109418,9099,.914398,109446,109002,.9144018288036576,109443,109001,.9144,109442,109003,20.1168,109444,109004,.201168,109445,109006,.01,109451,109007,.001,109452],c=[],e=[],f=0;f<g.length;f+=2)c[g[f]]=new m(g[f],2,g[f+1]);g=null;for(f=0;f<b.length;f+=2)c[b[f]]=new m(b[f],1,b[f+1]);b=null;for(f=0;f<a.length;f+=3)c[a[f]]=new m(a[f],0,a[f+1]),e[a[f]]=a[f+2];a=null})(n||(n={}));(function(d){var m=function(){function d(){this.Gb=this.qb=0}d.prototype.set=
- function(b,a){void 0!==a?(this.qb=b,this.Gb=a):"number"===typeof b?(this.qb=b,this.Gb=0):(this.qb=b.qb,this.Gb=b.Gb)};d.prototype.value=function(){return this.qb};d.prototype.add=function(b){var a=this.qb+b.qb;b=this.Gb+b.Gb+2.220446049250313E-16*Math.abs(a);this.qb=a;this.Gb=b};d.prototype.hP=function(){var b=this.qb+1,a=this.Gb+2.220446049250313E-16*Math.abs(b);this.qb=b;this.Gb=a};d.prototype.aP=function(b,a){this.qb=b.qb+a.qb;this.Gb=b.Gb+a.Gb+2.220446049250313E-16*Math.abs(this.qb)};d.prototype.sub=
- function(b){if("number"===typeof b){var a=this.qb-b;b=this.Gb+2.220446049250313E-16*Math.abs(a)}else a=this.qb-b.qb,b=this.Gb+b.Gb+2.220446049250313E-16*Math.abs(a);this.qb=a;this.Gb=b};d.prototype.Vg=function(b){var a=this.qb*b.qb;this.Gb=this.Gb*Math.abs(b.qb)+b.Gb*Math.abs(this.qb)+this.Gb*b.Gb+2.220446049250313E-16*Math.abs(a);this.qb=a};d.prototype.yp=function(b){var a=this.qb*b;this.Gb=this.Gb*Math.abs(b)+2.220446049250313E-16*Math.abs(a);this.qb=a};d.prototype.pm=function(b,a){var c=Math.abs(b.qb)*
- Math.abs(a.qb);this.Gb=b.Gb*Math.abs(a.qb)+a.Gb*Math.abs(b.qb)+b.Gb*a.Gb+2.220446049250313E-16*Math.abs(c);this.qb=c};d.prototype.Xm=function(b){var a=Math.abs(b.qb),c=this.qb/b.qb,e=(this.Gb+Math.abs(c)*b.Gb)/a;b.Gb>.01*a&&(b=b.Gb/a,e*=1+(1+b)*b);this.qb=c;this.Gb=e+2.220446049250313E-16*Math.abs(c)};d.prototype.sqrt=function(){var b,a;0<=this.qb?(b=Math.sqrt(this.qb),a=this.qb>10*this.Gb?.5*this.Gb/b:this.qb>this.Gb?b-Math.sqrt(this.qb-this.Gb):Math.max(b,Math.sqrt(this.qb+this.Gb)-b),a+=2.220446049250313E-16*
- Math.abs(b)):this.qb<-1*this.Gb?a=b=NaN:(b=0,a=Math.sqrt(this.Gb));this.qb=b;this.Gb=a};d.prototype.sin=function(b){var a=Math.sin(b.qb),c=Math.cos(b.qb);this.qb=a;a=Math.abs(a);this.Gb=(Math.abs(c)+.5*a*b.Gb)*b.Gb+2.220446049250313E-16*a};d.prototype.cos=function(b){var a=Math.sin(b.qb),c=Math.cos(b.qb);this.qb=c;c=Math.abs(c);this.Gb=(Math.abs(a)+.5*c*b.Gb)*b.Gb+2.220446049250313E-16*c};d.prototype.Lg=function(){return Math.abs(this.qb)<=this.Gb};d.prototype.kt=function(){return this.Lg()&&0!=this.Gb};
- return d}();d.Xb=m})(n||(n={}));var P=new n.b,da=new n.b,fa=new n.b,ga=new n.b,ia=new n.b;(function(d){var m;(function(b){b[b.closedPath=1]="closedPath";b[b.exteriorPath=2]="exteriorPath";b[b.ringAreaValid=4]="ringAreaValid"})(m||(m={}));var g=function(){function b(a,c,b,f,d,l,k){void 0!==c?(this.bb=a,this.Bk=c,this.Gl=b,this.Ji=f,this.Ba=l,this.PA=k,this.Tw=d):(this.bb=a.bb,this.Bk=a.Bk,this.Gl=a.Gl,this.Ji=a.Ji,this.Ba=a.Ba,this.PA=a.PA,this.Tw=a.Tw);this.mI=!0}b.prototype.next=function(){return this.mI?
- (this.mI=!1,this.Ji):-1!=this.Ji?(this.Ji=this.bb.U(this.Ji),this.Ba++,-1!=this.Ji&&this.Ji!=this.Tw?this.Ji:this.XV()):-1};b.prototype.XV=function(){this.Gl=this.bb.Sb(this.Gl);for(this.Ba=0;-1!=this.Bk;){for(;-1!=this.Gl;this.Gl=this.bb.Sb(this.Gl))if(this.Tw=this.Ji=this.bb.cb(this.Gl),-1!=this.Ji)return this.Ji;this.Bk=this.bb.Ue(this.Bk);if(-1==this.Bk)break;if(!this.PA||d.T.Ic(this.bb.hc(this.Bk)))this.Gl=this.bb.Pb(this.Bk)}return-1};b.wR=function(a,c,e,f,d,l,k){return new b(a,c,e,f,d,l,k)};
- return b}();d.LZ=g;m=function(){function b(){this.Xo=this.pn=this.Yk=this.md=this.el=this.jp=this.nj=this.sd=this.Bi=this.ph=this.wf=this.Gr=this.Jr=this.xb=this.nm=null;this.bx=this.rd=-1;this.ud=0;this.NA=!1;this.Gr=this.Jr=this.xb=null}b.prototype.ti=function(a){return null!=this.wf?this.wf[a]:null};b.prototype.th=function(a,c){if(null==this.wf){if(null==c)return;this.wf=[];for(var b=0,f=this.xb.D();b<f;b++)this.wf.push(null)}this.wf[a]=c};b.prototype.Lp=function(a,c){this.sd.P(a,1,c)};b.prototype.Kp=
- function(a,c){this.sd.P(a,2,c)};b.prototype.sC=function(a,c){this.sd.P(a,6,c)};b.prototype.Lq=function(a){return this.sd.S(a,6)};b.prototype.Qx=function(a,c){this.sd.P(a,7,c)};b.prototype.cw=function(a){return this.sd.S(a,0)};b.prototype.EK=function(a,c){this.md.P(a,1,c)};b.prototype.IK=function(a,c){this.md.P(a,0,c)};b.prototype.TG=function(a){return this.md.S(a,7)};b.prototype.Ip=function(a,c){this.md.P(a,3,c)};b.prototype.Jp=function(a,c){this.md.P(a,4,c)};b.prototype.dW=function(a){null==this.md&&
- (this.md=new d.ad(8));var c=this.md.Pe();this.md.P(c,2,a);this.md.P(c,5,0);this.md.P(c,6,0);this.md.P(c,7,c);return c};b.prototype.BS=function(a){this.md.kd(a)};b.prototype.fW=function(a){null==this.sd&&(this.sd=new d.ad(8),this.Dd=new d.ad(5),this.nj=new d.Sd(0),this.jp=new d.Sd(0));var c=this.sd.Pe();this.sd.P(c,0,c);this.sd.P(c,3,0);this.sd.P(c,6,0);this.Qx(c,a);c>=this.nj.size&&(a=16>c?16:d.J.truncate(3*c/2),this.nj.resize(a),this.jp.resize(a));this.nj.set(c,0);this.jp.set(c,0);return c};b.prototype.CG=
- function(a){this.sd.kd(a)};b.prototype.Cz=function(a){this.Dd.kd(a);this.ud--};b.prototype.wJ=function(a){null==this.sd&&(this.sd=new d.ad(8),this.Dd=new d.ad(5),this.nj=new d.Sd(0),this.jp=new d.Sd(0));var c=this.Dd.Pe(),b=0<=a?a:c;this.Dd.P(c,0,b);if(0>a){if(b>=this.xb.D()){a=16>b?16:d.J.truncate(3*b/2);this.xb.resize(a);if(null!=this.wf)for(var f=0;f<a;f++)this.wf.push(null);null!=this.ph&&this.ph.resize(a);this.Jr=this.xb.Pa(0)}this.xb.rb(b,-1E38,-1E38);null!=this.wf&&(this.wf[b]=null);null!=
- this.ph&&this.ph.write(b,1)}this.Dd.P(c,4,2*b);this.ud++;return c};b.prototype.Vj=function(a,c,b){var e=-1!=c?this.Ra(c):this.Rj(a),d=-1!=e?this.U(e):-1,l=this.wJ(null==b?this.ud:-1),k=this.Za(l);null!=b&&this.xb.uu(k,b);this.Aj(l,a);this.Kc(l,d);this.Lc(l,e);-1!=d&&this.Lc(d,l);-1!=e&&this.Kc(e,l);b=this.Qb(a);e=this.cb(a);-1==c&&this.sh(a,l);c==e&&this.jg(a,l);b&&-1==d&&(this.Kc(l,l),this.Lc(l,l));this.mk(a,this.Ka(a)+1);a=this.ng(a);this.kk(a,this.D(a)+1);return l};b.prototype.bn=function(){null==
- this.Xo&&(this.Xo=new d.Wa(this.xb.description));return this.Xo};b.prototype.Hp=function(a,c){this.md.P(a,2,this.md.S(a,2)&-134217729||(1==c?134217728:0))};b.prototype.xo=function(a){return 0!=(this.md.S(a,2)&134217728)?1:0};b.prototype.eP=function(a){var c=this.bh(a.G(),a.description);1736==a.G()&&this.Hp(c,a.xo());this.fF(c,a);return c};b.prototype.fP=function(a){var c=this.bh(a.G(),a.description);this.gF(c,a);return c};b.prototype.OW=function(a,c){null==this.sd&&(this.sd=new d.ad(8),this.Dd=new d.ad(5),
- this.nj=new d.Sd(0),this.jp=new d.Sd(0));this.sd.Qe(this.sd.xd+a);this.Dd.Qe(this.Dd.xd+c);this.nj.yb(this.nj.size+a);this.jp.yb(this.jp.size+a)};b.prototype.fF=function(a,c){this.OW(c.aa(),c.D());this.nm.Jd(c,0,c.D());this.Jr=this.xb.Pa(0);for(var b=null!=this.wf&&null!=c.cf,f=0,h=c.aa();f<h;f++)if(!(2>c.Ka(f))){var l=this.Yf(a,-1);this.ao(l,c.Qb(f));for(var k=c.wa(f),g=c.Gc(f);k<g;k++){var t=this.Vj(l,-1,null);if(b)if(t=this.Za(t),0!=(c.iH(k)&1))this.th(t,null);else{var p=new d.Cg;c.ic(k,p,!0);
- this.th(t,p.get())}}}};b.prototype.gF=function(a,c){this.nm.Jd(c,0,c.D());this.Jr=this.xb.Pa(0);a=this.Yf(a,-1);var b=0;for(c=c.D();b<c;b++)this.Vj(a,-1,null)};b.prototype.FY=function(a,c,b){var e=this.U(a);if(-1==e)throw d.f.ya();for(var h=this.bn(),l=this.ld(a),k=0,g=c.Rl(b);k<g;k++){var t=this.Za(a),p=this.U(a),q=c.Mq(b,k);0==k&&(q.Dp(h),this.Yh(a,h));322==q.G()?this.th(t,null):this.th(t,d.T.ne(q));q.Bp(h);k<g-1?a=this.Vj(l,p,h):this.Yh(e,h)}};b.prototype.EY=function(a,c,b){var e=this.U(a);if(-1==
- e)throw d.f.ya();for(var h=this.bn(),l=this.ld(a),k=0,g=c.Rl(b);k<g;k++){var t=this.Za(a),p=this.U(a),q=c.Mq(b,g-k-1);0==k&&(q.Bp(h),this.Yh(a,h));322==q.G()?this.th(t,null):this.th(t,d.T.ne(q));q.Dp(h);k<g-1?a=this.Vj(l,p,h):this.Yh(e,h)}};b.prototype.SG=function(){var a=new d.h;a.Oa();for(var c=this.Pr(),b=new d.b,f=!0,h=c.next();-1!=h;h=c.next())this.w(h,b),f?a.Nb(b.x,b.y):a.ml(b.x,b.y),f=!1;return a};b.prototype.Jb=function(a){var c=a.G();if(d.T.Ic(c))return this.eP(a);if(550==c)return this.fP(a);
- throw d.f.ya();};b.prototype.vP=function(a,c){var b=c.G();if(d.T.Ic(b))this.fF(a,c);else if(550==b)this.gF(a,c);else throw d.f.ya();};b.prototype.jP=function(a,c){var b=this.bh(1736,a.description);if(2>a.Ka(c))return b;this.nm.Jd(a,a.wa(c),a.Gc(c));this.Jr=this.xb.Pa(0);var f=this.Yf(b,-1);this.ao(f,a.Qb(c)||!0);var h=null!=this.wf&&null!=a.cf,l=a.wa(c);for(c=a.Gc(c);l<c;l++){var k=this.Vj(f,-1,null);if(h)if(k=this.Za(k),0!=(a.iH(l)&1))this.th(k,null);else{var g=new d.Cg;a.ic(l,g,!0);this.th(k,g.get())}}return b};
- b.prototype.Se=function(a){var c=this.hc(a),b=d.tM.bh(c,this.nm.description),f=this.D(a);if(0==f)return b;if(d.T.Ic(c)){for(var c=this.aa(a),h=d.Uc.wh(c+1),l=d.Uc.vq(c+1,0),k=b.description,g=0,t=k.Ea;g<t;g++){for(var p=k.zd(g),q=d.na.Xa(p),u=d.Uc.pz(p,f),v=this.xb.Pa(p),m=0,w=0,n=0,D=this.Pb(a);-1!=D;D=this.Sb(D)){var z=0;this.Qb(D)&&(z|=1);this.QU(D)&&(z|=4);0!=z&&l.hC(w,z);var B=this.Ka(D);h.write(w++,n);n+=B;if(0==p)for(var B=v,A=u,C=new d.b,z=this.cb(D);m<n;z=this.U(z),m++){var E=this.Za(z);B.fc(2*
- E,C);A.ho(2*m,C)}else for(z=this.cb(D);m<n;z=this.U(z),m++)for(E=this.Za(z),A=0;A<q;A++)C=v.Of(E*q+A),u.Dm(m*q+A,C)}b.Zn(p,u);h.write(c,f)}b.FK(l);b.GK(h);b.Dc(16777215)}else if(550==c){k=b.description;b.resize(f);g=0;for(t=k.Ea;g<t;g++){p=k.zd(g);q=d.na.Xa(p);u=b.Pa(p);v=this.xb.Pa(p);m=0;D=this.Pb(a);B=this.Ka(D);for(z=this.cb(D);m<B;z=this.U(z),m++)for(E=this.Za(z),A=0;A<q;A++)C=v.Of(E*q+A),u.Dm(m*q+A,C);b.Zn(p,u)}b.Dc(16777215)}return b};b.prototype.$B=function(a){for(var c=this.Pb(a);-1!=c;c=
- this.Qr(c));var c=this.HT(a),b=this.Ue(a);-1!=c?this.EK(c,b):this.rd=b;-1!=b?this.IK(b,c):this.bx=c;this.BS(a)};b.prototype.bh=function(a,c){return void 0===c?this.fG(a,d.ye.Ig()):this.fG(a,c)};b.prototype.fG=function(a,c){a=this.dW(a);null==this.xb?this.xb=this.nm=new d.Ed(c):this.nm.om(c);this.Gr=this.nm.description;this.NA=1<this.Gr.Ea;-1==this.rd?this.rd=a:(this.IK(a,this.bx),this.EK(this.bx,a));return this.bx=a};b.prototype.Ue=function(a){return this.md.S(a,1)};b.prototype.HT=function(a){return this.md.S(a,
- 0)};b.prototype.hc=function(a){return this.md.S(a,2)&2147483647};b.prototype.wK=function(a,c,b){c=this.Yk[c];a=this.TG(a);a>=c.size&&c.resize(Math.max(d.J.truncate(1.25*a),16),-1);c.write(a,b)};b.prototype.UG=function(a,c){a=this.TG(a);c=this.Yk[c];return a<c.size?c.read(a):-1};b.prototype.gG=function(){null==this.Yk&&(this.Yk=[]);for(var a=0;a<this.Yk.length;a++)if(null==this.Yk[a])return this.Yk[a]=d.Uc.wh(0),a;this.Yk.push(d.Uc.wh(0));return this.Yk.length-1};b.prototype.tX=function(a){this.Yk[a]=
- null};b.prototype.Pb=function(a){return this.md.S(a,3)};b.prototype.Wv=function(a){return this.md.S(a,4)};b.prototype.D=function(a){return this.md.S(a,5)};b.prototype.aa=function(a){return this.md.S(a,6)};b.prototype.zq=function(a,c,b){for(var e=0,h=this.rd;-1!=h;h=this.Ue(h)){var l=this.hc(h);if(d.T.Ic(l)&&(!b||1736==l))for(var l=1736==this.hc(h),k=this.Pb(h);-1!=k;){for(var g=0,t=this.cb(k);g<d.J.truncate(this.Ka(k)/2);){var p=this.U(t);if(-1==p)break;var q=this.Za(t),u=this.ti(q);null!=u?q=u.Rb():
- (u=this.Za(p),q=this.xb.ws(q,u));q<=a?(0==q?0==e&&(e=-1):e=1,p!=this.Rj(k)&&(this.IC(p,t),this.td(p,!0))):t=this.U(t);g++}g=this.cb(k);for(t=this.Qb(k)?g:this.Rj(k);0<this.Ka(k);)if(p=this.Ra(t),-1!=p){var m=this.Za(p),u=this.ti(m);null!=u?q=u.Rb():(q=this.Za(t),q=this.xb.ws(q,m));if(q<=a)0==q?0==e&&(e=-1):e=1,this.IC(p,t),this.td(p,!1),g==p&&(g=this.cb(k));else if(t=this.Ra(t),t==g)break}else{this.td(t,!0);0==e&&(e=-1);break}t=this.Ka(k);c&&(l?3>t:2>t)?(k=this.Qr(k),e=0<t?1:0==e?-1:e):k=this.Sb(k)}}return e};
- b.prototype.IC=function(a,c){var b=this.Za(a),f=this.Za(c);null!=this.ph&&(b=this.ph.read(b),this.ph.write(f,b));if(null!=this.Bi)for(f=0,b=this.Bi.length;f<b;f++)if(null!=this.Bi[f]){var d=this.Sa(a,f);-1!=d&&this.Va(c,f,d)}};b.prototype.zm=function(a,c,b){var e=0,h=this.U(a);if(-1==h)throw d.f.ya();for(var l=this.Za(a),k=this.Za(h),g=this.ti(l),t=null==g?this.xb.ws(l,k):g.Rb(),p=0;p<b;p++){var q=c[p];if(0<q&&1>q){var u=q;null!=g&&(u=0<t?g.Cy(q)/t:0);this.xb.CE(l,k,u,this.bn());var m=this.Vj(this.ld(a),
- h,this.bn());e++;if(null!=g){var x=g.Hl(0,q),u=this.Za(this.Ra(m));this.th(u,x);this.Qf(m,x.Cc());if(p==b-1||1==c[p+1])q=g.Hl(q,1),this.th(u,q)}}}return e};b.prototype.DY=function(a,c,b){var e=0,h=this.U(a);if(-1==h)throw d.f.X("internal error");var l=this.Za(a),k=this.Za(h),g=this.ti(l),t=null==g?this.xb.ws(l,k):g.Rb(),p=0;a=this.ld(a);for(var q=0;q<b;q++){var u=c[q];if(p<u&&1>u){var m=u;null!=g&&(m=0<t?g.Cy(u)/t:0);this.xb.CE(l,k,m,this.bn());m=this.sU(a,h,this.bn());e++;if(null!=g){var p=g.Hl(p,
- u),x=this.Za(this.Ra(m));this.th(x,p);this.rb(m,p.sa,p.oa);if(q==b-1||1==c[q+1])p=g.Hl(u,1),m=this.Za(m),this.th(m,p)}}p=u}return e};b.prototype.sU=function(a,c,b){var e=-1!=c?this.Ra(c):this.Rj(a),d=-1!=e?this.U(e):-1,l=this.wJ(null==b?this.ud:-1),k=this.Za(l);null!=b&&this.xb.uu(k,b);this.Aj(l,a);this.Kc(l,d);this.Lc(l,e);-1!=d&&this.Lc(d,l);-1!=e&&this.Kc(e,l);b=this.Qb(a);e=this.cb(a);-1==c&&this.sh(a,l);c==e&&(b&&-1!=e||this.jg(a,l));b&&-1==d&&(this.Kc(l,l),this.Lc(l,l));this.mk(a,this.Ka(a)+
- 1);a=this.ng(a);this.kk(a,this.D(a)+1);return l};b.prototype.DF=function(a,c,b){var e=this.Za(c),h=this.Za(b);if(0>e||h>this.ud-1)throw d.f.F("invalid call");if(e>h&&!this.Qb(a))throw d.f.F("cannot iterate across an open path");for(a=0;c!=b;c=this.U(c))e=this.Za(c),h=this.ti(e),null!=h?a+=h.Rb():(h=this.Za(this.U(c)),a+=this.xb.ws(e,h));return a};b.prototype.Yh=function(a,c){var b=this.Za(a);this.xb.uu(b,c);b=this.ti(b);null!=b&&b.setStart(c);a=this.Ra(a);-1!=a&&(a=this.Za(a),null!=this.ti(a)&&b.setEnd(c))};
- b.prototype.wj=function(a,c){a=this.Za(a);this.xb.Ae(a,c)};b.prototype.Qf=function(a,c){this.rb(a,c.x,c.y)};b.prototype.rb=function(a,c,b){var e=this.Za(a);this.xb.rb(e,c,b);e=this.ti(e);null!=e&&e.vC(c,b);a=this.Ra(a);-1!=a&&(a=this.Za(a),null!=this.ti(a)&&e.vm(c,b))};b.prototype.w=function(a,c){this.xb.w(this.Dd.S(a,0),c)};b.prototype.Nc=function(a,c){this.xb.xa[0].fc(2*this.Dd.S(a,0),c)};b.prototype.Aa=function(a){var c=new d.b;this.xb.w(this.Dd.S(a,0),c);return c};b.prototype.oH=function(a,c){this.Jr.fc(2*
- a,c)};b.prototype.Yc=function(a,c,b){return this.xb.Yc(a,this.Za(c),b)};b.prototype.setAttribute=function(a,c,b,f){this.xb.setAttribute(a,this.Za(c),b,f)};b.prototype.Za=function(a){return this.Dd.S(a,0)};b.prototype.nf=function(a){var c=new d.b;this.w(a,c);return c.y};b.prototype.Tq=function(a,c){a=this.Za(a);c=this.Za(c);var b=this.xb.xa[0].g;return b[2*a]===b[2*c]&&b[2*a+1]===b[2*c+1]};b.prototype.pw=function(a,c){a=this.Za(a);var b=this.xb.xa[0].g;return b[2*a]===c.x&&b[2*a+1]===c.y};b.prototype.pY=
- function(a,c){1>c&&(c=1);if(null==this.ph){if(1==c)return;this.ph=d.Uc.Vm(this.xb.D(),1)}a=this.Za(a);a>=this.ph.size&&this.ph.resize(a+1,1);this.ph.write(a,c)};b.prototype.nH=function(a){a=this.Za(a);return null==this.ph||a>=this.ph.size?1:this.ph.read(a)};b.prototype.Va=function(a,c,b){c=this.Bi[c];a=this.Za(a);c.size<this.xb.D()&&c.resize(this.xb.D(),-1);c.write(a,b)};b.prototype.Sa=function(a,c){a=this.Za(a);c=this.Bi[c];return a<c.size?c.read(a):-1};b.prototype.Vd=function(){null==this.Bi&&(this.Bi=
- []);for(var a=0;a<this.Bi.length;a++)if(null==this.Bi[a])return this.Bi[a]=d.Uc.wh(0,-1),a;this.Bi.push(d.Uc.wh(0,-1));return this.Bi.length-1};b.prototype.ke=function(a){this.Bi[a]=null};b.prototype.ic=function(a){return null!=this.wf?(a=this.Za(a),this.wf[a]):null};b.prototype.pd=function(a,c){var b=this.Dd.S(a,2);if(-1==b)return!1;if(this.NA){var f=new d.Wa;this.wj(a,f);c.setStart(f);this.wj(b,f);c.setEnd(f)}else this.xb.Nc(this.Dd.S(a,0),P),c.Rm(0,P),this.xb.Nc(this.Dd.S(b,0),P),c.Rm(1,P);return!0};
- b.prototype.fX=function(a,c,b){if(this.NA){var e=new d.Wa;this.wj(a,e);b.setStart(e);this.wj(c,e);b.setEnd(e)}else this.xb.Nc(a,P),b.Rm(0,P),this.xb.Nc(c,P),b.Rm(1,P)};b.prototype.Yf=function(a,c){var b;if(-1!=c){if(a!=this.ng(c))throw d.f.ya();b=this.bt(c)}else b=this.Wv(a);var f=this.fW(a);-1!=c&&this.Lp(c,f);this.Kp(f,c);this.Lp(f,b);-1!=b?this.Kp(b,f):this.Ip(a,f);-1==c&&this.Jp(a,f);this.wm(a,this.aa(a)+1);return f};b.prototype.AH=function(a,c,b,f){a=this.Yf(a,-1);for(var e=0,d=c,k=!1;d==b&&
- (k=!0),this.Aj(d,a),e++,d=this.U(d),d!=c;);this.ao(a,!0);this.mk(a,e);k&&(c=b);this.jg(a,c);this.sh(a,this.Ra(c));this.Np(a,!1);null!=f&&(f[0]=k);return a};b.prototype.Qr=function(a){var c=this.bt(a),b=this.Sb(a),f=this.ng(a);-1!=c?this.Kp(c,b):this.Ip(f,b);-1!=b?this.Lp(b,c):this.Jp(f,c);this.CQ(a);this.wm(f,this.aa(f)-1);this.CG(a);return b};b.prototype.CQ=function(a){var c=this.cb(a);if(-1!=c){for(var b=0,f=this.Ka(a);b<f;b++){var d=c,c=this.U(c);this.Cz(d)}c=this.ng(a);this.kk(c,this.D(c)-this.Ka(a))}this.mk(a,
- 0)};b.prototype.Sb=function(a){return this.sd.S(a,2)};b.prototype.bt=function(a){return this.sd.S(a,1)};b.prototype.Ka=function(a){return this.sd.S(a,3)};b.prototype.Qb=function(a){return 0!=(this.Lq(a)&1)};b.prototype.ao=function(a,c){if(this.Qb(a)!=c){if(0<this.Ka(a)){var b=this.cb(a),f=this.Rj(a);c?(this.Kc(f,b),this.Lc(b,f)):(this.Kc(f,-1),this.Lc(b,-1));b=this.Za(f);this.th(b,null)}this.sC(a,(this.Lq(a)|1)-1|(c?1:0))}};b.prototype.ng=function(a){return this.sd.S(a,7)};b.prototype.QU=function(a){return 0!=
- (this.Lq(a)&2)};b.prototype.nC=function(a,c){this.sC(a,(this.Lq(a)|2)-2|(c?2:0))};b.prototype.fA=function(a){if(this.WU(a))return this.nj.get(this.cw(a));var c=new d.Hb,b=this.cb(a);if(-1==b)return 0;var f=new d.b;this.w(b,f);for(var h=0,l=0,k=this.Ka(a);l<k;l++,b=this.U(b)){var g=this.ic(b);if(null==g){if(!this.pd(b,c))continue;g=c}h+=g.By(f.x,f.y)}this.Np(a,!0);this.nj.set(this.cw(a),h);return h};b.prototype.Zr=function(a,c,b){c=this.el[c];a=this.cw(a);c.size<this.nj.size&&c.resize(this.nj.size,
- -1);c.write(a,b)};b.prototype.Tj=function(a,c){a=this.cw(a);c=this.el[c];return a<c.size?c.read(a):-1};b.prototype.qz=function(){null==this.el&&(this.el=[]);for(var a=0;a<this.el.length;a++)if(null==this.el[a])return this.el[a]=d.Uc.wh(0),a;this.el.push(d.Uc.wh(0));return this.el.length-1};b.prototype.aC=function(a){this.el[a]=null};b.prototype.WV=function(a,c,b){if(-1==b)throw d.f.F();if(c!=b){var e=this.Sb(b),h=this.bt(b),l=this.ng(b);-1==h?this.Ip(l,e):this.Kp(h,e);-1==e?this.Jp(l,h):this.Lp(e,
- h);this.kk(l,this.D(l)-this.Ka(b));this.wm(l,this.aa(l)-1);h=-1==c?this.Wv(a):this.bt(c);this.Lp(b,h);this.Kp(b,c);-1==c?this.Jp(a,b):this.Lp(c,b);-1==h?this.Ip(a,b):this.Kp(h,b);this.kk(a,this.D(a)+this.Ka(b));this.wm(a,this.aa(a)+1);this.Qx(b,a)}};b.prototype.Kj=function(a,c){this.xb.Ae(this.Za(c),this.bn());this.Vj(a,-1,this.bn())};b.prototype.td=function(a,c){var b=this.ld(a),f=this.Ra(a),h=this.U(a);-1!=f&&this.Kc(f,h);var l=this.Ka(b);a==this.cb(b)&&this.jg(b,1<l?h:-1);-1!=h&&this.Lc(h,f);a==
- this.Rj(b)&&this.sh(b,1<l?f:-1);if(-1!=f&&-1!=h){var f=this.Za(f),k=this.Za(h);c?(c=this.ti(f),null!=c&&(f=new d.b,this.xb.w(k,f),c.Zc(f))):(k=this.Za(a),c=this.ti(k),this.th(f,c),null!=c&&(f=this.xb.Aa(f),c.Mc(f)))}this.mk(b,l-1);b=this.ng(b);this.kk(b,this.D(b)-1);this.Cz(a);return h};b.prototype.cb=function(a){return this.sd.S(a,4)};b.prototype.Rj=function(a){return this.sd.S(a,5)};b.prototype.U=function(a){return this.Dd.S(a,2)};b.prototype.Ra=function(a){return this.Dd.S(a,1)};b.prototype.ld=
- function(a){return this.Dd.S(a,3)};b.prototype.pc=function(a,c){return this.Vj(a,-1,c)};b.prototype.Pr=function(a){if(void 0===a)return this.Pr(!1);if(a instanceof g)return new g(a);var c,b=-1,f=-1,h=-1,l=0,k=!1;for(c=this.rd;-1!=c;c=this.Ue(c))if(!a||d.T.Ic(this.hc(c))){for(b=this.Pb(c);-1!=b;b=this.Sb(b))if(h=f=this.cb(b),l=0,-1!=f){k=!0;break}if(k)break}return g.wR(this,c,b,f,h,l,a)};b.prototype.Xc=function(a){this.nm.Xc(a);if(null!=this.wf)for(var c=0,b=this.wf.length;c<b;c++)null!=this.wf[c]&&
- this.wf[c].Xc(a)};b.prototype.as=function(a,c,b,f){f?this.FY(a,c,b):this.EY(a,c,b)};b.prototype.Lc=function(a,c){this.Dd.P(a,1,c)};b.prototype.Kc=function(a,c){this.Dd.P(a,2,c)};b.prototype.Aj=function(a,c){this.Dd.P(a,3,c)};b.prototype.mk=function(a,c){this.sd.P(a,3,c)};b.prototype.jg=function(a,c){this.sd.P(a,4,c)};b.prototype.sh=function(a,c){this.sd.P(a,5,c)};b.prototype.wm=function(a,c){this.md.P(a,6,c)};b.prototype.kk=function(a,c){this.md.P(a,5,c)};b.prototype.eK=function(a){var c=a;do{var b=
- this.U(c);this.Kc(c,this.Ra(c));this.Lc(c,b);c=b}while(c!=a)};b.prototype.yC=function(a){this.ud=a};b.prototype.Rr=function(a){var c=this.bt(a),b=this.Sb(a),f=this.ng(a);-1!=c?this.Kp(c,b):this.Ip(f,b);-1!=b?this.Lp(b,c):this.Jp(f,c);this.jg(a,-1);this.sh(a,-1);this.CG(a)};b.prototype.Mi=function(a,c){var b=this.Ra(a),f=this.U(a);-1!=b&&this.Kc(b,f);-1!=f&&this.Lc(f,b);if(-1!=b&&-1!=f)if(b=this.Za(b),f=this.Za(f),c){if(c=this.ti(b),null!=c){var h=new d.b;this.xb.w(f,h);c.Zc(h)}}else f=this.Za(a),
- c=this.ti(f),this.th(b,c),null!=c&&(h=new d.b,this.xb.w(b,h),c.Mc(h));this.Cz(a)};b.prototype.WU=function(a){return 0!=(this.Lq(a)&4)};b.prototype.Np=function(a,c){this.sC(a,(this.Lq(a)|4)-4|(c?4:0))};b.prototype.Wx=function(a,c){var b=this.Dd.g;this.xb.tc();var f=this.xb.xa[0].g;a.Gd(0,c,function(a,c){a=b[5*a];c=b[5*c];var e=f[2*a];a=f[2*a+1];var d=f[2*c];c=f[2*c+1];return a<c?-1:a>c?1:e<d?-1:e>d?1:0})};b.prototype.cU=function(){for(var a=this.rd;-1!=a;a=this.Ue(a))if(!d.T.Ic(this.hc(a)))return!0;
- return!1};b.prototype.DC=function(a,c){for(var b=this.Pb(a),f=this.Pb(c),d=this.Wv(a),l=this.Wv(c),k=this.Pb(a);-1!=k;k=this.Sb(k))this.Qx(k,c);for(k=this.Pb(c);-1!=k;k=this.Sb(k))this.Qx(k,a);this.Ip(a,f);this.Ip(c,b);this.Jp(a,l);this.Jp(c,d);b=this.D(a);f=this.aa(a);d=this.aa(c);this.kk(a,this.D(c));this.kk(c,b);this.wm(a,d);this.wm(c,f);b=this.md.S(a,2);this.md.P(a,2,this.md.S(c,2));this.md.P(c,2,b)};return b}();d.fd=m})(n||(n={}));(function(d){var m=function(g){function b(a,c,b,f){g.call(this);
- this.R=new d.h;void 0===a?this.ZF():"number"===typeof a?this.XQ(a,c,b,f):a instanceof d.Wa?void 0!==c?this.Dv(a,c,b):this.YQ(a):a instanceof d.na?void 0!==c?this.$Q(a,c):this.ZQ(a):a instanceof d.h?this.WQ(a):this.ZF()}O(b,g);b.prototype.Dv=function(a,c,b){this.description=d.ye.Ig();this.R.Oa();a.u()||this.bv(a,c,b)};b.prototype.WQ=function(a){this.description=d.ye.Ig();this.R.I(a);this.R.normalize()};b.prototype.ZQ=function(a){if(null==a)throw d.f.F();this.description=a;this.R.Oa()};b.prototype.$Q=
- function(a,c){if(null==a)throw d.f.F();this.description=a;this.R.I(c);this.R.normalize()};b.prototype.ZF=function(){this.description=d.ye.Ig();this.R.Oa()};b.prototype.YQ=function(a){this.description=d.ye.Ig();this.R.Oa();a.u()||this.bv(a)};b.prototype.XQ=function(a,c,b,f){this.description=d.ye.Ig();this.I(a,c,b,f)};b.prototype.I=function(a,c,b,f){this.Bc();if("number"===typeof a)this.R.I(a,c,b,f);else for(this.Oa(),c=0,b=a.length;c<b;c++)this.Nb(a[c])};b.prototype.Gp=function(a){this.Bc();if(!a.YU())throw d.f.F();
- this.R.I(a)};b.prototype.Oa=function(){this.Bc();this.R.Oa()};b.prototype.u=function(){return this.R.u()};b.prototype.N=function(){return this.R.N()};b.prototype.fa=function(){return this.R.fa()};b.prototype.Gk=function(){return this.R.Gk()};b.prototype.Cq=function(){return this.R.Cq()};b.prototype.Bq=function(){return this.R.Wf()};b.prototype.Nb=function(a){if(a instanceof d.b)this.Bc(),this.R.Nb(a);else if(a instanceof d.h)this.Bc(),this.R.Nb(a);else if(a instanceof d.Wa){if(this.Bc(),!a.Hc()){var c=
- a.description;this.description!=c&&this.om(c);if(this.u())this.bv(a);else{this.R.Nb(a.w());for(var e=1,f=c.Ea;e<f;e++)for(var h=c.Id(e),l=d.na.Xa(h),k=0;k<l;k++){var g=a.Yc(h,k),t=this.xf(h,k);t.Nb(g);setInterval(h,k,t)}}}}else if(a instanceof b&&!a.u())for(c=a.description,c!=this.description&&this.om(c),this.R.Nb(a.R),e=1,f=c.Ea;e<f;e++)for(h=c.zd(e),l=d.na.Xa(h),k=0;k<l;k++)g=a.xf(h,k),t=this.xf(h,k),t.Nb(g),setInterval(h,k,t)};b.prototype.bv=function(a,c,b){if(void 0!==c){this.R.I(a.w(),c,b);c=
- a.description;b=1;for(var e=c.Ea;b<e;b++)for(var h=c.Id(b),l=d.na.Xa(h),k=0;k<l;k++){var g=a.Yc(h,k);this.setInterval(h,k,g,g)}}else for(this.R.I(a.la[0],a.la[1]),c=a.description,b=1,e=c.Ea;b<e;b++)for(h=c.Id(b),l=d.na.Xa(h),k=0;k<l;k++)g=a.Yc(h,k),this.setInterval(h,k,g,g)};b.prototype.setInterval=function(a,c,b,f){var e=null;"number"===typeof b?e=new d.Ac(b,f):e=b;this.Bc();if(0==a)if(0==c)this.R.o=e.ca,this.R.v=e.ha;else if(1==c)this.R.A=e.ca,this.R.B=e.ha;else throw d.f.vd();else this.KE(0,a,
- c,e.ca),this.KE(1,a,c,e.ha)};b.prototype.O=function(a,c){this.Bc();this.R.O(a,c)};b.prototype.Xc=function(a){if(a instanceof d.Hd)this.Bc(),a.JC(this.R);else if(this.Bc(),!this.R.u()){var c=new d.cM;this.Cp(c);c.PU()?c.Oa():a.JC(c)}};b.prototype.copyTo=function(a){if(a.G()!=this.G())throw d.f.F();a.Bc();a.description=this.description;a.R.I(this.R);a.la=null;if(null!=this.la){a.Xu();for(var c=0;c<2*(this.description.af.length-2);c++)a.la[c]=this.la[c]}};b.prototype.Ja=function(){return new b(this.description)};
- b.prototype.hf=function(){return this.R.HG()};b.prototype.Rb=function(){return this.R.YG()};b.prototype.G=function(){return 197};b.prototype.tb=function(){return 2};b.prototype.Rn=function(a){this.copyTo(a)};b.prototype.s=function(a){a.o=this.R.o;a.A=this.R.A;a.v=this.R.v;a.B=this.R.B};b.prototype.Cp=function(a){a.o=this.R.o;a.A=this.R.A;a.v=this.R.v;a.B=this.R.B;a.I(this.R.o,this.R.A,this.ae(0,1,0),this.R.v,this.R.B,this.ae(1,1,0))};b.prototype.xf=function(a,c){var b=new d.Ac;b.I(this.ae(0,a,c),
- this.ae(1,a,c));return b};b.prototype.ig=function(a,c){c.Fg(this.description);var b=this.description.Ea-1;switch(a){case 0:for(a=0;a<b;a++)for(var f=this.description.zd(a),h=d.na.Xa(f),l=0;l<h;l++)c.setAttribute(f,l,this.ae(0,f,l));c.rb(this.R.o,this.R.A);break;case 1:for(a=0;a<b;a++)for(f=this.description.zd(a),h=d.na.Xa(f),l=0;l<h;l++)c.setAttribute(f,l,this.ae(1,f,l));c.rb(this.R.o,this.R.B);break;case 2:for(a=0;a<b;a++)for(f=this.description.zd(a),h=d.na.Xa(f),l=0;l<h;l++)c.setAttribute(f,l,this.ae(0,
- f,l));c.rb(this.R.v,this.R.B);break;case 3:for(a=0;a<b;a++)for(f=this.description.zd(a),h=d.na.Xa(f),l=0;l<h;l++)c.setAttribute(f,l,this.ae(1,f,l));c.rb(this.R.v,this.R.A);break;default:throw d.f.vd();}};b.prototype.Fx=function(a,c){a=this.R.Fx(a);c.ka(a.x,a.y)};b.prototype.aT=function(a,c){return c*(a.Dr-2)};b.prototype.IG=function(a,c,b){if(this.R.u())throw d.f.X("empty geometry");if(0==c)return 0!=a?0!=b?this.R.B:this.R.v:0!=b?this.R.A:this.R.o;if(b>=d.na.Xa(c))throw d.f.F();var e=this.description.mg(c);
- this.Xu();return 0<=e?this.la[this.aT(this.description,a)+this.description.DT(e)-2+b]:d.na.pe(c)};b.prototype.Xu=function(){this.Bc();if(null==this.la&&2<this.description.af.length){this.la=[];for(var a=b.$(this.description,0),c=b.$(this.description,1),e=0,f=1,h=this.description.Ea;f<h;f++)for(var l=this.description.zd(f),k=d.na.Xa(l),l=d.na.pe(l),g=0;g<k;g++)this.la[a+e]=l,this.la[c+e]=l,e++}};b.prototype.mo=function(a){if(null!=this.la)if(2<a.af.length){for(var c=d.ye.ux(a,this.description),e=[],
- f=b.$(this.description,0),h=b.$(this.description,1),l=b.$(a,0),k=b.$(a,1),g=0,t=1,p=a.Ea;t<p;t++){var q=a.zd(t),u=d.na.Xa(q);if(-1==c[t])for(var m=d.na.pe(q),q=0;q<u;q++)e[l+g]=m,e[k+g]=m,g++;else for(m=this.description.wk(c[t])-2,q=0;q<u;q++)e[l+g]=this.la[f+m],e[k+g]=this.la[h+m],g++,m++}this.la=e}else this.la=null;this.description=a};b.prototype.ae=function(a,c,e){if(this.R.u())throw d.f.X("This operation was performed on an Empty Geometry.");if(0==c)return 0!=a?0!=e?this.R.B:this.R.v:0!=e?this.R.A:
- this.R.o;if(e>=d.na.Xa(c))throw d.f.vd();var f=this.description.mg(c);return 0<=f?(this.Xu(),this.la[b.$(this.description,a)+this.description.wk(f)-2+e]):d.na.pe(c)};b.prototype.KE=function(a,c,e,f){this.Bc();if(0==c)0!=a?0!=e?this.R.B=f:this.R.v=f:0!=e?this.R.A=f:this.R.o=f;else{if(e>=d.na.Xa(c))throw d.f.vd();if(!this.hasAttribute(c)){if(d.na.OH(c,f))return;this.Ud(c)}c=this.description.mg(c);this.Xu();this.la[b.$(this.description,a)+this.description.wk(c)-2+e]=f}};b.$=function(a,c){return c*(a.af.length-
- 2)};b.prototype.Ma=function(a){this.Bc();var c=new d.h;a.s(c);return this.R.Ma(c)};b.prototype.Yb=function(a){return a instanceof d.h?this.R.Yb(a):this.R.Yb(a.R)};b.prototype.wv=function(a,c,b){this.Bc();a.u()?this.Oa():void 0!==c?this.bv(a,c,b):this.R.wv(a.Be(),a.nf())};b.prototype.offset=function(a,c){this.Bc();this.R.offset(a,c)};b.prototype.normalize=function(){this.Bc();this.R.normalize()};b.prototype.Wf=function(a){if(void 0!==a)if(a.Fg(this.description),this.u())a.Oa();else{for(var c=this.description.Ea,
- b=1;b<c;b++)for(var f=this.description.zd(b),h=d.na.Xa(f),l=0;l<h;l++){var k=.5*(this.IG(0,f,l)+this.IG(1,f,l));a.setAttribute(f,l,k)}a.rb(this.R.Wf())}else{a=new d.Wa(this.description);if(this.u())return a;c=this.description.Ea;for(b=1;b<c;b++)for(f=this.description.Id(b),h=d.na.Xa(f),l=0;l<h;l++)k=.5*(this.ae(0,f,l)+this.ae(1,f,l)),a.setAttribute(f,l,k);a.rb(this.R.Gk(),this.R.Cq());return a}};b.prototype.Xz=function(){return new d.Wa(this.R.Xz())};b.prototype.contains=function(a){return a instanceof
- d.Wa?a.u()?!1:this.R.contains(a.Be(),a.nf()):this.R.contains(a.R)};b.prototype.fR=function(a){return this.R.contains(a)};b.prototype.Eb=function(a){if(a==this)return!0;if(!(a instanceof b)||this.description!=a.description)return!1;if(this.u())return a.u()?!0:!1;if(!this.R.Eb(a.R))return!1;for(var c=0,e=2*(this.description.af.length-2);c<e;c++)if(this.la[c]!=a.la[c])return!1;return!0};b.prototype.jc=function(){var a=this.description.jc(),a=d.J.dh(a,this.R.jc());if(!this.u()&&null!=this.la)for(var c=
- 0,b=2*(this.description.af.length-2);c<b;c++)a=d.J.dh(a,this.la[c]);return a};b.prototype.Gg=function(){return d.Pi.Sm(this,null)};b.prototype.toString=function(){return this.u()?"Envelope: []":"Envelope: ["+this.R.o+", "+this.R.A+", "+this.R.v+", "+this.R.B+"]"};return b}(d.T);d.ci=m})(n||(n={}));(function(d){var m=function(){function g(b,a,c,e){void 0===b?this.Oa():(this.o=b,this.A=a,this.v=c,this.B=e)}g.pa=function(b,a,c,e){var f=new g;f.o=b;f.A=a;f.v=c;f.B=e;return f};g.prototype.I=function(b,
- a,c,e){"number"===typeof b?void 0!==c?(this.o=b,this.A=a,this.v=c,this.B=e,this.normalize()):(this.o=b,this.A=a,this.v=b,this.B=a):b instanceof d.b?void 0!==a?(this.o=b.x-.5*a,this.v=this.o+a,this.A=b.y-.5*c,this.B=this.A+c,this.normalize()):(this.o=b.x,this.A=b.y,this.v=b.x,this.B=b.y):b instanceof g?this.I(b.o,b.A,b.v,b.B):b instanceof d.Ac&&(b.u()||a.u()?this.Oa():(this.o=b.ca,this.v=b.ha,this.A=a.ca,this.B=a.ha))};g.prototype.mT=function(b,a){var c=new g;c.I(this.o,this.A,this.v,this.B);c.O(b,
- a);return c};g.prototype.Lx=function(b,a){if(void 0!==a)if(0==a)this.Oa();else{this.o=b[0].x;this.A=b[0].y;this.v=this.o;this.B=this.A;for(var c=1;c<a;c++){var e=b[c];e.x<this.o?this.o=e.x:e.x>this.v&&(this.v=e.x);e.y<this.A?this.A=e.y:e.y>this.B&&(this.B=e.y)}}else if(null==b||0==b.length)this.Oa();else for(e=b[0],this.I(e.x,e.y),c=1;c<b.length;c++)e=b[c],this.ml(e.x,e.y)};g.prototype.Oa=function(){this.B=this.v=this.A=this.o=NaN};g.prototype.u=function(){return isNaN(this.o)};g.prototype.Nb=function(b,
- a){"number"===typeof b?this.u()?(this.o=b,this.A=a,this.v=b,this.B=a):(this.o>b?this.o=b:this.v<b&&(this.v=b),this.A>a?this.A=a:this.B<a&&(this.B=a)):b instanceof d.b?this.Nb(b.x,b.y):b instanceof d.qd?this.Nb(b.x,b.y):b instanceof g&&!b.u()&&(this.Nb(b.o,b.A),this.Nb(b.v,b.B))};g.prototype.ml=function(b,a){this.o>b?this.o=b:this.v<b&&(this.v=b);this.A>a?this.A=a:this.B<a&&(this.B=a)};g.prototype.O=function(b,a){this.u()||(this.o-=b,this.v+=b,this.A-=a,this.B+=a,(this.o>this.v||this.A>this.B)&&this.Oa())};
- g.prototype.scale=function(b){0>b&&this.Oa();this.u()||(this.o*=b,this.v*=b,this.A*=b,this.B*=b)};g.prototype.Yb=function(b){return!this.u()&&!b.u()&&(this.o<=b.o?this.v>=b.o:b.v>=this.o)&&(this.A<=b.A?this.B>=b.A:b.B>=this.A)};g.prototype.SH=function(b){return(this.o<=b.o?this.v>=b.o:b.v>=this.o)&&(this.A<=b.A?this.B>=b.A:b.B>=this.A)};g.prototype.Ma=function(b){if(this.u()||b.u())return!1;b.o>this.o&&(this.o=b.o);b.v<this.v&&(this.v=b.v);b.A>this.A&&(this.A=b.A);b.B<this.B&&(this.B=b.B);(b=this.o<=
- this.v&&this.A<=this.B)||this.Oa();return b};g.prototype.Fx=function(b){switch(b){case 0:return d.b.pa(this.o,this.A);case 1:return d.b.pa(this.o,this.B);case 2:return d.b.pa(this.v,this.B);case 3:return d.b.pa(this.v,this.A);default:throw d.f.vd();}};g.prototype.OB=function(b){if(null==b||4>b.length)throw d.f.F();null!=b[0]?b[0].ka(this.o,this.A):b[0]=d.b.pa(this.o,this.A);null!=b[1]?b[1].ka(this.o,this.B):b[1]=d.b.pa(this.o,this.B);null!=b[2]?b[2].ka(this.v,this.B):b[2]=d.b.pa(this.v,this.B);null!=
- b[3]?b[3].ka(this.v,this.A):b[3]=d.b.pa(this.v,this.A)};g.prototype.HG=function(){return this.u()?0:this.N()*this.fa()};g.prototype.YG=function(){return this.u()?0:2*(this.N()+this.fa())};g.prototype.Gk=function(){return(this.v+this.o)/2};g.prototype.Cq=function(){return(this.B+this.A)/2};g.prototype.N=function(){return this.v-this.o};g.prototype.fa=function(){return this.B-this.A};g.prototype.move=function(b,a){this.u()||(this.o+=b,this.A+=a,this.v+=b,this.B+=a)};g.prototype.wv=function(b,a){if(void 0!==
- a)this.move(b-this.Gk(),a-this.Cq());else if(b instanceof d.b)this.wv(b.x,b.y);else if(b instanceof d.Wa){a=(this.v-this.o)/2;var c=(this.B-this.A)/2;this.o=b.Be()-a;this.v=b.Be()+a;this.A=b.nf()-c;this.B=b.nf()+c}else throw d.f.F();};g.prototype.offset=function(b,a){this.o+=b;this.v+=b;this.A+=a;this.B+=a};g.prototype.normalize=function(){if(!this.u()){var b=Math.min(this.o,this.v),a=Math.max(this.o,this.v);this.o=b;this.v=a;b=Math.min(this.A,this.B);a=Math.max(this.A,this.B);this.A=b;this.B=a}};
- g.prototype.Un=function(b){b.ka(this.o,this.A)};g.prototype.SJ=function(b){b.ka(this.v,this.A)};g.prototype.VJ=function(b){b.ka(this.o,this.B)};g.prototype.Vn=function(b){b.ka(this.v,this.B)};g.prototype.YU=function(){return this.u()||this.o<=this.v&&this.A<=this.B};g.prototype.Wf=function(){return d.b.pa((this.v+this.o)/2,(this.B+this.A)/2)};g.prototype.Xz=function(){return d.b.pa(this.o,this.A)};g.prototype.contains=function(b,a){if(void 0!==a)return b>=this.o&&b<=this.v&&a>=this.A&&a<=this.B;if(b instanceof
- d.Wa)return this.contains(b.Be(),b.nf());if(b instanceof d.b)return this.contains(b.x,b.y);if(b instanceof g)return b.o>=this.o&&b.v<=this.v&&b.A>=this.A&&b.B<=this.B;throw d.f.F();};g.prototype.Um=function(b,a){if(void 0!==a)return b>this.o&&b<this.v&&a>this.A&&a<this.B;if(b instanceof d.b)return this.Um(b.x,b.y);if(b instanceof g)return b.o>this.o&&b.v<this.v&&b.A>this.A&&b.B<this.B;throw d.f.F();};g.prototype.Eb=function(b){return b==this?!0:b instanceof g?this.u()&&b.u()?!0:this.o!=b.o||this.A!=
- b.A||this.v!=b.v||this.B!=b.B?!1:!0:!1};g.prototype.jc=function(){var b=this.o,b=d.J.truncate(b^b>>>32),a=d.J.dh(b),b=this.v,b=d.J.truncate(b^b>>>32),a=d.J.dh(b,a),b=this.A,b=d.J.truncate(b^b>>>32),a=d.J.dh(b,a),b=this.B,b=d.J.truncate(b^b>>>32);return a=d.J.dh(b,a)};g.prototype.My=function(b){var a=new d.b;a.L(b);if(a.Gy())return a;if(this.u())return a.cv(),a;a.x<this.o?a.x=this.o:a.x>this.v&&(a.x=this.v);a.y<this.A?a.y=this.A:a.y>this.B&&(a.y=this.B);if(!a.Eb(b))return a;b=this.Wf();(a.x<b.x?a.x-
- this.o:this.v-a.x)<(a.y<b.y?a.y-this.A:this.B-a.y)?a.x=a.x<b.x?this.o:this.v:a.y=a.y<b.y?this.A:this.B;return a};g.prototype.Vu=function(b){if(this.u())return NaN;if(b.x==this.o)return b.y-this.A;var a=this.B-this.A,c=this.v-this.o;return b.y==this.B?a+b.x-this.o:b.x==this.v?a+c+this.B-b.y:b.y==this.A?2*a+c+this.v-b.x:this.Vu(this.My(b))};g.prototype.yE=function(b){if(this.u())return-1;b=this.Vu(b);var a=this.B-this.A,c=this.v-this.o;return b<a?0:(b-=a)<c?1:b-c<a?2:3};g.prototype.no=function(){return this.u()?
- 2.220446049250313E-14:2.220446049250313E-14*(Math.abs(this.o)+Math.abs(this.v)+Math.abs(this.A)+Math.abs(this.B)+1)};g.prototype.fz=function(b,a){var c=this.vk(b),e=this.vk(a);if(0!=(c&e))return 0;if(0==(c|e))return 4;var f=(0!=c?1:0)|(0!=e?2:0);do{var d=a.x-b.x,l=a.y-b.y;d>l?0!=(c&g.bd)?(0!=(c&g.Bb)?(b.y+=l*(this.o-b.x)/d,b.x=this.o):(b.y+=l*(this.v-b.x)/d,b.x=this.v),c=this.vk(b)):0!=(e&g.bd)?(0!=(e&g.Bb)?(a.y+=l*(this.o-a.x)/d,a.x=this.o):(a.y+=l*(this.v-a.x)/d,a.x=this.v),e=this.vk(a)):0!=c?(0!=
- (c&g.uc)?(b.x+=d*(this.A-b.y)/l,b.y=this.A):(b.x+=d*(this.B-b.y)/l,b.y=this.B),c=this.vk(b)):(0!=(e&g.uc)?(a.x+=d*(this.A-a.y)/l,a.y=this.A):(a.x+=d*(this.B-a.y)/l,a.y=this.B),e=this.vk(a)):0!=(c&g.ee)?(0!=(c&g.uc)?(b.x+=d*(this.A-b.y)/l,b.y=this.A):(b.x+=d*(this.B-b.y)/l,b.y=this.B),c=this.vk(b)):0!=(e&g.ee)?(0!=(e&g.uc)?(a.x+=d*(this.A-a.y)/l,a.y=this.A):(a.x+=d*(this.B-a.y)/l,a.y=this.B),e=this.vk(a)):0!=c?(0!=(c&g.Bb)?(b.y+=l*(this.o-b.x)/d,b.x=this.o):(b.y+=l*(this.v-b.x)/d,b.x=this.v),c=this.vk(b)):
- (0!=(e&g.Bb)?(a.y+=l*(this.o-a.x)/d,a.x=this.o):(a.y+=l*(this.v-a.x)/d,a.x=this.v),e=this.vk(a));if(0!=(c&e))return 0}while(0!=(c|e));return f};g.prototype.vk=function(b){return(b.x<this.o?1:0)|(b.x>this.v?1:0)<<1|(b.y<this.A?1:0)<<2|(b.y>this.B?1:0)<<3};g.prototype.fh=function(b){return!this.u()&&(this.N()<=b||this.fa()<=b)};g.prototype.Cb=function(b){return b instanceof d.b?Math.sqrt(this.YK(b)):Math.sqrt(this.Yx(b))};g.prototype.Yx=function(b){var a=0,c=0,e;e=this.o-b.v;e>a&&(a=e);e=this.A-b.B;
- e>c&&(c=e);e=b.o-this.v;e>a&&(a=e);e=b.A-this.B;e>c&&(c=e);return a*a+c*c};g.prototype.YK=function(b){var a=0,c=0,e;e=this.o-b.x;e>a&&(a=e);e=this.A-b.y;e>c&&(c=e);e=b.x-this.v;e>a&&(a=e);e=b.y-this.B;e>c&&(c=e);return a*a+c*c};g.prototype.Tn=function(b){this.u()?b.Oa():b.I(this.o,this.v)};g.BO=function(b,a,c,e){var f=1;isNaN(b)||(f+=Math.abs(b));isNaN(a)||(f+=Math.abs(a));isNaN(c)||(f+=Math.abs(c));isNaN(e)||(f+=Math.abs(e));return 2.220446049250313E-14*f};g.Bb=1;g.uc=4;g.bd=3;g.ee=12;return g}();
- d.h=m})(n||(n={}));(function(d){var m;(function(b){b[b.initialize=0]="initialize";b[b.initializeRed=1]="initializeRed";b[b.initializeBlue=2]="initializeBlue";b[b.initializeRedBlue=3]="initializeRedBlue";b[b.sweep=4]="sweep";b[b.sweepBruteForce=5]="sweepBruteForce";b[b.sweepRedBlueBruteForce=6]="sweepRedBlueBruteForce";b[b.sweepRedBlue=7]="sweepRedBlue";b[b.sweepRed=8]="sweepRed";b[b.sweepBlue=9]="sweepBlue";b[b.iterate=10]="iterate";b[b.iterateRed=11]="iterateRed";b[b.iterateBlue=12]="iterateBlue";
- b[b.iterateBruteForce=13]="iterateBruteForce";b[b.iterateRedBlueBruteForce=14]="iterateRedBlueBruteForce";b[b.resetRed=15]="resetRed";b[b.resetBlue=16]="resetBlue"})(m||(m={}));var g=function(){function b(a,c){this.Ci=a;this.oI=c}b.prototype.gs=function(a,c,b){this.Ci.CY(b,a,c,this.oI)};b.prototype.Qq=function(a){return this.Ci.Ls(a,this.oI)};return b}();m=function(){function b(){this.$w=this.bp=this.If=this.Bd=null;this.kr=new d.h;this.pn=this.bk=this.ck=this.Rd=this.fg=this.Yd=this.Pw=this.Uo=this.Ad=
- this.Lb=null;this.Zb=-1;this.ta=0;this.ql()}b.prototype.bs=function(){this.ql();this.Aw=!0;null==this.Lb?(this.Uo=new d.ia(0),this.Lb=[]):(this.Uo.yf(0),this.Lb.length=0)};b.prototype.jd=function(a,c){if(!this.Aw)throw d.f.La();var b=new d.h;b.I(c);this.Uo.add(a);this.Lb.push(b)};b.prototype.yq=function(){if(!this.Aw)throw d.f.La();this.Aw=!1;null!=this.Lb&&0<this.Lb.length&&(this.Zb=0,this.Pc=!1)};b.prototype.aL=function(){this.ql();this.zw=!0;null==this.Lb?(this.Uo=new d.ia(0),this.Lb=[]):(this.Uo.yf(0),
- this.Lb.length=0)};b.prototype.YE=function(a,c){if(!this.zw)throw d.f.La();var b=new d.h;b.I(c);this.Uo.add(a);this.Lb.push(b)};b.prototype.sG=function(){if(!this.zw)throw d.f.La();this.zw=!1;null!=this.Lb&&0<this.Lb.length&&null!=this.Ad&&0<this.Ad.length&&(-1==this.Zb?this.Zb=3:2==this.Zb?this.Zb=3:3!=this.Zb&&(this.Zb=1),this.Pc=!1)};b.prototype.$K=function(){this.ql();this.yw=!0;null==this.Ad?(this.Pw=new d.ia(0),this.Ad=[]):(this.Pw.yf(0),this.Ad.length=0)};b.prototype.UE=function(a,c){if(!this.yw)throw d.f.La();
- var b=new d.h;b.I(c);this.Pw.add(a);this.Ad.push(b)};b.prototype.rG=function(){if(!this.yw)throw d.f.La();this.yw=!1;null!=this.Lb&&0<this.Lb.length&&null!=this.Ad&&0<this.Ad.length&&(-1==this.Zb?this.Zb=3:1==this.Zb?this.Zb=3:3!=this.Zb&&(this.Zb=2),this.Pc=!1)};b.prototype.next=function(){if(this.Pc)return!1;for(var a=!0;a;)switch(this.Zb){case 0:a=this.pA();break;case 1:a=this.lU();break;case 2:a=this.iU();break;case 3:a=this.kU();break;case 4:a=this.MY();break;case 5:a=this.IY();break;case 6:a=
- this.JY();break;case 7:a=this.KY();break;case 8:a=this.ay();break;case 9:a=this.EC();break;case 10:a=this.BA();break;case 11:a=this.bV();break;case 12:a=this.ZU();break;case 13:a=this.$U();break;case 14:a=this.aV();break;case 15:a=this.ZJ();break;case 16:a=this.YJ();break;default:throw d.f.ya();}return this.Pc?!1:!0};b.prototype.xC=function(a){this.ta=a};b.prototype.dA=function(a){return this.Lb[a]};b.prototype.Hz=function(a){return this.Ad[a]};b.prototype.Ql=function(a){return this.Uo.read(a)};b.prototype.Ml=
- function(a){return this.Pw.read(a)};b.IB=function(a){return 1==(a&1)};b.Hm=function(a){return 0==(a&1)};b.prototype.ql=function(){this.Aw=this.yw=this.zw=!1;this.dg=this.eg=this.nh=this.Ne=-1;this.Pc=!0};b.prototype.pA=function(){this.bg=this.sg=-1;if(10>this.Lb.length)return this.Ne=this.Lb.length,this.Zb=5,!0;null==this.Bd&&(this.Bd=new d.ms(!0),this.bp=this.Bd.mf(),this.Yd=new d.ia(0));this.Bd.bs();for(var a=0;a<this.Lb.length;a++){var c=this.Lb[a];this.Bd.ys(c.o,c.v)}this.Bd.yq();this.Yd.yb(2*
- this.Lb.length);this.Yd.resize(0);for(a=0;a<2*this.Lb.length;a++)this.Yd.add(a);this.xu(this.Yd,2*this.Lb.length,!0);this.Ne=2*this.Lb.length;this.Zb=4;return!0};b.prototype.lU=function(){this.bg=this.sg=-1;if(10>this.Lb.length||10>this.Ad.length)return this.Ne=this.Lb.length,this.Zb=6,!0;null==this.Bd&&(this.Bd=new d.ms(!0),this.bp=this.Bd.mf(),this.Yd=new d.ia(0));this.Bd.bs();for(var a=0;a<this.Lb.length;a++){var c=this.Lb[a];this.Bd.ys(c.o,c.v)}this.Bd.yq();this.Yd.yb(2*this.Lb.length);this.Yd.resize(0);
- for(a=0;a<2*this.Lb.length;a++)this.Yd.add(a);this.xu(this.Yd,this.Yd.size,!0);this.Ne=this.Yd.size;-1!=this.eg&&(this.Rd.zh(this.eg),this.ck.resize(0),this.eg=-1);this.Zb=7;return this.YJ()};b.prototype.iU=function(){this.bg=this.sg=-1;if(10>this.Lb.length||10>this.Ad.length)return this.Ne=this.Lb.length,this.Zb=6,!0;null==this.If&&(this.If=new d.ms(!0),this.$w=this.If.mf(),this.fg=new d.ia(0));this.If.bs();for(var a=0;a<this.Ad.length;a++){var c=this.Ad[a];this.If.ys(c.o,c.v)}this.If.yq();this.fg.yb(2*
- this.Ad.length);this.fg.resize(0);for(a=0;a<2*this.Ad.length;a++)this.fg.add(a);this.xu(this.fg,this.fg.size,!1);this.nh=this.fg.size;-1!=this.dg&&(this.Rd.zh(this.dg),this.bk.resize(0),this.dg=-1);this.Zb=7;return this.ZJ()};b.prototype.kU=function(){this.bg=this.sg=-1;if(10>this.Lb.length||10>this.Ad.length)return this.Ne=this.Lb.length,this.Zb=6,!0;null==this.Bd&&(this.Bd=new d.ms(!0),this.bp=this.Bd.mf(),this.Yd=new d.ia(0));null==this.If&&(this.If=new d.ms(!0),this.$w=this.If.mf(),this.fg=new d.ia(0));
- this.Bd.bs();for(var a=0;a<this.Lb.length;a++){var c=this.Lb[a];this.Bd.ys(c.o,c.v)}this.Bd.yq();this.If.bs();for(a=0;a<this.Ad.length;a++)c=this.Ad[a],this.If.ys(c.o,c.v);this.If.yq();this.Yd.yb(2*this.Lb.length);this.fg.yb(2*this.Ad.length);this.Yd.resize(0);this.fg.resize(0);for(a=0;a<2*this.Lb.length;a++)this.Yd.add(a);for(a=0;a<2*this.Ad.length;a++)this.fg.add(a);this.xu(this.Yd,this.Yd.size,!0);this.xu(this.fg,this.fg.size,!1);this.Ne=this.Yd.size;this.nh=this.fg.size;-1!=this.eg&&(this.Rd.zh(this.eg),
- this.ck.resize(0),this.eg=-1);-1!=this.dg&&(this.Rd.zh(this.dg),this.bk.resize(0),this.dg=-1);this.Zb=7;return!0};b.prototype.MY=function(){var a=this.Yd.get(--this.Ne),c=a>>1;if(b.Hm(a))return this.Bd.remove(c),0==this.Ne?(this.bg=this.sg=-1,this.Pc=!0,!1):!0;this.bp.cC(this.Lb[c].o,this.Lb[c].v,this.ta);this.sg=c;this.Zb=10;return!0};b.prototype.IY=function(){if(-1==--this.Ne)return this.bg=this.sg=-1,this.Pc=!0,!1;this.nh=this.sg=this.Ne;this.Zb=13;return!0};b.prototype.JY=function(){if(-1==--this.Ne)return this.bg=
- this.sg=-1,this.Pc=!0,!1;this.sg=this.Ne;this.nh=this.Ad.length;this.Zb=14;return!0};b.prototype.KY=function(){var a=this.Yd.get(this.Ne-1),c=this.fg.get(this.nh-1),e=this.Ls(a,!0),f=this.Ls(c,!1);return e>f?this.ay():e<f?this.EC():b.IB(a)?this.ay():b.IB(c)?this.EC():this.ay()};b.prototype.ay=function(){var a=this.Yd.get(--this.Ne),c=a>>1;if(b.Hm(a))return-1!=this.eg&&-1!=this.ck.get(c)?(this.Rd.kd(this.eg,this.ck.get(c)),this.ck.set(c,-1)):this.Bd.remove(c),0==this.Ne?(this.bg=this.sg=-1,this.Pc=
- !0,!1):!0;if(-1!=this.dg&&0<this.Rd.$s(this.dg))for(a=this.Rd.xc(this.dg);-1!=a;){var e=this.Rd.getData(a);this.If.eh(e);this.bk.set(e,-1);e=this.Rd.nb(a);this.Rd.kd(this.dg,a);a=e}0<this.If.size()?(this.$w.cC(this.Lb[c].o,this.Lb[c].v,this.ta),this.sg=c,this.Zb=12):(-1==this.eg&&(null==this.Rd&&(this.Rd=new d.Xp),this.ck=new d.ia(0),this.ck.resize(this.Lb.length,-1),this.ck.Zh(-1,0,this.Lb.length),this.eg=this.Rd.mi(1)),this.ck.set(c,this.Rd.addElement(this.eg,c)),this.Zb=7);return!0};b.prototype.EC=
- function(){var a=this.fg.get(--this.nh),c=a>>1;if(b.Hm(a))return-1!=this.dg&&-1!=this.bk.get(c)?(this.Rd.kd(this.dg,this.bk.get(c)),this.bk.set(c,-1)):this.If.remove(c),0==this.nh?(this.bg=this.sg=-1,this.Pc=!0,!1):!0;if(-1!=this.eg&&0<this.Rd.$s(this.eg))for(a=this.Rd.xc(this.eg);-1!=a;){var e=this.Rd.getData(a);this.Bd.eh(e);this.ck.set(e,-1);e=this.Rd.nb(a);this.Rd.kd(this.eg,a);a=e}0<this.Bd.size()?(this.bp.cC(this.Ad[c].o,this.Ad[c].v,this.ta),this.bg=c,this.Zb=11):(-1==this.dg&&(null==this.Rd&&
- (this.Rd=new d.Xp),this.bk=new d.ia(0),this.bk.resize(this.Ad.length,-1),this.bk.Zh(-1,0,this.Ad.length),this.dg=this.Rd.mi(0)),this.bk.set(c,this.Rd.addElement(this.dg,c)),this.Zb=7);return!0};b.prototype.BA=function(){this.bg=this.bp.next();if(-1!=this.bg)return!1;var a=this.Yd.get(this.Ne)>>1;this.Bd.eh(a);this.Zb=4;return!0};b.prototype.bV=function(){this.sg=this.bp.next();if(-1!=this.sg)return!1;this.bg=this.sg=-1;var a=this.fg.get(this.nh)>>1;this.If.eh(a);this.Zb=7;return!0};b.prototype.ZU=
- function(){this.bg=this.$w.next();if(-1!=this.bg)return!1;var a=this.Yd.get(this.Ne)>>1;this.Bd.eh(a);this.Zb=7;return!0};b.prototype.$U=function(){if(-1==--this.nh)return this.Zb=5,!0;this.kr.I(this.Lb[this.Ne]);var a=this.Lb[this.nh];this.kr.O(this.ta,this.ta);return this.kr.Yb(a)?(this.bg=this.nh,!1):!0};b.prototype.aV=function(){if(-1==--this.nh)return this.Zb=6,!0;this.kr.I(this.Lb[this.Ne]);var a=this.Ad[this.nh];this.kr.O(this.ta,this.ta);return this.kr.Yb(a)?(this.bg=this.nh,!1):!0};b.prototype.ZJ=
- function(){if(null==this.Bd)return this.Pc=!0,!1;this.Ne=this.Yd.size;0<this.Bd.size()&&this.Bd.reset();-1!=this.eg&&(this.Rd.zh(this.eg),this.ck.resize(0),this.eg=-1);this.Pc=!1;return!0};b.prototype.YJ=function(){if(null==this.If)return this.Pc=!0,!1;this.nh=this.fg.size;0<this.If.size()&&this.If.reset();-1!=this.dg&&(this.Rd.zh(this.dg),this.bk.resize(0),this.dg=-1);this.Pc=!1;return!0};b.prototype.xu=function(a,c,b){null==this.pn&&(this.pn=new d.Gu);b=new g(this,b);this.pn.sort(a,0,c,b)};b.prototype.CY=
- function(a,c,e,f){var d=this;a.Gd(c,e,function(a,c){var e=d.Ls(a,f),h=d.Ls(c,f);return e<h||e==h&&b.Hm(a)&&b.IB(c)?-1:1})};b.prototype.Ls=function(a,c){var e=.5*this.ta;if(c)return c=this.Lb[a>>1],e=b.Hm(a)?c.A-e:c.B+e;c=this.Ad[a>>1];return e=b.Hm(a)?c.A-e:c.B+e};return b}();d.eD=m})(n||(n={}));(function(d){var m=function(){function g(){}g.pa=function(b,a,c,e,f,d){var h=new g;h.o=b;h.A=a;h.Bf=c;h.v=e;h.B=f;h.$g=d;return h};g.prototype.Oa=function(){this.Bf=this.o=NaN};g.prototype.u=function(){return isNaN(this.o)};
- g.prototype.PU=function(){return isNaN(this.Bf)};g.prototype.I=function(b,a,c,e,f,d){void 0!==e?"number"===typeof b?(this.o=b,this.A=a,this.Bf=c,this.v=e,this.B=f,this.$g=d):(this.o=b.x-.5*a,this.v=this.o+a,this.A=b.y-.5*c,this.B=this.A+c,this.Bf=b.z-.5*e,this.$g=this.Bf+e):(this.o=b,this.A=a,this.Bf=c,this.v=b,this.B=a,this.$g=c)};g.prototype.move=function(b){this.o+=b.x;this.A+=b.y;this.Bf+=b.z;this.v+=b.x;this.B+=b.y;this.$g+=b.z};g.prototype.copyTo=function(b){b.o=this.o;b.A=this.A;b.v=this.v;
- b.B=this.B};g.prototype.ml=function(b,a,c){this.o>b?this.o=b:this.v<b&&(this.v=b);this.A>a?this.A=a:this.B<a&&(this.B=a);0==isNaN(this.Bf)?this.Bf>c?this.Bf=c:this.$g<c&&(this.$g=c):this.$g=this.Bf=c};g.prototype.Nb=function(b,a,c,e,f,h){if("number"===typeof b)e?(this.Nb(b,a,c),this.Nb(e,f,h)):this.u()?(this.o=b,this.A=a,this.Bf=c,this.v=b,this.B=a,this.$g=c):this.ml(b,a,c);else if(b instanceof d.qd)this.Nb(b.x,b.y,b.z);else if(b instanceof g)b.u()||(this.Nb(b.o,b.A,b.Bf),this.Nb(b.v,b.B,b.$g));else throw d.f.F();
- };g.prototype.pa=function(b,a,c){b.u()||a.u()?this.Oa():(this.o=b.ca,this.v=b.ha,this.A=a.ca,this.B=a.ha,this.Bf=c.ca,this.$g=c.ha)};g.prototype.OB=function(b){if(null==b||8>b.length)throw d.f.F();b[0]=new d.qd(this.o,this.A,this.Bf);b[1]=new d.qd(this.o,this.B,this.Bf);b[2]=new d.qd(this.v,this.B,this.Bf);b[3]=new d.qd(this.v,this.A,this.Bf);b[4]=new d.qd(this.o,this.A,this.$g);b[5]=new d.qd(this.o,this.B,this.$g);b[6]=new d.qd(this.v,this.B,this.$g);b[7]=new d.qd(this.v,this.A,this.$g)};g.prototype.Lx=
- function(b){if(null==b||0==b.length)this.Oa();else{var a=b[0];this.I(a.x,a.y,a.z);for(a=1;a<b.length;a++){var c=b[a];this.ml(c.x,c.y,c.z)}}};return g}();d.cM=m})(n||(n={}));(function(d){(function(d){d.ya=function(){var d=Error();d.message="Internal Error";return d};d.df=function(){var d=Error();d.message="Not Implemented";return d};d.uk=function(){var d=Error();d.message="The input unit and the spatial reference unit are not of the same unit type.ie Linear vs.Angular";return d};d.La=function(){var d=
- Error();d.message="Invalid Call";return d};d.F=function(d){var b=Error();b.message="Illegal Argument Exception";void 0!==d&&(b.message+=": "+d);return b};d.SN=function(){var d=Error();d.message="Runtime Exception.";return d};d.X=function(d){var b=Error();b.message="Geometry Exception: "+d;return b};d.IL=function(){var d=Error();d.message="Assert Failed Exception";return d};d.vd=function(){var d=Error();d.message="IndexOutOfBoundsException";return d};d.m_=function(d){d.message="UserCancelException";
- return d}})(d.f||(d.f={}))})(n||(n={}));(function(d){d=d.Pm||(d.Pm={});d[d.forward=0]="forward";d[d.reverse=1]="reverse"})(n||(n={}));(function(d){var m=function(){function a(a,b){this.$a=a;this.UI=b;this.YI=-1;this.Wl=!1}a.prototype.Re=function(){return!0};a.prototype.next=function(){if(++this.YI==this.UI.D())return null;var a=this.UI.Aa(this.YI);a.scale(this.$a.mc);var b=new d.Ia;this.$a.Xy(a,this.Wl,b);return b};a.prototype.Ha=function(){return 0};return a}(),g=function(){function a(a,b,f){this.$a=
- a;this.dx=b;this.Mo=!1;this.So=f;this.Ow=[0];this.Uk=[0];this.fk=[0];this.Bt=[0];this.Wl=!1;this.er=new d.Ia;this.Wk=[]}a.prototype.Re=function(){return!0};a.prototype.next=function(){if(this.Mo){this.Mo=!1;this.Cd.ba();var a=d.T.ne(this.er);return a=d.Dg.ol(a,this.$a.or,!0,!0,this.$a.lc)}null==this.Cd&&(this.Cd=this.dx.Da(),this.Cd.Ya(),null!=this.So&&this.So.Bl(null,0));if(!this.Cd.Ca()){if(!this.Cd.Ya())return null;null!=this.So&&this.So.Bl(null,0)}a=null;this.Uk[0]=0;this.kB=this.Ow[0]=0;this.Di=
- NaN;this.Mo=!1;for(var e=this.Wk.length=0,f=new d.b,h=new d.b,l=[0];this.Cd.Ca()&&8>this.kB;){var k=this.Cd.ba();f.L(k.ec());h.L(k.Cc());f.scale(this.$a.mc);h.scale(this.$a.mc);d.Ej.Av(f,h)?f.x=h.x:d.Ej.yv(f,h)&&(h.x=f.x);this.Wk.length=0;d.Ej.FG(this.$a.Vb,this.$a.rc,this.$a.$e,f,h,this.$a.uB,this.$a.St,l,this.fk,this.Bt,this.Wk,this.Ow);null!=this.So&&(k=this.Wk.slice(0),this.So.DH(this.So.aa()-1,k,k.length-1));d.Ej.zv(f,h)?(this.er.Oa(),this.$a.Xy(f,this.Wl,this.er),this.Mo=!0):(this.er.Oa(),this.Mo=
- this.cz(l[0],this.er));if(this.Mo){this.Cd.Li();if(this.Cd.nA()){this.Cd.Li();this.Cd.ba();break}this.Cd.yX();break}null==a&&(a=new d.Ia,a.Bl(null,0));this.cF(a);e++}this.Ow[0]=0;if(0<e){for(l=this.Cd.Db();0<e;)this.Cd.Li(),f.L(this.dx.Aa(this.Cd.Db())),h.L(this.dx.Aa(this.Cd.Ik())),f.scale(this.$a.mc),h.scale(this.$a.mc),this.Wl&&(d.Ej.Av(f,h)?f.x=h.x:d.Ej.yv(f,h)&&(h.x=f.x)),this.Wk.length=0,d.Ej.FG(this.$a.Vb,this.$a.rc,this.$a.$e,h,f,this.$a.uB,this.$a.St,null,this.fk,this.Bt,this.Wk,this.Ow),
- this.cF(a),e--;f.L(this.dx.Aa(this.Cd.Db()));f.scale(this.$a.mc);b.Es(this.$a.Vb,this.$a.rc,this.$a.mc,this.$a.vb,f,this.Di+1.570796326794897,this.Di+4.71238898038469,this.$a.Qo,this.Wl,this.Uk,a,NaN,NaN);this.Cd.Tb(l);this.Cd.ba();e=d.ma.ah(null,a,!0);return a=d.Dg.ol(a,e,!0,!0,this.$a.lc)}this.Mo=!1;this.Cd.ba();a=d.T.ne(this.er);return a=d.Dg.ol(a,this.$a.or,!0,!0,this.$a.lc)};a.prototype.cF=function(a){var c=this.Wk[0],f,h=this.fk[0]-1.570796326794897,l=this.Bt[0]+1.570796326794897,k;if(!isNaN(this.Di)){this.Di>=
- this.fk[0]?(f=this.Di+1.570796326794897,h=f+3.141592653589793-(this.Di-this.fk[0])):(f=this.Di+1.570796326794897,h=f+3.141592653589793-(6.283185307179586-(this.fk[0]-this.Di)));k=this.Di>=this.fk[0]&&3.141592653589793>=this.Di-this.fk[0]?!1:this.Di<this.fk[0]&&3.141592653589793<=this.fk[0]-this.Di?!1:!0;var g=!1;if(Math.abs(h-f)<=.5*this.$a.Qo)if(k){var t=a.Aa(a.D()-2);t.scale(this.$a.mc);var p=new d.ea(0);d.mb.Ez(this.$a.Vb,this.$a.rc,c.x,c.y,t.x,t.y,p);for(t=p.j;t<=f;)t+=6.283185307179586;for(;t>
- f;)t-=6.283185307179586;t<h&&(g=!0)}else g=!0;g?(a.bC(0,a.D()-1),this.Wl||(c=new d.b,c.L(a.Aa(a.D()-1)),c.scale(this.$a.mc),-3.141592653589793>c.x-this.Uk[0]?this.Uk[0]-=6.283185307179586:3.141592653589793<c.x-this.Uk[0]&&(this.Uk[0]+=6.283185307179586)),k||(h=.5*(h+f))):(k?(f=new d.b,f.L(c),f.scale(1/this.$a.mc),a.Zf(0,-1,f)):b.Es(this.$a.Vb,this.$a.rc,this.$a.mc,this.$a.vb,this.Wk[0],f,h,this.$a.Qo,this.Wl,this.Uk,a,NaN,NaN),this.kB+=1)}b.Wy(this.$a.Vb,this.$a.rc,this.$a.mc,this.$a.vb,this.$a.$e,
- this.Wk,h,l,this.Wl,this.Uk,a);this.Di=this.Bt[0]};a.prototype.cz=function(a,b){return this.$a.cz(this.Wk,a,this.fk[0],this.Bt[0],this.Wl,b)};a.prototype.Ha=function(){return 0};return a}(),b=function(){function a(){}a.buffer=function(c,b,f,h,l,k){if(null==c)throw d.f.F("Geometry::Geodesic_bufferer::buffer");if(c.u())return new d.Ia(c.description);var e=new a;e.mh=b;e.Qc=d.fb.kc(b);var g=d.fb.gw(e.Qc);e.lc=k;e.Vb=d.fb.Rv(e.Qc);e.rc=g*(2-g);e.mc=e.Qc.Od().Ai;e.ta=e.mh.Bo();e.or=e.Qc.Bo();e.St=e.or*
- e.mc;e.nr=1.570796326794897/e.mc;e.D_=3.141592653589793/e.mc;e.Dt=6.283185307179586/e.mc;e.E_=e.Dt/6;e.pB=0;e.C_=1.5707963267948966*e.Vb/e.pB;4==f?(e.$e=2,e.Iw=!0):(e.$e=f,e.Iw=!1);e.Qa=h;e.vb=Math.abs(h);isNaN(l)||.001>l?e.rY():e.Po=l;f=c.G();d.T.Oc(f)?(f=new d.Ua(c.description),f.dc(c,!0),c=f,f=1607):197==f&&(f=new d.h,c.s(f),f.N()<=e.ta||f.fa()<=e.ta?(f=new d.Ua(c.description),f.jd(c,!1),c=f,f=1607):(f=new d.Ia(c.description),f.jd(c,!1),c=f,f=1736));e.sY();d.T.Jo(f)||e.tY();if(e.vb<=.5*e.Po)return 1736!=
- f?new d.Ia(c.description):e.Iw?c:d.Ej.Ks(c,e.mh,e.$e,e.uB,-1,k);if(0>e.Qa&&1736!=f)return new d.Ia(c.description);e.Iw&&d.T.Ic(f)?(b=d.Ej.Ks(c,b,4,NaN,e.Po,k),c=d.fb.Xg(b,e.mh,e.Qc,k)):c=d.fb.Xg(c,e.mh,e.Qc,k);c=d.gi.Mj(c,e.Qc);if(c.u())return new d.Ia(c.description);!e.Iw&&d.T.Ic(f)&&(c=d.Ej.yJ(e.mc,c));c=a.lQ(c,e.Qc);switch(f){case 1736:k=e.WP(c);break;case 1607:k=e.XP(c);break;case 550:k=e.UP(c);break;case 33:k=e.VP(c);break;default:throw d.f.X("corrupted_geometry");}e=d.fb.Xg(k,e.Qc,e.mh,e.lc);
- e.om(c.description);return e};a.prototype.WP=function(a){var c=new d.Ia;a=new g(this,a,c);a=d.ei.local().V(a,this.Qc,this.lc).next();a=d.Vp.Nj(a,this.Qc,2);var b=new d.Hd;b.scale(1/this.mc,1/this.mc);c.Xc(b);c=d.Vp.Nj(c,this.Qc,2);return 0<=this.Qa?d.ei.local().V(c,a,this.Qc,this.lc):d.cq.local().V(c,a,this.Qc,this.lc)};a.prototype.XP=function(a){a=new g(this,a,null);a=d.ei.local().V(a,this.Qc,this.lc).next();return a=d.Vp.Nj(a,this.Qc,2)};a.prototype.UP=function(a){a=new m(this,a);a=d.ei.local().V(a,
- this.Qc,this.lc).next();return a=d.Vp.Nj(a,this.Qc,2)};a.prototype.VP=function(a){a=a.w();a.scale(this.mc);var c=new d.Ia;this.Xy(a,!1,c);return c=d.Vp.Nj(c,this.Qc,2)};a.prototype.cz=function(c,b,f,h,l,k){var e=c[0],g=c[c.length-1],p=e.y>g.y?e.y:g.y,q=d.C.q(this.Vb,this.rc,e.y<g.y?e.y:g.y),p=d.C.q(this.Vb,this.rc,p);if(.001<this.pB-(q+b+this.vb)&&.001<this.pB+(p-b-this.vb))return!1;b=f-1.570796326794897;f=h+1.570796326794897;var q=b-3.141592653589793,p=b+3.141592653589793,u=f+3.141592653589793,m=
- [NaN],x=[NaN],w=[NaN],n=[NaN];h=!1;a.yD(this.Vb,this.rc,this.vb,e,b,q,g,f,m,x);a.yD(this.Vb,this.rc,this.vb,g,u,f,e,q,w,n);f<m[0]&&m[0]<u?h=!0:f<x[0]&&x[0]<u&&(h=!0);h||(q<w[0]&&w[0]<b?h=!0:q<n[0]&&n[0]<b&&(h=!0));if(!h&&l)return!1;for(var D=[],z=c.length-1;0<=z;z--)D.push(c[z]);k.Oa();k.Bl(null,0);z=[0];a.Wy(this.Vb,this.rc,this.mc,this.vb,this.$e,c,b,f,l,z,k);a.Es(this.Vb,this.rc,this.mc,this.vb,g,f,u,this.Qo,l,z,k,m[0],x[0]);a.Wy(this.Vb,this.rc,this.mc,this.vb,this.$e,D,u,p,l,z,k);a.Es(this.Vb,
- this.rc,this.mc,this.vb,e,q,b,this.Qo,l,z,k,w[0],n[0]);c=!1;l||(c=this.NF(this.mc,k));return h||c};a.prototype.Xy=function(c,b,f){f.Oa();f.Bl(null,0);a.Es(this.Vb,this.rc,this.mc,this.vb,c,-this.Qo,6.283185307179586,this.Qo,b,[0],f,NaN,NaN);b||this.NF(this.mc,f)};a.prototype.NF=function(a,b){var c=this.xQ(a,b);a=this.yQ(a,b);return c||a};a.prototype.xQ=function(a,b){var c=b.D(),e=!1,l=new d.h;b.s(l);if(!d.l.W(l.B*a,1.570796326794897)&&!d.l.W(l.A*a,-1.570796326794897))return!1;for(var k=new d.b,c=
- c-1;0<=c;c--)b.w(c,k),k.y==l.B&&d.l.W(k.y*a,1.570796326794897)?(e=!0,this.HJ(k,c,b)):k.y==l.A&&d.l.W(k.y*a,-1.570796326794897)&&(e=!0,this.HJ(k,c,b));return e};a.prototype.yQ=function(a,b){var c=b.Aa(0),e=b.Aa(b.D()-1);return 3.141592653589793<Math.abs(c.x-e.x)*a?(this.MW(b),!0):this.wQ(b)};a.prototype.wQ=function(a){return 0>a.hf()?(this.LW(a),!0):!1};a.prototype.HJ=function(a,b,f){var c=f.D(),e=0<b?b-1:c-1,c=f.Aa(b<c-1?b+1:0),e=f.Aa(e);if(!d.l.W(c.y,a.y)&&!d.l.W(c.x,a.x)){var k=new d.b;k.ka(c.x,
- a.y);f.rb(b,k)}d.l.W(e.y,a.y)||d.l.W(e.x,a.x)||(c=new d.b,c.ka(e.x,a.y),f.Zf(0,b,c))};a.prototype.MW=function(a){var c=new d.Ia,b=new d.Ia,h=new d.Hd,l=a.Aa(0),k=a.Aa(a.D()-1),g=new d.b;l.x>k.x?(k=this.nr,h.Ag(-this.Dt,0)):(k=-this.nr,h.Ag(this.Dt,0));c.add(a,!1);a.Oa();b.add(c,!1);b.Xc(h);l=new d.h;b.s(l);l.O((this.Dt-l.N())/2,0);l.A=-this.nr;l.B=this.nr;for(var t=0;t<b.D();t++)b.w(t,g),c.Zf(0,-1,g);b.Xc(h);for(t=0;t<b.D();t++)b.w(t,g),c.Zf(0,-1,g);b=c.Aa(0);h=c.Aa(c.D()-1);g.ka(h.x,k);c.Zf(0,-1,
- g);g.ka(.5*(h.x+b.x),k);c.Zf(0,-1,g);g.ka(b.x,k);c.Zf(0,-1,g);c=d.gi.gt(c,this.Qc,2,!0,l.o);c=d.gi.gt(c,this.Qc,2,!0,l.v);c=d.me.clip(c,l,this.or,NaN);a.add(c,!1)};a.prototype.LW=function(a){var c=new d.h;a.s(c);c.O((this.Dt-c.N())/2,0);c.A=-this.nr;c.B=this.nr;a.Bl(null,0);var b=new d.b;b.ka(c.o,c.A);a.Zf(1,-1,b);b.ka(c.o,c.B);a.Zf(1,-1,b);b.ka(.5*(c.o+c.v),c.B);a.Zf(1,-1,b);b.ka(c.v,c.B);a.Zf(1,-1,b);b.ka(c.v,c.A);a.Zf(1,-1,b);b.ka(.5*(c.o+c.v),c.A);a.Zf(1,-1,b)};a.Wy=function(c,b,f,h,l,k,g,t,p,
- q,u){var e=null;p||(e=new d.b,e.$c(),0<u.D()&&(e.L(u.Aa(u.D()-1)),e.scale(f)));var r=new d.ea(0),m=new d.ea(0),n=new d.ea(0),D=new d.b,z=new d.b,B=k[k.length-1];f=1/f;for(var A=0;A<k.length;A++){var C=k[A],E;0==A?E=g:A==k.length-1?E=t:(d.mb.Md(c,b,B.x,B.y,C.x,C.y,null,null,r,l),E=r.j-1.570796326794897);d.mb.Xi(c,b,C.x,C.y,h,E,m,n);p?z.ka(m.j,n.j):(D.ka(m.j,n.j),a.KF(C.x,D.x,e.x,q),z.ka(q[0]+D.x,D.y),e.L(z));z.scale(f);u.Zf(0,-1,z)}};a.Es=function(c,b,f,h,l,k,g,t,p,q,u,m,x){if(!(g-k<t)){var e=new d.ea(0),
- r=new d.ea(0),v=new d.b,n=new d.b,B=null;p||(B=new d.b,B.$c(),0<u.D()&&(B.L(u.Aa(u.D()-1)),B.scale(f)));var A=d.J.truncate(Math.ceil(k/t)),C=A++*t;C==k&&(C=A++*t);for(f=1/f;C<g+t;){k<m&&m<C?(C=m,A--):k<x&&x<C&&(C=x,A--);if(C>=g)break;d.mb.Xi(c,b,l.x,l.y,h,C,e,r);p?n.ka(e.j,r.j):(v.ka(e.j,r.j),a.KF(l.x,v.x,B.x,q),n.ka(q[0]+v.x,v.y),B.L(n));n.scale(f);u.Zf(0,-1,n);k=C;C=A++*t}}};a.yD=function(a,b,f,h,l,k,g,t,p,q){var c=new d.b,e=new d.b,r=new d.ea(0),m=new d.ea(0);d.mb.Xi(a,b,h.x,h.y,f,l,r,m);c.ka(r.j,
- m.j);d.mb.Xi(a,b,h.x,h.y,f,k,r,m);e.ka(r.j,m.j);f=new d.ea(0);d.mb.Ez(a,b,g.x,g.y,c.x,c.y,f);p[0]=f.j;d.mb.Ez(a,b,g.x,g.y,e.x,e.y,f);for(q[0]=f.j;p[0]<=q[0];)p[0]+=6.283185307179586;for(;p[0]>q[0];)p[0]-=6.283185307179586;for(;p[0]>=t;)p[0]-=6.283185307179586,q[0]-=6.283185307179586;for(;p[0]<t;)p[0]+=6.283185307179586,q[0]+=6.283185307179586};a.KF=function(a,b,d,h){if(isNaN(d)){for(;3.141592653589793<h[0]+b-a;)h[0]-=6.283185307179586;for(;3.141592653589793<a-(h[0]+b);)h[0]+=6.283185307179586}else 3.141592653589793<
- h[0]+b-d?h[0]-=6.283185307179586:3.141592653589793<d-(h[0]+b)&&(h[0]+=6.283185307179586)};a.lQ=function(a,b){var c=a.G(),e;d.T.Ic(c)?e=a.aa():550==c?e=a.D():e=1;if(1==e)return a;var l=new d.ia(0);l.resize(e);for(var k=[],g=new d.h,t=0;t<e;t++){l.write(t,t);var p;d.T.Ic(c)?(a.ik(t,g),p=g.Wf()):p=a.Aa(t);p=d.rM.SY(b,p);k[t]=p}l.Gd(0,l.size,function(a,c){return k[a]<k[c]?-1:k[a]>k[c]?1:0});g=a.Ja();for(t=0;t<e;t++)p=l.read(t),d.T.Ic(c)?g.Ti(a,p,!0):g.Jd(a,p,p+1);return g};a.prototype.sY=function(){var a=
- Math.min(3.141592653589793*this.Vb-this.vb,this.vb),a=Math.min(a,.39269908169872414*this.Vb),b=new d.b;b.ka(0,10*this.mc);var f=45*this.mc,h=new d.ea(0),l=new d.ea(0),k=new d.ea(0),g=new d.ea(0),t=new d.ea(0),p=new d.ea(0),q=new d.ea(0),u=new d.ea(0),m=new d.b,x=new d.b,w=new d.b,n=new d.b;d.mb.Xi(this.Vb,this.rc,b.x,b.y,a,0,h,l);m.ka(h.j,l.j);d.mb.Xi(this.Vb,this.rc,b.x,b.y,a,f,k,g);x.ka(k.j,g.j);for(var h=new d.ea(0),l=new d.ea(0),D=new d.ea(0);;){d.mb.Xi(this.Vb,this.rc,b.x,b.y,a,.5*(0+f),t,p);
- w.ka(t.j,p.j);d.mb.Md(this.Vb,this.rc,m.x,m.y,x.x,x.y,h,l,null,2);d.mb.Oj(this.Vb,this.rc,m.x,m.y,.5*h.j,l.j,q,u,2);n.ka(q.j,u.j);d.mb.Md(this.Vb,this.rc,w.x,w.y,n.x,n.y,D,null,null,2);if(D.j<=this.Po)break;f*=.9;d.mb.Xi(this.Vb,this.rc,b.x,b.y,a,f,k,g);x.ka(k.j,g.j)}this.Qo=6.283185307179586/Math.ceil(6.283185307179586/(f-0))};a.prototype.tY=function(){var a=Math.min(3.141592653589793*this.Vb-this.vb,this.vb),a=Math.min(a,.39269908169872414*this.Vb),b=new d.b,f=new d.b;b.ka(0,10*this.mc);f.ka(10*
- this.mc,10*this.mc);var h=new d.ea(0),l=new d.ea(0),k=new d.ea(0);d.mb.Md(this.Vb,this.rc,b.x,b.y,f.x,f.y,k,h,l,this.$e);var g=new d.ea(0),t=new d.ea(0),p=new d.ea(0),q=new d.ea(0),u=new d.b,m=new d.ea(0),x=new d.ea(0),w=new d.ea(0),n=new d.ea(0),D=new d.ea(0),z=new d.ea(0),B=new d.ea(0),A=new d.ea(0),C=new d.ea(0),E=new d.b,F=new d.b,G=new d.b,H=new d.b,J=1,h=h.j,l=l.j+1.570796326794897,k=k.j;d.mb.Xi(this.Vb,this.rc,b.x,b.y,a,h-1.570796326794897,x,w);E.ka(x.j,w.j);d.mb.Xi(this.Vb,this.rc,f.x,f.y,
- a,l,n,D);F.ka(n.j,D.j);for(var x=new d.ea(0),w=new d.ea(0),l=new d.ea(0),K=new d.ea(0);;){d.mb.Oj(this.Vb,this.rc,b.x,b.y,.5*(0+J)*k,h,g,t,this.$e);u.ka(g.j,t.j);d.mb.Md(this.Vb,this.rc,b.x,b.y,u.x,u.y,null,null,m,this.$e);d.mb.Xi(this.Vb,this.rc,u.x,u.y,a,m.j+1.570796326794897,z,B);G.ka(z.j,B.j);d.mb.Md(this.Vb,this.rc,E.x,E.y,F.x,F.y,x,w,null,2);d.mb.Oj(this.Vb,this.rc,E.x,E.y,.5*x.j,w.j,A,C,2);H.ka(A.j,C.j);d.mb.Md(this.Vb,this.rc,G.x,G.y,H.x,H.y,l,null,null,2);if(l.j<=this.Po)break;J*=.9;d.mb.Oj(this.Vb,
- this.rc,b.x,b.y,J*k,h,p,q,this.$e);f.ka(p.j,q.j);d.mb.Md(this.Vb,this.rc,b.x,b.y,f.x,f.y,null,null,K,this.$e);d.mb.Xi(this.Vb,this.rc,f.x,f.y,a,K.j+1.570796326794897,n,D);F.ka(n.j,D.j)}a=J*k;1E5<a&&(a=1E5);this.uB=a};a.prototype.rY=function(){var a;a=5E4<this.vb?100:1E4<this.vb?10:1;500>this.vb/a&&(a=this.vb/500);.01>a&&(a=.01);this.Po=a};return a}();d.qM=b})(n||(n={}));(function(d){var m=function(){function g(){}g.uc=function(b,a){var c=new d.b;c.L(a);b.push(c)};g.qk=function(b,a){b.add(a.x);b.add(a.y)};
- g.XC=function(b){b.yf(b.size-2)};g.ny=function(b,a){a.ka(b.get(b.size-2),b.get(b.size-1))};g.Ks=function(b,a,c,e,f,h){if(null==b)throw d.f.F();var l=b.G();if(b.u()||d.T.Jo(l))return b;var k=new g;k.mh=a;k.Qc=d.fb.kc(a);var r=d.fb.gw(k.Qc);k.lc=h;k.Vb=d.fb.Rv(k.Qc);k.rc=r*(2-r);k.mc=k.Qc.Od().Ai;k.or=k.Qc.Bo();k.St=k.or*k.mc;k.fB=e;k.eB=f;k.$e=c;197==l?(c=new d.Ia(b.description),c.jd(b,!1)):d.T.Oc(l)?(c=new d.Ua(b.description),c.dc(b,!0)):c=b;if(4!=k.$e){a=0==k.mh.Eb(k.Qc)?d.fb.Xg(c,k.mh,k.Qc,h):d.gi.Mj(c,
- k.Qc);if(a.u())return a;a=g.yJ(k.mc,a);a=k.Fz(a);a=d.Vp.Nj(a,k.Qc,k.$e);k=d.fb.Xg(a,k.Qc,k.mh,h)}else{2==d.Td.Fb(a)?(b=d.fb.Lk(a),h=d.sk.local().V(c,b,a,h),h==b&&(h=new d.Ia,b.copyTo(h))):h=d.gi.Mj(c,k.Qc);a=h;if(a.u())return a;k=k.vY(a)}return k};g.yJ=function(b,a){var c=new d.h;a.ac(c);if(3.141592653589793>c.N()*b)return a;for(var e=!1,c=a.Da(),f=new d.b,h=new d.b;c.Ya();)for(;c.Ca();){var l=c.ba();f.L(l.ec());h.L(l.Cc());f.scale(b);h.scale(b);if(3.141592653589793<Math.abs(f.x-h.x)){var k=g.zv(f,
- h);if(!k){e=!0;break}if(6.283185307179586<Math.abs(f.x-h.x)){e=!0;break}}}if(!e)return a;var e=a.Ja(),r=1<a.description.Ea,t=new d.b,p=new d.b,q=new d.b,u=new d.b,m=new d.Wa;for(c.yj();c.Ya();)for(var x=NaN,w=[0];c.Ca();){l=c.ba();f.L(l.ec());h.L(l.Cc());f.scale(b);h.scale(b);isNaN(x)?(g.ee(f.x,NaN,w),p.L(f)):p.L(q);x=p.x;if(k=g.zv(f,h)){if(6.283185307179586<h.x-f.x)for(;6.283185307179586<h.x-f.x;)h.x-=6.283185307179586;if(-6.283185307179586>h.x-f.x)for(;-6.283185307179586>h.x-f.x;)h.x+=6.283185307179586;
- g.ee(h.x,NaN,w);q.L(h)}else t.L(h),g.UM(t),g.ee(t.x,x,w),q.ka(w[0]+t.x,t.y);.5>Math.abs(q.x-h.x)&&q.L(h);r?(l.Ex(0,m),u.L(p),u.scale(1/b),m.rb(u),(k=c.kn())?e.Rf(m):e.lineTo(m),c.Io()&&!a.Qb(c.Ta)&&(l.Ex(1,m),u.L(q),u.scale(1/b),m.rb(u),e.lineTo(m))):((k=c.kn())&&e.qA(null,0),l=e.aa()-1,u.L(p),u.scale(1/b),e.Zf(l,-1,u),c.Io()&&!a.Qb(c.Ta)&&(u.L(q),u.scale(1/b),e.Zf(l,-1,u)))}return e};g.FG=function(b,a,c,e,f,h,l,k,r,t,p,q){var u=new d.b,m=new d.b,x=0<e.compare(f);g.pF(x,e,f,u,m);g.uG(b,a,c,u,m,h,
- NaN,l,k,r,t,null,p,q);x&&g.py(r,t,null,p)};g.prototype.Fz=function(b){var a=b.Ja(),c=b.Da(),e=[],f=null,h=null,l=1<b.description.Ea;l&&(f=new d.Sd(0),h=new d.Cg);for(var k=[0],r=new d.b,t=new d.b,p=new d.b,q=new d.b;c.Ya();)for(k[0]=0;c.Ca();){var u=c.ba();r.L(u.ec());t.L(u.Cc());r.scale(this.mc);t.scale(this.mc);var m=0<r.compare(t);g.pF(m,r,t,p,q);e.length=0;null!=f&&f.yf(0);0<this.fB?g.uG(this.Vb,this.rc,this.$e,p,q,this.fB,this.eB,this.St,null,null,null,l?f:null,e,k):g.QV(this.Vb,this.rc,this.$e,
- p,q,this.eB,this.St,l?f:null,e,k);m&&g.py(null,null,l?f:null,e);e[0].L(u.ec());e[e.length-1].L(u.Cc());for(var x=1;x<e.length-1;x++)e[x].scale(1/this.mc);l?(m=g.RE(m,u,h),g.hE(c.kn(),c.Io()&&!b.Qb(c.Ta),u,m,f,e,a)):g.fE(c.kn(),c.Io()&&!b.Qb(c.Ta),e,a)}return a};g.prototype.vY=function(b){var a=b.Ja(),c=b.Da(),e=[],f=null,h=new d.Cg,l=1<b.description.Ea;for(l&&(f=new d.Sd(0));c.Ya();)for(;c.Ca();){var k=c.ba(),r=k.ec(),t=k.Cc(),r=0<r.compare(t),t=g.RE(r,k,h);e.length=0;null!=f&&f.yf(0);g.EL(this.Vb,
- this.rc,this.mc,t,this.mh,this.fB,this.eB,l?f:null,e);r&&g.py(null,null,l?f:null,e);l?g.hE(c.kn(),c.Io()&&!b.Qb(c.Ta),k,t,f,e,a):g.fE(c.kn(),c.Io()&&!b.Qb(c.Ta),e,a)}return a};g.fE=function(b,a,c,e){b&&e.qA(null,0);b=e.aa()-1;var d=c.slice(0);e.DH(b,d,d.length-1);a&&e.Zf(b,-1,c[c.length-1])};g.hE=function(b,a,c,e,f,h,l){var k=new d.Wa;c.Dp(k);b?l.Rf(k):l.lineTo(k);if(2<h.length){b=e.Rb();for(var g=1;g<h.length-1;g++){var t=e.aI(f.get(g)*b);e.Ex(t,k);k.rb(h[g]);l.lineTo(k)}}a&&(c.Bp(k),l.lineTo(k))};
- g.uG=function(b,a,c,e,f,h,l,k,r,t,p,q,u,m){var v=new d.ea(0),w=new d.ea(0),n=new d.ea(0);d.mb.Md(b,a,e.x,e.y,f.x,f.y,n,v,w,c);var n=n.j,D=v=v.j,w=w.j;0>D&&(D+=6.283185307179586);0>w&&(w+=6.283185307179586);null!=r&&(r[0]=n);null!=t&&(t[0]=D);null!=p&&(p[0]=w);t=r=NaN;null!=q&&(t=d.C.Yg(b,a),p=d.C.q(b,a,e.y),r=(t-p)/n,t=(t+p)/n);p=g.Av(e,f);var w=g.yv(e,f),D=p||w,z=g.sE(e,f,k),B=new d.ea(0),A=new d.ea(0),C=new d.b,E=new d.b,F=new d.b;g.ee(e.x,NaN,m);var G=[m[0]];if(n<=h)g.uc(u,e),g.ee(f.x,NaN,m),null!=
- q&&q.add(0),D?(p&&g.ly(e,f,q,u),w&&g.hy(e,f,q,u)):z?g.ky(e,f,v,r,t,q,u):0<l&&(E.ka(e.x-G[0],e.y),C.ka(f.x-m[0],f.y),g.EA(b,a,c,e,n,v,E,C,0,1,l,q,u,G)),g.uc(u,f);else{h=1+d.J.truncate(Math.ceil(n/h));var H=n/(h-1),J=new d.b,K=0;g.uc(u,e);J.L(e);E.ka(e.x-m[0],e.y);null!=q&&q.add(0);for(var I=1;I<h;I++){var L;I<h-1?(d.mb.Oj(b,a,e.x,e.y,I*H,v,B,A,c),C.ka(B.j,A.j),g.ee(C.x,J.x,m),F.ka(m[0]+C.x,C.y),L=I/(h-1)):(g.ee(f.x,NaN,m),C.ka(f.x-m[0],f.y),F.L(f),L=1);D?(1==I&&p&&g.ly(e,F,q,u),I==h-1&&w&&g.hy(J,f,
- q,u)):z?g.qE(J,F,k)&&(e.x<f.x?J.x>F.x&&(m[0]+=6.283185307179586,F.ka(m[0]+C.x,C.y)):J.x<F.x&&(m[0]-=6.283185307179586,F.ka(m[0]+C.x,C.y)),g.ky(J,F,v,r,t,q,u)):0<l&&g.EA(b,a,c,e,n,v,E,C,K,L,l,q,u,G);g.uc(u,F);null!=q&&q.add(L);J.L(F);E.L(C);G[0]=m[0];K=L}}};g.QV=function(b,a,c,e,f,h,l,k,r,t){var p=new d.ea(0),q=new d.ea(0),u=new d.ea(0);d.mb.Md(b,a,e.x,e.y,f.x,f.y,u,p,q,c);var q=u.j,p=p.j,m=u=NaN;if(null!=k)var m=d.C.Yg(b,a),x=d.C.q(b,a,e.y),u=(m-x)/q,m=(m+x)/q;var x=g.Av(e,f),w=g.yv(e,f),n=x||w;l=
- g.sE(e,f,l);var D=g.zv(e,f),D=n||l||D;g.ee(e.x,NaN,t);var z=new d.b;g.uc(r,e);z.L(e);null!=k&&k.add(0);D?(n?(x&&g.ly(e,f,k,r),w&&g.hy(e,f,k,r)):l&&g.ky(e,f,p,u,m,k,r),g.ee(f.x,NaN,t),g.uc(r,f)):q<=h?(g.ee(f.x,NaN,t),g.uc(r,f)):(u=new d.b,l=new d.b,u.L(e),l.L(f),u.x-=t[0],l.x-=t[0],-3.141592653589793>l.x?l.x+=6.283185307179586:3.141592653589793<l.x&&(l.x-=6.283185307179586),g.EA(b,a,c,e,q,p,u,l,0,1,h,k,r,t),g.uc(r,f),g.ee(f.x,NaN,t));null!=k&&k.add(1)};g.EA=function(b,a,c,e,f,h,l,k,r,t,p,q,u,m){var v=
- new d.b,w=new d.b;v.ka(l.x+m[0],l.y);new d.ea(0);new d.ea(0);new d.ea(0);new d.ea(0);var n=new d.ea(0),D=new d.ea(0),z=new d.ea(0),B=new d.b,A=new d.b,C=new d.b,E=new d.b;B.L(l);A.L(k);l=new d.Sd(0);k=new d.Sd(0);g.qk(l,A);k.add(t);var F=new d.b,G=new d.Hb,H=[];for(g.qG(4,H);0<l.size;){for(var J=!1,K,I=NaN,L=0;3>L;L++)if(K=H[L]*t+(1-H[L])*r,d.mb.Oj(b,a,e.x,e.y,K*f,h,n,D,c),C.ka(n.j,D.j),0==L&&(I=K,E.L(C)),g.wO(B,C,A,G),G.gc(G.oe(C,!0),F),d.mb.Md(b,a,C.x,C.y,F.x,F.y,z,null,null,2),z.j>p){J=!0;break}J?
- (A.L(E),t=I,g.qk(l,A),k.add(t)):(g.XC(l),k.Ek(k.size-1,1,k.size-1),0<l.size&&(g.ee(A.x,v.x,m),w.ka(m[0]+A.x,A.y),g.uc(u,w),v.L(w),null!=q&&q.add(t),B.L(A),r=t,g.ny(l,A),t=k.get(k.size-1)))}};g.EL=function(b,a,c,e,f,h,l,k,r){var t=new d.b,p=new d.b,q=new d.b,u=new d.b,m=new d.b,x=new d.b,w=new d.b,n=new d.b,D=new d.b,z=new d.b,B=new d.ea(0),A=new d.ea(0),C=new d.b,E=[[],[]],F=1==d.Td.Fb(f);f=f.re(0);var G=e.ec(),H=e.Cc();F?(x.ka(G.x*c,G.y*c),w.ka(H.x*c,H.y*c)):(E[0][0]=G.x,E[0][1]=G.y,E[1][0]=H.x,
- E[1][1]=H.y,d.fb.ku(),x.x=E[0][0]*c,x.y=E[0][1]*c,w.x=E[1][0]*c,w.y=E[1][1]*c);var J=0,K=0,I=1,L=e.Go();t.L(G);p.L(H);var H=new d.Sd(0),M=new d.Sd(0),R=new d.Sd(0);g.qk(H,p);g.qk(M,w);R.add(I);g.uc(r,t);null!=k&&k.add(K);var O=[],Q;Q=0<l?L?5:3:L?5:1;g.qG(Q,O);for(var N=new d.ea(0),P=new d.ea(0),Z=new d.ea(0),T=new d.ea(0),X=new d.ea(0),W=new d.ea(0),Y=new d.ea(0);0<M.size;){var V=!1,ba,U=NaN;d.mb.Md(b,a,x.x,x.y,w.x,w.y,N,P,null,2);for(G=0;G<Q;G++){if(0==G){if(!L&&0>=l&&N.j<=h&&3.141592653589793>Math.abs(x.x-
- w.x))break;if(e.Cy(K,I)<=f)break}ba=O[G]*I+(1-O[G])*K;e.gc(ba,q);F?n.ka(q.x*c,q.y*c):(E[0][0]=q.x,E[0][1]=q.y,d.fb.ku(),n.x=E[0][0]*c,n.y=E[0][1]*c);if(0==G&&(U=ba,m.L(q),z.L(n),0<h&&(N.j>h||3.141592653589793<=Math.abs(x.x-w.x)))){V=!0;break}if(L&&0<h){if(d.mb.Md(b,a,x.x,x.y,n.x,n.y,Z,null,null,2),Z.j>h||3.141592653589793<=Math.abs(x.x-n.x)){V=!0;break}}else if(0<l)if(L?(u.HU(t,p,O[G]),F?D.ka(u.x*c,u.y*c):(E[0][0]=u.x,E[0][1]=u.y,d.fb.ku(),D.x=E[0][0]*c,D.y=E[0][1]*c)):(u.L(q),D.L(n)),d.mb.Md(b,a,
- x.x,x.y,D.x,D.y,T,null,null,2),T.j<=N.j){d.mb.Oj(b,a,x.x,x.y,T.j,P.j,B,A,2);C.ka(B.j,A.j);d.mb.Md(b,a,C.x,C.y,n.x,n.y,X,null,null,2);if(X.j>l){V=!0;break}if(L){d.mb.Md(b,a,C.x,C.y,D.x,D.y,W,null,null,2);if(W.j>l){V=!0;break}d.mb.Md(b,a,D.x,D.y,n.x,n.y,Y,null,null,2);if(Y.j>l){V=!0;break}}}else{V=!0;break}}V?(p.L(m),w.L(z),I=U,g.qk(H,p),g.qk(M,w),R.add(I)):(g.XC(H),g.XC(M),R.Ek(R.size-1,1,R.size-1),g.uc(r,p),J+=N.j,null!=k&&k.add(J),0<M.size&&(t.L(p),x.L(w),K=I,g.ny(H,p),g.ny(M,w),I=R.get(R.size-1)))}if(null!=
- k)for(b=1/J,G=0;G<k.size;G++)k.write(G,k.read(G)*b)};g.py=function(b,a,c,e){e.reverse();null!=c&&c.Zd(0,c.size,1);c=null!=b?b[0]:NaN;e=null!=a?a[0]:NaN;null!=b&&(b[0]=e);null!=a&&(a[0]=c)};g.pF=function(b,a,c,e,d){b?(e.L(c),d.L(a)):(e.L(a),d.L(c))};g.RE=function(b,a,c){if(!b)return a;c.create(a.G());a.copyTo(c.get());c.get().reverse();return c.get()};g.ee=function(b,a,c){if(isNaN(a)){for(;3.141592653589793<c[0]-b;)c[0]-=6.283185307179586;for(;3.141592653589793<b-c[0];)c[0]+=6.283185307179586}else 3.141592653589793<
- c[0]+b-a?c[0]-=6.283185307179586:3.141592653589793<a-(c[0]+b)&&(c[0]+=6.283185307179586)};g.wO=function(b,a,c,e){3.141592653589793>Math.abs(a.x-b.x)?(e.Mc(b),3.141592653589793<=c.x-b.x?e.vm(c.x-6.283185307179586,c.y):3.141592653589793<=b.x-c.x?e.vm(c.x+6.283185307179586,c.y):e.vm(c.x,c.y)):(e.Mc(c),3.141592653589793<=b.x-c.x?e.vm(b.x-6.283185307179586,b.y):3.141592653589793<=c.x-b.x?e.vm(b.x+6.283185307179586,b.y):e.vm(b.x,b.y))};g.qG=function(b,a){for(var c=0;c<b;c++){var e=Math.ceil(c/2)/(b+1);
- 0!=c%2&&(e=-e);a[c]=.5+e}};g.Av=function(b,a){return d.l.W(b.y,1.570796326794897)&&!d.l.W(a.y,1.570796326794897)||d.l.W(b.y,-1.570796326794897)&&!d.l.W(a.y,-1.570796326794897)?!0:!1};g.yv=function(b,a){return d.l.W(a.y,1.570796326794897)&&!d.l.W(b.y,1.570796326794897)||d.l.W(a.y,-1.570796326794897)&&!d.l.W(b.y,-1.570796326794897)?!0:!1};g.sE=function(b,a,c){return!g.qE(b,a,c)||d.l.W(b.y,1.570796326794897)||d.l.W(b.y,-1.570796326794897)||d.l.W(a.y,1.570796326794897)||d.l.W(a.y,-1.570796326794897)?
- !1:!0};g.qE=function(b,a,c){return Math.abs(Math.abs(b.x-a.x)-3.141592653589793)<=c?!0:!1};g.zv=function(b,a){return d.l.W(b.y,1.570796326794897)&&d.l.W(a.y,1.570796326794897)||d.l.W(b.y,-1.570796326794897)&&d.l.W(a.y,-1.570796326794897)?!0:!1};g.ly=function(b,a,c,e){if(0<b.y){var f=new d.b;f.ka(a.x,1.570796326794897)}else f=new d.b,f.ka(a.x,-1.570796326794897);d.l.W(b.x,f.x)||d.l.W(a.y,f.y)||(g.uc(e,f),null!=c&&c.add(0))};g.hy=function(b,a,c,e){if(0<a.y){var f=new d.b;f.ka(b.x,1.570796326794897)}else f=
- new d.b,f.ka(b.x,-1.570796326794897);d.l.W(a.x,f.x)||d.l.W(b.y,f.y)||(g.uc(e,f),null!=c&&c.add(1))};g.ky=function(b,a,c,e,f,h,l){d.l.wd(c)?(0<1.570796326794897-b.y&&(c=new d.b,c.ka(b.x,1.570796326794897),g.uc(l,c),null!=h&&h.add(e)),0<1.570796326794897-a.y&&(c=new d.b,c.ka(a.x,1.570796326794897),g.uc(l,c),null!=h&&h.add(e))):(0<1.570796326794897+b.y&&(c=new d.b,c.ka(b.x,-1.570796326794897),g.uc(l,c),null!=h&&h.add(f)),0<1.570796326794897+a.y&&(c=new d.b,c.ka(a.x,-1.570796326794897),g.uc(l,c),null!=
- h&&h.add(f)))};g.UM=function(b){if(-3.141592653589793>b.x)for(;-3.141592653589793>b.x;)b.x+=6.283185307179586;if(3.141592653589793<b.x)for(;3.141592653589793<b.x;)b.x-=6.283185307179586};return g}();d.Ej=m})(n||(n={}));(function(d){var m=function(){function g(){}g.Nj=function(b,a,c){if(null==b||null==a||!d.fb.Jc(a))throw d.f.F();if(b.u())return b;var e=b,f=e.G();if(d.T.Ic(f)){e=d.gi.Mj(b,a);b=new d.h;e.s(b);for(var f=d.ma.be(a,b,!1),h=d.fb.Bh(a),l=Math.floor((b.o-h.o)/h.N())*h.N()+h.o;l<b.v;)l>b.o+
- f&&l<b.v-f&&(e=d.gi.gt(e,a,c,!0,l)),l+=h.N()}else{if(197==f)return b=new d.Ia(e.description),b.jd(e,!1),g.Nj(b,a,c);if(d.T.Oc(f))return b=new d.Ua(e.description),b.dc(e,!0),g.Nj(b,a,c)}return g.iV(e,a)};g.iV=function(b,a){if(null==b||null==a||!d.fb.Jc(a))throw d.f.F();if(b.u())return b;var c;c=b.G();197==c?(c=new d.Ia(b.description),c.jd(b,!1)):d.T.Oc(c)?(c=new d.Ua(b.description),c.dc(b,!0)):c=b;c=d.gi.Mj(c,a);return c.u()?c:1==d.Td.Fb(a)?d.gi.Ym(c,a,0,c!=b,0):g.cV(c,a,c!=b)};g.cV=function(b,a,c){if(!d.fb.Jc(a))throw d.f.F();
- if(b.u())return b;var e=d.fb.de(a),f=0-180*e,e=360*e;2==d.Td.Fb(a)&&(f=d.fb.Bh(a),e=f.v,f=f.o,e-=f);return d.gi.Aq(b,f,e,a,c,0,!0)};return g}();d.Vp=m})(n||(n={}));(function(d){var m=function(){function g(){}g.eV=function(b,a){var c=Math.abs(b%a);return isNaN(c)||c==b||c<=Math.abs(a)/2?c:0>b?-1*(c-a):0<b?1*(c-a):0*(c-a)};g.K=function(b){return 0>b?-b:b};g.Ab=function(b,a){return 0<=a?g.K(b):-g.K(b)};g.W=function(b,a){return b==a||g.K(b-a)<=g.fD*(1+(g.K(b)+g.K(a))/2)};g.wd=function(b){return 0==b||
- g.K(b)<=g.fD};g.Eu=function(b){b=g.eV(b,g.lA);return g.K(b)<=g.Oi?b:0>b?b+g.lA:b-g.lA};g.JB=function(b,a){b.j=g.Eu(b.j);a.j=g.Eu(a.j);g.K(a.j)>g.rs&&(b.j=g.Eu(b.j+g.Oi),a.j=g.Ab(g.Oi,a.j)-a.j)};g.Yg=function(b,a){a=Math.sqrt(1-a);a=(1-a)/(1+a);var c=a*a;return b/(1+a)*(1+c*(.25+c*(.015625+1/256*c)))*g.rs};g.RS=function(b,a,c,e,f){var h,l,k,r,t,p,q,u=0,m=p=0,x=0,w=0,n=0;t=0;var D,z,B;q=0;var A,C,E;B=new d.ea;h=new d.ea;if(null!=f)if(B.j=b,h.j=a,g.JB(B,h),b=B.j,a=h.j,B.j=c,h.j=e,g.JB(B,h),c=B.j,e=h.j,
- c=g.Eu(c-b),g.W(a,e)&&(g.wd(c)||g.W(g.K(a),g.rs)))null!=f&&(f.j=0);else{if(g.W(a,-e)){if(g.W(g.K(a),g.rs)){null!=f&&(f.j=2*g.Yg(6378137,.0066943799901413165));return}if(g.W(g.K(c),g.Oi)){null!=f&&(f.j=2*g.Yg(6378137,.0066943799901413165));return}}if(g.wd(.0066943799901413165))w=Math.cos(a),n=Math.cos(e),null!=f&&(u=Math.sin((e-a)/2),p=Math.sin(c/2),q=2*Math.asin(Math.sqrt(u*u+w*n*p*p)),f.j=6378137*q);else{B=1-Math.sqrt(.9933056200098587);b=1-B;h=Math.atan(b*Math.tan(a));a=Math.sin(h);h=Math.cos(h);
- l=Math.atan(b*Math.tan(e));e=Math.sin(l);l=Math.cos(l);r=k=c;C=0;E=1;A=c;for(z=!0;1==z;)C+=1,1==E&&(t=Math.sin(A),p=Math.cos(A),u=l*t,q=h*e-a*l*p,u=Math.sqrt(u*u+q*q),p=a*e+h*l*p,q=Math.atan2(u,p),m=1E-15>g.K(u)?h*l*t/g.Ab(1E-15,u):h*l*t/u,x=1-m*m,w=1E-15>g.K(x)?p-a*e/g.Ab(1E-15,x)*2:p-a*e/x*2,n=w*w,t=((-3*x+4)*B+4)*x*B/16),D=(1-t)*B*(q+t*u*(w+p*t*(2*n-1))),1==E?(A=c+D*m,1E-14>g.K(A-r)?z=!1:g.K(A)>g.Oi?(E=2,A=g.Oi,0>c&&(A=-A),m=0,x=1,k=r=2,q=g.Oi-g.K(Math.atan(a/h)+Math.atan(e/l)),u=Math.sin(q),p=
- Math.cos(q),t=((-3*x+4)*B+4)*x*B/16,1E-14>g.K(m-k)?z=!1:(w=1E-15>g.K(x)?p-a*e/g.Ab(1E-15,x)*2:p-a*e/x*2,n=w*w)):(0>(A-r)*(r-k)&&5<C&&(A=(2*A+3*r+k)/6),k=r,r=A)):(m=(A-c)/D,0>(m-r)*(r-k)&&5<C&&(m=(2*m+3*r+k)/6),k=r,r=m,x=1-m*m,t=m*u/(h*l),p=-Math.sqrt(g.K(1-t*t)),A=Math.atan2(t,p),u=l*t,q=h*e-a*l*p,u=Math.sqrt(u*u+q*q),p=a*e+h*l*p,q=Math.atan2(u,p),t=((-3*x+4)*B+4)*x*B/16,1E-14>g.K(m-k)?z=!1:(w=1E-15>g.K(x)?p-a*e/g.Ab(1E-15,x)*2:p-a*e/x*2,n=w*w));null!=f&&(m=Math.sqrt(1+(1/(b*b)-1)*x),m=(m-1)/(m+1),
- x=m*(1-.375*m*m),f.j=(1+m*m/4)/(1-m)*b*6378137*(q-x*u*(w+x/4*(p*(-1+2*n)-x/6*w*(-3+4*u*u)*(-3+4*n)))))}}};g.Oi=3.141592653589793;g.rs=1.5707963267948966;g.lA=6.283185307179586;g.fD=3.552713678800501E-15;return g}();d.oM=m})(n||(n={}));(function(d){var m=function(){return function(b){this.ue=b;this.ll=this.ue.getCode();0>this.ll&&(this.ll=0)}}();d.RZ=m;var g=function(){function b(a){void 0===a&&(a=null);this.Kh=null;this.on=!1;null!==a&&(this.Kh=new m(a))}b.prototype.yc=function(){return null!=this.Kh?
- this.Kh.ll:0};b.prototype.Vf=function(){var a=new b;this.copyTo(a);return a};b.prototype.copyTo=function(a){a.Kh=this.Kh;a.on=this.on};b.prototype.Vv=function(){var a=this.Vf();a.jt();return a};b.prototype.jt=function(){this.on=!this.on};b.prototype.dn=function(){return null!=this.Kh?this.Kh.ue:null};b.prototype.AK=function(a){if(0>=a)throw d.f.F();if(a!=this.yc()){a=d.Tf.geogtran(a);if(null==a)throw d.f.F("Geogtran not found.");this.Kh=new m(a)}};b.prototype.lH=function(){return null==this.Kh?null:
- this.Kh.ue.toString()};b.prototype.getName=function(){if(null==this.Kh||null==this.Kh.ue)return"";var a="";this.on&&(a+="~");return a+=this.Kh.ue.getName()};b.prototype.nY=function(a){if(null==a)throw d.f.F();var c=null;try{c=d.Tf.fromString(d.Vc.PE_TYPE_GEOGTRAN,a)}catch(e){throw d.f.F();}this.Kh=new m(c)};b.prototype.Eb=function(a){return a==this?!0:a instanceof b&&(!(0>=this.yc()||this.yc()!=a.yc())||this.dn().isEqual(a.dn()))?this.on==a.on:!1};b.prototype.toString=function(){var a=toString();
- return 200<a.length?a.substring(0,197)+"... ("+a.length.toString()+" characters)":a};b.create=function(a,c){var e=new b;e.AK(a);c&&e.jt();return e};b.eG=function(a,c){var e=new b;e.nY(a);c&&e.jt();return e};return b}();d.io=g})(n||(n={}));(function(d){var m=function(){function b(){}b.pa=function(a,c,e,d){var f=new b;f.wn=a;f.xn=c;f.LI=e;f.MI=d;return f};b.Gs=function(a,c){return a.wn==c.wn?a.xn==c.xn?0:a.xn<c.xn?-1:1:a.wn<c.wn?-1:1};return b}(),g=function(){function b(){this.Gw=!1;this.NI=[];this.ZA=
- [];this.iI=this.Gw=this.hI=!1;this.kq()}b.zo=function(){null==b.EG&&(b.EG=new b);return b.EG};b.b_=function(){return b.zo().Gw};b.e_=function(){return b.zo().iI};b.y_=function(a,c){if(a==c)return null;var e=b.zo();if(e.hI){var d=b.DA(e.ZA,a,c);return null!=d?d:null}d=b.DA(e.ZA,a,c);return null!=d?d:b.DA(e.NI,a,c)};b.eO=function(a,c,b,f,h){var e=d.my.create();if(0<a)try{var k=d.io.create(a,c);if(0==k.yc())return null;e.add(k);if(0<b){var g=d.io.create(b,f);if(0==g.yc())return null;e.add(g)}h&&(e=e.Vv())}catch(t){e=
- null}return e};b.DA=function(a,c,e){if(c==e||0==a.length)return null;for(var d=m.pa(c,e,0,0),h=!1,l=!1,k=0,g=0,t=-1,p=0;p<a.length;p++)if(0===m.Gs(d,a[p])){t=p;break}if(0>t||a[t].wn!=d.wn||a[t].xn!=d.xn){d=m.pa(e,c,0,0);c=-1;for(p=0;p<a.length;p++)if(0===m.Gs(d,a[p])){c=p;break}0<=c&&a[c].wn==d.wn&&a[c].xn==d.xn&&(k=a[c].LI,g=a[c].MI,l=h=!0)}else k=a[t].LI,g=a[t].MI,h=!1,l=!0;if(!l)return null;0==k&&(k=g,g=0);d=a=!1;0>k&&(k=-k,a=!0);0>g&&(g=-g,d=!0);return b.eO(k,a,g,d,h)};b.prototype.kq=function(){this.AE(this.NI)&&
- (this.Gw=!0);this.AE(this.ZA)&&(this.iI=!0);this.hI=!this.Gw};b.prototype.AE=function(a){try{for(var c=[],c=c.sort(m.Gs),b=0;b<c.length;b++)a.push(c[b])}catch(f){}return!0};b.Q_=function(){return null};return b}();d.QZ=g})(n||(n={}));(function(d){var m=function(){function d(){}d.prototype.Ly=function(b){this.Hi=b};d.prototype.ME=function(b){this.Mb=b};d.prototype.NE=function(b){this.np=b};d.IF=function(b){return b.u()||1607!=b.G()&&1736!=b.G()?!1:!0};d.GF=function(b){return b.u()||1607!=b.G()&&1736!=
- b.G()||20>b.D()?!1:!0};d.HF=function(b){return b.u()||1607!=b.G()&&1736!=b.G()||20>b.D()?!1:!0};return d}();d.wl=m})(n||(n={}));(function(d){var m=function(){function g(){}g.lX=function(b){var a=new d.Ia;a.Zx(b.R.o,b.R.A);a.Wj(b.R.o,b.R.B);a.Wj(b.R.v,b.R.B);a.Wj(b.R.v,b.R.A);return a};g.Xg=function(b,a){return null===b?null:d.ns.local().V(b,a,null)};g.fZ=function(b,a){var c=d.ei.local();b=new d.hd(b);return c.V(b,a,null).next()};g.Wm=function(b,a,c){return d.cq.local().V(b,a,c,null)};g.Pp=function(b,
- a,c){return d.ty.local().V(b,a,c,null)};g.NY=function(b,a,c){var e=d.ty.local();b=new d.hd(b);a=new d.hd(a);c=e.V(b,a,c,null);for(e=[];null!=(a=c.next());)e.push(a);return e};g.Eb=function(b,a,c){return d.Gj.local().V(3,b,a,c,null)};g.PR=function(b,a,c){return d.Gj.local().V(4,b,a,c,null)};g.KU=function(b,a,c){var e=d.sk.local();b=new d.hd(b);a=new d.hd(a);c=e.V(b,a,c,null);for(e=[];null!=(a=c.next());)e.push(a);return e};g.MR=function(b,a,c){var e=d.cq.local();b=new d.hd(b);a=new d.hd(a);c=e.V(b,
- a,c,null);for(e=[];null!=(a=c.next());)e.push(a);return e};g.Ma=function(b,a,c){return d.sk.local().V(b,a,c,null)};g.qZ=function(b,a,c){return d.Gj.local().V(2,b,a,c,null)};g.contains=function(b,a,c){return d.Gj.local().V(1,b,a,c,null)};g.xR=function(b,a,c){return d.Gj.local().V(16,b,a,c,null)};g.touches=function(b,a,c){return d.Gj.local().V(8,b,a,c,null)};g.nW=function(b,a,c){return d.Gj.local().V(32,b,a,c,null)};g.MU=function(b,a,c){return d.Gj.local().V(1073741824,b,a,c,null)};g.XB=function(b,
- a,c,e){return d.oN.local().V(b,a,c,e,null)};g.Cb=function(b,a,c,e){var f=null;if(null!=c){if(f=c.Od(),null!=e&&f.yc()!=e.yc()&&f.nd!=e.nd)throw d.f.uk();}else if(null!=e)throw d.f.F();b=d.gN.local().V(b,a,null);null!==f&&null!==e&&(b=d.oc.li(b,f,e));return b};g.clip=function(b,a,c){return d.aN.local().V(b,d.h.pa(a.R.o,a.R.A,a.R.v,a.R.B),c,null)};g.Hl=function(b,a,c){if(null==b||null==a)return null;b=d.cN.local().V(!0,b,a,c,null);for(a=[];null!=(c=b.next());)c.u()||a.push(c);return a.slice(0)};g.PP=
- function(b,a,c,e,f,h,l,k){if(!0===f)return g.XM(b,a,c,e,h,l,k);f=c;if(null!=a){if(l=a.Od(),null!=e&&l.yc()!=e.yc()){if(l.nd!=e.nd)throw d.f.uk();f=[];d.oc.cG(c,c.length,e,l,f)}}else if(null!=e)throw d.f.F();c=d.BD.local();if(h){b=new d.hd(b);a=c.V(b,a,f,h,null);for(b=[];null!=(h=a.next());)b.push(h);h=b.slice(0)}else for(h=[],e=0;e<b.length;e++)h[e]=c.V(b[e],a,f[e],null);return h};g.XM=function(b,a,c,e,f,h,l){if(null===a)throw d.f.F();if(null===e||void 0===e)e=4326!==a.yc()?a.Od():d.oc.ze(9001);if(0!==
- e.nd)throw d.f.F();d.oc.cG(c,c.length,e,d.oc.ze(9001),c);e=d.GD.local();if(f){b=new d.hd(b);a=e.V(b,a,h,c,l,!1,f,null);for(c=[];null!=(h=a.next());)c.push(h);f=c.slice(0)}else{f=[];for(var k=0;k<b.length;k++)f[k]=e.V(b[k],a,h,c[k],l,!1,null)}return f};g.buffer=function(b,a,c,e,f,h,l){var k=c;if(!1===f){if(null!=a){if(f=a.Od(),null!=e&&f.yc()!=e.yc()){if(f.nd!=e.nd)throw d.f.uk();k=d.oc.li(c,e,f)}}else if(null!=e)throw d.f.F();b=d.BD.local().V(b,a,k,null)}else{if(null===a)throw d.f.F();if(null===e||
- void 0===e)e=4326!==a.yc()?a.Od():d.oc.ze(9001);if(0!==e.nd)throw d.f.F();k=d.oc.li(c,e,d.oc.ze(9001));b=d.GD.local().V(b,a,h,k,l,!1,null)}return b};g.lW=function(b,a,c,e,f,h,l){if(null!=a){var k=a.Od();if(null!=l&&k.yc()!=l.yc()){if(k.nd!=l.nd)throw d.f.uk();c=d.oc.li(c,l,k)}}else if(null!=l)throw d.f.F();b=new d.hd(b);a=d.KD.local().V(b,a,c,e,f,h,null);for(c=[];null!=(e=a.next());)c.push(e);return c.slice(0)};g.offset=function(b,a,c,e,f,h,l){if(null!=a){var k=a.Od();if(null!=l&&k.yc()!=l.yc()){if(k.nd!=
- l.nd)throw d.f.uk();c=d.oc.li(c,l,k)}}else if(null!=l)throw d.f.F();return d.KD.local().V(b,a,c,e,f,h,null)};g.gR=function(b){return d.DD.local().V(b,null)};g.hR=function(b,a){var c=d.DD.local();b=new d.hd(b);c=c.V(b,a,null);for(b=[];null!=(a=c.next());)b.push(a);return b};g.Yz=function(b,a,c){return d.ry.local().Yz(b,a,c)};g.Zz=function(b,a){return d.ry.local().Zz(b,a)};g.$z=function(b,a,c,e){return d.ry.local().$z(b,a,c,e)};g.BC=function(b,a){return d.Lm.local().V(b,a,!1,null)};g.XU=function(b,
- a){return d.Lm.local().Vq(b,a,null)};g.FS=function(b,a,c,e,f){var h=d.FD.local();if(null!=a){if(a=a.Od(),null!=f&&a.yc()!=f.yc()){if(a.nd!=f.nd)throw d.f.uk();c=d.oc.li(c,f,a)}}else if(null!=f)throw d.f.F();return h.V(b,c,e,null)};g.Ks=function(b,a,c,e){var f=d.Km.local();if(null!=a){if(a=a.Od(),null!=e&&a.yc()!=e.yc()){if(a.nd!=e.nd)throw d.f.uk();c=d.oc.li(c,e,a)}}else if(null!=e)throw d.f.F();return f.V(b,c,null)};g.Dz=function(b,a,c,e,f){void 0===f&&(f=0);var h=d.iN.local();if(4==f)throw d.f.df();
- if(0!==f)throw d.f.df();if(null!=a){var l=a.Od();if(null!=e&&l.yc()!=e.yc()){if(l.nd!=e.nd)throw d.f.uk();c=d.oc.li(c,e,l)}}else if(null!=e)throw d.f.F();return h.V(b,c,a,f,null)};g.LS=function(b,a,c,e){if(null===b)return 0;if(4==e)throw d.f.df();if(0!==e)throw d.f.df();if(197==b.G())b=g.lX(b);else if(1736!=b.G())return 0;e=d.fb.kc(a);b=d.fb.Xg(b,a,e,null);b=d.pM.MS([b])[0];if(null!==c){if(2!==c.nd)throw d.f.F("Unit must be a area unit type");b=d.oc.li(b,d.oc.ze(109404),c)}return b};g.PS=function(b,
- a,c,e){b=d.kN.local().V(b,a,e,null);if(null!==c){if(0!==c.nd)throw d.f.F("Unit must be a linear unit type");b=d.oc.li(b,d.oc.ze(9001),c)}return b};g.vW=function(b,a,c){if(null===b)return 0;var e=null;if(null!=a){e=a.Od();if(0==e.nd&&(e=d.oc.kH(e),null==e&&null!==c))throw d.f.F();if(null!=c&&e.yc()!=c.yc()&&e.nd!=c.nd)throw d.f.uk();}else if(null!=c)throw d.f.F();return 1736==b.G()||197==b.G()?(b=b.hf(),null!==c?d.oc.li(b,e,c):b):0};g.wW=function(b,a,c){if(null===b||b.u()||1>b.tb())return 0;var e=
- null;if(null!=a){if(e=a.Od(),null!=c&&e.yc()!=c.yc()&&e.nd!=c.nd)throw d.f.uk();}else if(null!=c)throw d.f.F();1736==b.G()||197==b.G()?a=b.Gg():d.T.Oc(b.G())?(a=new d.Ua(b.description),a.dc(b,!0)):a=b;b=0;a=a.Da();for(var f=new d.b,h=new d.b;a.Ya();)for(;a.Ca();){var l=a.ba();l.Oq(f);l.Os(h);b+=d.b.Cb(f,h)}null!==e&&null!==c&&(b=d.oc.li(b,e,c));return b};g.ZZ=function(b,a){return d.Td.OS(b,a)};g.bG=function(b){return void 0!==b.points?g.jW(b,void 0===b.hasZ?!1:b.hasZ,void 0===b.hasM?!1:b.hasM):void 0!==
- b.rings?g.vH(b.rings,void 0===b.hasZ?!1:b.hasZ,void 0===b.hasM?!1:b.hasM,"P"):void 0!==b.paths?g.vH(b.paths,void 0===b.hasZ?!1:b.hasZ,void 0===b.hasM?!1:b.hasM,"L"):void 0!==b.x?g.tW(b):void 0!==b.xmin?g.bW(b):null};g.tW=function(b){if(null==b.x||"NaN"==b.x)return new d.Wa;var a=new d.Wa(b.x,b.y);void 0!==b.z&&null!==b.z&&a.qY(b.z);void 0!==b.m&&null!==b.m&&a.aY(b.m);return a};g.bW=function(b){if(null==b.xmin||"NaN"==b.xmin)return new d.ci;var a=new d.ci(b.xmin,b.ymin,b.xmax,b.ymax);void 0!==b.zmin&&
- null!==b.zmin&&a.setInterval(1,0,b.zmin,b.zmax);void 0!==b.mmin&&null!==b.mmin&&a.setInterval(2,0,b.mmin,b.mmax);return a};g.jW=function(b,a,c){var e=0,f=new d.Ed,h=3*b.points.length;0!=h%2&&h++;2>h&&(h=2);var l=d.J.truncate(3*b.points.length/2);4>l?l=4:16>l&&(l=16);for(var h=d.Uc.Vm(h,0),k=d.Uc.Vm(l),l=d.Uc.Vm(l),g=0;g<b.points.length;g++)h.write(2*g,b.points[g][0]),h.write(2*g+1,b.points[g][1]),k.write(g,a||c?b.points[g][2]:NaN),l.write(g,c&&a?b.points[g][3]:NaN),e++;0!=e&&(f.resize(e),f.Zn(0,h));
- a&&(f.Ud(1),f.Zn(1,k));c&&(f.Ud(2),f.Zn(2,0==a?k:l));f.Dc(16777215);return f};g.vH=function(b,a,c,e){var f,h=0,l=2;"P"==e?(f=new d.Ia,h=1,l=3):f=new d.Ua;for(var k=d.Uc.wh(0),g=d.Uc.vq(0),t=0,p=0,q=[],m=[],v=0;v<b.length;v++){var n=b[v].length;q[v]=!1;if("P"===e&&b[v][0][0]===b[v][b[v].length-1][0]&&b[v][0][1]===b[v][b[v].length-1][1]){var w=0==c?!0:b[v][0][3]===b[v][b[v].length-1][3]||void 0===b[v][0][3]&&void 0===b[v][b[v].length-1][3];(0==a||b[v][0][2]===b[v][b[v].length-1][2]||void 0===b[v][0][2]&&
- void 0===b[v][b[v].length-1][2])&&w&&(q[v]=!0,--n)}n>=l?(m[v]=!1,p+=1,k.add(t),g.add(h),t+=n):m[v]=!0}e=3*t;0!=e%2&&e++;2>e&&(e=2);v=d.J.truncate(3*t/2);4>v?v=4:16>v&&(v=16);e=d.Uc.Vm(e,0);h=d.Uc.Vm(v);l=d.Uc.Vm(v);for(v=n=0;v<b.length;v++)if(!1===m[v])for(w=0;w<b[v].length;w++){var y=!1;w===b[v].length-1&&!0===q[v]&&(y=!0);y||(e.write(2*n,b[v][w][0]),e.write(2*n+1,b[v][w][1]),h.write(n,a||c?b[v][w][2]:NaN),l.write(n,c&&a?b[v][w][3]:NaN),n++)}0!=t&&(b=f,k.resize(p),g.resize(p),0<t&&(k.add(t),g.add(0)),
- b.Zn(0,e),b.FK(g),b.GK(k));a&&(f.Ud(1),f.Zn(1,h));c&&(f.Ud(2),f.Zn(2,0==a?h:l));f.Dc(16777215);return f};return g}();d.cc=m})(n||(n={}));(function(d){var m=function(){function d(){}d.Im=function(b){var a=0,c,e=b.length,d=b[0],h;for(c=0;c<e-1;c++)h=b[c+1],a+=(h[0]-d[0])*(h[1]+d[1]),d=h;return 0<=a};d.rotate=function(b,a,c){a=a*Math.PI/180;var e=Math.cos(a),f=Math.sin(a);if(void 0!==b.paths){a={paths:[]};for(var h=0;h<b.paths.length;h++){for(var l=b.paths[h],k=[],g=0;g<l.length;g++){var t=l[g].slice(0);
- k.push(t);var p=e*(l[g][0]-c.x)-f*(l[g][1]-c.y)+c.x,q=f*(l[g][0]-c.x)+e*(l[g][1]-c.y)+c.y;t[0]=p;t[1]=q}a.paths.push(k)}return a}if(void 0!==b.rings){a={rings:[]};for(h=0;h<b.rings.length;h++){for(var l=b.rings[h],k=[],m=d.Im(l),g=0;g<l.length;g++)t=l[g].slice(0),k.push(t),p=e*(l[g][0]-c.x)-f*(l[g][1]-c.y)+c.x,q=f*(l[g][0]-c.x)+e*(l[g][1]-c.y)+c.y,t[0]=p,t[1]=q;d.Im(k)!==m&&k.reverse();a.rings.push(k)}return a}if(void 0!==b.x)return a={x:e*(b.x-c.x)-f*(b.y-c.y)+c.x,y:f*(b.x-c.x)+e*(b.y-c.y)+c.y},
- void 0!==b.z&&(a.z=b.z),void 0!==b.m&&(a.m=b.m),a;if(void 0!==b.points){a={points:[]};b=b.points;for(g=0;g<b.length;g++)h=b[g].slice(0),h[0]=e*(b[g][0]-c.x)-f*(b[g][1]-c.y)+c.x,h[1]=f*(b[g][0]-c.x)+e*(b[g][1]-c.y)+c.y,a.points.push(h);return a}return null};d.yG=function(b,a){var c,e;if(void 0!==b.paths){c={paths:[]};for(var f=0;f<b.paths.length;f++){for(var h=b.paths[f],l=[],k=0;k<h.length;k++){var g=h[k].slice(0);l.push(g);e=a.x-h[k][0];g[0]=h[k][0]+2*e}c.paths.push(l)}return c}if(void 0!==b.rings){c=
- {rings:[]};for(f=0;f<b.rings.length;f++){for(var h=b.rings[f],t=d.Im(h),l=[],k=0;k<h.length;k++)g=h[k].slice(0),l.push(g),e=a.x-h[k][0],g[0]=h[k][0]+2*e;d.Im(l)!==t&&l.reverse();c.rings.push(l)}return c}if(void 0!==b.x)return e=a.x-b.x,c={x:b.x+2*e,y:b.y},void 0!==b.z&&(c.z=b.z),void 0!==b.m&&(c.m=b.m),c;if(void 0!==b.points){c={points:[]};f=b.points;for(k=0;k<f.length;k++)h=f[k].slice(0),e=a.x-h[0],h[0]+=2*e,c.points.push(h);return c}return void 0!==b.xmin?(c={o:b.xmin,A:b.ymin,v:b.xmax,B:b.ymax},
- void 0!==b.zmin&&(c.zmin=b.zmin,c.zmax=b.zmax),void 0!==b.mmin&&(c.mmin=b.mmin,c.mmax=b.mmax),e=a.x-b.xmin,c.xmax=b.xmin+2*e,e=a.x-b.xmax,c.xmin=b.xmax+2*e,c):null};d.zG=function(b,a){var c,e;if(void 0!==b.paths){c={paths:[]};for(var f=0;f<b.paths.length;f++){for(var h=b.paths[f],l=[],k=0;k<h.length;k++){var g=h[k].slice(0);l.push(g);e=a.y-h[k][1];g[1]=h[k][1]+2*e}c.paths.push(l)}return c}if(void 0!==b.rings){c={rings:[]};for(f=0;f<b.rings.length;f++){for(var h=b.rings[f],t=d.Im(h),l=[],k=0;k<h.length;k++)g=
- h[k].slice(0),l.push(g),e=a.y-h[k][1],g[1]=h[k][1]+2*e;d.Im(l)!==t&&l.reverse();c.rings.push(l)}return c}if(void 0!==b.x)return e=a.y-b.y,c={y:b.y+2*e,x:b.x},void 0!==b.z&&(c.z=b.z),void 0!==b.m&&(c.m=b.m),c;if(void 0!==b.points){c={points:[]};f=b.points;for(k=0;k<f.length;k++)h=f[k].slice(0),e=a.y-h[1],h[1]+=2*e,c.points.push(h);return c}return void 0!==b.xmin?(c={o:b.xmin,A:b.ymin,v:b.xmax,B:b.ymax},void 0!==b.zmin&&(c.zmin=b.zmin,c.zmax=b.zmax),void 0!==b.mmin&&(c.mmin=b.mmin,c.mmax=b.mmax),e=
- a.y-b.ymin,c.ymax=b.ymin+2*e,e=a.y-b.ymax,c.ymin=b.ymax+2*e,c):null};return d}();d.Wp=m})(n||(n={}));(function(d){var m=function(){function g(){}g.bh=function(b,a){null==a&&(a=d.ye.Ig());switch(b){case 33:return new d.Wa(a);case 322:return new d.Hb(a);case 197:return new d.ci(a);case 550:return new d.Ed(a);case 1607:return new d.Ua(a);case 1736:return new d.Ia(a);default:throw d.f.X("invalid argument.");}};return g}();d.tM=m})(n||(n={}));(function(d){var m=function(){function g(b,a){this.tf=d.ia.yd(b,
- -1);this.va=new d.Ku;this.bm=a}g.prototype.wX=function(b){this.va.ou(Math.min(this.tf.size,b));this.va.Wn(b)};g.prototype.addElement=function(b,a){if(void 0===a)return this.bP(b);a=d.J.truncate(a%this.tf.size);var c=this.tf.get(a);-1==c&&(c=this.va.mi(),this.tf.set(a,c));return this.va.addElement(c,b)};g.prototype.bP=function(b){var a=this.bm.Uz(b),a=d.J.truncate(a%this.tf.size),c=this.tf.get(a);-1==c&&(c=this.va.mi(),this.tf.set(a,c));return this.va.addElement(c,b)};g.prototype.kd=function(b,a){if(void 0===
- a)this.FR(b);else{a=d.J.truncate(a%this.tf.size);var c=this.tf.get(a);if(-1==c)throw d.f.F();for(var e=this.va.xc(c),f=-1;-1!=e;){var h=this.va.nb(e);this.va.ja(e)==b?(this.va.kd(c,f,e),-1==this.va.xc(c)&&(this.va.zh(c),this.tf.set(a,-1))):f=e;e=h}}};g.prototype.FR=function(b){var a=this.bm.Uz(b),a=d.J.truncate(a%this.tf.size),c=this.tf.get(a);if(-1==c)throw d.f.F();for(var e=this.va.xc(c),f=-1;-1!=e;){var h=this.va.nb(e);this.va.ja(e)==b?(this.va.kd(c,f,e),-1==this.va.xc(c)&&(this.va.zh(c),this.tf.set(a,
- -1))):f=e;e=h}};g.prototype.gT=function(b){b=d.J.truncate(b%this.tf.size);b=this.tf.get(b);return-1==b?-1:this.va.xc(b)};g.prototype.wT=function(b){return this.va.nb(b)};g.prototype.Ld=function(b){var a=this.bm.Uz(this.ja(b)),a=d.J.truncate(a%this.tf.size),c=this.tf.get(a);if(-1==c)throw d.f.F();for(var e=this.va.xc(c),f=-1;-1!=e;){if(e==b){this.va.kd(c,f,e);-1==this.va.xc(c)&&(this.va.zh(c),this.tf.set(a,-1));return}f=e;e=this.va.nb(e)}throw d.f.F();};g.prototype.ja=function(b){return this.va.ja(b)};
- g.prototype.clear=function(){this.tf=d.ia.yd(this.tf.size,-1);this.va.clear()};g.prototype.size=function(){return this.va.dH()};return g}();d.DM=m})(n||(n={}));(function(d){var m=function(){function g(){this.kj=new d.ad(3);this.va=new d.ad(6);this.rV=!1;this.Ge=-1}g.prototype.Kl=function(b){this.kj.kd(b)};g.prototype.Ax=function(){return this.kj.Pe()};g.prototype.Ov=function(b){this.va.kd(b)};g.prototype.EB=function(){return this.va.Pe()};g.prototype.tC=function(b,a){this.kj.P(b,1,a)};g.prototype.Px=
- function(b,a){this.kj.P(b,2,a)};g.prototype.$X=function(b,a){this.kj.P(b,3,a)};g.prototype.rC=function(b,a){this.va.P(b,4,a)};g.prototype.cY=function(b,a){this.va.P(b,3,a)};g.prototype.JK=function(b,a){this.va.P(b,2,a)};g.prototype.mi=function(b){var a=this.EB();this.va.P(a,3,this.Ge);this.va.P(a,4,0);this.va.P(a,5,b);-1!=this.Ge&&this.JK(this.Ge,a);return this.Ge=a};g.prototype.zh=function(b){this.PF(b);var a=this.va.S(b,2),c=this.va.S(b,3);-1!=a?this.cY(a,c):this.Ge=c;-1!=c&&this.JK(c,a);this.Ov(b);
- return c};g.prototype.ou=function(b){this.va.Qe(b)};g.prototype.ZG=function(b){return this.va.S(b,5)};g.prototype.ZX=function(b,a){this.va.P(b,5,a)};g.prototype.addElement=function(b,a){return this.nU(b,a)};g.prototype.nU=function(b,a){var c=this.Ax();this.Px(c,-1);-1==this.va.S(b,0)&&this.va.P(b,0,c);var e=this.va.S(b,1);this.tC(c,e);-1!=e&&this.Px(e,c);this.va.P(b,1,c);this.setData(c,a);this.rC(b,this.$s(b)+1);this.rV&&this.$X(c,b);return c};g.prototype.kd=function(b,a){var c=this.Ve(a),e=this.nb(a);
- -1!=c?this.Px(c,e):this.va.P(b,0,e);-1!=e?this.tC(e,c):this.va.P(b,1,c);this.Kl(a);this.rC(b,this.$s(b)-1);return e};g.prototype.Wn=function(b){this.kj.Qe(b)};g.prototype.getData=function(b){return this.kj.S(b,0)};g.prototype.setData=function(b,a){this.kj.P(b,0,a)};g.prototype.nb=function(b){return this.kj.S(b,2)};g.prototype.Ve=function(b){return this.kj.S(b,1)};g.prototype.xc=function(b){return this.va.S(b,0)};g.prototype.Fc=function(b){return this.va.S(b,1)};g.prototype.clear=function(){for(var b=
- this.Ge;-1!=b;)b=this.zh(b)};g.prototype.PF=function(b){for(var a=this.Fc(b);-1!=a;){var c=a,a=this.Ve(c);this.Kl(c)}this.va.P(b,0,-1);this.va.P(b,1,-1);this.rC(b,0)};g.prototype.u=function(){return 0==this.kj.size};g.prototype.dH=function(){return this.kj.size};g.prototype.$s=function(b){return this.va.S(b,4)};g.prototype.aA=function(b){return this.va.S(b,3)};return g}();d.Xp=m})(n||(n={}));(function(d){var m=function(){function g(b){void 0===b?(this.Qg=new d.ad(2),this.va=new d.ad(4),this.Ge=-1,
- this.Bw=!0):(this.Qg=new d.ad(2),this.va=new d.ad(b?4:2),this.Ge=-1,this.Bw=b)}g.prototype.Kl=function(b){this.Qg.kd(b)};g.prototype.Ax=function(){return this.Qg.Pe()};g.prototype.Ov=function(b){this.va.kd(b)};g.prototype.EB=function(){return this.va.Pe()};g.prototype.mi=function(){var b=this.EB();this.Bw&&(this.va.P(b,3,this.Ge),-1!=this.Ge&&this.va.P(this.Ge,2,b),this.Ge=b);return b};g.prototype.zh=function(b){for(var a=this.xc(b);-1!=a;){var c=a,a=this.nb(a);this.Kl(c)}this.Bw&&(a=this.va.S(b,
- 2),c=this.va.S(b,3),-1!=a?this.va.P(a,3,c):this.Ge=c,-1!=c&&this.va.P(c,2,a));this.Ov(b)};g.prototype.ou=function(b){this.va.Qe(b)};g.prototype.addElement=function(b,a){var c=this.va.S(b,1),e=this.Ax();-1!=c?this.Qg.P(c,1,e):this.va.P(b,0,e);this.va.P(b,1,e);this.Qg.P(e,0,a);return e};g.prototype.Wn=function(b){this.Qg.Qe(b)};g.prototype.kd=function(b,a,c){-1!=a?(this.Qg.P(a,1,this.Qg.S(c,1)),this.va.S(b,1)==c&&this.va.P(b,1,a)):(this.va.P(b,0,this.Qg.S(c,1)),this.va.S(b,1)==c&&this.va.P(b,1,-1));
- this.Kl(c)};g.prototype.lz=function(b,a){var c=this.va.S(b,1),e=this.va.S(a,0);-1!=e&&(-1!=c?this.Qg.P(c,1,e):this.va.P(b,0,e),this.va.P(b,1,this.va.S(a,1)));this.Bw&&(c=this.va.S(a,2),e=this.va.S(a,3),-1!=c?this.va.P(c,3,e):this.Ge=e,-1!=e&&this.va.P(e,2,c));this.Ov(a)};g.prototype.ja=function(b){return this.Qg.S(b,0)};g.prototype.jk=function(b,a){this.Qg.P(b,0,a)};g.prototype.nb=function(b){return this.Qg.S(b,1)};g.prototype.xc=function(b){return this.va.S(b,0)};g.prototype.yo=function(b){return this.ja(this.xc(b))};
- g.prototype.clear=function(){this.Qg.Vi(!0);this.va.Vi(!0);this.Ge=-1};g.prototype.u=function(b){return void 0===b?0==this.Qg.size:-1==this.va.S(b,0)};g.prototype.dH=function(){return this.Qg.size};g.prototype.aA=function(b){return this.va.S(b,3)};return g}();d.Ku=m})(n||(n={}));(function(d){var m=function(){function g(){}g.YD=function(b,a,c,e,f,h,l){var k=new d.b;k.L(b);b=new d.b;b.L(a);f.My(k);f.My(b);a=f.Vu(k);var r=f.Vu(b);0==r&&(r=f.YG());if(k.x!=b.x&&(k.y!=b.y||k.y!=f.A&&k.y!=f.B)||r>a!=h){a=
- f.yE(k);var r=f.yE(b),t,p=h?1:3;do a=a+p&3,t=f.Fx(a),0!=l&&(e=g.YD(k,t,c,e,f,h,l)),c[e++].ka(t.x,t.y),k=t;while((a&3)!=r);0!=l&&(e=g.YD(k,b,c,e,f,h,l))}else if(f=new d.b,f.ka(b.x-k.x,b.y-k.y),0!=l&&(l=d.J.truncate(f.QO()/l),0<l))for(f.scale(1/(l+1)),h=0;h<l;h++)k.add(f),c[e++].ka(k.x,k.y);return e};g.be=function(b,a,c){a=a.no();b=null!=b&&void 0!==b.re?b.re(0):0;c&&(a*=4,b*=1.1);return Math.max(b,a)};g.Bs=function(b){return 2*Math.sqrt(2)*b};g.qP=function(b){return Math.sqrt(2)*b};g.ah=function(b,
- a,c){var e=new d.h;a.s(e);return g.be(b,e,c)};g.EF=function(b,a,c){a=a.xf(1,0).no();b=null!=b?b.re(1):0;c&&(a*=4,b*=1.1);return Math.max(b,a)};g.$Z=function(b,a){var c=new d.h;b.ac(c);c.Nb(a);return c};g.Yv=function(b,a){var c=new d.h;b.ac(c);b=new d.h;a.ac(b);c.Nb(b);return c};g.i_=function(b,a){var c=b.lT(a),e=b.wa(a),f=b.Gc(a),h=b.Aa(c);c==e?(f=b.Aa(f-1),c=b.Aa(e+1)):c==f-1?(f=b.Aa(c-1),c=b.Aa(e)):(f=b.Aa(c-1),c=b.Aa(c+1));h=d.b.zp(f,h,c);return 0==h?0<b.Tm(a):-1==h};g.$P=function(b){var a=new d.h;
- b.ac(a);if(a.u())return null;var c=new d.gq(a,8),e=-1,f=new d.h,h=!1;do for(var l=0,k=b.aa();l<k;l++)if(b.ik(l,f),e=c.kw(l,f,e),-1==e){if(h)throw d.f.X("internal error");b.uo(a,!1);h=!0;c.reset(a,8);break}else h=!1;while(h);return c};g.zF=function(b){var a=new d.h;b.ac(a);for(var c=new d.gq(a,8),e=-1,f=b.Da(),h=new d.h,l=!1;f.Ya();)for(;f.Ca();){var k=f.ba(),g=f.Db();k.s(h);e=c.kw(g,h,e);if(-1==e){if(l)throw d.f.ya();b.uo(a,!1);l=!0;c.reset(a,8);f.yj();break}}return c};g.Lj=function(b,a){var c=new d.h;
- b.ac(c);for(var e=new d.gq(c,8),f=-1,h=new d.h,l=b.Da(),k=!1;l.Ya();)for(;l.Ca();){var g=l.ba(),t=l.Db();g.s(h);if(h.Yb(a)&&(f=e.kw(t,h,f),-1==f)){if(k)throw d.f.X("internal error.");b.uo(c,!1);k=!0;e.reset(c,8);l.yj();break}}return e};g.S_=function(b){var a=new d.h;b.ac(a);for(var c=new d.gq(a,8),e=new d.b,f=new d.h,h=!1,l=0;l<b.D();l++)if(b.w(l,e),f.I(e),-1==c.eh(l,f)){if(h)throw d.f.ya();b.uo(a,!1);h=!0;c.reset(a,8);l=-1}return c};g.AF=function(b,a){for(var c=new d.gq(a,8),e=new d.b,f=!1,h=new d.h,
- l=0;l<b.D();l++)if(b.w(l,e),a.contains(e)&&(h.I(e),-1==c.eh(l,h))){if(f)throw d.f.ya();f=!0;l=new d.h;b.uo(l,!1);c.reset(l,8);l=-1}return c};g.bT=function(b,a,c){var e=new d.h,f=new d.h;b.ac(e);a.ac(f);e.O(c,c);f.O(c,c);var h=new d.h;h.I(e);h.Ma(f);b=b.Da();a=a.Da();var l=new d.eD;l.xC(c);var k=!1;for(l.aL();b.Ya();)for(;b.Ca();)b.ba().s(e),e.Yb(h)&&(k=!0,c=new d.h,c.I(e),l.YE(b.Db(),c));l.sG();if(!k)return null;e=!1;for(l.$K();a.Ya();)for(;a.Ca();)a.ba().s(f),f.Yb(h)&&(e=!0,c=new d.h,c.I(f),l.UE(a.Db(),
- c));l.rG();return e?l:null};g.cT=function(b,a,c,e,f){var h=b.G(),l=a.G(),k=new d.h,g=new d.h;b.ac(k);a.ac(g);k.O(c,c);g.O(c,c);var t=new d.h;t.I(k);t.Ma(g);var p=new d.eD;p.xC(c);var q=!1;p.aL();var m=0;for(c=b.aa();m<c;m++)if(!e||1736!=h||b.qw(m))b.ik(m,k),k.Yb(t)&&(q=!0,p.YE(m,k));p.sG();if(!q)return null;b=!1;p.$K();e=0;for(c=a.aa();e<c;e++)if(!f||1736!=l||a.qw(e))a.ik(e,g),g.Yb(t)&&(b=!0,p.UE(e,g));p.rG();return b?p:null};g.n_=function(b,a){return 0<b.Kk(a)};g.R_=function(b,a){var c=new d.h;b.gX(a,
- c);var c=new d.gq(c,8),e=-1,f=new d.h;b=b.Da();b.dC(a);if(b.Ya())for(;b.Ca();){a=b.ba();var h=b.Db();a.ac(f);e=c.kw(h,f,e);if(-1==e)throw d.f.X("internal error");}return c};g.Ev=function(b,a,c){if(b!=a)for(var e=0;e<c;e++)null==b[e]?b[e]=d.b.El(a[e]):b[e].L(a[e])};g.nz=function(b,a,c,e){var d=0;for(e+=0;d<e;c++,d++)null==b[d]&&(b[d]=[0,0]),b[d][0]=a[c].x,b[d][1]=a[c].y};g.mz=function(b,a,c,e){var f=a,h=0;for(a=e+a;f<a;h++,f++)null==b[f]?b[f]=d.b.pa(c[h][0],c[h][1]):b[f].ka(c[h][0],c[h][1])};g.iR=
- function(b,a,c){if(b!=a)for(var e=0;e<c;e++)null==b[e]?b[e]=new d.Wa(a[e]):a[e].copyTo(b[e])};g.DP=function(b,a,c,e){var d=e.ca;e=e.ha;for(var h=0;h<a;h+=c){var l=b.read(h);l<d?b.write(h,d):l>e&&b.write(h,e)}};g.tP=function(b,a,c,e){var d=e.ca;e=e.ha;for(var h=0;h<a;h+=c){var l=b.read(h);l<d?b.write(h,d):l>e&&b.write(h,e)}};g.TK=function(b,a,c){if(b.hasAttribute(c)){var e=b.G();if(d.T.gh(e)){var f=d.na.si(c),e=d.na.Xa(c),h=b.D();if(1==f){b=b.Pa(c);g.DP(b,h*e,e,a);return}if(2==f){b=b.Pa(c);g.tP(b,
- h*e,e,a);return}throw d.f.X("snap_coordinate not implemented");}if(197==e)h=b.xf(c,0),e=!1,h.ca<a.ca&&(e=!0,h.ca=a.ca),h.ha>a.ha&&(e=!0,h.ha=a.ha),e&&b.setInterval(c,0,h);else if(33==e)h=b.Yc(c,0),e=!1,h<a.ca&&(e=!0,h=a.ca),h>a.ha&&(e=!0,h=a.ha),e&&b.setAttribute(c,0,h);else if(d.T.Oc(e))h=b.ct(c,0),e=!1,h<a.ca&&(e=!0,h=a.ca),h>a.ha&&(e=!0,h=a.ha),e&&b.Sx(c,0,h),h=b.Ns(c,0),h<a.ca&&(e=!0,h=a.ca),h>a.ha&&(e=!0,h=a.ha),e&&b.Kx(c,0,h);else throw d.f.X("snap_coordinate not implemented");}};g.jo=function(b,
- a,c,e,d){var f=0;null!=a&&(f=a.re(b),d&&!e||null==a||(f+=1.01*a.eA(b)));e&&(c*=4,f*=1.01);return Math.max(f,c)};g.T_=function(b,a,c,e){a=d.h.BO(a.Be(),a.nf(),c.Be(),c.nf());return g.jo(0,b,a,e,!1)};g.Yy=function(b,a,c){a=a.no();return g.jo(0,b,a,c,!1)};g.U_=function(b,a,c){a=a.no();return g.jo(1,b,a,c,!1)};g.fQ=function(b,a){var c=new d.h;a.s(c);return g.Yy(b,c,!0)};g.Zy=function(b,a){a=a.no();return g.jo(0,b,a,!1,!0)};g.V_=function(b,a,c){a=a.no();return g.jo(1,b,a,c,!0)};g.uv=function(b,a){var c=
- new d.h;a.s(c);return g.Zy(b,c)};g.MH=function(b,a,c,e){e*=e;var f=new d.b;f.zc(b,a);b=new d.b;b.zc(c,a);a=f.pk();c=b.pk();if(a<=e&&c<=e)return!0;var h=d.Ub.Xx(f.Ui(b));return h<=e*a||h<=e*c?0<=f.oi(b):!1};g.UK=function(b,a,c,e){for(var f=0;f<a;f++){var h=b[f].y,l=d.J.nk(h,c,e);l!=h&&(b[f].y=l)}};return g}();d.ma=m})(n||(n={}));(function(d){var m=function(){function a(a){this.ab=a}a.prototype.compare=function(a,b,e){a=a.ja(e);e=this.ab.Ok(b);var d=this.ab.Ok(a);return e<d?-1:e==d?c.Uq(b)&&c.sw(a)?
- -1:c.Uq(a)&&c.sw(b)?1:0:1};return a}(),g=function(){function a(a){this.ab=a}a.prototype.gs=function(a,c,b){this.ab.zY(b,a,c)};a.prototype.Qq=function(a){return this.ab.Ok(a)};return a}(),b;(function(a){a[a.initialize=0]="initialize";a[a.pIn=1]="pIn";a[a.pL=2]="pL";a[a.pR=3]="pR";a[a.pT=4]="pT";a[a.right=5]="right";a[a.left=6]="left";a[a.all=7]="all"})(b||(b={}));var a=function(){function a(){this.ab=null;this.pj=new d.Ac;this.oh=new d.ia(0);this.Og=[0,0]}a.prototype.Ni=function(a,c){this.pj.ca=a.ca-
- c;this.pj.ha=a.ha+c;this.oh.resize(0);this.Ee=0;this.Og[0]=0};a.prototype.cC=function(a,c,b){if(a>c)throw d.f.F();this.pj.ca=a-b;this.pj.ha=c+b;this.oh.resize(0);this.Ee=0;this.Og[0]=0};a.prototype.Xn=function(a,c){this.pj.ca=a-c;this.pj.ha=a+c;this.oh.resize(0);this.Ee=0;this.Og[0]=0};a.prototype.next=function(){if(!this.ab.$q)throw d.f.La();if(0>this.Ee)return-1;for(var a=!0;a;)switch(this.Og[this.Ee]){case 1:a=this.oW();break;case 2:a=this.pW();break;case 3:a=this.qW();break;case 4:a=this.rW();
- break;case 5:a=this.BX();break;case 6:a=this.kV();break;case 7:a=this.uP();break;case 0:a=this.pA();break;default:throw d.f.ya();}return-1!=this.jh?this.Gq()>>1:-1};a.BZ=function(c,b,e){var d=new a;d.ab=c;d.oh.yb(20);d.Ni(b,e);return d};a.CZ=function(c,b,e){var d=new a;d.ab=c;d.oh.yb(20);d.Xn(b,e);return d};a.pa=function(c){var b=new a;b.ab=c;b.oh.yb(20);b.Ee=-1;return b};a.prototype.pA=function(){this.jh=this.GI=this.lj=this.Sc=-1;if(null!=this.ab.Je&&0<this.ab.Je.size)return this.Og[0]=1,this.lj=
- this.ab.Mf,!0;this.Ee=-1;return!1};a.prototype.oW=function(){this.Sc=this.lj;if(-1==this.Sc)return this.jh=this.Ee=-1,!1;var a=this.ab.Hq(this.Sc);if(this.pj.ha<a)return a=this.ab.Nk(this.Sc),this.lj=this.ab.Qj(this.Sc),-1!=a&&(this.Ei=this.ab.Ol(a),this.Og[++this.Ee]=6),!0;if(a<this.pj.ca)return a=this.ab.Nk(this.Sc),this.lj=this.ab.Mk(this.Sc),-1!=a&&(this.Ei=this.ab.Ys(a),this.Og[++this.Ee]=5),!0;this.Og[this.Ee]=2;this.GI=this.Sc;a=this.ab.Nk(this.Sc);this.lj=this.ab.Qj(this.Sc);-1!=a&&(this.Ei=
- this.ab.Ol(a),this.Og[++this.Ee]=7);return!0};a.prototype.pW=function(){this.Sc=this.lj;if(-1==this.Sc)return this.Og[this.Ee]=3,this.lj=this.ab.Mk(this.GI),!0;if(this.ab.Hq(this.Sc)<this.pj.ca){var a=this.ab.Nk(this.Sc);this.lj=this.ab.Mk(this.Sc);-1!=a&&(this.Ei=this.ab.Ys(a),this.Og[++this.Ee]=5);return!0}a=this.ab.Nk(this.Sc);this.lj=this.ab.Qj(this.Sc);-1!=a&&(this.Ei=this.ab.Ol(a),this.Og[++this.Ee]=7);a=this.ab.Mk(this.Sc);-1!=a&&this.oh.add(a);return!0};a.prototype.qW=function(){this.Sc=this.lj;
- if(-1==this.Sc)return this.Og[this.Ee]=4,!0;if(this.pj.ha<this.ab.Hq(this.Sc)){var a=this.ab.Nk(this.Sc);this.lj=this.ab.Qj(this.Sc);-1!=a&&(this.Ei=this.ab.Ol(a),this.Og[++this.Ee]=6);return!0}a=this.ab.Nk(this.Sc);this.lj=this.ab.Mk(this.Sc);-1!=a&&(this.Ei=this.ab.Ol(a),this.Og[++this.Ee]=7);a=this.ab.Qj(this.Sc);-1!=a&&this.oh.add(a);return!0};a.prototype.rW=function(){if(0==this.oh.size)return this.jh=this.Ee=-1,!1;this.Sc=this.oh.get(this.oh.size-1);this.oh.resize(this.oh.size-1);var a=this.ab.Nk(this.Sc);
- -1!=a&&(this.Ei=this.ab.Ol(a),this.Og[++this.Ee]=7);-1!=this.ab.Qj(this.Sc)&&this.oh.add(this.ab.Qj(this.Sc));-1!=this.ab.Mk(this.Sc)&&this.oh.add(this.ab.Mk(this.Sc));return!0};a.prototype.kV=function(){this.jh=this.Ei;if(-1!=this.jh&&c.Uq(this.Gq())&&this.ab.Ok(this.Gq())<=this.pj.ha)return this.Ei=this.cH(),!1;this.Ee--;return!0};a.prototype.BX=function(){this.jh=this.Ei;if(-1!=this.jh&&c.sw(this.Gq())&&this.ab.Ok(this.Gq())>=this.pj.ca)return this.Ei=this.IT(),!1;this.Ee--;return!0};a.prototype.uP=
- function(){this.jh=this.Ei;if(-1!=this.jh&&c.Uq(this.Gq()))return this.Ei=this.cH(),!1;this.Ee--;return!0};a.prototype.cH=function(){return this.ab.pg?this.ab.vg.nb(this.jh):this.ab.sj.nb(this.jh)};a.prototype.IT=function(){return this.ab.pg?this.ab.vg.Ve(this.jh):this.ab.sj.Ve(this.jh)};a.prototype.Gq=function(){return this.ab.pg?this.ab.vg.ja(this.jh):this.ab.sj.getData(this.jh)};return a}();d.VZ=a;var c=function(){function c(a){this.pn=this.zi=this.vg=this.sj=this.yn=this.$j=this.Je=this.ak=null;
- this.pg=a;this.$q=this.Dw=!1}c.prototype.bs=function(){this.ql(!0)};c.prototype.ys=function(a,c){if(!this.Dw)throw d.f.La();this.ak.push(new d.Ac(a,c))};c.prototype.yq=function(){if(!this.Dw)throw d.f.X("invalid call");this.Dw=!1;this.$q=!0;this.pg||(this.pU(),this.Lw=this.ak.length)};c.prototype.eh=function(a){if(!this.pg||!this.$q)throw d.f.F("invalid call");if(-1==this.Mf){var c=this.ak.length;if(this.QA){var b=new d.ia(0);b.yb(2*c);this.UJ(b);this.zi.yb(2*c);this.zi.resize(0);this.TJ(b);this.yn.resize(c,
- -1);this.yn.Zh(-1,0,c);this.QA=!1}else this.yn.Zh(-1,0,c);this.Mf=this.Gv()}c=this.CH(a<<1,this.Mf);b=this.vg.addElement((a<<1)+1,this.gA(c));this.LK(c,b);this.yn.set(a,c);this.Lw++};c.prototype.remove=function(a){if(!this.pg||!this.$q)throw d.f.X("invalid call");var c=this.yn.get(a);if(-1==c)throw d.f.F("the interval does not exist in the interval tree");this.yn.set(a,-1);this.Lw--;var b=this.gA(c),e;e=this.vg.RT(b);this.vg.Ld(this.oT(c),b);this.vg.Ld(this.LT(c),b);a=this.vg.size(b);0==a&&(this.vg.HR(b),
- this.OK(e,-1));this.$j.kd(c);for(var b=this.eH(e),f=this.Qj(e),g=this.Mk(e),c=0;!(0<a||e==this.Mf||-1!=f&&-1!=g);)e==this.Qj(b)?-1!=f?(this.rl(b,f),this.lk(f,b),this.rl(e,-1)):-1!=g?(this.rl(b,g),this.lk(g,b),this.tl(e,-1)):this.rl(b,-1):-1!=f?(this.tl(b,f),this.lk(f,b),this.rl(e,-1)):-1!=g?(this.tl(b,g),this.lk(g,b),this.tl(e,-1)):this.tl(b,-1),this.lk(e,-1),c++,e=b,b=this.Nk(e),a=-1!=b?this.vg.size(b):0,f=this.Qj(e),g=this.Mk(e),b=this.eH(e)};c.prototype.reset=function(){if(!this.pg||!this.$q)throw d.f.F("invalid call");
- this.ql(!1)};c.prototype.size=function(){return this.Lw};c.prototype.mf=function(){return a.pa(this)};c.prototype.UJ=function(a){for(var c=this.ak.length,b=0;b<2*c;b++)a.add(b);this.AY(a,2*c)};c.prototype.TJ=function(a){for(var c=NaN,b=0;b<a.size;b++){var e=a.get(b),d=this.Ok(e);d!=c&&(this.zi.add(e),c=d)}};c.prototype.pU=function(){var a=this.ak.length,c=new d.ia(0);c.yb(2*a);this.UJ(c);this.zi.yb(2*a);this.zi.resize(0);this.TJ(c);this.$j.Qe(a);this.sj.Wn(2*a);var b=d.Uc.wh(a);b.Zh(-1,0,a);this.Mf=
- this.Gv();for(a=0;a<c.size;a++){var e=c.get(a),g=b.get(e>>1);-1!=g?this.LK(g,this.sj.addElement(this.gA(g),e)):(g=this.CH(e,this.Mf),b.set(e>>1,g))}};c.prototype.CH=function(a,c){var b=c,e=c,f,h=-1,g=0,q=this.zi.size-1,m=0,v=a>>1,n=NaN,w=NaN;f=!0;for(var y=this.vT(v),v=this.sT(v);f;){g<q?(m=g+d.J.truncate((q-g)/2),-1==this.Oz(b)&&this.uK(b,this.zi.get(m),this.zi.get(m+1))):-1==this.Oz(b)&&this.uK(b,this.zi.get(g),this.zi.get(g));var D=this.Hq(b);if(v<D)-1!=c&&(c==b?(e=b,n=D,c=this.Qj(b),-1!=c?w=this.Hq(c):
- w=NaN):w>D&&(D<n?this.rl(e,b):this.tl(e,b),this.tl(b,c),this.pg&&(this.lk(b,e),this.lk(c,b)),e=b,n=D,c=-1,w=NaN)),q=this.qT(b),-1==q&&(q=this.Gv(),this.XX(b,q)),b=q,q=m;else if(y>D)-1!=c&&(c==b?(e=b,n=D,c=this.Mk(b),-1!=c?w=this.Hq(c):w=NaN):w<D&&(D<n?this.rl(e,b):this.tl(e,b),this.rl(b,c),this.pg&&(this.lk(b,e),this.lk(c,b)),e=b,n=D,c=-1,w=NaN)),g=this.MT(b),-1==g&&(g=this.Gv(),this.hY(b,g)),b=g,g=m+1;else{f=this.Nk(b);-1==f&&(f=this.vR(b),this.OK(b,f));var z=this.cP(f,a),h=this.tR();this.kY(h,f);
- this.WX(h,z);b!=c&&(D<n?this.rl(e,b):this.tl(e,b),this.pg&&this.lk(b,e),-1!=c&&(w<D?this.rl(b,c):this.tl(b,c),this.pg&&this.lk(c,b)));f=!1}}return h};c.prototype.Gv=function(){return this.Je.Pe()};c.prototype.vR=function(a){return this.pg?this.vg.Js(a):this.sj.mi(a)};c.prototype.tR=function(){return this.$j.Pe()};c.prototype.ql=function(a){a?(this.Dw=this.QA=!0,this.$q=!1,null==this.zi?this.zi=d.Uc.wh(0):this.zi.resize(0),null==this.ak?this.ak=[]:this.ak.length=0):this.QA=!1;this.pg?null==this.yn?
- (this.yn=d.Uc.wh(0),this.vg=new d.tk,this.vg.Ep(new m(this))):this.vg.clear():null==this.sj?this.sj=new d.Xp:this.sj.clear();null==this.Je?(this.$j=new d.ad(3),this.Je=new d.ad(this.pg?8:7)):(this.$j.Vi(!1),this.Je.Vi(!1));this.Mf=-1;this.Lw=0};c.prototype.uK=function(a,c,b){this.RX(a,c);this.SX(a,b)};c.prototype.Hq=function(a){var c=this.Oz(a);if(-1==c)return NaN;c=this.Ok(c);a=this.Ok(this.XS(a));return c==a?c:.5*(c+a)};c.prototype.RX=function(a,c){this.Je.P(a,0,c)};c.prototype.SX=function(a,c){this.Je.P(a,
- 1,c)};c.prototype.XX=function(a,c){this.Je.P(a,3,c)};c.prototype.hY=function(a,c){this.Je.P(a,4,c)};c.prototype.OK=function(a,c){this.Je.P(a,2,c)};c.prototype.rl=function(a,c){this.Je.P(a,5,c)};c.prototype.tl=function(a,c){this.Je.P(a,6,c)};c.prototype.lk=function(a,c){this.Je.P(a,7,c)};c.prototype.kY=function(a,c){this.$j.P(a,0,c)};c.prototype.cP=function(a,c){return this.pg?this.vg.addElement(c,a):this.sj.addElement(a,c)};c.prototype.WX=function(a,c){this.$j.P(a,1,c)};c.prototype.LK=function(a,
- c){this.$j.P(a,2,c)};c.prototype.Ol=function(a){return this.pg?this.vg.xc(a):this.sj.xc(a)};c.prototype.Ys=function(a){return this.pg?this.vg.Fc(a):this.sj.Fc(a)};c.Uq=function(a){return 0==(a&1)};c.sw=function(a){return 1==(a&1)};c.prototype.Oz=function(a){return this.Je.S(a,0)};c.prototype.XS=function(a){return this.Je.S(a,1)};c.prototype.Nk=function(a){return this.Je.S(a,2)};c.prototype.qT=function(a){return this.Je.S(a,3)};c.prototype.MT=function(a){return this.Je.S(a,4)};c.prototype.Qj=function(a){return this.Je.S(a,
- 5)};c.prototype.Mk=function(a){return this.Je.S(a,6)};c.prototype.eH=function(a){return this.Je.S(a,7)};c.prototype.gA=function(a){return this.$j.S(a,0)};c.prototype.oT=function(a){return this.$j.S(a,1)};c.prototype.LT=function(a){return this.$j.S(a,2)};c.prototype.vT=function(a){return this.ak[a].ca};c.prototype.sT=function(a){return this.ak[a].ha};c.prototype.AY=function(a,c){null==this.pn&&(this.pn=new d.Gu);var b=new g(this);this.pn.sort(a,0,c,b)};c.prototype.zY=function(a,b,e){var d=this;a.Gd(b,
- e,function(a,b){var e=d.Ok(a),f=d.Ok(b);return e<f||e==f&&c.Uq(a)&&c.sw(b)?-1:1})};c.prototype.Ok=function(a){var b=this.ak[a>>1];return c.Uq(a)?b.ca:b.ha};return c}();d.ms=c})(n||(n={}));(function(d){var m=function(){function g(b){if(null==b)throw d.f.X("Invalid arguement");this.Ke=b;var a=b.dT();a.aU()?b.ie.TH()?this.Zo=d.di.PannableFold:this.Zo=d.di.Clip:this.Zo=d.di.DontClip;a.bU()?b.He.TH()?this.En=d.di.PannableFold:this.En=d.di.Clip:this.En=d.di.DontClip;this.qn=a.xv;this.xI=a.sz;b=this.Ke.DI;
- this.lI=b.dt(2147483648);this.Fw=b.dt(1073741824)}g.Xg=function(b,a,c){return a.wr.Xg(b,c)};g.fs=function(b,a,c,e){return b.wr.fs(a,c,e)};g.Cu=function(b,a,c,e){c=0>c?a.length:c;b=b.wr.fs(a,c,e);if(b==c)return b;for(var d=a=0;d<c;d++){var h=e[d];h.isNaN()||(a<d&&e[a].L(h),a++)}for(;a<c;a++)e[a].$c();return b};g.KC=function(b,a,c,e){return b.wr.KC(a,c,e)};g.hL=function(b,a,c,e){c=0>c?a.length:c;b=b.wr.KC(a,c,e);if(b==c)return b;for(var d=a=0;d<c;d++){var h=e[d];isNaN(h.x)||(a<d&&e[a].I(h.x,h.y,h.z),
- a++)}for(;a<c;a++)e[a].cv();return b};g.transform=function(b,a,c,e,f){if(b.Ho())return d.ma.iR(e,a,c),c;for(var h=[],l=0,k=0;k<c;){for(var r=Math.min(h.length,c-k),t=k,p=0;t<r;t++,p++)null==h[p]?h[p]=a[t].w():a[t].w(h[p]);var q;q=f?g.Cu(b,h,r,h):g.fs(b,h,r,h);for(p=t=0;t<q;t++,p++)null==e[k]&&(e[k]=new d.Wa(a[k])),e[k].rb(h[p]);k+=r;l+=q}return l};g.iL=function(b,a,c){if(0==c)return[];var e=new d.Ed;e.mP(a,2*c);a=this.Xg(e,b,null);b=a.Pa(0);a=2*a.D();c=d.J.gf(a);b.pl(0,a,c,0,!0);return c};g.prototype.fs=
- function(b,a,c){if(this.Ke.Ho())return b!=c&&d.ma.Ev(c,b,a),a;var e=this.Ke.ie,f=this.Ke.He,h=e.Fb(),l=f.Fb();if(0==h&&h===l){var k=e.Yi(),f=f.Yi(),f=k/f,k=new d.Hd;k.Op(f,f);k.YY(b,a,c);return a}k=d.J.pv(Math.min(a,64));if(3==h){var g;g=e.ij;e=g.Fk();h=e.Fb();c!=b&&d.ma.Ev(c,b,a);d.Ib.Dl(g,c,a,!0);g.Cu(d.Pm.forward,c,a);d.Ib.Cl(g,c,a,!0)}if(3==h||3===l)throw d.f.X("image: transform_in_place_");if(2==h)this.Zo==d.di.Clip?(c!=b&&d.ma.Ev(c,b,a),b=e.Lk(),d.Ib.IU(b,e,c,a)):(c!=b&&d.ma.Ev(c,b,a),e.Jc()&&
- (h=e.re(0),g=e.qe(),d.Ib.xY(c,a,g,h),d.Ib.AG(c,a,e,0))),d.Ib.vN(e,c,a,k);else for(h=e.re(0),g=e.qe(),e=0;e<a;e++)d.Ib.yY(b[e],g,h,c[e]);d.Ib.tN(this.Ke,c,a,k);b=0;(l=2==l)?b=f.pi():isNaN(this.qn)||(b=this.qn);l&&this.En!=d.di.Clip||d.Ib.AG(c,a,f.kc(),b);l&&(d.Ib.KH(c,a,f,this.En),d.Ib.uN(f,c,a,k));b=a;for(e=0;e<a;++e)c[e].isNaN()&&b--;return b};g.prototype.KC=function(b,a,c){a=0>a?b.length:a;if(this.Ke.Ho()){for(var e=0;e<a;++e)null==c[e]&&(c[e]=new d.qd),c[e].I(b[e].x,b[e].y,b[e].z);return a}var f=
- this.Ke.ie,e=this.Ke.He,h=f.Fb(),l=e.Fb();if(0==h&&h==l)return f=f.Yi(),e=e.Yi(),e=f/e,f=new d.dO,f.Op(e,e,e),f.transform(b,a,c),a;h=new d.Ed;h.Ud(1);h.Ud(3);h.lP(b);b=h.Pa(3);e=0;for(f=a;e<f;e++)b.write(e,e);h=this.Xg(h,null);for(e=0;e<a;++e)null==c[e]?c[e]=d.qd.pa(NaN,NaN,NaN):c[e].cv();if(null==h)return 0;b=h.Pa(3);var l=h.Pa(0),k=h.Pa(1);h.eX(c,a);e=0;for(f=h.D();e<f;e++)a=b.read(e),l.nX(2*e,c[a]),c[a].z=k.read(e);return h.D()};g.prototype.Xg=function(b,a){if(this.Ke.Ho()||b.u())return b;if(33==
- b.G())return this.OJ(b);var c=this.Ke.ie,e=this.Ke.He,f=c.Fb(),h=e.Fb();if(0==f&&f==h)return c=c.Yi(),e=e.Yi(),c/=e,e=new d.Hd,e.Op(c,c),c=d.T.ne(b),c.Xc(e),c;switch(b.G()){case 1607:case 1736:e=this.MJ(b,a);break;case 550:e=this.VW(b,a);break;case 197:e=this.UW(b,a);break;default:throw d.f.X("");}return e};g.prototype.OJ=function(b){var a=b.w(),c=[];c[0]=a;this.fs(c,1,c);b=new d.Wa(b);b.rb(c[0]);return b};g.prototype.MJ=function(b,a){if(b.jn())throw d.f.X("curves not supported");var c=b.G();if(1736==
- c)return this.WW(b,a);if(1607==c)return this.XW(b,a);throw d.f.X("projectMultiPath");};g.prototype.WW=function(b,a){var c=this.Ke.ie,e=this.Ke.He,f=c.Fb(),h=e.Fb(),l=d.J.pv(Math.min(b.D(),64));b=d.Ia.ne(b);if(3==f){var k=c.ij,c=k.Fk(),f=c.Fb();b=k.Dl(b,!0);this.qq(k,d.Pm.forward,b);b=k.Cl(b,!0)}k=null;3==h&&(k=e.ij,e=k.Fk(),h=e.Fb());var r=2==f,t=2==h,p=t?e.kc():e,q=!t&&!this.Fw,h=!1,m=b;if(r){if(m=d.Ib.LJ(m,c,this.Zo,a),m.u())return m}else{b=new d.h;m.ac(b);f=c.qe();if(b.A<f.A||b.B>f.B){var v=d.h.pa(b.o-
- 1,f.A,b.v+1,f.B),m=d.uh.rq(m,v,c,NaN,0,a);if(m.u())return m}b.N()>2*f.N()&&(m=d.Ib.Aq(m,-2*f.N(),2*f.N(),c,!0,0,!0,a))}b=this.xI;(f=!isNaN(b))&&(m=d.Km.local().V(m,b,a));var v=t?e.Sj():null,n=NaN;r&&(n=c.pi());var w=null!=e.Vs();if(this.lI)r&&(d.Ib.ps(c,n,m,l),f&&(r=c.Ch(),n=c.kc().Ch(),b*=n/r)),d.Ib.os(this.Ke,m,q,l),f&&(r=c.kc().Ch(),n=e.kc().Ch(),b*=n/r),c=m;else{var y=new d.Ua(m.description);y.TE(m);r&&(d.Ib.ps(c,n,y,l),f&&(r=c.Ch(),n=c.kc().Ch(),b*=n/r));d.Ib.os(this.Ke,y,q,l);f&&(r=c.kc().cn(),
- n=e.kc().cn(),b*=n/r);q=NaN;t?(v=e.Sj(),q=e.pi()):isNaN(this.qn)||(q=this.qn);r=g.se(c)|g.se(e);n=10*p.re(0);this.Fw&&(r=3,n=0);c=d.Ib.JS(m,c,y,p,q,a,r,n)}w&&(c=d.Ib.iF(c,e,a));t&&(h||(t=p.qe().N(),c.xf(0,0).N()>=t-p.re(0)&&(p=v.getNorthPoleLocation(),t=v.getSouthPoleLocation(),m=v.getNorthPoleGeometry(),v=v.getSouthPoleGeometry(),q=0,m==d.Bg.PE_POLE_POINT&&p!=d.Bg.PE_POLE_OUTSIDE_BOUNDARY&&(q=1),v==d.Bg.PE_POLE_POINT&&t!=d.Bg.PE_POLE_OUTSIDE_BOUNDARY&&(q|=2),0!==q&&(h=!0))),c=d.Ib.sA(c,e,this.En,
- a),f&&(c=d.Km.local().V(c,b,a)),d.Ib.uy(e,c,l));if(c.u())return c;h&&(c=d.Lm.local().V(c,e,!1,a));null!=k&&(c=k.Cl(c,!1),this.qq(k,d.Pm.reverse,c),c=k.Dl(c,!1));return c};g.se=function(b){if(2!=b.Fb())return 0;var a=0,c=b.Sj();b=c.getNorthPoleLocation();var e=c.getSouthPoleLocation(),f=c.getNorthPoleGeometry(),c=c.getSouthPoleGeometry();f==d.Bg.PE_POLE_POINT&&b!=d.Bg.PE_POLE_OUTSIDE_BOUNDARY&&(a=1);c==d.Bg.PE_POLE_POINT&&e!=d.Bg.PE_POLE_OUTSIDE_BOUNDARY&&(a|=2);return a};g.prototype.XW=function(b,
- a){var c=this.Ke.ie,e=this.Ke.He,f=c.Fb(),h=e.Fb(),l=d.J.pv(Math.min(b.D(),64));b=d.Ua.ne(b);if(3==f){var k=c.ij,c=k.Fk(),f=c.Fb();b=k.Dl(b,!0);this.qq(k,d.Pm.forward,b);b=k.Cl(b,!0)}k=null;3==h&&(k=e.ij,e=k.Fk(),h=e.Fb());var r=2==f,f=(h=2==h)?e.kc():e,t=!h&&!this.Fw;if(r){if(b=d.Ib.LJ(b,c,this.Zo,a),b.u())return b}else{var p=new d.h;b.ac(p);var q=c.qe();if(p.A<q.A||p.B>q.B)if(p=d.h.pa(p.o-1,q.A,p.v+1,q.B),b=d.uh.rq(b,p,c,NaN,0,a),b.u())return b}var m=NaN;r&&(m=c.pi());var p=null!=e.Vs(),q=this.xI,
- v=!isNaN(q);v&&(b=d.Km.local().V(b,q,a));if(this.lI)r&&d.Ib.ps(c,m,b,l),v&&(r=c.Ch(),m=c.kc().Ch(),q*=m/r),d.Ib.os(this.Ke,b,t,l),v&&(r=c.kc().Ch(),m=e.kc().Ch(),q*=m/r),c=b;else{var n=new d.Ua(b.description);n.TE(b);r&&(d.Ib.ps(c,m,n,l),v&&(r=c.Ch(),m=c.kc().Ch(),q*=m/r));d.Ib.os(this.Ke,n,t,l);v&&(r=c.kc().Ch(),m=e.kc().Ch(),q*=m/r);t=NaN;h?t=e.pi():isNaN(this.qn)||(t=this.qn);r=g.se(c)|g.se(e);m=10*f.re(0);this.Fw&&(r=3,m=0);c=d.Ib.KS(b,c,n,f,t,a,r,m)}p&&(c=d.Ib.iF(c,e,a));h&&(c=d.Ib.sA(c,e,this.En,
- a),v&&(c=d.Km.local().V(c,q,a)),d.Ib.uy(e,c,l));if(c.u())return c;null!=k&&(c=k.Cl(c,!1),this.qq(k,d.Pm.reverse,c),c=k.Dl(c,!1));return c};g.prototype.UW=function(b,a){var c=(b.fa()+b.N())/400;if(0!=c){var e=d.Km.local().V(b,c,a),e=this.MJ(e,a),c=b.Ja();e.Rn(c)}else c=new d.Wa(b.Bq()),e=this.OJ(c),c=b.Ja(),e.u()?c.Oa():(b.copyTo(c),e=e.w(),c.I(e.x,e.y,e.x,e.y));return c};g.prototype.VW=function(b,a){b=d.T.ne(b);var c=this.Ke.ie,e=this.Ke.He,f=c.Fb(),h=e.Fb(),l=d.J.pv(Math.min(b.D(),64));if(3==f){var k=
- c.ij,c=k.Fk(),f=c.Fb();b=k.Cl(b,!0);this.qq(k,d.Pm.forward,b);b=k.Dl(b,!0)}if(2==f){this.Zo==d.di.Clip?b=d.sk.local().V(b,c.Lk(),c,a):c.Jc()&&(f=new d.h,b.ac(f),c.qe().contains(f)||(this.Zo==d.di.PannableFold&&(b=d.Ib.Mj(b,c)),d.Ib.wu(b,c.qe(),c.re(0),!0),b=d.Ib.Ym(b,c,0,!0,0,a)));if(b.u())return b;d.Ib.ps(c,0,b,l)}else d.Ib.wu(b,c.qe(),c.re(0),!0);d.Ib.os(this.Ke,b,!1,l);c=0;f=!1;k=null;3==h&&(f=!0,k=e.ij,e=k.Fk(),h=e.Fb());(h=2==h)?c=e.pi():isNaN(this.qn)||(c=this.qn);h&&this.En!=d.di.Clip||(b=
- d.Ib.Ym(b,e.kc(),c,!1,0,a));if(h&&(b=d.Ib.sA(b,e,this.En,a),d.Ib.uy(e,b,l),b.u()))return b;f&&(b=k.Cl(b,!0),this.qq(k,d.Pm.reverse,b),b=k.Dl(b,!0));return b};g.prototype.qq=function(b,a,c){var e=c.D();if(0!=e){for(var f=c.Pa(0),h=d.J.gf(200,0),l=[],k=0;k<e;){var g=Math.min(100,e-k);f.pl(2*k,2*g,h,2,!0);for(var t=0;t<g;++t)l[t]=d.b.pa(h[2*k],h[2*k+1]);b.Cu(a,l,g);k+=g}c.Dc(1993)}};g.qk=function(b,a,c){if(null==b||null==a||!a.Jc())throw d.f.X("Invalid Arguement");if(b.u())return b;var e;e=b.G();197==
- e?(e=new d.Ia(b.description),e.jd(b,!1)):d.T.Oc(e)?(e=new d.Ua(b.description),e.dc(b,!0)):e=b;e=d.Ib.Mj(e,a);return e.u()?e:d.Ib.Ym(e,a,0,e!=b,0,c)};g.Nj=function(b,a,c,e){if(null==b||null==a||!a.Jc())throw d.f.X("Invalid Arguement");if(b.u())return b;var f=b.G();if(d.T.Ic(f)){b=d.Ib.Mj(b,a);f=new d.h;b.s(f);for(var h=d.ma.Yy(a,f,!1),l=a.Bh(),k=Math.floor((f.o-l.o)/l.N())*l.N()+l.o;k<f.v;)k>f.o+h&&k<f.v-h&&(b=d.Ib.oU(b,a,c,k)),k+=l.N()}else{if(197==f)return f=new d.Ia(b.description),f.jd(b,!1),g.Nj(f,
- a,c,e);if(d.T.Oc(f))return f=new d.Ua(b.description),f.dc(b,!0),g.Nj(f,a,c,e)}return g.qk(b,a,e)};g.Yp=function(b,a,c,e){var f=a.Fb(),h=new d.dE;a.hX(h);if(0==f)return g.Dj(b,h,a,c);e==d.Up.foldAndClipWithHorizon&&a.Jc()&&(b=g.qk(b,a,c));b=g.Dj(b,h,a,c);if(e==d.Up.clipToDomainOnly||b.u())return b;if(1==f)return e==d.Up.clipWithHorizon?(e=new d.h,b.ac(e),f=a.qe(),h=.01*f.N(),e.A=f.A,e.B=f.B,e.o-=h,e.v+=h,d.uh.rq(b,e,a,NaN,0,c)):b;if(2==f)return f=a.Lk(),e==d.Up.clipWithHorizon||e==d.Up.foldAndClipWithHorizon?
- (a=d.sk.local().V(b,f,a,c),a==f?d.T.ne(a):a):b;if(3==f)return b;throw d.f.X("missing implementation");};g.Dj=function(b,a,c,e){var f=a.VT(),h=b.hasAttribute(1),l=b.hasAttribute(2),k=new d.Ac;k.Oa();var g=new d.Ac;g.Oa();h&&(k=a.WT());l&&(g=a.rT());a=d.uh.rq(b,f,c,NaN,0,e);h&&(h=a.xf(1,0),k.contains(h)||(b==a&&(a=d.T.ne(a)),d.ma.TK(a,k,1)));l&&(h=a.xf(2,0),g.contains(h)||(b==a&&(a=d.T.ne(a)),d.ma.TK(a,g,2)));return a};return g}();d.ko=m})(n||(n={}));(function(d){var m=function(g){function b(a,c,b,
- f){g.call(this);void 0===a?this.description=d.ye.Ig():void 0===b?this.description=a:(this.description=d.ye.Ig(),this.vC(a,c),this.vm(b,f))}O(b,g);b.prototype.G=function(){return 322};b.prototype.Rb=function(){var a=this.ua-this.sa,c=this.ra-this.oa;return Math.sqrt(a*a+c*c)};b.prototype.fh=function(a){var c=this.ua-this.sa,b=this.ra-this.oa;return Math.sqrt(c*c+b*b)<=a};b.prototype.Go=function(){return!1};b.prototype.Eg=function(){var a=new d.b;a.zc(this.Cc(),this.ec());return a};b.eR=function(a,
- c){return new b(a.x,a.y,c.x,c.y)};b.prototype.Rn=function(a){a.Oa();a.Fg(this.description);var c=new d.h;this.s(c);a.Gp(c);for(var c=1,b=this.description.Ea;c<b;c++)for(var f=this.description.zd(c),h=d.na.Xa(f);c<h;c++){var l=this.xf(f,0);a.setInterval(f,0,l)}};b.prototype.s=function(a){a.I(this.ua,this.ra,this.sa,this.oa);a.normalize()};b.prototype.Cp=function(a){a.Oa();a.Nb(this.ua,this.ra,this.ae(0,1,0));a.Nb(this.sa,this.oa,this.ae(1,1,0))};b.prototype.Xc=function(a){if(a instanceof d.Hd){this.Bc();
- var c=new d.b;c.x=this.ua;c.y=this.ra;a.$h(c,c);this.ua=c.x;this.ra=c.y;c.x=this.sa;c.y=this.oa;a.$h(c,c);this.sa=c.x;this.oa=c.y}else this.Bc(),c=new d.qd,c.x=this.ua,c.y=this.ra,c.z=this.ae(0,1,0),c=a.Rp(c),this.ua=c.x,this.ra=c.y,this.oo(0,1,0,c.z),c.x=this.sa,c.y=this.oa,c.z=this.ae(1,1,0),c=a.Rp(c),this.sa=c.x,this.oa=c.y,this.oo(1,1,0,c.z)};b.prototype.Ja=function(){return new b(this.description)};b.prototype.By=function(a,c){return(this.sa-a-(this.ua-a))*(this.oa-c+(this.ra-c))*.5};b.prototype.by=
- function(a){return a*this.Rb()};b.prototype.aI=function(a){return a/this.Rb()};b.prototype.OG=function(a){return d.Ub.Wq(this.ua,this.sa,a)};b.prototype.WS=function(a){return d.Ub.Wq(this.ra,this.oa,a)};b.prototype.Hl=function(a,c){var b=new d.Cg;this.yh(a,c,b);return b.get()};b.prototype.yh=function(a,c,b){if(null==b)throw d.f.F();b.Is();b=b.get();b.Fg(this.description);var e=new d.b;this.gc(a,e);b.vC(e.x,e.y);this.gc(c,e);b.vm(e.x,e.y);for(var e=1,h=this.description.Ea;e<h;e++)for(var l=this.description.Id(e),
- k=d.na.Xa(l),g=0;g<k;g++){var t=this.Yc(a,l,g);b.Sx(l,g,t);t=this.Yc(c,l,g);b.Kx(l,g,t)}};b.prototype.Yc=function(a,c,b){if(0==c)return 0==b?this.gc(a).x:this.gc(a).y;switch(d.na.Vz(c)){case 0:return.5>a?this.ct(c,b):this.Ns(c,b);case 1:var e=this.ct(c,b);c=this.Ns(c,b);return d.Ub.Wq(e,c,a);case 2:throw d.f.X("not implemented");}throw d.f.ya();};b.prototype.oe=function(a,c){var b=this.sa-this.ua,d=this.oa-this.ra,h=b*b+d*d;if(0==h)return.5;b=((a.x-this.ua)*b+(a.y-this.ra)*d)/h;c||(0>b?b=0:1<b&&(b=
- 1));return b};b.prototype.Sq=function(a,c,b,d){if(a){a=this.oa-this.ra;if(0==a)return c==this.oa?-1:0;c=(c-this.ra)/a;if(0>c||1<c)return 0;null!=b&&(b[0]=this.OG(c))}else{a=this.sa-this.ua;if(0==a)return c==this.sa?-1:0;c=(c-this.ua)/a;if(0>c||1<c)return 0;null!=b&&(b[0]=this.WS(c))}null!=d&&(d[0]=c);return 1};b.prototype.pf=function(a,c){var b=this.oa-this.ra;if(0==b)return a==this.oa?c:NaN;b=(a-this.ra)/b;a=this.OG(b);1==b&&(a=this.sa);return a};b.prototype.$u=function(a,c,b){return 0<=this.lq(a.x,
- a.y,c,b)};b.prototype.Si=function(a,c,b){return 0<=this.lq(a,c,b,!0)};b.prototype.lt=function(a,c){return this.$u(a,c,!1)};b.prototype.AJ=function(){if(this.oa<this.ra||this.oa==this.ra&&this.sa<this.ua){var a=this.ua;this.ua=this.sa;this.sa=a;a=this.ra;this.ra=this.oa;this.oa=a;for(var a=0,c=this.description.Dr-2;a<c;a++){var b=this.la[a];this.la[a]=this.la[a+c];this.la[a+c]=b}}};b.prototype.dv=function(a,c){a=d.b.pa(a,c);a.sub(this.ec());c=new d.b;c.zc(this.Cc(),this.ec());var b=c.Ui(a);a=8.881784197001252E-16*
- (Math.abs(c.x*a.y)+Math.abs(c.y*a.x));return b>a?-1:b<-a?1:0};b.prototype.lq=function(a,c,b,f){var e=this.ua,l=this.ra,k=a-e,g=c-l,k=Math.sqrt(k*k+g*g);if(k<=Math.max(b,6.661338147750939E-16*k))return f&&0==k?NaN:0;k=a-this.sa;g=c-this.oa;k=Math.sqrt(k*k+g*g);if(k<=Math.max(b,6.661338147750939E-16*k))return f&&0==k?NaN:1;k=this.sa-this.ua;g=this.oa-this.ra;f=Math.sqrt(k*k+g*g);if(0<f){var t=1/f,k=k*t,g=g*t,p=a-e,q=c-l,m=p*k+q*g,v=1.7763568394002505E-15*(Math.abs(p*k)+Math.abs(q*g)),n=k,k=-g,g=n,v=
- Math.max(b,v);if(m<-v||m>f+v)return NaN;if(Math.abs(p*k+q*g)<=Math.max(b,1.7763568394002505E-15*(Math.abs(p*k)+Math.abs(q*g)))&&(k=d.J.nk(m*t,0,1),.5>=k?(g=this.ua+(this.sa-this.ua)*k,f=this.ra+(this.oa-this.ra)*k):(g=this.sa-(this.sa-this.ua)*(1-k),f=this.oa-(this.oa-this.ra)*(1-k)),d.b.wz(g,f,a,c)<=b)){if(.5>k){if(d.b.wz(g,f,e,l)<=b)return 0}else if(d.b.wz(g,f,this.sa,this.oa)<=b)return 1;return k}}return NaN};b.prototype.Eb=function(a){return null==a?!1:a==this?!0:a.constructor!==this.constructor?
- !1:this.LO(a)};b.prototype.HE=function(a,c,b){var e=b?this.ua:this.sa;b=b?this.ra:this.oa;var h=new d.b;h.x=a.sa-e;h.y=a.oa-b;return c.oi(h)>6.661338147750939E-16*c.xE(h)?(h.x=a.ua-e,h.y=a.ra-b,c.oi(h)<=6.661338147750939E-16*c.xE(h)):!0};b.prototype.GE=function(a){var c=new d.b;c.x=this.sa-this.ua;c.y=this.oa-this.ra;if(!this.HE(a,c,!1))return!1;c.Kr();return this.HE(a,c,!0)?!0:!1};b.We=function(a,c){var b=a.dv(c.ua,c.ra),d=a.dv(c.sa,c.oa);if(0>b&&0>d||0<b&&0<d)return!1;b=c.dv(a.ua,a.ra);d=c.dv(a.sa,
- a.oa);if(0>b&&0>d||0<b&&0<d)return!1;b=a.Rb();d=c.Rb();return b>d?a.GE(c):c.GE(a)};b.se=function(a,c,b){var e=d.b.pa(NaN,NaN),h=a.sa-a.ua,l=a.oa-a.ra,k=c.sa-c.ua,g=c.oa-c.ra,t=k*l-h*g;if(0==t)return e;var p=8.881784197001252E-16*(Math.abs(k*l)+Math.abs(h*g)),q=c.ua-a.ua,m=c.ra-a.ra,v=k*m-q*g,n=v/t,w=Math.abs(t),k=(8.881784197001252E-16*(Math.abs(k*m)+Math.abs(q*g))*w+p*Math.abs(v))/(t*t)+2.220446049250313E-16*Math.abs(n);if(n<-k||n>1+k)return e;g=h*m-q*l;k=g/t;h=(8.881784197001252E-16*(Math.abs(h*
- m)+Math.abs(q*l))*w+p*Math.abs(g))/(t*t)+2.220446049250313E-16*Math.abs(k);if(k<-h||k>1+h)return e;n=d.J.nk(n,0,1);h=d.J.nk(k,0,1);l=a.gc(n);t=c.gc(h);p=new d.b;p.zc(l,t);if(p.length()>b&&(p.add(l,t),p.scale(.5),n=a.oe(p,!1),h=c.oe(p,!1),a=a.gc(n),c=c.gc(h),a.sub(c),a.length()>b))return e;e.ka(n,h);return e};b.PO=function(a,c,e,d){var f=0;if(a.ua==c.ua&&a.ra==c.ra||a.ua==c.sa&&a.ra==c.oa)if(f++,!d)return 1;if(a.sa==c.ua&&a.oa==c.ra||a.sa==c.sa&&a.oa==c.oa){f++;if(2==f)return 2;if(!d)return 1}return c.Si(a.ua,
- a.ra,e)||c.Si(a.sa,a.oa,e)||a.Si(c.ua,c.ra,e)||a.Si(c.sa,c.oa,e)?1:d&&0!=f?0:0==b.We(a,c)?0:1};b.Fy=function(a,c,e,f,h,l){var k=0,g=a.lq(c.ua,c.ra,l,!1),t=a.lq(c.sa,c.oa,l,!1),p=c.lq(a.ua,a.ra,l,!1),q=c.lq(a.sa,a.oa,l,!1);isNaN(g)||(null!=f&&(f[k]=g),null!=h&&(h[k]=0),null!=e&&(e[k]=d.b.pa(c.ua,c.ra)),k++);isNaN(t)||(null!=f&&(f[k]=t),null!=h&&(h[k]=1),null!=e&&(e[k]=d.b.pa(c.sa,c.oa)),k++);2==k||isNaN(p)||0==g&&0==p||0==t&&1==p||(null!=f&&(f[k]=0),null!=h&&(h[k]=p),null!=e&&(e[k]=d.b.pa(a.ua,a.ra)),
- k++);2==k||isNaN(q)||1==g&&0==q||1==t&&1==q||(null!=f&&(f[k]=1),null!=h&&(h[k]=q),null!=e&&(e[k]=d.b.pa(c.sa,c.oa)),k++);if(0<k)return 2==k&&null!=f&&f[0]>f[1]&&(a=f[0],f[0]=f[1],f[1]=a,null!=h&&(f=h[0],h[0]=h[1],h[1]=f),null!=e&&(h=d.b.pa(e[0].x,e[0].y),e[0]=e[1],e[1]=h)),k;k=b.se(a,c,l);if(isNaN(k.x))return 0;null!=e&&(e[0]=a.gc(k.x));null!=f&&(f[0]=k.x);null!=h&&(h[0]=k.y);return 1};b.prototype.pH=function(){return 0};b.prototype.iq=function(){};b.prototype.toString=function(){return"Line: ["+
- this.ua.toString()+", "+this.ra.toString()+", "+this.sa.toString()+", "+this.oa.toString()+"]"};return b}(d.bE);d.Hb=m})(n||(n={}));(function(d){var m=function(){function d(){this.am=[];this.Ba=-1}d.prototype.Ha=function(){return this.Ba};d.prototype.next=function(){if(null!=this.am&&0!=this.am.length){this.Ba++;var b=this.am[0];1>=this.am.length?this.am=[]:this.am=this.am.slice(1);return b}return this.am=null};d.prototype.RY=function(b){this.am.push(b)};d.prototype.Re=function(){return!0};return d}();
- d.PM=m})(n||(n={}));(function(d){(function(d){d[d.enumFillRuleOddEven=0]="enumFillRuleOddEven";d[d.enumFillRuleWinding=1]="enumFillRuleWinding"})(d.HN||(d.HN={}));var m=function(g){function b(a,c){g.call(this);this.$f=!1;this.tr=null;this.fr=this.gr=0;this.bj=null;this.hh=!1;this.Xd=this.tj=this.cf=this.jb=this.kb=null;this.lr=this.Ta=this.hr=0;if(void 0===c)this.$f=a,this.hh=!1,this.qa=this.fr=this.gr=this.hr=0,this.description=d.ye.Ig();else{if(null==c)throw d.f.F();this.$f=a;this.hh=!1;this.qa=
- this.fr=this.gr=this.hr=0;this.description=c}this.bj=null;this.Ta=0}O(b,g);b.prototype.jn=function(){return 0<this.hr};b.prototype.Ey=function(){this.Bc();null==this.tr?this.tr=new d.Wa(this.description):this.tr.Fg(this.description)};b.prototype.Zx=function(a,c){var b=new d.b;b.x=a;b.y=c;this.yu(b)};b.prototype.yu=function(a){this.Ey();this.tr.rb(a);this.hh=!0};b.prototype.Rf=function(a){if(a.u())throw d.f.F();this.om(a.description);this.Ey();a.copyTo(this.tr);this.hh=!0};b.prototype.Ay=function(){var a=
- 1;this.hh&&(this.Ey(),null==this.kb?(this.kb=d.Uc.wh(2),this.kb.write(0,0),this.jb=d.Uc.vq(2,0)):(this.kb.resize(this.kb.size+1,0),this.jb.resize(this.jb.size+1,0)),this.$f&&this.jb.write(this.jb.size-2,1),a++);var c=this.qa;this.kb.write(this.kb.size-1,this.qa+a);this.zl(c+a);this.jb.write(this.kb.size-1,0);this.hh&&(this.uu(c,this.tr),this.hh=!1)};b.prototype.Wj=function(a,c){this.Ay();this.rb(this.qa-1,a,c)};b.prototype.aj=function(a){this.Ay();this.rb(this.qa-1,a)};b.prototype.lineTo=function(a){this.Ay();
- this.uu(this.qa-1,a)};b.prototype.mW=function(a){this.Bc();if(this.$f)throw d.f.ya();var c=this.aa();if(a>c)throw d.f.ya();if(this.Qb(a)){if(null==this.jb)throw d.f.ya();var b=this.qa,f=this.wa(a),h=this.Gc(a);this.zl(this.qa+1);this.tc();for(var l=0,k=this.description.Ea;l<k;l++)if(null!=this.xa[l]){var g=d.na.Xa(this.description.Id(l));this.xa[l].Rk(g*h,this.xa[l],g*f,g,!0,1,g*b)}for(;c>a;c--)b=this.kb.read(c),this.kb.write(c,b+1);this.jb.ez(a,1)}};b.prototype.sq=function(){var a;this.Bu();void 0===
- a&&(this.hh=!1,a=this.aa()-1);var c=this.jb.read(a);this.jb.write(a,c|1);null!=this.cf&&(a=this.Gc(a)-1,this.cf.write(a,1),this.tj.write(a,-1))};b.Dj=function(a){return b.se[a]};b.prototype.Qb=function(a){return 0!=(this.jb.read(a)&1)};b.prototype.Eo=function(a){if(this.Qb(a))return!0;var c=this.wa(a);a=this.Gc(a)-1;if(c>a)return!1;c=this.Aa(c);a=this.Aa(a);return c.ub(a)};b.prototype.et=function(a){return 0!=(this.jb.read(a)&2)};b.prototype.dc=function(a,c){this.om(a.description);if(322==a.G()){var b=
- new d.Wa;if(c||this.u())a.Dp(b),this.Rf(b);a.Bp(b);this.lineTo(b)}else throw d.f.ya();};b.prototype.oq=function(a){var c=0==this.qa;this.Zx(a.o,a.A);this.Wj(a.o,a.B);this.Wj(a.v,a.B);this.Wj(a.v,a.A);this.sq();this.hh=!1;c&&this.lg(256,!1)};b.prototype.jd=function(a,c){if(!a.u()){for(var b=0==this.qa,f=new d.Wa(this.description),h=0;4>h;h++)a.ig(c?4-h-1:h,f),0==h?this.Rf(f):this.lineTo(f);this.sq();this.hh=!1;b&&!c&&this.lg(256,!1)}};b.prototype.add=function(a,c){for(var b=0;b<a.aa();b++)this.Ti(a,
- b,!c)};b.prototype.Ti=function(a,c,b){this.Yf(-1,a,c,b)};b.prototype.Bl=function(a,c){this.qA(a,c)};b.prototype.As=function(a,c,b,f,h){h||0!=this.aa()||(h=!0);0>c&&(c=a.aa()-1);if(c>=a.aa()||0>b||0>f||f>a.dw(c))throw d.f.X("index out of bounds");if(0!=f){var e=a.Qb(c)&&b+f==a.dw(c);if(!e||1!=f){this.hh=!1;this.om(a.description);b=a.wa(c)+b+1;h&&(f++,b--);e&&f--;e=this.qa;this.zl(this.qa+f);this.tc();if(h){if(0==f)return;this.kb.add(this.qa);h=a.jb.read(c);h&=-5;this.$f&&(h|=1);this.jb.write(this.jb.size-
- 1,h);this.jb.add(0)}else this.kb.write(this.jb.size-1,this.qa);h=0;for(var k=this.description.Ea;h<k;h++){var g=this.description.zd(h),t=d.na.Xa(g),p=a.description.mg(g);0>p||null==a.xa[p]?this.xa[h].Qk(t*e,d.na.pe(g),f*t,t*e):this.xa[h].Rk(t*e,a.xa[p],t*b,f*t,!0,t,t*e)}if(this.jn())throw d.f.ya();if(a.et(c))throw d.f.ya();this.Dc(1993)}}};b.prototype.dK=function(){for(var a=0,c=this.aa();a<c;a++)this.AX(a)};b.prototype.AX=function(a){this.tc();if(a>=this.aa())throw d.f.F();var c=this.wa(a),b=this.Ka(a);
- a=this.Qb(a)?1:0;for(var f=0,h=this.description.Ea;f<h;f++)if(null!=this.xa[f]){var l=d.na.Xa(this.description.Id(f));this.xa[f].Zd(l*(c+a),l*(b-a),l)}this.Dc(1993)};b.prototype.Qr=function(a){this.tc();var c=this.aa();0>a&&(a=c-1);if(a>=c)throw d.f.F();for(var b=this.wa(a),f=this.Ka(a),h=0,l=this.description.Ea;h<l;h++)if(null!=this.xa[h]){var k=d.na.Xa(this.description.Id(h));this.xa[h].Ek(k*b,k*f,k*this.qa)}for(b=a+1;b<=c;b++)h=this.kb.read(b),this.kb.write(b-1,h-f);if(null==this.jb)for(b=a+1;b<=
- c;b++)a=this.jb.read(b),this.jb.write(b-1,a);this.kb.resize(c);this.jb.resize(c);this.qa-=f;this.lh-=f;this.Dc(1993)};b.prototype.Yf=function(a,c,b,f){if(c==this)throw d.f.F();if(b>=c.aa())throw d.f.F();var e=this.aa();if(a>e)throw d.f.F();0>a&&(a=e);0>b&&(b=c.aa()-1);this.hh=!1;this.om(c.description);c.tc();var l=c.wa(b),k=c.Ka(b),g=this.qa,t=c.Qb(b)&&!f?1:0;this.zl(this.qa+k);this.tc();for(var p=a<e?this.wa(a):g,q=0,m=this.description.Ea;q<m;q++){var v=this.description.Id(q),n=c.description.mg(v),
- w=d.na.Xa(v);0<=n&&null!=c.xa[n]?(0!=t&&this.xa[q].Rk(p*w,c.xa[n],w*l,w,!0,w,w*g),this.xa[q].Rk((p+t)*w,c.xa[n],w*(l+t),w*(k-t),f,w,w*(g+t))):this.xa[q].Qk(p*w,d.na.pe(v),w*k,w*g)}this.kb.add(g+k);for(f=e;f>=a+1;f--)l=this.kb.read(f-1),this.kb.write(f,l+k);c.et(b);this.jb.add(0);for(f=e-1;f>=a+1;f--)e=this.jb.read(f),e&=-5,this.jb.write(f+1,e);e=c.BT().read(b);e&=-5;this.$f&&(e|=1);this.jb.write(a,e)};b.prototype.qA=function(a,c){var b=-1,f=this.aa();if(b>f)throw d.f.F();0>b&&(b=f);this.hh=!1;var h=
- this.qa;if(null!=a){this.zl(this.qa+c);this.tc();for(var l=b<f?this.wa(b):h,k=0,g=this.description.Ea;k<g;k++){var t=this.description.Id(k);if(0==t){this.xa[k].Em(2*(l+c),2*(h-b),this.xa[k],2*l,!0,2);for(var t=this.Pa(t),p=l,q=0;q<c;q++,p++){var m=0+q;t.write(2*p,a[m].x);t.write(2*p+1,a[m].y)}}else p=d.na.Xa(t),this.xa[k].Qk(l*p,d.na.pe(t),p*c,p*h)}}else this.tc();this.kb.add(this.qa);for(h=f;h>=b+1;h--)l=this.kb.read(h-1),this.kb.write(h,l+c);this.jb.add(0);for(h=f-1;h>=b+1;h--)f=this.jb.read(h),
- f&=-5,this.jb.write(h+1,f);this.$f&&this.jb.write(b,1)};b.prototype.DH=function(a,c,b){var e=-1;0>a&&(a=this.aa());if(a>this.aa()||e>this.Ka(a)||b>c.length)throw d.f.X("index out of bounds");if(0!=b){a==this.aa()&&(this.kb.add(this.qa),this.$f?this.jb.add(1):this.jb.add(0));0>e&&(e=this.Ka(a));this.tc();var h=this.qa;this.zl(this.qa+b);this.tc();for(var l=0,k=this.description.Ea;l<k;l++){var g=this.description.Id(l),t=d.na.Xa(g);this.xa[l].Em(t*(this.wa(a)+e+b),(h-this.wa(a)-e)*t,this.xa[l],t*(this.wa(a)+
- e),!0,t);0==l?this.xa[l].js(t*(this.wa(a)+e),b,c,0,!0):this.xa[l].Zh(d.na.pe(g),(this.wa(a)+e)*t,b*t)}this.jn()&&(this.cf.Em(this.wa(a)+e+b,h-this.wa(a)-e,this.cf,this.wa(a)+e,!0,1),this.tj.Em(this.wa(a)+e+b,h-this.wa(a)-e,this.tj,this.wa(a)+e,!0,1),this.cf.Zh(1,this.wa(a)+e,b),this.tj.Zh(-1,this.wa(a)+e,b));a+=1;for(c=this.aa();a<=c;a++)this.kb.write(a,this.kb.read(a)+b)}};b.prototype.Zf=function(a,c,b){var e=this.aa();0>a&&(a=this.aa());if(a>=e||c>this.Ka(a))throw d.f.X("index out of bounds");a==
- this.aa()&&(this.kb.add(this.qa),this.$f?this.jb.add(1):this.jb.add(0));0>c&&(c=this.Ka(a));var h=this.qa;this.zl(this.qa+1);this.tc();var l=this.wa(a);this.xa[0].eh(2*(l+c),b,2*h);b=1;for(var k=this.description.Ea;b<k;b++){var g=this.description.Id(b),t=d.na.Xa(g);this.xa[b].Qk(t*(l+c),d.na.pe(g),t,t*h)}for(a+=1;a<=e;a++)this.kb.write(a,this.kb.read(a)+1)};b.prototype.bC=function(a,c){var b=this.aa();0>a&&(a=b-1);if(a>=b||c>=this.Ka(a))throw d.f.X("index out of bounds");this.tc();var f=this.wa(a);
- 0>c&&(c=this.Ka(a)-1);f+=c;c=0;for(var h=this.description.Ea;c<h;c++)if(null!=this.xa[c]){var l=d.na.Xa(this.description.Id(c));this.xa[c].Ek(l*f,l,l*this.qa)}for(;b>=a+1;b--)f=this.kb.read(b),this.kb.write(b,f-1);this.qa--;this.lh--;this.Dc(1993)};b.prototype.DF=function(a,c,b,f){a=this.wa(a)+c;b=this.wa(b)+f;if(b<a||0>a||b>this.D()-1)throw d.f.F();f=this.Da();c=0;f.Tb(a);do{for(;f.Ca();){a=f.ba();if(f.Db()==b)break;a=a.Rb();c+=a}if(f.Db()==b)break}while(f.Ya());return c};b.prototype.eQ=function(a,
- c,b){c=this.wa(a)+c;b=this.wa(a)+b;if(0>c||b>this.D()-1)throw d.f.F();var e=this.Da();if(c>b){if(!this.Qb(a))throw d.f.F("cannot iterate across an open path");e.iC()}var h=a=0;e.Tb(c);do h+=a,a=e.ba().Rb();while(e.Db()!=b);return h};b.prototype.Gg=function(){return d.Pi.Sm(this,null)};b.prototype.EU=function(a,c,b,f){for(var e=a;e<b-1;e++)if(this.Qb(e))throw d.f.F("cannot interpolate across closed paths");e=this.description.Ea;if(1!=e){var l=this.DF(a,c,b,f);if(0!=l)for(var k=1;k<e;k++){var g=this.description.zd(k);
- if(2!=d.na.Vz(g))for(var t=d.na.Xa(g),p=0;p<t;p++)this.GU(g,a,c,b,f,l,p)}}};b.prototype.DU=function(a,c,b){var e=this.description.Ea;if(1!=e){var h=this.eQ(a,c,b);if(0!=h)for(var l=1;l<e;l++){var k=this.description.zd(l);if(2!=d.na.Vz(k))for(var g=d.na.Xa(k),t=0;t<g;t++)this.FU(k,a,c,b,h,t)}}};b.prototype.GU=function(a,c,b,f,h,l,k){var e=this.Da();c=this.wa(c)+b;f=this.wa(f)+h;h=this.Yc(a,c,k);b=this.Yc(a,f,k);var g=h,p=0;e.Tb(c);do if(e.Ca()){e.ba();if(e.Db()==f)break;this.setAttribute(a,e.Db(),
- k,g);e.Li();do{c=e.ba();if(e.Ik()==f)return;c=c.Rb();p+=c;g=d.Ub.Wq(h,b,p/l);e.Fo()||this.setAttribute(a,e.Ik(),k,g)}while(e.Ca())}while(e.Ya())};b.prototype.FU=function(a,c,b,f,h,l){var e=this.Da(),g=this.wa(c)+b;c=this.wa(c)+f;if(c!=g){f=this.Yc(a,g,l);b=this.Yc(a,c,l);var t=0;e.Tb(g);e.iC();g=f;do{var p=e.ba();this.setAttribute(a,e.Db(),l,g);g=p.Rb();t+=g;g=d.Ub.Wq(f,b,t/h)}while(e.Ik()!=c)}};b.prototype.Oa=function(){this.hr=0;this.hh=!1;this.Xd=this.cf=this.tj=this.jb=this.kb=null;this.LE()};
- b.prototype.Xc=function(a){a instanceof d.Hd?this.jF(a,-1):this.xP(a)};b.prototype.jF=function(a,c){if(!this.u()&&!a.Ho()){this.tc();var b=this.xa[0],f=new d.b,h=new d.b,l,g,r;for(0>c?(l=this.jn(),g=0,r=this.qa):(l=this.et(c),g=this.wa(c),r=this.Gc(c));g<r;g++){f.x=b.read(2*g);f.y=b.read(2*g+1);if(l&&(c=this.tj.read(g),0<=c))switch(this.cf.read(g)&7){case 2:h.x=this.Xd.read(c);h.y=this.Xd.read(c+1);a.$h(h,h);this.Xd.write(c,h.x);this.Xd.write(c+1,h.y);h.x=this.Xd.read(c+3);h.y=this.Xd.read(c+4);a.$h(h,
- h);this.Xd.write(c+3,h.x);this.Xd.write(c+4,h.y);break;case 4:throw d.f.ya();}a.$h(f,f);b.write(2*g,f.x);b.write(2*g+1,f.y)}this.Dc(1993)}};b.prototype.xP=function(a){if(!this.u()){this.Ud(1);this.tc();for(var c=this.xa[0],b=this.xa[1],f=new d.qd,h=new d.qd,l=this.jn(),g=0;g<this.qa;g++){f.x=c.read(2*g);f.y=c.read(2*g+1);f.z=b.read(g);if(l){var r=this.tj.read(g);if(0<=r)switch(this.cf.read(g)&7){case 2:h.x=this.Xd.read(r);h.y=this.Xd.read(r+1);h.z=this.Xd.read(r+2);h=a.Rp(h);this.Xd.write(r,h.x);
- this.Xd.write(r+1,h.y);this.Xd.write(r+1,h.z);h.x=this.Xd.read(r+3);h.y=this.Xd.read(r+4);h.z=this.Xd.read(r+5);h=a.Rp(h);this.Xd.write(r+3,h.x);this.Xd.write(r+4,h.y);this.Xd.write(r+5,h.z);break;case 4:throw d.f.ya();}}f=a.Rp(f);c.write(2*g,f.x);c.write(2*g+1,f.y);b.write(g,f.z)}this.Dc(1993)}};b.prototype.Oy=function(){null==this.kb&&(this.kb=d.Uc.wh(1,0),this.jb=d.Uc.vq(1,0));null!=this.cf&&(this.cf.resize(this.lh,1),this.tj.resize(this.lh,-1))};b.prototype.iq=function(a){a.hh=!1;a.hr=this.hr;
- a.lr=this.lr;null!=this.kb?a.kb=d.ia.Ak(this.kb):a.kb=null;null!=this.jb?a.jb=d.Gm.Ak(this.jb):a.jb=null;null!=this.tj?a.tj=d.ia.Ak(this.tj):a.tj=null;null!=this.cf?a.cf=d.Gm.Ak(this.cf):a.cf=null;null!=this.Xd?a.Xd=d.Sd.Ak(this.Xd):a.Xd=null;a.gr=this.gr;a.fr=this.fr;this.xk(1024)?a.bj=null:a.bj=this.bj};b.prototype.Rb=function(){if(!this.xk(512))return this.gr;for(var a=this.Da(),c=new d.qy(0);a.Ya();)for(;a.Ca();)c.add(a.ba().Rb());this.gr=c.fn();this.lg(512,!1);return c.fn()};b.prototype.Eb=function(a){if(a==
- this)return!0;if(!(a instanceof b&&g.prototype.Eb.call(this,a)))return!1;var c=this.aa();return c!=a.aa()||null!=this.kb&&!this.kb.Eb(a.kb,0,c+1)||this.lr!=a.lr||null!=this.jb&&!this.jb.Eb(a.jb,0,c)?!1:g.prototype.Eb.call(this,a)};b.prototype.Da=function(){return new d.XN(this)};b.prototype.Ny=function(a){g.prototype.Ny.call(this,a);if(this.jn())for(a=this.Da();a.Ya();)for(;a.Ca();)break};b.prototype.uo=function(a,c){g.prototype.uo.call(this,a,c);if(this.jn())for(a=this.Da();a.Ya();)for(;a.Ca();)break};
- b.prototype.Hy=function(){null==this.kb||0==this.kb.size?this.qa=0:this.qa=this.kb.read(this.kb.size-1)};b.prototype.hf=function(){if(!this.$f)return 0;this.fv();return this.fr};b.prototype.qw=function(a){if(!this.$f)return!1;if(!this.xk(8))return 0!=(this.jb.read(a)&4);this.fv();return 0<this.bj.read(a)};b.prototype.Tm=function(a){if(!this.$f)return 0;this.fv();return this.bj.read(a)};b.prototype.fv=function(){if(this.xk(1024)){var a=this.aa();null==this.bj?this.bj=new d.Sd(a):this.bj.size!=a&&this.bj.resize(a);
- for(var a=new d.qy(0),c=new d.qy(0),b=new d.b,f=0,h=this.Da();h.Ya();){c.reset();for(this.w(this.wa(h.Ta),b);h.Ca();)c.add(h.ba().By(b.x,b.y));a.add(c.fn());var l=f++;this.bj.write(l,c.fn())}this.fr=a.fn();this.lg(1024,!1)}};b.prototype.xT=function(){if(this.$f){this.Al();for(var a=0,c=this.aa(),b=0;b<c;b++)0!=(this.jb.read(b)&4)&&a++}};b.prototype.Al=function(){if(this.xk(8)){this.fv();var a=this.aa();if(null==this.jb||this.jb.size<a)this.jb=d.Uc.vq(a+1);for(var c=1,b=0;b<a;b++){var f=this.bj.read(b);
- 0==b&&(c=0<f?1:-1);0<f*c?this.jb.hC(b,4):this.jb.ez(b,4)}this.lg(8,!1)}};b.prototype.bw=function(a){var c=this.Ta,b=this.aa();if(0<=c&&c<b){if(a<this.Gc(c)){if(a>=this.wa(c))return c;c--}else c++;if(0<=c&&c<b&&a>=this.wa(c)&&a<this.Gc(c))return this.Ta=c}if(5>b){for(c=0;c<b;c++)if(a<this.Gc(c))return this.Ta=c;throw d.f.X("corrupted geometry");}c=0;for(--b;b>c;){var f=c+(b-c>>1),h=this.wa(f);if(a<h)b=f-1;else if(c=this.Gc(f),a>=c)c=f+1;else return this.Ta=f}return this.Ta=c};b.prototype.lT=function(a){var c=
- this.Pa(0);this.CT();var b=this.Gc(a),f=this.wa(a);a=-1;var h=new d.b,l=new d.b;h.y=-Infinity;h.x=-Infinity;for(f+=0;f<b;f++)c.fc(2*f,l),-1==h.compare(l)&&(a=f,h.L(l));return a};b.prototype.hA=function(){var a=this.D();if(!this.$f)for(var a=a-this.aa(),c=0,b=this.aa();c<b;c++)this.Qb(c)&&a++;return a};b.prototype.dw=function(a){var c=this.Ka(a);this.Qb(a)||c--;return c};b.prototype.Ja=function(){return new b(this.$f,this.description)};b.prototype.tb=function(){return this.$f?2:1};b.prototype.G=function(){return this.$f?
- 1736:1607};b.prototype.CT=function(){this.Bu()};b.prototype.GK=function(a){this.kb=a;this.Dc(16777215)};b.prototype.NT=function(){this.Bu();return this.cf};b.prototype.BT=function(){this.Bu();return this.jb};b.prototype.FK=function(a){this.jb=a;this.Dc(16777215)};b.prototype.aa=function(){return null!=this.kb?this.kb.size-1:0};b.prototype.Gc=function(a){return this.kb.read(a+1)};b.prototype.Ka=function(a){return this.kb.read(a+1)-this.kb.read(a)};b.prototype.wa=function(a){return this.kb.read(a)};
- b.prototype.Wu=function(a,c){null==this.ob&&(this.ob=new d.wl);c=d.wy.jX(c);var b=this.ob.Hi;if(null!=b)if(b.jl<a||c>b.JT())this.ob.Ly(null);else return!0;b=d.wy.create(this,a,c);this.ob.Ly(b);return!0};b.prototype.jc=function(){var a=g.prototype.jc.call(this);if(!this.Hc()){var c=this.aa();null!=this.kb&&this.kb.zk(a,0,c+1);null!=this.jb&&this.jb.zk(a,0,c)}return a};b.prototype.iH=function(a){return null!=this.cf?this.cf.read(a):1};b.prototype.ic=function(a,c,b){var e=this.bw(a);if(a==this.Gc(e)-
- 1&&!this.Qb(e))throw d.f.X("index out of bounds");this.tc();var h=this.cf,l=1;null!=h&&(l=h.read(a)&7);switch(l){case 1:c.Is();break;case 2:throw d.f.ya();case 4:throw d.f.ya();default:throw d.f.ya();}c=c.get();b?c.Fg(d.ye.Ig()):c.Fg(this.description);e=a==this.Gc(e)-1&&this.Qb(e)?this.wa(e):a+1;h=new d.b;this.w(a,h);c.Mc(h);this.w(e,h);c.Zc(h);if(!b)for(b=1,h=this.description.Ea;b<h;b++)for(var l=this.description.Id(b),g=d.na.Xa(l),r=0;r<g;r++){var t=this.Yc(l,a,r);c.Sx(l,r,t);t=this.Yc(l,e,r);c.Kx(l,
- r,t)}};b.prototype.ik=function(a,c){if(a>=this.aa())throw d.f.F();if(this.u())c.Oa();else{if(this.et(a))throw d.f.X("not implemented");var b=this.Pa(0),f=new d.b,h=new d.h;h.Oa();var l=this.wa(a);for(a=this.Gc(a);l<a;l++)b.fc(2*l,f),h.Nb(f);c.I(h)}};b.prototype.gX=function(a,c){if(a>=this.aa())throw d.f.F();if(this.u())c.Oa();else{if(this.et(a))throw d.f.X("not implemented");var b=this.Pa(0),f=new d.b,h=new d.h;h.Oa();var l=this.wa(a);for(a=this.Gc(a);l<a;l++)b.fc(2*l,f),h.Nb(f);c.I(h)}};b.prototype.Hj=
- function(a){null==this.ob&&(this.ob=new d.wl);if(0==a||16>this.D())return!1;a=d.ma.zF(this);this.ob.ME(a);return!0};b.prototype.AO=function(){null==this.ob&&(this.ob=new d.wl);if(null!=this.ob.np)return!0;this.ob.NE(null);var a=d.ma.$P(this);this.ob.NE(a);return!0};b.prototype.Hp=function(a){this.lr=a};b.prototype.xo=function(){return this.lr};b.prototype.TE=function(a){if(this==a)throw d.f.X("MultiPathImpl.add");for(var c=this.aa(),b=0;b<a.aa();b++)this.Ti(a,b,!0),this.mW(c),c++};b.prototype.mQ=
- function(a){var c=this.bw(a),b=this.wa(c);if(b!=a){c=this.Gc(c);if(a>=c||a<b)throw d.f.X("change_ring_start_point");for(var f=0,h=this.description.Ea;f<h;f++){var l=this.description.zd(f),l=d.na.Xa(l);this.xa[f].rotate(b*l,a*l,c*l)}}};b.se=[0,0,6,0,8,0];return b}(d.Lu);d.xl=m})(n||(n={}));(function(d){var m=function(g){function b(a){g.call(this);if(void 0!==a){if(null==a)throw d.f.F();this.description=a}else this.description=d.ye.Ig();this.qa=0}O(b,g);b.prototype.Ja=function(){return new b(this.description)};
- b.prototype.add=function(a){this.resize(this.qa+1);this.Yh(this.qa-1,a)};b.prototype.kv=function(a,c){this.resize(this.qa+1);var b=new d.b;b.ka(a,c);this.rb(this.qa-1,b)};b.prototype.Jd=function(a,c,b){b=0>b?a.D():b;if(0>c||c>a.D()||b<c)throw d.f.F();if(c!=b){this.om(a.description);b-=c;var e=this.qa;this.resize(this.qa+b);this.tc();for(var h=0,l=a.description.Ea;h<l;h++){var g=a.description.Id(h),r=d.na.Xa(g),t=this.Pa(g),g=a.Pa(g);t.Rk(e*r,g,c*r,b*r,!0,1,e*r)}}};b.prototype.XE=function(a,c){var b=
- a.length;c=0>c?b:c;if(0>b||0>c)throw d.f.F();if(0!=c){b=c-0;c=this.qa;this.resize(this.qa+b);for(var f=0;f<b;f++)this.rb(c+f,a[0+f])}};b.prototype.bC=function(a){if(0>a||a>=this.D())throw d.f.X("index out of bounds");this.tc();for(var c=0,b=this.description.Ea;c<b;c++)if(null!=this.xa[c]){var f=d.na.Xa(this.description.Id(c));this.xa[c].Ek(f*a,f,f*this.qa)}this.qa--;this.lh--;this.Dc(1993)};b.prototype.resize=function(a){this.zl(a)};b.prototype.iq=function(){};b.prototype.Oa=function(){g.prototype.LE.call(this)};
- b.prototype.Xc=function(a){if(a instanceof d.Hd){if(!this.u()){this.tc();for(var c=this.xa[0],b=new d.b,f=0;f<this.qa;f++)b.x=c.read(2*f),b.y=c.read(2*f+1),a.$h(b,b),c.write(2*f,b.x),c.write(2*f+1,b.y);this.Dc(1993)}}else if(!this.u()){this.tc();this.Ud(1);this.tc();for(var c=this.xa[0],b=this.xa[1],h=new d.qd,f=0;f<this.qa;f++){h.x=c.read(2*f);h.y=c.read(2*f+1);h.z=b.read(f);var l=a.Rp(h);c.write(2*f,l.x);c.write(2*f+1,l.y);b.write(f,l.z)}this.Dc(1993)}};b.prototype.tb=function(){return 0};b.prototype.G=
- function(){return 550};b.prototype.hf=function(){return 0};b.prototype.Rb=function(){return 0};b.prototype.Eb=function(a){return a==this?!0:a instanceof b?g.prototype.Eb.call(this,a):!1};b.prototype.lP=function(a){var c=a.length,b=c;if(0>c||0>c||0>b)throw d.f.F();this.Ud(1);if(0!=b){c=b-0;b=this.qa;this.$J(this.qa+c);for(var f=this.Pa(0),h=0;h<c;h++){var l=a[0+h].y;f.write(2*(b+h),a[0+h].x);f.write(2*(b+h)+1,l)}f=this.Pa(1);for(h=0;h<c;h++)f.write(b+h,a[0+h].z);this.Dc(1993)}};b.prototype.mP=function(a,
- c){var b=a.length;c=0>c?b:c;if(0>b||0>c)throw d.f.F();if(0!=c){b=c-0;if(0!=(b&1))throw d.f.F();c=this.qa;this.$J(this.qa+b/2);this.xa[0].hs(2*c,b,a,0,!0)}};b.prototype.$J=function(a){var c=this.qa;this.zl(a);if(this.qa>c){a=1;for(var b=this.description.Ea;a<b;a++){var f=this.description.zd(a),h=d.na.Xa(f);this.xa[a].Qk(h*c,d.na.pe(f),h*(this.qa-c),h*c)}}};b.prototype.dX=function(a,c){var b=this.qa,b=Math.min(b,c+1E3);if(0>c||c>=this.qa||b<c||1E3!=a.length)throw d.f.F();var f=this.Pa(0),h=b-c,l=[];
- f.pl(2*c,2*h,l,0,!0);for(f=0;f<h;f++)a[f]=d.b.pa(l[2*f],l[2*f+1]);return b};b.prototype.eX=function(a,c){var b=this.qa,b=Math.min(b,0+c);if(0>=this.qa||0>b||a.length!=c)throw d.f.F();c=this.Pa(0);var f=null,h=d.na.pe(1),l=this.hasAttribute(1);l&&(f=this.Pa(1));var b=b-0,g=[],r=[];c.pl(0,2*b,g,0,!0);f.pl(0,b,r,0,!0);for(c=0;c<b;c++)a[c]=new d.qd(g[2*c],g[2*c+1],l?r[c]:h)};b.prototype.Hy=function(){};b.prototype.Oy=function(){};b.prototype.Wu=function(){return!1};b.prototype.Hj=function(){return!1};
- b.prototype.Gg=function(){return null};return b}(d.Lu);d.Ed=m})(n||(n={}));(function(d){(function(d){d[d.NotDetermined=0]="NotDetermined";d[d.Structure=1]="Structure";d[d.DegenerateSegments=2]="DegenerateSegments";d[d.Clustering=3]="Clustering";d[d.Cracking=4]="Cracking";d[d.CrossOver=5]="CrossOver";d[d.RingOrientation=6]="RingOrientation";d[d.RingOrder=7]="RingOrder";d[d.OGCPolylineSelfTangency=8]="OGCPolylineSelfTangency";d[d.OGCPolygonSelfTangency=9]="OGCPolygonSelfTangency";d[d.OGCDisconnectedInterior=
- 10]="OGCDisconnectedInterior"})(d.WM||(d.WM={}));var m=function(){function d(b,a,c){void 0===b?(this.Ii=0,this.mm=this.lm=-1):(this.Ii=b,this.lm=a,this.mm=c)}d.prototype.ls=function(b){this.Ii=b.Ii;this.lm=b.lm;this.mm=b.mm};return d}();d.$d=m})(n||(n={}));(function(d){var m=function(){function g(){}g.XZ=function(b){if(!1===b)throw d.f.IL();};g.RK=function(b){return isNaN(b)?NaN:0===b?b:0<b?1:-1};g.pv=function(b){var a;void 0===a&&(a=0);for(var c=[],e=0;e<b;e++)c[e]=g.gf(2,a);return c};g.gf=function(b,
- a){void 0===a&&(a=0);for(var c=[],e=0;e<b;e++)c[e]=a;return c};g.Mv=function(b,a){var c,e;void 0===c&&(c=0);for(void 0===e&&(e=b.length-1);c<=e;c++)b[c]=a};g.nk=function(b,a,c){return b<a?a:b>c?c:b};g.s_=function(){return 4};g.dh=function(b,a){var c=5381;void 0!==a?c=(a<<5)+a+(b&255):c=(c<<5)+c+(b&255);c=(c<<5)+c+(b>>8&255);c=(c<<5)+c+(b>>16&255);return(c<<5)+c+(b>>24&255)&2147483647};g.Zi=function(){throw Error("Not Implemented");};g.o_=function(){return-Infinity};g.q_=function(){return Infinity};
- g.g_=function(){return 2147483647};g.TZ=function(){return 2.220446049250313E-16};g.UZ=function(){return 1.7976931348623157E308};g.GB=function(b){return g.cZ(b)+12345&2147483647};g.fI=function(b){var a=32,c=b%g.oA|0,e=b/g.oA|0;if(0===(a&=63))return b;32>a?(b=c>>>a|e<<32-a,a=e>>a):(b=e>>a-32,a=0<=e?0:-1);return a*g.oA+(b>>>0)};g.cZ=function(b){b|=0;return(1103495168*b|0)+(20077*b|0)|0};g.truncate=function(b){return 0>b?-1*Math.floor(Math.abs(b)):Math.floor(b)};g.fV=Math.pow(2,53)-1;g.WZ=-g.fV;g.hD=
- 65536;g.J_=16777216;g.oA=g.hD*g.hD;return g}();d.J=m})(n||(n={}));(function(d){(function(d){d[d.Project=0]="Project";d[d.Union=1]="Union";d[d.Difference=2]="Difference";d[d.Proximity2D=3]="Proximity2D";d[d.Relate=4]="Relate";d[d.Equals=5]="Equals";d[d.Disjoint=6]="Disjoint";d[d.Intersects=7]="Intersects";d[d.Within=8]="Within";d[d.Contains=9]="Contains";d[d.Crosses=10]="Crosses";d[d.Touches=11]="Touches";d[d.Overlaps=12]="Overlaps";d[d.Buffer=13]="Buffer";d[d.Distance=14]="Distance";d[d.Intersection=
- 15]="Intersection";d[d.Clip=16]="Clip";d[d.Cut=17]="Cut";d[d.DensifyByLength=18]="DensifyByLength";d[d.DensifyByAngle=19]="DensifyByAngle";d[d.LabelPoint=20]="LabelPoint";d[d.GeodesicBuffer=21]="GeodesicBuffer";d[d.GeodeticDensifyByLength=22]="GeodeticDensifyByLength";d[d.ShapePreservingDensify=23]="ShapePreservingDensify";d[d.GeodeticLength=24]="GeodeticLength";d[d.GeodeticArea=25]="GeodeticArea";d[d.Simplify=26]="Simplify";d[d.SimplifyOGC=27]="SimplifyOGC";d[d.Offset=28]="Offset";d[d.Generalize=
- 29]="Generalize";d[d.SymmetricDifference=30]="SymmetricDifference";d[d.ConvexHull=31]="ConvexHull";d[d.Boundary=32]="Boundary";d[d.SimpleRelation=33]="SimpleRelation"})(d.rN||(d.rN={}));var m=function(){function g(){}g.prototype.G=function(){return null};g.prototype.qo=function(){return!1};g.prototype.vv=function(){return!1};g.MZ=function(b){d.T.gh(b.G())&&(b=b.ob,null!=b&&(b.Ly(null),b.ME(null)))};return g}();d.ef=m})(n||(n={}));(function(d){var m=function(g){function b(){g.apply(this,arguments)}
- O(b,g);b.prototype.G=function(){return 13};b.local=function(){null===b.$&&(b.$=new b);return b.$};b.prototype.V=function(a,c,b,f,h){return a instanceof d.T?(h=new d.hd(a),this.V(h,c,[b],!1,f).next()):!0===f?(b=new d.CD(a,c,b,!1,h),d.ei.local().V(b,c,h)):new d.CD(a,c,b,!1,h)};b.$=null;return b}(d.ef);d.BD=m})(n||(n={}));(function(d){var m=function(){function g(b,a,c,e,f){this.Ba=-1;this.he=b;this.HA=a;this.xt=c;this.sV=new d.h;this.sV.Oa();this.To=-1;this.lc=f}g.prototype.next=function(){for(var b;null!=
- (b=this.he.next());)return this.Ba=this.he.Ha(),this.To+1<this.xt.length&&this.To++,this.buffer(b,this.xt[this.To]);return null};g.prototype.Ha=function(){return this.Ba};g.prototype.buffer=function(b,a){return d.OL.buffer(b,a,this.HA,NaN,96,this.lc)};g.prototype.Re=function(){return!0};return g}();d.CD=m})(n||(n={}));(function(d){var m=function(g){function b(){g.apply(this,arguments)}O(b,g);b.prototype.G=function(){return 16};b.local=function(){null===b.$&&(b.$=new b);return b.$};b.prototype.V=function(a,
- c,b,f){return a instanceof d.T?(a=new d.hd(a),this.V(a,c,b,f).next()):new d.bN(a,c,b,f)};b.$=null;return b}(d.ef);d.aN=m})(n||(n={}));(function(d){var m=function(){function g(b,a,c){this.Ba=-1;if(null==b)throw d.f.F();this.R=a;this.$k=b;this.ta=d.ma.be(c,a,!1)}g.prototype.next=function(){var b;return null!=(b=this.$k.next())?(this.Ba=this.$k.Ha(),d.me.clip(b,this.R,this.ta,0)):null};g.prototype.Ha=function(){return this.Ba};g.prototype.Re=function(){return!0};return g}();d.bN=m})(n||(n={}));(function(d){var m=
- function(g){function b(){g.apply(this,arguments)}O(b,g);b.prototype.G=function(){return 31};b.local=function(){null===b.$&&(b.$=new b);return b.$};b.prototype.V=function(a,c,b){return a instanceof d.T?d.ED.CF(a):new d.ED(c,a,b)};b.$=null;return b}(d.ef);d.DD=m})(n||(n={}));(function(d){var m=function(){function g(b,a,c){this.$A=new d.Iu;this.Ba=-1;if(null==a)throw d.f.F();this.nI=b;this.Pc=!1;this.$k=a;this.lc=c}g.prototype.next=function(){if(this.nI){if(!this.Pc){var b=this.dQ(this.$k);this.Pc=!0;
- return b}return null}if(!this.Pc){b=this.$k.next();if(null!=b)return this.Ba=this.$k.Ha(),g.CF(b);this.Pc=!0}return null};g.prototype.Ha=function(){return this.Ba};g.prototype.dQ=function(b){for(var a;null!=(a=b.next());)this.$A.Jb(a);return this.$A.TS()};g.prototype.Re=function(){if(this.Pc)return!0;if(!this.nI)throw d.f.X("Invalid call for non merging convex hull.");var b=this.$k.next();if(null!=b)return this.$A.Jb(b),!0;throw d.f.X("Expects a non-null geometry.");};g.CF=function(b){if(g.Wg(b))return b;
- var a=b.G();if(d.xl.Oc(a))return a=new d.Ua(b.description),a.dc(b,!0),a;if(550==a&&2==b.D()){var c=new d.Wa,a=new d.Ua(b.description);b.Ae(0,c);a.Rf(c);b.Ae(1,c);a.lineTo(c);return a}return d.Iu.TQ(b)};g.Wg=function(b){if(b.u())return!0;var a=b.G();return 33==a||197==a?!0:d.xl.Oc(a)?!1:550==a?1==b.D()?!0:!1:1607==a?1==b.aa()&&2>=b.D()?!0:!1:1!=b.aa()?!1:2>=b.D()?!0:d.Iu.UH(b,0)};return g}();d.ED=m})(n||(n={}));(function(d){var m=function(g){function b(){g.apply(this,arguments)}O(b,g);b.prototype.G=
- function(){return 17};b.local=function(){null===b.$&&(b.$=new b);return b.$};b.prototype.V=function(a,c,b,f,h){return new d.dN(a,c,b,f,h)};b.$=null;return b}(d.ef);d.cN=m})(n||(n={}));(function(d){var m=function(){function g(b,a,c,e,f){this.qg=null;if(null==a||null==c)throw d.f.X("invalid argument");this.pV=b;this.UA=a;this.wI=c;b=d.ma.Yv(a,c);this.ta=d.ma.be(e,b,!0);this.vI=-1;this.je=f}g.prototype.Ha=function(){return 0};g.prototype.next=function(){this.GS();return++this.vI<this.qg.length?this.qg[this.vI]:
- null};g.prototype.GS=function(){if(null==this.qg)switch(this.qg=[],this.UA.G()){case 1607:this.IS();break;case 1736:this.HS()}};g.prototype.IS=function(){var b=new d.Ua,a=new d.Ua,c=new d.Ua;this.qg.push(b);this.qg.push(a);var e=[];d.VL.TL(this.pV,this.UA,this.wI,this.ta,e,this.je);for(var f=0;f<e.length;f++){var h=e[f];0==h.mx?b.add(h.Y,!1):1==h.mx||2==h.mx?a.add(h.Y,!1):3==h.mx?this.qg.push(h.Y):c.add(h.Y,!1)}c.u()||b.u()&&a.u()&&!(3<=this.qg.length)||this.qg.push(c);b.u()&&a.u()&&3>this.qg.length&&
- (this.qg.length=0)};g.prototype.HS=function(){var b=new d.ia(0),a=new d.fd,c=a.gG(),e=a.Jb(this.UA),f=a.Jb(this.wI),h=new d.Dg;try{h.Wr(a,this.ta,this.je);h.Hl(c,e,f,b);var l=a.Se(e),k=new d.Ia,g=new d.Ia;this.qg.length=0;this.qg.push(k);this.qg.push(g);for(e=0;e<b.size;e++){var t,p=new d.fd,q=p.Jb(l),m=p.Jb(a.Se(b.get(e)));h.Vr(p,this.je);var v=h.mw(q,m);t=p.Se(v);if(!t.u()){var n=a.UG(b.get(e),c);2==n?k.add(t,!1):1==n?g.add(t,!1):this.qg.push(t);var w=new d.fd,q=w.Jb(l),m=w.Jb(a.Se(b.get(e)));h.Vr(w,
- this.je);l=w.Se(h.Wm(q,m))}}!l.u()&&0<b.size&&this.qg.push(l);k.u()&&g.u()&&(this.qg.length=0)}finally{h.qh()}};g.prototype.Re=function(){return!0};return g}();d.dN=m})(n||(n={}));(function(d){var m=function(g){function b(){g.apply(this,arguments)}O(b,g);b.prototype.G=function(){return 18};b.local=function(){null===b.$&&(b.$=new b);return b.$};b.prototype.V=function(a,c,b){if(a instanceof d.T)return a=new d.hd(a),this.V(a,c,b).next();if(0>=c)throw d.f.F();return new d.eN(a,c,b)};b.$=null;return b}(d.ef);
- d.Km=m})(n||(n={}));(function(d){var m=function(){function g(b,a){this.Ba=-1;this.he=b;this.Jt=a}g.prototype.Ha=function(){return this.Ba};g.prototype.next=function(){var b;return null!=(b=this.he.next())?(this.Ba=this.he.Ha(),this.IR(b)):null};g.prototype.IR=function(b){if(b.u()||1>b.tb())return b;var a=b.G();if(1736==a||1607==a)return this.vz(b);if(d.T.Oc(a))return this.KR(b);if(197==a)return this.JR(b);throw d.f.ya();};g.prototype.KR=function(b){if(b.Rb()<=this.Jt)return b;var a=new d.Ua(b.description);
- a.dc(b,!0);return this.vz(a)};g.prototype.JR=function(b){var a=new d.Ia(b.description);a.jd(b,!1);var c=new d.h;b.s(c);b=c.fa();return c.N()<=this.Jt&&b<=this.Jt?a:this.vz(a)};g.prototype.vz=function(b){for(var a=b.Ja(),c=b.Da();c.Ya();)for(var e=!0;c.Ca();){var f=c.ba();if(322!=f.G())throw d.f.X("not implemented");var h=c.Fo(),l=f.Rb();if(l>this.Jt){var k=Math.ceil(l/this.Jt),l=new d.Wa(b.description);e&&(f.Dp(l),a.Rf(l));for(var g=e=1/k,t=0,k=k-1;t<k;t++)f.Ex(g,l),a.lineTo(l),g+=e;h?a.sq():(f.Bp(l),
- a.lineTo(l))}else h?a.sq():a.dc(f,e);e=!1}return a};g.prototype.Re=function(){return!0};return g}();d.eN=m})(n||(n={}));(function(d){var m=function(g){function b(){g.apply(this,arguments)}O(b,g);b.local=function(){null===b.$&&(b.$=new b);return b.$};b.prototype.G=function(){return 2};b.prototype.V=function(a,c,b,f){return a instanceof d.T?(a=new d.hd(a),c=new d.hd(c),this.V(a,c,b,f).next()):new d.fN(a,c,b,f)};b.Wm=function(a,c,e,f){if(a.u()||c.u())return a;var h=a.tb(),l=c.tb();if(h>l)return a;var k=
- a.G(),g=c.G(),t=new d.h,p=new d.h,q=new d.h;a.s(t);c.s(p);q.I(t);q.Nb(p);var q=d.ma.be(e,q,!1),m=q*Math.sqrt(2)*1.00001,v=new d.h;v.I(t);v.O(m,m);if(!v.Yb(p))return a;if(1==h&&2==l)return b.RL(a,c,g,e,f);if(33==k)switch(d.xl.Oc(g)?(e=new d.Ua(c.description),e.dc(c,!0)):e=c,g){case 1736:return b.fO(a,e,q);case 1607:return b.jO(a,e,q);case 550:return b.UN(a,e,q);case 197:return b.ON(a,e,q);case 33:return b.bO(a,e,q);default:throw d.f.F();}else if(550==k)switch(g){case 1736:return b.BM(a,c,q);case 197:return b.lM(a,
- c,q);case 33:return b.wM(a,c,q)}return d.Dg.Wm(a,c,e,f)};b.fO=function(a,c,b){return 0==d.gd.VH(c,a,b)?a:a.Ja()};b.jO=function(a,c,b){var e=a.w();c=c.Da();for(var h=b*Math.sqrt(2)*1.00001,l=h*h,k=new d.h;c.Ya();)for(;c.Ca();){var g=c.ba();g.s(k);k.O(h,h);if(k.contains(e)){if(g.lt(e,b))return a.Ja();var t=g.ec();if(d.b.sc(e,t)<=l)return a.Ja();t=g.Cc();if(d.b.sc(e,t)<=l)return a.Ja()}}return a};b.UN=function(a,c,b){var e=c.Pa(0);c=c.D();var h=a.w(),l=new d.b;b=b*Math.sqrt(2)*1.00001;b*=b;for(var k=
- 0;k<c;k++)if(e.fc(2*k,l),d.b.sc(l,h)<=b)return a.Ja();return a};b.ON=function(a,b,e){var c=new d.h;b.s(c);c.O(e,e);b=a.w();return c.contains(b)?a.Ja():a};b.bO=function(a,b,e){e=e*Math.sqrt(2)*1.00001;e*=e;var c=a.w();b=b.w();return d.b.sc(c,b)<=e?a.Ja():a};b.BM=function(a,b,e){var c=new d.h;b.s(c);c.O(e,e);for(var h=a.D(),l=!1,k=[],g=0;g<h;g++)k[g]=!1;for(var t=new d.b,g=0;g<h;g++)a.w(g,t),c.contains(t)&&0!=d.gd.fe(b,t,e)&&(l=!0,k[g]=!0);if(!l)return a;b=a.Ja();for(g=0;g<h;g++)k[g]||b.Jd(a,g,g+1);
- return b};b.lM=function(a,b,e){var c=new d.h;b.s(c);c.O(e,e);b=a.D();var h=!1;e=[];for(var l=0;l<b;l++)e[l]=!1;for(var g=new d.b,l=0;l<b;l++)a.w(l,g),c.contains(g)&&(h=!0,e[l]=!0);if(!h)return a;c=a.Ja();for(l=0;l<b;l++)e[l]||c.Jd(a,l,l+1);return c};b.wM=function(a,b,e){var c=a.Pa(0),h=a.D(),l=b.w(),g=new d.b,r=!1;b=[];for(var t=0;t<h;t++)b[t]=!1;t=e*Math.sqrt(2)*1.00001;e=t*t;for(t=0;t<h;t++)c.fc(2*t,g),d.b.sc(g,l)<=e&&(r=!0,b[t]=!0);if(!r)return a;c=a.Ja();for(t=0;t<h;t++)b[t]||c.Jd(a,t,t+1);return c};
- b.RL=function(a,b,e,f,h){var c=new d.ci;a.Rn(c);var g=new d.h;b.s(g);c.Nb(g);c.O(.1*c.N(),.1*c.fa());g=new d.Ia;g.jd(c,!1);1736==e?g.add(b,!0):g.jd(b,!0);return d.sk.local().V(a,g,f,h)};b.$=null;return b}(d.ef);d.cq=m})(n||(n={}));(function(d){var m=function(){function g(b,a,c,e){this.nt=null==a;this.Ba=-1;this.he=b;this.HA=c;this.vV=a.next();this.lc=e}g.prototype.next=function(){if(this.nt)return null;var b;return null!=(b=this.he.next())?(this.Ba=this.he.Ha(),d.cq.Wm(b,this.vV,this.HA,this.lc)):
- null};g.prototype.Ha=function(){return this.Ba};g.prototype.Re=function(){return!0};return g}();d.fN=m})(n||(n={}));(function(d){var m=function(){function b(a){this.je=a;this.Yj=new d.h;this.Yj.Oa();this.Jh=new d.h;this.Jh.Oa()}b.prototype.Au=function(){var a;a=this.Yj.o;this.Yj.o=this.Jh.o;this.Jh.o=a;a=this.Yj.v;this.Yj.v=this.Jh.v;this.Jh.v=a;a=this.Yj.A;this.Yj.A=this.Jh.A;this.Jh.A=a;a=this.Yj.B;this.Yj.B=this.Jh.B;this.Jh.B=a};b.prototype.YR=function(a,b){var c=!this.Yj.Yb(this.Jh);if(d.T.Ic(a.G())&&
- d.T.Ic(b.G())){if(a.D()>b.D())return this.sF(a,b,c);this.Au();c=this.sF(b,a,c);this.Au();return c}if(550==a.G()&&d.T.Ic(b.G()))return c=this.tF(b,a,c),this.Au(),c;if(550==b.G()&&d.T.Ic(a.G()))return this.tF(a,b,c);if(550==a.G()&&550==b.G()){if(a.D()>b.D())return this.uF(a,b);this.Au();c=this.uF(b,a);this.Au();return c}return 0};b.prototype.sF=function(a,b,e){var c=a.Da(),h=b.Da(),l=new d.h,g=new d.h,r=1.7976931348623157E308;if(!e&&this.pZ(a,b,c,h))return 0;for(;c.Ya();)for(;c.Ca();)if(a=c.ba(),a.s(l),
- !(l.Yx(this.Jh)>r)){for(;h.Ya();)for(;h.Ca();)if(b=h.ba(),b.s(g),l.Yx(g)<r&&(b=a.Cb(b,e),b*=b,b<r)){if(0==b)return 0;r=b}h.yj()}return Math.sqrt(r)};b.prototype.tF=function(a,b,e){var c=a.Da(),h=new d.h,l=1.7976931348623157E308,g=new d.b,r,t=b.D();for(e=!e&&1736==a.G();c.Ya();)for(;c.Ca();){var p=c.ba();p.s(h);if(!(1<t&&h.Yx(this.Jh)>l)){for(var q=0;q<t;q++){b.w(q,g);if(e&&0!=d.gd.fe(a,g,0))return 0;r=p.oe(g,!1);g.sub(p.gc(r));r=g.pk();if(r<l){if(0==r)return 0;l=r}}e=!1}}return Math.sqrt(l)};b.prototype.uF=
- function(a,b){for(var c=1.7976931348623157E308,f=new d.b,h=new d.b,l,g=a.D(),r=b.D(),t=0;t<g;t++)if(a.w(t,f),!(1<r&&this.Jh.YK(f)>c))for(var p=0;p<r;p++)if(b.w(p,h),l=d.b.sc(f,h),l<c){if(0==l)return 0;c=l}return Math.sqrt(c)};b.prototype.pZ=function(a,b,e,f){if(1736==a.G()){for(;f.Ya();)if(f.Ca()){var c=f.ba();if(0!=d.gd.fe(a,c.Cc(),0))return!0}f.yj()}if(1736==b.G()){for(;e.Ya();)if(e.Ca()&&(a=e.ba(),0!=d.gd.fe(b,a.Cc(),0)))return!0;e.yj()}return!1};b.prototype.Sm=function(a,b){if(a.u()||b.u())return NaN;
- a.s(this.Yj);b.s(this.Jh);return this.YR(a,b)};return b}(),g=function(b){function a(){b.apply(this,arguments)}O(a,b);a.prototype.V=function(a,b,f){if(null==a||null==b)throw d.f.F();if(a.u()||b.u())return NaN;var c,e;c=a.G();e=b.G();if(33==c){if(33==e)return d.b.Cb(a.w(),b.w());if(197==e)return f=new d.h,b.s(f),f.Cb(a.w());c=new d.Ed;c.add(a);a=c}else if(197==c){if(197==e)return e=new d.h,a.s(e),f=new d.h,b.s(f),f.Cb(e);c=new d.Ia;c.jd(a,!1);a=c}33==e?(e=new d.Ed,e.add(b),b=e):197==e&&(e=new d.Ia,
- e.jd(b,!1),b=e);return(new m(f)).Sm(a,b)};a.local=function(){null===a.$&&(a.$=new a);return a.$};a.prototype.G=function(){return 14};a.$=null;return a}(d.ef);d.gN=g})(n||(n={}));(function(d){var m=function(){function g(b,a,c,e){this.KI=b;this.SI=a;this.je=e;this.kI=c}g.prototype.next=function(){var b=this.KI.next();return null==b?null:this.jD(b)};g.prototype.Ha=function(){return this.KI.Ha()};g.prototype.jD=function(b){var a=b.G();if(d.T.Jo(a))return b;if(197==a)return a=new d.Ia(b.description),a.jd(b,
- !1),this.jD(a);if(b.u())return b;if(null==b)throw d.f.ya();for(var a=b.Ja(),c=new d.Hb,e=0,f=b.aa();e<f;e++)this.nM(b,e,a,c);return a};g.prototype.nM=function(b,a,c,e){if(!(2>b.Ka(a))){var f=b.wa(a),h=b.Gc(a)-1,l=b.Pa(0),g=b.Qb(a),r=new d.ia(0);r.yb(b.Ka(a)+1);var t=new d.ia(0);t.yb(b.Ka(a)+1);r.add(g?f:h);r.add(f);for(f=new d.b;1<r.size;){var p=r.Fc();r.Pf();var q=r.Fc();b.w(p,f);e.Mc(f);b.w(q,f);e.Zc(f);q=this.jM(e,f,l,p,q,h);0<=q?(r.add(q),r.add(p)):t.add(p)}g||t.add(r.get(0));if(t.size==r.size)c.Ti(b,
- a,!0);else if(2<=t.size&&(!this.kI||2!=t.size||!(g||d.b.Cb(b.Aa(t.get(0)),b.Aa(t.get(1)))<=this.SI))){a=new d.Wa;e=0;for(h=t.size;e<h;e++)b.Ae(t.get(e),a),0==e?c.Rf(a):c.lineTo(a);g&&(this.kI||2!=t.size||c.lineTo(a),c.sq())}}};g.prototype.jM=function(b,a,c,e,d,h){var f=d-1;d<=e&&(f=h);h=d=-1;for(e+=1;e<=f;e++){c.fc(2*e,a);var g=a.x,r=a.y;b.gc(b.oe(a,!1),a);a.x-=g;a.y-=r;g=a.length();g>this.SI&&g>h&&(d=e,h=g)}return d};g.prototype.Re=function(){return!0};return g}();d.hN=m})(n||(n={}));(function(d){var m=
- function(g){function b(){g.apply(this,arguments)}O(b,g);b.prototype.G=function(){return 29};b.prototype.V=function(a,b,e,f){return a instanceof d.T?(a=new d.hd(a),this.V(a,b,e,f).next()):new d.hN(a,b,e,f)};b.local=function(){null===b.$&&(b.$=new b);return b.$};b.$=null;return b}(d.ef);d.FD=m})(n||(n={}));(function(d){var m=function(g){function b(){g.apply(this,arguments)}O(b,g);b.prototype.G=function(){return 21};b.local=function(){null===b.$&&(b.$=new b);return b.$};b.prototype.V=function(a,b,e,
- f,h,l,g,r){return a instanceof d.T?(r=new d.hd(a),this.V(r,b,e,[f],h,l,!1,g).next()):!0===g?(e=new d.HD(a,b,e,f,h,!1,!1,r),d.ei.local().V(e,b,r)):new d.HD(a,b,e,f,h,!1,!1,r)};b.$=null;return b}(d.ef);d.GD=m})(n||(n={}));(function(d){var m=function(){function g(b,a,c,e,f,h,l,g){if(h)throw d.f.df();if(null==a)throw d.f.F();this.Ba=-1;this.Gt=b;this.Rg=a;this.$e=c;this.xt=e;this.Po=f;this.To=-1;this.lc=g;this.tV=new d.h;this.tV.Oa()}g.prototype.next=function(){for(var b;null!=(b=this.Gt.next());)return this.Ba=
- this.Gt.Ha(),this.To+1<this.xt.length&&this.To++,this.QS(b,this.xt[this.To]);return null};g.prototype.Ha=function(){return this.Ba};g.prototype.QS=function(b,a){return d.qM.buffer(b,this.Rg,this.$e,a,this.Po,this.lc)};g.prototype.Re=function(){return!0};return g}();d.HD=m})(n||(n={}));(function(d){var m=function(g){function b(){g.apply(this,arguments)}O(b,g);b.prototype.G=function(){return 24};b.local=function(){null===b.$&&(b.$=new b);return b.$};b.prototype.V=function(a,b,e,f){if(null==b)throw d.f.F();
- if(a.u()||1>a.tb())return 0;if(4==e)throw d.f.df();var c=d.fb.kc(b),l=d.fb.gw(c),g=d.fb.Rv(c),l=l*(2-l),r=c.Od().Ai,t=a.G(),p;1736==t||197==t?p=a.Gg():d.T.Oc(t)?(p=new d.Ua(a.description),p.dc(a,!0)):p=a;if(0==c.Eb(b)){if(d.fb.Jc(b)){p=d.gi.Mj(p,b);1607==t&&p==a&&(p=d.T.ne(a));a=new d.Ac;d.fb.Bh(b).Tn(a);for(var t=0,q=p.D();t<q;t++){var m=p.Aa(t);m.x=d.gi.On(m.x,a);p.rb(t,m)}}a=p.Ja();p=d.gi.NJ(b,c,p,a,f)?a:d.fb.Xg(p,b,c,f)}return this.$R(p,e,g,l,r)};b.prototype.$R=function(a,b,e,f,h){var c=new d.ea(0),
- g=0;for(a=a.Da();a.Ya();)for(;a.Ca();){var r=a.ba(),t=r.ec(),r=r.Cc();t.scale(h);r.scale(h);d.mb.Md(e,f,t.x,t.y,r.x,r.y,c,null,null,b);g+=c.j}return g};b.$=null;return b}(d.ef);d.kN=m})(n||(n={}));(function(d){var m=function(g){function b(){g.apply(this,arguments)}O(b,g);b.prototype.G=function(){return 18};b.local=function(){null===b.$&&(b.$=new b);return b.$};b.prototype.V=function(a,b,e,f,h){return a instanceof d.T?(a=new d.hd(a),this.V(a,b,e,f,h).next()):new d.jN(a,e,f,b,-1,-1,h)};b.$=null;return b}(d.ef);
- d.iN=m})(n||(n={}));(function(d){var m=function(){function g(b,a,c,e,f,h){if(0<h)throw d.f.df();if(4!=c&&0<f)throw d.f.df();if(null==a)throw d.f.F();this.Ba=-1;this.Gt=b;this.Rg=a;this.$e=c;this.AV=e;this.zV=f}g.prototype.next=function(){for(var b;null!=(b=this.Gt.next());)return this.Ba=this.Gt.Ha(),this.Fz(b);return null};g.prototype.Ha=function(){return this.Ba};g.prototype.Fz=function(b){return d.Ej.Ks(b,this.Rg,this.$e,this.AV,this.zV,this.lc)};g.prototype.Re=function(){return!0};return g}();
- d.jN=m})(n||(n={}));(function(d){(function(d){d[d.Unknown=0]="Unknown";d[d.Contains=1]="Contains";d[d.Within=2]="Within";d[d.Equals=3]="Equals";d[d.Disjoint=4]="Disjoint";d[d.Touches=8]="Touches";d[d.Crosses=16]="Crosses";d[d.Overlaps=32]="Overlaps";d[d.NoThisRelation=64]="NoThisRelation";d[d.Intersects=1073741824]="Intersects";d[d.IntersectsOrDisjoint=1073741828]="IntersectsOrDisjoint"})(d.zM||(d.zM={}));var m=function(){function g(){}g.r_=function(b,a,c,e){if(a.u()||b.u())return 4;var f=b.G(),h=
- a.G(),l;d.T.Oc(f)&&(b=l=new d.Ua(b.description),l.dc(b,!0));d.T.Oc(h)&&(a=l=new d.Ua(a.description),l.dc(a,!0));switch(f){case 33:switch(h){case 33:return g.DN(b,a,c);case 197:return g.se(g.AD(a,b,c));case 550:return g.se(g.ZD(a,b,c));case 1607:return g.se(g.ZC(a,b,c,e));case 1736:return g.se(g.mE(a,b,c))}throw d.f.ya();case 197:switch(h){case 33:return g.AD(b,a,c);case 197:return g.HM(b,a,c);case 550:return g.se(g.RD(a,b,c,e));case 1607:return g.se(g.rE(a,b));case 1736:return g.se(g.iE(a,b))}throw d.f.ya();
- case 550:switch(h){case 33:return g.ZD(b,a,c);case 197:return g.RD(b,a,c,e);case 550:return g.XD(b,a,c,e);case 1607:return g.se(g.tE(a,b));case 1736:return g.se(g.kE(a,b))}throw d.f.ya();case 1607:switch(h){case 33:return g.ZC(b,a,c,e);case 197:return g.rE(b,a);case 550:return g.tE(b,a);case 1607:return g.kO(b,a);case 1736:return g.se(g.pE(a,b))}throw d.f.ya();case 1736:switch(h){case 33:return g.mE(b,a,c);case 197:return g.iE(b,a);case 550:return g.kE(b,a);case 1607:return g.pE(b,a);case 1736:return g.VN(b,
- a)}throw d.f.ya();default:throw d.f.ya();}};g.DN=function(b,a,c){b=b.w();a=a.w();return g.gE(b,a,c)};g.gE=function(b,a,c){b.sub(a);return b.pk()<=c*c?3:4};g.AD=function(b,a,c){var e=new d.h;b.s(e);b=a.w();return g.OM(e,b,c)};g.OM=function(b,a,c){b.O(-c,-c);if(b.contains(a))return 1;b.O(c,c);return b.contains(a)?8:4};g.SM=function(b,a,c){return a.contains(c)?1:b.contains(c)?8:4};g.HM=function(b,a,c){var e=new d.h;b.s(e);b=new d.h;a.s(b);return g.LM(e,b,c)};g.LM=function(b,a,c){var e=0;b.contains(a)&&
- (e|=1);a.contains(b)&&(e|=2);if(0!=e)return e;b.O(-c,-c);a.O(-c,-c);if(b.Yb(a))return e=b,e.O(c,c),e=e.contains(a)?1:0,a.O(c,c),e|=a.contains(b)?2:0,0!=e?e:32;e=b;e.O(c,c);a.O(c,c);return e.Yb(a)?8:4};g.ZD=function(b,a,c){a=a.w();return g.aE(b,a,c)};g.aE=function(b,a,c){for(var e=0,d=b.D();e<d;e++){var h;h=b.Aa(e);h=g.gE(h,a,c);if(4!=h)return 0!=(h&2)&&1!=d?1:h}return 4};g.RD=function(b,a,c,e){var f=new d.h;a.s(f);return g.ZM(b,f,c,e)};g.ZM=function(b,a,c,e){a.O(-c,-c);a.O(c,c);for(var d=c=0,h=b.D();d<
- h;d++){var l;l=b.Aa(d);l=g.se(g.SM(a,a,l));if(4!=l&&(c|=l,4==e))return 1073741824}return 0==c?4:2==c?c:32};g.XD=function(b,a,c,e){for(var d=0,h=0,l=a.D();h<l;h++){var k;k=a.Aa(h);k=g.aE(b,k,c);if(4!=k&&(d++,4==e))return 1073741824}return 0<d?d==a.D()?3==e?(k=g.XD(a,b,c,1),1==k?3:0):1:32:0};g.ZC=function(b,a,c,e){a=a.w();return g.gO(b,a,c,e)};g.VM=function(b,a){var c=null;b=b.ob;null!=b&&(c=b.Hi);if(null!=c){c=c.rm(a.x,a.y);if(0==c)return 4;if(1==c)return 1}else return-1;return 0};g.gO=function(b,
- a,c,e){if(0==(e&1073741839))return 64;var f=g.VM(b,a);if(0<f)return f;c*=c;for(f=b.Da();f.Ya();){var h=f.Ta;if(!b.Qb(h)){var l=b.Ka(h),h=b.wa(h);if(0==l)continue;if(d.b.sc(b.Aa(h),a)<=c||1<l&&d.b.sc(b.Aa(h+l-1),a)<=c)return 8}if(8!=e)for(;f.Ca();)if(l=f.ba(),l=l.gc(l.oe(a,!1)),d.b.sc(l,a)<=c)return 0!=(e&1073741828)?1073741824:1}return 0!=(e&1073741828)?4:64};g.rE=function(b,a){var c=new d.h;a.s(c);return g.cO(b,c)};g.cO=function(b,a){b=g.eq(b,a);return 0<b?b:0};g.eq=function(b,a){b=b.ob;if(null!=
- b)b=b.Hi;else return-1;if(null!=b){b=b.Sn(a);if(0==b)return 4;if(1==b)return 1}else return-1;return 0};g.tE=function(b,a){var c=new d.h;a.s(c);c=g.eq(b,c);return 0<c?c:0};g.tv=function(b,a){var c=new d.h;a.s(c);c=g.eq(b,c);return 0<c?c:-1==c&&(c=new d.h,b.s(c),c=g.eq(a,c),0<c)?g.se(c):0};g.kO=function(b,a){b=g.tv(b,a);return 0<b?b:0};g.mE=function(b,a,c){a=a.w();return g.PN(b,a,c)};g.PN=function(b,a,c){b=d.gd.fe(b,a,c);if(0==b)return 4;if(1==b)return 1;if(2==b)return 8;throw d.f.ya();};g.iE=function(b,
- a){var c=new d.h;a.s(c);return g.MN(b,c)};g.MN=function(b,a){b=g.eq(b,a);return 0<b?b:0};g.kE=function(b,a){b=g.tv(b,a);return 0<b?b:0};g.pE=function(b,a){b=g.tv(b,a);return 0<b?b:0};g.VN=function(b,a){b=g.tv(b,a);return 0<b?b:0};g.iX=function(b,a){var c=b.G(),e=a.G(),f;if(d.T.gh(c)&&(f=b.ob,null!=f&&(f=f.Hi,null!=f))){if(33==e){var h=a.w();f=f.rm(h.x,h.y)}else h=new d.h,a.s(h),f=f.Sn(h);if(1==f)return 1;if(0==f)return 4}if(d.T.gh(e)&&(f=a.ob,null!=f&&(f=f.Hi,null!=f))){33==c?(c=b.w(),f=f.rm(c.x,
- c.y)):(c=new d.h,b.s(c),f=f.Sn(c));if(1==f)return 2;if(0==f)return 4}return 0};g.se=function(b){0!=(b&1)&&(b=b&-2|2);0!=(b&2)&&(b=b&-3|1);return b};return g}();d.lN=m})(n||(n={}));(function(d){var m=function(g){function b(){g.apply(this,arguments)}O(b,g);b.local=function(){null===b.$&&(b.$=new b);return b.$};b.prototype.G=function(){return 15};b.prototype.V=function(a,b,e,f,h){return a instanceof d.T?(a=new d.hd(a),b=new d.hd(b),this.V(a,b,e,f,h).next()):void 0===h?new d.JD(a,b,e,f,-1):new d.JD(a,
- b,e,f,h)};b.prototype.qo=function(a,b,e){if(!this.vv(a))return!1;b=d.ma.ah(b,a,!1);var c=a.Hj(e);return c=c||a.Wu(b,e)};b.prototype.vv=function(a){return d.wy.az(a)};b.$=null;return b}(d.ef);d.sk=m})(n||(n={}));(function(d){var m=function(){function g(b,a,c,e,f){this.nt=null==a;this.Ba=-1;this.he=b;this.Rg=c;this.sf=a.next();this.Zj=this.sf.G();this.lc=e;this.ej=f;if(-1!=this.ej&&(0>=this.ej||7<this.ej))throw d.f.F("bad dimension mask");}g.prototype.next=function(){if(this.nt)return null;var b;if(null!=
- this.nx){b=this.nx.next();if(null!=b)return b;this.nx=null}for(;null!=(b=this.he.next());){this.Ba=this.he.Ha();if(-1==this.ej)return b=this.Ma(b);this.nx=this.JU(b);return b=this.nx.next()}return null};g.prototype.Ha=function(){return this.Ba};g.prototype.Ma=function(b){var a=this.nL(b);if(null!=a)return a;var a=d.ma.Yv(this.sf,b),c=d.ma.be(this.Rg,a,!0),a=new d.h;this.sf.s(a);var e=new d.h;b.s(e);a.O(2*c,2*c);a.Ma(e);a.O(100*c,100*c);c=d.me.clip(this.sf,a,0,0);b=d.me.clip(b,a,0,0);return d.Dg.mw(b,
- c,this.Rg,this.lc)};g.prototype.IJ=function(b,a,c){var e=0;if(0!=(a&1))null==c[0]&&(c[0]=new d.Ed(b)),e++;else for(var f=0;f<c.length-1;f++)c[f]=c[f+1];if(0!=(a&2))null==c[e]&&(c[e]=new d.Ua(b)),e++;else for(f=e;f<c.length-1;f++)c[f]=c[f+1];if(0!=(a&4))null==c[e]&&(c[e]=new d.Ia(b)),e++;else for(f=e;f<c.length-1;f++)c[f]=c[f+1];if(3!=e){b=[];for(f=0;f<e;f++)b[f]=c[f];return new d.hd(b)}return new d.hd(c)};g.prototype.JU=function(b){var a=this.nL(b);if(null!=a){var c=[null,null,null];c[a.tb()]=a;return this.IJ(b.description,
- this.ej,c)}a=d.ma.Yv(this.sf,b);c=d.ma.be(this.Rg,a,!0);a=new d.h;this.sf.s(a);a.O(2*c,2*c);var e=new d.h;b.s(e);a.Ma(e);a.O(100*c,100*c);c=d.me.clip(this.sf,a,0,0);a=d.me.clip(b,a,0,0);c=d.Dg.uA(a,c,this.Rg,this.lc);return this.IJ(b.description,this.ej,c)};g.prototype.nL=function(b){var a=d.ma.Yv(b,this.sf),c=d.ma.be(this.Rg,a,!1),a=b.G(),e=b.u(),f=this.sf.u(),f=e||f;if(!f){f=new d.h;b.s(f);var h=new d.h;this.sf.s(h);h.O(2*c,2*c);f=!f.Yb(h)}if(!f)if(h=d.lN.iX(this.sf,b),4==h)f=!0;else{if(0!=(h&2))return this.sf;
- if(0!=(h&1))return b}if(f)return c=d.T.lf(a),f=d.T.lf(this.Zj),c<f?g.$(b,e):c>f?this.cK():0==c?550==a&&33==this.Zj?this.cK():g.$(b,e):g.$(b,e);if((-1==this.ej||4==this.ej)&&197==a&&197==this.Zj)return c=this.sf,a=new d.h,b.s(a),e=new d.h,c.s(e),a.Ma(e),c=new d.ci,b.copyTo(c),c.Gp(a),c;if(197==a&&0==d.T.lf(this.Zj)||197==this.Zj&&0==d.T.lf(a))return e=197==a?b:this.sf,b=197==a?this.sf:b,a=new d.h,e.s(a),d.me.clip(b,a,c,0);if(0==d.T.lf(a)&&0<d.T.lf(this.Zj)||0<d.T.lf(a)&&0==d.T.lf(this.Zj)){c=d.ma.ah(this.Rg,
- b,!1);if(550==a||33==a)return d.Dg.LH(b,this.sf,c);if(550==this.Zj||33==this.Zj)return d.Dg.LH(this.sf,b,c);throw d.f.ya();}return-1!=this.ej&&2!=this.ej||1607!=a||1736!=this.Zj?-1!=this.ej&&2!=this.ej||1736!=a||1607!=this.Zj?null:this.kL(this.sf,b):this.kL(b,this.sf)};g.prototype.kL=function(b,a){var c=b,e=a,f=d.ma.ah(this.Rg,a,!1),h=new d.h;e.s(h);var l=new d.h;c.s(l);l.O(2*f,2*f);h.Ma(l);h.O(10*f,10*f);var c=b=d.me.clip(b,h,0,0),l=new d.ia(0),g=-1,r=e.ob;if(null!=r){var t=r.Hi;if(null!=t){g=0;
- l.yb(c.D()+c.aa());for(var p=new d.h,q=c.Da();q.Ya();)for(;q.Ca();){q.ba().s(p);var m=t.Sn(p);1==m?l.add(1):0==m?l.add(0):(l.add(-1),g++)}}}5<a.D()&&(e=a=d.me.clip(a,h,0,0),r=e.ob);0>g&&(g=c.hA());h=c.D()+e.D();if(g*e.D()>Math.log(h)*h*4)return null;h=null;g=e.Da();null!=r&&null!=r.Mb&&(h=r.Mb);null==h&&20<e.D()&&(h=d.ma.zF(e));e=b.Ja();r=null;t=c.Da();p=[0,0,0,0,0,0,0,0,0];q=new d.Sd(0);m=new d.Cg;b=-1;for(var v=0,n=0,w=0<l.size,y=-1;t.Ya();){var y=t.Ta,D=0;b=-1;for(v=0;t.Ca();){var z=w?d.J.truncate(l.get(n)):
- -1;n++;var B=t.ba();if(0>z){if(null!=h)for(null==r?r=h.nT(B,f):r.Xn(B,f),z=r.next();-1!=z;z=r.next()){g.Tb(h.ja(z));for(var z=g.ba(),A=B.Ma(z,null,p,null,f),z=0;z<A;z++)q.add(p[z])}else for(g.yj();g.Ya();)for(;g.Ca();)for(z=g.ba(),A=B.Ma(z,null,p,null,f),z=0;z<A;z++)q.add(p[z]);if(0<q.size){q.Gd(0,q.size,function(a,b){return a-b});var C=0;q.add(1);for(var A=-1,z=0,E=q.size;z<E;z++){var F=q.get(z);if(F!=C){var G=!1;0!=C||1!=F?(B.yh(C,F,m),C=m.get()):(C=B,G=!0);if(2<=D){e.As(c,y,b,v,3==D);if(1!=this.dF(a,
- C.ec(),f)&&1!=this.eF(a,C,f))return null;e.dc(C,!1);D=1;v=0}else switch(A=this.eF(a,C,f),A){case 1:G?2>D?(b=t.Db()-c.wa(y),v=1,D=0==D?3:2):v++:(e.dc(C,0==D),D=1);break;case 0:D=0;b=-1;v=0;break;default:return null}C=F}}}else{z=this.dF(a,B.ec(),f);if(0>z)return null;1==z?(2>D&&(b=t.Db()-c.wa(y),D=0==D?3:2),v++):(b=-1,v=0)}q.clear(!1)}else 0!=z&&1==z&&(0==D?(D=3,b=t.Db()-c.wa(y)):1==D?(D=2,b=t.Db()-c.wa(y)):v++)}2<=D&&(e.As(c,y,b,v,3==D),b=-1)}return e};g.prototype.dF=function(b,a,c){return d.ff.ln(b,
- a,c)};g.prototype.eF=function(b,a,c){var e=a.ec();a=a.Cc();var f=d.ff.ln(b,e,c),h=d.ff.ln(b,a,c);if(1==f&&0==h||0==f&&1==h)return-1;if(0==f||0==h)return 0;if(1==f||1==h)return 1;f=new d.b;f.add(e,a);f.scale(.5);b=d.ff.ln(b,f,c);return 0==b?0:1==b?1:-1};g.$=function(b,a){return a?b:b.Ja()};g.prototype.cK=function(){null==this.JI&&(this.JI=this.sf.Ja());return this.JI};g.prototype.Re=function(){return!0};return g}();d.JD=m})(n||(n={}));(function(d){var m=function(g){function b(){g.apply(this,arguments)}
- O(b,g);b.prototype.G=function(){return 28};b.local=function(){null===b.$&&(b.$=new b);return b.$};b.prototype.V=function(a,b,e,f,h,l,g){return a instanceof d.T?(a=new d.hd(a),this.V(a,b,e,f,h,l,g).next()):new d.mN(a,b,e,f,h,l,g)};b.$=null;return b}(d.ef);d.KD=m})(n||(n={}));(function(d){var m=function(){function g(b,a,c,e,d,h,l){this.Ba=-1;this.he=b;this.ek=a;this.Qa=c;this.jj=e;this.hB=d;this.FI=h;this.je=l}g.prototype.next=function(){var b=this.he.next();return null!=b?(this.Ba=this.he.Ha(),this.$M(b)):
- null};g.prototype.Ha=function(){return this.Ba};g.prototype.$M=function(b){var a;a=0>=this.FI?d.ma.ah(this.ek,b,!1):this.FI;return d.SL.V(b,this.Qa,this.jj,this.hB,a,this.je)};g.prototype.Re=function(){return!0};return g}();d.mN=m})(n||(n={}));(function(d){(function(d){d[d.clipToDomainOnly=1]="clipToDomainOnly";d[d.clipWithHorizon=2]="clipWithHorizon";d[d.foldAndClipWithHorizon=3]="foldAndClipWithHorizon"})(d.Up||(d.Up={}));var m=function(g){function b(){g.apply(this,arguments)}O(b,g);b.prototype.G=
- function(){return 0};b.local=function(){null===b.$&&(b.$=new b);return b.$};b.prototype.V=function(a,b,e){return a instanceof d.T?(a=new d.hd(a),this.V(a,b,e).next()):new d.nN(a,b,e)};b.prototype.transform=function(a,b,e,f){return d.ko.transform(a,b,e,f,!0)};b.prototype.iL=function(a,b,e){return d.ko.iL(a,b,e)};b.prototype.Cu=function(a,b,e,f){return d.ko.Cu(a,b,e,f)};b.prototype.VY=function(a,b,e,f){return d.ko.fs(a,b,e,f)};b.prototype.hL=function(a,b,e,f){return d.ko.hL(a,b,e,f)};b.$=null;return b}(d.ef);
- d.ns=m})(n||(n={}));(function(d){var m=function(){function g(b,a,c){this.Ba=-1;this.he=b;this.JV=a;this.je=c}g.prototype.next=function(){var b=this.he.next();return null!=b?(this.Ba=this.he.Ha(),d.ko.Xg(b,this.JV,this.je)):null};g.prototype.Ha=function(){return this.Ba};g.prototype.Re=function(){return!0};return g}();d.nN=m})(n||(n={}));(function(d){var m=function(){function b(){}b.prototype.reset=function(){this.Lh=this.Zk=-1;this.pt=this.Zq=!1};b.prototype.rS=function(a,b,e){for(a.Tb(b,e);a.Ca();){var c=
- a.ba(),c=c.Rb();if(0!=c)return a.Db()}for(a.Tb(b,e);a.nA();)if(c=a.Li(),c=c.Rb(),0!=c)return a.Db();return-1};b.prototype.sS=function(a,b){for(a.Tb(b,-1);a.nA();)if(0!=a.Li().Rb())return a.Db();return-1};b.prototype.qS=function(a,b){a.Tb(b,-1);for(a.ba();a.Ca();)if(0!=a.ba().Rb())return a.Db();return-1};b.prototype.pS=function(a,b,e,f){this.Zk=this.rS(b,e,f);if(-1!=this.Zk){b.Tb(this.Zk,-1);var c=b.ba(),l=c.gc(c.oe(a,!1));e=d.b.sc(l,a);f=new d.b;f.L(l);f.sub(c.ec());l=new d.b;l.L(a);l.sub(c.ec());
- this.Zq=0>f.Ui(l);this.Lh=this.qS(b,this.Zk);if(-1!=this.Lh){b.Tb(this.Lh,-1);var c=b.ba(),g=c.oe(a,!1),g=c.gc(g),r=d.b.sc(g,a);r>e?this.Lh=-1:(f.L(g),f.sub(c.ec()),l.L(a),l.sub(c.ec()),this.pt=0>f.Ui(l))}-1==this.Lh&&(this.Lh=this.sS(b,this.Zk),-1!=this.Lh&&(b.Tb(this.Lh,-1),c=b.ba(),g=c.oe(a,!1),g=c.gc(g),r=d.b.sc(g,a),r>e?this.Lh=-1:(f.L(g),f.sub(c.ec()),l.L(a),l.sub(c.ec()),this.pt=0>f.Ui(l),a=this.Zk,this.Zk=this.Lh,this.Lh=a,a=this.Zq,this.Zq=this.pt,this.pt=a)))}};b.prototype.cQ=function(a,
- b,e,d,h){e=e.Da();this.pS(a,e,d,h);if(-1!=this.Zk&&-1==this.Lh)return this.Zq;if(-1!=this.Zk&&-1!=this.Lh){if(this.Zq==this.pt)return this.Zq;e.Tb(this.Zk,-1);a=e.ba().Eg(1);e.Tb(this.Lh,-1);b=e.ba().Eg(0);return 0<=a.Ui(b)?!0:!1}return b};return b}(),g=function(b){function a(){b.apply(this,arguments)}O(a,b);a.local=function(){null===a.$&&(a.$=new a);return a.$};a.prototype.G=function(){return 3};a.prototype.Yz=function(a,b,f,h){void 0===h&&(h=!1);if(a.u())return new d.Nm;b=b.w();var c=a,e=a.G();
- 197==e&&(c=new d.Ia,c.jd(a,!1),e=1736);switch(e){case 33:return this.EJ(c,b);case 550:return this.qJ(c,b);case 1607:case 1736:return this.YV(c,b,f,h);default:throw d.f.X("not implemented");}};a.prototype.Zz=function(a,b){if(a.u())return new d.Nm;b=b.w();var c=a,e=a.G();197==e&&(c=new d.Ia,c.jd(a,!1),e=1736);switch(e){case 33:return this.EJ(c,b);case 550:case 1607:case 1736:return this.qJ(c,b);default:throw d.f.X("not implemented");}};a.prototype.$z=function(a,b,f,h){if(0>h)throw d.f.F();if(a.u())return[];
- b=b.w();var c=a,e=a.G();197==e&&(c=new d.Ia,c.jd(a,!1),e=1736);switch(e){case 33:return this.DW(c,b,f,h);case 550:case 1607:case 1736:return this.aW(c,b,f,h);default:throw d.f.X("not implemented");}};a.prototype.YV=function(a,b,f,h){if(1736==a.G()&&f&&(f=new d.h,a.s(f),f=d.ma.be(null,f,!1),0!=(h?d.gd.fe(a,b,0):d.gd.fe(a,b,f)))){var c=new d.Nm(b,0,0);h&&c.MK(!0);return c}for(var e=a.Da(),c=new d.b,g=f=-1,t=1.7976931348623157E308,p=0;e.Ya();)for(;e.Ca();){var q=e.ba(),q=q.gc(q.oe(b,!1)),u=d.b.sc(q,
- b);u<t?(p=1,c=q,f=e.Db(),g=e.Ta,t=u):u==t&&p++}c=new d.Nm(c,f,Math.sqrt(t));h&&(e.Tb(f,g),q=e.ba(),h=0>d.b.zp(b,q.ec(),q.Cc()),1<p&&(p=new m,p.reset(),h=p.cQ(b,h,a,f,g)),c.MK(h));return c};a.prototype.EJ=function(a,b){a=a.w();b=d.b.Cb(a,b);return new d.Nm(a,0,b)};a.prototype.qJ=function(a,b){var c=a.Pa(0);a=a.D();for(var e=0,l=0,g=0,r=1.7976931348623157E308,t=0;t<a;t++){var p=new d.b;c.fc(2*t,p);var q=d.b.sc(p,b);q<r&&(l=p.x,g=p.y,e=t,r=q)}c=new d.Nm;c.Ky(l,g,e,Math.sqrt(r));return c};a.prototype.DW=
- function(a,b,f,h){if(0==h)return f=[];f*=f;a=a.w();b=d.b.sc(a,b);b<=f?(f=[],h=new d.Nm,h.Ky(a.x,a.y,0,Math.sqrt(b)),f[0]=h):f=[];return f};a.prototype.aW=function(a,b,f,h){if(0==h)return h=[];var c=a.Pa(0),e=a.D();a=[];var g=0;f*=f;for(var t=0;t<e;t++){var p=c.read(2*t),q=c.read(2*t+1),m=b.x-p,v=b.y-q,m=m*m+v*v;m<=f&&(v=new d.Nm,v.Ky(p,q,t,Math.sqrt(m)),g++,a.push(v))}b=a.length;a.sort(function(a,b){return a.Qa<b.Qa?-1:a.Qa==b.Qa?0:1});if(h>=b)return a.slice(0);a.length=h;return a.slice(0)};a.$=null;
- return a}(d.ef);d.ry=g})(n||(n={}));(function(d){var m=function(g){function b(){g.apply(this,arguments)}O(b,g);b.prototype.G=function(){return 4};b.prototype.V=function(a,b,e,f,h){return d.Om.XB(a,b,e,f,h)};b.local=function(){null===b.$&&(b.$=new b);return b.$};b.prototype.vv=function(a){return d.Fu.bz(a)};b.prototype.qo=function(a,b,e){return d.Fu.SE(a,b,e)};b.$=null;return b}(d.ef);d.oN=m})(n||(n={}));(function(d){var m=function(g){function b(){g.apply(this,arguments)}O(b,g);b.prototype.G=function(){return 33};
- b.prototype.V=function(a,b,e,f,h){return 1073741824===a?!d.Fd.YB(b,e,f,4,h):d.Fd.YB(b,e,f,a,h)};b.local=function(){null===b.$&&(b.$=new b);return b.$};b.prototype.vv=function(a){return d.Fu.bz(a)};b.prototype.qo=function(a,b,e){return d.Fu.SE(a,b,e)};b.$=null;return b}(d.ef);d.Gj=m})(n||(n={}));(function(d){var m=function(){function g(b,a,c,e){this.je=e;this.qV=c;this.Ba=-1;if(null==b)throw d.f.F();this.$k=b;this.ek=a}g.prototype.next=function(){var b;return null!=(b=this.$k.next())?(this.Ba=this.$k.Ha(),
- this.BC(b)):null};g.prototype.Ha=function(){return this.Ba};g.prototype.BC=function(b){if(null==b)throw d.f.F();return d.sy.SK(b,this.ek,this.qV,this.je)};g.prototype.Re=function(){return!0};return g}();d.pN=m})(n||(n={}));(function(d){var m=function(g){function b(){g.apply(this,arguments)}O(b,g);b.prototype.G=function(){return 26};b.prototype.V=function(a,b,e,f){return a instanceof d.T?(a=new d.hd(a),this.V(a,b,e,f).next()):new d.pN(a,b,e,f)};b.prototype.Vq=function(a,b,e,f,h){return 0<(void 0!==
- f?d.sy.Vq(a,b,e,f,h):d.sy.Vq(a,b,!1,null,e))};b.local=function(){null===b.$&&(b.$=new b);return b.$};b.$=null;return b}(d.ef);d.Lm=m})(n||(n={}));(function(d){var m=function(){function a(){this.mr=0}a.prototype.gY=function(a){this.mr&=-2;this.mr|=a?1:0};a.prototype.gn=function(){return 0!=(this.mr&1)};a.prototype.gH=function(){return this.gn()?0:1};return a}();d.JZ=m;var g=function(){return function(){}}(),b=function(){return function(a,b,c,e){this.x=a;this.y=b;this.$i=c;this.mn=e}}(),a=function(){function a(a){this.bf=
- a}a.prototype.compare=function(a,b,c){a=a.ja(c);b=this.bf.Nf.read(2*b);a=this.bf.Nf.read(2*a);b-=a;return 0>b?-1:0<b?1:0};return a}(),c=function(){function a(a){this.bf=a}a.prototype.compare=function(a,b,c){b=this.bf.ib[b];a=this.bf.ib[a.ja(c)];var e=b.gn(),d=a.gn();c=b.Le.pf(this.bf.wp,0);var f=a.Le.pf(this.bf.wp,0);c==f&&(c=Math.min(e?b.Le.ra:b.Le.oa,d?a.Le.ra:a.Le.oa),e=.5*(c-this.bf.wp)+this.bf.wp,e==this.bf.wp&&(e=c),c=b.Le.pf(e,0),f=a.Le.pf(e,0));return c<f?-1:c>f?1:0};return a}(),e=function(){function a(a,
- b){this.PJ=new d.b;this.parent=a;this.XT=b}a.prototype.gs=function(a,b,c){var e=this.parent,d=this.XT;c.Gd(a,b,function(a,b){return e.ki(a,b,d)})};a.prototype.Qq=function(a){a=this.parent.Gi.get(a);this.parent.Nf.fc(2*(a>>1),this.PJ);return this.PJ.y+(0!=(a&1)?this.parent.gk:-this.parent.gk)};return a}(),f=function(){function f(a,b,c,e,f){this.yI=a.description;this.Y=a;this.mh=b;this.gk=d.ma.ah(this.mh,a,!1);this.pp=d.ma.ah(this.mh,a,!0);this.cB=c;this.oV=this.yI.Ea;this.ib=[];this.cp=[];this.Hh=
- new d.Xp;this.hb=new d.tk;this.ve=new d.$d;this.jI=this.Ul=f}f.prototype.zA=function(){this.jI=!0;return(!d.T.Ic(this.Y.G())||this.MF()&&this.LF(!1))&&this.oQ()?d.T.Ic(this.Y.G())?this.rQ()?1607==this.Y.G()?this.tQ()?2:0:this.uQ()?this.vQ():0:0:2:0};f.prototype.HC=function(a,b){var c=this.Nf.read(2*a);a=this.Nf.read(2*a+1);var e=this.Nf.read(2*b);b=this.Nf.read(2*b+1);var f=!d.Hu.ow(c,a,e,b,this.gk*this.gk);return f?f:0==this.Y.tb()?!1:c==e&&a==b};f.prototype.MF=function(){for(var a=this.Y,b=a.$f?
- 3:2,c=0,e=a.aa();c<e;c++)if(a.Ka(c)<b)return this.ve=new d.$d(1,c,0),!1;return!0};f.prototype.LF=function(a){for(var b=this.Y,c=b.Da(),e=b.hasAttribute(1),b=e?d.ma.EF(this.mh,b,!1):0;c.Ya();)for(;c.Ca();){var f=c.ba();if(!(f.Rb()>this.gk)){if(a&&e){var h=f.ct(1,0),f=f.ct(1,0);if(Math.abs(f-h)>b)continue}this.ve=new d.$d(2,c.Db(),-1);return!1}}return!0};f.prototype.oQ=function(){var b=this.Y,c=null;d.T.Ic(this.Y.G())&&(c=this.Y);var f=(this.jI||this.Ul)&&null!=c,h=b.D();this.Nf=b.Pa(0);this.Gi=new d.ia(0);
- this.Gi.yb(2*h);this.Fi=new d.ia(0);this.Fi.yb(2*h);f&&(null==this.im&&(this.im=new d.ia(0)),this.im.yb(h));for(var g=b=0;g<h;g++)if(this.Gi.add(2*g),this.Gi.add(2*g+1),this.Fi.add(2*g),this.Fi.add(2*g+1),f){for(;g>=c.Gc(b);)b++;this.im.add(b)}(new d.Gu).sort(this.Fi,0,2*h,new e(this,f));this.hb.clear();this.hb.Ep(new a(this));this.hb.Qe(h);c=0;for(h*=2;c<h;c++)if(f=this.Fi.get(c),b=this.Gi.get(f),f=b>>1,0==(b&1)){b=this.hb.addElement(f,-1);g=this.hb.Ve(b);if(-1!=g&&!this.HC(this.hb.ja(g),f))return this.ve=
- new d.$d(3,f,this.hb.ja(g)),!1;var q=this.hb.nb(b);if(-1!=q&&!this.HC(this.hb.ja(q),f))return this.ve=new d.$d(3,f,this.hb.ja(q)),!1}else if(b=this.hb.search(f,-1),g=this.hb.Ve(b),q=this.hb.nb(b),this.hb.Ld(b,-1),-1!=g&&-1!=q&&!this.HC(this.hb.ja(g),this.hb.ja(q)))return this.ve=new d.$d(3,this.hb.ja(g),this.hb.ja(q)),!1;return!0};f.prototype.rQ=function(){return 10>this.Y.D()?this.pQ():this.qQ()};f.prototype.qQ=function(){var a=new d.fd;a.Jb(this.Y);var b=new d.$d;return d.Ju.sJ(!1,a,this.gk,b,this.je)?
- (b.lm=a.Za(b.lm),b.mm=a.Za(b.mm),this.ve.ls(b),!1):!0};f.prototype.pQ=function(){for(var a=this.Y,b=a.Da(),a=a.Da();b.Ya();)for(;b.Ca();){var c=b.ba();if(!b.Io()||!b.SU()){a.xX(b);do for(;a.Ca();){var e=a.ba(),e=c.xs(e,this.gk,!0);if(0!=e)return this.ve=new d.$d(2==e?5:4,b.Db(),a.Db()),!1}while(a.Ya())}}return!0};f.prototype.uQ=function(){var a=this.Y;this.ib.length=0;this.cp.length=0;this.ug=a.Da();this.ug.iC();var b=new d.ia(0);b.yb(10);for(var c=NaN,e=0,f=0,a=2*a.D();f<a;f++){var h=this.Fi.get(f),
- h=this.Gi.get(h);if(0==(h&1)){var h=h>>1,g=this.Nf.read(2*h),m=this.Nf.read(2*h+1);if(0!=b.size&&(g!=c||m!=e)){if(!this.JJ(b))return!1;null!=b&&b.clear(!1)}b.add(h);c=g;e=m}}return this.JJ(b)?!0:!1};f.prototype.tQ=function(){for(var a=this.Y,b=Array(a.aa()),c=0,e=a.aa();c<e;c++)b[c]=a.Eo(c);var e=new g,f,h,m,v=new d.b,c=this.Fi.get(0),c=this.Gi.get(c),n=c>>1;this.Nf.fc(2*n,v);c=this.im.get(n);f=b[c];h=a.wa(c);m=a.Gc(c)-1;e.Il=n==h||n==m;e.Ty=this.Ul?!f&&e.Il:e.Il;e.$i=c;e.x=v.x;e.y=v.y;e.mn=n;for(var w=
- new g,y=1,D=this.Fi.size;y<D;y++)if(c=this.Fi.get(y),c=this.Gi.get(c),0==(c&1)){n=c>>1;this.Nf.fc(2*n,v);c=this.im.get(n);c!=e.$i&&(f=b[c],h=a.wa(c),m=a.Gc(c)-1);var z,B=n==h||n==m;z=this.Ul?!f&&e.Il:e.Il;w.x=v.x;w.y=v.y;w.$i=c;w.mn=n;w.Ty=z;w.Il=B;if(w.x==e.x&&w.y==e.y)if(this.Ul){if(!w.Ty||!e.Ty)if(w.$i!=e.$i||!w.Il&&!e.Il)return this.ve=new d.$d(8,w.mn,e.mn),!1}else if(!w.Il||!e.Il)return this.ve=new d.$d(5,w.mn,e.mn),!1;c=e;e=w;w=c}return!0};f.prototype.OF=function(){for(var a=this.Y,c=[],e=-1,
- f=!1,h=0,g=a.aa();h<g;h++)a.qw(h)&&(f=!1,e++,h<g-1&&(a.qw(h+1)||(f=!0))),c[h]=f?e:-1;var f=new d.b,h=this.Fi.get(0),h=this.Gi.get(h),m=h>>1;this.Nf.fc(2*m,f);for(var h=this.im.get(m),e=new b(f.x,f.y,h,m,c[h]),a=[],v=1,g=this.Fi.size;v<g;v++)if(h=this.Fi.get(v),h=this.Gi.get(h),0==(h&1)){m=h>>1;this.Nf.fc(2*m,f);h=this.im.get(m);h=new b(f.x,f.y,h,m,c[h]);if(h.x==e.x&&h.y==e.y){if(h.$i==e.$i)return this.ve=new d.$d(9,h.mn,e.mn),!1;0<=c[h.$i]&&c[h.$i]==c[e.$i]&&(0!=a.length&&a[a.length-1]==e||a.push(e),
- a.push(h))}e=h}if(0==a.length)return!0;h=new d.Xp(!0);d.J.Mv(c,-1);f=-1;v=new d.b;v.$c();e=0;for(g=a.length;e<g;e++){m=a[e];if(m.x!=v.x||m.y!=v.y)f=h.mi(0),v.x=m.x,v.y=m.y;var n=c[m.$i];-1==n&&(n=h.mi(2),c[m.$i]=n);h.addElement(n,f);h.addElement(f,n)}g=new d.ia(0);g.yb(10);for(e=h.Ge;-1!=e;e=h.aA(e))if(a=h.ZG(e),0==(a&1)&&0!=(a&2)){a=-1;g.add(e);for(g.add(-1);0<g.size;){f=g.Fc();g.Pf();v=g.Fc();g.Pf();m=h.ZG(v);if(0!=(m&1)){a=0==(m&2)?f:v;break}h.ZX(v,m|1);for(m=h.xc(v);-1!=m;m=h.nb(m))n=h.getData(m),
- n!=f&&(g.add(n),g.add(v))}if(-1!=a){h=-1;e=0;for(g=c.length;e<g;e++)if(c[e]==a){h=e;break}this.ve=new d.$d(10,h,-1);return!1}}return!0};f.prototype.vQ=function(){var a=this.Y;if(0>=a.hf())return this.ve=new d.$d(6,1==a.aa()?1:-1,-1),0;if(1==a.aa())return this.Ul&&!this.OF()?0:2;this.hp=d.ia.yd(a.aa(),0);this.oB=d.ia.yd(a.aa(),-1);for(var b=-1,e=0,f=0,h=a.aa();f<h;f++){var g=a.Tm(f);this.hp.write(f,0>g?0:256);if(0<g)b=f,e=g;else{if(0==g)return this.ve=new d.$d(6,f,-1),0;if(0>b||e<Math.abs(g))if(this.ve=
- new d.$d(7,f,-1),this.Ul)return 0;this.oB.write(f,b)}}this.Vt=a.aa();this.Cn=new d.ia(0);this.Cn.yb(10);h=a.D();this.wp=NaN;a=new d.ia(0);a.yb(10);this.Ir=d.ia.yd(h,-1);this.tx=d.ia.yd(h,-1);null!=this.Xj?this.Xj.clear(!1):this.Xj=new d.ia(0);this.Xj.yb(10);this.hb.clear();this.hb.Ep(new c(this));b=0;for(h*=2;0<this.Vt&&b<h;b++)if(e=this.Fi.get(b),e=this.Gi.get(e),0==(e&1)){e>>=1;f=this.Nf.read(2*e+1);if(f!=this.wp&&0!=a.size){if(!this.iu(a))return 0;null!=a&&a.clear(!1)}a.add(e);this.wp=f}return 0<
- this.Vt&&!this.iu(a)?0:this.Ul?0==this.ve.Ii&&this.OF()?2:0:0==this.ve.Ii?2:1};f.prototype.JJ=function(a){if(1==a.size)return!0;for(var b=0,c=a.size;b<c;b++){var e=a.get(b);this.ug.Tb(e);var f=this.ug.Li();this.ib.push(this.Fv(f,e,this.ug.Ta,!0));this.ug.ba();f=this.ug.ba();this.ib.push(this.Fv(f,e,this.ug.Ta,!1))}var h=this;this.ib.sort(function(a,b){return h.TR(a,b)});e=this.Hh.Ge;-1==e&&(e=this.Hh.mi(0));this.Hh.Wn(this.ib.length);b=0;for(c=this.ib.length;b<c;b++)this.Hh.addElement(e,b);for(var b=
- !0,l=c=-1;b;){b=!1;f=this.Hh.xc(e);if(-1==f)break;for(var g=this.Hh.nb(f);-1!=g;){c=this.Hh.getData(f);l=this.Hh.getData(g);c=this.ib[c].up;l=this.ib[l].up;if(c==l)if(b=!0,this.Hh.kd(e,f),f=this.Hh.Ve(g),g=this.Hh.kd(e,g),-1==g||-1==f)break;else continue;f=g;g=this.Hh.nb(f)}}b=this.Hh.$s(e);this.Hh.PF(e);if(0<b)return this.ve=new d.$d(5,c,l),!1;b=0;for(c=a.size;b<c;b++)this.UB(this.ib[b]);this.ib.length=0;return!0};f.prototype.iu=function(a){for(var b=0,c=a.size;b<c;b++){var e=a.get(b),f=this.Ir.read(e);
- if(-1!=f){var h=this.hb.ja(f);this.Xj.add(h);this.hb.Ld(f,-1);this.UB(this.ib[h]);this.ib[h]=null;this.Ir.write(e,-1)}f=this.tx.read(e);-1!=f&&(h=this.hb.ja(f),this.Xj.add(h),this.hb.Ld(f,-1),this.UB(this.ib[h]),this.ib[h]=null,this.tx.write(e,-1))}b=0;for(c=a.size;b<c;b++){e=a.get(b);this.ug.Tb(e);f=this.ug.Li();if(f.ra>f.oa){var l=this.ug.Db(),g=this.Fv(f,e,this.ug.Ta,!0);0<this.Xj.size?(h=this.Xj.Fc(),this.Xj.Pf(),this.ib[h]=g):(h=this.ib.length,this.ib.push(g));f=this.hb.addElement(h,-1);-1==
- this.Ir.read(l)?this.Ir.write(l,f):this.tx.write(l,f);0==(this.hp.read(this.ug.Ta)&3)&&this.Cn.add(f)}this.ug.ba();f=this.ug.ba();f.ra<f.oa&&(l=this.ug.Ik(),g=this.Fv(f,e,this.ug.Ta,!1),0<this.Xj.size?(h=this.Xj.Fc(),this.Xj.Pf(),this.ib[h]=g):(h=this.ib.length,this.ib.push(g)),f=this.hb.addElement(h,-1),-1==this.Ir.read(l)?this.Ir.write(l,f):this.tx.write(l,f),0==(this.hp.read(this.ug.Ta)&3)&&this.Cn.add(f))}b=0;for(c=this.Cn.size;b<c&&0<this.Vt;b++)if(f=this.Cn.get(b),0==(this.hp.read(this.ib[this.hb.ja(f)].nB)&
- 3)){a=-1;for(var e=this.hb.Ve(f),m=f,g=null,h=-1,n=0;-1!=e;){h=this.hb.ja(e);g=this.ib[h];h=g.nB;n=this.hp.read(h);if(0!=(n&3))break;m=e;e=this.hb.Ve(e)}-1==e?(l=1,e=m):(a=1==(n&3)?h:this.oB.read(h),l=0!=g.gH()?0:1,e=this.hb.nb(e));do{h=this.hb.ja(e);g=this.ib[h];h=g.nB;m=this.hp.read(h);if(0==(m&3)){if(l!=g.gH())return this.ve=new d.$d(6,h,-1),!1;n=0==l||g.gn()?2:1;m=m&252|n;this.hp.write(h,n);if(2==n&&0==this.ve.Ii&&this.oB.read(h)!=a&&(this.ve=new d.$d(7,h,-1),this.Ul))return!1;this.Vt--;if(0==
- this.Vt)return!0}1==(m&3)&&(a=h);m=e;e=this.hb.nb(e);l=0!=l?0:1}while(m!=f)}null!=this.Cn?this.Cn.clear(!1):this.Cn=new d.ia(0);return!0};f.prototype.Fv=function(a,b,c,e){if(322==a.G())a=this.qR(a);else throw d.f.ya();a.up=b;a.nB=c;a.mr=0;a.gY(e);return a};f.prototype.qR=function(a){var b;0<this.cp.length?(b=this.cp[this.cp.length-1],--this.cp.length,a.copyTo(b.Le)):(b=new m,b.Le=d.bE.ne(a));return b};f.prototype.UB=function(a){322==a.Le.G()&&this.cp.push(a)};f.prototype.ZV=function(){for(var a=this.Y.D(),
- b=new d.ia(0),c=0;c<a;c++)b.add(c);var e=this;b.Gd(0,a,function(a,b){return e.Bv(a,b)});for(c=1;c<a;c++)if(0==this.Bv(b.get(c-1),b.get(c)))return this.ve=new d.$d(3,b.get(c-1),b.get(c)),0;return 2};f.prototype.IW=function(){return this.MF()?this.LF(!0)?2:0:0};f.prototype.GW=function(){return this.zA()};f.prototype.$V=function(){for(var a=this.Y.D(),b=new d.ia(0),c=0;c<a;c++)b.add(c);var e=this;b.Gd(0,a,function(a,b){return e.RQ(a,b)});var f=Array(a);d.J.Mv(f,!1);f[b.get(0)]=!0;for(c=1;c<a;c++){var h=
- b.get(c-1),g=b.get(c);0==this.Bv(h,g)?f[g]=!1:f[g]=!0}for(var b=this.Y.Ja(),h=this.Y,g=0,m=1,c=0;c<a;c++)f[c]?m=c+1:(g<m&&b.Jd(h,g,m),g=c+1);g<m&&b.Jd(h,g,m);b.Zg(2,this.pp);return b};f.prototype.JW=function(){var a=this.Y,b=a.Da(),c=a.Da(),e=this.Y.Ja(),f=this.Y,h=a.hasAttribute(1),g=h?d.ma.EF(this.mh,a,!0):0,m=new d.ia(0),n=new d.ia(0);m.yb(d.J.truncate(a.D()/2+1));for(n.yb(d.J.truncate(a.D()/2+1));b.Ya();)if(c.Ya(),!(2>a.Ka(b.Ta))){c.zX();for(var w,y,D=!0;b.Ca();){var z=b.ba(),B=c.Li();if(b.Db()>
- c.Db())break;D&&(m.add(b.Db()),n.add(c.Ik()),D=!1);y=m.Fc();var A=b.Ik();if(1<A-y){var C=new d.b;C.zc(a.Aa(y),a.Aa(A));w=C.length()}else w=z.Rb();y=n.Fc();A=c.Db();1<A-y?(C=new d.b,C.zc(a.Aa(y),a.Aa(A)),y=C.length()):y=B.Rb();w>this.pp?m.add(b.Ik()):h&&(w=a.Yc(1,m.Fc(),0),z=z.Ns(1,0),Math.abs(z-w)>g&&m.add(b.Ik()));y>this.pp?n.add(c.Db()):h&&(w=a.Yc(1,n.Fc(),0),z=B.Ns(1,0),Math.abs(z-w)>g&&n.add(c.Db()))}m.Fc()<n.Fc()?m.size>n.size?m.Pf():n.Pf():(m.Fc()!=n.Fc()&&n.Pf(),n.Pf());if(2<=n.size+m.size){D=
- new d.Wa;B=0;for(z=m.size;B<z;B++)f.Ae(m.get(B),D),0==B?e.Rf(D):e.lineTo(D);for(B=n.size-1;0<B;B--)f.Ae(n.get(B),D),e.lineTo(D);f.Qb(b.Ta)?e.sq():0<n.size&&(f.Ae(n.get(0),D),e.lineTo(D))}null!=m&&m.clear(!1);null!=n&&n.clear(!1)}e.Zg(2,this.pp);return e};f.prototype.HW=function(){return this.wY()};f.prototype.wY=function(){if(1736==this.Y.G()&&1==this.Y.xo())return d.Dg.ol(this.Y,this.pp,!0,!1,this.je);this.gj=new d.fd;this.gj.Jb(this.Y);0!=this.gj.ud&&(1!=this.cB&&d.rk.V(this.gj,this.pp,this.je,
- !0),1736==this.Y.G()&&d.lo.V(this.gj,this.gj.rd,this.cB,!1,this.je));this.Y=this.gj.Se(this.gj.rd);1736==this.Y.G()&&(this.Y.Al(),this.Y.Hp(0));this.Y.Zg(2,this.pp);return this.Y};f.uc=function(a,b,c){if(a.u())return 1;var e=a.G();if(33==e)return 1;if(197==e)return c=new d.h,a.s(c),c.fh(d.ma.ah(b,a,!1))?0:1;if(d.T.Oc(e))throw d.f.ya();if(!d.T.gh(e))throw d.f.ya();var e=d.ma.ah(b,a,!1),h=a.Kk(e);c=c?-1:h;if(-1!=c)return c;1==c&&(e=0);c=(new f(a,b,c,0,!1)).zA();a.Zg(c,e);return c};f.Vq=function(a,b,
- c,e,h){null!=e&&(e.Ii=0,e.lm=-1,e.mm=-1);if(a.u())return 1;var l=a.G();if(33==l)return 1;var g=d.ma.ah(b,a,!1);if(197==l)return b=new d.h,a.s(b),b.fh(g)?(null!=e&&(e.Ii=2,e.lm=-1,e.mm=-1),0):1;if(d.T.Oc(l))return g=new d.Ua(a.description),g.dc(a,!0),f.Vq(g,b,c,e,h);h=a.Kk(g);c=c?-1:h;if(-1!=c)return c;b=new f(a,b,c,0,!1);if(550==l)c=b.ZV();else if(1607==l)c=b.IW();else if(1736==l)c=b.GW();else throw d.f.ya();a.Zg(c,g);null!=e&&0==c&&e.ls(b.ve);return c};f.Bb=function(a,b,c,e,h){null!=e&&(e.Ii=0,e.lm=
- -1,e.mm=-1);if(a.u())return 1;var l=a.G();if(33==l)return 1;var g=d.ma.ah(b,a,!1);if(197==l)return b=new d.h,a.s(b),b.fh(g)?(null!=e&&(e.Ii=2,e.lm=-1,e.mm=-1),0):1;if(d.T.Oc(l))return l=new d.Ua(a.description),l.dc(a,!0),f.Vq(l,b,c,e,h);a=new f(a,b,-1,0,!0);if(550==l||1607==l||1736==l)b=a.zA();else throw d.f.ya();null!=e&&e.ls(a.ve);return b};f.SK=function(a,b,c,e){if(a.u())return a;var h=a.G();if(33==h)return a;var l=d.ma.ah(b,a,!1);if(197==h)return b=new d.h,a.s(b),b.fh(l)?a.Ja():a;if(d.T.Oc(h))return h=
- new d.Ua(a.description),h.dc(a,!0),f.SK(h,b,c,e);e=a.Kk(l);c=c?-1:e;if(2==c)return a;a=new f(a,b,c,0,!1);if(550==h)a=a.$V();else if(1607==h)a=a.JW();else if(1736==h)a=a.HW();else throw d.f.ya();return a};f.CC=function(a,b,c,e){if(a.u())return a;var h=a.G();if(33==h)return a;var l=d.ma.ah(b,a,!1);if(197==h)return b=new d.h,a.s(b),b.fh(l)?a.Ja():a;if(d.T.Oc(h))return l=new d.Ua(a.description),l.dc(a,!0),f.CC(l,b,c,e);if(!d.T.gh(h))throw d.f.X("OGC simplify is not implemented for this geometry type "+
- h);return d.Dg.CC(a,l,!1,e)};f.prototype.ki=function(a,b,c){if(a==b)return 0;a=this.Gi.get(a);var e=this.Gi.get(b);b=a>>1;var f=e>>1,h=new d.b,l=new d.b;this.Nf.fc(2*b,h);h.y+=0!=(a&1)?this.gk:-this.gk;this.Nf.fc(2*f,l);l.y+=0!=(e&1)?this.gk:-this.gk;a=h.compare(l);return 0==a&&c?(c=this.im.get(b)-this.im.get(f),0>c?-1:0<c?1:0):a};f.prototype.Bv=function(a,b){if(a==b)return 0;var c=this.Y,e=c.Aa(a),f=c.Aa(b);if(e.x<f.x)return-1;if(e.x>f.x)return 1;if(e.y<f.y)return-1;if(e.y>f.y)return 1;for(e=1;e<
- this.oV;e++)for(var f=this.yI.zd(e),h=d.na.Xa(f),l=0;l<h;l++){var g=c.Yc(f,a,l),k=c.Yc(f,b,l);if(g<k)return-1;if(g>k)return 1}return 0};f.prototype.RQ=function(a,b){var c=this.Bv(a,b);return 0==c?a<b?-1:1:c};f.prototype.TR=function(a,b){if(a===b)return 0;var c=a.Le.Eg(a.gn()?1:0);a.gn()&&c.Kr();a=b.Le.Eg(b.gn()?1:0);b.gn()&&a.Kr();b=c.Zu();var e=a.Zu();return e==b?(b=c.Ui(a),Math.abs(b)<=8.881784197001252E-16*(Math.abs(a.x*c.y)+Math.abs(a.y*c.x))&&(b--,b++),0>b?1:0<b?-1:0):b<e?-1:1};return f}();d.sy=
- f})(n||(n={}));(function(d){var m=function(g){function b(){g.apply(this,arguments)}O(b,g);b.prototype.G=function(){return 30};b.local=function(){null===b.$&&(b.$=new b);return b.$};b.prototype.V=function(a,b,e,f){return a instanceof d.T?(a=new d.hd(a),b=new d.hd(b),this.V(a,b,e,f).next()):new d.qN(a,b,e,f)};b.Pp=function(a,c,e,f){var h=a.tb(),l=c.tb();if(a.u()&&c.u())return h>l?a:c;if(a.u())return c;if(c.u())return a;var g=new d.h,r=new d.h,t=new d.h;a.s(g);c.s(r);t.I(g);t.Nb(r);g=d.ma.be(e,t,!1);
- r=a.G();t=c.G();return 33==r&&33==t?b.mO(a,c,g):r!=t?0<h||0<l?h>l?a:c:550==r?b.WJ(a,c,g):b.WJ(c,a,g):d.Dg.Pp(a,c,e,f)};b.mO=function(a,b,e){e=e*Math.sqrt(2)*1.00001;e*=e;var c=a.w(),h=b.w(),l=new d.Ed(a.description);d.b.sc(c,h)>e&&(l.add(a),l.add(b));return l};b.WJ=function(a,b,e){var c=a.Pa(0),h=a.D(),l=b.w(),g=a.Ja();e=e*Math.sqrt(2)*1.00001;var r=new d.h;a.s(r);r.O(e,e);if(r.contains(l)){e*=e;for(var r=!1,t=[],p=0;p<h;p++)t[p]=!1;for(p=0;p<h;p++){var m=c.read(2*p),u=c.read(2*p+1),m=m-l.x,u=u-l.y;
- m*m+u*u<=e&&(r=!0,t[p]=!0)}if(r)for(p=0;p<h;p++)t[p]||g.Jd(a,p,p+1);else g.Jd(a,0,h),g.add(b)}else g.Jd(a,0,h),g.add(b);return g};b.$=null;return b}(d.ef);d.ty=m})(n||(n={}));(function(d){var m=function(){function g(b,a,c,e){this.nt=null==a;this.Ba=-1;this.he=b;this.Rg=c;this.KV=a.next();this.lc=e}g.prototype.next=function(){if(this.nt)return null;var b;return null!=(b=this.he.next())?(this.Ba=this.he.Ha(),d.ty.Pp(b,this.KV,this.Rg,this.lc)):null};g.prototype.Ha=function(){return this.Ba};g.prototype.Re=
- function(){return!0};return g}();d.qN=m})(n||(n={}));(function(d){var m=function(){function a(){}a.prototype.jw=function(){this.Gz=null;this.fy=-1;this.qL=!1};return a}(),g=function(){function a(){this.Ds=0;this.Pj=[]}a.prototype.oP=function(a){this.Ds+=a.fy;this.Pj.push(a)};a.prototype.KW=function(){this.Ds-=this.Pj[this.Pj.length-1].fy;--this.Pj.length};a.prototype.Sy=function(){return this.Pj[this.Pj.length-1]};a.prototype.Eb=function(a){return a===this};return a}(),b=function(){function a(a,b,
- d){this.Ba=-1;this.Pc=!1;this.OI=[!1,!1,!1,!1];this.ir=[0,0,0,0];this.RA=!1;this.bl=-1;this.Xq=0;this.Ro=-1;this.rp=[];this.he=a;this.Rg=b;this.lc=d}a.uc=function(a){var b=[],c;for(c in a)b.push(Number(c));b.sort(function(a,b){return a-b});return b};a.prototype.rH=function(b){var c=this.rp[b],f=a.uc(c)[0],h=c[f],l=h.Sy().Gz,h=h.Sy().qL;delete c[f];h&&(l=d.Lm.local().V(l,this.Rg,!1,this.lc),0==b&&33==l.G()&&(b=new d.Ed(l.description),l.u()||b.add(l),l=b));return l};a.prototype.next=function(){if(this.Pc&&
- this.Ro==this.bl)return null;for(;!this.bL(););if(-1==this.bl)return null;if(this.RA){for(this.Ro++;;){if(this.Ro>this.bl||0>this.Ro)throw d.f.ya();if(this.OI[this.Ro])break}this.Ba++;return this.rH(this.Ro)}this.Ba=0;this.Ro=this.bl;return this.rH(this.bl)};a.prototype.Ha=function(){return this.Ba};a.prototype.bL=function(){if(this.Pc)return!0;var a=null;null!=this.he&&(a=this.he.next(),null==a&&(this.Pc=!0,this.he=null));if(null!=a){var b=a.tb();this.OI[b]=!0;b>=this.bl&&!this.RA&&(this.bF(b,!1,
- a),b>this.bl&&!this.RA&&this.vX(b))}if(0<this.Xq)for(b=0;b<=this.bl;b++)for(;1<this.ir[b];)if(a=this.HQ(b),0!=a.length)a=d.Dg.QR(a,this.Rg,this.lc),this.bF(b,!0,a);else break;return this.Pc};a.prototype.HQ=function(b){for(var c=[],d=[],h=this.rp[b],l=a.uc(h),g=0;g<l.length;g++){var r=l[g],t=h[r];if(this.Pc||1E4<t.Ds&&1<t.Pj.length){this.ir[b]-=t.Pj.length;for(this.Xq-=t.Pj.length;0<t.Pj.length;)c.push(t.Sy().Gz),t.KW();d.push(r)}}for(g=0;g<d.length;g++)delete h[d[g]];return c};a.prototype.vX=function(a){for(var b=
- 0;b<a;b++)this.rp[b]=[],this.Xq-=this.ir[b],this.ir[b]=0};a.prototype.bF=function(b,e,d){var c=new m;c.jw();c.Gz=d;d=a.Mg(d);c.fy=d;d=a.We(d);if(b+1>this.rp.length)for(var f=0,k=Math.max(2,b+1);f<k;f++)this.rp.push([]);f=this.rp[b][d];void 0===f&&(f=new g,this.rp[b][d]=f);c.qL=e;f.oP(c);this.ir[b]++;this.Xq++;this.bl=Math.max(this.bl,b)};a.We=function(a){return 0<a?d.J.truncate(Math.log(a)/Math.log(4)+.5):0};a.Mg=function(a){var b=a.G();if(d.T.gh(b))return a.D();if(33==b)return 1;if(197==b)return 4;
- if(d.T.Oc(b))return 2;throw d.f.ya();};a.prototype.Re=function(){return this.bL()};return a}();d.sN=b})(n||(n={}));(function(d){var m=function(g){function b(){g.apply(this,arguments)}O(b,g);b.prototype.G=function(){return 1};b.prototype.V=function(a,b,e,f){return void 0===f?new d.sN(a,b,e):this.ZR(a,b,e,f)};b.prototype.ZR=function(a,b,e,f){a=new d.hd([a,b]);return this.V(a,e,f).next()};b.local=function(){null===b.$&&(b.$=new b);return b.$};b.$=null;return b}(d.ef);d.ei=m})(n||(n={}));(function(d){var m;
- (function(d){d[d.nextPath=0]="nextPath";d[d.nextSegment=1]="nextSegment";d[d.iterate=2]="iterate"})(m||(m={}));m=function(){function g(b,a,c,e){this.Nt=new d.h;this.DV=b;this.EV=a;this.ar=e;this.ip=-1;this.Vl=!1;var f=b.ob;null!=f&&(f=e?f.np:f.Mb,null!=f&&(this.Pc=!1,this.ta=c,this.Mb=f,this.kx=this.Mb.mf(),this.br=this.Vl=!0,this.Zb=0,e?this.ip=a.aa():this.Cd=a.Da()));this.Vl||(f=a.ob,null!=f&&(f=e?f.np:f.Mb,null!=f&&(this.Pc=!1,this.ta=c,this.Mb=f,this.kx=this.Mb.mf(),this.Vl=!0,this.br=!1,this.Zb=
- 0,e?this.ip=b.aa():this.Cd=b.Da())));this.Vl||(this.Ci=e?d.ma.cT(b,a,c,1<=b.Kk(0),1<=a.Kk(0)):d.ma.bT(b,a,c))}g.prototype.next=function(){if(this.Vl){if(this.Pc)return!1;for(var b=!0;b;)switch(this.Zb){case 0:b=this.gW();break;case 1:b=this.hW();break;case 2:b=this.BA();break;default:throw d.f.X("internal error");}return this.Pc?!1:!0}return null==this.Ci?!1:this.Ci.next()};g.prototype.Ql=function(){return this.Vl?this.br?this.Mb.ja(this.At):this.ar?this.ip:this.Cd.Db():this.Ci.Ql(this.Ci.sg)};g.prototype.Ml=
- function(){return this.Vl?this.br?this.ar?this.ip:this.Cd.Db():this.Mb.ja(this.At):this.Ci.Ml(this.Ci.bg)};g.prototype.dA=function(){if(!this.ar)throw d.f.X("internal error");return this.Vl?this.br?this.Mb.QG(this.At):this.Nt:this.Ci.dA(this.Ci.sg)};g.prototype.Hz=function(){if(!this.ar)throw d.f.X("internal error");return this.Vl?this.br?this.Nt:this.Mb.QG(this.At):this.Ci.Hz(this.Ci.bg)};g.prototype.gW=function(){if(!this.ar){if(!this.Cd.Ya())return this.Pc=!0,!1;this.Zb=1;return!0}if(-1==--this.ip)return this.Pc=
- !0,!1;this.br?this.EV.ik(this.ip,this.Nt):this.DV.ik(this.ip,this.Nt);this.kx.Ni(this.Nt,this.ta);this.Zb=2;return!0};g.prototype.hW=function(){if(!this.Cd.Ca())return this.Zb=0,!0;var b=this.Cd.ba();this.kx.Xn(b,this.ta);this.Zb=2;return!0};g.prototype.BA=function(){this.At=this.kx.next();return-1==this.At?(this.Zb=this.ar?0:1,!0):!1};return g}();d.Mm=m})(n||(n={}));(function(d){d=d.AN||(d.AN={});d[d.enumClosed=1]="enumClosed";d[d.enumHasNonlinearSegments=2]="enumHasNonlinearSegments";d[d.enumOGCStartPolygon=
- 4]="enumOGCStartPolygon";d[d.enumCalcMask=4]="enumCalcMask"})(n||(n={}));(function(d){var m=function(){function g(){}g.Cb=function(b,a,c,e,f,h,l,k,r){var t=[0,0,0],p=[0,0,0],m=[0,0,0],u=[0,0,0,0],v=new d.ea(0),n=new d.ea(0),w=new d.ea(0);if(null!=l||null!=k||null!=r)if(d.l.Qi(a))d.vh.Cb(b,c,e,f,h,l,k,r);else{f=d.C.da(f);c=d.C.da(c);var y=d.C.da(f-c);if(d.l.W(e,h)&&(d.l.W(c,f)||d.l.W(d.l.K(e),1.570796326794897)))null!=l&&(l.j=0),null!=k&&(k.j=0),null!=r&&(r.j=0);else{if(d.l.W(e,-h)){if(d.l.W(d.l.K(e),
- 1.570796326794897)){null!=l&&(l.j=2*d.C.Yg(b,a));null!=k&&(k.j=0<e?d.C.da(3.141592653589793-d.C.da(f)):d.C.da(f));null!=r&&(r.j=0<e?d.C.da(f):d.C.da(3.141592653589793-d.C.da(f)));return}d.l.W(d.l.K(y),3.141592653589793)&&(null!=l&&(l.j=2*d.C.Yg(b,a)),null!=k&&(k.j=0),null!=r&&(r.j=0))}else{if(d.l.W(d.l.K(e),1.570796326794897)||d.l.W(d.l.K(h),1.570796326794897)){d.yl.Cb(b,a,c,e,f,h,l,k,r);return}if(d.l.W(c,f)||d.l.W(d.l.K(y),3.141592653589793)){d.yl.Cb(b,a,c,e,f,h,l,k,r);return}if(d.l.wd(e)){d.yl.Cb(b,
- a,c,e,f,h,l,k,r);return}}var D=Math.sqrt(1-a);f=d.C.da(f-c);c=0;d.C.Ck(1,a,e,c,0,v,n,w);t[0]=v.j;t[1]=n.j;t[2]=w.j;d.C.Ck(1,a,h,f,0,v,n,w);p[0]=v.j;p[1]=n.j;p[2]=w.j;m[0]=0;m[1]=0;m[2]=-1*a*d.C.n(1,a,e)*Math.sin(e);0>f?d.C.Nr(m,p,t,u,0):d.C.Nr(m,t,p,u,0);for(var n=[0,0,0],w=[0,0,0],z=[0,0,0],t=[0,0,0],v=[0,0,0],B=Math.acos(u[2]/1),A=1-a,C=Math.tan(B),E=1+C*C/A,F=2*m[2]*C/A,C=Math.sqrt(F*F-4*E*(m[2]*m[2]/A-1)),E=2*E,A=(-F+C)/E,F=(-F-C)/E,C=Math.tan(B),E=C*A+m[2],B=(A+F)/2,m=(E+(C*F+m[2]))/2,C=d.C.Sp(A-
- B,E-m),A=m/D*1.570796326794897,F=0;100>F;F++){E=d.C.Cm(a,A);E=E*E/Math.cos(A)*(Math.sin(A)-m*E/(1*(1-a)));if(d.l.wd(E))break;A-=E}var m=d.C.n(1,a,A)*Math.cos(A),m=Math.sqrt((m-B)*(m+B)),C=1-C/m,C=C*(2-C),E=d.C.fo(n),B=d.C.fo(w),A=d.C.fo(z),G=d.C.Du(z,n),F=d.C.Du(z,w);d.C.ey(z,n,t);d.C.ey(z,w,v);n=Math.acos(G/(A*E));w=Math.acos(F/(A*B));w*=d.l.Ab(1,d.C.Du(t,v));if(1.570796326794897<=d.l.K(n)&&1.570796326794897<=d.l.K(w)||3.141592653589793<d.l.K(n-w))n=(3.141592653589793-d.l.K(n))*d.l.Ab(1,n),w=(3.141592653589793-
- d.l.K(w))*d.l.Ab(1,w);t=d.C.hk(C,w);v=d.C.q(m,C,d.C.hk(C,n));t=d.C.q(m,C,t);t=d.l.K(t-v)*b;n=new d.ea(0);w=new d.ea(0);z=u[1]/1;z*=-d.l.Ab(1,y);v=Math.acos(z)*d.l.Ab(1,y);g.Uf(b,a,c,e,t,v,n,w);d.l.W(f,n.j)&&d.l.W(h,w.j)||(C=d.C.Sp(d.C.da(f-n.j),h-w.j),g.Uf(b,a,c,e,t,d.C.da(v+3.141592653589793),n,w),E=d.C.Sp(d.C.da(f-n.j),h-w.j),E<C&&(v=d.C.da(v+3.141592653589793)));n=[0,0,0,0];w=[0,0,0,0];m=[0,0,0];C=[0,0,0];b=[0,0,0];c=[0,0,0];e=[0,0,0];z=[0,0,0];m[0]=0;m[1]=0;m[2]=D;C[0]=0;C[1]=0;C[2]=0;d.C.Nr(C,
- m,p,n,0);d.l.wd(h)?(b[0]=p[0],b[1]=p[1],b[2]=1,c[0]=1*Math.cos(f)-1*Math.sin(f),c[1]=1*Math.sin(f)+1*Math.cos(f)):(a=d.C.n(1,a,h)*Math.cos(h),b[0]=0,b[1]=0,p[2]+=Math.tan(1.570796326794897-d.l.K(h))*a*d.l.Ab(1,h),c[0]=a*Math.cos(f)-a*Math.sin(f),c[1]=a*Math.sin(f)+a*Math.cos(f));c[2]=p[2];d.C.Nr(p,c,b,w,1);d.C.ey(w,n,e);d.C.ey(w,u,z);z=d.C.Du(e,z)/(d.C.fo(e)*d.C.fo(z));z*=d.l.Ab(1,y);f=Math.acos(z)*-d.l.Ab(1,y);0<v&&0<f?f=d.C.da(f+3.141592653589793):0>v&&0>f&&(f=d.C.da(f+3.141592653589793));null!=
- l&&(l.j=t);null!=k&&(k.j=v);null!=r&&(r.j=f)}}};g.Uf=function(b,a,c,e,f,h,l,g){var k=[0,0,0],t=[0,0,0],p=[0,0,0],m=[0,0,0],u=[0,0,0],v=[0,0,0],n=[0,0,0],w=[0,0,0,0],y=new d.ea(0),D=new d.ea(0),z=new d.ea(0),B=new d.ea(0),A=new d.ea(0),C=new d.ea(0);if(null!=l&&null!=g)if(d.l.Qi(a))d.vh.Uf(b,c,e,f,h,l,g);else if(d.l.wd(f))null!=l&&(l.j=c),null!=g&&(g.j=e);else if(h=d.C.da(h),0>f&&(f=d.l.K(f),h=d.C.da(h+3.141592653589793)),c=d.C.da(c),e=d.C.da(e),1.570796326794897<d.l.K(e)&&(c=d.C.da(c+3.141592653589793),
- e=d.l.Ab(3.141592653589793,e)-e),d.l.W(d.l.K(e),1.570796326794897)||d.l.wd(e)||d.l.wd(h)||d.l.W(d.l.K(h),3.141592653589793))d.yl.Uf(b,a,c,e,f,h,l,g);else{var E=Math.sqrt(1-a);b=f/b;d.C.Ck(1,a,e,0,0,B,A,C);k[0]=B.j;k[1]=A.j;k[2]=A.j;n[0]=0;n[1]=0;n[2]=-1*a*d.C.n(1,a,e)*Math.sin(e);B=d.C.n(1,a,e);A=d.C.da(1.570796326794897-h);C=Math.sin(A);f=Math.cos(e);e=Math.sin(e);u[0]=B*f-e*C;u[1]=Math.cos(A);u[2]=(1-a)*B*e+f*C;0>h?d.C.Nr(n,u,k,w,0):d.C.Nr(n,k,u,w,0);k=Math.acos(w[2]/1);w=Math.atan2(-w[1],-w[0]);
- e=1-a;u=Math.tan(k);A=1+u*u/e;B=2*n[2]*u/e;u=Math.sqrt(B*B-4*A*(n[2]*n[2]/e-1));A*=2;e=(-B+u)/A;B=(-B-u)/A;u=Math.tan(k);A=u*e+n[2];k=(e+B)/2;n=(A+(u*B+n[2]))/2;u=d.C.Sp(e-k,A-n);E=n/E*1.570796326794897;for(e=0;100>e;e++){B=d.C.Cm(a,E);B=B*B/Math.cos(E)*(Math.sin(E)-n*B/(1*(1-a)));if(d.l.wd(B))break;E-=B}E=d.C.n(1,a,E)*Math.cos(E);E=Math.sqrt((E-k)*(E+k));n=1-u/E;n*=2-n;v=Math.acos(d.C.Du(v,t)/(d.C.fo(v)*d.C.fo(t)));v*=d.l.Ab(1,t[0]);h=(d.C.q(E,n,d.C.hk(n,v))+b*d.l.Ab(1,h))/d.C.Yg(E,n);h=d.C.da(1.570796326794897*
- h);h=d.C.xp(n,h);d.C.n(E,n,h);u=d.C.da(w+c);c=Math.cos(u);h=Math.sin(u);p[0]=m[0]*c+m[1]*-h;p[1]=m[0]*h+m[1]*c;p[2]=m[2];d.C.iQ(a,p[0],p[1],p[2],z,D,y);null!=l&&(l.j=D.j);null!=g&&(g.j=z.j)}};return g}();d.UD=m})(n||(n={}));(function(d){var m=function(){function a(a){this.ab=null;this.lu=new d.b;this.mu=new d.b;this.a=a}a.prototype.compare=function(a,b,c){this.a.Nc(b,this.lu);this.a.Nc(a.ja(c),this.mu);return this.lu.compare(this.mu)};return a}(),g=function(){function a(a){this.cg=new d.b;this.fl=
- new d.b;this.a=a}a.prototype.Yh=function(a){this.cg.L(a)};a.prototype.compare=function(a,b){this.a.Nc(a.ja(b),this.fl);return this.cg.compare(this.fl)};return a}(),b=function(a){function b(b){a.call(this,b.a,b.ta,!1);this.bb=b}O(b,a);b.prototype.compare=function(a,b,c){if(this.Ng)return-1;var e=this.bb.ge.yo(this.bb.ri(b));a=a.ja(c);var d=this.bb.ge.yo(this.bb.ri(a));this.sn=c;return this.WF(b,e,a,d)};return b}(d.eE),a=function(a){function b(b){a.call(this,b.a,b.ta);this.bb=b}O(b,a);b.prototype.compare=
- function(a,b){if(this.Ng)return-1;a=this.bb.ge.yo(this.bb.ri(a.ja(b)));this.sn=b;return this.XF(b,a)};return b}(d.$N),c=function(){function c(){this.Tc=this.Hf=this.Xo=this.ge=this.Gh=this.Pd=this.ib=this.a=null;this.ih=!1;this.Th=this.Bn=this.Fe=this.hl=this.Ih=this.cl=this.gg=this.we=null;this.Vh=this.yr=this.zB=this.ta=0;this.Jw=this.Lo=!1;this.mp=new d.b;this.oj=new d.b;this.ib=new d.ad(8);this.Pd=new d.ad(5);this.Gh=new d.Ku;this.ge=new d.Ku;this.ih=!1;this.Th=new d.b;this.Th.ka(0,0);this.ta=
- 0;this.Vh=-1;this.Lo=!1;this.a=null;this.Hf=new d.tk;this.Tc=new d.tk;this.Ih=new d.ia(0);this.hl=new d.cE;this.gg=new d.ia(0);this.cl=new d.ia(0);this.Xo=new d.Wa}c.prototype.HY=function(a,b){var c=new d.Hd;c.wC();a.Xc(c);this.Xr(a);this.Lo=!1;this.ta=b;this.zB=b*b;b=this.FC();a.Xc(c);b||(this.kS(),b||this.FC());-1!=this.Vh&&(this.a.ke(this.Vh),this.Vh=-1);this.a=null;return this.Lo};c.prototype.LY=function(a,b){this.Xr(a);this.Lo=!1;this.ta=b;this.zB=b*b;this.ih=!1;this.FC();this.ih||(this.ih=1==
- a.zq(b,!0,!1));-1!=this.Vh&&(this.a.ke(this.Vh),this.Vh=-1);this.a=null};c.prototype.Jg=function(a,b){return this.ib.S(a,0+b)};c.prototype.kC=function(a,b,c){this.ib.P(a,0+b,c)};c.prototype.ri=function(a){return this.ib.S(a,2)};c.prototype.TX=function(a,b){this.ib.P(a,2,b)};c.prototype.bH=function(a,b){return this.ib.S(a,3+b)};c.prototype.Jq=function(a){return this.ib.S(a,7)};c.prototype.um=function(a,b){this.ib.P(a,7,b)};c.prototype.Kq=function(a,b){return this.ib.S(a,3+this.Iq(a,b))};c.prototype.Yr=
- function(a,b,c){this.ib.P(a,3+this.Iq(a,b),c)};c.prototype.FT=function(a,b){return this.ib.S(a,5+this.Iq(a,b))};c.prototype.$r=function(a,b,c){this.ib.P(a,5+this.Iq(a,b),c)};c.prototype.Ms=function(a){return this.Pd.S(a,0)};c.prototype.QX=function(a,b){this.Pd.P(a,0,b)};c.prototype.Lz=function(a){return this.Pd.S(a,4)};c.prototype.Ur=function(a,b){this.Pd.P(a,4,b)};c.prototype.Nl=function(a){return this.Pd.S(a,1)};c.prototype.bo=function(a,b){this.Pd.P(a,1,b)};c.prototype.Kz=function(a){return this.Pd.S(a,
- 3)};c.prototype.su=function(a,b){this.Pd.P(a,3,b)};c.prototype.Nn=function(a){var b=this.Pd.Pe(),c=this.Gh.mi();this.QX(b,c);-1!=a?(this.Gh.addElement(c,a),this.a.Va(a,this.Vh,b),this.Ur(b,this.a.Za(a))):this.Ur(b,-1);return b};c.prototype.CR=function(a){this.Pd.kd(a)};c.prototype.$E=function(a,b){this.Gh.addElement(this.Ms(a),b);this.a.Va(b,this.Vh,a)};c.prototype.bu=function(a){var b=this.ib.Pe(),c=this.ge.mi();this.TX(b,c);-1!=a&&this.ge.addElement(c,a);return b};c.prototype.aF=function(a,b){this.ge.addElement(this.ri(a),
- b)};c.prototype.Iv=function(a){this.ib.kd(a);a=this.Ih.Nv(a);0<=a&&this.Ih.GJ(a)};c.prototype.Jj=function(a,b){if(-1==this.Jg(a,0))this.kC(a,0,b);else if(-1==this.Jg(a,1))this.kC(a,1,b);else throw d.f.ya();this.Qy(a,b)};c.prototype.Qy=function(a,b){var c=this.Nl(b);if(-1!=c){var e=this.Kq(c,b);this.$r(e,b,a);this.Yr(a,b,e);this.Yr(c,b,a);this.$r(a,b,c)}else this.$r(a,b,a),this.Yr(a,b,a),this.bo(b,a)};c.prototype.Iq=function(a,b){return this.Jg(a,0)==b?0:1};c.prototype.Mn=function(a,b){var c=this.Kz(b);
- -1!=c&&(this.Hf.Ld(c,-1),this.su(b,-1));var e,c=this.Nl(b);if(-1!=c){var d=e=c,f;do{f=!1;var h=this.Iq(e,b),g=this.bH(e,h);if(this.Jg(e,h+1&1)==a){this.Jv(e);this.ge.zh(this.ri(e));this.Iv(e);if(e==g){c=-1;break}c==e&&(c=this.Nl(b),d=g,f=!0)}e=g}while(e!=d||f);if(-1!=c){do h=this.Iq(e,b),g=this.bH(e,h),this.kC(e,h,a),e=g;while(e!=d);e=this.Nl(a);-1!=e?(d=this.Kq(e,a),f=this.Kq(c,a),d==e?(this.bo(a,c),this.Qy(e,a),this.bo(a,e)):f==c&&this.Qy(c,a),this.Yr(c,a,d),this.$r(d,a,c),this.Yr(e,a,f),this.$r(f,
- a,e)):this.bo(a,c)}}c=this.Ms(a);e=this.Ms(b);for(d=this.Gh.xc(e);-1!=d;d=this.Gh.nb(d))this.a.Va(this.Gh.ja(d),this.Vh,a);this.Gh.lz(c,e);this.CR(b)};c.prototype.SV=function(a,b){var c=this.Jg(a,0),e=this.Jg(a,1),d=this.Jg(b,0),f=this.Jg(b,1);this.ge.lz(this.ri(a),this.ri(b));b==this.Nl(c)&&this.bo(c,a);b==this.Nl(e)&&this.bo(e,a);this.Jv(b);this.Iv(b);c==d&&e==f||e==d&&c==f||(this.wo(c,this.mp),this.wo(d,this.oj),this.mp.ub(this.oj)?(c!=d&&this.Mn(c,d),e!=f&&this.Mn(e,f)):(e!=d&&this.Mn(e,d),c!=
- f&&this.Mn(c,f)))};c.prototype.Jv=function(a){var b=this.Jg(a,1);this.kG(a,this.Jg(a,0));this.kG(a,b)};c.prototype.kG=function(a,b){var c=this.Kq(a,b),e=this.FT(a,b),d=this.Nl(b);c!=a?(this.Yr(e,b,c),this.$r(c,b,e),d==a&&this.bo(b,c)):this.bo(b,-1)};c.prototype.hF=function(a,b,c){var e=this.ge.xc(a),d=this.ge.ja(e);a=this.jf(d);var f=this.jf(this.a.U(d));this.a.as(d,b,c,!0);for(e=this.ge.nb(e);-1!=e;e=this.ge.nb(e)){var d=this.ge.ja(e),h=this.jf(d)==a;this.a.as(d,b,c,h)}e=b.Mq(c,0).ec();b=b.Mq(c,
- b.Rl(c)-1).Cc();this.rL(a,e);this.rL(f,b)};c.prototype.dG=function(a,b,c){var e=this.ri(a),d=this.Jg(a,0),f=this.Jg(a,1),h=this.bu(-1);this.Ih.add(h);this.um(h,-3);this.gg.add(h);this.Jj(h,d);a=1;for(b=b.Rl(c);a<b;a++)c=this.Nn(-1),this.cl.add(c),this.gg.add(c),this.Jj(h,c),h=this.bu(-1),this.Ih.add(h),this.um(h,-3),this.gg.add(h),this.Jj(h,c);this.Jj(h,f);for(e=this.ge.xc(e);-1!=e;e=this.ge.nb(e))if(f=this.ge.ja(e),this.jf(f)==d){a=0;do 0<a&&(h=this.gg.get(a-1),this.$E(h,f),-1==this.Lz(h)&&this.Ur(h,
- this.a.Za(f))),h=this.gg.get(a),a+=2,this.aF(h,f),f=this.a.U(f);while(a<this.gg.size)}else{a=this.gg.size-1;do a<this.gg.size-2&&(h=this.gg.get(a+1),this.$E(h,f),0>this.Lz(h)&&this.Ur(h,this.a.Za(f))),h=this.gg.get(a),a-=2,this.aF(h,f),f=this.a.U(f);while(0<=a)}this.gg.clear(!1)};c.prototype.jf=function(a){return this.a.Sa(a,this.Vh)};c.prototype.KJ=function(a,b,c){var e=this.Jg(b,0),f=new d.b;this.wo(e,f);var h=new d.b,l=this.Jg(b,1);this.wo(l,h);var g=c.Rl(a),m=c.Mq(a,0),v=new d.b;m.Oq(v);if(!f.ub(v)){if(!this.ih){var n=
- f.compare(this.Th),v=v.compare(this.Th);0>n*v&&(this.ih=!0)}this.GG(e,this.gg);this.cl.add(e)}!this.ih&&1<g&&(n=f.compare(h),m=m.Cc(),f.compare(m)!=n||m.compare(h)!=n?this.ih=!0:0>m.compare(this.Th)&&(this.ih=!0));m=c.Mq(a,g-1);a=m.Cc();h.ub(a)||(this.ih||(n=h.compare(this.Th),v=a.compare(this.Th),0>n*v&&(this.ih=!0)),this.GG(l,this.gg),this.cl.add(l));this.gg.add(b);h=0;for(l=this.gg.size;h<l;h++)a=this.gg.get(h),c=this.Jq(a),d.ad.AA(c)&&(this.Tc.Ld(c,-1),this.um(a,-1)),a!=b&&-3!=this.Jq(a)&&(this.Ih.add(a),
- this.um(a,-3));this.gg.clear(!1)};c.prototype.nQ=function(a,b){this.we.compare(this.Tc,this.Tc.ja(a),b);this.we.Ng&&(this.we.Fs(),this.xG(a,b))};c.prototype.xG=function(a,b){this.Lo=!0;a=this.Tc.ja(a);b=this.Tc.ja(b);var c,e;e=this.ge.yo(this.ri(a));var f=this.ge.yo(this.ri(b));c=this.a.ic(e);null==c&&(null==this.Fe&&(this.Fe=new d.Hb),this.a.pd(e,this.Fe),c=this.Fe);e=this.a.ic(f);null==e&&(null==this.Bn&&(this.Bn=new d.Hb),this.a.pd(f,this.Bn),e=this.Bn);this.hl.Ap(c);this.hl.Ap(e);this.hl.Ma(this.ta,
- !0)&&(this.ih=!0);this.XK(a,b,-1,this.hl);this.hl.clear()};c.prototype.wS=function(a,b){this.Lo=!0;b=this.Tc.ja(b);var c,e=this.ge.yo(this.ri(b));c=this.a.ic(e);null==c&&(null==this.Fe&&(this.Fe=new d.Hb),this.a.pd(e,this.Fe),c=this.Fe);e=this.MG(a);this.hl.Ap(c);this.a.wj(e,this.Xo);this.hl.rA(this.ta,this.Xo,!0);this.XK(b,-1,a,this.hl);this.hl.clear()};c.prototype.rU=function(){if(0!=this.Ih.size)for(;0!=this.Ih.size;){if(this.Ih.size>Math.max(100,this.a.ud)){this.Ih.clear(!1);this.ih=!0;break}var a=
- this.Ih.Fc();this.Ih.Pf();this.um(a,-1);-1!=this.OU(a)&&this.qU(a);this.Ko=!1}};c.prototype.qU=function(a){var b;this.Ko?(b=this.Tc.iv(this.ZI,this.VI,a,!0),this.Ko=!1):b=this.Tc.ZE(a);-1==b?this.SV(this.Tc.ja(this.Tc.PG()),a):(this.um(a,b),this.we.Ng&&(this.we.Fs(),this.xG(this.we.sn,b)))};c.prototype.OU=function(a){var b=this.Jg(a,0);a=this.Jg(a,1);this.wo(b,this.mp);this.wo(a,this.oj);if(d.b.sc(this.mp,this.oj)<=this.zB)return this.ih=!0,-1;var c=this.mp.compare(this.Th),e=this.oj.compare(this.Th);
- return 0>=c&&0<e?a:0>=e&&0<c?b:-1};c.prototype.iS=function(){var a=new d.ia(0);a.yb(this.a.ud);for(var b=this.a.Pr(),c=b.next();-1!=c;c=b.next())-1!=this.a.Sa(c,this.Vh)&&a.add(c);this.a.Wx(a,a.size);this.jS(a)};c.prototype.jS=function(a){this.Hf.clear();this.Hf.Qe(a.size);this.Hf.Ep(new m(this.a));var b=new d.b;b.$c();for(var c=-1,e=new d.b,f=0,g=a.size;f<g;f++){var p=a.get(f);this.a.Nc(p,e);e.ub(b)?(p=this.a.Sa(p,this.Vh),this.Mn(c,p)):(c=this.jf(p),this.a.Nc(p,b),p=this.Hf.ro(p),this.su(c,p))}};
- c.prototype.kS=function(){var a=new d.ia(0);a.yb(this.a.ud);for(var b=this.Hf.xc(-1);-1!=b;b=this.Hf.nb(b))a.add(this.Hf.ja(b));this.Hf.clear();this.a.Wx(a,a.size);for(var b=0,c=a.size;b<c;b++){var e=a.get(b),g=this.jf(e),e=this.Hf.ro(e);this.su(g,e)}};c.prototype.GG=function(a,b){var c=this.Nl(a);if(-1!=c){var e=c;do d.ad.AA(this.Jq(e))&&b.add(e),e=this.Kq(e,a);while(e!=c)}};c.prototype.rL=function(a,b){for(a=this.Gh.xc(this.Ms(a));-1!=a;a=this.Gh.nb(a))this.a.Qf(this.Gh.ja(a),b)};c.prototype.XK=
- function(a,b,c,e){this.Jv(a);-1!=b&&this.Jv(b);this.KJ(0,a,e);-1!=b&&this.KJ(1,b,e);-1!=c&&(e.cg.w(this.mp),this.wo(c,this.oj),this.oj.ub(this.mp)||this.cl.add(c));c=0;for(var d=this.cl.size;c<d;c++){var f=this.cl.get(c),h=this.Kz(f);-1!=h&&(this.Hf.Ld(h,-1),this.su(f,-1))}c=this.ri(a);d=-1!=b?this.ri(b):-1;this.hF(c,e,0);-1!=b&&this.hF(d,e,1);this.dG(a,e,0);-1!=b&&this.dG(b,e,1);this.ge.zh(c);this.Iv(a);-1!=b&&(this.ge.zh(d),this.Iv(b));c=0;for(d=this.cl.size;c<d;c++)f=this.cl.get(c),f==this.yr&&
- (this.Jw=!0),h=this.Kz(f),-1==h&&(h=this.Hf.ZE(this.MG(f)),-1==h?(a=this.jf(this.Hf.ja(this.Hf.PG())),this.Mn(a,f)):this.su(f,h));this.cl.clear(!1)};c.prototype.wo=function(a,b){this.a.oH(this.Lz(a),b)};c.prototype.MG=function(a){return this.Gh.yo(this.Ms(a))};c.prototype.FC=function(){this.Jw=!1;this.yr=-1;null==this.we&&(this.Tc.Cw=!1,this.we=new b(this),this.Tc.Oo=this.we);var c=new d.ia(0),e=null,l=null,k=0;this.VI=this.ZI=-1;this.Ko=!1;for(var r=this.Hf.xc(-1);-1!=r;){k++;this.Ko=!1;var m=this.Hf.ja(r);
- this.yr=this.jf(m);this.a.Nc(m,this.Th);this.we.PK(this.Th.y,this.Th.x);var p,q=this.Nl(this.yr);p=-1==q;if(!p){m=q;do{var u=this.Jq(m);-1==u?(this.Ih.add(m),this.um(m,-3)):-3!=u&&c.add(u);m=this.Kq(m,this.yr)}while(m!=q)}if(0<c.size){this.Ko=1==c.size&&1==this.Ih.size;p=0;for(q=c.size;p<q;p++)m=this.Tc.ja(c.get(p)),this.um(m,-2);var v=-2,n=-2;p=0;for(q=c.size;p<q;p++){u=c.get(p);if(-2==v){var w=this.Tc.Ve(u);-1!=w?(m=this.Tc.ja(w),m=this.Jq(m),-2!=m&&(v=w)):v=-1}-2==n&&(u=this.Tc.nb(u),-1!=u?(m=
- this.Tc.ja(u),m=this.Jq(m),-2!=m&&(n=u)):n=-1);if(-2!=v&&-2!=n)break}p=0;for(q=c.size;p<q;p++)u=c.get(p),m=this.Tc.ja(u),this.Tc.Ld(u,-1),this.um(m,-1);c.clear(!1);this.ZI=-1!=v?v:-1;this.VI=-1!=n?n:-1;-1!=v&&-1!=n?this.Ko||this.nQ(v,n):-1==v&&-1==n&&(this.Ko=!1)}else p&&(null==e&&(e=new a(this)),e.Yh(this.Th),this.Tc.kK(e),e.Ng&&(e.Fs(),this.wS(this.yr,e.sn)));this.rU();this.Jw?(this.Jw=!1,null==l&&(l=new g(this.a)),l.Yh(this.Th),r=this.Hf.kK(l)):r=this.Hf.nb(r)}return this.Lo};c.prototype.Xr=function(a){this.a=
- a;this.Vh=this.a.Vd();this.ib.Qe(a.ud+32);this.Pd.Qe(a.ud);this.Gh.ou(a.ud);this.Gh.Wn(a.ud);this.ge.ou(a.ud+32);this.ge.Wn(a.ud+32);for(a=this.a.rd;-1!=a;a=this.a.Ue(a))if(d.T.Ic(this.a.hc(a)))for(q=this.a.Pb(a);-1!=q;q=this.a.Sb(q)){var b=this.a.Ka(q),c=this.a.cb(q),e=this.Nn(c),f=this.bu(c);this.Jj(f,e);u=this.a.U(c);c=0;for(b-=2;c<b;c++){var g=this.a.U(u),m=this.Nn(u);this.Jj(f,m);f=this.bu(u);this.Jj(f,m);u=g}this.a.Qb(q)?(m=this.Nn(u),this.Jj(f,m),f=this.bu(u),this.Jj(f,m),this.Jj(f,e)):(m=
- this.Nn(u),this.Jj(f,m))}else for(var q=this.a.Pb(a);-1!=q;q=this.a.Sb(q))for(var u=this.a.cb(q),e=0,b=this.a.Ka(q);e<b;e++)this.Nn(u),u=this.a.U(u);this.iS()};return c}();d.VD=c})(n||(n={}));(function(d){var m=function(g){function b(a,c,e){g.call(this);if(void 0!==a)if(void 0!==e){this.description=d.ye.Ig();var f=new d.qd;f.I(a,c,e);this.AC(f)}else if(void 0!==c)this.description=d.ye.Ig(),this.rb(a,c);else if(a instanceof d.na)this.description=a;else if(a instanceof d.b)this.description=d.ye.Ig(),
- this.rb(a);else if(a instanceof b)this.description=a.description,this.rb(a.Be(),a.nf()),null!==a.la&&(this.la=a.la.slice(0));else throw d.f.F();else this.description=d.ye.Ig()}O(b,g);b.prototype.w=function(a){if(void 0!==a){if(this.Hc())throw d.f.X("This operation should not be performed on an empty geometry.");a.ka(this.la[0],this.la[1])}else{if(this.Hc())throw d.f.X("This operation should not be performed on an empty geometry.");a=new d.b;a.ka(this.la[0],this.la[1]);return a}};b.prototype.rb=function(a,
- b){"number"===typeof a?(this.Bc(),null==this.la&&this.nq(),this.la[0]=a,this.la[1]=b):(this.Bc(),this.rb(a.x,a.y))};b.prototype.kA=function(){if(this.Hc())throw d.f.X("This operation should not be performed on an empty geometry.");var a=new d.qd;a.x=this.la[0];a.y=this.la[1];this.description.tH()?a.z=this.la[2]:a.z=d.na.pe(1);return a};b.prototype.AC=function(a){this.Bc();var b=this.hasAttribute(1);b||d.na.OH(1,a.z)||(this.Ud(1),b=!0);null==this.la&&this.nq();this.la[0]=a.x;this.la[1]=a.y;b&&(this.la[2]=
- a.z)};b.prototype.Be=function(){if(this.Hc())throw d.f.X("This operation should not be performed on an empty geometry.");return this.la[0]};b.prototype.zC=function(a){this.setAttribute(0,0,a)};b.prototype.nf=function(){if(this.Hc())throw d.f.X("This operation should not be performed on an empty geometry.");return this.la[1]};b.prototype.QK=function(a){this.setAttribute(0,1,a)};b.prototype.qH=function(){return this.Yc(1,0)};b.prototype.qY=function(a){this.setAttribute(1,0,a)};b.prototype.$G=function(){return this.Yc(2,
- 0)};b.prototype.aY=function(a){this.setAttribute(2,0,a)};b.prototype.yc=function(){return this.JG(3,0)};b.prototype.AK=function(a){this.setAttribute(3,0,a)};b.prototype.Yc=function(a,b){var c=this.description.mg(a);return 0<=c?this.la[this.description.wk(c)+b]:d.na.pe(a)};b.prototype.JG=function(a,b){var c=this.description.mg(a);return 0<=c?this.la[this.description.wk(c)+b]:d.na.pe(a)};b.prototype.setAttribute=function(a,b,e){this.Bc();var c=this.description.mg(a);0>c&&(this.Ud(a),c=this.description.mg(a));
- null==this.la&&this.nq();this.la[this.description.wk(c)+b]=e};b.prototype.G=function(){return 33};b.prototype.tb=function(){return 0};b.prototype.Oa=function(){this.Bc();null!=this.la&&(this.la[0]=NaN,this.la[1]=NaN)};b.prototype.mo=function(a){if(null!=this.la){for(var b=d.ye.ux(a,this.description),e=[],f=0,h=0,l=a.Ea;h<l;h++){var g=a.zd(h),r=d.na.Xa(g);if(-1==b[h])for(var m=d.na.pe(g),g=0;g<r;g++)e[f]=m,f++;else for(m=this.description.wk(b[h]),g=0;g<r;g++)e[f]=this.la[m],f++,m++}this.la=e}this.description=
- a};b.prototype.nq=function(){this.aK(this.description.af.length);b.Bb(this.description.af,this.la,this.description.af.length);this.la[0]=NaN;this.la[1]=NaN};b.prototype.Xc=function(a){if(a instanceof d.Hd){if(!this.Hc()){var b=this.w();a.$h(b,b);this.rb(b)}}else this.Hc()||(this.Ud(1),b=this.kA(),this.AC(a.Rp(b)))};b.prototype.copyTo=function(a){if(33!=a.G())throw d.f.F();a.Bc();null==this.la?(a.Oa(),a.la=null,a.Fg(this.description)):(a.Fg(this.description),a.aK(this.description.af.length),b.Bb(this.la,
- a.la,this.description.af.length))};b.prototype.Ja=function(){return new b(this.description)};b.prototype.u=function(){return this.Hc()};b.prototype.Hc=function(){return null==this.la||isNaN(this.la[0])||isNaN(this.la[1])};b.prototype.Rn=function(a){a.Oa();this.description!=a.description&&a.Fg(this.description);a.Nb(this)};b.prototype.s=function(a){this.Hc()?a.Oa():(a.o=this.la[0],a.A=this.la[1],a.v=this.la[0],a.B=this.la[1])};b.prototype.Cp=function(a){if(this.Hc())a.Oa();else{var b=this.kA();a.o=
- b.x;a.A=b.y;a.Bf=b.z;a.v=b.x;a.B=b.y;a.$g=b.z}};b.prototype.xf=function(a,b){var c=new d.Ac;if(this.Hc())return c.Oa(),c;a=this.Yc(a,b);c.ca=a;c.ha=a;return c};b.prototype.aK=function(a){if(null==this.la)this.la=d.J.gf(a);else if(this.la.length<a){for(var b=this.la.slice(0),e=this.la.length;e<a;e++)b[e]=0;this.la=b}};b.Bb=function(a,b,e){if(0<e)for(e=0;e<a.length;e++)b[e]=a[e]};b.prototype.Eb=function(a){if(a==this)return!0;if(!(a instanceof b)||this.description!=a.description)return!1;if(this.Hc())return a.Hc()?
- !0:!1;for(var c=0,e=this.description.af.length;c<e;c++)if(this.la[c]!=a.la[c])return!1;return!0};b.prototype.jc=function(){var a=this.description.jc();if(!this.Hc())for(var b=0,e=this.description.af.length;b<e;b++)var f=this.la[b],f=d.J.truncate(f^f>>>32),a=d.J.dh(f,a);return a};b.prototype.Gg=function(){return null};return b}(d.T);d.Wa=m})(n||(n={}));(function(d){var m=function(){function d(b,a,c){void 0!==b&&(this.x=b,this.y=a,this.z=c)}d.pa=function(b,a,c){var e=new d;e.x=b;e.y=a;e.z=c;return e};
- d.prototype.I=function(b,a,c){this.x=b;this.y=a;this.z=c};d.prototype.Ux=function(){this.z=this.y=this.x=0};d.prototype.normalize=function(){var b=this.length();0==b&&(this.x/=b,this.y/=b,this.z/=b)};d.prototype.length=function(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)};d.prototype.sub=function(b){return new d(this.x-b.x,this.y-b.y,this.z-b.z)};d.prototype.Vg=function(b){return new d(this.x*b,this.y*b,this.z*b)};d.prototype.cv=function(){this.x=NaN};d.prototype.Gy=function(){return isNaN(this.x)};
- d.prototype.oi=function(b){return this.x*b.x+this.y*b.y+this.z*b.z};return d}();d.qd=m})(n||(n={}));(function(d){var m=function(){function g(b,a,c){this.sx=this.cx=null;this.tg=a;this.CV=a.y-c;this.BV=a.y+c;this.Hr=0;this.LA=b;this.ta=c;this.OV=c*c;this.MA=0!=c;this.xw=!1}g.prototype.result=function(){return 0!=this.Hr?1:0};g.prototype.WO=function(b){b=b.gc(b.oe(this.tg,!1));return d.b.sc(b,this.tg)<=this.OV?!0:!1};g.prototype.nG=function(b){if(!this.MA&&(this.LA&&this.tg.ub(b.ec())||this.tg.ub(b.Cc())))this.xw=
- !0;else if(b.ra==this.tg.y&&b.ra==b.oa){if(this.LA&&!this.MA){var a=Math.max(b.ua,b.sa);this.tg.x>Math.min(b.ua,b.sa)&&this.tg.x<a&&(this.xw=!0)}}else{var c=!1,a=Math.max(b.ua,b.sa);this.tg.x>a?c=!0:this.tg.x>=Math.min(b.ua,b.sa)&&(c=0<b.Sq(!0,this.tg.y,this.sx,null)&&this.sx[0]<=this.tg.x);if(c){if(this.tg.y==b.ec().y){if(this.tg.y<b.Cc().y)return}else if(this.tg.y==b.Cc().y&&this.tg.y<b.ec().y)return;this.Hr=this.LA?this.Hr^1:this.Hr+(b.ec().y>b.Cc().y?1:-1)}}};g.prototype.ju=function(b){var a=
- b.xf(0,1);if(a.ca>this.BV||a.ha<this.CV)return!1;if(this.MA&&this.WO(b))return!0;if(a.ca>this.tg.y||a.ha<this.tg.y)return!1;null==this.cx&&(this.cx=[null,null,null,null,null]);null==this.sx&&(this.sx=[0,0,0]);a=b.pH(this.cx);if(0<a)for(b=0;b<a;b++){var c=this.cx[b].get();this.nG(c);if(this.xw)return!0}else if(this.nG(b),this.xw)return!0;return!1};g.$=function(b,a,c){a=new g(0==b.xo(),a,c);for(b=b.Da();b.Ya();)for(;b.Ca();)if(c=b.ba(),a.ju(c))return-1;return a.result()};g.bd=function(b,a,c,e){var f=
- new d.h;b.ac(f);f.O(e,e);var h=new g(0==b.xo(),c,e);b=b.Da();var l=new d.h;l.I(f);l.v=c.x+e;l.A=c.y-e;l.B=c.y+e;c=a.Wz(l,e);for(e=c.next();-1!=e;e=c.next())if(b.Tb(a.ja(e)),b.Ca()&&(e=b.ba(),h.ju(e)))return-1;return h.result()};g.ln=function(b,a,c){if(b.u())return 0;var e=new d.h;b.ac(e);e.O(c,c);if(!e.contains(a))return 0;e=b.ob;if(null!=e){var f=e.Hi;if(null!=f){f=f.rm(a.x,a.y);if(1==f)return 1;if(0==f)return 0}e=e.Mb;if(null!=e)return g.bd(b,e,a,c)}return g.$(b,a,c)};g.VU=function(b,a,c,e){if(b.u())return 0;
- var f=new d.h;b.ac(f);f.O(e,e);if(!f.contains(a,c))return 0;f=b.ob;if(null!=f&&(f=f.Hi,null!=f)){f=f.rm(a,c);if(1==f)return 1;if(0==f)return 0}return g.$(b,d.b.pa(a,c),e)};g.UU=function(b,a,c){return a.u()?0:g.ln(b,a.w(),c)};g.xA=function(b,a,c,e,f){var h=new d.h;b.ac(h);h.O(e,e);if(!h.contains(c))return 0;var l=new g(!0,c,e);if(null!=f){var k=new d.h;k.I(h);k.v=c.x+e;k.A=c.y-e;k.B=c.y+e;b=b.Da();e=f.Wz(k,e);for(k=e.next();-1!=k;k=e.next())if(b.Tb(f.ja(k),a),b.Ca()&&b.Ta==a&&(k=b.ba(),l.ju(k)))return-1}else if(b=
- b.Da(),b.dC(a),b.Ya())for(;b.Ca();)if(k=b.ba(),l.ju(k))return-1;return l.result()};g.wA=function(b,a,c){var e=new d.h;b.ac(e);e.O(c,c);if(!e.contains(a))return 0;a=new g(!1,a,c);for(c=b.Da();c.Ya();)if(!(0>b.Tm(c.Ta))){for(a.Hr=0;c.Ca();)if(e=c.ba(),a.ju(e))return-1;if(0!=a.Hr)return 1}return a.result()};g.Oi=function(b,a,c,e,f){var h=b.Da();h.dC(a);if(!h.Ya()||!h.Ca())throw d.f.X("corrupted geometry");for(a=2;2==a&&h.Ca();)a=h.ba().gc(.5),a=g.xA(b,c,a,e,f);if(2==a)throw d.f.X("internal error");return 1==
- a?!0:!1};g.qm=function(b,a){b=b.D();return 16>b?!1:2*b+Math.log(b)/Math.log(2)*1*a<1*b*a};return g}();d.ff=m})(n||(n={}));(function(d){var m=function(d){function b(a){d.call(this,!0,a)}O(b,d);b.prototype.Ja=function(){return new b(this.description)};b.prototype.tb=function(){return 2};b.prototype.G=function(){return 1736};b.prototype.JH=function(a,b,e){this.DU(a,b,e)};b.prototype.fT=function(){this.xT()};return b}(d.xl);d.Ia=m})(n||(n={}));(function(d){(function(d){d[d.PiPOutside=0]="PiPOutside";
- d[d.PiPInside=1]="PiPInside";d[d.PiPBoundary=2]="PiPBoundary"})(d.GN||(d.GN={}));var m=function(){function g(){}g.VH=function(b,a,c){b=d.ff.UU(b,a,c);return 0==b?0:1==b?1:2};g.fe=function(b,a,c){b=d.ff.ln(b,a,c);return 0==b?0:1==b?1:2};g.bX=function(b,a,c,e){b=d.ff.VU(b,a,c,e);return 0==b?0:1==b?1:2};g.l_=function(b,a,c,e){return 0==d.ff.xA(b,a,c,e,null)?0:1};g.wA=function(b,a,c){return 0==d.ff.wA(b,a,c)?0:1};g.LR=function(b,a,c,e,f){if(a.length<c||f.length<c)throw d.f.F();for(var h=0;h<c;h++)f[h]=
- g.fe(b,a[h],e)};g.WR=function(b,a,c,e,f){if(a.length/2<c||f.length<c)throw d.f.F();for(var h=0;h<c;h++)f[h]=g.bX(b,a[2*h],a[2*h+1],e)};g.eL=function(b,a,c,e,f){if(1736==b.G())g.LR(b,a,c,e,f);else if(197==b.G()){var h=new d.h;b.s(h);g.MM(h,a,c,e,f)}else throw d.f.X("invalid_call");};g.u_=function(b,a,c,e,f){if(1736==b.G())g.WR(b,a,c,e,f);else if(197==b.G()){var h=new d.h;b.s(h);g.QM(h,a,c,e,f)}else throw d.f.La();};g.MM=function(b,a,c,e,f){if(a.length<c||f.length<c)throw d.f.F();if(b.u())for(e=0;e<
- c;e++)f[e]=0;else for(b.O(.5*-e,.5*-e),b.O(.5*e,.5*e),e=0;e<c;e++)b.contains(a[e])?f[e]=1:b.contains(a[e])?f[e]=2:f[e]=0};g.QM=function(b,a,c,e,f){if(a.length/2<c||f.length<c)throw d.f.F();if(b.u())for(e=0;e<c;e++)f[e]=0;else for(b.O(.5*-e,.5*-e),b.O(.5*e,.5*e),e=0;e<c;e++)b.contains(a[2*e],a[2*e+1])?f[e]=1:b.contains(a[2*e],a[2*e+1])?f[e]=2:f[e]=0};g.YT=function(b,a,c,e,d){for(var f=0;f<c;f++)d[f]=b.lt(a[f],e)?2:0};g.hS=function(b,a,c,e,d){var f=b.ob,l=null;null!=f&&(l=f.Hi);for(var f=c,g=0;g<c;g++)if(d[g]=
- 1,null!=l){var r=a[g];0==l.rm(r.x,r.y)&&(d[g]=0,f--)}if(0!=f)for(b=b.Da();b.Ya()&&0!=f;)for(;b.Ca()&&0!=f;)for(l=b.ba(),g=0;g<c&&0!=f;g++)1==d[g]&&l.lt(a[g],e)&&(d[g]=2,f--);for(g=0;g<c;g++)1==d[g]&&(d[g]=0)};g.fL=function(b,a,c,e,f){var h=b.G();if(1607==h)g.hS(b,a,c,e,f);else if(d.T.Oc(h))g.YT(b,a,c,e,f);else throw d.f.X("Invalid call.");};return g}();d.gd=m})(n||(n={}));(function(d){var m=function(d){function b(a,b){2==arguments.length?(d.call(this,!1,a.description),this.Rf(a),this.lineTo(b)):d.call(this,
- !1,a)}O(b,d);b.prototype.Ja=function(){return new b(this.description)};b.prototype.tb=function(){return 1};b.prototype.G=function(){return 1607};b.prototype.JH=function(a,b,e,d){this.EU(a,b,e,d)};return b}(d.xl);d.Ua=m})(n||(n={}));(function(d){var m=function(){function d(){}d.$_=function(){};return d}();d.c_=m})(n||(n={}));(function(d){(function(a){a[a.clipWithInputHorizon=1]="clipWithInputHorizon";a[a.clipWithOutputHorizon=2]="clipWithOutputHorizon"})(d.dM||(d.dM={}));var m=function(){function a(){this.Jl=
- 3;this.sz=this.xv=NaN}a.prototype.aU=function(){return this.dt(1)};a.prototype.bU=function(){return this.dt(2)};a.prototype.dt=function(a){return 0!=(this.Jl&a)};a.prototype.Vf=function(){var b=new a;b.xv=this.xv;b.sz=this.sz;b.Jl=this.Jl;return b};return a}();d.NZ=m;(function(a){a[a.Dont_Geonomalize_Polygon=2147483648]="Dont_Geonomalize_Polygon";a[a.Dont_Adjust_At_Poles=1073741824]="Dont_Adjust_At_Poles"})(d.eM||(d.eM={}));var g=function(){function a(){this.Jl=0}a.prototype.dt=function(a){return 0!=
- (this.Jl&a)};a.ne=function(b){var c=new a;c.Jl=b.Jl;return c};a.prototype.DO=function(a){this.Jl=a.Jl};return a}();d.OZ=g;var b=function(){function a(a,b,f){this.ie=a;this.He=b;this.rg=new d.h;this.rg.I(f);this.xV=a.jc()+b.jc()+this.rg.jc().toString()}a.prototype.jc=function(){return this.xV};a.prototype.Eb=function(a){return this==a||this.ie.Eb(a.ie)&&this.He.Eb(a.He)&&this.rg.Eb(a.rg)};return a}();d.d_=b;b=function(){function a(){this.He=this.ie=null;this.CI=new m;this.DI=new g;this.wr=this.ue=
- null;this.rr=this.Tl=!0}a.Hs=function(b,e,d,h){var c;void 0===h&&(h=null);void 0===c&&(c=null);var f=new a;f.kq(b,e,d,h,c);return f};a.prototype.kq=function(a,b,f,h,l){if(null==a||null==b)throw d.f.X("invalidArgument");this.ie=a;this.He=b;this.rr=this.Tl=!1;null!=h&&(this.CI=h.Vf());null!=l&&this.DI.DO(l);l=!1;1==b.Fb()&&null!=h&&(h=h.xv,isNaN(h)||0==h||(l=!0));if(a==b)this.Tl=!l,this.rr=!0;else{h=a.Fb();var c=b.Fb();if(0==h||0==c){if(null!=f)throw d.f.F();null!=a.Od()&&null!=b.Od()&&(this.Tl=a.Od().Eb(b.Od()))}else 3==
- h||3==c?this.Tl=a.Eb(b):this.ie.gU(this.He)?this.Tl=!l:this.Tl=!1,this.ue=f,null!=this.ue&&this.ue.Mp(),this.rr=(null==this.ue||0==this.ue.count())&&this.ie.kc().Eb(this.He.kc())}this.vL()};a.prototype.Vv=function(){var b=new a;b.ie=this.He;b.He=this.ie;null!=this.ue&&(b.ue=this.ue.Vv());b.Tl=this.Tl;b.rr=this.rr;b.vL();return b};a.prototype.Ho=function(){return this.Tl};a.prototype.dT=function(){return this.CI.Vf()};a.prototype.Eb=function(b){return b==this?!0:b instanceof a&&this.ie.Eb(b.ie)&&this.He.Eb(b.He)?
- this.ue==b.ue?!0:null!=this.ue&&null!=b.ue&&this.ue.Eb(b.ue)?!0:!1:!1};a.prototype.vL=function(){this.wr=new d.ko(this)};a.t_={};return a}();d.qs=b})(n||(n={}));(function(d){var m=function(){function b(){}b.uq=function(a){return a*b.nO};b.Vx=function(a,c){return b.TN(c-a)};b.aO=function(a){if(-360<=a&&720>a)return 0>a?a+=360:360<=a&&(a-=360),a;a=d.Ub.fM(a);0>a&&(a+=360);return a};b.TN=function(a){a=b.aO(a);180<a&&(a-=360);return a};b.PZ=.0174532925199433;b.nO=57.29577951308232;return b}();d.ks=m;
- var g=function(){function b(){}b.Mj=function(a,b){var c=new d.h;a.s(c);var f=d.fb.Bh(b),h=new d.h;h.I(f);h.o=c.o;h.v=c.v;h.O(.01*h.fa(),0);f=d.ma.be(b,c,!1);return h.contains(c)?a:d.me.clip(a,h,f,0)};b.gt=function(a,c,e,f,h){if(!d.fb.Jc(c))throw d.f.F();var l=d.ma.ah(c,a,!1),g=d.fb.Bh(c),r=d.fb.kc(c),m=r.Od().Ai,p=d.fb.gw(r),r=d.fb.Rv(r),p=p*(2-p),q=new d.Ac;g.Tn(q);var u=[[0,0],[0,0]];2==d.Td.Fb(c)?f?(u[0][0]=b.On(h,q),u[0][1]=g.Cq(),d.fb.ku(),g=u[0][0]*m):(u[0][0]=g.Gk(),u[0][1]=h,d.fb.ku(),g=u[0][1]*
- m):g=h*m;if(!f&&0!=g)throw d.f.F();var v=new d.ea,n=new d.fd;a=n.Jb(a);for(var w=[0],y=new d.b,D=new d.b,z=new d.b,B=new d.b,A=new d.b,C=new d.b,E=n.Pb(a);-1!=E;E=n.Sb(E)){var F=n.cb(E);n.w(F,z);for(var G=!1,H=F=n.U(F);-1!=H;H=n.U(H)){if(H==F){if(G)break;G=!0}n.w(H,B);if(f&&l<h-z.x&&B.x-h>l||l<h-B.x&&z.x-h>l||!f&&l<-z.y&&B.y>l||l<-B.y&&z.y>l){do if(!(Math.abs(z.x-B.x)>=.5*q.N())){2==d.Td.Fb(c)?(u[0][0]=b.On(z.x,q),u[0][1]=z.y,u[1][0]=b.On(B.x,q),u[1][1]=B.y,d.fb.TW(),A.x=u[0][0]*m,A.y=u[0][1]*m,C.x=
- u[1][0]*m,C.y=u[1][1]*m):(A.x=z.x*m,A.y=z.y*m,C.x=B.x*m,C.y=B.y*m);C.x=6.283185307179586*(B.x-z.x)/q.N()+A.x;if(f){if(D.x=g,D.y=b.DB(r,p,A,C,g,e),isNaN(D.y))break}else{D.x=b.BB(r,p,A,C,e);if(isNaN(D.x))break;D.y=0}d.mb.Md(r,p,A.x,A.y,C.x,C.y,v,null,null,e);var J=v.j;d.mb.Md(r,p,A.x,A.y,D.x,D.y,v,null,null,e);var K=v.j;2==d.Td.Fb(c)?(u[0][0]=D.x/m,u[0][1]=D.y/m,d.fb.SS(),f?(y.y=u[0][1],y.x=h):(y.x=b.Zp(u[0][0],z.x,B.x,q),y.y=h)):f?(y.x=h,y.y=D.y/m):(y.x=b.Zp(D.x/m,z.x,B.x,q),y.y=h);w[0]=0<J?d.J.nk(K/
- J,0,1):.5;0!=w[0]&&1!=w[0]&&(J=n.Ra(H),n.zm(J,w,1),n.rb(n.U(J),y.x,y.y))}while(0)}z.L(B)}}return n.Se(a)};b.Ym=function(a,c,e,f,h){if(a.u())return a;var l=d.fb.de(c);return b.Aq(a,e-180*l,360*l,c,f,h,!0)};b.DB=function(a,c,e,f,h,l){if(3.141592653589793<=Math.abs(e.x-f.x)||!b.Cj(e.x,f.x,h))return NaN;var g;e.x>f.x?g=f:(g=e,e=f);f=new d.ea(0);var r=new d.ea(0),m=new d.ea(0);d.mb.Md(a,c,g.x,g.y,e.x,e.y,r,f,null,l);var p=r.j,q=0,u=1,v=new d.b;for(v.L(g);p*(u-q)>1E-12*a;){var n=.5*(q+u);d.mb.Oj(a,c,g.x,
- g.y,p*n,f.j,r,m,l);v.x=r.j;v.y=m.j;if(v.x==h)break;if(b.Cj(g.x,v.x,h))u=n;else if(b.Cj(e.x,v.x,h))q=n;else return NaN}return v.y};b.Cj=function(a,b,e){a=m.uq(a);b=m.Vx(a,m.uq(b));e=m.Vx(a,m.uq(e));return 0==e||0<b&&0<e&&e<=b||0>b&&0>e&&e>=b?!0:!1};b.On=function(a,b){var c=b.ha-b.ca;return b.vu(a-Math.floor((a-b.ca)/c)*c)};b.Zp=function(a,b,e,f){var c=new d.Ac;c.I(b,e);e=f.N();a=Math.floor((a-b)/e)*e+a;for(c=c.Wf();Math.abs(a-c)>Math.abs(a+e-c);)a+=e;return a};b.BB=function(a,b,e,f,h){var c;e.y>f.y?
- c=f:(c=e,e=f);f=new d.Ac;f.I(c.y,e.y);if(!f.contains(0)||3.141592653589793<=Math.abs(c.x-e.x))return NaN;if(c.x==e.x)return c.x;var g=new d.ea(0),r=new d.ea(0),m=new d.ea(0);d.mb.Md(a,b,c.x,c.y,e.x,e.y,r,g,null,h);var p=r.j,q=0,u=1,n=new d.b;for(n.L(c);p*(u-q)>1E-12*a;){var x=.5*(q+u);d.mb.Oj(a,b,c.x,c.y,p*x,g.j,r,m,h);n.x=r.j;n.y=m.j;f.I(c.y,n.y);if(0==n.y)break;if(f.contains(0))u=x;else if(f.I(e.y,n.y),f.contains(0))q=x;else return NaN}return n.x};b.Aq=function(a,b,e,f,h,l,g){var c=new d.h;a.s(c);
- if(c.u())return a;var k=new d.Ac;c.Tn(k);var m=new d.Ac;m.I(b,b+e);if(m.contains(k)&&m.ha!=k.ha)return a;var q=new d.h;q.I(c);var u=a.G();if(33==u){q=h?a:a.Vf();c=q.Be();if(c<m.ca||c>=m.ha||g&&c==m.ha)c+=Math.ceil((m.ca-c)/e)*e,c=m.vu(c),q.zC(c);return q}if(550==u){q=h?a:a.Vf();f=q.Pa(0);u=2*q.D();a=!1;for(h=0;h<u;h+=2)if(c=f.read(h),c<m.ca||c>=m.ha||g&&c==m.ha)a=!0,c+=Math.ceil((m.ca-c)/e)*e,c=m.vu(c),f.write(h,c);a&&q.Dc(1993);return q}if(m.contains(k))return a;if(197==u)return e=h?a:a.Vf(),c.Ma(q),
- e.Gp(c),e;var n=.1*Math.max(c.fa(),c.N());q.O(0,n);g=a;m=f.re(0);a=d.ei.local();h=new d.Hd;for(var x=0;;){var w=Math.floor((k.ca-b)/e),y=Math.ceil((k.ha-b)/e);if(3<y-w){w=Math.floor(.5*(y+w));q.o=c.o-n;q.v=b+e*w;var D=d.me.clip(g,q,m,l);q.o=q.v;q.v=c.v+n;var z=d.me.clip(g,q,m,l);h.Ag((w-y)*e,0);z.Xc(h);1736==u?g=a.V(D,z,f,null):(g=D,g.add(z,!1));g.s(c);c.Tn(k);x++}else break}q.o=b;q.v=b+e;b=new d.h;b.I(q);b.O(m,0);b=Math.floor((c.o-q.o)/e)*e;0!=b?(q.move(b,0),h.Ag(-b,0)):h.oC();b=1607==u?new d.Ua(g.description):
- new d.Ia(g.description);l=new d.h;for(k=new d.h;c.v>q.o;){n=d.me.clip(g,q,m,0);n.s(k);if(1607==u?!n.u()&&(k.N()>m||k.fa()>m):!n.u()&&(1736!=u||k.N()>m))n.Xc(h),n.s(k),b.s(l),l.O(m,m),l.Yb(k)&&1736==u?b=a.V(b,n,f,null):b.add(n,!1);q.move(e,0);h.shift(-e,0)}return b};b.NJ=function(a,b,e,f,h){var c=new d.Ed(e.description);c.Jd(e,0,-1);h=d.fb.Xg(c,a,b,h);c=e.D();f.Oa();if(!d.fb.Jc(a)||c!=h.D())return!1;var g=new d.h;e.s(g);var r=new d.h;h.s(r);g=g.N();r=r.N();if(0!=g&&0!=r){if(r/=g,a=d.fb.Bh(b).N()/d.fb.Bh(a).N(),
- 1E-10<Math.abs(r/a-1))return!1}else if(0!=g||0!=r)return!1;f.add(e,!1);for(e=0;e<c;e++)a=h.Aa(e),f.rb(e,a);return!0};b.tA=function(){throw d.f.df();};return b}();d.gi=g})(n||(n={}));(function(d){(function(a){a[a.Clip=0]="Clip";a[a.DontClip=1]="DontClip";a[a.PannableFold=2]="PannableFold"})(d.di||(d.di={}));var m=d.di;(function(a){a[a.Geodesic=0]="Geodesic";a[a.Loxodrome=1]="Loxodrome";a[a.GreatElliptic=2]="GreatElliptic";a[a.NormalSection=3]="NormalSection";a[a.ShapePreserving=4]="ShapePreserving"})(d.kD||
- (d.kD={}));var g=d.kD,b=function(){function a(){}a.hw=function(a,b,f){if(f||0<b){a=a.toString(d.Vc.PE_STR_NAME_CANON|d.Vc.PE_STR_AUTH_NONE);b=[];for(f=0;f<a.length;f++)b[f]="a"<=a[f]&&"z">=a[f]?b[f]=a[f].toUpperCase():a[f];return b.join()}return a.toString(d.Vc.PE_STR_AUTH_TOP)};a.ps=function(a,b,f,h){var c=h.length,e=f.D();if(0!=e){var g=f.Pa(0),m=Math.min(e,c),p=0,q=a.Kg();isNaN(b)&&(b=0);var u=a.Jc();a=u?a.kc().qe().N():0;for(var n=179*a/360;0<e;){g.Gx(p<<1,m,h,0,!0);d.fi.projToGeogCenter(q,m,
- h,b);if(u)for(var x=0;x<m;x++){var w=h[x][0]-b,y=d.Ub.sign(w),D=g.read(2*(p+x));0>y*d.Ub.sign(D)&&Math.abs(w)>n&&(h[x][0]+=-y*a)}g.gy(p<<1,m,h,0,!0);p+=m;e-=m;m=Math.min(e,c)}f.Dc(1993)}};a.I_=function(a,b,f,h){var c=a.Kg();isNaN(b)&&(b=0);var e=f.Be();h[0][0]=e;h[0][1]=f.nf();d.fi.projToGeogCenter(c,1,h,b);a.Jc()&&(b=d.Ub.sign(h[0][0]-b),0>b*d.Ub.sign(e)&&(a=a.kc().qe().N(),Math.abs(h[0][0])>179*a/360&&(h[0][0]-=b*a)));f.rb(h[0][0],h[0][1])};a.vN=function(a,b,f,h){var c=0,e=a.Kg();isNaN(c)&&(c=0);
- var g=a.Jc(),m=a.de();a=360*m;for(var m=179*m,p=h.length,q=0;q<f;){for(var u=q;u<f&&b[u].isNaN();++u)q++;var n=Math.min(p,f-q);if(0<n){for(var u=1,x=q+1;u<n;++u,++x)if(b[x].isNaN()){n=u;break}d.ma.nz(h,b,q,n);d.fi.projToGeogCenter(e,n,h,c);if(g)for(u=0,x=q;u<n;++u,++x){var w=b[x].x,y=h[u][0]-c,D=d.Ub.sign(y);0>D*d.Ub.sign(w)&&Math.abs(y)>m&&(h[u][0]-=D*a)}d.ma.mz(b,q,h,n);q+=n}}};a.uy=function(a,b,f){var c=f.length,e=b.D();if(!(1>e)){var g=b.Pa(0),r=Math.min(e,c),m=0,p=a.Kg(),q=a.Jc(),u=q?a.qe().N():
- 0,n=179*u/360,x=0;for(q&&(x=a.pi());0<e;){g.Gx(m<<1,r,f,0,!0);d.fi.geogToProj(p,r,f);if(q)for(a=0;a<r;a++){var w=f[a][0],y=d.Ub.sign(w),D=g.read(2*(m+a))-x;0>y*d.Ub.sign(D)&&Math.abs(w)>n&&(f[a][0]+=-y*u)}g.gy(m<<1,r,f,0,!0);m+=r;e-=r;r=Math.min(e,c)}b.Dc(1993)}};a.A_=function(a,b,f){if(!b.u()){var c=a.Kg();f[0][0]=b.Be();f[0][1]=b.nf();d.fi.geogToProj(c,1,f);if(a.Jc()){var c=d.Ub.sign(f[0][0]),e=a.pi();0>c*d.Ub.sign(b.Be()-e)&&(a=a.qe().N(),Math.abs(f[0][0])>179*a/360&&(f[0][0]-=c*a))}b.rb(f[0][0],
- f[0][1])}};a.uN=function(a,b,f,h){if(0!=f){var c=a.Kg(),e=a.Jc(),g=e?a.qe().N():0,m=179*g/360,p=0;e&&(p=a.pi());for(a=0;a<f;){for(var q=a;q<f&&b[q].isNaN();++q)a++;var u=Math.min(h.length,f-a);if(0<u){for(var q=1,n=a+1;q<u;++q,++n)if(b[n].isNaN()){u=q;break}d.ma.nz(h,b,a,u);d.fi.geogToProj(c,u,h);if(e)for(q=0,n=a;q<u;q++){var x=h[q][0],w=d.Ub.sign(x);0>w*d.Ub.sign(b[n].x-p)&&Math.abs(x)>m&&(h[q][0]-=w*g)}d.ma.mz(b,a,h,u);a+=u}}}};a.os=function(a,b,f,h){var c=b.D();if(0!=c){var e=b.Pa(0),g=a.ie,m=
- a.He,p=g.kc().Yi(),q=m.kc().Yi(),u=g.de(),n=m.de();a=a.ue;if(null==a||0==a.count()){f=p/q;h=(g.en()-m.en())*n;q=-90*u;a=90*u;p=!1;n=1;for(g=2*c;n<g;)u=e.get(n),m=d.J.nk(u,q,a),m!=u&&(e.set(n,m),p=!0),n+=2;if(0!=h||1!=f)for(p=!0,q=new d.b,n=0;n<c;n++)e.fc(2*n,q),q.x*=f,q.x+=h,q.y*=f,e.ho(2*n,q);p&&b.Dc(1993)}else{var g=h.length,m=Math.min(c,g),x=d.J.gf(m),w=null,y=0,D=NaN,z=NaN,B=360*n,A=n/u;f&&(z=90*n,D=89.9*u,w=d.J.gf(m));for(var C=!0,E=0;0!=c;){u=!1;e.Gx(y<<1,m,h,0,!0);for(n=0;n<m;n++)x[n]=h[n][0];
- if(f)for(n=0;n<m;n++){var F=Math.abs(h[n][1])-D;0<F&&(u=h[n][1],h[n][1]=d.Ub.Fl(D,u),w[n]=d.Ub.Fl(F,u),u=!0)}n=h[0][0];a.transform(h,m,p,q);C&&(E=h[0][0]-A*n,C=!1);for(n=0;n<m;n++)F=h[n][0]-x[n]*A-E,200<Math.abs(F)&&(h[n][0]=0<F?h[n][0]-B:h[n][0]+B);if(u){for(n=0;n<m;n++)0!=w[n]&&(h[n][1]+=A*w[n],h[n][1]>z?h[n][1]=z:h[n][1]<-z&&(h[n][1]=-z));for(u=0;u<m;u++)w[u]=0}e.gy(y<<1,m,h,0,!0);y+=m;c-=m;m=Math.min(c,g)}b.Dc(1993)}}};a.z_=function(a,b,f,h){if(b.u())return!1;var c=a.ie,e=a.He,g=a.ue,m=c.kc().Yi(),
- p=e.kc().Yi();h[0][0]=b.Be();h[0][1]=b.nf();if(null!=g&&0<g.count()){a=!0;var q=!1,n=NaN,v=0,x=1;f&&(f=c.de(),n=e.de(),x=n/f,n*=90,c=89.9*f,e=Math.abs(h[0][1])-c,0<e&&(q=h[0][1],h[0][1]=d.Ub.Fl(c,q),v=d.Ub.Fl(e,q),q=!0));g.transform(h,1,m,p);q&&0!=v&&(h[0][1]+=x*v,h[0][1]>n?h[0][1]=n:h[0][1]<-n&&(h[0][1]=-n));b.rb(h[0][0],h[0][1])}else{f=c.de();a=d.J.nk(h[0][1],-90*f,90*f)!=h[0][1];n=e.de();g=(c.en()-e.en())*n;m/=p;if(1!=m||0!=g)a=!0,h[0][0]*=m,h[0][0]+=g,h[0][1]*=m;a&&b.rb(h[0][0],h[0][1])}return a};
- a.tN=function(a,b,f,h){var c;if(a.rr)h=90*a.ie.de(),d.ma.UK(b,f,-h,h);else{var e=a.ue,g=a.ie,m=a.He;a=g.Ws();var p=m.Ws(),q=g.de(),n=90*q,v=m.de();if(null==e||0==e.count()){if(h=a/p,e=(g.en()-m.en())*v,d.ma.UK(b,f,-n,n),0!=e||1!=h)for(v=0;v<f;v++)b[v].x*=h,b[v].x+=e,b[v].y*=h}else for(var g=Math.min(f,h.length),n=d.J.gf(g),m=360*v,q=v/q,x=!0,w=0,y=0;0!=f;){for(v=0;v<g;v++)n[v]=b[v+y].x;v=b[0].x;d.ma.nz(h,b,y,g);e.transform(h,g,a,p);d.ma.mz(b,y,h,g);x&&(w=b[0].x-q*v,x=!1);for(v=0;v<g;v++)c=b[y+v].x-
- n[v]*q-w,200<Math.abs(c)&&(b[y+v].x=0<c?b[y+v].x-m:b[y+v].x+m);y+=g;f-=g;g=Math.min(f,h.length)}}};a.YZ=function(b,e,d,h){return a.Ym(b,e,isNaN(d)?0:d,!0,h,null)};a.Uu=function(a,b){a=a.Bh();isNaN(b)||a.wv(b,0);return a};a.JS=function(b,e,f,h,g,k,r,m){for(var c=a.Uu(h,g),l=c.N(),t=l/360,n=a.jE*t,x=b.Pa(0),w=e.Jc(),y=w?l/e.qe().N():0,D=!1,z=new d.Ia(f.description),B=0,A=f.aa();B<A;++B){var C=w,E=new d.Ua(f.description);E.Ti(f,B,!0);if(0!=r){var F=a.$D(!0,E,c.B-m,c.B,r);(D=D||F)&&(C=!1)}var G=-1;C&&
- (G=b.wa(B));var H=E.Pa(0),J=E.D(),K=0,I=H.read(0),L=0,F=3*h.re(0),M=!1,R=new d.b;R.$c();var O=new d.b;O.$c();for(var Q=!1,N=1;N<J;++N){var P=d.b.pa(H.Of(2*N),H.Of(2*N+1)),Z=P.x,T=Z+K,X=T-I;P.x=T;if(Math.abs(X)>n){if(C){var W=G+(N+1<J?N:0),Y=x.read(2*(G+N-1)),W=(x.read(2*W)-Y)*y;Math.abs(X-W)>1*t&&(C=!1)}C||(K-=d.Ub.Fl(l,T-I),T=Z+K,++L,Q=0!=K,P.x=T)}else M||d.ma.MH(O,R,P,F)&&(M=!0);Q&&H.write(2*N,T);I=T;O.L(R);R.L(P)}0<L&&E.Dc(1993);C=E.Aa(0);J=E.Aa(J-1);E=d.b.Cb(C,J)<F?a.SR(E,h,g,k,M):a.fS(b,B,E,
- h,g);z.add(E,!1)}g=h.re(0);f=c.N()/180;a.wu(z,c,.1*g,!1);g=d.uh.clip(z,c,g,f,k);z=z!=g;b=b.hf();m=g.hf();r=0;0<m&&0>b?r=1:0>=m&&0<b&&(0==m?(m=NaN,2==e.Fb()?m=e.Lk().hf():1==e.Fb()&&(m=e.qe().HG()),b>.99*m&&(r=-1)):r=-1);0!=r&&(e=new d.Ia(g.description),e.oq(c),e=d.Km.local().V(e,f,k),e.add(g,!1),z=!0,g=e);z&&(g=d.Lm.local().V(g,h,!1,k));return g};a.fS=function(b,e,f,h,g){var c=f.D(),l=f.Aa(0),m=f.Aa(c-1);h=a.Uu(h,g);g=h.N();var l=d.Ub.sign(m.x-l.x),p=new d.h;f.ac(p);var q=h.Gk(),n,m=q-g,q=q+g;if(0<=
- l){for(var v=Math.ceil((m-p.o)/g),v=v*g;m>p.o+v;)v+=g;for(;m<p.v+v;)v-=g;n=v;720<p.N()&&(q=m+360*Math.ceil(p.N()/360))}else{v=Math.ceil((q-p.v)/g);for(v*=g;q<p.v+v;)v-=g;for(;q>p.o+v;)v+=g;n=v;720<p.N()&&(m=q-360*Math.ceil(p.N()/360))}var v=l*g,x=d.h.pa(p.o,p.A,p.v,p.B);x.move(n,0);var w=new d.Hd;w.Ag(n,0);f.Xc(w);p=new d.Ua(f.description);p.add(f,!1);n=f.Aa(c-1);g=0;for(var y=p.Aa(0).x,D=0;0<l?x.v<q:x.o>m;)1024<=D&&(D=0),x.move(v,0),w.Wb=v,f.Xc(w),y+=v,h.o<=y&&h.v>=y&&(g=p.D()-1),f.rb(0,n),n=f.Aa(c-
- 1),p.As(f,0,0,c-1,!1);f=new d.Ia(p.description);c=0<b.Tm(e);f.add(p,!1);b=p.Aa(0);m=p.Aa(p.D()-1);e=f.aa()-1;(0>l?c:!c)?(l=d.b.pa(m.x,h.B),f.aj(l),l=d.b.pa(h.Gk(),h.B),f.aj(l),h=d.b.pa(b.x,h.B)):(l=d.b.pa(m.x,h.A),f.aj(l),l=d.b.pa(h.Gk(),h.A),f.aj(l),h=d.b.pa(b.x,h.A));f.aj(h);f.JH(0,e,0);f.mQ(g);return f};a.SR=function(b,e,f,h,g){var c=new d.Ia(b.description);c.add(b,!1);c.bC(0,c.D()-1);var l=new d.h;c.ac(l);f=a.Uu(e,f);for(var m=f.N(),p=Math.ceil((f.o-l.o)/m),p=p*m;f.o>l.o+p;)p+=m;for(;f.o<l.v+
- p;)p-=m;p+=m;if(0!=p){l.move(p,0);var q=new d.Hd;q.Ag(p,0);c.Xc(q)}if(f.o<=l.o&&f.v>l.v)return g&&(g=c.hf(),c=d.Lm.local().V(c,e,!0,h),e=c.hf(),(e=d.Ub.sign(g)!=d.Ub.sign(e))&&c.dK()),c;b=new d.Ia(b.description);b.add(c,!1);for(g=g||l.N()>m-e.re(0);l.o<f.v;)l.move(m,0),q=new d.Hd,q.Ag(m,0),c.Xc(q),b.add(c,!1);g&&(g=b.hf(),b.Hp(1),b=d.Lm.local().V(b,e,!0,h),e=b.hf(),(e=d.Ub.sign(g)!=d.Ub.sign(e))&&b.dK());return b};a.$D=function(a,b,f,h,g){for(var c=b.Pa(0),e=b.D(),l=!1,m=0;m<e;m++){var q=d.b.pa(c.Of(2*
- m),c.Of(2*m+1));if(0!=(g&1)&&q.y>=f){l=!0;break}if(0!=(g&2)&&q.y<=-f){l=!0;break}}if(!l)return!1;c=!1;a&&(c=b.Eo(0));a=new d.fd;var e=a.Jb(b),l=a.Pb(e),n=-1,v=!0,x=new d.b;x.$c();for(var m=new d.Wa,w=-1,y=a.cb(l);-1!=y;y=a.U(y)){var q=a.Aa(y),D=0!=(g&1)&&90<=q.y?1:0,D=D|(0!=(g&2)&&q.y<=-f?2:0);if(0<n&&n!=D){if(x.x!=q.x){x.x=q.x;a.wj(a.Ra(y),m);var z=a.Vj(l,y,m);a.Qf(z,x)}if(c)for(w=-1!=w?a.U(w):a.cb(l),z=a.Ra(y);w!=z;)w=a.td(w,!1);w=-1}0<D&&(q.y=d.Ub.Fl(h,q.y),a.Qf(y,q),v||n==D||(q.x!=x.x?(a.wj(y,
- m),z=a.Vj(l,y,m),a.rb(z,x.x,q.y),w=z):w=y));n=D;x=q;v=!1}if(c){if(-1!=w)for(w=a.U(w);-1!=w;)w=a.td(w,!1);f=a.cb(l);a.Tq(f,a.Rj(l))||(a.wj(f,m),a.Vj(l,-1,m))}a.Se(e).copyTo(b);return!0};a.yZ=function(a,b){var c=0,e=a.Ka(b);b+=1;for(var d=a.aa();b<d&&!(0<a.Tm(b));++b)c++;return 64<e&&3<=c};a.sA=function(b,e,f,h){var c=b;if(c.u()||f==m.DontClip)return c;var g=c.G();if(33==g)return h=c,c=[h.w()],a.KH(c,1,e,f),c[0].isNaN()?h.Oa():h.rb(c[0]),b;b=e.kc();var r=b.de(),t=90*r,p=180*r,q=360*r,n=e.pi(),v=.5*
- r,x=new d.h;c.s(x);var w=e.Us(),y=e.CS(),D=197==w.G();e=new d.h;w.s(e);f==m.PannableFold&&(f=b.qe().N(),e.o=n-.5*f,e.v=e.o+f);if(x.A<-t||x.B>t){(new d.h).I(x.o-r,-t,x.v+r,t);c=d.uh.rq(c,e,b,NaN,0,h);if(c.u())return c;c.s(x)}if(y&&(e.B<x.A||e.A>x.B))return c.Ja();x.N()>q&&(c=a.Aq(c,n-p,q,b,!0,0,!0,h),c.s(x));t=a.BN(x.o,x.v,e.o,e.v,q);0!=t&&x.move(t,0);if(x.v>e.v||x.o<e.o){if(x.v>e.v)for(;x.o>=e.v;)x.move(-q,0),t-=q;for(;x.o<e.v-q;)x.move(q,0),t+=q}f=d.ma.uv(b,w);0!=t&&(r=new d.Hd,r.Ag(t,0),c.Xc(r));
- if(y){if(D&&e.contains(x))return c;y=[null,null];for(t=0;2>t;t++){D?r=d.T.Ic(g)?d.uh.clip(c,e,f,v,h):d.uh.clip(c,e,f,0,h):(r=d.sk.local().V(c,w,b,h),r==w&&(r=d.T.ne(r)));if(e.o<=x.o&&e.v>=x.v||e.o>=x.o&&e.v<=x.v)return r;y[t]=r;0==t&&(x.move(-q,0),r=new d.Hd,r.Ag(-q,0),c.Xc(r))}if(550==g)y[0].Jd(y[1],0,-1);else if(d.T.Ic(g))y[0].add(y[1],!1);else if(33==g)y[0].u()&&(y[0]=y[1]);else throw d.f.X("intersect_with_GCS_horizon: unexpected geometry type");return y[0]}if(e.B<x.A||e.A>x.B)return c;for(g=0;!c.u()&&
- x.v>e.o;)0!=g&&(r=new d.Hd,r.Ag(g,0),c.Xc(r)),d.Gj.local().V(4,c,w,b,h)||(c=d.cq.local().V(c,w,b,h),w==c&&(c=d.T.ne(c))),0!=g&&(v=new d.Hd,v.Ag(-g,0),c.Xc(v)),g-=q,x.move(-q,0);return c};a.KH=function(b,e,f,h){if(0!=e&&h!=m.DontClip)if(h==m.PannableFold){h=f.zT();for(var c=e,g=0;g<e;g++)if(b[g].y>h.B||b[g].y<h.A)b[g].$c(),c--;0!=c&&a.Tu(b,e,h.o,h.N())}else{h=f.de();var r=90*h,t=180*h;h*=360;c=e;for(g=0;g<e;g++)if(b[g].y>r||b[g].y<-r)b[g].$c(),c--;if(0!=c){c=new d.h;c.Lx(b,e);var r=f.Us(),p=f.Tv(),
- g=197==r.G(),q=new d.h;r.s(q);if(!p||!(q.B<c.A||q.A>c.B))if(p)if(a.Tu(b,e,q.Gk()-t,h),c=e,g)for(g=0;g<e;g++)q.contains(b[g])||(b[g].$c(),c--);else for(f=d.ma.uv(f.kc(),r),g=0;g<e;g++)(t=0!=d.gd.fe(r,b[g],f))||(b[g].$c(),c--);else for(a.Tu(b,e,-t,h),c=e,f=d.ma.uv(f.kc(),r),g=0;g<e;g++)if(t=b[g],t.isNaN()&&c--,p=a.oE(t.x,q.o,q.v,h),t.x+=p,t=0!=d.gd.fe(r,t,f))b[g].$c(),c--}}};a.a_=function(a,b,f){if(0<=b&&!a.Qb(b))return 0;var c=0;if(1==f.Fb())return b=90*f.de(),b-=2*b/Math.PI*d.Vc.PE_HORIZON_DELTA,
- f=new d.h,a.s(f),f.B>=b&&(c=1),f.A<=-b&&(c|=2),c;var e=f.Sj();if(null==e)return 0;var g=null;0<=b&&(g=a);for(var r=0;2>r;r++)if((0<r?e.getSouthPoleLocation():e.getNorthPoleLocation())!=d.Bg.PE_POLE_OUTSIDE_BOUNDARY){var m=f.cA(0<r);m.isNaN()||(m=0>b?d.ff.wA(a,m,0):d.ff.xA(g,b,m,0,null),c|=m<<r)}return c};a.Aq=function(a,b,f,h,g,k,r,m){var c=a.G(),e=b+f;if(33===c){h=g?a:a.Vf();var l=h.Be();if(l<b||l>=e||r&&l==e)l+=Math.ceil((b-l)/f)*f,l=d.J.nk(l,b,e),h.zC(l);return h}if(a.u())return a;l=new d.h;a.s(l);
- if(l.u())return a;var t=new d.Ac;l.Tn(t);var n=new d.Ac;n.I(b,e);if(n.contains(t))return a;e=new d.h;e.I(l);if(550===c){h=g?a:a.Vf();m=h.Pa(0);c=2*h.D();e=!1;for(b=0;b<c;b+=2)if(l=m.read(b),l<n.ca||l>=n.ha||r&&l==n.ha)e=!0,l+=Math.ceil((n.ca-l)/f)*f,l=n.vu(l),m.write(b,l);e&&h.Dc(1993);return h}if(197==c)return f=g?a:a.Vf(),l.Ma(e),f.Gp(l),f;var w=.1*Math.max(l.fa(),l.N());e.O(0,w);r=a;n=h.re(0);a=d.ei.local();for(g=new d.Hd;;){var y=Math.floor((t.ca-b)/f),D=Math.ceil((t.ha-b)/f);if(3<D-y){y=Math.floor(.5*
- (D+y));e.o=l.o-w;e.v=b+f*y;var z=d.uh.clip(r,e,n,k,m);e.o=e.v;e.v=l.v+w;var B=d.uh.clip(r,e,n,k,m);g.Ag((y-D)*f,0);B.Xc(g);1736==c?r=a.V(z,B,h,null):(r=z,r.add(B,!1));r.s(l);l.Tn(t)}else break}e.o=b;e.v=b+f;b=new d.h;b.I(e);b.O(n,0);b=Math.floor((l.o-e.o)/f)*f;0!=b?(e.move(b,0),g.Ag(-b,0)):g.oC();b=1607==c?new d.Ua(r.description):new d.Ia(r.description);k=new d.h;for(t=new d.h;l.v>e.o;){w=d.uh.clip(r,e,n,0,m);w.s(t);if(1607==c?!w.u()&&(t.N()>n||t.fa()>n):!w.u()&&(1736!=c||t.N()>n))w.Xc(g),w.s(t),
- b.s(k),k.O(n,n),k.Yb(t)&&1736==c?b=a.V(b,w,h,null):b.add(w,!1);e.move(f,0);g.shift(-f,0)}return b};a.Tu=function(a,b,f,h){for(var c=f+h,e=0;e<b;e++){var g=a[e].x;f<=g&&g<c||!(g<f||g>c||g==c)||(g+=Math.ceil((f-g)/h)*h,g=d.J.nk(g,f,c),a[e].x=g)}};a.Ym=function(b,e,f,h,g,k){if(!e.Jc())throw d.f.X("fold_into_360_degree_range");if(b.u())return b;var c;if(2==e.Fb())f=e.aw(),c=e.$v()-f;else{var l=e.de();c=360*l;f-=180*l}return a.Aq(b,f,c,e,h,g,!0,k)};a.AG=function(b,e,d,h){if(2==d.Fb())h=d.aw(),d=d.$v()-
- h;else{var c=d.de();d=360*c;h-=180*c}a.Tu(b,e,h,d)};a.Mj=function(a,b){var c=b.qe();if(33==a.G()){var e=a.nf();return c.A<=e&&e<=c.B?a:a.Ja()}e=new d.h;a.s(e);var g=new d.h;g.I(c);g.o=e.o;g.v=e.v;g.O(.01*g.fa(),0);c=d.ma.Zy(b,e);return g.contains(e)?a:d.uh.clip(a,g,c,0,null)};a.Jm=function(a,b,d){return a>b.v&&a-b.v<d?b.v:a<b.o&&b.o-a<d?b.o:a};a.yY=function(b,e,d,h){h.x=a.Jm(b.x,e,d);h.y=b.y};a.xY=function(b,e,d,h){for(var c=0;c<e;c++)b[c].y<d.A||b[c].y>d.B?b[c].$c():b[c].x=a.Jm(b[c].x,d,h)};a.wu=
- function(b,e,f,h){if(!b.u()){var c=b.G();if(!h||1736!=c)if(d.T.gh(c)){h=b.Pa(0);for(var c=0,g=b.D();c<g;c++){var r=h.read(2*c),m=a.Jm(r,e,f);m!=r&&h.write(2*c,m)}b.Dc(1993)}else if(197==c)h=new d.h,b.s(h),h.o=a.Jm(h.o,e,f),h.v=a.Jm(h.v,e,f),b.Gp(h);else if(33==c)b.zC(a.Jm(b.Be(),e,f));else throw d.f.X("internal error");}};a.oU=function(b,e,f,h){var c=new d.fd,g=c.Jb(b);b=d.ma.uv(e,b);a.gt(c,g,e,b,f,!0,h);return c.Se(g)};a.gt=function(b,e,f,h,l,k,r){if(!f.Jc())throw d.f.F("invalid call");var c=f.qe(),
- m=f.kc(),q=m.Kg().getDatum().getSpheroid(),m=m.Od().Ai,n=q.getFlattening(),q=q.getAxis(),n=n*(2-n),v=new d.Ac;c.Tn(v);var x=null,w=[[0,0],[0,0]];2==f.Fb()?(x=f.Kg(),k?(w[0][0]=a.On(r,v),w[0][1]=c.Cq(),d.fi.projToGeog(x,1,w),c=w[0][0]*m):(w[0][0]=c.Gk(),w[0][1]=r,d.fi.projToGeog(x,1,w),c=w[0][1]*m)):c=r*m;if(!k&&0!=c&&l!=g.GreatElliptic)throw d.f.X("invalid argument");var y=new d.ea,D=[0],z=new d.b,B=new d.b,A=new d.b,C=[null,null],E=new d.b,F=new d.b,G=new d.b,H=new d.b;for(e=b.Pb(e);-1!=e;e=b.Sb(e)){var J=
- b.cb(e);b.w(J,E);for(var I=!1,M=J=b.U(J);-1!=M;M=b.U(M)){if(M==J){if(I)break;I=!0}b.w(M,F);if(k&&(h<r-E.x&&F.x-r>h||h<r-F.x&&E.x-r>h)||!k&&(0!=r||h<-E.y&&F.y>h||h<-F.y&&E.y>h)){do if(!(Math.abs(E.x-F.x)>=.5*v.N())){2==f.Fb()?(w[0][0]=a.On(E.x,v),w[0][1]=E.y,w[1][0]=a.On(F.x,v),w[1][1]=F.y,d.fi.projToGeogCenter(x,2,w,0),G.x=w[0][0]*m,G.y=w[0][1]*m,H.y=w[1][1]*m):(G.x=E.x*m,G.y=E.y*m,H.y=F.y*m);H.x=2*(F.x-E.x)*Math.PI/v.N()+G.x;var L;if(k){B.x=c;B.y=a.DB(q,n,G,H,c,l);if(isNaN(B.y))break;C[0]=B;L=1}else if(l==
- g.GreatElliptic){var N=[0,0];L=d.xy.tA(q,n,G,H,c,N);if(0==L)break;B.x=N[0];B.y=c;C[0]=B;2==L&&(A.x=N[1],A.y=c,C[1]=A)}else{B.x=a.BB(q,n,G,H,l);if(isNaN(B.x))break;B.y=0;C[0]=B;L=1}for(var R=-1,N=0;N<L;N++){d.mb.Md(q,n,G.x,G.y,H.x,H.y,y,null,null,l);var O=y.j;d.mb.Md(q,n,G.x,G.y,C[N].x,C[N].y,y,null,null,l);var Q=y.j;2==f.Fb()?(w[0][0]=C[N].x/m,w[0][1]=C[N].y/m,d.fi.geogToProj(x,1,w),k?(z.y=w[0][1],z.x=r):(z.x=a.Zp(w[0][0],E.x,F.x,v),z.y=r)):k?(z.x=r,z.y=C[N].y/m):(z.x=a.Zp(C[N].x/m,E.x,F.x,v),z.y=
- r);D[0]=0<O?d.J.nk(Q/O,0,1):.5;if(0==D[0]||1==D[0])break;R>D[0]||(R=b.Ra(M),b.zm(R,D,1),b.rb(b.U(R),z.x,z.y),R=D[0])}}while(0)}E.L(F)}}};a.On=function(a,b){var c=b.ha-b.ca;return b.vu(a-Math.floor((a-b.ca)/c)*c)};a.Zp=function(a,b,f,h){var c=new d.Ac;c.I(b,f);f=h.N();a=Math.floor((a-b)/f)*f+a;for(c=c.Wf();Math.abs(a-c)>Math.abs(a+f-c);)a+=f;return a};a.Cj=function(a,b,f){a=d.ks.uq(a);b=d.ks.Vx(a,d.ks.uq(b));f=d.ks.Vx(a,d.ks.uq(f));return 0==f||0<b&&0<f&&f<=b||0>b&&0>f&&f>=b?!0:!1};a.DB=function(b,
- e,f,h,l,k){if(k==g.GreatElliptic)return d.xy.LU(e,f,h,l);if(Math.abs(f.x-h.x)>=Math.PI||!a.Cj(f.x,h.x,l))return NaN;var c;f.x>h.x?c=h:(c=f,f=h);h=new d.ea;var m=new d.ea,p=new d.ea;d.mb.Md(b,e,c.x,c.y,f.x,f.y,m,h,null,k);var q=m.j,n=0,v=1,x=new d.b;for(x.L(c);q*(v-n)>1E-12*b;){var w=.5*(n+v);d.mb.Oj(b,e,c.x,c.y,q*w,h.j,m,p,k);x.x=m.j;x.y=p.j;if(x.x==l)break;if(a.Cj(c.x,x.x,l))v=w;else if(a.Cj(f.x,x.x,l))n=w;else return NaN}return x.y};a.BB=function(a,b,f,h,l){if(l==g.GreatElliptic)return l=[0,0],
- d.xy.tA(a,b,f,h,0,l),l[0];var c;f.y>h.y?c=h:(c=f,f=h);h=new d.Ac;h.I(c.y,f.y);if(!h.contains(0)||Math.abs(c.x-f.x)>=Math.PI)return NaN;if(c.x==f.x)return c.x;var e=new d.ea,m=new d.ea,p=new d.ea;d.mb.Md(a,b,c.x,c.y,f.x,f.y,m,e,null,l);var q=m.j,n=0,v=1,x=new d.b;for(x.L(c);q*(v-n)>1E-12*a;){var w=.5*(n+v);d.mb.Oj(a,b,c.x,c.y,q*w,e.j,m,p,l);x.x=m.j;x.y=p.j;h.I(c.y,x.y);if(0==x.y)break;if(h.contains(0))v=w;else if(h.I(f.y,x.y),h.contains(0))n=w;else return NaN}return x.x};a.w_=function(a,b,f,h,g,k){if(b==
- g&&f!=k)throw d.f.F();if(0>=h)return 0;if(a.Ho()){k*=2;var c=2*f;a=2*h;for(f=0;f<a;f++)g[k+f]=b[c+f];return h}if(2>=h){k=[new d.b,new d.b];for(c=0;c<h;c++)k[c].ka(b[2*c],b[2*c+1]);b=d.ns.local().VY(a,k,h,k);for(c=0;c<h;c++)g[2*c]=k[c].x,g[2*c+1]=k[c].y;return b}var e=a.ie,c=a.He,l=e.Fb(),m=c.Fb();if(0==l&&l==m)return a=e.Yi(),c=c.Yi(),c=a/c,a=new d.Hd,a.Op(c,c),a.WY(b,f,g,k,h),h;l=new d.Ed;l.Ud(3);l.resize(h);for(var m=l.Pa(0),n=l.Pa(3),c=0,v=2*f,x=2*k;c<h;c++,x+=2){f=b[v++];var e=b[v++],w=x;if(isNaN(f)||
- isNaN(e))e=f=0,w=-1;n.write(c,w);m.write(2*c,f);m.write(2*c+1,e)}l.Dc(1993);b=d.ns.local().V(l,a,null);c=0;for(k*=2;c<h;c++,k+=2)g[k]=NaN,g[k+1]=NaN;if(b.u())return 0;k=b.Pa(3);a=b.Pa(0);c=l=0;for(h=b.D();c<h;c++)b=k.read(c),-1!=b&&(f=a.read(2*c),e=a.read(2*c+1),g[b]=f,g[b+1]=e,l++);return l};a.NJ=function(a,b,f,h){if(!a.ie.Jc())return!1;var c=new d.Ed(b.description);c.Jd(b,0,-1);h=d.ns.local().V(c,a,h);c=b.D();f.Oa();if(c!=h.D())return!1;var e=new d.h;b.s(e);var g=new d.h;h.s(g);e=e.N();g=g.N();
- if(0!=e&&0!=g){if(g/=e,a=a.He.Bh().N()/a.ie.Bh().N(),1E-10<Math.abs(g/a-1))return!1}else if(0!=e||0!=g)return!1;f.add(b,!1);b=new d.b;for(a=0;a<c;a++)h.w(a,b),f.rb(a,b);return!0};a.pP=function(a,b){a%=360*b;a>=180*b&&(a-=360*b);return a};a.LJ=function(b,e,f,h){if(f==m.Clip){var c=e.Lk();197==c.G()?(f=new d.h,c.s(f),c=d.ma.Zy(e,f),b=d.uh.clip(b,f,c,5E4*e.cn(),h)):d.Gj.local().V(1,c,b,e,h)||(b=d.sk.local().V(b,c,e,h),b==c&&(b=d.xl.ne(b)))}else e.Jc()&&(h=new d.h,b.ac(h),e.qe().contains(h)||(a.wu(b,
- e.qe(),e.re(0),!0),f==m.PannableFold&&(b=a.Mj(b,e)),b=a.Ym(b,e,0,!0,1E5*e.cn(),null)));return b};a.iF=function(a,b,f){var c=b.Vs();if(null==c)return a;b=b.kc();var e=b.qe().N(),g=new d.h;a.ac(g);var r=new d.Ac;g.Tn(r);for(var g=c.Da(),c=null,m=new d.Hd;g.Ya();)for(;g.Ca();){var p=g.ba(),q=p.xf(0,0),n=new d.Ac;n.I(q.ca,q.ha);for(q=0;n.ha>r.ca;)n.move(-e),--q;for(;n.ca<=r.ha;){if(n.Yb(r)){null==c&&(c=new d.Ua);var v=d.Hb.eR(p.ec(),p.Cc());0!=q&&(m.Ag(q*e,0),v.Xc(m));c.dc(v,!0)}n.move(e);++q}}return null!=
- c?(b=d.ma.fQ(b,c),b=d.ma.Bs(b),d.Ju.jR(a,c,b,f)):a};a.BN=function(b,e,d,h,g){return b>=d&&e<=h?0:a.oE(.5*(e+b),d,h,g)};a.oE=function(a,b,f,h){return d.Ub.round((.5*(f+b)-a)/h)*h};a.KS=function(b,e,f,h,g,k,r,m){var c=a.Uu(h,g),l=c.N(),t=l/360,n=a.jE*t,x=b.Pa(0),w=e.Jc(),y=w?l/e.qe().N():0,D;e=b.Ja();for(var z=0,B=f.aa();z<B;++z){var A=w,C=new d.Ua(f.description);C.Ti(f,z,!0);D=f.Qb(z);0!=r&&(D=a.$D(D,C,c.B-m,c.B,r))&&(A=!1);var E=-1;D=C.D();var F=!1;A&&(E=b.wa(z),F=b.Qb(z));var G=C.Pa(0),H=0,J=G.read(0),
- I=0,M=3*h.re(0),L=!1,N=new d.b;N.$c();var O=new d.b;O.$c();for(var Q=!1,P=1;P<D;++P){var W=d.b.pa(G.Of(2*P),G.Of(2*P+1)),X=W.x,Z=X+H,T=Z-J;W.x=Z;if(Math.abs(T)>n){if(A){var Y=E+P-1,aa=E;if(!F||P+1<D)aa+=P;Y=x.read(2*Y);aa=(x.read(2*aa)-Y)*y;Math.abs(T-aa)>1*t&&(w=!1)}A||(H-=d.Ub.Fl(l,Z-J),Z=X+H,++I,Q=0!=H,W.x=Z)}else L||d.ma.MH(N,O,W,M)&&(L=!0);Q&&G.write(2*P,Z);J=Z;N.L(O);O.L(W)}0!=I&&C.Dc(1993);A=C.Aa(0);D=C.Aa(D-1);d.b.Cb(A,D);C=a.DS(C,h,isNaN(g)?0:g,k);e.add(C,!1)}b=h.re(0);f=c.N()/180;a.wu(e,
- c,.1*b,!1);return d.uh.clip(e,c,b,f,k)};a.DS=function(b,e,d,h){return a.Ym(b,e,d,!0,0,h)};a.IU=function(a,b,f,h){var c=a.G();if(1736==c)for(b=null!=b?b.re(0):0,c=0;c<h;c++)1!=d.gd.fe(a,f[c],b)&&f[c].$c();else if(197==c)for(c=0;c<h;c++)a.fR(f[c])||f[c].$c();else throw d.f.F();};a.Dl=function(a,b,f,h){if(32>f)for(var c=new d.Wa,e=0;e<f;e++)c.rb(b[e]),a.Dl(c,h).w(b[e]);else{var g=new d.Ed;g.Ud(3);g.XE(b,f);c=g.Pa(3);for(e=0;e<f;e++)c.write(e,e);e=a.Dl(g,h);a=e.Pa(0);c=e.Pa(3);h=d.b.pa(NaN,NaN);for(g=
- 0;g<f;g++)b[g]=h;f=e.D();for(e=0;e<f;e++)h=c.read(e),a.fc(2*e,b[h])}};a.Cl=function(a,b,f,h){if(32>f)for(var c=new d.Wa,e=0;e<f;e++)c.rb(b[e]),a.Cl(c,h).w(b[e]);else{var g=new d.Ed;g.Ud(3);g.XE(b,f);c=g.Pa(3);for(e=0;e<f;e++)c.write(e,e);e=a.Cl(g,h);a=e.Pa(0);c=e.Pa(3);h=d.b.pa(NaN,NaN);for(g=0;g<f;g++)b[g]=h;f=e.D();for(e=0;e<f;e++)h=c.read(e),a.fc(2*e,b[h])}};a.Z_="ABCDEFGHIJKLMNOPQRSTUVWXYZ";a.jE=210;return a}();d.Ib=b})(n||(n={}));(function(d){(function(d){d[d.rightSide=1]="rightSide"})(d.JN||
- (d.JN={}));var m=function(){function g(b,a,c){this.wt=new d.b;void 0===b?this.up=-1:(this.wt.L(b),this.up=a,this.Qa=c,this.Zw=0)}g.prototype.MK=function(b){this.Zw=b?this.Zw|1:this.Zw&-2};g.prototype.u=function(){return 0>this.up};g.prototype.Mz=function(){if(this.u())throw d.f.X("invalid call");return new d.Wa(this.wt.x,this.wt.y)};g.prototype.Za=function(){if(this.u())throw d.f.X("invalid call");return this.up};g.prototype.Pz=function(){if(this.u())throw d.f.X("invalid call");return this.Qa};g.prototype.yA=
- function(){return 0!=(this.Zw&1)};g.prototype.Ky=function(b,a,c,e){this.wt.x=b;this.wt.y=a;this.up=c;this.Qa=e};return g}();d.Nm=m})(n||(n={}));(function(d){var m=function(){function b(){}b.prototype.Xn=function(a,b){this.Rh.resize(0);this.hj.length=0;this.Vk=-1;a.ac(this.gl);this.gl.O(b,b);this.gl.Yb(this.Mb.Ga)?((this.qt=d.T.Oc(a.G()))?(this.fJ=a.ec(),this.eJ=a.Cc(),this.ta=b):this.ta=NaN,this.Rh.add(this.Mb.Mf),this.hj.push(this.Mb.Ga),this.Kt=this.Mb.Ts(this.Mb.Mf)):this.Kt=-1};b.prototype.Ni=
- function(a,b){this.Rh.resize(0);this.hj.length=0;this.Vk=-1;this.gl.I(a);this.gl.O(b,b);this.ta=NaN;this.gl.Yb(this.Mb.Ga)?(this.Rh.add(this.Mb.Mf),this.hj.push(this.Mb.Ga),this.Kt=this.Mb.Ts(this.Mb.Mf),this.qt=!1):this.Kt=-1};b.prototype.next=function(){if(0==this.Rh.size)return-1;this.Vk=this.Kt;var a=null,b=null,e,f=null,h=null;this.qt&&(a=new d.b,b=new d.b,f=new d.h);for(var l=!1;!l;){for(;-1!=this.Vk;){e=this.Mb.Iz(this.Mb.Sv(this.Vk));if(e.Yb(this.gl))if(this.qt){if(a.L(this.fJ),b.L(this.eJ),
- f.I(e),f.O(this.ta,this.ta),0<f.fz(a,b)){l=!0;break}}else{l=!0;break}this.Vk=this.Mb.Zv(this.Vk)}if(-1==this.Vk){e=this.Rh.Fc();var k=this.hj[this.hj.length-1];null==h&&(h=[],h[0]=new d.h,h[1]=new d.h,h[2]=new d.h,h[3]=new d.h);g.tK(k,h);this.Rh.Pf();--this.hj.length;for(k=0;4>k;k++){var m=this.Mb.Eq(e,k);if(-1!=m&&0<this.Mb.OT(m)&&h[k].Yb(this.gl))if(this.qt){if(a.L(this.fJ),b.L(this.eJ),f.I(h[k]),f.O(this.ta,this.ta),0<f.fz(a,b)){var t=new d.h;t.I(h[k]);this.Rh.add(m);this.hj.push(t)}}else t=new d.h,
- t.I(h[k]),this.Rh.add(m),this.hj.push(t)}if(0==this.Rh.size)return-1;this.Vk=this.Mb.Ts(this.Rh.get(this.Rh.size-1))}}this.Kt=this.Mb.Zv(this.Vk);return this.Vk};b.dR=function(a,c,e){var f=new b;f.Mb=a;f.gl=new d.h;f.Rh=new d.ia(0);f.hj=[];f.Xn(c,e);return f};b.cR=function(a,c,e){var f=new b;f.Mb=a;f.gl=new d.h;f.Rh=new d.ia(0);f.hj=[];f.Ni(c,e);return f};b.bR=function(a){var c=new b;c.Mb=a;c.gl=new d.h;c.Rh=new d.ia(0);c.hj=[];return c};return b}();d.f_=m;var g=function(){function b(a,b){this.Lf=
- new d.ad(11);this.yi=new d.ad(5);this.rt=[];this.Vw=new d.ia(0);this.Ga=new d.h;this.ql(a,b)}b.prototype.reset=function(a,b){this.Lf.Vi(!1);this.yi.Vi(!1);this.rt.length=0;this.Vw.clear(!1);this.ql(a,b)};b.prototype.eh=function(a,b){return this.lw(a,b,0,this.Ga,this.Mf,!1,-1)};b.prototype.kw=function(a,b,e){e=-1==e?this.Mf:this.fH(e);var c=this.fa(e),d=this.eT(e);return this.lw(a,b,c,d,e,!1,-1)};b.prototype.ja=function(a){return this.$S(a)};b.prototype.QG=function(a){return this.Iz(this.Sv(a))};b.prototype.fa=
- function(a){return this.Uv(a)};b.prototype.eT=function(a){var b=new d.h;b.I(this.Ga);var e=this.Uv(a);a=this.aH(a);for(var f=0;f<2*e;f+=2){var h=d.J.truncate(3&a>>f);0==h?(b.o=.5*(b.o+b.v),b.A=.5*(b.A+b.B)):1==h?(b.v=.5*(b.o+b.v),b.A=.5*(b.A+b.B)):(2==h?b.v=.5*(b.o+b.v):b.o=.5*(b.o+b.v),b.B=.5*(b.A+b.B))}return b};b.prototype.OT=function(a){return this.jA(a)};b.prototype.nT=function(a,b){return m.dR(this,a,b)};b.prototype.Wz=function(a,b){return m.cR(this,a,b)};b.prototype.mf=function(){return m.bR(this)};
- b.prototype.ql=function(a,b){if(0>b||32<2*b)throw d.f.F("invalid height");this.yV=b;this.Ga.I(a);this.Mf=this.Lf.Pe();this.Tx(this.Mf,0);this.Nx(this.Mf,0);this.DK(this.Mf,0);this.zK(this.Mf,0)};b.prototype.lw=function(a,c,e,f,h,g,k){if(!f.contains(c))return 0==e?-1:this.lw(a,c,0,this.Ga,this.Mf,g,k);if(!g)for(var l=h;-1!=l;l=this.AT(l))this.Tx(l,this.jA(l)+1);l=new d.h;l.I(f);f=h;var m=[];m[0]=new d.h;m[1]=new d.h;m[2]=new d.h;for(m[3]=new d.h;e<this.yV&&this.hQ(f);e++){b.tK(l,m);for(var p=!1,q=
- 0;4>q;q++)if(m[q].contains(c)){var p=!0,n=this.Eq(f,q);-1==n&&(n=this.oR(f,q));this.Tx(n,this.jA(n)+1);f=n;l.I(m[q]);break}if(!p)break}return this.mU(a,c,e,l,f,g,h,k)};b.prototype.mU=function(a,b,e,d,h,g,k,m){var c=this.WG(h);if(g){if(h==k)return m;this.OR(m);g=m}else g=this.rR(),this.mC(g,a),this.IX(this.Sv(g),b);this.fY(g,h);-1!=c?(this.Rx(g,c),this.Ox(c,g)):this.vK(h,g);this.pC(h,g);this.Nx(h,this.Xv(h)+1);this.gQ(h)&&this.AS(e,d,h);return g};b.prototype.OR=function(a){var b=this.fH(a),e=this.WG(b),
- d=this.GT(a),h=this.Zv(a);this.Ts(b)==a?(-1!=h?this.Rx(h,-1):this.pC(b,-1),this.vK(b,h)):e==a?(this.Ox(d,-1),this.pC(b,d)):(this.Rx(h,d),this.Ox(d,h));this.Rx(a,-1);this.Ox(a,-1);this.Nx(b,this.Xv(b)-1)};b.tK=function(a,b){var c=.5*(a.o+a.v),d=.5*(a.A+a.B);b[0].I(c,d,a.v,a.B);b[1].I(a.o,d,c,a.B);b[2].I(a.o,a.A,c,d);b[3].I(c,a.A,a.v,d)};b.prototype.gQ=function(a){return 8==this.Xv(a)&&!this.sH(a)};b.prototype.AS=function(a,b,e){var c,d,g=this.Ts(e);do d=this.Sv(g),c=this.yi.S(g,0),d=this.Iz(d),this.lw(c,
- d,a,b,e,!0,g),g=c=this.Zv(g);while(-1!=g)};b.prototype.hQ=function(a){return 8<=this.Xv(a)||this.sH(a)};b.prototype.sH=function(a){return-1!=this.Eq(a,0)||-1!=this.Eq(a,1)||-1!=this.Eq(a,2)||-1!=this.Eq(a,3)};b.prototype.oR=function(a,b){var c=this.Lf.Pe();this.MX(a,b,c);this.Tx(c,0);this.Nx(c,0);this.sl(c,a);this.zK(c,this.Uv(a)+1);this.DK(c,b<<2*this.Uv(a)|this.aH(a));return c};b.prototype.rR=function(){var a=this.yi.Pe(),b;0<this.Vw.size?(b=this.Vw.Fc(),this.Vw.Pf()):(b=this.rt.length,this.rt.push(new d.h));
- this.JX(a,b);return a};b.prototype.Eq=function(a,b){return this.Lf.S(a,b)};b.prototype.MX=function(a,b,e){this.Lf.P(a,b,e)};b.prototype.Ts=function(a){return this.Lf.S(a,4)};b.prototype.vK=function(a,b){this.Lf.P(a,4,b)};b.prototype.WG=function(a){return this.Lf.S(a,5)};b.prototype.pC=function(a,b){this.Lf.P(a,5,b)};b.prototype.aH=function(a){return this.Lf.S(a,6)};b.prototype.DK=function(a,b){this.Lf.P(a,6,b)};b.prototype.Xv=function(a){return this.Lf.S(a,7)};b.prototype.jA=function(a){return this.Lf.S(a,
- 8)};b.prototype.Nx=function(a,b){this.Lf.P(a,7,b)};b.prototype.Tx=function(a,b){this.Lf.P(a,8,b)};b.prototype.AT=function(a){return this.Lf.S(a,9)};b.prototype.sl=function(a,b){this.Lf.P(a,9,b)};b.prototype.Uv=function(a){return this.Lf.S(a,10)};b.prototype.zK=function(a,b){this.Lf.P(a,10,b)};b.prototype.$S=function(a){return this.yi.S(a,0)};b.prototype.mC=function(a,b){this.yi.P(a,0,b)};b.prototype.GT=function(a){return this.yi.S(a,1)};b.prototype.Zv=function(a){return this.yi.S(a,2)};b.prototype.Rx=
- function(a,b){this.yi.P(a,1,b)};b.prototype.Ox=function(a,b){this.yi.P(a,2,b)};b.prototype.fH=function(a){return this.yi.S(a,3)};b.prototype.fY=function(a,b){this.yi.P(a,3,b)};b.prototype.Sv=function(a){return this.yi.S(a,4)};b.prototype.JX=function(a,b){this.yi.P(a,4,b)};b.prototype.Iz=function(a){return this.rt[a]};b.prototype.IX=function(a,b){this.rt[a].I(b)};return b}();d.gq=g})(n||(n={}));(function(d){(function(b){b[b.Outside=0]="Outside";b[b.Inside=1]="Inside";b[b.Border=2]="Border"})(d.yM||
- (d.yM={}));var m=function(){function b(a,b){this.Dh=null;this.MV=b;this.Dh=a}b.prototype.Jx=function(a,b){this.tI!=b&&a.flush();this.tI=b};b.prototype.oG=function(a,b){for(var c=0;c<b;)for(var d=a[c++],h=a[c++],g=a[c++]*this.MV;d<h;d++)this.Dh[g+(d>>4)]|=this.tI<<2*(d&15)};return b}();d.h_=m;var g=function(){function b(a,b,e){this.Dh=null;this.xB=this.jl=this.oJ=this.mJ=this.zt=this.BI=this.hg=this.In=0;this.qj=this.kl=this.$l=null;this.jw(a,b,e)}b.create=function(a,c,e){if(!b.az(a))throw d.f.F();
- return b.ee(a,c,e)};b.Cj=function(a,c,e){if(!b.az(a))throw d.f.F();return b.se(a,c,e)};b.jX=function(a){switch(a){case 0:a=1024;break;case 1:a=16384;break;case 2:a=262144;break;default:throw d.f.X("Internal Error");}return a};b.az=function(a){return a.u()||1607!=a.G()&&1736!=a.G()?!1:!0};b.prototype.lS=function(a,b){b=b.Da();for(var c=new d.b,f=new d.b;b.Ya();)for(;b.Ca();){var h=b.ba();if(322!=h.G())throw d.f.X("Internal Error");a.$h(h.ec(),c);a.$h(h.Cc(),f);this.qj.Py(c.x,c.y,f.x,f.y)}this.qj.XJ(d.yy.oy)};
- b.prototype.mS=function(){throw d.f.X("Internal Error");};b.prototype.Az=function(a,b){for(var c=1;4>c;c++)a.Py(b[c-1].x,b[c-1].y,b[c].x,b[c].y);a.Py(b[3].x,b[3].y,b[0].x,b[0].y);this.qj.XJ(d.yy.oy)};b.prototype.cL=function(a,b,e){for(var c=[null,null,null,null],h=0;h<c.length;h++)c[h]=new d.b;b=b.Da();e=this.kl.XY(e)+1.5;for(var h=new d.b,g=new d.b,k=new d.b,m=new d.b,t=new d.b,p=new d.h,q=new d.b;b.Ya();){var n=!1,v=!0;for(q.ka(0,0);b.Ca();){var x=b.ba();m.x=x.ua;m.y=x.ra;t.x=x.sa;t.y=x.oa;p.Oa();
- p.Nb(m.x,m.y);p.ml(t.x,t.y);if(this.$l.SH(p)){this.kl.$h(t,t);v?(this.kl.$h(m,m),q.L(m),v=!1):m.L(q);h.zc(t,m);var x=h.length(),w=.5>x;0==x?h.ka(1,0):(w||q.L(t),h.scale(e/x),g.ka(-h.y,h.x),k.ka(h.y,-h.x),m.sub(h),t.add(h),c[0].add(m,g),c[1].add(m,k),c[2].add(t,k),c[3].add(t,g),w?n=!0:this.Az(a,c))}else n&&(this.Az(a,c),n=!1),v=!0}n&&this.Az(a,c)}};b.prototype.TC=function(a){return d.J.truncate(a*this.BI+this.mJ)};b.prototype.UC=function(a){return d.J.truncate(a*this.zt+this.oJ)};b.ee=function(a,c,
- e){return new b(a,c,e)};b.se=function(a,c,e){return new b(a,c,e)};b.prototype.jw=function(a,b,e){this.hg=Math.max(d.J.truncate(2*Math.sqrt(e)+.5),64);this.In=d.J.truncate((2*this.hg+31)/32);this.$l=new d.h;this.jl=b;e=0;for(var c=this.hg,h=this.In;8<=c;)e+=c*h,c=d.J.truncate(c/2),h=d.J.truncate((2*c+31)/32);this.Dh=d.J.gf(e,0);this.qj=new d.yy;e=new m(this.Dh,this.In,this);this.qj.uY(this.hg,this.hg,e);a.s(this.$l);this.$l.O(b,b);var c=new d.h,h=d.h.pa(1,1,this.hg-2,this.hg-2),g=b*h.N();b*=h.fa();
- c.I(this.$l.Wf(),Math.max(g,this.$l.N()),Math.max(b,this.$l.fa()));this.xB=this.jl;this.kl=new d.Hd;this.kl.jU(c,h);new d.Hd;switch(a.G()){case 550:e.Jx(this.qj,2);this.mS();break;case 1607:e.Jx(this.qj,2);this.cL(this.qj,a,this.xB);break;case 1736:e.Jx(this.qj,1),this.lS(this.kl,a),e.Jx(this.qj,2),this.cL(this.qj,a,this.xB)}this.BI=this.kl.lb;this.zt=this.kl.gb;this.mJ=this.kl.Wb;this.oJ=this.kl.bc;this.ZP()};b.prototype.ZP=function(){this.qj.flush();for(var a=0,b=this.hg*this.In,e=this.hg,f=d.J.truncate(this.hg/
- 2),h=this.In,g=d.J.truncate((2*f+31)/32);8<e;){for(e=0;e<f;e++)for(var k=2*e,m=2*e+1,t=0;t<f;t++){var p=2*t,q=2*t+1,n=p>>4,p=2*(p&15),v=q>>4,q=2*(q&15),x=this.Dh[a+h*k+n]>>p&3,x=x|this.Dh[a+h*k+v]>>q&3,x=x|this.Dh[a+h*m+n]>>p&3,x=x|this.Dh[a+h*m+v]>>q&3;this.Dh[b+g*e+(t>>4)]|=x<<2*(t&15)}e=f;h=g;a=b;f=d.J.truncate(e/2);g=d.J.truncate((2*f+31)/32);b=a+h*e}};b.prototype.rm=function(a,b){if(!this.$l.contains(a,b))return 0;a=this.TC(a);b=this.UC(b);if(0>a||a>=this.hg||0>b||b>=this.hg)return 0;a=this.Dh[this.In*
- b+(a>>4)]>>2*(a&15)&3;return 0==a?0:1==a?1:2};b.prototype.Sn=function(a){if(!a.Ma(this.$l))return 0;var b=this.TC(a.o),e=this.TC(a.v),f=this.UC(a.A);a=this.UC(a.B);0>b&&(b=0);0>f&&(f=0);e>=this.hg&&(e=this.hg-1);a>=this.hg&&(a=this.hg-1);if(b>e||f>a)return 0;for(var h=Math.max(e-b,1)*Math.max(a-f,1),g=0,k=this.In,m=this.hg,t=0;;){if(32>h||16>m){for(h=f;h<=a;h++)for(var p=b;p<=e;p++)if(t=this.Dh[g+k*h+(p>>4)]>>2*(p&15)&3,1<t)return 2;if(0==t)return 0;if(1==t)return 1}g+=k*m;m=d.J.truncate(m/2);k=d.J.truncate((2*
- m+31)/32);b=d.J.truncate(b/2);f=d.J.truncate(f/2);e=d.J.truncate(e/2);a=d.J.truncate(a/2);h=Math.max(e-b,1)*Math.max(a-f,1)}};b.prototype.JT=function(){return this.hg*this.In};return b}();d.wy=g})(n||(n={}));(function(d){(function(b){b[b.contains=1]="contains";b[b.within=2]="within";b[b.equals=3]="equals";b[b.disjoint=4]="disjoint";b[b.touches=8]="touches";b[b.crosses=16]="crosses";b[b.overlaps=32]="overlaps";b[b.unknown=0]="unknown";b[b.intersects=1073741824]="intersects"})(d.QN||(d.QN={}));var m=
- function(){function b(){}b.pa=function(a,c,e,d,h,g,k,m){var f=new b;f.ax=a;f.An=c;f.dk=e;f.rj=d;f.QI=h;f.F_=g;f.G_=k;f.H_=m;return f};return b}(),g=function(){function b(){}b.SE=function(a,c,e){if(!b.bz(a))return!1;var f=d.ma.ah(c,a,!1);c=!1;d.wl.IF(a)&&(c=c||a.Wu(f,e));f=a.G();1736!=f&&1607!=f||!d.wl.GF(a)||0==e||(c=c||a.Hj(e));1736!=f&&1607!=f||!d.wl.HF(a)||0==e||(c=c||a.AO());return c};b.bz=function(a){return d.wl.IF(a)||d.wl.GF(a)||d.wl.HF(a)};return b}();d.Fu=g;g=function(){function b(){this.Ph=
- []}b.YB=function(a,c,e,f,h){var g=a.G(),k=c.G();if(197==g){if(197==k)return b.qO(a,c,e,f);if(33==k)return 2==f?f=1:1==f&&(f=2),b.jG(c,a,e,f)}else if(33==g){if(197==k)return b.jG(a,c,e,f);if(33==k)return b.tO(a,c,e,f)}if(a.u()||c.u())return 4==f?!0:!1;var m=new d.h;a.s(m);var t=new d.h;c.s(t);var p=new d.h;p.I(m);p.Nb(t);e=d.ma.be(e,p,!1);if(b.Dk(m,t,e))return 4==f?!0:!1;m=!1;d.xl.Oc(g)&&(g=new d.Ua(a.description),g.dc(a,!0),a=g,g=1607);d.xl.Oc(k)&&(k=new d.Ua(c.description),k.dc(c,!0),c=k,k=1607);
- if(197!=g&&197!=k){if(a.tb()<c.tb()||33==g&&550==k)2==f?f=1:1==f&&(f=2)}else 1736!=g&&197!=k&&(2==f?f=1:1==f&&(f=2));switch(g){case 1736:switch(k){case 1736:m=b.fu(a,c,e,f,h);break;case 1607:m=b.Pn(a,c,e,f,h);break;case 33:m=b.eu(a,c,e,f,h);break;case 550:m=b.du(a,c,e,f,h);break;case 197:m=b.cD(a,c,e,f,h)}break;case 1607:switch(k){case 1736:m=b.Pn(c,a,e,f,h);break;case 1607:m=b.LB(a,c,e,f,h);break;case 33:m=b.hu(a,c,e,f,h);break;case 550:m=b.gu(a,c,e,f,h);break;case 197:m=b.qD(a,c,e,f)}break;case 33:switch(k){case 1736:m=
- b.eu(c,a,e,f,h);break;case 1607:m=b.hu(c,a,e,f,h);break;case 550:m=b.$t(c,a,e,f,h)}break;case 550:switch(k){case 1736:m=b.du(c,a,e,f,h);break;case 1607:m=b.gu(c,a,e,f,h);break;case 550:m=b.CB(a,c,e,f,h);break;case 33:m=b.$t(a,c,e,f,h);break;case 197:m=b.QJ(a,c,e,f)}break;case 197:switch(k){case 1736:m=b.cD(c,a,e,f,h);break;case 1607:m=b.qD(c,a,e,f);break;case 550:m=b.QJ(c,a,e,f)}}return m};b.qO=function(a,c,e,f){if(a.u()||c.u())return 4==f?!0:!1;var h=new d.h,g=new d.h,k=new d.h;a.s(h);c.s(g);k.I(h);
- k.Nb(g);a=d.ma.be(e,k,!1);switch(f){case 4:return b.Dk(h,g,a);case 2:return b.QE(g,h,a);case 1:return b.QE(h,g,a);case 3:return b.We(h,g,a);case 8:return b.BP(h,g,a);case 32:return b.ZO(h,g,a);case 16:return b.CL(h,g,a)}return!1};b.jG=function(a,c,e,f){if(a.u()||c.u())return 4==f?!0:!1;a=a.w();var h=new d.h,g=new d.h;c.s(h);g.I(a);g.Nb(h);c=d.ma.be(e,g,!1);switch(f){case 4:return b.Cx(a,h,c);case 2:return b.WC(a,h,c);case 1:return b.CN(a,h,c);case 3:return b.oL(a,h,c);case 8:return b.VC(a,h,c)}return!1};
- b.tO=function(a,c,e,f){if(a.u()||c.u())return 4==f?!0:!1;a=a.w();c=c.w();var h=new d.h;h.I(a);h.Nb(c);e=d.ma.be(e,h,!1);switch(f){case 4:return b.LN(a,c,e);case 2:return b.dL(c,a,e);case 1:return b.dL(a,c,e);case 3:return b.xL(a,c,e)}return!1};b.fu=function(a,c,e,d,h){switch(d){case 4:return b.gS(a,c,e);case 2:return b.Dx(c,a,e,h);case 1:return b.Dx(a,c,e,h);case 3:return b.hU(a,c,e);case 8:return b.kW(a,c,e);case 32:return b.gV(a,c,e,h)}return!1};b.Pn=function(a,c,e,d,h){switch(d){case 4:return b.ES(a,
- c,e);case 1:return b.KB(a,c,e,h);case 8:return b.uW(a,c,e,h);case 16:return b.CP(a,c,e)}return!1};b.eu=function(a,c,e,d){switch(d){case 4:return b.VR(a,c,e);case 1:return b.vO(a,c,e);case 8:return b.cW(a,c,e)}return!1};b.du=function(a,c,e,d){switch(d){case 4:return b.AR(a,c,e);case 1:return b.sO(a,c,e);case 8:return b.RV(a,c,e);case 16:return b.sP(a,c,e)}return!1};b.cD=function(a,c,e,d,h){if(b.kQ(a,c,e))return 4==d?!0:!1;if(4==d)return!1;switch(d){case 2:return b.cX(a,c,e);case 1:return b.pO(a,c,
- e);case 3:return b.eU(a,c,e);case 8:return b.jV(a,c,e,h);case 32:return b.dV(a,c,e,h);case 16:return b.DL(a,c,e,h)}return!1};b.LB=function(a,c,e,d){switch(d){case 4:return b.xZ(a,c,e);case 2:return b.mD(c,a,e);case 1:return b.mD(a,c,e);case 3:return b.NL(a,c,e);case 8:return b.sD(a,c,e);case 32:return b.bM(a,c,e);case 16:return b.oD(a,c,e)}return!1};b.hu=function(a,c,e,d){switch(d){case 4:return b.vZ(a,c,e);case 1:return b.QY(a,c,e);case 8:return b.xM(a,c,e)}return!1};b.gu=function(a,c,e,d){switch(d){case 4:return b.tZ(a,
- c,e);case 1:return b.FX(a,c,e);case 8:return b.mM(a,c,e);case 16:return b.lZ(a,c,e)}return!1};b.qD=function(a,c,e,d){if(b.oZ(a,c,e))return 4==d?!0:!1;if(4==d)return!1;switch(d){case 2:return b.CM(a,c,e);case 1:return b.mX(a,c,e);case 3:return b.HL(a,c,e);case 8:return b.iM(a,c,e);case 32:return b.YL(a,c,e);case 16:return b.dZ(a,c,e)}return!1};b.CB=function(a,c,e,d){switch(d){case 4:return b.QL(a,c,e);case 2:return b.rJ(c,a,e);case 1:return b.rJ(a,c,e);case 3:return b.aM(a,c,e);case 32:return b.GM(a,
- c,e)}return!1};b.$t=function(a,c,e,d){switch(d){case 4:return b.zJ(a,c,e);case 2:return b.RM(a,c,e);case 1:return b.nZ(a,c,e);case 3:return b.yx(a,c,e)}return!1};b.QJ=function(a,c,e,d){switch(d){case 4:return b.ML(a,c,e);case 2:return b.NM(a,c,e);case 1:return b.kZ(a,c,e);case 3:return b.XL(a,c,e);case 8:return b.KM(a,c,e);case 16:return b.GL(a,c,e)}return!1};b.hU=function(a,c,e){var f=new d.h,h=new d.h;a.s(f);c.s(h);if(!b.We(f,h,e))return!1;f=b.wc(a,c,!1);if(4==f||1==f||2==f)return!1;if(b.pJ(a,c,
- e))return!0;f=a.Rb();h=c.Rb();return Math.abs(f-h)>4*Math.max(a.D(),c.D())*e?!1:b.NB(a,c,e,!0)};b.gS=function(a,c,e){var d=b.wc(a,c,!0);return 4==d?!0:1==d||2==d||1073741824==d?!1:b.aD(a,c,e)};b.kW=function(a,c,e){var d=b.wc(a,c,!1);return 4==d||1==d||2==d?!1:b.gD(a,c,e,null)};b.gV=function(a,c,e,d){var f=b.wc(a,c,!1);return 4==f||1==f||2==f?!1:b.bD(a,c,e,d)};b.Dx=function(a,c,e,f){var h=new d.h,g=new d.h;a.s(h);c.s(g);if(!b.Ec(h,g,e))return!1;h=b.wc(a,c,!1);return 4==h||2==h?!1:1==h?!0:b.AL(a,c,
- e,f)};b.ES=function(a,c,e){var d=b.wc(a,c,!0);return 4==d?!0:1==d||1073741824==d?!1:b.aD(a,c,e)};b.uW=function(a,c,e,d){var f=b.wc(a,c,!1);return 4==f||1==f?!1:b.iD(a,c,e,d)};b.CP=function(a,c,e){var d=b.wc(a,c,!1);return 4==d||1==d?!1:b.$C(a,c,e,null)};b.KB=function(a,c,e,f){var h=new d.h,g=new d.h;a.s(h);c.s(g);if(!b.Ec(h,g,e))return!1;h=b.wc(a,c,!1);return 4==h?!1:1==h?!0:b.BL(a,c,e,f)};b.VR=function(a,b,e){return 0==d.gd.VH(a,b,e)?!0:!1};b.cW=function(a,c,e){c=c.w();return b.dD(a,c,e)};b.vO=function(a,
- c,e){c=c.w();return b.zL(a,c,e)};b.AR=function(a,c,e){var f=b.wc(a,c,!1);if(4==f)return!0;if(1==f)return!1;f=new d.h;a.s(f);f.O(e,e);for(var h=new d.b,g=0;g<c.D();g++)if(c.w(g,h),f.contains(h)){var k=d.gd.fe(a,h,e);if(1==k||2==k)return!1}return!0};b.RV=function(a,b,e){var c=this.wc(a,b,!1);if(4==c||1==c)return!1;c=new d.h;a.s(c);c.O(e,e);var h,g=!1,k;k=a;for(var m=!1,t=0;t<b.D();t++){h=b.Aa(t);if(c.contains(h))if(h=d.gd.fe(k,h,e),2==h)g=!0;else if(1==h)return!1;m||(!d.ff.qm(a,b.D()-1)||null!=a.ob&&
- null!=a.ob.Mb?k=a:(k=new d.Ia,a.copyTo(k),k.Hj(1)),m=!0)}return g?!0:!1};b.sP=function(a,b,e){var c=this.wc(a,b,!1);if(4==c||1==c)return!1;var h=new d.h,c=new d.h,g=new d.h;a.s(h);b.s(g);c.I(h);c.O(e,e);var g=h=!1,k,m;m=a;for(var t=!1,p=0;p<b.D();p++){k=b.Aa(p);c.contains(k)?(k=d.gd.fe(m,k,e),0==k?g=!0:1==k&&(h=!0)):g=!0;if(h&&g)return!0;t||(!d.ff.qm(a,b.D()-1)||null!=a.ob&&null!=a.ob.Mb?m=a:(m=new d.Ia,a.copyTo(m),m.Hj(1)),t=!0)}return!1};b.sO=function(a,b,e){var c=new d.h,h=new d.h;a.s(c);b.s(h);
- if(!this.Ec(c,h,e))return!1;h=this.wc(a,b,!1);if(4==h)return!1;if(1==h)return!0;var h=!1,g,k;k=a;for(var m=!1,t=0;t<b.D();t++){g=b.Aa(t);if(!c.contains(g))return!1;g=d.gd.fe(k,g,e);if(1==g)h=!0;else if(0==g)return!1;m||(!d.ff.qm(a,b.D()-1)||null!=a.ob&&null!=a.ob.Mb?k=a:(k=new d.Ia,a.copyTo(k),k.Hj(1)),m=!0)}return h};b.eU=function(a,c,e){var f=new d.h,h=new d.h;a.s(f);c.s(h);if(!b.We(f,h,e))return!1;f=new d.Ia;f.jd(c,!1);return b.NB(a,f,e,!0)};b.kQ=function(a,c,e){var f=b.wc(a,c,!1);if(4==f)return!0;
- if(1==f||2==f)return!1;var h=new d.h,f=new d.h;a.s(h);c.s(f);if(b.Ec(f,h,e))return!1;h=new d.b;f.Un(h);c=d.gd.fe(a,h,e);if(0!=c)return!1;f.SJ(h);c=d.gd.fe(a,h,e);if(0!=c)return!1;f.Vn(h);c=d.gd.fe(a,h,e);if(0!=c)return!1;f.VJ(h);c=d.gd.fe(a,h,e);if(0!=c)return!1;c=a.Pa(0);h=new d.h;h.I(f);h.O(e,e);for(var g=0,k=a.D();g<k;g++){var m=c.read(2*g),t=c.read(2*g+1);if(h.contains(m,t))return!1}return!b.WH(a,f,e)};b.jV=function(a,c,e,f){var h=b.wc(a,c,!1);if(4==h||1==h||2==h)return!1;var h=new d.h,g=new d.h;
- a.s(h);c.s(g);if(b.Ec(g,h,e))return!1;if(g.N()<=e&&g.fa()<=e)return c=c.Bq(),b.dD(a,c,e);if(g.N()<=e||g.fa()<=e)return h=new d.Ua,g=new d.Wa,c.ig(0,g),h.Rf(g),c.ig(2,g),h.lineTo(g),b.iD(a,h,e,f);h=new d.Ia;h.jd(c,!1);return b.gD(a,h,e,f)};b.dV=function(a,c,e,f){var h=b.wc(a,c,!1);if(4==h||1==h||2==h)return!1;var h=new d.h,g=new d.h;a.s(h);c.s(g);if(b.Ec(g,h,e)||g.N()<=e||g.fa()<=e)return!1;h=new d.Ia;h.jd(c,!1);return b.bD(a,h,e,f)};b.cX=function(a,c,e){var f=new d.h,h=new d.h;a.s(f);c.s(h);return b.Ec(h,
- f,e)};b.pO=function(a,c,e){var f=new d.h,h=new d.h;a.s(f);c.s(h);if(!b.Ec(f,h,e))return!1;f=b.wc(a,c,!1);if(4==f||2==f)return!1;if(1==f)return!0;if(h.N()<=e&&h.fa()<=e)return c=c.Bq(),b.zL(a,c,e);if(h.N()<=e||h.fa()<=e)return h=new d.Ua,f=new d.Wa,c.ig(0,f),h.Rf(f),c.ig(2,f),h.lineTo(f),b.BL(a,h,e,null);h=new d.Ia;h.jd(c,!1);return b.AL(a,h,e,null)};b.DL=function(a,c,e,f){var h=new d.h,g=new d.h;a.s(h);c.s(g);if(b.Ec(g,h,e)||g.fa()>e&&g.N()>e||g.fa()<=e&&g.N()<=e)return!1;h=new d.Ua;g=new d.Wa;c.ig(0,
- g);h.Rf(g);c.ig(2,g);h.lineTo(g);return b.$C(a,h,e,f)};b.NL=function(a,c,e){var f=new d.h,h=new d.h;a.s(f);c.s(h);return b.We(f,h,e)&&4!=b.wc(a,c,!1)?b.pJ(a,c,e)?!0:b.NB(a,c,e,!1):!1};b.xZ=function(a,b,e){return 4==this.wc(a,b,!1)?!0:(new d.Mm(a,b,e,!0)).next()?!this.eI(a,b,e):!1};b.sD=function(a,c,e){if(4==b.wc(a,c,!1))return!1;var f=new d.Sd(0);if(0!=b.QB(a,c,e,f))return!1;for(var h=new d.Ed,g=0;g<f.size;g+=2){var k=f.read(g),m=f.read(g+1);h.kv(k,m)}a=a.Gg();c=c.Gg();a.Jd(c,0,c.D());return b.xx(a,
- h,e)};b.oD=function(a,c,e){if(4==b.wc(a,c,!1))return!1;var f=new d.Sd(0);if(0!=b.QB(a,c,e,f))return!1;for(var h=new d.Ed,g=0;g<f.size;g+=2){var k=f.read(g),m=f.read(g+1);h.kv(k,m)}a=a.Gg();c=c.Gg();a.Jd(c,0,c.D());return!b.xx(a,h,e)};b.bM=function(a,c,e){return 4==b.wc(a,c,!1)?!1:b.ZH(a,c,e)};b.mD=function(a,c,e){var f=new d.h,h=new d.h;a.s(f);c.s(h);return b.Ec(f,h,e)&&4!=b.wc(a,c,!1)?b.Wg(c,a,e,!1):!1};b.vZ=function(a,c,e){if(4==b.wc(a,c,!1))return!0;c=c.w();return!b.GA(a,c,e)};b.xM=function(a,
- c,e){if(4==b.wc(a,c,!1))return!1;c=c.w();return b.fC(a,c,e)};b.QY=function(a,c,e){if(4==b.wc(a,c,!1))return!1;c=c.w();return b.xH(a,c,e)};b.tZ=function(a,c,e){return 4==b.wc(a,c,!1)?!0:!b.YH(a,c,e,!1)};b.mM=function(a,b,e){if(4==this.wc(a,b,!1))return!1;var c=a.Da(),h=new d.h,g=new d.h,k=new d.h;a.s(h);b.s(g);h.O(e,e);g.O(e,e);k.I(h);k.Ma(g);var m,t,h=null;m=a.ob;null!=m?(t=m.Mb,h=m.np,null==t&&(t=m=d.ma.Lj(a,k))):t=m=d.ma.Lj(a,k);var p=t.mf(),q=null;null!=h&&(q=h.mf());var n=new d.b,v=new d.b,x=
- !1,w=e*e,h=new d.Gm(b.D());for(m=0;m<b.D();m++)h.write(m,0);for(m=0;m<b.D();m++)if(b.w(m,n),k.contains(n))if(g.I(n.x,n.y,n.x,n.y),null==q||(q.Ni(g,e),-1!=q.next())){p.Ni(g,e);for(var y=p.next();-1!=y;y=p.next())if(c.Tb(t.ja(y)),y=c.ba(),y.gc(y.oe(n,!1),v),d.b.sc(n,v)<=w){h.write(m,1);x=!0;break}}if(!x)return!1;a=a.Gg();c=new d.Ed;g=new d.b;for(m=0;m<b.D();m++)0!=h.read(m)&&(b.w(m,g),c.kv(g.x,g.y));return this.xx(a,c,e)};b.lZ=function(a,b,e){if(4==this.wc(a,b,!1))return!1;var c=a.Da(),h=new d.h,g=
- new d.h,k=new d.h;a.s(h);b.s(g);h.O(e,e);g.O(e,e);k.I(h);k.Ma(g);var m,t,h=null;m=a.ob;null!=m?(t=m.Mb,h=m.np,null==t&&(t=m=d.ma.Lj(a,k))):t=m=d.ma.Lj(a,k);var p=t.mf(),q=null;null!=h&&(q=h.mf());var n=new d.b,v=new d.b,x=!1,w=!1,y=e*e,h=new d.Gm(b.D());for(m=0;m<b.D();m++)h.write(m,0);for(m=0;m<b.D();m++)if(b.w(m,n),k.contains(n))if(g.I(n.x,n.y,n.x,n.y),null!=q&&(q.Ni(g,e),-1==q.next()))w=!0;else{p.Ni(g,e);for(var D=!1,z=p.next();-1!=z;z=p.next())if(c.Tb(t.ja(z)),z=c.ba(),z.gc(z.oe(n,!1),v),d.b.sc(n,
- v)<=y){h.write(m,1);D=x=!0;break}D||(w=!0)}else w=!0;if(!x||!w)return!1;a=a.Gg();c=new d.Ed;g=new d.b;for(m=0;m<b.D();m++)0!=h.read(m)&&(b.w(m,g),c.kv(g.x,g.y));return!this.xx(a,c,e)};b.FX=function(a,c,e){var f=new d.h,h=new d.h;a.s(f);c.s(h);if(!b.Ec(f,h,e)||4==b.wc(a,c,!1)||!b.YH(a,c,e,!0))return!1;a=a.Gg();return!b.BJ(a,c,e)};b.HL=function(a,c,e){var f=new d.h,h=new d.h;a.s(f);c.s(h);return h.fa()>e&&h.N()>e?!1:b.We(f,h,e)};b.oZ=function(a,c,e){var f=new d.h,h=new d.h;a.s(f);c.s(h);return b.Ec(h,
- f,e)?!1:!b.WH(a,h,e)};b.iM=function(a,c,e){var f=new d.h,h=new d.h;a.s(f);c.s(h);if(h.fa()<=e&&h.N()<=e)return h=c.Bq(),b.fC(a,h,e);if(h.fa()<=e||h.N()<=e)return h=new d.Ua,f=new d.Wa,c.ig(0,f),h.Rf(f),c.ig(2,f),h.lineTo(f),b.sD(a,h,e);a=a.Da();c=new d.h;f=new d.h;c.I(h);f.I(h);c.O(-e,-e);f.O(e,e);for(var h=!1,g=new d.h,k=new d.h;a.Ya();)for(;a.Ca();){a.ba().s(g);k.I(c);k.Ma(g);if(!k.u()&&(k.fa()>e||k.N()>e))return!1;k.I(f);k.Ma(g);k.u()||(h=!0)}return h};b.YL=function(a,c,e){var f=new d.h,h=new d.h;
- a.s(f);c.s(h);if(b.Ec(f,h,e)||b.Ec(h,f,e)||b.Ec(h,f,e)||h.fa()>e&&h.N()>e||h.fa()<=e&&h.N()<=e)return!1;f=new d.Ua;h=new d.Wa;c.ig(0,h);f.Rf(h);c.ig(2,h);f.lineTo(h);return b.ZH(a,f,e)};b.CM=function(a,c,e){var f=new d.h,h=new d.h;a.s(f);c.s(h);if(!b.Ec(h,f,e)||h.fa()<=e&&h.N()<=e)return!1;if(h.fa()<=e||h.N()<=e)return b.Ec(h,f,e);a=a.Da();c=new d.h;c.I(h);c.O(-e,-e);for(var h=!1,f=new d.h,g=new d.h;a.Ya();)for(;a.Ca();)a.ba().s(f),c.Um(f)?h=!0:(g.I(c),g.Ma(f),!g.u()&&(g.fa()>e||g.N()>e)&&(h=!0));
- return h};b.mX=function(a,c,e){var f=new d.h,h=new d.h;c.s(h);a.s(f);if(!b.Ec(f,h,e)||h.fa()>e&&h.N()>e)return!1;if(h.fa()<=e&&h.N()<=e)return c=c.Bq(),b.xH(a,c,e);f=new d.Ua;h=new d.Wa;c.ig(0,h);f.Rf(h);c.ig(2,h);f.lineTo(h);return b.Wg(f,a,e,!1)};b.dZ=function(a,c,e){var f=new d.h,h=new d.h;a.s(f);c.s(h);if(b.Ec(h,f,e)||h.fa()<=e&&h.N()<=e)return!1;if(h.fa()<=e||h.N()<=e)return f=new d.Ua,h=new d.Wa,c.ig(0,h),f.Rf(h),c.ig(2,h),f.lineTo(h),b.oD(a,f,e);a=a.Da();c=new d.h;f=new d.h;f.I(h);c.I(h);f.O(-e,
- -e);c.O(e,e);for(var g=h=!1,k=new d.h,m=new d.h;a.Ya();)for(;a.Ca();)if(a.ba().s(k),g||c.contains(k)||(g=!0),h||(m.I(f),m.Ma(k),!m.u()&&(m.fa()>e||m.N()>e)&&(h=!0)),h&&g)return!0;return!1};b.aM=function(a,c,e){var f=new d.h,h=new d.h;a.s(f);c.s(h);return b.We(f,h,e)?b.hM(a,c,e)?!0:b.PC(a,c,e,!1,!0,!1):!1};b.QL=function(a,c,e){return!b.BJ(a,c,e)};b.GM=function(a,c,e){return b.PC(a,c,e,!1,!1,!0)};b.rJ=function(a,c,e){var f=new d.h,h=new d.h;a.s(f);c.s(h);return b.Ec(f,h,e)?b.PC(c,a,e,!0,!1,!1):!1};
- b.xx=function(a,b,e){e*=e;for(var c=new d.b,h=new d.b,g=0;g<b.D();g++){b.w(g,h);for(var k=!1,m=0;m<a.D();m++)if(a.w(m,c),d.b.sc(c,h)<=e){k=!0;break}if(!k)return!1}return!0};b.yx=function(a,c,e){var f=new d.h,h=new d.h;a.s(f);c.s(h);return b.We(f,h,e)};b.zJ=function(a,c,e){c=c.w();return b.Zt(a,c,e)};b.RM=function(a,c,e){return b.yx(a,c,e)};b.nZ=function(a,c,e){return!b.zJ(a,c,e)};b.XL=function(a,c,e){var f=new d.h,h=new d.h;a.s(f);c.s(h);return h.fa()>e||h.N()>e?!1:b.We(f,h,e)};b.ML=function(a,c,
- e){var f=new d.h,h=new d.h;a.s(f);c.s(h);if(b.Ec(h,f,e))return!1;c=new d.h;c.I(h);c.O(e,e);e=new d.b;for(h=0;h<a.D();h++)if(a.w(h,e),c.contains(e))return!1;return!0};b.KM=function(a,b,e){var c=new d.h,h=new d.h,g=new d.h;b.s(c);if(c.fa()<=e&&c.N()<=e)return!1;if(c.fa()<=e||c.N()<=e){b=new d.b;var k=!1;h.I(c);g.I(c);h.O(e,e);c.fa()>e?g.O(0,-e):g.O(-e,0);for(var m=0;m<a.D();m++)if(a.w(m,b),h.contains(b)){if(c.fa()>e){if(b.y>g.A&&b.y<g.B)return!1}else if(b.x>g.o&&b.x<g.v)return!1;k=!0}return k}h.I(c);
- g.I(c);h.O(e,e);g.O(-e,-e);b=new d.b;k=!1;for(m=0;m<a.D();m++)if(a.w(m,b),h.contains(b)){if(g.Um(b))return!1;k=!0}return k};b.NM=function(a,c,e){var f=new d.h,h=new d.h;a.s(f);c.s(h);if(!b.Ec(h,f,e))return!1;if(h.fa()<=e&&h.N()<=e)return b.We(f,h,e);if(h.fa()<=e||h.N()<=e){c=!1;var f=new d.h,g=new d.h;f.I(h);g.I(h);h.fa()>e?f.O(0,-e):f.O(-e,0);g.O(e,e);for(var k=new d.b,m=0;m<a.D();m++){a.w(m,k);if(!g.contains(k))return!1;h.fa()>e?k.y>f.A&&k.y<f.B&&(c=!0):k.x>f.o&&k.x<f.v&&(c=!0)}return c}c=!1;f=
- new d.h;g=new d.h;f.I(h);g.I(h);f.O(-e,-e);g.O(e,e);k=new d.b;for(m=0;m<a.D();m++){a.w(m,k);if(!g.contains(k))return!1;f.Um(k)&&(c=!0)}return c};b.kZ=function(a,c,e){var f=new d.h,h=new d.h;a.s(f);c.s(h);if(!b.Ec(f,h,e)||h.fa()>e||h.N()>e)return!1;c=c.Bq();return!b.Zt(a,c,e)};b.GL=function(a,c,e){var f=new d.h,h=new d.h;a.s(f);c.s(h);if(b.Ec(h,f,e)||h.fa()<=e&&h.N()<=e)return!1;if(h.fa()<=e||h.N()<=e){c=new d.h;f=new d.h;c.I(h);h.fa()>e?c.O(0,-e):c.O(-e,0);f.I(h);f.O(e,e);for(var g=new d.b,k=!1,m=
- !1,t=0;t<a.D();t++)if(a.w(t,g),k||(h.fa()>e?g.y>c.A&&g.y<c.B&&(k=!0):g.x>c.o&&g.x<c.v&&(k=!0)),m||f.contains(g)||(m=!0),k&&m)return!0;return!1}c=new d.h;f=new d.h;c.I(h);c.O(-e,-e);f.I(h);f.O(e,e);g=new d.b;m=k=!1;for(t=0;t<a.D();t++)if(a.w(t,g),!k&&c.Um(g)&&(k=!0),m||f.contains(g)||(m=!0),k&&m)return!0;return!1};b.xL=function(a,b,e){return d.b.sc(a,b)<=e*e?!0:!1};b.LN=function(a,b,e){return d.b.sc(a,b)>e*e?!0:!1};b.dL=function(a,c,e){return b.xL(a,c,e)};b.oL=function(a,c,e){var f=new d.h;f.I(a);
- return b.We(f,c,e)};b.Cx=function(a,b,e){var c=new d.h;c.I(b);c.O(e,e);return!c.contains(a)};b.VC=function(a,b,e){if(b.fa()<=e&&b.N()<=e)return!1;var c=new d.h,h=new d.h;c.I(b);c.O(e,e);if(!c.contains(a))return!1;if(b.fa()<=e||b.N()<=e){h.I(b);b.fa()>e?h.O(0,-e):h.O(-e,0);if(b.fa()>e){if(a.y>h.A&&a.y<h.B)return!1}else if(a.x>h.o&&a.x<h.v)return!1;return!0}h.I(b);h.O(-e,-e);return h.Um(a)?!1:!0};b.WC=function(a,b,e){if(b.fa()<=e&&b.N()<=e)return!0;if(b.fa()<=e||b.N()<=e){var c=new d.h;c.I(b);b.fa()>
- e?c.O(0,-e):c.O(-e,0);var h=!1;b.fa()>e?a.y>c.A&&a.y<c.B&&(h=!0):a.x>c.o&&a.x<c.v&&(h=!0);return h}c=new d.h;c.I(b);c.O(-e,-e);return c.Um(a)};b.CN=function(a,c,e){return b.oL(a,c,e)};b.We=function(a,c,e){return b.Ec(a,c,e)&&b.Ec(c,a,e)};b.Dk=function(a,b,e){var c=new d.h;c.I(b);c.O(e,e);return!a.Yb(c)};b.BP=function(a,c,e){if(a.fa()<=e&&a.N()<=e){var f=a.Wf();return b.VC(f,c,e)}if(c.fa()<=e&&c.N()<=e)return f=c.Wf(),b.VC(f,a,e);a.fa()>e&&a.N()>e&&(c.fa()<=e||c.N()<=e)?f=c:(f=a,a=c);if(f.fa()<=e||
- f.N()<=e){if(a.fa()<=e||a.N()<=e){c=new d.Hb;var h=new d.Hb,g=[0,0],k=[0,0],m=new d.b;f.Un(m);c.Mc(m);f.Vn(m);c.Zc(m);a.Un(m);h.Mc(m);a.Vn(m);h.Zc(m);c.Ma(h,null,g,k,e);return 1!=c.Ma(h,null,null,null,e)?!1:0==g[0]||1==g[1]||0==k[0]||1==k[1]}c=new d.h;h=new d.h;c.I(a);c.O(-e,-e);h.I(c);h.Ma(f);return!h.u()&&(h.fa()>e||h.N()>e)?!1:!0}a.O(e,e);h=new d.h;h.I(f);h.Ma(a);return h.u()||!h.u()&&h.fa()>e&&h.N()>e?!1:!0};b.ZO=function(a,c,e){if(b.Ec(a,c,e)||b.Ec(c,a,e)||a.fa()<=e&&a.N()<=e||c.fa()<=e&&c.N()<=
- e)return!1;if(a.fa()<=e||a.N()<=e){if(c.fa()>e&&c.N()>e)return!1;var f=new d.Hb,h=new d.Hb,g=[0,0],k=[0,0],m=new d.b;a.Un(m);f.Mc(m);a.Vn(m);f.Zc(m);c.Un(m);h.Mc(m);c.Vn(m);h.Zc(m);f.Ma(h,null,g,k,e);return 2!=f.Ma(h,null,null,null,e)?!1:(0<g[0]||1>g[1])&&(0<k[0]||1>k[1])}if(c.fa()<=e||c.N()<=e)return!1;f=new d.h;f.I(a);f.Ma(c);return f.u()||f.fa()<=e||f.N()<=e?!1:!0};b.QE=function(a,c,e){if(!b.Ec(a,c,e))return!1;if(a.fa()<=e&&a.N()<=e)return a=a.Wf(),b.WC(a,c,e);if(c.fa()<=e&&c.N()<=e)return c=c.Wf(),
- b.WC(c,a,e);if(a.fa()<=e||a.N()<=e)return b.Ec(a,c,e);if(c.fa()<=e||c.N()<=e){var f=new d.h;f.I(a);f.O(-e,-e);if(f.Um(c))return!0;a=new d.h;a.I(f);a.Ma(c);return a.u()||a.fa()<=e&&a.N()<=e?!1:!0}return b.Ec(a,c,e)};b.CL=function(a,c,e){if(b.Ec(a,c,e)||b.Ec(c,a,e)||a.fa()<=e&&a.N()<=e||c.fa()<=e&&c.N()<=e||c.fa()>e&&c.N()>e&&a.fa()>e&&a.N()>e)return!1;var f;a.fa()>e&&a.N()>e?f=c:(f=a,a=c);if(a.fa()>e&&a.N()>e){c=new d.h;var h=new d.h;h.I(a);h.O(-e,-e);c.I(h);c.Ma(f);return c.u()||c.fa()<=e&&c.N()<=
- e?!1:!0}c=new d.Hb;var h=new d.Hb,g=[0,0],k=[0,0],m=new d.b;f.Un(m);c.Mc(m);f.Vn(m);c.Zc(m);a.Un(m);h.Mc(m);a.Vn(m);h.Zc(m);c.Ma(h,null,g,k,e);return 1!=c.Ma(h,null,null,null,e)?!1:0<g[0]&&1>g[1]&&0<k[0]&&1>k[1]};b.aD=function(a,b,e){var c,h,g=new d.h,k=new d.h,m=new d.Mm(a,b,e,!0);if(!m.next())return!0;if(this.eI(a,b,e))return!1;var t;t=a;var p;p=null;1736==b.G()&&(p=b);var q=!1,n=!1;do{c=m.Ql();h=m.Ml();h=b.Aa(b.wa(h));g.I(m.dA());g.O(e,e);if(g.contains(h)&&(h=d.gd.fe(t,h,0),0!=h)||1736==b.G()&&
- (c=a.Aa(a.wa(c)),k.I(m.Hz()),k.O(e,e),k.contains(c)&&(h=d.gd.fe(p,c,0),0!=h)))return!1;q||(!d.ff.qm(a,b.aa()-1)||null!=a.ob&&null!=a.ob.Mb?t=a:(t=new d.Ia,a.copyTo(t),t.Hj(1)),q=!0);1736!=b.G()||n||(n=b,!d.ff.qm(n,a.aa()-1)||null!=b.ob&&null!=b.ob.Mb?p=b:(p=new d.Ia,n.copyTo(p),p.Hj(1)),n=!0)}while(m.next());return!0};b.Ec=function(a,b,e){var c=new d.h;c.I(a);c.O(e,e);return c.contains(b)};b.Yp=function(a,b,e){var c=new d.h;c.I(b);c.O(e,e);b=new d.b;a.Un(b);if(!c.contains(b))return!0;a.SJ(b);if(!c.contains(b))return!0;
- a.VJ(b);if(!c.contains(b))return!0;a.Vn(b);return c.contains(b)?!1:!0};b.pJ=function(a,b,e){if(a.aa()!=b.aa()||a.D()!=b.D())return!1;var c=new d.b,h=new d.b,g=!0;e*=e;for(var k=0;k<a.aa();k++){if(a.Gc(k)!=b.Gc(k)){g=!1;break}for(var m=a.wa(k);m<b.Gc(k);m++)if(a.w(m,c),b.w(m,h),d.b.sc(c,h)>e){g=!1;break}if(!g)break}return g?!0:!1};b.hM=function(a,b,e){if(a.D()!=b.D())return!1;var c=new d.b,h=new d.b,g=!0;e*=e;for(var k=0;k<a.D();k++)if(a.w(k,c),b.w(k,h),d.b.sc(c,h)>e){g=!1;break}return g?!0:!1};b.PC=
- function(a,b,e,f,h,g){var c=!1,l;a.D()>b.D()?(f&&(f=!1,c=!0),l=b):(l=a,a=b);b=null;if(h||g||c){b=new d.Gm(a.D());for(var m=0;m<a.D();m++)b.write(m,0)}var m=new d.h,p=new d.h,q=new d.h;l.s(m);a.s(p);m.O(e,e);p.O(e,e);q.I(m);q.Ma(p);for(var p=new d.b,n=new d.b,v=!0,x=d.ma.AF(a,q),w=x.mf(),y=e*e,D=0;D<l.D();D++)if(l.w(D,p),q.contains(p)){var z=!1;m.I(p.x,p.y,p.x,p.y);w.Ni(m,e);for(var B=w.next();-1!=B&&!(B=x.ja(B),a.w(B,n),d.b.sc(p,n)<=y&&((h||g||c)&&b.write(B,1),z=!0,f));B=w.next());if(!z&&(v=!1,h||
- f))return!1}else{if(h||f)return!1;v=!1}if(g&&v)return!1;if(f)return!0;for(m=0;m<a.D();m++)if(1==b.read(m)){if(g)return!0}else if(h||c)return!1;return g?!1:!0};b.BJ=function(a,b,e){var c;a.D()>b.D()?c=b:(c=a,a=b);b=new d.h;var h=new d.h,g=new d.h;c.s(b);a.s(h);b.O(e,e);h.O(e,e);g.I(b);g.Ma(h);for(var h=new d.b,k=new d.b,m=e*e,n=d.ma.AF(a,g),p=n.mf(),q=0;q<c.D();q++)if(c.w(q,h),g.contains(h)){b.I(h.x,h.y,h.x,h.y);p.Ni(b,e);for(var u=p.next();-1!=u;u=p.next())if(a.w(n.ja(u),k),d.b.sc(h,k)<=m)return!0}return!1};
- b.NB=function(a,c,e,d){return b.Wg(a,c,e,d)&&b.Wg(c,a,e,d)};b.Wg=function(a,c,e,f){function h(a,b){return q.VF(a,b)}var g=!0,k=[0,0],r=[0,0],n=0,p=new d.ia(0),q=new b,u,v=new d.h,x=new d.h,w=new d.h;a.s(v);c.s(x);v.O(e,e);x.O(e,e);w.I(v);w.Ma(x);a=a.Da();var x=c.Da(),y=null,D=y=null,z=c.ob;null!=z?(y=z.Mb,D=z.np,null==y&&(y=d.ma.Lj(c,w))):y=d.ma.Lj(c,w);c=y.mf();z=null;for(null!=D&&(z=D.mf());a.Ya();)for(;a.Ca();){var B=!1,A=a.ba();A.s(v);if(!v.Yb(w))return!1;if(null!=z&&(z.Ni(v,e),-1==z.next()))return g=
- !1;D=A.Rb();c.Xn(A,e);for(u=c.next();-1!=u;u=c.next()){x.Tb(y.ja(u));u=x.ba();var C=A.Ma(u,null,k,r,e);if(2==C&&(!f||r[0]<=r[1])){var C=k[0],E=k[1],F=r[0],G=r[1];if(C*D<=e&&(1-E)*D<=e){B=!0;n=0;p.resize(0);q.Ph.length=0;for(var H=a.Db(),F=!0;F;){if(a.Ca()){A=a.ba();D=A.Rb();C=A.Ma(u,null,k,r,e);if(2==C&&(!f||r[0]<=r[1])&&(C=k[0],E=k[1],C*D<=e&&(1-E)*D<=e)){H=a.Db();continue}if(x.Ca()&&(u=x.ba(),C=A.Ma(u,null,k,r,e),2==C&&(!f||r[0]<=r[1])&&(C=k[0],E=k[1],C*D<=e&&(1-E)*D<=e))){H=a.Db();continue}}F=
- !1}H!=a.Db()&&(a.Tb(H),a.ba());break}else H=a.Db(),u=m.pa(H,a.Ta,C,E,x.Db(),x.Ta,F,G),q.Ph.push(u),p.add(p.size)}}if(!B){if(n==q.Ph.length)return!1;1<p.size-n&&p.Gd(n,p.size,h);for(B=0;n<q.Ph.length;n++)if(u=q.Ph[p.get(n)],!(u.dk<B&&u.rj<B)){if(D*(u.dk-B)>e)return!1;B=u.rj;if(D*(1-B)<=e||1==B)break}if(D*(1-B)>e)return!1;n=0;p.resize(0);q.Ph.length=0}}return g};b.ZH=function(a,c,e){if(1>b.QB(a,c,e,null))return!1;var f=new d.h,h=new d.h;a.s(f);c.s(h);var g=b.Yp(f,h,e),f=b.Yp(h,f,e);return g&&f?!0:g&&
- !f?!b.Wg(c,a,e,!1):f&&!g?!b.Wg(a,c,e,!1):!b.Wg(a,c,e,!1)&&!b.Wg(c,a,e,!1)};b.QB=function(a,c,e,f){function h(a,b){return x.VF(a,b)}var g,k;a.hA()>c.hA()?(g=c,k=a):(g=a,k=c);a=g.Da();c=k.Da();var r=[0,0],n=[0,0],p=-1,q=0,u,v=new d.ia(0),x=new b,w,y=new d.h,D=new d.h,z=new d.h;g.s(y);k.s(D);y.O(e,e);D.O(e,e);z.I(y);z.Ma(D);g=null;null!=f&&(g=new d.b);u=D=D=null;var B=k.ob;null!=B?(D=B.Mb,u=B.np,null==D&&(D=d.ma.Lj(k,z))):D=d.ma.Lj(k,z);k=D.mf();B=null;for(null!=u&&(B=u.mf());a.Ya();)for(u=0;a.Ca();){var A=
- a.ba();A.s(y);if(y.Yb(z)&&(null==B||(B.Ni(y,e),-1!=B.next()))){var C=A.Rb();k.Xn(A,e);for(var E=k.next();-1!=E;E=k.next()){var F=D.ja(E);c.Tb(F);w=c.ba();var G=w.Rb(),H=A.Ma(w,null,r,n,e);if(0<H){var E=r[0],p=n[0],J=2==H?r[1]:NaN,I=2==H?n[1]:NaN;if(2==H){if(C*(J-E)>e)return p=1;var M=C*(J-E);if(c.Ca()){w=c.ba();H=A.Ma(w,null,r,null,e);if(2==H){var H=r[0],L=r[1],H=C*(L-H);if(M+H>e)return p=1}c.Tb(F);c.ba()}if(!c.kn()){c.Li();w=c.Li();H=A.Ma(w,null,r,null,e);if(2==H&&(H=r[0],L=r[1],H=C*(L-H),M+H>e))return p=
- 1;c.Tb(F);c.ba()}if(a.Ca()){F=a.Db();A=a.ba();H=A.Ma(w,null,r,null,e);if(2==H&&(H=r[0],L=r[1],H=C*(L-H),M+H>e))return p=1;a.Tb(F);a.ba()}if(!a.kn()){F=a.Db();a.Li();A=a.Li();H=A.Ma(w,null,r,null,e);if(2==H&&(H=r[0],L=r[1],H=G*(L-H),M+H>e))return p=1;a.Tb(F);a.ba()}w=m.pa(a.Db(),a.Ta,E,J,c.Db(),c.Ta,p,I);x.Ph.push(w);v.add(v.size)}p=0;null!=f&&(A.gc(E,g),f.add(g.x),f.add(g.y))}}if(q<x.Ph.length){v.Gd(q,v.size,h);A=0;for(E=x.Ph[v.get(q)].An;q<x.Ph.length;q++)if(w=x.Ph[v.get(q)],!(w.dk<A&&w.rj<A))if(C*
- (w.dk-A)>e)u=C*(w.rj-w.dk),A=w.rj,E=w.An;else{w.An!=E?(u=C*(w.rj-w.dk),E=w.An):u+=C*(w.rj-w.dk);if(u>e)return p=1;A=w.rj;if(1==A)break}C*(1-A)>e&&(u=0);q=0;v.resize(0);x.Ph.length=0}}}return p};b.eI=function(a,b,e){var c=a.Da(),h=b.Da();for(a=new d.Mm(a,b,e,!1);a.next();){b=a.Ql();var g=a.Ml();c.Tb(b);h.Tb(g);b=c.ba();if(0<h.ba().Ma(b,null,null,null,e))return!0}return!1};b.YH=function(a,b,e,f){var c=a.Da(),g=new d.h,k=new d.h,m=new d.h;a.s(g);b.s(k);g.O(e,e);g.contains(k);k.O(e,e);m.I(g);m.Ma(k);
- g=a.ob;null!=g?(g=g.Mb,null==g&&(g=d.ma.Lj(a,m))):g=d.ma.Lj(a,m);a=g.mf();for(var n=new d.b,p=new d.b,q=e*e,u=0;u<b.D();u++)if(b.w(u,n),m.contains(n)){k.I(n.x,n.y,n.x,n.y);a.Ni(k,e);for(var v=!1,x=a.next();-1!=x;x=a.next())if(c.Tb(g.ja(x)),x=c.ba(),x.gc(x.oe(n,!1),p),d.b.sc(p,n)<=q){v=!0;break}if(f){if(!v)return!1}else if(v)return!0}return f?!0:!1};b.GA=function(a,b,e){var c=new d.b,h=e*e,g=a.Da();a=a.ob;if(null!=a&&(a=a.Mb,null!=a)){var k=new d.h;k.I(b);e=a.Wz(k,e);for(k=e.next();-1!=k;k=e.next())if(g.Tb(a.ja(k)),
- g.Ca()){var k=g.ba(),m=k.oe(b,!1);k.gc(m,c);if(d.b.sc(b,c)<=h)return!0}return!1}for(a=new d.h;g.Ya();)for(;g.Ca();)if(k=g.ba(),k.s(a),a.O(e,e),a.contains(b)&&(m=k.oe(b,!1),k.gc(m,c),d.b.sc(b,c)<=h))return!0;return!1};b.xH=function(a,c,e){return b.GA(a,c,e)&&!b.fC(a,c,e)};b.fC=function(a,c,e){a=a.Gg();return!b.Zt(a,c,e)};b.WH=function(a,b,e){if(a.jn()){var c=new d.Hb(b.o,b.A,b.o,b.B),h=new d.Hb(b.o,b.B,b.v,b.B),g=new d.Hb(b.v,b.B,b.v,b.A);b=new d.Hb(b.v,b.A,b.o,b.A);for(a=a.Da();a.Ya();)for(;a.Ca();){var k=
- a.ba();if(k.Yb(c,e)||k.Yb(h,e)||k.Yb(g,e)||k.Yb(b,e))return!0}}else{c=new d.h;c.I(b);c.O(e,e);e=a.Pa(0);h=new d.b;g=new d.b;b=new d.b;for(var k=new d.b,m=0,n=a.aa();m<n;m++)for(var p=!0,q=a.wa(m),u=a.Gc(m);q<u;q++)if(p)e.fc(2*q,g),p=!1;else{e.fc(2*q,h);b.L(g);k.L(h);if(0!=c.fz(b,k))return!0;g.L(h)}}return!1};b.wc=function(a,c,e){var f=a.G(),h=c.G();if(d.T.gh(f)){var g=a.ob;if(null!=g&&(g=g.Hi,null!=g))if(33==h){var k=c.w(),k=g.rm(k.x,k.y);if(1==k)return 1;if(0==k)return 4}else{k=new d.h;c.s(k);k=
- g.Sn(k);if(1==k)return 1;if(0==k)return 4;if(e&&d.T.gh(h)&&b.YC(c,g))return 1073741824}}if(d.T.gh(h)&&(g=c.ob,null!=g&&(g=g.Hi,null!=g)))if(33==f){a=a.w();k=g.rm(a.x,a.y);if(1==k)return 2;if(0==k)return 4}else{c=new d.h;a.s(c);k=g.Sn(c);if(1==k)return 2;if(0==k)return 4;if(e&&d.T.gh(f)&&b.YC(a,g))return 1073741824}return 0};b.YC=function(a,b){for(var c=a.D(),f=new d.b,h=0;h<c;h++)if(a.w(h,f),1==b.rm(f.x,f.y))return!0;return!1};b.gD=function(a,b,e,f){for(var c=1<=a.Kk(0)&&1<=b.Kk(0),g=a.Da(),k=b.Da(),
- m=[0,0],n=[0,0],p=new d.Mm(a,b,e,!1),q=!1;p.next();){var u=p.Ql(),v=p.Ml();g.Tb(u);k.Tb(v);u=g.ba();v=k.ba().Ma(u,null,n,m,e);if(2==v){q=m[0];v=m[1];u=u.Rb();if(c&&(v-q)*u>e)return!1;q=!0}else if(0!=v){q=m[0];u=n[0];if(0<q&&1>q&&0<u&&1>u)return!1;q=!0}}if(!q)return!1;g=new d.h;k=new d.h;c=new d.h;a.s(g);b.s(k);g.O(1E3*e,1E3*e);k.O(1E3*e,1E3*e);c.I(g);c.Ma(k);return 10<a.D()&&(a=d.me.clip(a,c,e,0),a.u())||10<b.D()&&(b=d.me.clip(b,c,e,0),b.u())?!1:d.Om.fu(a,b,e,"F********",f)};b.bD=function(a,c,e,f){var h=
- 1<=a.Kk(0)&&1<=c.Kk(0),g=new d.h,k=new d.h,m=new d.h;a.s(g);c.s(k);for(var n=!1,p=b.Yp(g,k,e),q=b.Yp(k,g,e),u=a.Da(),v=c.Da(),x=[0,0],w=[0,0],y=new d.Mm(a,c,e,!1);y.next();){var D=y.Ql(),z=y.Ml();u.Tb(D);v.Tb(z);z=u.ba();D=v.ba().Ma(z,null,w,x,e);if(2==D){var D=x[0],B=x[1],z=z.Rb();if(h&&(B-D)*z>e&&(n=!0,p&&q))return!0}else if(0!=D&&(D=x[0],z=w[0],0<D&&1>D&&0<z&&1>z))return!0}h=new d.h;u=new d.h;h.I(g);h.O(1E3*e,1E3*e);u.I(k);u.O(1E3*e,1E3*e);m.I(h);m.Ma(u);g="";g=n?g+"**":g+"T*";if(p){if(10<c.D()&&
- (c=d.me.clip(c,m,e,0),c.u()))return!1;g+="****"}else g+="T***";if(q){if(10<a.D()&&(a=d.me.clip(a,m,e,0),a.u()))return!1;g+="***"}else g+="T**";return d.Om.fu(a,c,e,g.toString(),f)};b.AL=function(a,c,e,f){var h=[!1],g=b.yL(a,c,e,h);if(h[0])return g;h=new d.h;c.s(h);h.O(1E3*e,1E3*e);return 10<a.D()&&(a=d.me.clip(a,h,e,0),a.u())?!1:d.Om.Dx(a,c,e,f)};b.yL=function(a,b,e,f){f[0]=!1;for(var c=a.Da(),g=b.Da(),k=[0,0],m=[0,0],n=new d.Mm(a,b,e,!1),p=!1;n.next();){var q=n.Ql(),u=n.Ml();c.Tb(q,-1);g.Tb(u,-1);
- q=c.ba();q=g.ba().Ma(q,null,m,k,e);if(0!=q&&(p=!0,1==q&&(q=k[0],u=m[0],0<q&&1>q&&0<u&&1>u)))return f[0]=!0,!1}if(!p){f[0]=!0;k=new d.h;a.s(k);k.O(e,e);n=a;p=!1;m=new d.h;f=0;for(c=b.aa();f<c;f++)if(0<b.Ka(f)){b.ik(f,m);if(k.Yb(m)){if(g=b.Aa(b.wa(f)),g=d.ff.ln(n,g,0),0==g)return!1}else return!1;p||(!d.ff.qm(a,b.aa()-1)||null!=a.ob&&null!=a.ob.Mb?n=a:(g=new d.Ia,a.copyTo(g),g.Hj(1),n=g),p=!0)}if(1==a.aa()||1607==b.G())return!0;k=new d.h;b.s(k);k.O(e,e);m=b;n=!1;e=new d.h;f=0;for(c=a.aa();f<c;f++)if(0<
- a.Ka(f)){a.ik(f,e);if(k.Yb(e)&&(g=a.Aa(a.wa(f)),g=d.ff.ln(m,g,0),1==g))return!1;n||(!d.ff.qm(b,a.aa()-1)||null!=b.ob&&null!=b.ob.Mb?m=b:(g=new d.Ia,b.copyTo(g),g.Hj(1),m=g),n=!0)}return!0}return!1};b.iD=function(a,b,e,f){for(var c=a.Da(),g=b.Da(),k=[0,0],m=[0,0],n=new d.Mm(a,b,e,!1),p=!1;n.next();){var q=n.Ql(),u=n.Ml();c.Tb(q);g.Tb(u);q=c.ba();q=g.ba().Ma(q,null,m,k,e);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;g=new d.h;k=new d.h;c=new d.h;a.s(g);
- b.s(k);g.O(1E3*e,1E3*e);k.O(1E3*e,1E3*e);c.I(g);c.Ma(k);return 10<a.D()&&(a=d.me.clip(a,c,e,0),a.u())||10<b.D()&&(b=d.me.clip(b,c,e,0),b.u())?!1:d.Om.Pn(a,b,e,"F********",f)};b.$C=function(a,c,e,f){for(var h=a.Da(),g=c.Da(),k=[0,0],m=[0,0],n=new d.Mm(a,c,e,!1),p=!1;n.next();){var q=n.Ql(),u=n.Ml();h.Tb(q);g.Tb(u);q=h.ba();q=g.ba().Ma(q,null,m,k,e);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;g=new d.h;k=new d.h;m=new d.h;n=new d.h;h=new d.h;a.s(g);c.s(k);
- return b.Yp(k,g,e)?(m.I(g),m.O(1E3*e,1E3*e),n.I(k),n.O(1E3*e,1E3*e),h.I(m),h.Ma(n),10<a.D()&&(a=d.me.clip(a,h,e,0),a.u())||10<c.D()&&(c=d.me.clip(c,h,e,0),c.u())?!1:e=d.Om.Pn(a,c,e,"T********",f)):e=d.Om.Pn(a,c,e,"T*****T**",f)};b.BL=function(a,c,e,f){var h=[!1],g=b.yL(a,c,e,h);if(h[0])return g;h=new d.h;c.s(h);h.O(1E3*e,1E3*e);return 10<a.D()&&(a=d.me.clip(a,h,e,0),a.u())?!1:d.Om.KB(a,c,e,f)};b.zL=function(a,b,e){return 1==d.gd.fe(a,b,e)?!0:!1};b.dD=function(a,b,e){return 2==d.gd.fe(a,b,e)?!0:!1};
- b.Zt=function(a,b,e){var c=new d.b;e*=e;for(var h=0;h<a.D();h++)if(a.w(h,c),d.b.sc(c,b)<=e)return!1;return!0};b.prototype.VF=function(a,b){a=this.Ph[a];b=this.Ph[b];return a.An<b.An||a.An==b.An&&(a.ax<b.ax||a.ax==b.ax&&(a.dk<b.dk||a.dk==b.dk&&(a.rj<b.rj||a.rj==b.rj&&a.QI<b.QI)))?-1:1};return b}();d.Fd=g})(n||(n={}));(function(d){var m;(function(b){b[b.InteriorInterior=0]="InteriorInterior";b[b.InteriorBoundary=1]="InteriorBoundary";b[b.InteriorExterior=2]="InteriorExterior";b[b.BoundaryInterior=3]=
- "BoundaryInterior";b[b.BoundaryBoundary=4]="BoundaryBoundary";b[b.BoundaryExterior=5]="BoundaryExterior";b[b.ExteriorInterior=6]="ExteriorInterior";b[b.ExteriorBoundary=7]="ExteriorBoundary";b[b.ExteriorExterior=8]="ExteriorExterior"})(m||(m={}));var g;(function(b){b[b.AreaAreaPredicates=0]="AreaAreaPredicates";b[b.AreaLinePredicates=1]="AreaLinePredicates";b[b.LineLinePredicates=2]="LineLinePredicates";b[b.AreaPointPredicates=3]="AreaPointPredicates";b[b.LinePointPredicates=4]="LinePointPredicates";
- b[b.PointPointPredicates=5]="PointPointPredicates"})(g||(g={}));m=function(){function b(){this.Ie=0;this.i=new d.Pu;this.H=[0,0,0,0,0,0,0,0,0];this.eb=[0,0,0,0,0,0,0,0,0];this.ga=[!1,!1,!1,!1,!1,!1,!1,!1,!1];this.Gn=this.ix=-1}b.XB=function(a,b,e,f,h){if(9!=f.length)throw d.f.X("relation string length has to be 9 characters");for(var c=0;9>c;c++){var g=f.charAt(c);if("*"!=g&&"T"!=g&&"F"!=g&&"0"!=g&&"1"!=g&&"2"!=g)throw d.f.X("relation string");}c=this.ET(f,a.tb(),b.tb());if(0!=c)return d.Fd.YB(a,
- b,e,c,h);c=new d.h;a.s(c);g=new d.h;b.s(g);var m=new d.h;m.I(c);m.Nb(g);e=d.ma.be(e,m,!1);a=this.aG(a,e);b=this.aG(b,e);if(a.u()||b.u())return this.rX(a,b,f);c=b.G();g=!1;switch(a.G()){case 1736:switch(c){case 1736:g=this.fu(a,b,e,f,h);break;case 1607:g=this.Pn(a,b,e,f,h);break;case 33:g=this.eu(a,b,e,f,h);break;case 550:g=this.du(a,b,e,f,h)}break;case 1607:switch(c){case 1736:g=this.Pn(b,a,e,this.Pq(f),h);break;case 1607:g=this.LB(a,b,e,f,h);break;case 33:g=this.hu(a,b,e,f,h);break;case 550:g=this.gu(a,
- b,e,f,h)}break;case 33:switch(c){case 1736:g=this.eu(b,a,e,this.Pq(f),h);break;case 1607:g=this.hu(b,a,e,this.Pq(f),h);break;case 33:g=this.FW(a,b,e,f);break;case 550:g=this.$t(b,a,e,this.Pq(f),h)}break;case 550:switch(c){case 1736:g=this.du(b,a,e,this.Pq(f),h);break;case 1607:g=this.gu(b,a,e,this.Pq(f),h);break;case 550:g=this.CB(a,b,e,f,h);break;case 33:g=this.$t(a,b,e,f,h)}break;default:g=!1}return g};b.fu=function(a,c,e,f,h){var g=new b;g.xj();g.Bj(f);g.nK();var k=new d.h,m=new d.h;a.s(k);c.s(m);
- f=!1;d.Fd.Dk(k,m,e)&&(g.lv(a,c),f=!0);f||(k=d.Fd.wc(a,c,!1),4==k?(g.lv(a,c),f=!0):1==k?(g.Ry(c),f=!0):2==k&&(g.kF(a),f=!0));f||(f=new d.fd,a=f.Jb(a),c=f.Jb(c),g.Fp(f,e,h),g.tq(a,c),g.i.qh());return b.zg(g.H,g.dd)};b.Dx=function(a,c,e,f){var h=new b;h.xj();h.Bj("T*****F**");h.nK();var g=new d.h,k=new d.h;a.s(g);c.s(k);var m=!1;d.Fd.Dk(g,k,e)&&(h.lv(a,c),m=!0);m||(g=d.Fd.wc(a,c,!1),4==g?(h.lv(a,c),m=!0):1==g?(h.Ry(c),m=!0):2==g&&(h.kF(a),m=!0));if(m)return g=this.zg(h.H,h.dd);m=new d.fd;a=m.Jb(a);g=
- m.Jb(c);d.rk.V(m,e,f,!1);e=m.Se(g).Gg();m.zq(0,!0,!0);d.lo.V(m,a,-1,!1,f);if(0==m.D(a))return!1;d.lo.V(m,g,-1,!1,f);h.Xr(m,f);c=0==m.D(g);if(!c&&(h.tq(a,g),h.i.qh(),g=this.zg(h.H,h.dd),!g))return g;a=m.Se(a);m=new d.fd;a=m.Jb(a);g=m.Jb(e);h.Xr(m,f);h.Ie=0;h.xj();h.Bj(c?"T*****F**":"******F**");h.gC();h.tq(a,g);h.i.qh();return g=this.zg(h.H,h.dd)};b.Pn=function(a,c,e,f,h){var g=new b;g.xj();g.Bj(f);g.gC();var k=new d.h,m=new d.h;a.s(k);c.s(m);f=!1;d.Fd.Dk(k,m,e)&&(g.mv(a,c),f=!0);f||(k=d.Fd.wc(a,c,
- !1),4==k?(g.mv(a,c),f=!0):1==k&&(g.lF(c),f=!0));f||(f=new d.fd,a=f.Jb(a),c=f.Jb(c),g.Fp(f,e,h),g.Fh=g.i.wq(),b.ov(c,g.i,g.Fh),g.tq(a,c),g.i.xq(g.Fh),g.i.qh());return b.zg(g.H,g.dd)};b.KB=function(a,c,e,f){var h=new b;h.xj();h.Bj("T*****F**");h.gC();var g=new d.h,k=new d.h;a.s(g);c.s(k);var m=!1;d.Fd.Dk(g,k,e)&&(h.mv(a,c),m=!0);m||(g=d.Fd.wc(a,c,!1),4==g?(h.mv(a,c),m=!0):1==g&&(h.lF(c),m=!0));if(m)return e=this.zg(h.H,h.dd);m=new d.fd;a=m.Jb(a);c=m.Jb(c);h.Fp(m,e,f);if(0==m.D(a))return!1;h.tq(a,c);
- h.i.qh();return e=this.zg(h.H,h.dd)};b.du=function(a,c,e,f,h){var g=new b;g.xj();g.Bj(f);g.oK();var k=new d.h,m=new d.h;a.s(k);c.s(m);f=!1;d.Fd.Dk(k,m,e)&&(g.nv(a),f=!0);f||(k=d.Fd.wc(a,c,!1),4==k?(g.nv(a),f=!0):1==k&&(g.AP(),f=!0));f||(f=new d.fd,a=f.Jb(a),c=f.Jb(c),g.Fp(f,e,h),g.kz(a,c),g.i.qh());return b.zg(g.H,g.dd)};b.LB=function(a,c,e,f,h){var g=new b;g.xj();g.Bj(f);g.YX();f=new d.h;var k=new d.h;a.s(f);c.s(k);var m=!1;d.Fd.Dk(f,k,e)&&(g.cI(a,c),m=!0);m||4!=d.Fd.wc(a,c,!1)||(g.cI(a,c),m=!0);
- m||(f=new d.fd,a=f.Jb(a),c=f.Jb(c),g.Fp(f,e,h),g.xi=g.i.wq(),g.Fh=g.i.wq(),b.ov(a,g.i,g.xi),b.ov(c,g.i,g.Fh),g.tq(a,c),g.i.xq(g.xi),g.i.xq(g.Fh),g.i.qh());return b.zg(g.H,g.dd)};b.gu=function(a,c,e,f,h){var g=new b;g.xj();g.Bj(f);g.CK();f=new d.h;var k=new d.h;a.s(f);c.s(k);var m=!1;d.Fd.Dk(f,k,e)&&(g.FA(a),m=!0);m||4!=d.Fd.wc(a,c,!1)||(g.FA(a),m=!0);m||(f=new d.fd,a=f.Jb(a),c=f.Jb(c),g.Fp(f,e,h),g.xi=g.i.wq(),b.ov(a,g.i,g.xi),g.kz(a,c),g.i.xq(g.xi),g.i.qh());return b.zg(g.H,g.dd)};b.CB=function(a,
- c,e,f,h){var g=new b;g.xj();g.Bj(f);g.HK();f=new d.h;var k=new d.h;a.s(f);c.s(k);var m=!1;d.Fd.Dk(f,k,e)&&(g.FJ(),m=!0);m||(f=new d.fd,a=f.Jb(a),c=f.Jb(c),g.Fp(f,e,h),g.kz(a,c),g.i.qh());return b.zg(g.H,g.dd)};b.eu=function(a,c,e,f){var h=new b;h.xj();h.Bj(f);h.oK();var g=new d.h;a.s(g);c=c.w();var k=!1;d.Fd.Cx(c,g,e)&&(h.nv(a),k=!0);k||(e=d.gd.fe(a,c,e),1==e?(h.H[0]=0,h.H[2]=2,h.H[3]=-1,h.H[5]=1,h.H[6]=-1):2==e?(h.H[6]=-1,0!=a.hf()?(h.H[0]=-1,h.H[3]=0,h.H[2]=2,h.H[5]=1):(h.H[0]=0,h.H[3]=-1,h.H[5]=
- -1,e=new d.h,a.s(e),h.H[2]=0==e.fa()&&0==e.N()?-1:1)):h.nv(a));return this.zg(h.H,f)};b.hu=function(a,c,e,f,h){var g=new b;g.xj();g.Bj(f);g.CK();var k=new d.h;a.s(k);f=c.w();var m=!1;d.Fd.Cx(f,k,e)&&(g.FA(a),m=!0);if(!m){var k=null,n=m=!1;if(g.ga[0]||g.ga[6])d.Fd.GA(a,f,e)?(g.ga[0]&&(k=d.Pi.Sm(a,h),n=!d.Fd.Zt(k,f,e),m=!0,g.H[0]=n?-1:0),g.H[6]=-1):(g.H[0]=-1,g.H[6]=0);g.ga[3]&&(null!=k&&k.u()?g.H[3]=-1:(m||(null==k&&(k=d.Pi.Sm(a,h)),n=!d.Fd.Zt(k,f,e),m=!0),g.H[3]=n?0:-1));g.ga[5]&&(null!=k&&k.u()?
- g.H[5]=-1:m&&!n?g.H[5]=0:(null==k&&(k=d.Pi.Sm(a,h)),h=d.Fd.yx(k,c,e),g.H[5]=h?-1:0));g.ga[2]&&(0!=a.Rb()?g.H[2]=1:(h=new d.Ed(a.description),h.Jd(a,0,a.D()),a=d.Fd.yx(h,c,e),g.H[2]=a?-1:0))}return this.zg(g.H,g.dd)};b.$t=function(a,c,e,f){var h=new b;h.xj();h.Bj(f);h.HK();var g=new d.h;a.s(g);c=c.w();var k=!1;d.Fd.Cx(c,g,e)&&(h.FJ(),k=!0);if(!k){g=!1;k=!0;e*=e;for(var m=0;m<a.D();m++){var n=a.Aa(m);d.b.sc(n,c)<=e?g=!0:k=!1;if(g&&!k)break}g?(h.H[0]=0,h.H[2]=k?-1:0,h.H[6]=-1):(h.H[0]=-1,h.H[2]=0,h.H[6]=
- 0)}return b.zg(h.H,f)};b.FW=function(a,c,e,f){a=a.w();c=c.w();for(var h=[],g=0;9>g;g++)h[g]=-1;d.b.sc(a,c)<=e*e?h[0]=0:(h[2]=0,h[6]=0);h[8]=2;return b.zg(h,f)};b.zg=function(a,b){for(var c=0;9>c;c++)switch(b.charAt(c)){case "T":if(-1==a[c])return!1;break;case "F":if(-1!=a[c])return!1;break;case "0":if(0!=a[c])return!1;break;case "1":if(1!=a[c])return!1;break;case "2":if(2!=a[c])return!1}return!0};b.rX=function(a,b,e){var c=[-1,-1,-1,-1,-1,-1,-1,-1,-1];if(a.u()&&b.u()){for(var h=0;9>h;h++)c[h]=-1;
- return this.zg(c,e)}h=!1;a.u()&&(a=b,h=!0);c[0]=-1;c[1]=-1;c[3]=-1;c[4]=-1;c[6]=-1;c[7]=-1;c[8]=2;b=a.G();d.T.Ic(b)?1736==b?0!=a.hf()?(c[2]=2,c[5]=1):(c[5]=-1,b=new d.h,a.s(b),c[2]=0==b.fa()&&0==b.N()?0:1):(b=0!=a.Rb(),c[2]=b?1:0,c[5]=d.Pi.Rq(a)?0:-1):(c[2]=0,c[5]=-1);h&&this.jL(c);return this.zg(c,e)};b.ET=function(a,c,e){return b.jQ(a)?3:b.rO(a)?4:b.fU(a,c,e)?8:b.iO(a,c,e)?16:b.NN(a)?1:b.YM(a,c,e)?32:0};b.jQ=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};b.rO=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};b.fU=function(a,b,e){if(0==b&&0==e)return!1;if(2!=b||2!=e)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==e&&"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!=e&&"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};b.iO=function(a,b,e){return b>e?"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==e&&"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};b.NN=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};b.YM=function(a,b,e){if(b==e){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};b.ov=function(a,b,e){a=b.Ha(a);for(var c=b.rf;-1!=c;c=b.og(c))if(0!=(b.Nd(c)&a)){var d=b.kf(c);if(-1==d)b.eo(c,e,0);else{var g=d,k=0;do 0!=(b.Ah(g)&a)&&k++,g=b.qc(b.za(g));while(g!=d);b.eo(c,
- e,k)}}};b.Pq=function(a){var b;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)};b.prototype.xj=function(){for(var a=0;9>a;a++)this.H[a]=-2,this.eb[a]=-2};b.jL=function(a){var b=a[1],e=a[2],d=a[5];a[1]=a[3];a[2]=a[6];a[5]=a[7];a[3]=b;a[6]=e;a[7]=d};b.prototype.Bj=function(a){this.dd=a;for(a=0;9>a;a++)"*"!=this.dd.charAt(a)?(this.ga[a]=!0,this.Ie++):this.ga[a]=!1};b.prototype.KK=function(){for(var a=0;9>
- a;a++)this.ga[a]&&-2==this.H[a]&&(this.H[a]=-1,this.ga[a]=!1)};b.prototype.vc=function(a){if(-2==this.H[a])return!1;if(-1==this.H[a])return this.ga[a]=!1,this.Ie--,!0;if("T"!=this.dd.charAt(a)&&"F"!=this.dd.charAt(a)){if(this.H[a]<this.eb[a])return!1;this.ga[a]=!1;this.Ie--;return!0}this.ga[a]=!1;this.Ie--;return!0};b.prototype.nK=function(){this.ix=0;this.eb[0]=2;this.eb[1]=1;this.eb[2]=2;this.eb[3]=1;this.eb[4]=1;this.eb[5]=1;this.eb[6]=2;this.eb[7]=1;this.eb[8]=2;this.ga[8]&&(this.H[8]=2,this.ga[8]=
- !1,this.Ie--)};b.prototype.gC=function(){this.ix=1;this.Gn=3;this.eb[0]=1;this.eb[1]=0;this.eb[2]=2;this.eb[3]=1;this.eb[4]=0;this.eb[5]=1;this.eb[6]=1;this.eb[7]=0;this.eb[8]=2;this.ga[8]&&(this.H[8]=2,this.ga[8]=!1,this.Ie--)};b.prototype.YX=function(){this.ix=2;this.Gn=4;this.eb[0]=1;this.eb[1]=0;this.eb[2]=1;this.eb[3]=0;this.eb[4]=0;this.eb[5]=0;this.eb[6]=1;this.eb[7]=0;this.eb[8]=2;this.ga[8]&&(this.H[8]=2,this.ga[8]=!1,this.Ie--)};b.prototype.oK=function(){this.Gn=3;this.eb[0]=0;this.eb[1]=
- -1;this.eb[2]=2;this.eb[3]=0;this.eb[4]=-1;this.eb[5]=1;this.eb[6]=0;this.eb[7]=-1;this.eb[8]=2;this.ga[1]&&(this.H[1]=-1,this.ga[1]=!1,this.Ie--);this.ga[4]&&(this.H[4]=-1,this.ga[4]=!1,this.Ie--);this.ga[7]&&(this.H[7]=-1,this.ga[7]=!1,this.Ie--);this.ga[8]&&(this.H[8]=2,this.ga[8]=!1,this.Ie--)};b.prototype.CK=function(){this.Gn=4;this.eb[0]=0;this.eb[1]=-1;this.eb[2]=1;this.eb[3]=0;this.eb[4]=-1;this.eb[5]=0;this.eb[6]=0;this.eb[7]=-1;this.eb[8]=2;this.ga[1]&&(this.H[1]=-1,this.ga[1]=!1,this.Ie--);
- this.ga[4]&&(this.H[4]=-1,this.ga[4]=!1,this.Ie--);this.ga[7]&&(this.H[7]=-1,this.ga[7]=!1,this.Ie--);this.ga[8]&&(this.H[8]=2,this.ga[8]=!1,this.Ie--)};b.prototype.HK=function(){this.Gn=5;this.eb[0]=0;this.eb[1]=-1;this.eb[2]=0;this.eb[3]=-1;this.eb[4]=-1;this.eb[5]=-1;this.eb[6]=0;this.eb[7]=-1;this.eb[8]=2;this.ga[1]&&(this.H[1]=-1,this.ga[1]=!1,this.Ie--);this.ga[3]&&(this.H[3]=-1,this.ga[3]=!1,this.Ie--);this.ga[4]&&(this.H[4]=-1,this.ga[4]=!1,this.Ie--);this.ga[5]&&(this.H[5]=-1,this.ga[5]=
- !1,this.Ie--);this.ga[7]&&(this.H[7]=-1,this.ga[7]=!1,this.Ie--);this.ga[8]&&(this.H[8]=2,this.ga[8]=!1,this.Ie--)};b.prototype.yP=function(a,b,e){var c=!0;this.ga[0]&&(this.wU(a,b,e),c=c&&this.vc(0));this.ga[1]&&(this.EH(a,b,1),c=c&&this.vc(1));this.ga[2]&&(this.FH(a,b,e,2),c=c&&this.vc(2));this.ga[3]&&(this.EH(a,e,3),c=c&&this.vc(3));this.ga[4]&&(this.EP(a,b,e),c=c&&this.vc(4));this.ga[5]&&(this.qF(a,e,5),c=c&&this.vc(5));this.ga[6]&&(this.FH(a,e,b,6),c=c&&this.vc(6));this.ga[7]&&(this.qF(a,b,7),
- c=c&&this.vc(7));return c};b.prototype.lv=function(a,b){this.H[0]=-1;this.H[1]=-1;this.H[3]=-1;this.H[4]=-1;this.Cs(a,this.ga[2]?2:-1,this.dd.charAt(2),this.ga[5]?5:-1,this.dd.charAt(5));this.Cs(b,this.ga[6]?6:-1,this.dd.charAt(6),this.ga[7]?7:-1,this.dd.charAt(7))};b.prototype.Cs=function(a,b,e,f,h){if(-1!=b||-1!=f)("T"!=e&&"F"!=e&&-1!=b||"T"!=h&&"F"!=h&&-1!=f?0!=a.hf():1)?(-1!=b&&(this.H[b]=2),-1!=f&&(this.H[f]=1)):(-1!=f&&(this.H[f]=-1),-1!=b&&(e=new d.h,a.s(e),this.H[b]=0==e.fa()&&0==e.N()?0:
- 1))};b.prototype.Ry=function(a){this.H[2]=2;this.H[3]=-1;this.H[4]=-1;this.H[5]=1;this.H[6]=-1;this.H[7]=-1;this.Cs(a,this.ga[0]?0:-1,this.dd.charAt(0),this.ga[1]?1:-1,this.dd.charAt(1))};b.prototype.kF=function(a){this.Ry(a);b.jL(this.H)};b.prototype.mv=function(a,b){this.H[0]=-1;this.H[1]=-1;this.H[3]=-1;this.H[4]=-1;if(this.ga[6]){var c=this.dd.charAt(6),c="T"!=c&&"F"!=c?0!=b.Rb():!0;this.H[6]=c?1:0}this.ga[7]&&(c=d.Pi.Rq(b),this.H[7]=c?0:-1);this.Cs(a,this.ga[2]?2:-1,this.dd.charAt(2),this.ga[5]?
- 5:-1,this.dd.charAt(5))};b.prototype.lF=function(a){if(this.ga[0]){var b=this.dd.charAt(0),b="T"!=b&&"F"!=b?0!=a.Rb():!0;this.H[0]=b?1:0}this.ga[1]&&(a=d.Pi.Rq(a),this.H[1]=a?0:-1);this.H[2]=2;this.H[3]=-1;this.H[4]=-1;this.H[5]=1;this.H[6]=-1;this.H[7]=-1};b.prototype.nv=function(a){this.H[0]=-1;this.H[3]=-1;this.H[6]=0;this.Cs(a,this.ga[2]?2:-1,this.dd.charAt(2),this.ga[5]?5:-1,this.dd.charAt(5))};b.prototype.AP=function(){this.H[0]=0;this.H[2]=2;this.H[3]=-1;this.H[5]=1;this.H[6]=-1};b.prototype.cI=
- function(a,b){this.H[0]=-1;this.H[1]=-1;this.H[3]=-1;this.H[4]=-1;if(this.ga[2]){var c=this.dd.charAt(2),c="T"!=c&&"F"!=c?0!=a.Rb():!0;this.H[2]=c?1:0}this.ga[5]&&(c=d.Pi.Rq(a),this.H[5]=c?0:-1);this.ga[6]&&(c=this.dd.charAt(6),c="T"!=c&&"F"!=c?0!=b.Rb():!0,this.H[6]=c?1:0);this.ga[7]&&(c=d.Pi.Rq(b),this.H[7]=c?0:-1)};b.prototype.FA=function(a){this.H[0]=-1;this.H[3]=-1;if(this.ga[2]){var b=this.dd.charAt(2),b="T"!=b&&"F"!=b?0!=a.Rb():!0;this.H[2]=b?1:0}this.ga[5]&&(a=d.Pi.Rq(a),this.H[5]=a?0:-1);
- this.H[6]=0};b.prototype.FJ=function(){this.H[0]=-1;this.H[2]=0;this.H[6]=0};b.prototype.zP=function(a,b,e){var c=!0;this.ga[0]&&(this.xU(a,b),c=c&&this.vc(0));this.ga[1]&&(this.tU(a,b,e,this.Fh),c=c&&this.vc(1));this.ga[2]&&(this.uU(a,b),c=c&&this.vc(2));this.ga[3]&&(this.IP(a,b,e,this.Fh),c=c&&this.vc(3));this.ga[4]&&(this.FP(a,b,e,this.Fh),c=c&&this.vc(4));this.ga[5]&&(this.GP(a,b,e),c=c&&this.vc(5));this.ga[6]&&(this.cS(a,b),c=c&&this.vc(6));this.ga[7]&&(this.bS(a,b,e,this.Fh),c=c&&this.vc(7));
- return c};b.prototype.mV=function(a,b,e){var c=!0;this.ga[0]&&(this.AU(a,b,e,this.xi,this.Fh),c=c&&this.vc(0));this.ga[1]&&(this.GH(a,b,e,this.xi,this.Fh,1),c=c&&this.vc(1));this.ga[2]&&(this.HH(a,b,e,2),c=c&&this.vc(2));this.ga[3]&&(this.GH(a,e,b,this.Fh,this.xi,3),c=c&&this.vc(3));this.ga[4]&&(this.KP(a,b,e,this.xi,this.Fh),c=c&&this.vc(4));this.ga[5]&&(this.rF(a,e,this.xi,5),c=c&&this.vc(5));this.ga[6]&&(this.HH(a,e,b,6),c=c&&this.vc(6));this.ga[7]&&(this.rF(a,b,this.Fh,7),c=c&&this.vc(7));return c};
- b.prototype.mF=function(a,b,e){var c=!0;this.ga[0]&&(this.yU(a,b),c=c&&this.vc(0));this.ga[2]&&(this.vU(a,b),c=c&&this.vc(2));this.ga[3]&&(this.JP(a,b,e),c=c&&this.vc(3));this.ga[5]&&(this.HP(a,b),c=c&&this.vc(5));this.ga[6]&&(this.dS(a,b),c=c&&this.vc(6));return c};b.prototype.dI=function(a,b,e){var c=!0;this.ga[0]&&(this.BU(a,b,e,this.xi),c=c&&this.vc(0));this.ga[2]&&(this.zU(a,e),c=c&&this.vc(2));this.ga[3]&&(this.MP(a,b,e,this.xi),c=c&&this.vc(3));this.ga[5]&&(this.LP(a,b,e,this.xi),c=c&&this.vc(5));
- this.ga[6]&&(this.eS(a,b,e),c=c&&this.vc(6));return c};b.prototype.EW=function(a,b,e){var c=!0;this.ga[0]&&(this.CU(a,b,e),c=c&&this.vc(0));this.ga[2]&&(this.IH(a,b,e,2),c=c&&this.vc(2));this.ga[6]&&(this.IH(a,e,b,6),c=c&&this.vc(6));return c};b.prototype.wU=function(a,b,e){2!=this.H[0]&&(a=this.i.Ff(a),0!=(a&b)&&0!=(a&e)&&(this.H[0]=2))};b.prototype.EH=function(a,b,e){if(1!=this.H[e]){var c=this.i.Ff(this.i.za(a));0!=(this.i.Ff(a)&b)&&0!=(c&b)&&(this.H[e]=1)}};b.prototype.FH=function(a,b,e,d){2!=
- this.H[d]&&(a=this.i.Ff(a),0!=(a&b)&&0==(a&e)&&(this.H[d]=2))};b.prototype.EP=function(a,b,e){if(1!=this.H[4]){var c=this.i.Ah(a);0!=(c&b)&&0!=(c&e)?this.H[4]=1:0!=this.H[4]&&1!=this.i.Kb(this.i.Te(this.i.za(a)),this.vj)&&(a=this.i.Nd(this.i.Xf(a)),0!=(a&b)&&0!=(a&e)&&(this.H[4]=0))}};b.prototype.qF=function(a,b,e){if(1!=this.H[e]){var c=this.i.Ff(this.i.za(a));0==(this.i.Ff(a)&b)&&0==(c&b)&&(this.H[e]=1)}};b.prototype.xU=function(a,b){if(1!=this.H[0]){var c=this.i.Ff(this.i.za(a));0!=(this.i.Ff(a)&
- b)&&0!=(c&b)&&(this.H[0]=1)}};b.prototype.tU=function(a,b,e,d){if(0!=this.H[1]&&1!=this.i.Kb(this.i.Te(this.i.za(a)),this.vj)){var c=this.i.Xf(a),f=this.i.Nd(c);0==(f&b)&&0!=(this.i.Ff(a)&b)&&(a=this.i.Hg(c,d),0!=(f&e)&&0!=a%2&&(this.H[1]=0))}};b.prototype.uU=function(a,b){2!=this.H[2]&&0!=(this.i.Ah(a)&b)&&(this.H[2]=2)};b.prototype.IP=function(a,b,e,d){if(1!=this.H[3]){var c=this.i.Ah(a);0!=(c&b)&&0!=(c&e)?this.H[3]=1:0!=this.H[3]&&1!=this.i.Kb(this.i.Te(this.i.za(a)),this.vj)&&(c=this.i.Xf(a),
- a=this.i.Nd(c),0!=(a&b)&&(b=this.i.Hg(c,d),0!=(a&e)&&0==b%2&&(this.H[3]=0)))}};b.prototype.FP=function(a,b,e,d){if(0!=this.H[4]&&1!=this.i.Kb(this.i.Te(this.i.za(a)),this.vj)){var c=this.i.Xf(a);a=this.i.Nd(c);0!=(a&b)&&(b=this.i.Hg(c,d),0!=(a&e)&&0!=b%2&&(this.H[4]=0))}};b.prototype.GP=function(a,b,e){1!=this.H[5]&&(a=this.i.Ah(a),0!=(a&b)&&0==(a&e)&&(this.H[5]=1))};b.prototype.cS=function(a,b){if(1!=this.H[6]){var c=this.i.Ff(this.i.za(a));0==(this.i.Ff(a)&b)&&0==(c&b)&&(this.H[6]=1)}};b.prototype.bS=
- function(a,b,e,d){if(0!=this.H[7]&&1!=this.i.Kb(this.i.Te(this.i.za(a)),this.vj)){var c=this.i.Xf(a),f=this.i.Nd(c);0==(f&b)&&0==(this.i.Ff(a)&b)&&(a=this.i.Hg(c,d),0!=(f&e)&&0!=a%2&&(this.H[7]=0))}};b.prototype.AU=function(a,b,e,d,h){if(1!=this.H[0]){var c=this.i.Ah(a);0!=(c&b)&&0!=(c&e)?this.H[0]=1:0!=this.H[0]&&1!=this.i.Kb(this.i.Te(this.i.za(a)),this.vj)&&(a=this.i.Xf(a),c=this.i.Nd(a),0!=(c&b)&&0!=(c&e)&&(b=this.i.Hg(a,d),h=this.i.Hg(a,h),0==b%2&&0==h%2&&(this.H[0]=0)))}};b.prototype.GH=function(a,
- b,e,d,h,g){if(0!=this.H[g]&&1!=this.i.Kb(this.i.Te(this.i.za(a)),this.vj)){a=this.i.Xf(a);var c=this.i.Nd(a);0!=(c&b)&&0!=(c&e)&&(b=this.i.Hg(a,d),h=this.i.Hg(a,h),0==b%2&&0!=h%2&&(this.H[g]=0))}};b.prototype.HH=function(a,b,e,d){1!=this.H[d]&&(a=this.i.Ah(a),0!=(a&b)&&0==(a&e)&&(this.H[d]=1))};b.prototype.KP=function(a,b,e,d,h){if(0!=this.H[4]&&1!=this.i.Kb(this.i.Te(this.i.za(a)),this.vj)){a=this.i.Xf(a);var c=this.i.Nd(a);0!=(c&b)&&0!=(c&e)&&(b=this.i.Hg(a,d),h=this.i.Hg(a,h),0!=b%2&&0!=h%2&&(this.H[4]=
- 0))}};b.prototype.rF=function(a,b,e,d){0!=this.H[d]&&1!=this.i.Kb(this.i.Te(this.i.za(a)),this.vj)&&(a=this.i.Xf(a),0==(this.i.Nd(a)&b)&&0!=this.i.Hg(a,e)%2&&(this.H[d]=0))};b.prototype.yU=function(a,b){0!=this.H[0]&&0==(this.i.Nd(a)&b)&&0!=(this.i.Hk(this.i.Jz(a))&b)&&(this.H[0]=0)};b.prototype.vU=function(a,b){2!=this.H[2]&&0!=(this.i.Nd(a)&b)&&(this.H[2]=2)};b.prototype.JP=function(a,b,e){0!=this.H[3]&&(a=this.i.Nd(a),0!=(a&b)&&0!=(a&e)&&(this.H[3]=0))};b.prototype.HP=function(a,b){1!=this.H[5]&&
- 0!=(this.i.Nd(a)&b)&&(this.H[5]=1)};b.prototype.dS=function(a,b){0!=this.H[6]&&0==(this.i.Nd(a)&b)&&0==(this.i.Hk(this.i.Jz(a))&b)&&(this.H[6]=0)};b.prototype.BU=function(a,b,e,d){if(0!=this.H[0]){var c=this.i.Nd(a);0!=(c&b)&&0!=(c&e)&&0==this.i.Hg(a,d)%2&&(this.H[0]=0)}};b.prototype.zU=function(a,b){1!=this.H[2]&&(-1!=this.i.kf(a)?this.H[2]=1:0!=this.H[2]&&0==(this.i.Nd(a)&b)&&(this.H[2]=0))};b.prototype.MP=function(a,b,e,d){if(0!=this.H[3]){var c=this.i.Nd(a);0!=(c&b)&&0!=(c&e)&&0!=this.i.Hg(a,
- d)%2&&(this.H[3]=0)}};b.prototype.LP=function(a,b,e,d){if(0!=this.H[5]){var c=this.i.Nd(a);0!=(c&b)&&0==(c&e)&&0!=this.i.Hg(a,d)%2&&(this.H[5]=0)}};b.prototype.eS=function(a,b,e){0!=this.H[6]&&(a=this.i.Nd(a),0==(a&b)&&0!=(a&e)&&(this.H[6]=0))};b.prototype.CU=function(a,b,e){0!=this.H[0]&&(a=this.i.Nd(a),0!=(a&b)&&0!=(a&e)&&(this.H[0]=0))};b.prototype.IH=function(a,b,e,d){0!=this.H[d]&&(a=this.i.Nd(a),0!=(a&b)&&0==(a&e)&&(this.H[d]=0))};b.prototype.tq=function(a,b){var c=!1;a=this.i.Ha(a);b=this.i.Ha(b);
- this.vj=this.i.xh();for(var f=this.i.rf;-1!=f;f=this.i.og(f)){var h=this.i.kf(f);if(-1==h){if(-1!=this.Gn)switch(this.Gn){case 3:c=this.mF(f,a,b);break;case 4:c=this.dI(f,a,b);break;default:throw d.f.X("internal error");}}else{var g=h;do{var k=g;if(1!=this.i.Kb(k,this.vj)){do{switch(this.ix){case 0:c=this.yP(k,a,b);break;case 1:c=this.zP(k,a,b);break;case 2:c=this.mV(k,a,b);break;default:throw d.f.X("internal error");}if(c)break;this.i.Ob(k,this.vj,1);k=this.i.qc(k)}while(k!=g&&!c)}if(c)break;g=this.i.qc(this.i.za(k))}while(g!=
- h);if(c)break}}c||this.KK();this.i.ni(this.vj)};b.prototype.kz=function(a,b){var c=!1;a=this.i.Ha(a);b=this.i.Ha(b);for(var f=this.i.rf;-1!=f;f=this.i.og(f)){switch(this.Gn){case 3:c=this.mF(f,a,b);break;case 4:c=this.dI(f,a,b);break;case 5:c=this.EW(f,a,b);break;default:throw d.f.ya();}if(c)break}c||this.KK()};b.prototype.Xr=function(a,b){this.i.Vr(a,b)};b.prototype.Fp=function(a,b,e){this.UR(a,b,e);this.Xr(a,e)};b.prototype.UR=function(a,b,e){d.rk.V(a,b,e,!1);a.zq(0,!0,!0);for(b=a.rd;-1!=b;b=a.Ue(b))1736==
- a.hc(b)&&d.lo.V(a,b,-1,!1,e)};b.aG=function(a,b){var c=a.G();if(d.T.Oc(c))return c=new d.Ua(a.description),c.dc(a,!0),c;if(197==c){c=new d.h;a.s(c);if(c.fa()<=b&&c.N()<=b)return c=new d.Wa(a.description),a.Wf(c),c;if(c.fa()<=b||c.N()<=b)return c=new d.Ua(a.description),b=new d.Wa,a.ig(0,b),c.Rf(b),a.ig(2,b),c.lineTo(b),c;c=new d.Ia(a.description);c.jd(a,!1);return c}return a};return b}();d.Om=m})(n||(n={}));(function(d){var m=function(){function a(a){this.tn=new d.ia(0);this.Qw=new d.ia(0);this.lu=
- new d.b;this.mu=new d.b;this.a=a;this.Ct=-1}a.prototype.ic=function(a){return this.a.ic(this.iA(a))};a.prototype.nw=function(a){var b=this.Qz(a);a=this.RG(a);if(this.a.Ra(b)==a){var c=b,b=a;a=c}this.a.Nc(b,this.lu);this.a.Nc(a,this.mu);return this.lu.y<this.mu.y};a.prototype.iA=function(a){var b=this.Qz(a);a=this.RG(a);return this.a.U(b)==a?b:a};a.prototype.Qz=function(a){return this.tn.get(a)};a.prototype.RG=function(a){return this.Qw.get(a)};a.prototype.BG=function(a){this.tn.set(a,this.Ct);this.Ct=
- a};a.prototype.vJ=function(a){if(-1!=this.Ct){var b=this.Ct;this.Ct=this.tn.get(b);this.tn.set(b,a);this.Qw.set(b,this.a.U(a));return b}null==this.tn&&(this.tn=new d.ia(0),this.Qw=new d.ia(0));b=this.tn.size;this.tn.add(a);this.Qw.add(this.a.U(a));return b};a.prototype.bA=function(a){return this.a.ld(this.Qz(a))};return a}();d.KZ=m;var g=function(){function a(a){this.bf=a;this.Fe=new d.Hb;this.Bn=new d.Hb;this.RI=0;this.op=null;this.dB=-1}a.prototype.compare=function(a,b,d){d=a.ja(d);var c=this.bf.ib,
- e;this.dB==b?e=this.RI:(this.op=c.ic(b),null==this.op?(a=c.a,a.pd(c.iA(b),this.Fe),this.op=this.Fe,e=this.Fe.pf(this.bf.Wh,0)):e=this.op.pf(this.bf.Wh,0),this.RI=e,this.dB=b);a=c.ic(d);var f;null==a?(a=c.a,a.pd(c.iA(d),this.Bn),a=this.Bn,f=this.Bn.pf(this.bf.Wh,0)):f=a.pf(this.bf.Wh,0);e==f&&(b=c.nw(b),d=c.nw(d),d=Math.min(b?this.op.oa:this.op.ra,d?a.oa:a.ra),b=.5*(d+this.bf.Wh),b==this.bf.Wh&&(b=d),e=this.op.pf(b,0),f=a.pf(b,0));return e<f?-1:e>f?1:0};a.prototype.reset=function(){this.dB=-1};return a}(),
- b=function(){function a(){this.Ln=this.jm=null;this.hb=new d.tk;this.hb.NR();this.we=new g(this);this.hb.Ep(this.we)}a.prototype.xS=function(){var a=!1;this.Uw&&(a=this.yS());if(1==this.a.aa(this.Y)){var b=this.a.Pb(this.Y),a=this.a.fA(b);this.a.nC(b,!0);return 0>a?(a=this.a.cb(b),this.a.eK(a),this.a.sh(b,this.a.Ra(a)),!0):!1}this.hm=this.a.qz();this.kp=this.a.qz();for(b=this.a.Pb(this.Y);-1!=b;b=this.a.Sb(b))this.a.Zr(b,this.hm,0),this.a.Zr(b,this.kp,-1);b=new d.ia(0);this.Wh=NaN;var f=new d.b;this.Wt=
- this.a.aa(this.Y);this.fp=this.a.Vd();this.Lt=this.a.Vd();for(var h=this.jm.xc(this.jm.Ge);-1!=h;h=this.jm.nb(h)){var g=this.jm.getData(h);this.a.Nc(g,f);f.y!=this.Wh&&0!=b.size&&(a=this.iu(b)||a,this.we.reset(),b.clear(!1));b.add(g);this.Wh=f.y;if(0==this.Wt)break}0<this.Wt&&(a=this.iu(b)||a,b.clear(!1));this.a.ke(this.fp);this.a.ke(this.Lt);for(b=this.a.Pb(this.Y);-1!=b;)if(3==this.a.Tj(b,this.hm)){this.a.nC(b,!0);f=b;for(b=this.a.Tj(b,this.kp);-1!=b;)h=this.a.Tj(b,this.kp),this.a.WV(this.Y,this.a.Sb(f),
- b),f=b,b=h;b=this.a.Sb(f)}else this.a.nC(b,!1),b=this.a.Sb(b);this.a.aC(this.hm);this.a.aC(this.kp);return a};a.prototype.iu=function(a){return this.RW(a)};a.prototype.RW=function(a){var b=!1;null==this.ib&&(this.ib=new m(this.a));null==this.Ln?(this.Ln=new d.ia(0),this.Ln.yb(16)):this.Ln.clear(!1);this.QW(a);for(var c=0,h=a.size;c<h;c++){var g=a.get(c);-1!=g&&this.BH(g,-1)}for(c=0;c<this.Ln.size&&0<this.Wt;c++)if(a=this.Ln.get(c),g=this.ib.bA(this.hb.ja(a)),h=-1,0==this.a.Tj(g,this.hm)){for(var g=
- this.hb.Ve(a),k=a,r;-1!=g;){var n=this.hb.ja(g),p=this.ib.bA(n),q=this.a.Tj(p,this.hm);if(0!=q){h=p;break}k=g;g=this.hb.Ve(g)}-1==g?(r=!0,g=k):(n=this.hb.ja(g),r=this.ib.nw(n),g=this.hb.nb(g),r=!r);do{n=this.hb.ja(g);p=this.ib.bA(n);q=this.a.Tj(p,this.hm);if(0==q&&(r!=this.ib.nw(n)&&(b=this.a.cb(p),this.a.eK(b),this.a.sh(p,this.a.Ra(b)),b=!0),this.a.Zr(p,this.hm,r?3:2),r||(k=this.a.Tj(h,this.kp),this.a.Zr(h,this.kp,p),this.a.Zr(p,this.kp,k)),this.Wt--,0==this.Wt))return b;h=p;k=g;g=this.hb.nb(g);
- r=!r}while(k!=a)}return b};a.prototype.QW=function(a){for(var b=0,c=a.size;b<c;b++){var d=a.get(b),g=this.a.Sa(d,this.fp),k=this.a.Sa(d,this.Lt);if(-1!=g){var m=this.hb.ja(g);this.ib.BG(m);this.a.Va(d,this.fp,-1)}-1!=k&&(m=this.hb.ja(k),this.ib.BG(m),this.a.Va(d,this.Lt,-1));m=-1;-1!=g&&-1!=k?(this.hb.Ld(g,-1),this.hb.Ld(k,-1),a.set(b,-1)):m=-1!=g?g:k;-1!=m&&(this.BH(d,m)||this.hb.Ld(m,-1),a.set(b,-1))}};a.prototype.BH=function(a,b){var c=new d.b,e=new d.b;this.a.Nc(a,c);var g=this.a.U(a);this.a.Nc(g,
- e);var k=!1;if(c.y<e.y){var k=!0,m=this.ib.vJ(a),n;-1==b?n=this.hb.addElement(m,-1):(n=b,this.hb.jk(n,m));m=this.a.Sa(g,this.fp);-1==m?this.a.Va(g,this.fp,n):this.a.Va(g,this.Lt,n);g=this.a.ld(a);0==this.a.Tj(g,this.hm)&&this.Ln.add(n)}g=this.a.Ra(a);this.a.Nc(g,e);c.y<e.y&&(k=!0,m=this.ib.vJ(g),-1==b?n=this.hb.addElement(m,-1):(n=b,this.hb.jk(n,m)),m=this.a.Sa(g,this.fp),-1==m?this.a.Va(g,this.fp,n):this.a.Va(g,this.Lt,n),g=this.a.ld(a),0==this.a.Tj(g,this.hm)&&this.Ln.add(n));return k};a.V=function(b,
- e,d,h){var c=new a;c.a=b;c.Y=e;c.jm=d;c.Uw=h;return c.xS()};a.prototype.yS=function(){var a=new d.ia(0),b=new d.ia(0),f=-1,h=-1,g=new d.b;g.$c();for(var k=-1,m=-1,n=-1,p=new d.b,q=this.jm.xc(this.jm.Ge);-1!=q;q=this.jm.nb(q)){var u=this.jm.getData(q);this.a.Nc(u,p);var v=this.a.ld(u);g.ub(p)&&m==v?(-1==h&&(f=this.a.qz(),h=this.a.Vd()),-1==n&&(n=b.size,this.a.Va(k,h,n),b.add(1),-1==this.a.Tj(v,f)&&(this.a.Zr(v,f,k),a.add(v))),this.a.Va(u,h,n),b.BK(b.Fc()+1)):(n=-1,g.L(p));k=u;m=v}if(0==a.size)return!1;
- g=new d.ia(0);k=new d.ia(0);m=0;for(n=a.size;m<n;m++){var v=a.get(m),x=this.a.Tj(v,f),u=this.a.Sa(x,h);g.clear(!1);k.clear(!1);g.add(x);k.add(u);for(u=this.a.U(x);u!=x;u=this.a.U(u)){var w=u,p=this.a.Sa(w,h);if(-1!=p)if(0==k.size)k.add(p),g.add(w);else if(k.Fc()==p){var q=g.Fc(),y=this.a.U(q),x=this.a.U(w);this.a.Kc(q,x);this.a.Lc(x,q);this.a.Kc(w,y);this.a.Lc(y,w);w=[!1];y=this.a.AH(this.Y,y,this.a.cb(v),w);this.a.Va(u,h,-1);w[0]&&this.a.jg(v,x);u=this.a.Ka(v);x=this.a.Ka(y);u-=x;this.a.mk(v,u);
- b.set(p,b.get(p)-1);1==b.get(p)&&(b.set(p,0),k.Pf(),g.Pf());u=x=q}else g.add(u),k.add(p)}}this.a.aC(f);this.a.ke(h);return!0};return a}();d.RN=b})(n||(n={}));(function(d){var m=function(){function g(){}g.prototype.Cg=function(){this.tB=this.wb=null};g.prototype.get=function(){return this.tB};g.prototype.set=function(b){this.tB=b;if(null!=b)throw 322==b.G()&&(this.wb=b),d.f.ya();};g.prototype.create=function(b){if(322==b)this.Is();else throw d.f.X("Not Implemented");};g.prototype.Is=function(){null==
- this.wb&&(this.wb=new d.Hb);this.tB=this.wb};return g}();d.Cg=m})(n||(n={}));(function(d){d=d.WN||(d.WN={});d[d.enumLineSeg=1]="enumLineSeg";d[d.enumBezierSeg=2]="enumBezierSeg";d[d.enumArcSeg=4]="enumArcSeg";d[d.enumNonlinearSegmentMask=6]="enumNonlinearSegmentMask";d[d.enumSegmentMask=7]="enumSegmentMask";d[d.enumDensified=8]="enumDensified"})(n||(n={}));(function(d){var m=function(){return function(b){this.zj=b;this.RC=this.SC=1;this.SB=this.RB=this.TB=0}}(),g=function(){function b(){this.ur=[0,
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0];this.dl=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];this.cg=new d.Wa;this.ta=this.rx=0;this.$o=[];this.Tt=[];this.lx=[];this.xr=[];this.qB=[]}b.prototype.VB=function(a){if(null!=a){for(var b=0,e=a.length;b<e;b++)this.pX(a[b]);a.length=0}};b.prototype.pX=function(a){a.zj=null;this.xr.push(a)};b.prototype.zx=function(a){if(0===this.xr.length)var b=new m(a);else b=this.xr[this.xr.length-1],b.zj=a,--this.xr.length;return b};b.prototype.KT=function(a,b){return 0==a?this.Tt[b]:this.lx[b]};
- b.prototype.FB=function(){this.rx>=this.qB.length&&this.qB.push(new d.Cg);var a=this.qB[this.rx];this.rx++;return a};b.prototype.clear=function(){this.VB(this.$o);this.VB(this.Tt);this.VB(this.lx);this.rx=0};b.prototype.Ap=function(a){this.$o.push(this.zx(a))};b.prototype.Rl=function(a){return 0==a?this.Tt.length:this.lx.length};b.prototype.Mq=function(a,b){return this.KT(a,b).zj};b.prototype.Ma=function(a,b){if(2!=this.$o.length)throw d.f.ya();this.ta=a;var c=d.Ub.Xx(.01*a),f=!1,h=this.$o[0],g=this.$o[1];
- if(b||0!=(h.zj.xs(g.zj,a,!0)&5)){if(322==h.zj.G()&&(b=h.zj,322==g.zj.G())){var k=g.zj,m=d.Hb.Fy(b,k,null,this.ur,this.dl,a);if(0==m)throw d.Hb.Fy(b,k,null,this.ur,this.dl,a),d.f.ya();a=Array(9);d.J.Mv(a,null);for(var n=0;n<m;n++){var p=this.ur[n],q=this.dl[n],u=h.SB,v=1;0==p?(u=h.TB,v=h.SC):1==p&&(u=h.RB,v=h.RC);var x=g.SB,w=1;0==q?(x=g.TB,w=g.SC):1==q&&(x=g.RB,w=g.RC);var y=new d.b;u==x?(u=new d.b,b.gc(p,u),p=new d.b,k.gc(q,p),q=v+w,w/=q,d.Ub.bI(u,p,w,y),d.b.sc(y,u)+d.b.sc(y,p)>c&&(f=!0)):u>x?(b.gc(p,
- y),p=new d.b,k.gc(q,p),d.b.sc(y,p)>c&&(f=!0)):(k.gc(q,y),u=new d.b,b.gc(p,u),d.b.sc(y,u)>c&&(f=!0));a[n]=y}h=0;g=-1;for(n=0;n<=m;n++)w=n<m?this.ur[n]:1,w!=h&&(c=this.FB(),b.yh(h,w,c),-1!=g&&c.get().Mc(a[g]),n!=m&&c.get().Zc(a[n]),h=w,this.Tt.push(this.zx(c.get()))),g=n;b=[0,0,0,0,0,0,0,0,0];for(n=0;n<m;n++)b[n]=n;1<m&&this.dl[0]>this.dl[1]&&(w=this.dl[0],this.dl[0]=this.dl[1],this.dl[1]=w,n=b[0],b[0]=b[1],b[1]=n);h=0;g=-1;for(n=0;n<=m;n++)w=n<m?this.dl[n]:1,w!=h&&(c=this.FB(),k.yh(h,w,c),-1!=g&&(h=
- b[g],c.get().Mc(a[h])),n!=m&&(h=b[n],c.get().Zc(a[h])),h=w,this.lx.push(this.zx(c.get()))),g=n;return f}throw d.f.ya();}return!1};b.prototype.rA=function(a,b,e){b.copyTo(this.cg);if(1!=this.$o.length)throw d.f.ya();this.ta=a;var c=this.$o[0];if(e||c.zj.$u(b.w(),a,!0))if(322==c.zj.G()){a=c.zj;var h=a.oe(b.w(),!1);this.ur[0]=h;var g=c.SB;e=1;0==h?(g=c.TB,e=c.SC):1==h&&(g=c.RB,e=c.RC);c=new d.b;0==g?(g=new d.b,a.gc(h,g),b=b.w(),d.Ub.bI(g,b,1/(e+1),c)):0<g?(c=new d.b,a.gc(h,c)):c=b.w();e=0;h=-1;for(g=
- 0;1>=g;g++){b=1>g?this.ur[g]:1;if(b!=e){var k=this.FB();a.yh(e,b,k);-1!=h&&k.get().Mc(c);1!=g&&k.get().Zc(c);e=b;this.Tt.push(this.zx(k.get()))}h=g}this.cg.rb(c)}else throw d.f.ya();};return b}();d.cE=g})(n||(n={}));(function(d){var m=function(){function g(b){this.yt=this.Tk=this.wb=null;this.gm=this.vf=this.cd=this.Ze=this.Oh=this.Ta=0;this.bb=null;this.Sl=this.nn=!1;this.Ze=-1;this.Oh=this.cd=0;this.Ta=-1;this.bb=b;this.vf=this.vs(this.Oh);this.nn=!1;this.Tk=null;this.gm=-1;this.Sl=!1;this.yt=new d.b}
- g.$p=function(b,a){if(0>a||a>=b.D())throw d.f.vd();var c=new g(b),e=b.bw(a);c.cd=a-b.wa(e);c.Oh=e+1;c.Ta=e;c.vf=c.vs(c.Ta);c.gm=c.bb.wa(c.Ta);c.Sl=c.bb.Qb(c.Ta);return c};g.Zp=function(b,a,c){if(0>a||a>=b.aa()||0>c)throw d.f.vd();var e=b.Qb(a)?0:1;if(c>=b.Ka(a)-e)throw d.f.vd();b=new g(b);b.Ze=-1;b.cd=c;b.Ta=a;b.Oh=b.cd+1;b.vf=b.vs(b.Oh);b.gm=b.bb.wa(b.Ta);b.Sl=b.bb.Qb(b.Ta);return b};g.prototype.xX=function(b){if(this.bb!=b.bb)throw d.f.La();this.Ze=b.Ze;this.cd=b.cd;this.Ta=b.Ta;this.Oh=b.Oh;this.vf=
- b.vf;this.nn=b.nn;this.gm=b.gm;this.Tk=null;this.Sl=b.Sl};g.prototype.ba=function(){this.Ze!=this.cd&&this.PE();if(this.nn)this.cd=(this.cd+1)%this.vf;else{if(this.cd==this.vf)throw d.f.vd();this.cd++}return this.Tk};g.prototype.Li=function(){if(this.nn)this.cd=(this.vf+this.cd-1)%this.vf;else{if(0==this.cd)throw d.f.vd();this.cd--}this.cd!=this.Ze&&this.PE();return this.Tk};g.prototype.yX=function(){this.Ze=-1;this.cd=0};g.prototype.zX=function(){this.cd=this.vf;this.Ze=-1};g.prototype.Tb=function(b,
- a){void 0===a&&(a=-1);if(0<=this.Ta&&this.Ta<this.bb.aa()){var c=this.NO();if(b>=c&&b<this.bb.Gc(this.Ta)){this.Ze=-1;this.cd=b-c;return}}c=0<=a&&a<this.bb.aa()&&b>=this.bb.wa(a)&&b<this.bb.Gc(a)?a:this.bb.bw(b);this.Oh=c+1;this.Ta=c;this.Ze=-1;this.cd=b-this.bb.wa(c);this.vf=this.vs(c);this.gm=this.bb.wa(this.Ta);this.Sl=this.bb.Qb(this.Ta)};g.prototype.Ya=function(){this.Ta=this.Oh;if(this.Ta>=this.bb.aa())return!1;this.Ze=-1;this.cd=0;this.vf=this.vs(this.Ta);this.gm=this.bb.wa(this.Ta);this.Sl=
- this.bb.Qb(this.Ta);this.Oh++;return!0};g.prototype.yj=function(){this.vf=this.cd=this.Ze=-1;this.Oh=0;this.Ta=-1;this.Sl=!1;this.gm=-1};g.prototype.dC=function(b){if(0>b)throw d.f.vd();this.Oh=b;this.gm=this.vf=this.cd=this.Ze=this.Ta=-1;this.Sl=!1};g.prototype.vs=function(b){if(this.bb.Hc())return 0;var a=1;this.bb.Qb(b)&&(a=0);return this.bb.Ka(b)-a};g.prototype.Fo=function(){return this.Ze==this.vf-1&&this.bb.Qb(this.Ta)};g.prototype.iC=function(){this.nn=!0};g.prototype.Db=function(){return this.bb.kb.g[this.Ta]+
- this.Ze};g.prototype.NO=function(){return this.bb.wa(this.Ta)};g.prototype.Ik=function(){return this.Fo()?this.bb.wa(this.Ta):this.Db()+1};g.prototype.kn=function(){return 0==this.Ze};g.prototype.Io=function(){return this.Ze==this.vf-1};g.prototype.Ca=function(){return this.cd<this.vf};g.prototype.nA=function(){return 0<this.cd};g.prototype.Vf=function(){var b=new g(this.bb);b.Ze=this.Ze;b.cd=this.cd;b.vf=this.vf;b.Ta=this.Ta;b.Oh=this.Oh;b.bb=this.bb;b.nn=this.nn;return b};g.prototype.PE=function(){if(0>
- this.cd||this.cd>=this.vf)throw d.f.vd();this.Ze=this.cd;var b=this.Db();this.bb.tc();var a=this.bb.cf,c=1;null!=a&&(c=a.read(b)&7);a=this.bb.description;switch(c){case 1:null==this.wb&&(this.wb=new d.Hb);this.Tk=this.wb;break;case 2:throw d.f.X("internal error");case 4:throw d.f.ya();default:throw d.f.ya();}this.Tk.Fg(a);c=this.Ik();this.bb.Nc(b,this.yt);this.Tk.Mc(this.yt);this.bb.Nc(c,this.yt);this.Tk.Zc(this.yt);for(var e=1,f=a.Ea;e<f;e++)for(var h=a.zd(e),g=d.na.Xa(h),k=0;k<g;k++){var m=this.bb.Yc(h,
- b,k);this.Tk.Sx(h,k,m);m=this.bb.Yc(h,c,k);this.Tk.Kx(h,k,m)}};g.prototype.SU=function(){return this.Ta==this.bb.aa()-1};g.prototype.Go=function(){var b=this.bb.NT();return null!=b?1!=(b.read(this.Ze)&7):!1};return g}();d.XN=m})(n||(n={}));(function(d){var m=function(){function g(b){b instanceof d.T?(this.II=b,this.Ba=-1,this.dj=1):(this.uV=b.slice(0),this.Ba=-1,this.dj=b.length)}g.prototype.Ha=function(){return this.Ba};g.prototype.next=function(){return this.Ba<this.dj-1?(this.Ba++,null!=this.II?
- this.II:this.uV[this.Ba]):null};g.prototype.Re=function(){return!0};return g}();d.hd=m})(n||(n={}));(function(d){var m=function(){return function(){this.next=null}}(),g=function(){function b(){this.Lr=this.vx=this.wx=this.Pk=this.ai=0;this.tG=!1;this.WK=0;this.Yn=this.kg=this.Fm=this.hi=null;this.tm=0;this.$y=null;this.Pk=this.ai=-1}b.prototype.uY=function(a,b,e){this.ai=a;this.Pk=b;this.hi=this.Fm=null;this.Lr=0;this.$y=e;null==this.Yn&&(this.Yn=d.J.gf(384,0));this.ZK()};b.prototype.N=function(){return this.ai};
- b.prototype.fa=function(){return this.Pk};b.prototype.flush=function(){0<this.tm&&(this.$y.oG(this.Yn,this.tm),this.tm=0)};b.prototype.ZK=function(){if(0<this.Lr){for(var a=0;a<this.Pk;a++){for(var b=this.Fm[a];null!=b;){var e=b,b=b.next;e.next=null}this.Fm[a]=null}this.hi=null}this.wx=this.Pk;this.vx=-1;this.Lr=0};b.prototype.XJ=function(a){this.tG=a==b.oy;for(a=this.wx;a<=this.vx;a++)this.rP(),this.iP(a),this.XR();this.ZK()};b.prototype.Py=function(a,b,e,f){if(b!=f){var c=1;b>f&&(c=a,a=e,e=c,c=
- b,b=f,f=c,c=-1);if(!(0>f||b>=this.Pk)){0>a&&0>e?e=a=-1:a>=this.ai&&e>=this.ai&&(e=a=this.ai);var g=(e-a)/(f-b);f>this.Pk&&(f=this.Pk,e=g*(f-b)+a);0>b&&(a=g*(0-b)+a,b=0);var k=Math.max(this.ai+1,8388607);-8388607>a?(b=(0-a)/g+b,a=0):a>k&&(b=(this.ai-a)/g+b,a=this.ai);-8388607>e?f=(0-a)/g+b:e>k&&(f=(this.ai-a)/g+b);b=d.J.truncate(b);f=d.J.truncate(f);b!=f&&(e=new m,e.x=d.J.truncate(4294967296*a),e.y=b,e.B=f,e.RR=d.J.truncate(4294967296*g),e.dir=c,null==this.Fm&&(this.Fm=d.J.gf(this.Pk,null)),e.next=
- this.Fm[e.y],this.Fm[e.y]=e,e.y<this.wx&&(this.wx=e.y),e.B>this.vx&&(this.vx=e.B),this.Lr++)}}};b.prototype.rP=function(){if(null!=this.hi){for(var a=!1,b=null,e=this.hi;null!=e;)if(e.y++,e.y==e.B){var d=e,e=e.next;null!=b?b.next=e:this.hi=e;d.next=null}else e.x+=e.RR,null!=b&&b.x>e.x&&(a=!0),b=e,e=e.next;a&&(this.hi=this.VK(this.hi))}};b.prototype.iP=function(a){if(!(a>=this.Pk)){var b=this.Fm[a];if(null!=b){this.Fm[a]=null;b=this.VK(b);this.Lr-=this.WK;a=this.hi;for(var e=!0,d=b,h=null;null!=a&&
- null!=d;)a.x>d.x?(e&&(this.hi=d),e=d.next,d.next=a,null!=h&&(h.next=d),h=d,d=e):(e=a.next,a.next=d,null!=h&&(h.next=a),h=a,a=e),e=!1;null==this.hi&&(this.hi=b)}}};b.vG=function(a,b){return 0>a?0:a>b?b:a};b.prototype.XR=function(){if(null!=this.hi)for(var a=0,c=this.hi,e=d.J.truncate(d.J.fI(c.x)),f=c.next;null!=f;f=f.next)if(a=this.tG?a^1:a+f.dir,f.x>c.x){var h=d.J.truncate(d.J.fI(f.x));0!=a&&(c=b.vG(e,this.ai),e=b.vG(h,this.ai),e>c&&c<this.ai&&(this.Yn[this.tm++]=c,this.Yn[this.tm++]=e,this.Yn[this.tm++]=
- f.y,this.tm==this.Yn.length&&(this.$y.oG(this.Yn,this.tm),this.tm=0)));c=f;e=h}};b.prototype.VK=function(a){for(var c=0,e=a;null!=e;e=e.next)c++;this.WK=c;if(1==c)return a;null==this.kg?this.kg=d.J.gf(Math.max(c,16),null):this.kg.length<c&&(this.kg=d.J.gf(Math.max(c,2*this.kg.length),null));for(var f=0,e=a;null!=e;e=e.next)this.kg[f++]=e;2==c?this.kg[0].x>this.kg[1].x&&(a=this.kg[0],this.kg[0]=this.kg[1],this.kg[1]=a):b.TM(this.kg,c,function(a,b){return a==b?0:a.x<b.x?-1:a.x>b.x?1:0});a=this.kg[0];
- this.kg[0]=null;e=a;for(f=1;f<c;f++)e.next=this.kg[f],e=this.kg[f],this.kg[f]=null;e.next=null;return a};b.TM=function(a,b,e){if(b==a.length)a.sort(e);else{var c=a.slice(0,0),d=a.slice(b);b=a.slice(0,b).sort(e);a.length=0;a.push.apply(a,c.concat(b).concat(d))}};b.oy=0;b.K_=1;return b}();d.yy=g})(n||(n={}));(function(d){var m=function(){function g(){}g.prototype.Ri=function(b,a){var c=this.a.Sa(b,this.Fr);this.fm==c&&(this.fm=this.Me.nb(this.fm));this.Vo==c&&(this.Vo=this.Me.nb(this.Vo));this.Me.kd(this.vB,
- c);this.yk(b);if(a&&(c=this.a.ld(b),-1!=c&&this.a.cb(c)==b)){a=this.a.U(b);if(a!=b){var e=this.a.ld(a);if(e==c){this.a.jg(c,a);return}a=this.a.Ra(b);if(a!=b&&(e=this.a.ld(a),e==c)){this.a.jg(c,a);return}}this.a.jg(c,-1);this.a.sh(c,-1)}};g.prototype.FE=function(){for(var b=!1,a=0,c=new d.b;;){a++;null==this.vi?(this.vi=new d.ia(0),this.ut=new d.ia(0),this.Xe=new d.ia(0)):(this.vi.clear(!1),this.ut.clear(!1),this.Xe.clear(!1));for(var e=this.Vo,f=0,h=!0;e!=this.fm;){var g=this.Me.getData(e),k=new d.b;
- this.a.Nc(g,k);h&&(this.a.Nc(g,c),h=!1);var k=this.a.Ra(g),m=this.a.U(g);-559038737!=this.a.Sa(k,this.Ug)&&(this.vi.add(k),this.a.Va(k,this.Ug,-559038737),this.ut.add(g),this.Xe.add(f++));-559038737!=this.a.Sa(m,this.Ug)&&(this.vi.add(m),this.a.Va(m,this.Ug,-559038737),this.ut.add(g),this.Xe.add(f++));e=this.Me.nb(e)}if(2>this.vi.size)break;var n=this;this.Xe.Gd(0,this.Xe.size,function(a,b){return n.FO(a,b)});e=0;for(f=this.Xe.size;e<f;e++)h=this.Xe.get(e),h=this.vi.get(h),this.a.Va(h,this.Ug,e),
- k=new d.b,this.a.Nc(h,k);k=this.RO(c);e=0;for(f=this.Xe.size;e<f;e++)h=this.Xe.get(e),-1!=h&&(h=this.vi.get(h),this.a.Va(h,this.Ug,-1));if(k)b=!0;else break}return b};g.prototype.RO=function(b){for(var a=!1,c=!0;c;){var c=!1,e=0;-1==this.Xe.get(e)&&(e=this.Qm(e));for(var d=this.Qm(e),h=0,g=this.Xe.size;h<g&&-1!=e&&-1!=d&&e!=d;h++){var k=this.Xe.get(e),d=this.Xe.get(d),k=this.vi.get(k),d=this.vi.get(d),m=this.a.U(k);this.a.pw(m,b)||(m=this.a.Ra(k));var n=this.a.U(d);this.a.pw(n,b)||(n=this.a.Ra(d));
- var p=this.Yu(m,k),q=this.Yu(n,d),u=p?this.a.Ra(m):this.a.U(m),v=q?this.a.Ra(n):this.a.U(n),x=!1;this.mq(m)?x=!0:this.mq(n)?x=!0:this.mq(k)?x=!0:this.mq(d)?x=!0:this.mq(u)?x=!0:this.mq(v)&&(x=!0);!x&&this.a.Tq(k,d)&&(x=!0,this.IE(p,q,m,k,n,d));!x&&this.a.Tq(u,v)&&(x=!0,this.IE(!p,!q,m,u,n,v));x&&(a=!0);c=c||x;e=this.Qm(e);d=this.Qm(e)}}if(!a)for(e=0,-1==this.Xe.get(e)&&(e=this.Qm(e)),d=this.Qm(e),h=0,g=this.Xe.size;h<g&&-1!=e&&-1!=d&&e!=d;h++)k=this.Xe.get(e),d=this.Xe.get(d),k=this.vi.get(k),d=this.vi.get(d),
- m=this.a.U(k),this.a.pw(m,b)||(m=this.a.Ra(k)),n=this.a.U(d),this.a.pw(n,b)||(n=this.a.Ra(d)),p=this.Yu(m,k),q=this.Yu(n,d),u=p?this.a.Ra(m):this.a.U(m),v=q?this.a.Ra(n):this.a.U(n),this.JO(p,q,k,m,u,d,n,v)&&(a=!0),e=this.Qm(e),d=this.Qm(e);return a};g.prototype.UO=function(){1736==this.a.hc(this.Y)&&1==this.a.xo(this.Y)&&(new d.Dg).xW(this.Uw,this.a,this.Y,this.je);var b=!1,a=!0;this.Ug=this.Fr=-1;var c=this.a.D(this.Y),e=new d.ia(0);e.yb(c);for(var f=this.a.Pb(this.Y);-1!=f;f=this.a.Sb(f))for(var h=
- this.a.cb(f),g=0,k=this.a.Ka(f);g<k;g++)e.add(h),h=this.a.U(h);var m=this.a.Dd.g,n=this.a.Dd.ed;this.a.xb.tc();var p=this.a.xb.xa[0].g;e.Gd(0,c,function(a,b){var c=m[n*a],e=m[n*b],d=p[2*c],c=p[2*c+1],f=p[2*e],e=p[2*e+1],d=c<e?-1:c>e?1:d<f?-1:d>f?1:0;0==d&&(d=m[n*a+3],e=m[n*b+3],d=d<e?-1:d==e?0:1);return d});this.Fr=this.a.Vd();this.Me=new d.Xp;this.vB=this.Me.mi(0);this.Me.Wn(c);for(f=0;f<c;f++)h=e.get(f),g=this.Me.addElement(this.vB,h),this.a.Va(h,this.Fr,g);this.Ug=this.a.Vd();this.fm=-1;for(this.vE()&&
- (b=!0);a;){a=!1;c=0;e=!1;do{e=!1;this.Vo=-1;for(var k=0,f=new d.b,g=new d.b,q=this.Me.xc(this.vB);-1!=q;)h=this.Me.getData(q),-1!=this.Vo?(this.a.Nc(h,g),f.ub(g))?k++:(f.L(g),this.fm=q,0<k&&(h=this.FE())&&(e=!0,-1!=this.fm&&(h=this.Me.getData(this.fm),this.a.Nc(h,f))),this.Vo=q=this.fm,k=0):(this.Vo=q,this.a.Nc(this.Me.getData(q),f),k=0),-1!=q&&(q=this.Me.nb(q));this.fm=-1;0<k&&(h=this.FE())&&(e=!0);if(10<c++)throw d.f.ya();e&&this.MO();this.vE()&&(e=!0);a=a||e&&!1;b=b||e}while(e)}this.a.ke(this.Fr);
- this.a.ke(this.Ug);return b=d.RN.V(this.a,this.Y,this.Me,this.Uw)||b};g.prototype.Yu=function(b,a){return this.a.U(a)==b?!1:!0};g.prototype.JO=function(b,a,c,e,d,h,g,k){if(e==g)return this.yk(c),this.yk(h),!1;var f=this.a.Sa(c,this.Ug),l=this.a.Sa(d,this.Ug),m=this.a.Sa(h,this.Ug),n=this.a.Sa(k,this.Ug);c=[0,0,0,0,0,0,0,0];var u=[0,0,0,0];c[0]=0;u[0]=f;c[1]=0;u[1]=l;c[2]=1;u[2]=m;c[3]=1;u[3]=n;for(f=1;4>f;f++){l=u[f];m=c[f];for(n=f-1;0<=n&&u[n]>l;)u[n+1]=u[n],c[n+1]=c[n],n--;u[n+1]=l;c[n+1]=m}u=0;
- 0!=c[0]&&(u|=1);0!=c[1]&&(u|=2);0!=c[2]&&(u|=4);0!=c[3]&&(u|=8);if(5!=u&&10!=u)return!1;b==a?b?(this.a.Kc(k,e),this.a.Lc(e,k),this.a.Kc(d,g),this.a.Lc(g,d)):(this.a.Lc(k,e),this.a.Kc(e,k),this.a.Lc(d,g),this.a.Kc(g,d)):b?(this.a.Lc(e,h),this.a.Kc(h,e),this.a.Lc(g,d),this.a.Kc(d,g)):(this.a.Kc(e,h),this.a.Lc(h,e),this.a.Kc(g,d),this.a.Lc(d,g));return!0};g.prototype.IE=function(b,a,c,e,d,h){this.B_?this.TO():this.SO(b,a,c,e,d,h)};g.prototype.TO=function(){throw d.f.X("not implemented.");};g.prototype.SO=
- function(b,a,c,e,d,h){if(b!=a)b?(this.a.Kc(c,d),this.a.Lc(d,c),this.a.Kc(h,e),this.a.Lc(e,h),this.po(d,c),this.Ri(d,!0),this.a.Mi(d,!0),this.yk(c),this.po(h,e),this.Ri(h,!0),this.a.Mi(h,!1)):(this.a.Kc(d,c),this.a.Lc(c,d),this.a.Kc(e,h),this.a.Lc(h,e),this.po(d,c),this.Ri(d,!0),this.a.Mi(d,!1),this.yk(c),this.po(h,e),this.Ri(h,!0),this.a.Mi(h,!0)),this.yk(e);else{var f=b?c:e,g=a?d:h;b=b?e:c;a=a?h:d;d=!1;this.a.Kc(f,g);this.a.Kc(g,f);this.a.Lc(b,a);this.a.Lc(a,b);for(h=a;h!=g;)c=this.a.Ra(h),e=this.a.U(h),
- this.a.Lc(h,e),this.a.Kc(h,c),d=d||h==f,h=e;d||(c=this.a.Ra(g),e=this.a.U(g),this.a.Lc(g,e),this.a.Kc(g,c));this.po(g,f);this.Ri(g,!0);this.a.Mi(g,!1);this.yk(f);this.po(a,b);this.Ri(a,!0);this.a.Mi(a,!1);this.yk(b)}};g.prototype.vE=function(){for(var b=!1,a=this.a.Pb(this.Y);-1!=a;){for(var c=this.a.cb(a),e=0,d=this.a.Ka(a);e<d&&1<d;){var h=this.a.Ra(c),g=this.a.U(c);this.a.Tq(h,g)?(b=!0,this.Ri(c,!1),this.a.td(c,!0),this.Ri(g,!1),this.a.td(g,!0),c=h,e=0,d=this.a.Ka(a)):(c=g,e++)}if(2>this.a.Ka(a)){b=
- this.a.cb(a);e=0;for(d=this.a.Ka(a);e<d;e++)this.Ri(b,!1),b=this.a.U(b);a=this.a.Qr(a);b=!0}else a=this.a.Sb(a)}return b};g.prototype.mq=function(b){for(var a=!1;;){var c=this.a.U(b),e=this.a.Ra(b);if(c==b)return this.Ri(b,!0),this.a.Mi(b,!1),!0;if(!this.a.Tq(c,e))break;a=!0;this.yk(e);this.yk(c);this.Ri(b,!0);this.a.Mi(b,!1);this.po(c,e);this.Ri(c,!0);this.a.Mi(c,!0);if(c==e)break;b=e}return a};g.prototype.MO=function(){for(var b=0,a=this.Me.xc(this.Me.Ge);-1!=a;a=this.Me.nb(a)){var c=this.Me.getData(a);
- this.a.Aj(c,-1)}for(var e=0,d=this.a.Pb(this.Y);-1!=d;)if(a=this.a.cb(d),-1==a||-1!=this.a.ld(a))c=d,d=this.a.Sb(d),this.a.Rr(c);else{this.a.Aj(a,d);for(var h=1,c=this.a.U(a);c!=a;c=this.a.U(c))this.a.Aj(c,d),h++;this.a.Np(d,!1);this.a.mk(d,h);this.a.sh(d,this.a.Ra(a));e+=h;b++;d=this.a.Sb(d)}for(a=this.Me.xc(this.Me.Ge);-1!=a;a=this.Me.nb(a))c=this.Me.getData(a),-1==this.a.ld(c)&&(d=this.a.AH(this.Y,c,c,null),e+=this.a.Ka(d),b++);this.a.wm(this.Y,b);this.a.kk(this.Y,e);b=0;for(e=this.a.rd;-1!=e;e=
- this.a.Ue(e))b+=this.a.D(e);this.a.yC(b)};g.prototype.Qm=function(b){for(var a=0,c=this.Xe.size-1;a<c;a++)if(b=(b+1)%this.Xe.size,-1!=this.Xe.get(b))return b;return-1};g.prototype.po=function(b,a){var c=this.a.Sa(a,this.Fr),e=this.a.Sa(a,this.Ug);this.a.IC(b,a);this.a.Va(a,this.Fr,c);this.a.Va(a,this.Ug,e)};g.prototype.yk=function(b){var a=this.a.Sa(b,this.Ug);-1!=a&&(this.Xe.set(a,-1),this.a.Va(b,this.Ug,-1))};g.V=function(b,a,c,e,d){var f=new g;f.a=b;f.Y=a;f.cB=c;f.Uw=e;f.je=d;return f.UO()};g.prototype.FO=
- function(b,a){var c=this.vi.get(b),e=new d.b;this.a.Nc(c,e);var c=new d.b,f=this.vi.get(a);this.a.Nc(f,c);if(e.ub(c))return 0;b=this.ut.get(b);f=new d.b;this.a.Nc(b,f);a=this.ut.get(a);b=new d.b;this.a.Nc(a,b);a=new d.b;a.zc(e,f);e=new d.b;e.zc(c,b);return d.b.us(a,e)};return g}();d.lo=m})(n||(n={}));(function(d){(function(d){d[d.Local=0]="Local";d[d.Geographic=1]="Geographic";d[d.Projected=2]="Projected";d[d.Image=3]="Image";d[d.Unknown=4]="Unknown"})(d.YN||(d.YN={}));(function(d){d[d.Integer32=
- 0]="Integer32";d[d.Integer64=1]="Integer64";d[d.FloatingPoint=2]="FloatingPoint"})(d.IN||(d.IN={}));var m=function(){function g(){this.jq="";this.av=null;this.yg=0;this.kJ=this.tp=-1;this.Uh=null}g.prototype.yc=function(){return this.yg};g.prototype.Qs=function(){return 0};g.prototype.Rs=function(){return 0};g.prototype.Ss=function(){return 0};g.prototype.Ps=function(){return 0};g.prototype.Sz=function(){return 5.7295779513082306E10};g.prototype.Tz=function(){return 1E3};g.prototype.Rz=function(){return 1E3};
- g.prototype.at=function(){return 1};g.prototype.re=function(){var b=.001;0!=this.yg?b=d.ts.tS(this.yg):null!=this.Uh&&(b=d.nE.uS(this.Uh));return b};g.prototype.lH=function(){return this.Uh};g.prototype.Od=function(){if(0!=this.yg)return d.oc.ze(d.ts.wG(this.yg));if(null!=this.Uh)return d.nE.vS(this.Uh)};g.Fb=function(b){if(0!=b.yg){if(!0===d.ts.RU(b.yg))return 1;if(!0===d.ts.TU(b.yg))return 2}return 4};g.prototype.Zs=function(){var b=this.yc();if(-1!=this.tp)return this.tp;this.tp=d.ts.rZ(b);return-1!=
- this.tp?this.tp:b};g.create=function(b){if(0>=b)throw d.f.F("Invalid or unsupported wkid: "+b);var a=new g;a.yg=b;return a};g.nR=function(b){if(null==b||0==b.length)throw d.f.F("Cannot create SpatialReference from null or empty text.");var a=new g;a.Uh=b;return a};g.prototype.Eb=function(b){return this==b?!0:null==b||this.constructor!=b.constructor||this.yg!=b.yg||0==this.yg&&this.Uh!==b.Uh?!1:!0};g.OS=function(b,a){var c=Math.PI/180,e=new d.ea;d.oM.RS(b.w().x*c,b.w().y*c,a.w().x*c,a.w().y*c,e);return e.j};
- g.prototype.toString=function(){return"[ tol: "+this.Bo()+"; wkid: "+this.yc()+"; wkt: "+this.lH()+"]"};g.prototype.jc=function(){if(""!==this.jq)return this.jq;var b=this.toString();if(Array.prototype.reduce)return this.jq="S"+b.split("").reduce(function(a,b){a=(a<<5)-a+b.charCodeAt(0);return a&a},0);var a=0;if(0===b.length)return"";for(var c=0;c<b.length;c++)a=(a<<5)-a+b.charCodeAt(c),a&=a;return this.jq="S"+a};g.prototype.Bo=function(){return this.re(0)};g.prototype.Ao=function(){return null!==
- this.av?this.av:this.av=d.Nu.uR(this)};g.p_=!0;g.rv=2147483645;g.sv=9007199254740990;return g}();d.Td=m})(n||(n={}));(function(d){var m=function(g){function b(){g.apply(this,arguments);this.ij=null;this.lp=new d.dE;this.Ww=this.Er=null}O(b,g);b.uR=function(a){var c=new b;c.yg=a.yg;c.tp=a.tp;c.kJ=a.kJ;c.Uh=a.Uh;if(""!==c.Uh&&null!==c.Uh){a=b.OY(c.Uh);var e=b.kX(c.Uh);c.lp.Dy(a,e,d.ss.Integer64);c.Jy(a);c.yg=a.Zs()}else a=b.CX(c.yg),c.Jy(a),c.lp.Dy(a,null,d.ss.Integer64);return c};b.prototype.re=function(a){return this.lp.Bo(a)};
- b.kX=function(a){if(0>=a.length)throw d.f.F();var c=null;try{c=d.PD.fromString(a)}catch(e){c=null}return null==c?null:b.rD(c,!0)};b.prototype.Jy=function(a){this.Qd=a;this.Er=this.Qd.Od()};b.prototype.Jc=function(){return 0==this.Fb()||3==this.Fb()?!1:this.Qd.Jc()};b.prototype.TH=function(){return 0==this.Fb()?!1:3==this.Fb()?this.ij.Fk().Jc():this.Qd.Jc()};b.prototype.Kg=function(){return null!=this.Qd?this.Qd.uf:null};b.prototype.cn=function(){return this.Qd.cn()};b.prototype.de=function(){return this.Qd.de()};
- b.prototype.Ch=function(){return null!=this.Qd?this.Qd.ex:NaN};b.prototype.en=function(){return this.Qd.en()};b.prototype.Vs=function(){return this.Qd.Vs()};b.prototype.Sj=function(){return this.Qd.Sj()};b.prototype.gU=function(a){return d.SD.yz(this.Qd,a.Qd)};b.prototype.Lk=function(){return this.Qd.Lk()};b.prototype.Us=function(){return this.Qd.Us()};b.prototype.pi=function(){return 3==this.Fb()?this.ij.Fk().pi():this.Qd.pi()};b.prototype.Bh=function(){if(!this.Jc())throw d.f.F("!isPannable()");
- var a=new d.h;this.Qd.Bh(a);return a};b.prototype.qe=function(){if(!this.Jc())throw d.f.F("!isPannable()");return this.Qd.gp};b.prototype.zT=function(){if(!this.Jc())throw d.f.F("!isPannable()");var a=new d.h;this.Qd.yT(a);return a};b.prototype.aw=function(){if(!this.Jc())throw d.f.F("!isPannable()");return this.Qd.aw()};b.prototype.$v=function(){if(!this.Jc())throw d.f.F("!isPannable()");return this.Qd.$v()};b.prototype.Ws=function(){return null!=this.ij?this.ij.Fk().Ws():this.Qd.Ws()};b.prototype.CS=
- function(){return this.Qd.Tv()};b.prototype.hX=function(a){a.assign(this.lp)};b.prototype.Yi=function(){return this.Er.getUnitFactor()};b.prototype.eA=function(a){return this.lp.eA(a)};b.prototype.kc=function(){var a=this.Fb();if(1==a)return this;if(3==a)return this.ij.Fk().kc();if(0==a)throw d.f.X("invalid call");if(4===a)throw d.f.X("invalid call");if(null!==this.Ww)return this.Ww;a=this.Kg().getGeogcs();if(null==a)throw d.f.ya();return this.Ww=b.hG(a,this.lp.at())};b.hG=function(a,c){if(null==
- a)throw d.f.F("null pointer.");var e=new b;a=b.Ou(a,!0);e.lp.Dy(a,null,c);e.Jy(a);e.yg=a.Zs();return e};b.prototype.Fb=function(){var a=this.Kg();if(null!=a)switch(a.getType()){case d.Vc.PE_TYPE_GEOGCS:return 1;case d.Vc.PE_TYPE_PROJCS:return 2}return 4};b.prototype.cA=function(a){var b=new d.b;this.Qd.cA(a,b);return b};b.prototype.Tv=function(){return this.Qd.Tv()};b.Ou=function(a,c){var e=a.getCode();if(0>=e&&(e=d.Tf.getCode(a),0<e)){var f=d.Tf.coordsys(e);if(null==f)throw d.f.F("Text to wkid mapping had failed: "+
- e);return b.Ou(f,c)}if(c&&0<e&&(f=b.Lv[e]))return f;f=d.Ib.hw(a,e,!1);if(c=b.yH[f])return c;c=0>=e?a:d.Tf.coordsys(e);c=new d.SD(c);b.yH[f]=c;0<e&&(b.Lv[e]=c);return c};b.CX=function(a){if(0>=a)throw d.f.F("Invalid or unsupported wkid: "+a);var c=b.Lv[a];if(null!=c)return c;c=d.Tf.coordsys(a);if(null==c)throw d.f.F("Invalid or unsupported wkid: "+a);c=b.Ou(c,!1);c.Zs()!=a&&(b.Lv[a]=c);return c};b.OY=function(a){if(null==a||void 0===a||0==a.length)throw d.f.F("Cannot create SpatialReference from null or empty text.");
- var c=null;try{c=d.Tf.fromString(d.Vc.PE_TYPE_COORDSYS,a)}catch(e){throw d.f.F("Cannot create SpatialReference from text. "+e.message);}if(null===c)throw d.f.F("Cannot create SpatialReference from text. ");return b.Ou(c,!0)};b.rD=function(a,c){var e=a.getCode();if(0>=e&&(e=d.Tf.getCode(a),0<e)){e=d.Tf.vertcs(e);if(null===e)throw d.f.F();return b.rD(e,c)}if(c&&0<e&&(c=b.wH[e]))return c;a=d.Ib.hw(a,e,!1);if(c=b.XH[a])return c;var f;0>=e||(f=d.Tf.vertcs(e));if(null===f)throw d.f.F();c=new d.EN(f);b.XH[a]=
- c;0<e&&(b.wH[e]=c);return c};b.iK=function(a,b){var c;if(null===b||b.u())return null;var f=new d.h,h;null!==b&&1!=a.Fb()?(c=a.kc(),h=c.Kg(),c=d.qs.Hs(a,c,null,null),c=d.ns.local().V(b,c,null),c.s(f)):(h=a.Kg(),b.s(f));c=h.getPrimem().getLongitude();h=h.getUnit().getUnitFactor();return new d.ND(f.o,f.A,f.v,f.B,c,h)};b.DE=function(a){var b={name:"",steps:[],_pt:null,_entry:null},e=0;for(a=a.getEntries();e<a.length;e++){var d=a[e],h={x_:!1,X_:"",W_:-1,geogtran:null};0===d.getDirection()?h.isInverse=
- !1:h.isInverse=!0;var g=d.getGeogtran().getCode();-1<g?h.wkid=g:h.wkt=d.getGeogtran().toString();b.steps.push(h)}return b};b.PT=function(a,c,e,f){void 0===e&&(e=null);e=b.iK(f,e);a=d.fq.getGTlist(a.Kg(),c.Kg(),2,d.fq.PE_GTLIST_OPTS_COMMON,e,1);c=null;a&&0<a.length&&(c=this.DE(a[0]),d.vy.destroy(a));null!==e&&e.destroy();return c};b.QT=function(a,c,e,f){var h;void 0===e&&(e=null);void 0===f&&(f=null);void 0===h&&(h=30);e=b.iK(f,e);a=d.fq.getGTlist(a.Kg(),c.Kg(),2,d.fq.PE_GTLIST_OPTS_COMMON,e,h);c=
- [];if(a&&0<a.length){for(h=0;h<a.length;h++)c.push(this.DE(a[h]));d.vy.destroy(a)}null!==e&&e.destroy();return c};b.Lv={};b.yH={};b.wH={};b.XH={};return b}(d.Td);d.Nu=m})(n||(n={}));(function(d){(function(b){b[b.Integer32=0]="Integer32";b[b.Integer64=1]="Integer64";b[b.FloatingPoint=2]="FloatingPoint"})(d.ss||(d.ss={}));var m=d.ss,g=function(){function b(){this.kq()}b.prototype.assign=function(a){this.Xl=a.Xl;this.Yl=a.Yl;this.uj=a.uj;this.Sw=a.Sw;this.Kn=a.Kn;this.Rw=a.Rw;this.qx=a.qx;this.jl=a.jl;
- this.Br=a.Br;this.Ar=a.Ar;this.Fn=a.Fn};b.prototype.Qs=function(){return this.Xl};b.prototype.Rs=function(){return this.Yl};b.prototype.Ss=function(){return this.Sw};b.prototype.Ps=function(){return this.Rw};b.prototype.Sz=function(){return this.uj};b.prototype.Tz=function(){return this.Kn};b.prototype.Rz=function(){return this.qx};b.prototype.at=function(){return this.Fn};b.prototype.kq=function(){this.Yl=this.Xl=0;this.uj=1;this.Sw=0;this.Kn=1;this.Rw=0;this.qx=1;this.Ar=this.Br=this.jl=2.220446049250313E-14;
- this.Fn=m.FloatingPoint};b.prototype.Dy=function(a,b,e){this.kq();this.Fn=e;if(e!=m.FloatingPoint){var c=new d.h;a.YS(c);this.Xl=c.o;this.Yl=c.A}else this.Yl=this.Xl=-1.7976931348623157E308;c=a.uf.getType();c==d.Vc.PE_TYPE_GEOGCS?(c=(e==m.Integer64?1E-9:1/18E5)*a.de(),this.uj=1/c):c==d.Vc.PE_TYPE_PROJCS&&(c=(e==m.Integer64?1E-4:.001)*a.cn(),this.uj=1/c);null!=b?(c=(e==m.Integer32?.001:1E-4)*b.WI,this.Kn=1/c):this.Kn=1E4;this.qx=1E4;this.VO();this.jl=a.ex;this.Br=null!=b?.001*b.WI:.001;this.Ar=2.220446049250313E-14};
- b.prototype.VO=function(){if(this.Fn!=m.FloatingPoint){var a=this.Fn==m.Integer64?d.Td.sv:d.Td.rv,b=a/this.uj,e=this.Xl+b,f=d.J.truncate((e-this.Xl)*this.uj);f>a&&(this.uj=a/(e-this.Xl));b=this.Yl+b;f=d.J.truncate((b-this.Yl)*this.uj);f>a&&(this.uj=a/(b-this.Yl))}};b.prototype.xC=function(a,b){switch(a){case 0:this.jl=b;case 1:this.Br=b;case 2:this.Ar=b}};b.prototype.Bo=function(a){switch(a){case 0:return this.jl;case 1:return this.Br;case 2:return this.Ar}return 0};b.prototype.VT=function(){var a=
- new d.h;switch(this.at()){case m.Integer32:var b=d.Td.rv/this.Sz();a.I(this.Qs(),this.Rs(),this.Qs()+b,this.Rs()+b);break;case m.Integer64:b=d.Td.sv/this.Sz();a.I(this.Qs(),this.Rs(),this.Qs()+b,this.Rs()+b);break;case m.FloatingPoint:a.I(-1.7976931348623157E308,-1*1.7976931348623157E308,1.7976931348623157E308,1.7976931348623157E308);break;default:throw d.f.X("internal error");}return a};b.prototype.WT=function(){var a=new d.Ac;switch(this.at()){case m.Integer32:var b=d.Td.rv/this.Tz();a.I(this.Ss(),
- this.Ss()+b);break;case m.Integer64:b=d.Td.sv/this.Tz();a.I(this.Ss(),this.Ss()+b);break;case m.FloatingPoint:a.I(-1*1.7976931348623157E308,1.7976931348623157E308);break;default:throw d.f.X("internal error");}return a};b.prototype.rT=function(){var a=new d.Ac;switch(this.at()){case m.Integer32:var b=d.Td.rv/this.Rz();a.I(this.Ps(),this.Ps()+b);break;case m.Integer64:b=d.Td.sv/this.Rz();a.I(this.Ps(),this.Ps()+b);break;case m.FloatingPoint:a.I(-1*1.7976931348623157E308,1.7976931348623157E308);break;
- default:throw d.f.X("internal error");}return a};b.prototype.eA=function(a){if(this.Fn==m.FloatingPoint)return 0;switch(a){case 0:return 1/this.uj;case 1:return 1/this.Kn;case 2:return 1/this.Kn;default:return 0}};b.prototype.toString=function(){var a;a="SRPD [m_toleranceXY: "+this.jl.toString();a=a+";m_falseX: "+this.Xl.toString();a=a+";m_falseY: "+this.Yl.toString();a=a+";m_unitsXY: "+this.uj.toString();a=a+";m_falseZ: "+this.Sw.toString();a=a+";m_unitsZ: "+this.Kn.toString();a=a+";m_falseM: "+
- this.Rw.toString();a=a+";m_toleranceZ: "+this.Br.toString();a=a+";m_toleranceM: "+this.Ar.toString();a=a+";m_precision: "+this.Fn.toString();return a+"] "};return b}();d.dE=g})(n||(n={}));(function(d){function m(a,b){89.99999<b?b=89.99999:-89.99999>b&&(b=-89.99999);b*=.017453292519943;return[111319.49079327169*a,3189068.5*Math.log((1+Math.sin(b))/(1-Math.sin(b)))]}function g(a,b,c){a=a/6378137*57.29577951308232;return c?[a,57.29577951308232*(1.5707963267948966-2*Math.atan(Math.exp(-1*b/6378137)))]:
- [a-360*Math.floor((a+180)/360),57.29577951308232*(1.5707963267948966-2*Math.atan(Math.exp(-1*b/6378137)))]}function b(a,b){var c=a.Vf();if(33===a.G()){var e=b(c.Be(),c.nf());c.rb(e[0],e[1])}else if(197===a.G())e=b(a.R.o,a.R.A,!0),a=b(a.R.v,a.R.B,!0),c.I(e[0],e[1],a[0],a[1]);else for(e=new d.b,a=0;a<c.D();a++){c.w(a,e);var f=b(e.x,e.y,!0);e.ka(f[0],f[1]);c.rb(a,e)}return c}function a(a){return b(a,g)}function c(a){return b(a,m)}var e=Math.PI/180,f=function(){function a(){}a.Qu=function(a){var b=Math.sqrt(.006694379990197414),
- c=Math.sin(a.y*e);return d.b.pa(6378137*a.x*e,3167719.6636462314*(c/(1-.006694379990197414*c*c)-1/(2*b)*Math.log((1-b*c)/(1+b*c))))};a.CA=function(a,b,c,f){var h=1/298.257223563,g=Math.sin(c);c=Math.cos(c);var l=(1-h)*Math.tan(a);a=1/Math.sqrt(1+l*l);for(var k=l*a,m=Math.atan2(l,c),l=a*g,n=l*l,r=1-n,t=2.7233160610754688E11*r/4.040829998466145E13,z=1+t/16384*(4096+t*(-768+t*(320-175*t))),B=t/1024*(256+t*(-128+t*(74-47*t))),t=f/(6356752.31424518*z),A=2*Math.PI,C,E,F,G;1E-12<Math.abs(t-A);)F=Math.cos(2*
- m+t),C=Math.sin(t),E=Math.cos(t),G=B*C*(F+B/4*(E*(-1+2*F*F)-B/6*F*(-3+4*C*C)*(-3+4*F*F))),A=t,t=f/(6356752.31424518*z)+G;f=k*C-a*E*c;r=h/16*r*(4+h*(4-3*r));return d.b.pa((b+(Math.atan2(C*g,a*E-k*C*c)-(1-r)*h*l*(t+r*C*(F+r*E*(-1+2*F*F)))))/e,Math.atan2(k*E+a*C*c,(1-h)*Math.sqrt(n+f*f))/e)};a.AM=function(a,b,c,e){var d=1/298.257223563,f=e-b,h=Math.atan((1-d)*Math.tan(a)),g=Math.atan((1-d)*Math.tan(c)),l=Math.sin(h),h=Math.cos(h),k=Math.sin(g),g=Math.cos(g),m=f,n,r=1E3,t,A,C,E,F,G,H;do{C=Math.sin(m);
- E=Math.cos(m);A=Math.sqrt(g*C*g*C+(h*k-l*g*E)*(h*k-l*g*E));if(0===A)return 0;E=l*k+h*g*E;F=Math.atan2(A,E);G=h*g*C/A;t=1-G*G;C=E-2*l*k/t;isNaN(C)&&(C=0);H=d/16*t*(4+d*(4-3*t));n=m;m=f+(1-H)*d*G*(F+H*A*(C+H*E*(-1+2*C*C)))}while(1E-12<Math.abs(m-n)&&0<--r);if(0===r)return l=e-b,{azimuth:Math.atan2(Math.sin(l)*Math.cos(c),Math.cos(a)*Math.sin(c)-Math.sin(a)*Math.cos(c)*Math.cos(l)),geodesicDistance:6371008.771415059*Math.acos(Math.sin(a)*Math.sin(c)+Math.cos(a)*Math.cos(c)*Math.cos(e-b))};a=2.7233160610754688E11*
- t/4.040829998466145E13;b=a/1024*(256+a*(-128+a*(74-47*a)));return{azimuth:Math.atan2(g*Math.sin(m),h*k-l*g*Math.cos(m)),NS:6356752.31424518*(1+a/16384*(4096+a*(-768+a*(320-175*a))))*(F-b*A*(C+b/4*(E*(-1+2*C*C)-b/6*C*(-3+4*A*A)*(-3+4*C*C)))),P_:Math.atan2(h*Math.sin(m),h*k*Math.cos(m)-l*g)}};a.zR=function(a){var b=a.hasAttribute(1),c=a.hasAttribute(2),e=[],f=a.aa(),h=null,g=null;b&&(h=a.Pa(1));c&&(g=a.Pa(2));for(var l=new d.b,m=0;m<f;m++){for(var n=a.wa(m),y=a.Ka(m),D=0,z=0,B=NaN,A=NaN,C=NaN,E=NaN,
- F=a.Qb(m),G=[],H=n;H<n+y;H++){a.w(H,l);var E=C=NaN,I=[l.x,l.y];b&&(C=h.get(H),I.push(C));c&&(f=g.get(H),I.push(E));H==n&&F&&(D=l.x,z=l.y,B=C,A=E);G.push(I)}!F||D==l.x&&z==l.y&&(!b||isNaN(B)&&isNaN(C)||B==C)&&(!c||isNaN(A)&&isNaN(E)||A==E)||G.push(G[0].slice(0));e.push(G)}return e};a.Dz=function(b,c){b=a.zR(b);637.100877141506>c&&(c=637.100877141506);for(var d=[],f,h=0;h<b.length;h++){var g=b[h];d.push(f=[]);f.push([g[0][0],g[0][1]]);var l,k,m,n,y,D;l=g[0][0]*e;k=g[0][1]*e;for(y=0;y<g.length-1;y++)if(m=
- g[y+1][0]*e,n=g[y+1][1]*e,l!==m||k!==n){n=a.AM(k,l,n,m);m=n.azimuth;n=n.NS;var z=n/c;if(1<z){for(D=1;D<=z-1;D++){var B=a.CA(k,l,m,D*c);f.push([B.x,B.y])}D=a.CA(k,l,m,(n+Math.floor(z-1)*c)/2);f.push([D.x,D.y])}k=a.CA(k,l,m,n);f.push([k.x,k.y]);l=k.x*e;k=k.y*e}}return{fK:d}};a.MS=function(b){for(var c=[],e=0;e<b.length;e++){var f=b[e],f=a.Dz(f,1E4);c.push(f)}b=[];for(var h=0;h<c.length;h++){for(var f=c[h],g=0,e=0;e<f.fK.length;e++){var l=f.fK[e],m=a.Qu(d.b.pa(l[0][0],l[0][1])),n=a.Qu(d.b.pa(l[l.length-
- 1][0],l[l.length-1][1])),w=n.x*m.y-m.x*n.y,y;for(y=0;y<l.length-1;y++)m=a.Qu(d.b.pa(l[y+1][0],l[y+1][1])),n=a.Qu(d.b.pa(l[y][0],l[y][1])),w+=n.x*m.y-m.x*n.y;g+=w}g/=1;b.push(g/-2)}return b};return a}();d.pM=f;f=function(){function b(){}b.WB=function(a,c,e,d,f,h,g){b.tD[a.jc()]=c;0==isNaN(e)&&(b.vD[a.jc()]=e);0==isNaN(d)&&(b.WD[a.jc()]=d);0==isNaN(f)&&(b.nD[a.jc()]=f);b.xD[a.jc()]=h;null!==g&&(b.zD[a.jc()]=g)};b.Hx=function(a,c,e){b.QD[a.jc()+"-"+c.jc()]=e};b.kc=function(a){a=b.tD[a.jc()];if(void 0==
- a)throw d.f.df();return a};b.de=function(a){a=b.vD[a.jc()];if(void 0==a)throw d.f.df();return a};b.gw=function(a){a=b.WD[a.jc()];if(void 0==a)throw d.f.df();return a};b.Rv=function(a){a=b.nD[a.jc()];if(void 0==a)throw d.f.df();return a};b.Bh=function(a){a=b.zD[a.jc()];if(void 0==a)throw d.f.df();return d.h.pa(a[0],a[1],a[2],a[3])};b.Jc=function(a){a=b.xD[a.jc()];if(void 0==a)throw d.f.df();return a};b.Xg=function(a,c,e){if(c.Eb(e))return a;var f=b.QD[c.jc()+"-"+e.jc()];if(void 0!==f)return f(a,c,
- e);throw d.f.df();};b.ku=function(){throw d.f.df();};b.SS=function(){throw d.f.df();};b.TW=function(){throw d.f.df();};b.Lk=function(){throw d.f.df();};b.qX=function(){var b=d.Td.create(102100),e=d.Td.create(3857),f=d.Td.create(4326);d.fb.WB(b,f,NaN,NaN,NaN,!1,null);d.fb.WB(f,f,1,.0033528106647474805,6378137,!0,[-180,-90,180,90]);d.fb.WB(e,f,NaN,NaN,NaN,!1,null);d.fb.Hx(b,f,a);d.fb.Hx(f,b,c);d.fb.Hx(e,f,a);d.fb.Hx(f,e,c)};b.tD=[];b.vD=[];b.WD=[];b.nD=[];b.xD=[];b.zD=[];b.QD=[];return b}();d.fb=f})(n||
- (n={}));n.fb.qX();(function(d){var m=function(){function g(b){this.g=null;this.kh=-1;this.xd=this.size=this.Jf=0;this.ed=b}g.prototype.kd=function(b){b<this.Jf?(this.g[b*this.ed]=this.kh,this.kh=b):this.Jf--;this.size--};g.prototype.S=function(b,a){return this.g[b*this.ed+a]};g.prototype.P=function(b,a,c){this.g[b*this.ed+a]=c};g.prototype.Pe=function(){var b=this.kh;if(-1==b){if(this.Jf==this.xd){b=0!=this.xd?d.J.truncate(3*(this.xd+1)/2):1;2147483647<b&&(b=2147483647);if(b==this.xd)throw d.f.vd();
- this.Co(b)}b=this.Jf;this.Jf++}else this.kh=this.g[b*this.ed];this.size++;for(var a=b*this.ed+this.ed,c=b*this.ed;c<a;c++)this.g[c]=-1;return b};g.prototype.nl=function(b){var a=this.kh;if(-1==a){if(this.Jf==this.xd){a=0!=this.xd?d.J.truncate(3*(this.xd+1)/2):1;2147483647<a&&(a=2147483647);if(a==this.xd)throw d.f.vd();this.Co(a)}a=this.Jf;this.Jf++}else this.kh=this.g[a*this.ed];this.size++;for(var c=a*this.ed,e=this.ed,f=0;f<e;f++)this.g[c+f]=b[f];return a};g.prototype.Vi=function(b){this.kh=-1;
- this.size=this.Jf=0;b&&(this.g=null,this.xd=0)};g.prototype.Qe=function(b){b>this.xd&&this.Co(b)};g.prototype.$x=function(b,a,c){var e=this.g[this.ed*a+c];this.g[this.ed*a+c]=this.g[this.ed*b+c];this.g[this.ed*b+c]=e};g.Jm=function(){return-2};g.jo=function(){return-3};g.AA=function(b){return 0<=b};g.prototype.Co=function(b){null==this.g&&(this.g=[]);this.xd=b};return g}();d.ad=m;m=function(){function g(b){this.g=new Int32Array(0);this.kh=-1;this.xd=this.size=this.Jf=0;this.ed=b}g.prototype.kd=function(b){b<
- this.Jf?(this.g[b*this.ed]=this.kh,this.kh=b):this.Jf--;this.size--};g.prototype.S=function(b,a){return this.g[b*this.ed+a]};g.prototype.P=function(b,a,c){this.g[b*this.ed+a]=c};g.prototype.Pe=function(){var b=this.kh;if(-1==b){if(this.Jf==this.xd){b=0!=this.xd?d.J.truncate(3*(this.xd+1)/2):1;2147483647<b&&(b=2147483647);if(b==this.xd)throw d.f.vd();this.Co(b)}b=this.Jf;this.Jf++}else this.kh=this.g[b*this.ed];this.size++;for(var a=b*this.ed;a<b*this.ed+this.ed;a++)this.g[a]=-1;return b};g.prototype.nl=
- function(b){var a=this.kh;if(-1==a){if(this.Jf==this.xd){a=0!=this.xd?d.J.truncate(3*(this.xd+1)/2):1;2147483647<a&&(a=2147483647);if(a==this.xd)throw d.f.vd();this.Co(a)}a=this.Jf;this.Jf++}else this.kh=this.g[a*this.ed];this.size++;for(var c=a*this.ed,e=0;e<b.length;e++)this.g[c+e]=b[e];return a};g.prototype.Vi=function(b){this.kh=-1;this.size=this.Jf=0;b&&(this.g=null,this.xd=0)};g.prototype.Qe=function(b){b>this.xd&&this.Co(b)};g.prototype.$x=function(b,a,c){var e=this.g[this.ed*a+c];this.g[this.ed*
- a+c]=this.g[this.ed*b+c];this.g[this.ed*b+c]=e};g.Jm=function(){return-2};g.jo=function(){return-3};g.AA=function(b){return 0<=b};g.prototype.Co=function(b){null==this.g&&(this.g=new Int32Array(0));var a=new Int32Array(this.ed*b);a.set(this.g,0);this.g=a;this.xd=b};return g}();d.ZN=m;!0===d.Xh.Bm&&(d.ad=d.ZN)})(n||(n={}));(function(d){var m;(function(a){a[a.enumInputModeBuildGraph=0]="enumInputModeBuildGraph";a[a.enumInputModeSimplifyAlternate=4]="enumInputModeSimplifyAlternate";a[a.enumInputModeSimplifyWinding=
- 5]="enumInputModeSimplifyWinding";a[a.enumInputModeIsSimplePolygon=7]="enumInputModeIsSimplePolygon"})(m||(m={}));var g=function(){function a(a){this.bf=a;this.Wh=NaN;this.pI=new d.Cg;this.qI=new d.Cg;this.ht=new d.Ac;this.it=new d.Ac}a.prototype.compare=function(a,b,d){a=a.ja(d);this.bf.PB(b,this.pI);this.bf.PB(a,this.qI);b=this.pI.get();a=this.qI.get();this.ht.I(b.ua,b.sa);this.it.I(a.ua,a.sa);if(this.ht.ha<this.it.ca)return-1;if(this.ht.ca>this.it.ha)return 1;d=b.ra==b.oa;var c=a.ra==a.oa;if(d||
- c){if(d&&c)return 0;if(b.ra==a.ra&&b.ua==a.ua)return d?1:-1;if(b.oa==a.oa&&b.sa==a.sa)return d?-1:1}d=b.pf(this.Wh,this.ht.ca);c=a.pf(this.Wh,this.it.ca);d==c&&(d=Math.min(b.oa,a.oa),c=.5*(d+this.Wh),c==this.Wh&&(c=d),d=b.pf(c,this.ht.ca),c=a.pf(c,this.it.ca));return d<c?-1:d>c?1:0};a.prototype.QK=function(a){this.Wh=a};return a}(),b=function(){function a(a){this.bb=a;this.iJ=new d.Cg;this.cg=new d.b;this.bB=new d.Ac}a.prototype.dY=function(a){this.cg.L(a)};a.prototype.compare=function(a,b){this.bb.PB(a.ja(b),
- this.iJ);a=this.iJ.get();this.bB.I(a.ua,a.sa);if(this.cg.x<this.bB.ca)return-1;if(this.cg.x>this.bB.ha)return 1;a=a.pf(this.cg.y,this.cg.x);return this.cg.x<a?-1:this.cg.x>a?1:0};return a}();m=function(){function a(){this.sI=this.cj=this.fj=this.SA=this.No=this.Ye=this.Rc=this.Eh=this.De=null;this.sp=this.Tg=-1;this.rI=!0;this.WA=!1;this.TA=NaN;this.mj=new d.$d;this.bQ=2147483647;this.aQ=d.J.truncate(-2147483648);this.xg=this.xe=this.km=this.qr=this.rn=this.pr=this.It=this.rf=-1;this.qa=0}a.prototype.dz=
- function(a){this.TA=a};a.prototype.Nn=function(){null==this.De&&(this.De=new d.ad(8));var a=this.De.Pe();this.De.P(a,1,0);return a};a.prototype.eW=function(){null==this.Rc&&(this.Rc=new d.ad(8));var a=this.Rc.Pe();this.Rc.P(a,2,0);this.Rc.P(a,3,0);var b=this.Rc.Pe();this.Rc.P(b,2,0);this.Rc.P(b,3,0);this.yK(a,b);this.yK(b,a);return a};a.prototype.uJ=function(){null==this.Ye&&(this.Ye=new d.ad(8));var a=this.Ye.Pe();this.Ye.P(a,2,0);return a};a.prototype.PX=function(a,b){this.De.P(a,7,b)};a.prototype.co=
- function(a,b){this.De.P(a,2,b)};a.prototype.OX=function(a,b){this.De.P(a,1,b)};a.prototype.eY=function(a,b){this.De.P(a,3,b)};a.prototype.bY=function(a,b){this.De.P(a,4,b)};a.prototype.Ur=function(a,b){this.De.P(a,5,b)};a.prototype.VS=function(a){return this.De.S(a,5)};a.prototype.NX=function(a,b){this.De.P(a,6,b)};a.prototype.$O=function(a,b){this.NX(b,a)};a.prototype.xK=function(a,b){this.Rc.P(a,1,b)};a.prototype.yK=function(a,b){this.Rc.P(a,4,b)};a.prototype.ym=function(a,b){this.Rc.P(a,5,b)};
- a.prototype.xm=function(a,b){this.Rc.P(a,6,b)};a.prototype.UX=function(a,b){this.Rc.P(a,2,b)};a.prototype.Mx=function(a,b){this.Rc.P(a,3,b)};a.prototype.VG=function(a){return this.Rc.S(a,3)};a.prototype.tu=function(a,b){this.Rc.P(a,7,b)};a.prototype.wL=function(a,b){if(-1!=this.an(a))for(b=b?-1:a,a=this.an(a);-1!=a;a=this.ft(a))this.a.Va(this.Uj(a),this.qr,b)};a.prototype.dy=function(a,b){-1!=a&&(this.wL(a,b),this.wL(this.za(a),b))};a.prototype.ru=function(a,b){this.Ye.P(a,1,b)};a.prototype.rh=function(a,
- b){this.Ye.P(a,2,b)};a.prototype.$n=function(a,b){this.Ye.P(a,3,b);this.LX(a,this.US(b));this.KX(b,a)};a.prototype.KX=function(a,b){this.Ye.P(a,4,b)};a.prototype.LX=function(a,b){this.Ye.P(a,5,b)};a.prototype.sK=function(a,b){this.Ye.P(a,6,b)};a.prototype.qK=function(a,b){this.Ye.P(a,7,b)};a.prototype.pK=function(a,b){this.No.write(a,b)};a.prototype.rK=function(a,b){this.SA.write(a,b)};a.prototype.gZ=function(a){var b=0,c=0,h=this.LG(a),g=new d.b,k=new d.b,m=new d.b;this.Xs(h,g);k.L(g);var n=h;do this.$m(n,
- m),c+=d.b.Cb(k,m),this.Ef(this.za(n))!=a&&(b+=(m.x-g.x-(k.x-g.x))*(m.y-g.y+(k.y-g.y))*.5),k.L(m),n=this.qc(n);while(n!=h);this.No.write(a,b);this.SA.write(a,c)};a.prototype.AW=function(a){var c=new g(this),f=new d.tk;f.Qe(d.J.truncate(this.qa/2));f.Ep(c);for(var h=new d.ia(0),l=this.xh(),k=null,m=0,n=new d.b,p=this.rf;-1!=p;p=this.og(p)){m++;var q=this.kf(p);if(-1!=q){h.yf(0);if(!this.$Y(f,l,h,q)){this.w(p,n);c.QK(n.y);var u=q;do{var v=this.Kb(u,l);-1!=v&&(f.Ld(v,-1),this.Ob(u,l,-2));u=this.qc(this.za(u))}while(q!=
- u);u=q;do v=this.Kb(u,l),-1==v&&(v=f.addElement(u,-1),h.add(v)),u=this.qc(this.za(u));while(q!=u)}for(q=h.size-1;0<=q;q--)v=h.get(q),u=f.ja(v),this.Ob(this.za(u),l,v),this.zW(f,v,a)}else-1==this.Jz(p)&&(null==k&&(k=new b(this)),this.w(p,n),k.dY(n),u=f.GX(k),q=this.km,-1!=u&&(v=f.ja(u),this.Ef(v)==this.Ef(this.za(v))&&(v=this.XG(f,u)),-1!=v&&(q=this.Ef(v))),this.$O(q,p))}this.ni(l)};a.prototype.zW=function(a,b,d){var c=a.ja(b),e=this.Ef(c);if(-1==this.vo(e)){var f=this.XG(a,b),g=this.za(c),m=this.Ef(g);
- this.Dq(e);this.Dq(m);var n=this.vo(e),q=this.vo(m);-1==f&&-1==n&&(m==e?(this.$n(m,this.km),n=q=this.km):(-1==q&&(this.$n(m,this.km),q=this.km),this.$n(e,m),n=m));if(-1!=f){var u=this.Ef(f);-1==q&&(0>=this.Dq(u)?(q=this.vo(u),this.$n(m,q)):(this.$n(m,u),q=u),m==e&&(n=q))}-1==n&&this.aZ(e,m);0==d?this.ZW(a,b,c,f,e,m):5==d?this.$W(a,b,c,g,e,m):4==d&&this.YW(c,f,e,m)}};a.prototype.ZW=function(a,b,d,h,g,k){var c=this.Hk(g);if(-1!=h){var e=this.Hk(k),f=this.Hk(this.Ef(h));h=c&e&f;f^=f&this.Ah(d);f|=h;
- 0!=f&&(this.rh(k,e|f),this.rh(g,f|c),c=c||f)}for(b=a.nb(b);-1!=b;b=a.nb(b)){h=a.ja(b);d=this.Ef(this.za(h));g=this.Hk(d);k=this.Ah(h);e=this.Ef(h);f=this.Hk(e);h=g&f&c;c^=c&k;c|=h;if(0==c)break;this.rh(d,g|c);this.rh(e,f|c)}};a.prototype.$W=function(a,b,f,h,g,k){if(g!=k){f=this.Kb(f,this.xg);f+=this.Kb(h,this.xg);h=0;var c=new d.ia(0),e=new d.ia(0);e.add(0);for(var l=a.xc(-1);l!=b;l=a.nb(l)){var m=a.ja(l),n=this.za(m),v=this.Ef(m),x=this.Ef(n);if(v!=x){m=this.Kb(m,this.xg);m+=this.Kb(n,this.xg);h+=
- m;n=!1;0!=c.size&&c.Fc()==x&&(e.Pf(),c.Pf(),n=!0);if(-1==this.vo(x))throw d.f.ya();n&&this.vo(x)==v||(e.add(h),c.add(v))}}h+=f;0!=c.size&&c.Fc()==k&&(e.Pf(),c.Pf());0!=h?0==e.Fc()&&(a=this.a.rd,a=this.Ha(a),this.rh(g,a)):0!=e.Fc()&&(a=this.a.rd,a=this.Ha(a),this.rh(g,a))}};a.prototype.YW=function(a,b,d,h){var c=this.Ha(this.a.rd);if(-1==b)this.rh(h,this.sp),a=this.Kb(a,this.Tg),0!=(a&1)?this.rh(d,c):this.rh(d,this.sp);else{var e=this.Hk(h);0==e&&(e=this.Hk(this.Ef(b)),this.rh(h,e));a=this.Kb(a,this.Tg);
- 0!=(a&1)?this.rh(d,e==c?this.sp:c):this.rh(d,e)}};a.prototype.$Y=function(a,b,d,h){var c=h,e=-1,f=-1,g=0;do{if(2==g)return!1;var m=this.Kb(c,b);if(-1!=m){if(-1!=e)return!1;e=m}else{if(-1!=f)return!1;f=c}g++;c=this.qc(this.za(c))}while(h!=c);if(-1==f||-1==e)return!1;this.Ob(a.ja(e),b,-2);a.jk(e,f);d.add(e);return!0};a.prototype.aZ=function(a,b){var c=this.Dq(a);if(0!=c){var d=this.Dq(b);0<c&&0>d?this.$n(a,b):0>c&&0<d?this.$n(a,b):(c=this.vo(b),-1!=c&&this.$n(a,c))}};a.prototype.sR=function(a,b){this.qr=
- this.a.Vd();for(var c=0,e=b.size;c<e;c++){var g=b.get(c),k=this.a.Sa(g,this.rn),m=this.a.ng(this.a.ld(g)),n=this.a.hc(m);if(d.T.Ic(n)){var p=this.a.U(g);if(-1!=p){var q=this.a.Sa(p,this.rn);if(k!=q){var u=this.eW(),v=this.za(u),x=this.Eh.Pe();this.Eh.P(x,0,g);this.Eh.P(x,1,-1);this.tu(u,x);this.xK(u,k);x=this.kf(k);-1==x?(this.co(k,u),this.ym(u,v),this.xm(v,u)):(k=this.Te(x),this.ym(x,v),this.xm(v,x),this.xm(k,u),this.ym(u,k));this.xK(v,q);k=this.kf(q);-1==k?(this.co(q,v),this.xm(u,v),this.ym(v,u)):
- (q=this.Te(k),this.ym(k,u),this.xm(u,k),this.xm(q,v),this.ym(v,q));m=this.Ha(m);0==a?(this.Ob(v,this.xe,0),this.Ob(u,this.xe,1736==n?m:0)):5==a?(q=new d.b,this.a.w(g,q),g=new d.b,this.a.w(p,g),k=p=0,0>q.compare(g)?p=1:k=-1,this.Ob(v,this.xe,0),this.Ob(u,this.xe,0),this.Ob(u,this.xg,p),this.Ob(v,this.xg,k)):7==a?(this.Ob(v,this.xe,this.sp),this.Ob(u,this.xe,1736==n?m:0)):4==a&&(this.Ob(v,this.xe,0),this.Ob(u,this.xe,0),this.Ob(u,this.Tg,1),this.Ob(v,this.Tg,1));n=1736==n?this.aQ:0;this.Mx(u,m|n);this.Mx(v,
- m|n)}}}}};a.prototype.TV=function(a,b){var c=this.an(b);if(-1!=c){var d=this.an(a);this.Eh.P(c,1,d);this.tu(a,c);this.tu(b,-1)}a=this.za(a);b=this.za(b);c=this.an(b);-1!=c&&(d=this.an(a),this.Eh.P(c,1,d),this.tu(a,c),this.tu(b,-1))};a.prototype.BY=function(a){function b(a,b){return h.JQ(a,b)}var c=new d.ia(0);c.yb(10);for(var h=this,g=this.rf;-1!=g;g=this.og(g)){c.clear(!1);var k=this.kf(g);if(-1!=k){var m=k;do c.add(m),m=this.qc(this.za(m));while(m!=k);if(1<c.size){m=!0;if(2<c.size)c.Gd(0,c.size,
- b),c.add(c.get(0));else if(0<this.IQ(c.get(0),c.get(1))){var n=c.get(0);c.set(0,c.get(1));c.set(1,n)}else m=!1;for(var p=n=c.get(0),q=this.Xf(p),u=this.za(p),v=-1,x=1,w=c.size;x<w;x++){var y=c.get(x),D=this.za(y),z=this.Jk(D);if(z==q&&y!=p){if(0==a)v=this.VG(p)|this.VG(y),this.Mx(p,v),this.Mx(u,v),this.Ob(p,this.xe,this.Kb(p,this.xe)|this.Kb(y,this.xe)),this.Ob(u,this.xe,this.Kb(u,this.xe)|this.Kb(D,this.xe));else if(-1!=this.xg)v=this.Kb(p,this.xg)+this.Kb(y,this.xg),D=this.Kb(u,this.xg)+this.Kb(D,
- this.xg),this.Ob(p,this.xg,v),this.Ob(u,this.xg,D);else{if(7==a){this.mj=new d.$d(5,g,-1);return}-1!=this.Tg&&(v=this.Kb(p,this.Tg)+this.Kb(y,this.Tg),D=this.Kb(u,this.Tg)+this.Kb(D,this.Tg),this.Ob(p,this.Tg,v),this.Ob(u,this.Tg,D))}this.TV(p,y);this.rz(y);v=p;c.set(x,-1);y==n&&(c.set(0,-1),n=-1)}else this.dy(v,!1),v=-1,p=y,q=z,u=D}this.dy(v,!1);v=-1;if(m){n=-1;x=0;for(w=c.size;x<w;x++)if(y=c.get(x),-1!=y)if(-1==n)p=n=y,q=this.Xf(p),u=this.za(p);else if(y!=p&&(D=this.za(y),z=this.Jk(D),this.xm(u,
- y),this.ym(y,u),p=y,q=z,u=D,7==a&&(this.Kb(y,this.xe)|this.Kb(this.Te(y),this.xe))==(this.sp|1))){this.mj=new d.$d(5,g,-1);return}this.co(g,n)}else{n=-1;x=0;for(w=c.size;x<w;x++)if(y=c.get(x),-1!=y){n=y;break}k!=n&&this.co(g,n)}}}}};a.prototype.YP=function(){for(var a=-1,b=this.xh(),f=this.rf;-1!=f;f=this.og(f)){var h=this.kf(f);if(-1!=h){var g=h;do{if(1!=this.Kb(g,b)){var k=this.uJ();this.ru(k,g);this.qK(k,a);-1!=a&&this.sK(a,k);var a=k,m=0,n=g;do m|=this.Kb(n,this.xe),this.UX(n,k),this.Ob(n,b,1),
- n=this.qc(n);while(n!=g);this.rh(k,m)}g=this.qc(this.za(g))}while(g!=h)}}k=this.uJ();this.ru(k,-1);this.qK(k,a);-1!=a&&this.sK(a,k);this.km=k;this.No=d.Sd.yd(this.Ye.size,NaN);this.SA=d.Sd.yd(this.Ye.size,NaN);this.pK(this.km,Infinity);this.rK(this.km,Infinity);this.ni(b)};a.prototype.hT=function(a,b,d){b=-1!=b?b:this.kf(a);if(-1==b)return-1;for(a=b;;){if(1!=this.Kb(b,d))return b;b=this.qc(this.za(b));if(b==a)return-1}};a.prototype.uX=function(){for(var a=this.xh(),b=this.rf;-1!=b;b=this.og(b))for(var d=
- -1;;){var h=this.hT(b,d,a);if(-1==h)break;for(var d=this.qc(this.za(h)),g=h;;){var k=this.qc(g),m=this.Te(g),n=this.za(g);if(m==n){this.DR(g);if(d==g||d==n)d=-1;if(g==h||m==h){h=k;if(g==h||m==h)break;g=k;continue}}else this.Ob(g,a,1);g=k;if(g==h)break}}};a.prototype.lC=function(a,b,f,h){this.qh();this.rI=h;this.a=a;this.pr=this.a.gG();a=new d.ia(0);a.yb(null!=f?this.a.D(f.get(0)):this.a.ud);var c=0,e=1,g=null!=f?f.get(0):this.a.rd;for(h=1;-1!=g;){this.a.wK(g,this.pr,e);for(var e=e<<1,m=this.a.Pb(g);-1!=
- m;m=this.a.Sb(m))for(var n=this.a.cb(m),q=0,u=this.a.Ka(m);q<u;q++)a.add(n),n=this.a.U(n);d.T.Jo(this.a.hc(g))||(c+=this.a.aa(g));null!=f?(g=h<f.size?f.get(h):-1,h++):g=this.a.Ue(g)}this.sp=e;this.qa=a.size;this.a.Wx(a,this.qa);null==this.Eh&&(this.Eh=new d.ad(2),this.De=new d.ad(8),this.Rc=new d.ad(8),this.Ye=new d.ad(8));this.Eh.Qe(this.qa);this.De.Qe(this.qa+10);this.Rc.Qe(2*this.qa+32);this.Ye.Qe(Math.max(32,c));this.rn=this.a.Vd();f=new d.b;h=0;c=new d.b;f.$c();for(e=0;e<=this.qa;e++)if(e<this.qa?
- (n=a.get(e),this.a.w(n,c)):c.$c(),!f.ub(c)){if(h<e){n=this.Nn();for(u=q=-1;h<e;h++)u=a.get(h),this.a.Va(u,this.rn,n),g=this.Eh.Pe(),this.Eh.P(g,0,u),this.Eh.P(g,1,q),q=g,m=this.a.ld(u),g=this.a.ng(m),g=this.Ha(g),this.OX(n,this.Nd(n)|g);this.PX(n,q);this.Ur(n,this.a.Za(u));-1!=this.It&&this.bY(this.It,n);this.eY(n,this.It);this.It=n;-1==this.rf&&(this.rf=n)}h=e;f.L(c)}this.xe=this.xh();5==b&&(this.xg=this.xh());4==b&&(this.Tg=this.xh());this.sR(b,a);0==this.mj.Ii&&(this.BY(b),0==this.mj.Ii&&(isNaN(this.TA)||
- this.zQ()?(this.YP(),0==this.mj.Ii&&(this.ni(this.xe),this.xe=-1,this.rI&&this.AW(b))):this.WA=!0))};a.prototype.rz=function(a){var b=this.qc(a),c=this.Te(a),d=this.za(a),g=this.qc(d),k=this.Te(d);b!=d&&(this.xm(k,b),this.ym(b,k));c!=d&&(this.xm(c,g),this.ym(g,c));c=this.Jk(a);this.kf(c)==a&&(g!=a?this.co(c,g):this.co(c,-1));g=this.Jk(d);this.kf(g)==d&&(b!=d?this.co(g,b):this.co(g,-1));this.Rc.kd(a);this.Rc.kd(d)};a.prototype.XG=function(a,b){for(;;)if(b=a.Ve(b),-1!=b){var c=a.ja(b);if(this.Ef(c)!=
- this.Ef(this.za(c)))return c}else return-1};a.prototype.Vr=function(a,b,d){void 0===d&&(d=!0);this.lC(a,0,null,d)};a.prototype.lK=function(a,b){var c=new d.ia(0);c.add(b);this.lC(a,4,c,1736==a.hc(b))};a.prototype.mK=function(a,b){var c=new d.ia(0);c.add(b);this.lC(a,5,c,!0)};a.prototype.qh=function(){null!=this.a&&(-1!=this.pr&&(this.a.tX(this.pr),this.pr=-1),-1!=this.rn&&(this.a.ke(this.rn),this.rn=-1),-1!=this.qr&&(this.a.ke(this.qr),this.qr=-1),-1!=this.xe&&(this.ni(this.xe),this.xe=-1),-1!=this.xg&&
- (this.ni(this.xg),this.xg=-1),-1!=this.Tg&&(this.ni(this.Tg),this.Tg=-1),this.a=null,this.De.Vi(!0),this.Eh.Vi(!0),this.It=this.rf=-1,null!=this.Rc&&this.Rc.Vi(!0),null!=this.fj&&(this.fj.length=0),null!=this.cj&&(this.cj.length=0),null!=this.sI&&(this.sI.length=0),null!=this.Ye&&this.Ye.Vi(!0),this.km=-1,this.No=null)};a.prototype.kf=function(a){return this.De.S(a,2)};a.prototype.w=function(a,b){this.a.oH(this.VS(a),b)};a.prototype.Nd=function(a){return this.De.S(a,1)};a.prototype.og=function(a){return this.De.S(a,
- 4)};a.prototype.Jz=function(a){return this.De.S(a,6)};a.prototype.Zm=function(a){return this.De.S(a,7)};a.prototype.ft=function(a){return this.Eh.S(a,1)};a.prototype.Uj=function(a){return this.Eh.S(a,0)};a.prototype.Hg=function(a,b){b=this.cj[b];return b.size<=a?-1:b.read(a)};a.prototype.eo=function(a,b,d){b=this.cj[b];b.size<=a&&b.resize(this.De.size,-1);b.write(a,d)};a.prototype.wq=function(){null==this.cj&&(this.cj=[]);for(var a=d.ia.yd(this.De.xd,-1),b=0,f=this.cj.length;b<f;b++)if(null==this.cj[b])return this.cj[b]=
- a,b;this.cj.push(a);return this.cj.length-1};a.prototype.xq=function(a){this.cj[a]=null};a.prototype.Jk=function(a){return this.Rc.S(a,1)};a.prototype.Xf=function(a){return this.Jk(this.za(a))};a.prototype.za=function(a){return this.Rc.S(a,4)};a.prototype.Te=function(a){return this.Rc.S(a,5)};a.prototype.qc=function(a){return this.Rc.S(a,6)};a.prototype.Ef=function(a){return this.Rc.S(a,2)};a.prototype.Ff=function(a){return this.Hk(this.Rc.S(a,2))};a.prototype.an=function(a){return this.Rc.S(a,7)};
- a.prototype.Xs=function(a,b){this.w(this.Jk(a),b)};a.prototype.$m=function(a,b){this.w(this.Xf(a),b)};a.prototype.Ah=function(a){return this.Rc.S(a,3)&this.bQ};a.prototype.Kb=function(a,b){b=this.fj[b];return b.size<=a?-1:b.read(a)};a.prototype.Ob=function(a,b,d){b=this.fj[b];b.size<=a&&b.resize(this.Rc.size,-1);b.write(a,d)};a.prototype.xh=function(){null==this.fj&&(this.fj=[]);for(var a=d.ia.yd(this.Rc.xd,-1),b=0,f=this.fj.length;b<f;b++)if(null==this.fj[b])return this.fj[b]=a,b;this.fj.push(a);
- return this.fj.length-1};a.prototype.ni=function(a){this.fj[a]=null};a.prototype.DR=function(a){var b=this.Ef(a),c=this.qc(a);c==this.za(a)&&(c=this.qc(c),c==a&&(c=-1));this.LG(b)==a&&this.ru(b,c);c=this.No.read(b);isNaN(c)||(this.pK(b,NaN),this.rK(b,NaN));this.dy(a,!0);this.rz(a)};a.prototype.ER=function(a){for(var b=0,c=a.size;b<c;b++){var d=a.get(b),g=this.Ef(this.za(d));this.ru(this.Ef(d),-1);this.ru(g,-1);this.dy(d,!0);this.rz(d)}};a.prototype.LG=function(a){return this.Ye.S(a,1)};a.prototype.Hk=
- function(a){return this.Ye.S(a,2)};a.prototype.vo=function(a){return this.Ye.S(a,3)};a.prototype.US=function(a){return this.Ye.S(a,4)};a.prototype.Dq=function(a){var b=this.No.read(a);isNaN(b)&&(this.gZ(a),b=this.No.read(a));return b};a.prototype.Ha=function(a){return this.a.UG(a,this.pr)};a.prototype.jf=function(a){return this.a.Sa(a,this.rn)};a.prototype.kT=function(a){return this.a.Sa(a,this.qr)};a.prototype.jT=function(a,b){var c=this.kf(a);if(-1==c)return-1;var d=c,e=-1,g=-1;do{if(this.Xf(d)==
- b)return d;if(-1==e){e=this.kf(b);if(-1==e)break;g=e}if(this.Xf(g)==a)return d=this.za(g);d=this.qc(this.za(d));g=this.qc(this.za(g))}while(d!=c&&g!=e);return-1};a.prototype.PB=function(a,b){b.Is();b=b.get();var c=new d.b;this.Xs(a,c);b.Mc(c);this.$m(a,c);b.Zc(c)};a.prototype.JQ=function(a,b){if(a==b)return 0;var c=new d.b;this.$m(a,c);var e=new d.b;this.$m(b,e);if(c.ub(e))return 0;b=new d.b;this.Xs(a,b);a=new d.b;a.zc(c,b);c=new d.b;c.zc(e,b);return d.b.us(a,c)};a.prototype.IQ=function(a,b){if(a==
- b)return 0;var c=new d.b;this.$m(a,c);var e=new d.b;this.$m(b,e);if(c.ub(e))return 0;b=new d.b;this.Xs(a,b);a=new d.b;a.zc(c,b);c=new d.b;c.zc(e,b);return 0<=c.y&&0<a.y?d.b.us(a,c):0};a.prototype.zQ=function(){for(var a=d.Ub.Xx(this.TA),b=new d.b,f=new d.b,g=new d.b,l=new d.b,k=new d.b,m=this.rf;-1!=m;m=this.og(m)){var n=this.kf(m);if(-1!=n){var p=n;this.Xs(p,b);this.$m(p,f);k.zc(f,b);var q=k.pk();do{var u=p,p=this.qc(this.za(p));if(p!=u){this.$m(p,g);l.zc(g,b);var u=l.pk(),v=l.Ui(k);if(v*v/(u*q)*
- Math.min(u,q)<=a)return!1;k.L(l);q=u;f.L(g)}}while(p!=n)}}return!0};return a}();d.Pu=m})(n||(n={}));(function(d){var m=function(){function g(){this.i=null;this.zI=new d.b;this.AI=new d.b;this.Mh=null;this.ot=!1;this.Wo=-1}g.prototype.Gf=function(b){return b<this.Mh.length?this.Mh[b]:!1};g.prototype.Hl=function(b,a,c,e){var f=d.T.lf(this.i.a.hc(c));if(2==d.T.lf(this.i.a.hc(a))&&1==f)this.yR(b,a,c,e);else throw d.f.ya();};g.prototype.Vr=function(b,a){null==this.i&&(this.i=new d.Pu);this.i.Vr(b,a)};
- g.prototype.Wr=function(b,a,c){d.rk.V(b,a,c,!0);for(a=b.rd;-1!=a;a=b.Ue(a))1736==b.hc(a)&&d.lo.V(b,a,-1,this.ot,c);this.Vr(b,c)};g.prototype.RF=function(b,a,c,d,f){var e=this.i.a;if(1736==e.hc(b))for(b=e.Pb(b);-1!=b;b=e.Sb(b)){var g=e.cb(b);this.i.jf(g);this.i.jf(e.U(g));var k=this.i.kT(g);if(-1!=k){var m=this.i.Kb(k,c);if(1!=m&&2!=m)if(this.Gf(this.i.Ff(k))){this.i.Ob(k,c,1);var m=e.Yf(a,-1),n=k,p=this.i.jf(g),q=1;do{var u=this.hn(g,f);e.Kj(m,u);-1!=d&&this.i.eo(p,d,1);this.i.Ob(n,c,1);var n=this.i.qc(n),
- v;do u=1==q?e.U(g):e.Ra(g),v=-1!=u?this.i.jf(u):-1;while(v==p);var x=this.i.Jk(n);if(x!=v){do u=1==q?e.Ra(g):e.U(g),v=-1!=u?this.i.jf(u):-1;while(v==p);x!=v?(v=x,u=this.i.Uj(this.i.Zm(v))):q=-q}p=v;g=u}while(n!=k);e.ao(m,!0)}else this.i.Ob(k,c,2)}}};g.prototype.mG=function(){for(var b=this.i.xh(),a=new d.ia(0),c=this.i.rf;-1!=c;c=this.i.og(c)){var e=this.i.kf(c),f=e;if(-1!=e){do{if(1!=this.i.Kb(f,b)){var g=this.i.za(f);this.i.Ob(g,b,1);this.i.Ob(f,b,1);this.Gf(this.i.Ff(f))&&this.Gf(this.i.Ff(g))&&
- a.add(f)}f=this.i.qc(this.i.za(f))}while(f!=e)}}this.i.ni(b);this.i.ER(a)};g.prototype.hn=function(b,a){return-1==a?b:this.UT(b,a)};g.prototype.UT=function(b,a){var c=this.i.a,d,f,g=this.i.Zm(this.i.jf(b));do{d=this.i.Uj(g);f=c.ng(c.ld(d));if(f==a)return d;g=this.i.ft(g)}while(-1!=g);return b};g.prototype.ds=function(b,a,c){this.mG();var e=this.i.a,f=e.bh(1736),g=this.i.xh();this.gL(b,a,f,c,g,-1);this.i.ni(g);d.lo.V(e,f,1,this.ot,null);return f};g.prototype.gL=function(b,a,c,d,f,g){this.RF(b,c,f,
- g,d);-1!=a&&this.RF(a,c,f,g,d);b=this.i.a;for(a=this.i.rf;-1!=a;a=this.i.og(a)){var e=this.i.kf(a);if(-1!=e){var h=e;do{var m=this.i.Kb(h,f);if(1!=m&&2!=m)if(this.Gf(this.i.Ff(h))){var m=b.Yf(c,-1),n=h;do{var p=this.i.an(n);-1!=p?p=this.i.Uj(p):(p=this.i.Uj(this.i.an(this.i.za(n))),p=this.i.a.U(p));p=this.hn(p,d);b.Kj(m,p);this.i.Ob(n,f,1);-1!=g&&(p=this.i.jf(p),this.i.eo(p,g,1));n=this.i.qc(n)}while(n!=h);b.ao(m,!0)}else this.i.Ob(h,f,2);h=this.i.qc(this.i.za(h))}while(h!=e)}}};g.prototype.TY=function(b,
- a,c){var e=this.i.a,f=e.bh(1736),g=e.bh(1607),l=e.bh(550);this.mG();var k=-1,m=this.i.xh(),n=this.i.wq();this.gL(b,a,f,c,m,n);for(b=this.i.rf;-1!=b;b=this.i.og(b))if(a=this.i.kf(b),-1!=a){var p=a;do{var q=this.i.Kb(p,m),u=this.i.Kb(this.i.za(p),m),q=q|u;if(2==q)if(q=this.i.Ah(p),this.Gf(q)){var v=e.Yf(g,-1),x=p,q=this.Ix(b,e),q=this.hn(q,c);e.Kj(v,q);this.i.eo(b,n,1);do{q=this.i.Xf(x);u=this.Ix(q,e);u=this.hn(u,c);e.Kj(v,u);this.i.Ob(x,m,1);this.i.Ob(this.i.za(x),m,1);this.i.eo(q,n,1);x=this.i.qc(x);
- q=this.i.Kb(x,m);u=this.i.Kb(this.i.za(x),m);q|=u;if(2!=q)break;q=this.i.Ah(x);if(!this.Gf(q)){this.i.Ob(x,m,1);this.i.Ob(this.i.za(x),m,1);break}}while(x!=p)}else this.i.Ob(p,m,1),this.i.Ob(this.i.za(p),m,1);p=this.i.qc(this.i.za(p))}while(p!=a)}for(b=this.i.rf;-1!=b;b=this.i.og(b))q=this.i.Hg(b,n),1!=q&&(q=this.i.Nd(b),this.Gf(q)&&(-1==k&&(k=e.Yf(l,-1)),a=this.i.Zm(b),-1!=a&&(a=this.i.Uj(a),q=this.hn(a,c),e.Kj(k,q))));this.i.xq(n);this.i.ni(m);d.lo.V(e,f,1,this.ot,null);c=[];c[0]=l;c[1]=g;c[2]=
- f;return c};g.prototype.Ix=function(b,a){var c=-1;for(b=this.i.Zm(b);-1!=b;b=this.i.ft(b)){var d=this.i.Uj(b);-1==c&&(c=d);var f=this.i.Ha(a.ng(a.ld(d)));if(this.Gf(f)){c=d;break}}return c};g.prototype.MB=function(b,a){for(var c=this.i.Jk(a),e=this.i.Xf(a),f=0,g=0,l=this.i.Zm(c);-1!=l;l=this.i.ft(l)){var k=this.i.Uj(l),m=b.ld(k),n=this.i.Ha(b.ng(m)),p=b.U(k),q=b.Ra(k),m=b.cb(m);m==k&&(this.Wo=a);-1!=p&&this.i.jf(p)==e?(f++,this.Gf(n)&&(m==p&&(this.Wo=this.i.qc(a)),g++)):-1!=q&&this.i.jf(q)==e&&(f--,
- this.Gf(n)&&(m==q&&(this.Wo=this.i.qc(a)),g--))}this.i.w(c,this.zI);this.i.w(e,this.AI);c=d.b.Cb(this.zI,this.AI);return(0!=g?g:f)*c};g.prototype.Fq=function(b){return this.i.Ah(b)|this.i.Ff(b)|this.i.Ff(this.i.za(b))};g.prototype.lL=function(b){for(var a=this.i.za(this.i.Te(b)),c=-1;a!=b;){if(this.Gf(this.Fq(a))){if(-1!=c)return-1;c=a}a=this.i.za(this.i.Te(a))}return-1!=c?this.i.za(c):-1};g.prototype.mL=function(b){for(var a=this.i.za(this.i.qc(b)),c=-1;a!=b;){if(this.Gf(this.Fq(a))){if(-1!=c)return-1;
- c=a}a=this.i.za(this.i.qc(a))}return-1!=c?this.i.za(c):-1};g.prototype.bK=function(b,a,c,e,f){var g=this.i.a,l=b,k=this.i.za(l);this.i.Ob(l,c,1);this.i.Ob(k,c,1);var m=this.MB(g,l);this.Wo=-1;for(var n=l,p=-1,q=!1,u=1;;){var v=this.i.Te(l);if(v==k)break;k=this.i.qc(k);if(this.i.za(v)!=k)if(l=this.lL(l),-1==l)break;else q=!0,k=this.i.za(l);else l=v;if(l==b){p=b;break}v=this.Fq(l);if(!this.Gf(v))break;this.i.Ob(l,c,1);this.i.Ob(k,c,1);n=l;m+=this.MB(g,l);u++}if(-1==p)for(l=b,k=this.i.za(l),p=l;;){b=
- this.i.qc(l);if(b==k)break;k=this.i.Te(k);if(this.i.za(b)!=k)if(l=this.mL(l),-1==l){q=!0;break}else k=this.i.za(l);else l=b;v=this.Fq(l);if(!this.Gf(v))break;this.i.Ob(l,c,1);this.i.Ob(k,c,1);p=l;m+=this.MB(g,l);u++}else if(-1!=this.Wo&&(n=this.Wo,p=this.i.Te(this.Wo),this.i.za(p)!=this.i.qc(this.i.za(n))&&(p=this.lL(n),-1==p)))throw d.f.ya();0<=m||(l=p,p=this.i.za(n),n=this.i.za(l));c=g.Yf(a,-1);l=n;n=this.i.Jk(n);q=this.i.Xf(p)==n&&q;m=this.Ix(n,g);m=this.hn(m,f);g.Kj(c,m);-1!=e&&this.i.eo(n,e,
- 1);n=0;for(u=q?d.J.truncate((u+1)/2):-1;;){b=this.i.Xf(l);m=this.Ix(b,g);m=this.hn(m,f);g.Kj(c,m);n++;-1!=e&&this.i.eo(b,e,1);q&&n==u&&(c=g.Yf(a,-1),g.Kj(c,m));if(l==p)break;b=this.i.qc(l);if(this.i.Te(this.i.za(l))!=this.i.za(b)){if(l=this.mL(l),-1==l)throw d.f.ya();}else l=b}};g.prototype.es=function(b){for(var a=this.i.a.bh(1607),c=this.i.xh(),d=this.i.rf;-1!=d;d=this.i.og(d)){var f=this.i.kf(d),g=f;do 1!=this.i.Kb(g,c)&&this.Gf(this.Fq(g))&&this.bK(g,a,c,-1,b),g=this.i.qc(this.i.za(g));while(g!=
- f)}this.i.ni(c);return a};g.prototype.UY=function(b){for(var a=this.i.a,c=a.bh(1607),d=a.bh(550),f=this.i.xh(),g=this.i.wq(),l=-1,m=this.i.rf;-1!=m;m=this.i.og(m)){var n=this.i.kf(m),t=n;do{var p=this.i.Kb(t,f);1!=p&&(p=this.Fq(t),this.Gf(p)&&this.bK(t,c,f,g,b));t=this.i.qc(this.i.za(t))}while(t!=n)}for(m=this.i.rf;-1!=m;m=this.i.og(m))p=this.i.Hg(m,g),1!=p&&(p=this.i.Nd(m),this.Gf(p)&&(-1==l&&(l=a.Yf(d,-1)),n=this.i.Zm(m),-1!=n&&(n=this.i.Uj(n),n=this.hn(n,b),a.Kj(l,n))));this.i.ni(f);this.i.xq(g);
- b=[];b[0]=d;b[1]=c;return b};g.prototype.Qp=function(){for(var b=this.i.a,a=b.bh(550),c=b.Yf(a,-1),d=this.i.rf;-1!=d;d=this.i.og(d))if(this.Gf(this.i.Nd(d))){for(var f=-1,g=this.i.Zm(d);-1!=g;g=this.i.ft(g)){var m=this.i.Uj(g);-1==f&&(f=m);var k=this.i.Ha(b.ng(b.ld(m)));if(this.Gf(k)){f=m;break}}b.Kj(c,f)}return a};g.prototype.Do=function(b){this.Mh=[];for(var a=0;a<b;a++)this.Mh[a]=!1};g.uD=function(b,a,c,e){var f=b.Ja(),g=Array(1E3);d.J.Mv(g,null);var m=d.J.gf(1E3,0),k=b.D(),n=!0,t=2==a.tb();if(1!=
- a.tb()&&2!=a.tb())throw d.f.ya();for(var p=0;p<k;){var q=d.J.truncate(b.dX(g,p)-p);t?d.gd.eL(a,g,q,c,m):d.gd.fL(a,g,q,c,m);for(var u=0,v=0;v<q;v++){var x=0==m[v];e||(x=!x);x&&(n&&(n=!1,f.Jd(b,0,p)),u!=v&&f.Jd(b,p+u,p+v),u=v+1)}n||u==q||f.Jd(b,p+u,p+q);p+=q}return n?b:f};g.LH=function(b,a,c){return b instanceof d.Ed?g.uD(b,a,c,!0):a instanceof d.Wa?b.u()||a.u()?b.Ja():d.rk.xJ(c,b,a)?d.rk.EQ(b,a):b.Ja():g.wD(b,a,c,!0)};g.mw=function(b,a,c,e){var f=new d.h;b.s(f);var h=new d.h;a.s(h);var m=new d.h;m.I(f);
- m.Nb(h);c=d.ma.be(c,m,!0);m=new d.h;m.I(h);h=d.ma.Bs(c);m.O(h,h);if(!f.Yb(m)){if(b.tb()<=a.tb())return g.bd(g.Bb(b.Ja()),b,"\x26");if(b.tb()>a.tb())return g.bd(g.Bb(a.Ja()),b,"\x26")}h=new g;f=new d.fd;m=f.Jb(g.Bb(b));a=f.Jb(g.Bb(a));h.Wr(f,c,e);e=h.mw(m,a);b=g.bd(f.Se(e),b,"\x26");d.T.Ic(b.G())&&(b.Zg(2,c),1736==b.G()&&b.Al());return b};g.wD=function(b,a,c,e){if(b.u())return b.Ja();if(a.u())return e?b.Ja():null;var f=[null],g=[0],m=2==a.tb();if(1!=a.tb()&&2!=a.tb())throw d.f.ya();f[0]=b.w();m?d.gd.eL(a,
- f,1,c,g):d.gd.fL(a,f,1,c,g);a=0==g[0];e||(a=!a);return a?b.Ja():b};g.SZ=function(b,a,c){return b instanceof d.Ed?g.uD(b,a,c,!1):a instanceof d.Wa?b.u()?b.Ja():a.u()?b:d.rk.xJ(c,b,a)?b.Ja():b:g.wD(b,a,c,!1)};g.prototype.CJ=function(b,a,c,e,f){if(b.u())return b;var g=new d.fd;b=g.Jb(b);return this.ol(g,b,a,c,e,f)};g.prototype.yW=function(b,a,c,e,f,g){if(f&&550!=b.hc(a)){var h=new d.VD;h.LY(b,c);h.ih?(d.rk.V(b,c,g,!0),f=!1):this.i.dz(c)}else d.rk.V(b,c,g,!0),f=!1;e&&550!=b.hc(a)?this.i.mK(b,a):this.i.lK(b,
- a);if(this.i.WA)return this.i.qh(),this.i=null,this.ol(b,a,c,e,!1,g);this.i.dz(NaN);g=this.i.Ha(a);this.Do(g+1);this.Mh[g]=!0;if(1736==b.hc(a)||e&&550!=b.hc(a))return b.Hp(a,0),a=this.ds(a,-1,-1),b=b.Se(a),b.Hp(0),f?b.Zg(1,0):(b.Zg(2,c),b.Al()),b;if(1607==b.hc(a))return a=this.es(-1),b=b.Se(a),f||b.Zg(2,c),b;if(550==b.hc(a))return a=this.Qp(),b=b.Se(a),f||b.Zg(2,c),b;throw d.f.ya();};g.prototype.ol=function(b,a,c,e,f,g){this.i=new d.Pu;try{return this.yW(b,a,c,e,f,g)}finally{this.i.qh()}};g.ol=function(b,
- a,c,d,f){return(new g).CJ(b,a,c,d,f)};g.prototype.xW=function(b,a,c){this.ot=b;this.i=new d.Pu;b=a.xo(c);var e=a.hc(c);1!=b||550==e?this.i.lK(a,c):this.i.mK(a,c);if(!this.i.WA)if(this.i.dz(NaN),e=this.i.Ha(c),this.Do(e+1),this.Mh[e]=!0,1736==a.hc(c)||1==b&&550!=a.hc(c))a.Hp(c,0),b=this.ds(c,-1,-1),a.DC(b,c),a.$B(b);else if(1607==a.hc(c))b=this.es(-1),a.DC(b,c),a.$B(b);else if(550==a.hc(c))b=this.Qp(),a.DC(b,c),a.$B(b);else throw d.f.X("internal error");};g.CC=function(b,a,c,d){var e=new g;e.ot=!0;
- return e.CJ(b,a,!1,c,d)};g.prototype.Wm=function(b,a){var c=d.T.lf(this.i.a.hc(b)),e=d.T.lf(this.i.a.hc(a));if(c>e)return b;var f=this.i.Ha(b),g=this.i.Ha(a);this.Do((f|g)+1);this.Mh[this.i.Ha(b)]=!0;if(2==c&&2==e)return this.ds(b,a,-1);if(1==c&&2==e||1==c&&1==e)return this.es(-1);if(0==c)return this.Qp();throw d.f.ya();};g.prototype.lG=function(b,a){var c=d.T.lf(this.i.a.hc(b)),e=d.T.lf(this.i.a.hc(a));if(c>e)return b;if(c<e)return a;var f=this.i.Ha(b),g=this.i.Ha(a);this.Do((f|g)+1);this.Mh[this.i.Ha(b)]=
- !0;this.Mh[this.i.Ha(a)]=!0;this.Mh[this.i.Ha(b)|this.i.Ha(a)]=!0;if(2==c&&2==e)return this.ds(b,a,-1);if(1==c&&1==e)return this.es(-1);if(0==c&&0==e)return this.Qp();throw d.f.ya();};g.prototype.mw=function(b,a){var c=d.T.lf(this.i.a.hc(b)),e=d.T.lf(this.i.a.hc(a)),f=this.i.Ha(b),g=this.i.Ha(a);this.Do((f|g)+1);this.Mh[this.i.Ha(b)|this.i.Ha(a)]=!0;f=-1;1<this.i.a.Gr.Ea&&(f=b);if(2==c&&2==e)return this.ds(b,a,f);if(1==c&&0<e||1==e&&0<c)return this.es(f);if(0==c||0==e)return this.Qp();throw d.f.ya();
- };g.prototype.uA=function(b,a){var c=d.T.lf(this.i.a.hc(b)),e=d.T.lf(this.i.a.hc(a)),f=this.i.Ha(b),g=this.i.Ha(a);this.Do((f|g)+1);this.Mh[this.i.Ha(b)|this.i.Ha(a)]=!0;f=-1;1<this.i.a.Gr.Ea&&(f=b);if(2==c&&2==e)return this.TY(b,a,f);if(1==c&&0<e||1==e&&0<c)return this.UY(f);if(0==c||0==e)return c=[],c[0]=this.Qp(),c;throw d.f.ya();};g.prototype.Pp=function(b,a){var c=d.T.lf(this.i.a.hc(b)),e=d.T.lf(this.i.a.hc(a)),f=this.i.Ha(b),g=this.i.Ha(a);this.Do((f|g)+1);this.Mh[this.i.Ha(b)]=!0;this.Mh[this.i.Ha(a)]=
- !0;if(2==c&&2==e)return this.ds(b,a,-1);if(1==c&&1==e)return this.es(-1);if(0==c&&0==e)return this.Qp();throw d.f.ya();};g.Bb=function(b){var a=b.G();return 197==a?(a=new d.Ia(b.description),b.u()||a.jd(b,!1),a):33==a?(a=new d.Ed(b.description),b.u()||a.add(b),a):322==a?(a=new d.Ua(b.description),b.u()||a.dc(b,!0),a):b};g.bd=function(b,a,c){var e=b.G();return 197==e?(a=new d.Ia(b.description),b.u()||a.jd(b,!1),a):33!=e||"|"!=c&&"^"!=c?322==e?(a=new d.Ua(b.description),b.u()||a.dc(b,!0),a):33==e&&
- "-"==c&&33==a.G()||550==e&&"\x26"==c&&33==a.G()?(a=new d.Wa(b.description),b.u()||b.Ae(0,a),a):b:(a=new d.Ed(b.description),b.u()||a.add(b),a)};g.Wm=function(b,a,c,e){if(b.u()||a.u()||b.tb()>a.tb())return g.bd(g.Bb(b),b,"-");var f=new d.h;b.s(f);var h=new d.h;a.s(h);if(!f.Yb(h))return g.bd(g.Bb(b),b,"-");var m=new d.h;m.I(f);m.Nb(h);c=d.ma.be(c,m,!0);h=new g;f=new d.fd;m=f.Jb(g.Bb(b));a=f.Jb(g.Bb(a));h.Wr(f,c,e);e=h.Wm(m,a);e=f.Se(e);b=g.bd(e,b,"-");d.T.Ic(b.G())&&(b.Zg(2,c),1736==b.G()&&b.Al());
- return b};g.lG=function(b,a,c,e){if(b.tb()>a.tb())return g.bd(g.Bb(b),b,"|");if(b.tb()<a.tb()||b.u())return g.bd(g.Bb(a),b,"|");if(a.u())return g.bd(g.Bb(b),b,"|");var f=new d.h;b.s(f);var h=new d.h;a.s(h);var m=new d.h;m.I(f);m.Nb(h);c=d.ma.be(c,m,!0);if(!f.Yb(h.mT(c,c)))switch(b=g.Bb(b),a=g.Bb(a),b.G()){case 550:return b=d.T.ne(b),b.Jd(a,0,-1),b;case 1607:return b=d.T.ne(b),b.add(a,!1),b;case 1736:return b=d.T.ne(b),b.add(a,!1),b;default:throw d.f.ya();}h=new g;f=new d.fd;m=f.Jb(g.Bb(b));a=f.Jb(g.Bb(a));
- h.Wr(f,c,e);a=h.lG(m,a);b=g.bd(f.Se(a),b,"|");d.T.Ic(b.G())&&(b.Zg(2,c),1736==b.G()&&b.Al());return b};g.QR=function(b,a,c){if(2>b.length)throw d.f.F("not enough geometries to dissolve");for(var e=0,f=0,h=b.length;f<h;f++)e=Math.max(b[f].tb(),e);var m=new d.h;m.Oa();for(var k=new d.fd,n=-1,t=0,p=-1,f=0,h=b.length;f<h;f++)if(b[f].tb()==e)if(b[f].u())-1==p&&(p=f);else{p=f;-1==n?n=k.Jb(g.Bb(b[f])):k.vP(n,g.Bb(b[f]));var q=new d.h;b[f].ac(q);m.Nb(q);t++}if(2>t)return g.Bb(b[p]);b=2==e;a=d.ma.be(0==e?
- a:null,m,!0);return(new g).ol(k,n,a,b,!0,c)};g.uA=function(b,a,c,e){var f=[null,null,null],h=new d.h;b.s(h);var m=new d.h;a.s(m);var k=new d.h;k.I(h);k.Nb(m);c=d.ma.be(c,k,!0);k=new d.h;k.I(m);m=d.ma.Bs(c);k.O(m,m);if(!h.Yb(k)){if(b.tb()<=a.tb())return b=g.bd(g.Bb(b.Ja()),b,"\x26"),f[b.tb()]=b,f;if(b.tb()>a.tb())return b=g.bd(g.Bb(a.Ja()),b,"\x26"),f[b.tb()]=b,f}m=new g;h=new d.fd;k=h.Jb(g.Bb(b));a=h.Jb(g.Bb(a));m.Wr(h,c,e);e=m.uA(k,a);for(a=0;a<e.length;a++)m=g.bd(h.Se(e[a]),b,"\x26"),d.T.Ic(m.G())&&
- (m.Zg(2,c),1736==m.G()&&m.Al()),f[m.tb()]=m;return f};g.Pp=function(b,a,c,e){if(b.tb()>a.tb())return g.bd(g.Bb(b),b,"^");if(b.tb()<a.tb()||b.u())return g.bd(g.Bb(a),b,"^");if(a.u())return g.bd(g.Bb(b),b,"^");var f=new d.h;b.s(f);var h=new d.h;a.s(h);var m=new d.h;m.I(f);m.Nb(h);c=d.ma.be(c,m,!0);h=new g;f=new d.fd;m=f.Jb(g.Bb(b));a=f.Jb(g.Bb(a));h.Wr(f,c,e);e=h.Pp(m,a);b=g.bd(f.Se(e),b,"^");d.T.Ic(b.G())&&(b.Zg(2,c),1736==b.G()&&b.Al());return b};g.M_=function(b,a,c){a=a.G();c=c.G();return 550==b.G()&&
- (33==a||33==c)&&1>=b.D()?(c=new d.Wa(b.description),b.u()||b.Ae(0,c),c):b};g.prototype.zS=function(b,a){var c=this.i.a;b=c.Yf(b,-1);for(var d=a.size,f=0;f<d;f++){var g=a.get(f);c.Kj(b,g)}c.ao(b,!0)};g.prototype.VX=function(b,a){for(var c=this.i.a,d=c.rd;-1!=d;d=c.Ue(d))if(d==a)for(var f=c.Pb(d);-1!=f;f=c.Sb(f)){var g=c.cb(f);if(-1!=g)for(var m=c.U(g);-1!=m;){var g=this.i.jf(g),k=this.i.jf(m),g=this.i.jT(g,k);-1!=g&&(k=this.i.za(g),this.i.Ob(g,b,1),this.i.Ob(k,b,2));g=m;m=c.U(g)}}};g.prototype.SW=
- function(b,a,c,e){c=this.i.Ha(c);e=this.i.Ha(e);var f=new d.ia(0);f.yb(256);for(var g=this.i.a,m=this.i.xh(),k=this.i.rf;-1!=k;k=this.i.og(k)){var n=this.i.kf(k);if(-1!=n){var t=n;do{if(1!=this.i.Kb(t,m)){var p=t,q=t,u=!1,v=0;do{this.i.Ob(p,m,1);if(!u){var x=this.i.Ah(p);0!=(x&e)&&0!=(this.i.Ff(p)&c)&&(q=p,u=!0)}u&&(f.add(this.i.Uj(this.i.Zm(this.i.Jk(p)))),-1!=b&&(x=this.i.Ah(p),0!=(x&e)&&(x=this.i.Kb(p,b),v|=x)));p=this.i.qc(p)}while(p!=q);u&&0<this.i.Dq(this.i.Ef(q))&&(p=g.bh(1736),this.zS(p,f),
- -1!=a&&g.wK(p,a,v));f.clear(!1)}t=this.i.qc(this.i.za(t))}while(t!=n)}}this.i.ni(m)};g.prototype.yR=function(b,a,c,d){this.i.uX();var e=-1;-1!=b&&(e=this.i.xh(),this.VX(e,c));this.SW(e,b,a,c);var g=this.i.a;b=0;for(e=g.rd;-1!=e;e=g.Ue(e))e!=a&&e!=c&&(d.add(e),b++);d.Gd(0,b,function(a,b){a=g.fA(g.Pb(a));b=g.fA(g.Pb(b));return a<b?-1:a==b?0:1})};g.prototype.qh=function(){null!=this.i&&(this.i.qh(),this.i=null)};return g}();d.Dg=m})(n||(n={}));(function(d){var m=function(){function g(b){void 0!==b?this.Op(b):
- this.oC()}g.prototype.Ux=function(){this.bc=this.Wb=this.zb=this.sb=this.gb=this.lb=0};g.prototype.Eb=function(b){return this==b?!0:b instanceof g?this.lb==b.lb&&this.sb==b.sb&&this.Wb==b.Wb&&this.zb==b.zb&&this.gb==b.gb&&this.bc==b.bc:!1};g.prototype.jc=function(){d.J.Zi();d.J.Zi();d.J.Zi();d.J.Zi();d.J.Zi();return d.J.Zi()};g.prototype.$h=function(b,a){var c=this.zb*b.x+this.gb*b.y+this.bc;a.x=this.lb*b.x+this.sb*b.y+this.Wb;a.y=c};g.prototype.WY=function(b,a,c,d,f){var e=2*a;d*=2;for(a=2*(a+f);e<
- a;e+=2,d+=2){f=b[e];var g=b[e+1];c[d]=this.lb*f+this.sb*g+this.Wb;c[d+1]=this.zb*f+this.gb*g+this.bc}};g.prototype.YY=function(b,a,c){for(var e=0;e<a;e++){var f=b[e].x,g=b[e].y,m=this.lb*f+this.sb*g+this.Wb,f=this.zb*f+this.gb*g+this.bc;null!=c[e]?c[e].ka(m,f):c[e]=d.b.pa(m,f)}};g.prototype.multiply=function(b){g.multiply(this,b,this)};g.multiply=function(b,a,c){var d,f,g,m,k;d=b.lb*a.lb+b.zb*a.sb;f=b.sb*a.lb+b.gb*a.sb;g=b.Wb*a.lb+b.bc*a.sb+a.Wb;m=b.lb*a.zb+b.zb*a.gb;k=b.sb*a.zb+b.gb*a.gb;b=b.Wb*
- a.zb+b.bc*a.gb+a.bc;c.lb=d;c.sb=f;c.Wb=g;c.zb=m;c.gb=k;c.bc=b};g.prototype.Vf=function(){var b=new g;b.lb=this.lb;b.sb=this.sb;b.Wb=this.Wb;b.zb=this.zb;b.gb=this.gb;b.bc=this.bc;return b};g.prototype.JC=function(b){if(!b.u()){for(var a=[],c=0;4>c;c++)a[c]=new d.b;b.OB(a);this.ZY(a,a);b.Lx(a,4)}};g.prototype.ZY=function(b,a){for(var c=0;c<b.length;c++){var e=new d.b,f=b[c];e.x=this.lb*f.x+this.sb*f.y+this.Wb;e.y=this.zb*f.x+this.gb*f.y+this.bc;a[c]=e}};g.prototype.jU=function(b,a){b.u()||a.u()||0==
- b.N()||0==b.fa()?this.Ux():(this.sb=this.zb=0,this.lb=a.N()/b.N(),this.gb=a.fa()/b.fa(),this.Wb=a.o-b.o*this.lb,this.bc=a.A-b.A*this.gb)};g.prototype.XY=function(b){var a=new d.b,c=new d.b;a.ka(this.lb,this.zb);c.ka(this.sb,this.gb);a.sub(a);var e=.5*a.pk();a.ka(this.lb,this.zb);c.ka(this.sb,this.gb);a.add(c);a=.5*a.pk();return b*(e>a?Math.sqrt(e):Math.sqrt(a))};g.prototype.oC=function(){this.lb=1;this.zb=this.Wb=this.sb=0;this.gb=1;this.bc=0};g.prototype.Ho=function(b){if(void 0!==b){var a=d.b.pa(0,
- 1);this.$h(a,a);a.sub(d.b.pa(0,1));if(a.pk()>b*b)return!1;a.ka(0,0);this.$h(a,a);if(a.pk()>b*b)return!1;a.ka(1,0);this.$h(a,a);a.sub(d.b.pa(1,0));return a.pk()<=b*b}return 1==this.lb&&1==this.gb&&0==this.sb&&0==this.Wb&&0==this.zb&&0==this.bc};g.prototype.fh=function(b){return Math.abs(this.lb*this.gb-this.zb*this.sb)<=2*b*(Math.abs(this.lb*this.gb)+Math.abs(this.zb*this.sb))};g.prototype.Ag=function(b,a){this.lb=1;this.sb=0;this.Wb=b;this.zb=0;this.gb=1;this.bc=a};g.prototype.Op=function(b,a){void 0!==
- a?(this.lb=b,this.zb=this.Wb=this.sb=0,this.gb=a,this.bc=0):this.Op(b,b)};g.prototype.wC=function(){this.lb=0;this.sb=1;this.Wb=0;this.zb=1;this.bc=this.gb=0};g.prototype.iY=function(b){this.jY(Math.cos(b),Math.sin(b))};g.prototype.jY=function(b,a){this.lb=b;this.sb=-a;this.Wb=0;this.zb=a;this.gb=b;this.bc=0};g.prototype.shift=function(b,a){this.Wb+=b;this.bc+=a};g.prototype.scale=function(b,a){this.lb*=b;this.sb*=b;this.Wb*=b;this.zb*=a;this.gb*=a;this.bc*=a};g.prototype.rotate=function(b){var a=
- new g;a.iY(b);this.multiply(a)};g.prototype.inverse=function(b){if(void 0!==b){var a=this.lb*this.gb-this.sb*this.zb;0==a?b.Ux():(a=1/a,b.Wb=(this.sb*this.bc-this.Wb*this.gb)*a,b.bc=(this.Wb*this.zb-this.lb*this.bc)*a,b.lb=this.gb*a,b.sb=-this.sb*a,b.zb=-this.zb*a,b.gb=this.lb*a)}else this.inverse(this)};return g}();d.Hd=m})(n||(n={}));(function(d){var m=function(){function g(){}g.prototype.Ux=function(){this.bi=this.bc=this.Wb=this.Df=this.Af=this.zf=this.Cf=this.gb=this.sb=this.Sf=this.zb=this.lb=
- 0};g.prototype.Op=function(b,a,c){this.lb=b;this.sb=this.Sf=this.zb=0;this.gb=a;this.Af=this.zf=this.Cf=0;this.Df=c;this.bi=this.bc=this.Wb=0};g.prototype.JC=function(b){if(b.u())return b;for(var a=new d.qd[8],c=0;8>c;c++)a[c]=new d.qd;b.OB(a);this.transform(a,8,a);b.Lx(a);return b};g.prototype.transform=function(b,a,c){for(var e=0;e<a;e++){var f=new d.qd,g=b[e];f.x=this.lb*g.x+this.sb*g.y+this.zf*g.z+this.Wb;f.y=this.zb*g.x+this.gb*g.y+this.Af*g.z+this.bc;f.z=this.Sf*g.x+this.Cf*g.y+this.Df*g.z+
- this.bi;c[e]=f}};g.prototype.Rp=function(b){var a=new d.qd;a.x=this.lb*b.x+this.sb*b.y+this.zf*b.z+this.Wb;a.y=this.zb*b.x+this.gb*b.y+this.Af*b.z+this.bc;a.z=this.Sf*b.x+this.Cf*b.y+this.Df*b.z+this.bi;return a};g.prototype.Vg=function(b){g.multiply(this,b,this)};g.multiply=function(b,a,c){var d,f,g,m,k,n,t,p,q,u,v;d=b.lb*a.lb+b.zb*a.sb+b.Sf*a.zf;f=b.lb*a.zb+b.zb*a.gb+b.Sf*a.Af;g=b.lb*a.Sf+b.zb*a.Cf+b.Sf*a.Df;m=b.sb*a.lb+b.gb*a.sb+b.Cf*a.zf;k=b.sb*a.zb+b.gb*a.gb+b.Cf*a.Af;n=b.sb*a.Sf+b.gb*a.Cf+b.Cf*
- a.Df;t=b.zf*a.lb+b.Af*a.sb+b.Df*a.zf;p=b.zf*a.zb+b.Af*a.gb+b.Df*a.Af;q=b.zf*a.Sf+b.Af*a.Cf+b.Df*a.Df;u=b.Wb*a.lb+b.bc*a.sb+b.bi*a.zf+a.Wb;v=b.Wb*a.zb+b.bc*a.gb+b.bi*a.Af+a.bc;b=b.Wb*a.Sf+b.bc*a.Cf+b.bi*a.Df+a.bi;c.lb=d;c.zb=f;c.Sf=g;c.sb=m;c.gb=k;c.Cf=n;c.zf=t;c.Af=p;c.Df=q;c.Wb=u;c.bc=v;c.bi=b};g.inverse=function(b,a){var c=b.lb*(b.gb*b.Df-b.Cf*b.Af)-b.zb*(b.sb*b.Df-b.Cf*b.zf)+b.Sf*(b.sb*b.Af-b.gb*b.zf);if(0!=c){var e,f,g,m,k,n,t,p,q,u;p=1/c;c=(b.gb*b.Df-b.Cf*b.Af)*p;g=-(b.sb*b.Df-b.Cf*b.zf)*p;n=
- (b.sb*b.Af-b.gb*b.zf)*p;e=-(b.zb*b.Df-b.Af*b.Sf)*p;m=(b.lb*b.Df-b.Sf*b.zf)*p;t=-(b.lb*b.Af-b.zb*b.zf)*p;f=(b.zb*b.Cf-b.Sf*b.gb)*p;k=-(b.lb*b.Cf-b.Sf*b.sb)*p;p*=b.lb*b.gb-b.zb*b.sb;q=-(b.Wb*c+b.bc*g+b.bi*n);u=-(b.Wb*e+b.bc*m+b.bi*t);b=-(b.Wb*f+b.bc*k+b.bi*p);a.lb=c;a.zb=e;a.Sf=f;a.sb=g;a.gb=m;a.Cf=k;a.zf=n;a.Af=t;a.Df=p;a.Wb=q;a.bc=u;a.bi=b}else throw d.f.X("math singularity");};g.prototype.Vf=function(){var b=new g;b.lb=this.lb;b.zb=this.zb;b.Sf=this.Sf;b.sb=this.sb;b.gb=this.gb;b.Cf=this.Cf;b.zf=
- this.zf;b.Af=this.Af;b.Df=this.Df;b.Wb=this.Wb;b.bc=this.bc;b.bi=this.bi;return b};return g}();d.dO=m})(n||(n={}));(function(d){var m=function(b){function a(a){if(void 0!==a)b.call(this,a.jc(),a);else{b.call(this);this.wg=[];this.wg[0]=0;this.Ea=1;this.Sh=[];for(a=0;10>a;a++)this.Sh[a]=-1;this.Sh[this.wg[0]]=0}this.Yq=!0}O(a,b);a.prototype.Ud=function(a){this.hasAttribute(a)||(this.Sh[a]=0,this.BE())};a.prototype.removeAttribute=function(a){if(0==a)throw d.f.F("Position attribue cannot be removed");
- this.hasAttribute(a)&&(this.Sh[a]=-1,this.BE())};a.prototype.reset=function(){this.wg[0]=0;this.Ea=1;for(var a=0;a<this.Sh.length;a++)this.Sh[a]=-1;this.Sh[this.wg[0]]=0;this.Yq=!0};a.prototype.Nz=function(){return g.zo().add(this)};a.Ig=function(){return g.zo().ST()};a.eq=function(){return g.zo().TT()};a.prototype.IO=function(){var a=this.jc();return new d.na(a,this)};a.prototype.BE=function(){for(var a=this.Ea=0,b=0;10>a;a++)0<=this.Sh[a]&&(this.wg[b]=a,this.Sh[a]=b,b++,this.Ea++);this.Yq=!0};a.prototype.jc=
- function(){this.Yq&&(this.bm=this.zk(),this.Yq=!1);return this.bm};a.prototype.Eb=function(b){if(null==b)return!1;if(b==this)return!0;if(!(b instanceof a)||b.Ea!=this.Ea)return!1;for(var c=0;c<this.Ea;c++)if(this.wg[c]!=b.wg[c])return!1;return this.Yq!=b.Yq?!1:!0};a.prototype.RH=function(a){if(a.Ea!=this.Ea)return!1;for(var b=0;b<this.Ea;b++)if(this.wg[b]!=a.wg[b])return!1;return!0};a.ux=function(a,b){for(var c=[],d=0;d<a.Ea;d++)c[d]=-1;for(var d=0,e=a.Ea;d<e;d++)c[d]=b.mg(a.zd(d));return c};a.tT=
- function(b,d){b=new a(b);b.Ud(d);return b.Nz()};a.uT=function(b,d){for(var c=null,e=0;10>e;e++)!b.hasAttribute(e)&&d.hasAttribute(e)&&(null==c&&(c=new a(b)),c.Ud(e));return null!=c?c.Nz():b};a.rs=function(b,d){b=new a(b);b.removeAttribute(d);return b.Nz()};return a}(d.na);d.ye=m;var g=function(){function b(){this.map=[];var a=new m;this.add(a);a=new m;a.Ud(1);this.add(a)}b.zo=function(){return b.hV};b.prototype.ST=function(){return b.aq};b.prototype.TT=function(){return b.bq};b.prototype.add=function(a){var c=
- a.jc();if(null!=b.aq&&b.aq.jc()==c&&a.RH(b.aq))return b.aq;if(null!=b.bq&&b.bq.jc()==c&&a.RH(b.bq))return b.bq;var d=null;void 0!==this.map[c]&&(d=this.map[c]);null==d&&(d=a.IO(),1==d.Ea?b.aq=d:2==d.Ea&&1==d.zd(1)?b.bq=d:this.map[c]=d);return d};b.hV=new b;return b}()})(n||(n={}));var N=0==ua.version.indexOf("4."),ta;(function(d){d[d.Linear=0]="Linear";d[d.Angular=1]="Angular";d[d.Area=2]="Area";d[d.LinearOrAngular=3]="LinearOrAngular"})(ta||(ta={}));var ra={feet:9002,kilometers:9036,meters:9001,
- miles:9035,"nautical-miles":9030,yards:9096},va={acres:109402,ares:109463,hectares:109401,"square-feet":109405,"square-kilometers":109414,"square-meters":109404,"square-miles":109413,"square-yards":109442},sa={degrees:9102,radians:9101};void 0===ca.prototype.getCacheValue&&qa.extend(ca,{cache:null,getCacheValue:function(d){if(null===this.cache||void 0===this.cache)this.cache={};return this.cache[d]},setCacheValue:function(d,m){if(null===this.cache||void 0===this.cache)this.cache={};this.cache[d]=
- m}});var xa=n.Td.create(4326),wa=n.Td.create(102100);pa=function(){function d(){}d.extendedSpatialReferenceInfo=function(d){if(null===d)return null;d=aa(d);var g=d.Od();return{tolerance:d.Bo(),unitType:null==g?-1:g.nd,unitID:null==g?-1:g.yc(),unitBaseFactor:null==g?0:g.Ai,unitSquareDerivative:null==g?0:n.oc.kH(g).yc()}};d.clip=function(d,g){if(null===d)return null;g=n.cc.clip(I(d),I(g),M(d));return Q(g,d.spatialReference)};d.cut=function(d,g){g=I(g);g=n.cc.Hl(I(d),g,M(d));for(var b=[],a=0;a<g.length;a++)b.push(Q(g[a],
- d.spatialReference));return b};d.contains=function(d,g){if(null===d||null===g)throw Error("Illegal Argument Exception");return n.cc.contains(I(d),I(g),M(d))};d.crosses=function(d,g){if(null===d||null===g)throw Error("Illegal Argument Exception");return n.cc.xR(I(d),I(g),M(d))};d.distance=function(d,g,b){if(null===d||null===g)throw Error("Illegal Argument Exception");return n.cc.Cb(I(d),I(g),M(d),n.oc.ze(X(b,3)))};d.equals=function(d,g){return null===d&&null!==g||null===g&&null!==d?!1:n.cc.Eb(I(d),
- I(g),M(d))};d.intersects=function(d,g){if(null===d||null===g)throw Error("Illegal Argument Exception");return n.cc.MU(I(d),I(g),M(d))};d.touches=function(d,g){if(null===d||null===g)throw Error("Illegal Argument Exception");return n.cc.touches(I(d),I(g),M(d))};d.within=function(d,g){if(null===d||null===g)throw Error("Illegal Argument Exception");return n.cc.qZ(I(d),I(g),M(d))};d.disjoint=function(d,g){if(null===d||null===g)throw Error("Illegal Argument Exception");return n.cc.PR(I(d),I(g),M(d))};d.overlaps=
- function(d,g){if(null===d||null===g)throw Error("Illegal Argument Exception");return n.cc.nW(I(d),I(g),M(d))};d.relate=function(d,g,b){if(null===d||null===g)throw Error("Illegal Argument Exception");return n.cc.XB(I(d),I(g),M(d),b)};d.isSimple=function(d){if(null===d)throw Error("Illegal Argument Exception");return n.cc.XU(I(d),M(d))};d.simplify=function(d){if(null===d)throw Error("Illegal Argument Exception");var g=n.cc.BC(I(d),M(d));return Q(g,d.spatialReference)};d.convexHull=function(m,g){void 0===
- g&&(g=!1);if(null===m)throw Error("Illegal Argument Exception");return!1===ea(m)?(g=n.cc.gR(I(m),M(m)),Q(g,m.spatialReference)):d.jZ(m,g)};d.jZ=function(d,g){for(var b=[],a=0;a<d.length;a++)b.push(I(d[a]));b=n.cc.hR(b,g);for(a=0;a<b.length;a++)b[a]=Q(b[a],d[0].spatialReference);return b};d.difference=function(m,g){if(null===m||null===g)throw Error("Illegal Argument Exception");return!1===ea(m)?(g=n.cc.Wm(I(m),I(g),M(m)),Q(g,m.spatialReference)):d.gM(m,g)};d.gM=function(d,g){for(var b=[],a=0;a<d.length;a++)b.push(I(d[a]));
- b=n.cc.MR(b,I(g),M(g));for(a=0;a<b.length;a++)b[a]=Q(b[a],g.spatialReference);return b};d.symmetricDifference=function(m,g){if(null===m||null===g)throw Error("Illegal Argument Exception");return!1===ea(m)?(g=n.cc.Pp(I(m),I(g),M(m)),Q(g,m.spatialReference)):d.JM(m,g)};d.JM=function(d,g){for(var b=[],a=0;a<d.length;a++)b.push(I(d[a]));b=n.cc.NY(b,I(g),M(g));for(a=0;a<b.length;a++)b[a]=Q(b[a],g.spatialReference);return b};d.intersect=function(m,g){if(null===m||null===g)throw Error("Illegal Argument Exception");
- return!1===ea(m)?(g=n.cc.Ma(I(m),I(g),M(m)),Q(g,m.spatialReference)):d.vM(m,g)};d.vM=function(d,g){for(var b=[],a=0;a<d.length;a++)b.push(I(d[a]));b=n.cc.KU(b,I(g),M(g));for(a=0;a<b.length;a++)b[a]=Q(b[a],g.spatialReference);return b};d.union=function(d,g){void 0===g&&(g=null);if(null===d)return null;!1===ea(d)&&(d=[d],null!==g&&d.push(g));if(0===d.length)return null;g=[];for(var b=0;b<d.length;b++)g.push(I(d[b]));return Q(n.cc.fZ(g,M(d[0])),d[0].spatialReference)};d.offset=function(m,g,b,a,c,e){var f=
- 0;if(null!=a&&void 0!=a)switch(a){case "round":f=0;break;case "bevel":f=1;break;case "miter":f=2;break;case "square":f=3}return!1===ea(m)?(g=n.cc.offset(I(m),M(m),g,f,c,e,n.oc.ze(X(b,3))),Q(g,m.spatialReference)):d.FM(m,g,b,f,c,e)};d.FM=function(d,g,b,a,c,e){if(null===d)return null;if(0===d.length)return[];for(var f=[],h=0;h<d.length;h++)f.push(I(d[h]));g=n.cc.lW(f,M(d[0]),g,a,c,e,n.oc.ze(X(b,3)));for(h=0;h<g.length;h++)g[h]=Q(g[h],d[0].spatialReference);return g};d.buffer=function(m,g,b,a){void 0===
- a&&(a=!1);if(!1===ea(m))return g=n.cc.buffer(I(m),M(m),g,n.oc.ze(X(b,3)),!1,0,NaN),Q(g,m.spatialReference);if("[object Array]"!==Object.prototype.toString.call(g)){for(var c=[],e=0;e<m.length;e++)c.push(g);g=c}if(g.length!=m.length){if(0==g.length)throw Error("Illegal Argument Exception");for(var c=[],f=0,e=0;e<m.length;e++)void 0===g[e]?c.push(f):(c.push(g[e]),f=g[e]);g=c}return d.pD(m,g,b,!1,a,"geodesic",NaN)};d.geodesicBuffer=function(m,g,b,a,c,e){if(!1===ea(m))return void 0===c&&(c=NaN),g=n.cc.buffer(I(m),
- M(m),g,n.oc.ze(X(b,0)),!0,na(a),c),Q(g,m.spatialReference);if("[object Array]"!==Object.prototype.toString.call(g)){for(var f=[],h=0;h<m.length;h++)f.push(g);g=f}if(g.length!=m.length){if(0==g.length)throw Error("Illegal Argument Exception");for(var f=[],l=0,h=0;h<m.length;h++)void 0===g[h]?f.push(l):(f.push(g[h]),l=g[h]);g=f}return d.pD(m,g,b,!0,a,c,e)};d.pD=function(d,g,b,a,c,e,f){if(null===d)return null;if(0===d.length)return[];void 0===f&&(f=NaN);for(var h=[],m=0;m<d.length;m++)h.push(I(d[m]));
- g=n.cc.PP(h,M(d[0]),g,n.oc.ze(X(b,0)),a,c,na(e),f);for(m=0;m<g.length;m++)g[m]=Q(g[m],d[0].spatialReference);return g};d.nearestCoordinate=function(d,g,b){void 0===b&&(b=!0);g=n.cc.Yz(I(d),I(g),b);return{coordinate:Q(g.Mz(),d.spatialReference),distance:g.Pz(),isRightSide:g.yA(),vertexIndex:g.Za(),isEmpty:g.u()}};d.nearestVertex=function(d,g){g=n.cc.Zz(I(d),I(g));return{coordinate:Q(g.Mz(),d.spatialReference),distance:g.Pz(),isRightSide:g.yA(),vertexIndex:g.Za(),isEmpty:g.u()}};d.nearestVertices=function(d,
- g,b,a){g=I(g);b=n.cc.$z(I(d),g,b,a);a=[];for(g=0;g<b.length;g++)!1===b[g].u()&&a.push({coordinate:Q(b[g].Mz(),d.spatialReference),distance:b[g].Pz(),isRightSide:b[g].yA(),vertexIndex:b[g].Za(),isEmpty:b[g].u()});return a};d.generalize=function(d,g,b,a){g=n.cc.FS(I(d),M(d),g,b,n.oc.ze(X(a,3)));return Q(g,d.spatialReference)};d.densify=function(d,g,b){g=n.cc.Ks(I(d),M(d),g,n.oc.ze(X(b,3)));return Q(g,d.spatialReference)};d.geodesicDensify=function(d,g,b,a){void 0===a&&(a=0);g=n.cc.Dz(I(d),M(d),g,n.oc.ze(X(b,
- 3)),a);return Q(g,d.spatialReference)};d.rotate=function(d,g,b){if(void 0===b||null===b)void 0!==d.x?b=d:void 0!==d.xmin?(!1===d instanceof ca&&(d=N?Y(d):W(d)),b=N?d.get("center"):d.getCenter()):(!1===d instanceof ca&&(d=N?Y(d):W(d)),b=N?d.get("extent").get("center"):d.getExtent().getCenter());g=N?n.Wp.rotate(d.toJSON?d.toJSON():d,g,b.toJSON?b.toJSON():b):n.Wp.rotate(d.toJson?d.toJson():d,g,b.toJson?b.toJson():b);N?(g=Y(g),g.set("spatialReference",d.spatialReference)):(g=W(g),g.setSpatialReference(d.spatialReference));
- return g};d.flipHorizontal=function(d,g){if(void 0===g||null===g)void 0!==d.x?g=d:void 0!==d.xmin?(!1===d instanceof ca&&(d=N?Y(d):W(d)),g=N?d.get("center"):d.getCenter()):(!1===d instanceof ca&&(d=N?Y(d):W(d)),g=N?d.get("extent").get("center"):d.getExtent().getCenter());g=N?n.Wp.yG(d.toJSON?d.toJSON():d,g.toJSON?g.toJSON():g):n.Wp.yG(d.toJson?d.toJson():d,g.toJson?g.toJson():g);N?(g=Y(g),g.set("spatialReference",d.spatialReference)):(g=W(g),g.setSpatialReference(d.spatialReference));return g};d.flipVertical=
- function(d,g){if(void 0===g||null===g)void 0!==d.x?g=d:void 0!==d.xmin?(!1===d instanceof ca&&(d=N?Y(d):W(d)),g=N?d.get("center"):d.getCenter()):(!1===d instanceof ca&&(d=N?Y(d):W(d)),g=N?d.get("extent").get("center"):d.getExtent().getCenter());g=N?n.Wp.zG(d.toJSON?d.toJSON():d,g.toJSON?g.toJSON():g):n.Wp.zG(d.toJson?d.toJson():d,g.toJson?g.toJson():g);N?(g=Y(g),g.set("spatialReference",d.spatialReference)):(g=W(g),g.setSpatialReference(d.spatialReference));return g};d.planarArea=function(d,g){if(null===
- d)throw Error("Illegal Argument Exception");return n.cc.vW(I(d),M(d),n.oc.ze(X(g,2)))};d.planarLength=function(d,g){if(null===d)throw Error("Illegal Argument Exception");return n.cc.wW(I(d),M(d),n.oc.ze(X(g,3)))};d.geodesicArea=function(d,g,b){if(null===d)throw Error("Illegal Argument Exception");return n.cc.LS(I(d),M(d),n.oc.ze(X(g,2)),na(b))};d.geodesicLength=function(d,g,b){if(null===d)throw Error("Illegal Argument Exception");return n.cc.PS(I(d),M(d),n.oc.ze(X(g,0)),na(b))};d._enableProjection=
- function(m){d.EE=!0;n.zN.bind(m)};d.Mg=function(d){return aa(d).Ao()};d._getTransformation=function(d,g,b){void 0===b&&(b=null);var a=null,c=null;if(b){if(!b.spatialReference)throw n.f.F("AOI missing Spatial Reference");a=I(b);c=aa(b.spatialReference).Ao()}d=n.Nu.PT(aa(d).Ao(),aa(g).Ao(),a,c);return null!==d?d:null};d._getTransformationBySuitability=function(d,g,b){void 0===b&&(b=null);var a=null,c=null;if(b){if(!b.spatialReference)throw n.f.F("AOI missing Spatial Reference");a=I(b);c=aa(b.spatialReference).Ao()}return n.Nu.QT(aa(d).Ao(),
- aa(g).Ao(),a,c)};d.bZ=function(m,g,b){var a=null;if(b){var c=b.getGTListEntry();if(null!==c){for(var a=new n.my(null),e=0,f=c.steps;e<f.length;e++){var c=f[e],h=new n.io(c.geogtran);c.isInverse&&h.jt();a.add(h)}a=n.qs.Hs(d.Mg(m),d.Mg(g),a);b.assignCachedGe(m,g,a);return a}}if(null===a&&b&&b.steps&&0<b.steps.length){a=new n.my(null);e=0;for(f=b.steps;e<f.length;e++)c=f[e],-1!=c.wkid&&null!==c.wkid&&void 0!==c.wkid?a.add(n.io.create(c.wkid,c.isInverse)):a.add(n.io.eG(c.wkt,c.isInverse));a=n.qs.Hs(d.Mg(m),
- d.Mg(g),a);b.assignCachedGe(m,g,a);return a}return n.qs.Hs(d.Mg(m),d.Mg(g),a)};d._project=function(m,g,b,a,c){void 0===a&&(a=null);void 0===c&&(c=!1);if(!1===this.EE)throw Error("Projection Engine must be enabled using enableProjection");if(0===m.length)return[];if(a){var e=a.getCachedGeTransformation(g,b);e||(e=d.bZ(g,b,a));g=[];var f=0}else e=n.qs.Hs(d.Mg(g),d.Mg(b),null),g=[],f=0;for(;f<m.length;f++)a=m[f],g.push(d.lD(a,b,e,c));return g};d.lD=function(d,g,b,a){d=n.cc.Xg(I(d),b);return a?ya(d):
- Q(d,g)};d.EE=!1;return d}();void 0===ca.prototype.getCacheValue&&qa.extend(ca,{cache:null,getCacheValue:function(d){if(null===this.cache||void 0===this.cache)this.cache={};return this.cache[d]},setCacheValue:function(d,m){if(null===this.cache||void 0===this.cache)this.cache={};this.cache[d]=m}});return pa});
|