chunk-TSN7NGNU.js 1.0 MB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503
  1. // node_modules/@arcgis/core/chunks/geometryEngineBase.js
  2. function t(t2, i2) {
  3. for (var s2 = 0; s2 < i2.length; s2++) {
  4. const n2 = i2[s2];
  5. if (typeof n2 != "string" && !Array.isArray(n2)) {
  6. for (const i3 in n2)
  7. if (i3 !== "default" && !(i3 in t2)) {
  8. const s3 = Object.getOwnPropertyDescriptor(n2, i3);
  9. s3 && Object.defineProperty(t2, i3, s3.get ? s3 : { enumerable: true, get: () => n2[i3] });
  10. }
  11. }
  12. }
  13. return Object.freeze(Object.defineProperty(t2, Symbol.toStringTag, { value: "Module" }));
  14. }
  15. var i = { exports: {} };
  16. !function(t2, i2) {
  17. function s2() {
  18. function t3(t4) {
  19. if (typeof t4 == "number")
  20. return V.Uc.ah(t4);
  21. if (t4 == null)
  22. return null;
  23. if (st[t4] != null)
  24. return V.Uc.ah(st[t4]);
  25. throw Error("Unrecognised Unit Type");
  26. }
  27. function i3(t4) {
  28. if (typeof t4 == "number")
  29. return V.Uc.ah(t4);
  30. if (t4 == null)
  31. return null;
  32. if (nt[t4] != null)
  33. return V.Uc.ah(nt[t4]);
  34. throw Error("Unrecognised Unit Type");
  35. }
  36. function s3(t4) {
  37. if (t4)
  38. switch (t4) {
  39. case "loxodrome":
  40. return 1;
  41. case "great-elliptic":
  42. return 2;
  43. case "normal-section":
  44. return 3;
  45. case "shape-preserving":
  46. return 4;
  47. }
  48. return 0;
  49. }
  50. function n3(t4, i4, s4, n4) {
  51. if (s4 == null || s4.B())
  52. return null;
  53. switch (s4.K()) {
  54. case V.sn.Point:
  55. return t4.exportPoint(i4, s4, n4);
  56. case V.sn.Polygon:
  57. return t4.exportPolygon(i4, s4, n4);
  58. case V.sn.Polyline:
  59. return t4.exportPolyline(i4, s4, n4);
  60. case V.sn.MultiPoint:
  61. return t4.exportMultipoint(i4, s4, n4);
  62. case V.sn.Envelope:
  63. return t4.exportExtent(i4, s4, n4);
  64. }
  65. return null;
  66. }
  67. function h(t4, i4, s4, n4) {
  68. if (s4.K() !== V.sn.Point)
  69. throw Error("Geometry not Point");
  70. return t4.exportPoint(i4, s4, n4);
  71. }
  72. function r(t4, i4, s4) {
  73. return t4.convertToGEGeometry(i4, s4);
  74. }
  75. function e(t4) {
  76. var i4 = t4.wkid;
  77. t4 = t4.wkt;
  78. var s4 = ht.get(i4 || t4);
  79. return s4 == null && (i4 !== -1 && i4 != null ? (s4 = V.Gg.create(i4), ht.set(i4, s4)) : t4 && (s4 = V.Gg.kP(t4), ht.set(t4, s4))), s4;
  80. }
  81. function o(t4) {
  82. var i4;
  83. if (t4 == null)
  84. return null;
  85. var s4 = e(t4);
  86. return t4 = s4.Id(), s4 = s4.Ln(), (i4 = {}).tolerance = s4, i4.unitType = t4 == null ? -1 : t4.od, i4.unitID = t4 == null ? -1 : t4.Fc(), i4.unitBaseFactor = t4 == null ? 0 : t4.ci, i4.unitSquareDerivative = t4 == null ? 0 : V.Uc.VF(t4).Fc(), i4;
  87. }
  88. function a(t4, i4, s4, h2) {
  89. return s4 == null ? null : (s4 = V.bc.clip(r(t4, rt, s4), r(t4, rt, h2), e(i4)), n3(t4, rt, s4, i4));
  90. }
  91. function u(t4, i4, s4, h2) {
  92. s4 = V.bc.fl(r(t4, rt, s4), r(t4, rt, h2), e(i4)), h2 = [];
  93. for (var o2 = 0; o2 < s4.length; o2++)
  94. h2.push(n3(t4, rt, s4[o2], i4));
  95. return h2;
  96. }
  97. function f(t4, i4, s4, n4) {
  98. if (s4 == null || n4 == null)
  99. throw Error("Illegal Argument Exception");
  100. return V.bc.contains(r(t4, rt, s4), r(t4, rt, n4), e(i4));
  101. }
  102. function c(t4, i4, s4, n4) {
  103. if (s4 == null || n4 == null)
  104. throw Error("Illegal Argument Exception");
  105. return V.bc.vP(r(t4, rt, s4), r(t4, rt, n4), e(i4));
  106. }
  107. function l(i4, s4, n4, h2, o2) {
  108. if (n4 == null || h2 == null)
  109. throw Error("Illegal Argument Exception");
  110. return V.bc.ub(r(i4, rt, n4), r(i4, rt, h2), e(s4), t3(o2));
  111. }
  112. function p(t4, i4, s4, n4) {
  113. return !(s4 == null && n4 != null || n4 == null && s4 != null) && V.bc.Nb(r(t4, rt, s4), r(t4, rt, n4), e(i4));
  114. }
  115. function v(t4, i4, s4, n4) {
  116. if (s4 == null || n4 == null)
  117. throw Error("Illegal Argument Exception");
  118. return V.bc.LS(r(t4, rt, s4), r(t4, rt, n4), e(i4));
  119. }
  120. function y(t4, i4, s4, n4) {
  121. if (s4 == null || n4 == null)
  122. throw Error("Illegal Argument Exception");
  123. return V.bc.touches(r(t4, rt, s4), r(t4, rt, n4), e(i4));
  124. }
  125. function b(t4, i4, s4, n4) {
  126. if (s4 == null || n4 == null)
  127. throw Error("Illegal Argument Exception");
  128. return V.bc.iY(r(t4, rt, s4), r(t4, rt, n4), e(i4));
  129. }
  130. function d(t4, i4, s4, n4) {
  131. if (s4 == null || n4 == null)
  132. throw Error("Illegal Argument Exception");
  133. return V.bc.NP(r(t4, rt, s4), r(t4, rt, n4), e(i4));
  134. }
  135. function g(t4, i4, s4, n4) {
  136. if (s4 == null || n4 == null)
  137. throw Error("Illegal Argument Exception");
  138. return V.bc.vU(r(t4, rt, s4), r(t4, rt, n4), e(i4));
  139. }
  140. function w(t4, i4, s4, n4, h2) {
  141. if (s4 == null || n4 == null)
  142. throw Error("Illegal Argument Exception");
  143. return V.bc.sB(r(t4, rt, s4), r(t4, rt, n4), e(i4), h2);
  144. }
  145. function x(t4, i4, s4) {
  146. if (s4 == null)
  147. throw Error("Illegal Argument Exception");
  148. return V.bc.WS(r(t4, rt, s4), e(i4));
  149. }
  150. function m(t4, i4, s4) {
  151. if (s4 == null)
  152. throw Error("Illegal Argument Exception");
  153. return s4 = V.bc.ZB(r(t4, rt, s4), e(i4)), n3(t4, rt, s4, i4);
  154. }
  155. function j(t4, i4, s4, h2) {
  156. if (h2 === void 0 && (h2 = false), s4 == null)
  157. throw Error("Illegal Argument Exception");
  158. if (Array.isArray(s4)) {
  159. var o2 = h2, a2 = [];
  160. for (h2 = 0; h2 < s4.length; h2++)
  161. a2.push(r(t4, rt, s4[h2]));
  162. for (s4 = V.bc.dP(a2, o2), o2 = Array(s4.length), h2 = 0; h2 < s4.length; h2++)
  163. o2[h2] = n3(t4, rt, s4[h2], i4);
  164. return o2;
  165. }
  166. return h2 = V.bc.cP(r(t4, rt, s4), e(i4)), n3(t4, rt, h2, i4);
  167. }
  168. function k(t4, i4, s4, h2) {
  169. if (s4 == null || h2 == null)
  170. throw Error("Illegal Argument Exception");
  171. if (Array.isArray(s4)) {
  172. for (var o2 = [], a2 = 0; a2 < s4.length; a2++)
  173. o2.push(r(t4, rt, s4[a2]));
  174. for (s4 = V.bc.KP(o2, r(t4, rt, h2), e(i4)), h2 = Array(s4.length), a2 = 0; a2 < s4.length; a2++)
  175. h2[a2] = n3(t4, rt, s4[a2], i4);
  176. return h2;
  177. }
  178. return a2 = V.bc.km(r(t4, rt, s4), r(t4, rt, h2), e(i4)), n3(t4, rt, a2, i4);
  179. }
  180. function M(t4, i4, s4, h2) {
  181. if (s4 == null || h2 == null)
  182. throw Error("Illegal Argument Exception");
  183. if (Array.isArray(s4)) {
  184. for (var o2 = [], a2 = 0; a2 < s4.length; a2++)
  185. o2.push(r(t4, rt, s4[a2]));
  186. for (s4 = V.bc.NX(o2, r(t4, rt, h2), e(i4)), h2 = Array(s4.length), a2 = 0; a2 < s4.length; a2++)
  187. h2[a2] = n3(t4, rt, s4[a2], i4);
  188. return h2;
  189. }
  190. return a2 = V.bc.fp(r(t4, rt, s4), r(t4, rt, h2), e(i4)), n3(t4, rt, a2, i4);
  191. }
  192. function z(t4, i4, s4, h2) {
  193. if (s4 == null || h2 == null)
  194. throw Error("Illegal Argument Exception");
  195. if (Array.isArray(s4)) {
  196. for (var o2 = [], a2 = 0; a2 < s4.length; a2++)
  197. o2.push(r(t4, rt, s4[a2]));
  198. for (s4 = V.bc.JS(o2, r(t4, rt, h2), e(i4)), h2 = Array(s4.length), a2 = 0; a2 < s4.length; a2++)
  199. h2[a2] = n3(t4, rt, s4[a2], i4);
  200. return h2;
  201. }
  202. return a2 = V.bc.Fa(r(t4, rt, s4), r(t4, rt, h2), e(i4)), n3(t4, rt, a2, i4);
  203. }
  204. function A(t4, i4, s4, h2) {
  205. if (s4 == null)
  206. return null;
  207. var o2 = [];
  208. if (Array.isArray(s4)) {
  209. if (s4.length === 0)
  210. return null;
  211. for (h2 = 0; h2 < s4.length; h2++)
  212. o2.push(r(t4, rt, s4[h2]));
  213. } else
  214. o2.push(r(t4, rt, s4)), h2 != null && o2.push(r(t4, rt, h2));
  215. return n3(t4, rt, V.bc.bY(o2, e(i4)), i4);
  216. }
  217. function N(i4, s4, h2, o2, a2, u2, f2, c2) {
  218. var l2 = 0;
  219. if (u2 != null)
  220. switch (u2) {
  221. case "round":
  222. l2 = 0;
  223. break;
  224. case "bevel":
  225. l2 = 1;
  226. break;
  227. case "miter":
  228. l2 = 2;
  229. break;
  230. case "square":
  231. l2 = 3;
  232. }
  233. if (Array.isArray(h2)) {
  234. if (h2 == null)
  235. i4 = null;
  236. else if (h2.length === 0)
  237. i4 = [];
  238. else {
  239. var p2 = [];
  240. for (u2 = 0; u2 < h2.length; u2++)
  241. p2.push(r(i4, rt, h2[u2]));
  242. for (h2 = V.bc.tU(p2, e(s4), o2, l2, f2, c2, t3(a2)), o2 = Array(h2.length), u2 = 0; u2 < h2.length; u2++)
  243. o2[u2] = n3(i4, rt, h2[u2], s4);
  244. i4 = o2;
  245. }
  246. return i4;
  247. }
  248. return h2 = V.bc.offset(r(i4, rt, h2), e(s4), o2, l2, f2, c2, t3(a2)), n3(i4, rt, h2, s4);
  249. }
  250. function I(i4, s4, h2, o2, a2, u2) {
  251. if (u2 === void 0 && (u2 = false), Array.isArray(h2)) {
  252. if (!Array.isArray(o2)) {
  253. for (var f2 = [], c2 = 0; c2 < h2.length; c2++)
  254. f2.push(o2);
  255. o2 = f2;
  256. }
  257. if (o2.length != h2.length) {
  258. if (o2.length == 0)
  259. throw Error("Illegal Argument Exception");
  260. f2 = [];
  261. var l2 = 0;
  262. for (c2 = 0; c2 < h2.length; c2++)
  263. o2[c2] === void 0 ? f2.push(l2) : (f2.push(o2[c2]), l2 = o2[c2]);
  264. o2 = f2;
  265. }
  266. return C(i4, s4, h2, o2, a2, false, u2, "geodesic", NaN);
  267. }
  268. return h2 = V.bc.buffer(r(i4, rt, h2), e(s4), o2, t3(a2), false, 0, NaN), n3(i4, rt, h2, s4);
  269. }
  270. function P(i4, h2, o2, a2, u2, f2, c2, l2) {
  271. if (Array.isArray(o2)) {
  272. if (!Array.isArray(a2)) {
  273. for (var p2 = [], v2 = 0; v2 < o2.length; v2++)
  274. p2.push(a2);
  275. a2 = p2;
  276. }
  277. if (a2.length !== o2.length) {
  278. if (a2.length === 0)
  279. throw Error("Illegal Argument Exception");
  280. p2 = [];
  281. var y2 = 0;
  282. for (v2 = 0; v2 < o2.length; v2++)
  283. a2[v2] === void 0 ? p2.push(y2) : (p2.push(a2[v2]), y2 = a2[v2]);
  284. a2 = p2;
  285. }
  286. return C(i4, h2, o2, a2, u2, true, f2, c2, l2);
  287. }
  288. return c2 === void 0 && (c2 = NaN), o2 = V.bc.buffer(r(i4, rt, o2), e(h2), a2, t3(u2), true, s3(f2), c2), n3(i4, rt, o2, h2);
  289. }
  290. function C(i4, h2, o2, a2, u2, f2, c2, l2, p2) {
  291. if (p2 === void 0 && (p2 = NaN), o2 == null)
  292. return null;
  293. if (o2.length === 0)
  294. return [];
  295. for (var v2 = [], y2 = 0; y2 < o2.length; y2++)
  296. v2.push(r(i4, rt, o2[y2]));
  297. for (o2 = V.bc.GN(v2, e(h2), a2, t3(u2), f2, c2, s3(l2), p2), a2 = Array(o2.length), y2 = 0; y2 < o2.length; y2++)
  298. a2[y2] = n3(i4, rt, o2[y2], h2);
  299. return a2;
  300. }
  301. function B(t4, i4, s4, n4, e2) {
  302. var o2;
  303. return e2 === void 0 && (e2 = true), s4 = V.bc.iz(r(t4, rt, s4), r(t4, rt, n4), e2), (o2 = {}).coordinate = h(t4, rt, s4.az(), i4), o2.distance = s4.cz(), o2.isRightSide = s4.Nz(), o2.vertexIndex = s4.Va(), o2.isEmpty = s4.B(), o2;
  304. }
  305. function D(t4, i4, s4, n4) {
  306. var e2;
  307. return s4 = V.bc.jz(r(t4, rt, s4), r(t4, rt, n4)), (e2 = {}).coordinate = h(t4, rt, s4.az(), i4), e2.distance = s4.cz(), e2.isRightSide = s4.Nz(), e2.vertexIndex = s4.Va(), e2.isEmpty = s4.B(), e2;
  308. }
  309. function q(t4, i4, s4, n4, e2, o2) {
  310. var a2;
  311. for (s4 = V.bc.kz(r(t4, rt, s4), r(t4, rt, n4), e2, o2), n4 = [], e2 = 0; e2 < s4.length; e2++)
  312. s4[e2].B() === false && n4.push(((a2 = {}).coordinate = h(t4, rt, s4[e2].az(), i4), a2.distance = s4[e2].cz(), a2.isRightSide = s4[e2].Nz(), a2.vertexIndex = s4[e2].Va(), a2.isEmpty = s4[e2].B(), a2));
  313. return n4;
  314. }
  315. function G(i4, s4, h2, o2, a2, u2) {
  316. return h2 = V.bc.KQ(r(i4, rt, h2), e(s4), o2, a2, t3(u2)), n3(i4, rt, h2, s4);
  317. }
  318. function F(i4, s4, h2, o2, a2) {
  319. return h2 = V.bc.Sr(r(i4, rt, h2), e(s4), o2, t3(a2)), n3(i4, rt, h2, s4);
  320. }
  321. function E(i4, s4, h2, o2, a2, u2) {
  322. return u2 === void 0 && (u2 = 0), h2 = V.bc.Ry(r(i4, rt, h2), e(s4), o2, t3(a2), u2), n3(i4, rt, h2, s4);
  323. }
  324. function T(t4, s4, n4, h2) {
  325. if (n4 == null)
  326. throw Error("Illegal Argument Exception");
  327. return V.bc.BU(r(t4, rt, n4), e(s4), i3(h2));
  328. }
  329. function S(i4, s4, n4, h2) {
  330. if (n4 == null)
  331. throw Error("Illegal Argument Exception");
  332. return V.bc.CU(r(i4, rt, n4), e(s4), t3(h2));
  333. }
  334. function O(t4, n4, h2, o2, a2) {
  335. if (h2 == null)
  336. throw Error("Illegal Argument Exception");
  337. return V.bc.QQ(r(t4, rt, h2), e(n4), i3(o2), s3(a2));
  338. }
  339. function H(i4, n4, h2, o2, a2) {
  340. if (h2 == null)
  341. throw Error("Illegal Argument Exception");
  342. return V.bc.TQ(r(i4, rt, h2), e(n4), t3(o2), s3(a2));
  343. }
  344. function J(t4) {
  345. V.HL.bind(t4);
  346. }
  347. function R(t4, i4, s4, n4, h2) {
  348. var o2 = null, a2 = null;
  349. if (n4) {
  350. if (!h2)
  351. throw V.i.O("AOI missing Spatial Reference");
  352. o2 = r(t4, rt, n4), a2 = e(h2).hh();
  353. }
  354. return (t4 = V.iu.QR(e(i4).hh(), e(s4).hh(), o2, a2)) !== null ? t4 : null;
  355. }
  356. function L(t4, i4, s4, n4, h2) {
  357. var o2 = null, a2 = null;
  358. if (n4) {
  359. if (!h2)
  360. throw V.i.O("AOI missing Spatial Reference");
  361. o2 = r(t4, rt, n4), a2 = e(h2).hh();
  362. }
  363. return V.iu.RR(e(i4).hh(), e(s4).hh(), o2, a2);
  364. }
  365. function K(t4, i4, s4, n4, h2, r2) {
  366. if (h2 === void 0 && (h2 = null), r2 === void 0 && (r2 = null), r2) {
  367. var o2 = new V.sC();
  368. o2.Xu = r2.densificationStep, o2.Lr = r2.centralMeridianOfOutputGCS, r2.clipWithInputHorizon && o2.HW(r2.clipWithInputHorizon), r2.clipWithOutputHorizon && o2.IW(r2.clipWithOutputHorizon);
  369. }
  370. if (this.CY === false)
  371. throw Error("Projection Engine must be enabled using enableProjection");
  372. if (i4.length === 0)
  373. return [];
  374. if (h2) {
  375. if (!(r2 = h2.getCachedGeTransformation(s4, n4)))
  376. t: {
  377. if (r2 = h2, h2 = null, r2) {
  378. var a2 = r2.getGTListEntry();
  379. if (a2 !== null) {
  380. h2 = new V.qC(null);
  381. for (var u2 = 0, f2 = a2.steps; u2 < f2.length; u2++) {
  382. a2 = f2[u2];
  383. var c2 = new V.Cx(a2.geogtran);
  384. a2.isInverse && c2.Lz(), h2.add(c2);
  385. }
  386. o2 = V.xr.Pr(e(s4).hh(), e(n4).hh(), h2, o2), r2.assignCachedGe(s4, n4, o2), r2 = o2;
  387. break t;
  388. }
  389. }
  390. if (h2 === null && r2 && r2.steps && 0 < r2.steps.length) {
  391. for (h2 = new V.qC(null), u2 = 0, f2 = r2.steps; u2 < f2.length; u2++)
  392. (a2 = f2[u2]).wkid != -1 && a2.wkid != null ? h2.add(V.Cx.create(a2.wkid, a2.isInverse)) : h2.add(V.Cx.oP(a2.wkt, a2.isInverse));
  393. o2 = V.xr.Pr(e(s4).hh(), e(n4).hh(), h2, o2), r2.assignCachedGe(s4, n4, o2), r2 = o2;
  394. } else
  395. r2 = V.xr.Pr(e(s4).hh(), e(n4).hh(), h2, o2);
  396. }
  397. for (s4 = [], h2 = 0; h2 < i4.length; h2++)
  398. o2 = i4[h2], s4.push(U(t4, o2, n4, r2));
  399. } else
  400. for (r2 = V.xr.Pr(e(s4).hh(), e(n4).hh(), null), s4 = [], h2 = 0; h2 < i4.length; h2++)
  401. o2 = i4[h2], s4.push(U(t4, o2, n4, r2));
  402. return s4;
  403. }
  404. function U(t4, i4, s4, h2) {
  405. return i4 = V.bc.Bh(r(t4, rt, i4), h2), n3(t4, rt, i4, s4);
  406. }
  407. var W, V, X, Y, Q = this && this.__extends || function() {
  408. function t4(i4, s4) {
  409. return (t4 = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t5, i5) {
  410. t5.__proto__ = i5;
  411. } || function(t5, i5) {
  412. for (var s5 in i5)
  413. i5.hasOwnProperty(s5) && (t5[s5] = i5[s5]);
  414. })(i4, s4);
  415. }
  416. return function(i4, s4) {
  417. function n4() {
  418. this.constructor = i4;
  419. }
  420. t4(i4, s4), i4.prototype = s4 === null ? Object.create(s4) : (n4.prototype = s4.prototype, new n4());
  421. };
  422. }();
  423. !function(t4) {
  424. var i4;
  425. (i4 = t4.sn || (t4.sn = {}))[i4.Unknown = 0] = "Unknown", i4[i4.Point = 33] = "Point", i4[i4.Line = 322] = "Line", i4[i4.Envelope = 197] = "Envelope", i4[i4.MultiPoint = 550] = "MultiPoint", i4[i4.Polyline = 1607] = "Polyline", i4[i4.Polygon = 1736] = "Polygon", function(t5) {
  426. t5[t5.enumMild = 0] = "enumMild", t5[t5.enumMedium = 1] = "enumMedium", t5[t5.enumHot = 2] = "enumHot";
  427. }(t4.SK || (t4.SK = {}));
  428. var s4 = function() {
  429. function i5() {
  430. this.description = null, this.PA = 0;
  431. }
  432. return i5.prototype.K = function() {
  433. return 0;
  434. }, i5.prototype.Eb = function() {
  435. return -1;
  436. }, i5.prototype.kg = function(t5) {
  437. this.wc(), t5 != this.description && this.un(t5);
  438. }, i5.prototype.un = function() {
  439. }, i5.prototype.Ll = function(i6) {
  440. this.wc(), i6 != this.description && ((i6 = t4.ee.wR(this.description, i6)) != this.description && this.un(i6));
  441. }, i5.prototype.hasAttribute = function(t5) {
  442. return this.description.hasAttribute(t5);
  443. }, i5.prototype.se = function(i6) {
  444. this.wc(), this.description.hasAttribute(i6) || (i6 = t4.ee.vR(this.description, i6), this.un(i6));
  445. }, i5.prototype.Vg = function() {
  446. return null;
  447. }, i5.prototype.dn = function() {
  448. }, i5.prototype.A = function() {
  449. }, i5.prototype.Ro = function() {
  450. }, i5.prototype.yc = function(t5) {
  451. this.A(t5);
  452. }, i5.prototype.B = function() {
  453. return true;
  454. }, i5.prototype.Pa = function() {
  455. }, i5.prototype.Pc = function() {
  456. }, i5.prototype.Ja = function() {
  457. return null;
  458. }, i5.prototype.copyTo = function() {
  459. }, i5.prototype.He = function() {
  460. return 0;
  461. }, i5.prototype.Rb = function() {
  462. return 0;
  463. }, i5.prototype.cG = function() {
  464. return this.hasAttribute(1);
  465. }, i5.uf = function(t5) {
  466. return 1 + ((192 & t5) >> 6) >> 1;
  467. }, i5.Sn = function(t5) {
  468. return (32 & t5) != 0;
  469. }, i5.MS = function(t5) {
  470. return (128 & t5) != 0;
  471. }, i5.zd = function(t5) {
  472. return (256 & t5) != 0;
  473. }, i5.zj = function(t5) {
  474. return (512 & t5) != 0;
  475. }, i5.Ic = function(t5) {
  476. return (1024 & t5) != 0;
  477. }, i5.prototype.Pf = function() {
  478. var t5 = this.Ja();
  479. return this.copyTo(t5), t5;
  480. }, i5.prototype.mg = function() {
  481. return null;
  482. }, i5.ig = function(t5) {
  483. var i6 = t5.Ja();
  484. return t5.copyTo(i6), i6;
  485. }, i5.prototype.wc = function() {
  486. 0 <= this.PA && (this.PA += 2147483649);
  487. }, i5.zx = function(s5) {
  488. var n4 = s5.K();
  489. if (i5.zj(n4))
  490. return s5.I();
  491. if (s5.B())
  492. return 0;
  493. if (n4 == 197)
  494. return 4;
  495. if (n4 == 33)
  496. return 1;
  497. if (i5.zd(n4))
  498. return 2;
  499. throw t4.i.ga("missing type");
  500. }, i5;
  501. }();
  502. t4.ba = s4;
  503. }(V || (V = {})), X = V || (V = {}), Y = function() {
  504. function t4() {
  505. this.y = this.x = 0;
  506. }
  507. return t4.construct = function(i4, s4) {
  508. var n4 = new t4();
  509. return n4.x = i4, n4.y = s4, n4;
  510. }, t4.cl = function(i4) {
  511. var s4 = new t4();
  512. return s4.x = i4.x, s4.y = i4.y, s4;
  513. }, t4.prototype.na = function(t5, i4) {
  514. this.x = t5, this.y = i4;
  515. }, t4.prototype.N = function(t5) {
  516. this.x = t5.x, this.y = t5.y;
  517. }, t4.prototype.hq = function(t5, i4) {
  518. return this.x === t5 && this.y === i4;
  519. }, t4.prototype.Mz = function(t5) {
  520. return 2220446049250313e-31 >= Math.abs(this.x - t5.x) && 2220446049250313e-31 >= Math.abs(this.y - t5.y);
  521. }, t4.prototype.rb = function(t5) {
  522. return this.x === t5.x && this.y === t5.y;
  523. }, t4.prototype.Nb = function(i4) {
  524. return i4 == this || i4 instanceof t4 && this.x == i4.x && this.y == i4.y;
  525. }, t4.prototype.sub = function(t5) {
  526. this.x -= t5.x, this.y -= t5.y;
  527. }, t4.prototype.vc = function(t5, i4) {
  528. this.x = t5.x - i4.x, this.y = t5.y - i4.y;
  529. }, t4.prototype.add = function(t5, i4) {
  530. i4 !== void 0 ? (this.x = t5.x + i4.x, this.y = t5.y + i4.y) : (this.x += t5.x, this.y += t5.y);
  531. }, t4.prototype.Uq = function() {
  532. this.x = -this.x, this.y = -this.y;
  533. }, t4.prototype.nt = function(t5) {
  534. this.x = -t5.x, this.y = -t5.y;
  535. }, t4.prototype.GS = function(t5, i4, s4) {
  536. this.x = t5.x * (1 - s4) + i4.x * s4, this.y = t5.y * (1 - s4) + i4.y * s4;
  537. }, t4.prototype.Dt = function(t5, i4) {
  538. this.x = this.x * t5 + i4.x, this.y = this.y * t5 + i4.y;
  539. }, t4.prototype.yW = function(t5, i4, s4) {
  540. this.x = i4.x * t5 + s4.x, this.y = i4.y * t5 + s4.y;
  541. }, t4.prototype.scale = function(t5) {
  542. this.x *= t5, this.y *= t5;
  543. }, t4.prototype.compare = function(t5) {
  544. return this.y < t5.y ? -1 : this.y > t5.y ? 1 : this.x < t5.x ? -1 : this.x > t5.x ? 1 : 0;
  545. }, t4.prototype.normalize = function() {
  546. var t5 = this.length();
  547. t5 == 0 && (this.x = 1, this.y = 0), this.x /= t5, this.y /= t5;
  548. }, t4.prototype.length = function() {
  549. return Math.sqrt(this.x * this.x + this.y * this.y);
  550. }, t4.prototype.Tk = function() {
  551. return this.x * this.x + this.y * this.y;
  552. }, t4.ub = function(t5, i4) {
  553. return Math.sqrt(this.zc(t5, i4));
  554. }, t4.Jy = function(t5, i4, s4, n4) {
  555. return t5 -= s4, i4 -= n4, Math.sqrt(t5 * t5 + i4 * i4);
  556. }, t4.prototype.Sh = function(t5) {
  557. return this.x * t5.x + this.y * t5.y;
  558. }, t4.prototype.$C = function(t5) {
  559. return Math.abs(this.x * t5.x) + Math.abs(this.y * t5.y);
  560. }, t4.prototype.yi = function(t5) {
  561. return this.x * t5.y - this.y * t5.x;
  562. }, t4.prototype.Ct = function(t5, i4) {
  563. var s4 = -this.x * i4 + this.y * t5;
  564. this.x = this.x * t5 + this.y * i4, this.y = s4;
  565. }, t4.prototype.Jv = function() {
  566. var t5 = this.x;
  567. this.x = -this.y, this.y = t5;
  568. }, t4.prototype.GG = function(t5) {
  569. this.x = -t5.y, this.y = t5.x;
  570. }, t4.prototype.cr = function() {
  571. var t5 = this.x;
  572. this.x = this.y, this.y = -t5;
  573. }, t4.prototype.su = function() {
  574. return 0 < this.x ? 0 <= this.y ? 1 : 4 : 0 < this.y ? 2 : this.x == 0 ? 4 : 3;
  575. }, t4.pu = function(t5, i4) {
  576. var s4 = t5.su(), n4 = i4.su();
  577. return n4 == s4 ? 0 > (t5 = t5.yi(i4)) ? 1 : 0 < t5 ? -1 : 0 : s4 < n4 ? -1 : 1;
  578. }, t4.zc = function(t5, i4) {
  579. var s4 = t5.x - i4.x;
  580. return s4 * s4 + (t5 = t5.y - i4.y) * t5;
  581. }, t4.prototype.toString = function() {
  582. return "(" + this.x + " , " + this.y + ")";
  583. }, t4.prototype.Sc = function() {
  584. this.y = this.x = NaN;
  585. }, t4.prototype.isNaN = function() {
  586. return isNaN(this.x) || isNaN(this.y);
  587. }, t4.prototype.offset = function(i4, s4) {
  588. var n4 = t4.ub(i4, s4), h2 = t4.construct(this.x, this.y);
  589. if (n4 == 0)
  590. return t4.ub(h2, i4);
  591. var r2 = new t4();
  592. return r2.N(s4), r2.sub(i4), h2.sub(i4), h2.yi(r2) / n4;
  593. }, t4.Wq = function(t5, i4, s4) {
  594. var n4 = new X.Xb();
  595. n4.set(i4.x), n4.sub(t5.x);
  596. var h2 = new X.Xb();
  597. h2.set(s4.y), h2.sub(t5.y);
  598. var r2 = new X.Xb();
  599. r2.set(i4.y), r2.sub(t5.y);
  600. var e2 = new X.Xb();
  601. return e2.set(s4.x), e2.sub(t5.x), n4.Ag(h2), r2.Ag(e2), n4.sub(r2), n4.rs() ? (n4 = new X.ip(i4.x), h2 = new X.ip(t5.x), r2 = new X.ip(t5.y), n4 = n4.kt(h2), t5 = (t5 = new X.ip(s4.y)).kt(r2), i4 = (i4 = new X.ip(i4.y)).kt(r2), s4 = (s4 = new X.ip(s4.x)).kt(h2), n4 = n4.nr(t5), i4 = i4.nr(s4), (n4 = n4.nr(i4)).fT() ? -1 : n4.ZR() ? 1 : 0) : 0 > (s4 = n4.value()) ? -1 : 0 < s4 ? 1 : 0;
  602. }, t4.prototype.dc = function() {
  603. return X.P.wj(X.P.wj());
  604. }, t4;
  605. }(), X.h = Y, function(t4) {
  606. var i4 = function() {
  607. function t5(t6) {
  608. this.Ay = this.Ot = 0, this.GX = t6;
  609. }
  610. return t5.prototype.reset = function() {
  611. this.Ay = this.Ot = 0;
  612. }, t5.prototype.add = function(t6) {
  613. t6 -= this.Ay;
  614. var i5 = this.Ot + t6;
  615. this.Ay = i5 - this.Ot - t6, this.Ot = i5;
  616. }, t5.prototype.sub = function(t6) {
  617. this.add(-t6);
  618. }, t5.prototype.tm = function() {
  619. return this.GX + this.Ot;
  620. }, t5;
  621. }();
  622. t4.Ex = i4, t4.mc = function() {
  623. function t5() {
  624. }
  625. return t5.Dn = function(t6, i5) {
  626. return 0 <= i5 ? Math.abs(t6) : -Math.abs(t6);
  627. }, t5.sign = function(t6) {
  628. return 0 > t6 ? -1 : 0 < t6 ? 1 : 0;
  629. }, t5.LK = function(t6) {
  630. return t6 - 360 * Math.floor(t6 / 360);
  631. }, t5.round = function(t6) {
  632. return Math.floor(t6 + 0.5);
  633. }, t5.ox = function(t6) {
  634. return t6 * t6;
  635. }, t5.jq = function(t6, i5, s4) {
  636. return 0.5 >= s4 ? t6 + (i5 - t6) * s4 : i5 - (i5 - t6) * (1 - s4);
  637. }, t5.IG = function(t6, i5, s4, n4) {
  638. 0.5 >= s4 ? (n4.x = t6.x + (i5.x - t6.x) * s4, n4.y = t6.y + (i5.y - t6.y) * s4) : (n4.x = i5.x - (i5.x - t6.x) * (1 - s4), n4.y = i5.y - (i5.y - t6.y) * (1 - s4));
  639. }, t5.dT = function(t6, i5, s4, n4, h2, r2) {
  640. 0.5 >= h2 ? (r2.x = t6 + (s4 - t6) * h2, r2.y = i5 + (n4 - i5) * h2) : (r2.x = s4 - (s4 - t6) * (1 - h2), r2.y = n4 - (n4 - i5) * (1 - h2));
  641. }, t5;
  642. }();
  643. }(V || (V = {})), function(t4) {
  644. var i4 = function(i5) {
  645. function s4() {
  646. var t5 = i5.call(this) || this;
  647. return t5.sa = 0, t5.oa = 0, t5.qa = 0, t5.ma = 0, t5.la = null, t5;
  648. }
  649. return Q(s4, i5), s4.prototype.ac = function() {
  650. return t4.h.construct(this.sa, this.oa);
  651. }, s4.prototype.$p = function(t5) {
  652. t5.x = this.sa, t5.y = this.oa;
  653. }, s4.prototype.Ec = function(t5) {
  654. this.gm(0, t5);
  655. }, s4.prototype.TB = function(i6, s5) {
  656. this.gm(0, t4.h.construct(i6, s5));
  657. }, s4.prototype.Uo = function(t5) {
  658. this.bD(0, t5);
  659. }, s4.prototype.setStart = function(t5) {
  660. this.oD(0, t5);
  661. }, s4.prototype.yv = function(t5, i6) {
  662. return this.Pd(0, t5, i6);
  663. }, s4.prototype.SB = function(t5, i6, s5) {
  664. this.vn(0, t5, i6, s5);
  665. }, s4.prototype.xc = function() {
  666. return t4.h.construct(this.qa, this.ma);
  667. }, s4.prototype.Vr = function(t5) {
  668. t5.x = this.qa, t5.y = this.ma;
  669. }, s4.prototype.Rc = function(t5) {
  670. this.gm(1, t5);
  671. }, s4.prototype.Sl = function(i6, s5) {
  672. this.gm(1, t4.h.construct(i6, s5));
  673. }, s4.prototype.Qo = function(t5) {
  674. this.bD(1, t5);
  675. }, s4.prototype.setEnd = function(t5) {
  676. this.oD(1, t5);
  677. }, s4.prototype.jv = function(t5, i6) {
  678. return this.Pd(1, t5, i6);
  679. }, s4.prototype.IB = function(t5, i6, s5) {
  680. this.vn(1, t5, i6, s5);
  681. }, s4.prototype.Eb = function() {
  682. return 1;
  683. }, s4.prototype.B = function() {
  684. return this.Bc();
  685. }, s4.prototype.Pa = function() {
  686. }, s4.prototype.He = function() {
  687. return 0;
  688. }, s4.prototype.Fa = function(t5, i6, s5, n4, h2) {
  689. return this.EM(t5, i6, s5, n4, h2);
  690. }, s4.prototype.isIntersecting = function(t5, i6) {
  691. return this.Br(t5, i6, false) != 0;
  692. }, s4.prototype.ss = function(t5, i6) {
  693. return this.tu(t5, i6, false);
  694. }, s4.prototype.tu = function() {
  695. return null;
  696. }, s4.prototype.Bc = function() {
  697. return false;
  698. }, s4.prototype.$x = function(i6) {
  699. if (this.wc(), this.la == null && 0 < i6)
  700. this.la = t4.P.lg(2 * i6);
  701. else if (this.la != null && this.la.length < 2 * i6) {
  702. for (var s5 = this.la.slice(0), n4 = this.la.length; n4 < 2 * i6; n4++)
  703. s5[n4] = 0;
  704. this.la = s5;
  705. }
  706. }, s4.aM = function(t5, i6, s5) {
  707. if (0 < s5)
  708. var n4 = 0;
  709. for (var h2 = 0; h2 < s5; h2++)
  710. i6[0 + n4] = t5[0], n4++;
  711. }, s4.prototype.gm = function(t5, i6) {
  712. t5 != 0 ? (this.qa = i6.x, this.ma = i6.y) : (this.sa = i6.x, this.oa = i6.y);
  713. }, s4.prototype.un = function(i6) {
  714. if (this.la != null) {
  715. for (var n4 = t4.ee.Kw(i6, this.description), h2 = [], r2 = s4.Ig(this.description, 0), e2 = s4.Ig(this.description, 1), o2 = s4.Ig(i6, 0), a2 = s4.Ig(i6, 1), u2 = 0, f2 = 1, c2 = i6.Ba; f2 < c2; f2++) {
  716. var l2 = i6.qd(f2), p2 = t4.ua.Wa(l2);
  717. if (n4[f2] == -1) {
  718. var v2 = t4.ua.te(l2);
  719. for (l2 = 0; l2 < p2; l2++)
  720. h2[o2 + u2] = v2, h2[a2 + u2] = v2, u2++;
  721. } else
  722. for (v2 = this.description.ak(n4[f2]) - 2, l2 = 0; l2 < p2; l2++)
  723. h2[o2 + u2] = this.la[r2 + v2], h2[a2 + u2] = this.la[e2 + v2], u2++, v2++;
  724. }
  725. this.la = h2;
  726. }
  727. this.description = i6;
  728. }, s4.prototype.bD = function(i6, s5) {
  729. if (this.Bc())
  730. throw t4.i.ga("empty geometry");
  731. s5.kg(this.description), s5.Bc() && s5.up();
  732. for (var n4 = 0; n4 < this.description.Ba; n4++)
  733. for (var h2 = this.description.Fd(n4), r2 = 0, e2 = t4.ua.Wa(h2); r2 < e2; r2++) {
  734. var o2 = this.Pd(i6, h2, r2);
  735. s5.setAttribute(h2, r2, o2);
  736. }
  737. }, s4.prototype.oD = function(i6, s5) {
  738. if (this.wc(), s5.Bc())
  739. throw t4.i.ga("empty geometry");
  740. for (var n4 = s5.description, h2 = 0, r2 = n4.Ba; h2 < r2; h2++)
  741. for (var e2 = n4.Fd(h2), o2 = t4.ua.Wa(e2), a2 = 0; a2 < o2; a2++) {
  742. var u2 = s5.Vc(e2, a2);
  743. this.vn(i6, e2, a2, u2);
  744. }
  745. }, s4.prototype.Pd = function(i6, n4, h2) {
  746. if (this.Bc())
  747. throw t4.i.ga("This operation was performed on an Empty Geometry.");
  748. if (n4 == 0)
  749. return i6 != 0 ? h2 != 0 ? this.ma : this.qa : h2 != 0 ? this.oa : this.sa;
  750. if (h2 >= t4.ua.Wa(n4))
  751. throw t4.i.re();
  752. var r2 = this.description.Qf(n4);
  753. return 0 <= r2 ? (this.la != null && this.$x(this.description.Be.length - 2), this.la[s4.Ig(this.description, i6) + this.description.ak(r2) - 2 + h2]) : t4.ua.te(n4);
  754. }, s4.prototype.vn = function(i6, n4, h2, r2) {
  755. if (this.wc(), h2 >= t4.ua.Wa(n4))
  756. throw t4.i.re();
  757. var e2 = this.description.Qf(n4);
  758. 0 > e2 && (this.se(n4), e2 = this.description.Qf(n4)), n4 == 0 ? i6 != 0 ? h2 != 0 ? this.ma = r2 : this.qa = r2 : h2 != 0 ? this.oa = r2 : this.sa = r2 : (this.la == null && this.$x(this.description.Be.length - 2), this.la[s4.Ig(this.description, i6) + this.description.ak(e2) - 2 + h2] = r2);
  759. }, s4.prototype.copyTo = function(i6) {
  760. if (i6.K() != this.K())
  761. throw t4.i.O();
  762. i6.description = this.description, i6.$x(this.description.Be.length - 2), s4.aM(this.la, i6.la, 2 * (this.description.Be.length - 2)), i6.sa = this.sa, i6.oa = this.oa, i6.qa = this.qa, i6.ma = this.ma, i6.wc(), this.pp(i6);
  763. }, s4.prototype.Vg = function(i6, s5) {
  764. var n4 = new t4.Oc();
  765. return this.Bc() ? (n4.Pa(), n4) : (n4.pa = this.Pd(0, i6, s5), n4.wa = n4.pa, n4.Mk(this.Pd(1, i6, s5)), n4);
  766. }, s4.prototype.TI = function(t5) {
  767. this.Bc() ? t5.Pa() : (t5.pa = this.Pd(0, 0, 0), t5.wa = t5.pa, t5.Mk(this.Pd(1, 0, 0)));
  768. }, s4.prototype.Vw = function(i6, s5) {
  769. s5.kg(this.description), s5.Db(this.ic(i6));
  770. for (var n4 = 1, h2 = this.description.Ba; n4 < h2; n4++)
  771. for (var r2 = this.description.Fd(n4), e2 = t4.ua.Wa(r2), o2 = 0; o2 < e2; o2++) {
  772. var a2 = this.Vc(i6, r2, o2);
  773. s5.setAttribute(r2, o2, a2);
  774. }
  775. }, s4.prototype.zM = function(t5) {
  776. if (this.description != t5.description || this.sa != t5.sa || this.qa != t5.qa || this.oa != t5.oa || this.ma != t5.ma)
  777. return false;
  778. for (var i6 = 0; i6 < 2 * (this.description.Be.length - 2); i6++)
  779. if (this.la[i6] != t5.la[i6])
  780. return false;
  781. return true;
  782. }, s4.prototype.vG = function() {
  783. return this.sa == this.qa && this.oa == this.ma;
  784. }, s4.prototype.reverse = function() {
  785. var i6 = this.sa;
  786. this.sa = this.qa, this.qa = i6, i6 = this.oa, this.oa = this.ma, this.ma = i6, i6 = 1;
  787. for (var s5 = this.description.Ba; i6 < s5; i6++)
  788. for (var n4 = this.description.qd(i6), h2 = 0, r2 = t4.ua.Wa(n4); h2 < r2; h2++) {
  789. var e2 = this.Pd(0, n4, h2), o2 = this.Pd(1, n4, h2);
  790. this.vn(0, n4, h2, o2), this.vn(1, n4, h2, e2);
  791. }
  792. }, s4.prototype.Br = function(i6, s5, n4) {
  793. var h2 = i6.K();
  794. if (this.K() === 322) {
  795. if (h2 == 322)
  796. return t4.zb.IM(this, i6, s5, n4);
  797. throw t4.i.Ra();
  798. }
  799. throw t4.i.Ra();
  800. }, s4.prototype.EM = function(i6, s5, n4, h2, r2) {
  801. var e2 = i6.K();
  802. if (this.K() === 322) {
  803. if (e2 == 322)
  804. return t4.zb.Yx(this, i6, s5, n4, h2, r2);
  805. throw t4.i.Ra();
  806. }
  807. throw t4.i.Ra();
  808. }, s4.prototype.Sx = function() {
  809. return null;
  810. }, s4.Ig = function(t5, i6) {
  811. return i6 * (t5.Be.length - 2);
  812. }, s4.prototype.ic = function(i6, s5) {
  813. if (s5 === void 0)
  814. return s5 = new t4.h(), this.ic(i6, s5), s5;
  815. t4.mc.dT(this.sa, this.oa, this.qa, this.ma, i6, s5);
  816. }, s4.prototype.fe = function() {
  817. return null;
  818. }, s4.prototype.ZF = function() {
  819. return null;
  820. }, s4.prototype.fq = function() {
  821. return null;
  822. }, s4.prototype.Di = function() {
  823. return null;
  824. }, s4.prototype.Qn = function() {
  825. return null;
  826. }, s4.prototype.jg = function() {
  827. return null;
  828. }, s4.prototype.Tx = function(t5, i6) {
  829. return i6 !== void 0 ? this.ux(i6) - this.ux(t5) : this.ux(t5);
  830. }, s4.prototype.pp = function() {
  831. }, s4.prototype.fl = function() {
  832. return null;
  833. }, s4.prototype.dh = function() {
  834. }, s4.prototype.Vc = function() {
  835. return null;
  836. }, s4.prototype.Me = function() {
  837. return null;
  838. }, s4.prototype.ux = function() {
  839. return null;
  840. }, s4.prototype.HG = function() {
  841. return null;
  842. }, s4.prototype.ub = function(t5, i6) {
  843. if (!i6 && this.Br(t5, 0, false) != 0)
  844. return 0;
  845. i6 = 17976931348623157e292;
  846. var s5 = this.ac(), n4 = t5.fe(s5, false);
  847. return s5.sub(t5.ic(n4)), (s5 = s5.length()) < i6 && (i6 = s5), s5 = this.xc(), n4 = t5.fe(s5, false), s5.sub(t5.ic(n4)), (s5 = s5.length()) < i6 && (i6 = s5), s5 = t5.ac(), n4 = this.fe(s5, false), s5.sub(this.ic(n4)), (s5 = s5.length()) < i6 && (i6 = s5), s5 = t5.xc(), n4 = this.fe(s5, false), s5.sub(this.ic(n4)), (s5 = s5.length()) < i6 && (i6 = s5), i6;
  848. }, s4.prototype.mg = function() {
  849. return t4.si.im(this, null);
  850. }, s4;
  851. }(t4.ba);
  852. t4.MC = i4;
  853. }(V || (V = {})), new V.h(), function(t4) {
  854. var i4;
  855. (i4 = t4.UK || (t4.UK = {}))[i4.Unknown = -1] = "Unknown", i4[i4.Not = 0] = "Not", i4[i4.Weak = 1] = "Weak", i4[i4.Strong = 2] = "Strong", function(t5) {
  856. t5[t5.DirtyIsKnownSimple = 1] = "DirtyIsKnownSimple", t5[t5.IsWeakSimple = 2] = "IsWeakSimple", t5[t5.IsStrongSimple = 4] = "IsStrongSimple", t5[t5.DirtyOGCFlags = 8] = "DirtyOGCFlags", t5[t5.DirtyVerifiedStreams = 32] = "DirtyVerifiedStreams", t5[t5.DirtyExactIntervals = 64] = "DirtyExactIntervals", t5[t5.DirtyLooseIntervals = 128] = "DirtyLooseIntervals", t5[t5.DirtyIntervals = 192] = "DirtyIntervals", t5[t5.DirtyIsEnvelope = 256] = "DirtyIsEnvelope", t5[t5.DirtyLength2D = 512] = "DirtyLength2D", t5[t5.DirtyRingAreas2D = 1024] = "DirtyRingAreas2D", t5[t5.DirtyCoordinates = 1993] = "DirtyCoordinates", t5[t5.DirtyAllInternal = 65535] = "DirtyAllInternal", t5[t5.DirtyAll = 16777215] = "DirtyAll";
  857. }(t4.GK || (t4.GK = {}));
  858. var s4 = function(i5) {
  859. function s5() {
  860. var t5 = i5.call(this) || this;
  861. return t5.Jm = 65535, t5.xa = 0, t5.Rg = -1, t5.Cb = null, t5;
  862. }
  863. return Q(s5, i5), s5.prototype.pp = function() {
  864. }, s5.prototype.Zx = function() {
  865. }, s5.prototype.ey = function() {
  866. }, s5.prototype.I = function() {
  867. return this.xa;
  868. }, s5.prototype.B = function() {
  869. return this.Bc();
  870. }, s5.prototype.Bc = function() {
  871. return this.xa == 0;
  872. }, s5.prototype.bk = function(t5) {
  873. return (this.Jm & t5) != 0;
  874. }, s5.prototype.Nf = function(t5, i6) {
  875. this.Jm = i6 ? this.Jm | t5 : this.Jm & ~t5;
  876. }, s5.prototype.rc = function() {
  877. this.bk(32) && this.WM();
  878. }, s5.prototype.vx = function() {
  879. if (this.Bc())
  880. throw t4.i.ga("This operation was performed on an Empty Geometry.");
  881. }, s5.prototype.we = function(i6, s6) {
  882. if (0 > i6 || i6 >= this.xa)
  883. throw t4.i.ga("index out of bounds");
  884. this.rc(), s6.kg(this.description), s6.B() && s6.up();
  885. for (var n4 = 0; n4 < this.description.Ba; n4++)
  886. for (var h2 = this.description.Fd(n4), r2 = 0, e2 = t4.ua.Wa(h2); r2 < e2; r2++) {
  887. var o2 = this.Aa[n4].Bg(e2 * i6 + r2);
  888. s6.setAttribute(h2, r2, o2);
  889. }
  890. }, s5.prototype.It = function(i6, s6) {
  891. this.rc();
  892. for (var n4 = s6.description, h2 = 0; h2 < n4.Ba; h2++)
  893. for (var r2 = n4.Fd(h2), e2 = t4.ua.Wa(r2), o2 = 0; o2 < e2; o2++) {
  894. var a2 = s6.Vc(r2, o2);
  895. this.setAttribute(r2, i6, o2, a2);
  896. }
  897. }, s5.prototype.D = function(i6, s6) {
  898. if (0 > i6 || i6 >= this.I())
  899. throw t4.i.re();
  900. this.rc(), this.Aa[0].uc(2 * i6, s6);
  901. }, s5.prototype.Oa = function(i6) {
  902. var s6 = new t4.h();
  903. return this.D(i6, s6), s6;
  904. }, s5.prototype.Hc = function(t5, i6) {
  905. this.Aa[0].uc(2 * t5, i6);
  906. }, s5.prototype.Db = function(i6, s6, n4) {
  907. if (0 > i6 || i6 >= this.xa)
  908. throw t4.i.re();
  909. this.rc();
  910. var h2 = this.Aa[0];
  911. n4 !== void 0 ? (h2.write(2 * i6, s6), h2.write(2 * i6 + 1, n4)) : h2.Vt(2 * i6, s6), this.Qc(1993);
  912. }, s5.prototype.xz = function() {
  913. if (void 0 >= this.I())
  914. throw t4.i.re();
  915. this.rc();
  916. var i6 = this.Aa[0], s6 = new t4.Od();
  917. return s6.x = i6.read(NaN), s6.y = i6.read(NaN), s6.z = this.hasAttribute(1) ? this.Aa[1].Bg(void 0) : t4.ua.te(1), s6;
  918. }, s5.prototype.YB = function(i6) {
  919. if (0 > i6 || i6 >= this.I())
  920. throw t4.i.re();
  921. this.se(1), this.rc(), this.Qc(1993);
  922. var s6 = this.Aa[0];
  923. s6.write(2 * i6, (void 0).x), s6.write(2 * i6 + 1, (void 0).y), this.Aa[1].rr(i6, (void 0).z);
  924. }, s5.prototype.Vc = function(i6, s6, n4) {
  925. if (0 > s6 || s6 >= this.xa)
  926. throw t4.i.re();
  927. var h2 = t4.ua.Wa(i6);
  928. if (n4 >= h2)
  929. throw t4.i.re();
  930. this.rc();
  931. var r2 = this.description.Qf(i6);
  932. return 0 <= r2 ? this.Aa[r2].Bg(s6 * h2 + n4) : t4.ua.te(i6);
  933. }, s5.prototype.sF = function(t5, i6) {
  934. return this.Vc(t5, i6, void 0);
  935. }, s5.prototype.setAttribute = function(i6, s6, n4, h2) {
  936. if (0 > s6 || s6 >= this.xa)
  937. throw t4.i.re();
  938. var r2 = t4.ua.Wa(i6);
  939. if (n4 >= r2)
  940. throw t4.i.re();
  941. this.se(i6), this.rc(), i6 = this.description.Qf(i6), this.Qc(1993), this.Aa[i6].rr(s6 * r2 + n4, h2);
  942. }, s5.prototype.vb = function(t5) {
  943. return this.vx(), this.se(t5), this.rc(), this.Aa[this.description.Qf(t5)];
  944. }, s5.prototype.kn = function(i6, s6) {
  945. if (s6 != null && t4.ua.Vp(i6) != s6.Vp())
  946. throw t4.i.O();
  947. this.se(i6), i6 = this.description.Qf(i6), this.Aa == null && (this.Aa = t4.Zc.kI(this.description.Ba)), this.Aa[i6] = s6, this.Qc(16777215);
  948. }, s5.prototype.un = function(i6) {
  949. var s6 = null;
  950. if (this.Aa != null) {
  951. var n4 = t4.ee.Kw(i6, this.description);
  952. s6 = [];
  953. for (var h2 = 0, r2 = i6.Ba; h2 < r2; h2++)
  954. n4[h2] != -1 && (s6[h2] = this.Aa[n4[h2]]);
  955. }
  956. this.description = i6, this.Aa = s6, this.Rg = -1, this.Qc(16777215);
  957. }, s5.prototype.uD = function(i6) {
  958. this.yu(true), i6 instanceof t4.l ? this.aa.A(i6) : this.aa.Ro(i6);
  959. }, s5.prototype.VM = function(i6) {
  960. this.yu(false), i6 instanceof t4.l ? this.aa.A(i6) : this.aa.Ro(i6);
  961. }, s5.prototype.dn = function(t5) {
  962. this.yu(true), this.aa.copyTo(t5);
  963. }, s5.prototype.A = function(t5) {
  964. this.uD(t5);
  965. }, s5.prototype.Ro = function(t5) {
  966. this.uD(t5);
  967. }, s5.prototype.yc = function(t5) {
  968. this.VM(t5);
  969. }, s5.prototype.Vg = function(i6, s6) {
  970. var n4 = new t4.Oc();
  971. return this.Bc() ? (n4.Pa(), n4) : (this.yu(true), this.aa.Vg(i6, s6));
  972. }, s5.prototype.dc = function() {
  973. var i6 = this.description.dc();
  974. if (!this.Bc())
  975. for (var s6 = this.I(), n4 = 0, h2 = this.description.Ba; n4 < h2; n4++)
  976. i6 = this.Aa[n4].Bn(i6, 0, s6 * t4.ua.Wa(this.description.Fd(n4)));
  977. return i6;
  978. }, s5.prototype.Nb = function(i6) {
  979. if (i6 == this)
  980. return true;
  981. if (!(i6 instanceof s5 && this.description.Nb(i6.description)) || this.Bc() != i6.Bc())
  982. return false;
  983. if (this.Bc())
  984. return true;
  985. var n4 = this.I();
  986. if (n4 != i6.I())
  987. return false;
  988. for (var h2 = 0; h2 < this.description.Ba; h2++) {
  989. var r2 = this.description.qd(h2), e2 = this.vb(r2), o2 = i6.vb(r2);
  990. if (!e2.Nb(o2, 0, n4 * t4.ua.Wa(r2)))
  991. return false;
  992. }
  993. return true;
  994. }, s5.prototype.copyTo = function(i6) {
  995. if (i6.K() != this.K())
  996. throw t4.i.O();
  997. this.YC(i6);
  998. }, s5.prototype.YC = function(i6) {
  999. this.rc(), i6.description = this.description, i6.Aa = null;
  1000. var s6 = this.description.Ba, n4 = null;
  1001. if (this.Aa != null) {
  1002. n4 = [];
  1003. for (var h2 = 0; h2 < s6; h2++)
  1004. this.Aa[h2] != null && (n4[h2] = this.Aa[h2].AB(this.I() * t4.ua.Wa(this.description.Fd(h2))));
  1005. }
  1006. this.aa != null ? (i6.aa = this.aa.Ja(), this.aa.copyTo(i6.aa)) : i6.aa = null, i6.xa = this.xa, i6.Jm = this.Jm, i6.Aa = n4;
  1007. try {
  1008. this.pp(i6);
  1009. } catch (r2) {
  1010. throw i6.Pa(), t4.i.hu();
  1011. }
  1012. }, s5.prototype.qD = function() {
  1013. this.xa = 0, this.Rg = -1, this.Aa = null, this.Qc(16777215);
  1014. }, s5.prototype.Qc = function(t5) {
  1015. t5 == 16777215 && (this.Rg = -1, this.Zx()), this.Jm |= t5, this.fM(), this.wc();
  1016. }, s5.prototype.yu = function(i6) {
  1017. if (this.rc(), this.bk(192))
  1018. if (this.aa == null ? this.aa = new t4.Hh(this.description) : this.aa.kg(this.description), this.B())
  1019. this.aa.Pa();
  1020. else {
  1021. this.dy(i6);
  1022. for (var s6 = 1; s6 < this.description.Ba; s6++)
  1023. for (var n4 = this.description.Fd(s6), h2 = t4.ua.Wa(n4), r2 = this.Aa[s6], e2 = 0; e2 < h2; e2++) {
  1024. var o2 = new t4.Oc();
  1025. o2.Pa();
  1026. for (var a2 = 0; a2 < this.xa; a2++) {
  1027. var u2 = r2.Bg(a2 * h2 + e2);
  1028. o2.$b(u2);
  1029. }
  1030. this.aa.setInterval(n4, e2, o2);
  1031. }
  1032. i6 && this.Nf(192, false);
  1033. }
  1034. }, s5.prototype.dy = function() {
  1035. this.aa.Pa();
  1036. for (var i6 = this.Aa[0], s6 = new t4.h(), n4 = 0; n4 < this.xa; n4++)
  1037. i6.uc(2 * n4, s6), this.aa.$b(s6);
  1038. }, s5.prototype.Ap = function(i6) {
  1039. i6.Pa();
  1040. for (var s6 = this.Aa[0], n4 = new t4.h(), h2 = 0; h2 < this.xa; h2++)
  1041. s6.uc(2 * h2, n4), i6.$b(n4);
  1042. }, s5.prototype.WM = function() {
  1043. if (this.Rg < this.xa) {
  1044. this.Aa == null && (this.Aa = t4.Zc.kI(this.description.Ba)), this.Rg = 2147483647;
  1045. for (var i6 = 0; i6 < this.description.Ba; i6++) {
  1046. var s6 = this.description.Fd(i6);
  1047. if (this.Aa[i6] != null) {
  1048. var n4 = t4.ua.Wa(s6), h2 = t4.P.truncate(this.Aa[i6].size / n4);
  1049. h2 < this.xa && (h2 = t4.P.truncate(this.Rg > this.xa + 5 ? (5 * this.xa + 3) / 4 : this.xa), this.Aa[i6].resize(h2 * n4, t4.ua.te(s6))), h2 < this.Rg && (this.Rg = h2);
  1050. } else
  1051. this.Aa[i6] = t4.Zc.SE(s6, this.xa), this.Rg = this.xa;
  1052. }
  1053. }
  1054. this.ey(), this.Nf(32, false);
  1055. }, s5.prototype.fm = function(i6) {
  1056. if (0 > i6)
  1057. throw t4.i.O();
  1058. i6 != this.xa && (this.xa = i6, this.Qc(65535));
  1059. }, s5.prototype.qm = function(t5) {
  1060. if (!this.bk(1)) {
  1061. if (!this.bk(2))
  1062. return 0;
  1063. if (this.IT >= t5)
  1064. return this.bk(8) ? 1 : 2;
  1065. }
  1066. return -1;
  1067. }, s5.prototype.Eh = function(i6, s6) {
  1068. if (this.IT = s6, i6 == -1)
  1069. this.Nf(1, true), this.Nf(8, true);
  1070. else if (this.Nf(1, false), this.Nf(8, true), i6 == 0)
  1071. this.Nf(2, false), this.Nf(4, false);
  1072. else if (i6 == 1)
  1073. this.Nf(2, true), this.Nf(4, false);
  1074. else {
  1075. if (i6 != 2)
  1076. throw t4.i.ga("internal error.");
  1077. this.Nf(2, true), this.Nf(4, true);
  1078. }
  1079. }, s5.prototype.fM = function() {
  1080. this.Cb != null && (this.Cb = null);
  1081. }, s5.prototype.eD = function(i6, s6, n4, h2) {
  1082. if (0 > i6 || i6 >= this.xa)
  1083. throw t4.i.ga("index out of bounds");
  1084. if (0 > s6 || s6 >= this.xa)
  1085. throw t4.i.ga("index out of bounds");
  1086. this.rc(), h2.kg(this.description), h2.B() && h2.up();
  1087. for (var r2 = 0; r2 < this.description.Ba; r2++)
  1088. for (var e2 = this.description.Fd(r2), o2 = 0, a2 = t4.ua.Wa(e2); o2 < a2; o2++) {
  1089. var u2 = this.Aa[r2].Bg(a2 * i6 + o2), f2 = this.Aa[r2].Bg(a2 * s6 + o2);
  1090. h2.setAttribute(e2, o2, t4.mc.jq(u2, f2, n4));
  1091. }
  1092. }, s5.prototype.Ar = function(t5, i6) {
  1093. var s6 = this.Aa[0].o, n4 = s6[2 * t5] - s6[2 * i6];
  1094. return t5 = s6[2 * t5 + 1] - s6[2 * i6 + 1], Math.sqrt(n4 * n4 + t5 * t5);
  1095. }, s5.prototype.Fh = function(i6, s6) {
  1096. if (0 > i6 || i6 >= this.xa)
  1097. throw t4.i.re();
  1098. if (s6.B())
  1099. throw t4.i.O();
  1100. this.rc();
  1101. for (var n4 = s6.description, h2 = 0; h2 < n4.Ba; h2++)
  1102. for (var r2 = n4.qd(h2), e2 = t4.ua.Wa(r2), o2 = 0; o2 < e2; o2++) {
  1103. var a2 = s6.Vc(r2, o2);
  1104. this.setAttribute(r2, i6, o2, a2);
  1105. }
  1106. }, s5.prototype.nu = function() {
  1107. return null;
  1108. }, s5.prototype.hj = function() {
  1109. return null;
  1110. }, s5;
  1111. }(t4.ba);
  1112. t4.Fx = s4;
  1113. }(V || (V = {})), function(t4) {
  1114. var i4 = function() {
  1115. function i5() {
  1116. this.ob = this.$n = null, this.Vm = 124234251, this.Tv = true, this.Ne = -1, this.ob = new t4.ad(7), this.$n = null;
  1117. }
  1118. return i5.prototype.Wo = function(t5) {
  1119. this.$n = t5;
  1120. }, i5.prototype.LP = function() {
  1121. this.Tv = false;
  1122. }, i5.prototype.Ee = function(t5) {
  1123. this.ob.Ee(t5);
  1124. }, i5.prototype.Rr = function(t5) {
  1125. var i6 = this.ob.De();
  1126. return this.jX(i6), this.mX(t5, i6), i6;
  1127. }, i5.prototype.GP = function(t5) {
  1128. this.ob.kd(t5);
  1129. }, i5.prototype.addElement = function(t5, i6) {
  1130. return i6 == -1 && (this.Ne == -1 && (this.Ne = this.Rr(-1)), i6 = this.Ne), this.zD(t5, 0, i6);
  1131. }, i5.prototype.DD = function(t5) {
  1132. return this.Ne == -1 && (this.Ne = this.Rr(-1)), this.zD(t5, 1, this.Ne);
  1133. }, i5.prototype.yn = function(t5) {
  1134. this.Ne == -1 && (this.Ne = this.Rr(-1));
  1135. var i6 = this.Ne, s4 = this.ob.o;
  1136. if (i6 == -1 || s4[7 * i6] == -1)
  1137. return t5 = this.ob.Nl([-1, -1, -1, t5, this.il(), -1, -1]), (s4 = this.ob.o)[7 * i6] = t5, this.xp(-1, t5, i6, s4), t5;
  1138. var n4 = i6 == -1 ? -1 : s4[7 * i6 + 2];
  1139. return t5 = this.ob.Nl([-1, -1, n4, t5, this.il(), -1, -1]), (s4 = this.ob.o)[7 * n4 + 1] = t5, this.ky(t5, s4), s4[7 * t5 + 2] === -1 && (s4[7 * i6] = t5), this.xp(-1, t5, i6, s4), t5;
  1140. }, i5.prototype.Bu = function(i6, s4, n4, h2) {
  1141. var r2 = -1;
  1142. r2 == -1 && (this.Ne == -1 && (this.Ne = this.Rr(-1)), r2 = this.Ne);
  1143. var e2 = this.ob.o;
  1144. if (r2 == -1 || e2[7 * r2] == -1)
  1145. return n4 = this.ob.Nl([-1, -1, -1, n4, this.il(), -1, -1]), (e2 = this.ob.o)[7 * r2] = n4, this.xp(-1, n4, r2, e2), n4;
  1146. if (h2) {
  1147. h2 = s4 != -1 ? this.$n.compare(this, n4, s4) : -1;
  1148. var o2 = i6 != -1 ? this.$n.compare(this, n4, i6) : 1;
  1149. } else
  1150. h2 = -1, o2 = 1;
  1151. if (h2 == 0 || o2 == 0)
  1152. return e2[7 * r2 + 3] = h2 == 0 ? s4 : i6, -1;
  1153. for ((s4 != -1 && i6 != -1 ? this.Vm > t4.P.WA(this.Vm) >> 1 : s4 != -1) ? i6 = s4 : h2 = o2, s4 = true; ; ) {
  1154. if (0 > h2) {
  1155. if ((o2 = e2[7 * i6]) == -1) {
  1156. h2 = i6, n4 = this.ob.Nl([-1, -1, i6, n4, this.il(), -1, -1]), (e2 = this.ob.o)[7 * i6] = n4;
  1157. break;
  1158. }
  1159. i6 = o2;
  1160. } else {
  1161. if ((o2 = e2[7 * i6 + 1]) == -1) {
  1162. h2 = e2[7 * i6 + 6], n4 = this.ob.Nl([-1, -1, i6, n4, this.il(), -1, -1]), (e2 = this.ob.o)[7 * i6 + 1] = n4;
  1163. break;
  1164. }
  1165. i6 = o2;
  1166. }
  1167. s4 && (h2 *= -1, s4 = false);
  1168. }
  1169. return this.ky(n4, e2), e2[7 * n4 + 2] === -1 && (e2[7 * r2] = n4), this.xp(h2, n4, r2, e2), n4;
  1170. }, i5.prototype.zF = function() {
  1171. return this.cR(this.Ne);
  1172. }, i5.prototype.wd = function(t5, i6) {
  1173. i6 = i6 == -1 ? this.Ne : i6, this.Tv ? this.FP(t5, i6) : this.aY(t5, i6);
  1174. }, i5.prototype.search = function(t5, i6) {
  1175. for (i6 = this.uv(i6); i6 != -1; ) {
  1176. var s4 = this.$n.compare(this, t5, i6);
  1177. if (s4 == 0)
  1178. return i6;
  1179. i6 = 0 > s4 ? this.nl(i6) : this.Zp(i6);
  1180. }
  1181. return -1;
  1182. }, i5.prototype.zW = function(t5) {
  1183. for (var i6 = this.uv(-1), s4 = -1; i6 != -1; ) {
  1184. var n4 = t5.compare(this, i6);
  1185. if (n4 == 0)
  1186. return i6;
  1187. 0 > n4 ? i6 = this.nl(i6) : (s4 = i6, i6 = this.Zp(i6));
  1188. }
  1189. return s4;
  1190. }, i5.prototype.oJ = function(t5) {
  1191. for (var i6 = this.uv(-1), s4 = -1; i6 != -1; ) {
  1192. var n4 = t5.compare(this, i6);
  1193. if (n4 == 0)
  1194. return i6;
  1195. 0 > n4 ? (s4 = i6, i6 = this.nl(i6)) : i6 = this.Zp(i6);
  1196. }
  1197. return s4;
  1198. }, i5.prototype.ka = function(t5) {
  1199. return this.ob.U(t5, 3);
  1200. }, i5.prototype.nl = function(t5) {
  1201. return this.ob.U(t5, 0);
  1202. }, i5.prototype.Zp = function(t5) {
  1203. return this.ob.U(t5, 1);
  1204. }, i5.prototype.getParent = function(t5) {
  1205. return this.ob.U(t5, 2);
  1206. }, i5.prototype.lb = function(t5) {
  1207. return this.ob.U(t5, 6);
  1208. }, i5.prototype.xe = function(t5) {
  1209. return this.ob.U(t5, 5);
  1210. }, i5.prototype.sc = function(t5) {
  1211. return t5 == -1 ? this.ml(this.Ne) : this.ml(t5);
  1212. }, i5.prototype.Gc = function(t5) {
  1213. return t5 == -1 ? this.bs(this.Ne) : this.bs(t5);
  1214. }, i5.prototype.SR = function(t5) {
  1215. return t5 == -1 ? this.WF(this.Ne) : this.WF(t5);
  1216. }, i5.prototype.Uj = function(t5, i6) {
  1217. this.HB(t5, i6);
  1218. }, i5.prototype.uv = function(t5) {
  1219. return t5 == -1 ? this.SF(this.Ne) : this.SF(t5);
  1220. }, i5.prototype.clear = function() {
  1221. this.ob.oj(false), this.Ne = -1;
  1222. }, i5.prototype.size = function(t5) {
  1223. return t5 == -1 ? this.UF(this.Ne) : this.UF(t5);
  1224. }, i5.prototype.EN = function(t5, i6) {
  1225. for (var s4 = i6[7 * t5], n4 = i6[7 * t5 + 1], h2 = i6[7 * t5 + 4]; s4 != -1 || n4 != -1; ) {
  1226. var r2 = s4 != -1 ? i6[7 * s4 + 4] : 2147483647;
  1227. if (n4 = n4 != -1 ? i6[7 * n4 + 4] : 2147483647, h2 <= Math.min(r2, n4))
  1228. break;
  1229. r2 <= n4 ? this.mJ(s4, i6) : this.lJ(t5, i6), s4 = i6[7 * t5], n4 = i6[7 * t5 + 1];
  1230. }
  1231. }, i5.prototype.ky = function(t5, i6) {
  1232. if (this.Tv)
  1233. for (var s4 = i6[7 * t5 + 4], n4 = i6[7 * t5 + 2]; n4 != -1 && i6[7 * n4 + 4] > s4; )
  1234. i6[7 * n4] == t5 ? this.mJ(t5, i6) : this.lJ(n4, i6), n4 = i6[7 * t5 + 2];
  1235. }, i5.prototype.lJ = function(t5, i6) {
  1236. var s4 = i6[7 * t5 + 1];
  1237. i6[7 * s4 + 2] = i6[7 * t5 + 2], i6[7 * t5 + 2] = s4;
  1238. var n4 = i6[7 * s4];
  1239. i6[7 * t5 + 1] = n4, n4 != -1 && (i6[7 * n4 + 2] = t5), i6[7 * s4] = t5, (n4 = i6[7 * s4 + 2]) != -1 && (i6[7 * n4] == t5 ? i6[7 * n4] = s4 : i6[7 * n4 + 1] = s4);
  1240. }, i5.prototype.mJ = function(t5, i6) {
  1241. var s4 = i6[7 * t5 + 2];
  1242. i6[7 * t5 + 2] = i6[7 * s4 + 2], i6[7 * s4 + 2] = t5;
  1243. var n4 = i6[7 * t5 + 1];
  1244. i6[7 * s4] = n4, n4 != -1 && (i6[7 * n4 + 2] = s4), i6[7 * t5 + 1] = s4, (n4 = i6[7 * t5 + 2]) != -1 && (i6[7 * n4] === s4 ? i6[7 * n4] = t5 : i6[7 * n4 + 1] = t5);
  1245. }, i5.prototype.Qk = function(t5, i6) {
  1246. this.ob.T(t5, 2, i6);
  1247. }, i5.prototype.NB = function(t5, i6) {
  1248. this.ob.T(t5, 0, i6);
  1249. }, i5.prototype.RB = function(t5, i6) {
  1250. this.ob.T(t5, 1, i6);
  1251. }, i5.prototype.QB = function(t5, i6) {
  1252. this.ob.T(t5, 5, i6);
  1253. }, i5.prototype.fx = function(t5, i6) {
  1254. this.ob.T(t5, 6, i6);
  1255. }, i5.prototype.RJ = function(t5, i6) {
  1256. this.ob.T(i6, 0, t5);
  1257. }, i5.prototype.jX = function(t5) {
  1258. this.ob.T(t5, 4, 0);
  1259. }, i5.prototype.mX = function(t5, i6) {
  1260. this.ob.T(i6, 5, t5);
  1261. }, i5.prototype.SF = function(t5) {
  1262. return t5 == -1 ? -1 : this.ob.U(t5, 0);
  1263. }, i5.prototype.ml = function(t5) {
  1264. return t5 == -1 ? -1 : this.ob.U(t5, 1);
  1265. }, i5.prototype.bs = function(t5) {
  1266. return t5 == -1 ? -1 : this.ob.U(t5, 2);
  1267. }, i5.prototype.cR = function(t5) {
  1268. return t5 == -1 ? -1 : this.ob.U(t5, 3);
  1269. }, i5.prototype.UF = function(t5) {
  1270. return t5 == -1 ? 0 : this.ob.U(t5, 4);
  1271. }, i5.prototype.WF = function(t5) {
  1272. return this.ob.U(t5, 5);
  1273. }, i5.prototype.Rw = function() {
  1274. return this.ob.Nl([-1, -1, -1, void 0, this.il(), -1, -1]);
  1275. }, i5.prototype.hl = function(t5) {
  1276. t5 != -1 && this.ob.kd(t5);
  1277. }, i5.prototype.il = function() {
  1278. return this.Vm = t4.P.WA(this.Vm), 1073741823 & this.Vm;
  1279. }, i5.prototype.zD = function(t5, i6, s4) {
  1280. var n4 = this.ob.o;
  1281. if (s4 == -1 || n4[7 * s4] == -1)
  1282. return t5 = this.ob.Nl([-1, -1, -1, t5, this.il(), -1, -1]), (n4 = this.ob.o)[7 * s4] = t5, this.xp(-1, t5, s4, n4), t5;
  1283. for (var h2 = s4 == -1 ? -1 : n4[7 * s4]; ; ) {
  1284. var r2 = i6 == -1 ? 1 : this.$n.compare(this, t5, h2);
  1285. if (0 > r2) {
  1286. if ((r2 = this.nl(h2)) == -1) {
  1287. i6 = h2, t5 = this.ob.Nl([-1, -1, h2, t5, this.il(), -1, -1]), (n4 = this.ob.o)[7 * h2] = t5;
  1288. break;
  1289. }
  1290. h2 = r2;
  1291. } else {
  1292. if (i6 == 1 && r2 == 0)
  1293. return n4[7 * s4 + 3] = h2, -1;
  1294. if ((r2 = n4[7 * h2 + 1]) == -1) {
  1295. i6 = n4[7 * h2 + 6], t5 = this.ob.Nl([-1, -1, h2, t5, this.il(), -1, -1]), (n4 = this.ob.o)[7 * h2 + 1] = t5;
  1296. break;
  1297. }
  1298. h2 = r2;
  1299. }
  1300. }
  1301. return this.ky(t5, n4), n4[7 * t5 + 2] === -1 && (n4[7 * s4] = t5), this.xp(i6, t5, s4, n4), t5;
  1302. }, i5.prototype.xp = function(t5, i6, s4, n4) {
  1303. if (t5 != -1) {
  1304. var h2 = n4[7 * t5 + 5];
  1305. n4[7 * t5 + 5] = i6;
  1306. } else
  1307. h2 = s4 == -1 ? -1 : n4[7 * s4 + 2];
  1308. n4[7 * i6 + 5] = h2, h2 != -1 && (n4[7 * h2 + 6] = i6), n4[7 * i6 + 6] = t5, t5 == (s4 == -1 ? -1 : n4[7 * s4 + 1]) && (n4[7 * s4 + 1] = i6), t5 == -1 && (n4[7 * s4 + 2] = i6), n4[7 * s4 + 4] = (s4 == -1 ? 0 : n4[7 * s4 + 4]) + 1;
  1309. }, i5.prototype.uB = function(t5, i6) {
  1310. var s4 = this.ob.o, n4 = s4[7 * t5 + 5];
  1311. t5 = s4[7 * t5 + 6], n4 != -1 ? s4[7 * n4 + 6] = t5 : s4[7 * i6 + 1] = t5, t5 != -1 ? s4[7 * t5 + 5] = n4 : s4[7 * i6 + 2] = n4, s4[7 * i6 + 4] = i6 === -1 ? -1 : s4[7 * i6 + 4] - 1;
  1312. }, i5.prototype.aY = function(i6, s4) {
  1313. this.uB(i6, s4);
  1314. var n4 = this.nl(i6), h2 = this.Zp(i6), r2 = this.getParent(i6), e2 = i6;
  1315. if (n4 != -1 && h2 != -1) {
  1316. this.Vm = t4.P.WA(this.Vm);
  1317. var o2 = 1073741823 < this.Vm ? this.lb(i6) : this.xe(i6), a2 = this.getParent(o2) == i6;
  1318. this.ob.aC(i6, o2, 0), this.ob.aC(i6, o2, 1), this.ob.aC(i6, o2, 2), r2 != -1 ? this.nl(r2) == i6 ? this.NB(r2, o2) : this.RB(r2, o2) : this.RJ(o2, s4), a2 ? (n4 == o2 ? (this.NB(o2, i6), this.Qk(h2, o2)) : h2 == o2 && (this.RB(o2, i6), this.Qk(n4, o2)), this.Qk(i6, o2), r2 = o2) : (this.Qk(n4, o2), this.Qk(h2, o2), r2 = this.getParent(i6), e2 = o2), n4 = this.nl(i6), h2 = this.Zp(i6), n4 != -1 && this.Qk(n4, i6), h2 != -1 && this.Qk(h2, i6);
  1319. }
  1320. n4 = n4 != -1 ? n4 : h2, r2 == -1 ? this.RJ(n4, s4) : this.nl(r2) == e2 ? this.NB(r2, n4) : this.RB(r2, n4), n4 != -1 && this.Qk(n4, r2), this.hl(i6);
  1321. }, i5.prototype.FP = function(t5, i6) {
  1322. var s4 = this.ob.o;
  1323. s4[7 * t5 + 4] = 2147483647;
  1324. var n4 = -1, h2 = -1, r2 = i6 === -1 ? -1 : s4[7 * i6], e2 = r2 == t5;
  1325. if (e2 && (n4 = s4[7 * r2], h2 = s4[7 * r2 + 1], n4 == -1 && h2 == -1))
  1326. return this.uB(r2, i6), this.hl(r2), void (s4[7 * i6] = -1);
  1327. this.EN(t5, s4), (r2 = s4[7 * t5 + 2]) != -1 && (s4[7 * r2] == t5 ? s4[7 * r2] = -1 : s4[7 * r2 + 1] = -1), this.uB(t5, i6), this.hl(t5), e2 && (s4[7 * i6] = n4 == -1 || s4[7 * n4 + 2] != -1 ? h2 : n4);
  1328. }, i5.prototype.HB = function(t5, i6) {
  1329. this.ob.T(t5, 3, i6);
  1330. }, i5;
  1331. }();
  1332. t4.Zj = i4;
  1333. }(V || (V = {})), function(t4) {
  1334. var i4 = function() {
  1335. function i5(t5, i6) {
  1336. t5 !== void 0 && this.L(t5, i6);
  1337. }
  1338. return i5.prototype.L = function(t5, i6) {
  1339. this.pa = t5, this.wa = i6, this.normalize();
  1340. }, i5.prototype.isIntersecting = function(t5) {
  1341. return this.pa <= t5.pa ? this.wa >= t5.pa : t5.wa >= this.pa;
  1342. }, i5.prototype.move = function(t5) {
  1343. this.B() || (this.pa += t5, this.wa += t5);
  1344. }, i5.prototype.normalize = function() {
  1345. if (!isNaN(this.pa)) {
  1346. if (this.pa > this.wa) {
  1347. var t5 = this.pa;
  1348. this.pa = this.wa, this.wa = t5;
  1349. }
  1350. isNaN(this.wa) && this.Pa();
  1351. }
  1352. }, i5.prototype.Pa = function() {
  1353. this.wa = this.pa = NaN;
  1354. }, i5.prototype.B = function() {
  1355. return isNaN(this.pa);
  1356. }, i5.prototype.$b = function(t5) {
  1357. typeof t5 == "number" ? this.B() ? this.wa = this.pa = t5 : this.Mk(t5) : t5.B() || (this.B() ? (this.pa = t5.pa, this.wa = t5.wa) : (this.pa > t5.pa && (this.pa = t5.pa), this.wa < t5.wa && (this.wa = t5.wa), this.pa > this.wa && this.Pa()));
  1358. }, i5.prototype.Mk = function(t5) {
  1359. t5 < this.pa ? this.pa = t5 : t5 > this.wa && (this.wa = t5);
  1360. }, i5.prototype.contains = function(t5) {
  1361. return typeof t5 == "number" ? t5 >= this.pa && t5 <= this.wa : t5.pa >= this.pa && t5.wa <= this.wa;
  1362. }, i5.prototype.Fa = function(t5) {
  1363. this.B() || t5.B() ? this.Pa() : (this.pa < t5.pa && (this.pa = t5.pa), this.wa > t5.wa && (this.wa = t5.wa), this.pa > this.wa && this.Pa());
  1364. }, i5.prototype.X = function(t5) {
  1365. this.B() || (this.pa -= t5, this.wa += t5, this.wa < this.pa && this.Pa());
  1366. }, i5.prototype.zr = function() {
  1367. return this.B() ? 2220446049250313e-29 : 2220446049250313e-29 * (Math.abs(this.pa) + Math.abs(this.wa) + 1);
  1368. }, i5.prototype.EB = function(t5, i6) {
  1369. t5 > i6 ? (this.pa = i6, this.wa = t5) : (this.pa = t5, this.wa = i6);
  1370. }, i5.prototype.Kt = function(i6) {
  1371. return t4.P.Sk(i6, this.pa, this.wa);
  1372. }, i5.prototype.S = function() {
  1373. return this.wa - this.pa;
  1374. }, i5.prototype.tf = function() {
  1375. return 0.5 * (this.pa + this.wa);
  1376. }, i5.prototype.Nb = function(t5) {
  1377. return t5 == this || t5 instanceof i5 && (!(!this.B() || !t5.B()) || this.pa == t5.pa && this.wa == t5.wa);
  1378. }, i5.prototype.dc = function() {
  1379. return t4.P.wj(t4.P.wj());
  1380. }, i5;
  1381. }();
  1382. t4.Oc = i4;
  1383. }(V || (V = {})), function(t4) {
  1384. var i4 = new t4.Oc(), s4 = new t4.Oc(), n4 = function() {
  1385. this.ne = null, this.pb = -1, this.tb = new t4.zb(), this.kA = 55555555, this.Vv = this.Xv = false, this.Vf = new t4.Oc(), this.Vf.EB(0, 0);
  1386. };
  1387. t4.AY = n4;
  1388. var h2 = function() {
  1389. function h3(i5, s5, h4) {
  1390. this.g = i5, this.Ik = NaN, this.HH = this.Mq = 0, this.IH = NaN, this.ra = s5, this.Pq = 10 * s5, this.JH = this.KH = NaN, this.rg = false, this.Fm = this.ht = this.Mo = this.Zs = this.Ys = -1, this.bA = h4, this.NA = new n4(), this.SH = new n4(), t4.P.truncate(3 * i5.gd / 2);
  1391. }
  1392. return h3.prototype.gG = function(t5, i5, s5, n5) {
  1393. t5.ne = n5 === null ? null : n5[s5[5 * i5]], t5.Vv = t5.ne != null, t5.Vv || ((n5 = s5[5 * i5 + 2]) !== -1 && this.g.eW(s5[5 * i5], s5[5 * n5], t5.tb), t5.ne = t5.tb, t5.Vf.EB(t5.tb.sa, t5.tb.qa), t5.Vf.wa += this.ra, t5.tb.lI(), t5.Xv = t5.tb.ma == t5.tb.oa, t5.Xv || (t5.kA = (t5.tb.qa - t5.tb.sa) / (t5.tb.ma - t5.tb.oa)));
  1394. }, h3.prototype.IO = function(t5, i5) {
  1395. var s5 = t5.Br(i5, this.ra, true);
  1396. return s5 != 0 ? s5 == 2 ? this.Ly() : this.zi() : (t5.$p(Z), t5.Vr(_), i5.$p(tt), i5.Vr(it), $.na(this.Mq, this.Ik), Z.rb(tt) && this.Ik == Z.y ? 0 > _.compare(it) ? $.N(_) : $.N(it) : Z.rb(it) && this.Ik == Z.y ? 0 > _.compare(tt) ? $.N(_) : $.N(tt) : tt.rb(_) && this.Ik == tt.y ? 0 > Z.compare(it) ? $.N(Z) : $.N(it) : _.rb(it) && this.Ik == _.y && (0 > Z.compare(tt) ? $.N(Z) : $.N(tt)), t5.Me($.y, $.x) < i5.Me($.y, $.x) ? -1 : 1);
  1397. }, h3.prototype.GO = function(t5, i5) {
  1398. if (t5.tb.oa == i5.tb.oa && t5.tb.sa == i5.tb.sa)
  1399. return t5.tb.ma == i5.tb.ma && t5.tb.qa == i5.tb.qa ? this.bA ? this.Ly() : 0 : this.JE(t5, i5);
  1400. if (t5.tb.ma == i5.tb.ma && t5.tb.qa == i5.tb.qa)
  1401. return this.IE(t5, i5);
  1402. var s5 = this.IE(t5, i5);
  1403. return t5 = this.JE(t5, i5), 0 > s5 && 0 > t5 ? -1 : 0 < s5 && 0 < t5 ? 1 : this.zi();
  1404. }, h3.prototype.CO = function(t5, i5) {
  1405. if (t5.qa > i5.qa) {
  1406. if (i5.qa > i5.sa && i5.ma - i5.oa < 2 * this.ra && t5.xi(i5.qa, i5.ma, this.ra))
  1407. return this.zi();
  1408. } else if ((i5.ma - i5.oa) / (i5.qa - i5.sa) * (t5.qa - t5.sa) < this.Pq && i5.xi(t5.qa, t5.ma, this.ra))
  1409. return this.zi();
  1410. return 1;
  1411. }, h3.prototype.DO = function(t5, i5) {
  1412. if (t5.sa < i5.sa) {
  1413. if (i5.qa > i5.sa && i5.ma - i5.oa < 2 * this.ra && t5.xi(i5.qa, i5.ma, this.ra))
  1414. return this.zi();
  1415. } else if ((i5.ma - i5.oa) / (i5.qa - i5.sa) * (t5.sa - t5.qa) < this.Pq && i5.xi(t5.sa, t5.oa, this.ra))
  1416. return this.zi();
  1417. return -1;
  1418. }, h3.prototype.EO = function(i5, s5) {
  1419. var n5 = new t4.h();
  1420. n5.vc(s5.xc(), s5.ac()), n5.cr(), n5.normalize();
  1421. var h4 = new t4.h();
  1422. h4.vc(i5.ac(), s5.ac());
  1423. var r2 = new t4.h();
  1424. r2.vc(i5.xc(), s5.ac()), h4 = h4.Sh(n5), n5 = r2.Sh(n5), r2 = Math.abs(h4);
  1425. var e2 = Math.abs(n5);
  1426. if (r2 < e2) {
  1427. if (r2 < this.Pq && s5.xi(i5.sa, i5.oa, this.ra))
  1428. return this.zi();
  1429. } else if (e2 < this.Pq && s5.xi(i5.qa, i5.ma, this.ra))
  1430. return this.zi();
  1431. return 0 > h4 && 0 > n5 ? -1 : 0 < h4 && 0 < n5 ? 1 : this.zi();
  1432. }, h3.prototype.HE = function(t5, i5) {
  1433. return t5.oa == i5.oa && t5.sa == i5.sa ? this.CO(t5, i5) : t5.ma == i5.ma && t5.qa == i5.qa ? this.DO(t5, i5) : this.EO(t5, i5);
  1434. }, h3.prototype.FO = function(t5, i5) {
  1435. return t5.ma == i5.ma && t5.qa == i5.qa && t5.oa == i5.oa && t5.sa == i5.sa ? this.bA ? this.Ly() : 0 : this.zi();
  1436. }, h3.prototype.IE = function(t5, i5) {
  1437. var s5 = 1;
  1438. if (t5.tb.oa < i5.tb.oa) {
  1439. s5 = -1;
  1440. var n5 = t5;
  1441. t5 = i5, i5 = n5;
  1442. }
  1443. t5 = t5.tb, n5 = i5.tb;
  1444. var h4 = t5.sa - n5.sa;
  1445. i5 = i5.kA * (t5.oa - n5.oa);
  1446. var r2 = this.Pq;
  1447. return h4 < i5 - r2 ? -s5 : h4 > i5 + r2 ? s5 : n5.xi(t5.sa, t5.oa, this.ra) ? this.zi() : h4 < i5 ? -s5 : s5;
  1448. }, h3.prototype.JE = function(t5, i5) {
  1449. var s5 = 1;
  1450. if (i5.tb.ma < t5.tb.ma) {
  1451. s5 = -1;
  1452. var n5 = t5;
  1453. t5 = i5, i5 = n5;
  1454. }
  1455. t5 = t5.tb, n5 = i5.tb;
  1456. var h4 = t5.qa - n5.sa;
  1457. i5 = i5.kA * (t5.ma - n5.oa);
  1458. var r2 = this.Pq;
  1459. return h4 < i5 - r2 ? -s5 : h4 > i5 + r2 ? s5 : n5.xi(t5.qa, t5.ma, this.ra) ? this.zi() : h4 < i5 ? -s5 : s5;
  1460. }, h3.prototype.Ly = function() {
  1461. return this.rg = true, this.Pi = new t4.Nd(5, this.Mo, this.ht), -1;
  1462. }, h3.prototype.zi = function() {
  1463. return this.rg = true, this.bA ? this.Pi = new t4.Nd(4, this.Mo, this.ht) : this.ht = this.Mo = this.Zs = this.Ys = -1, -1;
  1464. }, h3.prototype.HO = function(t5, n5, h4, r2) {
  1465. if (this.rg)
  1466. return -1;
  1467. var e2 = this.IH == this.Ik && this.HH == this.Mq;
  1468. if (e2 && t5 == this.Ys)
  1469. var o2 = this.JH;
  1470. else
  1471. o2 = NaN, this.Ys = -1;
  1472. return e2 && n5 == this.Zs ? e2 = this.KH : (e2 = NaN, this.Zs = -1), h4.ne.TI(i4), r2.ne.TI(s4), i4.wa < s4.pa ? -1 : s4.wa < i4.pa ? 1 : (this.IH = this.Ik, this.HH = this.Mq, isNaN(o2) && (this.Ys = t5, this.JH = o2 = t5 = h4.ne.Me(this.Ik, this.Mq)), isNaN(e2) && (this.Zs = n5, this.KH = e2 = t5 = r2.ne.Me(this.Ik, this.Mq)), Math.abs(o2 - e2) <= this.ra ? this.IO(h4.ne, r2.ne) : o2 < e2 ? -1 : o2 > e2 ? 1 : 0);
  1473. }, h3.prototype.Mr = function() {
  1474. this.rg = false;
  1475. }, h3.prototype.tm = function() {
  1476. return this.Pi;
  1477. }, h3.prototype.UJ = function(t5, i5) {
  1478. this.Ik = t5, this.Mq = i5, this.ht = this.Mo = this.Zs = this.Ys = -1;
  1479. }, h3.prototype.compare = function(t5, i5, s5) {
  1480. return this.rg ? -1 : (t5 = t5.ka(s5), this.Fm = s5, this.LE(i5, i5, t5, t5));
  1481. }, h3.prototype.LE = function(t5, i5, s5, n5) {
  1482. if (this.Mo == i5)
  1483. var h4 = this.NA;
  1484. else
  1485. this.Mo = i5, h4 = this.NA, this.NA.pb = t5, this.gG(h4, i5, this.g.ud.o, this.g.Te);
  1486. if (r2 == null) {
  1487. this.ht = n5;
  1488. var r2 = this.SH;
  1489. this.SH.pb = s5, this.gG(r2, n5, this.g.ud.o, this.g.Te);
  1490. }
  1491. return h4.Vv || r2.Vv ? this.HO(i5, n5, h4, r2) : h4.Vf.wa < r2.Vf.pa ? -1 : r2.Vf.wa < h4.Vf.pa ? 1 : (t5 = h4.Xv ? 1 : 0, (t5 |= r2.Xv ? 2 : 0) == 0 ? this.GO(h4, r2) : t5 == 1 ? this.HE(h4.tb, r2.tb) : t5 == 2 ? -1 * this.HE(r2.tb, h4.tb) : this.FO(h4.tb, r2.tb));
  1492. }, h3;
  1493. }();
  1494. t4.OC = h2;
  1495. }(V || (V = {})), function(t4) {
  1496. var i4 = function() {
  1497. function i5(i6, s4) {
  1498. this.g = i6, this.ra = s4, this.rg = false, this.Mo = -1, this.Vf = new t4.Oc(), this.Iq = new t4.h(), this.Iq.Sc(), this.ie = new t4.zb(), this.Fm = -1, this.vA = 17976931348623157e292;
  1499. }
  1500. return i5.prototype.Mr = function() {
  1501. this.rg = false, this.vA = 17976931348623157e292;
  1502. }, i5.prototype.Fh = function(t5) {
  1503. this.Iq.N(t5);
  1504. }, i5.prototype.compare = function(t5, i6) {
  1505. return this.ME(i6, t5.ka(i6));
  1506. }, i5.prototype.ME = function(i6, s4) {
  1507. var n4 = this.g.cc(s4) != null;
  1508. if (n4 || (this.g.fd(s4, this.ie), this.Vf.EB(this.ie.sa, this.ie.qa)), n4)
  1509. throw t4.i.ga("not implemented");
  1510. if (this.Iq.x + this.ra < this.Vf.pa)
  1511. return -1;
  1512. if (this.Iq.x - this.ra > this.Vf.wa)
  1513. return 1;
  1514. if (this.ie.oa == this.ie.ma)
  1515. return this.Fm = i6, this.rg = true, 0;
  1516. this.ie.lI(), n4 = this.ie.ac(), (s4 = new t4.h()).vc(this.ie.xc(), n4), s4.cr();
  1517. var h2 = new t4.h();
  1518. return h2.vc(this.Iq, n4), n4 = s4.Sh(h2), (n4 /= s4.length()) < 10 * -this.ra ? -1 : n4 > 10 * this.ra ? 1 : this.ie.ss(this.Iq, this.ra) && ((s4 = Math.abs(n4)) < this.vA && (this.Fm = i6, this.vA = s4), this.rg = true, s4 < 0.25 * this.ra) ? 0 : 0 > n4 ? -1 : 1;
  1519. }, i5;
  1520. }();
  1521. t4.VL = i4;
  1522. }(V || (V = {})), function(t4) {
  1523. function i4(t5, i5, s5, n4) {
  1524. s5 = new Float64Array(t5.subarray(s5, n4)), t5.set(s5, i5);
  1525. }
  1526. var s4 = function() {
  1527. function s5(t5) {
  1528. this.Pb = this.qk = false, this.o = null;
  1529. var i5 = t5;
  1530. 2 > i5 && (i5 = 2), this.o = new Float64Array(i5), this.size = t5;
  1531. }
  1532. return s5.prototype.rotate = function(i5, s6, n4) {
  1533. if (this.Pb)
  1534. throw t4.i.ga("invalid_call");
  1535. if (s6 < i5 || s6 > n4 || i5 > n4)
  1536. throw t4.i.O();
  1537. i5 != s6 && n4 != s6 && (this.pi(i5, s6 - i5, 1), this.pi(s6, n4 - s6, 1), this.pi(i5, n4 - i5, 1));
  1538. }, s5.rf = function(t5, i5) {
  1539. var n4 = new s5(t5), h2 = n4.o;
  1540. if (2 > t5 && (t5 = 2), i5 !== 0)
  1541. for (var r2 = 0; r2 < t5; r2++)
  1542. h2[r2] = i5;
  1543. return n4;
  1544. }, s5.Cn = function(t5) {
  1545. var i5 = new s5(0);
  1546. return i5.o = new Float64Array(t5.o), i5.size = t5.size, i5;
  1547. }, s5.Nr = function(t5, i5) {
  1548. var n4 = new s5(0);
  1549. return n4.size = t5.size, n4.size > i5 && (n4.size = i5), 2 > (i5 = n4.size) && (i5 = 2), n4.o = new Float64Array(i5), n4.o.set(t5.o.length <= i5 ? t5.o : t5.o.subarray(0, i5), 0), n4;
  1550. }, s5.prototype.Jb = function(t5) {
  1551. 0 >= t5 || (this.o == null ? this.o = new Float64Array(t5) : t5 <= this.o.length || (0 < this.o.length ? ((t5 = new Float64Array(t5)).set(this.o), this.o = t5) : this.o = new Float64Array(t5)));
  1552. }, s5.prototype.read = function(t5) {
  1553. return this.o[t5];
  1554. }, s5.prototype.uc = function(t5, i5) {
  1555. i5.x = this.o[t5], i5.y = this.o[t5 + 1];
  1556. }, s5.prototype.get = function(t5) {
  1557. return this.o[t5];
  1558. }, s5.prototype.write = function(i5, s6) {
  1559. if (this.Pb)
  1560. throw t4.i.Hb();
  1561. this.o[i5] = s6;
  1562. }, s5.prototype.set = function(i5, s6) {
  1563. if (this.Pb)
  1564. throw t4.i.Hb();
  1565. this.o[i5] = s6;
  1566. }, s5.prototype.Vt = function(i5, s6) {
  1567. if (this.Pb)
  1568. throw t4.i.Hb();
  1569. this.o[i5] = s6.x, this.o[i5 + 1] = s6.y;
  1570. }, s5.prototype.add = function(t5) {
  1571. this.resize(this.size + 1), this.o[this.size - 1] = t5;
  1572. }, s5.prototype.AB = function(t5) {
  1573. return s5.Nr(this, t5);
  1574. }, s5.prototype.Bg = function(t5) {
  1575. return this.read(t5);
  1576. }, s5.prototype.resize = function(i5, s6) {
  1577. if (s6 === void 0 && (s6 = 0), this.qk)
  1578. throw t4.i.ga("invalid call. Attribute Stream is locked and cannot be resized.");
  1579. if (i5 <= this.size) {
  1580. if (30 < this.o.length && 5 * i5 / 4 < this.o.length) {
  1581. var n4 = new Float64Array(this.o, 0, i5);
  1582. this.o = n4;
  1583. }
  1584. } else {
  1585. i5 > this.o.length && (n4 = t4.P.truncate(64 > i5 ? Math.max(2 * i5, 4) : 5 * i5 / 4), (n4 = new Float64Array(n4)).set(this.o), this.o = n4), n4 = this.o;
  1586. for (var h2 = this.size; h2 < i5; h2++)
  1587. n4[h2] = s6;
  1588. }
  1589. this.size = i5;
  1590. }, s5.prototype.Dh = function(i5) {
  1591. if ((this.o == null || i5 > this.o.length) && this.resize(i5), this.qk)
  1592. throw t4.i.ga("invalid call. Attribute Stream is locked and cannot be resized.");
  1593. this.size = i5;
  1594. }, s5.prototype.rr = function(t5, i5) {
  1595. this.write(t5, i5);
  1596. }, s5.prototype.Bn = function(i5, s6, n4) {
  1597. for (var h2 = this.size; s6 < h2 && s6 < n4; s6++)
  1598. i5 = t4.P.wj(this.read(s6));
  1599. return i5;
  1600. }, s5.prototype.Nb = function(t5, i5, n4) {
  1601. if (t5 == null || !(t5 instanceof s5))
  1602. return false;
  1603. var h2 = this.size, r2 = t5.size;
  1604. if (n4 > h2 || n4 > r2 && h2 != r2)
  1605. return false;
  1606. for (n4 > h2 && (n4 = h2); i5 < n4; i5++)
  1607. if (this.read(i5) != t5.read(i5))
  1608. return false;
  1609. return true;
  1610. }, s5.prototype.addRange = function(i5, s6, n4, h2, r2) {
  1611. if (this.Pb)
  1612. throw t4.i.Hb();
  1613. if (!h2 && (1 > r2 || n4 % r2 != 0))
  1614. throw t4.i.O();
  1615. var e2 = this.size;
  1616. if (this.resize(e2 + n4), h2)
  1617. this.o.set(i5.o.subarray(s6, s6 + n4), e2);
  1618. else {
  1619. h2 = n4;
  1620. for (var o2 = 0; o2 < n4; o2 += r2) {
  1621. h2 -= r2;
  1622. for (var a2 = 0; a2 < r2; a2++)
  1623. this.o[e2 + o2 + a2] = i5.o[s6 + h2 + a2];
  1624. }
  1625. }
  1626. }, s5.prototype.Nn = function(s6, n4, h2, r2, e2, o2, a2) {
  1627. if (this.Pb)
  1628. throw t4.i.Hb();
  1629. if (!e2 && (1 > o2 || r2 % o2 != 0))
  1630. throw t4.i.O();
  1631. var u2 = this.size - a2;
  1632. if (u2 < r2 && this.resize(this.size + r2 - u2), i4(this.o, s6 + r2, s6, s6 + (a2 - s6)), this.o == n4.o && s6 < h2 && (h2 += r2), e2)
  1633. this.o.set(n4.o.subarray(h2, h2 + r2), s6);
  1634. else
  1635. for (e2 = r2, a2 = 0; a2 < r2; a2 += o2)
  1636. for (e2 -= o2, u2 = 0; u2 < o2; u2++)
  1637. this.o[s6 + a2 + u2] = n4.o[h2 + e2 + u2];
  1638. }, s5.prototype.Dz = function(s6, n4, h2, r2, e2, o2) {
  1639. if (this.Pb)
  1640. throw t4.i.Hb();
  1641. if (0 > o2 && (o2 = this.size), this.size + 2 * r2 > this.o.length ? this.resize(this.size + 2 * r2) : this.size += 2 * r2, i4(this.o, s6 + 2 * r2, s6, s6 + (o2 - s6)), e2)
  1642. for (e2 = 0; e2 < r2; e2++)
  1643. o2 = n4[h2++], this.o[s6++] = o2.x, this.o[s6++] = o2.y;
  1644. else {
  1645. e2 = 0;
  1646. for (var a2 = r2 - 1; e2 < r2; ++e2)
  1647. o2 = n4[h2 + a2], this.o[s6++] = o2.x, this.o[s6++] = o2.y, a2--;
  1648. }
  1649. }, s5.prototype.Mn = function(s6, n4, h2, r2) {
  1650. if (this.Pb)
  1651. throw t4.i.Hb();
  1652. for (r2 -= s6, i4(this.o, s6 + r2, s6, s6 + r2), r2 = 0; r2 < h2; r2++)
  1653. this.o[s6 + r2] = n4;
  1654. }, s5.prototype.xj = function(s6, n4, h2) {
  1655. if (this.Pb)
  1656. throw t4.i.Hb();
  1657. i4(this.o, s6 + 2, s6, s6 + (h2 - s6)), this.o[s6] = n4.x, this.o[s6 + 1] = n4.y;
  1658. }, s5.prototype.Wt = function(i5, s6, n4, h2, r2, e2) {
  1659. if (0 > i5 || 0 > s6 || 0 > h2)
  1660. throw t4.i.O();
  1661. if (!r2 && (0 >= e2 || s6 % e2 != 0))
  1662. throw t4.i.O();
  1663. if (n4.size < h2 + s6)
  1664. throw t4.i.O();
  1665. if (s6 != 0)
  1666. if (this.size < s6 + i5 && this.resize(s6 + i5), n4 == this)
  1667. this.Cr(i5, s6, h2, r2, e2);
  1668. else if (r2)
  1669. for (r2 = 0; r2 < s6; r2++)
  1670. this.o[i5] = n4.o[h2], i5++, h2++;
  1671. else if (h2 = h2 + s6 - e2, e2 == 1)
  1672. for (r2 = 0; r2 < s6; r2++)
  1673. this.o[i5] = n4.o[h2], i5++, h2--;
  1674. else
  1675. for (r2 = 0, s6 = t4.P.truncate(s6 / e2); r2 < s6; r2++) {
  1676. for (var o2 = 0; o2 < e2; o2++)
  1677. this.o[i5 + o2] = n4.o[h2 + o2];
  1678. i5 += e2, h2 -= e2;
  1679. }
  1680. }, s5.prototype.Fn = function(s6, n4, h2) {
  1681. if (this.Pb)
  1682. throw t4.i.Hb();
  1683. if (s6 + n4 > this.size)
  1684. throw t4.i.Hb();
  1685. 0 < h2 - (s6 + n4) && i4(this.o, s6, s6 + n4, s6 + (h2 - (s6 + n4)) + n4), this.size -= n4;
  1686. }, s5.prototype.pi = function(i5, s6, n4) {
  1687. if (this.Pb)
  1688. throw t4.i.Hb();
  1689. if (1 > n4 || s6 % n4 != 0)
  1690. throw t4.i.Hb();
  1691. for (var h2 = s6 >> 1, r2 = 0; r2 < h2; r2 += n4) {
  1692. s6 -= n4;
  1693. for (var e2 = 0; e2 < n4; e2++) {
  1694. var o2 = this.o[i5 + r2 + e2];
  1695. this.o[i5 + r2 + e2] = this.o[i5 + s6 + e2], this.o[i5 + s6 + e2] = o2;
  1696. }
  1697. }
  1698. }, s5.prototype.Yj = function(i5, s6, n4) {
  1699. if (0 > s6 || 0 > n4 || 0 > s6 || n4 + s6 > this.size)
  1700. throw t4.i.O();
  1701. for (var h2 = s6; h2 < s6 + n4; h2++)
  1702. this.o[h2] = i5;
  1703. }, s5.prototype.Cr = function(i5, s6, n4, h2, r2) {
  1704. if (!(h2 && i5 == n4 || (this.o.set(this.o.subarray(n4, n4 + s6), i5), h2)))
  1705. for (n4 = i5, i5 = i5 + s6 - r2, h2 = 0, s6 = t4.P.truncate(s6 / 2); h2 < s6; h2++) {
  1706. for (var e2 = 0; e2 < r2; e2++) {
  1707. var o2 = this.o[n4 + e2];
  1708. this.o[n4 + e2] = this.o[i5 + e2], this.o[i5 + e2] = o2;
  1709. }
  1710. n4 += r2, i5 -= r2;
  1711. }
  1712. }, s5.prototype.pC = function(i5, s6, n4, h2, r2) {
  1713. if (0 > i5 || 0 > s6 || 0 > h2)
  1714. throw t4.i.O();
  1715. if (s6 != 0)
  1716. for (this.size < (s6 << 1) + i5 && this.resize((s6 << 1) + i5), r2 || (i5 += s6 - 1 << 1), r2 = r2 ? 2 : -2, s6 += h2; h2 < s6; h2++)
  1717. this.o[i5] = n4[h2].x, this.o[i5 + 1] = n4[h2].y, i5 += r2;
  1718. }, s5.prototype.oC = function(i5, s6, n4) {
  1719. if (0 > i5 || 0 > s6)
  1720. throw t4.i.O();
  1721. if (s6 != 0) {
  1722. this.size < (s6 << 1) + i5 && this.resize((s6 << 1) + i5), s6 += 0;
  1723. for (var h2 = 0; h2 < s6; h2++)
  1724. this.o[i5] = n4[h2][0], this.o[i5 + 1] = n4[h2][1], i5 += 2;
  1725. }
  1726. }, s5.prototype.Xw = function(i5, s6, n4, h2, r2) {
  1727. if (0 > i5 || 0 > s6 || 0 > h2 || this.size < s6 + i5)
  1728. throw t4.i.O();
  1729. if (r2)
  1730. for (r2 = 0; r2 < s6; r2++)
  1731. n4[h2 + r2] = this.o[i5 + r2];
  1732. else
  1733. for (h2 = h2 + s6 - 1; i5 < s6; i5++)
  1734. n4[h2] = this.o[i5], h2--;
  1735. }, s5.prototype.oB = function(i5, s6, n4) {
  1736. if (0 > i5 || 0 > s6 || this.size < (s6 >> 1) + i5)
  1737. throw t4.i.O();
  1738. if (s6 != 0) {
  1739. s6 = 0 + s6;
  1740. for (var h2 = 0; h2 < s6; h2++)
  1741. n4[h2][0] = this.o[i5], n4[h2][1] = this.o[i5 + 1], i5 += 2;
  1742. }
  1743. }, s5.prototype.clear = function(t5) {
  1744. t5 ? this.resize(0) : this.Dh(0);
  1745. }, s5.prototype.ix = function() {
  1746. this.qk = this.Pb = true;
  1747. }, s5.prototype.Wd = function(t5, i5, s6) {
  1748. Array.prototype.sort.call(this.o.subarray(t5, i5), s6);
  1749. }, s5.prototype.Vp = function() {
  1750. return 1;
  1751. }, s5;
  1752. }();
  1753. t4.ce = s4;
  1754. }(V || (V = {})), function(t4) {
  1755. function i4(t5, i5, s5, n4) {
  1756. s5 = new Int32Array(t5.subarray(s5, n4)), t5.set(s5, i5);
  1757. }
  1758. t4.jY = function() {
  1759. this.random = 1973;
  1760. };
  1761. var s4 = function() {
  1762. function s5(t5) {
  1763. this.Pb = this.qk = false, this.o = null;
  1764. var i5 = t5;
  1765. 2 > i5 && (i5 = 2), this.o = new Int32Array(i5), this.size = t5;
  1766. }
  1767. return s5.prototype.rotate = function(i5, s6, n4) {
  1768. if (this.Pb)
  1769. throw t4.i.ga("invalid_call");
  1770. if (s6 < i5 || s6 > n4 || i5 > n4)
  1771. throw t4.i.O();
  1772. i5 != s6 && n4 != s6 && (this.pi(i5, s6 - i5, 1), this.pi(s6, n4 - s6, 1), this.pi(i5, n4 - i5, 1));
  1773. }, s5.rf = function(t5, i5) {
  1774. var n4 = new s5(t5), h2 = n4.o;
  1775. if (2 > t5 && (t5 = 2), i5 !== 0)
  1776. for (var r2 = 0; r2 < t5; r2++)
  1777. h2[r2] = i5;
  1778. return n4;
  1779. }, s5.Cn = function(t5) {
  1780. var i5 = new s5(0);
  1781. return i5.o = new Int32Array(t5.o), i5.size = t5.size, i5;
  1782. }, s5.Nr = function(t5, i5) {
  1783. var n4 = new s5(0);
  1784. return n4.size = t5.size, n4.size > i5 && (n4.size = i5), 2 > (i5 = n4.size) && (i5 = 2), n4.o = new Int32Array(i5), n4.o.set(t5.o.length <= i5 ? t5.o : t5.o.subarray(0, i5), 0), n4;
  1785. }, s5.prototype.Jb = function(t5) {
  1786. 0 >= t5 || (this.o == null ? this.o = new Int32Array(t5) : t5 <= this.o.length || (0 < this.o.length ? ((t5 = new Int32Array(t5)).set(this.o), this.o = t5) : this.o = new Int32Array(t5)));
  1787. }, s5.prototype.read = function(t5) {
  1788. return this.o[t5];
  1789. }, s5.prototype.uc = function(t5, i5) {
  1790. i5.x = this.o[t5], i5.y = this.o[t5 + 1];
  1791. }, s5.prototype.get = function(t5) {
  1792. return this.o[t5];
  1793. }, s5.prototype.write = function(i5, s6) {
  1794. if (this.Pb)
  1795. throw t4.i.Hb();
  1796. this.o[i5] = s6;
  1797. }, s5.prototype.set = function(i5, s6) {
  1798. if (this.Pb)
  1799. throw t4.i.Hb();
  1800. this.o[i5] = s6;
  1801. }, s5.prototype.Vt = function(i5, s6) {
  1802. if (this.Pb)
  1803. throw t4.i.Hb();
  1804. this.o[i5] = s6.x, this.o[i5 + 1] = s6.y;
  1805. }, s5.prototype.add = function(t5) {
  1806. this.resize(this.size + 1), this.o[this.size - 1] = t5;
  1807. }, s5.prototype.AB = function(t5) {
  1808. return s5.Nr(this, t5);
  1809. }, s5.prototype.Bg = function(t5) {
  1810. return this.read(t5);
  1811. }, s5.prototype.resize = function(i5, s6) {
  1812. if (s6 === void 0 && (s6 = 0), this.qk)
  1813. throw t4.i.ga("invalid call. Attribute Stream is locked and cannot be resized.");
  1814. if (i5 <= this.size) {
  1815. if (30 < this.o.length && 5 * i5 / 4 < this.o.length) {
  1816. var n4 = new Int32Array(this.o, 0, i5);
  1817. this.o = n4;
  1818. }
  1819. } else {
  1820. i5 > this.o.length && (n4 = t4.P.truncate(64 > i5 ? Math.max(2 * i5, 4) : 5 * i5 / 4), (n4 = new Int32Array(n4)).set(this.o), this.o = n4), n4 = this.o;
  1821. for (var h2 = this.size; h2 < i5; h2++)
  1822. n4[h2] = s6;
  1823. }
  1824. this.size = i5;
  1825. }, s5.prototype.Dh = function(i5) {
  1826. if ((this.o == null || i5 > this.o.length) && this.resize(i5), this.qk)
  1827. throw t4.i.ga("invalid call. Attribute Stream is locked and cannot be resized.");
  1828. this.size = i5;
  1829. }, s5.prototype.rr = function(t5, i5) {
  1830. this.write(t5, i5);
  1831. }, s5.prototype.Bn = function(i5, s6, n4) {
  1832. for (var h2 = this.size; s6 < h2 && s6 < n4; s6++)
  1833. i5 = t4.P.Vh(this.read(s6), i5);
  1834. return i5;
  1835. }, s5.prototype.Nb = function(t5, i5, n4) {
  1836. if (t5 == null || !(t5 instanceof s5))
  1837. return false;
  1838. var h2 = this.size, r2 = t5.size;
  1839. if (n4 > h2 || n4 > r2 && h2 != r2)
  1840. return false;
  1841. for (n4 > h2 && (n4 = h2); i5 < n4; i5++)
  1842. if (this.read(i5) != t5.read(i5))
  1843. return false;
  1844. return true;
  1845. }, s5.prototype.addRange = function(i5, s6, n4, h2, r2) {
  1846. if (this.Pb)
  1847. throw t4.i.Hb();
  1848. if (!h2 && (1 > r2 || n4 % r2 != 0))
  1849. throw t4.i.O();
  1850. var e2 = this.size;
  1851. if (this.resize(e2 + n4), h2)
  1852. this.o.set(i5.o.subarray(s6, s6 + n4), e2);
  1853. else {
  1854. h2 = n4;
  1855. for (var o2 = 0; o2 < n4; o2 += r2) {
  1856. h2 -= r2;
  1857. for (var a2 = 0; a2 < r2; a2++)
  1858. this.o[e2 + o2 + a2] = i5.o[s6 + h2 + a2];
  1859. }
  1860. }
  1861. }, s5.prototype.Nn = function(s6, n4, h2, r2, e2, o2, a2) {
  1862. if (this.Pb)
  1863. throw t4.i.Hb();
  1864. if (!e2 && (1 > o2 || r2 % o2 != 0))
  1865. throw t4.i.O();
  1866. if (i4(this.o, s6 + r2, s6, s6 + (a2 - s6)), this.o == n4.o && s6 < h2 && (h2 += r2), e2)
  1867. this.o.set(n4.o.subarray(h2, h2 + r2), s6);
  1868. else
  1869. for (e2 = r2, a2 = 0; a2 < r2; a2 += o2) {
  1870. e2 -= o2;
  1871. for (var u2 = 0; u2 < o2; u2++)
  1872. this.o[s6 + a2 + u2] = n4.o[h2 + e2 + u2];
  1873. }
  1874. }, s5.prototype.Dz = function(s6, n4, h2, r2, e2, o2) {
  1875. if (this.Pb)
  1876. throw t4.i.Hb();
  1877. if (0 > o2 && (o2 = this.size), this.size + 2 * r2 > this.o.length ? this.resize(this.size + 2 * r2) : this.size += 2 * r2, i4(this.o, s6 + 2 * r2, s6, s6 + (o2 - s6)), e2)
  1878. for (e2 = 0; e2 < r2; e2++)
  1879. o2 = n4[h2++], this.o[s6++] = o2.x, this.o[s6++] = o2.y;
  1880. else {
  1881. e2 = 0;
  1882. for (var a2 = r2 - 1; e2 < r2; ++e2)
  1883. o2 = n4[h2 + a2], this.o[s6++] = o2.x, this.o[s6++] = o2.y, a2--;
  1884. }
  1885. }, s5.prototype.Mn = function(s6, n4, h2, r2) {
  1886. if (this.Pb)
  1887. throw t4.i.Hb();
  1888. for (r2 -= s6, i4(this.o, s6 + r2, s6, s6 + r2), r2 = 0; r2 < h2; r2++)
  1889. this.o[s6 + r2] = n4;
  1890. }, s5.prototype.xj = function(s6, n4, h2) {
  1891. if (this.Pb)
  1892. throw t4.i.Hb();
  1893. i4(this.o, s6 + 2, s6, s6 + (h2 - s6)), this.o[s6] = n4.x, this.o[s6 + 1] = n4.y;
  1894. }, s5.prototype.Wt = function(i5, s6, n4, h2, r2, e2) {
  1895. if (0 > i5 || 0 > s6 || 0 > h2)
  1896. throw t4.i.O();
  1897. if (!r2 && (0 >= e2 || s6 % e2 != 0))
  1898. throw t4.i.O();
  1899. if (n4.size < h2 + s6)
  1900. throw t4.i.O();
  1901. if (s6 != 0)
  1902. if (this.size < s6 + i5 && this.resize(s6 + i5), n4 == this)
  1903. this.Cr(i5, s6, h2, r2, e2);
  1904. else if (r2)
  1905. for (r2 = 0; r2 < s6; r2++)
  1906. this.o[i5] = n4.o[h2], i5++, h2++;
  1907. else if (h2 = h2 + s6 - e2, e2 == 1)
  1908. for (r2 = 0; r2 < s6; r2++)
  1909. this.o[i5] = n4.o[h2], i5++, h2--;
  1910. else
  1911. for (r2 = 0, s6 = t4.P.truncate(s6 / e2); r2 < s6; r2++) {
  1912. for (var o2 = 0; o2 < e2; o2++)
  1913. this.o[i5 + o2] = n4.o[h2 + o2];
  1914. i5 += e2, h2 -= e2;
  1915. }
  1916. }, s5.prototype.Fn = function(s6, n4, h2) {
  1917. if (this.Pb)
  1918. throw t4.i.Hb();
  1919. if (s6 + n4 > this.size)
  1920. throw t4.i.Hb();
  1921. 0 < h2 - (s6 + n4) && i4(this.o, s6, s6 + n4, s6 + (h2 - (s6 + n4)) + n4), this.size -= n4;
  1922. }, s5.prototype.pi = function(i5, s6, n4) {
  1923. if (this.Pb)
  1924. throw t4.i.Hb();
  1925. if (1 > n4 || s6 % n4 != 0)
  1926. throw t4.i.Hb();
  1927. for (var h2 = s6 >> 1, r2 = 0; r2 < h2; r2 += n4) {
  1928. s6 -= n4;
  1929. for (var e2 = 0; e2 < n4; e2++) {
  1930. var o2 = this.o[i5 + r2 + e2];
  1931. this.o[i5 + r2 + e2] = this.o[i5 + s6 + e2], this.o[i5 + s6 + e2] = o2;
  1932. }
  1933. }
  1934. }, s5.prototype.Yj = function(i5, s6, n4) {
  1935. if (0 > s6 || 0 > n4 || 0 > s6 || n4 + s6 > this.size)
  1936. throw t4.i.O();
  1937. for (var h2 = s6; h2 < s6 + n4; h2++)
  1938. this.o[h2] = i5;
  1939. }, s5.prototype.Cr = function(i5, s6, n4, h2, r2) {
  1940. if (!(h2 && i5 == n4 || (this.o.set(this.o.subarray(n4, n4 + s6), i5), h2)))
  1941. for (n4 = i5, i5 = i5 + s6 - r2, h2 = 0, s6 = t4.P.truncate(s6 / 2); h2 < s6; h2++) {
  1942. for (var e2 = 0; e2 < r2; e2++) {
  1943. var o2 = this.o[n4 + e2];
  1944. this.o[n4 + e2] = this.o[i5 + e2], this.o[i5 + e2] = o2;
  1945. }
  1946. n4 += r2, i5 -= r2;
  1947. }
  1948. }, s5.prototype.pC = function(i5, s6, n4, h2, r2) {
  1949. if (0 > i5 || 0 > s6 || 0 > h2)
  1950. throw t4.i.O();
  1951. if (s6 != 0)
  1952. for (this.size < (s6 << 1) + i5 && this.resize((s6 << 1) + i5), r2 || (i5 += s6 - 1 << 1), r2 = r2 ? 2 : -2, s6 += h2; h2 < s6; h2++)
  1953. this.o[i5] = n4[h2].x, this.o[i5 + 1] = n4[h2].y, i5 += r2;
  1954. }, s5.prototype.Xw = function(i5, s6, n4, h2, r2) {
  1955. if (0 > i5 || 0 > s6 || 0 > h2 || this.size < s6 + i5)
  1956. throw t4.i.O();
  1957. if (r2)
  1958. for (r2 = 0; r2 < s6; r2++)
  1959. n4[h2 + r2] = this.o[i5 + r2];
  1960. else
  1961. for (h2 = h2 + s6 - 1; i5 < s6; i5++)
  1962. n4[h2] = this.o[i5], h2--;
  1963. }, s5.prototype.clear = function(t5) {
  1964. t5 ? this.resize(0) : this.Dh(0);
  1965. }, s5.prototype.ix = function() {
  1966. this.qk = this.Pb = true;
  1967. }, s5.prototype.Wd = function(t5, i5, n4) {
  1968. 10 > i5 - t5 ? s5.lG(this.o, t5, i5, n4) : s5.kB(this.o, t5, i5 - 1, n4);
  1969. }, s5.prototype.Vp = function() {
  1970. return 2;
  1971. }, s5.prototype.Gc = function() {
  1972. return this.o[this.size - 1];
  1973. }, s5.prototype.Jf = function() {
  1974. this.resize(this.size - 1);
  1975. }, s5.prototype.TW = function(t5) {
  1976. this.o[this.size - 1] = t5;
  1977. }, s5.prototype.KV = function(t5) {
  1978. t5 < this.size - 1 && (this.o[t5] = this.o[this.size - 1]), this.resize(this.size - 1);
  1979. }, s5.prototype.fF = function(t5) {
  1980. for (var i5 = 0, s6 = this.size; i5 < s6; i5++)
  1981. if (this.o[i5] == t5)
  1982. return i5;
  1983. return -1;
  1984. }, s5.prototype.bG = function(t5) {
  1985. return 0 <= this.fF(t5);
  1986. }, s5.lG = function(t5, i5, s6, n4) {
  1987. for (var h2 = i5; h2 < s6; h2++) {
  1988. for (var r2 = t5[h2], e2 = h2 - 1; e2 >= i5 && 0 < n4(t5[e2], r2); )
  1989. t5[e2 + 1] = t5[e2], e2--;
  1990. t5[e2 + 1] = r2;
  1991. }
  1992. }, s5.sx = function(t5, i5, s6) {
  1993. var n4 = t5[s6];
  1994. t5[s6] = t5[i5], t5[i5] = n4;
  1995. }, s5.kB = function(t5, i5, n4, h2) {
  1996. if (!(i5 >= n4))
  1997. for (; ; ) {
  1998. if (9 > n4 - i5) {
  1999. s5.lG(t5, i5, n4 + 1, h2);
  2000. break;
  2001. }
  2002. var r2 = t5[i5];
  2003. s5.sx(t5, i5, n4);
  2004. for (var e2 = i5, o2 = i5; o2 < n4; o2++)
  2005. 0 >= h2(t5[o2], r2) && (s5.sx(t5, e2, o2), e2 += 1);
  2006. s5.sx(t5, e2, n4), e2 - i5 < n4 - e2 ? (s5.kB(t5, i5, e2 - 1, h2), i5 = e2 + 1) : (s5.kB(t5, e2 + 1, n4, h2), n4 = e2 - 1);
  2007. }
  2008. }, s5;
  2009. }();
  2010. t4.ja = s4;
  2011. }(V || (V = {})), function(t4) {
  2012. function i4(t5, i5, s5, n4) {
  2013. s5 = new Int8Array(t5.subarray(s5, n4)), t5.set(s5, i5);
  2014. }
  2015. var s4 = function() {
  2016. function s5(t5) {
  2017. this.o = null;
  2018. var i5 = t5;
  2019. 2 > i5 && (i5 = 2), this.o = new Int8Array(i5), this.size = t5;
  2020. }
  2021. return s5.prototype.rotate = function(i5, s6, n4) {
  2022. if (this.Pb)
  2023. throw t4.i.ga("invalid_call");
  2024. if (s6 < i5 || s6 > n4 || i5 > n4)
  2025. throw t4.i.O();
  2026. i5 != s6 && n4 != s6 && (this.pi(i5, s6 - i5, 1), this.pi(s6, n4 - s6, 1), this.pi(i5, n4 - i5, 1));
  2027. }, s5.rf = function(t5, i5) {
  2028. var n4 = new s5(t5), h2 = n4.o;
  2029. if (2 > t5 && (t5 = 2), i5 !== 0)
  2030. for (var r2 = 0; r2 < t5; r2++)
  2031. h2[r2] = i5;
  2032. return n4;
  2033. }, s5.Cn = function(t5) {
  2034. var i5 = new s5(0);
  2035. return i5.o = new Int8Array(t5.o), i5.size = t5.size, i5;
  2036. }, s5.Nr = function(t5, i5) {
  2037. var n4 = new s5(0);
  2038. return n4.size = t5.size, n4.size > i5 && (n4.size = i5), 2 > (i5 = n4.size) && (i5 = 2), n4.o = new Int8Array(i5), n4.o.set(t5.o.length <= i5 ? t5.o : t5.o.subarray(0, i5), 0), n4;
  2039. }, s5.prototype.Jb = function(t5) {
  2040. 0 >= t5 || (this.o == null ? this.o = new Int8Array(t5) : t5 <= this.o.length || (0 < this.o.length ? ((t5 = new Int8Array(t5)).set(this.o), this.o = t5) : this.o = new Int8Array(t5)));
  2041. }, s5.prototype.read = function(t5) {
  2042. return this.o[t5];
  2043. }, s5.prototype.uc = function(t5, i5) {
  2044. i5.x = this.o[t5], i5.y = this.o[t5 + 1];
  2045. }, s5.prototype.get = function(t5) {
  2046. return this.o[t5];
  2047. }, s5.prototype.write = function(i5, s6) {
  2048. if (this.Pb)
  2049. throw t4.i.Hb();
  2050. this.o[i5] = s6;
  2051. }, s5.prototype.set = function(i5, s6) {
  2052. if (this.Pb)
  2053. throw t4.i.Hb();
  2054. this.o[i5] = s6;
  2055. }, s5.prototype.Vt = function(i5, s6) {
  2056. if (this.Pb)
  2057. throw t4.i.Hb();
  2058. this.o[i5] = s6.x, this.o[i5 + 1] = s6.y;
  2059. }, s5.prototype.add = function(t5) {
  2060. this.resize(this.size + 1), this.o[this.size - 1] = t5;
  2061. }, s5.prototype.AB = function(t5) {
  2062. return s5.Nr(this, t5);
  2063. }, s5.prototype.Bg = function(t5) {
  2064. return this.read(t5);
  2065. }, s5.prototype.resize = function(i5, s6) {
  2066. if (s6 === void 0 && (s6 = 0), this.qk)
  2067. throw t4.i.ga("invalid call. Attribute Stream is locked and cannot be resized.");
  2068. if (i5 <= this.size) {
  2069. if (30 < this.o.length && 5 * i5 / 4 < this.o.length) {
  2070. var n4 = new Int8Array(this.o, 0, i5);
  2071. this.o = n4;
  2072. }
  2073. } else {
  2074. i5 > this.o.length && (n4 = t4.P.truncate(64 > i5 ? Math.max(2 * i5, 4) : 5 * i5 / 4), (n4 = new Int8Array(n4)).set(this.o), this.o = n4), n4 = this.o;
  2075. for (var h2 = this.size; h2 < i5; h2++)
  2076. n4[h2] = s6;
  2077. }
  2078. this.size = i5;
  2079. }, s5.prototype.Dh = function(i5) {
  2080. if ((this.o == null || i5 > this.o.length) && this.resize(i5), this.qk)
  2081. throw t4.i.ga("invalid call. Attribute Stream is locked and cannot be resized.");
  2082. this.size = i5;
  2083. }, s5.prototype.rr = function(t5, i5) {
  2084. this.write(t5, i5);
  2085. }, s5.prototype.Bn = function(i5, s6, n4) {
  2086. for (var h2 = this.size; s6 < h2 && s6 < n4; s6++)
  2087. i5 = t4.P.Vh(this.read(s6), i5);
  2088. return i5;
  2089. }, s5.prototype.Nb = function(t5, i5, n4) {
  2090. if (t5 == null || !(t5 instanceof s5))
  2091. return false;
  2092. var h2 = this.size, r2 = t5.size;
  2093. if (n4 > h2 || n4 > r2 && h2 != r2)
  2094. return false;
  2095. for (n4 > h2 && (n4 = h2); i5 < n4; i5++)
  2096. if (this.read(i5) != t5.read(i5))
  2097. return false;
  2098. return true;
  2099. }, s5.prototype.addRange = function(i5, s6, n4, h2, r2) {
  2100. if (this.Pb)
  2101. throw t4.i.Hb();
  2102. if (!h2 && (1 > r2 || n4 % r2 != 0))
  2103. throw t4.i.O();
  2104. var e2 = this.size;
  2105. if (this.resize(e2 + n4), h2)
  2106. this.o.set(i5.o.subarray(s6, s6 + n4), e2);
  2107. else {
  2108. h2 = n4;
  2109. for (var o2 = 0; o2 < n4; o2 += r2) {
  2110. h2 -= r2;
  2111. for (var a2 = 0; a2 < r2; a2++)
  2112. this.o[e2 + o2 + a2] = i5.o[s6 + h2 + a2];
  2113. }
  2114. }
  2115. }, s5.prototype.Nn = function(s6, n4, h2, r2, e2, o2, a2) {
  2116. if (this.Pb)
  2117. throw t4.i.Hb();
  2118. if (!e2 && (1 > o2 || r2 % o2 != 0))
  2119. throw t4.i.O();
  2120. if (i4(this.o, s6 + r2, s6, s6 + (a2 - s6)), this.o == n4.o && s6 < h2 && (h2 += r2), e2)
  2121. this.o.set(n4.o.subarray(h2, h2 + r2), s6);
  2122. else
  2123. for (e2 = r2, a2 = 0; a2 < r2; a2 += o2) {
  2124. e2 -= o2;
  2125. for (var u2 = 0; u2 < o2; u2++)
  2126. this.o[s6 + a2 + u2] = n4.o[h2 + e2 + u2];
  2127. }
  2128. }, s5.prototype.Mn = function(s6, n4, h2, r2) {
  2129. if (this.Pb)
  2130. throw t4.i.Hb();
  2131. for (r2 -= s6, i4(this.o, s6 + r2, s6, s6 + r2), r2 = 0; r2 < h2; r2++)
  2132. this.o[s6 + r2] = n4;
  2133. }, s5.prototype.Dz = function(s6, n4, h2, r2, e2, o2) {
  2134. if (this.Pb)
  2135. throw t4.i.Hb();
  2136. if (0 > o2 && (o2 = this.size), this.size + 2 * r2 > this.o.length ? this.resize(this.size + 2 * r2) : this.size += 2 * r2, i4(this.o, s6 + 2 * r2, s6, s6 + (o2 - s6)), e2)
  2137. for (e2 = 0; e2 < r2; e2++)
  2138. o2 = n4[h2++], this.o[s6++] = o2.x, this.o[s6++] = o2.y;
  2139. else {
  2140. e2 = 0;
  2141. for (var a2 = r2 - 1; e2 < r2; ++e2)
  2142. o2 = n4[h2 + a2], this.o[s6++] = o2.x, this.o[s6++] = o2.y, a2--;
  2143. }
  2144. }, s5.prototype.xj = function(s6, n4, h2) {
  2145. if (this.Pb)
  2146. throw t4.i.Hb();
  2147. i4(this.o, s6 + 2, s6, s6 + (h2 - s6)), this.o[s6] = n4.x, this.o[s6 + 1] = n4.y;
  2148. }, s5.prototype.Wt = function(i5, s6, n4, h2, r2, e2) {
  2149. if (0 > i5 || 0 > s6 || 0 > h2)
  2150. throw t4.i.O();
  2151. if (!r2 && (0 >= e2 || s6 % e2 != 0))
  2152. throw t4.i.O();
  2153. if (n4.size < h2 + s6)
  2154. throw t4.i.O();
  2155. if (s6 != 0)
  2156. if (this.size < s6 + i5 && this.resize(s6 + i5), n4 == this)
  2157. this.Cr(i5, s6, h2, r2, e2);
  2158. else if (r2)
  2159. for (r2 = 0; r2 < s6; r2++)
  2160. this.o[i5] = n4.o[h2], i5++, h2++;
  2161. else if (h2 = h2 + s6 - e2, e2 == 1)
  2162. for (r2 = 0; r2 < s6; r2++)
  2163. this.o[i5] = n4.o[h2], i5++, h2--;
  2164. else
  2165. for (r2 = 0, s6 = t4.P.truncate(s6 / e2); r2 < s6; r2++) {
  2166. for (var o2 = 0; o2 < e2; o2++)
  2167. this.o[i5 + o2] = n4.o[h2 + o2];
  2168. i5 += e2, h2 -= e2;
  2169. }
  2170. }, s5.prototype.Fn = function(s6, n4, h2) {
  2171. if (this.Pb)
  2172. throw t4.i.Hb();
  2173. if (s6 + n4 > this.size)
  2174. throw t4.i.Hb();
  2175. 0 < h2 - (s6 + n4) && i4(this.o, s6, s6 + n4, s6 + (h2 - (s6 + n4)) + n4), this.size -= n4;
  2176. }, s5.prototype.pi = function(i5, s6, n4) {
  2177. if (this.Pb)
  2178. throw t4.i.Hb();
  2179. if (1 > n4 || s6 % n4 != 0)
  2180. throw t4.i.Hb();
  2181. for (var h2 = s6 >> 1, r2 = 0; r2 < h2; r2 += n4) {
  2182. s6 -= n4;
  2183. for (var e2 = 0; e2 < n4; e2++) {
  2184. var o2 = this.o[i5 + r2 + e2];
  2185. this.o[i5 + r2 + e2] = this.o[i5 + s6 + e2], this.o[i5 + s6 + e2] = o2;
  2186. }
  2187. }
  2188. }, s5.prototype.Yj = function(i5, s6, n4) {
  2189. if (0 > s6 || 0 > n4 || 0 > s6 || n4 + s6 > this.size)
  2190. throw t4.i.O();
  2191. for (var h2 = s6; h2 < s6 + n4; h2++)
  2192. this.o[h2] = i5;
  2193. }, s5.prototype.Cr = function(i5, s6, n4, h2, r2) {
  2194. if (!(h2 && i5 == n4 || (this.o.set(this.o.subarray(n4, n4 + s6), i5), h2)))
  2195. for (n4 = i5, i5 = i5 + s6 - r2, h2 = 0, s6 = t4.P.truncate(s6 / 2); h2 < s6; h2++) {
  2196. for (var e2 = 0; e2 < r2; e2++) {
  2197. var o2 = this.o[n4 + e2];
  2198. this.o[n4 + e2] = this.o[i5 + e2], this.o[i5 + e2] = o2;
  2199. }
  2200. n4 += r2, i5 -= r2;
  2201. }
  2202. }, s5.prototype.pC = function(i5, s6, n4, h2, r2) {
  2203. if (0 > i5 || 0 > s6 || 0 > h2)
  2204. throw t4.i.O();
  2205. if (s6 != 0)
  2206. for (this.size < (s6 << 1) + i5 && this.resize((s6 << 1) + i5), r2 || (i5 += s6 - 1 << 1), r2 = r2 ? 2 : -2, s6 += h2; h2 < s6; h2++)
  2207. this.o[i5] = n4[h2].x, this.o[i5 + 1] = n4[h2].y, i5 += r2;
  2208. }, s5.prototype.Xw = function(i5, s6, n4, h2, r2) {
  2209. if (0 > i5 || 0 > s6 || 0 > h2 || this.size < s6 + i5)
  2210. throw t4.i.O();
  2211. if (r2)
  2212. for (r2 = 0; r2 < s6; r2++)
  2213. n4[h2 + r2] = this.o[i5 + r2];
  2214. else
  2215. for (h2 = h2 + s6 - 1; i5 < s6; i5++)
  2216. n4[h2] = this.o[i5], h2--;
  2217. }, s5.prototype.clear = function(t5) {
  2218. t5 ? this.resize(0) : this.Dh(0);
  2219. }, s5.prototype.ix = function() {
  2220. this.qk = this.Pb = true;
  2221. }, s5.prototype.Wd = function(t5, i5, s6) {
  2222. i5 = this.o.subarray(t5, i5), Array.prototype.sort.call(i5, s6), this.o.set(i5, t5);
  2223. }, s5.prototype.tJ = function(i5, s6) {
  2224. if (this.Pb)
  2225. throw t4.i.ga("invalid call. Attribute Stream is read only.");
  2226. this.o[i5] |= s6;
  2227. }, s5.prototype.EE = function(i5, s6) {
  2228. if (this.Pb)
  2229. throw t4.i.ga("invalid call. Attribute Stream is read only.");
  2230. this.o[i5] &= ~s6;
  2231. }, s5.prototype.Vp = function() {
  2232. return 1;
  2233. }, s5;
  2234. }();
  2235. t4.rn = s4;
  2236. }(V || (V = {})), function(t4) {
  2237. t4.Zc = function() {
  2238. function i4() {
  2239. }
  2240. return i4.Or = function(i5, s4) {
  2241. return t4.rn.rf(i5, s4);
  2242. }, i4.En = function(i5, s4) {
  2243. return t4.ce.rf(i5, s4);
  2244. }, i4.jP = function(i5, s4, n4) {
  2245. switch (i5) {
  2246. case 1:
  2247. i5 = t4.ce.rf(s4, n4);
  2248. break;
  2249. case 2:
  2250. i5 = t4.ja.rf(s4, n4);
  2251. break;
  2252. case 4:
  2253. i5 = t4.rn.rf(s4, n4);
  2254. break;
  2255. default:
  2256. throw t4.i.Ra();
  2257. }
  2258. return i5;
  2259. }, i4.SE = function(s4, n4) {
  2260. return i4.jP(t4.ua.Vp(s4), n4 * t4.ua.Wa(s4), t4.ua.te(s4));
  2261. }, i4.Qh = function(i5, s4) {
  2262. return t4.ja.rf(i5, s4);
  2263. }, i4.kI = function(t5) {
  2264. var i5, s4 = [];
  2265. for (i5 = 0; i5 < t5; i5++)
  2266. s4.push(null);
  2267. return s4;
  2268. }, i4;
  2269. }();
  2270. }(V || (V = {})), function(t4) {
  2271. t4.ha = function(t5) {
  2272. t5 === void 0 && (t5 = 0), this.u = t5;
  2273. };
  2274. }(V || (V = {})), function(t4) {
  2275. t4.HL = function() {
  2276. function i4() {
  2277. }
  2278. return i4.bind = function(i5) {
  2279. t4.Tc = i5.PeDefs, t4.qf = i5.PeFactory, t4.HC = i5.PeVertcs, t4.gj = i5.PeCSTransformations, t4.GC = i5.PeGTTransformations, t4.FL = i5.PeGeogtran, t4.EL = i5.PeFactoryCodechange, t4.FC = i5.PeGCSExtent, t4.Eg = i5.PePCSInfo, t4.GL = i5.PeHorizon, t4.DL = i5.PeCoordsys, t4.mp = i5.PeGTlistExtended, t4.mp.PE_GTLIST_OPTS_USE_DEFAULT = 128, t4.qf.initialize(null), t4.Lx = i5.PeGTlistExtendedEntry, t4.qf.fromString(t4.Tc.PE_TYPE_UNIT, 'UNIT["Meter",1.0]');
  2280. }, i4;
  2281. }(), t4.qf = null, t4.HC = null, t4.DL = null, t4.GL = null, t4.Eg = null, t4.mp = null, t4.Lx = null, t4.FC = null, t4.EL = null, t4.FL = null, t4.Tc = null, t4.GC = null, t4.gj = null;
  2282. }(V || (V = {})), function(t4) {
  2283. var i4 = function() {
  2284. function t5() {
  2285. }
  2286. return t5.Mb = function(i5, s4) {
  2287. return 0 <= s4 ? t5.R(i5) : -t5.R(i5);
  2288. }, t5.R = function(t6) {
  2289. return 0 > t6 ? -t6 : t6;
  2290. }, t5.vi = function(t6) {
  2291. return 3552713678800501e-30 > t6;
  2292. }, t5.EC = function(i5, s4, n4) {
  2293. return t5.R(i5 - s4) <= n4 * (1 + (t5.R(i5) + t5.R(s4)) / 2);
  2294. }, t5.$ = function(i5, s4) {
  2295. return t5.EC(i5, s4, 3552713678800501e-30);
  2296. }, t5.zL = function(i5) {
  2297. return 3552713678800501e-30 >= t5.R(i5);
  2298. }, t5.Dd = function(i5) {
  2299. return t5.zL(i5);
  2300. }, t5;
  2301. }();
  2302. t4.s = i4, t4.F = function() {
  2303. function s4() {
  2304. }
  2305. return s4.hp = function(t5, s5) {
  2306. var n4 = 0;
  2307. return (t5 = i4.R(t5)) + (s5 = i4.R(s5)) != 0 && (t5 > s5 ? (n4 = s5 / t5, n4 = t5 * Math.sqrt(1 + n4 * n4)) : (n4 = t5 / s5, n4 = s5 * Math.sqrt(1 + n4 * n4))), n4;
  2308. }, s4.Yq = function(t5, n4, h2, r2, e2) {
  2309. for (var o2 = [0, 0, 0], a2 = [0, 0, 0], u2 = 0; 2 >= u2; u2++)
  2310. n4[u2] -= t5[u2], h2[u2] -= n4[u2];
  2311. h2 = o2[1] * a2[2] - o2[2] * a2[1], n4 = o2[2] * a2[0] - o2[0] * a2[2], o2 = o2[0] * a2[1] - o2[1] * a2[0], t5 = -1 * (h2 * t5[0] + n4 * t5[1] + o2 * t5[2]), r2[0] = h2, r2[1] = n4, r2[2] = o2, r2[3] = t5, a2 = s4.qn(r2), r2[0] /= a2, r2[1] /= a2, r2[2] /= a2, r2[3] /= a2, e2 != 0 && (a2 = i4.Dd(o2) ? i4.Dd(t5) ? i4.Mb(1, n4) : -i4.Mb(1, t5) : i4.Mb(1, o2), a2 *= i4.Mb(1, e2), r2[0] *= a2, r2[1] *= a2, r2[2] *= a2, r2[3] *= a2);
  2312. }, s4.yx = function(t5, i5, s5) {
  2313. s5[0] = t5[1] * i5[2] - i5[1] * t5[2], s5[1] = t5[2] * i5[0] - i5[2] * t5[0], s5[2] = t5[0] * i5[1] - i5[0] * t5[1];
  2314. }, s4.Ut = function(t5, i5) {
  2315. return t5[0] * i5[0] + t5[1] * i5[1] + t5[2] * i5[2];
  2316. }, s4.qn = function(t5) {
  2317. return s4.hp(s4.hp(t5[0], t5[1]), t5[2]);
  2318. }, s4.el = function(t5, i5, n4, h2, r2, e2, o2, a2) {
  2319. t5 = s4.n(t5, i5, n4);
  2320. var u2 = Math.cos(n4);
  2321. e2.u = (t5 + r2) * u2 * Math.cos(h2), o2.u = (t5 + r2) * u2 * Math.sin(h2), a2.u = (t5 * (1 - i5) + r2) * Math.sin(n4);
  2322. }, s4.dO = function(t5, n4, h2, r2, e2, o2, a2) {
  2323. var u2 = s4.hp(n4, h2), f2 = 1 * Math.sqrt(1 - t5), c2 = f2 / 1;
  2324. if (i4.$(u2, 0))
  2325. o2.u = 0, e2.u = i4.Mb(1.570796326794897, r2), a2.u = i4.R(r2) - f2;
  2326. else {
  2327. o2.u = Math.atan2(h2, n4), h2 = Math.atan2(1 * r2, f2 * u2), o2 = Math.cos(h2);
  2328. var l2 = Math.sin(h2);
  2329. n4 = f2 * t5 / (1 - t5), t5 *= 1, h2 = Math.atan2(r2 + n4 * l2 * l2 * l2, u2 - t5 * o2 * o2 * o2), 3.141592653589793 < i4.R(h2) && (h2 = i4.Mb(3.141592653589793, h2) - h2), h2 = Math.atan(c2 * Math.tan(h2)), l2 = Math.sin(h2), o2 = Math.cos(h2), e2.u = Math.atan2(r2 + n4 * l2 * l2 * l2, u2 - t5 * o2 * o2 * o2), 1.570796326794897 < i4.R(e2.u) && (e2.u = i4.Mb(3.141592653589793, e2.u) - e2.u), h2 = Math.atan(c2 * Math.tan(e2.u)), l2 = Math.sin(h2), o2 = Math.cos(h2), a2.u = (r2 - f2 * l2) * Math.sin(e2.u) + (u2 - 1 * o2) * Math.cos(e2.u);
  2330. }
  2331. }, s4.n = function(t5, i5, s5) {
  2332. return s5 = Math.sin(s5), t5 / Math.sqrt(1 - i5 * s5 * s5);
  2333. }, s4.pt = function(t5, i5) {
  2334. return Math.atan2(Math.sin(i5) * (1 - t5), Math.cos(i5));
  2335. }, s4.Sj = function(t5, i5) {
  2336. return Math.atan2(Math.sin(i5), Math.cos(i5) * (1 - t5));
  2337. }, s4.Tq = function(t5, n4) {
  2338. if (i4.vi(t5) || n4 == 0 || i4.$(i4.R(n4), 1.570796326794897))
  2339. return n4;
  2340. if (0.006884661117170036 > t5) {
  2341. var h2 = Math.sqrt(1 - t5), r2 = (1 - h2) / (1 + h2), e2 = r2 * r2, o2 = r2 * e2, a2 = r2 * o2, u2 = r2 * a2, f2 = r2 * u2, c2 = r2 * f2, l2 = 1.572916666666667 * o2 - 3.2578125 * u2 + 4.295068359375 * c2;
  2342. t5 = 2.142578125 * a2 - 6.071484375 * f2, h2 = 3.129296875 * u2 - 11.249837239583334 * c2;
  2343. var p2 = 4.775276692708333 * f2, v2 = 7.958636765252976 * c2, y2 = Math.cos(2 * n4);
  2344. return n4 + Math.sin(2 * n4) * (1.5 * r2 - 0.84375 * o2 + 0.525390625 * u2 - 0.2688395182291667 * c2 - l2 + h2 - v2 + y2 * (2 * (1.3125 * e2 - 1.71875 * a2 + 1.650146484375 * f2) - 4 * t5 + 6 * p2 + y2 * (4 * l2 - 12 * h2 + 24 * v2 + y2 * (8 * t5 - 32 * p2 + y2 * (16 * h2 - 80 * v2 + y2 * (32 * p2 + 64 * y2 * v2))))));
  2345. }
  2346. for (h2 = 1 - t5, r2 = t5 / 2, o2 = (e2 = i4.R(n4)) * s4.av(t5) / (1.570796326794897 * h2), a2 = 9999, f2 = e2, e2 = 0; 1e-16 < a2 && 50 > e2; e2++)
  2347. c2 = s4.w(t5, f2), u2 = f2 - (l2 = (u2 = (s4.eG(f2, t5) - r2 * Math.sin(2 * f2) / c2) / h2 - o2) / (c2 = 1 / (c2 * c2 * c2))), a2 = i4.R(l2), f2 = u2;
  2348. return 0 <= n4 ? f2 : -f2;
  2349. }, s4.iW = function(t5, n4) {
  2350. return i4.vi(n4) ? t5 : t5 * s4.av(n4) / 1.570796326794897;
  2351. }, s4.ca = function(t5) {
  2352. return 0 > (t5 = s4.jF(t5, 6.283185307179586)) ? t5 + 6.283185307179586 : 3.141592653589793 > i4.R(t5) || i4.$(i4.R(t5), 3.141592653589793) ? t5 : t5 - 6.283185307179586;
  2353. }, s4.jF = function(t5, i5) {
  2354. return t5 - Math.floor(t5 / i5) * i5;
  2355. }, s4.Ch = function(t5, i5) {
  2356. if (0.006884661117170036 > i5) {
  2357. var n4 = (i5 = (1 - (i5 = Math.sqrt(1 - i5))) / (1 + i5)) * i5, h2 = n4 * n4;
  2358. return t5 / (1 + i5) * (1 + 0.25 * n4 + 0.015625 * h2 + 390625e-8 * n4 * h2) * 1.570796326794897;
  2359. }
  2360. return t5 * s4.av(i5);
  2361. }, s4.Xq = function(t5, n4) {
  2362. var h2 = i4.Mb(1, Math.sin(n4));
  2363. return n4 = 1.570796326794897 >= (n4 = i4.R(s4.jF(n4, 3.141592653589793))) ? n4 : 3.141592653589793 - n4, (i4.$(n4, 1.570796326794897) ? n4 : Math.atan(Math.sqrt(1 - t5) * Math.tan(n4))) * h2;
  2364. }, s4.q = function(t5, i5, n4) {
  2365. if (0.006884661117170036 > i5) {
  2366. var h2 = (i5 = (1 - (i5 = Math.sqrt(1 - i5))) / (1 + i5)) * i5, r2 = i5 * h2, e2 = i5 * r2, o2 = i5 * e2, a2 = i5 * o2, u2 = i5 * a2, f2 = -0.7291666666666666 * r2 + 0.2278645833333333 * o2 + 0.03987630208333334 * u2, c2 = 0.615234375 * e2 - 0.21533203125 * a2, l2 = -0.54140625 * o2 + 0.20302734375 * u2, p2 = 0.48876953125 * a2, v2 = -0.4488699776785715 * u2, y2 = Math.cos(2 * n4);
  2367. return t5 / (1 + i5) * ((1 + 0.25 * h2 + 0.015625 * e2 + 390625e-8 * a2) * n4 + Math.sin(2 * n4) * (-1.5 * i5 + 0.1875 * r2 + 0.0234375 * o2 + 0.00732421875 * u2 - f2 + l2 - v2 + y2 * (2 * (0.9375 * h2 - 0.234375 * e2 - 0.03662109375 * a2) - 4 * c2 + 6 * p2 + y2 * (4 * f2 - 12 * l2 + 24 * v2 + y2 * (8 * c2 - 32 * p2 + y2 * (16 * l2 - 80 * v2 + y2 * (32 * p2 + 64 * y2 * v2)))))));
  2368. }
  2369. return t5 * (s4.eG(n4, i5) - 0.5 * i5 * Math.sin(2 * n4) / s4.w(i5, n4));
  2370. }, s4.w = function(t5, i5) {
  2371. return i5 = Math.sin(i5), Math.sqrt(1 - t5 * i5 * i5);
  2372. }, s4.av = function(t5) {
  2373. return i4.EC(t5, 1, 2220446049250313e-31) ? 1 : 1 > t5 ? s4.Zw(0, 1 - t5) - t5 / 3 * s4.Ww(0, 1 - t5) : NaN;
  2374. }, s4.eG = function(n4, h2) {
  2375. var r2 = i4.Mb(1, n4);
  2376. n4 = i4.R(n4);
  2377. var e2 = Math.floor(n4 / 1.570796326794897);
  2378. if (1 < h2)
  2379. h2 = n4 == 0 ? 0 : NaN;
  2380. else if (i4.Dd(e2))
  2381. h2 = (n4 = s4.sin(n4)) * s4.Zw(1 - n4 * n4, 1 - h2 * n4 * n4) - h2 / 3 * n4 * n4 * n4 * s4.Ww(1 - n4 * n4, 1 - h2 * n4 * n4);
  2382. else {
  2383. var o2 = t4.P.truncate(e2 % 2), a2 = s4.av(h2);
  2384. 0 < o2 ? h2 = a2 * (e2 + 1) - (h2 = (n4 = Math.sin(1.570796326794897 * (e2 + 1) - n4)) * s4.Zw(1 - n4 * n4, 1 - h2 * n4 * n4) - h2 / 3 * n4 * n4 * n4 * s4.Ww(1 - n4 * n4, 1 - h2 * n4 * n4)) : h2 = a2 * e2 + (h2 = (n4 = Math.sin(n4 - 1.570796326794897 * e2)) * s4.Zw(1 - n4 * n4, 1 - h2 * n4 * n4) - h2 / 3 * n4 * n4 * n4 * s4.Ww(1 - n4 * n4, 1 - h2 * n4 * n4));
  2385. }
  2386. return h2 * r2;
  2387. }, s4.sin = function(t5) {
  2388. t5 = s4.ca(t5);
  2389. var n4 = i4.Mb(1, t5);
  2390. return t5 = i4.R(t5), i4.$(t5, 3.141592653589793) ? 0 : i4.$(t5, 1.570796326794897) ? 1 * n4 : Math.sin(t5) * n4;
  2391. }, s4.Ww = function(t5, s5) {
  2392. var n4, h2, r2, e2, o2 = t5, a2 = s5, u2 = 1;
  2393. for (s5 = 0, t5 = 1; h2 = ((n4 = 0.2 * (o2 + a2 + 3 * u2)) - o2) / n4, r2 = (n4 - a2) / n4, e2 = (n4 - u2) / n4, !(1e-4 > i4.R(h2) && 1e-4 > i4.R(r2) && 1e-4 > i4.R(e2)); )
  2394. e2 = Math.sqrt(a2), s5 += t5 / ((n4 = Math.sqrt(u2)) * (u2 + (e2 = Math.sqrt(o2) * (e2 + n4) + e2 * n4))), t5 *= 0.25, o2 = 0.25 * (o2 + e2), a2 = 0.25 * (a2 + e2), u2 = 0.25 * (u2 + e2);
  2395. return a2 = (o2 = h2 * r2) - (u2 = e2 * e2), 3 * s5 + t5 * (1 + (u2 = o2 - 6 * u2) * (0.10227272727272728 * u2 - 0.2142857142857143 - 0.1730769230769231 * e2 * (h2 = u2 + a2 + a2)) + e2 * (0.1666666666666667 * h2 + e2 * (-0.4090909090909091 * a2 + 0.1153846153846154 * e2 * o2))) / (n4 * Math.sqrt(n4));
  2396. }, s4.Zw = function(t5, s5) {
  2397. for (var n4, h2, r2, e2, o2 = 1; h2 = 2 - ((n4 = (t5 + s5 + o2) / 3) + t5) / n4, r2 = 2 - (n4 + s5) / n4, e2 = 2 - (n4 + o2) / n4, !(1e-4 > i4.R(h2) && 1e-4 > i4.R(r2) && 1e-4 > i4.R(e2)); o2 = 0.25 * (o2 + n4))
  2398. n4 = Math.sqrt(s5), h2 = Math.sqrt(o2), t5 = 0.25 * (t5 + (n4 = Math.sqrt(t5) * (n4 + h2) + n4 * h2)), s5 = 0.25 * (s5 + n4);
  2399. return (1 + (0.04166666666666666 * (t5 = h2 * r2 - e2 * e2) - 0.1 - 0.06818181818181818 * (s5 = h2 * r2 * e2)) * t5 + 0.07142857142857142 * s5) / Math.sqrt(n4);
  2400. }, s4.Sw = function(t5, s5) {
  2401. if (i4.vi(t5) || s5 == 0 || i4.$(i4.R(s5), 1.570796326794897))
  2402. return s5;
  2403. if (0.006884661117170036 > t5) {
  2404. var n4 = t5 * t5, h2 = t5 * n4, r2 = t5 * h2, e2 = t5 * r2, o2 = t5 * e2, a2 = t5 * o2, u2 = -(0.02708333333333333 * h2 + 0.03430059523809524 * r2 + 0.03149181547619048 * e2 + 0.02634359154541446 * o2 + 0.02156896735835538 * a2), f2 = 0.007669890873015873 * r2 + 0.01299603174603175 * e2 + 0.0148051353064374 * o2 + 0.01454454953803912 * a2, c2 = -(0.002275545634920635 * e2 + 0.004830845032667949 * o2 + 0.006558395368616723 * a2), l2 = 6957236677288761e-19 * o2 + 0.001775193002406544 * a2, p2 = -217324089394402e-18 * a2, v2 = Math.cos(2 * s5);
  2405. return s5 + Math.sin(2 * s5) * (-(0.5 * t5 + 0.2083333333333333 * n4 + 0.09375 * h2 + 0.04878472222222222 * r2 + 0.02916666666666667 * e2 + 0.01938905423280423 * o2 + 0.01388255931712963 * a2) - u2 + c2 - p2 + v2 * (2 * (0.1041666666666667 * n4 + 0.0875 * h2 + 0.06050347222222222 * r2 + 0.04151785714285714 * e2 + 0.02958958540013228 * o2 + 0.02203667534722222 * a2) - 4 * f2 + 6 * l2 + v2 * (4 * u2 - 12 * c2 + 24 * p2 + v2 * (8 * f2 - 32 * l2 + v2 * (16 * c2 - 80 * p2 + v2 * (32 * l2 + 64 * v2 * p2))))));
  2406. }
  2407. return s5 == 0 || i4.$(i4.R(s5), 1.570796326794897) ? n4 = s5 : (r2 = (h2 = Math.sqrt(t5)) * Math.sin(s5), n4 = Math.tan(0.7853981633974483 + s5 / 2) * Math.pow((1 - r2) / (1 + r2), h2 / 2), n4 = 2 * Math.atan(n4) - 1.570796326794897), n4;
  2408. }, s4.sO = function(t5, s5) {
  2409. if (i4.vi(t5) || s5 == 0 || i4.$(i4.R(s5), 1.570796326794897))
  2410. return s5;
  2411. if (0.006884661117170036 > t5) {
  2412. var n4 = t5 * (l2 = t5 * (c2 = t5 * (v2 = t5 * t5))), h2 = t5 * (p2 = t5 * n4), r2 = 0.05833333333333333 * c2 + 0.07232142857142858 * l2 + 0.05634300595238095 * n4 + 0.0355325796406526 * p2 + 0.020235546186067 * h2, e2 = 0.02653149801587302 * l2 + 0.04379960317460317 * n4 + 0.0429211791776896 * p2 + 0.03255384637546096 * h2, o2 = 0.01294022817460318 * n4 + 0.02668104344536636 * p2 + 0.03155651254609588 * h2, a2 = 0.00659454790965208 * p2 + 0.0163075268674227 * h2, u2 = 0.003463473736911237 * h2, f2 = Math.cos(2 * s5);
  2413. return s5 + Math.sin(2 * s5) * (0.5 * t5 + 0.2083333333333333 * v2 + 0.08333333333333333 * c2 + 0.03611111111111111 * l2 + 0.01875 * n4 + 0.01195601851851852 * p2 + 0.008863673941798942 * h2 - r2 + o2 - u2 + f2 * (2 * (0.1458333333333333 * v2 + 0.1208333333333333 * c2 + 0.07039930555555556 * l2 + 0.03616071428571429 * n4 + 0.01839451058201058 * p2 + 0.01017113095238095 * h2) - 4 * e2 + 6 * a2 + f2 * (4 * r2 - 12 * o2 + 24 * u2 + f2 * (8 * e2 - 32 * a2 + f2 * (16 * o2 - 80 * u2 + f2 * (32 * a2 + 64 * f2 * u2))))));
  2414. }
  2415. var c2 = Math.sqrt(t5), l2 = c2 / 2, p2 = Math.tan(0.7853981633974483 + s5 / 2);
  2416. t5 = 0, r2 = 1;
  2417. for (var v2 = s5; r2 != 0; v2 = h2)
  2418. n4 = c2 * Math.sin(v2), h2 = p2 * Math.pow((1 + n4) / (1 - n4), l2), h2 = 2 * Math.atan(h2) - 1.570796326794897, t5++, (i4.$(h2, v2) || 3e4 < t5) && (r2 = 0);
  2419. return v2;
  2420. }, s4;
  2421. }();
  2422. }(V || (V = {})), function(t4) {
  2423. var i4 = function() {
  2424. function i5(i6) {
  2425. this.wl = this.Ws = null, this.Kv = false, this.AA = this.BA = 0, this.BH = new t4.h(), this.RH = new t4.h(), this.EA = false, this.xq = new t4.l(), this.qH = this.uw = 0, this.vw = null, this.Bl = false, this.Fo = null, this.Xz = 0, this.Re = i6, this.Cs = t4.Ab.zv(this.Re, 0, true), this.BH.Sc(), this.RH.Sc(), this.LH = NaN;
  2426. var s4 = i6.getCode();
  2427. 0 < s4 ? (this.Lk = s4, t4.qf.getCode(i6)) : this.Lk = t4.qf.getCode(i6), 0 > this.Lk && (this.Lk = 0);
  2428. var n4 = this.Re.getType();
  2429. if (this.dH = n4 == t4.Tc.PE_TYPE_PROJCS ? 2 : 1, n4 == t4.Tc.PE_TYPE_PROJCS && !i6.loadConstants())
  2430. throw t4.i.O("PeProjcs.loadConstants failed");
  2431. s4 = n4 == t4.Tc.PE_TYPE_GEOGCS ? this.Re : this.Re.getGeogcs(), n4 != t4.Tc.PE_TYPE_GEOGCS && t4.qf.getCode(s4), this.Fo = i6.getUnit(), this.LH = s4.getPrimem().getLongitude(), this.qH = i6 = s4.getUnit().getUnitFactor(), i6 = Math.PI / (180 * i6), 1e-10 > Math.abs(i6 - 1) && (i6 = 1), this.AA = i6, (n4 & t4.Tc.PE_TYPE_PROJCS) != 0 ? (s4 = this.Re, this.BA = 1 / s4.getUnit().getUnitFactor(), this.uw = 1e-3 / this.Re.getUnit().getUnitFactor(), this.vw = t4.Eg.generate(s4, t4.Eg.PE_PCSINFO_OPTION_NONE), this.Bl = this.vw.isPannableRectangle(), this.Xz = t4.Ab.kN(this.vw.getCentralMeridian(), this.AA)) : (this.EA = this.Bl = true, this.BA = 0, n4 = 1 / s4.getUnit().getUnitFactor(), this.uw = 1e-3 / s4.getDatum().getSpheroid().getAxis() * n4, this.Xz = 0), this.Bl && (this.wx(), this.xK(), this.fY(), this.wK(), this.dY(), this.eY());
  2432. }
  2433. return i5.prototype.cs = function() {
  2434. return this.Lk;
  2435. }, i5.prototype.lk = function() {
  2436. return this.vw;
  2437. }, i5.Ky = function(t5, i6) {
  2438. return t5 == i6 || t5 != null && i6 != null && t5.Lk == 0 && i6.Lk == 0 && t5.Cs === i6.Cs;
  2439. }, i5.prototype.Xc = function() {
  2440. return this.Bl;
  2441. }, i5.prototype.ih = function(t5) {
  2442. t5.L(this.to);
  2443. }, i5.prototype.rv = function() {
  2444. return this.to.v;
  2445. }, i5.prototype.qv = function() {
  2446. return this.to.C;
  2447. }, i5.prototype.AR = function(t5) {
  2448. t5.L(this.ww);
  2449. }, i5.prototype.dY = function() {
  2450. var i6 = this.Re.getType();
  2451. if (i6 == t4.Tc.PE_TYPE_PROJCS) {
  2452. i6 = this.Re;
  2453. var s4 = this.lk().getCentralMeridian(), n4 = i6.getGeogcs();
  2454. if (n4 == null)
  2455. throw t4.i.ga("internal error");
  2456. s4 = [[s4 + (n4 = 1 / n4.getUnit().getUnitFactor() * Math.PI), 0]], t4.gj.geogToProj(i6, 1, s4), s4 = s4[0][0], n4 = i6.getParameters()[t4.Tc.PE_PARM_X0].getValue();
  2457. var h2 = this.ol();
  2458. i6 = new t4.l(), h2.A(i6), s4 = (h2 = Math.abs(s4 - n4)) + n4, n4 = -1 * h2 + n4, h2 = i6.H, i6 = i6.G;
  2459. var r2 = new t4.l();
  2460. r2.L(n4, i6, s4, h2), this.to == null && (this.to = r2);
  2461. } else {
  2462. if (i6 != t4.Tc.PE_TYPE_GEOGCS)
  2463. throw t4.i.ga("internal error");
  2464. n4 = 1 / this.Re.getUnit().getUnitFactor() * Math.PI, (i6 = new t4.l()).L(-n4, -n4 / 2, n4, n4 / 2), this.to == null && (this.to = i6);
  2465. }
  2466. }, i5.prototype.eY = function() {
  2467. var i6 = this.Re.getType();
  2468. if (i6 == t4.Tc.PE_TYPE_PROJCS) {
  2469. var s4 = this.Re;
  2470. if (i6 = this.lk().getCentralMeridian(), (s4 = s4.getGeogcs()) == null)
  2471. throw t4.i.ga("internal error");
  2472. s4 = 1 / s4.getUnit().getUnitFactor() * Math.PI;
  2473. var n4 = this.Xr(), h2 = new t4.l();
  2474. n4.A(h2), (n4 = new t4.l()).L(i6 - s4, h2.G, i6 + s4, h2.H), this.ww == null && (this.ww = n4);
  2475. } else {
  2476. if (i6 != t4.Tc.PE_TYPE_GEOGCS)
  2477. throw t4.i.ga("internal error");
  2478. s4 = 1 / this.Re.getUnit().getUnitFactor() * Math.PI, (i6 = new t4.l()).L(-s4, -s4 / 2, s4, s4 / 2), this.ww == null && (this.ww = i6);
  2479. }
  2480. }, i5.prototype.bf = function() {
  2481. return this.AA;
  2482. }, i5.prototype.rm = function() {
  2483. return this.BA;
  2484. }, i5.prototype.Xr = function() {
  2485. if (this.Bl)
  2486. return this.wl;
  2487. var t5 = this.wl;
  2488. return t5 != null ? t5 : (this.wx(), this.wl);
  2489. }, i5.prototype.Yr = function() {
  2490. return this.Bl ? null : (this.wl != null || this.wx(), this.SG);
  2491. }, i5.prototype.wx = function() {
  2492. if (this.Re.getType() == t4.Tc.PE_TYPE_PROJCS) {
  2493. var i6 = this.Re, s4 = i6.getGeogcs(), n4 = i6.horizonGcsGenerate();
  2494. if (n4 != null) {
  2495. var h2 = n4[0].getNump(), r2 = n4[0].getKind();
  2496. i6 = 0 < n4[0].getInclusive();
  2497. var e2 = this.bf(), o2 = 90 * e2, a2 = 360 * e2, u2 = 370 * e2, f2 = 180 * e2 * t4.Tc.PE_HORIZON_DELTA / Math.PI, c2 = new t4.l(), l2 = null;
  2498. if (1 < h2) {
  2499. for (var p2 = 1; p2 < h2; p2++)
  2500. if (n4[p2].getKind() == t4.Tc.PE_HORIZON_LINE) {
  2501. l2 == null && (l2 = new t4.Ua());
  2502. var v2 = n4[p2].getCoord();
  2503. l2.rx(v2[0][0], v2[0][1]), l2.Aj(v2[1][0], v2[1][1]);
  2504. }
  2505. }
  2506. if (r2 == t4.Tc.PE_HORIZON_RECT)
  2507. n4 = n4[0].getCoord(), c2.L(n4[0][0], n4[0][1]), c2.$b(n4[1][0], n4[1][1]), Math.abs(c2.H - o2) < 1e-7 * f2 && (c2.H = o2), Math.abs(c2.G + o2) < 1e-7 * f2 && (c2.G = -o2), c2.S() > u2 && (n4 = -400 * e2, c2.L(n4, c2.G, n4 + 5 * a2, c2.H)), n4 = new t4.Hh(c2), this.wl == null && (this.wl = n4, this.Kv = i6);
  2508. else {
  2509. if (u2 = new t4.Ea(), a2 = this.lk().isGcsHorizonMultiOverlap(), c2 = t4.iu.WE(s4, t4.ju.Integer64), a2) {
  2510. for (u2 = new t4.aL(), f2 = t4.Ih.local().W(u2, c2, null), p2 = 0; p2 < h2; p2++)
  2511. if (n4[p2].getKind() == t4.Tc.PE_HORIZON_POLY) {
  2512. for (s4 = n4[p2].getSize(), e2 = n4[p2].getCoord(), r2 = [], o2 = 0; o2 < s4; o2++)
  2513. r2[o2] = t4.h.construct(e2[o2][0], e2[o2][1]);
  2514. n4[p2].getInclusive(), a2 && ((e2 = new t4.Ea()).$k(r2, s4 - 1), u2.RX(e2), f2.qe());
  2515. }
  2516. u2 = f2.next();
  2517. } else
  2518. for (p2 = 0; p2 < h2; p2++)
  2519. if (n4[p2].getKind() == t4.Tc.PE_HORIZON_POLY) {
  2520. for (s4 = n4[p2].getSize(), e2 = n4[p2].getCoord(), a2 = [], o2 = 0; o2 < s4; o2++)
  2521. a2[o2] = t4.h.construct(e2[o2][0], e2[o2][1]);
  2522. n4[p2].getInclusive(), u2.$k(a2, s4 - 1);
  2523. }
  2524. i6 ? t4.Xk.local().xn(u2, c2, 1) : t4.lp.local().xn(u2, c2, 1), t4.fj.local().xn(u2, c2, 1), this.wl == null && (this.wl = u2, this.Kv = i6, this.SG = l2);
  2525. }
  2526. }
  2527. }
  2528. }, i5.prototype.kv = function() {
  2529. return this.Bl || this.wl == null && this.wx(), this.Kv;
  2530. }, i5.prototype.xK = function() {
  2531. if (this.dH == 2) {
  2532. var i6 = this.Re.horizonPcsGenerate();
  2533. if (i6 != null) {
  2534. var s4 = i6[0].getKind();
  2535. i6[0].getInclusive();
  2536. var n4 = i6[0].getNump(), h2 = false;
  2537. if (s4 == t4.Tc.PE_HORIZON_RECT)
  2538. i6 = i6[0].getCoord(), (n4 = new t4.l()).L(i6[0][0], i6[0][1]), n4.$b(i6[1][0], i6[1][1]), i6 = new t4.Hh(n4);
  2539. else {
  2540. for (s4 = -1, h2 = 0; h2 < n4; h2++)
  2541. i6[h2].getKind() == t4.Tc.PE_HORIZON_POLY && (s4 = h2);
  2542. for (h2 = i6[s4].getSize() - 1, i6 = i6[s4].getCoord(), n4 = [], s4 = 0; s4 < h2; s4++)
  2543. n4[s4] = t4.h.construct(i6[s4][0], i6[s4][1]);
  2544. i6 = s4 = new t4.Ea(), s4.$k(n4, h2), h2 = true;
  2545. }
  2546. this.lk().isDensificationNeeded() && (n4 = 1e5 * this.rm(), i6 = t4.Zl.local().W(i6, n4, null)), h2 && (h2 = new t4.Hh(), i6.dn(h2), i6.He(), i6.Rb(), i6.jR(), t4.Xk.local().xn(i6, null, 1)), this.Ws == null && (this.Ws = i6);
  2547. }
  2548. }
  2549. }, i5.prototype.ol = function() {
  2550. if (this.Bl)
  2551. return this.Ws;
  2552. var t5 = this.Ws;
  2553. return t5 != null ? t5 : (this.xK(), this.Ws);
  2554. }, i5.prototype.fY = function() {
  2555. if (this.Re.getType() == t4.Tc.PE_TYPE_PROJCS) {
  2556. var i6 = 90 * this.bf();
  2557. i6 = [[0, i6], [0, -i6]], t4.gj.geogToProj(this.Re, 2, i6);
  2558. var s4 = this.lk(), n4 = s4.getNorthPoleLocation() != t4.Eg.PE_POLE_OUTSIDE_BOUNDARY;
  2559. s4 = s4.getSouthPoleLocation() != t4.Eg.PE_POLE_OUTSIDE_BOUNDARY, this.EA || (n4 && this.BH.na(i6[0][0], i6[0][1]), s4 && this.RH.na(i6[1][0], i6[1][1]));
  2560. }
  2561. this.EA = true;
  2562. }, i5.prototype.wK = function() {
  2563. if (this.dH == 1) {
  2564. var i6 = 400 * this.bf();
  2565. this.xq.L(-i6, -i6, i6, i6);
  2566. } else
  2567. i6 = t4.Eg.generate(this.Re, t4.Eg.PE_PCSINFO_OPTION_DOMAIN), i6 = t4.l.construct(i6.getDomainMinx(), i6.getDomainMiny(), i6.getDomainMaxx(), i6.getDomainMaxy()), this.xq.B() && this.xq.L(i6);
  2568. }, i5.prototype.bR = function(t5) {
  2569. this.Bl && t5.L(this.xq), this.xq.B() && this.wK(), t5.L(this.xq);
  2570. }, i5.prototype.Wp = function() {
  2571. return this.LH;
  2572. }, i5.prototype.Bi = function() {
  2573. return this.Xz;
  2574. }, i5.prototype.Id = function() {
  2575. return this.Fo;
  2576. }, i5.prototype.Zr = function() {
  2577. return this.qH;
  2578. }, i5;
  2579. }();
  2580. t4.IC = i4;
  2581. }(V || (V = {})), function(t4) {
  2582. var i4 = function() {
  2583. function i5(i6) {
  2584. this.CT = i6, this.Cs = t4.Ab.zv(i6, 0, true);
  2585. var s4 = i6.getCode();
  2586. this.us = 0 < s4 ? s4 : t4.qf.getCode(i6), 0 > this.us && (this.us = 0), this.Fo = s4 = this.CT.getUnit(), this.CH = 1 / s4.getUnitFactor(), t4.qf.getCode(i6);
  2587. }
  2588. return i5.Ky = function(t5, i6) {
  2589. return t5 == i6 || t5 != null && i6 != null && t5.us == 0 && i6.us == 0 && t5.Cs === i6.Cs;
  2590. }, i5.prototype.cs = function() {
  2591. return this.us;
  2592. }, i5;
  2593. }();
  2594. t4.JL = i4;
  2595. }(V || (V = {})), function(t4) {
  2596. t4.$g = function() {
  2597. function i4() {
  2598. }
  2599. return i4.ub = function(i5, s4, n4, h2, r2, e2, o2, a2) {
  2600. if (e2 != null || o2 != null || a2 != null) {
  2601. h2 = t4.F.ca(h2), s4 = t4.F.ca(s4), n4 = t4.F.ca(n4), r2 = t4.F.ca(r2), 1.570796326794897 < t4.s.R(n4) && (n4 = t4.s.Mb(3.141592653589793, n4) - n4, s4 = t4.F.ca(s4 + 3.141592653589793)), 1.570796326794897 < t4.s.R(r2) && (r2 = t4.s.Mb(3.141592653589793, r2) - r2, h2 = t4.F.ca(h2 + 3.141592653589793));
  2602. var u2 = t4.F.ca(h2 - s4);
  2603. if (t4.s.$(n4, r2) && (t4.s.$(s4, h2) || t4.s.$(t4.s.R(n4), 1.570796326794897)))
  2604. e2 != null && (e2.u = 0), o2 != null && (o2.u = 0), a2 != null && (a2.u = 0);
  2605. else {
  2606. if (t4.s.$(n4, -r2)) {
  2607. if (t4.s.$(t4.s.R(n4), 1.570796326794897))
  2608. return e2 != null && (e2.u = 3.141592653589793 * i5), o2 != null && (o2.u = 0 < n4 ? t4.F.ca(3.141592653589793 - t4.F.ca(h2)) : t4.F.ca(h2)), void (a2 != null && (a2.u = 0 < n4 ? t4.F.ca(h2) : t4.F.ca(3.141592653589793 - t4.F.ca(h2))));
  2609. if (t4.s.$(t4.s.R(u2), 3.141592653589793))
  2610. return e2 != null && (e2.u = 3.141592653589793 * i5), o2 != null && (o2.u = 0), void (a2 != null && (a2.u = 0));
  2611. }
  2612. var f2 = t4.s.R(n4) == 1.570796326794897 ? 0 : Math.cos(n4), c2 = Math.sin(n4), l2 = t4.s.R(r2) == 1.570796326794897 ? 0 : Math.cos(r2), p2 = Math.sin(r2), v2 = t4.s.R(u2) == 1.570796326794897 ? 0 : Math.cos(u2), y2 = t4.s.R(u2) == 3.141592653589793 ? 0 : Math.sin(u2);
  2613. if (e2 != null) {
  2614. var b2 = Math.sin((r2 - n4) / 2);
  2615. u2 = Math.sin(u2 / 2), e2.u = 2 * Math.asin(Math.sqrt(b2 * b2 + f2 * l2 * u2 * u2)) * i5;
  2616. }
  2617. o2 != null && (o2.u = t4.s.$(t4.s.R(n4), 1.570796326794897) ? 0 > n4 ? h2 : t4.F.ca(3.141592653589793 - h2) : Math.atan2(l2 * y2, f2 * p2 - c2 * l2 * v2)), a2 != null && (t4.s.$(t4.s.R(r2), 1.570796326794897) ? a2.u = 0 > r2 ? s4 : t4.F.ca(3.141592653589793 - s4) : (a2.u = Math.atan2(f2 * y2, p2 * f2 * v2 - l2 * c2), a2.u = t4.F.ca(a2.u + 3.141592653589793)));
  2618. }
  2619. }
  2620. }, i4.sf = function(i5, s4, n4, h2, r2, e2, o2) {
  2621. if (e2 != null || o2 != null) {
  2622. s4 = t4.F.ca(s4), n4 = t4.F.ca(n4), 1.570796326794897 < t4.s.R(n4) && (n4 = t4.s.Mb(3.141592653589793, n4) - n4, s4 = t4.F.ca(s4 + 3.141592653589793)), t4.s.$(t4.s.R(n4), 1.570796326794897) && (s4 = 0), r2 = t4.F.ca(r2);
  2623. var a2 = t4.s.$(t4.s.R(r2), 1.570796326794897) ? 0 : Math.cos(r2), u2 = t4.s.$(t4.s.R(r2), 3.141592653589793) ? 0 : Math.sin(r2), f2 = t4.s.$(t4.s.R(n4), 1.570796326794897) ? 0 : Math.cos(n4), c2 = Math.sin(n4);
  2624. i5 = h2 / i5, h2 = t4.s.$(t4.s.R(i5), 1.570796326794897) ? 0 : Math.cos(i5);
  2625. var l2 = t4.s.$(t4.s.R(i5), 3.141592653589793) ? 0 : Math.sin(i5), p2 = Math.asin(c2 * h2 + f2 * l2 * a2);
  2626. o2 != null && (o2.u = p2), e2 != null && (e2.u = t4.s.$(t4.s.R(p2), 1.570796326794897) ? t4.s.$(n4, -p2) ? 0 > p2 ? r2 : t4.F.ca(3.141592653589793 - r2) : s4 : t4.s.$(t4.s.R(n4), 1.570796326794897) && t4.s.$(i5, 3.141592653589793) ? 0 > n4 ? r2 : t4.F.ca(3.141592653589793 - r2) : t4.F.ca(s4 + Math.atan2(l2 * u2, f2 * h2 - c2 * l2 * a2)));
  2627. }
  2628. }, i4;
  2629. }();
  2630. }(V || (V = {})), function(t4) {
  2631. t4.Yk = function() {
  2632. function i4() {
  2633. }
  2634. return i4.ub = function(i5, s4, n4, h2, r2, e2, o2, a2, u2) {
  2635. var f2 = new t4.ha(0), c2 = new t4.ha(0), l2 = [0, 0, 0], p2 = [0, 0, 0], v2 = [0, 0, 0], y2 = new t4.ha(0), b2 = new t4.ha(0), d2 = new t4.ha(0), g2 = new t4.ha(0), w2 = new t4.ha(0);
  2636. if (o2 != null || a2 != null || u2 != null)
  2637. if (t4.s.vi(s4))
  2638. t4.$g.ub(i5, n4, h2, r2, e2, o2, a2, u2);
  2639. else {
  2640. r2 = t4.F.ca(r2), n4 = t4.F.ca(n4);
  2641. var x2 = t4.F.ca(r2 - n4);
  2642. if (t4.s.$(h2, e2) && (t4.s.$(n4, r2) || t4.s.$(t4.s.R(h2), 1.570796326794897)))
  2643. o2 != null && (o2.u = 0), a2 != null && (a2.u = 0), u2 != null && (u2.u = 0);
  2644. else {
  2645. if (t4.s.$(h2, -e2)) {
  2646. if (t4.s.$(t4.s.R(h2), 1.570796326794897))
  2647. return o2 != null && (o2.u = 2 * t4.F.Ch(i5, s4)), a2 != null && (a2.u = 0 < h2 ? t4.F.ca(3.141592653589793 - t4.F.ca(r2)) : t4.F.ca(r2)), void (u2 != null && (u2.u = 0 < h2 ? t4.F.ca(r2) : t4.F.ca(3.141592653589793 - t4.F.ca(r2))));
  2648. t4.s.$(t4.s.R(x2), 3.141592653589793) && (o2 != null && (o2.u = 2 * t4.F.Ch(i5, s4)), a2 != null && (a2.u = 0), u2 != null && (u2.u = 0));
  2649. } else
  2650. (t4.s.$(t4.s.R(h2), 1.570796326794897) || t4.s.$(t4.s.R(e2), 1.570796326794897)) && (t4.s.$(t4.s.R(h2), 1.570796326794897) ? n4 = r2 : r2 = n4);
  2651. var m2 = 0;
  2652. if (0 > x2) {
  2653. m2 = 1;
  2654. var j2 = n4;
  2655. n4 = r2, r2 = j2, j2 = h2, h2 = e2, e2 = j2;
  2656. }
  2657. x2 = t4.F.pt(s4, h2);
  2658. var k2 = t4.F.pt(s4, e2);
  2659. a2 == null && u2 == null || (t4.$g.ub(i5, n4, x2, r2, k2, null, f2, c2), f2 = Math.atan2(Math.sin(f2.u) * Math.cos(h2 - x2), Math.cos(f2.u)), c2 = Math.atan2(Math.sin(c2.u) * Math.cos(e2 - k2), Math.cos(c2.u)), m2 != 0 && (j2 = f2, f2 = c2, c2 = j2), a2 != null && (a2.u = f2), u2 != null && (u2.u = c2)), o2 != null && (t4.F.el(1, s4, h2, n4, 0, d2, g2, w2), l2[0] = d2.u, l2[1] = g2.u, l2[2] = w2.u, t4.F.el(1, s4, e2, r2, 0, d2, g2, w2), p2[0] = d2.u, p2[1] = g2.u, p2[2] = w2.u, v2[0] = l2[1] * p2[2] - p2[1] * l2[2], v2[1] = -(l2[0] * p2[2] - p2[0] * l2[2]), v2[2] = l2[0] * p2[1] - p2[0] * l2[1], s4 = 1 - t4.F.w(s4, t4.F.Xq(s4, t4.F.Sj(s4, Math.acos(v2[2] / Math.sqrt(v2[0] * v2[0] + v2[1] * v2[1] + v2[2] * v2[2]))))), s4 *= 2 - s4, a2 = Math.atan2(-v2[1], -v2[0]), v2 = t4.F.ca(a2 - 1.570796326794897), a2 = t4.F.ca(a2 + 1.570796326794897), v2 = t4.s.R(t4.F.ca(n4 - v2)) <= t4.s.R(t4.F.ca(n4 - a2)) ? v2 : a2, t4.$g.ub(1, v2, 0, n4, x2, y2, null, null), t4.$g.ub(1, v2, 0, r2, k2, b2, null, null), 3.141592653589793 < y2.u + b2.u && (v2 = t4.F.ca(v2 + 3.141592653589793), t4.$g.ub(1, v2, 0, n4, x2, y2, null, null), t4.$g.ub(1, v2, 0, r2, k2, b2, null, null)), y2.u *= t4.s.Mb(1, h2), b2.u *= t4.s.Mb(1, e2), y2.u = t4.F.Sj(s4, y2.u), b2.u = t4.F.Sj(s4, b2.u), n4 = t4.F.q(i5, s4, y2.u), i5 = t4.F.q(i5, s4, b2.u), o2.u = t4.s.R(i5 - n4));
  2660. }
  2661. }
  2662. }, i4.sf = function(i5, s4, n4, h2, r2, e2, o2, a2) {
  2663. var u2 = 0, f2 = new t4.ha(0), c2 = new t4.ha(0), l2 = [0, 0, 0], p2 = [0, 0, 0], v2 = new t4.ha(0), y2 = new t4.ha(0), b2 = new t4.ha(0);
  2664. if (o2 != null || a2 != null)
  2665. if (t4.s.vi(s4))
  2666. t4.$g.sf(i5, n4, h2, r2, e2, o2, a2);
  2667. else if (t4.s.Dd(r2))
  2668. o2 != null && (o2.u = n4), a2 != null && (a2.u = h2);
  2669. else if (e2 = t4.F.ca(e2), 0 > r2 && (r2 = t4.s.R(r2), e2 = t4.F.ca(e2 + 3.141592653589793)), n4 = t4.F.ca(n4), h2 = t4.F.ca(h2), 1.570796326794897 < t4.s.R(h2) && (n4 = t4.F.ca(n4 + 3.141592653589793), h2 = t4.s.Mb(3.141592653589793, h2) - h2), t4.s.$(t4.s.R(h2), 1.570796326794897) && (n4 = 0), t4.s.Dd(h2)) {
  2670. var d2 = t4.s.R(1.570796326794897 - t4.s.R(e2));
  2671. d2 = t4.F.Sj(s4, d2), d2 = 1 - t4.F.w(s4, t4.F.Xq(s4, d2)), d2 *= 2 - d2, i5 = r2 / t4.F.Ch(i5, d2) * 1.570796326794897, i5 = t4.F.Tq(d2, i5), i5 = t4.F.pt(d2, i5), t4.$g.sf(1, n4, h2, i5, e2, o2, f2), a2 != null && (u2 = f2.u), a2 != null && (a2.u = t4.F.Sj(s4, u2));
  2672. } else if (t4.s.$(t4.s.R(h2), 1.570796326794897))
  2673. f2 = 2 * (u2 = t4.F.Ch(i5, s4)), e2 = 0 < (i5 = t4.s.Mb(1.570796326794897, h2)) ? t4.F.ca(3.141592653589793 - e2) : e2, h2 = u2 - r2, t4.s.R(h2) <= u2 ? o2 != null && (o2.u = e2) : (h2 = Math.floor(r2 / f2), t4.P.truncate(h2 % 2) == 0 ? (o2 != null && (o2.u = e2), r2 -= h2 * f2) : (o2 != null && (o2.u = t4.F.ca(e2 + 3.141592653589793)), r2 = (h2 + 1) * f2 - r2), h2 = u2 - r2), a2 != null && (a2.u = t4.F.Tq(s4, h2 / u2 * i5));
  2674. else {
  2675. d2 = t4.F.pt(s4, h2), e2 = Math.atan2(Math.sin(e2), Math.cos(e2) * Math.cos(h2 - d2));
  2676. var g2 = t4.P.truncate(t4.s.Mb(1, d2)) * (1.570796326794897 >= t4.s.R(e2) ? 1 : -1);
  2677. e2 = t4.F.ca(n4 + Math.atan(Math.tan(e2) * -Math.sin(d2))), t4.$g.ub(i5, e2, 0, n4, d2, null, c2, null), d2 = t4.s.R(1.570796326794897 - t4.s.R(c2.u)), d2 = t4.F.Sj(s4, d2), d2 = 1 - t4.F.w(s4, t4.F.Xq(s4, d2)), d2 *= 2 - d2, t4.F.el(1, s4, 0, e2, 0, v2, y2, b2), l2[0] = v2.u, l2[1] = y2.u, l2[2] = b2.u, t4.F.el(1, s4, h2, n4, 0, v2, y2, b2), p2[0] = v2.u, p2[1] = y2.u, p2[2] = b2.u, h2 = Math.acos((l2[0] * p2[0] + l2[1] * p2[1] + l2[2] * p2[2]) / Math.sqrt(p2[0] * p2[0] + p2[1] * p2[1] + p2[2] * p2[2])), h2 = t4.F.Sj(d2, h2), r2 = 0 < (h2 = t4.F.q(i5, d2, h2) + r2 * g2) ? c2.u : t4.F.ca(c2.u + 3.141592653589793), i5 = t4.s.R(h2) / t4.F.Ch(i5, d2) * 1.570796326794897, i5 = t4.F.Tq(d2, i5), i5 = t4.F.pt(d2, i5), t4.$g.sf(1, e2, 0, i5, r2, o2, f2), a2 != null && (u2 = f2.u), a2 != null && (a2.u = t4.F.Sj(s4, u2));
  2678. }
  2679. }, i4;
  2680. }();
  2681. }(V || (V = {})), function(t4) {
  2682. t4.eu = function() {
  2683. function i4() {
  2684. }
  2685. return i4.ub = function(i5, s4, n4, h2, r2, e2, o2, a2, u2) {
  2686. var f2 = 0, c2 = 0, l2 = 0;
  2687. if (o2 != null || a2 != null || u2 != null)
  2688. if (t4.s.vi(s4))
  2689. t4.$g.ub(i5, n4, h2, r2, e2, o2, a2, u2);
  2690. else {
  2691. var p2 = t4.F.ca(r2 - n4);
  2692. if (t4.s.$(h2, e2) && (t4.s.Dd(p2) || t4.s.$(t4.s.R(h2), 1.570796326794897)))
  2693. o2 != null && (o2.u = 0), a2 != null && (a2.u = 0), u2 != null && (u2.u = 0);
  2694. else {
  2695. if (t4.s.$(h2, -e2)) {
  2696. if (t4.s.$(t4.s.R(h2), 1.570796326794897))
  2697. return o2 != null && (o2.u = 2 * t4.F.Ch(i5, s4)), a2 != null && (a2.u = 0 < h2 ? t4.F.ca(3.141592653589793 - t4.F.ca(r2)) : t4.F.ca(r2)), void (u2 != null && (u2.u = 0 < h2 ? t4.F.ca(r2) : t4.F.ca(3.141592653589793 - t4.F.ca(r2))));
  2698. t4.s.$(t4.s.R(p2), 3.141592653589793) && (o2 != null && (o2.u = 2 * t4.F.Ch(i5, s4)), a2 != null && (a2.u = 0), u2 != null && (u2.u = 0));
  2699. } else {
  2700. if (t4.s.$(t4.s.R(h2), 1.570796326794897) || t4.s.$(t4.s.R(e2), 1.570796326794897))
  2701. return void t4.Yk.ub(i5, s4, n4, h2, r2, e2, o2, a2, u2);
  2702. if (t4.s.Dd(p2) || t4.s.$(t4.s.R(p2), 3.141592653589793))
  2703. return void t4.Yk.ub(i5, s4, n4, h2, r2, e2, o2, a2, u2);
  2704. }
  2705. var v2 = 1 - Math.sqrt(1 - s4), y2 = s4 / (1 - s4), b2 = i5 * (1 - v2);
  2706. i5 = t4.F.Xq(s4, h2);
  2707. var d2 = t4.F.Xq(s4, e2);
  2708. s4 = t4.s.R(i5) == 1.570796326794897 ? 0 : Math.cos(i5);
  2709. var g2 = Math.sin(i5), w2 = t4.s.R(d2) == 1.570796326794897 ? 0 : Math.cos(d2), x2 = Math.sin(d2), m2 = p2, j2 = Math.cos(m2), k2 = Math.sin(m2), M2 = 1, z2 = 0;
  2710. do {
  2711. var A2 = m2, N2 = Math.sqrt(Math.pow(w2 * k2, 2) + Math.pow(s4 * x2 - g2 * w2 * j2, 2)), I2 = g2 * x2 + s4 * w2 * j2, P2 = Math.atan2(N2, I2);
  2712. if (N2 == 0) {
  2713. M2 = 0;
  2714. break;
  2715. }
  2716. var C2 = s4 * w2 * k2 / N2;
  2717. if (f2 = Math.cos(Math.asin(C2)), c2 = I2 - 2 * g2 * x2 / (f2 *= f2), 1 < t4.s.R(c2) && (c2 = t4.s.Mb(1, c2)), m2 = p2 + (1 - (m2 = v2 / 16 * f2 * (4 + v2 * (4 - 3 * f2)))) * v2 * C2 * (P2 + m2 * N2 * (c2 + m2 * I2 * (2 * (l2 = c2 * c2) - 1))), j2 = Math.cos(m2), k2 = Math.sin(m2), z2++, 3.141592653589793 < t4.s.R(m2) && 30 < z2) {
  2718. M2 = 0;
  2719. break;
  2720. }
  2721. } while (5e3 >= z2 && !t4.s.$(A2, m2));
  2722. if (M2 != 0)
  2723. v2 = (y2 *= f2) * (256 + y2 * (y2 * (74 - 47 * y2) - 128)) / 1024, o2 != null && (o2.u = b2 * (1 + y2 * (4096 + y2 * (y2 * (320 - 175 * y2) - 768)) / 16384) * (P2 - v2 * N2 * (c2 + v2 / 4 * (I2 * (2 * l2 - 1) - v2 / 6 * c2 * (4 * N2 * N2 - 3) * (4 * l2 - 3))))), a2 != null && (a2.u = t4.s.$(t4.s.R(h2), 1.570796326794897) ? 0 > h2 ? r2 : t4.F.ca(3.141592653589793 - r2) : Math.atan2(w2 * k2, s4 * x2 - g2 * w2 * j2)), u2 != null && (t4.s.$(t4.s.R(e2), 1.570796326794897) ? u2.u = 0 > e2 ? n4 : t4.F.ca(3.141592653589793 - n4) : (u2.u = Math.atan2(s4 * k2, s4 * x2 * j2 - g2 * w2), u2.u = t4.F.ca(u2.u + 3.141592653589793)));
  2724. else {
  2725. m2 = t4.s.Mb(3.141592653589793, p2), I2 = g2 * x2 - s4 * w2, P2 = Math.acos(I2), N2 = Math.sin(P2), f2 = 1, z2 = C2 = 0;
  2726. do {
  2727. l2 = C2, j2 = 1 - 0.25 * (C2 = v2 * (f2 *= f2) * (1 + v2 + v2 * v2)) + 0.1875 * (c2 = v2 * v2 * (j2 = f2 * f2) * (1 + 2.25 * v2)) - 0.1953125 * (M2 = v2 * v2 * v2 * j2 * f2), C2 = 0.25 * C2 - 0.25 * c2 + 0.29296875 * M2, k2 = 0.03125 * c2 - 0.05859375 * M2, M2 *= 0.00651041666666667, c2 = I2 - 2 * g2 * x2 / f2, 1 < t4.s.R(c2) && (c2 = t4.s.Mb(1, c2)), f2 = Math.acos(c2), I2 = Math.cos(2 * f2), A2 = Math.cos(3 * f2), k2 = (C2 = t4.s.$(h2, -e2) ? t4.F.ca(3.141592653589793 - p2) / (3.141592653589793 * v2 * j2) : t4.F.ca(m2 - p2) / (v2 * (j2 * P2 + C2 * N2 * c2 + k2 * Math.sin(2 * P2) * I2 + M2 * Math.sin(3 * P2) * A2))) * N2 / (s4 * w2), m2 = 1.570796326794897 < t4.s.R(p2) ? t4.s.Mb(3.141592653589793, k2) - Math.asin(k2) : Math.asin(k2), j2 = Math.cos(m2), N2 = Math.sqrt(Math.pow(w2 * k2, 2) + Math.pow(s4 * x2 - g2 * w2 * j2, 2)), P2 = 3.141592653589793 - Math.asin(t4.s.R(N2)), I2 = Math.cos(P2), f2 = Math.cos(Math.asin(C2)), z2++;
  2728. } while (70 >= z2 && !t4.s.$(l2, C2));
  2729. o2 != null && (j2 = 1 + (y2 *= f2 *= f2) * (4096 + y2 * (y2 * (320 - 175 * y2) - 768)) / 16384, t4.s.$(h2, -e2) ? o2.u = 3.141592653589793 * b2 * j2 : (c2 = I2 - 2 * g2 * x2 / f2, f2 = Math.acos(c2), I2 = Math.cos(2 * f2), A2 = Math.cos(3 * f2), o2.u = b2 * (j2 * P2 + y2 * (y2 * (128 + y2 * (35 * y2 - 60)) - 512) / 2048 * N2 * c2 + y2 * (5 * y2 - 4) / 6144 * y2 * y2 * Math.sin(2 * P2) * I2 + M2 * Math.sin(3 * P2) * A2 + -762939453125e-16 * y2 * y2 * y2 * y2 * Math.sin(4 * P2) * Math.cos(4 * f2)))), a2 != null && (t4.s.Dd(h2) && t4.s.Dd(e2) ? (f2 = Math.sqrt(1 - C2 * C2), a2.u = Math.acos(f2), 0 > p2 && (a2.u *= -1)) : t4.s.$(t4.s.R(h2), 1.570796326794897) ? a2.u = 0 > h2 ? r2 : t4.F.ca(3.141592653589793 - r2) : (o2 = C2 / s4, b2 = Math.sqrt(1 - o2 * o2), 0 > s4 * x2 - g2 * w2 * Math.cos(m2) && (b2 *= -1), a2.u = Math.atan2(o2, b2), t4.s.$(h2, -e2) && t4.s.R(t4.F.ca(n4 - r2)) > 3.141592653589793 * (1 - v2 * Math.cos(h2)) && (0 < h2 && 1.570796326794897 > t4.s.R(a2.u) || 0 > h2 && 1.570796326794897 < t4.s.R(a2.u)) && (a2.u = t4.s.Mb(3.141592653589793, a2.u) - a2.u))), u2 != null && (t4.s.Dd(h2) && t4.s.Dd(e2) ? (f2 = Math.sqrt(1 - C2 * C2), u2.u = Math.acos(f2), 0 <= p2 && (u2.u *= -1)) : t4.s.$(t4.s.R(e2), 1.570796326794897) ? u2.u = 0 > e2 ? n4 : t4.F.ca(3.141592653589793 - n4) : (p2 = C2 / w2, o2 = Math.sqrt(1 - p2 * p2), b2 = Math.sin(m2 / 2), 0 > Math.sin(d2 - i5) - 2 * s4 * x2 * b2 * b2 && (o2 *= -1), u2.u = Math.atan2(p2, o2), u2.u = t4.F.ca(u2.u + 3.141592653589793), t4.s.$(h2, -e2) && !t4.s.Dd(h2) && !t4.s.$(t4.s.R(h2), 1.570796326794897) && t4.s.R(t4.F.ca(n4 - r2)) > 3.141592653589793 * (1 - v2 * Math.cos(h2)) && (a2 != null ? b2 = a2.u : (o2 = C2 / s4, b2 = Math.sqrt(1 - o2 * o2), 0 > s4 * x2 - g2 * w2 * Math.cos(m2) && (b2 *= -1), b2 = Math.atan2(o2, b2), t4.s.$(h2, -e2) && t4.s.R(t4.F.ca(n4 - r2)) > 3.141592653589793 * (1 - v2 * Math.cos(h2)) && (0 < h2 && 1.570796326794897 > t4.s.R(b2) || 0 > h2 && 1.570796326794897 < t4.s.R(b2)) && (b2 = t4.s.Mb(3.141592653589793, b2) - b2)), 1.570796326794897 >= t4.s.R(b2) && 1.570796326794897 < t4.s.R(u2.u) || 1.570796326794897 <= t4.s.R(b2) && 1.570796326794897 > t4.s.R(u2.u)) && (u2.u = -1 * t4.F.ca(u2.u + 3.141592653589793))));
  2730. }
  2731. }
  2732. }
  2733. }, i4.sf = function(i5, s4, n4, h2, r2, e2, o2, a2) {
  2734. if (o2 != null || a2 != null)
  2735. if (t4.s.vi(s4))
  2736. t4.$g.sf(i5, n4, h2, r2, e2, o2, a2);
  2737. else if (e2 = t4.F.ca(e2), t4.s.$(t4.s.R(h2), 1.570796326794897) || t4.s.Dd(e2) || t4.s.$(t4.s.R(e2), 3.141592653589793))
  2738. t4.Yk.sf(i5, s4, n4, h2, r2, e2, o2, a2);
  2739. else {
  2740. var u2 = t4.s.R(e2) == 1.570796326794897 ? 0 : Math.cos(e2), f2 = t4.s.R(e2) == 3.141592653589793 ? 0 : Math.sin(e2);
  2741. t4.s.$(t4.s.R(h2), 1.570796326794897) && (n4 = 0), e2 = 1 - Math.sqrt(1 - s4);
  2742. var c2 = t4.F.Xq(s4, h2);
  2743. h2 = t4.s.R(c2) == 1.570796326794897 ? 0 : Math.cos(c2);
  2744. var l2 = Math.sin(c2);
  2745. c2 = Math.atan2(Math.tan(c2), u2);
  2746. var p2 = h2 * f2, v2 = p2 * p2, y2 = 1 - v2, b2 = s4 / (1 - s4) * y2, d2 = (s4 = b2 * (256 + b2 * (b2 * (74 - 47 * b2) - 128)) / 1024) / 4, g2 = s4 / 6, w2 = r2 / (i5 * (1 - e2) * (1 + b2 * (4096 + b2 * (b2 * (320 - 175 * b2) - 768)) / 16384)), x2 = w2;
  2747. do {
  2748. var m2 = x2;
  2749. r2 = t4.s.R(x2) == 1.570796326794897 ? 0 : Math.cos(x2);
  2750. var j2 = (b2 = t4.s.R(x2) == 3.141592653589793 ? 0 : Math.sin(x2)) * b2;
  2751. x2 = s4 * b2 * ((i5 = Math.cos(2 * c2 + x2)) + d2 * (r2 * (2 * (x2 = i5 * i5) - 1) - g2 * i5 * (4 * j2 - 3) * (4 * x2 - 3))) + w2;
  2752. } while (!t4.s.$(m2, x2));
  2753. r2 = t4.s.R(x2) == 1.570796326794897 ? 0 : Math.cos(x2), b2 = t4.s.R(x2) == 3.141592653589793 ? 0 : Math.sin(x2), o2 != null && (f2 = Math.atan2(b2 * f2, h2 * r2 - l2 * b2 * u2), y2 = e2 / 16 * y2 * (4 + e2 * (4 - 3 * y2)), i5 = Math.cos(2 * c2 + x2), o2.u = t4.F.ca(n4 + (f2 - (1 - y2) * e2 * p2 * (x2 + y2 * b2 * (i5 + y2 * r2 * (2 * i5 * i5 - 1)))))), a2 != null && (y2 = l2 * b2 - h2 * r2 * u2, y2 = (1 - e2) * Math.sqrt(v2 + y2 * y2), a2.u = Math.atan2(l2 * r2 + h2 * b2 * u2, y2));
  2754. }
  2755. }, i4;
  2756. }();
  2757. }(V || (V = {})), function(t4) {
  2758. t4.JC = function() {
  2759. function i4() {
  2760. }
  2761. return i4.ub = function(i5, s4, n4, h2, r2, e2, o2, a2, u2) {
  2762. var f2 = t4.F.ca(r2 - n4), c2 = t4.s.$(t4.s.R(h2), 1.570796326794897), l2 = t4.s.$(t4.s.R(e2), 1.570796326794897);
  2763. if (t4.s.$(h2, e2) && (t4.s.Dd(f2) || c2))
  2764. o2 != null && (o2.u = 0), a2 != null && (a2.u = 0), u2 != null && (u2.u = 0);
  2765. else {
  2766. if (t4.s.vi(s4)) {
  2767. var p2 = Math.sin(h2), v2 = Math.sin(e2);
  2768. p2 = Math.sqrt((1 + p2) / (1 - p2)), v2 = Math.sqrt((1 + v2) / (1 - v2)), p2 = Math.log(v2) - Math.log(p2), p2 = Math.atan2(f2, p2), o2 != null && (o2.u = t4.s.$(h2, e2) ? t4.s.R(i5 * Math.cos(h2) * f2) : t4.s.R((i5 * e2 - i5 * h2) / Math.cos(p2)));
  2769. } else
  2770. v2 = t4.F.Sw(s4, e2), p2 = Math.sin(t4.F.Sw(s4, h2)), v2 = Math.sin(v2), p2 = Math.sqrt((1 + p2) / (1 - p2)), v2 = Math.sqrt((1 + v2) / (1 - v2)), p2 = Math.log(v2) - Math.log(p2), p2 = Math.atan2(f2, p2), o2 != null && (t4.s.$(h2, e2) ? o2.u = t4.s.R(i5 * f2 * Math.cos(h2) / t4.F.w(s4, h2)) : (f2 = t4.F.q(i5, s4, h2), i5 = t4.F.q(i5, s4, e2), o2.u = t4.s.R((i5 - f2) / Math.cos(p2))));
  2771. a2 == null && u2 == null || (o2 = t4.F.ca(p2 + 3.141592653589793), c2 && l2 || !c2 && !l2 || (c2 ? p2 = 0 > h2 ? r2 : t4.F.ca(3.141592653589793 - r2) : l2 && (o2 = 0 > e2 ? n4 : t4.F.ca(3.141592653589793 - n4))), a2 != null && (a2.u = p2), u2 != null && (u2.u = o2));
  2772. }
  2773. }, i4.sf = function(i5, s4, n4, h2, r2, e2, o2, a2) {
  2774. e2 = t4.F.ca(e2), 0 > r2 && (r2 = t4.s.R(r2), e2 = t4.F.ca(e2 + 3.141592653589793)), t4.s.vi(s4) ? t4.s.$(t4.s.R(h2), 1.570796326794897) ? (n4 = 0 > h2 ? e2 : t4.F.ca(3.141592653589793 - e2), 3.141592653589793 >= (e2 = r2 / i5 % 6.283185307179586) ? i5 = h2 - t4.s.Mb(e2, h2) : (n4 = t4.F.ca(n4 + 3.141592653589793), i5 = -h2 + t4.s.Mb(e2 - 3.141592653589793, h2))) : t4.s.$(t4.s.R(e2), 1.570796326794897) ? (n4 = t4.F.ca(n4 + t4.s.Mb(r2, e2) / (i5 * Math.cos(h2))), i5 = h2) : (i5 = h2 + r2 * Math.cos(e2) / i5, 1.570796326794897 < t4.s.R(i5) && (i5 = 1.570796326794897), t4.s.$(t4.s.R(i5), 1.570796326794897) && (t4.s.Dd(e2) || t4.s.$(t4.s.R(e2), 3.141592653589793)) || (1.570796316258184 < t4.s.R(i5) && (i5 = t4.s.Mb(1.570796316258184, i5)), s4 = Math.sin(h2), h2 = Math.sin(i5), s4 = Math.sqrt((1 + s4) / (1 - s4)), h2 = Math.sqrt((1 + h2) / (1 - h2)), s4 = Math.log(h2) - Math.log(s4), n4 = t4.F.ca(n4 + Math.tan(e2) * s4))) : t4.s.$(t4.s.R(h2), 1.570796326794897) ? (n4 = 0 > h2 ? e2 : t4.F.ca(3.141592653589793 - e2), e2 = r2 / t4.F.iW(i5, s4), 3.141592653589793 >= (e2 %= 6.283185307179586) ? i5 = h2 - t4.s.Mb(e2, h2) : (n4 = t4.F.ca(n4 + 3.141592653589793), i5 = -h2 + t4.s.Mb(e2 - 3.141592653589793, h2)), i5 = t4.F.Tq(s4, i5)) : t4.s.$(t4.s.R(e2), 1.570796326794897) ? (n4 = t4.F.ca(n4 + t4.s.Mb(r2, e2) * t4.F.w(s4, h2) / (i5 * Math.cos(h2))), i5 = h2) : (i5 = 1.570796326794897 * (r2 * Math.cos(e2) + t4.F.q(i5, s4, h2)) / t4.F.Ch(i5, s4), 1.570796326794897 < t4.s.R(i5) && (i5 = t4.s.Mb(1.570796326794897, i5)), i5 = t4.F.Tq(s4, i5), t4.s.$(t4.s.R(i5), 1.570796326794897) && (t4.s.Dd(e2) || t4.s.$(t4.s.R(e2), 3.141592653589793)) || (r2 = t4.F.Sw(s4, h2), h2 = t4.F.Sw(s4, i5), 1.570796316258184 < t4.s.R(h2) && (h2 = t4.s.Mb(1.570796316258184, i5), i5 = t4.F.sO(s4, h2)), s4 = Math.sin(r2), h2 = Math.sin(h2), s4 = Math.sqrt((1 + s4) / (1 - s4)), h2 = Math.sqrt((1 + h2) / (1 - h2)), s4 = Math.log(h2) - Math.log(s4), n4 = t4.F.ca(n4 + Math.tan(e2) * s4))), o2 != null && (o2.u = n4), a2 != null && (a2.u = i5);
  2775. }, i4;
  2776. }();
  2777. }(V || (V = {})), function(t4) {
  2778. t4.kb = function() {
  2779. function i4() {
  2780. }
  2781. return i4.Sy = function(i5, s4, n4, h2, r2, e2, o2) {
  2782. t4.eu.ub(i5, s4, n4, h2, r2, e2, null, o2, null);
  2783. }, i4.Ai = function(i5, s4, n4, h2, r2, e2, o2, a2) {
  2784. t4.eu.sf(i5, s4, n4, h2, r2, e2, o2, a2);
  2785. }, i4.xd = function(i5, s4, n4, h2, r2, e2, o2, a2, u2, f2) {
  2786. switch (f2) {
  2787. case 2:
  2788. t4.Yk.ub(i5, s4, n4, h2, r2, e2, o2, a2, u2);
  2789. break;
  2790. case 3:
  2791. t4.KC.ub(i5, s4, n4, h2, r2, e2, o2, a2, u2);
  2792. break;
  2793. case 1:
  2794. t4.JC.ub(i5, s4, n4, h2, r2, e2, o2, a2, u2);
  2795. break;
  2796. default:
  2797. t4.eu.ub(i5, s4, n4, h2, r2, e2, o2, a2, u2);
  2798. }
  2799. }, i4.qj = function(i5, s4, n4, h2, r2, e2, o2, a2, u2) {
  2800. switch (u2) {
  2801. case 2:
  2802. t4.Yk.sf(i5, s4, n4, h2, r2, e2, o2, a2);
  2803. break;
  2804. case 3:
  2805. t4.KC.sf(i5, s4, n4, h2, r2, e2, o2, a2);
  2806. break;
  2807. case 1:
  2808. t4.JC.sf(i5, s4, n4, h2, r2, e2, o2, a2);
  2809. break;
  2810. default:
  2811. t4.eu.sf(i5, s4, n4, h2, r2, e2, o2, a2);
  2812. }
  2813. }, i4;
  2814. }();
  2815. }(V || (V = {})), function(t4) {
  2816. var i4 = function() {
  2817. function i5() {
  2818. this.y = this.x = null;
  2819. }
  2820. return i5.construct = function(s5) {
  2821. var n4 = new i5();
  2822. return n4.x = new t4.Xb(), n4.x.set(s5.x), n4.y = new t4.Xb(), n4.y.set(s5.y), n4;
  2823. }, i5.PE = function(s5, n4) {
  2824. var h2 = new i5();
  2825. return h2.x = new t4.Xb(), h2.x.set(s5), h2.y = new t4.Xb(), h2.y.set(n4), h2;
  2826. }, i5.prototype.qg = function() {
  2827. return this.x.qg() && this.y.qg();
  2828. }, i5.prototype.value = function() {
  2829. return t4.h.construct(this.x.value(), this.y.value());
  2830. }, i5;
  2831. }();
  2832. t4.nY = i4;
  2833. var s4 = function() {
  2834. function i5() {
  2835. this.z = this.y = this.x = null;
  2836. }
  2837. return i5.construct = function(s5) {
  2838. var n4 = new i5();
  2839. return n4.x = new t4.Xb(), n4.x.set(s5.x), n4.y = new t4.Xb(), n4.y.set(s5.y), n4.z = new t4.Xb(), n4.z.set(s5.z), n4;
  2840. }, i5.PE = function(s5, n4, h2) {
  2841. var r2 = new i5();
  2842. return r2.x = new t4.Xb(), r2.x.set(s5), r2.y = new t4.Xb(), r2.y.set(n4), r2.z = new t4.Xb(), r2.z.set(h2), r2;
  2843. }, i5.prototype.qg = function() {
  2844. return this.x.qg() && this.y.qg() && this.z.qg();
  2845. }, i5.prototype.value = function() {
  2846. return new t4.Od(this.x.value(), this.y.value(), this.z.value());
  2847. }, i5.prototype.Sh = function(i6) {
  2848. var s5 = new t4.Xb(), n4 = new t4.Xb(), h2 = new t4.Xb();
  2849. return s5.Ml(this.x, i6.x), n4.Ml(this.y, i6.y), h2.Ml(this.z, i6.z), (i6 = new t4.Xb()).YM(s5, n4), i6.add(h2), i6;
  2850. }, i5.prototype.XE = function(s5) {
  2851. var n4 = new i5();
  2852. n4.x.Ml(this.y, s5.z), n4.y.Ml(this.z, s5.x), n4.z.Ml(this.x, s5.y);
  2853. var h2 = new t4.Xb(), r2 = new t4.Xb(), e2 = new t4.Xb();
  2854. return h2.Ml(this.z, s5.y), r2.Ml(this.x, s5.z), e2.Ml(this.y, s5.x), n4.x.sub(h2), n4.y.sub(r2), n4.z.sub(e2), n4;
  2855. }, i5;
  2856. }();
  2857. t4.oY = s4, t4.Nx = function() {
  2858. function n4() {
  2859. }
  2860. return n4.yP = function(t5, i5, s5) {
  2861. var h2 = i5.x;
  2862. i5 = i5.y, n4.el(1, t5, Math.cos(h2), Math.sin(h2), Math.cos(i5), Math.sin(i5), s5);
  2863. }, n4.xP = function(i5, s5) {
  2864. var h2 = new t4.Od();
  2865. return n4.yP(i5, s5, h2), h2;
  2866. }, n4.el = function(t5, i5, s5, n5, h2, r2, e2) {
  2867. t5 /= Math.sqrt(1 - i5 * r2 * r2), e2.L(t5 * h2 * s5, t5 * h2 * n5, t5 * (1 - i5) * r2);
  2868. }, n4.$u = function(i5, n5) {
  2869. var h2 = new t4.Xb(), r2 = new t4.Xb(), e2 = new t4.Xb(), o2 = new t4.Xb();
  2870. h2.cos(n5.x), r2.sin(n5.x), e2.cos(n5.y), o2.sin(n5.y);
  2871. var a2 = new t4.Xb();
  2872. return a2.set(o2), a2.Ag(o2), a2.Oo(i5), a2.Oo(-1), a2.eN(), a2.sqrt(), (n5 = new t4.Xb()).set(1), n5.lm(a2), (a2 = new t4.Xb()).set(n5), a2.Ag(e2), a2.Ag(h2), (h2 = new t4.Xb()).set(n5), h2.Ag(e2), h2.Ag(r2), (r2 = new t4.Xb()).set(n5), r2.Oo(1 - i5), r2.Ag(o2), s4.PE(a2, h2, r2);
  2873. }, n4.KS = function(s5, h2, r2, e2) {
  2874. if (Math.abs(h2.x - r2.x) > Math.PI || Math.abs(h2.y) > 0.5 * Math.PI || Math.abs(r2.y) > 0.5 * Math.PI || (Math.abs(h2.y) == 0.5 * Math.PI || Math.abs(r2.y) == 0.5 * Math.PI) && h2.x != r2.x)
  2875. return NaN;
  2876. if (e2 = n4.XA(e2, Math.min(h2.x, r2.x), Math.max(h2.x, r2.x)), !new t4.Oc(h2.x, r2.x).contains(e2))
  2877. return NaN;
  2878. var o2 = i4.construct(h2);
  2879. if (r2 = i4.construct(r2), o2 = n4.$u(s5, o2), r2 = n4.$u(s5, r2), (r2 = o2.XE(r2)).z.qg())
  2880. return h2.y;
  2881. var a2 = new t4.Xb();
  2882. a2.set(r2.x), a2.lm(r2.z), a2.Oo(-1);
  2883. var u2 = new t4.Xb();
  2884. u2.set(r2.y), u2.lm(r2.z), u2.Oo(-1);
  2885. var f2 = new t4.Xb();
  2886. return f2.set(u2), f2.Ag(u2), (o2 = new t4.Xb()).set(a2), o2.Ag(a2), o2.add(f2), o2.sqrt(), o2.qg() || a2.qg() && u2.qg() ? h2.y : (h2 = Math.atan2(u2.value(), a2.value()), h2 = Math.atan2(o2.value() * Math.cos(h2 - e2), 1 - s5), e2 = n4.xP(s5, t4.h.construct(e2, h2)), s5 = new t4.Od(e2.x, e2.y, -e2.z), e2 = r2.value().Sh(e2), s5 = r2.value().Sh(s5), Math.abs(s5) < Math.abs(e2) && (h2 = -h2), h2);
  2887. }, n4.Jz = function(s5, h2, r2, e2, o2) {
  2888. if (o2[0] = NaN, o2[1] = NaN, Math.abs(h2.x - r2.x) > Math.PI || Math.abs(h2.y) > 0.5 * Math.PI || Math.abs(r2.y) > 0.5 * Math.PI || (Math.abs(h2.y) == 0.5 * Math.PI || Math.abs(r2.y) == 0.5 * Math.PI) && h2.x != r2.x || Math.abs(e2) >= 0.5 * Math.PI || 0 < h2.y && 0 < r2.y && h2.y > e2 && r2.y > e2 || 0 > h2.y && 0 > r2.y && h2.y < e2 && r2.y < e2)
  2889. return 0;
  2890. var a2 = i4.construct(h2), u2 = i4.construct(r2);
  2891. a2 = n4.$u(s5, a2), u2 = n4.$u(s5, u2);
  2892. var f2 = a2.XE(u2);
  2893. if (f2.z.qg())
  2894. return new t4.Oc(h2.y, r2.y).contains(e2) ? (o2[0] = h2.x, 1) : 0;
  2895. (u2 = new t4.Xb()).set(f2.x), u2.lm(f2.z), u2.Oo(-1), (a2 = new t4.Xb()).set(f2.y), a2.lm(f2.z), a2.Oo(-1), (f2 = new t4.Xb()).set(a2), f2.Ag(a2);
  2896. var c2 = new t4.Xb();
  2897. return c2.set(u2), c2.Ag(u2), c2.add(f2), c2.sqrt(), c2.qg() || u2.qg() && a2.qg() ? e2 == 0 ? (o2[0] = h2.x, o2[1] = r2.x, 2) : 0 : (s5 = (1 - s5) * Math.tan(e2) / c2.value(), 1 < Math.abs(s5) ? 0 : (s5 = Math.acos(s5), f2 = Math.atan2(a2.value(), u2.value()), u2 = Math.min(h2.x, r2.x), a2 = Math.max(h2.x, r2.x), r2 = n4.XA(f2 - s5, u2, a2), s5 = e2 != 0 ? n4.XA(f2 + s5, u2, a2) : r2, e2 = 0, u2 <= r2 && r2 <= a2 && (o2[e2] = r2, e2++), s5 != r2 && u2 <= s5 && s5 <= a2 && (o2[e2] = s5, ++e2 == 2 && Math.abs(o2[0] - h2.x) > Math.abs(o2[1] - h2.x) && (h2 = o2[0], o2[0] = o2[1], o2[1] = h2)), e2));
  2898. }, n4.XA = function(t5, i5, s5) {
  2899. return t5 > s5 ? t5 -= 2 * (i5 = Math.ceil((t5 - s5) / (2 * Math.PI))) * Math.PI : t5 < i5 && (t5 += 2 * (i5 = Math.ceil((i5 - t5) / (2 * Math.PI))) * Math.PI), t5;
  2900. }, n4;
  2901. }();
  2902. }(V || (V = {})), function(t4) {
  2903. t4.RK = function() {
  2904. function i4() {
  2905. }
  2906. return i4.SX = function(s4, n4) {
  2907. var h2 = 8, r2 = [0, 0, 0, 0], e2 = new t4.h();
  2908. e2.N(n4), e2.scale(t4.cb.tc(s4).Id().Fc() == 9102 ? 1 : t4.cb.tc(s4).Id().ci / 3.141592653589793 * 180), -180 > e2.x ? (e2.x -= e2.x % 360, -180 > e2.x && (e2.x += 360)) : 180 < e2.x && (e2.x -= e2.x % 360, 180 < e2.x && (e2.x -= 360)), 90 < e2.y && (e2.y = 90), -90 > e2.y && (e2.y = -90);
  2909. for (var o2 = -180, a2 = 180, u2 = (s4 = 5 * h2) - 1, f2 = (n4 = (s4 + 31) / 32) - 1; 0 <= f2; f2--)
  2910. for (var c2 = u2 - 32 * f2, l2 = Math.min(32, s4 - 32 * f2), p2 = 1; p2 < l2; p2 += 2) {
  2911. var v2 = 0.5 * (a2 + o2);
  2912. e2.x >= v2 ? (r2[f2] |= 1 << c2, o2 = v2) : a2 = v2, c2 -= 2, u2 -= 2;
  2913. }
  2914. for (o2 = -90, a2 = 90, u2 = s4 - 2, f2 = n4 - 1; 0 <= f2; f2--)
  2915. for (c2 = u2 - 32 * f2, l2 = Math.min(32, s4 - 32 * f2), p2 = 0; p2 < l2; p2 += 2)
  2916. v2 = 0.5 * (a2 + o2), e2.y >= v2 ? (r2[f2] |= 1 << c2, o2 = v2) : a2 = v2, c2 -= 2, u2 -= 2;
  2917. return i4.UP(r2, h2, h2);
  2918. }, i4.UP = function(t5, i5, s4) {
  2919. for (var n4 = [], h2 = 0; h2 < i5; h2++)
  2920. n4[h2] = "";
  2921. for (var r2 = h2 = 0, e2 = 0; e2 < i5; e2++) {
  2922. var o2 = t5[h2] >> r2 & 31;
  2923. if (31 < (r2 += 5)) {
  2924. var a2 = 37 - r2;
  2925. o2 &= (1 << a2) - 1, r2 -= 32, o2 |= (t5[++h2] & (1 << r2) - 1) << a2;
  2926. }
  2927. n4[i5 - 1 - e2] = "0123456789bcdefghjkmnpqrstuvwxyz".split("")[o2];
  2928. }
  2929. if (s4 > i5)
  2930. for (e2 = 0; e2 < s4 - i5; e2++)
  2931. n4.push("0");
  2932. else
  2933. s4 < i5 && (n4.length = s4);
  2934. return n4.join("");
  2935. }, i4;
  2936. }();
  2937. }(V || (V = {})), function(t4) {
  2938. var i4 = { gcstol: [0, 2e-9, 1, 2241706620489156e-24, 2, 2313672246530541e-24, 3, 898240164660333e-23, 4, 8982433838020134e-24, 5, 8982439417325895e-24, 6, 8982466029667677e-24, 7, 8982476760268133e-24, 8, 8982492642167149e-24, 9, 898251968292634e-23, 10, 898253685210448e-23, 11, 8982546725256576e-24, 12, 8982557456049832e-24, 13, 898257333682596e-23, 14, 8982575482995276e-24, 15, 8982578488197342e-24, 16, 8982579775336987e-24, 17, 89825840676828e-22, 18, 8982599090925448e-24, 19, 8982605529473397e-24, 20, 8982609220517402e-24, 21, 8982611968030573e-24, 22, 8982616260407152e-24, 23, 8982620552787834e-24, 24, 8982633429954492e-24, 25, 8982637722351582e-24, 26, 898264416095491e-23, 27, 8982646307158072e-24, 28, 8982654891980968e-24, 29, 8982667769246082e-24, 30, 8982674207892485e-24, 31, 8982680646548117e-24, 32, 8982682792768713e-24, 33, 8982685798042582e-24, 34, 8982689231436652e-24, 35, 898269137766135e-23, 36, 898269266624163e-23, 37, 8982705114087017e-24, 38, 8982706830791106e-24, 39, 8982711958374661e-24, 40, 8982712839964735e-24, 41, 8982717991496125e-24, 42, 8982721424914803e-24, 43, 8982723571154887e-24, 44, 8982727863638127e-24, 45, 8982730868942154e-24, 46, 8982734302370678e-24, 47, 8982745033612112e-24, 48, 8982751472369276e-24, 49, 8982755764879183e-24, 50, 8982762203651733e-24, 51, 8982764776628385e-24, 52, 8982766496171896e-24, 53, 898277722749025e-23, 54, 898278152002477e-23, 55, 898279933943848e-23, 56, 89829143024805e-22, 57, 8982922161948598e-24, 58, 898292327314211e-23, 59, 8982925667349601e-24, 60, 8982932222965576e-24, 61, 8982961298941316e-24, 62, 8982965524049989e-24, 63, 8982994818246099e-24, 64, 8982994895706967e-24, 65, 898299489597736e-23, 66, 8983000733443498e-24, 67, 8983055097289157e-24, 68, 8983064111047368e-24, 69, 8983111996941178e-24, 70, 8983120447446023e-24, 71, 898312748954554e-23, 72, 8983134531656096e-24, 73, 8983141573777694e-24, 74, 8983148615910332e-24, 75, 8983152841195215e-24, 76, 8983153545409748e-24, 77, 8983153827095593e-24, 78, 898315396793852e-23, 79, 8983154249624393e-24, 80, 8983155658054012e-24, 81, 8983960794340072e-24, 82, 8984061344391998e-24, 83, 8984072829255685e-24, 84, 8984194981201908e-24, 85, 8984275233099427e-24, 86, 8984326127007554e-24, 87, 8984330099816539e-24, 88, 898433275258421e-23, 89, 8984333047023206e-24, 90, 8984333885258723e-24, 91, 8984337959508212e-24, 92, 8984365176209457e-24, 93, 8984727360418079e-24, 94, 8984901041679577e-24, 95, 898542662091587e-23, 96, 898610024130669e-23, 97, 8992894229037531e-24, 98, 8993203677616635e-24, 99, 8993206178094346e-24, 100, 8993216059187305e-24, 101, 899322029394808e-23, 102, 8994627867045891e-24, 103, 9467559984315793e-24, 104, 946881168618118e-23, 105, 9980888154931644e-24, 106, 9981105353606775e-24, 107, 9983807356573187e-24, 108, 1687060485811522e-23, 109, 1688447560354875e-23, 110, 2176606011487185e-23, 111, 2225078816042032e-23, 112, 2348476432064694e-23, 113, 2348765250187846e-23, 114, 2378108974103778e-23, 115, 314559636297708e-22, 116, 3297788621680806e-23, 117, 3667892343788279e-23, 118, 4235973644320739e-23, 119, 4794625900676345e-23, 120, 7262742998235812e-23, 121, 7499447580246377e-23, 122, 7525056410964318e-23, 123, 7979913581209237e-23, 124, 9662020153976783e-23, 125, 9799175562353741e-23, 126, 9897353517547472e-23, 127, 102313891987647e-21, 128, 1081460541960784e-22, 129, 121905913857622e-21, 130, 2246893314238523e-22, 131, 2297344808062643e-22, 132, 242984645941825e-21, 133, 2754604784282804e-22, 134, 2884548130346993e-22, 135, 3370339971357784e-22, 136, 4307953346848296e-22, 137, 5208707228462029e-22, 138, 5509209568565608e-22, 139, 6452227422644406e-22, 140, 6740679942715567e-22, 141, 6861770001566745e-22, 142, 7252630318111686e-22, 143, 7441010326374328e-22, 144, 7742672907173287e-22, 145, 9629542775307953e-22, 146, 1061032953945969e-21, 147, 1143628333594458e-21, 148, 1162186197019925e-21, 149, 136418522650196e-20, 150, 1367441038498385e-21, 151, 1432394487827058e-21, 152, 1736235742820677e-21, 153, 1848250952034914e-21, 154, 1909859317102744e-21, 155, 1975716534933873e-21, 156, 2122065907891938e-21, 157, 272837045300392e-20, 158, 3183098861837907e-21, 159, 3580986219567645e-21, 160, 3819718634205488e-21, 161, 409255567950588e-20, 162, 4407367654852486e-21, 163, 4774648292756861e-21, 164, 5161781938115525e-21, 165, 520870722846203e-20, 166, 5729577951308232e-21, 167, 6031134685587613e-21, 168, 6987290184522236e-21, 169, 9241254760174569e-21, 170, 1145915590261646e-20], pcstol: [0, 6666666666666667e-24, 1, 2e-8, 2, 4970973863636364e-20, 3, 4970978156565657e-20, 4, 4970980410559237e-20, 5, 1e-3, 6, 0.001093615055555556, 7, 0.001093615194444445, 8, 0.001093619003239988, 9, 0.001093623110088878, 10, 0.003280833333333333, 11, 0.003280839895013123, 12, 0.003280843014596366, 13, 0.003280845583333334, 14, 0.003280869330266636, 15, 0.00497101413676763], newtoold: [2154, 102110, 2195, 102200, 2204, 32036, 2205, 26979, 2225, 102641, 2226, 102642, 2227, 102643, 2228, 102644, 2229, 102645, 2230, 102646, 2231, 102653, 2232, 102654, 2233, 102655, 2234, 102656, 2235, 102657, 2236, 102658, 2237, 102659, 2238, 102660, 2239, 102666, 2240, 102667, 2241, 102668, 2242, 102669, 2243, 102670, 2246, 102679, 2247, 102680, 2248, 102685, 2249, 102686, 2250, 102687, 2254, 102694, 2255, 102695, 2257, 102712, 2258, 102713, 2259, 102714, 2260, 102715, 2261, 102716, 2262, 102717, 2263, 102718, 2264, 102719, 2267, 102724, 2268, 102725, 2271, 102728, 2272, 102729, 2274, 102736, 2275, 102737, 2276, 102738, 2277, 102739, 2278, 102740, 2279, 102741, 2283, 102746, 2284, 102747, 2285, 102748, 2286, 102749, 2287, 102752, 2288, 102753, 2289, 102754, 2312, 23433, 2326, 102140, 2395, 2091, 2396, 2092, 2397, 2166, 2398, 2167, 2399, 2168, 2759, 102229, 2760, 102230, 2761, 102248, 2762, 102249, 2763, 102250, 2764, 102251, 2765, 102252, 2766, 102241, 2767, 102242, 2768, 102243, 2769, 102244, 2770, 102245, 2771, 102246, 2772, 102253, 2773, 102254, 2774, 102255, 2775, 102256, 2776, 102257, 2777, 102258, 2778, 102259, 2779, 102260, 2780, 102266, 2781, 102267, 2782, 102261, 2783, 102262, 2784, 102263, 2785, 102264, 2786, 102265, 2787, 102268, 2788, 102269, 2789, 102270, 2790, 102271, 2791, 102272, 2792, 102273, 2793, 102274, 2794, 102275, 2795, 102276, 2796, 102277, 2797, 102278, 2798, 102279, 2799, 102280, 2800, 102281, 2801, 102282, 2802, 102283, 2803, 102284, 2804, 102285, 2805, 102286, 2806, 102287, 2807, 102288, 2808, 102289, 2809, 102290, 2810, 102291, 2811, 102292, 2812, 102293, 2813, 102294, 2814, 102295, 2815, 102296, 2816, 102297, 2817, 102298, 2818, 102300, 2819, 102304, 2820, 102307, 2821, 102308, 2822, 102309, 2823, 102310, 2824, 102311, 2825, 102312, 2826, 102313, 2827, 102314, 2828, 102315, 2829, 102316, 2830, 102317, 2831, 102318, 2832, 102320, 2833, 102321, 2834, 102322, 2835, 102323, 2836, 102324, 2837, 102325, 2838, 102326, 2839, 102327, 2840, 102330, 2841, 102334, 2842, 102335, 2843, 102336, 2844, 102337, 2845, 102338, 2846, 102339, 2847, 102340, 2848, 102341, 2849, 102342, 2850, 102343, 2851, 102344, 2852, 102345, 2853, 102346, 2854, 102347, 2855, 102348, 2856, 102349, 2857, 102350, 2858, 102351, 2859, 102352, 2860, 102353, 2861, 102354, 2862, 102355, 2863, 102356, 2864, 102357, 2865, 102358, 2866, 102361, 2942, 102167, 2943, 102169, 2944, 2139, 2945, 2140, 2946, 2141, 2947, 2142, 2948, 2143, 2949, 2144, 2950, 2145, 2951, 2146, 2952, 2147, 2953, 2036, 2954, 2291, 2955, 2153, 2956, 2152, 2957, 2151, 2958, 2150, 2959, 2149, 2960, 2037, 2961, 2038, 2962, 2148, 2965, 2244, 2966, 2245, 3003, 102091, 3004, 102092, 3005, 102190, 3060, 2982, 3067, 102139, 3072, 102606, 3074, 102608, 3075, 102208, 3077, 102210, 3078, 102123, 3080, 102119, 3081, 102603, 3082, 102602, 3083, 102601, 3088, 65163, 3089, 102763, 3090, 102363, 3092, 102151, 3093, 102152, 3094, 102153, 3095, 102154, 3096, 102155, 3097, 102145, 3098, 102146, 3099, 102147, 3100, 102148, 3101, 102149, 3102, 2155, 3107, 102172, 3110, 102170, 3111, 102171, 3119, 2214, 3158, 102234, 3159, 102235, 3160, 102236, 3336, 2979, 3338, 102006, 3346, 2600, 3370, 102126, 3371, 102127, 3372, 102130, 3373, 102131, 3389, 2577, 3390, 2694, 3400, 102184, 3401, 102185, 3404, 3359, 3407, 3366, 3417, 102675, 3418, 102676, 3419, 102677, 3420, 102678, 3421, 102707, 3422, 102708, 3423, 102709, 3424, 102711, 3433, 102651, 3434, 102652, 3435, 102671, 3436, 102672, 3437, 102710, 3438, 102730, 3448, 102095, 3451, 102681, 3452, 102682, 3455, 102735, 3461, 2063, 3462, 2064, 3463, 3073, 3464, 3076, 3560, 102742, 3566, 102743, 3567, 102744, 3734, 102722, 3735, 102723, 3736, 102755, 3737, 102756, 3738, 102757, 3739, 102758, 3741, 102205, 3742, 102206, 3743, 102207, 3748, 102211, 3750, 102202, 3751, 102203, 3759, 102663, 3760, 102463, 3764, 102112, 3770, 102090, 3771, 102180, 3772, 102181, 3773, 102182, 3775, 102186, 3776, 102187, 3777, 102188, 3800, 102183, 3801, 102189, 3812, 102199, 3814, 102609, 3815, 102469, 3819, 104990, 3821, 104136, 3824, 104137, 3825, 102444, 3826, 102443, 3827, 102442, 3828, 102441, 3857, 102100, 3889, 104991, 3906, 104992, 4048, 103201, 4049, 103202, 4050, 103203, 4051, 103204, 4056, 103205, 4057, 103206, 4058, 103207, 4059, 103208, 4060, 103209, 4061, 103210, 4062, 103211, 4063, 103212, 4071, 103213, 4082, 103214, 4083, 103215, 4093, 103216, 4094, 103217, 4095, 103218, 4096, 103219, 4167, 104108, 4169, 37252, 4171, 104107, 4189, 104110, 4197, 4234, 4223, 37223, 4304, 104304, 4414, 102201, 4415, 102762, 4417, 102764, 4434, 102765, 4437, 102647, 4455, 32029, 4456, 32018, 4457, 3454, 4462, 102439, 4463, 4466, 4470, 4469, 4484, 103794, 4485, 103795, 4486, 103796, 4487, 103797, 4488, 103798, 4489, 103799, 4611, 104104, 4612, 104111, 4613, 37255, 4615, 37247, 4616, 37250, 4617, 4140, 4618, 4291, 4620, 37211, 4626, 37235, 4647, 102362, 4658, 37204, 4668, 37201, 4669, 4126, 4672, 37217, 4673, 104125, 4675, 37220, 4684, 37232, 4698, 4631, 4707, 37213, 4708, 37231, 4709, 37212, 4710, 37238, 4711, 37214, 4712, 37237, 4713, 37208, 4714, 37215, 4715, 37253, 4716, 37216, 4717, 37239, 4719, 37219, 4722, 37242, 4724, 37233, 4725, 37222, 4727, 37224, 4728, 37246, 4729, 37226, 4730, 37227, 4731, 37228, 4732, 37229, 4733, 37230, 4734, 37251, 4735, 37259, 4736, 37254, 4739, 37205, 4758, 104133, 4760, 37001, 4762, 104114, 4826, 102214, 5013, 104142, 5014, 102331, 5015, 102332, 5016, 102333, 5173, 102085, 5174, 102086, 5175, 102087, 5176, 102088, 5177, 102089, 5178, 102040, 5179, 102080, 5185, 102081, 5186, 102082, 5187, 102083, 5188, 102084, 5221, 102066, 5246, 104100, 5247, 102490, 5324, 104144, 5325, 102420, 5329, 2934, 5365, 104143, 5367, 102305, 5451, 104132, 5513, 102065, 5514, 102067, 5519, 102111, 5520, 31461, 5646, 102745, 5839, 5388, 5858, 5532, 5879, 4474, 6207, 104256, 6244, 102769, 6245, 102790, 6246, 102770, 6247, 102771, 6248, 102793, 6249, 102796, 6250, 102772, 6251, 102788, 6252, 102775, 6253, 102795, 6254, 102781, 6255, 102767, 6256, 102774, 6257, 102768, 6258, 102797, 6259, 102789, 6260, 102780, 6261, 102783, 6262, 102787, 6263, 102791, 6264, 102777, 6265, 102798, 6266, 102779, 6267, 102784, 6268, 102792, 6269, 102782, 6270, 102785, 6271, 102794, 6272, 102773, 6273, 102778, 6274, 102786, 6275, 102776, 6311, 104141, 6318, 104145, 6322, 104287, 6325, 104286, 6328, 102046, 6329, 102047, 6330, 102048, 6331, 102049, 6332, 102050, 6333, 102051, 6334, 102052, 6335, 102053, 6336, 102054, 6337, 102055, 6338, 102056, 6339, 102057, 6340, 102058, 6341, 102059, 6342, 102382, 6343, 102383, 6344, 102384, 6345, 102385, 6346, 102386, 6347, 102387, 6348, 102388, 6350, 102965, 6355, 102975, 6356, 102976, 6391, 6141, 6393, 102966, 6394, 102977, 6395, 102978, 6396, 102979, 6397, 102980, 6398, 102981, 6399, 102982, 6400, 102983, 6401, 102984, 6402, 102985, 6403, 102986, 6404, 102988, 6405, 102991, 6406, 102987, 6407, 102990, 6408, 102989, 6409, 102992, 6410, 102993, 6411, 102995, 6412, 102994, 6413, 102996, 6414, 102962, 6415, 102997, 6416, 103003, 6417, 102998, 6418, 103004, 6419, 102999, 6420, 103005, 6421, 103e3, 6422, 103006, 6423, 103001, 6424, 103007, 6425, 103002, 6426, 103008, 6427, 103010, 6428, 103013, 6429, 103009, 6430, 103012, 6431, 103011, 6432, 103014, 6433, 103015, 6434, 103016, 6435, 103017, 6436, 103018, 6437, 103019, 6438, 103022, 6439, 102967, 6440, 103021, 6441, 103024, 6442, 103020, 6443, 103023, 6444, 103025, 6445, 103027, 6446, 103026, 6447, 103028, 6448, 103030, 6449, 103033, 6450, 103029, 6451, 103032, 6452, 103031, 6453, 103034, 6454, 103035, 6455, 103037, 6456, 103036, 6457, 103038, 6458, 103039, 6459, 103041, 6460, 103040, 6461, 103042, 6462, 103043, 6463, 103045, 6464, 103044, 6465, 103046, 6466, 103047, 6467, 103049, 6468, 103048, 6469, 103050, 6470, 103051, 6471, 103052, 6472, 103053, 6473, 103054, 6474, 103055, 6475, 103056, 6476, 103057, 6477, 103059, 6478, 103058, 6479, 103060, 6480, 103066, 6481, 103065, 6482, 103067, 6483, 103061, 6484, 103063, 6485, 103062, 6486, 103064, 6487, 103068, 6488, 103069, 6489, 103071, 6490, 103073, 6491, 103070, 6492, 103072, 6493, 103075, 6494, 103078, 6495, 103074, 6496, 103077, 6497, 102968, 6498, 103076, 6499, 103079, 6500, 103081, 6501, 103084, 6502, 103080, 6503, 103083, 6504, 103082, 6505, 103085, 6506, 103086, 6507, 103088, 6508, 102963, 6509, 103087, 6510, 103089, 6511, 103091, 6512, 103090, 6513, 103092, 6514, 103093, 6515, 103094, 6516, 103095, 6518, 103098, 6519, 103101, 6520, 103097, 6521, 103100, 6522, 103099, 6523, 103102, 6524, 103103, 6525, 103104, 6526, 103105, 6527, 103106, 6528, 103108, 6529, 103111, 6530, 103107, 6531, 103110, 6532, 103109, 6533, 103112, 6534, 103114, 6535, 103118, 6536, 103113, 6537, 103117, 6538, 103116, 6539, 103120, 6540, 103115, 6541, 103119, 6542, 103121, 6543, 103122, 6544, 103123, 6545, 103125, 6546, 103124, 6547, 103126, 6548, 103127, 6549, 103129, 6550, 103128, 6551, 103130, 6552, 103131, 6553, 103133, 6554, 103132, 6555, 103134, 6556, 102969, 6557, 102970, 6558, 103135, 6559, 103137, 6560, 103136, 6561, 103138, 6562, 103139, 6563, 103140, 6564, 103141, 6565, 103142, 6566, 103200, 6567, 103143, 6568, 103144, 6569, 103145, 6570, 103146, 6571, 103147, 6572, 103149, 6573, 103148, 6574, 103150, 6575, 103151, 6576, 103152, 6577, 103155, 6578, 103160, 6579, 102971, 6580, 102972, 6581, 103153, 6582, 103158, 6583, 103154, 6584, 103159, 6585, 103157, 6586, 103162, 6587, 103156, 6588, 103161, 6589, 103172, 6590, 103173, 6592, 103174, 6593, 103176, 6594, 103175, 6595, 103177, 6596, 103178, 6597, 103180, 6598, 103179, 6599, 103181, 6600, 103182, 6601, 103184, 6602, 103183, 6603, 103185, 6605, 103190, 6606, 103186, 6607, 103189, 6608, 103188, 6609, 103191, 6610, 102973, 6611, 103192, 6612, 103196, 6613, 103193, 6614, 103197, 6615, 103195, 6616, 103199, 6617, 103194, 6618, 103198, 6619, 103164, 6620, 103163, 6621, 103165, 6625, 103170, 6626, 103169, 6627, 103171, 6628, 102520, 6629, 102521, 6630, 102522, 6631, 102523, 6632, 102524, 6633, 102527, 6634, 102493, 6635, 102494, 6636, 102496, 6637, 102495, 6668, 104020, 6669, 102610, 6670, 102611, 6671, 102612, 6672, 102613, 6673, 102614, 6674, 102615, 6675, 102616, 6676, 102617, 6677, 102618, 6678, 102619, 6679, 102620, 6680, 102621, 6681, 102622, 6682, 102623, 6683, 102624, 6684, 102625, 6685, 102626, 6686, 102627, 6687, 102628, 6688, 102593, 6689, 102594, 6690, 102595, 6691, 102596, 6692, 102597, 6783, 104223, 6784, 102530, 6785, 102500, 6788, 102532, 6789, 102502, 6792, 102533, 6793, 102503, 6796, 102531, 6797, 102501, 6800, 102534, 6801, 102504, 6804, 102535, 6805, 102505, 6808, 102536, 6809, 102506, 6812, 102537, 6813, 102507, 6816, 102538, 6817, 102508, 6820, 102539, 6821, 102509, 6824, 102540, 6825, 102510, 6828, 102541, 6829, 102511, 6832, 102542, 6833, 102512, 6836, 102543, 6837, 102513, 6840, 102544, 6841, 102514, 6844, 102546, 6845, 102516, 6848, 102545, 6849, 102515, 6852, 102547, 6853, 102517, 6856, 102548, 6857, 102518, 6860, 102549, 6861, 102519, 6867, 102380, 6868, 102381, 6879, 103187, 6880, 103096, 6884, 102376, 6885, 102378, 6886, 102377, 6887, 102379, 7136, 6980, 7139, 6987, 7142, 102706, 7692, 102557, 7693, 102558, 7694, 102559, 7695, 102560, 7696, 102561, 8090, 103318, 8091, 103418, 8092, 103317, 8093, 103417, 8095, 103371, 8096, 103471, 8097, 103369, 8098, 103469, 8099, 103368, 8100, 103468, 8101, 103367, 8102, 103467, 8103, 103366, 8104, 103466, 8105, 103365, 8106, 103465, 8107, 103364, 8108, 103464, 8109, 103363, 8110, 103463, 8111, 103362, 8112, 103462, 8113, 103361, 8114, 103461, 8115, 103360, 8116, 103460, 8117, 103359, 8118, 103459, 8119, 103357, 8120, 103457, 8121, 103356, 8122, 103456, 8123, 103355, 8124, 103455, 8125, 103354, 8126, 103454, 8127, 103353, 8128, 103453, 8129, 103352, 8130, 103452, 8131, 103350, 8132, 103450, 8133, 103349, 8134, 103449, 8135, 103348, 8136, 103448, 8139, 103343, 8140, 103443, 8141, 103342, 8142, 103442, 8143, 103341, 8144, 103441, 8145, 103339, 8146, 103439, 8147, 103337, 8148, 103437, 8149, 103336, 8150, 103436, 8151, 103334, 8152, 103434, 8153, 103333, 8154, 103433, 8155, 103331, 8156, 103431, 8161, 103326, 8162, 103426, 8163, 103325, 8164, 103425, 8165, 103324, 8166, 103424, 8171, 103321, 8172, 103421, 8173, 103320, 8177, 103420, 8179, 103316, 8180, 103416, 8181, 103315, 8182, 103415, 8184, 103314, 8185, 103414, 8191, 103312, 8193, 103412, 8196, 103311, 8197, 103411, 8198, 103310, 8200, 103410, 8201, 103309, 8202, 103409, 8203, 103308, 8204, 103408, 8207, 103306, 8208, 103406, 8209, 103305, 8210, 103405, 8212, 103304, 8213, 103404, 8214, 103303, 8216, 103403, 8218, 103302, 8220, 103402, 8222, 103301, 8224, 103401, 8431, 104248, 8441, 102590, 8693, 102449, 8826, 102605, 8857, 54035, 8858, 54036, 8859, 54037, 8860, 8449, 8988, 104115, 8989, 104116, 8990, 104117, 8991, 104118, 8992, 104119, 8993, 104120, 8994, 104121, 8995, 104122, 8996, 104123, 8997, 104124, 8998, 104896, 8999, 104257, 9e3, 104019, 9014, 104010, 9019, 104021, 9053, 104011, 9054, 104012, 9055, 104013, 9056, 104014, 9057, 104015, 9059, 104258, 9060, 104179, 9061, 104180, 9062, 104181, 9063, 104182, 9064, 104183, 9065, 104184, 9066, 104185, 9067, 104186, 21896, 21891, 21897, 21892, 21898, 21893, 21899, 21894, 26701, 102124, 26702, 102125, 26799, 26747, 26847, 102683, 26848, 102684, 26849, 102691, 26850, 102692, 26851, 102693, 26852, 102704, 26853, 102750, 26854, 102751, 26857, 102466, 26858, 102467, 26859, 102468, 26901, 102128, 26902, 102129, 27493, 27492, 29101, 29100, 29168, 29118, 29169, 29119, 29170, 29120, 29171, 29121, 29172, 29122, 29187, 29177, 29188, 29178, 29189, 29179, 29190, 29180, 29191, 29181, 29192, 29182, 29193, 29183, 29194, 29184, 29195, 29185, 29902, 29900, 31279, 31278, 31281, 31291, 31282, 31292, 31283, 31293, 31284, 31294, 31285, 31295, 31286, 31296, 31287, 31297, 31466, 31462, 31467, 31463, 31468, 31464, 31469, 31465, 31986, 31917, 31987, 31918, 31988, 31919, 31989, 31920, 31990, 31921, 31991, 31922, 32064, 32074, 32065, 32075, 32066, 32076, 32067, 32077, 102550, 2181, 102551, 2182, 102552, 2183, 102553, 2184, 102554, 2185, 102555, 2186, 102556, 2187], pcsid: [2066, 15, 2136, 12, 2155, 10, 2157, 5, 2158, 5, 2159, 12, 2160, 12, 2219, 5, 2220, 5, 2244, 10, 2245, 10, 2256, 11, 2265, 11, 2266, 11, 2269, 11, 2270, 11, 2273, 11, 2290, 5, 2291, 5, 2294, 5, 2295, 5, 2313, 5, 2314, 14, 2899, 10, 2900, 10, 2901, 11, 2909, 11, 2910, 11, 2911, 10, 2912, 10, 2913, 11, 2914, 11, 2964, 10, 2967, 10, 2968, 10, 2991, 5, 2992, 11, 2993, 5, 2994, 11, 3073, 5, 3076, 5, 3079, 5, 3091, 10, 3106, 5, 3108, 5, 3109, 5, 3141, 5, 3142, 5, 3167, 4, 3337, 5, 3347, 5, 3348, 5, 3359, 10, 3360, 5, 3361, 11, 3362, 5, 3363, 10, 3364, 5, 3365, 10, 3366, 14, 3402, 5, 3403, 5, 3405, 5, 3406, 5, 3439, 5, 3440, 5, 3447, 5, 3449, 5, 3450, 5, 3453, 10, 3454, 10, 3460, 5, 3479, 11, 3480, 5, 3481, 11, 3482, 5, 3483, 11, 3484, 5, 3485, 10, 3486, 5, 3487, 10, 3488, 5, 3489, 5, 3490, 10, 3491, 5, 3492, 10, 3493, 5, 3494, 10, 3495, 5, 3496, 10, 3497, 5, 3498, 10, 3499, 5, 3500, 10, 3501, 5, 3502, 10, 3503, 5, 3504, 10, 3505, 5, 3506, 10, 3507, 5, 3508, 10, 3509, 5, 3510, 10, 3511, 5, 3512, 10, 3513, 5, 3514, 5, 3515, 10, 3516, 5, 3517, 10, 3518, 5, 3519, 10, 3520, 5, 3521, 10, 3522, 5, 3523, 10, 3524, 5, 3525, 10, 3526, 5, 3527, 10, 3528, 5, 3529, 10, 3530, 5, 3531, 10, 3532, 5, 3533, 10, 3534, 5, 3535, 10, 3536, 5, 3537, 10, 3538, 5, 3539, 10, 3540, 5, 3541, 10, 3542, 5, 3543, 10, 3544, 5, 3545, 10, 3546, 5, 3547, 10, 3548, 5, 3549, 10, 3550, 5, 3551, 10, 3552, 5, 3553, 10, 3582, 10, 3583, 5, 3584, 10, 3585, 5, 3586, 10, 3587, 5, 3588, 11, 3589, 5, 3590, 11, 3591, 5, 3592, 5, 3593, 11, 3598, 10, 3599, 5, 3600, 10, 3605, 11, 3606, 5, 3607, 5, 3608, 10, 3609, 5, 3610, 10, 3611, 5, 3612, 10, 3613, 5, 3614, 10, 3615, 5, 3616, 10, 3617, 5, 3618, 10, 3619, 5, 3620, 10, 3621, 5, 3622, 10, 3623, 5, 3624, 10, 3625, 5, 3626, 10, 3627, 5, 3628, 10, 3629, 5, 3630, 10, 3631, 5, 3632, 10, 3633, 5, 3634, 11, 3635, 5, 3636, 11, 3640, 10, 3641, 5, 3642, 10, 3643, 5, 3644, 11, 3645, 5, 3646, 11, 3647, 5, 3648, 11, 3649, 5, 3650, 10, 3651, 5, 3652, 10, 3653, 5, 3654, 10, 3655, 5, 3656, 11, 3657, 5, 3658, 10, 3659, 5, 3660, 10, 3661, 5, 3662, 10, 3663, 5, 3664, 10, 3668, 10, 3669, 5, 3670, 10, 3671, 5, 3672, 10, 3673, 5, 3674, 10, 3675, 5, 3676, 11, 3677, 10, 3678, 5, 3679, 11, 3680, 10, 3681, 5, 3682, 11, 3683, 10, 3684, 5, 3685, 5, 3686, 10, 3687, 5, 3688, 10, 3689, 5, 3690, 10, 3691, 5, 3692, 10, 3696, 10, 3697, 5, 3698, 10, 3699, 5, 3700, 10, 3740, 5, 3749, 5, 3783, 5, 3784, 5, 3793, 5, 3794, 5, 3802, 5, 3816, 5, 3829, 5, 3854, 5, 3911, 5, 3912, 5, 3920, 5, 3978, 5, 3979, 5, 3991, 10, 3992, 10, 4026, 5, 4037, 5, 4038, 5, 4087, 5, 4088, 5, 4217, 10, 4438, 10, 4439, 10, 4467, 5, 4471, 5, 4474, 5, 4559, 5, 4822, 5, 4839, 5, 5018, 5, 5048, 5, 5167, 5, 5168, 5, 5223, 5, 5234, 5, 5235, 5, 5243, 5, 5266, 5, 5316, 5, 5320, 5, 5321, 5, 5330, 5, 5331, 5, 5337, 5, 5361, 5, 5362, 5, 5382, 5, 5383, 5, 5396, 5, 5456, 5, 5457, 5, 5469, 5, 5472, 9, 5490, 5, 5518, 5, 5523, 5, 5559, 5, 5588, 11, 5589, 14, 5596, 5, 5627, 5, 5629, 5, 5641, 5, 5643, 5, 5644, 5, 5654, 10, 5655, 10, 5659, 5, 5700, 5, 5825, 5, 5836, 5, 5837, 5, 5842, 5, 5844, 5, 5880, 5, 5887, 5, 5890, 5, 6128, 11, 6129, 11, 6141, 11, 6204, 5, 6210, 5, 6211, 5, 6307, 5, 6312, 5, 6316, 5, 6362, 5, 6591, 5, 6646, 5, 6703, 5, 6786, 5, 6787, 11, 6790, 5, 6791, 11, 6794, 5, 6795, 11, 6798, 5, 6799, 11, 6802, 5, 6803, 11, 6806, 5, 6807, 11, 6810, 5, 6811, 11, 6814, 5, 6815, 11, 6818, 5, 6819, 11, 6822, 5, 6823, 11, 6826, 5, 6827, 11, 6830, 5, 6831, 11, 6834, 5, 6835, 11, 6838, 5, 6839, 11, 6842, 5, 6843, 11, 6846, 5, 6847, 11, 6850, 5, 6851, 11, 6854, 5, 6855, 11, 6858, 5, 6859, 11, 6862, 5, 6863, 11, 6870, 5, 6875, 5, 6876, 5, 6915, 5, 6922, 5, 6923, 10, 6924, 5, 6925, 10, 6962, 5, 6984, 5, 6991, 5, 7128, 10, 7131, 5, 7132, 10, 7257, 5, 7258, 10, 7259, 5, 7260, 10, 7261, 5, 7262, 10, 7263, 5, 7264, 10, 7265, 5, 7266, 10, 7267, 5, 7268, 10, 7269, 5, 7270, 10, 7271, 5, 7272, 10, 7273, 5, 7274, 10, 7275, 5, 7276, 10, 7277, 5, 7278, 10, 7279, 5, 7280, 10, 7281, 5, 7282, 10, 7283, 5, 7284, 10, 7285, 5, 7286, 10, 7287, 5, 7288, 10, 7289, 5, 7290, 10, 7291, 5, 7292, 10, 7293, 5, 7294, 10, 7295, 5, 7296, 10, 7297, 5, 7298, 10, 7299, 5, 7300, 10, 7301, 5, 7302, 10, 7303, 5, 7304, 10, 7305, 5, 7306, 10, 7307, 5, 7308, 10, 7309, 5, 7310, 10, 7311, 5, 7312, 10, 7313, 5, 7314, 10, 7315, 5, 7316, 10, 7317, 5, 7318, 10, 7319, 5, 7320, 10, 7321, 5, 7322, 10, 7323, 5, 7324, 10, 7325, 5, 7326, 10, 7327, 5, 7328, 10, 7329, 5, 7330, 10, 7331, 5, 7332, 10, 7333, 5, 7334, 10, 7335, 5, 7336, 10, 7337, 5, 7338, 10, 7339, 5, 7340, 10, 7341, 5, 7342, 10, 7343, 5, 7344, 10, 7345, 5, 7346, 10, 7347, 5, 7348, 10, 7349, 5, 7350, 10, 7351, 5, 7352, 10, 7353, 5, 7354, 10, 7355, 5, 7356, 10, 7357, 5, 7358, 10, 7359, 5, 7360, 10, 7361, 5, 7362, 10, 7363, 5, 7364, 10, 7365, 5, 7366, 10, 7367, 5, 7368, 10, 7369, 5, 7370, 10, 7877, 5, 7878, 5, 7882, 5, 7883, 5, 7887, 5, 7899, 5, 7991, 5, 7992, 5, 8035, 10, 8036, 10, 8058, 5, 8059, 5, 8082, 5, 8083, 5, 8088, 5, 8137, 5, 8138, 10, 8157, 5, 8158, 10, 8159, 5, 8160, 10, 8167, 5, 8168, 10, 8169, 5, 8170, 10, 8187, 5, 8189, 10, 8205, 5, 8206, 10, 8225, 5, 8226, 10, 8311, 5, 8312, 11, 8313, 5, 8314, 11, 8315, 5, 8316, 11, 8317, 5, 8318, 11, 8319, 5, 8320, 11, 8321, 5, 8322, 11, 8323, 5, 8324, 11, 8325, 5, 8326, 11, 8327, 5, 8328, 11, 8329, 5, 8330, 11, 8331, 5, 8332, 11, 8333, 5, 8334, 11, 8335, 5, 8336, 11, 8337, 5, 8338, 11, 8339, 5, 8340, 11, 8341, 5, 8342, 11, 8343, 5, 8344, 11, 8345, 5, 8346, 11, 8347, 5, 8348, 11, 8352, 5, 8353, 5, 8379, 5, 8380, 10, 8381, 5, 8382, 10, 8383, 5, 8384, 10, 8385, 5, 8387, 10, 8391, 5, 8395, 5, 8433, 5, 8455, 5, 8456, 5, 8531, 10, 8682, 5, 8687, 5, 8692, 5, 8903, 5, 8950, 5, 8951, 5, 9039, 5, 9040, 5, 9141, 5, 9149, 5, 9150, 5, 9191, 5, 9221, 5, 9222, 5, 20499, 5, 20538, 5, 20539, 5, 20790, 5, 20791, 5, 21291, 5, 21292, 5, 21500, 5, 21817, 5, 21818, 5, 22032, 5, 22033, 5, 22091, 5, 22092, 5, 22332, 5, 22391, 5, 22392, 5, 22700, 5, 22770, 5, 22780, 5, 22832, 5, 23090, 5, 23095, 5, 23239, 5, 23240, 5, 23433, 5, 23700, 5, 24047, 5, 24048, 5, 24100, 14, 24200, 5, 24305, 5, 24306, 5, 24382, 6, 24383, 5, 24500, 5, 24547, 5, 24548, 5, 24571, 2, 24600, 5, 25e3, 5, 25231, 5, 25884, 5, 25932, 5, 26237, 5, 26331, 5, 26332, 5, 26591, 5, 26592, 5, 26632, 5, 26692, 5, 26855, 10, 26856, 10, 27120, 5, 27200, 5, 27291, 7, 27292, 7, 27429, 5, 27492, 5, 27500, 5, 27700, 5, 28232, 5, 28600, 5, 28991, 5, 28992, 5, 29100, 5, 29220, 5, 29221, 5, 29333, 5, 29635, 5, 29636, 5, 29701, 5, 29738, 5, 29739, 5, 29849, 5, 29850, 5, 29871, 3, 29872, 13, 29873, 5, 29900, 5, 29901, 5, 29903, 5, 30200, 15, 30339, 5, 30340, 5, 30791, 5, 30792, 5, 31028, 5, 31121, 5, 31154, 5, 31170, 5, 31171, 5, 31370, 5, 31528, 5, 31529, 5, 31600, 5, 31700, 5, 31838, 5, 31839, 5, 31901, 5, 32061, 5, 32062, 5, 32098, 5, 32099, 10, 32100, 5, 32104, 5, 32161, 5, 32766, 5, 53048, 5, 53049, 5, 54090, 5, 54091, 5, 65061, 10, 65062, 10, 65161, 5, 65163, 5, 102041, 10, 102064, 8, 102068, 1, 102069, 0, 102118, 10, 102119, 11, 102120, 10, 102121, 10, 102217, 10, 102218, 5, 102219, 10, 102220, 10, 102378, 11, 102379, 11, 102380, 5, 102381, 11, 102498, 5, 102499, 5, 102589, 10, 102590, 5, 102599, 10, 102600, 10, 102604, 10, 102605, 5, 102606, 5, 102647, 5, 102704, 10, 102705, 10, 102706, 5, 102733, 10, 102761, 10, 102762, 5, 102763, 10, 102764, 5, 102765, 5, 102766, 10, 102962, 5, 102963, 5, 102970, 11, 102974, 10, 102993, 5, 102994, 5, 102995, 10, 102996, 10, 103015, 5, 103016, 10, 103017, 5, 103018, 10, 103025, 5, 103026, 5, 103027, 10, 103028, 10, 103035, 5, 103036, 5, 103037, 10, 103038, 10, 103039, 5, 103040, 5, 103041, 10, 103042, 10, 103043, 5, 103044, 5, 103045, 10, 103046, 10, 103047, 5, 103048, 5, 103049, 10, 103050, 10, 103051, 5, 103052, 10, 103053, 5, 103054, 10, 103055, 5, 103056, 10, 103057, 5, 103058, 5, 103059, 10, 103060, 10, 103061, 5, 103062, 5, 103063, 10, 103064, 10, 103069, 10, 103070, 5, 103071, 5, 103072, 10, 103073, 10, 103086, 5, 103087, 5, 103088, 10, 103089, 10, 103094, 11, 103095, 5, 103096, 10, 103103, 5, 103104, 10, 103105, 5, 103106, 10, 103121, 5, 103122, 10, 103123, 5, 103124, 5, 103125, 11, 103126, 11, 103127, 5, 103128, 5, 103129, 10, 103130, 10, 103131, 5, 103132, 5, 103133, 10, 103134, 10, 103135, 5, 103136, 5, 103137, 11, 103138, 11, 103139, 5, 103140, 10, 103141, 5, 103142, 10, 103143, 5, 103144, 10, 103145, 5, 103146, 11, 103147, 5, 103148, 5, 103149, 10, 103150, 10, 103151, 5, 103152, 10, 103172, 5, 103173, 10, 103174, 5, 103175, 5, 103176, 10, 103177, 10, 103178, 5, 103179, 5, 103180, 10, 103181, 10, 103182, 5, 103183, 5, 103184, 10, 103185, 10, 103228, 5, 103229, 5, 103230, 10, 103231, 10, 103250, 5, 103251, 10, 103252, 5, 103253, 10, 103260, 5, 103261, 5, 103262, 10, 103263, 10, 103270, 5, 103271, 5, 103272, 10, 103273, 10, 103274, 5, 103275, 5, 103276, 10, 103277, 10, 103278, 5, 103279, 5, 103280, 10, 103281, 10, 103282, 5, 103283, 5, 103284, 10, 103285, 10, 103286, 5, 103287, 10, 103288, 5, 103289, 10, 103290, 5, 103291, 10, 103292, 5, 103293, 5, 103294, 10, 103295, 10, 103296, 5, 103297, 5, 103298, 10, 103299, 10, 103376, 10, 103377, 5, 103378, 5, 103379, 10, 103380, 10, 103393, 5, 103394, 5, 103395, 10, 103396, 10, 103472, 5, 103473, 11, 103474, 5, 103475, 10, 103482, 5, 103483, 10, 103484, 5, 103485, 10, 103500, 5, 103501, 10, 103502, 5, 103503, 5, 103504, 11, 103505, 11, 103506, 5, 103507, 5, 103508, 10, 103509, 10, 103510, 5, 103511, 5, 103512, 10, 103513, 10, 103514, 5, 103515, 10, 103516, 5, 103517, 10, 103518, 5, 103519, 10, 103520, 5, 103521, 11, 103522, 5, 103523, 5, 103524, 10, 103525, 10, 103526, 5, 103527, 10, 103561, 10, 103562, 10, 103563, 5, 103564, 5, 103565, 10, 103566, 10, 103567, 5, 103568, 5, 103569, 10, 103570, 10, 103585, 10, 103586, 5, 103587, 10, 103588, 11, 103589, 5, 103590, 10, 103591, 11, 103592, 5, 103593, 10, 103594, 11, 103695, 10, 103846, 5, 103946, 10], pcsidc: [[2e3, 2045, 5], [2056, 2065, 5], [2067, 2135, 5], [2137, 2153, 5], [2161, 2170, 5], [2172, 2193, 5], [2196, 2198, 5], [2200, 2203, 5], [2206, 2217, 5], [2222, 2224, 11], [2251, 2253, 11], [2280, 2282, 11], [2308, 2311, 5], [2315, 2325, 5], [2327, 2394, 5], [2400, 2491, 5], [2494, 2758, 5], [2867, 2869, 11], [2870, 2888, 10], [2891, 2895, 10], [2896, 2898, 11], [2902, 2908, 10], [2915, 2920, 10], [2921, 2923, 11], [2924, 2930, 10], [2931, 2941, 5], [2969, 2973, 5], [2975, 2982, 5], [2984, 2988, 5], [2995, 3002, 5], [3006, 3051, 5], [3054, 3059, 5], [3061, 3066, 5], [3068, 3071, 5], [3084, 3087, 5], [3112, 3118, 5], [3120, 3138, 5], [3146, 3151, 5], [3153, 3157, 5], [3161, 3166, 5], [3168, 3172, 5], [3174, 3203, 5], [3294, 3313, 5], [3315, 3335, 5], [3339, 3345, 5], [3350, 3358, 5], [3367, 3369, 5], [3374, 3388, 5], [3391, 3399, 5], [3408, 3416, 5], [3425, 3432, 10], [3441, 3446, 10], [3456, 3459, 10], [3465, 3478, 5], [3554, 3559, 5], [3561, 3565, 10], [3568, 3570, 10], [3571, 3581, 5], [3594, 3597, 5], [3601, 3604, 5], [3637, 3639, 5], [3665, 3667, 5], [3693, 3695, 5], [3701, 3727, 5], [3728, 3733, 10], [3744, 3747, 5], [3753, 3758, 10], [3761, 3763, 5], [3765, 3769, 5], [3779, 3781, 5], [3788, 3791, 5], [3797, 3799, 5], [3832, 3841, 5], [3844, 3852, 5], [3873, 3885, 5], [3890, 3893, 5], [3942, 3950, 5], [3968, 3970, 5], [3973, 3976, 5], [3986, 3989, 5], [3994, 3997, 5], [4390, 4398, 5], [4399, 4413, 10], [4418, 4433, 10], [4491, 4554, 5], [4568, 4589, 5], [4652, 4656, 5], [4766, 4800, 5], [5069, 5072, 5], [5105, 5130, 5], [5180, 5184, 5], [5253, 5259, 5], [5269, 5275, 5], [5292, 5311, 5], [5343, 5349, 5], [5355, 5357, 5], [5387, 5389, 5], [5459, 5463, 5], [5479, 5482, 5], [5530, 5539, 5], [5550, 5552, 5], [5562, 5583, 5], [5623, 5625, 10], [5631, 5639, 5], [5649, 5653, 5], [5663, 5680, 5], [5682, 5685, 5], [5875, 5877, 5], [5896, 5899, 5], [5921, 5940, 5], [6050, 6125, 5], [6351, 6354, 5], [6366, 6372, 5], [6381, 6387, 5], [6622, 6624, 5], [6707, 6709, 5], [6720, 6723, 5], [6732, 6738, 5], [6931, 6933, 5], [7005, 7007, 5], [7057, 7070, 10], [7074, 7082, 5], [7109, 7118, 5], [7119, 7127, 11], [7374, 7376, 5], [7528, 7586, 5], [7587, 7645, 10], [7755, 7787, 5], [7791, 7795, 5], [7799, 7801, 5], [7803, 7805, 5], [7825, 7831, 5], [7845, 7859, 5], [8013, 8032, 5], [8065, 8068, 11], [8518, 8529, 10], [8533, 8536, 10], [8538, 8540, 10], [8677, 8679, 5], [8836, 8840, 5], [8908, 8910, 5], [9154, 9159, 5], [9205, 9218, 5], [20002, 20032, 5], [20062, 20092, 5], [20135, 20138, 5], [20248, 20258, 5], [20348, 20358, 5], [20436, 20440, 5], [20822, 20824, 5], [20934, 20936, 5], [21035, 21037, 5], [21095, 21097, 5], [21148, 21150, 5], [21413, 21423, 5], [21473, 21483, 5], [21780, 21782, 5], [21891, 21894, 5], [22171, 22177, 5], [22181, 22187, 5], [22191, 22197, 5], [22234, 22236, 5], [22521, 22525, 5], [22991, 22994, 5], [23028, 23038, 5], [23830, 23853, 5], [23866, 23872, 5], [23877, 23884, 5], [23886, 23894, 5], [23946, 23948, 5], [24311, 24313, 5], [24342, 24347, 5], [24370, 24374, 6], [24375, 24381, 5], [24718, 24721, 5], [24817, 24821, 5], [24877, 24882, 5], [24891, 24893, 5], [25391, 25395, 5], [25828, 25838, 5], [26191, 26195, 5], [26391, 26393, 5], [26703, 26722, 5], [26729, 26760, 10], [26766, 26798, 10], [26860, 26870, 10], [26891, 26899, 5], [26903, 26923, 5], [26929, 26946, 5], [26948, 26998, 5], [27037, 27040, 5], [27205, 27232, 5], [27258, 27260, 5], [27391, 27398, 5], [27561, 27564, 5], [27571, 27574, 5], [27581, 27584, 5], [27591, 27594, 5], [28191, 28193, 5], [28348, 28358, 5], [28402, 28432, 5], [28462, 28492, 5], [29118, 29122, 5], [29177, 29185, 5], [30161, 30179, 5], [30491, 30494, 5], [30729, 30732, 5], [31251, 31259, 5], [31265, 31268, 5], [31275, 31278, 5], [31288, 31297, 5], [31461, 31465, 5], [31491, 31495, 5], [31917, 31922, 5], [31965, 31985, 5], [31992, 32e3, 5], [32001, 32003, 10], [32005, 32031, 10], [32033, 32060, 10], [32074, 32077, 10], [32081, 32086, 5], [32107, 32130, 5], [32133, 32158, 5], [32164, 32167, 10], [32180, 32199, 5], [32201, 32260, 5], [32301, 32360, 5], [32601, 32662, 5], [32664, 32667, 10], [32701, 32761, 5], [53001, 53004, 5], [53008, 53019, 5], [53021, 53032, 5], [53034, 53037, 5], [53042, 53046, 5], [53074, 53080, 5], [54001, 54004, 5], [54008, 54019, 5], [54021, 54032, 5], [54034, 54037, 5], [54042, 54046, 5], [54048, 54053, 5], [54074, 54080, 5], [54098, 54101, 5], [102001, 102040, 5], [102042, 102063, 5], [102065, 102067, 5], [102070, 102112, 5], [102114, 102117, 5], [102122, 102208, 5], [102210, 102216, 5], [102221, 102300, 5], [102304, 102377, 5], [102382, 102388, 5], [102389, 102398, 10], [102399, 102444, 5], [102445, 102447, 10], [102448, 102458, 5], [102459, 102468, 10], [102469, 102496, 5], [102500, 102519, 11], [102520, 102524, 5], [102525, 102529, 10], [102530, 102549, 5], [102557, 102588, 5], [102593, 102598, 5], [102601, 102603, 5], [102608, 102628, 5], [102629, 102646, 10], [102648, 102672, 10], [102675, 102700, 10], [102701, 102703, 5], [102707, 102730, 10], [102735, 102758, 10], [102767, 102900, 5], [102965, 102969, 5], [102971, 102973, 5], [102975, 102989, 5], [102990, 102992, 11], [102997, 103002, 5], [103003, 103008, 10], [103009, 103011, 5], [103012, 103014, 10], [103019, 103021, 5], [103022, 103024, 10], [103029, 103031, 5], [103032, 103034, 10], [103065, 103068, 5], [103074, 103076, 5], [103077, 103079, 11], [103080, 103082, 5], [103083, 103085, 10], [103090, 103093, 5], [103097, 103099, 5], [103100, 103102, 10], [103107, 103109, 5], [103110, 103112, 10], [103113, 103116, 5], [103117, 103120, 10], [103153, 103157, 5], [103158, 103162, 10], [103163, 103165, 5], [103166, 103168, 11], [103169, 103171, 10], [103186, 103188, 5], [103189, 103191, 10], [103192, 103195, 5], [103196, 103199, 10], [103200, 103224, 5], [103225, 103227, 11], [103232, 103237, 5], [103238, 103243, 10], [103244, 103246, 5], [103247, 103249, 10], [103254, 103256, 5], [103257, 103259, 10], [103264, 103266, 5], [103267, 103269, 10], [103300, 103375, 5], [103381, 103383, 5], [103384, 103386, 11], [103387, 103389, 5], [103390, 103392, 10], [103397, 103399, 5], [103400, 103471, 10], [103476, 103478, 5], [103479, 103481, 10], [103486, 103488, 5], [103489, 103491, 10], [103492, 103495, 5], [103496, 103499, 10], [103539, 103543, 5], [103544, 103548, 10], [103549, 103551, 5], [103552, 103554, 11], [103555, 103557, 10], [103558, 103560, 5], [103571, 103573, 5], [103574, 103576, 10], [103577, 103580, 5], [103581, 103583, 10], [103595, 103597, 5], [103600, 103694, 5], [103696, 103698, 5], [103700, 103793, 10], [103794, 103799, 5]], gcsid: [4001, 81, 4002, 85, 4003, 70, 4004, 84, 4005, 82, 4006, 83, 4007, 60, 4008, 67, 4009, 39, 4010, 57, 4011, 63, 4012, 64, 4013, 64, 4014, 63, 4015, 92, 4016, 90, 4018, 86, 4019, 75, 4020, 68, 4021, 70, 4022, 55, 4023, 75, 4024, 66, 4025, 73, 4027, 95, 4028, 59, 4029, 58, 4031, 75, 4032, 78, 4033, 77, 4034, 65, 4035, 100, 4036, 70, 4042, 88, 4044, 87, 4045, 89, 4046, 75, 4047, 99, 4052, 101, 4053, 97, 4054, 61, 4075, 75, 4081, 75, 4120, 84, 4121, 75, 4122, 80, 4123, 55, 4124, 84, 4126, 75, 4130, 75, 4131, 92, 4132, 64, 4133, 75, 4134, 64, 4140, 75, 4141, 75, 4142, 64, 4143, 64, 4144, 92, 4145, 87, 4146, 89, 4147, 66, 4148, 75, 4149, 84, 4150, 84, 4151, 75, 4152, 75, 4153, 55, 4154, 55, 4155, 63, 4156, 84, 4157, 60, 4162, 84, 4163, 75, 4164, 66, 4165, 55, 4166, 75, 4168, 58, 4170, 75, 4172, 75, 4173, 75, 4174, 58, 4175, 64, 4176, 75, 4178, 66, 4179, 66, 4180, 75, 4188, 81, 4190, 75, 4191, 66, 4192, 55, 4193, 63, 4198, 64, 4199, 55, 4200, 66, 4201, 64, 4202, 70, 4203, 70, 4204, 55, 4205, 66, 4206, 63, 4207, 55, 4208, 55, 4209, 64, 4210, 64, 4211, 84, 4212, 64, 4213, 63, 4214, 66, 4215, 55, 4216, 67, 4218, 55, 4219, 84, 4220, 64, 4221, 55, 4222, 64, 4224, 55, 4225, 55, 4229, 68, 4230, 55, 4231, 55, 4232, 64, 4234, 64, 4235, 55, 4236, 55, 4237, 70, 4238, 70, 4239, 92, 4240, 92, 4241, 65, 4242, 67, 4243, 88, 4244, 92, 4245, 86, 4246, 64, 4250, 64, 4251, 64, 4252, 63, 4253, 67, 4254, 55, 4255, 55, 4256, 64, 4257, 84, 4258, 75, 4259, 55, 4260, 64, 4261, 106, 4262, 84, 4263, 64, 4265, 55, 4266, 63, 4267, 67, 4269, 75, 4270, 64, 4271, 55, 4272, 55, 4273, 82, 4274, 55, 4275, 63, 4276, 73, 4280, 84, 4281, 57, 4282, 63, 4283, 75, 4284, 66, 4285, 55, 4286, 68, 4288, 55, 4289, 84, 4291, 70, 4292, 55, 4293, 83, 4294, 84, 4295, 84, 4296, 63, 4297, 55, 4298, 90, 4299, 85, 4300, 85, 4301, 84, 4302, 60, 4303, 68, 4306, 84, 4307, 64, 4308, 84, 4309, 55, 4310, 63, 4311, 55, 4312, 84, 4313, 55, 4314, 84, 4315, 63, 4316, 55, 4317, 66, 4318, 75, 4319, 75, 4322, 80, 4324, 80, 4326, 75, 4466, 75, 4469, 75, 4475, 55, 4483, 75, 4490, 75, 4555, 66, 4558, 75, 4608, 67, 4609, 67, 4610, 74, 4614, 55, 4619, 75, 4624, 75, 4625, 55, 4627, 75, 4636, 55, 4637, 55, 4638, 67, 4639, 55, 4657, 93, 4659, 75, 4660, 55, 4661, 75, 4666, 84, 4667, 75, 4670, 75, 4671, 63, 4674, 75, 4679, 64, 4680, 64, 4682, 92, 4683, 67, 4686, 75, 4687, 75, 4693, 75, 4694, 75, 4695, 67, 4696, 64, 4697, 64, 4702, 75, 4703, 64, 4704, 55, 4705, 55, 4706, 68, 4718, 55, 4720, 80, 4721, 55, 4723, 67, 4726, 67, 4737, 75, 4738, 60, 4740, 79, 4741, 55, 4742, 75, 4743, 64, 4744, 64, 4745, 84, 4746, 84, 4747, 75, 4748, 56, 4749, 75, 4750, 75, 4751, 91, 4752, 56, 4753, 55, 4754, 55, 4759, 75, 4761, 75, 4801, 84, 4802, 55, 4803, 55, 4804, 84, 4805, 84, 4806, 55, 4807, 106, 4808, 84, 4809, 55, 4810, 105, 4811, 106, 4816, 106, 4817, 82, 4818, 84, 4820, 84, 4821, 106, 4823, 55, 4824, 55, 4901, 107, 4902, 107, 4903, 59, 4904, 84, 5228, 84, 5229, 84, 5233, 92, 5252, 75, 5264, 75, 5340, 75, 5354, 75, 5360, 75, 5371, 75, 5373, 75, 5381, 75, 5393, 75, 5464, 60, 5467, 67, 5489, 75, 5524, 55, 5527, 70, 5546, 75, 5561, 66, 5593, 75, 5681, 84, 5886, 75, 6135, 75, 6365, 75, 6706, 75, 6881, 64, 6882, 64, 6883, 55, 6892, 64, 6894, 64, 6980, 75, 6983, 75, 6987, 75, 6990, 75, 7035, 75, 7037, 75, 7039, 75, 7041, 75, 7073, 75, 7084, 75, 7086, 75, 7133, 75, 7373, 75, 7683, 76, 7798, 75, 7844, 75, 7881, 75, 7886, 75, 8042, 96, 8043, 96, 8086, 75, 8232, 75, 8237, 75, 8240, 75, 8246, 75, 8249, 75, 8252, 75, 8255, 75, 8351, 84, 8427, 75, 8428, 55, 8449, 75, 8545, 75, 8685, 75, 8694, 64, 8699, 75, 8818, 75, 8888, 75, 8900, 75, 8902, 75, 8907, 75, 8949, 75, 9003, 75, 9006, 75, 9009, 75, 9012, 75, 9017, 75, 9068, 75, 9069, 75, 9140, 75, 9148, 75, 9153, 75, 37001, 73, 37002, 69, 37003, 72, 37004, 71, 37005, 62, 37006, 91, 37007, 94, 37008, 101, 37201, 55, 37202, 92, 37203, 87, 37204, 55, 37205, 55, 37206, 64, 37207, 71, 37208, 64, 37211, 64, 37220, 67, 37221, 55, 37222, 55, 37223, 63, 37224, 55, 37225, 106, 37226, 55, 37227, 55, 37228, 64, 37229, 62, 37230, 55, 37231, 70, 37232, 55, 37233, 55, 37235, 55, 37237, 55, 37238, 55, 37239, 67, 37240, 64, 37241, 55, 37242, 55, 37243, 67, 37252, 67, 37253, 55, 37254, 64, 37255, 84, 37257, 66, 37259, 55, 37260, 67, 104017, 79, 104018, 79, 104024, 75, 104027, 75, 104047, 98, 104050, 75, 104100, 75, 104101, 84, 104102, 84, 104103, 64, 104104, 55, 104105, 84, 104106, 55, 104107, 75, 104108, 75, 104109, 67, 104110, 75, 104111, 75, 104112, 67, 104113, 67, 104128, 102, 104129, 75, 104130, 55, 104131, 84, 104132, 67, 104133, 75, 104134, 75, 104135, 66, 104136, 70, 104137, 75, 104138, 55, 104139, 106, 104140, 106, 104223, 75, 104248, 55, 104256, 92, 104261, 63, 104286, 75, 104287, 75, 104304, 63, 104700, 49, 104701, 9, 104702, 24, 104703, 15, 104704, 28, 104705, 32, 104706, 53, 104707, 46, 104708, 37, 104709, 54, 104710, 11, 104711, 14, 104712, 30, 104713, 52, 104714, 4, 104715, 4, 104716, 23, 104717, 14, 104718, 48, 104719, 29, 104720, 22, 104721, 21, 104722, 35, 104723, 21, 104724, 46, 104725, 22, 104726, 49, 104727, 45, 104728, 52, 104729, 10, 104730, 10, 104731, 21, 104732, 31, 104733, 26, 104734, 40, 104735, 19, 104736, 30, 104737, 34, 104738, 27, 104739, 46, 104740, 5, 104741, 12, 104742, 50, 104743, 9, 104744, 43, 104745, 21, 104746, 26, 104747, 25, 104748, 21, 104749, 7, 104750, 53, 104751, 6, 104752, 33, 104753, 29, 104754, 19, 104755, 41, 104756, 31, 104757, 3, 104758, 41, 104759, 25, 104760, 49, 104761, 41, 104762, 44, 104763, 50, 104764, 46, 104765, 6, 104766, 40, 104767, 16, 104768, 8, 104769, 17, 104770, 48, 104771, 42, 104772, 50, 104773, 25, 104774, 29, 104775, 25, 104776, 32, 104777, 13, 104778, 36, 104779, 47, 104780, 14, 104781, 29, 104782, 23, 104783, 38, 104784, 42, 104785, 18, 104786, 20, 104808, 51, 104896, 75, 104900, 112, 104901, 104, 104902, 103, 104903, 116, 104904, 109, 104905, 108, 104906, 169, 104907, 164, 104908, 0, 104909, 168, 104910, 141, 104911, 166, 104912, 114, 104913, 160, 104914, 151, 104915, 117, 104916, 110, 104917, 140, 104918, 115, 104919, 170, 104920, 163, 104921, 154, 104922, 158, 104923, 161, 104924, 148, 104925, 0, 104926, 159, 104927, 167, 104928, 127, 104929, 131, 104930, 145, 104931, 159, 104932, 136, 104933, 123, 104934, 139, 104935, 134, 104936, 166, 104937, 150, 104938, 137, 104939, 147, 104940, 121, 104941, 165, 104942, 128, 104943, 111, 104944, 1, 104945, 126, 104946, 152, 104947, 157, 104948, 162, 104949, 153, 104950, 156, 104951, 149, 104952, 132, 104953, 122, 104954, 160, 104955, 146, 104956, 143, 104957, 156, 104958, 120, 104959, 125, 104960, 2, 104961, 144, 104962, 142, 104963, 138, 104964, 155, 104965, 135, 104966, 133, 104967, 151, 104968, 118, 104969, 119, 104970, 124, 104971, 108, 104972, 129, 104973, 130, 104974, 113, 104975, 0, 104990, 84, 104991, 75, 104992, 84], gcsidc: [[4127, 4129, 67], [4135, 4139, 67], [4158, 4161, 55], [4181, 4185, 55], [4194, 4196, 55], [4226, 4228, 63], [4247, 4249, 55], [4277, 4279, 81], [4600, 4607, 64], [4621, 4623, 55], [4628, 4633, 55], [4641, 4646, 55], [4662, 4665, 55], [4676, 4678, 66], [4688, 4692, 55], [4699, 4701, 64], [4755, 4757, 75], [4763, 4765, 75], [4813, 4815, 84], [8972, 8987, 75], [37212, 37219, 55], [37245, 37247, 55], [37249, 37251, 55], [104009, 104015, 75], [104019, 104022, 75], [104114, 104124, 75], [104125, 104127, 55], [104141, 104145, 75], [104179, 104186, 75], [104257, 104260, 75]] }, s4 = { c: [[2e3, 2035, 9001], [2039, 2045, 9001], [2056, 2062, 9001], [2067, 2090, 9001], [2093, 2135, 9001], [2161, 2165, 9001], [2172, 2180, 9001], [2188, 2193, 9001], [2195, 2198, 9001], [2200, 2203, 9001], [2205, 2213, 9001], [2215, 2217, 9001], [2222, 2224, 9002], [2225, 2243, 9003], [2246, 2250, 9003], [2251, 2253, 9002], [2257, 2264, 9003], [2274, 2279, 9003], [2280, 2282, 9002], [2283, 2289, 9003], [2308, 2313, 9001], [2315, 2491, 9001], [2494, 2576, 9001], [2578, 2599, 9001], [2601, 2693, 9001], [2695, 2866, 9001], [2867, 2869, 9002], [2870, 2888, 9003], [2891, 2895, 9003], [2896, 2898, 9002], [2902, 2908, 9003], [2915, 2920, 9003], [2921, 2923, 9002], [2924, 2930, 9003], [2931, 2933, 9001], [2935, 2962, 9001], [2964, 2968, 9003], [2969, 2973, 9001], [2975, 2978, 9001], [2984, 2988, 9001], [2995, 3051, 9001], [3054, 3072, 9001], [3077, 3079, 9001], [3081, 3088, 9001], [3092, 3101, 9001], [3106, 3138, 9001], [3146, 3151, 9001], [3153, 3166, 9001], [3168, 3172, 9001], [3174, 3203, 9001], [3294, 3313, 9001], [3315, 3348, 9001], [3350, 3358, 9001], [3367, 3403, 9001], [3408, 3416, 9001], [3417, 3438, 9003], [3441, 3446, 9003], [3447, 3450, 9001], [3451, 3453, 9003], [3455, 3459, 9003], [3460, 3478, 9001], [3554, 3559, 9001], [3560, 3570, 9003], [3571, 3581, 9001], [3594, 3597, 9001], [3601, 3604, 9001], [3637, 3639, 9001], [3665, 3667, 9001], [3693, 3695, 9001], [3701, 3727, 9001], [3728, 3739, 9003], [3740, 3751, 9001], [3753, 3760, 9003], [3761, 3773, 9001], [3775, 3777, 9001], [3779, 3781, 9001], [3788, 3791, 9001], [3797, 3802, 9001], [3814, 3816, 9001], [3825, 3829, 9001], [3832, 3841, 9001], [3844, 3852, 9001], [3873, 3885, 9001], [3890, 3893, 9001], [3942, 3950, 9001], [3968, 3970, 9001], [3973, 3976, 9001], [3986, 3989, 9001], [3994, 3997, 9001], [4001, 4016, 9102], [4018, 4025, 9102], [4027, 4029, 9102], [4031, 4036, 9102], [4044, 4047, 9102], [4048, 4051, 9001], [4052, 4054, 9102], [4056, 4063, 9001], [4093, 4096, 9001], [4120, 4124, 9102], [4127, 4139, 9102], [4141, 4176, 9102], [4178, 4185, 9102], [4188, 4216, 9102], [4218, 4232, 9102], [4235, 4260, 9102], [4265, 4267, 9102], [4269, 4286, 9102], [4292, 4304, 9102], [4306, 4319, 9102], [4390, 4398, 9001], [4399, 4413, 9003], [4418, 4433, 9003], [4455, 4457, 9003], [4484, 4489, 9001], [4491, 4554, 9001], [4568, 4589, 9001], [4600, 4630, 9102], [4636, 4639, 9102], [4641, 4646, 9102], [4652, 4656, 9001], [4657, 4680, 9102], [4682, 4684, 9102], [4686, 4765, 9102], [4766, 4800, 9001], [4801, 4806, 9102], [4813, 4815, 9102], [5014, 5016, 9001], [5069, 5072, 9001], [5105, 5130, 9001], [5173, 5188, 9001], [5253, 5259, 9001], [5269, 5275, 9001], [5292, 5311, 9001], [5329, 5331, 9001], [5343, 5349, 9001], [5355, 5357, 9001], [5459, 5463, 9001], [5479, 5482, 9001], [5518, 5520, 9001], [5533, 5539, 9001], [5550, 5552, 9001], [5562, 5583, 9001], [5623, 5625, 9003], [5631, 5639, 9001], [5649, 5653, 9001], [5663, 5680, 9001], [5682, 5685, 9001], [5875, 5877, 9001], [5896, 5899, 9001], [5921, 5940, 9001], [6050, 6125, 9001], [6244, 6275, 9001], [6328, 6348, 9001], [6350, 6356, 9001], [6366, 6372, 9001], [6381, 6387, 9001], [6393, 6404, 9001], [6480, 6483, 9001], [6511, 6514, 9001], [6579, 6581, 9001], [6619, 6624, 9001], [6625, 6627, 9003], [6628, 6632, 9001], [6634, 6637, 9001], [6669, 6692, 9001], [6707, 6709, 9001], [6720, 6723, 9001], [6732, 6738, 9001], [6881, 6883, 9102], [6931, 6933, 9001], [7005, 7007, 9001], [7057, 7070, 9003], [7074, 7082, 9001], [7109, 7118, 9001], [7119, 7127, 9002], [7374, 7376, 9001], [7528, 7586, 9001], [7587, 7645, 9003], [7692, 7696, 9001], [7755, 7787, 9001], [7791, 7795, 9001], [7799, 7801, 9001], [7803, 7805, 9001], [7825, 7831, 9001], [7845, 7859, 9001], [8013, 8032, 9001], [8065, 8068, 9002], [8518, 8529, 9003], [8533, 8536, 9003], [8538, 8540, 9003], [8677, 8679, 9001], [8836, 8840, 9001], [8857, 8859, 9001], [8908, 8910, 9001], [8972, 9e3, 9102], [9053, 9057, 9102], [9059, 9069, 9102], [9154, 9159, 9001], [9205, 9218, 9001], [20002, 20032, 9001], [20062, 20092, 9001], [20135, 20138, 9001], [20248, 20258, 9001], [20348, 20358, 9001], [20436, 20440, 9001], [20822, 20824, 9001], [20934, 20936, 9001], [21035, 21037, 9001], [21095, 21097, 9001], [21148, 21150, 9001], [21413, 21423, 9001], [21473, 21483, 9001], [21780, 21782, 9001], [21896, 21899, 9001], [22171, 22177, 9001], [22181, 22187, 9001], [22191, 22197, 9001], [22234, 22236, 9001], [22521, 22525, 9001], [22991, 22994, 9001], [23028, 23038, 9001], [23830, 23853, 9001], [23866, 23872, 9001], [23877, 23884, 9001], [23886, 23894, 9001], [23946, 23948, 9001], [24311, 24313, 9001], [24342, 24347, 9001], [24370, 24374, 9084], [24375, 24381, 9001], [24718, 24721, 9001], [24817, 24821, 9001], [24877, 24882, 9001], [24891, 24893, 9001], [25391, 25395, 9001], [25828, 25838, 9001], [26191, 26195, 9001], [26391, 26393, 9001], [26701, 26722, 9001], [26729, 26746, 9003], [26748, 26760, 9003], [26766, 26799, 9003], [26847, 26870, 9003], [26891, 26899, 9001], [26901, 26923, 9001], [26929, 26946, 9001], [26948, 26978, 9001], [26980, 26998, 9001], [27037, 27040, 9001], [27205, 27232, 9001], [27258, 27260, 9001], [27391, 27398, 9001], [27561, 27564, 9001], [27571, 27574, 9001], [27581, 27584, 9001], [27591, 27594, 9001], [28191, 28193, 9001], [28348, 28358, 9001], [28402, 28432, 9001], [28462, 28492, 9001], [29168, 29172, 9001], [29187, 29195, 9001], [29901, 29903, 9001], [30161, 30179, 9001], [30491, 30494, 9001], [30729, 30732, 9001], [31251, 31259, 9001], [31265, 31268, 9001], [31275, 31277, 9001], [31281, 31290, 9001], [31466, 31469, 9001], [31491, 31495, 9001], [31965, 32e3, 9001], [32001, 32003, 9003], [32005, 32017, 9003], [32019, 32028, 9003], [32033, 32035, 9003], [32037, 32060, 9003], [32064, 32067, 9003], [32081, 32086, 9001], [32107, 32130, 9001], [32133, 32158, 9001], [32164, 32167, 9003], [32180, 32199, 9001], [32201, 32260, 9001], [32301, 32360, 9001], [32601, 32662, 9001], [32664, 32667, 9003], [32701, 32761, 9001], [37002, 37008, 9102], [53001, 53004, 9001], [53008, 53019, 9001], [53021, 53032, 9001], [53034, 53037, 9001], [53042, 53046, 9001], [53074, 53080, 9001], [54001, 54004, 9001], [54008, 54019, 9001], [54021, 54032, 9001], [54042, 54046, 9001], [54048, 54053, 9001], [54074, 54080, 9001], [54098, 54101, 9001], [102001, 102005, 9001], [102007, 102039, 9001], [102042, 102045, 9001], [102060, 102063, 9001], [102070, 102079, 9001], [102096, 102099, 9001], [102101, 102109, 9001], [102114, 102117, 9001], [102132, 102138, 9001], [102141, 102144, 9001], [102156, 102166, 9001], [102173, 102179, 9001], [102191, 102198, 9001], [102221, 102228, 9001], [102231, 102233, 9001], [102237, 102240, 9001], [102364, 102375, 9001], [102389, 102398, 9003], [102399, 102419, 9001], [102421, 102438, 9001], [102445, 102447, 9003], [102450, 102458, 9001], [102459, 102462, 9003], [102470, 102489, 9001], [102550, 102556, 9001], [102562, 102588, 9001], [102629, 102640, 9003], [102648, 102650, 9003], [102688, 102690, 9003], [102696, 102700, 9003], [102701, 102703, 9001], [102799, 102900, 9001], [103166, 103168, 9002], [103220, 103224, 9001], [103225, 103227, 9002], [103232, 103237, 9001], [103238, 103243, 9003], [103244, 103246, 9001], [103247, 103249, 9003], [103254, 103256, 9001], [103257, 103259, 9003], [103264, 103266, 9001], [103267, 103269, 9003], [103327, 103330, 9001], [103344, 103347, 9001], [103372, 103375, 9001], [103381, 103383, 9001], [103384, 103386, 9002], [103387, 103389, 9001], [103390, 103392, 9003], [103397, 103399, 9001], [103427, 103430, 9003], [103444, 103447, 9003], [103476, 103478, 9001], [103479, 103481, 9003], [103486, 103488, 9001], [103489, 103491, 9003], [103492, 103495, 9001], [103496, 103499, 9003], [103539, 103543, 9001], [103544, 103548, 9003], [103549, 103551, 9001], [103552, 103554, 9002], [103555, 103557, 9003], [103558, 103560, 9001], [103571, 103573, 9001], [103574, 103576, 9003], [103577, 103580, 9001], [103581, 103583, 9003], [103595, 103597, 9001], [103600, 103694, 9001], [103696, 103698, 9001], [103700, 103793, 9003], [104101, 104103, 9102], [104126, 104131, 9102], [104259, 104261, 9102], [104700, 104786, 9102], [104900, 104975, 9102]], nc: [2065, 9001, 2066, 9039, 2136, 9094, 2137, 9001, 2138, 9001, 2154, 9001, 2157, 9001, 2158, 9001, 2159, 9094, 2160, 9094, 2169, 9001, 2170, 9001, 2204, 9003, 2219, 9001, 2220, 9001, 2254, 9003, 2255, 9003, 2256, 9002, 2265, 9002, 2266, 9002, 2267, 9003, 2268, 9003, 2269, 9002, 2270, 9002, 2271, 9003, 2272, 9003, 2273, 9002, 2290, 9001, 2294, 9001, 2295, 9001, 2314, 9005, 2899, 9003, 2900, 9003, 2901, 9002, 2909, 9002, 2910, 9002, 2911, 9003, 2912, 9003, 2913, 9002, 2914, 9002, 2980, 9001, 2981, 9001, 2991, 9001, 2992, 9002, 2993, 9001, 2994, 9002, 3074, 9001, 3075, 9001, 3080, 9002, 3089, 9003, 3090, 9001, 3091, 9003, 3102, 9003, 3141, 9001, 3142, 9001, 3167, 9301, 3360, 9001, 3361, 9002, 3362, 9001, 3363, 9003, 3364, 9001, 3365, 9003, 3404, 9003, 3405, 9001, 3406, 9001, 3407, 9005, 3439, 9001, 3440, 9001, 3479, 9002, 3480, 9001, 3481, 9002, 3482, 9001, 3483, 9002, 3484, 9001, 3485, 9003, 3486, 9001, 3487, 9003, 3488, 9001, 3489, 9001, 3490, 9003, 3491, 9001, 3492, 9003, 3493, 9001, 3494, 9003, 3495, 9001, 3496, 9003, 3497, 9001, 3498, 9003, 3499, 9001, 3500, 9003, 3501, 9001, 3502, 9003, 3503, 9001, 3504, 9003, 3505, 9001, 3506, 9003, 3507, 9001, 3508, 9003, 3509, 9001, 3510, 9003, 3511, 9001, 3512, 9003, 3513, 9001, 3514, 9001, 3515, 9003, 3516, 9001, 3517, 9003, 3518, 9001, 3519, 9003, 3520, 9001, 3521, 9003, 3522, 9001, 3523, 9003, 3524, 9001, 3525, 9003, 3526, 9001, 3527, 9003, 3528, 9001, 3529, 9003, 3530, 9001, 3531, 9003, 3532, 9001, 3533, 9003, 3534, 9001, 3535, 9003, 3536, 9001, 3537, 9003, 3538, 9001, 3539, 9003, 3540, 9001, 3541, 9003, 3542, 9001, 3543, 9003, 3544, 9001, 3545, 9003, 3546, 9001, 3547, 9003, 3548, 9001, 3549, 9003, 3550, 9001, 3551, 9003, 3552, 9001, 3553, 9003, 3582, 9003, 3583, 9001, 3584, 9003, 3585, 9001, 3586, 9003, 3587, 9001, 3588, 9002, 3589, 9001, 3590, 9002, 3591, 9001, 3592, 9001, 3593, 9002, 3598, 9003, 3599, 9001, 3600, 9003, 3605, 9002, 3606, 9001, 3607, 9001, 3608, 9003, 3609, 9001, 3610, 9003, 3611, 9001, 3612, 9003, 3613, 9001, 3614, 9003, 3615, 9001, 3616, 9003, 3617, 9001, 3618, 9003, 3619, 9001, 3620, 9003, 3621, 9001, 3622, 9003, 3623, 9001, 3624, 9003, 3625, 9001, 3626, 9003, 3627, 9001, 3628, 9003, 3629, 9001, 3630, 9003, 3631, 9001, 3632, 9003, 3633, 9001, 3634, 9002, 3635, 9001, 3636, 9002, 3640, 9003, 3641, 9001, 3642, 9003, 3643, 9001, 3644, 9002, 3645, 9001, 3646, 9002, 3647, 9001, 3648, 9002, 3649, 9001, 3650, 9003, 3651, 9001, 3652, 9003, 3653, 9001, 3654, 9003, 3655, 9001, 3656, 9002, 3657, 9001, 3658, 9003, 3659, 9001, 3660, 9003, 3661, 9001, 3662, 9003, 3663, 9001, 3664, 9003, 3668, 9003, 3669, 9001, 3670, 9003, 3671, 9001, 3672, 9003, 3673, 9001, 3674, 9003, 3675, 9001, 3676, 9002, 3677, 9003, 3678, 9001, 3679, 9002, 3680, 9003, 3681, 9001, 3682, 9002, 3683, 9003, 3684, 9001, 3685, 9001, 3686, 9003, 3687, 9001, 3688, 9003, 3689, 9001, 3690, 9003, 3691, 9001, 3692, 9003, 3696, 9003, 3697, 9001, 3698, 9003, 3699, 9001, 3700, 9003, 3783, 9001, 3784, 9001, 3793, 9001, 3794, 9001, 3812, 9001, 3819, 9102, 3821, 9102, 3824, 9102, 3854, 9001, 3857, 9001, 3889, 9102, 3906, 9102, 3911, 9001, 3912, 9001, 3920, 9001, 3978, 9001, 3979, 9001, 3991, 9003, 3992, 9003, 4026, 9001, 4037, 9001, 4038, 9001, 4042, 9102, 4071, 9001, 4075, 9102, 4081, 9102, 4082, 9001, 4083, 9001, 4087, 9001, 4088, 9001, 4217, 9003, 4261, 9105, 4262, 9102, 4263, 9102, 4288, 9102, 4289, 9102, 4322, 9102, 4324, 9102, 4326, 9102, 4414, 9001, 4415, 9001, 4417, 9001, 4434, 9001, 4437, 9001, 4438, 9003, 4439, 9003, 4462, 9001, 4463, 9102, 4467, 9001, 4470, 9102, 4471, 9001, 4475, 9102, 4483, 9102, 4490, 9102, 4555, 9102, 4558, 9102, 4559, 9001, 4632, 9102, 4633, 9102, 4647, 9001, 4807, 9105, 4808, 9102, 4809, 9102, 4810, 9105, 4811, 9105, 4816, 9105, 4817, 9102, 4818, 9102, 4820, 9102, 4821, 9105, 4822, 9001, 4823, 9102, 4824, 9102, 4826, 9001, 4839, 9001, 4901, 9105, 4902, 9105, 4903, 9102, 4904, 9102, 5013, 9102, 5018, 9001, 5048, 9001, 5167, 9001, 5168, 9001, 5221, 9001, 5223, 9001, 5228, 9102, 5229, 9102, 5233, 9102, 5234, 9001, 5235, 9001, 5243, 9001, 5246, 9102, 5247, 9001, 5252, 9102, 5264, 9102, 5266, 9001, 5316, 9001, 5320, 9001, 5321, 9001, 5324, 9102, 5325, 9001, 5337, 9001, 5340, 9102, 5354, 9102, 5360, 9102, 5361, 9001, 5362, 9001, 5365, 9102, 5367, 9001, 5371, 9102, 5373, 9102, 5381, 9102, 5382, 9001, 5383, 9001, 5387, 9001, 5389, 9001, 5393, 9102, 5396, 9001, 5451, 9102, 5456, 9001, 5457, 9001, 5464, 9102, 5467, 9102, 5469, 9001, 5472, 9037, 5489, 9102, 5490, 9001, 5513, 9001, 5514, 9001, 5523, 9001, 5524, 9102, 5527, 9102, 5530, 9001, 5531, 9001, 5546, 9102, 5559, 9001, 5561, 9102, 5588, 9002, 5589, 9005, 5593, 9102, 5596, 9001, 5627, 9001, 5629, 9001, 5641, 9001, 5643, 9001, 5644, 9001, 5646, 9003, 5654, 9003, 5655, 9003, 5659, 9001, 5681, 9102, 5700, 9001, 5825, 9001, 5836, 9001, 5837, 9001, 5839, 9001, 5842, 9001, 5844, 9001, 5858, 9001, 5879, 9001, 5880, 9001, 5886, 9102, 5887, 9001, 5890, 9001, 6128, 9002, 6129, 9002, 6135, 9102, 6204, 9001, 6207, 9102, 6210, 9001, 6211, 9001, 6307, 9001, 6311, 9102, 6312, 9001, 6316, 9001, 6318, 9102, 6322, 9102, 6325, 9102, 6362, 9001, 6365, 9102, 6391, 9002, 6405, 9002, 6406, 9001, 6407, 9002, 6408, 9001, 6409, 9002, 6410, 9001, 6411, 9003, 6412, 9001, 6413, 9003, 6414, 9001, 6415, 9001, 6416, 9003, 6417, 9001, 6418, 9003, 6419, 9001, 6420, 9003, 6421, 9001, 6422, 9003, 6423, 9001, 6424, 9003, 6425, 9001, 6426, 9003, 6427, 9001, 6428, 9003, 6429, 9001, 6430, 9003, 6431, 9001, 6432, 9003, 6433, 9001, 6434, 9003, 6435, 9001, 6436, 9003, 6437, 9001, 6438, 9003, 6439, 9001, 6440, 9001, 6441, 9003, 6442, 9001, 6443, 9003, 6444, 9001, 6445, 9003, 6446, 9001, 6447, 9003, 6448, 9001, 6449, 9003, 6450, 9001, 6451, 9003, 6452, 9001, 6453, 9003, 6454, 9001, 6455, 9003, 6456, 9001, 6457, 9003, 6458, 9001, 6459, 9003, 6460, 9001, 6461, 9003, 6462, 9001, 6463, 9003, 6464, 9001, 6465, 9003, 6466, 9001, 6467, 9003, 6468, 9001, 6469, 9003, 6470, 9001, 6471, 9003, 6472, 9001, 6473, 9003, 6474, 9001, 6475, 9003, 6476, 9001, 6477, 9003, 6478, 9001, 6479, 9003, 6484, 9003, 6485, 9001, 6486, 9003, 6487, 9001, 6488, 9003, 6489, 9001, 6490, 9003, 6491, 9001, 6492, 9003, 6493, 9001, 6494, 9002, 6495, 9001, 6496, 9002, 6497, 9001, 6498, 9001, 6499, 9002, 6500, 9001, 6501, 9003, 6502, 9001, 6503, 9003, 6504, 9001, 6505, 9003, 6506, 9001, 6507, 9003, 6508, 9001, 6509, 9001, 6510, 9003, 6515, 9002, 6516, 9001, 6518, 9001, 6519, 9003, 6520, 9001, 6521, 9003, 6522, 9001, 6523, 9003, 6524, 9001, 6525, 9003, 6526, 9001, 6527, 9003, 6528, 9001, 6529, 9003, 6530, 9001, 6531, 9003, 6532, 9001, 6533, 9003, 6534, 9001, 6535, 9003, 6536, 9001, 6537, 9003, 6538, 9001, 6539, 9003, 6540, 9001, 6541, 9003, 6542, 9001, 6543, 9003, 6544, 9001, 6545, 9002, 6546, 9001, 6547, 9002, 6548, 9001, 6549, 9003, 6550, 9001, 6551, 9003, 6552, 9001, 6553, 9003, 6554, 9001, 6555, 9003, 6556, 9001, 6557, 9002, 6558, 9001, 6559, 9002, 6560, 9001, 6561, 9002, 6562, 9001, 6563, 9003, 6564, 9001, 6565, 9003, 6566, 9001, 6567, 9001, 6568, 9003, 6569, 9001, 6570, 9002, 6571, 9001, 6572, 9003, 6573, 9001, 6574, 9003, 6575, 9001, 6576, 9003, 6577, 9001, 6578, 9003, 6582, 9003, 6583, 9001, 6584, 9003, 6585, 9001, 6586, 9003, 6587, 9001, 6588, 9003, 6589, 9001, 6590, 9003, 6591, 9001, 6592, 9001, 6593, 9003, 6594, 9001, 6595, 9003, 6596, 9001, 6597, 9003, 6598, 9001, 6599, 9003, 6600, 9001, 6601, 9003, 6602, 9001, 6603, 9003, 6605, 9003, 6606, 9001, 6607, 9003, 6608, 9001, 6609, 9003, 6610, 9001, 6611, 9001, 6612, 9003, 6613, 9001, 6614, 9003, 6615, 9001, 6616, 9003, 6617, 9001, 6618, 9003, 6633, 9003, 6646, 9001, 6668, 9102, 6703, 9001, 6706, 9102, 6783, 9102, 6784, 9001, 6785, 9002, 6786, 9001, 6787, 9002, 6788, 9001, 6789, 9002, 6790, 9001, 6791, 9002, 6792, 9001, 6793, 9002, 6794, 9001, 6795, 9002, 6796, 9001, 6797, 9002, 6798, 9001, 6799, 9002, 6800, 9001, 6801, 9002, 6802, 9001, 6803, 9002, 6804, 9001, 6805, 9002, 6806, 9001, 6807, 9002, 6808, 9001, 6809, 9002, 6810, 9001, 6811, 9002, 6812, 9001, 6813, 9002, 6814, 9001, 6815, 9002, 6816, 9001, 6817, 9002, 6818, 9001, 6819, 9002, 6820, 9001, 6821, 9002, 6822, 9001, 6823, 9002, 6824, 9001, 6825, 9002, 6826, 9001, 6827, 9002, 6828, 9001, 6829, 9002, 6830, 9001, 6831, 9002, 6832, 9001, 6833, 9002, 6834, 9001, 6835, 9002, 6836, 9001, 6837, 9002, 6838, 9001, 6839, 9002, 6840, 9001, 6841, 9002, 6842, 9001, 6843, 9002, 6844, 9001, 6845, 9002, 6846, 9001, 6847, 9002, 6848, 9001, 6849, 9002, 6850, 9001, 6851, 9002, 6852, 9001, 6853, 9002, 6854, 9001, 6855, 9002, 6856, 9001, 6857, 9002, 6858, 9001, 6859, 9002, 6860, 9001, 6861, 9002, 6862, 9001, 6863, 9002, 6867, 9001, 6868, 9002, 6870, 9001, 6875, 9001, 6876, 9001, 6879, 9001, 6880, 9003, 6884, 9001, 6885, 9002, 6886, 9001, 6887, 9002, 6892, 9102, 6894, 9102, 6915, 9001, 6922, 9001, 6923, 9003, 6924, 9001, 6925, 9003, 6962, 9001, 6983, 9102, 6984, 9001, 6990, 9102, 6991, 9001, 7035, 9102, 7037, 9102, 7039, 9102, 7041, 9102, 7073, 9102, 7084, 9102, 7086, 9102, 7128, 9003, 7131, 9001, 7132, 9003, 7133, 9102, 7136, 9102, 7139, 9102, 7142, 9001, 7257, 9001, 7258, 9003, 7259, 9001, 7260, 9003, 7261, 9001, 7262, 9003, 7263, 9001, 7264, 9003, 7265, 9001, 7266, 9003, 7267, 9001, 7268, 9003, 7269, 9001, 7270, 9003, 7271, 9001, 7272, 9003, 7273, 9001, 7274, 9003, 7275, 9001, 7276, 9003, 7277, 9001, 7278, 9003, 7279, 9001, 7280, 9003, 7281, 9001, 7282, 9003, 7283, 9001, 7284, 9003, 7285, 9001, 7286, 9003, 7287, 9001, 7288, 9003, 7289, 9001, 7290, 9003, 7291, 9001, 7292, 9003, 7293, 9001, 7294, 9003, 7295, 9001, 7296, 9003, 7297, 9001, 7298, 9003, 7299, 9001, 7300, 9003, 7301, 9001, 7302, 9003, 7303, 9001, 7304, 9003, 7305, 9001, 7306, 9003, 7307, 9001, 7308, 9003, 7309, 9001, 7310, 9003, 7311, 9001, 7312, 9003, 7313, 9001, 7314, 9003, 7315, 9001, 7316, 9003, 7317, 9001, 7318, 9003, 7319, 9001, 7320, 9003, 7321, 9001, 7322, 9003, 7323, 9001, 7324, 9003, 7325, 9001, 7326, 9003, 7327, 9001, 7328, 9003, 7329, 9001, 7330, 9003, 7331, 9001, 7332, 9003, 7333, 9001, 7334, 9003, 7335, 9001, 7336, 9003, 7337, 9001, 7338, 9003, 7339, 9001, 7340, 9003, 7341, 9001, 7342, 9003, 7343, 9001, 7344, 9003, 7345, 9001, 7346, 9003, 7347, 9001, 7348, 9003, 7349, 9001, 7350, 9003, 7351, 9001, 7352, 9003, 7353, 9001, 7354, 9003, 7355, 9001, 7356, 9003, 7357, 9001, 7358, 9003, 7359, 9001, 7360, 9003, 7361, 9001, 7362, 9003, 7363, 9001, 7364, 9003, 7365, 9001, 7366, 9003, 7367, 9001, 7368, 9003, 7369, 9001, 7370, 9003, 7373, 9102, 7683, 9102, 7798, 9102, 7844, 9102, 7877, 9001, 7878, 9001, 7881, 9102, 7882, 9001, 7883, 9001, 7886, 9102, 7887, 9001, 7899, 9001, 7991, 9001, 7992, 9001, 8035, 9003, 8036, 9003, 8042, 9102, 8043, 9102, 8058, 9001, 8059, 9001, 8082, 9001, 8083, 9001, 8086, 9102, 8088, 9001, 8090, 9001, 8091, 9003, 8092, 9001, 8093, 9003, 8095, 9001, 8096, 9003, 8097, 9001, 8098, 9003, 8099, 9001, 8100, 9003, 8101, 9001, 8102, 9003, 8103, 9001, 8104, 9003, 8105, 9001, 8106, 9003, 8107, 9001, 8108, 9003, 8109, 9001, 8110, 9003, 8111, 9001, 8112, 9003, 8113, 9001, 8114, 9003, 8115, 9001, 8116, 9003, 8117, 9001, 8118, 9003, 8119, 9001, 8120, 9003, 8121, 9001, 8122, 9003, 8123, 9001, 8124, 9003, 8125, 9001, 8126, 9003, 8127, 9001, 8128, 9003, 8129, 9001, 8130, 9003, 8131, 9001, 8132, 9003, 8133, 9001, 8134, 9003, 8135, 9001, 8136, 9003, 8137, 9001, 8138, 9003, 8139, 9001, 8140, 9003, 8141, 9001, 8142, 9003, 8143, 9001, 8144, 9003, 8145, 9001, 8146, 9003, 8147, 9001, 8148, 9003, 8149, 9001, 8150, 9003, 8151, 9001, 8152, 9003, 8153, 9001, 8154, 9003, 8155, 9001, 8156, 9003, 8157, 9001, 8158, 9003, 8159, 9001, 8160, 9003, 8161, 9001, 8162, 9003, 8163, 9001, 8164, 9003, 8165, 9001, 8166, 9003, 8167, 9001, 8168, 9003, 8169, 9001, 8170, 9003, 8171, 9001, 8172, 9003, 8173, 9001, 8177, 9003, 8179, 9001, 8180, 9003, 8181, 9001, 8182, 9003, 8184, 9001, 8185, 9003, 8187, 9001, 8189, 9003, 8191, 9001, 8193, 9003, 8196, 9001, 8197, 9003, 8198, 9001, 8200, 9003, 8201, 9001, 8202, 9003, 8203, 9001, 8204, 9003, 8205, 9001, 8206, 9003, 8207, 9001, 8208, 9003, 8209, 9001, 8210, 9003, 8212, 9001, 8213, 9003, 8214, 9001, 8216, 9003, 8218, 9001, 8220, 9003, 8222, 9001, 8224, 9003, 8225, 9001, 8226, 9003, 8232, 9102, 8237, 9102, 8240, 9102, 8246, 9102, 8249, 9102, 8252, 9102, 8255, 9102, 8311, 9001, 8312, 9002, 8313, 9001, 8314, 9002, 8315, 9001, 8316, 9002, 8317, 9001, 8318, 9002, 8319, 9001, 8320, 9002, 8321, 9001, 8322, 9002, 8323, 9001, 8324, 9002, 8325, 9001, 8326, 9002, 8327, 9001, 8328, 9002, 8329, 9001, 8330, 9002, 8331, 9001, 8332, 9002, 8333, 9001, 8334, 9002, 8335, 9001, 8336, 9002, 8337, 9001, 8338, 9002, 8339, 9001, 8340, 9002, 8341, 9001, 8342, 9002, 8343, 9001, 8344, 9002, 8345, 9001, 8346, 9002, 8347, 9001, 8348, 9002, 8351, 9102, 8352, 9001, 8353, 9001, 8379, 9001, 8380, 9003, 8381, 9001, 8382, 9003, 8383, 9001, 8384, 9003, 8385, 9001, 8387, 9003, 8391, 9001, 8395, 9001, 8427, 9102, 8428, 9102, 8431, 9102, 8433, 9001, 8441, 9001, 8455, 9001, 8456, 9001, 8531, 9003, 8545, 9102, 8682, 9001, 8685, 9102, 8687, 9001, 8692, 9001, 8693, 9001, 8694, 9102, 8699, 9102, 8818, 9102, 8826, 9001, 8860, 9102, 8888, 9102, 8900, 9102, 8902, 9102, 8903, 9001, 8907, 9102, 8949, 9102, 8950, 9001, 8951, 9001, 9003, 9102, 9006, 9102, 9009, 9102, 9012, 9102, 9014, 9102, 9017, 9102, 9019, 9102, 9039, 9001, 9040, 9001, 9140, 9102, 9141, 9001, 9148, 9102, 9149, 9001, 9150, 9001, 9153, 9102, 9191, 9001, 9221, 9001, 9222, 9001, 20499, 9001, 20538, 9001, 20539, 9001, 20790, 9001, 20791, 9001, 21291, 9001, 21292, 9001, 21500, 9001, 21817, 9001, 21818, 9001, 22032, 9001, 22033, 9001, 22091, 9001, 22092, 9001, 22332, 9001, 22391, 9001, 22392, 9001, 22700, 9001, 22770, 9001, 22780, 9001, 22832, 9001, 23090, 9001, 23095, 9001, 23239, 9001, 23240, 9001, 23700, 9001, 24047, 9001, 24048, 9001, 24100, 9005, 24200, 9001, 24305, 9001, 24306, 9001, 24382, 9084, 24383, 9001, 24500, 9001, 24547, 9001, 24548, 9001, 24571, 9062, 24600, 9001, 25e3, 9001, 25231, 9001, 25884, 9001, 25932, 9001, 26237, 9001, 26331, 9001, 26332, 9001, 26591, 9001, 26592, 9001, 26632, 9001, 26692, 9001, 27120, 9001, 27200, 9001, 27291, 9040, 27292, 9040, 27429, 9001, 27493, 9001, 27500, 9001, 27700, 9001, 28232, 9001, 28600, 9001, 28991, 9001, 28992, 9001, 29101, 9001, 29220, 9001, 29221, 9001, 29333, 9001, 29635, 9001, 29636, 9001, 29701, 9001, 29738, 9001, 29739, 9001, 29849, 9001, 29850, 9001, 29871, 9042, 29872, 9041, 29873, 9001, 30200, 9039, 30339, 9001, 30340, 9001, 30791, 9001, 30792, 9001, 31028, 9001, 31121, 9001, 31154, 9001, 31170, 9001, 31171, 9001, 31279, 9001, 31370, 9001, 31528, 9001, 31529, 9001, 31600, 9001, 31700, 9001, 31838, 9001, 31839, 9001, 31901, 9001, 32030, 9003, 32031, 9003, 32061, 9001, 32062, 9001, 32098, 9001, 32099, 9003, 32100, 9001, 32104, 9001, 32161, 9001, 32766, 9001, 37202, 9102, 37203, 9102, 37206, 9102, 37207, 9102, 37218, 9102, 37221, 9102, 37225, 9105, 37240, 9102, 37241, 9102, 37243, 9102, 37245, 9102, 37249, 9102, 37257, 9102, 37260, 9102, 53048, 9001, 53049, 9001, 54034, 9001, 54090, 9001, 54091, 9001, 65061, 9003, 65062, 9003, 65161, 9001, 102041, 9003, 102064, 9085, 102068, 109030, 102069, 109031, 102093, 9001, 102094, 9001, 102118, 9003, 102120, 9003, 102121, 9003, 102122, 9001, 102150, 9001, 102168, 9001, 102204, 9001, 102212, 9001, 102213, 9001, 102215, 9001, 102216, 9001, 102217, 9003, 102218, 9001, 102219, 9003, 102220, 9003, 102247, 9001, 102299, 9001, 102306, 9001, 102319, 9001, 102328, 9001, 102329, 9001, 102359, 9001, 102360, 9001, 102440, 9001, 102448, 9001, 102464, 9003, 102465, 9003, 102491, 9001, 102492, 9001, 102498, 9001, 102499, 9001, 102525, 9003, 102526, 9003, 102528, 9003, 102529, 9003, 102589, 9003, 102598, 9001, 102599, 9003, 102600, 9003, 102604, 9003, 102661, 9003, 102662, 9003, 102664, 9003, 102665, 9003, 102705, 9003, 102720, 9003, 102721, 9003, 102726, 9003, 102727, 9003, 102733, 9003, 102761, 9003, 102766, 9003, 102974, 9003, 103228, 9001, 103229, 9001, 103230, 9003, 103231, 9003, 103250, 9001, 103251, 9003, 103252, 9001, 103253, 9003, 103260, 9001, 103261, 9001, 103262, 9003, 103263, 9003, 103270, 9001, 103271, 9001, 103272, 9003, 103273, 9003, 103274, 9001, 103275, 9001, 103276, 9003, 103277, 9003, 103278, 9001, 103279, 9001, 103280, 9003, 103281, 9003, 103282, 9001, 103283, 9001, 103284, 9003, 103285, 9003, 103286, 9001, 103287, 9003, 103288, 9001, 103289, 9003, 103290, 9001, 103291, 9003, 103292, 9001, 103293, 9001, 103294, 9003, 103295, 9003, 103296, 9001, 103297, 9001, 103298, 9003, 103299, 9003, 103300, 9001, 103307, 9001, 103313, 9001, 103319, 9001, 103322, 9001, 103323, 9001, 103332, 9001, 103335, 9001, 103338, 9001, 103340, 9001, 103351, 9001, 103358, 9001, 103370, 9001, 103376, 9003, 103377, 9001, 103378, 9001, 103379, 9003, 103380, 9003, 103393, 9001, 103394, 9001, 103395, 9003, 103396, 9003, 103400, 9003, 103407, 9003, 103413, 9003, 103419, 9003, 103422, 9003, 103423, 9003, 103432, 9003, 103435, 9003, 103438, 9003, 103440, 9003, 103451, 9003, 103458, 9003, 103470, 9003, 103472, 9001, 103473, 9002, 103474, 9001, 103475, 9003, 103482, 9001, 103483, 9003, 103484, 9001, 103485, 9003, 103500, 9001, 103501, 9003, 103502, 9001, 103503, 9001, 103504, 9002, 103505, 9002, 103506, 9001, 103507, 9001, 103508, 9003, 103509, 9003, 103510, 9001, 103511, 9001, 103512, 9003, 103513, 9003, 103514, 9001, 103515, 9003, 103516, 9001, 103517, 9003, 103518, 9001, 103519, 9003, 103520, 9001, 103521, 9002, 103522, 9001, 103523, 9001, 103524, 9003, 103525, 9003, 103526, 9001, 103527, 9003, 103561, 9003, 103562, 9003, 103563, 9001, 103564, 9001, 103565, 9003, 103566, 9003, 103567, 9001, 103568, 9001, 103569, 9003, 103570, 9003, 103585, 9003, 103586, 9001, 103587, 9003, 103588, 9002, 103589, 9001, 103590, 9003, 103591, 9002, 103592, 9001, 103593, 9003, 103594, 9002, 103695, 9003, 103846, 9001, 103946, 9003, 104009, 9102, 104017, 9102, 104018, 9102, 104022, 9102, 104024, 9102, 104027, 9102, 104047, 9102, 104050, 9102, 104105, 9102, 104106, 9102, 104109, 9102, 104112, 9102, 104113, 9102, 104134, 9102, 104135, 9102, 104138, 9102, 104139, 9105, 104140, 9105, 104808, 9102] };
  2939. t4.yr = function() {
  2940. function t5() {
  2941. }
  2942. return t5.Ny = function(i5) {
  2943. t5.zp === false && t5.zt();
  2944. var s5 = t5.zQ(i5);
  2945. if (s5 == -1) {
  2946. var n4 = t5.Ax(i5);
  2947. n4 != i5 && (s5 = t5.Ny(n4));
  2948. }
  2949. return s5 == -1 && ((n4 = t5.zK(i5)) != i5 && (s5 = t5.Ny(n4))), s5;
  2950. }, t5.zQ = function(i5) {
  2951. return t5.Hw[i5] !== void 0 ? t5.Hw[i5] : -1;
  2952. }, t5.wQ = function(i5) {
  2953. t5.zp === false && t5.zt();
  2954. var s5 = t5.hF(i5);
  2955. if (s5 == 1e38) {
  2956. var n4 = t5.Ax(i5);
  2957. if (n4 != i5 && (s5 = t5.hF(n4)), s5 == 1e38)
  2958. return 1e-10;
  2959. }
  2960. return s5;
  2961. }, t5.RS = function(i5) {
  2962. if (t5.Ks[i5] !== void 0)
  2963. return true;
  2964. var s5 = t5.Ax(i5);
  2965. return s5 != i5 && t5.Ks[s5] !== void 0;
  2966. }, t5.TS = function(i5) {
  2967. if (t5.yo[i5] !== void 0)
  2968. return true;
  2969. var s5 = t5.Ax(i5);
  2970. return s5 != i5 && t5.yo[s5] !== void 0;
  2971. }, t5.hF = function(i5) {
  2972. return t5.zp === false && t5.zt(), t5.Ks[i5] !== void 0 ? t5.Ks[i5] : t5.yo[i5] !== void 0 ? t5.yo[i5] : 1e38;
  2973. }, t5.zK = function(i5) {
  2974. return t5.zp === false && t5.zt(), t5.QA[i5] !== void 0 ? t5.QA[i5] : i5;
  2975. }, t5.Ax = function(i5) {
  2976. return t5.zp === false && t5.zt(), t5.RA[i5] !== void 0 ? t5.RA[i5] : i5;
  2977. }, t5.zt = function() {
  2978. for (var n4, h2 = i4, r2 = 0; r2 < h2.pcsid.length; r2 += 2)
  2979. t5.yo[h2.pcsid[r2]] = h2.pcstol[2 * h2.pcsid[r2 + 1] + 1];
  2980. for (r2 = 0; r2 < h2.pcsidc.length; r2 += 1)
  2981. for (var e2 = (n4 = h2.pcsidc[r2])[0]; e2 <= n4[1]; e2++)
  2982. t5.yo[e2] = h2.pcstol[2 * n4[2] + 1];
  2983. for (r2 = 0; r2 < h2.gcsid.length; r2 += 2)
  2984. t5.Ks[h2.gcsid[r2]] = h2.gcstol[2 * h2.gcsid[r2 + 1] + 1];
  2985. for (r2 = 0; r2 < h2.gcsidc.length; r2 += 1)
  2986. for (e2 = (n4 = h2.gcsidc[r2])[0]; e2 <= n4[1]; e2++)
  2987. t5.yo[e2] = h2.gcstol[2 * n4[2] + 1];
  2988. for (r2 = 0; r2 < s4.c.length; r2 += 1)
  2989. for (e2 = (n4 = s4.c[r2])[0]; e2 <= n4[1]; e2++)
  2990. t5.Hw[e2] = n4[2];
  2991. for (r2 = 0; r2 < s4.nc.length; r2 += 2)
  2992. t5.Hw[s4.nc[r2]] = s4.nc[r2 + 1];
  2993. for (s4 = null, r2 = 0; r2 < h2.newtoold.length; r2 += 2)
  2994. t5.QA[h2.newtoold[r2 + 1]] = h2.newtoold[r2], t5.RA[h2.newtoold[r2]] = h2.newtoold[r2 + 1];
  2995. i4 = null, t5.zp = true;
  2996. }, t5.zp = false, t5.Ks = [], t5.yo = [], t5.QA = [], t5.RA = [], t5.Hw = [], t5;
  2997. }();
  2998. }(V || (V = {})), function(t4) {
  2999. function i4(t5) {
  3000. return t5.length === 0 ? '""' : t5[0] == '"' || t5[0] == "." || "0" <= t5[0] && "9" >= t5[0] ? t5 : '"' + t5.trim() + '"';
  3001. }
  3002. var s4 = [];
  3003. t4.RC = function() {
  3004. function n4() {
  3005. }
  3006. return n4.yQ = function(h2) {
  3007. try {
  3008. for (var r2 = 0; r2 < s4.length; r2++)
  3009. if (s4[r2].wkttext === h2)
  3010. return s4[r2].unit;
  3011. for (var e2, o2 = r2 = "", a2 = false, u2 = 0; u2 < h2.length; u2++) {
  3012. var f2 = h2[u2];
  3013. a2 === true ? f2 == '"' ? h2[u2 + 1] == '"' ? r2 += f2 : a2 = a2 = false : r2 += f2 : /[\s]/.test(f2) || (f2 == "," ? (o2 = r2 !== "" ? o2 + (i4(r2) + ",") : o2 + ",", r2 = "") : f2 == ")" || f2 == "]" ? (o2 = r2 !== "" ? o2 + (i4(r2) + "]}") : o2 + "]}", r2 = "") : f2 == "(" || f2 == "[" ? (o2 += '{ "entity": "' + r2.toUpperCase().trim() + '", "values":[', r2 = "") : f2 == '"' ? (a2 = true, r2 = "") : r2 += f2);
  3014. }
  3015. e2 = JSON.parse(o2);
  3016. var c2 = n4.gF(e2);
  3017. if (c2 === null)
  3018. return null;
  3019. for (e2 = null, f2 = 0; f2 < c2.values.length; f2++)
  3020. if (typeof c2.values[f2] == "object" && c2.values[f2].entity === "UNIT") {
  3021. e2 = c2.values[f2];
  3022. break;
  3023. }
  3024. if (e2 === null)
  3025. return null;
  3026. var l2 = t4.Uc.TO(c2.entity === "GEOGCS" ? 1 : 0, e2.values[1], e2.values[2]);
  3027. return s4.push({ wkttext: h2, unit: l2 }), 10 < s4.length && s4.shift(), l2;
  3028. } catch (p2) {
  3029. return null;
  3030. }
  3031. }, n4.gF = function(t5) {
  3032. if (t5 === null)
  3033. return null;
  3034. if (t5.entity === "GEOGCS" || t5.entity === "PROJCS")
  3035. return t5;
  3036. for (var i5 = [], s5 = 0; s5 < t5.values.length; s5++)
  3037. if (typeof t5.values[s5] == "object" && t5.values[s5].entity !== void 0) {
  3038. if (t5.values[s5].entity === "GEOGCS" || t5.values[s5].entity == "PROJCS")
  3039. return t5.values[s5];
  3040. i5.push(t5.values[s5]);
  3041. }
  3042. for (t5 = 0; t5 < i5.length; t5++)
  3043. if ((s5 = n4.gF(i5[t5])) !== null)
  3044. return s5;
  3045. return null;
  3046. }, n4.xQ = function(t5) {
  3047. var i5 = -1;
  3048. if (t5 != null && 0 < t5.length) {
  3049. var s5 = t5.indexOf("PROJCS");
  3050. if (0 <= s5) {
  3051. var n5 = 0;
  3052. if (0 <= (s5 = t5.lastIndexOf("UNIT")) && 0 < (s5 = t5.indexOf(",", s5 + 4))) {
  3053. s5++;
  3054. var h2 = t5.indexOf("]", s5 + 1);
  3055. if (0 < h2)
  3056. try {
  3057. n5 = parseFloat(t5.substring(s5, h2));
  3058. } catch (e2) {
  3059. n5 = 0;
  3060. }
  3061. }
  3062. 0 < n5 && (i5 = 1e-3 / n5);
  3063. } else if (0 <= (s5 = t5.indexOf("GEOGCS"))) {
  3064. var r2 = 0;
  3065. if (n5 = 0, 0 < (s5 = t5.indexOf("SPHEROID", s5 + 6)) && 0 < (s5 = t5.indexOf(",", s5 + 8))) {
  3066. if (s5++, 0 < (h2 = t5.indexOf(",", s5 + 1)))
  3067. try {
  3068. r2 = parseFloat(t5.substring(s5, h2));
  3069. } catch (e2) {
  3070. r2 = 0;
  3071. }
  3072. if (0 < r2 && (0 <= (s5 = t5.indexOf("UNIT", h2 + 1)) && (0 < (s5 = t5.indexOf(",", s5 + 4)) && (s5++, 0 < (h2 = t5.indexOf("]", s5 + 1))))))
  3073. try {
  3074. n5 = parseFloat(t5.substring(s5, h2));
  3075. } catch (e2) {
  3076. n5 = 0;
  3077. }
  3078. }
  3079. 0 < r2 && 0 < n5 && (i5 = 1e-3 / (r2 * n5));
  3080. }
  3081. }
  3082. return i5;
  3083. }, n4;
  3084. }();
  3085. }(V || (V = {})), function(t4) {
  3086. var i4;
  3087. (i4 = t4.ZK || (t4.ZK = {}))[i4.NONE = 0] = "NONE", i4[i4.LINEAR = 1] = "LINEAR", i4[i4.ANGULAR = 2] = "ANGULAR", function(t5) {
  3088. t5[t5.enumFloat = 0] = "enumFloat", t5[t5.enumDouble = 1] = "enumDouble", t5[t5.enumInt32 = 2] = "enumInt32", t5[t5.enumInt64 = 3] = "enumInt64", t5[t5.enumInt8 = 4] = "enumInt8", t5[t5.enumInt16 = 5] = "enumInt16";
  3089. }(t4.KL || (t4.KL = {})), function(t5) {
  3090. t5[t5.POSITION = 0] = "POSITION", t5[t5.Z = 1] = "Z", t5[t5.M = 2] = "M", t5[t5.ID = 3] = "ID", t5[t5.NORMAL = 4] = "NORMAL", t5[t5.TEXTURE1D = 5] = "TEXTURE1D", t5[t5.TEXTURE2D = 6] = "TEXTURE2D", t5[t5.TEXTURE3D = 7] = "TEXTURE3D", t5[t5.ID2 = 8] = "ID2", t5[t5.MAXSEMANTICS = 10] = "MAXSEMANTICS";
  3091. }(t4.Kh || (t4.Kh = {}));
  3092. var s4 = function() {
  3093. function i5(t5, s5) {
  3094. if (this.Xs = this.Be = null, this.Qq = this.Ba = 0, this.wh = this.cg = null, this.yl = 0, s5 !== void 0) {
  3095. for (this.Ba = s5.Ba, this.Qq = s5.Qq, this.cg = s5.cg.slice(0), this.wh = s5.wh.slice(0), this.yl = s5.yl, this.Xs = [], t5 = s5 = 0; t5 < this.Ba; t5++)
  3096. this.Xs[t5] = s5, s5 += i5.Wa(this.cg[t5]);
  3097. for (this.Qq = s5, this.Be = [], t5 = 0; t5 < this.Ba; t5++) {
  3098. s5 = i5.Wa(this.qd(t5));
  3099. for (var n4 = i5.te(this.qd(t5)), h2 = 0; h2 < s5; h2++)
  3100. this.Be[this.Xs[t5] + h2] = n4;
  3101. }
  3102. } else
  3103. this.Qq = this.Ba = 0;
  3104. }
  3105. return i5.prototype.qd = function(i6) {
  3106. if (0 > i6 || i6 > this.Ba)
  3107. throw t4.i.O();
  3108. return this.cg[i6];
  3109. }, i5.prototype.Qf = function(t5) {
  3110. return this.wh[t5];
  3111. }, i5.gz = function(t5) {
  3112. return i5.DM[t5];
  3113. }, i5.Vp = function(t5) {
  3114. return i5.MM[t5];
  3115. }, i5.Wa = function(t5) {
  3116. return i5.lM[t5];
  3117. }, i5.prototype.hasAttribute = function(t5) {
  3118. return 0 <= this.wh[t5];
  3119. }, i5.prototype.cG = function() {
  3120. return this.hasAttribute(1);
  3121. }, i5.te = function(t5) {
  3122. return i5.ZC[t5];
  3123. }, i5.prototype.ER = function(t5) {
  3124. return this.Xs[t5];
  3125. }, i5.xG = function(t5, s5) {
  3126. return i5.ZC[t5] === s5;
  3127. }, i5.prototype.Nb = function(t5) {
  3128. return this === t5;
  3129. }, i5.prototype.Bn = function() {
  3130. for (var i6 = t4.P.Vh(this.cg[0]), s5 = 1; s5 < this.Ba; s5++)
  3131. i6 = t4.P.Vh(this.cg[s5], i6);
  3132. return i6;
  3133. }, i5.prototype.ak = function(t5) {
  3134. return this.Xs[t5];
  3135. }, i5.prototype.dc = function() {
  3136. return this.yl;
  3137. }, i5.prototype.Fd = function(t5) {
  3138. return this.cg[t5];
  3139. }, i5.ZC = [0, 0, NaN, 0, 0, 0, 0, 0, 0], i5.DM = [1, 1, 1, 0, 2, 1, 1, 1, 0], i5.MM = [1, 1, 1, 2, 0, 0, 0, 0, 2], i5.lM = [2, 1, 1, 1, 3, 1, 2, 3, 2], i5;
  3140. }();
  3141. t4.ua = s4;
  3142. }(V || (V = {})), function(t4) {
  3143. function i4(t5, i5, n5) {
  3144. var r3 = i5 - (t5 = new o2(t5)).e, e3 = t5.c;
  3145. for (e3.length > ++i5 && s4(t5, r3, o2.gu), e3[0] ? n5 ? r3 = i5 : (e3 = t5.c, r3 = t5.e + r3 + 1) : ++r3; e3.length < r3; e3.push(0))
  3146. ;
  3147. return r3 = t5.e, n5 === 1 || n5 && (i5 <= r3 || r3 <= h2) ? (0 > t5.Cd && e3[0] ? "-" : "") + (1 < e3.length ? e3[0] + "." + e3.join("").slice(1) : e3[0]) + (0 > r3 ? "e" : "e+") + r3 : t5.toString();
  3148. }
  3149. function s4(t5, i5, s5, h3) {
  3150. var r3 = t5.c, e3 = t5.e + i5 + 1;
  3151. if (s5 === 1 ? h3 = 5 <= r3[e3] : s5 === 2 ? h3 = 5 < r3[e3] || r3[e3] == 5 && (h3 || 0 > e3 || r3[e3 + 1] !== void 0 || 1 & r3[e3 - 1]) : s5 === 3 ? h3 = h3 || r3[e3] !== void 0 || 0 > e3 : (h3 = false, s5 !== 0 && n4("!Big.RM!")), 1 > e3 || !r3[0])
  3152. h3 ? (t5.e = -i5, t5.c = [1]) : t5.c = [t5.e = 0];
  3153. else {
  3154. if (r3.length = e3--, h3)
  3155. for (; 9 < ++r3[e3]; )
  3156. r3[e3] = 0, e3-- || (++t5.e, r3.unshift(1));
  3157. for (e3 = r3.length; !r3[--e3]; r3.pop())
  3158. ;
  3159. }
  3160. return t5;
  3161. }
  3162. function n4(t5) {
  3163. throw (t5 = Error(t5)).name = "BigError", t5;
  3164. }
  3165. var h2 = -7, r2 = 21, e2 = /^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i, o2 = function() {
  3166. function t5(i5) {
  3167. if (i5 instanceof t5)
  3168. this.Cd = i5.Cd, this.e = i5.e, this.c = i5.c.slice();
  3169. else {
  3170. var s5, h3, r3;
  3171. for (i5 === 0 && 0 > 1 / i5 ? i5 = "-0" : e2.test(i5 += "") || n4(NaN), this.Cd = i5.charAt(0) == "-" ? (i5 = i5.slice(1), -1) : 1, -1 < (s5 = i5.indexOf(".")) && (i5 = i5.replace(".", "")), 0 < (h3 = i5.search(/e/i)) ? (0 > s5 && (s5 = h3), s5 += +i5.slice(h3 + 1), i5 = i5.substring(0, h3)) : 0 > s5 && (s5 = i5.length), h3 = 0; i5.charAt(h3) == "0"; h3++)
  3172. ;
  3173. if (h3 == (r3 = i5.length))
  3174. this.c = [this.e = 0];
  3175. else {
  3176. for (; i5.charAt(--r3) == "0"; )
  3177. ;
  3178. for (this.e = s5 - h3 - 1, this.c = [], s5 = 0; h3 <= r3; this.c[s5++] = +i5.charAt(h3++))
  3179. ;
  3180. }
  3181. }
  3182. }
  3183. return t5.prototype.abs = function() {
  3184. var i5 = new t5(this);
  3185. return i5.Cd = 1, i5;
  3186. }, t5.prototype.cmp = function(i5) {
  3187. var s5 = this.c, n5 = (i5 = new t5(i5)).c, h3 = this.Cd, r3 = i5.Cd, e3 = this.e, o3 = i5.e;
  3188. if (!s5[0] || !n5[0])
  3189. return s5[0] ? h3 : n5[0] ? -r3 : 0;
  3190. if (h3 != r3)
  3191. return h3;
  3192. if (i5 = 0 > h3, e3 != o3)
  3193. return e3 > (o3 ^ i5) ? 1 : -1;
  3194. for (h3 = -1, r3 = (e3 = s5.length) < (o3 = n5.length) ? e3 : o3; ++h3 < r3; )
  3195. if (s5[h3] != n5[h3])
  3196. return s5[h3] > (n5[h3] ^ i5) ? 1 : -1;
  3197. return e3 == o3 ? 0 : e3 > (o3 ^ i5) ? 1 : -1;
  3198. }, t5.prototype.lm = function(i5) {
  3199. var h3 = this.c, r3 = (i5 = new t5(i5)).c, e3 = this.Cd == i5.Cd ? 1 : -1, o3 = t5.tr;
  3200. if ((o3 !== ~~o3 || 0 > o3 || 1e6 < o3) && n4("!Big.DP!"), !h3[0] || !r3[0])
  3201. return h3[0] == r3[0] && n4(NaN), r3[0] || n4(e3 / 0), new t5(0 * e3);
  3202. var a2, u2, f2 = r3.slice(), c2 = a2 = r3.length, l2 = h3.length, p2 = h3.slice(0, a2), v2 = p2.length, y2 = i5, b2 = y2.c = [], d2 = 0, g2 = o3 + (y2.e = this.e - i5.e) + 1;
  3203. for (y2.Cd = e3, e3 = 0 > g2 ? 0 : g2, f2.unshift(0); v2++ < a2; p2.push(0))
  3204. ;
  3205. do {
  3206. for (u2 = 0; 10 > u2; u2++) {
  3207. if (a2 != (v2 = p2.length))
  3208. var w2 = a2 > v2 ? 1 : -1;
  3209. else {
  3210. var x2 = -1;
  3211. for (w2 = 0; ++x2 < a2; )
  3212. if (r3[x2] != p2[x2]) {
  3213. w2 = r3[x2] > p2[x2] ? 1 : -1;
  3214. break;
  3215. }
  3216. }
  3217. if (!(0 > w2))
  3218. break;
  3219. for (i5 = v2 == a2 ? r3 : f2; v2; ) {
  3220. if (p2[--v2] < i5[v2]) {
  3221. for (x2 = v2; x2 && !p2[--x2]; p2[x2] = 9)
  3222. ;
  3223. --p2[x2], p2[v2] += 10;
  3224. }
  3225. p2[v2] -= i5[v2];
  3226. }
  3227. for (; !p2[0]; p2.shift())
  3228. ;
  3229. }
  3230. b2[d2++] = w2 ? u2 : ++u2, p2[0] && w2 ? p2[v2] = h3[c2] || 0 : p2 = [h3[c2]];
  3231. } while ((c2++ < l2 || p2[0] !== void 0) && e3--);
  3232. return b2[0] || d2 == 1 || (b2.shift(), y2.e--), d2 > g2 && s4(y2, o3, t5.gu, p2[0] !== void 0), y2;
  3233. }, t5.prototype.ZR = function() {
  3234. return 0 < this.cmp(0);
  3235. }, t5.prototype.fT = function() {
  3236. return 0 > this.cmp(0);
  3237. }, t5.prototype.kt = function(i5) {
  3238. var s5, n5 = this.Cd, h3 = (i5 = new t5(i5)).Cd;
  3239. if (n5 != h3)
  3240. return i5.Cd = -h3, this.nI(i5);
  3241. var r3 = this.c.slice(), e3 = this.e, o3 = i5.c, a2 = i5.e;
  3242. if (!r3[0] || !o3[0])
  3243. return o3[0] ? (i5.Cd = -h3, i5) : new t5(r3[0] ? this : 0);
  3244. if (n5 = e3 - a2) {
  3245. for ((s5 = 0 > n5) ? (n5 = -n5, e3 = r3) : (a2 = e3, e3 = o3), e3.reverse(), h3 = n5; h3--; e3.push(0))
  3246. ;
  3247. e3.reverse();
  3248. } else
  3249. for (e3 = ((s5 = r3.length < o3.length) ? r3 : o3).length, n5 = h3 = 0; h3 < e3; h3++)
  3250. if (r3[h3] != o3[h3]) {
  3251. s5 = r3[h3] < o3[h3];
  3252. break;
  3253. }
  3254. if (s5 && (e3 = r3, r3 = o3, o3 = e3, i5.Cd = -i5.Cd), 0 < (h3 = (e3 = o3.length) - (s5 = r3.length)))
  3255. for (; h3--; r3[s5++] = 0)
  3256. ;
  3257. for (h3 = s5; e3 > n5; ) {
  3258. if (r3[--e3] < o3[e3]) {
  3259. for (s5 = e3; s5 && !r3[--s5]; r3[s5] = 9)
  3260. ;
  3261. --r3[s5], r3[e3] += 10;
  3262. }
  3263. r3[e3] -= o3[e3];
  3264. }
  3265. for (; r3[--h3] == 0; r3.pop())
  3266. ;
  3267. for (; r3[0] == 0; )
  3268. r3.shift(), --a2;
  3269. return r3[0] || (i5.Cd = 1, r3 = [a2 = 0]), i5.c = r3, i5.e = a2, i5;
  3270. }, t5.prototype.nI = function(i5) {
  3271. var s5 = this.Cd, n5 = (i5 = new t5(i5)).Cd;
  3272. if (s5 != n5)
  3273. return i5.Cd = -n5, this.kt(i5);
  3274. n5 = this.e;
  3275. var h3 = this.c, r3 = i5.e, e3 = i5.c;
  3276. if (!h3[0] || !e3[0])
  3277. return e3[0] ? i5 : new t5(h3[0] ? this : 0 * s5);
  3278. if (h3 = h3.slice(), s5 = n5 - r3) {
  3279. for (0 < s5 ? (r3 = n5, n5 = e3) : (s5 = -s5, n5 = h3), n5.reverse(); s5--; n5.push(0))
  3280. ;
  3281. n5.reverse();
  3282. }
  3283. for (0 > h3.length - e3.length && (n5 = e3, e3 = h3, h3 = n5), s5 = e3.length, n5 = 0; s5; )
  3284. n5 = (h3[--s5] = h3[s5] + e3[s5] + n5) / 10 | 0, h3[s5] %= 10;
  3285. for (n5 && (h3.unshift(n5), ++r3), s5 = h3.length; h3[--s5] == 0; h3.pop())
  3286. ;
  3287. return i5.c = h3, i5.e = r3, i5;
  3288. }, t5.prototype.pow = function(i5) {
  3289. var s5 = this, h3 = new t5(1), r3 = h3, e3 = 0 > i5;
  3290. for ((i5 !== ~~i5 || -1e6 > i5 || 1e6 < i5) && n4("!pow!"), i5 = e3 ? -i5 : i5; 1 & i5 && (r3 = r3.nr(s5)), i5 >>= 1; )
  3291. s5 = s5.nr(s5);
  3292. return e3 ? h3.lm(r3) : r3;
  3293. }, t5.prototype.round = function(i5, h3) {
  3294. var r3 = this;
  3295. return i5 == null ? i5 = 0 : (i5 !== ~~i5 || 0 > i5 || 1e6 < i5) && n4("!round!"), s4(r3 = new t5(r3), i5, h3 == null ? t5.gu : h3), r3;
  3296. }, t5.prototype.sqrt = function() {
  3297. var i5 = this.c, h3 = this.Cd, r3 = this.e, e3 = new t5("0.5");
  3298. if (!i5[0])
  3299. return new t5(this);
  3300. 0 > h3 && n4(NaN), (h3 = Math.sqrt(this.toString())) == 0 || h3 == 1 / 0 ? ((h3 = i5.join("")).length + r3 & 1 || (h3 += "0"), (i5 = new t5(Math.sqrt(h3).toString())).e = ((r3 + 1) / 2 | 0) - (0 > r3 || 1 & r3)) : i5 = new t5(h3.toString()), h3 = i5.e + (t5.tr += 4);
  3301. do {
  3302. r3 = i5, i5 = e3.nr(r3.nI(this.lm(r3)));
  3303. } while (r3.c.slice(0, h3).join("") !== i5.c.slice(0, h3).join(""));
  3304. return s4(i5, t5.tr -= 4, t5.gu), i5;
  3305. }, t5.prototype.nr = function(i5) {
  3306. var s5 = this.c, n5 = (i5 = new t5(i5)).c, h3 = s5.length, r3 = n5.length, e3 = this.e, o3 = i5.e;
  3307. if (i5.Cd = this.Cd == i5.Cd ? 1 : -1, !s5[0] || !n5[0])
  3308. return new t5(0 * i5.Cd);
  3309. if (i5.e = e3 + o3, h3 < r3) {
  3310. var a2 = s5;
  3311. s5 = n5, n5 = a2, o3 = h3, h3 = r3, r3 = o3;
  3312. }
  3313. for (a2 = Array(o3 = h3 + r3); o3--; a2[o3] = 0)
  3314. ;
  3315. for (e3 = r3; e3--; ) {
  3316. for (r3 = 0, o3 = h3 + e3; o3 > e3; )
  3317. r3 = a2[o3] + n5[e3] * s5[o3 - e3 - 1] + r3, a2[o3--] = r3 % 10, r3 = r3 / 10 | 0;
  3318. a2[o3] = (a2[o3] + r3) % 10;
  3319. }
  3320. for (r3 && ++i5.e, a2[0] || a2.shift(), e3 = a2.length; !a2[--e3]; a2.pop())
  3321. ;
  3322. return i5.c = a2, i5;
  3323. }, t5.prototype.toString = function() {
  3324. var t6 = this.e, i5 = this.c.join(""), s5 = i5.length;
  3325. if (t6 <= h2 || t6 >= r2)
  3326. i5 = i5.charAt(0) + (1 < s5 ? "." + i5.slice(1) : "") + (0 > t6 ? "e" : "e+") + t6;
  3327. else if (0 > t6) {
  3328. for (; ++t6; i5 = "0" + i5)
  3329. ;
  3330. i5 = "0." + i5;
  3331. } else if (0 < t6)
  3332. if (++t6 > s5)
  3333. for (t6 -= s5; t6--; i5 += "0")
  3334. ;
  3335. else
  3336. t6 < s5 && (i5 = i5.slice(0, t6) + "." + i5.slice(t6));
  3337. else
  3338. 1 < s5 && (i5 = i5.charAt(0) + "." + i5.slice(1));
  3339. return 0 > this.Cd && this.c[0] ? "-" + i5 : i5;
  3340. }, t5.prototype.toExponential = function(t6) {
  3341. return t6 == null ? t6 = this.c.length - 1 : (t6 !== ~~t6 || 0 > t6 || 1e6 < t6) && n4("!toExp!"), i4(this, t6, 1);
  3342. }, t5.prototype.toFixed = function(t6) {
  3343. var s5 = h2, e3 = r2;
  3344. if (h2 = -(r2 = 1 / 0), t6 == null)
  3345. var o3 = this.toString();
  3346. else
  3347. t6 === ~~t6 && 0 <= t6 && 1e6 >= t6 && (o3 = i4(this, this.e + t6), 0 > this.Cd && this.c[0] && 0 > o3.indexOf("-") && (o3 = "-" + o3));
  3348. return h2 = s5, r2 = e3, o3 || n4("!toFix!"), o3;
  3349. }, t5.prototype.toPrecision = function(t6) {
  3350. return t6 == null ? this.toString() : ((t6 !== ~~t6 || 1 > t6 || 1e6 < t6) && n4("!toPre!"), i4(this, t6 - 1, 2));
  3351. }, t5.tr = 20, t5.gu = 1, t5;
  3352. }();
  3353. t4.ip = o2;
  3354. }(V || (V = {})), function(t4) {
  3355. var i4 = function() {
  3356. function i5(t5) {
  3357. this.lf = t5;
  3358. }
  3359. return i5.prototype.qr = function(i6, s4, n4) {
  3360. var h2 = new t4.h(), r2 = new t4.h(), e2 = this.lf;
  3361. n4.Wd(i6, s4, function(t5, i7) {
  3362. return e2.uc(2 * t5, h2), e2.uc(2 * i7, r2), h2.compare(r2);
  3363. });
  3364. }, i5.prototype.bq = function(t5) {
  3365. return this.lf.read(2 * t5 + 1);
  3366. }, i5;
  3367. }();
  3368. t4.si = function() {
  3369. function s4() {
  3370. }
  3371. return s4.cq = function(i5) {
  3372. if (i5.B())
  3373. return false;
  3374. var n4 = i5.K();
  3375. return n4 == 1736 ? i5.He() != 0 : n4 == 1607 ? (n4 = [false], s4.mE(i5, true, n4), n4[0]) : !(n4 != 197 && (!t4.ba.zd(n4) || i5.vG()));
  3376. }, s4.im = function(i5) {
  3377. var n4 = i5.K();
  3378. if (n4 == 1736)
  3379. return n4 = new t4.Ua(i5.description), i5.B() || i5.YC(n4), n4;
  3380. if (n4 == 1607)
  3381. return s4.mE(i5, false, null);
  3382. if (n4 == 197)
  3383. return n4 = new t4.Ua(i5.description), i5.B() || n4.bd(i5, false), n4;
  3384. if (t4.ba.zd(n4)) {
  3385. if (n4 = new t4.de(i5.description), !i5.B() && !i5.vG()) {
  3386. var h2 = new t4.Ta();
  3387. i5.Uo(h2), n4.add(h2), i5.Qo(h2), n4.add(h2);
  3388. }
  3389. return n4;
  3390. }
  3391. if (t4.ba.Sn(n4))
  3392. return null;
  3393. throw t4.i.O();
  3394. }, s4.mE = function(s5, n4, h2) {
  3395. h2 != null && (h2[0] = false);
  3396. var r2 = null;
  3397. if (n4 || (r2 = new t4.de(s5.description)), !s5.B()) {
  3398. var e2 = new t4.ja(0);
  3399. e2.Jb(2 * s5.ea());
  3400. for (var o2 = 0, a2 = s5.ea(); o2 < a2; o2++)
  3401. if (0 < s5.Ka(o2) && !s5.On(o2)) {
  3402. var u2 = s5.Ca(o2);
  3403. e2.add(u2), u2 = s5.Wc(o2) - 1, e2.add(u2);
  3404. }
  3405. if (0 < e2.size) {
  3406. a2 = new t4.Zt(), o2 = s5.vb(0), a2.sort(e2, 0, e2.size, new i4(o2)), a2 = new t4.h(), o2.uc(2 * e2.get(0), a2), u2 = 0;
  3407. for (var f2 = 1, c2 = new t4.Ta(), l2 = new t4.h(), p2 = 1, v2 = e2.size; p2 < v2; p2++)
  3408. if (o2.uc(2 * e2.get(p2), l2), l2.rb(a2))
  3409. e2.get(u2) > e2.get(p2) ? (e2.set(u2, 2147483647), u2 = p2) : e2.set(p2, 2147483647), f2++;
  3410. else {
  3411. if ((1 & f2) == 0)
  3412. e2.set(u2, 2147483647);
  3413. else if (n4)
  3414. return h2 != null && (h2[0] = true), null;
  3415. a2.N(l2), u2 = p2, f2 = 1;
  3416. }
  3417. if ((1 & f2) == 0)
  3418. e2.set(u2, 2147483647);
  3419. else if (n4)
  3420. return h2 != null && (h2[0] = true), null;
  3421. if (!n4)
  3422. for (e2.Wd(0, e2.size, function(t5, i5) {
  3423. return t5 - i5;
  3424. }), p2 = 0, v2 = e2.size; p2 < v2 && e2.get(p2) != 2147483647; p2++)
  3425. s5.we(e2.get(p2), c2), r2.add(c2);
  3426. }
  3427. }
  3428. return n4 ? null : r2;
  3429. }, s4;
  3430. }();
  3431. }(V || (V = {})), function(t4) {
  3432. var i4 = function() {
  3433. function i5() {
  3434. this.zf = new t4.ja(0), this.As = new t4.ja(0), this.yH = 1, this.Gs = NaN;
  3435. }
  3436. return i5.prototype.sort = function(t5, i6, s4, n4) {
  3437. if (32 > s4 - i6)
  3438. n4.qr(i6, s4, t5);
  3439. else {
  3440. var h2 = true;
  3441. try {
  3442. for (var r2 = 1 / 0, e2 = -1 / 0, o2 = i6; o2 < s4; o2++) {
  3443. var a2 = n4.bq(t5.get(o2));
  3444. a2 < r2 && (r2 = a2), a2 > e2 && (e2 = a2);
  3445. }
  3446. if (this.reset(s4 - i6, r2, e2, s4 - i6)) {
  3447. for (o2 = i6; o2 < s4; o2++) {
  3448. var u2 = t5.get(o2);
  3449. a2 = n4.bq(u2);
  3450. var f2 = this.tF(a2);
  3451. this.zf.set(f2, this.zf.get(f2) + 1), this.As.write(o2 - i6, u2);
  3452. }
  3453. var c2 = this.zf.get(0);
  3454. this.zf.set(0, 0), o2 = 1;
  3455. for (var l2 = this.zf.size; o2 < l2; o2++) {
  3456. var p2 = this.zf.get(o2);
  3457. this.zf.set(o2, c2), c2 += p2;
  3458. }
  3459. for (o2 = i6; o2 < s4; o2++) {
  3460. u2 = this.As.read(o2 - i6), a2 = n4.bq(u2), f2 = this.tF(a2);
  3461. var v2 = this.zf.get(f2);
  3462. t5.set(v2 + i6, u2), this.zf.set(f2, v2 + 1);
  3463. }
  3464. h2 = false;
  3465. }
  3466. } catch (y2) {
  3467. this.zf.resize(0), this.As.resize(0);
  3468. }
  3469. if (h2)
  3470. n4.qr(i6, s4, t5);
  3471. else {
  3472. for (o2 = s4 = 0, l2 = this.zf.size; o2 < l2; o2++)
  3473. h2 = s4, (s4 = this.zf.get(o2)) > h2 && n4.qr(i6 + h2, i6 + s4, t5);
  3474. 100 < this.zf.size && (this.zf.resize(0), this.As.resize(0));
  3475. }
  3476. }
  3477. }, i5.prototype.reset = function(t5, s4, n4, h2) {
  3478. return !(2 > t5 || n4 == s4) && (t5 = Math.min(i5.bL, t5), this.zf.Jb(t5), this.zf.resize(t5), this.zf.Yj(0, 0, this.zf.size), this.yH = s4, this.As.resize(h2), this.Gs = (n4 - s4) / (t5 - 1), true);
  3479. }, i5.prototype.tF = function(i6) {
  3480. return t4.P.truncate((i6 - this.yH) / this.Gs);
  3481. }, i5.bL = 65536, i5;
  3482. }();
  3483. t4.Zt = i4;
  3484. }(V || (V = {})), function(t4) {
  3485. var i4, s4;
  3486. (s4 = i4 || (i4 = {}))[s4.enum_line = 1] = "enum_line", s4[s4.enum_arc = 2] = "enum_arc", s4[s4.enum_dummy = 4] = "enum_dummy", s4[s4.enum_concave_dip = 8] = "enum_concave_dip", s4[s4.enum_connection = 3] = "enum_connection";
  3487. var n4 = function() {
  3488. function i5() {
  3489. }
  3490. return i5.Su = function(s5, n5, h3, r3, e3, o3) {
  3491. var a2 = new i5();
  3492. return a2.Km = new t4.h(), a2.Xm = new t4.h(), a2.cw = new t4.h(), a2.Km.N(s5), a2.Xm.N(n5), a2.cw.N(h3), a2.Do = r3, a2.sh = e3, a2.uh = o3, a2;
  3493. }, i5.construct = function(s5, n5, h3, r3) {
  3494. var e3 = new i5();
  3495. return e3.Km = new t4.h(), e3.Xm = new t4.h(), e3.cw = new t4.h(), e3.Km.N(s5), e3.Xm.N(n5), e3.cw.Sc(), e3.Do = 4, e3.sh = h3, e3.uh = r3, e3;
  3496. }, i5;
  3497. }(), h2 = function() {
  3498. function i5(t5, i6, s5, n5, h3, r3) {
  3499. this.$v = null, this.za = 0, this.yA = t5, this.WH = this.UH = 0, this.La = i6, this.Oj = s5, this.wk = n5, this.Fq = h3, this.Vb = r3;
  3500. }
  3501. return i5.prototype.next = function() {
  3502. for (var i6 = new t4.Ta(); ; ) {
  3503. if (this.za == this.yA.I())
  3504. return null;
  3505. if (this.yA.we(this.za, i6), this.za++, !i6.B())
  3506. break;
  3507. }
  3508. var s5 = false;
  3509. if (this.$v == null && (this.UH = i6.Ng(), this.WH = i6.kh(), this.$v = o2.buffer(i6, this.La, this.Oj, this.wk, this.Fq, this.Vb), s5 = true), this.za < this.yA.I()) {
  3510. var n5 = new t4.Ea();
  3511. this.$v.copyTo(n5);
  3512. } else
  3513. n5 = this.$v;
  3514. if (!s5) {
  3515. s5 = new t4.Ed();
  3516. var h3 = i6.Ng() - this.UH;
  3517. i6 = i6.kh() - this.WH, s5.gg(h3, i6), n5.Pc(s5);
  3518. }
  3519. return n5;
  3520. }, i5.prototype.Ma = function() {
  3521. return 0;
  3522. }, i5.prototype.qe = function() {
  3523. }, i5;
  3524. }(), r2 = function() {
  3525. function i5(t5, i6) {
  3526. this.Xa = t5, this.za = 0, this.qq = i6;
  3527. }
  3528. return i5.prototype.next = function() {
  3529. var i6 = this.Xa.Y;
  3530. if (this.za < i6.ea()) {
  3531. var s5 = this.za;
  3532. if (this.za++, !i6.On(s5))
  3533. for (var n5 = i6.Oa(i6.Wc(s5) - 1); this.za < i6.ea(); ) {
  3534. var h3 = i6.Oa(i6.Ca(this.za));
  3535. if (i6.On(this.za))
  3536. break;
  3537. if (h3 != n5)
  3538. break;
  3539. n5 = i6.Oa(i6.Wc(this.za) - 1), this.za++;
  3540. }
  3541. if (this.za - s5 == 1)
  3542. return this.Xa.eE(this.Xa.Y, s5, this.qq);
  3543. for ((n5 = new t4.Ua(this.Xa.Y.description)).addPath(this.Xa.Y, s5, true), s5 += 1; s5 < this.za; s5++)
  3544. n5.Fr(this.Xa.Y, s5, 0, i6.tv(s5), false);
  3545. return this.Xa.eE(n5, 0, this.qq);
  3546. }
  3547. return null;
  3548. }, i5.prototype.Ma = function() {
  3549. return 0;
  3550. }, i5.prototype.qe = function() {
  3551. }, i5;
  3552. }(), e2 = function() {
  3553. function t5(t6) {
  3554. this.Xa = t6, this.za = 0;
  3555. }
  3556. return t5.prototype.next = function() {
  3557. var t6 = this.Xa.Y;
  3558. if (this.za < t6.ea()) {
  3559. var i5 = this.za;
  3560. for (t6.Kr(this.za), this.za++; this.za < t6.ea() && !(0 < t6.Kr(this.za)); )
  3561. this.za++;
  3562. return i5 == 0 && this.za == t6.ea() ? this.Xa.ly(t6, 0, t6.ea()) : this.Xa.ly(t6, i5, this.za);
  3563. }
  3564. return null;
  3565. }, t5.prototype.Ma = function() {
  3566. return 0;
  3567. }, t5.prototype.qe = function() {
  3568. }, t5;
  3569. }(), o2 = function() {
  3570. function i5(t5) {
  3571. this.Ms = this.nw = this.Ns = this.Jd = null, this.$d = [], this.Vb = t5, this.sb = this.Mv = this.BT = this.La = this.nA = this.dt = this.ra = 0, this.iA = this.wk = -1, this.qq = true;
  3572. }
  3573. return i5.buffer = function(s5, n5, h3, r3, e3, o3) {
  3574. if (s5 == null)
  3575. throw t4.i.O();
  3576. if (0 > r3)
  3577. throw t4.i.O();
  3578. if (s5.B())
  3579. return new t4.Ea(s5.description);
  3580. var a2 = new t4.l();
  3581. return s5.yc(a2), 0 < n5 && a2.X(n5, n5), (o3 = new i5(o3)).Oj = h3, o3.Y = s5, o3.ra = t4.ta.Xd(h3, a2, true), o3.dt = t4.ta.Xd(null, a2, true), o3.La = n5, o3.BT = s5.K(), 0 >= e3 && (e3 = 96), o3.sb = Math.abs(o3.La), o3.Mv = o3.sb != 0 ? 1 / o3.sb : 0, isNaN(r3) || r3 == 0 ? r3 = 1e-5 * o3.sb : r3 > 0.5 * o3.sb && (r3 = 0.5 * o3.sb), 12 > e3 && (e3 = 12), (s5 = Math.abs(n5) * (1 - Math.cos(Math.PI / e3))) > r3 ? r3 = s5 : (s5 = Math.PI / Math.acos(1 - r3 / Math.abs(n5))) < e3 - 1 && (12 > (e3 = t4.P.truncate(s5)) && (e3 = 12, r3 = Math.abs(n5) * (1 - Math.cos(Math.PI / e3)))), o3.wk = r3, o3.Fq = e3, o3.nA = Math.min(o3.dt, 0.25 * r3), o3.fE();
  3582. }, i5.prototype.ev = function() {
  3583. if (this.Jd == null)
  3584. this.Jd = [];
  3585. else if (this.Jd.length !== 0)
  3586. return;
  3587. var i6 = this.kE();
  3588. i6 = t4.P.truncate((i6 + 3) / 4);
  3589. var s5 = 0.5 * Math.PI / i6;
  3590. this.iA = s5;
  3591. for (var n5 = 0; n5 < 4 * i6; n5++)
  3592. this.Jd.push(null);
  3593. var h3 = Math.cos(s5);
  3594. s5 = Math.sin(s5);
  3595. var r3 = t4.h.construct(0, 1);
  3596. for (n5 = 0; n5 < i6; n5++)
  3597. this.Jd[n5 + 0 * i6] = t4.h.construct(r3.y, -r3.x), this.Jd[n5 + 1 * i6] = t4.h.construct(-r3.x, -r3.y), this.Jd[n5 + 2 * i6] = t4.h.construct(-r3.y, r3.x), this.Jd[n5 + 3 * i6] = r3, (r3 = t4.h.construct(r3.x, r3.y)).Ct(h3, s5);
  3598. }, i5.prototype.fE = function() {
  3599. var i6 = this.Y.K();
  3600. if (t4.ba.zd(i6))
  3601. return (i6 = new t4.Ua(this.Y.description)).oc(this.Y, true), this.Y = i6, this.fE();
  3602. if (this.La <= this.ra) {
  3603. if (!t4.ba.MS(i6))
  3604. return new t4.Ea(this.Y.description);
  3605. if (0 >= this.La && (i6 = new t4.l(), this.Y.A(i6), i6.S() <= 2 * -this.La || i6.da() <= 2 * this.La))
  3606. return new t4.Ea(this.Y.description);
  3607. }
  3608. switch (this.Y.K()) {
  3609. case 33:
  3610. return this.JN();
  3611. case 550:
  3612. return this.IN();
  3613. case 1607:
  3614. return this.LN();
  3615. case 1736:
  3616. return this.KN();
  3617. case 197:
  3618. return this.FN();
  3619. default:
  3620. throw t4.i.Ra();
  3621. }
  3622. }, i5.prototype.LN = function() {
  3623. if (this.yG(this.Y)) {
  3624. var i6 = new t4.Ta();
  3625. this.Y.we(0, i6);
  3626. var s5 = new t4.l();
  3627. return this.Y.A(s5), i6.Db(s5.tf()), this.Iu(i6);
  3628. }
  3629. return this.Y = this.OV(this.Y), i6 = new r2(this, this.qq), t4.Ih.local().W(i6, this.Oj, this.Vb).next();
  3630. }, i5.prototype.KN = function() {
  3631. if (this.La == 0)
  3632. return this.Y;
  3633. var i6 = t4.$l.local();
  3634. if (this.ev(), this.Y = i6.W(this.Y, null, false, this.Vb), 0 > this.La) {
  3635. var s5 = this.Y;
  3636. return s5 = this.ly(s5, 0, s5.ea()), i6.W(s5, this.Oj, false, this.Vb);
  3637. }
  3638. return this.yG(this.Y) ? (i6 = new t4.Ta(), this.Y.we(0, i6), s5 = new t4.l(), this.Y.A(s5), i6.Db(s5.tf()), this.Iu(i6)) : (i6 = new e2(this), t4.Ih.local().W(i6, this.Oj, this.Vb).next());
  3639. }, i5.prototype.ly = function(s5, n5, h3) {
  3640. for (var r3 = new t4.Ea(s5.description); n5 < h3; n5++)
  3641. if (!(1 > s5.Ka(n5))) {
  3642. var e3 = s5.Kr(n5), o3 = new t4.l();
  3643. if (s5.Tj(n5, o3), 0 < this.La) {
  3644. if (0 < e3)
  3645. if (this.zG(s5, n5))
  3646. e3 = new t4.Ta(), s5.we(s5.Ca(n5), e3), e3.Db(o3.tf()), this.Au(r3, e3);
  3647. else {
  3648. var a2 = e3 = new t4.Ua(s5.description);
  3649. a2 = t4.au.DG(this.Y, n5) || this.An(this.Y, n5, a2, true, 1) == 2 ? this.dE(s5, n5) : this.zn(e3), r3.add(a2, false);
  3650. }
  3651. else if (!(o3.S() + this.ra <= 2 * this.sb || o3.da() + this.ra <= 2 * this.sb || (a2 = e3 = new t4.Ua(s5.description), this.An(this.Y, n5, a2, true, 1), e3.B()))) {
  3652. var u2 = new t4.l();
  3653. for (u2.L(o3), u2.X(this.sb, this.sb), a2.vp(u2), o3 = 1, e3 = (a2 = this.zn(e3)).ea(); o3 < e3; o3++)
  3654. r3.addPath(a2, o3, true);
  3655. }
  3656. } else if (0 < e3) {
  3657. if (!(o3.S() + this.ra <= 2 * this.sb || o3.da() + this.ra <= 2 * this.sb || (a2 = e3 = new t4.Ua(s5.description), this.An(this.Y, n5, a2, true, -1), e3.B())))
  3658. for (u2 = new t4.l(), a2.yc(u2), u2.X(this.sb, this.sb), a2.vp(u2), o3 = 1, e3 = (a2 = this.zn(e3)).ea(); o3 < e3; o3++)
  3659. r3.addPath(a2, o3, true);
  3660. } else
  3661. for (a2 = e3 = new t4.Ua(s5.description), this.An(this.Y, n5, a2, true, -1), o3 = 0, e3 = (a2 = this.zn(e3)).ea(); o3 < e3; o3++)
  3662. r3.addPath(a2, o3, true);
  3663. }
  3664. if (0 < this.La)
  3665. return 1 < r3.ea() ? r3 = this.zn(r3) : i5.kx(r3);
  3666. if (s5 = new t4.l(), r3.yc(s5), r3.B())
  3667. return i5.kx(r3);
  3668. for (s5.X(this.sb, this.sb), r3.vp(s5), r3 = this.zn(r3), s5 = new t4.Ea(r3.description), o3 = 1, e3 = r3.ea(); o3 < e3; o3++)
  3669. s5.addPath(r3, o3, false);
  3670. return i5.kx(s5);
  3671. }, i5.prototype.JN = function() {
  3672. return this.Iu(this.Y);
  3673. }, i5.prototype.Iu = function(i6) {
  3674. var s5 = new t4.Ea(this.Y.description);
  3675. return this.Au(s5, i6), this.kX(s5);
  3676. }, i5.prototype.IN = function() {
  3677. var i6 = new h2(this.Y, this.La, this.Oj, this.wk, this.Fq, this.Vb);
  3678. return t4.Ih.local().W(i6, this.Oj, this.Vb).next();
  3679. }, i5.prototype.FN = function() {
  3680. var i6 = new t4.Ea(this.Y.description);
  3681. if (0 >= this.La) {
  3682. if (this.La == 0)
  3683. i6.bd(this.Y, false);
  3684. else {
  3685. var s5 = new t4.Hh();
  3686. this.Y.dn(s5), s5.X(this.La, this.La), i6.bd(s5, false);
  3687. }
  3688. return i6;
  3689. }
  3690. return i6.bd(this.Y, false), this.Y = i6, this.dE(i6, 0);
  3691. }, i5.prototype.dE = function(s5, n5) {
  3692. this.ev();
  3693. var h3 = new t4.Ea(s5.description), r3 = new t4.h(), e3 = new t4.h(), o3 = new t4.h(), a2 = new t4.h(), u2 = new t4.h(), f2 = new t4.h(), c2 = new t4.h(), l2 = new t4.h(), p2 = s5.Ka(n5), v2 = s5.Ca(n5), y2 = 0;
  3694. for (n5 = s5.Ka(n5); y2 < n5; y2++) {
  3695. if (s5.D(v2 + y2, e3), s5.D(v2 + (y2 + 1) % p2, a2), s5.D(v2 + (y2 + 2) % p2, f2), c2.vc(a2, e3), c2.length() == 0)
  3696. throw t4.i.Ra();
  3697. if (c2.Jv(), c2.normalize(), c2.scale(this.sb), r3.add(c2, e3), o3.add(c2, a2), y2 == 0 ? h3.Nt(r3) : h3.Ei(r3), h3.Ei(o3), l2.vc(f2, a2), l2.length() == 0)
  3698. throw t4.i.Ra();
  3699. l2.Jv(), l2.normalize(), l2.scale(this.sb), u2.add(l2, a2), this.AD(h3, a2, o3, u2, false);
  3700. }
  3701. return i5.kx(h3);
  3702. }, i5.prototype.eE = function(i6, s5, n5) {
  3703. if (this.ev(), 1 > i6.Ka(s5))
  3704. return null;
  3705. if (this.zG(i6, s5) && 0 < this.La) {
  3706. n5 = new t4.Ta(), i6.we(i6.Ca(s5), n5);
  3707. var h3 = new t4.l();
  3708. return i6.Tj(s5, h3), n5.Db(h3.tf()), this.Iu(n5);
  3709. }
  3710. if (h3 = new t4.Ua(i6.description), i6.On(s5))
  3711. this.An(i6, s5, h3, n5, 1), this.An(i6, s5, h3, n5, -1);
  3712. else {
  3713. var r3 = new t4.Ua(i6.description);
  3714. r3.addPath(i6, s5, false), r3.Fr(i6, s5, 0, i6.tv(s5), false), this.An(r3, 0, h3, n5, 1);
  3715. }
  3716. return this.zn(h3);
  3717. }, i5.prototype.Zq = function() {
  3718. if (this.$s++, this.$s % 1024 == 0 && this.Vb != null && !this.Vb.progress(-1, -1))
  3719. throw t4.i.hu("user_canceled");
  3720. }, i5.prototype.zn = function(i6) {
  3721. return t4.Hg.Nk(i6, this.dt, true, true, this.Vb);
  3722. }, i5.prototype.kE = function() {
  3723. if (this.wk == 0)
  3724. return this.Fq;
  3725. var i6 = 1 - this.wk * Math.abs(this.Mv);
  3726. return 4 > (i6 = -1 > i6 ? 4 : 2 * Math.PI / Math.acos(i6) + 0.5) ? i6 = 4 : i6 > this.Fq && (i6 = this.Fq), t4.P.truncate(i6);
  3727. }, i5.prototype.AD = function(i6, s5, n5, h3, r3) {
  3728. this.ev();
  3729. var e3 = new t4.h();
  3730. e3.vc(n5, s5), e3.scale(this.Mv);
  3731. var o3 = new t4.h();
  3732. o3.vc(h3, s5), o3.scale(this.Mv), 0 > (e3 = Math.atan2(e3.y, e3.x) / this.iA) && (e3 = this.Jd.length + e3), e3 = this.Jd.length - e3, 0 > (o3 = Math.atan2(o3.y, o3.x) / this.iA) && (o3 = this.Jd.length + o3), (o3 = this.Jd.length - o3) < e3 && (o3 += this.Jd.length);
  3733. var a2 = t4.P.truncate(o3);
  3734. o3 = t4.P.truncate(Math.ceil(e3)), (e3 = new t4.h()).N(this.Jd[o3 % this.Jd.length]), e3.Dt(this.sb, s5);
  3735. var u2 = 10 * this.ra;
  3736. for (e3.sub(n5), e3.length() < u2 && (o3 += 1), e3.N(this.Jd[a2 % this.Jd.length]), e3.Dt(this.sb, s5), e3.sub(h3), e3.length() < u2 && --a2, n5 = a2 - o3, n5++, a2 = 0, o3 %= this.Jd.length; a2 < n5; a2++, o3 = (o3 + 1) % this.Jd.length)
  3737. e3.N(this.Jd[o3]), e3.Dt(this.sb, s5), i6.Ei(e3), this.Zq();
  3738. r3 && i6.Ei(h3);
  3739. }, i5.prototype.An = function(i6, s5, h3, r3, e3) {
  3740. var o3 = new t4.hd(), a2 = o3.gN(i6, s5);
  3741. if (o3.Ip(this.nA, false, false), 2 > o3.I(a2))
  3742. return 0 > e3 || (e3 = i6, o3 = new t4.Ta(), e3.we(e3.Ca(s5), o3), this.Au(h3, o3)), 1;
  3743. var u2 = o3.Oa(o3.Ya(o3.Ob(a2))), f2 = new t4.Ed();
  3744. if (f2.gg(-u2.x, -u2.y), o3.Pc(f2), r3 && (this.nQ(o3, a2, e3), 2 > o3.I(a2)))
  3745. return 0 > e3 || (e3 = i6, o3 = new t4.Ta(), e3.we(e3.Ca(s5), o3), this.Au(h3, o3)), 1;
  3746. this.$d.length = 0;
  3747. var c2 = o3.Ob(a2);
  3748. s5 = o3.Ya(c2);
  3749. var l2 = e3 == 1 ? o3.Na(s5) : o3.V(s5);
  3750. i6 = e3 == 1 ? o3.V(s5) : o3.Na(s5);
  3751. var p2 = true;
  3752. r3 = new t4.h(), a2 = new t4.h();
  3753. var v2 = new t4.h(), y2 = new t4.h(), b2 = new t4.h(), d2 = new t4.h(), g2 = new t4.h(), w2 = new t4.h(), x2 = new t4.h(), m2 = new t4.h(), j2 = this.sb;
  3754. c2 = o3.Ka(c2);
  3755. for (var k2 = 0; k2 < c2; k2++)
  3756. o3.D(i6, a2), p2 && (o3.D(s5, r3), o3.D(l2, v2), w2.vc(r3, v2), w2.normalize(), m2.GG(w2), m2.scale(j2), y2.add(m2, r3)), g2.vc(a2, r3), g2.normalize(), x2.GG(g2), x2.scale(j2), b2.add(r3, x2), l2 = w2.yi(g2), p2 = w2.Sh(g2), 0 > l2 || 0 > p2 && l2 == 0 ? this.$d.push(n4.Su(y2, b2, r3, 2, this.$d.length + 1, this.$d.length - 1)) : y2.rb(b2) || (this.$d.push(n4.construct(y2, r3, this.$d.length + 1, this.$d.length - 1, "dummy")), this.$d.push(n4.construct(r3, b2, this.$d.length + 1, this.$d.length - 1, "dummy"))), d2.add(a2, x2), this.$d.push(n4.Su(b2, d2, r3, 1, this.$d.length + 1, this.$d.length - 1)), y2.N(d2), m2.N(x2), v2.N(r3), r3.N(a2), w2.N(g2), l2 = s5, s5 = i6, p2 = false, i6 = e3 == 1 ? o3.V(s5) : o3.Na(s5);
  3757. return this.$d[this.$d.length - 1].sh = 0, this.$d[0].uh = this.$d.length - 1, this.QV(h3), f2.gg(u2.x, u2.y), h3.SD(f2, h3.ea() - 1), 1;
  3758. }, i5.prototype.QV = function(t5) {
  3759. for (var i6 = this.tO(), s5 = true, n5 = i6 + 1, h3 = i6; n5 != i6; h3 = n5) {
  3760. var r3 = this.$d[h3];
  3761. n5 = r3.sh != -1 ? r3.sh : (h3 + 1) % this.$d.length, r3.Do != 0 && (s5 && t5.Nt(r3.Km), r3.Do == 2 ? this.AD(t5, r3.cw, r3.Km, r3.Xm, true) : t5.Ei(r3.Xm), s5 = false);
  3762. }
  3763. }, i5.prototype.tO = function() {
  3764. this.Ms == null && (this.Ms = [null, null, null, null, null, null, null, null, null]);
  3765. for (var i6 = 0, s5 = 0, n5 = this.$d.length; s5 < n5; ) {
  3766. var h3 = this.$d[s5];
  3767. if ((3 & h3.Do) != 0) {
  3768. i6 = s5;
  3769. break;
  3770. }
  3771. s5 = h3.sh;
  3772. }
  3773. for (n5 = i6 + 1, s5 = i6; n5 != i6; s5 = n5) {
  3774. n5 = (h3 = this.$d[s5]).sh;
  3775. for (var r3 = 1, e3 = null; n5 != s5 && (3 & (e3 = this.$d[n5]).Do) == 0; )
  3776. n5 = e3.sh, r3++;
  3777. r3 != 1 && (h3.Do & e3.Do) == 1 && (this.Ns == null && (this.Ns = new t4.zb(), this.nw = new t4.zb()), this.Ns.Ec(h3.Km), this.Ns.Rc(h3.Xm), this.nw.Ec(e3.Km), this.nw.Rc(e3.Xm), this.Ns.Fa(this.nw, this.Ms, null, null, this.dt) == 1 && (h3.Xm.N(this.Ms[0]), e3.Km.N(this.Ms[0]), h3.sh = n5, e3.uh = s5));
  3778. }
  3779. return i6;
  3780. }, i5.prototype.Hv = function(i6, s5, n5) {
  3781. var h3 = new t4.h();
  3782. if (h3.vc(n5, i6), n5 = h3.length(), 0 < (n5 = this.sb * this.sb - n5 * n5 * 0.25)) {
  3783. n5 = Math.sqrt(n5), h3.normalize(), h3.cr();
  3784. var r3 = new t4.h();
  3785. if (r3.vc(s5, i6), r3.Sh(h3) + n5 >= this.sb)
  3786. return true;
  3787. }
  3788. return false;
  3789. }, i5.prototype.nQ = function(i6, s5, n5) {
  3790. for (var h3 = 0; 1 > h3; h3++) {
  3791. var r3 = false, e3 = i6.Ob(s5), o3 = i6.Ka(e3);
  3792. if (o3 == 0)
  3793. break;
  3794. var a2 = o3;
  3795. if (3 > o3)
  3796. break;
  3797. !i6.ec(e3) && (a2 = o3 - 1), e3 = i6.Ya(e3), o3 = 0 < n5 ? i6.Na(e3) : i6.V(e3);
  3798. for (var u2 = 0 < n5 ? i6.V(e3) : i6.Na(e3), f2 = o3, c2 = true, l2 = new t4.h(), p2 = new t4.h(), v2 = new t4.h(), y2 = new t4.h(), b2 = new t4.h(), d2 = t4.h.construct(0, 0), g2 = new t4.h(), w2 = new t4.h(), x2 = new t4.h(), m2 = new t4.h(), j2 = this.sb, k2 = 0, M2 = 0; M2 < a2 && (i6.D(u2, p2), c2 && (i6.D(e3, l2), i6.D(o3, v2), f2 = o3), w2.vc(l2, v2), w2.normalize(), g2.vc(p2, l2), g2.normalize(), f2 != u2); ) {
  3799. var z2 = w2.yi(g2), A2 = w2.Sh(g2), N2 = true;
  3800. if (0 > z2 || 0 > A2 && z2 == 0 || !this.Hv(v2, l2, p2) || (d2.N(p2), N2 = false, ++k2, r3 = true), N2) {
  3801. if (0 < k2)
  3802. for (; (z2 = 0 < n5 ? i6.Na(f2) : i6.V(f2)) != e3; ) {
  3803. if (i6.D(z2, y2), !this.Hv(y2, v2, d2)) {
  3804. z2 != u2 && this.Hv(y2, v2, p2) && this.Hv(y2, l2, p2) && (v2.N(y2), f2 = z2, N2 = false, ++k2);
  3805. break;
  3806. }
  3807. v2.N(y2), f2 = z2, N2 = false, ++k2;
  3808. }
  3809. if (!N2)
  3810. continue;
  3811. if (0 < k2) {
  3812. for (f2 = 0 < n5 ? i6.Na(o3) : i6.V(o3), c2 = 1; c2 < k2; c2++)
  3813. N2 = 0 < n5 ? i6.Na(f2) : i6.V(f2), i6.pd(f2, true), f2 = N2;
  3814. x2.vc(l2, v2), k2 = j2 * j2 - (k2 = x2.length()) * k2 * 0.25, j2 - (k2 = Math.sqrt(k2)) > 0.5 * this.wk ? (b2.add(v2, l2), b2.scale(0.5), x2.normalize(), x2.cr(), m2.N(x2), m2.scale(j2 - k2), b2.add(m2), i6.mf(o3, b2)) : i6.pd(o3, true), k2 = 0;
  3815. }
  3816. v2.N(l2), f2 = e3;
  3817. }
  3818. l2.N(p2), o3 = e3, e3 = u2, u2 = 0 < n5 ? i6.V(e3) : i6.Na(e3), M2++, c2 = false;
  3819. }
  3820. if (0 < k2) {
  3821. for (f2 = 0 < n5 ? i6.Na(o3) : i6.V(o3), c2 = 1; c2 < k2; c2++)
  3822. N2 = 0 < n5 ? i6.Na(f2) : i6.V(f2), i6.pd(f2, true), f2 = N2;
  3823. b2.add(v2, l2), b2.scale(0.5), x2.vc(l2, v2), k2 = j2 * j2 - (k2 = x2.length()) * k2 * 0.25, k2 = Math.sqrt(k2), x2.normalize(), x2.cr(), m2.N(x2), m2.scale(j2 - k2), b2.add(m2), i6.mf(o3, b2);
  3824. }
  3825. if (i6.Ip(this.nA, false, false), !r3)
  3826. break;
  3827. }
  3828. }, i5.prototype.zG = function(i6, s5) {
  3829. if (i6.Ka(s5) == 1)
  3830. return true;
  3831. var n5 = new t4.l();
  3832. return i6.Tj(s5, n5), Math.max(n5.S(), n5.da()) < 0.5 * this.wk;
  3833. }, i5.prototype.yG = function(i6) {
  3834. var s5 = new t4.l();
  3835. return i6.A(s5), Math.max(s5.S(), s5.da()) < 0.5 * this.wk;
  3836. }, i5.prototype.OV = function(i6) {
  3837. for (var s5 = 0, n5 = 0, h3 = (i6 = t4.yC.local().W(i6, 0.25 * this.wk, false, this.Vb)).ea(); n5 < h3; n5++)
  3838. s5 = Math.max(i6.Ka(n5), s5);
  3839. return 32 > s5 ? (this.qq = false, i6) : (this.qq = true, t4.Hg.Nk(i6, this.dt, false, true, this.Vb));
  3840. }, i5.prototype.Au = function(i6, s5) {
  3841. if (s5 = s5.D(), this.Jd != null && this.Jd.length !== 0) {
  3842. var n5 = new t4.h();
  3843. n5.N(this.Jd[0]), n5.Dt(this.sb, s5), i6.Nt(n5);
  3844. for (var h3 = 1, r3 = this.Jd.length; h3 < r3; h3++)
  3845. n5.N(this.Jd[h3]), n5.Dt(this.sb, s5), i6.Ei(n5);
  3846. } else {
  3847. h3 = this.kE(), n5 = t4.P.truncate((h3 + 3) / 4), h3 = 0.5 * Math.PI / n5, r3 = Math.cos(h3);
  3848. for (var e3 = Math.sin(h3), o3 = new t4.h(), a2 = 3; 0 <= a2; a2--) {
  3849. switch (o3.na(0, this.sb), a2) {
  3850. case 0:
  3851. for (h3 = 0; h3 < n5; h3++)
  3852. i6.Aj(o3.x + s5.x, o3.y + s5.y), o3.Ct(r3, e3);
  3853. break;
  3854. case 1:
  3855. for (h3 = 0; h3 < n5; h3++)
  3856. i6.Aj(-o3.y + s5.x, o3.x + s5.y), o3.Ct(r3, e3);
  3857. break;
  3858. case 2:
  3859. for (h3 = 0; h3 < n5; h3++)
  3860. i6.Aj(-o3.x + s5.x, -o3.y + s5.y), o3.Ct(r3, e3);
  3861. break;
  3862. default:
  3863. for (i6.rx(o3.y + s5.x, -o3.x + s5.y), h3 = 1; h3 < n5; h3++)
  3864. o3.Ct(r3, e3), i6.Aj(o3.y + s5.x, -o3.x + s5.y);
  3865. }
  3866. this.Zq();
  3867. }
  3868. }
  3869. }, i5.kx = function(t5) {
  3870. return t5.Eh(1, 0), t5;
  3871. }, i5.prototype.kX = function(t5) {
  3872. return t5.Eh(2, this.ra), t5.hm(), t5;
  3873. }, i5;
  3874. }();
  3875. t4.BK = o2;
  3876. }(V || (V = {})), function(t4) {
  3877. var i4 = function() {
  3878. function i5(i6) {
  3879. this.Da = i6, this.g = new t4.hd(), this.ed = new t4.ja(0);
  3880. }
  3881. return i5.prototype.Nh = function(t5, i6, s4) {
  3882. switch (i6) {
  3883. case 0:
  3884. if (t5.v < s4 && t5.C <= s4)
  3885. break;
  3886. return t5.v >= s4 ? 1 : -1;
  3887. case 1:
  3888. if (t5.G < s4 && t5.H <= s4)
  3889. break;
  3890. return t5.G >= s4 ? 1 : -1;
  3891. case 2:
  3892. if (t5.v >= s4 && t5.C > s4)
  3893. break;
  3894. return t5.C <= s4 ? 1 : -1;
  3895. case 3:
  3896. if (!(t5.G >= s4 && t5.H > s4))
  3897. return t5.H <= s4 ? 1 : -1;
  3898. }
  3899. return 0;
  3900. }, i5.prototype.vy = function(t5, i6) {
  3901. return t5.K() == 1736 ? this.xy(t5, i6) : this.yy(t5);
  3902. }, i5.prototype.xy = function(i6, s4) {
  3903. if (this.Da.S() == 0 || this.Da.da() == 0)
  3904. return i6.Ja();
  3905. var n4 = new t4.l();
  3906. i6.yc(n4), this.Y = this.g.Ib(i6);
  3907. var h2 = new t4.l(), r2 = new t4.l(), e2 = new t4.h(), o2 = new t4.h(), a2 = [0, 0, 0, 0, 0, 0, 0, 0, 0], u2 = [0, 0, 0, 0, 0, 0, 0, 0, 0];
  3908. new t4.hg();
  3909. var f2 = new t4.zb(), c2 = new t4.ja(0);
  3910. c2.Jb(Math.min(100, i6.I()));
  3911. for (var l2 = false, p2 = 0; !l2 && 4 > p2; p2++) {
  3912. var v2 = false, y2 = (1 & p2) != 0, b2 = 0;
  3913. switch (p2) {
  3914. case 0:
  3915. b2 = this.Da.v, v2 = n4.v <= b2 && n4.C >= b2;
  3916. break;
  3917. case 1:
  3918. b2 = this.Da.G, v2 = n4.G <= b2 && n4.H >= b2;
  3919. break;
  3920. case 2:
  3921. b2 = this.Da.C, v2 = n4.v <= b2 && n4.C >= b2;
  3922. break;
  3923. case 3:
  3924. b2 = this.Da.H, v2 = n4.G <= b2 && n4.H >= b2;
  3925. }
  3926. if (v2)
  3927. for (l2 = true, v2 = this.g.Ob(this.Y); v2 != -1; ) {
  3928. var d2 = -1, g2 = -1, w2 = this.g.Ya(v2), x2 = w2;
  3929. do {
  3930. var m2 = this.g.cc(x2);
  3931. m2 == null && (m2 = f2, this.g.D(x2, e2), m2.Ec(e2), this.g.D(this.g.V(x2), o2), m2.Rc(o2)), m2.A(h2);
  3932. var j2 = this.Nh(h2, p2, b2), k2 = 0, M2 = -1;
  3933. if (j2 == -1) {
  3934. k2 = 0 < (m2 = m2.fq(y2, b2, a2, u2)) ? this.g.Wl(x2, u2, m2) : 0, k2 += 1;
  3935. var z2 = x2, A2 = this.g.V(z2);
  3936. for (m2 = 0; m2 < k2; m2++) {
  3937. if (this.g.D(z2, e2), this.g.D(A2, o2), (M2 = this.g.cc(z2)) == null && ((M2 = f2).Ec(e2), M2.Rc(o2)), M2.A(r2), (M2 = this.Nh(r2, p2, b2)) == -1) {
  3938. if (y2)
  3939. (M2 = Math.abs(e2.y - b2)) < (N2 = Math.abs(o2.y - b2)) ? (e2.y = b2, this.g.mf(z2, e2)) : (o2.y = b2, this.g.mf(A2, o2));
  3940. else {
  3941. M2 = Math.abs(e2.x - b2);
  3942. var N2 = Math.abs(o2.x - b2);
  3943. M2 < N2 ? (e2.x = b2, this.g.mf(z2, e2)) : (o2.x = b2, this.g.mf(A2, o2));
  3944. }
  3945. (M2 = this.g.cc(z2)) == null && ((M2 = f2).Ec(e2), M2.Rc(o2)), M2.A(r2), M2 = this.Nh(r2, p2, b2);
  3946. }
  3947. N2 = d2, d2 = M2, g2 == -1 && (g2 = d2), N2 == 0 && d2 == 1 || N2 == 1 && d2 == 0 || N2 != 0 || d2 != 0 || c2.add(z2), d2 == 1 && (l2 = false), M2 = z2 = A2, A2 = this.g.V(A2);
  3948. }
  3949. }
  3950. k2 == 0 && (N2 = d2, d2 = j2, g2 == -1 && (g2 = d2), N2 == 0 && d2 == 1 || N2 == 1 && d2 == 0 || N2 != 0 || d2 != 0 || c2.add(x2), d2 == 1 && (l2 = false), M2 = this.g.V(x2)), x2 = M2;
  3951. } while (x2 != w2);
  3952. for (g2 == 0 && d2 == 0 && c2.add(w2), m2 = 0, d2 = c2.size; m2 < d2; m2++)
  3953. g2 = c2.get(m2), this.g.pd(g2, false);
  3954. c2.clear(false), v2 = 3 > this.g.Ka(v2) ? this.g.ar(v2) : this.g.Sb(v2);
  3955. }
  3956. }
  3957. return l2 ? i6.Ja() : (this.zB(), 0 < s4 && this.Hy(s4), this.g.Ke(this.Y));
  3958. }, i5.prototype.yy = function(i6) {
  3959. var s4 = new t4.l(), n4 = new t4.l(), h2 = [0, 0, 0, 0, 0, 0, 0, 0, 0], r2 = [0, 0, 0, 0, 0, 0, 0, 0, 0], e2 = new t4.hg(), o2 = i6, a2 = new t4.l();
  3960. i6.yc(a2);
  3961. for (var u2 = 0; 4 > u2; u2++) {
  3962. var f2 = false, c2 = (1 & u2) != 0, l2 = 0;
  3963. switch (u2) {
  3964. case 0:
  3965. l2 = this.Da.v, f2 = a2.v <= l2 && a2.C >= l2;
  3966. break;
  3967. case 1:
  3968. l2 = this.Da.G, f2 = a2.G <= l2 && a2.H >= l2;
  3969. break;
  3970. case 2:
  3971. l2 = this.Da.C, f2 = a2.v <= l2 && a2.C >= l2;
  3972. break;
  3973. case 3:
  3974. l2 = this.Da.H, f2 = a2.G <= l2 && a2.H >= l2;
  3975. }
  3976. if (f2) {
  3977. f2 = o2, o2 = i6.Ja(), (f2 = f2.Ha()).aj();
  3978. for (var p2, v2 = new t4.h(); f2.ab(); )
  3979. for (var y2, b2 = true; f2.Ia(); ) {
  3980. var d2 = f2.ia();
  3981. d2.A(s4);
  3982. var g2 = this.Nh(s4, u2, l2);
  3983. if (g2 == -1) {
  3984. if (0 < (g2 = d2.fq(c2, l2, h2, r2))) {
  3985. var w2 = 0;
  3986. p2 = d2.ac();
  3987. for (var x2 = 0; x2 <= g2; x2++)
  3988. if (w2 != (y2 = x2 < g2 ? r2[x2] : 1)) {
  3989. d2.dh(w2, y2, e2);
  3990. var m2 = e2.get();
  3991. m2.Ec(p2), x2 < g2 && (c2 ? (v2.x = h2[x2], v2.y = l2) : (v2.x = l2, v2.y = h2[x2]), m2.Rc(v2)), m2.A(n4);
  3992. var j2 = this.Nh(n4, u2, l2);
  3993. if (j2 == -1) {
  3994. if (p2 = m2.ac(), w2 = m2.xc(), c2)
  3995. (j2 = Math.abs(p2.y - l2)) < (k2 = Math.abs(w2.y - l2)) ? (p2.y = l2, m2.Ec(p2)) : (w2.y = l2, m2.Rc(w2));
  3996. else {
  3997. j2 = Math.abs(p2.x - l2);
  3998. var k2 = Math.abs(w2.x - l2);
  3999. j2 < k2 ? (p2.x = l2, m2.Ec(p2)) : (w2.x = l2, m2.Rc(w2));
  4000. }
  4001. m2.A(n4), j2 = this.Nh(n4, u2, l2);
  4002. }
  4003. p2 = m2.xc(), w2 = y2, (y2 = j2) == 1 ? (o2.oc(m2, b2), b2 = false) : b2 = true;
  4004. }
  4005. }
  4006. } else
  4007. (y2 = g2) == 1 ? (o2.oc(d2, b2), b2 = false) : b2 = true;
  4008. }
  4009. }
  4010. }
  4011. return o2;
  4012. }, i5.prototype.zB = function() {
  4013. this.li = -1, this.Xl(false, this.Da.v), this.Xl(false, this.Da.C), this.Xl(true, this.Da.G), this.Xl(true, this.Da.H), this.ed.resize(0), this.ed.Jb(100), this.li = this.g.Hd();
  4014. for (var i6 = new t4.h(), s4 = this.g.Ob(this.Y); s4 != -1; s4 = this.g.Sb(s4))
  4015. for (var n4 = this.g.Ya(s4), h2 = 0, r2 = this.g.Ka(s4); h2 < r2; h2++, n4 = this.g.V(n4))
  4016. this.g.D(n4, i6), (this.Da.v == i6.x || this.Da.C == i6.x || this.Da.G == i6.y || this.Da.H == i6.y) && (this.g.Sa(n4, this.li, this.ed.size), this.ed.add(n4));
  4017. this.Pl(false, this.Da.v), this.Pl(false, this.Da.C), this.Pl(true, this.Da.G), this.Pl(true, this.Da.H), this.Oy();
  4018. }, i5.prototype.Hy = function(i6) {
  4019. for (var s4 = new t4.h(), n4 = new t4.h(), h2 = t4.P.lg(2048, 0), r2 = this.g.Ob(this.Y); r2 != -1; r2 = this.g.Sb(r2)) {
  4020. var e2 = this.g.Ya(r2), o2 = e2;
  4021. do {
  4022. var a2 = this.g.V(o2);
  4023. this.g.D(o2, s4);
  4024. var u2 = -1;
  4025. if (s4.x == this.Da.v ? (this.g.D(a2, n4), n4.x == this.Da.v && (u2 = 1)) : s4.x == this.Da.C && (this.g.D(a2, n4), n4.x == this.Da.C && (u2 = 1)), s4.y == this.Da.G ? (this.g.D(a2, n4), n4.y == this.Da.G && (u2 = 0)) : s4.y == this.Da.H && (this.g.D(a2, n4), n4.y == this.Da.H && (u2 = 0)), u2 != -1 && (u2 = t4.h.ub(s4, n4), !(1 >= (u2 = t4.P.truncate(Math.min(Math.ceil(u2 / i6), 2048)))))) {
  4026. for (var f2 = 1; f2 < u2; f2++)
  4027. h2[f2 - 1] = 1 * f2 / u2;
  4028. this.g.Wl(o2, h2, u2 - 1);
  4029. }
  4030. o2 = a2;
  4031. } while (o2 != e2);
  4032. }
  4033. }, i5.prototype.Xl = function(i6, s4) {
  4034. var n4 = this.g.Hd(), h2 = new t4.h(), r2 = new t4.ja(0);
  4035. r2.Jb(100);
  4036. for (var e2 = this.g.Ob(this.Y); e2 != -1; e2 = this.g.Sb(e2))
  4037. for (var o2 = this.g.Ya(e2), a2 = 0, u2 = this.g.Ka(e2); a2 < u2; a2++) {
  4038. var f2 = this.g.V(o2);
  4039. this.g.D(o2, h2), (i6 ? h2.y == s4 : h2.x == s4) && (this.g.D(f2, h2), (i6 ? h2.y == s4 : h2.x == s4) && (this.g.Qa(o2, n4) != 1 && (r2.add(o2), this.g.Sa(o2, n4, 1)), this.g.Qa(f2, n4) != 1 && (r2.add(f2), this.g.Sa(f2, n4, 1)))), o2 = f2;
  4040. }
  4041. if (this.g.Ud(n4), !(3 > r2.size)) {
  4042. var c2 = this;
  4043. r2.Wd(0, r2.size, function(t5, i7) {
  4044. return c2.Oh(t5, i7);
  4045. }), n4 = new t4.h(), e2 = new t4.h(), o2 = new t4.h(), e2.Sc();
  4046. var l2 = -1;
  4047. a2 = new t4.ja(0), u2 = new t4.ja(0), f2 = this.g.Hd();
  4048. for (var p2 = this.g.Hd(), v2 = 0, y2 = r2.size; v2 < y2; v2++) {
  4049. var b2 = r2.get(v2);
  4050. if (this.g.D(b2, h2), !h2.rb(e2)) {
  4051. if (l2 != -1) {
  4052. for (var d2 = l2; d2 < v2; d2++) {
  4053. l2 = r2.get(d2);
  4054. var g2 = this.g.V(l2);
  4055. b2 = this.g.Na(l2);
  4056. var w2 = false;
  4057. 0 > this.Oh(l2, g2) && (this.g.D(g2, n4), i6 ? n4.y == s4 : n4.x == s4) && (a2.add(l2), w2 = true, this.g.Sa(l2, p2, 1)), 0 > this.Oh(l2, b2) && (this.g.D(b2, n4), i6 ? n4.y == s4 : n4.x == s4) && (w2 || a2.add(l2), this.g.Sa(l2, f2, 1));
  4058. }
  4059. for (d2 = 0, w2 = a2.size; d2 < w2; d2++) {
  4060. if (l2 = a2.get(d2), b2 = this.g.Qa(l2, f2), g2 = this.g.Qa(l2, p2), b2 == 1) {
  4061. b2 = this.g.Na(l2), this.g.D(b2, o2);
  4062. var x2 = [0];
  4063. if (x2[0] = 0, !o2.rb(h2)) {
  4064. var m2 = t4.h.ub(e2, o2);
  4065. x2[0] = t4.h.ub(o2, h2) / m2, x2[0] == 0 ? x2[0] = 2220446049250313e-31 : x2[0] == 1 && (x2[0] = 0.9999999999999998), this.g.Wl(b2, x2, 1), b2 = this.g.Na(l2), this.g.mf(b2, h2), u2.add(b2), this.g.Sa(b2, f2, 1), this.g.Sa(b2, p2, -1);
  4066. }
  4067. }
  4068. g2 == 1 && (g2 = this.g.V(l2), this.g.D(g2, o2), (x2 = [0])[0] = 0, o2.rb(h2) || (m2 = t4.h.ub(e2, o2), x2[0] = t4.h.ub(e2, h2) / m2, x2[0] == 0 ? x2[0] = 2220446049250313e-31 : x2[0] == 1 && (x2[0] = 0.9999999999999998), this.g.Wl(l2, x2, 1), b2 = this.g.V(l2), this.g.mf(b2, h2), u2.add(b2), this.g.Sa(b2, f2, -1), this.g.Sa(b2, p2, 1)));
  4069. }
  4070. l2 = a2, a2 = u2, (u2 = l2).clear(false);
  4071. }
  4072. l2 = v2, e2.N(h2);
  4073. }
  4074. }
  4075. this.g.Ud(f2), this.g.Ud(p2);
  4076. }
  4077. }, i5.prototype.Pl = function(i6, s4) {
  4078. var n4 = new t4.h(), h2 = new t4.ja(0);
  4079. h2.Jb(100);
  4080. for (var r2 = this.g.Hd(), e2 = 0, o2 = this.ed.size; e2 < o2; e2++) {
  4081. var a2 = this.ed.get(e2);
  4082. if (a2 != -1) {
  4083. var u2 = this.g.V(a2);
  4084. this.g.D(a2, n4), (i6 ? n4.y == s4 : n4.x == s4) && (this.g.D(u2, n4), (i6 ? n4.y == s4 : n4.x == s4) && (this.g.Qa(a2, r2) != -2 && (h2.add(a2), this.g.Sa(a2, r2, -2)), this.g.Qa(u2, r2) != -2 && (h2.add(u2), this.g.Sa(u2, r2, -2))));
  4085. }
  4086. }
  4087. if (h2.size != 0) {
  4088. var f2 = this;
  4089. for (h2.Wd(0, h2.size, function(t5, i7) {
  4090. return f2.Oh(t5, i7);
  4091. }), e2 = 0, o2 = h2.size; e2 < o2; e2++) {
  4092. var c2 = h2.get(e2);
  4093. this.g.Sa(c2, r2, e2);
  4094. }
  4095. a2 = new t4.h(), (u2 = new t4.h()).Sc();
  4096. var l2 = -1;
  4097. for (e2 = 0, o2 = h2.size; e2 < o2; e2++)
  4098. if ((c2 = h2.get(e2)) != -1 && (this.g.D(c2, n4), !n4.rb(u2))) {
  4099. if (l2 != -1)
  4100. for (; ; ) {
  4101. c2 = false;
  4102. for (var p2 = 1 < e2 - l2 ? e2 - 1 : e2, v2 = l2; v2 < p2; v2++) {
  4103. var y2 = h2.get(v2);
  4104. if (y2 != -1) {
  4105. var b2 = -1, d2 = this.g.V(y2);
  4106. 0 > this.Oh(y2, d2) && (this.g.D(d2, a2), i6 ? a2.y == s4 : a2.x == s4) && (b2 = d2), d2 = -1;
  4107. var g2 = this.g.Na(y2);
  4108. if (0 > this.Oh(y2, g2) && (this.g.D(g2, a2), i6 ? a2.y == s4 : a2.x == s4) && (d2 = g2), b2 != -1 && d2 != -1)
  4109. this.Mh(y2, h2, r2), this.g.pd(y2, false), this.Mh(b2, h2, r2), this.g.pd(b2, false), c2 = true;
  4110. else if (b2 != -1 || d2 != -1) {
  4111. for (g2 = v2 + 1; g2 < e2; g2++) {
  4112. var w2 = h2.get(g2);
  4113. if (w2 != -1) {
  4114. var x2 = this.g.V(w2), m2 = -1;
  4115. 0 > this.Oh(w2, x2) && (this.g.D(x2, a2), i6 ? a2.y == s4 : a2.x == s4) && (m2 = x2), x2 = this.g.Na(w2);
  4116. var j2 = -1;
  4117. if (0 > this.Oh(w2, x2) && (this.g.D(x2, a2), i6 ? a2.y == s4 : a2.x == s4) && (j2 = x2), m2 != -1 && j2 != -1) {
  4118. this.Mh(w2, h2, r2), this.g.pd(w2, false), this.Mh(m2, h2, r2), this.g.pd(m2, false), c2 = true;
  4119. break;
  4120. }
  4121. if (b2 != -1 && j2 != -1) {
  4122. this.At(h2, y2, b2, w2, j2, r2), c2 = true;
  4123. break;
  4124. }
  4125. if (d2 != -1 && m2 != -1) {
  4126. this.At(h2, w2, m2, y2, d2, r2), c2 = true;
  4127. break;
  4128. }
  4129. }
  4130. }
  4131. if (c2)
  4132. break;
  4133. }
  4134. }
  4135. }
  4136. if (!c2)
  4137. break;
  4138. }
  4139. l2 = e2, u2.N(n4);
  4140. }
  4141. }
  4142. this.g.Ud(r2);
  4143. }, i5.prototype.Mh = function(t5, i6, s4) {
  4144. s4 = this.g.Qa(t5, s4), i6.set(s4, -1), s4 = this.g.Qa(t5, this.li), this.ed.set(s4, -1), (i6 = this.g.cd(t5)) != -1 && this.g.Ya(i6) == t5 && (this.g.Kf(i6, -1), this.g.Yg(i6, -1));
  4145. }, i5.prototype.At = function(t5, i6, s4, n4, h2, r2) {
  4146. this.g.Cc(i6, n4), this.g.Dc(n4, i6), this.g.Dc(s4, h2), this.g.Cc(h2, s4), this.Mh(n4, t5, r2), this.g.oi(n4, false), this.Mh(h2, t5, r2), this.g.oi(h2, true);
  4147. }, i5.prototype.Oy = function() {
  4148. for (var t5 = 0, i6 = this.ed.size; t5 < i6; t5++) {
  4149. var s4 = this.ed.get(t5);
  4150. s4 != -1 && this.g.cj(s4, -1);
  4151. }
  4152. for (var n4 = 0, h2 = 0, r2 = this.g.Ob(this.Y); r2 != -1; ) {
  4153. var e2 = this.g.Ya(r2);
  4154. if (e2 == -1 || r2 != this.g.cd(e2)) {
  4155. var o2 = r2;
  4156. r2 = this.g.Sb(r2), this.g.Kf(o2, -1), this.g.br(o2);
  4157. } else {
  4158. s4 = e2, o2 = 0;
  4159. do {
  4160. this.g.cj(s4, r2), o2++, s4 = this.g.V(s4);
  4161. } while (s4 != e2);
  4162. 2 >= o2 ? (s4 = this.g.Qa(e2, this.li), this.ed.set(s4, -1), e2 = this.g.pd(e2, false), o2 == 2 && (s4 = this.g.Qa(e2, this.li), this.ed.set(s4, -1), this.g.pd(e2, false)), o2 = r2, r2 = this.g.Sb(r2), this.g.Kf(o2, -1), this.g.br(o2)) : (this.g.ep(r2, false), this.g.Yg(r2, this.g.Na(e2)), this.g.Xj(r2, o2), h2 += o2, n4++, r2 = this.g.Sb(r2));
  4163. }
  4164. }
  4165. for (t5 = 0, i6 = this.ed.size; t5 < i6; t5++)
  4166. if ((s4 = this.ed.get(t5)) != -1 && (r2 = this.g.cd(s4)) == -1) {
  4167. r2 = this.g.wf(this.Y, -1), o2 = 0, e2 = s4;
  4168. do {
  4169. this.g.cj(s4, r2), o2++, s4 = this.g.V(s4);
  4170. } while (s4 != e2);
  4171. 2 >= o2 ? (s4 = this.g.Qa(e2, this.li), this.ed.set(s4, -1), e2 = this.g.pd(e2, false), o2 == 2 && (0 <= (s4 = this.g.Qa(e2, this.li)) && this.ed.set(s4, -1), this.g.pd(e2, false)), o2 = r2, this.g.Kf(o2, -1), this.g.br(o2)) : (this.g.mn(r2, true), this.g.Xj(r2, o2), this.g.Kf(r2, e2), this.g.Yg(r2, this.g.Na(e2)), this.g.ep(r2, false), h2 += o2, n4++);
  4172. }
  4173. for (this.g.Tl(this.Y, n4), this.g.Vj(this.Y, h2), t5 = 0, i6 = this.g.ld; i6 != -1; i6 = this.g.ve(i6))
  4174. t5 += this.g.I(i6);
  4175. this.g.WB(t5);
  4176. }, i5.wy = function(t5, s4, n4) {
  4177. return new i5(s4).vy(t5, n4);
  4178. }, i5.clip = function(s4, n4, h2, r2) {
  4179. if (s4.B())
  4180. return s4;
  4181. if (n4.B())
  4182. return s4.Ja();
  4183. if ((h2 = s4.K()) == 33)
  4184. return r2 = s4.D(), n4.contains(r2) ? s4 : s4.Ja();
  4185. if (h2 == 197)
  4186. return r2 = new t4.l(), s4.A(r2), r2.Fa(n4) ? (n4 = new t4.Hh(), s4.copyTo(n4), n4.Yo(r2), n4) : s4.Ja();
  4187. var e2 = new t4.l();
  4188. if (s4.yc(e2), n4.contains(e2))
  4189. return s4;
  4190. if (!n4.isIntersecting(e2))
  4191. return s4.Ja();
  4192. if ((e2 = s4.Cb) != null && (e2 = e2.Gk) != null) {
  4193. if ((e2 = e2.So(n4)) == 1) {
  4194. if (h2 != 1736)
  4195. throw t4.i.Ra();
  4196. return (s4 = new t4.Ea(s4.description)).vp(n4), s4;
  4197. }
  4198. if (e2 == 0)
  4199. return s4.Ja();
  4200. }
  4201. switch (h2) {
  4202. case 550:
  4203. h2 = null, e2 = s4.I();
  4204. for (var o2 = s4.vb(0), a2 = 0, u2 = 0; u2 < e2; u2++)
  4205. r2 = new t4.h(), o2.uc(2 * u2, r2), n4.contains(r2) || (a2 == 0 && (h2 = s4.Ja()), a2 < u2 && h2.Gd(s4, a2, u2), a2 = u2 + 1);
  4206. return 0 < a2 && h2.Gd(s4, a2, e2), a2 == 0 ? s4 : h2;
  4207. case 1736:
  4208. case 1607:
  4209. return i5.wy(s4, n4, r2);
  4210. default:
  4211. throw t4.i.Ra();
  4212. }
  4213. }, i5.prototype.Oh = function(i6, s4) {
  4214. var n4 = new t4.h();
  4215. return this.g.D(i6, n4), i6 = new t4.h(), this.g.D(s4, i6), n4.compare(i6);
  4216. }, i5;
  4217. }();
  4218. t4.Vd = i4;
  4219. }(V || (V = {})), function(t4) {
  4220. var i4 = function() {
  4221. function i5(i6, s4) {
  4222. this.Da = i6, this.g = new t4.hd(), this.ed = new t4.ja(0), this.nd = s4;
  4223. }
  4224. return i5.prototype.Nh = function(t5, i6, s4) {
  4225. switch (i6) {
  4226. case 0:
  4227. if (t5.v < s4 && t5.C <= s4)
  4228. break;
  4229. return t5.v >= s4 ? 1 : -1;
  4230. case 1:
  4231. if (t5.G < s4 && t5.H <= s4)
  4232. break;
  4233. return t5.G >= s4 ? 1 : -1;
  4234. case 2:
  4235. if (t5.v >= s4 && t5.C > s4)
  4236. break;
  4237. return t5.C <= s4 ? 1 : -1;
  4238. case 3:
  4239. if (!(t5.G >= s4 && t5.H > s4))
  4240. return t5.H <= s4 ? 1 : -1;
  4241. }
  4242. return 0;
  4243. }, i5.prototype.vy = function(t5, i6) {
  4244. return t5.K() == 1736 ? this.xy(t5, i6) : this.yy(t5);
  4245. }, i5.prototype.xy = function(i6, s4) {
  4246. if (this.Da.S() == 0 || this.Da.da() == 0)
  4247. return i6.Ja();
  4248. var n4 = new t4.l();
  4249. i6.yc(n4), this.Y = this.g.Ib(i6);
  4250. var h2 = new t4.l(), r2 = new t4.l(), e2 = new t4.h(), o2 = new t4.h(), a2 = [0, 0, 0, 0, 0, 0, 0, 0, 0], u2 = [0, 0, 0, 0, 0, 0, 0, 0, 0], f2 = new t4.zb(), c2 = new t4.ja(0);
  4251. c2.Jb(256);
  4252. for (var l2 = false, p2 = 0; !l2 && 4 > p2; p2++) {
  4253. var v2 = false, y2 = (1 & p2) != 0, b2 = 0;
  4254. switch (p2) {
  4255. case 0:
  4256. b2 = this.Da.v, v2 = n4.v <= b2 && n4.C >= b2;
  4257. break;
  4258. case 1:
  4259. b2 = this.Da.G, v2 = n4.G <= b2 && n4.H >= b2;
  4260. break;
  4261. case 2:
  4262. b2 = this.Da.C, v2 = n4.v <= b2 && n4.C >= b2;
  4263. break;
  4264. case 3:
  4265. b2 = this.Da.H, v2 = n4.G <= b2 && n4.H >= b2;
  4266. }
  4267. if (v2)
  4268. for (l2 = true, v2 = this.g.Ob(this.Y); v2 != -1; ) {
  4269. var d2 = true, g2 = -1, w2 = -1, x2 = this.g.Ya(v2), m2 = x2;
  4270. do {
  4271. var j2 = this.g.cc(m2);
  4272. j2 == null && (j2 = f2, this.g.D(m2, e2), j2.Ec(e2), this.g.D(this.g.V(m2), o2), j2.Rc(o2)), j2.A(h2);
  4273. var k2 = this.Nh(h2, p2, b2), M2 = 0, z2 = -1;
  4274. if (k2 == -1) {
  4275. M2 = 0 < (j2 = j2.fq(y2, b2, a2, u2)) ? this.g.DX(m2, u2, j2) : 0, M2 += 1;
  4276. var A2 = m2, N2 = this.g.V(A2);
  4277. for (j2 = 0; j2 < M2; j2++) {
  4278. if (this.g.D(A2, e2), this.g.D(N2, o2), (z2 = this.g.cc(A2)) == null && ((z2 = f2).Ec(e2), z2.Rc(o2)), z2.A(r2), (z2 = this.Nh(r2, p2, b2)) == -1) {
  4279. if (y2)
  4280. (z2 = Math.abs(e2.y - b2)) < (I2 = Math.abs(o2.y - b2)) ? (e2.y = b2, this.g.mf(A2, e2)) : (o2.y = b2, this.g.mf(N2, o2));
  4281. else {
  4282. z2 = Math.abs(e2.x - b2);
  4283. var I2 = Math.abs(o2.x - b2);
  4284. z2 < I2 ? (e2.x = b2, this.g.mf(A2, e2)) : (o2.x = b2, this.g.mf(N2, o2));
  4285. }
  4286. (z2 = this.g.cc(A2)) == null && ((z2 = f2).Ec(e2), z2.Rc(o2)), z2.A(r2), z2 = this.Nh(r2, p2, b2);
  4287. }
  4288. I2 = g2, g2 = z2, w2 == -1 && (w2 = g2), I2 == 0 && g2 == 1 || I2 == 1 && g2 == 0 || I2 != 0 || g2 != 0 || c2.add(A2), g2 == 1 && (d2 = l2 = false), z2 = A2 = N2, N2 = this.g.V(N2);
  4289. }
  4290. }
  4291. if (M2 == 0 && (I2 = g2, g2 = k2, w2 == -1 && (w2 = g2), I2 == 0 && g2 == 1 || I2 == 1 && g2 == 0 || I2 != 0 || g2 != 0 || c2.add(m2), g2 == 1 && (d2 = l2 = false), z2 = this.g.V(m2)), m2 = z2, 256 <= c2.size) {
  4292. for (j2 = 1, k2 = c2.size - 1; j2 < k2; j2++)
  4293. M2 = c2.get(j2), this.g.pd(M2, false);
  4294. c2.set(1, c2.Gc()), c2.Dh(2);
  4295. }
  4296. } while (m2 != x2);
  4297. if (!d2)
  4298. for (w2 == 0 && g2 == 0 && c2.add(x2), j2 = 0, k2 = c2.size; j2 < k2; j2++)
  4299. M2 = c2.get(j2), this.g.pd(M2, false);
  4300. c2.clear(false), v2 = d2 || this.g.Ka(v2) == 0 ? this.g.ar(v2) : this.g.Sb(v2);
  4301. }
  4302. }
  4303. return l2 ? i6.Ja() : (this.zB(), 0 < s4 && this.Hy(s4), this.g.Ke(this.Y));
  4304. }, i5.prototype.yy = function(i6) {
  4305. var s4 = new t4.l(), n4 = new t4.l(), h2 = [0, 0, 0, 0, 0, 0, 0, 0, 0], r2 = [0, 0, 0, 0, 0, 0, 0, 0, 0], e2 = new t4.hg(), o2 = i6, a2 = new t4.l();
  4306. i6.yc(a2);
  4307. for (var u2 = new t4.h(), f2 = new t4.h(), c2 = null, l2 = null, p2 = 0; 4 > p2; p2++) {
  4308. var v2 = false, y2 = (1 & p2) != 0, b2 = 0;
  4309. switch (p2) {
  4310. case 0:
  4311. b2 = this.Da.v, v2 = a2.v <= b2 && a2.C >= b2;
  4312. break;
  4313. case 1:
  4314. b2 = this.Da.G, v2 = a2.G <= b2 && a2.H >= b2;
  4315. break;
  4316. case 2:
  4317. b2 = this.Da.C, v2 = a2.v <= b2 && a2.C >= b2;
  4318. break;
  4319. case 3:
  4320. b2 = this.Da.H, v2 = a2.G <= b2 && a2.H >= b2;
  4321. }
  4322. if (v2)
  4323. for (v2 = o2, o2 = i6.Ja(), (v2 = v2.Ha()).aj(); v2.ab(); )
  4324. for (var d2, g2 = true; v2.Ia(); ) {
  4325. var w2 = v2.ia();
  4326. w2.A(s4);
  4327. var x2 = this.Nh(s4, p2, b2);
  4328. if (x2 == -1) {
  4329. if (0 < (x2 = w2.fq(y2, b2, h2, r2))) {
  4330. var m2 = 0;
  4331. w2.$p(u2);
  4332. for (var j2 = 0; j2 <= x2; j2++)
  4333. if (m2 != (d2 = j2 < x2 ? r2[j2] : 1)) {
  4334. w2.dh(m2, d2, e2);
  4335. var k2 = e2.get();
  4336. k2.Ec(u2), j2 < x2 && (y2 ? (f2.x = h2[j2], f2.y = b2) : (f2.x = b2, f2.y = h2[j2]), k2.Rc(f2)), k2.A(n4);
  4337. var M2 = this.Nh(n4, p2, b2);
  4338. M2 == -1 && (c2 == null && (c2 = new t4.h()), l2 == null && (l2 = new t4.h()), k2.$p(c2), k2.Vr(l2), y2 ? (m2 = Math.abs(c2.y - b2)) < (M2 = Math.abs(l2.y - b2)) ? (c2.y = b2, k2.Ec(c2)) : (l2.y = b2, k2.Rc(l2)) : (m2 = Math.abs(c2.x - b2)) < (M2 = Math.abs(l2.x - b2)) ? (c2.x = b2, k2.Ec(c2)) : (l2.x = b2, k2.Rc(l2)), k2.A(n4), M2 = this.Nh(n4, p2, b2)), k2.Vr(u2), m2 = d2, (d2 = M2) == 1 ? (o2.oc(k2, g2), g2 = false) : g2 = true;
  4339. }
  4340. }
  4341. } else
  4342. (d2 = x2) == 1 ? (o2.oc(w2, g2), g2 = false) : g2 = true;
  4343. }
  4344. }
  4345. return o2;
  4346. }, i5.prototype.zB = function() {
  4347. this.li = -1, this.Xl(false, this.Da.v), this.Xl(false, this.Da.C), this.Xl(true, this.Da.G), this.Xl(true, this.Da.H), this.ed.resize(0), this.ed.Jb(100), this.li = this.g.Hd();
  4348. for (var i6 = new t4.h(), s4 = this.g.Ob(this.Y); s4 != -1; s4 = this.g.Sb(s4))
  4349. for (var n4 = this.g.Ya(s4), h2 = 0, r2 = this.g.Ka(s4); h2 < r2; h2++, n4 = this.g.V(n4))
  4350. this.g.D(n4, i6), (this.Da.v == i6.x || this.Da.C == i6.x || this.Da.G == i6.y || this.Da.H == i6.y) && (this.g.Sa(n4, this.li, this.ed.size), this.ed.add(n4));
  4351. this.Pl(false, this.Da.v), this.Pl(false, this.Da.C), this.Pl(true, this.Da.G), this.Pl(true, this.Da.H), this.Oy();
  4352. }, i5.prototype.Hy = function(i6) {
  4353. for (var s4 = new t4.h(), n4 = new t4.h(), h2 = null, r2 = null, e2 = t4.P.lg(2048, 0), o2 = this.g.Ob(this.Y); o2 != -1; o2 = this.g.Sb(o2)) {
  4354. var a2 = this.g.Ya(o2), u2 = a2;
  4355. do {
  4356. var f2 = this.g.V(u2);
  4357. this.g.D(u2, s4);
  4358. var c2 = -1;
  4359. if (s4.x == this.Da.v ? (this.g.D(f2, n4), n4.x == this.Da.v && (c2 = 1)) : s4.x == this.Da.C && (this.g.D(f2, n4), n4.x == this.Da.C && (c2 = 1)), s4.y == this.Da.G ? (this.g.D(f2, n4), n4.y == this.Da.G && (c2 = 0)) : s4.y == this.Da.H && (this.g.D(f2, n4), n4.y == this.Da.H && (c2 = 0)), c2 != -1) {
  4360. if (h2 == null && (h2 = new t4.h()), r2 == null && (r2 = new t4.h()), h2.N(s4), r2.na(0, 0), c2 == 0) {
  4361. var l2 = s4.x - this.Da.v;
  4362. r2.x = t4.mc.sign(n4.x - s4.x), h2.x = i6 * t4.mc.Dn(Math.floor(Math.abs(l2 / i6)), l2) + this.Da.v, 0 > h2.x && (h2.x += i6);
  4363. } else
  4364. l2 = s4.y - this.Da.G, r2.y = t4.mc.sign(n4.y - s4.y), h2.y = i6 * t4.mc.Dn(Math.floor(Math.abs(l2 / i6)), l2) + this.Da.G, 0 > h2.y && (h2.y += i6);
  4365. l2 = c2 != 0 ? n4.y - s4.y : n4.x - s4.x;
  4366. var p2 = Math.abs(l2);
  4367. if (65536 < p2 / i6)
  4368. throw t4.i.ga("internal error");
  4369. if (0 < p2) {
  4370. p2 = t4.P.truncate(p2 / i6) + 2, e2.length < p2 && (e2 = t4.P.lg(p2));
  4371. for (var v2 = p2 = 0; ; v2++) {
  4372. var y2 = new t4.h();
  4373. if (y2.x = h2.x + r2.x * v2 * i6, y2.y = h2.y + r2.y * v2 * i6, 1 <= (y2 = (c2 != 0 ? y2.y - s4.y : y2.x - s4.x) / l2))
  4374. break;
  4375. 0 >= y2 || (e2[p2] = y2, p2++);
  4376. }
  4377. p2 != 0 && this.g.Wl(u2, e2, p2);
  4378. }
  4379. }
  4380. u2 = f2;
  4381. } while (u2 != a2);
  4382. }
  4383. }, i5.prototype.Xl = function(i6, s4) {
  4384. for (var n4 = -1, h2 = new t4.h(), r2 = null, e2 = this.g.Ob(this.Y); e2 != -1; e2 = this.g.Sb(e2))
  4385. for (var o2 = this.g.Ya(e2), a2 = 0, u2 = this.g.Ka(e2); a2 < u2; a2++) {
  4386. var f2 = this.g.V(o2);
  4387. this.g.D(o2, h2), (i6 ? h2.y == s4 : h2.x == s4) && (this.g.D(f2, h2), (i6 ? h2.y == s4 : h2.x == s4) && (n4 == -1 && (n4 = this.g.Hd()), r2 == null && (r2 = new t4.ja(0)).Jb(100), this.g.Qa(o2, n4) != 1 && (r2.add(o2), this.g.Sa(o2, n4, 1)), this.g.Qa(f2, n4) != 1 && (r2.add(f2), this.g.Sa(f2, n4, 1)))), o2 = f2;
  4388. }
  4389. if (n4 != -1 && this.g.Ud(n4), !(r2 == null || 3 > r2.size)) {
  4390. var c2 = this;
  4391. r2.Wd(0, r2.size, function(t5, i7) {
  4392. return c2.Oh(t5, i7);
  4393. }), n4 = new t4.h(), e2 = new t4.h(), o2 = new t4.h(), e2.Sc();
  4394. var l2 = -1;
  4395. a2 = new t4.ja(0), u2 = new t4.ja(0), f2 = null;
  4396. for (var p2 = this.g.Hd(), v2 = this.g.Hd(), y2 = 0, b2 = r2.size; y2 < b2; y2++) {
  4397. var d2 = r2.get(y2);
  4398. if (this.g.D(d2, h2), !h2.rb(e2)) {
  4399. if (l2 != -1) {
  4400. for (var g2 = l2; g2 < y2; g2++) {
  4401. l2 = r2.get(g2);
  4402. var w2 = this.g.V(l2);
  4403. d2 = this.g.Na(l2);
  4404. var x2 = false;
  4405. this.g.D(w2, n4), 0 > e2.compare(n4) && (i6 ? n4.y == s4 : n4.x == s4) && (a2.add(l2), x2 = true, this.g.Sa(l2, v2, 1)), this.g.D(d2, n4), 0 > e2.compare(n4) && (i6 ? n4.y == s4 : n4.x == s4) && (x2 || a2.add(l2), this.g.Sa(l2, p2, 1));
  4406. }
  4407. for (g2 = 0, x2 = a2.size; g2 < x2; g2++) {
  4408. if (l2 = a2.get(g2), d2 = this.g.Qa(l2, p2), w2 = this.g.Qa(l2, v2), d2 == 1 && (d2 = this.g.Na(l2), this.g.D(d2, o2), !o2.rb(h2))) {
  4409. f2 == null && (f2 = []);
  4410. var m2 = t4.h.ub(e2, o2);
  4411. f2[0] = t4.h.ub(o2, h2) / m2, f2[0] == 0 ? f2[0] = 2220446049250313e-31 : f2[0] == 1 && (f2[0] = 0.9999999999999998), this.g.Wl(d2, f2, 1), d2 = this.g.Na(l2), this.g.mf(d2, h2), u2.add(d2), this.g.Sa(d2, p2, 1), this.g.Sa(d2, v2, -1);
  4412. }
  4413. w2 == 1 && (w2 = this.g.V(l2), this.g.D(w2, o2), o2.rb(h2) || (f2 == null && (f2 = []), m2 = t4.h.ub(e2, o2), f2[0] = t4.h.ub(e2, h2) / m2, f2[0] == 0 ? f2[0] = 2220446049250313e-31 : f2[0] == 1 && (f2[0] = 0.9999999999999998), this.g.Wl(l2, f2, 1), d2 = this.g.V(l2), this.g.mf(d2, h2), u2.add(d2), this.g.Sa(d2, p2, -1), this.g.Sa(d2, v2, 1)));
  4414. }
  4415. l2 = a2, a2 = u2, (u2 = l2).clear(false);
  4416. }
  4417. l2 = y2, e2.N(h2);
  4418. }
  4419. }
  4420. this.g.Ud(p2), this.g.Ud(v2);
  4421. }
  4422. }, i5.prototype.Pl = function(i6, s4) {
  4423. for (var n4 = new t4.h(), h2 = null, r2 = -1, e2 = 0, o2 = this.ed.size; e2 < o2; e2++) {
  4424. var a2 = this.ed.get(e2);
  4425. if (a2 != -1) {
  4426. var u2 = this.g.V(a2);
  4427. this.g.D(a2, n4), (i6 ? n4.y == s4 : n4.x == s4) && (this.g.D(u2, n4), (i6 ? n4.y == s4 : n4.x == s4) && (r2 == -1 && (r2 = this.g.Hd()), h2 == null && (h2 = new t4.ja(0)).Jb(100), this.g.Qa(a2, r2) != -2 && (h2.add(a2), this.g.Sa(a2, r2, -2)), this.g.Qa(u2, r2) != -2 && (h2.add(u2), this.g.Sa(u2, r2, -2))));
  4428. }
  4429. }
  4430. if (h2 == null)
  4431. r2 != -1 && this.g.Ud(r2);
  4432. else {
  4433. var f2 = this;
  4434. for (h2.Wd(0, h2.size, function(t5, i7) {
  4435. return f2.Oh(t5, i7);
  4436. }), e2 = 0, o2 = h2.size; e2 < o2; e2++) {
  4437. var c2 = h2.get(e2);
  4438. this.g.Sa(c2, r2, e2);
  4439. }
  4440. a2 = new t4.h(), (u2 = new t4.h()).Sc();
  4441. var l2 = -1;
  4442. for (e2 = 0, o2 = h2.size; e2 < o2; e2++)
  4443. if ((c2 = h2.get(e2)) != -1 && (this.g.D(c2, n4), !n4.rb(u2))) {
  4444. if (l2 != -1)
  4445. for (; ; ) {
  4446. c2 = false;
  4447. for (var p2 = 1 < e2 - l2 ? e2 - 1 : e2, v2 = l2; v2 < p2; v2++) {
  4448. var y2 = h2.get(v2);
  4449. if (y2 != -1) {
  4450. var b2 = -1, d2 = this.g.V(y2);
  4451. this.g.D(d2, a2), 0 > u2.compare(a2) && (i6 ? a2.y == s4 : a2.x == s4) && (b2 = d2), d2 = -1;
  4452. var g2 = this.g.Na(y2);
  4453. if (this.g.D(g2, a2), 0 > u2.compare(a2) && (i6 ? a2.y == s4 : a2.x == s4) && (d2 = g2), b2 != -1 && d2 != -1)
  4454. this.Mh(y2, h2, r2), this.g.pd(y2, false), this.Mh(b2, h2, r2), this.g.pd(b2, false), c2 = true;
  4455. else if (b2 != -1 || d2 != -1) {
  4456. for (g2 = v2 + 1; g2 < e2; g2++) {
  4457. var w2 = h2.get(g2);
  4458. if (w2 != -1) {
  4459. var x2 = this.g.V(w2), m2 = -1;
  4460. this.g.D(x2, a2), 0 > u2.compare(a2) && (i6 ? a2.y == s4 : a2.x == s4) && (m2 = x2), x2 = this.g.Na(w2);
  4461. var j2 = -1;
  4462. if (this.g.D(x2, a2), 0 > u2.compare(a2) && (i6 ? a2.y == s4 : a2.x == s4) && (j2 = x2), m2 != -1 && j2 != -1) {
  4463. this.Mh(w2, h2, r2), this.g.pd(w2, false), this.Mh(m2, h2, r2), this.g.pd(m2, false), c2 = true;
  4464. break;
  4465. }
  4466. if (b2 != -1 && j2 != -1) {
  4467. this.At(h2, y2, b2, w2, j2, r2), c2 = true;
  4468. break;
  4469. }
  4470. if (d2 != -1 && m2 != -1) {
  4471. this.At(h2, w2, m2, y2, d2, r2), c2 = true;
  4472. break;
  4473. }
  4474. }
  4475. }
  4476. if (c2)
  4477. break;
  4478. }
  4479. }
  4480. }
  4481. if (!c2)
  4482. break;
  4483. }
  4484. l2 = e2, u2.N(n4);
  4485. }
  4486. this.g.Ud(r2);
  4487. }
  4488. }, i5.prototype.Mh = function(t5, i6, s4) {
  4489. s4 = this.g.Qa(t5, s4), i6.set(s4, -1), s4 = this.g.Qa(t5, this.li), this.ed.set(s4, -1), (i6 = this.g.cd(t5)) != -1 && this.g.Ya(i6) == t5 && (this.g.Kf(i6, -1), this.g.Yg(i6, -1));
  4490. }, i5.prototype.At = function(t5, i6, s4, n4, h2, r2) {
  4491. this.g.Cc(i6, n4), this.g.Dc(n4, i6), this.g.Dc(s4, h2), this.g.Cc(h2, s4), this.Mh(n4, t5, r2), this.g.oi(n4, false), this.Mh(h2, t5, r2), this.g.oi(h2, true);
  4492. }, i5.prototype.Oy = function() {
  4493. for (var t5 = 0, i6 = this.ed.size; t5 < i6; t5++) {
  4494. var s4 = this.ed.get(t5);
  4495. s4 != -1 && this.g.cj(s4, -1);
  4496. }
  4497. for (var n4 = 0, h2 = 0, r2 = this.g.Ob(this.Y); r2 != -1; ) {
  4498. var e2 = this.g.Ya(r2);
  4499. if (e2 == -1 || r2 != this.g.cd(e2)) {
  4500. var o2 = r2;
  4501. r2 = this.g.Sb(r2), this.g.Kf(o2, -1), this.g.br(o2);
  4502. } else {
  4503. s4 = e2, o2 = 0;
  4504. do {
  4505. this.g.cj(s4, r2), o2++, s4 = this.g.V(s4);
  4506. } while (s4 != e2);
  4507. this.g.ep(r2, false), this.g.Yg(r2, this.g.Na(e2)), this.g.Xj(r2, o2), h2 += o2, n4++, r2 = this.g.Sb(r2);
  4508. }
  4509. }
  4510. for (t5 = 0, i6 = this.ed.size; t5 < i6; t5++)
  4511. if ((s4 = this.ed.get(t5)) != -1 && (r2 = this.g.cd(s4)) == -1) {
  4512. r2 = this.g.wf(this.Y, -1), o2 = 0, e2 = s4;
  4513. do {
  4514. this.g.cj(s4, r2), o2++, s4 = this.g.V(s4);
  4515. } while (s4 != e2);
  4516. 2 >= o2 ? (s4 = this.g.Qa(e2, this.li), this.ed.set(s4, -1), e2 = this.g.pd(e2, false), o2 == 2 && (0 <= (s4 = this.g.Qa(e2, this.li)) && this.ed.set(s4, -1), this.g.pd(e2, false)), o2 = r2, this.g.Kf(o2, -1), this.g.br(o2)) : (this.g.mn(r2, true), this.g.Xj(r2, o2), this.g.Kf(r2, e2), this.g.Yg(r2, this.g.Na(e2)), this.g.ep(r2, false), h2 += o2, n4++);
  4517. }
  4518. for (this.g.Tl(this.Y, n4), this.g.Vj(this.Y, h2), t5 = 0, i6 = this.g.ld; i6 != -1; i6 = this.g.ve(i6))
  4519. t5 += this.g.I(i6);
  4520. this.g.WB(t5);
  4521. }, i5.wy = function(t5, s4, n4, h2) {
  4522. return new i5(s4, h2).vy(t5, n4);
  4523. }, i5.clip = function(t5, s4, n4, h2, r2) {
  4524. return i5.Pu(t5, s4, null, n4, h2, r2);
  4525. }, i5.Pu = function(s4, n4, h2, r2, e2, o2) {
  4526. var a2 = s4.K();
  4527. if (a2 == 33)
  4528. return e2 = s4.D(), n4.contains(e2) ? s4 : s4.Ja();
  4529. if (a2 == 197)
  4530. return e2 = new t4.l(), s4.A(e2), e2.Fa(n4) ? (n4 = new t4.Hh(), s4.copyTo(n4), n4.Yo(e2), n4) : s4.Ja();
  4531. if (s4.B())
  4532. return s4;
  4533. if (n4.B())
  4534. return s4.Ja();
  4535. var u2 = new t4.l();
  4536. if (s4.yc(u2), n4.contains(u2))
  4537. return s4;
  4538. if (!n4.isIntersecting(u2))
  4539. return s4.Ja();
  4540. if ((h2 != null || isNaN(r2)) && t4.ta.oy(h2, n4, false), !t4.ba.zj(a2))
  4541. throw t4.i.O();
  4542. if ((h2 = s4.Cb) != null && (h2 = h2.Gk) != null) {
  4543. if ((h2 = h2.So(n4)) == 1) {
  4544. if (a2 != 1736)
  4545. throw t4.i.ga("internal error");
  4546. return (s4 = new t4.Ea(s4.description)).vp(n4), s4;
  4547. }
  4548. if (h2 == 0)
  4549. return s4.Ja();
  4550. }
  4551. switch (a2) {
  4552. case 550:
  4553. for (o2 = null, a2 = s4.I(), h2 = s4.vb(0), r2 = 0, e2 = new t4.h(), u2 = 0; u2 < a2; u2++)
  4554. h2.uc(2 * u2, e2), n4.contains(e2) || (r2 == 0 && (o2 = s4.Ja()), r2 < u2 && o2.Gd(s4, r2, u2), r2 = u2 + 1);
  4555. return 0 < r2 && o2.Gd(s4, r2, a2), r2 == 0 ? s4 : o2;
  4556. case 1736:
  4557. case 1607:
  4558. return i5.wy(s4, n4, e2, o2);
  4559. default:
  4560. throw t4.i.ga("internal error");
  4561. }
  4562. }, i5.prototype.Oh = function(i6, s4) {
  4563. var n4 = new t4.h();
  4564. return this.g.D(i6, n4), i6 = new t4.h(), this.g.D(s4, i6), n4.compare(i6);
  4565. }, i5;
  4566. }();
  4567. t4.ti = i4;
  4568. }(V || (V = {})), function(t4) {
  4569. var i4 = new t4.h(), s4 = function() {
  4570. function i5(i6, s5, n5, h2, r2) {
  4571. this.Rm = new t4.h(), this.Ek = new t4.h(), this.Ri = new t4.h(), this.g = i6, this.Cw = n5, this.oo = h2, this.Rm = s5, this.Al = r2, this.Ek.Sc(), this.Ri.Sc();
  4572. }
  4573. return i5.prototype.rE = function(i6) {
  4574. this.g.D(i6, this.Ek), i6 = t4.P.truncate((this.Ek.x - this.Rm.x) * this.oo + 0.5);
  4575. var s5 = t4.P.truncate((this.Ek.y - this.Rm.y) * this.oo + 0.5);
  4576. return n4.dG(i6, s5);
  4577. }, i5.prototype.ez = function(t5) {
  4578. return this.g.Qa(t5, this.Al);
  4579. }, i5.prototype.Ky = function(t5, i6) {
  4580. return this.g.D(t5, this.Ek), this.g.D(i6, this.Ri), n4.Ev(this.Ek.x, this.Ek.y, this.Ri.x, this.Ri.y, this.Cw);
  4581. }, i5;
  4582. }();
  4583. t4.kY = function() {
  4584. };
  4585. var n4 = function() {
  4586. function n5() {
  4587. this.Rm = new t4.h(), this.rq = [0, 0, 0, 0], this.zs = [0, 0, 0, 0], this.ro = this.Al = -1;
  4588. }
  4589. return n5.cQ = function(t5, i5) {
  4590. var s5 = new n5();
  4591. return s5.g = t5, s5.ra = i5, s5.Cw = i5 * i5, s5.bw = 2 * i5, s5.oo = 1 / s5.bw, s5.vO();
  4592. }, n5.Ev = function(t5, i5, s5, n6, h2) {
  4593. return (t5 -= s5) * t5 + (i5 -= n6) * i5 <= h2;
  4594. }, n5.dG = function(i5, s5) {
  4595. return t4.P.Vh(s5, t4.P.Vh(i5));
  4596. }, n5.prototype.xO = function(s5, h2) {
  4597. this.g.Hc(s5, i4);
  4598. for (var r2 = (i4.y - this.Rm.y) * this.oo, e2 = t4.P.truncate((i4.x - this.Rm.x) * this.oo), o2 = t4.P.truncate(r2), a2 = r2 = 0; 1 >= a2; a2 += 1)
  4599. for (var u2 = 0; 1 >= u2; u2 += 1) {
  4600. var f2 = n5.dG(e2 + a2, o2 + u2), c2 = this.zl.kR(f2);
  4601. c2 != -1 && (this.rq[r2] = c2, this.zs[r2] = f2, r2++);
  4602. }
  4603. for (e2 = r2 - 1; 1 <= e2; e2--)
  4604. for (c2 = this.rq[e2], o2 = e2 - 1; 0 <= o2; o2--)
  4605. if (c2 == this.rq[o2]) {
  4606. this.zs[o2] = -1, e2 != --r2 && (this.zs[e2] = this.zs[r2], this.rq[e2] = this.rq[r2]);
  4607. break;
  4608. }
  4609. for (o2 = 0; o2 < r2; o2++)
  4610. this.yO(s5, this.zs[o2], i4, this.rq[o2], h2);
  4611. }, n5.prototype.yO = function(i5, s5, h2, r2, e2) {
  4612. for (var o2 = new t4.h(); r2 != -1; r2 = this.zl.yR(r2)) {
  4613. var a2 = this.zl.ka(r2);
  4614. i5 == a2 || s5 != -1 && this.g.Qa(a2, this.Al) != s5 || (this.g.Hc(a2, o2), n5.Ev(h2.x, h2.y, o2.x, o2.y, this.Cw) && e2.add(r2));
  4615. }
  4616. }, n5.prototype.Zm = function(t5, i5, s5) {
  4617. var n6 = this.g.Qa(t5, this.ro), h2 = this.g.Qa(i5, this.ro);
  4618. return n6 == -1 && (n6 = this.Ad.Rh(), this.Ad.addElement(n6, t5), this.g.Sa(t5, this.ro, n6)), h2 == -1 ? this.Ad.addElement(n6, i5) : this.Ad.Cy(n6, h2), this.g.Sa(i5, this.ro, -2), i5 = this.QT(t5, i5), s5 && (s5 = this.mw.rE(t5), this.g.Sa(t5, this.Al, s5)), i5;
  4619. }, n5.OT = function(i5, s5, h2) {
  4620. i5.Nb(s5), h2 = i5;
  4621. var r2 = new t4.h();
  4622. n5.PT(i5.D(), s5.D(), r2), h2.Db(r2);
  4623. }, n5.PT = function(t5, i5, s5) {
  4624. var n6 = t5.x;
  4625. t5.x != i5.x && (n6 = (1 * t5.x + 1 * i5.x) / 2);
  4626. var h2 = t5.y;
  4627. t5.y != i5.y && (h2 = (1 * t5.y + 1 * i5.y) / 2), s5.na(n6, h2);
  4628. }, n5.prototype.QT = function(i5, s5) {
  4629. var n6 = new t4.h();
  4630. this.g.D(i5, n6);
  4631. var h2 = new t4.h();
  4632. this.g.D(s5, h2);
  4633. var r2 = this.g.XF(i5), e2 = r2 + (s5 = this.g.XF(s5)), o2 = 0, a2 = n6.x;
  4634. n6.x != h2.x && (a2 = (n6.x * r2 + h2.x * s5) / e2, o2++);
  4635. var u2 = n6.y;
  4636. return n6.y != h2.y && (u2 = (n6.y * r2 + h2.y * s5) / e2, o2++), 0 < o2 && this.g.Db(i5, a2, u2), this.g.nX(i5, e2), o2 != 0;
  4637. }, n5.prototype.vO = function() {
  4638. var i5 = this.g.gd, n6 = this.g.CF();
  4639. for (this.Rm = n6.hz(), n6 = Math.max(n6.da(), n6.S()) / 2147483646, this.bw < n6 && (this.bw = n6, this.oo = 1 / this.bw), this.Ad = new t4.cu(), this.Ad.Bt(t4.P.truncate(this.g.gd / 3 + 1)), this.Ad.hn(t4.P.truncate(this.g.gd / 3 + 1)), this.Al = this.g.Hd(), this.ro = this.g.Hd(), this.mw = new s4(this.g, this.Rm, this.Cw, this.oo, this.Al), this.zl = new t4.YK(t4.P.truncate(4 * i5 / 3), this.mw), this.zl.sW(this.g.gd), i5 = false, n6 = this.g.ld; n6 != -1; n6 = this.g.ve(n6))
  4640. for (var h2 = this.g.Ob(n6); h2 != -1; h2 = this.g.Sb(h2))
  4641. for (var r2 = this.g.Ya(h2), e2 = 0, o2 = this.g.Ka(h2); e2 < o2; e2++) {
  4642. var a2 = this.mw.rE(r2);
  4643. this.g.Sa(r2, this.Al, a2), this.zl.addElement(r2, a2), r2 = this.g.V(r2);
  4644. }
  4645. var u2 = new t4.ja(0);
  4646. for (u2.Jb(10), n6 = this.g.ld; n6 != -1; n6 = this.g.ve(n6))
  4647. for (h2 = this.g.Ob(n6); h2 != -1; h2 = this.g.Sb(h2))
  4648. for (r2 = this.g.Ya(h2), e2 = 0, o2 = this.g.Ka(h2); e2 < o2; e2++) {
  4649. if (this.g.Qa(r2, this.ro) != -2)
  4650. for (a2 = this.g.Qa(r2, this.Al), this.zl.kd(r2, a2); this.xO(r2, u2), u2.size != 0; ) {
  4651. a2 = false;
  4652. for (var f2 = 0, c2 = u2.size; f2 < c2; f2++) {
  4653. var l2 = u2.get(f2), p2 = this.zl.ka(l2);
  4654. this.zl.wd(l2), a2 = this.Zm(r2, p2, f2 + 1 == c2) || a2;
  4655. }
  4656. if (i5 = i5 || a2, u2.clear(false), !a2)
  4657. break;
  4658. }
  4659. r2 = this.g.V(r2);
  4660. }
  4661. return i5 && this.pN(), this.mw = this.zl = null, this.g.Ud(this.Al), this.g.Ud(this.ro), i5;
  4662. }, n5.prototype.pN = function() {
  4663. for (var i5 = new t4.h(), s5 = this.Ad.je; s5 != -1; s5 = this.Ad.lz(s5)) {
  4664. var n6 = this.Ad.sc(s5);
  4665. for (this.g.D(this.Ad.ka(n6), i5), n6 = this.Ad.lb(n6); n6 != -1; n6 = this.Ad.lb(n6))
  4666. this.g.mf(this.Ad.ka(n6), i5);
  4667. }
  4668. }, n5;
  4669. }();
  4670. t4.$t = n4;
  4671. }(V || (V = {})), function(t4) {
  4672. var i4 = function() {
  4673. function i5(t5) {
  4674. t5 === void 0 && (t5 = null), this.yg = null, this.Pb = false, this.yg = t5 === null ? [] : t5;
  4675. }
  4676. return i5.prototype.copyTo = function(i6) {
  4677. if (i6.Pb)
  4678. throw t4.i.ga("CompositeGeographicTransformation is read-only");
  4679. for (var s4 = 0; s4 < this.yg.length; s4++)
  4680. i6.yg.push(this.yg[s4].Pf());
  4681. }, i5.prototype.count = function() {
  4682. return this.yg.length;
  4683. }, i5.prototype.add = function(i6) {
  4684. if (this.Pb)
  4685. throw t4.i.ga("CompositeGeographicTransformation is read-only");
  4686. this.yg.push(i6.Pf());
  4687. }, i5.prototype.clear = function() {
  4688. if (this.Pb)
  4689. throw t4.i.ga("CompositeGeographicTransformation is read-only");
  4690. this.yg.length = 0;
  4691. }, i5.prototype.remove = function(i6) {
  4692. if (this.Pb)
  4693. throw t4.i.ga("CompositeGeographicTransformation is read-only");
  4694. this.yg.splice(i6, 1);
  4695. }, i5.prototype.ig = function() {
  4696. var t5 = new i5();
  4697. return this.copyTo(t5), t5;
  4698. }, i5.prototype.Pf = function() {
  4699. return this.ig();
  4700. }, i5.prototype.transform = function(i6, s4, n4, h2) {
  4701. if (i6.length < s4)
  4702. throw t4.i.ga("invalid Argument");
  4703. var r2 = n4;
  4704. for (n4 = 0; n4 < this.yg.length; n4++) {
  4705. var e2 = this.yg[n4];
  4706. if (e2.sm() != null) {
  4707. var o2 = e2.Vn, a2 = o2 ? 1 : 0, u2 = o2 ? e2.sm().getGeogcs2() : e2.sm().getGeogcs1();
  4708. if (u2 = r2 / (u2 = u2.getUnit().getUnitFactor()), 3552713678800501e-30 < Math.abs(u2 - 1))
  4709. for (r2 = 0; r2 < s4; r2++)
  4710. i6[r2][0] *= u2, i6[r2][1] *= u2;
  4711. t4.GC.geogToGeog(e2.sm(), s4, i6, null, a2), r2 = (o2 ? e2.sm().getGeogcs1() : e2.sm().getGeogcs2()).getUnit().getUnitFactor();
  4712. }
  4713. }
  4714. if (u2 = r2 / h2, 3552713678800501e-30 < Math.abs(u2 - 1))
  4715. for (r2 = 0; r2 < s4; r2++)
  4716. i6[r2][0] *= u2, i6[r2][1] *= u2;
  4717. return s4;
  4718. }, i5.prototype.Nb = function(t5) {
  4719. if (t5 == this)
  4720. return true;
  4721. if (!(t5 instanceof i5) || this.yg.length != t5.yg.length)
  4722. return false;
  4723. for (var s4 = 0; s4 < this.yg.length; s4++)
  4724. if (!this.yg[s4].Nb(t5.yg[s4]))
  4725. return false;
  4726. return true;
  4727. }, i5.prototype.ix = function() {
  4728. this.Pb = true;
  4729. }, i5.prototype.toString = function() {
  4730. for (var t5 = "CGT (" + this.count() + ") ", i6 = 0, s4 = this.count(); i6 < s4; ++i6)
  4731. t5 += this.yg[i6].toString() + ", ";
  4732. return 200 < t5.length ? t5.substring(0, 197) + "... (" + t5.length.toString() + " characters)" : t5;
  4733. }, i5.create = function() {
  4734. return new i5();
  4735. }, i5;
  4736. }();
  4737. t4.qC = i4;
  4738. }(V || (V = {})), function(t4) {
  4739. var i4, s4 = Math.PI, n4 = 2 * Math.PI, h2 = Math.PI / 2, r2 = function() {
  4740. function t5() {
  4741. }
  4742. return t5.NO = function(i5, s5) {
  4743. var n5 = new t5();
  4744. return n5.x = i5, n5.y = s5, n5.type = 0, n5.Wh = 0, n5;
  4745. }, t5.cl = function(i5) {
  4746. var s5 = new t5();
  4747. return s5.x = i5.x, s5.y = i5.y, s5.type = 0, s5.Wh = 0, s5;
  4748. }, t5.MO = function(i5) {
  4749. var s5 = new t5();
  4750. return s5.x = i5.x, s5.y = i5.y, s5.type = i5.type, s5.Wh = i5.Wh, s5;
  4751. }, t5.Qd = function(i5, s5, n5) {
  4752. var h3 = new t5();
  4753. return h3.x = i5.x + s5 * Math.cos(n5), h3.y = i5.y + s5 * Math.sin(n5), h3.type = i5.type, h3.Wh = i5.Wh, h3;
  4754. }, t5.Ru = function(i5, s5) {
  4755. var n5 = new t5();
  4756. return n5.x = 0.5 * (i5.x + s5.x), n5.y = 0.5 * (i5.y + s5.y), n5.type = i5.type, n5.Wh = i5.Wh, n5;
  4757. }, t5.NE = function(i5, s5) {
  4758. var n5 = new t5();
  4759. return n5.x = i5.x + 1e-3 * (s5.x - i5.x), n5.y = i5.y + 1e-3 * (s5.y - i5.y), n5.type = i5.type, n5.Wh = i5.Wh, n5;
  4760. }, t5;
  4761. }(), e2 = function() {
  4762. };
  4763. (i4 = t4.$K || (t4.$K = {}))[i4.Round = 0] = "Round", i4[i4.Bevel = 1] = "Bevel", i4[i4.Miter = 2] = "Miter", i4[i4.Square = 3] = "Square";
  4764. var o2 = function() {
  4765. function i5(t5) {
  4766. this.HA = this.Zb = this.wg = null, this.nd = t5;
  4767. }
  4768. return i5.W = function(s5, n5, h3, r3, e3, o3) {
  4769. if (s5 == null)
  4770. throw t4.i.O();
  4771. if (1 > s5.Eb())
  4772. throw t4.i.O();
  4773. return n5 == 0 || s5.B() ? s5 : ((o3 = new i5(o3)).lo = s5, o3.La = n5, o3.ra = e3, o3.Mi = h3, o3.wA = r3, o3.Qx());
  4774. }, i5.prototype.ZL = function() {
  4775. var i6 = this.lo, s5 = i6.ac(), n5 = i6.xc(), h3 = new t4.h();
  4776. return h3.vc(n5, s5), h3.normalize(), h3.Jv(), h3.scale(this.La), s5.add(h3), n5.add(h3), h3 = i6.Ja(), i6.Ec(s5), i6.Rc(n5), h3;
  4777. }, i5.prototype.YL = function() {
  4778. var i6 = this.lo;
  4779. if (0 < this.La && this.Mi != 2) {
  4780. var s5 = new t4.Ea();
  4781. return s5.bd(i6, false), this.lo = s5, this.Qx();
  4782. }
  4783. return (i6 = new t4.Hh(i6.aa)).X(this.La, this.La), i6;
  4784. }, i5.prototype.nJ = function(t5, i6, s5, n5) {
  4785. return (i6.x - t5.x) * (n5.x - s5.x) + (i6.y - t5.y) * (n5.y - s5.y);
  4786. }, i5.prototype.hc = function(t5, i6) {
  4787. if (i6 === void 0)
  4788. this.Zb.push(t5), this.gf++;
  4789. else if (this.gf == 0)
  4790. this.hc(t5);
  4791. else {
  4792. var s5 = this.Dw, n5 = this.wg[i6 == 0 ? s5 - 1 : i6 - 1], e3 = this.wg[i6], o3 = this.nJ(n5, e3, this.Zb[this.gf - 1], t5);
  4793. 0 < o3 ? this.hc(t5) : 0 > o3 && (0 < this.nJ(n5, e3, e3, this.Zb[this.gf - 1]) ? (e3 = this.wg[i6 == 0 ? s5 - 2 : i6 == 1 ? s5 - 1 : i6 - 2], s5 = r2.Qd(n5, this.La, Math.atan2(n5.y - e3.y, n5.x - e3.x) - h2), this.Zb[this.gf - 1] = s5, this.Mi == 1 || this.Mi == 2 ? (s5 = r2.Ru(s5, n5), this.hc(s5), s5 = r2.Qd(n5, this.La, this.Lv + h2), (n5 = r2.Ru(s5, n5)).type |= 256, this.hc(n5)) : (s5 = r2.Qd(n5, this.La, this.Lv + h2)).type |= 256, this.hc(s5), this.hc(t5, i6)) : (s5 = r2.Qd(e3, this.La, this.Lv + h2), this.hc(s5), this.Mi == 1 || this.Mi == 2 ? (s5 = r2.Ru(s5, e3), this.hc(s5), s5 = r2.Qd(e3, this.La, this.Wz - h2), (n5 = r2.Ru(s5, e3)).type |= 256, this.hc(n5)) : (s5 = r2.Qd(e3, this.La, this.Wz - h2)).type |= 256, this.hc(s5)));
  4794. }
  4795. }, i5.prototype.gE = function() {
  4796. var i6, e3 = this.Dw;
  4797. this.gf = 0;
  4798. var o3 = 0.5 * this.ra, a2 = 0, u2 = 0;
  4799. for (i6 = 0; i6 < e3; i6++) {
  4800. var f2 = this.wg[i6], c2 = i6 == 0 ? this.wg[e3 - 1] : this.wg[i6 - 1], l2 = i6 == e3 - 1 ? this.wg[0] : this.wg[i6 + 1], p2 = c2.x - f2.x, v2 = c2.y - f2.y, y2 = l2.x - f2.x, b2 = l2.y - f2.y, d2 = Math.atan2(v2, p2), g2 = Math.atan2(b2, y2);
  4801. if (this.Lv = d2, this.Wz = g2, i6 == 0 && (a2 = d2, u2 = g2), p2 = p2 * b2 - y2 * v2, v2 = g2, g2 < d2 && (g2 += n4), 0 < p2 * this.La)
  4802. this.Mi == 1 || this.Mi == 2 ? (d2 = r2.Qd(f2, this.La, d2 + h2), this.hc(d2), d2 = r2.NE(f2, d2), this.hc(d2), d2 = r2.Qd(f2, this.La, g2 - h2), (f2 = r2.NE(f2, d2)).type |= 256, this.hc(f2), this.hc(d2)) : (p2 = 0.5 * (g2 - d2), p2 = this.La / Math.abs(Math.sin(p2)), d2 = r2.Qd(f2, p2, 0.5 * (d2 + g2)), this.hc(d2, i6));
  4803. else if ((512 & f2.type) != 0) {
  4804. for (p2 = 1 - o3 / Math.abs(this.La), c2 = 1, l2 = 0 > this.La ? -s4 : s4, -1 < p2 && 1 > p2 && (0.017453292519943295 > (v2 = 2 * Math.acos(p2)) && (v2 = 0.017453292519943295), 1 < (c2 = t4.P.truncate(s4 / v2 + 1.5)) && (l2 /= c2)), v2 = d2 + h2, d2 = r2.Qd(f2, this.La, v2), i6 == 0 && (d2.type |= 1024), this.hc(d2, i6), p2 = this.La / Math.cos(l2 / 2), v2 += l2 / 2, (d2 = r2.Qd(f2, p2, v2)).type |= 1024, this.hc(d2); 0 < --c2; )
  4805. v2 += l2, (d2 = r2.Qd(f2, p2, v2)).type |= 1024, this.hc(d2);
  4806. (d2 = r2.Qd(f2, this.La, g2 - h2)).type |= 1024, this.hc(d2);
  4807. } else if (this.Mi == 1)
  4808. d2 = r2.Qd(f2, this.La, d2 + h2), this.hc(d2, i6), d2 = r2.Qd(f2, this.La, g2 - h2), this.hc(d2);
  4809. else if (this.Mi == 0)
  4810. for (p2 = 1 - o3 / Math.abs(this.La), c2 = 1, l2 = g2 - h2 - (d2 + h2), -1 < p2 && 1 > p2 && (0.017453292519943295 > (v2 = 2 * Math.acos(p2)) && (v2 = 0.017453292519943295), 1 < (c2 = t4.P.truncate(Math.abs(l2) / v2 + 1.5)) && (l2 /= c2)), p2 = this.La / Math.cos(0.5 * l2), v2 = d2 + h2 + 0.5 * l2, d2 = r2.Qd(f2, p2, v2), this.hc(d2, i6); 0 < --c2; )
  4811. v2 += l2, d2 = r2.Qd(f2, p2, v2), this.hc(d2);
  4812. else
  4813. this.Mi == 2 ? (p2 = c2.x - f2.x, v2 = c2.y - f2.y, 0.99999999 < (c2 = (p2 * (y2 = l2.x - f2.x) + v2 * (b2 = l2.y - f2.y)) / Math.sqrt(p2 * p2 + v2 * v2) / Math.sqrt(y2 * y2 + b2 * b2)) ? (d2 = r2.Qd(f2, 1.4142135623730951 * this.La, g2 - 0.25 * s4), this.hc(d2, i6), d2 = r2.Qd(f2, 1.4142135623730951 * this.La, g2 + 0.25 * s4), this.hc(d2)) : (c2 = Math.abs(this.La / Math.sin(0.5 * Math.acos(c2)))) > (l2 = Math.abs(this.wA * this.La)) ? (p2 = 0.5 * (g2 - d2), p2 = this.La / Math.abs(Math.sin(p2)), d2 = r2.Qd(f2, p2, 0.5 * (d2 + g2)), g2 = t4.h.construct(d2.x, d2.y), d2 = t4.h.construct(f2.x, f2.y), (f2 = new t4.h()).vc(g2, d2), (g2 = new t4.h()).yW(l2 / f2.length(), f2, d2), d2 = (c2 - l2) * Math.abs(this.La) / Math.sqrt(c2 * c2 - this.La * this.La), 0 < this.La ? f2.Jv() : f2.cr(), f2.scale(d2 / f2.length()), (d2 = new t4.h()).add(g2, f2), (c2 = new t4.h()).vc(g2, f2), d2 = r2.cl(d2), this.hc(d2, i6), d2 = r2.cl(c2), this.hc(d2)) : (p2 = 0.5 * (g2 - d2), p2 = this.La / Math.abs(Math.sin(p2)), d2 = r2.Qd(f2, p2, 0.5 * (d2 + g2)), this.hc(d2, i6))) : (g2 = v2, 0 < this.La ? (g2 > d2 && (g2 -= n4), c2 = d2 - g2 < h2) : (g2 < d2 && (g2 += n4), c2 = g2 - d2 < h2), c2 ? (v2 = 0 > (p2 = 1.4142135623730951 * this.La) ? d2 + 0.25 * s4 : d2 + 0.75 * s4, d2 = r2.Qd(f2, p2, v2), this.hc(d2, i6), v2 = 0 > p2 ? g2 - 0.25 * s4 : g2 - 0.75 * s4, d2 = r2.Qd(f2, p2, v2), this.hc(d2)) : (p2 = 0.5 * (g2 - d2), p2 = this.La / Math.abs(Math.sin(p2)), g2 < d2 && (g2 += n4), d2 = r2.Qd(f2, p2, (d2 + g2) / 2), this.hc(d2, i6)));
  4814. }
  4815. return this.Lv = a2, this.Wz = u2, this.hc(this.Zb[0], 0), f2 = r2.MO(this.Zb[this.gf - 1]), this.Zb[0] = f2, this.oW();
  4816. }, i5.prototype.Cu = function(i6, s5) {
  4817. if (!(2 > s5))
  4818. for (var n5 = 0; n5 < s5; n5++) {
  4819. var h3 = this.Zb[i6 + n5];
  4820. n5 != 0 ? this.HA.Ei(t4.h.construct(h3.x, h3.y)) : this.HA.Nt(t4.h.construct(h3.x, h3.y));
  4821. }
  4822. }, i5.prototype.$L = function(t5, i6, s5) {
  4823. var n5 = t5.Ca(i6), h3 = t5.Wc(i6);
  4824. if (this.Zb = [], this.HA = s5, t5.ec(i6)) {
  4825. for (i6 = t5.Oa(n5); t5.Oa(h3 - 1).rb(i6); )
  4826. h3--;
  4827. if (2 <= h3 - n5) {
  4828. for (this.Dw = h3 - n5, this.wg = [], i6 = n5; i6 < h3; i6++)
  4829. this.wg.push(r2.cl(t5.Oa(i6)));
  4830. this.gE() && this.Cu(0, this.gf - 1);
  4831. }
  4832. } else {
  4833. for (i6 = t5.Oa(n5); n5 < h3 && t5.Oa(n5 + 1).rb(i6); )
  4834. n5++;
  4835. for (i6 = t5.Oa(h3 - 1); n5 < h3 && t5.Oa(h3 - 2).rb(i6); )
  4836. h3--;
  4837. if (2 <= h3 - n5) {
  4838. for (this.Dw = 2 * (h3 - n5) - 2, this.wg = [], (s5 = r2.cl(t5.Oa(n5))).type |= 1536, this.wg.push(s5), i6 = n5 + 1; i6 < h3 - 1; i6++)
  4839. s5 = r2.cl(t5.Oa(i6)), this.wg.push(s5);
  4840. for ((s5 = r2.cl(t5.Oa(h3 - 1))).type |= 512, this.wg.push(s5), i6 = h3 - 2; i6 >= n5 + 1; i6--)
  4841. (s5 = r2.cl(t5.Oa(i6))).type |= 1024, this.wg.push(s5);
  4842. if (this.gE())
  4843. if (2 <= this.Zb.length) {
  4844. for (t5 = -1, (h3 = (1024 & this.Zb[this.gf - 1].type) != 0) || (t5 = 0), i6 = 1; i6 < this.gf; i6++)
  4845. (n5 = (1024 & this.Zb[i6].type) != 0) ? h3 || 1 < (h3 = i6 - 1) - t5 + 1 && this.Cu(t5, h3 - t5 + 1) : h3 && (t5 = i6 - 1), h3 = n5;
  4846. h3 || 1 < (h3 = this.gf - 1) - t5 + 1 && this.Cu(t5, h3 - t5 + 1);
  4847. } else
  4848. t5 = 0, h3 = this.gf - 1, 0 <= t5 && 1 <= h3 - t5 && this.Cu(t5, h3 - t5 + 1);
  4849. }
  4850. }
  4851. this.wg = null, this.Dw = 0, this.Zb = null, this.gf = 0;
  4852. }, i5.prototype.oW = function() {
  4853. for (var t5 = false, i6 = 0; i6 < this.gf; i6++) {
  4854. var s5 = this.Zb[i6];
  4855. s5.sh = i6 + 1, s5.uh = i6 - 1, this.Zb[i6] = s5;
  4856. }
  4857. for ((s5 = this.Zb[0]).uh = this.gf - 2, this.Zb[0] = s5, (s5 = this.Zb[this.gf - 2]).sh = 0, this.Zb[this.gf - 2] = s5, i6 = s5 = 0; i6 < this.gf; i6++)
  4858. if ((256 & this.Zb[s5].type) != 0) {
  4859. var n5 = this.AP(s5);
  4860. if (n5 == -1) {
  4861. t5 = true;
  4862. break;
  4863. }
  4864. s5 = n5;
  4865. } else
  4866. s5 = this.Zb[s5].sh;
  4867. return !t5 && (this.KO(s5), true);
  4868. }, i5.prototype.AP = function(t5) {
  4869. for (var i6, s5, n5 = this.gf - 1, h3 = t5, r3 = 1; r3 <= n5 - 2; r3++) {
  4870. i6 = h3 = this.Zb[h3].sh, s5 = t5;
  4871. for (var e3 = 1; e3 <= r3; e3++) {
  4872. if (s5 = this.Zb[s5].uh, (256 & this.Zb[s5].type) == 0 && (256 & this.Zb[i6].type) == 0) {
  4873. var o3 = this.$R(s5, i6);
  4874. if (o3 != -1)
  4875. return o3;
  4876. }
  4877. i6 = this.Zb[i6].uh;
  4878. }
  4879. }
  4880. return -1;
  4881. }, i5.prototype.$R = function(i6, s5) {
  4882. var n5 = this.Zb[this.Zb[i6].uh], h3 = this.Zb[i6], r3 = this.Zb[this.Zb[s5].uh], o3 = this.Zb[s5];
  4883. if (!this.AW(n5, h3, r3, o3))
  4884. return -1;
  4885. var a2 = new e2();
  4886. return this.rQ(n5, h3, r3, o3, a2) && !a2.WD && t4.P.WJ((h3.x - n5.x) * (o3.y - r3.y) - (h3.y - n5.y) * (o3.x - r3.x)) != t4.P.WJ(this.La) ? (n5 = this.Zb[i6].uh, a2.cn.type = h3.type, a2.cn.sh = s5, a2.cn.uh = n5, this.Zb[i6] = a2.cn, a2.cn = this.Zb[s5], a2.cn.uh = i6, this.Zb[s5] = a2.cn, s5) : -1;
  4887. }, i5.prototype.AW = function(t5, i6, s5, n5) {
  4888. return Math.max(t5.x, i6.x) >= Math.min(s5.x, n5.x) && Math.max(s5.x, n5.x) >= Math.min(t5.x, i6.x) && Math.max(t5.y, i6.y) >= Math.min(s5.y, n5.y) && Math.max(s5.y, n5.y) >= Math.min(t5.y, i6.y);
  4889. }, i5.prototype.rQ = function(t5, i6, s5, n5, h3) {
  4890. h3.WD = false;
  4891. var e3 = (i6.y - t5.y) * (n5.x - s5.x) - (i6.x - t5.x) * (n5.y - s5.y), o3 = (s5.y - t5.y) * (i6.x - t5.x) - (s5.x - t5.x) * (i6.y - t5.y);
  4892. if (0 <= (e3 = e3 == 0 ? 2 : o3 / e3) && 1 >= e3) {
  4893. var a2 = e3;
  4894. if (e3 = (n5.y - s5.y) * (i6.x - t5.x) - (n5.x - s5.x) * (i6.y - t5.y), o3 = (t5.y - s5.y) * (n5.x - s5.x) - (t5.x - s5.x) * (n5.y - s5.y), 0 <= (e3 = e3 == 0 ? 2 : o3 / e3) && 1 >= e3)
  4895. return h3.cn = r2.NO(t5.x + e3 * (i6.x - t5.x), t5.y + e3 * (i6.y - t5.y)), h3.cn.Wh = s5.Wh + a2 * (n5.Wh - s5.Wh), a2 != 0 && a2 != 1 || e3 != 0 && e3 != 1 || (h3.WD = true), h3.NY = e3, h3.OY = a2, !((a2 == 0 || a2 == 1) && 0 < e3 && 1 > e3 || (e3 == 0 || e3 == 1) && 0 < a2 && 1 > a2);
  4896. }
  4897. return false;
  4898. }, i5.prototype.KO = function(t5) {
  4899. for (; this.Zb[t5].uh < t5; )
  4900. t5 = this.Zb[t5].uh;
  4901. var i6 = 0, s5 = t5;
  4902. do {
  4903. s5 = this.Zb[s5], this.Zb[i6] = s5, s5 = s5.sh, i6++;
  4904. } while (s5 != t5);
  4905. this.Zb[i6] = this.Zb[0], this.gf = i6 + 1;
  4906. }, i5.prototype.UC = function(t5) {
  4907. var i6 = this.lo, s5 = i6.Ha();
  4908. if (s5 != null) {
  4909. s5.aj();
  4910. for (var n5 = -1; s5.ab(); )
  4911. n5++, this.$L(i6, n5, t5);
  4912. }
  4913. }, i5.prototype.Qx = function() {
  4914. var i6 = this.lo.K();
  4915. return i6 == 322 ? this.ZL() : i6 == 197 ? this.YL() : t4.ba.zd(i6) ? ((i6 = new t4.Ua()).oc(this.lo, true), this.lo = i6, this.Qx()) : i6 == 1607 ? (i6 = new t4.Ua(), this.UC(i6), i6) : i6 == 1736 ? (i6 = new t4.Ea(), this.UC(i6), i6) : null;
  4916. }, i5;
  4917. }();
  4918. t4.CK = o2;
  4919. }(V || (V = {})), function(t4) {
  4920. var i4 = function() {
  4921. function t5(t6) {
  4922. this.rk = t6;
  4923. }
  4924. return t5.prototype.D = function(t6, i5) {
  4925. this.rk.g.D(t6, i5);
  4926. }, t5.prototype.wd = function(t6) {
  4927. var i5 = this.rk.Ga.ka(t6);
  4928. this.rk.Ga.wd(t6, -1), this.rk.g.pd(i5, false);
  4929. }, t5;
  4930. }(), s4 = function() {
  4931. function t5(t6) {
  4932. this.rk = t6;
  4933. }
  4934. return t5.prototype.D = function(t6, i5) {
  4935. this.rk.AT.D(t6, i5);
  4936. }, t5.prototype.wd = function(t6) {
  4937. this.rk.Ga.wd(t6, -1);
  4938. }, t5;
  4939. }(), n4 = function() {
  4940. function t5(t6) {
  4941. this.rk = t6;
  4942. }
  4943. return t5.prototype.D = function(t6, i5) {
  4944. i5.N(this.rk.DT[t6]);
  4945. }, t5.prototype.wd = function(t6) {
  4946. this.rk.Ga.wd(t6, -1);
  4947. }, t5;
  4948. }(), h2 = function() {
  4949. function h3(h4) {
  4950. h4 === void 0 ? (this.Ga = new t4.Zj(), this.Ga.Ee(20), this.g = new t4.hd(), this.oT = this.g.Kg(550), this.Us = this.g.wf(this.oT, -1), this.Zh = new i4(this)) : h4 instanceof Array ? (this.Ga = new t4.Zj(), this.Ga.Ee(20), this.DT = h4, this.Zh = new n4(this)) : (this.Ga = new t4.Zj(), this.Ga.Ee(20), this.AT = h4, this.Zh = new s4(this));
  4951. }
  4952. return h3.prototype.Ib = function(i5) {
  4953. var s5 = i5.K();
  4954. if (t4.Fx.zj(s5))
  4955. this.dN(i5);
  4956. else if (t4.Wk.zd(s5))
  4957. this.iN(i5);
  4958. else if (s5 == 197)
  4959. this.aN(i5);
  4960. else {
  4961. if (s5 != 33)
  4962. throw t4.i.O("invalid shape type");
  4963. this.hN(i5);
  4964. }
  4965. }, h3.prototype.XQ = function() {
  4966. var i5 = new t4.Ta(), s5 = this.Ga.sc(-1), n5 = new t4.Ea(this.g.it);
  4967. for (this.g.Xi(this.Ga.ka(s5), i5), n5.nf(i5), s5 = this.Ga.lb(s5); s5 != -1; s5 = this.Ga.lb(s5))
  4968. this.g.Xi(this.Ga.ka(s5), i5), n5.lineTo(i5);
  4969. return n5;
  4970. }, h3.LO = function(i5) {
  4971. var s5 = new h3(i5), n5 = i5.I(), r2 = 1, e2 = new t4.h(), o2 = new t4.h(), a2 = new t4.h();
  4972. for (i5.D(0, e2); i5.D(r2, o2), o2.Mz(e2) && r2 < n5 - 1; )
  4973. r2++;
  4974. for (s5.Ga.addElement(0, -1), s5.Ga.yn(r2), n5 = r2 + 1; n5 < i5.I(); n5++)
  4975. i5.D(n5, a2), (r2 = s5.jC(a2)) != -1 && s5.Ga.Uj(r2, n5);
  4976. for (a2 = new t4.Ta(), r2 = s5.Ga.sc(-1), n5 = new t4.Ea(i5.description), i5.we(s5.Ga.ka(r2), a2), n5.nf(a2), r2 = s5.Ga.lb(r2); r2 != -1; r2 = s5.Ga.lb(r2))
  4977. i5.we(s5.Ga.ka(r2), a2), n5.lineTo(a2);
  4978. return n5;
  4979. }, h3.construct = function(t5, i5, s5) {
  4980. for (var n5 = new h3(t5), r2 = 1, e2 = t5[0]; t5[r2].Mz(e2) && r2 < i5 - 1; )
  4981. r2++;
  4982. for (n5.Ga.addElement(0, -1), n5.Ga.yn(r2), r2 += 1; r2 < i5; r2++)
  4983. (e2 = n5.jC(t5[r2])) != -1 && n5.Ga.Uj(e2, r2);
  4984. for (t5 = 0, i5 = n5.Ga.sc(-1); i5 != -1; i5 = n5.Ga.lb(i5))
  4985. s5[t5++] = n5.Ga.ka(i5);
  4986. return t5;
  4987. }, h3.DG = function(i5, s5) {
  4988. var n5 = i5.Ca(s5), r2 = i5.Wc(s5);
  4989. if (s5 = !i5.ec(s5) && i5.On(s5), i5 = i5.vb(0), r2 *= 2, s5 && (r2 -= 2), 6 > r2 - (n5 *= 2))
  4990. return true;
  4991. s5 = new t4.h();
  4992. var e2 = new t4.h(), o2 = new t4.h();
  4993. i5.uc(n5, s5), i5.uc(n5 + 2, e2), i5.uc(n5 + 4, o2);
  4994. var a2 = h3.Yu(e2, o2, s5);
  4995. if (a2.rs() || !h3.wm(a2.value()))
  4996. return false;
  4997. var u2 = t4.h.construct(e2.x, e2.y), f2 = new t4.h();
  4998. for (n5 += 6; n5 < r2; n5 += 2) {
  4999. if (f2.N(e2), e2.N(o2), i5.uc(n5, o2), (a2 = h3.Yu(e2, o2, s5)).rs() || !h3.wm(a2.value()))
  5000. return false;
  5001. if ((a2 = h3.Yu(u2, o2, s5)).rs() || !h3.wm(a2.value()))
  5002. return false;
  5003. if ((a2 = h3.Yu(e2, o2, f2)).rs() || !h3.wm(a2.value()))
  5004. return false;
  5005. }
  5006. return true;
  5007. }, h3.prototype.dN = function(i5) {
  5008. for (var s5 = new t4.Ta(), n5 = new t4.h(), h4 = 0; h4 < i5.I(); h4++) {
  5009. i5.D(h4, n5);
  5010. var r2 = this.Er(n5);
  5011. if (r2 != -1) {
  5012. i5.we(h4, s5);
  5013. var e2 = this.g.hc(this.Us, s5);
  5014. this.Ga.Uj(r2, e2);
  5015. }
  5016. }
  5017. }, h3.prototype.aN = function(i5) {
  5018. for (var s5 = new t4.Ta(), n5 = new t4.h(), h4 = 0; 4 > h4; h4++) {
  5019. i5.gB(h4, n5);
  5020. var r2 = this.Er(n5);
  5021. if (r2 != -1) {
  5022. i5.If(h4, s5);
  5023. var e2 = this.g.hc(this.Us, s5);
  5024. this.Ga.Uj(r2, e2);
  5025. }
  5026. }
  5027. }, h3.prototype.iN = function(i5) {
  5028. var s5 = new t4.Ta(), n5 = i5.ac();
  5029. if ((n5 = this.Er(n5)) != -1) {
  5030. i5.Uo(s5);
  5031. var h4 = this.g.hc(this.Us, s5);
  5032. this.Ga.Uj(n5, h4);
  5033. }
  5034. n5 = i5.xc(), (n5 = this.Er(n5)) != -1 && (i5.Qo(s5), i5 = this.g.hc(this.Us, s5), this.Ga.Uj(n5, i5));
  5035. }, h3.prototype.hN = function(t5) {
  5036. var i5 = t5.D();
  5037. (i5 = this.Er(i5)) != -1 && (t5 = this.g.hc(this.Us, t5), this.Ga.Uj(i5, t5));
  5038. }, h3.prototype.Er = function(t5) {
  5039. var i5 = -1;
  5040. if (this.Ga.size(-1) == 0)
  5041. return this.Ga.addElement(-4, -1);
  5042. if (this.Ga.size(-1) == 1) {
  5043. var s5 = this.g.Oa(this.Ga.ka(this.Ga.sc(-1)));
  5044. return t5.Mz(s5) || (i5 = this.Ga.yn(-5)), i5;
  5045. }
  5046. return this.jC(t5);
  5047. }, h3.prototype.jC = function(i5) {
  5048. var s5 = -1;
  5049. do {
  5050. var n5 = this.Ga.sc(-1), r2 = this.Ga.Gc(-1), e2 = this.Ga.ka(n5), o2 = this.Ga.ka(r2), a2 = new t4.h(), u2 = new t4.h();
  5051. if (this.Zh.D(e2, a2), this.Zh.D(o2, u2), e2 = t4.h.Wq(u2, i5, a2), h3.wm(e2))
  5052. s5 = this.Ga.yn(-1), (a2 = this.hC(i5, r2, n5)) != n5 && this.iC(i5, n5, this.Ga.xe(a2));
  5053. else if (h3.wG(e2)) {
  5054. u2 = this.Ga.uv(-1);
  5055. var f2 = this.Ga.sc(-1), c2 = this.Ga.Gc(-1);
  5056. for (e2 = new t4.h(), o2 = new t4.h(); f2 != this.Ga.xe(c2); ) {
  5057. var l2 = this.Ga.ka(u2);
  5058. this.Zh.D(l2, e2), l2 = t4.h.Wq(e2, i5, a2), h3.wG(l2) ? (c2 = u2, u2 = this.Ga.nl(u2)) : (f2 = u2, u2 = this.Ga.Zp(u2));
  5059. }
  5060. if (u2 = c2, a2 = f2, l2 = this.Ga.ka(u2), f2 = this.Ga.ka(a2), this.Zh.D(l2, e2), this.Zh.D(f2, o2), a2 != n5 && (e2 = t4.h.Wq(o2, i5, e2), !h3.wm(e2)))
  5061. continue;
  5062. s5 = this.Ga.Bu(a2, u2, -2, false), this.iC(i5, u2, r2), this.hC(i5, a2, n5);
  5063. } else
  5064. this.tb == null && (this.tb = new t4.zb()), this.tb.Ec(u2), this.tb.Rc(a2), 0 > (a2 = this.tb.fe(i5, true)) ? (a2 = this.Ga.xe(r2), this.Ga.wd(r2, -1), s5 = this.Ga.yn(-3), this.hC(i5, a2, n5)) : 1 < a2 && (a2 = this.Ga.lb(n5), this.Ga.wd(n5, -1), s5 = this.Ga.Bu(-1, a2, -3, false), this.iC(i5, a2, r2));
  5065. } while (0);
  5066. return s5;
  5067. }, h3.prototype.iC = function(i5, s5, n5) {
  5068. if (s5 != n5) {
  5069. var r2 = this.Ga.ka(s5), e2 = this.Ga.lb(s5), o2 = new t4.h(), a2 = new t4.h();
  5070. for (this.Zh.D(r2, o2); s5 != n5 && 2 < this.Ga.size(-1) && (this.Zh.D(this.Ga.ka(e2), a2), r2 = t4.h.Wq(a2, i5, o2), !h3.wm(r2)); )
  5071. r2 = s5, s5 = e2, o2.N(a2), e2 = this.Ga.lb(s5), this.Zh.wd(r2);
  5072. }
  5073. }, h3.prototype.hC = function(i5, s5, n5) {
  5074. if (s5 == n5)
  5075. return n5;
  5076. var r2 = this.Ga.ka(s5), e2 = this.Ga.xe(s5), o2 = new t4.h(), a2 = new t4.h();
  5077. for (this.Zh.D(r2, o2); s5 != n5 && 2 < this.Ga.size(-1) && (this.Zh.D(this.Ga.ka(e2), a2), r2 = t4.h.Wq(o2, i5, a2), !h3.wm(r2)); )
  5078. r2 = s5, s5 = e2, o2.N(a2), e2 = this.Ga.xe(s5), this.Zh.wd(r2);
  5079. return s5;
  5080. }, h3.Yu = function(i5, s5, n5) {
  5081. var h4 = new t4.Xb();
  5082. h4.set(s5.x), h4.sub(i5.x);
  5083. var r2 = new t4.Xb();
  5084. r2.set(n5.y), r2.sub(i5.y);
  5085. var e2 = new t4.Xb();
  5086. return e2.set(s5.y), e2.sub(i5.y), (s5 = new t4.Xb()).set(n5.x), s5.sub(i5.x), h4.Ag(r2), e2.Ag(s5), h4.sub(e2), h4;
  5087. }, h3.wm = function(t5) {
  5088. return 0 > t5;
  5089. }, h3.wG = function(t5) {
  5090. return 0 < t5;
  5091. }, h3;
  5092. }();
  5093. t4.au = h2;
  5094. }(V || (V = {})), function(t4) {
  5095. var i4 = function() {
  5096. function i5(t5) {
  5097. this.g = null, this.nH = true, this.nd = t5;
  5098. }
  5099. return i5.rU = function(i6, s4, n4) {
  5100. return i6 = t4.ta.Gr(i6), t4.$t.Ev(s4.Ng(), s4.kh(), n4.Ng(), n4.kh(), t4.mc.ox(i6));
  5101. }, i5.wO = function(i6, s4) {
  5102. var n4 = new t4.Ta();
  5103. return t4.$t.OT(i6, s4, n4), n4;
  5104. }, i5.W = function(t5, s4, n4, h2) {
  5105. return (n4 = new i5(n4)).g = t5, n4.ra = s4, n4.nH = h2, n4.yM();
  5106. }, i5.prototype.hM = function(i6) {
  5107. return t4.$t.cQ(this.g, i6);
  5108. }, i5.prototype.mM = function(i6) {
  5109. return t4.bu.W(this.g, i6, this.nd);
  5110. }, i5.prototype.yM = function() {
  5111. var i6 = this.ra, s4 = t4.ta.Gr(i6), n4 = 1.00001 * (i6 = t4.ta.lN(i6));
  5112. i6 *= 1.000001;
  5113. for (var h2 = false, r2 = 30 < this.g.gd + 10 ? 1e3 : (this.g.gd + 10) * (this.g.gd + 10), e2 = 0, o2 = this.g.cS(); ; e2++) {
  5114. if (e2 > r2)
  5115. throw t4.i.ga("Internal Error: max number of iterations exceeded");
  5116. var a2 = this.hM(s4);
  5117. if (h2 = h2 || a2, this.nH && (a2 = this.g.Ip(s4, true, false) != 0, h2 = h2 || a2), a2 = false, (e2 == 0 || o2 || t4.bu.eI(true, this.g, i6, null, this.nd)) && (a2 = this.mM(n4), h2 = h2 || a2), !a2)
  5118. break;
  5119. t4.np.Bp(this.nd);
  5120. }
  5121. return h2;
  5122. }, i5;
  5123. }();
  5124. t4.Uk = i4;
  5125. }(V || (V = {})), function(t4) {
  5126. var i4 = function() {
  5127. function i5(t5) {
  5128. this.ae = this.Nc = null, this.$s = 0, this.Vb = t5, this.Yz = true;
  5129. }
  5130. return i5.prototype.wv = function(t5, i6) {
  5131. var s5 = this.g.cc(t5);
  5132. if (s5 == null) {
  5133. if (!this.g.fd(t5, i6))
  5134. return null;
  5135. s5 = i6;
  5136. }
  5137. return s5;
  5138. }, i5.prototype.Zq = function() {
  5139. var i6;
  5140. i6 === void 0 && (i6 = false), this.$s++, (i6 || (4095 & this.$s) == 0) && (this.$s = 0, t4.np.Bp(this.Vb));
  5141. }, i5.prototype.hP = function() {
  5142. var i6 = this.g.$q(false), s5 = false, n4 = new t4.zb(), h2 = new t4.zb(), r2 = new t4.l();
  5143. r2.Pa();
  5144. var e2 = new t4.l();
  5145. e2.Pa();
  5146. for (var o2 = new t4.Ta(), a2 = new t4.NC(), u2 = i6.next(); u2 != -1; u2 = i6.next()) {
  5147. t4.np.Bp(this.Vb);
  5148. var f2 = null, c2 = false;
  5149. if (!t4.ba.Sn(this.g.jc(i6.dk))) {
  5150. if ((f2 = this.wv(u2, n4)) == null)
  5151. continue;
  5152. if (f2.A(r2), r2.X(this.ra, this.ra), f2.Di(this.ra)) {
  5153. if (!f2.Di(0))
  5154. continue;
  5155. c2 = true, f2 = null;
  5156. }
  5157. }
  5158. var l2 = this.g.$q(i6), p2 = l2.next();
  5159. for (p2 != -1 && (p2 = l2.next()); p2 != -1; p2 = l2.next()) {
  5160. var v2 = null, y2 = false;
  5161. if (!t4.ba.Sn(this.g.jc(l2.dk))) {
  5162. if ((v2 = this.wv(p2, h2)) == null)
  5163. continue;
  5164. if (v2.A(e2), v2.Di(this.ra)) {
  5165. if (!v2.Di(0))
  5166. continue;
  5167. y2 = true, v2 = null;
  5168. }
  5169. }
  5170. var b2 = 0, d2 = 0;
  5171. if (f2 != null && v2 != null)
  5172. r2.BG(e2) && (a2.Po(f2), a2.Po(v2), a2.Fa(this.ra, false), 0 < (b2 = a2.ql(0)) + (d2 = a2.ql(1)) && (this.g.lr(u2, a2, 0, true), this.g.lr(p2, a2, 1, true)), a2.clear());
  5173. else if (f2 != null) {
  5174. var g2 = new t4.h();
  5175. if (this.g.D(p2, g2), r2.contains(g2)) {
  5176. if (a2.Po(f2), this.g.Xi(p2, o2), a2.Fz(this.ra, o2, false), 0 < (b2 = a2.ql(0)))
  5177. if (this.g.lr(u2, a2, 0, true), y2) {
  5178. for (y2 = -1, g2 = this.g.V(p2); g2 != -1 && g2 != p2 && (y2 = g2, (v2 = this.wv(g2, h2)) != null && v2.Di(0)); g2 = this.g.V(g2))
  5179. ;
  5180. for (g2 = p2; g2 != -1 && (this.g.Fh(g2, a2.Cf), g2 != y2); g2 = this.g.V(g2))
  5181. ;
  5182. } else
  5183. this.g.Fh(p2, a2.Cf);
  5184. a2.clear();
  5185. }
  5186. } else {
  5187. if (v2 == null)
  5188. continue;
  5189. if (g2 = new t4.h(), this.g.D(u2, g2), e2.X(this.ra, this.ra), e2.contains(g2)) {
  5190. if (a2.Po(v2), this.g.Xi(u2, o2), a2.Fz(this.ra, o2, false), 0 < (d2 = a2.ql(0)))
  5191. if (this.g.lr(p2, a2, 0, true), c2) {
  5192. for (y2 = -1, g2 = this.g.V(u2); g2 != -1 && g2 != u2 && (y2 = g2, (v2 = this.wv(g2, h2)) != null && v2.Di(0)); g2 = this.g.V(g2))
  5193. ;
  5194. for (g2 = u2; g2 != -1 && (this.g.Fh(g2, a2.Cf), g2 != y2); g2 = this.g.V(g2))
  5195. ;
  5196. } else
  5197. this.g.Fh(u2, a2.Cf);
  5198. a2.clear();
  5199. }
  5200. }
  5201. if (b2 + d2 != 0) {
  5202. if (b2 != 0) {
  5203. if ((f2 = this.g.cc(u2)) == null) {
  5204. if (!this.g.fd(u2, n4))
  5205. continue;
  5206. f2 = n4, n4.A(r2);
  5207. } else
  5208. f2.A(r2);
  5209. if (f2.Di(this.ra))
  5210. break;
  5211. }
  5212. s5 = true;
  5213. }
  5214. }
  5215. }
  5216. return s5;
  5217. }, i5.prototype.iP = function() {
  5218. return this.IU();
  5219. }, i5.prototype.IU = function() {
  5220. return new t4.LC().HX(this.g, this.ra);
  5221. }, i5.prototype.fI = function() {
  5222. var i6 = false;
  5223. this.Nc == null && (this.Nc = new t4.Zj());
  5224. var s5 = new t4.ja(0);
  5225. s5.Jb(this.g.gd + 1);
  5226. for (var n4 = this.g.$q(), h2 = n4.next(); h2 != -1; h2 = n4.next())
  5227. s5.add(h2);
  5228. this.g.nx(s5, s5.size), s5.add(-1), n4 = this.g.Hd(), h2 = this.g.Hd(), this.ae = new t4.OC(this.g, this.ra, !this.Yz), this.Nc.Wo(this.ae);
  5229. var r2 = new t4.ja(0), e2 = new t4.ja(0), o2 = 0;
  5230. new t4.h();
  5231. var a2 = this.g.ud;
  5232. this.g.wb.rc();
  5233. for (var u2, f2, c2 = this.g.wb.Aa[0].o, l2 = s5.get(o2++); l2 != -1; ) {
  5234. var p2 = u2 = c2[2 * (f2 = a2.U(l2, 0))], v2 = f2 = c2[2 * f2 + 1];
  5235. do {
  5236. var y2 = a2.U(l2, 2), b2 = a2.U(l2, 1);
  5237. if (y2 != -1) {
  5238. var d2 = a2.U(y2, 0), g2 = c2[2 * d2];
  5239. 0 > (v2 < (d2 = c2[2 * d2 + 1]) ? -1 : v2 > d2 ? 1 : p2 < g2 ? -1 : p2 > g2 ? 1 : 0) && (e2.add(l2), e2.add(y2));
  5240. }
  5241. b2 != -1 && (g2 = c2[2 * (d2 = a2.U(b2, 0))], 0 > (v2 < (d2 = c2[2 * d2 + 1]) ? -1 : v2 > d2 ? 1 : p2 < g2 ? -1 : p2 > g2 ? 1 : 0) && (e2.add(b2), e2.add(b2))), (g2 = this.g.Qa(l2, n4)) != -1 && (r2.add(g2), this.g.Sa(l2, n4, -1)), (g2 = this.g.Qa(l2, h2)) != -1 && (r2.add(g2), this.g.Sa(l2, h2, -1)), (l2 = s5.get(o2++)) !== -1 && (p2 = c2[2 * (v2 = a2.U(l2, 0))], v2 = c2[2 * v2 + 1]);
  5242. } while (l2 != -1 && p2 === u2 && v2 === f2);
  5243. for (p2 = r2.size == 1 && e2.size == 2, g2 = v2 = -1, y2 = 0, b2 = r2.size; y2 < b2; y2++) {
  5244. d2 = r2.get(y2);
  5245. var w2 = this.Nc.xe(d2);
  5246. if (w2 == -1 || r2.bG(w2) || (v2 = w2), (d2 = this.Nc.lb(d2)) == -1 || r2.bG(d2) || (g2 = d2), v2 != -1 && g2 != -1)
  5247. break;
  5248. }
  5249. for (this.ae.UJ(f2, u2), y2 = 0, b2 = r2.size; y2 < b2; y2++)
  5250. d2 = r2.get(y2), this.Nc.wd(d2, -1);
  5251. if (r2.clear(false), !p2 && v2 != -1 && g2 != -1 && this.kO(v2, g2)) {
  5252. i6 = true, this.Pi = this.ae.tm();
  5253. break;
  5254. }
  5255. for (y2 = 0, b2 = e2.size; y2 < b2; y2 += 2) {
  5256. if (f2 = e2.get(y2), u2 = e2.get(y2 + 1), p2 ? (f2 = this.Nc.Bu(v2, g2, f2, true), p2 = false) : f2 = this.Nc.addElement(f2, -1), this.ae.rg) {
  5257. this.Pi = this.ae.tm(), i6 = true;
  5258. break;
  5259. }
  5260. this.g.Qa(u2, n4) == -1 ? this.g.Sa(u2, n4, f2) : this.g.Sa(u2, h2, f2);
  5261. }
  5262. if (i6)
  5263. break;
  5264. e2.Dh(0);
  5265. }
  5266. return this.g.Ud(n4), this.g.Ud(h2), i6;
  5267. }, i5.prototype.kO = function(t5, i6) {
  5268. return this.ae.compare(this.Nc, this.Nc.ka(t5), i6), t5 = this.ae.rg, this.ae.Mr(), t5;
  5269. }, i5.sE = function(i6) {
  5270. for (var s5 = i6.ld; s5 != -1; s5 = i6.ve(s5))
  5271. if (t4.ba.Ic(i6.jc(s5)))
  5272. return true;
  5273. return false;
  5274. }, i5.$P = function(t5, s5, n4, h2) {
  5275. return !!i5.sE(t5) && ((s5 = new i5(h2)).g = t5, s5.ra = n4, 15 > t5.gd ? t5 = s5.hP() : s5.iP());
  5276. }, i5.W = function(t5, s5, n4) {
  5277. return i5.$P(t5, t5.CF(), s5, n4);
  5278. }, i5.eI = function(s5, n4, h2, r2, e2) {
  5279. if (!i5.sE(n4))
  5280. return false;
  5281. var o2 = new i5(e2);
  5282. if (o2.g = n4, o2.ra = h2, o2.Yz = s5, o2.fI())
  5283. return r2 != null && r2.Yt(o2.Pi), true;
  5284. var a2 = new t4.Ed();
  5285. return a2.UB(), n4.Pc(a2), (o2 = new i5(e2)).g = n4, o2.ra = h2, o2.Yz = s5, s5 = o2.fI(), a2.UB(), n4.Pc(a2), !!s5 && (r2 != null && r2.Yt(o2.Pi), true);
  5286. }, i5.Ol = function(t5, i6) {
  5287. return !(16 > (t5 = t5.I())) && 2 * t5 + Math.log(t5) * Math.LOG10E / Math.log(2) * i6 < 1 * t5 * i6;
  5288. }, i5.fP = function(s5, n4, h2, r2) {
  5289. if (t4.ba.Ic(n4.K()))
  5290. return new i5(r2).gP(s5, n4, h2);
  5291. throw t4.i.ga("crack_A_with_B");
  5292. }, i5.prototype.gP = function(n4, h2, r2) {
  5293. var e2 = new t4.l();
  5294. n4.yc(e2);
  5295. var o2 = new t4.l();
  5296. if (h2.yc(o2), o2.X(r2, r2), !o2.isIntersecting(e2))
  5297. return n4;
  5298. var a2 = n4.Cb, u2 = null;
  5299. a2 != null && (u2 = a2.Gb), i5.Ol(n4, n4.I()) && (u2 = t4.ta.lj(n4, o2));
  5300. var f2 = u2 != null ? u2.getIterator() : null, c2 = h2.Ha();
  5301. h2 = n4.Ha();
  5302. var l2 = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
  5303. for (o2 = []; c2.ab(); )
  5304. for (; c2.Ia(); ) {
  5305. var p2 = c2.ia();
  5306. if (u2 != null) {
  5307. for (f2.Vo(p2, r2), a2 = f2.next(); a2 != -1; a2 = f2.next())
  5308. if (this.Zq(), h2.Wb(u2.ka(a2), -1), h2.Ia()) {
  5309. var v2 = (a2 = h2.ia()).Fa(p2, null, l2, null, r2);
  5310. for (a2 = 0; a2 < v2; ++a2) {
  5311. var y2 = l2[a2];
  5312. if (y2 != 0 && y2 != 1) {
  5313. var b2 = h2.xb(), d2 = new s4();
  5314. d2.t = y2, d2.index = b2, o2.push(d2);
  5315. }
  5316. }
  5317. }
  5318. } else {
  5319. var g2 = new t4.l();
  5320. if (p2.yc(g2), g2.X(r2, r2), e2.isIntersecting(g2)) {
  5321. for (h2.aj(); h2.ab(); )
  5322. for (; h2.Ia(); )
  5323. if (this.Zq(), a2 = h2.ia(), y2 = new t4.l(), a2.yc(y2), y2.isIntersecting(g2))
  5324. for (v2 = a2.Fa(p2, null, l2, null, r2), a2 = 0; a2 < v2; ++a2)
  5325. (y2 = l2[a2]) != 0 && y2 != 1 && (b2 = h2.xb(), (d2 = new s4()).t = y2, d2.index = b2, o2.push(d2));
  5326. }
  5327. }
  5328. }
  5329. if (o2.length == 0)
  5330. return n4;
  5331. for (o2 = o2.sort(s4.zy), n4 = n4.Ja(), h2.aj(); h2.ab() && !h2.Ia(); )
  5332. ;
  5333. for (r2 = h2.ia(), e2 = new t4.hg(), u2 = -1, a2 = 0, f2 = o2.length; a2 < f2; ) {
  5334. for (l2 = o2[a2].index, c2 = a2 + 1; c2 < f2 && o2[c2].index == l2; )
  5335. ++c2;
  5336. for (; h2.xb() < l2; ) {
  5337. if (this.Zq(), p2 = h2.Ia(), y2 = h2.gb, (g2 = p2 || !h2.Pn() || h2.Qn()) && n4.oc(r2, u2 != y2), u2 = y2, !p2)
  5338. for (; h2.ab() && !h2.Ia(); )
  5339. ;
  5340. r2 = h2.ia();
  5341. }
  5342. for (l2 = 0; a2 < c2; a2++)
  5343. (y2 = o2[a2].t) != l2 && (r2.dh(l2, y2, e2), l2 = y2, y2 = h2.gb, n4.oc(e2.get(), u2 != y2), u2 = y2);
  5344. if ((g2 = (p2 = h2.Ia()) || !h2.Pn() || h2.Qn()) && (r2.dh(l2, 1, e2), n4.oc(e2.get(), false)), p2)
  5345. r2 = h2.ia();
  5346. else {
  5347. for (; h2.ab() && !h2.Ia(); )
  5348. ;
  5349. r2 = h2.Ia() ? h2.ia() : null;
  5350. }
  5351. a2 = c2;
  5352. }
  5353. for (r2 != null && (y2 = h2.gb, (g2 = (p2 = h2.Ia()) || !h2.Pn() || h2.Qn()) && n4.oc(r2, u2 != y2), u2 = y2), p2 = h2.Ia(); ; ) {
  5354. if (!p2) {
  5355. for (; h2.ab() && !(p2 = h2.Ia()); )
  5356. ;
  5357. if (!p2)
  5358. break;
  5359. }
  5360. r2 = h2.ia(), y2 = h2.gb, (g2 = (p2 = h2.Ia()) || !h2.Pn() || h2.Qn()) && n4.oc(r2, u2 != y2), u2 = y2;
  5361. }
  5362. return n4;
  5363. }, i5;
  5364. }();
  5365. t4.bu = i4;
  5366. var s4 = function() {
  5367. function t5() {
  5368. }
  5369. return t5.zy = function(t6, i5) {
  5370. return t6.index == i5.index ? t6.t > i5.t ? 1 : t6.t < i5.t ? -1 : 0 : t6.index > i5.index ? 1 : -1;
  5371. }, t5;
  5372. }();
  5373. }(V || (V = {})), function(t4) {
  5374. var i4;
  5375. (i4 = t4.EK || (t4.EK = {}))[i4.Left = 0] = "Left", i4[i4.Right = 1] = "Right", i4[i4.Coincident = 2] = "Coincident", i4[i4.Undefined = 3] = "Undefined", i4[i4.Uncut = 4] = "Uncut";
  5376. var s4 = function(t5, i5, s5, n5, h3, r2, e2, o2, a2, u2, f2) {
  5377. this.Y = t5, this.ct = i5, this.Ps = s5, this.tg = n5, this.Nm = u2, this.Cl = f2;
  5378. };
  5379. t4.mY = s4;
  5380. var n4 = function() {
  5381. function i5(t5, i6) {
  5382. this.DH = t5, this.Ji = i6;
  5383. }
  5384. return i5.prototype.kM = function(i6, s5) {
  5385. var n5 = new t4.h();
  5386. this.Ji.D(i6, n5);
  5387. var h3 = new t4.h();
  5388. return this.Ji.D(s5, h3), (n5 = n5.compare(h3)) != 0 ? n5 : (i6 = this.Ji.Qa(i6, this.DH)) < (s5 = this.Ji.Qa(s5, this.DH)) ? -1 : i6 == s5 ? 0 : 1;
  5389. }, i5;
  5390. }(), h2 = function(t5, i5, s5, n5, h3, r2, e2, o2, a2) {
  5391. this.tg = t5, this.Ps = i5, this.IA = s5, this.OH = n5, this.Gi = h3, this.Cl = r2, this.Nm = e2, this.PH = o2, this.GT = a2;
  5392. };
  5393. t4.lY = h2, t4.FK = function() {
  5394. function i5() {
  5395. }
  5396. return i5.DK = function(n5, h3, r2, e2, o2, a2) {
  5397. if (h3.B())
  5398. n5 = new s4(h3, 4, -1, -1, NaN, 4, -1, -1, NaN, -1, -1, NaN, -1, -1, NaN), o2.push(n5);
  5399. else if (r2.B())
  5400. n5 = new s4(h3, 4, -1, -1, NaN, 4, -1, -1, NaN, -1, -1, NaN, -1, -1, NaN), o2.push(n5);
  5401. else {
  5402. var u2 = new t4.hd();
  5403. if (u2.Ib(h3), u2.Ib(r2), t4.Uk.W(u2, e2, a2, true), u2.gd == 0)
  5404. n5 = new s4(h3.Ja(), 4, -1, -1, NaN, 4, -1, -1, NaN, -1, -1, NaN, -1, -1, NaN), o2.push(n5);
  5405. else {
  5406. for (h3 = 0, r2 = u2.Hd(), e2 = u2.ld; e2 != -1; e2 = u2.ve(e2))
  5407. for (a2 = u2.Ob(e2); a2 != -1; a2 = u2.Sb(a2))
  5408. for (var f2 = u2.Ya(a2), c2 = 0, l2 = u2.Ka(a2); c2 < l2; f2 = u2.V(f2), c2++)
  5409. u2.Sa(f2, r2, h3++);
  5410. h3 = i5.BM(r2, u2), i5.XL(n5, h3, u2, o2);
  5411. }
  5412. }
  5413. }, i5.BM = function(s5, h3) {
  5414. for (var r2 = h3.gd, e2 = new t4.ja(0), o2 = h3.ld; o2 != -1; o2 = h3.ve(o2))
  5415. for (var a2 = h3.Ob(o2); a2 != -1; a2 = h3.Sb(a2))
  5416. for (var u2 = h3.Ya(a2), f2 = 0, c2 = h3.Ka(a2); f2 < c2; u2 = h3.V(u2), f2++)
  5417. e2.add(u2);
  5418. var l2 = new n4(s5, h3);
  5419. e2.Wd(0, r2, function(t5, i6) {
  5420. return l2.kM(t5, i6);
  5421. }), s5 = [];
  5422. var p2 = [], v2 = h3.Hd(), y2 = h3.Hd();
  5423. o2 = h3.ld, a2 = h3.ve(o2), c2 = new t4.h();
  5424. var b2 = new t4.h(), d2 = e2.get(0), g2 = h3.cd(d2), w2 = h3.Rf(g2);
  5425. h3.D(d2, c2);
  5426. var x2 = 1;
  5427. for (u2 = 0; x2 < r2 - 1; ) {
  5428. var m2 = false;
  5429. for (f2 = x2; f2 < r2; f2++)
  5430. if (f2 != u2) {
  5431. var j2 = e2.get(f2), k2 = h3.cd(j2), M2 = h3.Rf(k2);
  5432. if (h3.D(j2, b2), !c2.rb(b2))
  5433. break;
  5434. w2 == o2 && M2 == a2 && (m2 = i5.oM(v2, y2, h3, s5, p2, g2, d2, k2, j2));
  5435. }
  5436. if (m2 || u2 == x2 - 1) {
  5437. if (m2 && u2 == x2 - 1 && x2--, ++u2 == r2)
  5438. break;
  5439. d2 = e2.get(u2), g2 = h3.cd(d2), w2 = h3.Rf(g2), h3.D(d2, c2);
  5440. }
  5441. m2 || (x2 = u2 + 1);
  5442. }
  5443. for (r2 = [], o2 = h3.ld; o2 != -1; o2 = h3.ve(o2))
  5444. for (a2 = h3.Ob(o2); a2 != -1; a2 = h3.Sb(a2))
  5445. for (e2 = h3.Ya(a2), f2 = 0, c2 = h3.Ka(a2); f2 < c2; e2 = h3.V(e2), f2++) {
  5446. if (0 <= (u2 = h3.Qa(e2, y2)))
  5447. for (; u2 < p2.length && p2[u2].tg == e2; )
  5448. r2.push(p2[u2++]);
  5449. if (0 <= (u2 = h3.Qa(e2, v2)))
  5450. for (; u2 < s5.length && s5[u2].tg == e2; )
  5451. r2.push(s5[u2++]);
  5452. }
  5453. return h3.Ud(v2), h3.Ud(y2), r2;
  5454. }, i5.oM = function(t5, s5, n5, h3, r2, e2, o2, a2, u2) {
  5455. var f2 = n5.tj(e2), c2 = n5.tj(a2), l2 = n5.Ya(e2), p2 = n5.Ya(a2), v2 = n5.Na(o2), y2 = n5.Na(u2), b2 = false, d2 = false, g2 = false, w2 = false;
  5456. return o2 != l2 && (u2 != p2 && (b2 = i5.pM(t5, n5, h3, e2, v2, a2, y2)), u2 != c2 && (d2 = i5.qM(t5, n5, h3, e2, v2, a2, u2))), o2 != f2 && (u2 != p2 && (g2 = i5.rM(s5, n5, r2, e2, o2, a2, y2, l2)), u2 != c2 && (w2 = i5.sM(s5, n5, r2, e2, o2, a2, u2, l2))), b2 && d2 && g2 ? (t5 = h3.length - 1, r2[w2 ? r2.length - 2 : r2.length - 1].Gi == 2 && (h3[t5 - 1] = h3[t5], --h3.length)) : b2 && d2 && w2 && r2[r2.length - 1].Gi == 2 && (r2 = h3[h3.length - 1], --h3.length, n5.Qa(r2.tg, t5) == h3.length && n5.Sa(r2.tg, t5, -1)), b2 || d2 || g2 || w2;
  5457. }, i5.pM = function(i6, s5, n5, r2, e2, o2, a2) {
  5458. var u2 = new t4.zb(), f2 = new t4.zb(), c2 = [0, 0], l2 = [0, 0], p2 = s5.cc(e2);
  5459. return p2 == null && (s5.fd(e2, u2), p2 = u2), (u2 = s5.cc(a2)) == null && (s5.fd(a2, f2), u2 = f2), 2 > (p2 = p2.Fa(u2, null, c2, l2, 0)) && (r2 = new h2(e2, r2, c2[0], NaN, p2, a2, o2, l2[0], NaN), n5.push(r2), 0 > (r2 = s5.Qa(e2, i6)) && s5.Sa(e2, i6, n5.length - 1)), true;
  5460. }, i5.qM = function(i6, s5, n5, r2, e2, o2, a2) {
  5461. var u2 = new t4.zb(), f2 = new t4.zb(), c2 = [0, 0], l2 = [0, 0], p2 = s5.cc(e2);
  5462. return p2 == null && (s5.fd(e2, u2), p2 = u2), (u2 = s5.cc(a2)) == null && (s5.fd(a2, f2), u2 = f2), 2 > (p2 = p2.Fa(u2, null, c2, l2, 0)) && (r2 = new h2(e2, r2, c2[0], NaN, p2, a2, o2, l2[0], NaN), n5.push(r2), 0 > (r2 = s5.Qa(e2, i6)) && s5.Sa(e2, i6, n5.length - 1), true);
  5463. }, i5.rM = function(i6, s5, n5, r2, e2, o2, a2, u2) {
  5464. var f2 = new t4.zb(), c2 = new t4.zb(), l2 = [0, 0], p2 = [0, 0], v2 = s5.cc(e2);
  5465. return v2 == null && (s5.fd(e2, f2), v2 = f2), (f2 = s5.cc(a2)) == null && (s5.fd(a2, c2), f2 = c2), (v2 = v2.Fa(f2, null, l2, p2, 0)) == 2 ? (r2 = new h2(e2, r2, l2[0], l2[1], v2, a2, o2, p2[0], p2[1]), n5.push(r2), 0 > (r2 = s5.Qa(e2, i6)) && s5.Sa(e2, i6, n5.length - 1), true) : (c2 = false, e2 == u2 && (r2 = new h2(e2, r2, l2[0], NaN, v2, a2, o2, p2[0], NaN), n5.push(r2), 0 > (r2 = s5.Qa(e2, i6)) && s5.Sa(e2, i6, n5.length - 1), c2 = true), c2);
  5466. }, i5.sM = function(i6, s5, n5, r2, e2, o2, a2, u2) {
  5467. var f2 = new t4.zb(), c2 = new t4.zb(), l2 = [0, 0], p2 = [0, 0], v2 = s5.cc(e2);
  5468. return v2 == null && (s5.fd(e2, f2), v2 = f2), (f2 = s5.cc(a2)) == null && (s5.fd(a2, c2), f2 = c2), (v2 = v2.Fa(f2, null, l2, p2, 0)) == 2 ? (r2 = new h2(e2, r2, l2[0], l2[1], v2, a2, o2, p2[0], p2[1]), n5.push(r2), 0 > (r2 = s5.Qa(e2, i6)) && s5.Sa(e2, i6, n5.length - 1), true) : (c2 = false, e2 == u2 && (r2 = new h2(e2, r2, l2[0], NaN, v2, a2, o2, p2[0], NaN), n5.push(r2), 0 > (r2 = s5.Qa(e2, i6)) && s5.Sa(e2, i6, n5.length - 1), c2 = true), c2);
  5469. }, i5.XL = function(n5, h3, r2, e2) {
  5470. var o2 = [];
  5471. o2[0] = new t4.h(), o2[1] = new t4.h(), o2[2] = new t4.h(), o2[3] = new t4.h();
  5472. var a2 = new t4.h(), u2 = new t4.h(), f2 = new t4.h(), c2 = new t4.h(), l2 = null;
  5473. e2 != null && (l2 = new t4.hg()).Qr();
  5474. var p2 = 0, v2 = null, y2 = new t4.zb();
  5475. new t4.zb();
  5476. for (var b2 = r2.Ob(r2.ld); b2 != -1; b2 = r2.Sb(b2)) {
  5477. for (var d2 = 4, g2 = -1, w2 = -1, x2 = -1, m2 = -1, j2 = NaN, k2 = true, M2 = false, z2 = true, A2 = true, N2 = true, I2 = 0, P2 = b2, C2 = 0, B2 = r2.Ya(b2), D2 = r2.Ka(b2), q2 = 0; q2 < D2; B2 = r2.V(B2), q2++) {
  5478. var G2 = r2.cc(B2);
  5479. if (G2 == null) {
  5480. if (!r2.fd(B2, y2))
  5481. continue;
  5482. G2 = y2;
  5483. }
  5484. w2 == -1 && (w2 = B2);
  5485. for (var F2 = 0; p2 < h3.length && B2 == h3[p2].tg; ) {
  5486. g2 = h3[p2].Ps;
  5487. var E2 = h3[p2].tg, T2 = h3[p2].IA, S2 = h3[p2].Nm, O2 = h3[p2].Cl, H2 = h3[p2].PH;
  5488. if (h3[p2].Gi == 2) {
  5489. if (M2 || (P2 = g2, w2 = E2, C2 = T2, x2 = S2, m2 = O2, j2 = H2, d2 = 2, e2 != null ? v2 = new t4.Ua() : I2 = 0, N2 = false, A2 = true), T2 = h3[p2].OH, H2 = h3[p2].GT, e2 != null ? (G2.dh(F2, h3[p2].OH, l2), v2.oc(l2.get(), A2)) : I2++, F2 = T2, M2 = true, A2 = k2 = false, p2 + 1 == h3.length || h3[p2 + 1].Gi != 2 || h3[p2 + 1].tg == E2 && h3[p2 + 1].IA != F2) {
  5490. if (e2 != null) {
  5491. var J2 = new s4(v2, 2, g2, E2, T2, d2, P2, w2, C2, S2, O2, H2, x2, m2, j2);
  5492. e2.push(J2);
  5493. } else
  5494. null.add(I2);
  5495. P2 = g2, w2 = E2, C2 = T2, x2 = S2, m2 = O2, j2 = H2, d2 = 2, M2 = k2 = false, A2 = N2 = true;
  5496. }
  5497. } else {
  5498. var R2 = r2.V(E2);
  5499. if (p2 < h3.length - 1 && h3[p2 + 1].tg == R2 && h3[p2 + 1].Cl == O2 && h3[p2 + 1].Gi == 2)
  5500. T2 != F2 && (N2 && (e2 != null ? v2 = new t4.Ua() : I2 = 0), k2 = 0 < p2 && h3[p2 - 1].Ps == g2 ? d2 == 1 ? 0 : d2 == 0 ? 1 : 3 : 3, e2 != null ? (G2.dh(F2, T2, l2), v2.oc(l2.get(), A2), J2 = new s4(v2, k2, g2, E2, T2, d2, P2, w2, C2, S2, O2, H2, x2, m2, j2), e2.push(J2)) : (I2++, null.add(I2)), F2 = T2, P2 = g2, w2 = E2, C2 = T2, x2 = S2, m2 = O2, j2 = H2, d2 = k2, k2 = z2 = false, A2 = N2 = true);
  5501. else if (!i5.wM(n5, r2, h3, p2, a2, u2)) {
  5502. i5.tM(r2, h3, p2, b2, B2, f2, c2);
  5503. var L2 = false;
  5504. if (R2 = false, J2 = true, !(a2.rb(f2) || u2.rb(f2) || a2.rb(c2) || u2.rb(c2))) {
  5505. o2[0].N(a2), o2[1].N(u2), o2[2].N(f2), o2[3].N(c2), o2.sort(t4.h.pu);
  5506. var K2 = o2[0], U2 = o2[1], W2 = o2[2], V2 = o2[3];
  5507. K2.rb(a2) ? U2.rb(u2) ? n5 ? (R2 = L2 = true, J2 = false) : L2 = false : V2.rb(u2) ? n5 ? J2 = R2 = L2 = true : L2 = false : (L2 = true, J2 = U2.rb(f2)) : U2.rb(a2) ? W2.rb(u2) ? n5 ? (R2 = L2 = true, J2 = false) : L2 = false : K2.rb(u2) ? n5 ? J2 = R2 = L2 = true : L2 = false : (L2 = true, J2 = W2.rb(f2)) : W2.rb(a2) ? V2.rb(u2) ? n5 ? (R2 = L2 = true, J2 = false) : L2 = false : U2.rb(u2) ? n5 ? J2 = R2 = L2 = true : L2 = false : (L2 = true, J2 = V2.rb(f2)) : K2.rb(u2) ? n5 ? (R2 = L2 = true, J2 = false) : L2 = false : W2.rb(u2) ? n5 ? J2 = R2 = L2 = true : L2 = false : (L2 = true, J2 = K2.rb(f2));
  5508. }
  5509. L2 && (L2 = B2 == E2, (T2 != F2 || L2 && F2 == 0) && (N2 && (e2 != null ? v2 = new t4.Ua() : I2 = 0), e2 != null ? (G2.dh(F2, T2, l2), v2.oc(l2.get(), A2)) : I2++), J2 ? d2 != 1 ? ((T2 != F2 || L2 && F2 == 0) && (e2 != null ? (J2 = new s4(v2, 1, g2, E2, T2, d2, P2, w2, C2, S2, O2, H2, x2, m2, j2), e2.push(J2)) : null.add(I2)), R2 ? (p2 >= h3.length - 2 || h3[p2 + 2].Ps != g2) && (d2 = 0) : d2 = 1) : ((T2 != F2 || L2 && F2 == 0) && (e2 != null ? (J2 = new s4(v2, 3, g2, E2, T2, d2, P2, w2, C2, S2, O2, H2, x2, m2, j2), e2.push(J2)) : null.add(I2)), d2 = 1) : d2 != 0 ? ((T2 != F2 || L2 && F2 == 0) && (e2 != null ? (J2 = new s4(v2, 0, g2, E2, T2, d2, P2, w2, C2, S2, O2, H2, x2, m2, j2), e2.push(J2)) : null.add(I2)), R2 ? (p2 >= h3.length - 2 || h3[p2 + 2].Ps != g2) && (d2 = 1) : d2 = 0) : ((T2 != F2 || L2 && F2 == 0) && (e2 != null ? (J2 = new s4(v2, 3, g2, E2, T2, d2, P2, w2, C2, S2, O2, H2, x2, m2, j2), e2.push(J2)) : null.add(I2)), d2 = 0), (T2 != F2 || L2 && F2 == 0) && (F2 = T2, P2 = g2, w2 = E2, C2 = T2, x2 = S2, m2 = O2, j2 = H2, k2 = z2 = false, A2 = N2 = true));
  5510. }
  5511. }
  5512. p2++;
  5513. }
  5514. F2 != 1 && (N2 && (e2 != null ? v2 = new t4.Ua() : I2 = 0), e2 != null ? (G2.dh(F2, 1, l2), v2.oc(l2.get(), A2)) : I2++, A2 = N2 = false, z2 = true);
  5515. }
  5516. z2 && (T2 = 1, E2 = r2.tj(b2), E2 = r2.Na(E2), O2 = S2 = -1, H2 = NaN, k2 ? e2 != null ? (J2 = new s4(v2, 4, g2, E2, T2, d2, P2, w2, C2, S2, O2, H2, x2, m2, j2), e2.push(J2)) : null.add(I2) : (k2 = d2 == 1 ? 0 : d2 == 0 ? 1 : 3, e2 != null ? (J2 = new s4(v2, k2, g2, E2, T2, d2, P2, w2, C2, S2, O2, H2, x2, m2, j2), e2.push(J2)) : null.add(I2)));
  5517. }
  5518. }, i5.wM = function(s5, n5, h3, r2, e2, o2) {
  5519. var a2 = h3[r2].PH;
  5520. if (a2 == 1)
  5521. return i5.uM(s5, n5, h3, r2, e2, o2);
  5522. if (a2 == 0)
  5523. return i5.vM(s5, n5, h3, r2, e2, o2);
  5524. throw t4.i.Ra();
  5525. }, i5.uM = function(i6, s5, n5, h3, r2, e2) {
  5526. var o2 = new t4.zb(), a2 = n5[h3].tg, u2 = n5[h3].Nm, f2 = n5[h3].Cl, c2 = -1, l2 = -1, p2 = -1, v2 = -1;
  5527. if (!i6 && 0 < h3) {
  5528. var y2 = n5[h3 - 1];
  5529. c2 = y2.tg, l2 = y2.Nm, p2 = y2.Cl, v2 = y2.Gi;
  5530. }
  5531. var b2 = -1, d2 = -1, g2 = -1, w2 = -1;
  5532. h3 < n5.length - 1 && (b2 = (y2 = n5[h3 + 1]).tg, d2 = y2.Nm, g2 = y2.Cl, w2 = y2.Gi);
  5533. var x2 = s5.V(a2);
  5534. return y2 = s5.V(f2), i6 ? h3 == n5.length - 1 || b2 != a2 || d2 != u2 || g2 != y2 || w2 == 2 ? ((i6 = s5.cc(f2)) == null && (s5.fd(f2, o2), i6 = o2), e2.N(i6.jg()), r2.nt(e2), e2.normalize(), r2.normalize(), false) : ((i6 = s5.cc(f2)) == null && (s5.fd(f2, o2), i6 = o2), r2.N(i6.jg()), (i6 = s5.cc(y2)) == null && (s5.fd(y2, o2), i6 = o2), e2.N(i6.jg()), r2.Uq(), e2.normalize(), r2.normalize(), false) : 0 < h3 && c2 == a2 && l2 == u2 && p2 == y2 && v2 == 2 || h3 < n5.length - 1 && b2 == x2 && d2 == u2 && g2 == y2 && w2 == 2 ? ((i6 = s5.cc(f2)) == null && (s5.fd(f2, o2), i6 = o2), e2.N(i6.jg()), r2.nt(e2), e2.normalize(), r2.normalize(), false) : !(h3 < n5.length - 1 && b2 == a2 && d2 == u2 && g2 == y2) || ((i6 = s5.cc(f2)) == null && (s5.fd(f2, o2), i6 = o2), r2.N(i6.jg()), (i6 = s5.cc(y2)) == null && (s5.fd(y2, o2), i6 = o2), e2.N(i6.jg()), r2.Uq(), e2.normalize(), r2.normalize(), false);
  5535. }, i5.vM = function(i6, s5, n5, h3, r2, e2) {
  5536. var o2 = new t4.zb(), a2 = n5[h3].tg, u2 = n5[h3].Nm, f2 = n5[h3].Cl, c2 = -1, l2 = -1, p2 = -1, v2 = -1;
  5537. if (!i6 && h3 < n5.length - 1) {
  5538. var y2 = n5[h3 + 1];
  5539. c2 = y2.tg, l2 = y2.Nm, p2 = y2.Cl, v2 = y2.Gi;
  5540. }
  5541. var b2 = -1, d2 = -1, g2 = -1;
  5542. y2 = -1, 0 < h3 && (b2 = (y2 = n5[h3 - 1]).tg, d2 = y2.Nm, g2 = y2.Cl, y2 = y2.Gi);
  5543. var w2 = s5.V(a2), x2 = s5.Na(f2);
  5544. return i6 ? h3 != 0 && b2 == a2 && d2 == u2 && g2 == x2 && y2 != 2 || ((i6 = s5.cc(f2)) == null && (s5.fd(f2, o2), i6 = o2), e2.N(i6.jg()), r2.nt(e2), e2.normalize(), r2.normalize(), false) : !(0 < h3 && b2 == a2 && d2 == u2 && g2 == x2 && y2 == 2 || h3 < n5.length - 1 && c2 == w2 && l2 == u2 && p2 == x2 && v2 == 2) || ((i6 = s5.cc(f2)) == null && (s5.fd(f2, o2), i6 = o2), e2.N(i6.jg()), r2.nt(e2), e2.normalize(), r2.normalize(), false);
  5545. }, i5.tM = function(i6, s5, n5, h3, r2, e2, o2) {
  5546. var a2 = new t4.zb(), u2 = i6.cc(r2);
  5547. if (u2 == null && (i6.fd(r2, a2), u2 = a2), s5 = (n5 = s5[n5]).tg, n5 = n5.IA, r2 = i6.V(s5), n5 == 1)
  5548. e2.N(u2.jg()), r2 != -1 && r2 != i6.tj(h3) ? ((u2 = i6.cc(r2)) == null && (i6.fd(r2, a2), u2 = a2), o2.N(u2.jg()), (u2 = i6.cc(s5)) == null && i6.fd(s5, a2)) : o2.N(e2), e2.Uq(), o2.normalize(), e2.normalize();
  5549. else {
  5550. if (n5 != 0)
  5551. throw t4.i.Ra();
  5552. o2.N(u2.jg()), e2.nt(o2), o2.normalize(), e2.normalize();
  5553. }
  5554. }, i5;
  5555. }();
  5556. }(V || (V = {})), function(t4) {
  5557. var i4;
  5558. (i4 = t4.WL || (t4.WL = {}))[i4.Linear = 0] = "Linear", i4[i4.Angular = 1] = "Angular", i4[i4.Area = 2] = "Area";
  5559. var s4 = function() {
  5560. function i5(t5, i6, s5) {
  5561. this.od = i6, this.ci = s5, this.pA = t5;
  5562. }
  5563. return i5.prototype.Nb = function(t5) {
  5564. return t5 instanceof i5 && this.ci === t5.ci;
  5565. }, i5.VF = function(t5) {
  5566. return t5.od !== 0 ? null : t5.pA === -1 ? new i5(-1, 2, t5.ci * t5.ci) : i5.ah(o2[t5.pA]);
  5567. }, i5.ah = function(t5) {
  5568. return (t5 = e2[t5]) === void 0 ? null : t5;
  5569. }, i5.TO = function(t5, s5, n5) {
  5570. var h3 = null;
  5571. if (n5 != null)
  5572. try {
  5573. n5.values[0] === "EPSG" && (h3 = i5.ah(parseInt(n5.values[1])));
  5574. } catch (r3) {
  5575. }
  5576. return h3 === null && (h3 = new i5(-1, t5, s5)), h3;
  5577. }, i5.prototype.Fc = function() {
  5578. return this.pA;
  5579. }, i5.prototype.wF = function(i6) {
  5580. if (i6.od != this.od)
  5581. throw t4.i.Hb();
  5582. return this.ci / i6.ci;
  5583. }, i5.Ph = function(t5, i6, s5) {
  5584. return i6.wF(s5) * t5;
  5585. }, i5.RE = function(t5, i6, s5, n5, h3) {
  5586. for (s5 = s5.wF(n5), n5 = 0; n5 < i6; n5++)
  5587. h3[n5] = t5[n5] * s5;
  5588. }, i5;
  5589. }();
  5590. t4.Uc = s4;
  5591. for (var n4 = [109401, 1e4, 109402, 4046.8564224, 109403, 4046.87260987425, 109404, 1, 109405, 0.09290304, 109406, 0.09290341161327487, 109407, 0.09290137299531805, 109408, 3.34450944, 109409, 3429904, 109410, 1.000027193184865, 109411, 404.6872609874253, 109412, 0.04046872609874253, 109413, 2.5899984703195216e6, 109414, 1e6, 109415, 0.8361123569578626, 109416, 404.67838076760535, 109417, 0.04046783807676053, 109418, 0.8361244606523066, 109419, 0.09290271785025629, 109420, 404.68423895571647, 109421, 0.04046842389557164, 109422, 0.83612589696064, 109423, 0.0929028774400711, 109424, 404.6849341289498, 109425, 0.04046849341289498, 109426, 0.836125904805842, 109427, 0.09290287831176021, 109428, 404.68493792602754, 109429, 0.04046849379260275, 109430, 0.09290354800069446, 109431, 0.09290274144751023, 109432, 0.09290207073852812, 109433, 0.09290279616016, 109434, 0.09290273520025, 109435, 0.836124673027592, 109436, 0.836118636646753, 109437, 0.8361251654414399, 109438, 0.83612461680225, 109439, 2589988110336e-6, 109440, 0.09290286332673177, 109441, 0.09290349665192114, 109442, 0.83612736, 109443, 0.8361307045194736, 109444, 404.68564224000005, 109445, 0.04046856422400001, 109446, 0.8361237024040001, 109447, 0.0929026336004445, 109448, 404.683871963536, 109449, 0.0404683871963536, 109450, 0.01, 109451, 1e-4, 109452, 1e-6, 109453, 64516e-8, 109454, 6451625806477421e-19, 109455, 25.292852640000003, 109456, 25.29295381171408, 109457, 3.4345281495040003e6, 109458, 3434290937856e-6, 109459, 2.89612324, 109460, 25e8, 109461, 225e8, 109462, 0.7168473118308245, 109463, 100, 109464, 1244521604938272e-22, 109465, 1e-12, 109466, 1e-18], h2 = [1031, 484813681109536e-23, 9101, 1, 9102, 0.0174532925199433, 9103, 2908882086657216e-19, 9104, 484813681109536e-20, 9105, 0.01570796326794897, 9106, 0.01570796326794897, 9109, 1e-6, 9112, 1570796326794897e-19, 9113, 1570796326794897e-21, 9114, 9817477042468104e-19], r2 = [1025, 1e-3, 109452, 1033, 0.01, 109451, 9001, 1, 109404, 9002, 0.3048, 109405, 9003, 0.3048006096012192, 109406, 9005, 0.3047972654, 109407, 9014, 1.8288, 109408, 9030, 1852, 109409, 9031, 1.0000135965, 109410, 9033, 20.11684023368047, 109411, 9034, 0.2011684023368047, 109412, 9035, 1609.3472186944375, 109413, 9036, 1e3, 109414, 9037, 0.9143917962000001, 109415, 9038, 20.1166195164, 109416, 9039, 0.201166195164, 109417, 9040, 0.9143984146160287, 109418, 9041, 0.304799471538676, 109419, 9042, 20.116765121552632, 109420, 9043, 0.2011676512155263, 109421, 9050, 0.9143992, 109422, 9051, 0.3047997333333333, 109423, 9052, 20.1167824, 109424, 9053, 0.201167824, 109425, 9060, 0.9143992042898124, 109426, 9061, 0.3047997347632708, 109427, 9062, 20.116782494375872, 109428, 9063, 0.2011678249437587, 109429, 9070, 0.3048008333333334, 109430, 9080, 0.3047995102481469, 109431, 9081, 0.30479841, 109432, 9082, 0.3047996, 109433, 9083, 0.3047995, 109434, 9084, 0.9143985307444408, 109435, 9085, 0.91439523, 109436, 9086, 0.9143988, 109437, 9087, 0.9143985, 109438, 9093, 1609.344, 109439, 9094, 0.3047997101815088, 109440, 9095, 0.3048007491, 109441, 9096, 0.9144, 109442, 9097, 20.1168, 109444, 9098, 0.201168, 109445, 9099, 0.914398, 109446, 9300, 0.3047993333333334, 109447, 9301, 20.116756, 109448, 9302, 0.20116756, 109449, 109001, 0.9144, 109442, 109002, 0.9144018288036576, 109443, 109003, 20.1168, 109444, 109004, 0.201168, 109445, 109005, 0.1, 109450, 109006, 0.01, 109451, 109007, 1e-3, 109452, 109008, 0.0254, 109453, 109009, 0.0254000508001016, 109454, 109010, 5.0292, 109455, 109011, 5.029210058420118, 109456, 109012, 1853.248, 109457, 109013, 1853.184, 109458, 109014, 1.7018, 109459, 109015, 0.8466683600033867, 109462, 109016, 3527777777777778e-19, 109464, 109017, 1e-6, 109465, 109018, 1e-9, 109466, 109030, 5e4, 109460, 109031, 15e4, 109461], e2 = [], o2 = [], a2 = 0; a2 < n4.length; a2 += 2)
  5592. e2[n4[a2]] = new s4(n4[a2], 2, n4[a2 + 1]);
  5593. for (n4 = null, a2 = 0; a2 < h2.length; a2 += 2)
  5594. e2[h2[a2]] = new s4(h2[a2], 1, h2[a2 + 1]);
  5595. for (h2 = null, a2 = 0; a2 < r2.length; a2 += 3)
  5596. e2[r2[a2]] = new s4(r2[a2], 0, r2[a2 + 1]), o2[r2[a2]] = r2[a2 + 2];
  5597. r2 = null;
  5598. }(V || (V = {})), function(t4) {
  5599. var i4 = function() {
  5600. function t5() {
  5601. this.yb = this.pb = 0;
  5602. }
  5603. return t5.prototype.set = function(t6, i5) {
  5604. i5 !== void 0 ? (this.pb = t6, this.yb = i5) : typeof t6 == "number" ? (this.pb = t6, this.yb = 0) : (this.pb = t6.pb, this.yb = t6.yb);
  5605. }, t5.prototype.value = function() {
  5606. return this.pb;
  5607. }, t5.prototype.add = function(t6) {
  5608. var i5 = this.pb + t6.pb;
  5609. t6 = this.yb + t6.yb + 2220446049250313e-31 * Math.abs(i5), this.pb = i5, this.yb = t6;
  5610. }, t5.prototype.eN = function() {
  5611. var t6 = this.pb + 1, i5 = this.yb + 2220446049250313e-31 * Math.abs(t6);
  5612. this.pb = t6, this.yb = i5;
  5613. }, t5.prototype.YM = function(t6, i5) {
  5614. this.pb = t6.pb + i5.pb, this.yb = t6.yb + i5.yb + 2220446049250313e-31 * Math.abs(this.pb);
  5615. }, t5.prototype.sub = function(t6) {
  5616. if (typeof t6 == "number") {
  5617. var i5 = this.pb - t6;
  5618. t6 = this.yb + 2220446049250313e-31 * Math.abs(i5);
  5619. } else
  5620. i5 = this.pb - t6.pb, t6 = this.yb + t6.yb + 2220446049250313e-31 * Math.abs(i5);
  5621. this.pb = i5, this.yb = t6;
  5622. }, t5.prototype.Ag = function(t6) {
  5623. var i5 = this.pb * t6.pb;
  5624. this.yb = this.yb * Math.abs(t6.pb) + t6.yb * Math.abs(this.pb) + this.yb * t6.yb + 2220446049250313e-31 * Math.abs(i5), this.pb = i5;
  5625. }, t5.prototype.Oo = function(t6) {
  5626. var i5 = this.pb * t6;
  5627. this.yb = this.yb * Math.abs(t6) + 2220446049250313e-31 * Math.abs(i5), this.pb = i5;
  5628. }, t5.prototype.Ml = function(t6, i5) {
  5629. var s4 = Math.abs(t6.pb) * Math.abs(i5.pb);
  5630. this.yb = t6.yb * Math.abs(i5.pb) + i5.yb * Math.abs(t6.pb) + t6.yb * i5.yb + 2220446049250313e-31 * Math.abs(s4), this.pb = s4;
  5631. }, t5.prototype.lm = function(t6) {
  5632. var i5 = Math.abs(t6.pb), s4 = this.pb / t6.pb, n4 = (this.yb + Math.abs(s4) * t6.yb) / i5;
  5633. t6.yb > 0.01 * i5 && (n4 *= 1 + (1 + (t6 = t6.yb / i5)) * t6), this.pb = s4, this.yb = n4 + 2220446049250313e-31 * Math.abs(s4);
  5634. }, t5.prototype.sqrt = function() {
  5635. if (0 <= this.pb) {
  5636. var t6 = Math.sqrt(this.pb), i5 = this.pb > 10 * this.yb ? 0.5 * this.yb / t6 : this.pb > this.yb ? t6 - Math.sqrt(this.pb - this.yb) : Math.max(t6, Math.sqrt(this.pb + this.yb) - t6);
  5637. i5 += 2220446049250313e-31 * Math.abs(t6);
  5638. } else
  5639. this.pb < -1 * this.yb ? i5 = t6 = NaN : (t6 = 0, i5 = Math.sqrt(this.yb));
  5640. this.pb = t6, this.yb = i5;
  5641. }, t5.prototype.sin = function(t6) {
  5642. var i5 = Math.sin(t6.pb), s4 = Math.cos(t6.pb);
  5643. this.pb = i5, i5 = Math.abs(i5), this.yb = (Math.abs(s4) + 0.5 * i5 * t6.yb) * t6.yb + 2220446049250313e-31 * i5;
  5644. }, t5.prototype.cos = function(t6) {
  5645. var i5 = Math.sin(t6.pb), s4 = Math.cos(t6.pb);
  5646. this.pb = s4, s4 = Math.abs(s4), this.yb = (Math.abs(i5) + 0.5 * s4 * t6.yb) * t6.yb + 2220446049250313e-31 * s4;
  5647. }, t5.prototype.qg = function() {
  5648. return Math.abs(this.pb) <= this.yb;
  5649. }, t5.prototype.rs = function() {
  5650. return this.qg() && this.yb != 0;
  5651. }, t5;
  5652. }();
  5653. t4.Xb = i4;
  5654. }(V || (V = {}));
  5655. var $ = new V.h(), Z = new V.h(), _ = new V.h(), tt = new V.h(), it = new V.h();
  5656. !function(t4) {
  5657. var i4, s4;
  5658. (s4 = i4 || (i4 = {}))[s4.closedPath = 1] = "closedPath", s4[s4.exteriorPath = 2] = "exteriorPath", s4[s4.ringAreaValid = 4] = "ringAreaValid";
  5659. var n4 = function() {
  5660. function i5(t5, i6, s5, n5, h2, r2, e2) {
  5661. i6 !== void 0 ? (this.ib = t5, this.dk = i6, this.dl = s5, this.ki = n5, this.za = r2, this.cA = e2, this.gw = h2) : (this.ib = t5.ib, this.dk = t5.dk, this.dl = t5.dl, this.ki = t5.ki, this.za = t5.za, this.cA = t5.cA, this.gw = t5.gw), this.WG = true;
  5662. }
  5663. return i5.prototype.next = function() {
  5664. return this.WG ? (this.WG = false, this.ki) : this.ki != -1 ? (this.ki = this.ib.V(this.ki), this.za++, this.ki != -1 && this.ki != this.gw ? this.ki : this.ST()) : -1;
  5665. }, i5.prototype.ST = function() {
  5666. for (this.dl = this.ib.Sb(this.dl), this.za = 0; this.dk != -1; ) {
  5667. for (; this.dl != -1; this.dl = this.ib.Sb(this.dl))
  5668. if (this.gw = this.ki = this.ib.Ya(this.dl), this.ki != -1)
  5669. return this.ki;
  5670. if (this.dk = this.ib.ve(this.dk), this.dk == -1)
  5671. break;
  5672. this.cA && !t4.ba.Ic(this.ib.jc(this.dk)) || (this.dl = this.ib.Ob(this.dk));
  5673. }
  5674. return -1;
  5675. }, i5.uP = function(t5, s5, n5, h2, r2, e2, o2) {
  5676. return new i5(t5, s5, n5, h2, r2, e2, o2);
  5677. }, i5;
  5678. }();
  5679. t4.rY = n4, i4 = function() {
  5680. function i5() {
  5681. this.ko = this.Cm = this.xk = this.dd = this.Dk = this.wo = this.Qi = this.md = this.di = this.Ug = this.Te = this.Kl = null, this.sw = this.ld = -1, this.gd = 0, this.aA = false, this.it = this.jt = this.wb = null;
  5682. }
  5683. return i5.prototype.Uh = function(t5) {
  5684. return this.Te != null ? this.Te[t5] : null;
  5685. }, i5.prototype.Zg = function(t5, i6) {
  5686. if (this.Te == null) {
  5687. if (i6 == null)
  5688. return;
  5689. this.Te = [];
  5690. for (var s5 = 0, n5 = this.wb.I(); s5 < n5; s5++)
  5691. this.Te.push(null);
  5692. }
  5693. this.Te[t5] = i6;
  5694. }, i5.prototype.cp = function(t5, i6) {
  5695. this.md.T(t5, 1, i6);
  5696. }, i5.prototype.bp = function(t5, i6) {
  5697. this.md.T(t5, 2, i6);
  5698. }, i5.prototype.PB = function(t5, i6) {
  5699. this.md.T(t5, 6, i6);
  5700. }, i5.prototype.Up = function(t5) {
  5701. return this.md.U(t5, 6);
  5702. }, i5.prototype.gx = function(t5, i6) {
  5703. this.md.T(t5, 7, i6);
  5704. }, i5.prototype.sv = function(t5) {
  5705. return this.md.U(t5, 0);
  5706. }, i5.prototype.IJ = function(t5, i6) {
  5707. this.dd.T(t5, 1, i6);
  5708. }, i5.prototype.MJ = function(t5, i6) {
  5709. this.dd.T(t5, 0, i6);
  5710. }, i5.prototype.DF = function(t5) {
  5711. return this.dd.U(t5, 7);
  5712. }, i5.prototype.$o = function(t5, i6) {
  5713. this.dd.T(t5, 3, i6);
  5714. }, i5.prototype.ap = function(t5, i6) {
  5715. this.dd.T(t5, 4, i6);
  5716. }, i5.prototype.mU = function(i6) {
  5717. this.dd == null && (this.dd = new t4.ad(8));
  5718. var s5 = this.dd.De();
  5719. return this.dd.T(s5, 2, i6), this.dd.T(s5, 5, 0), this.dd.T(s5, 6, 0), this.dd.T(s5, 7, s5), s5;
  5720. }, i5.prototype.IQ = function(t5) {
  5721. this.dd.kd(t5);
  5722. }, i5.prototype.oU = function(i6) {
  5723. this.md == null && (this.md = new t4.ad(8), this.ud = new t4.ad(5), this.Qi = new t4.ce(0), this.wo = new t4.ce(0));
  5724. var s5 = this.md.De();
  5725. return this.md.T(s5, 0, s5), this.md.T(s5, 3, 0), this.md.T(s5, 6, 0), this.gx(s5, i6), s5 >= this.Qi.size && (i6 = 16 > s5 ? 16 : t4.P.truncate(3 * s5 / 2), this.Qi.resize(i6), this.wo.resize(i6)), this.Qi.set(s5, 0), this.wo.set(s5, 0), s5;
  5726. }, i5.prototype.mF = function(t5) {
  5727. this.md.kd(t5);
  5728. }, i5.prototype.Qy = function(t5) {
  5729. this.ud.kd(t5), this.gd--;
  5730. }, i5.prototype.iI = function(i6) {
  5731. this.md == null && (this.md = new t4.ad(8), this.ud = new t4.ad(5), this.Qi = new t4.ce(0), this.wo = new t4.ce(0));
  5732. var s5 = this.ud.De(), n5 = 0 <= i6 ? i6 : s5;
  5733. if (this.ud.T(s5, 0, n5), 0 > i6) {
  5734. if (n5 >= this.wb.I()) {
  5735. if (i6 = 16 > n5 ? 16 : t4.P.truncate(3 * n5 / 2), this.wb.resize(i6), this.Te != null)
  5736. for (var h2 = 0; h2 < i6; h2++)
  5737. this.Te.push(null);
  5738. this.Ug != null && this.Ug.resize(i6), this.jt = this.wb.vb(0);
  5739. }
  5740. this.wb.Db(n5, -1e38, -1e38), this.Te != null && (this.Te[n5] = null), this.Ug != null && this.Ug.write(n5, 1);
  5741. }
  5742. return this.ud.T(s5, 4, 2 * n5), this.gd++, s5;
  5743. }, i5.prototype.yj = function(t5, i6, s5) {
  5744. var n5 = i6 != -1 ? this.Na(i6) : this.tj(t5), h2 = n5 != -1 ? this.V(n5) : -1, r2 = this.iI(s5 == null ? this.gd : -1), e2 = this.Va(r2);
  5745. return s5 != null && this.wb.It(e2, s5), this.cj(r2, t5), this.Cc(r2, h2), this.Dc(r2, n5), h2 != -1 && this.Dc(h2, r2), n5 != -1 && this.Cc(n5, r2), s5 = this.ec(t5), n5 = this.Ya(t5), i6 == -1 && this.Yg(t5, r2), i6 == n5 && this.Kf(t5, r2), s5 && h2 == -1 && (this.Cc(r2, r2), this.Dc(r2, r2)), this.Xj(t5, this.Ka(t5) + 1), t5 = this.Rf(t5), this.Vj(t5, this.I(t5) + 1), r2;
  5746. }, i5.prototype.pm = function() {
  5747. return this.ko == null && (this.ko = new t4.Ta(this.wb.description)), this.ko;
  5748. }, i5.prototype.Zo = function(t5, i6) {
  5749. this.dd.T(t5, 2, -134217729 & this.dd.U(t5, 2) || (i6 == 1 ? 134217728 : 0));
  5750. }, i5.prototype.Jn = function(t5) {
  5751. return (134217728 & this.dd.U(t5, 2)) != 0 ? 1 : 0;
  5752. }, i5.prototype.bN = function(t5) {
  5753. var i6 = this.Kg(t5.K(), t5.description);
  5754. return t5.K() == 1736 && this.Zo(i6, t5.Jn()), this.OD(i6, t5), i6;
  5755. }, i5.prototype.cN = function(t5) {
  5756. var i6 = this.Kg(t5.K(), t5.description);
  5757. return this.PD(i6, t5), i6;
  5758. }, i5.prototype.PV = function(i6, s5) {
  5759. this.md == null && (this.md = new t4.ad(8), this.ud = new t4.ad(5), this.Qi = new t4.ce(0), this.wo = new t4.ce(0)), this.md.Ee(this.md.Jg + i6), this.ud.Ee(this.ud.Jg + s5), this.Qi.Jb(this.Qi.size + i6), this.wo.Jb(this.wo.size + i6);
  5760. }, i5.prototype.OD = function(i6, s5) {
  5761. this.PV(s5.ea(), s5.I()), this.Kl.Gd(s5, 0, s5.I()), this.jt = this.wb.vb(0);
  5762. for (var n5 = this.Te != null && s5.Se != null, h2 = 0, r2 = s5.ea(); h2 < r2; h2++)
  5763. if (!(2 > s5.Ka(h2))) {
  5764. var e2 = this.wf(i6, -1);
  5765. this.mn(e2, s5.ec(h2));
  5766. for (var o2 = s5.Ca(h2), a2 = s5.Wc(h2); o2 < a2; o2++) {
  5767. var u2 = this.yj(e2, -1, null);
  5768. if (n5)
  5769. if (u2 = this.Va(u2), (1 & s5.TF(o2)) != 0)
  5770. this.Zg(u2, null);
  5771. else {
  5772. var f2 = new t4.hg();
  5773. s5.cc(o2, f2, true), this.Zg(u2, f2.get());
  5774. }
  5775. }
  5776. }
  5777. }, i5.prototype.PD = function(t5, i6) {
  5778. this.Kl.Gd(i6, 0, i6.I()), this.jt = this.wb.vb(0), t5 = this.wf(t5, -1);
  5779. var s5 = 0;
  5780. for (i6 = i6.I(); s5 < i6; s5++)
  5781. this.yj(t5, -1, null);
  5782. }, i5.prototype.FX = function(i6, s5, n5) {
  5783. var h2 = this.V(i6);
  5784. if (h2 == -1)
  5785. throw t4.i.Ra();
  5786. for (var r2 = this.pm(), e2 = this.cd(i6), o2 = 0, a2 = s5.ql(n5); o2 < a2; o2++) {
  5787. var u2 = this.Va(i6), f2 = this.V(i6), c2 = s5.Xp(n5, o2);
  5788. o2 == 0 && (c2.Uo(r2), this.Fh(i6, r2)), c2.K() == 322 ? this.Zg(u2, null) : this.Zg(u2, t4.ba.ig(c2)), c2.Qo(r2), o2 < a2 - 1 ? i6 = this.yj(e2, f2, r2) : this.Fh(h2, r2);
  5789. }
  5790. }, i5.prototype.EX = function(i6, s5, n5) {
  5791. var h2 = this.V(i6);
  5792. if (h2 == -1)
  5793. throw t4.i.Ra();
  5794. for (var r2 = this.pm(), e2 = this.cd(i6), o2 = 0, a2 = s5.ql(n5); o2 < a2; o2++) {
  5795. var u2 = this.Va(i6), f2 = this.V(i6), c2 = s5.Xp(n5, a2 - o2 - 1);
  5796. o2 == 0 && (c2.Qo(r2), this.Fh(i6, r2)), c2.K() == 322 ? this.Zg(u2, null) : this.Zg(u2, t4.ba.ig(c2)), c2.Uo(r2), o2 < a2 - 1 ? i6 = this.yj(e2, f2, r2) : this.Fh(h2, r2);
  5797. }
  5798. }, i5.prototype.CF = function() {
  5799. var i6 = new t4.l();
  5800. i6.Pa();
  5801. for (var s5 = this.$q(), n5 = new t4.h(), h2 = true, r2 = s5.next(); r2 != -1; r2 = s5.next())
  5802. this.D(r2, n5), h2 ? i6.$b(n5.x, n5.y) : i6.Mk(n5.x, n5.y), h2 = false;
  5803. return i6;
  5804. }, i5.prototype.Ib = function(i6) {
  5805. var s5 = i6.K();
  5806. if (t4.ba.Ic(s5))
  5807. return this.bN(i6);
  5808. if (s5 == 550)
  5809. return this.cN(i6);
  5810. throw t4.i.Ra();
  5811. }, i5.prototype.oN = function(i6, s5) {
  5812. var n5 = s5.K();
  5813. if (t4.ba.Ic(n5))
  5814. this.OD(i6, s5);
  5815. else {
  5816. if (n5 != 550)
  5817. throw t4.i.Ra();
  5818. this.PD(i6, s5);
  5819. }
  5820. }, i5.prototype.gN = function(i6, s5) {
  5821. var n5 = this.Kg(1736, i6.description);
  5822. if (2 > i6.Ka(s5))
  5823. return n5;
  5824. this.Kl.Gd(i6, i6.Ca(s5), i6.Wc(s5)), this.jt = this.wb.vb(0);
  5825. var h2 = this.wf(n5, -1);
  5826. this.mn(h2, i6.ec(s5) || true);
  5827. var r2 = this.Te != null && i6.Se != null, e2 = i6.Ca(s5);
  5828. for (s5 = i6.Wc(s5); e2 < s5; e2++) {
  5829. var o2 = this.yj(h2, -1, null);
  5830. if (r2)
  5831. if (o2 = this.Va(o2), (1 & i6.TF(e2)) != 0)
  5832. this.Zg(o2, null);
  5833. else {
  5834. var a2 = new t4.hg();
  5835. i6.cc(e2, a2, true), this.Zg(o2, a2.get());
  5836. }
  5837. }
  5838. return n5;
  5839. }, i5.prototype.Ke = function(i6) {
  5840. var s5 = this.jc(i6), n5 = t4.TK.Kg(s5, this.Kl.description), h2 = this.I(i6);
  5841. if (h2 == 0)
  5842. return n5;
  5843. if (t4.ba.Ic(s5)) {
  5844. s5 = this.ea(i6);
  5845. for (var r2 = t4.Zc.Qh(s5 + 1), e2 = t4.Zc.Or(s5 + 1, 0), o2 = n5.description, a2 = 0, u2 = o2.Ba; a2 < u2; a2++) {
  5846. for (var f2 = o2.qd(a2), c2 = t4.ua.Wa(f2), l2 = t4.Zc.SE(f2, h2), p2 = this.wb.vb(f2), v2 = 0, y2 = 0, b2 = 0, d2 = this.Ob(i6); d2 != -1; d2 = this.Sb(d2)) {
  5847. var g2 = 0;
  5848. this.ec(d2) && (g2 |= 1), this.QS(d2) && (g2 |= 4), g2 != 0 && e2.tJ(y2, g2);
  5849. var w2 = this.Ka(d2);
  5850. if (r2.write(y2++, b2), b2 += w2, f2 == 0) {
  5851. w2 = p2;
  5852. var x2 = l2, m2 = new t4.h();
  5853. for (g2 = this.Ya(d2); v2 < b2; g2 = this.V(g2), v2++) {
  5854. var j2 = this.Va(g2);
  5855. w2.uc(2 * j2, m2), x2.Vt(2 * v2, m2);
  5856. }
  5857. } else
  5858. for (g2 = this.Ya(d2); v2 < b2; g2 = this.V(g2), v2++)
  5859. for (j2 = this.Va(g2), x2 = 0; x2 < c2; x2++)
  5860. m2 = p2.Bg(j2 * c2 + x2), l2.rr(v2 * c2 + x2, m2);
  5861. }
  5862. n5.kn(f2, l2), r2.write(s5, h2);
  5863. }
  5864. n5.JJ(e2), n5.KJ(r2), n5.Qc(16777215);
  5865. } else if (s5 == 550) {
  5866. for (o2 = n5.description, n5.resize(h2), a2 = 0, u2 = o2.Ba; a2 < u2; a2++) {
  5867. for (f2 = o2.qd(a2), c2 = t4.ua.Wa(f2), l2 = n5.vb(f2), p2 = this.wb.vb(f2), v2 = 0, d2 = this.Ob(i6), w2 = this.Ka(d2), g2 = this.Ya(d2); v2 < w2; g2 = this.V(g2), v2++)
  5868. for (j2 = this.Va(g2), x2 = 0; x2 < c2; x2++)
  5869. m2 = p2.Bg(j2 * c2 + x2), l2.rr(v2 * c2 + x2, m2);
  5870. n5.kn(f2, l2);
  5871. }
  5872. n5.Qc(16777215);
  5873. }
  5874. return n5;
  5875. }, i5.prototype.vB = function(t5) {
  5876. for (var i6 = this.Ob(t5); i6 != -1; i6 = this.ar(i6))
  5877. ;
  5878. i6 = this.IR(t5);
  5879. var s5 = this.ve(t5);
  5880. i6 != -1 ? this.IJ(i6, s5) : this.ld = s5, s5 != -1 ? this.MJ(s5, i6) : this.sw = i6, this.IQ(t5);
  5881. }, i5.prototype.Kg = function(i6, s5) {
  5882. return s5 === void 0 ? this.UE(i6, t4.ee.og()) : this.UE(i6, s5);
  5883. }, i5.prototype.UE = function(i6, s5) {
  5884. return i6 = this.mU(i6), this.wb == null ? this.wb = this.Kl = new t4.de(s5) : this.Kl.Ll(s5), this.it = this.Kl.description, this.aA = 1 < this.it.Ba, this.ld == -1 ? this.ld = i6 : (this.MJ(i6, this.sw), this.IJ(this.sw, i6)), this.sw = i6;
  5885. }, i5.prototype.ve = function(t5) {
  5886. return this.dd.U(t5, 1);
  5887. }, i5.prototype.IR = function(t5) {
  5888. return this.dd.U(t5, 0);
  5889. }, i5.prototype.jc = function(t5) {
  5890. return 2147483647 & this.dd.U(t5, 2);
  5891. }, i5.prototype.BJ = function(i6, s5, n5) {
  5892. s5 = this.xk[s5], (i6 = this.DF(i6)) >= s5.size && s5.resize(Math.max(t4.P.truncate(1.25 * i6), 16), -1), s5.write(i6, n5);
  5893. }, i5.prototype.EF = function(t5, i6) {
  5894. return (t5 = this.DF(t5)) < (i6 = this.xk[i6]).size ? i6.read(t5) : -1;
  5895. }, i5.prototype.VE = function() {
  5896. this.xk == null && (this.xk = []);
  5897. for (var i6 = 0; i6 < this.xk.length; i6++)
  5898. if (this.xk[i6] == null)
  5899. return this.xk[i6] = t4.Zc.Qh(0), i6;
  5900. return this.xk.push(t4.Zc.Qh(0)), this.xk.length - 1;
  5901. }, i5.prototype.pW = function(t5) {
  5902. this.xk[t5] = null;
  5903. }, i5.prototype.Ob = function(t5) {
  5904. return this.dd.U(t5, 3);
  5905. }, i5.prototype.mv = function(t5) {
  5906. return this.dd.U(t5, 4);
  5907. }, i5.prototype.I = function(t5) {
  5908. return this.dd.U(t5, 5);
  5909. }, i5.prototype.ea = function(t5) {
  5910. return this.dd.U(t5, 6);
  5911. }, i5.prototype.Ip = function(i6, s5, n5) {
  5912. for (var h2 = 0, r2 = this.ld; r2 != -1; r2 = this.ve(r2)) {
  5913. var e2 = this.jc(r2);
  5914. if (t4.ba.Ic(e2) && (!n5 || e2 == 1736)) {
  5915. e2 = this.jc(r2) == 1736;
  5916. for (var o2 = this.Ob(r2); o2 != -1; ) {
  5917. for (var a2 = 0, u2 = this.Ya(o2); a2 < t4.P.truncate(this.Ka(o2) / 2); ) {
  5918. var f2 = this.V(u2);
  5919. if (f2 == -1)
  5920. break;
  5921. var c2 = this.Va(u2), l2 = this.Uh(c2);
  5922. l2 != null ? c2 = l2.Rb() : (l2 = this.Va(f2), c2 = this.wb.Ar(c2, l2)), c2 <= i6 ? (c2 == 0 ? h2 == 0 && (h2 = -1) : h2 = 1, f2 != this.tj(o2) && (this.fC(f2, u2), this.pd(f2, true))) : u2 = this.V(u2), a2++;
  5923. }
  5924. for (a2 = this.Ya(o2), u2 = this.ec(o2) ? a2 : this.tj(o2); 0 < this.Ka(o2); ) {
  5925. if ((f2 = this.Na(u2)) == -1) {
  5926. this.pd(u2, true), h2 == 0 && (h2 = -1);
  5927. break;
  5928. }
  5929. var p2 = this.Va(f2);
  5930. if ((l2 = this.Uh(p2)) != null ? c2 = l2.Rb() : (c2 = this.Va(u2), c2 = this.wb.Ar(c2, p2)), c2 <= i6)
  5931. c2 == 0 ? h2 == 0 && (h2 = -1) : h2 = 1, this.fC(f2, u2), this.pd(f2, false), a2 == f2 && (a2 = this.Ya(o2));
  5932. else if ((u2 = this.Na(u2)) == a2)
  5933. break;
  5934. }
  5935. u2 = this.Ka(o2), s5 && (e2 ? 3 > u2 : 2 > u2) ? (o2 = this.ar(o2), h2 = 0 < u2 ? 1 : h2 == 0 ? -1 : h2) : o2 = this.Sb(o2);
  5936. }
  5937. }
  5938. }
  5939. return h2;
  5940. }, i5.prototype.fC = function(t5, i6) {
  5941. var s5 = this.Va(t5), n5 = this.Va(i6);
  5942. if (this.Ug != null && (s5 = this.Ug.read(s5), this.Ug.write(n5, s5)), this.di != null) {
  5943. for (n5 = 0, s5 = this.di.length; n5 < s5; n5++)
  5944. if (this.di[n5] != null) {
  5945. var h2 = this.Qa(t5, n5);
  5946. h2 != -1 && this.Sa(i6, n5, h2);
  5947. }
  5948. }
  5949. }, i5.prototype.Wl = function(i6, s5, n5) {
  5950. var h2 = 0, r2 = this.V(i6);
  5951. if (r2 == -1)
  5952. throw t4.i.Ra();
  5953. for (var e2 = this.Va(i6), o2 = this.Va(r2), a2 = this.Uh(e2), u2 = a2 == null ? this.wb.Ar(e2, o2) : a2.Rb(), f2 = 0; f2 < n5; f2++) {
  5954. var c2 = s5[f2];
  5955. if (0 < c2 && 1 > c2) {
  5956. var l2 = c2;
  5957. a2 != null && (l2 = 0 < u2 ? a2.Tx(c2) / u2 : 0), this.wb.eD(e2, o2, l2, this.pm());
  5958. var p2 = this.yj(this.cd(i6), r2, this.pm());
  5959. if (h2++, a2 != null) {
  5960. var v2 = a2.fl(0, c2);
  5961. l2 = this.Va(this.Na(p2)), this.Zg(l2, v2), this.mf(p2, v2.xc()), f2 != n5 - 1 && s5[f2 + 1] != 1 || (c2 = a2.fl(c2, 1), this.Zg(l2, c2));
  5962. }
  5963. }
  5964. }
  5965. return h2;
  5966. }, i5.prototype.DX = function(i6, s5, n5) {
  5967. var h2 = 0, r2 = this.V(i6);
  5968. if (r2 == -1)
  5969. throw t4.i.ga("internal error");
  5970. var e2 = this.Va(i6), o2 = this.Va(r2), a2 = this.Uh(e2), u2 = a2 == null ? this.wb.Ar(e2, o2) : a2.Rb(), f2 = 0;
  5971. i6 = this.cd(i6);
  5972. for (var c2 = 0; c2 < n5; c2++) {
  5973. var l2 = s5[c2];
  5974. if (f2 < l2 && 1 > l2) {
  5975. var p2 = l2;
  5976. if (a2 != null && (p2 = 0 < u2 ? a2.Tx(l2) / u2 : 0), this.wb.eD(e2, o2, p2, this.pm()), p2 = this.rS(i6, r2, this.pm()), h2++, a2 != null) {
  5977. f2 = a2.fl(f2, l2);
  5978. var v2 = this.Va(this.Na(p2));
  5979. this.Zg(v2, f2), this.Db(p2, f2.qa, f2.ma), c2 != n5 - 1 && s5[c2 + 1] != 1 || (f2 = a2.fl(l2, 1), p2 = this.Va(p2), this.Zg(p2, f2));
  5980. }
  5981. }
  5982. f2 = l2;
  5983. }
  5984. return h2;
  5985. }, i5.prototype.rS = function(t5, i6, s5) {
  5986. var n5 = i6 != -1 ? this.Na(i6) : this.tj(t5), h2 = n5 != -1 ? this.V(n5) : -1, r2 = this.iI(s5 == null ? this.gd : -1), e2 = this.Va(r2);
  5987. return s5 != null && this.wb.It(e2, s5), this.cj(r2, t5), this.Cc(r2, h2), this.Dc(r2, n5), h2 != -1 && this.Dc(h2, r2), n5 != -1 && this.Cc(n5, r2), s5 = this.ec(t5), n5 = this.Ya(t5), i6 == -1 && this.Yg(t5, r2), i6 == n5 && (s5 && n5 != -1 || this.Kf(t5, r2)), s5 && h2 == -1 && (this.Cc(r2, r2), this.Dc(r2, r2)), this.Xj(t5, this.Ka(t5) + 1), t5 = this.Rf(t5), this.Vj(t5, this.I(t5) + 1), r2;
  5988. }, i5.prototype.oE = function(i6, s5, n5) {
  5989. var h2 = this.Va(s5), r2 = this.Va(n5);
  5990. if (0 > h2 || r2 > this.gd - 1)
  5991. throw t4.i.O("invalid call");
  5992. if (h2 > r2 && !this.ec(i6))
  5993. throw t4.i.O("cannot iterate across an open path");
  5994. for (i6 = 0; s5 != n5; s5 = this.V(s5))
  5995. h2 = this.Va(s5), (r2 = this.Uh(h2)) != null ? i6 += r2.Rb() : (r2 = this.Va(this.V(s5)), i6 += this.wb.Ar(h2, r2));
  5996. return i6;
  5997. }, i5.prototype.Fh = function(t5, i6) {
  5998. var s5 = this.Va(t5);
  5999. this.wb.It(s5, i6), (s5 = this.Uh(s5)) != null && s5.setStart(i6), (t5 = this.Na(t5)) != -1 && (t5 = this.Va(t5), this.Uh(t5) != null && s5.setEnd(i6));
  6000. }, i5.prototype.Xi = function(t5, i6) {
  6001. t5 = this.Va(t5), this.wb.we(t5, i6);
  6002. }, i5.prototype.mf = function(t5, i6) {
  6003. this.Db(t5, i6.x, i6.y);
  6004. }, i5.prototype.Db = function(t5, i6, s5) {
  6005. var n5 = this.Va(t5);
  6006. this.wb.Db(n5, i6, s5), (n5 = this.Uh(n5)) != null && n5.TB(i6, s5), (t5 = this.Na(t5)) != -1 && (t5 = this.Va(t5), this.Uh(t5) != null && n5.Sl(i6, s5));
  6007. }, i5.prototype.D = function(t5, i6) {
  6008. this.wb.D(this.ud.U(t5, 0), i6);
  6009. }, i5.prototype.Hc = function(t5, i6) {
  6010. this.wb.Aa[0].uc(2 * this.ud.U(t5, 0), i6);
  6011. }, i5.prototype.Oa = function(i6) {
  6012. var s5 = new t4.h();
  6013. return this.wb.D(this.ud.U(i6, 0), s5), s5;
  6014. }, i5.prototype.YF = function(t5, i6) {
  6015. this.jt.uc(2 * t5, i6);
  6016. }, i5.prototype.Vc = function(t5, i6, s5) {
  6017. return this.wb.Vc(t5, this.Va(i6), s5);
  6018. }, i5.prototype.setAttribute = function(t5, i6, s5, n5) {
  6019. this.wb.setAttribute(t5, this.Va(i6), s5, n5);
  6020. }, i5.prototype.Va = function(t5) {
  6021. return this.ud.U(t5, 0);
  6022. }, i5.prototype.kh = function() {
  6023. var i6 = new t4.h();
  6024. return this.D(void 0, i6), i6.y;
  6025. }, i5.prototype.hq = function(t5, i6) {
  6026. t5 = this.Va(t5), i6 = this.Va(i6);
  6027. var s5 = this.wb.Aa[0].o;
  6028. return s5[2 * t5] === s5[2 * i6] && s5[2 * t5 + 1] === s5[2 * i6 + 1];
  6029. }, i5.prototype.Fv = function(t5, i6) {
  6030. t5 = this.Va(t5);
  6031. var s5 = this.wb.Aa[0].o;
  6032. return s5[2 * t5] === i6.x && s5[2 * t5 + 1] === i6.y;
  6033. }, i5.prototype.nX = function(i6, s5) {
  6034. if (1 > s5 && (s5 = 1), this.Ug == null) {
  6035. if (s5 == 1)
  6036. return;
  6037. this.Ug = t4.Zc.En(this.wb.I(), 1);
  6038. }
  6039. (i6 = this.Va(i6)) >= this.Ug.size && this.Ug.resize(i6 + 1, 1), this.Ug.write(i6, s5);
  6040. }, i5.prototype.XF = function(t5) {
  6041. return t5 = this.Va(t5), this.Ug == null || t5 >= this.Ug.size ? 1 : this.Ug.read(t5);
  6042. }, i5.prototype.Sa = function(t5, i6, s5) {
  6043. i6 = this.di[i6], t5 = this.Va(t5), i6.size < this.wb.I() && i6.resize(this.wb.I(), -1), i6.write(t5, s5);
  6044. }, i5.prototype.Qa = function(t5, i6) {
  6045. return (t5 = this.Va(t5)) < (i6 = this.di[i6]).size ? i6.read(t5) : -1;
  6046. }, i5.prototype.Hd = function() {
  6047. this.di == null && (this.di = []);
  6048. for (var i6 = 0; i6 < this.di.length; i6++)
  6049. if (this.di[i6] == null)
  6050. return this.di[i6] = t4.Zc.Qh(0, -1), i6;
  6051. return this.di.push(t4.Zc.Qh(0, -1)), this.di.length - 1;
  6052. }, i5.prototype.Ud = function(t5) {
  6053. this.di[t5] = null;
  6054. }, i5.prototype.cc = function(t5) {
  6055. return this.Te != null ? (t5 = this.Va(t5), this.Te[t5]) : null;
  6056. }, i5.prototype.fd = function(i6, s5) {
  6057. var n5 = this.ud.U(i6, 2);
  6058. if (n5 == -1)
  6059. return false;
  6060. if (this.aA) {
  6061. var h2 = new t4.Ta();
  6062. this.Xi(i6, h2), s5.setStart(h2), this.Xi(n5, h2), s5.setEnd(h2);
  6063. } else
  6064. this.wb.Hc(this.ud.U(i6, 0), $), s5.gm(0, $), this.wb.Hc(this.ud.U(n5, 0), $), s5.gm(1, $);
  6065. return true;
  6066. }, i5.prototype.eW = function(i6, s5, n5) {
  6067. if (this.aA) {
  6068. var h2 = new t4.Ta();
  6069. this.Xi(i6, h2), n5.setStart(h2), this.Xi(s5, h2), n5.setEnd(h2);
  6070. } else
  6071. this.wb.Hc(i6, $), n5.gm(0, $), this.wb.Hc(s5, $), n5.gm(1, $);
  6072. }, i5.prototype.wf = function(i6, s5) {
  6073. if (s5 != -1) {
  6074. if (i6 != this.Rf(s5))
  6075. throw t4.i.Ra();
  6076. var n5 = this.es(s5);
  6077. } else
  6078. n5 = this.mv(i6);
  6079. var h2 = this.oU(i6);
  6080. return s5 != -1 && this.cp(s5, h2), this.bp(h2, s5), this.cp(h2, n5), n5 != -1 ? this.bp(n5, h2) : this.$o(i6, h2), s5 == -1 && this.ap(i6, h2), this.Tl(i6, this.ea(i6) + 1), h2;
  6081. }, i5.prototype.hG = function(t5, i6, s5, n5) {
  6082. t5 = this.wf(t5, -1);
  6083. for (var h2 = 0, r2 = i6, e2 = false; r2 == s5 && (e2 = true), this.cj(r2, t5), h2++, (r2 = this.V(r2)) != i6; )
  6084. ;
  6085. return this.mn(t5, true), this.Xj(t5, h2), e2 && (i6 = s5), this.Kf(t5, i6), this.Yg(t5, this.Na(i6)), this.ep(t5, false), n5 != null && (n5[0] = e2), t5;
  6086. }, i5.prototype.ar = function(t5) {
  6087. var i6 = this.es(t5), s5 = this.Sb(t5), n5 = this.Rf(t5);
  6088. return i6 != -1 ? this.bp(i6, s5) : this.$o(n5, s5), s5 != -1 ? this.cp(s5, i6) : this.ap(n5, i6), this.uO(t5), this.Tl(n5, this.ea(n5) - 1), this.mF(t5), s5;
  6089. }, i5.prototype.uO = function(t5) {
  6090. var i6 = this.Ya(t5);
  6091. if (i6 != -1) {
  6092. for (var s5 = 0, n5 = this.Ka(t5); s5 < n5; s5++) {
  6093. var h2 = i6;
  6094. i6 = this.V(i6), this.Qy(h2);
  6095. }
  6096. i6 = this.Rf(t5), this.Vj(i6, this.I(i6) - this.Ka(t5));
  6097. }
  6098. this.Xj(t5, 0);
  6099. }, i5.prototype.Sb = function(t5) {
  6100. return this.md.U(t5, 2);
  6101. }, i5.prototype.es = function(t5) {
  6102. return this.md.U(t5, 1);
  6103. }, i5.prototype.Ka = function(t5) {
  6104. return this.md.U(t5, 3);
  6105. }, i5.prototype.ec = function(t5) {
  6106. return (1 & this.Up(t5)) != 0;
  6107. }, i5.prototype.mn = function(t5, i6) {
  6108. if (this.ec(t5) != i6) {
  6109. if (0 < this.Ka(t5)) {
  6110. var s5 = this.Ya(t5), n5 = this.tj(t5);
  6111. i6 ? (this.Cc(n5, s5), this.Dc(s5, n5), s5 = this.Va(n5)) : (this.Cc(n5, -1), this.Dc(s5, -1), s5 = this.Va(n5)), this.Zg(s5, null);
  6112. }
  6113. this.PB(t5, (1 | this.Up(t5)) - 1 | (i6 ? 1 : 0));
  6114. }
  6115. }, i5.prototype.Rf = function(t5) {
  6116. return this.md.U(t5, 7);
  6117. }, i5.prototype.QS = function(t5) {
  6118. return (2 & this.Up(t5)) != 0;
  6119. }, i5.prototype.JB = function(t5, i6) {
  6120. this.PB(t5, (2 | this.Up(t5)) - 2 | (i6 ? 2 : 0));
  6121. }, i5.prototype.qz = function(i6) {
  6122. if (this.VS(i6))
  6123. return this.Qi.get(this.sv(i6));
  6124. var s5 = new t4.zb(), n5 = this.Ya(i6);
  6125. if (n5 == -1)
  6126. return 0;
  6127. var h2 = new t4.h();
  6128. this.D(n5, h2);
  6129. for (var r2 = 0, e2 = 0, o2 = this.Ka(i6); e2 < o2; e2++, n5 = this.V(n5)) {
  6130. var a2 = this.cc(n5);
  6131. if (a2 == null) {
  6132. if (!this.fd(n5, s5))
  6133. continue;
  6134. a2 = s5;
  6135. }
  6136. r2 += a2.Sx(h2.x, h2.y);
  6137. }
  6138. return this.ep(i6, true), this.Qi.set(this.sv(i6), r2), r2;
  6139. }, i5.prototype.ir = function(t5, i6, s5) {
  6140. i6 = this.Dk[i6], t5 = this.sv(t5), i6.size < this.Qi.size && i6.resize(this.Qi.size, -1), i6.write(t5, s5);
  6141. }, i5.prototype.uj = function(t5, i6) {
  6142. return (t5 = this.sv(t5)) < (i6 = this.Dk[i6]).size ? i6.read(t5) : -1;
  6143. }, i5.prototype.Fy = function() {
  6144. this.Dk == null && (this.Dk = []);
  6145. for (var i6 = 0; i6 < this.Dk.length; i6++)
  6146. if (this.Dk[i6] == null)
  6147. return this.Dk[i6] = t4.Zc.Qh(0), i6;
  6148. return this.Dk.push(t4.Zc.Qh(0)), this.Dk.length - 1;
  6149. }, i5.prototype.wB = function(t5) {
  6150. this.Dk[t5] = null;
  6151. }, i5.prototype.RT = function(i6, s5, n5) {
  6152. if (n5 == -1)
  6153. throw t4.i.O();
  6154. if (s5 != n5) {
  6155. var h2 = this.Sb(n5), r2 = this.es(n5), e2 = this.Rf(n5);
  6156. r2 == -1 ? this.$o(e2, h2) : this.bp(r2, h2), h2 == -1 ? this.ap(e2, r2) : this.cp(h2, r2), this.Vj(e2, this.I(e2) - this.Ka(n5)), this.Tl(e2, this.ea(e2) - 1), r2 = s5 == -1 ? this.mv(i6) : this.es(s5), this.cp(n5, r2), this.bp(n5, s5), s5 == -1 ? this.ap(i6, n5) : this.cp(s5, n5), r2 == -1 ? this.$o(i6, n5) : this.bp(r2, n5), this.Vj(i6, this.I(i6) + this.Ka(n5)), this.Tl(i6, this.ea(i6) + 1), this.gx(n5, i6);
  6157. }
  6158. }, i5.prototype.kj = function(t5, i6) {
  6159. this.wb.we(this.Va(i6), this.pm()), this.yj(t5, -1, this.pm());
  6160. }, i5.prototype.pd = function(i6, s5) {
  6161. var n5 = this.cd(i6), h2 = this.Na(i6), r2 = this.V(i6);
  6162. h2 != -1 && this.Cc(h2, r2);
  6163. var e2 = this.Ka(n5);
  6164. if (i6 == this.Ya(n5) && this.Kf(n5, 1 < e2 ? r2 : -1), r2 != -1 && this.Dc(r2, h2), i6 == this.tj(n5) && this.Yg(n5, 1 < e2 ? h2 : -1), h2 != -1 && r2 != -1) {
  6165. h2 = this.Va(h2);
  6166. var o2 = this.Va(r2);
  6167. s5 ? (s5 = this.Uh(h2)) != null && (h2 = new t4.h(), this.wb.D(o2, h2), s5.Rc(h2)) : (o2 = this.Va(i6), s5 = this.Uh(o2), this.Zg(h2, s5), s5 != null && (h2 = this.wb.Oa(h2), s5.Ec(h2)));
  6168. }
  6169. return this.Xj(n5, e2 - 1), n5 = this.Rf(n5), this.Vj(n5, this.I(n5) - 1), this.Qy(i6), r2;
  6170. }, i5.prototype.Ya = function(t5) {
  6171. return this.md.U(t5, 4);
  6172. }, i5.prototype.tj = function(t5) {
  6173. return this.md.U(t5, 5);
  6174. }, i5.prototype.V = function(t5) {
  6175. return this.ud.U(t5, 2);
  6176. }, i5.prototype.Na = function(t5) {
  6177. return this.ud.U(t5, 1);
  6178. }, i5.prototype.cd = function(t5) {
  6179. return this.ud.U(t5, 3);
  6180. }, i5.prototype.hc = function(t5, i6) {
  6181. return this.yj(t5, -1, i6);
  6182. }, i5.prototype.$q = function(i6) {
  6183. if (i6 === void 0)
  6184. return this.$q(false);
  6185. if (i6 instanceof n4)
  6186. return new n4(i6);
  6187. var s5, h2 = -1, r2 = -1, e2 = -1, o2 = 0, a2 = false;
  6188. for (s5 = this.ld; s5 != -1; s5 = this.ve(s5))
  6189. if (!i6 || t4.ba.Ic(this.jc(s5))) {
  6190. for (h2 = this.Ob(s5); h2 != -1; h2 = this.Sb(h2))
  6191. if (e2 = r2 = this.Ya(h2), o2 = 0, r2 != -1) {
  6192. a2 = true;
  6193. break;
  6194. }
  6195. if (a2)
  6196. break;
  6197. }
  6198. return n4.uP(this, s5, h2, r2, e2, o2, i6);
  6199. }, i5.prototype.Pc = function(t5) {
  6200. if (this.Kl.Pc(t5), this.Te != null)
  6201. for (var i6 = 0, s5 = this.Te.length; i6 < s5; i6++)
  6202. this.Te[i6] != null && this.Te[i6].Pc(t5);
  6203. }, i5.prototype.lr = function(t5, i6, s5, n5) {
  6204. n5 ? this.FX(t5, i6, s5) : this.EX(t5, i6, s5);
  6205. }, i5.prototype.Dc = function(t5, i6) {
  6206. this.ud.T(t5, 1, i6);
  6207. }, i5.prototype.Cc = function(t5, i6) {
  6208. this.ud.T(t5, 2, i6);
  6209. }, i5.prototype.cj = function(t5, i6) {
  6210. this.ud.T(t5, 3, i6);
  6211. }, i5.prototype.Xj = function(t5, i6) {
  6212. this.md.T(t5, 3, i6);
  6213. }, i5.prototype.Kf = function(t5, i6) {
  6214. this.md.T(t5, 4, i6);
  6215. }, i5.prototype.Yg = function(t5, i6) {
  6216. this.md.T(t5, 5, i6);
  6217. }, i5.prototype.Tl = function(t5, i6) {
  6218. this.dd.T(t5, 6, i6);
  6219. }, i5.prototype.Vj = function(t5, i6) {
  6220. this.dd.T(t5, 5, i6);
  6221. }, i5.prototype.jJ = function(t5) {
  6222. var i6 = t5;
  6223. do {
  6224. var s5 = this.V(i6);
  6225. this.Cc(i6, this.Na(i6)), this.Dc(i6, s5), i6 = s5;
  6226. } while (i6 != t5);
  6227. }, i5.prototype.WB = function(t5) {
  6228. this.gd = t5;
  6229. }, i5.prototype.br = function(t5) {
  6230. var i6 = this.es(t5), s5 = this.Sb(t5), n5 = this.Rf(t5);
  6231. i6 != -1 ? this.bp(i6, s5) : this.$o(n5, s5), s5 != -1 ? this.cp(s5, i6) : this.ap(n5, i6), this.Kf(t5, -1), this.Yg(t5, -1), this.mF(t5);
  6232. }, i5.prototype.oi = function(i6, s5) {
  6233. var n5 = this.Na(i6), h2 = this.V(i6);
  6234. if (n5 != -1 && this.Cc(n5, h2), h2 != -1 && this.Dc(h2, n5), n5 != -1 && h2 != -1)
  6235. if (n5 = this.Va(n5), h2 = this.Va(h2), s5) {
  6236. if ((s5 = this.Uh(n5)) != null) {
  6237. var r2 = new t4.h();
  6238. this.wb.D(h2, r2), s5.Rc(r2);
  6239. }
  6240. } else
  6241. s5 = this.Va(i6), s5 = this.Uh(s5), this.Zg(n5, s5), s5 != null && (r2 = new t4.h(), this.wb.D(n5, r2), s5.Ec(r2));
  6242. this.Qy(i6);
  6243. }, i5.prototype.VS = function(t5) {
  6244. return (4 & this.Up(t5)) != 0;
  6245. }, i5.prototype.ep = function(t5, i6) {
  6246. this.PB(t5, (4 | this.Up(t5)) - 4 | (i6 ? 4 : 0));
  6247. }, i5.prototype.nx = function(t5, i6) {
  6248. var s5 = this.ud.o;
  6249. this.wb.rc();
  6250. var n5 = this.wb.Aa[0].o;
  6251. t5.Wd(0, i6, function(t6, i7) {
  6252. var h2 = s5[5 * t6];
  6253. t6 = s5[5 * i7], i7 = n5[2 * h2], h2 = n5[2 * h2 + 1];
  6254. var r2 = n5[2 * t6];
  6255. return h2 < (t6 = n5[2 * t6 + 1]) ? -1 : h2 > t6 ? 1 : i7 < r2 ? -1 : i7 > r2 ? 1 : 0;
  6256. });
  6257. }, i5.prototype.cS = function() {
  6258. for (var i6 = this.ld; i6 != -1; i6 = this.ve(i6))
  6259. if (!t4.ba.Ic(this.jc(i6)))
  6260. return true;
  6261. return false;
  6262. }, i5.prototype.bC = function(t5, i6) {
  6263. for (var s5 = this.Ob(t5), n5 = this.Ob(i6), h2 = this.mv(t5), r2 = this.mv(i6), e2 = this.Ob(t5); e2 != -1; e2 = this.Sb(e2))
  6264. this.gx(e2, i6);
  6265. for (e2 = this.Ob(i6); e2 != -1; e2 = this.Sb(e2))
  6266. this.gx(e2, t5);
  6267. this.$o(t5, n5), this.$o(i6, s5), this.ap(t5, r2), this.ap(i6, h2), s5 = this.I(t5), n5 = this.ea(t5), h2 = this.ea(i6), this.Vj(t5, this.I(i6)), this.Vj(i6, s5), this.Tl(t5, h2), this.Tl(i6, n5), s5 = this.dd.U(t5, 2), this.dd.T(t5, 2, this.dd.U(i6, 2)), this.dd.T(i6, 2, s5);
  6268. }, i5;
  6269. }(), t4.hd = i4;
  6270. }(V || (V = {})), function(t4) {
  6271. var i4 = function(i5) {
  6272. function s4(s5, n4, h2, r2) {
  6273. var e2 = i5.call(this) || this;
  6274. return e2.aa = new t4.l(), s5 === void 0 ? e2.OE() : typeof s5 == "number" ? e2.PO(s5, n4, h2, r2) : s5 instanceof t4.Ta ? n4 !== void 0 ? e2.Su(s5, n4, h2) : e2.QO(s5) : s5 instanceof t4.ua ? n4 !== void 0 ? e2.SO(s5, n4) : e2.RO(s5) : s5 instanceof t4.l ? e2.OO(s5) : e2.OE(), e2;
  6275. }
  6276. return Q(s4, i5), s4.prototype.Su = function(i6, s5, n4) {
  6277. this.description = t4.ee.og(), this.aa.Pa(), i6.B() || this.vu(i6, s5, n4);
  6278. }, s4.prototype.OO = function(i6) {
  6279. this.description = t4.ee.og(), this.aa.L(i6), this.aa.normalize();
  6280. }, s4.prototype.RO = function(i6) {
  6281. if (i6 == null)
  6282. throw t4.i.O();
  6283. this.description = i6, this.aa.Pa();
  6284. }, s4.prototype.SO = function(i6, s5) {
  6285. if (i6 == null)
  6286. throw t4.i.O();
  6287. this.description = i6, this.aa.L(s5), this.aa.normalize();
  6288. }, s4.prototype.OE = function() {
  6289. this.description = t4.ee.og(), this.aa.Pa();
  6290. }, s4.prototype.QO = function(i6) {
  6291. this.description = t4.ee.og(), this.aa.Pa(), i6.B() || this.vu(i6);
  6292. }, s4.prototype.PO = function(i6, s5, n4, h2) {
  6293. this.description = t4.ee.og(), this.L(i6, s5, n4, h2);
  6294. }, s4.prototype.L = function(t5, i6, s5, n4) {
  6295. if (this.wc(), typeof t5 == "number")
  6296. this.aa.L(t5, i6, s5, n4);
  6297. else
  6298. for (this.Pa(), i6 = 0, s5 = t5.length; i6 < s5; i6++)
  6299. this.$b(t5[i6]);
  6300. }, s4.prototype.Yo = function(i6) {
  6301. if (this.wc(), !i6.YS())
  6302. throw t4.i.O();
  6303. this.aa.L(i6);
  6304. }, s4.prototype.Pa = function() {
  6305. this.wc(), this.aa.Pa();
  6306. }, s4.prototype.B = function() {
  6307. return this.aa.B();
  6308. }, s4.prototype.S = function() {
  6309. return this.aa.S();
  6310. }, s4.prototype.da = function() {
  6311. return this.aa.da();
  6312. }, s4.prototype.hk = function() {
  6313. return this.aa.hk();
  6314. }, s4.prototype.Lp = function() {
  6315. return this.aa.Lp();
  6316. }, s4.prototype.Kp = function() {
  6317. return this.aa.tf();
  6318. }, s4.prototype.$b = function(i6) {
  6319. if (i6 instanceof t4.h)
  6320. this.wc(), this.aa.$b(i6);
  6321. else if (i6 instanceof t4.l)
  6322. this.wc(), this.aa.$b(i6);
  6323. else if (i6 instanceof t4.Ta) {
  6324. if (this.wc(), !i6.Bc()) {
  6325. var n4 = i6.description;
  6326. if (this.description != n4 && this.Ll(n4), this.B())
  6327. this.vu(i6);
  6328. else {
  6329. this.aa.$b(i6.D());
  6330. for (var h2 = 1, r2 = n4.Ba; h2 < r2; h2++)
  6331. for (var e2 = n4.Fd(h2), o2 = t4.ua.Wa(e2), a2 = 0; a2 < o2; a2++) {
  6332. var u2 = i6.Vc(e2, a2), f2 = this.Vg(e2, a2);
  6333. f2.$b(u2), this.setInterval(e2, a2, f2);
  6334. }
  6335. }
  6336. }
  6337. } else if (i6 instanceof s4 && !i6.B())
  6338. for ((n4 = i6.description) != this.description && this.Ll(n4), this.aa.$b(i6.aa), h2 = 1, r2 = n4.Ba; h2 < r2; h2++)
  6339. for (e2 = n4.qd(h2), o2 = t4.ua.Wa(e2), a2 = 0; a2 < o2; a2++)
  6340. u2 = i6.Vg(e2, a2), (f2 = this.Vg(e2, a2)).$b(u2), this.setInterval(e2, a2, f2);
  6341. }, s4.prototype.vu = function(i6, s5, n4) {
  6342. if (s5 !== void 0) {
  6343. this.aa.L(i6.D(), s5, n4), n4 = 1;
  6344. for (var h2 = (s5 = i6.description).Ba; n4 < h2; n4++)
  6345. for (var r2 = s5.Fd(n4), e2 = t4.ua.Wa(r2), o2 = 0; o2 < e2; o2++) {
  6346. var a2 = i6.Vc(r2, o2);
  6347. this.setInterval(r2, o2, a2, a2);
  6348. }
  6349. } else
  6350. for (this.aa.L(i6.la[0], i6.la[1]), n4 = 1, h2 = (s5 = i6.description).Ba; n4 < h2; n4++)
  6351. for (r2 = s5.Fd(n4), e2 = t4.ua.Wa(r2), o2 = 0; o2 < e2; o2++)
  6352. a2 = i6.Vc(r2, o2), this.setInterval(r2, o2, a2, a2);
  6353. }, s4.prototype.setInterval = function(i6, s5, n4, h2) {
  6354. if (n4 = typeof n4 == "number" ? new t4.Oc(n4, h2) : n4, this.wc(), i6 == 0)
  6355. if (s5 == 0)
  6356. this.aa.v = n4.pa, this.aa.C = n4.wa;
  6357. else {
  6358. if (s5 != 1)
  6359. throw t4.i.re();
  6360. this.aa.G = n4.pa, this.aa.H = n4.wa;
  6361. }
  6362. else
  6363. this.pD(0, i6, s5, n4.pa), this.pD(1, i6, s5, n4.wa);
  6364. }, s4.prototype.X = function(t5, i6) {
  6365. this.wc(), this.aa.X(t5, i6);
  6366. }, s4.prototype.Pc = function(i6) {
  6367. if (i6 instanceof t4.Ed)
  6368. this.wc(), i6.gC(this.aa);
  6369. else if (this.wc(), !this.aa.B()) {
  6370. var s5 = new t4.IK();
  6371. this.Ro(s5), s5.PS() ? s5.Pa() : i6.gC(s5);
  6372. }
  6373. }, s4.prototype.copyTo = function(i6) {
  6374. if (i6.K() != this.K())
  6375. throw t4.i.O();
  6376. if (i6.wc(), i6.description = this.description, i6.aa.L(this.aa), i6.la = null, this.la != null) {
  6377. i6.qu();
  6378. for (var s5 = 0; s5 < 2 * (this.description.Be.length - 2); s5++)
  6379. i6.la[s5] = this.la[s5];
  6380. }
  6381. }, s4.prototype.Ja = function() {
  6382. return new s4(this.description);
  6383. }, s4.prototype.He = function() {
  6384. return this.aa.qF();
  6385. }, s4.prototype.Rb = function() {
  6386. return this.aa.sR();
  6387. }, s4.prototype.K = function() {
  6388. return 197;
  6389. }, s4.prototype.Eb = function() {
  6390. return 2;
  6391. }, s4.prototype.dn = function(t5) {
  6392. this.copyTo(t5);
  6393. }, s4.prototype.A = function(t5) {
  6394. t5.v = this.aa.v, t5.G = this.aa.G, t5.C = this.aa.C, t5.H = this.aa.H;
  6395. }, s4.prototype.Ro = function(t5) {
  6396. t5.v = this.aa.v, t5.G = this.aa.G, t5.C = this.aa.C, t5.H = this.aa.H, t5.L(this.aa.v, this.aa.G, this.Pd(0, 1, 0), this.aa.C, this.aa.H, this.Pd(1, 1, 0));
  6397. }, s4.prototype.Vg = function(i6, s5) {
  6398. var n4 = new t4.Oc();
  6399. return n4.L(this.Pd(0, i6, s5), this.Pd(1, i6, s5)), n4;
  6400. }, s4.prototype.If = function(i6, s5) {
  6401. s5.kg(this.description);
  6402. var n4 = this.description.Ba - 1;
  6403. switch (i6) {
  6404. case 0:
  6405. for (i6 = 0; i6 < n4; i6++)
  6406. for (var h2 = this.description.qd(i6), r2 = t4.ua.Wa(h2), e2 = 0; e2 < r2; e2++)
  6407. s5.setAttribute(h2, e2, this.Pd(0, h2, e2));
  6408. s5.Db(this.aa.v, this.aa.G);
  6409. break;
  6410. case 1:
  6411. for (i6 = 0; i6 < n4; i6++)
  6412. for (h2 = this.description.qd(i6), r2 = t4.ua.Wa(h2), e2 = 0; e2 < r2; e2++)
  6413. s5.setAttribute(h2, e2, this.Pd(1, h2, e2));
  6414. s5.Db(this.aa.v, this.aa.H);
  6415. break;
  6416. case 2:
  6417. for (i6 = 0; i6 < n4; i6++)
  6418. for (h2 = this.description.qd(i6), r2 = t4.ua.Wa(h2), e2 = 0; e2 < r2; e2++)
  6419. s5.setAttribute(h2, e2, this.Pd(0, h2, e2));
  6420. s5.Db(this.aa.C, this.aa.H);
  6421. break;
  6422. case 3:
  6423. for (i6 = 0; i6 < n4; i6++)
  6424. for (h2 = this.description.qd(i6), r2 = t4.ua.Wa(h2), e2 = 0; e2 < r2; e2++)
  6425. s5.setAttribute(h2, e2, this.Pd(1, h2, e2));
  6426. s5.Db(this.aa.C, this.aa.G);
  6427. break;
  6428. default:
  6429. throw t4.i.re();
  6430. }
  6431. }, s4.prototype.gB = function(t5, i6) {
  6432. t5 = this.aa.gB(t5), i6.na(t5.x, t5.y);
  6433. }, s4.prototype.eR = function(t5, i6) {
  6434. return i6 * (t5.Qq - 2);
  6435. }, s4.prototype.rF = function(i6, s5, n4) {
  6436. if (this.aa.B())
  6437. throw t4.i.ga("empty geometry");
  6438. if (s5 == 0)
  6439. return i6 != 0 ? n4 != 0 ? this.aa.H : this.aa.C : n4 != 0 ? this.aa.G : this.aa.v;
  6440. if (n4 >= t4.ua.Wa(s5))
  6441. throw t4.i.O();
  6442. var h2 = this.description.Qf(s5);
  6443. return this.qu(), 0 <= h2 ? this.la[this.eR(this.description, i6) + this.description.ER(h2) - 2 + n4] : t4.ua.te(s5);
  6444. }, s4.prototype.qu = function() {
  6445. if (this.wc(), this.la == null && 2 < this.description.Be.length) {
  6446. this.la = [];
  6447. for (var i6 = s4.Ig(this.description, 0), n4 = s4.Ig(this.description, 1), h2 = 0, r2 = 1, e2 = this.description.Ba; r2 < e2; r2++) {
  6448. var o2 = this.description.qd(r2), a2 = t4.ua.Wa(o2);
  6449. o2 = t4.ua.te(o2);
  6450. for (var u2 = 0; u2 < a2; u2++)
  6451. this.la[i6 + h2] = o2, this.la[n4 + h2] = o2, h2++;
  6452. }
  6453. }
  6454. }, s4.prototype.un = function(i6) {
  6455. if (this.la != null)
  6456. if (2 < i6.Be.length) {
  6457. for (var n4 = t4.ee.Kw(i6, this.description), h2 = [], r2 = s4.Ig(this.description, 0), e2 = s4.Ig(this.description, 1), o2 = s4.Ig(i6, 0), a2 = s4.Ig(i6, 1), u2 = 0, f2 = 1, c2 = i6.Ba; f2 < c2; f2++) {
  6458. var l2 = i6.qd(f2), p2 = t4.ua.Wa(l2);
  6459. if (n4[f2] == -1) {
  6460. var v2 = t4.ua.te(l2);
  6461. for (l2 = 0; l2 < p2; l2++)
  6462. h2[o2 + u2] = v2, h2[a2 + u2] = v2, u2++;
  6463. } else
  6464. for (v2 = this.description.ak(n4[f2]) - 2, l2 = 0; l2 < p2; l2++)
  6465. h2[o2 + u2] = this.la[r2 + v2], h2[a2 + u2] = this.la[e2 + v2], u2++, v2++;
  6466. }
  6467. this.la = h2;
  6468. } else
  6469. this.la = null;
  6470. this.description = i6;
  6471. }, s4.prototype.Pd = function(i6, n4, h2) {
  6472. if (this.aa.B())
  6473. throw t4.i.ga("This operation was performed on an Empty Geometry.");
  6474. if (n4 == 0)
  6475. return i6 != 0 ? h2 != 0 ? this.aa.H : this.aa.C : h2 != 0 ? this.aa.G : this.aa.v;
  6476. if (h2 >= t4.ua.Wa(n4))
  6477. throw t4.i.re();
  6478. var r2 = this.description.Qf(n4);
  6479. return 0 <= r2 ? (this.qu(), this.la[s4.Ig(this.description, i6) + this.description.ak(r2) - 2 + h2]) : t4.ua.te(n4);
  6480. }, s4.prototype.pD = function(i6, n4, h2, r2) {
  6481. if (this.wc(), n4 == 0)
  6482. i6 != 0 ? h2 != 0 ? this.aa.H = r2 : this.aa.C = r2 : h2 != 0 ? this.aa.G = r2 : this.aa.v = r2;
  6483. else {
  6484. if (h2 >= t4.ua.Wa(n4))
  6485. throw t4.i.re();
  6486. if (!this.hasAttribute(n4)) {
  6487. if (t4.ua.xG(n4, r2))
  6488. return;
  6489. this.se(n4);
  6490. }
  6491. n4 = this.description.Qf(n4), this.qu(), this.la[s4.Ig(this.description, i6) + this.description.ak(n4) - 2 + h2] = r2;
  6492. }
  6493. }, s4.Ig = function(t5, i6) {
  6494. return i6 * (t5.Be.length - 2);
  6495. }, s4.prototype.Fa = function(i6) {
  6496. this.wc();
  6497. var s5 = new t4.l();
  6498. return i6.A(s5), this.aa.Fa(s5);
  6499. }, s4.prototype.isIntersecting = function(i6) {
  6500. return i6 instanceof t4.l ? this.aa.isIntersecting(i6) : this.aa.isIntersecting(i6.aa);
  6501. }, s4.prototype.Lu = function(t5, i6) {
  6502. this.wc(), t5.B() ? this.Pa() : i6 !== void 0 ? this.vu(t5, i6, void 0) : this.aa.Lu(t5.Ng(), t5.kh());
  6503. }, s4.prototype.offset = function(t5, i6) {
  6504. this.wc(), this.aa.offset(t5, i6);
  6505. }, s4.prototype.normalize = function() {
  6506. this.wc(), this.aa.normalize();
  6507. }, s4.prototype.tf = function(i6) {
  6508. if (i6 === void 0) {
  6509. if (i6 = new t4.Ta(this.description), this.B())
  6510. return i6;
  6511. for (s5 = this.description.Ba, n4 = 1; n4 < s5; n4++)
  6512. for (h2 = this.description.Fd(n4), r2 = t4.ua.Wa(h2), e2 = 0; e2 < r2; e2++)
  6513. o2 = 0.5 * (this.Pd(0, h2, e2) + this.Pd(1, h2, e2)), i6.setAttribute(h2, e2, o2);
  6514. return i6.Db(this.aa.hk(), this.aa.Lp()), i6;
  6515. }
  6516. if (i6.kg(this.description), this.B())
  6517. i6.Pa();
  6518. else {
  6519. for (var s5 = this.description.Ba, n4 = 1; n4 < s5; n4++)
  6520. for (var h2 = this.description.qd(n4), r2 = t4.ua.Wa(h2), e2 = 0; e2 < r2; e2++) {
  6521. var o2 = 0.5 * (this.rF(0, h2, e2) + this.rF(1, h2, e2));
  6522. i6.setAttribute(h2, e2, o2);
  6523. }
  6524. i6.Db(this.aa.tf());
  6525. }
  6526. }, s4.prototype.hz = function() {
  6527. return new t4.Ta(this.aa.hz());
  6528. }, s4.prototype.contains = function(i6) {
  6529. return i6 instanceof t4.Ta ? !i6.B() && this.aa.contains(i6.Ng(), i6.kh()) : this.aa.contains(i6.aa);
  6530. }, s4.prototype.YO = function(t5) {
  6531. return this.aa.contains(t5);
  6532. }, s4.prototype.Nb = function(t5) {
  6533. if (t5 == this)
  6534. return true;
  6535. if (!(t5 instanceof s4) || this.description != t5.description)
  6536. return false;
  6537. if (this.B())
  6538. return !!t5.B();
  6539. if (!this.aa.Nb(t5.aa))
  6540. return false;
  6541. for (var i6 = 0, n4 = 2 * (this.description.Be.length - 2); i6 < n4; i6++)
  6542. if (this.la[i6] != t5.la[i6])
  6543. return false;
  6544. return true;
  6545. }, s4.prototype.dc = function() {
  6546. var i6 = this.description.dc();
  6547. if (i6 = t4.P.Vh(i6, this.aa.dc()), !this.B() && this.la != null)
  6548. for (var s5 = 0, n4 = 2 * (this.description.Be.length - 2); s5 < n4; s5++)
  6549. i6 = t4.P.Vh(i6, this.la[s5]);
  6550. return i6;
  6551. }, s4.prototype.gs = function() {
  6552. return this.aa.v;
  6553. }, s4.prototype.js = function() {
  6554. return this.aa.G;
  6555. }, s4.prototype.fs = function() {
  6556. return this.aa.C;
  6557. }, s4.prototype.hs = function() {
  6558. return this.aa.H;
  6559. }, s4.prototype.mg = function() {
  6560. return t4.si.im(this, null);
  6561. }, s4.prototype.toString = function() {
  6562. return this.B() ? "Envelope: []" : "Envelope: [" + this.aa.v + ", " + this.aa.G + ", " + this.aa.C + ", " + this.aa.H + "]";
  6563. }, s4;
  6564. }(t4.ba);
  6565. t4.Hh = i4;
  6566. }(V || (V = {})), function(t4) {
  6567. var i4 = function() {
  6568. function i5(t5, i6, s4, n4) {
  6569. t5 === void 0 ? this.Pa() : (this.v = t5, this.G = i6, this.C = s4, this.H = n4);
  6570. }
  6571. return i5.construct = function(t5, s4, n4, h2) {
  6572. var r2 = new i5();
  6573. return r2.v = t5, r2.G = s4, r2.C = n4, r2.H = h2, r2;
  6574. }, i5.prototype.L = function(s4, n4, h2, r2) {
  6575. typeof s4 == "number" ? h2 !== void 0 ? (this.v = s4, this.G = n4, this.C = h2, this.H = r2, this.normalize()) : (this.v = s4, this.G = n4, this.C = s4, this.H = n4) : s4 instanceof t4.h ? n4 !== void 0 ? (this.v = s4.x - 0.5 * n4, this.C = this.v + n4, this.G = s4.y - 0.5 * h2, this.H = this.G + h2, this.normalize()) : (this.v = s4.x, this.G = s4.y, this.C = s4.x, this.H = s4.y) : s4 instanceof i5 ? this.L(s4.v, s4.G, s4.C, s4.H) : s4 instanceof t4.Oc && (s4.B() || n4.B() ? this.Pa() : (this.v = s4.pa, this.C = s4.wa, this.G = n4.pa, this.H = n4.wa));
  6576. }, i5.prototype.bx = function(t5, i6) {
  6577. if (i6 !== void 0)
  6578. if (i6 == 0)
  6579. this.Pa();
  6580. else {
  6581. this.v = t5[0].x, this.G = t5[0].y, this.C = this.v, this.H = this.G;
  6582. for (var s4 = 1; s4 < i6; s4++) {
  6583. var n4 = t5[s4];
  6584. n4.x < this.v ? this.v = n4.x : n4.x > this.C && (this.C = n4.x), n4.y < this.G ? this.G = n4.y : n4.y > this.H && (this.H = n4.y);
  6585. }
  6586. }
  6587. else if (t5 == null || t5.length == 0)
  6588. this.Pa();
  6589. else
  6590. for (n4 = t5[0], this.L(n4.x, n4.y), s4 = 1; s4 < t5.length; s4++)
  6591. i6 = t5[s4], this.Mk(i6.x, i6.y);
  6592. }, i5.prototype.Pa = function() {
  6593. this.H = this.C = this.G = this.v = NaN;
  6594. }, i5.prototype.B = function() {
  6595. return isNaN(this.v);
  6596. }, i5.prototype.$b = function(s4, n4) {
  6597. typeof s4 == "number" ? this.B() ? (this.v = s4, this.G = n4, this.C = s4, this.H = n4) : (this.v > s4 ? this.v = s4 : this.C < s4 && (this.C = s4), this.G > n4 ? this.G = n4 : this.H < n4 && (this.H = n4)) : s4 instanceof t4.h || s4 instanceof t4.Od ? this.$b(s4.x, s4.y) : s4 instanceof i5 && !s4.B() && (this.$b(s4.v, s4.G), this.$b(s4.C, s4.H));
  6598. }, i5.prototype.Mk = function(t5, i6) {
  6599. this.v > t5 ? this.v = t5 : this.C < t5 && (this.C = t5), this.G > i6 ? this.G = i6 : this.H < i6 && (this.H = i6);
  6600. }, i5.prototype.X = function(t5, i6) {
  6601. this.B() || (this.v -= t5, this.C += t5, this.G -= i6, this.H += i6, (this.v > this.C || this.G > this.H) && this.Pa());
  6602. }, i5.prototype.scale = function(t5) {
  6603. 0 > t5 && this.Pa(), this.B() || (this.v *= t5, this.C *= t5, this.G *= t5, this.H *= t5);
  6604. }, i5.prototype.zoom = function(t5, i6) {
  6605. this.B() || this.L(this.tf(), t5 * this.S(), i6 * this.da());
  6606. }, i5.prototype.isIntersecting = function(t5) {
  6607. return !this.B() && !t5.B() && (this.v <= t5.v ? this.C >= t5.v : t5.C >= this.v) && (this.G <= t5.G ? this.H >= t5.G : t5.H >= this.G);
  6608. }, i5.prototype.BG = function(t5) {
  6609. return (this.v <= t5.v ? this.C >= t5.v : t5.C >= this.v) && (this.G <= t5.G ? this.H >= t5.G : t5.H >= this.G);
  6610. }, i5.prototype.Fa = function(t5) {
  6611. return !this.B() && !t5.B() && (t5.v > this.v && (this.v = t5.v), t5.C < this.C && (this.C = t5.C), t5.G > this.G && (this.G = t5.G), t5.H < this.H && (this.H = t5.H), (t5 = this.v <= this.C && this.G <= this.H) || this.Pa(), t5);
  6612. }, i5.prototype.gB = function(i6) {
  6613. switch (i6) {
  6614. case 0:
  6615. return t4.h.construct(this.v, this.G);
  6616. case 1:
  6617. return t4.h.construct(this.v, this.H);
  6618. case 2:
  6619. return t4.h.construct(this.C, this.H);
  6620. case 3:
  6621. return t4.h.construct(this.C, this.G);
  6622. default:
  6623. throw t4.i.re();
  6624. }
  6625. }, i5.prototype.hB = function(i6) {
  6626. if (i6 == null || 4 > i6.length)
  6627. throw t4.i.O();
  6628. i6[0] != null ? i6[0].na(this.v, this.G) : i6[0] = t4.h.construct(this.v, this.G), i6[1] != null ? i6[1].na(this.v, this.H) : i6[1] = t4.h.construct(this.v, this.H), i6[2] != null ? i6[2].na(this.C, this.H) : i6[2] = t4.h.construct(this.C, this.H), i6[3] != null ? i6[3].na(this.C, this.G) : i6[3] = t4.h.construct(this.C, this.G);
  6629. }, i5.prototype.qF = function() {
  6630. return this.B() ? 0 : this.S() * this.da();
  6631. }, i5.prototype.sR = function() {
  6632. return this.B() ? 0 : 2 * (this.S() + this.da());
  6633. }, i5.prototype.hk = function() {
  6634. return (this.C + this.v) / 2;
  6635. }, i5.prototype.Lp = function() {
  6636. return (this.H + this.G) / 2;
  6637. }, i5.prototype.S = function() {
  6638. return this.C - this.v;
  6639. }, i5.prototype.da = function() {
  6640. return this.H - this.G;
  6641. }, i5.prototype.move = function(t5, i6) {
  6642. this.B() || (this.v += t5, this.G += i6, this.C += t5, this.H += i6);
  6643. }, i5.prototype.Lu = function(i6, s4) {
  6644. if (s4 !== void 0)
  6645. this.move(i6 - this.hk(), s4 - this.Lp());
  6646. else if (i6 instanceof t4.h)
  6647. this.Lu(i6.x, i6.y);
  6648. else {
  6649. if (!(i6 instanceof t4.Ta))
  6650. throw t4.i.O();
  6651. s4 = (this.C - this.v) / 2;
  6652. var n4 = (this.H - this.G) / 2;
  6653. this.v = i6.Ng() - s4, this.C = i6.Ng() + s4, this.G = i6.kh() - n4, this.H = i6.kh() + n4;
  6654. }
  6655. }, i5.prototype.offset = function(t5, i6) {
  6656. this.v += t5, this.C += t5, this.G += i6, this.H += i6;
  6657. }, i5.prototype.normalize = function() {
  6658. if (!this.B()) {
  6659. var t5 = Math.min(this.v, this.C), i6 = Math.max(this.v, this.C);
  6660. this.v = t5, this.C = i6, t5 = Math.min(this.G, this.H), i6 = Math.max(this.G, this.H), this.G = t5, this.H = i6;
  6661. }
  6662. }, i5.prototype.fn = function(t5) {
  6663. t5.na(this.v, this.G);
  6664. }, i5.prototype.UI = function(t5) {
  6665. t5.na(this.C, this.G);
  6666. }, i5.prototype.XI = function(t5) {
  6667. t5.na(this.v, this.H);
  6668. }, i5.prototype.gn = function(t5) {
  6669. t5.na(this.C, this.H);
  6670. }, i5.prototype.YS = function() {
  6671. return this.B() || this.v <= this.C && this.G <= this.H;
  6672. }, i5.prototype.tf = function() {
  6673. return t4.h.construct((this.C + this.v) / 2, (this.H + this.G) / 2);
  6674. }, i5.prototype.hz = function() {
  6675. return t4.h.construct(this.v, this.G);
  6676. }, i5.prototype.contains = function(s4, n4) {
  6677. if (n4 !== void 0)
  6678. return s4 >= this.v && s4 <= this.C && n4 >= this.G && n4 <= this.H;
  6679. if (s4 instanceof t4.Ta)
  6680. return this.contains(s4.Ng(), s4.kh());
  6681. if (s4 instanceof t4.h)
  6682. return this.contains(s4.x, s4.y);
  6683. if (s4 instanceof i5)
  6684. return s4.v >= this.v && s4.C <= this.C && s4.G >= this.G && s4.H <= this.H;
  6685. throw t4.i.O();
  6686. }, i5.prototype.jm = function(s4, n4) {
  6687. if (n4 !== void 0)
  6688. return s4 > this.v && s4 < this.C && n4 > this.G && n4 < this.H;
  6689. if (s4 instanceof t4.h)
  6690. return this.jm(s4.x, s4.y);
  6691. if (s4 instanceof i5)
  6692. return s4.v > this.v && s4.C < this.C && s4.G > this.G && s4.H < this.H;
  6693. throw t4.i.O();
  6694. }, i5.prototype.Nb = function(t5) {
  6695. return t5 == this || t5 instanceof i5 && (!(!this.B() || !t5.B()) || this.v == t5.v && this.G == t5.G && this.C == t5.C && this.H == t5.H);
  6696. }, i5.prototype.dc = function() {
  6697. var i6 = this.v;
  6698. i6 = t4.P.truncate(i6 ^ i6 >>> 32);
  6699. var s4 = t4.P.Vh(i6);
  6700. return i6 = this.C, i6 = t4.P.truncate(i6 ^ i6 >>> 32), s4 = t4.P.Vh(i6, s4), i6 = this.G, i6 = t4.P.truncate(i6 ^ i6 >>> 32), s4 = t4.P.Vh(i6, s4), i6 = this.H, i6 = t4.P.truncate(i6 ^ i6 >>> 32), t4.P.Vh(i6, s4);
  6701. }, i5.prototype.zr = function() {
  6702. return this.B() ? 2220446049250313e-29 : 2220446049250313e-29 * (Math.abs(this.v) + Math.abs(this.C) + Math.abs(this.G) + Math.abs(this.H) + 1);
  6703. }, i5.prototype.uy = function(t5, s4) {
  6704. var n4 = this.$j(t5), h2 = this.$j(s4);
  6705. if ((n4 & h2) != 0)
  6706. return 0;
  6707. if ((n4 | h2) == 0)
  6708. return 4;
  6709. var r2 = (n4 != 0 ? 1 : 0) | (h2 != 0 ? 2 : 0);
  6710. do {
  6711. var e2 = s4.x - t5.x, o2 = s4.y - t5.y;
  6712. if (e2 > o2 ? (n4 & i5.SC) != 0 ? ((n4 & i5.lu) != 0 ? (t5.y += o2 * (this.v - t5.x) / e2, t5.x = this.v) : (t5.y += o2 * (this.C - t5.x) / e2, t5.x = this.C), n4 = this.$j(t5)) : (h2 & i5.SC) != 0 ? ((h2 & i5.lu) != 0 ? (s4.y += o2 * (this.v - s4.x) / e2, s4.x = this.v) : (s4.y += o2 * (this.C - s4.x) / e2, s4.x = this.C), h2 = this.$j(s4)) : n4 != 0 ? ((n4 & i5.mu) != 0 ? (t5.x += e2 * (this.G - t5.y) / o2, t5.y = this.G) : (t5.x += e2 * (this.H - t5.y) / o2, t5.y = this.H), n4 = this.$j(t5)) : ((h2 & i5.mu) != 0 ? (s4.x += e2 * (this.G - s4.y) / o2, s4.y = this.G) : (s4.x += e2 * (this.H - s4.y) / o2, s4.y = this.H), h2 = this.$j(s4)) : (n4 & i5.TC) != 0 ? ((n4 & i5.mu) != 0 ? (t5.x += e2 * (this.G - t5.y) / o2, t5.y = this.G) : (t5.x += e2 * (this.H - t5.y) / o2, t5.y = this.H), n4 = this.$j(t5)) : (h2 & i5.TC) != 0 ? ((h2 & i5.mu) != 0 ? (s4.x += e2 * (this.G - s4.y) / o2, s4.y = this.G) : (s4.x += e2 * (this.H - s4.y) / o2, s4.y = this.H), h2 = this.$j(s4)) : n4 != 0 ? ((n4 & i5.lu) != 0 ? (t5.y += o2 * (this.v - t5.x) / e2, t5.x = this.v) : (t5.y += o2 * (this.C - t5.x) / e2, t5.x = this.C), n4 = this.$j(t5)) : ((h2 & i5.lu) != 0 ? (s4.y += o2 * (this.v - s4.x) / e2, s4.x = this.v) : (s4.y += o2 * (this.C - s4.x) / e2, s4.x = this.C), h2 = this.$j(s4)), (n4 & h2) != 0)
  6713. return 0;
  6714. } while ((n4 | h2) != 0);
  6715. return r2;
  6716. }, i5.prototype.$j = function(t5) {
  6717. return (t5.x < this.v ? 1 : 0) | (t5.x > this.C ? 1 : 0) << 1 | (t5.y < this.G ? 1 : 0) << 2 | (t5.y > this.H ? 1 : 0) << 3;
  6718. }, i5.prototype.Di = function(t5) {
  6719. return !this.B() && (this.S() <= t5 || this.da() <= t5);
  6720. }, i5.prototype.ub = function(i6) {
  6721. return i6 instanceof t4.h ? Math.sqrt(this.cK(i6)) : Math.sqrt(this.px(i6));
  6722. }, i5.prototype.px = function(t5) {
  6723. var i6 = 0, s4 = 0, n4 = this.v - t5.C;
  6724. return n4 > i6 && (i6 = n4), (n4 = this.G - t5.H) > s4 && (s4 = n4), (n4 = t5.v - this.C) > i6 && (i6 = n4), (n4 = t5.G - this.H) > s4 && (s4 = n4), i6 * i6 + s4 * s4;
  6725. }, i5.prototype.cK = function(t5) {
  6726. var i6 = 0, s4 = 0, n4 = this.v - t5.x;
  6727. return n4 > i6 && (i6 = n4), (n4 = this.G - t5.y) > s4 && (s4 = n4), (n4 = t5.x - this.C) > i6 && (i6 = n4), (n4 = t5.y - this.H) > s4 && (s4 = n4), i6 * i6 + s4 * s4;
  6728. }, i5.prototype.en = function(t5) {
  6729. this.B() ? t5.Pa() : t5.L(this.v, this.C);
  6730. }, i5.lu = 1, i5.mu = 4, i5.SC = 3, i5.TC = 12, i5;
  6731. }();
  6732. t4.l = i4;
  6733. }(V || (V = {})), function(t4) {
  6734. var i4, s4;
  6735. (s4 = i4 || (i4 = {}))[s4.initialize = 0] = "initialize", s4[s4.initializeRed = 1] = "initializeRed", s4[s4.initializeBlue = 2] = "initializeBlue", s4[s4.initializeRedBlue = 3] = "initializeRedBlue", s4[s4.sweep = 4] = "sweep", s4[s4.sweepBruteForce = 5] = "sweepBruteForce", s4[s4.sweepRedBlueBruteForce = 6] = "sweepRedBlueBruteForce", s4[s4.sweepRedBlue = 7] = "sweepRedBlue", s4[s4.sweepRed = 8] = "sweepRed", s4[s4.sweepBlue = 9] = "sweepBlue", s4[s4.iterate = 10] = "iterate", s4[s4.iterateRed = 11] = "iterateRed", s4[s4.iterateBlue = 12] = "iterateBlue", s4[s4.iterateBruteForce = 13] = "iterateBruteForce", s4[s4.iterateRedBlueBruteForce = 14] = "iterateRedBlueBruteForce", s4[s4.resetRed = 15] = "resetRed", s4[s4.resetBlue = 16] = "resetBlue";
  6736. var n4 = function() {
  6737. function t5(t6, i5) {
  6738. this.ei = t6, this.YG = i5;
  6739. }
  6740. return t5.prototype.qr = function(t6, i5, s5) {
  6741. this.ei.BX(s5, t6, i5, this.YG);
  6742. }, t5.prototype.bq = function(t6) {
  6743. return this.ei.Tr(t6, this.YG);
  6744. }, t5;
  6745. }();
  6746. i4 = function() {
  6747. function i5() {
  6748. this.qw = this.po = this.ff = this.sd = null, this.yq = new t4.l(), this.Cm = this.Jj = this.Kj = this.Bd = this.Ff = this.Md = this.ew = this.ho = this.rd = this.Fb = null, this.Yb = -1, this.ra = 0, this.Ok();
  6749. }
  6750. return i5.prototype.mr = function() {
  6751. this.Ok(), this.Rv = true, this.Fb == null ? (this.ho = new t4.ja(0), this.Fb = []) : (this.ho.Dh(0), this.Fb.length = 0);
  6752. }, i5.prototype.bd = function(i6, s5) {
  6753. if (!this.Rv)
  6754. throw t4.i.Hb();
  6755. var n5 = new t4.l();
  6756. n5.L(s5), this.ho.add(i6), this.Fb.push(n5);
  6757. }, i5.prototype.Hp = function() {
  6758. if (!this.Rv)
  6759. throw t4.i.Hb();
  6760. this.Rv = false, this.Fb != null && 0 < this.Fb.length && (this.Yb = 0, this.Jc = false);
  6761. }, i5.prototype.jK = function() {
  6762. this.Ok(), this.Qv = true, this.Fb == null ? (this.ho = new t4.ja(0), this.Fb = []) : (this.ho.Dh(0), this.Fb.length = 0);
  6763. }, i5.prototype.CD = function(i6, s5) {
  6764. if (!this.Qv)
  6765. throw t4.i.Hb();
  6766. var n5 = new t4.l();
  6767. n5.L(s5), this.ho.add(i6), this.Fb.push(n5);
  6768. }, i5.prototype.cF = function() {
  6769. if (!this.Qv)
  6770. throw t4.i.Hb();
  6771. this.Qv = false, this.Fb != null && 0 < this.Fb.length && this.rd != null && 0 < this.rd.length && (this.Yb == -1 || this.Yb == 2 ? this.Yb = 3 : this.Yb != 3 && (this.Yb = 1), this.Jc = false);
  6772. }, i5.prototype.iK = function() {
  6773. this.Ok(), this.Pv = true, this.rd == null ? (this.ew = new t4.ja(0), this.rd = []) : (this.ew.Dh(0), this.rd.length = 0);
  6774. }, i5.prototype.yD = function(i6, s5) {
  6775. if (!this.Pv)
  6776. throw t4.i.Hb();
  6777. var n5 = new t4.l();
  6778. n5.L(s5), this.ew.add(i6), this.rd.push(n5);
  6779. }, i5.prototype.bF = function() {
  6780. if (!this.Pv)
  6781. throw t4.i.Hb();
  6782. this.Pv = false, this.Fb != null && 0 < this.Fb.length && this.rd != null && 0 < this.rd.length && (this.Yb == -1 || this.Yb == 1 ? this.Yb = 3 : this.Yb != 3 && (this.Yb = 2), this.Jc = false);
  6783. }, i5.prototype.next = function() {
  6784. if (this.Jc)
  6785. return false;
  6786. for (var i6 = true; i6; )
  6787. switch (this.Yb) {
  6788. case 0:
  6789. i6 = this.Bz();
  6790. break;
  6791. case 1:
  6792. i6 = this.kS();
  6793. break;
  6794. case 2:
  6795. i6 = this.hS();
  6796. break;
  6797. case 3:
  6798. i6 = this.jS();
  6799. break;
  6800. case 4:
  6801. i6 = this.MX();
  6802. break;
  6803. case 5:
  6804. i6 = this.IX();
  6805. break;
  6806. case 6:
  6807. i6 = this.JX();
  6808. break;
  6809. case 7:
  6810. i6 = this.KX();
  6811. break;
  6812. case 8:
  6813. i6 = this.tx();
  6814. break;
  6815. case 9:
  6816. i6 = this.cC();
  6817. break;
  6818. case 10:
  6819. i6 = this.Pz();
  6820. break;
  6821. case 11:
  6822. i6 = this.bT();
  6823. break;
  6824. case 12:
  6825. i6 = this.ZS();
  6826. break;
  6827. case 13:
  6828. i6 = this.$S();
  6829. break;
  6830. case 14:
  6831. i6 = this.aT();
  6832. break;
  6833. case 15:
  6834. i6 = this.eJ();
  6835. break;
  6836. case 16:
  6837. i6 = this.dJ();
  6838. break;
  6839. default:
  6840. throw t4.i.Ra();
  6841. }
  6842. return !this.Jc;
  6843. }, i5.prototype.VB = function(t5) {
  6844. this.ra = t5;
  6845. }, i5.prototype.oz = function(t5) {
  6846. return this.Fb[t5];
  6847. }, i5.prototype.Wy = function(t5) {
  6848. return this.rd[t5];
  6849. }, i5.prototype.pl = function(t5) {
  6850. return this.ho.read(t5);
  6851. }, i5.prototype.jl = function(t5) {
  6852. return this.ew.read(t5);
  6853. }, i5.Oz = function(t5) {
  6854. return (1 & t5) == 1;
  6855. }, i5.gq = function(t5) {
  6856. return (1 & t5) == 0;
  6857. }, i5.prototype.Ok = function() {
  6858. this.Rv = this.Pv = this.Qv = false, this.Df = this.Ef = this.Tg = this.pe = -1, this.Jc = true;
  6859. }, i5.prototype.Bz = function() {
  6860. if (this.Bf = this.Wf = -1, 10 > this.Fb.length)
  6861. return this.pe = this.Fb.length, this.Yb = 5, true;
  6862. this.sd == null && (this.sd = new t4.ur(true), this.po = this.sd.getIterator(), this.Md = new t4.ja(0)), this.sd.mr();
  6863. for (var i6 = 0; i6 < this.Fb.length; i6++) {
  6864. var s5 = this.Fb[i6];
  6865. this.sd.Dr(s5.v, s5.C);
  6866. }
  6867. for (this.sd.Hp(), this.Md.Jb(2 * this.Fb.length), this.Md.resize(0), i6 = 0; i6 < 2 * this.Fb.length; i6++)
  6868. this.Md.add(i6);
  6869. return this.Mt(this.Md, 2 * this.Fb.length, true), this.pe = 2 * this.Fb.length, this.Yb = 4, true;
  6870. }, i5.prototype.kS = function() {
  6871. if (this.Bf = this.Wf = -1, 10 > this.Fb.length || 10 > this.rd.length)
  6872. return this.pe = this.Fb.length, this.Yb = 6, true;
  6873. this.sd == null && (this.sd = new t4.ur(true), this.po = this.sd.getIterator(), this.Md = new t4.ja(0)), this.sd.mr();
  6874. for (var i6 = 0; i6 < this.Fb.length; i6++) {
  6875. var s5 = this.Fb[i6];
  6876. this.sd.Dr(s5.v, s5.C);
  6877. }
  6878. for (this.sd.Hp(), this.Md.Jb(2 * this.Fb.length), this.Md.resize(0), i6 = 0; i6 < 2 * this.Fb.length; i6++)
  6879. this.Md.add(i6);
  6880. return this.Mt(this.Md, this.Md.size, true), this.pe = this.Md.size, this.Ef != -1 && (this.Bd.eh(this.Ef), this.Kj.resize(0), this.Ef = -1), this.Yb = 7, this.dJ();
  6881. }, i5.prototype.hS = function() {
  6882. if (this.Bf = this.Wf = -1, 10 > this.Fb.length || 10 > this.rd.length)
  6883. return this.pe = this.Fb.length, this.Yb = 6, true;
  6884. this.ff == null && (this.ff = new t4.ur(true), this.qw = this.ff.getIterator(), this.Ff = new t4.ja(0)), this.ff.mr();
  6885. for (var i6 = 0; i6 < this.rd.length; i6++) {
  6886. var s5 = this.rd[i6];
  6887. this.ff.Dr(s5.v, s5.C);
  6888. }
  6889. for (this.ff.Hp(), this.Ff.Jb(2 * this.rd.length), this.Ff.resize(0), i6 = 0; i6 < 2 * this.rd.length; i6++)
  6890. this.Ff.add(i6);
  6891. return this.Mt(this.Ff, this.Ff.size, false), this.Tg = this.Ff.size, this.Df != -1 && (this.Bd.eh(this.Df), this.Jj.resize(0), this.Df = -1), this.Yb = 7, this.eJ();
  6892. }, i5.prototype.jS = function() {
  6893. if (this.Bf = this.Wf = -1, 10 > this.Fb.length || 10 > this.rd.length)
  6894. return this.pe = this.Fb.length, this.Yb = 6, true;
  6895. this.sd == null && (this.sd = new t4.ur(true), this.po = this.sd.getIterator(), this.Md = new t4.ja(0)), this.ff == null && (this.ff = new t4.ur(true), this.qw = this.ff.getIterator(), this.Ff = new t4.ja(0)), this.sd.mr();
  6896. for (var i6 = 0; i6 < this.Fb.length; i6++) {
  6897. var s5 = this.Fb[i6];
  6898. this.sd.Dr(s5.v, s5.C);
  6899. }
  6900. for (this.sd.Hp(), this.ff.mr(), i6 = 0; i6 < this.rd.length; i6++)
  6901. s5 = this.rd[i6], this.ff.Dr(s5.v, s5.C);
  6902. for (this.ff.Hp(), this.Md.Jb(2 * this.Fb.length), this.Ff.Jb(2 * this.rd.length), this.Md.resize(0), this.Ff.resize(0), i6 = 0; i6 < 2 * this.Fb.length; i6++)
  6903. this.Md.add(i6);
  6904. for (i6 = 0; i6 < 2 * this.rd.length; i6++)
  6905. this.Ff.add(i6);
  6906. return this.Mt(this.Md, this.Md.size, true), this.Mt(this.Ff, this.Ff.size, false), this.pe = this.Md.size, this.Tg = this.Ff.size, this.Ef != -1 && (this.Bd.eh(this.Ef), this.Kj.resize(0), this.Ef = -1), this.Df != -1 && (this.Bd.eh(this.Df), this.Jj.resize(0), this.Df = -1), this.Yb = 7, true;
  6907. }, i5.prototype.MX = function() {
  6908. var t5 = this.Md.get(--this.pe), s5 = t5 >> 1;
  6909. return i5.gq(t5) ? (this.sd.remove(s5), this.pe != 0 || (this.Bf = this.Wf = -1, this.Jc = true, false)) : (this.po.yB(this.Fb[s5].v, this.Fb[s5].C, this.ra), this.Wf = s5, this.Yb = 10, true);
  6910. }, i5.prototype.IX = function() {
  6911. return --this.pe == -1 ? (this.Bf = this.Wf = -1, this.Jc = true, false) : (this.Tg = this.Wf = this.pe, this.Yb = 13, true);
  6912. }, i5.prototype.JX = function() {
  6913. return --this.pe == -1 ? (this.Bf = this.Wf = -1, this.Jc = true, false) : (this.Wf = this.pe, this.Tg = this.rd.length, this.Yb = 14, true);
  6914. }, i5.prototype.KX = function() {
  6915. var t5 = this.Md.get(this.pe - 1), s5 = this.Ff.get(this.Tg - 1), n5 = this.Tr(t5, true), h2 = this.Tr(s5, false);
  6916. return n5 > h2 ? this.tx() : n5 < h2 ? this.cC() : i5.Oz(t5) ? this.tx() : i5.Oz(s5) ? this.cC() : this.tx();
  6917. }, i5.prototype.tx = function() {
  6918. var s5 = this.Md.get(--this.pe), n5 = s5 >> 1;
  6919. if (i5.gq(s5))
  6920. return this.Ef != -1 && this.Kj.get(n5) != -1 ? (this.Bd.kd(this.Ef, this.Kj.get(n5)), this.Kj.set(n5, -1)) : this.sd.remove(n5), this.pe != 0 || (this.Bf = this.Wf = -1, this.Jc = true, false);
  6921. if (this.Df != -1 && 0 < this.Bd.ds(this.Df))
  6922. for (s5 = this.Bd.sc(this.Df); s5 != -1; ) {
  6923. var h2 = this.Bd.getData(s5);
  6924. this.ff.xj(h2), this.Jj.set(h2, -1), h2 = this.Bd.lb(s5), this.Bd.kd(this.Df, s5), s5 = h2;
  6925. }
  6926. return 0 < this.ff.size() ? (this.qw.yB(this.Fb[n5].v, this.Fb[n5].C, this.ra), this.Wf = n5, this.Yb = 12) : (this.Ef == -1 && (this.Bd == null && (this.Bd = new t4.kp()), this.Kj = new t4.ja(0), this.Kj.resize(this.Fb.length, -1), this.Kj.Yj(-1, 0, this.Fb.length), this.Ef = this.Bd.Rh(1)), this.Kj.set(n5, this.Bd.addElement(this.Ef, n5)), this.Yb = 7), true;
  6927. }, i5.prototype.cC = function() {
  6928. var s5 = this.Ff.get(--this.Tg), n5 = s5 >> 1;
  6929. if (i5.gq(s5))
  6930. return this.Df != -1 && this.Jj.get(n5) != -1 ? (this.Bd.kd(this.Df, this.Jj.get(n5)), this.Jj.set(n5, -1)) : this.ff.remove(n5), this.Tg != 0 || (this.Bf = this.Wf = -1, this.Jc = true, false);
  6931. if (this.Ef != -1 && 0 < this.Bd.ds(this.Ef))
  6932. for (s5 = this.Bd.sc(this.Ef); s5 != -1; ) {
  6933. var h2 = this.Bd.getData(s5);
  6934. this.sd.xj(h2), this.Kj.set(h2, -1), h2 = this.Bd.lb(s5), this.Bd.kd(this.Ef, s5), s5 = h2;
  6935. }
  6936. return 0 < this.sd.size() ? (this.po.yB(this.rd[n5].v, this.rd[n5].C, this.ra), this.Bf = n5, this.Yb = 11) : (this.Df == -1 && (this.Bd == null && (this.Bd = new t4.kp()), this.Jj = new t4.ja(0), this.Jj.resize(this.rd.length, -1), this.Jj.Yj(-1, 0, this.rd.length), this.Df = this.Bd.Rh(0)), this.Jj.set(n5, this.Bd.addElement(this.Df, n5)), this.Yb = 7), true;
  6937. }, i5.prototype.Pz = function() {
  6938. if (this.Bf = this.po.next(), this.Bf != -1)
  6939. return false;
  6940. var t5 = this.Md.get(this.pe) >> 1;
  6941. return this.sd.xj(t5), this.Yb = 4, true;
  6942. }, i5.prototype.bT = function() {
  6943. if (this.Wf = this.po.next(), this.Wf != -1)
  6944. return false;
  6945. this.Bf = this.Wf = -1;
  6946. var t5 = this.Ff.get(this.Tg) >> 1;
  6947. return this.ff.xj(t5), this.Yb = 7, true;
  6948. }, i5.prototype.ZS = function() {
  6949. if (this.Bf = this.qw.next(), this.Bf != -1)
  6950. return false;
  6951. var t5 = this.Md.get(this.pe) >> 1;
  6952. return this.sd.xj(t5), this.Yb = 7, true;
  6953. }, i5.prototype.$S = function() {
  6954. if (--this.Tg == -1)
  6955. return this.Yb = 5, true;
  6956. this.yq.L(this.Fb[this.pe]);
  6957. var t5 = this.Fb[this.Tg];
  6958. return this.yq.X(this.ra, this.ra), !this.yq.isIntersecting(t5) || (this.Bf = this.Tg, false);
  6959. }, i5.prototype.aT = function() {
  6960. if (--this.Tg == -1)
  6961. return this.Yb = 6, true;
  6962. this.yq.L(this.Fb[this.pe]);
  6963. var t5 = this.rd[this.Tg];
  6964. return this.yq.X(this.ra, this.ra), !this.yq.isIntersecting(t5) || (this.Bf = this.Tg, false);
  6965. }, i5.prototype.eJ = function() {
  6966. return this.sd == null ? (this.Jc = true, false) : (this.pe = this.Md.size, 0 < this.sd.size() && this.sd.reset(), this.Ef != -1 && (this.Bd.eh(this.Ef), this.Kj.resize(0), this.Ef = -1), this.Jc = false, true);
  6967. }, i5.prototype.dJ = function() {
  6968. return this.ff == null ? (this.Jc = true, false) : (this.Tg = this.Ff.size, 0 < this.ff.size() && this.ff.reset(), this.Df != -1 && (this.Bd.eh(this.Df), this.Jj.resize(0), this.Df = -1), this.Jc = false, true);
  6969. }, i5.prototype.Mt = function(i6, s5, h2) {
  6970. this.Cm == null && (this.Cm = new t4.Zt()), h2 = new n4(this, h2), this.Cm.sort(i6, 0, s5, h2);
  6971. }, i5.prototype.BX = function(t5, s5, n5, h2) {
  6972. var r2 = this;
  6973. t5.Wd(s5, n5, function(t6, s6) {
  6974. var n6 = r2.Tr(t6, h2), e2 = r2.Tr(s6, h2);
  6975. return n6 < e2 || n6 == e2 && i5.gq(t6) && i5.Oz(s6) ? -1 : 1;
  6976. });
  6977. }, i5.prototype.Tr = function(t5, s5) {
  6978. var n5 = 0.5 * this.ra;
  6979. return s5 ? (s5 = this.Fb[t5 >> 1], i5.gq(t5) ? s5.G - n5 : s5.H + n5) : (s5 = this.rd[t5 >> 1], i5.gq(t5) ? s5.G - n5 : s5.H + n5);
  6980. }, i5;
  6981. }(), t4.rC = i4;
  6982. }(V || (V = {})), function(t4) {
  6983. var i4 = function() {
  6984. function i5() {
  6985. }
  6986. return i5.construct = function(t5, s4, n4, h2, r2, e2) {
  6987. var o2 = new i5();
  6988. return o2.v = t5, o2.G = s4, o2.Xe = n4, o2.C = h2, o2.H = r2, o2.Dg = e2, o2;
  6989. }, i5.prototype.Pa = function() {
  6990. this.Xe = this.v = NaN;
  6991. }, i5.prototype.B = function() {
  6992. return isNaN(this.v);
  6993. }, i5.prototype.PS = function() {
  6994. return isNaN(this.Xe);
  6995. }, i5.prototype.L = function(t5, i6, s4, n4, h2, r2) {
  6996. n4 !== void 0 ? typeof t5 == "number" ? (this.v = t5, this.G = i6, this.Xe = s4, this.C = n4, this.H = h2, this.Dg = r2) : (this.v = t5.x - 0.5 * i6, this.C = this.v + i6, this.G = t5.y - 0.5 * s4, this.H = this.G + s4, this.Xe = t5.z - 0.5 * n4, this.Dg = this.Xe + n4) : (this.v = t5, this.G = i6, this.Xe = s4, this.C = t5, this.H = i6, this.Dg = s4);
  6997. }, i5.prototype.move = function(t5) {
  6998. this.v += t5.x, this.G += t5.y, this.Xe += t5.z, this.C += t5.x, this.H += t5.y, this.Dg += t5.z;
  6999. }, i5.prototype.copyTo = function(t5) {
  7000. t5.v = this.v, t5.G = this.G, t5.C = this.C, t5.H = this.H;
  7001. }, i5.prototype.Mk = function(t5, i6, s4) {
  7002. this.v > t5 ? this.v = t5 : this.C < t5 && (this.C = t5), this.G > i6 ? this.G = i6 : this.H < i6 && (this.H = i6), isNaN(this.Xe) == 0 ? this.Xe > s4 ? this.Xe = s4 : this.Dg < s4 && (this.Dg = s4) : this.Dg = this.Xe = s4;
  7003. }, i5.prototype.$b = function(s4, n4, h2) {
  7004. if (typeof s4 == "number")
  7005. this.B() ? (this.v = s4, this.G = n4, this.Xe = h2, this.C = s4, this.H = n4, this.Dg = h2) : this.Mk(s4, n4, h2);
  7006. else if (s4 instanceof t4.Od)
  7007. this.$b(s4.x, s4.y, s4.z);
  7008. else {
  7009. if (!(s4 instanceof i5))
  7010. throw t4.i.O();
  7011. s4.B() || (this.$b(s4.v, s4.G, s4.Xe), this.$b(s4.C, s4.H, s4.Dg));
  7012. }
  7013. }, i5.prototype.construct = function(t5, i6, s4) {
  7014. t5.B() || i6.B() ? this.Pa() : (this.v = t5.pa, this.C = t5.wa, this.G = i6.pa, this.H = i6.wa, this.Xe = s4.pa, this.Dg = s4.wa);
  7015. }, i5.prototype.hB = function(i6) {
  7016. if (i6 == null || 8 > i6.length)
  7017. throw t4.i.O();
  7018. i6[0] = new t4.Od(this.v, this.G, this.Xe), i6[1] = new t4.Od(this.v, this.H, this.Xe), i6[2] = new t4.Od(this.C, this.H, this.Xe), i6[3] = new t4.Od(this.C, this.G, this.Xe), i6[4] = new t4.Od(this.v, this.G, this.Dg), i6[5] = new t4.Od(this.v, this.H, this.Dg), i6[6] = new t4.Od(this.C, this.H, this.Dg), i6[7] = new t4.Od(this.C, this.G, this.Dg);
  7019. }, i5.prototype.bx = function(t5) {
  7020. if (t5 == null || t5.length == 0)
  7021. this.Pa();
  7022. else {
  7023. var i6 = t5[0];
  7024. for (this.L(i6.x, i6.y, i6.z), i6 = 1; i6 < t5.length; i6++) {
  7025. var s4 = t5[i6];
  7026. this.Mk(s4.x, s4.y, s4.z);
  7027. }
  7028. }
  7029. }, i5;
  7030. }();
  7031. t4.IK = i4;
  7032. }(V || (V = {})), function(t4) {
  7033. !function(t5) {
  7034. t5.Ra = function() {
  7035. var t6 = Error();
  7036. return t6.message = "Internal Error", t6;
  7037. }, t5.Fe = function() {
  7038. var t6 = Error();
  7039. return t6.message = "Not Implemented", t6;
  7040. }, t5.Zk = function() {
  7041. var t6 = Error();
  7042. return t6.message = "The input unit and the spatial reference unit are not of the same unit type.ie Linear vs.Angular", t6;
  7043. }, t5.Hb = function() {
  7044. var t6 = Error();
  7045. return t6.message = "Invalid Call", t6;
  7046. }, t5.O = function(t6) {
  7047. var i4 = Error();
  7048. return i4.message = "Illegal Argument Exception", t6 !== void 0 && (i4.message += ": " + t6), i4;
  7049. }, t5.hu = function(t6) {
  7050. var i4 = Error();
  7051. return i4.message = t6 !== void 0 ? "Runtime Exception: " + t6 : "Runtime Exception.", i4;
  7052. }, t5.ga = function(t6) {
  7053. var i4 = Error();
  7054. return i4.message = "Geometry Exception: " + t6, i4;
  7055. }, t5.AK = function() {
  7056. var t6 = Error();
  7057. return t6.message = "Assert Failed Exception", t6;
  7058. }, t5.re = function() {
  7059. var t6 = Error();
  7060. return t6.message = "IndexOutOfBoundsException", t6;
  7061. }, t5.QC = function() {
  7062. var t6 = Error();
  7063. return t6.message = "UserCancelException", t6;
  7064. };
  7065. }(t4.i || (t4.i = {}));
  7066. }(V || (V = {})), function(t4) {
  7067. (t4 = t4.dm || (t4.dm = {}))[t4.forward = 0] = "forward", t4[t4.reverse = 1] = "reverse";
  7068. }(V || (V = {})), function(t4) {
  7069. var i4 = function() {
  7070. function i5(t5, i6) {
  7071. this.Xa = t5, this.zH = i6, this.FH = -1, this.ul = false;
  7072. }
  7073. return i5.prototype.qe = function() {
  7074. }, i5.prototype.next = function() {
  7075. if (++this.FH == this.zH.I())
  7076. return null;
  7077. var i6 = this.zH.Oa(this.FH);
  7078. i6.scale(this.Xa.fc);
  7079. var s5 = new t4.Ea();
  7080. return this.Xa.ny(i6, this.ul, s5), s5;
  7081. }, i5.prototype.Ma = function() {
  7082. return 0;
  7083. }, i5;
  7084. }(), s4 = function() {
  7085. function i5(i6, s5, n5) {
  7086. this.Xa = i6, this.tw = s5, this.Yn = false, this.eo = n5, this.dw = [0], this.tk = [0], this.Pj = [0], this.Is = [0], this.ul = false, this.sq = new t4.Ea(), this.vk = [];
  7087. }
  7088. return i5.prototype.qe = function() {
  7089. }, i5.prototype.next = function() {
  7090. if (this.Yn) {
  7091. this.Yn = false, this.td.ia();
  7092. var i6 = t4.ba.ig(this.sq);
  7093. return t4.Hg.Nk(i6, this.Xa.Cq, true, true, this.Xa.Vb);
  7094. }
  7095. if (this.td == null && (this.td = this.tw.Ha(), this.td.ab(), this.eo != null && this.eo.$k(null, 0)), !this.td.Ia()) {
  7096. if (!this.td.ab())
  7097. return null;
  7098. this.eo != null && this.eo.$k(null, 0);
  7099. }
  7100. i6 = null, this.tk[0] = 0, this.zA = this.dw[0] = 0, this.fi = NaN, this.Yn = false;
  7101. for (var s5 = this.vk.length = 0, h2 = new t4.h(), r2 = new t4.h(), e2 = [0]; this.td.Ia() && 8 > this.zA; ) {
  7102. var o2 = this.td.ia();
  7103. if (h2.N(o2.ac()), r2.N(o2.xc()), h2.scale(this.Xa.fc), r2.scale(this.Xa.fc), t4.ej.Ou(h2, r2) ? h2.x = r2.x : t4.ej.Mu(h2, r2) && (r2.x = h2.x), this.vk.length = 0, t4.ej.nF(this.Xa.Ub, this.Xa.lc, this.Xa.Ae, h2, r2, this.Xa.KA, this.Xa.at, e2, this.Pj, this.Is, this.vk, this.dw), this.eo != null && (o2 = this.vk.slice(0), this.eo.kG(this.eo.ea() - 1, o2, o2.length - 1)), t4.ej.Nu(h2, r2) ? (this.sq.Pa(), this.Xa.ny(h2, this.ul, this.sq), this.Yn = true) : (this.sq.Pa(), this.Yn = this.sy(e2[0], this.sq)), this.Yn) {
  7104. if (this.td.ni(), this.td.zz()) {
  7105. this.td.ni(), this.td.ia();
  7106. break;
  7107. }
  7108. this.td.uW();
  7109. break;
  7110. }
  7111. i6 == null && (i6 = new t4.Ea()).$k(null, 0), this.HD(i6), s5++;
  7112. }
  7113. if (this.dw[0] = 0, 0 < s5) {
  7114. for (e2 = this.td.xb(); 0 < s5; )
  7115. this.td.ni(), h2.N(this.tw.Oa(this.td.xb())), r2.N(this.tw.Oa(this.td.jk())), h2.scale(this.Xa.fc), r2.scale(this.Xa.fc), this.ul && (t4.ej.Ou(h2, r2) ? h2.x = r2.x : t4.ej.Mu(h2, r2) && (r2.x = h2.x)), this.vk.length = 0, t4.ej.nF(this.Xa.Ub, this.Xa.lc, this.Xa.Ae, r2, h2, this.Xa.KA, this.Xa.at, null, this.Pj, this.Is, this.vk, this.dw), this.HD(i6), s5--;
  7116. return h2.N(this.tw.Oa(this.td.xb())), h2.scale(this.Xa.fc), n4.Jr(this.Xa.Ub, this.Xa.lc, this.Xa.fc, this.Xa.sb, h2, this.fi + 1.570796326794897, this.fi + 4.71238898038469, this.Xa.bo, this.ul, this.tk, i6, NaN, NaN), this.td.Wb(e2), this.td.ia(), s5 = t4.ta.mj(null, i6, true), t4.Hg.Nk(i6, s5, true, true, this.Xa.Vb);
  7117. }
  7118. return this.Yn = false, this.td.ia(), i6 = t4.ba.ig(this.sq), t4.Hg.Nk(i6, this.Xa.Cq, true, true, this.Xa.Vb);
  7119. }, i5.prototype.HD = function(i6) {
  7120. var s5 = this.vk[0], h2 = this.Pj[0] - 1.570796326794897, r2 = this.Is[0] + 1.570796326794897;
  7121. if (!isNaN(this.fi)) {
  7122. if (this.fi >= this.Pj[0]) {
  7123. var e2 = this.fi + 1.570796326794897;
  7124. h2 = e2 + 3.141592653589793 - (this.fi - this.Pj[0]);
  7125. } else
  7126. h2 = (e2 = this.fi + 1.570796326794897) + 3.141592653589793 - (6.283185307179586 - (this.Pj[0] - this.fi));
  7127. var o2 = !(this.fi >= this.Pj[0] && 3.141592653589793 >= this.fi - this.Pj[0]) && !(this.fi < this.Pj[0] && 3.141592653589793 <= this.Pj[0] - this.fi), a2 = false;
  7128. if (Math.abs(h2 - e2) <= 0.5 * this.Xa.bo)
  7129. if (o2) {
  7130. var u2 = i6.Oa(i6.I() - 2);
  7131. u2.scale(this.Xa.fc);
  7132. var f2 = new t4.ha(0);
  7133. for (t4.kb.Sy(this.Xa.Ub, this.Xa.lc, s5.x, s5.y, u2.x, u2.y, f2), u2 = f2.u; u2 <= e2; )
  7134. u2 += 6.283185307179586;
  7135. for (; u2 > e2; )
  7136. u2 -= 6.283185307179586;
  7137. u2 < h2 && (a2 = true);
  7138. } else
  7139. a2 = true;
  7140. a2 ? (i6.xB(0, i6.I() - 1), this.ul || ((s5 = new t4.h()).N(i6.Oa(i6.I() - 1)), s5.scale(this.Xa.fc), -3.141592653589793 > s5.x - this.tk[0] ? this.tk[0] -= 6.283185307179586 : 3.141592653589793 < s5.x - this.tk[0] && (this.tk[0] += 6.283185307179586)), o2 || (h2 = 0.5 * (h2 + e2))) : (o2 ? ((e2 = new t4.h()).N(s5), e2.scale(1 / this.Xa.fc), i6.xf(0, -1, e2)) : n4.Jr(this.Xa.Ub, this.Xa.lc, this.Xa.fc, this.Xa.sb, this.vk[0], e2, h2, this.Xa.bo, this.ul, this.tk, i6, NaN, NaN), this.zA += 1);
  7141. }
  7142. n4.my(this.Xa.Ub, this.Xa.lc, this.Xa.fc, this.Xa.sb, this.Xa.Ae, this.vk, h2, r2, this.ul, this.tk, i6), this.fi = this.Is[0];
  7143. }, i5.prototype.sy = function(t5, i6) {
  7144. return this.Xa.sy(this.vk, t5, this.Pj[0], this.Is[0], this.ul, i6);
  7145. }, i5.prototype.Ma = function() {
  7146. return 0;
  7147. }, i5;
  7148. }(), n4 = function() {
  7149. function n5() {
  7150. }
  7151. return n5.buffer = function(i5, s5, h2, r2, e2, o2) {
  7152. if (i5 == null)
  7153. throw t4.i.O("Geometry::Geodesic_bufferer::buffer");
  7154. if (i5.B())
  7155. return new t4.Ea(i5.description);
  7156. var a2 = new n5();
  7157. a2.Sg = s5, a2.Kc = t4.cb.tc(s5);
  7158. var u2 = t4.cb.xv(a2.Kc);
  7159. if (a2.Vb = o2, a2.Ub = t4.cb.gv(a2.Kc), a2.lc = u2 * (2 - u2), a2.fc = a2.Kc.Id().ci, a2.ra = a2.Sg.Ln(), a2.Cq = a2.Kc.Ln(), a2.at = a2.Cq * a2.fc, a2.Bq = 1.570796326794897 / a2.fc, a2.GY = 3.141592653589793 / a2.fc, a2.Ls = 6.283185307179586 / a2.fc, a2.HY = a2.Ls / 6, a2.FA = 0, a2.FY = 1.5707963267948966 * a2.Ub / a2.FA, h2 == 4 ? (a2.Ae = 2, a2.Yv = true) : (a2.Ae = h2, a2.Yv = false), a2.La = r2, a2.sb = Math.abs(r2), isNaN(e2) || 1e-3 > e2 ? a2.pX() : a2.ao = e2, h2 = i5.K(), t4.ba.zd(h2) ? ((h2 = new t4.Ua(i5.description)).oc(i5, true), i5 = h2, h2 = 1607) : h2 == 197 && (h2 = new t4.l(), i5.A(h2), h2.S() <= a2.ra || h2.da() <= a2.ra ? ((h2 = new t4.Ua(i5.description)).bd(i5, false), i5 = h2, h2 = 1607) : ((h2 = new t4.Ea(i5.description)).bd(i5, false), i5 = h2, h2 = 1736)), a2.qX(), t4.ba.Sn(h2) || a2.rX(), a2.sb <= 0.5 * a2.ao)
  7160. return h2 != 1736 ? new t4.Ea(i5.description) : a2.Yv ? i5 : t4.ej.Sr(i5, a2.Sg, a2.Ae, a2.KA, -1, o2);
  7161. if (0 > a2.La && h2 != 1736)
  7162. return new t4.Ea(i5.description);
  7163. if (a2.Yv && t4.ba.Ic(h2) ? (s5 = t4.ej.Sr(i5, s5, 4, NaN, a2.ao, o2), i5 = t4.cb.Bh(s5, a2.Sg, a2.Kc)) : i5 = t4.cb.Bh(i5, a2.Sg, a2.Kc), (i5 = t4.Jh.nj(i5, a2.Kc)).B())
  7164. return new t4.Ea(i5.description);
  7165. switch (!a2.Yv && t4.ba.Ic(h2) && (i5 = t4.ej.jI(a2.fc, i5)), i5 = n5.CX(i5, a2.Kc), h2) {
  7166. case 1736:
  7167. s5 = a2.ON(i5);
  7168. break;
  7169. case 1607:
  7170. s5 = a2.PN(i5);
  7171. break;
  7172. case 550:
  7173. s5 = a2.MN(i5);
  7174. break;
  7175. case 33:
  7176. s5 = a2.NN(i5);
  7177. break;
  7178. default:
  7179. throw t4.i.ga("corrupted_geometry");
  7180. }
  7181. return (a2 = t4.cb.Bh(s5, a2.Kc, a2.Sg)).Ll(i5.description), a2;
  7182. }, n5.prototype.ON = function(i5) {
  7183. var n6 = new t4.Ea();
  7184. i5 = new s4(this, i5, n6), i5 = t4.Ih.local().W(i5, this.Kc, this.Vb).next(), i5 = t4.jp.pj(i5, this.Kc, 2);
  7185. var h2 = new t4.Ed();
  7186. return h2.scale(1 / this.fc, 1 / this.fc), n6.Pc(h2), n6 = t4.jp.pj(n6, this.Kc, 2), 0 <= this.La ? t4.Ih.local().W(n6, i5, this.Kc, this.Vb) : t4.lp.local().W(n6, i5, this.Kc, this.Vb);
  7187. }, n5.prototype.PN = function(i5) {
  7188. return i5 = new s4(this, i5, null), i5 = t4.Ih.local().W(i5, this.Kc, this.Vb).next(), t4.jp.pj(i5, this.Kc, 2);
  7189. }, n5.prototype.MN = function(s5) {
  7190. return s5 = new i4(this, s5), s5 = t4.Ih.local().W(s5, this.Kc, this.Vb).next(), t4.jp.pj(s5, this.Kc, 2);
  7191. }, n5.prototype.NN = function(i5) {
  7192. (i5 = i5.D()).scale(this.fc);
  7193. var s5 = new t4.Ea();
  7194. return this.ny(i5, false, s5), t4.jp.pj(s5, this.Kc, 2);
  7195. }, n5.prototype.sy = function(i5, s5, h2, r2, e2, o2) {
  7196. var a2 = i5[0], u2 = i5[i5.length - 1], f2 = a2.y > u2.y ? a2.y : u2.y, c2 = t4.F.q(this.Ub, this.lc, a2.y < u2.y ? a2.y : u2.y);
  7197. if (f2 = t4.F.q(this.Ub, this.lc, f2), 1e-3 < this.FA - (c2 + s5 + this.sb) && 1e-3 < this.FA + (f2 - s5 - this.sb))
  7198. return false;
  7199. c2 = (s5 = h2 - 1.570796326794897) - 3.141592653589793, f2 = s5 + 3.141592653589793;
  7200. var l2 = (h2 = r2 + 1.570796326794897) + 3.141592653589793, p2 = [NaN], v2 = [NaN], y2 = [NaN], b2 = [NaN];
  7201. if (r2 = false, n5.YI(this.Ub, this.lc, this.sb, a2, s5, c2, u2, h2, p2, v2), n5.YI(this.Ub, this.lc, this.sb, u2, l2, h2, a2, c2, y2, b2), (h2 < p2[0] && p2[0] < l2 || h2 < v2[0] && v2[0] < l2) && (r2 = true), r2 || (c2 < y2[0] && y2[0] < s5 || c2 < b2[0] && b2[0] < s5) && (r2 = true), !r2 && e2)
  7202. return false;
  7203. for (var d2 = [], g2 = i5.length - 1; 0 <= g2; g2--)
  7204. d2.push(i5[g2]);
  7205. return o2.Pa(), o2.$k(null, 0), g2 = [0], n5.my(this.Ub, this.lc, this.fc, this.sb, this.Ae, i5, s5, h2, e2, g2, o2), n5.Jr(this.Ub, this.lc, this.fc, this.sb, u2, h2, l2, this.bo, e2, g2, o2, p2[0], v2[0]), n5.my(this.Ub, this.lc, this.fc, this.sb, this.Ae, d2, l2, f2, e2, g2, o2), n5.Jr(this.Ub, this.lc, this.fc, this.sb, a2, c2, s5, this.bo, e2, g2, o2, y2[0], b2[0]), i5 = false, e2 || (i5 = this.CE(this.fc, o2)), r2 || i5;
  7206. }, n5.prototype.ny = function(t5, i5, s5) {
  7207. s5.Pa(), s5.$k(null, 0), n5.Jr(this.Ub, this.lc, this.fc, this.sb, t5, -this.bo, 6.283185307179586, this.bo, i5, [0], s5, NaN, NaN), i5 || this.CE(this.fc, s5);
  7208. }, n5.prototype.CE = function(t5, i5) {
  7209. var s5 = this.pO(t5, i5);
  7210. return t5 = this.qO(t5, i5), s5 || t5;
  7211. }, n5.prototype.pO = function(i5, s5) {
  7212. var n6 = s5.I(), h2 = false, r2 = new t4.l();
  7213. if (s5.A(r2), !t4.s.$(r2.H * i5, 1.570796326794897) && !t4.s.$(r2.G * i5, -1.570796326794897))
  7214. return false;
  7215. var e2 = new t4.h();
  7216. for (--n6; 0 <= n6; n6--)
  7217. s5.D(n6, e2), (e2.y == r2.H && t4.s.$(e2.y * i5, 1.570796326794897) || e2.y == r2.G && t4.s.$(e2.y * i5, -1.570796326794897)) && (h2 = true, this.II(e2, n6, s5));
  7218. return h2;
  7219. }, n5.prototype.qO = function(t5, i5) {
  7220. var s5 = i5.Oa(0), n6 = i5.Oa(i5.I() - 1);
  7221. return 3.141592653589793 < Math.abs(s5.x - n6.x) * t5 ? (this.NV(i5), true) : this.oO(i5);
  7222. }, n5.prototype.oO = function(t5) {
  7223. return 0 > t5.He() && (this.MV(t5), true);
  7224. }, n5.prototype.II = function(i5, s5, n6) {
  7225. var h2 = n6.I(), r2 = 0 < s5 ? s5 - 1 : h2 - 1;
  7226. if (h2 = n6.Oa(s5 < h2 - 1 ? s5 + 1 : 0), r2 = n6.Oa(r2), !t4.s.$(h2.y, i5.y) && !t4.s.$(h2.x, i5.x)) {
  7227. var e2 = new t4.h();
  7228. e2.na(h2.x, i5.y), n6.Db(s5, e2);
  7229. }
  7230. t4.s.$(r2.y, i5.y) || t4.s.$(r2.x, i5.x) || ((h2 = new t4.h()).na(r2.x, i5.y), n6.xf(0, s5, h2));
  7231. }, n5.prototype.NV = function(i5) {
  7232. var s5 = new t4.Ea(), n6 = new t4.Ea(), h2 = new t4.Ed(), r2 = i5.Oa(0), e2 = i5.Oa(i5.I() - 1), o2 = new t4.h();
  7233. r2.x > e2.x ? (e2 = this.Bq, h2.gg(-this.Ls, 0)) : (e2 = -this.Bq, h2.gg(this.Ls, 0)), s5.add(i5, false), i5.Pa(), n6.add(s5, false), n6.Pc(h2), r2 = new t4.l(), n6.A(r2), r2.X((this.Ls - r2.S()) / 2, 0), r2.G = -this.Bq, r2.H = this.Bq;
  7234. for (var a2 = 0; a2 < n6.I(); a2++)
  7235. n6.D(a2, o2), s5.xf(0, -1, o2);
  7236. for (n6.Pc(h2), a2 = 0; a2 < n6.I(); a2++)
  7237. n6.D(a2, o2), s5.xf(0, -1, o2);
  7238. n6 = s5.Oa(0), h2 = s5.Oa(s5.I() - 1), o2.na(h2.x, e2), s5.xf(0, -1, o2), o2.na(0.5 * (h2.x + n6.x), e2), s5.xf(0, -1, o2), o2.na(n6.x, e2), s5.xf(0, -1, o2), s5 = t4.Jh.ms(s5, this.Kc, 2, true, r2.v), s5 = t4.Jh.ms(s5, this.Kc, 2, true, r2.C), s5 = t4.Vd.clip(s5, r2, this.Cq, NaN), i5.add(s5, false);
  7239. }, n5.prototype.MV = function(i5) {
  7240. var s5 = new t4.l();
  7241. i5.A(s5), s5.X((this.Ls - s5.S()) / 2, 0), s5.G = -this.Bq, s5.H = this.Bq, i5.$k(null, 0);
  7242. var n6 = new t4.h();
  7243. n6.na(s5.v, s5.G), i5.xf(1, -1, n6), n6.na(s5.v, s5.H), i5.xf(1, -1, n6), n6.na(0.5 * (s5.v + s5.C), s5.H), i5.xf(1, -1, n6), n6.na(s5.C, s5.H), i5.xf(1, -1, n6), n6.na(s5.C, s5.G), i5.xf(1, -1, n6), n6.na(0.5 * (s5.v + s5.C), s5.G), i5.xf(1, -1, n6);
  7244. }, n5.my = function(i5, s5, h2, r2, e2, o2, a2, u2, f2, c2, l2) {
  7245. var p2 = null;
  7246. f2 || ((p2 = new t4.h()).Sc(), 0 < l2.I() && (p2.N(l2.Oa(l2.I() - 1)), p2.scale(h2)));
  7247. var v2 = new t4.ha(0), y2 = new t4.ha(0), b2 = new t4.ha(0), d2 = new t4.h(), g2 = new t4.h(), w2 = o2[o2.length - 1];
  7248. h2 = 1 / h2;
  7249. for (var x2 = 0; x2 < o2.length; x2++) {
  7250. var m2 = o2[x2];
  7251. if (x2 == 0)
  7252. var j2 = a2;
  7253. else
  7254. x2 == o2.length - 1 ? j2 = u2 : (t4.kb.xd(i5, s5, w2.x, w2.y, m2.x, m2.y, null, null, v2, e2), j2 = v2.u - 1.570796326794897);
  7255. t4.kb.Ai(i5, s5, m2.x, m2.y, r2, j2, y2, b2), f2 ? g2.na(y2.u, b2.u) : (d2.na(y2.u, b2.u), n5.aJ(m2.x, d2.x, p2.x, c2), g2.na(c2[0] + d2.x, d2.y), p2.N(g2)), g2.scale(h2), l2.xf(0, -1, g2);
  7256. }
  7257. }, n5.Jr = function(i5, s5, h2, r2, e2, o2, a2, u2, f2, c2, l2, p2, v2) {
  7258. if (!(a2 - o2 < u2)) {
  7259. var y2 = new t4.ha(0), b2 = new t4.ha(0), d2 = new t4.h(), g2 = new t4.h(), w2 = null;
  7260. f2 || ((w2 = new t4.h()).Sc(), 0 < l2.I() && (w2.N(l2.Oa(l2.I() - 1)), w2.scale(h2)));
  7261. var x2 = t4.P.truncate(Math.ceil(o2 / u2)), m2 = x2++ * u2;
  7262. for (m2 == o2 && (m2 = x2++ * u2), h2 = 1 / h2; m2 < a2 + u2 && (o2 < p2 && p2 < m2 ? (m2 = p2, x2--) : o2 < v2 && v2 < m2 && (m2 = v2, x2--), !(m2 >= a2)); )
  7263. t4.kb.Ai(i5, s5, e2.x, e2.y, r2, m2, y2, b2), f2 ? g2.na(y2.u, b2.u) : (d2.na(y2.u, b2.u), n5.aJ(e2.x, d2.x, w2.x, c2), g2.na(c2[0] + d2.x, d2.y), w2.N(g2)), g2.scale(h2), l2.xf(0, -1, g2), o2 = m2, m2 = x2++ * u2;
  7264. }
  7265. }, n5.YI = function(i5, s5, n6, h2, r2, e2, o2, a2, u2, f2) {
  7266. var c2 = new t4.h(), l2 = new t4.h(), p2 = new t4.ha(0), v2 = new t4.ha(0);
  7267. for (t4.kb.Ai(i5, s5, h2.x, h2.y, n6, r2, p2, v2), c2.na(p2.u, v2.u), t4.kb.Ai(i5, s5, h2.x, h2.y, n6, e2, p2, v2), l2.na(p2.u, v2.u), n6 = new t4.ha(0), t4.kb.Sy(i5, s5, o2.x, o2.y, c2.x, c2.y, n6), u2[0] = n6.u, t4.kb.Sy(i5, s5, o2.x, o2.y, l2.x, l2.y, n6), f2[0] = n6.u; u2[0] <= f2[0]; )
  7268. u2[0] += 6.283185307179586;
  7269. for (; u2[0] > f2[0]; )
  7270. u2[0] -= 6.283185307179586;
  7271. for (; u2[0] >= a2; )
  7272. u2[0] -= 6.283185307179586, f2[0] -= 6.283185307179586;
  7273. for (; u2[0] < a2; )
  7274. u2[0] += 6.283185307179586, f2[0] += 6.283185307179586;
  7275. }, n5.aJ = function(t5, i5, s5, n6) {
  7276. if (isNaN(s5)) {
  7277. for (; 3.141592653589793 < n6[0] + i5 - t5; )
  7278. n6[0] -= 6.283185307179586;
  7279. for (; 3.141592653589793 < t5 - (n6[0] + i5); )
  7280. n6[0] += 6.283185307179586;
  7281. } else
  7282. 3.141592653589793 < n6[0] + i5 - s5 ? n6[0] -= 6.283185307179586 : 3.141592653589793 < s5 - (n6[0] + i5) && (n6[0] += 6.283185307179586);
  7283. }, n5.CX = function(i5, s5) {
  7284. var n6 = i5.K(), h2 = t4.ba.Ic(n6) ? i5.ea() : n6 == 550 ? i5.I() : 1;
  7285. if (h2 == 1)
  7286. return i5;
  7287. var r2 = new t4.ja(0);
  7288. r2.resize(h2);
  7289. for (var e2 = [], o2 = new t4.l(), a2 = 0; a2 < h2; a2++) {
  7290. if (r2.write(a2, a2), t4.ba.Ic(n6)) {
  7291. i5.Tj(a2, o2);
  7292. var u2 = o2.tf();
  7293. } else
  7294. u2 = i5.Oa(a2);
  7295. u2 = t4.RK.SX(s5, u2), e2[a2] = u2;
  7296. }
  7297. for (r2.Wd(0, r2.size, function(t5, i6) {
  7298. return e2[t5] < e2[i6] ? -1 : e2[t5] > e2[i6] ? 1 : 0;
  7299. }), s5 = i5.Ja(), a2 = 0; a2 < h2; a2++)
  7300. o2 = r2.read(a2), t4.ba.Ic(n6) ? s5.addPath(i5, o2, true) : s5.Gd(i5, o2, o2 + 1);
  7301. return s5;
  7302. }, n5.prototype.qX = function() {
  7303. var i5 = Math.min(3.141592653589793 * this.Ub - this.sb, this.sb);
  7304. i5 = Math.min(i5, 0.39269908169872414 * this.Ub);
  7305. var s5 = new t4.h();
  7306. s5.na(0, 10 * this.fc);
  7307. var n6 = 45 * this.fc, h2 = new t4.ha(0), r2 = new t4.ha(0), e2 = new t4.ha(0), o2 = new t4.ha(0), a2 = new t4.ha(0), u2 = new t4.ha(0), f2 = new t4.ha(0), c2 = new t4.ha(0), l2 = new t4.h(), p2 = new t4.h(), v2 = new t4.h(), y2 = new t4.h();
  7308. t4.kb.Ai(this.Ub, this.lc, s5.x, s5.y, i5, 0, h2, r2), l2.na(h2.u, r2.u), t4.kb.Ai(this.Ub, this.lc, s5.x, s5.y, i5, n6, e2, o2), p2.na(e2.u, o2.u), h2 = new t4.ha(0), r2 = new t4.ha(0);
  7309. for (var b2 = new t4.ha(0); t4.kb.Ai(this.Ub, this.lc, s5.x, s5.y, i5, 0.5 * (0 + n6), a2, u2), v2.na(a2.u, u2.u), t4.kb.xd(this.Ub, this.lc, l2.x, l2.y, p2.x, p2.y, h2, r2, null, 2), t4.kb.qj(this.Ub, this.lc, l2.x, l2.y, 0.5 * h2.u, r2.u, f2, c2, 2), y2.na(f2.u, c2.u), t4.kb.xd(this.Ub, this.lc, v2.x, v2.y, y2.x, y2.y, b2, null, null, 2), !(b2.u <= this.ao); )
  7310. n6 *= 0.9, t4.kb.Ai(this.Ub, this.lc, s5.x, s5.y, i5, n6, e2, o2), p2.na(e2.u, o2.u);
  7311. this.bo = 6.283185307179586 / Math.ceil(6.283185307179586 / (n6 - 0));
  7312. }, n5.prototype.rX = function() {
  7313. var i5 = Math.min(3.141592653589793 * this.Ub - this.sb, this.sb);
  7314. i5 = Math.min(i5, 0.39269908169872414 * this.Ub);
  7315. var s5 = new t4.h(), n6 = new t4.h();
  7316. s5.na(0, 10 * this.fc), n6.na(10 * this.fc, 10 * this.fc);
  7317. var h2 = new t4.ha(0), r2 = new t4.ha(0), e2 = new t4.ha(0);
  7318. t4.kb.xd(this.Ub, this.lc, s5.x, s5.y, n6.x, n6.y, e2, h2, r2, this.Ae);
  7319. var o2 = new t4.ha(0), a2 = new t4.ha(0), u2 = new t4.ha(0), f2 = new t4.ha(0), c2 = new t4.h(), l2 = new t4.ha(0), p2 = new t4.ha(0), v2 = new t4.ha(0), y2 = new t4.ha(0), b2 = new t4.ha(0), d2 = new t4.ha(0), g2 = new t4.ha(0), w2 = new t4.ha(0), x2 = new t4.ha(0), m2 = new t4.h(), j2 = new t4.h(), k2 = new t4.h(), M2 = new t4.h(), z2 = 1;
  7320. h2 = h2.u, r2 = r2.u + 1.570796326794897, e2 = e2.u, t4.kb.Ai(this.Ub, this.lc, s5.x, s5.y, i5, h2 - 1.570796326794897, p2, v2), m2.na(p2.u, v2.u), t4.kb.Ai(this.Ub, this.lc, n6.x, n6.y, i5, r2, y2, b2), j2.na(y2.u, b2.u), p2 = new t4.ha(0), v2 = new t4.ha(0), r2 = new t4.ha(0);
  7321. for (var A2 = new t4.ha(0); t4.kb.qj(this.Ub, this.lc, s5.x, s5.y, 0.5 * (0 + z2) * e2, h2, o2, a2, this.Ae), c2.na(o2.u, a2.u), t4.kb.xd(this.Ub, this.lc, s5.x, s5.y, c2.x, c2.y, null, null, l2, this.Ae), t4.kb.Ai(this.Ub, this.lc, c2.x, c2.y, i5, l2.u + 1.570796326794897, d2, g2), k2.na(d2.u, g2.u), t4.kb.xd(this.Ub, this.lc, m2.x, m2.y, j2.x, j2.y, p2, v2, null, 2), t4.kb.qj(this.Ub, this.lc, m2.x, m2.y, 0.5 * p2.u, v2.u, w2, x2, 2), M2.na(w2.u, x2.u), t4.kb.xd(this.Ub, this.lc, k2.x, k2.y, M2.x, M2.y, r2, null, null, 2), !(r2.u <= this.ao); )
  7322. z2 *= 0.9, t4.kb.qj(this.Ub, this.lc, s5.x, s5.y, z2 * e2, h2, u2, f2, this.Ae), n6.na(u2.u, f2.u), t4.kb.xd(this.Ub, this.lc, s5.x, s5.y, n6.x, n6.y, null, null, A2, this.Ae), t4.kb.Ai(this.Ub, this.lc, n6.x, n6.y, i5, A2.u + 1.570796326794897, y2, b2), j2.na(y2.u, b2.u);
  7323. 1e5 < (i5 = z2 * e2) && (i5 = 1e5), this.KA = i5;
  7324. }, n5.prototype.pX = function() {
  7325. var t5 = 5e4 < this.sb ? 100 : 1e4 < this.sb ? 10 : 1;
  7326. 500 > this.sb / t5 && (t5 = this.sb / 500), 0.01 > t5 && (t5 = 0.01), this.ao = t5;
  7327. }, n5;
  7328. }();
  7329. t4.PK = n4;
  7330. }(V || (V = {})), function(t4) {
  7331. var i4 = function() {
  7332. function i5() {
  7333. }
  7334. return i5.Of = function(i6, s4) {
  7335. var n4 = new t4.h();
  7336. n4.N(s4), i6.push(n4);
  7337. }, i5.wp = function(t5, i6) {
  7338. t5.add(i6.x), t5.add(i6.y);
  7339. }, i5.bB = function(t5) {
  7340. t5.Dh(t5.size - 2);
  7341. }, i5.iB = function(t5, i6) {
  7342. i6.na(t5.get(t5.size - 2), t5.get(t5.size - 1));
  7343. }, i5.Sr = function(s4, n4, h2, r2, e2, o2) {
  7344. if (s4 == null)
  7345. throw t4.i.O();
  7346. var a2 = s4.K();
  7347. if (s4.B() || t4.ba.Sn(a2))
  7348. return s4;
  7349. var u2 = new i5();
  7350. u2.Sg = n4, u2.Kc = t4.cb.tc(n4);
  7351. var f2 = t4.cb.xv(u2.Kc);
  7352. if (u2.Vb = o2, u2.Ub = t4.cb.gv(u2.Kc), u2.lc = f2 * (2 - f2), u2.fc = u2.Kc.Id().ci, u2.Cq = u2.Kc.Ln(), u2.at = u2.Cq * u2.fc, u2.uA = r2, u2.tA = e2, u2.Ae = h2, a2 == 197 ? (h2 = new t4.Ea(s4.description)).bd(s4, false) : t4.ba.zd(a2) ? (h2 = new t4.Ua(s4.description)).oc(s4, true) : h2 = s4, u2.Ae != 4) {
  7353. if ((n4 = u2.Sg.Nb(u2.Kc) == 0 ? t4.cb.Bh(h2, u2.Sg, u2.Kc) : t4.Jh.nj(h2, u2.Kc)).B())
  7354. return n4;
  7355. n4 = i5.jI(u2.fc, n4), n4 = u2.Uy(n4), n4 = t4.jp.pj(n4, u2.Kc, u2.Ae), u2 = t4.cb.Bh(n4, u2.Kc, u2.Sg);
  7356. } else {
  7357. if (t4.Gg.Tb(n4) == 2 ? (s4 = t4.cb.ol(), (n4 = t4.Xk.local().W(h2, s4, n4, o2)) == s4 && (n4 = new t4.Ea(), s4.copyTo(n4))) : n4 = t4.Jh.nj(h2, u2.Kc), n4.B())
  7358. return n4;
  7359. u2 = u2.uX(n4);
  7360. }
  7361. return u2;
  7362. }, i5.jI = function(s4, n4) {
  7363. var h2 = new t4.l();
  7364. if (n4.yc(h2), 3.141592653589793 > h2.S() * s4)
  7365. return n4;
  7366. var r2 = false;
  7367. h2 = n4.Ha();
  7368. for (var e2 = new t4.h(), o2 = new t4.h(); h2.ab(); )
  7369. for (; h2.Ia(); ) {
  7370. var a2 = h2.ia();
  7371. if (e2.N(a2.ac()), o2.N(a2.xc()), e2.scale(s4), o2.scale(s4), 3.141592653589793 < Math.abs(e2.x - o2.x)) {
  7372. var u2 = i5.Nu(e2, o2);
  7373. if (!u2) {
  7374. r2 = true;
  7375. break;
  7376. }
  7377. if (6.283185307179586 < Math.abs(e2.x - o2.x)) {
  7378. r2 = true;
  7379. break;
  7380. }
  7381. }
  7382. }
  7383. if (!r2)
  7384. return n4;
  7385. r2 = n4.Ja();
  7386. var f2 = 1 < n4.description.Ba, c2 = new t4.h(), l2 = new t4.h(), p2 = new t4.h(), v2 = new t4.h(), y2 = new t4.Ta();
  7387. for (h2.aj(); h2.ab(); )
  7388. for (var b2 = NaN, d2 = [0]; h2.Ia(); ) {
  7389. if (a2 = h2.ia(), e2.N(a2.ac()), o2.N(a2.xc()), e2.scale(s4), o2.scale(s4), isNaN(b2) ? (i5.Yi(e2.x, NaN, d2), l2.N(e2)) : l2.N(p2), b2 = l2.x, u2 = i5.Nu(e2, o2)) {
  7390. if (6.283185307179586 < o2.x - e2.x)
  7391. for (; 6.283185307179586 < o2.x - e2.x; )
  7392. o2.x -= 6.283185307179586;
  7393. if (-6.283185307179586 > o2.x - e2.x)
  7394. for (; -6.283185307179586 > o2.x - e2.x; )
  7395. o2.x += 6.283185307179586;
  7396. i5.Yi(o2.x, NaN, d2), p2.N(o2);
  7397. } else
  7398. c2.N(o2), i5.sU(c2), i5.Yi(c2.x, b2, d2), p2.na(d2[0] + c2.x, c2.y);
  7399. 0.5 > Math.abs(p2.x - o2.x) && p2.N(o2), f2 ? (a2.Vw(0, y2), v2.N(l2), v2.scale(1 / s4), y2.Db(v2), (u2 = h2.xm()) ? r2.nf(y2) : r2.lineTo(y2), h2.Rn() && !n4.ec(h2.gb) && (a2.Vw(1, y2), v2.N(p2), v2.scale(1 / s4), y2.Db(v2), r2.lineTo(y2))) : ((u2 = h2.xm()) && r2.Cz(null, 0), a2 = r2.ea() - 1, v2.N(l2), v2.scale(1 / s4), r2.xf(a2, -1, v2), h2.Rn() && !n4.ec(h2.gb) && (v2.N(p2), v2.scale(1 / s4), r2.xf(a2, -1, v2)));
  7400. }
  7401. return r2;
  7402. }, i5.nF = function(s4, n4, h2, r2, e2, o2, a2, u2, f2, c2, l2, p2) {
  7403. var v2 = new t4.h(), y2 = new t4.h(), b2 = 0 < r2.compare(e2);
  7404. i5.$I(b2, r2, e2, v2, y2), i5.oF(s4, n4, h2, v2, y2, o2, NaN, a2, u2, f2, c2, null, l2, p2), b2 && i5.$B(f2, c2, null, l2);
  7405. }, i5.prototype.Uy = function(s4) {
  7406. var n4 = s4.Ja(), h2 = s4.Ha(), r2 = [], e2 = null, o2 = null, a2 = 1 < s4.description.Ba;
  7407. a2 && (e2 = new t4.ce(0), o2 = new t4.hg());
  7408. for (var u2 = [0], f2 = new t4.h(), c2 = new t4.h(), l2 = new t4.h(), p2 = new t4.h(); h2.ab(); )
  7409. for (u2[0] = 0; h2.Ia(); ) {
  7410. var v2 = h2.ia();
  7411. f2.N(v2.ac()), c2.N(v2.xc()), f2.scale(this.fc), c2.scale(this.fc);
  7412. var y2 = 0 < f2.compare(c2);
  7413. i5.$I(y2, f2, c2, l2, p2), r2.length = 0, e2 != null && e2.Dh(0), 0 < this.uA ? i5.oF(this.Ub, this.lc, this.Ae, l2, p2, this.uA, this.tA, this.at, null, null, null, a2 ? e2 : null, r2, u2) : i5.VQ(this.Ub, this.lc, this.Ae, l2, p2, this.tA, this.at, a2 ? e2 : null, r2, u2), y2 && i5.$B(null, null, a2 ? e2 : null, r2), r2[0].N(v2.ac()), r2[r2.length - 1].N(v2.xc());
  7414. for (var b2 = 1; b2 < r2.length - 1; b2++)
  7415. r2[b2].scale(1 / this.fc);
  7416. a2 ? (y2 = i5.ZI(y2, v2, o2), i5.ND(h2.xm(), h2.Rn() && !s4.ec(h2.gb), v2, y2, e2, r2, n4)) : i5.MD(h2.xm(), h2.Rn() && !s4.ec(h2.gb), r2, n4);
  7417. }
  7418. return n4;
  7419. }, i5.prototype.uX = function(s4) {
  7420. var n4 = s4.Ja(), h2 = s4.Ha(), r2 = [], e2 = null, o2 = new t4.hg(), a2 = 1 < s4.description.Ba;
  7421. for (a2 && (e2 = new t4.ce(0)); h2.ab(); )
  7422. for (; h2.Ia(); ) {
  7423. var u2 = h2.ia(), f2 = u2.ac(), c2 = u2.xc();
  7424. f2 = 0 < f2.compare(c2), c2 = i5.ZI(f2, u2, o2), r2.length = 0, e2 != null && e2.Dh(0), i5.tX(this.Ub, this.lc, this.fc, c2, this.Sg, this.uA, this.tA, a2 ? e2 : null, r2), f2 && i5.$B(null, null, a2 ? e2 : null, r2), a2 ? i5.ND(h2.xm(), h2.Rn() && !s4.ec(h2.gb), u2, c2, e2, r2, n4) : i5.MD(h2.xm(), h2.Rn() && !s4.ec(h2.gb), r2, n4);
  7425. }
  7426. return n4;
  7427. }, i5.MD = function(t5, i6, s4, n4) {
  7428. t5 && n4.Cz(null, 0), t5 = n4.ea() - 1;
  7429. var h2 = s4.slice(0);
  7430. n4.kG(t5, h2, h2.length - 1), i6 && n4.xf(t5, -1, s4[s4.length - 1]);
  7431. }, i5.ND = function(i6, s4, n4, h2, r2, e2, o2) {
  7432. var a2 = new t4.Ta();
  7433. if (n4.Uo(a2), i6 ? o2.nf(a2) : o2.lineTo(a2), 2 < e2.length) {
  7434. i6 = h2.Rb();
  7435. for (var u2 = 1; u2 < e2.length - 1; u2++) {
  7436. var f2 = h2.HG(r2.get(u2) * i6);
  7437. h2.Vw(f2, a2), a2.Db(e2[u2]), o2.lineTo(a2);
  7438. }
  7439. }
  7440. s4 && (n4.Qo(a2), o2.lineTo(a2));
  7441. }, i5.oF = function(s4, n4, h2, r2, e2, o2, a2, u2, f2, c2, l2, p2, v2, y2) {
  7442. var b2 = new t4.ha(0), d2 = new t4.ha(0), g2 = new t4.ha(0);
  7443. t4.kb.xd(s4, n4, r2.x, r2.y, e2.x, e2.y, g2, b2, d2, h2), g2 = g2.u;
  7444. var w2 = b2 = b2.u;
  7445. 0 > w2 && (w2 += 6.283185307179586), 0 > (d2 = d2.u) && (d2 += 6.283185307179586), f2 != null && (f2[0] = g2), c2 != null && (c2[0] = w2), l2 != null && (l2[0] = d2), c2 = f2 = NaN, p2 != null && (f2 = ((c2 = t4.F.Ch(s4, n4)) - (l2 = t4.F.q(s4, n4, r2.y))) / g2, c2 = (c2 + l2) / g2), l2 = i5.Ou(r2, e2), d2 = i5.Mu(r2, e2), w2 = l2 || d2;
  7446. var x2 = i5.zE(r2, e2, u2), m2 = new t4.ha(0), j2 = new t4.ha(0), k2 = new t4.h(), M2 = new t4.h(), z2 = new t4.h();
  7447. i5.Yi(r2.x, NaN, y2);
  7448. var A2 = [y2[0]];
  7449. if (g2 <= o2)
  7450. i5.Of(v2, r2), i5.Yi(e2.x, NaN, y2), p2 != null && p2.add(0), w2 ? (l2 && i5.eB(r2, e2, p2, v2), d2 && i5.cB(r2, e2, p2, v2)) : x2 ? i5.dB(r2, e2, b2, f2, c2, p2, v2) : 0 < a2 && (M2.na(r2.x - A2[0], r2.y), k2.na(e2.x - y2[0], e2.y), i5.Ty(s4, n4, h2, r2, g2, b2, M2, k2, 0, 1, a2, p2, v2, A2)), i5.Of(v2, e2);
  7451. else {
  7452. var N2 = g2 / ((o2 = 1 + t4.P.truncate(Math.ceil(g2 / o2))) - 1), I2 = new t4.h(), P2 = 0;
  7453. i5.Of(v2, r2), I2.N(r2), M2.na(r2.x - y2[0], r2.y), p2 != null && p2.add(0);
  7454. for (var C2 = 1; C2 < o2; C2++) {
  7455. if (C2 < o2 - 1) {
  7456. t4.kb.qj(s4, n4, r2.x, r2.y, C2 * N2, b2, m2, j2, h2), k2.na(m2.u, j2.u), i5.Yi(k2.x, I2.x, y2), z2.na(y2[0] + k2.x, k2.y);
  7457. var B2 = C2 / (o2 - 1);
  7458. } else
  7459. i5.Yi(e2.x, NaN, y2), k2.na(e2.x - y2[0], e2.y), z2.N(e2), B2 = 1;
  7460. w2 ? (C2 == 1 && l2 && i5.eB(r2, z2, p2, v2), C2 == o2 - 1 && d2 && i5.cB(I2, e2, p2, v2)) : x2 ? i5.yE(I2, z2, u2) && (r2.x < e2.x ? I2.x > z2.x && (y2[0] += 6.283185307179586, z2.na(y2[0] + k2.x, k2.y)) : I2.x < z2.x && (y2[0] -= 6.283185307179586, z2.na(y2[0] + k2.x, k2.y)), i5.dB(I2, z2, b2, f2, c2, p2, v2)) : 0 < a2 && i5.Ty(s4, n4, h2, r2, g2, b2, M2, k2, P2, B2, a2, p2, v2, A2), i5.Of(v2, z2), p2 != null && p2.add(B2), I2.N(z2), M2.N(k2), A2[0] = y2[0], P2 = B2;
  7461. }
  7462. }
  7463. }, i5.VQ = function(s4, n4, h2, r2, e2, o2, a2, u2, f2, c2) {
  7464. var l2 = new t4.ha(0), p2 = new t4.ha(0), v2 = new t4.ha(0);
  7465. t4.kb.xd(s4, n4, r2.x, r2.y, e2.x, e2.y, v2, l2, p2, h2), p2 = v2.u, l2 = l2.u;
  7466. var y2 = v2 = NaN;
  7467. if (u2 != null) {
  7468. y2 = t4.F.Ch(s4, n4);
  7469. var b2 = t4.F.q(s4, n4, r2.y);
  7470. v2 = (y2 - b2) / p2, y2 = (y2 + b2) / p2;
  7471. }
  7472. b2 = i5.Ou(r2, e2);
  7473. var d2 = i5.Mu(r2, e2), g2 = b2 || d2;
  7474. a2 = i5.zE(r2, e2, a2);
  7475. var w2 = i5.Nu(r2, e2);
  7476. w2 = g2 || a2 || w2, i5.Yi(r2.x, NaN, c2);
  7477. var x2 = new t4.h();
  7478. i5.Of(f2, r2), x2.N(r2), u2 != null && u2.add(0), w2 ? (g2 ? (b2 && i5.eB(r2, e2, u2, f2), d2 && i5.cB(r2, e2, u2, f2)) : a2 && i5.dB(r2, e2, l2, v2, y2, u2, f2), i5.Yi(e2.x, NaN, c2), i5.Of(f2, e2)) : p2 <= o2 ? (i5.Yi(e2.x, NaN, c2), i5.Of(f2, e2)) : (v2 = new t4.h(), a2 = new t4.h(), v2.N(r2), a2.N(e2), v2.x -= c2[0], a2.x -= c2[0], -3.141592653589793 > a2.x ? a2.x += 6.283185307179586 : 3.141592653589793 < a2.x && (a2.x -= 6.283185307179586), i5.Ty(s4, n4, h2, r2, p2, l2, v2, a2, 0, 1, o2, u2, f2, c2), i5.Of(f2, e2), i5.Yi(e2.x, NaN, c2)), u2 != null && u2.add(1);
  7479. }, i5.Ty = function(s4, n4, h2, r2, e2, o2, a2, u2, f2, c2, l2, p2, v2, y2) {
  7480. var b2 = new t4.h(), d2 = new t4.h();
  7481. b2.na(a2.x + y2[0], a2.y), new t4.ha(0), new t4.ha(0), new t4.ha(0), new t4.ha(0);
  7482. var g2 = new t4.ha(0), w2 = new t4.ha(0), x2 = new t4.ha(0), m2 = new t4.h(), j2 = new t4.h(), k2 = new t4.h(), M2 = new t4.h();
  7483. m2.N(a2), j2.N(u2), a2 = new t4.ce(0), u2 = new t4.ce(0), i5.wp(a2, j2), u2.add(c2);
  7484. var z2 = new t4.h(), A2 = new t4.zb(), N2 = [];
  7485. for (i5.SJ(4, N2); 0 < a2.size; ) {
  7486. for (var I2, P2 = false, C2 = NaN, B2 = 0; 3 > B2; B2++)
  7487. if (I2 = N2[B2] * c2 + (1 - N2[B2]) * f2, t4.kb.qj(s4, n4, r2.x, r2.y, I2 * e2, o2, g2, w2, h2), k2.na(g2.u, w2.u), B2 == 0 && (C2 = I2, M2.N(k2)), i5.NW(m2, k2, j2, A2), A2.ic(A2.fe(k2, true), z2), t4.kb.xd(s4, n4, k2.x, k2.y, z2.x, z2.y, x2, null, null, 2), x2.u > l2) {
  7488. P2 = true;
  7489. break;
  7490. }
  7491. P2 ? (j2.N(M2), c2 = C2, i5.wp(a2, j2), u2.add(c2)) : (i5.bB(a2), u2.Fn(u2.size - 1, 1, u2.size - 1), 0 < a2.size && (i5.Yi(j2.x, b2.x, y2), d2.na(y2[0] + j2.x, j2.y), i5.Of(v2, d2), b2.N(d2), p2 != null && p2.add(c2), m2.N(j2), f2 = c2, i5.iB(a2, j2), c2 = u2.get(u2.size - 1)));
  7492. }
  7493. }, i5.tX = function(s4, n4, h2, r2, e2, o2, a2, u2, f2) {
  7494. var c2 = new t4.h(), l2 = new t4.h(), p2 = new t4.h(), v2 = new t4.h(), y2 = new t4.h(), b2 = new t4.h(), d2 = new t4.h(), g2 = new t4.h(), w2 = new t4.h(), x2 = new t4.h(), m2 = new t4.ha(0), j2 = new t4.ha(0), k2 = new t4.h(), M2 = [[], []], z2 = t4.Gg.Tb(e2) == 1;
  7495. e2 = e2.Yd(0);
  7496. var A2 = r2.ac(), N2 = r2.xc();
  7497. z2 ? (b2.na(A2.x * h2, A2.y * h2), d2.na(N2.x * h2, N2.y * h2)) : (M2[0][0] = A2.x, M2[0][1] = A2.y, M2[1][0] = N2.x, M2[1][1] = N2.y, t4.cb.wt(), b2.x = M2[0][0] * h2, b2.y = M2[0][1] * h2, d2.x = M2[1][0] * h2, d2.y = M2[1][1] * h2);
  7498. var I2 = 0, P2 = 0, C2 = 1, B2 = r2.Qn();
  7499. c2.N(A2), l2.N(N2), N2 = new t4.ce(0);
  7500. var D2 = new t4.ce(0), q2 = new t4.ce(0);
  7501. i5.wp(N2, l2), i5.wp(D2, d2), q2.add(C2), i5.Of(f2, c2), u2 != null && u2.add(P2);
  7502. var G2 = [], F2 = 0 < a2 ? B2 ? 5 : 3 : B2 ? 5 : 1;
  7503. i5.SJ(F2, G2);
  7504. for (var E2 = new t4.ha(0), T2 = new t4.ha(0), S2 = new t4.ha(0), O2 = new t4.ha(0), H2 = new t4.ha(0), J2 = new t4.ha(0), R2 = new t4.ha(0); 0 < D2.size; ) {
  7505. var L2 = false, K2 = NaN;
  7506. for (t4.kb.xd(s4, n4, b2.x, b2.y, d2.x, d2.y, E2, T2, null, 2), A2 = 0; A2 < F2; A2++) {
  7507. if (A2 == 0) {
  7508. if (!B2 && 0 >= a2 && E2.u <= o2 && 3.141592653589793 > Math.abs(b2.x - d2.x))
  7509. break;
  7510. if (r2.Tx(P2, C2) <= e2)
  7511. break;
  7512. }
  7513. var U2 = G2[A2] * C2 + (1 - G2[A2]) * P2;
  7514. if (r2.ic(U2, p2), z2 ? g2.na(p2.x * h2, p2.y * h2) : (M2[0][0] = p2.x, M2[0][1] = p2.y, t4.cb.wt(), g2.x = M2[0][0] * h2, g2.y = M2[0][1] * h2), A2 == 0 && (K2 = U2, y2.N(p2), x2.N(g2), 0 < o2 && (E2.u > o2 || 3.141592653589793 <= Math.abs(b2.x - d2.x)))) {
  7515. L2 = true;
  7516. break;
  7517. }
  7518. if (B2 && 0 < o2) {
  7519. if (t4.kb.xd(s4, n4, b2.x, b2.y, g2.x, g2.y, S2, null, null, 2), S2.u > o2 || 3.141592653589793 <= Math.abs(b2.x - g2.x)) {
  7520. L2 = true;
  7521. break;
  7522. }
  7523. } else if (0 < a2) {
  7524. if (B2 ? (v2.GS(c2, l2, G2[A2]), z2 ? w2.na(v2.x * h2, v2.y * h2) : (M2[0][0] = v2.x, M2[0][1] = v2.y, t4.cb.wt(), w2.x = M2[0][0] * h2, w2.y = M2[0][1] * h2)) : (v2.N(p2), w2.N(g2)), t4.kb.xd(s4, n4, b2.x, b2.y, w2.x, w2.y, O2, null, null, 2), !(O2.u <= E2.u)) {
  7525. L2 = true;
  7526. break;
  7527. }
  7528. if (t4.kb.qj(s4, n4, b2.x, b2.y, O2.u, T2.u, m2, j2, 2), k2.na(m2.u, j2.u), t4.kb.xd(s4, n4, k2.x, k2.y, g2.x, g2.y, H2, null, null, 2), H2.u > a2) {
  7529. L2 = true;
  7530. break;
  7531. }
  7532. if (B2) {
  7533. if (t4.kb.xd(s4, n4, k2.x, k2.y, w2.x, w2.y, J2, null, null, 2), J2.u > a2) {
  7534. L2 = true;
  7535. break;
  7536. }
  7537. if (t4.kb.xd(s4, n4, w2.x, w2.y, g2.x, g2.y, R2, null, null, 2), R2.u > a2) {
  7538. L2 = true;
  7539. break;
  7540. }
  7541. }
  7542. }
  7543. }
  7544. L2 ? (l2.N(y2), d2.N(x2), C2 = K2, i5.wp(N2, l2), i5.wp(D2, d2), q2.add(C2)) : (i5.bB(N2), i5.bB(D2), q2.Fn(q2.size - 1, 1, q2.size - 1), i5.Of(f2, l2), I2 += E2.u, u2 != null && u2.add(I2), 0 < D2.size && (c2.N(l2), b2.N(d2), P2 = C2, i5.iB(N2, l2), i5.iB(D2, d2), C2 = q2.get(q2.size - 1)));
  7545. }
  7546. if (u2 != null)
  7547. for (s4 = 1 / I2, A2 = 0; A2 < u2.size; A2++)
  7548. u2.write(A2, u2.read(A2) * s4);
  7549. }, i5.$B = function(t5, i6, s4, n4) {
  7550. n4.reverse(), s4 != null && s4.pi(0, s4.size, 1), s4 = t5 != null ? t5[0] : NaN, n4 = i6 != null ? i6[0] : NaN, t5 != null && (t5[0] = n4), i6 != null && (i6[0] = s4);
  7551. }, i5.$I = function(t5, i6, s4, n4, h2) {
  7552. t5 ? (n4.N(s4), h2.N(i6)) : (n4.N(i6), h2.N(s4));
  7553. }, i5.ZI = function(t5, i6, s4) {
  7554. return t5 ? (s4.create(i6.K()), i6.copyTo(s4.get()), s4.get().reverse(), s4.get()) : i6;
  7555. }, i5.Yi = function(t5, i6, s4) {
  7556. if (isNaN(i6)) {
  7557. for (; 3.141592653589793 < s4[0] - t5; )
  7558. s4[0] -= 6.283185307179586;
  7559. for (; 3.141592653589793 < t5 - s4[0]; )
  7560. s4[0] += 6.283185307179586;
  7561. } else
  7562. 3.141592653589793 < s4[0] + t5 - i6 ? s4[0] -= 6.283185307179586 : 3.141592653589793 < i6 - (s4[0] + t5) && (s4[0] += 6.283185307179586);
  7563. }, i5.NW = function(t5, i6, s4, n4) {
  7564. 3.141592653589793 > Math.abs(i6.x - t5.x) ? (n4.Ec(t5), 3.141592653589793 <= s4.x - t5.x ? n4.Sl(s4.x - 6.283185307179586, s4.y) : 3.141592653589793 <= t5.x - s4.x ? n4.Sl(s4.x + 6.283185307179586, s4.y) : n4.Sl(s4.x, s4.y)) : (n4.Ec(s4), 3.141592653589793 <= t5.x - s4.x ? n4.Sl(t5.x - 6.283185307179586, t5.y) : 3.141592653589793 <= s4.x - t5.x ? n4.Sl(t5.x + 6.283185307179586, t5.y) : n4.Sl(t5.x, t5.y));
  7565. }, i5.SJ = function(t5, i6) {
  7566. for (var s4 = 0; s4 < t5; s4++) {
  7567. var n4 = Math.ceil(s4 / 2) / (t5 + 1);
  7568. s4 % 2 != 0 && (n4 = -n4), i6[s4] = 0.5 + n4;
  7569. }
  7570. }, i5.Ou = function(i6, s4) {
  7571. return !!(t4.s.$(i6.y, 1.570796326794897) && !t4.s.$(s4.y, 1.570796326794897) || t4.s.$(i6.y, -1.570796326794897) && !t4.s.$(s4.y, -1.570796326794897));
  7572. }, i5.Mu = function(i6, s4) {
  7573. return !!(t4.s.$(s4.y, 1.570796326794897) && !t4.s.$(i6.y, 1.570796326794897) || t4.s.$(s4.y, -1.570796326794897) && !t4.s.$(i6.y, -1.570796326794897));
  7574. }, i5.zE = function(s4, n4, h2) {
  7575. return !(!i5.yE(s4, n4, h2) || t4.s.$(s4.y, 1.570796326794897) || t4.s.$(s4.y, -1.570796326794897) || t4.s.$(n4.y, 1.570796326794897) || t4.s.$(n4.y, -1.570796326794897));
  7576. }, i5.yE = function(t5, i6, s4) {
  7577. return Math.abs(Math.abs(t5.x - i6.x) - 3.141592653589793) <= s4;
  7578. }, i5.Nu = function(i6, s4) {
  7579. return !!(t4.s.$(i6.y, 1.570796326794897) && t4.s.$(s4.y, 1.570796326794897) || t4.s.$(i6.y, -1.570796326794897) && t4.s.$(s4.y, -1.570796326794897));
  7580. }, i5.eB = function(s4, n4, h2, r2) {
  7581. if (0 < s4.y) {
  7582. var e2 = new t4.h();
  7583. e2.na(n4.x, 1.570796326794897);
  7584. } else
  7585. (e2 = new t4.h()).na(n4.x, -1.570796326794897);
  7586. t4.s.$(s4.x, e2.x) || t4.s.$(n4.y, e2.y) || (i5.Of(r2, e2), h2 != null && h2.add(0));
  7587. }, i5.cB = function(s4, n4, h2, r2) {
  7588. if (0 < n4.y) {
  7589. var e2 = new t4.h();
  7590. e2.na(s4.x, 1.570796326794897);
  7591. } else
  7592. (e2 = new t4.h()).na(s4.x, -1.570796326794897);
  7593. t4.s.$(n4.x, e2.x) || t4.s.$(s4.y, e2.y) || (i5.Of(r2, e2), h2 != null && h2.add(1));
  7594. }, i5.dB = function(s4, n4, h2, r2, e2, o2, a2) {
  7595. t4.s.Dd(h2) ? (0 < 1.570796326794897 - s4.y && ((h2 = new t4.h()).na(s4.x, 1.570796326794897), i5.Of(a2, h2), o2 != null && o2.add(r2)), 0 < 1.570796326794897 - n4.y && ((h2 = new t4.h()).na(n4.x, 1.570796326794897), i5.Of(a2, h2), o2 != null && o2.add(r2))) : (0 < 1.570796326794897 + s4.y && ((h2 = new t4.h()).na(s4.x, -1.570796326794897), i5.Of(a2, h2), o2 != null && o2.add(e2)), 0 < 1.570796326794897 + n4.y && ((h2 = new t4.h()).na(n4.x, -1.570796326794897), i5.Of(a2, h2), o2 != null && o2.add(e2)));
  7596. }, i5.sU = function(t5) {
  7597. if (-3.141592653589793 > t5.x)
  7598. for (; -3.141592653589793 > t5.x; )
  7599. t5.x += 6.283185307179586;
  7600. if (3.141592653589793 < t5.x)
  7601. for (; 3.141592653589793 < t5.x; )
  7602. t5.x -= 6.283185307179586;
  7603. }, i5;
  7604. }();
  7605. t4.ej = i4;
  7606. }(V || (V = {})), function(t4) {
  7607. t4.jp = function() {
  7608. function i4() {
  7609. }
  7610. return i4.pj = function(s4, n4, h2) {
  7611. if (s4 == null || n4 == null || !t4.cb.Xc(n4))
  7612. throw t4.i.O();
  7613. if (s4.B())
  7614. return s4;
  7615. var r2 = s4, e2 = r2.K();
  7616. if (t4.ba.Ic(e2)) {
  7617. r2 = t4.Jh.nj(s4, n4), s4 = new t4.l(), r2.A(s4), e2 = t4.ta.Xd(n4, s4, false);
  7618. for (var o2 = t4.cb.ih(n4), a2 = Math.floor((s4.v - o2.v) / o2.S()) * o2.S() + o2.v; a2 < s4.C; )
  7619. a2 > s4.v + e2 && a2 < s4.C - e2 && (r2 = t4.Jh.ms(r2, n4, h2, true, a2)), a2 += o2.S();
  7620. } else {
  7621. if (e2 == 197)
  7622. return (s4 = new t4.Ea(r2.description)).bd(r2, false), i4.pj(s4, n4, h2);
  7623. if (t4.ba.zd(e2))
  7624. return (s4 = new t4.Ua(r2.description)).oc(r2, true), i4.pj(s4, n4, h2);
  7625. }
  7626. return i4.Py(r2, n4);
  7627. }, i4.Py = function(s4, n4) {
  7628. if (s4 == null || n4 == null || !t4.cb.Xc(n4))
  7629. throw t4.i.O();
  7630. if (s4.B())
  7631. return s4;
  7632. var h2 = s4.K();
  7633. return h2 == 197 ? (h2 = new t4.Ea(s4.description)).bd(s4, false) : t4.ba.zd(h2) ? (h2 = new t4.Ua(s4.description)).oc(s4, true) : h2 = s4, (h2 = t4.Jh.nj(h2, n4)).B() ? h2 : t4.Gg.Tb(n4) == 1 ? t4.Jh.Gn(h2, n4, 0, h2 != s4, 0) : i4.HQ(h2, n4, h2 != s4);
  7634. }, i4.HQ = function(i5, s4, n4) {
  7635. if (!t4.cb.Xc(s4))
  7636. throw t4.i.O();
  7637. if (i5.B())
  7638. return i5;
  7639. var h2 = t4.cb.bf(s4), r2 = -180 * h2;
  7640. return h2 *= 360, t4.Gg.Tb(s4) == 2 && (h2 = (r2 = t4.cb.ih(s4)).C, h2 -= r2 = r2.v), t4.Jh.Jp(i5, r2, h2, s4, n4, 0, true);
  7641. }, i4;
  7642. }();
  7643. }(V || (V = {})), function(t4) {
  7644. t4.tY = function() {
  7645. function t5() {
  7646. }
  7647. return t5.R = function(t6) {
  7648. return 0 > t6 ? -t6 : t6;
  7649. }, t5.Mb = function(i4, s4) {
  7650. return 0 <= s4 ? t5.R(i4) : -t5.R(i4);
  7651. }, t5.$ = function(i4, s4) {
  7652. return i4 == s4 || t5.R(i4 - s4) <= t5.DC * (1 + (t5.R(i4) + t5.R(s4)) / 2);
  7653. }, t5.Dd = function(i4) {
  7654. return i4 == 0 || t5.R(i4) <= t5.DC;
  7655. }, t5.Ch = function(i4, s4) {
  7656. var n4 = (s4 = (1 - (s4 = Math.sqrt(1 - s4))) / (1 + s4)) * s4;
  7657. return i4 / (1 + s4) * (1 + n4 * (0.25 + n4 * (0.015625 + 1 / 256 * n4))) * t5.yL;
  7658. }, t5.yL = 1.5707963267948966, t5.DC = 3552713678800501e-30, t5;
  7659. }();
  7660. }(V || (V = {})), function(t4) {
  7661. var i4 = function(t5) {
  7662. this.Xf = t5, this.Lk = this.Xf.getCode(), 0 > this.Lk && (this.Lk = 0);
  7663. };
  7664. t4.vY = i4;
  7665. var s4 = function() {
  7666. function s5(t5) {
  7667. t5 === void 0 && (t5 = null), this.Ej = null, this.Vn = false, t5 !== null && (this.Ej = new i4(t5));
  7668. }
  7669. return s5.prototype.Fc = function() {
  7670. return this.Ej != null ? this.Ej.Lk : 0;
  7671. }, s5.prototype.Pf = function() {
  7672. var t5 = new s5();
  7673. return this.copyTo(t5), t5;
  7674. }, s5.prototype.copyTo = function(t5) {
  7675. t5.Ej = this.Ej, t5.Vn = this.Vn;
  7676. }, s5.prototype.Lz = function() {
  7677. this.Vn = !this.Vn;
  7678. }, s5.prototype.sm = function() {
  7679. return this.Ej != null ? this.Ej.Xf : null;
  7680. }, s5.prototype.FJ = function(s6) {
  7681. if (0 >= s6)
  7682. throw t4.i.O();
  7683. if (s6 != this.Fc()) {
  7684. if ((s6 = t4.qf.geogtran(s6)) == null)
  7685. throw t4.i.O("Geogtran not found.");
  7686. this.Ej = new i4(s6);
  7687. }
  7688. }, s5.prototype.wz = function() {
  7689. return this.Ej == null ? null : this.Ej.Xf.toString();
  7690. }, s5.prototype.lX = function(s6) {
  7691. if (s6 == null)
  7692. throw t4.i.O();
  7693. var n4 = null;
  7694. try {
  7695. n4 = t4.qf.fromString(t4.Tc.PE_TYPE_GEOGTRAN, s6);
  7696. } catch (h2) {
  7697. throw t4.i.O();
  7698. }
  7699. this.Ej = new i4(n4);
  7700. }, s5.prototype.Nb = function(t5) {
  7701. return t5 == this || !(!(t5 instanceof s5) || (0 >= this.Fc() || this.Fc() != t5.Fc()) && !this.sm().isEqual(t5.sm())) && this.Vn == t5.Vn;
  7702. }, s5.prototype.toString = function() {
  7703. var t5 = "GeographicTransformation: " + this.wz();
  7704. return 200 < t5.length ? t5.substring(0, 197) + "... (" + t5.length.toString() + " characters)" : t5;
  7705. }, s5.create = function(t5, i5) {
  7706. var n4 = new s5();
  7707. return n4.FJ(t5), i5 && n4.Lz(), n4;
  7708. }, s5.oP = function(t5, i5) {
  7709. var n4 = new s5();
  7710. return n4.lX(t5), i5 && n4.Lz(), n4;
  7711. }, s5;
  7712. }();
  7713. t4.Cx = s4;
  7714. }(V || (V = {})), function(t4) {
  7715. var i4 = function() {
  7716. function t5() {
  7717. }
  7718. return t5.construct = function(i5, s5, n4, h2) {
  7719. var r2 = new t5();
  7720. return r2.jw = i5, r2.kw = s5, r2.IY = n4, r2.JY = h2, r2;
  7721. }, t5.zy = function(t6, i5) {
  7722. return t6.jw == i5.jw ? t6.kw == i5.kw ? 0 : t6.kw < i5.kw ? -1 : 1 : t6.jw < i5.jw ? -1 : 1;
  7723. }, t5;
  7724. }(), s4 = function() {
  7725. function t5() {
  7726. this.qT = [], this.rT = [], this.rp();
  7727. }
  7728. return t5.fz = function() {
  7729. return t5.dK == null && (t5.dK = new t5()), t5.dK;
  7730. }, t5.prototype.rp = function() {
  7731. this.cD(this.qT), this.cD(this.rT);
  7732. }, t5.prototype.cD = function(t6) {
  7733. try {
  7734. var s5 = [];
  7735. s5 = s5.sort(i4.zy);
  7736. for (var n4 = 0; n4 < s5.length; n4++)
  7737. t6.push(s5[n4]);
  7738. } catch (h2) {
  7739. }
  7740. }, t5;
  7741. }();
  7742. t4.uY = s4;
  7743. }(V || (V = {})), function(t4) {
  7744. var i4 = function() {
  7745. function t5() {
  7746. }
  7747. return t5.prototype.sD = function(t6) {
  7748. this.Gk = t6;
  7749. }, t5.prototype.QM = function(t6) {
  7750. this.Gb = t6;
  7751. }, t5.prototype.rD = function(t6) {
  7752. this.Ao = t6;
  7753. }, t5.wE = function(t6) {
  7754. return !(t6.B() || t6.K() != 1607 && t6.K() != 1736);
  7755. }, t5.uE = function(t6) {
  7756. return !(t6.B() || t6.K() != 1607 && t6.K() != 1736 || 20 > t6.I());
  7757. }, t5.vE = function(t6) {
  7758. return !(t6.B() || t6.K() != 1607 && t6.K() != 1736 || 20 > t6.I());
  7759. }, t5;
  7760. }();
  7761. t4.Vk = i4;
  7762. }(V || (V = {})), function(t4) {
  7763. t4.bc = function() {
  7764. function i4() {
  7765. }
  7766. return i4.LT = function(i5) {
  7767. var s4 = new t4.Ea();
  7768. return s4.rx(i5.gs(), i5.js()), s4.Aj(i5.gs(), i5.hs()), s4.Aj(i5.fs(), i5.hs()), s4.Aj(i5.fs(), i5.js()), s4;
  7769. }, i4.Bh = function(i5, s4) {
  7770. return i5 === null ? null : t4.Gx.local().W(i5, s4, null);
  7771. }, i4.bY = function(i5, s4) {
  7772. var n4 = t4.Ih.local();
  7773. return i5 = new t4.$c(i5), n4.W(i5, s4, null).next();
  7774. }, i4.km = function(i5, s4, n4) {
  7775. return t4.lp.local().W(i5, s4, n4, null);
  7776. }, i4.fp = function(i5, s4, n4) {
  7777. return t4.Jx.local().W(i5, s4, n4, null);
  7778. }, i4.NX = function(i5, s4, n4) {
  7779. var h2 = t4.Jx.local();
  7780. for (i5 = new t4.$c(i5), s4 = new t4.$c(s4), n4 = h2.W(i5, s4, n4, null), h2 = []; (s4 = n4.next()) != null; )
  7781. h2.push(s4);
  7782. return h2;
  7783. }, i4.Nb = function(i5, s4, n4) {
  7784. return t4.fj.local().W(3, i5, s4, n4, null);
  7785. }, i4.NP = function(i5, s4, n4) {
  7786. return t4.fj.local().W(4, i5, s4, n4, null);
  7787. }, i4.JS = function(i5, s4, n4) {
  7788. var h2 = t4.Xk.local();
  7789. for (i5 = new t4.$c(i5), s4 = new t4.$c(s4), n4 = h2.W(i5, s4, n4, null), h2 = []; (s4 = n4.next()) != null; )
  7790. h2.push(s4);
  7791. return h2;
  7792. }, i4.KP = function(i5, s4, n4) {
  7793. var h2 = t4.lp.local();
  7794. for (i5 = new t4.$c(i5), s4 = new t4.$c(s4), n4 = h2.W(i5, s4, n4, null), h2 = []; (s4 = n4.next()) != null; )
  7795. h2.push(s4);
  7796. return h2;
  7797. }, i4.Fa = function(i5, s4, n4) {
  7798. return t4.Xk.local().W(i5, s4, n4, null);
  7799. }, i4.iY = function(i5, s4, n4) {
  7800. return t4.fj.local().W(2, i5, s4, n4, null);
  7801. }, i4.contains = function(i5, s4, n4) {
  7802. return t4.fj.local().W(1, i5, s4, n4, null);
  7803. }, i4.vP = function(i5, s4, n4) {
  7804. return t4.fj.local().W(16, i5, s4, n4, null);
  7805. }, i4.touches = function(i5, s4, n4) {
  7806. return t4.fj.local().W(8, i5, s4, n4, null);
  7807. }, i4.vU = function(i5, s4, n4) {
  7808. return t4.fj.local().W(32, i5, s4, n4, null);
  7809. }, i4.LS = function(i5, s4, n4) {
  7810. return t4.fj.local().W(1073741824, i5, s4, n4, null);
  7811. }, i4.sB = function(i5, s4, n4, h2) {
  7812. return t4.tL.local().W(i5, s4, n4, h2, null);
  7813. }, i4.ub = function(i5, s4, n4, h2) {
  7814. var r2 = null;
  7815. if (n4 != null) {
  7816. if (r2 = n4.Id(), h2 != null && r2.Fc() != h2.Fc() && r2.od != h2.od)
  7817. throw t4.i.Zk();
  7818. } else if (h2 != null)
  7819. throw t4.i.O();
  7820. return i5 = t4.kL.local().W(i5, s4, null), r2 !== null && h2 !== null && (i5 = t4.Uc.Ph(i5, r2, h2)), i5;
  7821. }, i4.clip = function(i5, s4, n4) {
  7822. return t4.eL.local().W(i5, t4.l.construct(s4.gs(), s4.js(), s4.fs(), s4.hs()), n4, null);
  7823. }, i4.fl = function(i5, s4, n4) {
  7824. if (i5 == null || s4 == null)
  7825. return null;
  7826. for (i5 = t4.gL.local().W(true, i5, s4, n4, null), s4 = []; (n4 = i5.next()) != null; )
  7827. n4.B() || s4.push(n4);
  7828. return s4.slice(0);
  7829. }, i4.GN = function(s4, n4, h2, r2, e2, o2, a2, u2) {
  7830. if (e2 === true)
  7831. return i4.HN(s4, n4, h2, r2, o2, a2, u2);
  7832. if (e2 = h2, n4 != null) {
  7833. if (a2 = n4.Id(), r2 != null && a2.Fc() != r2.Fc()) {
  7834. if (a2.od != r2.od)
  7835. throw t4.i.Zk();
  7836. e2 = [], t4.Uc.RE(h2, h2.length, r2, a2, e2);
  7837. }
  7838. } else if (r2 != null)
  7839. throw t4.i.O();
  7840. if (h2 = t4.uC.local(), o2) {
  7841. for (s4 = new t4.$c(s4), n4 = h2.W(s4, n4, e2, o2, null), s4 = []; (o2 = n4.next()) != null; )
  7842. s4.push(o2);
  7843. o2 = s4.slice(0);
  7844. } else
  7845. for (o2 = [], r2 = 0; r2 < s4.length; r2++)
  7846. o2[r2] = h2.W(s4[r2], n4, e2[r2], null);
  7847. return o2;
  7848. }, i4.HN = function(i5, s4, n4, h2, r2, e2, o2) {
  7849. if (s4 === null)
  7850. throw t4.i.O();
  7851. if (h2 == null && (h2 = s4.Fc() !== 4326 ? s4.Id() : t4.Uc.ah(9001)), h2.od !== 0)
  7852. throw t4.i.O();
  7853. if (t4.Uc.RE(n4, n4.length, h2, t4.Uc.ah(9001), n4), h2 = t4.zC.local(), r2) {
  7854. for (i5 = new t4.$c(i5), s4 = h2.W(i5, s4, e2, n4, o2, false, r2, null), n4 = []; (e2 = s4.next()) != null; )
  7855. n4.push(e2);
  7856. r2 = n4.slice(0);
  7857. } else {
  7858. r2 = [];
  7859. for (var a2 = 0; a2 < i5.length; a2++)
  7860. r2[a2] = h2.W(i5[a2], s4, e2, n4[a2], o2, false, null);
  7861. }
  7862. return r2;
  7863. }, i4.buffer = function(i5, s4, n4, h2, r2, e2, o2) {
  7864. var a2 = n4;
  7865. if (r2 === false) {
  7866. if (s4 != null) {
  7867. if (r2 = s4.Id(), h2 != null && r2.Fc() != h2.Fc()) {
  7868. if (r2.od != h2.od)
  7869. throw t4.i.Zk();
  7870. a2 = t4.Uc.Ph(n4, h2, r2);
  7871. }
  7872. } else if (h2 != null)
  7873. throw t4.i.O();
  7874. i5 = t4.uC.local().W(i5, s4, a2, null);
  7875. } else {
  7876. if (s4 === null)
  7877. throw t4.i.O();
  7878. if (h2 == null && (h2 = s4.Fc() !== 4326 ? s4.Id() : t4.Uc.ah(9001)), h2.od !== 0)
  7879. throw t4.i.O();
  7880. a2 = t4.Uc.Ph(n4, h2, t4.Uc.ah(9001)), i5 = t4.zC.local().W(i5, s4, e2, a2, o2, false, null);
  7881. }
  7882. return i5;
  7883. }, i4.tU = function(i5, s4, n4, h2, r2, e2, o2) {
  7884. if (s4 != null) {
  7885. var a2 = s4.Id();
  7886. if (o2 != null && a2.Fc() != o2.Fc()) {
  7887. if (a2.od != o2.od)
  7888. throw t4.i.Zk();
  7889. n4 = t4.Uc.Ph(n4, o2, a2);
  7890. }
  7891. } else if (o2 != null)
  7892. throw t4.i.O();
  7893. for (i5 = new t4.$c(i5), s4 = t4.CC.local().W(i5, s4, n4, h2, r2, e2, null), n4 = []; (h2 = s4.next()) != null; )
  7894. n4.push(h2);
  7895. return n4.slice(0);
  7896. }, i4.offset = function(i5, s4, n4, h2, r2, e2, o2) {
  7897. if (s4 != null) {
  7898. var a2 = s4.Id();
  7899. if (o2 != null && a2.Fc() != o2.Fc()) {
  7900. if (a2.od != o2.od)
  7901. throw t4.i.Zk();
  7902. n4 = t4.Uc.Ph(n4, o2, a2);
  7903. }
  7904. } else if (o2 != null)
  7905. throw t4.i.O();
  7906. return t4.CC.local().W(i5, s4, n4, h2, r2, e2, null);
  7907. }, i4.cP = function(i5) {
  7908. return t4.wC.local().W(i5, null);
  7909. }, i4.dP = function(i5, s4) {
  7910. var n4 = t4.wC.local();
  7911. for (i5 = new t4.$c(i5), s4 = n4.W(i5, s4, null), n4 = []; (i5 = s4.next()) != null; )
  7912. n4.push(i5);
  7913. return n4;
  7914. }, i4.iz = function(i5, s4, n4) {
  7915. return t4.Hx.local().iz(i5, s4, n4);
  7916. }, i4.jz = function(i5, s4) {
  7917. return t4.Hx.local().jz(i5, s4);
  7918. }, i4.kz = function(i5, s4, n4, h2) {
  7919. return t4.Hx.local().kz(i5, s4, n4, h2);
  7920. }, i4.ZB = function(i5, s4) {
  7921. return t4.$l.local().W(i5, s4, false, null);
  7922. }, i4.WS = function(i5, s4) {
  7923. return t4.$l.local().ts(i5, s4, null);
  7924. }, i4.KQ = function(i5, s4, n4, h2, r2) {
  7925. var e2 = t4.yC.local();
  7926. if (s4 != null) {
  7927. if (s4 = s4.Id(), r2 != null && s4.Fc() != r2.Fc()) {
  7928. if (s4.od != r2.od)
  7929. throw t4.i.Zk();
  7930. n4 = t4.Uc.Ph(n4, r2, s4);
  7931. }
  7932. } else if (r2 != null)
  7933. throw t4.i.O();
  7934. return e2.W(i5, n4, h2, null);
  7935. }, i4.Sr = function(i5, s4, n4, h2) {
  7936. var r2 = t4.Zl.local();
  7937. if (s4 != null) {
  7938. if (s4 = s4.Id(), h2 != null && s4.Fc() != h2.Fc()) {
  7939. if (s4.od != h2.od)
  7940. throw t4.i.Zk();
  7941. n4 = t4.Uc.Ph(n4, h2, s4);
  7942. }
  7943. } else if (h2 != null)
  7944. throw t4.i.O();
  7945. return r2.W(i5, n4, null);
  7946. }, i4.Ry = function(i5, s4, n4, h2, r2) {
  7947. r2 === void 0 && (r2 = 0);
  7948. var e2 = t4.mL.local();
  7949. if (r2 == 4)
  7950. throw t4.i.Fe();
  7951. if (r2 !== 0)
  7952. throw t4.i.Fe();
  7953. if (h2 !== null) {
  7954. if (h2.od !== 0)
  7955. throw t4.i.O("Unit must be a linear unit type");
  7956. n4 = t4.Uc.Ph(n4, h2, t4.Uc.ah(9001));
  7957. }
  7958. return e2.W(i5, n4, s4, r2, null);
  7959. }, i4.QQ = function(s4, n4, h2, r2) {
  7960. if (s4 === null)
  7961. return 0;
  7962. if (r2 == 4)
  7963. throw t4.i.Fe();
  7964. if (r2 !== 0)
  7965. throw t4.i.Fe();
  7966. if (s4.K() == 197)
  7967. s4 = i4.LT(s4);
  7968. else if (s4.K() != 1736)
  7969. return 0;
  7970. if (r2 = t4.cb.tc(n4), s4 = t4.cb.Bh(s4, n4, r2), s4 = t4.OK.RQ([s4])[0], h2 !== null) {
  7971. if (h2.od !== 2)
  7972. throw t4.i.O("Unit must be a area unit type");
  7973. s4 = t4.Uc.Ph(s4, t4.Uc.ah(109404), h2);
  7974. }
  7975. return s4;
  7976. }, i4.TQ = function(i5, s4, n4, h2) {
  7977. if (i5 = t4.oL.local().W(i5, s4, h2, null), n4 !== null) {
  7978. if (n4.od !== 0)
  7979. throw t4.i.O("Unit must be a linear unit type");
  7980. i5 = t4.Uc.Ph(i5, t4.Uc.ah(9001), n4);
  7981. }
  7982. return i5;
  7983. }, i4.BU = function(i5, s4, n4) {
  7984. if (i5 === null)
  7985. return 0;
  7986. var h2 = null;
  7987. if (s4 != null) {
  7988. if ((h2 = s4.Id()).od == 0 && ((h2 = t4.Uc.VF(h2)) == null && n4 !== null))
  7989. throw t4.i.O();
  7990. if (n4 != null && h2.Fc() != n4.Fc() && h2.od != n4.od)
  7991. throw t4.i.Zk();
  7992. } else if (n4 != null)
  7993. throw t4.i.O();
  7994. return i5.K() == 1736 || i5.K() == 197 ? (i5 = i5.He(), n4 !== null ? t4.Uc.Ph(i5, h2, n4) : i5) : 0;
  7995. }, i4.CU = function(i5, s4, n4) {
  7996. if (i5 === null || i5.B() || 1 > i5.Eb())
  7997. return 0;
  7998. var h2 = null;
  7999. if (s4 != null) {
  8000. if (h2 = s4.Id(), n4 != null && h2.Fc() != n4.Fc() && h2.od != n4.od)
  8001. throw t4.i.Zk();
  8002. } else if (n4 != null)
  8003. throw t4.i.O();
  8004. i5.K() == 1736 || i5.K() == 197 ? s4 = i5.mg() : t4.ba.zd(i5.K()) ? (s4 = new t4.Ua(i5.description)).oc(i5, true) : s4 = i5, i5 = 0, s4 = s4.Ha();
  8005. for (var r2 = new t4.h(), e2 = new t4.h(); s4.ab(); )
  8006. for (; s4.Ia(); ) {
  8007. var o2 = s4.ia();
  8008. o2.$p(r2), o2.Vr(e2), i5 += t4.h.ub(r2, e2);
  8009. }
  8010. return h2 !== null && n4 !== null && (i5 = t4.Uc.Ph(i5, h2, n4)), i5;
  8011. }, i4.$O = function(t5) {
  8012. return t5.points !== void 0 ? i4.fS(t5, t5.hasZ !== void 0 && t5.hasZ, t5.hasM !== void 0 && t5.hasM) : t5.rings !== void 0 ? i4.fG(t5.rings, t5.hasZ !== void 0 && t5.hasZ, t5.hasM !== void 0 && t5.hasM, "P") : t5.paths !== void 0 ? i4.fG(t5.paths, t5.hasZ !== void 0 && t5.hasZ, t5.hasM !== void 0 && t5.hasM, "L") : t5.x !== void 0 ? i4.gS(t5) : t5.xmin !== void 0 ? i4.eS(t5) : null;
  8013. }, i4.gS = function(i5) {
  8014. if (i5.x == null || i5.x == "NaN")
  8015. return new t4.Ta();
  8016. var s4 = new t4.Ta(i5.x, i5.y);
  8017. return i5.z !== void 0 && i5.z !== null && s4.oX(i5.z), i5.m !== void 0 && i5.m !== null && s4.ZW(i5.m), s4;
  8018. }, i4.eS = function(i5) {
  8019. if (i5.xmin == null || i5.xmin == "NaN")
  8020. return new t4.Hh();
  8021. var s4 = new t4.Hh(i5.xmin, i5.ymin, i5.xmax, i5.ymax);
  8022. return i5.zmin !== void 0 && i5.zmin !== null && s4.setInterval(1, 0, i5.zmin, i5.zmax), i5.mmin !== void 0 && i5.mmin !== null && s4.setInterval(2, 0, i5.mmin, i5.mmax), s4;
  8023. }, i4.fS = function(i5, s4, n4) {
  8024. var h2 = 0, r2 = new t4.de(), e2 = 3 * i5.points.length;
  8025. e2 % 2 != 0 && e2++, 2 > e2 && (e2 = 2);
  8026. var o2 = t4.P.truncate(3 * i5.points.length / 2);
  8027. 4 > o2 ? o2 = 4 : 16 > o2 && (o2 = 16), e2 = t4.Zc.En(e2, 0);
  8028. var a2 = t4.Zc.En(o2);
  8029. o2 = t4.Zc.En(o2);
  8030. for (var u2 = 0; u2 < i5.points.length; u2++)
  8031. e2.write(2 * u2, i5.points[u2][0]), e2.write(2 * u2 + 1, i5.points[u2][1]), a2.write(u2, s4 || n4 ? i5.points[u2][2] : NaN), o2.write(u2, n4 && s4 ? i5.points[u2][3] : NaN), h2++;
  8032. return h2 != 0 && (r2.resize(h2), r2.kn(0, e2)), s4 && (r2.se(1), r2.kn(1, a2)), n4 && (r2.se(2), r2.kn(2, s4 == 0 ? a2 : o2)), r2.Qc(16777215), r2;
  8033. }, i4.fG = function(i5, s4, n4, h2) {
  8034. var r2 = 0, e2 = 2;
  8035. if (h2 == "P") {
  8036. var o2 = new t4.Ea();
  8037. r2 = 1, e2 = 3;
  8038. } else
  8039. o2 = new t4.Ua();
  8040. for (var a2 = t4.Zc.Qh(0), u2 = t4.Zc.Or(0), f2 = 0, c2 = 0, l2 = [], p2 = [], v2 = 0; v2 < i5.length; v2++) {
  8041. var y2 = i5[v2].length;
  8042. if (l2[v2] = false, h2 === "P" && i5[v2][0][0] === i5[v2][i5[v2].length - 1][0] && i5[v2][0][1] === i5[v2][i5[v2].length - 1][1]) {
  8043. var b2 = n4 == 0 || (i5[v2][0][3] === i5[v2][i5[v2].length - 1][3] || i5[v2][0][3] === void 0 && i5[v2][i5[v2].length - 1][3] === void 0);
  8044. (s4 == 0 || i5[v2][0][2] === i5[v2][i5[v2].length - 1][2] || i5[v2][0][2] === void 0 && i5[v2][i5[v2].length - 1][2] === void 0) && b2 && (l2[v2] = true, --y2);
  8045. }
  8046. y2 >= e2 ? (p2[v2] = false, c2 += 1, a2.add(f2), u2.add(r2), f2 += y2) : p2[v2] = true;
  8047. }
  8048. for ((h2 = 3 * f2) % 2 != 0 && h2++, 2 > h2 && (h2 = 2), 4 > (v2 = t4.P.truncate(3 * f2 / 2)) ? v2 = 4 : 16 > v2 && (v2 = 16), h2 = t4.Zc.En(h2, 0), r2 = t4.Zc.En(v2), e2 = t4.Zc.En(v2), v2 = y2 = 0; v2 < i5.length; v2++)
  8049. if (p2[v2] === false)
  8050. for (b2 = 0; b2 < i5[v2].length; b2++) {
  8051. var d2 = false;
  8052. b2 === i5[v2].length - 1 && l2[v2] === true && (d2 = true), d2 || (h2.write(2 * y2, i5[v2][b2][0]), h2.write(2 * y2 + 1, i5[v2][b2][1]), r2.write(y2, s4 || n4 ? i5[v2][b2][2] : NaN), e2.write(y2, n4 && s4 ? i5[v2][b2][3] : NaN), y2++);
  8053. }
  8054. return f2 != 0 && (i5 = o2, a2.resize(c2), u2.resize(c2), 0 < f2 && (a2.add(f2), u2.add(0)), i5.kn(0, h2), i5.JJ(u2), i5.KJ(a2)), s4 && (o2.se(1), o2.kn(1, r2)), n4 && (o2.se(2), o2.kn(2, s4 == 0 ? r2 : e2)), o2.Qc(16777215), o2;
  8055. }, i4;
  8056. }();
  8057. }(V || (V = {})), function(t4) {
  8058. t4.Dx = function() {
  8059. function t5() {
  8060. }
  8061. return t5.dr = function(t6) {
  8062. var i4, s4 = 0, n4 = t6.length, h2 = t6[0];
  8063. for (i4 = 0; i4 < n4 - 1; i4++) {
  8064. var r2 = t6[i4 + 1];
  8065. s4 += (r2[0] - h2[0]) * (r2[1] + h2[1]), h2 = r2;
  8066. }
  8067. return 0 <= s4;
  8068. }, t5.rotate = function(i4, s4, n4) {
  8069. s4 = s4 * Math.PI / 180;
  8070. var h2 = Math.cos(s4), r2 = Math.sin(s4);
  8071. if (i4.paths !== void 0) {
  8072. s4 = { paths: [] };
  8073. for (var e2 = 0; e2 < i4.paths.length; e2++) {
  8074. for (var o2 = i4.paths[e2], a2 = [], u2 = 0; u2 < o2.length; u2++) {
  8075. var f2 = o2[u2].slice(0);
  8076. a2.push(f2);
  8077. var c2 = h2 * (o2[u2][0] - n4.x) - r2 * (o2[u2][1] - n4.y) + n4.x, l2 = r2 * (o2[u2][0] - n4.x) + h2 * (o2[u2][1] - n4.y) + n4.y;
  8078. f2[0] = c2, f2[1] = l2;
  8079. }
  8080. s4.paths.push(a2);
  8081. }
  8082. return s4;
  8083. }
  8084. if (i4.rings !== void 0) {
  8085. for (s4 = { rings: [] }, e2 = 0; e2 < i4.rings.length; e2++) {
  8086. o2 = i4.rings[e2], a2 = [];
  8087. var p2 = t5.dr(o2);
  8088. for (u2 = 0; u2 < o2.length; u2++)
  8089. f2 = o2[u2].slice(0), a2.push(f2), c2 = h2 * (o2[u2][0] - n4.x) - r2 * (o2[u2][1] - n4.y) + n4.x, l2 = r2 * (o2[u2][0] - n4.x) + h2 * (o2[u2][1] - n4.y) + n4.y, f2[0] = c2, f2[1] = l2;
  8090. t5.dr(a2) !== p2 && a2.reverse(), s4.rings.push(a2);
  8091. }
  8092. return s4;
  8093. }
  8094. if (i4.x !== void 0)
  8095. return s4 = { x: h2 * (i4.x - n4.x) - r2 * (i4.y - n4.y) + n4.x, y: r2 * (i4.x - n4.x) + h2 * (i4.y - n4.y) + n4.y }, i4.z !== void 0 && (s4.z = i4.z), i4.m !== void 0 && (s4.m = i4.m), s4;
  8096. if (i4.points !== void 0) {
  8097. for (s4 = { points: [] }, i4 = i4.points, u2 = 0; u2 < i4.length; u2++)
  8098. (e2 = i4[u2].slice(0))[0] = h2 * (i4[u2][0] - n4.x) - r2 * (i4[u2][1] - n4.y) + n4.x, e2[1] = r2 * (i4[u2][0] - n4.x) + h2 * (i4[u2][1] - n4.y) + n4.y, s4.points.push(e2);
  8099. return s4;
  8100. }
  8101. return null;
  8102. }, t5.DQ = function(i4, s4) {
  8103. if (i4.paths !== void 0) {
  8104. for (var n4 = { paths: [] }, h2 = 0; h2 < i4.paths.length; h2++) {
  8105. for (var r2 = i4.paths[h2], e2 = [], o2 = 0; o2 < r2.length; o2++) {
  8106. var a2 = r2[o2].slice(0);
  8107. e2.push(a2);
  8108. var u2 = s4.x - r2[o2][0];
  8109. a2[0] = r2[o2][0] + 2 * u2;
  8110. }
  8111. n4.paths.push(e2);
  8112. }
  8113. return n4;
  8114. }
  8115. if (i4.rings !== void 0) {
  8116. for (n4 = { rings: [] }, h2 = 0; h2 < i4.rings.length; h2++) {
  8117. r2 = i4.rings[h2];
  8118. var f2 = t5.dr(r2);
  8119. for (e2 = [], o2 = 0; o2 < r2.length; o2++)
  8120. a2 = r2[o2].slice(0), e2.push(a2), u2 = s4.x - r2[o2][0], a2[0] = r2[o2][0] + 2 * u2;
  8121. t5.dr(e2) !== f2 && e2.reverse(), n4.rings.push(e2);
  8122. }
  8123. return n4;
  8124. }
  8125. if (i4.x !== void 0)
  8126. return u2 = s4.x - i4.x, n4 = { x: i4.x + 2 * u2, y: i4.y }, i4.z !== void 0 && (n4.z = i4.z), i4.m !== void 0 && (n4.m = i4.m), n4;
  8127. if (i4.points !== void 0) {
  8128. for (n4 = { points: [] }, i4 = i4.points, o2 = 0; o2 < i4.length; o2++)
  8129. h2 = i4[o2].slice(0), u2 = s4.x - h2[0], h2[0] += 2 * u2, n4.points.push(h2);
  8130. return n4;
  8131. }
  8132. return i4.xmin !== void 0 ? (n4 = { v: i4.xmin, G: i4.ymin, C: i4.xmax, H: i4.ymax }, i4.zmin !== void 0 && (n4.zmin = i4.zmin, n4.zmax = i4.zmax), i4.mmin !== void 0 && (n4.mmin = i4.mmin, n4.mmax = i4.mmax), u2 = s4.x - i4.xmin, n4.xmax = i4.xmin + 2 * u2, u2 = s4.x - i4.xmax, n4.xmin = i4.xmax + 2 * u2, n4) : null;
  8133. }, t5.EQ = function(i4, s4) {
  8134. if (i4.paths !== void 0) {
  8135. for (var n4 = { paths: [] }, h2 = 0; h2 < i4.paths.length; h2++) {
  8136. for (var r2 = i4.paths[h2], e2 = [], o2 = 0; o2 < r2.length; o2++) {
  8137. var a2 = r2[o2].slice(0);
  8138. e2.push(a2);
  8139. var u2 = s4.y - r2[o2][1];
  8140. a2[1] = r2[o2][1] + 2 * u2;
  8141. }
  8142. n4.paths.push(e2);
  8143. }
  8144. return n4;
  8145. }
  8146. if (i4.rings !== void 0) {
  8147. for (n4 = { rings: [] }, h2 = 0; h2 < i4.rings.length; h2++) {
  8148. r2 = i4.rings[h2];
  8149. var f2 = t5.dr(r2);
  8150. for (e2 = [], o2 = 0; o2 < r2.length; o2++)
  8151. a2 = r2[o2].slice(0), e2.push(a2), u2 = s4.y - r2[o2][1], a2[1] = r2[o2][1] + 2 * u2;
  8152. t5.dr(e2) !== f2 && e2.reverse(), n4.rings.push(e2);
  8153. }
  8154. return n4;
  8155. }
  8156. if (i4.x !== void 0)
  8157. return u2 = s4.y - i4.y, n4 = { y: i4.y + 2 * u2, x: i4.x }, i4.z !== void 0 && (n4.z = i4.z), i4.m !== void 0 && (n4.m = i4.m), n4;
  8158. if (i4.points !== void 0) {
  8159. for (n4 = { points: [] }, i4 = i4.points, o2 = 0; o2 < i4.length; o2++)
  8160. h2 = i4[o2].slice(0), u2 = s4.y - h2[1], h2[1] += 2 * u2, n4.points.push(h2);
  8161. return n4;
  8162. }
  8163. return i4.xmin !== void 0 ? (n4 = { v: i4.xmin, G: i4.ymin, C: i4.xmax, H: i4.ymax }, i4.zmin !== void 0 && (n4.zmin = i4.zmin, n4.zmax = i4.zmax), i4.mmin !== void 0 && (n4.mmin = i4.mmin, n4.mmax = i4.mmax), u2 = s4.y - i4.ymin, n4.ymax = i4.ymin + 2 * u2, u2 = s4.y - i4.ymax, n4.ymin = i4.ymax + 2 * u2, n4) : null;
  8164. }, t5;
  8165. }();
  8166. }(V || (V = {})), function(t4) {
  8167. t4.TK = function() {
  8168. function i4() {
  8169. }
  8170. return i4.Kg = function(i5, s4) {
  8171. switch (s4 == null && (s4 = t4.ee.og()), i5) {
  8172. case 33:
  8173. return new t4.Ta(s4);
  8174. case 322:
  8175. return new t4.zb(s4);
  8176. case 197:
  8177. return new t4.Hh(s4);
  8178. case 550:
  8179. return new t4.de(s4);
  8180. case 1607:
  8181. return new t4.Ua(s4);
  8182. case 1736:
  8183. return new t4.Ea(s4);
  8184. default:
  8185. throw t4.i.ga("invalid argument.");
  8186. }
  8187. }, i4;
  8188. }();
  8189. }(V || (V = {})), function(t4) {
  8190. var i4 = function() {
  8191. function i5(i6, s4) {
  8192. this.Qe = t4.ja.rf(i6, -1), this.va = new t4.cu(), this.yl = s4;
  8193. }
  8194. return i5.prototype.sW = function(t5) {
  8195. this.va.Bt(Math.min(this.Qe.size, t5)), this.va.hn(t5);
  8196. }, i5.prototype.addElement = function(i6, s4) {
  8197. if (s4 === void 0)
  8198. return this.ZM(i6);
  8199. s4 = t4.P.truncate(s4 % this.Qe.size);
  8200. var n4 = this.Qe.get(s4);
  8201. return n4 == -1 && (n4 = this.va.Rh(), this.Qe.set(s4, n4)), this.va.addElement(n4, i6);
  8202. }, i5.prototype.ZM = function(i6) {
  8203. var s4 = this.yl.ez(i6);
  8204. s4 = t4.P.truncate(s4 % this.Qe.size);
  8205. var n4 = this.Qe.get(s4);
  8206. return n4 == -1 && (n4 = this.va.Rh(), this.Qe.set(s4, n4)), this.va.addElement(n4, i6);
  8207. }, i5.prototype.kd = function(i6, s4) {
  8208. if (s4 === void 0)
  8209. this.EP(i6);
  8210. else {
  8211. s4 = t4.P.truncate(s4 % this.Qe.size);
  8212. var n4 = this.Qe.get(s4);
  8213. if (n4 == -1)
  8214. throw t4.i.O();
  8215. for (var h2 = this.va.sc(n4), r2 = -1; h2 != -1; ) {
  8216. var e2 = this.va.lb(h2);
  8217. this.va.ka(h2) == i6 ? (this.va.kd(n4, r2, h2), this.va.sc(n4) == -1 && (this.va.eh(n4), this.Qe.set(s4, -1))) : r2 = h2, h2 = e2;
  8218. }
  8219. }
  8220. }, i5.prototype.EP = function(i6) {
  8221. var s4 = this.yl.ez(i6);
  8222. s4 = t4.P.truncate(s4 % this.Qe.size);
  8223. var n4 = this.Qe.get(s4);
  8224. if (n4 == -1)
  8225. throw t4.i.O();
  8226. for (var h2 = this.va.sc(n4), r2 = -1; h2 != -1; ) {
  8227. var e2 = this.va.lb(h2);
  8228. this.va.ka(h2) == i6 ? (this.va.kd(n4, r2, h2), this.va.sc(n4) == -1 && (this.va.eh(n4), this.Qe.set(s4, -1))) : r2 = h2, h2 = e2;
  8229. }
  8230. }, i5.prototype.kR = function(i6) {
  8231. return i6 = t4.P.truncate(i6 % this.Qe.size), (i6 = this.Qe.get(i6)) == -1 ? -1 : this.va.sc(i6);
  8232. }, i5.prototype.yR = function(t5) {
  8233. return this.va.lb(t5);
  8234. }, i5.prototype.wd = function(i6) {
  8235. var s4 = this.yl.ez(this.ka(i6));
  8236. s4 = t4.P.truncate(s4 % this.Qe.size);
  8237. var n4 = this.Qe.get(s4);
  8238. if (n4 == -1)
  8239. throw t4.i.O();
  8240. for (var h2 = this.va.sc(n4), r2 = -1; h2 != -1; ) {
  8241. if (h2 == i6)
  8242. return this.va.kd(n4, r2, h2), void (this.va.sc(n4) == -1 && (this.va.eh(n4), this.Qe.set(s4, -1)));
  8243. r2 = h2, h2 = this.va.lb(h2);
  8244. }
  8245. throw t4.i.O();
  8246. }, i5.prototype.ka = function(t5) {
  8247. return this.va.ka(t5);
  8248. }, i5.prototype.clear = function() {
  8249. this.Qe = t4.ja.rf(this.Qe.size, -1), this.va.clear();
  8250. }, i5.prototype.size = function() {
  8251. return this.va.NF();
  8252. }, i5;
  8253. }();
  8254. t4.YK = i4;
  8255. }(V || (V = {})), function(t4) {
  8256. var i4 = function() {
  8257. function i5() {
  8258. this.Ni = new t4.ad(3), this.va = new t4.ad(6), this.jT = false, this.je = -1;
  8259. }
  8260. return i5.prototype.hl = function(t5) {
  8261. this.Ni.kd(t5);
  8262. }, i5.prototype.Rw = function() {
  8263. return this.Ni.De();
  8264. }, i5.prototype.dv = function(t5) {
  8265. this.va.kd(t5);
  8266. }, i5.prototype.UA = function() {
  8267. return this.va.De();
  8268. }, i5.prototype.QB = function(t5, i6) {
  8269. this.Ni.T(t5, 1, i6);
  8270. }, i5.prototype.fx = function(t5, i6) {
  8271. this.Ni.T(t5, 2, i6);
  8272. }, i5.prototype.YW = function(t5, i6) {
  8273. this.Ni.T(t5, 3, i6);
  8274. }, i5.prototype.OB = function(t5, i6) {
  8275. this.va.T(t5, 4, i6);
  8276. }, i5.prototype.aX = function(t5, i6) {
  8277. this.va.T(t5, 3, i6);
  8278. }, i5.prototype.NJ = function(t5, i6) {
  8279. this.va.T(t5, 2, i6);
  8280. }, i5.prototype.Rh = function(t5) {
  8281. var i6 = this.UA();
  8282. return this.va.T(i6, 3, this.je), this.va.T(i6, 4, 0), this.va.T(i6, 5, t5), this.je != -1 && this.NJ(this.je, i6), this.je = i6;
  8283. }, i5.prototype.eh = function(t5) {
  8284. this.FE(t5);
  8285. var i6 = this.va.U(t5, 2), s4 = this.va.U(t5, 3);
  8286. return i6 != -1 ? this.aX(i6, s4) : this.je = s4, s4 != -1 && this.NJ(s4, i6), this.dv(t5), s4;
  8287. }, i5.prototype.Bt = function(t5) {
  8288. this.va.Ee(t5);
  8289. }, i5.prototype.JF = function(t5) {
  8290. return this.va.U(t5, 5);
  8291. }, i5.prototype.XW = function(t5, i6) {
  8292. this.va.T(t5, 5, i6);
  8293. }, i5.prototype.addElement = function(t5, i6) {
  8294. return this.mS(t5, i6);
  8295. }, i5.prototype.mS = function(t5, i6) {
  8296. var s4 = this.Rw();
  8297. this.fx(s4, -1), this.va.U(t5, 0) == -1 && this.va.T(t5, 0, s4);
  8298. var n4 = this.va.U(t5, 1);
  8299. return this.QB(s4, n4), n4 != -1 && this.fx(n4, s4), this.va.T(t5, 1, s4), this.setData(s4, i6), this.OB(t5, this.ds(t5) + 1), this.jT && this.YW(s4, t5), s4;
  8300. }, i5.prototype.kd = function(t5, i6) {
  8301. var s4 = this.xe(i6), n4 = this.lb(i6);
  8302. return s4 != -1 ? this.fx(s4, n4) : this.va.T(t5, 0, n4), n4 != -1 ? this.QB(n4, s4) : this.va.T(t5, 1, s4), this.hl(i6), this.OB(t5, this.ds(t5) - 1), n4;
  8303. }, i5.prototype.hn = function(t5) {
  8304. this.Ni.Ee(t5);
  8305. }, i5.prototype.getData = function(t5) {
  8306. return this.Ni.U(t5, 0);
  8307. }, i5.prototype.setData = function(t5, i6) {
  8308. this.Ni.T(t5, 0, i6);
  8309. }, i5.prototype.lb = function(t5) {
  8310. return this.Ni.U(t5, 2);
  8311. }, i5.prototype.xe = function(t5) {
  8312. return this.Ni.U(t5, 1);
  8313. }, i5.prototype.sc = function(t5) {
  8314. return this.va.U(t5, 0);
  8315. }, i5.prototype.Gc = function(t5) {
  8316. return this.va.U(t5, 1);
  8317. }, i5.prototype.clear = function() {
  8318. for (var t5 = this.je; t5 != -1; )
  8319. t5 = this.eh(t5);
  8320. }, i5.prototype.FE = function(t5) {
  8321. for (var i6 = this.Gc(t5); i6 != -1; ) {
  8322. var s4 = i6;
  8323. i6 = this.xe(s4), this.hl(s4);
  8324. }
  8325. this.va.T(t5, 0, -1), this.va.T(t5, 1, -1), this.OB(t5, 0);
  8326. }, i5.prototype.B = function() {
  8327. return this.Ni.size == 0;
  8328. }, i5.prototype.NF = function() {
  8329. return this.Ni.size;
  8330. }, i5.prototype.ds = function(t5) {
  8331. return this.va.U(t5, 4);
  8332. }, i5.prototype.lz = function(t5) {
  8333. return this.va.U(t5, 3);
  8334. }, i5;
  8335. }();
  8336. t4.kp = i4;
  8337. }(V || (V = {})), function(t4) {
  8338. var i4 = function() {
  8339. function i5(i6) {
  8340. i6 === void 0 ? (this.ug = new t4.ad(2), this.va = new t4.ad(4), this.je = -1, this.Sv = true) : (this.ug = new t4.ad(2), this.va = new t4.ad(i6 ? 4 : 2), this.je = -1, this.Sv = i6);
  8341. }
  8342. return i5.prototype.hl = function(t5) {
  8343. this.ug.kd(t5);
  8344. }, i5.prototype.Rw = function() {
  8345. return this.ug.De();
  8346. }, i5.prototype.dv = function(t5) {
  8347. this.va.kd(t5);
  8348. }, i5.prototype.UA = function() {
  8349. return this.va.De();
  8350. }, i5.prototype.Rh = function() {
  8351. var t5 = this.UA();
  8352. return this.Sv && (this.va.T(t5, 3, this.je), this.je != -1 && this.va.T(this.je, 2, t5), this.je = t5), t5;
  8353. }, i5.prototype.eh = function(t5) {
  8354. for (var i6 = this.sc(t5); i6 != -1; ) {
  8355. var s4 = i6;
  8356. i6 = this.lb(i6), this.hl(s4);
  8357. }
  8358. this.Sv && (i6 = this.va.U(t5, 2), s4 = this.va.U(t5, 3), i6 != -1 ? this.va.T(i6, 3, s4) : this.je = s4, s4 != -1 && this.va.T(s4, 2, i6)), this.dv(t5);
  8359. }, i5.prototype.Bt = function(t5) {
  8360. this.va.Ee(t5);
  8361. }, i5.prototype.addElement = function(t5, i6) {
  8362. var s4 = this.va.U(t5, 1), n4 = this.Rw();
  8363. return s4 != -1 ? this.ug.T(s4, 1, n4) : this.va.T(t5, 0, n4), this.va.T(t5, 1, n4), this.ug.T(n4, 0, i6), n4;
  8364. }, i5.prototype.hn = function(t5) {
  8365. this.ug.Ee(t5);
  8366. }, i5.prototype.kd = function(t5, i6, s4) {
  8367. i6 != -1 ? (this.ug.T(i6, 1, this.ug.U(s4, 1)), this.va.U(t5, 1) == s4 && this.va.T(t5, 1, i6)) : (this.va.T(t5, 0, this.ug.U(s4, 1)), this.va.U(t5, 1) == s4 && this.va.T(t5, 1, -1)), this.hl(s4);
  8368. }, i5.prototype.Cy = function(t5, i6) {
  8369. var s4 = this.va.U(t5, 1), n4 = this.va.U(i6, 0);
  8370. n4 != -1 && (s4 != -1 ? this.ug.T(s4, 1, n4) : this.va.T(t5, 0, n4), this.va.T(t5, 1, this.va.U(i6, 1))), this.Sv && (t5 = this.va.U(i6, 2), s4 = this.va.U(i6, 3), t5 != -1 ? this.va.T(t5, 3, s4) : this.je = s4, s4 != -1 && this.va.T(s4, 2, t5)), this.dv(i6);
  8371. }, i5.prototype.ka = function(t5) {
  8372. return this.ug.U(t5, 0);
  8373. }, i5.prototype.Uj = function(t5, i6) {
  8374. this.ug.T(t5, 0, i6);
  8375. }, i5.prototype.lb = function(t5) {
  8376. return this.ug.U(t5, 1);
  8377. }, i5.prototype.sc = function(t5) {
  8378. return this.va.U(t5, 0);
  8379. }, i5.prototype.Kn = function(t5) {
  8380. return this.ka(this.sc(t5));
  8381. }, i5.prototype.clear = function() {
  8382. this.ug.oj(true), this.va.oj(true), this.je = -1;
  8383. }, i5.prototype.B = function() {
  8384. return this.ug.size == 0;
  8385. }, i5.prototype.NF = function() {
  8386. return this.ug.size;
  8387. }, i5.prototype.lz = function(t5) {
  8388. return this.va.U(t5, 3);
  8389. }, i5;
  8390. }();
  8391. t4.cu = i4;
  8392. }(V || (V = {})), function(t4) {
  8393. t4.ta = function() {
  8394. function i4() {
  8395. }
  8396. return i4.Xd = function(t5, i5, s4) {
  8397. return i5 = i5.zr(), t5 = t5 != null && t5.Yd !== void 0 ? t5.Yd(0) : 0, s4 && (i5 *= 4, t5 *= 1.1), Math.max(t5, i5);
  8398. }, i4.Gr = function(t5) {
  8399. return 2 * Math.sqrt(2) * t5;
  8400. }, i4.lN = function(t5) {
  8401. return Math.sqrt(2) * t5;
  8402. }, i4.mj = function(s4, n4, h2) {
  8403. var r2 = new t4.l();
  8404. return n4.A(r2), i4.Xd(s4, r2, h2);
  8405. }, i4.qE = function(t5, i5, s4) {
  8406. return i5 = i5.Vg(1, 0).zr(), t5 = t5 != null ? t5.Yd(1) : 0, s4 && (i5 *= 4, t5 *= 1.1), Math.max(t5, i5);
  8407. }, i4.ov = function(i5, s4) {
  8408. var n4 = new t4.l();
  8409. return i5.yc(n4), i5 = new t4.l(), s4.yc(i5), n4.$b(i5), n4;
  8410. }, i4.SN = function(i5) {
  8411. var s4 = new t4.l();
  8412. if (i5.yc(s4), s4.B())
  8413. return null;
  8414. var n4 = new t4.fu(s4, 8), h2 = -1, r2 = new t4.l(), e2 = false;
  8415. do {
  8416. for (var o2 = 0, a2 = i5.ea(); o2 < a2; o2++) {
  8417. if (i5.Tj(o2, r2), (h2 = n4.Ez(o2, r2, h2)) == -1) {
  8418. if (e2)
  8419. throw t4.i.ga("internal error");
  8420. i5.Ap(s4, false), e2 = true, n4.reset(s4, 8);
  8421. break;
  8422. }
  8423. e2 = false;
  8424. }
  8425. } while (e2);
  8426. return n4;
  8427. }, i4.hE = function(i5) {
  8428. var s4 = new t4.l();
  8429. i5.yc(s4);
  8430. for (var n4 = new t4.fu(s4, 8), h2 = -1, r2 = i5.Ha(), e2 = new t4.l(), o2 = false; r2.ab(); )
  8431. for (; r2.Ia(); ) {
  8432. var a2 = r2.ia(), u2 = r2.xb();
  8433. if (a2.A(e2), (h2 = n4.Ez(u2, e2, h2)) == -1) {
  8434. if (o2)
  8435. throw t4.i.Ra();
  8436. i5.Ap(s4, false), o2 = true, n4.reset(s4, 8), r2.aj();
  8437. break;
  8438. }
  8439. }
  8440. return n4;
  8441. }, i4.lj = function(i5, s4) {
  8442. var n4 = new t4.l();
  8443. i5.yc(n4);
  8444. for (var h2 = new t4.fu(n4, 8), r2 = -1, e2 = new t4.l(), o2 = i5.Ha(), a2 = false; o2.ab(); )
  8445. for (; o2.Ia(); ) {
  8446. var u2 = o2.ia(), f2 = o2.xb();
  8447. if (u2.A(e2), e2.isIntersecting(s4) && (r2 = h2.Ez(f2, e2, r2)) == -1) {
  8448. if (a2)
  8449. throw t4.i.ga("internal error.");
  8450. i5.Ap(n4, false), a2 = true, h2.reset(n4, 8), o2.aj();
  8451. break;
  8452. }
  8453. }
  8454. return h2;
  8455. }, i4.iE = function(i5, s4) {
  8456. for (var n4 = new t4.fu(s4, 8), h2 = new t4.h(), r2 = false, e2 = new t4.l(), o2 = 0; o2 < i5.I(); o2++)
  8457. if (i5.D(o2, h2), s4.contains(h2) && (e2.L(h2), n4.xj(o2, e2) == -1)) {
  8458. if (r2)
  8459. throw t4.i.Ra();
  8460. r2 = true, o2 = new t4.l(), i5.Ap(o2, false), n4.reset(o2, 8), o2 = -1;
  8461. }
  8462. return n4;
  8463. }, i4.fR = function(i5, s4, n4) {
  8464. var h2 = new t4.l(), r2 = new t4.l();
  8465. i5.yc(h2), s4.yc(r2), h2.X(n4, n4), r2.X(n4, n4);
  8466. var e2 = new t4.l();
  8467. e2.L(h2), e2.Fa(r2), i5 = i5.Ha(), s4 = s4.Ha();
  8468. var o2 = new t4.rC();
  8469. o2.VB(n4);
  8470. var a2 = false;
  8471. for (o2.jK(); i5.ab(); )
  8472. for (; i5.Ia(); )
  8473. i5.ia().A(h2), h2.isIntersecting(e2) && (a2 = true, (n4 = new t4.l()).L(h2), o2.CD(i5.xb(), n4));
  8474. if (o2.cF(), !a2)
  8475. return null;
  8476. for (h2 = false, o2.iK(); s4.ab(); )
  8477. for (; s4.Ia(); )
  8478. s4.ia().A(r2), r2.isIntersecting(e2) && (h2 = true, (n4 = new t4.l()).L(r2), o2.yD(s4.xb(), n4));
  8479. return o2.bF(), h2 ? o2 : null;
  8480. }, i4.gR = function(i5, s4, n4, h2, r2) {
  8481. var e2 = i5.K(), o2 = s4.K(), a2 = new t4.l(), u2 = new t4.l();
  8482. i5.yc(a2), s4.yc(u2), a2.X(n4, n4), u2.X(n4, n4);
  8483. var f2 = new t4.l();
  8484. f2.L(a2), f2.Fa(u2);
  8485. var c2 = new t4.rC();
  8486. c2.VB(n4);
  8487. var l2 = false;
  8488. c2.jK();
  8489. var p2 = 0;
  8490. for (n4 = i5.ea(); p2 < n4; p2++)
  8491. h2 && e2 == 1736 && !i5.Gv(p2) || (i5.Tj(p2, a2), a2.isIntersecting(f2) && (l2 = true, c2.CD(p2, a2)));
  8492. if (c2.cF(), !l2)
  8493. return null;
  8494. for (i5 = false, c2.iK(), h2 = 0, n4 = s4.ea(); h2 < n4; h2++)
  8495. r2 && o2 == 1736 && !s4.Gv(h2) || (s4.Tj(h2, u2), u2.isIntersecting(f2) && (i5 = true, c2.yD(h2, u2)));
  8496. return c2.bF(), i5 ? c2 : null;
  8497. }, i4.Tu = function(i5, s4, n4) {
  8498. if (i5 != s4)
  8499. for (var h2 = 0; h2 < n4; h2++)
  8500. i5[h2] == null ? i5[h2] = t4.h.cl(s4[h2]) : i5[h2].N(s4[h2]);
  8501. }, i4.Ey = function(t5, i5, s4, n4) {
  8502. var h2 = 0;
  8503. for (n4 += 0; h2 < n4; s4++, h2++)
  8504. t5[h2] == null && (t5[h2] = [0, 0]), t5[h2][0] = i5[s4].x, t5[h2][1] = i5[s4].y;
  8505. }, i4.Dy = function(i5, s4, n4, h2) {
  8506. var r2 = s4, e2 = 0;
  8507. for (s4 = h2 + s4; r2 < s4; e2++, r2++)
  8508. i5[r2] == null ? i5[r2] = t4.h.construct(n4[e2][0], n4[e2][1]) : i5[r2].na(n4[e2][0], n4[e2][1]);
  8509. }, i4.eP = function(i5, s4, n4) {
  8510. if (i5 != s4)
  8511. for (var h2 = 0; h2 < n4; h2++)
  8512. i5[h2] == null ? i5[h2] = new t4.Ta(s4[h2]) : s4[h2].copyTo(i5[h2]);
  8513. }, i4.pE = function(t5, i5, s4, n4) {
  8514. var h2 = 0;
  8515. return t5 != null && (h2 = t5.Yd(0), n4 && !s4 || t5 == null || (h2 += 1.01 * t5.pz(0))), s4 && (i5 *= 4, h2 *= 1.01), Math.max(h2, i5);
  8516. }, i4.oy = function(t5, s4, n4) {
  8517. return i4.pE(t5, s4.zr(), n4, false);
  8518. }, i4.aO = function(s4, n4) {
  8519. var h2 = new t4.l();
  8520. return n4.A(h2), i4.oy(s4, h2, true);
  8521. }, i4.py = function(t5, s4) {
  8522. return i4.pE(t5, s4.zr(), false, true);
  8523. }, i4.Ju = function(s4, n4) {
  8524. var h2 = new t4.l();
  8525. return n4.A(h2), i4.py(s4, h2);
  8526. }, i4.uG = function(i5, s4, n4, h2) {
  8527. h2 *= h2;
  8528. var r2 = new t4.h();
  8529. if (r2.vc(i5, s4), (i5 = new t4.h()).vc(n4, s4), s4 = r2.Tk(), n4 = i5.Tk(), s4 <= h2 && n4 <= h2)
  8530. return true;
  8531. var e2 = t4.mc.ox(r2.yi(i5));
  8532. return (e2 <= h2 * s4 || e2 <= h2 * n4) && 0 <= r2.Sh(i5);
  8533. }, i4.YJ = function(i5, s4, n4, h2) {
  8534. for (var r2 = 0; r2 < s4; r2++) {
  8535. var e2 = i5[r2].y, o2 = t4.P.Sk(e2, n4, h2);
  8536. o2 != e2 && (i5[r2].y = o2);
  8537. }
  8538. }, i4;
  8539. }();
  8540. }(V || (V = {})), function(t4) {
  8541. var i4, s4, n4 = function() {
  8542. function t5(t6) {
  8543. this.Za = t6;
  8544. }
  8545. return t5.prototype.compare = function(t6, i5, s5) {
  8546. t6 = t6.ka(s5), s5 = this.Za.pk(i5);
  8547. var n5 = this.Za.pk(t6);
  8548. return s5 < n5 ? -1 : s5 == n5 ? e2.iq(i5) && e2.Iv(t6) ? -1 : e2.iq(t6) && e2.Iv(i5) ? 1 : 0 : 1;
  8549. }, t5;
  8550. }(), h2 = function() {
  8551. function t5(t6) {
  8552. this.Za = t6;
  8553. }
  8554. return t5.prototype.qr = function(t6, i5, s5) {
  8555. this.Za.yX(s5, t6, i5);
  8556. }, t5.prototype.bq = function(t6) {
  8557. return this.Za.pk(t6);
  8558. }, t5;
  8559. }();
  8560. (s4 = i4 || (i4 = {}))[s4.initialize = 0] = "initialize", s4[s4.pIn = 1] = "pIn", s4[s4.pL = 2] = "pL", s4[s4.pR = 3] = "pR", s4[s4.pT = 4] = "pT", s4[s4.right = 5] = "right", s4[s4.left = 6] = "left", s4[s4.all = 7] = "all";
  8561. var r2 = function() {
  8562. function i5() {
  8563. this.Za = null, this.Si = new t4.Oc(), this.ji = new t4.ja(0), this.sg = [0, 0];
  8564. }
  8565. return i5.prototype.Zi = function(t5, i6) {
  8566. this.Si.pa = t5.pa - i6, this.Si.wa = t5.wa + i6, this.ji.resize(0), this.he = 0, this.sg[0] = 0;
  8567. }, i5.prototype.yB = function(i6, s5, n5) {
  8568. if (i6 > s5)
  8569. throw t4.i.O();
  8570. this.Si.pa = i6 - n5, this.Si.wa = s5 + n5, this.ji.resize(0), this.he = 0, this.sg[0] = 0;
  8571. }, i5.prototype.Vo = function(t5, i6) {
  8572. this.Si.pa = t5 - i6, this.Si.wa = t5 + i6, this.ji.resize(0), this.he = 0, this.sg[0] = 0;
  8573. }, i5.prototype.next = function() {
  8574. if (!this.Za.nq)
  8575. throw t4.i.Hb();
  8576. if (0 > this.he)
  8577. return -1;
  8578. for (var i6 = true; i6; )
  8579. switch (this.sg[this.he]) {
  8580. case 1:
  8581. i6 = this.xU();
  8582. break;
  8583. case 2:
  8584. i6 = this.yU();
  8585. break;
  8586. case 3:
  8587. i6 = this.zU();
  8588. break;
  8589. case 4:
  8590. i6 = this.AU();
  8591. break;
  8592. case 5:
  8593. i6 = this.xW();
  8594. break;
  8595. case 6:
  8596. i6 = this.cT();
  8597. break;
  8598. case 7:
  8599. i6 = this.nN();
  8600. break;
  8601. case 0:
  8602. i6 = this.Bz();
  8603. break;
  8604. default:
  8605. throw t4.i.Ra();
  8606. }
  8607. return this.Qg != -1 ? this.Op() >> 1 : -1;
  8608. }, i5.construct = function(t5) {
  8609. var s5 = new i5();
  8610. return s5.Za = t5, s5.ji.Jb(20), s5.he = -1, s5;
  8611. }, i5.prototype.Bz = function() {
  8612. return this.Qg = this.pH = this.Oi = this.Mc = -1, this.Za.me != null && 0 < this.Za.me.size ? (this.sg[0] = 1, this.Oi = this.Za.kf, true) : (this.he = -1, false);
  8613. }, i5.prototype.xU = function() {
  8614. if (this.Mc = this.Oi, this.Mc == -1)
  8615. return this.Qg = this.he = -1, false;
  8616. var t5 = this.Za.Pp(this.Mc);
  8617. return this.Si.wa < t5 ? (t5 = this.Za.nk(this.Mc), this.Oi = this.Za.sj(this.Mc), t5 != -1 && (this.gi = this.Za.ml(t5), this.sg[++this.he] = 6), true) : t5 < this.Si.pa ? (t5 = this.Za.nk(this.Mc), this.Oi = this.Za.mk(this.Mc), t5 != -1 && (this.gi = this.Za.bs(t5), this.sg[++this.he] = 5), true) : (this.sg[this.he] = 2, this.pH = this.Mc, t5 = this.Za.nk(this.Mc), this.Oi = this.Za.sj(this.Mc), t5 != -1 && (this.gi = this.Za.ml(t5), this.sg[++this.he] = 7), true);
  8618. }, i5.prototype.yU = function() {
  8619. if (this.Mc = this.Oi, this.Mc == -1)
  8620. return this.sg[this.he] = 3, this.Oi = this.Za.mk(this.pH), true;
  8621. if (this.Za.Pp(this.Mc) < this.Si.pa) {
  8622. var t5 = this.Za.nk(this.Mc);
  8623. return this.Oi = this.Za.mk(this.Mc), t5 != -1 && (this.gi = this.Za.bs(t5), this.sg[++this.he] = 5), true;
  8624. }
  8625. return t5 = this.Za.nk(this.Mc), this.Oi = this.Za.sj(this.Mc), t5 != -1 && (this.gi = this.Za.ml(t5), this.sg[++this.he] = 7), (t5 = this.Za.mk(this.Mc)) != -1 && this.ji.add(t5), true;
  8626. }, i5.prototype.zU = function() {
  8627. if (this.Mc = this.Oi, this.Mc == -1)
  8628. return this.sg[this.he] = 4, true;
  8629. if (this.Si.wa < this.Za.Pp(this.Mc)) {
  8630. var t5 = this.Za.nk(this.Mc);
  8631. return this.Oi = this.Za.sj(this.Mc), t5 != -1 && (this.gi = this.Za.ml(t5), this.sg[++this.he] = 6), true;
  8632. }
  8633. return t5 = this.Za.nk(this.Mc), this.Oi = this.Za.mk(this.Mc), t5 != -1 && (this.gi = this.Za.ml(t5), this.sg[++this.he] = 7), (t5 = this.Za.sj(this.Mc)) != -1 && this.ji.add(t5), true;
  8634. }, i5.prototype.AU = function() {
  8635. if (this.ji.size == 0)
  8636. return this.Qg = this.he = -1, false;
  8637. this.Mc = this.ji.get(this.ji.size - 1), this.ji.resize(this.ji.size - 1);
  8638. var t5 = this.Za.nk(this.Mc);
  8639. return t5 != -1 && (this.gi = this.Za.ml(t5), this.sg[++this.he] = 7), this.Za.sj(this.Mc) != -1 && this.ji.add(this.Za.sj(this.Mc)), this.Za.mk(this.Mc) != -1 && this.ji.add(this.Za.mk(this.Mc)), true;
  8640. }, i5.prototype.cT = function() {
  8641. return this.Qg = this.gi, this.Qg != -1 && e2.iq(this.Op()) && this.Za.pk(this.Op()) <= this.Si.wa ? (this.gi = this.MF(), false) : (this.he--, true);
  8642. }, i5.prototype.xW = function() {
  8643. return this.Qg = this.gi, this.Qg != -1 && e2.Iv(this.Op()) && this.Za.pk(this.Op()) >= this.Si.pa ? (this.gi = this.JR(), false) : (this.he--, true);
  8644. }, i5.prototype.nN = function() {
  8645. return this.Qg = this.gi, this.Qg != -1 && e2.iq(this.Op()) ? (this.gi = this.MF(), false) : (this.he--, true);
  8646. }, i5.prototype.MF = function() {
  8647. return this.Za.Tf ? this.Za.ag.lb(this.Qg) : this.Za.Vi.lb(this.Qg);
  8648. }, i5.prototype.JR = function() {
  8649. return this.Za.Tf ? this.Za.ag.xe(this.Qg) : this.Za.Vi.xe(this.Qg);
  8650. }, i5.prototype.Op = function() {
  8651. return this.Za.Tf ? this.Za.ag.ka(this.Qg) : this.Za.Vi.getData(this.Qg);
  8652. }, i5;
  8653. }();
  8654. t4.wY = r2;
  8655. var e2 = function() {
  8656. function i5(t5) {
  8657. this.Cm = this.bi = this.ag = this.Vi = this.Mm = this.Gj = this.me = this.Hj = null, this.Tf = t5, this.nq = this.Uv = false;
  8658. }
  8659. return i5.prototype.mr = function() {
  8660. this.Ok(true);
  8661. }, i5.prototype.Dr = function(i6, s5) {
  8662. if (!this.Uv)
  8663. throw t4.i.Hb();
  8664. this.Hj.push(new t4.Oc(i6, s5));
  8665. }, i5.prototype.Hp = function() {
  8666. if (!this.Uv)
  8667. throw t4.i.ga("invalid call");
  8668. this.Uv = false, this.nq = true, this.Tf || (this.oS(), this.aw = this.Hj.length);
  8669. }, i5.prototype.xj = function(i6) {
  8670. if (!this.Tf || !this.nq)
  8671. throw t4.i.O("invalid call");
  8672. if (this.kf == -1) {
  8673. var s5 = this.Hj.length;
  8674. if (this.dA) {
  8675. var n5 = new t4.ja(0);
  8676. n5.Jb(2 * s5), this.WI(n5), this.bi.Jb(2 * s5), this.bi.resize(0), this.VI(n5), this.Mm.resize(s5, -1), this.Mm.Yj(-1, 0, s5), this.dA = false;
  8677. } else
  8678. this.Mm.Yj(-1, 0, s5);
  8679. this.kf = this.Vu();
  8680. }
  8681. s5 = this.jG(i6 << 1, this.kf), n5 = this.ag.addElement(1 + (i6 << 1), this.rz(s5)), this.PJ(s5, n5), this.Mm.set(i6, s5), this.aw++;
  8682. }, i5.prototype.remove = function(i6) {
  8683. if (!this.Tf || !this.nq)
  8684. throw t4.i.ga("invalid call");
  8685. var s5 = this.Mm.get(i6);
  8686. if (s5 == -1)
  8687. throw t4.i.O("the interval does not exist in the interval tree");
  8688. this.Mm.set(i6, -1), this.aw--;
  8689. var n5 = this.rz(s5), h3 = this.ag.SR(n5);
  8690. this.ag.wd(this.qR(s5), n5), this.ag.wd(this.MR(s5), n5), (i6 = this.ag.size(n5)) == 0 && (this.ag.GP(n5), this.TJ(h3, -1)), this.Gj.kd(s5), n5 = this.OF(h3);
  8691. var r3 = this.sj(h3), e3 = this.mk(h3);
  8692. for (s5 = 0; !(0 < i6 || h3 == this.kf || r3 != -1 && e3 != -1); )
  8693. h3 == this.sj(n5) ? r3 != -1 ? (this.Pk(n5, r3), this.Wj(r3, n5), this.Pk(h3, -1)) : e3 != -1 ? (this.Pk(n5, e3), this.Wj(e3, n5), this.Rk(h3, -1)) : this.Pk(n5, -1) : r3 != -1 ? (this.Rk(n5, r3), this.Wj(r3, n5), this.Pk(h3, -1)) : e3 != -1 ? (this.Rk(n5, e3), this.Wj(e3, n5), this.Rk(h3, -1)) : this.Rk(n5, -1), this.Wj(h3, -1), s5++, h3 = n5, i6 = (n5 = this.nk(h3)) != -1 ? this.ag.size(n5) : 0, r3 = this.sj(h3), e3 = this.mk(h3), n5 = this.OF(h3);
  8694. }, i5.prototype.reset = function() {
  8695. if (!this.Tf || !this.nq)
  8696. throw t4.i.O("invalid call");
  8697. this.Ok(false);
  8698. }, i5.prototype.size = function() {
  8699. return this.aw;
  8700. }, i5.prototype.getIterator = function() {
  8701. return r2.construct(this);
  8702. }, i5.prototype.WI = function(t5) {
  8703. for (var i6 = this.Hj.length, s5 = 0; s5 < 2 * i6; s5++)
  8704. t5.add(s5);
  8705. this.zX(t5, 2 * i6);
  8706. }, i5.prototype.VI = function(t5) {
  8707. for (var i6 = NaN, s5 = 0; s5 < t5.size; s5++) {
  8708. var n5 = t5.get(s5), h3 = this.pk(n5);
  8709. h3 != i6 && (this.bi.add(n5), i6 = h3);
  8710. }
  8711. }, i5.prototype.oS = function() {
  8712. var i6 = this.Hj.length, s5 = new t4.ja(0);
  8713. s5.Jb(2 * i6), this.WI(s5), this.bi.Jb(2 * i6), this.bi.resize(0), this.VI(s5), this.Gj.Ee(i6), this.Vi.hn(2 * i6);
  8714. var n5 = t4.Zc.Qh(i6);
  8715. for (n5.Yj(-1, 0, i6), this.kf = this.Vu(), i6 = 0; i6 < s5.size; i6++) {
  8716. var h3 = s5.get(i6), r3 = n5.get(h3 >> 1);
  8717. r3 != -1 ? this.PJ(r3, this.Vi.addElement(this.rz(r3), h3)) : (r3 = this.jG(h3, this.kf), n5.set(h3 >> 1, r3));
  8718. }
  8719. }, i5.prototype.jG = function(i6, s5) {
  8720. var n5 = s5, h3 = s5, r3 = -1, e3 = 0, o2 = this.bi.size - 1, a2 = 0, u2 = i6 >> 1, f2 = NaN, c2 = NaN, l2 = true, p2 = this.xR(u2);
  8721. for (u2 = this.uR(u2); l2; ) {
  8722. e3 < o2 ? (a2 = e3 + t4.P.truncate((o2 - e3) / 2), this.bz(n5) == -1 && this.zJ(n5, this.bi.get(a2), this.bi.get(a2 + 1))) : this.bz(n5) == -1 && this.zJ(n5, this.bi.get(e3), this.bi.get(e3));
  8723. var v2 = this.Pp(n5);
  8724. if (u2 < v2)
  8725. s5 != -1 && (s5 == n5 ? (h3 = n5, f2 = v2, c2 = (s5 = this.sj(n5)) != -1 ? this.Pp(s5) : NaN) : c2 > v2 && (v2 < f2 ? this.Pk(h3, n5) : this.Rk(h3, n5), this.Rk(n5, s5), this.Tf && (this.Wj(n5, h3), this.Wj(s5, n5)), h3 = n5, f2 = v2, s5 = -1, c2 = NaN)), (o2 = this.rR(n5)) == -1 && (o2 = this.Vu(), this.VW(n5, o2)), n5 = o2, o2 = a2;
  8726. else if (p2 > v2)
  8727. s5 != -1 && (s5 == n5 ? (h3 = n5, f2 = v2, c2 = (s5 = this.mk(n5)) != -1 ? this.Pp(s5) : NaN) : c2 < v2 && (v2 < f2 ? this.Pk(h3, n5) : this.Rk(h3, n5), this.Pk(n5, s5), this.Tf && (this.Wj(n5, h3), this.Wj(s5, n5)), h3 = n5, f2 = v2, s5 = -1, c2 = NaN)), (e3 = this.NR(n5)) == -1 && (e3 = this.Vu(), this.fX(n5, e3)), n5 = e3, e3 = a2 + 1;
  8728. else {
  8729. (l2 = this.nk(n5)) == -1 && (l2 = this.tP(n5), this.TJ(n5, l2));
  8730. var y2 = this.$M(l2, i6);
  8731. r3 = this.rP(), this.iX(r3, l2), this.UW(r3, y2), n5 != s5 && (v2 < f2 ? this.Pk(h3, n5) : this.Rk(h3, n5), this.Tf && this.Wj(n5, h3), s5 != -1 && (c2 < v2 ? this.Pk(n5, s5) : this.Rk(n5, s5), this.Tf && this.Wj(s5, n5))), l2 = false;
  8732. }
  8733. }
  8734. return r3;
  8735. }, i5.prototype.Vu = function() {
  8736. return this.me.De();
  8737. }, i5.prototype.tP = function(t5) {
  8738. return this.Tf ? this.ag.Rr(t5) : this.Vi.Rh(t5);
  8739. }, i5.prototype.rP = function() {
  8740. return this.Gj.De();
  8741. }, i5.prototype.Ok = function(i6) {
  8742. i6 ? (this.Uv = this.dA = true, this.nq = false, this.bi == null ? this.bi = t4.Zc.Qh(0) : this.bi.resize(0), this.Hj == null ? this.Hj = [] : this.Hj.length = 0) : this.dA = false, this.Tf ? this.Mm == null ? (this.Mm = t4.Zc.Qh(0), this.ag = new t4.Zj(), this.ag.Wo(new n4(this))) : this.ag.clear() : this.Vi == null ? this.Vi = new t4.kp() : this.Vi.clear(), this.me == null ? (this.Gj = new t4.ad(3), this.me = new t4.ad(this.Tf ? 8 : 7)) : (this.Gj.oj(false), this.me.oj(false)), this.kf = -1, this.aw = 0;
  8743. }, i5.prototype.zJ = function(t5, i6, s5) {
  8744. this.OW(t5, i6), this.PW(t5, s5);
  8745. }, i5.prototype.Pp = function(t5) {
  8746. var i6 = this.bz(t5);
  8747. return i6 == -1 ? NaN : (i6 = this.pk(i6)) == (t5 = this.pk(this.aR(t5))) ? i6 : 0.5 * (i6 + t5);
  8748. }, i5.prototype.OW = function(t5, i6) {
  8749. this.me.T(t5, 0, i6);
  8750. }, i5.prototype.PW = function(t5, i6) {
  8751. this.me.T(t5, 1, i6);
  8752. }, i5.prototype.VW = function(t5, i6) {
  8753. this.me.T(t5, 3, i6);
  8754. }, i5.prototype.fX = function(t5, i6) {
  8755. this.me.T(t5, 4, i6);
  8756. }, i5.prototype.TJ = function(t5, i6) {
  8757. this.me.T(t5, 2, i6);
  8758. }, i5.prototype.Pk = function(t5, i6) {
  8759. this.me.T(t5, 5, i6);
  8760. }, i5.prototype.Rk = function(t5, i6) {
  8761. this.me.T(t5, 6, i6);
  8762. }, i5.prototype.Wj = function(t5, i6) {
  8763. this.me.T(t5, 7, i6);
  8764. }, i5.prototype.iX = function(t5, i6) {
  8765. this.Gj.T(t5, 0, i6);
  8766. }, i5.prototype.$M = function(t5, i6) {
  8767. return this.Tf ? this.ag.addElement(i6, t5) : this.Vi.addElement(t5, i6);
  8768. }, i5.prototype.UW = function(t5, i6) {
  8769. this.Gj.T(t5, 1, i6);
  8770. }, i5.prototype.PJ = function(t5, i6) {
  8771. this.Gj.T(t5, 2, i6);
  8772. }, i5.prototype.ml = function(t5) {
  8773. return this.Tf ? this.ag.sc(t5) : this.Vi.sc(t5);
  8774. }, i5.prototype.bs = function(t5) {
  8775. return this.Tf ? this.ag.Gc(t5) : this.Vi.Gc(t5);
  8776. }, i5.iq = function(t5) {
  8777. return (1 & t5) == 0;
  8778. }, i5.Iv = function(t5) {
  8779. return (1 & t5) == 1;
  8780. }, i5.prototype.bz = function(t5) {
  8781. return this.me.U(t5, 0);
  8782. }, i5.prototype.aR = function(t5) {
  8783. return this.me.U(t5, 1);
  8784. }, i5.prototype.nk = function(t5) {
  8785. return this.me.U(t5, 2);
  8786. }, i5.prototype.rR = function(t5) {
  8787. return this.me.U(t5, 3);
  8788. }, i5.prototype.NR = function(t5) {
  8789. return this.me.U(t5, 4);
  8790. }, i5.prototype.sj = function(t5) {
  8791. return this.me.U(t5, 5);
  8792. }, i5.prototype.mk = function(t5) {
  8793. return this.me.U(t5, 6);
  8794. }, i5.prototype.OF = function(t5) {
  8795. return this.me.U(t5, 7);
  8796. }, i5.prototype.rz = function(t5) {
  8797. return this.Gj.U(t5, 0);
  8798. }, i5.prototype.qR = function(t5) {
  8799. return this.Gj.U(t5, 1);
  8800. }, i5.prototype.MR = function(t5) {
  8801. return this.Gj.U(t5, 2);
  8802. }, i5.prototype.xR = function(t5) {
  8803. return this.Hj[t5].pa;
  8804. }, i5.prototype.uR = function(t5) {
  8805. return this.Hj[t5].wa;
  8806. }, i5.prototype.zX = function(i6, s5) {
  8807. this.Cm == null && (this.Cm = new t4.Zt());
  8808. var n5 = new h2(this);
  8809. this.Cm.sort(i6, 0, s5, n5);
  8810. }, i5.prototype.yX = function(t5, s5, n5) {
  8811. var h3 = this;
  8812. t5.Wd(s5, n5, function(t6, s6) {
  8813. var n6 = h3.pk(t6), r3 = h3.pk(s6);
  8814. return n6 < r3 || n6 == r3 && i5.iq(t6) && i5.Iv(s6) ? -1 : 1;
  8815. });
  8816. }, i5.prototype.pk = function(t5) {
  8817. var s5 = this.Hj[t5 >> 1];
  8818. return i5.iq(t5) ? s5.pa : s5.wa;
  8819. }, i5;
  8820. }();
  8821. t4.ur = e2;
  8822. }(V || (V = {})), function(t4) {
  8823. var i4 = function() {
  8824. function i5(i6) {
  8825. if (i6 == null)
  8826. throw t4.i.ga("Invalid arguement");
  8827. this.hf = i6;
  8828. var s4 = i6.hR();
  8829. s4.aS() ? i6.ef.CG() ? this.mo = t4.ui.PannableFold : this.mo = t4.ui.Clip : this.mo = t4.ui.DontClip, s4.bS() ? i6.Zf.CG() ? this.Sm = t4.ui.PannableFold : this.Sm = t4.ui.Clip : this.Sm = t4.ui.DontClip, this.Dm = s4.Lr, this.gH = s4.Xu, i6 = this.hf.mH, this.VG = i6.ks(2147483648), this.Wv = i6.ks(1073741824);
  8830. }
  8831. return i5.Bh = function(t5, i6, s4) {
  8832. return i6.yw.Bh(t5, s4);
  8833. }, i5.Tt = function(t5, i6, s4, n4) {
  8834. return t5.yw.Tt(i6, s4, n4);
  8835. }, i5.St = function(t5, i6, s4, n4) {
  8836. if (s4 = 0 > s4 ? i6.length : s4, (t5 = t5.yw.Tt(i6, s4, n4)) == s4)
  8837. return t5;
  8838. for (var h2 = i6 = 0; h2 < s4; h2++) {
  8839. var r2 = n4[h2];
  8840. r2.isNaN() || (i6 < h2 && n4[i6].N(r2), i6++);
  8841. }
  8842. for (; i6 < s4; i6++)
  8843. n4[i6].Sc();
  8844. return t5;
  8845. }, i5.transform = function(s4, n4, h2, r2, e2) {
  8846. if (s4.isIdentity())
  8847. return t4.ta.eP(r2, n4, h2), h2;
  8848. for (var o2 = [], a2 = 0, u2 = 0; u2 < h2; ) {
  8849. for (var f2 = Math.min(o2.length, h2 - u2), c2 = u2, l2 = 0; c2 < f2; c2++, l2++)
  8850. o2[l2] == null ? o2[l2] = n4[c2].D() : n4[c2].D(o2[l2]);
  8851. var p2 = e2 ? i5.St(s4, o2, f2, o2) : i5.Tt(s4, o2, f2, o2);
  8852. for (l2 = c2 = 0; c2 < p2; c2++, l2++)
  8853. r2[u2] == null && (r2[u2] = new t4.Ta(n4[u2])), r2[u2].Db(o2[l2]);
  8854. u2 += f2, a2 += p2;
  8855. }
  8856. return a2;
  8857. }, i5.prototype.Tt = function(i6, s4, n4) {
  8858. if (this.hf.isIdentity())
  8859. return i6 != n4 && t4.ta.Tu(n4, i6, s4), s4;
  8860. var h2 = this.hf.ef, r2 = this.hf.Zf, e2 = h2.Tb(), o2 = r2.Tb();
  8861. if (e2 == 0 && e2 === o2) {
  8862. var a2 = h2.Sp();
  8863. return r2 = a2 / (r2 = r2.Sp()), (a2 = new t4.Ed()).Jt(r2, r2), a2.XX(i6, s4, n4), s4;
  8864. }
  8865. if (a2 = t4.P.Hu(Math.min(s4, 64)), e2 == 3) {
  8866. var u2 = h2.Li;
  8867. e2 = (h2 = u2.gk()).Tb(), n4 != i6 && t4.ta.Tu(n4, i6, s4), t4.Ab.bl(u2, n4, s4, true), u2.St(t4.dm.forward, n4, s4), t4.Ab.al(u2, n4, s4, true);
  8868. }
  8869. if (e2 == 3 || o2 === 3)
  8870. throw t4.i.ga("image: transform_in_place_");
  8871. if (e2 == 2)
  8872. this.mo == t4.ui.Clip ? (n4 != i6 && t4.ta.Tu(n4, i6, s4), i6 = h2.ol(), t4.Ab.HS(i6, h2, n4, s4)) : (n4 != i6 && t4.ta.Tu(n4, i6, s4), h2.Xc() && (e2 = h2.Yd(0), u2 = h2.Le(), t4.Ab.wX(n4, s4, u2, e2), t4.Ab.kF(n4, s4, h2, 0))), t4.Ab.CL(h2, n4, s4, a2);
  8873. else
  8874. for (e2 = h2.Yd(0), u2 = h2.Le(), h2 = 0; h2 < s4; h2++)
  8875. t4.Ab.xX(i6[h2], u2, e2, n4[h2]);
  8876. for (t4.Ab.AL(this.hf, n4, s4, a2), i6 = 0, (o2 = o2 == 2) ? i6 = r2.Bi() : isNaN(this.Dm) || (i6 = this.Dm), o2 && this.Sm != t4.ui.Clip || t4.Ab.kF(n4, s4, r2.tc(), i6), o2 && (t4.Ab.sG(n4, s4, r2, this.Sm), t4.Ab.BL(r2, n4, s4, a2)), i6 = s4, h2 = 0; h2 < s4; ++h2)
  8877. n4[h2].isNaN() && i6--;
  8878. return i6;
  8879. }, i5.prototype.Bh = function(i6, s4) {
  8880. if (this.hf.isIdentity() || i6.B())
  8881. return i6;
  8882. if (i6.K() == 33)
  8883. return this.RI(i6);
  8884. var n4 = this.hf.ef, h2 = this.hf.Zf, r2 = n4.Tb(), e2 = h2.Tb();
  8885. if (r2 == 0 && r2 == e2)
  8886. return s4 = n4.Sp(), s4 /= h2 = h2.Sp(), (h2 = new t4.Ed()).Jt(s4, s4), (i6 = t4.ba.ig(i6)).Pc(h2), i6;
  8887. switch (i6.K()) {
  8888. case 1607:
  8889. case 1736:
  8890. i6 = this.OI(i6, s4);
  8891. break;
  8892. case 550:
  8893. i6 = this.YV(i6, s4);
  8894. break;
  8895. case 197:
  8896. i6 = this.XV(i6, s4);
  8897. break;
  8898. default:
  8899. throw t4.i.ga("");
  8900. }
  8901. return i6;
  8902. }, i5.prototype.RI = function(i6) {
  8903. var s4 = i6.D(), n4 = [];
  8904. return n4[0] = s4, this.Tt(n4, 1, n4), (i6 = new t4.Ta(i6)).Db(n4[0]), i6;
  8905. }, i5.prototype.OI = function(i6, s4) {
  8906. if (i6.vm())
  8907. throw t4.i.ga("curves not supported");
  8908. var n4 = i6.K();
  8909. if (n4 == 1736)
  8910. return this.ZV(i6, s4);
  8911. if (n4 == 1607)
  8912. return this.$V(i6, s4);
  8913. throw t4.i.ga("projectMultiPath");
  8914. }, i5.prototype.ZV = function(s4, n4) {
  8915. var h2 = this.hf.ef, r2 = this.hf.Zf, e2 = h2.Tb(), o2 = r2.Tb(), a2 = t4.P.Hu(Math.min(s4.I(), 64)), u2 = t4.Ea.ig(s4);
  8916. e2 == 3 && (e2 = (h2 = (s4 = h2.Li).gk()).Tb(), u2 = s4.bl(u2, true), this.yp(s4, t4.dm.forward, u2), u2 = s4.al(u2, true)), s4 = null, o2 == 3 && (o2 = (r2 = (s4 = r2.Li).gk()).Tb());
  8917. var f2 = e2 == 2, c2 = o2 == 2, l2 = c2 ? r2.tc() : r2, p2 = !c2 && !this.Wv;
  8918. o2 = false;
  8919. var v2 = u2;
  8920. if (f2) {
  8921. if ((v2 = t4.Ab.NI(v2, h2, this.mo, n4)).B())
  8922. return v2;
  8923. } else {
  8924. if (u2 = new t4.l(), v2.yc(u2), e2 = h2.Le(), u2.G < e2.G || u2.H > e2.H) {
  8925. var y2 = t4.l.construct(u2.v - 1, e2.G, u2.C + 1, e2.H);
  8926. if ((v2 = t4.ti.Pu(v2, y2, h2, NaN, 0, n4)).B())
  8927. return v2;
  8928. }
  8929. u2.S() > 2 * e2.S() && (v2 = t4.Ab.Jp(v2, -2 * e2.S(), 2 * e2.S(), h2, true, 0, true, n4));
  8930. }
  8931. u2 = this.gH, (e2 = !isNaN(u2)) && (v2 = t4.Zl.local().W(v2, u2, n4)), y2 = c2 ? r2.lk() : null;
  8932. var b2 = NaN;
  8933. f2 && (b2 = h2.Bi());
  8934. var d2 = r2.Yr() != null;
  8935. if (this.VG)
  8936. f2 && (t4.Ab.wr(h2, b2, v2, a2), e2 && (f2 = h2.jh(), u2 *= (b2 = h2.tc().jh()) / f2)), t4.Ab.vr(this.hf, v2, p2, a2), e2 && (f2 = h2.tc().jh(), u2 *= (b2 = r2.tc().jh()) / f2), h2 = v2;
  8937. else {
  8938. var g2 = new t4.Ua(v2.description);
  8939. g2.xD(v2), f2 && (t4.Ab.wr(h2, b2, g2, a2), e2 && (f2 = h2.jh(), u2 *= (b2 = h2.tc().jh()) / f2)), t4.Ab.vr(this.hf, g2, p2, a2), e2 && (f2 = h2.tc().rm(), u2 *= (b2 = r2.tc().rm()) / f2), p2 = NaN, c2 ? (y2 = r2.lk(), p2 = r2.Bi()) : isNaN(this.Dm) || (p2 = this.Dm), f2 = i5.vv(h2) | i5.vv(r2), b2 = 10 * l2.Yd(0), this.Wv && (f2 = 3, b2 = 0), h2 = t4.Ab.OQ(v2, h2, g2, l2, p2, n4, f2, b2);
  8940. }
  8941. return d2 && (h2 = t4.Ab.RD(h2, r2, n4)), c2 && (o2 || (c2 = l2.Le().S(), h2.Vg(0, 0).S() >= c2 - l2.Yd(0) && (l2 = y2.getNorthPoleLocation(), c2 = y2.getSouthPoleLocation(), v2 = y2.getNorthPoleGeometry(), y2 = y2.getSouthPoleGeometry(), p2 = 0, v2 == t4.Eg.PE_POLE_POINT && l2 != t4.Eg.PE_POLE_OUTSIDE_BOUNDARY && (p2 = 1), y2 == t4.Eg.PE_POLE_POINT && c2 != t4.Eg.PE_POLE_OUTSIDE_BOUNDARY && (p2 |= 2), p2 !== 0 && (o2 = true))), h2 = t4.Ab.Hz(h2, r2, this.Sm, n4), e2 && (h2 = t4.Zl.local().W(h2, u2, n4)), t4.Ab.Kx(r2, h2, a2)), h2.B() || (o2 && (h2 = t4.$l.local().W(h2, r2, false, n4)), s4 != null && (h2 = s4.al(h2, false), this.yp(s4, t4.dm.reverse, h2), h2 = s4.bl(h2, false))), h2;
  8942. }, i5.vv = function(i6) {
  8943. if (i6.Tb() != 2)
  8944. return 0;
  8945. var s4 = 0, n4 = i6.lk();
  8946. i6 = n4.getNorthPoleLocation();
  8947. var h2 = n4.getSouthPoleLocation(), r2 = n4.getNorthPoleGeometry();
  8948. return n4 = n4.getSouthPoleGeometry(), r2 == t4.Eg.PE_POLE_POINT && i6 != t4.Eg.PE_POLE_OUTSIDE_BOUNDARY && (s4 = 1), n4 == t4.Eg.PE_POLE_POINT && h2 != t4.Eg.PE_POLE_OUTSIDE_BOUNDARY && (s4 |= 2), s4;
  8949. }, i5.prototype.$V = function(s4, n4) {
  8950. var h2 = this.hf.ef, r2 = this.hf.Zf, e2 = h2.Tb(), o2 = r2.Tb(), a2 = t4.P.Hu(Math.min(s4.I(), 64)), u2 = t4.Ua.ig(s4);
  8951. e2 == 3 && (e2 = (h2 = (s4 = h2.Li).gk()).Tb(), u2 = s4.bl(u2, true), this.yp(s4, t4.dm.forward, u2), u2 = s4.al(u2, true)), s4 = null, o2 == 3 && (o2 = (r2 = (s4 = r2.Li).gk()).Tb());
  8952. var f2 = e2 == 2;
  8953. e2 = (o2 = o2 == 2) ? r2.tc() : r2;
  8954. var c2 = !o2 && !this.Wv;
  8955. if (f2) {
  8956. if ((u2 = t4.Ab.NI(u2, h2, this.mo, n4)).B())
  8957. return u2;
  8958. } else {
  8959. var l2 = new t4.l();
  8960. u2.yc(l2);
  8961. var p2 = h2.Le();
  8962. if ((l2.G < p2.G || l2.H > p2.H) && (l2 = t4.l.construct(l2.v - 1, p2.G, l2.C + 1, p2.H), (u2 = t4.ti.Pu(u2, l2, h2, NaN, 0, n4)).B()))
  8963. return u2;
  8964. }
  8965. var v2 = NaN;
  8966. f2 && (v2 = h2.Bi()), l2 = r2.Yr() != null, p2 = this.gH;
  8967. var y2 = !isNaN(p2);
  8968. if (y2 && (u2 = t4.Zl.local().W(u2, p2, n4)), this.VG)
  8969. f2 && t4.Ab.wr(h2, v2, u2, a2), y2 && (f2 = h2.jh(), p2 *= (v2 = h2.tc().jh()) / f2), t4.Ab.vr(this.hf, u2, c2, a2), y2 && (f2 = h2.tc().jh(), p2 *= (v2 = r2.tc().jh()) / f2), h2 = u2;
  8970. else {
  8971. var b2 = new t4.Ua(u2.description);
  8972. b2.xD(u2), f2 && (t4.Ab.wr(h2, v2, b2, a2), y2 && (f2 = h2.jh(), p2 *= (v2 = h2.tc().jh()) / f2)), t4.Ab.vr(this.hf, b2, c2, a2), y2 && (f2 = h2.tc().jh(), p2 *= (v2 = r2.tc().jh()) / f2), c2 = NaN, o2 ? c2 = r2.Bi() : isNaN(this.Dm) || (c2 = this.Dm), f2 = i5.vv(h2) | i5.vv(r2), v2 = 10 * e2.Yd(0), this.Wv && (f2 = 3, v2 = 0), h2 = t4.Ab.PQ(u2, h2, b2, e2, c2, n4, f2, v2);
  8973. }
  8974. return l2 && (h2 = t4.Ab.RD(h2, r2, n4)), o2 && (h2 = t4.Ab.Hz(h2, r2, this.Sm, n4), y2 && (h2 = t4.Zl.local().W(h2, p2, n4)), t4.Ab.Kx(r2, h2, a2)), h2.B() || s4 != null && (h2 = s4.al(h2, false), this.yp(s4, t4.dm.reverse, h2), h2 = s4.bl(h2, false)), h2;
  8975. }, i5.prototype.XV = function(i6, s4) {
  8976. var n4 = (i6.da() + i6.S()) / 400;
  8977. return n4 != 0 ? (n4 = t4.Zl.local().W(i6, n4, s4), n4 = this.OI(n4, s4), s4 = i6.Ja(), n4.dn(s4)) : (s4 = new t4.Ta(i6.Kp()), n4 = this.RI(s4), s4 = i6.Ja(), n4.B() ? s4.Pa() : (i6.copyTo(s4), i6 = n4.D(), s4.L(i6.x, i6.y, i6.x, i6.y))), s4;
  8978. }, i5.prototype.YV = function(i6, s4) {
  8979. i6 = t4.ba.ig(i6);
  8980. var n4 = this.hf.ef, h2 = this.hf.Zf, r2 = n4.Tb(), e2 = h2.Tb(), o2 = t4.P.Hu(Math.min(i6.I(), 64));
  8981. if (r2 == 3) {
  8982. var a2 = n4.Li;
  8983. r2 = (n4 = a2.gk()).Tb(), i6 = a2.al(i6, true), this.yp(a2, t4.dm.forward, i6), i6 = a2.bl(i6, true);
  8984. }
  8985. if (r2 == 2) {
  8986. if (this.mo == t4.ui.Clip ? i6 = t4.Xk.local().W(i6, n4.ol(), n4, s4) : n4.Xc() && (r2 = new t4.l(), i6.yc(r2), n4.Le().contains(r2) || (this.mo == t4.ui.PannableFold && (i6 = t4.Ab.nj(i6, n4)), t4.Ab.Lt(i6, n4.Le(), n4.Yd(0), true), i6 = t4.Ab.Gn(i6, n4, 0, true, 0, s4))), i6.B())
  8987. return i6;
  8988. t4.Ab.wr(n4, 0, i6, o2);
  8989. } else
  8990. t4.Ab.Lt(i6, n4.Le(), n4.Yd(0), true);
  8991. return t4.Ab.vr(this.hf, i6, false, o2), n4 = 0, r2 = false, a2 = null, e2 == 3 && (r2 = true, e2 = (h2 = (a2 = h2.Li).gk()).Tb()), (e2 = e2 == 2) ? n4 = h2.Bi() : isNaN(this.Dm) || (n4 = this.Dm), e2 && this.Sm != t4.ui.Clip || (i6 = t4.Ab.Gn(i6, h2.tc(), n4, false, 0, s4)), e2 && (i6 = t4.Ab.Hz(i6, h2, this.Sm, s4), t4.Ab.Kx(h2, i6, o2), i6.B()) || r2 && (i6 = a2.al(i6, true), this.yp(a2, t4.dm.reverse, i6), i6 = a2.bl(i6, true)), i6;
  8992. }, i5.prototype.yp = function(i6, s4, n4) {
  8993. var h2 = n4.I();
  8994. if (h2 != 0) {
  8995. for (var r2 = n4.vb(0), e2 = t4.P.lg(200, 0), o2 = [], a2 = 0; a2 < h2; ) {
  8996. var u2 = Math.min(100, h2 - a2);
  8997. r2.Xw(2 * a2, 2 * u2, e2, 2, true);
  8998. for (var f2 = 0; f2 < u2; ++f2)
  8999. o2[f2] = t4.h.construct(e2[2 * a2], e2[2 * a2 + 1]);
  9000. i6.St(s4, o2, u2), a2 += u2;
  9001. }
  9002. n4.Qc(1993);
  9003. }
  9004. }, i5.Py = function(i6, s4, n4) {
  9005. if (i6 == null || s4 == null || !s4.Xc())
  9006. throw t4.i.ga("Invalid Arguement");
  9007. if (i6.B())
  9008. return i6;
  9009. var h2 = i6.K();
  9010. return h2 == 197 ? (h2 = new t4.Ea(i6.description)).bd(i6, false) : t4.ba.zd(h2) ? (h2 = new t4.Ua(i6.description)).oc(i6, true) : h2 = i6, (h2 = t4.Ab.nj(h2, s4)).B() ? h2 : t4.Ab.Gn(h2, s4, 0, h2 != i6, 0, n4);
  9011. }, i5.pj = function(s4, n4, h2, r2) {
  9012. if (s4 == null || n4 == null || !n4.Xc())
  9013. throw t4.i.ga("Invalid Arguement");
  9014. if (s4.B())
  9015. return s4;
  9016. var e2 = s4.K();
  9017. if (t4.ba.Ic(e2)) {
  9018. s4 = t4.Ab.nj(s4, n4), e2 = new t4.l(), s4.A(e2);
  9019. for (var o2 = t4.ta.oy(n4, e2, false), a2 = n4.ih(), u2 = Math.floor((e2.v - a2.v) / a2.S()) * a2.S() + a2.v; u2 < e2.C; )
  9020. u2 > e2.v + o2 && u2 < e2.C - o2 && (s4 = t4.Ab.nS(s4, n4, h2, u2)), u2 += a2.S();
  9021. } else {
  9022. if (e2 == 197)
  9023. return (e2 = new t4.Ea(s4.description)).bd(s4, false), i5.pj(e2, n4, h2, r2);
  9024. if (t4.ba.zd(e2))
  9025. return (e2 = new t4.Ua(s4.description)).oc(s4, true), i5.pj(e2, n4, h2, r2);
  9026. }
  9027. return i5.Py(s4, n4, r2);
  9028. }, i5;
  9029. }();
  9030. t4.du = i4;
  9031. }(V || (V = {})), function(t4) {
  9032. var i4 = function(i5) {
  9033. function s4(s5, n4, h2, r2) {
  9034. var e2 = i5.call(this) || this;
  9035. return s5 === void 0 ? e2.description = t4.ee.og() : h2 === void 0 ? e2.description = s5 : (e2.description = t4.ee.og(), e2.TB(s5, n4), e2.Sl(h2, r2)), e2;
  9036. }
  9037. return Q(s4, i5), s4.prototype.K = function() {
  9038. return 322;
  9039. }, s4.prototype.Rb = function() {
  9040. var t5 = this.sa - this.qa, i6 = this.oa - this.ma;
  9041. return Math.sqrt(t5 * t5 + i6 * i6);
  9042. }, s4.prototype.Di = function(t5) {
  9043. var i6 = this.sa - this.qa, s5 = this.oa - this.ma;
  9044. return Math.sqrt(i6 * i6 + s5 * s5) <= t5;
  9045. }, s4.prototype.Qn = function() {
  9046. return false;
  9047. }, s4.prototype.jg = function() {
  9048. var i6 = new t4.h();
  9049. return i6.vc(this.xc(), this.ac()), i6;
  9050. }, s4.XO = function(t5, i6) {
  9051. return new s4(t5.x, t5.y, i6.x, i6.y);
  9052. }, s4.prototype.dn = function(i6) {
  9053. i6.Pa(), i6.kg(this.description);
  9054. var s5 = new t4.l();
  9055. this.A(s5), i6.Yo(s5), s5 = 1;
  9056. for (var n4 = this.description.Ba; s5 < n4; s5++)
  9057. for (var h2 = this.description.qd(s5), r2 = t4.ua.Wa(h2); s5 < r2; s5++) {
  9058. var e2 = this.Vg(h2, 0);
  9059. i6.setInterval(h2, 0, e2);
  9060. }
  9061. }, s4.prototype.A = function(t5) {
  9062. t5.L(this.sa, this.oa, this.qa, this.ma), t5.normalize();
  9063. }, s4.prototype.Ro = function(t5) {
  9064. t5.Pa(), t5.$b(this.sa, this.oa, this.Pd(0, 1, 0)), t5.$b(this.qa, this.ma, this.Pd(1, 1, 0));
  9065. }, s4.prototype.Pc = function(i6) {
  9066. if (i6 instanceof t4.Ed) {
  9067. this.wc();
  9068. var s5 = new t4.h();
  9069. s5.x = this.sa, s5.y = this.oa, i6.Gh(s5, s5), this.sa = s5.x, this.oa = s5.y, s5.x = this.qa, s5.y = this.ma, i6.Gh(s5, s5), this.qa = s5.x, this.ma = s5.y;
  9070. } else
  9071. this.wc(), (s5 = new t4.Od()).x = this.sa, s5.y = this.oa, s5.z = this.Pd(0, 1, 0), s5 = i6.gp(s5), this.sa = s5.x, this.oa = s5.y, this.vn(0, 1, 0, s5.z), s5.x = this.qa, s5.y = this.ma, s5.z = this.Pd(1, 1, 0), s5 = i6.gp(s5), this.qa = s5.x, this.ma = s5.y, this.vn(1, 1, 0, s5.z);
  9072. }, s4.prototype.Ja = function() {
  9073. return new s4(this.description);
  9074. }, s4.prototype.Sx = function(t5, i6) {
  9075. return (this.qa - t5 - (this.sa - t5)) * (this.ma - i6 + (this.oa - i6)) * 0.5;
  9076. }, s4.prototype.ux = function(t5) {
  9077. return t5 * this.Rb();
  9078. }, s4.prototype.HG = function(t5) {
  9079. return t5 / this.Rb();
  9080. }, s4.prototype.xF = function(i6) {
  9081. return t4.mc.jq(this.sa, this.qa, i6);
  9082. }, s4.prototype.$Q = function(i6) {
  9083. return t4.mc.jq(this.oa, this.ma, i6);
  9084. }, s4.prototype.fl = function(i6, s5) {
  9085. var n4 = new t4.hg();
  9086. return this.dh(i6, s5, n4), n4.get();
  9087. }, s4.prototype.dh = function(i6, s5, n4) {
  9088. if (n4 == null)
  9089. throw t4.i.O();
  9090. n4.Qr(), (n4 = n4.get()).kg(this.description);
  9091. var h2 = new t4.h();
  9092. this.ic(i6, h2), n4.TB(h2.x, h2.y), this.ic(s5, h2), n4.Sl(h2.x, h2.y), h2 = 1;
  9093. for (var r2 = this.description.Ba; h2 < r2; h2++)
  9094. for (var e2 = this.description.Fd(h2), o2 = t4.ua.Wa(e2), a2 = 0; a2 < o2; a2++) {
  9095. var u2 = this.Vc(i6, e2, a2);
  9096. n4.SB(e2, a2, u2), u2 = this.Vc(s5, e2, a2), n4.IB(e2, a2, u2);
  9097. }
  9098. }, s4.prototype.Vc = function(i6, s5, n4) {
  9099. if (s5 == 0)
  9100. return n4 == 0 ? this.ic(i6).x : this.ic(i6).y;
  9101. switch (t4.ua.gz(s5)) {
  9102. case 0:
  9103. return 0.5 > i6 ? this.yv(s5, n4) : this.jv(s5, n4);
  9104. case 1:
  9105. var h2 = this.yv(s5, n4);
  9106. return s5 = this.jv(s5, n4), t4.mc.jq(h2, s5, i6);
  9107. case 2:
  9108. throw t4.i.ga("not implemented");
  9109. }
  9110. throw t4.i.Ra();
  9111. }, s4.prototype.fe = function(t5, i6) {
  9112. var s5 = this.qa - this.sa, n4 = this.ma - this.oa, h2 = s5 * s5 + n4 * n4;
  9113. return h2 == 0 ? 0.5 : (t5 = ((t5.x - this.sa) * s5 + (t5.y - this.oa) * n4) / h2, i6 || (0 > t5 ? t5 = 0 : 1 < t5 && (t5 = 1)), t5);
  9114. }, s4.prototype.fq = function(t5, i6, s5, n4) {
  9115. if (t5) {
  9116. if ((t5 = this.ma - this.oa) == 0)
  9117. return i6 == this.ma ? -1 : 0;
  9118. if (0 > (i6 = (i6 - this.oa) / t5) || 1 < i6)
  9119. return 0;
  9120. s5 != null && (s5[0] = this.xF(i6));
  9121. } else {
  9122. if ((t5 = this.qa - this.sa) == 0)
  9123. return i6 == this.qa ? -1 : 0;
  9124. if (0 > (i6 = (i6 - this.sa) / t5) || 1 < i6)
  9125. return 0;
  9126. s5 != null && (s5[0] = this.$Q(i6));
  9127. }
  9128. return n4 != null && (n4[0] = i6), 1;
  9129. }, s4.prototype.Me = function(t5, i6) {
  9130. var s5 = this.ma - this.oa;
  9131. return s5 == 0 ? t5 == this.ma ? i6 : NaN : (t5 = (t5 - this.oa) / s5, i6 = this.xF(t5), t5 == 1 && (i6 = this.qa), i6);
  9132. }, s4.prototype.tu = function(t5, i6, s5) {
  9133. return 0 <= this.sp(t5.x, t5.y, i6, s5);
  9134. }, s4.prototype.xi = function(t5, i6, s5) {
  9135. return 0 <= this.sp(t5, i6, s5, true);
  9136. }, s4.prototype.ss = function(t5, i6) {
  9137. return this.tu(t5, i6, false);
  9138. }, s4.prototype.lI = function() {
  9139. if (this.ma < this.oa || this.ma == this.oa && this.qa < this.sa) {
  9140. var t5 = this.sa;
  9141. this.sa = this.qa, this.qa = t5, t5 = this.oa, this.oa = this.ma, this.ma = t5, t5 = 0;
  9142. for (var i6 = this.description.Qq - 2; t5 < i6; t5++) {
  9143. var s5 = this.la[t5];
  9144. this.la[t5] = this.la[t5 + i6], this.la[t5 + i6] = s5;
  9145. }
  9146. }
  9147. }, s4.prototype.wu = function(i6, s5) {
  9148. (s5 = t4.h.construct(i6, s5)).sub(this.ac());
  9149. var n4 = new t4.h();
  9150. return n4.vc(this.xc(), this.ac()), (i6 = n4.yi(s5)) > (s5 = 8881784197001252e-31 * (Math.abs(n4.x * s5.y) + Math.abs(n4.y * s5.x))) ? -1 : i6 < -s5 ? 1 : 0;
  9151. }, s4.prototype.sp = function(i6, s5, n4, h2) {
  9152. var r2 = this.sa, e2 = this.oa, o2 = i6 - r2, a2 = s5 - e2;
  9153. if ((o2 = Math.sqrt(o2 * o2 + a2 * a2)) <= Math.max(n4, 6661338147750939e-31 * o2))
  9154. return h2 && o2 == 0 ? NaN : 0;
  9155. if (o2 = i6 - this.qa, a2 = s5 - this.ma, (o2 = Math.sqrt(o2 * o2 + a2 * a2)) <= Math.max(n4, 6661338147750939e-31 * o2))
  9156. return h2 && o2 == 0 ? NaN : 1;
  9157. if (o2 = this.qa - this.sa, a2 = this.ma - this.oa, 0 < (h2 = Math.sqrt(o2 * o2 + a2 * a2))) {
  9158. var u2 = 1 / h2, f2 = i6 - r2, c2 = s5 - e2, l2 = f2 * (o2 *= u2) + c2 * (a2 *= u2), p2 = 17763568394002505e-31 * (Math.abs(f2 * o2) + Math.abs(c2 * a2)), v2 = o2;
  9159. if (o2 = -a2, a2 = v2, l2 < -(p2 = Math.max(n4, p2)) || l2 > h2 + p2)
  9160. return NaN;
  9161. if (Math.abs(f2 * o2 + c2 * a2) <= Math.max(n4, 17763568394002505e-31 * (Math.abs(f2 * o2) + Math.abs(c2 * a2))) && (0.5 >= (o2 = t4.P.Sk(l2 * u2, 0, 1)) ? (a2 = this.sa + (this.qa - this.sa) * o2, h2 = this.oa + (this.ma - this.oa) * o2) : (a2 = this.qa - (this.qa - this.sa) * (1 - o2), h2 = this.ma - (this.ma - this.oa) * (1 - o2)), t4.h.Jy(a2, h2, i6, s5) <= n4)) {
  9162. if (0.5 > o2) {
  9163. if (t4.h.Jy(a2, h2, r2, e2) <= n4)
  9164. return 0;
  9165. } else if (t4.h.Jy(a2, h2, this.qa, this.ma) <= n4)
  9166. return 1;
  9167. return o2;
  9168. }
  9169. }
  9170. return NaN;
  9171. }, s4.prototype.Nb = function(t5) {
  9172. return t5 != null && (t5 == this || t5.constructor === this.constructor && this.zM(t5));
  9173. }, s4.prototype.lD = function(i6, s5, n4) {
  9174. var h2 = n4 ? this.sa : this.qa;
  9175. n4 = n4 ? this.oa : this.ma;
  9176. var r2 = new t4.h();
  9177. return r2.x = i6.qa - h2, r2.y = i6.ma - n4, !(s5.Sh(r2) > 6661338147750939e-31 * s5.$C(r2)) || (r2.x = i6.sa - h2, r2.y = i6.oa - n4, s5.Sh(r2) <= 6661338147750939e-31 * s5.$C(r2));
  9178. }, s4.prototype.kD = function(i6) {
  9179. var s5 = new t4.h();
  9180. return s5.x = this.qa - this.sa, s5.y = this.ma - this.oa, !!this.lD(i6, s5, false) && (s5.Uq(), !!this.lD(i6, s5, true));
  9181. }, s4.HM = function(t5, i6) {
  9182. var s5 = t5.wu(i6.sa, i6.oa), n4 = t5.wu(i6.qa, i6.ma);
  9183. return !(0 > s5 && 0 > n4 || 0 < s5 && 0 < n4) && (s5 = i6.wu(t5.sa, t5.oa), n4 = i6.wu(t5.qa, t5.ma), !(0 > s5 && 0 > n4 || 0 < s5 && 0 < n4) && ((s5 = t5.Rb()) > (n4 = i6.Rb()) ? t5.kD(i6) : i6.kD(t5)));
  9184. }, s4.FM = function(i6, s5, n4) {
  9185. var h2 = t4.h.construct(NaN, NaN), r2 = i6.qa - i6.sa, e2 = i6.ma - i6.oa, o2 = s5.qa - s5.sa, a2 = s5.ma - s5.oa, u2 = o2 * e2 - r2 * a2;
  9186. if (u2 == 0)
  9187. return h2;
  9188. var f2 = 8881784197001252e-31 * (Math.abs(o2 * e2) + Math.abs(r2 * a2)), c2 = s5.sa - i6.sa, l2 = s5.oa - i6.oa, p2 = o2 * l2 - c2 * a2, v2 = p2 / u2, y2 = Math.abs(u2);
  9189. return v2 < -(o2 = (8881784197001252e-31 * (Math.abs(o2 * l2) + Math.abs(c2 * a2)) * y2 + f2 * Math.abs(p2)) / (u2 * u2) + 2220446049250313e-31 * Math.abs(v2)) || v2 > 1 + o2 || (o2 = (a2 = r2 * l2 - c2 * e2) / u2) < -(r2 = (8881784197001252e-31 * (Math.abs(r2 * l2) + Math.abs(c2 * e2)) * y2 + f2 * Math.abs(a2)) / (u2 * u2) + 2220446049250313e-31 * Math.abs(o2)) || o2 > 1 + r2 ? h2 : (v2 = t4.P.Sk(v2, 0, 1), r2 = t4.P.Sk(o2, 0, 1), e2 = i6.ic(v2), u2 = s5.ic(r2), (f2 = new t4.h()).vc(e2, u2), f2.length() > n4 && (f2.add(e2, u2), f2.scale(0.5), v2 = i6.fe(f2, false), r2 = s5.fe(f2, false), i6 = i6.ic(v2), s5 = s5.ic(r2), i6.sub(s5), i6.length() > n4) || h2.na(v2, r2), h2);
  9190. }, s4.IM = function(t5, i6, n4, h2) {
  9191. var r2 = 0;
  9192. if ((t5.sa == i6.sa && t5.oa == i6.oa || t5.sa == i6.qa && t5.oa == i6.ma) && (r2++, !h2))
  9193. return 1;
  9194. if (t5.qa == i6.sa && t5.ma == i6.oa || t5.qa == i6.qa && t5.ma == i6.ma) {
  9195. if (++r2 == 2)
  9196. return 2;
  9197. if (!h2)
  9198. return 1;
  9199. }
  9200. return i6.xi(t5.sa, t5.oa, n4) || i6.xi(t5.qa, t5.ma, n4) || t5.xi(i6.sa, i6.oa, n4) || t5.xi(i6.qa, i6.ma, n4) ? 1 : h2 && r2 != 0 || s4.HM(t5, i6) == 0 ? 0 : 1;
  9201. }, s4.Yx = function(i6, n4, h2, r2, e2, o2) {
  9202. var a2 = 0, u2 = i6.sp(n4.sa, n4.oa, o2, false), f2 = i6.sp(n4.qa, n4.ma, o2, false), c2 = n4.sp(i6.sa, i6.oa, o2, false), l2 = n4.sp(i6.qa, i6.ma, o2, false);
  9203. return isNaN(u2) || (r2 != null && (r2[a2] = u2), e2 != null && (e2[a2] = 0), h2 != null && (h2[a2] = t4.h.construct(n4.sa, n4.oa)), a2++), isNaN(f2) || (r2 != null && (r2[a2] = f2), e2 != null && (e2[a2] = 1), h2 != null && (h2[a2] = t4.h.construct(n4.qa, n4.ma)), a2++), a2 == 2 || isNaN(c2) || u2 == 0 && c2 == 0 || f2 == 0 && c2 == 1 || (r2 != null && (r2[a2] = 0), e2 != null && (e2[a2] = c2), h2 != null && (h2[a2] = t4.h.construct(i6.sa, i6.oa)), a2++), a2 == 2 || isNaN(l2) || u2 == 1 && l2 == 0 || f2 == 1 && l2 == 1 || (r2 != null && (r2[a2] = 1), e2 != null && (e2[a2] = l2), h2 != null && (h2[a2] = t4.h.construct(n4.qa, n4.ma)), a2++), 0 < a2 ? (a2 == 2 && r2 != null && r2[0] > r2[1] && (i6 = r2[0], r2[0] = r2[1], r2[1] = i6, e2 != null && (r2 = e2[0], e2[0] = e2[1], e2[1] = r2), h2 != null && (e2 = t4.h.construct(h2[0].x, h2[0].y), h2[0] = h2[1], h2[1] = e2)), a2) : (a2 = s4.FM(i6, n4, o2), isNaN(a2.x) ? 0 : (h2 != null && (h2[0] = i6.ic(a2.x)), r2 != null && (r2[0] = a2.x), e2 != null && (e2[0] = a2.y), 1));
  9204. }, s4.prototype.ZF = function() {
  9205. return 0;
  9206. }, s4.prototype.pp = function() {
  9207. }, s4.prototype.toString = function() {
  9208. return "Line: [" + this.sa.toString() + ", " + this.oa.toString() + ", " + this.qa.toString() + ", " + this.ma.toString() + "]";
  9209. }, s4;
  9210. }(t4.MC);
  9211. t4.zb = i4;
  9212. }(V || (V = {})), function(t4) {
  9213. var i4 = function() {
  9214. function t5() {
  9215. this.Lm = [], this.za = -1;
  9216. }
  9217. return t5.prototype.Ma = function() {
  9218. return this.za;
  9219. }, t5.prototype.next = function() {
  9220. if (this.Lm != null && this.Lm.length != 0) {
  9221. this.za++;
  9222. var t6 = this.Lm[0];
  9223. return this.Lm = 1 >= this.Lm.length ? [] : this.Lm.slice(1), t6;
  9224. }
  9225. return this.Lm = null;
  9226. }, t5.prototype.RX = function(t6) {
  9227. this.Lm.push(t6);
  9228. }, t5.prototype.qe = function() {
  9229. }, t5;
  9230. }();
  9231. t4.aL = i4;
  9232. }(V || (V = {})), function(t4) {
  9233. var i4;
  9234. (i4 = t4.ML || (t4.ML = {}))[i4.enumFillRuleOddEven = 0] = "enumFillRuleOddEven", i4[i4.enumFillRuleWinding = 1] = "enumFillRuleWinding";
  9235. var s4 = function(i5) {
  9236. function s5(s6, n4) {
  9237. var h2 = i5.call(this) || this;
  9238. if (h2.yf = false, h2.Gq = null, h2.uq = 0, h2.tq = 0, h2.Cj = null, h2.Og = false, h2.nb = null, h2.mb = null, h2.Se = null, h2.Nj = null, h2.Td = null, h2.vq = 0, h2.gb = 0, h2.zq = 0, n4 === void 0)
  9239. h2.yf = s6, h2.Og = false, h2.vq = 0, h2.uq = 0, h2.tq = 0, h2.xa = 0, h2.description = t4.ee.og();
  9240. else {
  9241. if (n4 == null)
  9242. throw t4.i.O();
  9243. h2.yf = s6, h2.Og = false, h2.vq = 0, h2.uq = 0, h2.tq = 0, h2.xa = 0, h2.description = n4;
  9244. }
  9245. return h2.Cj = null, h2.gb = 0, h2;
  9246. }
  9247. return Q(s5, i5), s5.prototype.vm = function() {
  9248. return 0 < this.vq;
  9249. }, s5.prototype.Xx = function() {
  9250. this.wc(), this.Gq == null ? this.Gq = new t4.Ta(this.description) : this.Gq.kg(this.description);
  9251. }, s5.prototype.rx = function(i6, s6) {
  9252. var n4 = new t4.h();
  9253. n4.x = i6, n4.y = s6, this.Nt(n4);
  9254. }, s5.prototype.Nt = function(t5) {
  9255. this.Xx(), this.Gq.Db(t5), this.Og = true;
  9256. }, s5.prototype.nf = function(i6) {
  9257. if (i6.B())
  9258. throw t4.i.O();
  9259. this.Ll(i6.description), this.Xx(), i6.copyTo(this.Gq), this.Og = true;
  9260. }, s5.prototype.Rx = function() {
  9261. var i6 = 1;
  9262. this.Og && (this.Xx(), this.nb == null ? (this.nb = t4.Zc.Qh(2), this.nb.write(0, 0), this.mb = t4.Zc.Or(2, 0)) : (this.nb.resize(this.nb.size + 1, 0), this.mb.resize(this.mb.size + 1, 0)), this.yf && this.mb.write(this.mb.size - 2, 1), i6++);
  9263. var s6 = this.xa;
  9264. this.nb.write(this.nb.size - 1, this.xa + i6), this.fm(s6 + i6), this.mb.write(this.nb.size - 1, 0), this.Og && (this.It(s6, this.Gq), this.Og = false);
  9265. }, s5.prototype.Aj = function(t5, i6) {
  9266. this.Rx(), this.Db(this.xa - 1, t5, i6);
  9267. }, s5.prototype.Ei = function(t5) {
  9268. this.Rx(), this.Db(this.xa - 1, t5);
  9269. }, s5.prototype.lineTo = function(t5) {
  9270. this.Rx(), this.It(this.xa - 1, t5);
  9271. }, s5.prototype.uU = function(i6) {
  9272. if (this.wc(), this.yf)
  9273. throw t4.i.Ra();
  9274. var s6 = this.ea();
  9275. if (i6 > s6)
  9276. throw t4.i.Ra();
  9277. if (this.ec(i6)) {
  9278. if (this.mb == null)
  9279. throw t4.i.Ra();
  9280. var n4 = this.xa, h2 = this.Ca(i6), r2 = this.Wc(i6);
  9281. this.fm(this.xa + 1), this.rc();
  9282. for (var e2 = 0, o2 = this.description.Ba; e2 < o2; e2++)
  9283. if (this.Aa[e2] != null) {
  9284. var a2 = t4.ua.Wa(this.description.Fd(e2));
  9285. this.Aa[e2].Nn(a2 * r2, this.Aa[e2], a2 * h2, a2, true, 1, a2 * n4);
  9286. }
  9287. for (; s6 > i6; s6--)
  9288. n4 = this.nb.read(s6), this.nb.write(s6, n4 + 1);
  9289. this.mb.EE(i6, 1);
  9290. }
  9291. }, s5.prototype.Cp = function() {
  9292. if (this.vx(), t5 === void 0) {
  9293. this.Og = false;
  9294. var t5 = this.ea() - 1;
  9295. }
  9296. var i6 = this.mb.read(t5);
  9297. this.mb.write(t5, 1 | i6), this.Se != null && (t5 = this.Wc(t5) - 1, this.Se.write(t5, 1), this.Nj.write(t5, -1));
  9298. }, s5.prototype.ec = function(t5) {
  9299. return (1 & this.mb.read(t5)) != 0;
  9300. }, s5.prototype.On = function(t5) {
  9301. if (this.ec(t5))
  9302. return true;
  9303. var i6 = this.Ca(t5);
  9304. return !(i6 > (t5 = this.Wc(t5) - 1)) && (i6 = this.Oa(i6), t5 = this.Oa(t5), i6.rb(t5));
  9305. }, s5.prototype.Av = function(t5) {
  9306. return (2 & this.mb.read(t5)) != 0;
  9307. }, s5.prototype.oc = function(i6, s6) {
  9308. if (this.Ll(i6.description), i6.K() != 322)
  9309. throw t4.i.Ra();
  9310. var n4 = new t4.Ta();
  9311. (s6 || this.B()) && (i6.Uo(n4), this.nf(n4)), i6.Qo(n4), this.lineTo(n4);
  9312. }, s5.prototype.vp = function(t5) {
  9313. var i6 = this.xa == 0;
  9314. this.rx(t5.v, t5.G), this.Aj(t5.v, t5.H), this.Aj(t5.C, t5.H), this.Aj(t5.C, t5.G), this.Cp(), this.Og = false, i6 && this.Nf(256, false);
  9315. }, s5.prototype.bd = function(i6, s6) {
  9316. if (!i6.B()) {
  9317. for (var n4 = this.xa == 0, h2 = new t4.Ta(this.description), r2 = 0; 4 > r2; r2++)
  9318. i6.If(s6 ? 4 - r2 - 1 : r2, h2), r2 == 0 ? this.nf(h2) : this.lineTo(h2);
  9319. this.Cp(), this.Og = false, n4 && !s6 && this.Nf(256, false);
  9320. }
  9321. }, s5.prototype.add = function(t5, i6) {
  9322. for (var s6 = 0; s6 < t5.ea(); s6++)
  9323. this.addPath(t5, s6, !i6);
  9324. }, s5.prototype.addPath = function(t5, i6, s6) {
  9325. this.wf(-1, t5, i6, s6);
  9326. }, s5.prototype.$k = function(t5, i6) {
  9327. this.Cz(t5, i6);
  9328. }, s5.prototype.Fr = function(i6, s6, n4, h2, r2) {
  9329. if (r2 || this.ea() != 0 || (r2 = true), 0 > s6 && (s6 = i6.ea() - 1), s6 >= i6.ea() || 0 > n4 || 0 > h2 || h2 > i6.tv(s6))
  9330. throw t4.i.ga("index out of bounds");
  9331. if (h2 != 0) {
  9332. var e2 = i6.ec(s6) && n4 + h2 == i6.tv(s6);
  9333. if (!e2 || h2 != 1) {
  9334. if (this.Og = false, this.Ll(i6.description), n4 = i6.Ca(s6) + n4 + 1, r2 && (h2++, n4--), e2 && h2--, e2 = this.xa, this.fm(this.xa + h2), this.rc(), r2) {
  9335. if (h2 == 0)
  9336. return;
  9337. this.nb.add(this.xa), r2 = i6.mb.read(s6), r2 &= -5, this.yf && (r2 |= 1), this.mb.write(this.mb.size - 1, r2), this.mb.add(0);
  9338. } else
  9339. this.nb.write(this.mb.size - 1, this.xa);
  9340. r2 = 0;
  9341. for (var o2 = this.description.Ba; r2 < o2; r2++) {
  9342. var a2 = this.description.qd(r2), u2 = t4.ua.Wa(a2), f2 = i6.description.Qf(a2);
  9343. 0 > f2 || i6.Aa[f2] == null ? this.Aa[r2].Mn(u2 * e2, t4.ua.te(a2), h2 * u2, u2 * e2) : this.Aa[r2].Nn(u2 * e2, i6.Aa[f2], u2 * n4, h2 * u2, true, u2, u2 * e2);
  9344. }
  9345. if (this.vm())
  9346. throw t4.i.Ra();
  9347. if (i6.Av(s6))
  9348. throw t4.i.Ra();
  9349. this.Qc(1993);
  9350. }
  9351. }
  9352. }, s5.prototype.iJ = function() {
  9353. for (var t5 = 0, i6 = this.ea(); t5 < i6; t5++)
  9354. this.wW(t5);
  9355. }, s5.prototype.wW = function(i6) {
  9356. if (this.rc(), i6 >= this.ea())
  9357. throw t4.i.O();
  9358. var s6 = this.Ca(i6), n4 = this.Ka(i6);
  9359. i6 = this.ec(i6) ? 1 : 0;
  9360. for (var h2 = 0, r2 = this.description.Ba; h2 < r2; h2++)
  9361. if (this.Aa[h2] != null) {
  9362. var e2 = t4.ua.Wa(this.description.Fd(h2));
  9363. this.Aa[h2].pi(e2 * (s6 + i6), e2 * (n4 - i6), e2);
  9364. }
  9365. this.Qc(1993);
  9366. }, s5.prototype.ar = function(i6) {
  9367. this.rc();
  9368. var s6 = this.ea();
  9369. if (0 > i6 && (i6 = s6 - 1), i6 >= s6)
  9370. throw t4.i.O();
  9371. for (var n4 = this.Ca(i6), h2 = this.Ka(i6), r2 = 0, e2 = this.description.Ba; r2 < e2; r2++)
  9372. if (this.Aa[r2] != null) {
  9373. var o2 = t4.ua.Wa(this.description.Fd(r2));
  9374. this.Aa[r2].Fn(o2 * n4, o2 * h2, o2 * this.xa);
  9375. }
  9376. for (n4 = i6 + 1; n4 <= s6; n4++)
  9377. r2 = this.nb.read(n4), this.nb.write(n4 - 1, r2 - h2);
  9378. if (this.mb == null)
  9379. for (n4 = i6 + 1; n4 <= s6; n4++)
  9380. i6 = this.mb.read(n4), this.mb.write(n4 - 1, i6);
  9381. this.nb.resize(s6), this.mb.resize(s6), this.xa -= h2, this.Rg -= h2, this.Qc(1993);
  9382. }, s5.prototype.wf = function(i6, s6, n4, h2) {
  9383. if (s6 == this)
  9384. throw t4.i.O();
  9385. if (n4 >= s6.ea())
  9386. throw t4.i.O();
  9387. var r2 = this.ea();
  9388. if (i6 > r2)
  9389. throw t4.i.O();
  9390. 0 > i6 && (i6 = r2), 0 > n4 && (n4 = s6.ea() - 1), this.Og = false, this.Ll(s6.description), s6.rc();
  9391. var e2 = s6.Ca(n4), o2 = s6.Ka(n4), a2 = this.xa, u2 = s6.ec(n4) && !h2 ? 1 : 0;
  9392. this.fm(this.xa + o2), this.rc();
  9393. for (var f2 = i6 < r2 ? this.Ca(i6) : a2, c2 = 0, l2 = this.description.Ba; c2 < l2; c2++) {
  9394. var p2 = this.description.Fd(c2), v2 = s6.description.Qf(p2), y2 = t4.ua.Wa(p2);
  9395. 0 <= v2 && s6.Aa[v2] != null ? (u2 != 0 && this.Aa[c2].Nn(f2 * y2, s6.Aa[v2], y2 * e2, y2, true, y2, y2 * a2), this.Aa[c2].Nn((f2 + u2) * y2, s6.Aa[v2], y2 * (e2 + u2), y2 * (o2 - u2), h2, y2, y2 * (a2 + u2))) : this.Aa[c2].Mn(f2 * y2, t4.ua.te(p2), y2 * o2, y2 * a2);
  9396. }
  9397. for (this.nb.add(a2 + o2), h2 = r2; h2 >= i6 + 1; h2--)
  9398. e2 = this.nb.read(h2 - 1), this.nb.write(h2, e2 + o2);
  9399. for (s6.Av(n4), this.mb.add(0), h2 = r2 - 1; h2 >= i6 + 1; h2--)
  9400. r2 = this.mb.read(h2), r2 &= -5, this.mb.write(h2 + 1, r2);
  9401. r2 = s6.DR().read(n4), r2 &= -5, this.yf && (r2 |= 1), this.mb.write(i6, r2);
  9402. }, s5.prototype.Cz = function(i6, s6) {
  9403. var n4 = -1, h2 = this.ea();
  9404. if (n4 > h2)
  9405. throw t4.i.O();
  9406. 0 > n4 && (n4 = h2), this.Og = false;
  9407. var r2 = this.xa;
  9408. this.fm(this.xa + s6), this.rc();
  9409. var e2 = n4 < h2 ? this.Ca(n4) : r2;
  9410. if (i6 != null)
  9411. this.Aa[0].Dz(2 * e2, i6, 0, s6, true, 2 * r2);
  9412. else {
  9413. var o2 = t4.ua.te(0);
  9414. this.Aa[0].Mn(2 * e2, o2, 2 * s6, 2 * r2);
  9415. }
  9416. i6 = 1;
  9417. for (var a2 = this.description.Ba; i6 < a2; i6++) {
  9418. o2 = this.description.qd(i6);
  9419. var u2 = t4.ua.Wa(o2);
  9420. o2 = t4.ua.te(o2), this.Aa[i6].Mn(e2 * u2, o2, u2 * s6, u2 * r2);
  9421. }
  9422. for (this.nb.add(this.xa), r2 = h2; r2 >= n4 + 1; r2--)
  9423. e2 = this.nb.read(r2 - 1), this.nb.write(r2, e2 + s6);
  9424. for (this.mb.add(0), r2 = h2 - 1; r2 >= n4 + 1; r2--)
  9425. s6 = this.mb.read(r2), s6 &= -5, this.mb.write(r2 + 1, s6);
  9426. this.yf && this.mb.write(n4, 1);
  9427. }, s5.prototype.kG = function(i6, s6, n4) {
  9428. var h2 = -1;
  9429. if (0 > i6 && (i6 = this.ea()), i6 > this.ea() || h2 > this.Ka(i6) || n4 > s6.length)
  9430. throw t4.i.ga("index out of bounds");
  9431. if (n4 != 0) {
  9432. i6 == this.ea() && (this.nb.add(this.xa), this.yf ? this.mb.add(1) : this.mb.add(0)), 0 > h2 && (h2 = this.Ka(i6)), this.rc();
  9433. var r2 = this.xa;
  9434. this.fm(this.xa + n4), this.rc();
  9435. for (var e2 = 0, o2 = this.description.Ba; e2 < o2; e2++) {
  9436. var a2 = this.description.Fd(e2), u2 = t4.ua.Wa(a2);
  9437. this.Aa[e2].Wt(u2 * (this.Ca(i6) + h2 + n4), (r2 - this.Ca(i6) - h2) * u2, this.Aa[e2], u2 * (this.Ca(i6) + h2), true, u2), e2 == 0 ? this.Aa[e2].pC(u2 * (this.Ca(i6) + h2), n4, s6, 0, true) : this.Aa[e2].Yj(t4.ua.te(a2), (this.Ca(i6) + h2) * u2, n4 * u2);
  9438. }
  9439. for (this.vm() && (this.Se.Wt(this.Ca(i6) + h2 + n4, r2 - this.Ca(i6) - h2, this.Se, this.Ca(i6) + h2, true, 1), this.Nj.Wt(this.Ca(i6) + h2 + n4, r2 - this.Ca(i6) - h2, this.Nj, this.Ca(i6) + h2, true, 1), this.Se.Yj(1, this.Ca(i6) + h2, n4), this.Nj.Yj(-1, this.Ca(i6) + h2, n4)), i6 += 1, s6 = this.ea(); i6 <= s6; i6++)
  9440. this.nb.write(i6, this.nb.read(i6) + n4);
  9441. }
  9442. }, s5.prototype.xf = function(i6, s6, n4) {
  9443. var h2 = this.ea();
  9444. if (0 > i6 && (i6 = this.ea()), i6 >= h2 || s6 > this.Ka(i6))
  9445. throw t4.i.ga("index out of bounds");
  9446. i6 == this.ea() && (this.nb.add(this.xa), this.yf ? this.mb.add(1) : this.mb.add(0)), 0 > s6 && (s6 = this.Ka(i6));
  9447. var r2 = this.xa;
  9448. this.fm(this.xa + 1), this.rc();
  9449. var e2 = this.Ca(i6);
  9450. this.Aa[0].xj(2 * (e2 + s6), n4, 2 * r2), n4 = 1;
  9451. for (var o2 = this.description.Ba; n4 < o2; n4++) {
  9452. var a2 = this.description.Fd(n4), u2 = t4.ua.Wa(a2);
  9453. this.Aa[n4].Mn(u2 * (e2 + s6), t4.ua.te(a2), u2, u2 * r2);
  9454. }
  9455. for (i6 += 1; i6 <= h2; i6++)
  9456. this.nb.write(i6, this.nb.read(i6) + 1);
  9457. }, s5.prototype.xB = function(i6, s6) {
  9458. var n4 = this.ea();
  9459. if (0 > i6 && (i6 = n4 - 1), i6 >= n4 || s6 >= this.Ka(i6))
  9460. throw t4.i.ga("index out of bounds");
  9461. this.rc();
  9462. var h2 = this.Ca(i6);
  9463. 0 > s6 && (s6 = this.Ka(i6) - 1), s6 = h2 + s6, h2 = 0;
  9464. for (var r2 = this.description.Ba; h2 < r2; h2++)
  9465. if (this.Aa[h2] != null) {
  9466. var e2 = t4.ua.Wa(this.description.Fd(h2));
  9467. this.Aa[h2].Fn(e2 * s6, e2, e2 * this.xa);
  9468. }
  9469. for (; n4 >= i6 + 1; n4--)
  9470. s6 = this.nb.read(n4), this.nb.write(n4, s6 - 1);
  9471. this.xa--, this.Rg--, this.Qc(1993);
  9472. }, s5.prototype.oE = function(i6, s6, n4, h2) {
  9473. if (i6 = this.Ca(i6) + s6, (n4 = this.Ca(n4) + h2) < i6 || 0 > i6 || n4 > this.I() - 1)
  9474. throw t4.i.O();
  9475. s6 = 0, (h2 = this.Ha()).Wb(i6);
  9476. do {
  9477. for (; h2.Ia() && (i6 = h2.ia(), h2.xb() != n4); )
  9478. s6 += i6 = i6.Rb();
  9479. if (h2.xb() == n4)
  9480. break;
  9481. } while (h2.ab());
  9482. return s6;
  9483. }, s5.prototype.$N = function(i6, s6, n4) {
  9484. if (s6 = this.Ca(i6) + s6, n4 = this.Ca(i6) + n4, 0 > s6 || n4 > this.I() - 1)
  9485. throw t4.i.O();
  9486. var h2 = this.Ha();
  9487. if (s6 > n4) {
  9488. if (!this.ec(i6))
  9489. throw t4.i.O("cannot iterate across an open path");
  9490. h2.DB();
  9491. }
  9492. var r2 = i6 = 0;
  9493. h2.Wb(s6);
  9494. do {
  9495. r2 += i6, i6 = h2.ia().Rb();
  9496. } while (h2.xb() != n4);
  9497. return r2;
  9498. }, s5.prototype.mg = function() {
  9499. return t4.si.im(this, null);
  9500. }, s5.prototype.DS = function(i6, s6, n4) {
  9501. for (var h2 = i6; h2 < n4 - 1; h2++)
  9502. if (this.ec(h2))
  9503. throw t4.i.O("cannot interpolate across closed paths");
  9504. if ((h2 = this.description.Ba) != 1) {
  9505. var r2 = this.oE(i6, s6, n4, void 0);
  9506. if (r2 != 0)
  9507. for (var e2 = 1; e2 < h2; e2++) {
  9508. var o2 = this.description.qd(e2);
  9509. if (t4.ua.gz(o2) != 2)
  9510. for (var a2 = t4.ua.Wa(o2), u2 = 0; u2 < a2; u2++)
  9511. this.FS(o2, i6, s6, n4, r2, u2);
  9512. }
  9513. }
  9514. }, s5.prototype.CS = function(i6, s6, n4) {
  9515. var h2 = this.description.Ba;
  9516. if (h2 != 1) {
  9517. var r2 = this.$N(i6, s6, n4);
  9518. if (r2 != 0)
  9519. for (var e2 = 1; e2 < h2; e2++) {
  9520. var o2 = this.description.qd(e2);
  9521. if (t4.ua.gz(o2) != 2)
  9522. for (var a2 = t4.ua.Wa(o2), u2 = 0; u2 < a2; u2++)
  9523. this.ES(o2, i6, s6, n4, r2, u2);
  9524. }
  9525. }
  9526. }, s5.prototype.FS = function(i6, s6, n4, h2, r2, e2) {
  9527. var o2 = this.Ha(), a2 = this.Ca(s6) + n4;
  9528. h2 = this.Ca(h2) + void 0, s6 = this.Vc(i6, a2, e2), n4 = this.Vc(i6, h2, e2);
  9529. var u2 = s6, f2 = 0;
  9530. o2.Wb(a2);
  9531. do {
  9532. if (o2.Ia()) {
  9533. if (o2.ia(), o2.xb() == h2)
  9534. break;
  9535. this.setAttribute(i6, o2.xb(), e2, u2), o2.ni();
  9536. do {
  9537. if (a2 = o2.ia(), o2.jk() == h2)
  9538. return;
  9539. f2 += a2 = a2.Rb(), u2 = t4.mc.jq(s6, n4, f2 / r2), o2.Pn() || this.setAttribute(i6, o2.jk(), e2, u2);
  9540. } while (o2.Ia());
  9541. }
  9542. } while (o2.ab());
  9543. }, s5.prototype.ES = function(i6, s6, n4, h2, r2, e2) {
  9544. var o2 = this.Ha(), a2 = this.Ca(s6) + n4;
  9545. if ((s6 = this.Ca(s6) + h2) != a2) {
  9546. h2 = this.Vc(i6, a2, e2), n4 = this.Vc(i6, s6, e2);
  9547. var u2 = 0;
  9548. o2.Wb(a2), o2.DB(), a2 = h2;
  9549. do {
  9550. var f2 = o2.ia();
  9551. this.setAttribute(i6, o2.xb(), e2, a2), u2 += a2 = f2.Rb(), a2 = t4.mc.jq(h2, n4, u2 / r2);
  9552. } while (o2.jk() != s6);
  9553. }
  9554. }, s5.prototype.Pa = function() {
  9555. this.vq = 0, this.Og = false, this.Td = this.Se = this.Nj = this.mb = this.nb = null, this.qD();
  9556. }, s5.prototype.Pc = function(i6) {
  9557. i6 instanceof t4.Ed ? this.SD(i6, -1) : this.qN(i6);
  9558. }, s5.prototype.SD = function(i6, s6) {
  9559. if (!this.B() && !i6.isIdentity()) {
  9560. this.rc();
  9561. var n4 = this.Aa[0], h2 = new t4.h(), r2 = new t4.h();
  9562. if (0 > s6) {
  9563. var e2 = this.vm(), o2 = 0;
  9564. s6 = this.xa;
  9565. } else
  9566. e2 = this.Av(s6), o2 = this.Ca(s6), s6 = this.Wc(s6);
  9567. for (; o2 < s6; o2++) {
  9568. if (h2.x = n4.read(2 * o2), h2.y = n4.read(2 * o2 + 1), e2) {
  9569. var a2 = this.Nj.read(o2);
  9570. if (0 <= a2)
  9571. switch (7 & this.Se.read(o2)) {
  9572. case 2:
  9573. r2.x = this.Td.read(a2), r2.y = this.Td.read(a2 + 1), i6.Gh(r2, r2), this.Td.write(a2, r2.x), this.Td.write(a2 + 1, r2.y), r2.x = this.Td.read(a2 + 3), r2.y = this.Td.read(a2 + 4), i6.Gh(r2, r2), this.Td.write(a2 + 3, r2.x), this.Td.write(a2 + 4, r2.y);
  9574. break;
  9575. case 4:
  9576. throw t4.i.Ra();
  9577. }
  9578. }
  9579. i6.Gh(h2, h2), n4.write(2 * o2, h2.x), n4.write(2 * o2 + 1, h2.y);
  9580. }
  9581. this.Qc(1993);
  9582. }
  9583. }, s5.prototype.qN = function(i6) {
  9584. if (!this.B()) {
  9585. this.se(1), this.rc();
  9586. for (var s6 = this.Aa[0], n4 = this.Aa[1], h2 = new t4.Od(), r2 = new t4.Od(), e2 = this.vm(), o2 = 0; o2 < this.xa; o2++) {
  9587. if (h2.x = s6.read(2 * o2), h2.y = s6.read(2 * o2 + 1), h2.z = n4.read(o2), e2) {
  9588. var a2 = this.Nj.read(o2);
  9589. if (0 <= a2)
  9590. switch (7 & this.Se.read(o2)) {
  9591. case 2:
  9592. r2.x = this.Td.read(a2), r2.y = this.Td.read(a2 + 1), r2.z = this.Td.read(a2 + 2), r2 = i6.gp(r2), this.Td.write(a2, r2.x), this.Td.write(a2 + 1, r2.y), this.Td.write(a2 + 1, r2.z), r2.x = this.Td.read(a2 + 3), r2.y = this.Td.read(a2 + 4), r2.z = this.Td.read(a2 + 5), r2 = i6.gp(r2), this.Td.write(a2 + 3, r2.x), this.Td.write(a2 + 4, r2.y), this.Td.write(a2 + 5, r2.z);
  9593. break;
  9594. case 4:
  9595. throw t4.i.Ra();
  9596. }
  9597. }
  9598. h2 = i6.gp(h2), s6.write(2 * o2, h2.x), s6.write(2 * o2 + 1, h2.y), n4.write(o2, h2.z);
  9599. }
  9600. this.Qc(1993);
  9601. }
  9602. }, s5.prototype.ey = function() {
  9603. this.nb == null && (this.nb = t4.Zc.Qh(1, 0), this.mb = t4.Zc.Or(1, 0)), this.Se != null && (this.Se.resize(this.Rg, 1), this.Nj.resize(this.Rg, -1));
  9604. }, s5.prototype.pp = function(i6) {
  9605. i6.Og = false, i6.vq = this.vq, i6.zq = this.zq, i6.nb = this.nb != null ? t4.ja.Cn(this.nb) : null, i6.mb = this.mb != null ? t4.rn.Cn(this.mb) : null, i6.Nj = this.Nj != null ? t4.ja.Cn(this.Nj) : null, i6.Se = this.Se != null ? t4.rn.Cn(this.Se) : null, i6.Td = this.Td != null ? t4.ce.Cn(this.Td) : null, i6.uq = this.uq, i6.tq = this.tq, i6.Cj = this.bk(1024) ? null : this.Cj;
  9606. }, s5.prototype.Rb = function() {
  9607. if (!this.bk(512))
  9608. return this.uq;
  9609. for (var i6 = this.Ha(), s6 = new t4.Ex(0); i6.ab(); )
  9610. for (; i6.Ia(); )
  9611. s6.add(i6.ia().Rb());
  9612. return this.uq = s6.tm(), this.Nf(512, false), s6.tm();
  9613. }, s5.prototype.Nb = function(t5) {
  9614. if (t5 == this)
  9615. return true;
  9616. if (!(t5 instanceof s5 && i5.prototype.Nb.call(this, t5)))
  9617. return false;
  9618. var n4 = this.ea();
  9619. return !(n4 != t5.ea() || this.nb != null && !this.nb.Nb(t5.nb, 0, n4 + 1) || this.zq != t5.zq || this.mb != null && !this.mb.Nb(t5.mb, 0, n4)) && i5.prototype.Nb.call(this, t5);
  9620. }, s5.prototype.Ha = function() {
  9621. return new t4.SL(this);
  9622. }, s5.prototype.dy = function(t5) {
  9623. if (i5.prototype.dy.call(this, t5), this.vm())
  9624. for (t5 = this.Ha(); t5.ab(); ) {
  9625. t5.Ia();
  9626. }
  9627. }, s5.prototype.Ap = function(t5, s6) {
  9628. if (i5.prototype.Ap.call(this, t5, s6), this.vm())
  9629. for (t5 = this.Ha(); t5.ab(); ) {
  9630. t5.Ia();
  9631. }
  9632. }, s5.prototype.Zx = function() {
  9633. this.xa = this.nb == null || this.nb.size == 0 ? 0 : this.nb.read(this.nb.size - 1);
  9634. }, s5.prototype.He = function() {
  9635. return this.yf ? (this.zu(), this.tq) : 0;
  9636. }, s5.prototype.Gv = function(t5) {
  9637. return !!this.yf && (this.bk(8) ? (this.zu(), 0 < this.Cj.read(t5)) : (4 & this.mb.read(t5)) != 0);
  9638. }, s5.prototype.Kr = function(t5) {
  9639. return this.yf ? (this.zu(), this.Cj.read(t5)) : 0;
  9640. }, s5.prototype.zu = function() {
  9641. if (this.bk(1024)) {
  9642. var i6 = this.ea();
  9643. this.Cj == null ? this.Cj = new t4.ce(i6) : this.Cj.size != i6 && this.Cj.resize(i6), i6 = new t4.Ex(0);
  9644. for (var s6 = new t4.Ex(0), n4 = new t4.h(), h2 = 0, r2 = this.Ha(); r2.ab(); ) {
  9645. for (s6.reset(), this.D(this.Ca(r2.gb), n4); r2.Ia(); )
  9646. s6.add(r2.ia().Sx(n4.x, n4.y));
  9647. i6.add(s6.tm());
  9648. var e2 = h2++;
  9649. this.Cj.write(e2, s6.tm());
  9650. }
  9651. this.tq = i6.tm(), this.Nf(1024, false);
  9652. }
  9653. }, s5.prototype.zR = function() {
  9654. if (this.yf) {
  9655. this.hm();
  9656. for (var t5 = this.ea(), i6 = 0; i6 < t5; i6++)
  9657. (4 & this.mb.read(i6)) != 0 && 0;
  9658. }
  9659. }, s5.prototype.hm = function() {
  9660. if (this.bk(8)) {
  9661. this.zu();
  9662. var i6 = this.ea();
  9663. (this.mb == null || this.mb.size < i6) && (this.mb = t4.Zc.Or(i6 + 1));
  9664. for (var s6 = 1, n4 = 0; n4 < i6; n4++) {
  9665. var h2 = this.Cj.read(n4);
  9666. n4 == 0 && (s6 = 0 < h2 ? 1 : -1), 0 < h2 * s6 ? this.mb.tJ(n4, 4) : this.mb.EE(n4, 4);
  9667. }
  9668. this.Nf(8, false);
  9669. }
  9670. }, s5.prototype.nz = function(i6) {
  9671. var s6 = this.gb, n4 = this.ea();
  9672. if (0 <= s6 && s6 < n4) {
  9673. if (i6 < this.Wc(s6)) {
  9674. if (i6 >= this.Ca(s6))
  9675. return s6;
  9676. s6--;
  9677. } else
  9678. s6++;
  9679. if (0 <= s6 && s6 < n4 && i6 >= this.Ca(s6) && i6 < this.Wc(s6))
  9680. return this.gb = s6;
  9681. }
  9682. if (5 > n4) {
  9683. for (s6 = 0; s6 < n4; s6++)
  9684. if (i6 < this.Wc(s6))
  9685. return this.gb = s6;
  9686. throw t4.i.ga("corrupted geometry");
  9687. }
  9688. for (s6 = 0, --n4; n4 > s6; ) {
  9689. var h2 = s6 + (n4 - s6 >> 1);
  9690. if (i6 < this.Ca(h2))
  9691. n4 = h2 - 1;
  9692. else {
  9693. if (!(i6 >= (s6 = this.Wc(h2))))
  9694. return this.gb = h2;
  9695. s6 = h2 + 1;
  9696. }
  9697. }
  9698. return this.gb = s6;
  9699. }, s5.prototype.sz = function() {
  9700. var t5 = this.I();
  9701. if (!this.yf) {
  9702. t5 -= this.ea();
  9703. for (var i6 = 0, s6 = this.ea(); i6 < s6; i6++)
  9704. this.ec(i6) && t5++;
  9705. }
  9706. return t5;
  9707. }, s5.prototype.tv = function(t5) {
  9708. var i6 = this.Ka(t5);
  9709. return this.ec(t5) || i6--, i6;
  9710. }, s5.prototype.Ja = function() {
  9711. return new s5(this.yf, this.description);
  9712. }, s5.prototype.Eb = function() {
  9713. return this.yf ? 2 : 1;
  9714. }, s5.prototype.K = function() {
  9715. return this.yf ? 1736 : 1607;
  9716. }, s5.prototype.KJ = function(t5) {
  9717. this.nb = t5, this.Qc(16777215);
  9718. }, s5.prototype.OR = function() {
  9719. return this.vx(), this.Se;
  9720. }, s5.prototype.DR = function() {
  9721. return this.vx(), this.mb;
  9722. }, s5.prototype.JJ = function(t5) {
  9723. this.mb = t5, this.Qc(16777215);
  9724. }, s5.prototype.ea = function() {
  9725. return this.nb != null ? this.nb.size - 1 : 0;
  9726. }, s5.prototype.Wc = function(t5) {
  9727. return this.nb.read(t5 + 1);
  9728. }, s5.prototype.Ka = function(t5) {
  9729. return this.nb.read(t5 + 1) - this.nb.read(t5);
  9730. }, s5.prototype.Ca = function(t5) {
  9731. return this.nb.read(t5);
  9732. }, s5.prototype.nu = function(i6, s6) {
  9733. this.Cb == null && (this.Cb = new t4.Vk()), s6 = t4.Mx.hW(s6);
  9734. var n4 = this.Cb.Gk;
  9735. if (n4 != null) {
  9736. if (!(n4.Jk < i6 || s6 > n4.KR()))
  9737. return true;
  9738. this.Cb.sD(null);
  9739. }
  9740. return n4 = t4.Mx.create(this, i6, s6), this.Cb.sD(n4), true;
  9741. }, s5.prototype.dc = function() {
  9742. var t5 = i5.prototype.dc.call(this);
  9743. if (!this.Bc()) {
  9744. var s6 = this.ea();
  9745. this.nb != null && this.nb.Bn(t5, 0, s6 + 1), this.mb != null && this.mb.Bn(t5, 0, s6);
  9746. }
  9747. return t5;
  9748. }, s5.prototype.TF = function(t5) {
  9749. return this.Se != null ? this.Se.read(t5) : 1;
  9750. }, s5.prototype.cc = function(i6, s6, n4) {
  9751. var h2 = this.nz(i6);
  9752. if (i6 == this.Wc(h2) - 1 && !this.ec(h2))
  9753. throw t4.i.ga("index out of bounds");
  9754. this.rc();
  9755. var r2 = this.Se, e2 = 1;
  9756. if (r2 != null && (e2 = 7 & r2.read(i6)), e2 !== 1)
  9757. throw t4.i.Ra();
  9758. if (s6.Qr(), s6 = s6.get(), n4 ? s6.kg(t4.ee.og()) : s6.kg(this.description), h2 = i6 == this.Wc(h2) - 1 && this.ec(h2) ? this.Ca(h2) : i6 + 1, r2 = new t4.h(), this.D(i6, r2), s6.Ec(r2), this.D(h2, r2), s6.Rc(r2), !n4)
  9759. for (n4 = 1, r2 = this.description.Ba; n4 < r2; n4++) {
  9760. e2 = this.description.Fd(n4);
  9761. for (var o2 = t4.ua.Wa(e2), a2 = 0; a2 < o2; a2++) {
  9762. var u2 = this.Vc(e2, i6, a2);
  9763. s6.SB(e2, a2, u2), u2 = this.Vc(e2, h2, a2), s6.IB(e2, a2, u2);
  9764. }
  9765. }
  9766. }, s5.prototype.Tj = function(i6, s6) {
  9767. if (i6 >= this.ea())
  9768. throw t4.i.O();
  9769. if (this.B())
  9770. s6.Pa();
  9771. else {
  9772. if (this.Av(i6))
  9773. throw t4.i.ga("not implemented");
  9774. var n4 = this.vb(0), h2 = new t4.h(), r2 = new t4.l();
  9775. r2.Pa();
  9776. var e2 = this.Ca(i6);
  9777. for (i6 = this.Wc(i6); e2 < i6; e2++)
  9778. n4.uc(2 * e2, h2), r2.$b(h2);
  9779. s6.L(r2);
  9780. }
  9781. }, s5.prototype.hj = function(i6) {
  9782. return this.Cb == null && (this.Cb = new t4.Vk()), !(i6 == 0 || 16 > this.I()) && (i6 = t4.ta.hE(this), this.Cb.QM(i6), true);
  9783. }, s5.prototype.bM = function() {
  9784. if (this.Cb == null && (this.Cb = new t4.Vk()), this.Cb.Ao == null) {
  9785. this.Cb.rD(null);
  9786. var i6 = t4.ta.SN(this);
  9787. this.Cb.rD(i6);
  9788. }
  9789. }, s5.prototype.Zo = function(t5) {
  9790. this.zq = t5;
  9791. }, s5.prototype.Jn = function() {
  9792. return this.zq;
  9793. }, s5.prototype.xD = function(i6) {
  9794. if (this == i6)
  9795. throw t4.i.ga("MultiPathImpl.add");
  9796. for (var s6 = this.ea(), n4 = 0; n4 < i6.ea(); n4++)
  9797. this.addPath(i6, n4, true), this.uU(s6), s6++;
  9798. }, s5.prototype.eO = function(i6) {
  9799. var s6 = this.nz(i6), n4 = this.Ca(s6);
  9800. if (n4 != i6) {
  9801. if (i6 >= (s6 = this.Wc(s6)) || i6 < n4)
  9802. throw t4.i.ga("change_ring_start_point");
  9803. for (var h2 = 0, r2 = this.description.Ba; h2 < r2; h2++) {
  9804. var e2 = this.description.qd(h2);
  9805. e2 = t4.ua.Wa(e2), this.Aa[h2].rotate(n4 * e2, i6 * e2, s6 * e2);
  9806. }
  9807. }
  9808. }, s5;
  9809. }(t4.Fx);
  9810. t4.Wk = s4;
  9811. }(V || (V = {})), function(t4) {
  9812. var i4 = function(i5) {
  9813. function s4(s5) {
  9814. var n4 = i5.call(this) || this;
  9815. if (s5 !== void 0) {
  9816. if (s5 == null)
  9817. throw t4.i.O();
  9818. n4.description = s5;
  9819. } else
  9820. n4.description = t4.ee.og();
  9821. return n4.xa = 0, n4;
  9822. }
  9823. return Q(s4, i5), s4.prototype.Ja = function() {
  9824. return new s4(this.description);
  9825. }, s4.prototype.add = function(t5) {
  9826. this.resize(this.xa + 1), this.Fh(this.xa - 1, t5);
  9827. }, s4.prototype.Du = function(i6, s5) {
  9828. this.resize(this.xa + 1);
  9829. var n4 = new t4.h();
  9830. n4.na(i6, s5), this.Db(this.xa - 1, n4);
  9831. }, s4.prototype.Gd = function(i6, s5, n4) {
  9832. if (n4 = 0 > n4 ? i6.I() : n4, 0 > s5 || s5 > i6.I() || n4 < s5)
  9833. throw t4.i.O();
  9834. if (s5 != n4) {
  9835. this.Ll(i6.description), n4 -= s5;
  9836. var h2 = this.xa;
  9837. this.resize(this.xa + n4), this.rc();
  9838. for (var r2 = 0, e2 = i6.description.Ba; r2 < e2; r2++) {
  9839. var o2 = i6.description.Fd(r2), a2 = t4.ua.Wa(o2), u2 = this.vb(o2);
  9840. o2 = i6.vb(o2), u2.Nn(h2 * a2, o2, s5 * a2, n4 * a2, true, 1, h2 * a2);
  9841. }
  9842. }
  9843. }, s4.prototype.BD = function(i6, s5) {
  9844. var n4 = i6.length;
  9845. if (s5 = 0 > s5 ? n4 : s5, 0 > n4 || 0 > s5)
  9846. throw t4.i.O();
  9847. if (s5 != 0) {
  9848. n4 = s5 - 0, s5 = this.xa, this.resize(this.xa + n4);
  9849. for (var h2 = 0; h2 < n4; h2++)
  9850. this.Db(s5 + h2, i6[0 + h2]);
  9851. }
  9852. }, s4.prototype.xB = function(i6) {
  9853. if (0 > i6 || i6 >= this.I())
  9854. throw t4.i.ga("index out of bounds");
  9855. this.rc();
  9856. for (var s5 = 0, n4 = this.description.Ba; s5 < n4; s5++)
  9857. if (this.Aa[s5] != null) {
  9858. var h2 = t4.ua.Wa(this.description.Fd(s5));
  9859. this.Aa[s5].Fn(h2 * i6, h2, h2 * this.xa);
  9860. }
  9861. this.xa--, this.Rg--, this.Qc(1993);
  9862. }, s4.prototype.resize = function(t5) {
  9863. this.fm(t5);
  9864. }, s4.prototype.pp = function() {
  9865. }, s4.prototype.Pa = function() {
  9866. i5.prototype.qD.call(this);
  9867. }, s4.prototype.Pc = function(i6) {
  9868. if (i6 instanceof t4.Ed) {
  9869. if (this.B())
  9870. return;
  9871. this.rc();
  9872. for (var s5 = this.Aa[0], n4 = new t4.h(), h2 = 0; h2 < this.xa; h2++)
  9873. n4.x = s5.read(2 * h2), n4.y = s5.read(2 * h2 + 1), i6.Gh(n4, n4), s5.write(2 * h2, n4.x), s5.write(2 * h2 + 1, n4.y);
  9874. } else {
  9875. if (this.B())
  9876. return;
  9877. this.rc(), this.se(1), this.rc(), s5 = this.Aa[0], n4 = this.Aa[1];
  9878. var r2 = new t4.Od();
  9879. for (h2 = 0; h2 < this.xa; h2++) {
  9880. r2.x = s5.read(2 * h2), r2.y = s5.read(2 * h2 + 1), r2.z = n4.read(h2);
  9881. var e2 = i6.gp(r2);
  9882. s5.write(2 * h2, e2.x), s5.write(2 * h2 + 1, e2.y), n4.write(h2, e2.z);
  9883. }
  9884. }
  9885. this.Qc(1993);
  9886. }, s4.prototype.Eb = function() {
  9887. return 0;
  9888. }, s4.prototype.K = function() {
  9889. return 550;
  9890. }, s4.prototype.He = function() {
  9891. return 0;
  9892. }, s4.prototype.Rb = function() {
  9893. return 0;
  9894. }, s4.prototype.Nb = function(t5) {
  9895. return t5 == this || t5 instanceof s4 && i5.prototype.Nb.call(this, t5);
  9896. }, s4.prototype.dW = function(i6, s5) {
  9897. var n4 = this.xa;
  9898. if (n4 = Math.min(n4, s5 + 1e3), 0 > s5 || s5 >= this.xa || n4 < s5 || i6.length != 1e3)
  9899. throw t4.i.O();
  9900. var h2 = n4 - s5, r2 = [];
  9901. for (this.vb(0).Xw(2 * s5, 2 * h2, r2, 0, true), s5 = 0; s5 < h2; s5++)
  9902. i6[s5] = t4.h.construct(r2[2 * s5], r2[2 * s5 + 1]);
  9903. return n4;
  9904. }, s4.prototype.Zx = function() {
  9905. }, s4.prototype.ey = function() {
  9906. }, s4.prototype.nu = function() {
  9907. return false;
  9908. }, s4.prototype.hj = function() {
  9909. return false;
  9910. }, s4.prototype.mg = function() {
  9911. return null;
  9912. }, s4;
  9913. }(t4.Fx);
  9914. t4.de = i4;
  9915. }(V || (V = {})), function(t4) {
  9916. var i4;
  9917. (i4 = t4.cL || (t4.cL = {}))[i4.NotDetermined = 0] = "NotDetermined", i4[i4.Structure = 1] = "Structure", i4[i4.DegenerateSegments = 2] = "DegenerateSegments", i4[i4.Clustering = 3] = "Clustering", i4[i4.Cracking = 4] = "Cracking", i4[i4.CrossOver = 5] = "CrossOver", i4[i4.RingOrientation = 6] = "RingOrientation", i4[i4.RingOrder = 7] = "RingOrder", i4[i4.OGCPolylineSelfTangency = 8] = "OGCPolylineSelfTangency", i4[i4.OGCPolygonSelfTangency = 9] = "OGCPolygonSelfTangency", i4[i4.OGCDisconnectedInterior = 10] = "OGCDisconnectedInterior";
  9918. var s4 = function() {
  9919. function t5(t6, i5, s5) {
  9920. t6 === void 0 ? (this.Lj = 0, this.Lo = this.Ko = -1) : (this.Lj = t6, this.Ko = i5, this.Lo = s5);
  9921. }
  9922. return t5.prototype.Yt = function(t6) {
  9923. this.Lj = t6.Lj, this.Ko = t6.Ko, this.Lo = t6.Lo;
  9924. }, t5;
  9925. }();
  9926. t4.Nd = s4;
  9927. }(V || (V = {})), function(t4) {
  9928. t4.P = function() {
  9929. function i4() {
  9930. }
  9931. return i4.assert = function(i5) {
  9932. if (i5 === false)
  9933. throw t4.i.AK();
  9934. }, i4.WJ = function(t5) {
  9935. return isNaN(t5) ? NaN : t5 === 0 ? t5 : 0 < t5 ? 1 : -1;
  9936. }, i4.Hu = function(t5) {
  9937. var s4;
  9938. s4 === void 0 && (s4 = 0);
  9939. for (var n4 = [], h2 = 0; h2 < t5; h2++)
  9940. n4[h2] = i4.lg(2, s4);
  9941. return n4;
  9942. }, i4.lg = function(t5, i5) {
  9943. i5 === void 0 && (i5 = 0);
  9944. for (var s4 = [], n4 = 0; n4 < t5; n4++)
  9945. s4[n4] = i5;
  9946. return s4;
  9947. }, i4.bv = function(t5, i5) {
  9948. var s4, n4;
  9949. for (s4 === void 0 && (s4 = 0), n4 === void 0 && (n4 = t5.length - 1); s4 <= n4; s4++)
  9950. t5[s4] = i5;
  9951. }, i4.Sk = function(t5, i5, s4) {
  9952. return t5 < i5 ? i5 : t5 > s4 ? s4 : t5;
  9953. }, i4.Vh = function(t5, i5) {
  9954. var s4 = 5381;
  9955. return ((s4 = ((s4 = ((s4 = i5 !== void 0 ? (i5 << 5) + i5 + (255 & t5) : (s4 << 5) + s4 + (255 & t5)) << 5) + s4 + (t5 >> 8 & 255)) << 5) + s4 + (t5 >> 16 & 255)) << 5) + s4 + (t5 >> 24 & 255) & 2147483647;
  9956. }, i4.wj = function() {
  9957. throw Error("Not Implemented");
  9958. }, i4.WA = function(t5) {
  9959. return i4.TT(t5) + 12345 & 2147483647;
  9960. }, i4.QG = function(t5) {
  9961. var s4 = 32, n4 = t5 % i4.Px | 0, h2 = t5 / i4.Px | 0;
  9962. return (s4 &= 63) == 0 ? t5 : (32 > s4 ? (t5 = n4 >>> s4 | h2 << 32 - s4, s4 = h2 >> s4) : (t5 = h2 >> s4 - 32, s4 = 0 <= h2 ? 0 : -1), s4 * i4.Px + (t5 >>> 0));
  9963. }, i4.TT = function(t5) {
  9964. var i5 = 1103515245, s4 = 65535 & i5;
  9965. return ((i5 - s4) * (t5 |= 0) | 0) + (s4 * t5 | 0) | 0;
  9966. }, i4.truncate = function(t5) {
  9967. return 0 > t5 ? -1 * Math.floor(Math.abs(t5)) : Math.floor(t5);
  9968. }, i4.MAX_SAFE_INTEGER = Math.pow(2, 53) - 1, i4.MIN_SAFE_INTEGER = -i4.MAX_SAFE_INTEGER, i4.PC = 65536, i4.Px = i4.PC * i4.PC, i4;
  9969. }();
  9970. }(V || (V = {})), function(t4) {
  9971. var i4;
  9972. (i4 = t4.wL || (t4.wL = {}))[i4.Project = 0] = "Project", i4[i4.Union = 1] = "Union", i4[i4.Difference = 2] = "Difference", i4[i4.Proximity2D = 3] = "Proximity2D", i4[i4.Relate = 4] = "Relate", i4[i4.Equals = 5] = "Equals", i4[i4.Disjoint = 6] = "Disjoint", i4[i4.Intersects = 7] = "Intersects", i4[i4.Within = 8] = "Within", i4[i4.Contains = 9] = "Contains", i4[i4.Crosses = 10] = "Crosses", i4[i4.Touches = 11] = "Touches", i4[i4.Overlaps = 12] = "Overlaps", i4[i4.Buffer = 13] = "Buffer", i4[i4.Distance = 14] = "Distance", i4[i4.Intersection = 15] = "Intersection", i4[i4.Clip = 16] = "Clip", i4[i4.Cut = 17] = "Cut", i4[i4.DensifyByLength = 18] = "DensifyByLength", i4[i4.DensifyByAngle = 19] = "DensifyByAngle", i4[i4.LabelPoint = 20] = "LabelPoint", i4[i4.GeodesicBuffer = 21] = "GeodesicBuffer", i4[i4.GeodeticDensifyByLength = 22] = "GeodeticDensifyByLength", i4[i4.ShapePreservingDensify = 23] = "ShapePreservingDensify", i4[i4.GeodeticLength = 24] = "GeodeticLength", i4[i4.GeodeticArea = 25] = "GeodeticArea", i4[i4.Simplify = 26] = "Simplify", i4[i4.SimplifyOGC = 27] = "SimplifyOGC", i4[i4.Offset = 28] = "Offset", i4[i4.Generalize = 29] = "Generalize", i4[i4.SymmetricDifference = 30] = "SymmetricDifference", i4[i4.ConvexHull = 31] = "ConvexHull", i4[i4.Boundary = 32] = "Boundary", i4[i4.SimpleRelation = 33] = "SimpleRelation";
  9973. var s4 = function() {
  9974. function t5() {
  9975. }
  9976. return t5.prototype.K = function() {
  9977. return null;
  9978. }, t5.prototype.xn = function() {
  9979. }, t5.prototype.Ku = function() {
  9980. return false;
  9981. }, t5;
  9982. }();
  9983. t4.Ge = s4;
  9984. }(V || (V = {})), function(t4) {
  9985. var i4 = function(i5) {
  9986. function s4() {
  9987. return i5 !== null && i5.apply(this, arguments) || this;
  9988. }
  9989. return Q(s4, i5), s4.prototype.K = function() {
  9990. return 13;
  9991. }, s4.local = function() {
  9992. return s4.instance === null && (s4.instance = new s4()), s4.instance;
  9993. }, s4.prototype.W = function(i6, s5, n4, h2, r2) {
  9994. return i6 instanceof t4.ba ? (r2 = new t4.$c(i6), this.W(r2, s5, [n4], false, h2).next()) : h2 === true ? (n4 = new t4.vC(i6, s5, n4, false, r2), t4.Ih.local().W(n4, s5, r2)) : new t4.vC(i6, s5, n4, false, r2);
  9995. }, s4.instance = null, s4;
  9996. }(t4.Ge);
  9997. t4.uC = i4;
  9998. }(V || (V = {})), function(t4) {
  9999. var i4 = function() {
  10000. function i5(i6, s4, n4, h2, r2) {
  10001. this.za = -1, this.Sd = i6, this.Vz = s4, this.Es = n4, this.kT = new t4.l(), this.kT.Pa(), this.fo = -1, this.Vb = r2;
  10002. }
  10003. return i5.prototype.next = function() {
  10004. for (var t5; (t5 = this.Sd.next()) != null; )
  10005. return this.za = this.Sd.Ma(), this.fo + 1 < this.Es.length && this.fo++, this.buffer(t5, this.Es[this.fo]);
  10006. return null;
  10007. }, i5.prototype.Ma = function() {
  10008. return this.za;
  10009. }, i5.prototype.buffer = function(i6, s4) {
  10010. return t4.BK.buffer(i6, s4, this.Vz, NaN, 96, this.Vb);
  10011. }, i5.prototype.qe = function() {
  10012. }, i5;
  10013. }();
  10014. t4.vC = i4;
  10015. }(V || (V = {})), function(t4) {
  10016. var i4 = function(i5) {
  10017. function s4() {
  10018. return i5 !== null && i5.apply(this, arguments) || this;
  10019. }
  10020. return Q(s4, i5), s4.prototype.K = function() {
  10021. return 16;
  10022. }, s4.local = function() {
  10023. return s4.instance === null && (s4.instance = new s4()), s4.instance;
  10024. }, s4.prototype.W = function(i6, s5, n4, h2) {
  10025. return i6 instanceof t4.ba ? (i6 = new t4.$c(i6), this.W(i6, s5, n4, h2).next()) : new t4.fL(i6, s5, n4, h2);
  10026. }, s4.instance = null, s4;
  10027. }(t4.Ge);
  10028. t4.eL = i4;
  10029. }(V || (V = {})), function(t4) {
  10030. var i4 = function() {
  10031. function i5(i6, s4, n4) {
  10032. if (this.za = -1, i6 == null)
  10033. throw t4.i.O();
  10034. this.aa = s4, this.zk = i6, this.ra = t4.ta.Xd(n4, s4, false);
  10035. }
  10036. return i5.prototype.next = function() {
  10037. var i6;
  10038. return (i6 = this.zk.next()) != null ? (this.za = this.zk.Ma(), t4.Vd.clip(i6, this.aa, this.ra, 0)) : null;
  10039. }, i5.prototype.Ma = function() {
  10040. return this.za;
  10041. }, i5.prototype.qe = function() {
  10042. }, i5;
  10043. }();
  10044. t4.fL = i4;
  10045. }(V || (V = {})), function(t4) {
  10046. var i4 = function(i5) {
  10047. function s4() {
  10048. return i5 !== null && i5.apply(this, arguments) || this;
  10049. }
  10050. return Q(s4, i5), s4.prototype.K = function() {
  10051. return 31;
  10052. }, s4.local = function() {
  10053. return s4.instance === null && (s4.instance = new s4()), s4.instance;
  10054. }, s4.prototype.W = function(i6, s5, n4) {
  10055. return i6 instanceof t4.ba ? t4.xC.lE(i6) : new t4.xC(s5, i6, n4);
  10056. }, s4.instance = null, s4;
  10057. }(t4.Ge);
  10058. t4.wC = i4;
  10059. }(V || (V = {})), function(t4) {
  10060. var i4 = function() {
  10061. function i5(i6, s4, n4) {
  10062. if (this.oA = new t4.au(), this.za = -1, s4 == null)
  10063. throw t4.i.O();
  10064. this.XG = i6, this.Jc = false, this.zk = s4, this.Vb = n4;
  10065. }
  10066. return i5.prototype.next = function() {
  10067. if (this.XG) {
  10068. if (!this.Jc) {
  10069. var t5 = this.YN(this.zk);
  10070. return this.Jc = true, t5;
  10071. }
  10072. return null;
  10073. }
  10074. if (!this.Jc) {
  10075. if ((t5 = this.zk.next()) != null)
  10076. return this.za = this.zk.Ma(), i5.lE(t5);
  10077. this.Jc = true;
  10078. }
  10079. return null;
  10080. }, i5.prototype.Ma = function() {
  10081. return this.za;
  10082. }, i5.prototype.YN = function(t5) {
  10083. for (var i6; (i6 = t5.next()) != null; )
  10084. this.oA.Ib(i6);
  10085. return this.oA.XQ();
  10086. }, i5.prototype.qe = function() {
  10087. if (!this.Jc) {
  10088. if (!this.XG)
  10089. throw t4.i.ga("Invalid call for non merging convex hull.");
  10090. var i6 = this.zk.next();
  10091. if (i6 == null)
  10092. throw t4.i.ga("Expects a non-null geometry.");
  10093. this.oA.Ib(i6);
  10094. }
  10095. }, i5.lE = function(s4) {
  10096. if (i5.NS(s4))
  10097. return s4;
  10098. var n4 = s4.K();
  10099. if (t4.Wk.zd(n4))
  10100. return (n4 = new t4.Ua(s4.description)).oc(s4, true), n4;
  10101. if (n4 == 550 && s4.I() == 2) {
  10102. var h2 = new t4.Ta();
  10103. return n4 = new t4.Ua(s4.description), s4.we(0, h2), n4.nf(h2), s4.we(1, h2), n4.lineTo(h2), n4;
  10104. }
  10105. return t4.au.LO(s4);
  10106. }, i5.NS = function(i6) {
  10107. if (i6.B())
  10108. return true;
  10109. var s4 = i6.K();
  10110. return s4 == 33 || s4 == 197 || !t4.Wk.zd(s4) && (s4 == 550 ? i6.I() == 1 : s4 == 1607 ? i6.ea() == 1 && 2 >= i6.I() : i6.ea() == 1 && (2 >= i6.I() || t4.au.DG(i6, 0)));
  10111. }, i5;
  10112. }();
  10113. t4.xC = i4;
  10114. }(V || (V = {})), function(t4) {
  10115. var i4 = function(i5) {
  10116. function s4() {
  10117. return i5 !== null && i5.apply(this, arguments) || this;
  10118. }
  10119. return Q(s4, i5), s4.prototype.K = function() {
  10120. return 17;
  10121. }, s4.local = function() {
  10122. return s4.instance === null && (s4.instance = new s4()), s4.instance;
  10123. }, s4.prototype.W = function(i6, s5, n4, h2, r2) {
  10124. return new t4.hL(i6, s5, n4, h2, r2);
  10125. }, s4.instance = null, s4;
  10126. }(t4.Ge);
  10127. t4.gL = i4;
  10128. }(V || (V = {})), function(t4) {
  10129. var i4 = function() {
  10130. function i5(i6, s4, n4, h2, r2) {
  10131. if (this.Uf = null, s4 == null || n4 == null)
  10132. throw t4.i.ga("invalid argument");
  10133. this.hT = i6, this.hA = s4, this.fH = n4, i6 = t4.ta.ov(s4, n4), this.ra = t4.ta.Xd(h2, i6, true), this.eH = -1, this.nd = r2;
  10134. }
  10135. return i5.prototype.Ma = function() {
  10136. return 0;
  10137. }, i5.prototype.next = function() {
  10138. return this.LQ(), ++this.eH < this.Uf.length ? this.Uf[this.eH] : null;
  10139. }, i5.prototype.LQ = function() {
  10140. if (this.Uf == null)
  10141. switch (this.Uf = [], this.hA.K()) {
  10142. case 1607:
  10143. this.NQ();
  10144. break;
  10145. case 1736:
  10146. this.MQ();
  10147. }
  10148. }, i5.prototype.NQ = function() {
  10149. var i6 = new t4.Ua(), s4 = new t4.Ua(), n4 = new t4.Ua();
  10150. this.Uf.push(i6), this.Uf.push(s4);
  10151. var h2 = [];
  10152. t4.FK.DK(this.hT, this.hA, this.fH, this.ra, h2, this.nd);
  10153. for (var r2 = 0; r2 < h2.length; r2++) {
  10154. var e2 = h2[r2];
  10155. if (e2.ct == 0)
  10156. i6.add(e2.Y, false);
  10157. else if (e2.ct == 1 || e2.ct == 2)
  10158. s4.add(e2.Y, false);
  10159. else if (e2.ct == 3)
  10160. this.Uf.push(e2.Y);
  10161. else {
  10162. if (e2.ct != 4)
  10163. throw t4.i.ga("internal");
  10164. n4.add(e2.Y, false);
  10165. }
  10166. }
  10167. n4.B() || i6.B() && s4.B() && !(3 <= this.Uf.length) || this.Uf.push(n4), i6.B() && s4.B() && 3 > this.Uf.length && (this.Uf.length = 0);
  10168. }, i5.prototype.MQ = function() {
  10169. var i6 = new t4.ja(0), s4 = new t4.hd(), n4 = s4.VE(), h2 = s4.Ib(this.hA), r2 = s4.Ib(this.fH), e2 = new t4.Hg();
  10170. try {
  10171. e2.Gt(s4, this.ra, this.nd), e2.fl(n4, h2, r2, i6);
  10172. var o2 = s4.Ke(h2), a2 = new t4.Ea(), u2 = new t4.Ea();
  10173. for (this.Uf.length = 0, this.Uf.push(a2), this.Uf.push(u2), h2 = 0; h2 < i6.size; h2++) {
  10174. var f2 = new t4.hd(), c2 = f2.Ib(o2), l2 = f2.Ib(s4.Ke(i6.get(h2)));
  10175. e2.fr(f2, this.nd);
  10176. var p2 = e2.Cv(c2, l2), v2 = f2.Ke(p2);
  10177. if (!v2.B()) {
  10178. var y2 = s4.EF(i6.get(h2), n4);
  10179. y2 == 2 ? a2.add(v2, false) : y2 == 1 ? u2.add(v2, false) : this.Uf.push(v2);
  10180. var b2 = new t4.hd();
  10181. c2 = b2.Ib(o2), l2 = b2.Ib(s4.Ke(i6.get(h2))), e2.fr(b2, this.nd), o2 = b2.Ke(e2.km(c2, l2));
  10182. }
  10183. }
  10184. !o2.B() && 0 < i6.size && this.Uf.push(o2), a2.B() && u2.B() && (this.Uf.length = 0);
  10185. } finally {
  10186. e2.Wg();
  10187. }
  10188. }, i5.prototype.qe = function() {
  10189. }, i5;
  10190. }();
  10191. t4.hL = i4;
  10192. }(V || (V = {})), function(t4) {
  10193. var i4 = function(i5) {
  10194. function s4() {
  10195. return i5 !== null && i5.apply(this, arguments) || this;
  10196. }
  10197. return Q(s4, i5), s4.prototype.K = function() {
  10198. return 18;
  10199. }, s4.local = function() {
  10200. return s4.instance === null && (s4.instance = new s4()), s4.instance;
  10201. }, s4.prototype.W = function(i6, s5, n4) {
  10202. if (i6 instanceof t4.ba)
  10203. return i6 = new t4.$c(i6), this.W(i6, s5, n4).next();
  10204. if (0 >= s5)
  10205. throw t4.i.O();
  10206. return new t4.iL(i6, s5, n4);
  10207. }, s4.instance = null, s4;
  10208. }(t4.Ge);
  10209. t4.Zl = i4;
  10210. }(V || (V = {})), function(t4) {
  10211. var i4 = function() {
  10212. function i5(t5, i6) {
  10213. this.za = -1, this.Sd = t5, this.Rs = i6;
  10214. }
  10215. return i5.prototype.Ma = function() {
  10216. return this.za;
  10217. }, i5.prototype.next = function() {
  10218. var t5;
  10219. return (t5 = this.Sd.next()) != null ? (this.za = this.Sd.Ma(), this.HP(t5)) : null;
  10220. }, i5.prototype.HP = function(i6) {
  10221. if (i6.B() || 1 > i6.Eb())
  10222. return i6;
  10223. var s4 = i6.K();
  10224. if (s4 == 1736 || s4 == 1607)
  10225. return this.Iy(i6);
  10226. if (t4.ba.zd(s4))
  10227. return this.JP(i6);
  10228. if (s4 == 197)
  10229. return this.IP(i6);
  10230. throw t4.i.Ra();
  10231. }, i5.prototype.JP = function(i6) {
  10232. if (i6.Rb() <= this.Rs)
  10233. return i6;
  10234. var s4 = new t4.Ua(i6.description);
  10235. return s4.oc(i6, true), this.Iy(s4);
  10236. }, i5.prototype.IP = function(i6) {
  10237. var s4 = new t4.Ea(i6.description);
  10238. s4.bd(i6, false);
  10239. var n4 = new t4.l();
  10240. return i6.A(n4), i6 = n4.da(), n4.S() <= this.Rs && i6 <= this.Rs ? s4 : this.Iy(s4);
  10241. }, i5.prototype.Iy = function(i6) {
  10242. for (var s4 = i6.Ja(), n4 = i6.Ha(); n4.ab(); )
  10243. for (var h2 = true; n4.Ia(); ) {
  10244. var r2 = n4.ia();
  10245. if (r2.K() != 322)
  10246. throw t4.i.ga("not implemented");
  10247. var e2 = n4.Pn(), o2 = r2.Rb();
  10248. if (o2 > this.Rs) {
  10249. var a2 = Math.ceil(o2 / this.Rs);
  10250. o2 = new t4.Ta(i6.description), h2 && (r2.Uo(o2), s4.nf(o2));
  10251. var u2 = h2 = 1 / a2, f2 = 0;
  10252. for (--a2; f2 < a2; f2++)
  10253. r2.Vw(u2, o2), s4.lineTo(o2), u2 += h2;
  10254. e2 ? s4.Cp() : (r2.Qo(o2), s4.lineTo(o2));
  10255. } else
  10256. e2 ? s4.Cp() : s4.oc(r2, h2);
  10257. h2 = false;
  10258. }
  10259. return s4;
  10260. }, i5.prototype.qe = function() {
  10261. }, i5;
  10262. }();
  10263. t4.iL = i4;
  10264. }(V || (V = {})), function(t4) {
  10265. var i4 = function(i5) {
  10266. function s4() {
  10267. return i5 !== null && i5.apply(this, arguments) || this;
  10268. }
  10269. return Q(s4, i5), s4.local = function() {
  10270. return s4.instance === null && (s4.instance = new s4()), s4.instance;
  10271. }, s4.prototype.K = function() {
  10272. return 2;
  10273. }, s4.prototype.W = function(i6, s5, n4, h2) {
  10274. return i6 instanceof t4.ba ? (i6 = new t4.$c(i6), s5 = new t4.$c(s5), this.W(i6, s5, n4, h2).next()) : new t4.jL(i6, s5, n4, h2);
  10275. }, s4.km = function(i6, n4, h2, r2) {
  10276. if (i6.B() || n4.B())
  10277. return i6;
  10278. var e2 = i6.Eb(), o2 = n4.Eb();
  10279. if (e2 > o2)
  10280. return i6;
  10281. var a2 = i6.K(), u2 = n4.K(), f2 = new t4.l(), c2 = new t4.l(), l2 = new t4.l();
  10282. i6.A(f2), n4.A(c2), l2.L(f2), l2.$b(c2);
  10283. var p2 = (l2 = t4.ta.Xd(h2, l2, true)) * Math.sqrt(2) * 1.00001, v2 = new t4.l();
  10284. if (v2.L(f2), v2.X(p2, p2), !v2.isIntersecting(c2))
  10285. return i6;
  10286. if (e2 == 1 && o2 == 2)
  10287. return s4.CV(i6, n4, u2, h2, r2);
  10288. if (a2 == 33)
  10289. switch (t4.Wk.zd(u2) ? (h2 = new t4.Ua(n4.description), h2.oc(n4, true)) : h2 = n4, u2) {
  10290. case 1736:
  10291. return s4.PU(i6, h2, l2);
  10292. case 1607:
  10293. return s4.QU(i6, h2, l2);
  10294. case 550:
  10295. return s4.NU(i6, h2, l2);
  10296. case 197:
  10297. return s4.MU(i6, h2, l2);
  10298. case 33:
  10299. return s4.OU(i6, h2, l2);
  10300. default:
  10301. throw t4.i.O();
  10302. }
  10303. else if (a2 == 550)
  10304. switch (u2) {
  10305. case 1736:
  10306. return s4.fU(i6, n4, l2);
  10307. case 197:
  10308. return s4.dU(i6, n4, l2);
  10309. case 33:
  10310. return s4.eU(i6, n4, l2);
  10311. }
  10312. return t4.Hg.km(i6, n4, h2, r2);
  10313. }, s4.PU = function(i6, s5, n4) {
  10314. return t4.jd.EG(s5, i6, n4) == 0 ? i6 : i6.Ja();
  10315. }, s4.QU = function(i6, s5, n4) {
  10316. var h2 = i6.D();
  10317. s5 = s5.Ha();
  10318. for (var r2 = n4 * Math.sqrt(2) * 1.00001, e2 = r2 * r2, o2 = new t4.l(); s5.ab(); )
  10319. for (; s5.Ia(); ) {
  10320. var a2 = s5.ia();
  10321. if (a2.A(o2), o2.X(r2, r2), o2.contains(h2)) {
  10322. if (a2.ss(h2, n4))
  10323. return i6.Ja();
  10324. var u2 = a2.ac();
  10325. if (t4.h.zc(h2, u2) <= e2)
  10326. return i6.Ja();
  10327. if (u2 = a2.xc(), t4.h.zc(h2, u2) <= e2)
  10328. return i6.Ja();
  10329. }
  10330. }
  10331. return i6;
  10332. }, s4.NU = function(i6, s5, n4) {
  10333. var h2 = s5.vb(0);
  10334. s5 = s5.I();
  10335. var r2 = i6.D(), e2 = new t4.h();
  10336. n4 = n4 * Math.sqrt(2) * 1.00001, n4 *= n4;
  10337. for (var o2 = 0; o2 < s5; o2++)
  10338. if (h2.uc(2 * o2, e2), t4.h.zc(e2, r2) <= n4)
  10339. return i6.Ja();
  10340. return i6;
  10341. }, s4.MU = function(i6, s5, n4) {
  10342. var h2 = new t4.l();
  10343. return s5.A(h2), h2.X(n4, n4), s5 = i6.D(), h2.contains(s5) ? i6.Ja() : i6;
  10344. }, s4.OU = function(i6, s5, n4) {
  10345. n4 = n4 * Math.sqrt(2) * 1.00001, n4 *= n4;
  10346. var h2 = i6.D();
  10347. return s5 = s5.D(), t4.h.zc(h2, s5) <= n4 ? i6.Ja() : i6;
  10348. }, s4.fU = function(i6, s5, n4) {
  10349. var h2 = new t4.l();
  10350. s5.A(h2), h2.X(n4, n4);
  10351. for (var r2 = i6.I(), e2 = false, o2 = [], a2 = 0; a2 < r2; a2++)
  10352. o2[a2] = false;
  10353. var u2 = new t4.h();
  10354. for (a2 = 0; a2 < r2; a2++)
  10355. i6.D(a2, u2), h2.contains(u2) && t4.jd.Zd(s5, u2, n4) != 0 && (e2 = true, o2[a2] = true);
  10356. if (!e2)
  10357. return i6;
  10358. for (s5 = i6.Ja(), a2 = 0; a2 < r2; a2++)
  10359. o2[a2] || s5.Gd(i6, a2, a2 + 1);
  10360. return s5;
  10361. }, s4.dU = function(i6, s5, n4) {
  10362. var h2 = new t4.l();
  10363. s5.A(h2), h2.X(n4, n4), s5 = i6.I();
  10364. var r2 = false;
  10365. n4 = [];
  10366. for (var e2 = 0; e2 < s5; e2++)
  10367. n4[e2] = false;
  10368. var o2 = new t4.h();
  10369. for (e2 = 0; e2 < s5; e2++)
  10370. i6.D(e2, o2), h2.contains(o2) && (r2 = true, n4[e2] = true);
  10371. if (!r2)
  10372. return i6;
  10373. for (h2 = i6.Ja(), e2 = 0; e2 < s5; e2++)
  10374. n4[e2] || h2.Gd(i6, e2, e2 + 1);
  10375. return h2;
  10376. }, s4.eU = function(i6, s5, n4) {
  10377. var h2 = i6.vb(0), r2 = i6.I(), e2 = s5.D(), o2 = new t4.h(), a2 = false;
  10378. s5 = [];
  10379. for (var u2 = 0; u2 < r2; u2++)
  10380. s5[u2] = false;
  10381. for (n4 = (u2 = n4 * Math.sqrt(2) * 1.00001) * u2, u2 = 0; u2 < r2; u2++)
  10382. h2.uc(2 * u2, o2), t4.h.zc(o2, e2) <= n4 && (a2 = true, s5[u2] = true);
  10383. if (!a2)
  10384. return i6;
  10385. for (h2 = i6.Ja(), u2 = 0; u2 < r2; u2++)
  10386. s5[u2] || h2.Gd(i6, u2, u2 + 1);
  10387. return h2;
  10388. }, s4.CV = function(i6, s5, n4, h2, r2) {
  10389. var e2 = new t4.Hh();
  10390. i6.dn(e2);
  10391. var o2 = new t4.l();
  10392. return s5.A(o2), e2.$b(o2), e2.X(0.1 * e2.S(), 0.1 * e2.da()), (o2 = new t4.Ea()).bd(e2, false), n4 == 1736 ? o2.add(s5, true) : o2.bd(s5, true), t4.Xk.local().W(i6, o2, h2, r2);
  10393. }, s4.instance = null, s4;
  10394. }(t4.Ge);
  10395. t4.lp = i4;
  10396. }(V || (V = {})), function(t4) {
  10397. var i4 = function() {
  10398. function i5(t5, i6, s4, n4) {
  10399. this.vs = i6 == null, this.za = -1, this.Sd = t5, this.Vz = s4, this.nT = i6.next(), this.Vb = n4;
  10400. }
  10401. return i5.prototype.next = function() {
  10402. return this.vs ? null : (i6 = this.Sd.next()) != null ? (this.za = this.Sd.Ma(), t4.lp.km(i6, this.nT, this.Vz, this.Vb)) : null;
  10403. var i6;
  10404. }, i5.prototype.Ma = function() {
  10405. return this.za;
  10406. }, i5.prototype.qe = function() {
  10407. }, i5;
  10408. }();
  10409. t4.jL = i4;
  10410. }(V || (V = {})), function(t4) {
  10411. var i4 = function() {
  10412. function i5(i6) {
  10413. this.nd = i6, this.Dj = new t4.l(), this.Dj.Pa(), this.qh = new t4.l(), this.qh.Pa();
  10414. }
  10415. return i5.prototype.Pt = function() {
  10416. var t5 = this.Dj.v;
  10417. this.Dj.v = this.qh.v, this.qh.v = t5, t5 = this.Dj.C, this.Dj.C = this.qh.C, this.qh.C = t5, t5 = this.Dj.G, this.Dj.G = this.qh.G, this.qh.G = t5, t5 = this.Dj.H, this.Dj.H = this.qh.H, this.qh.H = t5;
  10418. }, i5.prototype.ZP = function(i6, s5) {
  10419. if (this.nd != null && !this.nd.progress(-1, -1))
  10420. throw t4.i.hu("user_canceled");
  10421. var n4 = !this.Dj.isIntersecting(this.qh);
  10422. return t4.ba.Ic(i6.K()) && t4.ba.Ic(s5.K()) ? i6.I() > s5.I() ? this.aE(i6, s5, n4) : (this.Pt(), i6 = this.aE(s5, i6, n4), this.Pt(), i6) : i6.K() == 550 && t4.ba.Ic(s5.K()) ? (i6 = this.bE(s5, i6, n4), this.Pt(), i6) : s5.K() == 550 && t4.ba.Ic(i6.K()) ? this.bE(i6, s5, n4) : i6.K() == 550 && s5.K() == 550 ? i6.I() > s5.I() ? this.cE(i6, s5) : (this.Pt(), i6 = this.cE(s5, i6), this.Pt(), i6) : 0;
  10423. }, i5.prototype.aE = function(i6, s5, n4) {
  10424. var h2 = i6.Ha(), r2 = s5.Ha(), e2 = new t4.l(), o2 = new t4.l(), a2 = 17976931348623157e292;
  10425. if (!n4 && this.hY(i6, s5, h2, r2))
  10426. return 0;
  10427. for (; h2.ab(); )
  10428. for (; h2.Ia(); )
  10429. if ((i6 = h2.ia()).A(e2), !(e2.px(this.qh) > a2)) {
  10430. for (; r2.ab(); )
  10431. for (; r2.Ia(); )
  10432. if ((s5 = r2.ia()).A(o2), e2.px(o2) < a2 && (s5 = i6.ub(s5, n4), (s5 *= s5) < a2)) {
  10433. if (s5 == 0)
  10434. return 0;
  10435. a2 = s5;
  10436. }
  10437. r2.aj();
  10438. }
  10439. return Math.sqrt(a2);
  10440. }, i5.prototype.bE = function(i6, s5, n4) {
  10441. var h2 = i6.Ha(), r2 = new t4.l(), e2 = 17976931348623157e292, o2 = new t4.h(), a2 = s5.I();
  10442. for (n4 = !n4 && i6.K() == 1736; h2.ab(); )
  10443. for (; h2.Ia(); ) {
  10444. var u2 = h2.ia();
  10445. if (u2.A(r2), !(1 < a2 && r2.px(this.qh) > e2)) {
  10446. for (var f2 = 0; f2 < a2; f2++) {
  10447. if (s5.D(f2, o2), n4 && t4.jd.Zd(i6, o2, 0) != 0)
  10448. return 0;
  10449. var c2 = u2.fe(o2, false);
  10450. if (o2.sub(u2.ic(c2)), (c2 = o2.Tk()) < e2) {
  10451. if (c2 == 0)
  10452. return 0;
  10453. e2 = c2;
  10454. }
  10455. }
  10456. n4 = false;
  10457. }
  10458. }
  10459. return Math.sqrt(e2);
  10460. }, i5.prototype.cE = function(i6, s5) {
  10461. for (var n4, h2 = 17976931348623157e292, r2 = new t4.h(), e2 = new t4.h(), o2 = i6.I(), a2 = s5.I(), u2 = 0; u2 < o2; u2++)
  10462. if (i6.D(u2, r2), !(1 < a2 && this.qh.cK(r2) > h2)) {
  10463. for (var f2 = 0; f2 < a2; f2++)
  10464. if (s5.D(f2, e2), (n4 = t4.h.zc(r2, e2)) < h2) {
  10465. if (n4 == 0)
  10466. return 0;
  10467. h2 = n4;
  10468. }
  10469. }
  10470. return Math.sqrt(h2);
  10471. }, i5.prototype.hY = function(i6, s5, n4, h2) {
  10472. if (i6.K() == 1736) {
  10473. for (; h2.ab(); )
  10474. if (h2.Ia()) {
  10475. var r2 = h2.ia();
  10476. if (t4.jd.Zd(i6, r2.xc(), 0) != 0)
  10477. return true;
  10478. }
  10479. h2.aj();
  10480. }
  10481. if (s5.K() == 1736) {
  10482. for (; n4.ab(); )
  10483. if (n4.Ia() && (i6 = n4.ia(), t4.jd.Zd(s5, i6.xc(), 0) != 0))
  10484. return true;
  10485. n4.aj();
  10486. }
  10487. return false;
  10488. }, i5.prototype.im = function(t5, i6) {
  10489. return t5.B() || i6.B() ? NaN : (t5.A(this.Dj), i6.A(this.qh), this.ZP(t5, i6));
  10490. }, i5;
  10491. }(), s4 = function(s5) {
  10492. function n4() {
  10493. return s5 !== null && s5.apply(this, arguments) || this;
  10494. }
  10495. return Q(n4, s5), n4.prototype.W = function(s6, n5, h2) {
  10496. if (s6 == null || n5 == null)
  10497. throw t4.i.O();
  10498. if (s6.B() || n5.B())
  10499. return NaN;
  10500. var r2 = s6.K(), e2 = n5.K();
  10501. if (r2 == 33) {
  10502. if (e2 == 33)
  10503. return t4.h.ub(s6.D(), n5.D());
  10504. if (e2 == 197)
  10505. return h2 = new t4.l(), n5.A(h2), h2.ub(s6.D());
  10506. (r2 = new t4.de()).add(s6), s6 = r2;
  10507. } else if (r2 == 197) {
  10508. if (e2 == 197)
  10509. return e2 = new t4.l(), s6.A(e2), h2 = new t4.l(), n5.A(h2), h2.ub(e2);
  10510. (r2 = new t4.Ea()).bd(s6, false), s6 = r2;
  10511. }
  10512. return e2 == 33 ? ((e2 = new t4.de()).add(n5), n5 = e2) : e2 == 197 && ((e2 = new t4.Ea()).bd(n5, false), n5 = e2), new i4(h2).im(s6, n5);
  10513. }, n4.local = function() {
  10514. return n4.instance === null && (n4.instance = new n4()), n4.instance;
  10515. }, n4.prototype.K = function() {
  10516. return 14;
  10517. }, n4.instance = null, n4;
  10518. }(t4.Ge);
  10519. t4.kL = s4;
  10520. }(V || (V = {})), function(t4) {
  10521. var i4 = function() {
  10522. function i5(t5, i6, s4, n4) {
  10523. this.tH = t5, this.xH = i6, this.nd = n4, this.UG = s4;
  10524. }
  10525. return i5.prototype.next = function() {
  10526. var t5 = this.tH.next();
  10527. return t5 == null ? null : this.tC(t5);
  10528. }, i5.prototype.Ma = function() {
  10529. return this.tH.Ma();
  10530. }, i5.prototype.tC = function(i6) {
  10531. var s4 = i6.K();
  10532. if (t4.ba.Sn(s4))
  10533. return i6;
  10534. if (s4 == 197)
  10535. return (s4 = new t4.Ea(i6.description)).bd(i6, false), this.tC(s4);
  10536. if (i6.B())
  10537. return i6;
  10538. if (i6 == null)
  10539. throw t4.i.Ra();
  10540. s4 = i6.Ja();
  10541. for (var n4 = new t4.zb(), h2 = 0, r2 = i6.ea(); h2 < r2; h2++)
  10542. this.NK(i6, h2, s4, n4);
  10543. return s4;
  10544. }, i5.prototype.NK = function(i6, s4, n4, h2) {
  10545. if (!(2 > i6.Ka(s4))) {
  10546. var r2 = i6.Ca(s4), e2 = i6.Wc(s4) - 1, o2 = i6.vb(0), a2 = i6.ec(s4), u2 = new t4.ja(0);
  10547. u2.Jb(i6.Ka(s4) + 1);
  10548. var f2 = new t4.ja(0);
  10549. for (f2.Jb(i6.Ka(s4) + 1), u2.add(a2 ? r2 : e2), u2.add(r2), r2 = new t4.h(); 1 < u2.size; ) {
  10550. var c2 = u2.Gc();
  10551. u2.Jf();
  10552. var l2 = u2.Gc();
  10553. i6.D(c2, r2), h2.Ec(r2), i6.D(l2, r2), h2.Rc(r2), 0 <= (l2 = this.MK(h2, r2, o2, c2, l2, e2)) ? (u2.add(l2), u2.add(c2)) : f2.add(c2);
  10554. }
  10555. if (a2 || f2.add(u2.get(0)), f2.size == u2.size)
  10556. n4.addPath(i6, s4, true);
  10557. else if (2 <= f2.size && (!this.UG || f2.size != 2 || !(a2 || t4.h.ub(i6.Oa(f2.get(0)), i6.Oa(f2.get(1))) <= this.xH))) {
  10558. for (s4 = new t4.Ta(), h2 = 0, e2 = f2.size; h2 < e2; h2++)
  10559. i6.we(f2.get(h2), s4), h2 == 0 ? n4.nf(s4) : n4.lineTo(s4);
  10560. a2 && (this.UG || f2.size != 2 || n4.lineTo(s4), n4.Cp());
  10561. }
  10562. }
  10563. }, i5.prototype.MK = function(t5, i6, s4, n4, h2, r2) {
  10564. var e2 = h2 - 1;
  10565. for (h2 <= n4 && (e2 = r2), r2 = h2 = -1, n4 += 1; n4 <= e2; n4++) {
  10566. s4.uc(2 * n4, i6);
  10567. var o2 = i6.x, a2 = i6.y;
  10568. t5.ic(t5.fe(i6, false), i6), i6.x -= o2, i6.y -= a2, (o2 = i6.length()) > this.xH && o2 > r2 && (h2 = n4, r2 = o2);
  10569. }
  10570. return h2;
  10571. }, i5.prototype.qe = function() {
  10572. }, i5;
  10573. }();
  10574. t4.lL = i4;
  10575. }(V || (V = {})), function(t4) {
  10576. var i4 = function(i5) {
  10577. function s4() {
  10578. return i5 !== null && i5.apply(this, arguments) || this;
  10579. }
  10580. return Q(s4, i5), s4.prototype.K = function() {
  10581. return 29;
  10582. }, s4.prototype.W = function(i6, s5, n4, h2) {
  10583. return i6 instanceof t4.ba ? (i6 = new t4.$c(i6), this.W(i6, s5, n4, h2).next()) : new t4.lL(i6, s5, n4, h2);
  10584. }, s4.local = function() {
  10585. return s4.instance === null && (s4.instance = new s4()), s4.instance;
  10586. }, s4.instance = null, s4;
  10587. }(t4.Ge);
  10588. t4.yC = i4;
  10589. }(V || (V = {})), function(t4) {
  10590. var i4 = function(i5) {
  10591. function s4() {
  10592. return i5 !== null && i5.apply(this, arguments) || this;
  10593. }
  10594. return Q(s4, i5), s4.prototype.K = function() {
  10595. return 21;
  10596. }, s4.local = function() {
  10597. return s4.instance === null && (s4.instance = new s4()), s4.instance;
  10598. }, s4.prototype.W = function(i6, s5, n4, h2, r2, e2, o2, a2) {
  10599. return i6 instanceof t4.ba ? (a2 = new t4.$c(i6), this.W(a2, s5, n4, [h2], r2, e2, false, o2).next()) : o2 === true ? (n4 = new t4.AC(i6, s5, n4, h2, r2, false, false, a2), t4.Ih.local().W(n4, s5, a2)) : new t4.AC(i6, s5, n4, h2, r2, false, false, a2);
  10600. }, s4.instance = null, s4;
  10601. }(t4.Ge);
  10602. t4.zC = i4;
  10603. }(V || (V = {})), function(t4) {
  10604. var i4 = function() {
  10605. function i5(i6, s4, n4, h2, r2, e2, o2, a2) {
  10606. if (e2)
  10607. throw t4.i.Fe();
  10608. if (s4 == null)
  10609. throw t4.i.O();
  10610. this.za = -1, this.Os = i6, this.vg = s4, this.Ae = n4, this.Es = h2, this.ao = r2, this.fo = -1, this.Vb = a2, this.lT = new t4.l(), this.lT.Pa();
  10611. }
  10612. return i5.prototype.next = function() {
  10613. for (var t5; (t5 = this.Os.next()) != null; )
  10614. return this.za = this.Os.Ma(), this.fo + 1 < this.Es.length && this.fo++, this.UQ(t5, this.Es[this.fo]);
  10615. return null;
  10616. }, i5.prototype.Ma = function() {
  10617. return this.za;
  10618. }, i5.prototype.UQ = function(i6, s4) {
  10619. return t4.PK.buffer(i6, this.vg, this.Ae, s4, this.ao, this.Vb);
  10620. }, i5.prototype.qe = function() {
  10621. }, i5;
  10622. }();
  10623. t4.AC = i4;
  10624. }(V || (V = {})), function(t4) {
  10625. var i4 = function(i5) {
  10626. function s4() {
  10627. return i5 !== null && i5.apply(this, arguments) || this;
  10628. }
  10629. return Q(s4, i5), s4.prototype.K = function() {
  10630. return 24;
  10631. }, s4.local = function() {
  10632. return s4.instance === null && (s4.instance = new s4()), s4.instance;
  10633. }, s4.prototype.W = function(i6, s5, n4) {
  10634. if (s5 == null)
  10635. throw t4.i.O();
  10636. if (i6.B() || 1 > i6.Eb())
  10637. return 0;
  10638. if (n4 == 4)
  10639. throw t4.i.Fe();
  10640. var h2 = t4.cb.tc(s5), r2 = t4.cb.xv(h2), e2 = t4.cb.gv(h2);
  10641. r2 *= 2 - r2;
  10642. var o2 = h2.Id().ci, a2 = i6.K();
  10643. if (a2 == 1736 || a2 == 197)
  10644. var u2 = i6.mg();
  10645. else
  10646. t4.ba.zd(a2) ? (u2 = new t4.Ua(i6.description)).oc(i6, true) : u2 = i6;
  10647. if (h2.Nb(s5) == 0) {
  10648. if (t4.cb.Xc(s5)) {
  10649. u2 = t4.Jh.nj(u2, s5), a2 == 1607 && u2 == i6 && (u2 = t4.ba.ig(i6)), i6 = new t4.Oc(), t4.cb.ih(s5).en(i6), a2 = 0;
  10650. for (var f2 = u2.I(); a2 < f2; a2++) {
  10651. var c2 = u2.Oa(a2);
  10652. c2.x = t4.Jh.an(c2.x, i6), u2.Db(a2, c2);
  10653. }
  10654. }
  10655. i6 = u2.Ja(), u2 = t4.Jh.QI(s5, h2, u2, i6) ? i6 : t4.cb.Bh(u2, s5, h2);
  10656. }
  10657. return this.bQ(u2, n4, e2, r2, o2);
  10658. }, s4.prototype.bQ = function(i6, s5, n4, h2, r2) {
  10659. var e2 = new t4.ha(0), o2 = 0;
  10660. for (i6 = i6.Ha(); i6.ab(); )
  10661. for (; i6.Ia(); ) {
  10662. var a2 = i6.ia(), u2 = a2.ac();
  10663. a2 = a2.xc(), u2.scale(r2), a2.scale(r2), t4.kb.xd(n4, h2, u2.x, u2.y, a2.x, a2.y, e2, null, null, s5), o2 += e2.u;
  10664. }
  10665. return o2;
  10666. }, s4.instance = null, s4;
  10667. }(t4.Ge);
  10668. t4.oL = i4;
  10669. }(V || (V = {})), function(t4) {
  10670. var i4 = function(i5) {
  10671. function s4() {
  10672. return i5 !== null && i5.apply(this, arguments) || this;
  10673. }
  10674. return Q(s4, i5), s4.prototype.K = function() {
  10675. return 18;
  10676. }, s4.local = function() {
  10677. return s4.instance === null && (s4.instance = new s4()), s4.instance;
  10678. }, s4.prototype.W = function(i6, s5, n4, h2, r2) {
  10679. return i6 instanceof t4.ba ? (i6 = new t4.$c(i6), this.W(i6, s5, n4, h2, r2).next()) : new t4.nL(i6, n4, h2, s5, -1, -1, r2);
  10680. }, s4.instance = null, s4;
  10681. }(t4.Ge);
  10682. t4.mL = i4;
  10683. }(V || (V = {})), function(t4) {
  10684. var i4 = function() {
  10685. function i5(i6, s4, n4, h2, r2, e2) {
  10686. if (0 < e2)
  10687. throw t4.i.Fe();
  10688. if (n4 != 4 && 0 < r2)
  10689. throw t4.i.Fe();
  10690. if (s4 == null)
  10691. throw t4.i.O();
  10692. this.za = -1, this.Os = i6, this.vg = s4, this.Ae = n4, this.vT = h2, this.uT = r2;
  10693. }
  10694. return i5.prototype.next = function() {
  10695. for (var t5; (t5 = this.Os.next()) != null; )
  10696. return this.za = this.Os.Ma(), this.Uy(t5);
  10697. return null;
  10698. }, i5.prototype.Ma = function() {
  10699. return this.za;
  10700. }, i5.prototype.Uy = function(i6) {
  10701. return t4.ej.Sr(i6, this.vg, this.Ae, this.vT, this.uT, this.Vb);
  10702. }, i5.prototype.qe = function() {
  10703. }, i5;
  10704. }();
  10705. t4.nL = i4;
  10706. }(V || (V = {})), function(t4) {
  10707. !function(t5) {
  10708. t5[t5.Unknown = 0] = "Unknown", t5[t5.Contains = 1] = "Contains", t5[t5.Within = 2] = "Within", t5[t5.Equals = 3] = "Equals", t5[t5.Disjoint = 4] = "Disjoint", t5[t5.Touches = 8] = "Touches", t5[t5.Crosses = 16] = "Crosses", t5[t5.Overlaps = 32] = "Overlaps", t5[t5.NoThisRelation = 64] = "NoThisRelation", t5[t5.Intersects = 1073741824] = "Intersects", t5[t5.IntersectsOrDisjoint = 1073741828] = "IntersectsOrDisjoint";
  10709. }(t4.XK || (t4.XK = {})), t4.qL = function() {
  10710. function i4() {
  10711. }
  10712. return i4.fW = function(i5, s4) {
  10713. var n4 = i5.K(), h2 = s4.K();
  10714. if (t4.ba.zj(n4)) {
  10715. var r2 = i5.Cb;
  10716. if (r2 != null && (r2 = r2.Gk) != null) {
  10717. if (h2 == 33) {
  10718. var e2 = s4.D();
  10719. r2 = r2.To(e2.x, e2.y);
  10720. } else
  10721. e2 = new t4.l(), s4.A(e2), r2 = r2.So(e2);
  10722. if (r2 == 1)
  10723. return 1;
  10724. if (r2 == 0)
  10725. return 4;
  10726. }
  10727. }
  10728. if (t4.ba.zj(h2) && ((r2 = s4.Cb) != null && (r2 = r2.Gk) != null)) {
  10729. if (n4 == 33 ? (i5 = i5.D(), r2 = r2.To(i5.x, i5.y)) : (s4 = new t4.l(), i5.A(s4), r2 = r2.So(s4)), r2 == 1)
  10730. return 2;
  10731. if (r2 == 0)
  10732. return 4;
  10733. }
  10734. return 0;
  10735. }, i4;
  10736. }();
  10737. }(V || (V = {})), function(t4) {
  10738. var i4 = function(i5) {
  10739. function s4() {
  10740. return i5 !== null && i5.apply(this, arguments) || this;
  10741. }
  10742. return Q(s4, i5), s4.local = function() {
  10743. return s4.instance === null && (s4.instance = new s4()), s4.instance;
  10744. }, s4.prototype.K = function() {
  10745. return 15;
  10746. }, s4.prototype.W = function(i6, s5, n4, h2, r2) {
  10747. return i6 instanceof t4.ba ? (i6 = new t4.$c(i6), s5 = new t4.$c(s5), this.W(i6, s5, n4, h2, r2).next()) : r2 === void 0 ? new t4.BC(i6, s5, n4, h2, -1) : new t4.BC(i6, s5, n4, h2, r2);
  10748. }, s4.prototype.xn = function(i6, s5, n4) {
  10749. this.Ku(i6) && (s5 = t4.ta.mj(s5, i6, false), i6.hj(n4) || i6.nu(s5, n4));
  10750. }, s4.prototype.Ku = function(i6) {
  10751. return t4.Mx.tE(i6);
  10752. }, s4.instance = null, s4;
  10753. }(t4.Ge);
  10754. t4.Xk = i4;
  10755. }(V || (V = {})), function(t4) {
  10756. var i4 = function() {
  10757. function i5(i6, s4, n4, h2, r2) {
  10758. if (this.vs = s4 == null, this.za = -1, this.Sd = i6, this.vg = n4, this.Pe = s4.next(), this.Fj = this.Pe.K(), this.Vb = h2, this.Hi = r2, this.Hi != -1 && (0 >= this.Hi || 7 < this.Hi))
  10759. throw t4.i.O("bad dimension mask");
  10760. }
  10761. return i5.prototype.next = function() {
  10762. if (this.vs)
  10763. return null;
  10764. if (this.Bw != null) {
  10765. var t5 = this.Bw.next();
  10766. if (t5 != null)
  10767. return t5;
  10768. this.Bw = null;
  10769. }
  10770. for (; (t5 = this.Sd.next()) != null; )
  10771. return this.za = this.Sd.Ma(), this.Hi == -1 ? t5 = this.Fa(t5) : (this.Bw = this.IS(t5), t5 = this.Bw.next()), t5;
  10772. return null;
  10773. }, i5.prototype.Ma = function() {
  10774. return this.za;
  10775. }, i5.prototype.Fa = function(i6) {
  10776. var s4 = this.tK(i6);
  10777. if (s4 != null)
  10778. return s4;
  10779. s4 = t4.ta.ov(this.Pe, i6);
  10780. var n4 = t4.ta.Xd(this.vg, s4, true);
  10781. s4 = new t4.l(), this.Pe.A(s4);
  10782. var h2 = new t4.l();
  10783. return i6.A(h2), s4.X(2 * n4, 2 * n4), s4.Fa(h2), s4.X(100 * n4, 100 * n4), n4 = t4.Vd.clip(this.Pe, s4, 0, 0), i6 = t4.Vd.clip(i6, s4, 0, 0), t4.Hg.Cv(i6, n4, this.vg, this.Vb);
  10784. }, i5.prototype.JI = function(i6, s4, n4) {
  10785. var h2 = 0;
  10786. if ((1 & s4) != 0)
  10787. n4[0] == null && (n4[0] = new t4.de(i6)), h2++;
  10788. else
  10789. for (var r2 = 0; r2 < n4.length - 1; r2++)
  10790. n4[r2] = n4[r2 + 1];
  10791. if ((2 & s4) != 0)
  10792. n4[h2] == null && (n4[h2] = new t4.Ua(i6)), h2++;
  10793. else
  10794. for (r2 = h2; r2 < n4.length - 1; r2++)
  10795. n4[r2] = n4[r2 + 1];
  10796. if ((4 & s4) != 0)
  10797. n4[h2] == null && (n4[h2] = new t4.Ea(i6)), h2++;
  10798. else
  10799. for (r2 = h2; r2 < n4.length - 1; r2++)
  10800. n4[r2] = n4[r2 + 1];
  10801. if (h2 != 3) {
  10802. for (i6 = [], r2 = 0; r2 < h2; r2++)
  10803. i6[r2] = n4[r2];
  10804. return new t4.$c(i6);
  10805. }
  10806. return new t4.$c(n4);
  10807. }, i5.prototype.IS = function(i6) {
  10808. var s4 = this.tK(i6);
  10809. if (s4 != null) {
  10810. var n4 = [null, null, null];
  10811. return n4[s4.Eb()] = s4, this.JI(i6.description, this.Hi, n4);
  10812. }
  10813. s4 = t4.ta.ov(this.Pe, i6), n4 = t4.ta.Xd(this.vg, s4, true), s4 = new t4.l(), this.Pe.A(s4), s4.X(2 * n4, 2 * n4);
  10814. var h2 = new t4.l();
  10815. return i6.A(h2), s4.Fa(h2), s4.X(100 * n4, 100 * n4), n4 = t4.Vd.clip(this.Pe, s4, 0, 0), s4 = t4.Vd.clip(i6, s4, 0, 0), n4 = t4.Hg.Kz(s4, n4, this.vg, this.Vb), this.JI(i6.description, this.Hi, n4);
  10816. }, i5.prototype.tK = function(s4) {
  10817. var n4 = t4.ta.ov(s4, this.Pe), h2 = t4.ta.Xd(this.vg, n4, true);
  10818. n4 = s4.K();
  10819. var r2 = s4.B(), e2 = this.Pe.B();
  10820. if (!(e2 = r2 || e2)) {
  10821. e2 = new t4.l(), s4.A(e2);
  10822. var o2 = new t4.l();
  10823. this.Pe.A(o2), o2.X(2 * h2, 2 * h2), e2 = !e2.isIntersecting(o2);
  10824. }
  10825. if (!e2)
  10826. if ((o2 = t4.qL.fW(this.Pe, s4)) == 4)
  10827. e2 = true;
  10828. else {
  10829. if ((2 & o2) != 0)
  10830. return this.Pe;
  10831. if ((1 & o2) != 0)
  10832. return s4;
  10833. }
  10834. if (e2)
  10835. return (h2 = t4.ba.uf(n4)) < (e2 = t4.ba.uf(this.Fj)) ? i5.BB(s4, r2) : h2 > e2 || h2 == 0 && n4 == 550 && this.Fj == 33 ? this.hJ() : i5.BB(s4, r2);
  10836. if ((this.Hi == -1 || this.Hi == 4) && n4 == 197 && this.Fj == 197)
  10837. return h2 = this.Pe, n4 = new t4.l(), s4.A(n4), r2 = new t4.l(), h2.A(r2), n4.Fa(r2), h2 = new t4.Hh(), s4.copyTo(h2), h2.Yo(n4), h2;
  10838. if (n4 == 197 && t4.ba.uf(this.Fj) == 0 || this.Fj == 197 && t4.ba.uf(n4) == 0)
  10839. return r2 = n4 == 197 ? s4 : this.Pe, s4 = n4 == 197 ? this.Pe : s4, n4 = new t4.l(), r2.A(n4), t4.Vd.clip(s4, n4, h2, 0);
  10840. if (t4.ba.uf(n4) == 0 && 0 < t4.ba.uf(this.Fj) || 0 < t4.ba.uf(n4) && t4.ba.uf(this.Fj) == 0) {
  10841. if (h2 = t4.ta.mj(this.vg, s4, false), n4 == 550 || n4 == 33)
  10842. return t4.Hg.tG(s4, this.Pe, h2);
  10843. if (this.Fj == 550 || this.Fj == 33)
  10844. return t4.Hg.tG(this.Pe, s4, h2);
  10845. throw t4.i.Ra();
  10846. }
  10847. return this.Hi != -1 && this.Hi != 2 || n4 != 1607 || this.Fj != 1736 ? this.Hi != -1 && this.Hi != 2 || n4 != 1736 || this.Fj != 1607 ? null : this.qK(this.Pe, s4) : this.qK(s4, this.Pe);
  10848. }, i5.prototype.qK = function(i6, s4) {
  10849. var n4 = i6, h2 = s4, r2 = t4.ta.mj(this.vg, s4, false), e2 = new t4.l();
  10850. h2.A(e2);
  10851. var o2 = new t4.l();
  10852. n4.A(o2), o2.X(2 * r2, 2 * r2), e2.Fa(o2), e2.X(10 * r2, 10 * r2), n4 = i6 = t4.Vd.clip(i6, e2, 0, 0), o2 = new t4.ja(0);
  10853. var a2 = -1, u2 = h2.Cb;
  10854. if (u2 != null) {
  10855. var f2 = u2.Gk;
  10856. if (f2 != null) {
  10857. a2 = 0, o2.Jb(n4.I() + n4.ea());
  10858. for (var c2 = new t4.l(), l2 = n4.Ha(); l2.ab(); )
  10859. for (; l2.Ia(); ) {
  10860. l2.ia().A(c2);
  10861. var p2 = f2.So(c2);
  10862. p2 == 1 ? o2.add(1) : p2 == 0 ? o2.add(0) : (o2.add(-1), a2++);
  10863. }
  10864. }
  10865. }
  10866. if (5 < s4.I() && (u2 = (h2 = s4 = t4.Vd.clip(s4, e2, 0, 0)).Cb), 0 > a2 && (a2 = n4.sz()), e2 = n4.I() + h2.I(), a2 * h2.I() > Math.log(e2) * e2 * 4)
  10867. return null;
  10868. e2 = null, a2 = h2.Ha(), u2 != null && u2.Gb != null && (e2 = u2.Gb), e2 == null && 20 < h2.I() && (e2 = t4.ta.hE(h2)), i6 = i6.Ja(), h2 = null, u2 = n4.Ha(), f2 = [0, 0, 0, 0, 0, 0, 0, 0, 0], c2 = new t4.ce(0), l2 = new t4.hg(), p2 = -1;
  10869. for (var v2 = 0, y2 = 0, b2 = 0 < o2.size, d2 = -1; u2.ab(); ) {
  10870. d2 = u2.gb;
  10871. var g2 = 0;
  10872. for (p2 = -1, v2 = 0; u2.Ia(); ) {
  10873. var w2 = b2 ? t4.P.truncate(o2.get(y2)) : -1;
  10874. y2++;
  10875. var x2 = u2.ia();
  10876. if (0 > w2) {
  10877. if (e2 != null)
  10878. for (h2 == null ? h2 = e2.oR(x2, r2) : h2.Vo(x2, r2), w2 = h2.next(); w2 != -1; w2 = h2.next()) {
  10879. a2.Wb(e2.ka(w2)), w2 = a2.ia();
  10880. var m2 = x2.Fa(w2, null, f2, null, r2);
  10881. for (w2 = 0; w2 < m2; w2++)
  10882. c2.add(f2[w2]);
  10883. }
  10884. else
  10885. for (a2.aj(); a2.ab(); )
  10886. for (; a2.Ia(); )
  10887. for (w2 = a2.ia(), m2 = x2.Fa(w2, null, f2, null, r2), w2 = 0; w2 < m2; w2++)
  10888. c2.add(f2[w2]);
  10889. if (0 < c2.size) {
  10890. c2.Wd(0, c2.size, function(t5, i7) {
  10891. return t5 - i7;
  10892. });
  10893. var j2 = 0;
  10894. c2.add(1), m2 = -1, w2 = 0;
  10895. for (var k2 = c2.size; w2 < k2; w2++) {
  10896. var M2 = c2.get(w2);
  10897. if (M2 != j2) {
  10898. var z2 = false;
  10899. if (j2 != 0 || M2 != 1 ? (x2.dh(j2, M2, l2), j2 = l2.get()) : (j2 = x2, z2 = true), 2 <= g2) {
  10900. if (i6.Fr(n4, d2, p2, v2, g2 == 3), this.KD(s4, j2.ac(), r2) != 1 && this.LD(s4, j2, r2) != 1)
  10901. return null;
  10902. i6.oc(j2, false), g2 = 1, v2 = 0;
  10903. } else
  10904. switch (m2 = this.LD(s4, j2, r2), m2) {
  10905. case 1:
  10906. z2 ? 2 > g2 ? (p2 = u2.xb() - n4.Ca(d2), v2 = 1, g2 = g2 == 0 ? 3 : 2) : v2++ : (i6.oc(j2, g2 == 0), g2 = 1);
  10907. break;
  10908. case 0:
  10909. g2 = 0, p2 = -1, v2 = 0;
  10910. break;
  10911. default:
  10912. return null;
  10913. }
  10914. j2 = M2;
  10915. }
  10916. }
  10917. } else {
  10918. if (0 > (w2 = this.KD(s4, x2.ac(), r2)))
  10919. return null;
  10920. w2 == 1 ? (2 > g2 && (p2 = u2.xb() - n4.Ca(d2), g2 = g2 == 0 ? 3 : 2), v2++) : (p2 = -1, v2 = 0);
  10921. }
  10922. c2.clear(false);
  10923. } else
  10924. w2 != 0 && w2 == 1 && (g2 == 0 ? (g2 = 3, p2 = u2.xb() - n4.Ca(d2)) : g2 == 1 ? (g2 = 2, p2 = u2.xb() - n4.Ca(d2)) : v2++);
  10925. }
  10926. 2 <= g2 && (i6.Fr(n4, d2, p2, v2, g2 == 3), p2 = -1);
  10927. }
  10928. return i6;
  10929. }, i5.prototype.KD = function(i6, s4, n4) {
  10930. return t4.Fg.ym(i6, s4, n4);
  10931. }, i5.prototype.LD = function(i6, s4, n4) {
  10932. var h2 = s4.ac();
  10933. s4 = s4.xc();
  10934. var r2 = t4.Fg.ym(i6, h2, n4), e2 = t4.Fg.ym(i6, s4, n4);
  10935. return r2 == 1 && e2 == 0 || r2 == 0 && e2 == 1 ? -1 : r2 == 0 || e2 == 0 ? 0 : r2 == 1 || e2 == 1 ? 1 : ((r2 = new t4.h()).add(h2, s4), r2.scale(0.5), (i6 = t4.Fg.ym(i6, r2, n4)) == 0 ? 0 : i6 == 1 ? 1 : -1);
  10936. }, i5.BB = function(t5, i6) {
  10937. return i6 ? t5 : t5.Ja();
  10938. }, i5.prototype.hJ = function() {
  10939. return this.sH == null && (this.sH = this.Pe.Ja()), this.sH;
  10940. }, i5.prototype.qe = function() {
  10941. }, i5;
  10942. }();
  10943. t4.BC = i4;
  10944. }(V || (V = {})), function(t4) {
  10945. var i4 = function(i5) {
  10946. function s4() {
  10947. return i5 !== null && i5.apply(this, arguments) || this;
  10948. }
  10949. return Q(s4, i5), s4.prototype.K = function() {
  10950. return 28;
  10951. }, s4.local = function() {
  10952. return s4.instance === null && (s4.instance = new s4()), s4.instance;
  10953. }, s4.prototype.W = function(i6, s5, n4, h2, r2, e2, o2) {
  10954. return i6 instanceof t4.ba ? (i6 = new t4.$c(i6), this.W(i6, s5, n4, h2, r2, e2, o2).next()) : new t4.rL(i6, s5, n4, h2, r2, e2, o2);
  10955. }, s4.instance = null, s4;
  10956. }(t4.Ge);
  10957. t4.CC = i4;
  10958. }(V || (V = {})), function(t4) {
  10959. var i4 = function() {
  10960. function i5(t5, i6, s4, n4, h2, r2, e2) {
  10961. this.za = -1, this.Sd = t5, this.Oj = i6, this.La = s4, this.Mi = n4, this.wA = h2, this.oH = r2, this.nd = e2;
  10962. }
  10963. return i5.prototype.next = function() {
  10964. var t5 = this.Sd.next();
  10965. return t5 != null ? (this.za = this.Sd.Ma(), this.dL(t5)) : null;
  10966. }, i5.prototype.Ma = function() {
  10967. return this.za;
  10968. }, i5.prototype.dL = function(i6) {
  10969. var s4 = 0 >= this.oH ? t4.ta.mj(this.Oj, i6, false) : this.oH;
  10970. return t4.CK.W(i6, this.La, this.Mi, this.wA, s4, this.nd);
  10971. }, i5.prototype.qe = function() {
  10972. }, i5;
  10973. }();
  10974. t4.rL = i4;
  10975. }(V || (V = {})), function(t4) {
  10976. var i4;
  10977. (i4 = t4.HK || (t4.HK = {}))[i4.clipToDomainOnly = 1] = "clipToDomainOnly", i4[i4.clipWithHorizon = 2] = "clipWithHorizon", i4[i4.foldAndClipWithHorizon = 3] = "foldAndClipWithHorizon";
  10978. var s4 = function(i5) {
  10979. function s5() {
  10980. return i5 !== null && i5.apply(this, arguments) || this;
  10981. }
  10982. return Q(s5, i5), s5.prototype.K = function() {
  10983. return 0;
  10984. }, s5.local = function() {
  10985. return s5.instance === null && (s5.instance = new s5()), s5.instance;
  10986. }, s5.prototype.W = function(i6, s6, n4) {
  10987. return i6 instanceof t4.ba ? (i6 = new t4.$c(i6), this.W(i6, s6, n4).next()) : new t4.sL(i6, s6, n4);
  10988. }, s5.prototype.transform = function(i6, s6, n4, h2) {
  10989. return t4.du.transform(i6, s6, n4, h2, true);
  10990. }, s5.prototype.St = function(i6, s6, n4, h2) {
  10991. return t4.du.St(i6, s6, n4, h2);
  10992. }, s5.instance = null, s5;
  10993. }(t4.Ge);
  10994. t4.Gx = s4;
  10995. }(V || (V = {})), function(t4) {
  10996. var i4 = function() {
  10997. function i5(t5, i6, s4) {
  10998. this.za = -1, this.Sd = t5, this.ET = i6, this.nd = s4;
  10999. }
  11000. return i5.prototype.next = function() {
  11001. var i6 = this.Sd.next();
  11002. return i6 != null ? (this.za = this.Sd.Ma(), t4.du.Bh(i6, this.ET, this.nd)) : null;
  11003. }, i5.prototype.Ma = function() {
  11004. return this.za;
  11005. }, i5.prototype.qe = function() {
  11006. }, i5;
  11007. }();
  11008. t4.sL = i4;
  11009. }(V || (V = {})), function(t4) {
  11010. var i4 = function() {
  11011. function i5() {
  11012. }
  11013. return i5.prototype.reset = function() {
  11014. this.rh = this.yk = -1, this.ws = this.mq = false;
  11015. }, i5.prototype.uQ = function(t5, i6, s5) {
  11016. for (t5.Wb(i6, s5); t5.Ia(); ) {
  11017. var n4 = t5.ia();
  11018. if ((n4 = n4.Rb()) != 0)
  11019. return t5.xb();
  11020. }
  11021. for (t5.Wb(i6, s5); t5.zz(); )
  11022. if ((n4 = (n4 = t5.ni()).Rb()) != 0)
  11023. return t5.xb();
  11024. return -1;
  11025. }, i5.prototype.vQ = function(t5, i6) {
  11026. for (t5.Wb(i6, -1); t5.zz(); )
  11027. if (t5.ni().Rb() != 0)
  11028. return t5.xb();
  11029. return -1;
  11030. }, i5.prototype.tQ = function(t5, i6) {
  11031. for (t5.Wb(i6, -1), t5.ia(); t5.Ia(); )
  11032. if (t5.ia().Rb() != 0)
  11033. return t5.xb();
  11034. return -1;
  11035. }, i5.prototype.sQ = function(i6, s5, n4, h2) {
  11036. if (this.yk = this.uQ(s5, n4, h2), this.yk != -1) {
  11037. s5.Wb(this.yk, -1);
  11038. var r2 = s5.ia(), e2 = r2.ic(r2.fe(i6, false));
  11039. if (n4 = t4.h.zc(e2, i6), (h2 = new t4.h()).N(e2), h2.sub(r2.ac()), (e2 = new t4.h()).N(i6), e2.sub(r2.ac()), this.mq = 0 > h2.yi(e2), this.rh = this.tQ(s5, this.yk), this.rh != -1) {
  11040. s5.Wb(this.rh, -1);
  11041. var o2 = (r2 = s5.ia()).fe(i6, false);
  11042. o2 = r2.ic(o2);
  11043. var a2 = t4.h.zc(o2, i6);
  11044. a2 > n4 ? this.rh = -1 : (h2.N(o2), h2.sub(r2.ac()), e2.N(i6), e2.sub(r2.ac()), this.ws = 0 > h2.yi(e2));
  11045. }
  11046. this.rh == -1 && (this.rh = this.vQ(s5, this.yk), this.rh != -1 && (s5.Wb(this.rh, -1), o2 = (r2 = s5.ia()).fe(i6, false), o2 = r2.ic(o2), (a2 = t4.h.zc(o2, i6)) > n4 ? this.rh = -1 : (h2.N(o2), h2.sub(r2.ac()), e2.N(i6), e2.sub(r2.ac()), this.ws = 0 > h2.yi(e2), i6 = this.yk, this.yk = this.rh, this.rh = i6, i6 = this.mq, this.mq = this.ws, this.ws = i6)));
  11047. }
  11048. }, i5.prototype.XN = function(t5, i6, s5, n4, h2) {
  11049. return s5 = s5.Ha(), this.sQ(t5, s5, n4, h2), this.yk != -1 && this.rh == -1 ? this.mq : this.yk != -1 && this.rh != -1 ? this.mq == this.ws ? this.mq : (s5.Wb(this.yk, -1), t5 = s5.ia().jg(), s5.Wb(this.rh, -1), i6 = s5.ia().jg(), 0 <= t5.yi(i6)) : i6;
  11050. }, i5;
  11051. }(), s4 = function(s5) {
  11052. function n4() {
  11053. return s5 !== null && s5.apply(this, arguments) || this;
  11054. }
  11055. return Q(n4, s5), n4.local = function() {
  11056. return n4.instance === null && (n4.instance = new n4()), n4.instance;
  11057. }, n4.prototype.K = function() {
  11058. return 3;
  11059. }, n4.prototype.iz = function(i5, s6, n5) {
  11060. var h2;
  11061. if (h2 === void 0 && (h2 = false), i5.B())
  11062. return new t4.bm();
  11063. s6 = s6.D();
  11064. var r2 = i5, e2 = i5.K();
  11065. switch (e2 == 197 && ((r2 = new t4.Ea()).bd(i5, false), e2 = 1736), e2) {
  11066. case 33:
  11067. return this.rI(r2, s6);
  11068. case 550:
  11069. return this.dI(r2, s6);
  11070. case 1607:
  11071. case 1736:
  11072. return this.UT(r2, s6, n5, h2);
  11073. default:
  11074. throw t4.i.ga("not implemented");
  11075. }
  11076. }, n4.prototype.jz = function(i5, s6) {
  11077. if (i5.B())
  11078. return new t4.bm();
  11079. s6 = s6.D();
  11080. var n5 = i5, h2 = i5.K();
  11081. switch (h2 == 197 && ((n5 = new t4.Ea()).bd(i5, false), h2 = 1736), h2) {
  11082. case 33:
  11083. return this.rI(n5, s6);
  11084. case 550:
  11085. case 1607:
  11086. case 1736:
  11087. return this.dI(n5, s6);
  11088. default:
  11089. throw t4.i.ga("not implemented");
  11090. }
  11091. }, n4.prototype.kz = function(i5, s6, n5, h2) {
  11092. if (0 > h2)
  11093. throw t4.i.O();
  11094. if (i5.B())
  11095. return [];
  11096. s6 = s6.D();
  11097. var r2 = i5, e2 = i5.K();
  11098. switch (e2 == 197 && ((r2 = new t4.Ea()).bd(i5, false), e2 = 1736), e2) {
  11099. case 33:
  11100. return this.LU(r2, s6, n5, h2);
  11101. case 550:
  11102. case 1607:
  11103. case 1736:
  11104. return this.lU(r2, s6, n5, h2);
  11105. default:
  11106. throw t4.i.ga("not implemented");
  11107. }
  11108. }, n4.prototype.UT = function(s6, n5, h2, r2) {
  11109. if (s6.K() == 1736 && h2 && (h2 = new t4.l(), s6.A(h2), h2 = t4.ta.Xd(null, h2, false), (r2 ? t4.jd.Zd(s6, n5, 0) : t4.jd.Zd(s6, n5, h2)) != 0)) {
  11110. var e2 = new t4.bm(n5, 0, 0);
  11111. return r2 && e2.QJ(true), e2;
  11112. }
  11113. var o2 = s6.Ha();
  11114. e2 = new t4.h();
  11115. for (var a2 = h2 = -1, u2 = 17976931348623157e292, f2 = 0; o2.ab(); )
  11116. for (; o2.Ia(); ) {
  11117. var c2 = o2.ia();
  11118. c2 = c2.ic(c2.fe(n5, false));
  11119. var l2 = t4.h.zc(c2, n5);
  11120. l2 < u2 ? (f2 = 1, e2 = c2, h2 = o2.xb(), a2 = o2.gb, u2 = l2) : l2 == u2 && f2++;
  11121. }
  11122. return e2 = new t4.bm(e2, h2, Math.sqrt(u2)), r2 && (o2.Wb(h2, a2), c2 = o2.ia(), r2 = 0 > t4.h.Wq(n5, c2.ac(), c2.xc()), 1 < f2 && ((f2 = new i4()).reset(), r2 = f2.XN(n5, r2, s6, h2, a2)), e2.QJ(r2)), e2;
  11123. }, n4.prototype.rI = function(i5, s6) {
  11124. return i5 = i5.D(), s6 = t4.h.ub(i5, s6), new t4.bm(i5, 0, s6);
  11125. }, n4.prototype.dI = function(i5, s6) {
  11126. for (var n5 = i5.vb(0), h2 = i5.I(), r2 = i5 = 0, e2 = 0, o2 = 17976931348623157e292, a2 = 0; a2 < h2; a2++) {
  11127. var u2 = new t4.h();
  11128. n5.uc(2 * a2, u2);
  11129. var f2 = t4.h.zc(u2, s6);
  11130. f2 < o2 && (r2 = u2.x, e2 = u2.y, i5 = a2, o2 = f2);
  11131. }
  11132. return (s6 = new t4.bm()).by(r2, e2, i5, Math.sqrt(o2)), s6;
  11133. }, n4.prototype.LU = function(i5, s6, n5, h2) {
  11134. return h2 == 0 ? [] : (n5 *= n5, i5 = i5.D(), (s6 = t4.h.zc(i5, s6)) <= n5 ? (n5 = [], (h2 = new t4.bm()).by(i5.x, i5.y, 0, Math.sqrt(s6)), n5[0] = h2) : n5 = [], n5);
  11135. }, n4.prototype.lU = function(i5, s6, n5, h2) {
  11136. if (h2 == 0)
  11137. return [];
  11138. var r2 = i5.vb(0), e2 = i5.I();
  11139. i5 = [], n5 *= n5;
  11140. for (var o2 = 0; o2 < e2; o2++) {
  11141. var a2 = r2.read(2 * o2), u2 = r2.read(2 * o2 + 1), f2 = s6.x - a2, c2 = s6.y - u2;
  11142. (f2 = f2 * f2 + c2 * c2) <= n5 && ((c2 = new t4.bm()).by(a2, u2, o2, Math.sqrt(f2)), i5.push(c2));
  11143. }
  11144. return s6 = i5.length, i5.sort(function(t5, i6) {
  11145. return t5.La < i6.La ? -1 : t5.La == i6.La ? 0 : 1;
  11146. }), h2 >= s6 || (i5.length = h2), i5.slice(0);
  11147. }, n4.instance = null, n4;
  11148. }(t4.Ge);
  11149. t4.Hx = s4;
  11150. }(V || (V = {})), function(t4) {
  11151. var i4 = function(i5) {
  11152. function s4() {
  11153. return i5 !== null && i5.apply(this, arguments) || this;
  11154. }
  11155. return Q(s4, i5), s4.prototype.K = function() {
  11156. return 4;
  11157. }, s4.prototype.W = function(i6, s5, n4, h2, r2) {
  11158. return t4.cm.sB(i6, s5, n4, h2, r2);
  11159. }, s4.local = function() {
  11160. return s4.instance === null && (s4.instance = new s4()), s4.instance;
  11161. }, s4.prototype.Ku = function(i6) {
  11162. return t4.Xt.ry(i6);
  11163. }, s4.prototype.xn = function(i6, s5, n4) {
  11164. t4.Xt.wD(i6, s5, n4);
  11165. }, s4.instance = null, s4;
  11166. }(t4.Ge);
  11167. t4.tL = i4;
  11168. }(V || (V = {})), function(t4) {
  11169. var i4 = function(i5) {
  11170. function s4() {
  11171. return i5 !== null && i5.apply(this, arguments) || this;
  11172. }
  11173. return Q(s4, i5), s4.prototype.K = function() {
  11174. return 33;
  11175. }, s4.prototype.W = function(i6, s5, n4, h2, r2) {
  11176. return i6 === 1073741824 ? !t4.vd.tB(s5, n4, h2, 4, r2) : t4.vd.tB(s5, n4, h2, i6, r2);
  11177. }, s4.local = function() {
  11178. return s4.instance === null && (s4.instance = new s4()), s4.instance;
  11179. }, s4.prototype.Ku = function(i6) {
  11180. return t4.Xt.ry(i6);
  11181. }, s4.prototype.xn = function(i6, s5, n4) {
  11182. t4.Xt.wD(i6, s5, n4);
  11183. }, s4.instance = null, s4;
  11184. }(t4.Ge);
  11185. t4.fj = i4;
  11186. }(V || (V = {})), function(t4) {
  11187. var i4 = function() {
  11188. function i5(i6, s4, n4, h2) {
  11189. if (this.nd = h2, this.iT = n4, this.za = -1, i6 == null)
  11190. throw t4.i.O();
  11191. this.zk = i6, this.Oj = s4;
  11192. }
  11193. return i5.prototype.next = function() {
  11194. var i6;
  11195. if ((i6 = this.zk.next()) != null) {
  11196. if (this.za = this.zk.Ma(), this.nd != null && !this.nd.progress(-1, -1))
  11197. throw t4.i.hu("user_canceled");
  11198. return this.ZB(i6);
  11199. }
  11200. return null;
  11201. }, i5.prototype.Ma = function() {
  11202. return this.za;
  11203. }, i5.prototype.ZB = function(i6) {
  11204. if (i6 == null)
  11205. throw t4.i.O();
  11206. return t4.Ix.XJ(i6, this.Oj, this.iT, this.nd);
  11207. }, i5.prototype.qe = function() {
  11208. }, i5;
  11209. }();
  11210. t4.uL = i4;
  11211. }(V || (V = {})), function(t4) {
  11212. var i4 = function(i5) {
  11213. function s4() {
  11214. return i5 !== null && i5.apply(this, arguments) || this;
  11215. }
  11216. return Q(s4, i5), s4.prototype.K = function() {
  11217. return 26;
  11218. }, s4.prototype.W = function(i6, s5, n4, h2) {
  11219. return i6 instanceof t4.ba ? (i6 = new t4.$c(i6), this.W(i6, s5, n4, h2).next()) : new t4.uL(i6, s5, n4, h2);
  11220. }, s4.prototype.ts = function(i6, s5, n4, h2, r2) {
  11221. return 0 < (h2 !== void 0 ? t4.Ix.ts(i6, s5, n4, h2, r2) : t4.Ix.ts(i6, s5, false, null, n4));
  11222. }, s4.local = function() {
  11223. return s4.instance === null && (s4.instance = new s4()), s4.instance;
  11224. }, s4.instance = null, s4;
  11225. }(t4.Ge);
  11226. t4.$l = i4;
  11227. }(V || (V = {})), function(t4) {
  11228. var i4 = function() {
  11229. function t5() {
  11230. this.Aq = 0;
  11231. }
  11232. return t5.prototype.eX = function(t6) {
  11233. this.Aq &= -2, this.Aq |= t6 ? 1 : 0;
  11234. }, t5.prototype.Yp = function() {
  11235. return (1 & this.Aq) != 0;
  11236. }, t5.prototype.RF = function() {
  11237. return this.Yp() ? 0 : 1;
  11238. }, t5;
  11239. }();
  11240. t4.pY = i4;
  11241. var s4 = function() {
  11242. }, n4 = function(t5, i5, s5, n5) {
  11243. this.x = t5, this.y = i5, this.Ci = s5, this.zm = n5;
  11244. }, h2 = function() {
  11245. function t5(t6) {
  11246. this.Ce = t6;
  11247. }
  11248. return t5.prototype.compare = function(t6, i5, s5) {
  11249. return t6 = t6.ka(s5), i5 = this.Ce.lf.read(2 * i5), 0 > (i5 -= t6 = this.Ce.lf.read(2 * t6)) ? -1 : 0 < i5 ? 1 : 0;
  11250. }, t5;
  11251. }(), r2 = function() {
  11252. function t5(t6) {
  11253. this.Ce = t6;
  11254. }
  11255. return t5.prototype.compare = function(t6, i5, s5) {
  11256. i5 = this.Ce.hb[i5], t6 = this.Ce.hb[t6.ka(s5)];
  11257. var n5 = i5.Yp(), h3 = t6.Yp();
  11258. s5 = i5.ne.Me(this.Ce.No, 0);
  11259. var r3 = t6.ne.Me(this.Ce.No, 0);
  11260. return s5 == r3 && ((n5 = 0.5 * ((s5 = Math.min(n5 ? i5.ne.oa : i5.ne.ma, h3 ? t6.ne.oa : t6.ne.ma)) - this.Ce.No) + this.Ce.No) == this.Ce.No && (n5 = s5), s5 = i5.ne.Me(n5, 0), r3 = t6.ne.Me(n5, 0)), s5 < r3 ? -1 : s5 > r3 ? 1 : 0;
  11261. }, t5;
  11262. }(), e2 = function() {
  11263. function i5(i6, s5) {
  11264. this.SI = new t4.h(), this.parent = i6, this.XR = s5;
  11265. }
  11266. return i5.prototype.qr = function(t5, i6, s5) {
  11267. var n5 = this.parent, h3 = this.XR;
  11268. s5.Wd(t5, i6, function(t6, i7) {
  11269. return n5.Oh(t6, i7, h3);
  11270. });
  11271. }, i5.prototype.bq = function(t5) {
  11272. return t5 = this.parent.ii.get(t5), this.parent.lf.uc(2 * (t5 >> 1), this.SI), this.SI.y + ((1 & t5) != 0 ? this.parent.Qj : -this.parent.Qj);
  11273. }, i5;
  11274. }(), o2 = function() {
  11275. function o3(i5, s5, n5, h3, r3) {
  11276. this.hH = i5.description, this.Y = i5, this.Sg = s5, this.Qj = t4.ta.mj(this.Sg, i5, false), this.Co = t4.ta.mj(this.Sg, i5, true), this.rA = n5, this.gT = this.hH.Ba, this.hb = [], this.qo = [], this.oh = new t4.kp(), this.fb = new t4.Zj(), this.ke = new t4.Nd(), this.TG = this.sl = r3;
  11277. }
  11278. return o3.prototype.XS = function() {
  11279. return this.TG = true, (!t4.ba.Ic(this.Y.K()) || this.AE() && this.xE(false)) && this.gO() ? t4.ba.Ic(this.Y.K()) ? this.jO() ? this.Y.K() == 1607 ? this.lO() ? 2 : 0 : this.mO() ? this.nO() : 0 : 0 : 2 : 0;
  11280. }, o3.prototype.eC = function(i5, s5) {
  11281. var n5 = this.lf.read(2 * i5);
  11282. i5 = this.lf.read(2 * i5 + 1);
  11283. var h3 = this.lf.read(2 * s5);
  11284. s5 = this.lf.read(2 * s5 + 1);
  11285. var r3 = !t4.$t.Ev(n5, i5, h3, s5, this.Qj * this.Qj);
  11286. return r3 || this.Y.Eb() != 0 && (n5 == h3 && i5 == s5);
  11287. }, o3.prototype.AE = function() {
  11288. for (var i5 = this.Y, s5 = i5.yf ? 3 : 2, n5 = 0, h3 = i5.ea(); n5 < h3; n5++)
  11289. if (i5.Ka(n5) < s5)
  11290. return this.ke = new t4.Nd(1, n5, 0), false;
  11291. return true;
  11292. }, o3.prototype.xE = function(i5) {
  11293. var s5 = this.Y, n5 = s5.Ha(), h3 = s5.hasAttribute(1);
  11294. for (s5 = h3 ? t4.ta.qE(this.Sg, s5, false) : 0; n5.ab(); )
  11295. for (; n5.Ia(); ) {
  11296. var r3 = n5.ia();
  11297. if (!(r3.Rb() > this.Qj)) {
  11298. if (i5 && h3) {
  11299. var e3 = r3.yv(1, 0);
  11300. if (r3 = r3.yv(1, 0), Math.abs(r3 - e3) > s5)
  11301. continue;
  11302. }
  11303. return this.ke = new t4.Nd(2, n5.xb(), -1), false;
  11304. }
  11305. }
  11306. return true;
  11307. }, o3.prototype.gO = function() {
  11308. var i5 = this.Y, s5 = null;
  11309. t4.ba.Ic(this.Y.K()) && (s5 = this.Y);
  11310. var n5 = (this.TG || this.sl) && s5 != null, r3 = i5.I();
  11311. this.lf = i5.vb(0), this.ii = new t4.ja(0), this.ii.Jb(2 * r3), this.hi = new t4.ja(0), this.hi.Jb(2 * r3), n5 && (this.Hl == null && (this.Hl = new t4.ja(0)), this.Hl.Jb(r3));
  11312. for (var o4 = i5 = 0; o4 < r3; o4++)
  11313. if (this.ii.add(2 * o4), this.ii.add(2 * o4 + 1), this.hi.add(2 * o4), this.hi.add(2 * o4 + 1), n5) {
  11314. for (; o4 >= s5.Wc(i5); )
  11315. i5++;
  11316. this.Hl.add(i5);
  11317. }
  11318. for (new t4.Zt().sort(this.hi, 0, 2 * r3, new e2(this, n5)), this.fb.clear(), this.fb.Wo(new h2(this)), this.fb.Ee(r3), s5 = 0, r3 *= 2; s5 < r3; s5++)
  11319. if (n5 = this.hi.get(s5), n5 = (i5 = this.ii.get(n5)) >> 1, (1 & i5) == 0) {
  11320. if (i5 = this.fb.addElement(n5, -1), (o4 = this.fb.xe(i5)) != -1 && !this.eC(this.fb.ka(o4), n5))
  11321. return this.ke = new t4.Nd(3, n5, this.fb.ka(o4)), false;
  11322. var a2 = this.fb.lb(i5);
  11323. if (a2 != -1 && !this.eC(this.fb.ka(a2), n5))
  11324. return this.ke = new t4.Nd(3, n5, this.fb.ka(a2)), false;
  11325. } else if (i5 = this.fb.search(n5, -1), o4 = this.fb.xe(i5), a2 = this.fb.lb(i5), this.fb.wd(i5, -1), o4 != -1 && a2 != -1 && !this.eC(this.fb.ka(o4), this.fb.ka(a2)))
  11326. return this.ke = new t4.Nd(3, this.fb.ka(o4), this.fb.ka(a2)), false;
  11327. return true;
  11328. }, o3.prototype.jO = function() {
  11329. return 10 > this.Y.I() ? this.hO() : this.iO();
  11330. }, o3.prototype.iO = function() {
  11331. var i5 = new t4.hd();
  11332. i5.Ib(this.Y);
  11333. var s5 = new t4.Nd();
  11334. return !t4.bu.eI(false, i5, this.Qj, s5, this.nd) || (s5.Ko = i5.Va(s5.Ko), s5.Lo = i5.Va(s5.Lo), this.ke.Yt(s5), false);
  11335. }, o3.prototype.hO = function() {
  11336. var i5 = this.Y, s5 = i5.Ha();
  11337. for (i5 = i5.Ha(); s5.ab(); )
  11338. for (; s5.Ia(); ) {
  11339. var n5 = s5.ia();
  11340. if (!s5.Rn() || !s5.SS()) {
  11341. i5.tW(s5);
  11342. do {
  11343. for (; i5.Ia(); ) {
  11344. var h3 = i5.ia();
  11345. if ((h3 = n5.Br(h3, this.Qj, true)) != 0)
  11346. return this.ke = new t4.Nd(h3 == 2 ? 5 : 4, s5.xb(), i5.xb()), false;
  11347. }
  11348. } while (i5.ab());
  11349. }
  11350. }
  11351. return true;
  11352. }, o3.prototype.mO = function() {
  11353. var i5 = this.Y;
  11354. this.hb.length = 0, this.qo.length = 0, this.$f = i5.Ha(), this.$f.DB();
  11355. var s5 = new t4.ja(0);
  11356. s5.Jb(10);
  11357. var n5 = NaN, h3 = 0, r3 = 0;
  11358. for (i5 = 2 * i5.I(); r3 < i5; r3++) {
  11359. var e3 = this.hi.get(r3);
  11360. if ((1 & (e3 = this.ii.get(e3))) == 0) {
  11361. e3 >>= 1;
  11362. var o4 = this.lf.read(2 * e3), a2 = this.lf.read(2 * e3 + 1);
  11363. if (s5.size != 0 && (o4 != n5 || a2 != h3)) {
  11364. if (!this.KI(s5))
  11365. return false;
  11366. s5 != null && s5.clear(false);
  11367. }
  11368. s5.add(e3), n5 = o4, h3 = a2;
  11369. }
  11370. }
  11371. return !!this.KI(s5);
  11372. }, o3.prototype.lO = function() {
  11373. for (var i5 = this.Y, n5 = Array(i5.ea()), h3 = 0, r3 = i5.ea(); h3 < r3; h3++)
  11374. n5[h3] = i5.On(h3);
  11375. r3 = new s4();
  11376. var e3 = new t4.h();
  11377. h3 = this.hi.get(0);
  11378. var o4 = (h3 = this.ii.get(h3)) >> 1;
  11379. this.lf.uc(2 * o4, e3);
  11380. var a2 = n5[h3 = this.Hl.get(o4)], u2 = i5.Ca(h3), f2 = i5.Wc(h3) - 1;
  11381. r3.gl = o4 == u2 || o4 == f2, r3.jy = this.sl ? !a2 && r3.gl : r3.gl, r3.Ci = h3, r3.x = e3.x, r3.y = e3.y, r3.zm = o4;
  11382. for (var c2 = new s4(), l2 = 1, p2 = this.hi.size; l2 < p2; l2++)
  11383. if (h3 = this.hi.get(l2), (1 & (h3 = this.ii.get(h3))) == 0) {
  11384. o4 = h3 >> 1, this.lf.uc(2 * o4, e3), (h3 = this.Hl.get(o4)) != r3.Ci && (a2 = n5[h3], u2 = i5.Ca(h3), f2 = i5.Wc(h3) - 1);
  11385. var v2 = o4 == u2 || o4 == f2, y2 = this.sl ? !a2 && r3.gl : r3.gl;
  11386. if (c2.x = e3.x, c2.y = e3.y, c2.Ci = h3, c2.zm = o4, c2.jy = y2, c2.gl = v2, c2.x == r3.x && c2.y == r3.y) {
  11387. if (this.sl) {
  11388. if (!(c2.jy && r3.jy || c2.Ci == r3.Ci && (c2.gl || r3.gl)))
  11389. return this.ke = new t4.Nd(8, c2.zm, r3.zm), false;
  11390. } else if (!c2.gl || !r3.gl)
  11391. return this.ke = new t4.Nd(5, c2.zm, r3.zm), false;
  11392. }
  11393. h3 = r3, r3 = c2, c2 = h3;
  11394. }
  11395. return true;
  11396. }, o3.prototype.DE = function() {
  11397. for (var i5 = this.Y, s5 = [], h3 = -1, r3 = false, e3 = 0, o4 = i5.ea(); e3 < o4; e3++)
  11398. i5.Gv(e3) && (r3 = false, h3++, e3 < o4 - 1 && (i5.Gv(e3 + 1) || (r3 = true))), s5[e3] = r3 ? h3 : -1;
  11399. r3 = new t4.h(), e3 = this.hi.get(0);
  11400. var a2 = (e3 = this.ii.get(e3)) >> 1;
  11401. this.lf.uc(2 * a2, r3), e3 = this.Hl.get(a2), h3 = new n4(r3.x, r3.y, e3, a2, s5[e3]), i5 = [];
  11402. var u2 = 1;
  11403. for (o4 = this.hi.size; u2 < o4; u2++)
  11404. if (e3 = this.hi.get(u2), (1 & (e3 = this.ii.get(e3))) == 0) {
  11405. if (a2 = e3 >> 1, this.lf.uc(2 * a2, r3), e3 = this.Hl.get(a2), (e3 = new n4(r3.x, r3.y, e3, a2, s5[e3])).x == h3.x && e3.y == h3.y) {
  11406. if (e3.Ci == h3.Ci)
  11407. return this.ke = new t4.Nd(9, e3.zm, h3.zm), false;
  11408. 0 <= s5[e3.Ci] && s5[e3.Ci] == s5[h3.Ci] && (i5.length != 0 && i5[i5.length - 1] == h3 || i5.push(h3), i5.push(e3));
  11409. }
  11410. h3 = e3;
  11411. }
  11412. if (i5.length == 0)
  11413. return true;
  11414. for (e3 = new t4.kp(true), t4.P.bv(s5, -1), r3 = -1, (u2 = new t4.h()).Sc(), h3 = 0, o4 = i5.length; h3 < o4; h3++) {
  11415. (a2 = i5[h3]).x == u2.x && a2.y == u2.y || (r3 = e3.Rh(0), u2.x = a2.x, u2.y = a2.y);
  11416. var f2 = s5[a2.Ci];
  11417. f2 == -1 && (f2 = e3.Rh(2), s5[a2.Ci] = f2), e3.addElement(f2, r3), e3.addElement(r3, f2);
  11418. }
  11419. for ((o4 = new t4.ja(0)).Jb(10), h3 = e3.je; h3 != -1; h3 = e3.lz(h3))
  11420. if ((1 & (i5 = e3.JF(h3))) == 0 && (2 & i5) != 0) {
  11421. for (i5 = -1, o4.add(h3), o4.add(-1); 0 < o4.size; ) {
  11422. if (r3 = o4.Gc(), o4.Jf(), u2 = o4.Gc(), o4.Jf(), (1 & (a2 = e3.JF(u2))) != 0) {
  11423. i5 = (2 & a2) == 0 ? r3 : u2;
  11424. break;
  11425. }
  11426. for (e3.XW(u2, 1 | a2), a2 = e3.sc(u2); a2 != -1; a2 = e3.lb(a2))
  11427. (f2 = e3.getData(a2)) != r3 && (o4.add(f2), o4.add(u2));
  11428. }
  11429. if (i5 != -1) {
  11430. for (e3 = -1, h3 = 0, o4 = s5.length; h3 < o4; h3++)
  11431. if (s5[h3] == i5) {
  11432. e3 = h3;
  11433. break;
  11434. }
  11435. return this.ke = new t4.Nd(10, e3, -1), false;
  11436. }
  11437. }
  11438. return true;
  11439. }, o3.prototype.nO = function() {
  11440. var i5 = this.Y;
  11441. if (0 >= i5.He())
  11442. return this.ke = new t4.Nd(6, i5.ea() == 1 ? 1 : -1, -1), 0;
  11443. if (i5.ea() == 1)
  11444. return this.sl && !this.DE() ? 0 : 2;
  11445. this.uo = t4.ja.rf(i5.ea(), 0), this.DA = t4.ja.rf(i5.ea(), -1);
  11446. for (var s5 = -1, n5 = 0, h3 = 0, e3 = i5.ea(); h3 < e3; h3++) {
  11447. var o4 = i5.Kr(h3);
  11448. if (this.uo.write(h3, 0 > o4 ? 0 : 256), 0 < o4)
  11449. s5 = h3, n5 = o4;
  11450. else {
  11451. if (o4 == 0)
  11452. return this.ke = new t4.Nd(6, h3, -1), 0;
  11453. if ((0 > s5 || n5 < Math.abs(o4)) && (this.ke = new t4.Nd(7, h3, -1), this.sl))
  11454. return 0;
  11455. this.DA.write(h3, s5);
  11456. }
  11457. }
  11458. for (this.et = i5.ea(), this.Qm = new t4.ja(0), this.Qm.Jb(10), e3 = i5.I(), this.No = NaN, (i5 = new t4.ja(0)).Jb(10), this.Sq = t4.ja.rf(e3, -1), this.Jw = t4.ja.rf(e3, -1), this.Bj != null ? this.Bj.clear(false) : this.Bj = new t4.ja(0), this.Bj.Jb(10), this.fb.clear(), this.fb.Wo(new r2(this)), s5 = 0, e3 *= 2; 0 < this.et && s5 < e3; s5++)
  11459. if (n5 = this.hi.get(s5), (1 & (n5 = this.ii.get(n5))) == 0) {
  11460. if (n5 >>= 1, (h3 = this.lf.read(2 * n5 + 1)) != this.No && i5.size != 0) {
  11461. if (!this.vt(i5))
  11462. return 0;
  11463. i5 != null && i5.clear(false);
  11464. }
  11465. i5.add(n5), this.No = h3;
  11466. }
  11467. return 0 < this.et && !this.vt(i5) ? 0 : this.sl ? this.ke.Lj == 0 && this.DE() ? 2 : 0 : this.ke.Lj == 0 ? 2 : 1;
  11468. }, o3.prototype.KI = function(i5) {
  11469. if (i5.size == 1)
  11470. return true;
  11471. for (var s5 = 0, n5 = i5.size; s5 < n5; s5++) {
  11472. var h3 = i5.get(s5);
  11473. this.$f.Wb(h3);
  11474. var r3 = this.$f.ni();
  11475. this.hb.push(this.Uu(r3, h3, this.$f.gb, true)), this.$f.ia(), r3 = this.$f.ia(), this.hb.push(this.Uu(r3, h3, this.$f.gb, false));
  11476. }
  11477. var e3 = this;
  11478. for (this.hb.sort(function(t5, i6) {
  11479. return e3.RP(t5, i6);
  11480. }), (h3 = this.oh.je) == -1 && (h3 = this.oh.Rh(0)), this.oh.hn(this.hb.length), s5 = 0, n5 = this.hb.length; s5 < n5; s5++)
  11481. this.oh.addElement(h3, s5);
  11482. s5 = true;
  11483. for (var o4 = n5 = -1; s5 && (s5 = false, (r3 = this.oh.sc(h3)) != -1); )
  11484. for (var a2 = this.oh.lb(r3); a2 != -1; )
  11485. if (n5 = this.oh.getData(r3), o4 = this.oh.getData(a2), (n5 = this.hb[n5].Jo) != (o4 = this.hb[o4].Jo))
  11486. r3 = a2, a2 = this.oh.lb(r3);
  11487. else if (s5 = true, this.oh.kd(h3, r3), r3 = this.oh.xe(a2), (a2 = this.oh.kd(h3, a2)) == -1 || r3 == -1)
  11488. break;
  11489. if (s5 = this.oh.ds(h3), this.oh.FE(h3), 0 < s5)
  11490. return this.ke = new t4.Nd(5, n5, o4), false;
  11491. for (s5 = 0, n5 = i5.size; s5 < n5; s5++)
  11492. this.pB(this.hb[s5]);
  11493. return this.hb.length = 0, true;
  11494. }, o3.prototype.vt = function(i5) {
  11495. for (var s5 = 0, n5 = i5.size; s5 < n5; s5++) {
  11496. var h3 = i5.get(s5), r3 = this.Sq.read(h3);
  11497. if (r3 != -1) {
  11498. var e3 = this.fb.ka(r3);
  11499. this.Bj.add(e3), this.fb.wd(r3, -1), this.pB(this.hb[e3]), this.hb[e3] = null, this.Sq.write(h3, -1);
  11500. }
  11501. (r3 = this.Jw.read(h3)) != -1 && (e3 = this.fb.ka(r3), this.Bj.add(e3), this.fb.wd(r3, -1), this.pB(this.hb[e3]), this.hb[e3] = null, this.Jw.write(h3, -1));
  11502. }
  11503. for (s5 = 0, n5 = i5.size; s5 < n5; s5++) {
  11504. if (h3 = i5.get(s5), this.$f.Wb(h3), (r3 = this.$f.ni()).oa > r3.ma) {
  11505. var o4 = this.$f.xb(), a2 = this.Uu(r3, h3, this.$f.gb, true);
  11506. 0 < this.Bj.size ? (e3 = this.Bj.Gc(), this.Bj.Jf(), this.hb[e3] = a2) : (e3 = this.hb.length, this.hb.push(a2)), r3 = this.fb.addElement(e3, -1), this.Sq.read(o4) == -1 ? this.Sq.write(o4, r3) : this.Jw.write(o4, r3), (3 & this.uo.read(this.$f.gb)) == 0 && this.Qm.add(r3);
  11507. }
  11508. this.$f.ia(), (r3 = this.$f.ia()).oa < r3.ma && (o4 = this.$f.jk(), a2 = this.Uu(r3, h3, this.$f.gb, false), 0 < this.Bj.size ? (e3 = this.Bj.Gc(), this.Bj.Jf(), this.hb[e3] = a2) : (e3 = this.hb.length, this.hb.push(a2)), r3 = this.fb.addElement(e3, -1), this.Sq.read(o4) == -1 ? this.Sq.write(o4, r3) : this.Jw.write(o4, r3), (3 & this.uo.read(this.$f.gb)) == 0 && this.Qm.add(r3));
  11509. }
  11510. for (s5 = 0, n5 = this.Qm.size; s5 < n5 && 0 < this.et; s5++)
  11511. if (r3 = this.Qm.get(s5), (3 & this.uo.read(this.hb[this.fb.ka(r3)].CA)) == 0) {
  11512. i5 = -1, h3 = this.fb.xe(r3);
  11513. var u2 = r3;
  11514. a2 = null, e3 = -1;
  11515. for (var f2 = 0; h3 != -1 && (e3 = this.fb.ka(h3), e3 = (a2 = this.hb[e3]).CA, (3 & (f2 = this.uo.read(e3))) == 0); )
  11516. u2 = h3, h3 = this.fb.xe(h3);
  11517. h3 == -1 ? (o4 = 1, h3 = u2) : (i5 = (3 & f2) == 1 ? e3 : this.DA.read(e3), o4 = a2.RF() != 0 ? 0 : 1, h3 = this.fb.lb(h3));
  11518. do {
  11519. if (e3 = this.fb.ka(h3), e3 = (a2 = this.hb[e3]).CA, (3 & (u2 = this.uo.read(e3))) == 0) {
  11520. if (o4 != a2.RF())
  11521. return this.ke = new t4.Nd(6, e3, -1), false;
  11522. if (u2 = 252 & u2 | (f2 = o4 == 0 || a2.Yp() ? 2 : 1), this.uo.write(e3, f2), f2 == 2 && this.ke.Lj == 0 && this.DA.read(e3) != i5 && (this.ke = new t4.Nd(7, e3, -1), this.sl))
  11523. return false;
  11524. if (this.et--, this.et == 0)
  11525. return true;
  11526. }
  11527. (3 & u2) == 1 && (i5 = e3), u2 = h3, h3 = this.fb.lb(h3), o4 = o4 != 0 ? 0 : 1;
  11528. } while (u2 != r3);
  11529. }
  11530. return this.Qm != null ? this.Qm.clear(false) : this.Qm = new t4.ja(0), true;
  11531. }, o3.prototype.Uu = function(i5, s5, n5, h3) {
  11532. if (i5.K() != 322)
  11533. throw t4.i.Ra();
  11534. return (i5 = this.mP(i5)).Jo = s5, i5.CA = n5, i5.Aq = 0, i5.eX(h3), i5;
  11535. }, o3.prototype.mP = function(s5) {
  11536. if (0 < this.qo.length) {
  11537. var n5 = this.qo[this.qo.length - 1];
  11538. --this.qo.length, s5.copyTo(n5.ne);
  11539. } else
  11540. (n5 = new i4()).ne = t4.MC.ig(s5);
  11541. return n5;
  11542. }, o3.prototype.pB = function(t5) {
  11543. t5.ne.K() == 322 && this.qo.push(t5);
  11544. }, o3.prototype.cU = function() {
  11545. for (var i5 = this.Y.I(), s5 = new t4.ja(0), n5 = 0; n5 < i5; n5++)
  11546. s5.add(n5);
  11547. var h3 = this;
  11548. for (s5.Wd(0, i5, function(t5, i6) {
  11549. return h3.Qu(t5, i6);
  11550. }), n5 = 1; n5 < i5; n5++)
  11551. if (this.Qu(s5.get(n5 - 1), s5.get(n5)) == 0)
  11552. return this.ke = new t4.Nd(3, s5.get(n5 - 1), s5.get(n5)), 0;
  11553. return 2;
  11554. }, o3.prototype.BV = function() {
  11555. return this.AE() && this.xE(true) ? 2 : 0;
  11556. }, o3.prototype.gV = function() {
  11557. return this.XS();
  11558. }, o3.prototype.hU = function() {
  11559. for (var i5 = this.Y.I(), s5 = new t4.ja(0), n5 = 0; n5 < i5; n5++)
  11560. s5.add(n5);
  11561. var h3 = this;
  11562. s5.Wd(0, i5, function(t5, i6) {
  11563. return h3.JO(t5, i6);
  11564. });
  11565. var r3 = Array(i5);
  11566. for (t4.P.bv(r3, false), r3[s5.get(0)] = true, n5 = 1; n5 < i5; n5++) {
  11567. var e3 = s5.get(n5 - 1), o4 = s5.get(n5);
  11568. this.Qu(e3, o4) == 0 ? r3[o4] = false : r3[o4] = true;
  11569. }
  11570. s5 = this.Y.Ja(), e3 = this.Y, o4 = 0;
  11571. var a2 = 1;
  11572. for (n5 = 0; n5 < i5; n5++)
  11573. r3[n5] ? a2 = n5 + 1 : (o4 < a2 && s5.Gd(e3, o4, a2), o4 = n5 + 1);
  11574. return o4 < a2 && s5.Gd(e3, o4, a2), s5.Eh(2, this.Co), s5;
  11575. }, o3.prototype.FV = function() {
  11576. var i5 = this.Y, s5 = i5.Ha(), n5 = i5.Ha(), h3 = this.Y.Ja(), r3 = this.Y, e3 = i5.hasAttribute(1), o4 = e3 ? t4.ta.qE(this.Sg, i5, true) : 0, a2 = new t4.ja(0), u2 = new t4.ja(0);
  11577. for (a2.Jb(t4.P.truncate(i5.I() / 2 + 1)), u2.Jb(t4.P.truncate(i5.I() / 2 + 1)); s5.ab(); )
  11578. if (n5.ab(), !(2 > i5.Ka(s5.gb))) {
  11579. n5.vW();
  11580. for (var f2, c2, l2 = true; s5.Ia(); ) {
  11581. var p2 = s5.ia(), v2 = n5.ni();
  11582. if (s5.xb() > n5.xb())
  11583. break;
  11584. l2 && (a2.add(s5.xb()), u2.add(n5.jk()), l2 = false), c2 = a2.Gc();
  11585. var y2 = s5.jk();
  11586. if (1 < y2 - c2) {
  11587. var b2 = new t4.h();
  11588. b2.vc(i5.Oa(c2), i5.Oa(y2)), f2 = b2.length();
  11589. } else
  11590. f2 = p2.Rb();
  11591. c2 = u2.Gc(), 1 < (y2 = n5.xb()) - c2 ? ((b2 = new t4.h()).vc(i5.Oa(c2), i5.Oa(y2)), c2 = b2.length()) : c2 = v2.Rb(), f2 > this.Co ? a2.add(s5.jk()) : e3 && (f2 = i5.Vc(1, a2.Gc(), 0), p2 = p2.jv(1, 0), Math.abs(p2 - f2) > o4 && a2.add(s5.jk())), c2 > this.Co ? u2.add(n5.xb()) : e3 && (f2 = i5.Vc(1, u2.Gc(), 0), p2 = v2.jv(1, 0), Math.abs(p2 - f2) > o4 && u2.add(n5.xb()));
  11592. }
  11593. if (a2.Gc() < u2.Gc() ? a2.size > u2.size ? a2.Jf() : u2.Jf() : (a2.Gc() != u2.Gc() && u2.Jf(), u2.Jf()), 2 <= u2.size + a2.size) {
  11594. for (l2 = new t4.Ta(), v2 = 0, p2 = a2.size; v2 < p2; v2++)
  11595. r3.we(a2.get(v2), l2), v2 == 0 ? h3.nf(l2) : h3.lineTo(l2);
  11596. for (v2 = u2.size - 1; 0 < v2; v2--)
  11597. r3.we(u2.get(v2), l2), h3.lineTo(l2);
  11598. r3.ec(s5.gb) ? h3.Cp() : 0 < u2.size && (r3.we(u2.get(0), l2), h3.lineTo(l2));
  11599. }
  11600. a2 != null && a2.clear(false), u2 != null && u2.clear(false);
  11601. }
  11602. return h3.Eh(2, this.Co), h3;
  11603. }, o3.prototype.jV = function() {
  11604. return this.vX();
  11605. }, o3.prototype.vX = function() {
  11606. return this.Y.K() == 1736 && this.Y.Jn() == 1 ? t4.Hg.Nk(this.Y, this.Co, true, false, this.nd) : (this.Ji = new t4.hd(), this.Ji.Ib(this.Y), this.Ji.gd != 0 && (this.rA != 1 && t4.Uk.W(this.Ji, this.Co, this.nd, true), this.Y.K() == 1736 && t4.tn.W(this.Ji, this.Ji.ld, this.rA, false, this.nd)), this.Y = this.Ji.Ke(this.Ji.ld), this.Y.K() == 1736 && (this.Y.hm(), this.Y.Zo(0)), this.Y.Eh(2, this.Co), this.Y);
  11607. }, o3.ts = function(i5, s5, n5, h3, r3) {
  11608. if (h3 != null && (h3.Lj = 0, h3.Ko = -1, h3.Lo = -1), i5.B())
  11609. return 1;
  11610. var e3 = i5.K();
  11611. if (e3 == 33)
  11612. return 1;
  11613. var a2 = t4.ta.mj(s5, i5, false);
  11614. if (e3 == 197)
  11615. return s5 = new t4.l(), i5.A(s5), s5.Di(a2) ? (h3 != null && (h3.Lj = 2, h3.Ko = -1, h3.Lo = -1), 0) : 1;
  11616. if (t4.ba.zd(e3))
  11617. return (a2 = new t4.Ua(i5.description)).oc(i5, true), o3.ts(a2, s5, n5, h3, r3);
  11618. var u2 = i5.qm(a2);
  11619. if ((n5 = n5 ? -1 : u2) != -1)
  11620. return n5;
  11621. if (s5 = new o3(i5, s5, n5, r3, false), e3 == 550)
  11622. n5 = s5.cU();
  11623. else if (e3 == 1607)
  11624. n5 = s5.BV();
  11625. else {
  11626. if (e3 != 1736)
  11627. throw t4.i.Ra();
  11628. n5 = s5.gV();
  11629. }
  11630. return i5.Eh(n5, a2), h3 != null && n5 == 0 && h3.Yt(s5.ke), n5;
  11631. }, o3.XJ = function(i5, s5, n5, h3) {
  11632. if (i5.B())
  11633. return i5;
  11634. var r3 = i5.K();
  11635. if (r3 == 33)
  11636. return i5;
  11637. var e3 = t4.ta.mj(s5, i5, false);
  11638. if (r3 == 197)
  11639. return s5 = new t4.l(), i5.A(s5), s5.Di(e3) ? i5.Ja() : i5;
  11640. if (t4.ba.zd(r3))
  11641. return (r3 = new t4.Ua(i5.description)).oc(i5, true), o3.XJ(r3, s5, n5, h3);
  11642. if (e3 = i5.qm(e3), (n5 = n5 ? -1 : e3) == 2)
  11643. return i5;
  11644. if (i5 = new o3(i5, s5, n5, h3, false), r3 == 550)
  11645. i5 = i5.hU();
  11646. else if (r3 == 1607)
  11647. i5 = i5.FV();
  11648. else {
  11649. if (r3 != 1736)
  11650. throw t4.i.Ra();
  11651. i5 = i5.jV();
  11652. }
  11653. return i5;
  11654. }, o3.prototype.Oh = function(i5, s5, n5) {
  11655. if (i5 == s5)
  11656. return 0;
  11657. i5 = this.ii.get(i5);
  11658. var h3 = this.ii.get(s5);
  11659. s5 = i5 >> 1;
  11660. var r3 = h3 >> 1, e3 = new t4.h(), o4 = new t4.h();
  11661. return this.lf.uc(2 * s5, e3), e3.y += (1 & i5) != 0 ? this.Qj : -this.Qj, this.lf.uc(2 * r3, o4), o4.y += (1 & h3) != 0 ? this.Qj : -this.Qj, (i5 = e3.compare(o4)) == 0 && n5 ? 0 > (n5 = this.Hl.get(s5) - this.Hl.get(r3)) ? -1 : 0 < n5 ? 1 : 0 : i5;
  11662. }, o3.prototype.Qu = function(i5, s5) {
  11663. if (i5 == s5)
  11664. return 0;
  11665. var n5 = this.Y, h3 = n5.Oa(i5), r3 = n5.Oa(s5);
  11666. if (h3.x < r3.x)
  11667. return -1;
  11668. if (h3.x > r3.x)
  11669. return 1;
  11670. if (h3.y < r3.y)
  11671. return -1;
  11672. if (h3.y > r3.y)
  11673. return 1;
  11674. for (h3 = 1; h3 < this.gT; h3++) {
  11675. r3 = this.hH.qd(h3);
  11676. for (var e3 = t4.ua.Wa(r3), o4 = 0; o4 < e3; o4++) {
  11677. var a2 = n5.Vc(r3, i5, o4), u2 = n5.Vc(r3, s5, o4);
  11678. if (a2 < u2)
  11679. return -1;
  11680. if (a2 > u2)
  11681. return 1;
  11682. }
  11683. }
  11684. return 0;
  11685. }, o3.prototype.JO = function(t5, i5) {
  11686. var s5 = this.Qu(t5, i5);
  11687. return s5 == 0 ? t5 < i5 ? -1 : 1 : s5;
  11688. }, o3.prototype.RP = function(t5, i5) {
  11689. if (t5 === i5)
  11690. return 0;
  11691. var s5 = t5.ne.jg();
  11692. t5.Yp() && s5.Uq(), t5 = i5.ne.jg(), i5.Yp() && t5.Uq(), i5 = s5.su();
  11693. var n5 = t5.su();
  11694. return n5 == i5 ? (i5 = s5.yi(t5), Math.abs(i5) <= 8881784197001252e-31 * (Math.abs(t5.x * s5.y) + Math.abs(t5.y * s5.x)) && (i5--, i5++), 0 > i5 ? 1 : 0 < i5 ? -1 : 0) : i5 < n5 ? -1 : 1;
  11695. }, o3;
  11696. }();
  11697. t4.Ix = o2;
  11698. }(V || (V = {})), function(t4) {
  11699. var i4 = function(i5) {
  11700. function s4() {
  11701. return i5 !== null && i5.apply(this, arguments) || this;
  11702. }
  11703. return Q(s4, i5), s4.prototype.K = function() {
  11704. return 30;
  11705. }, s4.local = function() {
  11706. return s4.instance === null && (s4.instance = new s4()), s4.instance;
  11707. }, s4.prototype.W = function(i6, s5, n4, h2) {
  11708. return i6 instanceof t4.ba ? (i6 = new t4.$c(i6), s5 = new t4.$c(s5), this.W(i6, s5, n4, h2).next()) : new t4.vL(i6, s5, n4, h2);
  11709. }, s4.fp = function(i6, n4, h2, r2) {
  11710. var e2 = i6.Eb(), o2 = n4.Eb();
  11711. if (i6.B() && n4.B())
  11712. return e2 > o2 ? i6 : n4;
  11713. if (i6.B())
  11714. return n4;
  11715. if (n4.B())
  11716. return i6;
  11717. var a2 = new t4.l(), u2 = new t4.l(), f2 = new t4.l();
  11718. return i6.A(a2), n4.A(u2), f2.L(a2), f2.$b(u2), a2 = t4.ta.Xd(h2, f2, true), u2 = i6.K(), f2 = n4.K(), u2 == 33 && f2 == 33 ? s4.TU(i6, n4, a2) : u2 != f2 ? 0 < e2 || 0 < o2 ? e2 > o2 ? i6 : n4 : u2 == 550 ? s4.cI(i6, n4, a2) : s4.cI(n4, i6, a2) : t4.Hg.fp(i6, n4, h2, r2);
  11719. }, s4.TU = function(i6, s5, n4) {
  11720. n4 = n4 * Math.sqrt(2) * 1.00001, n4 *= n4;
  11721. var h2 = i6.D(), r2 = s5.D(), e2 = new t4.de(i6.description);
  11722. return t4.h.zc(h2, r2) > n4 && (e2.add(i6), e2.add(s5)), e2;
  11723. }, s4.cI = function(i6, s5, n4) {
  11724. var h2 = i6.vb(0), r2 = i6.I(), e2 = s5.D(), o2 = i6.Ja();
  11725. n4 = n4 * Math.sqrt(2) * 1.00001;
  11726. var a2 = new t4.l();
  11727. if (i6.A(a2), a2.X(n4, n4), a2.contains(e2)) {
  11728. n4 *= n4, a2 = false;
  11729. for (var u2 = [], f2 = 0; f2 < r2; f2++)
  11730. u2[f2] = false;
  11731. for (f2 = 0; f2 < r2; f2++) {
  11732. var c2 = h2.read(2 * f2), l2 = h2.read(2 * f2 + 1);
  11733. (c2 -= e2.x) * c2 + (l2 -= e2.y) * l2 <= n4 && (a2 = true, u2[f2] = true);
  11734. }
  11735. if (a2)
  11736. for (f2 = 0; f2 < r2; f2++)
  11737. u2[f2] || o2.Gd(i6, f2, f2 + 1);
  11738. else
  11739. o2.Gd(i6, 0, r2), o2.add(s5);
  11740. } else
  11741. o2.Gd(i6, 0, r2), o2.add(s5);
  11742. return o2;
  11743. }, s4.instance = null, s4;
  11744. }(t4.Ge);
  11745. t4.Jx = i4;
  11746. }(V || (V = {})), function(t4) {
  11747. var i4 = function() {
  11748. function i5(t5, i6, s4, n4) {
  11749. this.vs = i6 == null, this.za = -1, this.Sd = t5, this.vg = s4, this.FT = i6.next(), this.Vb = n4;
  11750. }
  11751. return i5.prototype.next = function() {
  11752. return this.vs ? null : (i6 = this.Sd.next()) != null ? (this.za = this.Sd.Ma(), t4.Jx.fp(i6, this.FT, this.vg, this.Vb)) : null;
  11753. var i6;
  11754. }, i5.prototype.Ma = function() {
  11755. return this.za;
  11756. }, i5.prototype.qe = function() {
  11757. }, i5;
  11758. }();
  11759. t4.vL = i4;
  11760. }(V || (V = {})), function(t4) {
  11761. var i4 = function() {
  11762. function t5() {
  11763. }
  11764. return t5.prototype.Az = function() {
  11765. this.Vy = null, this.zx = -1, this.uK = false;
  11766. }, t5;
  11767. }(), s4 = function() {
  11768. function t5() {
  11769. this.Ir = 0, this.rj = [];
  11770. }
  11771. return t5.prototype.jN = function(t6) {
  11772. this.Ir += t6.zx, this.rj.push(t6);
  11773. }, t5.prototype.LV = function() {
  11774. this.Ir -= this.rj[this.rj.length - 1].zx, --this.rj.length;
  11775. }, t5.prototype.iy = function() {
  11776. return this.rj[this.rj.length - 1];
  11777. }, t5.prototype.Nb = function(t6) {
  11778. return t6 === this;
  11779. }, t5;
  11780. }(), n4 = function() {
  11781. function n5(t5, i5, s5) {
  11782. this.za = -1, this.Jc = false, this.uH = [false, false, false, false], this.wq = [0, 0, 0, 0], this.eA = false, this.Ak = -1, this.kq = 0, this.co = -1, this.Eo = [], this.Sd = t5, this.vg = i5, this.Vb = s5;
  11783. }
  11784. return n5.YD = function(t5) {
  11785. var i5 = [], s5 = 0;
  11786. for (t5 = Object.keys(t5); s5 < t5.length; s5++)
  11787. i5.push(Number(t5[s5]));
  11788. return i5.sort(function(t6, i6) {
  11789. return t6 - i6;
  11790. }), i5;
  11791. }, n5.prototype.$F = function(i5) {
  11792. var s5 = this.Eo[i5], h2 = n5.YD(s5)[0], r2 = s5[h2], e2 = r2.iy().Vy;
  11793. return r2 = r2.iy().uK, delete s5[h2], r2 && (e2 = t4.$l.local().W(e2, this.vg, false, this.Vb), i5 == 0 && e2.K() == 33 && (i5 = new t4.de(e2.description), e2.B() || i5.add(e2), e2 = i5)), e2;
  11794. }, n5.prototype.next = function() {
  11795. if (this.Jc && this.co == this.Ak)
  11796. return null;
  11797. for (; !this.kK(); )
  11798. ;
  11799. if (this.Ak == -1)
  11800. return null;
  11801. if (this.eA) {
  11802. for (this.co++; ; ) {
  11803. if (this.co > this.Ak || 0 > this.co)
  11804. throw t4.i.Ra();
  11805. if (this.uH[this.co])
  11806. break;
  11807. }
  11808. return this.za++, this.$F(this.co);
  11809. }
  11810. return this.za = 0, this.co = this.Ak, this.$F(this.Ak);
  11811. }, n5.prototype.Ma = function() {
  11812. return this.za;
  11813. }, n5.prototype.kK = function() {
  11814. if (this.Jc)
  11815. return true;
  11816. var i5 = null;
  11817. if (this.Sd != null && ((i5 = this.Sd.next()) == null && (this.Jc = true, this.Sd = null)), t4.np.Bp(this.Vb), i5 != null) {
  11818. var s5 = i5.Eb();
  11819. this.uH[s5] = true, s5 >= this.Ak && !this.eA && (this.GD(s5, false, i5), s5 > this.Ak && !this.eA && this.rW(s5));
  11820. }
  11821. if (0 < this.kq)
  11822. for (s5 = 0; s5 <= this.Ak; s5++)
  11823. for (; 1 < this.wq[s5] && (i5 = this.zO(s5)).length != 0; )
  11824. i5 = t4.Hg.PP(i5, this.vg, this.Vb), this.GD(s5, true, i5);
  11825. return this.Jc;
  11826. }, n5.prototype.zO = function(t5) {
  11827. for (var i5 = [], s5 = [], h2 = this.Eo[t5], r2 = n5.YD(h2), e2 = 0; e2 < r2.length; e2++) {
  11828. var o2 = r2[e2], a2 = h2[o2];
  11829. if (this.Jc || 1e4 < a2.Ir && 1 < a2.rj.length) {
  11830. for (this.wq[t5] -= a2.rj.length, this.kq -= a2.rj.length; 0 < a2.rj.length; )
  11831. i5.push(a2.iy().Vy), a2.LV();
  11832. s5.push(o2);
  11833. }
  11834. }
  11835. for (e2 = 0; e2 < s5.length; e2++)
  11836. delete h2[s5[e2]];
  11837. return i5;
  11838. }, n5.prototype.rW = function(t5) {
  11839. for (var i5 = 0; i5 < t5; i5++)
  11840. this.Eo[i5] = [], this.kq -= this.wq[i5], this.wq[i5] = 0;
  11841. }, n5.prototype.GD = function(t5, h2, r2) {
  11842. var e2 = new i4();
  11843. if (e2.Az(), e2.Vy = r2, r2 = n5.YR(r2), e2.zx = r2, r2 = n5.WR(r2), t5 + 1 > this.Eo.length)
  11844. for (var o2 = 0, a2 = Math.max(2, t5 + 1); o2 < a2; o2++)
  11845. this.Eo.push([]);
  11846. (o2 = this.Eo[t5][r2]) === void 0 && (o2 = new s4(), this.Eo[t5][r2] = o2), e2.uK = h2, o2.jN(e2), this.wq[t5]++, this.kq++, this.Ak = Math.max(this.Ak, t5);
  11847. }, n5.WR = function(i5) {
  11848. return 0 < i5 ? t4.P.truncate(Math.log(i5) / Math.log(4) + 0.5) : 0;
  11849. }, n5.YR = function(i5) {
  11850. var s5 = i5.K();
  11851. if (t4.ba.zj(s5))
  11852. return i5.I();
  11853. if (s5 == 33)
  11854. return 1;
  11855. if (s5 == 197)
  11856. return 4;
  11857. if (t4.ba.zd(s5))
  11858. return 2;
  11859. throw t4.i.Ra();
  11860. }, n5.prototype.qe = function() {
  11861. this.kK();
  11862. }, n5;
  11863. }();
  11864. t4.xL = n4;
  11865. }(V || (V = {})), function(t4) {
  11866. var i4 = function(i5) {
  11867. function s4() {
  11868. return i5 !== null && i5.apply(this, arguments) || this;
  11869. }
  11870. return Q(s4, i5), s4.prototype.K = function() {
  11871. return 1;
  11872. }, s4.prototype.W = function(i6, s5, n4, h2) {
  11873. return h2 === void 0 ? new t4.xL(i6, s5, n4) : this.aQ(i6, s5, n4, h2);
  11874. }, s4.prototype.aQ = function(i6, s5, n4, h2) {
  11875. return i6 = new t4.$c([i6, s5]), this.W(i6, n4, h2).next();
  11876. }, s4.local = function() {
  11877. return s4.instance === null && (s4.instance = new s4()), s4.instance;
  11878. }, s4.instance = null, s4;
  11879. }(t4.Ge);
  11880. t4.Ih = i4;
  11881. }(V || (V = {})), function(t4) {
  11882. var i4, s4;
  11883. (s4 = i4 || (i4 = {}))[s4.nextPath = 0] = "nextPath", s4[s4.nextSegment = 1] = "nextSegment", s4[s4.iterate = 2] = "iterate", i4 = function() {
  11884. function i5(i6, s5, n4, h2) {
  11885. this.Vs = new t4.l(), this.yT = i6, this.zT = s5, this.oq = h2, this.vo = -1, this.tl = false;
  11886. var r2 = i6.Cb;
  11887. r2 != null && ((r2 = h2 ? r2.Ao : r2.Gb) != null && (this.Jc = false, this.ra = n4, this.Gb = r2, this.zw = this.Gb.getIterator(), this.pq = this.tl = true, this.Yb = 0, h2 ? this.vo = s5.ea() : this.td = s5.Ha())), this.tl || (r2 = s5.Cb) != null && ((r2 = h2 ? r2.Ao : r2.Gb) != null && (this.Jc = false, this.ra = n4, this.Gb = r2, this.zw = this.Gb.getIterator(), this.tl = true, this.pq = false, this.Yb = 0, h2 ? this.vo = i6.ea() : this.td = i6.Ha())), this.tl || (this.ei = h2 ? t4.ta.gR(i6, s5, n4, 1 <= i6.qm(0), 1 <= s5.qm(0)) : t4.ta.fR(i6, s5, n4));
  11888. }
  11889. return i5.prototype.next = function() {
  11890. if (this.tl) {
  11891. if (this.Jc)
  11892. return false;
  11893. for (var i6 = true; i6; )
  11894. switch (this.Yb) {
  11895. case 0:
  11896. i6 = this.pU();
  11897. break;
  11898. case 1:
  11899. i6 = this.qU();
  11900. break;
  11901. case 2:
  11902. i6 = this.Pz();
  11903. break;
  11904. default:
  11905. throw t4.i.ga("internal error");
  11906. }
  11907. return !this.Jc;
  11908. }
  11909. return this.ei != null && this.ei.next();
  11910. }, i5.prototype.pl = function() {
  11911. return this.tl ? this.pq ? this.Gb.ka(this.Hs) : this.oq ? this.vo : this.td.xb() : this.ei.pl(this.ei.Wf);
  11912. }, i5.prototype.jl = function() {
  11913. return this.tl ? this.pq ? this.oq ? this.vo : this.td.xb() : this.Gb.ka(this.Hs) : this.ei.jl(this.ei.Bf);
  11914. }, i5.prototype.oz = function() {
  11915. if (!this.oq)
  11916. throw t4.i.ga("internal error");
  11917. return this.tl ? this.pq ? this.Gb.AF(this.Hs) : this.Vs : this.ei.oz(this.ei.Wf);
  11918. }, i5.prototype.Wy = function() {
  11919. if (!this.oq)
  11920. throw t4.i.ga("internal error");
  11921. return this.tl ? this.pq ? this.Vs : this.Gb.AF(this.Hs) : this.ei.Wy(this.ei.Bf);
  11922. }, i5.prototype.pU = function() {
  11923. return this.oq ? --this.vo == -1 ? (this.Jc = true, false) : (this.pq ? this.zT.Tj(this.vo, this.Vs) : this.yT.Tj(this.vo, this.Vs), this.zw.Zi(this.Vs, this.ra), this.Yb = 2, true) : this.td.ab() ? (this.Yb = 1, true) : (this.Jc = true, false);
  11924. }, i5.prototype.qU = function() {
  11925. if (!this.td.Ia())
  11926. return this.Yb = 0, true;
  11927. var t5 = this.td.ia();
  11928. return this.zw.Vo(t5, this.ra), this.Yb = 2, true;
  11929. }, i5.prototype.Pz = function() {
  11930. return this.Hs = this.zw.next(), this.Hs == -1 && (this.Yb = this.oq ? 0 : 1, true);
  11931. }, i5;
  11932. }(), t4.am = i4;
  11933. }(V || (V = {})), function(t4) {
  11934. (t4 = t4.IL || (t4.IL = {}))[t4.enumClosed = 1] = "enumClosed", t4[t4.enumHasNonlinearSegments = 2] = "enumHasNonlinearSegments", t4[t4.enumOGCStartPolygon = 4] = "enumOGCStartPolygon", t4[t4.enumCalcMask = 4] = "enumCalcMask";
  11935. }(V || (V = {})), function(t4) {
  11936. t4.KC = function() {
  11937. function i4() {
  11938. }
  11939. return i4.ub = function(s4, n4, h2, r2, e2, o2, a2, u2, f2) {
  11940. var c2 = [0, 0, 0], l2 = [0, 0, 0], p2 = [0, 0, 0], v2 = [0, 0, 0, 0], y2 = new t4.ha(0), b2 = new t4.ha(0), d2 = new t4.ha(0);
  11941. if (a2 != null || u2 != null || f2 != null)
  11942. if (t4.s.vi(n4))
  11943. t4.$g.ub(s4, h2, r2, e2, o2, a2, u2, f2);
  11944. else {
  11945. e2 = t4.F.ca(e2), h2 = t4.F.ca(h2);
  11946. var g2 = t4.F.ca(e2 - h2);
  11947. if (t4.s.$(r2, o2) && (t4.s.$(h2, e2) || t4.s.$(t4.s.R(r2), 1.570796326794897)))
  11948. a2 != null && (a2.u = 0), u2 != null && (u2.u = 0), f2 != null && (f2.u = 0);
  11949. else {
  11950. if (t4.s.$(r2, -o2)) {
  11951. if (t4.s.$(t4.s.R(r2), 1.570796326794897))
  11952. return a2 != null && (a2.u = 2 * t4.F.Ch(s4, n4)), u2 != null && (u2.u = 0 < r2 ? t4.F.ca(3.141592653589793 - t4.F.ca(e2)) : t4.F.ca(e2)), void (f2 != null && (f2.u = 0 < r2 ? t4.F.ca(e2) : t4.F.ca(3.141592653589793 - t4.F.ca(e2))));
  11953. t4.s.$(t4.s.R(g2), 3.141592653589793) && (a2 != null && (a2.u = 2 * t4.F.Ch(s4, n4)), u2 != null && (u2.u = 0), f2 != null && (f2.u = 0));
  11954. } else {
  11955. if (t4.s.$(t4.s.R(r2), 1.570796326794897) || t4.s.$(t4.s.R(o2), 1.570796326794897))
  11956. return void t4.Yk.ub(s4, n4, h2, r2, e2, o2, a2, u2, f2);
  11957. if (t4.s.$(h2, e2) || t4.s.$(t4.s.R(g2), 3.141592653589793))
  11958. return void t4.Yk.ub(s4, n4, h2, r2, e2, o2, a2, u2, f2);
  11959. if (t4.s.Dd(r2))
  11960. return void t4.Yk.ub(s4, n4, h2, r2, e2, o2, a2, u2, f2);
  11961. }
  11962. var w2 = Math.sqrt(1 - n4);
  11963. e2 = t4.F.ca(e2 - h2), h2 = 0, t4.F.el(1, n4, r2, h2, 0, y2, b2, d2), c2[0] = y2.u, c2[1] = b2.u, c2[2] = d2.u, t4.F.el(1, n4, o2, e2, 0, y2, b2, d2), l2[0] = y2.u, l2[1] = b2.u, l2[2] = d2.u, p2[0] = 0, p2[1] = 0, p2[2] = -1 * n4 * t4.F.n(1, n4, r2) * Math.sin(r2), 0 > e2 ? t4.F.Yq(p2, l2, c2, v2, 0) : t4.F.Yq(p2, c2, l2, v2, 0), b2 = [0, 0, 0], d2 = [0, 0, 0];
  11964. var x2 = [0, 0, 0];
  11965. c2 = [0, 0, 0], y2 = [0, 0, 0];
  11966. var m2 = Math.acos(v2[2] / 1), j2 = 1 - n4, k2 = Math.tan(m2), M2 = 1 + k2 * k2 / j2, z2 = 2 * p2[2] * k2 / j2;
  11967. for (j2 = (-z2 + (k2 = Math.sqrt(z2 * z2 - 4 * M2 * (p2[2] * p2[2] / j2 - 1)))) / (M2 *= 2), z2 = (-z2 - k2) / M2, k2 = Math.tan(m2), m2 = (j2 + z2) / 2, p2 = ((M2 = k2 * j2 + p2[2]) + (k2 * z2 + p2[2])) / 2, k2 = t4.F.hp(j2 - m2, M2 - p2), j2 = p2 / w2 * 1.570796326794897, z2 = 0; 100 > z2 && (M2 = (M2 = t4.F.w(n4, j2)) * M2 / Math.cos(j2) * (Math.sin(j2) - p2 * M2 / (1 - n4)), !t4.s.Dd(M2)); z2++)
  11968. j2 -= M2;
  11969. p2 = t4.F.n(1, n4, j2) * Math.cos(j2), k2 = 1 - k2 / (p2 = Math.sqrt((p2 - m2) * (p2 + m2))), k2 *= 2 - k2, M2 = t4.F.qn(b2), m2 = t4.F.qn(d2), j2 = t4.F.qn(x2);
  11970. var A2 = t4.F.Ut(x2, b2);
  11971. z2 = t4.F.Ut(x2, d2), t4.F.yx(x2, b2, c2), t4.F.yx(x2, d2, y2), b2 = Math.acos(A2 / (j2 * M2)), d2 = Math.acos(z2 / (j2 * m2)), d2 *= t4.s.Mb(1, t4.F.Ut(c2, y2)), (1.570796326794897 <= t4.s.R(b2) && 1.570796326794897 <= t4.s.R(d2) || 3.141592653589793 < t4.s.R(b2 - d2)) && (b2 = (3.141592653589793 - t4.s.R(b2)) * t4.s.Mb(1, b2), d2 = (3.141592653589793 - t4.s.R(d2)) * t4.s.Mb(1, d2)), c2 = t4.F.Sj(k2, d2), y2 = t4.F.q(p2, k2, t4.F.Sj(k2, b2)), c2 = t4.F.q(p2, k2, c2), c2 = t4.s.R(c2 - y2) * s4, b2 = new t4.ha(0), d2 = new t4.ha(0), x2 = v2[1] / 1, x2 *= -t4.s.Mb(1, g2), y2 = Math.acos(x2) * t4.s.Mb(1, g2), i4.sf(s4, n4, h2, r2, c2, y2, b2, d2), t4.s.$(e2, b2.u) && t4.s.$(o2, d2.u) || (k2 = t4.F.hp(t4.F.ca(e2 - b2.u), o2 - d2.u), i4.sf(s4, n4, h2, r2, c2, t4.F.ca(y2 + 3.141592653589793), b2, d2), (M2 = t4.F.hp(t4.F.ca(e2 - b2.u), o2 - d2.u)) < k2 && (y2 = t4.F.ca(y2 + 3.141592653589793))), b2 = [0, 0, 0, 0], d2 = [0, 0, 0, 0], k2 = [0, 0, 0], s4 = [0, 0, 0], h2 = [0, 0, 0], r2 = [0, 0, 0], x2 = [0, 0, 0], (p2 = [0, 0, 0])[0] = 0, p2[1] = 0, p2[2] = w2, k2[0] = 0, k2[1] = 0, k2[2] = 0, t4.F.Yq(k2, p2, l2, b2, 0), t4.s.Dd(o2) ? (s4[0] = l2[0], s4[1] = l2[1], s4[2] = 1, h2[0] = 1 * Math.cos(e2) - 1 * Math.sin(e2), h2[1] = 1 * Math.sin(e2) + 1 * Math.cos(e2)) : (n4 = t4.F.n(1, n4, o2) * Math.cos(o2), s4[0] = 0, s4[1] = 0, l2[2] += Math.tan(1.570796326794897 - t4.s.R(o2)) * n4 * t4.s.Mb(1, o2), h2[0] = n4 * Math.cos(e2) - n4 * Math.sin(e2), h2[1] = n4 * Math.sin(e2) + n4 * Math.cos(e2)), h2[2] = l2[2], t4.F.Yq(l2, h2, s4, d2, 1), t4.F.yx(d2, b2, r2), t4.F.yx(d2, v2, x2), x2 = t4.F.Ut(r2, x2) / (t4.F.qn(r2) * t4.F.qn(x2)), x2 *= t4.s.Mb(1, g2), e2 = Math.acos(x2) * -t4.s.Mb(1, g2), (0 < y2 && 0 < e2 || 0 > y2 && 0 > e2) && (e2 = t4.F.ca(e2 + 3.141592653589793)), a2 != null && (a2.u = c2), u2 != null && (u2.u = y2), f2 != null && (f2.u = e2);
  11972. }
  11973. }
  11974. }, i4.sf = function(i5, s4, n4, h2, r2, e2, o2, a2) {
  11975. var u2 = [0, 0, 0], f2 = [0, 0, 0], c2 = [0, 0, 0], l2 = [0, 0, 0], p2 = [0, 0, 0], v2 = [0, 0, 0], y2 = [0, 0, 0], b2 = [0, 0, 0, 0], d2 = new t4.ha(0), g2 = new t4.ha(0), w2 = new t4.ha(0), x2 = new t4.ha(0), m2 = new t4.ha(0), j2 = new t4.ha(0);
  11976. if (o2 != null && a2 != null)
  11977. if (t4.s.vi(s4))
  11978. t4.$g.sf(i5, n4, h2, r2, e2, o2, a2);
  11979. else if (t4.s.Dd(r2))
  11980. o2 != null && (o2.u = n4), a2 != null && (a2.u = h2);
  11981. else if (e2 = t4.F.ca(e2), 0 > r2 && (r2 = t4.s.R(r2), e2 = t4.F.ca(e2 + 3.141592653589793)), n4 = t4.F.ca(n4), h2 = t4.F.ca(h2), 1.570796326794897 < t4.s.R(h2) && (n4 = t4.F.ca(n4 + 3.141592653589793), h2 = t4.s.Mb(3.141592653589793, h2) - h2), t4.s.$(t4.s.R(h2), 1.570796326794897) || t4.s.Dd(h2) || t4.s.Dd(e2) || t4.s.$(t4.s.R(e2), 3.141592653589793))
  11982. t4.Yk.sf(i5, s4, n4, h2, r2, e2, o2, a2);
  11983. else {
  11984. var k2 = Math.sqrt(1 - s4);
  11985. for (i5 = r2 / i5, t4.F.el(1, s4, h2, 0, 0, x2, m2, j2), u2[0] = x2.u, u2[1] = m2.u, u2[2] = m2.u, y2[0] = 0, y2[1] = 0, y2[2] = -1 * s4 * t4.F.n(1, s4, h2) * Math.sin(h2), x2 = t4.F.n(1, s4, h2), m2 = t4.F.ca(1.570796326794897 - e2), j2 = Math.sin(m2), r2 = Math.cos(h2), h2 = Math.sin(h2), p2[0] = x2 * r2 - h2 * j2, p2[1] = Math.cos(m2), p2[2] = (1 - s4) * x2 * h2 + r2 * j2, 0 > e2 ? t4.F.Yq(y2, p2, u2, b2, 0) : t4.F.Yq(y2, u2, p2, b2, 0), u2 = Math.acos(b2[2] / 1), b2 = Math.atan2(-b2[1], -b2[0]), h2 = 1 - s4, m2 = 1 + (p2 = Math.tan(u2)) * p2 / h2, h2 = (-(x2 = 2 * y2[2] * p2 / h2) + (p2 = Math.sqrt(x2 * x2 - 4 * m2 * (y2[2] * y2[2] / h2 - 1)))) / (m2 *= 2), x2 = (-x2 - p2) / m2, p2 = Math.tan(u2), u2 = (h2 + x2) / 2, y2 = ((m2 = p2 * h2 + y2[2]) + (p2 * x2 + y2[2])) / 2, p2 = t4.F.hp(h2 - u2, m2 - y2), k2 = y2 / k2 * 1.570796326794897, h2 = 0; 100 > h2 && (x2 = (x2 = t4.F.w(s4, k2)) * x2 / Math.cos(k2) * (Math.sin(k2) - y2 * x2 / (1 - s4)), !t4.s.Dd(x2)); h2++)
  11986. k2 -= x2;
  11987. k2 = t4.F.n(1, s4, k2) * Math.cos(k2), y2 = 1 - p2 / (k2 = Math.sqrt((k2 - u2) * (k2 + u2))), y2 *= 2 - y2, v2 = Math.acos(t4.F.Ut(v2, f2) / (t4.F.qn(v2) * t4.F.qn(f2))), v2 *= t4.s.Mb(1, f2[0]), e2 = (t4.F.q(k2, y2, t4.F.Sj(y2, v2)) + i5 * t4.s.Mb(1, e2)) / t4.F.Ch(k2, y2), e2 = t4.F.ca(1.570796326794897 * e2), e2 = t4.F.Tq(y2, e2), t4.F.n(k2, y2, e2), p2 = t4.F.ca(b2 + n4), n4 = Math.cos(p2), e2 = Math.sin(p2), c2[0] = l2[0] * n4 + l2[1] * -e2, c2[1] = l2[0] * e2 + l2[1] * n4, c2[2] = l2[2], t4.F.dO(s4, c2[0], c2[1], c2[2], w2, g2, d2), o2 != null && (o2.u = g2.u), a2 != null && (a2.u = w2.u);
  11988. }
  11989. }, i4;
  11990. }();
  11991. }(V || (V = {})), function(t4) {
  11992. var i4 = function() {
  11993. function i5(i6) {
  11994. this.Za = null, this.xt = new t4.h(), this.yt = new t4.h(), this.g = i6;
  11995. }
  11996. return i5.prototype.compare = function(t5, i6, s5) {
  11997. return this.g.Hc(i6, this.xt), this.g.Hc(t5.ka(s5), this.yt), this.xt.compare(this.yt);
  11998. }, i5;
  11999. }(), s4 = function() {
  12000. function i5(i6) {
  12001. this.Cf = new t4.h(), this.Ek = new t4.h(), this.g = i6;
  12002. }
  12003. return i5.prototype.Fh = function(t5) {
  12004. this.Cf.N(t5);
  12005. }, i5.prototype.compare = function(t5, i6) {
  12006. return this.g.Hc(t5.ka(i6), this.Ek), this.Cf.compare(this.Ek);
  12007. }, i5;
  12008. }(), n4 = function(t5) {
  12009. function i5(i6) {
  12010. var s5 = t5.call(this, i6.g, i6.ra, false) || this;
  12011. return s5.ib = i6, s5;
  12012. }
  12013. return Q(i5, t5), i5.prototype.compare = function(t6, i6, s5) {
  12014. if (this.rg)
  12015. return -1;
  12016. var n5 = this.ib.Rd.Kn(this.ib.Th(i6));
  12017. t6 = t6.ka(s5);
  12018. var h3 = this.ib.Rd.Kn(this.ib.Th(t6));
  12019. return this.Fm = s5, this.LE(i6, n5, t6, h3);
  12020. }, i5;
  12021. }(t4.OC), h2 = function(t5) {
  12022. function i5(i6) {
  12023. var s5 = t5.call(this, i6.g, i6.ra) || this;
  12024. return s5.ib = i6, s5;
  12025. }
  12026. return Q(i5, t5), i5.prototype.compare = function(t6, i6) {
  12027. return this.rg ? -1 : (t6 = this.ib.Rd.Kn(this.ib.Th(t6.ka(i6))), this.Fm = i6, this.ME(i6, t6));
  12028. }, i5;
  12029. }(t4.VL), r2 = function() {
  12030. function r3() {
  12031. this.Nc = this.df = this.ko = this.Rd = this.nh = this.Ad = this.hb = this.g = null, this.Pg = false, this.xh = this.Pm = this.ie = this.Hk = this.ph = this.Bk = this.Gf = this.ae = null, this.zh = this.Lq = this.OA = this.ra = 0, this.Zv = this.Xn = false, this.zo = new t4.h(), this.Ri = new t4.h(), this.hb = new t4.ad(8), this.Ad = new t4.ad(5), this.nh = new t4.cu(), this.Rd = new t4.cu(), this.Pg = false, this.xh = new t4.h(), this.xh.na(0, 0), this.ra = 0, this.zh = -1, this.Xn = false, this.g = null, this.df = new t4.Zj(), this.Nc = new t4.Zj(), this.ph = new t4.ja(0), this.Hk = new t4.NC(), this.Gf = new t4.ja(0), this.Bk = new t4.ja(0), this.ko = new t4.Ta();
  12032. }
  12033. return r3.prototype.HX = function(i5, s5) {
  12034. var n5 = new t4.Ed();
  12035. return n5.UB(), i5.Pc(n5), this.gr(i5), this.Xn = false, this.ra = s5, this.OA = s5 * s5, s5 = this.dC(), i5.Pc(n5), s5 || (this.kQ(), s5 || this.dC()), this.zh != -1 && (this.g.Ud(this.zh), this.zh = -1), this.g = null, this.Xn;
  12036. }, r3.prototype.LX = function(t5, i5) {
  12037. this.gr(t5), this.Xn = false, this.ra = i5, this.OA = i5 * i5, this.Pg = false, this.dC(), this.Pg || (this.Pg = t5.Ip(i5, true, false) == 1), this.zh != -1 && (this.g.Ud(this.zh), this.zh = -1), this.g = null;
  12038. }, r3.prototype.pg = function(t5, i5) {
  12039. return this.hb.U(t5, 0 + i5);
  12040. }, r3.prototype.FB = function(t5, i5, s5) {
  12041. this.hb.T(t5, 0 + i5, s5);
  12042. }, r3.prototype.Th = function(t5) {
  12043. return this.hb.U(t5, 2);
  12044. }, r3.prototype.QW = function(t5, i5) {
  12045. this.hb.T(t5, 2, i5);
  12046. }, r3.prototype.LF = function(t5, i5) {
  12047. return this.hb.U(t5, 3 + i5);
  12048. }, r3.prototype.Rp = function(t5) {
  12049. return this.hb.U(t5, 7);
  12050. }, r3.prototype.Rl = function(t5, i5) {
  12051. this.hb.T(t5, 7, i5);
  12052. }, r3.prototype.Tp = function(t5, i5) {
  12053. return this.hb.U(t5, 3 + this.Qp(t5, i5));
  12054. }, r3.prototype.hr = function(t5, i5, s5) {
  12055. this.hb.T(t5, 3 + this.Qp(t5, i5), s5);
  12056. }, r3.prototype.GR = function(t5, i5) {
  12057. return this.hb.U(t5, 5 + this.Qp(t5, i5));
  12058. }, r3.prototype.jr = function(t5, i5, s5) {
  12059. this.hb.T(t5, 5 + this.Qp(t5, i5), s5);
  12060. }, r3.prototype.Ur = function(t5) {
  12061. return this.Ad.U(t5, 0);
  12062. }, r3.prototype.MW = function(t5, i5) {
  12063. this.Ad.T(t5, 0, i5);
  12064. }, r3.prototype.$y = function(t5) {
  12065. return this.Ad.U(t5, 4);
  12066. }, r3.prototype.er = function(t5, i5) {
  12067. this.Ad.T(t5, 4, i5);
  12068. }, r3.prototype.kl = function(t5) {
  12069. return this.Ad.U(t5, 1);
  12070. }, r3.prototype.nn = function(t5, i5) {
  12071. this.Ad.T(t5, 1, i5);
  12072. }, r3.prototype.Zy = function(t5) {
  12073. return this.Ad.U(t5, 3);
  12074. }, r3.prototype.Ft = function(t5, i5) {
  12075. this.Ad.T(t5, 3, i5);
  12076. }, r3.prototype.$m = function(t5) {
  12077. var i5 = this.Ad.De(), s5 = this.nh.Rh();
  12078. return this.MW(i5, s5), t5 != -1 ? (this.nh.addElement(s5, t5), this.g.Sa(t5, this.zh, i5), this.er(i5, this.g.Va(t5))) : this.er(i5, -1), i5;
  12079. }, r3.prototype.BP = function(t5) {
  12080. this.Ad.kd(t5);
  12081. }, r3.prototype.ED = function(t5, i5) {
  12082. this.nh.addElement(this.Ur(t5), i5), this.g.Sa(i5, this.zh, t5);
  12083. }, r3.prototype.ot = function(t5) {
  12084. var i5 = this.hb.De(), s5 = this.Rd.Rh();
  12085. return this.QW(i5, s5), t5 != -1 && this.Rd.addElement(s5, t5), i5;
  12086. }, r3.prototype.FD = function(t5, i5) {
  12087. this.Rd.addElement(this.Th(t5), i5);
  12088. }, r3.prototype.Wu = function(t5) {
  12089. this.hb.kd(t5), 0 <= (t5 = this.ph.fF(t5)) && this.ph.KV(t5);
  12090. }, r3.prototype.jj = function(i5, s5) {
  12091. if (this.pg(i5, 0) == -1)
  12092. this.FB(i5, 0, s5);
  12093. else {
  12094. if (this.pg(i5, 1) != -1)
  12095. throw t4.i.Ra();
  12096. this.FB(i5, 1, s5);
  12097. }
  12098. this.gy(i5, s5);
  12099. }, r3.prototype.gy = function(t5, i5) {
  12100. var s5 = this.kl(i5);
  12101. if (s5 != -1) {
  12102. var n5 = this.Tp(s5, i5);
  12103. this.jr(n5, i5, t5), this.hr(t5, i5, n5), this.hr(s5, i5, t5), this.jr(t5, i5, s5);
  12104. } else
  12105. this.jr(t5, i5, t5), this.hr(t5, i5, t5), this.nn(i5, t5);
  12106. }, r3.prototype.Qp = function(t5, i5) {
  12107. return this.pg(t5, 0) == i5 ? 0 : 1;
  12108. }, r3.prototype.Zm = function(t5, i5) {
  12109. var s5, n5 = this.Zy(i5);
  12110. if (n5 != -1 && (this.df.wd(n5, -1), this.Ft(i5, -1)), (n5 = this.kl(i5)) != -1) {
  12111. var h3 = s5 = n5;
  12112. do {
  12113. var r4 = false, e2 = this.Qp(s5, i5), o2 = this.LF(s5, e2);
  12114. if (this.pg(s5, e2 + 1 & 1) == t5) {
  12115. if (this.Zu(s5), this.Rd.eh(this.Th(s5)), this.Wu(s5), s5 == o2) {
  12116. n5 = -1;
  12117. break;
  12118. }
  12119. n5 == s5 && (n5 = this.kl(i5), h3 = o2, r4 = true);
  12120. }
  12121. s5 = o2;
  12122. } while (s5 != h3 || r4);
  12123. if (n5 != -1) {
  12124. do {
  12125. e2 = this.Qp(s5, i5), o2 = this.LF(s5, e2), this.FB(s5, e2, t5), s5 = o2;
  12126. } while (s5 != h3);
  12127. (s5 = this.kl(t5)) != -1 ? (h3 = this.Tp(s5, t5), r4 = this.Tp(n5, t5), h3 == s5 ? (this.nn(t5, n5), this.gy(s5, t5), this.nn(t5, s5)) : r4 == n5 && this.gy(n5, t5), this.hr(n5, t5, h3), this.jr(h3, t5, n5), this.hr(s5, t5, r4), this.jr(r4, t5, s5)) : this.nn(t5, n5);
  12128. }
  12129. }
  12130. for (n5 = this.Ur(t5), s5 = this.Ur(i5), h3 = this.nh.sc(s5); h3 != -1; h3 = this.nh.lb(h3))
  12131. this.g.Sa(this.nh.ka(h3), this.zh, t5);
  12132. this.nh.Cy(n5, s5), this.BP(i5);
  12133. }, r3.prototype.MT = function(t5, i5) {
  12134. var s5 = this.pg(t5, 0), n5 = this.pg(t5, 1), h3 = this.pg(i5, 0), r4 = this.pg(i5, 1);
  12135. this.Rd.Cy(this.Th(t5), this.Th(i5)), i5 == this.kl(s5) && this.nn(s5, t5), i5 == this.kl(n5) && this.nn(n5, t5), this.Zu(i5), this.Wu(i5), s5 == h3 && n5 == r4 || n5 == h3 && s5 == r4 || (this.In(s5, this.zo), this.In(h3, this.Ri), this.zo.rb(this.Ri) ? (s5 != h3 && this.Zm(s5, h3), n5 != r4 && this.Zm(n5, r4)) : (n5 != h3 && this.Zm(n5, h3), s5 != r4 && this.Zm(s5, r4)));
  12136. }, r3.prototype.Zu = function(t5) {
  12137. var i5 = this.pg(t5, 1);
  12138. this.YE(t5, this.pg(t5, 0)), this.YE(t5, i5);
  12139. }, r3.prototype.YE = function(t5, i5) {
  12140. var s5 = this.Tp(t5, i5), n5 = this.GR(t5, i5), h3 = this.kl(i5);
  12141. s5 != t5 ? (this.hr(n5, i5, s5), this.jr(s5, i5, n5), h3 == t5 && this.nn(i5, s5)) : this.nn(i5, -1);
  12142. }, r3.prototype.QD = function(t5, i5, s5) {
  12143. var n5 = this.Rd.sc(t5), h3 = this.Rd.ka(n5);
  12144. t5 = this.Ie(h3);
  12145. var r4 = this.Ie(this.g.V(h3));
  12146. for (this.g.lr(h3, i5, s5, true), n5 = this.Rd.lb(n5); n5 != -1; n5 = this.Rd.lb(n5)) {
  12147. h3 = this.Rd.ka(n5);
  12148. var e2 = this.Ie(h3) == t5;
  12149. this.g.lr(h3, i5, s5, e2);
  12150. }
  12151. n5 = i5.Xp(s5, 0).ac(), i5 = i5.Xp(s5, i5.ql(s5) - 1).xc(), this.vK(t5, n5), this.vK(r4, i5);
  12152. }, r3.prototype.TE = function(t5, i5, s5) {
  12153. var n5 = this.Th(t5), h3 = this.pg(t5, 0), r4 = this.pg(t5, 1), e2 = this.ot(-1);
  12154. for (this.ph.add(e2), this.Rl(e2, -3), this.Gf.add(e2), this.jj(e2, h3), t5 = 1, i5 = i5.ql(s5); t5 < i5; t5++)
  12155. s5 = this.$m(-1), this.Bk.add(s5), this.Gf.add(s5), this.jj(e2, s5), e2 = this.ot(-1), this.ph.add(e2), this.Rl(e2, -3), this.Gf.add(e2), this.jj(e2, s5);
  12156. for (this.jj(e2, r4), n5 = this.Rd.sc(n5); n5 != -1; n5 = this.Rd.lb(n5))
  12157. if (r4 = this.Rd.ka(n5), this.Ie(r4) == h3) {
  12158. t5 = 0;
  12159. do {
  12160. 0 < t5 && (e2 = this.Gf.get(t5 - 1), this.ED(e2, r4), this.$y(e2) == -1 && this.er(e2, this.g.Va(r4))), e2 = this.Gf.get(t5), t5 += 2, this.FD(e2, r4), r4 = this.g.V(r4);
  12161. } while (t5 < this.Gf.size);
  12162. } else {
  12163. t5 = this.Gf.size - 1;
  12164. do {
  12165. t5 < this.Gf.size - 2 && (e2 = this.Gf.get(t5 + 1), this.ED(e2, r4), 0 > this.$y(e2) && this.er(e2, this.g.Va(r4))), e2 = this.Gf.get(t5), t5 -= 2, this.FD(e2, r4), r4 = this.g.V(r4);
  12166. } while (0 <= t5);
  12167. }
  12168. this.Gf.clear(false);
  12169. }, r3.prototype.Ie = function(t5) {
  12170. return this.g.Qa(t5, this.zh);
  12171. }, r3.prototype.MI = function(i5, s5, n5) {
  12172. var h3 = this.pg(s5, 0), r4 = new t4.h();
  12173. this.In(h3, r4);
  12174. var e2 = new t4.h(), o2 = this.pg(s5, 1);
  12175. this.In(o2, e2);
  12176. var a2 = n5.ql(i5), u2 = n5.Xp(i5, 0), f2 = new t4.h();
  12177. if (u2.$p(f2), !r4.rb(f2)) {
  12178. if (!this.Pg) {
  12179. var c2 = r4.compare(this.xh);
  12180. 0 > c2 * (f2 = f2.compare(this.xh)) && (this.Pg = true);
  12181. }
  12182. this.pF(h3, this.Gf), this.Bk.add(h3);
  12183. }
  12184. for (!this.Pg && 1 < a2 && (c2 = r4.compare(e2), u2 = u2.xc(), (r4.compare(u2) != c2 || u2.compare(e2) != c2 || 0 > u2.compare(this.xh)) && (this.Pg = true)), i5 = (u2 = n5.Xp(i5, a2 - 1)).xc(), e2.rb(i5) || (this.Pg || 0 > (c2 = e2.compare(this.xh)) * (f2 = i5.compare(this.xh)) && (this.Pg = true), this.pF(o2, this.Gf), this.Bk.add(o2)), this.Gf.add(s5), e2 = 0, o2 = this.Gf.size; e2 < o2; e2++)
  12185. i5 = this.Gf.get(e2), n5 = this.Rp(i5), t4.ad.FG(n5) && (this.Nc.wd(n5, -1), this.Rl(i5, -1)), i5 != s5 && this.Rp(i5) != -3 && (this.ph.add(i5), this.Rl(i5, -3));
  12186. this.Gf.clear(false);
  12187. }, r3.prototype.fO = function(t5, i5) {
  12188. this.ae.compare(this.Nc, this.Nc.ka(t5), i5), this.ae.rg && (this.ae.Mr(), this.iF(t5, i5));
  12189. }, r3.prototype.iF = function(i5, s5) {
  12190. this.Xn = true, i5 = this.Nc.ka(i5), s5 = this.Nc.ka(s5);
  12191. var n5 = this.Rd.Kn(this.Th(i5)), h3 = this.Rd.Kn(this.Th(s5)), r4 = this.g.cc(n5);
  12192. r4 == null && (this.ie == null && (this.ie = new t4.zb()), this.g.fd(n5, this.ie), r4 = this.ie), (n5 = this.g.cc(h3)) == null && (this.Pm == null && (this.Pm = new t4.zb()), this.g.fd(h3, this.Pm), n5 = this.Pm), this.Hk.Po(r4), this.Hk.Po(n5), this.Hk.Fa(this.ra, true) && (this.Pg = true), this.bK(i5, s5, -1, this.Hk), this.Hk.clear();
  12193. }, r3.prototype.AQ = function(i5, s5) {
  12194. this.Xn = true, s5 = this.Nc.ka(s5);
  12195. var n5 = this.Rd.Kn(this.Th(s5)), h3 = this.g.cc(n5);
  12196. h3 == null && (this.ie == null && (this.ie = new t4.zb()), this.g.fd(n5, this.ie), h3 = this.ie), n5 = this.vF(i5), this.Hk.Po(h3), this.g.Xi(n5, this.ko), this.Hk.Fz(this.ra, this.ko, true), this.bK(s5, -1, i5, this.Hk), this.Hk.clear();
  12197. }, r3.prototype.qS = function() {
  12198. if (this.ph.size != 0)
  12199. for (; this.ph.size != 0; ) {
  12200. if (this.ph.size > Math.max(100, this.g.gd)) {
  12201. this.ph.clear(false), this.Pg = true;
  12202. break;
  12203. }
  12204. var t5 = this.ph.Gc();
  12205. this.ph.Jf(), this.Rl(t5, -1), this.OS(t5) != -1 && this.pS(t5), this.Wn = false;
  12206. }
  12207. }, r3.prototype.pS = function(t5) {
  12208. if (this.Wn) {
  12209. var i5 = this.Nc.Bu(this.GH, this.AH, t5, true);
  12210. this.Wn = false;
  12211. } else
  12212. i5 = this.Nc.DD(t5);
  12213. i5 == -1 ? this.MT(this.Nc.ka(this.Nc.zF()), t5) : (this.Rl(t5, i5), this.ae.rg && (this.ae.Mr(), this.iF(this.ae.Fm, i5)));
  12214. }, r3.prototype.OS = function(i5) {
  12215. var s5 = this.pg(i5, 0);
  12216. if (i5 = this.pg(i5, 1), this.In(s5, this.zo), this.In(i5, this.Ri), t4.h.zc(this.zo, this.Ri) <= this.OA)
  12217. return this.Pg = true, -1;
  12218. var n5 = this.zo.compare(this.xh), h3 = this.Ri.compare(this.xh);
  12219. return 0 >= n5 && 0 < h3 ? i5 : 0 >= h3 && 0 < n5 ? s5 : -1;
  12220. }, r3.prototype.iQ = function() {
  12221. var i5 = new t4.ja(0);
  12222. i5.Jb(this.g.gd);
  12223. for (var s5 = this.g.$q(), n5 = s5.next(); n5 != -1; n5 = s5.next())
  12224. this.g.Qa(n5, this.zh) != -1 && i5.add(n5);
  12225. this.g.nx(i5, i5.size), this.jQ(i5);
  12226. }, r3.prototype.jQ = function(s5) {
  12227. this.df.clear(), this.df.Ee(s5.size), this.df.Wo(new i4(this.g));
  12228. var n5 = new t4.h();
  12229. n5.Sc();
  12230. for (var h3 = -1, r4 = new t4.h(), e2 = 0, o2 = s5.size; e2 < o2; e2++) {
  12231. var a2 = s5.get(e2);
  12232. this.g.Hc(a2, r4), r4.rb(n5) ? (a2 = this.g.Qa(a2, this.zh), this.Zm(h3, a2)) : (h3 = this.Ie(a2), this.g.Hc(a2, n5), a2 = this.df.yn(a2), this.Ft(h3, a2));
  12233. }
  12234. }, r3.prototype.kQ = function() {
  12235. var i5 = new t4.ja(0);
  12236. i5.Jb(this.g.gd);
  12237. for (var s5 = this.df.sc(-1); s5 != -1; s5 = this.df.lb(s5))
  12238. i5.add(this.df.ka(s5));
  12239. this.df.clear(), this.g.nx(i5, i5.size), s5 = 0;
  12240. for (var n5 = i5.size; s5 < n5; s5++) {
  12241. var h3 = i5.get(s5), r4 = this.Ie(h3);
  12242. h3 = this.df.yn(h3), this.Ft(r4, h3);
  12243. }
  12244. }, r3.prototype.pF = function(i5, s5) {
  12245. var n5 = this.kl(i5);
  12246. if (n5 != -1) {
  12247. var h3 = n5;
  12248. do {
  12249. t4.ad.FG(this.Rp(h3)) && s5.add(h3), h3 = this.Tp(h3, i5);
  12250. } while (h3 != n5);
  12251. }
  12252. }, r3.prototype.vK = function(t5, i5) {
  12253. for (t5 = this.nh.sc(this.Ur(t5)); t5 != -1; t5 = this.nh.lb(t5))
  12254. this.g.mf(this.nh.ka(t5), i5);
  12255. }, r3.prototype.bK = function(t5, i5, s5, n5) {
  12256. this.Zu(t5), i5 != -1 && this.Zu(i5), this.MI(0, t5, n5), i5 != -1 && this.MI(1, i5, n5), s5 != -1 && (n5.Cf.D(this.zo), this.In(s5, this.Ri), this.Ri.rb(this.zo) || this.Bk.add(s5)), s5 = 0;
  12257. for (var h3 = this.Bk.size; s5 < h3; s5++) {
  12258. var r4 = this.Bk.get(s5), e2 = this.Zy(r4);
  12259. e2 != -1 && (this.df.wd(e2, -1), this.Ft(r4, -1));
  12260. }
  12261. for (s5 = this.Th(t5), h3 = i5 != -1 ? this.Th(i5) : -1, this.QD(s5, n5, 0), i5 != -1 && this.QD(h3, n5, 1), this.TE(t5, n5, 0), i5 != -1 && this.TE(i5, n5, 1), this.Rd.eh(s5), this.Wu(t5), i5 != -1 && (this.Rd.eh(h3), this.Wu(i5)), s5 = 0, h3 = this.Bk.size; s5 < h3; s5++)
  12262. (r4 = this.Bk.get(s5)) == this.Lq && (this.Zv = true), (e2 = this.Zy(r4)) == -1 && ((e2 = this.df.DD(this.vF(r4))) == -1 ? (t5 = this.Ie(this.df.ka(this.df.zF())), this.Zm(t5, r4)) : this.Ft(r4, e2));
  12263. this.Bk.clear(false);
  12264. }, r3.prototype.In = function(t5, i5) {
  12265. this.g.YF(this.$y(t5), i5);
  12266. }, r3.prototype.vF = function(t5) {
  12267. return this.nh.Kn(this.Ur(t5));
  12268. }, r3.prototype.dC = function() {
  12269. this.Zv = false, this.Lq = -1, this.ae == null && (this.Nc.Tv = false, this.ae = new n4(this), this.Nc.$n = this.ae);
  12270. var i5 = new t4.ja(0), r4 = null, e2 = null;
  12271. this.AH = this.GH = -1, this.Wn = false;
  12272. for (var o2 = this.df.sc(-1); o2 != -1; ) {
  12273. this.Wn = false;
  12274. var a2 = this.df.ka(o2);
  12275. this.Lq = this.Ie(a2), this.g.Hc(a2, this.xh), this.ae.UJ(this.xh.y, this.xh.x);
  12276. var u2 = this.kl(this.Lq), f2 = u2 == -1;
  12277. if (!f2) {
  12278. a2 = u2;
  12279. do {
  12280. var c2 = this.Rp(a2);
  12281. c2 == -1 ? (this.ph.add(a2), this.Rl(a2, -3)) : c2 != -3 && i5.add(c2), a2 = this.Tp(a2, this.Lq);
  12282. } while (a2 != u2);
  12283. }
  12284. if (0 < i5.size) {
  12285. for (this.Wn = i5.size == 1 && this.ph.size == 1, f2 = 0, u2 = i5.size; f2 < u2; f2++)
  12286. a2 = this.Nc.ka(i5.get(f2)), this.Rl(a2, -2);
  12287. var l2 = -2, p2 = -2;
  12288. for (f2 = 0, u2 = i5.size; f2 < u2; f2++) {
  12289. if (c2 = i5.get(f2), l2 == -2) {
  12290. var v2 = this.Nc.xe(c2);
  12291. v2 != -1 ? (a2 = this.Nc.ka(v2), (a2 = this.Rp(a2)) != -2 && (l2 = v2)) : l2 = -1;
  12292. }
  12293. if (p2 == -2 && ((c2 = this.Nc.lb(c2)) != -1 ? (a2 = this.Nc.ka(c2), (a2 = this.Rp(a2)) != -2 && (p2 = c2)) : p2 = -1), l2 != -2 && p2 != -2)
  12294. break;
  12295. }
  12296. for (f2 = 0, u2 = i5.size; f2 < u2; f2++)
  12297. c2 = i5.get(f2), a2 = this.Nc.ka(c2), this.Nc.wd(c2, -1), this.Rl(a2, -1);
  12298. i5.clear(false), this.GH = l2 != -1 ? l2 : -1, this.AH = p2 != -1 ? p2 : -1, l2 != -1 && p2 != -1 ? this.Wn || this.fO(l2, p2) : l2 == -1 && p2 == -1 && (this.Wn = false);
  12299. } else
  12300. f2 && (r4 == null && (r4 = new h2(this)), r4.Fh(this.xh), this.Nc.oJ(r4), r4.rg && (r4.Mr(), this.AQ(this.Lq, r4.Fm)));
  12301. this.qS(), this.Zv ? (this.Zv = false, e2 == null && (e2 = new s4(this.g)), e2.Fh(this.xh), o2 = this.df.oJ(e2)) : o2 = this.df.lb(o2);
  12302. }
  12303. return this.Xn;
  12304. }, r3.prototype.gr = function(i5) {
  12305. for (this.g = i5, this.zh = this.g.Hd(), this.hb.Ee(i5.gd + 32), this.Ad.Ee(i5.gd), this.nh.Bt(i5.gd), this.nh.hn(i5.gd), this.Rd.Bt(i5.gd + 32), this.Rd.hn(i5.gd + 32), i5 = this.g.ld; i5 != -1; i5 = this.g.ve(i5))
  12306. if (t4.ba.Ic(this.g.jc(i5)))
  12307. for (a2 = this.g.Ob(i5); a2 != -1; a2 = this.g.Sb(a2)) {
  12308. var s5 = this.g.Ka(a2), n5 = this.g.Ya(a2), h3 = this.$m(n5), r4 = this.ot(n5);
  12309. for (this.jj(r4, h3), u2 = this.g.V(n5), n5 = 0, s5 -= 2; n5 < s5; n5++) {
  12310. var e2 = this.g.V(u2), o2 = this.$m(u2);
  12311. this.jj(r4, o2), r4 = this.ot(u2), this.jj(r4, o2), u2 = e2;
  12312. }
  12313. this.g.ec(a2) ? (o2 = this.$m(u2), this.jj(r4, o2), r4 = this.ot(u2), this.jj(r4, o2), this.jj(r4, h3)) : (o2 = this.$m(u2), this.jj(r4, o2));
  12314. }
  12315. else
  12316. for (var a2 = this.g.Ob(i5); a2 != -1; a2 = this.g.Sb(a2)) {
  12317. var u2 = this.g.Ya(a2);
  12318. for (h3 = 0, s5 = this.g.Ka(a2); h3 < s5; h3++)
  12319. this.$m(u2), u2 = this.g.V(u2);
  12320. }
  12321. this.iQ();
  12322. }, r3;
  12323. }();
  12324. t4.LC = r2;
  12325. }(V || (V = {})), function(t4) {
  12326. var i4 = function(i5) {
  12327. function s4(n4, h2, r2) {
  12328. var e2 = i5.call(this) || this;
  12329. if (n4 !== void 0)
  12330. if (r2 !== void 0) {
  12331. e2.description = t4.ee.og();
  12332. var o2 = new t4.Od();
  12333. o2.L(n4, h2, r2), e2.YB(o2);
  12334. } else if (h2 !== void 0)
  12335. e2.description = t4.ee.og(), e2.Db(n4, h2);
  12336. else if (n4 instanceof t4.ua)
  12337. e2.description = n4;
  12338. else if (n4 instanceof t4.h)
  12339. e2.description = t4.ee.og(), e2.Db(n4);
  12340. else {
  12341. if (!(n4 instanceof s4))
  12342. throw t4.i.O();
  12343. e2.description = n4.description, e2.Db(n4.Ng(), n4.kh()), n4.la !== null && (e2.la = n4.la.slice(0));
  12344. }
  12345. else
  12346. e2.description = t4.ee.og();
  12347. return e2;
  12348. }
  12349. return Q(s4, i5), s4.prototype.D = function(i6) {
  12350. if (i6 === void 0) {
  12351. if (this.Bc())
  12352. throw t4.i.ga("This operation should not be performed on an empty geometry.");
  12353. return (i6 = new t4.h()).na(this.la[0], this.la[1]), i6;
  12354. }
  12355. if (this.Bc())
  12356. throw t4.i.ga("This operation should not be performed on an empty geometry.");
  12357. i6.na(this.la[0], this.la[1]);
  12358. }, s4.prototype.Db = function(t5, i6) {
  12359. typeof t5 == "number" ? (this.wc(), this.la == null && this.up(), this.la[0] = t5, this.la[1] = i6) : (this.wc(), this.Db(t5.x, t5.y));
  12360. }, s4.prototype.xz = function() {
  12361. if (this.Bc())
  12362. throw t4.i.ga("This operation should not be performed on an empty geometry.");
  12363. var i6 = new t4.Od();
  12364. return i6.x = this.la[0], i6.y = this.la[1], i6.z = this.description.cG() ? this.la[2] : t4.ua.te(1), i6;
  12365. }, s4.prototype.YB = function(i6) {
  12366. this.wc();
  12367. var s5 = this.hasAttribute(1);
  12368. s5 || t4.ua.xG(1, i6.z) || (this.se(1), s5 = true), this.la == null && this.up(), this.la[0] = i6.x, this.la[1] = i6.y, s5 && (this.la[2] = i6.z);
  12369. }, s4.prototype.Ng = function() {
  12370. if (this.Bc())
  12371. throw t4.i.ga("This operation should not be performed on an empty geometry.");
  12372. return this.la[0];
  12373. }, s4.prototype.XB = function(t5) {
  12374. this.setAttribute(0, 0, t5);
  12375. }, s4.prototype.kh = function() {
  12376. if (this.Bc())
  12377. throw t4.i.ga("This operation should not be performed on an empty geometry.");
  12378. return this.la[1];
  12379. }, s4.prototype.VJ = function(t5) {
  12380. this.setAttribute(0, 1, t5);
  12381. }, s4.prototype.VR = function() {
  12382. return this.Vc(1, 0);
  12383. }, s4.prototype.oX = function(t5) {
  12384. this.setAttribute(1, 0, t5);
  12385. }, s4.prototype.tR = function() {
  12386. return this.Vc(2, 0);
  12387. }, s4.prototype.ZW = function(t5) {
  12388. this.setAttribute(2, 0, t5);
  12389. }, s4.prototype.Fc = function() {
  12390. return this.sF(3, 0);
  12391. }, s4.prototype.FJ = function(t5) {
  12392. this.setAttribute(3, 0, t5);
  12393. }, s4.prototype.Vc = function(i6, s5) {
  12394. var n4 = this.description.Qf(i6);
  12395. return 0 <= n4 ? this.la[this.description.ak(n4) + s5] : t4.ua.te(i6);
  12396. }, s4.prototype.sF = function(i6, s5) {
  12397. var n4 = this.description.Qf(i6);
  12398. return 0 <= n4 ? this.la[this.description.ak(n4) + s5] : t4.ua.te(i6);
  12399. }, s4.prototype.setAttribute = function(t5, i6, s5) {
  12400. this.wc();
  12401. var n4 = this.description.Qf(t5);
  12402. 0 > n4 && (this.se(t5), n4 = this.description.Qf(t5)), this.la == null && this.up(), this.la[this.description.ak(n4) + i6] = s5;
  12403. }, s4.prototype.K = function() {
  12404. return 33;
  12405. }, s4.prototype.Eb = function() {
  12406. return 0;
  12407. }, s4.prototype.Pa = function() {
  12408. this.wc(), this.la != null && (this.la[0] = NaN, this.la[1] = NaN);
  12409. }, s4.prototype.un = function(i6) {
  12410. if (this.la != null) {
  12411. for (var s5 = t4.ee.Kw(i6, this.description), n4 = [], h2 = 0, r2 = 0, e2 = i6.Ba; r2 < e2; r2++) {
  12412. var o2 = i6.qd(r2), a2 = t4.ua.Wa(o2);
  12413. if (s5[r2] == -1) {
  12414. var u2 = t4.ua.te(o2);
  12415. for (o2 = 0; o2 < a2; o2++)
  12416. n4[h2] = u2, h2++;
  12417. } else
  12418. for (u2 = this.description.ak(s5[r2]), o2 = 0; o2 < a2; o2++)
  12419. n4[h2] = this.la[u2], h2++, u2++;
  12420. }
  12421. this.la = n4;
  12422. }
  12423. this.description = i6;
  12424. }, s4.prototype.up = function() {
  12425. this.fJ(this.description.Be.length), s4.XD(this.description.Be, this.la, this.description.Be.length), this.la[0] = NaN, this.la[1] = NaN;
  12426. }, s4.prototype.Pc = function(i6) {
  12427. if (i6 instanceof t4.Ed) {
  12428. if (!this.Bc()) {
  12429. var s5 = this.D();
  12430. i6.Gh(s5, s5), this.Db(s5);
  12431. }
  12432. } else
  12433. this.Bc() || (this.se(1), s5 = this.xz(), this.YB(i6.gp(s5)));
  12434. }, s4.prototype.copyTo = function(i6) {
  12435. if (i6.K() != 33)
  12436. throw t4.i.O();
  12437. i6.wc(), this.la == null ? (i6.Pa(), i6.la = null, i6.kg(this.description)) : (i6.kg(this.description), i6.fJ(this.description.Be.length), s4.XD(this.la, i6.la, this.description.Be.length));
  12438. }, s4.prototype.Ja = function() {
  12439. return new s4(this.description);
  12440. }, s4.prototype.B = function() {
  12441. return this.Bc();
  12442. }, s4.prototype.Bc = function() {
  12443. return this.la == null || isNaN(this.la[0]) || isNaN(this.la[1]);
  12444. }, s4.prototype.dn = function(t5) {
  12445. t5.Pa(), this.description != t5.description && t5.kg(this.description), t5.$b(this);
  12446. }, s4.prototype.A = function(t5) {
  12447. this.Bc() ? t5.Pa() : (t5.v = this.la[0], t5.G = this.la[1], t5.C = this.la[0], t5.H = this.la[1]);
  12448. }, s4.prototype.Ro = function(t5) {
  12449. if (this.Bc())
  12450. t5.Pa();
  12451. else {
  12452. var i6 = this.xz();
  12453. t5.v = i6.x, t5.G = i6.y, t5.Xe = i6.z, t5.C = i6.x, t5.H = i6.y, t5.Dg = i6.z;
  12454. }
  12455. }, s4.prototype.Vg = function(i6, s5) {
  12456. var n4 = new t4.Oc();
  12457. return this.Bc() ? (n4.Pa(), n4) : (i6 = this.Vc(i6, s5), n4.pa = i6, n4.wa = i6, n4);
  12458. }, s4.prototype.fJ = function(i6) {
  12459. if (this.la == null)
  12460. this.la = t4.P.lg(i6);
  12461. else if (this.la.length < i6) {
  12462. for (var s5 = this.la.slice(0), n4 = this.la.length; n4 < i6; n4++)
  12463. s5[n4] = 0;
  12464. this.la = s5;
  12465. }
  12466. }, s4.XD = function(t5, i6, s5) {
  12467. if (0 < s5)
  12468. for (s5 = 0; s5 < t5.length; s5++)
  12469. i6[s5] = t5[s5];
  12470. }, s4.prototype.Nb = function(t5) {
  12471. if (t5 == this)
  12472. return true;
  12473. if (!(t5 instanceof s4) || this.description != t5.description)
  12474. return false;
  12475. if (this.Bc())
  12476. return !!t5.Bc();
  12477. for (var i6 = 0, n4 = this.description.Be.length; i6 < n4; i6++)
  12478. if (this.la[i6] != t5.la[i6])
  12479. return false;
  12480. return true;
  12481. }, s4.prototype.dc = function() {
  12482. var i6 = this.description.dc();
  12483. if (!this.Bc())
  12484. for (var s5 = 0, n4 = this.description.Be.length; s5 < n4; s5++) {
  12485. var h2 = this.la[s5];
  12486. h2 = t4.P.truncate(h2 ^ h2 >>> 32), i6 = t4.P.Vh(h2, i6);
  12487. }
  12488. return i6;
  12489. }, s4.prototype.mg = function() {
  12490. return null;
  12491. }, s4;
  12492. }(t4.ba);
  12493. t4.Ta = i4;
  12494. }(V || (V = {})), function(t4) {
  12495. var i4 = function() {
  12496. function t5(t6, i5, s4) {
  12497. t6 !== void 0 && (this.x = t6, this.y = i5, this.z = s4);
  12498. }
  12499. return t5.construct = function(i5, s4, n4) {
  12500. var h2 = new t5();
  12501. return h2.x = i5, h2.y = s4, h2.z = n4, h2;
  12502. }, t5.prototype.L = function(t6, i5, s4) {
  12503. this.x = t6, this.y = i5, this.z = s4;
  12504. }, t5.prototype.lx = function() {
  12505. this.z = this.y = this.x = 0;
  12506. }, t5.prototype.normalize = function() {
  12507. var t6 = this.length();
  12508. t6 == 0 && (this.x /= t6, this.y /= t6, this.z /= t6);
  12509. }, t5.prototype.length = function() {
  12510. return Math.sqrt(this.x * this.x + this.y * this.y + this.z * this.z);
  12511. }, t5.prototype.sub = function(i5) {
  12512. return new t5(this.x - i5.x, this.y - i5.y, this.z - i5.z);
  12513. }, t5.prototype.Ag = function(i5) {
  12514. new t5(this.x * i5, this.y * i5, this.z * i5);
  12515. }, t5.prototype.Sh = function(t6) {
  12516. return this.x * t6.x + this.y * t6.y + this.z * t6.z;
  12517. }, t5;
  12518. }();
  12519. t4.Od = i4;
  12520. }(V || (V = {})), function(t4) {
  12521. var i4 = function() {
  12522. function i5(t5, i6, s4) {
  12523. this.Iw = this.xA = null, this.Yf = i6, this.xT = i6.y - s4, this.wT = i6.y + s4, this.Gw = 0, this.Zz = t5, this.ra = s4, this.JT = s4 * s4, this.$z = s4 != 0, this.Nv = false;
  12524. }
  12525. return i5.prototype.result = function() {
  12526. return this.Gw != 0 ? 1 : 0;
  12527. }, i5.prototype.TM = function(i6) {
  12528. return i6 = i6.ic(i6.fe(this.Yf, false)), t4.h.zc(i6, this.Yf) <= this.JT;
  12529. }, i5.prototype.$E = function(t5) {
  12530. if (!this.$z && (this.Zz && this.Yf.rb(t5.ac()) || this.Yf.rb(t5.xc())))
  12531. this.Nv = true;
  12532. else if (t5.oa == this.Yf.y && t5.oa == t5.ma) {
  12533. if (this.Zz && !this.$z) {
  12534. var i6 = Math.max(t5.sa, t5.qa);
  12535. this.Yf.x > Math.min(t5.sa, t5.qa) && this.Yf.x < i6 && (this.Nv = true);
  12536. }
  12537. } else {
  12538. var s4 = false;
  12539. if (i6 = Math.max(t5.sa, t5.qa), this.Yf.x > i6 ? s4 = true : this.Yf.x >= Math.min(t5.sa, t5.qa) && (s4 = 0 < t5.fq(true, this.Yf.y, this.Iw, null) && this.Iw[0] <= this.Yf.x), s4) {
  12540. if (this.Yf.y == t5.ac().y) {
  12541. if (this.Yf.y < t5.xc().y)
  12542. return;
  12543. } else if (this.Yf.y == t5.xc().y && this.Yf.y < t5.ac().y)
  12544. return;
  12545. this.Gw = this.Zz ? 1 ^ this.Gw : this.Gw + (t5.ac().y > t5.xc().y ? 1 : -1);
  12546. }
  12547. }
  12548. }, i5.prototype.LI = function(t5) {
  12549. var i6 = t5.Vg(0, 1);
  12550. if (i6.pa > this.wT || i6.wa < this.xT)
  12551. return false;
  12552. if (this.$z && this.TM(t5))
  12553. return true;
  12554. if (i6.pa > this.Yf.y || i6.wa < this.Yf.y)
  12555. return false;
  12556. if (this.xA == null && (this.xA = [null, null, null, null, null]), this.Iw == null && (this.Iw = [0, 0, 0]), 0 < (i6 = t5.ZF()))
  12557. for (t5 = 0; t5 < i6; t5++) {
  12558. var s4 = this.xA[t5].get();
  12559. if (this.$E(s4), this.Nv)
  12560. return true;
  12561. }
  12562. else if (this.$E(t5), this.Nv)
  12563. return true;
  12564. return false;
  12565. }, i5.JM = function(t5, s4, n4) {
  12566. for (s4 = new i5(t5.Jn() == 0, s4, n4), t5 = t5.Ha(); t5.ab(); )
  12567. for (; t5.Ia(); )
  12568. if (n4 = t5.ia(), s4.LI(n4))
  12569. return -1;
  12570. return s4.result();
  12571. }, i5.KM = function(s4, n4, h2, r2) {
  12572. var e2 = new t4.l();
  12573. s4.yc(e2), e2.X(r2, r2);
  12574. var o2 = new i5(s4.Jn() == 0, h2, r2);
  12575. s4 = s4.Ha();
  12576. var a2 = new t4.l();
  12577. for (a2.L(e2), a2.C = h2.x + r2, a2.G = h2.y - r2, a2.H = h2.y + r2, r2 = (h2 = n4.GF(a2, r2)).next(); r2 != -1; r2 = h2.next())
  12578. if (s4.Wb(n4.ka(r2)), s4.Ia() && (r2 = s4.ia(), o2.LI(r2)))
  12579. return -1;
  12580. return o2.result();
  12581. }, i5.ym = function(s4, n4, h2) {
  12582. if (s4.B())
  12583. return 0;
  12584. var r2 = new t4.l();
  12585. if (s4.yc(r2), r2.X(h2, h2), !r2.contains(n4))
  12586. return 0;
  12587. if ((r2 = s4.Cb) != null) {
  12588. var e2 = r2.Gk;
  12589. if (e2 != null) {
  12590. if ((e2 = e2.To(n4.x, n4.y)) == 1)
  12591. return 1;
  12592. if (e2 == 0)
  12593. return 0;
  12594. }
  12595. if ((r2 = r2.Gb) != null)
  12596. return i5.KM(s4, r2, n4, h2);
  12597. }
  12598. return i5.JM(s4, n4, h2);
  12599. }, i5.US = function(t5, s4, n4) {
  12600. return s4.B() ? 0 : i5.ym(t5, s4.D(), n4);
  12601. }, i5.Ol = function(t5, i6) {
  12602. return !(16 > (t5 = t5.I())) && 2 * t5 + Math.log(t5) / Math.log(2) * i6 < 1 * t5 * i6;
  12603. }, i5;
  12604. }();
  12605. t4.Fg = i4;
  12606. }(V || (V = {})), function(t4) {
  12607. var i4 = function(t5) {
  12608. function i5(i6) {
  12609. return t5.call(this, true, i6) || this;
  12610. }
  12611. return Q(i5, t5), i5.prototype.Ja = function() {
  12612. return new i5(this.description);
  12613. }, i5.prototype.Eb = function() {
  12614. return 2;
  12615. }, i5.prototype.K = function() {
  12616. return 1736;
  12617. }, i5.prototype.rG = function(t6, i6, s4) {
  12618. this.CS(t6, i6, s4);
  12619. }, i5.prototype.jR = function() {
  12620. this.zR();
  12621. }, i5;
  12622. }(t4.Wk);
  12623. t4.Ea = i4;
  12624. }(V || (V = {})), function(t4) {
  12625. !function(t5) {
  12626. t5[t5.PiPOutside = 0] = "PiPOutside", t5[t5.PiPInside = 1] = "PiPInside", t5[t5.PiPBoundary = 2] = "PiPBoundary";
  12627. }(t4.LL || (t4.LL = {})), t4.jd = function() {
  12628. function i4() {
  12629. }
  12630. return i4.EG = function(i5, s4, n4) {
  12631. return (i5 = t4.Fg.US(i5, s4, n4)) == 0 ? 0 : i5 == 1 ? 1 : 2;
  12632. }, i4.Zd = function(i5, s4, n4) {
  12633. return (i5 = t4.Fg.ym(i5, s4, n4)) == 0 ? 0 : i5 == 1 ? 1 : 2;
  12634. }, i4.OX = function(s4, n4, h2, r2, e2) {
  12635. if (n4.length < h2 || e2.length < h2)
  12636. throw t4.i.O();
  12637. for (var o2 = 0; o2 < h2; o2++)
  12638. e2[o2] = i4.Zd(s4, n4[o2], r2);
  12639. }, i4.mK = function(s4, n4, h2, r2, e2) {
  12640. if (s4.K() == 1736)
  12641. i4.OX(s4, n4, h2, r2, e2);
  12642. else {
  12643. if (s4.K() != 197)
  12644. throw t4.i.ga("invalid_call");
  12645. var o2 = new t4.l();
  12646. s4.A(o2), i4.UM(o2, n4, h2, r2, e2);
  12647. }
  12648. }, i4.UM = function(i5, s4, n4, h2, r2) {
  12649. if (s4.length < n4 || r2.length < n4)
  12650. throw t4.i.O();
  12651. if (i5.B())
  12652. for (h2 = 0; h2 < n4; h2++)
  12653. r2[h2] = 0;
  12654. else
  12655. for (i5.X(0.5 * -h2, 0.5 * -h2), i5.X(0.5 * h2, 0.5 * h2), h2 = 0; h2 < n4; h2++)
  12656. i5.contains(s4[h2]) ? r2[h2] = 1 : i5.contains(s4[h2]) ? r2[h2] = 2 : r2[h2] = 0;
  12657. }, i4.QX = function(t5, i5, s4, n4, h2) {
  12658. for (var r2 = 0; r2 < s4; r2++)
  12659. h2[r2] = t5.ss(i5[r2], n4) ? 2 : 0;
  12660. }, i4.PX = function(t5, i5, s4, n4, h2) {
  12661. var r2 = t5.Cb, e2 = null;
  12662. r2 != null && (e2 = r2.Gk), r2 = s4;
  12663. for (var o2 = 0; o2 < s4; o2++)
  12664. if (h2[o2] = 1, e2 != null) {
  12665. var a2 = i5[o2];
  12666. e2.To(a2.x, a2.y) == 0 && (h2[o2] = 0, r2--);
  12667. }
  12668. if (r2 != 0)
  12669. for (t5 = t5.Ha(); t5.ab() && r2 != 0; )
  12670. for (; t5.Ia() && r2 != 0; )
  12671. for (e2 = t5.ia(), o2 = 0; o2 < s4 && r2 != 0; o2++)
  12672. h2[o2] == 1 && e2.ss(i5[o2], n4) && (h2[o2] = 2, r2--);
  12673. for (o2 = 0; o2 < s4; o2++)
  12674. h2[o2] == 1 && (h2[o2] = 0);
  12675. }, i4.nK = function(s4, n4, h2, r2, e2) {
  12676. var o2 = s4.K();
  12677. if (o2 == 1607)
  12678. i4.PX(s4, n4, h2, r2, e2);
  12679. else {
  12680. if (!t4.ba.zd(o2))
  12681. throw t4.i.ga("Invalid call.");
  12682. i4.QX(s4, n4, h2, r2, e2);
  12683. }
  12684. }, i4;
  12685. }();
  12686. }(V || (V = {})), function(t4) {
  12687. var i4 = function(t5) {
  12688. function i5(i6, s4) {
  12689. if (arguments.length == 2) {
  12690. var n4 = t5.call(this, false, i6.description) || this;
  12691. n4.nf(i6), n4.lineTo(s4);
  12692. } else
  12693. n4 = t5.call(this, false, i6) || this;
  12694. return n4;
  12695. }
  12696. return Q(i5, t5), i5.prototype.Ja = function() {
  12697. return new i5(this.description);
  12698. }, i5.prototype.Eb = function() {
  12699. return 1;
  12700. }, i5.prototype.K = function() {
  12701. return 1607;
  12702. }, i5.prototype.rG = function(t6, i6, s4) {
  12703. this.DS(t6, i6, s4);
  12704. }, i5;
  12705. }(t4.Wk);
  12706. t4.Ua = i4;
  12707. }(V || (V = {})), function(t4) {
  12708. var i4 = function() {
  12709. function i5() {
  12710. }
  12711. return i5.prototype.progress = function() {
  12712. return true;
  12713. }, i5.Bp = function(i6) {
  12714. if (i6 != null && !i6.progress(-1, -1))
  12715. throw t4.i.QC();
  12716. }, i5;
  12717. }();
  12718. t4.np = i4;
  12719. }(V || (V = {})), function(t4) {
  12720. var i4;
  12721. (i4 = t4.JK || (t4.JK = {}))[i4.clipWithInputHorizon = 1] = "clipWithInputHorizon", i4[i4.clipWithOutputHorizon = 2] = "clipWithOutputHorizon";
  12722. var s4 = function() {
  12723. function t5() {
  12724. this.Mg = 3, this.Xu = this.Lr = NaN;
  12725. }
  12726. return t5.prototype.HW = function(t6) {
  12727. this.KB(1, t6);
  12728. }, t5.prototype.IW = function(t6) {
  12729. this.KB(2, t6);
  12730. }, t5.prototype.aS = function() {
  12731. return this.ks(1);
  12732. }, t5.prototype.bS = function() {
  12733. return this.ks(2);
  12734. }, t5.prototype.KB = function(t6, i5) {
  12735. this.Mg = i5 ? this.Mg | t6 : this.Mg & ~t6;
  12736. }, t5.prototype.ks = function(t6) {
  12737. return (this.Mg & t6) != 0;
  12738. }, t5.prototype.Pf = function() {
  12739. var i5 = new t5();
  12740. return i5.Lr = this.Lr, i5.Xu = this.Xu, i5.Mg = this.Mg, i5;
  12741. }, t5;
  12742. }();
  12743. t4.sC = s4, function(t5) {
  12744. t5[t5.Dont_Geonomalize_Polygon = 2147483648] = "Dont_Geonomalize_Polygon", t5[t5.Dont_Adjust_At_Poles = 1073741824] = "Dont_Adjust_At_Poles";
  12745. }(t4.KK || (t4.KK = {}));
  12746. var n4 = function() {
  12747. function t5() {
  12748. this.Mg = 0;
  12749. }
  12750. return t5.prototype.KB = function(t6, i5) {
  12751. this.Mg = i5 ? this.Mg | t6 : this.Mg & ~t6;
  12752. }, t5.prototype.ks = function(t6) {
  12753. return (this.Mg & t6) != 0;
  12754. }, t5.ig = function(i5) {
  12755. var s5 = new t5();
  12756. return s5.Mg = i5.Mg, s5;
  12757. }, t5.prototype.gM = function(t6) {
  12758. this.Mg = t6.Mg;
  12759. }, t5;
  12760. }();
  12761. t4.sY = n4;
  12762. var h2 = function() {
  12763. function i5(i6, s5, n5) {
  12764. this.ef = i6, this.Zf = s5, this.Vf = new t4.l(), this.Vf.L(n5), this.sT = i6.dc() + s5.dc() + this.Vf.dc().toString();
  12765. }
  12766. return i5.prototype.dc = function() {
  12767. return this.sT;
  12768. }, i5.prototype.Nb = function(t5) {
  12769. return this == t5 || this.ef.Nb(t5.ef) && this.Zf.Nb(t5.Zf) && this.Vf.Nb(t5.Vf);
  12770. }, i5;
  12771. }();
  12772. t4.xY = h2, h2 = function() {
  12773. function i5() {
  12774. this.Zf = this.ef = null, this.lH = new s4(), this.mH = new n4(), this.yw = this.Xf = null, this.ow = this.Un = true;
  12775. }
  12776. return i5.Pr = function(t5, s5, n5, h3) {
  12777. var r2;
  12778. h3 === void 0 && (h3 = null), r2 === void 0 && (r2 = null);
  12779. var e2 = new i5();
  12780. return e2.rp(t5, s5, n5, h3, r2), e2;
  12781. }, i5.prototype.rp = function(i6, s5, n5, h3, r2) {
  12782. if (i6 == null || s5 == null)
  12783. throw t4.i.ga("invalidArgument");
  12784. if (this.ef = i6, this.Zf = s5, this.ow = this.Un = false, h3 != null && (this.lH = h3.Pf()), r2 != null && this.mH.gM(r2), r2 = false, s5.Tb() == 1 && h3 != null && (h3 = h3.Lr, isNaN(h3) || h3 == 0 || (r2 = true)), i6 == s5)
  12785. this.Un = !r2, this.ow = true;
  12786. else {
  12787. h3 = i6.Tb();
  12788. var e2 = s5.Tb();
  12789. if (h3 == 0 || e2 == 0) {
  12790. if (n5 != null)
  12791. throw t4.i.O();
  12792. i6.Id() != null && s5.Id() != null && (this.Un = i6.Id().Nb(s5.Id()));
  12793. } else
  12794. h3 == 3 || e2 == 3 ? this.Un = i6.Nb(s5) : this.ef.dS(this.Zf) ? this.Un = !r2 : this.Un = false, this.Xf = n5, this.Xf != null && this.Xf.ix(), this.ow = (this.Xf == null || this.Xf.count() == 0) && this.ef.tc().Nb(this.Zf.tc());
  12795. }
  12796. this.gY();
  12797. }, i5.prototype.isIdentity = function() {
  12798. return this.Un;
  12799. }, i5.prototype.hR = function() {
  12800. return this.lH.Pf();
  12801. }, i5.prototype.Nb = function(t5) {
  12802. return t5 == this || !!(t5 instanceof i5 && this.ef.Nb(t5.ef) && this.Zf.Nb(t5.Zf)) && (this.Xf == t5.Xf || !(this.Xf == null || t5.Xf == null || !this.Xf.Nb(t5.Xf)));
  12803. }, i5.prototype.gY = function() {
  12804. this.yw = new t4.du(this);
  12805. }, i5;
  12806. }(), t4.xr = h2;
  12807. }(V || (V = {})), function(t4) {
  12808. var i4 = function() {
  12809. function i5() {
  12810. }
  12811. return i5.Ep = function(t5) {
  12812. return t5 * i5.gW;
  12813. }, i5.mx = function(t5, s4) {
  12814. return i5.aP(s4 - t5);
  12815. }, i5.bP = function(i6) {
  12816. return -360 <= i6 && 720 > i6 ? (0 > i6 ? i6 += 360 : 360 <= i6 && (i6 -= 360), i6) : (0 > (i6 = t4.mc.LK(i6)) && (i6 += 360), i6);
  12817. }, i5.aP = function(t5) {
  12818. return 180 < (t5 = i5.bP(t5)) && (t5 -= 360), t5;
  12819. }, i5.gW = 57.29577951308232, i5;
  12820. }();
  12821. t4.sr = i4, t4.Jh = function() {
  12822. function s4() {
  12823. }
  12824. return s4.nj = function(i5, s5) {
  12825. var n4 = new t4.l();
  12826. i5.A(n4);
  12827. var h2 = t4.cb.ih(s5), r2 = new t4.l();
  12828. return r2.L(h2), r2.v = n4.v, r2.C = n4.C, r2.X(0.01 * r2.da(), 0), s5 = t4.ta.Xd(s5, n4, false), r2.contains(n4) ? i5 : t4.Vd.clip(i5, r2, s5, 0);
  12829. }, s4.ms = function(i5, n4, h2, r2, e2) {
  12830. if (!t4.cb.Xc(n4))
  12831. throw t4.i.O();
  12832. var o2 = t4.ta.mj(n4, i5, false), a2 = t4.cb.ih(n4), u2 = t4.cb.tc(n4), f2 = u2.Id().ci, c2 = t4.cb.xv(u2);
  12833. u2 = t4.cb.gv(u2), c2 *= 2 - c2;
  12834. var l2 = new t4.Oc();
  12835. a2.en(l2);
  12836. var p2 = [[0, 0], [0, 0]];
  12837. if (t4.Gg.Tb(n4) == 2 ? r2 ? (p2[0][0] = s4.an(e2, l2), p2[0][1] = a2.Lp(), t4.cb.wt(), a2 = p2[0][0] * f2) : (p2[0][0] = a2.hk(), p2[0][1] = e2, t4.cb.wt(), a2 = p2[0][1] * f2) : a2 = e2 * f2, !r2 && a2 != 0)
  12838. throw t4.i.O();
  12839. var v2 = new t4.ha(), y2 = new t4.hd();
  12840. i5 = y2.Ib(i5);
  12841. for (var b2 = [0], d2 = new t4.h(), g2 = new t4.h(), w2 = new t4.h(), x2 = new t4.h(), m2 = new t4.h(), j2 = new t4.h(), k2 = y2.Ob(i5); k2 != -1; k2 = y2.Sb(k2)) {
  12842. var M2 = y2.Ya(k2);
  12843. y2.D(M2, w2);
  12844. for (var z2 = false, A2 = M2 = y2.V(M2); A2 != -1; A2 = y2.V(A2)) {
  12845. if (A2 == M2) {
  12846. if (z2)
  12847. break;
  12848. z2 = true;
  12849. }
  12850. if (y2.D(A2, x2), r2 && o2 < e2 - w2.x && x2.x - e2 > o2 || o2 < e2 - x2.x && w2.x - e2 > o2 || !r2 && o2 < -w2.y && x2.y > o2 || o2 < -x2.y && w2.y > o2)
  12851. do {
  12852. if (!(Math.abs(w2.x - x2.x) >= 0.5 * l2.S())) {
  12853. if (t4.Gg.Tb(n4) == 2 ? (p2[0][0] = s4.an(w2.x, l2), p2[0][1] = w2.y, p2[1][0] = s4.an(x2.x, l2), p2[1][1] = x2.y, t4.cb.WV(), m2.x = p2[0][0] * f2, m2.y = p2[0][1] * f2, j2.x = p2[1][0] * f2, j2.y = p2[1][1] * f2) : (m2.x = w2.x * f2, m2.y = w2.y * f2, j2.x = x2.x * f2, j2.y = x2.y * f2), j2.x = 6.283185307179586 * (x2.x - w2.x) / l2.S() + m2.x, r2) {
  12854. if (g2.x = a2, g2.y = s4.Iz(u2, c2, m2, j2, a2, h2), isNaN(g2.y))
  12855. break;
  12856. } else {
  12857. if (g2.x = s4.Gz(u2, c2, m2, j2, h2), isNaN(g2.x))
  12858. break;
  12859. g2.y = 0;
  12860. }
  12861. t4.kb.xd(u2, c2, m2.x, m2.y, j2.x, j2.y, v2, null, null, h2);
  12862. var N2 = v2.u;
  12863. t4.kb.xd(u2, c2, m2.x, m2.y, g2.x, g2.y, v2, null, null, h2);
  12864. var I2 = v2.u;
  12865. t4.Gg.Tb(n4) == 2 ? (p2[0][0] = g2.x / f2, p2[0][1] = g2.y / f2, t4.cb.WQ(), r2 ? (d2.y = p2[0][1], d2.x = e2) : (d2.x = s4.qs(p2[0][0], w2.x, x2.x, l2), d2.y = e2)) : r2 ? (d2.x = e2, d2.y = g2.y / f2) : (d2.x = s4.qs(g2.x / f2, w2.x, x2.x, l2), d2.y = e2), b2[0] = 0 < N2 ? t4.P.Sk(I2 / N2, 0, 1) : 0.5, b2[0] != 0 && b2[0] != 1 && (N2 = y2.Na(A2), y2.Wl(N2, b2, 1), y2.Db(y2.V(N2), d2.x, d2.y));
  12866. }
  12867. } while (0);
  12868. w2.N(x2);
  12869. }
  12870. }
  12871. return y2.Ke(i5);
  12872. }, s4.Gn = function(i5, n4, h2, r2, e2) {
  12873. if (i5.B())
  12874. return i5;
  12875. var o2 = t4.cb.bf(n4);
  12876. return s4.Jp(i5, h2 - 180 * o2, 360 * o2, n4, r2, e2, true);
  12877. }, s4.Iz = function(i5, n4, h2, r2, e2, o2) {
  12878. if (3.141592653589793 <= Math.abs(h2.x - r2.x) || !s4.Tn(h2.x, r2.x, e2))
  12879. return NaN;
  12880. if (h2.x > r2.x)
  12881. var a2 = r2;
  12882. else
  12883. a2 = h2, h2 = r2;
  12884. r2 = new t4.ha(0);
  12885. var u2 = new t4.ha(0), f2 = new t4.ha(0);
  12886. t4.kb.xd(i5, n4, a2.x, a2.y, h2.x, h2.y, u2, r2, null, o2);
  12887. var c2 = u2.u, l2 = 0, p2 = 1, v2 = new t4.h();
  12888. for (v2.N(a2); c2 * (p2 - l2) > 1e-12 * i5; ) {
  12889. var y2 = 0.5 * (l2 + p2);
  12890. if (t4.kb.qj(i5, n4, a2.x, a2.y, c2 * y2, r2.u, u2, f2, o2), v2.x = u2.u, v2.y = f2.u, v2.x == e2)
  12891. break;
  12892. if (s4.Tn(a2.x, v2.x, e2))
  12893. p2 = y2;
  12894. else {
  12895. if (!s4.Tn(h2.x, v2.x, e2))
  12896. return NaN;
  12897. l2 = y2;
  12898. }
  12899. }
  12900. return v2.y;
  12901. }, s4.Tn = function(t5, s5, n4) {
  12902. return t5 = i4.Ep(t5), s5 = i4.mx(t5, i4.Ep(s5)), (n4 = i4.mx(t5, i4.Ep(n4))) == 0 || 0 < s5 && 0 < n4 && n4 <= s5 || 0 > s5 && 0 > n4 && n4 >= s5;
  12903. }, s4.an = function(t5, i5) {
  12904. var s5 = i5.wa - i5.pa;
  12905. return i5.Kt(t5 - Math.floor((t5 - i5.pa) / s5) * s5);
  12906. }, s4.qs = function(i5, s5, n4, h2) {
  12907. var r2 = new t4.Oc();
  12908. for (r2.L(s5, n4), n4 = h2.S(), i5 = Math.floor((i5 - s5) / n4) * n4 + i5, r2 = r2.tf(); Math.abs(i5 - r2) > Math.abs(i5 + n4 - r2); )
  12909. i5 += n4;
  12910. return i5;
  12911. }, s4.Gz = function(i5, s5, n4, h2, r2) {
  12912. if (n4.y > h2.y)
  12913. var e2 = h2;
  12914. else
  12915. e2 = n4, n4 = h2;
  12916. if ((h2 = new t4.Oc()).L(e2.y, n4.y), !h2.contains(0) || 3.141592653589793 <= Math.abs(e2.x - n4.x))
  12917. return NaN;
  12918. if (e2.x == n4.x)
  12919. return e2.x;
  12920. var o2 = new t4.ha(0), a2 = new t4.ha(0), u2 = new t4.ha(0);
  12921. t4.kb.xd(i5, s5, e2.x, e2.y, n4.x, n4.y, a2, o2, null, r2);
  12922. var f2 = a2.u, c2 = 0, l2 = 1, p2 = new t4.h();
  12923. for (p2.N(e2); f2 * (l2 - c2) > 1e-12 * i5; ) {
  12924. var v2 = 0.5 * (c2 + l2);
  12925. if (t4.kb.qj(i5, s5, e2.x, e2.y, f2 * v2, o2.u, a2, u2, r2), p2.x = a2.u, p2.y = u2.u, h2.L(e2.y, p2.y), p2.y == 0)
  12926. break;
  12927. if (h2.contains(0))
  12928. l2 = v2;
  12929. else {
  12930. if (h2.L(n4.y, p2.y), !h2.contains(0))
  12931. return NaN;
  12932. c2 = v2;
  12933. }
  12934. }
  12935. return p2.x;
  12936. }, s4.Jp = function(i5, s5, n4, h2, r2, e2, o2) {
  12937. var a2 = new t4.l();
  12938. if (i5.A(a2), a2.B())
  12939. return i5;
  12940. var u2 = new t4.Oc();
  12941. a2.en(u2);
  12942. var f2 = new t4.Oc();
  12943. if (f2.L(s5, s5 + n4), f2.contains(u2) && f2.wa != u2.wa)
  12944. return i5;
  12945. var c2 = new t4.l();
  12946. c2.L(a2);
  12947. var l2 = i5.K();
  12948. if (l2 == 33)
  12949. return ((a2 = (c2 = r2 ? i5 : i5.Pf()).Ng()) < f2.pa || a2 >= f2.wa || o2 && a2 == f2.wa) && (a2 += Math.ceil((f2.pa - a2) / n4) * n4, a2 = f2.Kt(a2), c2.XB(a2)), c2;
  12950. if (l2 == 550) {
  12951. for (h2 = (c2 = r2 ? i5 : i5.Pf()).vb(0), l2 = 2 * c2.I(), i5 = false, r2 = 0; r2 < l2; r2 += 2)
  12952. ((a2 = h2.read(r2)) < f2.pa || a2 >= f2.wa || o2 && a2 == f2.wa) && (i5 = true, a2 += Math.ceil((f2.pa - a2) / n4) * n4, a2 = f2.Kt(a2), h2.write(r2, a2));
  12953. return i5 && c2.Qc(1993), c2;
  12954. }
  12955. if (f2.contains(u2))
  12956. return i5;
  12957. if (l2 == 197)
  12958. return n4 = r2 ? i5 : i5.Pf(), a2.Fa(c2), n4.Yo(a2), n4;
  12959. var p2 = 0.1 * Math.max(a2.da(), a2.S());
  12960. c2.X(0, p2), o2 = i5, f2 = h2.Yd(0), i5 = t4.Ih.local(), r2 = new t4.Ed();
  12961. for (; ; ) {
  12962. var v2 = Math.floor((u2.pa - s5) / n4), y2 = Math.ceil((u2.wa - s5) / n4);
  12963. if (!(3 < y2 - v2))
  12964. break;
  12965. v2 = Math.floor(0.5 * (y2 + v2)), c2.v = a2.v - p2, c2.C = s5 + n4 * v2;
  12966. var b2 = t4.Vd.clip(o2, c2, f2, e2);
  12967. c2.v = c2.C, c2.C = a2.C + p2;
  12968. var d2 = t4.Vd.clip(o2, c2, f2, e2);
  12969. r2.gg((v2 - y2) * n4, 0), d2.Pc(r2), l2 == 1736 ? o2 = i5.W(b2, d2, h2, null) : (o2 = b2).add(d2, false), o2.A(a2), a2.en(u2);
  12970. }
  12971. for (c2.v = s5, c2.C = s5 + n4, (s5 = new t4.l()).L(c2), s5.X(f2, 0), (s5 = Math.floor((a2.v - c2.v) / n4) * n4) != 0 ? (c2.move(s5, 0), r2.gg(-s5, 0)) : r2.LB(), s5 = l2 == 1607 ? new t4.Ua(o2.description) : new t4.Ea(o2.description), e2 = new t4.l(), u2 = new t4.l(); a2.C > c2.v; )
  12972. (p2 = t4.Vd.clip(o2, c2, f2, 0)).A(u2), (l2 == 1607 ? !p2.B() && (u2.S() > f2 || u2.da() > f2) : !p2.B() && (l2 != 1736 || u2.S() > f2)) && (p2.Pc(r2), p2.A(u2), s5.A(e2), e2.X(f2, f2), e2.isIntersecting(u2) && l2 == 1736 ? s5 = i5.W(s5, p2, h2, null) : s5.add(p2, false)), c2.move(n4, 0), r2.shift(-n4, 0);
  12973. return s5;
  12974. }, s4.QI = function(i5, s5, n4, h2) {
  12975. var r2 = new t4.de(n4.description);
  12976. r2.Gd(n4, 0, -1), r2 = t4.cb.Bh(r2, i5, s5);
  12977. var e2 = n4.I();
  12978. if (h2.Pa(), !t4.cb.Xc(i5) || e2 != r2.I())
  12979. return false;
  12980. var o2 = new t4.l();
  12981. n4.A(o2);
  12982. var a2 = new t4.l();
  12983. if (r2.A(a2), o2 = o2.S(), a2 = a2.S(), o2 != 0 && a2 != 0) {
  12984. if (a2 /= o2, i5 = t4.cb.ih(s5).S() / t4.cb.ih(i5).S(), 1e-10 < Math.abs(a2 / i5 - 1))
  12985. return false;
  12986. } else if (o2 != 0 || a2 != 0)
  12987. return false;
  12988. for (h2.add(n4, false), n4 = 0; n4 < e2; n4++)
  12989. i5 = r2.Oa(n4), h2.Db(n4, i5);
  12990. return true;
  12991. }, s4.Jz = function() {
  12992. throw t4.i.Fe();
  12993. }, s4;
  12994. }();
  12995. }(V || (V = {})), function(t4) {
  12996. var i4, s4, n4;
  12997. (s4 = i4 = t4.ui || (t4.ui = {}))[s4.Clip = 0] = "Clip", s4[s4.DontClip = 1] = "DontClip", s4[s4.PannableFold = 2] = "PannableFold", function(t5) {
  12998. t5[t5.Geodesic = 0] = "Geodesic", t5[t5.Loxodrome = 1] = "Loxodrome", t5[t5.GreatElliptic = 2] = "GreatElliptic", t5[t5.NormalSection = 3] = "NormalSection", t5[t5.ShapePreserving = 4] = "ShapePreserving";
  12999. }(n4 = t4.QK || (t4.QK = {})), t4.Ab = function() {
  13000. function s5() {
  13001. }
  13002. return s5.zv = function(i5, s6, n5) {
  13003. if (n5 || 0 < s6) {
  13004. for (i5 = i5.toString(t4.Tc.PE_STR_NAME_CANON | t4.Tc.PE_STR_AUTH_NONE), s6 = [], n5 = 0; n5 < i5.length; n5++)
  13005. s6[n5] = "a" <= i5[n5] && "z" >= i5[n5] ? s6[n5] = i5[n5].toUpperCase() : i5[n5];
  13006. return s6.join();
  13007. }
  13008. return i5.toString(t4.Tc.PE_STR_AUTH_TOP);
  13009. }, s5.wr = function(i5, s6, n5, h2) {
  13010. var r2 = h2.length, e2 = n5.I();
  13011. if (e2 != 0) {
  13012. var o2 = n5.vb(0), a2 = Math.min(e2, r2), u2 = 0, f2 = i5.gh();
  13013. isNaN(s6) && (s6 = 0);
  13014. for (var c2 = i5.Xc(), l2 = 179 * (i5 = c2 ? i5.tc().Le().S() : 0) / 360; 0 < e2; ) {
  13015. if (o2.oB(u2 << 1, a2, h2), t4.gj.projToGeogCenter(f2, a2, h2, s6), c2)
  13016. for (var p2 = 0; p2 < a2; p2++) {
  13017. var v2 = h2[p2][0] - s6, y2 = t4.mc.sign(v2), b2 = o2.read(2 * (u2 + p2));
  13018. 0 > y2 * t4.mc.sign(b2) && Math.abs(v2) > l2 && (h2[p2][0] += -y2 * i5);
  13019. }
  13020. o2.oC(u2 << 1, a2, h2), u2 += a2, e2 -= a2, a2 = Math.min(e2, r2);
  13021. }
  13022. n5.Qc(1993);
  13023. }
  13024. }, s5.CL = function(i5, s6, n5, h2) {
  13025. var r2 = 0, e2 = i5.gh();
  13026. isNaN(r2) && (r2 = 0);
  13027. var o2 = i5.Xc(), a2 = i5.bf();
  13028. i5 = 360 * a2, a2 *= 179;
  13029. for (var u2 = h2.length, f2 = 0; f2 < n5; ) {
  13030. for (var c2 = f2; c2 < n5 && s6[c2].isNaN(); ++c2)
  13031. f2++;
  13032. var l2 = Math.min(u2, n5 - f2);
  13033. if (0 < l2) {
  13034. c2 = 1;
  13035. for (var p2 = f2 + 1; c2 < l2; ++c2, ++p2)
  13036. if (s6[p2].isNaN()) {
  13037. l2 = c2;
  13038. break;
  13039. }
  13040. if (t4.ta.Ey(h2, s6, f2, l2), t4.gj.projToGeogCenter(e2, l2, h2, r2), o2)
  13041. for (c2 = 0, p2 = f2; c2 < l2; ++c2, ++p2) {
  13042. var v2 = s6[p2].x, y2 = h2[c2][0] - r2, b2 = t4.mc.sign(y2);
  13043. 0 > b2 * t4.mc.sign(v2) && Math.abs(y2) > a2 && (h2[c2][0] -= b2 * i5);
  13044. }
  13045. t4.ta.Dy(s6, f2, h2, l2), f2 += l2;
  13046. }
  13047. }
  13048. }, s5.Kx = function(i5, s6, n5) {
  13049. var h2 = n5.length, r2 = s6.I();
  13050. if (!(1 > r2)) {
  13051. var e2 = s6.vb(0), o2 = Math.min(r2, h2), a2 = 0, u2 = i5.gh(), f2 = i5.Xc(), c2 = f2 ? i5.Le().S() : 0, l2 = 179 * c2 / 360, p2 = 0;
  13052. for (f2 && (p2 = i5.Bi()); 0 < r2; ) {
  13053. if (e2.oB(a2 << 1, o2, n5), t4.gj.geogToProj(u2, o2, n5), f2)
  13054. for (i5 = 0; i5 < o2; i5++) {
  13055. var v2 = n5[i5][0], y2 = t4.mc.sign(v2), b2 = e2.read(2 * (a2 + i5)) - p2;
  13056. 0 > y2 * t4.mc.sign(b2) && Math.abs(v2) > l2 && (n5[i5][0] += -y2 * c2);
  13057. }
  13058. e2.oC(a2 << 1, o2, n5), a2 += o2, r2 -= o2, o2 = Math.min(r2, h2);
  13059. }
  13060. s6.Qc(1993);
  13061. }
  13062. }, s5.BL = function(i5, s6, n5, h2) {
  13063. if (n5 != 0) {
  13064. var r2 = i5.gh(), e2 = i5.Xc(), o2 = e2 ? i5.Le().S() : 0, a2 = 179 * o2 / 360, u2 = 0;
  13065. for (e2 && (u2 = i5.Bi()), i5 = 0; i5 < n5; ) {
  13066. for (var f2 = i5; f2 < n5 && s6[f2].isNaN(); ++f2)
  13067. i5++;
  13068. var c2 = Math.min(h2.length, n5 - i5);
  13069. if (0 < c2) {
  13070. f2 = 1;
  13071. for (var l2 = i5 + 1; f2 < c2; ++f2, ++l2)
  13072. if (s6[l2].isNaN()) {
  13073. c2 = f2;
  13074. break;
  13075. }
  13076. if (t4.ta.Ey(h2, s6, i5, c2), t4.gj.geogToProj(r2, c2, h2), e2)
  13077. for (f2 = 0, l2 = i5; f2 < c2; f2++) {
  13078. var p2 = h2[f2][0], v2 = t4.mc.sign(p2);
  13079. 0 > v2 * t4.mc.sign(s6[l2].x - u2) && Math.abs(p2) > a2 && (h2[f2][0] -= v2 * o2);
  13080. }
  13081. t4.ta.Dy(s6, i5, h2, c2), i5 += c2;
  13082. }
  13083. }
  13084. }
  13085. }, s5.vr = function(i5, s6, n5, h2) {
  13086. var r2 = s6.I();
  13087. if (r2 != 0) {
  13088. var e2 = s6.vb(0), o2 = i5.ef, a2 = i5.Zf, u2 = o2.tc().Sp(), f2 = a2.tc().Sp(), c2 = o2.bf(), l2 = a2.bf();
  13089. if ((i5 = i5.Xf) == null || i5.count() == 0) {
  13090. for (n5 = u2 / f2, h2 = (o2.Wp() - a2.Wp()) * l2, f2 = -90 * c2, i5 = 90 * c2, u2 = false, l2 = 1, o2 = 2 * r2; l2 < o2; )
  13091. c2 = e2.get(l2), (a2 = t4.P.Sk(c2, f2, i5)) != c2 && (e2.set(l2, a2), u2 = true), l2 += 2;
  13092. if (h2 != 0 || n5 != 1)
  13093. for (u2 = true, f2 = new t4.h(), l2 = 0; l2 < r2; l2++)
  13094. e2.uc(2 * l2, f2), f2.x *= n5, f2.x += h2, f2.y *= n5, e2.Vt(2 * l2, f2);
  13095. u2 && s6.Qc(1993);
  13096. } else {
  13097. o2 = h2.length, a2 = Math.min(r2, o2);
  13098. var p2 = t4.P.lg(a2), v2 = null, y2 = 0, b2 = NaN, d2 = NaN, g2 = 360 * l2, w2 = l2 / c2;
  13099. n5 && (d2 = 90 * l2, b2 = 89.9 * c2, v2 = t4.P.lg(a2));
  13100. for (var x2 = true, m2 = 0; r2 != 0; ) {
  13101. for (c2 = false, e2.oB(y2 << 1, a2, h2), l2 = 0; l2 < a2; l2++)
  13102. p2[l2] = h2[l2][0];
  13103. if (n5)
  13104. for (l2 = 0; l2 < a2; l2++) {
  13105. var j2 = Math.abs(h2[l2][1]) - b2;
  13106. 0 < j2 && (c2 = h2[l2][1], h2[l2][1] = t4.mc.Dn(b2, c2), v2[l2] = t4.mc.Dn(j2, c2), c2 = true);
  13107. }
  13108. for (l2 = h2[0][0], i5.transform(h2, a2, u2, f2), x2 && (m2 = h2[0][0] - w2 * l2, x2 = false), l2 = 0; l2 < a2; l2++)
  13109. j2 = h2[l2][0] - p2[l2] * w2 - m2, 200 < Math.abs(j2) && (h2[l2][0] = 0 < j2 ? h2[l2][0] - g2 : h2[l2][0] + g2);
  13110. if (c2) {
  13111. for (l2 = 0; l2 < a2; l2++)
  13112. v2[l2] != 0 && (h2[l2][1] += w2 * v2[l2], h2[l2][1] > d2 ? h2[l2][1] = d2 : h2[l2][1] < -d2 && (h2[l2][1] = -d2));
  13113. for (c2 = 0; c2 < a2; c2++)
  13114. v2[c2] = 0;
  13115. }
  13116. e2.oC(y2 << 1, a2, h2), y2 += a2, r2 -= a2, a2 = Math.min(r2, o2);
  13117. }
  13118. s6.Qc(1993);
  13119. }
  13120. }
  13121. }, s5.AL = function(i5, s6, n5, h2) {
  13122. if (i5.ow)
  13123. h2 = 90 * i5.ef.bf(), t4.ta.YJ(s6, n5, -h2, h2);
  13124. else {
  13125. var r2 = i5.Xf, e2 = i5.ef, o2 = i5.Zf;
  13126. i5 = e2.Zr();
  13127. var a2 = o2.Zr(), u2 = e2.bf(), f2 = 90 * u2, c2 = o2.bf();
  13128. if (r2 == null || r2.count() == 0) {
  13129. if (h2 = i5 / a2, r2 = (e2.Wp() - o2.Wp()) * c2, t4.ta.YJ(s6, n5, -f2, f2), r2 != 0 || h2 != 1)
  13130. for (c2 = 0; c2 < n5; c2++)
  13131. s6[c2].x *= h2, s6[c2].x += r2, s6[c2].y *= h2;
  13132. } else {
  13133. e2 = Math.min(n5, h2.length), f2 = t4.P.lg(e2), o2 = 360 * c2, u2 = c2 / u2;
  13134. for (var l2 = true, p2 = 0, v2 = 0; n5 != 0; ) {
  13135. for (c2 = 0; c2 < e2; c2++)
  13136. f2[c2] = s6[c2 + v2].x;
  13137. for (c2 = s6[0].x, t4.ta.Ey(h2, s6, v2, e2), r2.transform(h2, e2, i5, a2), t4.ta.Dy(s6, v2, h2, e2), l2 && (p2 = s6[0].x - u2 * c2, l2 = false), c2 = 0; c2 < e2; c2++) {
  13138. var y2 = s6[v2 + c2].x - f2[c2] * u2 - p2;
  13139. 200 < Math.abs(y2) && (s6[v2 + c2].x = 0 < y2 ? s6[v2 + c2].x - o2 : s6[v2 + c2].x + o2);
  13140. }
  13141. v2 += e2, n5 -= e2, e2 = Math.min(n5, h2.length);
  13142. }
  13143. }
  13144. }
  13145. }, s5.fv = function(t5, i5) {
  13146. return t5 = t5.ih(), isNaN(i5) || t5.Lu(i5, 0), t5;
  13147. }, s5.OQ = function(i5, n5, h2, r2, e2, o2, a2, u2) {
  13148. for (var f2 = s5.fv(r2, e2), c2 = f2.S(), l2 = c2 / 360, p2 = s5.jE * l2, v2 = i5.vb(0), y2 = n5.Xc(), b2 = y2 ? c2 / n5.Le().S() : 0, d2 = false, g2 = new t4.Ea(h2.description), w2 = 0, x2 = h2.ea(); w2 < x2; ++w2) {
  13149. var m2 = y2, j2 = new t4.Ua(h2.description);
  13150. if (j2.addPath(h2, w2, true), a2 != 0) {
  13151. var k2 = s5.JD(true, j2, f2.H - u2, f2.H, a2);
  13152. (d2 = d2 || k2) && (m2 = false);
  13153. }
  13154. var M2 = -1;
  13155. m2 && (M2 = i5.Ca(w2));
  13156. var z2 = j2.vb(0), A2 = j2.I(), N2 = 0, I2 = z2.read(0), P2 = 0;
  13157. k2 = 3 * r2.Yd(0);
  13158. var C2 = false, B2 = new t4.h();
  13159. B2.Sc();
  13160. var D2 = new t4.h();
  13161. D2.Sc();
  13162. for (var q2 = false, G2 = 1; G2 < A2; ++G2) {
  13163. var F2 = t4.h.construct(z2.Bg(2 * G2), z2.Bg(2 * G2 + 1)), E2 = F2.x, T2 = E2 + N2, S2 = T2 - I2;
  13164. if (F2.x = T2, Math.abs(S2) > p2) {
  13165. if (m2) {
  13166. var O2 = M2 + (G2 + 1 < A2 ? G2 : 0), H2 = v2.read(2 * (M2 + G2 - 1));
  13167. O2 = (v2.read(2 * O2) - H2) * b2, Math.abs(S2 - O2) > 1 * l2 && (m2 = false);
  13168. }
  13169. m2 || (T2 = E2 + (N2 -= t4.mc.Dn(c2, T2 - I2)), ++P2, q2 = N2 != 0, F2.x = T2);
  13170. } else
  13171. C2 || t4.ta.uG(D2, B2, F2, k2) && (C2 = true);
  13172. q2 && z2.write(2 * G2, T2), I2 = T2, D2.N(B2), B2.N(F2);
  13173. }
  13174. 0 < P2 && j2.Qc(1993), m2 = j2.Oa(0), A2 = j2.Oa(A2 - 1), j2 = t4.h.ub(m2, A2) < k2 ? s5.oQ(j2, r2, e2, o2, C2) : s5.pQ(i5, w2, j2, r2, e2), g2.add(j2, false);
  13175. }
  13176. return e2 = r2.Yd(0), h2 = f2.S() / 180, s5.Lt(g2, f2, 0.1 * e2, false), g2 = g2 != (e2 = t4.ti.clip(g2, f2, e2, h2, o2)), i5 = i5.He(), a2 = 0, 0 < (u2 = e2.He()) && 0 > i5 ? a2 = 1 : 0 >= u2 && 0 < i5 && (u2 == 0 ? (u2 = NaN, n5.Tb() == 2 ? u2 = n5.ol().He() : n5.Tb() == 1 && (u2 = n5.Le().qF()), i5 > 0.99 * u2 && (a2 = -1)) : a2 = -1), a2 != 0 && ((n5 = new t4.Ea(e2.description)).vp(f2), (n5 = t4.Zl.local().W(n5, h2, o2)).add(e2, false), g2 = true, e2 = n5), g2 && (e2 = t4.$l.local().W(e2, r2, false, o2)), e2;
  13177. }, s5.pQ = function(i5, n5, h2, r2, e2) {
  13178. var o2 = h2.I(), a2 = h2.Oa(0), u2 = h2.Oa(o2 - 1);
  13179. e2 = (r2 = s5.fv(r2, e2)).S(), a2 = t4.mc.sign(u2.x - a2.x);
  13180. var f2 = new t4.l();
  13181. h2.yc(f2);
  13182. var c2 = r2.hk();
  13183. if (u2 = c2 - e2, c2 += e2, 0 <= a2) {
  13184. var l2 = Math.ceil((u2 - f2.v) / e2);
  13185. for (l2 *= e2; u2 > f2.v + l2; )
  13186. l2 += e2;
  13187. for (; u2 < f2.C + l2; )
  13188. l2 -= e2;
  13189. var p2 = l2;
  13190. 720 < f2.S() && (c2 = u2 + 360 * Math.ceil(f2.S() / 360));
  13191. } else {
  13192. for (l2 = Math.ceil((c2 - f2.C) / e2), l2 *= e2; c2 < f2.C + l2; )
  13193. l2 -= e2;
  13194. for (; c2 > f2.v + l2; )
  13195. l2 += e2;
  13196. p2 = l2, 720 < f2.S() && (u2 = c2 - 360 * Math.ceil(f2.S() / 360));
  13197. }
  13198. l2 = a2 * e2;
  13199. var v2 = t4.l.construct(f2.v, f2.G, f2.C, f2.H);
  13200. v2.move(p2, 0);
  13201. var y2 = new t4.Ed();
  13202. y2.gg(p2, 0), h2.Pc(y2), (f2 = new t4.Ua(h2.description)).add(h2, false), p2 = h2.Oa(o2 - 1), e2 = 0;
  13203. for (var b2 = f2.Oa(0).x, d2 = 0; 0 < a2 ? v2.C < c2 : v2.v > u2; )
  13204. 1024 <= d2 && (d2 = 0), v2.move(l2, 0), y2.Lb = l2, h2.Pc(y2), b2 += l2, r2.v <= b2 && r2.C >= b2 && (e2 = f2.I() - 1), h2.Db(0, p2), p2 = h2.Oa(o2 - 1), f2.Fr(h2, 0, 0, o2 - 1, false);
  13205. return h2 = new t4.Ea(f2.description), o2 = 0 < i5.Kr(n5), h2.add(f2, false), i5 = f2.Oa(0), u2 = f2.Oa(f2.I() - 1), n5 = h2.ea() - 1, (0 > a2 ? o2 : !o2) ? (a2 = t4.h.construct(u2.x, r2.H), h2.Ei(a2), a2 = t4.h.construct(r2.hk(), r2.H), h2.Ei(a2), r2 = t4.h.construct(i5.x, r2.H)) : (a2 = t4.h.construct(u2.x, r2.G), h2.Ei(a2), a2 = t4.h.construct(r2.hk(), r2.G), h2.Ei(a2), r2 = t4.h.construct(i5.x, r2.G)), h2.Ei(r2), h2.rG(0, n5, 0), h2.eO(e2), h2;
  13206. }, s5.oQ = function(i5, n5, h2, r2, e2) {
  13207. var o2 = new t4.Ea(i5.description);
  13208. o2.add(i5, false), o2.xB(0, o2.I() - 1);
  13209. var a2 = new t4.l();
  13210. o2.yc(a2);
  13211. var u2 = (h2 = s5.fv(n5, h2)).S(), f2 = Math.ceil((h2.v - a2.v) / u2);
  13212. for (f2 *= u2; h2.v > a2.v + f2; )
  13213. f2 += u2;
  13214. for (; h2.v < a2.C + f2; )
  13215. f2 -= u2;
  13216. if ((f2 += u2) != 0) {
  13217. a2.move(f2, 0);
  13218. var c2 = new t4.Ed();
  13219. c2.gg(f2, 0), o2.Pc(c2);
  13220. }
  13221. if (h2.v <= a2.v && h2.C > a2.C)
  13222. return e2 && (e2 = o2.He(), n5 = (o2 = t4.$l.local().W(o2, n5, true, r2)).He(), (n5 = t4.mc.sign(e2) != t4.mc.sign(n5)) && o2.iJ()), o2;
  13223. for ((i5 = new t4.Ea(i5.description)).add(o2, false), e2 = e2 || a2.S() > u2 - n5.Yd(0); a2.v < h2.C; )
  13224. a2.move(u2, 0), (c2 = new t4.Ed()).gg(u2, 0), o2.Pc(c2), i5.add(o2, false);
  13225. return e2 && (e2 = i5.He(), i5.Zo(1), n5 = (i5 = t4.$l.local().W(i5, n5, true, r2)).He(), (n5 = t4.mc.sign(e2) != t4.mc.sign(n5)) && i5.iJ()), i5;
  13226. }, s5.JD = function(i5, s6, n5, h2, r2) {
  13227. for (var e2 = s6.vb(0), o2 = s6.I(), a2 = false, u2 = 0; u2 < o2; u2++) {
  13228. var f2 = t4.h.construct(e2.Bg(2 * u2), e2.Bg(2 * u2 + 1));
  13229. if ((1 & r2) != 0 && f2.y >= n5) {
  13230. a2 = true;
  13231. break;
  13232. }
  13233. if ((2 & r2) != 0 && f2.y <= -n5) {
  13234. a2 = true;
  13235. break;
  13236. }
  13237. }
  13238. if (!a2)
  13239. return false;
  13240. e2 = false, i5 && (e2 = s6.On(0)), o2 = (i5 = new t4.hd()).Ib(s6), a2 = i5.Ob(o2);
  13241. var c2 = -1, l2 = true, p2 = new t4.h();
  13242. p2.Sc(), u2 = new t4.Ta();
  13243. for (var v2 = -1, y2 = i5.Ya(a2); y2 != -1; y2 = i5.V(y2)) {
  13244. f2 = i5.Oa(y2);
  13245. var b2 = (1 & r2) != 0 && 90 <= f2.y ? 1 : 0;
  13246. if (b2 |= (2 & r2) != 0 && f2.y <= -n5 ? 2 : 0, 0 < c2 && c2 != b2) {
  13247. if (p2.x != f2.x) {
  13248. p2.x = f2.x, i5.Xi(i5.Na(y2), u2);
  13249. var d2 = i5.yj(a2, y2, u2);
  13250. i5.mf(d2, p2);
  13251. }
  13252. if (e2)
  13253. for (v2 = v2 != -1 ? i5.V(v2) : i5.Ya(a2), d2 = i5.Na(y2); v2 != d2; )
  13254. v2 = i5.pd(v2, false);
  13255. v2 = -1;
  13256. }
  13257. 0 < b2 && (f2.y = t4.mc.Dn(h2, f2.y), i5.mf(y2, f2), l2 || c2 == b2 || (f2.x != p2.x ? (i5.Xi(y2, u2), d2 = i5.yj(a2, y2, u2), i5.Db(d2, p2.x, f2.y), v2 = d2) : v2 = y2)), c2 = b2, p2 = f2, l2 = false;
  13258. }
  13259. if (e2) {
  13260. if (v2 != -1)
  13261. for (v2 = i5.V(v2); v2 != -1; )
  13262. v2 = i5.pd(v2, false);
  13263. n5 = i5.Ya(a2), i5.hq(n5, i5.tj(a2)) || (i5.Xi(n5, u2), i5.yj(a2, -1, u2));
  13264. }
  13265. return i5.Ke(o2).copyTo(s6), true;
  13266. }, s5.Hz = function(n5, h2, r2, e2) {
  13267. var o2 = n5;
  13268. if (o2.B() || r2 == i4.DontClip)
  13269. return o2;
  13270. var a2 = o2.K();
  13271. if (a2 == 33)
  13272. return o2 = [(e2 = o2).D()], s5.sG(o2, 1, h2, r2), o2[0].isNaN() ? e2.Pa() : e2.Db(o2[0]), n5;
  13273. var u2 = (n5 = h2.tc()).bf(), f2 = 90 * u2, c2 = 180 * u2, l2 = 360 * u2, p2 = h2.Bi(), v2 = 0.5 * u2, y2 = new t4.l();
  13274. o2.A(y2);
  13275. var b2 = h2.Xr(), d2 = h2.JQ(), g2 = b2.K() == 197;
  13276. if (h2 = new t4.l(), b2.A(h2), r2 == i4.PannableFold && (r2 = n5.Le().S(), h2.v = p2 - 0.5 * r2, h2.C = h2.v + r2), y2.G < -f2 || y2.H > f2) {
  13277. if (new t4.l().L(y2.v - u2, -f2, y2.C + u2, f2), (o2 = t4.ti.Pu(o2, h2, n5, NaN, 0, e2)).B())
  13278. return o2;
  13279. o2.A(y2);
  13280. }
  13281. if (d2 && (h2.H < y2.G || h2.G > y2.H))
  13282. return o2.Ja();
  13283. if (y2.S() > l2 && (o2 = s5.Jp(o2, p2 - c2, l2, n5, true, 0, true, e2)).A(y2), (f2 = s5.ZN(y2.v, y2.C, h2.v, h2.C, l2)) != 0 && y2.move(f2, 0), y2.C > h2.C || y2.v < h2.v) {
  13284. if (y2.C > h2.C)
  13285. for (; y2.v >= h2.C; )
  13286. y2.move(-l2, 0), f2 -= l2;
  13287. for (; y2.v < h2.C - l2; )
  13288. y2.move(l2, 0), f2 += l2;
  13289. }
  13290. if (r2 = t4.ta.Ju(n5, b2), f2 != 0 && ((u2 = new t4.Ed()).gg(f2, 0), o2.Pc(u2)), d2) {
  13291. if (g2 && h2.contains(y2))
  13292. return o2;
  13293. for (d2 = [null, null], f2 = 0; 2 > f2; f2++) {
  13294. if (g2 ? u2 = t4.ba.Ic(a2) ? t4.ti.clip(o2, h2, r2, v2, e2) : t4.ti.clip(o2, h2, r2, 0, e2) : (u2 = t4.Xk.local().W(o2, b2, n5, e2)) == b2 && (u2 = t4.ba.ig(u2)), h2.v <= y2.v && h2.C >= y2.C || h2.v >= y2.v && h2.C <= y2.C)
  13295. return u2;
  13296. d2[f2] = u2, f2 == 0 && (y2.move(-l2, 0), (u2 = new t4.Ed()).gg(-l2, 0), o2.Pc(u2));
  13297. }
  13298. if (a2 == 550)
  13299. d2[0].Gd(d2[1], 0, -1);
  13300. else if (t4.ba.Ic(a2))
  13301. d2[0].add(d2[1], false);
  13302. else {
  13303. if (a2 != 33)
  13304. throw t4.i.ga("intersect_with_GCS_horizon: unexpected geometry type");
  13305. d2[0].B() && (d2[0] = d2[1]);
  13306. }
  13307. return d2[0];
  13308. }
  13309. if (h2.H < y2.G || h2.G > y2.H)
  13310. return o2;
  13311. for (a2 = 0; !o2.B() && y2.C > h2.v; )
  13312. a2 != 0 && ((u2 = new t4.Ed()).gg(a2, 0), o2.Pc(u2)), t4.fj.local().W(4, o2, b2, n5, e2) || b2 == (o2 = t4.lp.local().W(o2, b2, n5, e2)) && (o2 = t4.ba.ig(o2)), a2 != 0 && ((v2 = new t4.Ed()).gg(-a2, 0), o2.Pc(v2)), a2 -= l2, y2.move(-l2, 0);
  13313. return o2;
  13314. }, s5.sG = function(n5, h2, r2, e2) {
  13315. if (h2 != 0 && e2 != i4.DontClip)
  13316. if (e2 == i4.PannableFold) {
  13317. e2 = r2.BR();
  13318. for (var o2 = h2, a2 = 0; a2 < h2; a2++)
  13319. (n5[a2].y > e2.H || n5[a2].y < e2.G) && (n5[a2].Sc(), o2--);
  13320. o2 != 0 && s5.cv(n5, h2, e2.v, e2.S());
  13321. } else {
  13322. var u2 = 90 * (e2 = r2.bf()), f2 = 180 * e2;
  13323. for (e2 *= 360, o2 = h2, a2 = 0; a2 < h2; a2++)
  13324. (n5[a2].y > u2 || n5[a2].y < -u2) && (n5[a2].Sc(), o2--);
  13325. if (o2 != 0) {
  13326. (o2 = new t4.l()).bx(n5, h2), u2 = r2.Xr();
  13327. var c2 = r2.kv();
  13328. a2 = u2.K() == 197;
  13329. var l2 = new t4.l();
  13330. if (u2.A(l2), !c2 || !(l2.H < o2.G || l2.G > o2.H))
  13331. if (c2)
  13332. if (s5.cv(n5, h2, l2.hk() - f2, e2), o2 = h2, a2)
  13333. for (a2 = 0; a2 < h2; a2++)
  13334. l2.contains(n5[a2]) || (n5[a2].Sc(), o2--);
  13335. else
  13336. for (r2 = t4.ta.Ju(r2.tc(), u2), a2 = 0; a2 < h2; a2++)
  13337. (f2 = t4.jd.Zd(u2, n5[a2], r2) != 0) || (n5[a2].Sc(), o2--);
  13338. else
  13339. for (s5.cv(n5, h2, -f2, e2), o2 = h2, r2 = t4.ta.Ju(r2.tc(), u2), a2 = 0; a2 < h2; a2++)
  13340. (f2 = n5[a2]).isNaN() && o2--, c2 = s5.nE(f2.x, l2.v, l2.C, e2), f2.x += c2, (f2 = t4.jd.Zd(u2, f2, r2) != 0) && (n5[a2].Sc(), o2--);
  13341. }
  13342. }
  13343. }, s5.Jp = function(i5, s6, n5, h2, r2, e2, o2, a2) {
  13344. var u2 = i5.K(), f2 = s6 + n5;
  13345. if (u2 === 33) {
  13346. var c2 = (h2 = r2 ? i5 : i5.Pf()).Ng();
  13347. return (c2 < s6 || c2 >= f2 || o2 && c2 == f2) && (c2 += Math.ceil((s6 - c2) / n5) * n5, c2 = t4.P.Sk(c2, s6, f2), h2.XB(c2)), h2;
  13348. }
  13349. if (i5.B())
  13350. return i5;
  13351. if (c2 = new t4.l(), i5.A(c2), c2.B())
  13352. return i5;
  13353. var l2 = new t4.Oc();
  13354. c2.en(l2);
  13355. var p2 = new t4.Oc();
  13356. if (p2.L(s6, f2), p2.contains(l2))
  13357. return i5;
  13358. if ((f2 = new t4.l()).L(c2), u2 === 550) {
  13359. for (a2 = (h2 = r2 ? i5 : i5.Pf()).vb(0), u2 = 2 * h2.I(), f2 = false, s6 = 0; s6 < u2; s6 += 2)
  13360. ((c2 = a2.read(s6)) < p2.pa || c2 >= p2.wa || o2 && c2 == p2.wa) && (f2 = true, c2 += Math.ceil((p2.pa - c2) / n5) * n5, c2 = p2.Kt(c2), a2.write(s6, c2));
  13361. return f2 && h2.Qc(1993), h2;
  13362. }
  13363. if (u2 == 197)
  13364. return n5 = r2 ? i5 : i5.Pf(), c2.Fa(f2), n5.Yo(c2), n5;
  13365. var v2 = 0.1 * Math.max(c2.da(), c2.S());
  13366. for (f2.X(0, v2), o2 = i5, p2 = h2.Yd(0), i5 = t4.Ih.local(), r2 = new t4.Ed(); ; ) {
  13367. var y2 = Math.floor((l2.pa - s6) / n5), b2 = Math.ceil((l2.wa - s6) / n5);
  13368. if (!(3 < b2 - y2))
  13369. break;
  13370. y2 = Math.floor(0.5 * (b2 + y2)), f2.v = c2.v - v2, f2.C = s6 + n5 * y2;
  13371. var d2 = t4.ti.clip(o2, f2, p2, e2, a2);
  13372. f2.v = f2.C, f2.C = c2.C + v2;
  13373. var g2 = t4.ti.clip(o2, f2, p2, e2, a2);
  13374. r2.gg((y2 - b2) * n5, 0), g2.Pc(r2), u2 == 1736 ? o2 = i5.W(d2, g2, h2, null) : (o2 = d2).add(g2, false), o2.A(c2), c2.en(l2);
  13375. }
  13376. for (f2.v = s6, f2.C = s6 + n5, (s6 = new t4.l()).L(f2), s6.X(p2, 0), (s6 = Math.floor((c2.v - f2.v) / n5) * n5) != 0 ? (f2.move(s6, 0), r2.gg(-s6, 0)) : r2.LB(), s6 = u2 == 1607 ? new t4.Ua(o2.description) : new t4.Ea(o2.description), e2 = new t4.l(), l2 = new t4.l(); c2.C > f2.v; )
  13377. (v2 = t4.ti.clip(o2, f2, p2, 0, a2)).A(l2), (u2 == 1607 ? !v2.B() && (l2.S() > p2 || l2.da() > p2) : !v2.B() && (u2 != 1736 || l2.S() > p2)) && (v2.Pc(r2), v2.A(l2), s6.A(e2), e2.X(p2, p2), e2.isIntersecting(l2) && u2 == 1736 ? s6 = i5.W(s6, v2, h2, null) : s6.add(v2, false)), f2.move(n5, 0), r2.shift(-n5, 0);
  13378. return s6;
  13379. }, s5.cv = function(i5, s6, n5, h2) {
  13380. for (var r2 = n5 + h2, e2 = 0; e2 < s6; e2++) {
  13381. var o2 = i5[e2].x;
  13382. n5 <= o2 && o2 < r2 || !(o2 < n5 || o2 > r2 || o2 == r2) || (o2 += Math.ceil((n5 - o2) / h2) * h2, o2 = t4.P.Sk(o2, n5, r2), i5[e2].x = o2);
  13383. }
  13384. }, s5.Gn = function(i5, n5, h2, r2, e2, o2) {
  13385. if (!n5.Xc())
  13386. throw t4.i.ga("fold_into_360_degree_range");
  13387. if (i5.B())
  13388. return i5;
  13389. if (n5.Tb() == 2) {
  13390. h2 = n5.rv();
  13391. var a2 = n5.qv() - h2;
  13392. } else {
  13393. var u2 = n5.bf();
  13394. a2 = 360 * u2, h2 -= 180 * u2;
  13395. }
  13396. return s5.Jp(i5, h2, a2, n5, r2, e2, true, o2);
  13397. }, s5.kF = function(t5, i5, n5, h2) {
  13398. if (n5.Tb() == 2)
  13399. h2 = n5.rv(), n5 = n5.qv() - h2;
  13400. else {
  13401. var r2 = n5.bf();
  13402. n5 = 360 * r2, h2 -= 180 * r2;
  13403. }
  13404. s5.cv(t5, i5, h2, n5);
  13405. }, s5.nj = function(i5, s6) {
  13406. var n5 = s6.Le();
  13407. if (i5.K() == 33) {
  13408. var h2 = i5.kh();
  13409. return n5.G <= h2 && h2 <= n5.H ? i5 : i5.Ja();
  13410. }
  13411. h2 = new t4.l(), i5.A(h2);
  13412. var r2 = new t4.l();
  13413. return r2.L(n5), r2.v = h2.v, r2.C = h2.C, r2.X(0.01 * r2.da(), 0), n5 = t4.ta.py(s6, h2), r2.contains(h2) ? i5 : t4.ti.clip(i5, r2, n5, 0, null);
  13414. }, s5.kr = function(t5, i5, s6) {
  13415. return t5 > i5.C && t5 - i5.C < s6 ? i5.C : t5 < i5.v && i5.v - t5 < s6 ? i5.v : t5;
  13416. }, s5.xX = function(t5, i5, n5, h2) {
  13417. h2.x = s5.kr(t5.x, i5, n5), h2.y = t5.y;
  13418. }, s5.wX = function(t5, i5, n5, h2) {
  13419. for (var r2 = 0; r2 < i5; r2++)
  13420. t5[r2].y < n5.G || t5[r2].y > n5.H ? t5[r2].Sc() : t5[r2].x = s5.kr(t5[r2].x, n5, h2);
  13421. }, s5.Lt = function(i5, n5, h2, r2) {
  13422. if (!i5.B()) {
  13423. var e2 = i5.K();
  13424. if (!r2 || e2 != 1736)
  13425. if (t4.ba.zj(e2)) {
  13426. r2 = i5.vb(0), e2 = 0;
  13427. for (var o2 = i5.I(); e2 < o2; e2++) {
  13428. var a2 = r2.read(2 * e2), u2 = s5.kr(a2, n5, h2);
  13429. u2 != a2 && r2.write(2 * e2, u2);
  13430. }
  13431. i5.Qc(1993);
  13432. } else if (e2 == 197)
  13433. r2 = new t4.l(), i5.A(r2), r2.v = s5.kr(r2.v, n5, h2), r2.C = s5.kr(r2.C, n5, h2), i5.Yo(r2);
  13434. else {
  13435. if (e2 != 33)
  13436. throw t4.i.ga("internal error");
  13437. i5.XB(s5.kr(i5.Ng(), n5, h2));
  13438. }
  13439. }
  13440. }, s5.nS = function(i5, n5, h2, r2) {
  13441. var e2 = new t4.hd(), o2 = e2.Ib(i5);
  13442. return i5 = t4.ta.Ju(n5, i5), s5.ms(e2, o2, n5, i5, h2, true, r2), e2.Ke(o2);
  13443. }, s5.ms = function(i5, h2, r2, e2, o2, a2, u2) {
  13444. if (!r2.Xc())
  13445. throw t4.i.O("invalid call");
  13446. var f2 = r2.Le(), c2 = r2.tc(), l2 = c2.gh().getDatum().getSpheroid();
  13447. c2 = c2.Id().ci;
  13448. var p2 = l2.getFlattening();
  13449. l2 = l2.getAxis(), p2 *= 2 - p2;
  13450. var v2 = new t4.Oc();
  13451. f2.en(v2);
  13452. var y2 = null, b2 = [[0, 0], [0, 0]];
  13453. if (r2.Tb() == 2 ? (y2 = r2.gh(), a2 ? (b2[0][0] = s5.an(u2, v2), b2[0][1] = f2.Lp(), t4.gj.projToGeog(y2, 1, b2), f2 = b2[0][0] * c2) : (b2[0][0] = f2.hk(), b2[0][1] = u2, t4.gj.projToGeog(y2, 1, b2), f2 = b2[0][1] * c2)) : f2 = u2 * c2, !a2 && f2 != 0 && o2 != n4.GreatElliptic)
  13454. throw t4.i.ga("invalid argument");
  13455. var d2 = new t4.ha(), g2 = [0], w2 = new t4.h(), x2 = new t4.h(), m2 = new t4.h(), j2 = [null, null], k2 = new t4.h(), M2 = new t4.h(), z2 = new t4.h(), A2 = new t4.h();
  13456. for (h2 = i5.Ob(h2); h2 != -1; h2 = i5.Sb(h2)) {
  13457. var N2 = i5.Ya(h2);
  13458. i5.D(N2, k2);
  13459. for (var I2 = false, P2 = N2 = i5.V(N2); P2 != -1; P2 = i5.V(P2)) {
  13460. if (P2 == N2) {
  13461. if (I2)
  13462. break;
  13463. I2 = true;
  13464. }
  13465. if (i5.D(P2, M2), a2 && (e2 < u2 - k2.x && M2.x - u2 > e2 || e2 < u2 - M2.x && k2.x - u2 > e2) || !a2 && (u2 != 0 || e2 < -k2.y && M2.y > e2 || e2 < -M2.y && k2.y > e2))
  13466. do {
  13467. if (!(Math.abs(k2.x - M2.x) >= 0.5 * v2.S())) {
  13468. if (r2.Tb() == 2 ? (b2[0][0] = s5.an(k2.x, v2), b2[0][1] = k2.y, b2[1][0] = s5.an(M2.x, v2), b2[1][1] = M2.y, t4.gj.projToGeogCenter(y2, 2, b2, 0), z2.x = b2[0][0] * c2, z2.y = b2[0][1] * c2, A2.y = b2[1][1] * c2) : (z2.x = k2.x * c2, z2.y = k2.y * c2, A2.y = M2.y * c2), A2.x = 2 * (M2.x - k2.x) * Math.PI / v2.S() + z2.x, a2) {
  13469. if (x2.x = f2, x2.y = s5.Iz(l2, p2, z2, A2, f2, o2), isNaN(x2.y))
  13470. break;
  13471. j2[0] = x2;
  13472. var C2 = 1;
  13473. } else if (o2 == n4.GreatElliptic) {
  13474. var B2 = [0, 0];
  13475. if ((C2 = t4.Nx.Jz(p2, z2, A2, f2, B2)) == 0)
  13476. break;
  13477. x2.x = B2[0], x2.y = f2, j2[0] = x2, C2 == 2 && (m2.x = B2[1], m2.y = f2, j2[1] = m2);
  13478. } else {
  13479. if (x2.x = s5.Gz(l2, p2, z2, A2, o2), isNaN(x2.x))
  13480. break;
  13481. x2.y = 0, j2[0] = x2, C2 = 1;
  13482. }
  13483. var D2 = -1;
  13484. for (B2 = 0; B2 < C2; B2++) {
  13485. t4.kb.xd(l2, p2, z2.x, z2.y, A2.x, A2.y, d2, null, null, o2);
  13486. var q2 = d2.u;
  13487. t4.kb.xd(l2, p2, z2.x, z2.y, j2[B2].x, j2[B2].y, d2, null, null, o2);
  13488. var G2 = d2.u;
  13489. if (r2.Tb() == 2 ? (b2[0][0] = j2[B2].x / c2, b2[0][1] = j2[B2].y / c2, t4.gj.geogToProj(y2, 1, b2), a2 ? (w2.y = b2[0][1], w2.x = u2) : (w2.x = s5.qs(b2[0][0], k2.x, M2.x, v2), w2.y = u2)) : a2 ? (w2.x = u2, w2.y = j2[B2].y / c2) : (w2.x = s5.qs(j2[B2].x / c2, k2.x, M2.x, v2), w2.y = u2), g2[0] = 0 < q2 ? t4.P.Sk(G2 / q2, 0, 1) : 0.5, g2[0] == 0 || g2[0] == 1)
  13490. break;
  13491. D2 > g2[0] || (D2 = i5.Na(P2), i5.Wl(D2, g2, 1), i5.Db(i5.V(D2), w2.x, w2.y), D2 = g2[0]);
  13492. }
  13493. }
  13494. } while (0);
  13495. k2.N(M2);
  13496. }
  13497. }
  13498. }, s5.an = function(t5, i5) {
  13499. var s6 = i5.wa - i5.pa;
  13500. return i5.Kt(t5 - Math.floor((t5 - i5.pa) / s6) * s6);
  13501. }, s5.qs = function(i5, s6, n5, h2) {
  13502. var r2 = new t4.Oc();
  13503. for (r2.L(s6, n5), n5 = h2.S(), i5 = Math.floor((i5 - s6) / n5) * n5 + i5, r2 = r2.tf(); Math.abs(i5 - r2) > Math.abs(i5 + n5 - r2); )
  13504. i5 += n5;
  13505. return i5;
  13506. }, s5.Tn = function(i5, s6, n5) {
  13507. return i5 = t4.sr.Ep(i5), s6 = t4.sr.mx(i5, t4.sr.Ep(s6)), (n5 = t4.sr.mx(i5, t4.sr.Ep(n5))) == 0 || 0 < s6 && 0 < n5 && n5 <= s6 || 0 > s6 && 0 > n5 && n5 >= s6;
  13508. }, s5.Iz = function(i5, h2, r2, e2, o2, a2) {
  13509. if (a2 == n4.GreatElliptic)
  13510. return t4.Nx.KS(h2, r2, e2, o2);
  13511. if (Math.abs(r2.x - e2.x) >= Math.PI || !s5.Tn(r2.x, e2.x, o2))
  13512. return NaN;
  13513. if (r2.x > e2.x)
  13514. var u2 = e2;
  13515. else
  13516. u2 = r2, r2 = e2;
  13517. e2 = new t4.ha();
  13518. var f2 = new t4.ha(), c2 = new t4.ha();
  13519. t4.kb.xd(i5, h2, u2.x, u2.y, r2.x, r2.y, f2, e2, null, a2);
  13520. var l2 = f2.u, p2 = 0, v2 = 1, y2 = new t4.h();
  13521. for (y2.N(u2); l2 * (v2 - p2) > 1e-12 * i5; ) {
  13522. var b2 = 0.5 * (p2 + v2);
  13523. if (t4.kb.qj(i5, h2, u2.x, u2.y, l2 * b2, e2.u, f2, c2, a2), y2.x = f2.u, y2.y = c2.u, y2.x == o2)
  13524. break;
  13525. if (s5.Tn(u2.x, y2.x, o2))
  13526. v2 = b2;
  13527. else {
  13528. if (!s5.Tn(r2.x, y2.x, o2))
  13529. return NaN;
  13530. p2 = b2;
  13531. }
  13532. }
  13533. return y2.y;
  13534. }, s5.Gz = function(i5, s6, h2, r2, e2) {
  13535. if (e2 == n4.GreatElliptic)
  13536. return i5 = [0, 0], t4.Nx.Jz(s6, h2, r2, 0, i5), i5[0];
  13537. if (h2.y > r2.y)
  13538. var o2 = r2;
  13539. else
  13540. o2 = h2, h2 = r2;
  13541. if ((r2 = new t4.Oc()).L(o2.y, h2.y), !r2.contains(0) || Math.abs(o2.x - h2.x) >= Math.PI)
  13542. return NaN;
  13543. if (o2.x == h2.x)
  13544. return o2.x;
  13545. var a2 = new t4.ha(), u2 = new t4.ha(), f2 = new t4.ha();
  13546. t4.kb.xd(i5, s6, o2.x, o2.y, h2.x, h2.y, u2, a2, null, e2);
  13547. var c2 = u2.u, l2 = 0, p2 = 1, v2 = new t4.h();
  13548. for (v2.N(o2); c2 * (p2 - l2) > 1e-12 * i5; ) {
  13549. var y2 = 0.5 * (l2 + p2);
  13550. if (t4.kb.qj(i5, s6, o2.x, o2.y, c2 * y2, a2.u, u2, f2, e2), v2.x = u2.u, v2.y = f2.u, r2.L(o2.y, v2.y), v2.y == 0)
  13551. break;
  13552. if (r2.contains(0))
  13553. p2 = y2;
  13554. else {
  13555. if (r2.L(h2.y, v2.y), !r2.contains(0))
  13556. return NaN;
  13557. l2 = y2;
  13558. }
  13559. }
  13560. return v2.x;
  13561. }, s5.QI = function(i5, s6, n5, h2) {
  13562. if (!i5.ef.Xc())
  13563. return false;
  13564. var r2 = new t4.de(s6.description);
  13565. if (r2.Gd(s6, 0, -1), h2 = t4.Gx.local().W(r2, i5, h2), r2 = s6.I(), n5.Pa(), r2 != h2.I())
  13566. return false;
  13567. var e2 = new t4.l();
  13568. s6.A(e2);
  13569. var o2 = new t4.l();
  13570. if (h2.A(o2), e2 = e2.S(), o2 = o2.S(), e2 != 0 && o2 != 0) {
  13571. if (o2 /= e2, i5 = i5.Zf.ih().S() / i5.ef.ih().S(), 1e-10 < Math.abs(o2 / i5 - 1))
  13572. return false;
  13573. } else if (e2 != 0 || o2 != 0)
  13574. return false;
  13575. for (n5.add(s6, false), s6 = new t4.h(), i5 = 0; i5 < r2; i5++)
  13576. h2.D(i5, s6), n5.Db(i5, s6);
  13577. return true;
  13578. }, s5.kN = function(t5, i5) {
  13579. return (t5 %= 360 * i5) >= 180 * i5 && (t5 -= 360 * i5), t5;
  13580. }, s5.NI = function(n5, h2, r2, e2) {
  13581. if (r2 == i4.Clip) {
  13582. var o2 = h2.ol();
  13583. o2.K() == 197 ? (r2 = new t4.l(), o2.A(r2), o2 = t4.ta.py(h2, r2), n5 = t4.ti.clip(n5, r2, o2, 5e4 * h2.rm(), e2)) : t4.fj.local().W(1, o2, n5, h2, e2) || (n5 = t4.Xk.local().W(n5, o2, h2, e2)) == o2 && (n5 = t4.Wk.ig(n5));
  13584. } else
  13585. h2.Xc() && (e2 = new t4.l(), n5.yc(e2), h2.Le().contains(e2) || (s5.Lt(n5, h2.Le(), h2.Yd(0), true), r2 == i4.PannableFold && (n5 = s5.nj(n5, h2)), n5 = s5.Gn(n5, h2, 0, true, 1e5 * h2.rm(), null)));
  13586. return n5;
  13587. }, s5.RD = function(i5, s6, n5) {
  13588. var h2 = s6.Yr();
  13589. if (h2 == null)
  13590. return i5;
  13591. var r2 = (s6 = s6.tc()).Le().S(), e2 = new t4.l();
  13592. i5.yc(e2);
  13593. var o2 = new t4.Oc();
  13594. e2.en(o2), e2 = h2.Ha(), h2 = null;
  13595. for (var a2 = new t4.Ed(); e2.ab(); )
  13596. for (; e2.Ia(); ) {
  13597. var u2 = e2.ia(), f2 = u2.Vg(0, 0), c2 = new t4.Oc();
  13598. for (c2.L(f2.pa, f2.wa), f2 = 0; c2.wa > o2.pa; )
  13599. c2.move(-r2), --f2;
  13600. for (; c2.pa <= o2.wa; ) {
  13601. if (c2.isIntersecting(o2)) {
  13602. h2 == null && (h2 = new t4.Ua());
  13603. var l2 = t4.zb.XO(u2.ac(), u2.xc());
  13604. f2 != 0 && (a2.gg(f2 * r2, 0), l2.Pc(a2)), h2.oc(l2, true);
  13605. }
  13606. c2.move(r2), ++f2;
  13607. }
  13608. }
  13609. return h2 != null ? (s6 = t4.ta.aO(s6, h2), s6 = t4.ta.Gr(s6), t4.bu.fP(i5, h2, s6, n5)) : i5;
  13610. }, s5.ZN = function(t5, i5, n5, h2, r2) {
  13611. return t5 >= n5 && i5 <= h2 ? 0 : s5.nE(0.5 * (i5 + t5), n5, h2, r2);
  13612. }, s5.nE = function(i5, s6, n5, h2) {
  13613. return t4.mc.round((0.5 * (n5 + s6) - i5) / h2) * h2;
  13614. }, s5.PQ = function(i5, n5, h2, r2, e2, o2, a2, u2) {
  13615. var f2 = s5.fv(r2, e2), c2 = f2.S(), l2 = c2 / 360, p2 = s5.jE * l2, v2 = i5.vb(0), y2 = n5.Xc(), b2 = y2 ? c2 / n5.Le().S() : 0;
  13616. n5 = i5.Ja();
  13617. for (var d2 = 0, g2 = h2.ea(); d2 < g2; ++d2) {
  13618. var w2 = y2, x2 = new t4.Ua(h2.description);
  13619. x2.addPath(h2, d2, true);
  13620. var m2 = h2.ec(d2);
  13621. a2 != 0 && (m2 = s5.JD(m2, x2, f2.H - u2, f2.H, a2)) && (w2 = false);
  13622. var j2 = -1;
  13623. m2 = x2.I();
  13624. var k2 = false;
  13625. w2 && (j2 = i5.Ca(d2), k2 = i5.ec(d2));
  13626. var M2 = x2.vb(0), z2 = 0, A2 = M2.read(0), N2 = 0, I2 = 3 * r2.Yd(0), P2 = false, C2 = new t4.h();
  13627. C2.Sc();
  13628. var B2 = new t4.h();
  13629. B2.Sc();
  13630. for (var D2 = false, q2 = 1; q2 < m2; ++q2) {
  13631. var G2 = t4.h.construct(M2.Bg(2 * q2), M2.Bg(2 * q2 + 1)), F2 = G2.x, E2 = F2 + z2, T2 = E2 - A2;
  13632. if (G2.x = E2, Math.abs(T2) > p2) {
  13633. if (w2) {
  13634. var S2 = j2 + q2 - 1, O2 = j2;
  13635. (!k2 || q2 + 1 < m2) && (O2 += q2), S2 = v2.read(2 * S2), O2 = (v2.read(2 * O2) - S2) * b2, Math.abs(T2 - O2) > 1 * l2 && (y2 = false);
  13636. }
  13637. w2 || (E2 = F2 + (z2 -= t4.mc.Dn(c2, E2 - A2)), ++N2, D2 = z2 != 0, G2.x = E2);
  13638. } else
  13639. P2 || t4.ta.uG(C2, B2, G2, I2) && (P2 = true);
  13640. D2 && M2.write(2 * q2, E2), A2 = E2, C2.N(B2), B2.N(G2);
  13641. }
  13642. N2 != 0 && x2.Qc(1993), w2 = x2.Oa(0), m2 = x2.Oa(m2 - 1), t4.h.ub(w2, m2), x2 = s5.qQ(x2, r2, isNaN(e2) ? 0 : e2, o2), n5.add(x2, false);
  13643. }
  13644. return i5 = r2.Yd(0), h2 = f2.S() / 180, s5.Lt(n5, f2, 0.1 * i5, false), t4.ti.clip(n5, f2, i5, h2, o2);
  13645. }, s5.qQ = function(t5, i5, n5, h2) {
  13646. return s5.Gn(t5, i5, n5, true, 0, h2);
  13647. }, s5.HS = function(i5, s6, n5, h2) {
  13648. var r2 = i5.K();
  13649. if (r2 == 1736)
  13650. for (s6 = s6 != null ? s6.Yd(0) : 0, r2 = 0; r2 < h2; r2++)
  13651. t4.jd.Zd(i5, n5[r2], s6) != 1 && n5[r2].Sc();
  13652. else {
  13653. if (r2 != 197)
  13654. throw t4.i.O();
  13655. for (r2 = 0; r2 < h2; r2++)
  13656. i5.YO(n5[r2]) || n5[r2].Sc();
  13657. }
  13658. }, s5.bl = function(i5, s6, n5, h2) {
  13659. if (32 > n5)
  13660. for (var r2 = new t4.Ta(), e2 = 0; e2 < n5; e2++)
  13661. r2.Db(s6[e2]), i5.bl(r2, h2).D(s6[e2]);
  13662. else {
  13663. var o2 = new t4.de();
  13664. for (o2.se(3), o2.BD(s6, n5), r2 = o2.vb(3), e2 = 0; e2 < n5; e2++)
  13665. r2.write(e2, e2);
  13666. for (e2 = i5.bl(o2, h2), i5 = e2.vb(0), r2 = e2.vb(3), h2 = t4.h.construct(NaN, NaN), o2 = 0; o2 < n5; o2++)
  13667. s6[o2] = h2;
  13668. for (n5 = e2.I(), e2 = 0; e2 < n5; e2++)
  13669. h2 = r2.read(e2), i5.uc(2 * e2, s6[h2]);
  13670. }
  13671. }, s5.al = function(i5, s6, n5, h2) {
  13672. if (32 > n5)
  13673. for (var r2 = new t4.Ta(), e2 = 0; e2 < n5; e2++)
  13674. r2.Db(s6[e2]), i5.al(r2, h2).D(s6[e2]);
  13675. else {
  13676. var o2 = new t4.de();
  13677. for (o2.se(3), o2.BD(s6, n5), r2 = o2.vb(3), e2 = 0; e2 < n5; e2++)
  13678. r2.write(e2, e2);
  13679. for (e2 = i5.al(o2, h2), i5 = e2.vb(0), r2 = e2.vb(3), h2 = t4.h.construct(NaN, NaN), o2 = 0; o2 < n5; o2++)
  13680. s6[o2] = h2;
  13681. for (n5 = e2.I(), e2 = 0; e2 < n5; e2++)
  13682. h2 = r2.read(e2), i5.uc(2 * e2, s6[h2]);
  13683. }
  13684. }, s5.jE = 210, s5;
  13685. }();
  13686. }(V || (V = {})), function(t4) {
  13687. var i4;
  13688. (i4 = t4.OL || (t4.OL = {}))[i4.rightSide = 1] = "rightSide";
  13689. var s4 = function() {
  13690. function i5(i6, s5, n4) {
  13691. this.Ds = new t4.h(), i6 === void 0 ? this.Jo = -1 : (this.Ds.N(i6), this.Jo = s5, this.La = n4, this.pw = 0);
  13692. }
  13693. return i5.prototype.QJ = function(t5) {
  13694. this.pw = t5 ? 1 | this.pw : -2 & this.pw;
  13695. }, i5.prototype.B = function() {
  13696. return 0 > this.Jo;
  13697. }, i5.prototype.az = function() {
  13698. if (this.B())
  13699. throw t4.i.ga("invalid call");
  13700. return new t4.Ta(this.Ds.x, this.Ds.y);
  13701. }, i5.prototype.Va = function() {
  13702. if (this.B())
  13703. throw t4.i.ga("invalid call");
  13704. return this.Jo;
  13705. }, i5.prototype.cz = function() {
  13706. if (this.B())
  13707. throw t4.i.ga("invalid call");
  13708. return this.La;
  13709. }, i5.prototype.Nz = function() {
  13710. return (1 & this.pw) != 0;
  13711. }, i5.prototype.by = function(t5, i6, s5, n4) {
  13712. this.Ds.x = t5, this.Ds.y = i6, this.Jo = s5, this.La = n4;
  13713. }, i5;
  13714. }();
  13715. t4.bm = s4;
  13716. }(V || (V = {})), function(t4) {
  13717. var i4 = function() {
  13718. function i5() {
  13719. }
  13720. return i5.prototype.Vo = function(i6, s5) {
  13721. this.vh.resize(0), this.Ki.length = 0, this.uk = -1, i6.yc(this.Fk), this.Fk.X(s5, s5), this.Fk.isIntersecting(this.Gb.Da) ? ((this.xs = t4.ba.zd(i6.K())) ? (this.NH = i6.ac(), this.MH = i6.xc(), this.ra = s5) : this.ra = NaN, this.vh.add(this.Gb.kf), this.Ki.push(this.Gb.Da), this.Ss = this.Gb.Wr(this.Gb.kf)) : this.Ss = -1;
  13722. }, i5.prototype.Zi = function(t5, i6) {
  13723. this.vh.resize(0), this.Ki.length = 0, this.uk = -1, this.Fk.L(t5), this.Fk.X(i6, i6), this.ra = NaN, this.Fk.isIntersecting(this.Gb.Da) ? (this.vh.add(this.Gb.kf), this.Ki.push(this.Gb.Da), this.Ss = this.Gb.Wr(this.Gb.kf), this.xs = false) : this.Ss = -1;
  13724. }, i5.prototype.next = function() {
  13725. if (this.vh.size == 0)
  13726. return -1;
  13727. this.uk = this.Ss;
  13728. var i6 = null, n4 = null, h2 = null, r2 = null;
  13729. this.xs && (i6 = new t4.h(), n4 = new t4.h(), h2 = new t4.l());
  13730. for (var e2 = false; !e2; ) {
  13731. for (; this.uk != -1; ) {
  13732. var o2 = this.Gb.Xy(this.Gb.hv(this.uk));
  13733. if (o2.isIntersecting(this.Fk)) {
  13734. if (!this.xs) {
  13735. e2 = true;
  13736. break;
  13737. }
  13738. if (i6.N(this.NH), n4.N(this.MH), h2.L(o2), h2.X(this.ra, this.ra), 0 < h2.uy(i6, n4)) {
  13739. e2 = true;
  13740. break;
  13741. }
  13742. }
  13743. this.uk = this.Gb.pv(this.uk);
  13744. }
  13745. if (this.uk == -1) {
  13746. o2 = this.vh.Gc();
  13747. var a2 = this.Ki[this.Ki.length - 1];
  13748. for (r2 == null && ((r2 = [])[0] = new t4.l(), r2[1] = new t4.l(), r2[2] = new t4.l(), r2[3] = new t4.l()), s4.yJ(a2, r2), this.vh.Jf(), --this.Ki.length, a2 = 0; 4 > a2; a2++) {
  13749. var u2 = this.Gb.Np(o2, a2);
  13750. if (u2 != -1 && 0 < this.Gb.PR(u2) && r2[a2].isIntersecting(this.Fk))
  13751. if (this.xs) {
  13752. if (i6.N(this.NH), n4.N(this.MH), h2.L(r2[a2]), h2.X(this.ra, this.ra), 0 < h2.uy(i6, n4)) {
  13753. var f2 = new t4.l();
  13754. f2.L(r2[a2]), this.vh.add(u2), this.Ki.push(f2);
  13755. }
  13756. } else
  13757. (f2 = new t4.l()).L(r2[a2]), this.vh.add(u2), this.Ki.push(f2);
  13758. }
  13759. if (this.vh.size == 0)
  13760. return -1;
  13761. this.uk = this.Gb.Wr(this.vh.get(this.vh.size - 1));
  13762. }
  13763. }
  13764. return this.Ss = this.Gb.pv(this.uk), this.uk;
  13765. }, i5.WO = function(s5, n4, h2) {
  13766. var r2 = new i5();
  13767. return r2.Gb = s5, r2.Fk = new t4.l(), r2.vh = new t4.ja(0), r2.Ki = [], r2.Vo(n4, h2), r2;
  13768. }, i5.VO = function(s5, n4, h2) {
  13769. var r2 = new i5();
  13770. return r2.Gb = s5, r2.Fk = new t4.l(), r2.vh = new t4.ja(0), r2.Ki = [], r2.Zi(n4, h2), r2;
  13771. }, i5.UO = function(s5) {
  13772. var n4 = new i5();
  13773. return n4.Gb = s5, n4.Fk = new t4.l(), n4.vh = new t4.ja(0), n4.Ki = [], n4;
  13774. }, i5;
  13775. }();
  13776. t4.yY = i4;
  13777. var s4 = function() {
  13778. function s5(i5, s6) {
  13779. this.jf = new t4.ad(11), this.ai = new t4.ad(5), this.ys = [], this.iw = new t4.ja(0), this.Da = new t4.l(), this.Ok(i5, s6);
  13780. }
  13781. return s5.prototype.reset = function(t5, i5) {
  13782. this.jf.oj(false), this.ai.oj(false), this.ys.length = 0, this.iw.clear(false), this.Ok(t5, i5);
  13783. }, s5.prototype.xj = function(t5, i5) {
  13784. return this.Bv(t5, i5, 0, this.Da, this.kf, false, -1);
  13785. }, s5.prototype.Ez = function(t5, i5, s6) {
  13786. s6 = s6 == -1 ? this.kf : this.QF(s6);
  13787. var n4 = this.da(s6), h2 = this.iR(s6);
  13788. return this.Bv(t5, i5, n4, h2, s6, false, -1);
  13789. }, s5.prototype.ka = function(t5) {
  13790. return this.dR(t5);
  13791. }, s5.prototype.AF = function(t5) {
  13792. return this.Xy(this.hv(t5));
  13793. }, s5.prototype.da = function(t5) {
  13794. return this.lv(t5);
  13795. }, s5.prototype.iR = function(i5) {
  13796. var s6 = new t4.l();
  13797. s6.L(this.Da);
  13798. var n4 = this.lv(i5);
  13799. i5 = this.KF(i5);
  13800. for (var h2 = 0; h2 < 2 * n4; h2 += 2) {
  13801. var r2 = t4.P.truncate(3 & i5 >> h2);
  13802. r2 == 0 ? (s6.v = 0.5 * (s6.v + s6.C), s6.G = 0.5 * (s6.G + s6.H)) : r2 == 1 ? (s6.C = 0.5 * (s6.v + s6.C), s6.G = 0.5 * (s6.G + s6.H)) : (r2 == 2 ? s6.C = 0.5 * (s6.v + s6.C) : s6.v = 0.5 * (s6.v + s6.C), s6.H = 0.5 * (s6.G + s6.H));
  13803. }
  13804. return s6;
  13805. }, s5.prototype.PR = function(t5) {
  13806. return this.vz(t5);
  13807. }, s5.prototype.oR = function(t5, s6) {
  13808. return i4.WO(this, t5, s6);
  13809. }, s5.prototype.GF = function(t5, s6) {
  13810. return i4.VO(this, t5, s6);
  13811. }, s5.prototype.getIterator = function() {
  13812. return i4.UO(this);
  13813. }, s5.prototype.Ok = function(i5, s6) {
  13814. if (0 > s6 || 32 < 2 * s6)
  13815. throw t4.i.O("invalid height");
  13816. this.tT = s6, this.Da.L(i5), this.kf = this.jf.De(), this.jx(this.kf, 0), this.dx(this.kf, 0), this.HJ(this.kf, 0), this.EJ(this.kf, 0);
  13817. }, s5.prototype.Bv = function(i5, n4, h2, r2, e2, o2, a2) {
  13818. if (!r2.contains(n4))
  13819. return h2 == 0 ? -1 : this.Bv(i5, n4, 0, this.Da, this.kf, o2, a2);
  13820. if (!o2)
  13821. for (var u2 = e2; u2 != -1; u2 = this.CR(u2))
  13822. this.jx(u2, this.vz(u2) + 1);
  13823. (u2 = new t4.l()).L(r2), r2 = e2;
  13824. var f2 = [];
  13825. for (f2[0] = new t4.l(), f2[1] = new t4.l(), f2[2] = new t4.l(), f2[3] = new t4.l(); h2 < this.tT && this.cO(r2); h2++) {
  13826. s5.yJ(u2, f2);
  13827. for (var c2 = false, l2 = 0; 4 > l2; l2++)
  13828. if (f2[l2].contains(n4)) {
  13829. c2 = true;
  13830. var p2 = this.Np(r2, l2);
  13831. p2 == -1 && (p2 = this.lP(r2, l2)), this.jx(p2, this.vz(p2) + 1), r2 = p2, u2.L(f2[l2]);
  13832. break;
  13833. }
  13834. if (!c2)
  13835. break;
  13836. }
  13837. return this.lS(i5, n4, h2, u2, r2, o2, e2, a2);
  13838. }, s5.prototype.lS = function(t5, i5, s6, n4, h2, r2, e2, o2) {
  13839. var a2 = this.HF(h2);
  13840. if (r2) {
  13841. if (h2 == e2)
  13842. return o2;
  13843. this.MP(o2), r2 = o2;
  13844. } else
  13845. r2 = this.nP(), this.HB(r2, t5), this.BW(this.hv(r2), i5);
  13846. return this.dX(r2, h2), a2 != -1 ? (this.hx(r2, a2), this.ex(a2, r2)) : this.AJ(h2, r2), this.MB(h2, r2), this.dx(h2, this.nv(h2) + 1), this.bO(h2) && this.GQ(s6, n4, h2), r2;
  13847. }, s5.prototype.MP = function(t5) {
  13848. var i5 = this.QF(t5), s6 = this.HF(i5), n4 = this.HR(t5), h2 = this.pv(t5);
  13849. this.Wr(i5) == t5 ? (h2 != -1 ? this.hx(h2, -1) : this.MB(i5, -1), this.AJ(i5, h2)) : s6 == t5 ? (this.ex(n4, -1), this.MB(i5, n4)) : (this.hx(h2, n4), this.ex(n4, h2)), this.hx(t5, -1), this.ex(t5, -1), this.dx(i5, this.nv(i5) - 1);
  13850. }, s5.yJ = function(t5, i5) {
  13851. var s6 = 0.5 * (t5.v + t5.C), n4 = 0.5 * (t5.G + t5.H);
  13852. i5[0].L(s6, n4, t5.C, t5.H), i5[1].L(t5.v, n4, s6, t5.H), i5[2].L(t5.v, t5.G, s6, n4), i5[3].L(s6, t5.G, t5.C, n4);
  13853. }, s5.prototype.bO = function(t5) {
  13854. return this.nv(t5) == 8 && !this.aG(t5);
  13855. }, s5.prototype.GQ = function(t5, i5, s6) {
  13856. var n4 = this.Wr(s6);
  13857. do {
  13858. var h2 = this.hv(n4), r2 = this.ai.U(n4, 0);
  13859. h2 = this.Xy(h2), this.Bv(r2, h2, t5, i5, s6, true, n4), n4 = r2 = this.pv(n4);
  13860. } while (n4 != -1);
  13861. }, s5.prototype.cO = function(t5) {
  13862. return 8 <= this.nv(t5) || this.aG(t5);
  13863. }, s5.prototype.aG = function(t5) {
  13864. return this.Np(t5, 0) != -1 || this.Np(t5, 1) != -1 || this.Np(t5, 2) != -1 || this.Np(t5, 3) != -1;
  13865. }, s5.prototype.lP = function(t5, i5) {
  13866. var s6 = this.jf.De();
  13867. return this.GW(t5, i5, s6), this.jx(s6, 0), this.dx(s6, 0), this.Qk(s6, t5), this.EJ(s6, this.lv(t5) + 1), this.HJ(s6, i5 << 2 * this.lv(t5) | this.KF(t5)), s6;
  13868. }, s5.prototype.nP = function() {
  13869. var i5 = this.ai.De();
  13870. if (0 < this.iw.size) {
  13871. var s6 = this.iw.Gc();
  13872. this.iw.Jf();
  13873. } else
  13874. s6 = this.ys.length, this.ys.push(new t4.l());
  13875. return this.DW(i5, s6), i5;
  13876. }, s5.prototype.Np = function(t5, i5) {
  13877. return this.jf.U(t5, i5);
  13878. }, s5.prototype.GW = function(t5, i5, s6) {
  13879. this.jf.T(t5, i5, s6);
  13880. }, s5.prototype.Wr = function(t5) {
  13881. return this.jf.U(t5, 4);
  13882. }, s5.prototype.AJ = function(t5, i5) {
  13883. this.jf.T(t5, 4, i5);
  13884. }, s5.prototype.HF = function(t5) {
  13885. return this.jf.U(t5, 5);
  13886. }, s5.prototype.MB = function(t5, i5) {
  13887. this.jf.T(t5, 5, i5);
  13888. }, s5.prototype.KF = function(t5) {
  13889. return this.jf.U(t5, 6);
  13890. }, s5.prototype.HJ = function(t5, i5) {
  13891. this.jf.T(t5, 6, i5);
  13892. }, s5.prototype.nv = function(t5) {
  13893. return this.jf.U(t5, 7);
  13894. }, s5.prototype.vz = function(t5) {
  13895. return this.jf.U(t5, 8);
  13896. }, s5.prototype.dx = function(t5, i5) {
  13897. this.jf.T(t5, 7, i5);
  13898. }, s5.prototype.jx = function(t5, i5) {
  13899. this.jf.T(t5, 8, i5);
  13900. }, s5.prototype.CR = function(t5) {
  13901. return this.jf.U(t5, 9);
  13902. }, s5.prototype.Qk = function(t5, i5) {
  13903. this.jf.T(t5, 9, i5);
  13904. }, s5.prototype.lv = function(t5) {
  13905. return this.jf.U(t5, 10);
  13906. }, s5.prototype.EJ = function(t5, i5) {
  13907. this.jf.T(t5, 10, i5);
  13908. }, s5.prototype.dR = function(t5) {
  13909. return this.ai.U(t5, 0);
  13910. }, s5.prototype.HB = function(t5, i5) {
  13911. this.ai.T(t5, 0, i5);
  13912. }, s5.prototype.HR = function(t5) {
  13913. return this.ai.U(t5, 1);
  13914. }, s5.prototype.pv = function(t5) {
  13915. return this.ai.U(t5, 2);
  13916. }, s5.prototype.hx = function(t5, i5) {
  13917. this.ai.T(t5, 1, i5);
  13918. }, s5.prototype.ex = function(t5, i5) {
  13919. this.ai.T(t5, 2, i5);
  13920. }, s5.prototype.QF = function(t5) {
  13921. return this.ai.U(t5, 3);
  13922. }, s5.prototype.dX = function(t5, i5) {
  13923. this.ai.T(t5, 3, i5);
  13924. }, s5.prototype.hv = function(t5) {
  13925. return this.ai.U(t5, 4);
  13926. }, s5.prototype.DW = function(t5, i5) {
  13927. this.ai.T(t5, 4, i5);
  13928. }, s5.prototype.Xy = function(t5) {
  13929. return this.ys[t5];
  13930. }, s5.prototype.BW = function(t5, i5) {
  13931. this.ys[t5].L(i5);
  13932. }, s5;
  13933. }();
  13934. t4.fu = s4;
  13935. }(V || (V = {})), function(t4) {
  13936. var i4;
  13937. (i4 = t4.VK || (t4.VK = {}))[i4.Outside = 0] = "Outside", i4[i4.Inside = 1] = "Inside", i4[i4.Border = 2] = "Border";
  13938. var s4 = function() {
  13939. function t5(t6, i5) {
  13940. this.HT = i5, this.Xh = t6;
  13941. }
  13942. return t5.prototype.ax = function(t6, i5) {
  13943. this.cH != i5 && t6.flush(), this.cH = i5;
  13944. }, t5.prototype.aF = function(t6, i5) {
  13945. for (var s5 = 0; s5 < i5; )
  13946. for (var n5 = t6[s5++], h2 = t6[s5++], r2 = t6[s5++] * this.HT; n5 < h2; n5++)
  13947. this.Xh[r2 + (n5 >> 4)] |= this.cH << 2 * (15 & n5);
  13948. }, t5;
  13949. }();
  13950. t4.zY = s4;
  13951. var n4 = function() {
  13952. function i5(t5, i6, s5) {
  13953. this.Xh = null, this.MA = this.Jk = this.XH = this.VH = this.Gs = this.kH = this.Hf = this.Wm = 0, this.Ti = this.Kk = this.xl = null, this.Az(t5, i6, s5);
  13954. }
  13955. return i5.create = function(s5, n5, h2) {
  13956. if (!i5.tE(s5))
  13957. throw t4.i.O();
  13958. return i5.qP(s5, n5, h2);
  13959. }, i5.hW = function(i6) {
  13960. switch (i6) {
  13961. case 0:
  13962. i6 = 1024;
  13963. break;
  13964. case 1:
  13965. i6 = 16384;
  13966. break;
  13967. case 2:
  13968. i6 = 262144;
  13969. break;
  13970. default:
  13971. throw t4.i.ga("Internal Error");
  13972. }
  13973. return i6;
  13974. }, i5.tE = function(t5) {
  13975. return !(t5.B() || t5.K() != 1607 && t5.K() != 1736);
  13976. }, i5.prototype.lQ = function(i6, s5) {
  13977. s5 = s5.Ha();
  13978. for (var n5 = new t4.h(), h2 = new t4.h(); s5.ab(); )
  13979. for (; s5.Ia(); ) {
  13980. var r2 = s5.ia();
  13981. if (r2.K() != 322)
  13982. throw t4.i.ga("Internal Error");
  13983. i6.Gh(r2.ac(), n5), i6.Gh(r2.xc(), h2), this.Ti.fy(n5.x, n5.y, h2.x, h2.y);
  13984. }
  13985. this.Ti.cJ(t4.Ox.Bx);
  13986. }, i5.prototype.mQ = function() {
  13987. throw t4.i.ga("Internal Error");
  13988. }, i5.prototype.My = function(i6, s5) {
  13989. for (var n5 = 1; 4 > n5; n5++)
  13990. i6.fy(s5[n5 - 1].x, s5[n5 - 1].y, s5[n5].x, s5[n5].y);
  13991. i6.fy(s5[3].x, s5[3].y, s5[0].x, s5[0].y), this.Ti.cJ(t4.Ox.Bx);
  13992. }, i5.prototype.lK = function(i6, s5, n5) {
  13993. for (var h2 = [null, null, null, null], r2 = 0; r2 < h2.length; r2++)
  13994. h2[r2] = new t4.h();
  13995. s5 = s5.Ha(), n5 = this.Kk.WX(n5) + 1.5, r2 = new t4.h();
  13996. for (var e2 = new t4.h(), o2 = new t4.h(), a2 = new t4.h(), u2 = new t4.h(), f2 = new t4.l(), c2 = new t4.h(); s5.ab(); ) {
  13997. var l2 = false, p2 = true;
  13998. for (c2.na(0, 0); s5.Ia(); ) {
  13999. var v2 = s5.ia();
  14000. if (a2.x = v2.sa, a2.y = v2.oa, u2.x = v2.qa, u2.y = v2.ma, f2.Pa(), f2.$b(a2.x, a2.y), f2.Mk(u2.x, u2.y), this.xl.BG(f2)) {
  14001. this.Kk.Gh(u2, u2), p2 ? (this.Kk.Gh(a2, a2), c2.N(a2), p2 = false) : a2.N(c2), r2.vc(u2, a2);
  14002. var y2 = 0.5 > (v2 = r2.length());
  14003. v2 == 0 ? r2.na(1, 0) : (y2 || c2.N(u2), r2.scale(n5 / v2), e2.na(-r2.y, r2.x), o2.na(r2.y, -r2.x), a2.sub(r2), u2.add(r2), h2[0].add(a2, e2), h2[1].add(a2, o2), h2[2].add(u2, o2), h2[3].add(u2, e2), y2 ? l2 = true : this.My(i6, h2));
  14004. } else
  14005. l2 && (this.My(i6, h2), l2 = false), p2 = true;
  14006. }
  14007. l2 && this.My(i6, h2);
  14008. }
  14009. }, i5.prototype.mC = function(i6) {
  14010. return t4.P.truncate(i6 * this.kH + this.VH);
  14011. }, i5.prototype.nC = function(i6) {
  14012. return t4.P.truncate(i6 * this.Gs + this.XH);
  14013. }, i5.qP = function(t5, s5, n5) {
  14014. return new i5(t5, s5, n5);
  14015. }, i5.prototype.Az = function(i6, n5, h2) {
  14016. this.Hf = Math.max(t4.P.truncate(2 * Math.sqrt(h2) + 0.5), 64), this.Wm = t4.P.truncate((2 * this.Hf + 31) / 32), this.xl = new t4.l(), this.Jk = n5, h2 = 0;
  14017. for (var r2 = this.Hf, e2 = this.Wm; 8 <= r2; )
  14018. h2 += r2 * e2, r2 = t4.P.truncate(r2 / 2), e2 = t4.P.truncate((2 * r2 + 31) / 32);
  14019. this.Xh = t4.P.lg(h2, 0), this.Ti = new t4.Ox(), h2 = new s4(this.Xh, this.Wm, this), this.Ti.sX(this.Hf, this.Hf, h2), i6.A(this.xl), this.xl.X(n5, n5), r2 = new t4.l();
  14020. var o2 = n5 * (e2 = t4.l.construct(1, 1, this.Hf - 2, this.Hf - 2)).S();
  14021. switch (n5 *= e2.da(), r2.L(this.xl.tf(), Math.max(o2, this.xl.S()), Math.max(n5, this.xl.da())), this.MA = this.Jk, this.Kk = new t4.Ed(), this.Kk.iS(r2, e2), new t4.Ed(), i6.K()) {
  14022. case 550:
  14023. h2.ax(this.Ti, 2), this.mQ();
  14024. break;
  14025. case 1607:
  14026. h2.ax(this.Ti, 2), this.lK(this.Ti, i6, this.MA);
  14027. break;
  14028. case 1736:
  14029. h2.ax(this.Ti, 1), this.lQ(this.Kk, i6), h2.ax(this.Ti, 2), this.lK(this.Ti, i6, this.MA);
  14030. }
  14031. this.kH = this.Kk.eb, this.Gs = this.Kk.bb, this.VH = this.Kk.Lb, this.XH = this.Kk.Qb, this.RN();
  14032. }, i5.prototype.RN = function() {
  14033. this.Ti.flush();
  14034. for (var i6 = 0, s5 = this.Hf * this.Wm, n5 = this.Hf, h2 = t4.P.truncate(this.Hf / 2), r2 = this.Wm, e2 = t4.P.truncate((2 * h2 + 31) / 32); 8 < n5; ) {
  14035. for (n5 = 0; n5 < h2; n5++)
  14036. for (var o2 = 2 * n5, a2 = 2 * n5 + 1, u2 = 0; u2 < h2; u2++) {
  14037. var f2 = 2 * u2, c2 = 2 * u2 + 1, l2 = f2 >> 4;
  14038. f2 = 2 * (15 & f2);
  14039. var p2 = c2 >> 4;
  14040. c2 = 2 * (15 & c2);
  14041. var v2 = this.Xh[i6 + r2 * o2 + l2] >> f2 & 3;
  14042. v2 |= this.Xh[i6 + r2 * o2 + p2] >> c2 & 3, v2 |= this.Xh[i6 + r2 * a2 + l2] >> f2 & 3, v2 |= this.Xh[i6 + r2 * a2 + p2] >> c2 & 3, this.Xh[s5 + e2 * n5 + (u2 >> 4)] |= v2 << 2 * (15 & u2);
  14043. }
  14044. n5 = h2, r2 = e2, i6 = s5, h2 = t4.P.truncate(n5 / 2), e2 = t4.P.truncate((2 * h2 + 31) / 32), s5 = i6 + r2 * n5;
  14045. }
  14046. }, i5.prototype.To = function(t5, i6) {
  14047. return this.xl.contains(t5, i6) ? (t5 = this.mC(t5), i6 = this.nC(i6), 0 > t5 || t5 >= this.Hf || 0 > i6 || i6 >= this.Hf || (i6 = this.Xh[this.Wm * i6 + (t5 >> 4)] >> 2 * (15 & t5) & 3) == 0 ? 0 : i6 == 1 ? 1 : 2) : 0;
  14048. }, i5.prototype.So = function(i6) {
  14049. if (!i6.Fa(this.xl))
  14050. return 0;
  14051. var s5 = this.mC(i6.v), n5 = this.mC(i6.C), h2 = this.nC(i6.G);
  14052. if (i6 = this.nC(i6.H), 0 > s5 && (s5 = 0), 0 > h2 && (h2 = 0), n5 >= this.Hf && (n5 = this.Hf - 1), i6 >= this.Hf && (i6 = this.Hf - 1), s5 > n5 || h2 > i6)
  14053. return 0;
  14054. for (var r2 = Math.max(n5 - s5, 1) * Math.max(i6 - h2, 1), e2 = 0, o2 = this.Wm, a2 = this.Hf, u2 = 0; ; ) {
  14055. if (32 > r2 || 16 > a2) {
  14056. for (r2 = h2; r2 <= i6; r2++)
  14057. for (var f2 = s5; f2 <= n5; f2++)
  14058. if (1 < (u2 = this.Xh[e2 + o2 * r2 + (f2 >> 4)] >> 2 * (15 & f2) & 3))
  14059. return 2;
  14060. if (u2 == 0)
  14061. return 0;
  14062. if (u2 == 1)
  14063. return 1;
  14064. }
  14065. e2 += o2 * a2, a2 = t4.P.truncate(a2 / 2), o2 = t4.P.truncate((2 * a2 + 31) / 32), s5 = t4.P.truncate(s5 / 2), h2 = t4.P.truncate(h2 / 2), n5 = t4.P.truncate(n5 / 2), i6 = t4.P.truncate(i6 / 2), r2 = Math.max(n5 - s5, 1) * Math.max(i6 - h2, 1);
  14066. }
  14067. }, i5.prototype.KR = function() {
  14068. return this.Hf * this.Wm;
  14069. }, i5;
  14070. }();
  14071. t4.Mx = n4;
  14072. }(V || (V = {})), function(t4) {
  14073. var i4;
  14074. (i4 = t4.PL || (t4.PL = {}))[i4.contains = 1] = "contains", i4[i4.within = 2] = "within", i4[i4.equals = 3] = "equals", i4[i4.disjoint = 4] = "disjoint", i4[i4.touches = 8] = "touches", i4[i4.crosses = 16] = "crosses", i4[i4.overlaps = 32] = "overlaps", i4[i4.unknown = 0] = "unknown", i4[i4.intersects = 1073741824] = "intersects";
  14075. var s4 = function() {
  14076. function t5() {
  14077. }
  14078. return t5.construct = function(i5, s5, n5, h2, r2, e2, o2, a2) {
  14079. var u2 = new t5();
  14080. return u2.rw = i5, u2.Om = s5, u2.Mj = n5, u2.Ui = h2, u2.vH = r2, u2.KY = e2, u2.LY = o2, u2.MY = a2, u2;
  14081. }, t5;
  14082. }();
  14083. t4.Xt = function() {
  14084. function i5() {
  14085. }
  14086. return i5.wD = function(s5, n5, h2) {
  14087. if (i5.ry(s5)) {
  14088. var r2 = t4.ta.mj(n5, s5, false);
  14089. n5 = false, t4.Vk.wE(s5) && (n5 = n5 || s5.nu(r2, h2)), (r2 = s5.K()) != 1736 && r2 != 1607 || !t4.Vk.uE(s5) || h2 == 0 || (n5 = n5 || s5.hj(h2)), r2 != 1736 && r2 != 1607 || !t4.Vk.vE(s5) || h2 == 0 || n5 || s5.bM();
  14090. }
  14091. }, i5.ry = function(i6) {
  14092. return t4.Vk.wE(i6) || t4.Vk.uE(i6) || t4.Vk.vE(i6);
  14093. }, i5;
  14094. }();
  14095. var n4 = function() {
  14096. function i5() {
  14097. this.th = [];
  14098. }
  14099. return i5.tB = function(s5, n5, h2, r2, e2) {
  14100. var o2 = s5.K(), a2 = n5.K();
  14101. if (o2 == 197) {
  14102. if (a2 == 197)
  14103. return i5.lW(s5, n5, h2, r2);
  14104. if (a2 == 33)
  14105. return r2 == 2 ? r2 = 1 : r2 == 1 && (r2 = 2), i5.bJ(n5, s5, h2, r2);
  14106. } else if (o2 == 33) {
  14107. if (a2 == 197)
  14108. return i5.bJ(s5, n5, h2, r2);
  14109. if (a2 == 33)
  14110. return i5.nW(s5, n5, h2, r2);
  14111. }
  14112. if (s5.B() || n5.B())
  14113. return r2 == 4;
  14114. var u2 = new t4.l();
  14115. s5.A(u2);
  14116. var f2 = new t4.l();
  14117. n5.A(f2);
  14118. var c2 = new t4.l();
  14119. if (c2.L(u2), c2.$b(f2), h2 = t4.ta.Xd(h2, c2, false), i5.ek(u2, f2, h2))
  14120. return r2 == 4;
  14121. switch (u2 = false, t4.Wk.zd(o2) && ((o2 = new t4.Ua(s5.description)).oc(s5, true), s5 = o2, o2 = 1607), t4.Wk.zd(a2) && ((a2 = new t4.Ua(n5.description)).oc(n5, true), n5 = a2, a2 = 1607), o2 != 197 && a2 != 197 ? (s5.Eb() < n5.Eb() || o2 == 33 && a2 == 550) && (r2 == 2 ? r2 = 1 : r2 == 1 && (r2 = 2)) : o2 != 1736 && a2 != 197 && (r2 == 2 ? r2 = 1 : r2 == 1 && (r2 = 2)), o2) {
  14122. case 1736:
  14123. switch (a2) {
  14124. case 1736:
  14125. u2 = i5.st(s5, n5, h2, r2, e2);
  14126. break;
  14127. case 1607:
  14128. u2 = i5.bn(s5, n5, h2, r2, e2);
  14129. break;
  14130. case 33:
  14131. u2 = i5.rt(s5, n5, h2, r2);
  14132. break;
  14133. case 550:
  14134. u2 = i5.qt(s5, n5, h2, r2, e2);
  14135. break;
  14136. case 197:
  14137. u2 = i5.AI(s5, n5, h2, r2, e2);
  14138. }
  14139. break;
  14140. case 1607:
  14141. switch (a2) {
  14142. case 1736:
  14143. u2 = i5.bn(n5, s5, h2, r2, e2);
  14144. break;
  14145. case 1607:
  14146. u2 = i5.aB(s5, n5, h2, r2, e2);
  14147. break;
  14148. case 33:
  14149. u2 = i5.ut(s5, n5, h2, r2, e2);
  14150. break;
  14151. case 550:
  14152. u2 = i5.tt(s5, n5, h2, r2, e2);
  14153. break;
  14154. case 197:
  14155. u2 = i5.GI(s5, n5, h2, r2);
  14156. }
  14157. break;
  14158. case 33:
  14159. switch (a2) {
  14160. case 1736:
  14161. u2 = i5.rt(n5, s5, h2, r2);
  14162. break;
  14163. case 1607:
  14164. u2 = i5.ut(n5, s5, h2, r2, e2);
  14165. break;
  14166. case 550:
  14167. u2 = i5.mt(n5, s5, h2, r2);
  14168. }
  14169. break;
  14170. case 550:
  14171. switch (a2) {
  14172. case 1736:
  14173. u2 = i5.qt(n5, s5, h2, r2, e2);
  14174. break;
  14175. case 1607:
  14176. u2 = i5.tt(n5, s5, h2, r2, e2);
  14177. break;
  14178. case 550:
  14179. u2 = i5.TA(s5, n5, h2, r2, e2);
  14180. break;
  14181. case 33:
  14182. u2 = i5.mt(s5, n5, h2, r2);
  14183. break;
  14184. case 197:
  14185. u2 = i5.bI(s5, n5, h2, r2);
  14186. }
  14187. break;
  14188. case 197:
  14189. switch (a2) {
  14190. case 1736:
  14191. u2 = i5.AI(n5, s5, h2, r2, e2);
  14192. break;
  14193. case 1607:
  14194. u2 = i5.GI(n5, s5, h2, r2);
  14195. break;
  14196. case 550:
  14197. u2 = i5.bI(n5, s5, h2, r2);
  14198. }
  14199. }
  14200. return u2;
  14201. }, i5.lW = function(s5, n5, h2, r2) {
  14202. if (s5.B() || n5.B())
  14203. return r2 == 4;
  14204. var e2 = new t4.l(), o2 = new t4.l(), a2 = new t4.l();
  14205. switch (s5.A(e2), n5.A(o2), a2.L(e2), a2.$b(o2), s5 = t4.ta.Xd(h2, a2, false), r2) {
  14206. case 4:
  14207. return i5.ek(e2, o2, s5);
  14208. case 2:
  14209. return i5.dF(o2, e2, s5);
  14210. case 1:
  14211. return i5.dF(e2, o2, s5);
  14212. case 3:
  14213. return i5.fk(e2, o2, s5);
  14214. case 8:
  14215. return i5.XP(e2, o2, s5);
  14216. case 32:
  14217. return i5.WP(e2, o2, s5);
  14218. case 16:
  14219. return i5.VP(e2, o2, s5);
  14220. }
  14221. return false;
  14222. }, i5.bJ = function(s5, n5, h2, r2) {
  14223. if (s5.B() || n5.B())
  14224. return r2 == 4;
  14225. s5 = s5.D();
  14226. var e2 = new t4.l(), o2 = new t4.l();
  14227. switch (n5.A(e2), o2.L(s5), o2.$b(e2), n5 = t4.ta.Xd(h2, o2, false), r2) {
  14228. case 4:
  14229. return i5.Tw(s5, e2, n5);
  14230. case 2:
  14231. return i5.ZA(s5, e2, n5);
  14232. case 1:
  14233. return i5.JU(s5, e2, n5);
  14234. case 3:
  14235. return i5.pI(s5, e2, n5);
  14236. case 8:
  14237. return i5.YA(s5, e2, n5);
  14238. }
  14239. return false;
  14240. }, i5.nW = function(s5, n5, h2, r2) {
  14241. if (s5.B() || n5.B())
  14242. return r2 == 4;
  14243. s5 = s5.D(), n5 = n5.D();
  14244. var e2 = new t4.l();
  14245. switch (e2.L(s5), e2.$b(n5), h2 = t4.ta.Xd(h2, e2, false), r2) {
  14246. case 4:
  14247. return i5.KU(s5, n5, h2);
  14248. case 2:
  14249. return i5.oI(n5, s5, h2);
  14250. case 1:
  14251. return i5.oI(s5, n5, h2);
  14252. case 3:
  14253. return i5.qI(s5, n5, h2);
  14254. }
  14255. return false;
  14256. }, i5.st = function(t5, s5, n5, h2, r2) {
  14257. switch (h2) {
  14258. case 4:
  14259. return i5.cV(t5, s5, n5);
  14260. case 2:
  14261. return i5.Uw(s5, t5, n5, r2);
  14262. case 1:
  14263. return i5.Uw(t5, s5, n5, r2);
  14264. case 3:
  14265. return i5.fV(t5, s5, n5);
  14266. case 8:
  14267. return i5.nV(t5, s5, n5);
  14268. case 32:
  14269. return i5.iV(t5, s5, n5, r2);
  14270. }
  14271. return false;
  14272. }, i5.bn = function(t5, s5, n5, h2, r2) {
  14273. switch (h2) {
  14274. case 4:
  14275. return i5.dV(t5, s5, n5);
  14276. case 1:
  14277. return i5.$A(t5, s5, n5, r2);
  14278. case 8:
  14279. return i5.oV(t5, s5, n5, r2);
  14280. case 16:
  14281. return i5.ZU(t5, s5, n5);
  14282. }
  14283. return false;
  14284. }, i5.rt = function(t5, s5, n5, h2) {
  14285. switch (h2) {
  14286. case 4:
  14287. return i5.bV(t5, s5, n5);
  14288. case 1:
  14289. return i5.WU(t5, s5, n5);
  14290. case 8:
  14291. return i5.mV(t5, s5, n5);
  14292. }
  14293. return false;
  14294. }, i5.qt = function(t5, s5, n5, h2) {
  14295. switch (h2) {
  14296. case 4:
  14297. return i5.aV(t5, s5, n5);
  14298. case 1:
  14299. return i5.VU(t5, s5, n5);
  14300. case 8:
  14301. return i5.lV(t5, s5, n5);
  14302. case 16:
  14303. return i5.YU(t5, s5, n5);
  14304. }
  14305. return false;
  14306. }, i5.AI = function(t5, s5, n5, h2, r2) {
  14307. if (i5.$U(t5, s5, n5))
  14308. return h2 == 4;
  14309. if (h2 == 4)
  14310. return false;
  14311. switch (h2) {
  14312. case 2:
  14313. return i5.pV(t5, s5, n5);
  14314. case 1:
  14315. return i5.UU(t5, s5, n5);
  14316. case 3:
  14317. return i5.eV(t5, s5, n5);
  14318. case 8:
  14319. return i5.kV(t5, s5, n5, r2);
  14320. case 32:
  14321. return i5.hV(t5, s5, n5, r2);
  14322. case 16:
  14323. return i5.XU(t5, s5, n5, r2);
  14324. }
  14325. return false;
  14326. }, i5.aB = function(t5, s5, n5, h2) {
  14327. switch (h2) {
  14328. case 4:
  14329. return i5.yV(t5, s5, n5);
  14330. case 2:
  14331. return i5.EI(s5, t5, n5);
  14332. case 1:
  14333. return i5.EI(t5, s5, n5);
  14334. case 3:
  14335. return i5.AV(t5, s5, n5);
  14336. case 8:
  14337. return i5.HI(t5, s5, n5);
  14338. case 32:
  14339. return i5.EV(t5, s5, n5);
  14340. case 16:
  14341. return i5.FI(t5, s5, n5);
  14342. }
  14343. return false;
  14344. }, i5.ut = function(t5, s5, n5, h2) {
  14345. switch (h2) {
  14346. case 4:
  14347. return i5.xV(t5, s5, n5);
  14348. case 1:
  14349. return i5.sV(t5, s5, n5);
  14350. case 8:
  14351. return i5.IV(t5, s5, n5);
  14352. }
  14353. return false;
  14354. }, i5.tt = function(t5, s5, n5, h2) {
  14355. switch (h2) {
  14356. case 4:
  14357. return i5.wV(t5, s5, n5);
  14358. case 1:
  14359. return i5.rV(t5, s5, n5);
  14360. case 8:
  14361. return i5.HV(t5, s5, n5);
  14362. case 16:
  14363. return i5.uV(t5, s5, n5);
  14364. }
  14365. return false;
  14366. }, i5.GI = function(t5, s5, n5, h2) {
  14367. if (i5.vV(t5, s5, n5))
  14368. return h2 == 4;
  14369. if (h2 == 4)
  14370. return false;
  14371. switch (h2) {
  14372. case 2:
  14373. return i5.JV(t5, s5, n5);
  14374. case 1:
  14375. return i5.qV(t5, s5, n5);
  14376. case 3:
  14377. return i5.zV(t5, s5, n5);
  14378. case 8:
  14379. return i5.GV(t5, s5, n5);
  14380. case 32:
  14381. return i5.DV(t5, s5, n5);
  14382. case 16:
  14383. return i5.tV(t5, s5, n5);
  14384. }
  14385. return false;
  14386. }, i5.TA = function(t5, s5, n5, h2) {
  14387. switch (h2) {
  14388. case 4:
  14389. return i5.ZT(t5, s5, n5);
  14390. case 2:
  14391. return i5.ZH(s5, t5, n5);
  14392. case 1:
  14393. return i5.ZH(t5, s5, n5);
  14394. case 3:
  14395. return i5.aU(t5, s5, n5);
  14396. case 32:
  14397. return i5.gU(t5, s5, n5);
  14398. }
  14399. return false;
  14400. }, i5.mt = function(t5, s5, n5, h2) {
  14401. switch (h2) {
  14402. case 4:
  14403. return i5.$H(t5, s5, n5);
  14404. case 2:
  14405. return i5.kU(t5, s5, n5);
  14406. case 1:
  14407. return i5.WT(t5, s5, n5);
  14408. case 3:
  14409. return i5.Pw(t5, s5, n5);
  14410. }
  14411. return false;
  14412. }, i5.bI = function(t5, s5, n5, h2) {
  14413. switch (h2) {
  14414. case 4:
  14415. return i5.YT(t5, s5, n5);
  14416. case 2:
  14417. return i5.jU(t5, s5, n5);
  14418. case 1:
  14419. return i5.VT(t5, s5, n5);
  14420. case 3:
  14421. return i5.$T(t5, s5, n5);
  14422. case 8:
  14423. return i5.iU(t5, s5, n5);
  14424. case 16:
  14425. return i5.XT(t5, s5, n5);
  14426. }
  14427. return false;
  14428. }, i5.fV = function(s5, n5, h2) {
  14429. var r2 = new t4.l(), e2 = new t4.l();
  14430. return s5.A(r2), n5.A(e2), !!i5.fk(r2, e2, h2) && ((r2 = i5.qc(s5, n5, false)) != 4 && r2 != 1 && r2 != 2 && (!!i5.YH(s5, n5, h2) || (r2 = s5.Rb(), e2 = n5.Rb(), !(Math.abs(r2 - e2) > 4 * Math.max(s5.I(), n5.I()) * h2) && i5.Rz(s5, n5, h2, true))));
  14431. }, i5.cV = function(t5, s5, n5) {
  14432. var h2 = i5.qc(t5, s5, true);
  14433. return h2 == 4 || h2 != 1 && h2 != 2 && h2 != 1073741824 && i5.yI(t5, s5, n5);
  14434. }, i5.nV = function(t5, s5, n5) {
  14435. var h2 = i5.qc(t5, s5, false);
  14436. return h2 != 4 && h2 != 1 && h2 != 2 && i5.CI(t5, s5, n5, null);
  14437. }, i5.iV = function(t5, s5, n5, h2) {
  14438. var r2 = i5.qc(t5, s5, false);
  14439. return r2 != 4 && r2 != 1 && r2 != 2 && i5.zI(t5, s5, n5, h2);
  14440. }, i5.Uw = function(s5, n5, h2, r2) {
  14441. var e2 = new t4.l(), o2 = new t4.l();
  14442. return s5.A(e2), n5.A(o2), !!i5.Ac(e2, o2, h2) && ((e2 = i5.qc(s5, n5, false)) != 4 && e2 != 2 && (e2 == 1 || i5.vI(s5, n5, h2, r2)));
  14443. }, i5.dV = function(t5, s5, n5) {
  14444. var h2 = i5.qc(t5, s5, true);
  14445. return h2 == 4 || h2 != 1 && h2 != 1073741824 && i5.yI(t5, s5, n5);
  14446. }, i5.oV = function(t5, s5, n5, h2) {
  14447. var r2 = i5.qc(t5, s5, false);
  14448. return r2 != 4 && r2 != 1 && i5.DI(t5, s5, n5, h2);
  14449. }, i5.ZU = function(t5, s5, n5) {
  14450. var h2 = i5.qc(t5, s5, false);
  14451. return h2 != 4 && h2 != 1 && i5.xI(t5, s5, n5, null);
  14452. }, i5.$A = function(s5, n5, h2, r2) {
  14453. var e2 = new t4.l(), o2 = new t4.l();
  14454. return s5.A(e2), n5.A(o2), !!i5.Ac(e2, o2, h2) && ((e2 = i5.qc(s5, n5, false)) != 4 && (e2 == 1 || i5.wI(s5, n5, h2, r2)));
  14455. }, i5.bV = function(i6, s5, n5) {
  14456. return t4.jd.EG(i6, s5, n5) == 0;
  14457. }, i5.mV = function(t5, s5, n5) {
  14458. return s5 = s5.D(), i5.BI(t5, s5, n5);
  14459. }, i5.WU = function(t5, s5, n5) {
  14460. return s5 = s5.D(), i5.uI(t5, s5, n5);
  14461. }, i5.aV = function(s5, n5, h2) {
  14462. var r2 = i5.qc(s5, n5, false);
  14463. if (r2 == 4)
  14464. return true;
  14465. if (r2 == 1)
  14466. return false;
  14467. r2 = new t4.l(), s5.A(r2), r2.X(h2, h2);
  14468. for (var e2 = new t4.h(), o2 = 0; o2 < n5.I(); o2++)
  14469. if (n5.D(o2, e2), r2.contains(e2)) {
  14470. var a2 = t4.jd.Zd(s5, e2, h2);
  14471. if (a2 == 1 || a2 == 2)
  14472. return false;
  14473. }
  14474. return true;
  14475. }, i5.lV = function(i6, s5, n5) {
  14476. var h2 = this.qc(i6, s5, false);
  14477. if (h2 == 4 || h2 == 1)
  14478. return false;
  14479. h2 = new t4.l(), i6.A(h2), h2.X(n5, n5);
  14480. for (var r2 = false, e2 = i6, o2 = false, a2 = 0; a2 < s5.I(); a2++) {
  14481. var u2 = s5.Oa(a2);
  14482. if (h2.contains(u2)) {
  14483. if ((u2 = t4.jd.Zd(e2, u2, n5)) == 2)
  14484. r2 = true;
  14485. else if (u2 == 1)
  14486. return false;
  14487. }
  14488. o2 || (!t4.Fg.Ol(i6, s5.I() - 1) || i6.Cb != null && i6.Cb.Gb != null ? e2 = i6 : (e2 = new t4.Ea(), i6.copyTo(e2), e2.hj(1)), o2 = true);
  14489. }
  14490. return !!r2;
  14491. }, i5.YU = function(i6, s5, n5) {
  14492. var h2 = this.qc(i6, s5, false);
  14493. if (h2 == 4 || h2 == 1)
  14494. return false;
  14495. var r2 = new t4.l();
  14496. h2 = new t4.l();
  14497. var e2 = new t4.l();
  14498. i6.A(r2), s5.A(e2), h2.L(r2), h2.X(n5, n5), e2 = r2 = false;
  14499. for (var o2 = i6, a2 = false, u2 = 0; u2 < s5.I(); u2++) {
  14500. var f2 = s5.Oa(u2);
  14501. if (h2.contains(f2) ? (f2 = t4.jd.Zd(o2, f2, n5)) == 0 ? e2 = true : f2 == 1 && (r2 = true) : e2 = true, r2 && e2)
  14502. return true;
  14503. a2 || (!t4.Fg.Ol(i6, s5.I() - 1) || i6.Cb != null && i6.Cb.Gb != null ? o2 = i6 : (o2 = new t4.Ea(), i6.copyTo(o2), o2.hj(1)), a2 = true);
  14504. }
  14505. return false;
  14506. }, i5.VU = function(i6, s5, n5) {
  14507. var h2 = new t4.l(), r2 = new t4.l();
  14508. if (i6.A(h2), s5.A(r2), !this.Ac(h2, r2, n5))
  14509. return false;
  14510. if ((r2 = this.qc(i6, s5, false)) == 4)
  14511. return false;
  14512. if (r2 == 1)
  14513. return true;
  14514. r2 = false;
  14515. for (var e2 = i6, o2 = false, a2 = 0; a2 < s5.I(); a2++) {
  14516. var u2 = s5.Oa(a2);
  14517. if (!h2.contains(u2))
  14518. return false;
  14519. if ((u2 = t4.jd.Zd(e2, u2, n5)) == 1)
  14520. r2 = true;
  14521. else if (u2 == 0)
  14522. return false;
  14523. o2 || (!t4.Fg.Ol(i6, s5.I() - 1) || i6.Cb != null && i6.Cb.Gb != null ? e2 = i6 : (e2 = new t4.Ea(), i6.copyTo(e2), e2.hj(1)), o2 = true);
  14524. }
  14525. return r2;
  14526. }, i5.eV = function(s5, n5, h2) {
  14527. var r2 = new t4.l(), e2 = new t4.l();
  14528. return s5.A(r2), n5.A(e2), !!i5.fk(r2, e2, h2) && ((r2 = new t4.Ea()).bd(n5, false), i5.Rz(s5, r2, h2, true));
  14529. }, i5.$U = function(s5, n5, h2) {
  14530. var r2 = i5.qc(s5, n5, false);
  14531. if (r2 == 4)
  14532. return true;
  14533. if (r2 == 1 || r2 == 2)
  14534. return false;
  14535. var e2 = new t4.l();
  14536. if (r2 = new t4.l(), s5.A(e2), n5.A(r2), i5.Ac(r2, e2, h2))
  14537. return false;
  14538. if (e2 = new t4.h(), r2.fn(e2), (n5 = t4.jd.Zd(s5, e2, h2)) != 0)
  14539. return false;
  14540. if (r2.UI(e2), (n5 = t4.jd.Zd(s5, e2, h2)) != 0)
  14541. return false;
  14542. if (r2.gn(e2), (n5 = t4.jd.Zd(s5, e2, h2)) != 0)
  14543. return false;
  14544. if (r2.XI(e2), (n5 = t4.jd.Zd(s5, e2, h2)) != 0)
  14545. return false;
  14546. n5 = s5.vb(0), (e2 = new t4.l()).L(r2), e2.X(h2, h2);
  14547. for (var o2 = 0, a2 = s5.I(); o2 < a2; o2++) {
  14548. var u2 = n5.read(2 * o2), f2 = n5.read(2 * o2 + 1);
  14549. if (e2.contains(u2, f2))
  14550. return false;
  14551. }
  14552. return !i5.MG(s5, r2, h2);
  14553. }, i5.kV = function(s5, n5, h2, r2) {
  14554. var e2 = i5.qc(s5, n5, false);
  14555. if (e2 == 4 || e2 == 1 || e2 == 2)
  14556. return false;
  14557. e2 = new t4.l();
  14558. var o2 = new t4.l();
  14559. return s5.A(e2), n5.A(o2), !i5.Ac(o2, e2, h2) && (o2.S() <= h2 && o2.da() <= h2 ? (n5 = n5.Kp(), i5.BI(s5, n5, h2)) : o2.S() <= h2 || o2.da() <= h2 ? (e2 = new t4.Ua(), o2 = new t4.Ta(), n5.If(0, o2), e2.nf(o2), n5.If(2, o2), e2.lineTo(o2), i5.DI(s5, e2, h2, r2)) : ((e2 = new t4.Ea()).bd(n5, false), i5.CI(s5, e2, h2, r2)));
  14560. }, i5.hV = function(s5, n5, h2, r2) {
  14561. var e2 = i5.qc(s5, n5, false);
  14562. if (e2 == 4 || e2 == 1 || e2 == 2)
  14563. return false;
  14564. e2 = new t4.l();
  14565. var o2 = new t4.l();
  14566. return s5.A(e2), n5.A(o2), !(i5.Ac(o2, e2, h2) || o2.S() <= h2 || o2.da() <= h2) && ((e2 = new t4.Ea()).bd(n5, false), i5.zI(s5, e2, h2, r2));
  14567. }, i5.pV = function(s5, n5, h2) {
  14568. var r2 = new t4.l(), e2 = new t4.l();
  14569. return s5.A(r2), n5.A(e2), i5.Ac(e2, r2, h2);
  14570. }, i5.UU = function(s5, n5, h2) {
  14571. var r2 = new t4.l(), e2 = new t4.l();
  14572. return s5.A(r2), n5.A(e2), !!i5.Ac(r2, e2, h2) && ((r2 = i5.qc(s5, n5, false)) != 4 && r2 != 2 && (r2 == 1 || (e2.S() <= h2 && e2.da() <= h2 ? (n5 = n5.Kp(), i5.uI(s5, n5, h2)) : e2.S() <= h2 || e2.da() <= h2 ? (e2 = new t4.Ua(), r2 = new t4.Ta(), n5.If(0, r2), e2.nf(r2), n5.If(2, r2), e2.lineTo(r2), i5.wI(s5, e2, h2, null)) : ((e2 = new t4.Ea()).bd(n5, false), i5.vI(s5, e2, h2, null)))));
  14573. }, i5.XU = function(s5, n5, h2, r2) {
  14574. var e2 = new t4.l(), o2 = new t4.l();
  14575. return s5.A(e2), n5.A(o2), !(i5.Ac(o2, e2, h2) || o2.da() > h2 && o2.S() > h2 || o2.da() <= h2 && o2.S() <= h2) && (e2 = new t4.Ua(), o2 = new t4.Ta(), n5.If(0, o2), e2.nf(o2), n5.If(2, o2), e2.lineTo(o2), i5.xI(s5, e2, h2, r2));
  14576. }, i5.AV = function(s5, n5, h2) {
  14577. var r2 = new t4.l(), e2 = new t4.l();
  14578. return s5.A(r2), n5.A(e2), !(!i5.fk(r2, e2, h2) || i5.qc(s5, n5, false) == 4) && (!!i5.YH(s5, n5, h2) || i5.Rz(s5, n5, h2, false));
  14579. }, i5.yV = function(i6, s5, n5) {
  14580. return this.qc(i6, s5, false) == 4 || !!new t4.am(i6, s5, n5, true).next() && !this.NG(i6, s5, n5);
  14581. }, i5.HI = function(s5, n5, h2) {
  14582. if (i5.qc(s5, n5, false) == 4)
  14583. return false;
  14584. var r2 = new t4.ce(0);
  14585. if (i5.Sz(s5, n5, h2, r2) != 0)
  14586. return false;
  14587. for (var e2 = new t4.de(), o2 = 0; o2 < r2.size; o2 += 2) {
  14588. var a2 = r2.read(o2), u2 = r2.read(o2 + 1);
  14589. e2.Du(a2, u2);
  14590. }
  14591. return s5 = s5.mg(), n5 = n5.mg(), s5.Gd(n5, 0, n5.I()), i5.Ow(s5, e2, h2);
  14592. }, i5.FI = function(s5, n5, h2) {
  14593. if (i5.qc(s5, n5, false) == 4)
  14594. return false;
  14595. var r2 = new t4.ce(0);
  14596. if (i5.Sz(s5, n5, h2, r2) != 0)
  14597. return false;
  14598. for (var e2 = new t4.de(), o2 = 0; o2 < r2.size; o2 += 2) {
  14599. var a2 = r2.read(o2), u2 = r2.read(o2 + 1);
  14600. e2.Du(a2, u2);
  14601. }
  14602. return s5 = s5.mg(), n5 = n5.mg(), s5.Gd(n5, 0, n5.I()), !i5.Ow(s5, e2, h2);
  14603. }, i5.EV = function(t5, s5, n5) {
  14604. return i5.qc(t5, s5, false) != 4 && i5.PG(t5, s5, n5);
  14605. }, i5.EI = function(s5, n5, h2) {
  14606. var r2 = new t4.l(), e2 = new t4.l();
  14607. return s5.A(r2), n5.A(e2), !(!i5.Ac(r2, e2, h2) || i5.qc(s5, n5, false) == 4) && i5.Am(n5, s5, h2, false);
  14608. }, i5.xV = function(t5, s5, n5) {
  14609. return i5.qc(t5, s5, false) == 4 || (s5 = s5.D(), !i5.Tz(t5, s5, n5));
  14610. }, i5.IV = function(t5, s5, n5) {
  14611. return i5.qc(t5, s5, false) != 4 && (s5 = s5.D(), i5.Uz(t5, s5, n5));
  14612. }, i5.sV = function(t5, s5, n5) {
  14613. return i5.qc(t5, s5, false) != 4 && (s5 = s5.D(), i5.LG(t5, s5, n5));
  14614. }, i5.wV = function(t5, s5, n5) {
  14615. return i5.qc(t5, s5, false) == 4 || !i5.OG(t5, s5, n5, false);
  14616. }, i5.HV = function(i6, s5, n5) {
  14617. if (this.qc(i6, s5, false) == 4)
  14618. return false;
  14619. var h2 = i6.Ha(), r2 = new t4.l(), e2 = new t4.l(), o2 = new t4.l();
  14620. i6.A(r2), s5.A(e2), r2.X(n5, n5), e2.X(n5, n5), o2.L(r2), o2.Fa(e2), r2 = null;
  14621. var a2 = i6.Cb;
  14622. if (a2 != null) {
  14623. var u2 = a2.Gb;
  14624. r2 = a2.Ao, u2 == null && (u2 = a2 = t4.ta.lj(i6, o2));
  14625. } else
  14626. u2 = a2 = t4.ta.lj(i6, o2);
  14627. var f2 = u2.getIterator(), c2 = null;
  14628. r2 != null && (c2 = r2.getIterator());
  14629. var l2 = new t4.h(), p2 = new t4.h(), v2 = false, y2 = n5 * n5;
  14630. for (r2 = new t4.rn(s5.I()), a2 = 0; a2 < s5.I(); a2++)
  14631. r2.write(a2, 0);
  14632. for (a2 = 0; a2 < s5.I(); a2++)
  14633. if (s5.D(a2, l2), o2.contains(l2)) {
  14634. if (e2.L(l2.x, l2.y, l2.x, l2.y), c2 != null && (c2.Zi(e2, n5), c2.next() == -1))
  14635. continue;
  14636. f2.Zi(e2, n5);
  14637. for (var b2 = f2.next(); b2 != -1; b2 = f2.next())
  14638. if (h2.Wb(u2.ka(b2)), (b2 = h2.ia()).ic(b2.fe(l2, false), p2), t4.h.zc(l2, p2) <= y2) {
  14639. r2.write(a2, 1), v2 = true;
  14640. break;
  14641. }
  14642. }
  14643. if (!v2)
  14644. return false;
  14645. for (i6 = i6.mg(), h2 = new t4.de(), e2 = new t4.h(), a2 = 0; a2 < s5.I(); a2++)
  14646. r2.read(a2) != 0 && (s5.D(a2, e2), h2.Du(e2.x, e2.y));
  14647. return this.Ow(i6, h2, n5);
  14648. }, i5.uV = function(i6, s5, n5) {
  14649. if (this.qc(i6, s5, false) == 4)
  14650. return false;
  14651. var h2 = i6.Ha(), r2 = new t4.l(), e2 = new t4.l(), o2 = new t4.l();
  14652. i6.A(r2), s5.A(e2), r2.X(n5, n5), e2.X(n5, n5), o2.L(r2), o2.Fa(e2), r2 = null;
  14653. var a2 = i6.Cb;
  14654. if (a2 != null) {
  14655. var u2 = a2.Gb;
  14656. r2 = a2.Ao, u2 == null && (u2 = a2 = t4.ta.lj(i6, o2));
  14657. } else
  14658. u2 = a2 = t4.ta.lj(i6, o2);
  14659. var f2 = u2.getIterator(), c2 = null;
  14660. r2 != null && (c2 = r2.getIterator());
  14661. var l2 = new t4.h(), p2 = new t4.h(), v2 = false, y2 = false, b2 = n5 * n5;
  14662. for (r2 = new t4.rn(s5.I()), a2 = 0; a2 < s5.I(); a2++)
  14663. r2.write(a2, 0);
  14664. for (a2 = 0; a2 < s5.I(); a2++)
  14665. if (s5.D(a2, l2), o2.contains(l2)) {
  14666. if (e2.L(l2.x, l2.y, l2.x, l2.y), c2 != null && (c2.Zi(e2, n5), c2.next() == -1)) {
  14667. y2 = true;
  14668. continue;
  14669. }
  14670. f2.Zi(e2, n5);
  14671. for (var d2 = false, g2 = f2.next(); g2 != -1; g2 = f2.next())
  14672. if (h2.Wb(u2.ka(g2)), (g2 = h2.ia()).ic(g2.fe(l2, false), p2), t4.h.zc(l2, p2) <= b2) {
  14673. r2.write(a2, 1), d2 = v2 = true;
  14674. break;
  14675. }
  14676. d2 || (y2 = true);
  14677. } else
  14678. y2 = true;
  14679. if (!v2 || !y2)
  14680. return false;
  14681. for (i6 = i6.mg(), h2 = new t4.de(), e2 = new t4.h(), a2 = 0; a2 < s5.I(); a2++)
  14682. r2.read(a2) != 0 && (s5.D(a2, e2), h2.Du(e2.x, e2.y));
  14683. return !this.Ow(i6, h2, n5);
  14684. }, i5.rV = function(s5, n5, h2) {
  14685. var r2 = new t4.l(), e2 = new t4.l();
  14686. return s5.A(r2), n5.A(e2), !(!i5.Ac(r2, e2, h2) || i5.qc(s5, n5, false) == 4 || !i5.OG(s5, n5, h2, true)) && (s5 = s5.mg(), !i5.aI(s5, n5, h2));
  14687. }, i5.zV = function(s5, n5, h2) {
  14688. var r2 = new t4.l(), e2 = new t4.l();
  14689. return s5.A(r2), n5.A(e2), !(e2.da() > h2 && e2.S() > h2) && i5.fk(r2, e2, h2);
  14690. }, i5.vV = function(s5, n5, h2) {
  14691. var r2 = new t4.l(), e2 = new t4.l();
  14692. return s5.A(r2), n5.A(e2), !i5.Ac(e2, r2, h2) && !i5.MG(s5, e2, h2);
  14693. }, i5.GV = function(s5, n5, h2) {
  14694. var r2 = new t4.l(), e2 = new t4.l();
  14695. if (s5.A(r2), n5.A(e2), e2.da() <= h2 && e2.S() <= h2)
  14696. return e2 = n5.Kp(), i5.Uz(s5, e2, h2);
  14697. if (e2.da() <= h2 || e2.S() <= h2)
  14698. return e2 = new t4.Ua(), r2 = new t4.Ta(), n5.If(0, r2), e2.nf(r2), n5.If(2, r2), e2.lineTo(r2), i5.HI(s5, e2, h2);
  14699. s5 = s5.Ha(), n5 = new t4.l(), r2 = new t4.l(), n5.L(e2), r2.L(e2), n5.X(-h2, -h2), r2.X(h2, h2), e2 = false;
  14700. for (var o2 = new t4.l(), a2 = new t4.l(); s5.ab(); )
  14701. for (; s5.Ia(); ) {
  14702. if (s5.ia().A(o2), a2.L(n5), a2.Fa(o2), !a2.B() && (a2.da() > h2 || a2.S() > h2))
  14703. return false;
  14704. a2.L(r2), a2.Fa(o2), a2.B() || (e2 = true);
  14705. }
  14706. return e2;
  14707. }, i5.DV = function(s5, n5, h2) {
  14708. var r2 = new t4.l(), e2 = new t4.l();
  14709. return s5.A(r2), n5.A(e2), !(i5.Ac(r2, e2, h2) || i5.Ac(e2, r2, h2) || i5.Ac(e2, r2, h2) || e2.da() > h2 && e2.S() > h2 || e2.da() <= h2 && e2.S() <= h2) && (r2 = new t4.Ua(), e2 = new t4.Ta(), n5.If(0, e2), r2.nf(e2), n5.If(2, e2), r2.lineTo(e2), i5.PG(s5, r2, h2));
  14710. }, i5.JV = function(s5, n5, h2) {
  14711. var r2 = new t4.l(), e2 = new t4.l();
  14712. if (s5.A(r2), n5.A(e2), !i5.Ac(e2, r2, h2) || e2.da() <= h2 && e2.S() <= h2)
  14713. return false;
  14714. if (e2.da() <= h2 || e2.S() <= h2)
  14715. return i5.Ac(e2, r2, h2);
  14716. s5 = s5.Ha(), (n5 = new t4.l()).L(e2), n5.X(-h2, -h2), e2 = false, r2 = new t4.l();
  14717. for (var o2 = new t4.l(); s5.ab(); )
  14718. for (; s5.Ia(); )
  14719. s5.ia().A(r2), n5.jm(r2) ? e2 = true : (o2.L(n5), o2.Fa(r2), !o2.B() && (o2.da() > h2 || o2.S() > h2) && (e2 = true));
  14720. return e2;
  14721. }, i5.qV = function(s5, n5, h2) {
  14722. var r2 = new t4.l(), e2 = new t4.l();
  14723. return n5.A(e2), s5.A(r2), !(!i5.Ac(r2, e2, h2) || e2.da() > h2 && e2.S() > h2) && (e2.da() <= h2 && e2.S() <= h2 ? (n5 = n5.Kp(), i5.LG(s5, n5, h2)) : (r2 = new t4.Ua(), e2 = new t4.Ta(), n5.If(0, e2), r2.nf(e2), n5.If(2, e2), r2.lineTo(e2), i5.Am(r2, s5, h2, false)));
  14724. }, i5.tV = function(s5, n5, h2) {
  14725. var r2 = new t4.l(), e2 = new t4.l();
  14726. if (s5.A(r2), n5.A(e2), i5.Ac(e2, r2, h2) || e2.da() <= h2 && e2.S() <= h2)
  14727. return false;
  14728. if (e2.da() <= h2 || e2.S() <= h2)
  14729. return r2 = new t4.Ua(), e2 = new t4.Ta(), n5.If(0, e2), r2.nf(e2), n5.If(2, e2), r2.lineTo(e2), i5.FI(s5, r2, h2);
  14730. s5 = s5.Ha(), n5 = new t4.l(), (r2 = new t4.l()).L(e2), n5.L(e2), r2.X(-h2, -h2), n5.X(h2, h2);
  14731. for (var o2 = e2 = false, a2 = new t4.l(), u2 = new t4.l(); s5.ab(); )
  14732. for (; s5.Ia(); )
  14733. if (s5.ia().A(a2), o2 || n5.contains(a2) || (o2 = true), e2 || (u2.L(r2), u2.Fa(a2), !u2.B() && (u2.da() > h2 || u2.S() > h2) && (e2 = true)), e2 && o2)
  14734. return true;
  14735. return false;
  14736. }, i5.aU = function(s5, n5, h2) {
  14737. var r2 = new t4.l(), e2 = new t4.l();
  14738. return s5.A(r2), n5.A(e2), !!i5.fk(r2, e2, h2) && (!!i5.bU(s5, n5, h2) || i5.SA(s5, n5, h2, false, true, false));
  14739. }, i5.ZT = function(t5, s5, n5) {
  14740. return !i5.aI(t5, s5, n5);
  14741. }, i5.gU = function(t5, s5, n5) {
  14742. return i5.SA(t5, s5, n5, false, false, true);
  14743. }, i5.ZH = function(s5, n5, h2) {
  14744. var r2 = new t4.l(), e2 = new t4.l();
  14745. return s5.A(r2), n5.A(e2), !!i5.Ac(r2, e2, h2) && i5.SA(n5, s5, h2, true, false, false);
  14746. }, i5.Ow = function(i6, s5, n5) {
  14747. n5 *= n5;
  14748. for (var h2 = new t4.h(), r2 = new t4.h(), e2 = 0; e2 < s5.I(); e2++) {
  14749. s5.D(e2, r2);
  14750. for (var o2 = false, a2 = 0; a2 < i6.I(); a2++)
  14751. if (i6.D(a2, h2), t4.h.zc(h2, r2) <= n5) {
  14752. o2 = true;
  14753. break;
  14754. }
  14755. if (!o2)
  14756. return false;
  14757. }
  14758. return true;
  14759. }, i5.Pw = function(s5, n5, h2) {
  14760. var r2 = new t4.l(), e2 = new t4.l();
  14761. return s5.A(r2), n5.A(e2), i5.fk(r2, e2, h2);
  14762. }, i5.$H = function(t5, s5, n5) {
  14763. return s5 = s5.D(), i5.lt(t5, s5, n5);
  14764. }, i5.kU = function(t5, s5, n5) {
  14765. return i5.Pw(t5, s5, n5);
  14766. }, i5.WT = function(t5, s5, n5) {
  14767. return !i5.$H(t5, s5, n5);
  14768. }, i5.$T = function(s5, n5, h2) {
  14769. var r2 = new t4.l(), e2 = new t4.l();
  14770. return s5.A(r2), n5.A(e2), !(e2.da() > h2 || e2.S() > h2) && i5.fk(r2, e2, h2);
  14771. }, i5.YT = function(s5, n5, h2) {
  14772. var r2 = new t4.l(), e2 = new t4.l();
  14773. if (s5.A(r2), n5.A(e2), i5.Ac(e2, r2, h2))
  14774. return false;
  14775. for ((n5 = new t4.l()).L(e2), n5.X(h2, h2), h2 = new t4.h(), e2 = 0; e2 < s5.I(); e2++)
  14776. if (s5.D(e2, h2), n5.contains(h2))
  14777. return false;
  14778. return true;
  14779. }, i5.iU = function(i6, s5, n5) {
  14780. var h2 = new t4.l(), r2 = new t4.l(), e2 = new t4.l();
  14781. if (s5.A(h2), h2.da() <= n5 && h2.S() <= n5)
  14782. return false;
  14783. if (h2.da() <= n5 || h2.S() <= n5) {
  14784. s5 = new t4.h();
  14785. var o2 = false;
  14786. r2.L(h2), e2.L(h2), r2.X(n5, n5), h2.da() > n5 ? e2.X(0, -n5) : e2.X(-n5, 0);
  14787. for (var a2 = 0; a2 < i6.I(); a2++)
  14788. if (i6.D(a2, s5), r2.contains(s5)) {
  14789. if (h2.da() > n5) {
  14790. if (s5.y > e2.G && s5.y < e2.H)
  14791. return false;
  14792. } else if (s5.x > e2.v && s5.x < e2.C)
  14793. return false;
  14794. o2 = true;
  14795. }
  14796. return o2;
  14797. }
  14798. for (r2.L(h2), e2.L(h2), r2.X(n5, n5), e2.X(-n5, -n5), s5 = new t4.h(), o2 = false, a2 = 0; a2 < i6.I(); a2++)
  14799. if (i6.D(a2, s5), r2.contains(s5)) {
  14800. if (e2.jm(s5))
  14801. return false;
  14802. o2 = true;
  14803. }
  14804. return o2;
  14805. }, i5.jU = function(s5, n5, h2) {
  14806. var r2 = new t4.l(), e2 = new t4.l();
  14807. if (s5.A(r2), n5.A(e2), !i5.Ac(e2, r2, h2))
  14808. return false;
  14809. if (e2.da() <= h2 && e2.S() <= h2)
  14810. return i5.fk(r2, e2, h2);
  14811. if (e2.da() <= h2 || e2.S() <= h2) {
  14812. n5 = false, r2 = new t4.l();
  14813. var o2 = new t4.l();
  14814. r2.L(e2), o2.L(e2), e2.da() > h2 ? r2.X(0, -h2) : r2.X(-h2, 0), o2.X(h2, h2);
  14815. for (var a2 = new t4.h(), u2 = 0; u2 < s5.I(); u2++) {
  14816. if (s5.D(u2, a2), !o2.contains(a2))
  14817. return false;
  14818. e2.da() > h2 ? a2.y > r2.G && a2.y < r2.H && (n5 = true) : a2.x > r2.v && a2.x < r2.C && (n5 = true);
  14819. }
  14820. return n5;
  14821. }
  14822. for (n5 = false, r2 = new t4.l(), o2 = new t4.l(), r2.L(e2), o2.L(e2), r2.X(-h2, -h2), o2.X(h2, h2), a2 = new t4.h(), u2 = 0; u2 < s5.I(); u2++) {
  14823. if (s5.D(u2, a2), !o2.contains(a2))
  14824. return false;
  14825. r2.jm(a2) && (n5 = true);
  14826. }
  14827. return n5;
  14828. }, i5.VT = function(s5, n5, h2) {
  14829. var r2 = new t4.l(), e2 = new t4.l();
  14830. return s5.A(r2), n5.A(e2), !(!i5.Ac(r2, e2, h2) || e2.da() > h2 || e2.S() > h2) && (n5 = n5.Kp(), !i5.lt(s5, n5, h2));
  14831. }, i5.XT = function(s5, n5, h2) {
  14832. var r2 = new t4.l(), e2 = new t4.l();
  14833. if (s5.A(r2), n5.A(e2), i5.Ac(e2, r2, h2) || e2.da() <= h2 && e2.S() <= h2)
  14834. return false;
  14835. if (e2.da() <= h2 || e2.S() <= h2) {
  14836. n5 = new t4.l(), r2 = new t4.l(), n5.L(e2), e2.da() > h2 ? n5.X(0, -h2) : n5.X(-h2, 0), r2.L(e2), r2.X(h2, h2);
  14837. for (var o2 = new t4.h(), a2 = false, u2 = false, f2 = 0; f2 < s5.I(); f2++)
  14838. if (s5.D(f2, o2), a2 || (e2.da() > h2 ? o2.y > n5.G && o2.y < n5.H && (a2 = true) : o2.x > n5.v && o2.x < n5.C && (a2 = true)), u2 || r2.contains(o2) || (u2 = true), a2 && u2)
  14839. return true;
  14840. return false;
  14841. }
  14842. for (n5 = new t4.l(), r2 = new t4.l(), n5.L(e2), n5.X(-h2, -h2), r2.L(e2), r2.X(h2, h2), o2 = new t4.h(), u2 = a2 = false, f2 = 0; f2 < s5.I(); f2++)
  14843. if (s5.D(f2, o2), !a2 && n5.jm(o2) && (a2 = true), u2 || r2.contains(o2) || (u2 = true), a2 && u2)
  14844. return true;
  14845. return false;
  14846. }, i5.qI = function(i6, s5, n5) {
  14847. return t4.h.zc(i6, s5) <= n5 * n5;
  14848. }, i5.KU = function(i6, s5, n5) {
  14849. return t4.h.zc(i6, s5) > n5 * n5;
  14850. }, i5.oI = function(t5, s5, n5) {
  14851. return i5.qI(t5, s5, n5);
  14852. }, i5.pI = function(s5, n5, h2) {
  14853. var r2 = new t4.l();
  14854. return r2.L(s5), i5.fk(r2, n5, h2);
  14855. }, i5.Tw = function(i6, s5, n5) {
  14856. var h2 = new t4.l();
  14857. return h2.L(s5), h2.X(n5, n5), !h2.contains(i6);
  14858. }, i5.YA = function(i6, s5, n5) {
  14859. if (s5.da() <= n5 && s5.S() <= n5)
  14860. return false;
  14861. var h2 = new t4.l(), r2 = new t4.l();
  14862. if (h2.L(s5), h2.X(n5, n5), !h2.contains(i6))
  14863. return false;
  14864. if (s5.da() <= n5 || s5.S() <= n5) {
  14865. if (r2.L(s5), s5.da() > n5 ? r2.X(0, -n5) : r2.X(-n5, 0), s5.da() > n5) {
  14866. if (i6.y > r2.G && i6.y < r2.H)
  14867. return false;
  14868. } else if (i6.x > r2.v && i6.x < r2.C)
  14869. return false;
  14870. return true;
  14871. }
  14872. return r2.L(s5), r2.X(-n5, -n5), !r2.jm(i6);
  14873. }, i5.ZA = function(i6, s5, n5) {
  14874. if (s5.da() <= n5 && s5.S() <= n5)
  14875. return true;
  14876. if (s5.da() <= n5 || s5.S() <= n5) {
  14877. var h2 = new t4.l();
  14878. h2.L(s5), s5.da() > n5 ? h2.X(0, -n5) : h2.X(-n5, 0);
  14879. var r2 = false;
  14880. return s5.da() > n5 ? i6.y > h2.G && i6.y < h2.H && (r2 = true) : i6.x > h2.v && i6.x < h2.C && (r2 = true), r2;
  14881. }
  14882. return (h2 = new t4.l()).L(s5), h2.X(-n5, -n5), h2.jm(i6);
  14883. }, i5.JU = function(t5, s5, n5) {
  14884. return i5.pI(t5, s5, n5);
  14885. }, i5.fk = function(t5, s5, n5) {
  14886. return i5.Ac(t5, s5, n5) && i5.Ac(s5, t5, n5);
  14887. }, i5.ek = function(i6, s5, n5) {
  14888. var h2 = new t4.l();
  14889. return h2.L(s5), h2.X(n5, n5), !i6.isIntersecting(h2);
  14890. }, i5.XP = function(s5, n5, h2) {
  14891. if (s5.da() <= h2 && s5.S() <= h2) {
  14892. var r2 = s5.tf();
  14893. return i5.YA(r2, n5, h2);
  14894. }
  14895. if (n5.da() <= h2 && n5.S() <= h2)
  14896. return r2 = n5.tf(), i5.YA(r2, s5, h2);
  14897. if (s5.da() > h2 && s5.S() > h2 && (n5.da() <= h2 || n5.S() <= h2) ? r2 = n5 : (r2 = s5, s5 = n5), r2.da() <= h2 || r2.S() <= h2) {
  14898. if (s5.da() <= h2 || s5.S() <= h2) {
  14899. n5 = new t4.zb();
  14900. var e2 = new t4.zb(), o2 = [0, 0], a2 = [0, 0], u2 = new t4.h();
  14901. return r2.fn(u2), n5.Ec(u2), r2.gn(u2), n5.Rc(u2), s5.fn(u2), e2.Ec(u2), s5.gn(u2), e2.Rc(u2), n5.Fa(e2, null, o2, a2, h2), n5.Fa(e2, null, null, null, h2) == 1 && (o2[0] == 0 || o2[1] == 1 || a2[0] == 0 || a2[1] == 1);
  14902. }
  14903. return n5 = new t4.l(), e2 = new t4.l(), n5.L(s5), n5.X(-h2, -h2), e2.L(n5), e2.Fa(r2), !(!e2.B() && (e2.da() > h2 || e2.S() > h2));
  14904. }
  14905. return s5.X(h2, h2), (e2 = new t4.l()).L(r2), e2.Fa(s5), !(e2.B() || !e2.B() && e2.da() > h2 && e2.S() > h2);
  14906. }, i5.WP = function(s5, n5, h2) {
  14907. if (i5.Ac(s5, n5, h2) || i5.Ac(n5, s5, h2) || s5.da() <= h2 && s5.S() <= h2 || n5.da() <= h2 && n5.S() <= h2)
  14908. return false;
  14909. if (s5.da() <= h2 || s5.S() <= h2) {
  14910. if (n5.da() > h2 && n5.S() > h2)
  14911. return false;
  14912. var r2 = new t4.zb(), e2 = new t4.zb(), o2 = [0, 0], a2 = [0, 0], u2 = new t4.h();
  14913. return s5.fn(u2), r2.Ec(u2), s5.gn(u2), r2.Rc(u2), n5.fn(u2), e2.Ec(u2), n5.gn(u2), e2.Rc(u2), r2.Fa(e2, null, o2, a2, h2), r2.Fa(e2, null, null, null, h2) == 2 && ((0 < o2[0] || 1 > o2[1]) && (0 < a2[0] || 1 > a2[1]));
  14914. }
  14915. return !(n5.da() <= h2 || n5.S() <= h2) && ((r2 = new t4.l()).L(s5), r2.Fa(n5), !(r2.B() || r2.da() <= h2 || r2.S() <= h2));
  14916. }, i5.dF = function(s5, n5, h2) {
  14917. if (!i5.Ac(s5, n5, h2))
  14918. return false;
  14919. if (s5.da() <= h2 && s5.S() <= h2)
  14920. return s5 = s5.tf(), i5.ZA(s5, n5, h2);
  14921. if (n5.da() <= h2 && n5.S() <= h2)
  14922. return n5 = n5.tf(), i5.ZA(n5, s5, h2);
  14923. if (s5.da() <= h2 || s5.S() <= h2)
  14924. return i5.Ac(s5, n5, h2);
  14925. if (n5.da() <= h2 || n5.S() <= h2) {
  14926. var r2 = new t4.l();
  14927. return r2.L(s5), r2.X(-h2, -h2), r2.jm(n5) ? true : ((s5 = new t4.l()).L(r2), s5.Fa(n5), !(s5.B() || s5.da() <= h2 && s5.S() <= h2));
  14928. }
  14929. return i5.Ac(s5, n5, h2);
  14930. }, i5.VP = function(s5, n5, h2) {
  14931. if (i5.Ac(s5, n5, h2) || i5.Ac(n5, s5, h2) || s5.da() <= h2 && s5.S() <= h2 || n5.da() <= h2 && n5.S() <= h2 || n5.da() > h2 && n5.S() > h2 && s5.da() > h2 && s5.S() > h2)
  14932. return false;
  14933. if (s5.da() > h2 && s5.S() > h2)
  14934. var r2 = n5;
  14935. else
  14936. r2 = s5, s5 = n5;
  14937. if (s5.da() > h2 && s5.S() > h2) {
  14938. n5 = new t4.l();
  14939. var e2 = new t4.l();
  14940. return e2.L(s5), e2.X(-h2, -h2), n5.L(e2), n5.Fa(r2), !(n5.B() || n5.da() <= h2 && n5.S() <= h2);
  14941. }
  14942. n5 = new t4.zb(), e2 = new t4.zb();
  14943. var o2 = [0, 0], a2 = [0, 0], u2 = new t4.h();
  14944. return r2.fn(u2), n5.Ec(u2), r2.gn(u2), n5.Rc(u2), s5.fn(u2), e2.Ec(u2), s5.gn(u2), e2.Rc(u2), n5.Fa(e2, null, o2, a2, h2), n5.Fa(e2, null, null, null, h2) == 1 && (0 < o2[0] && 1 > o2[1] && 0 < a2[0] && 1 > a2[1]);
  14945. }, i5.yI = function(i6, s5, n5) {
  14946. var h2 = new t4.l(), r2 = new t4.l(), e2 = new t4.am(i6, s5, n5, true);
  14947. if (!e2.next())
  14948. return true;
  14949. if (this.NG(i6, s5, n5))
  14950. return false;
  14951. var o2 = i6, a2 = null;
  14952. s5.K() == 1736 && (a2 = s5);
  14953. var u2 = false, f2 = false;
  14954. do {
  14955. var c2 = e2.pl(), l2 = e2.jl();
  14956. if (l2 = s5.Oa(s5.Ca(l2)), h2.L(e2.oz()), h2.X(n5, n5), h2.contains(l2) && (l2 = t4.jd.Zd(o2, l2, 0)) != 0 || s5.K() == 1736 && (c2 = i6.Oa(i6.Ca(c2)), r2.L(e2.Wy()), r2.X(n5, n5), r2.contains(c2) && (l2 = t4.jd.Zd(a2, c2, 0)) != 0))
  14957. return false;
  14958. u2 || (!t4.Fg.Ol(i6, s5.ea() - 1) || i6.Cb != null && i6.Cb.Gb != null ? o2 = i6 : (o2 = new t4.Ea(), i6.copyTo(o2), o2.hj(1)), u2 = true), s5.K() != 1736 || f2 || (f2 = s5, !t4.Fg.Ol(f2, i6.ea() - 1) || s5.Cb != null && s5.Cb.Gb != null ? a2 = s5 : (a2 = new t4.Ea(), f2.copyTo(a2), a2.hj(1)), f2 = true);
  14959. } while (e2.next());
  14960. return true;
  14961. }, i5.Ac = function(i6, s5, n5) {
  14962. var h2 = new t4.l();
  14963. return h2.L(i6), h2.X(n5, n5), h2.contains(s5);
  14964. }, i5.ns = function(i6, s5, n5) {
  14965. var h2 = new t4.l();
  14966. return h2.L(s5), h2.X(n5, n5), s5 = new t4.h(), i6.fn(s5), !h2.contains(s5) || (i6.UI(s5), !h2.contains(s5) || (i6.XI(s5), !h2.contains(s5) || (i6.gn(s5), !h2.contains(s5))));
  14967. }, i5.YH = function(i6, s5, n5) {
  14968. if (i6.ea() != s5.ea() || i6.I() != s5.I())
  14969. return false;
  14970. var h2 = new t4.h(), r2 = new t4.h(), e2 = true;
  14971. n5 *= n5;
  14972. for (var o2 = 0; o2 < i6.ea(); o2++) {
  14973. if (i6.Wc(o2) != s5.Wc(o2)) {
  14974. e2 = false;
  14975. break;
  14976. }
  14977. for (var a2 = i6.Ca(o2); a2 < s5.Wc(o2); a2++)
  14978. if (i6.D(a2, h2), s5.D(a2, r2), t4.h.zc(h2, r2) > n5) {
  14979. e2 = false;
  14980. break;
  14981. }
  14982. if (!e2)
  14983. break;
  14984. }
  14985. return !!e2;
  14986. }, i5.bU = function(i6, s5, n5) {
  14987. if (i6.I() != s5.I())
  14988. return false;
  14989. var h2 = new t4.h(), r2 = new t4.h(), e2 = true;
  14990. n5 *= n5;
  14991. for (var o2 = 0; o2 < i6.I(); o2++)
  14992. if (i6.D(o2, h2), s5.D(o2, r2), t4.h.zc(h2, r2) > n5) {
  14993. e2 = false;
  14994. break;
  14995. }
  14996. return !!e2;
  14997. }, i5.SA = function(i6, s5, n5, h2, r2, e2) {
  14998. var o2 = false;
  14999. if (i6.I() > s5.I()) {
  15000. h2 && (h2 = false, o2 = true);
  15001. var a2 = s5;
  15002. } else
  15003. a2 = i6, i6 = s5;
  15004. if (s5 = null, r2 || e2 || o2) {
  15005. s5 = new t4.rn(i6.I());
  15006. for (var u2 = 0; u2 < i6.I(); u2++)
  15007. s5.write(u2, 0);
  15008. }
  15009. u2 = new t4.l();
  15010. var f2 = new t4.l(), c2 = new t4.l();
  15011. a2.A(u2), i6.A(f2), u2.X(n5, n5), f2.X(n5, n5), c2.L(u2), c2.Fa(f2), f2 = new t4.h();
  15012. for (var l2 = new t4.h(), p2 = true, v2 = t4.ta.iE(i6, c2), y2 = v2.getIterator(), b2 = n5 * n5, d2 = 0; d2 < a2.I(); d2++)
  15013. if (a2.D(d2, f2), c2.contains(f2)) {
  15014. var g2 = false;
  15015. u2.L(f2.x, f2.y, f2.x, f2.y), y2.Zi(u2, n5);
  15016. for (var w2 = y2.next(); w2 != -1 && (w2 = v2.ka(w2), i6.D(w2, l2), !(t4.h.zc(f2, l2) <= b2 && ((r2 || e2 || o2) && s5.write(w2, 1), g2 = true, h2))); w2 = y2.next())
  15017. ;
  15018. if (!g2 && (p2 = false, r2 || h2))
  15019. return false;
  15020. } else {
  15021. if (r2 || h2)
  15022. return false;
  15023. p2 = false;
  15024. }
  15025. if (e2 && p2)
  15026. return false;
  15027. if (h2)
  15028. return true;
  15029. for (u2 = 0; u2 < i6.I(); u2++)
  15030. if (s5.read(u2) == 1) {
  15031. if (e2)
  15032. return true;
  15033. } else if (r2 || o2)
  15034. return false;
  15035. return !e2;
  15036. }, i5.aI = function(i6, s5, n5) {
  15037. if (i6.I() > s5.I())
  15038. var h2 = s5;
  15039. else
  15040. h2 = i6, i6 = s5;
  15041. s5 = new t4.l();
  15042. var r2 = new t4.l(), e2 = new t4.l();
  15043. h2.A(s5), i6.A(r2), s5.X(n5, n5), r2.X(n5, n5), e2.L(s5), e2.Fa(r2), r2 = new t4.h();
  15044. for (var o2 = new t4.h(), a2 = n5 * n5, u2 = t4.ta.iE(i6, e2), f2 = u2.getIterator(), c2 = 0; c2 < h2.I(); c2++)
  15045. if (h2.D(c2, r2), e2.contains(r2)) {
  15046. s5.L(r2.x, r2.y, r2.x, r2.y), f2.Zi(s5, n5);
  15047. for (var l2 = f2.next(); l2 != -1; l2 = f2.next())
  15048. if (i6.D(u2.ka(l2), o2), t4.h.zc(r2, o2) <= a2)
  15049. return true;
  15050. }
  15051. return false;
  15052. }, i5.Rz = function(t5, s5, n5, h2) {
  15053. return i5.Am(t5, s5, n5, h2) && i5.Am(s5, t5, n5, h2);
  15054. }, i5.Am = function(n5, h2, r2, e2) {
  15055. function o2(t5, i6) {
  15056. return v2.KE(t5, i6);
  15057. }
  15058. var a2, u2 = true, f2 = [0, 0], c2 = [0, 0], l2 = 0, p2 = new t4.ja(0), v2 = new i5(), y2 = new t4.l(), b2 = new t4.l(), d2 = new t4.l();
  15059. n5.A(y2), h2.A(b2), y2.X(r2, r2), b2.X(r2, r2), d2.L(y2), d2.Fa(b2), n5 = n5.Ha(), b2 = h2.Ha();
  15060. var g2 = null, w2 = g2 = null, x2 = h2.Cb;
  15061. for (x2 != null ? (g2 = x2.Gb, w2 = x2.Ao, g2 == null && (g2 = t4.ta.lj(h2, d2))) : g2 = t4.ta.lj(h2, d2), h2 = g2.getIterator(), x2 = null, w2 != null && (x2 = w2.getIterator()); n5.ab(); )
  15062. for (; n5.Ia(); ) {
  15063. var m2 = false, j2 = n5.ia();
  15064. if (j2.A(y2), !y2.isIntersecting(d2))
  15065. return false;
  15066. if (x2 != null && (x2.Zi(y2, r2), x2.next() == -1))
  15067. return false;
  15068. for (w2 = j2.Rb(), h2.Vo(j2, r2), a2 = h2.next(); a2 != -1; a2 = h2.next()) {
  15069. b2.Wb(g2.ka(a2)), a2 = b2.ia();
  15070. var k2 = j2.Fa(a2, null, f2, c2, r2);
  15071. if (k2 == 2 && (!e2 || c2[0] <= c2[1])) {
  15072. k2 = f2[0];
  15073. var M2 = f2[1], z2 = c2[0], A2 = c2[1];
  15074. if (k2 * w2 <= r2 && (1 - M2) * w2 <= r2) {
  15075. m2 = true, l2 = 0, p2.resize(0), v2.th.length = 0;
  15076. var N2 = n5.xb();
  15077. for (z2 = true; z2; ) {
  15078. if (n5.Ia()) {
  15079. if (w2 = (j2 = n5.ia()).Rb(), (k2 = j2.Fa(a2, null, f2, c2, r2)) == 2 && (!e2 || c2[0] <= c2[1]) && (k2 = f2[0], M2 = f2[1], k2 * w2 <= r2 && (1 - M2) * w2 <= r2)) {
  15080. N2 = n5.xb();
  15081. continue;
  15082. }
  15083. if (b2.Ia() && (a2 = b2.ia(), (k2 = j2.Fa(a2, null, f2, c2, r2)) == 2 && (!e2 || c2[0] <= c2[1]) && (k2 = f2[0], M2 = f2[1], k2 * w2 <= r2 && (1 - M2) * w2 <= r2))) {
  15084. N2 = n5.xb();
  15085. continue;
  15086. }
  15087. }
  15088. z2 = false;
  15089. }
  15090. N2 != n5.xb() && (n5.Wb(N2), n5.ia());
  15091. break;
  15092. }
  15093. N2 = n5.xb(), a2 = s4.construct(N2, n5.gb, k2, M2, b2.xb(), b2.gb, z2, A2), v2.th.push(a2), p2.add(p2.size);
  15094. }
  15095. }
  15096. if (!m2) {
  15097. if (l2 == v2.th.length)
  15098. return false;
  15099. for (1 < p2.size - l2 && p2.Wd(l2, p2.size, o2), m2 = 0; l2 < v2.th.length; l2++)
  15100. if (!((a2 = v2.th[p2.get(l2)]).Mj < m2 && a2.Ui < m2)) {
  15101. if (w2 * (a2.Mj - m2) > r2)
  15102. return false;
  15103. if (w2 * (1 - (m2 = a2.Ui)) <= r2 || m2 == 1)
  15104. break;
  15105. }
  15106. if (w2 * (1 - m2) > r2)
  15107. return false;
  15108. l2 = 0, p2.resize(0), v2.th.length = 0;
  15109. }
  15110. }
  15111. return u2;
  15112. }, i5.PG = function(s5, n5, h2) {
  15113. if (1 > i5.Sz(s5, n5, h2, null))
  15114. return false;
  15115. var r2 = new t4.l(), e2 = new t4.l();
  15116. s5.A(r2), n5.A(e2);
  15117. var o2 = i5.ns(r2, e2, h2);
  15118. return r2 = i5.ns(e2, r2, h2), !(!o2 || !r2) || (o2 && !r2 ? !i5.Am(n5, s5, h2, false) : r2 && !o2 ? !i5.Am(s5, n5, h2, false) : !i5.Am(s5, n5, h2, false) && !i5.Am(n5, s5, h2, false));
  15119. }, i5.Sz = function(n5, h2, r2, e2) {
  15120. function o2(t5, i6) {
  15121. return y2.KE(t5, i6);
  15122. }
  15123. if (n5.sz() > h2.sz())
  15124. var a2 = h2, u2 = n5;
  15125. else
  15126. a2 = n5, u2 = h2;
  15127. n5 = a2.Ha(), h2 = u2.Ha();
  15128. var f2 = [0, 0], c2 = [0, 0], l2 = -1, p2 = 0, v2 = new t4.ja(0), y2 = new i5(), b2 = new t4.l(), d2 = new t4.l(), g2 = new t4.l();
  15129. a2.A(b2), u2.A(d2), b2.X(r2, r2), d2.X(r2, r2), g2.L(b2), g2.Fa(d2), a2 = null, e2 != null && (a2 = new t4.h());
  15130. var w2 = d2 = d2 = null, x2 = u2.Cb;
  15131. for (x2 != null ? (d2 = x2.Gb, w2 = x2.Ao, d2 == null && (d2 = t4.ta.lj(u2, g2))) : d2 = t4.ta.lj(u2, g2), u2 = d2.getIterator(), x2 = null, w2 != null && (x2 = w2.getIterator()); n5.ab(); )
  15132. for (w2 = 0; n5.Ia(); ) {
  15133. var m2 = n5.ia();
  15134. if (m2.A(b2), b2.isIntersecting(g2)) {
  15135. if (x2 != null && (x2.Zi(b2, r2), x2.next() == -1))
  15136. continue;
  15137. var j2 = m2.Rb();
  15138. u2.Vo(m2, r2);
  15139. for (var k2 = u2.next(); k2 != -1; k2 = u2.next()) {
  15140. var M2 = d2.ka(k2);
  15141. h2.Wb(M2);
  15142. var z2 = h2.ia(), A2 = z2.Rb(), N2 = m2.Fa(z2, null, f2, c2, r2);
  15143. if (0 < N2) {
  15144. k2 = f2[0], l2 = c2[0];
  15145. var I2 = N2 == 2 ? f2[1] : NaN, P2 = N2 == 2 ? c2[1] : NaN;
  15146. if (N2 == 2) {
  15147. if (j2 * (I2 - k2) > r2)
  15148. return 1;
  15149. var C2 = j2 * (I2 - k2);
  15150. if (h2.Ia()) {
  15151. if (z2 = h2.ia(), (N2 = m2.Fa(z2, null, f2, null, r2)) == 2) {
  15152. N2 = f2[0];
  15153. var B2 = f2[1];
  15154. if (C2 + (N2 = j2 * (B2 - N2)) > r2)
  15155. return 1;
  15156. }
  15157. h2.Wb(M2), h2.ia();
  15158. }
  15159. if (!h2.xm()) {
  15160. if (h2.ni(), z2 = h2.ni(), (N2 = m2.Fa(z2, null, f2, null, r2)) == 2 && (N2 = f2[0], C2 + (N2 = j2 * ((B2 = f2[1]) - N2)) > r2))
  15161. return 1;
  15162. h2.Wb(M2), h2.ia();
  15163. }
  15164. if (n5.Ia()) {
  15165. if (M2 = n5.xb(), (N2 = (m2 = n5.ia()).Fa(z2, null, f2, null, r2)) == 2 && (N2 = f2[0], C2 + (N2 = j2 * ((B2 = f2[1]) - N2)) > r2))
  15166. return 1;
  15167. n5.Wb(M2), n5.ia();
  15168. }
  15169. if (!n5.xm()) {
  15170. if (M2 = n5.xb(), n5.ni(), (N2 = (m2 = n5.ni()).Fa(z2, null, f2, null, r2)) == 2 && (N2 = f2[0], C2 + (N2 = A2 * ((B2 = f2[1]) - N2)) > r2))
  15171. return 1;
  15172. n5.Wb(M2), n5.ia();
  15173. }
  15174. z2 = s4.construct(n5.xb(), n5.gb, k2, I2, h2.xb(), h2.gb, l2, P2), y2.th.push(z2), v2.add(v2.size);
  15175. }
  15176. l2 = 0, e2 != null && (m2.ic(k2, a2), e2.add(a2.x), e2.add(a2.y));
  15177. }
  15178. }
  15179. if (p2 < y2.th.length) {
  15180. for (v2.Wd(p2, v2.size, o2), m2 = 0, k2 = y2.th[v2.get(p2)].Om; p2 < y2.th.length; p2++)
  15181. if (!((z2 = y2.th[v2.get(p2)]).Mj < m2 && z2.Ui < m2))
  15182. if (j2 * (z2.Mj - m2) > r2)
  15183. w2 = j2 * (z2.Ui - z2.Mj), m2 = z2.Ui, k2 = z2.Om;
  15184. else {
  15185. if (z2.Om != k2 ? (w2 = j2 * (z2.Ui - z2.Mj), k2 = z2.Om) : w2 += j2 * (z2.Ui - z2.Mj), w2 > r2)
  15186. return 1;
  15187. if ((m2 = z2.Ui) == 1)
  15188. break;
  15189. }
  15190. j2 * (1 - m2) > r2 && (w2 = 0), p2 = 0, v2.resize(0), y2.th.length = 0;
  15191. }
  15192. }
  15193. }
  15194. return l2;
  15195. }, i5.NG = function(i6, s5, n5) {
  15196. var h2 = i6.Ha(), r2 = s5.Ha();
  15197. for (i6 = new t4.am(i6, s5, n5, false); i6.next(); ) {
  15198. s5 = i6.pl();
  15199. var e2 = i6.jl();
  15200. if (h2.Wb(s5), r2.Wb(e2), s5 = h2.ia(), 0 < r2.ia().Fa(s5, null, null, null, n5))
  15201. return true;
  15202. }
  15203. return false;
  15204. }, i5.OG = function(i6, s5, n5, h2) {
  15205. var r2 = i6.Ha(), e2 = new t4.l(), o2 = new t4.l(), a2 = new t4.l();
  15206. i6.A(e2), s5.A(o2), e2.X(n5, n5), e2.contains(o2), o2.X(n5, n5), a2.L(e2), a2.Fa(o2), (e2 = i6.Cb) != null ? (e2 = e2.Gb) == null && (e2 = t4.ta.lj(i6, a2)) : e2 = t4.ta.lj(i6, a2), i6 = e2.getIterator();
  15207. for (var u2 = new t4.h(), f2 = new t4.h(), c2 = n5 * n5, l2 = 0; l2 < s5.I(); l2++)
  15208. if (s5.D(l2, u2), a2.contains(u2)) {
  15209. o2.L(u2.x, u2.y, u2.x, u2.y), i6.Zi(o2, n5);
  15210. for (var p2 = false, v2 = i6.next(); v2 != -1; v2 = i6.next())
  15211. if (r2.Wb(e2.ka(v2)), (v2 = r2.ia()).ic(v2.fe(u2, false), f2), t4.h.zc(f2, u2) <= c2) {
  15212. p2 = true;
  15213. break;
  15214. }
  15215. if (h2) {
  15216. if (!p2)
  15217. return false;
  15218. } else if (p2)
  15219. return true;
  15220. }
  15221. return !!h2;
  15222. }, i5.Tz = function(i6, s5, n5) {
  15223. var h2 = new t4.h(), r2 = n5 * n5, e2 = i6.Ha();
  15224. if ((i6 = i6.Cb) != null && (i6 = i6.Gb) != null) {
  15225. var o2 = new t4.l();
  15226. for (o2.L(s5), o2 = (n5 = i6.GF(o2, n5)).next(); o2 != -1; o2 = n5.next())
  15227. if (e2.Wb(i6.ka(o2)), e2.Ia()) {
  15228. var a2 = (o2 = e2.ia()).fe(s5, false);
  15229. if (o2.ic(a2, h2), t4.h.zc(s5, h2) <= r2)
  15230. return true;
  15231. }
  15232. return false;
  15233. }
  15234. for (i6 = new t4.l(); e2.ab(); )
  15235. for (; e2.Ia(); )
  15236. if ((o2 = e2.ia()).A(i6), i6.X(n5, n5), i6.contains(s5) && (a2 = o2.fe(s5, false), o2.ic(a2, h2), t4.h.zc(s5, h2) <= r2))
  15237. return true;
  15238. return false;
  15239. }, i5.LG = function(t5, s5, n5) {
  15240. return i5.Tz(t5, s5, n5) && !i5.Uz(t5, s5, n5);
  15241. }, i5.Uz = function(t5, s5, n5) {
  15242. return t5 = t5.mg(), !i5.lt(t5, s5, n5);
  15243. }, i5.MG = function(i6, s5, n5) {
  15244. if (i6.vm()) {
  15245. var h2 = new t4.zb(s5.v, s5.G, s5.v, s5.H), r2 = new t4.zb(s5.v, s5.H, s5.C, s5.H), e2 = new t4.zb(s5.C, s5.H, s5.C, s5.G);
  15246. for (s5 = new t4.zb(s5.C, s5.G, s5.v, s5.G), i6 = i6.Ha(); i6.ab(); )
  15247. for (; i6.Ia(); ) {
  15248. var o2 = i6.ia();
  15249. if (o2.isIntersecting(h2, n5) || o2.isIntersecting(r2, n5) || o2.isIntersecting(e2, n5) || o2.isIntersecting(s5, n5))
  15250. return true;
  15251. }
  15252. } else {
  15253. (h2 = new t4.l()).L(s5), h2.X(n5, n5), n5 = i6.vb(0), r2 = new t4.h(), e2 = new t4.h(), s5 = new t4.h(), o2 = new t4.h();
  15254. for (var a2 = 0, u2 = i6.ea(); a2 < u2; a2++)
  15255. for (var f2 = true, c2 = i6.Ca(a2), l2 = i6.Wc(a2); c2 < l2; c2++)
  15256. if (f2)
  15257. n5.uc(2 * c2, e2), f2 = false;
  15258. else {
  15259. if (n5.uc(2 * c2, r2), s5.N(e2), o2.N(r2), h2.uy(s5, o2) != 0)
  15260. return true;
  15261. e2.N(r2);
  15262. }
  15263. }
  15264. return false;
  15265. }, i5.qc = function(s5, n5, h2) {
  15266. var r2 = s5.K(), e2 = n5.K();
  15267. if (t4.ba.zj(r2)) {
  15268. var o2 = s5.Cb;
  15269. if (o2 != null && (o2 = o2.Gk) != null)
  15270. if (e2 == 33) {
  15271. var a2 = n5.D();
  15272. if ((a2 = o2.To(a2.x, a2.y)) == 1)
  15273. return 1;
  15274. if (a2 == 0)
  15275. return 4;
  15276. } else {
  15277. if (a2 = new t4.l(), n5.A(a2), (a2 = o2.So(a2)) == 1)
  15278. return 1;
  15279. if (a2 == 0)
  15280. return 4;
  15281. if (h2 && t4.ba.zj(e2) && i5.BE(n5, o2))
  15282. return 1073741824;
  15283. }
  15284. }
  15285. if (t4.ba.zj(e2) && ((o2 = n5.Cb) != null && (o2 = o2.Gk) != null))
  15286. if (r2 == 33) {
  15287. if (s5 = s5.D(), (a2 = o2.To(s5.x, s5.y)) == 1)
  15288. return 2;
  15289. if (a2 == 0)
  15290. return 4;
  15291. } else {
  15292. if (n5 = new t4.l(), s5.A(n5), (a2 = o2.So(n5)) == 1)
  15293. return 2;
  15294. if (a2 == 0)
  15295. return 4;
  15296. if (h2 && t4.ba.zj(r2) && i5.BE(s5, o2))
  15297. return 1073741824;
  15298. }
  15299. return 0;
  15300. }, i5.BE = function(i6, s5) {
  15301. for (var n5 = i6.I(), h2 = new t4.h(), r2 = 0; r2 < n5; r2++)
  15302. if (i6.D(r2, h2), s5.To(h2.x, h2.y) == 1)
  15303. return true;
  15304. return false;
  15305. }, i5.CI = function(i6, s5, n5, h2) {
  15306. for (var r2 = 1 <= i6.qm(0) && 1 <= s5.qm(0), e2 = i6.Ha(), o2 = s5.Ha(), a2 = [0, 0], u2 = [0, 0], f2 = new t4.am(i6, s5, n5, false), c2 = false; f2.next(); ) {
  15307. var l2 = f2.pl(), p2 = f2.jl();
  15308. if (e2.Wb(l2), o2.Wb(p2), l2 = e2.ia(), (p2 = o2.ia().Fa(l2, null, u2, a2, n5)) == 2) {
  15309. if (c2 = a2[0], p2 = a2[1], l2 = l2.Rb(), r2 && (p2 - c2) * l2 > n5)
  15310. return false;
  15311. c2 = true;
  15312. } else if (p2 != 0) {
  15313. if (c2 = a2[0], l2 = u2[0], 0 < c2 && 1 > c2 && 0 < l2 && 1 > l2)
  15314. return false;
  15315. c2 = true;
  15316. }
  15317. }
  15318. return !!c2 && (e2 = new t4.l(), o2 = new t4.l(), r2 = new t4.l(), i6.A(e2), s5.A(o2), e2.X(1e3 * n5, 1e3 * n5), o2.X(1e3 * n5, 1e3 * n5), r2.L(e2), r2.Fa(o2), !(10 < i6.I() && (i6 = t4.Vd.clip(i6, r2, n5, 0), i6.B()) || 10 < s5.I() && (s5 = t4.Vd.clip(s5, r2, n5, 0), s5.B())) && t4.cm.st(i6, s5, n5, "F********", h2));
  15319. }, i5.zI = function(s5, n5, h2, r2) {
  15320. var e2 = 1 <= s5.qm(0) && 1 <= n5.qm(0), o2 = new t4.l(), a2 = new t4.l(), u2 = new t4.l();
  15321. s5.A(o2), n5.A(a2);
  15322. for (var f2 = false, c2 = i5.ns(o2, a2, h2), l2 = i5.ns(a2, o2, h2), p2 = s5.Ha(), v2 = n5.Ha(), y2 = [0, 0], b2 = [0, 0], d2 = new t4.am(s5, n5, h2, false); d2.next(); ) {
  15323. var g2 = d2.pl(), w2 = d2.jl();
  15324. if (p2.Wb(g2), v2.Wb(w2), w2 = p2.ia(), (g2 = v2.ia().Fa(w2, null, b2, y2, h2)) == 2) {
  15325. g2 = y2[0];
  15326. var x2 = y2[1];
  15327. if (w2 = w2.Rb(), e2 && (x2 - g2) * w2 > h2 && (f2 = true, c2 && l2))
  15328. return true;
  15329. } else if (g2 != 0 && (g2 = y2[0], w2 = b2[0], 0 < g2 && 1 > g2 && 0 < w2 && 1 > w2))
  15330. return true;
  15331. }
  15332. if (e2 = new t4.l(), p2 = new t4.l(), e2.L(o2), e2.X(1e3 * h2, 1e3 * h2), p2.L(a2), p2.X(1e3 * h2, 1e3 * h2), u2.L(e2), u2.Fa(p2), o2 = "", o2 = f2 ? o2 + "**" : o2 + "T*", c2) {
  15333. if (10 < n5.I() && (n5 = t4.Vd.clip(n5, u2, h2, 0)).B())
  15334. return false;
  15335. o2 += "****";
  15336. } else
  15337. o2 += "T***";
  15338. if (l2) {
  15339. if (10 < s5.I() && (s5 = t4.Vd.clip(s5, u2, h2, 0)).B())
  15340. return false;
  15341. o2 += "***";
  15342. } else
  15343. o2 += "T**";
  15344. return t4.cm.st(s5, n5, h2, o2.toString(), r2);
  15345. }, i5.vI = function(s5, n5, h2, r2) {
  15346. var e2 = [false], o2 = i5.tI(s5, n5, h2, e2);
  15347. return e2[0] ? o2 : (e2 = new t4.l(), n5.A(e2), e2.X(1e3 * h2, 1e3 * h2), !(10 < s5.I() && (s5 = t4.Vd.clip(s5, e2, h2, 0), s5.B())) && t4.cm.Uw(s5, n5, h2, r2));
  15348. }, i5.tI = function(i6, s5, n5, h2) {
  15349. h2[0] = false;
  15350. for (var r2 = i6.Ha(), e2 = s5.Ha(), o2 = [0, 0], a2 = [0, 0], u2 = new t4.am(i6, s5, n5, false), f2 = false; u2.next(); ) {
  15351. var c2 = u2.pl(), l2 = u2.jl();
  15352. if (r2.Wb(c2, -1), e2.Wb(l2, -1), c2 = r2.ia(), (c2 = e2.ia().Fa(c2, null, a2, o2, n5)) != 0 && (f2 = true, c2 == 1 && (c2 = o2[0], l2 = a2[0], 0 < c2 && 1 > c2 && 0 < l2 && 1 > l2)))
  15353. return h2[0] = true, false;
  15354. }
  15355. if (!f2) {
  15356. for (h2[0] = true, o2 = new t4.l(), i6.A(o2), o2.X(n5, n5), u2 = i6, f2 = false, a2 = new t4.l(), h2 = 0, r2 = s5.ea(); h2 < r2; h2++)
  15357. if (0 < s5.Ka(h2)) {
  15358. if (s5.Tj(h2, a2), !o2.isIntersecting(a2))
  15359. return false;
  15360. if (e2 = s5.Oa(s5.Ca(h2)), (e2 = t4.Fg.ym(u2, e2, 0)) == 0)
  15361. return false;
  15362. f2 || (!t4.Fg.Ol(i6, s5.ea() - 1) || i6.Cb != null && i6.Cb.Gb != null ? u2 = i6 : (e2 = new t4.Ea(), i6.copyTo(e2), e2.hj(1), u2 = e2), f2 = true);
  15363. }
  15364. if (i6.ea() == 1 || s5.K() == 1607)
  15365. return true;
  15366. for (o2 = new t4.l(), s5.A(o2), o2.X(n5, n5), a2 = s5, u2 = false, n5 = new t4.l(), h2 = 0, r2 = i6.ea(); h2 < r2; h2++)
  15367. if (0 < i6.Ka(h2)) {
  15368. if (i6.Tj(h2, n5), o2.isIntersecting(n5) && (e2 = i6.Oa(i6.Ca(h2)), (e2 = t4.Fg.ym(a2, e2, 0)) == 1))
  15369. return false;
  15370. u2 || (!t4.Fg.Ol(s5, i6.ea() - 1) || s5.Cb != null && s5.Cb.Gb != null ? a2 = s5 : (e2 = new t4.Ea(), s5.copyTo(e2), e2.hj(1), a2 = e2), u2 = true);
  15371. }
  15372. return true;
  15373. }
  15374. return false;
  15375. }, i5.DI = function(i6, s5, n5, h2) {
  15376. for (var r2 = i6.Ha(), e2 = s5.Ha(), o2 = [0, 0], a2 = [0, 0], u2 = new t4.am(i6, s5, n5, false), f2 = false; u2.next(); ) {
  15377. var c2 = u2.pl(), l2 = u2.jl();
  15378. if (r2.Wb(c2), e2.Wb(l2), c2 = r2.ia(), (c2 = e2.ia().Fa(c2, null, a2, o2, n5)) == 2)
  15379. f2 = true;
  15380. else if (c2 != 0) {
  15381. if (f2 = o2[0], c2 = a2[0], 0 < f2 && 1 > f2 && 0 < c2 && 1 > c2)
  15382. return false;
  15383. f2 = true;
  15384. }
  15385. }
  15386. return !!f2 && (e2 = new t4.l(), o2 = new t4.l(), r2 = new t4.l(), i6.A(e2), s5.A(o2), e2.X(1e3 * n5, 1e3 * n5), o2.X(1e3 * n5, 1e3 * n5), r2.L(e2), r2.Fa(o2), !(10 < i6.I() && (i6 = t4.Vd.clip(i6, r2, n5, 0), i6.B()) || 10 < s5.I() && (s5 = t4.Vd.clip(s5, r2, n5, 0), s5.B())) && t4.cm.bn(i6, s5, n5, "F********", h2));
  15387. }, i5.xI = function(s5, n5, h2, r2) {
  15388. for (var e2 = s5.Ha(), o2 = n5.Ha(), a2 = [0, 0], u2 = [0, 0], f2 = new t4.am(s5, n5, h2, false), c2 = false; f2.next(); ) {
  15389. var l2 = f2.pl(), p2 = f2.jl();
  15390. if (e2.Wb(l2), o2.Wb(p2), l2 = e2.ia(), (l2 = o2.ia().Fa(l2, null, u2, a2, h2)) == 2)
  15391. c2 = true;
  15392. else if (l2 != 0) {
  15393. if (c2 = a2[0], l2 = u2[0], 0 < c2 && 1 > c2 && 0 < l2 && 1 > l2)
  15394. return true;
  15395. c2 = true;
  15396. }
  15397. }
  15398. return !!c2 && (o2 = new t4.l(), a2 = new t4.l(), u2 = new t4.l(), f2 = new t4.l(), e2 = new t4.l(), s5.A(o2), n5.A(a2), i5.ns(a2, o2, h2) ? (u2.L(o2), u2.X(1e3 * h2, 1e3 * h2), f2.L(a2), f2.X(1e3 * h2, 1e3 * h2), e2.L(u2), e2.Fa(f2), !(10 < s5.I() && (s5 = t4.Vd.clip(s5, e2, h2, 0), s5.B()) || 10 < n5.I() && (n5 = t4.Vd.clip(n5, e2, h2, 0), n5.B())) && (h2 = t4.cm.bn(s5, n5, h2, "T********", r2))) : h2 = t4.cm.bn(s5, n5, h2, "T*****T**", r2));
  15399. }, i5.wI = function(s5, n5, h2, r2) {
  15400. var e2 = [false], o2 = i5.tI(s5, n5, h2, e2);
  15401. return e2[0] ? o2 : (e2 = new t4.l(), n5.A(e2), e2.X(1e3 * h2, 1e3 * h2), !(10 < s5.I() && (s5 = t4.Vd.clip(s5, e2, h2, 0), s5.B())) && t4.cm.$A(s5, n5, h2, r2));
  15402. }, i5.uI = function(i6, s5, n5) {
  15403. return t4.jd.Zd(i6, s5, n5) == 1;
  15404. }, i5.BI = function(i6, s5, n5) {
  15405. return t4.jd.Zd(i6, s5, n5) == 2;
  15406. }, i5.lt = function(i6, s5, n5) {
  15407. var h2 = new t4.h();
  15408. n5 *= n5;
  15409. for (var r2 = 0; r2 < i6.I(); r2++)
  15410. if (i6.D(r2, h2), t4.h.zc(h2, s5) <= n5)
  15411. return false;
  15412. return true;
  15413. }, i5.prototype.KE = function(t5, i6) {
  15414. return t5 = this.th[t5], i6 = this.th[i6], t5.Om < i6.Om || t5.Om == i6.Om && (t5.rw < i6.rw || t5.rw == i6.rw && (t5.Mj < i6.Mj || t5.Mj == i6.Mj && (t5.Ui < i6.Ui || t5.Ui == i6.Ui && t5.vH < i6.vH))) ? -1 : 1;
  15415. }, i5;
  15416. }();
  15417. t4.vd = n4;
  15418. }(V || (V = {})), function(t4) {
  15419. var i4, s4, n4;
  15420. (s4 = i4 || (i4 = {}))[s4.InteriorInterior = 0] = "InteriorInterior", s4[s4.InteriorBoundary = 1] = "InteriorBoundary", s4[s4.InteriorExterior = 2] = "InteriorExterior", s4[s4.BoundaryInterior = 3] = "BoundaryInterior", s4[s4.BoundaryBoundary = 4] = "BoundaryBoundary", s4[s4.BoundaryExterior = 5] = "BoundaryExterior", s4[s4.ExteriorInterior = 6] = "ExteriorInterior", s4[s4.ExteriorBoundary = 7] = "ExteriorBoundary", s4[s4.ExteriorExterior = 8] = "ExteriorExterior", function(t5) {
  15421. t5[t5.AreaAreaPredicates = 0] = "AreaAreaPredicates", t5[t5.AreaLinePredicates = 1] = "AreaLinePredicates", t5[t5.LineLinePredicates = 2] = "LineLinePredicates", t5[t5.AreaPointPredicates = 3] = "AreaPointPredicates", t5[t5.LinePointPredicates = 4] = "LinePointPredicates", t5[t5.PointPointPredicates = 5] = "PointPointPredicates";
  15422. }(n4 || (n4 = {})), i4 = function() {
  15423. function i5() {
  15424. this.le = 0, this.j = new t4.ku(), this.J = [0, 0, 0, 0, 0, 0, 0, 0, 0], this.$a = [0, 0, 0, 0, 0, 0, 0, 0, 0], this.fa = [false, false, false, false, false, false, false, false, false], this.Um = this.xw = -1;
  15425. }
  15426. return i5.sB = function(i6, s5, n5, h2, r2) {
  15427. if (h2.length != 9)
  15428. throw t4.i.ga("relation string length has to be 9 characters");
  15429. for (var e2 = 0; 9 > e2; e2++) {
  15430. var o2 = h2.charAt(e2);
  15431. if (o2 != "*" && o2 != "T" && o2 != "F" && o2 != "0" && o2 != "1" && o2 != "2")
  15432. throw t4.i.ga("relation string");
  15433. }
  15434. if ((e2 = this.FR(h2, i6.Eb(), s5.Eb())) != 0)
  15435. return t4.vd.tB(i6, s5, n5, e2, r2);
  15436. e2 = new t4.l(), i6.A(e2), o2 = new t4.l(), s5.A(o2);
  15437. var a2 = new t4.l();
  15438. if (a2.L(e2), a2.$b(o2), n5 = t4.ta.Xd(n5, a2, false), i6 = this.QE(i6, n5), s5 = this.QE(s5, n5), i6.B() || s5.B())
  15439. return this.mW(i6, s5, h2);
  15440. switch (e2 = s5.K(), o2 = false, i6.K()) {
  15441. case 1736:
  15442. switch (e2) {
  15443. case 1736:
  15444. o2 = this.st(i6, s5, n5, h2, r2);
  15445. break;
  15446. case 1607:
  15447. o2 = this.bn(i6, s5, n5, h2, r2);
  15448. break;
  15449. case 33:
  15450. o2 = this.rt(i6, s5, n5, h2);
  15451. break;
  15452. case 550:
  15453. o2 = this.qt(i6, s5, n5, h2, r2);
  15454. }
  15455. break;
  15456. case 1607:
  15457. switch (e2) {
  15458. case 1736:
  15459. o2 = this.bn(s5, i6, n5, this.aq(h2), r2);
  15460. break;
  15461. case 1607:
  15462. o2 = this.aB(i6, s5, n5, h2, r2);
  15463. break;
  15464. case 33:
  15465. o2 = this.ut(i6, s5, n5, h2, r2);
  15466. break;
  15467. case 550:
  15468. o2 = this.tt(i6, s5, n5, h2, r2);
  15469. }
  15470. break;
  15471. case 33:
  15472. switch (e2) {
  15473. case 1736:
  15474. o2 = this.rt(s5, i6, n5, this.aq(h2));
  15475. break;
  15476. case 1607:
  15477. o2 = this.ut(s5, i6, n5, this.aq(h2), r2);
  15478. break;
  15479. case 33:
  15480. o2 = this.SU(i6, s5, n5, h2);
  15481. break;
  15482. case 550:
  15483. o2 = this.mt(s5, i6, n5, this.aq(h2));
  15484. }
  15485. break;
  15486. case 550:
  15487. switch (e2) {
  15488. case 1736:
  15489. o2 = this.qt(s5, i6, n5, this.aq(h2), r2);
  15490. break;
  15491. case 1607:
  15492. o2 = this.tt(s5, i6, n5, this.aq(h2), r2);
  15493. break;
  15494. case 550:
  15495. o2 = this.TA(i6, s5, n5, h2, r2);
  15496. break;
  15497. case 33:
  15498. o2 = this.mt(i6, s5, n5, h2);
  15499. }
  15500. break;
  15501. default:
  15502. o2 = false;
  15503. }
  15504. return o2;
  15505. }, i5.st = function(s5, n5, h2, r2, e2) {
  15506. var o2 = new i5();
  15507. o2.$i(), o2.dj(r2), o2.rJ();
  15508. var a2 = new t4.l(), u2 = new t4.l();
  15509. return s5.A(a2), n5.A(u2), r2 = false, t4.vd.ek(a2, u2, h2) && (o2.Eu(s5, n5), r2 = true), r2 || ((a2 = t4.vd.qc(s5, n5, false)) == 4 ? (o2.Eu(s5, n5), r2 = true) : a2 == 1 ? (o2.hy(n5), r2 = true) : a2 == 2 && (o2.TD(s5), r2 = true)), r2 || (s5 = (r2 = new t4.hd()).Ib(s5), n5 = r2.Ib(n5), o2.Xo(r2, h2, e2), o2.Dp(s5, n5), o2.j.Wg()), i5.fg(o2.J, o2.Yc);
  15510. }, i5.Uw = function(s5, n5, h2, r2) {
  15511. var e2 = new i5();
  15512. e2.$i(), e2.dj("T*****F**"), e2.rJ();
  15513. var o2 = new t4.l(), a2 = new t4.l();
  15514. s5.A(o2), n5.A(a2);
  15515. var u2 = false;
  15516. return t4.vd.ek(o2, a2, h2) && (e2.Eu(s5, n5), u2 = true), u2 || ((o2 = t4.vd.qc(s5, n5, false)) == 4 ? (e2.Eu(s5, n5), u2 = true) : o2 == 1 ? (e2.hy(n5), u2 = true) : o2 == 2 && (e2.TD(s5), u2 = true)), u2 ? this.fg(e2.J, e2.Yc) : (s5 = (u2 = new t4.hd()).Ib(s5), o2 = u2.Ib(n5), t4.Uk.W(u2, h2, r2, false), h2 = u2.Ke(o2).mg(), u2.Ip(0, true, true), t4.tn.W(u2, s5, -1, false, r2), u2.I(s5) != 0 && (t4.tn.W(u2, o2, -1, false, r2), e2.gr(u2, r2), (n5 = u2.I(o2) == 0) || (e2.Dp(s5, o2), e2.j.Wg(), o2 = this.fg(e2.J, e2.Yc)) ? (s5 = u2.Ke(s5), s5 = (u2 = new t4.hd()).Ib(s5), o2 = u2.Ib(h2), e2.gr(u2, r2), e2.le = 0, e2.$i(), e2.dj(n5 ? "T*****F**" : "******F**"), e2.CB(), e2.Dp(s5, o2), e2.j.Wg(), this.fg(e2.J, e2.Yc)) : o2));
  15517. }, i5.bn = function(s5, n5, h2, r2, e2) {
  15518. var o2 = new i5();
  15519. o2.$i(), o2.dj(r2), o2.CB();
  15520. var a2 = new t4.l(), u2 = new t4.l();
  15521. return s5.A(a2), n5.A(u2), r2 = false, t4.vd.ek(a2, u2, h2) && (o2.Fu(s5, n5), r2 = true), r2 || ((a2 = t4.vd.qc(s5, n5, false)) == 4 ? (o2.Fu(s5, n5), r2 = true) : a2 == 1 && (o2.UD(n5), r2 = true)), r2 || (s5 = (r2 = new t4.hd()).Ib(s5), n5 = r2.Ib(n5), o2.Xo(r2, h2, e2), o2.mh = o2.j.Fp(), i5.Lw(n5, o2.j, o2.mh), o2.Dp(s5, n5), o2.j.Gp(o2.mh), o2.j.Wg()), i5.fg(o2.J, o2.Yc);
  15522. }, i5.$A = function(s5, n5, h2, r2) {
  15523. var e2 = new i5();
  15524. e2.$i(), e2.dj("T*****F**"), e2.CB();
  15525. var o2 = new t4.l(), a2 = new t4.l();
  15526. s5.A(o2), n5.A(a2);
  15527. var u2 = false;
  15528. return t4.vd.ek(o2, a2, h2) && (e2.Fu(s5, n5), u2 = true), u2 || ((o2 = t4.vd.qc(s5, n5, false)) == 4 ? (e2.Fu(s5, n5), u2 = true) : o2 == 1 && (e2.UD(n5), u2 = true)), u2 ? this.fg(e2.J, e2.Yc) : (s5 = (u2 = new t4.hd()).Ib(s5), n5 = u2.Ib(n5), e2.Xo(u2, h2, r2), u2.I(s5) != 0 && (e2.Dp(s5, n5), e2.j.Wg(), this.fg(e2.J, e2.Yc)));
  15529. }, i5.qt = function(s5, n5, h2, r2, e2) {
  15530. var o2 = new i5();
  15531. o2.$i(), o2.dj(r2), o2.sJ();
  15532. var a2 = new t4.l(), u2 = new t4.l();
  15533. return s5.A(a2), n5.A(u2), r2 = false, t4.vd.ek(a2, u2, h2) && (o2.Gu(s5), r2 = true), r2 || ((a2 = t4.vd.qc(s5, n5, false)) == 4 ? (o2.Gu(s5), r2 = true) : a2 == 1 && (o2.tN(), r2 = true)), r2 || (s5 = (r2 = new t4.hd()).Ib(s5), n5 = r2.Ib(n5), o2.Xo(r2, h2, e2), o2.By(s5, n5), o2.j.Wg()), i5.fg(o2.J, o2.Yc);
  15534. }, i5.aB = function(s5, n5, h2, r2, e2) {
  15535. var o2 = new i5();
  15536. o2.$i(), o2.dj(r2), o2.WW(), r2 = new t4.l();
  15537. var a2 = new t4.l();
  15538. s5.A(r2), n5.A(a2);
  15539. var u2 = false;
  15540. return t4.vd.ek(r2, a2, h2) && (o2.JG(s5, n5), u2 = true), u2 || t4.vd.qc(s5, n5, false) != 4 || (o2.JG(s5, n5), u2 = true), u2 || (s5 = (r2 = new t4.hd()).Ib(s5), n5 = r2.Ib(n5), o2.Xo(r2, h2, e2), o2.$h = o2.j.Fp(), o2.mh = o2.j.Fp(), i5.Lw(s5, o2.j, o2.$h), i5.Lw(n5, o2.j, o2.mh), o2.Dp(s5, n5), o2.j.Gp(o2.$h), o2.j.Gp(o2.mh), o2.j.Wg()), i5.fg(o2.J, o2.Yc);
  15541. }, i5.tt = function(s5, n5, h2, r2, e2) {
  15542. var o2 = new i5();
  15543. o2.$i(), o2.dj(r2), o2.GJ(), r2 = new t4.l();
  15544. var a2 = new t4.l();
  15545. s5.A(r2), n5.A(a2);
  15546. var u2 = false;
  15547. return t4.vd.ek(r2, a2, h2) && (o2.Qz(s5), u2 = true), u2 || t4.vd.qc(s5, n5, false) != 4 || (o2.Qz(s5), u2 = true), u2 || (s5 = (r2 = new t4.hd()).Ib(s5), n5 = r2.Ib(n5), o2.Xo(r2, h2, e2), o2.$h = o2.j.Fp(), i5.Lw(s5, o2.j, o2.$h), o2.By(s5, n5), o2.j.Gp(o2.$h), o2.j.Wg()), i5.fg(o2.J, o2.Yc);
  15548. }, i5.TA = function(s5, n5, h2, r2, e2) {
  15549. var o2 = new i5();
  15550. o2.$i(), o2.dj(r2), o2.LJ(), r2 = new t4.l();
  15551. var a2 = new t4.l();
  15552. s5.A(r2), n5.A(a2);
  15553. var u2 = false;
  15554. return t4.vd.ek(r2, a2, h2) && (o2.sI(), u2 = true), u2 || (s5 = (r2 = new t4.hd()).Ib(s5), n5 = r2.Ib(n5), o2.Xo(r2, h2, e2), o2.By(s5, n5), o2.j.Wg()), i5.fg(o2.J, o2.Yc);
  15555. }, i5.rt = function(s5, n5, h2, r2) {
  15556. var e2 = new i5();
  15557. e2.$i(), e2.dj(r2), e2.sJ();
  15558. var o2 = new t4.l();
  15559. s5.A(o2), n5 = n5.D();
  15560. var a2 = false;
  15561. return t4.vd.Tw(n5, o2, h2) && (e2.Gu(s5), a2 = true), a2 || ((h2 = t4.jd.Zd(s5, n5, h2)) == 1 ? (e2.J[0] = 0, e2.J[2] = 2, e2.J[3] = -1, e2.J[5] = 1, e2.J[6] = -1) : h2 == 2 ? (e2.J[6] = -1, s5.He() != 0 ? (e2.J[0] = -1, e2.J[3] = 0, e2.J[2] = 2, e2.J[5] = 1) : (e2.J[0] = 0, e2.J[3] = -1, e2.J[5] = -1, h2 = new t4.l(), s5.A(h2), e2.J[2] = h2.da() == 0 && h2.S() == 0 ? -1 : 1)) : e2.Gu(s5)), this.fg(e2.J, r2);
  15562. }, i5.ut = function(s5, n5, h2, r2, e2) {
  15563. var o2 = new i5();
  15564. o2.$i(), o2.dj(r2), o2.GJ();
  15565. var a2 = new t4.l();
  15566. s5.A(a2), r2 = n5.D();
  15567. var u2 = false;
  15568. if (t4.vd.Tw(r2, a2, h2) && (o2.Qz(s5), u2 = true), !u2) {
  15569. a2 = null;
  15570. var f2 = u2 = false;
  15571. (o2.fa[0] || o2.fa[6]) && (t4.vd.Tz(s5, r2, h2) ? (o2.fa[0] && (a2 = t4.si.im(s5, e2), f2 = !t4.vd.lt(a2, r2, h2), u2 = true, o2.J[0] = f2 ? -1 : 0), o2.J[6] = -1) : (o2.J[0] = -1, o2.J[6] = 0)), o2.fa[3] && (a2 != null && a2.B() ? o2.J[3] = -1 : (u2 || (a2 == null && (a2 = t4.si.im(s5, e2)), f2 = !t4.vd.lt(a2, r2, h2), u2 = true), o2.J[3] = f2 ? 0 : -1)), o2.fa[5] && (a2 != null && a2.B() ? o2.J[5] = -1 : u2 && !f2 ? o2.J[5] = 0 : (a2 == null && (a2 = t4.si.im(s5, e2)), e2 = t4.vd.Pw(a2, n5, h2), o2.J[5] = e2 ? -1 : 0)), o2.fa[2] && (s5.Rb() != 0 ? o2.J[2] = 1 : ((e2 = new t4.de(s5.description)).Gd(s5, 0, s5.I()), s5 = t4.vd.Pw(e2, n5, h2), o2.J[2] = s5 ? -1 : 0));
  15572. }
  15573. return this.fg(o2.J, o2.Yc);
  15574. }, i5.mt = function(s5, n5, h2, r2) {
  15575. var e2 = new i5();
  15576. e2.$i(), e2.dj(r2), e2.LJ();
  15577. var o2 = new t4.l();
  15578. s5.A(o2), n5 = n5.D();
  15579. var a2 = false;
  15580. if (t4.vd.Tw(n5, o2, h2) && (e2.sI(), a2 = true), !a2) {
  15581. o2 = false, a2 = true, h2 *= h2;
  15582. for (var u2 = 0; u2 < s5.I(); u2++) {
  15583. var f2 = s5.Oa(u2);
  15584. if (t4.h.zc(f2, n5) <= h2 ? o2 = true : a2 = false, o2 && !a2)
  15585. break;
  15586. }
  15587. o2 ? (e2.J[0] = 0, e2.J[2] = a2 ? -1 : 0, e2.J[6] = -1) : (e2.J[0] = -1, e2.J[2] = 0, e2.J[6] = 0);
  15588. }
  15589. return i5.fg(e2.J, r2);
  15590. }, i5.SU = function(s5, n5, h2, r2) {
  15591. s5 = s5.D(), n5 = n5.D();
  15592. for (var e2 = [], o2 = 0; 9 > o2; o2++)
  15593. e2[o2] = -1;
  15594. return t4.h.zc(s5, n5) <= h2 * h2 ? e2[0] = 0 : (e2[2] = 0, e2[6] = 0), e2[8] = 2, i5.fg(e2, r2);
  15595. }, i5.fg = function(t5, i6) {
  15596. for (var s5 = 0; 9 > s5; s5++)
  15597. switch (i6.charAt(s5)) {
  15598. case "T":
  15599. if (t5[s5] == -1)
  15600. return false;
  15601. break;
  15602. case "F":
  15603. if (t5[s5] != -1)
  15604. return false;
  15605. break;
  15606. case "0":
  15607. if (t5[s5] != 0)
  15608. return false;
  15609. break;
  15610. case "1":
  15611. if (t5[s5] != 1)
  15612. return false;
  15613. break;
  15614. case "2":
  15615. if (t5[s5] != 2)
  15616. return false;
  15617. }
  15618. return true;
  15619. }, i5.mW = function(i6, s5, n5) {
  15620. var h2 = [-1, -1, -1, -1, -1, -1, -1, -1, -1];
  15621. if (i6.B() && s5.B()) {
  15622. for (var r2 = 0; 9 > r2; r2++)
  15623. h2[r2] = -1;
  15624. return this.fg(h2, n5);
  15625. }
  15626. return r2 = false, i6.B() && (i6 = s5, r2 = true), h2[0] = -1, h2[1] = -1, h2[3] = -1, h2[4] = -1, h2[6] = -1, h2[7] = -1, h2[8] = 2, s5 = i6.K(), t4.ba.Ic(s5) ? s5 == 1736 ? i6.He() != 0 ? (h2[2] = 2, h2[5] = 1) : (h2[5] = -1, s5 = new t4.l(), i6.A(s5), h2[2] = s5.da() == 0 && s5.S() == 0 ? 0 : 1) : (s5 = i6.Rb() != 0, h2[2] = s5 ? 1 : 0, h2[5] = t4.si.cq(i6) ? 0 : -1) : (h2[2] = 0, h2[5] = -1), r2 && this.pK(h2), this.fg(h2, n5);
  15627. }, i5.FR = function(t5, s5, n5) {
  15628. return i5.YP(t5) ? 3 : i5.OP(t5) ? 4 : i5.VX(t5, s5, n5) ? 8 : i5.wP(t5, s5, n5) ? 16 : i5.ZO(t5) ? 1 : i5.wU(t5, s5, n5) ? 32 : 0;
  15629. }, i5.YP = function(t5) {
  15630. return t5.charAt(0) == "T" && t5.charAt(1) == "*" && t5.charAt(2) == "F" && t5.charAt(3) == "*" && t5.charAt(4) == "*" && t5.charAt(5) == "F" && t5.charAt(6) == "F" && t5.charAt(7) == "F" && t5.charAt(8) == "*";
  15631. }, i5.OP = function(t5) {
  15632. return t5.charAt(0) == "F" && t5.charAt(1) == "F" && t5.charAt(2) == "*" && t5.charAt(3) == "F" && t5.charAt(4) == "F" && t5.charAt(5) == "*" && t5.charAt(6) == "*" && t5.charAt(7) == "*" && t5.charAt(8) == "*";
  15633. }, i5.VX = function(t5, i6, s5) {
  15634. return (i6 != 0 || s5 != 0) && ((i6 != 2 || s5 != 2) && (t5.charAt(0) == "F" && t5.charAt(1) == "*" && t5.charAt(2) == "*" && t5.charAt(3) == "T" && t5.charAt(4) == "*" && t5.charAt(5) == "*" && t5.charAt(6) == "*" && t5.charAt(7) == "*" && t5.charAt(8) == "*" || i6 == 1 && s5 == 1 && t5.charAt(0) == "F" && t5.charAt(1) == "T" && t5.charAt(2) == "*" && t5.charAt(3) == "*" && t5.charAt(4) == "*" && t5.charAt(5) == "*" && t5.charAt(6) == "*" && t5.charAt(7) == "*" && t5.charAt(8) == "*") || s5 != 0 && t5.charAt(0) == "F" && t5.charAt(1) == "*" && t5.charAt(2) == "*" && t5.charAt(3) == "*" && t5.charAt(4) == "T" && t5.charAt(5) == "*" && t5.charAt(6) == "*" && t5.charAt(7) == "*" && t5.charAt(8) == "*");
  15635. }, i5.wP = function(t5, i6, s5) {
  15636. return i6 > s5 ? t5.charAt(0) == "T" && t5.charAt(1) == "*" && t5.charAt(2) == "*" && t5.charAt(3) == "*" && t5.charAt(4) == "*" && t5.charAt(5) == "*" && t5.charAt(6) == "T" && t5.charAt(7) == "*" && t5.charAt(8) == "*" : i6 == 1 && s5 == 1 && t5.charAt(0) == "0" && t5.charAt(1) == "*" && t5.charAt(2) == "*" && t5.charAt(3) == "*" && t5.charAt(4) == "*" && t5.charAt(5) == "*" && t5.charAt(6) == "*" && t5.charAt(7) == "*" && t5.charAt(8) == "*";
  15637. }, i5.ZO = function(t5) {
  15638. return t5.charAt(0) == "T" && t5.charAt(1) == "*" && t5.charAt(2) == "*" && t5.charAt(3) == "*" && t5.charAt(4) == "*" && t5.charAt(5) == "*" && t5.charAt(6) == "F" && t5.charAt(7) == "F" && t5.charAt(8) == "*";
  15639. }, i5.wU = function(t5, i6, s5) {
  15640. if (i6 == s5) {
  15641. if (i6 != 1)
  15642. return t5.charAt(0) == "T" && t5.charAt(1) == "*" && t5.charAt(2) == "T" && t5.charAt(3) == "*" && t5.charAt(4) == "*" && t5.charAt(5) == "*" && t5.charAt(6) == "T" && t5.charAt(7) == "*" && t5.charAt(8) == "*";
  15643. if (t5.charAt(0) == "1" && t5.charAt(1) == "*" && t5.charAt(2) == "T" && t5.charAt(3) == "*" && t5.charAt(4) == "*" && t5.charAt(5) == "*" && t5.charAt(6) == "T" && t5.charAt(7) == "*" && t5.charAt(8) == "*")
  15644. return true;
  15645. }
  15646. return false;
  15647. }, i5.Lw = function(t5, i6, s5) {
  15648. t5 = i6.Ma(t5);
  15649. for (var n5 = i6.Oe; n5 != -1; n5 = i6.Sf(n5))
  15650. if ((i6.yd(n5) & t5) != 0) {
  15651. var h2 = i6.Je(n5);
  15652. if (h2 == -1)
  15653. i6.pn(n5, s5, 0);
  15654. else {
  15655. var r2 = h2, e2 = 0;
  15656. do {
  15657. (i6.fh(r2) & t5) != 0 && e2++, r2 = i6.kc(i6.ya(r2));
  15658. } while (r2 != h2);
  15659. i6.pn(n5, s5, e2);
  15660. }
  15661. }
  15662. }, i5.aq = function(t5) {
  15663. var i6 = "" + t5.charAt(0);
  15664. return i6 += t5.charAt(3), i6 += t5.charAt(6), i6 += t5.charAt(1), i6 += t5.charAt(4), i6 += t5.charAt(7), i6 += t5.charAt(2), (i6 += t5.charAt(5)) + t5.charAt(8);
  15665. }, i5.prototype.$i = function() {
  15666. for (var t5 = 0; 9 > t5; t5++)
  15667. this.J[t5] = -2, this.$a[t5] = -2;
  15668. }, i5.pK = function(t5) {
  15669. var i6 = t5[1], s5 = t5[2], n5 = t5[5];
  15670. t5[1] = t5[3], t5[2] = t5[6], t5[5] = t5[7], t5[3] = i6, t5[6] = s5, t5[7] = n5;
  15671. }, i5.prototype.dj = function(t5) {
  15672. for (this.Yc = t5, t5 = 0; 9 > t5; t5++)
  15673. this.Yc.charAt(t5) != "*" ? (this.fa[t5] = true, this.le++) : this.fa[t5] = false;
  15674. }, i5.prototype.OJ = function() {
  15675. for (var t5 = 0; 9 > t5; t5++)
  15676. this.fa[t5] && this.J[t5] == -2 && (this.J[t5] = -1, this.fa[t5] = false);
  15677. }, i5.prototype.pc = function(t5) {
  15678. return this.J[t5] != -2 && (this.J[t5] == -1 ? (this.fa[t5] = false, this.le--, true) : this.Yc.charAt(t5) != "T" && this.Yc.charAt(t5) != "F" ? !(this.J[t5] < this.$a[t5]) && (this.fa[t5] = false, this.le--, true) : (this.fa[t5] = false, this.le--, true));
  15679. }, i5.prototype.rJ = function() {
  15680. this.xw = 0, this.$a[0] = 2, this.$a[1] = 1, this.$a[2] = 2, this.$a[3] = 1, this.$a[4] = 1, this.$a[5] = 1, this.$a[6] = 2, this.$a[7] = 1, this.$a[8] = 2, this.fa[8] && (this.J[8] = 2, this.fa[8] = false, this.le--);
  15681. }, i5.prototype.CB = function() {
  15682. this.xw = 1, this.Um = 3, this.$a[0] = 1, this.$a[1] = 0, this.$a[2] = 2, this.$a[3] = 1, this.$a[4] = 0, this.$a[5] = 1, this.$a[6] = 1, this.$a[7] = 0, this.$a[8] = 2, this.fa[8] && (this.J[8] = 2, this.fa[8] = false, this.le--);
  15683. }, i5.prototype.WW = function() {
  15684. this.xw = 2, this.Um = 4, this.$a[0] = 1, this.$a[1] = 0, this.$a[2] = 1, this.$a[3] = 0, this.$a[4] = 0, this.$a[5] = 0, this.$a[6] = 1, this.$a[7] = 0, this.$a[8] = 2, this.fa[8] && (this.J[8] = 2, this.fa[8] = false, this.le--);
  15685. }, i5.prototype.sJ = function() {
  15686. this.Um = 3, this.$a[0] = 0, this.$a[1] = -1, this.$a[2] = 2, this.$a[3] = 0, this.$a[4] = -1, this.$a[5] = 1, this.$a[6] = 0, this.$a[7] = -1, this.$a[8] = 2, this.fa[1] && (this.J[1] = -1, this.fa[1] = false, this.le--), this.fa[4] && (this.J[4] = -1, this.fa[4] = false, this.le--), this.fa[7] && (this.J[7] = -1, this.fa[7] = false, this.le--), this.fa[8] && (this.J[8] = 2, this.fa[8] = false, this.le--);
  15687. }, i5.prototype.GJ = function() {
  15688. this.Um = 4, this.$a[0] = 0, this.$a[1] = -1, this.$a[2] = 1, this.$a[3] = 0, this.$a[4] = -1, this.$a[5] = 0, this.$a[6] = 0, this.$a[7] = -1, this.$a[8] = 2, this.fa[1] && (this.J[1] = -1, this.fa[1] = false, this.le--), this.fa[4] && (this.J[4] = -1, this.fa[4] = false, this.le--), this.fa[7] && (this.J[7] = -1, this.fa[7] = false, this.le--), this.fa[8] && (this.J[8] = 2, this.fa[8] = false, this.le--);
  15689. }, i5.prototype.LJ = function() {
  15690. this.Um = 5, this.$a[0] = 0, this.$a[1] = -1, this.$a[2] = 0, this.$a[3] = -1, this.$a[4] = -1, this.$a[5] = -1, this.$a[6] = 0, this.$a[7] = -1, this.$a[8] = 2, this.fa[1] && (this.J[1] = -1, this.fa[1] = false, this.le--), this.fa[3] && (this.J[3] = -1, this.fa[3] = false, this.le--), this.fa[4] && (this.J[4] = -1, this.fa[4] = false, this.le--), this.fa[5] && (this.J[5] = -1, this.fa[5] = false, this.le--), this.fa[7] && (this.J[7] = -1, this.fa[7] = false, this.le--), this.fa[8] && (this.J[8] = 2, this.fa[8] = false, this.le--);
  15691. }, i5.prototype.rN = function(t5, i6, s5) {
  15692. var n5 = true;
  15693. return this.fa[0] && (this.vS(t5, i6, s5), n5 = n5 && this.pc(0)), this.fa[1] && (this.mG(t5, i6, 1), n5 = n5 && this.pc(1)), this.fa[2] && (this.nG(t5, i6, s5, 2), n5 = n5 && this.pc(2)), this.fa[3] && (this.mG(t5, s5, 3), n5 = n5 && this.pc(3)), this.fa[4] && (this.vN(t5, i6, s5), n5 = n5 && this.pc(4)), this.fa[5] && (this.ZD(t5, s5, 5), n5 = n5 && this.pc(5)), this.fa[6] && (this.nG(t5, s5, i6, 6), n5 = n5 && this.pc(6)), this.fa[7] && (this.ZD(t5, i6, 7), n5 = n5 && this.pc(7)), n5;
  15694. }, i5.prototype.Eu = function(t5, i6) {
  15695. this.J[0] = -1, this.J[1] = -1, this.J[3] = -1, this.J[4] = -1, this.Hr(t5, this.fa[2] ? 2 : -1, this.Yc.charAt(2), this.fa[5] ? 5 : -1, this.Yc.charAt(5)), this.Hr(i6, this.fa[6] ? 6 : -1, this.Yc.charAt(6), this.fa[7] ? 7 : -1, this.Yc.charAt(7));
  15696. }, i5.prototype.Hr = function(i6, s5, n5, h2, r2) {
  15697. s5 == -1 && h2 == -1 || ((n5 != "T" && n5 != "F" && s5 != -1 || r2 != "T" && r2 != "F" && h2 != -1) && i6.He() == 0 ? (h2 != -1 && (this.J[h2] = -1), s5 != -1 && (n5 = new t4.l(), i6.A(n5), this.J[s5] = n5.da() == 0 && n5.S() == 0 ? 0 : 1)) : (s5 != -1 && (this.J[s5] = 2), h2 != -1 && (this.J[h2] = 1)));
  15698. }, i5.prototype.hy = function(t5) {
  15699. this.J[2] = 2, this.J[3] = -1, this.J[4] = -1, this.J[5] = 1, this.J[6] = -1, this.J[7] = -1, this.Hr(t5, this.fa[0] ? 0 : -1, this.Yc.charAt(0), this.fa[1] ? 1 : -1, this.Yc.charAt(1));
  15700. }, i5.prototype.TD = function(t5) {
  15701. this.hy(t5), i5.pK(this.J);
  15702. }, i5.prototype.Fu = function(i6, s5) {
  15703. if (this.J[0] = -1, this.J[1] = -1, this.J[3] = -1, this.J[4] = -1, this.fa[6]) {
  15704. var n5 = this.Yc.charAt(6);
  15705. n5 = n5 == "T" || n5 == "F" || s5.Rb() != 0, this.J[6] = n5 ? 1 : 0;
  15706. }
  15707. this.fa[7] && (s5 = t4.si.cq(s5), this.J[7] = s5 ? 0 : -1), this.Hr(i6, this.fa[2] ? 2 : -1, this.Yc.charAt(2), this.fa[5] ? 5 : -1, this.Yc.charAt(5));
  15708. }, i5.prototype.UD = function(i6) {
  15709. if (this.fa[0]) {
  15710. var s5 = this.Yc.charAt(0);
  15711. s5 = s5 == "T" || s5 == "F" || i6.Rb() != 0, this.J[0] = s5 ? 1 : 0;
  15712. }
  15713. this.fa[1] && (i6 = t4.si.cq(i6), this.J[1] = i6 ? 0 : -1), this.J[2] = 2, this.J[3] = -1, this.J[4] = -1, this.J[5] = 1, this.J[6] = -1, this.J[7] = -1;
  15714. }, i5.prototype.Gu = function(t5) {
  15715. this.J[0] = -1, this.J[3] = -1, this.J[6] = 0, this.Hr(t5, this.fa[2] ? 2 : -1, this.Yc.charAt(2), this.fa[5] ? 5 : -1, this.Yc.charAt(5));
  15716. }, i5.prototype.tN = function() {
  15717. this.J[0] = 0, this.J[2] = 2, this.J[3] = -1, this.J[5] = 1, this.J[6] = -1;
  15718. }, i5.prototype.JG = function(i6, s5) {
  15719. if (this.J[0] = -1, this.J[1] = -1, this.J[3] = -1, this.J[4] = -1, this.fa[2]) {
  15720. var n5 = this.Yc.charAt(2);
  15721. n5 = n5 == "T" || n5 == "F" || i6.Rb() != 0, this.J[2] = n5 ? 1 : 0;
  15722. }
  15723. this.fa[5] && (i6 = t4.si.cq(i6), this.J[5] = i6 ? 0 : -1), this.fa[6] && (n5 = (n5 = this.Yc.charAt(6)) == "T" || n5 == "F" || s5.Rb() != 0, this.J[6] = n5 ? 1 : 0), this.fa[7] && (s5 = t4.si.cq(s5), this.J[7] = s5 ? 0 : -1);
  15724. }, i5.prototype.Qz = function(i6) {
  15725. if (this.J[0] = -1, this.J[3] = -1, this.fa[2]) {
  15726. var s5 = this.Yc.charAt(2);
  15727. s5 = s5 == "T" || s5 == "F" || i6.Rb() != 0, this.J[2] = s5 ? 1 : 0;
  15728. }
  15729. this.fa[5] && (i6 = t4.si.cq(i6), this.J[5] = i6 ? 0 : -1), this.J[6] = 0;
  15730. }, i5.prototype.sI = function() {
  15731. this.J[0] = -1, this.J[2] = 0, this.J[6] = 0;
  15732. }, i5.prototype.sN = function(t5, i6, s5) {
  15733. var n5 = true;
  15734. return this.fa[0] && (this.wS(t5, i6), n5 = n5 && this.pc(0)), this.fa[1] && (this.sS(t5, i6, s5, this.mh), n5 = n5 && this.pc(1)), this.fa[2] && (this.tS(t5, i6), n5 = n5 && this.pc(2)), this.fa[3] && (this.zN(t5, i6, s5, this.mh), n5 = n5 && this.pc(3)), this.fa[4] && (this.wN(t5, i6, s5, this.mh), n5 = n5 && this.pc(4)), this.fa[5] && (this.xN(t5, i6, s5), n5 = n5 && this.pc(5)), this.fa[6] && (this.fQ(t5, i6), n5 = n5 && this.pc(6)), this.fa[7] && (this.eQ(t5, i6, s5, this.mh), n5 = n5 && this.pc(7)), n5;
  15735. }, i5.prototype.eT = function(t5, i6, s5) {
  15736. var n5 = true;
  15737. return this.fa[0] && (this.zS(t5, i6, s5, this.$h, this.mh), n5 = n5 && this.pc(0)), this.fa[1] && (this.oG(t5, i6, s5, this.$h, this.mh, 1), n5 = n5 && this.pc(1)), this.fa[2] && (this.pG(t5, i6, s5, 2), n5 = n5 && this.pc(2)), this.fa[3] && (this.oG(t5, s5, i6, this.mh, this.$h, 3), n5 = n5 && this.pc(3)), this.fa[4] && (this.BN(t5, i6, s5, this.$h, this.mh), n5 = n5 && this.pc(4)), this.fa[5] && (this.$D(t5, s5, this.$h, 5), n5 = n5 && this.pc(5)), this.fa[6] && (this.pG(t5, s5, i6, 6), n5 = n5 && this.pc(6)), this.fa[7] && (this.$D(t5, i6, this.mh, 7), n5 = n5 && this.pc(7)), n5;
  15738. }, i5.prototype.VD = function(t5, i6, s5) {
  15739. var n5 = true;
  15740. return this.fa[0] && (this.xS(t5, i6), n5 = n5 && this.pc(0)), this.fa[2] && (this.uS(t5, i6), n5 = n5 && this.pc(2)), this.fa[3] && (this.AN(t5, i6, s5), n5 = n5 && this.pc(3)), this.fa[5] && (this.yN(t5, i6), n5 = n5 && this.pc(5)), this.fa[6] && (this.gQ(t5, i6), n5 = n5 && this.pc(6)), n5;
  15741. }, i5.prototype.KG = function(t5, i6, s5) {
  15742. var n5 = true;
  15743. return this.fa[0] && (this.AS(t5, i6, s5, this.$h), n5 = n5 && this.pc(0)), this.fa[2] && (this.yS(t5, s5), n5 = n5 && this.pc(2)), this.fa[3] && (this.DN(t5, i6, s5, this.$h), n5 = n5 && this.pc(3)), this.fa[5] && (this.CN(t5, i6, s5, this.$h), n5 = n5 && this.pc(5)), this.fa[6] && (this.hQ(t5, i6, s5), n5 = n5 && this.pc(6)), n5;
  15744. }, i5.prototype.RU = function(t5, i6, s5) {
  15745. var n5 = true;
  15746. return this.fa[0] && (this.BS(t5, i6, s5), n5 = n5 && this.pc(0)), this.fa[2] && (this.qG(t5, i6, s5, 2), n5 = n5 && this.pc(2)), this.fa[6] && (this.qG(t5, s5, i6, 6), n5 = n5 && this.pc(6)), n5;
  15747. }, i5.prototype.vS = function(t5, i6, s5) {
  15748. this.J[0] != 2 && (((t5 = this.j.af(t5)) & i6) != 0 && (t5 & s5) != 0 && (this.J[0] = 2));
  15749. }, i5.prototype.mG = function(t5, i6, s5) {
  15750. if (this.J[s5] != 1) {
  15751. var n5 = this.j.af(this.j.ya(t5));
  15752. (this.j.af(t5) & i6) != 0 && (n5 & i6) != 0 && (this.J[s5] = 1);
  15753. }
  15754. }, i5.prototype.nG = function(t5, i6, s5, n5) {
  15755. this.J[n5] != 2 && (((t5 = this.j.af(t5)) & i6) != 0 && (t5 & s5) == 0 && (this.J[n5] = 2));
  15756. }, i5.prototype.vN = function(t5, i6, s5) {
  15757. if (this.J[4] != 1) {
  15758. var n5 = this.j.fh(t5);
  15759. (n5 & i6) != 0 && (n5 & s5) != 0 ? this.J[4] = 1 : this.J[4] != 0 && this.j.Bb(this.j.ue(this.j.ya(t5)), this.Wi) != 1 && (((t5 = this.j.yd(this.j.vf(t5))) & i6) != 0 && (t5 & s5) != 0 && (this.J[4] = 0));
  15760. }
  15761. }, i5.prototype.ZD = function(t5, i6, s5) {
  15762. if (this.J[s5] != 1) {
  15763. var n5 = this.j.af(this.j.ya(t5));
  15764. (this.j.af(t5) & i6) == 0 && (n5 & i6) == 0 && (this.J[s5] = 1);
  15765. }
  15766. }, i5.prototype.wS = function(t5, i6) {
  15767. if (this.J[0] != 1) {
  15768. var s5 = this.j.af(this.j.ya(t5));
  15769. (this.j.af(t5) & i6) != 0 && (s5 & i6) != 0 && (this.J[0] = 1);
  15770. }
  15771. }, i5.prototype.sS = function(t5, i6, s5, n5) {
  15772. if (this.J[1] != 0 && this.j.Bb(this.j.ue(this.j.ya(t5)), this.Wi) != 1) {
  15773. var h2 = this.j.vf(t5), r2 = this.j.yd(h2);
  15774. (r2 & i6) == 0 && (this.j.af(t5) & i6) != 0 && (t5 = this.j.ng(h2, n5), (r2 & s5) != 0 && t5 % 2 != 0 && (this.J[1] = 0));
  15775. }
  15776. }, i5.prototype.tS = function(t5, i6) {
  15777. this.J[2] != 2 && (this.j.fh(t5) & i6) != 0 && (this.J[2] = 2);
  15778. }, i5.prototype.zN = function(t5, i6, s5, n5) {
  15779. if (this.J[3] != 1) {
  15780. var h2 = this.j.fh(t5);
  15781. (h2 & i6) != 0 && (h2 & s5) != 0 ? this.J[3] = 1 : this.J[3] != 0 && this.j.Bb(this.j.ue(this.j.ya(t5)), this.Wi) != 1 && (h2 = this.j.vf(t5), ((t5 = this.j.yd(h2)) & i6) != 0 && (i6 = this.j.ng(h2, n5), (t5 & s5) != 0 && i6 % 2 == 0 && (this.J[3] = 0)));
  15782. }
  15783. }, i5.prototype.wN = function(t5, i6, s5, n5) {
  15784. if (this.J[4] != 0 && this.j.Bb(this.j.ue(this.j.ya(t5)), this.Wi) != 1) {
  15785. var h2 = this.j.vf(t5);
  15786. ((t5 = this.j.yd(h2)) & i6) != 0 && (i6 = this.j.ng(h2, n5), (t5 & s5) != 0 && i6 % 2 != 0 && (this.J[4] = 0));
  15787. }
  15788. }, i5.prototype.xN = function(t5, i6, s5) {
  15789. this.J[5] != 1 && (((t5 = this.j.fh(t5)) & i6) != 0 && (t5 & s5) == 0 && (this.J[5] = 1));
  15790. }, i5.prototype.fQ = function(t5, i6) {
  15791. if (this.J[6] != 1) {
  15792. var s5 = this.j.af(this.j.ya(t5));
  15793. (this.j.af(t5) & i6) == 0 && (s5 & i6) == 0 && (this.J[6] = 1);
  15794. }
  15795. }, i5.prototype.eQ = function(t5, i6, s5, n5) {
  15796. if (this.J[7] != 0 && this.j.Bb(this.j.ue(this.j.ya(t5)), this.Wi) != 1) {
  15797. var h2 = this.j.vf(t5), r2 = this.j.yd(h2);
  15798. (r2 & i6) == 0 && (this.j.af(t5) & i6) == 0 && (t5 = this.j.ng(h2, n5), (r2 & s5) != 0 && t5 % 2 != 0 && (this.J[7] = 0));
  15799. }
  15800. }, i5.prototype.zS = function(t5, i6, s5, n5, h2) {
  15801. if (this.J[0] != 1) {
  15802. var r2 = this.j.fh(t5);
  15803. (r2 & i6) != 0 && (r2 & s5) != 0 ? this.J[0] = 1 : this.J[0] != 0 && this.j.Bb(this.j.ue(this.j.ya(t5)), this.Wi) != 1 && (t5 = this.j.vf(t5), ((r2 = this.j.yd(t5)) & i6) != 0 && (r2 & s5) != 0 && (i6 = this.j.ng(t5, n5), h2 = this.j.ng(t5, h2), i6 % 2 == 0 && h2 % 2 == 0 && (this.J[0] = 0)));
  15804. }
  15805. }, i5.prototype.oG = function(t5, i6, s5, n5, h2, r2) {
  15806. if (this.J[r2] != 0 && this.j.Bb(this.j.ue(this.j.ya(t5)), this.Wi) != 1) {
  15807. t5 = this.j.vf(t5);
  15808. var e2 = this.j.yd(t5);
  15809. (e2 & i6) != 0 && (e2 & s5) != 0 && (i6 = this.j.ng(t5, n5), h2 = this.j.ng(t5, h2), i6 % 2 == 0 && h2 % 2 != 0 && (this.J[r2] = 0));
  15810. }
  15811. }, i5.prototype.pG = function(t5, i6, s5, n5) {
  15812. this.J[n5] != 1 && (((t5 = this.j.fh(t5)) & i6) != 0 && (t5 & s5) == 0 && (this.J[n5] = 1));
  15813. }, i5.prototype.BN = function(t5, i6, s5, n5, h2) {
  15814. if (this.J[4] != 0 && this.j.Bb(this.j.ue(this.j.ya(t5)), this.Wi) != 1) {
  15815. t5 = this.j.vf(t5);
  15816. var r2 = this.j.yd(t5);
  15817. (r2 & i6) != 0 && (r2 & s5) != 0 && (i6 = this.j.ng(t5, n5), h2 = this.j.ng(t5, h2), i6 % 2 != 0 && h2 % 2 != 0 && (this.J[4] = 0));
  15818. }
  15819. }, i5.prototype.$D = function(t5, i6, s5, n5) {
  15820. this.J[n5] != 0 && this.j.Bb(this.j.ue(this.j.ya(t5)), this.Wi) != 1 && (t5 = this.j.vf(t5), (this.j.yd(t5) & i6) == 0 && this.j.ng(t5, s5) % 2 != 0 && (this.J[n5] = 0));
  15821. }, i5.prototype.xS = function(t5, i6) {
  15822. this.J[0] != 0 && (this.j.yd(t5) & i6) == 0 && (this.j.ik(this.j.Yy(t5)) & i6) != 0 && (this.J[0] = 0);
  15823. }, i5.prototype.uS = function(t5, i6) {
  15824. this.J[2] != 2 && (this.j.yd(t5) & i6) != 0 && (this.J[2] = 2);
  15825. }, i5.prototype.AN = function(t5, i6, s5) {
  15826. this.J[3] != 0 && (((t5 = this.j.yd(t5)) & i6) != 0 && (t5 & s5) != 0 && (this.J[3] = 0));
  15827. }, i5.prototype.yN = function(t5, i6) {
  15828. this.J[5] != 1 && (this.j.yd(t5) & i6) != 0 && (this.J[5] = 1);
  15829. }, i5.prototype.gQ = function(t5, i6) {
  15830. this.J[6] != 0 && (this.j.yd(t5) & i6) == 0 && (this.j.ik(this.j.Yy(t5)) & i6) == 0 && (this.J[6] = 0);
  15831. }, i5.prototype.AS = function(t5, i6, s5, n5) {
  15832. if (this.J[0] != 0) {
  15833. var h2 = this.j.yd(t5);
  15834. (h2 & i6) != 0 && (h2 & s5) != 0 && this.j.ng(t5, n5) % 2 == 0 && (this.J[0] = 0);
  15835. }
  15836. }, i5.prototype.yS = function(t5, i6) {
  15837. this.J[2] != 1 && (this.j.Je(t5) != -1 ? this.J[2] = 1 : this.J[2] != 0 && (this.j.yd(t5) & i6) == 0 && (this.J[2] = 0));
  15838. }, i5.prototype.DN = function(t5, i6, s5, n5) {
  15839. if (this.J[3] != 0) {
  15840. var h2 = this.j.yd(t5);
  15841. (h2 & i6) != 0 && (h2 & s5) != 0 && this.j.ng(t5, n5) % 2 != 0 && (this.J[3] = 0);
  15842. }
  15843. }, i5.prototype.CN = function(t5, i6, s5, n5) {
  15844. if (this.J[5] != 0) {
  15845. var h2 = this.j.yd(t5);
  15846. (h2 & i6) != 0 && (h2 & s5) == 0 && this.j.ng(t5, n5) % 2 != 0 && (this.J[5] = 0);
  15847. }
  15848. }, i5.prototype.hQ = function(t5, i6, s5) {
  15849. this.J[6] != 0 && (((t5 = this.j.yd(t5)) & i6) == 0 && (t5 & s5) != 0 && (this.J[6] = 0));
  15850. }, i5.prototype.BS = function(t5, i6, s5) {
  15851. this.J[0] != 0 && (((t5 = this.j.yd(t5)) & i6) != 0 && (t5 & s5) != 0 && (this.J[0] = 0));
  15852. }, i5.prototype.qG = function(t5, i6, s5, n5) {
  15853. this.J[n5] != 0 && (((t5 = this.j.yd(t5)) & i6) != 0 && (t5 & s5) == 0 && (this.J[n5] = 0));
  15854. }, i5.prototype.Dp = function(i6, s5) {
  15855. var n5 = false;
  15856. i6 = this.j.Ma(i6), s5 = this.j.Ma(s5), this.Wi = this.j.bh();
  15857. for (var h2 = this.j.Oe; h2 != -1; h2 = this.j.Sf(h2)) {
  15858. var r2 = this.j.Je(h2);
  15859. if (r2 == -1) {
  15860. if (this.Um != -1)
  15861. switch (this.Um) {
  15862. case 3:
  15863. n5 = this.VD(h2, i6, s5);
  15864. break;
  15865. case 4:
  15866. n5 = this.KG(h2, i6, s5);
  15867. break;
  15868. default:
  15869. throw t4.i.ga("internal error");
  15870. }
  15871. } else {
  15872. var e2 = r2;
  15873. do {
  15874. var o2 = e2;
  15875. if (this.j.Bb(o2, this.Wi) != 1)
  15876. do {
  15877. switch (this.xw) {
  15878. case 0:
  15879. n5 = this.rN(o2, i6, s5);
  15880. break;
  15881. case 1:
  15882. n5 = this.sN(o2, i6, s5);
  15883. break;
  15884. case 2:
  15885. n5 = this.eT(o2, i6, s5);
  15886. break;
  15887. default:
  15888. throw t4.i.ga("internal error");
  15889. }
  15890. if (n5)
  15891. break;
  15892. this.j.Kb(o2, this.Wi, 1), o2 = this.j.kc(o2);
  15893. } while (o2 != e2 && !n5);
  15894. if (n5)
  15895. break;
  15896. e2 = this.j.kc(this.j.ya(o2));
  15897. } while (e2 != r2);
  15898. if (n5)
  15899. break;
  15900. }
  15901. }
  15902. n5 || this.OJ(), this.j.Lg(this.Wi);
  15903. }, i5.prototype.By = function(i6, s5) {
  15904. var n5 = false;
  15905. i6 = this.j.Ma(i6), s5 = this.j.Ma(s5);
  15906. for (var h2 = this.j.Oe; h2 != -1; h2 = this.j.Sf(h2)) {
  15907. switch (this.Um) {
  15908. case 3:
  15909. n5 = this.VD(h2, i6, s5);
  15910. break;
  15911. case 4:
  15912. n5 = this.KG(h2, i6, s5);
  15913. break;
  15914. case 5:
  15915. n5 = this.RU(h2, i6, s5);
  15916. break;
  15917. default:
  15918. throw t4.i.Ra();
  15919. }
  15920. if (n5)
  15921. break;
  15922. }
  15923. n5 || this.OJ();
  15924. }, i5.prototype.gr = function(t5, i6) {
  15925. this.j.fr(t5, i6);
  15926. }, i5.prototype.Xo = function(t5, i6, s5) {
  15927. this.SP(t5, i6, s5), this.gr(t5, s5);
  15928. }, i5.prototype.SP = function(i6, s5, n5) {
  15929. for (t4.Uk.W(i6, s5, n5, false), i6.Ip(0, true, true), s5 = i6.ld; s5 != -1; s5 = i6.ve(s5))
  15930. i6.jc(s5) == 1736 && t4.tn.W(i6, s5, -1, false, n5);
  15931. }, i5.QE = function(i6, s5) {
  15932. var n5 = i6.K();
  15933. return t4.ba.zd(n5) ? ((s5 = new t4.Ua(i6.description)).oc(i6, true), s5) : n5 == 197 ? (n5 = new t4.l(), i6.A(n5), n5.da() <= s5 && n5.S() <= s5 ? (s5 = new t4.Ta(i6.description), i6.tf(s5), s5) : n5.da() <= s5 || n5.S() <= s5 ? (s5 = new t4.Ua(i6.description), n5 = new t4.Ta(), i6.If(0, n5), s5.nf(n5), i6.If(2, n5), s5.lineTo(n5), s5) : ((s5 = new t4.Ea(i6.description)).bd(i6, false), s5)) : i6;
  15934. }, i5;
  15935. }(), t4.cm = i4;
  15936. }(V || (V = {})), function(t4) {
  15937. var i4 = function() {
  15938. function i5(i6) {
  15939. this.Gm = new t4.ja(0), this.fw = new t4.ja(0), this.xt = new t4.h(), this.yt = new t4.h(), this.g = i6, this.Js = -1;
  15940. }
  15941. return i5.prototype.cc = function(t5) {
  15942. return this.g.cc(this.uz(t5));
  15943. }, i5.prototype.Dv = function(t5) {
  15944. var i6 = this.dz(t5);
  15945. if (t5 = this.BF(t5), this.g.Na(i6) == t5) {
  15946. var s5 = i6;
  15947. i6 = t5, t5 = s5;
  15948. }
  15949. return this.g.Hc(i6, this.xt), this.g.Hc(t5, this.yt), this.xt.y < this.yt.y;
  15950. }, i5.prototype.uz = function(t5) {
  15951. var i6 = this.dz(t5);
  15952. return t5 = this.BF(t5), this.g.V(i6) == t5 ? i6 : t5;
  15953. }, i5.prototype.dz = function(t5) {
  15954. return this.Gm.get(t5);
  15955. }, i5.prototype.BF = function(t5) {
  15956. return this.fw.get(t5);
  15957. }, i5.prototype.lF = function(t5) {
  15958. this.Gm.set(t5, this.Js), this.Js = t5;
  15959. }, i5.prototype.hI = function(i6) {
  15960. if (this.Js != -1) {
  15961. var s5 = this.Js;
  15962. return this.Js = this.Gm.get(s5), this.Gm.set(s5, i6), this.fw.set(s5, this.g.V(i6)), s5;
  15963. }
  15964. return this.Gm == null && (this.Gm = new t4.ja(0), this.fw = new t4.ja(0)), s5 = this.Gm.size, this.Gm.add(i6), this.fw.add(this.g.V(i6)), s5;
  15965. }, i5.prototype.mz = function(t5) {
  15966. return this.g.cd(this.dz(t5));
  15967. }, i5;
  15968. }();
  15969. t4.qY = i4;
  15970. var s4 = function() {
  15971. function i5(i6) {
  15972. this.Ce = i6, this.ie = new t4.zb(), this.Pm = new t4.zb(), this.wH = 0, this.Bo = null, this.sA = -1;
  15973. }
  15974. return i5.prototype.compare = function(t5, i6, s5) {
  15975. s5 = t5.ka(s5);
  15976. var n5 = this.Ce.hb;
  15977. if (this.sA == i6)
  15978. var h2 = this.wH;
  15979. else
  15980. this.Bo = n5.cc(i6), this.Bo == null ? ((t5 = n5.g).fd(n5.uz(i6), this.ie), this.Bo = this.ie, h2 = this.ie.Me(this.Ce.Ah, 0)) : h2 = this.Bo.Me(this.Ce.Ah, 0), this.wH = h2, this.sA = i6;
  15981. if ((t5 = n5.cc(s5)) == null) {
  15982. (t5 = n5.g).fd(n5.uz(s5), this.Pm), t5 = this.Pm;
  15983. var r2 = this.Pm.Me(this.Ce.Ah, 0);
  15984. } else
  15985. r2 = t5.Me(this.Ce.Ah, 0);
  15986. return h2 == r2 && (i6 = n5.Dv(i6), s5 = n5.Dv(s5), (i6 = 0.5 * ((s5 = Math.min(i6 ? this.Bo.ma : this.Bo.oa, s5 ? t5.ma : t5.oa)) + this.Ce.Ah)) == this.Ce.Ah && (i6 = s5), h2 = this.Bo.Me(i6, 0), r2 = t5.Me(i6, 0)), h2 < r2 ? -1 : h2 > r2 ? 1 : 0;
  15987. }, i5.prototype.reset = function() {
  15988. this.sA = -1;
  15989. }, i5;
  15990. }(), n4 = function() {
  15991. function n5() {
  15992. this.Ym = this.Il = null, this.fb = new t4.Zj(), this.fb.LP(), this.ae = new s4(this), this.fb.Wo(this.ae);
  15993. }
  15994. return n5.prototype.BQ = function() {
  15995. var i5 = false;
  15996. if (this.hw && (i5 = this.CQ()), this.g.ea(this.Y) == 1) {
  15997. var s5 = this.g.Ob(this.Y);
  15998. return i5 = this.g.qz(s5), this.g.JB(s5, true), 0 > i5 && (i5 = this.g.Ya(s5), this.g.jJ(i5), this.g.Yg(s5, this.g.Na(i5)), true);
  15999. }
  16000. for (this.Gl = this.g.Fy(), this.xo = this.g.Fy(), s5 = this.g.Ob(this.Y); s5 != -1; s5 = this.g.Sb(s5))
  16001. this.g.ir(s5, this.Gl, 0), this.g.ir(s5, this.xo, -1);
  16002. s5 = new t4.ja(0), this.Ah = NaN;
  16003. var n6 = new t4.h();
  16004. this.ft = this.g.ea(this.Y), this.so = this.g.Hd(), this.Ts = this.g.Hd();
  16005. for (var h2 = this.Il.sc(this.Il.je); h2 != -1; h2 = this.Il.lb(h2)) {
  16006. var r2 = this.Il.getData(h2);
  16007. if (this.g.Hc(r2, n6), n6.y != this.Ah && s5.size != 0 && (i5 = this.vt(s5) || i5, this.ae.reset(), s5.clear(false)), s5.add(r2), this.Ah = n6.y, this.ft == 0)
  16008. break;
  16009. }
  16010. for (0 < this.ft && (i5 = this.vt(s5) || i5, s5.clear(false)), this.g.Ud(this.so), this.g.Ud(this.Ts), s5 = this.g.Ob(this.Y); s5 != -1; )
  16011. if (this.g.uj(s5, this.Gl) == 3) {
  16012. for (this.g.JB(s5, true), n6 = s5, s5 = this.g.uj(s5, this.xo); s5 != -1; )
  16013. h2 = this.g.uj(s5, this.xo), this.g.RT(this.Y, this.g.Sb(n6), s5), n6 = s5, s5 = h2;
  16014. s5 = this.g.Sb(n6);
  16015. } else
  16016. this.g.JB(s5, false), s5 = this.g.Sb(s5);
  16017. return this.g.wB(this.Gl), this.g.wB(this.xo), i5;
  16018. }, n5.prototype.vt = function(t5) {
  16019. return this.SV(t5);
  16020. }, n5.prototype.SV = function(s5) {
  16021. var n6 = false;
  16022. this.hb == null && (this.hb = new i4(this.g)), this.Ym == null ? (this.Ym = new t4.ja(0), this.Ym.Jb(16)) : this.Ym.clear(false), this.RV(s5);
  16023. for (var h2 = 0, r2 = s5.size; h2 < r2; h2++) {
  16024. var e2 = s5.get(h2);
  16025. e2 != -1 && this.iG(e2, -1);
  16026. }
  16027. for (h2 = 0; h2 < this.Ym.size && 0 < this.ft; h2++)
  16028. if (s5 = this.Ym.get(h2), e2 = this.hb.mz(this.fb.ka(s5)), r2 = -1, this.g.uj(e2, this.Gl) == 0) {
  16029. e2 = this.fb.xe(s5);
  16030. for (var o2, a2 = s5; e2 != -1; ) {
  16031. var u2 = this.fb.ka(e2), f2 = this.hb.mz(u2), c2 = this.g.uj(f2, this.Gl);
  16032. if (c2 != 0) {
  16033. r2 = f2;
  16034. break;
  16035. }
  16036. a2 = e2, e2 = this.fb.xe(e2);
  16037. }
  16038. e2 == -1 ? (o2 = true, e2 = a2) : (u2 = this.fb.ka(e2), o2 = this.hb.Dv(u2), e2 = this.fb.lb(e2), o2 = !o2);
  16039. do {
  16040. if (u2 = this.fb.ka(e2), f2 = this.hb.mz(u2), (c2 = this.g.uj(f2, this.Gl)) == 0 && (o2 != this.hb.Dv(u2) && (n6 = this.g.Ya(f2), this.g.jJ(n6), this.g.Yg(f2, this.g.Na(n6)), n6 = true), this.g.ir(f2, this.Gl, o2 ? 3 : 2), o2 || (a2 = this.g.uj(r2, this.xo), this.g.ir(r2, this.xo, f2), this.g.ir(f2, this.xo, a2)), this.ft--, this.ft == 0))
  16041. return n6;
  16042. r2 = f2, a2 = e2, e2 = this.fb.lb(e2), o2 = !o2;
  16043. } while (a2 != s5);
  16044. }
  16045. return n6;
  16046. }, n5.prototype.RV = function(t5) {
  16047. for (var i5 = 0, s5 = t5.size; i5 < s5; i5++) {
  16048. var n6 = t5.get(i5), h2 = this.g.Qa(n6, this.so), r2 = this.g.Qa(n6, this.Ts);
  16049. if (h2 != -1) {
  16050. var e2 = this.fb.ka(h2);
  16051. this.hb.lF(e2), this.g.Sa(n6, this.so, -1);
  16052. }
  16053. r2 != -1 && (e2 = this.fb.ka(r2), this.hb.lF(e2), this.g.Sa(n6, this.Ts, -1)), e2 = -1, h2 != -1 && r2 != -1 ? (this.fb.wd(h2, -1), this.fb.wd(r2, -1), t5.set(i5, -1)) : e2 = h2 != -1 ? h2 : r2, e2 != -1 && (this.iG(n6, e2) || this.fb.wd(e2, -1), t5.set(i5, -1));
  16054. }
  16055. }, n5.prototype.iG = function(i5, s5) {
  16056. var n6 = new t4.h(), h2 = new t4.h();
  16057. this.g.Hc(i5, n6);
  16058. var r2 = this.g.V(i5);
  16059. this.g.Hc(r2, h2);
  16060. var e2 = false;
  16061. if (n6.y < h2.y) {
  16062. e2 = true;
  16063. var o2 = this.hb.hI(i5);
  16064. if (s5 == -1)
  16065. var a2 = this.fb.addElement(o2, -1);
  16066. else
  16067. a2 = s5, this.fb.Uj(a2, o2);
  16068. (o2 = this.g.Qa(r2, this.so)) == -1 ? this.g.Sa(r2, this.so, a2) : this.g.Sa(r2, this.Ts, a2), r2 = this.g.cd(i5), this.g.uj(r2, this.Gl) == 0 && this.Ym.add(a2);
  16069. }
  16070. return r2 = this.g.Na(i5), this.g.Hc(r2, h2), n6.y < h2.y && (e2 = true, o2 = this.hb.hI(r2), s5 == -1 ? a2 = this.fb.addElement(o2, -1) : (a2 = s5, this.fb.Uj(a2, o2)), (o2 = this.g.Qa(r2, this.so)) == -1 ? this.g.Sa(r2, this.so, a2) : this.g.Sa(r2, this.Ts, a2), r2 = this.g.cd(i5), this.g.uj(r2, this.Gl) == 0 && this.Ym.add(a2)), e2;
  16071. }, n5.W = function(t5, i5, s5, h2) {
  16072. var r2 = new n5();
  16073. return r2.g = t5, r2.Y = i5, r2.Il = s5, r2.hw = h2, r2.BQ();
  16074. }, n5.prototype.CQ = function() {
  16075. var i5 = new t4.ja(0), s5 = new t4.ja(0), n6 = -1, h2 = -1, r2 = new t4.h();
  16076. r2.Sc();
  16077. for (var e2 = -1, o2 = -1, a2 = -1, u2 = new t4.h(), f2 = this.Il.sc(this.Il.je); f2 != -1; f2 = this.Il.lb(f2)) {
  16078. var c2 = this.Il.getData(f2);
  16079. this.g.Hc(c2, u2);
  16080. var l2 = this.g.cd(c2);
  16081. r2.rb(u2) && o2 == l2 ? (h2 == -1 && (n6 = this.g.Fy(), h2 = this.g.Hd()), a2 == -1 && (a2 = s5.size, this.g.Sa(e2, h2, a2), s5.add(1), this.g.uj(l2, n6) == -1 && (this.g.ir(l2, n6, e2), i5.add(l2))), this.g.Sa(c2, h2, a2), s5.TW(s5.Gc() + 1)) : (a2 = -1, r2.N(u2)), e2 = c2, o2 = l2;
  16082. }
  16083. if (i5.size == 0)
  16084. return false;
  16085. for (r2 = new t4.ja(0), e2 = new t4.ja(0), o2 = 0, a2 = i5.size; o2 < a2; o2++) {
  16086. l2 = i5.get(o2);
  16087. var p2 = this.g.uj(l2, n6);
  16088. for (c2 = this.g.Qa(p2, h2), r2.clear(false), e2.clear(false), r2.add(p2), e2.add(c2), c2 = this.g.V(p2); c2 != p2; c2 = this.g.V(c2)) {
  16089. var v2 = c2;
  16090. if ((u2 = this.g.Qa(v2, h2)) != -1)
  16091. if (e2.size == 0)
  16092. e2.add(u2), r2.add(v2);
  16093. else if (e2.Gc() == u2) {
  16094. f2 = r2.Gc();
  16095. var y2 = this.g.V(f2);
  16096. p2 = this.g.V(v2), this.g.Cc(f2, p2), this.g.Dc(p2, f2), this.g.Cc(v2, y2), this.g.Dc(y2, v2), v2 = [false], y2 = this.g.hG(this.Y, y2, this.g.Ya(l2), v2), this.g.Sa(c2, h2, -1), v2[0] && this.g.Kf(l2, p2), c2 = this.g.Ka(l2), c2 -= p2 = this.g.Ka(y2), this.g.Xj(l2, c2), s5.set(u2, s5.get(u2) - 1), s5.get(u2) == 1 && (s5.set(u2, 0), e2.Jf(), r2.Jf()), c2 = p2 = f2;
  16097. } else
  16098. r2.add(c2), e2.add(u2);
  16099. }
  16100. }
  16101. return this.g.wB(n6), this.g.Ud(h2), true;
  16102. }, n5;
  16103. }();
  16104. t4.QL = n4;
  16105. }(V || (V = {})), function(t4) {
  16106. var i4 = function() {
  16107. function i5() {
  16108. }
  16109. return i5.prototype.hg = function() {
  16110. this.JA = this.tb = null;
  16111. }, i5.prototype.get = function() {
  16112. return this.JA;
  16113. }, i5.prototype.set = function(i6) {
  16114. if (this.JA = i6, i6 != null)
  16115. throw i6.K() == 322 && (this.tb = i6), t4.i.Ra();
  16116. }, i5.prototype.create = function(i6) {
  16117. if (i6 != 322)
  16118. throw t4.i.ga("Not Implemented");
  16119. this.Qr();
  16120. }, i5.prototype.Qr = function() {
  16121. this.tb == null && (this.tb = new t4.zb()), this.JA = this.tb;
  16122. }, i5;
  16123. }();
  16124. t4.hg = i4;
  16125. }(V || (V = {})), function(t4) {
  16126. (t4 = t4.RL || (t4.RL = {}))[t4.enumLineSeg = 1] = "enumLineSeg", t4[t4.enumBezierSeg = 2] = "enumBezierSeg", t4[t4.enumArcSeg = 4] = "enumArcSeg", t4[t4.enumNonlinearSegmentMask = 6] = "enumNonlinearSegmentMask", t4[t4.enumSegmentMask = 7] = "enumSegmentMask", t4[t4.enumDensified = 8] = "enumDensified";
  16127. }(V || (V = {})), function(t4) {
  16128. var i4 = function(t5) {
  16129. this.bj = t5, this.kC = this.lC = 1, this.mB = this.lB = this.nB = 0;
  16130. }, s4 = function() {
  16131. function s5() {
  16132. this.Hq = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], this.Ck = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], this.Cf = new t4.Ta(), this.ra = this.Ew = 0, this.no = [], this.bt = [], this.Aw = [], this.Kq = [], this.GA = [];
  16133. }
  16134. return s5.prototype.qB = function(t5) {
  16135. if (t5 != null) {
  16136. for (var i5 = 0, s6 = t5.length; i5 < s6; i5++)
  16137. this.jW(t5[i5]);
  16138. t5.length = 0;
  16139. }
  16140. }, s5.prototype.jW = function(t5) {
  16141. t5.bj = null, this.Kq.push(t5);
  16142. }, s5.prototype.Qw = function(t5) {
  16143. if (this.Kq.length === 0)
  16144. var s6 = new i4(t5);
  16145. else
  16146. (s6 = this.Kq[this.Kq.length - 1]).bj = t5, --this.Kq.length;
  16147. return s6;
  16148. }, s5.prototype.LR = function(t5, i5) {
  16149. return t5 == 0 ? this.bt[i5] : this.Aw[i5];
  16150. }, s5.prototype.VA = function() {
  16151. this.Ew >= this.GA.length && this.GA.push(new t4.hg());
  16152. var i5 = this.GA[this.Ew];
  16153. return this.Ew++, i5;
  16154. }, s5.prototype.clear = function() {
  16155. this.qB(this.no), this.qB(this.bt), this.qB(this.Aw), this.Ew = 0;
  16156. }, s5.prototype.Po = function(t5) {
  16157. this.no.push(this.Qw(t5));
  16158. }, s5.prototype.ql = function(t5) {
  16159. return t5 == 0 ? this.bt.length : this.Aw.length;
  16160. }, s5.prototype.Xp = function(t5, i5) {
  16161. return this.LR(t5, i5).bj;
  16162. }, s5.prototype.Fa = function(i5, s6) {
  16163. if (this.no.length != 2)
  16164. throw t4.i.Ra();
  16165. this.ra = i5;
  16166. var n4 = t4.mc.ox(0.01 * i5), h2 = false, r2 = this.no[0], e2 = this.no[1];
  16167. if (s6 || (5 & r2.bj.Br(e2.bj, i5, true)) != 0) {
  16168. if (r2.bj.K() == 322) {
  16169. var o2 = r2.bj;
  16170. if (e2.bj.K() == 322) {
  16171. s6 = e2.bj;
  16172. var a2 = t4.zb.Yx(o2, s6, null, this.Hq, this.Ck, i5);
  16173. if (a2 == 0)
  16174. throw t4.zb.Yx(o2, s6, null, this.Hq, this.Ck, i5), t4.i.Ra();
  16175. i5 = Array(9), t4.P.bv(i5, null);
  16176. for (var u2 = 0; u2 < a2; u2++) {
  16177. var f2 = this.Hq[u2], c2 = this.Ck[u2], l2 = r2.mB, p2 = 1;
  16178. f2 == 0 ? (l2 = r2.nB, p2 = r2.lC) : f2 == 1 && (l2 = r2.lB, p2 = r2.kC);
  16179. var v2 = e2.mB, y2 = 1;
  16180. c2 == 0 ? (v2 = e2.nB, y2 = e2.lC) : c2 == 1 && (v2 = e2.lB, y2 = e2.kC);
  16181. var b2 = new t4.h();
  16182. l2 == v2 ? (l2 = new t4.h(), o2.ic(f2, l2), f2 = new t4.h(), s6.ic(c2, f2), y2 /= c2 = p2 + y2, t4.mc.IG(l2, f2, y2, b2), t4.h.zc(b2, l2) + t4.h.zc(b2, f2) > n4 && (h2 = true)) : l2 > v2 ? (o2.ic(f2, b2), f2 = new t4.h(), s6.ic(c2, f2), t4.h.zc(b2, f2) > n4 && (h2 = true)) : (s6.ic(c2, b2), l2 = new t4.h(), o2.ic(f2, l2), t4.h.zc(b2, l2) > n4 && (h2 = true)), i5[u2] = b2;
  16183. }
  16184. for (r2 = 0, e2 = -1, u2 = 0; u2 <= a2; u2++)
  16185. (y2 = u2 < a2 ? this.Hq[u2] : 1) != r2 && (n4 = this.VA(), o2.dh(r2, y2, n4), e2 != -1 && n4.get().Ec(i5[e2]), u2 != a2 && n4.get().Rc(i5[u2]), r2 = y2, this.bt.push(this.Qw(n4.get()))), e2 = u2;
  16186. for (o2 = [0, 0, 0, 0, 0, 0, 0, 0, 0], u2 = 0; u2 < a2; u2++)
  16187. o2[u2] = u2;
  16188. for (1 < a2 && this.Ck[0] > this.Ck[1] && (y2 = this.Ck[0], this.Ck[0] = this.Ck[1], this.Ck[1] = y2, u2 = o2[0], o2[0] = o2[1], o2[1] = u2), r2 = 0, e2 = -1, u2 = 0; u2 <= a2; u2++)
  16189. (y2 = u2 < a2 ? this.Ck[u2] : 1) != r2 && (n4 = this.VA(), s6.dh(r2, y2, n4), e2 != -1 && (r2 = o2[e2], n4.get().Ec(i5[r2])), u2 != a2 && (r2 = o2[u2], n4.get().Rc(i5[r2])), r2 = y2, this.Aw.push(this.Qw(n4.get()))), e2 = u2;
  16190. return h2;
  16191. }
  16192. }
  16193. throw t4.i.Ra();
  16194. }
  16195. return false;
  16196. }, s5.prototype.Fz = function(i5, s6, n4) {
  16197. if (s6.copyTo(this.Cf), this.no.length != 1)
  16198. throw t4.i.Ra();
  16199. this.ra = i5;
  16200. var h2 = this.no[0];
  16201. if (n4 || h2.bj.tu(s6.D(), i5, true)) {
  16202. if (h2.bj.K() != 322)
  16203. throw t4.i.Ra();
  16204. var r2 = (i5 = h2.bj).fe(s6.D(), false);
  16205. this.Hq[0] = r2;
  16206. var e2 = h2.mB;
  16207. for (n4 = 1, r2 == 0 ? (e2 = h2.nB, n4 = h2.lC) : r2 == 1 && (e2 = h2.lB, n4 = h2.kC), h2 = new t4.h(), e2 == 0 ? (e2 = new t4.h(), i5.ic(r2, e2), s6 = s6.D(), t4.mc.IG(e2, s6, 1 / (n4 + 1), h2)) : 0 < e2 ? (h2 = new t4.h(), i5.ic(r2, h2)) : h2 = s6.D(), n4 = 0, r2 = -1, e2 = 0; 1 >= e2; e2++) {
  16208. if ((s6 = 1 > e2 ? this.Hq[e2] : 1) != n4) {
  16209. var o2 = this.VA();
  16210. i5.dh(n4, s6, o2), r2 != -1 && o2.get().Ec(h2), e2 != 1 && o2.get().Rc(h2), n4 = s6, this.bt.push(this.Qw(o2.get()));
  16211. }
  16212. r2 = e2;
  16213. }
  16214. this.Cf.Db(h2);
  16215. }
  16216. }, s5;
  16217. }();
  16218. t4.NC = s4;
  16219. }(V || (V = {})), function(t4) {
  16220. var i4 = function() {
  16221. function i5(i6) {
  16222. this.Fs = this.sk = this.tb = null, this.bg = 0, this.Bm = false, this.Af = -1, this.El = this.Kd = 0, this.gb = -1, this.ib = i6, this.bg = this.Vx(this.El), this.Bm = false, this.sk = null, this.Fs = new t4.h();
  16223. }
  16224. return i5.prototype.tW = function(i6) {
  16225. if (this.ib != i6.ib)
  16226. throw t4.i.Hb();
  16227. this.Af = i6.Af, this.Kd = i6.Kd, this.gb = i6.gb, this.El = i6.El, this.bg = i6.bg, this.Bm = i6.Bm, this.sk = null;
  16228. }, i5.prototype.ia = function() {
  16229. if (this.Af != this.Kd && this.vD(), this.Bm)
  16230. this.Kd = (this.Kd + 1) % this.bg;
  16231. else {
  16232. if (this.Kd == this.bg)
  16233. throw t4.i.re();
  16234. this.Kd++;
  16235. }
  16236. return this.sk;
  16237. }, i5.prototype.ni = function() {
  16238. if (this.Bm)
  16239. this.Kd = (this.bg + this.Kd - 1) % this.bg;
  16240. else {
  16241. if (this.Kd == 0)
  16242. throw t4.i.re();
  16243. this.Kd--;
  16244. }
  16245. return this.Kd != this.Af && this.vD(), this.sk;
  16246. }, i5.prototype.uW = function() {
  16247. this.Af = -1, this.Kd = 0;
  16248. }, i5.prototype.vW = function() {
  16249. this.Kd = this.bg, this.Af = -1;
  16250. }, i5.prototype.Wb = function(t5, i6) {
  16251. if (i6 === void 0 && (i6 = -1), 0 <= this.gb && this.gb < this.ib.ea()) {
  16252. var s4 = this.CM();
  16253. if (t5 >= s4 && t5 < this.ib.Wc(this.gb))
  16254. return this.Af = -1, void (this.Kd = t5 - s4);
  16255. }
  16256. i6 = 0 <= i6 && i6 < this.ib.ea() && t5 >= this.ib.Ca(i6) && t5 < this.ib.Wc(i6) ? i6 : this.ib.nz(t5), this.El = i6 + 1, this.gb = i6, this.Af = -1, this.Kd = t5 - this.ib.Ca(i6), this.bg = this.Vx(i6), this.ib.Ca(this.gb), this.ib.ec(this.gb);
  16257. }, i5.prototype.ab = function() {
  16258. return this.gb = this.El, !(this.gb >= this.ib.ea()) && (this.Af = -1, this.Kd = 0, this.bg = this.Vx(this.gb), this.ib.Ca(this.gb), this.ib.ec(this.gb), this.El++, true);
  16259. }, i5.prototype.aj = function() {
  16260. this.bg = this.Kd = this.Af = -1, this.El = 0, this.gb = -1;
  16261. }, i5.prototype.Vx = function(t5) {
  16262. if (this.ib.Bc())
  16263. return 0;
  16264. var i6 = 1;
  16265. return this.ib.ec(t5) && (i6 = 0), this.ib.Ka(t5) - i6;
  16266. }, i5.prototype.Pn = function() {
  16267. return this.Af == this.bg - 1 && this.ib.ec(this.gb);
  16268. }, i5.prototype.DB = function() {
  16269. this.Bm = true;
  16270. }, i5.prototype.xb = function() {
  16271. return this.ib.nb.o[this.gb] + this.Af;
  16272. }, i5.prototype.CM = function() {
  16273. return this.ib.Ca(this.gb);
  16274. }, i5.prototype.jk = function() {
  16275. return this.Pn() ? this.ib.Ca(this.gb) : this.xb() + 1;
  16276. }, i5.prototype.xm = function() {
  16277. return this.Af == 0;
  16278. }, i5.prototype.Rn = function() {
  16279. return this.Af == this.bg - 1;
  16280. }, i5.prototype.Ia = function() {
  16281. return this.Kd < this.bg;
  16282. }, i5.prototype.zz = function() {
  16283. return 0 < this.Kd;
  16284. }, i5.prototype.Pf = function() {
  16285. var t5 = new i5(this.ib);
  16286. return t5.Af = this.Af, t5.Kd = this.Kd, t5.bg = this.bg, t5.gb = this.gb, t5.El = this.El, t5.ib = this.ib, t5.Bm = this.Bm, t5;
  16287. }, i5.prototype.vD = function() {
  16288. if (0 > this.Kd || this.Kd >= this.bg)
  16289. throw t4.i.re();
  16290. this.Af = this.Kd;
  16291. var i6 = this.xb();
  16292. this.ib.rc();
  16293. var s4 = this.ib.Se, n4 = 1;
  16294. switch (s4 != null && (n4 = 7 & s4.read(i6)), s4 = this.ib.description, n4) {
  16295. case 1:
  16296. this.tb == null && (this.tb = new t4.zb()), this.sk = this.tb;
  16297. break;
  16298. case 2:
  16299. throw t4.i.ga("internal error");
  16300. default:
  16301. throw t4.i.Ra();
  16302. }
  16303. this.sk.kg(s4), n4 = this.jk(), this.ib.Hc(i6, this.Fs), this.sk.Ec(this.Fs), this.ib.Hc(n4, this.Fs), this.sk.Rc(this.Fs);
  16304. for (var h2 = 1, r2 = s4.Ba; h2 < r2; h2++)
  16305. for (var e2 = s4.qd(h2), o2 = t4.ua.Wa(e2), a2 = 0; a2 < o2; a2++) {
  16306. var u2 = this.ib.Vc(e2, i6, a2);
  16307. this.sk.SB(e2, a2, u2), u2 = this.ib.Vc(e2, n4, a2), this.sk.IB(e2, a2, u2);
  16308. }
  16309. }, i5.prototype.SS = function() {
  16310. return this.gb == this.ib.ea() - 1;
  16311. }, i5.prototype.Qn = function() {
  16312. var t5 = this.ib.OR();
  16313. return t5 != null && (7 & t5.read(this.Af)) != 1;
  16314. }, i5;
  16315. }();
  16316. t4.SL = i4;
  16317. }(V || (V = {})), function(t4) {
  16318. var i4 = function() {
  16319. function i5(i6) {
  16320. i6 instanceof t4.ba ? (this.rH = i6, this.za = -1, this.Gi = 1) : (this.mT = i6.slice(0), this.za = -1, this.Gi = i6.length);
  16321. }
  16322. return i5.prototype.Ma = function() {
  16323. return this.za;
  16324. }, i5.prototype.next = function() {
  16325. return this.za < this.Gi - 1 ? (this.za++, this.rH != null ? this.rH : this.mT[this.za]) : null;
  16326. }, i5.prototype.qe = function() {
  16327. }, i5;
  16328. }();
  16329. t4.$c = i4;
  16330. }(V || (V = {})), function(t4) {
  16331. var i4 = function() {
  16332. this.next = null;
  16333. }, s4 = function() {
  16334. function s5() {
  16335. this.Vq = this.Mw = this.Nw = 0, this.eF = false, this.aK = 0, this.jn = this.Lf = this.Yl = this.Lh = null, this.Ql = 0, this.qy = null, this.rl = this.ri = -1;
  16336. }
  16337. return s5.prototype.sX = function(i5, s6, n4) {
  16338. this.ri = i5, this.rl = s6, this.Lh = this.Yl = null, this.Vq = 0, this.qy = n4, this.jn == null && (this.jn = t4.P.lg(384, 0)), this.hK();
  16339. }, s5.prototype.S = function() {
  16340. return this.ri;
  16341. }, s5.prototype.da = function() {
  16342. return this.rl;
  16343. }, s5.prototype.flush = function() {
  16344. 0 < this.Ql && (this.qy.aF(this.jn, this.Ql), this.Ql = 0);
  16345. }, s5.prototype.hK = function() {
  16346. if (0 < this.Vq) {
  16347. for (var t5 = 0; t5 < this.rl; t5++) {
  16348. for (var i5 = this.Yl[t5]; i5 != null; ) {
  16349. var s6 = i5;
  16350. i5 = i5.next, s6.next = null;
  16351. }
  16352. this.Yl[t5] = null;
  16353. }
  16354. this.Lh = null;
  16355. }
  16356. this.Nw = this.rl, this.Mw = -1, this.Vq = 0;
  16357. }, s5.prototype.cJ = function(t5) {
  16358. for (this.eF = t5 == s5.Bx, t5 = this.Nw; t5 <= this.Mw; t5++)
  16359. this.mN(), this.fN(t5), this.TP();
  16360. this.hK();
  16361. }, s5.prototype.fy = function(s6, n4, h2, r2) {
  16362. if (n4 != r2) {
  16363. var e2 = 1;
  16364. if (n4 > r2 && (e2 = s6, s6 = h2, h2 = e2, e2 = n4, n4 = r2, r2 = e2, e2 = -1), !(0 > r2 || n4 >= this.rl)) {
  16365. 0 > s6 && 0 > h2 ? h2 = s6 = -1 : s6 >= this.ri && h2 >= this.ri && (h2 = s6 = this.ri);
  16366. var o2 = (h2 - s6) / (r2 - n4);
  16367. r2 > this.rl && (h2 = o2 * ((r2 = this.rl) - n4) + s6), 0 > n4 && (s6 = o2 * (0 - n4) + s6, n4 = 0);
  16368. var a2 = Math.max(this.ri + 1, 8388607);
  16369. -8388607 > s6 ? (n4 = (0 - s6) / o2 + n4, s6 = 0) : s6 > a2 && (n4 = (this.ri - s6) / o2 + n4, s6 = this.ri), -8388607 > h2 ? r2 = (0 - s6) / o2 + n4 : h2 > a2 && (r2 = (this.ri - s6) / o2 + n4), (n4 = t4.P.truncate(n4)) != (r2 = t4.P.truncate(r2)) && ((h2 = new i4()).x = t4.P.truncate(4294967296 * s6), h2.y = n4, h2.H = r2, h2.QP = t4.P.truncate(4294967296 * o2), h2.dir = e2, this.Yl == null && (this.Yl = t4.P.lg(this.rl, null)), h2.next = this.Yl[h2.y], this.Yl[h2.y] = h2, h2.y < this.Nw && (this.Nw = h2.y), h2.H > this.Mw && (this.Mw = h2.H), this.Vq++);
  16370. }
  16371. }
  16372. }, s5.prototype.mN = function() {
  16373. if (this.Lh != null) {
  16374. for (var t5 = false, i5 = null, s6 = this.Lh; s6 != null; )
  16375. if (s6.y++, s6.y == s6.H) {
  16376. var n4 = s6;
  16377. s6 = s6.next, i5 != null ? i5.next = s6 : this.Lh = s6, n4.next = null;
  16378. } else
  16379. s6.x += s6.QP, i5 != null && i5.x > s6.x && (t5 = true), i5 = s6, s6 = s6.next;
  16380. t5 && (this.Lh = this.$J(this.Lh));
  16381. }
  16382. }, s5.prototype.fN = function(t5) {
  16383. if (!(t5 >= this.rl)) {
  16384. var i5 = this.Yl[t5];
  16385. if (i5 != null) {
  16386. this.Yl[t5] = null, i5 = this.$J(i5), this.Vq -= this.aK, t5 = this.Lh;
  16387. for (var s6 = true, n4 = i5, h2 = null; t5 != null && n4 != null; )
  16388. t5.x > n4.x ? (s6 && (this.Lh = n4), s6 = n4.next, n4.next = t5, h2 != null && (h2.next = n4), h2 = n4, n4 = s6) : (s6 = t5.next, t5.next = n4, h2 != null && (h2.next = t5), h2 = t5, t5 = s6), s6 = false;
  16389. this.Lh == null && (this.Lh = i5);
  16390. }
  16391. }
  16392. }, s5.ZJ = function(t5, i5) {
  16393. return 0 > t5 ? 0 : t5 > i5 ? i5 : t5;
  16394. }, s5.prototype.TP = function() {
  16395. if (this.Lh != null) {
  16396. for (var i5 = 0, n4 = this.Lh, h2 = t4.P.truncate(t4.P.QG(n4.x)), r2 = n4.next; r2 != null; r2 = r2.next)
  16397. if (i5 = this.eF ? 1 ^ i5 : i5 + r2.dir, r2.x > n4.x) {
  16398. var e2 = t4.P.truncate(t4.P.QG(r2.x));
  16399. i5 != 0 && (n4 = s5.ZJ(h2, this.ri), (h2 = s5.ZJ(e2, this.ri)) > n4 && n4 < this.ri && (this.jn[this.Ql++] = n4, this.jn[this.Ql++] = h2, this.jn[this.Ql++] = r2.y, this.Ql == this.jn.length && (this.qy.aF(this.jn, this.Ql), this.Ql = 0))), n4 = r2, h2 = e2;
  16400. }
  16401. }
  16402. }, s5.prototype.$J = function(i5) {
  16403. for (var n4 = 0, h2 = i5; h2 != null; h2 = h2.next)
  16404. n4++;
  16405. if (this.aK = n4, n4 == 1)
  16406. return i5;
  16407. this.Lf == null ? this.Lf = t4.P.lg(Math.max(n4, 16), null) : this.Lf.length < n4 && (this.Lf = t4.P.lg(Math.max(n4, 2 * this.Lf.length), null));
  16408. var r2 = 0;
  16409. for (h2 = i5; h2 != null; h2 = h2.next)
  16410. this.Lf[r2++] = h2;
  16411. for (n4 == 2 ? this.Lf[0].x > this.Lf[1].x && (i5 = this.Lf[0], this.Lf[0] = this.Lf[1], this.Lf[1] = i5) : s5.uN(this.Lf, n4, function(t5, i6) {
  16412. return t5 == i6 ? 0 : t5.x < i6.x ? -1 : t5.x > i6.x ? 1 : 0;
  16413. }), i5 = this.Lf[0], this.Lf[0] = null, h2 = i5, r2 = 1; r2 < n4; r2++)
  16414. h2.next = this.Lf[r2], h2 = this.Lf[r2], this.Lf[r2] = null;
  16415. return h2.next = null, i5;
  16416. }, s5.uN = function(t5, i5, s6) {
  16417. if (i5 == t5.length)
  16418. t5.sort(s6);
  16419. else {
  16420. var n4 = t5.slice(0, 0), h2 = t5.slice(i5);
  16421. i5 = t5.slice(0, i5).sort(s6), t5.length = 0, t5.push.apply(t5, n4.concat(i5).concat(h2));
  16422. }
  16423. }, s5.Bx = 0, s5;
  16424. }();
  16425. t4.Ox = s4;
  16426. }(V || (V = {})), function(t4) {
  16427. var i4 = function() {
  16428. function i5() {
  16429. }
  16430. return i5.prototype.wi = function(t5, i6) {
  16431. var s4 = this.g.Qa(t5, this.Rq);
  16432. if (this.Fl == s4 && (this.Fl = this.oe.lb(this.Fl)), this.io == s4 && (this.io = this.oe.lb(this.io)), this.oe.kd(this.LA, s4), this.ck(t5), i6 && ((i6 = this.g.cd(t5)) != -1 && this.g.Ya(i6) == t5)) {
  16433. var n4 = this.g.V(t5);
  16434. if (n4 != t5) {
  16435. if ((s4 = this.g.cd(n4)) == i6)
  16436. return void this.g.Kf(i6, n4);
  16437. if ((n4 = this.g.Na(t5)) != t5 && (s4 = this.g.cd(n4)) == i6)
  16438. return void this.g.Kf(i6, n4);
  16439. }
  16440. this.g.Kf(i6, -1), this.g.Yg(i6, -1);
  16441. }
  16442. }, i5.prototype.jD = function() {
  16443. for (var i6 = false, s4 = new t4.h(); ; ) {
  16444. this.Yh == null ? (this.Yh = new t4.ja(0), this.Bs = new t4.ja(0), this.ye = new t4.ja(0)) : (this.Yh.clear(false), this.Bs.clear(false), this.ye.clear(false));
  16445. for (var n4 = this.io, h2 = 0, r2 = true; n4 != this.Fl; ) {
  16446. var e2 = this.oe.getData(n4), o2 = new t4.h();
  16447. this.g.Hc(e2, o2), r2 && (this.g.Hc(e2, s4), r2 = false), o2 = this.g.Na(e2);
  16448. var a2 = this.g.V(e2);
  16449. this.g.Qa(o2, this.zg) != -559038737 && (this.Yh.add(o2), this.g.Sa(o2, this.zg, -559038737), this.Bs.add(e2), this.ye.add(h2++)), this.g.Qa(a2, this.zg) != -559038737 && (this.Yh.add(a2), this.g.Sa(a2, this.zg, -559038737), this.Bs.add(e2), this.ye.add(h2++)), n4 = this.oe.lb(n4);
  16450. }
  16451. if (2 > this.Yh.size)
  16452. break;
  16453. var u2 = this;
  16454. for (this.ye.Wd(0, this.ye.size, function(t5, i7) {
  16455. return u2.jM(t5, i7);
  16456. }), n4 = 0, h2 = this.ye.size; n4 < h2; n4++)
  16457. r2 = this.ye.get(n4), r2 = this.Yh.get(r2), this.g.Sa(r2, this.zg, n4), o2 = new t4.h(), this.g.Hc(r2, o2);
  16458. for (o2 = this.NM(s4), n4 = 0, h2 = this.ye.size; n4 < h2; n4++)
  16459. (r2 = this.ye.get(n4)) != -1 && (r2 = this.Yh.get(r2), this.g.Sa(r2, this.zg, -1));
  16460. if (!o2)
  16461. break;
  16462. i6 = true;
  16463. }
  16464. return i6;
  16465. }, i5.prototype.NM = function(t5) {
  16466. for (var i6 = false, s4 = true; s4; ) {
  16467. s4 = false;
  16468. var n4 = 0;
  16469. this.ye.get(n4) == -1 && (n4 = this.em(n4));
  16470. for (var h2 = this.em(n4), r2 = 0, e2 = this.ye.size; r2 < e2 && n4 != -1 && h2 != -1 && n4 != h2; r2++) {
  16471. var o2 = this.ye.get(n4);
  16472. h2 = this.ye.get(h2), o2 = this.Yh.get(o2), h2 = this.Yh.get(h2);
  16473. var a2 = this.g.V(o2);
  16474. this.g.Fv(a2, t5) || (a2 = this.g.Na(o2));
  16475. var u2 = this.g.V(h2);
  16476. this.g.Fv(u2, t5) || (u2 = this.g.Na(h2));
  16477. var f2 = this.ru(a2, o2), c2 = this.ru(u2, h2), l2 = f2 ? this.g.Na(a2) : this.g.V(a2), p2 = c2 ? this.g.Na(u2) : this.g.V(u2), v2 = false;
  16478. (this.tp(a2) || this.tp(u2) || this.tp(o2) || this.tp(h2) || this.tp(l2) || this.tp(p2)) && (v2 = true), !v2 && this.g.hq(o2, h2) && (v2 = true, this.nD(f2, c2, a2, o2, u2, h2)), !v2 && this.g.hq(l2, p2) && (v2 = true, this.nD(!f2, !c2, a2, l2, u2, p2)), v2 && (i6 = true), s4 = s4 || v2, n4 = this.em(n4), h2 = this.em(n4);
  16479. }
  16480. }
  16481. if (!i6)
  16482. for (n4 = 0, this.ye.get(n4) == -1 && (n4 = this.em(n4)), h2 = this.em(n4), r2 = 0, e2 = this.ye.size; r2 < e2 && n4 != -1 && h2 != -1 && n4 != h2; r2++)
  16483. o2 = this.ye.get(n4), h2 = this.ye.get(h2), o2 = this.Yh.get(o2), h2 = this.Yh.get(h2), a2 = this.g.V(o2), this.g.Fv(a2, t5) || (a2 = this.g.Na(o2)), u2 = this.g.V(h2), this.g.Fv(u2, t5) || (u2 = this.g.Na(h2)), f2 = this.ru(a2, o2), c2 = this.ru(u2, h2), l2 = f2 ? this.g.Na(a2) : this.g.V(a2), p2 = c2 ? this.g.Na(u2) : this.g.V(u2), this.xM(f2, c2, o2, a2, l2, h2, u2, p2) && (i6 = true), n4 = this.em(n4), h2 = this.em(n4);
  16484. return i6;
  16485. }, i5.prototype.RM = function() {
  16486. this.g.jc(this.Y) == 1736 && this.g.Jn(this.Y) == 1 && new t4.Hg().EU(this.hw, this.g, this.Y, this.nd);
  16487. var i6 = false, s4 = true;
  16488. this.zg = this.Rq = -1;
  16489. var n4 = this.g.I(this.Y), h2 = new t4.ja(0);
  16490. h2.Jb(n4);
  16491. for (var r2 = this.g.Ob(this.Y); r2 != -1; r2 = this.g.Sb(r2))
  16492. for (var e2 = this.g.Ya(r2), o2 = 0, a2 = this.g.Ka(r2); o2 < a2; o2++)
  16493. h2.add(e2), e2 = this.g.V(e2);
  16494. var u2 = this.g.ud.o, f2 = this.g.ud.Mf;
  16495. this.g.wb.rc();
  16496. var c2 = this.g.wb.Aa[0].o;
  16497. for (h2.Wd(0, n4, function(t5, i7) {
  16498. var s5 = u2[f2 * t5], n5 = u2[f2 * i7], h3 = c2[2 * s5];
  16499. s5 = c2[2 * s5 + 1];
  16500. var r3 = c2[2 * n5];
  16501. return (h3 = s5 < (n5 = c2[2 * n5 + 1]) ? -1 : s5 > n5 ? 1 : h3 < r3 ? -1 : h3 > r3 ? 1 : 0) == 0 && (h3 = (t5 = u2[f2 * t5 + 3]) < (i7 = u2[f2 * i7 + 3]) ? -1 : t5 == i7 ? 0 : 1), h3;
  16502. }), this.Rq = this.g.Hd(), this.oe = new t4.kp(), this.LA = this.oe.Rh(0), this.oe.hn(n4), r2 = 0; r2 < n4; r2++)
  16503. e2 = h2.get(r2), o2 = this.oe.addElement(this.LA, e2), this.g.Sa(e2, this.Rq, o2);
  16504. for (this.zg = this.g.Hd(), this.Fl = -1, this.XC() && (i6 = true); s4; ) {
  16505. s4 = false, n4 = 0, h2 = false;
  16506. do {
  16507. h2 = false, this.io = -1, a2 = 0, r2 = new t4.h(), o2 = new t4.h();
  16508. for (var l2 = this.oe.sc(this.LA); l2 != -1; )
  16509. e2 = this.oe.getData(l2), this.io != -1 ? (this.g.Hc(e2, o2), r2.rb(o2) ? a2++ : (r2.N(o2), this.Fl = l2, 0 < a2 && (e2 = this.jD()) && (h2 = true, this.Fl != -1 && (e2 = this.oe.getData(this.Fl), this.g.Hc(e2, r2))), this.io = l2 = this.Fl, a2 = 0)) : (this.io = l2, this.g.Hc(this.oe.getData(l2), r2), a2 = 0), l2 != -1 && (l2 = this.oe.lb(l2));
  16510. if (this.Fl = -1, 0 < a2 && (e2 = this.jD()) && (h2 = true), 10 < n4++)
  16511. throw t4.i.Ra();
  16512. h2 && this.AM(), this.XC() && (h2 = true), s4 = s4 || h2 && false, i6 = i6 || h2;
  16513. } while (h2);
  16514. }
  16515. return this.g.Ud(this.Rq), this.g.Ud(this.zg), t4.QL.W(this.g, this.Y, this.oe, this.hw) || i6;
  16516. }, i5.prototype.ru = function(t5, i6) {
  16517. return this.g.V(i6) != t5;
  16518. }, i5.prototype.xM = function(t5, i6, s4, n4, h2, r2, e2, o2) {
  16519. if (n4 == e2)
  16520. return this.ck(s4), this.ck(r2), false;
  16521. var a2 = this.g.Qa(s4, this.zg), u2 = this.g.Qa(h2, this.zg), f2 = this.g.Qa(r2, this.zg), c2 = this.g.Qa(o2, this.zg), l2 = [0, 0, 0, 0];
  16522. for ((s4 = [0, 0, 0, 0, 0, 0, 0, 0])[0] = 0, l2[0] = a2, s4[1] = 0, l2[1] = u2, s4[2] = 1, l2[2] = f2, s4[3] = 1, l2[3] = c2, a2 = 1; 4 > a2; a2++) {
  16523. for (u2 = l2[a2], f2 = s4[a2], c2 = a2 - 1; 0 <= c2 && l2[c2] > u2; )
  16524. l2[c2 + 1] = l2[c2], s4[c2 + 1] = s4[c2], c2--;
  16525. l2[c2 + 1] = u2, s4[c2 + 1] = f2;
  16526. }
  16527. return l2 = 0, s4[0] != 0 && (l2 |= 1), s4[1] != 0 && (l2 |= 2), s4[2] != 0 && (l2 |= 4), s4[3] != 0 && (l2 |= 8), (l2 == 5 || l2 == 10) && (t5 == i6 ? t5 ? (this.g.Cc(o2, n4), this.g.Dc(n4, o2), this.g.Cc(h2, e2), this.g.Dc(e2, h2)) : (this.g.Dc(o2, n4), this.g.Cc(n4, o2), this.g.Dc(h2, e2), this.g.Cc(e2, h2)) : t5 ? (this.g.Dc(n4, r2), this.g.Cc(r2, n4), this.g.Dc(e2, h2), this.g.Cc(h2, e2)) : (this.g.Cc(n4, r2), this.g.Dc(r2, n4), this.g.Cc(e2, h2), this.g.Dc(h2, e2)), true);
  16528. }, i5.prototype.nD = function(t5, i6, s4, n4, h2, r2) {
  16529. this.EY ? this.PM() : this.OM(t5, i6, s4, n4, h2, r2);
  16530. }, i5.prototype.PM = function() {
  16531. throw t4.i.ga("not implemented.");
  16532. }, i5.prototype.OM = function(t5, i6, s4, n4, h2, r2) {
  16533. if (t5 != i6)
  16534. t5 ? (this.g.Cc(s4, h2), this.g.Dc(h2, s4), this.g.Cc(r2, n4), this.g.Dc(n4, r2), this.wn(h2, s4), this.wi(h2, true), this.g.oi(h2, true), this.ck(s4), this.wn(r2, n4), this.wi(r2, true), this.g.oi(r2, false)) : (this.g.Cc(h2, s4), this.g.Dc(s4, h2), this.g.Cc(n4, r2), this.g.Dc(r2, n4), this.wn(h2, s4), this.wi(h2, true), this.g.oi(h2, false), this.ck(s4), this.wn(r2, n4), this.wi(r2, true), this.g.oi(r2, true)), this.ck(n4);
  16535. else {
  16536. var e2 = t5 ? s4 : n4, o2 = i6 ? h2 : r2;
  16537. for (t5 = t5 ? n4 : s4, i6 = i6 ? r2 : h2, h2 = false, this.g.Cc(e2, o2), this.g.Cc(o2, e2), this.g.Dc(t5, i6), this.g.Dc(i6, t5), r2 = i6; r2 != o2; )
  16538. s4 = this.g.Na(r2), n4 = this.g.V(r2), this.g.Dc(r2, n4), this.g.Cc(r2, s4), h2 = h2 || r2 == e2, r2 = n4;
  16539. h2 || (s4 = this.g.Na(o2), n4 = this.g.V(o2), this.g.Dc(o2, n4), this.g.Cc(o2, s4)), this.wn(o2, e2), this.wi(o2, true), this.g.oi(o2, false), this.ck(e2), this.wn(i6, t5), this.wi(i6, true), this.g.oi(i6, false), this.ck(t5);
  16540. }
  16541. }, i5.prototype.XC = function() {
  16542. for (var t5 = false, i6 = this.g.Ob(this.Y); i6 != -1; ) {
  16543. for (var s4 = this.g.Ya(i6), n4 = 0, h2 = this.g.Ka(i6); n4 < h2 && 1 < h2; ) {
  16544. var r2 = this.g.Na(s4), e2 = this.g.V(s4);
  16545. this.g.hq(r2, e2) ? (t5 = true, this.wi(s4, false), this.g.pd(s4, true), this.wi(e2, false), this.g.pd(e2, true), s4 = r2, n4 = 0, h2 = this.g.Ka(i6)) : (s4 = e2, n4++);
  16546. }
  16547. if (2 > this.g.Ka(i6)) {
  16548. for (t5 = this.g.Ya(i6), n4 = 0, h2 = this.g.Ka(i6); n4 < h2; n4++)
  16549. this.wi(t5, false), t5 = this.g.V(t5);
  16550. i6 = this.g.ar(i6), t5 = true;
  16551. } else
  16552. i6 = this.g.Sb(i6);
  16553. }
  16554. return t5;
  16555. }, i5.prototype.tp = function(t5) {
  16556. for (var i6 = false; ; ) {
  16557. var s4 = this.g.V(t5), n4 = this.g.Na(t5);
  16558. if (s4 == t5)
  16559. return this.wi(t5, true), this.g.oi(t5, false), true;
  16560. if (!this.g.hq(s4, n4))
  16561. break;
  16562. if (i6 = true, this.ck(n4), this.ck(s4), this.wi(t5, true), this.g.oi(t5, false), this.wn(s4, n4), this.wi(s4, true), this.g.oi(s4, true), s4 == n4)
  16563. break;
  16564. t5 = n4;
  16565. }
  16566. return i6;
  16567. }, i5.prototype.AM = function() {
  16568. for (var t5 = 0, i6 = this.oe.sc(this.oe.je); i6 != -1; i6 = this.oe.lb(i6)) {
  16569. var s4 = this.oe.getData(i6);
  16570. this.g.cj(s4, -1);
  16571. }
  16572. for (var n4 = 0, h2 = this.g.Ob(this.Y); h2 != -1; )
  16573. if ((i6 = this.g.Ya(h2)) == -1 || this.g.cd(i6) != -1)
  16574. s4 = h2, h2 = this.g.Sb(h2), this.g.br(s4);
  16575. else {
  16576. this.g.cj(i6, h2);
  16577. var r2 = 1;
  16578. for (s4 = this.g.V(i6); s4 != i6; s4 = this.g.V(s4))
  16579. this.g.cj(s4, h2), r2++;
  16580. this.g.ep(h2, false), this.g.Xj(h2, r2), this.g.Yg(h2, this.g.Na(i6)), n4 += r2, t5++, h2 = this.g.Sb(h2);
  16581. }
  16582. for (i6 = this.oe.sc(this.oe.je); i6 != -1; i6 = this.oe.lb(i6))
  16583. s4 = this.oe.getData(i6), this.g.cd(s4) == -1 && (h2 = this.g.hG(this.Y, s4, s4, null), n4 += this.g.Ka(h2), t5++);
  16584. for (this.g.Tl(this.Y, t5), this.g.Vj(this.Y, n4), t5 = 0, n4 = this.g.ld; n4 != -1; n4 = this.g.ve(n4))
  16585. t5 += this.g.I(n4);
  16586. this.g.WB(t5);
  16587. }, i5.prototype.em = function(t5) {
  16588. for (var i6 = 0, s4 = this.ye.size - 1; i6 < s4; i6++)
  16589. if (t5 = (t5 + 1) % this.ye.size, this.ye.get(t5) != -1)
  16590. return t5;
  16591. return -1;
  16592. }, i5.prototype.wn = function(t5, i6) {
  16593. var s4 = this.g.Qa(i6, this.Rq), n4 = this.g.Qa(i6, this.zg);
  16594. this.g.fC(t5, i6), this.g.Sa(i6, this.Rq, s4), this.g.Sa(i6, this.zg, n4);
  16595. }, i5.prototype.ck = function(t5) {
  16596. var i6 = this.g.Qa(t5, this.zg);
  16597. i6 != -1 && (this.ye.set(i6, -1), this.g.Sa(t5, this.zg, -1));
  16598. }, i5.W = function(t5, s4, n4, h2, r2) {
  16599. var e2 = new i5();
  16600. return e2.g = t5, e2.Y = s4, e2.rA = n4, e2.hw = h2, e2.nd = r2, e2.RM();
  16601. }, i5.prototype.jM = function(i6, s4) {
  16602. var n4 = this.Yh.get(i6), h2 = new t4.h();
  16603. this.g.Hc(n4, h2), n4 = new t4.h();
  16604. var r2 = this.Yh.get(s4);
  16605. return this.g.Hc(r2, n4), h2.rb(n4) ? 0 : (r2 = this.Bs.get(i6), i6 = new t4.h(), this.g.Hc(r2, i6), r2 = this.Bs.get(s4), s4 = new t4.h(), this.g.Hc(r2, s4), (r2 = new t4.h()).vc(h2, i6), (h2 = new t4.h()).vc(n4, s4), t4.h.pu(r2, h2));
  16606. }, i5;
  16607. }();
  16608. t4.tn = i4;
  16609. }(V || (V = {})), function(t4) {
  16610. var i4;
  16611. (i4 = t4.UL || (t4.UL = {}))[i4.Local = 0] = "Local", i4[i4.Geographic = 1] = "Geographic", i4[i4.Projected = 2] = "Projected", i4[i4.Image = 3] = "Image", i4[i4.Unknown = 4] = "Unknown", function(t5) {
  16612. t5[t5.Integer32 = 0] = "Integer32", t5[t5.Integer64 = 1] = "Integer64", t5[t5.FloatingPoint = 2] = "FloatingPoint";
  16613. }(t4.NL || (t4.NL = {}));
  16614. var s4 = function() {
  16615. function i5() {
  16616. this.qp = "", this.uu = null, this.eg = 0, this.TH = this.Io = -1, this.yh = null;
  16617. }
  16618. return i5.prototype.Fc = function() {
  16619. return this.eg;
  16620. }, i5.prototype.PF = function() {
  16621. return 1;
  16622. }, i5.prototype.Yd = function() {
  16623. var i6 = 1e-3;
  16624. return this.eg != 0 ? i6 = t4.yr.wQ(this.eg) : this.yh != null && (i6 = t4.RC.xQ(this.yh)), i6;
  16625. }, i5.prototype.wz = function() {
  16626. return this.yh;
  16627. }, i5.prototype.Id = function() {
  16628. return this.eg != 0 ? t4.Uc.ah(t4.yr.Ny(this.eg)) : this.yh != null ? t4.RC.yQ(this.yh) : void 0;
  16629. }, i5.Tb = function(i6) {
  16630. if (i6.eg != 0) {
  16631. if (t4.yr.RS(i6.eg) === true)
  16632. return 1;
  16633. if (t4.yr.TS(i6.eg) === true)
  16634. return 2;
  16635. }
  16636. return 4;
  16637. }, i5.prototype.cs = function() {
  16638. var i6 = this.Fc();
  16639. return this.Io != -1 ? this.Io : (this.Io = t4.yr.zK(i6), this.Io != -1 ? this.Io : i6);
  16640. }, i5.create = function(s5) {
  16641. if (0 >= s5)
  16642. throw t4.i.O("Invalid or unsupported wkid: " + s5);
  16643. var n4 = new i5();
  16644. return n4.eg = s5, n4;
  16645. }, i5.kP = function(s5) {
  16646. if (s5 == null || s5.length == 0)
  16647. throw t4.i.O("Cannot create SpatialReference from null or empty text.");
  16648. var n4 = new i5();
  16649. return n4.yh = s5, n4;
  16650. }, i5.prototype.Nb = function(t5) {
  16651. return this == t5 || t5 != null && this.constructor == t5.constructor && this.eg == t5.eg && (this.eg != 0 || this.yh === t5.yh);
  16652. }, i5.prototype.toString = function() {
  16653. return "[ tol: " + this.Ln() + "; wkid: " + this.Fc() + "; wkt: " + this.wz() + "]";
  16654. }, i5.prototype.dc = function() {
  16655. if (this.qp !== "")
  16656. return this.qp;
  16657. var t5 = this.toString();
  16658. if (Array.prototype.reduce)
  16659. return this.qp = "S" + t5.split("").reduce(function(t6, i7) {
  16660. return (t6 = (t6 << 5) - t6 + i7.charCodeAt(0)) & t6;
  16661. }, 0);
  16662. var i6 = 0;
  16663. if (t5.length === 0)
  16664. return "";
  16665. for (var s5 = 0; s5 < t5.length; s5++)
  16666. i6 = (i6 << 5) - i6 + t5.charCodeAt(s5), i6 &= i6;
  16667. return this.qp = "S" + i6;
  16668. }, i5.prototype.Ln = function() {
  16669. return this.Yd(0);
  16670. }, i5.prototype.hh = function() {
  16671. return this.uu !== null ? this.uu : this.uu = t4.iu.sP(this);
  16672. }, i5.TN = 2147483645, i5.UN = 9007199254740990, i5;
  16673. }();
  16674. t4.Gg = s4;
  16675. }(V || (V = {})), function(t4) {
  16676. var i4 = function(i5) {
  16677. function s4() {
  16678. var s5 = i5 !== null && i5.apply(this, arguments) || this;
  16679. return s5.Li = null, s5.KT = null, s5.Jq = new t4.TL(), s5.Fo = null, s5.lw = null, s5;
  16680. }
  16681. return Q(s4, i5), s4.sP = function(i6) {
  16682. var n4 = new s4();
  16683. if (n4.eg = i6.eg, n4.Io = i6.Io, n4.TH = i6.TH, n4.yh = i6.yh, n4.yh !== "" && n4.yh !== null) {
  16684. i6 = s4.eM(n4.yh);
  16685. var h2 = s4.cM(n4.yh);
  16686. n4.Jq.Wx(i6, h2, t4.ju.Integer64), n4.ay(i6), n4.cy(h2), n4.eg = i6.cs();
  16687. } else
  16688. i6 = s4.dM(n4.eg), n4.ay(i6), n4.cy(null), n4.Jq.Wx(i6, null, t4.ju.Integer64);
  16689. return n4;
  16690. }, s4.prototype.Yd = function(t5) {
  16691. return this.Jq.Ln(t5);
  16692. }, s4.cM = function(i6) {
  16693. if (0 >= i6.length)
  16694. throw t4.i.O();
  16695. var n4 = null;
  16696. try {
  16697. n4 = t4.HC.fromString(i6);
  16698. } catch (h2) {
  16699. n4 = null;
  16700. }
  16701. return n4 == null ? null : s4.WC(n4, true);
  16702. }, s4.prototype.ay = function(t5) {
  16703. this.Ld = t5, this.Fo = this.Ld.Id();
  16704. }, s4.prototype.cy = function(t5) {
  16705. this.EH = t5, this.KT = this.EH != null ? this.EH.Fo : null;
  16706. }, s4.prototype.Xc = function() {
  16707. return this.Tb() != 0 && this.Tb() != 3 && this.Ld.Xc();
  16708. }, s4.prototype.CG = function() {
  16709. return this.Tb() != 0 && (this.Tb() == 3 ? this.Li.gk().Xc() : this.Ld.Xc());
  16710. }, s4.prototype.gh = function() {
  16711. return this.Ld != null ? this.Ld.Re : null;
  16712. }, s4.prototype.rm = function() {
  16713. return this.Ld.rm();
  16714. }, s4.prototype.bf = function() {
  16715. return this.Ld.bf();
  16716. }, s4.prototype.jh = function() {
  16717. return this.Ld != null ? this.Ld.uw : NaN;
  16718. }, s4.prototype.Wp = function() {
  16719. return this.Ld.Wp();
  16720. }, s4.prototype.Yr = function() {
  16721. return this.Ld.Yr();
  16722. }, s4.prototype.lk = function() {
  16723. return this.Ld.lk();
  16724. }, s4.prototype.dS = function(i6) {
  16725. return t4.IC.Ky(this.Ld, i6.Ld);
  16726. }, s4.prototype.ol = function() {
  16727. return this.Ld.ol();
  16728. }, s4.prototype.Xr = function() {
  16729. return this.Ld.Xr();
  16730. }, s4.prototype.Bi = function() {
  16731. return this.Tb() == 3 ? this.Li.gk().Bi() : this.Ld.Bi();
  16732. }, s4.prototype.ih = function() {
  16733. if (!this.Xc())
  16734. throw t4.i.O("!isPannable()");
  16735. var i6 = new t4.l();
  16736. return this.Ld.ih(i6), i6;
  16737. }, s4.prototype.Le = function() {
  16738. if (!this.Xc())
  16739. throw t4.i.O("!isPannable()");
  16740. return this.Ld.to;
  16741. }, s4.prototype.BR = function() {
  16742. if (!this.Xc())
  16743. throw t4.i.O("!isPannable()");
  16744. var i6 = new t4.l();
  16745. return this.Ld.AR(i6), i6;
  16746. }, s4.prototype.rv = function() {
  16747. if (!this.Xc())
  16748. throw t4.i.O("!isPannable()");
  16749. return this.Ld.rv();
  16750. }, s4.prototype.qv = function() {
  16751. if (!this.Xc())
  16752. throw t4.i.O("!isPannable()");
  16753. return this.Ld.qv();
  16754. }, s4.prototype.Zr = function() {
  16755. return this.Li != null ? this.Li.gk().Zr() : this.Ld.Zr();
  16756. }, s4.prototype.JQ = function() {
  16757. return this.Ld.kv();
  16758. }, s4.prototype.Sp = function() {
  16759. return this.Fo.getUnitFactor();
  16760. }, s4.prototype.pz = function(t5) {
  16761. return this.Jq.pz(t5);
  16762. }, s4.prototype.tc = function() {
  16763. var i6 = this.Tb();
  16764. if (i6 == 1)
  16765. return this;
  16766. if (i6 == 3)
  16767. return this.Li.gk().tc();
  16768. if (i6 == 0)
  16769. throw t4.i.ga("invalid call");
  16770. if (i6 === 4)
  16771. throw t4.i.ga("invalid call");
  16772. if (this.lw !== null)
  16773. return this.lw;
  16774. if ((i6 = this.gh().getGeogcs()) == null)
  16775. throw t4.i.Ra();
  16776. return this.lw = s4.WE(i6, this.Jq.PF());
  16777. }, s4.WE = function(i6, n4) {
  16778. if (i6 == null)
  16779. throw t4.i.O("null pointer.");
  16780. var h2 = new s4();
  16781. return i6 = s4.ou(i6, true), h2.Jq.Wx(i6, null, n4), h2.ay(i6), h2.cy(null), h2.eg = i6.cs(), h2;
  16782. }, s4.prototype.Tb = function() {
  16783. var i6 = this.gh();
  16784. if (i6 != null)
  16785. switch (i6.getType()) {
  16786. case t4.Tc.PE_TYPE_GEOGCS:
  16787. return 1;
  16788. case t4.Tc.PE_TYPE_PROJCS:
  16789. return 2;
  16790. }
  16791. return 4;
  16792. }, s4.prototype.kv = function() {
  16793. return this.Ld.kv();
  16794. }, s4.ou = function(i6, n4) {
  16795. var h2 = i6.getCode();
  16796. if (0 >= h2 && 0 < (h2 = t4.qf.getCode(i6))) {
  16797. if ((i6 = t4.qf.coordsys(h2)) == null)
  16798. throw t4.i.O("Text to wkid mapping had failed: " + h2);
  16799. return s4.ou(i6, n4);
  16800. }
  16801. if (n4 && 0 < h2 && (n4 = s4.qx[h2]))
  16802. return n4;
  16803. n4 = t4.Ab.zv(i6, h2, false);
  16804. var r2 = s4.fK[n4];
  16805. return r2 || (i6 = 0 >= h2 ? i6 : t4.qf.coordsys(h2), i6 = new t4.IC(i6), s4.fK[n4] = i6, 0 < h2 && (s4.qx[h2] = i6), i6);
  16806. }, s4.dM = function(i6) {
  16807. if (0 >= i6)
  16808. throw t4.i.O("Invalid or unsupported wkid: " + i6);
  16809. var n4 = s4.qx[i6];
  16810. if (n4 != null)
  16811. return n4;
  16812. if ((n4 = t4.qf.coordsys(i6)) == null)
  16813. throw t4.i.O("Invalid or unsupported wkid: " + i6);
  16814. return (n4 = s4.ou(n4, false)).cs() != i6 && (s4.qx[i6] = n4), n4;
  16815. }, s4.eM = function(i6) {
  16816. if (i6 == null || i6 === void 0 || i6.length == 0)
  16817. throw t4.i.O("Cannot create SpatialReference from null or empty text.");
  16818. var n4 = null;
  16819. try {
  16820. n4 = t4.qf.fromString(t4.Tc.PE_TYPE_COORDSYS, i6);
  16821. } catch (h2) {
  16822. throw t4.i.O("Cannot create SpatialReference from text. " + h2.message);
  16823. }
  16824. if (n4 === null)
  16825. throw t4.i.O("Cannot create SpatialReference from text. ");
  16826. return s4.ou(n4, true);
  16827. }, s4.WC = function(i6, n4) {
  16828. var h2, r2 = i6.getCode();
  16829. if (0 >= r2 && 0 < (r2 = t4.qf.getCode(i6))) {
  16830. if ((r2 = t4.qf.vertcs(r2)) === null)
  16831. throw t4.i.O();
  16832. return s4.WC(r2, n4);
  16833. }
  16834. if (n4 && 0 < r2 && (n4 = s4.eK[r2]))
  16835. return n4;
  16836. if (i6 = t4.Ab.zv(i6, r2, false), n4 = s4.gK[i6])
  16837. return n4;
  16838. if (0 >= r2 || (h2 = t4.qf.vertcs(r2)), h2 === null)
  16839. throw t4.i.O();
  16840. return h2 = new t4.JL(h2), s4.gK[i6] = h2, 0 < r2 && (s4.eK[r2] = h2), h2;
  16841. }, s4.mI = function(i6, s5) {
  16842. if (s5 === null || s5.B())
  16843. return null;
  16844. var n4 = new t4.l();
  16845. if (s5 !== null && i6.Tb() != 1) {
  16846. var h2 = i6.tc(), r2 = h2.gh();
  16847. i6 = t4.xr.Pr(i6, h2, null, null), (s5 = t4.Gx.local().W(s5, i6, null)).A(n4);
  16848. } else
  16849. r2 = i6.gh(), s5.A(n4);
  16850. return s5 = r2.getPrimem().getLongitude(), r2 = r2.getUnit().getUnitFactor(), new t4.FC(n4.v, n4.G, n4.C, n4.H, s5, r2);
  16851. }, s4.fD = function(t5) {
  16852. var i6 = { name: "", steps: [], _pt: null, _entry: null }, s5 = 0;
  16853. for (t5 = t5.getEntries(); s5 < t5.length; s5++) {
  16854. var n4 = t5[s5], h2 = { DY: false, RY: "", QY: -1, geogtran: null };
  16855. n4.getDirection() === 0 ? h2.isInverse = false : h2.isInverse = true;
  16856. var r2 = n4.getGeogtran().getCode();
  16857. -1 < r2 ? h2.wkid = r2 : h2.wkt = n4.getGeogtran().toString(), i6.steps.push(h2);
  16858. }
  16859. return i6;
  16860. }, s4.QR = function(i6, n4, h2, r2) {
  16861. return h2 === void 0 && (h2 = null), h2 = s4.mI(r2, h2), i6 = t4.mp.getGTlist(i6.gh(), n4.gh(), 2, t4.mp.PE_GTLIST_OPTS_COMMON, h2, 1), n4 = null, i6 && 0 < i6.length && (n4 = this.fD(i6[0]), t4.Lx.destroy(i6)), h2 !== null && h2.destroy(), n4;
  16862. }, s4.RR = function(i6, n4, h2, r2) {
  16863. var e2;
  16864. if (h2 === void 0 && (h2 = null), r2 === void 0 && (r2 = null), e2 === void 0 && (e2 = 30), h2 = s4.mI(r2, h2), i6 = t4.mp.getGTlist(i6.gh(), n4.gh(), 2, t4.mp.PE_GTLIST_OPTS_COMMON, h2, e2), n4 = [], i6 && 0 < i6.length) {
  16865. for (e2 = 0; e2 < i6.length; e2++)
  16866. n4.push(this.fD(i6[e2]));
  16867. t4.Lx.destroy(i6);
  16868. }
  16869. return h2 !== null && h2.destroy(), n4;
  16870. }, s4.qx = {}, s4.fK = {}, s4.eK = {}, s4.gK = {}, s4;
  16871. }(t4.Gg);
  16872. t4.iu = i4;
  16873. }(V || (V = {})), function(t4) {
  16874. var i4, s4;
  16875. (s4 = i4 = t4.ju || (t4.ju = {}))[s4.Integer32 = 0] = "Integer32", s4[s4.Integer64 = 1] = "Integer64", s4[s4.FloatingPoint = 2] = "FloatingPoint";
  16876. var n4 = function() {
  16877. function s5() {
  16878. this.rp();
  16879. }
  16880. return s5.prototype.assign = function(t5) {
  16881. this.Hm = t5.Hm, this.Im = t5.Im, this.Rj = t5.Rj, this.mA = t5.mA, this.Go = t5.Go, this.lA = t5.lA, this.Jk = t5.Jk, this.Oq = t5.Oq, this.Nq = t5.Nq, this.Tm = t5.Tm;
  16882. }, s5.prototype.PF = function() {
  16883. return this.Tm;
  16884. }, s5.prototype.rp = function() {
  16885. this.Im = this.Hm = 0, this.Rj = 1, this.mA = 0, this.Go = 1, this.lA = 0, this.Nq = this.Oq = this.Jk = 2220446049250313e-29, this.Tm = i4.FloatingPoint;
  16886. }, s5.prototype.Wx = function(s6, n5, h2) {
  16887. if (this.rp(), this.Tm = h2, h2 != i4.FloatingPoint) {
  16888. var r2 = new t4.l();
  16889. s6.bR(r2), this.Hm = r2.v, this.Im = r2.G;
  16890. } else
  16891. this.Im = this.Hm = -17976931348623157e292;
  16892. (r2 = s6.Re.getType()) == t4.Tc.PE_TYPE_GEOGCS ? (r2 = (h2 == i4.Integer64 ? 1e-9 : 1 / 18e5) * s6.bf(), this.Rj = 1 / r2) : r2 == t4.Tc.PE_TYPE_PROJCS && (r2 = (h2 == i4.Integer64 ? 1e-4 : 1e-3) * s6.rm(), this.Rj = 1 / r2), n5 != null ? (r2 = (h2 == i4.Integer32 ? 1e-3 : 1e-4) * n5.CH, this.Go = 1 / r2) : this.Go = 1e4, this.SM(), this.Jk = s6.uw, this.Oq = n5 != null ? 1e-3 * n5.CH : 1e-3, this.Nq = 2220446049250313e-29;
  16893. }, s5.prototype.SM = function() {
  16894. if (this.Tm != i4.FloatingPoint) {
  16895. var s6 = this.Tm == i4.Integer64 ? t4.Gg.UN : t4.Gg.TN, n5 = s6 / this.Rj, h2 = this.Hm + n5, r2 = t4.P.truncate((h2 - this.Hm) * this.Rj);
  16896. r2 > s6 && (this.Rj = s6 / (h2 - this.Hm)), n5 = this.Im + n5, (r2 = t4.P.truncate((n5 - this.Im) * this.Rj)) > s6 && (this.Rj = s6 / (n5 - this.Im));
  16897. }
  16898. }, s5.prototype.VB = function(t5) {
  16899. switch (t5) {
  16900. case 0:
  16901. this.Jk = void 0;
  16902. case 1:
  16903. this.Oq = void 0;
  16904. case 2:
  16905. this.Nq = void 0;
  16906. }
  16907. }, s5.prototype.Ln = function(t5) {
  16908. switch (t5) {
  16909. case 0:
  16910. return this.Jk;
  16911. case 1:
  16912. return this.Oq;
  16913. case 2:
  16914. return this.Nq;
  16915. }
  16916. return 0;
  16917. }, s5.prototype.pz = function(t5) {
  16918. if (this.Tm == i4.FloatingPoint)
  16919. return 0;
  16920. switch (t5) {
  16921. case 0:
  16922. return 1 / this.Rj;
  16923. case 1:
  16924. case 2:
  16925. return 1 / this.Go;
  16926. default:
  16927. return 0;
  16928. }
  16929. }, s5.prototype.toString = function() {
  16930. var t5 = "SRPD [m_toleranceXY: " + this.Jk.toString();
  16931. return (t5 = (t5 = (t5 = (t5 = (t5 = (t5 = (t5 = (t5 = (t5 = t5 + ";m_falseX: " + this.Hm.toString()) + ";m_falseY: " + this.Im.toString()) + ";m_unitsXY: " + this.Rj.toString()) + ";m_falseZ: " + this.mA.toString()) + ";m_unitsZ: " + this.Go.toString()) + ";m_falseM: " + this.lA.toString()) + ";m_toleranceZ: " + this.Oq.toString()) + ";m_toleranceM: " + this.Nq.toString()) + ";m_precision: " + this.Tm.toString()) + "] ";
  16932. }, s5;
  16933. }();
  16934. t4.TL = n4;
  16935. }(V || (V = {})), function(t4) {
  16936. function i4(t5, i5) {
  16937. return 89.99999 < i5 ? i5 = 89.99999 : -89.99999 > i5 && (i5 = -89.99999), i5 *= 0.017453292519943, [111319.49079327169 * t5, 31890685e-1 * Math.log((1 + Math.sin(i5)) / (1 - Math.sin(i5)))];
  16938. }
  16939. function s4(t5, i5, s5) {
  16940. return t5 = t5 / 6378137 * 57.29577951308232, s5 ? [t5, 57.29577951308232 * (1.5707963267948966 - 2 * Math.atan(Math.exp(-1 * i5 / 6378137)))] : [t5 - 360 * Math.floor((t5 + 180) / 360), 57.29577951308232 * (1.5707963267948966 - 2 * Math.atan(Math.exp(-1 * i5 / 6378137)))];
  16941. }
  16942. function n4(i5, s5, n5) {
  16943. var h3 = i5.Pf();
  16944. if (i5.K() === 33)
  16945. s5 = s5(h3.Ng(), h3.kh()), h3.Db(s5[0], s5[1]);
  16946. else if (i5.K() === 197) {
  16947. var r3 = s5(i5.gs(), i5.js(), n5);
  16948. s5 = s5(i5.fs(), i5.hs(), n5), h3.L(r3[0], r3[1], s5[0], s5[1]);
  16949. } else
  16950. for (r3 = new t4.h(), i5 = 0; i5 < h3.I(); i5++) {
  16951. h3.D(i5, r3);
  16952. var e3 = s5(r3.x, r3.y, n5);
  16953. r3.na(e3[0], e3[1]), h3.Db(i5, r3);
  16954. }
  16955. return h3;
  16956. }
  16957. function h2(t5) {
  16958. return n4(t5, s4, true);
  16959. }
  16960. function r2(t5) {
  16961. return n4(t5, i4, true);
  16962. }
  16963. var e2 = Math.PI / 180;
  16964. t4.OK = function() {
  16965. function i5() {
  16966. }
  16967. return i5.xu = function(i6) {
  16968. var s5 = Math.sqrt(0.006694379990197414), n5 = Math.sin(i6.y * e2);
  16969. return t4.h.construct(6378137 * i6.x * e2, 3.1677196636462314e6 * (n5 / (1 - 0.006694379990197414 * n5 * n5) - 1 / (2 * s5) * Math.log((1 - s5 * n5) / (1 + s5 * n5))));
  16970. }, i5.Ux = function(i6, s5, n5, h3) {
  16971. var r3 = 1 / 298.257223563, o2 = Math.sin(n5);
  16972. n5 = Math.cos(n5);
  16973. var a2 = (1 - r3) * Math.tan(i6), u2 = a2 * (i6 = 1 / Math.sqrt(1 + a2 * a2)), f2 = Math.atan2(a2, n5), c2 = (a2 = i6 * o2) * a2, l2 = 1 - c2, p2 = 27233160610754688e-5 * l2 / 4040829998466145e-2, v2 = 1 + p2 / 16384 * (4096 + p2 * (p2 * (320 - 175 * p2) - 768)), y2 = p2 / 1024 * (256 + p2 * (p2 * (74 - 47 * p2) - 128));
  16974. p2 = h3 / (635675231424518e-8 * v2);
  16975. for (var b2, d2, g2, w2 = 2 * Math.PI; 1e-12 < Math.abs(p2 - w2); )
  16976. g2 = Math.cos(2 * f2 + p2), w2 = p2, p2 = h3 / (635675231424518e-8 * v2) + y2 * (b2 = Math.sin(p2)) * (g2 + y2 / 4 * ((d2 = Math.cos(p2)) * (2 * g2 * g2 - 1) - y2 / 6 * g2 * (4 * b2 * b2 - 3) * (4 * g2 * g2 - 3)));
  16977. return h3 = u2 * b2 - i6 * d2 * n5, l2 = r3 / 16 * l2 * (4 + r3 * (4 - 3 * l2)), t4.h.construct((s5 + (Math.atan2(b2 * o2, i6 * d2 - u2 * b2 * n5) - (1 - l2) * r3 * a2 * (p2 + l2 * b2 * (g2 + l2 * d2 * (2 * g2 * g2 - 1))))) / e2, Math.atan2(u2 * d2 + i6 * b2 * n5, (1 - r3) * Math.sqrt(c2 + h3 * h3)) / e2);
  16978. }, i5.GM = function(t5, i6, s5, n5) {
  16979. var h3 = 1 / 298.257223563, r3 = n5 - i6, e3 = Math.atan((1 - h3) * Math.tan(t5)), o2 = Math.atan((1 - h3) * Math.tan(s5)), a2 = Math.sin(e3);
  16980. e3 = Math.cos(e3);
  16981. var u2 = Math.sin(o2);
  16982. o2 = Math.cos(o2);
  16983. var f2 = r3, c2 = 1e3;
  16984. do {
  16985. var l2 = Math.sin(f2), p2 = Math.cos(f2), v2 = Math.sqrt(o2 * l2 * o2 * l2 + (e3 * u2 - a2 * o2 * p2) * (e3 * u2 - a2 * o2 * p2));
  16986. if (v2 === 0)
  16987. return 0;
  16988. p2 = a2 * u2 + e3 * o2 * p2;
  16989. var y2 = Math.atan2(v2, p2), b2 = e3 * o2 * l2 / v2, d2 = 1 - b2 * b2;
  16990. l2 = p2 - 2 * a2 * u2 / d2, isNaN(l2) && (l2 = 0);
  16991. var g2 = h3 / 16 * d2 * (4 + h3 * (4 - 3 * d2)), w2 = f2;
  16992. f2 = r3 + (1 - g2) * h3 * b2 * (y2 + g2 * v2 * (l2 + g2 * p2 * (2 * l2 * l2 - 1)));
  16993. } while (1e-12 < Math.abs(f2 - w2) && 0 < --c2);
  16994. return c2 === 0 ? (a2 = n5 - i6, { azimuth: Math.atan2(Math.sin(a2) * Math.cos(s5), Math.cos(t5) * Math.sin(s5) - Math.sin(t5) * Math.cos(s5) * Math.cos(a2)), geodesicDistance: 6371008771415059e-9 * Math.acos(Math.sin(t5) * Math.sin(s5) + Math.cos(t5) * Math.cos(s5) * Math.cos(n5 - i6)) }) : (i6 = (t5 = 27233160610754688e-5 * d2 / 4040829998466145e-2) / 1024 * (256 + t5 * (t5 * (74 - 47 * t5) - 128)), { azimuth: Math.atan2(o2 * Math.sin(f2), e3 * u2 - a2 * o2 * Math.cos(f2)), SQ: 635675231424518e-8 * (1 + t5 / 16384 * (4096 + t5 * (t5 * (320 - 175 * t5) - 768))) * (y2 - i6 * v2 * (l2 + i6 / 4 * (p2 * (2 * l2 * l2 - 1) - i6 / 6 * l2 * (4 * v2 * v2 - 3) * (4 * l2 * l2 - 3)))), PY: Math.atan2(e3 * Math.sin(f2), e3 * u2 * Math.cos(f2) - a2 * o2) });
  16995. }, i5.dQ = function(i6) {
  16996. var s5 = i6.hasAttribute(1), n5 = i6.hasAttribute(2), h3 = [], r3 = i6.ea(), e3 = null, o2 = null;
  16997. s5 && (e3 = i6.vb(1)), n5 && (o2 = i6.vb(2));
  16998. for (var a2 = new t4.h(), u2 = 0; u2 < r3; u2++) {
  16999. for (var f2 = i6.Ca(u2), c2 = i6.Ka(u2), l2 = 0, p2 = 0, v2 = NaN, y2 = NaN, b2 = NaN, d2 = NaN, g2 = i6.ec(u2), w2 = [], x2 = f2; x2 < f2 + c2; x2++) {
  17000. i6.D(x2, a2), d2 = b2 = NaN;
  17001. var m2 = [a2.x, a2.y];
  17002. s5 && (b2 = e3.get(x2), m2.push(b2)), n5 && (r3 = o2.get(x2), m2.push(d2)), x2 == f2 && g2 && (l2 = a2.x, p2 = a2.y, v2 = b2, y2 = d2), w2.push(m2);
  17003. }
  17004. !g2 || l2 == a2.x && p2 == a2.y && (!s5 || isNaN(v2) && isNaN(b2) || v2 == b2) && (!n5 || isNaN(y2) && isNaN(d2) || y2 == d2) || w2.push(w2[0].slice(0)), h3.push(w2);
  17005. }
  17006. return h3;
  17007. }, i5.Ry = function(t5, s5) {
  17008. t5 = i5.dQ(t5), 637.100877141506 > s5 && (s5 = 637.100877141506);
  17009. for (var n5, h3 = [], r3 = 0; r3 < t5.length; r3++) {
  17010. var o2, a2, u2 = t5[r3];
  17011. h3.push(n5 = []), n5.push([u2[0][0], u2[0][1]]);
  17012. var f2 = u2[0][0] * e2, c2 = u2[0][1] * e2;
  17013. for (o2 = 0; o2 < u2.length - 1; o2++) {
  17014. var l2 = u2[o2 + 1][0] * e2, p2 = u2[o2 + 1][1] * e2;
  17015. if (f2 !== l2 || c2 !== p2) {
  17016. l2 = (p2 = i5.GM(c2, f2, p2, l2)).azimuth;
  17017. var v2 = (p2 = p2.SQ) / s5;
  17018. if (1 < v2) {
  17019. for (a2 = 1; a2 <= v2 - 1; a2++) {
  17020. var y2 = i5.Ux(c2, f2, l2, a2 * s5);
  17021. n5.push([y2.x, y2.y]);
  17022. }
  17023. a2 = i5.Ux(c2, f2, l2, (p2 + Math.floor(v2 - 1) * s5) / 2), n5.push([a2.x, a2.y]);
  17024. }
  17025. c2 = i5.Ux(c2, f2, l2, p2), n5.push([c2.x, c2.y]), f2 = c2.x * e2, c2 = c2.y * e2;
  17026. }
  17027. }
  17028. }
  17029. return { kJ: h3 };
  17030. }, i5.RQ = function(s5) {
  17031. for (var n5 = [], h3 = 0; h3 < s5.length; h3++) {
  17032. var r3 = s5[h3];
  17033. r3 = i5.Ry(r3, 1e4), n5.push(r3);
  17034. }
  17035. s5 = [];
  17036. for (var e3 = 0; e3 < n5.length; e3++) {
  17037. r3 = n5[e3];
  17038. var o2 = 0;
  17039. for (h3 = 0; h3 < r3.kJ.length; h3++) {
  17040. var a2, u2 = r3.kJ[h3], f2 = i5.xu(t4.h.construct(u2[0][0], u2[0][1])), c2 = i5.xu(t4.h.construct(u2[u2.length - 1][0], u2[u2.length - 1][1])), l2 = c2.x * f2.y - f2.x * c2.y;
  17041. for (a2 = 0; a2 < u2.length - 1; a2++)
  17042. f2 = i5.xu(t4.h.construct(u2[a2 + 1][0], u2[a2 + 1][1])), l2 += (c2 = i5.xu(t4.h.construct(u2[a2][0], u2[a2][1]))).x * f2.y - f2.x * c2.y;
  17043. o2 += l2;
  17044. }
  17045. o2 /= 1, s5.push(o2 / -2);
  17046. }
  17047. return s5;
  17048. }, i5;
  17049. }(), t4.cb = function() {
  17050. function i5() {
  17051. }
  17052. return i5.rB = function(t5, s5, n5, h3, r3, e3, o2) {
  17053. i5.aD[t5.dc()] = s5, isNaN(n5) == 0 && (i5.gD[t5.dc()] = n5), isNaN(h3) == 0 && (i5.tD[t5.dc()] = h3), isNaN(r3) == 0 && (i5.VC[t5.dc()] = r3), i5.hD[t5.dc()] = e3, o2 !== null && (i5.iD[t5.dc()] = o2);
  17054. }, i5.Yw = function(t5, s5, n5) {
  17055. i5.mD[t5.dc() + "-" + s5.dc()] = n5;
  17056. }, i5.tc = function(s5) {
  17057. if ((s5 = i5.aD[s5.dc()]) == null)
  17058. throw t4.i.Fe();
  17059. return s5;
  17060. }, i5.bf = function(s5) {
  17061. if ((s5 = i5.gD[s5.dc()]) == null)
  17062. throw t4.i.Fe();
  17063. return s5;
  17064. }, i5.xv = function(s5) {
  17065. if ((s5 = i5.tD[s5.dc()]) == null)
  17066. throw t4.i.Fe();
  17067. return s5;
  17068. }, i5.gv = function(s5) {
  17069. if ((s5 = i5.VC[s5.dc()]) == null)
  17070. throw t4.i.Fe();
  17071. return s5;
  17072. }, i5.ih = function(s5) {
  17073. if ((s5 = i5.iD[s5.dc()]) == null)
  17074. throw t4.i.Fe();
  17075. return t4.l.construct(s5[0], s5[1], s5[2], s5[3]);
  17076. }, i5.Xc = function(s5) {
  17077. if ((s5 = i5.hD[s5.dc()]) == null)
  17078. throw t4.i.Fe();
  17079. return s5;
  17080. }, i5.Bh = function(s5, n5, h3) {
  17081. if (n5.Nb(h3))
  17082. return s5;
  17083. var r3 = i5.mD[n5.dc() + "-" + h3.dc()];
  17084. if (r3 !== void 0)
  17085. return r3(s5, n5, h3);
  17086. throw t4.i.Fe();
  17087. }, i5.wt = function() {
  17088. throw t4.i.Fe();
  17089. }, i5.WQ = function() {
  17090. throw t4.i.Fe();
  17091. }, i5.WV = function() {
  17092. throw t4.i.Fe();
  17093. }, i5.ol = function() {
  17094. throw t4.i.Fe();
  17095. }, i5.kW = function() {
  17096. var i6 = t4.Gg.create(102100), s5 = t4.Gg.create(3857), n5 = t4.Gg.create(4326);
  17097. t4.cb.rB(i6, n5, NaN, NaN, NaN, false, null), t4.cb.rB(n5, n5, 1, 0.0033528106647474805, 6378137, true, [-180, -90, 180, 90]), t4.cb.rB(s5, n5, NaN, NaN, NaN, false, null), t4.cb.Yw(i6, n5, h2), t4.cb.Yw(n5, i6, r2), t4.cb.Yw(s5, n5, h2), t4.cb.Yw(n5, s5, r2);
  17098. }, i5.aD = [], i5.gD = [], i5.tD = [], i5.VC = [], i5.hD = [], i5.iD = [], i5.mD = [], i5;
  17099. }();
  17100. }(V || (V = {})), V.cb.kW(), function(t4) {
  17101. var i4 = function() {
  17102. function i5(t5) {
  17103. this.o = new Int32Array(0), this.jo = -1, this.Jg = this.size = this.Dl = 0, this.Mf = t5;
  17104. }
  17105. return i5.prototype.kd = function(t5) {
  17106. t5 < this.Dl ? (this.o[t5 * this.Mf] = this.jo, this.jo = t5) : this.Dl--, this.size--;
  17107. }, i5.prototype.U = function(t5, i6) {
  17108. return this.o[t5 * this.Mf + i6];
  17109. }, i5.prototype.T = function(t5, i6, s4) {
  17110. this.o[t5 * this.Mf + i6] = s4;
  17111. }, i5.prototype.De = function() {
  17112. var i6 = this.jo;
  17113. if (i6 == -1) {
  17114. if (this.Dl == this.Jg) {
  17115. if (2147483647 < (i6 = this.Jg != 0 ? t4.P.truncate(3 * (this.Jg + 1) / 2) : 1) && (i6 = 2147483647), i6 == this.Jg)
  17116. throw t4.i.re();
  17117. this.yz(i6);
  17118. }
  17119. i6 = this.Dl, this.Dl++;
  17120. } else
  17121. this.jo = this.o[i6 * this.Mf];
  17122. this.size++;
  17123. for (var s4 = i6 * this.Mf; s4 < i6 * this.Mf + this.Mf; s4++)
  17124. this.o[s4] = -1;
  17125. return i6;
  17126. }, i5.prototype.Nl = function(i6) {
  17127. var s4 = this.jo;
  17128. if (s4 == -1) {
  17129. if (this.Dl == this.Jg) {
  17130. if (2147483647 < (s4 = this.Jg != 0 ? t4.P.truncate(3 * (this.Jg + 1) / 2) : 1) && (s4 = 2147483647), s4 == this.Jg)
  17131. throw t4.i.re();
  17132. this.yz(s4);
  17133. }
  17134. s4 = this.Dl, this.Dl++;
  17135. } else
  17136. this.jo = this.o[s4 * this.Mf];
  17137. this.size++;
  17138. for (var n4 = s4 * this.Mf, h2 = 0; h2 < i6.length; h2++)
  17139. this.o[n4 + h2] = i6[h2];
  17140. return s4;
  17141. }, i5.prototype.oj = function(t5) {
  17142. this.jo = -1, this.size = this.Dl = 0, t5 && (this.o = null, this.Jg = 0);
  17143. }, i5.prototype.Ee = function(t5) {
  17144. t5 > this.Jg && this.yz(t5);
  17145. }, i5.prototype.sx = function(t5, i6) {
  17146. t5 *= this.Mf, i6 *= this.Mf;
  17147. for (var s4 = 0; s4 < this.Mf; s4++) {
  17148. var n4 = this.o[i6 + s4];
  17149. this.o[i6 + s4] = this.o[t5 + s4], this.o[t5 + s4] = n4;
  17150. }
  17151. }, i5.prototype.aC = function(t5, i6, s4) {
  17152. var n4 = this.o[this.Mf * i6 + s4];
  17153. this.o[this.Mf * i6 + s4] = this.o[this.Mf * t5 + s4], this.o[this.Mf * t5 + s4] = n4;
  17154. }, i5.FG = function(t5) {
  17155. return 0 <= t5;
  17156. }, i5.prototype.yz = function(t5) {
  17157. this.o == null && (this.o = new Int32Array(0));
  17158. var i6 = new Int32Array(this.Mf * t5);
  17159. i6.set(this.o, 0), this.o = i6, this.Jg = t5;
  17160. }, i5;
  17161. }();
  17162. t4.ad = i4;
  17163. }(V || (V = {})), function(t4) {
  17164. var i4, s4;
  17165. (s4 = i4 || (i4 = {}))[s4.enumInputModeBuildGraph = 0] = "enumInputModeBuildGraph", s4[s4.enumInputModeSimplifyAlternate = 4] = "enumInputModeSimplifyAlternate", s4[s4.enumInputModeSimplifyWinding = 5] = "enumInputModeSimplifyWinding", s4[s4.enumInputModeIsSimplePolygon = 7] = "enumInputModeIsSimplePolygon";
  17166. var n4 = function() {
  17167. function i5(i6) {
  17168. this.Ce = i6, this.Ah = NaN, this.ZG = new t4.hg(), this.$G = new t4.hg(), this.os = new t4.Oc(), this.ps = new t4.Oc();
  17169. }
  17170. return i5.prototype.compare = function(t5, i6, s5) {
  17171. if (t5 = t5.ka(s5), this.Ce.jB(i6, this.ZG), this.Ce.jB(t5, this.$G), i6 = this.ZG.get(), t5 = this.$G.get(), this.os.L(i6.sa, i6.qa), this.ps.L(t5.sa, t5.qa), this.os.wa < this.ps.pa)
  17172. return -1;
  17173. if (this.os.pa > this.ps.wa)
  17174. return 1;
  17175. s5 = i6.oa == i6.ma;
  17176. var n5 = t5.oa == t5.ma;
  17177. if (s5 || n5) {
  17178. if (s5 && n5)
  17179. return 0;
  17180. if (i6.oa == t5.oa && i6.sa == t5.sa)
  17181. return s5 ? 1 : -1;
  17182. if (i6.ma == t5.ma && i6.qa == t5.qa)
  17183. return s5 ? -1 : 1;
  17184. }
  17185. return (s5 = i6.Me(this.Ah, this.os.pa)) == (n5 = t5.Me(this.Ah, this.ps.pa)) && ((n5 = 0.5 * ((s5 = Math.min(i6.ma, t5.ma)) + this.Ah)) == this.Ah && (n5 = s5), s5 = i6.Me(n5, this.os.pa), n5 = t5.Me(n5, this.ps.pa)), s5 < n5 ? -1 : s5 > n5 ? 1 : 0;
  17186. }, i5.prototype.VJ = function(t5) {
  17187. this.Ah = t5;
  17188. }, i5;
  17189. }(), h2 = function() {
  17190. function i5(i6) {
  17191. this.ib = i6, this.QH = new t4.hg(), this.Cf = new t4.h(), this.qA = new t4.Oc();
  17192. }
  17193. return i5.prototype.bX = function(t5) {
  17194. this.Cf.N(t5);
  17195. }, i5.prototype.compare = function(t5, i6) {
  17196. return this.ib.jB(t5.ka(i6), this.QH), t5 = this.QH.get(), this.qA.L(t5.sa, t5.qa), this.Cf.x < this.qA.pa ? -1 : this.Cf.x > this.qA.wa ? 1 : (t5 = t5.Me(this.Cf.y, this.Cf.x), this.Cf.x < t5 ? -1 : this.Cf.x > t5 ? 1 : 0);
  17197. }, i5;
  17198. }();
  17199. i4 = function() {
  17200. function i5() {
  17201. this.bH = this.Fi = this.Ii = this.fA = this.Zn = this.ze = this.Lc = this.lh = this.ge = null, this.Ho = this.xg = -1, this.aH = true, this.jA = false, this.gA = NaN, this.Pi = new t4.Nd(), this.WN = 2147483647, this.VN = t4.P.truncate(-2147483648), this.dg = this.be = this.Jl = this.Eq = this.Em = this.Dq = this.Qs = this.Oe = -1, this.xa = 0;
  17202. }
  17203. return i5.prototype.ty = function(t5) {
  17204. this.gA = t5;
  17205. }, i5.prototype.$m = function() {
  17206. this.ge == null && (this.ge = new t4.ad(8));
  17207. var i6 = this.ge.De();
  17208. return this.ge.T(i6, 1, 0), i6;
  17209. }, i5.prototype.nU = function() {
  17210. this.Lc == null && (this.Lc = new t4.ad(8));
  17211. var i6 = this.Lc.De();
  17212. this.Lc.T(i6, 2, 0), this.Lc.T(i6, 3, 0);
  17213. var s5 = this.Lc.De();
  17214. return this.Lc.T(s5, 2, 0), this.Lc.T(s5, 3, 0), this.DJ(i6, s5), this.DJ(s5, i6), i6;
  17215. }, i5.prototype.gI = function() {
  17216. this.ze == null && (this.ze = new t4.ad(8));
  17217. var i6 = this.ze.De();
  17218. return this.ze.T(i6, 2, 0), i6;
  17219. }, i5.prototype.LW = function(t5, i6) {
  17220. this.ge.T(t5, 7, i6);
  17221. }, i5.prototype.on = function(t5, i6) {
  17222. this.ge.T(t5, 2, i6);
  17223. }, i5.prototype.KW = function(t5, i6) {
  17224. this.ge.T(t5, 1, i6);
  17225. }, i5.prototype.cX = function(t5, i6) {
  17226. this.ge.T(t5, 3, i6);
  17227. }, i5.prototype.$W = function(t5, i6) {
  17228. this.ge.T(t5, 4, i6);
  17229. }, i5.prototype.er = function(t5, i6) {
  17230. this.ge.T(t5, 5, i6);
  17231. }, i5.prototype.ZQ = function(t5) {
  17232. return this.ge.U(t5, 5);
  17233. }, i5.prototype.JW = function(t5, i6) {
  17234. this.ge.T(t5, 6, i6);
  17235. }, i5.prototype.XM = function(t5, i6) {
  17236. this.JW(i6, t5);
  17237. }, i5.prototype.CJ = function(t5, i6) {
  17238. this.Lc.T(t5, 1, i6);
  17239. }, i5.prototype.DJ = function(t5, i6) {
  17240. this.Lc.T(t5, 4, i6);
  17241. }, i5.prototype.Vl = function(t5, i6) {
  17242. this.Lc.T(t5, 5, i6);
  17243. }, i5.prototype.Ul = function(t5, i6) {
  17244. this.Lc.T(t5, 6, i6);
  17245. }, i5.prototype.RW = function(t5, i6) {
  17246. this.Lc.T(t5, 2, i6);
  17247. }, i5.prototype.cx = function(t5, i6) {
  17248. this.Lc.T(t5, 3, i6);
  17249. }, i5.prototype.FF = function(t5) {
  17250. return this.Lc.U(t5, 3);
  17251. }, i5.prototype.Ht = function(t5, i6) {
  17252. this.Lc.T(t5, 7, i6);
  17253. }, i5.prototype.yK = function(t5, i6) {
  17254. if (this.om(t5) != -1)
  17255. for (i6 = i6 ? -1 : t5, t5 = this.om(t5); t5 != -1; t5 = this.ls(t5))
  17256. this.g.Sa(this.vj(t5), this.Eq, i6);
  17257. }, i5.prototype.xx = function(t5, i6) {
  17258. t5 != -1 && (this.yK(t5, i6), this.yK(this.ya(t5), i6));
  17259. }, i5.prototype.Et = function(t5, i6) {
  17260. this.ze.T(t5, 1, i6);
  17261. }, i5.prototype.Xg = function(t5, i6) {
  17262. this.ze.T(t5, 2, i6);
  17263. }, i5.prototype.ln = function(t5, i6) {
  17264. this.ze.T(t5, 3, i6), this.FW(t5, this.YQ(i6)), this.EW(i6, t5);
  17265. }, i5.prototype.EW = function(t5, i6) {
  17266. this.ze.T(t5, 4, i6);
  17267. }, i5.prototype.FW = function(t5, i6) {
  17268. this.ze.T(t5, 5, i6);
  17269. }, i5.prototype.xJ = function(t5, i6) {
  17270. this.ze.T(t5, 6, i6);
  17271. }, i5.prototype.vJ = function(t5, i6) {
  17272. this.ze.T(t5, 7, i6);
  17273. }, i5.prototype.uJ = function(t5, i6) {
  17274. this.Zn.write(t5, i6);
  17275. }, i5.prototype.wJ = function(t5, i6) {
  17276. this.fA.write(t5, i6);
  17277. }, i5.prototype.cY = function(i6) {
  17278. var s5 = 0, n5 = 0, h3 = this.uF(i6), r2 = new t4.h(), e2 = new t4.h(), o2 = new t4.h();
  17279. this.$r(h3, r2), e2.N(r2);
  17280. var a2 = h3;
  17281. do {
  17282. this.nm(a2, o2), n5 += t4.h.ub(e2, o2), this.$e(this.ya(a2)) != i6 && (s5 += (o2.x - r2.x - (e2.x - r2.x)) * (o2.y - r2.y + (e2.y - r2.y)) * 0.5), e2.N(o2), a2 = this.kc(a2);
  17283. } while (a2 != h3);
  17284. this.Zn.write(i6, s5), this.fA.write(i6, n5);
  17285. }, i5.prototype.HU = function(i6, s5) {
  17286. var r2 = new n4(this), e2 = new t4.Zj();
  17287. e2.Ee(t4.P.truncate(this.xa / 2)), e2.Wo(r2);
  17288. for (var o2 = new t4.ja(0), a2 = this.bh(), u2 = null, f2 = 0, c2 = new t4.h(), l2 = this.Oe; l2 != -1; l2 = this.Sf(l2)) {
  17289. if ((255 & ++f2) == 0 && s5 != null && !s5.progress(-1, -1))
  17290. throw t4.i.QC();
  17291. var p2 = this.Je(l2);
  17292. if (p2 != -1) {
  17293. if (o2.Dh(0), !this.ZX(e2, a2, o2, p2)) {
  17294. this.D(l2, c2), r2.VJ(c2.y);
  17295. var v2 = p2;
  17296. do {
  17297. var y2 = this.Bb(v2, a2);
  17298. y2 != -1 && (e2.wd(y2, -1), this.Kb(v2, a2, -2)), v2 = this.kc(this.ya(v2));
  17299. } while (p2 != v2);
  17300. v2 = p2;
  17301. do {
  17302. (y2 = this.Bb(v2, a2)) == -1 && (y2 = e2.addElement(v2, -1), o2.add(y2)), v2 = this.kc(this.ya(v2));
  17303. } while (p2 != v2);
  17304. }
  17305. for (p2 = o2.size - 1; 0 <= p2; p2--)
  17306. y2 = o2.get(p2), v2 = e2.ka(y2), this.Kb(this.ya(v2), a2, y2), this.GU(e2, y2, i6);
  17307. } else
  17308. this.Yy(l2) == -1 && (u2 == null && (u2 = new h2(this)), this.D(l2, c2), u2.bX(c2), v2 = e2.zW(u2), p2 = this.Jl, v2 != -1 && (y2 = e2.ka(v2), this.$e(y2) == this.$e(this.ya(y2)) && (y2 = this.IF(e2, v2)), y2 != -1 && (p2 = this.$e(y2))), this.XM(p2, l2));
  17309. }
  17310. this.Lg(a2);
  17311. }, i5.prototype.GU = function(t5, i6, s5) {
  17312. var n5 = t5.ka(i6), h3 = this.$e(n5);
  17313. if (this.Hn(h3) == -1) {
  17314. var r2 = this.IF(t5, i6), e2 = this.ya(n5), o2 = this.$e(e2);
  17315. this.Mp(h3), this.Mp(o2);
  17316. var a2 = this.Hn(h3), u2 = this.Hn(o2);
  17317. if (r2 == -1 && a2 == -1 && (o2 == h3 ? (this.ln(o2, this.Jl), a2 = u2 = this.Jl) : (u2 == -1 && (this.ln(o2, this.Jl), u2 = this.Jl), this.ln(h3, o2), a2 = o2)), r2 != -1) {
  17318. var f2 = this.$e(r2);
  17319. u2 == -1 && (0 >= this.Mp(f2) ? (u2 = this.Hn(f2), this.ln(o2, u2)) : (this.ln(o2, f2), u2 = f2), o2 == h3 && (a2 = u2));
  17320. }
  17321. a2 == -1 && this.$X(h3, o2), s5 == 0 ? this.bW(t5, i6, n5, r2, h3, o2) : s5 == 5 ? this.cW(t5, i6, n5, e2, h3, o2) : s5 == 4 && this.aW(n5, r2, h3, o2);
  17322. }
  17323. }, i5.prototype.bW = function(t5, i6, s5, n5, h3, r2) {
  17324. var e2 = this.ik(h3);
  17325. if (n5 != -1) {
  17326. var o2 = this.ik(r2), a2 = this.ik(this.$e(n5));
  17327. n5 = e2 & o2 & a2, a2 ^= a2 & this.fh(s5), (a2 |= n5) != 0 && (this.Xg(r2, o2 | a2), this.Xg(h3, a2 | e2), e2 = e2 || a2);
  17328. }
  17329. for (i6 = t5.lb(i6); i6 != -1 && (n5 = t5.ka(i6), s5 = this.$e(this.ya(n5)), h3 = this.ik(s5), r2 = this.fh(n5), o2 = this.$e(n5), n5 = h3 & (a2 = this.ik(o2)) & e2, e2 ^= e2 & r2, (e2 |= n5) != 0); i6 = t5.lb(i6))
  17330. this.Xg(s5, h3 | e2), this.Xg(o2, a2 | e2);
  17331. }, i5.prototype.cW = function(i6, s5, n5, h3, r2, e2) {
  17332. if (r2 != e2) {
  17333. n5 = this.Bb(n5, this.dg), n5 += this.Bb(h3, this.dg), h3 = 0;
  17334. var o2 = new t4.ja(0), a2 = new t4.ja(0);
  17335. a2.add(0);
  17336. for (var u2 = i6.sc(-1); u2 != s5; u2 = i6.lb(u2)) {
  17337. var f2 = i6.ka(u2), c2 = this.ya(f2), l2 = this.$e(f2), p2 = this.$e(c2);
  17338. if (l2 != p2) {
  17339. if (f2 = this.Bb(f2, this.dg), h3 += f2 += this.Bb(c2, this.dg), c2 = false, o2.size != 0 && o2.Gc() == p2 && (a2.Jf(), o2.Jf(), c2 = true), this.Hn(p2) == -1)
  17340. throw t4.i.Ra();
  17341. c2 && this.Hn(p2) == l2 || (a2.add(h3), o2.add(l2));
  17342. }
  17343. }
  17344. h3 += n5, o2.size != 0 && o2.Gc() == e2 && (a2.Jf(), o2.Jf()), h3 != 0 ? a2.Gc() == 0 && (i6 = this.g.ld, i6 = this.Ma(i6), this.Xg(r2, i6)) : a2.Gc() != 0 && (i6 = this.g.ld, i6 = this.Ma(i6), this.Xg(r2, i6));
  17345. }
  17346. }, i5.prototype.aW = function(t5, i6, s5, n5) {
  17347. var h3 = this.Ma(this.g.ld);
  17348. if (i6 == -1)
  17349. this.Xg(n5, this.Ho), (1 & (t5 = this.Bb(t5, this.xg))) != 0 ? this.Xg(s5, h3) : this.Xg(s5, this.Ho);
  17350. else {
  17351. var r2 = this.ik(n5);
  17352. r2 == 0 ? (r2 = this.ik(this.$e(i6)), this.Xg(n5, r2), (1 & (t5 = this.Bb(t5, this.xg))) != 0 ? this.Xg(s5, r2 == h3 ? this.Ho : h3) : this.Xg(s5, r2)) : (1 & (t5 = this.Bb(t5, this.xg))) != 0 ? this.Xg(s5, r2 == h3 ? this.Ho : h3) : this.Xg(s5, r2);
  17353. }
  17354. }, i5.prototype.ZX = function(t5, i6, s5, n5) {
  17355. var h3 = n5, r2 = -1, e2 = -1, o2 = 0;
  17356. do {
  17357. if (o2 == 2)
  17358. return false;
  17359. var a2 = this.Bb(h3, i6);
  17360. if (a2 != -1) {
  17361. if (r2 != -1)
  17362. return false;
  17363. r2 = a2;
  17364. } else {
  17365. if (e2 != -1)
  17366. return false;
  17367. e2 = h3;
  17368. }
  17369. o2++, h3 = this.kc(this.ya(h3));
  17370. } while (n5 != h3);
  17371. return e2 != -1 && r2 != -1 && (this.Kb(t5.ka(r2), i6, -2), t5.Uj(r2, e2), s5.add(r2), true);
  17372. }, i5.prototype.$X = function(t5, i6) {
  17373. var s5 = this.Mp(t5);
  17374. if (s5 != 0) {
  17375. var n5 = this.Mp(i6);
  17376. 0 < s5 && 0 > n5 || 0 > s5 && 0 < n5 ? this.ln(t5, i6) : (i6 = this.Hn(i6)) != -1 && this.ln(t5, i6);
  17377. }
  17378. }, i5.prototype.pP = function(i6, s5) {
  17379. this.Eq = this.g.Hd();
  17380. for (var n5 = 0, h3 = s5.size; n5 < h3; n5++) {
  17381. var r2 = s5.get(n5), e2 = this.g.Qa(r2, this.Em), o2 = this.g.Rf(this.g.cd(r2)), a2 = this.g.jc(o2);
  17382. if (t4.ba.Ic(a2)) {
  17383. var u2 = this.g.V(r2);
  17384. if (u2 != -1) {
  17385. var f2 = this.g.Qa(u2, this.Em);
  17386. if (e2 != f2) {
  17387. var c2 = this.nU(), l2 = this.ya(c2), p2 = this.lh.De();
  17388. this.lh.T(p2, 0, r2), this.lh.T(p2, 1, -1), this.Ht(c2, p2), this.CJ(c2, e2), (p2 = this.Je(e2)) == -1 ? (this.on(e2, c2), this.Vl(c2, l2), this.Ul(l2, c2)) : (e2 = this.ue(p2), this.Vl(p2, l2), this.Ul(l2, p2), this.Ul(e2, c2), this.Vl(c2, e2)), this.CJ(l2, f2), (e2 = this.Je(f2)) == -1 ? (this.on(f2, l2), this.Ul(c2, l2), this.Vl(l2, c2)) : (f2 = this.ue(e2), this.Vl(e2, c2), this.Ul(c2, e2), this.Ul(f2, l2), this.Vl(l2, f2)), o2 = this.Ma(o2), i6 == 0 ? (this.Kb(l2, this.be, 0), this.Kb(c2, this.be, a2 == 1736 ? o2 : 0)) : i6 == 5 ? (f2 = new t4.h(), this.g.D(r2, f2), r2 = new t4.h(), this.g.D(u2, r2), e2 = u2 = 0, 0 > f2.compare(r2) ? u2 = 1 : e2 = -1, this.Kb(l2, this.be, 0), this.Kb(c2, this.be, 0), this.Kb(c2, this.dg, u2), this.Kb(l2, this.dg, e2)) : i6 == 7 ? (this.Kb(l2, this.be, this.Ho), this.Kb(c2, this.be, a2 == 1736 ? o2 : 0)) : i6 == 4 && (this.Kb(l2, this.be, 0), this.Kb(c2, this.be, 0), this.Kb(c2, this.xg, 1), this.Kb(l2, this.xg, 1)), a2 = a2 == 1736 ? this.VN : 0, this.cx(c2, o2 | a2), this.cx(l2, o2 | a2);
  17389. }
  17390. }
  17391. }
  17392. }
  17393. }, i5.prototype.NT = function(t5, i6) {
  17394. var s5 = this.om(i6);
  17395. if (s5 != -1) {
  17396. var n5 = this.om(t5);
  17397. this.lh.T(s5, 1, n5), this.Ht(t5, s5), this.Ht(i6, -1);
  17398. }
  17399. t5 = this.ya(t5), i6 = this.ya(i6), (s5 = this.om(i6)) != -1 && (n5 = this.om(t5), this.lh.T(s5, 1, n5), this.Ht(t5, s5), this.Ht(i6, -1));
  17400. }, i5.prototype.AX = function(i6) {
  17401. function s5(t5, i7) {
  17402. return h3.BO(t5, i7);
  17403. }
  17404. var n5 = new t4.ja(0);
  17405. n5.Jb(10);
  17406. for (var h3 = this, r2 = this.Oe; r2 != -1; r2 = this.Sf(r2)) {
  17407. n5.clear(false);
  17408. var e2 = this.Je(r2);
  17409. if (e2 != -1) {
  17410. var o2 = e2;
  17411. do {
  17412. n5.add(o2), o2 = this.kc(this.ya(o2));
  17413. } while (o2 != e2);
  17414. if (1 < n5.size) {
  17415. if (o2 = true, 2 < n5.size)
  17416. n5.Wd(0, n5.size, s5), n5.add(n5.get(0));
  17417. else if (0 < this.AO(n5.get(0), n5.get(1))) {
  17418. var a2 = n5.get(0);
  17419. n5.set(0, n5.get(1)), n5.set(1, a2);
  17420. } else
  17421. o2 = false;
  17422. for (var u2 = a2 = n5.get(0), f2 = this.vf(u2), c2 = this.ya(u2), l2 = -1, p2 = 1, v2 = n5.size; p2 < v2; p2++) {
  17423. var y2 = n5.get(p2), b2 = this.ya(y2), d2 = this.kk(b2);
  17424. if (d2 == f2 && y2 != u2) {
  17425. if (i6 == 0)
  17426. l2 = this.FF(u2) | this.FF(y2), this.cx(u2, l2), this.cx(c2, l2), this.Kb(u2, this.be, this.Bb(u2, this.be) | this.Bb(y2, this.be)), this.Kb(c2, this.be, this.Bb(c2, this.be) | this.Bb(b2, this.be));
  17427. else if (this.dg != -1)
  17428. l2 = this.Bb(u2, this.dg) + this.Bb(y2, this.dg), b2 = this.Bb(c2, this.dg) + this.Bb(b2, this.dg), this.Kb(u2, this.dg, l2), this.Kb(c2, this.dg, b2);
  17429. else {
  17430. if (i6 == 7)
  17431. return void (this.Pi = new t4.Nd(5, r2, -1));
  17432. this.xg != -1 && (l2 = this.Bb(u2, this.xg) + this.Bb(y2, this.xg), b2 = this.Bb(c2, this.xg) + this.Bb(b2, this.xg), this.Kb(u2, this.xg, l2), this.Kb(c2, this.xg, b2));
  17433. }
  17434. this.NT(u2, y2), this.Gy(y2), l2 = u2, n5.set(p2, -1), y2 == a2 && (n5.set(0, -1), a2 = -1);
  17435. } else
  17436. this.xx(l2, false), l2 = -1, u2 = y2, f2 = d2, c2 = b2;
  17437. }
  17438. if (this.xx(l2, false), l2 = -1, o2) {
  17439. for (a2 = -1, p2 = 0, v2 = n5.size; p2 < v2; p2++)
  17440. if ((y2 = n5.get(p2)) != -1) {
  17441. if (a2 == -1)
  17442. u2 = a2 = y2, f2 = this.vf(u2), c2 = this.ya(u2);
  17443. else if (y2 != u2 && (b2 = this.ya(y2), d2 = this.kk(b2), this.Ul(c2, y2), this.Vl(y2, c2), u2 = y2, f2 = d2, c2 = b2, i6 == 7 && (this.Bb(y2, this.be) | this.Bb(this.ue(y2), this.be)) == (1 | this.Ho)))
  17444. return void (this.Pi = new t4.Nd(5, r2, -1));
  17445. }
  17446. this.on(r2, a2);
  17447. } else {
  17448. for (a2 = -1, p2 = 0, v2 = n5.size; p2 < v2; p2++)
  17449. if ((y2 = n5.get(p2)) != -1) {
  17450. a2 = y2;
  17451. break;
  17452. }
  17453. e2 != a2 && this.on(r2, a2);
  17454. }
  17455. }
  17456. }
  17457. }
  17458. }, i5.prototype.QN = function() {
  17459. for (var i6 = -1, s5 = this.bh(), n5 = this.Oe; n5 != -1; n5 = this.Sf(n5)) {
  17460. var h3 = this.Je(n5);
  17461. if (h3 != -1) {
  17462. var r2 = h3;
  17463. do {
  17464. if (this.Bb(r2, s5) != 1) {
  17465. var e2 = this.gI();
  17466. this.Et(e2, r2), this.vJ(e2, i6), i6 != -1 && this.xJ(i6, e2), i6 = e2;
  17467. var o2 = 0, a2 = r2;
  17468. do {
  17469. o2 |= this.Bb(a2, this.be), this.RW(a2, e2), this.Kb(a2, s5, 1), a2 = this.kc(a2);
  17470. } while (a2 != r2);
  17471. this.Xg(e2, o2);
  17472. }
  17473. r2 = this.kc(this.ya(r2));
  17474. } while (r2 != h3);
  17475. }
  17476. }
  17477. e2 = this.gI(), this.Et(e2, -1), this.vJ(e2, i6), i6 != -1 && this.xJ(i6, e2), this.Jl = e2, this.Zn = t4.ce.rf(this.ze.size, NaN), this.fA = t4.ce.rf(this.ze.size, NaN), this.uJ(this.Jl, 1 / 0), this.wJ(this.Jl, 1 / 0), this.Lg(s5);
  17478. }, i5.prototype.lR = function(t5, i6, s5) {
  17479. if ((i6 = i6 != -1 ? i6 : this.Je(t5)) == -1)
  17480. return -1;
  17481. for (t5 = i6; ; ) {
  17482. if (this.Bb(i6, s5) != 1)
  17483. return i6;
  17484. if ((i6 = this.kc(this.ya(i6))) == t5)
  17485. return -1;
  17486. }
  17487. }, i5.prototype.qW = function() {
  17488. for (var t5 = this.bh(), i6 = this.Oe; i6 != -1; i6 = this.Sf(i6))
  17489. for (var s5 = -1; ; ) {
  17490. var n5 = this.lR(i6, s5, t5);
  17491. if (n5 == -1)
  17492. break;
  17493. s5 = this.kc(this.ya(n5));
  17494. for (var h3 = n5; ; ) {
  17495. var r2 = this.kc(h3), e2 = this.ue(h3), o2 = this.ya(h3);
  17496. if (e2 == o2) {
  17497. if (this.CP(h3), s5 != h3 && s5 != o2 || (s5 = -1), h3 == n5 || e2 == n5) {
  17498. if (h3 == (n5 = r2) || e2 == n5)
  17499. break;
  17500. h3 = r2;
  17501. continue;
  17502. }
  17503. } else
  17504. this.Kb(h3, t5, 1);
  17505. if ((h3 = r2) == n5)
  17506. break;
  17507. }
  17508. }
  17509. this.Lg(t5);
  17510. }, i5.prototype.GB = function(i6, s5, n5, h3, r2) {
  17511. this.Wg(), this.aH = r2, this.g = i6, this.Dq = this.g.VE(), (i6 = new t4.ja(0)).Jb(n5 != null ? this.g.I(n5.get(0)) : this.g.gd);
  17512. var e2 = 0, o2 = 1, a2 = n5 != null ? n5.get(0) : this.g.ld;
  17513. for (r2 = 1; a2 != -1; ) {
  17514. this.g.BJ(a2, this.Dq, o2), o2 <<= 1;
  17515. for (var u2 = this.g.Ob(a2); u2 != -1; u2 = this.g.Sb(u2))
  17516. for (var f2 = this.g.Ya(u2), c2 = 0, l2 = this.g.Ka(u2); c2 < l2; c2++)
  17517. i6.add(f2), f2 = this.g.V(f2);
  17518. t4.ba.Sn(this.g.jc(a2)) || (e2 += this.g.ea(a2)), n5 != null ? (a2 = r2 < n5.size ? n5.get(r2) : -1, r2++) : a2 = this.g.ve(a2);
  17519. }
  17520. for (this.Ho = o2, this.xa = i6.size, this.g.nx(i6, this.xa), this.lh == null && (this.lh = new t4.ad(2), this.ge = new t4.ad(8), this.Lc = new t4.ad(8), this.ze = new t4.ad(8)), this.lh.Ee(this.xa), t4.np.Bp(h3), this.ge.Ee(this.xa + 10), this.Lc.Ee(2 * this.xa + 32), this.ze.Ee(Math.max(32, e2)), this.Em = this.g.Hd(), n5 = new t4.h(), r2 = 0, e2 = new t4.h(), n5.Sc(), o2 = 0; o2 <= this.xa; o2++)
  17521. if (o2 < this.xa ? (f2 = i6.get(o2), this.g.D(f2, e2)) : e2.Sc(), !n5.rb(e2)) {
  17522. if (r2 < o2) {
  17523. for (f2 = this.$m(), l2 = c2 = -1; r2 < o2; r2++)
  17524. l2 = i6.get(r2), this.g.Sa(l2, this.Em, f2), a2 = this.lh.De(), this.lh.T(a2, 0, l2), this.lh.T(a2, 1, c2), c2 = a2, u2 = this.g.cd(l2), a2 = this.g.Rf(u2), a2 = this.Ma(a2), this.KW(f2, this.yd(f2) | a2);
  17525. this.LW(f2, c2), this.er(f2, this.g.Va(l2)), this.Qs != -1 && this.$W(this.Qs, f2), this.cX(f2, this.Qs), this.Qs = f2, this.Oe == -1 && (this.Oe = f2);
  17526. }
  17527. r2 = o2, n5.N(e2);
  17528. }
  17529. t4.np.Bp(h3), this.be = this.bh(), s5 == 5 && (this.dg = this.bh()), s5 == 4 && (this.xg = this.bh()), this.pP(s5, i6), this.Pi.Lj == 0 && (this.AX(s5), this.Pi.Lj == 0 && (isNaN(this.gA) || this.rO() ? (this.QN(), this.Pi.Lj == 0 && (this.Lg(this.be), this.be = -1, this.aH && this.HU(s5, h3))) : this.jA = true));
  17530. }, i5.prototype.Gy = function(t5) {
  17531. var i6 = this.kc(t5), s5 = this.ue(t5), n5 = this.ya(t5), h3 = this.kc(n5), r2 = this.ue(n5);
  17532. i6 != n5 && (this.Ul(r2, i6), this.Vl(i6, r2)), s5 != n5 && (this.Ul(s5, h3), this.Vl(h3, s5)), s5 = this.kk(t5), this.Je(s5) == t5 && (h3 != t5 ? this.on(s5, h3) : this.on(s5, -1)), h3 = this.kk(n5), this.Je(h3) == n5 && (i6 != n5 ? this.on(h3, i6) : this.on(h3, -1)), this.Lc.kd(t5), this.Lc.kd(n5);
  17533. }, i5.prototype.IF = function(t5, i6) {
  17534. for (; ; ) {
  17535. if ((i6 = t5.xe(i6)) == -1)
  17536. return -1;
  17537. var s5 = t5.ka(i6);
  17538. if (this.$e(s5) != this.$e(this.ya(s5)))
  17539. return s5;
  17540. }
  17541. }, i5.prototype.fr = function(t5, i6) {
  17542. var s5;
  17543. s5 === void 0 && (s5 = true), this.GB(t5, 0, null, i6, s5);
  17544. }, i5.prototype.pJ = function(i6, s5, n5) {
  17545. var h3 = new t4.ja(0);
  17546. h3.add(s5), this.GB(i6, 4, h3, n5, i6.jc(s5) == 1736);
  17547. }, i5.prototype.qJ = function(i6, s5, n5) {
  17548. var h3 = new t4.ja(0);
  17549. h3.add(s5), this.GB(i6, 5, h3, n5, true);
  17550. }, i5.prototype.Wg = function() {
  17551. this.g != null && (this.Dq != -1 && (this.g.pW(this.Dq), this.Dq = -1), this.Em != -1 && (this.g.Ud(this.Em), this.Em = -1), this.Eq != -1 && (this.g.Ud(this.Eq), this.Eq = -1), this.be != -1 && (this.Lg(this.be), this.be = -1), this.dg != -1 && (this.Lg(this.dg), this.dg = -1), this.xg != -1 && (this.Lg(this.xg), this.xg = -1), this.g = null, this.ge.oj(true), this.lh.oj(true), this.Qs = this.Oe = -1, this.Lc != null && this.Lc.oj(true), this.Ii != null && (this.Ii.length = 0), this.Fi != null && (this.Fi.length = 0), this.bH != null && (this.bH.length = 0), this.ze != null && this.ze.oj(true), this.Jl = -1, this.Zn = null);
  17552. }, i5.prototype.Je = function(t5) {
  17553. return this.ge.U(t5, 2);
  17554. }, i5.prototype.D = function(t5, i6) {
  17555. this.g.YF(this.ZQ(t5), i6);
  17556. }, i5.prototype.yd = function(t5) {
  17557. return this.ge.U(t5, 1);
  17558. }, i5.prototype.Sf = function(t5) {
  17559. return this.ge.U(t5, 4);
  17560. }, i5.prototype.Yy = function(t5) {
  17561. return this.ge.U(t5, 6);
  17562. }, i5.prototype.mm = function(t5) {
  17563. return this.ge.U(t5, 7);
  17564. }, i5.prototype.ls = function(t5) {
  17565. return this.lh.U(t5, 1);
  17566. }, i5.prototype.vj = function(t5) {
  17567. return this.lh.U(t5, 0);
  17568. }, i5.prototype.ng = function(t5, i6) {
  17569. return (i6 = this.Fi[i6]).size <= t5 ? -1 : i6.read(t5);
  17570. }, i5.prototype.pn = function(t5, i6, s5) {
  17571. (i6 = this.Fi[i6]).size <= t5 && i6.resize(this.ge.size, -1), i6.write(t5, s5);
  17572. }, i5.prototype.Fp = function() {
  17573. this.Fi == null && (this.Fi = []);
  17574. for (var i6 = t4.ja.rf(this.ge.Jg, -1), s5 = 0, n5 = this.Fi.length; s5 < n5; s5++)
  17575. if (this.Fi[s5] == null)
  17576. return this.Fi[s5] = i6, s5;
  17577. return this.Fi.push(i6), this.Fi.length - 1;
  17578. }, i5.prototype.Gp = function(t5) {
  17579. this.Fi[t5] = null;
  17580. }, i5.prototype.kk = function(t5) {
  17581. return this.Lc.U(t5, 1);
  17582. }, i5.prototype.vf = function(t5) {
  17583. return this.kk(this.ya(t5));
  17584. }, i5.prototype.ya = function(t5) {
  17585. return this.Lc.U(t5, 4);
  17586. }, i5.prototype.ue = function(t5) {
  17587. return this.Lc.U(t5, 5);
  17588. }, i5.prototype.kc = function(t5) {
  17589. return this.Lc.U(t5, 6);
  17590. }, i5.prototype.$e = function(t5) {
  17591. return this.Lc.U(t5, 2);
  17592. }, i5.prototype.af = function(t5) {
  17593. return this.ik(this.Lc.U(t5, 2));
  17594. }, i5.prototype.om = function(t5) {
  17595. return this.Lc.U(t5, 7);
  17596. }, i5.prototype.$r = function(t5, i6) {
  17597. this.D(this.kk(t5), i6);
  17598. }, i5.prototype.nm = function(t5, i6) {
  17599. this.D(this.vf(t5), i6);
  17600. }, i5.prototype.fh = function(t5) {
  17601. return this.Lc.U(t5, 3) & this.WN;
  17602. }, i5.prototype.Bb = function(t5, i6) {
  17603. return (i6 = this.Ii[i6]).size <= t5 ? -1 : i6.read(t5);
  17604. }, i5.prototype.Kb = function(t5, i6, s5) {
  17605. (i6 = this.Ii[i6]).size <= t5 && i6.resize(this.Lc.size, -1), i6.write(t5, s5);
  17606. }, i5.prototype.bh = function() {
  17607. this.Ii == null && (this.Ii = []);
  17608. for (var i6 = t4.ja.rf(this.Lc.Jg, -1), s5 = 0, n5 = this.Ii.length; s5 < n5; s5++)
  17609. if (this.Ii[s5] == null)
  17610. return this.Ii[s5] = i6, s5;
  17611. return this.Ii.push(i6), this.Ii.length - 1;
  17612. }, i5.prototype.Lg = function(t5) {
  17613. this.Ii[t5] = null;
  17614. }, i5.prototype.CP = function(t5) {
  17615. var i6 = this.$e(t5), s5 = this.ya(t5), n5 = this.kc(t5);
  17616. n5 == s5 && ((n5 = this.kc(n5)) == t5 && (n5 = -1));
  17617. var h3 = this.uF(i6);
  17618. h3 !== t5 && h3 != s5 || this.Et(i6, n5), s5 = this.Zn.read(i6), isNaN(s5) || (this.uJ(i6, NaN), this.wJ(i6, NaN)), this.xx(t5, true), this.Gy(t5);
  17619. }, i5.prototype.DP = function(t5) {
  17620. for (var i6 = 0, s5 = t5.size; i6 < s5; i6++) {
  17621. var n5 = t5.get(i6), h3 = this.$e(this.ya(n5));
  17622. this.Et(this.$e(n5), -1), this.Et(h3, -1), this.xx(n5, true), this.Gy(n5);
  17623. }
  17624. }, i5.prototype.uF = function(t5) {
  17625. return this.ze.U(t5, 1);
  17626. }, i5.prototype.ik = function(t5) {
  17627. return this.ze.U(t5, 2);
  17628. }, i5.prototype.Hn = function(t5) {
  17629. return this.ze.U(t5, 3);
  17630. }, i5.prototype.YQ = function(t5) {
  17631. return this.ze.U(t5, 4);
  17632. }, i5.prototype.Mp = function(t5) {
  17633. var i6 = this.Zn.read(t5);
  17634. return isNaN(i6) && (this.cY(t5), i6 = this.Zn.read(t5)), i6;
  17635. }, i5.prototype.Ma = function(t5) {
  17636. return this.g.EF(t5, this.Dq);
  17637. }, i5.prototype.Ie = function(t5) {
  17638. return this.g.Qa(t5, this.Em);
  17639. }, i5.prototype.nR = function(t5) {
  17640. return this.g.Qa(t5, this.Eq);
  17641. }, i5.prototype.mR = function(t5, i6) {
  17642. var s5 = this.Je(t5);
  17643. if (s5 == -1)
  17644. return -1;
  17645. var n5 = s5, h3 = -1, r2 = -1;
  17646. do {
  17647. if (this.vf(n5) == i6)
  17648. return n5;
  17649. if (h3 == -1) {
  17650. if ((h3 = this.Je(i6)) == -1)
  17651. break;
  17652. r2 = h3;
  17653. }
  17654. if (this.vf(r2) == t5)
  17655. return this.ya(r2);
  17656. n5 = this.kc(this.ya(n5)), r2 = this.kc(this.ya(r2));
  17657. } while (n5 != s5 && r2 != h3);
  17658. return -1;
  17659. }, i5.prototype.jB = function(i6, s5) {
  17660. s5.Qr(), s5 = s5.get();
  17661. var n5 = new t4.h();
  17662. this.$r(i6, n5), s5.Ec(n5), this.nm(i6, n5), s5.Rc(n5);
  17663. }, i5.prototype.BO = function(i6, s5) {
  17664. if (i6 == s5)
  17665. return 0;
  17666. var n5 = new t4.h();
  17667. this.nm(i6, n5);
  17668. var h3 = new t4.h();
  17669. return this.nm(s5, h3), n5.rb(h3) ? 0 : (s5 = new t4.h(), this.$r(i6, s5), (i6 = new t4.h()).vc(n5, s5), (n5 = new t4.h()).vc(h3, s5), t4.h.pu(i6, n5));
  17670. }, i5.prototype.AO = function(i6, s5) {
  17671. if (i6 == s5)
  17672. return 0;
  17673. var n5 = new t4.h();
  17674. this.nm(i6, n5);
  17675. var h3 = new t4.h();
  17676. return this.nm(s5, h3), n5.rb(h3) ? 0 : (s5 = new t4.h(), this.$r(i6, s5), (i6 = new t4.h()).vc(n5, s5), (n5 = new t4.h()).vc(h3, s5), 0 <= n5.y && 0 < i6.y ? t4.h.pu(i6, n5) : 0);
  17677. }, i5.prototype.rO = function() {
  17678. for (var i6 = t4.mc.ox(this.gA), s5 = new t4.h(), n5 = new t4.h(), h3 = new t4.h(), r2 = new t4.h(), e2 = new t4.h(), o2 = this.Oe; o2 != -1; o2 = this.Sf(o2)) {
  17679. var a2 = this.Je(o2);
  17680. if (a2 != -1) {
  17681. var u2 = a2;
  17682. this.$r(u2, s5), this.nm(u2, n5), e2.vc(n5, s5);
  17683. var f2 = e2.Tk();
  17684. do {
  17685. var c2 = u2;
  17686. if ((u2 = this.kc(this.ya(u2))) != c2) {
  17687. this.nm(u2, h3), r2.vc(h3, s5), c2 = r2.Tk();
  17688. var l2 = r2.yi(e2);
  17689. if (l2 * l2 / (c2 * f2) * Math.min(c2, f2) <= i6)
  17690. return false;
  17691. e2.N(r2), f2 = c2, n5.N(h3);
  17692. }
  17693. } while (u2 != a2);
  17694. }
  17695. }
  17696. return true;
  17697. }, i5;
  17698. }(), t4.ku = i4;
  17699. }(V || (V = {})), function(t4) {
  17700. var i4 = function() {
  17701. function i5() {
  17702. this.j = null, this.iH = new t4.h(), this.jH = new t4.h(), this.Ij = null, this.Ov = false, this.vl = -1;
  17703. }
  17704. return i5.prototype.cf = function(t5) {
  17705. return t5 < this.Ij.length && this.Ij[t5];
  17706. }, i5.prototype.fl = function(i6, s4, n4, h2) {
  17707. var r2 = t4.ba.uf(this.j.g.jc(n4));
  17708. if (t4.ba.uf(this.j.g.jc(s4)) != 2 || r2 != 1)
  17709. throw t4.i.Ra();
  17710. this.zP(i6, s4, n4, h2);
  17711. }, i5.prototype.fr = function(i6, s4) {
  17712. this.j == null && (this.j = new t4.ku()), this.j.fr(i6, s4);
  17713. }, i5.prototype.Gt = function(i6, s4, n4) {
  17714. for (t4.Uk.W(i6, s4, n4, true), s4 = i6.ld; s4 != -1; s4 = i6.ve(s4))
  17715. i6.jc(s4) == 1736 && t4.tn.W(i6, s4, -1, this.Ov, n4);
  17716. this.fr(i6, n4);
  17717. }, i5.prototype.GE = function(t5, i6, s4, n4, h2) {
  17718. var r2 = this.j.g;
  17719. if (r2.jc(t5) == 1736)
  17720. for (t5 = r2.Ob(t5); t5 != -1; t5 = r2.Sb(t5)) {
  17721. var e2 = r2.Ya(t5);
  17722. this.j.Ie(e2), this.j.Ie(r2.V(e2));
  17723. var o2 = this.j.nR(e2);
  17724. if (o2 != -1) {
  17725. var a2 = this.j.Bb(o2, s4);
  17726. if (a2 != 1 && a2 != 2)
  17727. if (this.cf(this.j.af(o2))) {
  17728. this.j.Kb(o2, s4, 1), a2 = r2.wf(i6, -1);
  17729. var u2 = o2, f2 = this.j.Ie(e2), c2 = 1;
  17730. do {
  17731. var l2 = this.um(e2, h2);
  17732. r2.kj(a2, l2), n4 != -1 && this.j.pn(f2, n4, 1), this.j.Kb(u2, s4, 1), u2 = this.j.kc(u2);
  17733. do {
  17734. var p2 = (l2 = c2 == 1 ? r2.V(e2) : r2.Na(e2)) != -1 ? this.j.Ie(l2) : -1;
  17735. } while (p2 == f2);
  17736. var v2 = this.j.kk(u2);
  17737. if (v2 != p2) {
  17738. do {
  17739. p2 = (l2 = c2 == 1 ? r2.Na(e2) : r2.V(e2)) != -1 ? this.j.Ie(l2) : -1;
  17740. } while (p2 == f2);
  17741. v2 != p2 ? (p2 = v2, l2 = this.j.vj(this.j.mm(p2))) : c2 = -c2;
  17742. }
  17743. f2 = p2, e2 = l2;
  17744. } while (u2 != o2);
  17745. r2.mn(a2, true);
  17746. } else
  17747. this.j.Kb(o2, s4, 2);
  17748. }
  17749. }
  17750. }, i5.prototype.ZE = function() {
  17751. for (var i6 = this.j.bh(), s4 = new t4.ja(0), n4 = this.j.Oe; n4 != -1; n4 = this.j.Sf(n4)) {
  17752. var h2 = this.j.Je(n4), r2 = h2;
  17753. if (h2 != -1)
  17754. do {
  17755. if (this.j.Bb(r2, i6) != 1) {
  17756. var e2 = this.j.ya(r2);
  17757. this.j.Kb(e2, i6, 1), this.j.Kb(r2, i6, 1), this.cf(this.j.af(r2)) && this.cf(this.j.af(e2)) && s4.add(r2);
  17758. }
  17759. r2 = this.j.kc(this.j.ya(r2));
  17760. } while (r2 != h2);
  17761. }
  17762. this.j.Lg(i6), this.j.DP(s4);
  17763. }, i5.prototype.um = function(t5, i6) {
  17764. return i6 == -1 ? t5 : this.UR(t5, i6);
  17765. }, i5.prototype.UR = function(t5, i6) {
  17766. var s4 = this.j.g, n4 = this.j.mm(this.j.Ie(t5));
  17767. do {
  17768. var h2 = this.j.vj(n4);
  17769. if (s4.Rf(s4.cd(h2)) == i6)
  17770. return h2;
  17771. n4 = this.j.ls(n4);
  17772. } while (n4 != -1);
  17773. return t5;
  17774. }, i5.prototype.Qt = function(i6, s4, n4) {
  17775. this.ZE();
  17776. var h2 = this.j.g, r2 = h2.Kg(1736), e2 = this.j.bh();
  17777. return this.oK(i6, s4, r2, n4, e2, -1), this.j.Lg(e2), t4.tn.W(h2, r2, 1, this.Ov, null), r2;
  17778. }, i5.prototype.oK = function(t5, i6, s4, n4, h2, r2) {
  17779. for (this.GE(t5, s4, h2, r2, n4), i6 != -1 && this.GE(i6, s4, h2, r2, n4), t5 = this.j.g, i6 = this.j.Oe; i6 != -1; i6 = this.j.Sf(i6)) {
  17780. var e2 = this.j.Je(i6);
  17781. if (e2 != -1) {
  17782. var o2 = e2;
  17783. do {
  17784. var a2 = this.j.Bb(o2, h2);
  17785. if (a2 != 1 && a2 != 2)
  17786. if (this.cf(this.j.af(o2))) {
  17787. a2 = t5.wf(s4, -1);
  17788. var u2 = o2;
  17789. do {
  17790. var f2 = this.j.om(u2);
  17791. f2 != -1 ? f2 = this.j.vj(f2) : (f2 = this.j.vj(this.j.om(this.j.ya(u2))), f2 = this.j.g.V(f2)), f2 = this.um(f2, n4), t5.kj(a2, f2), this.j.Kb(u2, h2, 1), r2 != -1 && (f2 = this.j.Ie(f2), this.j.pn(f2, r2, 1)), u2 = this.j.kc(u2);
  17792. } while (u2 != o2);
  17793. t5.mn(a2, true);
  17794. } else
  17795. this.j.Kb(o2, h2, 2);
  17796. o2 = this.j.kc(this.j.ya(o2));
  17797. } while (o2 != e2);
  17798. }
  17799. }
  17800. }, i5.prototype.TX = function(i6, s4, n4) {
  17801. var h2 = this.j.g, r2 = h2.Kg(1736), e2 = h2.Kg(1607), o2 = h2.Kg(550);
  17802. this.ZE();
  17803. var a2 = -1, u2 = this.j.bh(), f2 = this.j.Fp();
  17804. for (this.oK(i6, s4, r2, n4, u2, f2), i6 = this.j.Oe; i6 != -1; i6 = this.j.Sf(i6))
  17805. if ((s4 = this.j.Je(i6)) != -1) {
  17806. var c2 = s4;
  17807. do {
  17808. var l2 = this.j.Bb(c2, u2), p2 = this.j.Bb(this.j.ya(c2), u2);
  17809. if ((l2 |= p2) == 2)
  17810. if (l2 = this.j.fh(c2), this.cf(l2)) {
  17811. var v2 = h2.wf(e2, -1), y2 = c2;
  17812. l2 = this.$w(i6, h2), l2 = this.um(l2, n4), h2.kj(v2, l2), this.j.pn(i6, f2, 1);
  17813. do {
  17814. if (l2 = this.j.vf(y2), p2 = this.$w(l2, h2), p2 = this.um(p2, n4), h2.kj(v2, p2), this.j.Kb(y2, u2, 1), this.j.Kb(this.j.ya(y2), u2, 1), this.j.pn(l2, f2, 1), y2 = this.j.kc(y2), l2 = this.j.Bb(y2, u2), (l2 |= p2 = this.j.Bb(this.j.ya(y2), u2)) != 2)
  17815. break;
  17816. if (l2 = this.j.fh(y2), !this.cf(l2)) {
  17817. this.j.Kb(y2, u2, 1), this.j.Kb(this.j.ya(y2), u2, 1);
  17818. break;
  17819. }
  17820. } while (y2 != c2);
  17821. } else
  17822. this.j.Kb(c2, u2, 1), this.j.Kb(this.j.ya(c2), u2, 1);
  17823. c2 = this.j.kc(this.j.ya(c2));
  17824. } while (c2 != s4);
  17825. }
  17826. for (i6 = this.j.Oe; i6 != -1; i6 = this.j.Sf(i6))
  17827. (l2 = this.j.ng(i6, f2)) != 1 && (l2 = this.j.yd(i6), this.cf(l2) && (a2 == -1 && (a2 = h2.wf(o2, -1)), (s4 = this.j.mm(i6)) != -1 && (s4 = this.j.vj(s4), l2 = this.um(s4, n4), h2.kj(a2, l2))));
  17828. return this.j.Gp(f2), this.j.Lg(u2), t4.tn.W(h2, r2, 1, this.Ov, null), (n4 = [])[0] = o2, n4[1] = e2, n4[2] = r2, n4;
  17829. }, i5.prototype.$w = function(t5, i6) {
  17830. var s4 = -1;
  17831. for (t5 = this.j.mm(t5); t5 != -1; t5 = this.j.ls(t5)) {
  17832. var n4 = this.j.vj(t5);
  17833. s4 == -1 && (s4 = n4);
  17834. var h2 = this.j.Ma(i6.Rf(i6.cd(n4)));
  17835. if (this.cf(h2)) {
  17836. s4 = n4;
  17837. break;
  17838. }
  17839. }
  17840. return s4;
  17841. }, i5.prototype.fB = function(i6, s4) {
  17842. for (var n4 = this.ll(s4), h2 = this.j.kk(s4), r2 = this.j.vf(s4), e2 = 0, o2 = 0, a2 = this.j.mm(h2); a2 != -1; a2 = this.j.ls(a2)) {
  17843. var u2 = this.j.vj(a2), f2 = i6.cd(u2), c2 = this.j.Ma(i6.Rf(f2));
  17844. f2 = i6.Ya(f2), (c2 = (c2 & n4) != 0) && f2 == u2 && (this.vl = s4);
  17845. var l2 = i6.V(u2);
  17846. l2 != -1 && this.j.Ie(l2) == r2 ? (e2++, c2 && (this.vl === -1 && f2 == l2 && (u2 = this.j.kc(s4), this.cf(this.ll(u2)) && (this.vl = u2)), o2++)) : (u2 = i6.Na(u2)) != -1 && this.j.Ie(u2) == r2 && (e2--, c2 && (this.vl === -1 && f2 === u2 && (u2 = this.j.kc(s4), this.cf(this.ll(u2)) && (this.vl = u2)), o2--));
  17847. }
  17848. return this.j.D(h2, this.iH), this.j.D(r2, this.jH), (o2 != 0 ? o2 : e2) * (i6 = t4.h.ub(this.iH, this.jH));
  17849. }, i5.prototype.ll = function(t5) {
  17850. return this.j.fh(t5) | this.j.af(t5) | this.j.af(this.j.ya(t5));
  17851. }, i5.prototype.rK = function(t5) {
  17852. for (var i6 = this.j.ya(this.j.ue(t5)), s4 = -1; i6 != t5; ) {
  17853. if (this.cf(this.ll(i6))) {
  17854. if (s4 != -1)
  17855. return -1;
  17856. s4 = i6;
  17857. }
  17858. i6 = this.j.ya(this.j.ue(i6));
  17859. }
  17860. return s4 != -1 ? this.j.ya(s4) : -1;
  17861. }, i5.prototype.sK = function(t5) {
  17862. for (var i6 = this.j.ya(this.j.kc(t5)), s4 = -1; i6 != t5; ) {
  17863. if (this.cf(this.ll(i6))) {
  17864. if (s4 != -1)
  17865. return -1;
  17866. s4 = i6;
  17867. }
  17868. i6 = this.j.ya(this.j.kc(i6));
  17869. }
  17870. return s4 != -1 ? this.j.ya(s4) : -1;
  17871. }, i5.prototype.gJ = function(i6, s4, n4, h2, r2) {
  17872. var e2 = this.j.g, o2 = i6, a2 = this.j.ya(o2);
  17873. this.j.Kb(o2, n4, 1), this.j.Kb(a2, n4, 1), this.vl = -1;
  17874. for (var u2 = this.fB(e2, o2), f2 = o2, c2 = -1, l2 = false, p2 = 1; ; ) {
  17875. var v2 = this.j.ue(o2);
  17876. if (v2 == a2)
  17877. break;
  17878. if (a2 = this.j.kc(a2), this.j.ya(v2) != a2) {
  17879. if ((o2 = this.rK(o2)) == -1) {
  17880. l2 = true;
  17881. break;
  17882. }
  17883. a2 = this.j.ya(o2);
  17884. } else
  17885. o2 = v2;
  17886. if (o2 == i6) {
  17887. c2 = i6;
  17888. break;
  17889. }
  17890. if (v2 = this.ll(o2), !this.cf(v2))
  17891. break;
  17892. this.j.Kb(o2, n4, 1), this.j.Kb(a2, n4, 1), f2 = o2, u2 += this.fB(e2, o2), p2++;
  17893. }
  17894. if (c2 == -1)
  17895. for (o2 = i6, a2 = this.j.ya(o2), c2 = o2; (i6 = this.j.kc(o2)) != a2; ) {
  17896. if (a2 = this.j.ue(a2), this.j.ya(i6) != a2) {
  17897. if ((o2 = this.sK(o2)) == -1) {
  17898. l2 = true;
  17899. break;
  17900. }
  17901. a2 = this.j.ya(o2);
  17902. } else
  17903. o2 = i6;
  17904. if (v2 = this.ll(o2), !this.cf(v2))
  17905. break;
  17906. this.j.Kb(o2, n4, 1), this.j.Kb(a2, n4, 1), c2 = o2, u2 += this.fB(e2, o2), p2++;
  17907. }
  17908. else if (this.vl != -1 && (f2 = this.vl, c2 = this.j.ue(this.vl), this.j.ya(c2) != this.j.kc(this.j.ya(f2)) && (c2 = this.rK(f2)) == -1))
  17909. throw t4.i.Ra();
  17910. for (0 <= u2 || (o2 = c2, c2 = this.j.ya(f2), f2 = this.j.ya(o2)), n4 = e2.wf(s4, -1), o2 = f2, f2 = this.j.kk(f2), l2 = this.j.vf(c2) == f2 && l2, u2 = this.$w(f2, e2), u2 = this.um(u2, r2), e2.kj(n4, u2), h2 != -1 && this.j.pn(f2, h2, 1), f2 = 0, p2 = l2 ? t4.P.truncate((p2 + 1) / 2) : -1; i6 = this.j.vf(o2), u2 = this.$w(i6, e2), u2 = this.um(u2, r2), e2.kj(n4, u2), f2++, h2 != -1 && this.j.pn(i6, h2, 1), l2 && f2 == p2 && (n4 = e2.wf(s4, -1), e2.kj(n4, u2)), o2 != c2; )
  17911. if (i6 = this.j.kc(o2), this.j.ue(this.j.ya(o2)) != this.j.ya(i6)) {
  17912. if ((o2 = this.sK(o2)) == -1)
  17913. throw t4.i.Ra();
  17914. } else
  17915. o2 = i6;
  17916. }, i5.prototype.Rt = function(t5) {
  17917. for (var i6 = this.j.g.Kg(1607), s4 = this.j.bh(), n4 = this.j.Oe; n4 != -1; n4 = this.j.Sf(n4)) {
  17918. var h2 = this.j.Je(n4), r2 = h2;
  17919. do {
  17920. this.j.Bb(r2, s4) != 1 && this.cf(this.ll(r2)) && this.gJ(r2, i6, s4, -1, t5), r2 = this.j.kc(this.j.ya(r2));
  17921. } while (r2 != h2);
  17922. }
  17923. return this.j.Lg(s4), i6;
  17924. }, i5.prototype.UX = function(t5) {
  17925. for (var i6 = this.j.g, s4 = i6.Kg(1607), n4 = i6.Kg(550), h2 = this.j.bh(), r2 = this.j.Fp(), e2 = -1, o2 = this.j.Oe; o2 != -1; o2 = this.j.Sf(o2)) {
  17926. var a2 = this.j.Je(o2), u2 = a2;
  17927. do {
  17928. var f2 = this.j.Bb(u2, h2);
  17929. f2 != 1 && (f2 = this.ll(u2), this.cf(f2) && this.gJ(u2, s4, h2, r2, t5)), u2 = this.j.kc(this.j.ya(u2));
  17930. } while (u2 != a2);
  17931. }
  17932. for (o2 = this.j.Oe; o2 != -1; o2 = this.j.Sf(o2))
  17933. (f2 = this.j.ng(o2, r2)) != 1 && (f2 = this.j.yd(o2), this.cf(f2) && (e2 == -1 && (e2 = i6.wf(n4, -1)), (a2 = this.j.mm(o2)) != -1 && (a2 = this.j.vj(a2), a2 = this.um(a2, t5), i6.kj(e2, a2))));
  17934. return this.j.Lg(h2), this.j.Gp(r2), (t5 = [])[0] = n4, t5[1] = s4, t5;
  17935. }, i5.prototype.pr = function() {
  17936. for (var t5 = this.j.g, i6 = t5.Kg(550), s4 = t5.wf(i6, -1), n4 = this.j.Oe; n4 != -1; n4 = this.j.Sf(n4))
  17937. if (this.cf(this.j.yd(n4))) {
  17938. for (var h2 = -1, r2 = this.j.mm(n4); r2 != -1; r2 = this.j.ls(r2)) {
  17939. var e2 = this.j.vj(r2);
  17940. h2 == -1 && (h2 = e2);
  17941. var o2 = this.j.Ma(t5.Rf(t5.cd(e2)));
  17942. if (this.cf(o2)) {
  17943. h2 = e2;
  17944. break;
  17945. }
  17946. }
  17947. t5.kj(s4, h2);
  17948. }
  17949. return i6;
  17950. }, i5.prototype.eq = function(t5) {
  17951. this.Ij = [];
  17952. for (var i6 = 0; i6 < t5; i6++)
  17953. this.Ij[i6] = false;
  17954. }, i5.TV = function(i6, s4, n4) {
  17955. var h2 = i6.Ja(), r2 = Array(1e3);
  17956. t4.P.bv(r2, null);
  17957. var e2 = t4.P.lg(1e3, 0), o2 = i6.I(), a2 = true, u2 = s4.Eb() == 2;
  17958. if (s4.Eb() != 1 && s4.Eb() != 2)
  17959. throw t4.i.Ra();
  17960. for (var f2 = 0; f2 < o2; ) {
  17961. var c2 = t4.P.truncate(i6.dW(r2, f2) - f2);
  17962. u2 ? t4.jd.mK(s4, r2, c2, n4, e2) : t4.jd.nK(s4, r2, c2, n4, e2);
  17963. for (var l2 = 0, p2 = 0; p2 < c2; p2++)
  17964. e2[p2] == 0 && (a2 && (a2 = false, h2.Gd(i6, 0, f2)), l2 != p2 && h2.Gd(i6, f2 + l2, f2 + p2), l2 = p2 + 1);
  17965. a2 || l2 == c2 || h2.Gd(i6, f2 + l2, f2 + c2), f2 += c2;
  17966. }
  17967. return a2 ? i6 : h2;
  17968. }, i5.tG = function(s4, n4, h2) {
  17969. return s4 instanceof t4.de ? i5.TV(s4, n4, h2) : n4 instanceof t4.Ta ? s4.B() || n4.B() ? s4.Ja() : t4.Uk.rU(h2, s4, n4) ? t4.Uk.wO(s4, n4) : s4.Ja() : i5.UV(s4, n4, h2);
  17970. }, i5.Cv = function(s4, n4, h2, r2) {
  17971. var e2 = new t4.l();
  17972. s4.A(e2);
  17973. var o2 = new t4.l();
  17974. n4.A(o2);
  17975. var a2 = new t4.l();
  17976. if (a2.L(e2), a2.$b(o2), h2 = t4.ta.Xd(h2, a2, true), (a2 = new t4.l()).L(o2), o2 = t4.ta.Gr(h2), a2.X(o2, o2), !e2.isIntersecting(a2)) {
  17977. if (s4.Eb() <= n4.Eb())
  17978. return i5.mi(i5.Ue(s4.Ja()), s4, "&");
  17979. if (s4.Eb() > n4.Eb())
  17980. return i5.mi(i5.Ue(n4.Ja()), s4, "&");
  17981. }
  17982. return o2 = new i5(), a2 = (e2 = new t4.hd()).Ib(i5.Ue(s4)), n4 = e2.Ib(i5.Ue(n4)), o2.Gt(e2, h2, r2), r2 = o2.Cv(a2, n4), s4 = i5.mi(e2.Ke(r2), s4, "&"), t4.ba.Ic(s4.K()) && (s4.Eh(2, h2), s4.K() == 1736 && s4.hm()), s4;
  17983. }, i5.UV = function(i6, s4, n4) {
  17984. if (i6.B() || s4.B())
  17985. return i6.Ja();
  17986. var h2 = [null], r2 = [0], e2 = s4.Eb() == 2;
  17987. if (s4.Eb() != 1 && s4.Eb() != 2)
  17988. throw t4.i.Ra();
  17989. return h2[0] = i6.D(), e2 ? t4.jd.mK(s4, h2, 1, n4, r2) : t4.jd.nK(s4, h2, 1, n4, r2), r2[0] == 0 ? i6.Ja() : i6;
  17990. }, i5.prototype.DU = function(i6, s4, n4, h2, r2) {
  17991. if (i6.B())
  17992. return i6;
  17993. var e2 = new t4.hd();
  17994. return i6 = e2.Ib(i6), this.Nk(e2, i6, s4, n4, h2, r2);
  17995. }, i5.prototype.FU = function(i6, s4, n4, h2, r2, e2) {
  17996. if (r2 && i6.jc(s4) != 550) {
  17997. var o2 = new t4.LC();
  17998. o2.LX(i6, n4), o2.Pg ? (t4.Uk.W(i6, n4, e2, true), r2 = false) : this.j.ty(n4);
  17999. } else
  18000. t4.Uk.W(i6, n4, e2, true), r2 = false;
  18001. if (h2 && i6.jc(s4) != 550 ? this.j.qJ(i6, s4, e2) : this.j.pJ(i6, s4, e2), this.j.jA)
  18002. return this.j.Wg(), this.j = null, this.Nk(i6, s4, n4, h2, false, e2);
  18003. if (this.j.ty(NaN), e2 = this.j.Ma(s4), this.eq(e2 + 1), this.Ij[e2] = true, i6.jc(s4) == 1736 || h2 && i6.jc(s4) != 550)
  18004. return i6.Zo(s4, 0), s4 = this.Qt(s4, -1, -1), (i6 = i6.Ke(s4)).Zo(0), r2 ? i6.Eh(1, 0) : (i6.Eh(2, n4), i6.hm()), i6;
  18005. if (i6.jc(s4) == 1607)
  18006. return s4 = this.Rt(-1), i6 = i6.Ke(s4), r2 || i6.Eh(2, n4), i6;
  18007. if (i6.jc(s4) == 550)
  18008. return s4 = this.pr(), i6 = i6.Ke(s4), r2 || i6.Eh(2, n4), i6;
  18009. throw t4.i.Ra();
  18010. }, i5.prototype.Nk = function(i6, s4, n4, h2, r2, e2) {
  18011. this.j = new t4.ku();
  18012. try {
  18013. return this.FU(i6, s4, n4, h2, r2, e2);
  18014. } finally {
  18015. this.j.Wg();
  18016. }
  18017. }, i5.Nk = function(t5, s4, n4, h2, r2) {
  18018. return new i5().DU(t5, s4, n4, h2, r2);
  18019. }, i5.prototype.EU = function(i6, s4, n4, h2) {
  18020. this.Ov = i6, this.j = new t4.ku(), i6 = s4.Jn(n4);
  18021. var r2 = s4.jc(n4);
  18022. if (i6 != 1 || r2 == 550 ? this.j.pJ(s4, n4, h2) : this.j.qJ(s4, n4, h2), !this.j.jA)
  18023. if (this.j.ty(NaN), h2 = this.j.Ma(n4), this.eq(h2 + 1), this.Ij[h2] = true, s4.jc(n4) == 1736 || i6 == 1 && s4.jc(n4) != 550)
  18024. s4.Zo(n4, 0), h2 = this.Qt(n4, -1, -1), s4.bC(h2, n4), s4.vB(h2);
  18025. else if (s4.jc(n4) == 1607)
  18026. h2 = this.Rt(-1), s4.bC(h2, n4), s4.vB(h2);
  18027. else {
  18028. if (s4.jc(n4) != 550)
  18029. throw t4.i.ga("internal error");
  18030. h2 = this.pr(), s4.bC(h2, n4), s4.vB(h2);
  18031. }
  18032. }, i5.prototype.km = function(i6, s4) {
  18033. var n4 = t4.ba.uf(this.j.g.jc(i6)), h2 = t4.ba.uf(this.j.g.jc(s4));
  18034. if (n4 > h2)
  18035. return i6;
  18036. var r2 = this.j.Ma(i6), e2 = this.j.Ma(s4);
  18037. if (this.eq(1 + (r2 | e2)), this.Ij[this.j.Ma(i6)] = true, n4 == 2 && h2 == 2)
  18038. return this.Qt(i6, s4, -1);
  18039. if (n4 == 1 && h2 == 2 || n4 == 1 && h2 == 1)
  18040. return this.Rt(-1);
  18041. if (n4 == 0)
  18042. return this.pr();
  18043. throw t4.i.Ra();
  18044. }, i5.prototype.Cv = function(i6, s4) {
  18045. var n4 = t4.ba.uf(this.j.g.jc(i6)), h2 = t4.ba.uf(this.j.g.jc(s4)), r2 = this.j.Ma(i6), e2 = this.j.Ma(s4);
  18046. if (this.eq(1 + (r2 | e2)), this.Ij[this.j.Ma(i6) | this.j.Ma(s4)] = true, r2 = -1, 1 < this.j.g.it.Ba && (r2 = i6), n4 == 2 && h2 == 2)
  18047. return this.Qt(i6, s4, r2);
  18048. if (n4 == 1 && 0 < h2 || h2 == 1 && 0 < n4)
  18049. return this.Rt(r2);
  18050. if (n4 == 0 || h2 == 0)
  18051. return this.pr();
  18052. throw t4.i.Ra();
  18053. }, i5.prototype.Kz = function(i6, s4) {
  18054. var n4 = t4.ba.uf(this.j.g.jc(i6)), h2 = t4.ba.uf(this.j.g.jc(s4)), r2 = this.j.Ma(i6), e2 = this.j.Ma(s4);
  18055. if (this.eq(1 + (r2 | e2)), this.Ij[this.j.Ma(i6) | this.j.Ma(s4)] = true, r2 = -1, 1 < this.j.g.it.Ba && (r2 = i6), n4 == 2 && h2 == 2)
  18056. return this.TX(i6, s4, r2);
  18057. if (n4 == 1 && 0 < h2 || h2 == 1 && 0 < n4)
  18058. return this.UX(r2);
  18059. if (n4 == 0 || h2 == 0)
  18060. return (i6 = [])[0] = this.pr(), i6;
  18061. throw t4.i.Ra();
  18062. }, i5.prototype.fp = function(i6, s4) {
  18063. var n4 = t4.ba.uf(this.j.g.jc(i6)), h2 = t4.ba.uf(this.j.g.jc(s4)), r2 = this.j.Ma(i6), e2 = this.j.Ma(s4);
  18064. if (this.eq(1 + (r2 | e2)), this.Ij[this.j.Ma(i6)] = true, this.Ij[this.j.Ma(s4)] = true, n4 == 2 && h2 == 2)
  18065. return this.Qt(i6, s4, -1);
  18066. if (n4 == 1 && h2 == 1)
  18067. return this.Rt(-1);
  18068. if (n4 == 0 && h2 == 0)
  18069. return this.pr();
  18070. throw t4.i.Ra();
  18071. }, i5.Ue = function(i6) {
  18072. var s4 = i6.K();
  18073. return s4 == 197 ? (s4 = new t4.Ea(i6.description), i6.B() || s4.bd(i6, false), s4) : s4 == 33 ? (s4 = new t4.de(i6.description), i6.B() || s4.add(i6), s4) : s4 == 322 ? (s4 = new t4.Ua(i6.description), i6.B() || s4.oc(i6, true), s4) : i6;
  18074. }, i5.mi = function(i6, s4, n4) {
  18075. var h2 = i6.K();
  18076. return h2 == 197 ? (s4 = new t4.Ea(i6.description), i6.B() || s4.bd(i6, false), s4) : h2 != 33 || n4 != "|" && n4 != "^" ? h2 == 322 ? (s4 = new t4.Ua(i6.description), i6.B() || s4.oc(i6, true), s4) : h2 == 33 && n4 == "-" && s4.K() == 33 || h2 == 550 && n4 == "&" && s4.K() == 33 ? (s4 = new t4.Ta(i6.description), i6.B() || i6.we(0, s4), s4) : i6 : (s4 = new t4.de(i6.description), i6.B() || s4.add(i6), s4);
  18077. }, i5.km = function(s4, n4, h2, r2) {
  18078. if (s4.B() || n4.B() || s4.Eb() > n4.Eb())
  18079. return i5.mi(i5.Ue(s4), s4, "-");
  18080. var e2 = new t4.l();
  18081. s4.A(e2);
  18082. var o2 = new t4.l();
  18083. if (n4.A(o2), !e2.isIntersecting(o2))
  18084. return i5.mi(i5.Ue(s4), s4, "-");
  18085. var a2 = new t4.l();
  18086. return a2.L(e2), a2.$b(o2), h2 = t4.ta.Xd(h2, a2, true), o2 = new i5(), a2 = (e2 = new t4.hd()).Ib(i5.Ue(s4)), n4 = e2.Ib(i5.Ue(n4)), o2.Gt(e2, h2, r2), r2 = o2.km(a2, n4), r2 = e2.Ke(r2), s4 = i5.mi(r2, s4, "-"), t4.ba.Ic(s4.K()) && (s4.Eh(2, h2), s4.K() == 1736 && s4.hm()), s4;
  18087. }, i5.PP = function(s4, n4, h2) {
  18088. if (2 > s4.length)
  18089. throw t4.i.O("not enough geometries to dissolve");
  18090. for (var r2 = 0, e2 = 0, o2 = s4.length; e2 < o2; e2++)
  18091. r2 = Math.max(s4[e2].Eb(), r2);
  18092. var a2 = new t4.l();
  18093. a2.Pa();
  18094. var u2 = new t4.hd(), f2 = -1, c2 = 0, l2 = -1;
  18095. for (e2 = 0, o2 = s4.length; e2 < o2; e2++)
  18096. if (s4[e2].Eb() == r2)
  18097. if (s4[e2].B())
  18098. l2 == -1 && (l2 = e2);
  18099. else {
  18100. l2 = e2, f2 == -1 ? f2 = u2.Ib(i5.Ue(s4[e2])) : u2.oN(f2, i5.Ue(s4[e2]));
  18101. var p2 = new t4.l();
  18102. s4[e2].yc(p2), a2.$b(p2), c2++;
  18103. }
  18104. return 2 > c2 ? i5.Ue(s4[l2]) : (s4 = r2 == 2, n4 = t4.ta.Xd(r2 == 0 ? n4 : null, a2, true), new i5().Nk(u2, f2, n4, s4, true, h2));
  18105. }, i5.Kz = function(s4, n4, h2, r2) {
  18106. var e2 = [null, null, null], o2 = new t4.l();
  18107. s4.A(o2);
  18108. var a2 = new t4.l();
  18109. n4.A(a2);
  18110. var u2 = new t4.l();
  18111. if (u2.L(o2), u2.$b(a2), h2 = t4.ta.Xd(h2, u2, true), (u2 = new t4.l()).L(a2), a2 = t4.ta.Gr(h2), u2.X(a2, a2), !o2.isIntersecting(u2)) {
  18112. if (s4.Eb() <= n4.Eb())
  18113. return e2[(s4 = i5.mi(i5.Ue(s4.Ja()), s4, "&")).Eb()] = s4, e2;
  18114. if (s4.Eb() > n4.Eb())
  18115. return e2[(s4 = i5.mi(i5.Ue(n4.Ja()), s4, "&")).Eb()] = s4, e2;
  18116. }
  18117. for (a2 = new i5(), u2 = (o2 = new t4.hd()).Ib(i5.Ue(s4)), n4 = o2.Ib(i5.Ue(n4)), a2.Gt(o2, h2, r2), r2 = a2.Kz(u2, n4), n4 = 0; n4 < r2.length; n4++)
  18118. a2 = i5.mi(o2.Ke(r2[n4]), s4, "&"), t4.ba.Ic(a2.K()) && (a2.Eh(2, h2), a2.K() == 1736 && a2.hm()), e2[a2.Eb()] = a2;
  18119. return e2;
  18120. }, i5.fp = function(s4, n4, h2, r2) {
  18121. if (s4.Eb() > n4.Eb())
  18122. return i5.mi(i5.Ue(s4), s4, "^");
  18123. if (s4.Eb() < n4.Eb() || s4.B())
  18124. return i5.mi(i5.Ue(n4), s4, "^");
  18125. if (n4.B())
  18126. return i5.mi(i5.Ue(s4), s4, "^");
  18127. var e2 = new t4.l();
  18128. s4.A(e2);
  18129. var o2 = new t4.l();
  18130. n4.A(o2);
  18131. var a2 = new t4.l();
  18132. return a2.L(e2), a2.$b(o2), h2 = t4.ta.Xd(h2, a2, true), o2 = new i5(), a2 = (e2 = new t4.hd()).Ib(i5.Ue(s4)), n4 = e2.Ib(i5.Ue(n4)), o2.Gt(e2, h2, r2), r2 = o2.fp(a2, n4), s4 = i5.mi(e2.Ke(r2), s4, "^"), t4.ba.Ic(s4.K()) && (s4.Eh(2, h2), s4.K() == 1736 && s4.hm()), s4;
  18133. }, i5.prototype.FQ = function(t5, i6) {
  18134. var s4 = this.j.g;
  18135. t5 = s4.wf(t5, -1);
  18136. for (var n4 = i6.size, h2 = 0; h2 < n4; h2++) {
  18137. var r2 = i6.get(h2);
  18138. s4.kj(t5, r2);
  18139. }
  18140. s4.mn(t5, true);
  18141. }, i5.prototype.SW = function(t5, i6) {
  18142. for (var s4 = this.j.g, n4 = s4.ld; n4 != -1; n4 = s4.ve(n4))
  18143. if (n4 == i6)
  18144. for (var h2 = s4.Ob(n4); h2 != -1; h2 = s4.Sb(h2)) {
  18145. var r2 = s4.Ya(h2);
  18146. if (r2 != -1)
  18147. for (var e2 = s4.V(r2); e2 != -1; ) {
  18148. r2 = this.j.Ie(r2);
  18149. var o2 = this.j.Ie(e2);
  18150. (r2 = this.j.mR(r2, o2)) != -1 && (o2 = this.j.ya(r2), this.j.Kb(r2, t5, 1), this.j.Kb(o2, t5, 2)), r2 = e2, e2 = s4.V(r2);
  18151. }
  18152. }
  18153. }, i5.prototype.VV = function(i6, s4, n4, h2) {
  18154. n4 = this.j.Ma(n4), h2 = this.j.Ma(h2);
  18155. var r2 = new t4.ja(0);
  18156. r2.Jb(256);
  18157. for (var e2 = this.j.g, o2 = this.j.bh(), a2 = this.j.Oe; a2 != -1; a2 = this.j.Sf(a2)) {
  18158. var u2 = this.j.Je(a2);
  18159. if (u2 != -1) {
  18160. var f2 = u2;
  18161. do {
  18162. if (this.j.Bb(f2, o2) != 1) {
  18163. var c2 = f2, l2 = f2, p2 = false, v2 = 0;
  18164. do {
  18165. if (this.j.Kb(c2, o2, 1), !p2) {
  18166. var y2 = this.j.fh(c2);
  18167. (y2 & h2) != 0 && (this.j.af(c2) & n4) != 0 && (l2 = c2, p2 = true);
  18168. }
  18169. p2 && (r2.add(this.j.vj(this.j.mm(this.j.kk(c2)))), i6 != -1 && (((y2 = this.j.fh(c2)) & h2) != 0 && (v2 |= y2 = this.j.Bb(c2, i6)))), c2 = this.j.kc(c2);
  18170. } while (c2 != l2);
  18171. p2 && 0 < this.j.Mp(this.j.$e(l2)) && (c2 = e2.Kg(1736), this.FQ(c2, r2), s4 != -1 && e2.BJ(c2, s4, v2)), r2.clear(false);
  18172. }
  18173. f2 = this.j.kc(this.j.ya(f2));
  18174. } while (f2 != u2);
  18175. }
  18176. }
  18177. this.j.Lg(o2);
  18178. }, i5.prototype.zP = function(t5, i6, s4, n4) {
  18179. this.j.qW();
  18180. var h2 = -1;
  18181. t5 != -1 && (h2 = this.j.bh(), this.SW(h2, s4)), this.VV(h2, t5, i6, s4), h2 != -1 && (this.j.Lg(h2), h2 = -1);
  18182. var r2 = this.j.g;
  18183. for (t5 = 0, h2 = r2.ld; h2 != -1; h2 = r2.ve(h2))
  18184. h2 != i6 && h2 != s4 && (n4.add(h2), t5++);
  18185. n4.Wd(0, t5, function(t6, i7) {
  18186. return (t6 = r2.qz(r2.Ob(t6))) < (i7 = r2.qz(r2.Ob(i7))) ? -1 : t6 == i7 ? 0 : 1;
  18187. });
  18188. }, i5.prototype.Wg = function() {
  18189. this.j != null && (this.j.Wg(), this.j = null);
  18190. }, i5;
  18191. }();
  18192. t4.Hg = i4;
  18193. }(V || (V = {})), function(t4) {
  18194. var i4 = function() {
  18195. function i5(t5) {
  18196. t5 !== void 0 ? this.Jt(t5) : this.LB();
  18197. }
  18198. return i5.prototype.lx = function() {
  18199. this.Qb = this.Lb = this.qb = this.jb = this.bb = this.eb = 0;
  18200. }, i5.prototype.Nb = function(t5) {
  18201. return this == t5 || t5 instanceof i5 && (this.eb == t5.eb && this.jb == t5.jb && this.Lb == t5.Lb && this.qb == t5.qb && this.bb == t5.bb && this.Qb == t5.Qb);
  18202. }, i5.prototype.dc = function() {
  18203. return t4.P.wj(), t4.P.wj(), t4.P.wj(), t4.P.wj(), t4.P.wj(), t4.P.wj();
  18204. }, i5.prototype.Gh = function(t5, i6) {
  18205. var s4 = this.qb * t5.x + this.bb * t5.y + this.Qb;
  18206. i6.x = this.eb * t5.x + this.jb * t5.y + this.Lb, i6.y = s4;
  18207. }, i5.prototype.XX = function(i6, s4, n4) {
  18208. for (var h2 = 0; h2 < s4; h2++) {
  18209. var r2 = i6[h2].x, e2 = i6[h2].y, o2 = this.eb * r2 + this.jb * e2 + this.Lb;
  18210. r2 = this.qb * r2 + this.bb * e2 + this.Qb, n4[h2] != null ? n4[h2].na(o2, r2) : n4[h2] = t4.h.construct(o2, r2);
  18211. }
  18212. }, i5.prototype.multiply = function(t5) {
  18213. i5.multiply(this, t5, this);
  18214. }, i5.multiply = function(t5, i6, s4) {
  18215. var n4 = t5.eb * i6.eb + t5.qb * i6.jb, h2 = t5.jb * i6.eb + t5.bb * i6.jb, r2 = t5.Lb * i6.eb + t5.Qb * i6.jb + i6.Lb, e2 = t5.eb * i6.qb + t5.qb * i6.bb, o2 = t5.jb * i6.qb + t5.bb * i6.bb;
  18216. t5 = t5.Lb * i6.qb + t5.Qb * i6.bb + i6.Qb, s4.eb = n4, s4.jb = h2, s4.Lb = r2, s4.qb = e2, s4.bb = o2, s4.Qb = t5;
  18217. }, i5.prototype.Pf = function() {
  18218. var t5 = new i5();
  18219. return t5.eb = this.eb, t5.jb = this.jb, t5.Lb = this.Lb, t5.qb = this.qb, t5.bb = this.bb, t5.Qb = this.Qb, t5;
  18220. }, i5.prototype.gC = function(i6) {
  18221. if (!i6.B()) {
  18222. for (var s4 = [], n4 = 0; 4 > n4; n4++)
  18223. s4[n4] = new t4.h();
  18224. i6.hB(s4), this.YX(s4, s4), i6.bx(s4, 4);
  18225. }
  18226. }, i5.prototype.YX = function(i6, s4) {
  18227. for (var n4 = 0; n4 < i6.length; n4++) {
  18228. var h2 = new t4.h(), r2 = i6[n4];
  18229. h2.x = this.eb * r2.x + this.jb * r2.y + this.Lb, h2.y = this.qb * r2.x + this.bb * r2.y + this.Qb, s4[n4] = h2;
  18230. }
  18231. }, i5.prototype.iS = function(t5, i6) {
  18232. t5.B() || i6.B() || t5.S() == 0 || t5.da() == 0 ? this.lx() : (this.jb = this.qb = 0, this.eb = i6.S() / t5.S(), this.bb = i6.da() / t5.da(), this.Lb = i6.v - t5.v * this.eb, this.Qb = i6.G - t5.G * this.bb);
  18233. }, i5.prototype.WX = function(i6) {
  18234. var s4 = new t4.h(), n4 = new t4.h();
  18235. s4.na(this.eb, this.qb), n4.na(this.jb, this.bb), s4.sub(s4);
  18236. var h2 = 0.5 * s4.Tk();
  18237. return s4.na(this.eb, this.qb), n4.na(this.jb, this.bb), s4.add(n4), i6 * (h2 > (s4 = 0.5 * s4.Tk()) ? Math.sqrt(h2) : Math.sqrt(s4));
  18238. }, i5.prototype.LB = function() {
  18239. this.eb = 1, this.qb = this.Lb = this.jb = 0, this.bb = 1, this.Qb = 0;
  18240. }, i5.prototype.isIdentity = function(i6) {
  18241. if (i6 !== void 0) {
  18242. var s4 = t4.h.construct(0, 1);
  18243. return this.Gh(s4, s4), s4.sub(t4.h.construct(0, 1)), s4.Tk() > i6 * i6 ? false : (s4.na(0, 0), this.Gh(s4, s4), !(s4.Tk() > i6 * i6) && (s4.na(1, 0), this.Gh(s4, s4), s4.sub(t4.h.construct(1, 0)), s4.Tk() <= i6 * i6));
  18244. }
  18245. return this.eb == 1 && this.bb == 1 && this.jb == 0 && this.Lb == 0 && this.qb == 0 && this.Qb == 0;
  18246. }, i5.prototype.Di = function(t5) {
  18247. return Math.abs(this.eb * this.bb - this.qb * this.jb) <= 2 * t5 * (Math.abs(this.eb * this.bb) + Math.abs(this.qb * this.jb));
  18248. }, i5.prototype.gg = function(t5, i6) {
  18249. this.eb = 1, this.jb = 0, this.Lb = t5, this.qb = 0, this.bb = 1, this.Qb = i6;
  18250. }, i5.prototype.Jt = function(t5, i6) {
  18251. i6 !== void 0 ? (this.eb = t5, this.qb = this.Lb = this.jb = 0, this.bb = i6, this.Qb = 0) : this.Jt(t5, t5);
  18252. }, i5.prototype.UB = function() {
  18253. this.eb = 0, this.jb = 1, this.Lb = 0, this.qb = 1, this.Qb = this.bb = 0;
  18254. }, i5.prototype.gX = function(t5) {
  18255. this.hX(Math.cos(t5), Math.sin(t5));
  18256. }, i5.prototype.hX = function(t5, i6) {
  18257. this.eb = t5, this.jb = -i6, this.Lb = 0, this.qb = i6, this.bb = t5, this.Qb = 0;
  18258. }, i5.prototype.shift = function(t5, i6) {
  18259. this.Lb += t5, this.Qb += i6;
  18260. }, i5.prototype.scale = function(t5, i6) {
  18261. this.eb *= t5, this.jb *= t5, this.Lb *= t5, this.qb *= i6, this.bb *= i6, this.Qb *= i6;
  18262. }, i5.prototype.flipX = function(t5, i6) {
  18263. this.eb = -this.eb, this.jb = -this.jb, this.Lb = t5 + i6 - this.Lb;
  18264. }, i5.prototype.flipY = function(t5, i6) {
  18265. this.qb = -this.qb, this.bb = -this.bb, this.Qb = t5 + i6 - this.Qb;
  18266. }, i5.prototype.rotate = function(t5) {
  18267. var s4 = new i5();
  18268. s4.gX(t5), this.multiply(s4);
  18269. }, i5.prototype.inverse = function(t5) {
  18270. if (t5 !== void 0) {
  18271. var i6 = this.eb * this.bb - this.jb * this.qb;
  18272. i6 == 0 ? t5.lx() : (i6 = 1 / i6, t5.Lb = (this.jb * this.Qb - this.Lb * this.bb) * i6, t5.Qb = (this.Lb * this.qb - this.eb * this.Qb) * i6, t5.eb = this.bb * i6, t5.jb = -this.jb * i6, t5.qb = -this.qb * i6, t5.bb = this.eb * i6);
  18273. } else
  18274. this.inverse(this);
  18275. }, i5;
  18276. }();
  18277. t4.Ed = i4;
  18278. }(V || (V = {})), function(t4) {
  18279. var i4 = function() {
  18280. function i5() {
  18281. }
  18282. return i5.prototype.lx = function() {
  18283. this.Cg = this.Qb = this.Lb = this.Ze = this.We = this.Ve = this.Ye = this.bb = this.jb = this.pf = this.qb = this.eb = 0;
  18284. }, i5.prototype.Jt = function(t5, i6) {
  18285. this.eb = t5, this.jb = this.pf = this.qb = 0, this.bb = i6, this.We = this.Ve = this.Ye = 0, this.Ze = void 0, this.Cg = this.Qb = this.Lb = 0;
  18286. }, i5.prototype.translate = function(t5, i6, s4) {
  18287. this.Lb += t5, this.Qb += i6, this.Cg += s4;
  18288. }, i5.prototype.gC = function(i6) {
  18289. if (!i6.B()) {
  18290. for (var s4 = new t4.Od[8](), n4 = 0; 8 > n4; n4++)
  18291. s4[n4] = new t4.Od();
  18292. i6.hB(s4), this.transform(s4, 8, s4), i6.bx(s4);
  18293. }
  18294. }, i5.prototype.transform = function(i6, s4, n4) {
  18295. for (var h2 = 0; h2 < s4; h2++) {
  18296. var r2 = new t4.Od(), e2 = i6[h2];
  18297. r2.x = this.eb * e2.x + this.jb * e2.y + this.Ve * e2.z + this.Lb, r2.y = this.qb * e2.x + this.bb * e2.y + this.We * e2.z + this.Qb, r2.z = this.pf * e2.x + this.Ye * e2.y + this.Ze * e2.z + this.Cg, n4[h2] = r2;
  18298. }
  18299. }, i5.prototype.gp = function(i6) {
  18300. var s4 = new t4.Od();
  18301. return s4.x = this.eb * i6.x + this.jb * i6.y + this.Ve * i6.z + this.Lb, s4.y = this.qb * i6.x + this.bb * i6.y + this.We * i6.z + this.Qb, s4.z = this.pf * i6.x + this.Ye * i6.y + this.Ze * i6.z + this.Cg, s4;
  18302. }, i5.prototype.Ag = function(t5) {
  18303. i5.multiply(this, t5, this);
  18304. }, i5.multiply = function(t5, i6, s4) {
  18305. var n4 = t5.eb * i6.eb + t5.qb * i6.jb + t5.pf * i6.Ve, h2 = t5.eb * i6.qb + t5.qb * i6.bb + t5.pf * i6.We, r2 = t5.eb * i6.pf + t5.qb * i6.Ye + t5.pf * i6.Ze, e2 = t5.jb * i6.eb + t5.bb * i6.jb + t5.Ye * i6.Ve, o2 = t5.jb * i6.qb + t5.bb * i6.bb + t5.Ye * i6.We, a2 = t5.jb * i6.pf + t5.bb * i6.Ye + t5.Ye * i6.Ze, u2 = t5.Ve * i6.eb + t5.We * i6.jb + t5.Ze * i6.Ve, f2 = t5.Ve * i6.qb + t5.We * i6.bb + t5.Ze * i6.We, c2 = t5.Ve * i6.pf + t5.We * i6.Ye + t5.Ze * i6.Ze, l2 = t5.Lb * i6.eb + t5.Qb * i6.jb + t5.Cg * i6.Ve + i6.Lb, p2 = t5.Lb * i6.qb + t5.Qb * i6.bb + t5.Cg * i6.We + i6.Qb;
  18306. t5 = t5.Lb * i6.pf + t5.Qb * i6.Ye + t5.Cg * i6.Ze + i6.Cg, s4.eb = n4, s4.qb = h2, s4.pf = r2, s4.jb = e2, s4.bb = o2, s4.Ye = a2, s4.Ve = u2, s4.We = f2, s4.Ze = c2, s4.Lb = l2, s4.Qb = p2, s4.Cg = t5;
  18307. }, i5.inverse = function(i6, s4) {
  18308. var n4 = i6.eb * (i6.bb * i6.Ze - i6.Ye * i6.We) - i6.qb * (i6.jb * i6.Ze - i6.Ye * i6.Ve) + i6.pf * (i6.jb * i6.We - i6.bb * i6.Ve);
  18309. if (n4 == 0)
  18310. throw t4.i.ga("math singularity");
  18311. var h2 = 1 / n4;
  18312. n4 = (i6.bb * i6.Ze - i6.Ye * i6.We) * h2;
  18313. var r2 = -(i6.jb * i6.Ze - i6.Ye * i6.Ve) * h2, e2 = (i6.jb * i6.We - i6.bb * i6.Ve) * h2, o2 = -(i6.qb * i6.Ze - i6.We * i6.pf) * h2, a2 = (i6.eb * i6.Ze - i6.pf * i6.Ve) * h2, u2 = -(i6.eb * i6.We - i6.qb * i6.Ve) * h2, f2 = (i6.qb * i6.Ye - i6.pf * i6.bb) * h2, c2 = -(i6.eb * i6.Ye - i6.pf * i6.jb) * h2;
  18314. h2 *= i6.eb * i6.bb - i6.qb * i6.jb;
  18315. var l2 = -(i6.Lb * n4 + i6.Qb * r2 + i6.Cg * e2), p2 = -(i6.Lb * o2 + i6.Qb * a2 + i6.Cg * u2);
  18316. i6 = -(i6.Lb * f2 + i6.Qb * c2 + i6.Cg * h2), s4.eb = n4, s4.qb = o2, s4.pf = f2, s4.jb = r2, s4.bb = a2, s4.Ye = c2, s4.Ve = e2, s4.We = u2, s4.Ze = h2, s4.Lb = l2, s4.Qb = p2, s4.Cg = i6;
  18317. }, i5.prototype.Pf = function() {
  18318. var t5 = new i5();
  18319. return t5.eb = this.eb, t5.qb = this.qb, t5.pf = this.pf, t5.jb = this.jb, t5.bb = this.bb, t5.Ye = this.Ye, t5.Ve = this.Ve, t5.We = this.We, t5.Ze = this.Ze, t5.Lb = this.Lb, t5.Qb = this.Qb, t5.Cg = this.Cg, t5;
  18320. }, i5;
  18321. }();
  18322. t4.BY = i4;
  18323. }(V || (V = {})), function(t4) {
  18324. var i4 = function(i5) {
  18325. function n4(t5) {
  18326. if (t5 !== void 0)
  18327. t5 = i5.call(this, t5.dc(), t5) || this;
  18328. else {
  18329. (t5 = i5.call(this) || this).cg = [], t5.cg[0] = 0, t5.Ba = 1, t5.wh = [];
  18330. for (var s5 = 0; 10 > s5; s5++)
  18331. t5.wh[s5] = -1;
  18332. t5.wh[t5.cg[0]] = 0;
  18333. }
  18334. return t5.lq = true, t5;
  18335. }
  18336. return Q(n4, i5), n4.prototype.se = function(t5) {
  18337. this.hasAttribute(t5) || (this.wh[t5] = 0, this.dD());
  18338. }, n4.prototype.removeAttribute = function(i6) {
  18339. if (i6 == 0)
  18340. throw t4.i.O("Position attribue cannot be removed");
  18341. this.hasAttribute(i6) && (this.wh[i6] = -1, this.dD());
  18342. }, n4.prototype.reset = function() {
  18343. this.cg[0] = 0, this.Ba = 1;
  18344. for (var t5 = 0; t5 < this.wh.length; t5++)
  18345. this.wh[t5] = -1;
  18346. this.wh[this.cg[0]] = 0, this.lq = true;
  18347. }, n4.prototype.yF = function() {
  18348. return s4.fz().add(this);
  18349. }, n4.og = function() {
  18350. return s4.fz().TR();
  18351. }, n4.prototype.nM = function() {
  18352. var i6 = this.dc();
  18353. return new t4.ua(i6, this);
  18354. }, n4.prototype.dD = function() {
  18355. for (var t5 = this.Ba = 0, i6 = 0; 10 > t5; t5++)
  18356. 0 <= this.wh[t5] && (this.cg[i6] = t5, this.wh[t5] = i6, i6++, this.Ba++);
  18357. this.lq = true;
  18358. }, n4.prototype.dc = function() {
  18359. return this.lq && (this.yl = this.Bn(), this.lq = false), this.yl;
  18360. }, n4.prototype.Nb = function(t5) {
  18361. if (t5 == null)
  18362. return false;
  18363. if (t5 == this)
  18364. return true;
  18365. if (!(t5 instanceof n4) || t5.Ba != this.Ba)
  18366. return false;
  18367. for (var i6 = 0; i6 < this.Ba; i6++)
  18368. if (this.cg[i6] != t5.cg[i6])
  18369. return false;
  18370. return this.lq == t5.lq;
  18371. }, n4.prototype.AG = function(t5) {
  18372. if (t5.Ba != this.Ba)
  18373. return false;
  18374. for (var i6 = 0; i6 < this.Ba; i6++)
  18375. if (this.cg[i6] != t5.cg[i6])
  18376. return false;
  18377. return true;
  18378. }, n4.Kw = function(t5, i6) {
  18379. for (var s5 = [], n5 = 0; n5 < t5.Ba; n5++)
  18380. s5[n5] = -1;
  18381. n5 = 0;
  18382. for (var h2 = t5.Ba; n5 < h2; n5++)
  18383. s5[n5] = i6.Qf(t5.qd(n5));
  18384. return s5;
  18385. }, n4.vR = function(t5, i6) {
  18386. return (t5 = new n4(t5)).se(i6), t5.yF();
  18387. }, n4.wR = function(t5, i6) {
  18388. for (var s5 = null, h2 = 0; 10 > h2; h2++)
  18389. !t5.hasAttribute(h2) && i6.hasAttribute(h2) && (s5 == null && (s5 = new n4(t5)), s5.se(h2));
  18390. return s5 != null ? s5.yF() : t5;
  18391. }, n4;
  18392. }(t4.ua);
  18393. t4.ee = i4;
  18394. var s4 = function() {
  18395. function t5() {
  18396. this.map = [];
  18397. var t6 = new i4();
  18398. this.add(t6), (t6 = new i4()).se(1), this.add(t6);
  18399. }
  18400. return t5.fz = function() {
  18401. return t5.WK;
  18402. }, t5.prototype.TR = function() {
  18403. return t5.gt;
  18404. }, t5.prototype.add = function(i5) {
  18405. var s5 = i5.dc();
  18406. if (t5.gt != null && t5.gt.dc() == s5 && i5.AG(t5.gt))
  18407. return t5.gt;
  18408. if (t5.Fw != null && t5.Fw.dc() == s5 && i5.AG(t5.Fw))
  18409. return t5.Fw;
  18410. var n4 = null;
  18411. return this.map[s5] !== void 0 && (n4 = this.map[s5]), n4 == null && ((n4 = i5.nM()).Ba == 1 ? t5.gt = n4 : n4.Ba == 2 && n4.qd(1) == 1 ? t5.Fw = n4 : this.map[s5] = n4), n4;
  18412. }, t5.WK = new t5(), t5;
  18413. }();
  18414. }(V || (V = {}));
  18415. var st = { feet: 9002, kilometers: 9036, meters: 9001, miles: 9035, "nautical-miles": 9030, yards: 9096 }, nt = { acres: 109402, ares: 109463, hectares: 109401, "square-feet": 109405, "square-kilometers": 109414, "square-meters": 109404, "square-miles": 109413, "square-yards": 109442 }, ht = new (function() {
  18416. function t4() {
  18417. this.LM = 50, this.op = new Map(), this.ij = [];
  18418. }
  18419. return t4.prototype.clear = function() {
  18420. this.ij.length = 0, this.op.clear();
  18421. }, t4.prototype.delete = function(t5) {
  18422. return !!this.op.delete(t5) && (this.ij.splice(this.ij.indexOf(t5), 1), true);
  18423. }, t4.prototype.get = function(t5) {
  18424. var i4 = this.op.get(t5);
  18425. if (i4 !== void 0)
  18426. return this.ij[0] !== t5 && (this.ij.splice(this.ij.indexOf(t5), 1), this.ij.unshift(t5)), i4;
  18427. }, t4.prototype.has = function(t5) {
  18428. return this.op.has(t5);
  18429. }, t4.prototype.set = function(t5, i4) {
  18430. return this.get(t5) !== void 0 && this.delete(t5), this.ij.unshift(t5), this.op.set(t5, i4), this.iM(), this;
  18431. }, t4.prototype.iM = function() {
  18432. for (; this.ij.length && this.ij.length > this.LM; ) {
  18433. var t5 = this.ij.pop();
  18434. this.op.delete(t5);
  18435. }
  18436. }, t4;
  18437. }())(), rt = ((W = {}).convertJSONToGeometry = function(t4) {
  18438. return V.bc.$O(t4);
  18439. }, W.hasM = function(t4) {
  18440. return t4.hasAttribute(V.Kh.M);
  18441. }, W.hasZ = function(t4) {
  18442. return t4.hasAttribute(V.Kh.Z);
  18443. }, W.getPointX = function(t4) {
  18444. return t4.Ng();
  18445. }, W.getPointY = function(t4) {
  18446. return t4.kh();
  18447. }, W.getPointZ = function(t4) {
  18448. return t4.VR();
  18449. }, W.getPointM = function(t4) {
  18450. return t4.tR();
  18451. }, W.getXMin = function(t4) {
  18452. return t4.gs();
  18453. }, W.getYMin = function(t4) {
  18454. return t4.js();
  18455. }, W.getXMax = function(t4) {
  18456. return t4.fs();
  18457. }, W.getYMax = function(t4) {
  18458. return t4.hs();
  18459. }, W.getZExtent = function(t4) {
  18460. return t4.Vg(V.Kh.Z, 0);
  18461. }, W.getMExtent = function(t4) {
  18462. return t4.Vg(V.Kh.M, 0);
  18463. }, W.exportPaths = function(t4) {
  18464. var i4 = [], s4 = t4.ea(), n4 = null, h2 = null, r2 = t4.hasAttribute(V.Kh.Z), e2 = t4.hasAttribute(V.Kh.M);
  18465. r2 && (n4 = t4.vb(V.Kh.Z)), e2 && (h2 = t4.vb(V.Kh.M));
  18466. for (var o2 = new V.h(), a2 = 0; a2 < s4; a2++) {
  18467. for (var u2 = t4.Ca(a2), f2 = t4.Ka(a2), c2 = 0, l2 = 0, p2 = NaN, v2 = NaN, y2 = NaN, b2 = NaN, d2 = t4.ec(a2), g2 = [], w2 = u2; w2 < u2 + f2; w2++) {
  18468. t4.D(w2, o2), b2 = y2 = NaN;
  18469. var x2 = [o2.x, o2.y];
  18470. r2 && (y2 = n4.get(w2), x2.push(y2)), e2 && (b2 = h2.get(w2), x2.push(b2)), w2 == u2 && d2 && (c2 = o2.x, l2 = o2.y, p2 = y2, v2 = b2), g2.push(x2);
  18471. }
  18472. !d2 || c2 == o2.x && l2 == o2.y && (!r2 || isNaN(p2) && isNaN(y2) || p2 == y2) && (!e2 || isNaN(v2) && isNaN(b2) || v2 == b2) || g2.push(g2[0].slice(0)), i4.push(g2);
  18473. }
  18474. return i4;
  18475. }, W.exportPathsFlat = function() {
  18476. }, W.exportPoints = function(t4) {
  18477. var i4 = t4.hasAttribute(V.Kh.Z), s4 = t4.hasAttribute(V.Kh.M), n4 = null, h2 = null;
  18478. i4 && (n4 = t4.vb(V.Kh.Z)), s4 && (h2 = t4.vb(V.Kh.M));
  18479. for (var r2 = new V.h(), e2 = t4.I(), o2 = [], a2 = 0; a2 < e2; a2++) {
  18480. t4.D(a2, r2);
  18481. var u2 = [r2.x, r2.y];
  18482. i4 && u2.push(n4.get(a2)), s4 && u2.push(h2.get(a2)), o2.push(u2);
  18483. }
  18484. return o2;
  18485. }, W.exportPointsFlat = function() {
  18486. }, W);
  18487. return function() {
  18488. function t4() {
  18489. }
  18490. return t4.buffer = I, t4.clip = a, t4.contains = f, t4.convexHull = j, t4.crosses = c, t4.cut = u, t4.densify = F, t4.difference = k, t4.disjoint = d, t4.distance = l, t4.equals = p, t4.extendedSpatialReferenceInfo = o, t4.generalize = G, t4.geodesicArea = O, t4.geodesicBuffer = P, t4.geodesicDensify = E, t4.geodesicLength = H, t4.intersect = z, t4.intersects = v, t4.isSimple = x, t4.nearestCoordinate = B, t4.nearestVertex = D, t4.nearestVertices = q, t4.offset = N, t4.overlaps = g, t4.planarArea = T, t4.planarLength = S, t4.relate = w, t4.simplify = m, t4.symmetricDifference = M, t4.touches = y, t4.union = A, t4.within = b, t4.rotate = V.Dx.rotate, t4.flipHorizontal = V.Dx.DQ, t4.flipVertical = V.Dx.EQ, t4.ExtendedParams = V.sC, t4._enableProjection = J, t4._project = K, t4._getTransformation = R, t4._getTransformationBySuitability = L, t4;
  18491. }();
  18492. }
  18493. var n2 = s2();
  18494. n2 !== void 0 && (t2.exports = n2);
  18495. }(i);
  18496. var s = i.exports;
  18497. var n = t({ __proto__: null, default: s }, [i.exports]);
  18498. export {
  18499. s,
  18500. n
  18501. };
  18502. //# sourceMappingURL=chunk-TSN7NGNU.js.map