m4-w-fast 1.0.6 → 1.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -0
- package/dist/index.js +1 -1
- package/dist/intersect.worker.js +2 -2
- package/dist/isoBands.worker.js +1 -1
- package/dist/m4-w-fast.umd.js +1 -0
- package/dist/readFile.d.ts +26 -75
- package/dist/readFile.js +1 -1
- package/dist/types.d.ts +141 -0
- package/dist/types.js +1 -0
- package/package.json +7 -3
package/dist/intersect.worker.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a1_0x12d5(){const _0x9b7d19=['comparePoint','isExterior','reset','index','693376iOmtDu','round','5izbqEg','splice','intersection','Point','return','leftSE','50TRdFvl','events','coordinates','bbox','Feature','otherSE','queue','findStatic','split','_isInResult','1184412hrcSOM','undefined','defineProperty','minNode','_composePolys','isExteriorRing','Unable\x20to\x20complete\x20output\x20ring\x20starting\x20at\x20[','prototype','segments','_afterState','isInResult','Infinite\x20loop\x20when\x20putting\x20segment\x20endpoints\x20in\x20a\x20priority\x20queue\x20','maxNode','comparePoints','FeatureCollection','done','vector','Tried\x20to\x20link\x20already\x20linked\x20events','ops','rightSE','_enclosingRing','toList','consumedBy','_root','ringOut','update','iterator','remove','random','getSweepEvents','insert','geometries','_remove','isEmpty','\x20SweepEvent\x20','__esModule','1732264oPKZcz','key','Infinite\x20loop\x20when\x20passing\x20sweep\x20line\x20over\x20endpoints\x20','find','3eMWEdI','exteriorRing',']\x20->\x20','isSubject','point','get','abs','MultiPoint','].\x20Last\x20matching\x20segment\x20found\x20ends\x20at','ignoreBoundary','label','polys','isAnEndpoint','sqrt','windings','170WhqfzV','getLeftmostComparator','getGeom','(queue\x20size\x20too\x20big).','│\x20\x20\x20','fromRing','forEach','next','default','properties','addInterior','env','Unknown\x20Geometry\x20Type','prevInResult','feature1\x20','postMessage','enclosingRing','epsilon','tree','geometry','process','factory','error','Each\x20LinearRing\x20of\x20a\x20Polygon\x20must\x20have\x204\x20or\x20more\x20Positions.','_beforeState','numMultiPolys','coord\x20is\x20required','POSITIVE_INFINITY','55luqhKd','isLeft','size','sent','max','Polygon','checkForConsuming','GeometryCollection','\x20geometry\x20not\x20supported','swapEvents','replaceRightSE','afterState','message','poly','267084FvlNGm','slice','MultiPolygon','sort','keys','_calcEnclosingRing','xor','has','_splitSafely','prev','right','LineString','_isExteriorRing','isArray','EPSILON','trys','segment','_prevInResult','POLYGON_CLIPPING_MAX_QUEUE_SIZE','union','values','min','pop','rings','value',']\x20from\x20segment\x20#','clear','coord\x20must\x20be\x20GeoJSON\x20Point\x20or\x20an\x20Array\x20of\x20numbers','145746nBEOVz','push','Tried\x20to\x20create\x20degenerate\x20segment\x20at\x20[','root','POLYGON_CLIPPING_MAX_SWEEPLINE_SEGMENTS','exports','yRounder','both','difference','compare','interiorRings','data','getAvailableLinkedEvents','type','beforeState','add','ignoreEndVertices','Input\x20geometry\x20is\x20not\x20a\x20valid\x20Polygon\x20or\x20MultiPolygon','end','MultiLineString','NEGATIVE_INFINITY','Unrecognized\x20operation\x20type\x20found\x20','left','run','indexOf','link','length','pow','\x20\x20\x20\x20','floor','call','feature2\x20','head','consume','_size','618KBWHtj','polygon\x20is\x20required','multiPolys','getIntersection','_comparator','contains','point\x20is\x20required','hasOwnProperty','xRounder','number','300916MlYiJS','start'];a1_0x12d5=function(){return _0x9b7d19;};return a1_0x12d5();}const a1_0x59822f=a1_0x22c4;(function(_0x1b29a1,_0x41008c){const _0x4aa845=a1_0x22c4,_0x430de9=_0x1b29a1();while(!![]){try{const _0x34b5a6=-parseInt(_0x4aa845(0x269))/0x1*(parseInt(_0x4aa845(0x210))/0x2)+parseInt(_0x4aa845(0x25a))/0x3*(-parseInt(_0x4aa845(0x220))/0x4)+-parseInt(_0x4aa845(0x222))/0x5*(parseInt(_0x4aa845(0x293))/0x6)+parseInt(_0x4aa845(0x21a))/0x7+-parseInt(_0x4aa845(0x256))/0x8+-parseInt(_0x4aa845(0x1ed))/0x9*(-parseInt(_0x4aa845(0x228))/0xa)+-parseInt(_0x4aa845(0x285))/0xb*(-parseInt(_0x4aa845(0x232))/0xc);if(_0x34b5a6===_0x41008c)break;else _0x430de9['push'](_0x430de9['shift']());}catch(_0x4ec48a){_0x430de9['push'](_0x430de9['shift']());}}}(a1_0x12d5,0x1fdee));function feature(_0x5a8aba,_0x523257,_0x33369b){const _0x5c7894=a1_0x22c4;_0x33369b===void 0x0&&(_0x33369b={});var _0xd59f6={'type':'Feature'};return(_0x33369b['id']===0x0||_0x33369b['id'])&&(_0xd59f6['id']=_0x33369b['id']),_0x33369b[_0x5c7894(0x22b)]&&(_0xd59f6['bbox']=_0x33369b['bbox']),_0xd59f6[_0x5c7894(0x272)]=_0x523257||{},_0xd59f6[_0x5c7894(0x27c)]=_0x5a8aba,_0xd59f6;}function polygon(_0x1b3928,_0x502e0a,_0x5c0365){const _0x108650=a1_0x22c4;_0x5c0365===void 0x0&&(_0x5c0365={});for(var _0x251e9e=0x0,_0x15b0a5=_0x1b3928;_0x251e9e<_0x15b0a5[_0x108650(0x207)];_0x251e9e++){var _0x2ca133=_0x15b0a5[_0x251e9e];if(_0x2ca133['length']<0x4)throw new Error(_0x108650(0x280));for(var _0x5bc067=0x0;_0x5bc067<_0x2ca133[_0x2ca133[_0x108650(0x207)]-0x1][_0x108650(0x207)];_0x5bc067++){if(_0x2ca133[_0x2ca133['length']-0x1][_0x5bc067]!==_0x2ca133[0x0][_0x5bc067])throw new Error('First\x20and\x20last\x20Position\x20are\x20not\x20equivalent.');}}var _0x21fcc6={'type':_0x108650(0x28a),'coordinates':_0x1b3928};return feature(_0x21fcc6,_0x502e0a,_0x5c0365);}function multiPolygon(_0x30b2e7,_0x190691,_0x3d77f0){_0x3d77f0===void 0x0&&(_0x3d77f0={});var _0x7977f2={'type':'MultiPolygon','coordinates':_0x30b2e7};return feature(_0x7977f2,_0x190691,_0x3d77f0);}function getCoord(_0x45d156){const _0x48b2b5=a1_0x22c4;if(!_0x45d156)throw new Error(_0x48b2b5(0x283));if(!Array[_0x48b2b5(0x1de)](_0x45d156)){if(_0x45d156['type']===_0x48b2b5(0x22c)&&_0x45d156[_0x48b2b5(0x27c)]!==null&&_0x45d156[_0x48b2b5(0x27c)][_0x48b2b5(0x1fa)]==='Point')return _0x45d156[_0x48b2b5(0x27c)][_0x48b2b5(0x22a)];if(_0x45d156[_0x48b2b5(0x1fa)]===_0x48b2b5(0x225))return _0x45d156['coordinates'];}if(Array['isArray'](_0x45d156)&&_0x45d156['length']>=0x2&&!Array[_0x48b2b5(0x1de)](_0x45d156[0x0])&&!Array[_0x48b2b5(0x1de)](_0x45d156[0x1]))return _0x45d156;throw new Error(_0x48b2b5(0x1ec));}function getCoords(_0x5201b1){const _0x1e2d0f=a1_0x22c4;if(Array[_0x1e2d0f(0x1de)](_0x5201b1))return _0x5201b1;if(_0x5201b1[_0x1e2d0f(0x1fa)]===_0x1e2d0f(0x22c)){if(_0x5201b1[_0x1e2d0f(0x27c)]!==null)return _0x5201b1[_0x1e2d0f(0x27c)][_0x1e2d0f(0x22a)];}else{if(_0x5201b1[_0x1e2d0f(0x22a)])return _0x5201b1[_0x1e2d0f(0x22a)];}throw new Error('coords\x20must\x20be\x20GeoJSON\x20Feature,\x20Geometry\x20Object\x20or\x20an\x20Array');}function getGeom(_0x64ec09){const _0x288a1a=a1_0x22c4;if(_0x64ec09[_0x288a1a(0x1fa)]===_0x288a1a(0x22c))return _0x64ec09['geometry'];return _0x64ec09;}function getDefaultExportFromCjs(_0x3c4706){const _0x54a5a9=a1_0x22c4;return _0x3c4706&&_0x3c4706[_0x54a5a9(0x255)]&&Object[_0x54a5a9(0x239)][_0x54a5a9(0x217)][_0x54a5a9(0x20b)](_0x3c4706,_0x54a5a9(0x271))?_0x3c4706[_0x54a5a9(0x271)]:_0x3c4706;}var polygonClipping_umd$1={'exports':{}},polygonClipping_umd=polygonClipping_umd$1[a1_0x59822f(0x1f2)],hasRequiredPolygonClipping_umd;function requirePolygonClipping_umd(){const _0x2dd431=a1_0x59822f;if(hasRequiredPolygonClipping_umd)return polygonClipping_umd$1[_0x2dd431(0x1f2)];return hasRequiredPolygonClipping_umd=0x1,function(_0x29f88e,_0x50b681){(function(_0x355e54,_0x2180d3){_0x29f88e['exports']=_0x2180d3();}(polygonClipping_umd,function(){const _0xf70012=a1_0x22c4;/**
|
|
2
2
|
* splaytree v3.1.2
|
|
3
3
|
* Fast Splay tree for Node and browser
|
|
4
4
|
*
|
|
@@ -6,4 +6,4 @@ const a1_0x394bcf=a1_0x1fe2;(function(_0x24f6ac,_0x196b7b){const _0x3c53d1=a1_0x
|
|
|
6
6
|
* @license MIT
|
|
7
7
|
* @preserve
|
|
8
8
|
*/
|
|
9
|
-
function _0x2e2ce4(_0xe22df7,_0x33fc00){const _0x13f8df=a1_0x1fe2;var _0xeb6c79={'label':0x0,'sent':function(){if(_0x18b6af[0x0]&0x1)throw _0x18b6af[0x1];return _0x18b6af[0x1];},'trys':[],'ops':[]},_0x36bc25,_0xe3c38f,_0x18b6af,_0x7dee10;return _0x7dee10={'next':_0x15ba80(0x0),'throw':_0x15ba80(0x1),'return':_0x15ba80(0x2)},typeof Symbol==='function'&&(_0x7dee10[Symbol[_0x13f8df(0x212)]]=function(){return this;}),_0x7dee10;function _0x15ba80(_0x165305){return function(_0x235fbe){return _0x41db51([_0x165305,_0x235fbe]);};}function _0x41db51(_0x224611){const _0x48d6c2=_0x13f8df;if(_0x36bc25)throw new TypeError('Generator\x20is\x20already\x20executing.');while(_0xeb6c79)try{if(_0x36bc25=0x1,_0xe3c38f&&(_0x18b6af=_0x224611[0x0]&0x2?_0xe3c38f['return']:_0x224611[0x0]?_0xe3c38f[_0x48d6c2(0x26c)]||((_0x18b6af=_0xe3c38f[_0x48d6c2(0x1dc)])&&_0x18b6af[_0x48d6c2(0x252)](_0xe3c38f),0x0):_0xe3c38f[_0x48d6c2(0x25c)])&&!(_0x18b6af=_0x18b6af[_0x48d6c2(0x252)](_0xe3c38f,_0x224611[0x1]))['done'])return _0x18b6af;if(_0xe3c38f=0x0,_0x18b6af)_0x224611=[_0x224611[0x0]&0x2,_0x18b6af[_0x48d6c2(0x204)]];switch(_0x224611[0x0]){case 0x0:case 0x1:_0x18b6af=_0x224611;break;case 0x4:_0xeb6c79['label']++;return{'value':_0x224611[0x1],'done':![]};case 0x5:_0xeb6c79[_0x48d6c2(0x282)]++,_0xe3c38f=_0x224611[0x1],_0x224611=[0x0];continue;case 0x7:_0x224611=_0xeb6c79[_0x48d6c2(0x218)][_0x48d6c2(0x234)](),_0xeb6c79[_0x48d6c2(0x268)][_0x48d6c2(0x234)]();continue;default:if(!(_0x18b6af=_0xeb6c79[_0x48d6c2(0x268)],_0x18b6af=_0x18b6af[_0x48d6c2(0x1d1)]>0x0&&_0x18b6af[_0x18b6af[_0x48d6c2(0x1d1)]-0x1])&&(_0x224611[0x0]===0x6||_0x224611[0x0]===0x2)){_0xeb6c79=0x0;continue;}if(_0x224611[0x0]===0x3&&(!_0x18b6af||_0x224611[0x1]>_0x18b6af[0x0]&&_0x224611[0x1]<_0x18b6af[0x3])){_0xeb6c79['label']=_0x224611[0x1];break;}if(_0x224611[0x0]===0x6&&_0xeb6c79[_0x48d6c2(0x282)]<_0x18b6af[0x1]){_0xeb6c79['label']=_0x18b6af[0x1],_0x18b6af=_0x224611;break;}if(_0x18b6af&&_0xeb6c79[_0x48d6c2(0x282)]<_0x18b6af[0x2]){_0xeb6c79[_0x48d6c2(0x282)]=_0x18b6af[0x2],_0xeb6c79[_0x48d6c2(0x218)][_0x48d6c2(0x1e3)](_0x224611);break;}if(_0x18b6af[0x2])_0xeb6c79[_0x48d6c2(0x218)][_0x48d6c2(0x234)]();_0xeb6c79[_0x48d6c2(0x268)][_0x48d6c2(0x234)]();continue;}_0x224611=_0x33fc00[_0x48d6c2(0x252)](_0xe22df7,_0xeb6c79);}catch(_0x2a57f3){_0x224611=[0x6,_0x2a57f3],_0xe3c38f=0x0;}finally{_0x36bc25=_0x18b6af=0x0;}if(_0x224611[0x0]&0x5)throw _0x224611[0x1];return{'value':_0x224611[0x0]?_0x224611[0x1]:void 0x0,'done':!![]};}}var _0xba7b75=(function(){function _0x49df77(_0x409a4c,_0x502b1b){const _0x26d48b=a1_0x1fe2;this[_0x26d48b(0x25c)]=null,this['key']=_0x409a4c,this[_0x26d48b(0x232)]=_0x502b1b,this[_0x26d48b(0x224)]=null,this[_0x26d48b(0x22f)]=null;}return _0x49df77;}());function _0x5af124(_0x5e9a4c,_0xf9cff){return _0x5e9a4c>_0xf9cff?0x1:_0x5e9a4c<_0xf9cff?-0x1:0x0;}function _0x53d59f(_0x596e46,_0x51c77d,_0x1c4929){const _0x27aed4=a1_0x1fe2;var _0x4275c3=new _0xba7b75(null,null),_0x2af124=_0x4275c3,_0x29dbd2=_0x4275c3;while(!![]){var _0x5da697=_0x1c4929(_0x596e46,_0x51c77d[_0x27aed4(0x214)]);if(_0x5da697<0x0){if(_0x51c77d[_0x27aed4(0x224)]===null)break;if(_0x1c4929(_0x596e46,_0x51c77d[_0x27aed4(0x224)][_0x27aed4(0x214)])<0x0){var _0x46b085=_0x51c77d[_0x27aed4(0x224)];_0x51c77d['left']=_0x46b085[_0x27aed4(0x22f)],_0x46b085['right']=_0x51c77d,_0x51c77d=_0x46b085;if(_0x51c77d['left']===null)break;}_0x29dbd2['left']=_0x51c77d,_0x29dbd2=_0x51c77d,_0x51c77d=_0x51c77d[_0x27aed4(0x224)];}else{if(_0x5da697>0x0){if(_0x51c77d[_0x27aed4(0x22f)]===null)break;if(_0x1c4929(_0x596e46,_0x51c77d[_0x27aed4(0x22f)][_0x27aed4(0x214)])>0x0){var _0x46b085=_0x51c77d[_0x27aed4(0x22f)];_0x51c77d['right']=_0x46b085[_0x27aed4(0x224)],_0x46b085[_0x27aed4(0x224)]=_0x51c77d,_0x51c77d=_0x46b085;if(_0x51c77d[_0x27aed4(0x22f)]===null)break;}_0x2af124[_0x27aed4(0x22f)]=_0x51c77d,_0x2af124=_0x51c77d,_0x51c77d=_0x51c77d['right'];}else break;}}return _0x2af124['right']=_0x51c77d[_0x27aed4(0x224)],_0x29dbd2[_0x27aed4(0x224)]=_0x51c77d[_0x27aed4(0x22f)],_0x51c77d[_0x27aed4(0x224)]=_0x4275c3[_0x27aed4(0x22f)],_0x51c77d[_0x27aed4(0x22f)]=_0x4275c3['left'],_0x51c77d;}function _0x26b9c3(_0x24d167,_0x313a23,_0x1054cc,_0x5f06dc){const _0x136e78=a1_0x1fe2;var _0x5a2d50=new _0xba7b75(_0x24d167,_0x313a23);if(_0x1054cc===null)return _0x5a2d50['left']=_0x5a2d50[_0x136e78(0x22f)]=null,_0x5a2d50;_0x1054cc=_0x53d59f(_0x24d167,_0x1054cc,_0x5f06dc);var _0x5c42e3=_0x5f06dc(_0x24d167,_0x1054cc[_0x136e78(0x214)]);if(_0x5c42e3<0x0)_0x5a2d50[_0x136e78(0x224)]=_0x1054cc['left'],_0x5a2d50[_0x136e78(0x22f)]=_0x1054cc,_0x1054cc[_0x136e78(0x224)]=null;else _0x5c42e3>=0x0&&(_0x5a2d50[_0x136e78(0x22f)]=_0x1054cc[_0x136e78(0x22f)],_0x5a2d50[_0x136e78(0x224)]=_0x1054cc,_0x1054cc['right']=null);return _0x5a2d50;}function _0x149228(_0xcfbd17,_0x2d4266,_0x18ad1c){const _0x3e2817=a1_0x1fe2;var _0x505c6a=null,_0x18dc0e=null;if(_0x2d4266){_0x2d4266=_0x53d59f(_0xcfbd17,_0x2d4266,_0x18ad1c);var _0x477246=_0x18ad1c(_0x2d4266[_0x3e2817(0x214)],_0xcfbd17);if(_0x477246===0x0)_0x505c6a=_0x2d4266['left'],_0x18dc0e=_0x2d4266[_0x3e2817(0x22f)];else _0x477246<0x0?(_0x18dc0e=_0x2d4266[_0x3e2817(0x22f)],_0x2d4266['right']=null,_0x505c6a=_0x2d4266):(_0x505c6a=_0x2d4266[_0x3e2817(0x224)],_0x2d4266['left']=null,_0x18dc0e=_0x2d4266);}return{'left':_0x505c6a,'right':_0x18dc0e};}function _0x546fa0(_0x5c5fb0,_0x2812c8,_0x5c5087){const _0x8b0153=a1_0x1fe2;if(_0x2812c8===null)return _0x5c5fb0;if(_0x5c5fb0===null)return _0x2812c8;return _0x2812c8=_0x53d59f(_0x5c5fb0['key'],_0x2812c8,_0x5c5087),_0x2812c8[_0x8b0153(0x224)]=_0x5c5fb0,_0x2812c8;}function _0x49e916(_0xe24692,_0x3c417a,_0x3bb9ad,_0x30c12d,_0x460f7b){const _0x57dac0=a1_0x1fe2;if(_0xe24692){_0x30c12d(''+_0x3c417a+(_0x3bb9ad?_0x57dac0(0x1dd):'├──\x20')+_0x460f7b(_0xe24692)+'\x0a');var _0x5be44e=_0x3c417a+(_0x3bb9ad?_0x57dac0(0x265):'│\x20\x20\x20');if(_0xe24692['left'])_0x49e916(_0xe24692['left'],_0x5be44e,![],_0x30c12d,_0x460f7b);if(_0xe24692[_0x57dac0(0x22f)])_0x49e916(_0xe24692[_0x57dac0(0x22f)],_0x5be44e,!![],_0x30c12d,_0x460f7b);}}var _0x3ffab8=(function(){const _0x237591=a1_0x1fe2;function _0x5457c6(_0x24530e){const _0x16031e=a1_0x1fe2;_0x24530e===void 0x0&&(_0x24530e=_0x5af124),this[_0x16031e(0x269)]=null,this[_0x16031e(0x22a)]=0x0,this[_0x16031e(0x24f)]=_0x24530e;}return _0x5457c6[_0x237591(0x276)][_0x237591(0x257)]=function(_0x182cd1,_0x44f22a){const _0x43b864=_0x237591;return this[_0x43b864(0x22a)]++,this[_0x43b864(0x269)]=_0x26b9c3(_0x182cd1,_0x44f22a,this[_0x43b864(0x269)],this[_0x43b864(0x24f)]);},_0x5457c6[_0x237591(0x276)][_0x237591(0x1c9)]=function(_0x31465c,_0x51564d){const _0x253e70=_0x237591;var _0x1f81bb=new _0xba7b75(_0x31465c,_0x51564d);this[_0x253e70(0x269)]===null&&(_0x1f81bb['left']=_0x1f81bb[_0x253e70(0x22f)]=null,this[_0x253e70(0x22a)]++,this[_0x253e70(0x269)]=_0x1f81bb);var _0x2b6ba6=this['_comparator'],_0x148641=_0x53d59f(_0x31465c,this[_0x253e70(0x269)],_0x2b6ba6),_0x46ea74=_0x2b6ba6(_0x31465c,_0x148641[_0x253e70(0x214)]);if(_0x46ea74===0x0)this[_0x253e70(0x269)]=_0x148641;else{if(_0x46ea74<0x0)_0x1f81bb[_0x253e70(0x224)]=_0x148641[_0x253e70(0x224)],_0x1f81bb[_0x253e70(0x22f)]=_0x148641,_0x148641['left']=null;else _0x46ea74>0x0&&(_0x1f81bb[_0x253e70(0x22f)]=_0x148641[_0x253e70(0x22f)],_0x1f81bb[_0x253e70(0x224)]=_0x148641,_0x148641['right']=null);this[_0x253e70(0x22a)]++,this[_0x253e70(0x269)]=_0x1f81bb;}return this[_0x253e70(0x269)];},_0x5457c6[_0x237591(0x276)][_0x237591(0x254)]=function(_0x12649a){const _0x86398c=_0x237591;this[_0x86398c(0x269)]=this[_0x86398c(0x256)](_0x12649a,this[_0x86398c(0x269)],this[_0x86398c(0x24f)]);},_0x5457c6[_0x237591(0x276)][_0x237591(0x256)]=function(_0x531bed,_0x5012a7,_0x5b2a7f){const _0x3cdb40=_0x237591;var _0x173828;if(_0x5012a7===null)return null;_0x5012a7=_0x53d59f(_0x531bed,_0x5012a7,_0x5b2a7f);var _0x510202=_0x5b2a7f(_0x531bed,_0x5012a7[_0x3cdb40(0x214)]);if(_0x510202===0x0)return _0x5012a7[_0x3cdb40(0x224)]===null?_0x173828=_0x5012a7[_0x3cdb40(0x22f)]:(_0x173828=_0x53d59f(_0x531bed,_0x5012a7[_0x3cdb40(0x224)],_0x5b2a7f),_0x173828[_0x3cdb40(0x22f)]=_0x5012a7['right']),this['_size']--,_0x173828;return _0x5012a7;},_0x5457c6['prototype'][_0x237591(0x234)]=function(){const _0x3417ab=_0x237591;var _0x51cda0=this[_0x3417ab(0x269)];if(_0x51cda0){while(_0x51cda0[_0x3417ab(0x224)])_0x51cda0=_0x51cda0[_0x3417ab(0x224)];return this[_0x3417ab(0x269)]=_0x53d59f(_0x51cda0['key'],this['_root'],this[_0x3417ab(0x24f)]),this[_0x3417ab(0x269)]=this[_0x3417ab(0x256)](_0x51cda0[_0x3417ab(0x214)],this[_0x3417ab(0x269)],this[_0x3417ab(0x24f)]),{'key':_0x51cda0[_0x3417ab(0x214)],'data':_0x51cda0[_0x3417ab(0x232)]};}return null;},_0x5457c6[_0x237591(0x276)][_0x237591(0x1f7)]=function(_0xc57763){const _0x49a54a=_0x237591;var _0x49e028=this[_0x49a54a(0x269)],_0x4f1c23=this[_0x49a54a(0x24f)];while(_0x49e028){var _0x1e5fe7=_0x4f1c23(_0xc57763,_0x49e028[_0x49a54a(0x214)]);if(_0x1e5fe7===0x0)return _0x49e028;else{if(_0x1e5fe7<0x0)_0x49e028=_0x49e028[_0x49a54a(0x224)];else _0x49e028=_0x49e028[_0x49a54a(0x22f)];}}return null;},_0x5457c6[_0x237591(0x276)][_0x237591(0x208)]=function(_0x290913){const _0x590b13=_0x237591;if(this[_0x590b13(0x269)]){this[_0x590b13(0x269)]=_0x53d59f(_0x290913,this[_0x590b13(0x269)],this[_0x590b13(0x24f)]);if(this[_0x590b13(0x24f)](_0x290913,this[_0x590b13(0x269)][_0x590b13(0x214)])!==0x0)return null;}return this[_0x590b13(0x269)];},_0x5457c6['prototype'][_0x237591(0x262)]=function(_0xd6ed66){const _0x134675=_0x237591;var _0x538beb=this[_0x134675(0x269)],_0x355e9d=this[_0x134675(0x24f)];while(_0x538beb){var _0x4a40fc=_0x355e9d(_0xd6ed66,_0x538beb[_0x134675(0x214)]);if(_0x4a40fc===0x0)return!![];else{if(_0x4a40fc<0x0)_0x538beb=_0x538beb['left'];else _0x538beb=_0x538beb['right'];}}return![];},_0x5457c6[_0x237591(0x276)][_0x237591(0x264)]=function(_0x301360,_0x2de048){const _0xf979a8=_0x237591;var _0x5de9f0=this[_0xf979a8(0x269)],_0x55f4bb=[],_0x5ae183=![];while(!_0x5ae183){if(_0x5de9f0!==null)_0x55f4bb['push'](_0x5de9f0),_0x5de9f0=_0x5de9f0['left'];else{if(_0x55f4bb[_0xf979a8(0x1d1)]!==0x0)_0x5de9f0=_0x55f4bb['pop'](),_0x301360[_0xf979a8(0x252)](_0x2de048,_0x5de9f0),_0x5de9f0=_0x5de9f0[_0xf979a8(0x22f)];else _0x5ae183=!![];}}return this;},_0x5457c6[_0x237591(0x276)][_0x237591(0x283)]=function(_0x4641f8,_0x24e752,_0x53fcb3,_0x5b8d9e){const _0x56c773=_0x237591;var _0x53a8bb=[],_0x39ecb5=this[_0x56c773(0x24f)],_0x389bd4=this[_0x56c773(0x269)],_0x4a08eb;while(_0x53a8bb[_0x56c773(0x1d1)]!==0x0||_0x389bd4){if(_0x389bd4)_0x53a8bb[_0x56c773(0x1e3)](_0x389bd4),_0x389bd4=_0x389bd4[_0x56c773(0x224)];else{_0x389bd4=_0x53a8bb[_0x56c773(0x234)](),_0x4a08eb=_0x39ecb5(_0x389bd4[_0x56c773(0x214)],_0x24e752);if(_0x4a08eb>0x0)break;else{if(_0x39ecb5(_0x389bd4[_0x56c773(0x214)],_0x4641f8)>=0x0){if(_0x53fcb3[_0x56c773(0x252)](_0x5b8d9e,_0x389bd4))return this;}}_0x389bd4=_0x389bd4[_0x56c773(0x22f)];}}return this;},_0x5457c6[_0x237591(0x276)]['keys']=function(){const _0x46e81e=_0x237591;var _0x2227fd=[];return this[_0x46e81e(0x264)](function(_0x389d3a){const _0x2ad94f=_0x46e81e;var _0x45c2b1=_0x389d3a[_0x2ad94f(0x214)];return _0x2227fd[_0x2ad94f(0x1e3)](_0x45c2b1);}),_0x2227fd;},_0x5457c6[_0x237591(0x276)][_0x237591(0x261)]=function(){const _0x116638=_0x237591;var _0x493bae=[];return this[_0x116638(0x264)](function(_0x3990c1){const _0x2dc4e0=_0x116638;var _0x504a56=_0x3990c1[_0x2dc4e0(0x232)];return _0x493bae[_0x2dc4e0(0x1e3)](_0x504a56);}),_0x493bae;},_0x5457c6['prototype'][_0x237591(0x229)]=function(){const _0x2a43db=_0x237591;if(this['_root'])return this[_0x2a43db(0x26f)](this[_0x2a43db(0x269)])['key'];return null;},_0x5457c6['prototype']['max']=function(){const _0x24e047=_0x237591;if(this['_root'])return this[_0x24e047(0x235)](this[_0x24e047(0x269)])[_0x24e047(0x214)];return null;},_0x5457c6[_0x237591(0x276)][_0x237591(0x26f)]=function(_0x1ddb80){const _0x57e48c=_0x237591;_0x1ddb80===void 0x0&&(_0x1ddb80=this[_0x57e48c(0x269)]);if(_0x1ddb80){while(_0x1ddb80[_0x57e48c(0x224)])_0x1ddb80=_0x1ddb80[_0x57e48c(0x224)];}return _0x1ddb80;},_0x5457c6[_0x237591(0x276)]['maxNode']=function(_0x57008a){const _0x34cfbb=_0x237591;_0x57008a===void 0x0&&(_0x57008a=this['_root']);if(_0x57008a){while(_0x57008a['right'])_0x57008a=_0x57008a[_0x34cfbb(0x22f)];}return _0x57008a;},_0x5457c6['prototype']['at']=function(_0x2cde92){const _0x5dcd5f=_0x237591;var _0x520cf7=this[_0x5dcd5f(0x269)],_0x34354d=![],_0x32c900=0x0,_0x3a5c47=[];while(!_0x34354d){if(_0x520cf7)_0x3a5c47[_0x5dcd5f(0x1e3)](_0x520cf7),_0x520cf7=_0x520cf7[_0x5dcd5f(0x224)];else{if(_0x3a5c47['length']>0x0){_0x520cf7=_0x3a5c47[_0x5dcd5f(0x234)]();if(_0x32c900===_0x2cde92)return _0x520cf7;_0x32c900++,_0x520cf7=_0x520cf7[_0x5dcd5f(0x22f)];}else _0x34354d=!![];}}return null;},_0x5457c6['prototype'][_0x237591(0x25c)]=function(_0xe2043d){const _0x19dbce=_0x237591;var _0x141f46=this[_0x19dbce(0x269)],_0x1ac152=null;if(_0xe2043d['right']){_0x1ac152=_0xe2043d[_0x19dbce(0x22f)];while(_0x1ac152[_0x19dbce(0x224)])_0x1ac152=_0x1ac152[_0x19dbce(0x224)];return _0x1ac152;}var _0x30e7a9=this['_comparator'];while(_0x141f46){var _0x184e79=_0x30e7a9(_0xe2043d[_0x19dbce(0x214)],_0x141f46[_0x19dbce(0x214)]);if(_0x184e79===0x0)break;else{if(_0x184e79<0x0)_0x1ac152=_0x141f46,_0x141f46=_0x141f46[_0x19dbce(0x224)];else _0x141f46=_0x141f46[_0x19dbce(0x22f)];}}return _0x1ac152;},_0x5457c6[_0x237591(0x276)]['prev']=function(_0x1c7b37){const _0x3c8578=_0x237591;var _0x1d588e=this[_0x3c8578(0x269)],_0x44d3b0=null;if(_0x1c7b37['left']!==null){_0x44d3b0=_0x1c7b37[_0x3c8578(0x224)];while(_0x44d3b0['right'])_0x44d3b0=_0x44d3b0[_0x3c8578(0x22f)];return _0x44d3b0;}var _0x24edc2=this['_comparator'];while(_0x1d588e){var _0x41651e=_0x24edc2(_0x1c7b37[_0x3c8578(0x214)],_0x1d588e[_0x3c8578(0x214)]);if(_0x41651e===0x0)break;else{if(_0x41651e<0x0)_0x1d588e=_0x1d588e['left'];else _0x44d3b0=_0x1d588e,_0x1d588e=_0x1d588e[_0x3c8578(0x22f)];}}return _0x44d3b0;},_0x5457c6[_0x237591(0x276)]['clear']=function(){const _0x4994e4=_0x237591;return this[_0x4994e4(0x269)]=null,this[_0x4994e4(0x22a)]=0x0,this;},_0x5457c6['prototype'][_0x237591(0x202)]=function(){const _0x249f6d=_0x237591;return _0x194bbf(this[_0x249f6d(0x269)]);},_0x5457c6['prototype']['load']=function(_0x343a1a,_0x17fdaa,_0xa5ee3b){const _0x13de46=_0x237591;_0x17fdaa===void 0x0&&(_0x17fdaa=[]);_0xa5ee3b===void 0x0&&(_0xa5ee3b=![]);var _0x5c81ee=_0x343a1a[_0x13de46(0x1d1)],_0x3fe27a=this[_0x13de46(0x24f)];if(_0xa5ee3b)_0x14ce77(_0x343a1a,_0x17fdaa,0x0,_0x5c81ee-0x1,_0x3fe27a);if(this[_0x13de46(0x269)]===null)this[_0x13de46(0x269)]=_0x4b86b4(_0x343a1a,_0x17fdaa,0x0,_0x5c81ee),this[_0x13de46(0x22a)]=_0x5c81ee;else{var _0x1e90c3=_0x39cc83(this[_0x13de46(0x202)](),_0x44c459(_0x343a1a,_0x17fdaa),_0x3fe27a);_0x5c81ee=this[_0x13de46(0x22a)]+_0x5c81ee,this[_0x13de46(0x269)]=_0x298b57({'head':_0x1e90c3},0x0,_0x5c81ee);}return this;},_0x5457c6[_0x237591(0x276)][_0x237591(0x1e1)]=function(){const _0x9f2d45=_0x237591;return this[_0x9f2d45(0x269)]===null;},Object[_0x237591(0x238)](_0x5457c6[_0x237591(0x276)],_0x237591(0x1e7),{'get':function(){const _0x40ddb2=_0x237591;return this[_0x40ddb2(0x22a)];},'enumerable':!![],'configurable':!![]}),Object[_0x237591(0x238)](_0x5457c6['prototype'],_0x237591(0x1fa),{'get':function(){return this['_root'];},'enumerable':!![],'configurable':!![]}),_0x5457c6[_0x237591(0x276)][_0x237591(0x1f5)]=function(_0x44fa08){const _0x553868=_0x237591;_0x44fa08===void 0x0&&(_0x44fa08=function(_0x31831a){const _0x3235f3=a1_0x1fe2;return String(_0x31831a[_0x3235f3(0x214)]);});var _0x54bab7=[];return _0x49e916(this[_0x553868(0x269)],'',!![],function(_0x36539c){const _0x275ef7=_0x553868;return _0x54bab7[_0x275ef7(0x1e3)](_0x36539c);},_0x44fa08),_0x54bab7[_0x553868(0x247)]('');},_0x5457c6[_0x237591(0x276)][_0x237591(0x1f8)]=function(_0x114443,_0x423040,_0x2af1bd){const _0x2efa86=_0x237591;var _0x3f4ac0=this[_0x2efa86(0x24f)],_0x3ad0da=_0x149228(_0x114443,this[_0x2efa86(0x269)],_0x3f4ac0),_0x42b14f=_0x3ad0da[_0x2efa86(0x224)],_0x55c436=_0x3ad0da[_0x2efa86(0x22f)];_0x3f4ac0(_0x114443,_0x423040)<0x0?_0x55c436=_0x26b9c3(_0x423040,_0x2af1bd,_0x55c436,_0x3f4ac0):_0x42b14f=_0x26b9c3(_0x423040,_0x2af1bd,_0x42b14f,_0x3f4ac0),this[_0x2efa86(0x269)]=_0x546fa0(_0x42b14f,_0x55c436,_0x3f4ac0);},_0x5457c6[_0x237591(0x276)][_0x237591(0x1c6)]=function(_0x575036){const _0x190b63=_0x237591;return _0x149228(_0x575036,this[_0x190b63(0x269)],this['_comparator']);},_0x5457c6[_0x237591(0x276)][Symbol[_0x237591(0x212)]]=function(){var _0x249dc4,_0x3653b1,_0x299f85;return _0x2e2ce4(this,function(_0x44b3a9){const _0x45595f=a1_0x1fe2;switch(_0x44b3a9[_0x45595f(0x282)]){case 0x0:_0x249dc4=this['_root'],_0x3653b1=[],_0x299f85=![],_0x44b3a9[_0x45595f(0x282)]=0x1;case 0x1:if(!!_0x299f85)return[0x3,0x6];if(!(_0x249dc4!==null))return[0x3,0x2];_0x3653b1[_0x45595f(0x1e3)](_0x249dc4),_0x249dc4=_0x249dc4['left'];return[0x3,0x5];case 0x2:if(!(_0x3653b1['length']!==0x0))return[0x3,0x4];_0x249dc4=_0x3653b1[_0x45595f(0x234)]();return[0x4,_0x249dc4];case 0x3:_0x44b3a9['sent'](),_0x249dc4=_0x249dc4['right'];return[0x3,0x5];case 0x4:_0x299f85=!![],_0x44b3a9[_0x45595f(0x282)]=0x5;case 0x5:return[0x3,0x1];case 0x6:return[0x2];}});},_0x5457c6;}());function _0x4b86b4(_0x1aa7ba,_0x48ea93,_0x3d3708,_0x11f956){const _0x1800a8=a1_0x1fe2;var _0xa8c1b3=_0x11f956-_0x3d3708;if(_0xa8c1b3>0x0){var _0x3e5442=_0x3d3708+Math['floor'](_0xa8c1b3/0x2),_0x4e2fb4=_0x1aa7ba[_0x3e5442],_0x8188e7=_0x48ea93[_0x3e5442],_0x2cb963=new _0xba7b75(_0x4e2fb4,_0x8188e7);return _0x2cb963[_0x1800a8(0x224)]=_0x4b86b4(_0x1aa7ba,_0x48ea93,_0x3d3708,_0x3e5442),_0x2cb963['right']=_0x4b86b4(_0x1aa7ba,_0x48ea93,_0x3e5442+0x1,_0x11f956),_0x2cb963;}return null;}function _0x44c459(_0x47ed51,_0x4f1fd7){const _0x22b548=a1_0x1fe2;var _0x42f196=new _0xba7b75(null,null),_0x5e4588=_0x42f196;for(var _0x1e6a95=0x0;_0x1e6a95<_0x47ed51[_0x22b548(0x1d1)];_0x1e6a95++){_0x5e4588=_0x5e4588[_0x22b548(0x25c)]=new _0xba7b75(_0x47ed51[_0x1e6a95],_0x4f1fd7[_0x1e6a95]);}return _0x5e4588[_0x22b548(0x25c)]=null,_0x42f196[_0x22b548(0x25c)];}function _0x194bbf(_0x4b8d18){const _0x19d2df=a1_0x1fe2;var _0x3512f1=_0x4b8d18,_0x249ba2=[],_0x12e54e=![],_0xc93e7=new _0xba7b75(null,null),_0x3d3bc2=_0xc93e7;while(!_0x12e54e){if(_0x3512f1)_0x249ba2[_0x19d2df(0x1e3)](_0x3512f1),_0x3512f1=_0x3512f1[_0x19d2df(0x224)];else{if(_0x249ba2[_0x19d2df(0x1d1)]>0x0)_0x3512f1=_0x3d3bc2=_0x3d3bc2[_0x19d2df(0x25c)]=_0x249ba2[_0x19d2df(0x234)](),_0x3512f1=_0x3512f1['right'];else _0x12e54e=!![];}}return _0x3d3bc2[_0x19d2df(0x25c)]=null,_0xc93e7[_0x19d2df(0x25c)];}function _0x298b57(_0x276688,_0x117d83,_0x4abe9a){const _0x14314b=a1_0x1fe2;var _0x694172=_0x4abe9a-_0x117d83;if(_0x694172>0x0){var _0x40dd8e=_0x117d83+Math[_0x14314b(0x275)](_0x694172/0x2),_0x5a6eeb=_0x298b57(_0x276688,_0x117d83,_0x40dd8e),_0x50722=_0x276688['head'];return _0x50722[_0x14314b(0x224)]=_0x5a6eeb,_0x276688[_0x14314b(0x217)]=_0x276688[_0x14314b(0x217)][_0x14314b(0x25c)],_0x50722[_0x14314b(0x22f)]=_0x298b57(_0x276688,_0x40dd8e+0x1,_0x4abe9a),_0x50722;}return null;}function _0x39cc83(_0xa6af3d,_0x407f2e,_0x6e2ab8){const _0x2c07c9=a1_0x1fe2;var _0x496006=new _0xba7b75(null,null),_0x4bea6a=_0x496006,_0x15c598=_0xa6af3d,_0x3ba973=_0x407f2e;while(_0x15c598!==null&&_0x3ba973!==null){_0x6e2ab8(_0x15c598['key'],_0x3ba973[_0x2c07c9(0x214)])<0x0?(_0x4bea6a['next']=_0x15c598,_0x15c598=_0x15c598[_0x2c07c9(0x25c)]):(_0x4bea6a[_0x2c07c9(0x25c)]=_0x3ba973,_0x3ba973=_0x3ba973[_0x2c07c9(0x25c)]),_0x4bea6a=_0x4bea6a['next'];}if(_0x15c598!==null)_0x4bea6a['next']=_0x15c598;else _0x3ba973!==null&&(_0x4bea6a[_0x2c07c9(0x25c)]=_0x3ba973);return _0x496006['next'];}function _0x14ce77(_0x4de7e0,_0x23fa39,_0x23792e,_0x4042eb,_0x93ed57){if(_0x23792e>=_0x4042eb)return;var _0x319ce0=_0x4de7e0[_0x23792e+_0x4042eb>>0x1],_0x4f342e=_0x23792e-0x1,_0x22dd0f=_0x4042eb+0x1;while(!![]){do _0x4f342e++;while(_0x93ed57(_0x4de7e0[_0x4f342e],_0x319ce0)<0x0);do _0x22dd0f--;while(_0x93ed57(_0x4de7e0[_0x22dd0f],_0x319ce0)>0x0);if(_0x4f342e>=_0x22dd0f)break;var _0x5482d4=_0x4de7e0[_0x4f342e];_0x4de7e0[_0x4f342e]=_0x4de7e0[_0x22dd0f],_0x4de7e0[_0x22dd0f]=_0x5482d4,_0x5482d4=_0x23fa39[_0x4f342e],_0x23fa39[_0x4f342e]=_0x23fa39[_0x22dd0f],_0x23fa39[_0x22dd0f]=_0x5482d4;}_0x14ce77(_0x4de7e0,_0x23fa39,_0x23792e,_0x22dd0f,_0x93ed57),_0x14ce77(_0x4de7e0,_0x23fa39,_0x22dd0f+0x1,_0x4042eb,_0x93ed57);}const _0x466109=(_0x7d0678,_0xd2e42a)=>{return _0x7d0678['ll']['x']<=_0xd2e42a['x']&&_0xd2e42a['x']<=_0x7d0678['ur']['x']&&_0x7d0678['ll']['y']<=_0xd2e42a['y']&&_0xd2e42a['y']<=_0x7d0678['ur']['y'];},_0x44354c=(_0x295833,_0x3c5827)=>{if(_0x3c5827['ur']['x']<_0x295833['ll']['x']||_0x295833['ur']['x']<_0x3c5827['ll']['x']||_0x3c5827['ur']['y']<_0x295833['ll']['y']||_0x295833['ur']['y']<_0x3c5827['ll']['y'])return null;const _0x5ccd38=_0x295833['ll']['x']<_0x3c5827['ll']['x']?_0x3c5827['ll']['x']:_0x295833['ll']['x'],_0x32363c=_0x295833['ur']['x']<_0x3c5827['ur']['x']?_0x295833['ur']['x']:_0x3c5827['ur']['x'],_0x246137=_0x295833['ll']['y']<_0x3c5827['ll']['y']?_0x3c5827['ll']['y']:_0x295833['ll']['y'],_0x409b2f=_0x295833['ur']['y']<_0x3c5827['ur']['y']?_0x295833['ur']['y']:_0x3c5827['ur']['y'];return{'ll':{'x':_0x5ccd38,'y':_0x246137},'ur':{'x':_0x32363c,'y':_0x409b2f}};};let _0x91d86b=Number[_0x4b3f6b(0x20f)];if(_0x91d86b===undefined)_0x91d86b=Math[_0x4b3f6b(0x209)](0x2,-0x34);const _0x5b0c43=_0x91d86b*_0x91d86b,_0x2d7ef0=(_0x2e5f1e,_0x5ee9fc)=>{if(-_0x91d86b<_0x2e5f1e&&_0x2e5f1e<_0x91d86b){if(-_0x91d86b<_0x5ee9fc&&_0x5ee9fc<_0x91d86b)return 0x0;}const _0xa16974=_0x2e5f1e-_0x5ee9fc;if(_0xa16974*_0xa16974<_0x5b0c43*_0x2e5f1e*_0x5ee9fc)return 0x0;return _0x2e5f1e<_0x5ee9fc?-0x1:0x1;};class _0x5d149a{constructor(){const _0x1b3b7b=_0x4b3f6b;this[_0x1b3b7b(0x1df)]();}['reset'](){const _0x328f96=_0x4b3f6b;this['xRounder']=new _0x2913b0(),this[_0x328f96(0x278)]=new _0x2913b0();}['round'](_0x3b03a0,_0x134fae){const _0x5d7d07=_0x4b3f6b;return{'x':this[_0x5d7d07(0x22b)][_0x5d7d07(0x23a)](_0x3b03a0),'y':this[_0x5d7d07(0x278)][_0x5d7d07(0x23a)](_0x134fae)};}}class _0x2913b0{constructor(){const _0x628791=_0x4b3f6b;this[_0x628791(0x259)]=new _0x3ffab8(),this['round'](0x0);}[_0x4b3f6b(0x23a)](_0x5484e4){const _0x5c908f=_0x4b3f6b,_0xd936ff=this[_0x5c908f(0x259)][_0x5c908f(0x1c9)](_0x5484e4),_0x275b1a=this[_0x5c908f(0x259)][_0x5c908f(0x203)](_0xd936ff);if(_0x275b1a!==null&&_0x2d7ef0(_0xd936ff[_0x5c908f(0x214)],_0x275b1a[_0x5c908f(0x214)])===0x0)return this['tree'][_0x5c908f(0x254)](_0x5484e4),_0x275b1a['key'];const _0x9bb90a=this[_0x5c908f(0x259)]['next'](_0xd936ff);if(_0x9bb90a!==null&&_0x2d7ef0(_0xd936ff[_0x5c908f(0x214)],_0x9bb90a[_0x5c908f(0x214)])===0x0)return this[_0x5c908f(0x259)][_0x5c908f(0x254)](_0x5484e4),_0x9bb90a[_0x5c908f(0x214)];return _0x5484e4;}}const _0x5cb286=new _0x5d149a(),_0x494ffe=1.1102230246251565e-16,_0x5cbf9a=0x8000001,_0x4c6d67=(0x3+0x8*_0x494ffe)*_0x494ffe;function _0x2b609c(_0x23acdf,_0x5e116f,_0x277848,_0x2ae37e,_0x2ec404){let _0x2c89b1,_0x33f32e,_0x265ef3,_0x5425d2,_0x3b04a4=_0x5e116f[0x0],_0x247a71=_0x2ae37e[0x0],_0x3f1e0e=0x0,_0x44b484=0x0;_0x247a71>_0x3b04a4===_0x247a71>-_0x3b04a4?(_0x2c89b1=_0x3b04a4,_0x3b04a4=_0x5e116f[++_0x3f1e0e]):(_0x2c89b1=_0x247a71,_0x247a71=_0x2ae37e[++_0x44b484]);let _0x2b3652=0x0;if(_0x3f1e0e<_0x23acdf&&_0x44b484<_0x277848){_0x247a71>_0x3b04a4===_0x247a71>-_0x3b04a4?(_0x33f32e=_0x3b04a4+_0x2c89b1,_0x265ef3=_0x2c89b1-(_0x33f32e-_0x3b04a4),_0x3b04a4=_0x5e116f[++_0x3f1e0e]):(_0x33f32e=_0x247a71+_0x2c89b1,_0x265ef3=_0x2c89b1-(_0x33f32e-_0x247a71),_0x247a71=_0x2ae37e[++_0x44b484]);_0x2c89b1=_0x33f32e;_0x265ef3!==0x0&&(_0x2ec404[_0x2b3652++]=_0x265ef3);while(_0x3f1e0e<_0x23acdf&&_0x44b484<_0x277848){_0x247a71>_0x3b04a4===_0x247a71>-_0x3b04a4?(_0x33f32e=_0x2c89b1+_0x3b04a4,_0x5425d2=_0x33f32e-_0x2c89b1,_0x265ef3=_0x2c89b1-(_0x33f32e-_0x5425d2)+(_0x3b04a4-_0x5425d2),_0x3b04a4=_0x5e116f[++_0x3f1e0e]):(_0x33f32e=_0x2c89b1+_0x247a71,_0x5425d2=_0x33f32e-_0x2c89b1,_0x265ef3=_0x2c89b1-(_0x33f32e-_0x5425d2)+(_0x247a71-_0x5425d2),_0x247a71=_0x2ae37e[++_0x44b484]),_0x2c89b1=_0x33f32e,_0x265ef3!==0x0&&(_0x2ec404[_0x2b3652++]=_0x265ef3);}}while(_0x3f1e0e<_0x23acdf){_0x33f32e=_0x2c89b1+_0x3b04a4,_0x5425d2=_0x33f32e-_0x2c89b1,_0x265ef3=_0x2c89b1-(_0x33f32e-_0x5425d2)+(_0x3b04a4-_0x5425d2),_0x3b04a4=_0x5e116f[++_0x3f1e0e],_0x2c89b1=_0x33f32e,_0x265ef3!==0x0&&(_0x2ec404[_0x2b3652++]=_0x265ef3);}while(_0x44b484<_0x277848){_0x33f32e=_0x2c89b1+_0x247a71,_0x5425d2=_0x33f32e-_0x2c89b1,_0x265ef3=_0x2c89b1-(_0x33f32e-_0x5425d2)+(_0x247a71-_0x5425d2),_0x247a71=_0x2ae37e[++_0x44b484],_0x2c89b1=_0x33f32e,_0x265ef3!==0x0&&(_0x2ec404[_0x2b3652++]=_0x265ef3);}return(_0x2c89b1!==0x0||_0x2b3652===0x0)&&(_0x2ec404[_0x2b3652++]=_0x2c89b1),_0x2b3652;}function _0x3a29c6(_0x586978,_0x1c8298){let _0x142eae=_0x1c8298[0x0];for(let _0x760f68=0x1;_0x760f68<_0x586978;_0x760f68++)_0x142eae+=_0x1c8298[_0x760f68];return _0x142eae;}function _0x2b9ffb(_0x1e6888){return new Float64Array(_0x1e6888);}const _0xd6ec78=(0x3+0x10*_0x494ffe)*_0x494ffe,_0x9dc979=(0x2+0xc*_0x494ffe)*_0x494ffe,_0x3299e5=(0x9+0x40*_0x494ffe)*_0x494ffe*_0x494ffe,_0x4cb2f7=_0x2b9ffb(0x4),_0x1f4885=_0x2b9ffb(0x8),_0x4166cb=_0x2b9ffb(0xc),_0x3b9c8a=_0x2b9ffb(0x10),_0x17f191=_0x2b9ffb(0x4);function _0x5e45c6(_0x1f751c,_0x396d4d,_0x160249,_0x3e3575,_0x5b4695,_0x42cd61,_0x8e53a7){const _0x2b177d=_0x4b3f6b;let _0x1aaf35,_0x4b7e43,_0x5079a6,_0x53a15f,_0x5b3010,_0x2982f7,_0x40c12b,_0x4d298d,_0x4eff47,_0x368eae,_0x2685b8,_0x21b0ab,_0x5c3cb0,_0x27be66,_0x4744d8,_0x1cb98f,_0x575abd,_0x1f007f;const _0x5ca8cf=_0x1f751c-_0x5b4695,_0x53c6aa=_0x160249-_0x5b4695,_0x522193=_0x396d4d-_0x42cd61,_0x5f4204=_0x3e3575-_0x42cd61;_0x27be66=_0x5ca8cf*_0x5f4204,_0x2982f7=_0x5cbf9a*_0x5ca8cf,_0x40c12b=_0x2982f7-(_0x2982f7-_0x5ca8cf),_0x4d298d=_0x5ca8cf-_0x40c12b,_0x2982f7=_0x5cbf9a*_0x5f4204,_0x4eff47=_0x2982f7-(_0x2982f7-_0x5f4204),_0x368eae=_0x5f4204-_0x4eff47,_0x4744d8=_0x4d298d*_0x368eae-(_0x27be66-_0x40c12b*_0x4eff47-_0x4d298d*_0x4eff47-_0x40c12b*_0x368eae),_0x1cb98f=_0x522193*_0x53c6aa,_0x2982f7=_0x5cbf9a*_0x522193,_0x40c12b=_0x2982f7-(_0x2982f7-_0x522193),_0x4d298d=_0x522193-_0x40c12b,_0x2982f7=_0x5cbf9a*_0x53c6aa,_0x4eff47=_0x2982f7-(_0x2982f7-_0x53c6aa),_0x368eae=_0x53c6aa-_0x4eff47,_0x575abd=_0x4d298d*_0x368eae-(_0x1cb98f-_0x40c12b*_0x4eff47-_0x4d298d*_0x4eff47-_0x40c12b*_0x368eae),_0x2685b8=_0x4744d8-_0x575abd,_0x5b3010=_0x4744d8-_0x2685b8,_0x4cb2f7[0x0]=_0x4744d8-(_0x2685b8+_0x5b3010)+(_0x5b3010-_0x575abd),_0x21b0ab=_0x27be66+_0x2685b8,_0x5b3010=_0x21b0ab-_0x27be66,_0x5c3cb0=_0x27be66-(_0x21b0ab-_0x5b3010)+(_0x2685b8-_0x5b3010),_0x2685b8=_0x5c3cb0-_0x1cb98f,_0x5b3010=_0x5c3cb0-_0x2685b8,_0x4cb2f7[0x1]=_0x5c3cb0-(_0x2685b8+_0x5b3010)+(_0x5b3010-_0x1cb98f),_0x1f007f=_0x21b0ab+_0x2685b8,_0x5b3010=_0x1f007f-_0x21b0ab,_0x4cb2f7[0x2]=_0x21b0ab-(_0x1f007f-_0x5b3010)+(_0x2685b8-_0x5b3010),_0x4cb2f7[0x3]=_0x1f007f;let _0x5df614=_0x3a29c6(0x4,_0x4cb2f7),_0x3b720f=_0x9dc979*_0x8e53a7;if(_0x5df614>=_0x3b720f||-_0x5df614>=_0x3b720f)return _0x5df614;_0x5b3010=_0x1f751c-_0x5ca8cf,_0x1aaf35=_0x1f751c-(_0x5ca8cf+_0x5b3010)+(_0x5b3010-_0x5b4695),_0x5b3010=_0x160249-_0x53c6aa,_0x5079a6=_0x160249-(_0x53c6aa+_0x5b3010)+(_0x5b3010-_0x5b4695),_0x5b3010=_0x396d4d-_0x522193,_0x4b7e43=_0x396d4d-(_0x522193+_0x5b3010)+(_0x5b3010-_0x42cd61),_0x5b3010=_0x3e3575-_0x5f4204,_0x53a15f=_0x3e3575-(_0x5f4204+_0x5b3010)+(_0x5b3010-_0x42cd61);if(_0x1aaf35===0x0&&_0x4b7e43===0x0&&_0x5079a6===0x0&&_0x53a15f===0x0)return _0x5df614;_0x3b720f=_0x3299e5*_0x8e53a7+_0x4c6d67*Math[_0x2b177d(0x1c7)](_0x5df614),_0x5df614+=_0x5ca8cf*_0x53a15f+_0x5f4204*_0x1aaf35-(_0x522193*_0x5079a6+_0x53c6aa*_0x4b7e43);if(_0x5df614>=_0x3b720f||-_0x5df614>=_0x3b720f)return _0x5df614;_0x27be66=_0x1aaf35*_0x5f4204,_0x2982f7=_0x5cbf9a*_0x1aaf35,_0x40c12b=_0x2982f7-(_0x2982f7-_0x1aaf35),_0x4d298d=_0x1aaf35-_0x40c12b,_0x2982f7=_0x5cbf9a*_0x5f4204,_0x4eff47=_0x2982f7-(_0x2982f7-_0x5f4204),_0x368eae=_0x5f4204-_0x4eff47,_0x4744d8=_0x4d298d*_0x368eae-(_0x27be66-_0x40c12b*_0x4eff47-_0x4d298d*_0x4eff47-_0x40c12b*_0x368eae),_0x1cb98f=_0x4b7e43*_0x53c6aa,_0x2982f7=_0x5cbf9a*_0x4b7e43,_0x40c12b=_0x2982f7-(_0x2982f7-_0x4b7e43),_0x4d298d=_0x4b7e43-_0x40c12b,_0x2982f7=_0x5cbf9a*_0x53c6aa,_0x4eff47=_0x2982f7-(_0x2982f7-_0x53c6aa),_0x368eae=_0x53c6aa-_0x4eff47,_0x575abd=_0x4d298d*_0x368eae-(_0x1cb98f-_0x40c12b*_0x4eff47-_0x4d298d*_0x4eff47-_0x40c12b*_0x368eae),_0x2685b8=_0x4744d8-_0x575abd,_0x5b3010=_0x4744d8-_0x2685b8,_0x17f191[0x0]=_0x4744d8-(_0x2685b8+_0x5b3010)+(_0x5b3010-_0x575abd),_0x21b0ab=_0x27be66+_0x2685b8,_0x5b3010=_0x21b0ab-_0x27be66,_0x5c3cb0=_0x27be66-(_0x21b0ab-_0x5b3010)+(_0x2685b8-_0x5b3010),_0x2685b8=_0x5c3cb0-_0x1cb98f,_0x5b3010=_0x5c3cb0-_0x2685b8,_0x17f191[0x1]=_0x5c3cb0-(_0x2685b8+_0x5b3010)+(_0x5b3010-_0x1cb98f),_0x1f007f=_0x21b0ab+_0x2685b8,_0x5b3010=_0x1f007f-_0x21b0ab,_0x17f191[0x2]=_0x21b0ab-(_0x1f007f-_0x5b3010)+(_0x2685b8-_0x5b3010),_0x17f191[0x3]=_0x1f007f;const _0x2a6729=_0x2b609c(0x4,_0x4cb2f7,0x4,_0x17f191,_0x1f4885);_0x27be66=_0x5ca8cf*_0x53a15f,_0x2982f7=_0x5cbf9a*_0x5ca8cf,_0x40c12b=_0x2982f7-(_0x2982f7-_0x5ca8cf),_0x4d298d=_0x5ca8cf-_0x40c12b,_0x2982f7=_0x5cbf9a*_0x53a15f,_0x4eff47=_0x2982f7-(_0x2982f7-_0x53a15f),_0x368eae=_0x53a15f-_0x4eff47,_0x4744d8=_0x4d298d*_0x368eae-(_0x27be66-_0x40c12b*_0x4eff47-_0x4d298d*_0x4eff47-_0x40c12b*_0x368eae),_0x1cb98f=_0x522193*_0x5079a6,_0x2982f7=_0x5cbf9a*_0x522193,_0x40c12b=_0x2982f7-(_0x2982f7-_0x522193),_0x4d298d=_0x522193-_0x40c12b,_0x2982f7=_0x5cbf9a*_0x5079a6,_0x4eff47=_0x2982f7-(_0x2982f7-_0x5079a6),_0x368eae=_0x5079a6-_0x4eff47,_0x575abd=_0x4d298d*_0x368eae-(_0x1cb98f-_0x40c12b*_0x4eff47-_0x4d298d*_0x4eff47-_0x40c12b*_0x368eae),_0x2685b8=_0x4744d8-_0x575abd,_0x5b3010=_0x4744d8-_0x2685b8,_0x17f191[0x0]=_0x4744d8-(_0x2685b8+_0x5b3010)+(_0x5b3010-_0x575abd),_0x21b0ab=_0x27be66+_0x2685b8,_0x5b3010=_0x21b0ab-_0x27be66,_0x5c3cb0=_0x27be66-(_0x21b0ab-_0x5b3010)+(_0x2685b8-_0x5b3010),_0x2685b8=_0x5c3cb0-_0x1cb98f,_0x5b3010=_0x5c3cb0-_0x2685b8,_0x17f191[0x1]=_0x5c3cb0-(_0x2685b8+_0x5b3010)+(_0x5b3010-_0x1cb98f),_0x1f007f=_0x21b0ab+_0x2685b8,_0x5b3010=_0x1f007f-_0x21b0ab,_0x17f191[0x2]=_0x21b0ab-(_0x1f007f-_0x5b3010)+(_0x2685b8-_0x5b3010),_0x17f191[0x3]=_0x1f007f;const _0x33100d=_0x2b609c(_0x2a6729,_0x1f4885,0x4,_0x17f191,_0x4166cb);_0x27be66=_0x1aaf35*_0x53a15f,_0x2982f7=_0x5cbf9a*_0x1aaf35,_0x40c12b=_0x2982f7-(_0x2982f7-_0x1aaf35),_0x4d298d=_0x1aaf35-_0x40c12b,_0x2982f7=_0x5cbf9a*_0x53a15f,_0x4eff47=_0x2982f7-(_0x2982f7-_0x53a15f),_0x368eae=_0x53a15f-_0x4eff47,_0x4744d8=_0x4d298d*_0x368eae-(_0x27be66-_0x40c12b*_0x4eff47-_0x4d298d*_0x4eff47-_0x40c12b*_0x368eae),_0x1cb98f=_0x4b7e43*_0x5079a6,_0x2982f7=_0x5cbf9a*_0x4b7e43,_0x40c12b=_0x2982f7-(_0x2982f7-_0x4b7e43),_0x4d298d=_0x4b7e43-_0x40c12b,_0x2982f7=_0x5cbf9a*_0x5079a6,_0x4eff47=_0x2982f7-(_0x2982f7-_0x5079a6),_0x368eae=_0x5079a6-_0x4eff47,_0x575abd=_0x4d298d*_0x368eae-(_0x1cb98f-_0x40c12b*_0x4eff47-_0x4d298d*_0x4eff47-_0x40c12b*_0x368eae),_0x2685b8=_0x4744d8-_0x575abd,_0x5b3010=_0x4744d8-_0x2685b8,_0x17f191[0x0]=_0x4744d8-(_0x2685b8+_0x5b3010)+(_0x5b3010-_0x575abd),_0x21b0ab=_0x27be66+_0x2685b8,_0x5b3010=_0x21b0ab-_0x27be66,_0x5c3cb0=_0x27be66-(_0x21b0ab-_0x5b3010)+(_0x2685b8-_0x5b3010),_0x2685b8=_0x5c3cb0-_0x1cb98f,_0x5b3010=_0x5c3cb0-_0x2685b8,_0x17f191[0x1]=_0x5c3cb0-(_0x2685b8+_0x5b3010)+(_0x5b3010-_0x1cb98f),_0x1f007f=_0x21b0ab+_0x2685b8,_0x5b3010=_0x1f007f-_0x21b0ab,_0x17f191[0x2]=_0x21b0ab-(_0x1f007f-_0x5b3010)+(_0x2685b8-_0x5b3010),_0x17f191[0x3]=_0x1f007f;const _0x27ae17=_0x2b609c(_0x33100d,_0x4166cb,0x4,_0x17f191,_0x3b9c8a);return _0x3b9c8a[_0x27ae17-0x1];}function _0x11a885(_0xa20a7c,_0x369c50,_0x43bde7,_0x5b0744,_0x1f111f,_0x45e96f){const _0x477812=_0x4b3f6b,_0x2156a9=(_0x369c50-_0x45e96f)*(_0x43bde7-_0x1f111f),_0xb32bc7=(_0xa20a7c-_0x1f111f)*(_0x5b0744-_0x45e96f),_0x48f5d8=_0x2156a9-_0xb32bc7,_0x1a0b95=Math[_0x477812(0x1c7)](_0x2156a9+_0xb32bc7);if(Math[_0x477812(0x1c7)](_0x48f5d8)>=_0xd6ec78*_0x1a0b95)return _0x48f5d8;return-_0x5e45c6(_0xa20a7c,_0x369c50,_0x43bde7,_0x5b0744,_0x1f111f,_0x45e96f,_0x1a0b95);}const _0x1ddc57=(_0x49ef63,_0x399cbd)=>_0x49ef63['x']*_0x399cbd['y']-_0x49ef63['y']*_0x399cbd['x'],_0x9b2ad6=(_0x1394e3,_0x40f61d)=>_0x1394e3['x']*_0x40f61d['x']+_0x1394e3['y']*_0x40f61d['y'],_0x4c81d4=(_0x5be66e,_0x26b6ed,_0x24da0f)=>{const _0x15d657=_0x11a885(_0x5be66e['x'],_0x5be66e['y'],_0x26b6ed['x'],_0x26b6ed['y'],_0x24da0f['x'],_0x24da0f['y']);if(_0x15d657>0x0)return-0x1;if(_0x15d657<0x0)return 0x1;return 0x0;},_0x165625=_0x12e7a6=>Math[_0x4b3f6b(0x1cf)](_0x9b2ad6(_0x12e7a6,_0x12e7a6)),_0x52f579=(_0xb0e5ee,_0x2db2da,_0x3bb91f)=>{const _0x289a9b={'x':_0x2db2da['x']-_0xb0e5ee['x'],'y':_0x2db2da['y']-_0xb0e5ee['y']},_0x15339f={'x':_0x3bb91f['x']-_0xb0e5ee['x'],'y':_0x3bb91f['y']-_0xb0e5ee['y']};return _0x1ddc57(_0x15339f,_0x289a9b)/_0x165625(_0x15339f)/_0x165625(_0x289a9b);},_0x115eab=(_0x4ff439,_0x43953a,_0x495b50)=>{const _0x21cc42={'x':_0x43953a['x']-_0x4ff439['x'],'y':_0x43953a['y']-_0x4ff439['y']},_0x2f04a8={'x':_0x495b50['x']-_0x4ff439['x'],'y':_0x495b50['y']-_0x4ff439['y']};return _0x9b2ad6(_0x2f04a8,_0x21cc42)/_0x165625(_0x2f04a8)/_0x165625(_0x21cc42);},_0x34c146=(_0x1d3bfe,_0x1320b2,_0x849b80)=>{if(_0x1320b2['y']===0x0)return null;return{'x':_0x1d3bfe['x']+_0x1320b2['x']/_0x1320b2['y']*(_0x849b80-_0x1d3bfe['y']),'y':_0x849b80};},_0x30cb32=(_0x41926f,_0x22d971,_0x1c0147)=>{if(_0x22d971['x']===0x0)return null;return{'x':_0x1c0147,'y':_0x41926f['y']+_0x22d971['y']/_0x22d971['x']*(_0x1c0147-_0x41926f['x'])};},_0x3e68a8=(_0x3ec82e,_0x1ad006,_0x2c4f52,_0x214a58)=>{if(_0x1ad006['x']===0x0)return _0x30cb32(_0x2c4f52,_0x214a58,_0x3ec82e['x']);if(_0x214a58['x']===0x0)return _0x30cb32(_0x3ec82e,_0x1ad006,_0x2c4f52['x']);if(_0x1ad006['y']===0x0)return _0x34c146(_0x2c4f52,_0x214a58,_0x3ec82e['y']);if(_0x214a58['y']===0x0)return _0x34c146(_0x3ec82e,_0x1ad006,_0x2c4f52['y']);const _0x51f331=_0x1ddc57(_0x1ad006,_0x214a58);if(_0x51f331==0x0)return null;const _0x32b7b8={'x':_0x2c4f52['x']-_0x3ec82e['x'],'y':_0x2c4f52['y']-_0x3ec82e['y']},_0x39e0cd=_0x1ddc57(_0x32b7b8,_0x1ad006)/_0x51f331,_0x26f75f=_0x1ddc57(_0x32b7b8,_0x214a58)/_0x51f331,_0x3e3ff2=_0x3ec82e['x']+_0x26f75f*_0x1ad006['x'],_0x15f582=_0x2c4f52['x']+_0x39e0cd*_0x214a58['x'],_0x42fe41=_0x3ec82e['y']+_0x26f75f*_0x1ad006['y'],_0x5df506=_0x2c4f52['y']+_0x39e0cd*_0x214a58['y'],_0x4fe971=(_0x3e3ff2+_0x15f582)/0x2,_0x32f417=(_0x42fe41+_0x5df506)/0x2;return{'x':_0x4fe971,'y':_0x32f417};};class _0x579e37{static[_0x4b3f6b(0x21e)](_0x1919c6,_0x14dee6){const _0x44cbd4=_0x4b3f6b,_0x1ca01c=_0x579e37[_0x44cbd4(0x25f)](_0x1919c6[_0x44cbd4(0x267)],_0x14dee6[_0x44cbd4(0x267)]);if(_0x1ca01c!==0x0)return _0x1ca01c;if(_0x1919c6[_0x44cbd4(0x267)]!==_0x14dee6['point'])_0x1919c6[_0x44cbd4(0x1db)](_0x14dee6);if(_0x1919c6['isLeft']!==_0x14dee6[_0x44cbd4(0x1c8)])return _0x1919c6[_0x44cbd4(0x1c8)]?0x1:-0x1;return _0x55e7c9[_0x44cbd4(0x21e)](_0x1919c6['segment'],_0x14dee6[_0x44cbd4(0x20a)]);}static[_0x4b3f6b(0x25f)](_0xd7ab67,_0x1ba2f3){if(_0xd7ab67['x']<_0x1ba2f3['x'])return-0x1;if(_0xd7ab67['x']>_0x1ba2f3['x'])return 0x1;if(_0xd7ab67['y']<_0x1ba2f3['y'])return-0x1;if(_0xd7ab67['y']>_0x1ba2f3['y'])return 0x1;return 0x0;}constructor(_0x3f9025,_0x523b64){const _0x4fbfe2=_0x4b3f6b;if(_0x3f9025['events']===undefined)_0x3f9025['events']=[this];else _0x3f9025[_0x4fbfe2(0x26a)]['push'](this);this[_0x4fbfe2(0x267)]=_0x3f9025,this[_0x4fbfe2(0x1c8)]=_0x523b64;}['link'](_0x9c302f){const _0x43d457=_0x4b3f6b;if(_0x9c302f[_0x43d457(0x267)]===this['point'])throw new Error(_0x43d457(0x21d));const _0x4a84c3=_0x9c302f['point'][_0x43d457(0x26a)];for(let _0x2e160c=0x0,_0x4f62cc=_0x4a84c3[_0x43d457(0x1d1)];_0x2e160c<_0x4f62cc;_0x2e160c++){const _0x4fa1bd=_0x4a84c3[_0x2e160c];this[_0x43d457(0x267)][_0x43d457(0x26a)][_0x43d457(0x1e3)](_0x4fa1bd),_0x4fa1bd[_0x43d457(0x267)]=this[_0x43d457(0x267)];}this['checkForConsuming']();}[_0x4b3f6b(0x1d0)](){const _0x57c433=_0x4b3f6b,_0x12dcfd=this[_0x57c433(0x267)][_0x57c433(0x26a)][_0x57c433(0x1d1)];for(let _0x22a6ec=0x0;_0x22a6ec<_0x12dcfd;_0x22a6ec++){const _0x54f011=this['point'][_0x57c433(0x26a)][_0x22a6ec];if(_0x54f011[_0x57c433(0x20a)][_0x57c433(0x23d)]!==undefined)continue;for(let _0x5c3753=_0x22a6ec+0x1;_0x5c3753<_0x12dcfd;_0x5c3753++){const _0x391718=this[_0x57c433(0x267)][_0x57c433(0x26a)][_0x5c3753];if(_0x391718['consumedBy']!==undefined)continue;if(_0x54f011['otherSE']['point']['events']!==_0x391718[_0x57c433(0x24c)][_0x57c433(0x267)][_0x57c433(0x26a)])continue;_0x54f011[_0x57c433(0x20a)][_0x57c433(0x236)](_0x391718[_0x57c433(0x20a)]);}}}['getAvailableLinkedEvents'](){const _0x559bd9=_0x4b3f6b,_0x15a033=[];for(let _0x37c644=0x0,_0x477b0d=this[_0x559bd9(0x267)]['events'][_0x559bd9(0x1d1)];_0x37c644<_0x477b0d;_0x37c644++){const _0x17368b=this[_0x559bd9(0x267)]['events'][_0x37c644];_0x17368b!==this&&!_0x17368b[_0x559bd9(0x20a)][_0x559bd9(0x245)]&&_0x17368b[_0x559bd9(0x20a)][_0x559bd9(0x266)]()&&_0x15a033[_0x559bd9(0x1e3)](_0x17368b);}return _0x15a033;}[_0x4b3f6b(0x210)](_0x3b4459){const _0x4fdc0b=new Map(),_0x5cd285=_0x290adb=>{const _0x1e7631=a1_0x1fe2,_0x294645=_0x290adb['otherSE'];_0x4fdc0b[_0x1e7631(0x273)](_0x290adb,{'sine':_0x52f579(this[_0x1e7631(0x267)],_0x3b4459[_0x1e7631(0x267)],_0x294645[_0x1e7631(0x267)]),'cosine':_0x115eab(this[_0x1e7631(0x267)],_0x3b4459[_0x1e7631(0x267)],_0x294645['point'])});};return(_0x2cff64,_0x1cbe52)=>{const _0x25d388=a1_0x1fe2;if(!_0x4fdc0b['has'](_0x2cff64))_0x5cd285(_0x2cff64);if(!_0x4fdc0b[_0x25d388(0x243)](_0x1cbe52))_0x5cd285(_0x1cbe52);const {sine:_0x44e5a0,cosine:_0xc4f728}=_0x4fdc0b[_0x25d388(0x216)](_0x2cff64),{sine:_0x147521,cosine:_0x5e95ea}=_0x4fdc0b[_0x25d388(0x216)](_0x1cbe52);if(_0x44e5a0>=0x0&&_0x147521>=0x0){if(_0xc4f728<_0x5e95ea)return 0x1;if(_0xc4f728>_0x5e95ea)return-0x1;return 0x0;}if(_0x44e5a0<0x0&&_0x147521<0x0){if(_0xc4f728<_0x5e95ea)return-0x1;if(_0xc4f728>_0x5e95ea)return 0x1;return 0x0;}if(_0x147521<_0x44e5a0)return-0x1;if(_0x147521>_0x44e5a0)return 0x1;return 0x0;};}}let _0x33313e=0x0;class _0x55e7c9{static[_0x4b3f6b(0x21e)](_0x17124e,_0x57390b){const _0x2607c4=_0x4b3f6b,_0x526ef1=_0x17124e[_0x2607c4(0x237)][_0x2607c4(0x267)]['x'],_0x1f3fe2=_0x57390b[_0x2607c4(0x237)]['point']['x'],_0x26085d=_0x17124e[_0x2607c4(0x201)][_0x2607c4(0x267)]['x'],_0x1c8c42=_0x57390b['rightSE'][_0x2607c4(0x267)]['x'];if(_0x1c8c42<_0x526ef1)return 0x1;if(_0x26085d<_0x1f3fe2)return-0x1;const _0x16cc7b=_0x17124e[_0x2607c4(0x237)][_0x2607c4(0x267)]['y'],_0x34040c=_0x57390b[_0x2607c4(0x237)][_0x2607c4(0x267)]['y'],_0x5c44d7=_0x17124e[_0x2607c4(0x201)][_0x2607c4(0x267)]['y'],_0x12e413=_0x57390b[_0x2607c4(0x201)][_0x2607c4(0x267)]['y'];if(_0x526ef1<_0x1f3fe2){if(_0x34040c<_0x16cc7b&&_0x34040c<_0x5c44d7)return 0x1;if(_0x34040c>_0x16cc7b&&_0x34040c>_0x5c44d7)return-0x1;const _0x4b48d5=_0x17124e[_0x2607c4(0x1cd)](_0x57390b[_0x2607c4(0x237)][_0x2607c4(0x267)]);if(_0x4b48d5<0x0)return 0x1;if(_0x4b48d5>0x0)return-0x1;const _0x5041d9=_0x57390b[_0x2607c4(0x1cd)](_0x17124e[_0x2607c4(0x201)][_0x2607c4(0x267)]);if(_0x5041d9!==0x0)return _0x5041d9;return-0x1;}if(_0x526ef1>_0x1f3fe2){if(_0x16cc7b<_0x34040c&&_0x16cc7b<_0x12e413)return-0x1;if(_0x16cc7b>_0x34040c&&_0x16cc7b>_0x12e413)return 0x1;const _0x5bfd67=_0x57390b[_0x2607c4(0x1cd)](_0x17124e[_0x2607c4(0x237)][_0x2607c4(0x267)]);if(_0x5bfd67!==0x0)return _0x5bfd67;const _0x223ef7=_0x17124e[_0x2607c4(0x1cd)](_0x57390b[_0x2607c4(0x201)]['point']);if(_0x223ef7<0x0)return 0x1;if(_0x223ef7>0x0)return-0x1;return 0x1;}if(_0x16cc7b<_0x34040c)return-0x1;if(_0x16cc7b>_0x34040c)return 0x1;if(_0x26085d<_0x1c8c42){const _0x4177df=_0x57390b['comparePoint'](_0x17124e[_0x2607c4(0x201)]['point']);if(_0x4177df!==0x0)return _0x4177df;}if(_0x26085d>_0x1c8c42){const _0x1ff35e=_0x17124e[_0x2607c4(0x1cd)](_0x57390b['rightSE'][_0x2607c4(0x267)]);if(_0x1ff35e<0x0)return 0x1;if(_0x1ff35e>0x0)return-0x1;}if(_0x26085d!==_0x1c8c42){const _0x5716d6=_0x5c44d7-_0x16cc7b,_0x3751d1=_0x26085d-_0x526ef1,_0xf32f84=_0x12e413-_0x34040c,_0x161ff5=_0x1c8c42-_0x1f3fe2;if(_0x5716d6>_0x3751d1&&_0xf32f84<_0x161ff5)return 0x1;if(_0x5716d6<_0x3751d1&&_0xf32f84>_0x161ff5)return-0x1;}if(_0x26085d>_0x1c8c42)return 0x1;if(_0x26085d<_0x1c8c42)return-0x1;if(_0x5c44d7<_0x12e413)return-0x1;if(_0x5c44d7>_0x12e413)return 0x1;if(_0x17124e['id']<_0x57390b['id'])return-0x1;if(_0x17124e['id']>_0x57390b['id'])return 0x1;return 0x0;}constructor(_0x5f28ac,_0x31987e,_0x59cbce,_0x422bd9){const _0x5cfafc=_0x4b3f6b;this['id']=++_0x33313e,this['leftSE']=_0x5f28ac,_0x5f28ac[_0x5cfafc(0x20a)]=this,_0x5f28ac['otherSE']=_0x31987e,this[_0x5cfafc(0x201)]=_0x31987e,_0x31987e[_0x5cfafc(0x20a)]=this,_0x31987e[_0x5cfafc(0x24c)]=_0x5f28ac,this[_0x5cfafc(0x246)]=_0x59cbce,this[_0x5cfafc(0x27c)]=_0x422bd9;}static[_0x4b3f6b(0x22e)](_0x3a2838,_0x5bfe53,_0xeb4938){const _0x150c8c=_0x4b3f6b;let _0x175620,_0x3cb07c,_0x5e1754;const _0x356f43=_0x579e37[_0x150c8c(0x25f)](_0x3a2838,_0x5bfe53);if(_0x356f43<0x0)_0x175620=_0x3a2838,_0x3cb07c=_0x5bfe53,_0x5e1754=0x1;else{if(_0x356f43>0x0)_0x175620=_0x5bfe53,_0x3cb07c=_0x3a2838,_0x5e1754=-0x1;else throw new Error(_0x150c8c(0x1c0)+_0x3a2838['x']+',\x20'+_0x3a2838['y']+']');}const _0x3018b5=new _0x579e37(_0x175620,!![]),_0x2e1dac=new _0x579e37(_0x3cb07c,![]);return new _0x55e7c9(_0x3018b5,_0x2e1dac,[_0xeb4938],[_0x5e1754]);}[_0x4b3f6b(0x200)](_0x4e1cf7){const _0x19905d=_0x4b3f6b;this[_0x19905d(0x201)]=_0x4e1cf7,this[_0x19905d(0x201)][_0x19905d(0x20a)]=this,this[_0x19905d(0x201)][_0x19905d(0x24c)]=this['leftSE'],this[_0x19905d(0x237)][_0x19905d(0x24c)]=this[_0x19905d(0x201)];}[_0x4b3f6b(0x1f6)](){const _0x3b4844=_0x4b3f6b,_0x2e0593=this[_0x3b4844(0x237)]['point']['y'],_0x2fa7de=this['rightSE']['point']['y'];return{'ll':{'x':this[_0x3b4844(0x237)]['point']['x'],'y':_0x2e0593<_0x2fa7de?_0x2e0593:_0x2fa7de},'ur':{'x':this[_0x3b4844(0x201)][_0x3b4844(0x267)]['x'],'y':_0x2e0593>_0x2fa7de?_0x2e0593:_0x2fa7de}};}[_0x4b3f6b(0x1d7)](){const _0x24e7e6=_0x4b3f6b;return{'x':this[_0x24e7e6(0x201)]['point']['x']-this['leftSE']['point']['x'],'y':this[_0x24e7e6(0x201)][_0x24e7e6(0x267)]['y']-this[_0x24e7e6(0x237)][_0x24e7e6(0x267)]['y']};}[_0x4b3f6b(0x1c4)](_0x3c24a4){const _0x38361d=_0x4b3f6b;return _0x3c24a4['x']===this[_0x38361d(0x237)][_0x38361d(0x267)]['x']&&_0x3c24a4['y']===this['leftSE']['point']['y']||_0x3c24a4['x']===this[_0x38361d(0x201)][_0x38361d(0x267)]['x']&&_0x3c24a4['y']===this[_0x38361d(0x201)]['point']['y'];}[_0x4b3f6b(0x1cd)](_0x43fdaa){const _0x9d90c6=_0x4b3f6b;if(this[_0x9d90c6(0x1c4)](_0x43fdaa))return 0x0;const _0x2c4cf5=this[_0x9d90c6(0x237)][_0x9d90c6(0x267)],_0x284bdb=this[_0x9d90c6(0x201)][_0x9d90c6(0x267)],_0x2b4c30=this[_0x9d90c6(0x1d7)]();if(_0x2c4cf5['x']===_0x284bdb['x']){if(_0x43fdaa['x']===_0x2c4cf5['x'])return 0x0;return _0x43fdaa['x']<_0x2c4cf5['x']?0x1:-0x1;}const _0x42340c=(_0x43fdaa['y']-_0x2c4cf5['y'])/_0x2b4c30['y'],_0x482fd5=_0x2c4cf5['x']+_0x42340c*_0x2b4c30['x'];if(_0x43fdaa['x']===_0x482fd5)return 0x0;const _0x37f505=(_0x43fdaa['x']-_0x2c4cf5['x'])/_0x2b4c30['x'],_0x173c0b=_0x2c4cf5['y']+_0x37f505*_0x2b4c30['y'];if(_0x43fdaa['y']===_0x173c0b)return 0x0;return _0x43fdaa['y']<_0x173c0b?-0x1:0x1;}[_0x4b3f6b(0x21b)](_0x420658){const _0x57bf6a=_0x4b3f6b,_0x2e51a7=this['bbox'](),_0x259f02=_0x420658[_0x57bf6a(0x1f6)](),_0x31a461=_0x44354c(_0x2e51a7,_0x259f02);if(_0x31a461===null)return null;const _0x224502=this[_0x57bf6a(0x237)][_0x57bf6a(0x267)],_0x5aafa9=this[_0x57bf6a(0x201)][_0x57bf6a(0x267)],_0x12d851=_0x420658[_0x57bf6a(0x237)][_0x57bf6a(0x267)],_0x3976a2=_0x420658['rightSE'][_0x57bf6a(0x267)],_0x55be5e=_0x466109(_0x2e51a7,_0x12d851)&&this[_0x57bf6a(0x1cd)](_0x12d851)===0x0,_0x52ca06=_0x466109(_0x259f02,_0x224502)&&_0x420658['comparePoint'](_0x224502)===0x0,_0x169cf0=_0x466109(_0x2e51a7,_0x3976a2)&&this[_0x57bf6a(0x1cd)](_0x3976a2)===0x0,_0x3817f2=_0x466109(_0x259f02,_0x5aafa9)&&_0x420658[_0x57bf6a(0x1cd)](_0x5aafa9)===0x0;if(_0x52ca06&&_0x55be5e){if(_0x3817f2&&!_0x169cf0)return _0x5aafa9;if(!_0x3817f2&&_0x169cf0)return _0x3976a2;return null;}if(_0x52ca06){if(_0x169cf0){if(_0x224502['x']===_0x3976a2['x']&&_0x224502['y']===_0x3976a2['y'])return null;}return _0x224502;}if(_0x55be5e){if(_0x3817f2){if(_0x5aafa9['x']===_0x12d851['x']&&_0x5aafa9['y']===_0x12d851['y'])return null;}return _0x12d851;}if(_0x3817f2&&_0x169cf0)return null;if(_0x3817f2)return _0x5aafa9;if(_0x169cf0)return _0x3976a2;const _0x2e8fd5=_0x3e68a8(_0x224502,this[_0x57bf6a(0x1d7)](),_0x12d851,_0x420658[_0x57bf6a(0x1d7)]());if(_0x2e8fd5===null)return null;if(!_0x466109(_0x31a461,_0x2e8fd5))return null;return _0x5cb286[_0x57bf6a(0x23a)](_0x2e8fd5['x'],_0x2e8fd5['y']);}[_0x4b3f6b(0x1c6)](_0x11028e){const _0x2b9549=_0x4b3f6b,_0x425dfd=[],_0x29f6db=_0x11028e['events']!==undefined,_0x839e66=new _0x579e37(_0x11028e,!![]),_0x4746d1=new _0x579e37(_0x11028e,![]),_0x594eb7=this[_0x2b9549(0x201)];this[_0x2b9549(0x200)](_0x4746d1),_0x425dfd[_0x2b9549(0x1e3)](_0x4746d1),_0x425dfd[_0x2b9549(0x1e3)](_0x839e66);const _0x29ffe4=new _0x55e7c9(_0x839e66,_0x594eb7,this[_0x2b9549(0x246)]['slice'](),this[_0x2b9549(0x27c)][_0x2b9549(0x206)]());return _0x579e37[_0x2b9549(0x25f)](_0x29ffe4[_0x2b9549(0x237)][_0x2b9549(0x267)],_0x29ffe4[_0x2b9549(0x201)][_0x2b9549(0x267)])>0x0&&_0x29ffe4[_0x2b9549(0x23c)](),_0x579e37['comparePoints'](this[_0x2b9549(0x237)][_0x2b9549(0x267)],this[_0x2b9549(0x201)][_0x2b9549(0x267)])>0x0&&this[_0x2b9549(0x23c)](),_0x29f6db&&(_0x839e66[_0x2b9549(0x1d0)](),_0x4746d1[_0x2b9549(0x1d0)]()),_0x425dfd;}[_0x4b3f6b(0x23c)](){const _0x3e6cbc=_0x4b3f6b,_0x3630e8=this[_0x3e6cbc(0x201)];this['rightSE']=this[_0x3e6cbc(0x237)],this[_0x3e6cbc(0x237)]=_0x3630e8,this[_0x3e6cbc(0x237)][_0x3e6cbc(0x1c8)]=!![],this['rightSE'][_0x3e6cbc(0x1c8)]=![];for(let _0x4dbae0=0x0,_0x22f8a7=this[_0x3e6cbc(0x27c)][_0x3e6cbc(0x1d1)];_0x4dbae0<_0x22f8a7;_0x4dbae0++){this['windings'][_0x4dbae0]*=-0x1;}}[_0x4b3f6b(0x236)](_0x1309d9){const _0x7391fd=_0x4b3f6b;let _0x4f0d15=this,_0x545e14=_0x1309d9;while(_0x4f0d15[_0x7391fd(0x23d)])_0x4f0d15=_0x4f0d15['consumedBy'];while(_0x545e14[_0x7391fd(0x23d)])_0x545e14=_0x545e14[_0x7391fd(0x23d)];const _0x29ce4a=_0x55e7c9[_0x7391fd(0x21e)](_0x4f0d15,_0x545e14);if(_0x29ce4a===0x0)return;if(_0x29ce4a>0x0){const _0x372a70=_0x4f0d15;_0x4f0d15=_0x545e14,_0x545e14=_0x372a70;}if(_0x4f0d15['prev']===_0x545e14){const _0x3e7af9=_0x4f0d15;_0x4f0d15=_0x545e14,_0x545e14=_0x3e7af9;}for(let _0xbd5b8c=0x0,_0x4ef145=_0x545e14[_0x7391fd(0x246)][_0x7391fd(0x1d1)];_0xbd5b8c<_0x4ef145;_0xbd5b8c++){const _0x4d9004=_0x545e14[_0x7391fd(0x246)][_0xbd5b8c],_0x31c039=_0x545e14[_0x7391fd(0x27c)][_0xbd5b8c],_0x2795ab=_0x4f0d15[_0x7391fd(0x246)][_0x7391fd(0x280)](_0x4d9004);if(_0x2795ab===-0x1)_0x4f0d15['rings'][_0x7391fd(0x1e3)](_0x4d9004),_0x4f0d15[_0x7391fd(0x27c)]['push'](_0x31c039);else _0x4f0d15[_0x7391fd(0x27c)][_0x2795ab]+=_0x31c039;}_0x545e14[_0x7391fd(0x246)]=null,_0x545e14['windings']=null,_0x545e14['consumedBy']=_0x4f0d15,_0x545e14[_0x7391fd(0x237)][_0x7391fd(0x23d)]=_0x4f0d15[_0x7391fd(0x237)],_0x545e14['rightSE'][_0x7391fd(0x23d)]=_0x4f0d15['rightSE'];}['prevInResult'](){const _0x5c25cf=_0x4b3f6b;if(this[_0x5c25cf(0x26e)]!==undefined)return this['_prevInResult'];if(!this[_0x5c25cf(0x203)])this['_prevInResult']=null;else{if(this[_0x5c25cf(0x203)][_0x5c25cf(0x266)]())this[_0x5c25cf(0x26e)]=this[_0x5c25cf(0x203)];else this['_prevInResult']=this[_0x5c25cf(0x203)][_0x5c25cf(0x1ff)]();}return this[_0x5c25cf(0x26e)];}[_0x4b3f6b(0x1e0)](){const _0x3d0485=_0x4b3f6b;if(this[_0x3d0485(0x241)]!==undefined)return this[_0x3d0485(0x241)];if(!this['prev'])this[_0x3d0485(0x241)]={'rings':[],'windings':[],'multiPolys':[]};else{const _0x1a98a4=this[_0x3d0485(0x203)][_0x3d0485(0x23d)]||this[_0x3d0485(0x203)];this[_0x3d0485(0x241)]=_0x1a98a4[_0x3d0485(0x220)]();}return this[_0x3d0485(0x241)];}['afterState'](){const _0x1b3cb4=_0x4b3f6b;if(this[_0x1b3cb4(0x279)]!==undefined)return this[_0x1b3cb4(0x279)];const _0x4d16e6=this['beforeState']();this['_afterState']={'rings':_0x4d16e6['rings']['slice'](0x0),'windings':_0x4d16e6['windings'][_0x1b3cb4(0x206)](0x0),'multiPolys':[]};const _0x352942=this['_afterState']['rings'],_0x72cf4a=this['_afterState'][_0x1b3cb4(0x27c)],_0x3a51f2=this['_afterState'][_0x1b3cb4(0x27e)];for(let _0x561cea=0x0,_0x4ae144=this[_0x1b3cb4(0x246)][_0x1b3cb4(0x1d1)];_0x561cea<_0x4ae144;_0x561cea++){const _0x1ee20a=this['rings'][_0x561cea],_0x59bd0b=this[_0x1b3cb4(0x27c)][_0x561cea],_0x28c68c=_0x352942['indexOf'](_0x1ee20a);if(_0x28c68c===-0x1)_0x352942[_0x1b3cb4(0x1e3)](_0x1ee20a),_0x72cf4a[_0x1b3cb4(0x1e3)](_0x59bd0b);else _0x72cf4a[_0x28c68c]+=_0x59bd0b;}const _0x83644b=[],_0x162ad2=[];for(let _0x5748c7=0x0,_0x46127c=_0x352942[_0x1b3cb4(0x1d1)];_0x5748c7<_0x46127c;_0x5748c7++){if(_0x72cf4a[_0x5748c7]===0x0)continue;const _0x23ca41=_0x352942[_0x5748c7],_0x57debc=_0x23ca41[_0x1b3cb4(0x263)];if(_0x162ad2['indexOf'](_0x57debc)!==-0x1)continue;if(_0x23ca41[_0x1b3cb4(0x26d)])_0x83644b[_0x1b3cb4(0x1e3)](_0x57debc);else{if(_0x162ad2[_0x1b3cb4(0x280)](_0x57debc)===-0x1)_0x162ad2['push'](_0x57debc);const _0x851bfa=_0x83644b['indexOf'](_0x23ca41['poly']);if(_0x851bfa!==-0x1)_0x83644b[_0x1b3cb4(0x24d)](_0x851bfa,0x1);}}for(let _0x3ec0d9=0x0,_0x37bf69=_0x83644b[_0x1b3cb4(0x1d1)];_0x3ec0d9<_0x37bf69;_0x3ec0d9++){const _0xc1e702=_0x83644b[_0x3ec0d9][_0x1b3cb4(0x260)];if(_0x3a51f2[_0x1b3cb4(0x280)](_0xc1e702)===-0x1)_0x3a51f2['push'](_0xc1e702);}return this['_afterState'];}[_0x4b3f6b(0x266)](){const _0x14026f=_0x4b3f6b;if(this['consumedBy'])return![];if(this[_0x14026f(0x1e9)]!==undefined)return this[_0x14026f(0x1e9)];const _0x15d0ad=this[_0x14026f(0x1e0)]()[_0x14026f(0x27e)],_0x9d8980=this[_0x14026f(0x220)]()[_0x14026f(0x27e)];switch(_0x367e1e[_0x14026f(0x22c)]){case'union':{const _0x27dffb=_0x15d0ad[_0x14026f(0x1d1)]===0x0,_0x5c8fd2=_0x9d8980['length']===0x0;this[_0x14026f(0x1e9)]=_0x27dffb!==_0x5c8fd2;break;}case _0x14026f(0x25e):{let _0xc0fb87,_0x39bb43;_0x15d0ad[_0x14026f(0x1d1)]<_0x9d8980['length']?(_0xc0fb87=_0x15d0ad['length'],_0x39bb43=_0x9d8980[_0x14026f(0x1d1)]):(_0xc0fb87=_0x9d8980[_0x14026f(0x1d1)],_0x39bb43=_0x15d0ad['length']);this[_0x14026f(0x1e9)]=_0x39bb43===_0x367e1e[_0x14026f(0x1e2)]&&_0xc0fb87<_0x39bb43;break;}case _0x14026f(0x211):{const _0x330c09=Math['abs'](_0x15d0ad[_0x14026f(0x1d1)]-_0x9d8980[_0x14026f(0x1d1)]);this['_isInResult']=_0x330c09%0x2===0x1;break;}case _0x14026f(0x1ca):{const _0x3dbd66=_0x5ce9af=>_0x5ce9af['length']===0x1&&_0x5ce9af[0x0][_0x14026f(0x27b)];this[_0x14026f(0x1e9)]=_0x3dbd66(_0x15d0ad)!==_0x3dbd66(_0x9d8980);break;}default:throw new Error(_0x14026f(0x258)+_0x367e1e[_0x14026f(0x22c)]);}return this['_isInResult'];}}class _0x246c00{constructor(_0x2ba60c,_0x64b3aa,_0x26749c){const _0x370404=_0x4b3f6b;if(!Array[_0x370404(0x272)](_0x2ba60c)||_0x2ba60c[_0x370404(0x1d1)]===0x0)throw new Error('Input\x20geometry\x20is\x20not\x20a\x20valid\x20Polygon\x20or\x20MultiPolygon');this[_0x370404(0x263)]=_0x64b3aa,this[_0x370404(0x26d)]=_0x26749c,this[_0x370404(0x221)]=[];if(typeof _0x2ba60c[0x0][0x0]!==_0x370404(0x253)||typeof _0x2ba60c[0x0][0x1]!==_0x370404(0x253))throw new Error(_0x370404(0x27d));const _0x4513ba=_0x5cb286['round'](_0x2ba60c[0x0][0x0],_0x2ba60c[0x0][0x1]);this['bbox']={'ll':{'x':_0x4513ba['x'],'y':_0x4513ba['y']},'ur':{'x':_0x4513ba['x'],'y':_0x4513ba['y']}};let _0x46154f=_0x4513ba;for(let _0x16b5dc=0x1,_0x9abe4a=_0x2ba60c[_0x370404(0x1d1)];_0x16b5dc<_0x9abe4a;_0x16b5dc++){if(typeof _0x2ba60c[_0x16b5dc][0x0]!==_0x370404(0x253)||typeof _0x2ba60c[_0x16b5dc][0x1]!==_0x370404(0x253))throw new Error(_0x370404(0x27d));let _0x149cda=_0x5cb286['round'](_0x2ba60c[_0x16b5dc][0x0],_0x2ba60c[_0x16b5dc][0x1]);if(_0x149cda['x']===_0x46154f['x']&&_0x149cda['y']===_0x46154f['y'])continue;this[_0x370404(0x221)][_0x370404(0x1e3)](_0x55e7c9[_0x370404(0x22e)](_0x46154f,_0x149cda,this));if(_0x149cda['x']<this[_0x370404(0x1f6)]['ll']['x'])this['bbox']['ll']['x']=_0x149cda['x'];if(_0x149cda['y']<this[_0x370404(0x1f6)]['ll']['y'])this[_0x370404(0x1f6)]['ll']['y']=_0x149cda['y'];if(_0x149cda['x']>this[_0x370404(0x1f6)]['ur']['x'])this['bbox']['ur']['x']=_0x149cda['x'];if(_0x149cda['y']>this[_0x370404(0x1f6)]['ur']['y'])this['bbox']['ur']['y']=_0x149cda['y'];_0x46154f=_0x149cda;}(_0x4513ba['x']!==_0x46154f['x']||_0x4513ba['y']!==_0x46154f['y'])&&this[_0x370404(0x221)][_0x370404(0x1e3)](_0x55e7c9['fromRing'](_0x46154f,_0x4513ba,this));}[_0x4b3f6b(0x1f1)](){const _0x500c69=_0x4b3f6b,_0x577c44=[];for(let _0x33a555=0x0,_0x23498f=this[_0x500c69(0x221)][_0x500c69(0x1d1)];_0x33a555<_0x23498f;_0x33a555++){const _0x4cc05d=this[_0x500c69(0x221)][_0x33a555];_0x577c44['push'](_0x4cc05d['leftSE']),_0x577c44[_0x500c69(0x1e3)](_0x4cc05d['rightSE']);}return _0x577c44;}}class _0x4b2574{constructor(_0x5110d8,_0x10005f){const _0x2a9e28=_0x4b3f6b;if(!Array[_0x2a9e28(0x272)](_0x5110d8))throw new Error(_0x2a9e28(0x27d));this['exteriorRing']=new _0x246c00(_0x5110d8[0x0],this,!![]),this[_0x2a9e28(0x1f6)]={'ll':{'x':this[_0x2a9e28(0x222)][_0x2a9e28(0x1f6)]['ll']['x'],'y':this[_0x2a9e28(0x222)][_0x2a9e28(0x1f6)]['ll']['y']},'ur':{'x':this['exteriorRing'][_0x2a9e28(0x1f6)]['ur']['x'],'y':this[_0x2a9e28(0x222)][_0x2a9e28(0x1f6)]['ur']['y']}},this[_0x2a9e28(0x25a)]=[];for(let _0x1b6027=0x1,_0xff2061=_0x5110d8[_0x2a9e28(0x1d1)];_0x1b6027<_0xff2061;_0x1b6027++){const _0x5cb3da=new _0x246c00(_0x5110d8[_0x1b6027],this,![]);if(_0x5cb3da[_0x2a9e28(0x1f6)]['ll']['x']<this['bbox']['ll']['x'])this[_0x2a9e28(0x1f6)]['ll']['x']=_0x5cb3da['bbox']['ll']['x'];if(_0x5cb3da[_0x2a9e28(0x1f6)]['ll']['y']<this['bbox']['ll']['y'])this[_0x2a9e28(0x1f6)]['ll']['y']=_0x5cb3da[_0x2a9e28(0x1f6)]['ll']['y'];if(_0x5cb3da[_0x2a9e28(0x1f6)]['ur']['x']>this[_0x2a9e28(0x1f6)]['ur']['x'])this[_0x2a9e28(0x1f6)]['ur']['x']=_0x5cb3da[_0x2a9e28(0x1f6)]['ur']['x'];if(_0x5cb3da[_0x2a9e28(0x1f6)]['ur']['y']>this[_0x2a9e28(0x1f6)]['ur']['y'])this[_0x2a9e28(0x1f6)]['ur']['y']=_0x5cb3da[_0x2a9e28(0x1f6)]['ur']['y'];this[_0x2a9e28(0x25a)][_0x2a9e28(0x1e3)](_0x5cb3da);}this[_0x2a9e28(0x260)]=_0x10005f;}['getSweepEvents'](){const _0xcf4af4=_0x4b3f6b,_0x25f4c1=this['exteriorRing'][_0xcf4af4(0x1f1)]();for(let _0x2172a2=0x0,_0x16a18d=this[_0xcf4af4(0x25a)]['length'];_0x2172a2<_0x16a18d;_0x2172a2++){const _0x16ee34=this[_0xcf4af4(0x25a)][_0x2172a2][_0xcf4af4(0x1f1)]();for(let _0x47f054=0x0,_0x577a96=_0x16ee34[_0xcf4af4(0x1d1)];_0x47f054<_0x577a96;_0x47f054++){_0x25f4c1['push'](_0x16ee34[_0x47f054]);}}return _0x25f4c1;}}class _0xff10cd{constructor(_0x48849e,_0x2abaae){const _0x1eb978=_0x4b3f6b;if(!Array[_0x1eb978(0x272)](_0x48849e))throw new Error(_0x1eb978(0x27d));try{if(typeof _0x48849e[0x0][0x0][0x0]===_0x1eb978(0x253))_0x48849e=[_0x48849e];}catch(_0x3de116){}this[_0x1eb978(0x239)]=[],this[_0x1eb978(0x1f6)]={'ll':{'x':Number[_0x1eb978(0x1eb)],'y':Number['POSITIVE_INFINITY']},'ur':{'x':Number[_0x1eb978(0x23e)],'y':Number[_0x1eb978(0x23e)]}};for(let _0x9ee66c=0x0,_0x18c432=_0x48849e[_0x1eb978(0x1d1)];_0x9ee66c<_0x18c432;_0x9ee66c++){const _0x31daa8=new _0x4b2574(_0x48849e[_0x9ee66c],this);if(_0x31daa8['bbox']['ll']['x']<this['bbox']['ll']['x'])this['bbox']['ll']['x']=_0x31daa8[_0x1eb978(0x1f6)]['ll']['x'];if(_0x31daa8[_0x1eb978(0x1f6)]['ll']['y']<this[_0x1eb978(0x1f6)]['ll']['y'])this[_0x1eb978(0x1f6)]['ll']['y']=_0x31daa8['bbox']['ll']['y'];if(_0x31daa8['bbox']['ur']['x']>this[_0x1eb978(0x1f6)]['ur']['x'])this[_0x1eb978(0x1f6)]['ur']['x']=_0x31daa8['bbox']['ur']['x'];if(_0x31daa8[_0x1eb978(0x1f6)]['ur']['y']>this[_0x1eb978(0x1f6)]['ur']['y'])this[_0x1eb978(0x1f6)]['ur']['y']=_0x31daa8[_0x1eb978(0x1f6)]['ur']['y'];this[_0x1eb978(0x239)]['push'](_0x31daa8);}this[_0x1eb978(0x27b)]=_0x2abaae;}[_0x4b3f6b(0x1f1)](){const _0x1f05af=_0x4b3f6b,_0x4ad3f0=[];for(let _0x1e62f1=0x0,_0x14955f=this['polys'][_0x1f05af(0x1d1)];_0x1e62f1<_0x14955f;_0x1e62f1++){const _0x53a95a=this[_0x1f05af(0x239)][_0x1e62f1][_0x1f05af(0x1f1)]();for(let _0x4d5097=0x0,_0x51ffc4=_0x53a95a[_0x1f05af(0x1d1)];_0x4d5097<_0x51ffc4;_0x4d5097++){_0x4ad3f0[_0x1f05af(0x1e3)](_0x53a95a[_0x4d5097]);}}return _0x4ad3f0;}}class _0x1bf25d{static[_0x4b3f6b(0x242)](_0x3f5c64){const _0x44c331=_0x4b3f6b,_0x3d0aa7=[];for(let _0x4a0b5d=0x0,_0x3490a4=_0x3f5c64['length'];_0x4a0b5d<_0x3490a4;_0x4a0b5d++){const _0x19e207=_0x3f5c64[_0x4a0b5d];if(!_0x19e207[_0x44c331(0x266)]()||_0x19e207[_0x44c331(0x245)])continue;let _0x36808d=null,_0xb17c4d=_0x19e207[_0x44c331(0x237)],_0x373729=_0x19e207['rightSE'];const _0x1c031e=[_0xb17c4d],_0x593247=_0xb17c4d[_0x44c331(0x267)],_0x406e0e=[];while(!![]){_0x36808d=_0xb17c4d,_0xb17c4d=_0x373729,_0x1c031e[_0x44c331(0x1e3)](_0xb17c4d);if(_0xb17c4d['point']===_0x593247)break;while(!![]){const _0x10cfd5=_0xb17c4d[_0x44c331(0x1fd)]();if(_0x10cfd5[_0x44c331(0x1d1)]===0x0){const _0x2699d0=_0x1c031e[0x0][_0x44c331(0x267)],_0x1d2386=_0x1c031e[_0x1c031e[_0x44c331(0x1d1)]-0x1][_0x44c331(0x267)];throw new Error('Unable\x20to\x20complete\x20output\x20ring\x20starting\x20at\x20['+_0x2699d0['x']+','+('\x20'+_0x2699d0['y']+_0x44c331(0x1e6))+('\x20['+_0x1d2386['x']+',\x20'+_0x1d2386['y']+'].'));}if(_0x10cfd5[_0x44c331(0x1d1)]===0x1){_0x373729=_0x10cfd5[0x0][_0x44c331(0x24c)];break;}let _0x41c819=null;for(let _0x293df0=0x0,_0x21a086=_0x406e0e[_0x44c331(0x1d1)];_0x293df0<_0x21a086;_0x293df0++){if(_0x406e0e[_0x293df0][_0x44c331(0x267)]===_0xb17c4d[_0x44c331(0x267)]){_0x41c819=_0x293df0;break;}}if(_0x41c819!==null){const _0x58aef6=_0x406e0e[_0x44c331(0x24d)](_0x41c819)[0x0],_0x4e54b1=_0x1c031e[_0x44c331(0x24d)](_0x58aef6[_0x44c331(0x1ef)]);_0x4e54b1[_0x44c331(0x1d6)](_0x4e54b1[0x0]['otherSE']),_0x3d0aa7[_0x44c331(0x1e3)](new _0x1bf25d(_0x4e54b1['reverse']()));continue;}_0x406e0e[_0x44c331(0x1e3)]({'index':_0x1c031e['length'],'point':_0xb17c4d[_0x44c331(0x267)]});const _0x166d14=_0xb17c4d[_0x44c331(0x210)](_0x36808d);_0x373729=_0x10cfd5[_0x44c331(0x228)](_0x166d14)[0x0][_0x44c331(0x24c)];break;}}_0x3d0aa7[_0x44c331(0x1e3)](new _0x1bf25d(_0x1c031e));}return _0x3d0aa7;}constructor(_0xb6c352){const _0xf8692b=_0x4b3f6b;this['events']=_0xb6c352;for(let _0x2cd170=0x0,_0x45ccdd=_0xb6c352['length'];_0x2cd170<_0x45ccdd;_0x2cd170++){_0xb6c352[_0x2cd170]['segment'][_0xf8692b(0x245)]=this;}this[_0xf8692b(0x263)]=null;}[_0x4b3f6b(0x26b)](){const _0x309270=_0x4b3f6b;let _0x24cd09=this[_0x309270(0x26a)][0x0][_0x309270(0x267)];const _0x8d1848=[_0x24cd09];for(let _0x3aff6b=0x1,_0x36a660=this[_0x309270(0x26a)]['length']-0x1;_0x3aff6b<_0x36a660;_0x3aff6b++){const _0x24017f=this['events'][_0x3aff6b][_0x309270(0x267)],_0x19e9fa=this['events'][_0x3aff6b+0x1][_0x309270(0x267)];if(_0x4c81d4(_0x24017f,_0x24cd09,_0x19e9fa)===0x0)continue;_0x8d1848[_0x309270(0x1e3)](_0x24017f),_0x24cd09=_0x24017f;}if(_0x8d1848[_0x309270(0x1d1)]===0x1)return null;const _0x55edee=_0x8d1848[0x0],_0x1179ef=_0x8d1848[0x1];if(_0x4c81d4(_0x55edee,_0x24cd09,_0x1179ef)===0x0)_0x8d1848[_0x309270(0x225)]();_0x8d1848[_0x309270(0x1e3)](_0x8d1848[0x0]);const _0x3a0065=this['isExteriorRing']()?0x1:-0x1,_0x3785c9=this[_0x309270(0x205)]()?0x0:_0x8d1848[_0x309270(0x1d1)]-0x1,_0x26521c=this['isExteriorRing']()?_0x8d1848[_0x309270(0x1d1)]:-0x1,_0x55ebd4=[];for(let _0xf582a=_0x3785c9;_0xf582a!=_0x26521c;_0xf582a+=_0x3a0065)_0x55ebd4[_0x309270(0x1e3)]([_0x8d1848[_0xf582a]['x'],_0x8d1848[_0xf582a]['y']]);return _0x55ebd4;}[_0x4b3f6b(0x205)](){const _0x294cf1=_0x4b3f6b;if(this[_0x294cf1(0x24b)]===undefined){const _0x216ecd=this['enclosingRing']();this[_0x294cf1(0x24b)]=_0x216ecd?!_0x216ecd[_0x294cf1(0x205)]():!![];}return this[_0x294cf1(0x24b)];}[_0x4b3f6b(0x219)](){const _0x1eb9de=_0x4b3f6b;return this['_enclosingRing']===undefined&&(this['_enclosingRing']=this[_0x1eb9de(0x1e5)]()),this[_0x1eb9de(0x248)];}[_0x4b3f6b(0x1e5)](){const _0x2d2c79=_0x4b3f6b;let _0x2bbebe=this[_0x2d2c79(0x26a)][0x0];for(let _0x74ba77=0x1,_0x951e70=this[_0x2d2c79(0x26a)][_0x2d2c79(0x1d1)];_0x74ba77<_0x951e70;_0x74ba77++){const _0x2f8780=this[_0x2d2c79(0x26a)][_0x74ba77];if(_0x579e37[_0x2d2c79(0x21e)](_0x2bbebe,_0x2f8780)>0x0)_0x2bbebe=_0x2f8780;}let _0x578f39=_0x2bbebe[_0x2d2c79(0x20a)][_0x2d2c79(0x1ff)](),_0x10ce9c=_0x578f39?_0x578f39[_0x2d2c79(0x1ff)]():null;while(!![]){if(!_0x578f39)return null;if(!_0x10ce9c)return _0x578f39[_0x2d2c79(0x245)];if(_0x10ce9c[_0x2d2c79(0x245)]!==_0x578f39[_0x2d2c79(0x245)]){if(_0x10ce9c['ringOut'][_0x2d2c79(0x219)]()!==_0x578f39[_0x2d2c79(0x245)])return _0x578f39[_0x2d2c79(0x245)];else return _0x578f39[_0x2d2c79(0x245)]['enclosingRing']();}_0x578f39=_0x10ce9c[_0x2d2c79(0x1ff)](),_0x10ce9c=_0x578f39?_0x578f39['prevInResult']():null;}}}class _0x229b0e{constructor(_0x29ea18){const _0x171012=_0x4b3f6b;this['exteriorRing']=_0x29ea18,_0x29ea18[_0x171012(0x263)]=this,this[_0x171012(0x25a)]=[];}[_0x4b3f6b(0x1f2)](_0x1e51f0){const _0x52db9d=_0x4b3f6b;this['interiorRings'][_0x52db9d(0x1e3)](_0x1e51f0),_0x1e51f0[_0x52db9d(0x263)]=this;}[_0x4b3f6b(0x26b)](){const _0x38d39a=_0x4b3f6b,_0x19d5e7=[this[_0x38d39a(0x222)]['getGeom']()];if(_0x19d5e7[0x0]===null)return null;for(let _0x2ae918=0x0,_0x27f5aa=this[_0x38d39a(0x25a)][_0x38d39a(0x1d1)];_0x2ae918<_0x27f5aa;_0x2ae918++){const _0x5afdaa=this['interiorRings'][_0x2ae918][_0x38d39a(0x26b)]();if(_0x5afdaa===null)continue;_0x19d5e7[_0x38d39a(0x1e3)](_0x5afdaa);}return _0x19d5e7;}}class _0xe39f61{constructor(_0x2ea649){const _0x5a93ae=_0x4b3f6b;this['rings']=_0x2ea649,this[_0x5a93ae(0x239)]=this[_0x5a93ae(0x244)](_0x2ea649);}['getGeom'](){const _0x5a8304=_0x4b3f6b,_0x431f55=[];for(let _0x33b9bd=0x0,_0x4073ec=this[_0x5a8304(0x239)][_0x5a8304(0x1d1)];_0x33b9bd<_0x4073ec;_0x33b9bd++){const _0x5df49e=this[_0x5a8304(0x239)][_0x33b9bd]['getGeom']();if(_0x5df49e===null)continue;_0x431f55[_0x5a8304(0x1e3)](_0x5df49e);}return _0x431f55;}[_0x4b3f6b(0x244)](_0x51a09b){const _0x41d403=_0x4b3f6b,_0x1143b9=[];for(let _0x52aa5b=0x0,_0xa199bc=_0x51a09b[_0x41d403(0x1d1)];_0x52aa5b<_0xa199bc;_0x52aa5b++){const _0x50a535=_0x51a09b[_0x52aa5b];if(_0x50a535['poly'])continue;if(_0x50a535[_0x41d403(0x205)]())_0x1143b9[_0x41d403(0x1e3)](new _0x229b0e(_0x50a535));else{const _0x1d047d=_0x50a535[_0x41d403(0x219)]();if(!_0x1d047d['poly'])_0x1143b9['push'](new _0x229b0e(_0x1d047d));_0x1d047d[_0x41d403(0x263)][_0x41d403(0x1f2)](_0x50a535);}}return _0x1143b9;}}class _0x3f54f3{constructor(_0x173c37){const _0x21157a=_0x4b3f6b;let _0xd5d9cd=arguments[_0x21157a(0x1d1)]>0x1&&arguments[0x1]!==undefined?arguments[0x1]:_0x55e7c9['compare'];this[_0x21157a(0x1ec)]=_0x173c37,this['tree']=new _0x3ffab8(_0xd5d9cd),this[_0x21157a(0x221)]=[];}[_0x4b3f6b(0x1e8)](_0x57bf1e){const _0x5ccd10=_0x4b3f6b,_0x1a64b6=_0x57bf1e[_0x5ccd10(0x20a)],_0x80951a=[];if(_0x57bf1e['consumedBy']){if(_0x57bf1e[_0x5ccd10(0x1c8)])this[_0x5ccd10(0x1ec)][_0x5ccd10(0x254)](_0x57bf1e['otherSE']);else this['tree'][_0x5ccd10(0x254)](_0x1a64b6);return _0x80951a;}const _0xf02268=_0x57bf1e[_0x5ccd10(0x1c8)]?this[_0x5ccd10(0x259)]['add'](_0x1a64b6):this[_0x5ccd10(0x259)][_0x5ccd10(0x208)](_0x1a64b6);if(!_0xf02268)throw new Error('Unable\x20to\x20find\x20segment\x20#'+_0x1a64b6['id']+'\x20'+('['+_0x1a64b6[_0x5ccd10(0x237)][_0x5ccd10(0x267)]['x']+',\x20'+_0x1a64b6[_0x5ccd10(0x237)]['point']['y']+_0x5ccd10(0x1c1))+('['+_0x1a64b6[_0x5ccd10(0x201)]['point']['x']+',\x20'+_0x1a64b6[_0x5ccd10(0x201)]['point']['y']+']\x20')+_0x5ccd10(0x1de));let _0x2c2ebb=_0xf02268,_0x4162b5=_0xf02268,_0x3ac006=undefined,_0x537370=undefined;while(_0x3ac006===undefined){_0x2c2ebb=this[_0x5ccd10(0x259)][_0x5ccd10(0x203)](_0x2c2ebb);if(_0x2c2ebb===null)_0x3ac006=null;else{if(_0x2c2ebb[_0x5ccd10(0x214)][_0x5ccd10(0x23d)]===undefined)_0x3ac006=_0x2c2ebb['key'];}}while(_0x537370===undefined){_0x4162b5=this[_0x5ccd10(0x259)][_0x5ccd10(0x25c)](_0x4162b5);if(_0x4162b5===null)_0x537370=null;else{if(_0x4162b5[_0x5ccd10(0x214)][_0x5ccd10(0x23d)]===undefined)_0x537370=_0x4162b5[_0x5ccd10(0x214)];}}if(_0x57bf1e[_0x5ccd10(0x1c8)]){let _0x282278=null;if(_0x3ac006){const _0x4e4fbc=_0x3ac006['getIntersection'](_0x1a64b6);if(_0x4e4fbc!==null){if(!_0x1a64b6[_0x5ccd10(0x1c4)](_0x4e4fbc))_0x282278=_0x4e4fbc;if(!_0x3ac006['isAnEndpoint'](_0x4e4fbc)){const _0x3945b8=this['_splitSafely'](_0x3ac006,_0x4e4fbc);for(let _0x4a6c31=0x0,_0x4b4612=_0x3945b8[_0x5ccd10(0x1d1)];_0x4a6c31<_0x4b4612;_0x4a6c31++){_0x80951a['push'](_0x3945b8[_0x4a6c31]);}}}}let _0x2ec6eb=null;if(_0x537370){const _0x57e78b=_0x537370[_0x5ccd10(0x21b)](_0x1a64b6);if(_0x57e78b!==null){if(!_0x1a64b6[_0x5ccd10(0x1c4)](_0x57e78b))_0x2ec6eb=_0x57e78b;if(!_0x537370[_0x5ccd10(0x1c4)](_0x57e78b)){const _0x1b0665=this[_0x5ccd10(0x27f)](_0x537370,_0x57e78b);for(let _0x140d4a=0x0,_0x5218e5=_0x1b0665[_0x5ccd10(0x1d1)];_0x140d4a<_0x5218e5;_0x140d4a++){_0x80951a['push'](_0x1b0665[_0x140d4a]);}}}}if(_0x282278!==null||_0x2ec6eb!==null){let _0x5a1abf=null;if(_0x282278===null)_0x5a1abf=_0x2ec6eb;else{if(_0x2ec6eb===null)_0x5a1abf=_0x282278;else{const _0x4ec6b4=_0x579e37[_0x5ccd10(0x25f)](_0x282278,_0x2ec6eb);_0x5a1abf=_0x4ec6b4<=0x0?_0x282278:_0x2ec6eb;}}this[_0x5ccd10(0x1ec)][_0x5ccd10(0x254)](_0x1a64b6[_0x5ccd10(0x201)]),_0x80951a[_0x5ccd10(0x1e3)](_0x1a64b6['rightSE']);const _0x2fedf0=_0x1a64b6[_0x5ccd10(0x1c6)](_0x5a1abf);for(let _0x2c2643=0x0,_0x2f0ae0=_0x2fedf0['length'];_0x2c2643<_0x2f0ae0;_0x2c2643++){_0x80951a[_0x5ccd10(0x1e3)](_0x2fedf0[_0x2c2643]);}}_0x80951a[_0x5ccd10(0x1d1)]>0x0?(this[_0x5ccd10(0x259)][_0x5ccd10(0x254)](_0x1a64b6),_0x80951a[_0x5ccd10(0x1e3)](_0x57bf1e)):(this['segments'][_0x5ccd10(0x1e3)](_0x1a64b6),_0x1a64b6[_0x5ccd10(0x203)]=_0x3ac006);}else{if(_0x3ac006&&_0x537370){const _0x43c008=_0x3ac006[_0x5ccd10(0x21b)](_0x537370);if(_0x43c008!==null){if(!_0x3ac006['isAnEndpoint'](_0x43c008)){const _0x278043=this[_0x5ccd10(0x27f)](_0x3ac006,_0x43c008);for(let _0x64da1d=0x0,_0x517892=_0x278043['length'];_0x64da1d<_0x517892;_0x64da1d++){_0x80951a['push'](_0x278043[_0x64da1d]);}}if(!_0x537370[_0x5ccd10(0x1c4)](_0x43c008)){const _0x2f1ec2=this[_0x5ccd10(0x27f)](_0x537370,_0x43c008);for(let _0x5e43f8=0x0,_0x544678=_0x2f1ec2[_0x5ccd10(0x1d1)];_0x5e43f8<_0x544678;_0x5e43f8++){_0x80951a[_0x5ccd10(0x1e3)](_0x2f1ec2[_0x5e43f8]);}}}}this[_0x5ccd10(0x259)][_0x5ccd10(0x254)](_0x1a64b6);}return _0x80951a;}[_0x4b3f6b(0x27f)](_0x4f4e7d,_0x2c2b30){const _0xe70781=_0x4b3f6b;this['tree'][_0xe70781(0x254)](_0x4f4e7d);const _0x3176db=_0x4f4e7d['rightSE'];this[_0xe70781(0x1ec)]['remove'](_0x3176db);const _0x4aaeef=_0x4f4e7d[_0xe70781(0x1c6)](_0x2c2b30);_0x4aaeef[_0xe70781(0x1e3)](_0x3176db);if(_0x4f4e7d[_0xe70781(0x23d)]===undefined)this[_0xe70781(0x259)][_0xe70781(0x1c9)](_0x4f4e7d);return _0x4aaeef;}}const _0x3bbcce=typeof process!==_0x4b3f6b(0x1ed)&&process[_0x4b3f6b(0x230)]['POLYGON_CLIPPING_MAX_QUEUE_SIZE']||0xf4240,_0x29f9a7=typeof process!==_0x4b3f6b(0x1ed)&&process[_0x4b3f6b(0x230)]['POLYGON_CLIPPING_MAX_SWEEPLINE_SEGMENTS']||0xf4240;class _0x1785b6{[_0x4b3f6b(0x271)](_0x2a0f7a,_0x5da9c2,_0xe18140){const _0x1acfa4=_0x4b3f6b;_0x367e1e['type']=_0x2a0f7a,_0x5cb286['reset']();const _0x2f9c79=[new _0xff10cd(_0x5da9c2,!![])];for(let _0x3c1e3b=0x0,_0x37fc0e=_0xe18140[_0x1acfa4(0x1d1)];_0x3c1e3b<_0x37fc0e;_0x3c1e3b++){_0x2f9c79['push'](new _0xff10cd(_0xe18140[_0x3c1e3b],![]));}_0x367e1e[_0x1acfa4(0x1e2)]=_0x2f9c79['length'];if(_0x367e1e[_0x1acfa4(0x22c)]==='difference'){const _0x170360=_0x2f9c79[0x0];let _0x36b8b2=0x1;while(_0x36b8b2<_0x2f9c79['length']){if(_0x44354c(_0x2f9c79[_0x36b8b2][_0x1acfa4(0x1f6)],_0x170360[_0x1acfa4(0x1f6)])!==null)_0x36b8b2++;else _0x2f9c79[_0x1acfa4(0x24d)](_0x36b8b2,0x1);}}if(_0x367e1e[_0x1acfa4(0x22c)]===_0x1acfa4(0x25e))for(let _0x96dfac=0x0,_0x5ccf2f=_0x2f9c79[_0x1acfa4(0x1d1)];_0x96dfac<_0x5ccf2f;_0x96dfac++){const _0x4de32f=_0x2f9c79[_0x96dfac];for(let _0x235c20=_0x96dfac+0x1,_0x1a7ca1=_0x2f9c79['length'];_0x235c20<_0x1a7ca1;_0x235c20++){if(_0x44354c(_0x4de32f[_0x1acfa4(0x1f6)],_0x2f9c79[_0x235c20][_0x1acfa4(0x1f6)])===null)return[];}}const _0x30509f=new _0x3ffab8(_0x579e37[_0x1acfa4(0x21e)]);for(let _0x214454=0x0,_0x2537cb=_0x2f9c79['length'];_0x214454<_0x2537cb;_0x214454++){const _0x2e83e4=_0x2f9c79[_0x214454][_0x1acfa4(0x1f1)]();for(let _0x32dca1=0x0,_0x241ada=_0x2e83e4[_0x1acfa4(0x1d1)];_0x32dca1<_0x241ada;_0x32dca1++){_0x30509f['insert'](_0x2e83e4[_0x32dca1]);if(_0x30509f['size']>_0x3bbcce)throw new Error(_0x1acfa4(0x274)+_0x1acfa4(0x1fb));}}const _0x34dc69=new _0x3f54f3(_0x30509f);let _0x329d4=_0x30509f['size'],_0x28de6e=_0x30509f[_0x1acfa4(0x234)]();while(_0x28de6e){const _0x1151c5=_0x28de6e[_0x1acfa4(0x214)];if(_0x30509f[_0x1acfa4(0x1e7)]===_0x329d4){const _0x278185=_0x1151c5[_0x1acfa4(0x20a)];throw new Error(_0x1acfa4(0x223)+(_0x1151c5['isLeft']?_0x1acfa4(0x224):'right')+_0x1acfa4(0x277)+('['+_0x1151c5[_0x1acfa4(0x267)]['x']+',\x20'+_0x1151c5[_0x1acfa4(0x267)]['y']+_0x1acfa4(0x1d3)+_0x278185['id']+'\x20')+('['+_0x278185[_0x1acfa4(0x237)][_0x1acfa4(0x267)]['x']+',\x20'+_0x278185[_0x1acfa4(0x237)][_0x1acfa4(0x267)]['y']+_0x1acfa4(0x1c1))+('['+_0x278185['rightSE'][_0x1acfa4(0x267)]['x']+',\x20'+_0x278185['rightSE'][_0x1acfa4(0x267)]['y']+_0x1acfa4(0x21f)));}if(_0x30509f[_0x1acfa4(0x1e7)]>_0x3bbcce)throw new Error('Infinite\x20loop\x20when\x20passing\x20sweep\x20line\x20over\x20endpoints\x20'+_0x1acfa4(0x1fb));if(_0x34dc69[_0x1acfa4(0x221)][_0x1acfa4(0x1d1)]>_0x29f9a7)throw new Error(_0x1acfa4(0x23b)+_0x1acfa4(0x1d4));const _0x2bbd40=_0x34dc69[_0x1acfa4(0x1e8)](_0x1151c5);for(let _0x12deea=0x0,_0x291806=_0x2bbd40['length'];_0x12deea<_0x291806;_0x12deea++){const _0x6d7f1d=_0x2bbd40[_0x12deea];if(_0x6d7f1d[_0x1acfa4(0x23d)]===undefined)_0x30509f[_0x1acfa4(0x257)](_0x6d7f1d);}_0x329d4=_0x30509f[_0x1acfa4(0x1e7)],_0x28de6e=_0x30509f[_0x1acfa4(0x234)]();}_0x5cb286['reset']();const _0x51e6a8=_0x1bf25d[_0x1acfa4(0x242)](_0x34dc69[_0x1acfa4(0x221)]),_0x5b41b4=new _0xe39f61(_0x51e6a8);return _0x5b41b4[_0x1acfa4(0x26b)]();}}const _0x367e1e=new _0x1785b6(),_0x47c9c0=function(_0xcb0b7c){const _0x5c2a42=_0x4b3f6b;for(var _0x2baf15=arguments['length'],_0x359582=new Array(_0x2baf15>0x1?_0x2baf15-0x1:0x0),_0x6dd337=0x1;_0x6dd337<_0x2baf15;_0x6dd337++){_0x359582[_0x6dd337-0x1]=arguments[_0x6dd337];}return _0x367e1e['run'](_0x5c2a42(0x281),_0xcb0b7c,_0x359582);},_0x4f34bc=function(_0x4849b2){const _0x30989f=_0x4b3f6b;for(var _0x290126=arguments[_0x30989f(0x1d1)],_0x128099=new Array(_0x290126>0x1?_0x290126-0x1:0x0),_0x5b6436=0x1;_0x5b6436<_0x290126;_0x5b6436++){_0x128099[_0x5b6436-0x1]=arguments[_0x5b6436];}return _0x367e1e[_0x30989f(0x271)]('intersection',_0x4849b2,_0x128099);},_0x2f5d10=function(_0x33650f){const _0x76518c=_0x4b3f6b;for(var _0x80d507=arguments[_0x76518c(0x1d1)],_0x5e354c=new Array(_0x80d507>0x1?_0x80d507-0x1:0x0),_0x5687b8=0x1;_0x5687b8<_0x80d507;_0x5687b8++){_0x5e354c[_0x5687b8-0x1]=arguments[_0x5687b8];}return _0x367e1e[_0x76518c(0x271)](_0x76518c(0x211),_0x33650f,_0x5e354c);},_0x1784d1=function(_0x377cd3){const _0x48f5f9=_0x4b3f6b;for(var _0x542519=arguments[_0x48f5f9(0x1d1)],_0x1f9cbe=new Array(_0x542519>0x1?_0x542519-0x1:0x0),_0x3d0b58=0x1;_0x3d0b58<_0x542519;_0x3d0b58++){_0x1f9cbe[_0x3d0b58-0x1]=arguments[_0x3d0b58];}return _0x367e1e[_0x48f5f9(0x271)](_0x48f5f9(0x1ca),_0x377cd3,_0x1f9cbe);};var _0x242332={'union':_0x47c9c0,'intersection':_0x4f34bc,'xor':_0x2f5d10,'difference':_0x1784d1};return _0x242332;}));}(polygonClipping_umd$1),polygonClipping_umd$1[_0x52436c(0x1f9)];}var polygonClipping_umdExports=requirePolygonClipping_umd(),polygonClipping=getDefaultExportFromCjs(polygonClipping_umdExports);function intersect(_0x313f2f,_0x2a1609,_0x49488e){const _0x5c9b21=a1_0x394bcf;_0x49488e===void 0x0&&(_0x49488e={});var _0x496713=getGeom(_0x313f2f),_0x488ac2=getGeom(_0x2a1609),_0x35d13d=polygonClipping[_0x5c9b21(0x25e)](_0x496713[_0x5c9b21(0x25b)],_0x488ac2[_0x5c9b21(0x25b)]);if(_0x35d13d['length']===0x0)return null;if(_0x35d13d[_0x5c9b21(0x1d1)]===0x1)return polygon(_0x35d13d[0x0],_0x49488e['properties']);return multiPolygon(_0x35d13d,_0x49488e[_0x5c9b21(0x226)]);}function coordEach(_0x1734c0,_0x181107,_0x24bf4e){const _0x8019da=a1_0x394bcf;if(_0x1734c0===null)return;var _0x1216d8,_0x522693,_0x26015b,_0x35e5ec,_0x560842,_0xe03902,_0x34ee77,_0x13263b=0x0,_0x4c55c8=0x0,_0x1f649e,_0x342afa=_0x1734c0[_0x8019da(0x22c)],_0x5d0dbb=_0x342afa===_0x8019da(0x23f),_0x5611c3=_0x342afa===_0x8019da(0x1da),_0x2ee592=_0x5d0dbb?_0x1734c0['features'][_0x8019da(0x1d1)]:0x1;for(var _0x109f59=0x0;_0x109f59<_0x2ee592;_0x109f59++){_0x34ee77=_0x5d0dbb?_0x1734c0['features'][_0x109f59][_0x8019da(0x249)]:_0x5611c3?_0x1734c0['geometry']:_0x1734c0,_0x1f649e=_0x34ee77?_0x34ee77[_0x8019da(0x22c)]===_0x8019da(0x21a):![],_0x560842=_0x1f649e?_0x34ee77[_0x8019da(0x24e)][_0x8019da(0x1d1)]:0x1;for(var _0x3989c5=0x0;_0x3989c5<_0x560842;_0x3989c5++){var _0x229161=0x0,_0x5e4205=0x0;_0x35e5ec=_0x1f649e?_0x34ee77[_0x8019da(0x24e)][_0x3989c5]:_0x34ee77;if(_0x35e5ec===null)continue;_0xe03902=_0x35e5ec[_0x8019da(0x25b)];var _0x3f32d5=_0x35e5ec[_0x8019da(0x22c)];_0x13263b=0x0;switch(_0x3f32d5){case null:break;case _0x8019da(0x1ea):if(_0x181107(_0xe03902,_0x4c55c8,_0x109f59,_0x229161,_0x5e4205)===![])return![];_0x4c55c8++,_0x229161++;break;case _0x8019da(0x24a):case _0x8019da(0x20b):for(_0x1216d8=0x0;_0x1216d8<_0xe03902[_0x8019da(0x1d1)];_0x1216d8++){if(_0x181107(_0xe03902[_0x1216d8],_0x4c55c8,_0x109f59,_0x229161,_0x5e4205)===![])return![];_0x4c55c8++;if(_0x3f32d5===_0x8019da(0x20b))_0x229161++;}if(_0x3f32d5===_0x8019da(0x24a))_0x229161++;break;case _0x8019da(0x1c3):case'MultiLineString':for(_0x1216d8=0x0;_0x1216d8<_0xe03902[_0x8019da(0x1d1)];_0x1216d8++){for(_0x522693=0x0;_0x522693<_0xe03902[_0x1216d8][_0x8019da(0x1d1)]-_0x13263b;_0x522693++){if(_0x181107(_0xe03902[_0x1216d8][_0x522693],_0x4c55c8,_0x109f59,_0x229161,_0x5e4205)===![])return![];_0x4c55c8++;}if(_0x3f32d5==='MultiLineString')_0x229161++;if(_0x3f32d5===_0x8019da(0x1c3))_0x5e4205++;}if(_0x3f32d5===_0x8019da(0x1c3))_0x229161++;break;case'MultiPolygon':for(_0x1216d8=0x0;_0x1216d8<_0xe03902[_0x8019da(0x1d1)];_0x1216d8++){_0x5e4205=0x0;for(_0x522693=0x0;_0x522693<_0xe03902[_0x1216d8][_0x8019da(0x1d1)];_0x522693++){for(_0x26015b=0x0;_0x26015b<_0xe03902[_0x1216d8][_0x522693]['length']-_0x13263b;_0x26015b++){if(_0x181107(_0xe03902[_0x1216d8][_0x522693][_0x26015b],_0x4c55c8,_0x109f59,_0x229161,_0x5e4205)===![])return![];_0x4c55c8++;}_0x5e4205++;}_0x229161++;}break;case _0x8019da(0x21a):for(_0x1216d8=0x0;_0x1216d8<_0x35e5ec[_0x8019da(0x24e)][_0x8019da(0x1d1)];_0x1216d8++)if(coordEach(_0x35e5ec['geometries'][_0x1216d8],_0x181107)===![])return![];break;default:throw new Error(_0x8019da(0x25d));}}}}function bbox(_0x238d30){var _0x38f900=[Infinity,Infinity,-Infinity,-Infinity];return coordEach(_0x238d30,function(_0x916a9d){_0x38f900[0x0]>_0x916a9d[0x0]&&(_0x38f900[0x0]=_0x916a9d[0x0]),_0x38f900[0x1]>_0x916a9d[0x1]&&(_0x38f900[0x1]=_0x916a9d[0x1]),_0x38f900[0x2]<_0x916a9d[0x0]&&(_0x38f900[0x2]=_0x916a9d[0x0]),_0x38f900[0x3]<_0x916a9d[0x1]&&(_0x38f900[0x3]=_0x916a9d[0x1]);}),_0x38f900;}bbox['default']=bbox;function a1_0x1fe2(_0x385dc1,_0x3e832d){const _0x18fc07=a1_0x18fc();return a1_0x1fe2=function(_0x1fe295,_0x5c5d67){_0x1fe295=_0x1fe295-0x1c0;let _0x34c9aa=_0x18fc07[_0x1fe295];return _0x34c9aa;},a1_0x1fe2(_0x385dc1,_0x3e832d);}function booleanPointOnLine(_0x1986e8,_0x5d1fe8,_0x1ae714){const _0xbd3b06=a1_0x394bcf;_0x1ae714===void 0x0&&(_0x1ae714={});var _0x1cc914=getCoord(_0x1986e8),_0x908fd7=getCoords(_0x5d1fe8);for(var _0x37d806=0x0;_0x37d806<_0x908fd7[_0xbd3b06(0x1d1)]-0x1;_0x37d806++){var _0x1ee45b=![];_0x1ae714[_0xbd3b06(0x1d9)]&&(_0x37d806===0x0&&(_0x1ee45b=_0xbd3b06(0x270)),_0x37d806===_0x908fd7[_0xbd3b06(0x1d1)]-0x2&&(_0x1ee45b=_0xbd3b06(0x215)),_0x37d806===0x0&&_0x37d806+0x1===_0x908fd7['length']-0x1&&(_0x1ee45b=_0xbd3b06(0x255)));if(isPointOnLineSegment(_0x908fd7[_0x37d806],_0x908fd7[_0x37d806+0x1],_0x1cc914,_0x1ee45b,typeof _0x1ae714['epsilon']===_0xbd3b06(0x1ed)?null:_0x1ae714[_0xbd3b06(0x20d)]))return!![];}return![];}function isPointOnLineSegment(_0x2d9f9e,_0x1e0999,_0x289730,_0x3a7a09,_0xa7daf3){const _0x33a72e=a1_0x394bcf;var _0x1cd7df=_0x289730[0x0],_0x46ccc7=_0x289730[0x1],_0xd09095=_0x2d9f9e[0x0],_0x1ca050=_0x2d9f9e[0x1],_0x54255a=_0x1e0999[0x0],_0x31d58f=_0x1e0999[0x1],_0x57cbac=_0x289730[0x0]-_0xd09095,_0x3f8e41=_0x289730[0x1]-_0x1ca050,_0x1d14f0=_0x54255a-_0xd09095,_0x39b3ca=_0x31d58f-_0x1ca050,_0xa70839=_0x57cbac*_0x39b3ca-_0x3f8e41*_0x1d14f0;if(_0xa7daf3!==null){if(Math[_0x33a72e(0x1c7)](_0xa70839)>_0xa7daf3)return![];}else{if(_0xa70839!==0x0)return![];}if(!_0x3a7a09){if(Math[_0x33a72e(0x1c7)](_0x1d14f0)>=Math[_0x33a72e(0x1c7)](_0x39b3ca))return _0x1d14f0>0x0?_0xd09095<=_0x1cd7df&&_0x1cd7df<=_0x54255a:_0x54255a<=_0x1cd7df&&_0x1cd7df<=_0xd09095;return _0x39b3ca>0x0?_0x1ca050<=_0x46ccc7&&_0x46ccc7<=_0x31d58f:_0x31d58f<=_0x46ccc7&&_0x46ccc7<=_0x1ca050;}else{if(_0x3a7a09===_0x33a72e(0x270)){if(Math[_0x33a72e(0x1c7)](_0x1d14f0)>=Math[_0x33a72e(0x1c7)](_0x39b3ca))return _0x1d14f0>0x0?_0xd09095<_0x1cd7df&&_0x1cd7df<=_0x54255a:_0x54255a<=_0x1cd7df&&_0x1cd7df<_0xd09095;return _0x39b3ca>0x0?_0x1ca050<_0x46ccc7&&_0x46ccc7<=_0x31d58f:_0x31d58f<=_0x46ccc7&&_0x46ccc7<_0x1ca050;}else{if(_0x3a7a09===_0x33a72e(0x215)){if(Math[_0x33a72e(0x1c7)](_0x1d14f0)>=Math['abs'](_0x39b3ca))return _0x1d14f0>0x0?_0xd09095<=_0x1cd7df&&_0x1cd7df<_0x54255a:_0x54255a<_0x1cd7df&&_0x1cd7df<=_0xd09095;return _0x39b3ca>0x0?_0x1ca050<=_0x46ccc7&&_0x46ccc7<_0x31d58f:_0x31d58f<_0x46ccc7&&_0x46ccc7<=_0x1ca050;}else{if(_0x3a7a09===_0x33a72e(0x255)){if(Math[_0x33a72e(0x1c7)](_0x1d14f0)>=Math[_0x33a72e(0x1c7)](_0x39b3ca))return _0x1d14f0>0x0?_0xd09095<_0x1cd7df&&_0x1cd7df<_0x54255a:_0x54255a<_0x1cd7df&&_0x1cd7df<_0xd09095;return _0x39b3ca>0x0?_0x1ca050<_0x46ccc7&&_0x46ccc7<_0x31d58f:_0x31d58f<_0x46ccc7&&_0x46ccc7<_0x1ca050;}}}}return![];}function booleanPointInPolygon(_0x49f968,_0x3233fa,_0x383841){const _0x33f9a2=a1_0x394bcf;_0x383841===void 0x0&&(_0x383841={});if(!_0x49f968)throw new Error(_0x33f9a2(0x1f0));if(!_0x3233fa)throw new Error(_0x33f9a2(0x1c5));var _0x362fbe=getCoord(_0x49f968),_0x4c42b0=getGeom(_0x3233fa),_0xf25b89=_0x4c42b0[_0x33f9a2(0x22c)],_0x570750=_0x3233fa[_0x33f9a2(0x1f6)],_0x4e4e2b=_0x4c42b0[_0x33f9a2(0x25b)];if(_0x570750&&inBBox(_0x362fbe,_0x570750)===![])return![];_0xf25b89===_0x33f9a2(0x1c3)&&(_0x4e4e2b=[_0x4e4e2b]);var _0xb4641f=![];for(var _0x1291e5=0x0;_0x1291e5<_0x4e4e2b[_0x33f9a2(0x1d1)]&&!_0xb4641f;_0x1291e5++){if(inRing(_0x362fbe,_0x4e4e2b[_0x1291e5][0x0],_0x383841[_0x33f9a2(0x1d8)])){var _0x3f5f7b=![],_0x64a531=0x1;while(_0x64a531<_0x4e4e2b[_0x1291e5][_0x33f9a2(0x1d1)]&&!_0x3f5f7b){inRing(_0x362fbe,_0x4e4e2b[_0x1291e5][_0x64a531],!_0x383841[_0x33f9a2(0x1d8)])&&(_0x3f5f7b=!![]),_0x64a531++;}!_0x3f5f7b&&(_0xb4641f=!![]);}}return _0xb4641f;}function inRing(_0x4366cd,_0x5b2b5c,_0x455187){const _0x199044=a1_0x394bcf;var _0x1e5f18=![];_0x5b2b5c[0x0][0x0]===_0x5b2b5c[_0x5b2b5c[_0x199044(0x1d1)]-0x1][0x0]&&_0x5b2b5c[0x0][0x1]===_0x5b2b5c[_0x5b2b5c['length']-0x1][0x1]&&(_0x5b2b5c=_0x5b2b5c[_0x199044(0x206)](0x0,_0x5b2b5c[_0x199044(0x1d1)]-0x1));for(var _0x5269e4=0x0,_0x2e3d3d=_0x5b2b5c['length']-0x1;_0x5269e4<_0x5b2b5c[_0x199044(0x1d1)];_0x2e3d3d=_0x5269e4++){var _0x412acd=_0x5b2b5c[_0x5269e4][0x0],_0x22daac=_0x5b2b5c[_0x5269e4][0x1],_0x48f6af=_0x5b2b5c[_0x2e3d3d][0x0],_0x10822d=_0x5b2b5c[_0x2e3d3d][0x1],_0x4ce0f2=_0x4366cd[0x1]*(_0x412acd-_0x48f6af)+_0x22daac*(_0x48f6af-_0x4366cd[0x0])+_0x10822d*(_0x4366cd[0x0]-_0x412acd)===0x0&&(_0x412acd-_0x4366cd[0x0])*(_0x48f6af-_0x4366cd[0x0])<=0x0&&(_0x22daac-_0x4366cd[0x1])*(_0x10822d-_0x4366cd[0x1])<=0x0;if(_0x4ce0f2)return!_0x455187;var _0x3dc4e0=_0x22daac>_0x4366cd[0x1]!==_0x10822d>_0x4366cd[0x1]&&_0x4366cd[0x0]<(_0x48f6af-_0x412acd)*(_0x4366cd[0x1]-_0x22daac)/(_0x10822d-_0x22daac)+_0x412acd;_0x3dc4e0&&(_0x1e5f18=!_0x1e5f18);}return _0x1e5f18;}function inBBox(_0x4574e1,_0x50e534){return _0x50e534[0x0]<=_0x4574e1[0x0]&&_0x50e534[0x1]<=_0x4574e1[0x1]&&_0x50e534[0x2]>=_0x4574e1[0x0]&&_0x50e534[0x3]>=_0x4574e1[0x1];}function booleanWithin(_0x409f8d,_0xa2c96f){const _0x506aff=a1_0x394bcf;var _0x185fa7=getGeom(_0x409f8d),_0x1335f3=getGeom(_0xa2c96f),_0x40472a=_0x185fa7[_0x506aff(0x22c)],_0x215fed=_0x1335f3[_0x506aff(0x22c)];switch(_0x40472a){case'Point':switch(_0x215fed){case _0x506aff(0x20b):return isPointInMultiPoint(_0x185fa7,_0x1335f3);case'LineString':return booleanPointOnLine(_0x185fa7,_0x1335f3,{'ignoreEndVertices':!![]});case _0x506aff(0x1c3):case'MultiPolygon':return booleanPointInPolygon(_0x185fa7,_0x1335f3,{'ignoreBoundary':!![]});default:throw new Error(_0x506aff(0x1fc)+_0x215fed+_0x506aff(0x1fe));}case'MultiPoint':switch(_0x215fed){case _0x506aff(0x20b):return isMultiPointInMultiPoint(_0x185fa7,_0x1335f3);case'LineString':return isMultiPointOnLine(_0x185fa7,_0x1335f3);case _0x506aff(0x1c3):case _0x506aff(0x207):return isMultiPointInPoly(_0x185fa7,_0x1335f3);default:throw new Error(_0x506aff(0x1fc)+_0x215fed+'\x20geometry\x20not\x20supported');}case _0x506aff(0x24a):switch(_0x215fed){case _0x506aff(0x24a):return isLineOnLine(_0x185fa7,_0x1335f3);case _0x506aff(0x1c3):case'MultiPolygon':return isLineInPoly(_0x185fa7,_0x1335f3);default:throw new Error(_0x506aff(0x1fc)+_0x215fed+_0x506aff(0x1fe));}case _0x506aff(0x1c3):switch(_0x215fed){case _0x506aff(0x1c3):case'MultiPolygon':return isPolyInPoly(_0x185fa7,_0x1335f3);default:throw new Error(_0x506aff(0x1fc)+_0x215fed+_0x506aff(0x1fe));}default:throw new Error(_0x506aff(0x1f3)+_0x40472a+'\x20geometry\x20not\x20supported');}}function isPointInMultiPoint(_0x3d29c5,_0x5a7a98){const _0x27b3f9=a1_0x394bcf;var _0x34bb44,_0x3981d1=![];for(_0x34bb44=0x0;_0x34bb44<_0x5a7a98[_0x27b3f9(0x25b)][_0x27b3f9(0x1d1)];_0x34bb44++){if(compareCoords(_0x5a7a98['coordinates'][_0x34bb44],_0x3d29c5[_0x27b3f9(0x25b)])){_0x3981d1=!![];break;}}return _0x3981d1;}function isMultiPointInMultiPoint(_0x4a2c21,_0x3c1ca2){const _0x230ff0=a1_0x394bcf;for(var _0x13bc6d=0x0;_0x13bc6d<_0x4a2c21['coordinates']['length'];_0x13bc6d++){var _0x177ef1=![];for(var _0x2bb809=0x0;_0x2bb809<_0x3c1ca2[_0x230ff0(0x25b)]['length'];_0x2bb809++){compareCoords(_0x4a2c21[_0x230ff0(0x25b)][_0x13bc6d],_0x3c1ca2['coordinates'][_0x2bb809])&&(_0x177ef1=!![]);}if(!_0x177ef1)return![];}return!![];}function isMultiPointOnLine(_0x318e7c,_0x19944e){const _0x1aa192=a1_0x394bcf;var _0x4c84fd=![];for(var _0x3a9efb=0x0;_0x3a9efb<_0x318e7c[_0x1aa192(0x25b)]['length'];_0x3a9efb++){if(!booleanPointOnLine(_0x318e7c[_0x1aa192(0x25b)][_0x3a9efb],_0x19944e))return![];!_0x4c84fd&&(_0x4c84fd=booleanPointOnLine(_0x318e7c[_0x1aa192(0x25b)][_0x3a9efb],_0x19944e,{'ignoreEndVertices':!![]}));}return _0x4c84fd;}function isMultiPointInPoly(_0x4b3332,_0x1fe4d7){const _0x2b7636=a1_0x394bcf;var _0x9d124c=!![],_0x427465=![];for(var _0xe22262=0x0;_0xe22262<_0x4b3332['coordinates'][_0x2b7636(0x1d1)];_0xe22262++){_0x427465=booleanPointInPolygon(_0x4b3332[_0x2b7636(0x25b)][0x1],_0x1fe4d7);if(!_0x427465){_0x9d124c=![];break;}{_0x427465=booleanPointInPolygon(_0x4b3332[_0x2b7636(0x25b)][0x1],_0x1fe4d7,{'ignoreBoundary':!![]});}}return _0x9d124c&&_0x427465;}function isLineOnLine(_0x11b1d2,_0x19c1eb){const _0xcbb60e=a1_0x394bcf;for(var _0x3b5f79=0x0;_0x3b5f79<_0x11b1d2[_0xcbb60e(0x25b)]['length'];_0x3b5f79++){if(!booleanPointOnLine(_0x11b1d2['coordinates'][_0x3b5f79],_0x19c1eb))return![];}return!![];}function isLineInPoly(_0x4f43fe,_0x30324c){const _0x599185=a1_0x394bcf;var _0x3e76df=bbox(_0x30324c),_0x119f7f=bbox(_0x4f43fe);if(!doBBoxOverlap(_0x3e76df,_0x119f7f))return![];var _0x34dbf9=![];for(var _0x2fd534=0x0;_0x2fd534<_0x4f43fe[_0x599185(0x25b)][_0x599185(0x1d1)]-0x1;_0x2fd534++){if(!booleanPointInPolygon(_0x4f43fe[_0x599185(0x25b)][_0x2fd534],_0x30324c))return![];!_0x34dbf9&&(_0x34dbf9=booleanPointInPolygon(_0x4f43fe[_0x599185(0x25b)][_0x2fd534],_0x30324c,{'ignoreBoundary':!![]}));if(!_0x34dbf9){var _0x1aa9b9=getMidpoint(_0x4f43fe['coordinates'][_0x2fd534],_0x4f43fe[_0x599185(0x25b)][_0x2fd534+0x1]);_0x34dbf9=booleanPointInPolygon(_0x1aa9b9,_0x30324c,{'ignoreBoundary':!![]});}}return _0x34dbf9;}function isPolyInPoly(_0x12bf0d,_0x4d9e40){const _0x2e20e8=a1_0x394bcf;var _0x37f5c4=bbox(_0x12bf0d),_0x2f6a7e=bbox(_0x4d9e40);if(!doBBoxOverlap(_0x2f6a7e,_0x37f5c4))return![];for(var _0x358776=0x0;_0x358776<_0x12bf0d[_0x2e20e8(0x25b)][0x0][_0x2e20e8(0x1d1)];_0x358776++){if(!booleanPointInPolygon(_0x12bf0d['coordinates'][0x0][_0x358776],_0x4d9e40))return![];}return!![];}function doBBoxOverlap(_0x2e353f,_0xe76a2b){if(_0x2e353f[0x0]>_0xe76a2b[0x0])return![];if(_0x2e353f[0x2]<_0xe76a2b[0x2])return![];if(_0x2e353f[0x1]>_0xe76a2b[0x1])return![];if(_0x2e353f[0x3]<_0xe76a2b[0x3])return![];return!![];}function a1_0x18fc(){const _0x2ffd69=['Infinite\x20loop\x20when\x20putting\x20segment\x20endpoints\x20in\x20a\x20priority\x20queue\x20','floor','prototype','\x20SweepEvent\x20','yRounder','_afterState','492015DoQLtn','isSubject','windings','Input\x20geometry\x20is\x20not\x20a\x20valid\x20Polygon\x20or\x20MultiPolygon','multiPolys','_splitSafely','indexOf','union','label','range','Tried\x20to\x20create\x20degenerate\x20segment\x20at\x20[',']\x20->\x20','First\x20and\x20last\x20Position\x20are\x20not\x20equivalent.','Polygon','isAnEndpoint','polygon\x20is\x20required','split','abs','isLeft','add','difference','11bmBNte','2004BTXqeN','comparePoint','coords\x20must\x20be\x20GeoJSON\x20Feature,\x20Geometry\x20Object\x20or\x20an\x20Array','sqrt','checkForConsuming','length','152oBjPTe',']\x20from\x20segment\x20#','(too\x20many\x20sweep\x20line\x20segments).','addEventListener','unshift','vector','ignoreBoundary','ignoreEndVertices','Feature','link','return','└──\x20','in\x20SweepLine\x20tree.','reset','beforeState','isEmpty','numMultiPolys','push','52UqCnFk','_calcEnclosingRing','].\x20Last\x20matching\x20segment\x20found\x20ends\x20at','size','process','_isInResult','Point','POSITIVE_INFINITY','queue','undefined','496VdJnAI','index','point\x20is\x20required','getSweepEvents','addInterior','feature1\x20','Each\x20LinearRing\x20of\x20a\x20Polygon\x20must\x20have\x204\x20or\x20more\x20Positions.','toString','bbox','findStatic','update','exports','root','(queue\x20size\x20too\x20big).','feature2\x20','getAvailableLinkedEvents','\x20geometry\x20not\x20supported','prevInResult','replaceRightSE','rightSE','toList','prev','value','isExteriorRing','slice','MultiPolygon','find','pow','segment','MultiPoint','36253cJgzeg','epsilon','coord\x20is\x20required','EPSILON','getLeftmostComparator','xor','iterator','17163948eVjQEK','key','end','get','head','ops','enclosingRing','GeometryCollection','getIntersection','387hSsabA','Tried\x20to\x20link\x20already\x20linked\x20events','compare',']\x20from\x20queue.','afterState','segments','exteriorRing','Unable\x20to\x20pop()\x20','left','shift','properties','2419128ocBHoJ','sort','min','_size','xRounder','type','default','fromRing','right','env','__esModule','data','124400ejXocs','pop','maxNode','consume','leftSE','defineProperty','polys','round','Infinite\x20loop\x20when\x20passing\x20sweep\x20line\x20over\x20endpoints\x20','swapEvents','consumedBy','NEGATIVE_INFINITY','FeatureCollection','hasOwnProperty','_beforeState','factory','has','_composePolys','ringOut','rings','join','_enclosingRing','geometry','LineString','_isExteriorRing','otherSE','splice','geometries','_comparator','coord\x20must\x20be\x20GeoJSON\x20Point\x20or\x20an\x20Array\x20of\x20numbers','114580SrHcbB','call','number','remove','both','_remove','insert','Unrecognized\x20operation\x20type\x20found\x20','tree','interiorRings','coordinates','next','Unknown\x20Geometry\x20Type','intersection','comparePoints','multiPoly','values','contains','poly','forEach','\x20\x20\x20\x20','isInResult','point','trys','_root','events','getGeom','throw','isExterior','_prevInResult','minNode','start','run','isArray','set'];a1_0x18fc=function(){return _0x2ffd69;};return a1_0x18fc();}function compareCoords(_0x32fae2,_0x2ec89f){return _0x32fae2[0x0]===_0x2ec89f[0x0]&&_0x32fae2[0x1]===_0x2ec89f[0x1];}function getMidpoint(_0x324a75,_0x603b30){return[(_0x324a75[0x0]+_0x603b30[0x0])/0x2,(_0x324a75[0x1]+_0x603b30[0x1])/0x2];}self[a1_0x394bcf(0x1d5)]('message',_0x2ab8c3=>{const _0x349832=a1_0x394bcf,{isoChunk:_0xccdbb8,gansuFeatures:_0xd8bc3}=_0x2ab8c3[_0x349832(0x232)],_0x444340=[];for(const _0x168c34 of _0xccdbb8){try{if(!_0x168c34?.[_0x349832(0x249)])continue;if(!('coordinates'in _0x168c34[_0x349832(0x249)])||_0x168c34['geometry'][_0x349832(0x25b)][_0x349832(0x1d1)]===0x0)continue;for(const _0x184905 of _0xd8bc3){let _0x4adfc1=null;try{booleanWithin(_0x168c34,_0x184905)?_0x4adfc1=_0x168c34:_0x4adfc1=intersect(_0x184905,_0x168c34);}catch{}_0x4adfc1&&(_0x4adfc1[_0x349832(0x226)]=_0x168c34[_0x349832(0x226)],_0x4adfc1['id']=Math['random']()*0x5f5e100,_0x444340[_0x349832(0x1e3)](_0x4adfc1));}}catch{}}self['postMessage']({'features':_0x444340});});
|
|
9
|
+
function _0x64e53a(_0x447309,_0xd2c062){const _0x21a783=a1_0x22c4;var _0x529552={'label':0x0,'sent':function(){if(_0x2f5fe3[0x0]&0x1)throw _0x2f5fe3[0x1];return _0x2f5fe3[0x1];},'trys':[],'ops':[]},_0x58fa5e,_0x4345c1,_0x2f5fe3,_0x24ce51;return _0x24ce51={'next':_0x2055ad(0x0),'throw':_0x2055ad(0x1),'return':_0x2055ad(0x2)},typeof Symbol==='function'&&(_0x24ce51[Symbol[_0x21a783(0x24c)]]=function(){return this;}),_0x24ce51;function _0x2055ad(_0x152d27){return function(_0x4c85ae){return _0x3c59ea([_0x152d27,_0x4c85ae]);};}function _0x3c59ea(_0x1144e8){const _0x112c8d=_0x21a783;if(_0x58fa5e)throw new TypeError('Generator\x20is\x20already\x20executing.');while(_0x529552)try{if(_0x58fa5e=0x1,_0x4345c1&&(_0x2f5fe3=_0x1144e8[0x0]&0x2?_0x4345c1[_0x112c8d(0x226)]:_0x1144e8[0x0]?_0x4345c1['throw']||((_0x2f5fe3=_0x4345c1[_0x112c8d(0x226)])&&_0x2f5fe3[_0x112c8d(0x20b)](_0x4345c1),0x0):_0x4345c1[_0x112c8d(0x270)])&&!(_0x2f5fe3=_0x2f5fe3['call'](_0x4345c1,_0x1144e8[0x1]))[_0x112c8d(0x241)])return _0x2f5fe3;if(_0x4345c1=0x0,_0x2f5fe3)_0x1144e8=[_0x1144e8[0x0]&0x2,_0x2f5fe3[_0x112c8d(0x1e9)]];switch(_0x1144e8[0x0]){case 0x0:case 0x1:_0x2f5fe3=_0x1144e8;break;case 0x4:_0x529552[_0x112c8d(0x264)]++;return{'value':_0x1144e8[0x1],'done':![]};case 0x5:_0x529552[_0x112c8d(0x264)]++,_0x4345c1=_0x1144e8[0x1],_0x1144e8=[0x0];continue;case 0x7:_0x1144e8=_0x529552['ops'][_0x112c8d(0x1e7)](),_0x529552['trys'][_0x112c8d(0x1e7)]();continue;default:if(!(_0x2f5fe3=_0x529552[_0x112c8d(0x1e0)],_0x2f5fe3=_0x2f5fe3[_0x112c8d(0x207)]>0x0&&_0x2f5fe3[_0x2f5fe3[_0x112c8d(0x207)]-0x1])&&(_0x1144e8[0x0]===0x6||_0x1144e8[0x0]===0x2)){_0x529552=0x0;continue;}if(_0x1144e8[0x0]===0x3&&(!_0x2f5fe3||_0x1144e8[0x1]>_0x2f5fe3[0x0]&&_0x1144e8[0x1]<_0x2f5fe3[0x3])){_0x529552[_0x112c8d(0x264)]=_0x1144e8[0x1];break;}if(_0x1144e8[0x0]===0x6&&_0x529552[_0x112c8d(0x264)]<_0x2f5fe3[0x1]){_0x529552['label']=_0x2f5fe3[0x1],_0x2f5fe3=_0x1144e8;break;}if(_0x2f5fe3&&_0x529552[_0x112c8d(0x264)]<_0x2f5fe3[0x2]){_0x529552['label']=_0x2f5fe3[0x2],_0x529552[_0x112c8d(0x244)][_0x112c8d(0x1ee)](_0x1144e8);break;}if(_0x2f5fe3[0x2])_0x529552['ops'][_0x112c8d(0x1e7)]();_0x529552[_0x112c8d(0x1e0)][_0x112c8d(0x1e7)]();continue;}_0x1144e8=_0xd2c062[_0x112c8d(0x20b)](_0x447309,_0x529552);}catch(_0x29d2d4){_0x1144e8=[0x6,_0x29d2d4],_0x4345c1=0x0;}finally{_0x58fa5e=_0x2f5fe3=0x0;}if(_0x1144e8[0x0]&0x5)throw _0x1144e8[0x1];return{'value':_0x1144e8[0x0]?_0x1144e8[0x1]:void 0x0,'done':!![]};}}var _0x59a13d=(function(){function _0x3af239(_0x4ec093,_0x23c05d){const _0x18c27f=a1_0x22c4;this['next']=null,this[_0x18c27f(0x257)]=_0x4ec093,this[_0x18c27f(0x1f8)]=_0x23c05d,this[_0x18c27f(0x203)]=null,this[_0x18c27f(0x1db)]=null;}return _0x3af239;}());function _0x4ad86d(_0x191ef8,_0x12c1ea){return _0x191ef8>_0x12c1ea?0x1:_0x191ef8<_0x12c1ea?-0x1:0x0;}function _0x31b4d6(_0x200192,_0x5f37d7,_0x527c96){const _0x3e25de=a1_0x22c4;var _0xcd8d63=new _0x59a13d(null,null),_0x3b0afd=_0xcd8d63,_0x52a229=_0xcd8d63;while(!![]){var _0x4c76af=_0x527c96(_0x200192,_0x5f37d7[_0x3e25de(0x257)]);if(_0x4c76af<0x0){if(_0x5f37d7[_0x3e25de(0x203)]===null)break;if(_0x527c96(_0x200192,_0x5f37d7[_0x3e25de(0x203)][_0x3e25de(0x257)])<0x0){var _0xccdd88=_0x5f37d7[_0x3e25de(0x203)];_0x5f37d7['left']=_0xccdd88['right'],_0xccdd88[_0x3e25de(0x1db)]=_0x5f37d7,_0x5f37d7=_0xccdd88;if(_0x5f37d7[_0x3e25de(0x203)]===null)break;}_0x52a229['left']=_0x5f37d7,_0x52a229=_0x5f37d7,_0x5f37d7=_0x5f37d7[_0x3e25de(0x203)];}else{if(_0x4c76af>0x0){if(_0x5f37d7[_0x3e25de(0x1db)]===null)break;if(_0x527c96(_0x200192,_0x5f37d7[_0x3e25de(0x1db)][_0x3e25de(0x257)])>0x0){var _0xccdd88=_0x5f37d7['right'];_0x5f37d7['right']=_0xccdd88[_0x3e25de(0x203)],_0xccdd88['left']=_0x5f37d7,_0x5f37d7=_0xccdd88;if(_0x5f37d7[_0x3e25de(0x1db)]===null)break;}_0x3b0afd['right']=_0x5f37d7,_0x3b0afd=_0x5f37d7,_0x5f37d7=_0x5f37d7[_0x3e25de(0x1db)];}else break;}}return _0x3b0afd[_0x3e25de(0x1db)]=_0x5f37d7['left'],_0x52a229[_0x3e25de(0x203)]=_0x5f37d7[_0x3e25de(0x1db)],_0x5f37d7[_0x3e25de(0x203)]=_0xcd8d63[_0x3e25de(0x1db)],_0x5f37d7['right']=_0xcd8d63[_0x3e25de(0x203)],_0x5f37d7;}function _0x5d283(_0x4b157d,_0x10f341,_0x249abd,_0x5ec738){const _0x52c571=a1_0x22c4;var _0x1ce18d=new _0x59a13d(_0x4b157d,_0x10f341);if(_0x249abd===null)return _0x1ce18d[_0x52c571(0x203)]=_0x1ce18d[_0x52c571(0x1db)]=null,_0x1ce18d;_0x249abd=_0x31b4d6(_0x4b157d,_0x249abd,_0x5ec738);var _0x58580a=_0x5ec738(_0x4b157d,_0x249abd['key']);if(_0x58580a<0x0)_0x1ce18d[_0x52c571(0x203)]=_0x249abd[_0x52c571(0x203)],_0x1ce18d[_0x52c571(0x1db)]=_0x249abd,_0x249abd[_0x52c571(0x203)]=null;else _0x58580a>=0x0&&(_0x1ce18d[_0x52c571(0x1db)]=_0x249abd[_0x52c571(0x1db)],_0x1ce18d[_0x52c571(0x203)]=_0x249abd,_0x249abd[_0x52c571(0x1db)]=null);return _0x1ce18d;}function _0x24aff8(_0xf613f,_0x535649,_0x4f45a6){const _0x4b0ee8=a1_0x22c4;var _0xc8b8a8=null,_0x599414=null;if(_0x535649){_0x535649=_0x31b4d6(_0xf613f,_0x535649,_0x4f45a6);var _0x1e52b5=_0x4f45a6(_0x535649[_0x4b0ee8(0x257)],_0xf613f);if(_0x1e52b5===0x0)_0xc8b8a8=_0x535649['left'],_0x599414=_0x535649[_0x4b0ee8(0x1db)];else _0x1e52b5<0x0?(_0x599414=_0x535649[_0x4b0ee8(0x1db)],_0x535649[_0x4b0ee8(0x1db)]=null,_0xc8b8a8=_0x535649):(_0xc8b8a8=_0x535649[_0x4b0ee8(0x203)],_0x535649[_0x4b0ee8(0x203)]=null,_0x599414=_0x535649);}return{'left':_0xc8b8a8,'right':_0x599414};}function _0x53aeeb(_0x19ce57,_0x51202c,_0x1358ca){const _0x73e28=a1_0x22c4;if(_0x51202c===null)return _0x19ce57;if(_0x19ce57===null)return _0x51202c;return _0x51202c=_0x31b4d6(_0x19ce57[_0x73e28(0x257)],_0x51202c,_0x1358ca),_0x51202c[_0x73e28(0x203)]=_0x19ce57,_0x51202c;}function _0x157bb4(_0x2b2e91,_0x4dd26d,_0x3c9fe2,_0x1040af,_0x4b07a2){const _0x20c956=a1_0x22c4;if(_0x2b2e91){_0x1040af(''+_0x4dd26d+(_0x3c9fe2?'└──\x20':'├──\x20')+_0x4b07a2(_0x2b2e91)+'\x0a');var _0x2dc924=_0x4dd26d+(_0x3c9fe2?_0x20c956(0x209):_0x20c956(0x26d));if(_0x2b2e91[_0x20c956(0x203)])_0x157bb4(_0x2b2e91[_0x20c956(0x203)],_0x2dc924,![],_0x1040af,_0x4b07a2);if(_0x2b2e91['right'])_0x157bb4(_0x2b2e91[_0x20c956(0x1db)],_0x2dc924,!![],_0x1040af,_0x4b07a2);}}var _0x426a4=(function(){const _0x733995=a1_0x22c4;function _0x2d10d6(_0x143ef4){const _0x3fe967=a1_0x22c4;_0x143ef4===void 0x0&&(_0x143ef4=_0x4ad86d),this['_root']=null,this[_0x3fe967(0x20f)]=0x0,this[_0x3fe967(0x214)]=_0x143ef4;}return _0x2d10d6[_0x733995(0x239)][_0x733995(0x250)]=function(_0x57e367,_0x2ce804){const _0x3e36c2=_0x733995;return this['_size']++,this[_0x3e36c2(0x249)]=_0x5d283(_0x57e367,_0x2ce804,this[_0x3e36c2(0x249)],this[_0x3e36c2(0x214)]);},_0x2d10d6[_0x733995(0x239)][_0x733995(0x1fc)]=function(_0x29f743,_0x59ff94){const _0x1119af=_0x733995;var _0x4c6cb3=new _0x59a13d(_0x29f743,_0x59ff94);this[_0x1119af(0x249)]===null&&(_0x4c6cb3[_0x1119af(0x203)]=_0x4c6cb3['right']=null,this[_0x1119af(0x20f)]++,this[_0x1119af(0x249)]=_0x4c6cb3);var _0x120b99=this['_comparator'],_0x19c7de=_0x31b4d6(_0x29f743,this[_0x1119af(0x249)],_0x120b99),_0x984e46=_0x120b99(_0x29f743,_0x19c7de[_0x1119af(0x257)]);if(_0x984e46===0x0)this[_0x1119af(0x249)]=_0x19c7de;else{if(_0x984e46<0x0)_0x4c6cb3[_0x1119af(0x203)]=_0x19c7de[_0x1119af(0x203)],_0x4c6cb3[_0x1119af(0x1db)]=_0x19c7de,_0x19c7de[_0x1119af(0x203)]=null;else _0x984e46>0x0&&(_0x4c6cb3[_0x1119af(0x1db)]=_0x19c7de[_0x1119af(0x1db)],_0x4c6cb3[_0x1119af(0x203)]=_0x19c7de,_0x19c7de[_0x1119af(0x1db)]=null);this[_0x1119af(0x20f)]++,this[_0x1119af(0x249)]=_0x4c6cb3;}return this[_0x1119af(0x249)];},_0x2d10d6[_0x733995(0x239)][_0x733995(0x24d)]=function(_0x3e3a7a){const _0x50ec99=_0x733995;this['_root']=this[_0x50ec99(0x252)](_0x3e3a7a,this[_0x50ec99(0x249)],this[_0x50ec99(0x214)]);},_0x2d10d6[_0x733995(0x239)][_0x733995(0x252)]=function(_0x5c8702,_0x400b7c,_0x44a409){const _0x2b6475=_0x733995;var _0x382352;if(_0x400b7c===null)return null;_0x400b7c=_0x31b4d6(_0x5c8702,_0x400b7c,_0x44a409);var _0x154c12=_0x44a409(_0x5c8702,_0x400b7c[_0x2b6475(0x257)]);if(_0x154c12===0x0)return _0x400b7c['left']===null?_0x382352=_0x400b7c['right']:(_0x382352=_0x31b4d6(_0x5c8702,_0x400b7c[_0x2b6475(0x203)],_0x44a409),_0x382352[_0x2b6475(0x1db)]=_0x400b7c[_0x2b6475(0x1db)]),this[_0x2b6475(0x20f)]--,_0x382352;return _0x400b7c;},_0x2d10d6[_0x733995(0x239)][_0x733995(0x1e7)]=function(){const _0x59771a=_0x733995;var _0x4757da=this['_root'];if(_0x4757da){while(_0x4757da['left'])_0x4757da=_0x4757da[_0x59771a(0x203)];return this['_root']=_0x31b4d6(_0x4757da[_0x59771a(0x257)],this[_0x59771a(0x249)],this[_0x59771a(0x214)]),this[_0x59771a(0x249)]=this[_0x59771a(0x252)](_0x4757da['key'],this[_0x59771a(0x249)],this['_comparator']),{'key':_0x4757da[_0x59771a(0x257)],'data':_0x4757da['data']};}return null;},_0x2d10d6[_0x733995(0x239)][_0x733995(0x22f)]=function(_0x114985){const _0x5de862=_0x733995;var _0x22b6ed=this[_0x5de862(0x249)],_0x5e3f0b=this[_0x5de862(0x214)];while(_0x22b6ed){var _0x2f52f0=_0x5e3f0b(_0x114985,_0x22b6ed[_0x5de862(0x257)]);if(_0x2f52f0===0x0)return _0x22b6ed;else{if(_0x2f52f0<0x0)_0x22b6ed=_0x22b6ed[_0x5de862(0x203)];else _0x22b6ed=_0x22b6ed[_0x5de862(0x1db)];}}return null;},_0x2d10d6[_0x733995(0x239)][_0x733995(0x259)]=function(_0x14f8e1){const _0x2e4a87=_0x733995;if(this[_0x2e4a87(0x249)]){this[_0x2e4a87(0x249)]=_0x31b4d6(_0x14f8e1,this[_0x2e4a87(0x249)],this[_0x2e4a87(0x214)]);if(this[_0x2e4a87(0x214)](_0x14f8e1,this['_root'][_0x2e4a87(0x257)])!==0x0)return null;}return this[_0x2e4a87(0x249)];},_0x2d10d6['prototype'][_0x733995(0x215)]=function(_0x3798ff){const _0x195743=_0x733995;var _0x4e6fb3=this[_0x195743(0x249)],_0x3a389d=this[_0x195743(0x214)];while(_0x4e6fb3){var _0x21ac62=_0x3a389d(_0x3798ff,_0x4e6fb3['key']);if(_0x21ac62===0x0)return!![];else{if(_0x21ac62<0x0)_0x4e6fb3=_0x4e6fb3['left'];else _0x4e6fb3=_0x4e6fb3[_0x195743(0x1db)];}}return![];},_0x2d10d6[_0x733995(0x239)][_0x733995(0x26f)]=function(_0x1fb14d,_0x5c9095){const _0x27750e=_0x733995;var _0x4c70d9=this[_0x27750e(0x249)],_0x4f7dbe=[],_0x2c574f=![];while(!_0x2c574f){if(_0x4c70d9!==null)_0x4f7dbe['push'](_0x4c70d9),_0x4c70d9=_0x4c70d9[_0x27750e(0x203)];else{if(_0x4f7dbe['length']!==0x0)_0x4c70d9=_0x4f7dbe[_0x27750e(0x1e7)](),_0x1fb14d[_0x27750e(0x20b)](_0x5c9095,_0x4c70d9),_0x4c70d9=_0x4c70d9[_0x27750e(0x1db)];else _0x2c574f=!![];}}return this;},_0x2d10d6[_0x733995(0x239)]['range']=function(_0x150bf2,_0x5b8467,_0x54f5ec,_0x39c254){const _0x2a996d=_0x733995;var _0x5f568e=[],_0x41d3bc=this['_comparator'],_0x2321fe=this['_root'],_0x55cdb9;while(_0x5f568e[_0x2a996d(0x207)]!==0x0||_0x2321fe){if(_0x2321fe)_0x5f568e[_0x2a996d(0x1ee)](_0x2321fe),_0x2321fe=_0x2321fe['left'];else{_0x2321fe=_0x5f568e[_0x2a996d(0x1e7)](),_0x55cdb9=_0x41d3bc(_0x2321fe[_0x2a996d(0x257)],_0x5b8467);if(_0x55cdb9>0x0)break;else{if(_0x41d3bc(_0x2321fe[_0x2a996d(0x257)],_0x150bf2)>=0x0){if(_0x54f5ec[_0x2a996d(0x20b)](_0x39c254,_0x2321fe))return this;}}_0x2321fe=_0x2321fe['right'];}}return this;},_0x2d10d6[_0x733995(0x239)][_0x733995(0x297)]=function(){const _0x16ba8a=_0x733995;var _0x22c0ee=[];return this[_0x16ba8a(0x26f)](function(_0x3482b5){const _0x27ed53=_0x16ba8a;var _0x2a41a3=_0x3482b5[_0x27ed53(0x257)];return _0x22c0ee[_0x27ed53(0x1ee)](_0x2a41a3);}),_0x22c0ee;},_0x2d10d6['prototype'][_0x733995(0x1e5)]=function(){var _0x3b557f=[];return this['forEach'](function(_0x369f61){const _0x1ab1bf=a1_0x22c4;var _0x2aee37=_0x369f61[_0x1ab1bf(0x1f8)];return _0x3b557f[_0x1ab1bf(0x1ee)](_0x2aee37);}),_0x3b557f;},_0x2d10d6['prototype'][_0x733995(0x1e6)]=function(){const _0x149b4b=_0x733995;if(this[_0x149b4b(0x249)])return this['minNode'](this[_0x149b4b(0x249)])['key'];return null;},_0x2d10d6[_0x733995(0x239)][_0x733995(0x289)]=function(){const _0x47f78f=_0x733995;if(this[_0x47f78f(0x249)])return this['maxNode'](this[_0x47f78f(0x249)])['key'];return null;},_0x2d10d6[_0x733995(0x239)][_0x733995(0x235)]=function(_0x2fbcc7){const _0x4f1626=_0x733995;_0x2fbcc7===void 0x0&&(_0x2fbcc7=this[_0x4f1626(0x249)]);if(_0x2fbcc7){while(_0x2fbcc7[_0x4f1626(0x203)])_0x2fbcc7=_0x2fbcc7[_0x4f1626(0x203)];}return _0x2fbcc7;},_0x2d10d6[_0x733995(0x239)][_0x733995(0x23e)]=function(_0x4df59d){const _0x1dcae4=_0x733995;_0x4df59d===void 0x0&&(_0x4df59d=this['_root']);if(_0x4df59d){while(_0x4df59d[_0x1dcae4(0x1db)])_0x4df59d=_0x4df59d[_0x1dcae4(0x1db)];}return _0x4df59d;},_0x2d10d6[_0x733995(0x239)]['at']=function(_0x1a6290){const _0xff2d19=_0x733995;var _0x3928db=this[_0xff2d19(0x249)],_0x353c2d=![],_0x2ceef1=0x0,_0x5cad7e=[];while(!_0x353c2d){if(_0x3928db)_0x5cad7e['push'](_0x3928db),_0x3928db=_0x3928db[_0xff2d19(0x203)];else{if(_0x5cad7e[_0xff2d19(0x207)]>0x0){_0x3928db=_0x5cad7e['pop']();if(_0x2ceef1===_0x1a6290)return _0x3928db;_0x2ceef1++,_0x3928db=_0x3928db['right'];}else _0x353c2d=!![];}}return null;},_0x2d10d6[_0x733995(0x239)][_0x733995(0x270)]=function(_0x5e7e87){const _0x2319f6=_0x733995;var _0x2182c4=this[_0x2319f6(0x249)],_0xcd08a9=null;if(_0x5e7e87[_0x2319f6(0x1db)]){_0xcd08a9=_0x5e7e87[_0x2319f6(0x1db)];while(_0xcd08a9[_0x2319f6(0x203)])_0xcd08a9=_0xcd08a9['left'];return _0xcd08a9;}var _0xb42967=this[_0x2319f6(0x214)];while(_0x2182c4){var _0x35aab6=_0xb42967(_0x5e7e87[_0x2319f6(0x257)],_0x2182c4[_0x2319f6(0x257)]);if(_0x35aab6===0x0)break;else{if(_0x35aab6<0x0)_0xcd08a9=_0x2182c4,_0x2182c4=_0x2182c4[_0x2319f6(0x203)];else _0x2182c4=_0x2182c4[_0x2319f6(0x1db)];}}return _0xcd08a9;},_0x2d10d6[_0x733995(0x239)][_0x733995(0x1da)]=function(_0xbf1963){const _0x33a2af=_0x733995;var _0x13b614=this[_0x33a2af(0x249)],_0x27afda=null;if(_0xbf1963[_0x33a2af(0x203)]!==null){_0x27afda=_0xbf1963[_0x33a2af(0x203)];while(_0x27afda[_0x33a2af(0x1db)])_0x27afda=_0x27afda['right'];return _0x27afda;}var _0x4940ad=this[_0x33a2af(0x214)];while(_0x13b614){var _0x227cc4=_0x4940ad(_0xbf1963[_0x33a2af(0x257)],_0x13b614[_0x33a2af(0x257)]);if(_0x227cc4===0x0)break;else{if(_0x227cc4<0x0)_0x13b614=_0x13b614[_0x33a2af(0x203)];else _0x27afda=_0x13b614,_0x13b614=_0x13b614['right'];}}return _0x27afda;},_0x2d10d6[_0x733995(0x239)][_0x733995(0x1eb)]=function(){const _0x5cb25d=_0x733995;return this[_0x5cb25d(0x249)]=null,this[_0x5cb25d(0x20f)]=0x0,this;},_0x2d10d6[_0x733995(0x239)][_0x733995(0x247)]=function(){const _0x5cd499=_0x733995;return _0x59c13a(this[_0x5cd499(0x249)]);},_0x2d10d6[_0x733995(0x239)]['load']=function(_0x2117d7,_0x1fe1b3,_0x551590){const _0x15b740=_0x733995;_0x1fe1b3===void 0x0&&(_0x1fe1b3=[]);_0x551590===void 0x0&&(_0x551590=![]);var _0x1e99e9=_0x2117d7[_0x15b740(0x207)],_0x5d5492=this['_comparator'];if(_0x551590)_0x41ea08(_0x2117d7,_0x1fe1b3,0x0,_0x1e99e9-0x1,_0x5d5492);if(this[_0x15b740(0x249)]===null)this[_0x15b740(0x249)]=_0x17961d(_0x2117d7,_0x1fe1b3,0x0,_0x1e99e9),this[_0x15b740(0x20f)]=_0x1e99e9;else{var _0x327ab0=_0x706aa4(this['toList'](),_0x126edb(_0x2117d7,_0x1fe1b3),_0x5d5492);_0x1e99e9=this[_0x15b740(0x20f)]+_0x1e99e9,this['_root']=_0x4451d0({'head':_0x327ab0},0x0,_0x1e99e9);}return this;},_0x2d10d6['prototype'][_0x733995(0x253)]=function(){const _0x45d4ca=_0x733995;return this[_0x45d4ca(0x249)]===null;},Object[_0x733995(0x234)](_0x2d10d6[_0x733995(0x239)],_0x733995(0x287),{'get':function(){const _0x159bc8=_0x733995;return this[_0x159bc8(0x20f)];},'enumerable':!![],'configurable':!![]}),Object[_0x733995(0x234)](_0x2d10d6['prototype'],_0x733995(0x1f0),{'get':function(){const _0x2f1a3c=_0x733995;return this[_0x2f1a3c(0x249)];},'enumerable':!![],'configurable':!![]}),_0x2d10d6[_0x733995(0x239)]['toString']=function(_0xdd379a){const _0x2dae6a=_0x733995;_0xdd379a===void 0x0&&(_0xdd379a=function(_0x535962){const _0x114cd8=a1_0x22c4;return String(_0x535962[_0x114cd8(0x257)]);});var _0xf259a6=[];return _0x157bb4(this[_0x2dae6a(0x249)],'',!![],function(_0x32e478){const _0x22d5ca=_0x2dae6a;return _0xf259a6[_0x22d5ca(0x1ee)](_0x32e478);},_0xdd379a),_0xf259a6['join']('');},_0x2d10d6[_0x733995(0x239)][_0x733995(0x24b)]=function(_0xc627fc,_0x4e0a28,_0x1f2253){const _0x1d0e3f=_0x733995;var _0x100772=this[_0x1d0e3f(0x214)],_0x4c066b=_0x24aff8(_0xc627fc,this[_0x1d0e3f(0x249)],_0x100772),_0x5bddbf=_0x4c066b[_0x1d0e3f(0x203)],_0x588ae6=_0x4c066b[_0x1d0e3f(0x1db)];_0x100772(_0xc627fc,_0x4e0a28)<0x0?_0x588ae6=_0x5d283(_0x4e0a28,_0x1f2253,_0x588ae6,_0x100772):_0x5bddbf=_0x5d283(_0x4e0a28,_0x1f2253,_0x5bddbf,_0x100772),this[_0x1d0e3f(0x249)]=_0x53aeeb(_0x5bddbf,_0x588ae6,_0x100772);},_0x2d10d6[_0x733995(0x239)][_0x733995(0x230)]=function(_0x509c0e){const _0x4c6a9b=_0x733995;return _0x24aff8(_0x509c0e,this[_0x4c6a9b(0x249)],this[_0x4c6a9b(0x214)]);},_0x2d10d6[_0x733995(0x239)][Symbol[_0x733995(0x24c)]]=function(){var _0x1c0f1e,_0x2196a7,_0x2018ff;return _0x64e53a(this,function(_0x217a33){const _0x3e9dce=a1_0x22c4;switch(_0x217a33['label']){case 0x0:_0x1c0f1e=this[_0x3e9dce(0x249)],_0x2196a7=[],_0x2018ff=![],_0x217a33['label']=0x1;case 0x1:if(!!_0x2018ff)return[0x3,0x6];if(!(_0x1c0f1e!==null))return[0x3,0x2];_0x2196a7[_0x3e9dce(0x1ee)](_0x1c0f1e),_0x1c0f1e=_0x1c0f1e[_0x3e9dce(0x203)];return[0x3,0x5];case 0x2:if(!(_0x2196a7[_0x3e9dce(0x207)]!==0x0))return[0x3,0x4];_0x1c0f1e=_0x2196a7['pop']();return[0x4,_0x1c0f1e];case 0x3:_0x217a33[_0x3e9dce(0x288)](),_0x1c0f1e=_0x1c0f1e[_0x3e9dce(0x1db)];return[0x3,0x5];case 0x4:_0x2018ff=!![],_0x217a33[_0x3e9dce(0x264)]=0x5;case 0x5:return[0x3,0x1];case 0x6:return[0x2];}});},_0x2d10d6;}());function _0x17961d(_0x239c2b,_0x6b9873,_0x407427,_0xac31f6){const _0x95d0b2=a1_0x22c4;var _0x2d4c62=_0xac31f6-_0x407427;if(_0x2d4c62>0x0){var _0x1894f0=_0x407427+Math[_0x95d0b2(0x20a)](_0x2d4c62/0x2),_0xaa025f=_0x239c2b[_0x1894f0],_0x465ed8=_0x6b9873[_0x1894f0],_0x18d394=new _0x59a13d(_0xaa025f,_0x465ed8);return _0x18d394[_0x95d0b2(0x203)]=_0x17961d(_0x239c2b,_0x6b9873,_0x407427,_0x1894f0),_0x18d394[_0x95d0b2(0x1db)]=_0x17961d(_0x239c2b,_0x6b9873,_0x1894f0+0x1,_0xac31f6),_0x18d394;}return null;}function _0x126edb(_0x1a6f63,_0x58cb06){const _0x2d38b7=a1_0x22c4;var _0x20af17=new _0x59a13d(null,null),_0x14408b=_0x20af17;for(var _0x141993=0x0;_0x141993<_0x1a6f63[_0x2d38b7(0x207)];_0x141993++){_0x14408b=_0x14408b['next']=new _0x59a13d(_0x1a6f63[_0x141993],_0x58cb06[_0x141993]);}return _0x14408b['next']=null,_0x20af17[_0x2d38b7(0x270)];}function _0x59c13a(_0x300f8c){const _0x5d409d=a1_0x22c4;var _0x394d57=_0x300f8c,_0x2be1df=[],_0x4ab08c=![],_0x4d7dcf=new _0x59a13d(null,null),_0x2102da=_0x4d7dcf;while(!_0x4ab08c){if(_0x394d57)_0x2be1df[_0x5d409d(0x1ee)](_0x394d57),_0x394d57=_0x394d57['left'];else{if(_0x2be1df[_0x5d409d(0x207)]>0x0)_0x394d57=_0x2102da=_0x2102da[_0x5d409d(0x270)]=_0x2be1df[_0x5d409d(0x1e7)](),_0x394d57=_0x394d57['right'];else _0x4ab08c=!![];}}return _0x2102da['next']=null,_0x4d7dcf['next'];}function _0x4451d0(_0xd6b885,_0x15058b,_0x4fd1f0){const _0xed5c1b=a1_0x22c4;var _0x23f337=_0x4fd1f0-_0x15058b;if(_0x23f337>0x0){var _0x56e95b=_0x15058b+Math[_0xed5c1b(0x20a)](_0x23f337/0x2),_0x61c69b=_0x4451d0(_0xd6b885,_0x15058b,_0x56e95b),_0x1d5e14=_0xd6b885[_0xed5c1b(0x20d)];return _0x1d5e14[_0xed5c1b(0x203)]=_0x61c69b,_0xd6b885[_0xed5c1b(0x20d)]=_0xd6b885['head'][_0xed5c1b(0x270)],_0x1d5e14[_0xed5c1b(0x1db)]=_0x4451d0(_0xd6b885,_0x56e95b+0x1,_0x4fd1f0),_0x1d5e14;}return null;}function _0x706aa4(_0x3e4c9e,_0x143451,_0x4587b6){const _0x14b4b0=a1_0x22c4;var _0x1d1723=new _0x59a13d(null,null),_0xb8e3af=_0x1d1723,_0x2b73f8=_0x3e4c9e,_0xee5ba=_0x143451;while(_0x2b73f8!==null&&_0xee5ba!==null){_0x4587b6(_0x2b73f8['key'],_0xee5ba[_0x14b4b0(0x257)])<0x0?(_0xb8e3af['next']=_0x2b73f8,_0x2b73f8=_0x2b73f8['next']):(_0xb8e3af[_0x14b4b0(0x270)]=_0xee5ba,_0xee5ba=_0xee5ba[_0x14b4b0(0x270)]),_0xb8e3af=_0xb8e3af['next'];}if(_0x2b73f8!==null)_0xb8e3af[_0x14b4b0(0x270)]=_0x2b73f8;else _0xee5ba!==null&&(_0xb8e3af[_0x14b4b0(0x270)]=_0xee5ba);return _0x1d1723['next'];}function _0x41ea08(_0x3ba9c1,_0x5da3a6,_0xdafbac,_0x16e08d,_0x147afb){if(_0xdafbac>=_0x16e08d)return;var _0x3496be=_0x3ba9c1[_0xdafbac+_0x16e08d>>0x1],_0x589965=_0xdafbac-0x1,_0x3268b2=_0x16e08d+0x1;while(!![]){do _0x589965++;while(_0x147afb(_0x3ba9c1[_0x589965],_0x3496be)<0x0);do _0x3268b2--;while(_0x147afb(_0x3ba9c1[_0x3268b2],_0x3496be)>0x0);if(_0x589965>=_0x3268b2)break;var _0x2fd2aa=_0x3ba9c1[_0x589965];_0x3ba9c1[_0x589965]=_0x3ba9c1[_0x3268b2],_0x3ba9c1[_0x3268b2]=_0x2fd2aa,_0x2fd2aa=_0x5da3a6[_0x589965],_0x5da3a6[_0x589965]=_0x5da3a6[_0x3268b2],_0x5da3a6[_0x3268b2]=_0x2fd2aa;}_0x41ea08(_0x3ba9c1,_0x5da3a6,_0xdafbac,_0x3268b2,_0x147afb),_0x41ea08(_0x3ba9c1,_0x5da3a6,_0x3268b2+0x1,_0x16e08d,_0x147afb);}const _0x454eb8=(_0x30571c,_0x55eb9d)=>{return _0x30571c['ll']['x']<=_0x55eb9d['x']&&_0x55eb9d['x']<=_0x30571c['ur']['x']&&_0x30571c['ll']['y']<=_0x55eb9d['y']&&_0x55eb9d['y']<=_0x30571c['ur']['y'];},_0x306b7c=(_0x18ba7c,_0x5e0c2a)=>{if(_0x5e0c2a['ur']['x']<_0x18ba7c['ll']['x']||_0x18ba7c['ur']['x']<_0x5e0c2a['ll']['x']||_0x5e0c2a['ur']['y']<_0x18ba7c['ll']['y']||_0x18ba7c['ur']['y']<_0x5e0c2a['ll']['y'])return null;const _0x383c9f=_0x18ba7c['ll']['x']<_0x5e0c2a['ll']['x']?_0x5e0c2a['ll']['x']:_0x18ba7c['ll']['x'],_0x597226=_0x18ba7c['ur']['x']<_0x5e0c2a['ur']['x']?_0x18ba7c['ur']['x']:_0x5e0c2a['ur']['x'],_0xa49cb3=_0x18ba7c['ll']['y']<_0x5e0c2a['ll']['y']?_0x5e0c2a['ll']['y']:_0x18ba7c['ll']['y'],_0x3cc97e=_0x18ba7c['ur']['y']<_0x5e0c2a['ur']['y']?_0x18ba7c['ur']['y']:_0x5e0c2a['ur']['y'];return{'ll':{'x':_0x383c9f,'y':_0xa49cb3},'ur':{'x':_0x597226,'y':_0x3cc97e}};};let _0x2c1282=Number[_0xf70012(0x1df)];if(_0x2c1282===undefined)_0x2c1282=Math[_0xf70012(0x208)](0x2,-0x34);const _0x25136d=_0x2c1282*_0x2c1282,_0x19edb8=(_0x221069,_0x280124)=>{if(-_0x2c1282<_0x221069&&_0x221069<_0x2c1282){if(-_0x2c1282<_0x280124&&_0x280124<_0x2c1282)return 0x0;}const _0x1df4f9=_0x221069-_0x280124;if(_0x1df4f9*_0x1df4f9<_0x25136d*_0x221069*_0x280124)return 0x0;return _0x221069<_0x280124?-0x1:0x1;};class _0x8cd97e{constructor(){const _0x31c423=_0xf70012;this[_0x31c423(0x21e)]();}[_0xf70012(0x21e)](){const _0x57c0dc=_0xf70012;this[_0x57c0dc(0x218)]=new _0x1643d5(),this[_0x57c0dc(0x1f3)]=new _0x1643d5();}['round'](_0x1dd30f,_0x116110){const _0x4ec699=_0xf70012;return{'x':this['xRounder']['round'](_0x1dd30f),'y':this[_0x4ec699(0x1f3)][_0x4ec699(0x221)](_0x116110)};}}class _0x1643d5{constructor(){const _0xf65486=_0xf70012;this[_0xf65486(0x27b)]=new _0x426a4(),this['round'](0x0);}[_0xf70012(0x221)](_0x5b4484){const _0x5ceb2e=_0xf70012,_0x317ffa=this[_0x5ceb2e(0x27b)][_0x5ceb2e(0x1fc)](_0x5b4484),_0x2f0439=this[_0x5ceb2e(0x27b)][_0x5ceb2e(0x1da)](_0x317ffa);if(_0x2f0439!==null&&_0x19edb8(_0x317ffa['key'],_0x2f0439[_0x5ceb2e(0x257)])===0x0)return this['tree'][_0x5ceb2e(0x24d)](_0x5b4484),_0x2f0439[_0x5ceb2e(0x257)];const _0x24f866=this[_0x5ceb2e(0x27b)][_0x5ceb2e(0x270)](_0x317ffa);if(_0x24f866!==null&&_0x19edb8(_0x317ffa['key'],_0x24f866[_0x5ceb2e(0x257)])===0x0)return this[_0x5ceb2e(0x27b)][_0x5ceb2e(0x24d)](_0x5b4484),_0x24f866[_0x5ceb2e(0x257)];return _0x5b4484;}}const _0x2167ce=new _0x8cd97e(),_0x2472aa=1.1102230246251565e-16,_0x4f663d=0x8000001,_0x4a3b1f=(0x3+0x8*_0x2472aa)*_0x2472aa;function _0x45193b(_0x37c50f,_0x517a00,_0x2397c9,_0x3ca364,_0x488204){let _0x2c941a,_0x43878a,_0x54efd8,_0x262a3c,_0xf1d5a4=_0x517a00[0x0],_0x5ce848=_0x3ca364[0x0],_0x3bc708=0x0,_0x445715=0x0;_0x5ce848>_0xf1d5a4===_0x5ce848>-_0xf1d5a4?(_0x2c941a=_0xf1d5a4,_0xf1d5a4=_0x517a00[++_0x3bc708]):(_0x2c941a=_0x5ce848,_0x5ce848=_0x3ca364[++_0x445715]);let _0x52ac2d=0x0;if(_0x3bc708<_0x37c50f&&_0x445715<_0x2397c9){_0x5ce848>_0xf1d5a4===_0x5ce848>-_0xf1d5a4?(_0x43878a=_0xf1d5a4+_0x2c941a,_0x54efd8=_0x2c941a-(_0x43878a-_0xf1d5a4),_0xf1d5a4=_0x517a00[++_0x3bc708]):(_0x43878a=_0x5ce848+_0x2c941a,_0x54efd8=_0x2c941a-(_0x43878a-_0x5ce848),_0x5ce848=_0x3ca364[++_0x445715]);_0x2c941a=_0x43878a;_0x54efd8!==0x0&&(_0x488204[_0x52ac2d++]=_0x54efd8);while(_0x3bc708<_0x37c50f&&_0x445715<_0x2397c9){_0x5ce848>_0xf1d5a4===_0x5ce848>-_0xf1d5a4?(_0x43878a=_0x2c941a+_0xf1d5a4,_0x262a3c=_0x43878a-_0x2c941a,_0x54efd8=_0x2c941a-(_0x43878a-_0x262a3c)+(_0xf1d5a4-_0x262a3c),_0xf1d5a4=_0x517a00[++_0x3bc708]):(_0x43878a=_0x2c941a+_0x5ce848,_0x262a3c=_0x43878a-_0x2c941a,_0x54efd8=_0x2c941a-(_0x43878a-_0x262a3c)+(_0x5ce848-_0x262a3c),_0x5ce848=_0x3ca364[++_0x445715]),_0x2c941a=_0x43878a,_0x54efd8!==0x0&&(_0x488204[_0x52ac2d++]=_0x54efd8);}}while(_0x3bc708<_0x37c50f){_0x43878a=_0x2c941a+_0xf1d5a4,_0x262a3c=_0x43878a-_0x2c941a,_0x54efd8=_0x2c941a-(_0x43878a-_0x262a3c)+(_0xf1d5a4-_0x262a3c),_0xf1d5a4=_0x517a00[++_0x3bc708],_0x2c941a=_0x43878a,_0x54efd8!==0x0&&(_0x488204[_0x52ac2d++]=_0x54efd8);}while(_0x445715<_0x2397c9){_0x43878a=_0x2c941a+_0x5ce848,_0x262a3c=_0x43878a-_0x2c941a,_0x54efd8=_0x2c941a-(_0x43878a-_0x262a3c)+(_0x5ce848-_0x262a3c),_0x5ce848=_0x3ca364[++_0x445715],_0x2c941a=_0x43878a,_0x54efd8!==0x0&&(_0x488204[_0x52ac2d++]=_0x54efd8);}return(_0x2c941a!==0x0||_0x52ac2d===0x0)&&(_0x488204[_0x52ac2d++]=_0x2c941a),_0x52ac2d;}function _0x1c07d6(_0x50647c,_0x14a79c){let _0x545134=_0x14a79c[0x0];for(let _0x3f33ff=0x1;_0x3f33ff<_0x50647c;_0x3f33ff++)_0x545134+=_0x14a79c[_0x3f33ff];return _0x545134;}function _0x18a6df(_0x1277f5){return new Float64Array(_0x1277f5);}const _0x7da869=(0x3+0x10*_0x2472aa)*_0x2472aa,_0x3921f6=(0x2+0xc*_0x2472aa)*_0x2472aa,_0x53c535=(0x9+0x40*_0x2472aa)*_0x2472aa*_0x2472aa,_0x10431c=_0x18a6df(0x4),_0x493410=_0x18a6df(0x8),_0x544b8e=_0x18a6df(0xc),_0x36aa41=_0x18a6df(0x10),_0x4d7e22=_0x18a6df(0x4);function _0x5bf405(_0x2bf38d,_0x1877ac,_0x5acb89,_0x4b3a84,_0x5baa86,_0x5913e6,_0xbad650){let _0x1881d3,_0x4d6e76,_0x377cb6,_0xaf08a9,_0x3c0dab,_0x5ef891,_0x399528,_0x2bed71,_0x4603ce,_0x2ae447,_0x1aef59,_0x23b10b,_0x4660f6,_0x1c3540,_0x181650,_0x459015,_0x5eb84e,_0x59eb29;const _0x3c0edb=_0x2bf38d-_0x5baa86,_0x64c295=_0x5acb89-_0x5baa86,_0x376fb5=_0x1877ac-_0x5913e6,_0x4ffcf5=_0x4b3a84-_0x5913e6;_0x1c3540=_0x3c0edb*_0x4ffcf5,_0x5ef891=_0x4f663d*_0x3c0edb,_0x399528=_0x5ef891-(_0x5ef891-_0x3c0edb),_0x2bed71=_0x3c0edb-_0x399528,_0x5ef891=_0x4f663d*_0x4ffcf5,_0x4603ce=_0x5ef891-(_0x5ef891-_0x4ffcf5),_0x2ae447=_0x4ffcf5-_0x4603ce,_0x181650=_0x2bed71*_0x2ae447-(_0x1c3540-_0x399528*_0x4603ce-_0x2bed71*_0x4603ce-_0x399528*_0x2ae447),_0x459015=_0x376fb5*_0x64c295,_0x5ef891=_0x4f663d*_0x376fb5,_0x399528=_0x5ef891-(_0x5ef891-_0x376fb5),_0x2bed71=_0x376fb5-_0x399528,_0x5ef891=_0x4f663d*_0x64c295,_0x4603ce=_0x5ef891-(_0x5ef891-_0x64c295),_0x2ae447=_0x64c295-_0x4603ce,_0x5eb84e=_0x2bed71*_0x2ae447-(_0x459015-_0x399528*_0x4603ce-_0x2bed71*_0x4603ce-_0x399528*_0x2ae447),_0x1aef59=_0x181650-_0x5eb84e,_0x3c0dab=_0x181650-_0x1aef59,_0x10431c[0x0]=_0x181650-(_0x1aef59+_0x3c0dab)+(_0x3c0dab-_0x5eb84e),_0x23b10b=_0x1c3540+_0x1aef59,_0x3c0dab=_0x23b10b-_0x1c3540,_0x4660f6=_0x1c3540-(_0x23b10b-_0x3c0dab)+(_0x1aef59-_0x3c0dab),_0x1aef59=_0x4660f6-_0x459015,_0x3c0dab=_0x4660f6-_0x1aef59,_0x10431c[0x1]=_0x4660f6-(_0x1aef59+_0x3c0dab)+(_0x3c0dab-_0x459015),_0x59eb29=_0x23b10b+_0x1aef59,_0x3c0dab=_0x59eb29-_0x23b10b,_0x10431c[0x2]=_0x23b10b-(_0x59eb29-_0x3c0dab)+(_0x1aef59-_0x3c0dab),_0x10431c[0x3]=_0x59eb29;let _0x529c4b=_0x1c07d6(0x4,_0x10431c),_0x239d90=_0x3921f6*_0xbad650;if(_0x529c4b>=_0x239d90||-_0x529c4b>=_0x239d90)return _0x529c4b;_0x3c0dab=_0x2bf38d-_0x3c0edb,_0x1881d3=_0x2bf38d-(_0x3c0edb+_0x3c0dab)+(_0x3c0dab-_0x5baa86),_0x3c0dab=_0x5acb89-_0x64c295,_0x377cb6=_0x5acb89-(_0x64c295+_0x3c0dab)+(_0x3c0dab-_0x5baa86),_0x3c0dab=_0x1877ac-_0x376fb5,_0x4d6e76=_0x1877ac-(_0x376fb5+_0x3c0dab)+(_0x3c0dab-_0x5913e6),_0x3c0dab=_0x4b3a84-_0x4ffcf5,_0xaf08a9=_0x4b3a84-(_0x4ffcf5+_0x3c0dab)+(_0x3c0dab-_0x5913e6);if(_0x1881d3===0x0&&_0x4d6e76===0x0&&_0x377cb6===0x0&&_0xaf08a9===0x0)return _0x529c4b;_0x239d90=_0x53c535*_0xbad650+_0x4a3b1f*Math['abs'](_0x529c4b),_0x529c4b+=_0x3c0edb*_0xaf08a9+_0x4ffcf5*_0x1881d3-(_0x376fb5*_0x377cb6+_0x64c295*_0x4d6e76);if(_0x529c4b>=_0x239d90||-_0x529c4b>=_0x239d90)return _0x529c4b;_0x1c3540=_0x1881d3*_0x4ffcf5,_0x5ef891=_0x4f663d*_0x1881d3,_0x399528=_0x5ef891-(_0x5ef891-_0x1881d3),_0x2bed71=_0x1881d3-_0x399528,_0x5ef891=_0x4f663d*_0x4ffcf5,_0x4603ce=_0x5ef891-(_0x5ef891-_0x4ffcf5),_0x2ae447=_0x4ffcf5-_0x4603ce,_0x181650=_0x2bed71*_0x2ae447-(_0x1c3540-_0x399528*_0x4603ce-_0x2bed71*_0x4603ce-_0x399528*_0x2ae447),_0x459015=_0x4d6e76*_0x64c295,_0x5ef891=_0x4f663d*_0x4d6e76,_0x399528=_0x5ef891-(_0x5ef891-_0x4d6e76),_0x2bed71=_0x4d6e76-_0x399528,_0x5ef891=_0x4f663d*_0x64c295,_0x4603ce=_0x5ef891-(_0x5ef891-_0x64c295),_0x2ae447=_0x64c295-_0x4603ce,_0x5eb84e=_0x2bed71*_0x2ae447-(_0x459015-_0x399528*_0x4603ce-_0x2bed71*_0x4603ce-_0x399528*_0x2ae447),_0x1aef59=_0x181650-_0x5eb84e,_0x3c0dab=_0x181650-_0x1aef59,_0x4d7e22[0x0]=_0x181650-(_0x1aef59+_0x3c0dab)+(_0x3c0dab-_0x5eb84e),_0x23b10b=_0x1c3540+_0x1aef59,_0x3c0dab=_0x23b10b-_0x1c3540,_0x4660f6=_0x1c3540-(_0x23b10b-_0x3c0dab)+(_0x1aef59-_0x3c0dab),_0x1aef59=_0x4660f6-_0x459015,_0x3c0dab=_0x4660f6-_0x1aef59,_0x4d7e22[0x1]=_0x4660f6-(_0x1aef59+_0x3c0dab)+(_0x3c0dab-_0x459015),_0x59eb29=_0x23b10b+_0x1aef59,_0x3c0dab=_0x59eb29-_0x23b10b,_0x4d7e22[0x2]=_0x23b10b-(_0x59eb29-_0x3c0dab)+(_0x1aef59-_0x3c0dab),_0x4d7e22[0x3]=_0x59eb29;const _0x5d827f=_0x45193b(0x4,_0x10431c,0x4,_0x4d7e22,_0x493410);_0x1c3540=_0x3c0edb*_0xaf08a9,_0x5ef891=_0x4f663d*_0x3c0edb,_0x399528=_0x5ef891-(_0x5ef891-_0x3c0edb),_0x2bed71=_0x3c0edb-_0x399528,_0x5ef891=_0x4f663d*_0xaf08a9,_0x4603ce=_0x5ef891-(_0x5ef891-_0xaf08a9),_0x2ae447=_0xaf08a9-_0x4603ce,_0x181650=_0x2bed71*_0x2ae447-(_0x1c3540-_0x399528*_0x4603ce-_0x2bed71*_0x4603ce-_0x399528*_0x2ae447),_0x459015=_0x376fb5*_0x377cb6,_0x5ef891=_0x4f663d*_0x376fb5,_0x399528=_0x5ef891-(_0x5ef891-_0x376fb5),_0x2bed71=_0x376fb5-_0x399528,_0x5ef891=_0x4f663d*_0x377cb6,_0x4603ce=_0x5ef891-(_0x5ef891-_0x377cb6),_0x2ae447=_0x377cb6-_0x4603ce,_0x5eb84e=_0x2bed71*_0x2ae447-(_0x459015-_0x399528*_0x4603ce-_0x2bed71*_0x4603ce-_0x399528*_0x2ae447),_0x1aef59=_0x181650-_0x5eb84e,_0x3c0dab=_0x181650-_0x1aef59,_0x4d7e22[0x0]=_0x181650-(_0x1aef59+_0x3c0dab)+(_0x3c0dab-_0x5eb84e),_0x23b10b=_0x1c3540+_0x1aef59,_0x3c0dab=_0x23b10b-_0x1c3540,_0x4660f6=_0x1c3540-(_0x23b10b-_0x3c0dab)+(_0x1aef59-_0x3c0dab),_0x1aef59=_0x4660f6-_0x459015,_0x3c0dab=_0x4660f6-_0x1aef59,_0x4d7e22[0x1]=_0x4660f6-(_0x1aef59+_0x3c0dab)+(_0x3c0dab-_0x459015),_0x59eb29=_0x23b10b+_0x1aef59,_0x3c0dab=_0x59eb29-_0x23b10b,_0x4d7e22[0x2]=_0x23b10b-(_0x59eb29-_0x3c0dab)+(_0x1aef59-_0x3c0dab),_0x4d7e22[0x3]=_0x59eb29;const _0x515aff=_0x45193b(_0x5d827f,_0x493410,0x4,_0x4d7e22,_0x544b8e);_0x1c3540=_0x1881d3*_0xaf08a9,_0x5ef891=_0x4f663d*_0x1881d3,_0x399528=_0x5ef891-(_0x5ef891-_0x1881d3),_0x2bed71=_0x1881d3-_0x399528,_0x5ef891=_0x4f663d*_0xaf08a9,_0x4603ce=_0x5ef891-(_0x5ef891-_0xaf08a9),_0x2ae447=_0xaf08a9-_0x4603ce,_0x181650=_0x2bed71*_0x2ae447-(_0x1c3540-_0x399528*_0x4603ce-_0x2bed71*_0x4603ce-_0x399528*_0x2ae447),_0x459015=_0x4d6e76*_0x377cb6,_0x5ef891=_0x4f663d*_0x4d6e76,_0x399528=_0x5ef891-(_0x5ef891-_0x4d6e76),_0x2bed71=_0x4d6e76-_0x399528,_0x5ef891=_0x4f663d*_0x377cb6,_0x4603ce=_0x5ef891-(_0x5ef891-_0x377cb6),_0x2ae447=_0x377cb6-_0x4603ce,_0x5eb84e=_0x2bed71*_0x2ae447-(_0x459015-_0x399528*_0x4603ce-_0x2bed71*_0x4603ce-_0x399528*_0x2ae447),_0x1aef59=_0x181650-_0x5eb84e,_0x3c0dab=_0x181650-_0x1aef59,_0x4d7e22[0x0]=_0x181650-(_0x1aef59+_0x3c0dab)+(_0x3c0dab-_0x5eb84e),_0x23b10b=_0x1c3540+_0x1aef59,_0x3c0dab=_0x23b10b-_0x1c3540,_0x4660f6=_0x1c3540-(_0x23b10b-_0x3c0dab)+(_0x1aef59-_0x3c0dab),_0x1aef59=_0x4660f6-_0x459015,_0x3c0dab=_0x4660f6-_0x1aef59,_0x4d7e22[0x1]=_0x4660f6-(_0x1aef59+_0x3c0dab)+(_0x3c0dab-_0x459015),_0x59eb29=_0x23b10b+_0x1aef59,_0x3c0dab=_0x59eb29-_0x23b10b,_0x4d7e22[0x2]=_0x23b10b-(_0x59eb29-_0x3c0dab)+(_0x1aef59-_0x3c0dab),_0x4d7e22[0x3]=_0x59eb29;const _0x2225a2=_0x45193b(_0x515aff,_0x544b8e,0x4,_0x4d7e22,_0x36aa41);return _0x36aa41[_0x2225a2-0x1];}function _0x505853(_0x2c631b,_0x2ae53e,_0x1e8824,_0x2f3d93,_0x1e92f8,_0x5cd938){const _0x3a2cbe=_0xf70012,_0x14c8a3=(_0x2ae53e-_0x5cd938)*(_0x1e8824-_0x1e92f8),_0x2eedd1=(_0x2c631b-_0x1e92f8)*(_0x2f3d93-_0x5cd938),_0x483828=_0x14c8a3-_0x2eedd1,_0x263b3c=Math[_0x3a2cbe(0x260)](_0x14c8a3+_0x2eedd1);if(Math[_0x3a2cbe(0x260)](_0x483828)>=_0x7da869*_0x263b3c)return _0x483828;return-_0x5bf405(_0x2c631b,_0x2ae53e,_0x1e8824,_0x2f3d93,_0x1e92f8,_0x5cd938,_0x263b3c);}const _0x17b954=(_0x258fc8,_0x130126)=>_0x258fc8['x']*_0x130126['y']-_0x258fc8['y']*_0x130126['x'],_0x2464ed=(_0x150907,_0x1d6765)=>_0x150907['x']*_0x1d6765['x']+_0x150907['y']*_0x1d6765['y'],_0x2088e6=(_0x104f16,_0x459868,_0x3eb219)=>{const _0x5f1f76=_0x505853(_0x104f16['x'],_0x104f16['y'],_0x459868['x'],_0x459868['y'],_0x3eb219['x'],_0x3eb219['y']);if(_0x5f1f76>0x0)return-0x1;if(_0x5f1f76<0x0)return 0x1;return 0x0;},_0x339c01=_0x2d4460=>Math[_0xf70012(0x267)](_0x2464ed(_0x2d4460,_0x2d4460)),_0x331bf1=(_0x3bfd6d,_0x513da0,_0x3c7f88)=>{const _0x5bf77f={'x':_0x513da0['x']-_0x3bfd6d['x'],'y':_0x513da0['y']-_0x3bfd6d['y']},_0x8940f8={'x':_0x3c7f88['x']-_0x3bfd6d['x'],'y':_0x3c7f88['y']-_0x3bfd6d['y']};return _0x17b954(_0x8940f8,_0x5bf77f)/_0x339c01(_0x8940f8)/_0x339c01(_0x5bf77f);},_0x41a31f=(_0x7b3797,_0x3cf2de,_0x516488)=>{const _0x2829de={'x':_0x3cf2de['x']-_0x7b3797['x'],'y':_0x3cf2de['y']-_0x7b3797['y']},_0x4382dd={'x':_0x516488['x']-_0x7b3797['x'],'y':_0x516488['y']-_0x7b3797['y']};return _0x2464ed(_0x4382dd,_0x2829de)/_0x339c01(_0x4382dd)/_0x339c01(_0x2829de);},_0x4c5015=(_0x33d6bc,_0x1d390e,_0x585c6f)=>{if(_0x1d390e['y']===0x0)return null;return{'x':_0x33d6bc['x']+_0x1d390e['x']/_0x1d390e['y']*(_0x585c6f-_0x33d6bc['y']),'y':_0x585c6f};},_0x1b5366=(_0x31d125,_0x2503e4,_0x34cdf0)=>{if(_0x2503e4['x']===0x0)return null;return{'x':_0x34cdf0,'y':_0x31d125['y']+_0x2503e4['y']/_0x2503e4['x']*(_0x34cdf0-_0x31d125['x'])};},_0x2049db=(_0x4d91ad,_0xaa144f,_0x38a919,_0x48c59f)=>{if(_0xaa144f['x']===0x0)return _0x1b5366(_0x38a919,_0x48c59f,_0x4d91ad['x']);if(_0x48c59f['x']===0x0)return _0x1b5366(_0x4d91ad,_0xaa144f,_0x38a919['x']);if(_0xaa144f['y']===0x0)return _0x4c5015(_0x38a919,_0x48c59f,_0x4d91ad['y']);if(_0x48c59f['y']===0x0)return _0x4c5015(_0x4d91ad,_0xaa144f,_0x38a919['y']);const _0x5692ab=_0x17b954(_0xaa144f,_0x48c59f);if(_0x5692ab==0x0)return null;const _0x35730b={'x':_0x38a919['x']-_0x4d91ad['x'],'y':_0x38a919['y']-_0x4d91ad['y']},_0x3dd918=_0x17b954(_0x35730b,_0xaa144f)/_0x5692ab,_0x1e826a=_0x17b954(_0x35730b,_0x48c59f)/_0x5692ab,_0x179da9=_0x4d91ad['x']+_0x1e826a*_0xaa144f['x'],_0x339abf=_0x38a919['x']+_0x3dd918*_0x48c59f['x'],_0x1e05fd=_0x4d91ad['y']+_0x1e826a*_0xaa144f['y'],_0x358b0f=_0x38a919['y']+_0x3dd918*_0x48c59f['y'],_0x53f00d=(_0x179da9+_0x339abf)/0x2,_0x2c32f2=(_0x1e05fd+_0x358b0f)/0x2;return{'x':_0x53f00d,'y':_0x2c32f2};};class _0x48a386{static[_0xf70012(0x1f6)](_0x55eb4d,_0x9fcd2d){const _0x44372f=_0xf70012,_0x1b7ea1=_0x48a386[_0x44372f(0x23f)](_0x55eb4d[_0x44372f(0x25e)],_0x9fcd2d['point']);if(_0x1b7ea1!==0x0)return _0x1b7ea1;if(_0x55eb4d[_0x44372f(0x25e)]!==_0x9fcd2d[_0x44372f(0x25e)])_0x55eb4d['link'](_0x9fcd2d);if(_0x55eb4d[_0x44372f(0x286)]!==_0x9fcd2d[_0x44372f(0x286)])return _0x55eb4d[_0x44372f(0x286)]?0x1:-0x1;return _0x127e6d[_0x44372f(0x1f6)](_0x55eb4d[_0x44372f(0x1e1)],_0x9fcd2d['segment']);}static['comparePoints'](_0x5e494a,_0x30e88e){if(_0x5e494a['x']<_0x30e88e['x'])return-0x1;if(_0x5e494a['x']>_0x30e88e['x'])return 0x1;if(_0x5e494a['y']<_0x30e88e['y'])return-0x1;if(_0x5e494a['y']>_0x30e88e['y'])return 0x1;return 0x0;}constructor(_0x41ef53,_0x1e249d){const _0x2a46a7=_0xf70012;if(_0x41ef53[_0x2a46a7(0x229)]===undefined)_0x41ef53['events']=[this];else _0x41ef53[_0x2a46a7(0x229)][_0x2a46a7(0x1ee)](this);this['point']=_0x41ef53,this[_0x2a46a7(0x286)]=_0x1e249d;}[_0xf70012(0x206)](_0x29d4a9){const _0x136791=_0xf70012;if(_0x29d4a9[_0x136791(0x25e)]===this[_0x136791(0x25e)])throw new Error(_0x136791(0x243));const _0x5b6ba6=_0x29d4a9[_0x136791(0x25e)][_0x136791(0x229)];for(let _0x5a69c4=0x0,_0x417aaf=_0x5b6ba6[_0x136791(0x207)];_0x5a69c4<_0x417aaf;_0x5a69c4++){const _0x19dda7=_0x5b6ba6[_0x5a69c4];this['point'][_0x136791(0x229)][_0x136791(0x1ee)](_0x19dda7),_0x19dda7[_0x136791(0x25e)]=this[_0x136791(0x25e)];}this[_0x136791(0x28b)]();}[_0xf70012(0x28b)](){const _0x40c62b=_0xf70012,_0x4d0869=this['point'][_0x40c62b(0x229)][_0x40c62b(0x207)];for(let _0x1b6f20=0x0;_0x1b6f20<_0x4d0869;_0x1b6f20++){const _0x4f917f=this['point'][_0x40c62b(0x229)][_0x1b6f20];if(_0x4f917f['segment'][_0x40c62b(0x248)]!==undefined)continue;for(let _0x434005=_0x1b6f20+0x1;_0x434005<_0x4d0869;_0x434005++){const _0x234a15=this[_0x40c62b(0x25e)][_0x40c62b(0x229)][_0x434005];if(_0x234a15[_0x40c62b(0x248)]!==undefined)continue;if(_0x4f917f[_0x40c62b(0x22d)][_0x40c62b(0x25e)][_0x40c62b(0x229)]!==_0x234a15[_0x40c62b(0x22d)][_0x40c62b(0x25e)][_0x40c62b(0x229)])continue;_0x4f917f[_0x40c62b(0x1e1)][_0x40c62b(0x20e)](_0x234a15[_0x40c62b(0x1e1)]);}}}[_0xf70012(0x1f9)](){const _0x5a98f8=_0xf70012,_0x554ea3=[];for(let _0x3d8c09=0x0,_0x52ff0e=this[_0x5a98f8(0x25e)]['events']['length'];_0x3d8c09<_0x52ff0e;_0x3d8c09++){const _0x48a6eb=this[_0x5a98f8(0x25e)][_0x5a98f8(0x229)][_0x3d8c09];_0x48a6eb!==this&&!_0x48a6eb['segment'][_0x5a98f8(0x24a)]&&_0x48a6eb[_0x5a98f8(0x1e1)][_0x5a98f8(0x23c)]()&&_0x554ea3[_0x5a98f8(0x1ee)](_0x48a6eb);}return _0x554ea3;}['getLeftmostComparator'](_0x51eba3){const _0x5bf17e=new Map(),_0x202134=_0x1457b9=>{const _0x4f0e97=a1_0x22c4,_0x3f2170=_0x1457b9['otherSE'];_0x5bf17e['set'](_0x1457b9,{'sine':_0x331bf1(this[_0x4f0e97(0x25e)],_0x51eba3[_0x4f0e97(0x25e)],_0x3f2170[_0x4f0e97(0x25e)]),'cosine':_0x41a31f(this[_0x4f0e97(0x25e)],_0x51eba3[_0x4f0e97(0x25e)],_0x3f2170['point'])});};return(_0x223822,_0x46236f)=>{const _0x234e3f=a1_0x22c4;if(!_0x5bf17e[_0x234e3f(0x1d8)](_0x223822))_0x202134(_0x223822);if(!_0x5bf17e['has'](_0x46236f))_0x202134(_0x46236f);const {sine:_0x340c92,cosine:_0x465395}=_0x5bf17e[_0x234e3f(0x25f)](_0x223822),{sine:_0x3f9c55,cosine:_0x509992}=_0x5bf17e['get'](_0x46236f);if(_0x340c92>=0x0&&_0x3f9c55>=0x0){if(_0x465395<_0x509992)return 0x1;if(_0x465395>_0x509992)return-0x1;return 0x0;}if(_0x340c92<0x0&&_0x3f9c55<0x0){if(_0x465395<_0x509992)return-0x1;if(_0x465395>_0x509992)return 0x1;return 0x0;}if(_0x3f9c55<_0x340c92)return-0x1;if(_0x3f9c55>_0x340c92)return 0x1;return 0x0;};}}let _0xfad29b=0x0;class _0x127e6d{static[_0xf70012(0x1f6)](_0x28db07,_0xdb18f8){const _0x4b467b=_0xf70012,_0x4ab586=_0x28db07['leftSE'][_0x4b467b(0x25e)]['x'],_0x21de56=_0xdb18f8[_0x4b467b(0x227)][_0x4b467b(0x25e)]['x'],_0x210dd2=_0x28db07[_0x4b467b(0x245)][_0x4b467b(0x25e)]['x'],_0x3cffad=_0xdb18f8['rightSE'][_0x4b467b(0x25e)]['x'];if(_0x3cffad<_0x4ab586)return 0x1;if(_0x210dd2<_0x21de56)return-0x1;const _0x5b3a8c=_0x28db07[_0x4b467b(0x227)][_0x4b467b(0x25e)]['y'],_0x4bad7f=_0xdb18f8[_0x4b467b(0x227)][_0x4b467b(0x25e)]['y'],_0x382462=_0x28db07[_0x4b467b(0x245)][_0x4b467b(0x25e)]['y'],_0x3e5ff2=_0xdb18f8[_0x4b467b(0x245)]['point']['y'];if(_0x4ab586<_0x21de56){if(_0x4bad7f<_0x5b3a8c&&_0x4bad7f<_0x382462)return 0x1;if(_0x4bad7f>_0x5b3a8c&&_0x4bad7f>_0x382462)return-0x1;const _0x237a57=_0x28db07[_0x4b467b(0x21c)](_0xdb18f8[_0x4b467b(0x227)][_0x4b467b(0x25e)]);if(_0x237a57<0x0)return 0x1;if(_0x237a57>0x0)return-0x1;const _0x2d15ed=_0xdb18f8[_0x4b467b(0x21c)](_0x28db07['rightSE'][_0x4b467b(0x25e)]);if(_0x2d15ed!==0x0)return _0x2d15ed;return-0x1;}if(_0x4ab586>_0x21de56){if(_0x5b3a8c<_0x4bad7f&&_0x5b3a8c<_0x3e5ff2)return-0x1;if(_0x5b3a8c>_0x4bad7f&&_0x5b3a8c>_0x3e5ff2)return 0x1;const _0xa6a71f=_0xdb18f8[_0x4b467b(0x21c)](_0x28db07[_0x4b467b(0x227)][_0x4b467b(0x25e)]);if(_0xa6a71f!==0x0)return _0xa6a71f;const _0x58404b=_0x28db07[_0x4b467b(0x21c)](_0xdb18f8[_0x4b467b(0x245)][_0x4b467b(0x25e)]);if(_0x58404b<0x0)return 0x1;if(_0x58404b>0x0)return-0x1;return 0x1;}if(_0x5b3a8c<_0x4bad7f)return-0x1;if(_0x5b3a8c>_0x4bad7f)return 0x1;if(_0x210dd2<_0x3cffad){const _0x36970d=_0xdb18f8[_0x4b467b(0x21c)](_0x28db07['rightSE'][_0x4b467b(0x25e)]);if(_0x36970d!==0x0)return _0x36970d;}if(_0x210dd2>_0x3cffad){const _0xdba1e4=_0x28db07[_0x4b467b(0x21c)](_0xdb18f8[_0x4b467b(0x245)][_0x4b467b(0x25e)]);if(_0xdba1e4<0x0)return 0x1;if(_0xdba1e4>0x0)return-0x1;}if(_0x210dd2!==_0x3cffad){const _0x252885=_0x382462-_0x5b3a8c,_0x5c7ab7=_0x210dd2-_0x4ab586,_0x2f7cc0=_0x3e5ff2-_0x4bad7f,_0x3fa0a5=_0x3cffad-_0x21de56;if(_0x252885>_0x5c7ab7&&_0x2f7cc0<_0x3fa0a5)return 0x1;if(_0x252885<_0x5c7ab7&&_0x2f7cc0>_0x3fa0a5)return-0x1;}if(_0x210dd2>_0x3cffad)return 0x1;if(_0x210dd2<_0x3cffad)return-0x1;if(_0x382462<_0x3e5ff2)return-0x1;if(_0x382462>_0x3e5ff2)return 0x1;if(_0x28db07['id']<_0xdb18f8['id'])return-0x1;if(_0x28db07['id']>_0xdb18f8['id'])return 0x1;return 0x0;}constructor(_0x1c86a9,_0x5695bc,_0xaef8c1,_0x40042c){const _0x167c1f=_0xf70012;this['id']=++_0xfad29b,this['leftSE']=_0x1c86a9,_0x1c86a9[_0x167c1f(0x1e1)]=this,_0x1c86a9[_0x167c1f(0x22d)]=_0x5695bc,this[_0x167c1f(0x245)]=_0x5695bc,_0x5695bc[_0x167c1f(0x1e1)]=this,_0x5695bc['otherSE']=_0x1c86a9,this[_0x167c1f(0x1e8)]=_0xaef8c1,this['windings']=_0x40042c;}static['fromRing'](_0x114c4f,_0x38a5bf,_0x1dc203){const _0x42d861=_0xf70012;let _0x270131,_0x3152b9,_0x5b4cc6;const _0x2fbce3=_0x48a386[_0x42d861(0x23f)](_0x114c4f,_0x38a5bf);if(_0x2fbce3<0x0)_0x270131=_0x114c4f,_0x3152b9=_0x38a5bf,_0x5b4cc6=0x1;else{if(_0x2fbce3>0x0)_0x270131=_0x38a5bf,_0x3152b9=_0x114c4f,_0x5b4cc6=-0x1;else throw new Error(_0x42d861(0x1ef)+_0x114c4f['x']+',\x20'+_0x114c4f['y']+']');}const _0x516a17=new _0x48a386(_0x270131,!![]),_0x2c792e=new _0x48a386(_0x3152b9,![]);return new _0x127e6d(_0x516a17,_0x2c792e,[_0x1dc203],[_0x5b4cc6]);}['replaceRightSE'](_0x44c5da){const _0x4338eb=_0xf70012;this['rightSE']=_0x44c5da,this['rightSE'][_0x4338eb(0x1e1)]=this,this[_0x4338eb(0x245)]['otherSE']=this[_0x4338eb(0x227)],this['leftSE']['otherSE']=this[_0x4338eb(0x245)];}[_0xf70012(0x22b)](){const _0x3800c8=_0xf70012,_0x442922=this[_0x3800c8(0x227)][_0x3800c8(0x25e)]['y'],_0x5d51d9=this[_0x3800c8(0x245)][_0x3800c8(0x25e)]['y'];return{'ll':{'x':this[_0x3800c8(0x227)]['point']['x'],'y':_0x442922<_0x5d51d9?_0x442922:_0x5d51d9},'ur':{'x':this[_0x3800c8(0x245)][_0x3800c8(0x25e)]['x'],'y':_0x442922>_0x5d51d9?_0x442922:_0x5d51d9}};}['vector'](){const _0xf59a4f=_0xf70012;return{'x':this[_0xf59a4f(0x245)]['point']['x']-this[_0xf59a4f(0x227)]['point']['x'],'y':this['rightSE']['point']['y']-this[_0xf59a4f(0x227)]['point']['y']};}[_0xf70012(0x266)](_0x222150){const _0x4e57d6=_0xf70012;return _0x222150['x']===this['leftSE'][_0x4e57d6(0x25e)]['x']&&_0x222150['y']===this[_0x4e57d6(0x227)][_0x4e57d6(0x25e)]['y']||_0x222150['x']===this[_0x4e57d6(0x245)][_0x4e57d6(0x25e)]['x']&&_0x222150['y']===this[_0x4e57d6(0x245)][_0x4e57d6(0x25e)]['y'];}[_0xf70012(0x21c)](_0x462e81){const _0x363b2e=_0xf70012;if(this[_0x363b2e(0x266)](_0x462e81))return 0x0;const _0x2ba014=this[_0x363b2e(0x227)][_0x363b2e(0x25e)],_0x3a7b3f=this[_0x363b2e(0x245)][_0x363b2e(0x25e)],_0x54ad8f=this[_0x363b2e(0x242)]();if(_0x2ba014['x']===_0x3a7b3f['x']){if(_0x462e81['x']===_0x2ba014['x'])return 0x0;return _0x462e81['x']<_0x2ba014['x']?0x1:-0x1;}const _0x367a82=(_0x462e81['y']-_0x2ba014['y'])/_0x54ad8f['y'],_0x3d1fd0=_0x2ba014['x']+_0x367a82*_0x54ad8f['x'];if(_0x462e81['x']===_0x3d1fd0)return 0x0;const _0x367380=(_0x462e81['x']-_0x2ba014['x'])/_0x54ad8f['x'],_0x5249aa=_0x2ba014['y']+_0x367380*_0x54ad8f['y'];if(_0x462e81['y']===_0x5249aa)return 0x0;return _0x462e81['y']<_0x5249aa?-0x1:0x1;}[_0xf70012(0x213)](_0xcb67c9){const _0x3d79f3=_0xf70012,_0x44564a=this['bbox'](),_0x9955fb=_0xcb67c9['bbox'](),_0x5d95da=_0x306b7c(_0x44564a,_0x9955fb);if(_0x5d95da===null)return null;const _0x7483f3=this['leftSE']['point'],_0x14d14a=this['rightSE'][_0x3d79f3(0x25e)],_0x5c3d59=_0xcb67c9[_0x3d79f3(0x227)]['point'],_0x1cec8e=_0xcb67c9[_0x3d79f3(0x245)][_0x3d79f3(0x25e)],_0x47b290=_0x454eb8(_0x44564a,_0x5c3d59)&&this['comparePoint'](_0x5c3d59)===0x0,_0x2adddb=_0x454eb8(_0x9955fb,_0x7483f3)&&_0xcb67c9[_0x3d79f3(0x21c)](_0x7483f3)===0x0,_0x5f2589=_0x454eb8(_0x44564a,_0x1cec8e)&&this['comparePoint'](_0x1cec8e)===0x0,_0x21dd0b=_0x454eb8(_0x9955fb,_0x14d14a)&&_0xcb67c9[_0x3d79f3(0x21c)](_0x14d14a)===0x0;if(_0x2adddb&&_0x47b290){if(_0x21dd0b&&!_0x5f2589)return _0x14d14a;if(!_0x21dd0b&&_0x5f2589)return _0x1cec8e;return null;}if(_0x2adddb){if(_0x5f2589){if(_0x7483f3['x']===_0x1cec8e['x']&&_0x7483f3['y']===_0x1cec8e['y'])return null;}return _0x7483f3;}if(_0x47b290){if(_0x21dd0b){if(_0x14d14a['x']===_0x5c3d59['x']&&_0x14d14a['y']===_0x5c3d59['y'])return null;}return _0x5c3d59;}if(_0x21dd0b&&_0x5f2589)return null;if(_0x21dd0b)return _0x14d14a;if(_0x5f2589)return _0x1cec8e;const _0x3b0b93=_0x2049db(_0x7483f3,this['vector'](),_0x5c3d59,_0xcb67c9[_0x3d79f3(0x242)]());if(_0x3b0b93===null)return null;if(!_0x454eb8(_0x5d95da,_0x3b0b93))return null;return _0x2167ce[_0x3d79f3(0x221)](_0x3b0b93['x'],_0x3b0b93['y']);}['split'](_0x38eab5){const _0x5838ab=_0xf70012,_0x2d45c7=[],_0x568bd2=_0x38eab5['events']!==undefined,_0x3e5fb6=new _0x48a386(_0x38eab5,!![]),_0x419865=new _0x48a386(_0x38eab5,![]),_0x266676=this[_0x5838ab(0x245)];this[_0x5838ab(0x28f)](_0x419865),_0x2d45c7['push'](_0x419865),_0x2d45c7[_0x5838ab(0x1ee)](_0x3e5fb6);const _0x3398c5=new _0x127e6d(_0x3e5fb6,_0x266676,this[_0x5838ab(0x1e8)]['slice'](),this[_0x5838ab(0x268)][_0x5838ab(0x294)]());return _0x48a386[_0x5838ab(0x23f)](_0x3398c5[_0x5838ab(0x227)]['point'],_0x3398c5[_0x5838ab(0x245)][_0x5838ab(0x25e)])>0x0&&_0x3398c5[_0x5838ab(0x28e)](),_0x48a386[_0x5838ab(0x23f)](this['leftSE']['point'],this[_0x5838ab(0x245)][_0x5838ab(0x25e)])>0x0&&this[_0x5838ab(0x28e)](),_0x568bd2&&(_0x3e5fb6[_0x5838ab(0x28b)](),_0x419865['checkForConsuming']()),_0x2d45c7;}['swapEvents'](){const _0x25b689=_0xf70012,_0x3b2bf6=this['rightSE'];this[_0x25b689(0x245)]=this[_0x25b689(0x227)],this[_0x25b689(0x227)]=_0x3b2bf6,this[_0x25b689(0x227)]['isLeft']=!![],this['rightSE'][_0x25b689(0x286)]=![];for(let _0x1da8f9=0x0,_0x25b3a1=this['windings']['length'];_0x1da8f9<_0x25b3a1;_0x1da8f9++){this[_0x25b689(0x268)][_0x1da8f9]*=-0x1;}}[_0xf70012(0x20e)](_0x4f4707){const _0x102dc3=_0xf70012;let _0x406ae3=this,_0x40dcb4=_0x4f4707;while(_0x406ae3[_0x102dc3(0x248)])_0x406ae3=_0x406ae3[_0x102dc3(0x248)];while(_0x40dcb4[_0x102dc3(0x248)])_0x40dcb4=_0x40dcb4[_0x102dc3(0x248)];const _0x248ba2=_0x127e6d['compare'](_0x406ae3,_0x40dcb4);if(_0x248ba2===0x0)return;if(_0x248ba2>0x0){const _0x26f301=_0x406ae3;_0x406ae3=_0x40dcb4,_0x40dcb4=_0x26f301;}if(_0x406ae3[_0x102dc3(0x1da)]===_0x40dcb4){const _0x3847db=_0x406ae3;_0x406ae3=_0x40dcb4,_0x40dcb4=_0x3847db;}for(let _0x415fa1=0x0,_0x1ca13e=_0x40dcb4[_0x102dc3(0x1e8)]['length'];_0x415fa1<_0x1ca13e;_0x415fa1++){const _0x1585eb=_0x40dcb4[_0x102dc3(0x1e8)][_0x415fa1],_0xdb74d5=_0x40dcb4[_0x102dc3(0x268)][_0x415fa1],_0x5ecfd2=_0x406ae3['rings'][_0x102dc3(0x205)](_0x1585eb);if(_0x5ecfd2===-0x1)_0x406ae3[_0x102dc3(0x1e8)][_0x102dc3(0x1ee)](_0x1585eb),_0x406ae3[_0x102dc3(0x268)][_0x102dc3(0x1ee)](_0xdb74d5);else _0x406ae3[_0x102dc3(0x268)][_0x5ecfd2]+=_0xdb74d5;}_0x40dcb4[_0x102dc3(0x1e8)]=null,_0x40dcb4[_0x102dc3(0x268)]=null,_0x40dcb4[_0x102dc3(0x248)]=_0x406ae3,_0x40dcb4[_0x102dc3(0x227)][_0x102dc3(0x248)]=_0x406ae3[_0x102dc3(0x227)],_0x40dcb4[_0x102dc3(0x245)][_0x102dc3(0x248)]=_0x406ae3['rightSE'];}[_0xf70012(0x276)](){const _0x120613=_0xf70012;if(this[_0x120613(0x1e2)]!==undefined)return this[_0x120613(0x1e2)];if(!this[_0x120613(0x1da)])this[_0x120613(0x1e2)]=null;else{if(this['prev']['isInResult']())this['_prevInResult']=this[_0x120613(0x1da)];else this[_0x120613(0x1e2)]=this[_0x120613(0x1da)][_0x120613(0x276)]();}return this[_0x120613(0x1e2)];}[_0xf70012(0x1fb)](){const _0x5dd3f8=_0xf70012;if(this[_0x5dd3f8(0x281)]!==undefined)return this[_0x5dd3f8(0x281)];if(!this[_0x5dd3f8(0x1da)])this['_beforeState']={'rings':[],'windings':[],'multiPolys':[]};else{const _0x5e8d39=this[_0x5dd3f8(0x1da)][_0x5dd3f8(0x248)]||this[_0x5dd3f8(0x1da)];this[_0x5dd3f8(0x281)]=_0x5e8d39[_0x5dd3f8(0x290)]();}return this[_0x5dd3f8(0x281)];}[_0xf70012(0x290)](){const _0x5d7aa0=_0xf70012;if(this['_afterState']!==undefined)return this[_0x5d7aa0(0x23b)];const _0x5c3833=this[_0x5d7aa0(0x1fb)]();this['_afterState']={'rings':_0x5c3833[_0x5d7aa0(0x1e8)][_0x5d7aa0(0x294)](0x0),'windings':_0x5c3833[_0x5d7aa0(0x268)][_0x5d7aa0(0x294)](0x0),'multiPolys':[]};const _0x477a1d=this[_0x5d7aa0(0x23b)][_0x5d7aa0(0x1e8)],_0x5bc31e=this[_0x5d7aa0(0x23b)]['windings'],_0x4f342b=this['_afterState']['multiPolys'];for(let _0x5ea1ae=0x0,_0x323239=this[_0x5d7aa0(0x1e8)][_0x5d7aa0(0x207)];_0x5ea1ae<_0x323239;_0x5ea1ae++){const _0x4b4123=this[_0x5d7aa0(0x1e8)][_0x5ea1ae],_0x1e19ae=this[_0x5d7aa0(0x268)][_0x5ea1ae],_0x56f14c=_0x477a1d[_0x5d7aa0(0x205)](_0x4b4123);if(_0x56f14c===-0x1)_0x477a1d[_0x5d7aa0(0x1ee)](_0x4b4123),_0x5bc31e[_0x5d7aa0(0x1ee)](_0x1e19ae);else _0x5bc31e[_0x56f14c]+=_0x1e19ae;}const _0x4206ec=[],_0x4ed972=[];for(let _0x4ec4e1=0x0,_0x1718ea=_0x477a1d['length'];_0x4ec4e1<_0x1718ea;_0x4ec4e1++){if(_0x5bc31e[_0x4ec4e1]===0x0)continue;const _0x20be6c=_0x477a1d[_0x4ec4e1],_0x2c4d8a=_0x20be6c['poly'];if(_0x4ed972[_0x5d7aa0(0x205)](_0x2c4d8a)!==-0x1)continue;if(_0x20be6c[_0x5d7aa0(0x21d)])_0x4206ec['push'](_0x2c4d8a);else{if(_0x4ed972[_0x5d7aa0(0x205)](_0x2c4d8a)===-0x1)_0x4ed972['push'](_0x2c4d8a);const _0x3b29e9=_0x4206ec[_0x5d7aa0(0x205)](_0x20be6c[_0x5d7aa0(0x292)]);if(_0x3b29e9!==-0x1)_0x4206ec[_0x5d7aa0(0x223)](_0x3b29e9,0x1);}}for(let _0x532033=0x0,_0x4e275f=_0x4206ec[_0x5d7aa0(0x207)];_0x532033<_0x4e275f;_0x532033++){const _0x21986a=_0x4206ec[_0x532033]['multiPoly'];if(_0x4f342b[_0x5d7aa0(0x205)](_0x21986a)===-0x1)_0x4f342b[_0x5d7aa0(0x1ee)](_0x21986a);}return this[_0x5d7aa0(0x23b)];}[_0xf70012(0x23c)](){const _0x24c160=_0xf70012;if(this[_0x24c160(0x248)])return![];if(this[_0x24c160(0x231)]!==undefined)return this[_0x24c160(0x231)];const _0x4be43f=this[_0x24c160(0x1fb)]()[_0x24c160(0x212)],_0x2fb034=this[_0x24c160(0x290)]()[_0x24c160(0x212)];switch(_0x33ea3f['type']){case _0x24c160(0x1e4):{const _0x55af7f=_0x4be43f['length']===0x0,_0x1cef65=_0x2fb034['length']===0x0;this['_isInResult']=_0x55af7f!==_0x1cef65;break;}case _0x24c160(0x224):{let _0x29a5df,_0x4efca3;_0x4be43f[_0x24c160(0x207)]<_0x2fb034[_0x24c160(0x207)]?(_0x29a5df=_0x4be43f['length'],_0x4efca3=_0x2fb034[_0x24c160(0x207)]):(_0x29a5df=_0x2fb034[_0x24c160(0x207)],_0x4efca3=_0x4be43f[_0x24c160(0x207)]);this[_0x24c160(0x231)]=_0x4efca3===_0x33ea3f['numMultiPolys']&&_0x29a5df<_0x4efca3;break;}case _0x24c160(0x1d7):{const _0x282da1=Math['abs'](_0x4be43f[_0x24c160(0x207)]-_0x2fb034[_0x24c160(0x207)]);this[_0x24c160(0x231)]=_0x282da1%0x2===0x1;break;}case _0x24c160(0x1f5):{const _0x2e08ca=_0x46c78a=>_0x46c78a[_0x24c160(0x207)]===0x1&&_0x46c78a[0x0]['isSubject'];this['_isInResult']=_0x2e08ca(_0x4be43f)!==_0x2e08ca(_0x2fb034);break;}default:throw new Error(_0x24c160(0x202)+_0x33ea3f[_0x24c160(0x1fa)]);}return this[_0x24c160(0x231)];}}class _0x4157ae{constructor(_0x22fadd,_0x5a261e,_0x36a1af){const _0x49ca84=_0xf70012;if(!Array[_0x49ca84(0x1de)](_0x22fadd)||_0x22fadd[_0x49ca84(0x207)]===0x0)throw new Error(_0x49ca84(0x1fe));this['poly']=_0x5a261e,this[_0x49ca84(0x21d)]=_0x36a1af,this[_0x49ca84(0x23a)]=[];if(typeof _0x22fadd[0x0][0x0]!==_0x49ca84(0x219)||typeof _0x22fadd[0x0][0x1]!==_0x49ca84(0x219))throw new Error(_0x49ca84(0x1fe));const _0x1cb3fa=_0x2167ce['round'](_0x22fadd[0x0][0x0],_0x22fadd[0x0][0x1]);this[_0x49ca84(0x22b)]={'ll':{'x':_0x1cb3fa['x'],'y':_0x1cb3fa['y']},'ur':{'x':_0x1cb3fa['x'],'y':_0x1cb3fa['y']}};let _0x2ad5c4=_0x1cb3fa;for(let _0x259908=0x1,_0x45b548=_0x22fadd['length'];_0x259908<_0x45b548;_0x259908++){if(typeof _0x22fadd[_0x259908][0x0]!==_0x49ca84(0x219)||typeof _0x22fadd[_0x259908][0x1]!=='number')throw new Error(_0x49ca84(0x1fe));let _0x3b2e95=_0x2167ce[_0x49ca84(0x221)](_0x22fadd[_0x259908][0x0],_0x22fadd[_0x259908][0x1]);if(_0x3b2e95['x']===_0x2ad5c4['x']&&_0x3b2e95['y']===_0x2ad5c4['y'])continue;this[_0x49ca84(0x23a)]['push'](_0x127e6d['fromRing'](_0x2ad5c4,_0x3b2e95,this));if(_0x3b2e95['x']<this[_0x49ca84(0x22b)]['ll']['x'])this[_0x49ca84(0x22b)]['ll']['x']=_0x3b2e95['x'];if(_0x3b2e95['y']<this[_0x49ca84(0x22b)]['ll']['y'])this['bbox']['ll']['y']=_0x3b2e95['y'];if(_0x3b2e95['x']>this[_0x49ca84(0x22b)]['ur']['x'])this[_0x49ca84(0x22b)]['ur']['x']=_0x3b2e95['x'];if(_0x3b2e95['y']>this[_0x49ca84(0x22b)]['ur']['y'])this[_0x49ca84(0x22b)]['ur']['y']=_0x3b2e95['y'];_0x2ad5c4=_0x3b2e95;}(_0x1cb3fa['x']!==_0x2ad5c4['x']||_0x1cb3fa['y']!==_0x2ad5c4['y'])&&this['segments'][_0x49ca84(0x1ee)](_0x127e6d[_0x49ca84(0x26e)](_0x2ad5c4,_0x1cb3fa,this));}['getSweepEvents'](){const _0x25c322=_0xf70012,_0x4d91fe=[];for(let _0x38ca0a=0x0,_0x5b4359=this['segments'][_0x25c322(0x207)];_0x38ca0a<_0x5b4359;_0x38ca0a++){const _0x11b7af=this[_0x25c322(0x23a)][_0x38ca0a];_0x4d91fe[_0x25c322(0x1ee)](_0x11b7af[_0x25c322(0x227)]),_0x4d91fe['push'](_0x11b7af[_0x25c322(0x245)]);}return _0x4d91fe;}}class _0x4ac491{constructor(_0x3f6afb,_0x246804){const _0x5b8144=_0xf70012;if(!Array[_0x5b8144(0x1de)](_0x3f6afb))throw new Error(_0x5b8144(0x1fe));this[_0x5b8144(0x25b)]=new _0x4157ae(_0x3f6afb[0x0],this,!![]),this[_0x5b8144(0x22b)]={'ll':{'x':this['exteriorRing']['bbox']['ll']['x'],'y':this[_0x5b8144(0x25b)]['bbox']['ll']['y']},'ur':{'x':this[_0x5b8144(0x25b)][_0x5b8144(0x22b)]['ur']['x'],'y':this[_0x5b8144(0x25b)]['bbox']['ur']['y']}},this[_0x5b8144(0x1f7)]=[];for(let _0x513e50=0x1,_0x506651=_0x3f6afb[_0x5b8144(0x207)];_0x513e50<_0x506651;_0x513e50++){const _0x3c1df6=new _0x4157ae(_0x3f6afb[_0x513e50],this,![]);if(_0x3c1df6[_0x5b8144(0x22b)]['ll']['x']<this[_0x5b8144(0x22b)]['ll']['x'])this[_0x5b8144(0x22b)]['ll']['x']=_0x3c1df6[_0x5b8144(0x22b)]['ll']['x'];if(_0x3c1df6[_0x5b8144(0x22b)]['ll']['y']<this[_0x5b8144(0x22b)]['ll']['y'])this[_0x5b8144(0x22b)]['ll']['y']=_0x3c1df6[_0x5b8144(0x22b)]['ll']['y'];if(_0x3c1df6['bbox']['ur']['x']>this['bbox']['ur']['x'])this[_0x5b8144(0x22b)]['ur']['x']=_0x3c1df6[_0x5b8144(0x22b)]['ur']['x'];if(_0x3c1df6[_0x5b8144(0x22b)]['ur']['y']>this[_0x5b8144(0x22b)]['ur']['y'])this[_0x5b8144(0x22b)]['ur']['y']=_0x3c1df6['bbox']['ur']['y'];this[_0x5b8144(0x1f7)]['push'](_0x3c1df6);}this['multiPoly']=_0x246804;}[_0xf70012(0x24f)](){const _0x532e8f=_0xf70012,_0x267348=this[_0x532e8f(0x25b)][_0x532e8f(0x24f)]();for(let _0x2951eb=0x0,_0x51c76a=this[_0x532e8f(0x1f7)][_0x532e8f(0x207)];_0x2951eb<_0x51c76a;_0x2951eb++){const _0x1e02f1=this[_0x532e8f(0x1f7)][_0x2951eb][_0x532e8f(0x24f)]();for(let _0x379065=0x0,_0x4fedc3=_0x1e02f1[_0x532e8f(0x207)];_0x379065<_0x4fedc3;_0x379065++){_0x267348['push'](_0x1e02f1[_0x379065]);}}return _0x267348;}}class _0x11b8ff{constructor(_0x4ab739,_0x44bc19){const _0x3b8e74=_0xf70012;if(!Array[_0x3b8e74(0x1de)](_0x4ab739))throw new Error(_0x3b8e74(0x1fe));try{if(typeof _0x4ab739[0x0][0x0][0x0]===_0x3b8e74(0x219))_0x4ab739=[_0x4ab739];}catch(_0x5ee914){}this[_0x3b8e74(0x265)]=[],this[_0x3b8e74(0x22b)]={'ll':{'x':Number[_0x3b8e74(0x284)],'y':Number[_0x3b8e74(0x284)]},'ur':{'x':Number[_0x3b8e74(0x201)],'y':Number[_0x3b8e74(0x201)]}};for(let _0x814849=0x0,_0x52bd37=_0x4ab739[_0x3b8e74(0x207)];_0x814849<_0x52bd37;_0x814849++){const _0x4705a8=new _0x4ac491(_0x4ab739[_0x814849],this);if(_0x4705a8[_0x3b8e74(0x22b)]['ll']['x']<this['bbox']['ll']['x'])this[_0x3b8e74(0x22b)]['ll']['x']=_0x4705a8[_0x3b8e74(0x22b)]['ll']['x'];if(_0x4705a8['bbox']['ll']['y']<this[_0x3b8e74(0x22b)]['ll']['y'])this[_0x3b8e74(0x22b)]['ll']['y']=_0x4705a8[_0x3b8e74(0x22b)]['ll']['y'];if(_0x4705a8[_0x3b8e74(0x22b)]['ur']['x']>this['bbox']['ur']['x'])this[_0x3b8e74(0x22b)]['ur']['x']=_0x4705a8[_0x3b8e74(0x22b)]['ur']['x'];if(_0x4705a8['bbox']['ur']['y']>this['bbox']['ur']['y'])this[_0x3b8e74(0x22b)]['ur']['y']=_0x4705a8[_0x3b8e74(0x22b)]['ur']['y'];this[_0x3b8e74(0x265)][_0x3b8e74(0x1ee)](_0x4705a8);}this[_0x3b8e74(0x25d)]=_0x44bc19;}['getSweepEvents'](){const _0x1d03c1=_0xf70012,_0x3a8847=[];for(let _0x13eb8b=0x0,_0x1bac0f=this['polys'][_0x1d03c1(0x207)];_0x13eb8b<_0x1bac0f;_0x13eb8b++){const _0x50f2c7=this[_0x1d03c1(0x265)][_0x13eb8b][_0x1d03c1(0x24f)]();for(let _0x59c968=0x0,_0x1e104f=_0x50f2c7['length'];_0x59c968<_0x1e104f;_0x59c968++){_0x3a8847[_0x1d03c1(0x1ee)](_0x50f2c7[_0x59c968]);}}return _0x3a8847;}}class _0x55da44{static[_0xf70012(0x27e)](_0x267a17){const _0x1fe7f6=_0xf70012,_0xe4aff9=[];for(let _0x259917=0x0,_0x5188f2=_0x267a17['length'];_0x259917<_0x5188f2;_0x259917++){const _0x3f83f7=_0x267a17[_0x259917];if(!_0x3f83f7['isInResult']()||_0x3f83f7['ringOut'])continue;let _0x1e8692=null,_0x58d9aa=_0x3f83f7[_0x1fe7f6(0x227)],_0x441857=_0x3f83f7['rightSE'];const _0x26db05=[_0x58d9aa],_0x5b7163=_0x58d9aa[_0x1fe7f6(0x25e)],_0x44bc99=[];while(!![]){_0x1e8692=_0x58d9aa,_0x58d9aa=_0x441857,_0x26db05['push'](_0x58d9aa);if(_0x58d9aa[_0x1fe7f6(0x25e)]===_0x5b7163)break;while(!![]){const _0x36a565=_0x58d9aa[_0x1fe7f6(0x1f9)]();if(_0x36a565[_0x1fe7f6(0x207)]===0x0){const _0x453e38=_0x26db05[0x0][_0x1fe7f6(0x25e)],_0x4def7b=_0x26db05[_0x26db05[_0x1fe7f6(0x207)]-0x1]['point'];throw new Error(_0x1fe7f6(0x238)+_0x453e38['x']+','+('\x20'+_0x453e38['y']+_0x1fe7f6(0x262))+('\x20['+_0x4def7b['x']+',\x20'+_0x4def7b['y']+'].'));}if(_0x36a565['length']===0x1){_0x441857=_0x36a565[0x0][_0x1fe7f6(0x22d)];break;}let _0x3fe782=null;for(let _0x25e0c8=0x0,_0x48e511=_0x44bc99[_0x1fe7f6(0x207)];_0x25e0c8<_0x48e511;_0x25e0c8++){if(_0x44bc99[_0x25e0c8][_0x1fe7f6(0x25e)]===_0x58d9aa[_0x1fe7f6(0x25e)]){_0x3fe782=_0x25e0c8;break;}}if(_0x3fe782!==null){const _0x4208b3=_0x44bc99[_0x1fe7f6(0x223)](_0x3fe782)[0x0],_0x2ce7a9=_0x26db05[_0x1fe7f6(0x223)](_0x4208b3[_0x1fe7f6(0x21f)]);_0x2ce7a9['unshift'](_0x2ce7a9[0x0][_0x1fe7f6(0x22d)]),_0xe4aff9[_0x1fe7f6(0x1ee)](new _0x55da44(_0x2ce7a9['reverse']()));continue;}_0x44bc99['push']({'index':_0x26db05[_0x1fe7f6(0x207)],'point':_0x58d9aa[_0x1fe7f6(0x25e)]});const _0x17431b=_0x58d9aa[_0x1fe7f6(0x26a)](_0x1e8692);_0x441857=_0x36a565[_0x1fe7f6(0x296)](_0x17431b)[0x0][_0x1fe7f6(0x22d)];break;}}_0xe4aff9[_0x1fe7f6(0x1ee)](new _0x55da44(_0x26db05));}return _0xe4aff9;}constructor(_0x38acf6){const _0x293a18=_0xf70012;this[_0x293a18(0x229)]=_0x38acf6;for(let _0x28b441=0x0,_0x4bb356=_0x38acf6[_0x293a18(0x207)];_0x28b441<_0x4bb356;_0x28b441++){_0x38acf6[_0x28b441][_0x293a18(0x1e1)][_0x293a18(0x24a)]=this;}this['poly']=null;}['getGeom'](){const _0x2dd133=_0xf70012;let _0x56e438=this[_0x2dd133(0x229)][0x0]['point'];const _0x2a5fa8=[_0x56e438];for(let _0x328fe5=0x1,_0x390af6=this[_0x2dd133(0x229)][_0x2dd133(0x207)]-0x1;_0x328fe5<_0x390af6;_0x328fe5++){const _0xeda0c8=this[_0x2dd133(0x229)][_0x328fe5]['point'],_0x381cdd=this[_0x2dd133(0x229)][_0x328fe5+0x1][_0x2dd133(0x25e)];if(_0x2088e6(_0xeda0c8,_0x56e438,_0x381cdd)===0x0)continue;_0x2a5fa8[_0x2dd133(0x1ee)](_0xeda0c8),_0x56e438=_0xeda0c8;}if(_0x2a5fa8[_0x2dd133(0x207)]===0x1)return null;const _0xbd2487=_0x2a5fa8[0x0],_0x5b75b2=_0x2a5fa8[0x1];if(_0x2088e6(_0xbd2487,_0x56e438,_0x5b75b2)===0x0)_0x2a5fa8['shift']();_0x2a5fa8[_0x2dd133(0x1ee)](_0x2a5fa8[0x0]);const _0x1b8e72=this['isExteriorRing']()?0x1:-0x1,_0xc6a971=this[_0x2dd133(0x237)]()?0x0:_0x2a5fa8[_0x2dd133(0x207)]-0x1,_0x1df2ff=this[_0x2dd133(0x237)]()?_0x2a5fa8[_0x2dd133(0x207)]:-0x1,_0x367723=[];for(let _0x49199b=_0xc6a971;_0x49199b!=_0x1df2ff;_0x49199b+=_0x1b8e72)_0x367723[_0x2dd133(0x1ee)]([_0x2a5fa8[_0x49199b]['x'],_0x2a5fa8[_0x49199b]['y']]);return _0x367723;}[_0xf70012(0x237)](){const _0x6a35cf=_0xf70012;if(this[_0x6a35cf(0x1dd)]===undefined){const _0x1a5543=this[_0x6a35cf(0x279)]();this[_0x6a35cf(0x1dd)]=_0x1a5543?!_0x1a5543[_0x6a35cf(0x237)]():!![];}return this[_0x6a35cf(0x1dd)];}['enclosingRing'](){const _0x4d7111=_0xf70012;return this[_0x4d7111(0x246)]===undefined&&(this[_0x4d7111(0x246)]=this[_0x4d7111(0x298)]()),this[_0x4d7111(0x246)];}['_calcEnclosingRing'](){const _0x3513ed=_0xf70012;let _0x816c99=this[_0x3513ed(0x229)][0x0];for(let _0x21643c=0x1,_0x264036=this[_0x3513ed(0x229)][_0x3513ed(0x207)];_0x21643c<_0x264036;_0x21643c++){const _0x5b4e7c=this[_0x3513ed(0x229)][_0x21643c];if(_0x48a386[_0x3513ed(0x1f6)](_0x816c99,_0x5b4e7c)>0x0)_0x816c99=_0x5b4e7c;}let _0x3f439b=_0x816c99[_0x3513ed(0x1e1)]['prevInResult'](),_0x217fcd=_0x3f439b?_0x3f439b[_0x3513ed(0x276)]():null;while(!![]){if(!_0x3f439b)return null;if(!_0x217fcd)return _0x3f439b['ringOut'];if(_0x217fcd[_0x3513ed(0x24a)]!==_0x3f439b[_0x3513ed(0x24a)]){if(_0x217fcd[_0x3513ed(0x24a)]['enclosingRing']()!==_0x3f439b[_0x3513ed(0x24a)])return _0x3f439b[_0x3513ed(0x24a)];else return _0x3f439b[_0x3513ed(0x24a)][_0x3513ed(0x279)]();}_0x3f439b=_0x217fcd[_0x3513ed(0x276)](),_0x217fcd=_0x3f439b?_0x3f439b[_0x3513ed(0x276)]():null;}}}class _0x36f6cf{constructor(_0x3637e5){const _0x1908b9=_0xf70012;this[_0x1908b9(0x25b)]=_0x3637e5,_0x3637e5[_0x1908b9(0x292)]=this,this[_0x1908b9(0x1f7)]=[];}[_0xf70012(0x273)](_0x16547c){const _0x2694c5=_0xf70012;this[_0x2694c5(0x1f7)][_0x2694c5(0x1ee)](_0x16547c),_0x16547c[_0x2694c5(0x292)]=this;}['getGeom'](){const _0x331d11=_0xf70012,_0x3f8fd4=[this[_0x331d11(0x25b)]['getGeom']()];if(_0x3f8fd4[0x0]===null)return null;for(let _0x475bce=0x0,_0x1f7c4d=this[_0x331d11(0x1f7)][_0x331d11(0x207)];_0x475bce<_0x1f7c4d;_0x475bce++){const _0x2aa2a7=this[_0x331d11(0x1f7)][_0x475bce][_0x331d11(0x26b)]();if(_0x2aa2a7===null)continue;_0x3f8fd4[_0x331d11(0x1ee)](_0x2aa2a7);}return _0x3f8fd4;}}class _0x5d94f2{constructor(_0x368bac){const _0x7568d6=_0xf70012;this[_0x7568d6(0x1e8)]=_0x368bac,this['polys']=this[_0x7568d6(0x236)](_0x368bac);}[_0xf70012(0x26b)](){const _0x17cd21=_0xf70012,_0x854a23=[];for(let _0x36b92a=0x0,_0x1c8317=this[_0x17cd21(0x265)][_0x17cd21(0x207)];_0x36b92a<_0x1c8317;_0x36b92a++){const _0x48106c=this[_0x17cd21(0x265)][_0x36b92a][_0x17cd21(0x26b)]();if(_0x48106c===null)continue;_0x854a23['push'](_0x48106c);}return _0x854a23;}['_composePolys'](_0x274016){const _0x3bcf5a=_0xf70012,_0xa57a8=[];for(let _0x354dfa=0x0,_0x3fff69=_0x274016[_0x3bcf5a(0x207)];_0x354dfa<_0x3fff69;_0x354dfa++){const _0x55ff79=_0x274016[_0x354dfa];if(_0x55ff79['poly'])continue;if(_0x55ff79[_0x3bcf5a(0x237)]())_0xa57a8[_0x3bcf5a(0x1ee)](new _0x36f6cf(_0x55ff79));else{const _0x3ba739=_0x55ff79['enclosingRing']();if(!_0x3ba739[_0x3bcf5a(0x292)])_0xa57a8[_0x3bcf5a(0x1ee)](new _0x36f6cf(_0x3ba739));_0x3ba739[_0x3bcf5a(0x292)][_0x3bcf5a(0x273)](_0x55ff79);}}return _0xa57a8;}}class _0x3eff61{constructor(_0x333f04){const _0x3322fe=_0xf70012;let _0x10d66b=arguments[_0x3322fe(0x207)]>0x1&&arguments[0x1]!==undefined?arguments[0x1]:_0x127e6d[_0x3322fe(0x1f6)];this[_0x3322fe(0x22e)]=_0x333f04,this[_0x3322fe(0x27b)]=new _0x426a4(_0x10d66b),this[_0x3322fe(0x23a)]=[];}['process'](_0x3542fd){const _0x2dc089=_0xf70012,_0x3c61ec=_0x3542fd[_0x2dc089(0x1e1)],_0x2c100a=[];if(_0x3542fd['consumedBy']){if(_0x3542fd[_0x2dc089(0x286)])this[_0x2dc089(0x22e)][_0x2dc089(0x24d)](_0x3542fd['otherSE']);else this[_0x2dc089(0x27b)][_0x2dc089(0x24d)](_0x3c61ec);return _0x2c100a;}const _0x354420=_0x3542fd['isLeft']?this[_0x2dc089(0x27b)]['add'](_0x3c61ec):this[_0x2dc089(0x27b)][_0x2dc089(0x259)](_0x3c61ec);if(!_0x354420)throw new Error('Unable\x20to\x20find\x20segment\x20#'+_0x3c61ec['id']+'\x20'+('['+_0x3c61ec[_0x2dc089(0x227)][_0x2dc089(0x25e)]['x']+',\x20'+_0x3c61ec[_0x2dc089(0x227)][_0x2dc089(0x25e)]['y']+']\x20->\x20')+('['+_0x3c61ec[_0x2dc089(0x245)][_0x2dc089(0x25e)]['x']+',\x20'+_0x3c61ec['rightSE'][_0x2dc089(0x25e)]['y']+']\x20')+'in\x20SweepLine\x20tree.');let _0x5194a9=_0x354420,_0x525a17=_0x354420,_0x4553ca=undefined,_0x29df11=undefined;while(_0x4553ca===undefined){_0x5194a9=this['tree'][_0x2dc089(0x1da)](_0x5194a9);if(_0x5194a9===null)_0x4553ca=null;else{if(_0x5194a9[_0x2dc089(0x257)][_0x2dc089(0x248)]===undefined)_0x4553ca=_0x5194a9[_0x2dc089(0x257)];}}while(_0x29df11===undefined){_0x525a17=this['tree'][_0x2dc089(0x270)](_0x525a17);if(_0x525a17===null)_0x29df11=null;else{if(_0x525a17[_0x2dc089(0x257)][_0x2dc089(0x248)]===undefined)_0x29df11=_0x525a17[_0x2dc089(0x257)];}}if(_0x3542fd[_0x2dc089(0x286)]){let _0x18cb7f=null;if(_0x4553ca){const _0xa2aa89=_0x4553ca['getIntersection'](_0x3c61ec);if(_0xa2aa89!==null){if(!_0x3c61ec[_0x2dc089(0x266)](_0xa2aa89))_0x18cb7f=_0xa2aa89;if(!_0x4553ca[_0x2dc089(0x266)](_0xa2aa89)){const _0x25b16c=this[_0x2dc089(0x1d9)](_0x4553ca,_0xa2aa89);for(let _0x139acf=0x0,_0x4a08a9=_0x25b16c['length'];_0x139acf<_0x4a08a9;_0x139acf++){_0x2c100a[_0x2dc089(0x1ee)](_0x25b16c[_0x139acf]);}}}}let _0x5200ed=null;if(_0x29df11){const _0x23e772=_0x29df11[_0x2dc089(0x213)](_0x3c61ec);if(_0x23e772!==null){if(!_0x3c61ec[_0x2dc089(0x266)](_0x23e772))_0x5200ed=_0x23e772;if(!_0x29df11[_0x2dc089(0x266)](_0x23e772)){const _0x56600c=this['_splitSafely'](_0x29df11,_0x23e772);for(let _0x49aeba=0x0,_0x4b27be=_0x56600c[_0x2dc089(0x207)];_0x49aeba<_0x4b27be;_0x49aeba++){_0x2c100a[_0x2dc089(0x1ee)](_0x56600c[_0x49aeba]);}}}}if(_0x18cb7f!==null||_0x5200ed!==null){let _0x389a0b=null;if(_0x18cb7f===null)_0x389a0b=_0x5200ed;else{if(_0x5200ed===null)_0x389a0b=_0x18cb7f;else{const _0x163d94=_0x48a386[_0x2dc089(0x23f)](_0x18cb7f,_0x5200ed);_0x389a0b=_0x163d94<=0x0?_0x18cb7f:_0x5200ed;}}this[_0x2dc089(0x22e)][_0x2dc089(0x24d)](_0x3c61ec[_0x2dc089(0x245)]),_0x2c100a[_0x2dc089(0x1ee)](_0x3c61ec[_0x2dc089(0x245)]);const _0x4f52de=_0x3c61ec['split'](_0x389a0b);for(let _0x2f66a6=0x0,_0x3aa07b=_0x4f52de[_0x2dc089(0x207)];_0x2f66a6<_0x3aa07b;_0x2f66a6++){_0x2c100a['push'](_0x4f52de[_0x2f66a6]);}}_0x2c100a['length']>0x0?(this[_0x2dc089(0x27b)]['remove'](_0x3c61ec),_0x2c100a['push'](_0x3542fd)):(this['segments'][_0x2dc089(0x1ee)](_0x3c61ec),_0x3c61ec['prev']=_0x4553ca);}else{if(_0x4553ca&&_0x29df11){const _0x2e4b33=_0x4553ca['getIntersection'](_0x29df11);if(_0x2e4b33!==null){if(!_0x4553ca[_0x2dc089(0x266)](_0x2e4b33)){const _0x3afbfe=this['_splitSafely'](_0x4553ca,_0x2e4b33);for(let _0x3bc3ed=0x0,_0x107d87=_0x3afbfe[_0x2dc089(0x207)];_0x3bc3ed<_0x107d87;_0x3bc3ed++){_0x2c100a['push'](_0x3afbfe[_0x3bc3ed]);}}if(!_0x29df11[_0x2dc089(0x266)](_0x2e4b33)){const _0x489886=this['_splitSafely'](_0x29df11,_0x2e4b33);for(let _0x4c6193=0x0,_0x1be0da=_0x489886[_0x2dc089(0x207)];_0x4c6193<_0x1be0da;_0x4c6193++){_0x2c100a[_0x2dc089(0x1ee)](_0x489886[_0x4c6193]);}}}}this['tree'][_0x2dc089(0x24d)](_0x3c61ec);}return _0x2c100a;}[_0xf70012(0x1d9)](_0x4054e8,_0x15ec09){const _0x5edb68=_0xf70012;this[_0x5edb68(0x27b)][_0x5edb68(0x24d)](_0x4054e8);const _0x21475b=_0x4054e8[_0x5edb68(0x245)];this[_0x5edb68(0x22e)][_0x5edb68(0x24d)](_0x21475b);const _0x375365=_0x4054e8[_0x5edb68(0x230)](_0x15ec09);_0x375365[_0x5edb68(0x1ee)](_0x21475b);if(_0x4054e8['consumedBy']===undefined)this[_0x5edb68(0x27b)]['add'](_0x4054e8);return _0x375365;}}const _0x586607=typeof process!==_0xf70012(0x233)&&process['env'][_0xf70012(0x1e3)]||0xf4240,_0x444156=typeof process!==_0xf70012(0x233)&&process[_0xf70012(0x274)][_0xf70012(0x1f1)]||0xf4240;class _0x3b9673{['run'](_0x434ee4,_0x25c85c,_0x542b50){const _0x1a29ef=_0xf70012;_0x33ea3f[_0x1a29ef(0x1fa)]=_0x434ee4,_0x2167ce['reset']();const _0x17f29b=[new _0x11b8ff(_0x25c85c,!![])];for(let _0x2af36c=0x0,_0x1e9e30=_0x542b50[_0x1a29ef(0x207)];_0x2af36c<_0x1e9e30;_0x2af36c++){_0x17f29b[_0x1a29ef(0x1ee)](new _0x11b8ff(_0x542b50[_0x2af36c],![]));}_0x33ea3f[_0x1a29ef(0x282)]=_0x17f29b['length'];if(_0x33ea3f[_0x1a29ef(0x1fa)]==='difference'){const _0x60655d=_0x17f29b[0x0];let _0x1a528c=0x1;while(_0x1a528c<_0x17f29b[_0x1a29ef(0x207)]){if(_0x306b7c(_0x17f29b[_0x1a528c]['bbox'],_0x60655d[_0x1a29ef(0x22b)])!==null)_0x1a528c++;else _0x17f29b['splice'](_0x1a528c,0x1);}}if(_0x33ea3f[_0x1a29ef(0x1fa)]===_0x1a29ef(0x224))for(let _0x396863=0x0,_0x4e22e7=_0x17f29b[_0x1a29ef(0x207)];_0x396863<_0x4e22e7;_0x396863++){const _0x17e79f=_0x17f29b[_0x396863];for(let _0x75686a=_0x396863+0x1,_0x430e86=_0x17f29b[_0x1a29ef(0x207)];_0x75686a<_0x430e86;_0x75686a++){if(_0x306b7c(_0x17e79f['bbox'],_0x17f29b[_0x75686a][_0x1a29ef(0x22b)])===null)return[];}}const _0x34952f=new _0x426a4(_0x48a386[_0x1a29ef(0x1f6)]);for(let _0xcd9da9=0x0,_0x4e2b6f=_0x17f29b[_0x1a29ef(0x207)];_0xcd9da9<_0x4e2b6f;_0xcd9da9++){const _0xb5f144=_0x17f29b[_0xcd9da9][_0x1a29ef(0x24f)]();for(let _0x41c33c=0x0,_0x132550=_0xb5f144[_0x1a29ef(0x207)];_0x41c33c<_0x132550;_0x41c33c++){_0x34952f[_0x1a29ef(0x250)](_0xb5f144[_0x41c33c]);if(_0x34952f[_0x1a29ef(0x287)]>_0x586607)throw new Error(_0x1a29ef(0x23d)+_0x1a29ef(0x26c));}}const _0x3db070=new _0x3eff61(_0x34952f);let _0x24b560=_0x34952f[_0x1a29ef(0x287)],_0x265909=_0x34952f[_0x1a29ef(0x1e7)]();while(_0x265909){const _0x540f59=_0x265909['key'];if(_0x34952f[_0x1a29ef(0x287)]===_0x24b560){const _0x37396d=_0x540f59['segment'];throw new Error('Unable\x20to\x20pop()\x20'+(_0x540f59[_0x1a29ef(0x286)]?_0x1a29ef(0x203):_0x1a29ef(0x1db))+_0x1a29ef(0x254)+('['+_0x540f59['point']['x']+',\x20'+_0x540f59['point']['y']+_0x1a29ef(0x1ea)+_0x37396d['id']+'\x20')+('['+_0x37396d[_0x1a29ef(0x227)][_0x1a29ef(0x25e)]['x']+',\x20'+_0x37396d[_0x1a29ef(0x227)][_0x1a29ef(0x25e)]['y']+_0x1a29ef(0x25c))+('['+_0x37396d[_0x1a29ef(0x245)][_0x1a29ef(0x25e)]['x']+',\x20'+_0x37396d[_0x1a29ef(0x245)][_0x1a29ef(0x25e)]['y']+']\x20from\x20queue.'));}if(_0x34952f[_0x1a29ef(0x287)]>_0x586607)throw new Error(_0x1a29ef(0x258)+_0x1a29ef(0x26c));if(_0x3db070[_0x1a29ef(0x23a)][_0x1a29ef(0x207)]>_0x444156)throw new Error(_0x1a29ef(0x258)+'(too\x20many\x20sweep\x20line\x20segments).');const _0x2212f5=_0x3db070[_0x1a29ef(0x27d)](_0x540f59);for(let _0x57b7c2=0x0,_0xb9e060=_0x2212f5[_0x1a29ef(0x207)];_0x57b7c2<_0xb9e060;_0x57b7c2++){const _0x496701=_0x2212f5[_0x57b7c2];if(_0x496701['consumedBy']===undefined)_0x34952f[_0x1a29ef(0x250)](_0x496701);}_0x24b560=_0x34952f[_0x1a29ef(0x287)],_0x265909=_0x34952f[_0x1a29ef(0x1e7)]();}_0x2167ce[_0x1a29ef(0x21e)]();const _0xd0393c=_0x55da44['factory'](_0x3db070['segments']),_0x59a289=new _0x5d94f2(_0xd0393c);return _0x59a289[_0x1a29ef(0x26b)]();}}const _0x33ea3f=new _0x3b9673(),_0x2090d3=function(_0x135817){const _0x5ec79a=_0xf70012;for(var _0x14271d=arguments[_0x5ec79a(0x207)],_0x360f24=new Array(_0x14271d>0x1?_0x14271d-0x1:0x0),_0x193d14=0x1;_0x193d14<_0x14271d;_0x193d14++){_0x360f24[_0x193d14-0x1]=arguments[_0x193d14];}return _0x33ea3f['run'](_0x5ec79a(0x1e4),_0x135817,_0x360f24);},_0x57e56e=function(_0x2dfd18){const _0x47911c=_0xf70012;for(var _0x4ced86=arguments['length'],_0xc185f1=new Array(_0x4ced86>0x1?_0x4ced86-0x1:0x0),_0x5d19c3=0x1;_0x5d19c3<_0x4ced86;_0x5d19c3++){_0xc185f1[_0x5d19c3-0x1]=arguments[_0x5d19c3];}return _0x33ea3f[_0x47911c(0x204)]('intersection',_0x2dfd18,_0xc185f1);},_0x479c3b=function(_0x2898b7){const _0x3d946a=_0xf70012;for(var _0x356880=arguments[_0x3d946a(0x207)],_0x34c2cc=new Array(_0x356880>0x1?_0x356880-0x1:0x0),_0x357af6=0x1;_0x357af6<_0x356880;_0x357af6++){_0x34c2cc[_0x357af6-0x1]=arguments[_0x357af6];}return _0x33ea3f[_0x3d946a(0x204)]('xor',_0x2898b7,_0x34c2cc);},_0x2ee654=function(_0x613947){const _0x3bf640=_0xf70012;for(var _0x38890a=arguments[_0x3bf640(0x207)],_0x20e680=new Array(_0x38890a>0x1?_0x38890a-0x1:0x0),_0x3cc96f=0x1;_0x3cc96f<_0x38890a;_0x3cc96f++){_0x20e680[_0x3cc96f-0x1]=arguments[_0x3cc96f];}return _0x33ea3f[_0x3bf640(0x204)](_0x3bf640(0x1f5),_0x613947,_0x20e680);};var _0xf542cb={'union':_0x2090d3,'intersection':_0x57e56e,'xor':_0x479c3b,'difference':_0x2ee654};return _0xf542cb;}));}(polygonClipping_umd$1),polygonClipping_umd$1[_0x2dd431(0x1f2)];}var polygonClipping_umdExports=requirePolygonClipping_umd(),polygonClipping=getDefaultExportFromCjs(polygonClipping_umdExports);function intersect(_0x25b646,_0x46b86f,_0x5d4895){const _0x48467c=a1_0x59822f;_0x5d4895===void 0x0&&(_0x5d4895={});var _0x12d624=getGeom(_0x25b646),_0x12a536=getGeom(_0x46b86f),_0x55816e=polygonClipping[_0x48467c(0x224)](_0x12d624[_0x48467c(0x22a)],_0x12a536[_0x48467c(0x22a)]);if(_0x55816e[_0x48467c(0x207)]===0x0)return null;if(_0x55816e[_0x48467c(0x207)]===0x1)return polygon(_0x55816e[0x0],_0x5d4895['properties']);return multiPolygon(_0x55816e,_0x5d4895['properties']);}function coordEach(_0x1b3528,_0xe9363a,_0x4ba5bd){const _0x406d2a=a1_0x59822f;if(_0x1b3528===null)return;var _0x821507,_0x557d3f,_0x3a4b30,_0x4e573f,_0x471938,_0x80ef63,_0x25e296,_0xe6a191=0x0,_0x55528f=0x0,_0x1aaf67,_0x132c56=_0x1b3528['type'],_0x397c35=_0x132c56===_0x406d2a(0x240),_0xef241b=_0x132c56===_0x406d2a(0x22c),_0x254603=_0x397c35?_0x1b3528['features']['length']:0x1;for(var _0x377287=0x0;_0x377287<_0x254603;_0x377287++){_0x25e296=_0x397c35?_0x1b3528['features'][_0x377287][_0x406d2a(0x27c)]:_0xef241b?_0x1b3528[_0x406d2a(0x27c)]:_0x1b3528,_0x1aaf67=_0x25e296?_0x25e296[_0x406d2a(0x1fa)]===_0x406d2a(0x28c):![],_0x471938=_0x1aaf67?_0x25e296['geometries'][_0x406d2a(0x207)]:0x1;for(var _0x1a3384=0x0;_0x1a3384<_0x471938;_0x1a3384++){var _0x251396=0x0,_0x1680b3=0x0;_0x4e573f=_0x1aaf67?_0x25e296['geometries'][_0x1a3384]:_0x25e296;if(_0x4e573f===null)continue;_0x80ef63=_0x4e573f['coordinates'];var _0x27f746=_0x4e573f['type'];_0xe6a191=0x0;switch(_0x27f746){case null:break;case _0x406d2a(0x225):if(_0xe9363a(_0x80ef63,_0x55528f,_0x377287,_0x251396,_0x1680b3)===![])return![];_0x55528f++,_0x251396++;break;case'LineString':case _0x406d2a(0x261):for(_0x821507=0x0;_0x821507<_0x80ef63[_0x406d2a(0x207)];_0x821507++){if(_0xe9363a(_0x80ef63[_0x821507],_0x55528f,_0x377287,_0x251396,_0x1680b3)===![])return![];_0x55528f++;if(_0x27f746===_0x406d2a(0x261))_0x251396++;}if(_0x27f746===_0x406d2a(0x1dc))_0x251396++;break;case'Polygon':case _0x406d2a(0x200):for(_0x821507=0x0;_0x821507<_0x80ef63[_0x406d2a(0x207)];_0x821507++){for(_0x557d3f=0x0;_0x557d3f<_0x80ef63[_0x821507][_0x406d2a(0x207)]-_0xe6a191;_0x557d3f++){if(_0xe9363a(_0x80ef63[_0x821507][_0x557d3f],_0x55528f,_0x377287,_0x251396,_0x1680b3)===![])return![];_0x55528f++;}if(_0x27f746==='MultiLineString')_0x251396++;if(_0x27f746==='Polygon')_0x1680b3++;}if(_0x27f746===_0x406d2a(0x28a))_0x251396++;break;case'MultiPolygon':for(_0x821507=0x0;_0x821507<_0x80ef63[_0x406d2a(0x207)];_0x821507++){_0x1680b3=0x0;for(_0x557d3f=0x0;_0x557d3f<_0x80ef63[_0x821507][_0x406d2a(0x207)];_0x557d3f++){for(_0x3a4b30=0x0;_0x3a4b30<_0x80ef63[_0x821507][_0x557d3f][_0x406d2a(0x207)]-_0xe6a191;_0x3a4b30++){if(_0xe9363a(_0x80ef63[_0x821507][_0x557d3f][_0x3a4b30],_0x55528f,_0x377287,_0x251396,_0x1680b3)===![])return![];_0x55528f++;}_0x1680b3++;}_0x251396++;}break;case _0x406d2a(0x28c):for(_0x821507=0x0;_0x821507<_0x4e573f[_0x406d2a(0x251)][_0x406d2a(0x207)];_0x821507++)if(coordEach(_0x4e573f[_0x406d2a(0x251)][_0x821507],_0xe9363a)===![])return![];break;default:throw new Error(_0x406d2a(0x275));}}}}function bbox(_0x455fee){var _0x34a40b=[Infinity,Infinity,-Infinity,-Infinity];return coordEach(_0x455fee,function(_0x4ebbe8){_0x34a40b[0x0]>_0x4ebbe8[0x0]&&(_0x34a40b[0x0]=_0x4ebbe8[0x0]),_0x34a40b[0x1]>_0x4ebbe8[0x1]&&(_0x34a40b[0x1]=_0x4ebbe8[0x1]),_0x34a40b[0x2]<_0x4ebbe8[0x0]&&(_0x34a40b[0x2]=_0x4ebbe8[0x0]),_0x34a40b[0x3]<_0x4ebbe8[0x1]&&(_0x34a40b[0x3]=_0x4ebbe8[0x1]);}),_0x34a40b;}bbox[a1_0x59822f(0x271)]=bbox;function booleanPointOnLine(_0x4206b1,_0x1bf534,_0x595bf4){const _0x50a4cc=a1_0x59822f;_0x595bf4===void 0x0&&(_0x595bf4={});var _0x8a8a87=getCoord(_0x4206b1),_0x4372a4=getCoords(_0x1bf534);for(var _0x31b408=0x0;_0x31b408<_0x4372a4['length']-0x1;_0x31b408++){var _0x4212f3=![];_0x595bf4[_0x50a4cc(0x1fd)]&&(_0x31b408===0x0&&(_0x4212f3='start'),_0x31b408===_0x4372a4[_0x50a4cc(0x207)]-0x2&&(_0x4212f3=_0x50a4cc(0x1ff)),_0x31b408===0x0&&_0x31b408+0x1===_0x4372a4[_0x50a4cc(0x207)]-0x1&&(_0x4212f3=_0x50a4cc(0x1f4)));if(isPointOnLineSegment(_0x4372a4[_0x31b408],_0x4372a4[_0x31b408+0x1],_0x8a8a87,_0x4212f3,typeof _0x595bf4['epsilon']===_0x50a4cc(0x233)?null:_0x595bf4[_0x50a4cc(0x27a)]))return!![];}return![];}function isPointOnLineSegment(_0x317d4f,_0x5242aa,_0xf8f974,_0x159ec1,_0x9905b5){const _0x5498d2=a1_0x59822f;var _0x111fee=_0xf8f974[0x0],_0x3120a0=_0xf8f974[0x1],_0x273ca6=_0x317d4f[0x0],_0x3f04bf=_0x317d4f[0x1],_0x3e9e6e=_0x5242aa[0x0],_0x143eb0=_0x5242aa[0x1],_0x41be22=_0xf8f974[0x0]-_0x273ca6,_0x24730d=_0xf8f974[0x1]-_0x3f04bf,_0x443e2d=_0x3e9e6e-_0x273ca6,_0x4557ee=_0x143eb0-_0x3f04bf,_0x46fb45=_0x41be22*_0x4557ee-_0x24730d*_0x443e2d;if(_0x9905b5!==null){if(Math[_0x5498d2(0x260)](_0x46fb45)>_0x9905b5)return![];}else{if(_0x46fb45!==0x0)return![];}if(!_0x159ec1){if(Math[_0x5498d2(0x260)](_0x443e2d)>=Math['abs'](_0x4557ee))return _0x443e2d>0x0?_0x273ca6<=_0x111fee&&_0x111fee<=_0x3e9e6e:_0x3e9e6e<=_0x111fee&&_0x111fee<=_0x273ca6;return _0x4557ee>0x0?_0x3f04bf<=_0x3120a0&&_0x3120a0<=_0x143eb0:_0x143eb0<=_0x3120a0&&_0x3120a0<=_0x3f04bf;}else{if(_0x159ec1===_0x5498d2(0x21b)){if(Math[_0x5498d2(0x260)](_0x443e2d)>=Math[_0x5498d2(0x260)](_0x4557ee))return _0x443e2d>0x0?_0x273ca6<_0x111fee&&_0x111fee<=_0x3e9e6e:_0x3e9e6e<=_0x111fee&&_0x111fee<_0x273ca6;return _0x4557ee>0x0?_0x3f04bf<_0x3120a0&&_0x3120a0<=_0x143eb0:_0x143eb0<=_0x3120a0&&_0x3120a0<_0x3f04bf;}else{if(_0x159ec1===_0x5498d2(0x1ff)){if(Math[_0x5498d2(0x260)](_0x443e2d)>=Math[_0x5498d2(0x260)](_0x4557ee))return _0x443e2d>0x0?_0x273ca6<=_0x111fee&&_0x111fee<_0x3e9e6e:_0x3e9e6e<_0x111fee&&_0x111fee<=_0x273ca6;return _0x4557ee>0x0?_0x3f04bf<=_0x3120a0&&_0x3120a0<_0x143eb0:_0x143eb0<_0x3120a0&&_0x3120a0<=_0x3f04bf;}else{if(_0x159ec1===_0x5498d2(0x1f4)){if(Math[_0x5498d2(0x260)](_0x443e2d)>=Math[_0x5498d2(0x260)](_0x4557ee))return _0x443e2d>0x0?_0x273ca6<_0x111fee&&_0x111fee<_0x3e9e6e:_0x3e9e6e<_0x111fee&&_0x111fee<_0x273ca6;return _0x4557ee>0x0?_0x3f04bf<_0x3120a0&&_0x3120a0<_0x143eb0:_0x143eb0<_0x3120a0&&_0x3120a0<_0x3f04bf;}}}}return![];}function booleanPointInPolygon(_0x4fdd70,_0x25cf1a,_0x1a8045){const _0x468d4a=a1_0x59822f;_0x1a8045===void 0x0&&(_0x1a8045={});if(!_0x4fdd70)throw new Error(_0x468d4a(0x216));if(!_0x25cf1a)throw new Error(_0x468d4a(0x211));var _0x31e9a2=getCoord(_0x4fdd70),_0x3c903c=getGeom(_0x25cf1a),_0x4f6d56=_0x3c903c[_0x468d4a(0x1fa)],_0x3712db=_0x25cf1a[_0x468d4a(0x22b)],_0x17afbf=_0x3c903c[_0x468d4a(0x22a)];if(_0x3712db&&inBBox(_0x31e9a2,_0x3712db)===![])return![];_0x4f6d56===_0x468d4a(0x28a)&&(_0x17afbf=[_0x17afbf]);var _0x3072eb=![];for(var _0x1c912a=0x0;_0x1c912a<_0x17afbf['length']&&!_0x3072eb;_0x1c912a++){if(inRing(_0x31e9a2,_0x17afbf[_0x1c912a][0x0],_0x1a8045['ignoreBoundary'])){var _0xe5cf17=![],_0x5b614c=0x1;while(_0x5b614c<_0x17afbf[_0x1c912a][_0x468d4a(0x207)]&&!_0xe5cf17){inRing(_0x31e9a2,_0x17afbf[_0x1c912a][_0x5b614c],!_0x1a8045[_0x468d4a(0x263)])&&(_0xe5cf17=!![]),_0x5b614c++;}!_0xe5cf17&&(_0x3072eb=!![]);}}return _0x3072eb;}function inRing(_0x378794,_0x45d69e,_0x24cdd9){const _0xe79b6=a1_0x59822f;var _0x2dcb7a=![];_0x45d69e[0x0][0x0]===_0x45d69e[_0x45d69e[_0xe79b6(0x207)]-0x1][0x0]&&_0x45d69e[0x0][0x1]===_0x45d69e[_0x45d69e['length']-0x1][0x1]&&(_0x45d69e=_0x45d69e['slice'](0x0,_0x45d69e[_0xe79b6(0x207)]-0x1));for(var _0xdc338b=0x0,_0x44883e=_0x45d69e[_0xe79b6(0x207)]-0x1;_0xdc338b<_0x45d69e[_0xe79b6(0x207)];_0x44883e=_0xdc338b++){var _0x1c5865=_0x45d69e[_0xdc338b][0x0],_0x2ab1cd=_0x45d69e[_0xdc338b][0x1],_0x56fc71=_0x45d69e[_0x44883e][0x0],_0x53e77b=_0x45d69e[_0x44883e][0x1],_0x273287=_0x378794[0x1]*(_0x1c5865-_0x56fc71)+_0x2ab1cd*(_0x56fc71-_0x378794[0x0])+_0x53e77b*(_0x378794[0x0]-_0x1c5865)===0x0&&(_0x1c5865-_0x378794[0x0])*(_0x56fc71-_0x378794[0x0])<=0x0&&(_0x2ab1cd-_0x378794[0x1])*(_0x53e77b-_0x378794[0x1])<=0x0;if(_0x273287)return!_0x24cdd9;var _0x7e4cc2=_0x2ab1cd>_0x378794[0x1]!==_0x53e77b>_0x378794[0x1]&&_0x378794[0x0]<(_0x56fc71-_0x1c5865)*(_0x378794[0x1]-_0x2ab1cd)/(_0x53e77b-_0x2ab1cd)+_0x1c5865;_0x7e4cc2&&(_0x2dcb7a=!_0x2dcb7a);}return _0x2dcb7a;}function inBBox(_0x43e220,_0x46c199){return _0x46c199[0x0]<=_0x43e220[0x0]&&_0x46c199[0x1]<=_0x43e220[0x1]&&_0x46c199[0x2]>=_0x43e220[0x0]&&_0x46c199[0x3]>=_0x43e220[0x1];}function booleanWithin(_0x2e5019,_0x17f701){const _0x5ddfee=a1_0x59822f;var _0xa1d99a=getGeom(_0x2e5019),_0x31ccdd=getGeom(_0x17f701),_0xb0eb49=_0xa1d99a[_0x5ddfee(0x1fa)],_0x171955=_0x31ccdd['type'];switch(_0xb0eb49){case _0x5ddfee(0x225):switch(_0x171955){case _0x5ddfee(0x261):return isPointInMultiPoint(_0xa1d99a,_0x31ccdd);case _0x5ddfee(0x1dc):return booleanPointOnLine(_0xa1d99a,_0x31ccdd,{'ignoreEndVertices':!![]});case _0x5ddfee(0x28a):case _0x5ddfee(0x295):return booleanPointInPolygon(_0xa1d99a,_0x31ccdd,{'ignoreBoundary':!![]});default:throw new Error(_0x5ddfee(0x20c)+_0x171955+_0x5ddfee(0x28d));}case'MultiPoint':switch(_0x171955){case _0x5ddfee(0x261):return isMultiPointInMultiPoint(_0xa1d99a,_0x31ccdd);case _0x5ddfee(0x1dc):return isMultiPointOnLine(_0xa1d99a,_0x31ccdd);case'Polygon':case _0x5ddfee(0x295):return isMultiPointInPoly(_0xa1d99a,_0x31ccdd);default:throw new Error(_0x5ddfee(0x20c)+_0x171955+_0x5ddfee(0x28d));}case _0x5ddfee(0x1dc):switch(_0x171955){case'LineString':return isLineOnLine(_0xa1d99a,_0x31ccdd);case'Polygon':case'MultiPolygon':return isLineInPoly(_0xa1d99a,_0x31ccdd);default:throw new Error(_0x5ddfee(0x20c)+_0x171955+_0x5ddfee(0x28d));}case'Polygon':switch(_0x171955){case _0x5ddfee(0x28a):case _0x5ddfee(0x295):return isPolyInPoly(_0xa1d99a,_0x31ccdd);default:throw new Error('feature2\x20'+_0x171955+'\x20geometry\x20not\x20supported');}default:throw new Error(_0x5ddfee(0x277)+_0xb0eb49+_0x5ddfee(0x28d));}}function isPointInMultiPoint(_0x583d87,_0x2ca08e){const _0x10a9a9=a1_0x59822f;var _0x3e5172,_0x1388dc=![];for(_0x3e5172=0x0;_0x3e5172<_0x2ca08e[_0x10a9a9(0x22a)]['length'];_0x3e5172++){if(compareCoords(_0x2ca08e[_0x10a9a9(0x22a)][_0x3e5172],_0x583d87['coordinates'])){_0x1388dc=!![];break;}}return _0x1388dc;}function isMultiPointInMultiPoint(_0x171d66,_0x894479){const _0x48e26c=a1_0x59822f;for(var _0x412cb6=0x0;_0x412cb6<_0x171d66['coordinates'][_0x48e26c(0x207)];_0x412cb6++){var _0x4d6019=![];for(var _0x25ee0c=0x0;_0x25ee0c<_0x894479['coordinates'][_0x48e26c(0x207)];_0x25ee0c++){compareCoords(_0x171d66[_0x48e26c(0x22a)][_0x412cb6],_0x894479[_0x48e26c(0x22a)][_0x25ee0c])&&(_0x4d6019=!![]);}if(!_0x4d6019)return![];}return!![];}function isMultiPointOnLine(_0xc0e84c,_0x4363f0){const _0xa8c53c=a1_0x59822f;var _0x102f79=![];for(var _0x21b985=0x0;_0x21b985<_0xc0e84c[_0xa8c53c(0x22a)][_0xa8c53c(0x207)];_0x21b985++){if(!booleanPointOnLine(_0xc0e84c['coordinates'][_0x21b985],_0x4363f0))return![];!_0x102f79&&(_0x102f79=booleanPointOnLine(_0xc0e84c[_0xa8c53c(0x22a)][_0x21b985],_0x4363f0,{'ignoreEndVertices':!![]}));}return _0x102f79;}function isMultiPointInPoly(_0x2cb819,_0x3a5b9a){const _0x1f7700=a1_0x59822f;var _0x4e05b4=!![],_0x57fe67=![];for(var _0x221378=0x0;_0x221378<_0x2cb819['coordinates'][_0x1f7700(0x207)];_0x221378++){_0x57fe67=booleanPointInPolygon(_0x2cb819[_0x1f7700(0x22a)][0x1],_0x3a5b9a);if(!_0x57fe67){_0x4e05b4=![];break;}{_0x57fe67=booleanPointInPolygon(_0x2cb819[_0x1f7700(0x22a)][0x1],_0x3a5b9a,{'ignoreBoundary':!![]});}}return _0x4e05b4&&_0x57fe67;}function isLineOnLine(_0x172518,_0xce80c6){const _0x18f00a=a1_0x59822f;for(var _0x3b8f53=0x0;_0x3b8f53<_0x172518[_0x18f00a(0x22a)][_0x18f00a(0x207)];_0x3b8f53++){if(!booleanPointOnLine(_0x172518[_0x18f00a(0x22a)][_0x3b8f53],_0xce80c6))return![];}return!![];}function isLineInPoly(_0x2f8b4a,_0x16f052){const _0x311631=a1_0x59822f;var _0x2eda21=bbox(_0x16f052),_0xec805b=bbox(_0x2f8b4a);if(!doBBoxOverlap(_0x2eda21,_0xec805b))return![];var _0x2ae28e=![];for(var _0x27435b=0x0;_0x27435b<_0x2f8b4a[_0x311631(0x22a)][_0x311631(0x207)]-0x1;_0x27435b++){if(!booleanPointInPolygon(_0x2f8b4a[_0x311631(0x22a)][_0x27435b],_0x16f052))return![];!_0x2ae28e&&(_0x2ae28e=booleanPointInPolygon(_0x2f8b4a[_0x311631(0x22a)][_0x27435b],_0x16f052,{'ignoreBoundary':!![]}));if(!_0x2ae28e){var _0x5e5ae4=getMidpoint(_0x2f8b4a[_0x311631(0x22a)][_0x27435b],_0x2f8b4a['coordinates'][_0x27435b+0x1]);_0x2ae28e=booleanPointInPolygon(_0x5e5ae4,_0x16f052,{'ignoreBoundary':!![]});}}return _0x2ae28e;}function isPolyInPoly(_0x1e3b38,_0x231b2a){const _0x4ff2c2=a1_0x59822f;var _0x505eab=bbox(_0x1e3b38),_0x370e12=bbox(_0x231b2a);if(!doBBoxOverlap(_0x370e12,_0x505eab))return![];for(var _0x75b221=0x0;_0x75b221<_0x1e3b38['coordinates'][0x0]['length'];_0x75b221++){if(!booleanPointInPolygon(_0x1e3b38[_0x4ff2c2(0x22a)][0x0][_0x75b221],_0x231b2a))return![];}return!![];}function doBBoxOverlap(_0x5759c2,_0x31ac8d){if(_0x5759c2[0x0]>_0x31ac8d[0x0])return![];if(_0x5759c2[0x2]<_0x31ac8d[0x2])return![];if(_0x5759c2[0x1]>_0x31ac8d[0x1])return![];if(_0x5759c2[0x3]<_0x31ac8d[0x3])return![];return!![];}function compareCoords(_0x1e5e35,_0x170ebc){return _0x1e5e35[0x0]===_0x170ebc[0x0]&&_0x1e5e35[0x1]===_0x170ebc[0x1];}function a1_0x22c4(_0x55f450,_0x58dcf0){const _0x12d57b=a1_0x12d5();return a1_0x22c4=function(_0x22c47f,_0x2914cb){_0x22c47f=_0x22c47f-0x1d7;let _0x919550=_0x12d57b[_0x22c47f];return _0x919550;},a1_0x22c4(_0x55f450,_0x58dcf0);}function getMidpoint(_0x650398,_0x35340c){return[(_0x650398[0x0]+_0x35340c[0x0])/0x2,(_0x650398[0x1]+_0x35340c[0x1])/0x2];}self['addEventListener'](a1_0x59822f(0x291),_0x1d8296=>{const _0x4c5e9f=a1_0x59822f,{isoChunk:_0x18e876,gansuFeatures:_0x5bd3f3}=_0x1d8296[_0x4c5e9f(0x1f8)],_0x515ba5=[];for(const _0x3cb208 of _0x18e876){if(!_0x3cb208?.[_0x4c5e9f(0x27c)])continue;if(!(_0x4c5e9f(0x22a)in _0x3cb208[_0x4c5e9f(0x27c)])||_0x3cb208[_0x4c5e9f(0x27c)][_0x4c5e9f(0x22a)]['length']===0x0)continue;for(const _0x20d1db of _0x5bd3f3){const _0x336fb2=[];if(_0x3cb208[_0x4c5e9f(0x27c)][_0x4c5e9f(0x1fa)]===_0x4c5e9f(0x295))for(const _0x30ccaf of _0x3cb208[_0x4c5e9f(0x27c)][_0x4c5e9f(0x22a)]){const _0x74d699={'type':_0x4c5e9f(0x22c),'geometry':{'type':_0x4c5e9f(0x28a),'coordinates':_0x30ccaf},'properties':_0x3cb208[_0x4c5e9f(0x272)]};_0x336fb2[_0x4c5e9f(0x1ee)](_0x74d699);}else _0x336fb2[_0x4c5e9f(0x1ee)](_0x3cb208);for(const _0xdcd332 of _0x336fb2){let _0x44c9d4=null;try{booleanWithin(_0xdcd332,_0x20d1db)?_0x44c9d4=_0xdcd332:_0x44c9d4=intersect(_0x20d1db,_0xdcd332);}catch(_0x5224c9){console[_0x4c5e9f(0x27f)](_0x5224c9);}_0x44c9d4&&(_0x44c9d4[_0x4c5e9f(0x272)]=_0xdcd332['properties'],_0x44c9d4['id']=Math[_0x4c5e9f(0x24e)]()*0x5f5e100,_0x515ba5[_0x4c5e9f(0x1ee)](_0x44c9d4));}let _0x49e1d7=null;try{booleanWithin(_0x3cb208,_0x20d1db)?_0x49e1d7=_0x3cb208:_0x49e1d7=intersect(_0x20d1db,_0x3cb208);}catch{}_0x49e1d7&&(_0x49e1d7[_0x4c5e9f(0x272)]=_0x3cb208[_0x4c5e9f(0x272)],_0x49e1d7['id']=Math[_0x4c5e9f(0x24e)]()*0x5f5e100,_0x515ba5[_0x4c5e9f(0x1ee)](_0x49e1d7));}}self[_0x4c5e9f(0x278)]({'features':_0x515ba5});});
|