pdf.worker.js 1.5 MB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626326273262832629326303263132632326333263432635326363263732638326393264032641326423264332644326453264632647326483264932650326513265232653326543265532656326573265832659326603266132662326633266432665326663266732668326693267032671326723267332674326753267632677326783267932680326813268232683326843268532686326873268832689326903269132692326933269432695326963269732698326993270032701327023270332704327053270632707327083270932710327113271232713327143271532716327173271832719327203272132722327233272432725327263272732728327293273032731327323273332734327353273632737327383273932740327413274232743327443274532746327473274832749327503275132752327533275432755327563275732758327593276032761327623276332764327653276632767327683276932770327713277232773327743277532776327773277832779327803278132782327833278432785327863278732788327893279032791327923279332794327953279632797327983279932800328013280232803328043280532806328073280832809328103281132812328133281432815328163281732818328193282032821328223282332824328253282632827328283282932830328313283232833328343283532836328373283832839328403284132842328433284432845328463284732848328493285032851328523285332854328553285632857328583285932860328613286232863328643286532866328673286832869328703287132872328733287432875328763287732878328793288032881328823288332884328853288632887328883288932890328913289232893328943289532896328973289832899329003290132902329033290432905329063290732908329093291032911329123291332914329153291632917329183291932920329213292232923329243292532926329273292832929329303293132932329333293432935329363293732938329393294032941329423294332944329453294632947329483294932950329513295232953329543295532956329573295832959329603296132962329633296432965329663296732968329693297032971329723297332974329753297632977329783297932980329813298232983329843298532986329873298832989329903299132992329933299432995329963299732998329993300033001330023300333004330053300633007330083300933010330113301233013330143301533016330173301833019330203302133022330233302433025330263302733028330293303033031330323303333034330353303633037330383303933040330413304233043330443304533046330473304833049330503305133052330533305433055330563305733058330593306033061330623306333064330653306633067330683306933070330713307233073330743307533076330773307833079330803308133082330833308433085330863308733088330893309033091330923309333094330953309633097330983309933100331013310233103331043310533106331073310833109331103311133112331133311433115331163311733118331193312033121331223312333124331253312633127331283312933130331313313233133331343313533136331373313833139331403314133142331433314433145331463314733148331493315033151331523315333154331553315633157331583315933160331613316233163331643316533166331673316833169331703317133172331733317433175331763317733178331793318033181331823318333184331853318633187331883318933190331913319233193331943319533196331973319833199332003320133202332033320433205332063320733208332093321033211332123321333214332153321633217332183321933220332213322233223332243322533226332273322833229332303323133232332333323433235332363323733238332393324033241332423324333244332453324633247332483324933250332513325233253332543325533256332573325833259332603326133262332633326433265332663326733268332693327033271332723327333274332753327633277332783327933280332813328233283332843328533286332873328833289332903329133292332933329433295332963329733298332993330033301333023330333304333053330633307333083330933310333113331233313333143331533316333173331833319333203332133322333233332433325333263332733328333293333033331333323333333334333353333633337333383333933340333413334233343333443334533346333473334833349333503335133352333533335433355333563335733358333593336033361333623336333364333653336633367333683336933370333713337233373333743337533376333773337833379333803338133382333833338433385333863338733388333893339033391333923339333394333953339633397333983339933400334013340233403334043340533406334073340833409334103341133412334133341433415334163341733418334193342033421334223342333424334253342633427334283342933430334313343233433334343343533436334373343833439334403344133442334433344433445334463344733448334493345033451334523345333454334553345633457334583345933460334613346233463334643346533466334673346833469334703347133472334733347433475334763347733478334793348033481334823348333484334853348633487334883348933490334913349233493334943349533496334973349833499335003350133502335033350433505335063350733508335093351033511335123351333514335153351633517335183351933520335213352233523335243352533526335273352833529335303353133532335333353433535335363353733538335393354033541335423354333544335453354633547335483354933550335513355233553335543355533556335573355833559335603356133562335633356433565335663356733568335693357033571335723357333574335753357633577335783357933580335813358233583335843358533586335873358833589335903359133592335933359433595335963359733598335993360033601336023360333604336053360633607336083360933610336113361233613336143361533616336173361833619336203362133622336233362433625336263362733628336293363033631336323363333634336353363633637336383363933640336413364233643336443364533646336473364833649336503365133652336533365433655336563365733658336593366033661336623366333664336653366633667336683366933670336713367233673336743367533676336773367833679336803368133682336833368433685336863368733688336893369033691336923369333694336953369633697336983369933700337013370233703337043370533706337073370833709337103371133712337133371433715337163371733718337193372033721337223372333724337253372633727337283372933730337313373233733337343373533736337373373833739337403374133742337433374433745337463374733748337493375033751337523375333754337553375633757337583375933760337613376233763337643376533766337673376833769337703377133772337733377433775337763377733778337793378033781337823378333784337853378633787337883378933790337913379233793337943379533796337973379833799338003380133802338033380433805338063380733808338093381033811338123381333814338153381633817338183381933820338213382233823338243382533826338273382833829338303383133832338333383433835338363383733838338393384033841338423384333844338453384633847338483384933850338513385233853338543385533856338573385833859338603386133862338633386433865338663386733868338693387033871338723387333874338753387633877338783387933880338813388233883338843388533886338873388833889338903389133892338933389433895338963389733898338993390033901339023390333904339053390633907339083390933910339113391233913339143391533916339173391833919339203392133922339233392433925339263392733928339293393033931339323393333934339353393633937339383393933940339413394233943339443394533946339473394833949339503395133952339533395433955339563395733958339593396033961339623396333964339653396633967339683396933970339713397233973339743397533976339773397833979339803398133982339833398433985339863398733988339893399033991339923399333994339953399633997339983399934000340013400234003340043400534006340073400834009340103401134012340133401434015340163401734018340193402034021340223402334024340253402634027340283402934030340313403234033340343403534036340373403834039340403404134042340433404434045340463404734048340493405034051340523405334054340553405634057340583405934060340613406234063340643406534066340673406834069340703407134072340733407434075340763407734078340793408034081340823408334084340853408634087340883408934090340913409234093340943409534096340973409834099341003410134102341033410434105341063410734108341093411034111341123411334114341153411634117341183411934120341213412234123341243412534126341273412834129341303413134132341333413434135341363413734138341393414034141341423414334144341453414634147341483414934150341513415234153341543415534156341573415834159341603416134162341633416434165341663416734168341693417034171341723417334174341753417634177341783417934180341813418234183341843418534186341873418834189341903419134192341933419434195341963419734198341993420034201342023420334204342053420634207342083420934210342113421234213342143421534216342173421834219342203422134222342233422434225342263422734228342293423034231342323423334234342353423634237342383423934240342413424234243342443424534246342473424834249342503425134252342533425434255342563425734258342593426034261342623426334264342653426634267342683426934270342713427234273342743427534276342773427834279342803428134282342833428434285342863428734288342893429034291342923429334294342953429634297342983429934300343013430234303343043430534306343073430834309343103431134312343133431434315343163431734318343193432034321343223432334324343253432634327343283432934330343313433234333343343433534336343373433834339343403434134342343433434434345343463434734348343493435034351343523435334354343553435634357343583435934360343613436234363343643436534366343673436834369343703437134372343733437434375343763437734378343793438034381343823438334384343853438634387343883438934390343913439234393343943439534396343973439834399344003440134402344033440434405344063440734408344093441034411344123441334414344153441634417344183441934420344213442234423344243442534426344273442834429344303443134432344333443434435344363443734438344393444034441344423444334444344453444634447344483444934450344513445234453344543445534456344573445834459344603446134462344633446434465344663446734468344693447034471344723447334474344753447634477344783447934480344813448234483344843448534486344873448834489344903449134492344933449434495344963449734498344993450034501345023450334504345053450634507345083450934510345113451234513345143451534516345173451834519345203452134522345233452434525345263452734528345293453034531345323453334534345353453634537345383453934540345413454234543345443454534546345473454834549345503455134552345533455434555345563455734558345593456034561345623456334564345653456634567345683456934570345713457234573345743457534576345773457834579345803458134582345833458434585345863458734588345893459034591345923459334594345953459634597345983459934600346013460234603346043460534606346073460834609346103461134612346133461434615346163461734618346193462034621346223462334624346253462634627346283462934630346313463234633346343463534636346373463834639346403464134642346433464434645346463464734648346493465034651346523465334654346553465634657346583465934660346613466234663346643466534666346673466834669346703467134672346733467434675346763467734678346793468034681346823468334684346853468634687346883468934690346913469234693346943469534696346973469834699347003470134702347033470434705347063470734708347093471034711347123471334714347153471634717347183471934720347213472234723347243472534726347273472834729347303473134732347333473434735347363473734738347393474034741347423474334744347453474634747347483474934750347513475234753347543475534756347573475834759347603476134762347633476434765347663476734768347693477034771347723477334774347753477634777347783477934780347813478234783347843478534786347873478834789347903479134792347933479434795347963479734798347993480034801348023480334804348053480634807348083480934810348113481234813348143481534816348173481834819348203482134822348233482434825348263482734828348293483034831348323483334834348353483634837348383483934840348413484234843348443484534846348473484834849348503485134852348533485434855348563485734858348593486034861348623486334864348653486634867348683486934870348713487234873348743487534876348773487834879348803488134882348833488434885348863488734888348893489034891348923489334894348953489634897348983489934900349013490234903349043490534906349073490834909349103491134912349133491434915349163491734918349193492034921349223492334924349253492634927349283492934930349313493234933349343493534936349373493834939349403494134942349433494434945349463494734948349493495034951349523495334954349553495634957349583495934960349613496234963349643496534966349673496834969349703497134972349733497434975349763497734978349793498034981349823498334984349853498634987349883498934990349913499234993349943499534996349973499834999350003500135002350033500435005350063500735008350093501035011350123501335014350153501635017350183501935020350213502235023350243502535026350273502835029350303503135032350333503435035350363503735038350393504035041350423504335044350453504635047350483504935050350513505235053350543505535056350573505835059350603506135062350633506435065350663506735068350693507035071350723507335074350753507635077350783507935080350813508235083350843508535086350873508835089350903509135092350933509435095350963509735098350993510035101351023510335104351053510635107351083510935110351113511235113351143511535116351173511835119351203512135122351233512435125351263512735128351293513035131351323513335134351353513635137351383513935140351413514235143351443514535146351473514835149351503515135152351533515435155351563515735158351593516035161351623516335164351653516635167351683516935170351713517235173351743517535176351773517835179351803518135182351833518435185351863518735188351893519035191351923519335194351953519635197351983519935200352013520235203352043520535206352073520835209352103521135212352133521435215352163521735218352193522035221352223522335224352253522635227352283522935230352313523235233352343523535236352373523835239352403524135242352433524435245352463524735248352493525035251352523525335254352553525635257352583525935260352613526235263352643526535266352673526835269352703527135272352733527435275352763527735278352793528035281352823528335284352853528635287352883528935290352913529235293352943529535296352973529835299353003530135302353033530435305353063530735308353093531035311353123531335314353153531635317353183531935320353213532235323353243532535326353273532835329353303533135332353333533435335353363533735338353393534035341353423534335344353453534635347353483534935350353513535235353353543535535356353573535835359353603536135362353633536435365353663536735368353693537035371353723537335374353753537635377353783537935380353813538235383353843538535386353873538835389353903539135392353933539435395353963539735398353993540035401354023540335404354053540635407354083540935410354113541235413354143541535416354173541835419354203542135422354233542435425354263542735428354293543035431354323543335434354353543635437354383543935440354413544235443354443544535446354473544835449354503545135452354533545435455354563545735458354593546035461354623546335464354653546635467354683546935470354713547235473354743547535476354773547835479354803548135482354833548435485354863548735488354893549035491354923549335494354953549635497354983549935500355013550235503355043550535506355073550835509355103551135512355133551435515355163551735518355193552035521355223552335524355253552635527355283552935530355313553235533355343553535536355373553835539355403554135542355433554435545355463554735548355493555035551355523555335554355553555635557355583555935560355613556235563355643556535566355673556835569355703557135572355733557435575355763557735578355793558035581355823558335584355853558635587355883558935590355913559235593355943559535596355973559835599356003560135602356033560435605356063560735608356093561035611356123561335614356153561635617356183561935620356213562235623356243562535626356273562835629356303563135632356333563435635356363563735638356393564035641356423564335644356453564635647356483564935650356513565235653356543565535656356573565835659356603566135662356633566435665356663566735668356693567035671356723567335674356753567635677356783567935680356813568235683356843568535686356873568835689356903569135692356933569435695356963569735698356993570035701357023570335704357053570635707357083570935710357113571235713357143571535716357173571835719357203572135722357233572435725357263572735728357293573035731357323573335734357353573635737357383573935740357413574235743357443574535746357473574835749357503575135752357533575435755357563575735758357593576035761357623576335764357653576635767357683576935770357713577235773357743577535776357773577835779357803578135782357833578435785357863578735788357893579035791357923579335794357953579635797357983579935800358013580235803358043580535806358073580835809358103581135812358133581435815358163581735818358193582035821358223582335824358253582635827358283582935830358313583235833358343583535836358373583835839358403584135842358433584435845358463584735848358493585035851358523585335854358553585635857358583585935860358613586235863358643586535866358673586835869358703587135872358733587435875358763587735878358793588035881358823588335884358853588635887358883588935890358913589235893358943589535896358973589835899359003590135902359033590435905359063590735908359093591035911359123591335914359153591635917359183591935920359213592235923359243592535926359273592835929359303593135932359333593435935359363593735938359393594035941359423594335944359453594635947359483594935950359513595235953359543595535956359573595835959359603596135962359633596435965359663596735968359693597035971359723597335974359753597635977359783597935980359813598235983359843598535986359873598835989359903599135992359933599435995359963599735998359993600036001360023600336004360053600636007360083600936010360113601236013360143601536016360173601836019360203602136022360233602436025360263602736028360293603036031360323603336034360353603636037360383603936040360413604236043360443604536046360473604836049360503605136052360533605436055360563605736058360593606036061360623606336064360653606636067360683606936070360713607236073360743607536076360773607836079360803608136082360833608436085360863608736088360893609036091360923609336094360953609636097360983609936100361013610236103361043610536106361073610836109361103611136112361133611436115361163611736118361193612036121361223612336124361253612636127361283612936130361313613236133361343613536136361373613836139361403614136142361433614436145361463614736148361493615036151361523615336154361553615636157361583615936160361613616236163361643616536166361673616836169361703617136172361733617436175361763617736178361793618036181361823618336184361853618636187361883618936190361913619236193361943619536196361973619836199362003620136202362033620436205362063620736208362093621036211362123621336214362153621636217362183621936220362213622236223362243622536226362273622836229362303623136232362333623436235362363623736238362393624036241362423624336244362453624636247362483624936250362513625236253362543625536256362573625836259362603626136262362633626436265362663626736268362693627036271362723627336274362753627636277362783627936280362813628236283362843628536286362873628836289362903629136292362933629436295362963629736298362993630036301363023630336304363053630636307363083630936310363113631236313363143631536316363173631836319363203632136322363233632436325363263632736328363293633036331363323633336334363353633636337363383633936340363413634236343363443634536346363473634836349363503635136352363533635436355363563635736358363593636036361363623636336364363653636636367363683636936370363713637236373363743637536376363773637836379363803638136382363833638436385363863638736388363893639036391363923639336394363953639636397363983639936400364013640236403364043640536406364073640836409364103641136412364133641436415364163641736418364193642036421364223642336424364253642636427364283642936430364313643236433364343643536436364373643836439364403644136442364433644436445364463644736448364493645036451364523645336454364553645636457364583645936460364613646236463364643646536466364673646836469364703647136472364733647436475364763647736478364793648036481364823648336484364853648636487364883648936490364913649236493364943649536496364973649836499365003650136502365033650436505365063650736508365093651036511365123651336514365153651636517365183651936520365213652236523365243652536526365273652836529365303653136532365333653436535365363653736538365393654036541365423654336544365453654636547365483654936550365513655236553365543655536556365573655836559365603656136562365633656436565365663656736568365693657036571365723657336574365753657636577365783657936580365813658236583365843658536586365873658836589365903659136592365933659436595365963659736598365993660036601366023660336604366053660636607366083660936610366113661236613366143661536616366173661836619366203662136622366233662436625366263662736628366293663036631366323663336634366353663636637366383663936640366413664236643366443664536646366473664836649366503665136652366533665436655366563665736658366593666036661366623666336664366653666636667366683666936670366713667236673366743667536676366773667836679366803668136682366833668436685366863668736688366893669036691366923669336694366953669636697366983669936700367013670236703367043670536706367073670836709367103671136712367133671436715367163671736718367193672036721367223672336724367253672636727367283672936730367313673236733367343673536736367373673836739367403674136742367433674436745367463674736748367493675036751367523675336754367553675636757367583675936760367613676236763367643676536766367673676836769367703677136772367733677436775367763677736778367793678036781367823678336784367853678636787367883678936790367913679236793367943679536796367973679836799368003680136802368033680436805368063680736808368093681036811368123681336814368153681636817368183681936820368213682236823368243682536826368273682836829368303683136832368333683436835368363683736838368393684036841368423684336844368453684636847368483684936850368513685236853368543685536856368573685836859368603686136862368633686436865368663686736868368693687036871368723687336874368753687636877368783687936880368813688236883368843688536886368873688836889368903689136892368933689436895368963689736898368993690036901369023690336904369053690636907369083690936910369113691236913369143691536916369173691836919369203692136922369233692436925369263692736928369293693036931369323693336934369353693636937369383693936940369413694236943369443694536946369473694836949369503695136952369533695436955369563695736958369593696036961369623696336964369653696636967369683696936970369713697236973369743697536976369773697836979369803698136982369833698436985369863698736988369893699036991369923699336994369953699636997369983699937000370013700237003370043700537006370073700837009370103701137012370133701437015370163701737018370193702037021370223702337024370253702637027370283702937030370313703237033370343703537036370373703837039370403704137042370433704437045370463704737048370493705037051370523705337054370553705637057370583705937060370613706237063370643706537066370673706837069370703707137072370733707437075370763707737078370793708037081370823708337084370853708637087370883708937090370913709237093370943709537096370973709837099371003710137102371033710437105371063710737108371093711037111371123711337114371153711637117371183711937120371213712237123371243712537126371273712837129371303713137132371333713437135371363713737138371393714037141371423714337144371453714637147371483714937150371513715237153371543715537156371573715837159371603716137162371633716437165371663716737168371693717037171371723717337174371753717637177371783717937180371813718237183371843718537186371873718837189371903719137192371933719437195371963719737198371993720037201372023720337204372053720637207372083720937210372113721237213372143721537216372173721837219372203722137222372233722437225372263722737228372293723037231372323723337234372353723637237372383723937240372413724237243372443724537246372473724837249372503725137252372533725437255372563725737258372593726037261372623726337264372653726637267372683726937270372713727237273372743727537276372773727837279372803728137282372833728437285372863728737288372893729037291372923729337294372953729637297372983729937300373013730237303373043730537306373073730837309373103731137312373133731437315373163731737318373193732037321373223732337324373253732637327373283732937330373313733237333373343733537336373373733837339373403734137342373433734437345373463734737348373493735037351373523735337354373553735637357373583735937360373613736237363373643736537366373673736837369373703737137372373733737437375373763737737378373793738037381373823738337384373853738637387373883738937390373913739237393373943739537396373973739837399374003740137402374033740437405374063740737408374093741037411374123741337414374153741637417374183741937420374213742237423374243742537426374273742837429374303743137432374333743437435374363743737438374393744037441374423744337444374453744637447374483744937450374513745237453374543745537456374573745837459374603746137462374633746437465374663746737468374693747037471374723747337474374753747637477374783747937480374813748237483374843748537486374873748837489374903749137492374933749437495374963749737498374993750037501375023750337504375053750637507375083750937510375113751237513375143751537516375173751837519375203752137522375233752437525375263752737528375293753037531375323753337534375353753637537375383753937540375413754237543375443754537546375473754837549375503755137552375533755437555375563755737558375593756037561375623756337564375653756637567375683756937570375713757237573375743757537576375773757837579375803758137582375833758437585375863758737588375893759037591375923759337594375953759637597375983759937600376013760237603376043760537606376073760837609376103761137612376133761437615376163761737618376193762037621376223762337624376253762637627376283762937630376313763237633376343763537636376373763837639376403764137642376433764437645376463764737648376493765037651376523765337654376553765637657376583765937660376613766237663376643766537666376673766837669376703767137672376733767437675376763767737678376793768037681376823768337684376853768637687376883768937690376913769237693376943769537696376973769837699377003770137702377033770437705377063770737708377093771037711377123771337714377153771637717377183771937720377213772237723377243772537726377273772837729377303773137732377333773437735377363773737738377393774037741377423774337744377453774637747377483774937750377513775237753377543775537756377573775837759377603776137762377633776437765377663776737768377693777037771377723777337774377753777637777377783777937780377813778237783377843778537786377873778837789377903779137792377933779437795377963779737798377993780037801378023780337804378053780637807378083780937810378113781237813378143781537816378173781837819378203782137822378233782437825378263782737828378293783037831378323783337834378353783637837378383783937840378413784237843378443784537846378473784837849378503785137852378533785437855378563785737858378593786037861378623786337864378653786637867378683786937870378713787237873378743787537876378773787837879378803788137882378833788437885378863788737888378893789037891378923789337894378953789637897378983789937900379013790237903379043790537906379073790837909379103791137912379133791437915379163791737918379193792037921379223792337924379253792637927379283792937930379313793237933379343793537936379373793837939379403794137942379433794437945379463794737948379493795037951379523795337954379553795637957379583795937960379613796237963379643796537966379673796837969379703797137972379733797437975379763797737978379793798037981379823798337984379853798637987379883798937990379913799237993379943799537996379973799837999380003800138002380033800438005380063800738008380093801038011380123801338014380153801638017380183801938020380213802238023380243802538026380273802838029380303803138032380333803438035380363803738038380393804038041380423804338044380453804638047380483804938050380513805238053380543805538056380573805838059380603806138062380633806438065380663806738068380693807038071380723807338074380753807638077380783807938080380813808238083380843808538086380873808838089380903809138092380933809438095380963809738098380993810038101381023810338104381053810638107381083810938110381113811238113381143811538116381173811838119381203812138122381233812438125381263812738128381293813038131381323813338134381353813638137381383813938140381413814238143381443814538146381473814838149381503815138152381533815438155381563815738158381593816038161381623816338164381653816638167381683816938170381713817238173381743817538176381773817838179381803818138182381833818438185381863818738188381893819038191381923819338194381953819638197381983819938200382013820238203382043820538206382073820838209382103821138212382133821438215382163821738218382193822038221382223822338224382253822638227382283822938230382313823238233382343823538236382373823838239382403824138242382433824438245382463824738248382493825038251382523825338254382553825638257382583825938260382613826238263382643826538266382673826838269382703827138272382733827438275382763827738278382793828038281382823828338284382853828638287382883828938290382913829238293382943829538296382973829838299383003830138302383033830438305383063830738308383093831038311383123831338314383153831638317383183831938320383213832238323383243832538326383273832838329383303833138332383333833438335383363833738338383393834038341383423834338344383453834638347383483834938350383513835238353383543835538356383573835838359383603836138362383633836438365383663836738368383693837038371383723837338374383753837638377383783837938380383813838238383383843838538386383873838838389383903839138392383933839438395383963839738398383993840038401384023840338404384053840638407384083840938410384113841238413384143841538416384173841838419384203842138422384233842438425384263842738428384293843038431384323843338434384353843638437384383843938440384413844238443384443844538446384473844838449384503845138452384533845438455384563845738458384593846038461384623846338464384653846638467384683846938470384713847238473384743847538476384773847838479384803848138482384833848438485384863848738488384893849038491384923849338494384953849638497384983849938500385013850238503385043850538506385073850838509385103851138512385133851438515385163851738518385193852038521385223852338524385253852638527385283852938530385313853238533385343853538536385373853838539385403854138542385433854438545385463854738548385493855038551385523855338554385553855638557385583855938560385613856238563385643856538566385673856838569385703857138572385733857438575385763857738578385793858038581385823858338584385853858638587385883858938590385913859238593385943859538596385973859838599386003860138602386033860438605386063860738608386093861038611386123861338614386153861638617386183861938620386213862238623386243862538626386273862838629386303863138632386333863438635386363863738638386393864038641386423864338644386453864638647386483864938650386513865238653386543865538656386573865838659386603866138662386633866438665386663866738668386693867038671386723867338674386753867638677386783867938680386813868238683386843868538686386873868838689386903869138692386933869438695386963869738698386993870038701387023870338704387053870638707387083870938710387113871238713387143871538716387173871838719387203872138722387233872438725387263872738728387293873038731387323873338734387353873638737387383873938740387413874238743387443874538746387473874838749387503875138752387533875438755387563875738758387593876038761387623876338764387653876638767387683876938770387713877238773387743877538776387773877838779387803878138782387833878438785387863878738788387893879038791387923879338794387953879638797387983879938800388013880238803388043880538806388073880838809388103881138812388133881438815388163881738818388193882038821388223882338824388253882638827388283882938830388313883238833388343883538836388373883838839388403884138842388433884438845388463884738848388493885038851388523885338854388553885638857388583885938860388613886238863388643886538866388673886838869388703887138872388733887438875388763887738878388793888038881388823888338884388853888638887388883888938890388913889238893388943889538896388973889838899389003890138902389033890438905389063890738908389093891038911389123891338914389153891638917389183891938920389213892238923389243892538926389273892838929389303893138932389333893438935389363893738938389393894038941389423894338944389453894638947389483894938950389513895238953389543895538956389573895838959389603896138962389633896438965389663896738968389693897038971389723897338974389753897638977389783897938980389813898238983389843898538986389873898838989389903899138992389933899438995389963899738998389993900039001390023900339004390053900639007390083900939010390113901239013390143901539016390173901839019390203902139022390233902439025390263902739028390293903039031390323903339034390353903639037390383903939040390413904239043390443904539046390473904839049390503905139052390533905439055390563905739058390593906039061390623906339064390653906639067390683906939070390713907239073390743907539076390773907839079390803908139082390833908439085390863908739088390893909039091390923909339094390953909639097390983909939100391013910239103391043910539106391073910839109391103911139112391133911439115391163911739118391193912039121391223912339124391253912639127391283912939130391313913239133391343913539136391373913839139391403914139142391433914439145391463914739148391493915039151391523915339154391553915639157391583915939160391613916239163391643916539166391673916839169391703917139172391733917439175391763917739178391793918039181391823918339184391853918639187391883918939190391913919239193391943919539196391973919839199392003920139202392033920439205392063920739208392093921039211392123921339214392153921639217392183921939220392213922239223392243922539226392273922839229392303923139232392333923439235392363923739238392393924039241392423924339244392453924639247392483924939250392513925239253392543925539256392573925839259392603926139262392633926439265392663926739268392693927039271392723927339274392753927639277392783927939280392813928239283392843928539286392873928839289392903929139292392933929439295392963929739298392993930039301393023930339304393053930639307393083930939310393113931239313393143931539316393173931839319393203932139322393233932439325393263932739328393293933039331393323933339334393353933639337393383933939340393413934239343393443934539346393473934839349393503935139352393533935439355393563935739358393593936039361393623936339364393653936639367393683936939370393713937239373393743937539376393773937839379393803938139382393833938439385393863938739388393893939039391393923939339394393953939639397393983939939400394013940239403394043940539406394073940839409394103941139412394133941439415394163941739418394193942039421394223942339424394253942639427394283942939430394313943239433394343943539436394373943839439394403944139442394433944439445394463944739448394493945039451394523945339454394553945639457394583945939460394613946239463394643946539466394673946839469394703947139472394733947439475394763947739478394793948039481394823948339484394853948639487394883948939490394913949239493394943949539496394973949839499395003950139502395033950439505395063950739508395093951039511395123951339514395153951639517395183951939520395213952239523395243952539526395273952839529395303953139532395333953439535395363953739538395393954039541395423954339544395453954639547395483954939550395513955239553395543955539556395573955839559395603956139562395633956439565395663956739568395693957039571395723957339574395753957639577395783957939580395813958239583395843958539586395873958839589395903959139592395933959439595395963959739598395993960039601396023960339604396053960639607396083960939610396113961239613396143961539616396173961839619396203962139622396233962439625396263962739628396293963039631396323963339634396353963639637396383963939640396413964239643396443964539646396473964839649396503965139652396533965439655396563965739658396593966039661396623966339664396653966639667396683966939670396713967239673396743967539676396773967839679396803968139682396833968439685396863968739688396893969039691396923969339694396953969639697396983969939700397013970239703397043970539706397073970839709397103971139712397133971439715397163971739718397193972039721397223972339724397253972639727397283972939730397313973239733397343973539736397373973839739397403974139742397433974439745397463974739748397493975039751397523975339754397553975639757397583975939760397613976239763397643976539766397673976839769397703977139772397733977439775397763977739778397793978039781397823978339784397853978639787397883978939790397913979239793397943979539796397973979839799398003980139802398033980439805398063980739808398093981039811398123981339814398153981639817398183981939820398213982239823398243982539826398273982839829398303983139832398333983439835398363983739838398393984039841398423984339844398453984639847398483984939850398513985239853398543985539856398573985839859398603986139862398633986439865398663986739868398693987039871398723987339874398753987639877398783987939880398813988239883398843988539886398873988839889398903989139892398933989439895398963989739898398993990039901399023990339904399053990639907399083990939910399113991239913399143991539916399173991839919399203992139922399233992439925399263992739928399293993039931399323993339934399353993639937399383993939940399413994239943399443994539946399473994839949399503995139952399533995439955399563995739958399593996039961399623996339964399653996639967399683996939970399713997239973399743997539976399773997839979399803998139982399833998439985399863998739988399893999039991399923999339994399953999639997399983999940000400014000240003400044000540006400074000840009400104001140012400134001440015
  1. /* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
  2. /* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
  3. /* Copyright 2012 Mozilla Foundation
  4. *
  5. * Licensed under the Apache License, Version 2.0 (the "License");
  6. * you may not use this file except in compliance with the License.
  7. * You may obtain a copy of the License at
  8. *
  9. * http://www.apache.org/licenses/LICENSE-2.0
  10. *
  11. * Unless required by applicable law or agreed to in writing, software
  12. * distributed under the License is distributed on an "AS IS" BASIS,
  13. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. * See the License for the specific language governing permissions and
  15. * limitations under the License.
  16. */
  17. // Initializing PDFJS global object (if still undefined)
  18. if (typeof PDFJS === 'undefined') {
  19. (typeof window !== 'undefined' ? window : this).PDFJS = {};
  20. }
  21. PDFJS.version = '0.8.894';
  22. PDFJS.build = 'ac91047';
  23. (function pdfjsWrapper() {
  24. // Use strict in our context only - users might not want it
  25. 'use strict';
  26. /* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
  27. /* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
  28. /* Copyright 2012 Mozilla Foundation
  29. *
  30. * Licensed under the Apache License, Version 2.0 (the "License");
  31. * you may not use this file except in compliance with the License.
  32. * You may obtain a copy of the License at
  33. *
  34. * http://www.apache.org/licenses/LICENSE-2.0
  35. *
  36. * Unless required by applicable law or agreed to in writing, software
  37. * distributed under the License is distributed on an "AS IS" BASIS,
  38. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  39. * See the License for the specific language governing permissions and
  40. * limitations under the License.
  41. */
  42. /* globals Cmd, ColorSpace, Dict, MozBlobBuilder, Name, PDFJS, Ref, URL,
  43. Promise */
  44. 'use strict';
  45. var globalScope = (typeof window === 'undefined') ? this : window;
  46. var isWorker = (typeof window == 'undefined');
  47. var FONT_IDENTITY_MATRIX = [0.001, 0, 0, 0.001, 0, 0];
  48. var TextRenderingMode = {
  49. FILL: 0,
  50. STROKE: 1,
  51. FILL_STROKE: 2,
  52. INVISIBLE: 3,
  53. FILL_ADD_TO_PATH: 4,
  54. STROKE_ADD_TO_PATH: 5,
  55. FILL_STROKE_ADD_TO_PATH: 6,
  56. ADD_TO_PATH: 7,
  57. FILL_STROKE_MASK: 3,
  58. ADD_TO_PATH_FLAG: 4
  59. };
  60. // The global PDFJS object exposes the API
  61. // In production, it will be declared outside a global wrapper
  62. // In development, it will be declared here
  63. if (!globalScope.PDFJS) {
  64. globalScope.PDFJS = {};
  65. }
  66. globalScope.PDFJS.pdfBug = false;
  67. PDFJS.VERBOSITY_LEVELS = {
  68. errors: 0,
  69. warnings: 1,
  70. infos: 5
  71. };
  72. // All the possible operations for an operator list.
  73. var OPS = PDFJS.OPS = {
  74. // Intentionally start from 1 so it is easy to spot bad operators that will be
  75. // 0's.
  76. dependency: 1,
  77. setLineWidth: 2,
  78. setLineCap: 3,
  79. setLineJoin: 4,
  80. setMiterLimit: 5,
  81. setDash: 6,
  82. setRenderingIntent: 7,
  83. setFlatness: 8,
  84. setGState: 9,
  85. save: 10,
  86. restore: 11,
  87. transform: 12,
  88. moveTo: 13,
  89. lineTo: 14,
  90. curveTo: 15,
  91. curveTo2: 16,
  92. curveTo3: 17,
  93. closePath: 18,
  94. rectangle: 19,
  95. stroke: 20,
  96. closeStroke: 21,
  97. fill: 22,
  98. eoFill: 23,
  99. fillStroke: 24,
  100. eoFillStroke: 25,
  101. closeFillStroke: 26,
  102. closeEOFillStroke: 27,
  103. endPath: 28,
  104. clip: 29,
  105. eoClip: 30,
  106. beginText: 31,
  107. endText: 32,
  108. setCharSpacing: 33,
  109. setWordSpacing: 34,
  110. setHScale: 35,
  111. setLeading: 36,
  112. setFont: 37,
  113. setTextRenderingMode: 38,
  114. setTextRise: 39,
  115. moveText: 40,
  116. setLeadingMoveText: 41,
  117. setTextMatrix: 42,
  118. nextLine: 43,
  119. showText: 44,
  120. showSpacedText: 45,
  121. nextLineShowText: 46,
  122. nextLineSetSpacingShowText: 47,
  123. setCharWidth: 48,
  124. setCharWidthAndBounds: 49,
  125. setStrokeColorSpace: 50,
  126. setFillColorSpace: 51,
  127. setStrokeColor: 52,
  128. setStrokeColorN: 53,
  129. setFillColor: 54,
  130. setFillColorN: 55,
  131. setStrokeGray: 56,
  132. setFillGray: 57,
  133. setStrokeRGBColor: 58,
  134. setFillRGBColor: 59,
  135. setStrokeCMYKColor: 60,
  136. setFillCMYKColor: 61,
  137. shadingFill: 62,
  138. beginInlineImage: 63,
  139. beginImageData: 64,
  140. endInlineImage: 65,
  141. paintXObject: 66,
  142. markPoint: 67,
  143. markPointProps: 68,
  144. beginMarkedContent: 69,
  145. beginMarkedContentProps: 70,
  146. endMarkedContent: 71,
  147. beginCompat: 72,
  148. endCompat: 73,
  149. paintFormXObjectBegin: 74,
  150. paintFormXObjectEnd: 75,
  151. beginGroup: 76,
  152. endGroup: 77,
  153. beginAnnotations: 78,
  154. endAnnotations: 79,
  155. beginAnnotation: 80,
  156. endAnnotation: 81,
  157. paintJpegXObject: 82,
  158. paintImageMaskXObject: 83,
  159. paintImageMaskXObjectGroup: 84,
  160. paintImageXObject: 85,
  161. paintInlineImageXObject: 86,
  162. paintInlineImageXObjectGroup: 87
  163. };
  164. // A notice for devs. These are good for things that are helpful to devs, such
  165. // as warning that Workers were disabled, which is important to devs but not
  166. // end users.
  167. function info(msg) {
  168. if (PDFJS.verbosity >= PDFJS.VERBOSITY_LEVELS.infos) {
  169. console.log('Info: ' + msg);
  170. }
  171. }
  172. // Non-fatal warnings.
  173. function warn(msg) {
  174. if (PDFJS.verbosity >= PDFJS.VERBOSITY_LEVELS.warnings) {
  175. console.log('Warning: ' + msg);
  176. }
  177. }
  178. // Fatal errors that should trigger the fallback UI and halt execution by
  179. // throwing an exception.
  180. function error(msg) {
  181. // If multiple arguments were passed, pass them all to the log function.
  182. if (arguments.length > 1) {
  183. var logArguments = ['Error:'];
  184. logArguments.push.apply(logArguments, arguments);
  185. console.log.apply(console, logArguments);
  186. // Join the arguments into a single string for the lines below.
  187. msg = [].join.call(arguments, ' ');
  188. } else {
  189. console.log('Error: ' + msg);
  190. }
  191. console.log(backtrace());
  192. UnsupportedManager.notify(UNSUPPORTED_FEATURES.unknown);
  193. throw new Error(msg);
  194. }
  195. function backtrace() {
  196. try {
  197. throw new Error();
  198. } catch (e) {
  199. return e.stack ? e.stack.split('\n').slice(2).join('\n') : '';
  200. }
  201. }
  202. function assert(cond, msg) {
  203. if (!cond)
  204. error(msg);
  205. }
  206. var UNSUPPORTED_FEATURES = PDFJS.UNSUPPORTED_FEATURES = {
  207. unknown: 'unknown',
  208. forms: 'forms',
  209. javaScript: 'javaScript',
  210. smask: 'smask',
  211. shadingPattern: 'shadingPattern',
  212. font: 'font'
  213. };
  214. var UnsupportedManager = PDFJS.UnsupportedManager =
  215. (function UnsupportedManagerClosure() {
  216. var listeners = [];
  217. return {
  218. listen: function (cb) {
  219. listeners.push(cb);
  220. },
  221. notify: function (featureId) {
  222. warn('Unsupported feature "' + featureId + '"');
  223. for (var i = 0, ii = listeners.length; i < ii; i++) {
  224. listeners[i](featureId);
  225. }
  226. }
  227. };
  228. })();
  229. // Combines two URLs. The baseUrl shall be absolute URL. If the url is an
  230. // absolute URL, it will be returned as is.
  231. function combineUrl(baseUrl, url) {
  232. if (!url)
  233. return baseUrl;
  234. if (url.indexOf(':') >= 0)
  235. return url;
  236. if (url.charAt(0) == '/') {
  237. // absolute path
  238. var i = baseUrl.indexOf('://');
  239. i = baseUrl.indexOf('/', i + 3);
  240. return baseUrl.substring(0, i) + url;
  241. } else {
  242. // relative path
  243. var pathLength = baseUrl.length, i;
  244. i = baseUrl.lastIndexOf('#');
  245. pathLength = i >= 0 ? i : pathLength;
  246. i = baseUrl.lastIndexOf('?', pathLength);
  247. pathLength = i >= 0 ? i : pathLength;
  248. var prefixLength = baseUrl.lastIndexOf('/', pathLength);
  249. return baseUrl.substring(0, prefixLength + 1) + url;
  250. }
  251. }
  252. // Validates if URL is safe and allowed, e.g. to avoid XSS.
  253. function isValidUrl(url, allowRelative) {
  254. if (!url) {
  255. return false;
  256. }
  257. var colon = url.indexOf(':');
  258. if (colon < 0) {
  259. return allowRelative;
  260. }
  261. var protocol = url.substr(0, colon);
  262. switch (protocol) {
  263. case 'http':
  264. case 'https':
  265. case 'ftp':
  266. case 'mailto':
  267. return true;
  268. default:
  269. return false;
  270. }
  271. }
  272. PDFJS.isValidUrl = isValidUrl;
  273. // In a well-formed PDF, |cond| holds. If it doesn't, subsequent
  274. // behavior is undefined.
  275. function assertWellFormed(cond, msg) {
  276. if (!cond)
  277. error(msg);
  278. }
  279. function shadow(obj, prop, value) {
  280. Object.defineProperty(obj, prop, { value: value,
  281. enumerable: true,
  282. configurable: true,
  283. writable: false });
  284. return value;
  285. }
  286. var PasswordResponses = PDFJS.PasswordResponses = {
  287. NEED_PASSWORD: 1,
  288. INCORRECT_PASSWORD: 2
  289. };
  290. var PasswordException = (function PasswordExceptionClosure() {
  291. function PasswordException(msg, code) {
  292. this.name = 'PasswordException';
  293. this.message = msg;
  294. this.code = code;
  295. }
  296. PasswordException.prototype = new Error();
  297. PasswordException.constructor = PasswordException;
  298. return PasswordException;
  299. })();
  300. var UnknownErrorException = (function UnknownErrorExceptionClosure() {
  301. function UnknownErrorException(msg, details) {
  302. this.name = 'UnknownErrorException';
  303. this.message = msg;
  304. this.details = details;
  305. }
  306. UnknownErrorException.prototype = new Error();
  307. UnknownErrorException.constructor = UnknownErrorException;
  308. return UnknownErrorException;
  309. })();
  310. var InvalidPDFException = (function InvalidPDFExceptionClosure() {
  311. function InvalidPDFException(msg) {
  312. this.name = 'InvalidPDFException';
  313. this.message = msg;
  314. }
  315. InvalidPDFException.prototype = new Error();
  316. InvalidPDFException.constructor = InvalidPDFException;
  317. return InvalidPDFException;
  318. })();
  319. var MissingPDFException = (function MissingPDFExceptionClosure() {
  320. function MissingPDFException(msg) {
  321. this.name = 'MissingPDFException';
  322. this.message = msg;
  323. }
  324. MissingPDFException.prototype = new Error();
  325. MissingPDFException.constructor = MissingPDFException;
  326. return MissingPDFException;
  327. })();
  328. var NotImplementedException = (function NotImplementedExceptionClosure() {
  329. function NotImplementedException(msg) {
  330. this.message = msg;
  331. }
  332. NotImplementedException.prototype = new Error();
  333. NotImplementedException.prototype.name = 'NotImplementedException';
  334. NotImplementedException.constructor = NotImplementedException;
  335. return NotImplementedException;
  336. })();
  337. var MissingDataException = (function MissingDataExceptionClosure() {
  338. function MissingDataException(begin, end) {
  339. this.begin = begin;
  340. this.end = end;
  341. this.message = 'Missing data [' + begin + ', ' + end + ')';
  342. }
  343. MissingDataException.prototype = new Error();
  344. MissingDataException.prototype.name = 'MissingDataException';
  345. MissingDataException.constructor = MissingDataException;
  346. return MissingDataException;
  347. })();
  348. var XRefParseException = (function XRefParseExceptionClosure() {
  349. function XRefParseException(msg) {
  350. this.message = msg;
  351. }
  352. XRefParseException.prototype = new Error();
  353. XRefParseException.prototype.name = 'XRefParseException';
  354. XRefParseException.constructor = XRefParseException;
  355. return XRefParseException;
  356. })();
  357. function bytesToString(bytes) {
  358. var str = '';
  359. var length = bytes.length;
  360. for (var n = 0; n < length; ++n)
  361. str += String.fromCharCode(bytes[n]);
  362. return str;
  363. }
  364. function stringToBytes(str) {
  365. var length = str.length;
  366. var bytes = new Uint8Array(length);
  367. for (var n = 0; n < length; ++n)
  368. bytes[n] = str.charCodeAt(n) & 0xFF;
  369. return bytes;
  370. }
  371. var IDENTITY_MATRIX = [1, 0, 0, 1, 0, 0];
  372. var Util = PDFJS.Util = (function UtilClosure() {
  373. function Util() {}
  374. Util.makeCssRgb = function Util_makeCssRgb(rgb) {
  375. return 'rgb(' + rgb[0] + ',' + rgb[1] + ',' + rgb[2] + ')';
  376. };
  377. Util.makeCssCmyk = function Util_makeCssCmyk(cmyk) {
  378. var rgb = ColorSpace.singletons.cmyk.getRgb(cmyk, 0);
  379. return Util.makeCssRgb(rgb);
  380. };
  381. // Concatenates two transformation matrices together and returns the result.
  382. Util.transform = function Util_transform(m1, m2) {
  383. return [
  384. m1[0] * m2[0] + m1[2] * m2[1],
  385. m1[1] * m2[0] + m1[3] * m2[1],
  386. m1[0] * m2[2] + m1[2] * m2[3],
  387. m1[1] * m2[2] + m1[3] * m2[3],
  388. m1[0] * m2[4] + m1[2] * m2[5] + m1[4],
  389. m1[1] * m2[4] + m1[3] * m2[5] + m1[5]
  390. ];
  391. };
  392. // For 2d affine transforms
  393. Util.applyTransform = function Util_applyTransform(p, m) {
  394. var xt = p[0] * m[0] + p[1] * m[2] + m[4];
  395. var yt = p[0] * m[1] + p[1] * m[3] + m[5];
  396. return [xt, yt];
  397. };
  398. Util.applyInverseTransform = function Util_applyInverseTransform(p, m) {
  399. var d = m[0] * m[3] - m[1] * m[2];
  400. var xt = (p[0] * m[3] - p[1] * m[2] + m[2] * m[5] - m[4] * m[3]) / d;
  401. var yt = (-p[0] * m[1] + p[1] * m[0] + m[4] * m[1] - m[5] * m[0]) / d;
  402. return [xt, yt];
  403. };
  404. // Applies the transform to the rectangle and finds the minimum axially
  405. // aligned bounding box.
  406. Util.getAxialAlignedBoundingBox =
  407. function Util_getAxialAlignedBoundingBox(r, m) {
  408. var p1 = Util.applyTransform(r, m);
  409. var p2 = Util.applyTransform(r.slice(2, 4), m);
  410. var p3 = Util.applyTransform([r[0], r[3]], m);
  411. var p4 = Util.applyTransform([r[2], r[1]], m);
  412. return [
  413. Math.min(p1[0], p2[0], p3[0], p4[0]),
  414. Math.min(p1[1], p2[1], p3[1], p4[1]),
  415. Math.max(p1[0], p2[0], p3[0], p4[0]),
  416. Math.max(p1[1], p2[1], p3[1], p4[1])
  417. ];
  418. };
  419. Util.inverseTransform = function Util_inverseTransform(m) {
  420. var d = m[0] * m[3] - m[1] * m[2];
  421. return [m[3] / d, -m[1] / d, -m[2] / d, m[0] / d,
  422. (m[2] * m[5] - m[4] * m[3]) / d, (m[4] * m[1] - m[5] * m[0]) / d];
  423. };
  424. // Apply a generic 3d matrix M on a 3-vector v:
  425. // | a b c | | X |
  426. // | d e f | x | Y |
  427. // | g h i | | Z |
  428. // M is assumed to be serialized as [a,b,c,d,e,f,g,h,i],
  429. // with v as [X,Y,Z]
  430. Util.apply3dTransform = function Util_apply3dTransform(m, v) {
  431. return [
  432. m[0] * v[0] + m[1] * v[1] + m[2] * v[2],
  433. m[3] * v[0] + m[4] * v[1] + m[5] * v[2],
  434. m[6] * v[0] + m[7] * v[1] + m[8] * v[2]
  435. ];
  436. };
  437. // This calculation uses Singular Value Decomposition.
  438. // The SVD can be represented with formula A = USV. We are interested in the
  439. // matrix S here because it represents the scale values.
  440. Util.singularValueDecompose2dScale =
  441. function Util_singularValueDecompose2dScale(m) {
  442. var transpose = [m[0], m[2], m[1], m[3]];
  443. // Multiply matrix m with its transpose.
  444. var a = m[0] * transpose[0] + m[1] * transpose[2];
  445. var b = m[0] * transpose[1] + m[1] * transpose[3];
  446. var c = m[2] * transpose[0] + m[3] * transpose[2];
  447. var d = m[2] * transpose[1] + m[3] * transpose[3];
  448. // Solve the second degree polynomial to get roots.
  449. var first = (a + d) / 2;
  450. var second = Math.sqrt((a + d) * (a + d) - 4 * (a * d - c * b)) / 2;
  451. var sx = first + second || 1;
  452. var sy = first - second || 1;
  453. // Scale values are the square roots of the eigenvalues.
  454. return [Math.sqrt(sx), Math.sqrt(sy)];
  455. };
  456. // Normalize rectangle rect=[x1, y1, x2, y2] so that (x1,y1) < (x2,y2)
  457. // For coordinate systems whose origin lies in the bottom-left, this
  458. // means normalization to (BL,TR) ordering. For systems with origin in the
  459. // top-left, this means (TL,BR) ordering.
  460. Util.normalizeRect = function Util_normalizeRect(rect) {
  461. var r = rect.slice(0); // clone rect
  462. if (rect[0] > rect[2]) {
  463. r[0] = rect[2];
  464. r[2] = rect[0];
  465. }
  466. if (rect[1] > rect[3]) {
  467. r[1] = rect[3];
  468. r[3] = rect[1];
  469. }
  470. return r;
  471. };
  472. // Returns a rectangle [x1, y1, x2, y2] corresponding to the
  473. // intersection of rect1 and rect2. If no intersection, returns 'false'
  474. // The rectangle coordinates of rect1, rect2 should be [x1, y1, x2, y2]
  475. Util.intersect = function Util_intersect(rect1, rect2) {
  476. function compare(a, b) {
  477. return a - b;
  478. }
  479. // Order points along the axes
  480. var orderedX = [rect1[0], rect1[2], rect2[0], rect2[2]].sort(compare),
  481. orderedY = [rect1[1], rect1[3], rect2[1], rect2[3]].sort(compare),
  482. result = [];
  483. rect1 = Util.normalizeRect(rect1);
  484. rect2 = Util.normalizeRect(rect2);
  485. // X: first and second points belong to different rectangles?
  486. if ((orderedX[0] === rect1[0] && orderedX[1] === rect2[0]) ||
  487. (orderedX[0] === rect2[0] && orderedX[1] === rect1[0])) {
  488. // Intersection must be between second and third points
  489. result[0] = orderedX[1];
  490. result[2] = orderedX[2];
  491. } else {
  492. return false;
  493. }
  494. // Y: first and second points belong to different rectangles?
  495. if ((orderedY[0] === rect1[1] && orderedY[1] === rect2[1]) ||
  496. (orderedY[0] === rect2[1] && orderedY[1] === rect1[1])) {
  497. // Intersection must be between second and third points
  498. result[1] = orderedY[1];
  499. result[3] = orderedY[2];
  500. } else {
  501. return false;
  502. }
  503. return result;
  504. };
  505. Util.sign = function Util_sign(num) {
  506. return num < 0 ? -1 : 1;
  507. };
  508. // TODO(mack): Rename appendToArray
  509. Util.concatenateToArray = function concatenateToArray(arr1, arr2) {
  510. Array.prototype.push.apply(arr1, arr2);
  511. };
  512. Util.prependToArray = function concatenateToArray(arr1, arr2) {
  513. Array.prototype.unshift.apply(arr1, arr2);
  514. };
  515. Util.extendObj = function extendObj(obj1, obj2) {
  516. for (var key in obj2) {
  517. obj1[key] = obj2[key];
  518. }
  519. };
  520. Util.getInheritableProperty = function Util_getInheritableProperty(dict,
  521. name) {
  522. while (dict && !dict.has(name)) {
  523. dict = dict.get('Parent');
  524. }
  525. if (!dict) {
  526. return null;
  527. }
  528. return dict.get(name);
  529. };
  530. Util.inherit = function Util_inherit(sub, base, prototype) {
  531. sub.prototype = Object.create(base.prototype);
  532. sub.prototype.constructor = sub;
  533. for (var prop in prototype) {
  534. sub.prototype[prop] = prototype[prop];
  535. }
  536. };
  537. Util.loadScript = function Util_loadScript(src, callback) {
  538. var script = document.createElement('script');
  539. var loaded = false;
  540. script.setAttribute('src', src);
  541. if (callback) {
  542. script.onload = function() {
  543. if (!loaded) {
  544. callback();
  545. }
  546. loaded = true;
  547. };
  548. }
  549. document.getElementsByTagName('head')[0].appendChild(script);
  550. };
  551. return Util;
  552. })();
  553. var PageViewport = PDFJS.PageViewport = (function PageViewportClosure() {
  554. function PageViewport(viewBox, scale, rotation, offsetX, offsetY, dontFlip) {
  555. this.viewBox = viewBox;
  556. this.scale = scale;
  557. this.rotation = rotation;
  558. this.offsetX = offsetX;
  559. this.offsetY = offsetY;
  560. // creating transform to convert pdf coordinate system to the normal
  561. // canvas like coordinates taking in account scale and rotation
  562. var centerX = (viewBox[2] + viewBox[0]) / 2;
  563. var centerY = (viewBox[3] + viewBox[1]) / 2;
  564. var rotateA, rotateB, rotateC, rotateD;
  565. rotation = rotation % 360;
  566. rotation = rotation < 0 ? rotation + 360 : rotation;
  567. switch (rotation) {
  568. case 180:
  569. rotateA = -1; rotateB = 0; rotateC = 0; rotateD = 1;
  570. break;
  571. case 90:
  572. rotateA = 0; rotateB = 1; rotateC = 1; rotateD = 0;
  573. break;
  574. case 270:
  575. rotateA = 0; rotateB = -1; rotateC = -1; rotateD = 0;
  576. break;
  577. //case 0:
  578. default:
  579. rotateA = 1; rotateB = 0; rotateC = 0; rotateD = -1;
  580. break;
  581. }
  582. if (dontFlip) {
  583. rotateC = -rotateC; rotateD = -rotateD;
  584. }
  585. var offsetCanvasX, offsetCanvasY;
  586. var width, height;
  587. if (rotateA === 0) {
  588. offsetCanvasX = Math.abs(centerY - viewBox[1]) * scale + offsetX;
  589. offsetCanvasY = Math.abs(centerX - viewBox[0]) * scale + offsetY;
  590. width = Math.abs(viewBox[3] - viewBox[1]) * scale;
  591. height = Math.abs(viewBox[2] - viewBox[0]) * scale;
  592. } else {
  593. offsetCanvasX = Math.abs(centerX - viewBox[0]) * scale + offsetX;
  594. offsetCanvasY = Math.abs(centerY - viewBox[1]) * scale + offsetY;
  595. width = Math.abs(viewBox[2] - viewBox[0]) * scale;
  596. height = Math.abs(viewBox[3] - viewBox[1]) * scale;
  597. }
  598. // creating transform for the following operations:
  599. // translate(-centerX, -centerY), rotate and flip vertically,
  600. // scale, and translate(offsetCanvasX, offsetCanvasY)
  601. this.transform = [
  602. rotateA * scale,
  603. rotateB * scale,
  604. rotateC * scale,
  605. rotateD * scale,
  606. offsetCanvasX - rotateA * scale * centerX - rotateC * scale * centerY,
  607. offsetCanvasY - rotateB * scale * centerX - rotateD * scale * centerY
  608. ];
  609. this.width = width;
  610. this.height = height;
  611. this.fontScale = scale;
  612. }
  613. PageViewport.prototype = {
  614. clone: function PageViewPort_clone(args) {
  615. args = args || {};
  616. var scale = 'scale' in args ? args.scale : this.scale;
  617. var rotation = 'rotation' in args ? args.rotation : this.rotation;
  618. return new PageViewport(this.viewBox.slice(), scale, rotation,
  619. this.offsetX, this.offsetY, args.dontFlip);
  620. },
  621. convertToViewportPoint: function PageViewport_convertToViewportPoint(x, y) {
  622. return Util.applyTransform([x, y], this.transform);
  623. },
  624. convertToViewportRectangle:
  625. function PageViewport_convertToViewportRectangle(rect) {
  626. var tl = Util.applyTransform([rect[0], rect[1]], this.transform);
  627. var br = Util.applyTransform([rect[2], rect[3]], this.transform);
  628. return [tl[0], tl[1], br[0], br[1]];
  629. },
  630. convertToPdfPoint: function PageViewport_convertToPdfPoint(x, y) {
  631. return Util.applyInverseTransform([x, y], this.transform);
  632. }
  633. };
  634. return PageViewport;
  635. })();
  636. var PDFStringTranslateTable = [
  637. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  638. 0x2D8, 0x2C7, 0x2C6, 0x2D9, 0x2DD, 0x2DB, 0x2DA, 0x2DC, 0, 0, 0, 0, 0, 0, 0,
  639. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  640. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  641. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  642. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x2022, 0x2020, 0x2021, 0x2026, 0x2014,
  643. 0x2013, 0x192, 0x2044, 0x2039, 0x203A, 0x2212, 0x2030, 0x201E, 0x201C,
  644. 0x201D, 0x2018, 0x2019, 0x201A, 0x2122, 0xFB01, 0xFB02, 0x141, 0x152, 0x160,
  645. 0x178, 0x17D, 0x131, 0x142, 0x153, 0x161, 0x17E, 0, 0x20AC
  646. ];
  647. function stringToPDFString(str) {
  648. var i, n = str.length, str2 = '';
  649. if (str[0] === '\xFE' && str[1] === '\xFF') {
  650. // UTF16BE BOM
  651. for (i = 2; i < n; i += 2)
  652. str2 += String.fromCharCode(
  653. (str.charCodeAt(i) << 8) | str.charCodeAt(i + 1));
  654. } else {
  655. for (i = 0; i < n; ++i) {
  656. var code = PDFStringTranslateTable[str.charCodeAt(i)];
  657. str2 += code ? String.fromCharCode(code) : str.charAt(i);
  658. }
  659. }
  660. return str2;
  661. }
  662. function stringToUTF8String(str) {
  663. return decodeURIComponent(escape(str));
  664. }
  665. function isEmptyObj(obj) {
  666. for (var key in obj) {
  667. return false;
  668. }
  669. return true;
  670. }
  671. function isBool(v) {
  672. return typeof v == 'boolean';
  673. }
  674. function isInt(v) {
  675. return typeof v == 'number' && ((v | 0) == v);
  676. }
  677. function isNum(v) {
  678. return typeof v == 'number';
  679. }
  680. function isString(v) {
  681. return typeof v == 'string';
  682. }
  683. function isNull(v) {
  684. return v === null;
  685. }
  686. function isName(v) {
  687. return v instanceof Name;
  688. }
  689. function isCmd(v, cmd) {
  690. return v instanceof Cmd && (!cmd || v.cmd == cmd);
  691. }
  692. function isDict(v, type) {
  693. if (!(v instanceof Dict)) {
  694. return false;
  695. }
  696. if (!type) {
  697. return true;
  698. }
  699. var dictType = v.get('Type');
  700. return isName(dictType) && dictType.name == type;
  701. }
  702. function isArray(v) {
  703. return v instanceof Array;
  704. }
  705. function isStream(v) {
  706. return typeof v == 'object' && v !== null && v !== undefined &&
  707. ('getBytes' in v);
  708. }
  709. function isArrayBuffer(v) {
  710. return typeof v == 'object' && v !== null && v !== undefined &&
  711. ('byteLength' in v);
  712. }
  713. function isRef(v) {
  714. return v instanceof Ref;
  715. }
  716. function isPDFFunction(v) {
  717. var fnDict;
  718. if (typeof v != 'object')
  719. return false;
  720. else if (isDict(v))
  721. fnDict = v;
  722. else if (isStream(v))
  723. fnDict = v.dict;
  724. else
  725. return false;
  726. return fnDict.has('FunctionType');
  727. }
  728. /**
  729. * Legacy support for PDFJS Promise implementation.
  730. * TODO remove eventually
  731. */
  732. var LegacyPromise = PDFJS.LegacyPromise = (function LegacyPromiseClosure() {
  733. return function LegacyPromise() {
  734. var resolve, reject;
  735. var promise = new Promise(function (resolve_, reject_) {
  736. resolve = resolve_;
  737. reject = reject_;
  738. });
  739. promise.resolve = resolve;
  740. promise.reject = reject;
  741. return promise;
  742. };
  743. })();
  744. /**
  745. * Polyfill for Promises:
  746. * The following promise implementation tries to generally implment the
  747. * Promise/A+ spec. Some notable differences from other promise libaries are:
  748. * - There currently isn't a seperate deferred and promise object.
  749. * - Unhandled rejections eventually show an error if they aren't handled.
  750. *
  751. * Based off of the work in:
  752. * https://bugzilla.mozilla.org/show_bug.cgi?id=810490
  753. */
  754. (function PromiseClosure() {
  755. if (globalScope.Promise) {
  756. // Promises existing in the DOM/Worker, checking presence of all/resolve
  757. if (typeof globalScope.Promise.all !== 'function') {
  758. globalScope.Promise.all = function (iterable) {
  759. var count = 0, results = [], resolve, reject;
  760. var promise = new globalScope.Promise(function (resolve_, reject_) {
  761. resolve = resolve_;
  762. reject = reject_;
  763. });
  764. iterable.forEach(function (p, i) {
  765. count++;
  766. p.then(function (result) {
  767. results[i] = result;
  768. count--;
  769. if (count === 0) {
  770. resolve(results);
  771. }
  772. }, reject);
  773. });
  774. if (count === 0) {
  775. resolve(results);
  776. }
  777. return promise;
  778. };
  779. }
  780. if (typeof globalScope.Promise.resolve !== 'function') {
  781. globalScope.Promise.resolve = function (x) {
  782. return new globalScope.Promise(function (resolve) { resolve(x); });
  783. };
  784. }
  785. return;
  786. }
  787. //#if !MOZCENTRAL
  788. var STATUS_PENDING = 0;
  789. var STATUS_RESOLVED = 1;
  790. var STATUS_REJECTED = 2;
  791. // In an attempt to avoid silent exceptions, unhandled rejections are
  792. // tracked and if they aren't handled in a certain amount of time an
  793. // error is logged.
  794. var REJECTION_TIMEOUT = 500;
  795. var HandlerManager = {
  796. handlers: [],
  797. running: false,
  798. unhandledRejections: [],
  799. pendingRejectionCheck: false,
  800. scheduleHandlers: function scheduleHandlers(promise) {
  801. if (promise._status == STATUS_PENDING) {
  802. return;
  803. }
  804. this.handlers = this.handlers.concat(promise._handlers);
  805. promise._handlers = [];
  806. if (this.running) {
  807. return;
  808. }
  809. this.running = true;
  810. setTimeout(this.runHandlers.bind(this), 0);
  811. },
  812. runHandlers: function runHandlers() {
  813. var RUN_TIMEOUT = 1; // ms
  814. var timeoutAt = Date.now() + RUN_TIMEOUT;
  815. while (this.handlers.length > 0) {
  816. var handler = this.handlers.shift();
  817. var nextStatus = handler.thisPromise._status;
  818. var nextValue = handler.thisPromise._value;
  819. try {
  820. if (nextStatus === STATUS_RESOLVED) {
  821. if (typeof(handler.onResolve) == 'function') {
  822. nextValue = handler.onResolve(nextValue);
  823. }
  824. } else if (typeof(handler.onReject) === 'function') {
  825. nextValue = handler.onReject(nextValue);
  826. nextStatus = STATUS_RESOLVED;
  827. if (handler.thisPromise._unhandledRejection) {
  828. this.removeUnhandeledRejection(handler.thisPromise);
  829. }
  830. }
  831. } catch (ex) {
  832. nextStatus = STATUS_REJECTED;
  833. nextValue = ex;
  834. }
  835. handler.nextPromise._updateStatus(nextStatus, nextValue);
  836. if (Date.now() >= timeoutAt) {
  837. break;
  838. }
  839. }
  840. if (this.handlers.length > 0) {
  841. setTimeout(this.runHandlers.bind(this), 0);
  842. return;
  843. }
  844. this.running = false;
  845. },
  846. addUnhandledRejection: function addUnhandledRejection(promise) {
  847. this.unhandledRejections.push({
  848. promise: promise,
  849. time: Date.now()
  850. });
  851. this.scheduleRejectionCheck();
  852. },
  853. removeUnhandeledRejection: function removeUnhandeledRejection(promise) {
  854. promise._unhandledRejection = false;
  855. for (var i = 0; i < this.unhandledRejections.length; i++) {
  856. if (this.unhandledRejections[i].promise === promise) {
  857. this.unhandledRejections.splice(i);
  858. i--;
  859. }
  860. }
  861. },
  862. scheduleRejectionCheck: function scheduleRejectionCheck() {
  863. if (this.pendingRejectionCheck) {
  864. return;
  865. }
  866. this.pendingRejectionCheck = true;
  867. setTimeout(function rejectionCheck() {
  868. this.pendingRejectionCheck = false;
  869. var now = Date.now();
  870. for (var i = 0; i < this.unhandledRejections.length; i++) {
  871. if (now - this.unhandledRejections[i].time > REJECTION_TIMEOUT) {
  872. var unhandled = this.unhandledRejections[i].promise._value;
  873. var msg = 'Unhandled rejection: ' + unhandled;
  874. if (unhandled.stack) {
  875. msg += '\n' + unhandled.stack;
  876. }
  877. warn(msg);
  878. this.unhandledRejections.splice(i);
  879. i--;
  880. }
  881. }
  882. if (this.unhandledRejections.length) {
  883. this.scheduleRejectionCheck();
  884. }
  885. }.bind(this), REJECTION_TIMEOUT);
  886. }
  887. };
  888. function Promise(resolver) {
  889. this._status = STATUS_PENDING;
  890. this._handlers = [];
  891. resolver.call(this, this._resolve.bind(this), this._reject.bind(this));
  892. }
  893. /**
  894. * Builds a promise that is resolved when all the passed in promises are
  895. * resolved.
  896. * @param {array} array of data and/or promises to wait for.
  897. * @return {Promise} New dependant promise.
  898. */
  899. Promise.all = function Promise_all(promises) {
  900. var resolveAll, rejectAll;
  901. var deferred = new Promise(function (resolve, reject) {
  902. resolveAll = resolve;
  903. rejectAll = reject;
  904. });
  905. var unresolved = promises.length;
  906. var results = [];
  907. if (unresolved === 0) {
  908. resolveAll(results);
  909. return deferred;
  910. }
  911. function reject(reason) {
  912. if (deferred._status === STATUS_REJECTED) {
  913. return;
  914. }
  915. results = [];
  916. rejectAll(reason);
  917. }
  918. for (var i = 0, ii = promises.length; i < ii; ++i) {
  919. var promise = promises[i];
  920. var resolve = (function(i) {
  921. return function(value) {
  922. if (deferred._status === STATUS_REJECTED) {
  923. return;
  924. }
  925. results[i] = value;
  926. unresolved--;
  927. if (unresolved === 0)
  928. resolveAll(results);
  929. };
  930. })(i);
  931. if (Promise.isPromise(promise)) {
  932. promise.then(resolve, reject);
  933. } else {
  934. resolve(promise);
  935. }
  936. }
  937. return deferred;
  938. };
  939. /**
  940. * Checks if the value is likely a promise (has a 'then' function).
  941. * @return {boolean} true if x is thenable
  942. */
  943. Promise.isPromise = function Promise_isPromise(value) {
  944. return value && typeof value.then === 'function';
  945. };
  946. /**
  947. * Creates resolved promise
  948. * @param x resolve value
  949. * @returns {Promise}
  950. */
  951. Promise.resolve = function Promise_resolve(x) {
  952. return new Promise(function (resolve) { resolve(x); });
  953. };
  954. Promise.prototype = {
  955. _status: null,
  956. _value: null,
  957. _handlers: null,
  958. _unhandledRejection: null,
  959. _updateStatus: function Promise__updateStatus(status, value) {
  960. if (this._status === STATUS_RESOLVED ||
  961. this._status === STATUS_REJECTED) {
  962. return;
  963. }
  964. if (status == STATUS_RESOLVED &&
  965. Promise.isPromise(value)) {
  966. value.then(this._updateStatus.bind(this, STATUS_RESOLVED),
  967. this._updateStatus.bind(this, STATUS_REJECTED));
  968. return;
  969. }
  970. this._status = status;
  971. this._value = value;
  972. if (status === STATUS_REJECTED && this._handlers.length === 0) {
  973. this._unhandledRejection = true;
  974. HandlerManager.addUnhandledRejection(this);
  975. }
  976. HandlerManager.scheduleHandlers(this);
  977. },
  978. _resolve: function Promise_resolve(value) {
  979. this._updateStatus(STATUS_RESOLVED, value);
  980. },
  981. _reject: function Promise_reject(reason) {
  982. this._updateStatus(STATUS_REJECTED, reason);
  983. },
  984. then: function Promise_then(onResolve, onReject) {
  985. var nextPromise = new Promise(function (resolve, reject) {
  986. this.resolve = reject;
  987. this.reject = reject;
  988. });
  989. this._handlers.push({
  990. thisPromise: this,
  991. onResolve: onResolve,
  992. onReject: onReject,
  993. nextPromise: nextPromise
  994. });
  995. HandlerManager.scheduleHandlers(this);
  996. return nextPromise;
  997. }
  998. };
  999. globalScope.Promise = Promise;
  1000. //#else
  1001. //throw new Error('DOM Promise is not present');
  1002. //#endif
  1003. })();
  1004. var StatTimer = (function StatTimerClosure() {
  1005. function rpad(str, pad, length) {
  1006. while (str.length < length)
  1007. str += pad;
  1008. return str;
  1009. }
  1010. function StatTimer() {
  1011. this.started = {};
  1012. this.times = [];
  1013. this.enabled = true;
  1014. }
  1015. StatTimer.prototype = {
  1016. time: function StatTimer_time(name) {
  1017. if (!this.enabled)
  1018. return;
  1019. if (name in this.started)
  1020. warn('Timer is already running for ' + name);
  1021. this.started[name] = Date.now();
  1022. },
  1023. timeEnd: function StatTimer_timeEnd(name) {
  1024. if (!this.enabled)
  1025. return;
  1026. if (!(name in this.started))
  1027. warn('Timer has not been started for ' + name);
  1028. this.times.push({
  1029. 'name': name,
  1030. 'start': this.started[name],
  1031. 'end': Date.now()
  1032. });
  1033. // Remove timer from started so it can be called again.
  1034. delete this.started[name];
  1035. },
  1036. toString: function StatTimer_toString() {
  1037. var times = this.times;
  1038. var out = '';
  1039. // Find the longest name for padding purposes.
  1040. var longest = 0;
  1041. for (var i = 0, ii = times.length; i < ii; ++i) {
  1042. var name = times[i]['name'];
  1043. if (name.length > longest)
  1044. longest = name.length;
  1045. }
  1046. for (var i = 0, ii = times.length; i < ii; ++i) {
  1047. var span = times[i];
  1048. var duration = span.end - span.start;
  1049. out += rpad(span['name'], ' ', longest) + ' ' + duration + 'ms\n';
  1050. }
  1051. return out;
  1052. }
  1053. };
  1054. return StatTimer;
  1055. })();
  1056. PDFJS.createBlob = function createBlob(data, contentType) {
  1057. if (typeof Blob !== 'undefined')
  1058. return new Blob([data], { type: contentType });
  1059. // Blob builder is deprecated in FF14 and removed in FF18.
  1060. var bb = new MozBlobBuilder();
  1061. bb.append(data);
  1062. return bb.getBlob(contentType);
  1063. };
  1064. PDFJS.createObjectURL = (function createObjectURLClosure() {
  1065. // Blob/createObjectURL is not available, falling back to data schema.
  1066. var digits =
  1067. 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';
  1068. return function createObjectURL(data, contentType) {
  1069. if (!PDFJS.disableCreateObjectURL &&
  1070. typeof URL !== 'undefined' && URL.createObjectURL) {
  1071. var blob = PDFJS.createBlob(data, contentType);
  1072. return URL.createObjectURL(blob);
  1073. }
  1074. var buffer = 'data:' + contentType + ';base64,';
  1075. for (var i = 0, ii = data.length; i < ii; i += 3) {
  1076. var b1 = data[i] & 0xFF;
  1077. var b2 = data[i + 1] & 0xFF;
  1078. var b3 = data[i + 2] & 0xFF;
  1079. var d1 = b1 >> 2, d2 = ((b1 & 3) << 4) | (b2 >> 4);
  1080. var d3 = i + 1 < ii ? ((b2 & 0xF) << 2) | (b3 >> 6) : 64;
  1081. var d4 = i + 2 < ii ? (b3 & 0x3F) : 64;
  1082. buffer += digits[d1] + digits[d2] + digits[d3] + digits[d4];
  1083. }
  1084. return buffer;
  1085. };
  1086. })();
  1087. function MessageHandler(name, comObj) {
  1088. this.name = name;
  1089. this.comObj = comObj;
  1090. this.callbackIndex = 1;
  1091. this.postMessageTransfers = true;
  1092. var callbacks = this.callbacks = {};
  1093. var ah = this.actionHandler = {};
  1094. ah['console_log'] = [function ahConsoleLog(data) {
  1095. console.log.apply(console, data);
  1096. }];
  1097. ah['console_error'] = [function ahConsoleError(data) {
  1098. console.error.apply(console, data);
  1099. }];
  1100. ah['_unsupported_feature'] = [function ah_unsupportedFeature(data) {
  1101. UnsupportedManager.notify(data);
  1102. }];
  1103. comObj.onmessage = function messageHandlerComObjOnMessage(event) {
  1104. var data = event.data;
  1105. if (data.isReply) {
  1106. var callbackId = data.callbackId;
  1107. if (data.callbackId in callbacks) {
  1108. var callback = callbacks[callbackId];
  1109. delete callbacks[callbackId];
  1110. callback(data.data);
  1111. } else {
  1112. error('Cannot resolve callback ' + callbackId);
  1113. }
  1114. } else if (data.action in ah) {
  1115. var action = ah[data.action];
  1116. if (data.callbackId) {
  1117. var deferred = {};
  1118. var promise = new Promise(function (resolve, reject) {
  1119. deferred.resolve = resolve;
  1120. deferred.reject = reject;
  1121. });
  1122. deferred.promise = promise;
  1123. promise.then(function(resolvedData) {
  1124. comObj.postMessage({
  1125. isReply: true,
  1126. callbackId: data.callbackId,
  1127. data: resolvedData
  1128. });
  1129. });
  1130. action[0].call(action[1], data.data, deferred);
  1131. } else {
  1132. action[0].call(action[1], data.data);
  1133. }
  1134. } else {
  1135. error('Unkown action from worker: ' + data.action);
  1136. }
  1137. };
  1138. }
  1139. MessageHandler.prototype = {
  1140. on: function messageHandlerOn(actionName, handler, scope) {
  1141. var ah = this.actionHandler;
  1142. if (ah[actionName]) {
  1143. error('There is already an actionName called "' + actionName + '"');
  1144. }
  1145. ah[actionName] = [handler, scope];
  1146. },
  1147. /**
  1148. * Sends a message to the comObj to invoke the action with the supplied data.
  1149. * @param {String} actionName Action to call.
  1150. * @param {JSON} data JSON data to send.
  1151. * @param {function} [callback] Optional callback that will handle a reply.
  1152. * @param {Array} [transfers] Optional list of transfers/ArrayBuffers
  1153. */
  1154. send: function messageHandlerSend(actionName, data, callback, transfers) {
  1155. var message = {
  1156. action: actionName,
  1157. data: data
  1158. };
  1159. if (callback) {
  1160. var callbackId = this.callbackIndex++;
  1161. this.callbacks[callbackId] = callback;
  1162. message.callbackId = callbackId;
  1163. }
  1164. if (transfers && this.postMessageTransfers) {
  1165. this.comObj.postMessage(message, transfers);
  1166. } else {
  1167. this.comObj.postMessage(message);
  1168. }
  1169. }
  1170. };
  1171. function loadJpegStream(id, imageUrl, objs) {
  1172. var img = new Image();
  1173. img.onload = (function loadJpegStream_onloadClosure() {
  1174. objs.resolve(id, img);
  1175. });
  1176. img.src = imageUrl;
  1177. }
  1178. var ColorSpace = (function ColorSpaceClosure() {
  1179. // Constructor should define this.numComps, this.defaultColor, this.name
  1180. function ColorSpace() {
  1181. error('should not call ColorSpace constructor');
  1182. }
  1183. ColorSpace.prototype = {
  1184. /**
  1185. * Converts the color value to the RGB color. The color components are
  1186. * located in the src array starting from the srcOffset. Returns the array
  1187. * of the rgb components, each value ranging from [0,255].
  1188. */
  1189. getRgb: function ColorSpace_getRgb(src, srcOffset) {
  1190. error('Should not call ColorSpace.getRgb');
  1191. },
  1192. /**
  1193. * Converts the color value to the RGB color, similar to the getRgb method.
  1194. * The result placed into the dest array starting from the destOffset.
  1195. */
  1196. getRgbItem: function ColorSpace_getRgb(src, srcOffset, dest, destOffset) {
  1197. error('Should not call ColorSpace.getRgbItem');
  1198. },
  1199. /**
  1200. * Converts the specified number of the color values to the RGB colors.
  1201. * The colors are located in the src array starting from the srcOffset.
  1202. * The result is placed into the dest array starting from the destOffset.
  1203. * The src array items shall be in [0,2^bits) range, the dest array items
  1204. * will be in [0,255] range.
  1205. */
  1206. getRgbBuffer: function ColorSpace_getRgbBuffer(src, srcOffset, count,
  1207. dest, destOffset, bits) {
  1208. error('Should not call ColorSpace.getRgbBuffer');
  1209. },
  1210. /**
  1211. * Determines amount of the bytes is required to store the reslut of the
  1212. * conversion that done by the getRgbBuffer method.
  1213. */
  1214. getOutputLength: function ColorSpace_getOutputLength(inputLength) {
  1215. error('Should not call ColorSpace.getOutputLength');
  1216. },
  1217. /**
  1218. * Returns true if source data will be equal the result/output data.
  1219. */
  1220. isPassthrough: function ColorSpace_isPassthrough(bits) {
  1221. return false;
  1222. },
  1223. /**
  1224. * Creates the output buffer and converts the specified number of the color
  1225. * values to the RGB colors, similar to the getRgbBuffer.
  1226. */
  1227. createRgbBuffer: function ColorSpace_createRgbBuffer(src, srcOffset,
  1228. count, bits) {
  1229. if (this.isPassthrough(bits)) {
  1230. return src.subarray(srcOffset);
  1231. }
  1232. var dest = new Uint8Array(count * 3);
  1233. var numComponentColors = 1 << bits;
  1234. // Optimization: create a color map when there is just one component and
  1235. // we are converting more colors than the size of the color map. We
  1236. // don't build the map if the colorspace is gray or rgb since those
  1237. // methods are faster than building a map. This mainly offers big speed
  1238. // ups for indexed and alternate colorspaces.
  1239. if (this.numComps === 1 && count > numComponentColors &&
  1240. this.name !== 'DeviceGray' && this.name !== 'DeviceRGB') {
  1241. // TODO it may be worth while to cache the color map. While running
  1242. // testing I never hit a cache so I will leave that out for now (perhaps
  1243. // we are reparsing colorspaces too much?).
  1244. var allColors = bits <= 8 ? new Uint8Array(numComponentColors) :
  1245. new Uint16Array(numComponentColors);
  1246. for (var i = 0; i < numComponentColors; i++) {
  1247. allColors[i] = i;
  1248. }
  1249. var colorMap = new Uint8Array(numComponentColors * 3);
  1250. this.getRgbBuffer(allColors, 0, numComponentColors, colorMap, 0, bits);
  1251. var destOffset = 0;
  1252. for (var i = 0; i < count; ++i) {
  1253. var key = src[srcOffset++] * 3;
  1254. dest[destOffset++] = colorMap[key];
  1255. dest[destOffset++] = colorMap[key + 1];
  1256. dest[destOffset++] = colorMap[key + 2];
  1257. }
  1258. return dest;
  1259. }
  1260. this.getRgbBuffer(src, srcOffset, count, dest, 0, bits);
  1261. return dest;
  1262. },
  1263. /**
  1264. * True if the colorspace has components in the default range of [0, 1].
  1265. * This should be true for all colorspaces except for lab color spaces
  1266. * which are [0,100], [-128, 127], [-128, 127].
  1267. */
  1268. usesZeroToOneRange: true
  1269. };
  1270. ColorSpace.parse = function ColorSpace_parse(cs, xref, res) {
  1271. var IR = ColorSpace.parseToIR(cs, xref, res);
  1272. if (IR instanceof AlternateCS)
  1273. return IR;
  1274. return ColorSpace.fromIR(IR);
  1275. };
  1276. ColorSpace.fromIR = function ColorSpace_fromIR(IR) {
  1277. var name = isArray(IR) ? IR[0] : IR;
  1278. switch (name) {
  1279. case 'DeviceGrayCS':
  1280. return this.singletons.gray;
  1281. case 'DeviceRgbCS':
  1282. return this.singletons.rgb;
  1283. case 'DeviceCmykCS':
  1284. return this.singletons.cmyk;
  1285. case 'CalGrayCS':
  1286. var whitePoint = IR[1].WhitePoint;
  1287. var blackPoint = IR[1].BlackPoint;
  1288. var gamma = IR[1].Gamma;
  1289. return new CalGrayCS(whitePoint, blackPoint, gamma);
  1290. case 'PatternCS':
  1291. var basePatternCS = IR[1];
  1292. if (basePatternCS)
  1293. basePatternCS = ColorSpace.fromIR(basePatternCS);
  1294. return new PatternCS(basePatternCS);
  1295. case 'IndexedCS':
  1296. var baseIndexedCS = IR[1];
  1297. var hiVal = IR[2];
  1298. var lookup = IR[3];
  1299. return new IndexedCS(ColorSpace.fromIR(baseIndexedCS), hiVal, lookup);
  1300. case 'AlternateCS':
  1301. var numComps = IR[1];
  1302. var alt = IR[2];
  1303. var tintFnIR = IR[3];
  1304. return new AlternateCS(numComps, ColorSpace.fromIR(alt),
  1305. PDFFunction.fromIR(tintFnIR));
  1306. case 'LabCS':
  1307. var whitePoint = IR[1].WhitePoint;
  1308. var blackPoint = IR[1].BlackPoint;
  1309. var range = IR[1].Range;
  1310. return new LabCS(whitePoint, blackPoint, range);
  1311. default:
  1312. error('Unkown name ' + name);
  1313. }
  1314. return null;
  1315. };
  1316. ColorSpace.parseToIR = function ColorSpace_parseToIR(cs, xref, res) {
  1317. if (isName(cs)) {
  1318. var colorSpaces = res.get('ColorSpace');
  1319. if (isDict(colorSpaces)) {
  1320. var refcs = colorSpaces.get(cs.name);
  1321. if (refcs)
  1322. cs = refcs;
  1323. }
  1324. }
  1325. cs = xref.fetchIfRef(cs);
  1326. var mode;
  1327. if (isName(cs)) {
  1328. mode = cs.name;
  1329. this.mode = mode;
  1330. switch (mode) {
  1331. case 'DeviceGray':
  1332. case 'G':
  1333. return 'DeviceGrayCS';
  1334. case 'DeviceRGB':
  1335. case 'RGB':
  1336. return 'DeviceRgbCS';
  1337. case 'DeviceCMYK':
  1338. case 'CMYK':
  1339. return 'DeviceCmykCS';
  1340. case 'Pattern':
  1341. return ['PatternCS', null];
  1342. default:
  1343. error('unrecognized colorspace ' + mode);
  1344. }
  1345. } else if (isArray(cs)) {
  1346. mode = cs[0].name;
  1347. this.mode = mode;
  1348. switch (mode) {
  1349. case 'DeviceGray':
  1350. case 'G':
  1351. return 'DeviceGrayCS';
  1352. case 'DeviceRGB':
  1353. case 'RGB':
  1354. return 'DeviceRgbCS';
  1355. case 'DeviceCMYK':
  1356. case 'CMYK':
  1357. return 'DeviceCmykCS';
  1358. case 'CalGray':
  1359. var params = cs[1].getAll();
  1360. return ['CalGrayCS', params];
  1361. case 'CalRGB':
  1362. return 'DeviceRgbCS';
  1363. case 'ICCBased':
  1364. var stream = xref.fetchIfRef(cs[1]);
  1365. var dict = stream.dict;
  1366. var numComps = dict.get('N');
  1367. if (numComps == 1)
  1368. return 'DeviceGrayCS';
  1369. if (numComps == 3)
  1370. return 'DeviceRgbCS';
  1371. if (numComps == 4)
  1372. return 'DeviceCmykCS';
  1373. break;
  1374. case 'Pattern':
  1375. var basePatternCS = cs[1];
  1376. if (basePatternCS)
  1377. basePatternCS = ColorSpace.parseToIR(basePatternCS, xref, res);
  1378. return ['PatternCS', basePatternCS];
  1379. case 'Indexed':
  1380. case 'I':
  1381. var baseIndexedCS = ColorSpace.parseToIR(cs[1], xref, res);
  1382. var hiVal = cs[2] + 1;
  1383. var lookup = xref.fetchIfRef(cs[3]);
  1384. if (isStream(lookup)) {
  1385. lookup = lookup.getBytes();
  1386. }
  1387. return ['IndexedCS', baseIndexedCS, hiVal, lookup];
  1388. case 'Separation':
  1389. case 'DeviceN':
  1390. var name = cs[1];
  1391. var numComps = 1;
  1392. if (isName(name))
  1393. numComps = 1;
  1394. else if (isArray(name))
  1395. numComps = name.length;
  1396. var alt = ColorSpace.parseToIR(cs[2], xref, res);
  1397. var tintFnIR = PDFFunction.getIR(xref, xref.fetchIfRef(cs[3]));
  1398. return ['AlternateCS', numComps, alt, tintFnIR];
  1399. case 'Lab':
  1400. var params = cs[1].getAll();
  1401. return ['LabCS', params];
  1402. default:
  1403. error('unimplemented color space object "' + mode + '"');
  1404. }
  1405. } else {
  1406. error('unrecognized color space object: "' + cs + '"');
  1407. }
  1408. return null;
  1409. };
  1410. /**
  1411. * Checks if a decode map matches the default decode map for a color space.
  1412. * This handles the general decode maps where there are two values per
  1413. * component. e.g. [0, 1, 0, 1, 0, 1] for a RGB color.
  1414. * This does not handle Lab, Indexed, or Pattern decode maps since they are
  1415. * slightly different.
  1416. * @param {Array} decode Decode map (usually from an image).
  1417. * @param {Number} n Number of components the color space has.
  1418. */
  1419. ColorSpace.isDefaultDecode = function ColorSpace_isDefaultDecode(decode, n) {
  1420. if (!decode)
  1421. return true;
  1422. if (n * 2 !== decode.length) {
  1423. warn('The decode map is not the correct length');
  1424. return true;
  1425. }
  1426. for (var i = 0, ii = decode.length; i < ii; i += 2) {
  1427. if (decode[i] !== 0 || decode[i + 1] != 1)
  1428. return false;
  1429. }
  1430. return true;
  1431. };
  1432. ColorSpace.singletons = {
  1433. get gray() {
  1434. return shadow(this, 'gray', new DeviceGrayCS());
  1435. },
  1436. get rgb() {
  1437. return shadow(this, 'rgb', new DeviceRgbCS());
  1438. },
  1439. get cmyk() {
  1440. return shadow(this, 'cmyk', new DeviceCmykCS());
  1441. }
  1442. };
  1443. return ColorSpace;
  1444. })();
  1445. /**
  1446. * Alternate color space handles both Separation and DeviceN color spaces. A
  1447. * Separation color space is actually just a DeviceN with one color component.
  1448. * Both color spaces use a tinting function to convert colors to a base color
  1449. * space.
  1450. */
  1451. var AlternateCS = (function AlternateCSClosure() {
  1452. function AlternateCS(numComps, base, tintFn) {
  1453. this.name = 'Alternate';
  1454. this.numComps = numComps;
  1455. this.defaultColor = new Float32Array(numComps);
  1456. for (var i = 0; i < numComps; ++i) {
  1457. this.defaultColor[i] = 1;
  1458. }
  1459. this.base = base;
  1460. this.tintFn = tintFn;
  1461. }
  1462. AlternateCS.prototype = {
  1463. getRgb: function AlternateCS_getRgb(src, srcOffset) {
  1464. var rgb = new Uint8Array(3);
  1465. this.getRgbItem(src, srcOffset, rgb, 0);
  1466. return rgb;
  1467. },
  1468. getRgbItem: function AlternateCS_getRgbItem(src, srcOffset,
  1469. dest, destOffset) {
  1470. var baseNumComps = this.base.numComps;
  1471. var input = 'subarray' in src ?
  1472. src.subarray(srcOffset, srcOffset + this.numComps) :
  1473. Array.prototype.slice.call(src, srcOffset, srcOffset + this.numComps);
  1474. var tinted = this.tintFn(input);
  1475. this.base.getRgbItem(tinted, 0, dest, destOffset);
  1476. },
  1477. getRgbBuffer: function AlternateCS_getRgbBuffer(src, srcOffset, count,
  1478. dest, destOffset, bits) {
  1479. var tintFn = this.tintFn;
  1480. var base = this.base;
  1481. var scale = 1 / ((1 << bits) - 1);
  1482. var baseNumComps = base.numComps;
  1483. var usesZeroToOneRange = base.usesZeroToOneRange;
  1484. var isPassthrough = base.isPassthrough(8) || !usesZeroToOneRange;
  1485. var pos = isPassthrough ? destOffset : 0;
  1486. var baseBuf = isPassthrough ? dest : new Uint8Array(baseNumComps * count);
  1487. var numComps = this.numComps;
  1488. var scaled = new Float32Array(numComps);
  1489. for (var i = 0; i < count; i++) {
  1490. for (var j = 0; j < numComps; j++) {
  1491. scaled[j] = src[srcOffset++] * scale;
  1492. }
  1493. var tinted = tintFn(scaled);
  1494. if (usesZeroToOneRange) {
  1495. for (var j = 0; j < baseNumComps; j++) {
  1496. baseBuf[pos++] = tinted[j] * 255;
  1497. }
  1498. } else {
  1499. base.getRgbItem(tinted, 0, baseBuf, pos);
  1500. pos += baseNumComps;
  1501. }
  1502. }
  1503. if (!isPassthrough) {
  1504. base.getRgbBuffer(baseBuf, 0, count, dest, destOffset, 8);
  1505. }
  1506. },
  1507. getOutputLength: function AlternateCS_getOutputLength(inputLength) {
  1508. return this.base.getOutputLength(inputLength *
  1509. this.base.numComps / this.numComps);
  1510. },
  1511. isPassthrough: ColorSpace.prototype.isPassthrough,
  1512. createRgbBuffer: ColorSpace.prototype.createRgbBuffer,
  1513. isDefaultDecode: function AlternateCS_isDefaultDecode(decodeMap) {
  1514. return ColorSpace.isDefaultDecode(decodeMap, this.numComps);
  1515. },
  1516. usesZeroToOneRange: true
  1517. };
  1518. return AlternateCS;
  1519. })();
  1520. var PatternCS = (function PatternCSClosure() {
  1521. function PatternCS(baseCS) {
  1522. this.name = 'Pattern';
  1523. this.base = baseCS;
  1524. }
  1525. PatternCS.prototype = {};
  1526. return PatternCS;
  1527. })();
  1528. var IndexedCS = (function IndexedCSClosure() {
  1529. function IndexedCS(base, highVal, lookup) {
  1530. this.name = 'Indexed';
  1531. this.numComps = 1;
  1532. this.defaultColor = new Uint8Array([0]);
  1533. this.base = base;
  1534. this.highVal = highVal;
  1535. var baseNumComps = base.numComps;
  1536. var length = baseNumComps * highVal;
  1537. var lookupArray;
  1538. if (isStream(lookup)) {
  1539. lookupArray = new Uint8Array(length);
  1540. var bytes = lookup.getBytes(length);
  1541. lookupArray.set(bytes);
  1542. } else if (isString(lookup)) {
  1543. lookupArray = new Uint8Array(length);
  1544. for (var i = 0; i < length; ++i)
  1545. lookupArray[i] = lookup.charCodeAt(i);
  1546. } else if (lookup instanceof Uint8Array || lookup instanceof Array) {
  1547. lookupArray = lookup;
  1548. } else {
  1549. error('Unrecognized lookup table: ' + lookup);
  1550. }
  1551. this.lookup = lookupArray;
  1552. }
  1553. IndexedCS.prototype = {
  1554. getRgb: function IndexedCS_getRgb(src, srcOffset) {
  1555. var numComps = this.base.numComps;
  1556. var start = src[srcOffset] * numComps;
  1557. return this.base.getRgb(this.lookup, start);
  1558. },
  1559. getRgbItem: function IndexedCS_getRgbItem(src, srcOffset,
  1560. dest, destOffset) {
  1561. var numComps = this.base.numComps;
  1562. var start = src[srcOffset] * numComps;
  1563. this.base.getRgbItem(this.lookup, start, dest, destOffset);
  1564. },
  1565. getRgbBuffer: function IndexedCS_getRgbBuffer(src, srcOffset, count,
  1566. dest, destOffset) {
  1567. var base = this.base;
  1568. var numComps = base.numComps;
  1569. var outputDelta = base.getOutputLength(numComps);
  1570. var lookup = this.lookup;
  1571. for (var i = 0; i < count; ++i) {
  1572. var lookupPos = src[srcOffset++] * numComps;
  1573. base.getRgbBuffer(lookup, lookupPos, 1, dest, destOffset, 8);
  1574. destOffset += outputDelta;
  1575. }
  1576. },
  1577. getOutputLength: function IndexedCS_getOutputLength(inputLength) {
  1578. return this.base.getOutputLength(inputLength * this.base.numComps);
  1579. },
  1580. isPassthrough: ColorSpace.prototype.isPassthrough,
  1581. createRgbBuffer: ColorSpace.prototype.createRgbBuffer,
  1582. isDefaultDecode: function IndexedCS_isDefaultDecode(decodeMap) {
  1583. // indexed color maps shouldn't be changed
  1584. return true;
  1585. },
  1586. usesZeroToOneRange: true
  1587. };
  1588. return IndexedCS;
  1589. })();
  1590. var DeviceGrayCS = (function DeviceGrayCSClosure() {
  1591. function DeviceGrayCS() {
  1592. this.name = 'DeviceGray';
  1593. this.numComps = 1;
  1594. this.defaultColor = new Float32Array([0]);
  1595. }
  1596. DeviceGrayCS.prototype = {
  1597. getRgb: function DeviceGrayCS_getRgb(src, srcOffset) {
  1598. var rgb = new Uint8Array(3);
  1599. this.getRgbItem(src, srcOffset, rgb, 0);
  1600. return rgb;
  1601. },
  1602. getRgbItem: function DeviceGrayCS_getRgbItem(src, srcOffset,
  1603. dest, destOffset) {
  1604. var c = (src[srcOffset] * 255) | 0;
  1605. c = c < 0 ? 0 : c > 255 ? 255 : c;
  1606. dest[destOffset] = dest[destOffset + 1] = dest[destOffset + 2] = c;
  1607. },
  1608. getRgbBuffer: function DeviceGrayCS_getRgbBuffer(src, srcOffset, count,
  1609. dest, destOffset, bits) {
  1610. var scale = 255 / ((1 << bits) - 1);
  1611. var j = srcOffset, q = destOffset;
  1612. for (var i = 0; i < count; ++i) {
  1613. var c = (scale * src[j++]) | 0;
  1614. dest[q++] = c;
  1615. dest[q++] = c;
  1616. dest[q++] = c;
  1617. }
  1618. },
  1619. getOutputLength: function DeviceGrayCS_getOutputLength(inputLength) {
  1620. return inputLength * 3;
  1621. },
  1622. isPassthrough: ColorSpace.prototype.isPassthrough,
  1623. createRgbBuffer: ColorSpace.prototype.createRgbBuffer,
  1624. isDefaultDecode: function DeviceGrayCS_isDefaultDecode(decodeMap) {
  1625. return ColorSpace.isDefaultDecode(decodeMap, this.numComps);
  1626. },
  1627. usesZeroToOneRange: true
  1628. };
  1629. return DeviceGrayCS;
  1630. })();
  1631. var DeviceRgbCS = (function DeviceRgbCSClosure() {
  1632. function DeviceRgbCS() {
  1633. this.name = 'DeviceRGB';
  1634. this.numComps = 3;
  1635. this.defaultColor = new Float32Array([0, 0, 0]);
  1636. }
  1637. DeviceRgbCS.prototype = {
  1638. getRgb: function DeviceRgbCS_getRgb(src, srcOffset) {
  1639. var rgb = new Uint8Array(3);
  1640. this.getRgbItem(src, srcOffset, rgb, 0);
  1641. return rgb;
  1642. },
  1643. getRgbItem: function DeviceRgbCS_getRgbItem(src, srcOffset,
  1644. dest, destOffset) {
  1645. var r = (src[srcOffset] * 255) | 0;
  1646. var g = (src[srcOffset + 1] * 255) | 0;
  1647. var b = (src[srcOffset + 2] * 255) | 0;
  1648. dest[destOffset] = r < 0 ? 0 : r > 255 ? 255 : r;
  1649. dest[destOffset + 1] = g < 0 ? 0 : g > 255 ? 255 : g;
  1650. dest[destOffset + 2] = b < 0 ? 0 : b > 255 ? 255 : b;
  1651. },
  1652. getRgbBuffer: function DeviceRgbCS_getRgbBuffer(src, srcOffset, count,
  1653. dest, destOffset, bits) {
  1654. var length = count * 3;
  1655. if (bits == 8) {
  1656. dest.set(src.subarray(srcOffset, srcOffset + length), destOffset);
  1657. return;
  1658. }
  1659. var scale = 255 / ((1 << bits) - 1);
  1660. var j = srcOffset, q = destOffset;
  1661. for (var i = 0; i < length; ++i) {
  1662. dest[q++] = (scale * src[j++]) | 0;
  1663. }
  1664. },
  1665. getOutputLength: function DeviceRgbCS_getOutputLength(inputLength) {
  1666. return inputLength;
  1667. },
  1668. isPassthrough: function DeviceRgbCS_isPassthrough(bits) {
  1669. return bits == 8;
  1670. },
  1671. createRgbBuffer: ColorSpace.prototype.createRgbBuffer,
  1672. isDefaultDecode: function DeviceRgbCS_isDefaultDecode(decodeMap) {
  1673. return ColorSpace.isDefaultDecode(decodeMap, this.numComps);
  1674. },
  1675. usesZeroToOneRange: true
  1676. };
  1677. return DeviceRgbCS;
  1678. })();
  1679. var DeviceCmykCS = (function DeviceCmykCSClosure() {
  1680. // The coefficients below was found using numerical analysis: the method of
  1681. // steepest descent for the sum((f_i - color_value_i)^2) for r/g/b colors,
  1682. // where color_value is the tabular value from the table of sampled RGB colors
  1683. // from CMYK US Web Coated (SWOP) colorspace, and f_i is the corresponding
  1684. // CMYK color conversion using the estimation below:
  1685. // f(A, B,.. N) = Acc+Bcm+Ccy+Dck+c+Fmm+Gmy+Hmk+Im+Jyy+Kyk+Ly+Mkk+Nk+255
  1686. function convertToRgb(src, srcOffset, srcScale, dest, destOffset) {
  1687. var c = src[srcOffset + 0] * srcScale;
  1688. var m = src[srcOffset + 1] * srcScale;
  1689. var y = src[srcOffset + 2] * srcScale;
  1690. var k = src[srcOffset + 3] * srcScale;
  1691. var r =
  1692. c * (-4.387332384609988 * c + 54.48615194189176 * m +
  1693. 18.82290502165302 * y + 212.25662451639585 * k +
  1694. -285.2331026137004) +
  1695. m * (1.7149763477362134 * m - 5.6096736904047315 * y +
  1696. -17.873870861415444 * k - 5.497006427196366) +
  1697. y * (-2.5217340131683033 * y - 21.248923337353073 * k +
  1698. 17.5119270841813) +
  1699. k * (-21.86122147463605 * k - 189.48180835922747) + 255;
  1700. var g =
  1701. c * (8.841041422036149 * c + 60.118027045597366 * m +
  1702. 6.871425592049007 * y + 31.159100130055922 * k +
  1703. -79.2970844816548) +
  1704. m * (-15.310361306967817 * m + 17.575251261109482 * y +
  1705. 131.35250912493976 * k - 190.9453302588951) +
  1706. y * (4.444339102852739 * y + 9.8632861493405 * k - 24.86741582555878) +
  1707. k * (-20.737325471181034 * k - 187.80453709719578) + 255;
  1708. var b =
  1709. c * (0.8842522430003296 * c + 8.078677503112928 * m +
  1710. 30.89978309703729 * y - 0.23883238689178934 * k +
  1711. -14.183576799673286) +
  1712. m * (10.49593273432072 * m + 63.02378494754052 * y +
  1713. 50.606957656360734 * k - 112.23884253719248) +
  1714. y * (0.03296041114873217 * y + 115.60384449646641 * k +
  1715. -193.58209356861505) +
  1716. k * (-22.33816807309886 * k - 180.12613974708367) + 255;
  1717. dest[destOffset] = r > 255 ? 255 : r < 0 ? 0 : r;
  1718. dest[destOffset + 1] = g > 255 ? 255 : g < 0 ? 0 : g;
  1719. dest[destOffset + 2] = b > 255 ? 255 : b < 0 ? 0 : b;
  1720. }
  1721. function DeviceCmykCS() {
  1722. this.name = 'DeviceCMYK';
  1723. this.numComps = 4;
  1724. this.defaultColor = new Float32Array([0, 0, 0, 1]);
  1725. }
  1726. DeviceCmykCS.prototype = {
  1727. getRgb: function DeviceCmykCS_getRgb(src, srcOffset) {
  1728. var rgb = new Uint8Array(3);
  1729. convertToRgb(src, srcOffset, 1, rgb, 0);
  1730. return rgb;
  1731. },
  1732. getRgbItem: function DeviceCmykCS_getRgbItem(src, srcOffset,
  1733. dest, destOffset) {
  1734. convertToRgb(src, srcOffset, 1, dest, destOffset);
  1735. },
  1736. getRgbBuffer: function DeviceCmykCS_getRgbBuffer(src, srcOffset, count,
  1737. dest, destOffset, bits) {
  1738. var scale = 1 / ((1 << bits) - 1);
  1739. for (var i = 0; i < count; i++) {
  1740. convertToRgb(src, srcOffset, scale, dest, destOffset);
  1741. srcOffset += 4;
  1742. destOffset += 3;
  1743. }
  1744. },
  1745. getOutputLength: function DeviceCmykCS_getOutputLength(inputLength) {
  1746. return (inputLength >> 2) * 3;
  1747. },
  1748. isPassthrough: ColorSpace.prototype.isPassthrough,
  1749. createRgbBuffer: ColorSpace.prototype.createRgbBuffer,
  1750. isDefaultDecode: function DeviceCmykCS_isDefaultDecode(decodeMap) {
  1751. return ColorSpace.isDefaultDecode(decodeMap, this.numComps);
  1752. },
  1753. usesZeroToOneRange: true
  1754. };
  1755. return DeviceCmykCS;
  1756. })();
  1757. //
  1758. // CalGrayCS: Based on "PDF Reference, Sixth Ed", p.245
  1759. //
  1760. var CalGrayCS = (function CalGrayCSClosure() {
  1761. function CalGrayCS(whitePoint, blackPoint, gamma) {
  1762. this.name = 'CalGray';
  1763. this.numComps = 1;
  1764. this.defaultColor = new Float32Array([0]);
  1765. if (!whitePoint) {
  1766. error('WhitePoint missing - required for color space CalGray');
  1767. }
  1768. blackPoint = blackPoint || [0, 0, 0];
  1769. gamma = gamma || 1;
  1770. // Translate arguments to spec variables.
  1771. this.XW = whitePoint[0];
  1772. this.YW = whitePoint[1];
  1773. this.ZW = whitePoint[2];
  1774. this.XB = blackPoint[0];
  1775. this.YB = blackPoint[1];
  1776. this.ZB = blackPoint[2];
  1777. this.G = gamma;
  1778. // Validate variables as per spec.
  1779. if (this.XW < 0 || this.ZW < 0 || this.YW !== 1) {
  1780. error('Invalid WhitePoint components for ' + this.name +
  1781. ', no fallback available');
  1782. }
  1783. if (this.XB < 0 || this.YB < 0 || this.ZB < 0) {
  1784. info('Invalid BlackPoint for ' + this.name + ', falling back to default');
  1785. this.XB = this.YB = this.ZB = 0;
  1786. }
  1787. if (this.XB !== 0 || this.YB !== 0 || this.ZB !== 0) {
  1788. warn(this.name + ', BlackPoint: XB: ' + this.XB + ', YB: ' + this.YB +
  1789. ', ZB: ' + this.ZB + ', only default values are supported.');
  1790. }
  1791. if (this.G < 1) {
  1792. info('Invalid Gamma: ' + this.G + ' for ' + this.name +
  1793. ', falling back to default');
  1794. this.G = 1;
  1795. }
  1796. }
  1797. function convertToRgb(cs, src, srcOffset, dest, destOffset, scale) {
  1798. // A represents a gray component of a calibrated gray space.
  1799. // A <---> AG in the spec
  1800. var A = src[srcOffset] * scale;
  1801. var AG = Math.pow(A, cs.G);
  1802. // Computes intermediate variables M, L, N as per spec.
  1803. // Except if other than default BlackPoint values are used.
  1804. var M = cs.XW * AG;
  1805. var L = cs.YW * AG;
  1806. var N = cs.ZW * AG;
  1807. // Decode XYZ, as per spec.
  1808. var X = M;
  1809. var Y = L;
  1810. var Z = N;
  1811. // http://www.poynton.com/notes/colour_and_gamma/ColorFAQ.html, Ch 4.
  1812. // This yields values in range [0, 100].
  1813. var Lstar = Math.max(116 * Math.pow(Y, 1 / 3) - 16, 0);
  1814. // Convert values to rgb range [0, 255].
  1815. dest[destOffset] = Lstar * 255 / 100;
  1816. dest[destOffset + 1] = Lstar * 255 / 100;
  1817. dest[destOffset + 2] = Lstar * 255 / 100;
  1818. }
  1819. CalGrayCS.prototype = {
  1820. getRgb: function CalGrayCS_getRgb(src, srcOffset) {
  1821. var rgb = new Uint8Array(3);
  1822. this.getRgbItem(src, srcOffset, rgb, 0);
  1823. return rgb;
  1824. },
  1825. getRgbItem: function CalGrayCS_getRgbItem(src, srcOffset,
  1826. dest, destOffset) {
  1827. convertToRgb(this, src, srcOffset, dest, destOffset, 1);
  1828. },
  1829. getRgbBuffer: function CalGrayCS_getRgbBuffer(src, srcOffset, count,
  1830. dest, destOffset, bits) {
  1831. var scale = 1 / ((1 << bits) - 1);
  1832. for (var i = 0; i < count; ++i) {
  1833. convertToRgb(this, src, srcOffset, dest, destOffset, scale);
  1834. srcOffset += 1;
  1835. destOffset += 3;
  1836. }
  1837. },
  1838. getOutputLength: function CalGrayCS_getOutputLength(inputLength) {
  1839. return inputLength * 3;
  1840. },
  1841. isPassthrough: ColorSpace.prototype.isPassthrough,
  1842. createRgbBuffer: ColorSpace.prototype.createRgbBuffer,
  1843. isDefaultDecode: function CalGrayCS_isDefaultDecode(decodeMap) {
  1844. return ColorSpace.isDefaultDecode(decodeMap, this.numComps);
  1845. },
  1846. usesZeroToOneRange: true
  1847. };
  1848. return CalGrayCS;
  1849. })();
  1850. //
  1851. // LabCS: Based on "PDF Reference, Sixth Ed", p.250
  1852. //
  1853. var LabCS = (function LabCSClosure() {
  1854. function LabCS(whitePoint, blackPoint, range) {
  1855. this.name = 'Lab';
  1856. this.numComps = 3;
  1857. this.defaultColor = new Float32Array([0, 0, 0]);
  1858. if (!whitePoint)
  1859. error('WhitePoint missing - required for color space Lab');
  1860. blackPoint = blackPoint || [0, 0, 0];
  1861. range = range || [-100, 100, -100, 100];
  1862. // Translate args to spec variables
  1863. this.XW = whitePoint[0];
  1864. this.YW = whitePoint[1];
  1865. this.ZW = whitePoint[2];
  1866. this.amin = range[0];
  1867. this.amax = range[1];
  1868. this.bmin = range[2];
  1869. this.bmax = range[3];
  1870. // These are here just for completeness - the spec doesn't offer any
  1871. // formulas that use BlackPoint in Lab
  1872. this.XB = blackPoint[0];
  1873. this.YB = blackPoint[1];
  1874. this.ZB = blackPoint[2];
  1875. // Validate vars as per spec
  1876. if (this.XW < 0 || this.ZW < 0 || this.YW !== 1)
  1877. error('Invalid WhitePoint components, no fallback available');
  1878. if (this.XB < 0 || this.YB < 0 || this.ZB < 0) {
  1879. info('Invalid BlackPoint, falling back to default');
  1880. this.XB = this.YB = this.ZB = 0;
  1881. }
  1882. if (this.amin > this.amax || this.bmin > this.bmax) {
  1883. info('Invalid Range, falling back to defaults');
  1884. this.amin = -100;
  1885. this.amax = 100;
  1886. this.bmin = -100;
  1887. this.bmax = 100;
  1888. }
  1889. }
  1890. // Function g(x) from spec
  1891. function fn_g(x) {
  1892. if (x >= 6 / 29)
  1893. return x * x * x;
  1894. else
  1895. return (108 / 841) * (x - 4 / 29);
  1896. }
  1897. function decode(value, high1, low2, high2) {
  1898. return low2 + (value) * (high2 - low2) / (high1);
  1899. }
  1900. // If decoding is needed maxVal should be 2^bits per component - 1.
  1901. function convertToRgb(cs, src, srcOffset, maxVal, dest, destOffset) {
  1902. // XXX: Lab input is in the range of [0, 100], [amin, amax], [bmin, bmax]
  1903. // not the usual [0, 1]. If a command like setFillColor is used the src
  1904. // values will already be within the correct range. However, if we are
  1905. // converting an image we have to map the values to the correct range given
  1906. // above.
  1907. // Ls,as,bs <---> L*,a*,b* in the spec
  1908. var Ls = src[srcOffset];
  1909. var as = src[srcOffset + 1];
  1910. var bs = src[srcOffset + 2];
  1911. if (maxVal !== false) {
  1912. Ls = decode(Ls, maxVal, 0, 100);
  1913. as = decode(as, maxVal, cs.amin, cs.amax);
  1914. bs = decode(bs, maxVal, cs.bmin, cs.bmax);
  1915. }
  1916. // Adjust limits of 'as' and 'bs'
  1917. as = as > cs.amax ? cs.amax : as < cs.amin ? cs.amin : as;
  1918. bs = bs > cs.bmax ? cs.bmax : bs < cs.bmin ? cs.bmin : bs;
  1919. // Computes intermediate variables X,Y,Z as per spec
  1920. var M = (Ls + 16) / 116;
  1921. var L = M + (as / 500);
  1922. var N = M - (bs / 200);
  1923. var X = cs.XW * fn_g(L);
  1924. var Y = cs.YW * fn_g(M);
  1925. var Z = cs.ZW * fn_g(N);
  1926. var r, g, b;
  1927. // Using different conversions for D50 and D65 white points,
  1928. // per http://www.color.org/srgb.pdf
  1929. if (cs.ZW < 1) {
  1930. // Assuming D50 (X=0.9642, Y=1.00, Z=0.8249)
  1931. r = X * 3.1339 + Y * -1.6170 + Z * -0.4906;
  1932. g = X * -0.9785 + Y * 1.9160 + Z * 0.0333;
  1933. b = X * 0.0720 + Y * -0.2290 + Z * 1.4057;
  1934. } else {
  1935. // Assuming D65 (X=0.9505, Y=1.00, Z=1.0888)
  1936. r = X * 3.2406 + Y * -1.5372 + Z * -0.4986;
  1937. g = X * -0.9689 + Y * 1.8758 + Z * 0.0415;
  1938. b = X * 0.0557 + Y * -0.2040 + Z * 1.0570;
  1939. }
  1940. // clamp color values to [0,1] range then convert to [0,255] range.
  1941. dest[destOffset] = Math.sqrt(r < 0 ? 0 : r > 1 ? 1 : r) * 255;
  1942. dest[destOffset + 1] = Math.sqrt(g < 0 ? 0 : g > 1 ? 1 : g) * 255;
  1943. dest[destOffset + 2] = Math.sqrt(b < 0 ? 0 : b > 1 ? 1 : b) * 255;
  1944. }
  1945. LabCS.prototype = {
  1946. getRgb: function LabCS_getRgb(src, srcOffset) {
  1947. var rgb = new Uint8Array(3);
  1948. convertToRgb(this, src, srcOffset, false, rgb, 0);
  1949. return rgb;
  1950. },
  1951. getRgbItem: function LabCS_getRgbItem(src, srcOffset, dest, destOffset) {
  1952. convertToRgb(this, src, srcOffset, false, dest, destOffset);
  1953. },
  1954. getRgbBuffer: function LabCS_getRgbBuffer(src, srcOffset, count,
  1955. dest, destOffset, bits) {
  1956. var maxVal = (1 << bits) - 1;
  1957. for (var i = 0; i < count; i++) {
  1958. convertToRgb(this, src, srcOffset, maxVal, dest, destOffset);
  1959. srcOffset += 3;
  1960. destOffset += 3;
  1961. }
  1962. },
  1963. getOutputLength: function LabCS_getOutputLength(inputLength) {
  1964. return inputLength;
  1965. },
  1966. isPassthrough: ColorSpace.prototype.isPassthrough,
  1967. isDefaultDecode: function LabCS_isDefaultDecode(decodeMap) {
  1968. // XXX: Decoding is handled with the lab conversion because of the strange
  1969. // ranges that are used.
  1970. return true;
  1971. },
  1972. usesZeroToOneRange: false
  1973. };
  1974. return LabCS;
  1975. })();
  1976. var PatternType = {
  1977. AXIAL: 2,
  1978. RADIAL: 3
  1979. };
  1980. var Pattern = (function PatternClosure() {
  1981. // Constructor should define this.getPattern
  1982. function Pattern() {
  1983. error('should not call Pattern constructor');
  1984. }
  1985. Pattern.prototype = {
  1986. // Input: current Canvas context
  1987. // Output: the appropriate fillStyle or strokeStyle
  1988. getPattern: function Pattern_getPattern(ctx) {
  1989. error('Should not call Pattern.getStyle: ' + ctx);
  1990. }
  1991. };
  1992. Pattern.shadingFromIR = function Pattern_shadingFromIR(raw) {
  1993. return Shadings[raw[0]].fromIR(raw);
  1994. };
  1995. Pattern.parseShading = function Pattern_parseShading(shading, matrix, xref,
  1996. res) {
  1997. var dict = isStream(shading) ? shading.dict : shading;
  1998. var type = dict.get('ShadingType');
  1999. switch (type) {
  2000. case PatternType.AXIAL:
  2001. case PatternType.RADIAL:
  2002. // Both radial and axial shadings are handled by RadialAxial shading.
  2003. return new Shadings.RadialAxial(dict, matrix, xref, res);
  2004. default:
  2005. UnsupportedManager.notify(UNSUPPORTED_FEATURES.shadingPattern);
  2006. return new Shadings.Dummy();
  2007. }
  2008. };
  2009. return Pattern;
  2010. })();
  2011. var Shadings = {};
  2012. // A small number to offset the first/last color stops so we can insert ones to
  2013. // support extend. Number.MIN_VALUE appears to be too small and breaks the
  2014. // extend. 1e-7 works in FF but chrome seems to use an even smaller sized number
  2015. // internally so we have to go bigger.
  2016. Shadings.SMALL_NUMBER = 1e-2;
  2017. // Radial and axial shading have very similar implementations
  2018. // If needed, the implementations can be broken into two classes
  2019. Shadings.RadialAxial = (function RadialAxialClosure() {
  2020. function RadialAxial(dict, matrix, xref, res, ctx) {
  2021. this.matrix = matrix;
  2022. this.coordsArr = dict.get('Coords');
  2023. this.shadingType = dict.get('ShadingType');
  2024. this.type = 'Pattern';
  2025. this.ctx = ctx;
  2026. var cs = dict.get('ColorSpace', 'CS');
  2027. cs = ColorSpace.parse(cs, xref, res);
  2028. this.cs = cs;
  2029. var t0 = 0.0, t1 = 1.0;
  2030. if (dict.has('Domain')) {
  2031. var domainArr = dict.get('Domain');
  2032. t0 = domainArr[0];
  2033. t1 = domainArr[1];
  2034. }
  2035. var extendStart = false, extendEnd = false;
  2036. if (dict.has('Extend')) {
  2037. var extendArr = dict.get('Extend');
  2038. extendStart = extendArr[0];
  2039. extendEnd = extendArr[1];
  2040. }
  2041. if (this.shadingType === PatternType.RADIAL &&
  2042. (!extendStart || !extendEnd)) {
  2043. // Radial gradient only currently works if either circle is fully within
  2044. // the other circle.
  2045. var x1 = this.coordsArr[0];
  2046. var y1 = this.coordsArr[1];
  2047. var r1 = this.coordsArr[2];
  2048. var x2 = this.coordsArr[3];
  2049. var y2 = this.coordsArr[4];
  2050. var r2 = this.coordsArr[5];
  2051. var distance = Math.sqrt((x1 - x2) * (x1 - x2) + (y1 - y2) * (y1 - y2));
  2052. if (r1 <= r2 + distance &&
  2053. r2 <= r1 + distance) {
  2054. warn('Unsupported radial gradient.');
  2055. }
  2056. }
  2057. this.extendStart = extendStart;
  2058. this.extendEnd = extendEnd;
  2059. var fnObj = dict.get('Function');
  2060. var fn;
  2061. if (isArray(fnObj)) {
  2062. var fnArray = [];
  2063. for (var j = 0, jj = fnObj.length; j < jj; j++) {
  2064. var obj = xref.fetchIfRef(fnObj[j]);
  2065. if (!isPDFFunction(obj)) {
  2066. error('Invalid function');
  2067. }
  2068. fnArray.push(PDFFunction.parse(xref, obj));
  2069. }
  2070. fn = function radialAxialColorFunction(arg) {
  2071. var out = [];
  2072. for (var i = 0, ii = fnArray.length; i < ii; i++) {
  2073. out.push(fnArray[i](arg)[0]);
  2074. }
  2075. return out;
  2076. };
  2077. } else {
  2078. if (!isPDFFunction(fnObj)) {
  2079. error('Invalid function');
  2080. }
  2081. fn = PDFFunction.parse(xref, fnObj);
  2082. }
  2083. // 10 samples seems good enough for now, but probably won't work
  2084. // if there are sharp color changes. Ideally, we would implement
  2085. // the spec faithfully and add lossless optimizations.
  2086. var diff = t1 - t0;
  2087. var step = diff / 10;
  2088. var colorStops = this.colorStops = [];
  2089. // Protect against bad domains so we don't end up in an infinte loop below.
  2090. if (t0 >= t1 || step <= 0) {
  2091. // Acrobat doesn't seem to handle these cases so we'll ignore for
  2092. // now.
  2093. info('Bad shading domain.');
  2094. return;
  2095. }
  2096. for (var i = t0; i <= t1; i += step) {
  2097. var rgbColor = cs.getRgb(fn([i]), 0);
  2098. var cssColor = Util.makeCssRgb(rgbColor);
  2099. colorStops.push([(i - t0) / diff, cssColor]);
  2100. }
  2101. var background = 'transparent';
  2102. if (dict.has('Background')) {
  2103. var rgbColor = cs.getRgb(dict.get('Background'), 0);
  2104. background = Util.makeCssRgb(rgbColor);
  2105. }
  2106. if (!extendStart) {
  2107. // Insert a color stop at the front and offset the first real color stop
  2108. // so it doesn't conflict with the one we insert.
  2109. colorStops.unshift([0, background]);
  2110. colorStops[1][0] += Shadings.SMALL_NUMBER;
  2111. }
  2112. if (!extendEnd) {
  2113. // Same idea as above in extendStart but for the end.
  2114. colorStops[colorStops.length - 1][0] -= Shadings.SMALL_NUMBER;
  2115. colorStops.push([1, background]);
  2116. }
  2117. this.colorStops = colorStops;
  2118. }
  2119. RadialAxial.fromIR = function RadialAxial_fromIR(raw) {
  2120. var type = raw[1];
  2121. var colorStops = raw[2];
  2122. var p0 = raw[3];
  2123. var p1 = raw[4];
  2124. var r0 = raw[5];
  2125. var r1 = raw[6];
  2126. return {
  2127. type: 'Pattern',
  2128. getPattern: function RadialAxial_getPattern(ctx) {
  2129. var grad;
  2130. if (type == PatternType.AXIAL)
  2131. grad = ctx.createLinearGradient(p0[0], p0[1], p1[0], p1[1]);
  2132. else if (type == PatternType.RADIAL)
  2133. grad = ctx.createRadialGradient(p0[0], p0[1], r0, p1[0], p1[1], r1);
  2134. for (var i = 0, ii = colorStops.length; i < ii; ++i) {
  2135. var c = colorStops[i];
  2136. grad.addColorStop(c[0], c[1]);
  2137. }
  2138. return grad;
  2139. }
  2140. };
  2141. };
  2142. RadialAxial.prototype = {
  2143. getIR: function RadialAxial_getIR() {
  2144. var coordsArr = this.coordsArr;
  2145. var type = this.shadingType;
  2146. if (type == PatternType.AXIAL) {
  2147. var p0 = [coordsArr[0], coordsArr[1]];
  2148. var p1 = [coordsArr[2], coordsArr[3]];
  2149. var r0 = null;
  2150. var r1 = null;
  2151. } else if (type == PatternType.RADIAL) {
  2152. var p0 = [coordsArr[0], coordsArr[1]];
  2153. var p1 = [coordsArr[3], coordsArr[4]];
  2154. var r0 = coordsArr[2];
  2155. var r1 = coordsArr[5];
  2156. } else {
  2157. error('getPattern type unknown: ' + type);
  2158. }
  2159. var matrix = this.matrix;
  2160. if (matrix) {
  2161. p0 = Util.applyTransform(p0, matrix);
  2162. p1 = Util.applyTransform(p1, matrix);
  2163. }
  2164. return ['RadialAxial', type, this.colorStops, p0, p1, r0, r1];
  2165. }
  2166. };
  2167. return RadialAxial;
  2168. })();
  2169. Shadings.Dummy = (function DummyClosure() {
  2170. function Dummy() {
  2171. this.type = 'Pattern';
  2172. }
  2173. Dummy.fromIR = function Dummy_fromIR() {
  2174. return {
  2175. type: 'Pattern',
  2176. getPattern: function Dummy_fromIR_getPattern() {
  2177. return 'hotpink';
  2178. }
  2179. };
  2180. };
  2181. Dummy.prototype = {
  2182. getIR: function Dummy_getIR() {
  2183. return ['Dummy'];
  2184. }
  2185. };
  2186. return Dummy;
  2187. })();
  2188. var TilingPattern = (function TilingPatternClosure() {
  2189. var PaintType = {
  2190. COLORED: 1,
  2191. UNCOLORED: 2
  2192. };
  2193. var MAX_PATTERN_SIZE = 3000; // 10in @ 300dpi shall be enough
  2194. function TilingPattern(IR, color, ctx, objs, commonObjs, baseTransform) {
  2195. this.name = IR[1][0].name;
  2196. this.operatorList = IR[2];
  2197. this.matrix = IR[3] || [1, 0, 0, 1, 0, 0];
  2198. this.bbox = IR[4];
  2199. this.xstep = IR[5];
  2200. this.ystep = IR[6];
  2201. this.paintType = IR[7];
  2202. this.tilingType = IR[8];
  2203. this.color = color;
  2204. this.objs = objs;
  2205. this.commonObjs = commonObjs;
  2206. this.baseTransform = baseTransform;
  2207. this.type = 'Pattern';
  2208. this.ctx = ctx;
  2209. }
  2210. TilingPattern.getIR = function TilingPattern_getIR(operatorList, dict, args) {
  2211. var matrix = dict.get('Matrix');
  2212. var bbox = dict.get('BBox');
  2213. var xstep = dict.get('XStep');
  2214. var ystep = dict.get('YStep');
  2215. var paintType = dict.get('PaintType');
  2216. var tilingType = dict.get('TilingType');
  2217. return [
  2218. 'TilingPattern', args, operatorList, matrix, bbox, xstep, ystep,
  2219. paintType, tilingType
  2220. ];
  2221. };
  2222. TilingPattern.prototype = {
  2223. createPatternCanvas: function TilinPattern_createPatternCanvas(owner) {
  2224. var operatorList = this.operatorList;
  2225. var bbox = this.bbox;
  2226. var xstep = this.xstep;
  2227. var ystep = this.ystep;
  2228. var paintType = this.paintType;
  2229. var tilingType = this.tilingType;
  2230. var color = this.color;
  2231. var objs = this.objs;
  2232. var commonObjs = this.commonObjs;
  2233. var ctx = this.ctx;
  2234. info('TilingType: ' + tilingType);
  2235. var x0 = bbox[0], y0 = bbox[1], x1 = bbox[2], y1 = bbox[3];
  2236. var topLeft = [x0, y0];
  2237. // we want the canvas to be as large as the step size
  2238. var botRight = [x0 + xstep, y0 + ystep];
  2239. var width = botRight[0] - topLeft[0];
  2240. var height = botRight[1] - topLeft[1];
  2241. // Obtain scale from matrix and current transformation matrix.
  2242. var matrixScale = Util.singularValueDecompose2dScale(this.matrix);
  2243. var curMatrixScale = Util.singularValueDecompose2dScale(
  2244. this.baseTransform);
  2245. var combinedScale = [matrixScale[0] * curMatrixScale[0],
  2246. matrixScale[1] * curMatrixScale[1]];
  2247. // MAX_PATTERN_SIZE is used to avoid OOM situation.
  2248. // Use width and height values that are as close as possible to the end
  2249. // result when the pattern is used. Too low value makes the pattern look
  2250. // blurry. Too large value makes it look too crispy.
  2251. width = Math.min(Math.ceil(Math.abs(width * combinedScale[0])),
  2252. MAX_PATTERN_SIZE);
  2253. height = Math.min(Math.ceil(Math.abs(height * combinedScale[1])),
  2254. MAX_PATTERN_SIZE);
  2255. var tmpCanvas = CachedCanvases.getCanvas('pattern', width, height, true);
  2256. var tmpCtx = tmpCanvas.context;
  2257. var graphics = new CanvasGraphics(tmpCtx, commonObjs, objs);
  2258. graphics.groupLevel = owner.groupLevel;
  2259. this.setFillAndStrokeStyleToContext(tmpCtx, paintType, color);
  2260. this.setScale(width, height, xstep, ystep);
  2261. this.transformToScale(graphics);
  2262. // transform coordinates to pattern space
  2263. var tmpTranslate = [1, 0, 0, 1, -topLeft[0], -topLeft[1]];
  2264. graphics.transform.apply(graphics, tmpTranslate);
  2265. this.clipBbox(graphics, bbox, x0, y0, x1, y1);
  2266. graphics.executeOperatorList(operatorList);
  2267. return tmpCanvas.canvas;
  2268. },
  2269. setScale: function TilingPattern_setScale(width, height, xstep, ystep) {
  2270. this.scale = [width / xstep, height / ystep];
  2271. },
  2272. transformToScale: function TilingPattern_transformToScale(graphics) {
  2273. var scale = this.scale;
  2274. var tmpScale = [scale[0], 0, 0, scale[1], 0, 0];
  2275. graphics.transform.apply(graphics, tmpScale);
  2276. },
  2277. scaleToContext: function TilingPattern_scaleToContext() {
  2278. var scale = this.scale;
  2279. this.ctx.scale(1 / scale[0], 1 / scale[1]);
  2280. },
  2281. clipBbox: function clipBbox(graphics, bbox, x0, y0, x1, y1) {
  2282. if (bbox && isArray(bbox) && 4 == bbox.length) {
  2283. var bboxWidth = x1 - x0;
  2284. var bboxHeight = y1 - y0;
  2285. graphics.rectangle(x0, y0, bboxWidth, bboxHeight);
  2286. graphics.clip();
  2287. graphics.endPath();
  2288. }
  2289. },
  2290. setFillAndStrokeStyleToContext:
  2291. function setFillAndStrokeStyleToContext(context, paintType, color) {
  2292. switch (paintType) {
  2293. case PaintType.COLORED:
  2294. var ctx = this.ctx;
  2295. context.fillStyle = ctx.fillStyle;
  2296. context.strokeStyle = ctx.strokeStyle;
  2297. break;
  2298. case PaintType.UNCOLORED:
  2299. var rgbColor = ColorSpace.singletons.rgb.getRgb(color, 0);
  2300. var cssColor = Util.makeCssRgb(rgbColor);
  2301. context.fillStyle = cssColor;
  2302. context.strokeStyle = cssColor;
  2303. break;
  2304. default:
  2305. error('Unsupported paint type: ' + paintType);
  2306. }
  2307. },
  2308. getPattern: function TilingPattern_getPattern(ctx, owner) {
  2309. var temporaryPatternCanvas = this.createPatternCanvas(owner);
  2310. var ctx = this.ctx;
  2311. ctx.setTransform.apply(ctx, this.baseTransform);
  2312. ctx.transform.apply(ctx, this.matrix);
  2313. this.scaleToContext();
  2314. return ctx.createPattern(temporaryPatternCanvas, 'repeat');
  2315. }
  2316. };
  2317. return TilingPattern;
  2318. })();
  2319. var PDFFunction = (function PDFFunctionClosure() {
  2320. var CONSTRUCT_SAMPLED = 0;
  2321. var CONSTRUCT_INTERPOLATED = 2;
  2322. var CONSTRUCT_STICHED = 3;
  2323. var CONSTRUCT_POSTSCRIPT = 4;
  2324. return {
  2325. getSampleArray: function PDFFunction_getSampleArray(size, outputSize, bps,
  2326. str) {
  2327. var length = 1;
  2328. for (var i = 0, ii = size.length; i < ii; i++)
  2329. length *= size[i];
  2330. length *= outputSize;
  2331. var array = [];
  2332. var codeSize = 0;
  2333. var codeBuf = 0;
  2334. // 32 is a valid bps so shifting won't work
  2335. var sampleMul = 1.0 / (Math.pow(2.0, bps) - 1);
  2336. var strBytes = str.getBytes((length * bps + 7) / 8);
  2337. var strIdx = 0;
  2338. for (var i = 0; i < length; i++) {
  2339. while (codeSize < bps) {
  2340. codeBuf <<= 8;
  2341. codeBuf |= strBytes[strIdx++];
  2342. codeSize += 8;
  2343. }
  2344. codeSize -= bps;
  2345. array.push((codeBuf >> codeSize) * sampleMul);
  2346. codeBuf &= (1 << codeSize) - 1;
  2347. }
  2348. return array;
  2349. },
  2350. getIR: function PDFFunction_getIR(xref, fn) {
  2351. var dict = fn.dict;
  2352. if (!dict)
  2353. dict = fn;
  2354. var types = [this.constructSampled,
  2355. null,
  2356. this.constructInterpolated,
  2357. this.constructStiched,
  2358. this.constructPostScript];
  2359. var typeNum = dict.get('FunctionType');
  2360. var typeFn = types[typeNum];
  2361. if (!typeFn)
  2362. error('Unknown type of function');
  2363. return typeFn.call(this, fn, dict, xref);
  2364. },
  2365. fromIR: function PDFFunction_fromIR(IR) {
  2366. var type = IR[0];
  2367. switch (type) {
  2368. case CONSTRUCT_SAMPLED:
  2369. return this.constructSampledFromIR(IR);
  2370. case CONSTRUCT_INTERPOLATED:
  2371. return this.constructInterpolatedFromIR(IR);
  2372. case CONSTRUCT_STICHED:
  2373. return this.constructStichedFromIR(IR);
  2374. //case CONSTRUCT_POSTSCRIPT:
  2375. default:
  2376. return this.constructPostScriptFromIR(IR);
  2377. }
  2378. },
  2379. parse: function PDFFunction_parse(xref, fn) {
  2380. var IR = this.getIR(xref, fn);
  2381. return this.fromIR(IR);
  2382. },
  2383. constructSampled: function PDFFunction_constructSampled(str, dict) {
  2384. function toMultiArray(arr) {
  2385. var inputLength = arr.length;
  2386. var outputLength = arr.length / 2;
  2387. var out = [];
  2388. var index = 0;
  2389. for (var i = 0; i < inputLength; i += 2) {
  2390. out[index] = [arr[i], arr[i + 1]];
  2391. ++index;
  2392. }
  2393. return out;
  2394. }
  2395. var domain = dict.get('Domain');
  2396. var range = dict.get('Range');
  2397. if (!domain || !range)
  2398. error('No domain or range');
  2399. var inputSize = domain.length / 2;
  2400. var outputSize = range.length / 2;
  2401. domain = toMultiArray(domain);
  2402. range = toMultiArray(range);
  2403. var size = dict.get('Size');
  2404. var bps = dict.get('BitsPerSample');
  2405. var order = dict.get('Order') || 1;
  2406. if (order !== 1) {
  2407. // No description how cubic spline interpolation works in PDF32000:2008
  2408. // As in poppler, ignoring order, linear interpolation may work as good
  2409. info('No support for cubic spline interpolation: ' + order);
  2410. }
  2411. var encode = dict.get('Encode');
  2412. if (!encode) {
  2413. encode = [];
  2414. for (var i = 0; i < inputSize; ++i) {
  2415. encode.push(0);
  2416. encode.push(size[i] - 1);
  2417. }
  2418. }
  2419. encode = toMultiArray(encode);
  2420. var decode = dict.get('Decode');
  2421. if (!decode)
  2422. decode = range;
  2423. else
  2424. decode = toMultiArray(decode);
  2425. var samples = this.getSampleArray(size, outputSize, bps, str);
  2426. return [
  2427. CONSTRUCT_SAMPLED, inputSize, domain, encode, decode, samples, size,
  2428. outputSize, Math.pow(2, bps) - 1, range
  2429. ];
  2430. },
  2431. constructSampledFromIR: function PDFFunction_constructSampledFromIR(IR) {
  2432. // See chapter 3, page 109 of the PDF reference
  2433. function interpolate(x, xmin, xmax, ymin, ymax) {
  2434. return ymin + ((x - xmin) * ((ymax - ymin) / (xmax - xmin)));
  2435. }
  2436. return function constructSampledFromIRResult(args) {
  2437. // See chapter 3, page 110 of the PDF reference.
  2438. var m = IR[1];
  2439. var domain = IR[2];
  2440. var encode = IR[3];
  2441. var decode = IR[4];
  2442. var samples = IR[5];
  2443. var size = IR[6];
  2444. var n = IR[7];
  2445. var mask = IR[8];
  2446. var range = IR[9];
  2447. if (m != args.length)
  2448. error('Incorrect number of arguments: ' + m + ' != ' +
  2449. args.length);
  2450. var x = args;
  2451. // Building the cube vertices: its part and sample index
  2452. // http://rjwagner49.com/Mathematics/Interpolation.pdf
  2453. var cubeVertices = 1 << m;
  2454. var cubeN = new Float64Array(cubeVertices);
  2455. var cubeVertex = new Uint32Array(cubeVertices);
  2456. for (var j = 0; j < cubeVertices; j++)
  2457. cubeN[j] = 1;
  2458. var k = n, pos = 1;
  2459. // Map x_i to y_j for 0 <= i < m using the sampled function.
  2460. for (var i = 0; i < m; ++i) {
  2461. // x_i' = min(max(x_i, Domain_2i), Domain_2i+1)
  2462. var domain_2i = domain[i][0];
  2463. var domain_2i_1 = domain[i][1];
  2464. var xi = Math.min(Math.max(x[i], domain_2i), domain_2i_1);
  2465. // e_i = Interpolate(x_i', Domain_2i, Domain_2i+1,
  2466. // Encode_2i, Encode_2i+1)
  2467. var e = interpolate(xi, domain_2i, domain_2i_1,
  2468. encode[i][0], encode[i][1]);
  2469. // e_i' = min(max(e_i, 0), Size_i - 1)
  2470. var size_i = size[i];
  2471. e = Math.min(Math.max(e, 0), size_i - 1);
  2472. // Adjusting the cube: N and vertex sample index
  2473. var e0 = e < size_i - 1 ? Math.floor(e) : e - 1; // e1 = e0 + 1;
  2474. var n0 = e0 + 1 - e; // (e1 - e) / (e1 - e0);
  2475. var n1 = e - e0; // (e - e0) / (e1 - e0);
  2476. var offset0 = e0 * k;
  2477. var offset1 = offset0 + k; // e1 * k
  2478. for (var j = 0; j < cubeVertices; j++) {
  2479. if (j & pos) {
  2480. cubeN[j] *= n1;
  2481. cubeVertex[j] += offset1;
  2482. } else {
  2483. cubeN[j] *= n0;
  2484. cubeVertex[j] += offset0;
  2485. }
  2486. }
  2487. k *= size_i;
  2488. pos <<= 1;
  2489. }
  2490. var y = new Float64Array(n);
  2491. for (var j = 0; j < n; ++j) {
  2492. // Sum all cube vertices' samples portions
  2493. var rj = 0;
  2494. for (var i = 0; i < cubeVertices; i++)
  2495. rj += samples[cubeVertex[i] + j] * cubeN[i];
  2496. // r_j' = Interpolate(r_j, 0, 2^BitsPerSample - 1,
  2497. // Decode_2j, Decode_2j+1)
  2498. rj = interpolate(rj, 0, 1, decode[j][0], decode[j][1]);
  2499. // y_j = min(max(r_j, range_2j), range_2j+1)
  2500. y[j] = Math.min(Math.max(rj, range[j][0]), range[j][1]);
  2501. }
  2502. return y;
  2503. };
  2504. },
  2505. constructInterpolated: function PDFFunction_constructInterpolated(str,
  2506. dict) {
  2507. var c0 = dict.get('C0') || [0];
  2508. var c1 = dict.get('C1') || [1];
  2509. var n = dict.get('N');
  2510. if (!isArray(c0) || !isArray(c1))
  2511. error('Illegal dictionary for interpolated function');
  2512. var length = c0.length;
  2513. var diff = [];
  2514. for (var i = 0; i < length; ++i)
  2515. diff.push(c1[i] - c0[i]);
  2516. return [CONSTRUCT_INTERPOLATED, c0, diff, n];
  2517. },
  2518. constructInterpolatedFromIR:
  2519. function PDFFunction_constructInterpolatedFromIR(IR) {
  2520. var c0 = IR[1];
  2521. var diff = IR[2];
  2522. var n = IR[3];
  2523. var length = diff.length;
  2524. return function constructInterpolatedFromIRResult(args) {
  2525. var x = n == 1 ? args[0] : Math.pow(args[0], n);
  2526. var out = [];
  2527. for (var j = 0; j < length; ++j)
  2528. out.push(c0[j] + (x * diff[j]));
  2529. return out;
  2530. };
  2531. },
  2532. constructStiched: function PDFFunction_constructStiched(fn, dict, xref) {
  2533. var domain = dict.get('Domain');
  2534. if (!domain)
  2535. error('No domain');
  2536. var inputSize = domain.length / 2;
  2537. if (inputSize != 1)
  2538. error('Bad domain for stiched function');
  2539. var fnRefs = dict.get('Functions');
  2540. var fns = [];
  2541. for (var i = 0, ii = fnRefs.length; i < ii; ++i)
  2542. fns.push(PDFFunction.getIR(xref, xref.fetchIfRef(fnRefs[i])));
  2543. var bounds = dict.get('Bounds');
  2544. var encode = dict.get('Encode');
  2545. return [CONSTRUCT_STICHED, domain, bounds, encode, fns];
  2546. },
  2547. constructStichedFromIR: function PDFFunction_constructStichedFromIR(IR) {
  2548. var domain = IR[1];
  2549. var bounds = IR[2];
  2550. var encode = IR[3];
  2551. var fnsIR = IR[4];
  2552. var fns = [];
  2553. for (var i = 0, ii = fnsIR.length; i < ii; i++) {
  2554. fns.push(PDFFunction.fromIR(fnsIR[i]));
  2555. }
  2556. return function constructStichedFromIRResult(args) {
  2557. var clip = function constructStichedFromIRClip(v, min, max) {
  2558. if (v > max)
  2559. v = max;
  2560. else if (v < min)
  2561. v = min;
  2562. return v;
  2563. };
  2564. // clip to domain
  2565. var v = clip(args[0], domain[0], domain[1]);
  2566. // calulate which bound the value is in
  2567. for (var i = 0, ii = bounds.length; i < ii; ++i) {
  2568. if (v < bounds[i])
  2569. break;
  2570. }
  2571. // encode value into domain of function
  2572. var dmin = domain[0];
  2573. if (i > 0)
  2574. dmin = bounds[i - 1];
  2575. var dmax = domain[1];
  2576. if (i < bounds.length)
  2577. dmax = bounds[i];
  2578. var rmin = encode[2 * i];
  2579. var rmax = encode[2 * i + 1];
  2580. var v2 = rmin + (v - dmin) * (rmax - rmin) / (dmax - dmin);
  2581. // call the appropropriate function
  2582. return fns[i]([v2]);
  2583. };
  2584. },
  2585. constructPostScript: function PDFFunction_constructPostScript(fn, dict,
  2586. xref) {
  2587. var domain = dict.get('Domain');
  2588. var range = dict.get('Range');
  2589. if (!domain)
  2590. error('No domain.');
  2591. if (!range)
  2592. error('No range.');
  2593. var lexer = new PostScriptLexer(fn);
  2594. var parser = new PostScriptParser(lexer);
  2595. var code = parser.parse();
  2596. return [CONSTRUCT_POSTSCRIPT, domain, range, code];
  2597. },
  2598. constructPostScriptFromIR: function PDFFunction_constructPostScriptFromIR(
  2599. IR) {
  2600. var domain = IR[1];
  2601. var range = IR[2];
  2602. var code = IR[3];
  2603. var numOutputs = range.length / 2;
  2604. var evaluator = new PostScriptEvaluator(code);
  2605. // Cache the values for a big speed up, the cache size is limited though
  2606. // since the number of possible values can be huge from a PS function.
  2607. var cache = new FunctionCache();
  2608. return function constructPostScriptFromIRResult(args) {
  2609. var initialStack = [];
  2610. for (var i = 0, ii = (domain.length / 2); i < ii; ++i) {
  2611. initialStack.push(args[i]);
  2612. }
  2613. var key = initialStack.join('_');
  2614. if (cache.has(key))
  2615. return cache.get(key);
  2616. var stack = evaluator.execute(initialStack);
  2617. var transformed = [];
  2618. for (i = numOutputs - 1; i >= 0; --i) {
  2619. var out = stack.pop();
  2620. var rangeIndex = 2 * i;
  2621. if (out < range[rangeIndex])
  2622. out = range[rangeIndex];
  2623. else if (out > range[rangeIndex + 1])
  2624. out = range[rangeIndex + 1];
  2625. transformed[i] = out;
  2626. }
  2627. cache.set(key, transformed);
  2628. return transformed;
  2629. };
  2630. }
  2631. };
  2632. })();
  2633. var FunctionCache = (function FunctionCacheClosure() {
  2634. // Of 10 PDF's with type4 functions the maxium number of distinct values seen
  2635. // was 256. This still may need some tweaking in the future though.
  2636. var MAX_CACHE_SIZE = 1024;
  2637. function FunctionCache() {
  2638. this.cache = {};
  2639. this.total = 0;
  2640. }
  2641. FunctionCache.prototype = {
  2642. has: function FunctionCache_has(key) {
  2643. return key in this.cache;
  2644. },
  2645. get: function FunctionCache_get(key) {
  2646. return this.cache[key];
  2647. },
  2648. set: function FunctionCache_set(key, value) {
  2649. if (this.total < MAX_CACHE_SIZE) {
  2650. this.cache[key] = value;
  2651. this.total++;
  2652. }
  2653. }
  2654. };
  2655. return FunctionCache;
  2656. })();
  2657. var PostScriptStack = (function PostScriptStackClosure() {
  2658. var MAX_STACK_SIZE = 100;
  2659. function PostScriptStack(initialStack) {
  2660. this.stack = initialStack || [];
  2661. }
  2662. PostScriptStack.prototype = {
  2663. push: function PostScriptStack_push(value) {
  2664. if (this.stack.length >= MAX_STACK_SIZE)
  2665. error('PostScript function stack overflow.');
  2666. this.stack.push(value);
  2667. },
  2668. pop: function PostScriptStack_pop() {
  2669. if (this.stack.length <= 0)
  2670. error('PostScript function stack underflow.');
  2671. return this.stack.pop();
  2672. },
  2673. copy: function PostScriptStack_copy(n) {
  2674. if (this.stack.length + n >= MAX_STACK_SIZE)
  2675. error('PostScript function stack overflow.');
  2676. var stack = this.stack;
  2677. for (var i = stack.length - n, j = n - 1; j >= 0; j--, i++)
  2678. stack.push(stack[i]);
  2679. },
  2680. index: function PostScriptStack_index(n) {
  2681. this.push(this.stack[this.stack.length - n - 1]);
  2682. },
  2683. // rotate the last n stack elements p times
  2684. roll: function PostScriptStack_roll(n, p) {
  2685. var stack = this.stack;
  2686. var l = stack.length - n;
  2687. var r = stack.length - 1, c = l + (p - Math.floor(p / n) * n), i, j, t;
  2688. for (i = l, j = r; i < j; i++, j--) {
  2689. t = stack[i]; stack[i] = stack[j]; stack[j] = t;
  2690. }
  2691. for (i = l, j = c - 1; i < j; i++, j--) {
  2692. t = stack[i]; stack[i] = stack[j]; stack[j] = t;
  2693. }
  2694. for (i = c, j = r; i < j; i++, j--) {
  2695. t = stack[i]; stack[i] = stack[j]; stack[j] = t;
  2696. }
  2697. }
  2698. };
  2699. return PostScriptStack;
  2700. })();
  2701. var PostScriptEvaluator = (function PostScriptEvaluatorClosure() {
  2702. function PostScriptEvaluator(operators, operands) {
  2703. this.operators = operators;
  2704. this.operands = operands;
  2705. }
  2706. PostScriptEvaluator.prototype = {
  2707. execute: function PostScriptEvaluator_execute(initialStack) {
  2708. var stack = new PostScriptStack(initialStack);
  2709. var counter = 0;
  2710. var operators = this.operators;
  2711. var length = operators.length;
  2712. var operator, a, b;
  2713. while (counter < length) {
  2714. operator = operators[counter++];
  2715. if (typeof operator == 'number') {
  2716. // Operator is really an operand and should be pushed to the stack.
  2717. stack.push(operator);
  2718. continue;
  2719. }
  2720. switch (operator) {
  2721. // non standard ps operators
  2722. case 'jz': // jump if false
  2723. b = stack.pop();
  2724. a = stack.pop();
  2725. if (!a)
  2726. counter = b;
  2727. break;
  2728. case 'j': // jump
  2729. a = stack.pop();
  2730. counter = a;
  2731. break;
  2732. // all ps operators in alphabetical order (excluding if/ifelse)
  2733. case 'abs':
  2734. a = stack.pop();
  2735. stack.push(Math.abs(a));
  2736. break;
  2737. case 'add':
  2738. b = stack.pop();
  2739. a = stack.pop();
  2740. stack.push(a + b);
  2741. break;
  2742. case 'and':
  2743. b = stack.pop();
  2744. a = stack.pop();
  2745. if (isBool(a) && isBool(b))
  2746. stack.push(a && b);
  2747. else
  2748. stack.push(a & b);
  2749. break;
  2750. case 'atan':
  2751. a = stack.pop();
  2752. stack.push(Math.atan(a));
  2753. break;
  2754. case 'bitshift':
  2755. b = stack.pop();
  2756. a = stack.pop();
  2757. if (a > 0)
  2758. stack.push(a << b);
  2759. else
  2760. stack.push(a >> b);
  2761. break;
  2762. case 'ceiling':
  2763. a = stack.pop();
  2764. stack.push(Math.ceil(a));
  2765. break;
  2766. case 'copy':
  2767. a = stack.pop();
  2768. stack.copy(a);
  2769. break;
  2770. case 'cos':
  2771. a = stack.pop();
  2772. stack.push(Math.cos(a));
  2773. break;
  2774. case 'cvi':
  2775. a = stack.pop() | 0;
  2776. stack.push(a);
  2777. break;
  2778. case 'cvr':
  2779. // noop
  2780. break;
  2781. case 'div':
  2782. b = stack.pop();
  2783. a = stack.pop();
  2784. stack.push(a / b);
  2785. break;
  2786. case 'dup':
  2787. stack.copy(1);
  2788. break;
  2789. case 'eq':
  2790. b = stack.pop();
  2791. a = stack.pop();
  2792. stack.push(a == b);
  2793. break;
  2794. case 'exch':
  2795. stack.roll(2, 1);
  2796. break;
  2797. case 'exp':
  2798. b = stack.pop();
  2799. a = stack.pop();
  2800. stack.push(Math.pow(a, b));
  2801. break;
  2802. case 'false':
  2803. stack.push(false);
  2804. break;
  2805. case 'floor':
  2806. a = stack.pop();
  2807. stack.push(Math.floor(a));
  2808. break;
  2809. case 'ge':
  2810. b = stack.pop();
  2811. a = stack.pop();
  2812. stack.push(a >= b);
  2813. break;
  2814. case 'gt':
  2815. b = stack.pop();
  2816. a = stack.pop();
  2817. stack.push(a > b);
  2818. break;
  2819. case 'idiv':
  2820. b = stack.pop();
  2821. a = stack.pop();
  2822. stack.push((a / b) | 0);
  2823. break;
  2824. case 'index':
  2825. a = stack.pop();
  2826. stack.index(a);
  2827. break;
  2828. case 'le':
  2829. b = stack.pop();
  2830. a = stack.pop();
  2831. stack.push(a <= b);
  2832. break;
  2833. case 'ln':
  2834. a = stack.pop();
  2835. stack.push(Math.log(a));
  2836. break;
  2837. case 'log':
  2838. a = stack.pop();
  2839. stack.push(Math.log(a) / Math.LN10);
  2840. break;
  2841. case 'lt':
  2842. b = stack.pop();
  2843. a = stack.pop();
  2844. stack.push(a < b);
  2845. break;
  2846. case 'mod':
  2847. b = stack.pop();
  2848. a = stack.pop();
  2849. stack.push(a % b);
  2850. break;
  2851. case 'mul':
  2852. b = stack.pop();
  2853. a = stack.pop();
  2854. stack.push(a * b);
  2855. break;
  2856. case 'ne':
  2857. b = stack.pop();
  2858. a = stack.pop();
  2859. stack.push(a != b);
  2860. break;
  2861. case 'neg':
  2862. a = stack.pop();
  2863. stack.push(-b);
  2864. break;
  2865. case 'not':
  2866. a = stack.pop();
  2867. if (isBool(a) && isBool(b))
  2868. stack.push(a && b);
  2869. else
  2870. stack.push(a & b);
  2871. break;
  2872. case 'or':
  2873. b = stack.pop();
  2874. a = stack.pop();
  2875. if (isBool(a) && isBool(b))
  2876. stack.push(a || b);
  2877. else
  2878. stack.push(a | b);
  2879. break;
  2880. case 'pop':
  2881. stack.pop();
  2882. break;
  2883. case 'roll':
  2884. b = stack.pop();
  2885. a = stack.pop();
  2886. stack.roll(a, b);
  2887. break;
  2888. case 'round':
  2889. a = stack.pop();
  2890. stack.push(Math.round(a));
  2891. break;
  2892. case 'sin':
  2893. a = stack.pop();
  2894. stack.push(Math.sin(a));
  2895. break;
  2896. case 'sqrt':
  2897. a = stack.pop();
  2898. stack.push(Math.sqrt(a));
  2899. break;
  2900. case 'sub':
  2901. b = stack.pop();
  2902. a = stack.pop();
  2903. stack.push(a - b);
  2904. break;
  2905. case 'true':
  2906. stack.push(true);
  2907. break;
  2908. case 'truncate':
  2909. a = stack.pop();
  2910. a = a < 0 ? Math.ceil(a) : Math.floor(a);
  2911. stack.push(a);
  2912. break;
  2913. case 'xor':
  2914. b = stack.pop();
  2915. a = stack.pop();
  2916. if (isBool(a) && isBool(b))
  2917. stack.push(a != b);
  2918. else
  2919. stack.push(a ^ b);
  2920. break;
  2921. default:
  2922. error('Unknown operator ' + operator);
  2923. break;
  2924. }
  2925. }
  2926. return stack.stack;
  2927. }
  2928. };
  2929. return PostScriptEvaluator;
  2930. })();
  2931. var PostScriptParser = (function PostScriptParserClosure() {
  2932. function PostScriptParser(lexer) {
  2933. this.lexer = lexer;
  2934. this.operators = [];
  2935. this.token = null;
  2936. this.prev = null;
  2937. }
  2938. PostScriptParser.prototype = {
  2939. nextToken: function PostScriptParser_nextToken() {
  2940. this.prev = this.token;
  2941. this.token = this.lexer.getToken();
  2942. },
  2943. accept: function PostScriptParser_accept(type) {
  2944. if (this.token.type == type) {
  2945. this.nextToken();
  2946. return true;
  2947. }
  2948. return false;
  2949. },
  2950. expect: function PostScriptParser_expect(type) {
  2951. if (this.accept(type))
  2952. return true;
  2953. error('Unexpected symbol: found ' + this.token.type + ' expected ' +
  2954. type + '.');
  2955. },
  2956. parse: function PostScriptParser_parse() {
  2957. this.nextToken();
  2958. this.expect(PostScriptTokenTypes.LBRACE);
  2959. this.parseBlock();
  2960. this.expect(PostScriptTokenTypes.RBRACE);
  2961. return this.operators;
  2962. },
  2963. parseBlock: function PostScriptParser_parseBlock() {
  2964. while (true) {
  2965. if (this.accept(PostScriptTokenTypes.NUMBER)) {
  2966. this.operators.push(this.prev.value);
  2967. } else if (this.accept(PostScriptTokenTypes.OPERATOR)) {
  2968. this.operators.push(this.prev.value);
  2969. } else if (this.accept(PostScriptTokenTypes.LBRACE)) {
  2970. this.parseCondition();
  2971. } else {
  2972. return;
  2973. }
  2974. }
  2975. },
  2976. parseCondition: function PostScriptParser_parseCondition() {
  2977. // Add two place holders that will be updated later
  2978. var conditionLocation = this.operators.length;
  2979. this.operators.push(null, null);
  2980. this.parseBlock();
  2981. this.expect(PostScriptTokenTypes.RBRACE);
  2982. if (this.accept(PostScriptTokenTypes.IF)) {
  2983. // The true block is right after the 'if' so it just falls through on
  2984. // true else it jumps and skips the true block.
  2985. this.operators[conditionLocation] = this.operators.length;
  2986. this.operators[conditionLocation + 1] = 'jz';
  2987. } else if (this.accept(PostScriptTokenTypes.LBRACE)) {
  2988. var jumpLocation = this.operators.length;
  2989. this.operators.push(null, null);
  2990. var endOfTrue = this.operators.length;
  2991. this.parseBlock();
  2992. this.expect(PostScriptTokenTypes.RBRACE);
  2993. this.expect(PostScriptTokenTypes.IFELSE);
  2994. // The jump is added at the end of the true block to skip the false
  2995. // block.
  2996. this.operators[jumpLocation] = this.operators.length;
  2997. this.operators[jumpLocation + 1] = 'j';
  2998. this.operators[conditionLocation] = endOfTrue;
  2999. this.operators[conditionLocation + 1] = 'jz';
  3000. } else {
  3001. error('PS Function: error parsing conditional.');
  3002. }
  3003. }
  3004. };
  3005. return PostScriptParser;
  3006. })();
  3007. var PostScriptTokenTypes = {
  3008. LBRACE: 0,
  3009. RBRACE: 1,
  3010. NUMBER: 2,
  3011. OPERATOR: 3,
  3012. IF: 4,
  3013. IFELSE: 5
  3014. };
  3015. var PostScriptToken = (function PostScriptTokenClosure() {
  3016. function PostScriptToken(type, value) {
  3017. this.type = type;
  3018. this.value = value;
  3019. }
  3020. var opCache = {};
  3021. PostScriptToken.getOperator = function PostScriptToken_getOperator(op) {
  3022. var opValue = opCache[op];
  3023. if (opValue)
  3024. return opValue;
  3025. return opCache[op] = new PostScriptToken(PostScriptTokenTypes.OPERATOR, op);
  3026. };
  3027. PostScriptToken.LBRACE = new PostScriptToken(PostScriptTokenTypes.LBRACE,
  3028. '{');
  3029. PostScriptToken.RBRACE = new PostScriptToken(PostScriptTokenTypes.RBRACE,
  3030. '}');
  3031. PostScriptToken.IF = new PostScriptToken(PostScriptTokenTypes.IF, 'IF');
  3032. PostScriptToken.IFELSE = new PostScriptToken(PostScriptTokenTypes.IFELSE,
  3033. 'IFELSE');
  3034. return PostScriptToken;
  3035. })();
  3036. var PostScriptLexer = (function PostScriptLexerClosure() {
  3037. function PostScriptLexer(stream) {
  3038. this.stream = stream;
  3039. this.nextChar();
  3040. }
  3041. PostScriptLexer.prototype = {
  3042. nextChar: function PostScriptLexer_nextChar() {
  3043. return (this.currentChar = this.stream.getByte());
  3044. },
  3045. getToken: function PostScriptLexer_getToken() {
  3046. var s = '';
  3047. var comment = false;
  3048. var ch = this.currentChar;
  3049. // skip comments
  3050. while (true) {
  3051. if (ch < 0) {
  3052. return EOF;
  3053. }
  3054. if (comment) {
  3055. if (ch === 0x0A || ch === 0x0D) {
  3056. comment = false;
  3057. }
  3058. } else if (ch == 0x25) { // '%'
  3059. comment = true;
  3060. } else if (!Lexer.isSpace(ch)) {
  3061. break;
  3062. }
  3063. ch = this.nextChar();
  3064. }
  3065. switch (ch | 0) {
  3066. case 0x30: case 0x31: case 0x32: case 0x33: case 0x34: // '0'-'4'
  3067. case 0x35: case 0x36: case 0x37: case 0x38: case 0x39: // '5'-'9'
  3068. case 0x2B: case 0x2D: case 0x2E: // '+', '-', '.'
  3069. return new PostScriptToken(PostScriptTokenTypes.NUMBER,
  3070. this.getNumber());
  3071. case 0x7B: // '{'
  3072. this.nextChar();
  3073. return PostScriptToken.LBRACE;
  3074. case 0x7D: // '}'
  3075. this.nextChar();
  3076. return PostScriptToken.RBRACE;
  3077. }
  3078. // operator
  3079. var str = String.fromCharCode(ch);
  3080. while ((ch = this.nextChar()) >= 0 && // and 'A'-'Z', 'a'-'z'
  3081. ((ch >= 0x41 && ch <= 0x5A) || (ch >= 0x61 && ch <= 0x7A))) {
  3082. str += String.fromCharCode(ch);
  3083. }
  3084. switch (str.toLowerCase()) {
  3085. case 'if':
  3086. return PostScriptToken.IF;
  3087. case 'ifelse':
  3088. return PostScriptToken.IFELSE;
  3089. default:
  3090. return PostScriptToken.getOperator(str);
  3091. }
  3092. },
  3093. getNumber: function PostScriptLexer_getNumber() {
  3094. var ch = this.currentChar;
  3095. var str = String.fromCharCode(ch);
  3096. while ((ch = this.nextChar()) >= 0) {
  3097. if ((ch >= 0x30 && ch <= 0x39) || // '0'-'9'
  3098. ch === 0x2D || ch === 0x2E) { // '-', '.'
  3099. str += String.fromCharCode(ch);
  3100. } else {
  3101. break;
  3102. }
  3103. }
  3104. var value = parseFloat(str);
  3105. if (isNaN(value))
  3106. error('Invalid floating point number: ' + value);
  3107. return value;
  3108. }
  3109. };
  3110. return PostScriptLexer;
  3111. })();
  3112. var Annotation = (function AnnotationClosure() {
  3113. // 12.5.5: Algorithm: Appearance streams
  3114. function getTransformMatrix(rect, bbox, matrix) {
  3115. var bounds = Util.getAxialAlignedBoundingBox(bbox, matrix);
  3116. var minX = bounds[0];
  3117. var minY = bounds[1];
  3118. var maxX = bounds[2];
  3119. var maxY = bounds[3];
  3120. if (minX === maxX || minY === maxY) {
  3121. // From real-life file, bbox was [0, 0, 0, 0]. In this case,
  3122. // just apply the transform for rect
  3123. return [1, 0, 0, 1, rect[0], rect[1]];
  3124. }
  3125. var xRatio = (rect[2] - rect[0]) / (maxX - minX);
  3126. var yRatio = (rect[3] - rect[1]) / (maxY - minY);
  3127. return [
  3128. xRatio,
  3129. 0,
  3130. 0,
  3131. yRatio,
  3132. rect[0] - minX * xRatio,
  3133. rect[1] - minY * yRatio
  3134. ];
  3135. }
  3136. function getDefaultAppearance(dict) {
  3137. var appearanceState = dict.get('AP');
  3138. if (!isDict(appearanceState)) {
  3139. return;
  3140. }
  3141. var appearance;
  3142. var appearances = appearanceState.get('N');
  3143. if (isDict(appearances)) {
  3144. var as = dict.get('AS');
  3145. if (as && appearances.has(as.name)) {
  3146. appearance = appearances.get(as.name);
  3147. }
  3148. } else {
  3149. appearance = appearances;
  3150. }
  3151. return appearance;
  3152. }
  3153. function Annotation(params) {
  3154. if (params.data) {
  3155. this.data = params.data;
  3156. return;
  3157. }
  3158. var dict = params.dict;
  3159. var data = this.data = {};
  3160. data.subtype = dict.get('Subtype').name;
  3161. var rect = dict.get('Rect');
  3162. data.rect = Util.normalizeRect(rect);
  3163. data.annotationFlags = dict.get('F');
  3164. var color = dict.get('C');
  3165. if (isArray(color) && color.length === 3) {
  3166. // TODO(mack): currently only supporting rgb; need support different
  3167. // colorspaces
  3168. data.color = color;
  3169. } else {
  3170. data.color = [0, 0, 0];
  3171. }
  3172. // Some types of annotations have border style dict which has more
  3173. // info than the border array
  3174. if (dict.has('BS')) {
  3175. var borderStyle = dict.get('BS');
  3176. data.borderWidth = borderStyle.has('W') ? borderStyle.get('W') : 1;
  3177. } else {
  3178. var borderArray = dict.get('Border') || [0, 0, 1];
  3179. data.borderWidth = borderArray[2] || 0;
  3180. // TODO: implement proper support for annotations with line dash patterns.
  3181. var dashArray = borderArray[3];
  3182. if (dashArray && isArray(dashArray)) {
  3183. var dashArrayLength = dashArray.length;
  3184. if (dashArrayLength > 0) {
  3185. // According to the PDF specification: the elements in a dashArray
  3186. // shall be numbers that are nonnegative and not all equal to zero.
  3187. var isInvalid = false;
  3188. var numPositive = 0;
  3189. for (var i = 0; i < dashArrayLength; i++) {
  3190. if (!(+dashArray[i] >= 0)) {
  3191. isInvalid = true;
  3192. break;
  3193. } else if (dashArray[i] > 0) {
  3194. numPositive++;
  3195. }
  3196. }
  3197. if (isInvalid || numPositive === 0) {
  3198. data.borderWidth = 0;
  3199. }
  3200. }
  3201. }
  3202. }
  3203. this.appearance = getDefaultAppearance(dict);
  3204. data.hasAppearance = !!this.appearance;
  3205. }
  3206. Annotation.prototype = {
  3207. getData: function Annotation_getData() {
  3208. return this.data;
  3209. },
  3210. hasHtml: function Annotation_hasHtml() {
  3211. return false;
  3212. },
  3213. getHtmlElement: function Annotation_getHtmlElement(commonObjs) {
  3214. throw new NotImplementedException(
  3215. 'getHtmlElement() should be implemented in subclass');
  3216. },
  3217. // TODO(mack): Remove this, it's not really that helpful.
  3218. getEmptyContainer: function Annotation_getEmptyContainer(tagName, rect) {
  3219. assert(!isWorker,
  3220. 'getEmptyContainer() should be called from main thread');
  3221. rect = rect || this.data.rect;
  3222. var element = document.createElement(tagName);
  3223. element.style.width = Math.ceil(rect[2] - rect[0]) + 'px';
  3224. element.style.height = Math.ceil(rect[3] - rect[1]) + 'px';
  3225. return element;
  3226. },
  3227. isViewable: function Annotation_isViewable() {
  3228. var data = this.data;
  3229. return !!(
  3230. data &&
  3231. (!data.annotationFlags ||
  3232. !(data.annotationFlags & 0x22)) && // Hidden or NoView
  3233. data.rect // rectangle is nessessary
  3234. );
  3235. },
  3236. loadResources: function(keys) {
  3237. var promise = new LegacyPromise();
  3238. this.appearance.dict.getAsync('Resources').then(function(resources) {
  3239. if (!resources) {
  3240. promise.resolve();
  3241. return;
  3242. }
  3243. var objectLoader = new ObjectLoader(resources.map,
  3244. keys,
  3245. resources.xref);
  3246. objectLoader.load().then(function() {
  3247. promise.resolve(resources);
  3248. });
  3249. }.bind(this));
  3250. return promise;
  3251. },
  3252. getOperatorList: function Annotation_getToOperatorList(evaluator) {
  3253. var promise = new LegacyPromise();
  3254. if (!this.appearance) {
  3255. promise.resolve(new OperatorList());
  3256. return promise;
  3257. }
  3258. var data = this.data;
  3259. var appearanceDict = this.appearance.dict;
  3260. var resourcesPromise = this.loadResources([
  3261. 'ExtGState',
  3262. 'ColorSpace',
  3263. 'Pattern',
  3264. 'Shading',
  3265. 'XObject',
  3266. 'Font'
  3267. // ProcSet
  3268. // Properties
  3269. ]);
  3270. var bbox = appearanceDict.get('BBox') || [0, 0, 1, 1];
  3271. var matrix = appearanceDict.get('Matrix') || [1, 0, 0, 1, 0 ,0];
  3272. var transform = getTransformMatrix(data.rect, bbox, matrix);
  3273. var border = data.border;
  3274. resourcesPromise.then(function(resources) {
  3275. var opList = new OperatorList();
  3276. opList.addOp(OPS.beginAnnotation, [data.rect, transform, matrix]);
  3277. evaluator.getOperatorList(this.appearance, resources, opList);
  3278. opList.addOp(OPS.endAnnotation, []);
  3279. promise.resolve(opList);
  3280. }.bind(this));
  3281. return promise;
  3282. }
  3283. };
  3284. Annotation.getConstructor =
  3285. function Annotation_getConstructor(subtype, fieldType) {
  3286. if (!subtype) {
  3287. return;
  3288. }
  3289. // TODO(mack): Implement FreeText annotations
  3290. if (subtype === 'Link') {
  3291. return LinkAnnotation;
  3292. } else if (subtype === 'Text') {
  3293. return TextAnnotation;
  3294. } else if (subtype === 'Widget') {
  3295. if (!fieldType) {
  3296. return;
  3297. }
  3298. if (fieldType === 'Tx') {
  3299. return TextWidgetAnnotation;
  3300. } else {
  3301. return WidgetAnnotation;
  3302. }
  3303. } else {
  3304. return Annotation;
  3305. }
  3306. };
  3307. // TODO(mack): Support loading annotation from data
  3308. Annotation.fromData = function Annotation_fromData(data) {
  3309. var subtype = data.subtype;
  3310. var fieldType = data.fieldType;
  3311. var Constructor = Annotation.getConstructor(subtype, fieldType);
  3312. if (Constructor) {
  3313. return new Constructor({ data: data });
  3314. }
  3315. };
  3316. Annotation.fromRef = function Annotation_fromRef(xref, ref) {
  3317. var dict = xref.fetchIfRef(ref);
  3318. if (!isDict(dict)) {
  3319. return;
  3320. }
  3321. var subtype = dict.get('Subtype');
  3322. subtype = isName(subtype) ? subtype.name : '';
  3323. if (!subtype) {
  3324. return;
  3325. }
  3326. var fieldType = Util.getInheritableProperty(dict, 'FT');
  3327. fieldType = isName(fieldType) ? fieldType.name : '';
  3328. var Constructor = Annotation.getConstructor(subtype, fieldType);
  3329. if (!Constructor) {
  3330. return;
  3331. }
  3332. var params = {
  3333. dict: dict,
  3334. ref: ref,
  3335. };
  3336. var annotation = new Constructor(params);
  3337. if (annotation.isViewable()) {
  3338. return annotation;
  3339. } else {
  3340. warn('unimplemented annotation type: ' + subtype);
  3341. }
  3342. };
  3343. Annotation.appendToOperatorList = function Annotation_appendToOperatorList(
  3344. annotations, opList, pdfManager, partialEvaluator) {
  3345. function reject(e) {
  3346. annotationsReadyPromise.reject(e);
  3347. }
  3348. var annotationsReadyPromise = new LegacyPromise();
  3349. var annotationPromises = [];
  3350. for (var i = 0, n = annotations.length; i < n; ++i) {
  3351. annotationPromises.push(annotations[i].getOperatorList(partialEvaluator));
  3352. }
  3353. Promise.all(annotationPromises).then(function(datas) {
  3354. opList.addOp(OPS.beginAnnotations, []);
  3355. for (var i = 0, n = datas.length; i < n; ++i) {
  3356. var annotOpList = datas[i];
  3357. opList.addOpList(annotOpList);
  3358. }
  3359. opList.addOp(OPS.endAnnotations, []);
  3360. annotationsReadyPromise.resolve();
  3361. }, reject);
  3362. return annotationsReadyPromise;
  3363. };
  3364. return Annotation;
  3365. })();
  3366. PDFJS.Annotation = Annotation;
  3367. var WidgetAnnotation = (function WidgetAnnotationClosure() {
  3368. function WidgetAnnotation(params) {
  3369. Annotation.call(this, params);
  3370. if (params.data) {
  3371. return;
  3372. }
  3373. var dict = params.dict;
  3374. var data = this.data;
  3375. data.fieldValue = stringToPDFString(
  3376. Util.getInheritableProperty(dict, 'V') || '');
  3377. data.alternativeText = stringToPDFString(dict.get('TU') || '');
  3378. data.defaultAppearance = Util.getInheritableProperty(dict, 'DA') || '';
  3379. var fieldType = Util.getInheritableProperty(dict, 'FT');
  3380. data.fieldType = isName(fieldType) ? fieldType.name : '';
  3381. data.fieldFlags = Util.getInheritableProperty(dict, 'Ff') || 0;
  3382. this.fieldResources = Util.getInheritableProperty(dict, 'DR') || new Dict();
  3383. // Building the full field name by collecting the field and
  3384. // its ancestors 'T' data and joining them using '.'.
  3385. var fieldName = [];
  3386. var namedItem = dict;
  3387. var ref = params.ref;
  3388. while (namedItem) {
  3389. var parent = namedItem.get('Parent');
  3390. var parentRef = namedItem.getRaw('Parent');
  3391. var name = namedItem.get('T');
  3392. if (name) {
  3393. fieldName.unshift(stringToPDFString(name));
  3394. } else {
  3395. // The field name is absent, that means more than one field
  3396. // with the same name may exist. Replacing the empty name
  3397. // with the '`' plus index in the parent's 'Kids' array.
  3398. // This is not in the PDF spec but necessary to id the
  3399. // the input controls.
  3400. var kids = parent.get('Kids');
  3401. var j, jj;
  3402. for (j = 0, jj = kids.length; j < jj; j++) {
  3403. var kidRef = kids[j];
  3404. if (kidRef.num == ref.num && kidRef.gen == ref.gen)
  3405. break;
  3406. }
  3407. fieldName.unshift('`' + j);
  3408. }
  3409. namedItem = parent;
  3410. ref = parentRef;
  3411. }
  3412. data.fullName = fieldName.join('.');
  3413. }
  3414. var parent = Annotation.prototype;
  3415. Util.inherit(WidgetAnnotation, Annotation, {
  3416. isViewable: function WidgetAnnotation_isViewable() {
  3417. if (this.data.fieldType === 'Sig') {
  3418. warn('unimplemented annotation type: Widget signature');
  3419. return false;
  3420. }
  3421. return parent.isViewable.call(this);
  3422. }
  3423. });
  3424. return WidgetAnnotation;
  3425. })();
  3426. var TextWidgetAnnotation = (function TextWidgetAnnotationClosure() {
  3427. function TextWidgetAnnotation(params) {
  3428. WidgetAnnotation.call(this, params);
  3429. if (params.data) {
  3430. return;
  3431. }
  3432. this.data.textAlignment = Util.getInheritableProperty(params.dict, 'Q');
  3433. }
  3434. // TODO(mack): This dupes some of the logic in CanvasGraphics.setFont()
  3435. function setTextStyles(element, item, fontObj) {
  3436. var style = element.style;
  3437. style.fontSize = item.fontSize + 'px';
  3438. style.direction = item.fontDirection < 0 ? 'rtl': 'ltr';
  3439. if (!fontObj) {
  3440. return;
  3441. }
  3442. style.fontWeight = fontObj.black ?
  3443. (fontObj.bold ? 'bolder' : 'bold') :
  3444. (fontObj.bold ? 'bold' : 'normal');
  3445. style.fontStyle = fontObj.italic ? 'italic' : 'normal';
  3446. var fontName = fontObj.loadedName;
  3447. var fontFamily = fontName ? '"' + fontName + '", ' : '';
  3448. // Use a reasonable default font if the font doesn't specify a fallback
  3449. var fallbackName = fontObj.fallbackName || 'Helvetica, sans-serif';
  3450. style.fontFamily = fontFamily + fallbackName;
  3451. }
  3452. var parent = WidgetAnnotation.prototype;
  3453. Util.inherit(TextWidgetAnnotation, WidgetAnnotation, {
  3454. hasHtml: function TextWidgetAnnotation_hasHtml() {
  3455. return !this.data.hasAppearance && !!this.data.fieldValue;
  3456. },
  3457. getHtmlElement: function TextWidgetAnnotation_getHtmlElement(commonObjs) {
  3458. assert(!isWorker, 'getHtmlElement() shall be called from main thread');
  3459. var item = this.data;
  3460. var element = this.getEmptyContainer('div');
  3461. element.style.display = 'table';
  3462. var content = document.createElement('div');
  3463. content.textContent = item.fieldValue;
  3464. var textAlignment = item.textAlignment;
  3465. content.style.textAlign = ['left', 'center', 'right'][textAlignment];
  3466. content.style.verticalAlign = 'middle';
  3467. content.style.display = 'table-cell';
  3468. var fontObj = item.fontRefName ?
  3469. commonObjs.getData(item.fontRefName) : null;
  3470. var cssRules = setTextStyles(content, item, fontObj);
  3471. element.appendChild(content);
  3472. return element;
  3473. },
  3474. getOperatorList: function TextWidgetAnnotation_getOperatorList(evaluator) {
  3475. if (this.appearance) {
  3476. return Annotation.prototype.getOperatorList.call(this, evaluator);
  3477. }
  3478. var promise = new LegacyPromise();
  3479. var opList = new OperatorList();
  3480. var data = this.data;
  3481. // Even if there is an appearance stream, ignore it. This is the
  3482. // behaviour used by Adobe Reader.
  3483. var defaultAppearance = data.defaultAppearance;
  3484. if (!defaultAppearance) {
  3485. promise.resolve(opList);
  3486. return promise;
  3487. }
  3488. // Include any font resources found in the default appearance
  3489. var stream = new Stream(stringToBytes(defaultAppearance));
  3490. evaluator.getOperatorList(stream, this.fieldResources, opList);
  3491. var appearanceFnArray = opList.fnArray;
  3492. var appearanceArgsArray = opList.argsArray;
  3493. var fnArray = [];
  3494. var argsArray = [];
  3495. // TODO(mack): Add support for stroke color
  3496. data.rgb = [0, 0, 0];
  3497. // TODO THIS DOESN'T MAKE ANY SENSE SINCE THE fnArray IS EMPTY!
  3498. for (var i = 0, n = fnArray.length; i < n; ++i) {
  3499. var fnId = appearanceFnArray[i];
  3500. var args = appearanceArgsArray[i];
  3501. if (fnId === OPS.setFont) {
  3502. data.fontRefName = args[0];
  3503. var size = args[1];
  3504. if (size < 0) {
  3505. data.fontDirection = -1;
  3506. data.fontSize = -size;
  3507. } else {
  3508. data.fontDirection = 1;
  3509. data.fontSize = size;
  3510. }
  3511. } else if (fnId === OPS.setFillRGBColor) {
  3512. data.rgb = args;
  3513. } else if (fnId === OPS.setFillGray) {
  3514. var rgbValue = args[0] * 255;
  3515. data.rgb = [rgbValue, rgbValue, rgbValue];
  3516. }
  3517. }
  3518. promise.resolve(opList);
  3519. return promise;
  3520. }
  3521. });
  3522. return TextWidgetAnnotation;
  3523. })();
  3524. var TextAnnotation = (function TextAnnotationClosure() {
  3525. function TextAnnotation(params) {
  3526. Annotation.call(this, params);
  3527. if (params.data) {
  3528. return;
  3529. }
  3530. var dict = params.dict;
  3531. var data = this.data;
  3532. var content = dict.get('Contents');
  3533. var title = dict.get('T');
  3534. data.content = stringToPDFString(content || '');
  3535. data.title = stringToPDFString(title || '');
  3536. data.name = !dict.has('Name') ? 'Note' : dict.get('Name').name;
  3537. }
  3538. var ANNOT_MIN_SIZE = 10;
  3539. Util.inherit(TextAnnotation, Annotation, {
  3540. getOperatorList: function TextAnnotation_getOperatorList(evaluator) {
  3541. var promise = new LegacyPromise();
  3542. promise.resolve(new OperatorList());
  3543. return promise;
  3544. },
  3545. hasHtml: function TextAnnotation_hasHtml() {
  3546. return true;
  3547. },
  3548. getHtmlElement: function TextAnnotation_getHtmlElement(commonObjs) {
  3549. assert(!isWorker, 'getHtmlElement() shall be called from main thread');
  3550. var item = this.data;
  3551. var rect = item.rect;
  3552. // sanity check because of OOo-generated PDFs
  3553. if ((rect[3] - rect[1]) < ANNOT_MIN_SIZE) {
  3554. rect[3] = rect[1] + ANNOT_MIN_SIZE;
  3555. }
  3556. if ((rect[2] - rect[0]) < ANNOT_MIN_SIZE) {
  3557. rect[2] = rect[0] + (rect[3] - rect[1]); // make it square
  3558. }
  3559. var container = this.getEmptyContainer('section', rect);
  3560. container.className = 'annotText';
  3561. var image = document.createElement('img');
  3562. image.style.height = container.style.height;
  3563. var iconName = item.name;
  3564. image.src = PDFJS.imageResourcesPath + 'annotation-' +
  3565. iconName.toLowerCase() + '.svg';
  3566. image.alt = '[{{type}} Annotation]';
  3567. image.dataset.l10nId = 'text_annotation_type';
  3568. image.dataset.l10nArgs = JSON.stringify({type: iconName});
  3569. var content = document.createElement('div');
  3570. content.setAttribute('hidden', true);
  3571. var title = document.createElement('h1');
  3572. var text = document.createElement('p');
  3573. content.style.left = Math.floor(rect[2] - rect[0]) + 'px';
  3574. content.style.top = '0px';
  3575. title.textContent = item.title;
  3576. if (!item.content && !item.title) {
  3577. content.setAttribute('hidden', true);
  3578. } else {
  3579. var e = document.createElement('span');
  3580. var lines = item.content.split(/(?:\r\n?|\n)/);
  3581. for (var i = 0, ii = lines.length; i < ii; ++i) {
  3582. var line = lines[i];
  3583. e.appendChild(document.createTextNode(line));
  3584. if (i < (ii - 1))
  3585. e.appendChild(document.createElement('br'));
  3586. }
  3587. text.appendChild(e);
  3588. var showAnnotation = function showAnnotation() {
  3589. container.style.zIndex += 1;
  3590. content.removeAttribute('hidden');
  3591. };
  3592. var hideAnnotation = function hideAnnotation(e) {
  3593. if (e.toElement || e.relatedTarget) { // No context menu is used
  3594. container.style.zIndex -= 1;
  3595. content.setAttribute('hidden', true);
  3596. }
  3597. };
  3598. content.addEventListener('mouseover', showAnnotation, false);
  3599. content.addEventListener('mouseout', hideAnnotation, false);
  3600. image.addEventListener('mouseover', showAnnotation, false);
  3601. image.addEventListener('mouseout', hideAnnotation, false);
  3602. }
  3603. content.appendChild(title);
  3604. content.appendChild(text);
  3605. container.appendChild(image);
  3606. container.appendChild(content);
  3607. return container;
  3608. }
  3609. });
  3610. return TextAnnotation;
  3611. })();
  3612. var LinkAnnotation = (function LinkAnnotationClosure() {
  3613. function LinkAnnotation(params) {
  3614. Annotation.call(this, params);
  3615. if (params.data) {
  3616. return;
  3617. }
  3618. var dict = params.dict;
  3619. var data = this.data;
  3620. var action = dict.get('A');
  3621. if (action) {
  3622. var linkType = action.get('S').name;
  3623. if (linkType === 'URI') {
  3624. var url = addDefaultProtocolToUrl(action.get('URI'));
  3625. // TODO: pdf spec mentions urls can be relative to a Base
  3626. // entry in the dictionary.
  3627. if (!isValidUrl(url, false)) {
  3628. url = '';
  3629. }
  3630. data.url = url;
  3631. } else if (linkType === 'GoTo') {
  3632. data.dest = action.get('D');
  3633. } else if (linkType === 'GoToR') {
  3634. var urlDict = action.get('F');
  3635. if (isDict(urlDict)) {
  3636. // We assume that the 'url' is a Filspec dictionary
  3637. // and fetch the url without checking any further
  3638. url = urlDict.get('F') || '';
  3639. }
  3640. // TODO: pdf reference says that GoToR
  3641. // can also have 'NewWindow' attribute
  3642. if (!isValidUrl(url, false)) {
  3643. url = '';
  3644. }
  3645. data.url = url;
  3646. data.dest = action.get('D');
  3647. } else if (linkType === 'Named') {
  3648. data.action = action.get('N').name;
  3649. } else {
  3650. warn('unrecognized link type: ' + linkType);
  3651. }
  3652. } else if (dict.has('Dest')) {
  3653. // simple destination link
  3654. var dest = dict.get('Dest');
  3655. data.dest = isName(dest) ? dest.name : dest;
  3656. }
  3657. }
  3658. // Lets URLs beginning with 'www.' default to using the 'http://' protocol.
  3659. function addDefaultProtocolToUrl(url) {
  3660. if (url.indexOf('www.') === 0) {
  3661. return ('http://' + url);
  3662. }
  3663. return url;
  3664. }
  3665. Util.inherit(LinkAnnotation, Annotation, {
  3666. hasOperatorList: function LinkAnnotation_hasOperatorList() {
  3667. return false;
  3668. },
  3669. hasHtml: function LinkAnnotation_hasHtml() {
  3670. return true;
  3671. },
  3672. getHtmlElement: function LinkAnnotation_getHtmlElement(commonObjs) {
  3673. var rect = this.data.rect;
  3674. var element = document.createElement('a');
  3675. var borderWidth = this.data.borderWidth;
  3676. element.style.borderWidth = borderWidth + 'px';
  3677. var color = this.data.color;
  3678. var rgb = [];
  3679. for (var i = 0; i < 3; ++i) {
  3680. rgb[i] = Math.round(color[i] * 255);
  3681. }
  3682. element.style.borderColor = Util.makeCssRgb(rgb);
  3683. element.style.borderStyle = 'solid';
  3684. var width = rect[2] - rect[0] - 2 * borderWidth;
  3685. var height = rect[3] - rect[1] - 2 * borderWidth;
  3686. element.style.width = width + 'px';
  3687. element.style.height = height + 'px';
  3688. element.href = this.data.url || '';
  3689. return element;
  3690. }
  3691. });
  3692. return LinkAnnotation;
  3693. })();
  3694. //#if (FIREFOX || MOZCENTRAL)
  3695. //
  3696. //Components.utils.import('resource://gre/modules/Services.jsm');
  3697. //
  3698. //var EXPORTED_SYMBOLS = ['NetworkManager'];
  3699. //
  3700. //var console = {
  3701. // log: function console_log(aMsg) {
  3702. // var msg = 'network.js: ' + (aMsg.join ? aMsg.join('') : aMsg);
  3703. // Services.console.logStringMessage(msg);
  3704. // // TODO(mack): dump() doesn't seem to work here...
  3705. // dump(msg + '\n');
  3706. // }
  3707. //}
  3708. //#endif
  3709. var NetworkManager = (function NetworkManagerClosure() {
  3710. var OK_RESPONSE = 200;
  3711. var PARTIAL_CONTENT_RESPONSE = 206;
  3712. function NetworkManager(url, args) {
  3713. this.url = url;
  3714. args = args || {};
  3715. this.httpHeaders = args.httpHeaders || {};
  3716. this.withCredentials = args.withCredentials || false;
  3717. this.getXhr = args.getXhr ||
  3718. function NetworkManager_getXhr() {
  3719. //#if B2G
  3720. // return new XMLHttpRequest({ mozSystem: true });
  3721. //#else
  3722. return new XMLHttpRequest();
  3723. //#endif
  3724. };
  3725. this.currXhrId = 0;
  3726. this.pendingRequests = {};
  3727. this.loadedRequests = {};
  3728. }
  3729. function getArrayBuffer(xhr) {
  3730. var data = (xhr.mozResponseArrayBuffer || xhr.mozResponse ||
  3731. xhr.responseArrayBuffer || xhr.response);
  3732. if (typeof data !== 'string') {
  3733. return data;
  3734. }
  3735. var length = data.length;
  3736. var buffer = new Uint8Array(length);
  3737. for (var i = 0; i < length; i++) {
  3738. buffer[i] = data.charCodeAt(i) & 0xFF;
  3739. }
  3740. return buffer;
  3741. }
  3742. NetworkManager.prototype = {
  3743. requestRange: function NetworkManager_requestRange(begin, end, listeners) {
  3744. var args = {
  3745. begin: begin,
  3746. end: end
  3747. };
  3748. for (var prop in listeners) {
  3749. args[prop] = listeners[prop];
  3750. }
  3751. return this.request(args);
  3752. },
  3753. requestFull: function NetworkManager_requestRange(listeners) {
  3754. return this.request(listeners);
  3755. },
  3756. request: function NetworkManager_requestRange(args) {
  3757. var xhr = this.getXhr();
  3758. var xhrId = this.currXhrId++;
  3759. var pendingRequest = this.pendingRequests[xhrId] = {
  3760. xhr: xhr
  3761. };
  3762. xhr.open('GET', this.url);
  3763. xhr.withCredentials = this.withCredentials;
  3764. for (var property in this.httpHeaders) {
  3765. var value = this.httpHeaders[property];
  3766. if (typeof value === 'undefined') {
  3767. continue;
  3768. }
  3769. xhr.setRequestHeader(property, value);
  3770. }
  3771. if ('begin' in args && 'end' in args) {
  3772. var rangeStr = args.begin + '-' + (args.end - 1);
  3773. xhr.setRequestHeader('Range', 'bytes=' + rangeStr);
  3774. pendingRequest.expectedStatus = 206;
  3775. } else {
  3776. pendingRequest.expectedStatus = 200;
  3777. }
  3778. xhr.mozResponseType = xhr.responseType = 'arraybuffer';
  3779. if (args.onProgress) {
  3780. xhr.onprogress = args.onProgress;
  3781. }
  3782. if (args.onError) {
  3783. xhr.onerror = function(evt) {
  3784. args.onError(xhr.status);
  3785. };
  3786. }
  3787. xhr.onreadystatechange = this.onStateChange.bind(this, xhrId);
  3788. pendingRequest.onHeadersReceived = args.onHeadersReceived;
  3789. pendingRequest.onDone = args.onDone;
  3790. pendingRequest.onError = args.onError;
  3791. xhr.send(null);
  3792. return xhrId;
  3793. },
  3794. onStateChange: function NetworkManager_onStateChange(xhrId, evt) {
  3795. var pendingRequest = this.pendingRequests[xhrId];
  3796. if (!pendingRequest) {
  3797. // Maybe abortRequest was called...
  3798. return;
  3799. }
  3800. var xhr = pendingRequest.xhr;
  3801. if (xhr.readyState >= 2 && pendingRequest.onHeadersReceived) {
  3802. pendingRequest.onHeadersReceived();
  3803. delete pendingRequest.onHeadersReceived;
  3804. }
  3805. if (xhr.readyState !== 4) {
  3806. return;
  3807. }
  3808. if (!(xhrId in this.pendingRequests)) {
  3809. // The XHR request might have been aborted in onHeadersReceived()
  3810. // callback, in which case we should abort request
  3811. return;
  3812. }
  3813. delete this.pendingRequests[xhrId];
  3814. // success status == 0 can be on ftp, file and other protocols
  3815. if (xhr.status === 0 && /^https?:/i.test(this.url)) {
  3816. if (pendingRequest.onError) {
  3817. pendingRequest.onError(xhr.status);
  3818. }
  3819. return;
  3820. }
  3821. var xhrStatus = xhr.status || OK_RESPONSE;
  3822. // From http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35.2:
  3823. // "A server MAY ignore the Range header". This means it's possible to
  3824. // get a 200 rather than a 206 response from a range request.
  3825. var ok_response_on_range_request =
  3826. xhrStatus === OK_RESPONSE &&
  3827. pendingRequest.expectedStatus === PARTIAL_CONTENT_RESPONSE;
  3828. if (!ok_response_on_range_request &&
  3829. xhrStatus !== pendingRequest.expectedStatus) {
  3830. if (pendingRequest.onError) {
  3831. pendingRequest.onError(xhr.status);
  3832. }
  3833. return;
  3834. }
  3835. this.loadedRequests[xhrId] = true;
  3836. var chunk = getArrayBuffer(xhr);
  3837. if (xhrStatus === PARTIAL_CONTENT_RESPONSE) {
  3838. var rangeHeader = xhr.getResponseHeader('Content-Range');
  3839. var matches = /bytes (\d+)-(\d+)\/(\d+)/.exec(rangeHeader);
  3840. var begin = parseInt(matches[1], 10);
  3841. pendingRequest.onDone({
  3842. begin: begin,
  3843. chunk: chunk
  3844. });
  3845. } else {
  3846. pendingRequest.onDone({
  3847. begin: 0,
  3848. chunk: chunk
  3849. });
  3850. }
  3851. },
  3852. hasPendingRequests: function NetworkManager_hasPendingRequests() {
  3853. for (var xhrId in this.pendingRequests) {
  3854. return true;
  3855. }
  3856. return false;
  3857. },
  3858. getRequestXhr: function NetworkManager_getXhr(xhrId) {
  3859. return this.pendingRequests[xhrId].xhr;
  3860. },
  3861. isPendingRequest: function NetworkManager_isPendingRequest(xhrId) {
  3862. return xhrId in this.pendingRequests;
  3863. },
  3864. isLoadedRequest: function NetworkManager_isLoadedRequest(xhrId) {
  3865. return xhrId in this.loadedRequests;
  3866. },
  3867. abortAllRequests: function NetworkManager_abortAllRequests() {
  3868. for (var xhrId in this.pendingRequests) {
  3869. this.abortRequest(xhrId | 0);
  3870. }
  3871. },
  3872. abortRequest: function NetworkManager_abortRequest(xhrId) {
  3873. var xhr = this.pendingRequests[xhrId].xhr;
  3874. delete this.pendingRequests[xhrId];
  3875. xhr.abort();
  3876. }
  3877. };
  3878. return NetworkManager;
  3879. })();
  3880. var ChunkedStream = (function ChunkedStreamClosure() {
  3881. function ChunkedStream(length, chunkSize, manager) {
  3882. this.bytes = new Uint8Array(length);
  3883. this.start = 0;
  3884. this.pos = 0;
  3885. this.end = length;
  3886. this.chunkSize = chunkSize;
  3887. this.loadedChunks = [];
  3888. this.numChunksLoaded = 0;
  3889. this.numChunks = Math.ceil(length / chunkSize);
  3890. this.manager = manager;
  3891. this.initialDataLength = 0;
  3892. }
  3893. // required methods for a stream. if a particular stream does not
  3894. // implement these, an error should be thrown
  3895. ChunkedStream.prototype = {
  3896. getMissingChunks: function ChunkedStream_getMissingChunks() {
  3897. var chunks = [];
  3898. for (var chunk = 0, n = this.numChunks; chunk < n; ++chunk) {
  3899. if (!(chunk in this.loadedChunks)) {
  3900. chunks.push(chunk);
  3901. }
  3902. }
  3903. return chunks;
  3904. },
  3905. getBaseStreams: function ChunkedStream_getBaseStreams() {
  3906. return [this];
  3907. },
  3908. allChunksLoaded: function ChunkedStream_allChunksLoaded() {
  3909. return this.numChunksLoaded === this.numChunks;
  3910. },
  3911. onReceiveData: function(begin, chunk) {
  3912. var end = begin + chunk.byteLength;
  3913. assert(begin % this.chunkSize === 0, 'Bad begin offset: ' + begin);
  3914. // Using this.length is inaccurate here since this.start can be moved
  3915. // See ChunkedStream.moveStart()
  3916. var length = this.bytes.length;
  3917. assert(end % this.chunkSize === 0 || end === length,
  3918. 'Bad end offset: ' + end);
  3919. this.bytes.set(new Uint8Array(chunk), begin);
  3920. var chunkSize = this.chunkSize;
  3921. var beginChunk = Math.floor(begin / chunkSize);
  3922. var endChunk = Math.floor((end - 1) / chunkSize) + 1;
  3923. for (var chunk = beginChunk; chunk < endChunk; ++chunk) {
  3924. if (!(chunk in this.loadedChunks)) {
  3925. this.loadedChunks[chunk] = true;
  3926. ++this.numChunksLoaded;
  3927. }
  3928. }
  3929. },
  3930. onReceiveInitialData: function (data) {
  3931. this.bytes.set(data);
  3932. this.initialDataLength = data.length;
  3933. var endChunk = this.end === data.length ?
  3934. this.numChunks : Math.floor(data.length / this.chunkSize);
  3935. for (var i = 0; i < endChunk; i++) {
  3936. this.loadedChunks[i] = true;
  3937. ++this.numChunksLoaded;
  3938. }
  3939. },
  3940. ensureRange: function ChunkedStream_ensureRange(begin, end) {
  3941. if (begin >= end) {
  3942. return;
  3943. }
  3944. if (end <= this.initialDataLength) {
  3945. return;
  3946. }
  3947. var chunkSize = this.chunkSize;
  3948. var beginChunk = Math.floor(begin / chunkSize);
  3949. var endChunk = Math.floor((end - 1) / chunkSize) + 1;
  3950. for (var chunk = beginChunk; chunk < endChunk; ++chunk) {
  3951. if (!(chunk in this.loadedChunks)) {
  3952. throw new MissingDataException(begin, end);
  3953. }
  3954. }
  3955. },
  3956. nextEmptyChunk: function ChunkedStream_nextEmptyChunk(beginChunk) {
  3957. for (var chunk = beginChunk, n = this.numChunks; chunk < n; ++chunk) {
  3958. if (!(chunk in this.loadedChunks)) {
  3959. return chunk;
  3960. }
  3961. }
  3962. // Wrap around to beginning
  3963. for (var chunk = 0; chunk < beginChunk; ++chunk) {
  3964. if (!(chunk in this.loadedChunks)) {
  3965. return chunk;
  3966. }
  3967. }
  3968. return null;
  3969. },
  3970. hasChunk: function ChunkedStream_hasChunk(chunk) {
  3971. return chunk in this.loadedChunks;
  3972. },
  3973. get length() {
  3974. return this.end - this.start;
  3975. },
  3976. getByte: function ChunkedStream_getByte() {
  3977. var pos = this.pos;
  3978. if (pos >= this.end) {
  3979. return -1;
  3980. }
  3981. this.ensureRange(pos, pos + 1);
  3982. return this.bytes[this.pos++];
  3983. },
  3984. // returns subarray of original buffer
  3985. // should only be read
  3986. getBytes: function ChunkedStream_getBytes(length) {
  3987. var bytes = this.bytes;
  3988. var pos = this.pos;
  3989. var strEnd = this.end;
  3990. if (!length) {
  3991. this.ensureRange(pos, strEnd);
  3992. return bytes.subarray(pos, strEnd);
  3993. }
  3994. var end = pos + length;
  3995. if (end > strEnd)
  3996. end = strEnd;
  3997. this.ensureRange(pos, end);
  3998. this.pos = end;
  3999. return bytes.subarray(pos, end);
  4000. },
  4001. peekBytes: function ChunkedStream_peekBytes(length) {
  4002. var bytes = this.getBytes(length);
  4003. this.pos -= bytes.length;
  4004. return bytes;
  4005. },
  4006. getByteRange: function ChunkedStream_getBytes(begin, end) {
  4007. this.ensureRange(begin, end);
  4008. return this.bytes.subarray(begin, end);
  4009. },
  4010. skip: function ChunkedStream_skip(n) {
  4011. if (!n)
  4012. n = 1;
  4013. this.pos += n;
  4014. },
  4015. reset: function ChunkedStream_reset() {
  4016. this.pos = this.start;
  4017. },
  4018. moveStart: function ChunkedStream_moveStart() {
  4019. this.start = this.pos;
  4020. },
  4021. makeSubStream: function ChunkedStream_makeSubStream(start, length, dict) {
  4022. function ChunkedStreamSubstream() {}
  4023. ChunkedStreamSubstream.prototype = Object.create(this);
  4024. ChunkedStreamSubstream.prototype.getMissingChunks = function() {
  4025. var chunkSize = this.chunkSize;
  4026. var beginChunk = Math.floor(this.start / chunkSize);
  4027. var endChunk = Math.floor((this.end - 1) / chunkSize) + 1;
  4028. var missingChunks = [];
  4029. for (var chunk = beginChunk; chunk < endChunk; ++chunk) {
  4030. if (!(chunk in this.loadedChunks)) {
  4031. missingChunks.push(chunk);
  4032. }
  4033. }
  4034. return missingChunks;
  4035. };
  4036. var subStream = new ChunkedStreamSubstream();
  4037. subStream.pos = subStream.start = start;
  4038. subStream.end = start + length || this.end;
  4039. subStream.dict = dict;
  4040. return subStream;
  4041. },
  4042. isStream: true
  4043. };
  4044. return ChunkedStream;
  4045. })();
  4046. var ChunkedStreamManager = (function ChunkedStreamManagerClosure() {
  4047. function ChunkedStreamManager(length, chunkSize, url, args) {
  4048. var self = this;
  4049. this.stream = new ChunkedStream(length, chunkSize, this);
  4050. this.length = length;
  4051. this.chunkSize = chunkSize;
  4052. this.url = url;
  4053. this.disableAutoFetch = args.disableAutoFetch;
  4054. var msgHandler = this.msgHandler = args.msgHandler;
  4055. if (args.chunkedViewerLoading) {
  4056. msgHandler.on('OnDataRange', this.onReceiveData.bind(this));
  4057. msgHandler.on('OnDataProgress', this.onProgress.bind(this));
  4058. this.sendRequest = function ChunkedStreamManager_sendRequest(begin, end) {
  4059. msgHandler.send('RequestDataRange', { begin: begin, end: end });
  4060. };
  4061. } else {
  4062. var getXhr = function getXhr() {
  4063. //#if B2G
  4064. // return new XMLHttpRequest({ mozSystem: true });
  4065. //#else
  4066. return new XMLHttpRequest();
  4067. //#endif
  4068. };
  4069. this.networkManager = new NetworkManager(this.url, {
  4070. getXhr: getXhr,
  4071. httpHeaders: args.httpHeaders,
  4072. withCredentials: args.withCredentials
  4073. });
  4074. this.sendRequest = function ChunkedStreamManager_sendRequest(begin, end) {
  4075. this.networkManager.requestRange(begin, end, {
  4076. onDone: this.onReceiveData.bind(this),
  4077. onProgress: this.onProgress.bind(this)
  4078. });
  4079. };
  4080. }
  4081. this.currRequestId = 0;
  4082. this.chunksNeededByRequest = {};
  4083. this.requestsByChunk = {};
  4084. this.callbacksByRequest = {};
  4085. this.loadedStream = new LegacyPromise();
  4086. if (args.initialData) {
  4087. this.setInitialData(args.initialData);
  4088. }
  4089. }
  4090. ChunkedStreamManager.prototype = {
  4091. setInitialData: function ChunkedStreamManager_setInitialData(data) {
  4092. this.stream.onReceiveInitialData(data);
  4093. if (this.stream.allChunksLoaded()) {
  4094. this.loadedStream.resolve(this.stream);
  4095. } else if (this.msgHandler) {
  4096. this.msgHandler.send('DocProgress', {
  4097. loaded: data.length,
  4098. total: this.length
  4099. });
  4100. }
  4101. },
  4102. onLoadedStream: function ChunkedStreamManager_getLoadedStream() {
  4103. return this.loadedStream;
  4104. },
  4105. // Get all the chunks that are not yet loaded and groups them into
  4106. // contiguous ranges to load in as few requests as possible
  4107. requestAllChunks: function ChunkedStreamManager_requestAllChunks() {
  4108. var missingChunks = this.stream.getMissingChunks();
  4109. this.requestChunks(missingChunks);
  4110. return this.loadedStream;
  4111. },
  4112. requestChunks: function ChunkedStreamManager_requestChunks(chunks,
  4113. callback) {
  4114. var requestId = this.currRequestId++;
  4115. var chunksNeeded;
  4116. this.chunksNeededByRequest[requestId] = chunksNeeded = {};
  4117. for (var i = 0, ii = chunks.length; i < ii; i++) {
  4118. if (!this.stream.hasChunk(chunks[i])) {
  4119. chunksNeeded[chunks[i]] = true;
  4120. }
  4121. }
  4122. if (isEmptyObj(chunksNeeded)) {
  4123. if (callback) {
  4124. callback();
  4125. }
  4126. return;
  4127. }
  4128. this.callbacksByRequest[requestId] = callback;
  4129. var chunksToRequest = [];
  4130. for (var chunk in chunksNeeded) {
  4131. chunk = chunk | 0;
  4132. if (!(chunk in this.requestsByChunk)) {
  4133. this.requestsByChunk[chunk] = [];
  4134. chunksToRequest.push(chunk);
  4135. }
  4136. this.requestsByChunk[chunk].push(requestId);
  4137. }
  4138. if (!chunksToRequest.length) {
  4139. return;
  4140. }
  4141. var groupedChunksToRequest = this.groupChunks(chunksToRequest);
  4142. for (var i = 0; i < groupedChunksToRequest.length; ++i) {
  4143. var groupedChunk = groupedChunksToRequest[i];
  4144. var begin = groupedChunk.beginChunk * this.chunkSize;
  4145. var end = Math.min(groupedChunk.endChunk * this.chunkSize, this.length);
  4146. this.sendRequest(begin, end);
  4147. }
  4148. },
  4149. getStream: function ChunkedStreamManager_getStream() {
  4150. return this.stream;
  4151. },
  4152. // Loads any chunks in the requested range that are not yet loaded
  4153. requestRange: function ChunkedStreamManager_requestRange(
  4154. begin, end, callback) {
  4155. end = Math.min(end, this.length);
  4156. var beginChunk = this.getBeginChunk(begin);
  4157. var endChunk = this.getEndChunk(end);
  4158. var chunks = [];
  4159. for (var chunk = beginChunk; chunk < endChunk; ++chunk) {
  4160. chunks.push(chunk);
  4161. }
  4162. this.requestChunks(chunks, callback);
  4163. },
  4164. requestRanges: function ChunkedStreamManager_requestRanges(ranges,
  4165. callback) {
  4166. ranges = ranges || [];
  4167. var chunksToRequest = [];
  4168. for (var i = 0; i < ranges.length; i++) {
  4169. var beginChunk = this.getBeginChunk(ranges[i].begin);
  4170. var endChunk = this.getEndChunk(ranges[i].end);
  4171. for (var chunk = beginChunk; chunk < endChunk; ++chunk) {
  4172. if (chunksToRequest.indexOf(chunk) < 0) {
  4173. chunksToRequest.push(chunk);
  4174. }
  4175. }
  4176. }
  4177. chunksToRequest.sort(function(a, b) { return a - b; });
  4178. this.requestChunks(chunksToRequest, callback);
  4179. },
  4180. // Groups a sorted array of chunks into as few continguous larger
  4181. // chunks as possible
  4182. groupChunks: function ChunkedStreamManager_groupChunks(chunks) {
  4183. var groupedChunks = [];
  4184. var beginChunk = -1;
  4185. var prevChunk = -1;
  4186. for (var i = 0; i < chunks.length; ++i) {
  4187. var chunk = chunks[i];
  4188. if (beginChunk < 0) {
  4189. beginChunk = chunk;
  4190. }
  4191. if (prevChunk >= 0 && prevChunk + 1 !== chunk) {
  4192. groupedChunks.push({
  4193. beginChunk: beginChunk, endChunk: prevChunk + 1});
  4194. beginChunk = chunk;
  4195. }
  4196. if (i + 1 === chunks.length) {
  4197. groupedChunks.push({
  4198. beginChunk: beginChunk, endChunk: chunk + 1});
  4199. }
  4200. prevChunk = chunk;
  4201. }
  4202. return groupedChunks;
  4203. },
  4204. onProgress: function ChunkedStreamManager_onProgress(args) {
  4205. var bytesLoaded = this.stream.numChunksLoaded * this.chunkSize +
  4206. args.loaded;
  4207. this.msgHandler.send('DocProgress', {
  4208. loaded: bytesLoaded,
  4209. total: this.length
  4210. });
  4211. },
  4212. onReceiveData: function ChunkedStreamManager_onReceiveData(args) {
  4213. var chunk = args.chunk;
  4214. var begin = args.begin;
  4215. var end = begin + chunk.byteLength;
  4216. var beginChunk = this.getBeginChunk(begin);
  4217. var endChunk = this.getEndChunk(end);
  4218. this.stream.onReceiveData(begin, chunk);
  4219. if (this.stream.allChunksLoaded()) {
  4220. this.loadedStream.resolve(this.stream);
  4221. }
  4222. var loadedRequests = [];
  4223. for (var chunk = beginChunk; chunk < endChunk; ++chunk) {
  4224. // The server might return more chunks than requested
  4225. var requestIds = this.requestsByChunk[chunk] || [];
  4226. delete this.requestsByChunk[chunk];
  4227. for (var i = 0; i < requestIds.length; ++i) {
  4228. var requestId = requestIds[i];
  4229. var chunksNeeded = this.chunksNeededByRequest[requestId];
  4230. if (chunk in chunksNeeded) {
  4231. delete chunksNeeded[chunk];
  4232. }
  4233. if (!isEmptyObj(chunksNeeded)) {
  4234. continue;
  4235. }
  4236. loadedRequests.push(requestId);
  4237. }
  4238. }
  4239. // If there are no pending requests, automatically fetch the next
  4240. // unfetched chunk of the PDF
  4241. if (!this.disableAutoFetch && isEmptyObj(this.requestsByChunk)) {
  4242. var nextEmptyChunk;
  4243. if (this.stream.numChunksLoaded === 1) {
  4244. // This is a special optimization so that after fetching the first
  4245. // chunk, rather than fetching the second chunk, we fetch the last
  4246. // chunk.
  4247. var lastChunk = this.stream.numChunks - 1;
  4248. if (!this.stream.hasChunk(lastChunk)) {
  4249. nextEmptyChunk = lastChunk;
  4250. }
  4251. } else {
  4252. nextEmptyChunk = this.stream.nextEmptyChunk(endChunk);
  4253. }
  4254. if (isInt(nextEmptyChunk)) {
  4255. this.requestChunks([nextEmptyChunk]);
  4256. }
  4257. }
  4258. for (var i = 0; i < loadedRequests.length; ++i) {
  4259. var requestId = loadedRequests[i];
  4260. var callback = this.callbacksByRequest[requestId];
  4261. delete this.callbacksByRequest[requestId];
  4262. if (callback) {
  4263. callback();
  4264. }
  4265. }
  4266. this.msgHandler.send('DocProgress', {
  4267. loaded: this.stream.numChunksLoaded * this.chunkSize,
  4268. total: this.length
  4269. });
  4270. },
  4271. getBeginChunk: function ChunkedStreamManager_getBeginChunk(begin) {
  4272. var chunk = Math.floor(begin / this.chunkSize);
  4273. return chunk;
  4274. },
  4275. getEndChunk: function ChunkedStreamManager_getEndChunk(end) {
  4276. if (end % this.chunkSize === 0) {
  4277. return end / this.chunkSize;
  4278. }
  4279. // 0 -> 0
  4280. // 1 -> 1
  4281. // 99 -> 1
  4282. // 100 -> 1
  4283. // 101 -> 2
  4284. var chunk = Math.floor((end - 1) / this.chunkSize) + 1;
  4285. return chunk;
  4286. }
  4287. };
  4288. return ChunkedStreamManager;
  4289. })();
  4290. // TODO(mack): Make use of PDFJS.Util.inherit() when it becomes available
  4291. var BasePdfManager = (function BasePdfManagerClosure() {
  4292. function BasePdfManager() {
  4293. throw new Error('Cannot initialize BaseManagerManager');
  4294. }
  4295. BasePdfManager.prototype = {
  4296. onLoadedStream: function BasePdfManager_onLoadedStream() {
  4297. throw new NotImplementedException();
  4298. },
  4299. ensureModel: function BasePdfManager_ensureModel(prop, args) {
  4300. return this.ensure(this.pdfModel, prop, args);
  4301. },
  4302. ensureXRef: function BasePdfManager_ensureXRef(prop, args) {
  4303. return this.ensure(this.pdfModel.xref, prop, args);
  4304. },
  4305. ensureCatalog: function BasePdfManager_ensureCatalog(prop, args) {
  4306. return this.ensure(this.pdfModel.catalog, prop, args);
  4307. },
  4308. getPage: function BasePdfManager_pagePage(pageIndex) {
  4309. return this.pdfModel.getPage(pageIndex);
  4310. },
  4311. cleanup: function BasePdfManager_cleanup() {
  4312. return this.pdfModel.cleanup();
  4313. },
  4314. ensure: function BasePdfManager_ensure(obj, prop, args) {
  4315. return new NotImplementedException();
  4316. },
  4317. requestRange: function BasePdfManager_ensure(begin, end) {
  4318. return new NotImplementedException();
  4319. },
  4320. requestLoadedStream: function BasePdfManager_requestLoadedStream() {
  4321. return new NotImplementedException();
  4322. },
  4323. updatePassword: function BasePdfManager_updatePassword(password) {
  4324. this.pdfModel.xref.password = this.password = password;
  4325. if (this.passwordChangedPromise) {
  4326. this.passwordChangedPromise.resolve();
  4327. }
  4328. },
  4329. terminate: function BasePdfManager_terminate() {
  4330. return new NotImplementedException();
  4331. }
  4332. };
  4333. return BasePdfManager;
  4334. })();
  4335. var LocalPdfManager = (function LocalPdfManagerClosure() {
  4336. function LocalPdfManager(data, password) {
  4337. var stream = new Stream(data);
  4338. this.pdfModel = new PDFDocument(this, stream, password);
  4339. this.loadedStream = new LegacyPromise();
  4340. this.loadedStream.resolve(stream);
  4341. }
  4342. LocalPdfManager.prototype = Object.create(BasePdfManager.prototype);
  4343. LocalPdfManager.prototype.constructor = LocalPdfManager;
  4344. LocalPdfManager.prototype.ensure =
  4345. function LocalPdfManager_ensure(obj, prop, args) {
  4346. var promise = new LegacyPromise();
  4347. try {
  4348. var value = obj[prop];
  4349. var result;
  4350. if (typeof(value) === 'function') {
  4351. result = value.apply(obj, args);
  4352. } else {
  4353. result = value;
  4354. }
  4355. promise.resolve(result);
  4356. } catch (e) {
  4357. console.log(e.stack);
  4358. promise.reject(e);
  4359. }
  4360. return promise;
  4361. };
  4362. LocalPdfManager.prototype.requestRange =
  4363. function LocalPdfManager_requestRange(begin, end) {
  4364. var promise = new LegacyPromise();
  4365. promise.resolve();
  4366. return promise;
  4367. };
  4368. LocalPdfManager.prototype.requestLoadedStream =
  4369. function LocalPdfManager_requestLoadedStream() {
  4370. };
  4371. LocalPdfManager.prototype.onLoadedStream =
  4372. function LocalPdfManager_getLoadedStream() {
  4373. return this.loadedStream;
  4374. };
  4375. LocalPdfManager.prototype.terminate =
  4376. function LocalPdfManager_terminate() {
  4377. return;
  4378. };
  4379. return LocalPdfManager;
  4380. })();
  4381. var NetworkPdfManager = (function NetworkPdfManagerClosure() {
  4382. var CHUNK_SIZE = 65536;
  4383. function NetworkPdfManager(args, msgHandler) {
  4384. this.msgHandler = msgHandler;
  4385. var params = {
  4386. msgHandler: msgHandler,
  4387. httpHeaders: args.httpHeaders,
  4388. withCredentials: args.withCredentials,
  4389. chunkedViewerLoading: args.chunkedViewerLoading,
  4390. disableAutoFetch: args.disableAutoFetch,
  4391. initialData: args.initialData
  4392. };
  4393. this.streamManager = new ChunkedStreamManager(args.length, CHUNK_SIZE,
  4394. args.url, params);
  4395. this.pdfModel = new PDFDocument(this, this.streamManager.getStream(),
  4396. args.password);
  4397. }
  4398. NetworkPdfManager.prototype = Object.create(BasePdfManager.prototype);
  4399. NetworkPdfManager.prototype.constructor = NetworkPdfManager;
  4400. NetworkPdfManager.prototype.ensure =
  4401. function NetworkPdfManager_ensure(obj, prop, args) {
  4402. var promise = new LegacyPromise();
  4403. this.ensureHelper(promise, obj, prop, args);
  4404. return promise;
  4405. };
  4406. NetworkPdfManager.prototype.ensureHelper =
  4407. function NetworkPdfManager_ensureHelper(promise, obj, prop, args) {
  4408. try {
  4409. var result;
  4410. var value = obj[prop];
  4411. if (typeof(value) === 'function') {
  4412. result = value.apply(obj, args);
  4413. } else {
  4414. result = value;
  4415. }
  4416. promise.resolve(result);
  4417. } catch(e) {
  4418. if (!(e instanceof MissingDataException)) {
  4419. console.log(e.stack);
  4420. promise.reject(e);
  4421. return;
  4422. }
  4423. this.streamManager.requestRange(e.begin, e.end, function() {
  4424. this.ensureHelper(promise, obj, prop, args);
  4425. }.bind(this));
  4426. }
  4427. };
  4428. NetworkPdfManager.prototype.requestRange =
  4429. function NetworkPdfManager_requestRange(begin, end) {
  4430. var promise = new LegacyPromise();
  4431. this.streamManager.requestRange(begin, end, function() {
  4432. promise.resolve();
  4433. });
  4434. return promise;
  4435. };
  4436. NetworkPdfManager.prototype.requestLoadedStream =
  4437. function NetworkPdfManager_requestLoadedStream() {
  4438. this.streamManager.requestAllChunks();
  4439. };
  4440. NetworkPdfManager.prototype.onLoadedStream =
  4441. function NetworkPdfManager_getLoadedStream() {
  4442. return this.streamManager.onLoadedStream();
  4443. };
  4444. NetworkPdfManager.prototype.terminate =
  4445. function NetworkPdfManager_terminate() {
  4446. this.streamManager.networkManager.abortAllRequests();
  4447. };
  4448. return NetworkPdfManager;
  4449. })();
  4450. var Page = (function PageClosure() {
  4451. function Page(pdfManager, xref, pageIndex, pageDict, ref, fontCache) {
  4452. this.pdfManager = pdfManager;
  4453. this.pageIndex = pageIndex;
  4454. this.pageDict = pageDict;
  4455. this.xref = xref;
  4456. this.ref = ref;
  4457. this.fontCache = fontCache;
  4458. this.idCounters = {
  4459. obj: 0
  4460. };
  4461. this.resourcesPromise = null;
  4462. }
  4463. Page.prototype = {
  4464. getPageProp: function Page_getPageProp(key) {
  4465. return this.pageDict.get(key);
  4466. },
  4467. inheritPageProp: function Page_inheritPageProp(key) {
  4468. var dict = this.pageDict;
  4469. var obj = dict.get(key);
  4470. while (obj === undefined) {
  4471. dict = dict.get('Parent');
  4472. if (!dict)
  4473. break;
  4474. obj = dict.get(key);
  4475. }
  4476. return obj;
  4477. },
  4478. get content() {
  4479. return this.getPageProp('Contents');
  4480. },
  4481. get resources() {
  4482. return shadow(this, 'resources', this.inheritPageProp('Resources'));
  4483. },
  4484. get mediaBox() {
  4485. var obj = this.inheritPageProp('MediaBox');
  4486. // Reset invalid media box to letter size.
  4487. if (!isArray(obj) || obj.length !== 4)
  4488. obj = [0, 0, 612, 792];
  4489. return shadow(this, 'mediaBox', obj);
  4490. },
  4491. get view() {
  4492. var mediaBox = this.mediaBox;
  4493. var cropBox = this.inheritPageProp('CropBox');
  4494. if (!isArray(cropBox) || cropBox.length !== 4)
  4495. return shadow(this, 'view', mediaBox);
  4496. // From the spec, 6th ed., p.963:
  4497. // "The crop, bleed, trim, and art boxes should not ordinarily
  4498. // extend beyond the boundaries of the media box. If they do, they are
  4499. // effectively reduced to their intersection with the media box."
  4500. cropBox = Util.intersect(cropBox, mediaBox);
  4501. if (!cropBox)
  4502. return shadow(this, 'view', mediaBox);
  4503. return shadow(this, 'view', cropBox);
  4504. },
  4505. get annotationRefs() {
  4506. return shadow(this, 'annotationRefs', this.inheritPageProp('Annots'));
  4507. },
  4508. get rotate() {
  4509. var rotate = this.inheritPageProp('Rotate') || 0;
  4510. // Normalize rotation so it's a multiple of 90 and between 0 and 270
  4511. if (rotate % 90 !== 0) {
  4512. rotate = 0;
  4513. } else if (rotate >= 360) {
  4514. rotate = rotate % 360;
  4515. } else if (rotate < 0) {
  4516. // The spec doesn't cover negatives, assume its counterclockwise
  4517. // rotation. The following is the other implementation of modulo.
  4518. rotate = ((rotate % 360) + 360) % 360;
  4519. }
  4520. return shadow(this, 'rotate', rotate);
  4521. },
  4522. getContentStream: function Page_getContentStream() {
  4523. var content = this.content;
  4524. var stream;
  4525. if (isArray(content)) {
  4526. // fetching items
  4527. var xref = this.xref;
  4528. var i, n = content.length;
  4529. var streams = [];
  4530. for (i = 0; i < n; ++i)
  4531. streams.push(xref.fetchIfRef(content[i]));
  4532. stream = new StreamsSequenceStream(streams);
  4533. } else if (isStream(content)) {
  4534. stream = content;
  4535. } else {
  4536. // replacing non-existent page content with empty one
  4537. stream = new NullStream();
  4538. }
  4539. return stream;
  4540. },
  4541. loadResources: function(keys) {
  4542. if (!this.resourcesPromise) {
  4543. // TODO: add async inheritPageProp and remove this.
  4544. this.resourcesPromise = this.pdfManager.ensure(this, 'resources');
  4545. }
  4546. var promise = new LegacyPromise();
  4547. this.resourcesPromise.then(function resourceSuccess() {
  4548. var objectLoader = new ObjectLoader(this.resources.map,
  4549. keys,
  4550. this.xref);
  4551. objectLoader.load().then(function objectLoaderSuccess() {
  4552. promise.resolve();
  4553. });
  4554. }.bind(this));
  4555. return promise;
  4556. },
  4557. getOperatorList: function Page_getOperatorList(handler) {
  4558. var self = this;
  4559. var promise = new LegacyPromise();
  4560. function reject(e) {
  4561. promise.reject(e);
  4562. }
  4563. var pageListPromise = new LegacyPromise();
  4564. var pdfManager = this.pdfManager;
  4565. var contentStreamPromise = pdfManager.ensure(this, 'getContentStream',
  4566. []);
  4567. var resourcesPromise = this.loadResources([
  4568. 'ExtGState',
  4569. 'ColorSpace',
  4570. 'Pattern',
  4571. 'Shading',
  4572. 'XObject',
  4573. 'Font',
  4574. // ProcSet
  4575. // Properties
  4576. ]);
  4577. var partialEvaluator = new PartialEvaluator(
  4578. pdfManager, this.xref, handler,
  4579. this.pageIndex, 'p' + this.pageIndex + '_',
  4580. this.idCounters, this.fontCache);
  4581. var dataPromises = Promise.all(
  4582. [contentStreamPromise, resourcesPromise], reject);
  4583. dataPromises.then(function(data) {
  4584. var contentStream = data[0];
  4585. var opList = new OperatorList(handler, self.pageIndex);
  4586. handler.send('StartRenderPage', {
  4587. transparency: partialEvaluator.hasBlendModes(self.resources),
  4588. pageIndex: self.pageIndex
  4589. });
  4590. partialEvaluator.getOperatorList(contentStream, self.resources, opList);
  4591. pageListPromise.resolve(opList);
  4592. });
  4593. var annotationsPromise = pdfManager.ensure(this, 'annotations');
  4594. Promise.all([pageListPromise, annotationsPromise]).then(function(datas) {
  4595. var pageOpList = datas[0];
  4596. var annotations = datas[1];
  4597. if (annotations.length === 0) {
  4598. pageOpList.flush(true);
  4599. promise.resolve(pageOpList);
  4600. return;
  4601. }
  4602. var annotationsReadyPromise = Annotation.appendToOperatorList(
  4603. annotations, pageOpList, pdfManager, partialEvaluator);
  4604. annotationsReadyPromise.then(function () {
  4605. pageOpList.flush(true);
  4606. promise.resolve(pageOpList);
  4607. }, reject);
  4608. }, reject);
  4609. return promise;
  4610. },
  4611. extractTextContent: function Page_extractTextContent() {
  4612. var handler = {
  4613. on: function nullHandlerOn() {},
  4614. send: function nullHandlerSend() {}
  4615. };
  4616. var self = this;
  4617. var textContentPromise = new LegacyPromise();
  4618. var pdfManager = this.pdfManager;
  4619. var contentStreamPromise = pdfManager.ensure(this, 'getContentStream',
  4620. []);
  4621. var resourcesPromise = this.loadResources([
  4622. 'ExtGState',
  4623. 'XObject',
  4624. 'Font'
  4625. ]);
  4626. var dataPromises = Promise.all([contentStreamPromise,
  4627. resourcesPromise]);
  4628. dataPromises.then(function(data) {
  4629. var contentStream = data[0];
  4630. var partialEvaluator = new PartialEvaluator(
  4631. pdfManager, self.xref, handler,
  4632. self.pageIndex, 'p' + self.pageIndex + '_',
  4633. self.idCounters, self.fontCache);
  4634. var bidiTexts = partialEvaluator.getTextContent(contentStream,
  4635. self.resources);
  4636. textContentPromise.resolve(bidiTexts);
  4637. });
  4638. return textContentPromise;
  4639. },
  4640. getAnnotationsData: function Page_getAnnotationsData() {
  4641. var annotations = this.annotations;
  4642. var annotationsData = [];
  4643. for (var i = 0, n = annotations.length; i < n; ++i) {
  4644. annotationsData.push(annotations[i].getData());
  4645. }
  4646. return annotationsData;
  4647. },
  4648. get annotations() {
  4649. var annotations = [];
  4650. var annotationRefs = this.annotationRefs || [];
  4651. for (var i = 0, n = annotationRefs.length; i < n; ++i) {
  4652. var annotationRef = annotationRefs[i];
  4653. var annotation = Annotation.fromRef(this.xref, annotationRef);
  4654. if (annotation) {
  4655. annotations.push(annotation);
  4656. }
  4657. }
  4658. return shadow(this, 'annotations', annotations);
  4659. }
  4660. };
  4661. return Page;
  4662. })();
  4663. /**
  4664. * The `PDFDocument` holds all the data of the PDF file. Compared to the
  4665. * `PDFDoc`, this one doesn't have any job management code.
  4666. * Right now there exists one PDFDocument on the main thread + one object
  4667. * for each worker. If there is no worker support enabled, there are two
  4668. * `PDFDocument` objects on the main thread created.
  4669. */
  4670. var PDFDocument = (function PDFDocumentClosure() {
  4671. function PDFDocument(pdfManager, arg, password) {
  4672. if (isStream(arg))
  4673. init.call(this, pdfManager, arg, password);
  4674. else if (isArrayBuffer(arg))
  4675. init.call(this, pdfManager, new Stream(arg), password);
  4676. else
  4677. error('PDFDocument: Unknown argument type');
  4678. }
  4679. function init(pdfManager, stream, password) {
  4680. assertWellFormed(stream.length > 0, 'stream must have data');
  4681. this.pdfManager = pdfManager;
  4682. this.stream = stream;
  4683. var xref = new XRef(this.stream, password, pdfManager);
  4684. this.xref = xref;
  4685. }
  4686. function find(stream, needle, limit, backwards) {
  4687. var pos = stream.pos;
  4688. var end = stream.end;
  4689. var str = '';
  4690. if (pos + limit > end)
  4691. limit = end - pos;
  4692. for (var n = 0; n < limit; ++n)
  4693. str += String.fromCharCode(stream.getByte());
  4694. stream.pos = pos;
  4695. var index = backwards ? str.lastIndexOf(needle) : str.indexOf(needle);
  4696. if (index == -1)
  4697. return false; /* not found */
  4698. stream.pos += index;
  4699. return true; /* found */
  4700. }
  4701. var DocumentInfoValidators = {
  4702. get entries() {
  4703. // Lazily build this since all the validation functions below are not
  4704. // defined until after this file loads.
  4705. return shadow(this, 'entries', {
  4706. Title: isString,
  4707. Author: isString,
  4708. Subject: isString,
  4709. Keywords: isString,
  4710. Creator: isString,
  4711. Producer: isString,
  4712. CreationDate: isString,
  4713. ModDate: isString,
  4714. Trapped: isName
  4715. });
  4716. }
  4717. };
  4718. PDFDocument.prototype = {
  4719. parse: function PDFDocument_parse(recoveryMode) {
  4720. this.setup(recoveryMode);
  4721. try {
  4722. // checking if AcroForm is present
  4723. this.acroForm = this.catalog.catDict.get('AcroForm');
  4724. if (this.acroForm) {
  4725. this.xfa = this.acroForm.get('XFA');
  4726. var fields = this.acroForm.get('Fields');
  4727. if ((!fields || !isArray(fields) || fields.length === 0) &&
  4728. !this.xfa) {
  4729. // no fields and no XFA -- not a form (?)
  4730. this.acroForm = null;
  4731. }
  4732. }
  4733. } catch (ex) {
  4734. info('Something wrong with AcroForm entry');
  4735. this.acroForm = null;
  4736. }
  4737. },
  4738. get linearization() {
  4739. var length = this.stream.length;
  4740. var linearization = false;
  4741. if (length) {
  4742. try {
  4743. linearization = new Linearization(this.stream);
  4744. if (linearization.length != length) {
  4745. linearization = false;
  4746. }
  4747. } catch (err) {
  4748. if (err instanceof MissingDataException) {
  4749. throw err;
  4750. }
  4751. info('The linearization data is not available ' +
  4752. 'or unreadable PDF data is found');
  4753. linearization = false;
  4754. }
  4755. }
  4756. // shadow the prototype getter with a data property
  4757. return shadow(this, 'linearization', linearization);
  4758. },
  4759. get startXRef() {
  4760. var stream = this.stream;
  4761. var startXRef = 0;
  4762. var linearization = this.linearization;
  4763. if (linearization) {
  4764. // Find end of first obj.
  4765. stream.reset();
  4766. if (find(stream, 'endobj', 1024))
  4767. startXRef = stream.pos + 6;
  4768. } else {
  4769. // Find startxref by jumping backward from the end of the file.
  4770. var step = 1024;
  4771. var found = false, pos = stream.end;
  4772. while (!found && pos > 0) {
  4773. pos -= step - 'startxref'.length;
  4774. if (pos < 0)
  4775. pos = 0;
  4776. stream.pos = pos;
  4777. found = find(stream, 'startxref', step, true);
  4778. }
  4779. if (found) {
  4780. stream.skip(9);
  4781. var ch;
  4782. do {
  4783. ch = stream.getByte();
  4784. } while (Lexer.isSpace(ch));
  4785. var str = '';
  4786. while (ch >= 0x20 && ch <= 0x39) { // < '9'
  4787. str += String.fromCharCode(ch);
  4788. ch = stream.getByte();
  4789. }
  4790. startXRef = parseInt(str, 10);
  4791. if (isNaN(startXRef))
  4792. startXRef = 0;
  4793. }
  4794. }
  4795. // shadow the prototype getter with a data property
  4796. return shadow(this, 'startXRef', startXRef);
  4797. },
  4798. get mainXRefEntriesOffset() {
  4799. var mainXRefEntriesOffset = 0;
  4800. var linearization = this.linearization;
  4801. if (linearization)
  4802. mainXRefEntriesOffset = linearization.mainXRefEntriesOffset;
  4803. // shadow the prototype getter with a data property
  4804. return shadow(this, 'mainXRefEntriesOffset', mainXRefEntriesOffset);
  4805. },
  4806. // Find the header, remove leading garbage and setup the stream
  4807. // starting from the header.
  4808. checkHeader: function PDFDocument_checkHeader() {
  4809. var stream = this.stream;
  4810. stream.reset();
  4811. if (find(stream, '%PDF-', 1024)) {
  4812. // Found the header, trim off any garbage before it.
  4813. stream.moveStart();
  4814. // Reading file format version
  4815. var MAX_VERSION_LENGTH = 12;
  4816. var version = '', ch;
  4817. while ((ch = stream.getByte()) > 0x20) { // SPACE
  4818. if (version.length >= MAX_VERSION_LENGTH) {
  4819. break;
  4820. }
  4821. version += String.fromCharCode(ch);
  4822. }
  4823. // removing "%PDF-"-prefix
  4824. this.pdfFormatVersion = version.substring(5);
  4825. return;
  4826. }
  4827. // May not be a PDF file, continue anyway.
  4828. },
  4829. parseStartXRef: function PDFDocument_parseStartXRef() {
  4830. var startXRef = this.startXRef;
  4831. this.xref.setStartXRef(startXRef);
  4832. },
  4833. setup: function PDFDocument_setup(recoveryMode) {
  4834. this.xref.parse(recoveryMode);
  4835. this.catalog = new Catalog(this.pdfManager, this.xref);
  4836. },
  4837. get numPages() {
  4838. var linearization = this.linearization;
  4839. var num = linearization ? linearization.numPages : this.catalog.numPages;
  4840. // shadow the prototype getter
  4841. return shadow(this, 'numPages', num);
  4842. },
  4843. get documentInfo() {
  4844. var docInfo = {
  4845. PDFFormatVersion: this.pdfFormatVersion,
  4846. IsAcroFormPresent: !!this.acroForm,
  4847. IsXFAPresent: !!this.xfa
  4848. };
  4849. var infoDict;
  4850. try {
  4851. infoDict = this.xref.trailer.get('Info');
  4852. } catch (err) {
  4853. info('The document information dictionary is invalid.');
  4854. }
  4855. if (infoDict) {
  4856. var validEntries = DocumentInfoValidators.entries;
  4857. // Only fill the document info with valid entries from the spec.
  4858. for (var key in validEntries) {
  4859. if (infoDict.has(key)) {
  4860. var value = infoDict.get(key);
  4861. // Make sure the value conforms to the spec.
  4862. if (validEntries[key](value)) {
  4863. docInfo[key] = typeof value !== 'string' ? value :
  4864. stringToPDFString(value);
  4865. } else {
  4866. info('Bad value in document info for "' + key + '"');
  4867. }
  4868. }
  4869. }
  4870. }
  4871. return shadow(this, 'documentInfo', docInfo);
  4872. },
  4873. get fingerprint() {
  4874. var xref = this.xref, hash, fileID = '';
  4875. if (xref.trailer.has('ID')) {
  4876. hash = stringToBytes(xref.trailer.get('ID')[0]);
  4877. } else {
  4878. hash = calculateMD5(this.stream.bytes.subarray(0, 100), 0, 100);
  4879. }
  4880. for (var i = 0, n = hash.length; i < n; i++) {
  4881. fileID += hash[i].toString(16);
  4882. }
  4883. return shadow(this, 'fingerprint', fileID);
  4884. },
  4885. getPage: function PDFDocument_getPage(pageIndex) {
  4886. return this.catalog.getPage(pageIndex);
  4887. },
  4888. cleanup: function PDFDocument_cleanup() {
  4889. return this.catalog.cleanup();
  4890. }
  4891. };
  4892. return PDFDocument;
  4893. })();
  4894. var Name = (function NameClosure() {
  4895. function Name(name) {
  4896. this.name = name;
  4897. }
  4898. Name.prototype = {};
  4899. return Name;
  4900. })();
  4901. var Cmd = (function CmdClosure() {
  4902. function Cmd(cmd) {
  4903. this.cmd = cmd;
  4904. }
  4905. Cmd.prototype = {};
  4906. var cmdCache = {};
  4907. Cmd.get = function Cmd_get(cmd) {
  4908. var cmdValue = cmdCache[cmd];
  4909. if (cmdValue)
  4910. return cmdValue;
  4911. return cmdCache[cmd] = new Cmd(cmd);
  4912. };
  4913. return Cmd;
  4914. })();
  4915. var Dict = (function DictClosure() {
  4916. var nonSerializable = function nonSerializableClosure() {
  4917. return nonSerializable; // creating closure on some variable
  4918. };
  4919. // xref is optional
  4920. function Dict(xref) {
  4921. // Map should only be used internally, use functions below to access.
  4922. this.map = Object.create(null);
  4923. this.xref = xref;
  4924. this.__nonSerializable__ = nonSerializable; // disable cloning of the Dict
  4925. }
  4926. Dict.prototype = {
  4927. assignXref: function Dict_assignXref(newXref) {
  4928. this.xref = newXref;
  4929. },
  4930. // automatically dereferences Ref objects
  4931. get: function Dict_get(key1, key2, key3) {
  4932. var value;
  4933. var xref = this.xref;
  4934. if (typeof (value = this.map[key1]) != 'undefined' || key1 in this.map ||
  4935. typeof key2 == 'undefined') {
  4936. return xref ? xref.fetchIfRef(value) : value;
  4937. }
  4938. if (typeof (value = this.map[key2]) != 'undefined' || key2 in this.map ||
  4939. typeof key3 == 'undefined') {
  4940. return xref ? xref.fetchIfRef(value) : value;
  4941. }
  4942. value = this.map[key3] || null;
  4943. return xref ? xref.fetchIfRef(value) : value;
  4944. },
  4945. // Same as get(), but returns a promise and uses fetchIfRefAsync().
  4946. getAsync: function Dict_getAsync(key1, key2, key3) {
  4947. var value;
  4948. var promise;
  4949. var xref = this.xref;
  4950. if (typeof (value = this.map[key1]) !== undefined || key1 in this.map ||
  4951. typeof key2 === undefined) {
  4952. if (xref) {
  4953. return xref.fetchIfRefAsync(value);
  4954. }
  4955. promise = new LegacyPromise();
  4956. promise.resolve(value);
  4957. return promise;
  4958. }
  4959. if (typeof (value = this.map[key2]) !== undefined || key2 in this.map ||
  4960. typeof key3 === undefined) {
  4961. if (xref) {
  4962. return xref.fetchIfRefAsync(value);
  4963. }
  4964. promise = new LegacyPromise();
  4965. promise.resolve(value);
  4966. return promise;
  4967. }
  4968. value = this.map[key3] || null;
  4969. if (xref) {
  4970. return xref.fetchIfRefAsync(value);
  4971. }
  4972. promise = new LegacyPromise();
  4973. promise.resolve(value);
  4974. return promise;
  4975. },
  4976. // no dereferencing
  4977. getRaw: function Dict_getRaw(key) {
  4978. return this.map[key];
  4979. },
  4980. // creates new map and dereferences all Refs
  4981. getAll: function Dict_getAll() {
  4982. var all = {};
  4983. for (var key in this.map) {
  4984. var obj = this.get(key);
  4985. all[key] = obj instanceof Dict ? obj.getAll() : obj;
  4986. }
  4987. return all;
  4988. },
  4989. set: function Dict_set(key, value) {
  4990. this.map[key] = value;
  4991. },
  4992. has: function Dict_has(key) {
  4993. return key in this.map;
  4994. },
  4995. forEach: function Dict_forEach(callback) {
  4996. for (var key in this.map) {
  4997. callback(key, this.get(key));
  4998. }
  4999. }
  5000. };
  5001. return Dict;
  5002. })();
  5003. var Ref = (function RefClosure() {
  5004. function Ref(num, gen) {
  5005. this.num = num;
  5006. this.gen = gen;
  5007. }
  5008. Ref.prototype = {};
  5009. return Ref;
  5010. })();
  5011. // The reference is identified by number and generation,
  5012. // this structure stores only one instance of the reference.
  5013. var RefSet = (function RefSetClosure() {
  5014. function RefSet() {
  5015. this.dict = {};
  5016. }
  5017. RefSet.prototype = {
  5018. has: function RefSet_has(ref) {
  5019. return ('R' + ref.num + '.' + ref.gen) in this.dict;
  5020. },
  5021. put: function RefSet_put(ref) {
  5022. this.dict['R' + ref.num + '.' + ref.gen] = true;
  5023. },
  5024. remove: function RefSet_remove(ref) {
  5025. delete this.dict['R' + ref.num + '.' + ref.gen];
  5026. }
  5027. };
  5028. return RefSet;
  5029. })();
  5030. var RefSetCache = (function RefSetCacheClosure() {
  5031. function RefSetCache() {
  5032. this.dict = Object.create(null);
  5033. }
  5034. RefSetCache.prototype = {
  5035. get: function RefSetCache_get(ref) {
  5036. return this.dict['R' + ref.num + '.' + ref.gen];
  5037. },
  5038. has: function RefSetCache_has(ref) {
  5039. return ('R' + ref.num + '.' + ref.gen) in this.dict;
  5040. },
  5041. put: function RefSetCache_put(ref, obj) {
  5042. this.dict['R' + ref.num + '.' + ref.gen] = obj;
  5043. },
  5044. forEach: function RefSetCache_forEach(fn, thisArg) {
  5045. for (var i in this.dict) {
  5046. fn.call(thisArg, this.dict[i]);
  5047. }
  5048. },
  5049. clear: function RefSetCache_clear() {
  5050. this.dict = Object.create(null);
  5051. }
  5052. };
  5053. return RefSetCache;
  5054. })();
  5055. var Catalog = (function CatalogClosure() {
  5056. function Catalog(pdfManager, xref) {
  5057. this.pdfManager = pdfManager;
  5058. this.xref = xref;
  5059. this.catDict = xref.getCatalogObj();
  5060. this.fontCache = new RefSetCache();
  5061. assertWellFormed(isDict(this.catDict),
  5062. 'catalog object is not a dictionary');
  5063. this.pagePromises = [];
  5064. }
  5065. Catalog.prototype = {
  5066. get metadata() {
  5067. var streamRef = this.catDict.getRaw('Metadata');
  5068. if (!isRef(streamRef))
  5069. return shadow(this, 'metadata', null);
  5070. var encryptMetadata = !this.xref.encrypt ? false :
  5071. this.xref.encrypt.encryptMetadata;
  5072. var stream = this.xref.fetch(streamRef, !encryptMetadata);
  5073. var metadata;
  5074. if (stream && isDict(stream.dict)) {
  5075. var type = stream.dict.get('Type');
  5076. var subtype = stream.dict.get('Subtype');
  5077. if (isName(type) && isName(subtype) &&
  5078. type.name === 'Metadata' && subtype.name === 'XML') {
  5079. // XXX: This should examine the charset the XML document defines,
  5080. // however since there are currently no real means to decode
  5081. // arbitrary charsets, let's just hope that the author of the PDF
  5082. // was reasonable enough to stick with the XML default charset,
  5083. // which is UTF-8.
  5084. try {
  5085. metadata = stringToUTF8String(bytesToString(stream.getBytes()));
  5086. } catch (e) {
  5087. info('Skipping invalid metadata.');
  5088. }
  5089. }
  5090. }
  5091. return shadow(this, 'metadata', metadata);
  5092. },
  5093. get toplevelPagesDict() {
  5094. var pagesObj = this.catDict.get('Pages');
  5095. assertWellFormed(isDict(pagesObj), 'invalid top-level pages dictionary');
  5096. // shadow the prototype getter
  5097. return shadow(this, 'toplevelPagesDict', pagesObj);
  5098. },
  5099. get documentOutline() {
  5100. var obj = null;
  5101. try {
  5102. obj = this.readDocumentOutline();
  5103. } catch (ex) {
  5104. if (ex instanceof MissingDataException) {
  5105. throw ex;
  5106. }
  5107. warn('Unable to read document outline');
  5108. }
  5109. return shadow(this, 'documentOutline', obj);
  5110. },
  5111. readDocumentOutline: function Catalog_readDocumentOutline() {
  5112. var xref = this.xref;
  5113. var obj = this.catDict.get('Outlines');
  5114. var root = { items: [] };
  5115. if (isDict(obj)) {
  5116. obj = obj.getRaw('First');
  5117. var processed = new RefSet();
  5118. if (isRef(obj)) {
  5119. var queue = [{obj: obj, parent: root}];
  5120. // to avoid recursion keeping track of the items
  5121. // in the processed dictionary
  5122. processed.put(obj);
  5123. while (queue.length > 0) {
  5124. var i = queue.shift();
  5125. var outlineDict = xref.fetchIfRef(i.obj);
  5126. if (outlineDict === null)
  5127. continue;
  5128. if (!outlineDict.has('Title'))
  5129. error('Invalid outline item');
  5130. var dest = outlineDict.get('A');
  5131. if (dest)
  5132. dest = dest.get('D');
  5133. else if (outlineDict.has('Dest')) {
  5134. dest = outlineDict.getRaw('Dest');
  5135. if (isName(dest))
  5136. dest = dest.name;
  5137. }
  5138. var title = outlineDict.get('Title');
  5139. var outlineItem = {
  5140. dest: dest,
  5141. title: stringToPDFString(title),
  5142. color: outlineDict.get('C') || [0, 0, 0],
  5143. count: outlineDict.get('Count'),
  5144. bold: !!(outlineDict.get('F') & 2),
  5145. italic: !!(outlineDict.get('F') & 1),
  5146. items: []
  5147. };
  5148. i.parent.items.push(outlineItem);
  5149. obj = outlineDict.getRaw('First');
  5150. if (isRef(obj) && !processed.has(obj)) {
  5151. queue.push({obj: obj, parent: outlineItem});
  5152. processed.put(obj);
  5153. }
  5154. obj = outlineDict.getRaw('Next');
  5155. if (isRef(obj) && !processed.has(obj)) {
  5156. queue.push({obj: obj, parent: i.parent});
  5157. processed.put(obj);
  5158. }
  5159. }
  5160. }
  5161. }
  5162. return root.items.length > 0 ? root.items : null;
  5163. },
  5164. get numPages() {
  5165. var obj = this.toplevelPagesDict.get('Count');
  5166. assertWellFormed(
  5167. isInt(obj),
  5168. 'page count in top level pages object is not an integer'
  5169. );
  5170. // shadow the prototype getter
  5171. return shadow(this, 'num', obj);
  5172. },
  5173. get destinations() {
  5174. function fetchDestination(dest) {
  5175. return isDict(dest) ? dest.get('D') : dest;
  5176. }
  5177. var xref = this.xref;
  5178. var dests = {}, nameTreeRef, nameDictionaryRef;
  5179. var obj = this.catDict.get('Names');
  5180. if (obj)
  5181. nameTreeRef = obj.getRaw('Dests');
  5182. else if (this.catDict.has('Dests'))
  5183. nameDictionaryRef = this.catDict.get('Dests');
  5184. if (nameDictionaryRef) {
  5185. // reading simple destination dictionary
  5186. obj = nameDictionaryRef;
  5187. obj.forEach(function catalogForEach(key, value) {
  5188. if (!value) return;
  5189. dests[key] = fetchDestination(value);
  5190. });
  5191. }
  5192. if (nameTreeRef) {
  5193. var nameTree = new NameTree(nameTreeRef, xref);
  5194. var names = nameTree.getAll();
  5195. for (var name in names) {
  5196. if (!names.hasOwnProperty(name)) {
  5197. continue;
  5198. }
  5199. dests[name] = fetchDestination(names[name]);
  5200. }
  5201. }
  5202. return shadow(this, 'destinations', dests);
  5203. },
  5204. get javaScript() {
  5205. var xref = this.xref;
  5206. var obj = this.catDict.get('Names');
  5207. var javaScript = [];
  5208. if (obj && obj.has('JavaScript')) {
  5209. var nameTree = new NameTree(obj.getRaw('JavaScript'), xref);
  5210. var names = nameTree.getAll();
  5211. for (var name in names) {
  5212. if (!names.hasOwnProperty(name)) {
  5213. continue;
  5214. }
  5215. // We don't really use the JavaScript right now so this code is
  5216. // defensive so we don't cause errors on document load.
  5217. var jsDict = names[name];
  5218. if (!isDict(jsDict)) {
  5219. continue;
  5220. }
  5221. var type = jsDict.get('S');
  5222. if (!isName(type) || type.name !== 'JavaScript') {
  5223. continue;
  5224. }
  5225. var js = jsDict.get('JS');
  5226. if (!isString(js) && !isStream(js)) {
  5227. continue;
  5228. }
  5229. if (isStream(js)) {
  5230. js = bytesToString(js.getBytes());
  5231. }
  5232. javaScript.push(stringToPDFString(js));
  5233. }
  5234. }
  5235. return shadow(this, 'javaScript', javaScript);
  5236. },
  5237. cleanup: function Catalog_cleanup() {
  5238. this.fontCache.forEach(function (font) {
  5239. delete font.sent;
  5240. delete font.translated;
  5241. });
  5242. this.fontCache.clear();
  5243. },
  5244. getPage: function Catalog_getPage(pageIndex) {
  5245. if (!(pageIndex in this.pagePromises)) {
  5246. this.pagePromises[pageIndex] = this.getPageDict(pageIndex).then(
  5247. function (a) {
  5248. var dict = a[0];
  5249. var ref = a[1];
  5250. return new Page(this.pdfManager, this.xref, pageIndex, dict, ref,
  5251. this.fontCache);
  5252. }.bind(this)
  5253. );
  5254. }
  5255. return this.pagePromises[pageIndex];
  5256. },
  5257. getPageDict: function Catalog_getPageDict(pageIndex) {
  5258. var promise = new LegacyPromise();
  5259. var nodesToVisit = [this.catDict.getRaw('Pages')];
  5260. var currentPageIndex = 0;
  5261. var xref = this.xref;
  5262. function next() {
  5263. while (nodesToVisit.length) {
  5264. var currentNode = nodesToVisit.pop();
  5265. if (isRef(currentNode)) {
  5266. xref.fetchAsync(currentNode).then(function (obj) {
  5267. if ((isDict(obj, 'Page') || (isDict(obj) && !obj.has('Kids')))) {
  5268. if (pageIndex === currentPageIndex) {
  5269. promise.resolve([obj, currentNode]);
  5270. } else {
  5271. currentPageIndex++;
  5272. next();
  5273. }
  5274. return;
  5275. }
  5276. nodesToVisit.push(obj);
  5277. next();
  5278. }.bind(this), promise.reject.bind(promise));
  5279. return;
  5280. }
  5281. // must be a child page dictionary
  5282. assert(
  5283. isDict(currentNode),
  5284. 'page dictionary kid reference points to wrong type of object'
  5285. );
  5286. var count = currentNode.get('Count');
  5287. // Skip nodes where the page can't be.
  5288. if (currentPageIndex + count <= pageIndex) {
  5289. currentPageIndex += count;
  5290. continue;
  5291. }
  5292. var kids = currentNode.get('Kids');
  5293. assert(isArray(kids), 'page dictionary kids object is not an array');
  5294. if (count === kids.length) {
  5295. // Nodes that don't have the page have been skipped and this is the
  5296. // bottom of the tree which means the page requested must be a
  5297. // descendant of this pages node. Ideally we would just resolve the
  5298. // promise with the page ref here, but there is the case where more
  5299. // pages nodes could link to single a page (see issue 3666 pdf). To
  5300. // handle this push it back on the queue so if it is a pages node it
  5301. // will be descended into.
  5302. nodesToVisit = [kids[pageIndex - currentPageIndex]];
  5303. currentPageIndex = pageIndex;
  5304. continue;
  5305. } else {
  5306. for (var last = kids.length - 1; last >= 0; last--) {
  5307. nodesToVisit.push(kids[last]);
  5308. }
  5309. }
  5310. }
  5311. promise.reject('Page index ' + pageIndex + ' not found.');
  5312. }
  5313. next();
  5314. return promise;
  5315. },
  5316. getPageIndex: function Catalog_getPageIndex(ref) {
  5317. // The page tree nodes have the count of all the leaves below them. To get
  5318. // how many pages are before we just have to walk up the tree and keep
  5319. // adding the count of siblings to the left of the node.
  5320. var xref = this.xref;
  5321. function pagesBeforeRef(kidRef) {
  5322. var total = 0;
  5323. var parentRef;
  5324. return xref.fetchAsync(kidRef).then(function (node) {
  5325. if (!node) {
  5326. return null;
  5327. }
  5328. parentRef = node.getRaw('Parent');
  5329. return node.getAsync('Parent');
  5330. }).then(function (parent) {
  5331. if (!parent) {
  5332. return null;
  5333. }
  5334. return parent.getAsync('Kids');
  5335. }).then(function (kids) {
  5336. if (!kids) {
  5337. return null;
  5338. }
  5339. var kidPromises = [];
  5340. var found = false;
  5341. for (var i = 0; i < kids.length; i++) {
  5342. var kid = kids[i];
  5343. assert(isRef(kid), 'kids must be an ref');
  5344. if (kid.num == kidRef.num) {
  5345. found = true;
  5346. break;
  5347. }
  5348. kidPromises.push(xref.fetchAsync(kid).then(function (kid) {
  5349. if (kid.has('Count')) {
  5350. var count = kid.get('Count');
  5351. total += count;
  5352. } else { // page leaf node
  5353. total++;
  5354. }
  5355. }));
  5356. }
  5357. if (!found) {
  5358. error('kid ref not found in parents kids');
  5359. }
  5360. return Promise.all(kidPromises).then(function () {
  5361. return [total, parentRef];
  5362. });
  5363. });
  5364. }
  5365. var total = 0;
  5366. function next(ref) {
  5367. return pagesBeforeRef(ref).then(function (args) {
  5368. if (!args) {
  5369. return total;
  5370. }
  5371. var count = args[0];
  5372. var parentRef = args[1];
  5373. total += count;
  5374. return next(parentRef);
  5375. });
  5376. }
  5377. return next(ref);
  5378. }
  5379. };
  5380. return Catalog;
  5381. })();
  5382. var XRef = (function XRefClosure() {
  5383. function XRef(stream, password) {
  5384. this.stream = stream;
  5385. this.entries = [];
  5386. this.xrefstms = {};
  5387. // prepare the XRef cache
  5388. this.cache = [];
  5389. this.password = password;
  5390. }
  5391. XRef.prototype = {
  5392. setStartXRef: function XRef_setStartXRef(startXRef) {
  5393. // Store the starting positions of xref tables as we process them
  5394. // so we can recover from missing data errors
  5395. this.startXRefQueue = [startXRef];
  5396. },
  5397. parse: function XRef_parse(recoveryMode) {
  5398. var trailerDict;
  5399. if (!recoveryMode) {
  5400. trailerDict = this.readXRef();
  5401. } else {
  5402. warn('Indexing all PDF objects');
  5403. trailerDict = this.indexObjects();
  5404. }
  5405. trailerDict.assignXref(this);
  5406. this.trailer = trailerDict;
  5407. var encrypt = trailerDict.get('Encrypt');
  5408. if (encrypt) {
  5409. var ids = trailerDict.get('ID');
  5410. var fileId = (ids && ids.length) ? ids[0] : '';
  5411. this.encrypt = new CipherTransformFactory(
  5412. encrypt, fileId, this.password);
  5413. }
  5414. // get the root dictionary (catalog) object
  5415. if (!(this.root = trailerDict.get('Root'))) {
  5416. error('Invalid root reference');
  5417. }
  5418. },
  5419. processXRefTable: function XRef_processXRefTable(parser) {
  5420. if (!('tableState' in this)) {
  5421. // Stores state of the table as we process it so we can resume
  5422. // from middle of table in case of missing data error
  5423. this.tableState = {
  5424. entryNum: 0,
  5425. streamPos: parser.lexer.stream.pos,
  5426. parserBuf1: parser.buf1,
  5427. parserBuf2: parser.buf2
  5428. };
  5429. }
  5430. var obj = this.readXRefTable(parser);
  5431. // Sanity check
  5432. if (!isCmd(obj, 'trailer'))
  5433. error('Invalid XRef table: could not find trailer dictionary');
  5434. // Read trailer dictionary, e.g.
  5435. // trailer
  5436. // << /Size 22
  5437. // /Root 20R
  5438. // /Info 10R
  5439. // /ID [ <81b14aafa313db63dbd6f981e49f94f4> ]
  5440. // >>
  5441. // The parser goes through the entire stream << ... >> and provides
  5442. // a getter interface for the key-value table
  5443. var dict = parser.getObj();
  5444. if (!isDict(dict))
  5445. error('Invalid XRef table: could not parse trailer dictionary');
  5446. delete this.tableState;
  5447. return dict;
  5448. },
  5449. readXRefTable: function XRef_readXRefTable(parser) {
  5450. // Example of cross-reference table:
  5451. // xref
  5452. // 0 1 <-- subsection header (first obj #, obj count)
  5453. // 0000000000 65535 f <-- actual object (offset, generation #, f/n)
  5454. // 23 2 <-- subsection header ... and so on ...
  5455. // 0000025518 00002 n
  5456. // 0000025635 00000 n
  5457. // trailer
  5458. // ...
  5459. var stream = parser.lexer.stream;
  5460. var tableState = this.tableState;
  5461. stream.pos = tableState.streamPos;
  5462. parser.buf1 = tableState.parserBuf1;
  5463. parser.buf2 = tableState.parserBuf2;
  5464. // Outer loop is over subsection headers
  5465. var obj;
  5466. while (true) {
  5467. if (!('firstEntryNum' in tableState) || !('entryCount' in tableState)) {
  5468. if (isCmd(obj = parser.getObj(), 'trailer')) {
  5469. break;
  5470. }
  5471. tableState.firstEntryNum = obj;
  5472. tableState.entryCount = parser.getObj();
  5473. }
  5474. var first = tableState.firstEntryNum;
  5475. var count = tableState.entryCount;
  5476. if (!isInt(first) || !isInt(count))
  5477. error('Invalid XRef table: wrong types in subsection header');
  5478. // Inner loop is over objects themselves
  5479. for (var i = tableState.entryNum; i < count; i++) {
  5480. tableState.streamPos = stream.pos;
  5481. tableState.entryNum = i;
  5482. tableState.parserBuf1 = parser.buf1;
  5483. tableState.parserBuf2 = parser.buf2;
  5484. var entry = {};
  5485. entry.offset = parser.getObj();
  5486. entry.gen = parser.getObj();
  5487. var type = parser.getObj();
  5488. if (isCmd(type, 'f'))
  5489. entry.free = true;
  5490. else if (isCmd(type, 'n'))
  5491. entry.uncompressed = true;
  5492. // Validate entry obj
  5493. if (!isInt(entry.offset) || !isInt(entry.gen) ||
  5494. !(entry.free || entry.uncompressed)) {
  5495. console.log(entry.offset, entry.gen, entry.free,
  5496. entry.uncompressed);
  5497. error('Invalid entry in XRef subsection: ' + first + ', ' + count);
  5498. }
  5499. if (!this.entries[i + first])
  5500. this.entries[i + first] = entry;
  5501. }
  5502. tableState.entryNum = 0;
  5503. tableState.streamPos = stream.pos;
  5504. tableState.parserBuf1 = parser.buf1;
  5505. tableState.parserBuf2 = parser.buf2;
  5506. delete tableState.firstEntryNum;
  5507. delete tableState.entryCount;
  5508. }
  5509. // Per issue 3248: hp scanners generate bad XRef
  5510. if (first === 1 && this.entries[1] && this.entries[1].free) {
  5511. // shifting the entries
  5512. this.entries.shift();
  5513. }
  5514. // Sanity check: as per spec, first object must be free
  5515. if (this.entries[0] && !this.entries[0].free)
  5516. error('Invalid XRef table: unexpected first object');
  5517. return obj;
  5518. },
  5519. processXRefStream: function XRef_processXRefStream(stream) {
  5520. if (!('streamState' in this)) {
  5521. // Stores state of the stream as we process it so we can resume
  5522. // from middle of stream in case of missing data error
  5523. var streamParameters = stream.dict;
  5524. var byteWidths = streamParameters.get('W');
  5525. var range = streamParameters.get('Index');
  5526. if (!range) {
  5527. range = [0, streamParameters.get('Size')];
  5528. }
  5529. this.streamState = {
  5530. entryRanges: range,
  5531. byteWidths: byteWidths,
  5532. entryNum: 0,
  5533. streamPos: stream.pos
  5534. };
  5535. }
  5536. this.readXRefStream(stream);
  5537. delete this.streamState;
  5538. return stream.dict;
  5539. },
  5540. readXRefStream: function XRef_readXRefStream(stream) {
  5541. var i, j;
  5542. var streamState = this.streamState;
  5543. stream.pos = streamState.streamPos;
  5544. var byteWidths = streamState.byteWidths;
  5545. var typeFieldWidth = byteWidths[0];
  5546. var offsetFieldWidth = byteWidths[1];
  5547. var generationFieldWidth = byteWidths[2];
  5548. var entryRanges = streamState.entryRanges;
  5549. while (entryRanges.length > 0) {
  5550. var first = entryRanges[0];
  5551. var n = entryRanges[1];
  5552. if (!isInt(first) || !isInt(n))
  5553. error('Invalid XRef range fields: ' + first + ', ' + n);
  5554. if (!isInt(typeFieldWidth) || !isInt(offsetFieldWidth) ||
  5555. !isInt(generationFieldWidth)) {
  5556. error('Invalid XRef entry fields length: ' + first + ', ' + n);
  5557. }
  5558. for (i = streamState.entryNum; i < n; ++i) {
  5559. streamState.entryNum = i;
  5560. streamState.streamPos = stream.pos;
  5561. var type = 0, offset = 0, generation = 0;
  5562. for (j = 0; j < typeFieldWidth; ++j)
  5563. type = (type << 8) | stream.getByte();
  5564. // if type field is absent, its default value = 1
  5565. if (typeFieldWidth === 0)
  5566. type = 1;
  5567. for (j = 0; j < offsetFieldWidth; ++j)
  5568. offset = (offset << 8) | stream.getByte();
  5569. for (j = 0; j < generationFieldWidth; ++j)
  5570. generation = (generation << 8) | stream.getByte();
  5571. var entry = {};
  5572. entry.offset = offset;
  5573. entry.gen = generation;
  5574. switch (type) {
  5575. case 0:
  5576. entry.free = true;
  5577. break;
  5578. case 1:
  5579. entry.uncompressed = true;
  5580. break;
  5581. case 2:
  5582. break;
  5583. default:
  5584. error('Invalid XRef entry type: ' + type);
  5585. }
  5586. if (!this.entries[first + i])
  5587. this.entries[first + i] = entry;
  5588. }
  5589. streamState.entryNum = 0;
  5590. streamState.streamPos = stream.pos;
  5591. entryRanges.splice(0, 2);
  5592. }
  5593. },
  5594. indexObjects: function XRef_indexObjects() {
  5595. // Simple scan through the PDF content to find objects,
  5596. // trailers and XRef streams.
  5597. function readToken(data, offset) {
  5598. var token = '', ch = data[offset];
  5599. while (ch !== 13 && ch !== 10) {
  5600. if (++offset >= data.length)
  5601. break;
  5602. token += String.fromCharCode(ch);
  5603. ch = data[offset];
  5604. }
  5605. return token;
  5606. }
  5607. function skipUntil(data, offset, what) {
  5608. var length = what.length, dataLength = data.length;
  5609. var skipped = 0;
  5610. // finding byte sequence
  5611. while (offset < dataLength) {
  5612. var i = 0;
  5613. while (i < length && data[offset + i] == what[i])
  5614. ++i;
  5615. if (i >= length)
  5616. break; // sequence found
  5617. offset++;
  5618. skipped++;
  5619. }
  5620. return skipped;
  5621. }
  5622. var trailerBytes = new Uint8Array([116, 114, 97, 105, 108, 101, 114]);
  5623. var startxrefBytes = new Uint8Array([115, 116, 97, 114, 116, 120, 114,
  5624. 101, 102]);
  5625. var endobjBytes = new Uint8Array([101, 110, 100, 111, 98, 106]);
  5626. var xrefBytes = new Uint8Array([47, 88, 82, 101, 102]);
  5627. var stream = this.stream;
  5628. stream.pos = 0;
  5629. var buffer = stream.getBytes();
  5630. var position = stream.start, length = buffer.length;
  5631. var trailers = [], xrefStms = [];
  5632. var state = 0;
  5633. var currentToken;
  5634. while (position < length) {
  5635. var ch = buffer[position];
  5636. if (ch === 32 || ch === 9 || ch === 13 || ch === 10) {
  5637. ++position;
  5638. continue;
  5639. }
  5640. if (ch === 37) { // %-comment
  5641. do {
  5642. ++position;
  5643. if (position >= length) {
  5644. break;
  5645. }
  5646. ch = buffer[position];
  5647. } while (ch !== 13 && ch !== 10);
  5648. continue;
  5649. }
  5650. var token = readToken(buffer, position);
  5651. var m;
  5652. if (token === 'xref') {
  5653. position += skipUntil(buffer, position, trailerBytes);
  5654. trailers.push(position);
  5655. position += skipUntil(buffer, position, startxrefBytes);
  5656. } else if ((m = /^(\d+)\s+(\d+)\s+obj\b/.exec(token))) {
  5657. this.entries[m[1]] = {
  5658. offset: position,
  5659. gen: m[2] | 0,
  5660. uncompressed: true
  5661. };
  5662. var contentLength = skipUntil(buffer, position, endobjBytes) + 7;
  5663. var content = buffer.subarray(position, position + contentLength);
  5664. // checking XRef stream suspect
  5665. // (it shall have '/XRef' and next char is not a letter)
  5666. var xrefTagOffset = skipUntil(content, 0, xrefBytes);
  5667. if (xrefTagOffset < contentLength &&
  5668. content[xrefTagOffset + 5] < 64) {
  5669. xrefStms.push(position);
  5670. this.xrefstms[position] = 1; // don't read it recursively
  5671. }
  5672. position += contentLength;
  5673. } else
  5674. position += token.length + 1;
  5675. }
  5676. // reading XRef streams
  5677. for (var i = 0, ii = xrefStms.length; i < ii; ++i) {
  5678. this.startXRefQueue.push(xrefStms[i]);
  5679. this.readXRef(/* recoveryMode */ true);
  5680. }
  5681. // finding main trailer
  5682. var dict;
  5683. for (var i = 0, ii = trailers.length; i < ii; ++i) {
  5684. stream.pos = trailers[i];
  5685. var parser = new Parser(new Lexer(stream), true, null);
  5686. var obj = parser.getObj();
  5687. if (!isCmd(obj, 'trailer'))
  5688. continue;
  5689. // read the trailer dictionary
  5690. if (!isDict(dict = parser.getObj()))
  5691. continue;
  5692. // taking the first one with 'ID'
  5693. if (dict.has('ID'))
  5694. return dict;
  5695. }
  5696. // no tailer with 'ID', taking last one (if exists)
  5697. if (dict)
  5698. return dict;
  5699. // nothing helps
  5700. // calling error() would reject worker with an UnknownErrorException.
  5701. throw new InvalidPDFException('Invalid PDF structure');
  5702. },
  5703. readXRef: function XRef_readXRef(recoveryMode) {
  5704. var stream = this.stream;
  5705. try {
  5706. while (this.startXRefQueue.length) {
  5707. var startXRef = this.startXRefQueue[0];
  5708. stream.pos = startXRef;
  5709. var parser = new Parser(new Lexer(stream), true, null);
  5710. var obj = parser.getObj();
  5711. var dict;
  5712. // Get dictionary
  5713. if (isCmd(obj, 'xref')) {
  5714. // Parse end-of-file XRef
  5715. dict = this.processXRefTable(parser);
  5716. if (!this.topDict) {
  5717. this.topDict = dict;
  5718. }
  5719. // Recursively get other XRefs 'XRefStm', if any
  5720. obj = dict.get('XRefStm');
  5721. if (isInt(obj)) {
  5722. var pos = obj;
  5723. // ignore previously loaded xref streams
  5724. // (possible infinite recursion)
  5725. if (!(pos in this.xrefstms)) {
  5726. this.xrefstms[pos] = 1;
  5727. this.startXRefQueue.push(pos);
  5728. }
  5729. }
  5730. } else if (isInt(obj)) {
  5731. // Parse in-stream XRef
  5732. if (!isInt(parser.getObj()) ||
  5733. !isCmd(parser.getObj(), 'obj') ||
  5734. !isStream(obj = parser.getObj())) {
  5735. error('Invalid XRef stream');
  5736. }
  5737. dict = this.processXRefStream(obj);
  5738. if (!this.topDict) {
  5739. this.topDict = dict;
  5740. }
  5741. if (!dict)
  5742. error('Failed to read XRef stream');
  5743. } else {
  5744. error('Invalid XRef stream header');
  5745. }
  5746. // Recursively get previous dictionary, if any
  5747. obj = dict.get('Prev');
  5748. if (isInt(obj)) {
  5749. this.startXRefQueue.push(obj);
  5750. } else if (isRef(obj)) {
  5751. // The spec says Prev must not be a reference, i.e. "/Prev NNN"
  5752. // This is a fallback for non-compliant PDFs, i.e. "/Prev NNN 0 R"
  5753. this.startXRefQueue.push(obj.num);
  5754. }
  5755. this.startXRefQueue.shift();
  5756. }
  5757. return this.topDict;
  5758. } catch (e) {
  5759. if (e instanceof MissingDataException) {
  5760. throw e;
  5761. }
  5762. info('(while reading XRef): ' + e);
  5763. }
  5764. if (recoveryMode)
  5765. return;
  5766. throw new XRefParseException();
  5767. },
  5768. getEntry: function XRef_getEntry(i) {
  5769. var e = this.entries[i];
  5770. if (e === null)
  5771. return null;
  5772. return e.free || !e.offset ? null : e; // returns null if entry is free
  5773. },
  5774. fetchIfRef: function XRef_fetchIfRef(obj) {
  5775. if (!isRef(obj))
  5776. return obj;
  5777. return this.fetch(obj);
  5778. },
  5779. fetch: function XRef_fetch(ref, suppressEncryption) {
  5780. assertWellFormed(isRef(ref), 'ref object is not a reference');
  5781. var num = ref.num;
  5782. var e;
  5783. if (num in this.cache) {
  5784. e = this.cache[num];
  5785. if (e instanceof Stream) {
  5786. return e.makeSubStream(e.start, e.length, e.dict);
  5787. }
  5788. return e;
  5789. }
  5790. e = this.getEntry(num);
  5791. // the referenced entry can be free
  5792. if (e === null)
  5793. return (this.cache[num] = e);
  5794. var gen = ref.gen;
  5795. var stream, parser;
  5796. if (e.uncompressed) {
  5797. if (e.gen != gen)
  5798. error('inconsistent generation in XRef');
  5799. stream = this.stream.makeSubStream(e.offset);
  5800. parser = new Parser(new Lexer(stream), true, this);
  5801. var obj1 = parser.getObj();
  5802. var obj2 = parser.getObj();
  5803. var obj3 = parser.getObj();
  5804. if (!isInt(obj1) || obj1 != num ||
  5805. !isInt(obj2) || obj2 != gen ||
  5806. !isCmd(obj3)) {
  5807. error('bad XRef entry');
  5808. }
  5809. if (!isCmd(obj3, 'obj')) {
  5810. // some bad pdfs use "obj1234" and really mean 1234
  5811. if (obj3.cmd.indexOf('obj') === 0) {
  5812. num = parseInt(obj3.cmd.substring(3), 10);
  5813. if (!isNaN(num))
  5814. return num;
  5815. }
  5816. error('bad XRef entry');
  5817. }
  5818. if (this.encrypt && !suppressEncryption) {
  5819. try {
  5820. e = parser.getObj(this.encrypt.createCipherTransform(num, gen));
  5821. } catch (ex) {
  5822. // almost all streams must be encrypted, but sometimes
  5823. // they are not probably due to some broken generators
  5824. // re-trying without encryption
  5825. return this.fetch(ref, true);
  5826. }
  5827. } else {
  5828. e = parser.getObj();
  5829. }
  5830. if (!isStream(e)) {
  5831. this.cache[num] = e;
  5832. }
  5833. return e;
  5834. }
  5835. // compressed entry
  5836. var tableOffset = e.offset;
  5837. stream = this.fetch(new Ref(tableOffset, 0));
  5838. if (!isStream(stream))
  5839. error('bad ObjStm stream');
  5840. var first = stream.dict.get('First');
  5841. var n = stream.dict.get('N');
  5842. if (!isInt(first) || !isInt(n)) {
  5843. error('invalid first and n parameters for ObjStm stream');
  5844. }
  5845. parser = new Parser(new Lexer(stream), false, this);
  5846. parser.allowStreams = true;
  5847. var i, entries = [], nums = [];
  5848. // read the object numbers to populate cache
  5849. for (i = 0; i < n; ++i) {
  5850. num = parser.getObj();
  5851. if (!isInt(num)) {
  5852. error('invalid object number in the ObjStm stream: ' + num);
  5853. }
  5854. nums.push(num);
  5855. var offset = parser.getObj();
  5856. if (!isInt(offset)) {
  5857. error('invalid object offset in the ObjStm stream: ' + offset);
  5858. }
  5859. }
  5860. // read stream objects for cache
  5861. for (i = 0; i < n; ++i) {
  5862. entries.push(parser.getObj());
  5863. num = nums[i];
  5864. var entry = this.entries[num];
  5865. if (entry && entry.offset === tableOffset && entry.gen === i) {
  5866. this.cache[num] = entries[i];
  5867. }
  5868. }
  5869. e = entries[e.gen];
  5870. if (e === undefined) {
  5871. error('bad XRef entry for compressed object');
  5872. }
  5873. return e;
  5874. },
  5875. fetchIfRefAsync: function XRef_fetchIfRefAsync(obj) {
  5876. if (!isRef(obj)) {
  5877. var promise = new LegacyPromise();
  5878. promise.resolve(obj);
  5879. return promise;
  5880. }
  5881. return this.fetchAsync(obj);
  5882. },
  5883. fetchAsync: function XRef_fetchAsync(ref, suppressEncryption) {
  5884. var promise = new LegacyPromise();
  5885. var tryFetch = function (promise) {
  5886. try {
  5887. promise.resolve(this.fetch(ref, suppressEncryption));
  5888. } catch (e) {
  5889. if (e instanceof MissingDataException) {
  5890. this.stream.manager.requestRange(e.begin, e.end, tryFetch);
  5891. return;
  5892. }
  5893. promise.reject(e);
  5894. }
  5895. }.bind(this, promise);
  5896. tryFetch();
  5897. return promise;
  5898. },
  5899. getCatalogObj: function XRef_getCatalogObj() {
  5900. return this.root;
  5901. }
  5902. };
  5903. return XRef;
  5904. })();
  5905. /**
  5906. * A NameTree is like a Dict but has some adventagous properties, see the spec
  5907. * (7.9.6) for more details.
  5908. * TODO: implement all the Dict functions and make this more efficent.
  5909. */
  5910. var NameTree = (function NameTreeClosure() {
  5911. function NameTree(root, xref) {
  5912. this.root = root;
  5913. this.xref = xref;
  5914. }
  5915. NameTree.prototype = {
  5916. getAll: function NameTree_getAll() {
  5917. var dict = {};
  5918. if (!this.root) {
  5919. return dict;
  5920. }
  5921. var xref = this.xref;
  5922. // reading name tree
  5923. var processed = new RefSet();
  5924. processed.put(this.root);
  5925. var queue = [this.root];
  5926. while (queue.length > 0) {
  5927. var i, n;
  5928. var obj = xref.fetchIfRef(queue.shift());
  5929. if (!isDict(obj)) {
  5930. continue;
  5931. }
  5932. if (obj.has('Kids')) {
  5933. var kids = obj.get('Kids');
  5934. for (i = 0, n = kids.length; i < n; i++) {
  5935. var kid = kids[i];
  5936. if (processed.has(kid))
  5937. error('invalid destinations');
  5938. queue.push(kid);
  5939. processed.put(kid);
  5940. }
  5941. continue;
  5942. }
  5943. var names = obj.get('Names');
  5944. if (names) {
  5945. for (i = 0, n = names.length; i < n; i += 2) {
  5946. dict[names[i]] = xref.fetchIfRef(names[i + 1]);
  5947. }
  5948. }
  5949. }
  5950. return dict;
  5951. }
  5952. };
  5953. return NameTree;
  5954. })();
  5955. /**
  5956. * A helper for loading missing data in object graphs. It traverses the graph
  5957. * depth first and queues up any objects that have missing data. Once it has
  5958. * has traversed as many objects that are available it attempts to bundle the
  5959. * missing data requests and then resume from the nodes that weren't ready.
  5960. *
  5961. * NOTE: It provides protection from circular references by keeping track of
  5962. * of loaded references. However, you must be careful not to load any graphs
  5963. * that have references to the catalog or other pages since that will cause the
  5964. * entire PDF document object graph to be traversed.
  5965. */
  5966. var ObjectLoader = (function() {
  5967. function mayHaveChildren(value) {
  5968. return isRef(value) || isDict(value) || isArray(value) || isStream(value);
  5969. }
  5970. function addChildren(node, nodesToVisit) {
  5971. if (isDict(node) || isStream(node)) {
  5972. var map;
  5973. if (isDict(node)) {
  5974. map = node.map;
  5975. } else {
  5976. map = node.dict.map;
  5977. }
  5978. for (var key in map) {
  5979. var value = map[key];
  5980. if (mayHaveChildren(value)) {
  5981. nodesToVisit.push(value);
  5982. }
  5983. }
  5984. } else if (isArray(node)) {
  5985. for (var i = 0, ii = node.length; i < ii; i++) {
  5986. var value = node[i];
  5987. if (mayHaveChildren(value)) {
  5988. nodesToVisit.push(value);
  5989. }
  5990. }
  5991. }
  5992. }
  5993. function ObjectLoader(obj, keys, xref) {
  5994. this.obj = obj;
  5995. this.keys = keys;
  5996. this.xref = xref;
  5997. this.refSet = null;
  5998. }
  5999. ObjectLoader.prototype = {
  6000. load: function ObjectLoader_load() {
  6001. var keys = this.keys;
  6002. this.promise = new LegacyPromise();
  6003. // Don't walk the graph if all the data is already loaded.
  6004. if (!(this.xref.stream instanceof ChunkedStream) ||
  6005. this.xref.stream.getMissingChunks().length === 0) {
  6006. this.promise.resolve();
  6007. return this.promise;
  6008. }
  6009. this.refSet = new RefSet();
  6010. // Setup the initial nodes to visit.
  6011. var nodesToVisit = [];
  6012. for (var i = 0; i < keys.length; i++) {
  6013. nodesToVisit.push(this.obj[keys[i]]);
  6014. }
  6015. this.walk(nodesToVisit);
  6016. return this.promise;
  6017. },
  6018. walk: function ObjectLoader_walk(nodesToVisit) {
  6019. var nodesToRevisit = [];
  6020. var pendingRequests = [];
  6021. // DFS walk of the object graph.
  6022. while (nodesToVisit.length) {
  6023. var currentNode = nodesToVisit.pop();
  6024. // Only references or chunked streams can cause missing data exceptions.
  6025. if (isRef(currentNode)) {
  6026. // Skip nodes that have already been visited.
  6027. if (this.refSet.has(currentNode)) {
  6028. continue;
  6029. }
  6030. try {
  6031. var ref = currentNode;
  6032. this.refSet.put(ref);
  6033. currentNode = this.xref.fetch(currentNode);
  6034. } catch (e) {
  6035. if (!(e instanceof MissingDataException)) {
  6036. throw e;
  6037. }
  6038. nodesToRevisit.push(currentNode);
  6039. pendingRequests.push({ begin: e.begin, end: e.end });
  6040. }
  6041. }
  6042. if (currentNode && currentNode.getBaseStreams) {
  6043. var baseStreams = currentNode.getBaseStreams();
  6044. var foundMissingData = false;
  6045. for (var i = 0; i < baseStreams.length; i++) {
  6046. var stream = baseStreams[i];
  6047. if (stream.getMissingChunks && stream.getMissingChunks().length) {
  6048. foundMissingData = true;
  6049. pendingRequests.push({
  6050. begin: stream.start,
  6051. end: stream.end
  6052. });
  6053. }
  6054. }
  6055. if (foundMissingData) {
  6056. nodesToRevisit.push(currentNode);
  6057. }
  6058. }
  6059. addChildren(currentNode, nodesToVisit);
  6060. }
  6061. if (pendingRequests.length) {
  6062. this.xref.stream.manager.requestRanges(pendingRequests,
  6063. function pendingRequestCallback() {
  6064. nodesToVisit = nodesToRevisit;
  6065. for (var i = 0; i < nodesToRevisit.length; i++) {
  6066. var node = nodesToRevisit[i];
  6067. // Remove any reference nodes from the currrent refset so they
  6068. // aren't skipped when we revist them.
  6069. if (isRef(node)) {
  6070. this.refSet.remove(node);
  6071. }
  6072. }
  6073. this.walk(nodesToVisit);
  6074. }.bind(this));
  6075. return;
  6076. }
  6077. // Everything is loaded.
  6078. this.refSet = null;
  6079. this.promise.resolve();
  6080. }
  6081. };
  6082. return ObjectLoader;
  6083. })();
  6084. var ISOAdobeCharset = [
  6085. '.notdef', 'space', 'exclam', 'quotedbl', 'numbersign', 'dollar',
  6086. 'percent', 'ampersand', 'quoteright', 'parenleft', 'parenright',
  6087. 'asterisk', 'plus', 'comma', 'hyphen', 'period', 'slash', 'zero',
  6088. 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight',
  6089. 'nine', 'colon', 'semicolon', 'less', 'equal', 'greater', 'question',
  6090. 'at', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M',
  6091. 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z',
  6092. 'bracketleft', 'backslash', 'bracketright', 'asciicircum', 'underscore',
  6093. 'quoteleft', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l',
  6094. 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z',
  6095. 'braceleft', 'bar', 'braceright', 'asciitilde', 'exclamdown', 'cent',
  6096. 'sterling', 'fraction', 'yen', 'florin', 'section', 'currency',
  6097. 'quotesingle', 'quotedblleft', 'guillemotleft', 'guilsinglleft',
  6098. 'guilsinglright', 'fi', 'fl', 'endash', 'dagger', 'daggerdbl',
  6099. 'periodcentered', 'paragraph', 'bullet', 'quotesinglbase',
  6100. 'quotedblbase', 'quotedblright', 'guillemotright', 'ellipsis',
  6101. 'perthousand', 'questiondown', 'grave', 'acute', 'circumflex', 'tilde',
  6102. 'macron', 'breve', 'dotaccent', 'dieresis', 'ring', 'cedilla',
  6103. 'hungarumlaut', 'ogonek', 'caron', 'emdash', 'AE', 'ordfeminine',
  6104. 'Lslash', 'Oslash', 'OE', 'ordmasculine', 'ae', 'dotlessi', 'lslash',
  6105. 'oslash', 'oe', 'germandbls', 'onesuperior', 'logicalnot', 'mu',
  6106. 'trademark', 'Eth', 'onehalf', 'plusminus', 'Thorn', 'onequarter',
  6107. 'divide', 'brokenbar', 'degree', 'thorn', 'threequarters', 'twosuperior',
  6108. 'registered', 'minus', 'eth', 'multiply', 'threesuperior', 'copyright',
  6109. 'Aacute', 'Acircumflex', 'Adieresis', 'Agrave', 'Aring', 'Atilde',
  6110. 'Ccedilla', 'Eacute', 'Ecircumflex', 'Edieresis', 'Egrave', 'Iacute',
  6111. 'Icircumflex', 'Idieresis', 'Igrave', 'Ntilde', 'Oacute', 'Ocircumflex',
  6112. 'Odieresis', 'Ograve', 'Otilde', 'Scaron', 'Uacute', 'Ucircumflex',
  6113. 'Udieresis', 'Ugrave', 'Yacute', 'Ydieresis', 'Zcaron', 'aacute',
  6114. 'acircumflex', 'adieresis', 'agrave', 'aring', 'atilde', 'ccedilla',
  6115. 'eacute', 'ecircumflex', 'edieresis', 'egrave', 'iacute', 'icircumflex',
  6116. 'idieresis', 'igrave', 'ntilde', 'oacute', 'ocircumflex', 'odieresis',
  6117. 'ograve', 'otilde', 'scaron', 'uacute', 'ucircumflex', 'udieresis',
  6118. 'ugrave', 'yacute', 'ydieresis', 'zcaron'
  6119. ];
  6120. var ExpertCharset = [
  6121. '.notdef', 'space', 'exclamsmall', 'Hungarumlautsmall', 'dollaroldstyle',
  6122. 'dollarsuperior', 'ampersandsmall', 'Acutesmall', 'parenleftsuperior',
  6123. 'parenrightsuperior', 'twodotenleader', 'onedotenleader', 'comma',
  6124. 'hyphen', 'period', 'fraction', 'zerooldstyle', 'oneoldstyle',
  6125. 'twooldstyle', 'threeoldstyle', 'fouroldstyle', 'fiveoldstyle',
  6126. 'sixoldstyle', 'sevenoldstyle', 'eightoldstyle', 'nineoldstyle',
  6127. 'colon', 'semicolon', 'commasuperior', 'threequartersemdash',
  6128. 'periodsuperior', 'questionsmall', 'asuperior', 'bsuperior',
  6129. 'centsuperior', 'dsuperior', 'esuperior', 'isuperior', 'lsuperior',
  6130. 'msuperior', 'nsuperior', 'osuperior', 'rsuperior', 'ssuperior',
  6131. 'tsuperior', 'ff', 'fi', 'fl', 'ffi', 'ffl', 'parenleftinferior',
  6132. 'parenrightinferior', 'Circumflexsmall', 'hyphensuperior', 'Gravesmall',
  6133. 'Asmall', 'Bsmall', 'Csmall', 'Dsmall', 'Esmall', 'Fsmall', 'Gsmall',
  6134. 'Hsmall', 'Ismall', 'Jsmall', 'Ksmall', 'Lsmall', 'Msmall', 'Nsmall',
  6135. 'Osmall', 'Psmall', 'Qsmall', 'Rsmall', 'Ssmall', 'Tsmall', 'Usmall',
  6136. 'Vsmall', 'Wsmall', 'Xsmall', 'Ysmall', 'Zsmall', 'colonmonetary',
  6137. 'onefitted', 'rupiah', 'Tildesmall', 'exclamdownsmall', 'centoldstyle',
  6138. 'Lslashsmall', 'Scaronsmall', 'Zcaronsmall', 'Dieresissmall',
  6139. 'Brevesmall', 'Caronsmall', 'Dotaccentsmall', 'Macronsmall',
  6140. 'figuredash', 'hypheninferior', 'Ogoneksmall', 'Ringsmall',
  6141. 'Cedillasmall', 'onequarter', 'onehalf', 'threequarters',
  6142. 'questiondownsmall', 'oneeighth', 'threeeighths', 'fiveeighths',
  6143. 'seveneighths', 'onethird', 'twothirds', 'zerosuperior', 'onesuperior',
  6144. 'twosuperior', 'threesuperior', 'foursuperior', 'fivesuperior',
  6145. 'sixsuperior', 'sevensuperior', 'eightsuperior', 'ninesuperior',
  6146. 'zeroinferior', 'oneinferior', 'twoinferior', 'threeinferior',
  6147. 'fourinferior', 'fiveinferior', 'sixinferior', 'seveninferior',
  6148. 'eightinferior', 'nineinferior', 'centinferior', 'dollarinferior',
  6149. 'periodinferior', 'commainferior', 'Agravesmall', 'Aacutesmall',
  6150. 'Acircumflexsmall', 'Atildesmall', 'Adieresissmall', 'Aringsmall',
  6151. 'AEsmall', 'Ccedillasmall', 'Egravesmall', 'Eacutesmall',
  6152. 'Ecircumflexsmall', 'Edieresissmall', 'Igravesmall', 'Iacutesmall',
  6153. 'Icircumflexsmall', 'Idieresissmall', 'Ethsmall', 'Ntildesmall',
  6154. 'Ogravesmall', 'Oacutesmall', 'Ocircumflexsmall', 'Otildesmall',
  6155. 'Odieresissmall', 'OEsmall', 'Oslashsmall', 'Ugravesmall', 'Uacutesmall',
  6156. 'Ucircumflexsmall', 'Udieresissmall', 'Yacutesmall', 'Thornsmall',
  6157. 'Ydieresissmall'
  6158. ];
  6159. var ExpertSubsetCharset = [
  6160. '.notdef', 'space', 'dollaroldstyle', 'dollarsuperior',
  6161. 'parenleftsuperior', 'parenrightsuperior', 'twodotenleader',
  6162. 'onedotenleader', 'comma', 'hyphen', 'period', 'fraction',
  6163. 'zerooldstyle', 'oneoldstyle', 'twooldstyle', 'threeoldstyle',
  6164. 'fouroldstyle', 'fiveoldstyle', 'sixoldstyle', 'sevenoldstyle',
  6165. 'eightoldstyle', 'nineoldstyle', 'colon', 'semicolon', 'commasuperior',
  6166. 'threequartersemdash', 'periodsuperior', 'asuperior', 'bsuperior',
  6167. 'centsuperior', 'dsuperior', 'esuperior', 'isuperior', 'lsuperior',
  6168. 'msuperior', 'nsuperior', 'osuperior', 'rsuperior', 'ssuperior',
  6169. 'tsuperior', 'ff', 'fi', 'fl', 'ffi', 'ffl', 'parenleftinferior',
  6170. 'parenrightinferior', 'hyphensuperior', 'colonmonetary', 'onefitted',
  6171. 'rupiah', 'centoldstyle', 'figuredash', 'hypheninferior', 'onequarter',
  6172. 'onehalf', 'threequarters', 'oneeighth', 'threeeighths', 'fiveeighths',
  6173. 'seveneighths', 'onethird', 'twothirds', 'zerosuperior', 'onesuperior',
  6174. 'twosuperior', 'threesuperior', 'foursuperior', 'fivesuperior',
  6175. 'sixsuperior', 'sevensuperior', 'eightsuperior', 'ninesuperior',
  6176. 'zeroinferior', 'oneinferior', 'twoinferior', 'threeinferior',
  6177. 'fourinferior', 'fiveinferior', 'sixinferior', 'seveninferior',
  6178. 'eightinferior', 'nineinferior', 'centinferior', 'dollarinferior',
  6179. 'periodinferior', 'commainferior'
  6180. ];
  6181. var CIDToUnicodeMaps = {
  6182. 'Adobe-Japan1': [[32, 160], {f: 12, c: 33}, [45, 8209], {f: 46, c: 46}, 165,
  6183. {f: 2, c: 93}, [95, 818], [96, 768], {f: 27, c: 97}, 166, 125, [732, 771],
  6184. [700, 8217], 92, [699, 8216], 124, [126, 8764], {f: 3, c: 161}, 8260, 402,
  6185. 0, 164, 8220, 171, {f: 2, c: 8249}, {f: 2, c: 64257}, [8210, 8211], 0, 0,
  6186. [183, 8729], 0, 8226, 8218, 8222, 8221, 187, 0, 0, 191, {f: 2, c: 769},
  6187. [175, 772], {f: 3, c: 774}, 778, [184, 807], 779, 808, 780, [822, 8212],
  6188. 198, 170, 321, 216, 338, 186, 230, 305, 322, 248, 339, 223, 173, 169, 172,
  6189. 174, 0, 0, {f: 2, c: 178}, 181, 185, {f: 3, c: 188}, {f: 6, c: 192},
  6190. {f: 16, c: 199}, 0, {f: 6, c: 217}, {f: 6, c: 224}, {f: 16, c: 231}, 0,
  6191. {f: 7, c: 249}, 352, 376, 381, [773, 8254], 353, 8482, 382, 0, 8194,
  6192. {f: 59, c: 33}, 165, {f: 31, c: 93}, 65512, {f: 2, c: 125}, 0,
  6193. {f: 63, c: 65377}, {s: 243}, [8195, 12288],
  6194. {f: 2, c: 12289}, 65292, 65294, 12539, {f: 2, c: 65306}, 65311, 65281,
  6195. {f: 2, c: 12443}, 180, 65344, 168, 65342, 65507, 65343, {f: 2, c: 12541},
  6196. {f: 2, c: 12445}, 12291, 20189, {f: 3, c: 12293}, 12540, 8213, 8208, 65295,
  6197. 65340, [12316, 65374], 8214, 65372, 8230, 8229, {s: 4}, {f: 2, c: 65288},
  6198. {f: 2, c: 12308}, 65339, 65341, 65371, 65373, {f: 10, c: 12296}, 65291,
  6199. [8722, 65293], 177, 215, 247, 65309, 8800, 65308, 65310, {f: 2, c: 8806},
  6200. 8734, 8756, 9794, 9792, 176, {f: 2, c: 8242}, 8451, 65509, 65284,
  6201. {f: 2, c: 65504}, 65285, 65283, 65286, 65290, 65312, 167, 9734, 9733, 9675,
  6202. 9679, 9678, 9671, 9670, 9633, 9632, 9651, 9650, 9661, 9660, 8251, 12306,
  6203. 8594, {f: 2, c: 8592}, 8595, 12307, 8712, 8715, {f: 2, c: 8838},
  6204. {f: 2, c: 8834}, 8746, 8745, {f: 2, c: 8743}, 65506, 8658, 8660, 8704,
  6205. 8707, 8736, 8869, 8978, 8706, 8711, 8801, 8786, {f: 2, c: 8810}, 8730,
  6206. 8765, 8733, 8757, {f: 2, c: 8747}, 8491, 8240, 9839, 9837, 9834,
  6207. {f: 2, c: 8224}, 182, 9711, {f: 10, c: 65296}, {f: 26, c: 65313},
  6208. {f: 26, c: 65345}, {f: 83, c: 12353}, {f: 86, c: 12449}, {f: 17, c: 913},
  6209. {f: 7, c: 931}, {f: 17, c: 945}, {f: 7, c: 963}, {f: 6, c: 1040}, 1025,
  6210. {f: 32, c: 1046}, 1105, {f: 26, c: 1078}, 20124, 21782, 23043, 38463,
  6211. 21696, 24859, 25384, 23030, 36898, 33909, 33564, 31312, 24746, 25569,
  6212. 28197, 26093, 33894, 33446, 39925, 26771, 22311, 26017, 25201, 23451,
  6213. 22992, 34427, 39156, 32098, 32190, 39822, 25110, 31903, 34999, 23433,
  6214. 24245, 25353, 26263, 26696, 38343, 38797, 26447, 20197, 20234, 20301,
  6215. 20381, 20553, 22258, 22839, 22996, 23041, 23561, 24799, 24847, 24944,
  6216. 26131, 26885, 28858, 30031, 30064, 31227, 32173, 32239, 32963, 33806,
  6217. [12176, 34915], 35586, 36949, 36986, 21307, 20117, 20133, 22495, 32946,
  6218. 37057, 30959, [12032, 19968], 22769, 28322, 36920, 31282, 33576, 33419,
  6219. 39983, 20801, 21360, 21693, 21729, 22240, 23035, 24341, 39154, 28139,
  6220. 32996, 34093, 38498, 38512, 38560, 38907, 21515, 21491, 23431, 28879,
  6221. [12155, 32701], 36802, [12204, 38632], 21359, 40284, 31418, 19985, 30867,
  6222. [12165, 33276], 28198, 22040, 21764, 27421, 34074, 39995, 23013, 21417,
  6223. 28006, [12128, 29916], 38287, 22082, 20113, 36939, 38642, 33615, 39180,
  6224. 21473, 21942, 23344, 24433, 26144, 26355, 26628, 27704, 27891, 27945,
  6225. 29787, 30408, 31310, 38964, 33521, 34907, 35424, 37613, 28082, 30123,
  6226. 30410, 39365, 24742, 35585, 36234, 38322, 27022, 21421, 20870, 22290,
  6227. 22576, 22852, 23476, 24310, 24616, 25513, 25588, 27839, 28436, 28814,
  6228. 28948, 29017, 29141, 29503, 32257, 33398, 33489, 34199, 36960, 37467,
  6229. 40219, 22633, 26044, 27738, 29989, 20985, 22830, 22885, 24448, 24540,
  6230. 25276, 26106, 27178, 27431, 27572, 29579, 32705, 35158, 40236, 40206,
  6231. [12009, 40644], 23713, 27798, 33659, 20740, 23627, 25014, 33222, 26742,
  6232. 29281, [12036, 20057], 20474, 21368, 24681, 28201, 31311, [12211, 38899],
  6233. 19979, 21270, 20206, 20309, 20285, 20385, 20339, 21152, 21487, 22025,
  6234. 22799, 23233, 23478, 23521, 31185, 26247, 26524, 26550, 27468, 27827,
  6235. [12117, 28779], 29634, 31117, [12146, 31166], 31292, 31623, 33457, 33499,
  6236. 33540, 33655, 33775, 33747, 34662, 35506, 22057, 36008, 36838, 36942,
  6237. 38686, 34442, 20420, 23784, 25105, [12123, 29273], 30011, 33253, 33469,
  6238. 34558, 36032, 38597, 39187, 39381, 20171, 20250, 35299, 22238, 22602,
  6239. 22730, 24315, 24555, 24618, 24724, 24674, 25040, 25106, 25296, 25913,
  6240. 39745, 26214, 26800, 28023, 28784, 30028, 30342, 32117, 33445, 34809,
  6241. 38283, 38542, [12185, 35997], 20977, 21182, 22806, 21683, 23475, 23830,
  6242. 24936, 27010, 28079, 30861, 33995, 34903, 35442, 37799, 39608, 28012,
  6243. 39336, 34521, 22435, 26623, 34510, 37390, 21123, 22151, 21508, 24275,
  6244. 25313, 25785, 26684, 26680, 27579, 29554, 30906, 31339, 35226,
  6245. [12179, 35282], 36203, 36611, 37101, 38307, 38548, [12208, 38761], 23398,
  6246. 23731, 27005, {f: 2, c: 38989}, 25499, 31520, 27179, 27263, 26806, 39949,
  6247. 28511, 21106, 21917, 24688, 25324, 27963, 28167, 28369, 33883, 35088,
  6248. 36676, 19988, 39993, 21494, 26907, 27194, 38788, 26666, 20828, 31427,
  6249. 33970, 37340, 37772, 22107, 40232, 26658, 33541, 33841, 31909, 21000,
  6250. 33477, [12129, 29926], 20094, 20355, 20896, 23506, 21002, 21208, 21223,
  6251. 24059, 21914, 22570, 23014, 23436, 23448, 23515, [12082, 24178], 24185,
  6252. 24739, 24863, 24931, 25022, 25563, 25954, 26577, 26707, 26874, 27454,
  6253. 27475, 27735, 28450, 28567, 28485, 29872, [12130, 29976], 30435, 30475,
  6254. 31487, 31649, 31777, 32233, [12152, 32566], 32752, 32925, 33382, 33694,
  6255. 35251, 35532, 36011, 36996, 37969, 38291, 38289, 38306, 38501, 38867,
  6256. 39208, 33304, 20024, 21547, 23736, 24012, 29609, 30284, 30524, 23721,
  6257. 32747, 36107, 38593, 38929, 38996, 39000, 20225, 20238, 21361, 21916,
  6258. 22120, 22522, 22855, 23305, 23492, 23696, 24076, 24190, 24524, 25582,
  6259. 26426, 26071, 26082, 26399, 26827, 26820, 27231, 24112, 27589, 27671,
  6260. 27773, 30079, 31048, 23395, 31232, 32000, 24509, 35215, 35352, 36020,
  6261. 36215, 36556, 36637, 39138, 39438, [12004, 12225, 39740], [12018, 20096],
  6262. 20605, 20736, 22931, 23452, 25135, 25216, 25836, 27450, 29344, 30097,
  6263. 31047, 32681, 34811, 35516, 35696, 25516, 33738, 38816, 21513, 21507,
  6264. 21931, 26708, 27224, 35440, 30759, 26485, [12233, 40653], 21364, 23458,
  6265. 33050, 34384, 36870, 19992, 20037, 20167, 20241, 21450, 21560, 23470,
  6266. [12088, 24339], 24613, 25937, 26429, 27714, 27762, 27875, 28792, 29699,
  6267. 31350, 31406, 31496, 32026, 31998, 32102, 26087, [12124, 29275], 21435,
  6268. 23621, 24040, 25298, 25312, 25369, 28192, 34394, 35377, 36317, 37624,
  6269. 28417, 31142, [12226, 39770], 20136, {f: 2, c: 20139}, 20379, 20384, 20689,
  6270. 20807, 31478, 20849, 20982, 21332, 21281, 21375, 21483, 21932, 22659,
  6271. 23777, 24375, 24394, 24623, 24656, 24685, 25375, 25945, 27211, 27841,
  6272. 29378, 29421, 30703, 33016, 33029, 33288, 34126, 37111, 37857, 38911,
  6273. 39255, 39514, 20208, 20957, 23597, 26241, 26989, 23616, 26354, 26997,
  6274. [12127, 29577], 26704, 31873, 20677, 21220, 22343, [12081, 24062], 37670,
  6275. [12100, 26020], 27427, 27453, 29748, 31105, 31165, 31563, 32202, 33465,
  6276. 33740, 34943, 35167, 35641, 36817, [12198, 37329], 21535, 37504, 20061,
  6277. 20534, 21477, 21306, 29399, 29590, 30697, 33510, 36527, 39366, 39368,
  6278. 39378, 20855, 24858, 34398, 21936, 31354, 20598, 23507, 36935, 38533,
  6279. 20018, 27355, 37351, 23633, 23624, 25496, 31391, 27795, 38772, 36705,
  6280. 31402, 29066, 38536, 31874, 26647, 32368, 26705, 37740, 21234, 21531,
  6281. 34219, 35347, 32676, 36557, 37089, 21350, 34952, 31041, 20418, 20670,
  6282. 21009, 20804, 21843, 22317, 29674, 22411, 22865, 24418, 24452, 24693,
  6283. 24950, 24935, 25001, 25522, 25658, 25964, 26223, 26690, 28179, 30054,
  6284. 31293, 31995, 32076, 32153, 32331, 32619, 33550, 33610, 34509, 35336,
  6285. 35427, 35686, 36605, 38938, 40335, 33464, 36814, 39912, 21127, 25119,
  6286. 25731, 28608, 38553, 26689, 20625, [12107, 27424], 27770, 28500,
  6287. [12147, 31348], 32080, [12174, 34880], 35363, [12105, 26376], 20214, 20537,
  6288. 20518, 20581, 20860, 21048, 21091, 21927, 22287, 22533, 23244, 24314,
  6289. 25010, 25080, 25331, 25458, 26908, 27177, 29309, [12125, 29356], 29486,
  6290. 30740, 30831, 32121, 30476, 32937, [12178, 35211], 35609, 36066, 36562,
  6291. 36963, 37749, 38522, 38997, 39443, 40568, 20803, 21407, 21427, 24187,
  6292. 24358, 28187, 28304, [12126, 29572], 29694, 32067, 33335, [12180, 35328],
  6293. 35578, 38480, 20046, 20491, 21476, 21628, 22266, 22993, 23396,
  6294. [12080, 24049], 24235, 24359, [12094, 25144], 25925, 26543, 28246, 29392,
  6295. 31946, 34996, 32929, 32993, 33776, [11969, 34382], 35463, 36328, 37431,
  6296. 38599, 39015, [12238, 40723], 20116, 20114, 20237, 21320, 21577, 21566,
  6297. 23087, 24460, 24481, 24735, 26791, 27278, 29786, 30849, 35486, 35492,
  6298. 35703, 37264, 20062, 39881, 20132, 20348, 20399, 20505, 20502, 20809,
  6299. 20844, 21151, 21177, 21246, 21402, [12061, 21475], 21521, 21518, 21897,
  6300. 22353, 22434, 22909, 23380, 23389, 23439, [12079, 24037], 24039, 24055,
  6301. 24184, 24195, 24218, 24247, 24344, 24658, 24908, 25239, 25304, 25511,
  6302. 25915, 26114, 26179, 26356, 26477, 26657, 26775, 27083, 27743, 27946,
  6303. 28009, 28207, 28317, 30002, 30343, 30828, 31295, 31968, 32005, 32024,
  6304. 32094, 32177, 32789, 32771, 32943, 32945, 33108, 33167, 33322, 33618,
  6305. [12175, 34892], 34913, 35611, 36002, 36092, 37066, 37237, 37489, 30783,
  6306. 37628, 38308, 38477, 38917, [12217, 39321], [12220, 39640], 40251, 21083,
  6307. 21163, 21495, 21512, 22741, 25335, 28640, 35946, 36703, 40633, 20811,
  6308. 21051, 21578, 22269, 31296, 37239, 40288, [12234, 40658], 29508, 28425,
  6309. 33136, 29969, 24573, 24794, [12219, 39592], 29403, 36796, 27492, 38915,
  6310. 20170, 22256, 22372, 22718, 23130, 24680, 25031, 26127, 26118, 26681,
  6311. 26801, 28151, 30165, 32058, [12169, 33390], 39746, 20123, 20304, 21449,
  6312. 21766, 23919, 24038, 24046, 26619, 27801, 29811, 30722, 35408, 37782,
  6313. 35039, 22352, 24231, 25387, 20661, 20652, 20877, 26368, 21705, 22622,
  6314. 22971, 23472, 24425, 25165, 25505, 26685, 27507, 28168, 28797, 37319,
  6315. 29312, 30741, 30758, 31085, 25998, 32048, 33756, 35009, 36617, 38555,
  6316. 21092, 22312, 26448, 32618, 36001, 20916, 22338, 38442, 22586, 27018,
  6317. 32948, 21682, 23822, 22524, 30869, 40442, 20316, 21066, 21643, 25662,
  6318. 26152, 26388, 26613, 31364, 31574, 32034, 37679, 26716, 39853, 31545,
  6319. 21273, 20874, 21047, 23519, 25334, 25774, 25830, 26413, 27578, 34217,
  6320. 38609, 30352, 39894, 25420, 37638, 39851, [12139, 30399], 26194, 19977,
  6321. 20632, 21442, [12077, 23665], 24808, 25746, 25955, 26719, 29158, 29642,
  6322. 29987, 31639, 32386, 34453, 35715, 36059, 37240, 39184, 26028, 26283,
  6323. 27531, 20181, 20180, 20282, 20351, 21050, 21496, 21490, 21987, 22235,
  6324. [12064, 22763], 22987, 22985, 23039, [12070, 23376], 23629, 24066, 24107,
  6325. 24535, 24605, 25351, [12096, 25903], 23388, 26031, 26045, 26088, 26525,
  6326. [12108, 27490], 27515, [12114, 27663], 29509, 31049, 31169, [12151, 31992],
  6327. 32025, 32043, 32930, 33026, [12164, 33267], 35222, 35422, 35433, 35430,
  6328. 35468, 35566, 36039, 36060, 38604, 39164, [12013, 27503], 20107, 20284,
  6329. 20365, 20816, 23383, 23546, 24904, 25345, 26178, 27425, 28363, 27835,
  6330. 29246, 29885, 30164, 30913, [12144, 31034], [12157, 32780], [12159, 32819],
  6331. [12163, 33258], 33940, 36766, 27728, [12229, 40575], 24335, 35672, 40235,
  6332. 31482, 36600, 23437, 38635, 19971, 21489, 22519, 22833, 23241, 23460,
  6333. 24713, 28287, 28422, 30142, 36074, 23455, 34048, 31712, 20594, 26612,
  6334. 33437, 23649, 34122, 32286, 33294, 20889, 23556, 25448, 36198, 26012,
  6335. 29038, 31038, 32023, 32773, 35613, [12190, 36554], 36974, 34503, 37034,
  6336. 20511, 21242, 23610, 26451, 28796, 29237, 37196, 37320, 37675, 33509,
  6337. 23490, 24369, 24825, 20027, 21462, 23432, [12095, 25163], 26417, 27530,
  6338. 29417, 29664, 31278, 33131, 36259, 37202, [12216, 39318], 20754, 21463,
  6339. 21610, 23551, 25480, 27193, 32172, 38656, 22234, 21454, 21608, 23447,
  6340. 23601, 24030, 20462, 24833, 25342, 27954, 31168, 31179, 32066, 32333,
  6341. 32722, 33261, [12168, 33311], 33936, 34886, 35186, 35728, 36468, 36655,
  6342. 36913, 37195, 37228, 38598, 37276, 20160, 20303, 20805, [12055, 21313],
  6343. 24467, 25102, 26580, 27713, 28171, 29539, 32294, 37325, 37507, 21460,
  6344. 22809, 23487, 28113, 31069, 32302, 31899, 22654, 29087, 20986, 34899,
  6345. 36848, 20426, 23803, 26149, 30636, 31459, 33308, 39423, 20934, 24490,
  6346. 26092, 26991, 27529, 28147, 28310, 28516, 30462, 32020, 24033, 36981,
  6347. 37255, 38918, 20966, 21021, 25152, 26257, 26329, 28186, 24246, 32210,
  6348. 32626, 26360, 34223, 34295, 35576, 21161, 21465, [12069, 22899], 24207,
  6349. 24464, 24661, 37604, 38500, 20663, 20767, 21213, 21280, 21319, 21484,
  6350. 21736, 21830, 21809, 22039, 22888, 22974, 23100, 23477, 23558,
  6351. [12073, 23567], 23569, 23578, 24196, 24202, 24288, 24432, 25215, 25220,
  6352. 25307, 25484, 25463, 26119, 26124, 26157, 26230, 26494, 26786, 27167,
  6353. 27189, 27836, 28040, 28169, 28248, 28988, 28966, 29031, 30151, 30465,
  6354. 30813, 30977, 31077, 31216, 31456, 31505, 31911, 32057, 32918, 33750,
  6355. 33931, 34121, 34909, 35059, 35359, 35388, 35412, 35443, 35937, 36062,
  6356. 37284, 37478, 37758, 37912, 38556, 38808, 19978, 19976, 19998, 20055,
  6357. 20887, 21104, 22478, 22580, 22732, 23330, 24120, 24773, 25854, 26465,
  6358. 26454, 27972, 29366, 30067, 31331, 33976, 35698, 37304, 37664, 22065,
  6359. 22516, 39166, 25325, 26893, 27542, 29165, 32340, 32887, [12170, 33394],
  6360. 35302, [12215, 39135], 34645, 36785, 23611, 20280, 20449, 20405, 21767,
  6361. 23072, 23517, 23529, [12092, 24515], 24910, 25391, 26032, 26187, 26862,
  6362. 27035, 28024, 28145, 30003, 30137, 30495, 31070, 31206, 32051,
  6363. [12162, 33251], 33455, 34218, 35242, 35386, [12189, 36523], [12191, 36763],
  6364. 36914, 37341, 38663, [12040, 20154], 20161, 20995, 22645, 22764, 23563,
  6365. 29978, 23613, 33102, 35338, 36805, 38499, 38765, 31525, 35535, 38920,
  6366. 37218, 22259, 21416, 36887, 21561, 22402, 24101, 25512, [12116, 27700],
  6367. 28810, 30561, 31883, 32736, 34928, 36930, 37204, 37648, 37656, 38543,
  6368. 29790, 39620, 23815, 23913, 25968, 26530, 36264, 38619, 25454, 26441,
  6369. 26905, 33733, 38935, 38592, 35070, 28548, 25722, [12072, 23544], 19990,
  6370. 28716, 30045, 26159, 20932, 21046, 21218, 22995, 24449, 24615, 25104,
  6371. 25919, 25972, 26143, 26228, 26866, 26646, 27491, 28165, 29298,
  6372. [12131, 29983], 30427, 31934, 32854, 22768, 35069, [11972, 35199], 35488,
  6373. 35475, 35531, 36893, 37266, [11992, 38738], 38745, [12011, 25993], 31246,
  6374. 33030, 38587, 24109, 24796, 25114, 26021, 26132, 26512, [12143, 30707],
  6375. 31309, 31821, 32318, 33034, 36012, [12186, 36196], 36321, 36447, 30889,
  6376. 20999, 25305, 25509, 25666, 25240, 35373, 31363, 31680, 35500, 38634,
  6377. 32118, [12166, 33292], 34633, 20185, 20808, 21315, 21344, 23459, 23554,
  6378. 23574, 24029, 25126, 25159, 25776, 26643, 26676, 27849, 27973, 27927,
  6379. 26579, 28508, 29006, 29053, 26059, 31359, 31661, 32218, 32330, 32680,
  6380. 33146, [12167, 33307], 33337, 34214, 35438, 36046, 36341, 36984, 36983,
  6381. 37549, 37521, 38275, 39854, 21069, 21892, 28472, 28982, 20840, 31109,
  6382. 32341, 33203, 31950, 22092, 22609, 23720, 25514, 26366, 26365, 26970,
  6383. 29401, 30095, 30094, 30990, 31062, 31199, 31895, 32032, 32068, 34311,
  6384. 35380, 38459, 36961, [12239, 40736], 20711, 21109, 21452, 21474, 20489,
  6385. 21930, 22766, 22863, 29245, 23435, 23652, 21277, 24803, 24819, 25436,
  6386. 25475, 25407, 25531, 25805, 26089, 26361, 24035, 27085, 27133, 28437,
  6387. 29157, 20105, 30185, 30456, 31379, 31967, 32207, 32156, 32865, 33609,
  6388. 33624, 33900, 33980, 34299, 35013, [12187, 36208], 36865, 36973, 37783,
  6389. 38684, 39442, 20687, 22679, 24974, 33235, 34101, 36104, 36896, 20419,
  6390. 20596, 21063, 21363, 24687, 25417, 26463, 28204, [12188, 36275], 36895,
  6391. 20439, 23646, 36042, 26063, 32154, 21330, 34966, 20854, 25539, 23384,
  6392. 23403, 23562, 25613, 26449, 36956, 20182, 22810, 22826, 27760, 35409,
  6393. 21822, 22549, 22949, 24816, 25171, 26561, 33333, 26965, 38464, 39364,
  6394. 39464, 20307, 22534, 23550, 32784, 23729, 24111, 24453, 24608, 24907,
  6395. 25140, 26367, 27888, 28382, 32974, 33151, 33492, 34955, 36024, 36864,
  6396. 36910, 38538, 40667, 39899, 20195, 21488, [12068, 22823], 31532, 37261,
  6397. 38988, 40441, 28381, 28711, 21331, 21828, 23429, 25176, 25246, 25299,
  6398. 27810, 28655, 29730, 35351, 37944, 28609, 35582, 33592, 20967, 34552,
  6399. 21482, 21481, 20294, 36948, [12192, 36784], 22890, 33073, 24061, 31466,
  6400. 36799, 26842, [12181, 35895], 29432, 40008, 27197, 35504, 20025, 21336,
  6401. 22022, 22374, 25285, 25506, 26086, 27470, 28129, 28251, 28845, 30701,
  6402. 31471, 31658, 32187, 32829, 32966, 34507, 35477, 37723, 22243, 22727,
  6403. 24382, 26029, 26262, 27264, 27573, 30007, 35527, 20516, 30693, 22320,
  6404. 24347, 24677, 26234, 27744, 30196, 31258, 32622, 33268, 34584, 36933,
  6405. 39347, 31689, 30044, [12149, 31481], 31569, 33988, 36880, 31209, 31378,
  6406. 33590, 23265, 30528, 20013, 20210, 23449, 24544, 25277, 26172, 26609,
  6407. 27880, [12173, 34411], 34935, 35387, 37198, 37619, 39376, 27159, 28710,
  6408. 29482, 33511, 33879, 36015, 19969, 20806, 20939, 21899, 23541, 24086,
  6409. 24115, 24193, 24340, 24373, 24427, 24500, 25074, 25361, 26274, 26397,
  6410. 28526, 29266, 30010, 30522, 32884, 33081, 33144, 34678, 35519, 35548,
  6411. 36229, 36339, 37530, [11985, 12199, 38263], 38914, [12227, 40165], 21189,
  6412. 25431, 30452, 26389, 27784, 29645, 36035, 37806, 38515, 27941, 22684,
  6413. 26894, 27084, 36861, 37786, 30171, 36890, 22618, 26626, 25524, 27131,
  6414. 20291, 28460, 26584, 36795, 34086, 32180, 37716, 26943, 28528, 22378,
  6415. 22775, 23340, 32044, [12118, 29226], 21514, 37347, 40372, 20141, 20302,
  6416. 20572, 20597, 21059, 35998, 21576, 22564, 23450, 24093, 24213, 24237,
  6417. 24311, 24351, 24716, 25269, 25402, 25552, 26799, 27712, 30855, 31118,
  6418. 31243, 32224, 33351, 35330, 35558, 36420, 36883, 37048, 37165, 37336,
  6419. [12237, 40718], 27877, 25688, 25826, 25973, 28404, 30340, 31515, 36969,
  6420. 37841, 28346, 21746, 24505, 25764, 36685, 36845, 37444, 20856, 22635,
  6421. 22825, 23637, 24215, 28155, 32399, 29980, 36028, 36578, 39003, 28857,
  6422. 20253, 27583, 28593, [12133, 30000], 38651, 20814, 21520, 22581, 22615,
  6423. 22956, 23648, 24466, [12099, 26007], 26460, 28193, 30331, 33759, 36077,
  6424. 36884, 37117, 37709, 30757, 30778, 21162, 24230, [12063, 22303], 22900,
  6425. 24594, 20498, 20826, 20908, 20941, [12049, 20992], 21776, 22612, 22616,
  6426. 22871, 23445, 23798, 23947, 24764, 25237, 25645, 26481, 26691, 26812,
  6427. 26847, 30423, 28120, 28271, 28059, 28783, 29128, 24403, 30168, 31095,
  6428. 31561, 31572, 31570, 31958, 32113, 21040, 33891, 34153, 34276, 35342,
  6429. 35588, [12182, 35910], 36367, 36867, 36879, 37913, 38518, 38957, 39472,
  6430. 38360, 20685, 21205, 21516, 22530, 23566, 24999, 25758, 27934, 30643,
  6431. 31461, 33012, 33796, 36947, 37509, 23776, 40199, 21311, 24471, 24499,
  6432. 28060, 29305, 30563, 31167, 31716, 27602, 29420, 35501, 26627, 27233,
  6433. 20984, 31361, 26932, 23626, 40182, 33515, 23493, [12195, 37193], 28702,
  6434. 22136, 23663, 24775, 25958, 27788, 35930, 36929, 38931, 21585, 26311,
  6435. 37389, 22856, 37027, 20869, 20045, 20970, 34201, 35598, 28760, 25466,
  6436. 37707, 26978, 39348, 32260, 30071, 21335, 26976, 36575, 38627, 27741,
  6437. [12038, 20108], 23612, 24336, 36841, 21250, 36049, [12161, 32905], 34425,
  6438. 24319, [12103, 26085], 20083, [12042, 20837], 22914, 23615, 38894, 20219,
  6439. 22922, 24525, 35469, 28641, 31152, 31074, 23527, 33905, 29483, 29105,
  6440. 24180, 24565, 25467, 25754, 29123, 31896, 20035, 24316, 20043, 22492,
  6441. 22178, 24745, 28611, 32013, 33021, 33075, 33215, 36786, 35223, 34468,
  6442. 24052, 25226, 25773, 35207, 26487, 27874, 27966, 29750, 30772, 23110,
  6443. 32629, 33453, [12218, 39340], 20467, 24259, 25309, 25490, 25943, 26479,
  6444. 30403, 29260, 32972, 32954, 36649, 37197, 20493, 22521, 23186, 26757,
  6445. 26995, 29028, 29437, 36023, 22770, 36064, 38506, 36889, 34687, 31204,
  6446. 30695, 33833, 20271, 21093, 21338, 25293, 26575, 27850, [12137, 30333],
  6447. 31636, 31893, 33334, 34180, 36843, 26333, 28448, 29190, 32283, 33707,
  6448. 39361, [12008, 40614], 20989, 31665, 30834, 31672, 32903, 31560, 27368,
  6449. 24161, 32908, 30033, 30048, [12043, 20843], 37474, 28300, 30330, 37271,
  6450. 39658, 20240, 32624, 25244, 31567, 38309, 40169, 22138, 22617, 34532,
  6451. 38588, 20276, 21028, 21322, 21453, 21467, 24070, 25644, 26001, 26495,
  6452. 27710, 27726, 29256, 29359, 29677, 30036, 32321, 33324, 34281, 36009,
  6453. 31684, [12196, 37318], 29033, 38930, 39151, 25405, 26217, 30058, 30436,
  6454. 30928, 34115, 34542, 21290, 21329, 21542, 22915, 24199, 24444, 24754,
  6455. 25161, 25209, 25259, 26000, [12112, 27604], 27852, 30130, [12138, 30382],
  6456. 30865, 31192, 32203, 32631, 32933, 34987, 35513, 36027, 36991,
  6457. [12206, 38750], [12214, 39131], 27147, 31800, 20633, 23614, 24494, 26503,
  6458. 27608, 29749, 30473, 32654, [12240, 40763], 26570, 31255, 21305,
  6459. [12134, 30091], 39661, 24422, 33181, 33777, 32920, 24380, 24517, 30050,
  6460. 31558, 36924, 26727, 23019, 23195, 32016, 30334, 35628, 20469, 24426,
  6461. 27161, 27703, 28418, 29922, 31080, 34920, 35413, 35961, 24287, 25551,
  6462. 30149, 31186, 33495, 37672, 37618, 33948, 34541, 39981, 21697, 24428,
  6463. 25996, 27996, 28693, 36007, 36051, 38971, 25935, 29942, 19981, 20184,
  6464. 22496, 22827, 23142, 23500, 20904, 24067, 24220, 24598, 25206, 25975,
  6465. 26023, 26222, 28014, [12119, 29238], 31526, 33104, 33178, 33433, 35676,
  6466. 36000, 36070, 36212, [12201, 38428], 38468, 20398, 25771, 27494, 33310,
  6467. 33889, 34154, 37096, 23553, 26963, [12213, 39080], 33914, 34135, 20239,
  6468. 21103, 24489, 24133, 26381, 31119, 33145, 35079, 35206, 28149, 24343,
  6469. 25173, 27832, 20175, 29289, 39826, 20998, 21563, 22132, 22707, 24996,
  6470. 25198, 28954, 22894, 31881, 31966, 32027, 38640, [12098, 25991], 32862,
  6471. 19993, 20341, 20853, 22592, 24163, 24179, 24330, 26564, 20006, 34109,
  6472. 38281, 38491, [12150, 31859], [12212, 38913], 20731, 22721, 30294, 30887,
  6473. 21029, 30629, 34065, 31622, 20559, 22793, [12122, 29255], 31687, 32232,
  6474. 36794, 36820, 36941, 20415, 21193, 23081, 24321, 38829, 20445, 33303,
  6475. 37610, 22275, 25429, 27497, 29995, 35036, 36628, 31298, 21215, 22675,
  6476. 24917, 25098, 26286, [11935, 27597], 31807, 33769, 20515, 20472, 21253,
  6477. 21574, 22577, 22857, 23453, 23792, 23791, 23849, 24214, 25265, 25447,
  6478. 25918, [12101, 26041], 26379, 27861, 27873, 28921, 30770, 32299, 32990,
  6479. 33459, 33804, 34028, 34562, 35090, 35370, 35914, 37030, 37586, 39165,
  6480. 40179, 40300, 20047, 20129, 20621, 21078, 22346, 22952, 24125,
  6481. {f: 2, c: 24536}, 25151, 26292, 26395, 26576, 26834, 20882, 32033, 32938,
  6482. 33192, 35584, 35980, 36031, 37502, 38450, 21536, 38956, 21271, 20693,
  6483. [12056, 21340], 22696, 25778, 26420, 29287, 30566, 31302, 37350, 21187,
  6484. 27809, 27526, 22528, 24140, 22868, 26412, 32763, 20961, 30406, 25705,
  6485. 30952, 39764, [12231, 40635], 22475, 22969, 26151, 26522, 27598, 21737,
  6486. 27097, 24149, 33180, 26517, 39850, 26622, 40018, 26717, 20134, 20451,
  6487. [12060, 21448], 25273, 26411, 27819, 36804, 20397, 32365, 40639, 19975,
  6488. 24930, 28288, 28459, 34067, 21619, 26410, 39749, [11922, 24051], 31637,
  6489. 23724, 23494, 34588, 28234, 34001, 31252, 33032, 22937, 31885,
  6490. [11936, 27665], 30496, 21209, 22818, 28961, 29279, [12141, 30683], 38695,
  6491. 40289, 26891, 23167, 23064, 20901, 21517, 21629, 26126, 30431, 36855,
  6492. 37528, 40180, 23018, 29277, 28357, 20813, 26825, 32191, 32236,
  6493. [12207, 38754], 40634, 25720, 27169, 33538, 22916, 23391, [12113, 27611],
  6494. 29467, 30450, 32178, 32791, 33945, 20786, [12106, 26408], 40665,
  6495. [12140, 30446], 26466, 21247, 39173, 23588, 25147, 31870, 36016, 21839,
  6496. 24758, 32011, [12200, 38272], 21249, 20063, 20918, 22812, 29242, 32822,
  6497. 37326, 24357, [12142, 30690], 21380, 24441, 32004, 34220, 35379, 36493,
  6498. 38742, 26611, 34222, 37971, 24841, 24840, 27833, 30290, 35565, 36664,
  6499. 21807, 20305, 20778, 21191, 21451, 23461, 24189, 24736, 24962, 25558,
  6500. 26377, 26586, 28263, 28044, {f: 2, c: 29494}, 30001, 31056, 35029, 35480,
  6501. 36938, [12194, 37009], 37109, 38596, 34701, [12067, 22805], 20104, 20313,
  6502. 19982, 35465, 36671, 38928, 20653, 24188, 22934, 23481, 24248, 25562,
  6503. 25594, 25793, 26332, 26954, 27096, 27915, 28342, 29076, [12132, 29992],
  6504. 31407, [12154, 32650], 32768, 33865, 33993, 35201, 35617, 36362, 36965,
  6505. 38525, 39178, 24958, 25233, 27442, 27779, 28020, 32716, 32764, 28096,
  6506. 32645, 34746, 35064, 26469, 33713, 38972, 38647, 27931, 32097, 33853,
  6507. 37226, 20081, 21365, 23888, 27396, 28651, 34253, 34349, 35239, 21033,
  6508. 21519, 23653, 26446, 26792, 29702, 29827, 30178, 35023, 35041,
  6509. [12197, 37324], 38626, 38520, 24459, 29575, [12148, 31435], 33870, 25504,
  6510. 30053, 21129, 27969, 28316, 29705, 30041, 30827, 31890, 38534,
  6511. [12015, 31452], [12243, 40845], 20406, 24942, 26053, 34396, 20102, 20142,
  6512. 20698, 20001, 20940, 23534, 26009, 26753, 28092, 29471, 30274, 30637,
  6513. 31260, 31975, 33391, 35538, 36988, 37327, 38517, 38936, [12050, 21147],
  6514. 32209, 20523, 21400, 26519, 28107, 29136, 29747, 33256, 36650, 38563,
  6515. 40023, 40607, 29792, 22593, 28057, 32047, 39006, 20196, 20278, 20363,
  6516. 20919, 21169, 23994, 24604, 29618, 31036, 33491, 37428, 38583, 38646,
  6517. 38666, 40599, 40802, 26278, 27508, 21015, 21155, 28872, 35010, 24265,
  6518. 24651, 24976, 28451, 29001, 31806, 32244, 32879, 34030, 36899, 37676,
  6519. 21570, 39791, 27347, 28809, 36034, 36335, 38706, 21172, 23105, 24266,
  6520. 24324, 26391, 27004, 27028, 28010, 28431, 29282, 29436, 31725,
  6521. [12156, 32769], 32894, 34635, 37070, 20845, 40595, 31108, 32907, 37682,
  6522. 35542, 20525, 21644, 35441, 27498, 36036, 33031, 24785, 26528, 40434,
  6523. 20121, 20120, 39952, 35435, 34241, 34152, 26880, 28286, 30871, 33109,
  6524. 24332, 19984, 19989, 20010, 20017, [12034, 20022], 20028, [12035, 20031],
  6525. 20034, 20054, 20056, 20098, [12037, 20101], 35947, 20106, 33298, 24333,
  6526. 20110, {f: 2, c: 20126}, [12039, 20128], 20130, 20144, 20147, 20150, 20174,
  6527. 20173, 20164, 20166, 20162, 20183, 20190, 20205, 20191, 20215, 20233,
  6528. 20314, 20272, 20315, 20317, 20311, 20295, 20342, 20360, 20367, 20376,
  6529. 20347, 20329, 20336, 20369, 20335, 20358, 20374, 20760, 20436, 20447,
  6530. 20430, 20440, 20443, 20433, 20442, 20432, {f: 2, c: 20452}, 20506, 20520,
  6531. 20500, 20522, 20517, 20485, 20252, 20470, 20513, 20521, 20524, 20478,
  6532. 20463, 20497, 20486, 20547, 20551, 26371, 20565, 20560, 20552, 20570,
  6533. 20566, 20588, 20600, 20608, 20634, 20613, 20660, 20658, {f: 2, c: 20681},
  6534. 20659, 20674, 20694, 20702, 20709, 20717, 20707, 20718, 20729, 20725,
  6535. 20745, {f: 2, c: 20737}, 20758, 20757, 20756, 20762, 20769, 20794, 20791,
  6536. 20796, 20795, [12041, 20799], [11918, 20800], 20818, 20812, 20820, 20834,
  6537. 31480, {f: 2, c: 20841}, 20846, 20864, [12044, 20866], 22232, 20876, 20873,
  6538. 20879, 20881, 20883, 20885, [12045, 20886], 20900, 20902, 20898,
  6539. {f: 2, c: 20905}, [12046, 20907], 20915, {f: 2, c: 20913}, 20912, 20917,
  6540. 20925, 20933, 20937, 20955, [12047, 20960], 34389, 20969, 20973, 20976,
  6541. [12048, 20981], 20990, 20996, 21003, 21012, 21006, 21031, 21034, 21038,
  6542. 21043, 21049, 21071, 21060, {f: 2, c: 21067}, 21086, 21076, 21098, 21108,
  6543. 21097, 21107, 21119, 21117, 21133, 21140, 21138, 21105, 21128, 21137,
  6544. 36776, 36775, {f: 2, c: 21164}, 21180, 21173, 21185, 21197, 21207, 21214,
  6545. 21219, 21222, 39149, 21216, 21235, 21237, 21240, [12051, 21241], 21254,
  6546. 21256, 30008, 21261, 21264, 21263, [12052, 21269], [12053, 21274], 21283,
  6547. 21295, 21297, 21299, [12054, 21304], 21312, 21318, 21317, 19991, 21321,
  6548. 21325, 20950, 21342, [12057, 21353], 21358, 22808, 21371, 21367,
  6549. [12058, 21378], 21398, 21408, 21414, 21413, 21422, 21424, [12059, 21430],
  6550. 21443, 31762, 38617, 21471, 26364, 29166, 21486, 21480, 21485, 21498,
  6551. 21505, 21565, 21568, {f: 2, c: 21548}, 21564, 21550, 21558, 21545, 21533,
  6552. 21582, 21647, 21621, 21646, 21599, 21617, 21623, 21616, 21650, 21627,
  6553. 21632, 21622, 21636, 21648, 21638, 21703, 21666, 21688, 21669, 21676,
  6554. 21700, 21704, 21672, 21675, 21698, 21668, 21694, 21692, 21720,
  6555. {f: 2, c: 21733}, 21775, 21780, 21757, 21742, 21741, 21754, 21730, 21817,
  6556. 21824, 21859, 21836, 21806, 21852, 21829, {f: 2, c: 21846}, 21816, 21811,
  6557. 21853, 21913, 21888, 21679, 21898, 21919, 21883, 21886, 21912, 21918,
  6558. 21934, 21884, 21891, 21929, 21895, 21928, 21978, 21957, 21983, 21956,
  6559. 21980, 21988, 21972, 22036, 22007, 22038, 22014, 22013, 22043, 22009,
  6560. 22094, 22096, 29151, 22068, 22070, 22066, 22072, 22123, 22116, 22063,
  6561. 22124, 22122, 22150, 22144, 22154, 22176, 22164, 22159, 22181, 22190,
  6562. 22198, 22196, 22210, 22204, 22209, 22211, 22208, 22216, 22222, 22225,
  6563. 22227, [12062, 22231], 22254, 22265, 22272, 22271, 22276, 22281, 22280,
  6564. 22283, 22285, 22291, 22296, 22294, 21959, 22300, 22310, {f: 2, c: 22327},
  6565. 22350, 22331, 22336, 22351, 22377, 22464, 22408, 22369, 22399, 22409,
  6566. 22419, 22432, 22451, 22436, 22442, 22448, 22467, 22470, 22484,
  6567. {f: 2, c: 22482}, 22538, 22486, 22499, 22539, 22553, 22557, 22642, 22561,
  6568. 22626, 22603, 22640, 27584, 22610, 22589, 22649, 22661, 22713, 22687,
  6569. 22699, 22714, 22750, 22715, 22712, 22702, 22725, 22739, 22737, 22743,
  6570. 22745, 22744, 22757, 22748, 22756, 22751, 22767, 22778, 22777,
  6571. {f: 3, c: 22779}, [12065, 22786], [12066, 22794], 22800, 22811, 26790,
  6572. 22821, {f: 2, c: 22828}, 22834, 22840, 22846, 31442, 22869, 22864, 22862,
  6573. 22874, 22872, 22882, 22880, 22887, 22892, 22889, 22904, 22913, 22941,
  6574. 20318, 20395, 22947, 22962, 22982, 23016, 23004, 22925, {f: 2, c: 23001},
  6575. 23077, 23071, 23057, 23068, 23049, 23066, 23104, 23148, 23113,
  6576. {f: 2, c: 23093}, 23138, 23146, 23194, 23228, 23230, 23243, 23234, 23229,
  6577. 23267, 23255, 23270, 23273, 23254, {f: 2, c: 23290}, 23308, 23307, 23318,
  6578. 23346, 23248, 23338, 23350, 23358, 23363, 23365, 23360, 23377, 23381,
  6579. {f: 2, c: 23386}, 23397, 23401, 23408, 23411, 23413, 23416, 25992, 23418,
  6580. [12071, 23424], 23427, 23462, 23480, 23491, 23495, 23497, 23508, 23504,
  6581. 23524, 23526, 23522, 23518, 23525, 23531, 23536, 23542, 23539, 23557,
  6582. {f: 2, c: 23559}, 23565, 23571, 23584, [11920, 12074, 23586], 23592,
  6583. [12075, 23608], 23609, 23617, 23622, 23630, 23635, 23632, 23631, 23409,
  6584. 23660, [12076, 23662], 20066, 23670, 23673, 23692, 23697, 23700, 22939,
  6585. 23723, 23739, 23734, 23740, 23735, 23749, 23742, 23751, 23769, 23785,
  6586. 23805, 23802, 23789, 23948, 23786, 23819, 23829, 23831, 23900, 23839,
  6587. 23835, 23825, 23828, 23842, 23834, 23833, 23832, 23884, 23890, 23886,
  6588. 23883, 23916, 23923, 23926, 23943, 23940, 23938, 23970, 23965, 23980,
  6589. 23982, 23997, 23952, 23991, 23996, 24009, 24013, 24019, 24018, 24022,
  6590. [12078, 24027], 24043, 24050, 24053, 24075, 24090, 24089, 24081, 24091,
  6591. {f: 2, c: 24118}, 24132, 24131, 24128, 24142, 24151, 24148, 24159, 24162,
  6592. 24164, 24135, {f: 2, c: 24181}, [11923, 12083, 24186], 40636,
  6593. [12084, 24191], 24224, {f: 2, c: 24257}, 24264, 24272, 24271, 24278, 24291,
  6594. 24285, {f: 2, c: 24282}, 24290, 24289, {f: 2, c: 24296}, 24300, 24305,
  6595. 24307, 24304, [12085, 24308], 24312, [12086, 24318], 24323, 24329, 24413,
  6596. 24412, [12087, 24331], 24337, 24342, 24361, 24365, 24376, 24385, 24392,
  6597. 24396, 24398, 24367, [11924, 24401], {f: 2, c: 24406}, 24409,
  6598. [12090, 24417], 24429, [12091, 24435], 24439, 24451, 24450, 24447, 24458,
  6599. 24456, 24465, 24455, 24478, 24473, 24472, 24480, 24488, 24493, 24508,
  6600. 24534, 24571, 24548, 24568, 24561, 24541, 24755, 24575, 24609, 24672,
  6601. 24601, 24592, 24617, 24590, 24625, 24603, 24597, 24619, 24614, 24591,
  6602. 24634, 24666, 24641, 24682, 24695, 24671, 24650, 24646, 24653, 24675,
  6603. 24643, 24676, 24642, 24684, 24683, 24665, 24705, 24717, 24807, 24707,
  6604. 24730, 24708, 24731, {f: 2, c: 24726}, 24722, 24743, 24715, 24801, 24760,
  6605. 24800, 24787, 24756, 24560, 24765, 24774, 24757, 24792, 24909, 24853,
  6606. 24838, {f: 2, c: 24822}, 24832, 24820, 24826, 24835, 24865, 24827, 24817,
  6607. {f: 2, c: 24845}, 24903, 24894, 24872, 24871, 24906, 24895, 24892, 24876,
  6608. 24884, 24893, 24898, 24900, 24947, 24951, {f: 3, c: 24920}, 24939, 24948,
  6609. 24943, 24933, 24945, 24927, 24925, 24915, 24949, 24985, 24982, 24967,
  6610. 25004, 24980, 24986, 24970, 24977, 25003, 25006, 25036, 25034, 25033,
  6611. 25079, 25032, 25027, 25030, 25018, 25035, 32633, 25037, 25062, 25059,
  6612. 25078, 25082, 25076, 25087, 25085, 25084, 25086, 25088, [12093, 25096],
  6613. 25097, 25101, 25100, 25108, 25115, 25118, 25121, 25130, 25134, 25136,
  6614. {f: 2, c: 25138}, 25153, 25166, 25182, 25187, 25179, 25184, 25192, 25212,
  6615. 25218, 25225, 25214, {f: 2, c: 25234}, 25238, 25300, 25219, 25236, 25303,
  6616. 25297, 25275, 25295, 25343, 25286, 25812, 25288, 25308, 25292, 25290,
  6617. 25282, 25287, 25243, 25289, 25356, 25326, 25329, 25383, 25346, 25352,
  6618. 25327, 25333, 25424, 25406, 25421, 25628, 25423, 25494, 25486, 25472,
  6619. 25515, 25462, 25507, 25487, 25481, 25503, 25525, 25451, 25449, 25534,
  6620. 25577, 25536, 25542, 25571, 25545, 25554, 25590, 25540, 25622, 25652,
  6621. 25606, 25619, 25638, 25654, 25885, 25623, 25640, 25615, 25703, 25711,
  6622. 25718, 25678, 25898, 25749, 25747, 25765, 25769, 25736, 25788, 25818,
  6623. 25810, 25797, 25799, 25787, 25816, 25794, 25841, 25831, 33289,
  6624. {f: 2, c: 25824}, 25260, 25827, 25839, 25900, 25846, 25844, 25842, 25850,
  6625. 25856, 25853, 25880, 25884, 25861, 25892, 25891, 25899, [12097, 25908],
  6626. [11929, 25909], 25911, 25910, 25912, 30027, 25928, 25942, 25941, 25933,
  6627. 25944, 25950, 25949, 25970, 25976, {f: 2, c: 25986}, 35722, 26011, 26015,
  6628. 26027, 26039, 26051, 26054, 26049, 26052, 26060, 26066, 26075, 26073,
  6629. [12102, 26080], [11931, 26081], 26097, 26482, 26122, 26115, 26107, 26483,
  6630. {f: 2, c: 26165}, 26164, 26140, 26191, 26180, 26185, 26177, 26206, 26205,
  6631. 26212, {f: 2, c: 26215}, 26207, 26210, 26224, 26243, 26248, 26254, 26249,
  6632. 26244, 26264, 26269, 26305, 26297, 26313, 26302, 26300, 26308, 26296,
  6633. 26326, 26330, 26336, 26175, 26342, 26345, [12104, 26352], 26357, 26359,
  6634. 26383, 26390, 26398, {f: 2, c: 26406}, 38712, 26414, 26431, 26422, 26433,
  6635. 26424, 26423, 26438, 26462, 26464, 26457, {f: 2, c: 26467}, 26505, 26480,
  6636. 26537, 26492, 26474, 26508, 26507, 26534, 26529, 26501, 26551, 26607,
  6637. 26548, 26604, 26547, 26601, 26552, 26596, 26590, 26589, 26594, 26606,
  6638. 26553, 26574, 26566, 26599, 27292, 26654, 26694, 26665, 26688, 26701,
  6639. 26674, 26702, 26803, 26667, 26713, 26723, 26743, 26751, 26783, 26767,
  6640. 26797, 26772, 26781, 26779, 26755, 27310, 26809, 26740, 26805, 26784,
  6641. 26810, 26895, 26765, 26750, 26881, 26826, 26888, 26840, 26914, 26918,
  6642. 26849, 26892, 26829, 26836, 26855, 26837, 26934, 26898, 26884, 26839,
  6643. 26851, 26917, 26873, 26848, 26863, 26920, 26922, 26906, 26915, 26913,
  6644. 26822, 27001, 26999, 26972, 27000, 26987, 26964, 27006, 26990, 26937,
  6645. 26996, 26941, 26969, 26928, 26977, 26974, 26973, 27009, 26986, 27058,
  6646. 27054, 27088, 27071, 27073, 27091, 27070, 27086, 23528, 27082, 27101,
  6647. 27067, 27075, 27047, 27182, 27025, 27040, 27036, 27029, 27060, 27102,
  6648. 27112, 27138, 27163, 27135, 27402, 27129, 27122, 27111, 27141, 27057,
  6649. 27166, 27117, 27156, 27115, 27146, 27154, 27329, 27171, 27155, 27204,
  6650. 27148, 27250, 27190, 27256, 27207, 27234, 27225, 27238, 27208, 27192,
  6651. 27170, 27280, 27277, 27296, 27268, {f: 2, c: 27298}, 27287, 34327, 27323,
  6652. 27331, 27330, 27320, 27315, 27308, 27358, 27345, 27359, 27306, 27354,
  6653. 27370, 27387, 27397, 34326, 27386, 27410, 27414, 39729, 27423, 27448,
  6654. 27447, 30428, 27449, 39150, 27463, 27459, 27465, 27472, 27481, 27476,
  6655. 27483, 27487, 27489, 27512, [12109, 27513], {f: 2, c: 27519}, 27524, 27523,
  6656. 27533, 27544, 27541, 27550, 27556, {f: 2, c: 27562}, 27567, 27570, 27569,
  6657. [12110, 27571], 27575, 27580, 27590, [12111, 27595], 27603, 27615, 27628,
  6658. 27627, 27635, 27631, 40638, 27656, 27667, [12115, 27668], 27675, 27684,
  6659. 27683, 27742, 27733, 27746, 27754, 27778, 27789, 27802, 27777, 27803,
  6660. 27774, 27752, 27763, 27794, 27792, 27844, 27889, 27859, 27837, 27863,
  6661. 27845, 27869, 27822, 27825, 27838, 27834, 27867, 27887, 27865, 27882,
  6662. 27935, 34893, 27958, 27947, 27965, 27960, 27929, 27957, 27955, 27922,
  6663. 27916, 28003, 28051, 28004, 27994, 28025, 27993, 28046, 28053, 28644,
  6664. 28037, 28153, 28181, 28170, 28085, 28103, 28134, 28088, 28102, 28140,
  6665. 28126, 28108, 28136, 28114, 28101, 28154, 28121, 28132, 28117, 28138,
  6666. 28142, 28205, 28270, 28206, 28185, 28274, 28255, 28222, 28195, 28267,
  6667. 28203, 28278, 28237, 28191, 28227, 28218, 28238, 28196, 28415, 28189,
  6668. 28216, 28290, 28330, 28312, 28361, 28343, 28371, 28349, 28335, 28356,
  6669. 28338, {f: 2, c: 28372}, 28303, 28325, 28354, 28319, 28481, 28433, 28748,
  6670. 28396, 28408, 28414, 28479, 28402, 28465, 28399, 28466, 28364, 28478,
  6671. 28435, 28407, 28550, 28538, 28536, 28545, 28544, 28527, 28507, 28659,
  6672. 28525, 28546, 28540, 28504, 28558, 28561, 28610, 28518, 28595, 28579,
  6673. 28577, 28580, 28601, 28614, 28586, 28639, 28629, 28652, 28628, 28632,
  6674. 28657, 28654, 28635, 28681, 28683, 28666, 28689, 28673, 28687, 28670,
  6675. 28699, 28698, 28532, 28701, 28696, 28703, 28720, 28734, 28722, 28753,
  6676. 28771, 28825, 28818, 28847, 28913, 28844, 28856, 28851, 28846, 28895,
  6677. 28875, 28893, 28889, 28937, 28925, 28956, 28953, 29029, 29013, 29064,
  6678. 29030, 29026, 29004, 29014, 29036, 29071, 29179, 29060, 29077, 29096,
  6679. 29100, 29143, 29113, 29118, 29138, 29129, 29140, 29134, 29152, 29164,
  6680. 29159, 29173, 29180, 29177, 29183, 29197, 29200, 29211, 29224, 29229,
  6681. 29228, 29232, 29234, [12120, 29243], 29244, [12121, 29247], 29248, 29254,
  6682. 29259, 29272, 29300, 29310, 29314, 29313, 29319, 29330, 29334, 29346,
  6683. 29351, 29369, 29362, 29379, 29382, 29380, 29390, 29394, 29410,
  6684. {f: 2, c: 29408}, 29433, 29431, 20495, 29463, 29450, 29468, 29462, 29469,
  6685. 29492, 29487, 29481, 29477, 29502, {f: 2, c: 29518}, 40664, 29527, 29546,
  6686. 29544, 29552, 29560, 29557, 29563, 29562, 29640, 29619, 29646, 29627,
  6687. 29632, 29669, 29678, 29662, 29858, 29701, 29807, 29733, 29688, 29746,
  6688. 29754, 29781, 29759, 29791, 29785, 29761, 29788, 29801, 29808, 29795,
  6689. 29802, 29814, 29822, 29835, 29854, 29863, 29898, 29903, 29908, 29681,
  6690. 29920, 29923, 29927, 29929, 29934, 29938, {f: 2, c: 29936}, 29944, 29943,
  6691. 29956, 29955, 29957, 29964, 29966, 29965, 29973, 29971, 29982, 29990,
  6692. 29996, 30012, 30020, 30029, 30026, 30025, 30043, 30022, 30042, 30057,
  6693. 30052, 30055, 30059, 30061, 30072, 30070, {f: 2, c: 30086}, 30068, 30090,
  6694. 30089, 30082, 30100, 30106, 30109, 30117, 30115, 30146, 30131, 30147,
  6695. 30133, 30141, 30136, 30140, 30129, 30157, 30154, 30162, 30169, 30179,
  6696. 30174, {f: 2, c: 30206}, 30204, 30209, 30192, 30202, {f: 2, c: 30194},
  6697. 30219, 30221, 30217, 30239, 30247, {f: 3, c: 30240}, 30244, 30260, 30256,
  6698. 30267, {f: 2, c: 30279}, 30278, 30300, 30296, {f: 2, c: 30305},
  6699. {f: 3, c: 30312}, 30311, 30316, 30320, 30322, [12136, 30326], 30328, 30332,
  6700. 30336, 30339, 30344, 30347, 30350, 30358, 30355, {f: 2, c: 30361}, 30384,
  6701. 30388, {f: 3, c: 30392}, 30402, 30413, 30422, 30418, 30430, 30433, 30437,
  6702. 30439, 30442, 34351, 30459, 30472, 30471, 30468, 30505, 30500, 30494,
  6703. {f: 2, c: 30501}, 30491, {f: 2, c: 30519}, 30535, 30554, 30568, 30571,
  6704. 30555, 30565, 30591, 30590, 30585, 30606, 30603, 30609, 30624, 30622,
  6705. 30640, 30646, 30649, 30655, {f: 2, c: 30652}, 30651, 30663, 30669, 30679,
  6706. 30682, 30684, 30691, 30702, 30716, 30732, 30738, 31014, 30752, 31018,
  6707. 30789, 30862, 30836, 30854, 30844, 30874, 30860, 30883, 30901, 30890,
  6708. 30895, 30929, 30918, 30923, 30932, 30910, 30908, 30917, 30922, 30956,
  6709. 30951, 30938, 30973, 30964, 30983, 30994, 30993, 31001, 31020, 31019,
  6710. 31040, 31072, 31063, 31071, 31066, 31061, 31059, 31098, 31103, 31114,
  6711. 31133, 31143, 40779, 31146, 31150, 31155, {f: 2, c: 31161}, 31177, 31189,
  6712. 31207, 31212, 31201, 31203, 31240, 31245, {f: 2, c: 31256}, 31264, 31263,
  6713. 31104, 31281, 31291, 31294, 31287, 31299, 31319, 31305, {f: 2, c: 31329},
  6714. 31337, 40861, 31344, 31353, 31357, 31368, 31383, 31381, 31384, 31382,
  6715. 31401, 31432, 31408, 31414, 31429, 31428, 31423, 36995, 31431, 31434,
  6716. 31437, 31439, 31445, 31443, {f: 2, c: 31449}, 31453, {f: 2, c: 31457},
  6717. 31462, 31469, 31472, 31490, 31503, 31498, 31494, 31539, {f: 2, c: 31512},
  6718. 31518, 31541, 31528, 31542, 31568, 31610, 31492, 31565, 31499, 31564,
  6719. 31557, 31605, 31589, 31604, 31591, {f: 2, c: 31600}, 31596, 31598, 31645,
  6720. 31640, 31647, 31629, 31644, 31642, 31627, 31634, 31631, 31581, 31641,
  6721. 31691, 31681, 31692, 31695, 31668, 31686, 31709, 31721, 31761, 31764,
  6722. 31718, 31717, 31840, 31744, 31751, 31763, 31731, 31735, 31767, 31757,
  6723. 31734, 31779, 31783, 31786, 31775, 31799, 31787, 31805, 31820, 31811,
  6724. 31828, 31823, 31808, 31824, 31832, 31839, 31844, 31830, 31845, 31852,
  6725. 31861, 31875, 31888, 31908, 31917, 31906, 31915, 31905, 31912, 31923,
  6726. 31922, 31921, 31918, 31929, 31933, 31936, 31941, 31938, 31960, 31954,
  6727. 31964, 31970, 39739, 31983, 31986, 31988, 31990, 31994, 32006, 32002,
  6728. 32028, 32021, 32010, 32069, 32075, 32046, 32050, 32063, 32053, 32070,
  6729. 32115, 32086, 32078, 32114, 32104, 32110, 32079, 32099, 32147, 32137,
  6730. 32091, 32143, 32125, 32155, 32186, 32174, 32163, 32181, 32199, 32189,
  6731. 32171, 32317, 32162, 32175, 32220, 32184, 32159, 32176, 32216, 32221,
  6732. 32228, 32222, 32251, 32242, 32225, 32261, 32266, 32291, 32289, 32274,
  6733. 32305, 32287, 32265, 32267, 32290, 32326, 32358, 32315, 32309, 32313,
  6734. 32323, 32311, 32306, 32314, 32359, 32349, 32342, 32350, {f: 2, c: 32345},
  6735. 32377, 32362, 32361, 32380, 32379, 32387, 32213, 32381, 36782, 32383,
  6736. {f: 2, c: 32392}, 32396, 32402, 32400, {f: 2, c: 32403}, 32406, 32398,
  6737. {f: 2, c: 32411}, 32568, 32570, 32581, {f: 3, c: 32588}, 32592,
  6738. [12153, 32593], 32597, 32596, 32600, {f: 2, c: 32607}, {f: 2, c: 32616},
  6739. 32615, 32632, 32642, 32646, 32643, 32648, 32647, 32652, 32660, 32670,
  6740. 32669, 32666, 32675, 32687, 32690, 32697, 32686, 32694, 32696, 35697,
  6741. {f: 2, c: 32709}, 32714, 32725, 32724, 32737, 32742, 32745, 32755, 32761,
  6742. 39132, 32774, 32772, 32779, [12158, 32786], {f: 2, c: 32792}, 32796, 32801,
  6743. 32808, 32831, 32827, 32842, 32838, 32850, 32856, 32858, 32863, 32866,
  6744. 32872, 32883, 32882, 32880, 32886, 32889, 32893, [12160, 32895], 32900,
  6745. 32902, 32901, 32923, 32915, 32922, 32941, 20880, 32940, 32987, 32997,
  6746. 32985, 32989, 32964, 32986, 32982, 33033, 33007, 33009, 33051, 33065,
  6747. 33059, 33071, 33099, 38539, 33094, 33086, 33107, 33105, 33020, 33137,
  6748. 33134, {f: 2, c: 33125}, 33140, 33155, 33160, 33162, 33152, 33154, 33184,
  6749. 33173, 33188, 33187, 33119, 33171, 33193, 33200, 33205, 33214, 33208,
  6750. 33213, 33216, 33218, 33210, 33225, 33229, 33233, 33241, 33240, 33224,
  6751. 33242, {f: 2, c: 33247}, 33255, {f: 2, c: 33274}, 33278, {f: 2, c: 33281},
  6752. 33285, 33287, 33290, 33293, 33296, 33302, 33321, 33323, 33336, 33331,
  6753. 33344, 33369, 33368, 33373, 33370, 33375, 33380, 33378, 33384,
  6754. {f: 2, c: 33386}, 33326, 33393, 33399, [12171, 33400], 33406, 33421, 33426,
  6755. 33451, 33439, 33467, 33452, 33505, 33507, 33503, 33490, 33524, 33523,
  6756. 33530, 33683, 33539, 33531, 33529, 33502, 33542, 33500, 33545, 33497,
  6757. 33589, 33588, 33558, 33586, 33585, 33600, 33593, 33616, 33605, 33583,
  6758. 33579, {f: 2, c: 33559}, 33669, 33690, 33706, 33695, 33698, 33686, 33571,
  6759. 33678, 33671, 33674, 33660, 33717, 33651, 33653, 33696, 33673, 33704,
  6760. 33780, 33811, 33771, 33742, 33789, 33795, 33752, 33803, 33729, 33783,
  6761. 33799, 33760, 33778, 33805, 33826, 33824, 33725, 33848, 34054, 33787,
  6762. 33901, 33834, 33852, 34138, 33924, 33911, 33899, 33965, 33902, 33922,
  6763. 33897, 33862, 33836, 33903, 33913, 33845, 33994, 33890, 33977, 33983,
  6764. 33951, 34009, 33997, 33979, 34010, 34000, 33985, 33990, 34006, 33953,
  6765. 34081, 34047, 34036, {f: 2, c: 34071}, 34092, 34079, 34069, 34068, 34044,
  6766. 34112, 34147, 34136, 34120, 34113, 34306, 34123, 34133, 34176, 34212,
  6767. 34184, 34193, 34186, 34216, 34157, 34196, 34203, 34282, 34183, 34204,
  6768. 34167, 34174, 34192, 34249, 34234, 34255, 34233, 34256, 34261, 34269,
  6769. 34277, 34268, 34297, 34314, 34323, 34315, 34302, 34298, 34310, 34338,
  6770. 34330, 34352, 34367, [12172, 34381], 20053, 34388, 34399, 34407, 34417,
  6771. 34451, 34467, {f: 2, c: 34473}, {f: 2, c: 34443}, 34486, 34479, 34500,
  6772. 34502, 34480, 34505, 34851, 34475, 34516, 34526, 34537, 34540, 34527,
  6773. 34523, 34543, 34578, 34566, 34568, 34560, 34563, 34555, 34577, 34569,
  6774. 34573, 34553, 34570, 34612, 34623, 34615, 34619, 34597, 34601, 34586,
  6775. 34656, 34655, 34680, 34636, 34638, 34676, 34647, 34664, 34670, 34649,
  6776. 34643, 34659, 34666, 34821, 34722, 34719, 34690, 34735, 34763, 34749,
  6777. 34752, 34768, 38614, 34731, 34756, 34739, 34759, 34758, 34747, 34799,
  6778. 34802, 34784, 34831, 34829, 34814, {f: 2, c: 34806}, 34830, 34770, 34833,
  6779. 34838, 34837, 34850, 34849, 34865, 34870, 34873, 34855, 34875, 34884,
  6780. 34882, 34898, 34905, 34910, 34914, 34923, 34945, 34942, 34974, 34933,
  6781. 34941, 34997, 34930, 34946, 34967, 34962, 34990, 34969, 34978, 34957,
  6782. 34980, 34992, 35007, 34993, {f: 2, c: 35011}, 35028, {f: 2, c: 35032},
  6783. 35037, 35065, 35074, 35068, 35060, 35048, 35058, 35076, 35084, 35082,
  6784. 35091, 35139, 35102, 35109, {f: 2, c: 35114}, 35137, 35140, 35131, 35126,
  6785. 35128, 35148, 35101, 35168, 35166, 35174, 35172, 35181, 35178, 35183,
  6786. 35188, 35191, [12177, 35198], 35203, 35208, 35210, 35219, 35224, 35233,
  6787. 35241, 35238, 35244, 35247, 35250, 35258, 35261, {f: 2, c: 35263}, 35290,
  6788. {f: 2, c: 35292}, 35303, 35316, 35320, 35331, 35350, 35344, 35340, 35355,
  6789. 35357, 35365, 35382, 35393, 35419, 35410, 35398, 35400, 35452, 35437,
  6790. 35436, 35426, 35461, 35458, 35460, 35496, 35489, 35473, {f: 2, c: 35493},
  6791. 35482, 35491, 35524, 35533, 35522, 35546, 35563, 35571, 35559, 35556,
  6792. 35569, 35604, 35552, 35554, 35575, 35550, 35547, 35596, 35591, 35610,
  6793. 35553, 35606, 35600, 35607, 35616, 35635, 38827, 35622, 35627, 35646,
  6794. 35624, 35649, 35660, 35663, 35662, 35657, 35670, 35675, 35674, 35691,
  6795. 35679, 35692, 35695, 35700, 35709, 35712, 35724, 35726, {f: 2, c: 35730},
  6796. 35734, {f: 2, c: 35737}, 35898, 35905, 35903, 35912, 35916, 35918, 35920,
  6797. [12183, 35925], 35938, 35948, [12184, 35960], 35962, 35970, 35977, 35973,
  6798. 35978, {f: 2, c: 35981}, 35988, 35964, 35992, 25117, 36013, 36010, 36029,
  6799. {f: 2, c: 36018}, 36014, 36022, 36040, 36033, 36068, 36067, 36058, 36093,
  6800. {f: 2, c: 36090}, {f: 2, c: 36100}, 36106, 36103, 36111, 36109, 36112,
  6801. 40782, 36115, 36045, 36116, 36118, 36199, 36205, 36209, 36211, 36225,
  6802. 36249, 36290, 36286, 36282, 36303, 36314, 36310, 36300, 36315, 36299,
  6803. {f: 2, c: 36330}, 36319, 36323, 36348, {f: 2, c: 36360}, 36351,
  6804. {f: 2, c: 36381}, 36368, 36383, 36418, 36405, 36400, 36404, 36426, 36423,
  6805. 36425, 36428, 36432, 36424, 36441, 36452, 36448, 36394, 36451, 36437,
  6806. 36470, 36466, 36476, 36481, 36487, 36485, 36484, 36491, 36490, 36499,
  6807. 36497, 36500, 36505, 36522, 36513, 36524, 36528, 36550, 36529, 36542,
  6808. 36549, 36552, 36555, 36571, 36579, 36604, 36603, 36587, 36606, 36618,
  6809. 36613, 36629, 36626, 36633, 36627, 36636, 36639, 36635, 36620, 36646,
  6810. 36659, 36667, 36665, 36677, 36674, 36670, 36684, 36681, 36678, 36686,
  6811. 36695, 36700, {f: 3, c: 36706}, 36764, 36767, 36771, 36781, 36783, 36791,
  6812. 36826, 36837, 36834, 36842, 36847, 36999, 36852, 36869, {f: 2, c: 36857},
  6813. 36881, 36885, 36897, 36877, 36894, 36886, 36875, 36903, 36918, 36917,
  6814. 36921, 36856, {f: 4, c: 36943}, 36878, 36937, 36926, 36950, 36952, 36958,
  6815. 36968, 36975, 36982, 38568, 36978, 36994, 36989, 36993, 36992, 37002,
  6816. 37001, 37007, 37032, 37039, 37041, 37045, 37090, 37092, 25160, 37083,
  6817. 37122, 37138, 37145, 37170, 37168, 37194, 37206, 37208, 37219, 37221,
  6818. 37225, 37235, 37234, 37259, 37257, 37250, 37282, 37291, 37295, 37290,
  6819. 37301, 37300, 37306, {f: 2, c: 37312}, 37321, 37323, 37328, 37334, 37343,
  6820. 37345, 37339, 37372, {f: 2, c: 37365}, 37406, 37375, 37396, 37420, 37397,
  6821. 37393, 37470, 37463, 37445, 37449, 37476, 37448, 37525, 37439, 37451,
  6822. 37456, 37532, 37526, 37523, 37531, 37466, 37583, 37561, 37559, 37609,
  6823. 37647, 37626, 37700, 37678, 37657, 37666, 37658, 37667, 37690, 37685,
  6824. 37691, 37724, 37728, 37756, 37742, 37718, 37808, {f: 2, c: 37804}, 37780,
  6825. 37817, {f: 2, c: 37846}, 37864, 37861, 37848, 37827, 37853, 37840, 37832,
  6826. 37860, 37914, 37908, 37907, 37891, 37895, 37904, 37942, 37931, 37941,
  6827. 37921, 37946, 37953, 37970, 37956, 37979, 37984, 37986, 37982, 37994,
  6828. 37417, 38000, 38005, 38007, 38013, 37978, 38012, 38014, 38017, 38015,
  6829. 38274, 38279, 38282, 38292, 38294, {f: 2, c: 38296}, 38304, 38312, 38311,
  6830. 38317, 38332, 38331, 38329, 38334, 38346, 28662, 38339, 38349, 38348,
  6831. 38357, 38356, 38358, 38364, 38369, 38373, 38370, 38433, 38440,
  6832. {f: 2, c: 38446}, 38466, 38476, 38479, 38475, 38519, 38492, 38494, 38493,
  6833. 38495, 38502, 38514, 38508, 38541, 38552, 38549, 38551, 38570, 38567,
  6834. {f: 2, c: 38577}, 38576, 38580, [12202, 38582], 38584, [12203, 38585],
  6835. 38606, 38603, 38601, 38605, 35149, 38620, 38669, 38613, 38649, 38660,
  6836. 38662, 38664, 38675, 38670, 38673, 38671, 38678, 38681, 38692, 38698,
  6837. 38704, 38713, {f: 2, c: 38717}, 38724, 38726, 38728, 38722, 38729, 38748,
  6838. 38752, 38756, 38758, 38760, 21202, 38763, 38769, 38777, 38789, 38780,
  6839. 38785, 38778, 38790, 38795, {f: 2, c: 38799}, 38812, 38824, 38822, 38819,
  6840. {f: 2, c: 38835}, 38851, 38854, 38856, [12209, 38859], 38876,
  6841. [12210, 38893], 40783, 38898, 31455, 38902, 38901, 38927, 38924, 38968,
  6842. 38948, 38945, 38967, 38973, 38982, 38991, 38987, 39019, {f: 3, c: 39023},
  6843. 39028, 39027, 39082, 39087, 39089, 39094, 39108, 39107, 39110, 39145,
  6844. 39147, 39171, 39177, 39186, 39188, 39192, 39201, {f: 2, c: 39197}, 39204,
  6845. 39200, 39212, 39214, {f: 2, c: 39229}, 39234, 39241, 39237, 39248, 39243,
  6846. {f: 2, c: 39249}, 39244, 39253, {f: 2, c: 39319}, 39333, {f: 2, c: 39341},
  6847. 39356, 39391, 39387, 39389, 39384, 39377, {f: 2, c: 39405},
  6848. {f: 2, c: 39409}, 39419, 39416, 39425, 39439, 39429, 39394, 39449, 39467,
  6849. 39479, 39493, 39490, 39488, 39491, 39486, 39509, 39501, 39515, 39511,
  6850. 39519, 39522, 39525, 39524, 39529, 39531, 39530, 39597, 39600, 39612,
  6851. 39616, 39631, 39633, {f: 2, c: 39635}, 39646, [12221, 39647],
  6852. {f: 2, c: 39650}, 39654, 39663, 39659, 39662, 39668, 39665, 39671, 39675,
  6853. 39686, 39704, 39706, 39711, {f: 2, c: 39714}, [12222, 39717],
  6854. {f: 4, c: 39719}, 39726, [12223, 39727], [12224, 39730], 39748, 39747,
  6855. 39759, {f: 2, c: 39757}, 39761, 39768, 39796, 39827, 39811, 39825,
  6856. {f: 2, c: 39830}, {f: 2, c: 39839}, 39848, 39860, 39872, 39882, 39865,
  6857. 39878, 39887, {f: 2, c: 39889}, 39907, 39906, 39908, 39892, 39905, 39994,
  6858. 39922, 39921, 39920, 39957, 39956, 39945, 39955, 39948, 39942, 39944,
  6859. 39954, 39946, 39940, 39982, 39963, 39973, 39972, 39969, 39984, 40007,
  6860. 39986, 40006, 39998, 40026, 40032, 40039, 40054, 40056, 40167, 40172,
  6861. 40176, 40201, 40200, 40171, 40195, 40198, 40234, 40230, 40367, 40227,
  6862. 40223, 40260, 40213, 40210, 40257, 40255, 40254, 40262, 40264,
  6863. {f: 2, c: 40285}, 40292, 40273, 40272, 40281, 40306, 40329, 40327, 40363,
  6864. 40303, 40314, 40346, 40356, 40361, 40370, 40388, 40385, 40379, 40376,
  6865. 40378, 40390, 40399, 40386, 40409, 40403, 40440, 40422, 40429, 40431,
  6866. 40445, {f: 2, c: 40474}, 40478, [12228, 40565], 40569, 40573, 40577, 40584,
  6867. {f: 2, c: 40587}, 40594, 40597, 40593, 40605, [12230, 40613], 40617, 40632,
  6868. 40618, 40621, 38753, 40652, {f: 3, c: 40654}, 40660, 40668, 40670, 40669,
  6869. 40672, 40677, 40680, 40687, 40692, {f: 2, c: 40694}, [12235, 40697],
  6870. {f: 2, c: 40699}, [12236, 40701], {f: 2, c: 40711}, 30391, 40725, 40737,
  6871. 40748, 40766, [12241, 40778], [12242, 40786], 40788, 40803,
  6872. {f: 3, c: 40799}, {f: 2, c: 40806}, 40812, 40810, 40823, 40818, 40822,
  6873. 40853, [12244, 40860], [12245, 40864], 22575, 27079, 36953, 29796, 0,
  6874. {f: 76, c: 9472}, {f: 20, c: 9312}, {f: 10, c: 8544}, 13129, 13076, 0,
  6875. 13133, 0, 13095, 0, 13110, 13137, 0, 13069, 13094, 0, 13099, 13130, 0,
  6876. {f: 3, c: 13212}, {f: 2, c: 13198}, 13252, 13217, 12317, 12319, 8470,
  6877. 13261, 0, {f: 5, c: 12964}, {f: 2, c: 12849}, 12857, 13182, 13181, 13180,
  6878. 8750, 8721, {s: 3}, 8735, 8895, 0, 0, 21854, {s: 7}, 167133, 0, 0, 28976,
  6879. 0, 40407, {s: 4}, 64054, 0, 0, 22169, 15694, {s: 4}, 20448, 0, 0, 36544, 0,
  6880. 194797, {s: 4}, 153716, 32363, 33606, 167670, {s: 3}, 40572, 0, 0, 26171,
  6881. 0, 40628, {s: 4}, 26629, {s: 5}, 23650, 0, 194780, 0, 32353, 0, 0, 64070,
  6882. {s: 5}, 34083, 37292, {s: 7}, 34796, {s: 8}, 25620, 0, 0, 39506, {s: 4},
  6883. 64074, 0, 194692, {s: 4}, 31774, {s: 6}, 64016, 25681, 0, 0, 63980, 22625,
  6884. 39002, 0, 194679, {s: 3}, 31153, 0, 28678, {s: 9}, 22218, {s: 3}, 21085, 0,
  6885. 28497, 37297, {s: 10}, 64106, {s: 6}, 38960, 0, 40629, {s: 9}, 33802,
  6886. 63939, {f: 2, c: 63890}, 63897, 0, 34847, 194575, 0, 194771, 194584,
  6887. {s: 7}, 137754, 23643, {s: 4}, 25890, 0, 0, 26618, 0, 26766, 0, 148432,
  6888. 194848, {s: 21}, 34110, {s: 15}, 30562, {s: 12}, 65075, 0,
  6889. {f: 2, c: 65073}, {s: 4}, 65072, {f: 2, c: 65077}, {f: 2, c: 65081}, 0, 0,
  6890. {f: 2, c: 65079}, {f: 2, c: 65087}, {f: 2, c: 65085}, {f: 4, c: 65089},
  6891. {f: 2, c: 65083}, {s: 41}, {f: 3, c: 12436}, 0, 0, 22099, {s: 41}, 65508,
  6892. 65287, 65282, 0, 9665, 9655, 8681, 8679, 8678, 8680, 9634, 9831, 9825,
  6893. 9828, 9826, 13216, 13218, {f: 2, c: 13220}, 13207, 8467, 13208, 13235,
  6894. 13234, 13233, 13232, {f: 3, c: 13189}, 13259, 13200, 13268, 13206, 13090,
  6895. 13078, 13080, 13077, 13059, 13091, 13143, 13122, 13113, 13115, 13056,
  6896. 13105, 13127, 13086, 13098, 0, 13183, 8481, 9742, 12342, 12320, {s: 3},
  6897. {f: 9, c: 9352}, {f: 20, c: 9332}, 12881, {f: 10, c: 8560},
  6898. {f: 10, c: 12882}, {f: 26, c: 9372}, 12867, 12861, 12863, 12852, 12856,
  6899. 12851, 12860, 12866, 12862, 12854, 12853, 12859, 12864, 12858, 12976,
  6900. 12973, 12969, 12975, 12948, 12970, 12952, 12971, 12946, 12945, 12947,
  6901. 12972, 12974, 12950, {s: 8}, {f: 3, c: 9131}, 0, {f: 3, c: 9127}, 0, 13260,
  6902. 13061, 0, 0, 13215, 13219, 13222, 0, 0, 12958, {f: 2, c: 13192}, 13256,
  6903. 8749, 0, 12848, {f: 6, c: 12842}, 12855, 12865, 10145, {s: 3}, 9673, 9824,
  6904. 9829, 9827, 9830, {f: 4, c: 9728}, 9758, {f: 2, c: 9756}, 9759, 12953,
  6905. 9450, {f: 2, c: 8554}, {s: 3}, {f: 8, c: 9601}, 9615, 9614, 9613, 9612,
  6906. 9611, 9610, 9609, {f: 2, c: 9620}, {f: 2, c: 9581}, 9584, 9583, 9552, 9566,
  6907. 9578, 9569, {f: 2, c: 9698}, 9701, 9700, 0, 0, {f: 3, c: 9585}, {s: 20},
  6908. 20956, 29081, {f: 9, c: 10102}, {s: 3}, {f: 2, c: 8570}, {s: 3}, 8575,
  6909. 8458, 8457, 0, 0, 12292, 8646, {f: 2, c: 8644}, 0, {f: 4, c: 12535}, 0, 0,
  6910. 12957, {s: 3}, 13179, {s: 3}, 13107, 13134, {s: 30}, 32394, 35100, 37704,
  6911. 37512, 34012, 20425, 28859, 26161, 26824, 37625, 26363, 24389,
  6912. [12033, 20008], 20193, 20220, 20224, 20227, 20281, 20310, 20370, 20362,
  6913. 20378, 20372, 20429, 20544, 20514, 20479, 20510, 20550, 20592, 20546,
  6914. 20628, 20724, 20696, 20810, 20836, 20893, 20926, 20972, 21013, 21148,
  6915. 21158, 21184, 21211, 21248, 0, 21284, 21362, 21395, 21426, 21469, 64014,
  6916. 21660, 21642, 21673, 21759, 21894, 22361, 22373, 22444, 22472, 22471,
  6917. 64015, 0, 22686, 22706, 22795, 22867, 22875, 22877, 22883, 22948, 22970,
  6918. 23382, 23488, 29999, 23512, 0, 23582, 23718, 23738, 23797, 23847, 23891, 0,
  6919. 23874, 23917, {f: 2, c: 23992}, 24016, 24353, 24372, 24423, 24503, 24542,
  6920. 24669, 24709, 24714, 24798, 24789, 24864, 24818, 24849, 24887, 24880,
  6921. 24984, 25107, 25254, 25589, 25696, 25757, 25806, 25934, 26112, 26133,
  6922. 26121, 26158, 0, 26148, 26213, 26199, 26201, 64018, 26227, 26265, 26272,
  6923. 26290, 26303, 26362, 26382, 0, 26470, 26555, 26706, 26560, 0, 26692, 26831,
  6924. 64019, 26984, 64020, 27032, 27106, 27184, 27243, 27206, 27251, 27262,
  6925. 27362, 27364, 27606, 27711, 27740, 27782, 27759, 27866, 27908, 28039,
  6926. 28015, 28054, 28076, 28111, 28152, 28146, 28156, 28217, 28252, 28199,
  6927. 28220, 28351, 28552, 28597, 28661, 28677, 28679, 28712, 28805, 28843,
  6928. 28943, 28932, 29020, {f: 2, c: 28998}, 0, 29121, 29182, 29361, 29374,
  6929. 29476, 64022, 29559, 29629, 29641, 29654, 29667, 29650, 29703, 29685,
  6930. 29734, 29738, 29737, 29742, 0, 29833, 29855, 29953, 30063, 30338, 30364,
  6931. 30366, 30363, 30374, 64023, 30534, 21167, 30753, 30798, 30820, 30842,
  6932. 31024, {f: 3, c: 64024}, 31124, 64027, 31131, 31441, 31463, 64028, 31467,
  6933. 31646, 64029, 32072, 0, 32183, 32160, 32214, 32338, 32583, 32673, 64030,
  6934. 33537, 33634, 33663, 33735, 33782, 33864, 33972, 34131, 34137, 34155,
  6935. 64031, 34224, {f: 2, c: 64032}, 34823, 35061, 35346, 35383, 35449, 35495,
  6936. 35518, 35551, 64034, 35574, 35667, 35711, 36080, 36084, 36114, 36214,
  6937. 64035, 36559, 0, 64037, 36967, 37086, 64038, 37141, 37159, 37338, 37335,
  6938. 37342, {f: 2, c: 37357}, {f: 2, c: 37348}, 37382, 37392, 37386, 37434,
  6939. 37440, 37436, 37454, 37465, 37457, 37433, 37479, 37543, {f: 2, c: 37495},
  6940. 37607, 37591, 37593, 37584, 64039, 37589, 37600, 37587, 37669, 37665,
  6941. 37627, 64040, 37662, 37631, 37661, 37634, 37744, 37719, 37796, 37830,
  6942. 37854, 37880, 37937, 37957, 37960, 38290, 0, 64041, 38557, 38575, 38707,
  6943. 38715, 38723, 38733, 38735, [12205, 38737], 0, 38999, 39013,
  6944. {f: 2, c: 64042}, 39207, 64044, 39326, 39502, 39641, 39644, 39797, 39794,
  6945. 39823, 39857, 39867, 39936, 40304, 40299, 64045, 40473, 40657, 0, 92,
  6946. {s: 634}, 8364, 8486, 0, 0, 64256, {f: 2, c: 64259}, 257, 299, 363, 275,
  6947. 333, 256, 298, 362, 274, 332, {f: 4, c: 8539}, {f: 2, c: 8531}, 8304,
  6948. {f: 6, c: 8308}, {f: 10, c: 8320}, 461, 282, 0, 7868, 463, 0, 296, 465, 0,
  6949. 467, 366, 360, 462, 283, 0, 7869, 464, 0, 297, 466, 0, 468, 367, 361, 593,
  6950. 8049, 8048, 509, 0, 596, 0, 0, 601, 0, 0, 602, 0, 0, 603, 8051, 8050, 0,
  6951. 331, 629, 652, 0, 0, 658, 643, 720, {s: 682}, {f: 10, c: 12832}, {s: 108},
  6952. {f: 4, c: 12892}, {f: 15, c: 12977}, {s: 50}, {f: 26, c: 9424},
  6953. {f: 26, c: 9398}, {s: 48}, {f: 47, c: 13008}, 0, {f: 10, c: 12928}, 12944,
  6954. {f: 6, c: 12938}, 0, 12959, {s: 6}, {f: 2, c: 12960}, 12955, 12954, 12963,
  6955. 12962, 12951, 0, 12956, 12949, {s: 6}, 9676, {s: 11}, 10111,
  6956. {f: 10, c: 9451}, {s: 510}, 8414, {s: 815}, 13274, {s: 3}, 8448, 13250, 0,
  6957. 0, 8453, 0, 13169, 0, 0, 13197, 13211, {s: 3}, {f: 2, c: 13271}, {s: 3},
  6958. {f: 2, c: 13057}, 13060, 13062, 0, 13064, 0, 13063, 13066, 0, 13065, 0,
  6959. 13067, 0, 13068, {f: 6, c: 13070}, 0, 13079, 0, 13081, 0, {f: 4, c: 13082},
  6960. {f: 3, c: 13087}, 13092, 0, 13093, 0, 0, {f: 2, c: 13096}, 0, 13101, 0, 0,
  6961. {f: 3, c: 13102}, 13106, 0, 0, {f: 2, c: 13108}, 13116, {s: 3}, 13111, 0,
  6962. 13112, 13114, 13117, 13121, {f: 3, c: 13118}, {f: 4, c: 13123}, 13128,
  6963. {f: 2, c: 13131}, {f: 2, c: 13135}, 0, 0, 13138, 13140, 0, 0, 13139,
  6964. {f: 2, c: 13141}, {s: 132}, 8501, 976, 8714, 8463, 0, 981, 987, 977, 0,
  6965. {f: 2, c: 9832}, 9836, {s: 5}, 12347, 0, {f: 3, c: 12339}, 8252, 8265,
  6966. {s: 5}, 8723, 0, 8771, {f: 2, c: 8818}, {s: 6}, {f: 2, c: 12312},
  6967. {f: 2, c: 65375}, {s: 10}, 9115, {f: 2, c: 9117}, 9120, {s: 4}, 9121,
  6968. {f: 2, c: 9123}, 9126, {s: 12}, [9116, 9119, 9122, 9125, 9130], {s: 8},
  6969. 9986, 0, 0, 12349, 0, 12447, 0, 0, 8709, 8864, 8854, 8856, 8853, 8855,
  6970. {s: 4}, 9664, 9654, {s: 4}, 8656, 8596, {f: 2, c: 8600}, {f: 2, c: 8598},
  6971. 8652, 8651, {s: 10}, 12336, 8967, {s: 8}, 10048, 10047, {s: 7}, 9643, 0,
  6972. 9642, 0, 10010, {s: 12}, 9702, {s: 4}, 10070, {s: 379}, {f: 2, c: 65093},
  6973. {s: 679}, 64103, 64098, 32227, [12232, 40643], 28331, 64082, 64061, 64069,
  6974. 64062, 27114, 28212, 64096, 64071, 64056, 64066, 64078, 34395, 64105,
  6975. 64052, 64099, 25581, 25802, 30799, 64084, 63856, 64077, 64097, 64072,
  6976. 64076, {f: 2, c: 64091}, 64081, 64067, 64090, 28041, 29376, 0, 194885,
  6977. 64086, 64080, 64049, 64059, 24034, 64063, 64101, 21373, 64055, 64095,
  6978. 24501, 64064, 0, 64083, 0, 64085, 64104, 64068, 64089, 26202, 64053, 64075,
  6979. 64100, 64065, 64048, 0, 64057, 64051, 27493, 64058, 27599, 64050, 25150,
  6980. 64079, 63773, 63964, 63798, 28122, 63952, 26310, 27511, 64087, 37706, 0,
  6981. 37636, {s: 120}, 133390, {s: 120}, 35999, 11991, [11965, 158033], {s: 5},
  6982. 37555, 38321, 0, 0, 194812, {s: 13}, 194965, {s: 8}, 194794, 0, 26478,
  6983. 11974, 0, 194594, {s: 13}, 13314, 0, 0, 26083, {s: 4}, 134071, {s: 10},
  6984. 171339, 0, 194611, 24378, {s: 8}, 11945, 0, 20465, {s: 7}, 63753, {s: 7},
  6985. 11964, 0, 0, 194732, 26435, {s: 3}, 133732, 35329, 25142, 0, 0, 21555,
  6986. 23067, {s: 3}, 25221, 0, 0, 194819, {s: 6}, 21567, {s: 9}, 27506, {s: 4},
  6987. 29986, 19256, 0, 0, 24063, {s: 6}, 194827, 29626, 134047, {s: 3}, 194600,
  6988. 0, 194849, {s: 5}, 194623, {s: 16}, 194675, {f: 2, c: 11916}, 23577,
  6989. {s: 3}, 131083, 23426, 194642, {s: 5}, 11997, [11999, 39136],
  6990. [11998, 169599], 14221, 0, [11927, 14586], 0, 194887, 0, [11909, 20155],
  6991. 131490, {s: 7}, 13599, 0, 194738, 0, 0, [11971, 35200], {s: 4}, 31237,
  6992. {s: 4}, 35498, 0, 32085, 0, 28568, {s: 7}, 25591, 30246, {s: 4},
  6993. [11978, 163767], {s: 5}, 146686, {s: 5}, 13351, 0, 0, 33067, 0, 0, 194842,
  6994. {s: 5}, 11950, {s: 5}, 194714, {s: 3}, 194831, {s: 19}, 22305, 135741,
  6995. 194586, 0, 64003, {s: 7}, 21534, 15240, 20839, {s: 4}, 63839, {s: 9},
  6996. 20023, {s: 13}, [11946, 150804], 24421, 23020, 194658, 0, 24217, {s: 46},
  6997. 13416, {s: 8}, 21200, {s: 9}, 26625, 0, 195024, 195039, {s: 5}, 153215, 0,
  6998. 0, 11959, {s: 4}, 36534, 63775, {s: 3}, 63875, {s: 5}, 31867, 63906, 0,
  6999. 63898, 0, [11961, 32770], 157360, {s: 4}, [11911, 132648], 0, 0, 131210,
  7000. 194604, [11915, 13630], {s: 4}, 21589, 0, 22841, 0, 0, 23414, 194669,
  7001. 23572, 14306, 23782, 0, 20040, 0, 0, 194742, {s: 4}, 158105, 25371, 0, 0,
  7002. 26211, 0, 194779, 0, 0, 27126, 27014, {s: 3}, 27596, 0, 28183, 0, 0, 27818,
  7003. {s: 3}, [11942, 20012], 0, 0, 29935, 30069, 30188, 30286, 16305, 30570,
  7004. 30633, {s: 6}, 31571, 0, 0, 16996, {s: 3}, 194924, 0, 0, 32328, {s: 5},
  7005. 11955, {s: 4}, 33089, 17491, 0, [11966, 33401], [11967, 64094],
  7006. [11968, 64093], 0, 20857, 33626, {s: 3}, 17701, 0, 34292, 131248, {s: 4},
  7007. 34429, 0, 13358, 35014, {s: 6}, 18406, {s: 8}, 36808, {s: 19}, 166279, 0,
  7008. 0, 167447, 0, 0, 38969, {s: 6}, 39432, {s: 4}, 39903, {s: 10}, 148206,
  7009. {s: 5}, 21385, 0, 64017, 194785, 0, 146622, 132625, 0, {f: 2, c: 19972},
  7010. 19999, 20011, {f: 2, c: 20015}, {f: 2, c: 20032}, 20036, [11907, 20058],
  7011. 20095, 20109, 20118, 20153, 20176, 20192, 20221, 20223, 20235, 20245,
  7012. 20320, 20283, 20297, 20308, 20346, {f: 2, c: 20349}, 20375, 20414, 20431,
  7013. 20477, {f: 2, c: 20480}, 20496, 20507, 20519, 20526, 20567, 20582, 20586,
  7014. 20539, 20623, 20630, 20636, 20684, 20710, 20713, 20719, 20744, 20747,
  7015. 20752, 20763, 20766, 20831, 20897, 20924, 0, 20974, 20980, 20993,
  7016. [11913, 20994], 21011, 21065, 21089, 21094, 21139, 21192, 21232,
  7017. {f: 2, c: 21258}, 21310, 21324, 21323, 21345, 21356, 21419, 21466, 21478,
  7018. 21493, 21543, 21581, 21606, 21611, 21620, 21645, 21654, 21665, 21677,
  7019. 21689, 21695, 21702, 21709, 21774, 21803, 21813, 21834, 21856, 0, 21896,
  7020. 21902, 22024, {f: 2, c: 22030}, 22071, 22079, 22089, 22091, 22095, 22118,
  7021. 22121, 22127, {f: 2, c: 22129}, 22165, 22170, {f: 2, c: 22188}, 22193,
  7022. 22217, 22237, 22244, 22282, 22293, 22307, 22319, {f: 2, c: 22323}, 22348,
  7023. 22384, 22412, 22428, 22456, 22502, 22509, {f: 2, c: 22517}, 22527, 22537,
  7024. 22560, 22578, 22652, 22656, 22697, 22734, 22736, 22740, 22746, 22761,
  7025. 22796, 22820, 22831, 22881, 22893, 22986, 22994, 23005, {f: 2, c: 23011},
  7026. 23044, 23052, 23075, 23111, 23125, 23139, 23149, 23166, 23198, 23207,
  7027. 23212, 23219, 23264, 23296, 23321, 23333, 23341, 23361, 23420,
  7028. {f: 2, c: 23422}, 23434, [11919, 23587], 23595, 23600, 23651, 23657, 23676,
  7029. 23755, 23762, 23796, 23844, 23846, 23875, 23878, 23882, 23954, 23956,
  7030. 23961, 23968, 24024, 24032, 24056, 24064, 24082, {f: 2, c: 24084}, 24088,
  7031. 24110, 24152, {f: 2, c: 24171}, 24232, 24234, {f: 2, c: 24254}, 0, 24274,
  7032. 24327, 24334, {f: 2, c: 24348}, 24354, 24360, 24374, 24379, 24384,
  7033. [12089, 24400], 24408, 24420, 24457, 24476, 24487, 24484, 24495, 24504,
  7034. [11926, 24516], 24521, 24545, 24553, 24557, 24572, 24599, 24602, 24627,
  7035. 24673, 24703, 24734, 24740, 24752, 24779, 24795, 24824, {f: 3, c: 24850},
  7036. 24860, 24956, 24973, 24991, 25000, 25026, 25055, 25109, 25129, 25155,
  7037. 25158, [11928, 25164], 25169, 25174, 25284, 25340, 25354, 25357, 25368,
  7038. 25401, {f: 2, c: 25410}, 25445, 25460, 25469, 25476, 25479, 25488, 25502,
  7039. 25553, 25564, 25609, 25616, 25634, 25684, 25691, 25709, 25723,
  7040. {f: 2, c: 25790}, 25829, 25847, 25851, 25860, 25878, 25881, 25927, 25959,
  7041. 25985, 25989, 26050, 26096, 26098, 26156, 26188, {f: 2, c: 26203}, 26209,
  7042. 26219, 0, 26276, 26312, 26348, 26373, 26387, 26419, 26440, 26444, 26486,
  7043. 26491, 26544, 26546, 26617, 26583, 26585, 26608, 26668, {f: 2, c: 26672},
  7044. 26715, 26738, 26741, 26746, 26756, 26789, 26802, 26832, 26838, 26856,
  7045. 26861, {f: 2, c: 26864}, 26876, 26897, 26899, 26933, 26939, 26967, 26979,
  7046. 26994, {f: 2, c: 27007}, 27046, 27053, 27063, {f: 2, c: 27094}, 27137,
  7047. 27151, 27157, 27176, 27188, 27198, 27205, {f: 2, c: 27216}, 27222, 27227,
  7048. 27267, 27273, 27281, {f: 3, c: 27293}, 27356, 27367, 27372, 27422, 27428,
  7049. 27445, 27462, 27478, 27488, 27522, 27582, 27617, 27633, 27664, 27699,
  7050. [11937, 27701], 11938, 27737, 27766, 27771, 27781, 27797, 27804, 27856,
  7051. 27860, 27862, 27872, {f: 2, c: 27883}, 27886, 27914, 27918, 27921, 27950,
  7052. 27991, 27998, 28005, 28034, 28095, 28100, 28106, 28118, 28137, 28194,
  7053. 28241, 28359, 28362, 28366, 28413, 28442, 28458, 28463, 28467, 28506,
  7054. 28510, 28514, 28541, 28555, 28557, 28562, 28564, 28570, {f: 2, c: 28583},
  7055. 28598, 28634, 28638, 0, 28729, 28732, 0, 28756, {f: 2, c: 28765}, 28772,
  7056. [11939, 28780], 28798, 28801, 28821, 28855, {f: 2, c: 28883}, 28888, 28892,
  7057. 28935, 28960, 28977, 29002, 29010, 29024, 29049, 29074, 0, 29131, 29139,
  7058. 29142, 29184, 29213, 29227, 29240, 29249, 29267, {f: 2, c: 29269}, 29276,
  7059. 29325, [11944, 29357], 29364, 29383, 29435, {f: 2, c: 29444}, 29480, 29489,
  7060. 29507, 29548, 29564, 29571, {f: 2, c: 29573}, 29589, {f: 3, c: 29598},
  7061. 29606, 29611, 29621, 29623, 29628, 29647, 29657, 29673, 29684, 29693,
  7062. 29700, 29706, {f: 2, c: 29722}, 29732, 29736, 29740, {f: 3, c: 29743},
  7063. 29753, 29764, 29767, 29771, 29773, 29777, 29783, 29798, 29803, 29809,
  7064. 29824, {f: 3, c: 29829}, 29840, 29848, 29852, 29856, 29859, 29864, 29867,
  7065. 29877, 29887, 29896, 29914, 29918, 30030, 30073, 30081, 30096,
  7066. [12135, 30098], 30099, 30132, 30180, 30201, 30208, 30218, {f: 2, c: 30229},
  7067. 30233, 30238, 30253, 30261, 30275, 30283, 30309, 30317, 30319, 30321,
  7068. 30324, {f: 2, c: 30372}, 30405, 30412, 30444, 30460, 30516, 30518, 30556,
  7069. {f: 2, c: 30559}, 30578, 30589, 30613, 30634, 30694, 30704, 30708, 30726,
  7070. 30754, {f: 2, c: 30765}, 30768, 30773, 30824, 30878, 30920, 30924, 30926,
  7071. 30948, {f: 2, c: 30944}, 30962, 30967, 30971, 31025, 0, [11949, 31035],
  7072. 31037, 31045, {f: 2, c: 31067}, 31115, 31126, 31128, [12145, 31160], 31163,
  7073. 31178, 31194, 31235, 31241, 31249, 31262, 31277, 31289, 31301, 31308,
  7074. 31325, 0, 31341, 31352, 31392, 31395, 31411, {f: 2, c: 31419}, 31430,
  7075. 31495, 31508, 31527, 31537, 31559, 31566, 31584, 31593, 31597, 31602,
  7076. 31633, 31663, 31703, 31705, 31755, 31759, 31776, 31782, 31793, 31798,
  7077. 31825, 31833, 31847, 31854, 31856, 31932, 31935, {f: 2, c: 31944}, 31959,
  7078. 31961, 31965, 31979, {f: 3, c: 32007}, 32019, 32029, 32035, 32065, 32083,
  7079. 32089, 32093, 32122, 32134, {f: 2, c: 32139}, 32204, 32235, 32241, 32249,
  7080. 32264, 32273, 32277, 32288, 32327, 32354, 32366, 32371, 32397, 32401,
  7081. 32408, 32580, 32591, [11947, 11954, 32594], [11953, 32595], 32609, 32657,
  7082. 32703, 32718, 32735, 32741, 32748, {f: 2, c: 32750}, 32762, 32782, 32785,
  7083. 32788, 32804, 32806, 32826, 32828, 32864, 32881, 32885, 32926, 32934,
  7084. 32939, {f: 2, c: 32983}, 33046, 33048, 33082, 33098, 33100, 33153, 33156,
  7085. 33204, 33231, 33273, 33283, 33313, 33330, 33332, 33350, 33355, 33359,
  7086. 33422, 33454, 33463, 33470, 33478, 33534, 33603, 33617, 33621, 33670,
  7087. 33677, 33682, 33688, 33705, {f: 2, c: 33727}, 33770, 33807, 33809, 33866,
  7088. 33910, 33960, 33967, 33984, 33986, 34032, 34045, 34060, 34100, 34142,
  7089. 34191, 34231, 34254, 34221, 34322, 34345, 34386, 34403, 34412, 34415,
  7090. 34426, 34445, 34449, 34456, {f: 2, c: 34471}, 34554, 34557, 34571, 34579,
  7091. 34585, 34590, 34600, 34622, 34673, 34696, 34713, {f: 2, c: 34732}, 34741,
  7092. 34774, 34795, 34797, 34817, 0, 34822, 34827, 34836, 34844, 34902, 34911,
  7093. [11970, 34916], 34968, 34986, {f: 2, c: 35005}, 35018, 35026, 35035,
  7094. {f: 2, c: 35056}, 35078, {f: 3, c: 35096}, 35111, 35120, 35134, 35195,
  7095. 35284, 35286, 35301, 35313, 35335, 35343, 35349, 35362, 35406, 35455,
  7096. 35572, 35615, 35639, {f: 2, c: 35651}, 35668, 35740, 35742, 35911, 35924,
  7097. 35955, 36004, 36057, 36065, 36088, 36094, 36123, 36201, 36204, 36228,
  7098. 36237, 36245, 36262, 36294, 36302, 36324, 36332, 36384, 36427, 36460,
  7099. 36464, 36474, 36498, 36526, 36531, 36561, 36564, 36601, 36631, 36662,
  7100. 36774, [12193, 36789], [11981, 36790], 0, 36832, 36836, 36854, 36866,
  7101. 36908, 36932, 37000, 37013, 37017, 37019, 37026, 37044, 37079, 37085,
  7102. 37108, 37143, 37148, 37169, 37178, 37181, 37192, 37211, 37217, 37220,
  7103. 37262, 37278, 37288, {f: 2, c: 37293}, 37298, 37308, 37360, 37367, 37371,
  7104. 37383, 37416, 37427, 37432, 37443, 37447, 37455, 37472, 37570,
  7105. {f: 2, c: 37579}, 37599, 37645, 37653, 37663, 37671, 37703, 37714, 0,
  7106. 37738, 37741, 37787, 37818, 37801, 37825, 37834, 37858, 37882, 37885,
  7107. 37903, 37940, 37951, 37973, 37995, 38002, [11986, 38264], 38310, 38313, 0,
  7108. 38324, 38333, 38362, [11983, 11990, 38429], 38465, 38488, 38532, 38564,
  7109. 38569, 38610, 195060, 38622, 38633, 38641, 38658, 38665, 38746, 38755,
  7110. 38766, 38771, 38810, 38818, {f: 2, c: 38837}, 38873, 38878, 38900, 38922,
  7111. 38926, 38942, 38947, 38955, 38974, {f: 2, c: 38994}, 39001, 39020, 39096,
  7112. 39098, 39103, 39112, 39141, {f: 2, c: 39218}, 39232, 39245, 39260, 39263,
  7113. 39345, {f: 2, c: 39353}, 39369, 39426, 39446, 39460, 39463,
  7114. {f: 2, c: 39469}, 39478, 39480, 39498, 39510, {f: 2, c: 39605}, 39673,
  7115. 39683, 39712, {f: 2, c: 39731}, 39795, 39801, 39847, 39873, 39879, 39895,
  7116. 39911, 39915, 39927, 39930, 39933, 39947, 39975, 39978, 39990, 40001,
  7117. 40019, 40035, 40048, 40055, 40194, 40258, 40263, 40291, 40297, 40316,
  7118. 40318, 40333, 40369, 40387, 40391, 40406, 40415, 40427, 40436, 40469,
  7119. 40477, 40612, 40616, 40620, 40679, 40686, 40720, 40722, 40727, 40729,
  7120. 40751, 40759, 40761, 40769, 40773, 40791, 40808, 40817, 40821, 40848,
  7121. 40852, 40866, 0, 13317, 194564, 22048, 24267, 11925, 0, 144954, 0, 28665,
  7122. 28390, 29107, [11940, 64073], {s: 4}, [11980, 64102], 0, 23986, 0, 20435,
  7123. 20697, 20720, 20931, 22134, 27220, 27905, 28112, 28226, 28377, 29668,
  7124. 29729, 30060, 30801, 34805, 144382, 29608, 15091, 13531, 17420, 16010, 0,
  7125. 0, 19432, 0, 16090, 15138, 0, 17786, 16531, 0, 18021, 16643, 17043, 18094,
  7126. 13448, 140809, {f: 3, c: 63584}, 63610, 63615, {s: 23}, {f: 2, c: 8836},
  7127. {f: 2, c: 8842}, 8713, 0, {f: 2, c: 8965}, {s: 9}, {f: 2, c: 8741},
  7128. {s: 14}, 8802, 0, 8773, 8776, {f: 2, c: 8822}, {s: 4}, 8487, {s: 209},
  7129. {f: 2, c: 8922}, 8533, 8984, {f: 2, c: 7742}, {f: 2, c: 504}, 470, 472,
  7130. 474, 476, 260, 728, 317, 346, 350, 356, 377, 379, 261, 731, 318, 347, 711,
  7131. 351, 357, 378, 733, 380, 340, 258, 313, 262, 268, 280, 270, 323, 327, 336,
  7132. 344, 368, 354, 341, 259, 314, 263, 269, 281, 271, 273, 324, 328, 337, 345,
  7133. 369, 355, 729, 264, 284, 292, 308, 348, 364, 265, 285, 293, 309, 349, 365,
  7134. 625, 651, 638, 620, 622, 633, 648, 598, 627, 637, 642, 656, 635, 621, 607,
  7135. 626, 669, 654, 609, 624, 641, 295, 661, 660, 614, 664, 450, 595, 599, 644,
  7136. 608, 403, 616, 649, 600, 604, 606, 592, 623, 650, 612, 594, 653, 613, 674,
  7137. 673, 597, 657, 634, 615, 865, 712, 716, 721, 8255, 783, {f: 5, c: 741}, 0,
  7138. 0, 805, 812, 825, 796, {f: 2, c: 799}, 829, 809, 815, 734, 804, 816, 828,
  7139. 820, {f: 2, c: 797}, {f: 2, c: 792}, 810, {f: 2, c: 826}, 794, {s: 3},
  7140. {f: 2, c: 610}, 618, 628, 630, 632, 640, 655, 665, 668, 671, 688, 690, 695,
  7141. 704, {f: 2, c: 736}, {s: 6}, 8862, {s: 287}, 12348, 12543, 0,
  7142. {f: 2, c: 12310}, 9838, 9835, {f: 2, c: 10548}, 10687, 0, 12448, 0,
  7143. {f: 2, c: 10746}, {s: 13}, 962, {f: 10, c: 9461}, {f: 2, c: 9750}, 9649,
  7144. {f: 10, c: 12784}, 0, {f: 6, c: 12794}, {f: 15, c: 9150}, 0, 0, 10003, 0,
  7145. 9251, 9166, {f: 4, c: 9680}, {f: 2, c: 8263}, 0, 8273, 8258,
  7146. {f: 16, c: 12688}, {s: 13}, {f: 2, c: 9136}, {f: 12, c: 9842},
  7147. {f: 2, c: 12441}, 8413, {s: 450}, 20296, 20319, 20330, 20332, 20494, 20504,
  7148. 20545, 20722, 20688, 20742, 20739, 20789, 20821, 20823, 13493, 20938,
  7149. 20962, 21079, 21196, 21206, 21243, 21276, 21347, 21405, 21522, 21631,
  7150. 21640, 21840, 21889, 21933, 21966, 22075, 22174, 22185, 22195, 22391,
  7151. 22396, 135963, 22479, 22500, 22628, 22665, 136302, 22738, 22752, 34369,
  7152. 22923, 22930, 22979, 23059, 23143, 23159, 23172, 23236, 137405, 23421,
  7153. 23443, 23570, 64060, 136884, 23674, 23695, 23711, 23715, 23722, 23760,
  7154. 138804, 23821, 23879, 23937, 23972, 23975, 24011, 24158, 24313, 24320,
  7155. 24322, 24355, 24381, 24404, 24445, 24589, 24596, 24600, 24629, 24647,
  7156. 24733, 24788, 24797, 24875, 25020, 25017, 25122, 25178, 25199, 25302,
  7157. 25468, 25573, 25721, 25796, 25808, 25897, 26013, 26170, 26146, 26155,
  7158. 26160, 26163, 26184, 143812, {f: 2, c: 26231}, 26253, 26299, 26331, 26344,
  7159. 26439, 26497, 26515, 26520, 26523, 26620, 26653, 26787, 26890, 26953,
  7160. 144836, 26946, 26980, 27045, 27087, 15286, 15299, 27113, 27125, 145215,
  7161. 27195, 145251, 27284, 27301, 15375, 27419, 27436, 27495, 27561, 27565,
  7162. 27607, 27647, 27653, 27764, 27800, 27899, 27846, 27953, 27961, 27967,
  7163. 27992, 28052, 28074, 28123, 28125, 28228, 28254, 28337, 28353, 28432,
  7164. 28505, 28513, 28542, 28556, 28576, 28604, 28615, 28618, 28656, 28750,
  7165. 28789, 28836, 28900, 28971, 28958, 28974, 29009, 29032, 29061, 29063,
  7166. 29114, 29124, 29205, 15935, 29339, 149489, 29479, 29520, 29542, 29602,
  7167. 29739, 29766, 29794, 29805, 29862, 29865, 29897, 29951, 29975, 16242,
  7168. 30158, 30210, 30216, 30308, 30337, 30365, 30378, 30390, 30414, 30420,
  7169. 30438, 30449, 30474, 30489, {f: 2, c: 30541}, 30586, 30592, 30612, 30688,
  7170. 152718, 30787, 30830, 30896, 152846, 30893, 30976, 31004, 31022, 31028,
  7171. 31046, 31097, 31176, 153457, 31188, 31198, 31211, 31213, 31365, 154052,
  7172. 31438, 31485, 31506, 31533, 31547, 31599, 31745, 31795, 155041, 31853,
  7173. 31865, 31887, 31892, 31904, 31957, 32049, 32092, 32131, 32166, 32194,
  7174. 32296, 32663, 32731, 32821, 32823, 32970, 32992, 33011, 33120,
  7175. {f: 2, c: 33127}, 33133, 33211, 33226, 33239, 17499, 33376, 33396, 158463,
  7176. 33441, {f: 2, c: 33443}, 33449, 33471, 33493, 33533, 33536, 33570, 33581,
  7177. 33594, 33607, 33661, 33703, 33743, 33745, 33761, 33793, 33798, 33887,
  7178. 33904, 33907, 33925, 33950, 33978, 159296, 34098, 34078, 34095, 34148,
  7179. 34170, 34188, 34210, 34251, 34285, 34303, {f: 2, c: 34308}, 34320, 159988,
  7180. 34328, 34360, 34391, 34402, 17821, 34421, 34488, 34556, 34695, 17898,
  7181. 34826, 34832, 35022, 161412, 35122, 35129, 35136, 35220, 35318, 35399,
  7182. 35421, 35425, 35445, 35536, 35654, 35673, 35689, 35741, 35913, 35944,
  7183. 36271, 36305, 36311, 36387, 36413, 36475, 164471, 18500, 36602, 36638,
  7184. 36653, 36692, 164813, 36840, 36846, 36872, 36909, 37015, 37043, 37054,
  7185. {f: 2, c: 37060}, 37063, 37103, 37140, 37142, {f: 2, c: 37154}, 37167,
  7186. 37172, 37251, 37361, 37705, {f: 2, c: 37732}, 37795, 37855, 37892, 37939,
  7187. 37962, 37987, 38001, 38286, 38303, 38316, 38326, 38347, 38352, 38355,
  7188. 18864, 38366, 38565, 38639, 38734, 38805, 38830, 38842, 38849, 38857,
  7189. 38875, 38998, 39143, 39256, 39427, 39617, 39619, 39630, 39638, 39682,
  7190. 39688, 19479, 39725, 39774, 39782, 39812, 39818, 39838, 39886, 39909,
  7191. 39928, 39971, {f: 2, c: 40015}, 40037, {f: 2, c: 40221}, 40259, 40274,
  7192. 40330, 40342, 40384, 40364, 40380, 172432, 40423, 40455, 40606, 40623,
  7193. 40855, 131209, 19970, 19983, 19986, 20009, 20014, 20039, 131234, 20049,
  7194. 13318, 131236, 20073, 20125, 13356, 20156, 20163, 20168, 20203, 20186,
  7195. 20209, 20213, 20246, 20324, 20279, 20286, 20312, 131603, {f: 2, c: 20343},
  7196. 20354, 20357, 20454, 20402, 20421, 20427, 20434, 13418, 20466, 20499,
  7197. 20508, 20558, 20563, 20579, 20643, 20616, {f: 2, c: 20626}, 20629, 20650,
  7198. 131883, 20657, {f: 2, c: 20666}, 20676, 20679, 20723, 131969, 20686,
  7199. 131953, 20692, 20705, 13458, 132089, 20759, 132170, 20832, 132361, 20851,
  7200. 20867, 20875, 13500, 20888, 20899, 20909, 13511, 132566, 20979, 21010,
  7201. 21014, 132943, 21077, 21084, 21100, 21111, 21124, 21122, 133127, 21144,
  7202. 133178, 21156, {f: 2, c: 21178}, 21194, 21201, 133305, 21239, 21301, 21314,
  7203. 133500, 133533, 21351, 21370, 21412, 21428, 133843, 21431, 21440, 133917,
  7204. {f: 2, c: 13661}, 21461, 13667, 21492, 21540, 21544, 13678, 21571, 21602,
  7205. 21612, 21653, 21664, 21670, 21678, 21687, 21690, 21699, 134469, 21740,
  7206. 21743, 21745, 21747, {f: 2, c: 21760}, 21769, 21820, 21825, 13734, 21831,
  7207. 13736, 21860, 134625, 21885, 21890, 21905, 13765, 21970, 134805, 134765,
  7208. 21951, 21961, 21964, 21969, 21981, 13786, 21986, 134756, 21993, 22056,
  7209. 135007, 22023, 22032, 22064, 13812, 22077, 22080, 22087, 22110, 22112,
  7210. 22125, 13829, 22152, 22156, 22173, 22184, 22194, 22213, 22221, 22239,
  7211. 22248, {f: 2, c: 22262}, 135681, 135765, 22313, 135803, {f: 2, c: 22341},
  7212. 22349, 135796, 22376, 22383, {f: 3, c: 22387}, 22395, 135908, 135895,
  7213. 22426, {f: 2, c: 22429}, 22440, 22487, 135933, 22476, 135990, 136004,
  7214. 22494, 22512, 13898, 22520, 22523, 22525, 22532, 22558, 22567, 22585,
  7215. 136132, 22601, 22604, 22631, {f: 2, c: 22666}, 22669, {f: 2, c: 22671},
  7216. 22676, 22685, 22698, 22705, 136301, 22723, 22733, 22754, {f: 2, c: 22771},
  7217. {f: 2, c: 22789}, 22797, 22804, 136663, 13969, 22845, 13977, 22854, 13974,
  7218. 158761, 22879, 136775, {f: 2, c: 22901}, 22908, 22943, 22958, 22972, 22984,
  7219. 22989, 23006, 23015, 23022, 136966, 137026, 14031, 23053, 23063, 23079,
  7220. 23085, 23141, 23162, 23179, 23196, {f: 2, c: 23199}, 23202, 23217, 23221,
  7221. 23226, 23231, 23258, 23260, 23269, 23280, 23278, 23285, 23304, 23319,
  7222. 23348, 23372, 23378, 23400, 23407, 23425, 23428, 137667, 23446, 23468,
  7223. {f: 2, c: 14177}, 23502, 23510, 14188, 14187, 23537, 23549, 14197, 23555,
  7224. 23593, 138326, 23647, {f: 2, c: 23655}, 23664, 138541, 138565, 138616,
  7225. 138594, 23688, 23690, 14273, 138657, 138652, 23712, 23714, 23719, 138642,
  7226. 23725, 23733, 138679, 23753, 138720, 138803, 23814, 23824, 23851, 23837,
  7227. 23840, 23857, 23865, 14312, 23905, 23914, 14324, 23920, 139038, 14333,
  7228. 23944, 14336, 23959, 23984, 23988, 139126, 24017, 24023, 139258, 24036,
  7229. 24041, 14383, 14390, 14400, 24095, 24126, 24137, 14428, 24150, 14433,
  7230. {f: 2, c: 24173}, 139643, 24229, 24236, 24249, 24262, 24281, 140062, 24317,
  7231. 24328, 140205, 24350, 24391, 24419, 24434, 24446, 24463, 24482, 24519,
  7232. 24523, {f: 3, c: 24530}, 24546, {f: 2, c: 24558}, 24563, 14615, 24610,
  7233. 24612, 14618, 24652, 24725, 24744, 141043, 24753, 24766, 24776, 24793,
  7234. 24814, 24821, 24848, 24857, 24862, 24890, 14703, 24897, 24902, 24928,
  7235. 141403, {f: 2, c: 24978}, 24983, 24997, 25005, 141483, 25045, 25053, 25077,
  7236. 141711, 25123, 25170, 25185, 25188, 25211, 25197, 25203, 25241, 25301,
  7237. 142008, 25341, 25347, 25360, {f: 2, c: 142159}, 25394, 25397,
  7238. {f: 2, c: 25403}, 25409, 25412, 25422, 142150, 25433, 142365, 142246,
  7239. 25452, 25497, 142372, 25492, 25533, {f: 2, c: 25556}, 25568,
  7240. {f: 2, c: 25579}, 25586, 25630, 25637, 25641, 25647, 25690, 25693, 25715,
  7241. 25725, 25735, 25745, 25759, {f: 2, c: 25803}, 25813, 25815, 142817, 25828,
  7242. 25855, 14958, 25871, 25876, 14963, 25886, 25906, 25924, 25940, 25963,
  7243. 25978, 25988, 25994, 26034, 26037, 26040, 26047, 26057, 26068, 15062,
  7244. 26105, 26108, 26116, 26120, 26145, 26154, 26181, 26193, 26190, 15082,
  7245. 143811, 143861, 143798, 26218, {f: 2, c: 26220}, 26235, 26240, 26256,
  7246. 26258, 15118, 26285, 26289, 26293, 15130, 15132, 15063, 26369, 26386,
  7247. 144242, 26393, 144339, 144338, 26445, 26452, 26461, 144336, 144356, 144341,
  7248. 26484, 144346, 26514, 144351, 33635, 26640, 26563, 26568, 26578, 26587,
  7249. 26615, 144458, 144465, 144459, 26648, 26655, 26669, 144485, 26675, 26683,
  7250. 26686, 26693, 26697, 26700, 26709, 26711, 15223, 26731, 26734, 26748,
  7251. 26754, 26768, 26774, 15213, {f: 3, c: 26776}, 26780, {f: 2, c: 26794},
  7252. 26804, 26811, 26875, 144612, 144730, 26819, 26821, 26828, 26841,
  7253. {f: 2, c: 26852}, 26860, 26871, 26883, 26887, 15239, 144788, 15245, 26950,
  7254. 26985, 26988, 27002, 27026, 15268, 27030, 27056, 27066, 27068, 27072,
  7255. 27089, 144953, 144967, 144952, 27107, {f: 2, c: 27118}, 27123, 15309,
  7256. 27124, 27134, 27153, 27162, 27165, 145180, {f: 2, c: 27186}, 27199, 27209,
  7257. 27258, 27214, 27218, 27236, 145164, 27275, 15344, 27297, 145252, 27307,
  7258. 27325, 27334, 27348, 27344, 27357, 145407, 145383, {f: 3, c: 27377}, 27389,
  7259. 145444, 27403, {f: 3, c: 27407}, 145469, 27415, 15398, 27439, 27466, 27480,
  7260. 27500, 27509, [11934, 27514], 27521, 27547, 27566, 146072, 27581,
  7261. {f: 3, c: 27591}, 27610, {f: 2, c: 27622}, 27630, 27650, 27658, 27662,
  7262. 27702, 146559, 27725, 27739, 27757, 27780, 27785, 15555, 27796, 27799,
  7263. 27821, 27842, 15570, 27868, 27881, 27885, 146688, 27904, 27940,
  7264. {f: 2, c: 27942}, 27751, 27951, 27964, 27995, 28000, 28016,
  7265. {f: 2, c: 28032}, 28042, 28045, 28049, 28056, 146752, 146938, 146937,
  7266. 146899, 28075, 28078, 28084, 28098, 27956, 28104, 28110, 28127, 28150,
  7267. 28214, 28190, 15633, 28210, {f: 2, c: 28232}, {f: 2, c: 28235}, 28239,
  7268. {f: 2, c: 28243}, 28247, 28259, 15646, 28307, 28327, 28340, 28355, 28469,
  7269. 28395, 28409, 28411, 28426, 28428, 28440, 28453, 28470, 28476, 147326,
  7270. 28498, 28503, 28512, 28520, 28560, 28566, 28606, 28575, 28581, 28591,
  7271. 15716, {f: 2, c: 28616}, 28649, 147606, 28668, 28672, 28682, 28707, 147715,
  7272. 28730, 28739, 28743, 28747, 15770, 28773, 28777, 28782, 28790, 28806,
  7273. 28823, 147910, 28831, 28849, 147966, 28908, 28874, 28881, 28931, 28934,
  7274. 28936, 28940, 15808, 28975, 29008, 29011, 29022, 15828, 29078, 29056,
  7275. 29083, 29088, 29090, {f: 2, c: 29102}, 148412, 29145, 29148, 29191, 15877,
  7276. 29236, 29241, 29250, 29271, 29283, 149033, {f: 2, c: 29294}, 29304, 29311,
  7277. 29326, 149157, 29358, 29360, 29377, 15968, 29388, 15974, 15976, 29427,
  7278. 29434, 29447, 29458, {f: 2, c: 29464}, 16003, 29497, 29484, 29491, 29501,
  7279. 29522, 16020, 29547, 149654, {f: 2, c: 29550}, 29553, 29569, 29578, 29588,
  7280. 29592, 29596, 29605, 29625, 29631, 29637, 29643, 29665, 29671, 29689,
  7281. 29715, 29690, 29697, 29779, 29760, 29763, 29778, 29789, 29825, 29832,
  7282. 150093, 29842, 29847, 29849, 29857, 29861, 29866, 29881, 29883, 29882,
  7283. 29910, 29912, 29931, 150358, 29946, 150383, 29984, 29988, 29994, 16215,
  7284. 150550, {f: 2, c: 30013}, 30016, 30024, 30032, 30034, 30066, 30065, 30074,
  7285. {f: 2, c: 30077}, 30092, 16245, 30114, 16247, 30128, 30135,
  7286. {f: 2, c: 30143}, 30150, 30159, 30163, 30173, {f: 2, c: 30175}, 30183,
  7287. 30190, 30193, 30211, 30232, 30215, 30223, 16302, 151054, 30227,
  7288. {f: 2, c: 30235}, 151095, 30245, 30248, 30268, 30259, 151146, 16329, 30273,
  7289. 151179, 30281, 30293, 16343, 30318, 30357, 30369, 30368, {f: 2, c: 30375},
  7290. 30383, 151626, 30409, 151637, 30440, 151842, 30487, 30490, 30509, 30517,
  7291. 151977, 16441, 152037, 152013, 30552, 152094, 30588, 152140, 16472, 30618,
  7292. 30623, 30626, 30628, {f: 2, c: 30686}, 30692, 30698, 30700, 30715, 152622,
  7293. 30725, 30729, 30733, 30745, 30764, 30791, 30826, 152793, 30858, 30868,
  7294. 30884, 30877, 30879, 30907, 30933, 30950, {f: 2, c: 30969}, 30974, 152999,
  7295. 30992, 31003, 31013, 31050, 31064, 16645, 31079, 31090, 31125, 31137,
  7296. 31145, 31156, 31170, 31175, {f: 2, c: 31180}, 31190, 16712, 153513, 153524,
  7297. 16719, 31242, 31253, 31259, 16739, 31288, 31303, 31318, 31321, 31324,
  7298. 31327, 31335, 31338, 31349, 31362, 31370, 31376, 31404, 154068, 16820,
  7299. 31417, 31422, 16831, 31436, 31464, 31476, 154340, 154339, 154353, 31549,
  7300. 31530, {f: 2, c: 31534}, 16870, 16883, 31615, 31553, 16878, 31573, 31609,
  7301. 31588, 31590, 31603, 154546, 16903, 31632, 31643, 16910, 31669, 31676,
  7302. 31685, 31690, 154699, 154724, 31700, 31702, 31706, 31722, 31728, 31747,
  7303. 31758, 31813, 31818, 31831, 31838, 31841, 31849, 31855, 155182, 155222,
  7304. 155237, 31910, 155234, {f: 2, c: 31926}, 155352, 31940, 155330, 31949,
  7305. 155368, 155427, 31974, 155484, 31989, 32003, 17094, 32018, 32030, 155616,
  7306. 155604, {f: 2, c: 32061}, 32064, 32071, 155660, 155643, 17110, 32090,
  7307. 32106, 32112, 17117, 32127, 155671, 32136, 32151, 155744, 32157, 32167,
  7308. 32170, 32182, 32192, 32215, 32217, 32230, 17154, 155885, 64088, 32272,
  7309. 32279, 32285, 32295, 32300, 32325, 32373, 32382, {f: 2, c: 32390}, 17195,
  7310. 32410, 17219, 32572, 32571, 32574, 32579, 13505, 156272, 156294,
  7311. {f: 2, c: 32611}, 32621, {f: 2, c: 32637}, 32656, 20859, 146702, 32662,
  7312. 32668, 32685, 156674, 32707, 32719, 32739, 32754, 32778, 32776, 32790,
  7313. 32812, 32816, 32835, 32870, 32891, 32921, 32924, 32932, 32935, 32952,
  7314. 157310, 32965, 32981, 32998, 33037, 33013, 33019, 17390, 33077, 33054,
  7315. 17392, 33060, 33063, 33068, 157469, 33085, 17416, 33129, 17431, 17436,
  7316. 33157, 17442, 33176, 33202, 33217, 33219, 33238, 33243, 157917, 33252,
  7317. 157930, 33260, 33277, 33279, 158063, 33284, 158173, 33305, 33314, 158238,
  7318. 33340, 33353, 33349, 158296, 17526, 17530, 33367, 158348, 33372, 33379,
  7319. 158391, 17553, 33405, 33407, 33411, 33418, 33427, {f: 2, c: 33447}, 33458,
  7320. 33460, 33466, 33468, 33506, 33512, 33527, {f: 2, c: 33543}, 33548, 33620,
  7321. 33563, 33565, 33584, 33596, 33604, 33623, 17598, 17620, 17587,
  7322. {f: 2, c: 33684}, 33691, 33693, 33737, 33744, 33748, 33757, 33765, 33785,
  7323. 33813, 158835, 33815, 33849, 33871, {f: 2, c: 33873}, {f: 2, c: 33881},
  7324. 33884, 158941, 33893, 33912, 33916, 33921, 17677, 33943, 33958, 33982,
  7325. 17672, {f: 2, c: 33998}, 34003, 159333, 34023, 34026, 34031, 34033, 34042,
  7326. 34075, {f: 2, c: 34084}, 34091, 34127, 34159, 17731, 34129,
  7327. {f: 2, c: 34145}, 159636, 34171, 34173, 34175, 34177, 34182, 34195, 34205,
  7328. 34207, 159736, {f: 2, c: 159734}, 34236, 34247, 34250, {f: 2, c: 34264},
  7329. 34271, 34273, 34278, 34294, 34304, 34321, 34334, 34337, 34340, 34343,
  7330. 160013, 34361, 34364, 160057, 34368, 34387, 34390, 34423, 34439, 34441,
  7331. {f: 2, c: 34460}, 34481, 34483, 34497, 34499, 34513, 34517, 34519, 34531,
  7332. 34534, 17848, 34565, 34567, 34574, 34576, 34591, 34593, 34595, 34609,
  7333. 34618, 34624, 34627, 34641, 34648, {f: 2, c: 34660}, 34674, 34684, 160731,
  7334. 160730, 34727, 34697, 34699, 34707, 34720, 160766, 17893, 34750, 160784,
  7335. 34753, 34766, 34783, 160841, 34787, {f: 2, c: 34789}, 34794, 34835, 34856,
  7336. 34862, 34866, 34876, 17935, 34890, 34904, 161301, 161300, 34921, 161329,
  7337. 34927, 34976, 35004, 35008, 161427, 35025, 35027, 17985, 35073, 161550,
  7338. 35127, 161571, 35138, 35141, 35145, 161618, 35170, 35209, 35216, 35231,
  7339. 35248, 35255, 35288, 35307, 18081, 35315, 35325, 35327, 18095, 35345,
  7340. 35348, 162181, 35361, 35381, 35390, 35397, 35405, 35416, 35502, 35472,
  7341. 35511, 35543, 35580, 162436, 35594, 35589, 35597, 35612, 35629, 18188,
  7342. 35665, 35678, 35702, 35713, 35723, {f: 2, c: 35732}, 35897, 162739, 35901,
  7343. 162750, 162759, 35909, 35919, 35927, 35945, 35949, 163000, 35987, 35986,
  7344. 35993, 18276, 35995, 36054, 36053, 163232, 36081, 163344, 36105, 36110,
  7345. 36296, 36313, 36364, 18429, 36349, 36358, 163978, 36372, 36374,
  7346. {f: 2, c: 36385}, 36391, 164027, 18454, 36406, 36409, 36436, 36450, 36461,
  7347. 36463, 36504, 36510, 36533, 36539, 164482, 18510, 164595, 36608, 36616,
  7348. 36651, 36672, 36682, 36696, 164876, 36772, 36788, 164949, 36801, 36806,
  7349. 64036, 36810, 36813, 36819, 36821, 36849, 36853, 36859, 36876, 36919,
  7350. 165227, 36931, 36957, {f: 2, c: 165320}, 36997, 37004, 37008, 37025, 18613,
  7351. 37040, 37046, 37059, 37064, 165591, 37084, 37087, 165626, 37110, 37106,
  7352. 37120, 37099, {f: 2, c: 37118}, 37124, 37126, 37144, 37150, 37175, 37177,
  7353. {f: 2, c: 37190}, 37207, 37209, 37236, 37241, 37253, 37299, 37302,
  7354. {f: 2, c: 37315}, 166217, 166214, 37356, 37377, {f: 2, c: 37398}, 166251,
  7355. 37442, 37450, 37462, 37473, 37477, 37480, 166280, {f: 2, c: 37500}, 37503,
  7356. 37513, 37517, 37527, 37529, 37535, 37547, {f: 2, c: 166330}, 37554,
  7357. {f: 2, c: 37567}, 37574, 37582, 37605, 37649, 166430, 166441, 37623, 37673,
  7358. 166513, 166467, 37713, 37722, 37739, 37745, 37747, 37793, 166553, 166605,
  7359. 37768, 37771, 37775, 37790, 37877, 166628, 166621, 37873, 37831, 37852,
  7360. 37863, 37897, {f: 2, c: 37910}, 37883, 37938, 37947, 166849, 166895, 37997,
  7361. 37999, 38265, 38278, {f: 2, c: 38284}, 167184, 167281, 38344, 167419,
  7362. 167455, 38444, {f: 2, c: 38451}, 167478, 38460, 38497, 167561, 38530,
  7363. 167659, 38554, 167730, 18919, 38579, 38586, 38589, 18938, 167928, 38616,
  7364. 38618, 38621, 18948, 38676, 38691, 18985, 38710, 38721, 38727, 38743,
  7365. 38747, 38762, 168608, 168625, 38806, 38814, {f: 2, c: 38833}, 38846, 38860,
  7366. 38865, 38868, 38872, 38881, 38897, 38916, 38925, 38932, 38934, 19132,
  7367. 169104, {f: 2, c: 38962}, 38949, 38983, 39014, 39083, 39085, 39088, 169423,
  7368. 39095, {f: 2, c: 39099}, 39106, 39111, 39115, 39137, 39139, 39146,
  7369. {f: 2, c: 39152}, 39155, 39176, 19259, 169712, {f: 2, c: 39190}, 169753,
  7370. {f: 3, c: 39194}, 169808, 39217, {f: 3, c: 39226}, 39233, 39238, 39246,
  7371. 39264, 39331, 39334, 39357, 39359, 39363, 39380, 39385, 39390, 170182,
  7372. 39408, 39417, 39420, 39434, 39441, 39450, 39456, 39473, 39492, 39500,
  7373. 39512, 19394, 39599, 19402, 39607, 19410, 39609, 170610, 39622, 39632,
  7374. 39634, 39637, 39648, 39653, 39657, 39692, 39696, 39698, 39702, 39708,
  7375. 39723, 39741, 19488, 39755, 39779, 39781, {f: 2, c: 39787},
  7376. {f: 2, c: 39798}, 39846, 39852, 171483, 39858, 39864, 39870, 39923, 39896,
  7377. 39901, 39914, 39919, 39918, 171541, 171658, 171593, 39958,
  7378. {f: 3, c: 39960}, 39965, 39970, 39977, 171716, 39985, 39991, 40005, 40028,
  7379. 171753, {f: 2, c: 40009}, 171739, 40020, 40024, 40027, 40029, 40031,
  7380. {f: 3, c: 40041}, {f: 2, c: 40045}, 40050, 40053, 40058, 40166, 40178,
  7381. 40203, [171982, 171991], 40209, {f: 2, c: 40215}, 172079, 19652, 172058,
  7382. 40242, 19665, 40266, 40287, 40290, 172281, 172162, 40307, {f: 2, c: 40310},
  7383. 40324, 40345, 40353, 40383, 40373, 40377, 40381, 40393, 40410, 40416,
  7384. 40419, 19719, 40458, 40450, 40461, 40476, 40571, 139800, 40576, 40581,
  7385. 40603, 172940, 40637, 173111, 40671, 40703, 40706, 19831, 40707, 40762,
  7386. 40765, 40774, 40787, 40789, 40792, 173553, 40797, 173570, 40809, 40813,
  7387. 40816, 173746, 11948, 13844, 14509, 15820, 16348, 17854, 17936, 19326,
  7388. 19512, 19681, 19980, {f: 2, c: 20003}, 20089, 20211, 20236, 20249, 20267,
  7389. 20270, 20273, 20356, 20382, 20407, 20484, 20492, 20556, 20575, 20578,
  7390. 20599, 20622, 20638, 20642, 20675, 20712, 20721, 20734, 20743,
  7391. {f: 3, c: 20748}, 20787, 20792, 20852, 20868, 20920, 20922, 20936, 20943,
  7392. 20945, {f: 2, c: 20947}, 20952, 20959, 20997, 21030, 21032, 21035,
  7393. {f: 2, c: 21041}, 21045, 21052, 21082, 21088, 21102, {f: 2, c: 21112},
  7394. 21130, 21132, 21217, 21225, 21233, 21251, 21265, 21279, 21293, 21298,
  7395. 21309, 21349, 21357, 21369, 21374, 21396, 21401, 21418, 21423, 21434,
  7396. 21441, {f: 2, c: 21444}, 21472, 21523, 21546, 21553, {f: 2, c: 21556},
  7397. 21580, 21671, 21674, 21681, 21691, 21710, 21738, 21756, 21765, 21768,
  7398. 21781, 21799, 21802, 21814, 21841, 21862, 21903, 21906, 21908, 21924,
  7399. 21938, 21955, 21958, 21971, 21979, 21996, 21998, 22001, 22006, 22008,
  7400. 22021, 22029, {f: 2, c: 22033}, 22060, 22069, 22073, 22093, 22100, 22149,
  7401. 22175, 22182, 22199, 22220, 22223, 22233, 22241, 22251, 22253, 22257,
  7402. 22279, 22284, {f: 2, c: 22298}, 22301, 22316, 22318, {f: 2, c: 22333},
  7403. 22367, 22379, 22381, 22394, 22403, 22423, 22446, 22485, 22503, 22541,
  7404. 22566, 22605, 22607, 22623, 22637, 22655, 22657, 22680, 22716, 22815,
  7405. 22819, 22873, 22905, 22935, 22959, 22963, 23007, 23025, 23032, 23218,
  7406. 23224, 23274, 23286, 23323, 23325, 23329, 23352, 23479, 23511, 23520,
  7407. 23583, 23594, 23596, 23606, 23641, 23644, 23661, 23773, 23809, 23860,
  7408. 23869, 23897, 23934, 23939, 24007, 24057, 24104, 24114, 24117, 24155,
  7409. 24168, 24170, 24183, 24192, 24203, 24243, 24253, 24273, {f: 2, c: 24276},
  7410. 24397, 24492, 24554, 24583, 24649, 24660, 24679, 24763, 24772, 24829,
  7411. 24842, 24854, 24874, 24886, 24926, 24932, 24955, 24957, 24959, 24989,
  7412. 25016, 25052, 25058, 25061, 25064, 25092, 25095, 25137, 25145, 25149,
  7413. 25210, 25232, 25256, 25306, 25332, 25366, 25386, 25398, 25414, 25419,
  7414. 25427, 25457, 25461, 25471, 25474, 25482, {f: 2, c: 25518}, 25578,
  7415. {f: 2, c: 25592}, 25618, 25624, 25632, 25636, 25642, 25653, 25661, 25663,
  7416. 25682, 25695, 25716, 25744, {f: 2, c: 25752}, 25772, 25779, 25837, 25840,
  7417. 25883, 25887, 25902, 25929, 25952, 26002, 26005, 26036, 26046, 26056,
  7418. 26062, 26064, 26079, 26238, {f: 2, c: 26251}, 26291, 26304, 26319, 26405,
  7419. 26421, 26453, 26496, 26511, 26513, 26532, 26545, 26549, 26558, 26664,
  7420. 26758, 26859, 26869, 26903, 26931, 26936, 26971, 26981, 27048, 27051,
  7421. 27055, 27109, 27121, 27210, 27221, 27239, 27249, 27311, {f: 2, c: 27336},
  7422. 27395, 27451, 27455, {f: 2, c: 27517}, 27568, 27639, 27641, 27652, 27657,
  7423. 27661, 27692, 27722, 27730, 27732, 27769, 27820, 27828, 27858, 28001,
  7424. 28028, 28089, 28144, 28229, 28275, 28283, 28285, 28297, 28348,
  7425. {f: 2, c: 28378}, 28454, 28457, 28464, 28551, 28573, 28590, 28599, 28685,
  7426. 28704, 28745, 28824, 28848, {f: 2, c: 28885}, 28997, 29106, 29172, 29207,
  7427. 29215, 29251, {f: 2, c: 29263}, 29274, 29280, 29288, 29303, 29316, 29385,
  7428. 29413, 29428, 29442, 29451, 29470, 29474, {f: 2, c: 29498}, 29517, 29528,
  7429. 29543, 29810, 29871, 29919, 29924, 29940, 29947, 29974, 29985, 30015,
  7430. 30046, 30105, 30116, 30145, 30148, 30156, 30167, 30172, 30177, 30191,
  7431. 30212, 30220, 30237, 30258, 30264, 30277, 30282, 30303, 30381, 30397,
  7432. 30425, 30443, 30448, 30457, 30464, 30478, 30498, 30504, 30511, 30521,
  7433. 30526, 30533, 30538, 30543, 30558, 30564, 30567, 30572, 30596,
  7434. {f: 2, c: 30604}, 30614, 30631, 30639, 30647, 30654, 30665, 30673, 30681,
  7435. 30705, 30775, 30812, 30846, 30872, 30881, 30897, 30899, 30921, 30931,
  7436. 30988, 31007, {f: 2, c: 31015}, 31039, 31042, 31060, 31083, 31100, 31147,
  7437. 31172, 31210, 31234, 31244, 31280, 31290, 31300, 31360, 31366, 31380,
  7438. 31413, 31421, 31486, 31531, 31607, 31648, 31660, 31664, 31720, 31730,
  7439. 31736, 31740, 31742, 31753, 31784, 31791, 31810, {f: 2, c: 31826},
  7440. {f: 3, c: 31835}, 31858, 31869, 31879, 31902, 31930, 31943, 31955, 31962,
  7441. 32060, 32077, 32130, 32133, 32141, 32145, 32158, 32179, 32185, 32208,
  7442. 32229, {f: 2, c: 32245}, 32303, 32310, 32324, 32367, 32376, 32385, 32573,
  7443. 32603, 32605, 32613, 32625, {f: 2, c: 32639}, 32651, 32674,
  7444. {f: 3, c: 32765}, 32775, 32781, 32798, 32825, 32904, 32910, 32975, 32980,
  7445. 33005, 33008, 33015, 33018, 33022, 33027, 33047, 33072, 33111, 33135,
  7446. 33139, 33163, 33168, 33179, 33182, 33227, 33237, {f: 2, c: 33245}, 33249,
  7447. 33263, 33270, 33280, 33291, {f: 2, c: 33299}, 33306, 33338, 33348, 33389,
  7448. 33412, 33417, 33425, 33450, 33456, 33488, 33514, 33519, 33526, 33622,
  7449. 33656, 33784, 33788, 33880, 33939, 33969, 33981, 34043, 34118, 34134,
  7450. 34141, 34181, 34200, 34370, 34374, 34496, 34580, 34594, 34606, 34617,
  7451. 34653, 34683, 34700, 34702, {f: 2, c: 34711}, 34718, 34723, 34734, 34751,
  7452. 34761, 34778, 34840, 34843, 34861, 34874, 34885, 34891, 34894, 34901,
  7453. 34906, 34926, {f: 3, c: 34970}, 35021, 35040, 35055, {f: 2, c: 35086},
  7454. 35110, 35125, 35162, 35164, 35179, 35184, 35196, 35237, 35253, 35260,
  7455. 35285, 35401, 35415, 35431, 35454, 35462, 35478, 35510, 35529, 35537,
  7456. 35549, 35564, 35573, 35590, 35599, 35601, 35653, 35666, 35693, 35704,
  7457. 35708, 35710, 35717, 35743, 35915, 35923, 35963, 36026, 36037, 36041,
  7458. 36050, 36076, 36085, 36087, 36097, 36099, 36119, 36124, 36206, 36241,
  7459. 36255, 36267, 36274, 36309, 36327, {f: 2, c: 36337}, 36340, 36353, 36363,
  7460. 36390, 36401, {f: 2, c: 36416}, 36429, 36431, 36444, 36449, 36457, 36465,
  7461. 36469, 36471, 36489, 36496, 36501, 36506, 36519, 36521, 36525, 36584,
  7462. 36592, 36615, 36632, 36645, 36647, 36652, 36661, 36666, 36675, 36679,
  7463. 36689, 36693, {f: 3, c: 36768}, 36773, 36868, 36891, 36911, 36940, 36955,
  7464. 36976, 36980, 36985, 37003, 37016, 37024, 37042, 37053, 37065, 37104,
  7465. 37125, 37157, 37210, 37223, 37242, 37258, 37265, 37269, 37296, 37307,
  7466. 37309, 37314, 37317, 37376, 37385, 37411, 37494, 37518, 37551,
  7467. {f: 2, c: 37563}, 37569, 37571, 37573, 37576, 37652, 37683, 37686, 37720,
  7468. 37759, 37762, 37770, 37819, 37836, 37862, 37881, 37890, {f: 2, c: 37901},
  7469. 37934, 37964, 38280, 38305, 38335, 38342, 38345, {f: 2, c: 38353}, 38368,
  7470. 38372, 38374, 38436, 38449, 38456, 38461, 38484, 38516, 38523, 38527,
  7471. 38529, 38531, 38537, 38550, 38574, 38659, 38683, {f: 2, c: 38689}, 38696,
  7472. 38705, 38759, 38774, 38781, 38783, 38809, 38815, 38828, 38841, 38861,
  7473. 38880, 38895, 38919, 38950, 38958, {f: 2, c: 39010}, 39092, 39109, 39170,
  7474. 39185, 39189, 39221, 39240, 39252, 39262, 39393, 39436, 39440, 39459,
  7475. 39489, 39505, {f: 2, c: 39613}, 39681, 39689, 39691, {f: 2, c: 39693},
  7476. 39705, 39733, 39752, 39765, 39784, 39808, 39814, 39824, 39837, 39856,
  7477. 39871, 39880, 39935, 39938, 39964, 39989, 40004, 40022, 40033, 40040,
  7478. 40240, 40253, 40298, 40315, 40421, 40425, 40435, 40570, {f: 3, c: 40578},
  7479. 40624, 40676, 40688, 40690, 40713, 40719, 40724, 40731, 40738, 40742,
  7480. {f: 2, c: 40746}, 40756, 40794, 40815, 40862, 40869, 131317, 151044,
  7481. 151538, 163187, 194581, 194630, 194713, 194726, 194789, 195038, 13790,
  7482. {s: 4}, 172722, 0, 0, 131416, {s: 4}, 132529, 0, 0, 132844, {s: 6}, 134488,
  7483. {s: 21}, 154060, {s: 9}, 14756, 14776, 142914, 0, 0, 14940, 0, 0, 143339,
  7484. 0, 0, 162228, 0, 15044, 15051, {s: 5}, 14981, {s: 8}, 15347, 27384, {s: 5},
  7485. 15665, {s: 9}, 147531, 0, 15936, 14497, {s: 34}, 158878, {s: 12}, 18207,
  7486. 162876, {s: 4}, 18462, {s: 71}, 39709, 39724, 20482, 20958, 21255, 23532,
  7487. 63784, 26142, 63785, 28746, 64021, 21857, 27706, 31328, 156492, 34819,
  7488. 38315, 38741, 171581, 173594],
  7489. 'Adobe-Korea1': [{f: 95, c: 32}, 8361, 8208, 169, 0, 0, [12288, 12644],
  7490. {f: 2, c: 12289}, 12539, 8229, [8230, 8943], 168, 12291, {f: 2, c: 8211},
  7491. 8214, 65340, 65374, {f: 2, c: 8216}, {f: 2, c: 8220}, {f: 2, c: 12308},
  7492. {f: 10, c: 12296}, 177, 215, 247, 8800, {f: 2, c: 8804}, 8734, 8756, 176,
  7493. {f: 2, c: 8242}, 8451, 8491, {f: 2, c: 65504}, 65509, 9794, 9792, 8736,
  7494. 8869, 8978, 8706, 8711, 8801, 8786, 167, 8251, 9734, 9733, 9675, 9679,
  7495. 9678, 9671, 9670, 9633, 9632, 9651, 9650, 9661, 9660, 8594,
  7496. {f: 2, c: 8592}, {f: 2, c: 8595}, 12307, 171, 187, 8730, 8765, 8733, 8757,
  7497. {f: 2, c: 8747}, 8712, 8715, {f: 2, c: 8838}, {f: 2, c: 8834}, 8746, 8745,
  7498. {f: 2, c: 8743}, 65506, 8658, 8660, 8704, 8707, 180, 732, 711, 728, 733,
  7499. 730, 729, 184, 731, 161, 191, 8758, 8750, 8721, 8719, 164, 8457, 8240,
  7500. 9665, 9664, 9655, 9654, 9828, {f: 2, c: 9824}, 9829, 9831, 9827, 9673,
  7501. 9672, 9635, {f: 2, c: 9680}, 9618, {f: 2, c: 9636}, 9640, 9639, 9638, 9641,
  7502. 9832, 9743, 9742, 9756, 9758, 182, {f: 2, c: 8224}, 8597, 8599, 8601, 8598,
  7503. 8600, 9837, {f: 2, c: 9833}, 9836, 12927, 12828, 8470, 13255, 8482, 13250,
  7504. 13272, 8481, {f: 59, c: 65281}, 65510, {f: 33, c: 65341}, 65507,
  7505. {f: 51, c: 12593}, {f: 42, c: 12645}, {f: 10, c: 8560}, {f: 10, c: 8544},
  7506. {f: 17, c: 913}, {f: 7, c: 931}, {f: 17, c: 945}, {f: 7, c: 963}, 9472,
  7507. 9474, 9484, 9488, 9496, 9492, 9500, 9516, 9508, 9524, 9532, 9473, 9475,
  7508. 9487, 9491, 9499, 9495, 9507, 9523, 9515, 9531, 9547, 9504, 9519, 9512,
  7509. 9527, 9535, 9501, 9520, 9509, 9528, 9538, 9490, 9489, 9498, 9497, 9494,
  7510. 9493, 9486, 9485, {f: 2, c: 9502}, {f: 2, c: 9505}, {f: 2, c: 9510},
  7511. {f: 2, c: 9513}, {f: 2, c: 9517}, {f: 2, c: 9521}, {f: 2, c: 9525},
  7512. {f: 2, c: 9529}, {f: 2, c: 9533}, {f: 2, c: 9536}, {f: 8, c: 9539},
  7513. {f: 3, c: 13205}, 8467, 13208, 13252, {f: 4, c: 13219}, {f: 10, c: 13209},
  7514. 13258, {f: 3, c: 13197}, 13263, {f: 2, c: 13192}, 13256, {f: 2, c: 13223},
  7515. {f: 10, c: 13232}, {f: 5, c: 13184}, {f: 6, c: 13242}, {f: 5, c: 13200},
  7516. 8486, {f: 2, c: 13248}, {f: 3, c: 13194}, 13270, 13253, {f: 3, c: 13229},
  7517. 13275, {f: 4, c: 13225}, 13277, 13264, 13267, 13251, 13257, 13276, 13254,
  7518. 198, 208, 170, 294, 306, 319, 321, 216, 338, 186, 222, 358, 330,
  7519. {f: 28, c: 12896}, {f: 26, c: 9424}, {f: 15, c: 9312}, 189,
  7520. {f: 2, c: 8531}, 188, 190, {f: 4, c: 8539}, 230, 273, 240, 295, 305, 307,
  7521. 312, 320, 322, 248, 339, 223, 254, 359, 331, 329, {f: 28, c: 12800},
  7522. {f: 26, c: 9372}, {f: 15, c: 9332}, 185, {f: 2, c: 178}, 8308, 8319,
  7523. {f: 4, c: 8321}, {f: 83, c: 12353}, {f: 86, c: 12449}, {f: 6, c: 1040},
  7524. 1025, {f: 32, c: 1046}, 1105, {f: 26, c: 1078}, {f: 2, c: 44032}, 44036,
  7525. {f: 4, c: 44039}, {f: 8, c: 44048}, {f: 5, c: 44057}, 44064, 44068,
  7526. {f: 2, c: 44076}, {f: 3, c: 44079}, {f: 2, c: 44088}, 44092, 44096, 44107,
  7527. 44109, 44116, 44120, 44124, {f: 2, c: 44144}, 44148, {f: 2, c: 44151},
  7528. 44154, {f: 2, c: 44160}, {f: 4, c: 44163}, {f: 4, c: 44169}, 44176, 44180,
  7529. {f: 2, c: 44188}, {f: 3, c: 44191}, {f: 3, c: 44200}, 44204,
  7530. {f: 2, c: 44207}, {f: 2, c: 44216}, {f: 3, c: 44219}, 44225, 44228, 44232,
  7531. 44236, 44245, 44247, {f: 2, c: 44256}, 44260, {f: 2, c: 44263}, 44266,
  7532. 44268, {f: 3, c: 44271}, 44275, {f: 2, c: 44277}, {f: 2, c: 44284}, 44288,
  7533. 44292, 44294, {f: 2, c: 44300}, 44303, 44305, 44312, 44316, 44320, 44329,
  7534. {f: 2, c: 44332}, {f: 2, c: 44340}, 44344, 44348, {f: 2, c: 44356}, 44359,
  7535. 44361, 44368, 44372, 44376, 44385, 44387, {f: 2, c: 44396}, 44400,
  7536. {f: 4, c: 44403}, {f: 3, c: 44411}, 44415, {f: 2, c: 44417},
  7537. {f: 2, c: 44424}, 44428, 44432, {f: 2, c: 44444}, 44452, 44471,
  7538. {f: 2, c: 44480}, 44484, 44488, {f: 2, c: 44496}, 44499, 44508, 44512,
  7539. 44516, {f: 2, c: 44536}, 44540, {f: 3, c: 44543}, {f: 2, c: 44552}, 44555,
  7540. 44557, 44564, {f: 2, c: 44592}, 44596, {f: 2, c: 44599}, 44602,
  7541. {f: 2, c: 44608}, 44611, {f: 2, c: 44613}, 44618, {f: 3, c: 44620}, 44624,
  7542. 44628, 44630, {f: 2, c: 44636}, {f: 3, c: 44639}, 44645, {f: 2, c: 44648},
  7543. 44652, 44656, {f: 2, c: 44664}, {f: 3, c: 44667}, {f: 2, c: 44676}, 44684,
  7544. {f: 3, c: 44732}, 44736, 44740, {f: 2, c: 44748}, {f: 3, c: 44751},
  7545. {f: 2, c: 44760}, 44764, 44776, 44779, 44781, 44788, 44792, 44796,
  7546. {f: 2, c: 44807}, 44813, 44816, {f: 2, c: 44844}, 44848, 44850, 44852,
  7547. {f: 2, c: 44860}, 44863, {f: 3, c: 44865}, {f: 2, c: 44872}, 44880,
  7548. {f: 2, c: 44892}, {f: 2, c: 44900}, 44921, 44928, 44932, 44936,
  7549. {f: 2, c: 44944}, 44949, 44956, {f: 2, c: 44984}, 44988, 44992,
  7550. {f: 3, c: 44999}, 45003, {f: 2, c: 45005}, 45012, 45020, {f: 2, c: 45032},
  7551. {f: 2, c: 45040}, 45044, 45048, {f: 2, c: 45056}, 45060, 45068, 45072,
  7552. 45076, {f: 2, c: 45084}, 45096, {f: 2, c: 45124}, 45128, 45130, 45132,
  7553. 45134, {f: 3, c: 45139}, 45143, 45145, 45149, {f: 2, c: 45180}, 45184,
  7554. 45188, {f: 2, c: 45196}, 45199, 45201, {f: 3, c: 45208}, 45212,
  7555. {f: 4, c: 45215}, {f: 2, c: 45224}, {f: 5, c: 45227}, 45233,
  7556. {f: 3, c: 45235}, 45240, 45244, {f: 2, c: 45252}, {f: 3, c: 45255},
  7557. {f: 2, c: 45264}, 45268, 45272, 45280, 45285, {f: 2, c: 45320},
  7558. {f: 2, c: 45323}, 45328, {f: 2, c: 45330}, {f: 2, c: 45336},
  7559. {f: 3, c: 45339}, {f: 3, c: 45347}, 45352, 45356, {f: 2, c: 45364},
  7560. {f: 3, c: 45367}, {f: 2, c: 45376}, 45380, 45384, {f: 2, c: 45392},
  7561. {f: 2, c: 45396}, 45400, 45404, 45408, {f: 2, c: 45432}, 45436, 45440,
  7562. 45442, {f: 2, c: 45448}, 45451, 45453, {f: 3, c: 45458}, 45464, 45468,
  7563. 45480, 45516, 45520, 45524, {f: 2, c: 45532}, 45535, {f: 2, c: 45544},
  7564. 45548, 45552, 45561, 45563, 45565, {f: 2, c: 45572}, 45576,
  7565. {f: 2, c: 45579}, {f: 2, c: 45588}, 45591, 45593, 45600, 45620, 45628,
  7566. 45656, 45660, 45664, {f: 2, c: 45672}, {f: 2, c: 45684}, 45692,
  7567. {f: 2, c: 45700}, 45705, {f: 2, c: 45712}, 45716, {f: 3, c: 45720},
  7568. {f: 2, c: 45728}, 45731, {f: 2, c: 45733}, 45738, 45740, 45744, 45748,
  7569. {f: 2, c: 45768}, 45772, 45776, 45778, {f: 2, c: 45784}, 45787, 45789,
  7570. 45794, {f: 3, c: 45796}, 45800, {f: 5, c: 45803}, {f: 3, c: 45811},
  7571. {f: 5, c: 45815}, {f: 3, c: 45823}, 45828, 45832, {f: 2, c: 45840},
  7572. {f: 3, c: 45843}, 45852, {f: 3, c: 45908}, 45912, {f: 2, c: 45915},
  7573. {f: 2, c: 45918}, {f: 2, c: 45924}, 45927, 45929, 45931, 45934,
  7574. {f: 2, c: 45936}, 45940, 45944, {f: 2, c: 45952}, {f: 3, c: 45955}, 45964,
  7575. 45968, 45972, {f: 2, c: 45984}, 45992, 45996, {f: 2, c: 46020}, 46024,
  7576. {f: 2, c: 46027}, 46030, 46032, {f: 2, c: 46036}, 46039, 46041, 46043,
  7577. 46045, 46048, 46052, 46056, 46076, 46096, 46104, 46108, 46112,
  7578. {f: 2, c: 46120}, 46123, 46132, {f: 2, c: 46160}, 46164, 46168,
  7579. {f: 2, c: 46176}, 46179, 46181, 46188, 46208, 46216, 46237, 46244, 46248,
  7580. 46252, 46261, 46263, 46265, 46272, 46276, 46280, 46288, 46293,
  7581. {f: 2, c: 46300}, 46304, {f: 2, c: 46307}, 46310, {f: 2, c: 46316}, 46319,
  7582. 46321, 46328, {f: 2, c: 46356}, 46360, {f: 2, c: 46363}, {f: 2, c: 46372},
  7583. {f: 4, c: 46375}, {f: 2, c: 46384}, 46388, 46392, {f: 2, c: 46400},
  7584. {f: 3, c: 46403}, {f: 3, c: 46411}, 46416, 46420, {f: 2, c: 46428},
  7585. {f: 3, c: 46431}, {f: 2, c: 46496}, 46500, 46504, {f: 2, c: 46506},
  7586. {f: 2, c: 46512}, {f: 3, c: 46515}, {f: 3, c: 46523}, 46528, 46532,
  7587. {f: 2, c: 46540}, {f: 3, c: 46543}, 46552, 46572, {f: 2, c: 46608}, 46612,
  7588. 46616, 46629, 46636, 46644, 46664, 46692, 46696, {f: 2, c: 46748}, 46752,
  7589. 46756, {f: 2, c: 46763}, 46769, 46804, 46832, 46836, 46840,
  7590. {f: 2, c: 46848}, 46853, {f: 2, c: 46888}, 46892, {f: 2, c: 46895},
  7591. {f: 2, c: 46904}, 46907, 46916, 46920, 46924, {f: 2, c: 46932}, 46944,
  7592. 46948, 46952, {f: 2, c: 46960}, 46963, 46965, {f: 2, c: 46972}, 46976,
  7593. 46980, {f: 2, c: 46988}, {f: 4, c: 46991}, {f: 4, c: 46998}, 47004, 47008,
  7594. {f: 2, c: 47016}, {f: 3, c: 47019}, {f: 2, c: 47028}, 47032, 47047, 47049,
  7595. {f: 2, c: 47084}, 47088, 47092, {f: 2, c: 47100}, {f: 3, c: 47103},
  7596. {f: 3, c: 47111}, 47116, 47120, {f: 2, c: 47128}, 47131, 47133,
  7597. {f: 2, c: 47140}, 47144, 47148, {f: 2, c: 47156}, {f: 3, c: 47159}, 47168,
  7598. 47172, 47185, 47187, {f: 2, c: 47196}, 47200, 47204, {f: 2, c: 47212},
  7599. 47215, 47217, 47224, 47228, 47245, 47272, 47280, 47284, 47288,
  7600. {f: 2, c: 47296}, 47299, 47301, 47308, 47312, 47316, 47325, 47327, 47329,
  7601. {f: 2, c: 47336}, 47340, 47344, {f: 2, c: 47352}, 47355, 47357, 47364,
  7602. 47384, 47392, {f: 2, c: 47420}, 47424, 47428, 47436, 47439, 47441,
  7603. {f: 2, c: 47448}, 47452, 47456, {f: 2, c: 47464}, 47467, 47469,
  7604. {f: 2, c: 47476}, 47480, 47484, {f: 2, c: 47492}, 47495, {f: 2, c: 47497},
  7605. {f: 2, c: 47501}, {f: 2, c: 47532}, 47536, 47540, {f: 2, c: 47548}, 47551,
  7606. 47553, {f: 2, c: 47560}, 47564, {f: 5, c: 47566}, {f: 2, c: 47576}, 47579,
  7607. {f: 2, c: 47581}, 47585, {f: 3, c: 47587}, 47592, 47596, {f: 2, c: 47604},
  7608. {f: 4, c: 47607}, {f: 2, c: 47616}, 47624, 47637, {f: 2, c: 47672}, 47676,
  7609. 47680, 47682, {f: 2, c: 47688}, 47691, {f: 2, c: 47693}, {f: 3, c: 47699},
  7610. 47704, 47708, {f: 2, c: 47716}, {f: 3, c: 47719}, {f: 2, c: 47728}, 47732,
  7611. 47736, {f: 3, c: 47747}, 47751, 47756, {f: 2, c: 47784}, {f: 2, c: 47787},
  7612. 47792, 47794, {f: 2, c: 47800}, 47803, 47805, 47812, 47816,
  7613. {f: 2, c: 47832}, 47868, 47872, 47876, 47885, 47887, 47889, 47896, 47900,
  7614. 47904, 47913, 47915, {f: 3, c: 47924}, 47928, {f: 4, c: 47931},
  7615. {f: 2, c: 47940}, 47943, 47945, 47949, {f: 2, c: 47951}, 47956, 47960,
  7616. 47969, 47971, 47980, 48008, 48012, 48016, 48036, 48040, 48044, 48052,
  7617. 48055, 48064, 48068, 48072, 48080, 48083, {f: 2, c: 48120}, 48124,
  7618. {f: 2, c: 48127}, 48130, {f: 2, c: 48136}, {f: 3, c: 48139}, 48143, 48145,
  7619. {f: 5, c: 48148}, {f: 5, c: 48155}, {f: 2, c: 48164}, 48167, 48169, 48173,
  7620. {f: 2, c: 48176}, 48180, 48184, {f: 2, c: 48192}, {f: 3, c: 48195}, 48201,
  7621. {f: 2, c: 48204}, 48208, 48221, {f: 2, c: 48260}, 48264, {f: 2, c: 48267},
  7622. 48270, {f: 2, c: 48276}, 48279, {f: 2, c: 48281}, {f: 2, c: 48288}, 48292,
  7623. {f: 2, c: 48295}, {f: 2, c: 48304}, {f: 3, c: 48307}, {f: 2, c: 48316},
  7624. 48320, 48324, 48333, {f: 3, c: 48335}, 48341, 48344, 48348,
  7625. {f: 3, c: 48372}, 48376, 48380, {f: 2, c: 48388}, 48391, 48393, 48400,
  7626. 48404, 48420, 48428, 48448, {f: 2, c: 48456}, 48460, 48464,
  7627. {f: 2, c: 48472}, 48484, 48488, {f: 2, c: 48512}, 48516, {f: 4, c: 48519},
  7628. {f: 2, c: 48528}, 48531, 48533, {f: 2, c: 48537}, 48540, 48548, 48560,
  7629. 48568, {f: 2, c: 48596}, 48600, 48604, 48617, 48624, 48628, 48632, 48640,
  7630. 48643, 48645, {f: 2, c: 48652}, 48656, 48660, {f: 2, c: 48668}, 48671,
  7631. {f: 2, c: 48708}, 48712, 48716, 48718, {f: 2, c: 48724}, 48727,
  7632. {f: 3, c: 48729}, {f: 2, c: 48736}, 48740, 48744, 48746, {f: 2, c: 48752},
  7633. {f: 3, c: 48755}, {f: 3, c: 48763}, 48768, 48772, {f: 2, c: 48780},
  7634. {f: 3, c: 48783}, {f: 2, c: 48792}, 48808, {f: 2, c: 48848}, 48852,
  7635. {f: 2, c: 48855}, 48864, {f: 3, c: 48867}, 48876, 48897, {f: 2, c: 48904},
  7636. {f: 2, c: 48920}, {f: 3, c: 48923}, {f: 2, c: 48960}, 48964, 48968,
  7637. {f: 2, c: 48976}, 48981, 49044, 49072, 49093, {f: 2, c: 49100}, 49104,
  7638. 49108, 49116, 49119, 49121, 49212, 49233, 49240, 49244, 49248,
  7639. {f: 2, c: 49256}, {f: 2, c: 49296}, 49300, 49304, {f: 2, c: 49312}, 49315,
  7640. 49317, {f: 2, c: 49324}, {f: 2, c: 49327}, {f: 4, c: 49331},
  7641. {f: 2, c: 49340}, {f: 3, c: 49343}, 49349, {f: 2, c: 49352}, 49356, 49360,
  7642. {f: 2, c: 49368}, {f: 3, c: 49371}, {f: 2, c: 49380}, 49384, 49388,
  7643. {f: 2, c: 49396}, 49399, 49401, 49408, 49412, 49416, 49424, 49429,
  7644. {f: 5, c: 49436}, {f: 2, c: 49443}, {f: 2, c: 49446}, {f: 2, c: 49452},
  7645. {f: 3, c: 49455}, 49462, {f: 2, c: 49464}, 49468, 49472, {f: 2, c: 49480},
  7646. {f: 3, c: 49483}, {f: 2, c: 49492}, 49496, 49500, {f: 2, c: 49508},
  7647. {f: 3, c: 49511}, 49520, 49524, 49528, 49541, {f: 3, c: 49548}, 49552,
  7648. 49556, 49558, {f: 2, c: 49564}, 49567, 49569, 49573, {f: 2, c: 49576},
  7649. 49580, 49584, 49597, 49604, 49608, 49612, 49620, {f: 2, c: 49623}, 49632,
  7650. 49636, 49640, {f: 2, c: 49648}, 49651, {f: 2, c: 49660}, 49664, 49668,
  7651. {f: 2, c: 49676}, 49679, 49681, {f: 2, c: 49688}, 49692, {f: 2, c: 49695},
  7652. {f: 2, c: 49704}, 49707, 49709, 49711, {f: 2, c: 49713}, 49716, 49736,
  7653. {f: 2, c: 49744}, 49748, 49752, 49760, 49765, {f: 2, c: 49772}, 49776,
  7654. 49780, {f: 2, c: 49788}, 49791, 49793, {f: 2, c: 49800}, 49808, 49816,
  7655. 49819, 49821, {f: 2, c: 49828}, 49832, {f: 2, c: 49836}, {f: 2, c: 49844},
  7656. 49847, 49849, {f: 2, c: 49884}, 49888, {f: 2, c: 49891}, {f: 3, c: 49899},
  7657. 49903, 49905, 49910, {f: 2, c: 49912}, {f: 2, c: 49915}, 49920,
  7658. {f: 2, c: 49928}, {f: 2, c: 49932}, {f: 3, c: 49939}, 49944, 49948,
  7659. {f: 2, c: 49956}, {f: 2, c: 49960}, 49989, {f: 2, c: 50024}, 50028, 50032,
  7660. 50034, {f: 2, c: 50040}, {f: 2, c: 50044}, 50052, 50056, 50060, 50112,
  7661. {f: 2, c: 50136}, 50140, {f: 2, c: 50143}, 50146, {f: 2, c: 50152}, 50157,
  7662. {f: 2, c: 50164}, 50168, 50184, 50192, 50212, 50220, 50224, 50228,
  7663. {f: 2, c: 50236}, 50248, {f: 2, c: 50276}, 50280, 50284, {f: 2, c: 50292},
  7664. 50297, 50304, 50324, 50332, 50360, 50364, 50409, {f: 2, c: 50416}, 50420,
  7665. 50424, 50426, {f: 3, c: 50431}, 50444, 50448, 50452, 50460,
  7666. {f: 2, c: 50472}, 50476, 50480, {f: 2, c: 50488}, 50491, 50493,
  7667. {f: 2, c: 50500}, {f: 3, c: 50504}, {f: 3, c: 50508}, {f: 3, c: 50515},
  7668. {f: 3, c: 50519}, {f: 2, c: 50525}, {f: 2, c: 50528}, 50532, 50536,
  7669. {f: 2, c: 50544}, {f: 3, c: 50547}, {f: 2, c: 50556}, 50560, 50564, 50567,
  7670. {f: 2, c: 50572}, 50575, 50577, 50581, {f: 2, c: 50583}, 50588, 50592,
  7671. 50601, {f: 2, c: 50612}, {f: 2, c: 50616}, {f: 4, c: 50619},
  7672. {f: 7, c: 50628}, 50636, 50638, {f: 2, c: 50640}, 50644, 50648,
  7673. {f: 2, c: 50656}, 50659, 50661, {f: 3, c: 50668}, 50672, 50676,
  7674. {f: 2, c: 50678}, {f: 6, c: 50684}, {f: 4, c: 50693}, 50700, 50704,
  7675. {f: 2, c: 50712}, {f: 2, c: 50715}, {f: 2, c: 50724}, 50728,
  7676. {f: 3, c: 50732}, 50736, {f: 3, c: 50739}, 50743, 50745, 50747,
  7677. {f: 2, c: 50752}, 50756, 50760, {f: 2, c: 50768}, {f: 3, c: 50771},
  7678. {f: 2, c: 50780}, 50784, 50796, 50799, 50801, {f: 2, c: 50808}, 50812,
  7679. 50816, {f: 2, c: 50824}, 50827, 50829, {f: 2, c: 50836}, 50840, 50844,
  7680. {f: 2, c: 50852}, 50855, 50857, {f: 2, c: 50864}, 50868, {f: 3, c: 50872},
  7681. {f: 2, c: 50880}, 50883, 50885, {f: 2, c: 50892}, 50896, 50900,
  7682. {f: 2, c: 50908}, {f: 2, c: 50912}, {f: 2, c: 50920}, 50924, 50928,
  7683. {f: 2, c: 50936}, 50941, {f: 2, c: 50948}, 50952, 50956, {f: 2, c: 50964},
  7684. 50967, 50969, {f: 2, c: 50976}, 50980, 50984, {f: 2, c: 50992}, 50995,
  7685. 50997, 50999, {f: 2, c: 51004}, 51008, 51012, 51018, {f: 2, c: 51020},
  7686. 51023, {f: 8, c: 51025}, 51036, 51040, 51048, 51051, {f: 2, c: 51060},
  7687. 51064, {f: 3, c: 51068}, {f: 3, c: 51075}, {f: 4, c: 51079}, 51086,
  7688. {f: 2, c: 51088}, 51092, {f: 3, c: 51094}, 51098, {f: 2, c: 51104},
  7689. {f: 4, c: 51107}, {f: 2, c: 51116}, 51120, 51124, {f: 2, c: 51132},
  7690. {f: 3, c: 51135}, {f: 2, c: 51144}, 51148, 51150, 51152, 51160, 51165,
  7691. 51172, 51176, 51180, {f: 2, c: 51200}, 51204, 51208, 51210,
  7692. {f: 2, c: 51216}, 51219, {f: 2, c: 51221}, {f: 2, c: 51228}, 51232, 51236,
  7693. {f: 2, c: 51244}, 51247, 51249, 51256, 51260, 51264, {f: 2, c: 51272},
  7694. {f: 2, c: 51276}, 51284, {f: 2, c: 51312}, 51316, 51320, 51322,
  7695. {f: 2, c: 51328}, 51331, {f: 3, c: 51333}, {f: 3, c: 51339}, 51348, 51357,
  7696. 51359, 51361, 51368, {f: 2, c: 51388}, 51396, 51400, 51404,
  7697. {f: 2, c: 51412}, 51415, 51417, {f: 2, c: 51424}, 51428, 51445,
  7698. {f: 2, c: 51452}, 51456, {f: 3, c: 51460}, {f: 2, c: 51468}, 51471, 51473,
  7699. 51480, 51500, 51508, {f: 2, c: 51536}, 51540, 51544, {f: 2, c: 51552},
  7700. 51555, 51564, 51568, 51572, 51580, {f: 2, c: 51592}, 51596, 51600,
  7701. {f: 2, c: 51608}, 51611, 51613, {f: 2, c: 51648}, 51652, {f: 2, c: 51655},
  7702. 51658, {f: 2, c: 51664}, 51667, {f: 2, c: 51669}, {f: 2, c: 51673},
  7703. {f: 2, c: 51676}, 51680, 51682, 51684, 51687, {f: 2, c: 51692},
  7704. {f: 3, c: 51695}, {f: 2, c: 51704}, 51708, 51712, {f: 2, c: 51720},
  7705. {f: 3, c: 51723}, 51732, 51736, 51753, {f: 2, c: 51788}, 51792, 51796,
  7706. {f: 2, c: 51804}, {f: 3, c: 51807}, 51816, 51837, 51844, 51864,
  7707. {f: 2, c: 51900}, 51904, 51908, {f: 2, c: 51916}, 51919, 51921, 51923,
  7708. {f: 2, c: 51928}, 51936, 51948, 51956, 51976, 51984, 51988, 51992,
  7709. {f: 2, c: 52000}, 52033, {f: 2, c: 52040}, 52044, 52048, {f: 2, c: 52056},
  7710. 52061, 52068, {f: 2, c: 52088}, 52124, 52152, 52180, 52196, 52199, 52201,
  7711. {f: 2, c: 52236}, 52240, 52244, {f: 2, c: 52252}, {f: 2, c: 52257},
  7712. {f: 3, c: 52263}, 52268, 52270, 52272, {f: 2, c: 52280}, {f: 4, c: 52283},
  7713. {f: 2, c: 52292}, 52296, 52300, {f: 2, c: 52308}, {f: 3, c: 52311}, 52320,
  7714. 52324, 52326, 52328, 52336, 52341, {f: 2, c: 52376}, 52380, 52384,
  7715. {f: 2, c: 52392}, {f: 3, c: 52395}, {f: 2, c: 52404}, 52408, 52412,
  7716. {f: 2, c: 52420}, 52423, 52425, 52432, 52436, 52452, 52460, 52464, 52481,
  7717. {f: 2, c: 52488}, 52492, 52496, {f: 2, c: 52504}, 52507, 52509, 52516,
  7718. 52520, 52524, 52537, 52572, 52576, 52580, {f: 2, c: 52588}, 52591, 52593,
  7719. 52600, 52616, {f: 2, c: 52628}, 52632, 52636, {f: 2, c: 52644}, 52647,
  7720. 52649, 52656, 52676, 52684, 52688, 52712, 52716, 52720, {f: 2, c: 52728},
  7721. 52731, 52733, 52740, 52744, 52748, 52756, 52761, {f: 2, c: 52768}, 52772,
  7722. 52776, {f: 2, c: 52784}, 52787, 52789, {f: 2, c: 52824}, 52828,
  7723. {f: 3, c: 52831}, {f: 2, c: 52840}, 52843, 52845, {f: 2, c: 52852}, 52856,
  7724. 52860, {f: 2, c: 52868}, 52871, 52873, {f: 2, c: 52880}, 52884, 52888,
  7725. {f: 2, c: 52896}, {f: 3, c: 52899}, {f: 2, c: 52908}, 52929,
  7726. {f: 2, c: 52964}, 52968, {f: 2, c: 52971}, {f: 2, c: 52980},
  7727. {f: 3, c: 52983}, {f: 2, c: 52992}, 52996, 53000, {f: 2, c: 53008}, 53011,
  7728. 53013, 53020, 53024, 53028, {f: 2, c: 53036}, {f: 3, c: 53039}, 53048,
  7729. {f: 2, c: 53076}, 53080, 53084, {f: 2, c: 53092}, 53095, 53097,
  7730. {f: 2, c: 53104}, 53108, 53112, 53120, 53125, 53132, 53153, 53160, 53168,
  7731. 53188, {f: 2, c: 53216}, 53220, 53224, {f: 2, c: 53232}, 53235, 53237,
  7732. 53244, 53248, 53252, 53265, 53272, 53293, {f: 2, c: 53300}, 53304, 53308,
  7733. {f: 2, c: 53316}, 53319, 53321, 53328, 53332, 53336, 53344,
  7734. {f: 2, c: 53356}, 53360, 53364, {f: 2, c: 53372}, 53377, {f: 2, c: 53412},
  7735. 53416, 53420, {f: 2, c: 53428}, 53431, 53433, {f: 2, c: 53440}, 53444,
  7736. {f: 2, c: 53448}, {f: 2, c: 53456}, {f: 3, c: 53459}, {f: 2, c: 53468},
  7737. 53472, 53476, {f: 2, c: 53484}, {f: 3, c: 53487}, 53496, 53517,
  7738. {f: 2, c: 53552}, 53556, 53560, 53562, {f: 2, c: 53568}, {f: 3, c: 53571},
  7739. {f: 2, c: 53580}, 53584, 53588, {f: 2, c: 53596}, 53599, 53601, 53608,
  7740. 53612, 53628, 53636, 53640, {f: 2, c: 53664}, 53668, 53672,
  7741. {f: 2, c: 53680}, 53683, 53685, 53690, 53692, 53696, 53720, 53748, 53752,
  7742. 53767, 53769, 53776, {f: 2, c: 53804}, 53808, 53812, {f: 2, c: 53820},
  7743. 53823, 53825, 53832, 53852, 53860, {f: 2, c: 53888}, 53892, 53896,
  7744. {f: 2, c: 53904}, 53909, 53916, 53920, 53924, 53932, 53937,
  7745. {f: 2, c: 53944}, 53948, {f: 2, c: 53951}, 53954, {f: 2, c: 53960}, 53963,
  7746. 53972, 53976, 53980, {f: 2, c: 53988}, {f: 2, c: 54000}, 54004, 54008,
  7747. {f: 2, c: 54016}, 54019, 54021, {f: 3, c: 54028}, 54032, 54036, 54038,
  7748. {f: 2, c: 54044}, {f: 3, c: 54047}, 54053, {f: 2, c: 54056}, 54060, 54064,
  7749. {f: 2, c: 54072}, {f: 3, c: 54075}, {f: 2, c: 54084}, {f: 2, c: 54140},
  7750. 54144, 54148, {f: 2, c: 54156}, {f: 3, c: 54159}, {f: 2, c: 54168}, 54172,
  7751. 54176, {f: 2, c: 54184}, 54187, 54189, 54196, 54200, 54204,
  7752. {f: 2, c: 54212}, {f: 2, c: 54216}, 54224, 54232, 54241, 54243,
  7753. {f: 2, c: 54252}, 54256, 54260, {f: 2, c: 54268}, 54271, 54273, 54280,
  7754. 54301, 54336, 54340, 54364, 54368, 54372, 54381, 54383, {f: 2, c: 54392},
  7755. 54396, {f: 2, c: 54399}, 54402, {f: 2, c: 54408}, 54411, 54413, 54420,
  7756. 54441, 54476, 54480, 54484, 54492, 54495, 54504, 54508, 54512, 54520,
  7757. 54523, 54525, 54532, 54536, 54540, {f: 2, c: 54548}, 54551,
  7758. {f: 2, c: 54588}, 54592, 54596, {f: 2, c: 54604}, 54607, 54609,
  7759. {f: 2, c: 54616}, 54620, 54624, 54629, {f: 2, c: 54632}, 54635, 54637,
  7760. {f: 2, c: 54644}, 54648, 54652, {f: 2, c: 54660}, {f: 3, c: 54663}, 54672,
  7761. 54693, {f: 2, c: 54728}, 54732, 54736, 54738, {f: 2, c: 54744}, 54747,
  7762. 54749, {f: 2, c: 54756}, 54760, 54764, {f: 2, c: 54772}, 54775, 54777,
  7763. {f: 2, c: 54784}, 54788, 54792, {f: 2, c: 54800}, {f: 3, c: 54803}, 54812,
  7764. 54816, 54820, 54829, {f: 2, c: 54840}, 54844, 54848, 54853,
  7765. {f: 2, c: 54856}, 54859, 54861, 54865, {f: 2, c: 54868}, 54872, 54876,
  7766. 54887, 54889, {f: 2, c: 54896}, 54900, 54915, 54917, {f: 2, c: 54924},
  7767. 54928, 54932, 54941, 54943, 54945, 54952, 54956, 54960, 54969, 54971,
  7768. {f: 2, c: 54980}, 54984, 54988, 54993, 54996, 54999, 55001, 55008, 55012,
  7769. 55016, 55024, 55029, {f: 2, c: 55036}, 55040, 55044, 55057,
  7770. {f: 2, c: 55064}, 55068, 55072, {f: 2, c: 55080}, 55083, 55085,
  7771. {f: 2, c: 55092}, 55096, 55100, 55108, 55111, 55113, {f: 2, c: 55120},
  7772. 55124, {f: 4, c: 55126}, {f: 2, c: 55136}, 55139, 55141, 55145, 55148,
  7773. 55152, 55156, {f: 2, c: 55164}, 55169, {f: 2, c: 55176}, 55180, 55184,
  7774. {f: 2, c: 55192}, 55195, 55197, 20285, 20339, 20551, 20729, 21152, 21487,
  7775. 21621, 21733, 22025, 23233, 23478, 26247, {f: 2, c: 26550}, 26607, 27468,
  7776. 29634, 30146, 31292, 33499, 33540, 34903, 34952, 35382, [36040, 63747],
  7777. 36303, 36603, 36838, 39381, 21051, 21364, 21508, 24682, 24932, 27580,
  7778. 29647, 33050, 35258, [12179, 35282], 38307, 20355, 21002, 22718, 22904,
  7779. 23014, [12082, 24178], 24185, 25031, 25536, 26438, 26604, 26751, 28567,
  7780. 30286, 30475, 30965, 31240, 31487, 31777, 32925, [12169, 33390], 33393,
  7781. 35563, 38291, 20075, 21917, 26359, 28212, 30883, 31469, 33883, 35088,
  7782. 34638, 38824, 21208, 22350, 22570, 23884, 24863, 25022, 25121, 25954,
  7783. 26577, 27204, 28187, [12130, 29976], 30131, 30435, 30640, 32058, 37039,
  7784. {f: 2, c: 37969}, 40853, 21283, 23724, 30002, 32987, 37440, 38296, 21083,
  7785. 22536, 23004, 23713, 23831, 24247, 24378, 24394, 24951, 27743, 30074,
  7786. 30086, 31968, 32115, 32177, 32652, 33108, 33313, 34193, 35137, 35611,
  7787. 37628, [38477, 64009], 40007, 20171, 20215, 20491, 20977, 22607, 24887,
  7788. 24894, 24936, 25913, 27114, 28433, 30117, 30342, 30422, 31623, 33445,
  7789. 33995, 37799, 38283, 21888, 23458, 22353, 31923, 32697, 37301, 20520,
  7790. 21435, 23621, 24040, 25298, 25454, 25818, 25831, 28192, 28844, 31067,
  7791. 36317, 36382, 36989, 37445, 37624, 20094, 20214, 20581, [12081, 24062],
  7792. 24314, 24838, 26967, 33137, 34388, 36423, 37749, 39467, 20062, 20625,
  7793. 26480, 26688, 20745, 21133, 21138, 27298, 30652, 37392, 40660, 21163,
  7794. 24623, 36850, 20552, 25001, 25581, 25802, 26684, 27268, 28608, 33160,
  7795. 35233, 38548, 22533, 29309, [12125, 29356], 29956, 32121, 32365, 32937,
  7796. [12178, 35211, 64010], 35700, 36963, 40273, 25225, 27770, 28500, 32080,
  7797. 32570, 35363, 20860, 24906, 31645, 35609, 37463, 37772, 20140, 20435,
  7798. 20510, 20670, 20742, 21185, 21197, 21375, 22384, 22659, 24218, 24465,
  7799. 24950, 25004, 25806, 25964, 26223, 26299, [26356, 63745], 26775, 28039,
  7800. 28805, 28913, 29855, 29861, 29898, 30169, 30828, 30956, 31455, 31478,
  7801. 32069, 32147, 32789, 32831, 33051, 33686, 35686, 36629, 36885, 37857,
  7802. 38915, 38968, 39514, 39912, 20418, 21843, 22586, [22865, 63753], 23395,
  7803. 23622, 24760, 25106, 26690, 26800, 26856, 28330, 30028, 30328, 30926,
  7804. 31293, 31995, 32363, 32380, 35336, 35489, 35903, 38542, 40388, 21476,
  7805. 21481, 21578, 21617, 22266, 22993, 23396, 23611, 24235, 25335, 25911,
  7806. 25925, 25970, 26272, 26543, 27073, 27837, 30204, 30352, 30590, 31295,
  7807. 32660, 32771, 32929, 33167, 33510, 33533, 33776, 34241, 34865, 34996,
  7808. 35493, 36764, 37678, 38599, 39015, [12220, 39640], [12238, 40723], 21741,
  7809. 26011, 26354, 26767, 31296, [12181, 35895], 40288, 22256, 22372, 23825,
  7810. 26118, 26801, 26829, 28414, 29736, 34974, 39908, 27752, [12219, 39592],
  7811. 20379, 20844, 20849, 21151, 23380, [12079, 24037], 24656, 24685, 25329,
  7812. 25511, 25915, 29657, 31354, 34467, 36002, 38799, [20018, 63749], 23521,
  7813. [12093, 25096], 26524, [12128, 29916], 31185, 33747, 35463, 35506, 36328,
  7814. 36942, 37707, 38982, [24275, 64011], 27112, 34303, 37101, 20896, 23448,
  7815. 23532, 24931, 26874, 27454, 28748, 29743, 29912, 31649, 32592, 33733,
  7816. 35264, 36011, 38364, 39208, 21038, 24669, 25324, 36866, 20362, 20809,
  7817. 21281, 22745, 24291, 26336, 27960, 28826, 29378, 29654, 31568, 33009,
  7818. 37979, 21350, 25499, 32619, 20054, 20608, 22602, 22750, 24618, 24871,
  7819. 25296, 27088, 39745, 23439, 32024, 32945, 36703, 20132, 20689, 21676,
  7820. 21932, 23308, 23968, 24039, 25898, 25934, 26657, 27211, 29409, 30350,
  7821. 30703, 32094, 32761, 33184, 34126, 34527, 36611, 36686, 37066, 39171,
  7822. 39509, 39851, 19992, 20037, 20061, 20167, 20465, 20855, 21246, 21312,
  7823. [12061, 21475], [21477, 63750], 21646, 22036, 22389, 22434, 23495, 23943,
  7824. 24272, 25084, 25304, 25937, 26552, 26601, 27083, 27472, 27590, 27628,
  7825. 27714, 28317, 28792, 29399, 29590, 29699, 30655, 30697, 31350, 32127,
  7826. 32777, [12165, 33276], 33285, 33290, 33503, 34914, 35635, 36092, 36544,
  7827. 36881, 37041, 37476, 37558, 39378, 39493, 40169, 40407,
  7828. [12244, 40860, 63751, 63752], 22283, 23616, 33738, 38816, 38827, 40628,
  7829. 21531, 31384, 32676, 35033, 36557, 37089, 22528, 23624, 25496, 31391,
  7830. 23470, [12088, 24339], 31353, 31406, 33422, 36524, 20518, 21048, 21240,
  7831. 21367, 22280, 25331, 25458, 27402, 28099, 30519, 21413, 29527, 34152,
  7832. 36470, 38357, 26426, 27331, 28528, 35437, 36556, 39243, 26231, 27512,
  7833. 36020, [12225, 39740], 21483, 22317, 22862, 25542, 27131, 29674, 30789,
  7834. 31418, 31429, 31998, 33909, 35215, 36211, 36917, 38312, 21243, 22343,
  7835. 30023, 31584, 33740, 37406, 27224, 20811, 21067, 21127, 25119, 26840,
  7836. 26997, 38553, 20677, 21156, 21220, 25027, [12100, 26020], 26681, 27135,
  7837. 29822, 31563, 33465, 33771, 35250, 35641, 36817, 39241, 20170, 22935,
  7838. 25810, 26129, 27278, 29748, 31105, 31165, 33449, {f: 2, c: 34942}, 35167,
  7839. 37670, 20235, 21450, 24613, 25201, 27762, 32026, 32102, 20120, 20834,
  7840. 30684, 32943, 20225, 20238, 20854, 20864, 21980, 22120, 22331, 22522,
  7841. 22524, 22804, 22855, 22931, 23492, 23696, 23822, [12080, 24049], 24190,
  7842. 24524, 25216, 26071, 26083, {f: 2, c: 26398}, 26462, 26827, 26820, 27231,
  7843. 27450, 27683, 27773, 27778, 28103, 29592, 29734, 29738, 29826, 29859,
  7844. 30072, 30079, 30849, 30959, 31041, {f: 2, c: 31047}, 31098, 31637, 32000,
  7845. 32186, 32648, 32774, 32813, 32908, 35352, 35663, [35912, 63744], 36215,
  7846. 37665, 37668, 39138, 39249, {f: 2, c: 39438}, 39525, 40594, 32202, 20342,
  7847. 21513, 25326, 26708, [12198, 37329, 63754], 21931, 20794, 23068, 25062,
  7848. [25295, 63835], 25343, 37027, [35582, 63837], 26262, 29014, 38627, 25423,
  7849. 25466, 21335, 26511, 26976, 28275, 30007, 32013, 34930, 22218, 23064,
  7850. 20035, 20839, [22856, 63756], 26608, 32784, [12069, 22899, 63873],
  7851. [24180, 63886], [25754, 63889], [31178, 63893], [24565, 63907], 24684,
  7852. 25288, [25467, 63908], [23527, 63839, 63914], 23511, 21162, 22900, 24361,
  7853. [24594, 63840], 29785, 39377, 28611, 33215, 36786, 24817, 33126,
  7854. [23615, 63933], 23273, 35365, [26491, 63944], [32016, 63951], 33021, 23612,
  7855. [27877, 63971], [21311, 63979], [28346, 63980], 22810, [33590, 63998],
  7856. [20025, 63838], 20150, 20294, 21934, 22296, 22727, 24406, 26039, 26086,
  7857. 27264, 27573, 28237, 30701, 31471, 31774, 32222, 34507, 34962, 37170,
  7858. 37723, 25787, 28606, 29562, 30136, 36948, 21846, 22349, 25018, 25812,
  7859. 26311, 28129, 28251, 28525, 28601, 30192, 32835, 33213, 34113, 35203,
  7860. 35527, 35674, 37663, 27795, 30035, 31572, 36367, 36957, 21776, 22530,
  7861. 22616, 24162, 25095, 25758, 26848, 30070, [31958, 64003], 34739, 40680,
  7862. 20195, 22408, 22382, [12068, 22823], 23565, 23729, 24118, 24453, 25140,
  7863. 25825, 29619, 33274, 34955, 36024, 38538, 40667, [23429, 64004], 24503,
  7864. 24755, 20498, [12049, 20992], 21040, 22294, 22581, 22615, 23566, 23648,
  7865. 23798, 23947, [24230, 64001], 24466, 24764, 25361, 25481, 25623, 26691,
  7866. 26873, 27330, 28120, 28193, 28372, 28644, 29182, 30428, 30585, 31153,
  7867. 31291, 33796, 35241, 36077, 36339, 36424, 36867, 36884, 36947, 37117,
  7868. 37709, 38518, 38876, 27602, 28678, 29272, 29346, 29544, 30563, 31167,
  7869. 31716, 32411, [35712, 63834], 22697, 24775, 25958, 26109, 26302, 27788,
  7870. 28958, 29129, 35930, 38931, 20077, 31361, 20189, 20908, 20941, 21205,
  7871. 21516, 24999, 26481, 26704, 26847, [27934, 64005], 28540, 30140, 30643,
  7872. 31461, 33012, 33891, 37509, 20828, [12099, 26007], 26460, 26515, 30168,
  7873. 31431, 33651, [12182, 35910], 36887, 38957, 23663, 33216, 33434, 36929,
  7874. 36975, 37389, 24471, 23965, 27225, 29128, 30331, 31561, 34276, 35588,
  7875. 37159, 39472, [21895, 63755], [25078, 63757], [30313, 63758],
  7876. [32645, 63759], [34367, 63760], [34746, 63761], [35064, 63762],
  7877. [37007, 63763], [27931, 63765], [28889, 63766], [29662, 63767], 32097,
  7878. [33853, 63768], [37226, 63769], [39409, 63770], [20098, 63771],
  7879. [21365, 63772], [27396, 63773], 27410, 28734, [29211, 63774],
  7880. [34349, 63775], [40478, 63776], 21068, 36771, [23888, 63777], 25829, 25900,
  7881. 27414, [28651, 63778], 31811, 32412, [34253, 63779], [35172, 63780], 35261,
  7882. [25289, 63781], [33240, 63782], [34847, 63783], [24266, 63784],
  7883. [26391, 63785], [28010, 63786], [29436, 63787], 29701, 29807, 34690,
  7884. [37086, 63788], [20358, 63789], 23821, 24480, 33802, [20919, 63790],
  7885. [25504, 63861], [30053, 63862], [20142, 63863], 20486, [20841, 63864],
  7886. [20937, 63865], [26753, 63866], 27153, 31918, 31921, [31975, 63867],
  7887. [33391, 63868], [35538, 63869], 36635, [37327, 63870], 20406, 20791,
  7888. [21237, 63871], [21570, 63872], [24300, 63874], 24942, 25150,
  7889. [26053, 63875], 27354, [28670, 63876], [31018, 63877], 34268, 34851,
  7890. [38317, 63878], 39522, [39530, 63879], [40599, 63880], [40654, 63881],
  7891. [12050, 21147, 63882], [26310, 63883], [27511, 63884], 28701, 31019,
  7892. [36706, 63885], 38722, [24976, 63887], [25088, 63888], 25891,
  7893. [28451, 63890], [29001, 63891], [29833, 63892], [32244, 63894],
  7894. [32879, 63895], [34030, 63897], [36646, 63896], [36899, 63898],
  7895. [37706, 63899], 20925, [21015, 63900], [21155, 63901], 27916,
  7896. [28872, 63903], [35010, 63904], [24265, 63906], 25986, [27566, 63909],
  7897. 28610, [31806, 63910], [29557, 63911], [20196, 63912], 20278,
  7898. [22265, 63913], 23738, [23994, 63915], [24604, 63916], [29618, 63917],
  7899. 31533, [32666, 63919], 32718, [32838, 63920], 36894, [37428, 63921],
  7900. [38646, 63922], [38728, 63923], [38936, 63924], 40801, [20363, 63925],
  7901. 28583, [31150, 63926], [37300, 63927], [38583, 63928], [21214, 63791],
  7902. 25736, [25796, 63792], [27347, 63793], 28510, 28696, [29200, 63794],
  7903. [30439, 63795], [12156, 32769, 63796], [34310, 63797], [34396, 63798],
  7904. [36335, 63799], 36613, [38706, 63800], [39791, 63801], [40442, 63802],
  7905. [12228, 40565], [30860, 63803], [31103, 63804], [32160, 63805],
  7906. [33737, 63806], [37636, 63807], [12229, 40575, 63808], 40595,
  7907. [35542, 63809], [22751, 63810], [24324, 63811], 26407, 28711, 29903,
  7908. [31840, 63812], [32894, 63813], 20769, 28712, [29282, 63814],
  7909. [30922, 63815], [36034, 63816], 36058, 36084, [38647, 63817],
  7910. [20102, 63930], [20698, 63931], [23534, 63932], 24278, [26009, 63934],
  7911. [29134, 63936], [30274, 63937], 30637, 32842, [34044, 63938],
  7912. [36988, 63939], 39719, [12243, 40845, 63940], [22744, 63818], 23105,
  7913. [23650, 63819], [27155, 63820], [28122, 63821], [28431, 63822], 30267,
  7914. [32047, 63823], [32311, 63824], 34078, 35128, 37860, [38475, 63825],
  7915. [21129, 63943], 26066, [26611, 63945], 27060, [27969, 63946],
  7916. [28316, 63947], 28687, [29705, 63948], 29792, [30041, 63949], 30244,
  7917. [30827, 63950], 35628, [39006, 63952], [20845, 63953], [25134, 63954],
  7918. [38520, 63955], 20374, [20523, 63956], [23833, 63957], [28138, 63958],
  7919. 32184, [36650, 63959], [24459, 63960], [24900, 63961], [26647, 63962],
  7920. [38534, 63964], [21202, 63826], [32907, 63827], [20956, 63828],
  7921. [20940, 63829], 26974, [31260, 63830], [32190, 63831], [33777, 63832],
  7922. [38517, 63833], 20442, [21033, 63965], 21400, [21519, 63966], 21774,
  7923. [23653, 63967], 24743, [26446, 63969], [26792, 63970], 28012, 29313, 29432,
  7924. [29702, 63972], 29827, [30178, 63973], 31852, [32633, 63974], 32696, 33673,
  7925. [35023, 63975], [35041, 63976], [12197, 37324, 63977], 37328,
  7926. [38626, 63978], 39881, [21533, 63981], 28542, [29136, 63982],
  7927. [29848, 63983], [34298, 63984], 36522, [38563, 63985], [40023, 63986],
  7928. [40607, 63987], [26519, 63988], [28107, 63989], 29747, [33256, 63990],
  7929. 38678, 30764, [12148, 31435, 63991], [31520, 63992], [31890, 63993], 25705,
  7930. 29802, 30194, 30908, 30952, [12218, 39340], 39764, [12231, 40635], 23518,
  7931. 24149, 28448, 33180, 33707, 37000, 19975, 21325, 23081, 24018, 24398,
  7932. 24930, 25405, 26217, 26364, 28415, 28459, 28771, 30622, 33836, 34067,
  7933. 34875, 36627, 39237, 39995, 21788, 25273, 26411, 27819, 33545, 35178,
  7934. 38778, 20129, 22916, {f: 2, c: 24536}, 26395, 32178, 32596, 33426, 33579,
  7935. 33725, 36638, 37017, 22475, 22969, 23186, 23504, 26151, 26522, 26757,
  7936. 27599, 29028, 32629, 36023, 36067, 36993, 39749, 33032, 35978, 38476,
  7937. 39488, [12230, 40613], 23391, 27667, 29467, 30450, 30431, 33804, 20906,
  7938. 35219, 20813, 20885, 21193, 26825, 27796, 30468, 30496, 32191, 32236,
  7939. [12207, 38754], 40629, 28357, 34065, 20901, 21517, 21629, 26126, 26269,
  7940. 26919, 28319, [12139, 30399], 30609, 33559, 33986, 34719, 37225, 37528,
  7941. 40180, 34946, 20398, 20882, 21215, 22982, 24125, 24917, {f: 2, c: 25720},
  7942. 26286, 26576, 27169, 27597, [12113, 27611], 29279, 29281, 29761, 30520,
  7943. [12141, 30683], 32791, 33468, 33541, 35584, 35624, 35980, [12106, 26408],
  7944. 27792, 29287, [12140, 30446], 30566, 31302, 40361, 27519, 27794, 22818,
  7945. 26406, 33945, 21359, 22675, 22937, 24287, 25551, 26164, 26483, 28218,
  7946. 29483, 31447, 33495, 37672, 21209, 24043, 25006, 25035, 25098, 25287,
  7947. 25771, [12102, 26080], 26969, 27494, [12111, 27595], 28961, 29687, 30045,
  7948. 32326, 33310, 33538, 34154, 35491, 36031, 38695, 40289, 22696, 40664,
  7949. 20497, 21006, 21563, 21839, [12098, 25991], 27766, {f: 2, c: 32010}, 32862,
  7950. 34442, [12200, 38272], 38639, 21247, 27797, 29289, 21619, 23194, 23614,
  7951. 23883, 24396, 24494, 26410, 26806, 26979, 28220, 28228, 30473,
  7952. [12150, 31859], 32654, 34183, 35598, 36855, 38753, 40692, 23735, 24758,
  7953. 24845, 25003, 25935, {f: 2, c: 26107}, 27665, 27887, 29599, 29641, 32225,
  7954. 38292, 23494, 34588, 35600, 21085, 21338, 25293, 25615, 25778, 26420,
  7955. 27192, 27850, 29632, 29854, 31636, 31893, 32283, 33162, 33334, 34180,
  7956. 36843, 38649, 39361, 20276, 21322, 21453, 21467, 25292, 25644, 25856,
  7957. 26001, 27075, 27886, 28504, 29677, 30036, 30242, 30436, 30460, 30928,
  7958. [30971, 63844], 31020, 32070, 33324, 34784, 36820, 38930, 39151, 21187,
  7959. 25300, 25765, 28196, 28497, 30332, 36299, 37297, 37474, 39662, 39747,
  7960. 20515, 20621, 22346, 22952, 23592, 24135, 24439, 25151, 25918,
  7961. [12101, 26041], 26049, 26121, 26507, 27036, 28354, 30917, 32033, 32938,
  7962. 33152, 33323, 33459, 33953, 34444, 35370, 35607, 37030, 38450, 40848,
  7963. 20493, 20467, 22521, 24472, 25308, 25490, 26479, 28227, 28953, 30403,
  7964. 32972, 32986, {f: 2, c: 35060}, 35097, 36064, 36649, 37197, 38506, 20271,
  7965. 20336, 24091, 26575, 26658, [12137, 30333], 30334, 39748, 24161, 27146,
  7966. 29033, 29140, 30058, 32321, 34115, 34281, 39132, 20240, 31567, 32624,
  7967. 38309, 20961, 24070, 26805, 27710, 27726, 27867, 29359, 31684, 33539,
  7968. 27861, 29754, 20731, 21128, 22721, 25816, 27287, 29863, 30294, 30887,
  7969. 34327, 38370, 38713, 21342, 24321, 35722, 36776, 36783, 37002, 21029,
  7970. 30629, 40009, 40712, 19993, 20482, 20853, 23643, 24183, 26142, 26170,
  7971. 26564, 26821, 28851, 29953, 30149, 31177, 31453, 36647, 39200, 39432,
  7972. 20445, 22561, 22577, 23542, 26222, 27493, 27921, 28282, 28541, 29668,
  7973. 29995, 33769, 35036, 35091, 35676, 36628, 20239, 20693, 21264,
  7974. [12056, 21340], 23443, [24489, 63846], 26381, 31119, 33145, 33583, 34068,
  7975. 35079, 35206, 36665, [36667, 64007], 39333, 39954, 26412, 20086, 20472,
  7976. 22857, 23553, {f: 2, c: 23791}, 25447, 26834, 28925, 29090, 29739, 32299,
  7977. 34028, 34562, 36898, 37586, 40179, [19981, 63847], 20184, 20463, 20613,
  7978. 21078, 21103, 21542, 21648, 22496, 22827, 23142, 23386, 23413, 23500,
  7979. 24220, 25206, 25975, 26023, 28014, 28325, [12119, 29238], 31526, 31807,
  7980. [12152, 32566], {f: 2, c: 33104}, 33178, 33344, 33433, 33705, 35331, 36000,
  7981. 36070, 36091, 36212, 36282, 37096, 37340, [12201, 38428], 38468, 39385,
  7982. 40167, [21271, 63843], 20998, 21545, 22132, 22707, 22868, 22894, 24575,
  7983. 24996, 25198, 26128, 27774, 28954, 30406, 31881, 31966, 32027, 33452,
  7984. 36033, 38640, 20315, 24343, 24447, 25282, 23849, 26379, 26842, 30844,
  7985. 32323, 40300, 19989, 20633, [12052, 21269], 21290, 21329, 22915, 23138,
  7986. 24199, 24754, 24970, 25161, 25209, 26000, 26503, 27047, [12112, 27604],
  7987. {f: 3, c: 27606}, 27832, 29749, 30202, 30738, 30865, 31189, 31192, 31875,
  7988. 32203, 32737, 32933, 33086, 33218, 33778, 34586, 35048, 35513, 35692,
  7989. 36027, 37145, [12206, 38750], [12214, 39131], [12240, 40763], 22188, 23338,
  7990. 24428, 25996, 27315, 27567, 27996, 28657, 28693, 29277, 29613, 36007,
  7991. 36051, 38971, 24977, 27703, 32856, 39425, 20045, 20107, 20123, 20181,
  7992. 20282, 20284, 20351, 20447, 20735, 21490, 21496, 21766, 21987, 22235,
  7993. [12064, 22763], 22882, 23057, 23531, 23546, 23556, 24051, 24107, 24473,
  7994. 24605, 25448, 26012, 26031, 26614, 26619, 26797, 27515, 27801, 27863,
  7995. 28195, 28681, 29509, 30722, 31038, 31040, 31072, 31169, 31721, 32023,
  7996. 32114, 32902, 33293, 33678, 34001, 34503, 35039, 35408, 35422, 35613,
  7997. 36060, 36198, 36781, 37034, 39164, 39391, 40605, 21066, 26388, 20632,
  7998. 21034, [12077, 23665], 25955, 27733, 29642, 29987, 30109, 31639, 33948,
  7999. 37240, 38704, 20087, 25746, [27578, 63856], 29022, 34217, 19977, 26441,
  8000. 26862, 28183, 33439, 34072, 34923, 25591, 28545, 37394, 39087, 19978,
  8001. 20663, 20687, 20767, 21830, 21930, 22039, 23360, 23577, 23776, 24120,
  8002. 24202, 24224, 24258, 24819, 26705, 27233, 28248, 29245, 29248,
  8003. [29376, 63994], 30456, 31077, 31665, 32724, 35059, 35316, 35443, 35937,
  8004. 36062, 38684, [22622, 63852], 29885, 36093, 21959, 31329, [32034, 63850],
  8005. [12170, 33394], 29298, [12131, 29983], 29989, 31513, 22661, 22779, 23996,
  8006. 24207, 24246, 24464, 24661, 25234, 25471, 25933, 26257, 26329, 26360,
  8007. 26646, 26866, 29312, 29790, 31598, 32110, 32214, 32626, 32997, 33298,
  8008. 34223, 35199, 35475, 36893, 37604, [12233, 40653], [12239, 40736],
  8009. [12067, 22805], 22893, 24109, 24796, 26132, 26227, 26512, 27728, 28101,
  8010. 28511, [12143, 30707], 30889, 33990, 37323, 37675, 20185, 20682, 20808,
  8011. 21892, 23307, 23459, 25159, 25982, 26059, 28210, 29053, 29697, 29764,
  8012. 29831, 29887, 30316, 31146, 32218, 32341, 32680, 33146, 33203, 33337,
  8013. 34330, 34796, 35445, 36323, 36984, 37521, 37925, 39245, 39854, 21352,
  8014. 23633, 26964, 27844, 27945, 28203, [12166, 33292], 34203, 35131, 35373,
  8015. [35498, 63855, 63905], 38634, 40807, 21089, 26297, 27570, 32406, 34814,
  8016. 36109, 38275, 38493, 25885, 28041, 29166, 22478, 22995, 23468, 24615,
  8017. 24826, 25104, 26143, 26207, 29481, 29689, 30427, [30465, 63853], 31596,
  8018. 32854, 32882, 33125, 35488, 37266, 19990, 21218, 27506, 27927, 31237,
  8019. 31545, 32048, 36016, 21484, 22063, 22609, 23477, [12073, 23567], 23569,
  8020. 24034, 25152, 25475, 25620, 26157, 26803, 27836, 28040, 28335, 28703,
  8021. 28836, 29138, 29990, 30095, 30094, 30233, 31505, 31712, 31787, 32032,
  8022. 32057, 34092, 34157, 34311, 35380, 36877, 36961, 37045, 37559, 38902,
  8023. 39479, 20439, 23660, 26463, 28049, 31903, 32396, 35606, 36118, 36895,
  8024. 23403, 24061, 25613, 33984, 36956, 39137, [29575, 63841, 63963], 23435,
  8025. 24730, 26494, 28126, 35359, 35494, 36865, 38924, 21047, 28753, 30862,
  8026. 37782, 34928, 37335, 20462, 21463, 22013, 22234, 22402, 22781, 23234,
  8027. 23432, 23723, 23744, 24101, 24833, 25101, [12095, 25163], 25480, 25628,
  8028. 25910, [25976, 63849], 27193, 27530, [12116, 27700], 27929, 28465, 29159,
  8029. 29417, 29560, 29703, 29874, 30246, 30561, 31168, 31319, 31466, 31929,
  8030. 32143, 32172, 32353, 32670, 33065, 33585, 33936, 34010, 34282, 34966,
  8031. 35504, 35728, 36664, 36930, 36995, 37228, 37526, 37561, 38539,
  8032. {f: 2, c: 38567}, 38614, 38656, 38920, [12216, 39318], 39635, 39706, 21460,
  8033. 22654, 22809, 23408, 23487, 28113, 28506, 29087, 29729, 29881, 32901,
  8034. 33789, 24033, 24455, 24490, 24642, 26092, 26642, 26991, 27219, 27529,
  8035. 27957, 28147, 29667, 30462, 30636, 31565, 32020, 33059, 33308, 33600,
  8036. 34036, 34147, 35426, 35524, 37255, 37662, 38918, 39348, 25100, 34899,
  8037. 36848, 37477, 23815, 23847, 23913, 29791, 33181, 34664, 28629,
  8038. [25342, 63859], 32722, 35126, 35186, 19998, 20056, 20711, 21213, 21319,
  8039. 25215, 26119, 32361, 34821, 38494, 20365, 21273, 22070, 22987, 23204,
  8040. [12075, 23608], 23630, 23629, 24066, 24337, 24643, 26045, 26159, 26178,
  8041. 26558, 26612, 29468, [12142, 30690], [12144, 31034], 32709, 33940, 33997,
  8042. 35222, 35430, 35433, 35553, [12183, 35925], 35962, 22516, 23508, 24335,
  8043. 24687, 25325, 26893, 27542, 28252, 29060, 31698, 34645, [35672, 63996],
  8044. 36606, [12215, 39135], 39166, 20280, 20353, 20449, 21627, 23072, 23480,
  8045. 24892, 26032, 26216, 29180, 30003, 31070, 32051, 33102, [12162, 33251],
  8046. 33688, 34218, 34254, 34563, 35338, [12189, 36523], [12191, 36763], 36805,
  8047. 22833, 23460, 23526, 24713, 23529, 23563, [12092, 24515], 27777, 28145,
  8048. 28683, 29978, 33455, 35574, [20160, 63997], [12055, 21313], 38617,
  8049. [12114, 27663], 20126, 20420, 20818, 21854, 23077, 23784, 25105,
  8050. [12123, 29273], 33469, 33706, 34558, 34905, 35357, 38463, 38597, 39187,
  8051. 40201, 40285, 22538, 23731, 23997, 24132, [24801, 63929], 24853, 25569,
  8052. [27138, 63764, 63836, 63935], 28197, 37122, 37716, 38990, 39952, 40823,
  8053. 23433, 23736, 25353, 26191, 26696, 30524, 38593, 38797, 38996, 39839,
  8054. 26017, 35585, 36555, 38332, 21813, 23721, 24022, 24245, 26263, 30284,
  8055. 33780, 38343, 22739, 25276, 29390, 40232, 20208, 22830, 24591, 26171,
  8056. 27523, 31207, 40230, 21395, 21696, 22467, 23830, 24859, 26326, 28079,
  8057. 30861, 33406, 38552, 38724, 21380, 25212, 25494, 28082, 32266, 33099,
  8058. 38989, 27387, 32588, 40367, 40474, 20063, 20539, 20918, 22812, 24825,
  8059. 25590, 26928, 29242, 32822, 37326, 24369, 32004, [33509, 63860], 33903,
  8060. 33979, 34277, 36493, 20335, 22756, 23363, 24665, 25562, 25880, 25965,
  8061. 26264, 26954, 27171, 27915, 28673, 29036, 30162, 30221, 31155, 31344,
  8062. [12154, 32650], 35140, 35731, 37312, 38525, 39178, 22276, 24481, 26044,
  8063. 28417, 30208, 31142, 35486, 39341, [12226, 39770], 40812, 20740, 25014,
  8064. 25233, 27277, 33222, 20547, 22576, 24422, 28937, [12180, 35328], 35578,
  8065. 23420, 34326, 20474, 20796, 22196, 22852, 25513, 28153, 23978, 26989,
  8066. 20870, 20104, 20313, 22914, 27487, 27741, 29877, 30998, 33287, 33349,
  8067. 33593, 36671, 36701, 39192, 20134, 22495, 24441, [26131, 63968], 30123,
  8068. 32377, 35695, 36870, 39515, 22181, 22567, 23032, 23071, 23476, 24310,
  8069. 25424, 25403, 26941, 27783, 27839, 28046, 28051, 28149, 28436, 28895,
  8070. 28982, 29017, 29123, 29141, 30799, 30831, 31605, 32227, 32303, 34893,
  8071. 36575, 37467, 40182, 24709, 28037, 29105, 38321, 21421, 26579, 28814,
  8072. 28976, 29744, 33398, 33490, 38331, 39653, 40573, 26308, 29121,
  8073. [33865, 63854], 22603, 23992, 24433, 26144, 26254, 27001, 27054, 27704,
  8074. 27891, 28214, 28481, 28634, 28699, 28719, 29008, 29151, 29552, 29787,
  8075. 29908, 30408, 31310, 32403, 33521, 35424, 36814, 37704, 38681, 20034,
  8076. 20522, 21000, 21473, 26355, 27757, 28618, 29450, 30591, 31330, 33454,
  8077. 34269, 34306, 35028, 35427, 35709, 35947, 37555, 38675, 38928, 20116,
  8078. 20237, 20425, 20658, 21320, 21566, 21555, 21978, 22626, 22714, 22887,
  8079. 23067, 23524, 24735, 25034, 25942, 26111, 26212, 26791, 27738, 28595,
  8080. 28879, 29100, 29522, 31613, 34568, 35492, 39986, 40711, 23627, 27779,
  8081. 29508, [12127, 29577], 37434, 28331, 29797, 30239, 31337, 32277, 34314,
  8082. 20800, 22725, 25793, 29934, 29973, 30320, 32705, 37013, 38605, 39252,
  8083. 28198, [12129, 29926], {f: 2, c: 31401}, 33253, 34521, 34680, 35355, 23113,
  8084. 23436, 23451, 26785, 26880, 28003, 29609, 29715, 29740, 30871, 32233,
  8085. 32747, 33048, 33109, 33694, 35916, [38446, 63942], 38929, [12104, 26352],
  8086. 24448, 26106, 26505, 27754, 29579, 20525, 23043, 27498, 30702, 22806,
  8087. 23916, 24013, 29477, 30031, 20709, 20985, 22575, 22829, 22934, 23002,
  8088. 23525, 23970, 25303, 25622, 25747, 25854, 26332, 27208, 29183, 29796,
  8089. 31368, 31407, 32327, 32350, 32768, 33136, 34799, 35201, 35616, 36953,
  8090. 36992, 39250, 24958, 27442, 28020, 32287, 35109, 36785, 20433, 20653,
  8091. 20887, 21191, 22471, 22665, 23481, 24248, 24898, 27029, 28044, 28263,
  8092. 28342, 29076, 29794, [12132, 29992], 29996, 32883, 33592, 33993, 36362,
  8093. 37780, 37854, 20110, 20305, 20598, 20778, [12060, 21448], 21451, 21491,
  8094. 23431, 23507, 23588, 24858, 24962, 26100, [12124, 29275], 29591, 29760,
  8095. 30402, 31056, 31121, 31161, 32006, [12155, 32701], 33419, 34261, 34398,
  8096. 36802, 36935, 37109, 37354, 38533, [12204, 38632], 38633, 21206, 24423,
  8097. 26093, 26161, 26671, 29020, 31286, 37057, 38922, 20113, 27218, 27550,
  8098. 28560, 29065, 32792, 33464, 34131, 36939, 38549, 38642, 38907, 34074,
  8099. 39729, 20112, 29066, 38596, 20803, 21407, 21729, 22291, 22290, 22435,
  8100. 23195, 23236, 23491, 24616, 24895, 25588, 27781, 27961, 28274, 28304,
  8101. 29232, 29503, 29783, 33489, 34945, 36677, 36960, 38498, 39000, 40219,
  8102. [12105, 26376], 36234, 37470, 20301, 20553, 20702, 21361, 22285, 22996,
  8103. 23041, 23561, 24944, 26256, 28205, 29234, 29771, 32239, 32963, 33806,
  8104. 33894, 34111, 34655, 34907, 35096, 35586, 36949, [12209, 38859], 39759,
  8105. 20083, 20369, 20754, 20842, 21807, 21929, 23418, 23461, {f: 2, c: 24188},
  8106. 24254, 24736, 24799, {f: 2, c: 24840}, 25540, 25912, 26377, 26580, 26586,
  8107. {f: 2, c: 26977}, 27833, 27943, 28216, 28641, {f: 2, c: 29494}, 29788,
  8108. 30001, 30290, 32173, 33278, 33848, 35029, 35480, 35547, 35565, 36400,
  8109. 36418, 36938, 36926, 36986, [12195, 37193], 37321, 37742, 22537, 27603,
  8110. [12161, 32905], 32946, 20801, 22891, 23609, 28516, 29607, 32996, 36103,
  8111. 37399, 38287, [12160, 32895], 25102, 28700, 32104, 34701, 22432, 24681,
  8112. 24903, 27575, 35518, 37504, 38577, [12036, 20057], 21535, 28139, 34093,
  8113. 38512, [12211, 38899], 39150, 25558, 27875, [12194, 37009], 20957, 25033,
  8114. 33210, 40441, 20381, 20506, 20736, 23452, 24847, 25087, 25836, 26885,
  8115. 27589, 30097, 30691, 32681, 33380, 34191, 34811, [12176, 34915], 35516,
  8116. 35696, 37291, [12038, 20108], 20197, 20234, 22839, 23016, 24050, 24347,
  8117. 24411, 24609, 29246, 29669, [30064, 63842], 30157, 31227, [12157, 32780],
  8118. [12159, 32819], 32900, 33505, 33617, 36029, 36019, 36999, 39156, 39180,
  8119. 28727, 30410, 32714, 32716, 32764, 35610, [12040, 20154], 20161, 20995,
  8120. 21360, [21693, 63902], 22240, 23035, 23493, 24341, 24525, 28270, 32106,
  8121. 33589, 34451, 35469, 38765, 38775, [12032, 19968], 20314, 20350, 22777,
  8122. [12103, 26085], 28322, 36920, 37808, 39353, 20219, 22764, 22922, 23001,
  8123. 24641, 31252, 33615, 36035, [12042, 20837], 21316, 20173, 21097, 23381,
  8124. 33471, 20180, [21050, 63999], 21672, 22985, 23039, [12070, 23376], 23383,
  8125. 23388, 24675, 24904, 28363, [28825, 63995], 29038, 29574, 29943, 30133,
  8126. 30913, 32043, 32773, [12163, 33258], 33576, 34071, 34249, 35566, 36039,
  8127. 38604, 20316, 21242, 22204, 26027, 26152, 28796, 28856, 29237, 32189,
  8128. 33421, 37196, 38592, 40306, 23409, 26855, 27544, 28538, 30430, 23697,
  8129. 26283, 28507, 31668, 31786, 34870, 38620, 19976, 20183, 21280, 22580,
  8130. 22715, 22767, 22892, 23559, 24115, 24196, 24373, 25484, 26290, 26454,
  8131. 27167, 27299, 27404, 28479, 29254, 29520, 29835, 31456, 31911, 33144,
  8132. 33247, 33255, 33674, 33900, 34083, 34196, 34255, 35037, 36115, 37292,
  8133. [12199, 38263], 38556, 20877, 21705, 22312, 23472, 25165, 26448, 26685,
  8134. 26771, 28221, 28371, 28797, 32289, 35009, 36001, 36617, 40779, 40782,
  8135. 29229, 31631, 35533, 37658, 20295, 20302, 20786, 21632, 22992, 24213,
  8136. 25269, 26485, 26990, 27159, 27822, 28186, 29401, 29482, 30141, 31672,
  8137. 32053, 33511, 33785, 33879, 34295, 35419, 36015, 36487, 36889, 37048,
  8138. 38606, 40799, 21219, 21514, 23265, 23490, 25688, 25973, 28404, 29380,
  8139. 30340, 31309, 31515, 31821, 32318, 32735, 33659, 35627, 36042,
  8140. [12186, 36196], 36321, 36447, 36842, 36857, 36969, 37841, 20291, 20346,
  8141. 20659, 20840, 20856, 21069, 21098, 22625, 22652, 22880, 23560, 23637,
  8142. 24283, 24731, 25136, 26643, 27583, 27656, 28593, 29006, 29728,
  8143. [12133, 30000], 30008, 30033, 30322, 31564, 31627, 31661, 31686, 32399,
  8144. 35438, 36670, 36681, 37439, 37523, 37666, 37931, 38651, 39002, 39019,
  8145. 39198, [20999, 64000], 25130, 25240, 27993, 30308, 31434, 31680, 32118,
  8146. 21344, 23742, 24215, 28472, 28857, 31896, 38673, 39822, 40670, 25509,
  8147. 25722, 34678, 19969, 20117, 20141, 20572, 20597, 21576, 22979, 23450,
  8148. 24128, 24237, 24311, 24449, 24773, 25402, 25919, 25972, 26060, 26230,
  8149. 26232, 26622, 26984, 27273, 27491, 27712, 28096, 28136, 28191, 28254,
  8150. 28702, 28833, 29582, 29693, 30010, 30555, 30855, 31118, 31243, 31357,
  8151. 31934, 32142, 33351, 35330, 35562, 35998, 37165, 37194, 37336, 37478,
  8152. 37580, 37664, 38662, 38742, 38748, 38914, [12237, 40718], 21046, 21137,
  8153. 21884, 22564, 24093, 24351, 24716, 25552, 26799, 28639, 31085, 31532,
  8154. 33229, 34234, 35069, 35576, 36420, 37261, 38500, 38555, 38717, 38988,
  8155. [12241, 40778], 20430, 20806, 20939, 21161, 22066, 24340, 24427, 25514,
  8156. 25805, 26089, 26177, 26362, 26361, 26397, 26781, 26839, 27133, 28437,
  8157. 28526, 29031, 29157, [12118, 29226], 29866, 30522, 31062, 31066, 31199,
  8158. 31264, 31381, 31895, 31967, 32068, 32368, 32903, 34299, 34468, 35412,
  8159. 35519, 36249, 36481, 36896, 36973, 37347, 38459, 38613, [12227, 40165],
  8160. 26063, 31751, [12188, 36275], 37827, 23384, 23562, 21330, 25305, 29469,
  8161. 20519, 23447, 24478, 24752, 24939, 26837, 28121, 29742, 31278, 32066,
  8162. 32156, 32305, 33131, 36394, 36405, 37758, 37912, 20304, 22352, 24038,
  8163. 24231, 25387, 32618, 20027, 20303, 20367, 20570, 23005, 32964, 21610,
  8164. 21608, 22014, 22863, 23449, 24030, 24282, 26205, 26417, 26609, 26666,
  8165. 27880, 27954, 28234, 28557, 28855, 29664, 30087, 31820, 32002, 32044,
  8166. 32162, [12168, 33311], 34523, 35387, 35461, [12187, 36208], 36490, 36659,
  8167. 36913, 37198, 37202, 37956, 39376, [12149, 31481], 31909, 20426, 20737,
  8168. 20934, 22472, 23535, 23803, 26201, 27197, 27994, 28310, 28652, 28940,
  8169. 30063, 31459, 34850, 36897, 36981, 38603, 39423, 33537, 20013, 20210,
  8170. 34886, 37325, 21373, 27355, 26987, 27713, 33914, 22686, 24974, 26366,
  8171. 25327, 28893, 29969, 30151, 32338, 33976, 35657, 36104, 20043, 21482,
  8172. 21675, 22320, 22336, 24535, 25345, 25351, 25711, [12096, 25903], 26088,
  8173. 26234, 26525, 26547, [12108, 27490], 27744, 27802, 28460, 30693, 30757,
  8174. 31049, 31063, 32025, 32930, 33026, [12164, 33267], 33437, 33463, 34584,
  8175. 35468, 36100, 36286, 36978, 30452, 31257, 31287, 32340, 32887, 21767,
  8176. 21972, 22645, 25391, 25634, 26185, 26187, 26733, 27035, 27524, 27941,
  8177. 28337, 29645, 29800, 29857, 30043, 30137, 30433, 30494, 30603, 31206,
  8178. 32265, 32285, 33275, 34095, 34967, 35386, 36049, 36587,
  8179. [12192, 36784, 63857], 36914, 37805, 38499, 38515, 38663, 20356, 21489,
  8180. 23018, 23241, 24089, 26702, 29894, 30142, 31209, 31378, 33187, 34541,
  8181. 36074, 36300, 36845, 26015, 26389, 22519, 28503, 32221, 36655, 37878,
  8182. 38598, 24501, 25074, 28548, 19988, 20376, 20511, 21449, 21983, 23919,
  8183. 24046, 27425, 27492, 30923, 31642, 36425, [12190, 36554, 63746], 36974,
  8184. 25417, 25662, 30528, 31364, 37679, 38015, 40810, 25776, 28591, 29158,
  8185. 29864, 29914, 31428, 31762, 32386, 31922, 32408, 35738, 36106, 38013,
  8186. 39184, 39244, 21049, 23519, 25830, 26413, 32046, 20717, [21443, 63851],
  8187. 22649, {f: 2, c: 24920}, 25082, 26028, 31449, 35730, 35734, 20489, 20513,
  8188. 21109, 21809, 23100, 24288, 24432, 24884, 25950, 26124, 26166, 26274,
  8189. 27085, 28356, 28466, 29462, 30241, 31379, 33081, 33369, 33750, 33980,
  8190. 20661, 22512, 23488, 23528, 24425, 25505, 30758, 32181, 33756, 34081,
  8191. 37319, 37365, 20874, 26613, 31574, 36012, 20932, 22971, 24765, 34389,
  8192. 20508, 21076, 23610, 24957, 25114, [25299, 64002], 25842, 26021, 28364,
  8193. 30240, 33034, 36448, 38495, 38587, 20191, 21315, 21912, 22825, 24029,
  8194. 25797, 27849, 28154, 29588, 31359, [12167, 33307], 34214, 36068, 36368,
  8195. 36983, 37351, 38369, 38433, 38854, 20984, 21746, 21894, 24505, 25764,
  8196. 28552, 32180, 36639, 36685, 37941, 20681, 23574, 27838, 28155, 29979,
  8197. 30651, 31805, 31844, 35449, 35522, 22558, 22974, 24086, 25463, 29266,
  8198. 30090, 30571, 35548, 36028, 36626, 24307, 26228, 28152, 32893, 33729,
  8199. 35531, [12205, 38737], 39894, 21059, 26367, 28053, 28399, 32224, 35558,
  8200. 36910, 36958, 39636, 21021, 21119, 21736, 24980, 25220, 25307, 26786,
  8201. 26898, 26970, 27189, 28818, 28966, 30813, 30977, 30990, 31186, 31245,
  8202. 32918, [12171, 33400], 33493, 33609, 34121, 35970, 36229, 37218, 37259,
  8203. 37294, 20419, 22225, 29165, 30679, 34560, 35320, [12072, 23544], 24534,
  8204. 26449, 37032, 21474, 22618, 23541, 24740, 24961, 25696, 32317, 32880,
  8205. 34085, 37507, 25774, 20652, 23828, 26368, 22684, 25277, 25512, 26894,
  8206. 27000, 27166, 28267, 30394, 31179, 33467, 33833, 35535, 36264, 36861,
  8207. 37138, 37195, 37276, 37648, 37656, 37786, 38619, 39478, 39949, 19985,
  8208. 30044, 31069, 31482, 31569, 31689, 32302, 33988, 36441, 36468, 36600,
  8209. 36880, 26149, 26943, 29763, 20986, 26414, 40668, 20805, 24544, 27798,
  8210. 34802, 34909, 34935, 24756, 33205, 33795, 36101, 21462, 21561, 22068,
  8211. 23094, 23601, 28810, 32736, 32858, 33030, 33261, 36259, 37257, 39519,
  8212. 40434, 20596, 20164, 21408, 24827, 28204, 23652, 20360, 20516, 21988,
  8213. 23769, 24159, 24677, 26772, 27835, 28100, 29118, 30164, 30196, 30305,
  8214. 31258, 31305, 32199, 32251, 32622, 33268, 34473, 36636, 38601, 39347,
  8215. [12242, 40786], 21063, 21189, 39149, 35242, 19971, 26578, 28422, 20405,
  8216. 23522, 26517, [27784, 63858], 28024, 29723, 30759, 37341, 37756, 34756,
  8217. 31204, 31281, 24555, 20182, 21668, 21822, 22702, 22949, 24816, 25171,
  8218. 25302, 26422, 26965, 33333, 38464, 39345, 39389, 20524, 21331, 21828,
  8219. 22396, 25176, 25826, 26219, 26589, 28609, 28655, 29730, 29752, 35351,
  8220. 37944, 21585, 22022, 22374, 24392, 24986, 27470, 28760, 28845, 32187,
  8221. 35477, 22890, 33067, 25506, 30472, 32829, 36010, 22612, 25645, 27067,
  8222. 23445, 24081, 28271, 34153, 20812, 21488, 22826, 24608, 24907, 27526,
  8223. 27760, 27888, 31518, 32974, 33492, 36294, 37040, 39089, 25799, 28580,
  8224. 25745, 25860, 20814, 21520, [12063, 22303], 35342, 24927, 26742, 30171,
  8225. 31570, 32113, 36890, 22534, 27084, 33151, 35114, 36864, 38969, 20600,
  8226. 22871, 22956, 25237, 36879, 39722, 24925, 29305, 38358, 22369, 23110,
  8227. 24052, 25226, 25773, 25850, 26487, 27874, 27966, 29228, 29750, 30772,
  8228. 32631, 33453, 36315, 38935, 21028, 22338, 26495, 29256, 29923, 36009,
  8229. 36774, 37393, 38442, [12043, 20843], 21485, 25420, 20329, 21764, 24726,
  8230. 25943, 27803, 28031, 29260, 29437, 31255, 35207, [12185, 35997], 24429,
  8231. 28558, 28921, 33192, 24846, [20415, 63845], 20559, 25153, [12122, 29255],
  8232. 31687, 32232, 32745, 36941, 38829, 39449, 36022, 22378, 24179, 26544,
  8233. 33805, 35413, 21536, 23318, 24163, 24290, 24330, 25987, 32954, 34109,
  8234. 38281, 38491, 20296, 21253, 21261, 21263, 21638, 21754, 22275, 24067,
  8235. 24598, 25243, 25265, 25429, 27873, 28006, 30129, 30770, 32990, 33071,
  8236. 33502, 33889, 33970, 34957, 35090, 36875, 37610, 39165, 39825, 24133,
  8237. [26292, 64006], 26333, 28689, 29190, 20469, 21117, 24426, 24915, 26451,
  8238. 27161, 28418, 29922, 31080, 34920, 35961, 39111, 39108, 39491, 21697,
  8239. 31263, 26963, 35575, 35914, [12213, 39080], 39342, 24444, 25259, 30130,
  8240. [12138, 30382], 34987, 36991, 38466, 21305, 24380, 24517, [27852, 63848],
  8241. 29644, 30050, [12134, 30091], 31558, 33534, 39325, 20047, 36924, 19979,
  8242. 20309, 21414, 22799, 24264, 26160, 27827, 29781, 33655, 34662, 36032,
  8243. 36944, 38686, 39957, 22737, 23416, 34384, 35604, 40372, 23506, 24680,
  8244. 24717, 26097, 27735, 28450, 28579, 28698, 32597, 32752, {f: 2, c: 38289},
  8245. 38480, 38867, 21106, 36676, 20989, 21547, 21688, 21859, 21898, 27323,
  8246. 28085, 32216, 33382, 37532, 38519, 40569, 21512, 21704, 30418, 34532,
  8247. 38308, 38356, 38492, 20130, 20233, 23022, 23270, 24055, 24658, 25239,
  8248. 26477, 26689, 27782, 28207, 32568, 32923, 33322, 38917, 20133, 20565,
  8249. 21683, 22419, 22874, 23401, 23475, 25032, 26999, 28023, 28707, 34809,
  8250. 35299, 35442, 35559, 36994, 39405, 39608, 21182, 26680, 20502, 24184,
  8251. 26447, 33607, [12175, 34892, 64008], 20139, 21521, 22190, 29670, 37141,
  8252. 38911, 39177, 39255, [12217, 39321], 22099, 22687, 34395, 35377, 25010,
  8253. 27382, 29563, 36562, 27463, 38570, 39511, 22869, 29184, 36203,
  8254. [12208, 38761], 20436, 23796, 24358, 25080, 26203, 27883, 28843,
  8255. [12126, 29572], 29625, 29694, 30505, 30541, 32067, 32098, 32291, 33335,
  8256. 34898, 36066, 37449, 39023, 23377, [12147, 31348], [12174, 34880],
  8257. [12212, 38913], 23244, 20448, 21332, 22846, 23805, 25406, 28025, 29433,
  8258. 33029, 33031, 33698, 37583, 38960, 20136, 20804, 21009, 22411, 24418,
  8259. 27842, 28366, 28677, 28752, 28847, 29074, 29673, [29801, 63918], 33610,
  8260. 34722, 34913, 36872, 37026, 37795, 39336, 20846, 24407, 24800, 24935,
  8261. 26291, 34137, 36426, 37295, 38795, 20046, 20114, 21628, 22741, 22778,
  8262. 22909, 23733, 24359, [12094, 25142], 25160, 26122, 26215, 27627, 28009,
  8263. 28111, 28246, 28408, 28564, 28640, 28649, 28765, 29392, 29733, 29786,
  8264. 29920, 30355, 31068, 31946, 32286, 32993, 33446, 33899, 33983, 34382,
  8265. 34399, 34676, 35703, 35946, 37804, 38912, 39013, 24785, 25110, 37239,
  8266. 23130, 26127, 28151, 28222, 29759, 39746, 24573, 24794, 31503, 21700,
  8267. 24344, 27742, 27859, 27946, 28888, 32005, 34425, 35340, 40251, 21270,
  8268. 21644, 23301, 27194, [12117, 28779], 30069, 31117, [12146, 31166], 33457,
  8269. 33775, 35441, 35649, 36008, 38772, 25844, 25899, {f: 2, c: 30906}, 31339,
  8270. 20024, 21914, 22864, 23462, 24187, 24739, 25563, 27489, 26213, 26707,
  8271. 28185, 29029, 29872, 32008, 36996, 39529, 39973, 27963, [28369, 63748],
  8272. 29502, 35905, 38346, 20976, 24140, 24488, 24653, 24822, 24880, 24908,
  8273. {f: 2, c: 26179}, 27045, 27841, 28255, 28361, 28514, 29004, 29852, 30343,
  8274. 31681, 31783, 33618, 34647, 36945, 38541, [12232, 40643], 21295, 22238,
  8275. 24315, 24458, 24674, 24724, 25079, 26214, 26371, 27292, 28142, 28590,
  8276. 28784, 29546, 32362, 33214, 33588, 34516, 35496, 36036, 21123, 29554,
  8277. 23446, 27243, 37892, 21742, 22150, 23389, 25928, 25989, 26313, 26783,
  8278. 28045, 28102, [12120, 29243], 32948, 37237, 39501, 20399, 20505, 21402,
  8279. 21518, 21564, 21897, 21957, 24127, 24460, 26429, 29030, 29661, 36869,
  8280. 21211, 21235, 22628, 22734, 28932, 29071, 29179, 34224, 35347,
  8281. [26248, 63941], 34216, 21927, 26244, 29002, 33841, 21321, 21913, 27585,
  8282. 24409, 24509, 25582, 26249, 28999, 35569, 36637, 40638, 20241, 25658,
  8283. 28875, 30054, 34407, 24676, 35662, 40440, 20807, 20982, 21256, 27958,
  8284. 33016, [12234, 40657], 26133, 27427, 28824, 30165, 21507, 23673, 32007,
  8285. 35350, [12107, 27424], 27453, 27462, 21560, 24688, 27965, 32725, 33288,
  8286. 20694, 20958, 21916, 22123, 22221, 23020, 23305, 24076, 24985, 24984,
  8287. 25137, 26206, 26342, 29081, {f: 2, c: 29113}, 29351, 31143, 31232, 32690,
  8288. 35440, {s: 163}, {f: 4, c: 12310}, {s: 14}, 8223, 8219, {f: 2, c: 8314},
  8289. {s: 7}, 8316, 0, {f: 2, c: 8317}, {s: 23}, 700, {s: 44}, 8942, 8759,
  8290. {s: 20}, {f: 10, c: 10122}, {s: 36}, {f: 26, c: 9398}, {s: 61},
  8291. {f: 2, c: 8826}, {f: 2, c: 8910}, {f: 2, c: 8832}, {f: 4, c: 8816}, 0,
  8292. 8842, 0, 8843, {f: 2, c: 8822}, 8825, {f: 2, c: 8922}, {s: 5}, 8773, 8771,
  8293. 8776, 0, 8868, {s: 78}, 8244, {s: 11}, 9839, {s: 4}, 8258, {s: 4}, 10045,
  8294. 0, 0, 8226, {s: 4}, {f: 2, c: 8249}, {s: 16}, 10010, 10006, 0, 9711,
  8295. {s: 3}, 10070, 0, 9676, {s: 24}, 9775, {s: 6}, 12320, 0, {f: 10, c: 10102},
  8296. {s: 17}, 12306, 12342, {s: 13}, 8710, 0, 8735, 0, {f: 2, c: 8741}, 0, 8787,
  8297. 8785, {f: 2, c: 8806}, 8723, {f: 3, c: 8853}, 0, 8980, 0, 0, 8802, 0, 9649,
  8298. 0, 8738, 8784, 0, 0, 8867, 0, 0, {f: 2, c: 8814}, 8837, 8836, 8713, 8716,
  8299. {f: 2, c: 8891}, 8794, 8966, {s: 6}, 12958, 0, 8252, {s: 11}, 9702, {s: 3},
  8300. 9663, 9653, 9657, 9667, {s: 4}, 9674, 12849, 12857, 13259, {f: 5, c: 9327},
  8301. {s: 18}, 8656, 8655, 8653, {s: 37}, 8657, 8659, {s: 8}, 8626, 8625, 0,
  8302. 8628, 8624, 8627, {s: 14}, 8636, 8640, {s: 10}, {f: 2, c: 8644}, {s: 144},
  8303. {f: 5, c: 9347}, {s: 33}, 12948, {s: 15}, 12965, {s: 93}, 8672, 8674, 8673,
  8304. 8675, {s: 4}, 8678, 8680, 8679, 8681, {s: 20}, 9757, 9759, {s: 76}, 12944,
  8305. {f: 6, c: 12938}, {s: 15}, {f: 2, c: 12318}, 8246, 0, 8245, {s: 3}, 12540,
  8306. 0, 0, {f: 2, c: 44034}, {f: 2, c: 44037}, {f: 5, c: 44043}, 44056,
  8307. {f: 2, c: 44062}, {f: 3, c: 44065}, {f: 7, c: 44069}, 44078,
  8308. {f: 6, c: 44082}, {f: 2, c: 44090}, {f: 3, c: 44093}, {f: 10, c: 44097},
  8309. 44108, {f: 6, c: 44110}, {f: 3, c: 44117}, {f: 3, c: 44121},
  8310. {f: 19, c: 44125}, {f: 2, c: 44146}, {f: 2, c: 44149}, 44153,
  8311. {f: 5, c: 44155}, 44162, {f: 2, c: 44167}, {f: 3, c: 44173},
  8312. {f: 3, c: 44177}, {f: 7, c: 44181}, 44190, {f: 6, c: 44194}, 44203,
  8313. {f: 2, c: 44205}, {f: 7, c: 44209}, 44218, {f: 3, c: 44222},
  8314. {f: 2, c: 44226}, {f: 3, c: 44229}, {f: 3, c: 44233}, {f: 8, c: 44237},
  8315. 44246, {f: 8, c: 44248}, {f: 2, c: 44258}, {f: 2, c: 44261}, 44265, 44267,
  8316. {f: 2, c: 44269}, 44274, 44276, {f: 5, c: 44279}, {f: 2, c: 44286},
  8317. {f: 3, c: 44289}, 44293, {f: 5, c: 44295}, 44302, 44304, {f: 6, c: 44306},
  8318. {f: 3, c: 44313}, {f: 3, c: 44317}, {f: 8, c: 44321}, {f: 2, c: 44330},
  8319. {f: 6, c: 44334}, {f: 2, c: 44342}, {f: 3, c: 44345}, {f: 7, c: 44349},
  8320. 44358, 44360, {f: 6, c: 44362}, {f: 3, c: 44369}, {f: 3, c: 44373},
  8321. {f: 8, c: 44377}, 44386, {f: 8, c: 44388}, {f: 2, c: 44398},
  8322. {f: 2, c: 44401}, {f: 4, c: 44407}, 44414, 44416, {f: 5, c: 44419},
  8323. {f: 2, c: 44426}, {f: 3, c: 44429}, {f: 11, c: 44433}, {f: 6, c: 44446},
  8324. {f: 18, c: 44453}, {f: 8, c: 44472}, {f: 2, c: 44482}, {f: 3, c: 44485},
  8325. {f: 7, c: 44489}, 44498, {f: 8, c: 44500}, {f: 3, c: 44509},
  8326. {f: 3, c: 44513}, {f: 19, c: 44517}, {f: 2, c: 44538}, {f: 2, c: 44541},
  8327. {f: 6, c: 44546}, 44554, 44556, {f: 6, c: 44558}, {f: 27, c: 44565},
  8328. {f: 2, c: 44594}, {f: 2, c: 44597}, 44601, {f: 5, c: 44603}, 44610, 44612,
  8329. {f: 3, c: 44615}, 44619, 44623, {f: 3, c: 44625}, 44629, {f: 5, c: 44631},
  8330. 44638, {f: 3, c: 44642}, {f: 2, c: 44646}, {f: 2, c: 44650},
  8331. {f: 3, c: 44653}, {f: 7, c: 44657}, 44666, {f: 6, c: 44670},
  8332. {f: 6, c: 44678}, {f: 47, c: 44685}, 44735, {f: 3, c: 44737},
  8333. {f: 7, c: 44741}, 44750, {f: 6, c: 44754}, {f: 2, c: 44762},
  8334. {f: 11, c: 44765}, {f: 2, c: 44777}, 44780, {f: 6, c: 44782},
  8335. {f: 3, c: 44789}, {f: 3, c: 44793}, {f: 10, c: 44797}, {f: 4, c: 44809},
  8336. {f: 2, c: 44814}, {f: 27, c: 44817}, {f: 2, c: 44846}, 44849, 44851,
  8337. {f: 7, c: 44853}, 44862, 44864, {f: 4, c: 44868}, {f: 6, c: 44874},
  8338. {f: 11, c: 44881}, {f: 6, c: 44894}, {f: 19, c: 44902}, {f: 6, c: 44922},
  8339. {f: 3, c: 44929}, {f: 3, c: 44933}, {f: 7, c: 44937}, {f: 3, c: 44946},
  8340. {f: 6, c: 44950}, {f: 27, c: 44957}, {f: 2, c: 44986}, {f: 3, c: 44989},
  8341. {f: 6, c: 44993}, 45002, 45004, {f: 5, c: 45007}, {f: 7, c: 45013},
  8342. {f: 11, c: 45021}, {f: 6, c: 45034}, {f: 2, c: 45042}, {f: 3, c: 45045},
  8343. {f: 7, c: 45049}, {f: 2, c: 45058}, {f: 7, c: 45061}, {f: 3, c: 45069},
  8344. {f: 3, c: 45073}, {f: 7, c: 45077}, {f: 10, c: 45086}, {f: 27, c: 45097},
  8345. {f: 2, c: 45126}, 45129, 45131, 45133, {f: 4, c: 45135}, 45142, 45144,
  8346. {f: 3, c: 45146}, {f: 30, c: 45150}, {f: 2, c: 45182}, {f: 3, c: 45185},
  8347. {f: 7, c: 45189}, 45198, 45200, {f: 6, c: 45202}, 45211, {f: 2, c: 45213},
  8348. {f: 5, c: 45219}, 45226, 45232, 45234, {f: 2, c: 45238}, {f: 3, c: 45241},
  8349. {f: 7, c: 45245}, 45254, {f: 6, c: 45258}, {f: 2, c: 45266},
  8350. {f: 3, c: 45269}, {f: 7, c: 45273}, {f: 4, c: 45281}, {f: 34, c: 45286},
  8351. 45322, {f: 3, c: 45325}, 45329, {f: 4, c: 45332}, 45338, {f: 5, c: 45342},
  8352. {f: 2, c: 45350}, {f: 3, c: 45353}, {f: 7, c: 45357}, 45366,
  8353. {f: 6, c: 45370}, {f: 2, c: 45378}, {f: 3, c: 45381}, {f: 7, c: 45385},
  8354. {f: 2, c: 45394}, {f: 2, c: 45398}, {f: 3, c: 45401}, {f: 3, c: 45405},
  8355. {f: 23, c: 45409}, {f: 2, c: 45434}, {f: 3, c: 45437}, 45441,
  8356. {f: 5, c: 45443}, 45450, 45452, {f: 4, c: 45454}, {f: 3, c: 45461},
  8357. {f: 3, c: 45465}, {f: 11, c: 45469}, {f: 35, c: 45481}, {f: 3, c: 45517},
  8358. {f: 3, c: 45521}, {f: 7, c: 45525}, 45534, {f: 8, c: 45536},
  8359. {f: 2, c: 45546}, {f: 3, c: 45549}, {f: 8, c: 45553}, 45562, 45564,
  8360. {f: 6, c: 45566}, {f: 2, c: 45574}, {f: 2, c: 45577}, {f: 7, c: 45581},
  8361. 45590, 45592, {f: 6, c: 45594}, {f: 19, c: 45601}, {f: 7, c: 45621},
  8362. {f: 27, c: 45629}, {f: 3, c: 45657}, {f: 3, c: 45661}, {f: 7, c: 45665},
  8363. {f: 10, c: 45674}, {f: 6, c: 45686}, {f: 7, c: 45693}, {f: 3, c: 45702},
  8364. {f: 6, c: 45706}, {f: 2, c: 45714}, {f: 3, c: 45717}, {f: 5, c: 45723},
  8365. 45730, 45732, {f: 3, c: 45735}, 45739, {f: 3, c: 45741}, {f: 3, c: 45745},
  8366. {f: 19, c: 45749}, {f: 2, c: 45770}, {f: 3, c: 45773}, 45777,
  8367. {f: 5, c: 45779}, 45786, 45788, {f: 4, c: 45790}, 45795, 45799,
  8368. {f: 2, c: 45801}, {f: 3, c: 45808}, 45814, {f: 3, c: 45820},
  8369. {f: 2, c: 45826}, {f: 3, c: 45829}, {f: 7, c: 45833}, 45842,
  8370. {f: 6, c: 45846}, {f: 55, c: 45853}, 45911, {f: 2, c: 45913}, 45917,
  8371. {f: 4, c: 45920}, 45926, 45928, 45930, {f: 2, c: 45932}, 45935,
  8372. {f: 2, c: 45938}, {f: 3, c: 45941}, {f: 7, c: 45945}, 45954,
  8373. {f: 6, c: 45958}, {f: 3, c: 45965}, {f: 3, c: 45969}, {f: 11, c: 45973},
  8374. {f: 6, c: 45986}, {f: 3, c: 45993}, {f: 23, c: 45997}, {f: 2, c: 46022},
  8375. {f: 2, c: 46025}, 46029, 46031, {f: 3, c: 46033}, 46038, 46040, 46042,
  8376. 46044, {f: 2, c: 46046}, {f: 3, c: 46049}, {f: 3, c: 46053},
  8377. {f: 19, c: 46057}, {f: 19, c: 46077}, {f: 7, c: 46097}, {f: 3, c: 46105},
  8378. {f: 3, c: 46109}, {f: 7, c: 46113}, 46122, {f: 8, c: 46124},
  8379. {f: 27, c: 46133}, {f: 2, c: 46162}, {f: 3, c: 46165}, {f: 7, c: 46169},
  8380. 46178, 46180, {f: 6, c: 46182}, {f: 19, c: 46189}, {f: 7, c: 46209},
  8381. {f: 20, c: 46217}, {f: 6, c: 46238}, {f: 3, c: 46245}, {f: 3, c: 46249},
  8382. {f: 8, c: 46253}, 46262, 46264, {f: 6, c: 46266}, {f: 3, c: 46273},
  8383. {f: 3, c: 46277}, {f: 7, c: 46281}, {f: 4, c: 46289}, {f: 6, c: 46294},
  8384. {f: 2, c: 46302}, {f: 2, c: 46305}, 46309, {f: 5, c: 46311}, 46318, 46320,
  8385. {f: 6, c: 46322}, {f: 27, c: 46329}, {f: 2, c: 46358}, {f: 2, c: 46361},
  8386. {f: 7, c: 46365}, 46374, {f: 5, c: 46379}, {f: 2, c: 46386},
  8387. {f: 3, c: 46389}, {f: 7, c: 46393}, 46402, {f: 5, c: 46406},
  8388. {f: 2, c: 46414}, {f: 3, c: 46417}, {f: 7, c: 46421}, 46430,
  8389. {f: 62, c: 46434}, {f: 2, c: 46498}, {f: 3, c: 46501}, 46505,
  8390. {f: 4, c: 46508}, 46514, {f: 5, c: 46518}, {f: 2, c: 46526},
  8391. {f: 3, c: 46529}, {f: 7, c: 46533}, 46542, {f: 6, c: 46546},
  8392. {f: 19, c: 46553}, {f: 35, c: 46573}, {f: 2, c: 46610}, {f: 3, c: 46613},
  8393. {f: 12, c: 46617}, {f: 6, c: 46630}, {f: 7, c: 46637}, {f: 19, c: 46645},
  8394. {f: 27, c: 46665}, {f: 3, c: 46693}, {f: 51, c: 46697}, {f: 2, c: 46750},
  8395. {f: 3, c: 46753}, {f: 6, c: 46757}, {f: 4, c: 46765}, {f: 34, c: 46770},
  8396. {f: 27, c: 46805}, {f: 3, c: 46833}, {f: 3, c: 46837}, {f: 7, c: 46841},
  8397. {f: 3, c: 46850}, {f: 34, c: 46854}, {f: 2, c: 46890}, {f: 2, c: 46893},
  8398. {f: 7, c: 46897}, 46906, {f: 8, c: 46908}, {f: 3, c: 46917},
  8399. {f: 3, c: 46921}, {f: 7, c: 46925}, {f: 10, c: 46934}, {f: 3, c: 46945},
  8400. {f: 3, c: 46949}, {f: 7, c: 46953}, 46962, 46964, {f: 6, c: 46966},
  8401. {f: 2, c: 46974}, {f: 3, c: 46977}, {f: 7, c: 46981}, 46990,
  8402. {f: 3, c: 46995}, {f: 2, c: 47002}, {f: 3, c: 47005}, {f: 7, c: 47009},
  8403. 47018, {f: 6, c: 47022}, {f: 2, c: 47030}, {f: 14, c: 47033}, 47048,
  8404. {f: 34, c: 47050}, {f: 2, c: 47086}, {f: 3, c: 47089}, {f: 7, c: 47093},
  8405. 47102, {f: 5, c: 47106}, {f: 2, c: 47114}, {f: 3, c: 47117},
  8406. {f: 7, c: 47121}, 47130, 47132, {f: 6, c: 47134}, {f: 2, c: 47142},
  8407. {f: 3, c: 47145}, {f: 7, c: 47149}, 47158, {f: 6, c: 47162},
  8408. {f: 3, c: 47169}, {f: 12, c: 47173}, 47186, {f: 8, c: 47188},
  8409. {f: 2, c: 47198}, {f: 3, c: 47201}, {f: 7, c: 47205}, 47214, 47216,
  8410. {f: 6, c: 47218}, {f: 3, c: 47225}, {f: 16, c: 47229}, {f: 26, c: 47246},
  8411. {f: 7, c: 47273}, {f: 3, c: 47281}, {f: 3, c: 47285}, {f: 7, c: 47289},
  8412. 47298, 47300, {f: 6, c: 47302}, {f: 3, c: 47309}, {f: 3, c: 47313},
  8413. {f: 8, c: 47317}, 47326, 47328, {f: 6, c: 47330}, {f: 2, c: 47338},
  8414. {f: 3, c: 47341}, {f: 7, c: 47345}, 47354, 47356, {f: 6, c: 47358},
  8415. {f: 19, c: 47365}, {f: 7, c: 47385}, {f: 27, c: 47393}, {f: 2, c: 47422},
  8416. {f: 3, c: 47425}, {f: 7, c: 47429}, {f: 2, c: 47437}, 47440,
  8417. {f: 6, c: 47442}, {f: 2, c: 47450}, {f: 3, c: 47453}, {f: 7, c: 47457},
  8418. 47466, 47468, {f: 6, c: 47470}, {f: 2, c: 47478}, {f: 3, c: 47481},
  8419. {f: 7, c: 47485}, 47494, 47496, {f: 2, c: 47499}, {f: 29, c: 47503},
  8420. {f: 2, c: 47534}, {f: 3, c: 47537}, {f: 7, c: 47541}, 47550, 47552,
  8421. {f: 6, c: 47554}, {f: 2, c: 47562}, 47565, {f: 5, c: 47571}, 47578, 47580,
  8422. {f: 2, c: 47583}, 47586, {f: 2, c: 47590}, {f: 3, c: 47593},
  8423. {f: 7, c: 47597}, 47606, {f: 5, c: 47611}, {f: 6, c: 47618},
  8424. {f: 12, c: 47625}, {f: 34, c: 47638}, {f: 2, c: 47674}, {f: 3, c: 47677},
  8425. 47681, {f: 5, c: 47683}, 47690, 47692, {f: 4, c: 47695}, {f: 2, c: 47702},
  8426. {f: 3, c: 47705}, {f: 7, c: 47709}, 47718, {f: 6, c: 47722},
  8427. {f: 2, c: 47730}, {f: 3, c: 47733}, {f: 10, c: 47737}, 47750,
  8428. {f: 4, c: 47752}, {f: 27, c: 47757}, 47786, {f: 3, c: 47789}, 47793,
  8429. {f: 5, c: 47795}, 47802, 47804, {f: 6, c: 47806}, {f: 3, c: 47813},
  8430. {f: 15, c: 47817}, {f: 34, c: 47834}, {f: 3, c: 47869}, {f: 3, c: 47873},
  8431. {f: 8, c: 47877}, 47886, 47888, {f: 6, c: 47890}, {f: 3, c: 47897},
  8432. {f: 3, c: 47901}, {f: 8, c: 47905}, 47914, {f: 8, c: 47916}, 47927,
  8433. {f: 2, c: 47929}, {f: 5, c: 47935}, 47942, 47944, {f: 3, c: 47946}, 47950,
  8434. {f: 3, c: 47953}, {f: 3, c: 47957}, {f: 8, c: 47961}, 47970,
  8435. {f: 8, c: 47972}, {f: 27, c: 47981}, {f: 3, c: 48009}, {f: 3, c: 48013},
  8436. {f: 19, c: 48017}, {f: 3, c: 48037}, {f: 3, c: 48041}, {f: 7, c: 48045},
  8437. {f: 2, c: 48053}, {f: 8, c: 48056}, {f: 3, c: 48065}, {f: 3, c: 48069},
  8438. {f: 7, c: 48073}, {f: 2, c: 48081}, {f: 36, c: 48084}, {f: 2, c: 48122},
  8439. {f: 2, c: 48125}, 48129, {f: 5, c: 48131}, 48138, 48142, 48144,
  8440. {f: 2, c: 48146}, {f: 2, c: 48153}, {f: 4, c: 48160}, 48166, 48168,
  8441. {f: 3, c: 48170}, {f: 2, c: 48174}, {f: 2, c: 48178}, {f: 3, c: 48181},
  8442. {f: 7, c: 48185}, 48194, {f: 3, c: 48198}, {f: 2, c: 48202},
  8443. {f: 2, c: 48206}, {f: 12, c: 48209}, {f: 38, c: 48222}, {f: 2, c: 48262},
  8444. {f: 2, c: 48265}, 48269, {f: 5, c: 48271}, 48278, 48280, {f: 5, c: 48283},
  8445. {f: 2, c: 48290}, {f: 2, c: 48293}, {f: 7, c: 48297}, 48306,
  8446. {f: 6, c: 48310}, {f: 2, c: 48318}, {f: 3, c: 48321}, {f: 8, c: 48325},
  8447. 48334, {f: 3, c: 48338}, {f: 2, c: 48342}, {f: 3, c: 48345},
  8448. {f: 23, c: 48349}, 48375, {f: 3, c: 48377}, {f: 7, c: 48381}, 48390, 48392,
  8449. {f: 6, c: 48394}, {f: 3, c: 48401}, {f: 15, c: 48405}, {f: 7, c: 48421},
  8450. {f: 19, c: 48429}, {f: 7, c: 48449}, {f: 2, c: 48458}, {f: 3, c: 48461},
  8451. {f: 7, c: 48465}, {f: 10, c: 48474}, {f: 3, c: 48485}, {f: 23, c: 48489},
  8452. {f: 2, c: 48514}, {f: 2, c: 48517}, {f: 5, c: 48523}, 48530, 48532,
  8453. {f: 3, c: 48534}, 48539, {f: 7, c: 48541}, {f: 11, c: 48549},
  8454. {f: 7, c: 48561}, {f: 27, c: 48569}, {f: 2, c: 48598}, {f: 3, c: 48601},
  8455. {f: 12, c: 48605}, {f: 6, c: 48618}, {f: 3, c: 48625}, {f: 3, c: 48629},
  8456. {f: 7, c: 48633}, {f: 2, c: 48641}, 48644, {f: 6, c: 48646},
  8457. {f: 2, c: 48654}, {f: 3, c: 48657}, {f: 7, c: 48661}, 48670,
  8458. {f: 36, c: 48672}, {f: 2, c: 48710}, {f: 3, c: 48713}, 48717,
  8459. {f: 5, c: 48719}, 48726, 48728, {f: 4, c: 48732}, {f: 2, c: 48738},
  8460. {f: 3, c: 48741}, 48745, {f: 5, c: 48747}, 48754, {f: 5, c: 48758},
  8461. {f: 2, c: 48766}, {f: 3, c: 48769}, {f: 7, c: 48773}, 48782,
  8462. {f: 6, c: 48786}, {f: 14, c: 48794}, {f: 39, c: 48809}, {f: 2, c: 48850},
  8463. {f: 2, c: 48853}, {f: 7, c: 48857}, {f: 2, c: 48865}, {f: 6, c: 48870},
  8464. {f: 20, c: 48877}, {f: 6, c: 48898}, {f: 14, c: 48906}, 48922,
  8465. {f: 34, c: 48926}, {f: 2, c: 48962}, {f: 3, c: 48965}, {f: 7, c: 48969},
  8466. {f: 3, c: 48978}, {f: 62, c: 48982}, {f: 27, c: 49045}, {f: 20, c: 49073},
  8467. {f: 6, c: 49094}, {f: 2, c: 49102}, {f: 3, c: 49105}, {f: 7, c: 49109},
  8468. {f: 2, c: 49117}, 49120, {f: 90, c: 49122}, {f: 20, c: 49213},
  8469. {f: 6, c: 49234}, {f: 3, c: 49241}, {f: 3, c: 49245}, {f: 7, c: 49249},
  8470. {f: 38, c: 49258}, {f: 2, c: 49298}, {f: 3, c: 49301}, {f: 7, c: 49305},
  8471. 49314, 49316, {f: 6, c: 49318}, 49326, {f: 2, c: 49329}, {f: 5, c: 49335},
  8472. 49342, {f: 3, c: 49346}, {f: 2, c: 49350}, {f: 2, c: 49354},
  8473. {f: 3, c: 49357}, {f: 7, c: 49361}, 49370, {f: 6, c: 49374},
  8474. {f: 2, c: 49382}, {f: 3, c: 49385}, {f: 7, c: 49389}, 49398, 49400,
  8475. {f: 6, c: 49402}, {f: 3, c: 49409}, {f: 3, c: 49413}, {f: 7, c: 49417},
  8476. {f: 4, c: 49425}, {f: 6, c: 49430}, {f: 2, c: 49441}, 49445,
  8477. {f: 4, c: 49448}, 49454, {f: 4, c: 49458}, 49463, {f: 2, c: 49466},
  8478. {f: 3, c: 49469}, {f: 7, c: 49473}, 49482, {f: 6, c: 49486},
  8479. {f: 2, c: 49494}, {f: 3, c: 49497}, {f: 7, c: 49501}, 49510,
  8480. {f: 6, c: 49514}, {f: 3, c: 49521}, {f: 3, c: 49525}, {f: 12, c: 49529},
  8481. {f: 6, c: 49542}, 49551, {f: 3, c: 49553}, 49557, {f: 5, c: 49559}, 49566,
  8482. 49568, {f: 3, c: 49570}, {f: 2, c: 49574}, {f: 2, c: 49578},
  8483. {f: 3, c: 49581}, {f: 12, c: 49585}, {f: 6, c: 49598}, {f: 3, c: 49605},
  8484. {f: 3, c: 49609}, {f: 7, c: 49613}, {f: 2, c: 49621}, {f: 7, c: 49625},
  8485. {f: 3, c: 49633}, {f: 3, c: 49637}, {f: 7, c: 49641}, 49650,
  8486. {f: 8, c: 49652}, {f: 2, c: 49662}, {f: 3, c: 49665}, {f: 7, c: 49669},
  8487. 49678, 49680, {f: 6, c: 49682}, {f: 2, c: 49690}, {f: 2, c: 49693},
  8488. {f: 7, c: 49697}, 49706, 49708, 49710, 49712, 49715, {f: 19, c: 49717},
  8489. {f: 7, c: 49737}, {f: 2, c: 49746}, {f: 3, c: 49749}, {f: 7, c: 49753},
  8490. {f: 4, c: 49761}, {f: 6, c: 49766}, {f: 2, c: 49774}, {f: 3, c: 49777},
  8491. {f: 7, c: 49781}, 49790, 49792, {f: 6, c: 49794}, {f: 6, c: 49802},
  8492. {f: 7, c: 49809}, {f: 2, c: 49817}, 49820, {f: 6, c: 49822},
  8493. {f: 2, c: 49830}, {f: 3, c: 49833}, {f: 6, c: 49838}, 49846, 49848,
  8494. {f: 34, c: 49850}, {f: 2, c: 49886}, {f: 2, c: 49889}, {f: 6, c: 49893},
  8495. 49902, 49904, {f: 4, c: 49906}, 49911, 49914, {f: 3, c: 49917},
  8496. {f: 7, c: 49921}, {f: 2, c: 49930}, {f: 5, c: 49934}, {f: 2, c: 49942},
  8497. {f: 3, c: 49945}, {f: 7, c: 49949}, {f: 2, c: 49958}, {f: 27, c: 49962},
  8498. {f: 34, c: 49990}, {f: 2, c: 50026}, {f: 3, c: 50029}, 50033,
  8499. {f: 5, c: 50035}, {f: 2, c: 50042}, {f: 6, c: 50046}, {f: 3, c: 50053},
  8500. {f: 3, c: 50057}, {f: 51, c: 50061}, {f: 23, c: 50113}, {f: 2, c: 50138},
  8501. {f: 2, c: 50141}, 50145, {f: 5, c: 50147}, {f: 3, c: 50154},
  8502. {f: 6, c: 50158}, {f: 2, c: 50166}, {f: 15, c: 50169}, {f: 7, c: 50185},
  8503. {f: 19, c: 50193}, {f: 7, c: 50213}, {f: 3, c: 50221}, {f: 3, c: 50225},
  8504. {f: 7, c: 50229}, {f: 10, c: 50238}, {f: 27, c: 50249}, {f: 2, c: 50278},
  8505. {f: 3, c: 50281}, {f: 7, c: 50285}, {f: 3, c: 50294}, {f: 6, c: 50298},
  8506. {f: 19, c: 50305}, {f: 7, c: 50325}, {f: 27, c: 50333}, {f: 3, c: 50361},
  8507. {f: 44, c: 50365}, {f: 6, c: 50410}, {f: 2, c: 50418}, {f: 3, c: 50421},
  8508. 50425, {f: 4, c: 50427}, {f: 10, c: 50434}, {f: 3, c: 50445},
  8509. {f: 3, c: 50449}, {f: 7, c: 50453}, {f: 11, c: 50461}, {f: 2, c: 50474},
  8510. {f: 3, c: 50477}, {f: 7, c: 50481}, 50490, 50492, {f: 6, c: 50494},
  8511. {f: 2, c: 50502}, 50507, {f: 4, c: 50511}, 50518, {f: 3, c: 50522}, 50527,
  8512. {f: 2, c: 50530}, {f: 3, c: 50533}, {f: 7, c: 50537}, 50546,
  8513. {f: 6, c: 50550}, {f: 2, c: 50558}, {f: 3, c: 50561}, {f: 2, c: 50565},
  8514. {f: 4, c: 50568}, 50574, 50576, {f: 3, c: 50578}, 50582, {f: 3, c: 50585},
  8515. {f: 3, c: 50589}, {f: 8, c: 50593}, {f: 10, c: 50602}, {f: 2, c: 50614},
  8516. 50618, {f: 5, c: 50623}, 50635, 50637, 50639, {f: 2, c: 50642},
  8517. {f: 3, c: 50645}, {f: 7, c: 50649}, 50658, 50660, {f: 6, c: 50662}, 50671,
  8518. {f: 3, c: 50673}, 50677, {f: 4, c: 50680}, {f: 3, c: 50690},
  8519. {f: 3, c: 50697}, {f: 3, c: 50701}, {f: 7, c: 50705}, 50714,
  8520. {f: 7, c: 50717}, {f: 2, c: 50726}, {f: 3, c: 50729}, 50735,
  8521. {f: 2, c: 50737}, 50742, 50744, 50746, {f: 4, c: 50748}, {f: 2, c: 50754},
  8522. {f: 3, c: 50757}, {f: 7, c: 50761}, 50770, {f: 6, c: 50774},
  8523. {f: 2, c: 50782}, {f: 11, c: 50785}, {f: 2, c: 50797}, 50800,
  8524. {f: 6, c: 50802}, {f: 2, c: 50810}, {f: 3, c: 50813}, {f: 7, c: 50817},
  8525. 50826, 50828, {f: 6, c: 50830}, {f: 2, c: 50838}, {f: 3, c: 50841},
  8526. {f: 7, c: 50845}, 50854, 50856, {f: 6, c: 50858}, {f: 2, c: 50866},
  8527. {f: 3, c: 50869}, {f: 5, c: 50875}, 50882, 50884, {f: 6, c: 50886},
  8528. {f: 2, c: 50894}, {f: 3, c: 50897}, {f: 7, c: 50901}, {f: 2, c: 50910},
  8529. {f: 6, c: 50914}, {f: 2, c: 50922}, {f: 3, c: 50925}, {f: 7, c: 50929},
  8530. {f: 3, c: 50938}, {f: 6, c: 50942}, {f: 2, c: 50950}, {f: 3, c: 50953},
  8531. {f: 7, c: 50957}, 50966, 50968, {f: 6, c: 50970}, {f: 2, c: 50978},
  8532. {f: 3, c: 50981}, {f: 7, c: 50985}, 50994, 50996, 50998, {f: 4, c: 51000},
  8533. {f: 2, c: 51006}, {f: 3, c: 51009}, {f: 5, c: 51013}, 51019, 51022, 51024,
  8534. {f: 3, c: 51033}, {f: 3, c: 51037}, {f: 7, c: 51041}, {f: 2, c: 51049},
  8535. {f: 8, c: 51052}, {f: 2, c: 51062}, {f: 3, c: 51065}, {f: 4, c: 51071},
  8536. 51078, {f: 3, c: 51083}, 51087, {f: 2, c: 51090}, 51093, 51097,
  8537. {f: 5, c: 51099}, 51106, {f: 5, c: 51111}, {f: 2, c: 51118},
  8538. {f: 3, c: 51121}, {f: 7, c: 51125}, 51134, {f: 6, c: 51138},
  8539. {f: 2, c: 51146}, 51149, 51151, {f: 7, c: 51153}, {f: 4, c: 51161},
  8540. {f: 6, c: 51166}, {f: 3, c: 51173}, {f: 3, c: 51177}, {f: 19, c: 51181},
  8541. {f: 2, c: 51202}, {f: 3, c: 51205}, 51209, {f: 5, c: 51211}, 51218, 51220,
  8542. {f: 5, c: 51223}, {f: 2, c: 51230}, {f: 3, c: 51233}, {f: 7, c: 51237},
  8543. 51246, 51248, {f: 6, c: 51250}, {f: 3, c: 51257}, {f: 3, c: 51261},
  8544. {f: 7, c: 51265}, {f: 2, c: 51274}, {f: 6, c: 51278}, {f: 27, c: 51285},
  8545. {f: 2, c: 51314}, {f: 3, c: 51317}, 51321, {f: 5, c: 51323}, 51330, 51332,
  8546. {f: 3, c: 51336}, {f: 6, c: 51342}, {f: 8, c: 51349}, 51358, 51360,
  8547. {f: 6, c: 51362}, {f: 19, c: 51369}, {f: 6, c: 51390}, {f: 3, c: 51397},
  8548. {f: 3, c: 51401}, {f: 7, c: 51405}, 51414, 51416, {f: 6, c: 51418},
  8549. {f: 2, c: 51426}, {f: 16, c: 51429}, {f: 6, c: 51446}, {f: 2, c: 51454},
  8550. {f: 3, c: 51457}, {f: 5, c: 51463}, 51470, 51472, {f: 6, c: 51474},
  8551. {f: 19, c: 51481}, {f: 7, c: 51501}, {f: 27, c: 51509}, {f: 2, c: 51538},
  8552. {f: 3, c: 51541}, {f: 7, c: 51545}, 51554, {f: 8, c: 51556},
  8553. {f: 3, c: 51565}, {f: 3, c: 51569}, {f: 7, c: 51573}, {f: 11, c: 51581},
  8554. {f: 2, c: 51594}, {f: 3, c: 51597}, {f: 7, c: 51601}, 51610, 51612,
  8555. {f: 34, c: 51614}, {f: 2, c: 51650}, {f: 2, c: 51653}, 51657,
  8556. {f: 5, c: 51659}, 51666, 51668, {f: 2, c: 51671}, 51675, {f: 2, c: 51678},
  8557. 51681, 51683, {f: 2, c: 51685}, {f: 4, c: 51688}, 51694, {f: 6, c: 51698},
  8558. {f: 2, c: 51706}, {f: 3, c: 51709}, {f: 7, c: 51713}, 51722,
  8559. {f: 6, c: 51726}, {f: 3, c: 51733}, {f: 16, c: 51737}, {f: 34, c: 51754},
  8560. {f: 2, c: 51790}, {f: 3, c: 51793}, {f: 7, c: 51797}, 51806,
  8561. {f: 6, c: 51810}, {f: 20, c: 51817}, {f: 6, c: 51838}, {f: 19, c: 51845},
  8562. {f: 35, c: 51865}, {f: 2, c: 51902}, {f: 3, c: 51905}, {f: 7, c: 51909},
  8563. 51918, 51920, 51922, {f: 4, c: 51924}, {f: 6, c: 51930}, {f: 11, c: 51937},
  8564. {f: 7, c: 51949}, {f: 19, c: 51957}, {f: 7, c: 51977}, {f: 3, c: 51985},
  8565. {f: 3, c: 51989}, {f: 7, c: 51993}, {f: 31, c: 52002}, {f: 6, c: 52034},
  8566. {f: 2, c: 52042}, {f: 3, c: 52045}, {f: 7, c: 52049}, {f: 3, c: 52058},
  8567. {f: 6, c: 52062}, {f: 19, c: 52069}, {f: 34, c: 52090}, {f: 27, c: 52125},
  8568. {f: 27, c: 52153}, {f: 15, c: 52181}, {f: 2, c: 52197}, 52200,
  8569. {f: 34, c: 52202}, {f: 2, c: 52238}, {f: 3, c: 52241}, {f: 7, c: 52245},
  8570. {f: 3, c: 52254}, {f: 4, c: 52259}, {f: 2, c: 52266}, 52269, 52271,
  8571. {f: 7, c: 52273}, 52282, {f: 5, c: 52287}, {f: 2, c: 52294},
  8572. {f: 3, c: 52297}, {f: 7, c: 52301}, 52310, {f: 6, c: 52314},
  8573. {f: 3, c: 52321}, 52325, 52327, {f: 7, c: 52329}, {f: 4, c: 52337},
  8574. {f: 34, c: 52342}, {f: 2, c: 52378}, {f: 3, c: 52381}, {f: 7, c: 52385},
  8575. 52394, {f: 6, c: 52398}, {f: 2, c: 52406}, {f: 3, c: 52409},
  8576. {f: 7, c: 52413}, 52422, 52424, {f: 6, c: 52426}, {f: 3, c: 52433},
  8577. {f: 15, c: 52437}, {f: 7, c: 52453}, {f: 3, c: 52461}, {f: 16, c: 52465},
  8578. {f: 6, c: 52482}, {f: 2, c: 52490}, {f: 3, c: 52493}, {f: 7, c: 52497},
  8579. 52506, 52508, {f: 6, c: 52510}, {f: 3, c: 52517}, {f: 3, c: 52521},
  8580. {f: 12, c: 52525}, {f: 34, c: 52538}, {f: 3, c: 52573}, {f: 3, c: 52577},
  8581. {f: 7, c: 52581}, 52590, 52592, {f: 6, c: 52594}, {f: 15, c: 52601},
  8582. {f: 11, c: 52617}, {f: 2, c: 52630}, {f: 3, c: 52633}, {f: 7, c: 52637},
  8583. 52646, 52648, {f: 6, c: 52650}, {f: 19, c: 52657}, {f: 7, c: 52677},
  8584. {f: 3, c: 52685}, {f: 23, c: 52689}, {f: 3, c: 52713}, {f: 3, c: 52717},
  8585. {f: 7, c: 52721}, 52730, 52732, {f: 6, c: 52734}, {f: 3, c: 52741},
  8586. {f: 3, c: 52745}, {f: 7, c: 52749}, {f: 4, c: 52757}, {f: 6, c: 52762},
  8587. {f: 2, c: 52770}, {f: 3, c: 52773}, {f: 7, c: 52777}, 52786, 52788,
  8588. {f: 34, c: 52790}, {f: 2, c: 52826}, {f: 2, c: 52829}, {f: 6, c: 52834},
  8589. 52842, 52844, {f: 6, c: 52846}, {f: 2, c: 52854}, {f: 3, c: 52857},
  8590. {f: 7, c: 52861}, 52870, 52872, {f: 6, c: 52874}, {f: 2, c: 52882},
  8591. {f: 3, c: 52885}, {f: 7, c: 52889}, 52898, {f: 6, c: 52902},
  8592. {f: 19, c: 52910}, {f: 34, c: 52930}, {f: 2, c: 52966}, {f: 2, c: 52969},
  8593. {f: 7, c: 52973}, 52982, {f: 6, c: 52986}, {f: 2, c: 52994},
  8594. {f: 3, c: 52997}, {f: 7, c: 53001}, 53010, 53012, {f: 6, c: 53014},
  8595. {f: 3, c: 53021}, {f: 3, c: 53025}, {f: 7, c: 53029}, 53038,
  8596. {f: 6, c: 53042}, {f: 27, c: 53049}, {f: 2, c: 53078}, {f: 3, c: 53081},
  8597. {f: 7, c: 53085}, 53094, 53096, {f: 6, c: 53098}, {f: 2, c: 53106},
  8598. {f: 3, c: 53109}, {f: 7, c: 53113}, {f: 4, c: 53121}, {f: 6, c: 53126},
  8599. {f: 20, c: 53133}, {f: 6, c: 53154}, {f: 7, c: 53161}, {f: 19, c: 53169},
  8600. {f: 27, c: 53189}, {f: 2, c: 53218}, {f: 3, c: 53221}, {f: 7, c: 53225},
  8601. 53234, 53236, {f: 6, c: 53238}, {f: 3, c: 53245}, {f: 3, c: 53249},
  8602. {f: 12, c: 53253}, {f: 6, c: 53266}, {f: 20, c: 53273}, {f: 6, c: 53294},
  8603. {f: 2, c: 53302}, {f: 3, c: 53305}, {f: 7, c: 53309}, 53318, 53320,
  8604. {f: 6, c: 53322}, {f: 3, c: 53329}, {f: 3, c: 53333}, {f: 7, c: 53337},
  8605. {f: 11, c: 53345}, {f: 2, c: 53358}, {f: 3, c: 53361}, {f: 7, c: 53365},
  8606. {f: 3, c: 53374}, {f: 34, c: 53378}, {f: 2, c: 53414}, {f: 3, c: 53417},
  8607. {f: 7, c: 53421}, 53430, 53432, {f: 6, c: 53434}, {f: 2, c: 53442},
  8608. {f: 3, c: 53445}, {f: 6, c: 53450}, 53458, {f: 6, c: 53462},
  8609. {f: 2, c: 53470}, {f: 3, c: 53473}, {f: 7, c: 53477}, 53486,
  8610. {f: 6, c: 53490}, {f: 20, c: 53497}, {f: 34, c: 53518}, {f: 2, c: 53554},
  8611. {f: 3, c: 53557}, 53561, {f: 5, c: 53563}, 53570, {f: 6, c: 53574},
  8612. {f: 2, c: 53582}, {f: 3, c: 53585}, {f: 7, c: 53589}, 53598, 53600,
  8613. {f: 6, c: 53602}, {f: 3, c: 53609}, {f: 15, c: 53613}, {f: 7, c: 53629},
  8614. {f: 3, c: 53637}, {f: 23, c: 53641}, {f: 2, c: 53666}, {f: 3, c: 53669},
  8615. {f: 7, c: 53673}, 53682, 53684, {f: 4, c: 53686}, 53691, {f: 3, c: 53693},
  8616. {f: 23, c: 53697}, {f: 27, c: 53721}, {f: 3, c: 53749}, {f: 14, c: 53753},
  8617. 53768, {f: 6, c: 53770}, {f: 27, c: 53777}, {f: 2, c: 53806},
  8618. {f: 3, c: 53809}, {f: 7, c: 53813}, 53822, 53824, {f: 6, c: 53826},
  8619. {f: 19, c: 53833}, {f: 7, c: 53853}, {f: 27, c: 53861}, {f: 2, c: 53890},
  8620. {f: 3, c: 53893}, {f: 7, c: 53897}, {f: 3, c: 53906}, {f: 6, c: 53910},
  8621. {f: 3, c: 53917}, {f: 3, c: 53921}, {f: 7, c: 53925}, {f: 4, c: 53933},
  8622. {f: 6, c: 53938}, {f: 2, c: 53946}, {f: 2, c: 53949}, 53953,
  8623. {f: 5, c: 53955}, 53962, {f: 8, c: 53964}, {f: 3, c: 53973},
  8624. {f: 3, c: 53977}, {f: 7, c: 53981}, {f: 10, c: 53990}, {f: 2, c: 54002},
  8625. {f: 3, c: 54005}, {f: 7, c: 54009}, 54018, 54020, {f: 6, c: 54022}, 54031,
  8626. {f: 3, c: 54033}, 54037, {f: 5, c: 54039}, 54046, {f: 3, c: 54050},
  8627. {f: 2, c: 54054}, {f: 2, c: 54058}, {f: 3, c: 54061}, {f: 7, c: 54065},
  8628. 54074, {f: 6, c: 54078}, {f: 54, c: 54086}, {f: 2, c: 54142},
  8629. {f: 3, c: 54145}, {f: 7, c: 54149}, 54158, {f: 6, c: 54162},
  8630. {f: 2, c: 54170}, {f: 3, c: 54173}, {f: 7, c: 54177}, 54186, 54188,
  8631. {f: 6, c: 54190}, {f: 3, c: 54197}, {f: 3, c: 54201}, {f: 7, c: 54205},
  8632. {f: 2, c: 54214}, {f: 6, c: 54218}, {f: 7, c: 54225}, {f: 8, c: 54233},
  8633. 54242, {f: 8, c: 54244}, {f: 2, c: 54254}, {f: 3, c: 54257},
  8634. {f: 7, c: 54261}, 54270, 54272, {f: 6, c: 54274}, {f: 20, c: 54281},
  8635. {f: 34, c: 54302}, {f: 3, c: 54337}, {f: 23, c: 54341}, {f: 3, c: 54365},
  8636. {f: 3, c: 54369}, {f: 8, c: 54373}, 54382, {f: 8, c: 54384},
  8637. {f: 2, c: 54394}, {f: 2, c: 54397}, 54401, {f: 5, c: 54403}, 54410, 54412,
  8638. {f: 6, c: 54414}, {f: 20, c: 54421}, {f: 34, c: 54442}, {f: 3, c: 54477},
  8639. {f: 3, c: 54481}, {f: 7, c: 54485}, {f: 2, c: 54493}, {f: 8, c: 54496},
  8640. {f: 3, c: 54505}, {f: 3, c: 54509}, {f: 7, c: 54513}, {f: 2, c: 54521},
  8641. 54524, {f: 6, c: 54526}, {f: 3, c: 54533}, {f: 3, c: 54537},
  8642. {f: 7, c: 54541}, 54550, {f: 36, c: 54552}, {f: 2, c: 54590},
  8643. {f: 3, c: 54593}, {f: 7, c: 54597}, 54606, 54608, {f: 6, c: 54610},
  8644. {f: 2, c: 54618}, {f: 3, c: 54621}, {f: 4, c: 54625}, {f: 2, c: 54630},
  8645. 54634, 54636, {f: 6, c: 54638}, {f: 2, c: 54646}, {f: 3, c: 54649},
  8646. {f: 7, c: 54653}, 54662, {f: 6, c: 54666}, {f: 20, c: 54673},
  8647. {f: 34, c: 54694}, {f: 2, c: 54730}, {f: 3, c: 54733}, 54737,
  8648. {f: 5, c: 54739}, 54746, 54748, {f: 6, c: 54750}, {f: 2, c: 54758},
  8649. {f: 3, c: 54761}, {f: 7, c: 54765}, 54774, 54776, {f: 6, c: 54778},
  8650. {f: 2, c: 54786}, {f: 3, c: 54789}, {f: 7, c: 54793}, 54802,
  8651. {f: 6, c: 54806}, {f: 3, c: 54813}, {f: 3, c: 54817}, {f: 8, c: 54821},
  8652. {f: 10, c: 54830}, {f: 2, c: 54842}, {f: 3, c: 54845}, {f: 4, c: 54849},
  8653. {f: 2, c: 54854}, 54858, 54860, {f: 3, c: 54862}, {f: 2, c: 54866},
  8654. {f: 2, c: 54870}, {f: 3, c: 54873}, {f: 10, c: 54877}, 54888,
  8655. {f: 6, c: 54890}, {f: 2, c: 54898}, {f: 14, c: 54901}, 54916,
  8656. {f: 6, c: 54918}, {f: 2, c: 54926}, {f: 3, c: 54929}, {f: 8, c: 54933},
  8657. 54942, 54944, {f: 6, c: 54946}, {f: 3, c: 54953}, {f: 3, c: 54957},
  8658. {f: 8, c: 54961}, 54970, {f: 8, c: 54972}, {f: 2, c: 54982},
  8659. {f: 3, c: 54985}, {f: 4, c: 54989}, {f: 2, c: 54994}, {f: 2, c: 54997},
  8660. 55000, {f: 6, c: 55002}, {f: 3, c: 55009}, {f: 3, c: 55013},
  8661. {f: 7, c: 55017}, {f: 4, c: 55025}, {f: 6, c: 55030}, {f: 2, c: 55038},
  8662. {f: 3, c: 55041}, {f: 12, c: 55045}, {f: 6, c: 55058}, {f: 2, c: 55066},
  8663. {f: 3, c: 55069}, {f: 7, c: 55073}, 55082, 55084, {f: 6, c: 55086},
  8664. {f: 2, c: 55094}, {f: 3, c: 55097}, {f: 7, c: 55101}, {f: 2, c: 55109},
  8665. 55112, {f: 6, c: 55114}, {f: 2, c: 55122}, 55125, {f: 6, c: 55130}, 55138,
  8666. 55140, {f: 3, c: 55142}, {f: 2, c: 55146}, {f: 3, c: 55149},
  8667. {f: 3, c: 55153}, {f: 7, c: 55157}, {f: 3, c: 55166}, {f: 6, c: 55170},
  8668. {f: 2, c: 55178}, {f: 3, c: 55181}, {f: 7, c: 55185}, 55194, 55196,
  8669. {f: 6, c: 55198}],
  8670. 'Adobe-CNS1': [{f: 95, c: 32}, {s: 3}, 12288, 65292, {f: 2, c: 12289}, 65294,
  8671. 8226, 65307, 65306, 65311, 65281, 65072, 8230, 8229, 65104, 65380, 65106,
  8672. 183, {f: 4, c: 65108}, 65372, 8211, 65073, 8212, {s: 4}, {f: 2, c: 65288},
  8673. {f: 2, c: 65077}, 65371, 65373, {f: 2, c: 65079}, {f: 2, c: 12308},
  8674. {f: 2, c: 65081}, {f: 2, c: 12304}, {f: 2, c: 65083}, {f: 2, c: 12298},
  8675. {f: 2, c: 65085}, {f: 2, c: 12296}, {f: 2, c: 65087}, {f: 2, c: 12300},
  8676. {f: 2, c: 65089}, {f: 2, c: 12302}, {f: 2, c: 65091}, {f: 6, c: 65113},
  8677. {f: 2, c: 8216}, {f: 2, c: 8220}, {f: 2, c: 12317}, 8245, 8242, 65283,
  8678. 65286, 65290, 8251, 167, 12291, 9675, 9679, 9651, 9650, 9678, 9734, 9733,
  8679. 9671, 9670, 9633, 9632, 9661, 9660, 12963, 8453, 8254, 0, 65343, 0,
  8680. {f: 2, c: 65097}, {f: 2, c: 65101}, {f: 2, c: 65099}, {f: 3, c: 65119},
  8681. 65291, 65293, 215, 247, 177, 8730, 65308, 65310, 65309, {f: 2, c: 8806},
  8682. 8800, 8734, 8786, 8801, {f: 5, c: 65122}, 8764, {f: 2, c: 8745}, 8869,
  8683. 8736, 8735, 8895, 13266, 13265, 8747, 8750, 8757, 8756, 9792, 9794, 9793,
  8684. 9737, 8593, 8595, 8594, 8592, {f: 2, c: 8598}, 8601, 8600, 8741, 8739, 0,
  8685. 0, 65295, 65340, 65284, 165, 12306, {f: 2, c: 162}, 65285, 65312, 8451,
  8686. 8457, {f: 3, c: 65129}, 13269, {f: 3, c: 13212}, 13262, 13217,
  8687. {f: 2, c: 13198}, 13252, 176, [20825, 58834], [20827, 58835],
  8688. [20830, 58837], [20829, 58836], 20833, 20835, 21991, [29929, 58044],
  8689. [31950, 58191], {f: 8, c: 9601}, 9615, 9614, 9613, 9612, 9611, 9610, 9609,
  8690. 9532, 9524, 9516, 9508, 9500, 9620, 9472, 9474, 9621, 9484, 9488, 9492,
  8691. 9496, {f: 2, c: 9581}, 9584, 9583, 9552, 9566, 9578, 9569, {f: 2, c: 9698},
  8692. 9701, 9700, {f: 3, c: 9585}, {f: 10, c: 65296}, {f: 10, c: 8544},
  8693. {f: 9, c: 12321}, 0, [21316, 57443], 0, {f: 26, c: 65313},
  8694. {f: 26, c: 65345}, {f: 17, c: 913}, {f: 7, c: 931}, {f: 17, c: 945},
  8695. {f: 7, c: 963}, {f: 37, c: 12549}, 729, 714, 711, 715, [9312, 63153],
  8696. [9313, 63154], [9314, 63155], [9315, 63156], [9316, 63157], [9317, 63158],
  8697. [9318, 63159], [9319, 63160], [9320, 63161], [9321, 63162], [9332, 63163],
  8698. [9333, 63164], [9334, 63165], [9335, 63166], [9336, 63167], [9337, 63168],
  8699. [9338, 63169], [9339, 63170], [9340, 63171], [9341, 63172], [8560, 63173],
  8700. [8561, 63174], [8562, 63175], [8563, 63176], [8564, 63177], [8565, 63178],
  8701. [8566, 63179], [8567, 63180], [8568, 63181], [8569, 63182], [12033, 20008],
  8702. [12034, 20022, 63183], [12035, 20031, 63184], [12037, 20101, 63185],
  8703. [12039, 20128, 63186], [12044, 20866, 63187], [12045, 20886, 63188],
  8704. [12046, 20907, 63189], [12051, 21241, 63190], [12054, 21304, 63191],
  8705. [12057, 21353, 63192], [12059, 21430, 63193],
  8706. [12065, 12066, 22786, 22794, 63194], [12071, 23424, 63195],
  8707. [12078, 24027, 63196], [12083, 24186, 63197], [12084, 24191, 63198],
  8708. [12085, 24308], [12089, 24400, 63200], [12090, 24417, 63201],
  8709. [12097, 25908, 63202], [12102, 26080], [12135, 30098, 63204],
  8710. [12136, 30326], [12193, 36789, 63206], [12202, 38582], {f: 32, c: 9216},
  8711. 9249, [12032, 19968], [12036, 20057], 19969, 19971, 20035, 20061, 20102,
  8712. [12038, 20108], [12040, 20154], [12041, 20799], [12042, 20837],
  8713. [12043, 20843], [12047, 20960], [12049, 20992], 20993, [12050, 21147],
  8714. [12052, 21269], [12055, 21313], [12056, 21340], [12060, 21448], 19977,
  8715. 19979, 19976, 19978, 20011, 20024, 20961, 20037, 20040, 20063, 20062,
  8716. 20110, 20129, [20800, 64012], 20995, 21242, 21315, 21449, [12061, 21475],
  8717. [12063, 22303], [12064, 22763], [12067, 22805], [12068, 22823],
  8718. [12069, 22899], [12070, 23376], 23377, 23379, [12072, 23544],
  8719. [12073, 23567], [12074, 23586], [12075, 23608], [12077, 23665], 24029,
  8720. [12079, 24037], [12080, 24049], {f: 2, c: 24050}, [12081, 24062],
  8721. [12082, 24178], [12086, 24318], [12087, 24331], [12088, 24339], 25165,
  8722. 19985, 19984, 19981, 20013, 20016, 20025, 20043, 23609, 20104, 20113,
  8723. 20117, 20114, 20116, 20130, 20161, 20160, 20163, {f: 2, c: 20166}, 20173,
  8724. {f: 2, c: 20170}, 20164, 20803, 20801, 20839, {f: 2, c: 20845}, 20844,
  8725. 20887, 20982, {f: 3, c: 20998}, 21243, {f: 2, c: 21246}, 21270, 21305,
  8726. 21320, 21319, 21317, 21342, 21380, 21451, 21450, 21453, 22764, 22825,
  8727. 22827, 22826, 22829, 23380, 23569, 23588, 23610, 23663, 24052, 24187,
  8728. 24319, {f: 2, c: 24340}, [12092, 24515], [12093, 25096], [12094, 25142],
  8729. [12095, 25163], 25166, [12096, 25903], [12098, 25991], [12099, 26007],
  8730. [12100, 26020], [12101, 26041], [12103, 26085], [12104, 26352],
  8731. [12105, 26376], [12106, 26408], [12107, 27424], [12108, 27490],
  8732. [12109, 27513], [12111, 27595], [12112, 27604], [12113, 27611],
  8733. [12114, 27663], [12116, 27700], [12117, 28779], [12118, 29226],
  8734. [12119, 29238], [12120, 29243], [12122, 29255], [12123, 29273],
  8735. [12124, 29275], [12125, 29356], 29579, 19993, 19990, 19989, 19988, 19992,
  8736. 20027, 20045, 20047, 20046, 20197, 20184, {f: 4, c: 20180},
  8737. {f: 2, c: 20195}, 20185, 20190, 20805, 20804, {f: 2, c: 20873}, 20908,
  8738. {f: 2, c: 20985}, 20984, 21002, 21152, 21151, [21253, 57435], 21254, 21271,
  8739. 21277, 20191, 21322, 21321, 21345, 21344, 21359, 21358, 21435, 21487,
  8740. 21476, 21491, 21484, 21486, 21481, 21480, 21500, 21496, 21493, 21483,
  8741. 21478, 21482, 21490, 21489, 21488, 21477, 21485, 21499, 22235, 22234,
  8742. 22806, 22830, 22833, 22900, 22902, 23381, 23427, 23612, 24040, 24039,
  8743. 24038, {f: 2, c: 24066}, 24179, 24188, 24321, 24344, 24343, 24517, 25098,
  8744. {f: 2, c: 25171}, 25170, 25169, 26021, 26086, 26414, 26412,
  8745. {f: 2, c: 26410}, 26413, 27491, 27597, 27665, 27664, 27704, 27713, 27712,
  8746. 27710, 29359, [12126, 29572], [12127, 29577], [12128, 29916],
  8747. [12129, 29926], [12130, 29976], [12131, 29983], [12132, 29992], 29993,
  8748. [12133, 30000], {f: 3, c: 30001}, [12134, 30091], [12137, 30333],
  8749. [12138, 30382], [12139, 30399], [12140, 30446], [12141, 30683],
  8750. [12142, 30690], [12143, 30707], [12144, 31034], [12146, 31166],
  8751. [12147, 31348], [12148, 31435], {f: 2, c: 19998}, {f: 2, c: 20050}, 20073,
  8752. 20121, 20132, 20134, 20133, 20223, 20233, 20249, 20234, 20245, 20237,
  8753. {f: 2, c: 20240}, 20239, 20210, 20214, 20219, 20208, 20211, 20221, 20225,
  8754. 20235, 20809, 20807, 20806, 20808, 20840, 20849, 20877, 20912, 21015,
  8755. {f: 2, c: 21009}, 21006, 21014, 21155, 21256, 21281, 21280,
  8756. {f: 2, c: 21360}, 21513, 21519, 21516, 21514, 21520, 21505, 21515, 21508,
  8757. 21521, 21517, 21512, 21507, 21518, 21510, 21522, 22240, 22238, 22237,
  8758. 22323, 22320, 22312, 22317, 22316, 22319, 22313, {f: 2, c: 22809},
  8759. {f: 2, c: 22839}, 22916, 22904, 22915, 22909, 22905, 22914, 22913,
  8760. {f: 2, c: 23383}, {f: 2, c: 23431}, 23429, 23433, 23546, 23574, 23673,
  8761. 24030, 24070, 24182, 24180, 24335, 24347, 24537, 24534, 25102,
  8762. {f: 2, c: 25100}, 25104, 25187, 25179, 25176, 25910, 26089, 26088,
  8763. {f: 2, c: 26092}, {f: 2, c: 26354}, 26377, 26429, 26420, 26417, 26421,
  8764. 27425, 27492, 27515, 27670, 27741, 27735, 27737, {f: 2, c: 27743}, 27728,
  8765. 27733, 27745, 27739, {f: 2, c: 27725}, 28784, 29279, 29277, 30334,
  8766. [12149, 31481], [12150, 31859], [12151, 31992], [12152, 32566],
  8767. [12154, 32650], [12155, 32701], [12156, 32769], 32771, [12157, 32780],
  8768. [12158, 32786], [12159, 32819], [12160, 32895], [12161, 32905],
  8769. {f: 2, c: 32907}, [12162, 33251], [12163, 33258], [12164, 33267],
  8770. [12165, 33276], [12166, 33292], [12167, 33307], [12168, 33311],
  8771. [12169, 33390], [12170, 33394], 33406, [12173, 34411], [12174, 34880],
  8772. [12175, 34892], [12176, 34915], 35199, 38433, 20018, 20136, 20301, 20303,
  8773. 20295, 20311, 20318, 20276, 20315, 20309, 20272, {f: 2, c: 20304}, 20285,
  8774. 20282, 20280, 20291, 20308, 20284, 20294, 20323, 20316, 20320, 20271,
  8775. 20302, 20278, 20313, 20317, 20296, 20314, 20812, 20811, 20813, 20853,
  8776. {f: 2, c: 20918}, 21029, 21028, {f: 2, c: 21033}, 21032, 21163,
  8777. {f: 2, c: 21161}, 21164, 21283, 21363, 21365, 21533, 21549, 21534, 21566,
  8778. 21542, 21582, 21543, 21574, 21571, 21555, 21576, 21570, 21531, 21545,
  8779. 21578, 21561, 21563, 21560, 21550, {f: 2, c: 21557}, 21536, 21564, 21568,
  8780. 21553, 21547, 21535, 21548, 22250, 22256, 22244, 22251, 22346, 22353,
  8781. 22336, 22349, 22343, 22350, 22334, 22352, 22351, 22331, 22767, 22846,
  8782. 22941, 22930, 22952, 22942, 22947, 22937, 22934, 22925, 22948, 22931,
  8783. 22922, 22949, 23389, 23388, {f: 2, c: 23386}, 23436, 23435, 23439, 23596,
  8784. {f: 2, c: 23616}, 23615, 23614, {f: 2, c: 23696}, 23700, 23692, 24043,
  8785. 24076, 24207, 24199, 24202, 24311, 24324, 24351, 24420, 24418, 24439,
  8786. 24441, 24536, 24524, 24535, 24525, 24561, 24555, 24568, 24554, 25106,
  8787. 25105, 25220, 25239, 25238, 25216, 25206, 25225, 25197, 25226, 25212,
  8788. 25214, 25209, 25203, 25234, 25199, 25240, 25198, 25237, 25235, 25233,
  8789. 25222, 25913, 25915, 25912, 26097, 26356, 26463, {f: 4, c: 26446}, 26460,
  8790. 26454, [26462, 57801], 26441, 26438, 26464, 26451, 26455, 27493, 27599,
  8791. 27714, 27742, 27801, 27777, {f: 2, c: 27784}, 27781, 27803, 27754, 27770,
  8792. 27792, 27760, 27788, 27752, 27798, 27794, 27773, 27779, 27762, 27774,
  8793. 27764, 27782, 27766, 27789, 27796, 27800, 27778, 28790, {f: 2, c: 28796},
  8794. 28792, 29282, 29281, 29280, 29380, 29378, 29590, 29996, 29995,
  8795. {f: 2, c: 30007}, 30338, 30447, 30691, 31169, 31168, 31167, 31350, 31995,
  8796. 32597, 32918, 32915, 32925, 32920, 32923, 32922, 32946, 33391, 33426,
  8797. 33419, 33421, [12178, 35211], [12179, 35282], [12180, 35328],
  8798. [12181, 35895], [12182, 35910], [12183, 35925], [12185, 35997],
  8799. [12186, 36196], [12187, 36208], [12188, 36275], [12189, 36523],
  8800. [12190, 36554], [12191, 36763], [12192, 36784], 36802, 36806, 36805, 36804,
  8801. 24033, [12194, 37009], 37026, 37034, 37030, 37027, [12195, 37193],
  8802. [12196, 37318], [12197, 37324], 38450, 38446, 38449, 38442, 38444, 20006,
  8803. 20054, 20083, 20107, 20123, 20126, {f: 2, c: 20139}, 20335, 20381, 20365,
  8804. 20339, 20351, 20332, 20379, 20363, 20358, 20355, 20336, 20341, 20360,
  8805. 20329, 20347, 20374, 20350, 20367, 20369, 20346, 20820, 20818, 20821,
  8806. 20841, 20855, 20854, 20856, 20925, 20989, 21051, 21048, 21047, 21050,
  8807. 21040, 21038, 21046, 21057, 21182, 21179, 21330, 21332, 21331, 21329,
  8808. 21350, {f: 3, c: 21367}, 21462, 21460, 21463, 21619, 21621, 21654, 21624,
  8809. 21653, 21632, 21627, 21623, 21636, 21650, 21638, 21628, 21648, 21617,
  8810. 21622, 21644, 21658, 21602, 21608, 21643, 21629, 21646, 22266, 22403,
  8811. 22391, 22378, 22377, 22369, 22374, 22372, 22396, 22812, 22857,
  8812. {f: 2, c: 22855}, 22852, 22868, 22974, 22971, 22996, 22969, 22958, 22993,
  8813. 22982, 22992, 22989, 22987, 22995, 22986, 22959, 22963, 22994, 22981,
  8814. 23391, 23396, 23395, 23447, 23450, 23448, 23452, 23449, 23451, 23578,
  8815. 23624, {f: 2, c: 23621}, 23735, 23713, 23736, 23721, 23723, 23729, 23731,
  8816. 24088, 24090, 24086, 24085, 24091, 24081, 24184, 24218, 24215, 24220,
  8817. {f: 2, c: 24213}, 24310, {f: 2, c: 24358}, 24361, {f: 2, c: 24448}, 24447,
  8818. 24444, 24541, 24544, 24573, 24565, 24575, 24591, 24596, 24623, 24629,
  8819. 24598, 24618, 24597, 24609, 24615, 24617, 24619, 24603, 25110, 25109,
  8820. 25151, 25150, 25152, 25215, 25289, 25292, 25284, 25279, 25282, 25273,
  8821. 25298, 25307, 25259, {f: 2, c: 25299}, 25291, 25288, 25256, 25277, 25276,
  8822. [25296, 60582], 25305, 25287, 25293, 25269, 25306, 25265, 25304,
  8823. {f: 2, c: 25302}, 25286, 25260, [25294, 61010], 25918, 26023, 26044, 26106,
  8824. 26132, 26131, 26124, 26118, 26114, 26126, 26112, 26127, 26133, 26122,
  8825. 26119, 26381, 26379, 26477, 26507, 26517, 26481, 26524, 26483, 26487,
  8826. 26503, 26525, 26519, {f: 2, c: 26479}, 26495, 26505, 26494, 26512, 26485,
  8827. 26522, 26515, 26492, 26474, 26482, 27427, {f: 2, c: 27494}, 27519, 27667,
  8828. 27675, 27875, 27880, 27891, 27825, 27852, 27877, 27827, {f: 2, c: 27837},
  8829. 27836, 27874, 27819, 27861, 27859, 27832, 27844, 27833, 27841, 27822,
  8830. 27863, 27845, 27889, 27839, 27835, 27873, 27867, 27850, 27820, 27887,
  8831. 27868, 27862, 27872, 28821, 28814, 28818, 28810, 28825, {f: 2, c: 29228},
  8832. 29240, 29256, 29287, 29289, 29376, 29390, 29401, 29399, 29392, 29609,
  8833. 29608, 29599, 29611, 29605, 30013, 30109, {f: 2, c: 30105}, 30340, 30402,
  8834. 30450, 30452, 30693, 30717, 31038, {f: 2, c: 31040}, 31177, 31176, 31354,
  8835. 31353, 31482, 31998, 32596, 32652, 32651, [32773, 58236], 32954, 32933,
  8836. 32930, 32945, 32929, 32939, 32937, 32948, 32938, 32943, 33253, 33278,
  8837. 33293, 33459, 33437, 33433, 33453, 33469, 33439, 33465, 33457, 33452,
  8838. 33445, 33455, 33464, 33443, 33456, 33470, 33463, 34382, 34417, 21021,
  8839. 34920, 36555, 36814, 36820, 36817, 37045, 37048, 37041, 37046, 37319,
  8840. [12198, 37329], [12199, 38263], [12200, 38272], [12201, 38428], 38464,
  8841. 38463, 38459, 38468, 38466, [12203, 38585], [12204, 38632], 38738,
  8842. [12206, 38750], 20127, {f: 2, c: 20141}, 20449, 20405, 20399, 20415, 20448,
  8843. 20433, 20431, 20445, 20419, 20406, 20440, 20447, 20426, 20439, 20398,
  8844. 20432, 20420, 20418, 20442, 20430, 20446, 20407, 20823, 20882, 20881,
  8845. 20896, 21070, 21059, 21066, 21069, 21068, 21067, 21063, 21191, 21193,
  8846. 21187, 21185, 21261, 21335, 21371, 21402, 21467, 21676, 21696, 21672,
  8847. 21710, 21705, 21688, 21670, 21683, 21703, 21698, 21693, 21674, 21697,
  8848. 21700, 21704, 21679, 21675, 21681, 21691, 21673, 21671, 21695, 22271,
  8849. 22402, 22411, 22432, 22435, 22434, 22478, 22446, 22419, 22869, 22865,
  8850. 22863, 22862, 22864, 23004, 23000, 23039, 23011, 23016, 23043, 23013,
  8851. 23018, 23002, 23014, 23041, 23035, 23401, 23459, 23462, 23460, 23458,
  8852. 23461, 23553, {f: 2, c: 23630}, 23629, 23627, 23769, 23762, 24055, 24093,
  8853. 24101, 24095, 24189, 24224, 24230, 24314, 24328, 24365, 24421, 24456,
  8854. 24453, {f: 2, c: 24458}, 24455, 24460, 24457, 24594, 24605, 24608, 24613,
  8855. 24590, 24616, 24653, 24688, 24680, [24674, 60712], 24646, 24643, 24684,
  8856. 24683, 24682, 24676, 25153, 25308, 25366, 25353, 25340, 25325, 25345,
  8857. 25326, 25341, 25351, 25329, 25335, 25327, 25324, 25342, 25332, 25361,
  8858. 25346, 25919, 25925, 26027, 26045, 26082, 26149, 26157, 26144, 26151,
  8859. 26159, 26143, 26152, 26161, 26148, 26359, 26623, 26579, 26609, 26580,
  8860. 26576, 26604, 26550, 26543, 26613, 26601, 26607, 26564, 26577, 26548,
  8861. 26586, 26597, 26552, 26575, 26590, 26611, 26544, 26585, 26594, 26589,
  8862. 26578, 27498, 27523, 27526, 27573, 27602, 27607, 27679, 27849, 27915,
  8863. 27954, 27946, 27969, 27941, 27916, 27953, 27934, 27927, 27963,
  8864. {f: 2, c: 27965}, 27958, 27931, 27893, 27961, 27943, 27960, 27945, 27950,
  8865. 27957, 27918, 27947, 28843, 28858, 28851, 28844, 28847, 28845, 28856,
  8866. 28846, 28836, 29232, 29298, 29295, 29300, 29417, {f: 2, c: 29408}, 29623,
  8867. 29642, 29627, 29618, 29645, 29632, 29619, 29978, 29997, 30031, 30028,
  8868. 30030, 30027, 30123, {f: 2, c: 30116}, {f: 2, c: 30114}, 30328,
  8869. {f: 3, c: 30342}, 30408, 30406, 30403, 30405, 30465, 30457, 30456, 30473,
  8870. 30475, 30462, 30460, 30471, 30684, 30722, 30740, {f: 2, c: 30732}, 31046,
  8871. 31049, 31048, 31047, {f: 2, c: 31161}, {f: 2, c: 31185}, 31179, 31359,
  8872. 31361, 31487, 31485, 31869, 32002, 32005, 32000, 32009, 32007, 32004,
  8873. 32006, 32568, 32654, 32703, 32784, 32781, 32785, 32822, 32982, 32997,
  8874. 32986, {f: 2, c: 32963}, 32972, 32993, 32987, 32974, 32990, 32996, 32989,
  8875. 33268, 33314, 33511, 33539, 33541, 33507, 33499, 33510, 33540, 33509,
  8876. 33538, 33545, 33490, 33495, 33521, 33537, 33500, 33492, 33489, 33502,
  8877. 33491, 33503, 33519, 33542, 34384, 34425, 34427, 34426, 34893, 34923,
  8878. 35201, 35284, 35336, {f: 2, c: 35330}, 35998, 36000, 36212, 36211, 36276,
  8879. 36557, 36556, 36848, 36838, 36834, 36842, 36837, 36845, 36843, 36836,
  8880. 36840, 37066, 37070, 37057, 37059, 37195, 37194, 37325, 38274, 38480,
  8881. {f: 3, c: 38475}, [12207, 38754], [12208, 38761], [12209, 38859],
  8882. [12210, 38893], [12211, 38899], [12212, 38913], [12213, 39080],
  8883. [12214, 39131], [12215, 39135], [12216, 39318], [12217, 39321], 20056,
  8884. 20147, {f: 2, c: 20492}, 20515, 20463, 20518, 20517, 20472, [20521, 57375],
  8885. 20502, 20486, 20540, 20511, 20506, 20498, 20497, 20474, 20480, 20500,
  8886. 20520, 20465, 20513, 20491, 20505, 20504, 20467, 20462, 20525, 20522,
  8887. 20478, 20523, 20489, 20860, {f: 2, c: 20900}, 20898, 20941, 20940, 20934,
  8888. 20939, 21078, 21084, 21076, 21083, 21085, 21290, [21375, 57459], 21407,
  8889. 21405, 21471, 21736, 21776, 21761, 21815, 21756, 21733, 21746, 21766,
  8890. 21754, 21780, 21737, 21741, 21729, 21769, 21742, 21738, 21734, 21799,
  8891. 21767, 21757, 21775, {f: 2, c: 22275}, 22466, 22484, 22475, 22467, 22537,
  8892. 22799, {f: 2, c: 22871}, 22874, 23057, 23064, 23068, 23071, 23067, 23059,
  8893. 23020, 23072, 23075, 23081, 23077, 23052, 23049, 23403, 23640, 23472,
  8894. 23475, 23478, 23476, 23470, 23477, 23481, 23480, 23556, 23633, 23637,
  8895. 23632, 23789, 23805, 23803, 23786, 23784, 23792, 23798, 23809, 23796,
  8896. 24046, 24109, 24107, 24235, 24237, 24231, 24369, 24466, 24465, 24464,
  8897. 24665, 24675, 24677, 24656, 24661, 24685, 24681, 24687, 24708, 24735,
  8898. 24730, 24717, 24724, 24716, 24709, 24726, 25159, 25331, 25352, 25343,
  8899. 25422, 25406, 25391, 25429, 25410, 25414, 25423, 25417, 25402, 25424,
  8900. 25405, {f: 2, c: 25386}, 25384, 25421, 25420, {f: 2, c: 25928}, 26009,
  8901. 26049, 26053, 26178, 26185, 26191, 26179, 26194, 26188, 26181, 26177,
  8902. 26360, {f: 2, c: 26388}, 26391, 26657, 26680, 26696, 26694, 26707, 26681,
  8903. 26690, 26708, 26665, 26803, 26647, 26700, 26705, 26685, 26612, 26704,
  8904. 26688, 26684, 26691, 26666, 26693, 26643, 26648, 26689, 27530, 27529,
  8905. 27575, 27683, {f: 2, c: 27687}, 27686, 27684, 27888, 28010, 28053, 28040,
  8906. 28039, 28006, 28024, 28023, 27993, 28051, 28012, 28041, 28014, 27994,
  8907. 28020, 28009, 28044, 28042, 28025, 28037, 28005, 28052, 28874, 28888,
  8908. 28900, 28889, 28872, 28879, 29241, 29305, 29436, 29433, 29437, 29432,
  8909. 29431, 29574, 29677, 29705, 29678, 29664, 29674, 29662, 30036, 30045,
  8910. 30044, 30042, 30041, 30142, 30149, 30151, {f: 2, c: 30130}, 30141, 30140,
  8911. 30137, 30146, 30136, 30347, 30384, 30410, {f: 2, c: 30413}, 30505,
  8912. {f: 2, c: 30495}, 30504, 30697, 30768, 30759, 30776, 30749, 30772, 30775,
  8913. 30757, 30765, 30752, 30751, 30770, 31061, 31056, 31072, 31071, 31062,
  8914. 31070, 31069, 31063, 31066, 31204, [31203, 60418], 31207, 31199, 31206,
  8915. 31209, 31192, 31364, 31368, 31449, 31494, 31505, 31881, 32033, 32023,
  8916. 32011, 32010, 32032, 32034, 32020, 32016, 32021, 32026, 32028, 32013,
  8917. 32025, 32027, 32570, 32607, 32660, 32709, 32705, 32774, 32772, 32792,
  8918. 32789, 32793, 32791, 32829, 32831, 33009, 33026, 33008, 33029, 33005,
  8919. 33012, 33030, 33016, 33011, 33032, 33021, 33034, 33020, 33007, 33261,
  8920. 33260, 33280, 33296, {f: 2, c: 33322}, 33320, 33324, 33467, 33579, 33618,
  8921. 33620, 33610, 33592, 33616, 33609, 33589, 33588, 33615, 33586, 33593,
  8922. 33590, 33559, 33600, 33585, 33576, 33603, 34388, 34442, 34474, 34451,
  8923. 34468, 34473, 34444, 34467, 34460, 34928, 34935, {f: 2, c: 34945}, 34941,
  8924. 34937, 35352, 35344, 35342, 35340, 35349, 35338, 35351, 35347, 35350,
  8925. 35343, 35345, 35912, 35962, 35961, {f: 2, c: 36001}, [36215, 58442], 36524,
  8926. 36562, 36564, 36559, 36785, 36865, 36870, 36855, 36864, 36858, 36852,
  8927. 36867, 36861, 36869, 36856, 37013, 37089, 37085, 37090, 37202, 37197,
  8928. 37196, 37336, 37341, 37335, 37340, 37337, 38275, {f: 2, c: 38498}, 38497,
  8929. 38491, 38493, 38500, 38488, 38494, 38587, 39138, [12218, 39340],
  8930. [12219, 39592], [12220, 39640], [12222, 39717], [12224, 39730],
  8931. [12225, 39740], 20094, 20602, [20605, 57382], 20572, 20551, 20547, 20556,
  8932. 20570, 20553, 20581, 20598, 20558, 20565, 20597, 20596, 20599, 20559,
  8933. 20495, 20591, 20589, 20828, 20885, 20976, 21098, 21103, 21202, 21209,
  8934. 21208, 21205, 21264, 21263, 21273, {f: 2, c: 21311}, 21310, 21443, 26364,
  8935. 21830, 21866, 21862, 21828, 21854, 21857, 21827, 21834, 21809, 21846,
  8936. 21839, 21845, 21807, 21860, 21816, 21806, 21852, 21804, 21859, 21811,
  8937. 21825, 21847, 22280, 22283, 22281, 22495, 22533, 22538, 22534, 22496,
  8938. 22500, 22522, 22530, 22581, 22519, 22521, 22816, 22882, 23094, 23105,
  8939. 23113, 23142, 23146, 23104, 23100, 23138, 23130, 23110, 23114, 23408,
  8940. 23495, 23493, 23492, 23490, 23487, 23494, 23561, 23560, 23559, 23648,
  8941. {f: 2, c: 23644}, 23815, 23814, 23822, 23835, 23830, 23842, 23825, 23849,
  8942. 23828, 23833, 23844, 23847, 23831, 24034, 24120, 24118, 24115, 24119,
  8943. {f: 2, c: 24247}, 24246, 24245, 24254, 24373, 24375, 24407, 24428, 24425,
  8944. 24427, 24471, 24473, 24478, 24472, 24481, 24480, 24476, 24703, 24739,
  8945. 24713, 24736, 24744, 24779, 24756, 24806, 24765, 24773, 24763, 24757,
  8946. 24796, 24764, 24792, 24789, 24774, 24799, 24760, 24794, 24775,
  8947. {f: 2, c: 25114}, 25160, 25504, 25511, 25458, 25494, 25506, 25509, 25463,
  8948. 25447, 25496, 25514, 25457, 25513, 25481, 25475, 25499, 25451, 25512,
  8949. 25476, 25480, 25497, 25505, 25516, 25490, 25487, 25472, 25467, 25449,
  8950. 25448, 25466, 25949, 25942, 25937, 25945, 25943, 21855, 25935, 25944,
  8951. 25941, 25940, 26012, 26011, 26028, 26063, {f: 2, c: 26059}, 26062, 26205,
  8952. 26202, 26212, 26216, 26214, 26206, 26361, 21207, 26395, 26753, 26799,
  8953. 26786, 26771, 26805, 26751, 26742, 26801, 26791, 26775, 26800, 26755,
  8954. 26820, 26797, 26758, 26757, 26772, 26781, 26792, 26783, 26785, 26754,
  8955. 27442, 27578, {f: 2, c: 27627}, 27691, 28046, 28092, 28147, 28121, 28082,
  8956. 28129, 28108, 28132, 28155, 28154, 28165, 28103, 28107, 28079, 28113,
  8957. 28078, 28126, 28153, 28088, 28151, 28149, 28101, 28114, 28186, 28085,
  8958. 28122, 28139, 28120, 28138, 28145, 28142, 28136, 28102, 28100, 28074,
  8959. 28140, 28095, 28134, 28921, {f: 2, c: 28937}, 28925, 28911, 29245, 29309,
  8960. 29313, 29468, 29467, 29462, 29459, 29465, 29575, 29701, 29706, 29699,
  8961. 29702, 29694, 29709, 29920, {f: 2, c: 29942}, 29980, 29986,
  8962. {f: 2, c: 30053}, 30050, 30064, 30095, {f: 2, c: 30164}, 30133, 30154,
  8963. 30157, 30350, 30420, 30418, 30427, 30519, 30526, 30524, 30518, 30520,
  8964. 30522, 30827, 30787, 30798, 31077, 31080, 31085, 31227, 31378, 31381,
  8965. 31520, 31528, 31515, 31532, 31526, 31513, 31518, 31534, 31890, 31895,
  8966. 31893, 32070, 32067, 32113, 32046, 32057, 32060, 32064, 32048, 32051,
  8967. 32068, 32047, 32066, 32050, 32049, 32573, 32670, 32666, 32716, 32718,
  8968. 32722, 32796, 32842, 32838, 33071, 33046, 33059, 33067, 33065, 33072,
  8969. 33060, 33282, 33333, 33335, 33334, 33337, 33678, 33694, 33688, 33656,
  8970. 33698, 33686, 33725, 33707, 33682, 33674, 33683, 33673, 33696, 33655,
  8971. {f: 2, c: 33659}, 33670, 33703, 34389, 24426, 34503, 34496, 34486, 34500,
  8972. 34485, 34502, 34507, 34481, 34479, 34505, 34899, 34974, 34952, 34987,
  8973. 34962, 34966, 34957, 34955, 35219, 35215, 35370, 35357, 35363, 35365,
  8974. 35377, 35373, 35359, 35355, 35362, 35913, 35930, 36009, 36012, 36011,
  8975. 36008, 36010, 36007, 36199, 36198, 36286, 36282, 36571, 36575, 36889,
  8976. 36877, 36890, 36887, 36899, 36895, 36893, 36880, 36885, 36894, 36896,
  8977. 36879, 36898, 36886, 36891, 36884, 37096, 37101, [37117, 58488], 37207,
  8978. 37326, 37365, 37350, 37347, 37351, 37357, 37353, 38281, 38506, 38517,
  8979. 38515, 38520, 38512, 38516, {f: 2, c: 38518}, 38508, 38592, 38634, 38633,
  8980. 31456, 31455, {f: 2, c: 38914}, [12226, 39770], [12227, 40165],
  8981. [12228, 40565], [12229, 40575], [12230, 40613], [12231, 40635], 20642,
  8982. 20621, 20613, 20633, 20625, 20608, 20630, 20632, 20634, 26368, 20977,
  8983. 21106, {f: 2, c: 21108}, 21097, 21214, 21213, 21211, 21338, 21413, 21883,
  8984. 21888, 21927, 21884, 21898, 21917, 21912, 21890, 21916, 21930, 21908,
  8985. 21895, 21899, 21891, 21939, 21934, 21919, 21822, 21938, 21914, 21947,
  8986. 21932, 21937, 21886, 21897, 21931, 21913, 22285, 22575, 22570, 22580,
  8987. 22564, {f: 2, c: 22576}, 22561, 22557, 22560, {f: 2, c: 22777}, 22880,
  8988. [23159, 57587], 23194, 23167, 23186, 23195, 23207, 23411, 23409, 23506,
  8989. 23500, 23507, 23504, {f: 2, c: 23562}, 23601, 23884, 23888, 23860, 23879,
  8990. 24061, 24133, 24125, 24128, 24131, 24190, 24266, {f: 2, c: 24257}, 24260,
  8991. 24380, 24429, {f: 2, c: 24489}, 24488, 24785, 24801, 24754, 24758, 24800,
  8992. 24860, 24867, 24826, 24853, 24816, 24827, 24820, 24936, 24817, 24846,
  8993. 24822, 24841, 24832, 24850, 25119, 25161, 25507, 25484, 25551, 25536,
  8994. 25577, 25545, 25542, 25549, 25554, 25571, 25552, 25569, 25558,
  8995. {f: 2, c: 25581}, 25462, 25588, 25578, 25563, 25682, 25562, 25593, 25950,
  8996. 25958, {f: 2, c: 25954}, 26001, 26000, 26031, 26222, 26224, [26228, 57786],
  8997. 26230, 26223, 26257, 26234, 26238, 26231, {f: 2, c: 26366}, 26399, 26397,
  8998. 26874, 26837, 26848, 26840, 26839, 26885, 26847, 26869, 26862, 26855,
  8999. 26873, 26834, 26866, 26851, 26827, 26829, 26893, 26898, 26894, 26825,
  9000. 26842, 26990, 26875, 27454, 27450, 27453, 27544, 27542, 27580, 27631,
  9001. {f: 2, c: 27694}, 27692, [28207, 57904], 28216, 28244, 28193, 28210, 28263,
  9002. 28234, 28192, 28197, 28195, 28187, 28251, 28248, 28196, 28246, 28270,
  9003. 28205, 28198, 28271, 28212, 28237, 28218, 28204, 28227, [28189, 57901],
  9004. 28222, 28363, 28297, 28185, 28238, 28259, 28228, 28274, 28265, 28255,
  9005. {f: 2, c: 28953}, 28966, 28976, 28961, 28982, [29038, 57958], 28956, 29260,
  9006. 29316, 29312, 29494, 29477, 29492, 29481, 29754, 29738, 29747, 29730,
  9007. 29733, {f: 2, c: 29749}, 29748, 29743, 29723, 29734, 29736,
  9008. {f: 2, c: 29989}, 30059, 30058, 30178, 30171, 30179, 30169, 30168, 30174,
  9009. 30176, {f: 2, c: 30331}, 30358, 30355, 30388, 30428, 30543, 30701, 30813,
  9010. 30828, 30831, 31245, 31240, 31243, 31237, 31232, 31384, 31383, 31382,
  9011. 31461, 31459, 31561, 31574, 31558, 31568, 31570, 31572, 31565, 31563,
  9012. 31567, [31569, 60510], 31903, 31909, 32094, 32080, 32104, 32085, 32043,
  9013. 32110, 32114, 32097, 32102, 32098, 32112, 32115, 21892, {f: 2, c: 32724},
  9014. 32779, 32850, 32901, 33109, 33108, 33099, 33105, 33102, 33081, 33094,
  9015. 33086, 33100, 33107, 33140, 33298, 33308, 33769, 33795, 33784, 33805,
  9016. 33760, 33733, 33803, [33729, 58309], 33775, 33777, 33780, 33879, 33802,
  9017. 33776, 33804, 33740, 33789, 33778, 33738, 33848, 33806, 33796, 33756,
  9018. 33799, 33748, 33759, 34395, 34527, 34521, 34541, 34516, 34523, 34532,
  9019. 34512, 34526, 34903, {f: 2, c: 35009}, 34993, 35203, 35222, 35387, 35424,
  9020. 35413, 35422, 35388, 35393, 35412, 35419, 35408, 35398, 35380, 35386,
  9021. 35382, 35414, 35937, 35970, 36015, 36028, 36019, 36029, 36033, 36027,
  9022. 36032, 36020, 36023, 36022, 36031, 36024, 36234, 36229, 36225, 36302,
  9023. 36317, 36299, 36314, 36305, 36300, 36315, 36294, 36603, 36600, 36604,
  9024. 36764, 36910, 36917, 36913, 36920, 36914, 36918, 37122, 37109, 37129,
  9025. 37118, 37219, 37221, 37327, {f: 2, c: 37396}, 37411, 37385, 37406, 37389,
  9026. 37392, 37383, 37393, 38292, 38287, 38283, 38289, 38291, 38290, 38286,
  9027. 38538, 38542, 38539, 38525, {f: 2, c: 38533}, 38541, 38514, 38532, 38593,
  9028. 38597, 38596, {f: 2, c: 38598}, 38639, 38642, 38860, {f: 2, c: 38917},
  9029. 38920, 39143, 39146, 39151, 39145, 39154, 39149, 39342, 39341,
  9030. [12232, 40643], [12233, 40653], [12234, 40657], 20098, 20653, 20661,
  9031. {f: 2, c: 20658}, 20677, 20670, 20652, 20663, 20667, 20655, 20679, 21119,
  9032. 21111, 21117, 21215, 21222, 21220, {f: 2, c: 21218}, 21295, 21983, 21992,
  9033. 21971, 21990, 21966, 21980, 21959, 21969, {f: 2, c: 21987}, 21999, 21978,
  9034. 21985, {f: 2, c: 21957}, 21989, 21961, {f: 2, c: 22290}, 22622, 22609,
  9035. 22616, 22615, 22618, 22612, 22635, 22604, 22637, 22602, 22626, 22610,
  9036. 22603, 22887, 23233, 23241, 23244, 23230, 23229, 23228, 23219, 23234,
  9037. 23218, 23913, 23919, 24140, 24185, 24265, 24264, 24338, 24409, 24492,
  9038. 24494, 24858, 24847, 24904, 24863, 24819, 24859, 24825, 24833, 24840,
  9039. 24910, 24908, 24900, 24909, 24894, 24884, 24871, 24845, 24838, 24887,
  9040. {f: 2, c: 25121}, 25619, 25662, 25630, 25642, 25645, 25661, 25644, 25615,
  9041. 25628, 25620, 25613, 25654, {f: 2, c: 25622}, 25606, 25964, 26015, 26032,
  9042. 26263, 26249, {f: 2, c: 26247}, 26262, 26244, 26264, 26253, 26371, 27028,
  9043. 26989, 26970, 26999, 26976, 26964, 26997, 26928, 27010, 26954, 26984,
  9044. 26987, 26974, 26963, 27001, 27014, 26973, 26979, 26971, 27463, 27506,
  9045. 27584, 27583, 27603, 27645, 28322, 28335, 28371, 28342, 28354, 28304,
  9046. 28317, 28359, 28357, 28325, 28312, 28348, 28346, 28331, 28369, 28310,
  9047. 28316, 28356, 28372, 28330, 28327, 28340, 29006, 29017, 29033, 29028,
  9048. 29001, 29031, 29020, 29036, 29030, 29004, 29029, 29022, 28998, 29032,
  9049. 29014, 29242, 29266, 29495, 29509, 29503, 29502, 29807, 29786, 29781,
  9050. 29791, 29790, 29761, 29759, 29785, 29787, [29788, 58019], 30070, 30072,
  9051. 30208, 30192, 30209, 30194, 30193, 30202, 30207, 30196, 30195,
  9052. {f: 2, c: 30430}, 30555, 30571, 30566, 30558, 30563, 30585, 30570, 30572,
  9053. 30556, 30565, 30568, 30562, 30702, 30862, 30896, {f: 2, c: 30871}, 30860,
  9054. 30857, 30844, 30865, 30867, 30847, 31098, 31103, 31105, 33836, 31165,
  9055. 31260, 31258, 31264, 31252, 31263, 31262, {f: 2, c: 31391}, 31607, 31680,
  9056. 31584, 31598, 31591, 31921, 31923, 31925, 32147, 32121, 32145, 32129,
  9057. 32143, 32091, 32622, {f: 2, c: 32617}, 32626, 32681, 32680, 32676, 32854,
  9058. 32856, 32902, 32900, 33137, 33136, 33144, 33125, 33134, 33139, 33131,
  9059. {f: 2, c: 33145}, 33126, 33285, 33351, 33922, 33911, 33853, 33841, 33909,
  9060. 33894, 33899, 33865, 33900, 33883, 33852, 33845, 33889, 33891, 33897,
  9061. 33901, 33862, 34398, 34396, 34399, 34553, 34579, 34568, 34567, 34560,
  9062. 34558, 34555, {f: 2, c: 34562}, 34566, 34570, 34905, 35039, 35028, 35033,
  9063. 35036, 35032, 35037, 35041, 35018, 35029, 35026, 35228, 35299, 35435,
  9064. {f: 2, c: 35442}, 35430, 35433, 35440, 35463, 35452, 35427, 35488, 35441,
  9065. 35461, 35437, 35426, 35438, 35436, 35449, 35451, 35390, 35432, 35938,
  9066. 35978, 35977, 36042, {f: 2, c: 36039}, 36036, 36018, 36035, 36034, 36037,
  9067. 36321, 36319, 36328, 36335, 36339, 36346, 36330, 36324, 36326, 36530,
  9068. 36611, 36617, 36606, 36618, 36767, 36786, 36939, 36938, 36947, 36930,
  9069. 36948, 36924, 36949, 36944, 36935, 36943, 36942, 36941, 36945, 36926,
  9070. 36929, 37138, 37143, 37228, 37226, 37225, 37321, 37431, 37463, 37432,
  9071. 37437, 37440, 37438, 37467, 37451, 37476, 37457, 37428, 37449, 37453,
  9072. 37445, 37433, 37439, 37466, 38296, 38552, {f: 2, c: 38548}, 38605, 38603,
  9073. {f: 2, c: 38601}, 38647, 38651, 38649, 38646, 38742, 38772, 38774,
  9074. {f: 2, c: 38928}, 38931, 38922, 38930, 38924, 39164, 39156,
  9075. {f: 2, c: 39165}, 39347, 39345, 39348, 39649, 40169, 40578, [12237, 40718],
  9076. [12238, 40723], [12239, 40736], 20711, 20718, 20709, 20694, [20717, 60903],
  9077. 20698, 20693, 20687, 20689, 20721, 20686, 20713, 20834, 20979, 21123,
  9078. 21122, 21297, 21421, 22014, 22016, 22043, 22039, 22013, 22036, 22022,
  9079. 22025, {f: 2, c: 22029}, 22007, 22038, 22047, 22024, 22032, 22006, 22296,
  9080. 22294, 22645, 22654, 22659, 22675, 22666, 22649, 22661, 22653, 22781,
  9081. 22821, 22818, 22820, 22890, 22889, 23265, 23270, 23273, 23255, 23254,
  9082. 23256, 23267, 23413, 23518, 23527, 23521, {f: 2, c: 23525}, 23528, 23522,
  9083. 23524, 23519, 23565, 23650, 23940, 23943, 24155, 24163, 24149, 24151,
  9084. 24148, 24275, 24278, 24330, 24390, 24432, 24505, 24903, 24895, 24907,
  9085. 24951, {f: 2, c: 24930}, 24927, 24922, 24920, 24949, 25130, 25735, 25688,
  9086. 25684, 25764, 25720, 25695, 25722, 25681, 25703, 25652, 25709, 25723,
  9087. 25970, 26017, 26071, 26070, 26274, 26280, 26269, 27036, 27048, 27029,
  9088. 27073, 27054, 27091, 27083, 27035, 27063, 27067, 27051, 27060, 27088,
  9089. 27085, 27053, 27084, 27046, 27075, 27043, 27465, 27468, 27699, 28467,
  9090. 28436, 28414, 28435, 28404, 28457, 28478, 28448, 28460, 28431, 28418,
  9091. 28450, 28415, 28399, 28422, 28465, 28472, 28466, 28451, 28437, 28459,
  9092. 28463, 28552, 28458, 28396, 28417, 28402, 28364, 28407, 29076, 29081,
  9093. 29053, 29066, 29060, 29074, 29246, 29330, 29334, 29508, 29520, 29796,
  9094. 29795, 29802, 29808, 29805, 29956, 30097, 30247, 30221, 30219, 30217,
  9095. 30227, 30433, 30435, 30596, 30589, 30591, 30561, 30913, 30879, 30887,
  9096. 30899, 30889, 30883, {f: 2, c: 31118}, 31117, 31278, 31281, 31402, 31401,
  9097. 31469, 31471, 31649, 31637, 31627, 31605, 31639, 31645, 31636, 31631,
  9098. [31672, 58170], 31623, 31620, 31929, {f: 2, c: 31933}, 32187, 32176, 32156,
  9099. {f: 2, c: 32189}, 32160, 32202, 32180, 32178, 32177, 32186, 32162, 32191,
  9100. 32181, 32184, 32173, [32210, 58202], 32199, 32172, 32624, {f: 2, c: 32736},
  9101. 32735, 32862, 32858, 32903, 33104, 33152, 33167, 33160, 33162, 33151,
  9102. 33154, 33255, 33274, 33287, 33300, 33310, 33355, 33993, 33983, 33990,
  9103. 33988, 33945, 33950, 33970, 33948, 33995, 33976, 33984, 34003, 33936,
  9104. 33980, 34001, 33994, 34623, 34588, 34619, 34594, 34597, 34612, 34584,
  9105. 34645, 34615, 34601, 35059, 35074, 35060, 35065, 35064, 35069, 35048,
  9106. 35098, 35055, 35494, 35468, 35486, 35491, 35469, 35489, 35475, 35492,
  9107. 35498, 35493, 35496, 35480, 35473, 35482, 35495, 35946, 35981, 35980,
  9108. 36051, {f: 2, c: 36049}, 36203, 36249, 36245, 36348, 36628, 36626, 36629,
  9109. 36627, 36771, 36960, 36952, 36956, 36963, 36953, 36958, 36962, 36957,
  9110. 36955, 37145, 37144, 37150, 37237, 37240, 37239, 37236, 37496, 37548,
  9111. 37504, 37509, 37528, 37526, 37499, 37523, 37532, 37544, 37500, 37521,
  9112. 38305, {f: 2, c: 38312}, 38307, 38309, 38308, 38553, 38556, 38555, 38604,
  9113. 38610, 38656, 38780, 38789, 38902, {f: 2, c: 38935}, 39087, 39089, 39171,
  9114. 39173, 39180, 39177, 39361, {f: 2, c: 39599}, 39654, {f: 2, c: 39745},
  9115. 40180, 40182, 40179, 40636, [12240, 40763], [12241, 40778], 20740, 20736,
  9116. 20731, 20725, 20729, 20738, {f: 2, c: 20744}, 20741, 20956,
  9117. {f: 3, c: 21127}, 21133, 21130, 21232, 21426, 22062, 22075, 22073, 22066,
  9118. 22079, 22068, 22057, 22099, 22094, 22103, 22132, 22070, {f: 2, c: 22063},
  9119. 22656, 22687, 22686, 22707, 22684, 22702, 22697, 22694, 22893, 23305,
  9120. 23291, 23307, 23285, 23308, 23304, 23534, 23532, 23529, 23531,
  9121. {f: 2, c: 23652}, 23965, 23956, 24162, 24159, 24161, 24290, 24282, 24287,
  9122. 24285, 24291, 24288, 24392, 24433, 24503, 24501, 24950, 24935, 24942,
  9123. 24925, 24917, 24962, 24956, 24944, 24939, 24958, 24999, 24976, 25003,
  9124. 24974, 25004, 24986, 24996, 24980, 25006, 25134, 25705, 25711, 25721,
  9125. 25758, 25778, 25736, [25744, 57745], 25776, 25765, 25747, 25749, 25769,
  9126. 25746, 25774, 25773, 25771, 25754, 25772, 25753, 25762, 25779, 25973,
  9127. {f: 2, c: 25975}, 26286, 26283, 26292, 26289, 27171, 27167, 27112, 27137,
  9128. 27166, 27161, 27133, 27169, 27155, 27146, 27123, 27138, 27141, 27117,
  9129. 27153, 27472, 27470, 27556, {f: 2, c: 27589}, 28479, 28540, 28548, 28497,
  9130. 28518, 28500, 28550, 28525, 28507, 28536, 28526, 28558, 28538, 28528,
  9131. 28516, 28567, 28504, 28373, 28527, 28512, 28511, 29087, 29100, 29105,
  9132. 29096, 29270, 29339, 29518, 29527, 29801, 29835, 29827, 29822, 29824,
  9133. 30079, 30240, 30249, 30239, 30244, 30246, {f: 2, c: 30241}, 30362, 30394,
  9134. 30436, 30606, 30599, 30604, 30609, 30603, 30923, 30917, 30906, 30922,
  9135. 30910, 30933, 30908, 30928, 31295, 31292, 31296, 31293, 31287, 31291,
  9136. 31407, 31406, 31661, 31665, 31684, 31668, {f: 2, c: 31686}, 31681, 31648,
  9137. 31692, 31946, 32224, 32244, 32239, 32251, 32216, 32236, 32221, 32232,
  9138. 32227, 32218, 32222, 32233, 32158, 32217, 32242, 32249, 32629, 32631,
  9139. 32687, 32745, 32806, {f: 3, c: 33179}, 33184, 33178, 33176, 34071, 34109,
  9140. 34074, 34030, {f: 2, c: 34092}, 34067, 34065, 34083, 34081, 34068, 34028,
  9141. 34085, 34047, 34054, 34690, 34676, 34678, 34656, 34662, 34680, 34664,
  9142. 34649, 34647, 34636, 34643, 34907, 34909, 35088, 35079, {f: 2, c: 35090},
  9143. 35093, 35082, 35516, 35538, 35527, 35524, 35477, 35531, 35576, 35506,
  9144. 35529, 35522, 35519, 35504, 35542, 35533, 35510, 35513, 35547, 35916,
  9145. 35918, 35948, 36064, 36062, 36070, 36068, {f: 2, c: 36076},
  9146. {f: 2, c: 36066}, 36060, 36074, 36065, 36205, 36255, 36259, 36395, 36368,
  9147. 36381, 36386, 36367, 36393, 36383, 36385, 36382, 36538, 36637, 36635,
  9148. 36639, 36649, 36646, 36650, 36636, 36638, 36645, 36969, 36974, 36968,
  9149. 36973, 36983, 37168, 37165, 37159, 37169, 37255, 37257, 37259, 37251,
  9150. 37573, 37563, 37559, 37610, 37604, 37569, 37555, 37564, 37586, 37575,
  9151. 37616, 37554, 38317, 38321, 38660, {f: 2, c: 38662}, 38665, 38752, 38797,
  9152. 38795, 38799, 38945, 38955, 38940, 39091, 39178, 39187, 39186, 39192,
  9153. 39389, 39376, 39391, 39387, 39377, 39381, 39378, 39385, 39607,
  9154. {f: 2, c: 39662}, 39719, 39749, 39748, 39799, 39791, 40198, 40201, 40195,
  9155. 40617, 40638, 40654, 22696, [12242, 40786], 20754, 20760, 20756, 20752,
  9156. 20757, 20864, 20906, 20957, 21137, 21139, 21235, 22105, 22123, 22137,
  9157. 22121, 22116, 22136, 22122, 22120, 22117, 22129, 22127, 22124, 22114,
  9158. 22134, 22721, 22718, 22727, 22725, 22894, 23325, 23348, 23416, 23536,
  9159. 23566, 24394, 25010, 24977, 25001, 24970, 25037, 25014, 25022, 25034,
  9160. 25032, 25136, 25797, 25793, 25803, {f: 2, c: 25787}, 25818, 25796, 25799,
  9161. 25794, 25805, 25791, 25810, 25812, 25790, 25972, 26310, 26313, 26297,
  9162. 26308, 26311, 26296, 27197, 27192, 27194, 27225, 27243, 27224, 27193,
  9163. 27204, 27234, 27233, 27211, 27207, 27189, 27231, 27208, 27481, 27511,
  9164. 27653, 28610, 28593, 28577, 28611, 28580, 28609, 28583, 28595, 28608,
  9165. 28601, [28598, 60318], 28582, 28576, 28596, 29118, 29129, 29136, 29138,
  9166. 29128, 29141, 29113, 29134, 29145, 29148, {f: 2, c: 29123}, 29544, 29852,
  9167. 29859, 29848, 29855, 29854, 29922, {f: 2, c: 29964}, 30260, 30264, 30266,
  9168. 30439, 30437, 30624, {f: 2, c: 30622}, 30629, 30952, 30938, 30956, 30951,
  9169. 31142, {f: 2, c: 31309}, 31302, 31308, 31307, 31418, 31705, 31761, 31689,
  9170. 31716, 31707, 31713, 31721, 31718, {f: 2, c: 31957}, 32266, 32273, 32264,
  9171. 32283, 32291, 32286, [32285, 58211], 32265, 32272, 32633, 32690,
  9172. {f: 2, c: 32752}, 32750, [32808, 58239], 33203, 33193, 33192, 33275, 33288,
  9173. {f: 2, c: 33368}, 34122, 34137, 34120, {f: 2, c: 34152}, 34115, 34121,
  9174. 34157, 34154, 34142, 34691, 34719, 34718, 34722, 34701, 34913, 35114,
  9175. 35122, 35109, 35115, 35105, 35242, [35238, 58391], 35558, 35578, 35563,
  9176. 35569, 35584, 35548, 35559, 35566, 35582, {f: 2, c: 35585}, 35575, 35565,
  9177. 35571, 35574, 35580, 35947, 35949, 35987, 36084, 36420, 36401, 36404,
  9178. 36418, 36409, 36405, 36667, 36655, 36664, 36659, 36776, 36774, 36981,
  9179. 36980, 36984, 36978, 36988, 36986, 37172, 37266, 37664, 37686, 37624,
  9180. 37683, 37679, 37666, 37628, 37675, 37636, 37658, 37648, 37670, 37665,
  9181. 37653, 37678, 37657, 38331, {f: 2, c: 38567}, 38570, 38613, 38670, 38673,
  9182. 38678, 38669, 38675, 38671, 38747, [38748, 58565], 38758, 38808, 38960,
  9183. 38968, 38971, 38967, 38957, 38969, 38948, 39184, 39208, 39198, 39195,
  9184. 39201, 39194, 39405, 39394, 39409, 39608, 39612, 39675, 39661, 39720,
  9185. 39825, 40213, 40227, 40230, 40232, 40210, 40219, 40664, 40660,
  9186. [12243, 40845], [12244, 40860], 20778, 20767, 20769, 20786, 21237, 22158,
  9187. 22144, 22160, 22149, 22151, 22159, 22741, 22739, 22737, 22734, 23344,
  9188. 23338, 23332, 23418, 23607, 23656, 23996, 23994, 23997, 23992, 24171,
  9189. 24396, 24509, 25033, 25026, 25031, 25062, 25035, 25138, 25140, 25806,
  9190. 25802, 25816, 25824, 25840, 25830, 25836, 25841, 25826, 25837,
  9191. {f: 2, c: 25986}, 26329, 26326, 27264, 27284, 27268, 27298, 27292, 27355,
  9192. 27299, 27262, 27287, 27280, 27296, 27484, 27566, 27610, 27656, 28632,
  9193. 28657, {f: 2, c: 28639}, 28635, 28644, 28651, 28655, 28544, 28652, 28641,
  9194. 28649, 28629, 28654, 28656, 29159, [29151, 60361], 29166, 29158, 29157,
  9195. 29165, 29164, 29172, 29152, 29237, 29254, 29552, 29554, 29865, 29872,
  9196. 29862, 29864, 30278, 30274, 30284, 30442, 30643, 30634, 30640, 30636,
  9197. 30631, 30637, 30703, 30967, 30970, 30964, 30959, 30977, 31143, 31146,
  9198. 31319, 31423, 31751, 31757, 31742, 31735, 31756, 31712, 31968, 31964,
  9199. 31966, 31970, 31967, 31961, 31965, 32302, 32318, 32326, 32311, 32306,
  9200. 32323, 32299, 32317, 32305, 32325, 32321, 32308, 32313, 32328, 32309,
  9201. 32319, 32303, 32580, 32755, 32764, {f: 2, c: 32881}, 32880, 32879, 32883,
  9202. 33222, 33219, 33210, 33218, 33216, 33215, 33213, 33225, 33214, 33256,
  9203. 33289, 33393, 34218, 34180, 34174, 34204, 34193, 34196, 34223, 34203,
  9204. 34183, 34216, 34186, 34214, 34407, 34752, 34769, 34739, 34770, 34758,
  9205. 34731, 34747, 34746, 34760, 34763, 35131, 35126, 35140, 35128, 35133,
  9206. 35244, 35598, 35607, 35609, 35611, 35594, 35616, 35613, 35588, 35600,
  9207. 35905, 35903, 35955, 36090, 36093, 36092, 36088, 36091, 36264, 36425,
  9208. 36427, 36424, 36426, 36676, 36670, 36674, 36677, 36671, 36991, 36989,
  9209. 36996, {f: 2, c: 36993}, 36992, 37177, 37283, 37278, 37276, 37709, 37762,
  9210. 37672, 37749, 37706, 37733, 37707, 37656, 37758, 37740, 37723, 37744,
  9211. 37722, 37716, {f: 3, c: 38346}, 38344, 38342, 38577, 38584, 38614, 38684,
  9212. 38686, 38816, 38867, 38982, 39094, 39221, 39425, 39423, 39854, 39851,
  9213. 39850, 39853, 40251, 40255, 40587, 40655, 40670, {f: 2, c: 40668}, 40667,
  9214. 40766, 40779, 21474, 22165, 22190, 22745, 22744, 23352, 24413, 25059,
  9215. 25139, 25844, 25842, 25854, 25862, {f: 2, c: 25850}, 25847, 26039, 26332,
  9216. 26406, 27315, 27308, 27331, 27323, 27320, 27330, {f: 2, c: 27310}, 27487,
  9217. 27512, 27567, 28681, 28683, 28670, 28678, 28666, 28689, 28687,
  9218. {f: 2, c: 29179}, 29182, 29176, 29559, 29557, 29863, 29887, 29973, 30294,
  9219. 30296, 30290, 30653, 30655, {f: 2, c: 30651}, 30990, 31150,
  9220. {f: 2, c: 31329}, 31328, {f: 2, c: 31428}, 31787, 31783, 31786, 31774,
  9221. 31779, 31777, 31975, {f: 2, c: 32340}, 32350, 32346, 32353, 32338, 32345,
  9222. 32584, 32761, 32763, 32887, 32886, 33229, 33231, 33290, 34255, 34217,
  9223. 34253, 34256, 34249, 34224, 34234, 34233, 34799, 34796, 34802, 34784,
  9224. 35206, 35250, 35316, 35624, 35641, 35628, 35627, 35920, 36101, 36441,
  9225. 36451, 36454, 36452, 36447, 36437, 36544, 36681, 36685, 36999, 36995,
  9226. 37000, {f: 2, c: 37291}, 37328, 37780, 37770, 37782, 37794, 37811, 37806,
  9227. 37804, 37808, 37784, 37786, 37783, 38356, 38358, 38352, 38357, 38626,
  9228. 38620, 38617, 38619, 38622, 38692, 38819, 38822, 38829, 38905, 38989,
  9229. 38991, 38988, 38990, 38995, 39098, {f: 2, c: 39230}, 39229, 39214, 39333,
  9230. 39438, 39617, 39683, 39686, 39759, 39758, 39757, 39882, 39881, 39933,
  9231. 39880, 39872, 40273, 40285, 40288, 40672, 40725, 40748, 20787, 22181,
  9232. 22184, {f: 2, c: 22750}, 22754, 23541, 40848, 24300, 25074, 25079, 25078,
  9233. 25077, 25856, 25871, 26336, 26333, 27365, 27357, 27354, 27347, 28699,
  9234. 28703, 28712, 28698, 28701, 28693, 28696, 29190, 29197, 29272, 29346,
  9235. 29560, 29562, 29885, 29898, 29923, 30087, 30086, 30303, 30305, 30663,
  9236. 31001, 31153, 31339, 31337, {f: 2, c: 31806}, 31800, 31805, 31799, 31808,
  9237. 32363, 32365, 32377, {f: 2, c: 32361}, 32371, 32645, 32694, 32697, 32696,
  9238. 33240, 34281, 34269, 34282, 34261, {f: 2, c: 34276}, 34295, 34811, 34821,
  9239. 34829, 34809, 34814, 35168, 35167, 35158, 35166, 35649, 35676, 35672,
  9240. 35657, 35674, {f: 2, c: 35662}, 35654, 35673, 36104, 36106, 36476, 36466,
  9241. 36487, 36470, 36460, 36474, 36468, 36692, 36686, 36781, {f: 2, c: 37002},
  9242. 37297, 37294, 37857, 37841, 37855, 37827, 37832, {f: 2, c: 37852}, 37846,
  9243. 37858, 37837, 37848, 37860, 37847, 37864, 38364, 38580, 38627, 38698,
  9244. 38695, 38753, 38876, 38907, 39006, 39000, 39003, 39100, 39237, 39241,
  9245. 39446, 39449, 39693, 39912, 39911, 39894, 39899, 40329, 40289, 40306,
  9246. 40298, 40300, 40594, 40599, 40595, 40628, 21240, 22199, 22198, 22196,
  9247. 22204, 22756, 23360, 23363, 23421, 23542, 24009, 25080, 25082, 25880,
  9248. 25876, 25881, 26342, 26407, 27372, 28734, 28720, 28722, 29200, 29563,
  9249. 29903, 30306, 30309, 31014, 31018, 31020, 31019, 31431, 31478, 31820,
  9250. 31811, 31821, {f: 2, c: 31983}, 36782, 32381, 32380, 32386, 32588, 32768,
  9251. 33242, 33382, 34299, 34297, 34321, 34298, 34310, 34315, 34311, 34314,
  9252. {f: 2, c: 34836}, 35172, 35258, 35320, 35696, 35692, 35686, 35695, 35679,
  9253. 35691, 36111, 36109, 36489, 36481, 36485, 36482, 37300, 37323, 37912,
  9254. 37891, 37885, 38369, 38704, 39108, 39250, 39249, 39336, 39467, 39472,
  9255. 39479, 39477, 39955, 39949, 40569, 40629, 40680, 40751, 40799, 40803,
  9256. 40801, {f: 2, c: 20791}, 22209, 22208, 22210, 22804, 23660, 24013, 25084,
  9257. 25086, 25885, 25884, 26005, 26345, 27387, 27396, 27386, 27570, 28748,
  9258. 29211, 29351, 29910, 29908, 30313, 30675, 31824, 32399, 32396, 32700,
  9259. 34327, 34349, 34330, 34851, 34850, 34849, 34847, 35178, 35180, 35261,
  9260. 35700, 35703, 35709, 36115, 36490, 36493, 36491, 36703, 36783, 37306,
  9261. 37934, 37939, 37941, 37946, 37944, 37938, 37931, 38370, {f: 2, c: 38712},
  9262. 38706, [38911, 58586], 39015, 39013, 39255, 39493, 39491, 39488, 39486,
  9263. 39631, 39764, 39761, 39981, 39973, 40367, 40372, 40386, 40376, 40605,
  9264. 40687, 40729, 40796, {f: 2, c: 40806}, 20796, 20795, 22216, 22218, 22217,
  9265. 23423, 24020, 24018, 24398, 25087, 25892, 27402, 27489, 28753, 28760,
  9266. 29568, 29924, 30090, 30318, 30316, 31155, 31840, 31839, 32894, 32893,
  9267. 33247, 35186, 35183, 35324, 35712, {f: 2, c: 36118}, 36497, 36499, 36705,
  9268. 37192, 37956, {f: 2, c: 37969}, {f: 2, c: 38717}, 38851, 38849, 39019,
  9269. 39253, 39509, 39501, 39634, 39706, 40009, 39985, 39998, 39995, 40403,
  9270. 40407, 40756, 40812, 40810, 40852, 22220, 24022, 25088, 25891, 25899,
  9271. 25898, 26348, 27408, 29914, 31434, 31844, 31843, 31845, 32403, 32406,
  9272. 32404, 33250, 34360, 34367, 34865, 35722, 37008, 37007, 37987, 37984,
  9273. 37988, 38760, 39023, 39260, {f: 2, c: 39514}, 39511, {f: 2, c: 39635},
  9274. 39633, 40020, 40023, 40022, 40421, 40607, 40692, 22225, 22761, 25900,
  9275. 28766, {f: 2, c: 30321}, [30679, 60226], 32592, 32648, 34870, 34873, 34914,
  9276. 35731, 35730, 35734, 33399, 36123, 37312, 37994, 38722, 38728, 38724,
  9277. 38854, 39024, 39519, 39714, 39768, 40031, {f: 2, c: 40441},
  9278. {f: 2, c: 40572}, 40711, 40823, 40818, 24307, 27414, 28771, 31852, 31854,
  9279. 34875, 35264, 36513, 37313, 38002, 38000, 39025, 39262, 39638, 39715,
  9280. 40652, 28772, 30682, 35738, 38007, 38857, 39522, 39525, 32412, 35740,
  9281. 36522, 37317, {f: 2, c: 38013}, 38012, {f: 2, c: 40055}, 40695, 35924,
  9282. 38015, 40474, 29224, 39530, 39729, 40475, 40478, 31858, 20034, 20060,
  9283. [12048, 20981], [12053, 21274], [12058, 21378], 19975, 19980, 20039, 20109,
  9284. [12062, 22231], [12076, 23662], [12091, 24435], 19983, 20871, 19982, 20014,
  9285. 20115, 20162, 20169, 20168, 20888, 21244, 21356, 21433, 22304, 22787,
  9286. 22828, [23568, 60417], 24063, 26081, [12110, 27571], 27596, [12115, 27668],
  9287. [12121, 29247], 20017, 20028, 20200, 20188, 20201, 20193, 20189, 20186,
  9288. 21004, 21001, 21276, 21324, {f: 2, c: 22306}, 22807, 22831, 23425, 23428,
  9289. 23570, 23611, 23668, 23667, 24068, 24192, 24194, 24521, 25097, 25168,
  9290. 27669, 27702, 27715, 27711, 27707, 29358, 29360, 29578, [12145, 31160],
  9291. 32906, 38430, 20238, 20248, 20268, 20213, 20244, 20209, 20224, 20215,
  9292. 20232, 20253, 20226, 20229, 20258, 20243, 20228, 20212, 20242, 20913,
  9293. 21011, 21008, 21158, 21282, 21279, 21325, 21386, 21511, 22241, 22239,
  9294. 22318, 22314, 22324, 22844, 22912, 22908, 22917, 22907, 22910, 22903,
  9295. 22911, 23382, 23573, 23589, 23676, {f: 2, c: 23674}, 23678, 24031,
  9296. [24181, 57646], 24196, 24322, 24346, 24436, 24533, 24532, 24527, 25180,
  9297. 25182, 25188, 25185, 25190, 25186, 25177, 25184, 25178, 25189, 25911,
  9298. 26095, 26094, 26430, 26425, 26424, 26427, 26426, 26431, 26428, 26419,
  9299. 27672, 27718, 27730, 27740, 27727, [27722, 60796], 27732, {f: 2, c: 27723},
  9300. 28785, 29278, {f: 2, c: 29364}, 29582, 29994, 30335, 31349, [12153, 32593],
  9301. [12171, 33400], 33404, 33408, 33405, 33407, [12172, 34381], [12177, 35198],
  9302. 37017, [37015, 59347], 37016, 37019, 37012, 38434, 38436, 38432, 38435,
  9303. 20310, 20283, 20322, 20297, 20307, 20324, 20286, 20327, 20306, 20319,
  9304. 20289, 20312, 20269, 20275, 20287, 20321, 20879, 20921, 21020, 21022,
  9305. 21025, {f: 2, c: 21165}, 21257, 21347, 21362, {f: 2, c: 21390}, 21552,
  9306. 21559, 21546, 21588, 21573, 21529, 21532, 21541, 21528, 21565, 21583,
  9307. 21569, 21544, 21540, 21575, 22254, 22247, 22245, 22337, 22341, 22348,
  9308. 22345, 22347, 22354, 22790, 22848, 22950, 22936, 22944, 22935, 22926,
  9309. 22946, 22928, 22927, 22951, 22945, 23438, 23442, 23592, 23594, 23693,
  9310. 23695, 23688, 23691, 23689, 23698, 23690, 23686, 23699, 23701, 24032,
  9311. 24074, 24078, 24203, 24201, 24204, 24200, 24205, 24325, 24349, 24440,
  9312. 24438, 24530, 24529, 24528, 24557, 24552, 24558, 24563, 24545, 24548,
  9313. 24547, 24570, 24559, 24567, 24571, 24576, 24564, 25146, 25219, 25228,
  9314. {f: 2, c: 25230}, 25236, 25223, 25201, 25211, 25210, 25200, 25217, 25224,
  9315. 25207, 25213, 25202, 25204, 26096, 26100, 26099, 26098, 26101, 26437,
  9316. 26439, 26457, 26453, 26444, 26440, 26461, 26445, 26458, 26443, 27600,
  9317. {f: 2, c: 27673}, 27768, 27751, 27755, 27780, 27787, 27791, 27761, 27759,
  9318. 27753, 27802, 27757, 27783, 27797, [27804, 57900], 27750, 27763, 27749,
  9319. 27771, 27790, 28788, 28794, 29283, 29375, 29373, 29379, 29382, 29377,
  9320. 29370, 29381, 29589, 29591, {f: 2, c: 29587}, 29586, 30010, 30009,
  9321. {f: 2, c: 30100}, 30337, 31037, 32820, 32917, 32921, 32912, 32914, 32924,
  9322. 33424, 33423, 33413, 33422, 33425, 33427, 33418, {f: 2, c: 33411},
  9323. [12184, 35960], 36809, 36799, 37023, 37025, 37029, 37022, 37031, 37024,
  9324. 38448, 38440, 38447, 38445, 20019, 20376, 20348, 20357, 20349, 20352,
  9325. 20359, 20342, 20340, 20361, 20356, 20343, 20300, 20375, 20330, 20378,
  9326. 20345, 20353, 20344, 20368, 20380, 20372, 20382, 20370, 20354, 20373,
  9327. 20331, 20334, 20894, 20924, 20926, 21045, {f: 2, c: 21042}, 21062, 21041,
  9328. 21180, {f: 2, c: 21258}, 21308, 21394, 21396, 21639, 21631, 21633, 21649,
  9329. 21634, 21640, 21611, 21626, 21630, 21605, 21612, 21620, 21606, 21645,
  9330. 21615, 21601, 21600, 21656, 21603, 21607, 21604, 22263, 22265, 22383,
  9331. 22386, 22381, 22379, 22385, 22384, 22390, 22400, 22389, 22395,
  9332. {f: 2, c: 22387}, 22370, 22376, 22397, 22796, 22853, 22965, 22970, 22991,
  9333. 22990, 22962, 22988, 22977, 22966, 22972, 22979, 22998, 22961, 22973,
  9334. 22976, 22984, 22964, 22983, 23394, 23397, 23443, 23445, 23620, 23623,
  9335. 23726, 23716, 23712, 23733, 23727, 23720, 23724, 23711, 23715, 23725,
  9336. 23714, 23722, 23719, 23709, 23717, 23734, 23728, 23718, 24087, 24084,
  9337. 24089, 24360, {f: 3, c: 24354}, 24404, 24450, 24446, 24445, 24542, 24549,
  9338. 24621, 24614, 24601, 24626, 24587, 24628, 24586, 24599, 24627, 24602,
  9339. 24606, 24620, 24610, 24589, 24592, 24622, 24595, 24593, 24588, 24585,
  9340. 24604, 25108, 25149, 25261, 25268, 25297, 25278, 25258, 25270, 25290,
  9341. 25262, 25267, 25263, 25275, 25257, 25264, 25272, 25917, 26024, 26043,
  9342. 26121, 26108, 26116, 26130, 26120, 26107, 26115, 26123, 26125, 26117,
  9343. 26109, 26129, 26128, 26358, 26378, 26501, 26476, 26510, 26514, 26486,
  9344. 26491, 26520, 26502, 26500, 26484, 26509, 26508, 26490, 26527, 26513,
  9345. 26521, 26499, 26493, 26497, {f: 2, c: 26488}, 26516, 27429, 27520, 27518,
  9346. 27614, 27677, 27795, 27884, 27883, 27886, 27865, 27830, 27860, 27821,
  9347. 27879, 27831, 27856, 27842, 27834, 27843, 27846, 27885, 27890, 27858,
  9348. 27869, 27828, 27786, 27805, 27776, 27870, 27840, 27952, 27853, 27847,
  9349. 27824, 27897, 27855, 27881, 27857, 28820, 28824, 28805, 28819, 28806,
  9350. 28804, 28817, 28822, 28802, 28826, 28803, 29290, 29398, 29387, 29400,
  9351. 29385, 29404, 29394, 29396, 29402, 29388, 29393, 29604, 29601, 29613,
  9352. 29606, 29602, 29600, 29612, 29597, 29917, 29928, {f: 2, c: 30015}, 30014,
  9353. 30092, 30104, 30383, 30451, 30449, 30448, 30453, 30712, 30716, 30713,
  9354. 30715, 30714, 30711, 31042, 31039, 31173, 31352, 31355, 31483, 31861,
  9355. 31997, 32821, 32911, 32942, 32931, 32952, 32949, 32941, 33312, 33440,
  9356. 33472, 33451, 33434, 33432, 33435, 33461, 33447, 33454, 33468, 33438,
  9357. 33466, 33460, 33448, 33441, 33449, 33474, 33444, 33475, 33462, 33442,
  9358. 34416, 34415, {f: 2, c: 34413}, 35926, 36818, 36811, 36819, 36813, 36822,
  9359. 36821, 36823, 37042, 37044, 37039, 37043, 37040, 38457, 38461, 38460,
  9360. 38458, 38467, 20429, 20421, 20435, 20402, 20425, 20427, 20417, 20436,
  9361. 20444, 20441, [20411, 60346], 20403, 20443, 20423, 20438, 20410, 20416,
  9362. 20409, 20460, 21060, 21065, 21184, 21186, 21309, 21372, 21399, 21398,
  9363. 21401, 21400, 21690, 21665, 21677, 21669, 21711, 21699, 33549, 21687,
  9364. 21678, 21718, 21686, {f: 2, c: 21701}, 21664, 21616, 21692, 21666, 21694,
  9365. 21618, 21726, 21680, 22453, {f: 2, c: 22430}, 22436, 22412, 22423, 22429,
  9366. 22427, 22420, 22424, 22415, 22425, 22437, 22426, 22421, 22772, 22797,
  9367. 22867, 23009, 23006, 23022, 23040, 23025, 23005, 23034, 23037, 23036,
  9368. 23030, 23012, 23026, 23031, 23003, 23017, 23027, 23029, 23008, 23038,
  9369. 23028, 23021, 23464, 23628, 23760, 23768, 23756, 23767, 23755, 23771,
  9370. 23774, 23770, 23753, 23751, 23754, 23766, {f: 2, c: 23763}, 23759, 23752,
  9371. 23750, 23758, 23775, 23800, 24057, {f: 3, c: 24097}, 24096, 24100, 24240,
  9372. 24228, 24226, 24219, 24227, 24229, 24327, 24366, 24406, 24454, 24631,
  9373. 24633, 24660, 24690, 24670, 24645, 24659, 24647, 24649, 24667, 24652,
  9374. 24640, 24642, 24671, 24612, 24644, 24664, 24678, 24686, {f: 2, c: 25154},
  9375. 25295, 25357, 25355, 25333, 25358, 25347, 25323, 25337, 25359, 25356,
  9376. 25336, 25334, 25344, {f: 2, c: 25363}, 25338, 25365, 25339, 25328, 25921,
  9377. 25923, 26026, 26047, 26166, 26145, 26162, 26165, 26140, 26150, 26146,
  9378. 26163, 26155, 26170, 26141, 26164, 26169, 26158, {f: 2, c: 26383}, 26561,
  9379. 26610, 26568, 26554, 26588, 26555, 26616, 26584, 26560, 26551, 26565,
  9380. 26603, 26596, 26591, 26549, 26573, 26547, 26615, 26614, 26606, 26595,
  9381. 26562, 26553, 26574, 26599, 26608, 26546, 26620, 26566, 26605, 26572,
  9382. 26542, 26598, 26587, 26618, {f: 2, c: 26569}, 26563, 26602, 26571, 27432,
  9383. 27522, 27524, 27574, 27606, 27608, 27616, {f: 2, c: 27680}, 27944, 27956,
  9384. 27949, 27935, 27964, 27967, 27922, 27914, 27866, 27955, 27908, 27929,
  9385. 27962, 27930, 27921, 27904, 27933, 27970, 27905, 27928, 27959, 27907,
  9386. 27919, 27968, 27911, 27936, 27948, 27912, 27938, 27913, 27920, 28855,
  9387. 28831, 28862, 28849, 28848, 28833, {f: 2, c: 28852}, 28841, 29249,
  9388. {f: 2, c: 29257}, 29292, 29296, 29299, 29294, 29386, 29412, 29416, 29419,
  9389. 29407, 29418, 29414, 29411, 29573, 29644, 29634, 29640, 29637, 29625,
  9390. 29622, 29621, 29620, 29675, 29631, 29639, 29630, 29635, 29638, 29624,
  9391. 29643, 29932, 29934, 29998, {f: 2, c: 30023}, 30119, 30122, 30329, 30404,
  9392. 30472, {f: 3, c: 30467}, 30474, 30455, 30459, 30458, {f: 2, c: 30695},
  9393. 30726, {f: 2, c: 30737}, 30725, 30736, 30735, 30734, [30729, 58095], 30723,
  9394. 30739, 31050, 31052, 31051, 31045, 31044, 31189, 31181, 31183, 31190,
  9395. 31182, 31360, 31358, 31441, {f: 2, c: 31488}, 31866, {f: 2, c: 31864},
  9396. {f: 3, c: 31871}, 32003, 32008, 32001, 32600, 32657, 32653, 32702, 32775,
  9397. {f: 2, c: 32782}, 32788, 32823, 32984, 32967, 32992, 32977, 32968, 32962,
  9398. 32976, 32965, 32995, 32985, 32988, 32970, 32981, 32969, 32975, 32983,
  9399. 32998, 32973, 33279, 33313, 33428, 33497, 33534, 33529, 33543, 33512,
  9400. 33536, 33493, 33594, 33515, 33494, 33524, 33516, 33505, 33522, 33525,
  9401. 33548, 33531, 33526, 33520, 33514, 33508, 33504, 33530, 33523, 33517,
  9402. 34423, 34420, 34428, 34419, 34881, 34894, 34919, 34922, 34921, 35283,
  9403. 35332, 35335, 36210, 36835, 36833, 36846, 36832, 37105, 37053, 37055,
  9404. 37077, 37061, 37054, 37063, 37067, 37064, [37332, 60294], 37331, 38484,
  9405. 38479, 38481, 38483, 38474, 38478, 20510, 20485, 20487, 20499, 20514,
  9406. 20528, 20507, 20469, 20468, 20531, 20535, 20524, {f: 2, c: 20470}, 20503,
  9407. 20508, 20512, 20519, 20533, 20527, 20529, 20494, 20826, 20884, 20883,
  9408. 20938, {f: 2, c: 20932}, 20936, 20942, 21089, 21082, 21074,
  9409. {f: 2, c: 21086}, 21077, 21090, 21197, 21262, 21406, 21798, 21730, 21783,
  9410. 21778, 21735, 21747, 21732, 21786, 21759, 21764, 21768, 21739, 21777,
  9411. 21765, 21745, 21770, 21755, {f: 2, c: 21751}, 21728, 21774, 21763, 21771,
  9412. {f: 2, c: 22273}, 22476, 22578, 22485, 22482, 22458, 22470, 22461, 22460,
  9413. 22456, 22454, 22463, 22471, 22480, 22457, 22465, 22798, 22858, 23065,
  9414. 23062, {f: 2, c: 23085}, 23061, 23055, 23063, 23050, 23070, 23091, 23404,
  9415. 23463, 23469, 23468, 23555, 23638, 23636, 23788, 23807, 23790, 23793,
  9416. 23799, 23808, 23801, 24105, 24104, 24232, 24238, 24234, 24236, 24371,
  9417. 24368, 24423, 24669, 24666, 24679, 24641, 24738, 24712, 24704, 24722,
  9418. 24705, 24733, 24707, 24725, 24731, 24727, 24711, 24732, 24718, 25113,
  9419. 25158, 25330, 25360, 25430, 25388, {f: 2, c: 25412}, 25398, 25411, 25572,
  9420. 25401, 25419, 25418, 25404, 25385, 25409, 25396, 25432, 25428, 25433,
  9421. 25389, 25415, 25395, 25434, 25425, 25400, 25431, 25408, 25416, 25930,
  9422. 25926, 26054, {f: 2, c: 26051}, 26050, 26186, 26207, 26183, 26193,
  9423. {f: 2, c: 26386}, 26655, 26650, 26697, {f: 2, c: 26674}, 26683, 26699,
  9424. 26703, 26646, 26673, 26652, 26677, 26667, 26669, 26671, 26702, 26692,
  9425. 26676, 26653, 26642, 26644, 26662, 26664, 26670, 26701, 26682, 26661,
  9426. 26656, 27436, 27439, 27437, 27441, 27444, 27501, 32898, 27528, 27622,
  9427. 27620, 27624, 27619, 27618, 27623, 27685, 28026, {f: 2, c: 28003}, 28022,
  9428. 27917, 28001, 28050, 27992, 28002, 28013, 28015, 28049, 28045, 28143,
  9429. 28031, 28038, 27998, [28007, 59078], 28000, 28055, 28016, 28028, 27999,
  9430. 28034, 28056, 27951, 28008, 28043, 28030, 28032, 28036, 27926, 28035,
  9431. 28027, 28029, 28021, 28048, 28892, 28883, 28881, 28893, 28875, 32569,
  9432. 28898, 28887, 28882, 28894, 28896, 28884, 28877, {f: 3, c: 28869}, 28890,
  9433. 28878, 28897, 29250, 29304, 29303, 29302, 29440, 29434, 29428, 29438,
  9434. 29430, 29427, 29435, 29441, 29651, 29657, 29669, 29654, 29628, 29671,
  9435. 29667, 29673, 29660, 29650, 29659, 29652, 29661, 29658, {f: 2, c: 29655},
  9436. 29672, {f: 2, c: 29918}, {f: 2, c: 29940}, 29985, 30043, 30047, 30128,
  9437. 30145, 30139, 30148, 30144, 30143, 30134, 30138, 30346, 30409, 30493,
  9438. 30491, 30480, 30483, 30482, 30499, 30481, 30485, {f: 2, c: 30489}, 30498,
  9439. 30503, 30755, 30764, 30754, 30773, 30767, 30760, 30766, 30763, 30753,
  9440. 30761, 30771, 30762, 30769, 31060, 31067, 31055, 31068, 31059, 31058,
  9441. 31057, {f: 2, c: 31211}, 31200, 31214, 31213, 31210, 31196, 31198, 31197,
  9442. 31366, 31369, 31365, {f: 2, c: 31371}, 31370, 31367, 31448, 31504, 31492,
  9443. 31507, 31493, 31503, 31496, 31498, 31502, 31497, 31506, 31876, 31889,
  9444. 31882, 31884, 31880, 31885, 31877, 32030, 32029, 32017, 32014, 32024,
  9445. 32022, 32019, 32031, 32018, 32015, 32012, 32604, 32609, 32606, 32608,
  9446. 32605, 32603, 32662, 32658, 32707, 32706, 32704, 32790, 32830, 32825,
  9447. 33018, 33010, 33017, 33013, 33025, 33019, 33024, 33281, 33327, 33317,
  9448. 33587, 33581, 33604, 33561, 33617, 33573, 33622, 33599, 33601, 33574,
  9449. 33564, 33570, 33602, 33614, 33563, 33578, 33544, 33596, 33613, 33558,
  9450. 33572, 33568, 33591, 33583, 33577, 33607, 33605, 33612, 33619, 33566,
  9451. 33580, 33611, 33575, 33608, 34387, 34386, 34466, 34472, 34454, 34445,
  9452. 34449, 34462, 34439, 34455, 34438, 34443, 34458, 34437, 34469, 34457,
  9453. 34465, 34471, 34453, 34456, 34446, 34461, 34448, 34452, {f: 2, c: 34883},
  9454. 34925, {f: 2, c: 34933}, 34930, 34944, 34929, 34943, 34927, 34947, 34942,
  9455. 34932, 34940, 35346, 35911, 35927, 35963, 36004, 36003, 36214, 36216,
  9456. 36277, 36279, 36278, 36561, 36563, 36862, 36853, 36866, 36863, 36859,
  9457. 36868, 36860, 36854, 37078, 37088, {f: 2, c: 37081}, 37091, 37087, 37093,
  9458. 37080, 37083, 37079, 37084, 37092, 37200, {f: 2, c: 37198}, 37333, 37346,
  9459. 37338, 38492, 38495, 38588, 39139, [12221, 39647], [12223, 39727], 20095,
  9460. 20592, 20586, 20577, 20574, 20576, 20563, 20555, 20573, 20594, 20552,
  9461. 20557, 20545, 20571, 20554, 20578, 20501, 20549, 20575, 20585, 20587,
  9462. {f: 2, c: 20579}, 20550, 20544, 20590, 20595, 20567, 20561, 20944, 21099,
  9463. 21101, 21100, 21102, 21206, 21203, 21293, 21404, {f: 2, c: 21877}, 21820,
  9464. 21837, 21840, 21812, 21802, 21841, 21858, 21814, 21813, 21808, 21842,
  9465. 21829, 21772, 21810, 21861, 21838, 21817, 21832, 21805, 21819, 21824,
  9466. 21835, 22282, 22279, 22523, 22548, 22498, 22518, 22492, 22516, 22528,
  9467. 22509, 22525, 22536, 22520, 22539, 22515, 22479, 22535, 22510, 22499,
  9468. 22514, 22501, 22508, 22497, 22542, 22524, 22544, 22503, 22529, 22540,
  9469. 22513, 22505, 22512, 22541, 22532, 22876, 23136, 23128, 23125,
  9470. [23143, 60437], 23134, 23096, 23093, 23149, 23120, 23135, 23141, 23148,
  9471. 23123, 23140, 23127, 23107, 23133, 23122, 23108, 23131, 23112, 23182,
  9472. 23102, 23117, 23097, 23116, 23152, 23145, 23111, 23121, 23126, 23106,
  9473. 23132, 23410, 23406, 23489, 23488, 23641, 23838, 23819, 23837, 23834,
  9474. 23840, 23820, 23848, 23821, 23846, 23845, 23823, 23856, 23826, 23843,
  9475. 23839, 23854, 24126, 24116, 24241, 24244, 24249, {f: 2, c: 24242}, 24374,
  9476. 24376, 24475, 24470, 24479, 24714, 24720, 24710, 24766, 24752, 24762,
  9477. {f: 2, c: 24787}, 24783, 24804, 24793, 24797, 24776, 24753, 24795, 24759,
  9478. 24778, 24767, 24771, 24781, 24768, 25394, 25445, 25482, 25474, 25469,
  9479. 25533, 25502, 25517, 25501, 25495, 25515, 25486, 25455, 25479, 25488,
  9480. 25454, 25519, 25461, 25500, 25453, 25518, 25468, 25508, 25403, 25503,
  9481. 25464, 25477, 25473, 25489, 25485, 25456, 25939, 26061, 26213, 26209,
  9482. 26203, 26201, 26204, 26210, 26392, 26745, 26759, 26768, 26780,
  9483. {f: 2, c: 26733}, 26798, 26795, 26966, 26735, 26787, 26796, 26793, 26741,
  9484. 26740, 26802, 26767, 26743, 26770, 26748, 26731, 26738, 26794, 26752,
  9485. 26737, 26750, 26779, 26774, 26763, 26784, 26761, 26788, 26744, 26747,
  9486. 26769, 26764, 26762, 26749, 27446, 27443, {f: 2, c: 27447}, 27537, 27535,
  9487. {f: 2, c: 27533}, 27532, 27690, 28096, 28075, 28084, 28083, 28276, 28076,
  9488. 28137, 28130, 28087, 28150, 28116, 28160, 28104, 28128, 28127, 28118,
  9489. 28094, 28133, {f: 2, c: 28124}, 28123, 28148, 28106, 28093, 28141, 28144,
  9490. 28090, 28117, 28098, 28111, 28105, 28112, 28146, 28115, 28157, 28119,
  9491. 28109, 28131, 28091, 28922, 28941, 28919, 28951, 28916, 28940, 28912,
  9492. 28932, 28915, 28944, 28924, 28927, 28934, 28947, 28928, 28920, 28918,
  9493. 28939, 28930, 28942, 29310, {f: 2, c: 29307}, 29311, 29469, 29463, 29447,
  9494. 29457, 29464, 29450, 29448, 29439, 29455, 29470, 29576, 29686, 29688,
  9495. 29685, 29700, 29697, 29693, 29703, 29696, 29690, 29692, 29695, 29708,
  9496. 29707, 29684, 29704, 30052, 30051, 30158, 30162, 30159, {f: 2, c: 30155},
  9497. 30161, 30160, 30351, 30345, 30419, 30521, 30511, 30509, {f: 2, c: 30513},
  9498. 30516, 30515, 30525, 30501, 30523, 30517, 30792, 30802, 30793, 30797,
  9499. 30794, 30796, 30758, 30789, 30800, 31076, 31079, {f: 2, c: 31081}, 31075,
  9500. 31083, 31073, 31163, 31226, 31224, {f: 2, c: 31222}, 31375, 31380, 31376,
  9501. 31541, 31547, 31540, 31525, 31536, 31522, 31524, 31539, 31512, 31530,
  9502. 31517, 31537, 31531, 31533, 31535, 31538, 31544, 31514, 31523, 31892,
  9503. 31896, 31894, 31907, 32053, 32061, 32056, 32054, 32058, 32069, 32044,
  9504. 32041, 32065, 32071, {f: 2, c: 32062}, 32074, 32059, 32040, 32611, 32661,
  9505. {f: 2, c: 32668}, 32667, {f: 2, c: 32714}, 32717, {f: 2, c: 32720}, 32711,
  9506. 32719, 32713, 32799, 32798, 32795, 32839, 32835, 32840, 33048, 33061,
  9507. 33049, 33051, 33069, 33055, 33068, 33054, 33057, 33045, 33063, 33053,
  9508. 33058, 33297, 33336, 33331, 33338, 33332, 33330, 33396, 33680, 33699,
  9509. 33704, 33677, 33658, 33651, 33700, 33652, 33679, 33665, 33685, 33689,
  9510. 33653, 33684, 33705, 33661, 33667, 33676, 33693, 33691, 33706, 33675,
  9511. 33662, 33701, 33711, 33672, 33687, 33712, 33663, 33702, 33671, 33710,
  9512. 33654, 34393, 34390, 34495, 34487, 34498, 34497, 34501, 34490, 34480,
  9513. 34504, 34489, 34483, 34488, 34508, 34484, {f: 2, c: 34491}, 34499,
  9514. {f: 2, c: 34493}, 34898, 34953, 34965, 34984, 34978, 34986, 34970, 34961,
  9515. 34977, 34975, 34968, 34983, 34969, 34971, 34967, 34980, 34988, 34956,
  9516. 34963, 34958, 35202, 35286, 35289, 35285, 35376, 35367, 35372, 35358,
  9517. 35897, 35899, {f: 2, c: 35932}, 35965, 36005, 36221, 36219, 36217, 36284,
  9518. 36290, 36281, 36287, 36289, 36568, 36574, 36573, 36572, 36567,
  9519. {f: 2, c: 36576}, 36900, 36875, 36881, 36892, 36876, 36897, 37103, 37098,
  9520. 37104, 37108, {f: 2, c: 37106}, 37076, {f: 2, c: 37099}, 37097, 37206,
  9521. 37208, 37210, 37203, 37205, 37356, 37364, 37361, 37363, 37368, 37348,
  9522. 37369, {f: 2, c: 37354}, 37367, 37352, 37358, 38266, 38278, 38280, 38524,
  9523. 38509, 38507, 38513, 38511, 38591, 38762, 38916, 39141, 39319, 20635,
  9524. 20629, 20628, 20638, 20619, 20643, 20611, 20620, 20622, 20637, 20584,
  9525. 20636, 20626, 20610, 20615, 20831, 20948, 21266, 21265, 21412, 21415,
  9526. 21905, 21928, 21925, 21933, 21879, 22085, 21922, 21907, 21896, 21903,
  9527. 21941, 21889, 21923, 21906, 21924, 21885, 21900, 21926, 21887, 21909,
  9528. 21921, 21902, 22284, 22569, 22583, 22553, 22558, 22567, 22563, 22568,
  9529. 22517, 22600, 22565, 22556, 22555, 22579, 22591, 22582, 22574, 22585,
  9530. 22584, 22573, 22572, 22587, 22881, 23215, 23188, 23199, 23162, 23202,
  9531. 23198, 23160, 23206, 23164, 23205, 23212, 23189, 23214, 23095, 23172,
  9532. 23178, 23191, 23171, 23179, 23209, 23163, 23165, 23180, 23196, 23183,
  9533. 23187, 23197, 23530, 23501, 23499, 23508, 23505, 23498, 23502, 23564,
  9534. 23600, 23863, 23875, 23915, 23873, 23883, 23871, 23861, 23889, 23886,
  9535. 23893, 23859, 23866, 23890, 23869, 23857, 23897, 23874, 23865, 23881,
  9536. 23864, 23868, 23858, 23862, 23872, 23877, 24132, 24129, [24408, 57673],
  9537. 24486, 24485, 24491, 24777, 24761, 24780, 24802, 24782, 24772, 24852,
  9538. 24818, 24842, 24854, 24837, 24821, 24851, 24824, 24828, 24830, 24769,
  9539. 24835, 24856, 24861, 24848, 24831, 24836, 24843, 25162, 25492, 25521,
  9540. 25520, 25550, 25573, 25576, 25583, 25539, 25757, 25587, 25546, 25568,
  9541. 25590, 25557, 25586, 25589, 25697, 25567, 25534, 25565, 25564, 25540,
  9542. 25560, 25555, 25538, 25543, 25548, 25547, 25544, 25584, 25559, 25561,
  9543. 25906, 25959, 25962, 25956, 25948, 25960, 25957, 25996, {f: 2, c: 26013},
  9544. 26030, 26064, 26066, 26236, 26220, 26235, 26240, 26225, 26233, 26218,
  9545. 26226, 26369, 26892, 26835, 26884, 26844, 26922, 26860, 26858, 26865,
  9546. 26895, 26838, 26871, 26859, 26852, 26870, 26899, 26896, 26867, 26849,
  9547. 26887, 26828, 26888, 26992, 26804, 26897, 26863, 26822, 26900, 26872,
  9548. 26832, 26877, 26876, 26856, 26891, 26890, 26903, 26830, 26824,
  9549. {f: 2, c: 26845}, 26854, 26868, 26833, 26886, 26836, 26857, 26901, 26917,
  9550. 26823, 27449, 27451, 27455, 27452, 27540, 27543, 27545, 27541, 27581,
  9551. 27632, {f: 2, c: 27634}, 27696, 28156, {f: 2, c: 28230}, 28191, 28233,
  9552. 28296, {f: 2, c: 28220}, 28229, 28258, 28203, 28223, 28225, 28253, 28275,
  9553. 28188, 28211, 28235, 28224, 28241, 28219, 28163, 28206, 28254, 28264,
  9554. 28252, 28257, 28209, 28200, 28256, 28273, 28267, 28217, 28194, 28208,
  9555. 28243, 28261, 28199, 28280, 28260, 28279, 28245, 28281, 28242, 28262,
  9556. {f: 2, c: 28213}, 28250, 28960, 28958, 28975, 28923, 28974, 28977, 28963,
  9557. 28965, 28962, 28978, 28959, 28968, 28986, 28955, 29259, 29274,
  9558. {f: 2, c: 29320}, 29318, 29317, 29323, 29458, 29451, 29488, 29474, 29489,
  9559. 29491, 29479, 29490, 29485, 29478, 29475, 29493, 29452, 29742, 29740,
  9560. 29744, 29739, 29718, 29722, 29729, 29741, 29745, 29732, 29731, 29725,
  9561. 29737, 29728, 29746, 29947, 29999, 30063, 30060, 30183, 30170, 30177,
  9562. 30182, 30173, 30175, 30180, 30167, 30357, 30354, 30426, {f: 2, c: 30534},
  9563. 30532, 30541, 30533, 30538, 30542, {f: 2, c: 30539}, 30686, 30700, 30816,
  9564. {f: 2, c: 30820}, 30812, 30829, 30833, 30826, 30830, 30832, 30825, 30824,
  9565. 30814, 30818, 31092, 31091, 31090, 31088, 31234, 31242, 31235, 31244,
  9566. 31236, 31385, 31462, 31460, 31562, 31559, 31556, 31560, 31564, 31566,
  9567. 31552, 31576, 31557, 31906, 31902, 31912, 31905, 32088, 32111, 32099,
  9568. 32083, 32086, 32103, 32106, 32079, 32109, 32092, 32107, 32082, 32084,
  9569. 32105, 32081, 32095, 32078, {f: 2, c: 32574}, {f: 2, c: 32613}, 32674,
  9570. {f: 2, c: 32672}, 32727, 32849, {f: 2, c: 32847}, 33022, 32980, 33091,
  9571. 33098, 33106, 33103, 33095, 33085, 33101, 33082, 33254, 33262,
  9572. {f: 3, c: 33271}, 33284, {f: 2, c: 33340}, 33343, 33397, 33595,
  9573. [33743, 60382], 33785, 33827, 33728, 33768, 33810, 33767, 33764, 33788,
  9574. 33782, 33808, 33734, 33736, 33771, 33763, 33727, 33793, 33757, 33765,
  9575. 33752, 33791, 33761, 33739, 33742, 33750, 33781, 33737, 33801,
  9576. [33807, 58332], 33758, 33809, 33798, 33730, 33779, 33749, 33786, 33735,
  9577. 33745, 33770, 33811, 33690, 33731, 33772, 33774, 33732, 33787, 33751,
  9578. 33762, 33819, 33755, 33790, 34520, 34530, 34534, 34515, 34531, 34522,
  9579. 34538, 34525, 34539, 34524, 34540, 34537, 34519, 34536, 34513, 34888,
  9580. 34902, 34901, 35002, 35031, 35001, 35000, 35008, 35006, 34998, 35004,
  9581. 34999, 35005, 34994, 35073, 35017, 35221, 35224, 35223, 35293,
  9582. {f: 2, c: 35290}, 35406, 35405, 35385, 35417, 35392, {f: 2, c: 35415},
  9583. {f: 2, c: 35396}, 35410, 35400, 35409, 35402, 35404, 35407, 35935, 35969,
  9584. 35968, 36026, 36030, 36016, 36025, 36021, 36228, 36224, 36233, 36312,
  9585. 36307, 36301, 36295, 36310, 36316, 36303, 36309, 36313, 36296, 36311,
  9586. 36293, 36591, 36599, 36602, 36601, 36582, 36590, 36581, 36597,
  9587. {f: 2, c: 36583}, 36598, 36587, 36593, 36588, 36596, 36585, 36909, 36916,
  9588. 36911, 37126, 37164, [37124, 60367], 37119, 37116, 37128, 37113, 37115,
  9589. 37121, 37120, 37127, 37125, 37123, 37217, 37220, 37215, 37218, 37216,
  9590. 37377, 37386, 37413, 37379, 37402, 37414, 37391, 37388, 37376, 37394,
  9591. 37375, 37373, 37382, 37380, 37415, 37378, 37404, 37412, 37401, 37399,
  9592. 37381, 37398, 38267, 38285, 38284, 38288, 38535, 38526, {f: 2, c: 38536},
  9593. 38531, 38528, 38594, 38600, 38595, 38641, 38640, 38764, 38768, 38766,
  9594. 38919, 39081, 39147, 40166, [12235, 40697], {f: 2, c: 20099}, 20150, 20669,
  9595. 20671, 20678, 20654, 20676, 20682, 20660, 20680, 20674, 20656, 20673,
  9596. 20666, 20657, 20683, 20681, 20662, 20664, 20951, 21114, 21112,
  9597. {f: 2, c: 21115}, 21955, 21979, 21964, 21968, 21963, 21962, 21981,
  9598. [21952, 64013], 21972, 21956, 21993, 21951, 21970, 21901, 21967, 21973,
  9599. 21986, 21974, 21960, 22002, 21965, 21977, 21954, 22292, 22611, 22632,
  9600. 22628, 22607, 22605, 22601, 22639, 22613, 22606, 22621, 22617, 22629,
  9601. 22619, 22589, 22627, 22641, 22780, 23239, 23236, 23243, 23226, 23224,
  9602. 23217, 23221, 23216, 23231, 23240, 23227, 23238, 23223, 23232, 23242,
  9603. 23220, 23222, 23245, 23225, 23184, 23510, {f: 2, c: 23512}, 23583, 23603,
  9604. 23921, 23907, 23882, 23909, 23922, 23916, 23902, 23912, 23911, 23906,
  9605. 24048, 24143, 24142, 24138, 24141, 24139, 24261, 24268, 24262, 24267,
  9606. 24263, 24384, 24495, 24493, 24823, {f: 2, c: 24905}, 24875, 24901, 24886,
  9607. 24882, 24878, 24902, 24879, 24911, 24873, 24896, 25120, 37224, 25123,
  9608. 25125, 25124, 25541, 25585, 25579, 25616, 25618, 25609, 25632, 25636,
  9609. 25651, 25667, 25631, 25621, 25624, 25657, 25655, {f: 2, c: 25634}, 25612,
  9610. 25638, 25648, 25640, 25665, 25653, 25647, 25610, 25626, 25664, 25637,
  9611. 25639, 25611, 25575, 25627, 25646, 25633, 25614, 25967, 26002, 26067,
  9612. 26246, 26252, 26261, 26256, 26251, 26250, 26265, 26260, 26232, 26400,
  9613. 26982, 26975, 26936, 26958, 26978, 26993, 26943, 26949, 26986, 26937,
  9614. 26946, 26967, 26969, 27002, {f: 2, c: 26952}, 26933, 26988, 26931, 26941,
  9615. 26981, 26864, 27000, 26932, 26985, 26944, 26991, 26948, 26998, 26968,
  9616. 26945, 26996, 26956, 26939, 26955, 26935, 26972, 26959, 26961, 26930,
  9617. 26962, 26927, 27003, 26940, 27462, 27461, 27459, 27458, 27464, 27457,
  9618. 27547, {f: 2, c: 27643}, 27641, {f: 2, c: 27639}, 28315, 28374, 28360,
  9619. 28303, 28352, 28319, {f: 2, c: 28307}, 28320, 28337, 28345, 28358, 28370,
  9620. 28349, 28353, 28318, 28361, 28343, 28336, 28365, 28326, 28367, 28338,
  9621. 28350, 28355, 28380, 28376, 28313, 28306, 28302, 28301, 28324, 28321,
  9622. 28351, 28339, 28368, 28362, 28311, 28334, 28323, 28999, 29012, 29010,
  9623. 29027, 29024, 28993, 29021, [29026, 61080], 29042, 29048, 29034, 29025,
  9624. 28994, 29016, 28995, 29003, 29040, 29023, 29008, 29011, 28996, 29005,
  9625. 29018, 29263, 29325, 29324, 29329, 29328, 29326, 29500, 29506, 29499,
  9626. 29498, 29504, 29514, 29513, 29764, {f: 2, c: 29770}, 29778, 29777, 29783,
  9627. 29760, {f: 2, c: 29775}, 29774, 29762, 29766, 29773, 29780, 29921, 29951,
  9628. 29950, 29949, 29981, 30073, 30071, 27011, 30191, 30223, 30211, 30199,
  9629. 30206, 30204, [30201, 60782], 30200, 30224, 30203, 30198, 30189, 30197,
  9630. 30205, 30361, 30389, 30429, 30549, {f: 2, c: 30559}, 30546, 30550, 30554,
  9631. 30569, 30567, 30548, 30553, 30573, 30688, 30855, 30874, 30868, 30863,
  9632. 30852, 30869, {f: 2, c: 30853}, 30881, 30851, 30841, 30873, 30848, 30870,
  9633. 30843, 31100, 31106, 31101, 31097, 31249, {f: 2, c: 31256}, 31250, 31255,
  9634. 31253, 31266, 31251, 31259, 31248, 31395, 31394, 31390, 31467, 31590,
  9635. 31588, 31597, 31604, 31593, 31602, 31589, 31603, 31601, 31600, 31585,
  9636. 31608, 31606, 31587, 31922, 31924, 31919, 32136, 32134, 32128, 32141,
  9637. 32127, 32133, 32122, 32142, 32123, 32131, 32124, 32140, 32148, 32132,
  9638. 32125, 32146, 32621, 32619, {f: 2, c: 32615}, 32620, 32678, 32677, 32679,
  9639. {f: 2, c: 32731}, 32801, 33124, 33120, 33143, 33116, 33129, 33115, 33122,
  9640. 33138, 26401, 33118, 33142, 33127, 33135, 33092, 33121, 33309, 33353,
  9641. 33348, 33344, 33346, 33349, 34033, 33855, 33878, 33910, 33913, 33935,
  9642. 33933, 33893, 33873, 33856, 33926, 33895, 33840, 33869, 33917, 33882,
  9643. 33881, 33908, 33907, 33885, 34055, 33886, 33847, 33850, 33844, 33914,
  9644. 33859, 33912, 33842, 33861, 33833, 33753, 33867, 33839, 33858, 33837,
  9645. 33887, 33904, 33849, 33870, 33868, 33874, 33903, 33989, 33934, 33851,
  9646. 33863, 33846, 33843, 33896, 33918, 33860, 33835, 33888, 33876, 33902,
  9647. 33872, 34571, 34564, 34551, 34572, 34554, 34518, 34549, 34637, 34552,
  9648. 34574, 34569, 34561, 34550, 34573, 34565, 35030, 35019, {f: 2, c: 35021},
  9649. 35038, 35035, 35034, 35020, 35024, 35205, 35227, 35295, 35301, 35300,
  9650. 35297, 35296, 35298, 35292, 35302, 35446, 35462, 35455, 35425, 35391,
  9651. 35447, 35458, 35460, 35445, 35459, 35457, 35444, 35450, 35900, 35915,
  9652. 35914, 35941, 35940, 35942, 35974, {f: 2, c: 35972}, 36044,
  9653. {f: 2, c: 36200}, 36241, 36236, {f: 2, c: 36238}, 36237, {f: 2, c: 36243},
  9654. 36240, 36242, 36336, 36320, 36332, 36337, 36334, 36304, 36329, 36323,
  9655. 36322, 36327, 36338, 36331, 36340, 36614, 36607, 36609, 36608, 36613,
  9656. {f: 2, c: 36615}, 36610, [36619, 60507], 36946, 36927, 36932, 36937, 36925,
  9657. 37136, 37133, 37135, 37137, 37142, 37140, 37131, 37134, {f: 2, c: 37230},
  9658. 37448, 37458, 37424, 37434, 37478, 37427, 37477, 37470, 37507, 37422,
  9659. 37450, 37446, 37485, 37484, 37455, 37472, 37479, 37487, 37430, 37473,
  9660. 37488, 37425, 37460, 37475, 37456, 37490, 37454, 37459, 37452, 37462,
  9661. 37426, 38303, 38300, 38302, 38299, {f: 2, c: 38546}, 38545, 38551, 38606,
  9662. 38650, 38653, 38648, 38645, 38771, {f: 2, c: 38775}, 38770, 38927,
  9663. {f: 2, c: 38925}, 39084, 39158, 39161, 39343, 39346, 39344, 39349, 39597,
  9664. 39595, 39771, 40170, 40173, 40167, 40576, [12236, 40701], 20710, 20692,
  9665. 20695, 20712, 20723, 20699, 20714, 20701, 20708, 20691, 20716, 20720,
  9666. 20719, 20707, 20704, 20952, {f: 2, c: 21120}, 21225, 21227, 21296, 21420,
  9667. 22055, 22037, 22028, 22034, 22012, 22031, 22044, 22017, 22035, 22018,
  9668. 22010, 22045, 22020, 22015, 22009, 22665, 22652, 22672, 22680, 22662,
  9669. 22657, 22655, 22644, 22667, 22650, 22663, 22673, 22670, 22646, 22658,
  9670. 22664, 22651, 22676, 22671, 22782, 22891, 23260, 23278, 23269, 23253,
  9671. 23274, 23258, 23277, 23275, 23283, 23266, 23264, 23259, 23276, 23262,
  9672. 23261, 23257, 23272, 23263, 23415, 23520, 23523, 23651, 23938, 23936,
  9673. 23933, 23942, 23930, 23937, 23927, 23946, 23945, 23944, 23934, 23932,
  9674. 23949, 23929, 23935, {f: 2, c: 24152}, 24147, 24280, 24273, 24279, 24270,
  9675. 24284, 24277, 24281, 24274, 24276, 24388, 24387, 24431, 24502, 24876,
  9676. 24872, 24897, 24926, 24945, 24947, {f: 2, c: 24914}, 24946, 24940, 24960,
  9677. 24948, 24916, 24954, 24923, 24933, 24891, 24938, 24929, 24918, 25129,
  9678. 25127, 25131, 25643, 25677, 25691, 25693, 25716, 25718, {f: 2, c: 25714},
  9679. 25725, 25717, 25702, 25766, 25678, 25730, 25694, 25692, 25675, 25683,
  9680. 25696, 25680, 25727, 25663, 25708, 25707, 25689, 25701, 25719, 25971,
  9681. 26016, 26273, 26272, 26271, 26373, 26372, 26402, 27057, 27062, 27081,
  9682. 27040, 27086, 27030, 27056, 27052, 27068, 27025, 27033, 27022, 27047,
  9683. 27021, 27049, 27070, 27055, 27071, 27076, 27069, 27044, 27092, 27065,
  9684. 27082, 27034, 27087, 27059, 27027, 27050, 27041, 27038, 27097, 27031,
  9685. 27024, 27074, 27061, 27045, 27078, 27466, 27469, 27467, {f: 3, c: 27550},
  9686. {f: 2, c: 27587}, 27646, 28366, 28405, 28401, 28419, 28453, 28408, 28471,
  9687. 28411, 28462, 28425, 28494, {f: 2, c: 28441}, 28455, 28440, 28475, 28434,
  9688. 28397, 28426, 28470, 28531, 28409, 28398, 28461, 28480, 28464, 28476,
  9689. 28469, 28395, 28423, 28430, 28483, 28421, 28413, 28406, 28473, 28444,
  9690. 28412, 28474, 28447, 28429, 28446, 28424, 28449, 29063, 29072, 29065,
  9691. 29056, 29061, 29058, 29071, 29051, 29062, 29057, 29079, 29252, 29267,
  9692. 29335, 29333, 29331, 29507, 29517, 29521, 29516, 29794, 29811, 29809,
  9693. 29813, 29810, 29799, 29806, 29952, {f: 2, c: 29954}, 30077, 30096, 30230,
  9694. 30216, 30220, 30229, 30225, 30218, 30228, 30392, 30593, 30588, 30597,
  9695. 30594, 30574, 30592, 30575, 30590, 30595, 30898, 30890, 30900, 30893,
  9696. 30888, 30846, 30891, 30878, 30885, 30880, 30892, 30882, 30884, 31128,
  9697. {f: 2, c: 31114}, 31126, 31125, 31124, 31123, 31127, 31112, 31122, 31120,
  9698. 31275, 31306, 31280, 31279, 31272, 31270, 31400, {f: 2, c: 31403}, 31470,
  9699. 31624, 31644, 31626, 31633, 31632, 31638, 31629, 31628, 31643, 31630,
  9700. 31621, 31640, 21124, 31641, 31652, 31618, 31931, 31935, 31932, 31930,
  9701. 32167, 32183, 32194, 32163, 32170, 32193, 32192, 32197, 32157, 32206,
  9702. 32196, 32198, {f: 2, c: 32203}, 32175, 32185, 32150, 32188, 32159, 32166,
  9703. 32174, 32169, 32161, 32201, 32627, {f: 2, c: 32738}, 32741, 32734, 32804,
  9704. 32861, 32860, 33161, 33158, 33155, 33159, 33165, 33164, 33163, 33301,
  9705. 33943, 33956, 33953, 33951, 33978, 33998, 33986, 33964, 33966, 33963,
  9706. 33977, 33972, 33985, 33997, 33962, 33946, 33969, 34000, 33949, 33959,
  9707. 33979, 33954, 33940, 33991, 33996, 33947, 33961, 33967, [33960, 58327],
  9708. 34006, 33944, 33974, 33999, 33952, 34007, 34004, 34002, 34011, 33968,
  9709. 33937, 34401, 34611, 34595, 34600, 34667, 34624, 34606, 34590, 34593,
  9710. 34585, 34587, 34627, 34604, 34625, 34622, 34630, 34592, 34610, 34602,
  9711. 34605, 34620, 34578, 34618, 34609, 34613, 34626, {f: 2, c: 34598}, 34616,
  9712. 34596, 34586, 34608, 34577, 35063, 35047, {f: 2, c: 35057}, 35066, 35070,
  9713. 35054, 35068, 35062, 35067, 35056, 35052, 35051, 35229, 35233, 35231,
  9714. 35230, 35305, 35307, 35304, 35499, 35481, 35467, 35474, 35471, 35478,
  9715. 35901, {f: 2, c: 35944}, 36053, 36047, 36055, 36246, 36361, 36354, 36351,
  9716. 36365, 36349, 36362, 36355, 36359, 36358, 36357, 36350, 36352, 36356,
  9717. {f: 2, c: 36624}, 36622, 36621, 37155, 37148, 37152, 37154, 37151, 37149,
  9718. 37146, 37156, 37153, 37147, 37242, 37234, 37241, 37235, 37541, 37540,
  9719. 37494, 37531, 37498, 37536, 37524, 37546, 37517, 37542, 37530, 37547,
  9720. 37497, 37527, 37503, 37539, 37614, 37518, 37506, 37525, 37538, 37501,
  9721. 37512, 37537, 37514, 37510, 37516, 37529, 37543, 37502, 37511, 37545,
  9722. 37533, 37515, 37421, 38558, 38561, 38655, 38744, 38781, 38778, 38782,
  9723. 38787, 38784, 38786, 38779, 38788, 38785, 38783, 38862, 38861, 38934,
  9724. {f: 2, c: 39085}, 39170, 39168, 39175, 39325, 39324, 39363, 39353, 39355,
  9725. 39354, 39362, 39357, 39367, 39601, 39651, 39655, {f: 2, c: 39742},
  9726. {f: 2, c: 39776}, 39775, {f: 2, c: 40177}, 40181, 40615, 20735, 20739,
  9727. 20784, 20728, {f: 2, c: 20742}, 20726, 20734, {f: 2, c: 20747}, 20733,
  9728. 20746, {f: 2, c: 21131}, 21233, 21231, 22088, 22082, 22092, 22069, 22081,
  9729. 22090, 22089, 22086, 22104, 22106, 22080, 22067, 22077, 22060, 22078,
  9730. 22072, 22058, 22074, 22298, 22699, 22685, 22705, 22688, 22691, 22703,
  9731. 22700, 22693, 22689, 22783, 23295, 23284, 23293, 23287, 23286, 23299,
  9732. 23288, 23298, 23289, 23297, 23303, 23301, 23311, 23655, 23961, 23959,
  9733. 23967, 23954, 23970, 23955, 23957, 23968, 23964, 23969, 23962, 23966,
  9734. 24169, 24157, 24160, 24156, 32243, 24283, 24286, 24289, 24393, 24498,
  9735. 24971, 24963, 24953, 25009, 25008, 24994, 24969, 24987, 24979, 25007,
  9736. 25005, 24991, 24978, 25002, 24993, 24973, 24934, 25011, 25133, 25710,
  9737. 25712, 25750, 25760, 25733, 25751, 25756, 25743, 25739, 25738, 25740,
  9738. 25763, 25759, 25704, 25777, 25752, 25974, 25978, 25977, 25979,
  9739. {f: 2, c: 26034}, 26293, 26288, 26281, 26290, 26295, 26282, 26287, 27136,
  9740. 27142, 27159, 27109, 27128, 27157, 27121, 27108, 27168, 27135, 27116,
  9741. 27106, 27163, 27165, 27134, 27175, 27122, 27118, 27156, 27127, 27111,
  9742. 27200, 27144, 27110, 27131, 27149, 27132, 27115, 27145, 27140, 27160,
  9743. 27173, 27151, 27126, 27174, 27143, 27124, 27158, 27473, 27557, 27555,
  9744. 27554, 27558, 27649, 27648, 27647, 27650, 28481, 28454, 28542, 28551,
  9745. 28614, 28562, 28557, 28553, 28556, 28514, 28495, 28549, 28506, 28566,
  9746. 28534, 28524, 28546, 28501, 28530, 28498, 28496, 28503, 28564, 28563,
  9747. 28509, 28416, 28513, 28523, 28541, 28519, 28560, 28499, 28555, 28521,
  9748. 28543, 28565, 28515, 28535, 28522, 28539, 29106, 29103, 29083, 29104,
  9749. 29088, 29082, 29097, 29109, 29085, 29093, 29086, 29092, 29089, 29098,
  9750. 29084, 29095, 29107, 29336, 29338, 29528, 29522, {f: 3, c: 29534}, 29533,
  9751. 29531, 29537, 29530, 29529, 29538, 29831, {f: 2, c: 29833}, 29830, 29825,
  9752. 29821, 29829, 29832, 29820, [29817, 58868], 29960, 29959, 30078, 30245,
  9753. 30238, 30233, 30237, 30236, 30243, 30234, 30248, 30235, {f: 3, c: 30364},
  9754. 30363, 30605, 30607, 30601, 30600, 30925, 30907, 30927, 30924, 30929,
  9755. 30926, 30932, 30920, {f: 2, c: 30915}, 30921, 31130, 31137, 31136, 31132,
  9756. 31138, [31131, 59175], 27510, 31289, 31410, 31412, 31411, 31671, 31691,
  9757. 31678, 31660, 31694, 31663, 31673, 31690, 31669, 31941, 31944, 31948,
  9758. 31947, 32247, 32219, 32234, 32231, 32215, 32225, 32259, 32250, 32230,
  9759. 32246, 32241, 32240, 32238, 32223, 32630, 32684, 32688, 32685, 32749,
  9760. 32747, 32746, 32748, 32742, 32744, 32868, 32871, 33187, 33183, 33182,
  9761. 33173, 33186, 33177, 33175, 33302, 33359, 33363, 33362, 33360, 33358,
  9762. 33361, 34084, 34107, 34063, 34048, 34089, 34062, 34057, 34061, 34079,
  9763. 34058, 34087, 34076, 34043, 34091, 34042, 34056, 34060, 34036, 34090,
  9764. 34034, 34069, 34039, 34027, 34035, 34044, 34066, 34026, 34025, 34070,
  9765. 34046, 34088, 34077, 34094, 34050, 34045, 34078, 34038, 34097, 34086,
  9766. {f: 2, c: 34023}, 34032, 34031, 34041, 34072, 34080, 34096, 34059, 34073,
  9767. 34095, 34402, 34646, {f: 2, c: 34659}, 34679, 34785, 34675, 34648, 34644,
  9768. 34651, 34642, 34657, 34650, 34641, 34654, 34669, 34666, 34640, 34638,
  9769. 34655, 34653, 34671, 34668, 34682, 34670, 34652, 34661, 34639, 34683,
  9770. 34677, 34658, 34663, 34665, 34906, 35077, 35084, 35092, 35083,
  9771. {f: 3, c: 35095}, 35078, 35094, 35089, 35086, 35081, 35234, 35236, 35235,
  9772. 35309, 35312, 35308, 35535, 35526, 35512, 35539, 35537, {f: 2, c: 35540},
  9773. 35515, 35543, 35518, 35520, 35525, 35544, 35523, 35514, 35517, 35545,
  9774. 35902, 35917, 35983, 36069, 36063, 36057, 36072, 36058, 36061, 36071,
  9775. 36256, 36252, 36257, 36251, 36384, 36387, 36389, 36388, 36398, 36373,
  9776. 36379, 36374, 36369, 36377, {f: 2, c: 36390}, 36372, 36370, 36376, 36371,
  9777. 36380, 36375, 36378, 36652, 36644, 36632, 36634, 36640, 36643,
  9778. {f: 2, c: 36630}, 36979, 36976, 36975, 36967, 36971, 37167, 37163,
  9779. {f: 2, c: 37161}, 37170, 37158, 37166, {f: 2, c: 37253}, 37258,
  9780. {f: 2, c: 37249}, 37252, 37248, 37584, {f: 2, c: 37571}, 37568, 37593,
  9781. 37558, 37583, 37617, 37599, 37592, 37609, 37591, 37597, 37580, 37615,
  9782. 37570, 37608, 37578, 37576, 37582, 37606, 37581, 37589, 37577, 37600,
  9783. 37598, 37607, 37585, 37587, 37557, 37601, 37669, 37574, 37556, 38268,
  9784. 38316, 38315, 38318, 38320, 38564, 38562, 38611, 38661, 38664, 38658,
  9785. 38746, 38794, 38798, 38792, 38864, 38863, 38942, 38941, 38950, 38953,
  9786. 38952, 38944, 38939, 38951, 39090, 39176, 39162, 39185, 39188,
  9787. {f: 2, c: 39190}, 39189, 39388, 39373, 39375, {f: 2, c: 39379}, 39374,
  9788. 39369, [39382, 60270], 39384, 39371, 39383, 39372, 39603, 39660, 39659,
  9789. 39667, 39666, 39665, 39750, 39747, 39783, 39796, 39793, 39782, 39798,
  9790. 39797, 39792, 39784, 39780, 39788, 40188, 40186, 40189, 40191, 40183,
  9791. 40199, 40192, 40185, 40187, 40200, 40197, 40196, 40579, 40659,
  9792. {f: 2, c: 40719}, 20764, 20755, 20759, 20762, 20753, 20958, 21300, 21473,
  9793. 22128, 22112, 22126, 22131, 22118, 22115, 22125, 22130, 22110, 22135,
  9794. 22300, 22299, 22728, 22717, 22729, 22719, 22714, 22722, 22716, 22726,
  9795. 23319, 23321, 23323, 23329, 23316, 23315, 23312, 23318, [23336, 59539],
  9796. 23322, 23328, 23326, 23535, 23980, 23985, 23977, 23975, 23989, 23984,
  9797. 23982, 23978, 23976, 23986, 23981, 23983, 23988, {f: 2, c: 24167}, 24166,
  9798. 24175, 24297, 24295, 24294, 24296, 24293, 24395, 24508, 24507, 24989,
  9799. 25000, 24982, 25029, 25012, 25030, 25025, 25036, 25018, 25023, 25016,
  9800. 24972, 25815, 25814, 25808, 25807, 25801, 25789, 25737, 25795, 25819,
  9801. 25843, 25817, 25907, 25983, 25980, 26018, 26312, 26302, 26304,
  9802. {f: 2, c: 26314}, 26319, 26301, 26299, 26298, 26316, 26403, 27188, 27238,
  9803. 27209, 27239, 27186, 27240, 27198, 27229, 27245, 27254, 27227, 27217,
  9804. 27176, 27226, 27195, 27199, 27201, 27242, 27236, 27216, 27215, 27220,
  9805. 27247, 27241, 27232, 27196, 27230, 27222, 27221, {f: 2, c: 27213}, 27206,
  9806. 27477, 27476, 27478, 27559, {f: 2, c: 27562}, 27592, 27591, 27652, 27651,
  9807. 27654, 28589, 28619, 28579, 28615, 28604, 28622, 28616, 28510, 28612,
  9808. 28605, 28574, 28618, 28584, 28676, 28581, 28590, 28602, 28588, 28586,
  9809. 28623, 28607, 28600, 28578, 28617, 28587, 28621, 28591, 28594, 28592,
  9810. 29125, 29122, 29119, 29112, 29142, {f: 2, c: 29120}, 29131, 29140, 29130,
  9811. 29127, 29135, 29117, 29144, 29116, 29126, {f: 2, c: 29146},
  9812. {f: 2, c: 29341}, 29545, {f: 2, c: 29542}, 29548, 29541, 29547, 29546,
  9813. 29823, 29850, 29856, 29844, 29842, 29845, 29857, 29963, 30080, 30255,
  9814. 30253, 30257, 30269, 30259, 30268, 30261, 30258, 30256, 30395, 30438,
  9815. 30618, 30621, 30625, 30620, 30619, {f: 2, c: 30626}, 30613, 30617, 30615,
  9816. 30941, 30953, 30949, 30954, 30942, 30947, 30939, {f: 2, c: 30945}, 30957,
  9817. {f: 2, c: 30943}, 31140, 31300, 31304, 31303, 31414, 31416, 31413, 31409,
  9818. 31415, 31710, 31715, 31719, 31709, 31701, 31717, 31706, 31720, 31737,
  9819. 31700, 31722, 31714, 31708, 31723, 31704, 31711, 31954, 31956, 31959,
  9820. {f: 2, c: 31952}, 32274, 32289, 32279, 32268, {f: 2, c: 32287}, 32275,
  9821. 32270, 32284, 32277, 32282, 32290, 32267, 32271, 32278, 32269, 32276,
  9822. 32293, 32292, 32579, {f: 2, c: 32635}, 32634, 32689, 32751, 32810, 32809,
  9823. 32876, 33201, 33190, 33198, 33209, 33205, 33195, 33200, 33196, 33204,
  9824. 33202, 33207, 33191, 33266, {f: 3, c: 33365}, 34134, 34117, 34155, 34125,
  9825. 34131, 34145, 34136, 34112, 34118, 34148, 34113, 34146, 34116, 34129,
  9826. 34119, 34147, 34110, 34139, 34161, 34126, 34158, 34165, 34133, 34151,
  9827. 34144, 34188, 34150, 34141, 34132, 34149, 34156, 34403, 34405, 34404,
  9828. 34724, 34715, 34703, 34711, 34707, 34706, 34696, 34689, 34710, 34712,
  9829. 34681, 34695, 34723, 34693, {f: 2, c: 34704}, 34717, 34692, 34708, 34716,
  9830. 34714, 34697, 35102, 35110, 35120, {f: 2, c: 35117}, 35111, 35121, 35106,
  9831. 35113, 35107, 35119, 35116, 35103, 35313, 35552, 35554, 35570,
  9832. {f: 2, c: 35572}, 35549, 35604, 35556, 35551, 35568, 35528, 35550, 35553,
  9833. 35560, 35583, 35567, 35579, {f: 2, c: 35985}, 35984, 36085, 36078, 36081,
  9834. 36080, 36083, 36204, 36206, 36261, 36263, 36403, 36414, 36408, 36416,
  9835. 36421, 36406, {f: 2, c: 36412}, 36417, 36400, 36415, 36541, [36662, 60329],
  9836. 36654, 36661, 36658, 36665, 36663, 36660, 36982, 36985, 36987, 36998,
  9837. 37114, 37171, {f: 2, c: 37173}, 37267, {f: 2, c: 37264}, 37261, 37263,
  9838. 37671, 37662, 37640, 37663, 37638, 37647, 37754, 37688, 37692, 37659,
  9839. 37667, 37650, 37633, 37702, 37677, 37646, 37645, 37579, 37661, 37626,
  9840. 37651, 37625, 37623, 37684, 37634, 37668, 37631, 37673, 37689, 37685,
  9841. 37674, 37652, 37644, 37643, 37630, 37641, 37632, 37627, 37654, 38332,
  9842. 38349, 38334, {f: 2, c: 38329}, 38326, 38335, 38325, 38333, 38569, 38612,
  9843. 38667, 38674, 38672, 38809, 38807, 38804, 38896, 38904, 38965, 38959,
  9844. 38962, 39204, 39199, 39207, 39209, 39326, 39406, 39404, 39397, 39396,
  9845. 39408, 39395, 39402, 39401, 39399, 39609, 39615, 39604, 39611, 39670,
  9846. 39674, 39673, 39671, 39731, 39808, 39813, 39815, 39804, 39806, 39803,
  9847. 39810, 39827, 39826, 39824, 39802, 39829, 39805, 39816, 40229, 40215,
  9848. 40224, 40222, 40212, 40233, 40221, 40216, 40226, 40208, 40217, 40223,
  9849. 40584, {f: 2, c: 40582}, 40622, 40621, {f: 2, c: 40661}, 40698, 40722,
  9850. 40765, 20774, 20773, 20770, 20772, 20768, 20777, 21236, 22163,
  9851. {f: 2, c: 22156}, 22150, 22148, 22147, 22142, 22146, 22143, 22145, 22742,
  9852. 22740, 22735, 22738, 23341, 23333, 23346, 23331, 23340, 23335, 23334,
  9853. 23343, 23342, 23419, {f: 2, c: 23537}, 23991, 24172, 24170, 24510, 25027,
  9854. 25013, 25020, 25063, 25056, 25061, 25060, 25064, 25054, 25839, 25833,
  9855. 25827, 25835, 25828, 25832, 25985, 25984, 26038, 26074, 26322, 27277,
  9856. 27286, 27265, 27301, 27273, 27295, 27291, 27297, 27294, 27271, 27283,
  9857. 27278, 27285, 27267, 27304, 27300, 27281, 27263, 27302, 27290, 27269,
  9858. 27276, 27282, 27483, 27565, 27657, 28620, 28585, 28660, 28628, 28643,
  9859. 28636, 28653, 28647, 28646, 28638, 28658, 28637, 28642, 28648, 29153,
  9860. 29169, 29160, 29170, 29156, 29168, 29154, 29555, {f: 2, c: 29550}, 29847,
  9861. 29874, 29867, 29840, 29866, 29869, 29873, 29861, 29871, {f: 3, c: 29968},
  9862. 29967, 30084, 30275, {f: 2, c: 30280}, 30279, 30372, 30441, 30645, 30635,
  9863. 30642, 30647, 30646, 30644, 30641, 30632, 30704, 30963, 30973, 30978,
  9864. {f: 2, c: 30971}, 30975, 30962, 30981, 30969, 30974, 30980, 31147, 31144,
  9865. 31324, 31323, 31318, 31320, 31316, 31322, 31422, {f: 2, c: 31424}, 31749,
  9866. 31759, 31730, 31744, 31743, 31739, 31758, 31732, 31755, 31731, 31746,
  9867. 31753, 31747, 31745, 31736, 31741, [31750, 58176], {f: 2, c: 31728}, 31760,
  9868. 31754, 31976, 32301, 32316, 32322, 32307, 38984, 32312, 32298, 32329,
  9869. 32320, 32327, 32297, 32332, 32304, 32315, 32310, 32324, 32314, 32581,
  9870. 32639, 32638, 32637, 32756, 32754, 32812, 33211, 33220, 33228, 33226,
  9871. 33221, 33223, 33212, 33257, 33371, 33370, 33372, 34179, 34176, 34191,
  9872. 34215, 34197, 34208, 34187, 34211, 34171, 34212, 34202, 34206, 34167,
  9873. 34172, 34185, 34209, 34170, 34168, 34135, 34190, 34198, 34182, 34189,
  9874. 34201, 34205, 34177, 34210, 34178, 34184, 34181, 34169, 34166, 34200,
  9875. 34192, 34207, 34408, 34750, 34730, 34733, 34757, 34736, 34732, 34745,
  9876. 34741, 34748, 34734, 34761, 34755, 34754, 34764, 34743, 34735, 34756,
  9877. 34762, 34740, 34742, 34751, 34744, 34749, 34782, 34738, 35125, 35123,
  9878. 35132, 35134, 35137, 35154, 35127, 35138, 35245, 35247, 35246,
  9879. {f: 2, c: 35314}, 35614, 35608, 35606, 35601, 35589, 35595, 35618, 35599,
  9880. 35602, 35605, 35591, 35597, 35592, 35590, 35612, 35603, 35610, 35919,
  9881. 35952, 35954, 35953, 35951, 35989, 35988, 36089, 36207, 36430, 36429,
  9882. 36435, 36432, 36428, 36423, 36675, 36672, 36997, 36990, 37176, 37274,
  9883. 37282, 37275, 37273, 37279, 37281, 37277, 37280, 37793, 37763, 37807,
  9884. 37732, 37718, 37703, 37756, 37720, 37724, 37750, 37705, {f: 2, c: 37712},
  9885. 37728, 37741, 37775, 37708, 37738, 37753, 37719, 37717, 37714, 37711,
  9886. 37745, 37751, 37755, 37729, 37726, 37731, 37735, 37710, 37721, 38343,
  9887. 38336, 38345, 38339, 38341, 38327, 38574, 38576, 38572, 38688, 38687,
  9888. 38680, 38685, 38681, 38810, 38817, 38812, 38814, 38813, 38869, 38868,
  9889. 38897, 38977, 38980, 38986, 38985, 38981, 38979, 39205, {f: 2, c: 39211},
  9890. 39210, 39219, 39218, 39215, 39213, 39217, 39216, 39320, 39331, 39329,
  9891. 39426, 39418, 39412, 39415, 39417, 39416, 39414, 39419, {f: 2, c: 39421},
  9892. 39420, 39427, 39614, 39678, 39677, 39681, 39676, 39752, 39834, 39848,
  9893. 39838, 39835, 39846, 39841, 39845, 39844, 39814, 39842, 39840, 39855,
  9894. 40243, 40257, 40295, 40246, {f: 2, c: 40238}, 40241, 40248, 40240, 40261,
  9895. {f: 2, c: 40258}, 40254, 40247, 40256, 40253, 32757, 40237, 40586, 40585,
  9896. 40589, 40624, 40648, 40666, 40699, 40703, 40740, 40739, 40738, 40788,
  9897. [12245, 40864], 20785, {f: 2, c: 20781}, 22168, 22172, 22167, 22170, 22173,
  9898. 22169, 22896, 23356, {f: 2, c: 23657}, 24000, {f: 2, c: 24173}, 25048,
  9899. 25055, {f: 2, c: 25069}, 25073, 25066, 25072, 25067, 25046, 25065, 25855,
  9900. 25860, 25853, 25848, 25857, 25859, 25852, 26004, 26075, {f: 2, c: 26330},
  9901. 26328, 27333, 27321, 27325, 27361, 27334, 27322, {f: 2, c: 27318}, 27335,
  9902. 27316, 27309, 27486, 27593, 27659, 28679, {f: 2, c: 28684}, 28673, 28677,
  9903. 28692, 28686, {f: 2, c: 28671}, 28667, 28710, 28668, 28663, 28682,
  9904. [29185, 60224], 29183, 29177, 29187, 29181, 29558, 29880, 29888, 29877,
  9905. 29889, 29886, 29878, 29883, 29890, 29972, 29971, 30300, 30308, 30297,
  9906. 30288, 30291, 30295, 30298, 30374, 30397, 30444, 30658, 30650, 30988,
  9907. {f: 2, c: 30995}, 30985, 30992, 30994, 30993, 31149, 31148, 31327, 31772,
  9908. 31785, 31769, 31776, 31775, 31789, 31773, 31782, 31784, 31778, 31781,
  9909. 31792, 32348, 32336, 32342, 32355, 32344, 32354, 32351, 32337, 32352,
  9910. 32343, 32339, 32693, 32691, {f: 2, c: 32759}, 32885, {f: 2, c: 33233},
  9911. 33232, 33375, 33374, 34228, 34246, 34240, 34243, 34242, 34227, 34229,
  9912. 34237, 34247, 34244, 34239, 34251, 34254, 34248, 34245, 34225, 34230,
  9913. 34258, 34340, 34232, 34231, 34238, 34409, 34791, 34790, 34786, 34779,
  9914. 34795, 34794, 34789, 34783, 34803, 34788, 34772, 34780, 34771, 34797,
  9915. 34776, 34787, 34775, 34777, 34817, 34804, 34792, 34781, 35155, 35147,
  9916. 35151, 35148, 35142, {f: 2, c: 35152}, 35145, 35626, 35623, 35619, 35635,
  9917. 35632, 35637, 35655, 35631, 35644, 35646, 35633, 35621, 35639, 35622,
  9918. 35638, 35630, 35620, 35643, 35645, 35642, 35906, 35957, 35993, 35992,
  9919. 35991, 36094, 36100, 36098, 36096, 36444, 36450, 36448, 36439, 36438,
  9920. 36446, 36453, 36455, 36443, 36442, 36449, 36445, 36457, 36436,
  9921. {f: 3, c: 36678}, 36683, 37160, {f: 2, c: 37178}, 37182, 37288, 37285,
  9922. 37287, 37295, 37290, 37813, 37772, 37778, 37815, 37787, 37789, 37769,
  9923. 37799, 37774, 37802, 37790, 37798, 37781, 37768, 37785, 37791, 37760,
  9924. 37773, 37809, 37777, 37810, 37796, 37800, 37812, 37795, {f: 2, c: 38354},
  9925. 38353, 38579, 38615, 38618, 24002, 38623, 38616, 38621, 38691, 38690,
  9926. 38693, 38828, 38830, 38824, 38827, 38820, 38826, 38818, 38821, 38871,
  9927. 38873, 38870, 38872, 38906, {f: 3, c: 38992}, 39096, 39233, 39228, 39226,
  9928. 39439, 39435, 39433, 39437, 39428, 39441, 39434, 39429, 39431, 39430,
  9929. 39616, 39644, 39688, {f: 2, c: 39684}, 39721, 39733, 39754, 39756, 39755,
  9930. 39879, 39878, 39875, 39871, 39873, 39861, 39864, 39891, 39862, 39876,
  9931. 39865, 39869, 40284, 40275, 40271, 40266, 40283, 40267, 40281, 40278,
  9932. 40268, 40279, 40274, 40276, 40287, 40280, 40282, 40590, 40588, 40671,
  9933. 40705, 40704, [40726, 58693], 40741, 40747, 40746, 40745, 40744, 40780,
  9934. 40789, {f: 2, c: 20788}, 21142, 21239, 21428, 22187, 22189,
  9935. {f: 2, c: 22182}, 22186, 22188, 22746, 22749, 22747, 22802,
  9936. {f: 3, c: 23357}, 24003, 24176, 24511, 25083, 25863, 25872, 25869, 25865,
  9937. 25868, 25870, 25988, 26078, 26077, 26334, 27367, 27360, 27340, 27345,
  9938. 27353, 27339, 27359, 27356, 27344, 27371, 27343, 27341, 27358, 27488,
  9939. 27568, 27660, 28697, 28711, 28704, 28694, 28715, {f: 3, c: 28705}, 28713,
  9940. 28695, 28708, 28700, 29196, 29194, 29191, 29186, 29189, {f: 2, c: 29349},
  9941. 29348, 29347, 29345, 29899, 29893, 29879, 29891, 29974, 30304,
  9942. {f: 2, c: 30665}, 30660, 30705, 31005, 31003, 31009, 31004, 30999, 31006,
  9943. 31152, {f: 2, c: 31335}, 31795, 31804, 31801, 31788, 31803, 31980, 31978,
  9944. 32374, 32373, 32376, 32368, 32375, 32367, 32378, 32370, 32372, 32360,
  9945. 32587, 32586, 32643, 32646, 32695, {f: 2, c: 32765}, 32888, 33239, 33237,
  9946. 33291, 33380, 33377, 33379, 34283, 34289, 34285, 34265, 34273, 34280,
  9947. 34266, 34263, 34284, 34290, 34296, 34264, 34271, 34275, 34268, 34257,
  9948. 34288, 34278, 34287, 34270, 34274, 34816, 34810, 34819, {f: 2, c: 34806},
  9949. 34825, 34828, 34827, 34822, 34812, 34824, 34815, 34826, 34818, 35170,
  9950. {f: 2, c: 35162}, 35159, 35169, 35164, 35160, 35165, 35161, 35208, 35255,
  9951. 35254, 35318, 35664, 35656, 35658, 35648, 35667, 35670, 35668, 35659,
  9952. 35669, 35665, 35650, 35666, 35671, 35907, 35959, 35958, 35994,
  9953. {f: 2, c: 36102}, 36105, 36268, 36266, 36269, 36267, 36461, 36472, 36467,
  9954. 36458, 36463, 36475, 36546, 36690, 36689, {f: 2, c: 36687}, 36691, 36788,
  9955. 37184, 37183, 37296, 37293, 37854, 37831, 37839, 37826, 37850, 37840,
  9956. 37881, 37868, 37836, 37849, 37801, 37862, 37834, 37844, 37870, 37859,
  9957. 37845, 37828, 37838, 37824, 37842, 37797, 37863, 38269, {f: 2, c: 38362},
  9958. 38625, 38697, {f: 2, c: 38699}, 38696, 38694, 38835, 38839, 38838,
  9959. {f: 3, c: 38877}, 39004, 39001, 39005, 38999, 39103, 39101, 39099, 39102,
  9960. 39240, 39239, 39235, {f: 2, c: 39334}, 39450, 39445, 39461, 39453, 39460,
  9961. 39451, 39458, 39456, 39463, 39459, 39454, 39452, 39444, 39618, 39691,
  9962. 39690, 39694, 39692, 39735, {f: 2, c: 39914}, 39904, 39902, 39908, 39910,
  9963. 39906, 39920, 39892, 39895, 39916, 39900, 39897, 39909, 39893, 39905,
  9964. 39898, 40311, 40321, 40330, 40324, 40328, 40305, 40320, 40312, 40326,
  9965. {f: 2, c: 40331}, 40317, 40299, {f: 2, c: 40308}, 40304, 40297, 40325,
  9966. 40307, 40315, 40322, 40303, 40313, 40319, 40327, 40296, 40596, 40593,
  9967. 40640, 40700, 40749, {f: 2, c: 40768}, 40781, {f: 3, c: 40790}, 21303,
  9968. 22194, 22197, 22195, 22755, 23365, {f: 2, c: 24006}, {f: 2, c: 24302},
  9969. {f: 2, c: 24512}, 25081, 25879, 25878, 25877, 25875, 26079, 26344,
  9970. {f: 2, c: 26339}, 27379, 27376, 27370, 27368, 27385, 27377,
  9971. {f: 2, c: 27374}, 28732, 28725, 28719, 28727, 28724, 28721, 28738, 28728,
  9972. 28735, 28730, 28729, 28714, 28736, 28731, 28723, 28737, {f: 2, c: 29203},
  9973. 29352, 29565, 29564, 29882, 30379, 30378, 30398, 30445, 30668,
  9974. {f: 2, c: 30670}, 30669, 30706, 31013, 31011, {f: 2, c: 31015}, 31012,
  9975. 31017, 31154, 31342, {f: 2, c: 31340}, 31479, 31817, 31816, 31818, 31815,
  9976. 31813, 31982, 32379, 32382, 32385, 32384, 32698, 32767, 32889, 33243,
  9977. 33241, {f: 2, c: 33384}, 34338, 34303, 34305, 34302, 34331, 34304, 34294,
  9978. 34308, 34313, 34309, 34316, 34301, 34841, {f: 2, c: 34832}, 34839, 34835,
  9979. 34838, 35171, 35174, 35257, 35319, 35680, 35690, 35677, 35688, 35683,
  9980. 35685, 35687, 35693, 36270, 36486, 36488, 36484, 36697, {f: 2, c: 36694},
  9981. 36693, 36696, 36698, 37005, 37187, 37185, 37303, 37301, {f: 2, c: 37298},
  9982. 37899, 37907, 37883, 37920, 37903, 37908, 37886, 37909, 37904, 37928,
  9983. 37913, 37901, 37877, 37888, 37879, 37895, 37902, 37910, 37906, 37882,
  9984. 37897, 37880, 37948, 37898, 37887, 37884, 37900, 37878, 37905, 37894,
  9985. 38366, 38368, 38367, {f: 2, c: 38702}, 38841, 38843, {f: 2, c: 38909},
  9986. 39008, {f: 2, c: 39010}, 39007, {f: 2, c: 39105}, 39248, 39246, 39257,
  9987. 39244, 39243, 39251, 39474, 39476, 39473, 39468, 39466, 39478, 39465,
  9988. 39470, 39480, 39469, 39623, 39626, 39622, 39696, 39698, 39697, 39947,
  9989. 39944, 39927, 39941, 39954, 39928, 40000, 39943, 39950, 39942, 39959,
  9990. 39956, 39945, 40351, 40345, 40356, 40349, 40338, 40344, 40336, 40347,
  9991. 40352, 40340, 40348, 40362, 40343, 40353, 40346, 40354, 40360, 40350,
  9992. 40355, 40383, 40361, 40342, {f: 2, c: 40358}, 40601, 40603, 40602, 40677,
  9993. 40676, 40679, 40678, 40752, 40750, 40795, 40800, 40798, 40797, 40793,
  9994. 40849, 20794, 20793, 21144, 21143, 22211, {f: 2, c: 22205}, 23368, 23367,
  9995. 24011, 24015, 24305, 25085, 25883, 27394, 27388, 27395, 27384, 27392,
  9996. {f: 2, c: 28739}, 28746, {f: 2, c: 28744}, {f: 2, c: 28741}, 29213, 29210,
  9997. 29209, 29566, 29975, 30314, 30672, 31021, 31025, 31023, 31828, 31827,
  9998. 31986, 32394, [32391, 60229], 32392, 32395, 32390, 32397, 32589, 32699,
  9999. 32816, 33245, 34328, 34346, 34342, 34335, 34339, 34332, 34329, 34343,
  10000. 34350, 34337, 34336, 34345, 34334, 34341, 34857, 34845, 34843, 34848,
  10001. 34852, 34844, 34859, 34890, 35181, 35177, 35182, 35179, 35322, 35705,
  10002. 35704, 35653, {f: 2, c: 35706}, 36112, 36116, 36271, 36494, 36492, 36702,
  10003. 36699, 36701, 37190, {f: 2, c: 37188}, 37305, 37951, 37947, 37942, 37929,
  10004. 37949, 37936, 37945, 37930, 37943, 37932, 37952, 37937, 38373, 38372,
  10005. 38371, 38709, 38714, 38847, 38881, 39012, 39113, 39110, 39104, 39256,
  10006. 39254, 39481, 39485, 39494, 39492, 39490, 39489, 39482, 39487, 39629,
  10007. 39701, {f: 2, c: 39703}, 39702, 39738, 39762, 39979, 39965, 39964, 39980,
  10008. 39971, {f: 2, c: 39976}, 39972, 39969, 40375, 40374, 40380, 40385, 40391,
  10009. 40394, 40399, 40382, 40389, 40387, 40379, 40373, 40398, {f: 2, c: 40377},
  10010. 40364, 40392, 40369, 40365, 40396, 40371, 40397, 40370, 40570, 40604,
  10011. 40683, 40686, 40685, 40731, 40728, 40730, 40753, 40782, 40805, 40804,
  10012. 40850, 20153, 22214, 22213, 22219, 22897, {f: 2, c: 23371}, 24021, 24017,
  10013. 24306, 25889, 25888, 25894, 25890, 27403, {f: 2, c: 27400}, 27661,
  10014. {f: 3, c: 28757}, 28754, {f: 2, c: 29214}, 29353, 29567, 29912, 29909,
  10015. 29913, 29911, 30317, 30381, 31029, 31156, {f: 2, c: 31344}, 31831, 31836,
  10016. 31833, 31835, 31834, 31988, 31985, 32401, 32591, 32647, 33246, 33387,
  10017. {f: 2, c: 34356}, 34355, 34348, 34354, 34358, 34860, 34856, 34854, 34858,
  10018. 34853, 35185, 35263, 35262, 35323, 35710, 35716, 35714, 35718, 35717,
  10019. 35711, 36117, 36501, 36500, 36506, 36498, 36496, {f: 2, c: 36502}, 36704,
  10020. 36706, 37191, 37964, 37968, {f: 2, c: 37962}, 37967, 37959, 37957,
  10021. {f: 2, c: 37960}, 37958, 38719, 38883, 39018, 39017, 39115, 39252, 39259,
  10022. 39502, {f: 2, c: 39507}, 39500, 39503, 39496, 39498, 39497, 39506, 39504,
  10023. 39632, 39705, 39723, 39739, 39766, 39765, 40006, 40008, 39999, 40004,
  10024. 39993, 39987, 40001, 39996, 39991, 39988, 39986, 39997, 39990, 40411,
  10025. 40402, 40414, 40410, 40395, 40400, 40412, 40401, 40415, 40425, 40409,
  10026. 40408, 40406, 40437, 40405, 40413, 40630, 40688, 40757, 40755, 40754,
  10027. 40770, 40811, 40853, 40866, 20797, 21145, 22760, 22759, 22898, 23373,
  10028. 24024, 34863, 24399, 25089, {f: 2, c: 25091}, 25897, 25893, 26006, 26347,
  10029. {f: 2, c: 27409}, 27407, 27594, 28763, 28762, 29218, 29570, 29569, 29571,
  10030. 30320, 30676, 31847, 31846, 32405, 33388, 34362, 34368, 34361, 34364,
  10031. 34353, 34363, 34366, 34864, 34866, 34862, 34867, 35190, 35188, 35187,
  10032. 35326, 35724, 35726, 35723, 35720, 35909, 36121, 36504, 36708, 36707,
  10033. 37308, 37986, 37973, 37981, 37975, 37982, {f: 2, c: 38852}, 38912, 39510,
  10034. 39513, {f: 3, c: 39710}, 40018, 40024, 40016, 40010, 40013, 40011, 40021,
  10035. 40025, 40012, 40014, 40443, 40439, 40431, 40419, 40427, 40440, 40420,
  10036. 40438, 40417, 40430, 40422, 40434, [40432, 60370], 40418, 40428, 40436,
  10037. 40435, 40424, 40429, 40642, 40656, {f: 2, c: 40690}, 40710, 40732, 40760,
  10038. 40759, 40758, 40771, 40783, 40817, 40816, {f: 2, c: 40814}, 22227, 22221,
  10039. 23374, 23661, 25901, {f: 2, c: 26349}, 27411, 28767, 28769, 28765, 28768,
  10040. 29219, 29915, 29925, 30677, 31032, 31159, 31158, 31850, 32407, 32649,
  10041. 33389, 34371, 34872, 34871, 34869, 34891, {f: 2, c: 35732},
  10042. {f: 3, c: 36510}, 36509, 37310, 37309, 37314, 37995, {f: 2, c: 37992},
  10043. 38629, 38726, 38723, 38727, 38855, 38885, 39518, 39637, 39769, 40035,
  10044. 40039, 40038, 40034, 40030, 40032, 40450, 40446, 40455, 40451, 40454,
  10045. 40453, {f: 2, c: 40448}, 40457, 40447, 40445, 40452, 40608, 40734, 40774,
  10046. {f: 3, c: 40820}, 22228, 25902, 26040, {f: 2, c: 27416}, 27415, 27418,
  10047. 28770, 29222, 29354, {f: 2, c: 30680}, 31033, 31849, 31851, 31990, 32410,
  10048. 32408, 32411, 32409, {f: 2, c: 33248}, {f: 3, c: 34374}, {f: 2, c: 35193},
  10049. 35196, 35195, 35327, {f: 2, c: 35736}, 36517, 36516, 36515, 37998, 37997,
  10050. 37999, 38001, 38003, 38729, 39026, 39263, 40040, 40046, 40045, 40459,
  10051. 40461, 40464, 40463, 40466, 40465, 40609, 40693, 40713, 40775, 40824,
  10052. 40827, 40826, 40825, 22302, 28774, 31855, 34876, 36274, 36518, 37315,
  10053. 38004, 38008, 38006, 38005, 39520, [39726, 60830], 40052, 40051, 40049,
  10054. 40053, 40468, 40467, 40694, 40714, 40868, 28776, 28773, 31991, 34410,
  10055. 34878, 34877, 34879, 35742, 35996, 36521, 36553, 38731, {f: 2, c: 39027},
  10056. 39116, 39265, 39339, 39524, {f: 2, c: 39526}, 39716, 40469, 40471, 40776,
  10057. 25095, 27422, 29223, 34380, 36520, 38018, {f: 2, c: 38016}, 39529, 39528,
  10058. 40473, 34379, 35743, 38019, 40057, 40631, 30325, 39531, 40058, 40477,
  10059. {f: 2, c: 28777}, 29225, 40612, 40830, 40777, 40856, {s: 97}, 65075, 0,
  10060. 65076, 65103, [168, 776, 63208], [710, 63209, 65342], [12541, 63210],
  10061. [12542, 63211], [12445, 63212], [12446, 63213], 0, [12293, 63216],
  10062. [12294, 63217], [12295, 63218], [12540, 63219], [63220, 65339],
  10063. [63221, 65341], [10045, 63222], [12353, 63223], [12354, 63224],
  10064. [12355, 63225], [12356, 63226], [12357, 63227], [12358, 63228],
  10065. [12359, 63229], [12360, 63230], [12361, 63231], [12362, 63232],
  10066. [12363, 63233], [12364, 63234], [12365, 63235], [12366, 63236],
  10067. [12367, 63237], [12368, 63238], [12369, 63239], [12370, 63240],
  10068. [12371, 63241], [12372, 63242], [12373, 63243], [12374, 63244],
  10069. [12375, 63245], [12376, 63246], [12377, 63247], [12378, 63248],
  10070. [12379, 63249], [12380, 63250], [12381, 63251], [12382, 63252],
  10071. [12383, 63253], [12384, 63254], [12385, 63255], [12386, 63256],
  10072. [12387, 63257], [12388, 63258], [12389, 63259], [12390, 63260],
  10073. [12391, 63261], [12392, 63262], [12393, 63263], [12394, 63264],
  10074. [12395, 63265], [12396, 63266], [12397, 63267], [12398, 63268],
  10075. [12399, 63269], [12400, 63270], [12401, 63271], [12402, 63272],
  10076. [12403, 63273], [12404, 63274], [12405, 63275], [12406, 63276],
  10077. [12407, 63277], [12408, 63278], [12409, 63279], [12410, 63280],
  10078. [12411, 63281], [12412, 63282], [12413, 63283], [12414, 63284],
  10079. [12415, 63285], [12416, 63286], [12417, 63287], [12418, 63288],
  10080. [12419, 63289], [12420, 63290], [12421, 63291], [12422, 63292],
  10081. [12423, 63293], [12424, 63294], [12425, 63295], [12426, 63296],
  10082. [12427, 63297], [12428, 63298], [12429, 63299], [12430, 63300],
  10083. [12431, 63301], [12432, 63302], [12433, 63303], [12434, 63304],
  10084. [12435, 63305], [12449, 63306], [12450, 63307], [12451, 63308],
  10085. [12452, 63309], [12453, 63310], [12454, 63311], [12455, 63312],
  10086. [12456, 63313], [12457, 63314], [12458, 63315], [12459, 63316],
  10087. [12460, 63317], [12461, 63318], [12462, 63319], [12463, 63320],
  10088. [12464, 63321], [12465, 63322], [12466, 63323], [12467, 63324],
  10089. [12468, 63325], [12469, 63326], [12470, 63327], [12471, 63328],
  10090. [12472, 63329], [12473, 63330], [12474, 63331], [12475, 63332],
  10091. [12476, 63333], [12477, 63334], [12478, 63335], [12479, 63336],
  10092. [12480, 63337], [12481, 63338], [12482, 63339], [12483, 63340],
  10093. [12484, 63341], [12485, 63342], [12486, 63343], [12487, 63344],
  10094. [12488, 63345], [12489, 63346], [12490, 63347], [12491, 63348],
  10095. [12492, 63349], [12493, 63350], [12494, 63351], [12495, 63352],
  10096. [12496, 63353], [12497, 63354], [12498, 63355], [12499, 63356],
  10097. [12500, 63357], [12501, 63358], [12502, 63359], [12503, 63360],
  10098. [12504, 63361], [12505, 63362], [12506, 63363], [12507, 63364],
  10099. [12508, 63365], [12509, 63366], [12510, 63367], [12511, 63368],
  10100. [12512, 63369], [12513, 63370], [12514, 63371], [12515, 63372],
  10101. [12516, 63373], [12517, 63374], [12518, 63375], [12519, 63376],
  10102. [12520, 63377], [12521, 63378], [12522, 63379], [12523, 63380],
  10103. [12524, 63381], [12525, 63382], [12526, 63383], [12527, 63384],
  10104. [12528, 63385], [12529, 63386], [12530, 63387], [12531, 63388],
  10105. [12532, 63389], [12533, 63390], [12534, 63391], [1040, 63392],
  10106. [1041, 63393], [1042, 63394], [1043, 63395], [1044, 63396], [1045, 63397],
  10107. [1025, 63398], [1046, 63399], [1047, 63400], [1048, 63401], [1049, 63402],
  10108. [1050, 63403], [1051, 63404], [1052, 63405], [1053, 63406], [1054, 63407],
  10109. [1055, 63408], [1056, 63409], [1057, 63410], [1058, 63411], [1059, 63412],
  10110. [1060, 63413], [1061, 63414], [1062, 63415], [1063, 63416], [1064, 63417],
  10111. [1065, 63418], [1066, 63419], [1067, 63420], [1068, 63421], [1069, 63422],
  10112. [1070, 63423], [1071, 63424], [1072, 63425], [1073, 63426], [1074, 63427],
  10113. [1075, 63428], [1076, 63429], [1077, 63430], [1105, 63431], [1078, 63432],
  10114. [1079, 63433], [1080, 63434], [1081, 63435], [1082, 63436], [1083, 63437],
  10115. [1084, 63438], [1085, 63439], [1086, 63440], [1087, 63441], [1088, 63442],
  10116. [1089, 63443], [1090, 63444], [1091, 63445], [1092, 63446], [1093, 63447],
  10117. [1094, 63448], [1095, 63449], [1096, 63450], [1097, 63451], [1098, 63452],
  10118. [1099, 63453], [1100, 63454], [1101, 63455], [1102, 63456], [1103, 63457],
  10119. [8679, 63458], [8632, 63459], [8633, 63460], [20033, 63461],
  10120. [63462, 131276], [20058, 63463], [63464, 131210], [20994, 63465],
  10121. [17553, 63466], 63467, [20872, 63468], [13853, 63469], [63470, 161287],
  10122. {s: 40}, [172, 63511, 65506], [63512, 65508], [63513, 65287],
  10123. [63514, 65282], [12849, 63515], [8470, 63516], [8481, 63517], 30849,
  10124. [37561, 58501], 35023, 22715, 24658, 31911, 23290, 9556, 9574, 9559, 9568,
  10125. 9580, 9571, 9562, 9577, 9565, 9554, 9572, 9557, {s: 3}, 9560, 9575, 9563,
  10126. 9555, 9573, 9558, 9567, 9579, 9570, 9561, 9576, 9564, 9553, {s: 5}, 9619,
  10127. {s: 26}, [58129, 147159], [22462, 58130], [58131, 159443], [28990, 58132],
  10128. [58133, 153568], [27042, 58135], [58136, 166889], [23412, 58137],
  10129. [31305, 58138], [58139, 153825], [58140, 169177], [31333, 58141],
  10130. [31357, 58142], [58143, 154028], [31419, 58144], [31408, 58145],
  10131. [31426, 58146], [31427, 58147], [29137, 58148], [58149, 156813],
  10132. [16842, 58150], [31450, 58151], [31453, 58152], [31466, 58153],
  10133. [16879, 58154], [21682, 58155], [58156, 154625], [31499, 58157],
  10134. [31573, 58158], [31529, 58159], [58160, 152334], [58161, 154878],
  10135. [31650, 58162], [31599, 58163], [33692, 58164], [58165, 154548],
  10136. [58166, 158847], [31696, 58167], [33825, 58168], [31634, 58169], 0,
  10137. [58171, 154912], 0, [33938, 58174], [31738, 58175], 0, [31797, 58177],
  10138. [58178, 154817], [31812, 58179], [31875, 58180], [58181, 149634],
  10139. [31910, 58182], [58184, 148856], [31945, 58185], [31943, 58186],
  10140. [31974, 58187], 0, [31987, 58189], [31989, 58190], [32359, 58192],
  10141. [17693, 58193], [58194, 159300], [32093, 58195], [58196, 159446],
  10142. [32137, 58198], [32171, 58199], [28981, 58200], [32179, 58201], 32214,
  10143. [58203, 147543], [58204, 155689], [32228, 58205], [15635, 58206],
  10144. [32245, 58207], [58208, 137209], [32229, 58209], [58210, 164717], 0,
  10145. [58212, 155937], [58213, 155994], [32366, 58214], 0, [17195, 58216],
  10146. [37996, 58217], [32295, 58218], [32576, 58219], [32577, 58220],
  10147. [32583, 58221], [31030, 58222], [58223, 156368], [39393, 58224],
  10148. [32663, 58225], [58226, 156497], [32675, 58227], [58228, 136801],
  10149. [58229, 131176], [17756, 58230], [58231, 145254], [58233, 164666],
  10150. [32762, 58234], [58235, 156809], 0, [32776, 58237], [32797, 58238], 0,
  10151. [32815, 58240], [58241, 172167], [58242, 158915], [32827, 58243],
  10152. [32828, 58244], [32865, 58245], [58246, 141076], [18825, 58247],
  10153. [58248, 157222], [58249, 146915], [58250, 157416], [26405, 58251],
  10154. [32935, 58252], [58253, 166472], [33031, 58254], [33050, 58255],
  10155. [22704, 58256], [58257, 141046], [27775, 58258], [58259, 156824],
  10156. [25831, 58261], [58262, 136330], [33304, 58263], [58264, 137310],
  10157. [27219, 58265], [58266, 150117], [58267, 150165], [17530, 58268],
  10158. [33321, 58269], [58271, 158290], [58272, 146814], [20473, 58273],
  10159. [58274, 136445], [34018, 58275], [33634, 58276], 0, [58278, 149927],
  10160. [58279, 144688], [58280, 137075], [58281, 146936], [33450, 58282],
  10161. [26907, 58283], [58284, 194964], [16859, 58285], [34123, 58286],
  10162. [33488, 58287], [33562, 58288], [58289, 134678], [58290, 137140],
  10163. [14017, 58291], [58292, 143741], [58293, 144730], [33403, 58294],
  10164. [33506, 58295], [33560, 58296], [58297, 147083], [58298, 159139],
  10165. [58299, 158469], [58300, 158615], [58301, 144846], [15807, 58302],
  10166. [33565, 58303], [21996, 58304], [33669, 58305], [17675, 58306],
  10167. [58307, 159141], [33708, 58308], 0, [33747, 58310], [58312, 159444],
  10168. [27223, 58313], [34138, 58314], [13462, 58315], [58316, 159298],
  10169. [33880, 58318], [58319, 154596], [33905, 58320], [15827, 58321],
  10170. [17636, 58322], [27303, 58323], [33866, 58324], [31064, 58326], 0,
  10171. [58328, 158614], [58329, 159351], [58330, 159299], [34014, 58331], 0,
  10172. [33681, 58333], [17568, 58334], [33939, 58335], [34020, 58336],
  10173. [58337, 154769], [16960, 58338], [58339, 154816], [17731, 58340],
  10174. [34100, 58341], [23282, 58342], 0, [17703, 58344], [34163, 58345],
  10175. [17686, 58346], [26559, 58347], [34326, 58348], [58349, 165413],
  10176. [58350, 165435], [34241, 58351], [58352, 159880], [34306, 58353],
  10177. [58354, 136578], [58355, 159949], [58356, 194994], [17770, 58357],
  10178. [34344, 58358], [13896, 58359], [58360, 137378], [21495, 58361],
  10179. [58362, 160666], [34430, 58363], 0, [58365, 172280], [34798, 58366],
  10180. [58367, 142375], [34737, 58368], [34778, 58369], [34831, 58370, 60990],
  10181. [22113, 58371], [34412, 58372], [26710, 58373], [17935, 58374],
  10182. [34885, 58375], [34886, 58376], [58377, 161248], [58378, 146873],
  10183. [58379, 161252], [34910, 58380], [34972, 58381], [18011, 58382],
  10184. [34996, 58383], [34997, 58384], [35013, 58386], [58388, 161551],
  10185. [35207, 58389], {s: 3}, [35239, 58393], [35260, 58394], [58395, 166437],
  10186. [35303, 58396], [58397, 162084], [58398, 162493], [35484, 58399],
  10187. [30611, 58400], [37374, 58401], [35472, 58402], [58403, 162393],
  10188. [31465, 58404], [58405, 162618], [18195, 58407], [58408, 162616],
  10189. [29052, 58409], [35596, 58410], [35615, 58411], [58412, 152624],
  10190. [58413, 152933], [35647, 58414], 0, [35661, 58416], [35497, 58417],
  10191. [58418, 150138], [35728, 58419], [35739, 58420], [35503, 58421],
  10192. [58422, 136927], [17941, 58423], [34895, 58424], [35995, 58425],
  10193. [58426, 163156], [58427, 163215], [58428, 195028], [14117, 58429],
  10194. [58430, 163155], [36054, 58431], [58432, 163224], [58433, 163261],
  10195. [36114, 58434], [36099, 58435], [58436, 137488], [36059, 58437],
  10196. [28764, 58438], [36113, 58439], [16080, 58441], 0, [36265, 58443],
  10197. [58444, 163842], [58445, 135188], [58446, 149898], [15228, 58447],
  10198. [58448, 164284], [58449, 160012], [31463, 58450], [36525, 58451],
  10199. [36534, 58452], [36547, 58453], [37588, 58454], [36633, 58455],
  10200. [36653, 58456], [58457, 164709], [58458, 164882], [36773, 58459],
  10201. [37635, 58460], [58461, 172703], [58462, 133712], [36787, 58463], 0,
  10202. [58465, 166366], [58466, 165181], [58467, 146875], [24312, 58468],
  10203. [58469, 143970], [36857, 58470], 0, [58474, 140069], [14720, 58475],
  10204. [58476, 159447], [36919, 58477], [58478, 165180], [58479, 162494],
  10205. [36961, 58480], [58481, 165228], [58482, 165387], [37032, 58483],
  10206. [58484, 165651], [37060, 58485], [58486, 165606], [37038, 58487], 0,
  10207. [37223, 58489], [37289, 58491], [37316, 58492], [31916, 58493],
  10208. [58494, 166195], [58495, 138889], [37390, 58496], [27807, 58497],
  10209. [37441, 58498], [37474, 58499], [58500, 153017], [58502, 166598],
  10210. [58503, 146587], [58504, 166668], [58505, 153051], [58506, 134449],
  10211. [37676, 58507], [37739, 58508], [58509, 166625], [58510, 166891],
  10212. [23235, 58512], [58513, 166626], [58514, 166629], [18789, 58515],
  10213. [37444, 58516], [58517, 166892], [58518, 166969], [58519, 166911],
  10214. [37747, 58520], [37979, 58521], [36540, 58522], [38277, 58523],
  10215. [38310, 58524], [37926, 58525], [38304, 58526], [28662, 58527],
  10216. [17081, 58528], [58530, 165592], [58531, 135804], [58532, 146990],
  10217. [18911, 58533], [27676, 58534], [38523, 58535], [38550, 58536],
  10218. [16748, 58537], [38563, 58538], [58539, 159445], [25050, 58540], 58541,
  10219. [30965, 58542], [58543, 166624], [38589, 58544], [21452, 58545],
  10220. [18849, 58546], [58547, 158904], [58548, 131700], [58549, 156688],
  10221. [58550, 168111], [58551, 168165], [58552, 150225], [58553, 137493],
  10222. [58554, 144138], [38705, 58555], [34370, 58556], [38710, 58557],
  10223. [18959, 58558], [17725, 58559], [17797, 58560], [58561, 150249],
  10224. [28789, 58562], [23361, 58563], [38683, 58564], 0, [58566, 168405],
  10225. [38743, 58567], [23370, 58568], [58569, 168427], [38751, 58570],
  10226. [37925, 58571], [20688, 58572], [58573, 143543], [58574, 143548],
  10227. [38793, 58575], [38815, 58576], [38833, 58577], [38846, 58578],
  10228. [38848, 58579], [38866, 58580], [38880, 58581], [58582, 152684],
  10229. [38894, 58583], [29724, 58584], [58585, 169011], 0, [38901, 58587],
  10230. [58588, 168989], [58589, 162170], [19153, 58590], [38964, 58591],
  10231. [38963, 58592], [38987, 58593], [39014, 58594], [15118, 58595],
  10232. [58596, 160117], [15697, 58597], [58598, 132656], [58599, 147804],
  10233. [58600, 153350], [39114, 58601], [39095, 58602], [39112, 58603],
  10234. [39111, 58604], [19199, 58605], [58606, 159015], [58607, 136915],
  10235. [21936, 58608], [39137, 58609], [39142, 58610], [39148, 58611],
  10236. [37752, 58612], [39225, 58613], [58614, 150057], [19314, 58615],
  10237. [58616, 170071], [58617, 170245], [39413, 58618], [39436, 58619],
  10238. [39483, 58620], [39440, 58621], [39512, 58622], [58623, 153381],
  10239. [14020, 58624], [58625, 168113], [58626, 170965], [39648, 58627],
  10240. [39650, 58628], [58629, 170757], [39668, 58630], [19470, 58631],
  10241. [39700, 58632], [39725, 58633], [58634, 165376], [20532, 58635],
  10242. [39732, 58636], [14531, 58638], [58639, 143485], [39760, 58640],
  10243. [39744, 58641], [58642, 171326], [23109, 58643], [58644, 137315],
  10244. [39822, 58645], [39938, 58647], [39935, 58648], [39948, 58649],
  10245. [58650, 171624], [40404, 58651], [58652, 171959], [58653, 172434],
  10246. [58654, 172459], [58655, 172257], [58656, 172323], [58657, 172511],
  10247. [40318, 58658], [40323, 58659], [58660, 172340], [40462, 58661],
  10248. [40388, 58663], [58665, 172435], [58666, 172576], [58667, 137531],
  10249. [58668, 172595], [40249, 58669], [58670, 172217], [58671, 172724],
  10250. [40592, 58672], [40597, 58673], [40606, 58674], [40610, 58675],
  10251. [19764, 58676], [40618, 58677], [40623, 58678], [58679, 148324],
  10252. [40641, 58680], [15200, 58681], [14821, 58682], [15645, 58683],
  10253. [20274, 58684], [14270, 58685], [58686, 166955], [40706, 58687],
  10254. [40712, 58688], [19350, 58689], [37924, 58690], [58691, 159138],
  10255. [40727, 58692, 60836], 0, [40761, 58694], [22175, 58695], [22154, 58696],
  10256. [40773, 58697], [39352, 58698], [58699, 168075], [38898, 58700],
  10257. [33919, 58701], 0, [40809, 58703], [31452, 58704], [40846, 58705],
  10258. [29206, 58706], [19390, 58707], [58708, 149877], [58709, 149947],
  10259. [29047, 58710], [58711, 150008], [58712, 148296], [58713, 150097],
  10260. [29598, 58714], [58715, 166874], [58716, 137466], [31135, 58717],
  10261. [58718, 166270], [58719, 167478], [37737, 58720], [37875, 58721],
  10262. [58722, 166468], [37612, 58723], [37761, 58724], [37835, 58725],
  10263. [58726, 166252], [58727, 148665], [29207, 58728], [16107, 58729],
  10264. [30578, 58730], [31299, 58731], [28880, 58732], [58733, 148595],
  10265. [58734, 148472], [29054, 58735], [58736, 137199], [28835, 58737],
  10266. [58738, 137406], [58739, 144793], [16071, 58740], [58741, 137349],
  10267. [58742, 152623], [58743, 137208], [14114, 58744], [58745, 136955],
  10268. [58746, 137273], [14049, 58747], [58748, 137076], [58749, 137425],
  10269. [58750, 155467], [14115, 58751], [58752, 136896], [22363, 58753],
  10270. [58754, 150053], [58755, 136190], [58756, 135848], [58757, 136134],
  10271. [58758, 136374], [34051, 58759, 58761], [58760, 145062], 0, [33877, 58762],
  10272. [58763, 149908], [58764, 160101], [58765, 146993], [58766, 152924],
  10273. [58767, 147195], [58768, 159826], [17652, 58769], [58770, 145134],
  10274. [58771, 170397], [58772, 159526], [26617, 58773], [14131, 58774],
  10275. [15381, 58775], [15847, 58776], [22636, 58777], [58778, 137506],
  10276. [26640, 58779], [16471, 58780], [58781, 145215], [58782, 147681],
  10277. [58783, 147595], [58784, 147727], [58785, 158753], [21707, 58786],
  10278. [22174, 58787], [58788, 157361], [22162, 58789], [58790, 135135],
  10279. [58791, 134056], [58792, 134669], 0, [58794, 166675], [37788, 58795],
  10280. [20216, 58796], [20779, 58797], [14361, 58798], [58799, 148534],
  10281. [20156, 58800], [58801, 132197], 0, [20299, 58803], [20362, 58804],
  10282. [58805, 153169], [23144, 58806], [58807, 131499], [58808, 132043],
  10283. [14745, 58809], [58810, 131850], [58811, 132116], [13365, 58812],
  10284. [20265, 58813], [58814, 131776], [58815, 167603], [58816, 131701],
  10285. [35546, 58817], [58818, 131596], [20120, 58819], [20685, 58820],
  10286. [20749, 58821], [20386, 58822], [20227, 58823], [58824, 150030],
  10287. [58825, 147082], [20290, 58826], [20526, 58827], [20588, 58828],
  10288. [20609, 58829], [20428, 58830], [20453, 58831], [20568, 58832],
  10289. [20732, 58833], [28278, 58838], [58839, 144789], [58840, 147001],
  10290. [58841, 147135], [28018, 58842], [58843, 137348], [58844, 147081],
  10291. [20904, 58845], [20931, 58846], [58847, 132576], [17629, 58848],
  10292. [58849, 132259], [58850, 132242], [58851, 132241], [36218, 58852],
  10293. [58853, 166556], [58854, 132878], [21081, 58855], [21156, 58856],
  10294. [58857, 133235], [21217, 58858], 0, [18042, 58860], [29068, 58861],
  10295. [58862, 148364], [58863, 134176], [58864, 149932], [58865, 135396],
  10296. [27089, 58866], [58867, 134685], 0, [16094, 58869], [29849, 58870],
  10297. [29716, 58871], [29782, 58872], [29592, 58873], [19342, 58874],
  10298. [58875, 150204], [58876, 147597], [21456, 58877], [13700, 58878],
  10299. [29199, 58879], [58880, 147657], [21940, 58881], [58882, 131909],
  10300. [21709, 58883], [58884, 134086], [22301, 58885], [37469, 58886],
  10301. [38644, 58887], [22493, 58889], [22413, 58890], [22399, 58891],
  10302. [13886, 58892], [22731, 58893], [23193, 58894], [58895, 166470],
  10303. [58896, 136954], [58897, 137071], [58898, 136976], [23084, 58899],
  10304. [22968, 58900], [23166, 58902], [23247, 58903], [23058, 58904],
  10305. [58905, 153926], [58906, 137715], [58907, 137313], [58908, 148117],
  10306. [14069, 58909], [27909, 58910], [29763, 58911], [23073, 58912],
  10307. [58913, 155267], [23169, 58914], [58915, 166871], [58916, 132115],
  10308. [37856, 58917], [29836, 58918], [58919, 135939], [28933, 58920],
  10309. [18802, 58921], [37896, 58922], [58923, 166395], [37821, 58924],
  10310. [14240, 58925], [23582, 58926], [23710, 58927], [24158, 58928],
  10311. [24136, 58929], [58930, 137622], [58931, 137596], [58932, 146158],
  10312. [24269, 58933], [23375, 58934], [58935, 137475], [58936, 137476],
  10313. [14081, 58937], [58938, 137376], [14045, 58939], [58940, 136958],
  10314. [14035, 58941], [33066, 58942], [58943, 166471], [58944, 138682],
  10315. [58945, 144498], [58946, 166312], [24332, 58947, 60916], [24334, 58948],
  10316. [58949, 137511], [58950, 137131], [23147, 58951], [58952, 137019],
  10317. [23364, 58953], [58955, 161277], [34912, 58956], [24702, 58957],
  10318. [58958, 141408], [58959, 140843], [24539, 58960], [16056, 58961],
  10319. [58962, 140719], [58963, 140734], [58964, 168072], [58965, 159603],
  10320. [25024, 58966], [58967, 131134], [58968, 131142], [58969, 140827],
  10321. [24985, 58970], [24984, 58971], [24693, 58972], [58973, 142491],
  10322. [58974, 142599], [58975, 149204], [58976, 168269], [25713, 58977],
  10323. [58978, 149093], [58979, 142186], [14889, 58980], [58981, 142114],
  10324. [58982, 144464], [58983, 170218], [58984, 142968], [25399, 58985],
  10325. [25782, 58987], [25393, 58988], [25553, 58989], [58990, 149987],
  10326. [58991, 142695], [25252, 58992], [58993, 142497], [25659, 58994],
  10327. [25963, 58995], [26994, 58996], [15348, 58997], [58998, 143502],
  10328. [58999, 144045], [59000, 149897], [59001, 144043], [21773, 59002],
  10329. [59003, 144096], [59004, 137433], [59005, 169023], [26318, 59006],
  10330. [59007, 144009], [59008, 143795], [15072, 59009], [59011, 152964],
  10331. [59012, 166690], [59013, 152975], [59014, 136956], [59015, 152923],
  10332. [59016, 152613], [30958, 59017], [59018, 143619], [59019, 137258],
  10333. [59020, 143924], [13412, 59021], [59022, 143887], [59023, 143746],
  10334. [59024, 148169], [26254, 59025], [59026, 159012], [26219, 59027],
  10335. [19347, 59028], [26160, 59029], [59030, 161904], [59031, 138731],
  10336. [26211, 59032], [59033, 144082], [59034, 144097], [26142, 59035],
  10337. [59036, 153714], [14545, 59037], [59038, 145466], [59039, 145340],
  10338. [15257, 59040], [59041, 145314], [59042, 144382], [29904, 59043],
  10339. [15254, 59044], [59046, 149034], [26806, 59047], 0, [15300, 59049],
  10340. [27326, 59050], [59052, 145365], [59053, 148615], [27187, 59054],
  10341. [27218, 59055], [27337, 59056], [27397, 59057], [59058, 137490],
  10342. [25873, 59059], [26776, 59060], [27212, 59061], [15319, 59062],
  10343. [27258, 59063], [27479, 59064], [59065, 147392], [59066, 146586],
  10344. [37792, 59067], [37618, 59068], [59069, 166890], [59070, 166603],
  10345. [37513, 59071], [59072, 163870], [59073, 166364], [37991, 59074],
  10346. [28069, 59075], [28427, 59076], 0, [59079, 147327], [15759, 59080],
  10347. [28164, 59081], [59082, 147516], [23101, 59083], [28170, 59084],
  10348. [22599, 59085], [27940, 59086], [30786, 59087], [28987, 59088],
  10349. [59089, 148250], [59090, 148086], [28913, 59091], [29264, 59092, 61085],
  10350. [29319, 59093], [29332, 59094], [59095, 149391], [59096, 149285],
  10351. [20857, 59097], [59098, 150180], [59099, 132587], [29818, 59100],
  10352. [59101, 147192], [59102, 144991], [59103, 150090], [59104, 149783],
  10353. [59105, 155617], [16134, 59106], [16049, 59107], [59108, 150239],
  10354. [59109, 166947], [59110, 147253], [24743, 59111], [16115, 59112],
  10355. [29900, 59113], [29756, 59114], [37767, 59115], [29751, 59116],
  10356. [17567, 59117], [59118, 159210], [17745, 59119], [30083, 59120],
  10357. [16227, 59121], [59122, 150745], [59123, 150790], [16216, 59124],
  10358. [30037, 59125], [30323, 59126], [59127, 173510], 0, [29800, 59129, 61070],
  10359. [59130, 166604], [59131, 149931], [59132, 149902], [15099, 59133],
  10360. [15821, 59134], [59135, 150094], [16127, 59136], [59137, 149957],
  10361. [59138, 149747], [37370, 59139], [22322, 59140], [37698, 59141],
  10362. [59142, 166627], [59143, 137316], [20703, 59144], [59145, 152097],
  10363. [59146, 152039], [30584, 59147], [59148, 143922], [30478, 59149],
  10364. [30479, 59150], [30587, 59151], [59152, 149143], [59153, 145281],
  10365. [14942, 59154], [59155, 149744], [29752, 59156], [29851, 59157],
  10366. [16063, 59158], [59159, 150202], [59160, 150215], [16584, 59161],
  10367. [59162, 150166], [59163, 156078], [37639, 59164], [59165, 152961],
  10368. [30750, 59166], [30861, 59167], [30856, 59168], [30930, 59169],
  10369. [29648, 59170], [31065, 59171], [59172, 161601], [59173, 153315],
  10370. [16654, 59174], 0, 0, [31141, 59177], [27181, 59178], [59179, 147194],
  10371. [31290, 59180], [31220, 59181], [16750, 59182], [59183, 136934],
  10372. [16690, 59184], [37429, 59185], [31217, 59186], [59187, 134476],
  10373. [59188, 149900], [59189, 131737], [59190, 146874], [59191, 137070],
  10374. [13719, 59192], [21867, 59193], [13680, 59194], [13994, 59195],
  10375. [59196, 131540], [59197, 134157], [31458, 59198], [23129, 59199],
  10376. [59200, 141045], [59201, 154287], [59202, 154268], [23053, 59203],
  10377. [59204, 131675], [30960, 59205], [23082, 59206], [59207, 154566],
  10378. [31486, 59208], [16889, 59209], [31837, 59210], [31853, 59211],
  10379. [16913, 59212], [59213, 154547], [59214, 155324], [59215, 155302],
  10380. [31949, 59216], [59217, 150009], [59218, 137136], [31886, 59219],
  10381. [31868, 59220], [31918, 59221], [27314, 59222], [32220, 59223],
  10382. [32263, 59224], [32211, 59225], [32590, 59226], [59227, 156257],
  10383. [59228, 155996], [59229, 162632], [32151, 59230], [59231, 155266],
  10384. [17002, 59232], [59233, 158581], [59234, 133398], [26582, 59235],
  10385. [59236, 131150], [59237, 144847], [22468, 59238], [59239, 156690],
  10386. [59240, 156664], [32733, 59242], [31527, 59243], [59244, 133164],
  10387. [59245, 154345], [59246, 154947], [31500, 59247], [59248, 155150],
  10388. [39398, 59249], [34373, 59250], [39523, 59251], [27164, 59252],
  10389. [59253, 144447], [59255, 150007], [59256, 157101], [39455, 59257],
  10390. [59258, 157088], 0, [59260, 160039], [59261, 158929], [17642, 59262],
  10391. [33079, 59263], [17410, 59264], [32966, 59265], [33033, 59266],
  10392. [33090, 59267], [59268, 157620], [39107, 59269], [59270, 158274],
  10393. [33378, 59271], [33381, 59272], [59273, 158289], [33875, 59274],
  10394. [59275, 159143], [34320, 59276], [59277, 160283], [23174, 59278],
  10395. [16767, 59279], [59280, 137280], [23339, 59281], [59282, 137377],
  10396. [23268, 59283], [59284, 137432], [34464, 59285], [59286, 195004],
  10397. [59287, 146831], [34861, 59288], [59289, 160802], [23042, 59290],
  10398. [34926, 59291], [20293, 59292], [34951, 59293], [35007, 59294],
  10399. [35046, 59295], [35173, 59296], [35149, 59297], [59298, 153219],
  10400. [35156, 59299], [59300, 161669], [59301, 161668], [59302, 166901],
  10401. [59303, 166873], [59304, 166812], [59305, 166393], [16045, 59306],
  10402. [33955, 59307], [18165, 59308], [18127, 59309], [14322, 59310],
  10403. [35389, 59311], [35356, 59312], [59313, 169032], [24397, 59314],
  10404. [37419, 59315], [59316, 148100], [26068, 59317], [28969, 59318],
  10405. [28868, 59319], [59320, 137285], [40301, 59321], [35999, 59322],
  10406. [36073, 59323], [59324, 163292], [22938, 59325], [30659, 59326],
  10407. [23024, 59327], [14036, 59329], [36394, 59330], [36519, 59331],
  10408. [59332, 150537], [36656, 59333], [36682, 59334], [17140, 59335],
  10409. [27736, 59336], [28603, 59337], [59338, 140065], [18587, 59339],
  10410. [28537, 59340], [28299, 59341], [59342, 137178], [39913, 59343],
  10411. [14005, 59344], [59345, 149807], [37051, 59346], 0, [21873, 59348],
  10412. [18694, 59349], [37307, 59350], [37892, 59351], [59352, 166475],
  10413. [16482, 59353], [59354, 166652], [37927, 59355], [59356, 166941],
  10414. [59357, 166971], [34021, 59358], [35371, 59359], [38297, 59360],
  10415. [38311, 59361], [38295, 59362], [38294, 59363], [59364, 167220],
  10416. [29765, 59365], [16066, 59366], [59367, 149759], [59368, 150082],
  10417. [59369, 148458], [16103, 59370], [59371, 143909], [38543, 59372],
  10418. [59373, 167655], [59374, 167526], [59375, 167525], [16076, 59376],
  10419. [59377, 149997], [59378, 150136], [59379, 147438], [29714, 59380],
  10420. [29803, 59381], [16124, 59382], [38721, 59383], [59384, 168112],
  10421. [26695, 59385], [18973, 59386], [59387, 168083], [59388, 153567], 0,
  10422. [37736, 59390], [59391, 166281], [59392, 166950], [59393, 166703],
  10423. [59394, 156606], [37562, 59395], [23313, 59396], [35689, 59397],
  10424. [18748, 59398], [29689, 59399], [59400, 147995], [38811, 59401], 0,
  10425. [39224, 59403], [59404, 134950], [24001, 59405], [59406, 166853],
  10426. [59407, 150194], [38943, 59408], [59409, 169178], [37622, 59410],
  10427. [59411, 169431], [37349, 59412], [17600, 59413], [59414, 166736],
  10428. [59415, 150119], [59416, 166756], [39132, 59417], [59418, 166469],
  10429. [16128, 59419], [37418, 59420], [18725, 59421], [33812, 59422],
  10430. [39227, 59423], [39245, 59424], [59425, 162566], [15869, 59426], 0,
  10431. [19311, 59428], [39338, 59429], [39516, 59430], [59431, 166757],
  10432. [59432, 153800], [27279, 59433], [39457, 59434], [23294, 59435],
  10433. [39471, 59436], [59437, 170225], [19344, 59438], [59439, 170312],
  10434. [39356, 59440], [19389, 59441], [19351, 59442], [37757, 59443],
  10435. [22642, 59444], [59445, 135938], [22562, 59446], [59447, 149944],
  10436. [59448, 136424], [30788, 59449], [59450, 141087], [59451, 146872],
  10437. [26821, 59452], [15741, 59453], [37976, 59454], [14631, 59455],
  10438. [24912, 59456], [59457, 141185], [59458, 141675], [24839, 59459],
  10439. [40015, 59460], [40019, 59461], [40059, 59462], [39989, 59463],
  10440. [39952, 59464], [39807, 59465], [39887, 59466], [59467, 171565],
  10441. [39839, 59468], [59469, 172533], [59470, 172286], [40225, 59471],
  10442. [19630, 59472], [59473, 147716], [40472, 59474], [19632, 59475],
  10443. [40204, 59476], [59477, 172468], [59478, 172269], [59479, 172275],
  10444. [59480, 170287], [40357, 59481], [33981, 59482], [59483, 159250],
  10445. [59484, 159711], [59485, 158594], [34300, 59486], [17715, 59487],
  10446. [59488, 159140], [59489, 159364], [59490, 159216], [33824, 59491],
  10447. [34286, 59492], [59493, 159232], [59494, 145367], [59495, 155748],
  10448. [31202, 59496], [59497, 144796], [59498, 144960], [59500, 149982],
  10449. [15714, 59501], [37851, 59502], [37566, 59503], [37704, 59504],
  10450. [59505, 131775], [30905, 59506], [37495, 59507], [37965, 59508],
  10451. [20452, 59509], [13376, 59510], [36964, 59511], [59512, 152925],
  10452. [30781, 59513], [30804, 59514], [30902, 59515], [30795, 59516],
  10453. [59517, 137047], [59518, 143817], [59519, 149825], [13978, 59520],
  10454. [20338, 59521], [28634, 59522], [28633, 59523], 0, [28702, 59524, 59525],
  10455. [21524, 59526], [59527, 147893], [22459, 59528], [22771, 59529],
  10456. [22410, 59530], [40214, 59531], [22487, 59532], [28980, 59533],
  10457. [13487, 59534], [59535, 147884], [29163, 59536], [59537, 158784],
  10458. [59538, 151447], 0, [59540, 137141], [59541, 166473], [24844, 59542],
  10459. [23246, 59543], [23051, 59544], [17084, 59545], [59546, 148616],
  10460. [14124, 59547], [19323, 59548], [59549, 166396], [37819, 59550],
  10461. [37816, 59551], [59552, 137430], [59553, 134941], [33906, 59554],
  10462. [59555, 158912], [59556, 136211], [59557, 148218], [59558, 142374],
  10463. [59559, 148417], [22932, 59560], [59561, 146871], [59562, 157505],
  10464. [32168, 59563], [59564, 155995], [59565, 155812], [59566, 149945],
  10465. [59567, 149899], [59568, 166394], [37605, 59569], [29666, 59570],
  10466. [16105, 59571], [29876, 59572], [59573, 166755], [59574, 137375],
  10467. [16097, 59575], [59576, 150195], [27352, 59577], [29683, 59578],
  10468. [29691, 59579], [16086, 59580], [59581, 150078], [59582, 150164],
  10469. [59583, 137177], [59584, 150118], [59585, 132007], [59586, 136228],
  10470. [59587, 149989], [29768, 59588], [59589, 149782], [28837, 59590],
  10471. [59591, 149878], [37508, 59592], [29670, 59593], [37727, 59594],
  10472. [59595, 132350], [37681, 59596], [59597, 166606], [59598, 166422],
  10473. [37766, 59599], [59600, 166887], [59601, 153045], [18741, 59602],
  10474. [59603, 166530], [29035, 59604], [59605, 149827], [59606, 134399],
  10475. [22180, 59607], [59608, 132634], [59609, 134123], [59610, 134328],
  10476. [21762, 59611], [31172, 59612], [59613, 137210], [32254, 59614],
  10477. [59615, 136898], [59616, 150096], [59617, 137298], [17710, 59618],
  10478. [37889, 59619], [14090, 59620], [59621, 166592], [59622, 149933],
  10479. [22960, 59623], [59624, 137407], [59625, 137347], [59626, 160900],
  10480. [23201, 59627], [14050, 59628], [59629, 146779], [14000, 59630],
  10481. [37471, 59631], [23161, 59632], [59633, 166529], [59634, 137314],
  10482. [37748, 59635], [15565, 59636], [59637, 133812], [19094, 59638],
  10483. [14730, 59639], [20724, 59640], [15721, 59641], [15692, 59642],
  10484. [59643, 136092], [29045, 59644], [17147, 59645], [59646, 164376],
  10485. [28175, 59647], [59648, 168164], [17643, 59649], [27991, 59650],
  10486. [59651, 163407], [28775, 59652], [27823, 59653], [15574, 59654],
  10487. [59655, 147437], [59656, 146989], [28162, 59657], [28428, 59658],
  10488. [15727, 59659], [59660, 132085], [30033, 59661], [14012, 59662],
  10489. [13512, 59663], [18048, 59664], [16090, 59665], [18545, 59666],
  10490. [22980, 59667], [37486, 59668], [18750, 59669], [36673, 59670],
  10491. [59671, 166940], [59672, 158656], [22546, 59673], [22472, 59674],
  10492. [14038, 59675], [59676, 136274], [28926, 59677], [59678, 148322],
  10493. [59679, 150129], [59680, 143331], [59681, 135856], [59682, 140221],
  10494. [26809, 59683], [26983, 59684], [59685, 136088], [59686, 144613],
  10495. [59687, 162804], [59688, 145119], [59689, 166531], [59690, 145366],
  10496. [59691, 144378], [59692, 150687], [27162, 59693], [59694, 145069],
  10497. [59695, 158903], [33854, 59696], [17631, 59697], [17614, 59698],
  10498. [59699, 159014], [59700, 159057], [59701, 158850], [59702, 159710], 0, 0,
  10499. [33597, 59705], [59706, 137018], [33773, 59707], [59708, 158848],
  10500. [59709, 159827], [59710, 137179], [22921, 59711], [23170, 59712],
  10501. [59713, 137139], [23137, 59714], [23153, 59715], [59716, 137477],
  10502. [59717, 147964], [14125, 59718], [23023, 59719], [59720, 137020],
  10503. [14023, 59721], [29070, 59722], [37776, 59723], [26266, 59724],
  10504. [59725, 148133], [23150, 59726], [23083, 59727], [59728, 148115],
  10505. [27179, 59729], [59730, 147193], [59731, 161590], [59732, 148571],
  10506. [59733, 148170], [28957, 59734], [59735, 148057], [59736, 166369],
  10507. [20400, 59737], [59738, 159016], [23746, 59739], [59740, 148686],
  10508. [59741, 163405], [59742, 148413], [27148, 59743], [59744, 148054],
  10509. [59745, 135940], 0, [28979, 59747], [59748, 148457], [15781, 59749],
  10510. [27871, 59750], [59751, 194597], [23019, 59754], [24412, 59757],
  10511. [59764, 144128], [31955, 59776], [59783, 162548], [59786, 153334],
  10512. [59790, 162584], [36972, 59791], [33270, 59795], [30476, 59797],
  10513. [27810, 59799], [22269, 59800], [22633, 59828], [26465, 59832],
  10514. [23646, 59838], [22770, 59841], [28857, 59843], [26627, 59853],
  10515. [36795, 59859], [36796, 59861], [20001, 59871], [31545, 59898],
  10516. [15820, 59902], [29482, 57990, 59909], [30048, 59912], [22586, 59920],
  10517. [33446, 59932], [27018, 59940], [24803, 59944], [20206, 59984],
  10518. [39364, 60002], [40639, 60023], [21249, 60025], [26528, 60038],
  10519. [24808, 60046], [20916, 60053], [31363, 60064], [39994, 60075],
  10520. [31432, 60093], [26906, 60098], [22956, 60100], [22592, 60102],
  10521. [21610, 60114], [24807, 60123], [22138, 60125], [26965, 60132],
  10522. [39983, 60133], [34725, 60134], [23584, 60141], [24075, 60143],
  10523. [26398, 60147], [33965, 60157], [35713, 60161], [20088, 60166],
  10524. [25283, 60176], [26709, 60180], 0, [33533, 60190], [35237, 60194],
  10525. [36768, 60196], [38840, 60198], [38983, 60200], [39613, 60201],
  10526. [24497, 60218], [26184, 60219], [26303, 60220], [60221, 162425], 0,
  10527. [60225, 149946], 0, 0, [60230, 131910], [26382, 60232], [26904, 60233],
  10528. [60235, 161367], [60236, 155618], [60239, 161278], [60240, 139418],
  10529. [18640, 60241], [19128, 60242], [60244, 166554], [60247, 147515],
  10530. [60250, 150085], [60251, 132554], [20946, 60252], [60253, 132625],
  10531. [22943, 60254], [60255, 138920], [15294, 60256], [60257, 146687],
  10532. [14747, 60262], [60264, 165352], [60265, 170441], [14178, 60266],
  10533. [60267, 139715], [35678, 60268], [60269, 166734], 0, [29193, 60274],
  10534. [60276, 134264], [60280, 132985], [36570, 60281], [21135, 60283],
  10535. [29041, 60285], [60288, 147274], [60289, 150183], [21948, 60290],
  10536. [60293, 158546], [13427, 60295], [60297, 161330], [18200, 60299],
  10537. [60303, 149823], [20582, 60305], [13563, 60306], [60307, 144332], 0,
  10538. [18300, 60310], [60311, 166216], [60315, 138640], 0, [60320, 162834],
  10539. [36950, 60321], [60323, 151450], [35682, 60324], [23899, 60327],
  10540. [60328, 158711], 0, [60331, 137500], [35562, 60332], [60333, 150006],
  10541. [60335, 147439], [19392, 60337], [60340, 141083], [37989, 60341],
  10542. [60342, 153569], [24981, 60343], [23079, 60344], [60345, 194765], 0,
  10543. [60348, 148769], [20074, 60350], [60351, 149812], [38486, 60352],
  10544. [28047, 60353], [60354, 158909], [35191, 60356], [60359, 156689], 0,
  10545. [31554, 60363], [60364, 168128], [60365, 133649], 0, [31301, 60369],
  10546. [39462, 60372], [13919, 60374], [60375, 156777], [60376, 131105],
  10547. [31107, 60377], [23852, 60380], [60381, 144665], 0, [18128, 60384],
  10548. [30011, 60386], [34917, 60387], [22710, 60389], [14108, 60390],
  10549. [60391, 140685], [15444, 60394], [37505, 60397], [60398, 139642],
  10550. [37680, 60400], [60402, 149968], [27705, 60403], [60406, 134904],
  10551. [34855, 60407], [35061, 60408], [60409, 141606], [60410, 164979],
  10552. [60411, 137137], [28344, 60412], [60413, 150058], [60414, 137248],
  10553. [14756, 60415], 0, 0, [17727, 60419], [26294, 60420], [60421, 171181],
  10554. [60422, 170148], [35139, 60423], [16607, 60427], [60428, 136714],
  10555. [14753, 60429], [60430, 145199], [60431, 164072], [60432, 136133],
  10556. [29101, 60433], [33638, 60434], [60436, 168360], 0, [19639, 60438],
  10557. [60439, 159919], [60440, 166315], [60445, 147834], [31555, 60446],
  10558. [31102, 60447], [28597, 60449], [60450, 172767], [27139, 60451],
  10559. [60452, 164632], [21410, 60453], [60454, 159239], [37823, 60455],
  10560. [26678, 60456], [38749, 59389, 60457], [60458, 164207], [60460, 158133],
  10561. [60461, 136173], [60462, 143919], [23941, 60464], [60465, 166960],
  10562. [22293, 60467], [38947, 60468], [60469, 166217], [23979, 60470],
  10563. [60471, 149896], [26046, 60472], [27093, 60473], [21458, 60474],
  10564. [60475, 150181], [60476, 147329], [15377, 60477], [26422, 60478],
  10565. [60482, 139169], [13770, 60490], [18682, 60493], 0, [30728, 60496],
  10566. [37461, 60497], [17394, 60499], [17375, 60501], [23032, 60505], 0,
  10567. [22155, 60518], [60520, 169449], [36882, 60541], [21953, 60546],
  10568. [17673, 60551], [32383, 60552], [28502, 60553], [27313, 60554],
  10569. [13540, 60556], [60558, 161949], [14138, 60559], 0, [60562, 163876],
  10570. [60565, 162366], [15851, 60567], [60569, 146615], [60574, 156248],
  10571. [22207, 60575], [36366, 60577], [23405, 60578], [25566, 60581], 0,
  10572. [25904, 60585], [22061, 60586], [21530, 60588], [60591, 171416],
  10573. [19581, 60592], [22050, 60593], [22046, 60594], [32585, 60595],
  10574. [22901, 60597], [60598, 146752], [34672, 60599], [33047, 60604],
  10575. [40286, 60605], [36120, 60606], [30267, 60607], [40005, 60608],
  10576. [30286, 60609], [30649, 60610], [37701, 60611], [21554, 60612],
  10577. [33096, 60613], [33527, 60614], [22053, 60615], [33074, 60616],
  10578. [33816, 60617], [32957, 60618], [21994, 60619], [31074, 60620],
  10579. [22083, 60621], [21526, 60622], [60623, 134813], [13774, 60624],
  10580. [22021, 57509, 60625], [22001, 60626], [26353, 60627], [60628, 164578],
  10581. [13869, 60629], [30004, 60630], [22000, 60631], [21946, 60632],
  10582. [21655, 60633], [21874, 60634], [60635, 134209], [60636, 134294],
  10583. [24272, 57652, 60637], [60639, 134774], [60640, 142434], [60641, 134818],
  10584. [40619, 60642], [32090, 60643], 0, [60645, 135285], [25245, 60646],
  10585. [38765, 60647], [21652, 60648], [36045, 60649], [29174, 60650],
  10586. [37238, 60651], [25596, 60652], [25529, 60653], [25598, 60654],
  10587. [21865, 60655], [60656, 142147], [40050, 60657], [60658, 143027],
  10588. [20890, 60659], [13535, 60660], [60661, 134567], [20903, 60662],
  10589. [21581, 60663], [21790, 60664], [21779, 60665], [30310, 60666],
  10590. [36397, 60667], [60668, 157834], [30129, 60669], [32950, 60670],
  10591. [34820, 60671], 0, [35015, 60673], [33206, 60674], [33820, 60675],
  10592. [17644, 60677], [29444, 60678], [33547, 60681], [22139, 60683],
  10593. [37232, 60690], [37384, 60692], [60696, 134905], [29286, 60697],
  10594. [18254, 60699], [60701, 163833], [16634, 60703], [40029, 60704],
  10595. [25887, 60705], [18675, 60707], [60708, 149472], [60709, 171388], 0,
  10596. [60713, 161187], 60715, [60716, 155720], [29091, 60718], [32398, 60719],
  10597. [40272, 60720], [13687, 60723], [27826, 60725], [21351, 60726],
  10598. [14812, 60728], [60731, 149016], [33325, 60734], [21579, 60735], 60739,
  10599. [14930, 60740], [29556, 60742], [60743, 171692], [19721, 60744],
  10600. [39917, 60745], 0, [19547, 60748], [60751, 171998], [33884, 60752],
  10601. [60754, 160434], [25390, 60757], [32037, 60758], [14890, 60761],
  10602. [36872, 60762], [21196, 60763], [15988, 60764], [13946, 60765],
  10603. [17897, 60766], [60767, 132238], [30272, 60768], [23280, 60769],
  10604. [60770, 134838], [30842, 60771], [18358, 60772], [22695, 60773],
  10605. [16575, 60774], [22140, 60775], [39819, 60776], [23924, 60777],
  10606. [30292, 60778], [60779, 173108], [40581, 60780], [19681, 60781], 0,
  10607. [14331, 60783], [24857, 60784], [60786, 148466], 60787, [22109, 60788],
  10608. [60792, 171526], [21044, 60793], [13741, 60795], 0, [40316, 60797],
  10609. [31830, 60798], [39737, 60799], [22494, 60800], [23635, 60802],
  10610. [25811, 60803], [60804, 169168], [60805, 156469], [34477, 60807],
  10611. [60808, 134440], [60811, 134513], 60812, [20990, 60813], [60814, 139023],
  10612. [23950, 60815], [38659, 60816], [60817, 138705], [40577, 60818],
  10613. [36940, 60819], [31519, 60820], [39682, 60821], [23761, 60822],
  10614. [31651, 60823], [25192, 60824], [25397, 60825], [39679, 60826],
  10615. [31695, 60827], [39722, 60828], [31870, 60829], 0, [31810, 60831],
  10616. [31878, 60832], [39957, 60833], [31740, 60834], [39689, 60835], 0, 39982,
  10617. [40794, 60839], [21875, 60840], [23491, 60841], [20477, 60842],
  10618. [40600, 60843], [20466, 60844], [21088, 60845], [21201, 60847],
  10619. [22375, 60848], [20566, 60849], [22967, 60850], [24082, 60851],
  10620. [38856, 60852], [40363, 60853], [36700, 60854], [21609, 60855],
  10621. [38836, 60856], [39232, 60857], [38842, 60858], [21292, 60859],
  10622. [24880, 60860], [26924, 60861], [21466, 60862], [39946, 60863],
  10623. [40194, 60864], [19515, 60865], [38465, 60866], [27008, 60867],
  10624. [20646, 60868], [30022, 60869], [60870, 137069], [39386, 60871],
  10625. [21107, 60872], 60873, [37209, 60874], [38529, 60875], [37212, 60876],
  10626. 60877, [37201, 60878], [60879, 167575], [25471, 60880], [27338, 60882],
  10627. [22033, 60883], [37262, 60884], [30074, 60885], [25221, 60886],
  10628. [29519, 60888], [31856, 60889], [60890, 154657], 60892, [30422, 60894],
  10629. [39837, 60895], [20010, 60896], [60897, 134356], [33726, 60898],
  10630. [34882, 60899], 60900, [23626, 60901], [27072, 60902], 0, 0,
  10631. [21023, 60905], [24053, 60906], [20174, 60907], [27697, 60908],
  10632. [60909, 131570], [20281, 60910], [21660, 60911], 0, [21146, 60913],
  10633. [36226, 60914], [13822, 60915], 0, [13811, 60917], 60918, [27474, 60919],
  10634. [37244, 60920], [40869, 60921], [39831, 60922], [38958, 60923],
  10635. [39092, 60924], [39610, 60925], [40616, 60926], [40580, 60927],
  10636. [31508, 60929], 60930, [27642, 60931], [34840, 60932], [32632, 60933],
  10637. 60934, [22048, 60935], [60936, 173642], [36471, 60937], [40787, 60938],
  10638. 60939, [36308, 60940], [36431, 60941], [40476, 60942], [36353, 60943],
  10639. [25218, 60944], [60945, 164733], [36392, 60946], [36469, 60947],
  10640. [31443, 60948], [31294, 60950], [30936, 60951], [27882, 60952],
  10641. [35431, 60953], [30215, 60954], [40742, 60956], [27854, 60957],
  10642. [34774, 60958], [30147, 60959], [60960, 172722], [30803, 60961],
  10643. [36108, 60963], [29410, 60964], [29553, 60965], [35629, 60966],
  10644. [29442, 60967], [29937, 60968], [36075, 60969], [60970, 150203],
  10645. [34351, 60971], [24506, 60972], [34976, 60973], [17591, 60974], 60975,
  10646. [60977, 159237], 60978, [35454, 60979], [60980, 140571], 60981,
  10647. [24829, 60982], [30311, 60983], [39639, 60984], [40260, 60985],
  10648. [37742, 58859, 60986], [39823, 60987], [34805, 60988], 60989, 0,
  10649. [36087, 60991], [29484, 60992], [38689, 60993], [39856, 60994],
  10650. [13782, 60995], [29362, 60996], [19463, 60997], [31825, 60998],
  10651. [39242, 60999], [24921, 61001], [19460, 61002], [40598, 61003],
  10652. [24957, 61004], 61005, [22367, 61006], [24943, 61007], [25254, 61008],
  10653. [25145, 61009], 0, [14940, 61011], [25058, 61012], [21418, 61013],
  10654. [25444, 61015], [26626, 61016], [13778, 61017], [23895, 61018],
  10655. [36826, 61020], [61021, 167481], 61022, [20697, 61023], [30982, 61025],
  10656. [21298, 61026], [38456, 61027], [61028, 134971], [16485, 61029], 61030,
  10657. [30718, 61031], 61032, [31938, 61033], [61034, 155418], [31962, 61035],
  10658. [31277, 61036], [32870, 61037], [32867, 61038], [32077, 61039],
  10659. [29957, 61040], [29938, 61041], [35220, 61042], [33306, 61043],
  10660. [26380, 61044], [32866, 61045], [61046, 160902], [32859, 61047],
  10661. [29936, 61048], [33027, 61049], [30500, 61050], [35209, 61051],
  10662. [61052, 157644], [30035, 61053], [34729, 61055], [34766, 61056],
  10663. [33224, 61057], [34700, 61058], [35401, 61059], [36013, 61060],
  10664. [35651, 61061], [30507, 61062], [29944, 61063], [34010, 61064],
  10665. [27058, 61066], [36262, 61067], 61068, [35241, 58392, 61069], 0,
  10666. [28089, 61071], [34753, 61072], [61073, 147473], [29927, 61074],
  10667. [15835, 61075], [29046, 61076], [24740, 57702, 61077], [24988, 61078],
  10668. [15569, 61079], 0, [24695, 61081], 61082, [32625, 61083], 0,
  10669. [24809, 61086], [19326, 61087], [57344, 132423], [37595, 57345],
  10670. [57346, 132575], [57347, 147397], [34124, 57348], [17077, 57349],
  10671. [29679, 57350], [20917, 57351], [13897, 57352], [57353, 149826],
  10672. [57354, 166372], [37700, 57355], [57356, 137691], [33518, 57357],
  10673. [57358, 146632], [30780, 57359], [26436, 57360], [25311, 57361],
  10674. [57362, 149811], [57363, 166314], [57364, 131744], [57365, 158643],
  10675. [57366, 135941], [20395, 57367], [57368, 140525], [20488, 57369],
  10676. [57370, 159017], [57371, 162436], [57372, 144896], [57373, 150193],
  10677. [57374, 140563], 0, [57376, 131966], [24484, 57377], [57378, 131968],
  10678. [57379, 131911], [28379, 57380], [57381, 132127], 20702, [20737, 57383],
  10679. [13434, 57384], [20750, 57385], [39020, 57386], [14147, 57387],
  10680. [33814, 57388], [57389, 149924], [57390, 132231], [20832, 57391],
  10681. [57392, 144308], [20842, 57393], [57394, 134143], [57395, 139516],
  10682. [57396, 131813], [57397, 140592], [57398, 132494], [57399, 143923],
  10683. [57400, 137603], [23426, 57401], [34685, 57402], [57403, 132531],
  10684. [57404, 146585], [20914, 57405], [20920, 57406], [40244, 57407],
  10685. [20937, 57408], [20943, 57409], [20945, 57410], [15580, 57411],
  10686. [20947, 57412], [57413, 150182], [20915, 57414], 0, 0, [20973, 57417],
  10687. [33741, 57418], [26942, 57419], [57420, 145197], [24443, 57421],
  10688. [21003, 57422], [21030, 57423], [21052, 57424], [21173, 57425],
  10689. [21079, 57426], [21140, 57427], [21177, 57428], [21189, 57429],
  10690. [31765, 57430], [34114, 57431], [21216, 57432], [34317, 57433],
  10691. [57434, 158483], 0, [57436, 166622], [21833, 57437], [28377, 57438],
  10692. [57439, 147328], [57440, 133460], [57441, 147436], [21299, 57442], 0,
  10693. [57444, 134114], [27851, 57445], [57446, 136998], [26651, 57447],
  10694. [29653, 57448], [24650, 57449], [16042, 57450], [14540, 57451],
  10695. [57452, 136936], [29149, 57453], [17570, 57454], [21357, 57455],
  10696. [21364, 57456], [57457, 165547], [21374, 57458], 0, [57460, 136598],
  10697. [57461, 136723], [30694, 57462], [21395, 57463], [57464, 166555],
  10698. [21408, 57465], [21419, 57466], [21422, 57467], [29607, 57468],
  10699. [57469, 153458], [16217, 57470], [29596, 57471], [21441, 57472],
  10700. [21445, 57473], [27721, 57474], [20041, 57475], [22526, 57476],
  10701. [21465, 57477], [15019, 57478], [57479, 134031], [21472, 57480],
  10702. [57481, 147435], [57482, 142755], [21494, 57483], [57484, 134263],
  10703. [21523, 57485], [28793, 57486], [21803, 57487], [26199, 57488],
  10704. [27995, 57489], [21613, 57490], [57491, 158547], [57492, 134516],
  10705. [21853, 57493], [21647, 57494], [21668, 57495], [18342, 57496],
  10706. [57497, 136973], [57498, 134877], [15796, 57499], [57500, 134477],
  10707. [57501, 166332], [57502, 140952], [21831, 57503], [19693, 57504],
  10708. [21551, 57505], [29719, 57506], [21894, 57507], [21929, 57508], 0,
  10709. [57510, 137431], [57511, 147514], [17746, 57512], [57513, 148533],
  10710. [26291, 57514], [57515, 135348], [22071, 57516], [26317, 57517],
  10711. [57518, 144010], [26276, 57519], 0, [22093, 57521], [22095, 57522],
  10712. [30961, 57523], [22257, 57524], [38791, 57525], [21502, 57526],
  10713. [22272, 57527], [22255, 57528], [22253, 57529], [57530, 166758],
  10714. [13859, 57531], [57532, 135759], [22342, 57533], [57534, 147877],
  10715. [27758, 57535], [28811, 57536], [22338, 57537], [14001, 57538],
  10716. [57539, 158846], [22502, 57540], [57541, 136214], [22531, 57542],
  10717. [57543, 136276], [57544, 148323], [22566, 57545], [57546, 150517], 0,
  10718. [22698, 57548], [13665, 57549], [22752, 57550], [22748, 57551],
  10719. [57552, 135740], [22779, 57553], [23551, 57554], [22339, 57555],
  10720. [57556, 172368], [57557, 148088], [37843, 57558], [13729, 57559],
  10721. [22815, 57560], [26790, 57561], [14019, 57562], [28249, 57563],
  10722. [57564, 136766], [23076, 57565], 0, [57567, 136850], [34053, 57568],
  10723. [22985, 57569], [57570, 134478], [57571, 158849], [57572, 159018],
  10724. [57573, 137180], [23001, 57574], [57575, 137211], [57576, 137138],
  10725. [57577, 159142], [28017, 57578], [57579, 137256], [57580, 136917],
  10726. [23033, 57581], [57582, 159301], [23211, 57583], [23139, 57584],
  10727. [14054, 57585], [57586, 149929], 0, [14088, 57588], [23190, 57589],
  10728. [29797, 57590], [23251, 57591], [57592, 159649], [57593, 140628],
  10729. [57595, 137489], [14130, 57596], [57597, 136888], [24195, 57598],
  10730. [21200, 57599], [23414, 57600], [25992, 57601], [23420, 57602],
  10731. [57603, 162318], [16388, 57604], [18525, 57605], [57606, 131588],
  10732. [23509, 57607], [57609, 137780], [57610, 154060], [57611, 132517],
  10733. [23539, 57612], [23453, 57613], [19728, 57614], [23557, 57615],
  10734. [57616, 138052], [23571, 57617], [29646, 57618], [23572, 57619],
  10735. [57620, 138405], [57621, 158504], [23625, 57622], [18653, 57623],
  10736. [23685, 57624], [23785, 57625], [23791, 57626], [23947, 57627],
  10737. [57628, 138745], [57629, 138807], [23824, 57630], [23832, 57631],
  10738. [23878, 57632], [57633, 138916], [23738, 57634], [24023, 57635],
  10739. [33532, 57636], [14381, 57637], [57638, 149761], [57639, 139337],
  10740. [57640, 139635], [33415, 57641], [14390, 57642], [15298, 57643],
  10741. [24110, 57644], [27274, 57645], 0, 57647, [57648, 148668], [57649, 134355],
  10742. [21414, 57650], [20151, 57651], 0, [21416, 57653], [57654, 137073],
  10743. [24073, 57655], 57656, [57657, 164994], [24313, 57658], [24315, 57659],
  10744. [14496, 57660], [24316, 57661], [26686, 57662], [37915, 57663],
  10745. [24333, 57664], [57665, 131521], [57666, 194708], [15070, 57667],
  10746. [57669, 135994], [24378, 57670], [57671, 157832], [57672, 140240],
  10747. [57674, 140401], [24419, 57675], [57677, 159342], [24434, 57678],
  10748. [37696, 57679], [57680, 166454], [24487, 57681], [23990, 57682],
  10749. [15711, 57683], [57684, 152144], [57685, 139114], [57686, 159992],
  10750. [57687, 140904], [37334, 57688], [57689, 131742], [57690, 166441],
  10751. [24625, 57691], [26245, 57692], [14691, 57694], [15815, 57695],
  10752. [13881, 57696], [22416, 57697], [57698, 141236], [31089, 57699],
  10753. [15936, 57700], [24734, 57701], 0, 0, [57704, 149890], [57705, 149903],
  10754. [57706, 162387], [29860, 57707], [20705, 57708], [23200, 57709],
  10755. [24932, 57710], [24898, 57712], [57713, 194726], [57714, 159442],
  10756. [24961, 57715], [20980, 57716], [57717, 132694], [24967, 57718],
  10757. [23466, 57719], [57720, 147383], [57721, 141407], [25043, 57722],
  10758. [57723, 166813], [57724, 170333], [25040, 57725], [14642, 57726],
  10759. [57727, 141696], [57728, 141505], [24611, 57729], [24924, 57730],
  10760. [25886, 57731], [25483, 57732], [57733, 131352], [25285, 57734],
  10761. [57735, 137072], [25301, 57736], [57737, 142861], [25452, 57738],
  10762. [57739, 149983], [14871, 57740], [25656, 57741], [25592, 57742],
  10763. [57743, 136078], [57744, 137212], [28554, 57746], [57747, 142902], 0,
  10764. [57750, 153373], [25825, 57751], [25829, 57752], [38011, 57753],
  10765. [14950, 57754], [25658, 57755], [14935, 57756], [25933, 57757],
  10766. [28438, 57758], [57759, 150056], [57760, 150051], [25989, 57761],
  10767. [25965, 57762], [25951, 57763], 0, [26037, 57765], [57766, 149824],
  10768. [19255, 57767], [26065, 57768], [16600, 57769], [57770, 137257], 57771,
  10769. [26083, 57772], [24543, 57773], [57774, 144384], [26136, 57775],
  10770. [57776, 143863], [57777, 143864], [26180, 57778], [57779, 143780],
  10771. [57780, 143781], [26187, 57781], [57782, 134773], [26215, 57783],
  10772. [57784, 152038], [26227, 57785], 0, [57788, 143921], [57789, 165364],
  10773. [57790, 143816], [57791, 152339], [30661, 57792], [57793, 141559],
  10774. [39332, 57794], [26370, 57795], [57796, 148380], [57797, 150049],
  10775. [27130, 57799], [57800, 145346], 0, [26471, 57802], [26466, 57803],
  10776. [57804, 147917], [57805, 168173], [26583, 57806], [17641, 57807],
  10777. [26658, 57808], [28240, 57809], [37436, 57810], [26625, 57811],
  10778. [57812, 144358], [57813, 159136], [26717, 57814], [57815, 144495],
  10779. [27105, 57816], [27147, 57817], [57818, 166623], [26995, 57819],
  10780. [26819, 57820], [57821, 144845], [26881, 57822], [26880, 57823],
  10781. [14849, 57825], [57826, 144956], [15232, 57827], [26540, 57828],
  10782. [26977, 57829], [57830, 166474], [17148, 57831], [26934, 57832],
  10783. [27032, 57833], [15265, 57834], [57835, 132041], [33635, 57836],
  10784. [20624, 57837], [27129, 57838], [57839, 144985], [57840, 139562],
  10785. [27205, 57841], [57842, 145155], [27293, 57843], [15347, 57844],
  10786. [26545, 57845], [27336, 57846], [57847, 168348], [15373, 57848],
  10787. [27421, 57849], [57850, 133411], [24798, 57851, 60308], [27445, 57852],
  10788. [27508, 57853], [57854, 141261], [28341, 57855], [57856, 146139], 0,
  10789. [57858, 137560], [14144, 57859], [21537, 57860], [57861, 146266],
  10790. [27617, 57862], [57863, 147196], [27612, 57864], [27703, 57865],
  10791. [57866, 140427], [57867, 149745], [57868, 158545], [27738, 57869],
  10792. [33318, 57870], [27769, 57871], [57872, 146876], [17605, 57873],
  10793. [57874, 146877], [57875, 147876], [57876, 149772], [57877, 149760],
  10794. [57878, 146633], [14053, 57879], [15595, 57880], [57881, 134450],
  10795. [39811, 57882], [57883, 143865], [57884, 140433], [32655, 57885],
  10796. [26679, 57886], [57887, 159013], [57888, 159137], [57889, 159211],
  10797. [28054, 57890], [27996, 57891], [28284, 57892], [28420, 57893],
  10798. [57894, 149887], [57895, 147589], [57896, 159346], [34099, 57897],
  10799. [57898, 159604], [20935, 57899], 0, 0, [33838, 57902], [57903, 166689], 0,
  10800. [57905, 146991], [29779, 57906], [57907, 147330], [31180, 57908],
  10801. [28239, 57909], [23185, 57910], [57911, 143435], [28664, 57912],
  10802. [14093, 57913], [28573, 57914], [57915, 146992], [28410, 57916],
  10803. [57917, 136343], [57918, 147517], [17749, 57919], [37872, 57920],
  10804. [28484, 57921], [28508, 57922], [15694, 57923], [28532, 57924],
  10805. [57925, 168304], [15675, 57926], [28575, 57927], [57928, 147780],
  10806. [28627, 57929], [57930, 147601], [57931, 147797], [57932, 147513],
  10807. [57933, 147440], [57934, 147380], [57935, 147775], [20959, 57936],
  10808. [57937, 147798], [57938, 147799], [57939, 147776], [57940, 156125],
  10809. [28747, 57941], [28798, 57942], [28839, 57943], 0, [28876, 57945],
  10810. [28885, 57946], [28886, 57947], [28895, 57948], [16644, 57949],
  10811. [15848, 57950], [29108, 57951], [29078, 57952], [57953, 148087],
  10812. [28971, 57954], [28997, 57955], [23176, 57956], [29002, 57957], 0,
  10813. [57960, 148325], [29007, 57961], [37730, 57962], [57963, 148161],
  10814. [28972, 57964], [57965, 148570], [57966, 150055], [57967, 150050],
  10815. [29114, 57968], [57969, 166888], [28861, 57970], [29198, 57971],
  10816. [37954, 57972], [29205, 57973], [22801, 57974], [37955, 57975],
  10817. [29220, 57976], [37697, 57977], [57978, 153093], [29230, 57979],
  10818. [29248, 57980], [57981, 149876], [26813, 57982], [29269, 57983],
  10819. [29271, 57984], [15957, 57985], [57986, 143428], [26637, 57987],
  10820. [28477, 57988], [29314, 57989], 0, [29483, 57991], [57992, 149539],
  10821. [57993, 165931], [18669, 57994], [57995, 165892], [29480, 57996],
  10822. [29486, 57997], [29647, 57998], [29610, 57999], [58000, 134202],
  10823. [58001, 158254], [29641, 58002], [29769, 58003], [58004, 147938],
  10824. [58005, 136935], [58006, 150052], [26147, 58007], [14021, 58008],
  10825. [58009, 149943], [58010, 149901], [58011, 150011], [29687, 58012],
  10826. [29717, 58013], [26883, 58014], [58015, 150054], [29753, 58016],
  10827. [16087, 58018], 0, [58020, 141485], [29792, 58021], [58022, 167602],
  10828. [29767, 58023], [29668, 58024], [29814, 58025], [33721, 58026],
  10829. [29804, 58027], [29812, 58029], [37873, 58030], [27180, 58031],
  10830. [29826, 58032], [18771, 58033], [58034, 150156], [58035, 147807],
  10831. [58036, 150137], [58037, 166799], [23366, 58038], [58039, 166915],
  10832. [58040, 137374], [29896, 58041], [58042, 137608], [29966, 58043],
  10833. [29982, 58045], [58046, 167641], [58047, 137803], [23511, 58048],
  10834. [58049, 167596], [37765, 58050], [30029, 58051], [30026, 58052],
  10835. [30055, 58053], [30062, 58054], [58055, 151426], [16132, 58056],
  10836. [58057, 150803], [30094, 58058], [29789, 58059], [30110, 58060],
  10837. [30132, 58061], [30210, 58062], [30252, 58063], [30289, 58064],
  10838. [30287, 58065], [30319, 58066], 58067, [58068, 156661], [30352, 58069],
  10839. [33263, 58070], [14328, 58071], [58072, 157969], [58073, 157966],
  10840. [30369, 58074], [30373, 58075], [30391, 58076], [30412, 58077],
  10841. [58078, 159647], [33890, 58079], [58080, 151709], [58081, 151933],
  10842. [58082, 138780], [30494, 58083], [30502, 58084], [30528, 58085],
  10843. [25775, 58086], [58087, 152096], [30552, 58088], [58089, 144044],
  10844. [30639, 58090], [58091, 166244], [58092, 166248], [58093, 136897],
  10845. [30708, 58094], 0, [26826, 58098], [30895, 58099], [30919, 58100],
  10846. [30931, 58101], [38565, 58102], [31022, 58103], [58104, 153056],
  10847. [30935, 58105], [31028, 58106], [30897, 58107], [58108, 161292],
  10848. [36792, 58109], [34948, 58110], [58113, 140828], [31110, 58114],
  10849. [35072, 58115], [26882, 58116], [31104, 58117], [58118, 153687],
  10850. [31133, 58119], [58120, 162617], [31036, 58121], [31145, 58122],
  10851. [28202, 58123], [58124, 160038], [16040, 58125], [31174, 58126],
  10852. [58127, 168205], [31188, 58128], 0, [21797, 62526], 0, [62528, 134210],
  10853. [62529, 134421], [62530, 151851], [21904, 62531], [62532, 142534],
  10854. [14828, 62533], [62534, 131905], [36422, 62535], [62536, 150968],
  10855. [62537, 169189], 0, [62539, 164030], [30586, 62540], [62541, 142392],
  10856. [14900, 62542], [18389, 62543], [62544, 164189], [62545, 158194],
  10857. [62546, 151018], [25821, 62547], [62548, 134524], [62549, 135092],
  10858. [62550, 134357], 0, [25741, 62552], [36478, 62553], [62554, 134806], 0,
  10859. [62556, 135012], [62557, 142505], [62558, 164438], [62559, 148691], 0,
  10860. [62561, 134470], [62562, 170573], [62563, 164073], [18420, 62564],
  10861. [62565, 151207], [62566, 142530], [39602, 62567], [14951, 62568],
  10862. [62569, 169460], [16365, 62570], [13574, 62571], [62572, 152263],
  10863. [62573, 169940], 0, [62575, 142660], [40302, 62576], [38933, 62577], 0,
  10864. [17369, 62579], 0, [25780, 62581], [21731, 62582], 0, [62584, 142282], 0,
  10865. [14843, 62586], 0, [62588, 157402], [62589, 157462], [62590, 162208],
  10866. [25834, 62591], [62592, 151634], [62593, 134211], [36456, 62594], 0,
  10867. [62596, 166732], [62597, 132913], 0, [18443, 62599], [62600, 131497],
  10868. [16378, 62601], [22643, 62602], [62603, 142733], 0, [62605, 148936],
  10869. [62606, 132348], [62607, 155799], [62608, 134988], 0, [21881, 62610], 0,
  10870. [17338, 62612], 0, [19124, 62614], [62615, 141926], [62616, 135325],
  10871. [33194, 62617], [39157, 62618], [62619, 134556], [25465, 62620],
  10872. [14846, 62621], [62622, 141173], [36288, 62623], [22177, 62624],
  10873. [25724, 62625], [15939, 62626], 0, [62628, 173569], [62629, 134665],
  10874. [62630, 142031], 0, 0, [62633, 135368], [62634, 145858], [14738, 62635],
  10875. [14854, 62636], [62637, 164507], [13688, 62638], [62639, 155209],
  10876. [62640, 139463], 0, 0, [62643, 142514], [62644, 169760], [13500, 62645],
  10877. [27709, 62646], [62647, 151099], 0, 0, [62650, 161140], [62651, 142987],
  10878. [62652, 139784], [62653, 173659], [62654, 167117], [62655, 134778],
  10879. [62656, 134196], [62683, 161337], [62684, 142286], [62687, 142417],
  10880. [14872, 62689], [62691, 135367], [62693, 173618], [62695, 167122],
  10881. [62696, 167321], [62697, 167114], [38314, 62698], 0, [62706, 161630],
  10882. [28992, 62708], 0, [20822, 62385], 0, [20616, 62487], 0, [13459, 62489],
  10883. [20870, 62491], [24130, 63037], [20997, 62495], [21031, 62436],
  10884. [21113, 62497], 0, [13651, 62504], [21442, 62505], [21343, 62715], 0,
  10885. [21823, 62520], 0, [21976, 59986], [13789, 62722], [22049, 63067], 0,
  10886. [22100, 60044], [60148, 135291], 0, [60153, 135379], 0, [61095, 135934], 0,
  10887. 0, [14265, 60104], [23745, 61099], [23829, 63066], [23894, 63030],
  10888. [14392, 63036], [20097, 62477], [24253, 63038], [14612, 63042],
  10889. [25017, 63050], [25232, 63054], [25368, 63056], [25690, 63063],
  10890. [25745, 62381], [33133, 62709], [33156, 59922], [33171, 59924],
  10891. [26624, 63080], [15292, 63093], [29327, 60517], [29389, 59781], 0,
  10892. [29497, 59785], [30018, 59811], [30172, 59817], [16320, 59818],
  10893. [60278, 151205], [16343, 59820], 0, 30336, [30348, 59824, 151388],
  10894. [16552, 59845], [30777, 59846], [16643, 59855], [31377, 59863],
  10895. [31771, 59876], [31981, 59884], [32659, 62658], [32686, 59892], 0,
  10896. [33535, 59936], [22623, 59981], [34482, 59960], 0, [34699, 59963],
  10897. [35143, 59969], 0, [35369, 59972], 0, [36465, 59988], [60484, 164233],
  10898. [36528, 59990], 0, [37214, 62443], [37260, 62441], [39182, 60051],
  10899. [39196, 60054], 0, 0, [39809, 60066], [40384, 60080], [40339, 60078],
  10900. [40620, 60085], [19857, 60540], 0, 37818, [40571, 60084], [28809, 63148],
  10901. [29512, 59788], 0, [31129, 59858], [36791, 59997], 0, [39234, 60056],
  10902. {s: 193}, 8364, {s: 4}, [12443, 63518], [12444, 63519], [11904, 63520],
  10903. {f: 5, c: 62211}, [62216, 131340], 62217, [62218, 131281], [62219, 131277],
  10904. {f: 2, c: 62220}, [62222, 131275], [62223, 139240], 62224, [62225, 131274],
  10905. {f: 4, c: 62226}, [62230, 131342], {f: 2, c: 62231}, {f: 2, c: 62776},
  10906. [62778, 138177], [62779, 194680], [12205, 38737, 62780], [62781, 131206],
  10907. [20059, 62782], [20155, 62783], [13630, 62784], [23587, 62785],
  10908. [24401, 62786], [24516, 62787], [14586, 62788], [25164, 62789],
  10909. [25909, 62790], [27514, 62791], [27701, 62792], [27706, 62793],
  10910. [28780, 62794], [29227, 62795], [20012, 62796], [29357, 62797],
  10911. [62798, 149737], [32594, 62799], [31035, 62800], [31993, 62801],
  10912. [32595, 62802], [62803, 156266], [13505, 62804], [62806, 156491],
  10913. [32770, 62807], [32896, 62808], [62809, 157202], [62810, 158033],
  10914. [21341, 62811], [34916, 62812], [35265, 62813], [62814, 161970],
  10915. [35744, 62815], [36125, 62816], [38021, 62817], [38264, 62818],
  10916. [38271, 62819], [38376, 62820], [62821, 167439], [38886, 62822],
  10917. [39029, 62823], [39118, 62824], [39134, 62825], [39267, 62826],
  10918. [62827, 170000], [40060, 62828], [40479, 62829], [40644, 62830],
  10919. [27503, 62831], [62832, 63751], [20023, 62833], [62834, 131207],
  10920. [38429, 62835], [25143, 62836], [38050, 62837], [11908, 63521],
  10921. [11910, 63522], [11911, 63523], [11912, 63524], [11914, 63525],
  10922. [11916, 63526], [11917, 63527], [11925, 63528], [11932, 63529],
  10923. [11941, 63531], [11943, 63532], [11946, 63533], [11948, 63534],
  10924. [11950, 63535], [11958, 63536], [11964, 63537], [11966, 63538],
  10925. [11978, 63540], [11980, 63541], [11981, 63542], [11983, 63543],
  10926. [11990, 63544], [11991, 63545], [11998, 63546], [62368, 172969],
  10927. [62369, 135493], [25866, 62371], [20029, 62374], [28381, 62375],
  10928. [40270, 62376], [37343, 62377], [62380, 161589], [20250, 62382],
  10929. [20264, 62383], [20392, 62384], [20852, 62386], [20892, 62387],
  10930. [20964, 62388], [21153, 62389], [21160, 62390], [21307, 62391],
  10931. [21326, 62392], [21457, 62393], [21464, 62394], [22242, 62395],
  10932. [22768, 62396], [22788, 62397], [22791, 62398], [22834, 62399],
  10933. [22836, 62400], [23398, 62401], [23454, 62402], [23455, 62403],
  10934. [23706, 62404], [24198, 62405], [24635, 62406], [25993, 62407],
  10935. [26622, 62408], [26628, 62409], [26725, 62410], [27982, 62411],
  10936. [28860, 62412], [30005, 62413], [32420, 62414], [32428, 62415],
  10937. [32442, 62416], [32455, 62417], [32463, 62418], [32479, 62419],
  10938. [32518, 62420], [32567, 62421], [33402, 62422], [33487, 62423],
  10939. [33647, 62424], [35270, 62425], [35774, 62426], [35810, 62427],
  10940. [36710, 62428], [36711, 62429], [36718, 62430], [29713, 62431],
  10941. [31996, 62432], [32205, 62433], [26950, 62434], [31433, 62435],
  10942. [30904, 62442], [32956, 62444], [36107, 62446], [33014, 62447],
  10943. [62448, 133607], [32927, 62451], [40647, 62452], [19661, 62453],
  10944. [40393, 62454], [40460, 62455], [19518, 62456], [62457, 171510],
  10945. [62458, 159758], [40458, 62459], [62460, 172339], [13761, 62461],
  10946. [28314, 62463], [33342, 62464], [29977, 62465], [18705, 62467],
  10947. [39532, 62468], [39567, 62469], [40857, 62470], [31111, 62471],
  10948. [62472, 164972], [62473, 138698], [62474, 132560], [62475, 142054],
  10949. [20004, 62476], [20096, 62478], [20103, 62479], [20159, 62480],
  10950. [20203, 62481], [20279, 62482], [13388, 62483], [20413, 62484],
  10951. [15944, 62485], [20483, 62486], [13437, 62488], [13477, 62490],
  10952. [22789, 62492], [20955, 62493], [20988, 62494], [20105, 62496],
  10953. [21136, 62498], [21287, 62499], [13767, 62500], [21417, 62501],
  10954. [13649, 62502], [21424, 62503], [21539, 62506], [13677, 62507],
  10955. [13682, 62508], [13953, 62509], [21651, 62510], [21667, 62511],
  10956. [21684, 62512], [21689, 62513], [21712, 62514], [21743, 62515],
  10957. [21784, 62516], [21795, 62517], [21800, 62518], [13720, 62519],
  10958. [13733, 62521], [13759, 62522], [21975, 62523], [13765, 62524],
  10959. [62525, 163204], [16467, 62538], [62551, 135412], [62555, 134155],
  10960. [62574, 161992], [62580, 155813], [62583, 142668], [62585, 135287],
  10961. [62587, 135279], [62595, 139681], [62609, 134550], [16571, 62611],
  10962. [62631, 142537], [22098, 62641], [62642, 134961], [62657, 157724],
  10963. [62659, 135375], [62660, 141315], [62661, 141625], [13819, 62662],
  10964. [62663, 152035], [62664, 134796], [62665, 135053], [62666, 134826],
  10965. [16275, 62667], [62668, 134960], [62669, 134471], [62670, 135503],
  10966. [62671, 134732], [62673, 134827], [62674, 134057], [62675, 134472],
  10967. [62676, 135360], [62677, 135485], [16377, 62678], [62679, 140950],
  10968. [25650, 62680], [62681, 135085], [62682, 144372], [62685, 134526],
  10969. [62686, 134527], [62688, 142421], [62690, 134808], [62692, 134958],
  10970. [62694, 158544], [21708, 62699], [33476, 62700], [21945, 62701],
  10971. [62703, 171715], [39974, 62704], [39606, 62705], [62707, 142830],
  10972. [33004, 62710], [23580, 62711], [62712, 157042], [33076, 62713],
  10973. [14231, 62714], [62716, 164029], [37302, 62717], [62718, 134906],
  10974. [62719, 134671], [62720, 134775], [62721, 134907], [62723, 151019],
  10975. [13833, 62724], [62725, 134358], [22191, 62726], [62727, 141237],
  10976. [62728, 135369], [62729, 134672], [62730, 134776], [62731, 135288],
  10977. [62732, 135496], [62733, 164359], [62734, 136277], [62735, 134777],
  10978. [62736, 151120], [62737, 142756], [23124, 62738], [62739, 135197],
  10979. [62740, 135198], [62741, 135413], [62742, 135414], [22428, 62743],
  10980. [62744, 134673], [62745, 161428], [62746, 164557], [62747, 135093],
  10981. [62748, 134779], [62749, 151934], [14083, 62750], [62751, 135094],
  10982. [62752, 135552], [62753, 152280], [62754, 172733], [62755, 149978],
  10983. [62756, 137274], [62757, 147831], [62758, 164476], [22681, 62759],
  10984. [21096, 62760], [13850, 62761], [62762, 153405], [31666, 62763],
  10985. [23400, 62764], [18432, 62765], [19244, 62766], [40743, 62767],
  10986. [18919, 62768], [39967, 62769], [39821, 62770], [62771, 154484],
  10987. [62772, 143677], [22011, 62773], [13810, 62774], [22153, 62775],
  10988. [23870, 63028], [23880, 63029], [15868, 63031], [14351, 63032],
  10989. [23972, 63033], [23993, 63034], [14368, 63035], [24357, 63039],
  10990. [24451, 63040], [14600, 63041], [14655, 63043], [14669, 63044],
  10991. [24791, 63045], [24893, 63046], [23781, 63047], [14729, 63048],
  10992. [25015, 63049], [25039, 63051], [14776, 63052], [25132, 63053],
  10993. [25317, 63055], [14840, 63057], [22193, 63058], [14851, 63059],
  10994. [25570, 63060], [25595, 63061], [25607, 63062], [14923, 63064],
  10995. [25792, 63065], [40863, 63068], [14999, 63069], [25990, 63070],
  10996. [15037, 63071], [26111, 63072], [26195, 63073], [15090, 63074],
  10997. [26258, 63075], [15138, 63076], [26390, 63077], [15170, 63078],
  10998. [26532, 63079], [15192, 63081], [26698, 63082], [26756, 63083],
  10999. [15218, 63084], [15217, 63085], [15227, 63086], [26889, 63087],
  11000. [26947, 63088], [29276, 63089], [26980, 63090], [27039, 63091],
  11001. [27013, 63092], [27094, 63094], [15325, 63095], [27237, 63096],
  11002. [27252, 63097], [27249, 63098], [27266, 63099], [15340, 63100],
  11003. [27289, 63101], [15346, 63102], [27307, 63103], [27317, 63104],
  11004. [27348, 63105], [27382, 63106], [27521, 63107], [27585, 63108],
  11005. [27626, 63109], [27765, 63110], [27818, 63111], [15563, 63112],
  11006. [27906, 63113], [27910, 63114], [27942, 63115], [28033, 63116],
  11007. [15599, 63117], [28068, 63118], [28081, 63119], [28181, 63120],
  11008. [28184, 63121], [28201, 63122], [28294, 63123], [63124, 166336],
  11009. [28347, 63125], [28386, 63126], [28378, 63127], [40831, 63128],
  11010. [28392, 63129], [28393, 63130], [28452, 63131], [28468, 63132],
  11011. [15686, 63133], [63134, 147265], [28545, 63135], [28606, 63136],
  11012. [15722, 63137], [15733, 63138], [29111, 63139], [23705, 63140],
  11013. [15754, 63141], [28716, 63142], [15761, 63143], [28752, 63144],
  11014. [28756, 63145], [28783, 63146], [28799, 63147], [63149, 131877],
  11015. [17345, 63150], [13809, 63151], [63152, 134872], [13902, 58134],
  11016. [15789, 58172], [58173, 154725], [26237, 58183], [31860, 58188],
  11017. [29837, 58197], [32402, 58215], [17667, 58232], [58260, 151480],
  11018. [58270, 133901], [58277, 158474], [13438, 58311], [58317, 143087],
  11019. [58325, 146613], [58343, 159385], [34673, 58364], [25537, 58385],
  11020. [30583, 58387], [35210, 58390], [58406, 147343], [35660, 58415],
  11021. [58440, 150729], [18730, 58464], [58471, 172052], [58472, 165564],
  11022. [58473, 165121], [15088, 58490], [28815, 58511], [58529, 140922],
  11023. [58637, 158120], [58646, 148043], [26760, 58662], [58664, 139611],
  11024. [40802, 58702], [37830, 58793], [58802, 131967], [37734, 58888],
  11025. [37519, 58901], [34324, 58954], [58986, 173147], [16784, 59010],
  11026. [26511, 59045], [26654, 59048], [14435, 59051], [59077, 149996],
  11027. [15129, 59128], [33942, 59176], [59241, 149858], [14818, 59254],
  11028. [33920, 59259], [17262, 59328], [38769, 59402], [39323, 59427],
  11029. [18733, 59499], [28439, 59703], [59704, 160009], [28838, 59746],
  11030. [59752, 150095], [32357, 59753], [23855, 59755], [15859, 59756],
  11031. [59758, 150109], [59759, 137183], [32164, 59760], [33830, 59761],
  11032. [21637, 59762], [59763, 146170], [59765, 131604], [22398, 59766],
  11033. [59767, 133333], [59768, 132633], [16357, 59769], [59770, 139166],
  11034. [59771, 172726], [28675, 59772], [59773, 168283], [23920, 59774],
  11035. [29583, 59775], [59777, 166489], [59778, 168992], [20424, 59779],
  11036. [32743, 59780], [29456, 59782], [29496, 59784], [29505, 59787],
  11037. [16041, 59789], [29173, 59792], [59793, 149746], [29665, 59794],
  11038. [16074, 59796], [16081, 59798], [29721, 59801], [29726, 59802],
  11039. [29727, 59803], [16098, 59804], [16112, 59805], [16116, 59806],
  11040. [16122, 59807], [29907, 59808], [16142, 59809], [16211, 59810],
  11041. [30061, 59812], [30066, 59813], [30093, 59814], [16252, 59815],
  11042. [30152, 59816], [30285, 59819], [30324, 59821], [16348, 59822],
  11043. [30330, 59823], [29064, 59825], [22051, 59826], [35200, 59827],
  11044. [16413, 59829], [30531, 59830], [16441, 59831], [16453, 59833],
  11045. [13787, 59834], [30616, 59835], [16490, 59836], [16495, 59837],
  11046. [30654, 59839], [30667, 59840], [30744, 59842], [30748, 59844],
  11047. [30791, 59847], [30801, 59848], [30822, 59849], [33864, 59850],
  11048. [59851, 152885], [31027, 59852], [31026, 59854], [16649, 59856],
  11049. [31121, 59857], [31238, 59860], [16743, 59862], [16818, 59864],
  11050. [31420, 59865], [33401, 59866], [16836, 59867], [31439, 59868],
  11051. [31451, 59869], [16847, 59870], [31586, 59872], [31596, 59873],
  11052. [31611, 59874], [31762, 59875], [16992, 59877], [17018, 59878],
  11053. [31867, 59879], [31900, 59880], [17036, 59881], [31928, 59882],
  11054. [17044, 59883], [36755, 59885], [28864, 59886], [59887, 134351],
  11055. [32207, 59888], [32212, 59889], [32208, 59890], [32253, 59891],
  11056. [32692, 59893], [29343, 59894], [17303, 59895], [32800, 59896],
  11057. [32805, 59897], [32814, 59899], [32817, 59900], [32852, 59901],
  11058. [22452, 59903], [28832, 59904], [32951, 59905], [33001, 59906],
  11059. [17389, 59907], [33036, 59908], [33038, 59910], [33042, 59911],
  11060. [33044, 59913], [17409, 59914], [15161, 59915], [33110, 59916],
  11061. [33113, 59917], [33114, 59918], [17427, 59919], [33148, 59921],
  11062. [17445, 59923], [17453, 59925], [33189, 59926], [22511, 59927],
  11063. [33217, 59928], [33252, 59929], [33364, 59930], [17551, 59931],
  11064. [33398, 59933], [33482, 59934], [33496, 59935], [17584, 59937],
  11065. [33623, 59938], [38505, 59939], [33797, 59941], [28917, 59942],
  11066. [33892, 59943], [33928, 59945], [17668, 59946], [33982, 59947],
  11067. [34017, 59948], [34040, 59949], [34064, 59950], [34104, 59951],
  11068. [34130, 59952], [17723, 59953], [34159, 59954], [34160, 59955],
  11069. [34272, 59956], [17783, 59957], [34418, 59958], [34450, 59959],
  11070. [34543, 59961], [38469, 59962], [17926, 59964], [17943, 59965],
  11071. [34990, 59966], [35071, 59967], [35108, 59968], [35217, 59970],
  11072. [59971, 162151], [35384, 59973], [35476, 59974], [35508, 59975],
  11073. [35921, 59976], [36052, 59977], [36082, 59978], [36124, 59979],
  11074. [18328, 59980], [36291, 59982], [18413, 59983], [36410, 59985],
  11075. [22356, 59987], [22005, 59989], [18487, 59991], [36558, 59992],
  11076. [36578, 59993], [36580, 59994], [36589, 59995], [36594, 59996],
  11077. [36801, 59998], [36810, 59999], [36812, 60000], [36915, 60001],
  11078. [18605, 60003], [39136, 60004], [37395, 60005], [18718, 60006],
  11079. [37416, 60007], [37464, 60008], [37483, 60009], [37553, 60010],
  11080. [37550, 60011], [37567, 60012], [37603, 60013], [37611, 60014],
  11081. [37619, 60015], [37620, 60016], [37629, 60017], [37699, 60018],
  11082. [37764, 60019], [37805, 60020], [18757, 60021], [18769, 60022],
  11083. [37911, 60024], [37917, 60026], [37933, 60027], [37950, 60028],
  11084. [18794, 60029], [37972, 60030], [38009, 60031], [38189, 60032],
  11085. [38306, 60033], [18855, 60034], [38388, 60035], [38451, 60036],
  11086. [18917, 60037], [18980, 60039], [38720, 60040], [18997, 60041],
  11087. [38834, 60042], [38850, 60043], [19172, 60045], [39097, 60047],
  11088. [19225, 60048], [39153, 60049], [22596, 60050], [39193, 60052],
  11089. [39223, 60055], [39261, 60057], [39266, 60058], [19312, 60059],
  11090. [39365, 60060], [19357, 60061], [39484, 60062], [39695, 60063],
  11091. [39785, 60065], [39901, 60067], [39921, 60068], [39924, 60069],
  11092. [19565, 60070], [39968, 60071], [14191, 60072], [60073, 138178],
  11093. [40265, 60074], [40702, 60076], [22096, 60077], [40381, 60079],
  11094. [40444, 60081], [38134, 60082], [36790, 60083], [40625, 60086],
  11095. [40637, 60087], [40646, 60088], [38108, 60089], [40674, 60090],
  11096. [40689, 60091], [40696, 60092], [40772, 60094], [60095, 131220],
  11097. [60096, 131767], [60097, 132000], [38083, 60099], [60101, 132311],
  11098. [38081, 60103], [60105, 132565], [60106, 132629], [60107, 132726],
  11099. [60108, 136890], [22359, 60109], [29043, 60110], [60111, 133826],
  11100. [60112, 133837], [60113, 134079], [60115, 194619], [60116, 134091],
  11101. [21662, 60117], [60118, 134139], [60119, 134203], [60120, 134227],
  11102. [60121, 134245], [60122, 134268], [60124, 134285], [60126, 134325],
  11103. [60127, 134365], [60128, 134381], [60129, 134511], [60130, 134578],
  11104. [60131, 134600], [60135, 134660], [60136, 134670], [60137, 134871],
  11105. [60138, 135056], [60139, 134957], [60140, 134771], [60142, 135100],
  11106. [60144, 135260], [60145, 135247], [60146, 135286], [60149, 135304],
  11107. [60150, 135318], [13895, 60151], [60152, 135359], [60154, 135471],
  11108. [60155, 135483], [21348, 60156], [60158, 135907], [60159, 136053],
  11109. [60160, 135990], [60162, 136567], [60163, 136729], [60164, 137155],
  11110. [60165, 137159], [28859, 60167], [60168, 137261], [60169, 137578],
  11111. [60170, 137773], [60171, 137797], [60172, 138282], [60173, 138352],
  11112. [60174, 138412], [60175, 138952], [60177, 138965], [60178, 139029],
  11113. [29080, 60179], [60181, 139333], [27113, 60182], [14024, 60183],
  11114. [60184, 139900], [60185, 140247], [60186, 140282], [60187, 141098],
  11115. [60188, 141425], [60189, 141647], [60191, 141671], [60192, 141715],
  11116. [60193, 142037], [60195, 142056], [60197, 142094], [60199, 142143],
  11117. [60202, 142412], [60204, 142472], [60205, 142519], [60206, 154600],
  11118. [60207, 142600], [60208, 142610], [60209, 142775], [60210, 142741],
  11119. [60211, 142914], [60212, 143220], [60213, 143308], [60214, 143411],
  11120. [60215, 143462], [60216, 144159], [60217, 144350], [60222, 144743],
  11121. [60223, 144883], [60227, 144922], [60228, 145174], [22709, 60231],
  11122. [60234, 146087], [60237, 146961], [60238, 147129], [60243, 147737],
  11123. [60245, 148206], [60246, 148237], [60248, 148276], [60249, 148374],
  11124. [60258, 148484], [60259, 148694], [22408, 60260], [60261, 149108],
  11125. [60263, 149295], [60271, 149522], [60272, 149755], [60273, 150037],
  11126. [60275, 150208], [22885, 60277], [60279, 151430], [60282, 151596],
  11127. [22335, 60284], [60286, 152217], [60287, 152601], [60291, 152646],
  11128. [60292, 152686], [60296, 152895], [60298, 152926], [60300, 152930],
  11129. [60301, 152934], [60302, 153543], [60304, 153693], [60309, 153859],
  11130. [60312, 154286], [60313, 154505], [60314, 154630], [22433, 60316],
  11131. [29009, 60317], [60319, 155906], [60322, 156082], [60325, 156674],
  11132. [60326, 156746], [60330, 156804], [60334, 156808], [60336, 156946],
  11133. [60338, 157119], [60339, 157365], [22201, 60347], [60349, 157436],
  11134. [13848, 60355], [60357, 157593], [60358, 157806], [60360, 157790],
  11135. [60362, 157895], [60366, 157990], [60368, 158009], [60371, 158202],
  11136. [60373, 158253], [60378, 158260], [60379, 158555], [60383, 158621],
  11137. [60385, 158884], [60388, 159150], [60392, 159819], [60393, 160205],
  11138. [60395, 160384], [60396, 160389], [60399, 160395], [60401, 160486],
  11139. [38047, 60404], [60405, 160848], [14009, 60416], [60424, 161740],
  11140. [60425, 161880], [22230, 60426], [60435, 162269], [60441, 162301],
  11141. [60442, 162314], [60443, 162571], [60444, 163174], [60448, 163849],
  11142. [60459, 163875], [60463, 163912], [60466, 163971], [60479, 163984],
  11143. [60480, 164084], [60481, 164142], [60483, 164175], [60485, 164271],
  11144. [60486, 164378], [60487, 164614], [60488, 164655], [60489, 164746],
  11145. [60491, 164968], [60492, 165546], [25574, 60494], [60495, 166230],
  11146. [60498, 166328], [60500, 166375], [60502, 166376], [60503, 166726],
  11147. [60504, 166868], [60506, 166921], [60508, 167877], [60509, 168172],
  11148. [60511, 168208], [60512, 168252], [15863, 60513], [60514, 168286],
  11149. [60515, 150218], [36816, 60516], [60519, 169191], [60521, 169392],
  11150. [60522, 169400], [60523, 169778], [60524, 170193], [60525, 170313],
  11151. [60526, 170346], [60527, 170435], [60528, 170536], [60529, 170766],
  11152. [60530, 171354], [60531, 171419], [32415, 60532], [60533, 171768],
  11153. [60534, 171811], [19620, 60535], [38215, 60536], [60537, 172691],
  11154. [29090, 60538], [60539, 172799], [60542, 173515], [19868, 60543],
  11155. [60544, 134300], [36798, 60545], [36794, 60547], [60548, 140464],
  11156. [36793, 60549], [60550, 150163], [20202, 60555], [60557, 166700],
  11157. [36480, 60560], [60561, 137205], [60563, 166764], [60564, 166809],
  11158. [60566, 157359], [60568, 161365], [60570, 153141], [60571, 153942],
  11159. [20122, 60572], [60573, 155265], [60576, 134765], [60579, 147080],
  11160. [60580, 150686], [60583, 137206], [60584, 137339], [60587, 154698],
  11161. [60589, 152337], [15814, 60590], [60596, 155352], [19996, 60600],
  11162. [60601, 135146], [60602, 134473], [60603, 145082], [60638, 151880],
  11163. [21982, 60644], [34694, 60672], [60676, 135361], [60679, 149254],
  11164. [23440, 60680], [60682, 157843], [60684, 141044], [60685, 163119],
  11165. [60686, 147875], [60687, 163187], [60688, 159440], [60689, 160438],
  11166. [60691, 135641], [60693, 146684], [60694, 173737], [60695, 134828],
  11167. [60698, 138402], [60700, 151490], [60702, 135147], [60706, 142752],
  11168. [60710, 135148], [60711, 134666], [60714, 135149], [60717, 135559],
  11169. [19994, 60721], [19972, 60722], [23309, 60724], [13996, 60727],
  11170. [21373, 60729], [13989, 60730], [22682, 60732], [60733, 150382],
  11171. [22442, 60736], [60737, 154261], [60738, 133497], [60741, 140389],
  11172. [60746, 146686], [60747, 171824], [60749, 151465], [60750, 169374],
  11173. [60753, 146870], [60755, 157619], [60756, 145184], [60759, 147191],
  11174. [60760, 146988], [60785, 143578], [60789, 135849], [22439, 60790],
  11175. [60791, 149859], [60794, 159918], [60801, 137068], [60806, 160100],
  11176. [60809, 159010], [60810, 150242], [39963, 60837], [60838, 149822],
  11177. [15878, 60846], [60881, 159011], [60887, 132092], [60891, 146685],
  11178. [60893, 149785], [22394, 60904], [21722, 60912], [29050, 60928],
  11179. [60949, 150135], [60955, 166490], [60962, 194624], [60976, 137275],
  11180. [61000, 155993], [61014, 144373], [61019, 166850], [61024, 138566],
  11181. [61054, 159441], [13877, 61065], [61084, 166701], [21024, 61088],
  11182. [15384, 61089], [61090, 146631], [61091, 155351], [61092, 161366],
  11183. [61093, 152881], [61094, 137540], [61096, 170243], [61097, 159196],
  11184. [61098, 159917], [61100, 156077], [61101, 166415], [61102, 145015],
  11185. [61103, 131310], [61104, 157766], [61105, 151310], [17762, 61106],
  11186. [23327, 61107], [61108, 156492], [40784, 61109], [40614, 61110],
  11187. [61111, 156267], [20962, 57415], [21314, 57416], [26285, 57520],
  11188. [22620, 57547], [21843, 57566], [15749, 57594], [24928, 57608],
  11189. [18606, 57668], [38845, 57676], [57693, 137335], [24755, 57703],
  11190. [33828, 57711], [38932, 57748], [57749, 147596], [57764, 143486],
  11191. [57787, 138813], [15147, 57798], [15666, 57824], [57857, 132021],
  11192. [28801, 57944], [23708, 57959], [58017, 132547], [14128, 58028],
  11193. [58096, 136054], [58097, 150034], [58111, 166699], [58112, 155779],
  11194. [256, 62233], [193, 62234], [461, 62235], [192, 62236], [274, 62237],
  11195. [201, 62238], [282, 62239], [200, 62240], [332, 62241], [211, 62242],
  11196. [465, 62243], [210, 62244], 62245, [7870, 62246], 62247, [7872, 62248],
  11197. [202, 62249], [257, 62250], [225, 62251], [462, 62252], [224, 62253],
  11198. [593, 62254], [275, 62255], [233, 62256], [283, 62257], [232, 62258],
  11199. [299, 62259], [237, 62260], [464, 62261], [236, 62262], [333, 62263],
  11200. [243, 62264], [466, 62265], [242, 62266], [363, 62267], [250, 62268],
  11201. [468, 62269], [249, 62270], [470, 62271], [472, 62272], [474, 62273],
  11202. [476, 62274], [252, 62275], 62276, [7871, 62277], 62278, [7873, 62279],
  11203. [234, 62280], [609, 62281], [643, 63551], [592, 63552], [603, 63553],
  11204. [596, 63554], [629, 63555], [339, 63556], [248, 63557], [331, 63558],
  11205. [650, 63559], [618, 63560], {f: 2, c: 62282}, [11933, 63530],
  11206. [11974, 63539], [12003, 63547], 20539, 28158, [62841, 171123], 62842,
  11207. [15817, 62843], 34959, [62845, 147790], 28791, 23797, [19232, 62848],
  11208. [62849, 152013], [13657, 62850], [62851, 154928], 24866, [62853, 166450],
  11209. 36775, 37366, 29073, 26393, 29626, [62859, 144001], [62860, 172295],
  11210. [15499, 62861], [62862, 137600], [19216, 62863], 30948, 29698, 20910,
  11211. [62867, 165647], [16393, 62868], 27235, [62870, 172730], [16931, 62871],
  11212. 34319, 31274, [62875, 170311], [62876, 166634], 38741, 28749, 21284,
  11213. [62880, 139390], 37876, 30425, [62883, 166371], 62884, 30685, 20131, 20464,
  11214. 20668, 20015, 20247, 62891, 21556, 32139, 22674, 22736, [62896, 138678],
  11215. 24210, 24217, 24514, [62900, 141074], 25995, [62902, 144377], 26905, 27203,
  11216. [62905, 146531], 27903, 29184, [62909, 148741], 29580, [16091, 62911],
  11217. [62912, 150035], 23317, 29881, 35715, [62916, 154788], [62917, 153237],
  11218. 31379, 31724, 31939, 32364, 33528, 34199, 62924, 34960, 62926, 36537,
  11219. 62928, 36815, 34143, 39392, 37409, 62933, [62934, 167353], [62935, 136255],
  11220. [16497, 62936], [17058, 62937], 23066, 39016, 26475, [17014, 62944], 22333,
  11221. 34262, [62948, 149883], 33471, [62950, 160013], [19585, 62951],
  11222. [62952, 159092], 23931, [62954, 158485], [62955, 159678], {f: 2, c: 62956},
  11223. 23446, 62959, 32347],
  11224. 'Adobe-GB1': [{f: 95, c: 32}, {f: 3, c: 12288}, [183, 12539], 713, 711, 168,
  11225. 12291, 12293, 8212, 65374, 8214, [8230, 8943], {f: 2, c: 8216},
  11226. {f: 2, c: 8220}, {f: 2, c: 12308}, {f: 8, c: 12296}, {f: 2, c: 12310},
  11227. {f: 2, c: 12304}, 177, 215, 247, 8758, {f: 2, c: 8743}, 8721, 8719, 8746,
  11228. 8745, 8712, 8759, 8730, 8869, 8741, 8736, 8978, 8857, 8747, 8750, 8801,
  11229. 8780, 8776, 8765, 8733, 8800, {f: 2, c: 8814}, {f: 2, c: 8804}, 8734, 8757,
  11230. 8756, 9794, 9792, 176, {f: 2, c: 8242}, 8451, 65284, 164, {f: 2, c: 65504},
  11231. 8240, 167, 8470, 9734, 9733, 9675, 9679, 9678, 9671, 9670, 9633, 9632,
  11232. 9651, 9650, 8251, 8594, {f: 2, c: 8592}, 8595, 12307, {f: 20, c: 9352},
  11233. {f: 20, c: 9332}, {f: 10, c: 9312}, {f: 10, c: 12832}, {f: 12, c: 8544},
  11234. {f: 3, c: 65281}, 65509, {f: 89, c: 65285}, 65507, {f: 83, c: 12353},
  11235. {f: 86, c: 12449}, {f: 17, c: 913}, {f: 7, c: 931}, {f: 17, c: 945},
  11236. {f: 7, c: 963}, {f: 7, c: 59277}, {f: 2, c: 65077}, {f: 2, c: 65081},
  11237. {f: 2, c: 65087}, {f: 2, c: 65085}, {f: 4, c: 65089}, {f: 2, c: 59284},
  11238. {f: 2, c: 65083}, {f: 2, c: 65079}, 65073, 59286, {f: 2, c: 65075},
  11239. {f: 6, c: 1040}, 1025, {f: 32, c: 1046}, 1105, {f: 26, c: 1078}, 257, 225,
  11240. 462, 224, 275, 233, 283, 232, 299, 237, 464, 236, 333, 243, 466, 242, 363,
  11241. 250, 468, 249, 470, 472, 474, 476, 252, 234, 593, 7743, 324, 328, 505, 609,
  11242. {f: 37, c: 12549}, 0, {f: 76, c: 9472}, {s: 126}, 21834, 38463, 22467,
  11243. 25384, 21710, 21769, 21696, 30353, 30284, 34108, 30702, 33406, 30861,
  11244. 29233, 38552, 38797, 27688, 23433, 20474, 25353, 26263, 23736, 33018,
  11245. 26696, 32942, 26114, 30414, 20985, 25942, 29100, 32753, 34948, 20658,
  11246. 22885, 25034, 28595, 33453, 25420, 25170, 21485, 21543, 31494,
  11247. [12043, 20843], 30116, 24052, 25300, 36299, 38774, 25226, 32793, 22365,
  11248. 38712, 32610, 29240, [12137, 30333], 26575, 30334, 25670, 20336, 36133,
  11249. 25308, 31255, 26001, 29677, 25644, 25203, 33324, 39041, 26495, 29256,
  11250. 25198, 25292, 20276, 29923, 21322, 21150, 32458, 37030, 24110, 26758,
  11251. 27036, 33152, 32465, 26834, 30917, 34444, 38225, 20621, 35876, 33502,
  11252. 32990, 21253, 35090, 21093, 34180, 38649, 20445, 22561, 39281, 23453,
  11253. 25265, 25253, 26292, 35961, 40077, 29190, 26479, 30865, 24754, 21329,
  11254. 21271, 36744, 32972, 36125, 38049, 20493, 29384, 22791, 24811, 28953,
  11255. 34987, 22868, 33519, 26412, 31528, 23849, 32503, 29997, 27893, 36454,
  11256. 36856, 36924, [12240, 40763], [12112, 27604], 37145, 31508, 24444, 30887,
  11257. 34006, 34109, 27605, 27609, 27606, 24065, 24199, 30201, 38381, 25949,
  11258. 24330, 24517, 36767, 22721, 33218, 36991, 38491, 38829, 36793, 32534,
  11259. 36140, 25153, 20415, 21464, 21342, {f: 2, c: 36776}, 36779, 36941, 26631,
  11260. 24426, 33176, 34920, 40150, 24971, 21035, 30250, 24428, 25996, 28626,
  11261. 28392, 23486, 25672, 20853, 20912, 26564, 19993, 31177, 39292, 28851,
  11262. 30149, 24182, 29627, 33760, 25773, 25320, 38069, 27874, 21338, 21187,
  11263. 25615, 38082, 31636, 20271, 24091, 33334, 33046, 33162, 28196, 27850,
  11264. 39539, 25429, [12056, 21340], 21754, 34917, 22496, 19981, 24067, 27493,
  11265. 31807, 37096, 24598, 25830, 29468, 35009, 26448, 25165, 36130, 30572,
  11266. 36393, 37319, 24425, 33756, 34081, 39184, 21442, 34453, 27531, 24813,
  11267. 24808, 28799, 33485, 33329, 20179, 27815, 34255, 25805, 31961, 27133,
  11268. 26361, 33609, 21397, 31574, 20391, 20876, 27979, 23618, 36461, 25554,
  11269. 21449, 33580, 33590, 26597, 30900, 25661, 23519, 23700, 24046, 35815,
  11270. 25286, 26612, 35962, 25600, 25530, 34633, 39307, 35863, 32544, 38130,
  11271. 20135, 38416, 39076, 26124, 29462, 22330, 23581, 24120, 38271, 20607,
  11272. 32928, [12058, 21378], 25950, 30021, 21809, 20513, 36229, 25220, 38046,
  11273. 26397, 22066, 28526, 24034, 21557, 28818, 36710, 25199, 25764, 25507,
  11274. 24443, 28552, 37108, [12162, 33251], [12192, 36784], 23576, 26216, 24561,
  11275. 27785, 38472, 36225, 34924, 25745, 31216, 22478, 27225, 25104, 21576,
  11276. 20056, 31243, 24809, 28548, 35802, 25215, 36894, 39563, 31204, 21507,
  11277. 30196, 25345, 21273, 27744, 36831, 24347, 39536, 32827, 40831, 20360,
  11278. 23610, [12186, 36196], 32709, 26021, 28861, 20805, 20914, [12173, 34411],
  11279. 23815, 23456, 25277, 37228, 30068, 36364, 31264, 24833, 31609, 20167,
  11280. 32504, 30597, 19985, 33261, 21021, 20986, 27249, 21416, 36487, 38148,
  11281. 38607, 28353, 38500, 26970, 30784, 20648, 30679, 25616, 35302, 22788,
  11282. 25571, 24029, 31359, 26941, 20256, 33337, 21912, 20018, 30126, 31383,
  11283. 24162, 24202, 38383, 21019, 21561, 28810, 25462, 38180, 22402, 26149,
  11284. 26943, 37255, 21767, 28147, 32431, 34850, 25139, 32496, 30133, 33576,
  11285. 30913, 38604, 36766, 24904, 29943, 35789, 27492, 21050, 36176, 27425,
  11286. 32874, 33905, 22257, 21254, 20174, 19995, 20945, 31895, 37259, 31751,
  11287. 20419, 36479, 31713, 31388, 25703, 23828, 20652, 33030, 30209, 31929,
  11288. 28140, 32736, 26449, 23384, [12072, 23544], 30923, 25774, 25619, 25514,
  11289. 25387, 38169, 25645, 36798, 31572, 30249, 25171, [12068, 22823], 21574,
  11290. [12109, 27513], 20643, 25140, 24102, 27526, 20195, 36151, 34955, 24453,
  11291. 36910, 24608, 32829, 25285, 20025, 21333, 37112, 25528, 32966, 26086,
  11292. 27694, 20294, 24814, 28129, 35806, 24377, 34507, 24403, 25377, 20826,
  11293. 33633, 26723, [12049, 20992], 25443, 36424, 20498, 23707, 31095, 23548,
  11294. 21040, 31291, 24764, 36947, 30423, 24503, 24471, 30340, 36460, 28783,
  11295. 30331, 31561, 30634, 20979, 37011, 22564, 20302, 28404, 36842, 25932,
  11296. 31515, 29380, 28068, 32735, 23265, 25269, 24213, 22320, 33922, 31532,
  11297. 24093, 24351, 36882, 32532, 39072, 25474, 28359, 30872, 28857, 20856,
  11298. 38747, 22443, 30005, 20291, 30008, 24215, 24806, 22880, 28096, 27583,
  11299. 30857, 21500, 38613, 20939, 20993, 25481, 21514, 38035, 35843, 36300,
  11300. 29241, 30879, 34678, 36845, 35853, 21472, 19969, 30447, 21486, 38025,
  11301. 39030, [12237, 40718], 38189, 23450, 35746, 20002, 19996, 20908, 33891,
  11302. 25026, 21160, 26635, 20375, 24683, 20923, 27934, 20828, 25238,
  11303. [12099, 26007], 38497, [12182, 35910], 36887, 30168, 37117, 30563, 27602,
  11304. 29322, 29420, 35835, 22581, 30585, 36172, 26460, 38208, 32922, 24230,
  11305. 28193, 22930, 31471, 30701, 38203, 27573, 26029, 32526, 22534, 20817,
  11306. 38431, 23545, 22697, 21544, 36466, 25958, 39039, 22244, 38045, 30462,
  11307. 36929, 25479, 21702, 22810, 22842, 22427, 36530, 26421, 36346, 33333,
  11308. 21057, 24816, 22549, 34558, 23784, 40517, 20420, 39069, 35769, 23077,
  11309. 24694, 21380, 25212, 36943, 37122, 39295, 24681, [12157, 32780],
  11310. [12041, 20799], [12159, 32819], 23572, 39285, 27953, [12038, 20108], 36144,
  11311. 21457, 32602, 31567, 20240, 20047, 38400, 27861, 29648, 34281, 24070,
  11312. 30058, 32763, 27146, 30718, 38034, 32321, 20961, 28902, 21453, 36820,
  11313. 33539, 36137, 29359, 39277, 27867, 22346, 33459, [12101, 26041], 32938,
  11314. 25151, 38450, 22952, 20223, 35775, 32442, 25918, 33778, [12206, 38750],
  11315. 21857, 39134, 32933, 21290, 35837, 21536, 32954, 24223, 27832, 36153,
  11316. 33452, 37210, 21545, 27675, 20998, 32439, 22367, 28954, 27774, 31881,
  11317. 22859, 20221, 24575, 24868, 31914, 20016, 23553, 26539, 34562, 23792,
  11318. 38155, 39118, 30127, 28925, 36898, 20911, 32541, 35773, 22857, 20964,
  11319. 20315, 21542, 22827, 25975, 32932, 23413, 25206, 25282, 36752, 24133,
  11320. 27679, 31526, 20239, 20440, 26381, 28014, 28074, 31119, 34993, 24343,
  11321. 29995, 25242, 36741, 20463, 37340, 26023, 33071, 33105, 24220, 33104,
  11322. 36212, 21103, 35206, 36171, 22797, 20613, 20184, [12201, 38428],
  11323. [12119, 29238], 33145, 36127, 23500, 35747, 38468, 22919, 32538, 21648,
  11324. 22134, 22030, 35813, 25913, 27010, 38041, 30422, 28297, [12082, 24178],
  11325. [12130, 29976], 26438, 26577, 31487, 32925, 36214, 24863, 31174, 25954,
  11326. 36195, 20872, 21018, 38050, 32568, 32923, 32434, 23703, 28207, 26464,
  11327. 31705, 30347, [12220, 39640], 33167, 32660, 31957, 25630, 38224, 31295,
  11328. 21578, 21733, 27468, 25601, [12093, 25096], 40509, 33011, 30105, 21106,
  11329. [12208, 38761], 33883, 26684, 34532, 38401, 38548, 38124, 20010, 21508,
  11330. 32473, 26681, 36319, 32789, 26356, 24218, 32697, 22466, 32831, 26775,
  11331. [12079, 24037], 25915, 21151, 24685, 40858, 20379, 36524, 20844, 23467,
  11332. [12088, 24339], 24041, 27742, 25329, 36129, 20849, 38057, 21246, 27807,
  11333. 33503, 29399, 22434, 26500, 36141, 22815, 36764, 33735, 21653, 31629,
  11334. 20272, 27837, 23396, 22993, [12238, 40723], 21476, 34506, [12219, 39592],
  11335. [12181, 35895], 32929, 25925, 39038, 22266, 38599, 21038, [12128, 29916],
  11336. 21072, 23521, 25346, 35074, 20054, 25296, 24618, 26874, 20851, 23448,
  11337. 20896, 35266, 31649, 39302, 32592, 24815, 28748, 36143, 20809,
  11338. [12084, 24191], 36891, 29808, 35268, 22317, 30789, 24402, 40863, 38394,
  11339. 36712, [12225, 39740], 35809, 30328, 26690, 26588, 36330, 36149, 21053,
  11340. 36746, 28378, 26829, 38149, 37101, 22269, 26524, 35065, 36807, 21704,
  11341. 39608, 23401, 28023, 27686, 20133, 23475, 39559, 37219, 25000, 37039,
  11342. 38889, 21547, 28085, 23506, 20989, 21898, 32597, 32752, 25788, 25421,
  11343. 26097, 25022, 24717, 28938, 27735, 27721, 22831, 26477, 33322, 22741,
  11344. 22158, 35946, 27627, 37085, 22909, 32791, 21495, 28009, 21621, 21917,
  11345. 33655, 33743, 26680, [12146, 31166], 21644, 20309, 21512, 30418, 35977,
  11346. 38402, 27827, 28088, 36203, 35088, 40548, 36154, 22079, [12234, 40657],
  11347. 30165, 24456, 29408, 24680, 21756, 20136, 27178, 34913, 24658, 36720,
  11348. 21700, 28888, 34425, 40511, 27946, 23439, 24344, 32418, 21897, 20399,
  11349. 29492, 21564, 21402, 20505, 21518, 21628, 20046, 24573, 29786, 22774,
  11350. 33899, 32993, 34676, 29392, 31946, 28246, 24359, 34382, 21804, 25252,
  11351. 20114, 27818, 25143, 33457, 21719, 21326, 29502, 28369, 30011, 21010,
  11352. 21270, 35805, 27088, 24458, 24576, 28142, 22351, 27426, 29615, 26707,
  11353. 36824, 32531, 25442, 24739, 21796, 30186, 35938, 28949, 28067, 23462,
  11354. 24187, 33618, 24908, 40644, 30970, 34647, 31783, 30343, 20976, 24822,
  11355. 29004, 26179, 24140, 24653, 35854, 28784, 25381, 36745, 24509, 24674,
  11356. 34516, 22238, 27585, 24724, 24935, 21321, 24800, 26214, 36159, 31229,
  11357. 20250, 28905, 27719, 35763, 35826, 32472, 33636, 26127, 23130, 39746,
  11358. 27985, 28151, 35905, 27963, 20249, [12117, 28779], 33719, 25110, 24785,
  11359. 38669, 36135, 31096, 20987, 22334, 22522, 26426, 30072, 31293, 31215,
  11360. 31637, 32908, 39269, 36857, 28608, 35749, 40481, 23020, 32489, 32521,
  11361. 21513, 26497, 26840, 36753, 31821, 38598, 21450, 24613, 30142, 27762,
  11362. 21363, 23241, 32423, 25380, [12047, 20960], 33034, [12080, 24049], 34015,
  11363. 25216, 20864, 23395, 20238, 31085, 21058, 24760, 27982, 23492, 23490,
  11364. 35745, 35760, 26082, 24524, 38469, 22931, 32487, 32426, 22025, 26551,
  11365. 22841, 20339, 23478, 21152, 33626, 39050, 36158, 30002, 38078, 20551,
  11366. 31292, 20215, 26550, 39550, 23233, 27516, 30417, 22362, 23574, 31546,
  11367. 38388, 29006, 20860, 32937, 33392, 22904, 32516, 33575, 26816, 26604,
  11368. 30897, 30839, 25315, 25441, 31616, 20461, 21098, 20943, 33616, 27099,
  11369. 37492, 36341, 36145, 35265, 38190, 31661, 20214, 20581, 33328, 21073,
  11370. 39279, 28176, 28293, 28071, 24314, 20725, 23004, 23558, 27974, 27743,
  11371. 30086, 33931, 26728, 22870, 35762, 21280, 37233, 38477, 34121, 26898,
  11372. 30977, 28966, 33014, 20132, 37066, 27975, 39556, 23047, 22204, 25605,
  11373. 38128, 30699, 20389, 33050, 29409, [12179, 35282], 39290, 32564, 32478,
  11374. 21119, 25945, 37237, 36735, 36739, 21483, 31382, 25581, 25509, 30342,
  11375. 31224, 34903, 38454, 25130, 21163, 33410, 26708, 26480, 25463, 30571,
  11376. 31469, 27905, 32467, 35299, 22992, 25106, 34249, 33445, 30028, 20511,
  11377. 20171, 30117, 35819, 23626, [12081, 24062], 31563, [12100, 26020],
  11378. [12198, 37329], 20170, 27941, 35167, 32039, 38182, 20165, 35880, 36827,
  11379. 38771, 26187, 31105, 36817, 28908, 28024, 23613, 21170, 33606, 20834,
  11380. 33550, 30555, 26230, 40120, 20140, 24778, 31934, 31923, 32463, 20117,
  11381. 35686, 26223, 39048, 38745, 22659, 25964, 38236, 24452, 30153, 38742,
  11382. 31455, 31454, 20928, 28847, 31384, 25578, 31350, 32416, 29590,
  11383. [12210, 38893], 20037, 28792, 20061, 37202, 21417, 25937, 26087,
  11384. [12165, 33276], 33285, 21646, 23601, 30106, 38816, 25304, 29401, 30141,
  11385. 23621, 39545, 33738, 23616, 21632, 30697, 20030, 27822, 32858, 25298,
  11386. 25454, 24040, 20855, 36317, 36382, 38191, 20465, 21477, 24807, 28844,
  11387. 21095, 25424, 40515, 23071, 20518, 30519, 21367, 32482, 25733, 25899,
  11388. 25225, 25496, 20500, 29237, 35273, 20915, 35776, 32477, 22343, 33740,
  11389. 38055, 20891, 21531, 23803, 20426, 31459, 27994, 37089, 39567, 21888,
  11390. 21654, 21345, 21679, 24320, 25577, 26999, 20975, 24936, 21002, 22570,
  11391. 21208, 22350, 30733, 30475, 24247, 24951, 31968, 25179, 25239, 20130,
  11392. 28821, 32771, 25335, 28900, 38752, 22391, 33499, 26607, 26869, 30933,
  11393. 39063, 31185, 22771, 21683, 21487, 28212, 20811, 21051, 23458, 35838,
  11394. 32943, 21827, 22438, 24691, 22353, 21549, 31354, 24656, 23380, 25511,
  11395. 25248, [12061, 21475], 25187, 23495, 26543, 21741, 31391, 33510, 37239,
  11396. 24211, 35044, 22840, 22446, 25358, 36328, 33007, 22359, 31607, 20393,
  11397. 24555, 23485, 27454, 21281, 31568, 29378, 26694, 30719, 30518, 26103,
  11398. 20917, 20111, 30420, 23743, 31397, 33909, 22862, 39745, 20608, 39304,
  11399. 24871, 28291, 22372, 26118, 25414, 22256, 25324, 25193, 24275, 38420,
  11400. 22403, 25289, 21895, 34593, 33098, 36771, 21862, 33713, 26469, 36182,
  11401. 34013, 23146, 26639, 25318, 31726, 38417, 20848, 28572, 35888, 25597,
  11402. 35272, 25042, 32518, 28866, 28389, 29701, 27028, 29436, 24266, 37070,
  11403. 26391, 28010, 25438, 21171, 29282, [12156, 32769], 20332, 23013, 37226,
  11404. 28889, 28061, 21202, 20048, 38647, 38253, 34174, 30922, 32047, 20769,
  11405. 22418, 25794, 32907, 31867, 27882, 26865, 26974, 20919, 21400, 26792,
  11406. 29313, 40654, 31729, 29432, 31163, 28435, 29702, 26446, [12197, 37324],
  11407. 40100, 31036, 33673, 33620, 21519, 26647, 20029, 21385, 21169, 30782,
  11408. 21382, 21033, 20616, 20363, 20432, 30178, [12148, 31435], 31890, 27813,
  11409. [12202, 38582], [12050, 21147], 29827, 21737, 20457, 32852, 33714, 36830,
  11410. 38256, 24265, 24604, 28063, 24088, 25947, 33080, 38142, 24651, 28860,
  11411. 32451, 31918, 20937, 26753, 31921, 33391, 20004, 36742, 37327, 26238,
  11412. 20142, 35845, 25769, 32842, 20698, 30103, 29134, 23525, 36797, 28518,
  11413. 20102, 25730, 38243, 24278, 26009, 21015, 35010, 28872, 21155, 29454,
  11414. 29747, 26519, 30967, 38678, 20020, 37051, 40158, 28107, 20955, 36161,
  11415. 21533, 25294, 29618, 33777, 38646, 40836, 38083, 20278, 32666, 20940,
  11416. 28789, 38517, 23725, 39046, 21478, 20196, 28316, 29705, 27060, 30827,
  11417. 39311, 30041, 21016, 30244, 27969, 26611, 20845, 40857, 32843, 21657,
  11418. 31548, 31423, 38534, 22404, 25314, 38471, 27004, 23044, 25602, 31699,
  11419. 28431, 38475, 33446, 21346, 39045, 24208, 28809, 25523, 21348, 34383,
  11420. 40065, 40595, 30860, 38706, 36335, 36162, [12229, 40575], 28510, 31108,
  11421. 24405, 38470, 25134, 39540, 21525, 38109, 20387, 26053, 23653, 23649,
  11422. 32533, 34385, 27695, 24459, 29575, 28388, 32511, 23782, 25371, 23402,
  11423. 28390, 21365, 20081, 25504, 30053, 25249, 36718, 20262, 20177, 27814,
  11424. 32438, 35770, 33821, 34746, 32599, 36923, 38179, 31657, 39585, 35064,
  11425. 33853, 27931, 39558, 32476, 22920, [12231, 40635], 29595, 30721, 34434,
  11426. 39532, 39554, 22043, 21527, 22475, 20080, 40614, 21334, 36808, 33033,
  11427. 30610, 39314, 34542, 28385, 34067, 26364, 24930, 28459, 35881, 33426,
  11428. 33579, 30450, 27667, 24537, 33725, 29483, 33541, 38170, [12113, 27611],
  11429. [12141, 30683], 38086, 21359, 33538, 20882, 24125, 35980, 36152, 20040,
  11430. 29611, 26522, 26757, 37238, 38665, 29028, 27809, 30473, 23186, 38209,
  11431. 27599, 32654, 26151, 23504, 22969, 23194, 38376, 38391, 20204, 33804,
  11432. 33945, 27308, 30431, 38192, 29467, 26790, 23391, 30511, 37274, 38753,
  11433. 31964, 36855, 35868, 24357, [12150, 31859], 31192, 35269, 27852, 34588,
  11434. 23494, 24130, 26825, 30496, 32501, 20885, 20813, 21193, 23081, 32517,
  11435. [12207, 38754], 33495, 25551, 30596, 34256, 31186, 28218, 24217, 22937,
  11436. 34065, 28781, 27665, 25279, [12139, 30399], 25935, 24751, 38397, 26126,
  11437. 34719, 40483, 38125, 21517, 21629, 35884, {f: 2, c: 25720}, 34321, 27169,
  11438. 33180, 30952, 25705, 39764, 25273, 26411, 33707, 22696, 40664, 27819,
  11439. 28448, 23518, 38476, 35851, 29279, 26576, 25287, 29281, 20137, 22982,
  11440. 27597, 22675, 26286, 24149, 21215, 24917, [12106, 26408], [12140, 30446],
  11441. 30566, 29287, 31302, 25343, 21738, 21584, 38048, 37027, 23068, 32435,
  11442. 27670, 20035, 22902, 32784, 22856, 21335, 30007, 38590, 22218, 25376,
  11443. 33041, 24700, 38393, 28118, 21602, 39297, 20869, 23273, 33021, 22958,
  11444. 38675, 20522, 27877, 23612, 25311, 20320, 21311, 33147, 36870, 28346,
  11445. 34091, 25288, 24180, 30910, 25781, 25467, 24565, 23064, 37247, 40479,
  11446. 23615, 25423, 32834, 23421, 21870, 38218, 38221, 28037, 24744, 26592,
  11447. 29406, 20957, 23425, 25319, 27870, [12124, 29275], 25197, 38062, 32445,
  11448. 33043, 27987, 20892, 24324, 22900, 21162, 24594, [12069, 22899], 26262,
  11449. 34384, 30111, 25386, 25062, 31983, 35834, 21734, 27431, 40485, 27572,
  11450. 34261, 21589, 20598, 27812, 21866, 36276, 29228, 24085, 24597, 29750,
  11451. 25293, 25490, 29260, 24472, 28227, 27966, 25856, 28504, 30424, 30928,
  11452. 30460, 30036, 21028, 21467, 20051, 24222, 26049, 32810, 32982, 25243,
  11453. 21638, 21032, 28846, 34957, 36305, 27873, 21624, 32986, 22521, 35060,
  11454. 36180, 38506, 37197, 20329, 27803, 21943, 30406, 30768, 25256, 28921,
  11455. 28558, 24429, 34028, 26842, 30844, 31735, 33192, 26379, 40527, 25447,
  11456. 30896, 22383, 30738, 38713, 25209, 25259, 21128, 29749, 27607, 21860,
  11457. 33086, 30130, [12138, 30382], 21305, 30174, 20731, 23617, 35692, 31687,
  11458. 20559, [12122, 29255], 39575, 39128, 28418, 29922, 31080, 25735, 30629,
  11459. 25340, 39057, 36139, 21697, 32856, 20050, 22378, 33529, 33805, 24179,
  11460. 20973, 29942, 35780, 23631, 22369, 27900, 39047, 23110, 30772, 39748,
  11461. 36843, 31893, 21078, 25169, 38138, 20166, 33670, 33889, 33769, 33970,
  11462. 22484, 26420, 22275, 26222, 28006, 35889, 26333, 28689, 26399, 27450,
  11463. 26646, 25114, 22971, 19971, 20932, 28422, 26578, 27791, 20854, 26827,
  11464. 22855, 27495, 30054, 23822, 33040, 40784, 26071, 31048, 31041, 39569,
  11465. 36215, 23682, 20062, 20225, 21551, 22865, 30732, 22120, [12115, 27668],
  11466. 36804, 24323, 27773, 27875, 35755, 25488, 24688, 27965, 29301, 25190,
  11467. 38030, 38085, 21315, 36801, 31614, 20191, 35878, 20094, 40660, 38065,
  11468. 38067, 21069, 28508, 36963, 27973, 35892, 22545, 23884, [12107, 27424],
  11469. 27465, 26538, 21595, 33108, 32652, 22681, 34103, 24378, 25250, 27207,
  11470. 38201, 25970, 24708, 26725, 30631, 20052, 20392, 24039, 38808, 25772,
  11471. 32728, 23789, 20431, 31373, 20999, 33540, 19988, 24623, 31363, 38054,
  11472. 20405, 20146, 31206, 29748, 21220, 33465, 25810, 31165, 23517, 27777,
  11473. 38738, 36731, 27682, 20542, 21375, 28165, 25806, 26228, 27696, 24773,
  11474. 39031, 35831, 24198, 29756, 31351, 31179, 19992, 37041, 29699, 27714,
  11475. 22234, 37195, 27845, 36235, 21306, 34502, 26354, 36527, 23624, 39537,
  11476. 28192, 21462, 23094, 40843, 36259, 21435, 22280, 39079, 26435, 37275,
  11477. 27849, 20840, 30154, 25331, [12125, 29356], 21048, 21149, 32570, 28820,
  11478. 30264, 21364, 40522, 27063, 30830, 38592, 35033, 32676, 28982, 29123,
  11479. 20873, 26579, 29924, 22756, 25880, 22199, 35753, 39286, 25200, 32469,
  11480. 24825, 28909, 22764, 20161, [12040, 20154], 24525, 38887, 20219, 35748,
  11481. 20995, 22922, 32427, 25172, 20173, [12103, 26085], 25102, 33592, 33993,
  11482. 33635, 34701, 29076, 28342, 23481, 32466, 20887, 25545, 26580,
  11483. [12161, 32905], 33593, 34837, 20754, 23418, 22914, 36785, 20083, 27741,
  11484. [12042, 20837], 35109, 36719, 38446, 34122, 29790, 38160, 38384, 28070,
  11485. 33509, 24369, 25746, 27922, 33832, 33134, 40131, 22622, 36187, 19977,
  11486. 21441, 20254, 25955, 26705, 21971, 20007, 25620, 39578, 25195, 23234,
  11487. 29791, [12170, 33394], 28073, 26862, 20711, 33678, 30722, 26432, 21049,
  11488. 27801, 32433, 20667, 21861, 29022, 31579, 26194, 29642, 33515, 26441,
  11489. [12077, 23665], 21024, 29053, 34923, 38378, 38485, 25797, 36193, 33203,
  11490. 21892, 27733, 25159, 32558, 22674, 20260, 21830, 36175, 26188, 19978,
  11491. 23578, 35059, 26786, 25422, 31245, 28903, 33421, 21242, 38902, 23569,
  11492. 21736, 37045, 32461, 22882, 36170, 34503, [12166, 33292], 33293, 36198,
  11493. 25668, 23556, 24913, 28041, 31038, 35774, 30775, 30003, 21627, 20280,
  11494. [12189, 36523], 28145, 23072, 32453, 31070, 27784, 23457, 23158, 29978,
  11495. 32958, 24910, 28183, 22768, [12131, 29983], 29989, 29298, 21319, 32499,
  11496. 30465, 30427, 21097, 32988, 22307, 24072, 22833, 29422, 26045, 28287,
  11497. 35799, [12075, 23608], 34417, [12055, 21313], [12143, 30707], 25342, 26102,
  11498. 20160, [12215, 39135], 34432, 23454, 35782, 21490, [12142, 30690], 20351,
  11499. 23630, 39542, 22987, 24335, [12144, 31034], [12064, 22763], 19990, 26623,
  11500. 20107, 25325, 35475, 36893, 21183, 26159, 21980, 22124, 36866, 20181,
  11501. 20365, 37322, 39280, [12114, 27663], 24066, 24643, 23460, 35270, 35797,
  11502. 25910, [12095, 25163], [12216, 39318], 23432, 23551, 25480, 21806, 21463,
  11503. 30246, 20861, 34092, 26530, 26803, 27530, 25234, 36755, 21460, 33298,
  11504. 28113, 30095, 20070, 36174, 23408, 29087, 34223, 26257, 26329, 32626,
  11505. 34560, [12233, 40653], [12239, 40736], 23646, 26415, 36848, 26641, 26463,
  11506. 25101, 31446, 22661, 24246, 25968, 28465, 24661, 21047, 32781, 25684,
  11507. 34928, 29993, 24069, 26643, 25332, 38684, 21452, 29245, 35841,
  11508. [12116, 27700], 30561, 31246, 21550, 30636, 39034, 33308, 35828, 30805,
  11509. 26388, 28865, 26031, 25749, 22070, 24605, 31169, 21496, 19997, 27515,
  11510. 32902, 23546, 21987, 22235, 20282, 20284, 39282, 24051, 26494, 32824,
  11511. 24578, 39042, 36865, 23435, 35772, 35829, 25628, 33368, 25822, 22013,
  11512. 33487, 37221, 20439, 32032, 36895, 31903, 20723, 22609, 28335, 23487,
  11513. 35785, 32899, 37240, 33948, 31639, 34429, 38539, 38543, 32485, 39635,
  11514. 30862, 23681, 31319, 36930, 38567, 31071, 23385, 25439, 31499, 34001,
  11515. 26797, 21766, 32553, 29712, 32034, 38145, 25152, 22604, 20182, 23427,
  11516. 22905, 22612, 29549, 25374, 36427, 36367, 32974, 33492, 25260, 21488,
  11517. 27888, 37214, 22826, 24577, 27760, 22349, 25674, 36138, 30251, 28393,
  11518. 22363, 27264, 30192, 28525, 35885, 35848, 22374, 27631, 34962, 30899,
  11519. 25506, 21497, 28845, 27748, 22616, 25642, 22530, 26848, 33179, 21776,
  11520. 31958, 20504, 36538, 28108, 36255, 28907, 25487, 28059, 28372, 32486,
  11521. 33796, 26691, 36867, 28120, 38518, 35752, 22871, 29305, 34276, 33150,
  11522. 30140, 35466, 26799, 21076, 36386, 38161, 25552, 39064, 36420, 21884,
  11523. 20307, 26367, 22159, 24789, 28053, 21059, 23625, 22825, 28155, 22635,
  11524. [12133, 30000], 29980, 24684, 33300, 33094, 25361, 26465, 36834, 30522,
  11525. 36339, 36148, 38081, 24086, 21381, 21548, 28867, 27712, 24311, 20572,
  11526. 20141, 24237, 25402, 33351, 36890, 26704, 37230, 30643, 21516, 38108,
  11527. 24420, 31461, 26742, 25413, 31570, 32479, 30171, 20599, 25237, 22836,
  11528. 36879, 20984, 31171, 31361, 22270, 24466, 36884, 28034, 23648,
  11529. [12063, 22303], 21520, 20820, 28237, 22242, 25512, 39059, 33151, 34581,
  11530. 35114, 36864, 21534, 23663, 33216, 25302, 25176, 33073, 40501, 38464,
  11531. 39534, 39548, 26925, 22949, 25299, 21822, 25366, 21703, 34521, 27964,
  11532. 23043, [12129, 29926], 34972, 27498, 22806, 35916, 24367, 28286, 29609,
  11533. 39037, 20024, 28919, 23436, 30871, 25405, 26202, 30358, 24779, 23451,
  11534. 23113, 19975, 33109, 27754, 29579, 20129, 26505, [12153, 32593], 24448,
  11535. 26106, 26395, 24536, 22916, 23041, 24013, 24494, 21361, 38886, 36829,
  11536. 26693, 22260, 21807, 24799, 20026, 28493, 32500, 33479, 33806, 22996,
  11537. 20255, 20266, 23614, 32428, 26410, 34074, 21619, 30031, 32963, 21890,
  11538. 39759, 20301, 28205, 35859, 23561, 24944, 21355, 30239, 28201, 34442,
  11539. [12098, 25991], 38395, 32441, 21563, 31283, 32010, 38382, 21985, 32705,
  11540. 29934, 25373, 34583, 28065, 31389, 25105, 26017, 21351, 25569, 27779,
  11541. 24043, 21596, 38056, 20044, 27745, 35820, 23627, [12102, 26080], 33436,
  11542. 26791, 21566, 21556, [12111, 27595], 27494, 20116, 25410, 21320, 33310,
  11543. 20237, 20398, 22366, 25098, 38654, 26212, 29289, 21247, 21153, 24735,
  11544. 35823, 26132, 29081, 26512, 35199, 30802, 30717, 26224, 22075, 21560,
  11545. 38177, 29306, 31232, 24687, 24076, 24713, 33181, [12067, 22805], 24796,
  11546. 29060, 28911, 28330, 27728, 29312, 27268, 34989, 24109, 20064, 23219,
  11547. 21916, 38115, 27927, 31995, 38553, 25103, 32454, 30606, 34430, 21283,
  11548. 38686, 36758, 26247, 23777, 20384, 29421, 19979, 21414, 22799, 21523,
  11549. 25472, 38184, 20808, 20185, 40092, 32420, 21688, 36132, 34900, 33335,
  11550. 38386, 28046, 24358, 23244, 26174, 38505, 29616, 29486, 21439, 33146,
  11551. 39301, 32673, 23466, 38519, 38480, 32447, 30456, 21410, 38262,
  11552. [12217, 39321], 31665, 35140, 28248, 20065, 32724, 31077, 35814, 24819,
  11553. 21709, 20139, 39033, 24055, 27233, 20687, 21521, 35937, 33831, 30813,
  11554. 38660, 21066, 21742, 22179, 38144, 28040, 23477, 28102, 26195,
  11555. [12073, 23567], 23389, 26657, 32918, 21880, 31505, 25928, 26964, 20123,
  11556. 27463, 34638, 38795, 21327, 25375, 25658, 37034, 26012, 32961, 35856,
  11557. 20889, 26800, 21368, 34809, 25032, 27844, 27899, 35874, 23633, 34218,
  11558. 33455, 38156, 27427, [12191, 36763], 26032, 24571, [12092, 24515], 20449,
  11559. 34885, 26143, 33125, 29481, 24826, 20852, 21009, 22411, 24418, 37026,
  11560. [12175, 34892], 37266, 24184, 26447, 24615, 22995, 20804, 20982, 33016,
  11561. 21256, 27769, 38596, 29066, 20241, 20462, 32670, 26429, 21957, 38152,
  11562. 31168, 34966, 32483, 22687, 25100, 38656, 34394, 22040, 39035, 24464,
  11563. 35768, 33988, 37207, 21465, 26093, 24207, 30044, 24676, 32110, 23167,
  11564. 32490, 32493, 36713, 21927, 23459, 24748, 26059, [12126, 29572], 36873,
  11565. 30307, 30505, 32474, 38772, 34203, 23398, [12147, 31348], 38634,
  11566. [12174, 34880], 21195, 29071, 24490, 26092, 35810, 23547, 39535, 24033,
  11567. 27529, 27739, 35757, 35759, 36874, 36805, 21387, 25276, 40486, 40493,
  11568. 21568, 20011, 33469, [12123, 29273], 34460, 23830, 34905, 28079, 38597,
  11569. 21713, 20122, 35766, 28937, 21693, 38409, 28895, 28153, 30416, 20005,
  11570. 30740, 34578, 23721, 24310, [12180, 35328], 39068, 38414, 28814, 27839,
  11571. 22852, 25513, 30524, 34893, 28436, 33395, 22576, 29141, 21388, 30746,
  11572. 38593, 21761, 24422, 28976, 23476, 35866, 39564, 27523, 22830, 40495,
  11573. 31207, 26472, 25196, 20335, 30113, [12154, 32650], 27915, 38451, 27687,
  11574. 20208, 30162, 20859, 26679, 28478, 36992, 33136, 22934, 29814, 25671,
  11575. 23591, 36965, 31377, 35875, 23002, 21676, 33280, 33647, 35201, 32768,
  11576. 26928, 22094, 32822, 29239, 37326, 20918, 20063, 39029, 25494, 19994,
  11577. 21494, 26355, 33099, 22812, 28082, [12032, 19968], 22777, 21307, 25558,
  11578. 38129, 20381, 20234, [12176, 34915], 39056, 22839, 36951, 31227, 20202,
  11579. 33008, 30097, 27778, 23452, 23016, 24413, 26885, 34433, 20506, 24050,
  11580. [12036, 20057], 30691, 20197, 33402, 25233, 26131, [12194, 37009], 23673,
  11581. 20159, 24441, 33222, 36920, 32900, 30123, 20134, 35028, 24847, 27589,
  11582. 24518, 20041, 30410, 28322, 35811, 35758, 35850, 35793, 24322, 32764,
  11583. 32716, 32462, 33589, 33643, 22240, 27575, [12211, 38899], 38452, 23035,
  11584. 21535, 38134, 28139, 23493, 39278, 23609, 24341, 38544, 21360, 33521,
  11585. 27185, 23156, 40560, 24212, 32552, 33721, {f: 2, c: 33828}, 33639, 34631,
  11586. 36814, 36194, 30408, 24433, 39062, 30828, 26144, 21727, 25317, 20323,
  11587. 33219, 30152, 24248, 38605, 36362, 34553, 21647, 27891, 28044, 27704,
  11588. 24703, 21191, [12132, 29992], 24189, 20248, 24736, 24551, 23588, 30001,
  11589. 37038, 38080, 29369, 27833, 28216, [12195, 37193], 26377, 21451, 21491,
  11590. 20305, 37321, 35825, [12060, 21448], 24188, 36802, 28132, 20110, 30402,
  11591. 27014, 34398, 24858, 33286, 20313, 20446, 36926, 40060, 24841, 28189,
  11592. 28180, 38533, 20104, 23089, [12204, 38632], 19982, 23679, 31161, 23431,
  11593. 35821, [12155, 32701], [12127, 29577], 22495, 33419, 37057, 21505, 36935,
  11594. 21947, 23786, 24481, 24840, 27442, 29425, 32946, 35465, 28020, 23507,
  11595. 35029, 39044, 35947, 39533, 40499, 28170, 20900, 20803, 22435, 34945,
  11596. 21407, 25588, 36757, 22253, 21592, 22278, 29503, 28304, 32536, 36828,
  11597. 33489, 24895, 24616, 38498, [12104, 26352], 32422, 36234, 36291, 38053,
  11598. 23731, 31908, [12105, 26376], 24742, 38405, 32792, 20113, 37095, 21248,
  11599. 38504, 20801, 36816, 34164, 37213, 26197, 38901, 23381, 21277, 30776,
  11600. 26434, 26685, 21705, 28798, 23472, 36733, 20877, 22312, 21681, 25874,
  11601. 26242, 36190, 36163, 33039, 33900, 36973, 31967, 20991, 34299, 26531,
  11602. 26089, 28577, 34468, 36481, 22122, 36896, 30338, 28790, 29157, 36131,
  11603. 25321, 21017, 27901, 36156, 24590, 22686, 24974, 26366, 36192, 25166,
  11604. 21939, 28195, 26413, 36711, 38113, 38392, 30504, 26629, 27048, 21643,
  11605. 20045, 28856, 35784, 25688, 25995, 23429, 31364, 20538, 23528, 30651,
  11606. 27617, 35449, 31896, 27838, 30415, 26025, 36759, 23853, 23637, 34360,
  11607. 26632, 21344, 25112, 31449, 28251, 32509, 27167, 31456, 24432, 28467,
  11608. 24352, 25484, 28072, 26454, 19976, 24080, 36134, 20183, 32960, 30260,
  11609. 38556, 25307, 26157, 25214, 27836, 36213, 29031, 32617, 20806, 32903,
  11610. 21484, 36974, 25240, 21746, 34544, 36761, 32773, 38167, 34071, 36825,
  11611. 27993, 29645, 26015, 30495, 29956, 30759, 33275, 36126, 38024, 20390,
  11612. 26517, 30137, 35786, 38663, 25391, 38215, 38453, 33976, 25379, 30529,
  11613. 24449, 29424, 20105, 24596, 25972, 25327, 27491, 25919, 24103, 30151,
  11614. 37073, 35777, 33437, 26525, [12096, 25903], 21553, 34584, 30693, 32930,
  11615. 33026, 27713, 20043, 32455, 32844, 30452, 26893, 27542, 25191, 20540,
  11616. 20356, 22336, 25351, [12108, 27490], 36286, 21482, 26088, 32440, 24535,
  11617. 25370, 25527, [12164, 33267], 33268, 32622, 24092, 23769, 21046, 26234,
  11618. 31209, 31258, 36136, 28825, 30164, 28382, 27835, 31378, 20013, 30405,
  11619. 24544, 38047, 34935, 32456, 31181, 32959, 37325, 20210, 20247,
  11620. [12168, 33311], 21608, 24030, 27954, 35788, 31909, 36724, 32920, 24090,
  11621. 21650, 30385, 23449, 26172, 39588, 29664, 26666, 34523, 26417, 29482,
  11622. 35832, 35803, 36880, [12149, 31481], 28891, 29038, 25284, 30633, 22065,
  11623. 20027, 33879, 26609, 21161, 34496, 36142, 38136, 31569, 20303, 27880,
  11624. 31069, 39547, 25235, [12118, 29226], 25341, 19987, 30742, 36716, 25776,
  11625. 36186, 31686, 26729, 24196, 35013, 22918, 25758, 22766, 29366, 26894,
  11626. 38181, 36861, 36184, 22368, 32512, 35846, 20934, 25417, 25305, 21331,
  11627. 26700, 29730, 33537, 37196, 21828, 30528, 28796, 27978, 20857, 21672,
  11628. 36164, 23039, 28363, 28100, 23388, 32043, 20180, 31869, 28371,
  11629. [12070, 23376], [12163, 33258], 28173, 23383, 39683, 26837, 36394, 23447,
  11630. 32508, 24635, 32437, 37049, [12187, 36208], 22863, 25549, 31199,
  11631. [12188, 36275], 21330, 26063, 31062, 35781, 38459, 32452, 38075, 32386,
  11632. 22068, 37257, 26368, 32618, 23562, 36981, 26152, 24038, 20304, 26590,
  11633. 20570, 20316, 22352, 24231, 20109, 19980, 20800, 19984, 24319, 21317,
  11634. 19989, 20120, 19998, [12224, 39730], 23404, 22121, [12033, 20008], 31162,
  11635. [12035, 20031], [12052, 21269], 20039, 22829, [12120, 29243], 21358, 27664,
  11636. 22239, 32996, 39319, 27603, 30590, 40727, [12034, 20022], 20127, 40720,
  11637. 20060, 20073, 20115, 33416, 23387, 21868, 22031, 20164, 21389, 21405,
  11638. 21411, 21413, 21422, 38757, 36189, [12053, 21274], 21493, 21286, 21294,
  11639. 21310, 36188, 21350, 21347, 20994, 21000, 21006, 21037, 21043,
  11640. {f: 2, c: 21055}, 21068, 21086, 21089, 21084, 33967, 21117, 21122, 21121,
  11641. 21136, 21139, [12044, 20866], 32596, 20155, 20163, 20169, 20162, 20200,
  11642. 20193, 20203, 20190, 20251, 20211, 20258, 20324, 20213, 20261, 20263,
  11643. 20233, 20267, 20318, 20327, 25912, 20314, 20317, 20319, 20311, 20274,
  11644. 20285, 20342, 20340, 20369, 20361, 20355, 20367, 20350, 20347, 20394,
  11645. 20348, 20396, 20372, 20454, 20456, 20458, 20421, 20442, 20451, 20444,
  11646. 20433, 20447, 20472, 20521, 20556, 20467, 20524, 20495, 20526, 20525,
  11647. 20478, 20508, 20492, 20517, 20520, 20606, 20547, 20565, 20552, 20558,
  11648. 20588, 20603, 20645, 20647, 20649, 20666, 20694, 20742, 20717, 20716,
  11649. 20710, 20718, 20743, 20747, 20189, 27709, 20312, 20325, 20430,
  11650. [12245, 40864], 27718, 31860, 20846, 24061, 40649, 39320, 20865, 22804,
  11651. [12051, 21241], 21261, 35335, 21264, 20971, 22809, 20821, [12039, 20128],
  11652. 20822, 20147, 34926, 34980, 20149, 33044, 35026, 31104, 23348, 34819,
  11653. 32696, [12046, 20907], 20913, 20925, 20924, 20935, [12045, 20886], 20898,
  11654. 20901, 35744, {f: 2, c: 35750}, 35754, {f: 2, c: 35764}, 35767,
  11655. {f: 2, c: 35778}, 35787, 35791, 35790, {f: 3, c: 35794}, 35798,
  11656. {f: 2, c: 35800}, 35804, {f: 2, c: 35807}, 35812, {f: 2, c: 35816}, 35822,
  11657. 35824, 35827, 35830, 35833, 35836, {f: 2, c: 35839}, 35842, 35844, 35847,
  11658. 35852, 35855, {f: 2, c: 35857}, {f: 3, c: 35860}, 35865, 35867, 35864,
  11659. 35869, {f: 3, c: 35871}, 35877, 35879, {f: 2, c: 35882}, {f: 2, c: 35886},
  11660. {f: 2, c: 35890}, {f: 2, c: 35893}, [12057, 21353], 21370, 38429, 38434,
  11661. 38433, 38449, 38442, 38461, 38460, 38466, 38473, 38484, 38495, 38503,
  11662. 38508, 38514, 38516, 38536, 38541, 38551, 38576, 37015, 37019, 37021,
  11663. 37017, 37036, 37025, 37044, 37043, 37046, 37050, 37048, 37040, 37071,
  11664. 37061, 37054, 37072, 37060, 37063, 37075, 37094, 37090, 37084, 37079,
  11665. 37083, 37099, 37103, 37118, 37124, 37154, 37150, 37155, 37169, 37167,
  11666. 37177, 37187, 37190, 21005, 22850, 21154, {f: 2, c: 21164}, 21182, 21759,
  11667. 21200, 21206, 21232, 21471, 29166, 30669, [12085, 24308], [12048, 20981],
  11668. 20988, [12223, 39727], [12059, 21430], 24321, 30042, 24047, 22348, 22441,
  11669. 22433, 22654, 22716, 22725, 22737, 22313, 22316, 22314, 22323, 22329,
  11670. {f: 2, c: 22318}, 22364, 22331, 22338, 22377, 22405, 22379, 22406, 22396,
  11671. 22395, 22376, 22381, 22390, 22387, 22445, 22436, 22412, 22450, 22479,
  11672. 22439, 22452, 22419, 22432, 22485, 22488, 22490, 22489, 22482, 22456,
  11673. 22516, 22511, 22520, 22500, 22493, 22539, 22541, 22525, 22509, 22528,
  11674. 22558, 22553, 22596, 22560, 22629, 22636, 22657, 22665, 22682, 22656,
  11675. 39336, 40729, 25087, 33401, 33405, 33407, 33423, 33418, 33448, 33412,
  11676. 33422, 33425, 33431, 33433, 33451, 33464, 33470, 33456, 33480, 33482,
  11677. 33507, 33432, 33463, 33454, {f: 2, c: 33483}, 33473, 33449, 33460, 33441,
  11678. 33450, 33439, 33476, 33486, 33444, 33505, 33545, 33527, 33508, 33551,
  11679. 33543, 33500, 33524, 33490, 33496, 33548, 33531, 33491, 33553, 33562,
  11680. 33542, {f: 2, c: 33556}, 33504, 33493, 33564, 33617, {f: 2, c: 33627},
  11681. 33544, 33682, 33596, 33588, 33585, 33691, 33630, 33583, 33615, 33607,
  11682. 33603, 33631, 33600, 33559, 33632, 33581, 33594, 33587, 33638, 33637,
  11683. 33640, 33563, 33641, 33644, 33642, {f: 2, c: 33645}, 33712, 33656,
  11684. {f: 2, c: 33715}, 33696, 33706, 33683, 33692, 33669, 33660, 33718, 33705,
  11685. 33661, 33720, 33659, 33688, 33694, 33704, 33722, 33724, 33729, 33793,
  11686. 33765, 33752, 22535, 33816, 33803, 33757, 33789, 33750, 33820, 33848,
  11687. 33809, 33798, 33748, 33759, 33807, 33795, {f: 2, c: 33784}, 33770, 33733,
  11688. 33728, 33830, 33776, 33761, 33884, 33873, 33882, 33881, 33907,
  11689. {f: 2, c: 33927}, 33914, 33929, 33912, 33852, 33862, 33897, 33910, 33932,
  11690. 33934, 33841, 33901, 33985, 33997, 34000, 34022, 33981, 34003, 33994,
  11691. 33983, 33978, 34016, 33953, 33977, 33972, 33943, 34021, 34019, 34060,
  11692. 29965, 34104, 34032, 34105, 34079, 34106, 34134, 34107, 34047, 34044,
  11693. 34137, 34120, 34152, 34148, 34142, 34170, 30626, 34115, 34162, 34171,
  11694. 34212, 34216, 34183, 34191, 34169, 34222, 34204, 34181, 34233, 34231,
  11695. 34224, 34259, 34241, 34268, 34303, 34343, 34309, 34345, 34326, 34364,
  11696. [12086, 24318], 24328, 22844, 22849, 32823, 22869, 22874, 22872, 21263,
  11697. [12074, 23586], 23589, 23596, 23604, 25164, 25194, 25247, 25275, 25290,
  11698. 25306, 25303, 25326, 25378, 25334, 25401, 25419, 25411, 25517, 25590,
  11699. 25457, 25466, 25486, 25524, 25453, 25516, 25482, 25449, 25518, 25532,
  11700. 25586, 25592, 25568, 25599, 25540, 25566, 25550, 25682, 25542, 25534,
  11701. 25669, 25665, 25611, 25627, 25632, 25612, 25638, 25633, 25694, 25732,
  11702. 25709, 25750, 25722, {f: 2, c: 25783}, 25753, 25786, 25792, 25808, 25815,
  11703. 25828, 25826, 25865, 25893, 25902, [12087, 24331], 24530, 29977, 24337,
  11704. 21343, 21489, 21501, 21481, 21480, 21499, 21522, 21526, 21510, 21579,
  11705. {f: 3, c: 21586}, 21590, 21571, 21537, 21591, 21593, 21539, 21554, 21634,
  11706. 21652, 21623, 21617, 21604, {f: 2, c: 21658}, 21636, 21622, 21606, 21661,
  11707. 21712, 21677, 21698, 21684, 21714, 21671, 21670, {f: 2, c: 21715}, 21618,
  11708. 21667, 21717, 21691, 21695, 21708, {f: 2, c: 21721}, 21724,
  11709. {f: 2, c: 21673}, 21668, 21725, 21711, 21726, 21787, 21735, 21792, 21757,
  11710. 21780, 21747, {f: 2, c: 21794}, 21775, 21777, 21799, 21802, 21863, 21903,
  11711. 21941, 21833, 21869, 21825, 21845, 21823, 21840, 21820, 21815, 21846,
  11712. {f: 3, c: 21877}, 21811, 21808, 21852, 21899, 21970, 21891, 21937, 21945,
  11713. 21896, 21889, 21919, 21886, 21974, 21905, 21883, 21983, {f: 2, c: 21949},
  11714. 21908, 21913, 21994, 22007, 21961, 22047, 21969, {f: 2, c: 21995}, 21972,
  11715. 21990, 21981, 21956, 21999, 21989, {f: 2, c: 22002}, {f: 2, c: 21964},
  11716. 21992, 22005, 21988, 36756, 22046, 22024, 22028, 22017, 22052, 22051,
  11717. 22014, 22016, 22055, 22061, 22104, 22073, 22103, 22060, 22093, 22114,
  11718. 22105, 22108, 22092, 22100, 22150, 22116, 22129, 22123, {f: 2, c: 22139},
  11719. 22149, 22163, 22191, 22228, [12062, 22231], 22237, 22241, 22261, 22251,
  11720. 22265, 22271, 22276, 22282, 22281, 22300, 24079, 24089, 24084, 24081,
  11721. 24113, {f: 2, c: 24123}, 24119, 24132, 24148, 24155, 24158, 24161, 23692,
  11722. 23674, 23693, 23696, 23702, 23688, {f: 2, c: 23704}, 23697, 23706, 23708,
  11723. 23733, 23714, 23741, 23724, 23723, 23729, 23715, 23745, 23735, 23748,
  11724. 23762, 23780, 23755, 23781, {f: 2, c: 23810}, 23847, 23846, 23854, 23844,
  11725. 23838, 23814, 23835, 23896, 23870, 23860, 23869, 23916, 23899, 23919,
  11726. 23901, 23915, 23883, 23882, 23913, 23924, 23938, 23961, 23965, 35955,
  11727. 23991, 24005, [12091, 24435], 24439, 24450, 24455, 24457, 24460, 24469,
  11728. 24473, 24476, 24488, 24493, 24501, 24508, 34914, [12090, 24417], 29357,
  11729. 29360, 29364, {f: 2, c: 29367}, 29379, 29377, 29390, 29389, 29394, 29416,
  11730. 29423, 29417, 29426, 29428, 29431, 29441, 29427, 29443, {f: 2, c: 29434},
  11731. 29463, 29459, 29473, 29450, 29470, 29469, 29461, 29474, 29497, 29477,
  11732. 29484, 29496, 29489, 29520, 29517, 29527, 29536, 29548, 29551, 29566,
  11733. [12167, 33307], 22821, 39143, 22820, [12065, 22786], 39267,
  11734. {f: 6, c: 39271}, 39284, 39287, 39293, 39296, 39300, 39303, 39306, 39309,
  11735. {f: 2, c: 39312}, {f: 3, c: 39315}, 24192, 24209, 24203, 24214, 24229,
  11736. 24224, 24249, 24245, 24254, 24243, 36179, 24274, 24273, 24283, 24296,
  11737. 24298, 33210, 24516, 24521, 24534, 24527, 24579, 24558, 24580, 24545,
  11738. 24548, 24574, {f: 2, c: 24581}, 24554, 24557, 24568, 24601, 24629, 24614,
  11739. 24603, 24591, 24589, 24617, 24619, 24586, 24639, 24609, {f: 2, c: 24696},
  11740. 24699, 24698, 24642, 24682, 24701, 24726, 24730, 24749, 24733, 24707,
  11741. 24722, 24716, 24731, 24812, 24763, 24753, 24797, 24792, 24774, 24794,
  11742. 24756, 24864, 24870, 24853, 24867, 24820, 24832, 24846, 24875, 24906,
  11743. 24949, 25004, 24980, 24999, 25015, 25044, 25077, 24541, 38579, 38377,
  11744. 38379, 38385, 38387, {f: 2, c: 38389}, 38396, 38398, {f: 2, c: 38403},
  11745. 38406, 38408, {f: 4, c: 38410}, 38415, 38418, {f: 3, c: 38421},
  11746. {f: 2, c: 38425}, 20012, [12121, 29247], 25109, 27701, 27732, 27740, 27722,
  11747. 27811, 27781, 27792, 27796, 27788, {f: 2, c: 27752}, 27764, 27766, 27782,
  11748. 27817, 27856, 27860, 27821, {f: 2, c: 27895}, 27889, 27863, 27826, 27872,
  11749. 27862, 27898, 27883, 27886, 27825, 27859, 27887, 27902, 27961, 27943,
  11750. 27916, 27971, 27976, 27911, 27908, 27929, 27918, 27947, 27981, 27950,
  11751. 27957, 27930, 27983, 27986, 27988, 27955, 28049, 28015, 28062, 28064,
  11752. 27998, {f: 2, c: 28051}, 27996, 28000, 28028, 28003, 28186, 28103, 28101,
  11753. 28126, 28174, 28095, 28128, 28177, 28134, 28125, 28121, 28182, 28075,
  11754. 28172, 28078, 28203, 28270, 28238, 28267, 28338, 28255, 28294,
  11755. {f: 2, c: 28243}, 28210, 28197, 28228, 28383, 28337, 28312, 28384, 28461,
  11756. 28386, 28325, 28327, 28349, 28347, 28343, 28375, 28340, 28367, 28303,
  11757. 28354, 28319, 28514, {f: 2, c: 28486}, 28452, 28437, 28409, 28463, 28470,
  11758. 28491, 28532, 28458, 28425, 28457, 28553, 28557, 28556, 28536, 28530,
  11759. 28540, 28538, 28625, 28617, 28583, 28601, 28598, 28610, 28641, 28654,
  11760. 28638, 28640, 28655, 28698, 28707, 28699, 28729, 28725, 28751, 28766,
  11761. [12071, 23424], 23428, 23445, 23443, 23461, 23480, 29999, 39582, 25652,
  11762. 23524, 23534, 35120, 23536, 36423, 35591, 36790, 36819, 36821, 36837,
  11763. 36846, 36836, 36841, 36838, 36851, 36840, 36869, 36868, 36875, 36902,
  11764. 36881, 36877, 36886, 36897, {f: 2, c: 36917}, 36909, 36911, 36932,
  11765. {f: 2, c: 36945}, 36944, 36968, 36952, 36962, 36955, 26297, 36980, 36989,
  11766. 36994, 37000, 36995, 37003, [12089, 24400], 24407, 24406, 24408, 23611,
  11767. 21675, 23632, 23641, 23409, 23651, 23654, 32700, 24362, 24361, 24365,
  11768. 33396, 24380, 39739, [12076, 23662], 22913, 22915, 22925, {f: 2, c: 22953},
  11769. 22947, 22935, 22986, 22955, 22942, 22948, 22994, 22962, 22959, 22999,
  11770. 22974, {f: 2, c: 23045}, 23005, 23048, 23011, 23000, 23033, 23052, 23049,
  11771. 23090, 23092, 23057, 23075, 23059, 23104, 23143, 23114, 23125, 23100,
  11772. 23138, 23157, 33004, 23210, 23195, 23159, 23162, 23230, 23275, 23218,
  11773. 23250, 23252, 23224, 23264, 23267, 23281, 23254, 23270, 23256, 23260,
  11774. 23305, 23319, 23318, 23346, 23351, 23360, 23573, 23580, 23386, 23397,
  11775. 23411, 23377, 23379, 23394, 39541, {f: 2, c: 39543}, 39546, 39551, 39549,
  11776. {f: 2, c: 39552}, 39557, 39560, 39562, 39568, {f: 2, c: 39570}, 39574,
  11777. 39576, {f: 3, c: 39579}, {f: 2, c: 39583}, {f: 2, c: 39586}, 39589, 39591,
  11778. 32415, 32417, 32419, 32421, {f: 2, c: 32424}, 32429, 32432, 32446,
  11779. {f: 3, c: 32448}, 32457, {f: 2, c: 32459}, 32464, 32468, 32471, 32475,
  11780. {f: 2, c: 32480}, 32488, 32491, {f: 2, c: 32494}, {f: 2, c: 32497}, 32525,
  11781. 32502, {f: 2, c: 32506}, 32510, {f: 3, c: 32513}, {f: 2, c: 32519},
  11782. {f: 2, c: 32523}, 32527, {f: 2, c: 32529}, 32535, 32537, 32540, 32539,
  11783. 32543, {f: 7, c: 32545}, {f: 4, c: 32554}, {f: 5, c: 32559}, 32565,
  11784. [12083, 24186], 30079, [12078, 24027], 30014, 37013, 29582, 29585, 29614,
  11785. 29602, 29599, 29647, 29634, 29649, 29623, 29619, 29632, 29641, 29640,
  11786. 29669, 29657, 39036, 29706, 29673, 29671, 29662, 29626, 29682, 29711,
  11787. 29738, 29787, 29734, 29733, 29736, 29744, 29742, 29740, 29723, 29722,
  11788. 29761, 29788, 29783, 29781, 29785, 29815, 29805, 29822, 29852, 29838,
  11789. {f: 2, c: 29824}, 29831, 29835, 29854, {f: 2, c: 29864}, 29840, 29863,
  11790. 29906, 29882, {f: 3, c: 38890}, 26444, 26451, 26462, 26440, 26473, 26533,
  11791. 26503, 26474, 26483, 26520, 26535, 26485, 26536, 26526, 26541, 26507,
  11792. 26487, 26492, 26608, 26633, 26584, 26634, 26601, 26544, 26636, 26585,
  11793. 26549, 26586, 26547, 26589, 26624, 26563, 26552, 26594, 26638, 26561,
  11794. 26621, {f: 2, c: 26674}, {f: 2, c: 26720}, 26702, 26722, 26692, 26724,
  11795. 26755, 26653, 26709, 26726, 26689, 26727, 26688, 26686, 26698, 26697,
  11796. 26665, 26805, 26767, 26740, 26743, 26771, 26731, 26818, 26990, 26876,
  11797. {f: 2, c: 26911}, 26873, 26916, 26864, 26891, 26881, 26967, 26851, 26896,
  11798. 26993, 26937, 26976, 26946, 26973, 27012, 26987, 27008, 27032, 27000,
  11799. 26932, 27084, {f: 2, c: 27015}, 27086, 27017, 26982, 26979, 27001, 27035,
  11800. 27047, 27067, 27051, 27053, 27092, 27057, 27073, 27082, 27103, 27029,
  11801. 27104, 27021, 27135, 27183, 27117, {f: 2, c: 27159}, 27237, 27122, 27204,
  11802. 27198, 27296, 27216, 27227, 27189, 27278, 27257, 27197, 27176, 27224,
  11803. 27260, 27281, 27280, 27305, 27287, 27307, 29495, 29522, {f: 2, c: 27521},
  11804. 27527, 27524, {f: 2, c: 27538}, 27533, {f: 2, c: 27546}, 27553, 27562,
  11805. 36715, 36717, {f: 3, c: 36721}, {f: 2, c: 36725}, 36728, 36727,
  11806. {f: 2, c: 36729}, 36732, 36734, {f: 2, c: 36737}, 36740, 36743, 36747,
  11807. {f: 3, c: 36749}, 36760, 36762, 36558, 25099, 25111, 25115, 25119, 25122,
  11808. 25121, 25125, 25124, 25132, 33255, 29935, 29940, 29951, 29967, 29969,
  11809. 29971, [12097, 25908], {f: 3, c: 26094}, 26122, 26137, 26482, 26115, 26133,
  11810. 26112, 28805, 26359, 26141, 26164, 26161, 26166, 26165, 32774, 26207,
  11811. 26196, 26177, 26191, 26198, 26209, 26199, 26231, 26244, 26252, 26279,
  11812. 26269, 26302, {f: 2, c: 26331}, 26342, 26345, {f: 2, c: 36146}, 36150,
  11813. 36155, 36157, 36160, {f: 2, c: 36165}, {f: 2, c: 36168}, 36167, 36173,
  11814. 36181, 36185, 35271, {f: 3, c: 35274}, {f: 4, c: 35278}, 29294, 29343,
  11815. 29277, 29286, 29295, {f: 2, c: 29310}, 29316, 29323, 29325, 29327, 29330,
  11816. 25352, 25394, 25520, 25663, 25816, 32772, 27626, 27635, 27645, 27637,
  11817. 27641, 27653, 27655, 27654, 27661, 27669, {f: 3, c: 27672}, 27681, 27689,
  11818. 27684, 27690, 27698, 25909, 25941, 25963, 29261, 29266, 29270, 29232,
  11819. 34402, 21014, 32927, 32924, 32915, 32956, 26378, 32957, 32945, 32939,
  11820. 32941, 32948, 32951, {f: 4, c: 32999}, 32987, 32962, 32964, 32985, 32973,
  11821. 32983, 26384, 32989, 33003, 33009, 33012, 33005, {f: 2, c: 33037}, 33010,
  11822. 33020, 26389, 33042, 35930, 33078, 33054, 33068, 33048, 33074, 33096,
  11823. 33100, 33107, 33140, {f: 2, c: 33113}, 33137, 33120, 33129,
  11824. {f: 2, c: 33148}, 33133, 33127, 22605, 23221, 33160, 33154, 33169, 28373,
  11825. 33187, 33194, 33228, 26406, 33226, 33211, 33217, 33190, 27428, 27447,
  11826. 27449, 27459, 27462, 27481, {f: 3, c: 39121}, 39125, {f: 2, c: 39129},
  11827. [12110, 27571], 24384, 27586, 35315, 26000, 40785, 26003, 26044, 26054,
  11828. 26052, 26051, 26060, 26062, 26066, 26070, 28800, 28828, 28822, 28829,
  11829. 28859, 28864, 28855, 28843, 28849, 28904, 28874, 28944, 28947, 28950,
  11830. 28975, 28977, 29043, 29020, 29032, 28997, 29042, 29002, 29048, 29050,
  11831. 29080, 29107, 29109, 29096, 29088, 29152, 29140, 29159, 29177, 29213,
  11832. 29224, 28780, 28952, 29030, 29113, 25150, 25149, 25155, {f: 2, c: 25160},
  11833. 31035, 31040, 31046, 31049, {f: 2, c: 31067}, 31059, 31066, 31074, 31063,
  11834. 31072, 31087, 31079, 31098, 31109, 31114, 31130, 31143, 31155, 24529,
  11835. 24528, 24636, 24669, 24666, 24679, 24641, 24665, 24675, 24747, 24838,
  11836. 24845, 24925, 25001, 24989, 25035, 25041, 25094, 32896, [12160, 32895],
  11837. 27795, 27894, 28156, 30710, 30712, 30720, 30729, {f: 2, c: 30743}, 30737,
  11838. 26027, 30765, {f: 2, c: 30748}, {f: 3, c: 30777}, 30751, 30780, 30757,
  11839. 30764, 30755, 30761, 30798, 30829, {f: 2, c: 30806}, 30758, 30800, 30791,
  11840. 30796, 30826, 30875, 30867, 30874, 30855, 30876, 30881, 30883, 30898,
  11841. 30905, 30885, 30932, 30937, 30921, 30956, 30962, 30981, 30964, 30995,
  11842. 31012, 31006, 31028, 40859, [12235, 40697], {f: 2, c: 40699}, 30449, 30468,
  11843. 30477, 30457, {f: 2, c: 30471}, 30490, 30498, 30489, 30509, 30502, 30517,
  11844. 30520, {f: 2, c: 30544}, 30535, 30531, 30554, 30568, 30562, 30565, 30591,
  11845. 30605, 30589, 30592, 30604, 30609, {f: 2, c: 30623}, 30640, 30645, 30653,
  11846. 30010, 30016, 30030, 30027, 30024, 30043, 30066, 30073, 30083, 32600,
  11847. 32609, 32607, 35400, 32616, 32628, 32625, 32633, 32641, 32638, 30413,
  11848. 30437, 34866, {f: 3, c: 38021}, 38027, 38026, {f: 2, c: 38028},
  11849. {f: 2, c: 38031}, 38036, 38039, 38037, {f: 3, c: 38042}, {f: 2, c: 38051},
  11850. 38059, 38058, 38061, 38060, {f: 2, c: 38063}, 38066, 38068,
  11851. {f: 5, c: 38070}, {f: 2, c: 38076}, 38079, 38084, {f: 7, c: 38088},
  11852. {f: 3, c: 38096}, {f: 3, c: 38101}, 38105, 38104, 38107, {f: 3, c: 38110},
  11853. 38114, {f: 2, c: 38116}, {f: 2, c: 38119}, 38122, 38121, 38123,
  11854. {f: 2, c: 38126}, {f: 3, c: 38131}, 38135, 38137, {f: 2, c: 38140}, 38143,
  11855. 38147, 38146, {f: 2, c: 38150}, {f: 2, c: 38153}, {f: 3, c: 38157},
  11856. {f: 5, c: 38162}, 38168, 38171, {f: 3, c: 38173}, 38178, {f: 2, c: 38186},
  11857. 38185, 38188, {f: 2, c: 38193}, 38196, {f: 3, c: 38198}, 38204,
  11858. {f: 2, c: 38206}, 38210, 38197, {f: 3, c: 38212}, 38217, 38220,
  11859. {f: 2, c: 38222}, {f: 3, c: 38226}, {f: 4, c: 38230}, 38235,
  11860. {f: 2, c: 38238}, 38237, {f: 2, c: 38241}, {f: 9, c: 38244}, 38255,
  11861. {f: 3, c: 38257}, 38202, 30695, 30700, 38601, 31189, 31213, 31203, 31211,
  11862. 31238, 23879, 31235, 31234, 31262, 31252, 31289, 31287, 31313, 40655,
  11863. 39333, 31344, 30344, 30350, 30355, 30361, 30372, 29918, 29920, 29996,
  11864. 40480, 40482, {f: 5, c: 40488}, 40498, 40497, 40502, 40504, 40503,
  11865. {f: 2, c: 40505}, 40510, {f: 2, c: 40513}, 40516, {f: 4, c: 40518},
  11866. {f: 2, c: 40523}, 40526, 40529, 40533, 40535, {f: 3, c: 40538}, 40542,
  11867. 40547, {f: 7, c: 40550}, 40561, 40557, 40563, [12135, 30098], 30100, 30102,
  11868. 30112, 30109, 30124, 30115, {f: 2, c: 30131}, 30136, 30148, 30129, 30128,
  11869. 30147, 30146, 30166, 30157, 30179, 30184, 30182, 30180, 30187, 30183,
  11870. 30211, 30193, 30204, 30207, 30224, 30208, 30213, 30220, 30231, 30218,
  11871. 30245, 30232, 30229, 30233, 30235, 30268, 30242, 30240, 30272, 30253,
  11872. 30256, 30271, 30261, 30275, 30270, 30259, 30285, 30302, 30292, 30300,
  11873. 30294, 30315, 30319, 32714, 31462, {f: 2, c: 31352}, 31360, 31366, 31368,
  11874. 31381, 31398, 31392, 31404, 31400, 31405, 31411, 34916, 34921, 34930,
  11875. 34941, 34943, 34946, 34978, 35014, 34999, 35004, 35017, 35042, 35022,
  11876. 35043, 35045, 35057, 35098, 35068, 35048, 35070, 35056, 35105, 35097,
  11877. 35091, 35099, 35082, 35124, 35115, 35126, 35137, 35174, 35195,
  11878. [12134, 30091], 32997, 30386, 30388, 30684, [12158, 32786], 32788, 32790,
  11879. 32796, 32800, 32802, {f: 3, c: 32805}, 32809, 32808, 32817, 32779, 32821,
  11880. 32835, 32838, 32845, 32850, 32873, 32881, 35203, 39032, 39040, 39043,
  11881. 39049, {f: 2, c: 39052}, 39055, 39060, {f: 2, c: 39066}, {f: 2, c: 39070},
  11882. {f: 2, c: 39073}, {f: 2, c: 39077}, [12172, 34381], 34388, 34412, 34414,
  11883. 34431, 34426, 34428, 34427, 34472, 34445, 34443, 34476, 34461, 34471,
  11884. 34467, 34474, 34451, 34473, 34486, 34500, 34485, 34510, 34480, 34490,
  11885. 34481, 34479, 34505, 34511, 34484, 34537, {f: 2, c: 34545}, 34541, 34547,
  11886. 34512, 34579, 34526, 34548, 34527, 34520, 34513, 34563, 34567, 34552,
  11887. 34568, 34570, 34573, 34569, 34595, 34619, 34590, 34597, 34606, 34586,
  11888. 34622, 34632, 34612, 34609, 34601, 34615, 34623, 34690, 34594,
  11889. {f: 2, c: 34685}, 34683, 34656, 34672, 34636, 34670, 34699, 34643, 34659,
  11890. 34684, 34660, 34649, 34661, 34707, 34735, 34728, 34770, 34758, 34696,
  11891. 34693, 34733, 34711, 34691, 34731, 34789, 34732, 34741, 34739, 34763,
  11892. 34771, 34749, 34769, 34752, 34762, 34779, 34794, 34784, 34798, 34838,
  11893. 34835, 34814, 34826, 34843, 34849, 34873, 34876, [12152, 32566], 32578,
  11894. {f: 2, c: 32580}, 33296, 31482, 31485, 31496, {f: 2, c: 31491}, 31509,
  11895. 31498, 31531, 31503, 31559, 31544, 31530, 31513, 31534, 31537, 31520,
  11896. 31525, 31524, 31539, 31550, 31518, 31576, 31578, 31557, 31605, 31564,
  11897. 31581, 31584, 31598, 31611, 31586, 31602, 31601, 31632, {f: 2, c: 31654},
  11898. 31672, 31660, 31645, 31656, 31621, 31658, 31644, 31650, 31659, 31668,
  11899. 31697, 31681, 31692, 31709, 31706, {f: 2, c: 31717}, 31722, 31756, 31742,
  11900. 31740, 31759, 31766, 31755, 31775, 31786, 31782, 31800, 31809, 31808,
  11901. 33278, {f: 2, c: 33281}, 33284, 33260, 34884, {f: 3, c: 33313}, 33325,
  11902. 33327, 33320, 33323, 33336, 33339, {f: 2, c: 33331}, 33342, 33348, 33353,
  11903. 33355, 33359, 33370, 33375, 33384, 34942, 34949, 34952, 35032, 35039,
  11904. 35166, 32669, 32671, 32679, {f: 2, c: 32687}, 32690, 31868, 25929, 31889,
  11905. 31901, 31900, 31902, 31906, 31922, {f: 2, c: 31932}, 31937, 31943,
  11906. {f: 2, c: 31948}, 31944, 31941, 31959, 31976, [12169, 33390], 26280, 32703,
  11907. 32718, 32725, 32741, 32737, 32742, 32745, 32750, 32755, [12151, 31992],
  11908. 32119, 32166, 32174, 32327, 32411, 40632, 40628, 36211, 36228, 36244,
  11909. 36241, 36273, 36199, 36205, 35911, 35913, 37194, 37200, {f: 2, c: 37198},
  11910. 37220, 37218, 37217, 37232, 37225, 37231, {f: 2, c: 37245}, 37234, 37236,
  11911. 37241, 37260, 37253, 37264, 37261, 37265, {f: 2, c: 37282}, 37290,
  11912. {f: 3, c: 37293}, 37301, 37300, 37306, [12183, 35925], 40574, 36280, 36331,
  11913. 36357, 36441, 36457, 36277, 36287, 36284, 36282, 36292, {f: 2, c: 36310},
  11914. 36314, 36318, {f: 2, c: 36302}, 36315, 36294, 36332, {f: 2, c: 36343},
  11915. 36323, 36345, 36347, 36324, 36361, 36349, 36372, 36381, 36383, 36396,
  11916. 36398, 36387, 36399, 36410, 36416, 36409, 36405, 36413, 36401, 36425,
  11917. {f: 2, c: 36417}, {f: 2, c: 36433}, 36426, 36464, 36470, 36476, 36463,
  11918. 36468, 36485, 36495, 36500, 36496, 36508, 36510, [12184, 35960], 35970,
  11919. 35978, 35973, 35992, 35988, 26011, 35286, 35294, 35290, 35292, 35301,
  11920. 35307, 35311, 35390, 35622, 38739, 38633, 38643, 38639, 38662, 38657,
  11921. 38664, 38671, 38670, 38698, 38701, 38704, 38718, 40832, 40835,
  11922. {f: 6, c: 40837}, 40844, 40702, 40715, 40717, [12203, 38585],
  11923. {f: 2, c: 38588}, 38606, 38610, 30655, 38624, 37518, 37550, 37576, 37694,
  11924. 37738, 37834, 37775, 37950, 37995, 40063, 40066, {f: 4, c: 40069}, 31267,
  11925. 40075, 40078, {f: 3, c: 40080}, {f: 2, c: 40084}, {f: 2, c: 40090},
  11926. {f: 6, c: 40094}, {f: 5, c: 40101}, 40107, {f: 2, c: 40109},
  11927. {f: 8, c: 40112}, {f: 4, c: 40122}, {f: 4, c: 40132}, {f: 7, c: 40138},
  11928. {f: 3, c: 40147}, {f: 3, c: 40151}, {f: 2, c: 40156}, 40159, 40162, 38780,
  11929. 38789, {f: 2, c: 38801}, 38804, 38831, 38827, 38819, 38834, 38836, 39601,
  11930. 39600, 39607, 40536, 39606, 39610, 39612, 39617, 39616, 39621, 39618,
  11931. {f: 2, c: 39627}, 39633, 39749, 39747, 39751, 39753, 39752, 39757, 39761,
  11932. 39144, 39181, 39214, 39253, 39252, [12221, 39647], 39649, 39654, 39663,
  11933. 39659, 39675, 39661, 39673, 39688, 39695, 39699, 39711, 39715,
  11934. {f: 2, c: 40637}, 32315, 40578, {f: 2, c: 40583}, 40587, 40594, 37846,
  11935. 40605, 40607, {f: 3, c: 40667}, 40672, 40671, 40674, 40681, 40679, 40677,
  11936. 40682, 40687, 40738, 40748, 40751, 40761, 40759, {f: 2, c: 40765}, 40772,
  11937. 12295, {s: 13}, 30362, 34297, 31001, 24859, 39599, 35158, 22761, 32631,
  11938. 25850, 25943, 38930, 36774, 32070, 24171, 32129, 37770, 35607, 39165,
  11939. 23542, 22577, 39825, 36649, [12185, 35997], 37575, 29437, 20633, 24970,
  11940. 32179, 31558, 30050, 25987, 24163, 38281, 37002, 32232, 36022, 35722,
  11941. 36783, 36782, 27161, 40009, 30303, 28693, 28657, 36051, 25839, 39173,
  11942. 25765, 37474, 37457, 39361, 35036, 36001, 21443, 34870, 27544, 24922,
  11943. 24920, 29158, 33980, 33369, 20489, 28356, 21408, 20596, 28204, 23652,
  11944. 35435, 25881, 25723, 34796, 39262, 35730, 32399, 37855, 29987, 38369,
  11945. 39019, 22580, 22039, [12199, 38263], 20767, 33144, 24288, 26274, 37396,
  11946. [12190, 36554], 24505, 22645, 38515, 35183, 31281, 25074, 35488, 39425,
  11947. 36978, 39347, [12242, 40786], 29118, 34909, 34802, 23541, 30087, 36490,
  11948. 31820, 32162, 37276, 37604, 38619, 30990, 20786, 35320, 34389, 20659,
  11949. 30241, 38358, 21109, 37656, 32020, 32189, 36781, 35422, 36060, 32880,
  11950. 24478, 21474, 36517, 31428, 37679, 36948, 24118, 36024, 25812, 21934,
  11951. 37170, 25763, 33213, 24986, 35477, 24392, 30070, 25803, 40680, 34153,
  11952. 27284, 25623, 23798, 31153, 23566, 29128, 37159, 25973, 28364, 36958,
  11953. 32224, 39003, 40670, 22666, 38651, 28593, 37347, 35519, 35548, 37336,
  11954. 38914, 37664, 35330, 26481, 21205, 26847, 20941, [12222, 39717], 29346,
  11955. 29544, 35712, 36077, 37709, 37723, 26039, 32222, 38538, 23565, 22136,
  11956. 38931, 37389, 22890, 22702, 40285, 38989, 35355, 24801, 39187, 20818,
  11957. 29246, 39180, 36019, 30332, 32624, 38309, 31020, 37353, 29033, 31684,
  11958. 36009, 39151, 35370, 32033, [12214, 39131], 35513, 24290, 36027, 32027,
  11959. 22707, 22894, 24996, 31966, 35920, 26963, 37586, [12213, 39080], 30219,
  11960. 39342, 32299, 35575, 40179, 33178, 36667, 25771, 36628, 36070, 24489,
  11961. 36000, 35331, 23142, 32283, 35442, 37411, 33995, 24185, 36245, 36123,
  11962. 23713, 21083, 37628, 32177, 23831, 37804, 25841, 40255, 38307, 37499,
  11963. 20491, 32102, 40852, 38799, 36002, 37390, 28317, 27083, 36092, 34865,
  11964. 39015, 21102, 38364, 35264, 39208, 24931, 36011, 24291, 35215, 27512,
  11965. [12244, 40860], 38312, 36556, 35437, 27331, 36020, 21130, 36645, 37707,
  11966. 22283, 36942, 39405, 38867, 28450, 34399, 38305, 40372, 36032, 36703,
  11967. 40251, 32005, 22778, 35703, 28396, 22057, 33775, 30059, 21123, 35441,
  11968. 25079, 22750, 27489, 29872, 36996, 32233, 35594, 25582, 36637, 36036,
  11969. 31330, 26371, 29172, 21295, 35569, 35496, 32362, 33911, 28222, 29554,
  11970. 36008, 31117, 25802, 27231, 31309, 39249, 35663, 40388, 32318, 32221,
  11971. 26997, 36655, 32026, 25824, 24190, 34186, 21137, 28639, 35336, 35352,
  11972. 38555, 32380, 32000, 22846, 33698, 38960, 36040, 37440, 20729, 39381,
  11973. 27570, 30435, 22533, 31627, 38291, 33393, 32216, 32365, 27298, 40572,
  11974. 25536, 25791, 31777, 20745, 34214, 27323, 37970, 36368, 36068,
  11975. [12178, 35211], 37749, 33382, 21133, 39198, 28472, 28666, 28567, 23559,
  11976. 28479, 34083, 27123, 22892, 35611, 37292, 33184, 28550, 39509, 23308,
  11977. 25898, 37496, 30703, 20709, 39171, 32371, 32094, 36686, 36611, 38542,
  11978. 31680, 28500, 32080, 35489, 32202, 37670, 20677, 35641, 36914, 29180,
  11979. 30433, 21185, 33686, 39912, 39514, 32147, 38968, 37857, 24465, 30169,
  11980. 31478, 31998, 33290, 39378, 33289, 25818, 37624, 25084, 21127, 40273,
  11981. 32121, 35258, 35363, 32118, 37406, 36557, 39423, 38283, 20977, 38982,
  11982. 27579, 35506, 22718, 25031, 25715, 24235, 35122, 35463, 22602, 20744,
  11983. 23532, 31014, 26336, 34407, 24011, 31418, 39243, 28528, 25844, 38346,
  11984. 34847, 33240, 33802, 20358, 36084, 34253, 27396, 25876, 31811, 38348,
  11985. 34349, 28734, 35733, 25900, 35261, 25078, 32412, 29211, 28651, 25736,
  11986. 21214, 28551, 27138, 37939, 22744, 39006, 31852, 38626, 28757, 35023,
  11987. 39881, 31150, 40599, 21426, 21237, 31019, 27511, 28701, 38584, 20486,
  11988. 32879, 34030, 36899, 37934, 24976, 28451, 31806, 25986, 33225, 37832,
  11989. 25088, 29001, 32244, 31975, 20841, 36635, 35538, 30274, 36988, 37904,
  11990. 29557, 33256, 37168, 40023, 36035, 40801, 37428, 38728, 23994, 38936,
  11991. 39230, 21129, [12243, 40845], 32894, 22184, 31840, 22751, 25871, 38580,
  11992. 27155, 23105, 25695, 31757, 34310, 30439, 39025, 24300, 29200, 25796,
  11993. 28407, 34396, 39791, 36034, 37682, 38520, 39522, 37569, 23650, 32311,
  11994. 24942, 28670, 32209, 24018, 25891, 23423, 28772, 20098, 25476, 36650,
  11995. 20523, 20374, 28138, 32184, 35542, 34367, 32645, 37007, 38012, 31854,
  11996. 39486, 39409, 32097, 23229, 29802, 30908, 34718, [12218, 39340], 39393,
  11997. 21966, 36023, [12230, 40613], 36067, 36993, 30622, 39237, 34875, 28415,
  11998. 35646, 37672, 37466, 36031, 37762, [12200, 38272], 24758, 20497, 37683,
  11999. 22818, 35598, 24396, 35219, 32191, 32236, 24287, 28357, 25003, 38313,
  12000. 40180, 37528, 35628, 35584, 30045, 37385, 32013, 38627, 25747, 33126,
  12001. 24817, 39719, 39186, 25836, 33193, 25862, 37312, [12227, 40165], 32886,
  12002. 22169, 38007, 37811, 27320, 29552, 23527, 25840, 28632, 37397, 32016,
  12003. 33215, 28611, 36786, 30247, 35582, 27472, 40407, 27590, 22036, 28442,
  12004. 30436, 40848, 36064, 22132, 40300, 39449, 39108, 38971, 36007, 34315,
  12005. 24977, 35413, 28497, 38935, 25778, 37610, 20693, 27192, 35676, 33229,
  12006. [12241, 40778], 39438, 35912, 21843, 27683, 35350, 29309, 37370, 37467,
  12007. 36983, 31805, 35609, 37666, 37463, 28154, 35700, 22649, 27085, 21958,
  12008. 22715, 34196, 25654, 37740, 27211, 21932, 20689, 32761, 31429, 31434,
  12009. 27453, 35242, 23522, 36629, 27691, 20670, 38915, 35531, 24950, 29898,
  12010. 31406, 36264, 21312, 36544, 39493, 40818, 39028, 27402, 21240, 40306,
  12011. 30906, 35731, 39250, 25854, 32350, 29105, 38860, 35469, 32009, 27054,
  12012. 32104, 36575, 37613, 38287, 28516, 28753, 34217, 39955, 36093, 20632,
  12013. 21930, 39479, 25475, 28544, 27578, 32023, 31721, 26348, 38275, 38493,
  12014. 36109, 32341, 20663, 36062, 29138, 32057, 36050, 25448, 25885, 25086,
  12015. 35373, 32051, 23529, 23352, 33102, 28402, 32882, 32361, 21213, 32854,
  12016. 24107, 29509, 28629, 35433, 26178, 34645, 23526, 35672, 39387, 21218,
  12017. 36969, 37323, 39166, 35222, 35430, 22781, 29560, 27166, 36664, 26360,
  12018. 36118, 23660, 34899, 27193, 31466, 25976, 24101, 38617, 35504, 38918,
  12019. 35500, 30889, 29197, 32114, 39164, 39686, 32883, 24939, 38924, 35359,
  12020. 35494, 25851, 34311, 35380, 32901, 38614, 38568, 32143, 27506, 23403,
  12021. 25613, 32302, 29795, 37782, 29562, 25787, 33274, 24907, 25892, 36010,
  12022. 30321, 28760, 22727, 35674, 35527, 22022, 28271, 29145, 28644, 32295,
  12023. 35342, 39472, 35588, 37563, 38988, 39636, 26781, 36028, 37941, 24307,
  12024. 32893, 28916, 37509, 32113, 38957, 22294, 22615, 22296, 38973, 40213,
  12025. 39345, 39389, 27234, 31402, 35178, 24398, 28771, 38929, 33836, 32178,
  12026. [12209, 38859], 36949, 22285, 29234, 28656, 32173, 33894, 20553, 20702,
  12027. 32239, 35586, 34907, 32862, 32011, 31337, 21839, 25790, 34680, 28198,
  12028. 31401, 21978, 37794, 28879, 35491, 28961, 34154, 22626, 38695, 21209,
  12029. 35492, 37675, 29351, 35186, 32722, 37521, 25138, 32048, 34662, 36676,
  12030. 23805, 20448, 29433, 22151, 37697, 39854, 32406, 36066, 37532, 38289,
  12031. 39023, 38570, 29694, 29563, 32291, 39201, 25010, 32171, 38002, 37129,
  12032. 35443, 38911, 38917, 34157, 22210, 37559, 26313, 22063, 21332, 25406,
  12033. 33029, 35559, 23531, 28681, 35613, 37573, 37313, 33288, 37561, 32137,
  12034. 38920, 35377, 32210, 32396, 36562, 25080, 36984, 30316, 32098, 23416,
  12035. 21211, 35426, 23563, 39348, 35347, 35338, 36956, 22739, 40201, 40232,
  12036. 21854, 20126, 35357, 38329, 40573, 22196, 38996, 38331, 33399, 21421,
  12037. 30831, 35578, 39511, 40230, 26954, 25562, 30221, 38525, 30306, 39178,
  12038. 27171, 22575, 35617, 34277, 29242, [12212, 38913], 26989, 33865, 37291,
  12039. 37541, 38948, 36986, 20736, 34811, 34269, 20740, 25014, 32681, 35427,
  12040. 35696, 35516, 35695, 32377, 34093, 38512, 37504, 39154, 38577, 27387,
  12041. 23344, 40441, 25033, 32403, 29801, 34722, 29151, 29074, 34821, 36111,
  12042. 31310, 21938, 25793, 20653, 30320, 36404, 20778, 24962, 37109, 37438,
  12043. 29494, 35480, 36671, 39192, [12226, 39770], 28417, 33287, 23996, 35486,
  12044. 39729, 29508, 35709, 38928, 39341, 40219, 28149, 36677, 22290, 21729,
  12045. 22291, 32227, 36960, 39000, 32004, 36493, 38000, 38322, 38642, 37142,
  12046. 38549, 36939, 34292, 37270, 26248, 38620, 36617, 25890, 26283, 36106,
  12047. 36124, 33247, 38015, 26839, 31432, 36012, 25799, 21063, 28580, 36042,
  12048. 36104, 36555, 37720, 38296, 35408, 40779, 20661, 27656, 30430, 26028,
  12049. 36670, 23940, 26855, 25136, 32187, 24373, 28466, 24115, 36076, 33081,
  12050. 36249, 34756, 36685, 37754, 36889, 35998, 37341, 20597, 35386, 37806,
  12051. 38499, 24128, 30309, 37165, 35657, 32340, 32887, 22519, 34937, 32025,
  12052. 25711, 25842, 24159, 36074, 28399, 37912, 32066, 31278, 33131, 34886,
  12053. 35589, 36600, 30394, 26205, 39519, 35576, 35461, 29165, 30682, 22225,
  12054. 36015, 37956, 31689, 39376, 23560, 30938, 36681, 36090, 27137, 33674,
  12055. 35037, 22941, 22767, 29376, 37648, 36101, 22684, 32180, 35524, 28310,
  12056. 28609, 36039, 28460, 32156, 32317, 32305, 37138, 35419, 32068, 38013,
  12057. 21959, 21401, 21428, 38760, 36107, 21293, 21297, 36094, 21060, 21132,
  12058. 21108, 20660, 20480, 20630, 20757, 20738, 20756, 20796, 20791, 20712,
  12059. 20674, 20795, 20752, 20794, 20681, 31988, 40652, 22213, 40172, 35131,
  12060. 33248, 35329, 35344, 35340, 35349, 35635, 35406, 35365, 35393, 35382,
  12061. 35398, 35412, 35416, 35410, 35462, 35460, 35455, 35440, 35452, 35445,
  12062. 35436, 35438, 35533, 35554, 35425, 35482, 35493, {f: 2, c: 35473}, 35535,
  12063. 35537, 35529, 35547, 35543, 35522, 35510, 35574, 35563, 35604, 35585,
  12064. 35556, 35565, 35580, 35571, 35558, 35566, 35550, 35624, 35740, 35606,
  12065. 35610, 35600, 35627, 35629, 35670, 35673, 35662, 35742, 35691, 35734,
  12066. 38488, 37178, 37140, 37172, 37087, 37174, 37126, 37192, 33467, 21233,
  12067. 24048, 22538, 22745, 22754, 22752, 22746, 22497, 22607, 22550, 22610,
  12068. 22557, 22628, 34188, 34131, 34294, 33703, 33799, 34031, 33511, 34338,
  12069. 34086, 22603, 29026, 34136, 34045, 34126, 34184, 34234, 29334, 28366,
  12070. 34113, 34254, 34130, 33984, 33874, 33892, 33940, 33845, 34207, 34133,
  12071. 40367, 33939, 32264, 34118, 34146, 34078, 39488, 34362, 37795, 34167,
  12072. 34334, 34298, 34308, 34282, 34330, 22889, 23607, 25451, 25718, 25759,
  12073. 25681, 25692, 25779, 25860, 25878, 25847, 25852, 25883, 22064, 22072,
  12074. 22216, 22182, 21764, 21692, 22144, 22109, 22112, 22069, 22006, 22118,
  12075. 22130, 22156, 22117, 22044, 22062, 21993, 22038, 22208, 22029, 22195,
  12076. 22209, 22127, 36705, 22198, 22165, 22279, 24131, 24172, 24152, 24151,
  12077. 23943, 23796, 23888, 23852, 23975, 23968, 23959, 23821, 23992, 23937,
  12078. 24020, 24480, 29559, 29505, 29546, 29499, 29547, 29568, 29564, 39136,
  12079. 39219, 39145, 39228, {f: 2, c: 39146}, 39149, 39156, 39177, 39185, 39195,
  12080. 39223, 39231, 39235, {f: 3, c: 39240}, 39244, 39266, 24289, 36065, 25082,
  12081. 25006, 24938, 24894, 24757, 24884, 25036, 24927, 25064, 24827, 24887,
  12082. 24818, 24947, 24860, 24978, 38274, 38278, 38344, 38286, 38292, 38284,
  12083. 38373, 38317, 38315, 39726, 38316, 38334, 38326, 39721, 38335, 38333,
  12084. 38332, 38339, 38347, 38356, 38352, 38357, 38366, 28739, 28505, 28711,
  12085. 28696, 28668, 28039, 28025, 28254, 28590, 28687, 28408, 28527, 28150,
  12086. 28543, 28678, 28576, 28683, 28775, 28740, 28677, 28535, 28704, 28703,
  12087. 28722, 28712, 28765, 39467, 36999, 36885, 37008, 23656, 24371, 23285,
  12088. 23255, 23296, 23149, 23304, 23372, 23207, 23291, 23307, 23329, 23338,
  12089. 23321, 39380, 39391, 39385, 39478, 39515, 39377, 39384, 39501, 39498,
  12090. 39394, 39530, 39439, 39437, 39429, 39490, 39469, 39446, 39489, 39470,
  12091. 39480, {f: 2, c: 39491}, 39503, 39525, 39524, 31993, 32006, 32002,
  12092. {f: 2, c: 32007}, 32394, 32028, 32021, 32019, 32058, 32050, 32049, 32272,
  12093. 32060, 32064, 32063, 32093, 32078, 32115, 32134, 32131, 32136, 32190,
  12094. 32186, 32203, 32212, 32196, 32158, 32172, 32185, 32163, 32176, 32199,
  12095. 32217, 32215, 32249, 32242, 32354, 32230, 32246, 32241, 32267, 32225,
  12096. 32265, 32285, 32287, 32286, 32301, 32266, 32273, 32381, 32313, 32309,
  12097. 32306, 32326, 32325, 32392, 32346, 32338, 32366, 32382, 32368, 32367,
  12098. 32408, 29859, 29771, 29903, 38922, 29885, 29759, 29833, 29862, 29908,
  12099. 29914, 38873, 38878, 38876, 27050, 27370, 26776, 26838, 27141, 26783,
  12100. 27355, 27379, 27368, 27359, 27273, 26895, 27208, 26984, 27071, 27194,
  12101. 27292, 27410, 27422, 27357, 27111, 27407, 27414, 27372, 27354, 27384,
  12102. 27315, 27367, 27299, 27347, 27358, 27556, 27550, 27566, 27563, 27567,
  12103. 36564, 36571, 36594, 36603, 36708, 36601, 36604, 36587, 36580, 36706,
  12104. 36602, 36606, 36618, 36615, 36613, 36626, 36646, {f: 2, c: 36638}, 36636,
  12105. 36659, 36678, 36692, 25108, 25127, 29964, 26311, 26308, 26249, 26326,
  12106. 36033, 36016, 36026, 36029, 36100, 36018, 36037, 36112, 36049, 36058,
  12107. 36053, 36075, 36071, 36091, 35224, 35244, 35233, 35263, 35238, 35247,
  12108. 35250, 35255, 27647, 27660, 27692, 29272, 26407, 33110, 33242, 33051,
  12109. 33214, 33121, 33231, 27487, {f: 2, c: 39086}, 39094, 39100, 39110, 39112,
  12110. 36674, 40783, 26005, 29036, 29010, 29079, 29121, 29148, 29182, 31152,
  12111. 31118, 31146, 25055, 24932, 25059, 25095, 28585, 30959, 30893, 30824,
  12112. 30904, 31018, 31025, 30820, 30973, 30951, 30947, 40853, 30616, 30558,
  12113. 30652, 32646, 32648, {f: 3, c: 37330}, 37337, 37335, 37333, 37367, 37351,
  12114. 37348, 37702, 37365, 37369, 37384, 37414, 37445, 37393, 37392, 37377,
  12115. 37415, 37380, 37413, 37376, 37434, 37478, 37431, 37427, 37461, 37437,
  12116. 37432, 37470, {f: 2, c: 37484}, 37439, 37984, 37424, 37449, 37448, 37453,
  12117. 37422, 37433, 37944, 37548, 37536, 37498, 37546, 37614, 37583, 37891,
  12118. 37603, 37946, 37553, 37542, 37799, 37526, 37580, 37545, 37877, 37523,
  12119. 37503, 37801, 37530, 37658, 37547, 37507, 37899, 37544, 37539, 37906,
  12120. 37688, 37617, 37847, 37605, 37616, 37615, 37608, 37564, 37597, 37622,
  12121. {f: 2, c: 37926}, 37571, 37599, 37606, 37650, 37638, 37737, 37659, 37696,
  12122. 37633, 37653, 37678, 37699, {f: 2, c: 37639}, 37663, 37657, 37733, 37703,
  12123. 37750, 37716, 37732, 37802, 37744, 37764, 37860, 37848, 37928, 37767,
  12124. 37836, 37784, 37816, 37823, 37798, 37808, 37813, 37964, 37858,
  12125. {f: 2, c: 37852}, 37837, 37854, 37827, 37831, 37841, 37908, 37917, 37879,
  12126. 37989, 37907, 37997, 37920, 38009, 37881, 37913, 37962, 37938, 37951,
  12127. 37972, 37987, 37758, 31329, 40169, 40182, 40199, 40198, 40227, 40327,
  12128. 40469, 40221, 40223, 40421, 40239, 40409, 40240, 40258, 40478, 40275,
  12129. 40477, 40288, 40274, 40435, 40284, 40289, 40339, 40298, 40303, 40329,
  12130. 40344, 40346, 40384, 40357, 40361, 40386, 40380, 40474, 40403, 40410,
  12131. 40431, 40422, 40434, 40440, 40460, 40442, 40475, 30308, 30296, 30311,
  12132. 30210, {f: 2, c: 30278}, 30281, 30238, 30267, {f: 2, c: 30317}, 30313,
  12133. 30322, 31431, 31414, 35168, 35123, 35165, 35143, 35128, 35172, 30392,
  12134. 32814, 32812, 32889, 32885, 38919, {f: 2, c: 38926}, 38945, 38940, 28481,
  12135. 38950, 38967, 38990, 38995, 39027, 39010, 39001, 39013, 39020, 39024,
  12136. 34787, 34822, 34566, 34851, 34806, 34554, 34799, 34692, 34832, 34760,
  12137. 34833, 34747, 34766, 32588, 31716, 31591, 31849, 31731, 31744, 31691,
  12138. 31836, 31774, 31787, 31779, 31850, 31839, 33380, 33387, 35018, 32677,
  12139. 31986, 31990, 31965, 32310, 40617, 36274, 37317, 37315, 40570, 36489,
  12140. 36428, 36498, 36474, 36437, 36506, 36491, 36499, 36497, 36513, 36451,
  12141. 36522, 36518, 35316, 35318, 38746, 38722, 38717, 38724, 40788, 40799,
  12142. 40793, 40800, 40796, 40806, 40812, 40810, 40823, [12236, 40701], 40703,
  12143. 40713, 35726, 38014, 37864, 39799, 39796, 39809, 39811, 39822, 40056,
  12144. 31308, 39826, 40031, 39824, 39853, 39834, 39850, 39838, 40045, 39851,
  12145. 39837, 40024, 39873, 40058, 39985, 39993, 39971, 39991, 39872, 39882,
  12146. 39879, 39933, 39894, {f: 2, c: 39914}, 39905, 39908, 39911, 39901, 39906,
  12147. 39920, 39899, 39924, 39892, 40029, 39944, 39952, 39949, 39954, 39945,
  12148. 39935, 39968, 39986, 39981, 39976, 39973, 39977, 39987, 39998, 40008,
  12149. 39995, 39989, 40005, 40022, 40020, 40018, 40039, 38851, 38845, 38857,
  12150. 40379, 39631, 39638, 39637, 39768, 39758, 39255, 39260, 39714, 40695,
  12151. 40690, 35180, 38342, 37686, 24390, 34068, 32404, 40803, 22137, 40725,
  12152. 22081, 39662, 35079, 31296, 39091, 38308, 39693, 36852, 24409, 31339,
  12153. 39138, 20642, 34193, 20760, 25458, 21067, 30543, 32397, 26310, 30637,
  12154. [12228, 40565], 22217, 40692, 28635, 25054, 30663, 28720, 40629, 34890,
  12155. 38370, 38854, 31844, 32308, 38822, 40623, 22220, 39089, 27311, 32590,
  12156. 31984, 20418, 32363, 40569, 22190, 39706, 33903, 31142, 31858, 39634,
  12157. 38587, 32251, 35069, 30787, {f: 10, c: 8560}, {f: 2, c: 714}, 729, 8211,
  12158. 8213, 8229, 8245, 8453, 8457, {f: 4, c: 8598}, 8725, 8735, 8739, 8786,
  12159. {f: 2, c: 8806}, 8895, {f: 36, c: 9552}, {f: 15, c: 9601}, {f: 3, c: 9619},
  12160. {f: 2, c: 9660}, {f: 4, c: 9698}, 9737, 8853, 12306, {f: 2, c: 12317},
  12161. {f: 9, c: 12321}, 12963, {f: 2, c: 13198}, {f: 3, c: 13212}, 13217, 13252,
  12162. 13262, {f: 2, c: 13265}, 13269, 65072, 65506, 65508, 8481, 12849, 8208,
  12163. 12540, {f: 2, c: 12443}, {f: 2, c: 12541}, 12294, {f: 2, c: 12445},
  12164. {f: 10, c: 65097}, {f: 4, c: 65108}, {f: 14, c: 65113}, {f: 4, c: 65128},
  12165. 12350, {f: 12, c: 12272}, 19970, {f: 3, c: 19972}, 19983, 19986, 19991,
  12166. {f: 3, c: 19999}, 20003, 20006, 20009, {f: 2, c: 20014}, 20017, 20019,
  12167. 20021, 20023, 20028, {f: 3, c: 20032}, 20036, 20038, 20042, 20049, 20053,
  12168. 20055, {f: 2, c: 20058}, {f: 4, c: 20066}, {f: 2, c: 20071},
  12169. {f: 6, c: 20074}, 20082, {f: 10, c: 20084}, {f: 3, c: 20095},
  12170. {f: 2, c: 20099}, [12037, 20101], 20103, 20106, 20112, {f: 2, c: 20118},
  12171. 20121, {f: 2, c: 20124}, 20131, 20138, {f: 3, c: 20143}, 20148,
  12172. {f: 4, c: 20150}, {f: 3, c: 20156}, 20168, 20172, {f: 2, c: 20175}, 20178,
  12173. {f: 3, c: 20186}, 20192, 20194, {f: 2, c: 20198}, 20201, {f: 3, c: 20205},
  12174. 20209, 20212, {f: 3, c: 20216}, 20220, 20222, 20224, {f: 7, c: 20226},
  12175. {f: 2, c: 20235}, {f: 5, c: 20242}, {f: 2, c: 20252}, 20257, 20259,
  12176. {f: 2, c: 20264}, {f: 3, c: 20268}, 20273, 20275, 20277, 20279, 20281,
  12177. 20283, {f: 5, c: 20286}, {f: 2, c: 20292}, {f: 6, c: 20295}, 20306, 20308,
  12178. 20310, {f: 2, c: 20321}, 20326, 20328, {f: 2, c: 20330}, {f: 2, c: 20333},
  12179. {f: 2, c: 20337}, 20341, {f: 4, c: 20343}, 20349, {f: 3, c: 20352}, 20357,
  12180. 20359, 20362, 20364, 20366, 20368, {f: 2, c: 20370}, 20373,
  12181. {f: 3, c: 20376}, 20380, {f: 2, c: 20382}, {f: 2, c: 20385}, 20388, 20395,
  12182. 20397, {f: 5, c: 20400}, {f: 9, c: 20406}, {f: 2, c: 20416},
  12183. {f: 4, c: 20422}, {f: 3, c: 20427}, {f: 5, c: 20434}, 20441, 20443, 20450,
  12184. {f: 2, c: 20452}, 20455, {f: 2, c: 20459}, 20464, 20466, {f: 4, c: 20468},
  12185. 20473, {f: 3, c: 20475}, 20479, {f: 5, c: 20481}, {f: 2, c: 20487}, 20490,
  12186. 20494, 20496, 20499, {f: 3, c: 20501}, 20507, {f: 2, c: 20509}, 20512,
  12187. {f: 3, c: 20514}, 20519, {f: 11, c: 20527}, 20539, 20541, {f: 4, c: 20543},
  12188. {f: 3, c: 20548}, {f: 2, c: 20554}, 20557, {f: 5, c: 20560},
  12189. {f: 4, c: 20566}, 20571, {f: 8, c: 20573}, {f: 6, c: 20582},
  12190. {f: 7, c: 20589}, {f: 3, c: 20600}, {f: 2, c: 20604}, {f: 4, c: 20609},
  12191. {f: 2, c: 20614}, {f: 4, c: 20617}, {f: 8, c: 20622}, 20631,
  12192. {f: 8, c: 20634}, 20644, 20646, {f: 2, c: 20650}, {f: 4, c: 20654}, 20662,
  12193. {f: 2, c: 20664}, {f: 2, c: 20668}, {f: 3, c: 20671}, {f: 2, c: 20675},
  12194. {f: 3, c: 20678}, {f: 5, c: 20682}, 20688, {f: 3, c: 20690},
  12195. {f: 3, c: 20695}, {f: 3, c: 20699}, {f: 6, c: 20703}, {f: 3, c: 20713},
  12196. {f: 4, c: 20719}, 20724, {f: 3, c: 20726}, 20730, {f: 4, c: 20732}, 20737,
  12197. 20739, 20741, 20746, {f: 4, c: 20748}, 20753, 20755, {f: 2, c: 20758},
  12198. {f: 6, c: 20761}, 20768, {f: 8, c: 20770}, {f: 7, c: 20779},
  12199. {f: 4, c: 20787}, {f: 2, c: 20792}, {f: 2, c: 20797}, 20802, 20807, 20810,
  12200. 20812, {f: 3, c: 20814}, 20819, {f: 3, c: 20823}, 20827, {f: 5, c: 20829},
  12201. {f: 2, c: 20835}, {f: 2, c: 20838}, 20842, 20847, 20850, 20858,
  12202. {f: 2, c: 20862}, {f: 2, c: 20867}, {f: 2, c: 20870}, {f: 2, c: 20874},
  12203. {f: 4, c: 20878}, {f: 2, c: 20883}, 20888, 20890, {f: 3, c: 20893}, 20897,
  12204. 20899, {f: 5, c: 20902}, {f: 2, c: 20909}, 20916, {f: 3, c: 20920},
  12205. {f: 2, c: 20926}, {f: 3, c: 20929}, 20933, 20936, 20938, 20942, 20944,
  12206. {f: 9, c: 20946}, 20956, {f: 2, c: 20958}, {f: 2, c: 20962},
  12207. {f: 6, c: 20965}, 20972, 20974, 20978, 20980, 20983, 20990,
  12208. {f: 2, c: 20996}, 21001, {f: 2, c: 21003}, {f: 2, c: 21007},
  12209. {f: 3, c: 21011}, 21020, {f: 2, c: 21022}, {f: 3, c: 21025},
  12210. {f: 3, c: 21029}, 21034, 21036, 21039, {f: 2, c: 21041}, {f: 2, c: 21044},
  12211. 21052, 21054, {f: 2, c: 21061}, {f: 2, c: 21064}, {f: 2, c: 21070},
  12212. {f: 2, c: 21074}, 21077, {f: 4, c: 21079}, 21085, {f: 2, c: 21087},
  12213. {f: 3, c: 21090}, 21094, 21096, {f: 3, c: 21099}, {f: 2, c: 21104}, 21107,
  12214. {f: 7, c: 21110}, 21118, 21120, {f: 3, c: 21124}, 21131, {f: 2, c: 21134},
  12215. 21138, {f: 7, c: 21140}, 21148, {f: 4, c: 21156}, {f: 3, c: 21166},
  12216. {f: 10, c: 21172}, 21184, 21186, {f: 3, c: 21188}, 21192, 21194,
  12217. {f: 4, c: 21196}, 21201, {f: 2, c: 21203}, 21207, 21210, 21212,
  12218. {f: 2, c: 21216}, 21219, {f: 11, c: 21221}, {f: 3, c: 21234},
  12219. {f: 2, c: 21238}, {f: 3, c: 21243}, {f: 4, c: 21249}, 21255,
  12220. {f: 4, c: 21257}, 21262, {f: 4, c: 21265}, 21272, {f: 2, c: 21275},
  12221. {f: 2, c: 21278}, 21282, {f: 2, c: 21284}, {f: 3, c: 21287},
  12222. {f: 2, c: 21291}, 21296, {f: 6, c: 21298}, [12054, 21304],
  12223. {f: 2, c: 21308}, 21314, 21316, 21318, {f: 3, c: 21323}, 21328,
  12224. {f: 2, c: 21336}, 21339, 21341, 21349, 21352, 21354, {f: 2, c: 21356},
  12225. 21362, 21366, 21369, {f: 4, c: 21371}, {f: 2, c: 21376}, 21379,
  12226. {f: 2, c: 21383}, 21386, {f: 7, c: 21390}, {f: 2, c: 21398},
  12227. {f: 2, c: 21403}, 21406, 21409, 21412, 21415, {f: 3, c: 21418},
  12228. {f: 3, c: 21423}, 21427, 21429, {f: 4, c: 21431}, {f: 3, c: 21436}, 21440,
  12229. {f: 4, c: 21444}, {f: 3, c: 21454}, {f: 2, c: 21458}, 21461, 21466,
  12230. {f: 3, c: 21468}, 21473, 21479, 21492, 21498, {f: 3, c: 21502}, 21506,
  12231. 21509, 21511, 21515, 21524, {f: 3, c: 21528}, 21532, 21538,
  12232. {f: 2, c: 21540}, 21546, 21552, 21555, {f: 2, c: 21558}, 21562, 21565,
  12233. 21567, {f: 2, c: 21569}, {f: 2, c: 21572}, 21575, 21577, {f: 4, c: 21580},
  12234. 21585, 21594, {f: 5, c: 21597}, 21603, 21605, 21607, {f: 8, c: 21609},
  12235. 21620, {f: 2, c: 21625}, {f: 2, c: 21630}, 21633, 21635, 21637,
  12236. {f: 4, c: 21639}, 21645, 21649, 21651, {f: 2, c: 21655}, 21660,
  12237. {f: 5, c: 21662}, 21669, 21678, 21680, 21682, {f: 3, c: 21685},
  12238. {f: 2, c: 21689}, 21694, 21699, 21701, {f: 2, c: 21706}, 21718, 21720,
  12239. 21723, 21728, {f: 3, c: 21730}, {f: 2, c: 21739}, {f: 3, c: 21743},
  12240. {f: 6, c: 21748}, 21755, 21758, 21760, {f: 2, c: 21762}, 21765, 21768,
  12241. {f: 5, c: 21770}, {f: 2, c: 21778}, {f: 6, c: 21781}, {f: 4, c: 21788},
  12242. 21793, {f: 2, c: 21797}, {f: 2, c: 21800}, 21803, 21805, 21810,
  12243. {f: 3, c: 21812}, {f: 4, c: 21816}, 21821, 21824, 21826, 21829,
  12244. {f: 2, c: 21831}, {f: 4, c: 21835}, {f: 2, c: 21841}, 21844,
  12245. {f: 5, c: 21847}, 21853, {f: 2, c: 21855}, {f: 2, c: 21858},
  12246. {f: 2, c: 21864}, 21867, {f: 6, c: 21871}, {f: 2, c: 21881}, 21885, 21887,
  12247. {f: 2, c: 21893}, {f: 3, c: 21900}, 21904, {f: 2, c: 21906},
  12248. {f: 3, c: 21909}, {f: 2, c: 21914}, 21918, {f: 7, c: 21920},
  12249. {f: 2, c: 21928}, 21931, 21933, {f: 2, c: 21935}, 21940, 21942, 21944,
  12250. 21946, 21948, {f: 5, c: 21951}, 21960, {f: 2, c: 21962}, {f: 2, c: 21967},
  12251. 21973, {f: 3, c: 21975}, 21979, 21982, 21984, 21986, 21991,
  12252. {f: 2, c: 21997}, {f: 2, c: 22000}, 22004, {f: 5, c: 22008}, 22015,
  12253. {f: 4, c: 22018}, 22023, {f: 2, c: 22026}, {f: 4, c: 22032}, 22037,
  12254. {f: 2, c: 22041}, 22045, {f: 3, c: 22048}, {f: 2, c: 22053}, 22056,
  12255. {f: 2, c: 22058}, 22067, 22071, 22074, {f: 3, c: 22076}, 22080,
  12256. {f: 10, c: 22082}, {f: 5, c: 22095}, {f: 2, c: 22101}, {f: 2, c: 22106},
  12257. {f: 2, c: 22110}, 22113, 22115, 22119, {f: 2, c: 22125}, 22128, 22131,
  12258. 22133, 22135, 22138, {f: 3, c: 22141}, {f: 4, c: 22145}, {f: 4, c: 22152},
  12259. 22157, {f: 3, c: 22160}, 22164, {f: 3, c: 22166}, {f: 9, c: 22170},
  12260. {f: 2, c: 22180}, 22183, {f: 5, c: 22185}, {f: 3, c: 22192}, 22197,
  12261. {f: 4, c: 22200}, {f: 3, c: 22205}, {f: 2, c: 22211}, {f: 2, c: 22214},
  12262. 22219, {f: 4, c: 22221}, {f: 2, c: 22226}, {f: 2, c: 22229},
  12263. {f: 2, c: 22232}, 22236, 22243, {f: 6, c: 22245}, 22252, {f: 2, c: 22254},
  12264. {f: 2, c: 22258}, {f: 3, c: 22262}, {f: 2, c: 22267}, {f: 3, c: 22272},
  12265. 22277, 22284, {f: 4, c: 22286}, {f: 2, c: 22292}, 22295, {f: 3, c: 22297},
  12266. {f: 2, c: 22301}, {f: 3, c: 22304}, {f: 4, c: 22308}, 22315,
  12267. {f: 2, c: 22321}, {f: 5, c: 22324}, {f: 2, c: 22332}, 22335, 22337,
  12268. {f: 4, c: 22339}, {f: 2, c: 22344}, 22347, {f: 5, c: 22354},
  12269. {f: 2, c: 22360}, {f: 2, c: 22370}, 22373, 22375, 22380, 22382,
  12270. {f: 3, c: 22384}, {f: 2, c: 22388}, {f: 3, c: 22392}, {f: 5, c: 22397},
  12271. {f: 4, c: 22407}, {f: 5, c: 22413}, {f: 7, c: 22420}, {f: 4, c: 22428},
  12272. 22437, 22440, 22442, 22444, {f: 3, c: 22447}, 22451, {f: 3, c: 22453},
  12273. {f: 9, c: 22457}, {f: 7, c: 22468}, {f: 2, c: 22476}, {f: 2, c: 22480},
  12274. 22483, {f: 2, c: 22486}, {f: 2, c: 22491}, 22494, {f: 2, c: 22498},
  12275. {f: 8, c: 22501}, 22510, {f: 4, c: 22512}, {f: 2, c: 22517},
  12276. {f: 2, c: 22523}, {f: 2, c: 22526}, 22529, {f: 2, c: 22531},
  12277. {f: 2, c: 22536}, 22540, {f: 3, c: 22542}, {f: 3, c: 22546},
  12278. {f: 2, c: 22551}, {f: 3, c: 22554}, 22559, {f: 2, c: 22562},
  12279. {f: 5, c: 22565}, {f: 4, c: 22571}, {f: 2, c: 22578}, {f: 14, c: 22582},
  12280. {f: 5, c: 22597}, 22606, 22608, 22611, {f: 2, c: 22613}, {f: 5, c: 22617},
  12281. {f: 3, c: 22623}, 22627, {f: 5, c: 22630}, {f: 8, c: 22637},
  12282. {f: 3, c: 22646}, {f: 4, c: 22650}, 22655, 22658, 22660, {f: 3, c: 22662},
  12283. {f: 7, c: 22667}, {f: 5, c: 22676}, 22683, 22685, {f: 8, c: 22688},
  12284. {f: 4, c: 22698}, {f: 4, c: 22703}, {f: 7, c: 22708}, 22717,
  12285. {f: 2, c: 22719}, {f: 3, c: 22722}, 22726, {f: 9, c: 22728}, 22738, 22740,
  12286. {f: 2, c: 22742}, {f: 3, c: 22747}, 22753, 22755, {f: 4, c: 22757}, 22762,
  12287. 22765, {f: 2, c: 22769}, {f: 2, c: 22772}, {f: 2, c: 22775},
  12288. {f: 2, c: 22779}, {f: 4, c: 22782}, 22787, {f: 2, c: 22789},
  12289. {f: 2, c: 22792}, [12066, 22794], {f: 2, c: 22795}, 22798,
  12290. {f: 4, c: 22800}, {f: 2, c: 22807}, 22811, {f: 2, c: 22813},
  12291. {f: 2, c: 22816}, 22819, 22822, 22824, 22828, 22832, {f: 2, c: 22834},
  12292. {f: 2, c: 22837}, 22843, 22845, {f: 2, c: 22847}, 22851, {f: 2, c: 22853},
  12293. 22858, {f: 2, c: 22860}, 22864, {f: 2, c: 22866}, 22873, {f: 5, c: 22875},
  12294. 22881, {f: 2, c: 22883}, {f: 3, c: 22886}, 22891, 22893, {f: 4, c: 22895},
  12295. 22901, 22903, {f: 3, c: 22906}, {f: 3, c: 22910}, 22917, 22921,
  12296. {f: 2, c: 22923}, {f: 4, c: 22926}, {f: 2, c: 22932}, 22936,
  12297. {f: 3, c: 22938}, {f: 4, c: 22943}, {f: 2, c: 22950}, {f: 2, c: 22956},
  12298. {f: 2, c: 22960}, {f: 6, c: 22963}, 22970, {f: 2, c: 22972},
  12299. {f: 7, c: 22975}, {f: 3, c: 22983}, {f: 4, c: 22988}, {f: 2, c: 22997},
  12300. 23001, 23003, {f: 5, c: 23006}, 23012, {f: 2, c: 23014}, {f: 3, c: 23017},
  12301. {f: 12, c: 23021}, 23034, {f: 3, c: 23036}, 23040, 23042, {f: 2, c: 23050},
  12302. {f: 4, c: 23053}, 23058, {f: 4, c: 23060}, {f: 3, c: 23065},
  12303. {f: 2, c: 23069}, {f: 2, c: 23073}, 23076, {f: 3, c: 23078},
  12304. {f: 7, c: 23082}, 23091, 23093, {f: 5, c: 23095}, {f: 3, c: 23101},
  12305. {f: 4, c: 23106}, {f: 2, c: 23111}, {f: 10, c: 23115}, {f: 4, c: 23126},
  12306. {f: 7, c: 23131}, {f: 3, c: 23139}, {f: 2, c: 23144}, {f: 2, c: 23147},
  12307. {f: 6, c: 23150}, {f: 2, c: 23160}, {f: 4, c: 23163}, {f: 18, c: 23168},
  12308. {f: 7, c: 23187}, {f: 11, c: 23196}, {f: 2, c: 23208}, {f: 7, c: 23211},
  12309. 23220, {f: 2, c: 23222}, {f: 4, c: 23225}, {f: 2, c: 23231},
  12310. {f: 6, c: 23235}, {f: 2, c: 23242}, {f: 5, c: 23245}, 23251, 23253,
  12311. {f: 3, c: 23257}, {f: 3, c: 23261}, 23266, {f: 2, c: 23268},
  12312. {f: 2, c: 23271}, 23274, {f: 5, c: 23276}, {f: 3, c: 23282},
  12313. {f: 5, c: 23286}, {f: 4, c: 23292}, {f: 7, c: 23297}, 23306,
  12314. {f: 9, c: 23309}, 23320, {f: 7, c: 23322}, {f: 8, c: 23330},
  12315. {f: 5, c: 23339}, 23345, 23347, {f: 2, c: 23349}, {f: 7, c: 23353},
  12316. {f: 11, c: 23361}, {f: 3, c: 23373}, 23378, 23382, 23390, {f: 2, c: 23392},
  12317. {f: 2, c: 23399}, {f: 3, c: 23405}, 23410, 23412, {f: 2, c: 23414}, 23417,
  12318. {f: 2, c: 23419}, 23422, 23426, 23430, 23434, {f: 2, c: 23437},
  12319. {f: 3, c: 23440}, 23444, 23446, 23455, {f: 3, c: 23463}, {f: 4, c: 23468},
  12320. {f: 2, c: 23473}, 23479, {f: 3, c: 23482}, {f: 2, c: 23488}, 23491,
  12321. {f: 4, c: 23496}, {f: 3, c: 23501}, 23505, {f: 9, c: 23508}, 23520, 23523,
  12322. 23530, 23533, 23535, {f: 4, c: 23537}, 23543, {f: 2, c: 23549}, 23552,
  12323. {f: 2, c: 23554}, 23557, 23564, 23568, {f: 2, c: 23570}, 23575, 23577,
  12324. 23579, {f: 4, c: 23582}, 23587, 23590, {f: 4, c: 23592}, {f: 4, c: 23597},
  12325. {f: 2, c: 23602}, {f: 2, c: 23605}, {f: 2, c: 23619}, {f: 2, c: 23622},
  12326. {f: 2, c: 23628}, {f: 3, c: 23634}, {f: 3, c: 23638}, {f: 4, c: 23642},
  12327. 23647, 23655, {f: 3, c: 23657}, 23661, 23664, {f: 7, c: 23666},
  12328. {f: 4, c: 23675}, 23680, {f: 5, c: 23683}, {f: 3, c: 23689},
  12329. {f: 2, c: 23694}, {f: 2, c: 23698}, 23701, {f: 4, c: 23709},
  12330. {f: 5, c: 23716}, 23722, {f: 3, c: 23726}, 23730, 23732, 23734,
  12331. {f: 4, c: 23737}, 23742, 23744, {f: 2, c: 23746}, {f: 6, c: 23749},
  12332. {f: 6, c: 23756}, {f: 6, c: 23763}, {f: 7, c: 23770}, {f: 2, c: 23778},
  12333. 23783, 23785, {f: 2, c: 23787}, {f: 2, c: 23790}, {f: 3, c: 23793}, 23797,
  12334. {f: 4, c: 23799}, 23804, {f: 4, c: 23806}, {f: 2, c: 23812},
  12335. {f: 5, c: 23816}, {f: 5, c: 23823}, 23829, {f: 3, c: 23832},
  12336. {f: 2, c: 23836}, {f: 5, c: 23839}, 23845, 23848, {f: 2, c: 23850},
  12337. {f: 5, c: 23855}, {f: 8, c: 23861}, {f: 8, c: 23871}, {f: 2, c: 23880},
  12338. {f: 3, c: 23885}, {f: 7, c: 23889}, {f: 2, c: 23897}, 23900,
  12339. {f: 11, c: 23902}, 23914, {f: 2, c: 23917}, {f: 4, c: 23920},
  12340. {f: 12, c: 23925}, 23939, {f: 2, c: 23941}, {f: 15, c: 23944}, 23960,
  12341. {f: 3, c: 23962}, {f: 2, c: 23966}, {f: 6, c: 23969}, {f: 15, c: 23976},
  12342. 23993, 23995, {f: 8, c: 23997}, {f: 5, c: 24006}, 24012, {f: 4, c: 24014},
  12343. 24019, {f: 6, c: 24021}, 24028, {f: 2, c: 24031}, {f: 2, c: 24035}, 24042,
  12344. {f: 2, c: 24044}, {f: 2, c: 24053}, {f: 5, c: 24056}, {f: 2, c: 24063},
  12345. 24068, 24071, {f: 3, c: 24073}, {f: 2, c: 24077}, {f: 2, c: 24082}, 24087,
  12346. {f: 7, c: 24094}, {f: 3, c: 24104}, 24108, {f: 2, c: 24111}, 24114,
  12347. {f: 2, c: 24116}, {f: 2, c: 24121}, {f: 2, c: 24126}, 24129,
  12348. {f: 6, c: 24134}, {f: 7, c: 24141}, 24150, {f: 2, c: 24153},
  12349. {f: 2, c: 24156}, 24160, {f: 7, c: 24164}, {f: 5, c: 24173}, 24181, 24183,
  12350. {f: 3, c: 24193}, 24197, {f: 2, c: 24200}, {f: 3, c: 24204}, 24210, 24216,
  12351. 24219, 24221, {f: 4, c: 24225}, {f: 3, c: 24232}, 24236, {f: 5, c: 24238},
  12352. 24244, {f: 4, c: 24250}, {f: 10, c: 24255}, {f: 6, c: 24267},
  12353. {f: 2, c: 24276}, {f: 4, c: 24279}, {f: 3, c: 24284}, {f: 4, c: 24292},
  12354. 24297, 24299, {f: 6, c: 24301}, 24309, {f: 2, c: 24312}, {f: 3, c: 24315},
  12355. {f: 3, c: 24325}, 24329, {f: 3, c: 24332}, 24336, 24338, 24340, 24342,
  12356. {f: 2, c: 24345}, {f: 3, c: 24348}, {f: 4, c: 24353}, 24360,
  12357. {f: 2, c: 24363}, 24366, 24368, 24370, 24372, {f: 3, c: 24374}, 24379,
  12358. {f: 3, c: 24381}, {f: 5, c: 24385}, 24391, {f: 3, c: 24393}, 24397, 24399,
  12359. 24401, 24404, {f: 3, c: 24410}, {f: 3, c: 24414}, 24419, 24421,
  12360. {f: 2, c: 24423}, 24427, {f: 2, c: 24430}, 24434, {f: 3, c: 24436}, 24440,
  12361. 24442, {f: 3, c: 24445}, 24451, 24454, {f: 3, c: 24461}, {f: 2, c: 24467},
  12362. 24470, {f: 2, c: 24474}, 24477, 24479, {f: 6, c: 24482}, {f: 2, c: 24491},
  12363. {f: 6, c: 24495}, 24502, 24504, {f: 2, c: 24506}, {f: 5, c: 24510},
  12364. {f: 2, c: 24519}, {f: 2, c: 24522}, 24526, {f: 3, c: 24531},
  12365. {f: 3, c: 24538}, {f: 2, c: 24542}, {f: 2, c: 24546}, {f: 2, c: 24549},
  12366. {f: 2, c: 24552}, 24556, {f: 2, c: 24559}, {f: 3, c: 24562},
  12367. {f: 2, c: 24566}, {f: 2, c: 24569}, 24572, {f: 3, c: 24583},
  12368. {f: 2, c: 24587}, {f: 2, c: 24592}, 24595, {f: 2, c: 24599}, 24602,
  12369. {f: 2, c: 24606}, {f: 3, c: 24610}, {f: 3, c: 24620}, {f: 5, c: 24624},
  12370. {f: 5, c: 24630}, {f: 2, c: 24637}, 24640, {f: 7, c: 24644}, 24652,
  12371. {f: 2, c: 24654}, 24657, {f: 2, c: 24659}, {f: 3, c: 24662},
  12372. {f: 2, c: 24667}, {f: 4, c: 24670}, {f: 2, c: 24677}, 24686,
  12373. {f: 2, c: 24689}, {f: 2, c: 24692}, 24695, 24702, {f: 3, c: 24704},
  12374. {f: 4, c: 24709}, {f: 2, c: 24714}, {f: 4, c: 24718}, 24723, 24725,
  12375. {f: 3, c: 24727}, 24732, 24734, {f: 2, c: 24737}, {f: 2, c: 24740}, 24743,
  12376. {f: 2, c: 24745}, 24750, 24752, 24755, 24759, {f: 2, c: 24761},
  12377. {f: 8, c: 24765}, {f: 3, c: 24775}, {f: 5, c: 24780}, {f: 3, c: 24786},
  12378. {f: 2, c: 24790}, 24793, 24795, 24798, {f: 4, c: 24802}, 24810, 24821,
  12379. {f: 2, c: 24823}, {f: 4, c: 24828}, {f: 4, c: 24834}, 24839,
  12380. {f: 3, c: 24842}, {f: 5, c: 24848}, {f: 4, c: 24854}, {f: 2, c: 24861},
  12381. {f: 2, c: 24865}, 24869, {f: 3, c: 24872}, {f: 8, c: 24876},
  12382. {f: 2, c: 24885}, {f: 6, c: 24888}, {f: 8, c: 24896}, 24905, 24909,
  12383. {f: 2, c: 24911}, {f: 3, c: 24914}, {f: 2, c: 24918}, 24921,
  12384. {f: 2, c: 24923}, 24926, {f: 2, c: 24928}, {f: 2, c: 24933}, 24937,
  12385. {f: 2, c: 24940}, 24943, {f: 2, c: 24945}, 24948, {f: 10, c: 24952},
  12386. {f: 7, c: 24963}, {f: 2, c: 24972}, 24975, 24979, {f: 5, c: 24981},
  12387. {f: 2, c: 24987}, {f: 6, c: 24990}, {f: 2, c: 24997}, 25002, 25005,
  12388. {f: 3, c: 25007}, {f: 3, c: 25011}, {f: 6, c: 25016}, {f: 3, c: 25023},
  12389. {f: 4, c: 25027}, {f: 4, c: 25037}, 25043, {f: 9, c: 25045},
  12390. {f: 3, c: 25056}, {f: 2, c: 25060}, 25063, {f: 9, c: 25065},
  12391. {f: 2, c: 25075}, 25081, 25083, 25085, {f: 5, c: 25089}, 25097, 25107,
  12392. 25113, {f: 3, c: 25116}, 25120, 25123, 25126, {f: 2, c: 25128}, 25131,
  12393. 25133, 25135, 25137, 25141, [12094, 25142], {f: 5, c: 25144}, 25154,
  12394. {f: 3, c: 25156}, 25162, {f: 2, c: 25167}, {f: 3, c: 25173},
  12395. {f: 2, c: 25177}, {f: 7, c: 25180}, {f: 2, c: 25188}, 25192,
  12396. {f: 2, c: 25201}, {f: 2, c: 25204}, {f: 2, c: 25207}, {f: 2, c: 25210},
  12397. 25213, {f: 3, c: 25217}, {f: 4, c: 25221}, {f: 6, c: 25227}, 25236, 25241,
  12398. {f: 3, c: 25244}, 25251, {f: 2, c: 25254}, {f: 2, c: 25257},
  12399. {f: 4, c: 25261}, {f: 3, c: 25266}, {f: 3, c: 25270}, 25274, 25278,
  12400. {f: 2, c: 25280}, 25283, 25291, 25295, 25297, 25301, {f: 2, c: 25309},
  12401. {f: 2, c: 25312}, 25316, {f: 2, c: 25322}, 25328, 25330, 25333,
  12402. {f: 4, c: 25336}, 25344, {f: 4, c: 25347}, {f: 4, c: 25354},
  12403. {f: 2, c: 25359}, {f: 4, c: 25362}, {f: 3, c: 25367}, 25372,
  12404. {f: 2, c: 25382}, 25385, {f: 3, c: 25388}, {f: 2, c: 25392},
  12405. {f: 6, c: 25395}, {f: 2, c: 25403}, {f: 3, c: 25407}, 25412,
  12406. {f: 2, c: 25415}, 25418, {f: 4, c: 25425}, {f: 8, c: 25430}, 25440,
  12407. {f: 3, c: 25444}, 25450, 25452, {f: 2, c: 25455}, {f: 3, c: 25459},
  12408. {f: 2, c: 25464}, {f: 4, c: 25468}, 25473, {f: 2, c: 25477}, 25483, 25485,
  12409. 25489, {f: 3, c: 25491}, 25495, {f: 7, c: 25497}, 25505, 25508, 25510,
  12410. 25515, 25519, {f: 2, c: 25521}, {f: 2, c: 25525}, 25529, 25531, 25533,
  12411. 25535, {f: 3, c: 25537}, 25541, {f: 2, c: 25543}, {f: 3, c: 25546}, 25553,
  12412. {f: 3, c: 25555}, {f: 3, c: 25559}, {f: 3, c: 25563}, 25567, 25570,
  12413. {f: 5, c: 25572}, {f: 2, c: 25579}, {f: 3, c: 25583}, 25587, 25589, 25591,
  12414. {f: 4, c: 25593}, 25598, {f: 2, c: 25603}, {f: 5, c: 25606}, 25614,
  12415. {f: 2, c: 25617}, {f: 2, c: 25621}, {f: 3, c: 25624}, 25629, 25631,
  12416. {f: 4, c: 25634}, {f: 3, c: 25639}, 25643, {f: 6, c: 25646}, 25653,
  12417. {f: 3, c: 25655}, {f: 2, c: 25659}, 25662, 25664, {f: 2, c: 25666}, 25673,
  12418. {f: 6, c: 25675}, 25683, {f: 3, c: 25685}, {f: 3, c: 25689}, 25693,
  12419. {f: 7, c: 25696}, 25704, {f: 3, c: 25706}, 25710, {f: 3, c: 25712},
  12420. {f: 2, c: 25716}, 25719, {f: 6, c: 25724}, 25731, 25734, {f: 8, c: 25737},
  12421. 25748, {f: 2, c: 25751}, {f: 4, c: 25754}, {f: 3, c: 25760},
  12422. {f: 3, c: 25766}, 25770, 25775, 25777, 25780, 25782, 25785, 25789, 25795,
  12423. 25798, {f: 2, c: 25800}, 25804, 25807, 25809, 25811, {f: 2, c: 25813},
  12424. 25817, {f: 3, c: 25819}, 25823, 25825, 25827, 25829, {f: 5, c: 25831},
  12425. {f: 2, c: 25837}, 25843, {f: 2, c: 25845}, {f: 2, c: 25848}, 25853, 25855,
  12426. {f: 3, c: 25857}, 25861, {f: 2, c: 25863}, {f: 5, c: 25866},
  12427. {f: 2, c: 25872}, 25875, 25877, 25879, 25882, 25884, {f: 4, c: 25886},
  12428. {f: 4, c: 25894}, 25901, {f: 4, c: 25904}, 25911, 25914, {f: 2, c: 25916},
  12429. {f: 5, c: 25920}, {f: 2, c: 25926}, {f: 2, c: 25930}, {f: 2, c: 25933},
  12430. 25936, {f: 3, c: 25938}, 25944, 25946, 25948, {f: 3, c: 25951},
  12431. {f: 2, c: 25956}, {f: 4, c: 25959}, {f: 3, c: 25965}, 25969, 25971, 25974,
  12432. {f: 9, c: 25977}, {f: 3, c: 25988}, {f: 3, c: 25992}, {f: 3, c: 25997},
  12433. 26002, 26004, 26006, 26008, 26010, {f: 2, c: 26013}, 26016,
  12434. {f: 2, c: 26018}, 26022, 26024, 26026, 26030, {f: 6, c: 26033}, 26040,
  12435. {f: 2, c: 26042}, {f: 3, c: 26046}, 26050, {f: 4, c: 26055}, 26061,
  12436. {f: 2, c: 26064}, {f: 3, c: 26067}, {f: 8, c: 26072}, 26081,
  12437. {f: 2, c: 26083}, {f: 2, c: 26090}, {f: 4, c: 26098}, {f: 2, c: 26104},
  12438. {f: 5, c: 26107}, 26113, {f: 2, c: 26116}, {f: 3, c: 26119}, 26123, 26125,
  12439. {f: 3, c: 26128}, {f: 3, c: 26134}, {f: 3, c: 26138}, 26142,
  12440. {f: 4, c: 26145}, 26150, {f: 4, c: 26153}, 26158, 26160, {f: 2, c: 26162},
  12441. {f: 5, c: 26167}, 26173, {f: 2, c: 26175}, {f: 7, c: 26180},
  12442. {f: 2, c: 26189}, {f: 2, c: 26192}, {f: 2, c: 26200}, {f: 2, c: 26203},
  12443. 26206, 26208, {f: 2, c: 26210}, 26213, 26215, {f: 5, c: 26217},
  12444. {f: 3, c: 26225}, 26229, {f: 2, c: 26232}, {f: 3, c: 26235},
  12445. {f: 3, c: 26239}, 26243, {f: 2, c: 26245}, {f: 2, c: 26250},
  12446. {f: 4, c: 26253}, {f: 4, c: 26258}, {f: 5, c: 26264}, {f: 4, c: 26270},
  12447. {f: 4, c: 26275}, {f: 2, c: 26281}, {f: 2, c: 26284}, {f: 5, c: 26287},
  12448. {f: 4, c: 26293}, {f: 4, c: 26298}, {f: 5, c: 26303}, 26309, 26312,
  12449. {f: 12, c: 26314}, {f: 2, c: 26327}, 26330, {f: 2, c: 26334},
  12450. {f: 5, c: 26337}, {f: 2, c: 26343}, {f: 2, c: 26346}, {f: 3, c: 26349},
  12451. 26353, {f: 2, c: 26357}, {f: 2, c: 26362}, 26365, {f: 2, c: 26369},
  12452. {f: 4, c: 26372}, 26380, {f: 2, c: 26382}, {f: 3, c: 26385}, 26390,
  12453. {f: 3, c: 26392}, 26396, 26398, {f: 6, c: 26400}, 26409, 26414, 26416,
  12454. {f: 2, c: 26418}, {f: 4, c: 26422}, {f: 2, c: 26427}, {f: 2, c: 26430},
  12455. 26433, {f: 2, c: 26436}, 26439, {f: 2, c: 26442}, 26445, 26450,
  12456. {f: 2, c: 26452}, {f: 5, c: 26455}, 26461, {f: 3, c: 26466},
  12457. {f: 2, c: 26470}, {f: 2, c: 26475}, 26478, 26484, 26486, {f: 4, c: 26488},
  12458. 26493, 26496, {f: 2, c: 26498}, {f: 2, c: 26501}, 26504, 26506,
  12459. {f: 4, c: 26508}, {f: 4, c: 26513}, 26518, 26521, 26523, {f: 3, c: 26527},
  12460. 26532, 26534, 26537, 26540, 26542, {f: 2, c: 26545}, 26548,
  12461. {f: 8, c: 26553}, 26562, {f: 10, c: 26565}, {f: 3, c: 26581}, 26587, 26591,
  12462. 26593, {f: 2, c: 26595}, {f: 3, c: 26598}, {f: 2, c: 26602},
  12463. {f: 2, c: 26605}, 26610, {f: 8, c: 26613}, 26622, {f: 4, c: 26625}, 26630,
  12464. 26637, 26640, 26642, {f: 2, c: 26644}, {f: 5, c: 26648}, {f: 3, c: 26654},
  12465. {f: 7, c: 26658}, {f: 7, c: 26667}, {f: 3, c: 26676}, {f: 2, c: 26682},
  12466. 26687, 26695, 26699, 26701, 26703, 26706, {f: 10, c: 26710}, 26730,
  12467. {f: 8, c: 26732}, 26741, {f: 9, c: 26744}, 26754, 26756, {f: 8, c: 26759},
  12468. {f: 3, c: 26768}, {f: 3, c: 26772}, {f: 4, c: 26777}, 26782,
  12469. {f: 2, c: 26784}, {f: 3, c: 26787}, {f: 4, c: 26793}, 26798,
  12470. {f: 2, c: 26801}, 26804, {f: 10, c: 26806}, 26817, {f: 6, c: 26819}, 26826,
  12471. 26828, {f: 4, c: 26830}, {f: 2, c: 26835}, 26841, {f: 4, c: 26843},
  12472. {f: 2, c: 26849}, {f: 3, c: 26852}, {f: 6, c: 26856}, 26863,
  12473. {f: 3, c: 26866}, {f: 3, c: 26870}, 26875, {f: 4, c: 26877},
  12474. {f: 3, c: 26882}, {f: 5, c: 26886}, 26892, 26897, {f: 12, c: 26899},
  12475. {f: 3, c: 26913}, {f: 8, c: 26917}, {f: 2, c: 26926}, {f: 3, c: 26929},
  12476. {f: 4, c: 26933}, {f: 3, c: 26938}, 26942, {f: 2, c: 26944},
  12477. {f: 7, c: 26947}, {f: 8, c: 26955}, {f: 2, c: 26965}, {f: 2, c: 26968},
  12478. {f: 2, c: 26971}, 26975, {f: 2, c: 26977}, {f: 2, c: 26980}, 26983,
  12479. {f: 2, c: 26985}, 26988, {f: 2, c: 26991}, {f: 3, c: 26994}, 26998,
  12480. {f: 2, c: 27002}, {f: 3, c: 27005}, 27009, 27011, 27013, {f: 3, c: 27018},
  12481. {f: 6, c: 27022}, {f: 2, c: 27030}, {f: 2, c: 27033}, {f: 10, c: 27037},
  12482. 27049, 27052, {f: 2, c: 27055}, {f: 2, c: 27058}, {f: 2, c: 27061},
  12483. {f: 3, c: 27064}, {f: 3, c: 27068}, 27072, {f: 8, c: 27074}, 27087,
  12484. {f: 3, c: 27089}, {f: 6, c: 27093}, {f: 3, c: 27100}, {f: 6, c: 27105},
  12485. {f: 5, c: 27112}, {f: 4, c: 27118}, {f: 9, c: 27124}, 27134, 27136,
  12486. {f: 2, c: 27139}, {f: 4, c: 27142}, {f: 8, c: 27147}, {f: 3, c: 27156},
  12487. {f: 4, c: 27162}, 27168, 27170, {f: 4, c: 27172}, 27177, {f: 4, c: 27179},
  12488. 27184, {f: 3, c: 27186}, {f: 2, c: 27190}, {f: 2, c: 27195},
  12489. {f: 5, c: 27199}, {f: 2, c: 27205}, {f: 2, c: 27209}, {f: 4, c: 27212},
  12490. {f: 7, c: 27217}, 27226, {f: 3, c: 27228}, 27232, {f: 2, c: 27235},
  12491. {f: 11, c: 27238}, {f: 7, c: 27250}, {f: 2, c: 27258}, {f: 3, c: 27261},
  12492. {f: 3, c: 27265}, {f: 4, c: 27269}, {f: 4, c: 27274}, 27279,
  12493. {f: 2, c: 27282}, {f: 2, c: 27285}, {f: 4, c: 27288}, {f: 3, c: 27293},
  12494. 27297, {f: 5, c: 27300}, 27306, {f: 2, c: 27309}, {f: 3, c: 27312},
  12495. {f: 4, c: 27316}, {f: 2, c: 27321}, {f: 7, c: 27324}, {f: 15, c: 27332},
  12496. {f: 6, c: 27348}, 27356, {f: 7, c: 27360}, 27369, 27371, {f: 6, c: 27373},
  12497. {f: 4, c: 27380}, {f: 2, c: 27385}, {f: 8, c: 27388}, {f: 5, c: 27397},
  12498. {f: 4, c: 27403}, {f: 2, c: 27408}, {f: 3, c: 27411}, {f: 7, c: 27415},
  12499. 27423, {f: 2, c: 27429}, {f: 10, c: 27432}, {f: 4, c: 27443}, 27448,
  12500. {f: 2, c: 27451}, {f: 4, c: 27455}, {f: 2, c: 27460}, 27464,
  12501. {f: 2, c: 27466}, {f: 3, c: 27469}, {f: 8, c: 27473}, {f: 5, c: 27482},
  12502. 27488, {f: 2, c: 27496}, {f: 7, c: 27499}, {f: 4, c: 27507}, 27514,
  12503. {f: 4, c: 27517}, 27525, 27528, 27532, {f: 4, c: 27534}, {f: 2, c: 27540},
  12504. 27543, 27545, {f: 2, c: 27548}, {f: 2, c: 27551}, {f: 2, c: 27554},
  12505. {f: 5, c: 27557}, {f: 2, c: 27564}, {f: 2, c: 27568}, 27574,
  12506. {f: 2, c: 27576}, {f: 3, c: 27580}, 27584, {f: 2, c: 27587},
  12507. {f: 4, c: 27591}, 27596, 27598, {f: 2, c: 27600}, 27608, 27610,
  12508. {f: 5, c: 27612}, {f: 8, c: 27618}, {f: 3, c: 27628}, {f: 3, c: 27632},
  12509. 27636, {f: 3, c: 27638}, {f: 3, c: 27642}, 27646, {f: 5, c: 27648},
  12510. {f: 3, c: 27657}, 27662, 27666, 27671, {f: 3, c: 27676}, 27680, 27685,
  12511. 27693, 27697, 27699, {f: 2, c: 27702}, {f: 4, c: 27705}, {f: 2, c: 27710},
  12512. {f: 3, c: 27715}, 27720, {f: 5, c: 27723}, {f: 3, c: 27729}, 27734,
  12513. {f: 3, c: 27736}, {f: 2, c: 27746}, {f: 3, c: 27749}, {f: 5, c: 27755},
  12514. 27761, 27763, 27765, {f: 2, c: 27767}, {f: 3, c: 27770}, {f: 2, c: 27775},
  12515. 27780, 27783, {f: 2, c: 27786}, {f: 2, c: 27789}, {f: 2, c: 27793},
  12516. {f: 4, c: 27797}, 27802, {f: 3, c: 27804}, 27808, 27810, 27816, 27820,
  12517. {f: 2, c: 27823}, {f: 4, c: 27828}, 27834, {f: 4, c: 27840},
  12518. {f: 3, c: 27846}, 27851, {f: 3, c: 27853}, {f: 2, c: 27857},
  12519. {f: 3, c: 27864}, {f: 2, c: 27868}, 27871, 27876, {f: 2, c: 27878}, 27881,
  12520. {f: 2, c: 27884}, 27890, 27892, 27897, {f: 2, c: 27903}, {f: 2, c: 27906},
  12521. {f: 2, c: 27909}, {f: 3, c: 27912}, 27917, {f: 3, c: 27919},
  12522. {f: 4, c: 27923}, 27928, {f: 2, c: 27932}, {f: 6, c: 27935}, 27942,
  12523. {f: 2, c: 27944}, {f: 2, c: 27948}, {f: 2, c: 27951}, 27956,
  12524. {f: 3, c: 27958}, 27962, {f: 2, c: 27967}, 27970, 27972, 27977, 27980,
  12525. 27984, {f: 4, c: 27989}, 27995, 27997, 27999, {f: 2, c: 28001},
  12526. {f: 2, c: 28004}, {f: 2, c: 28007}, {f: 3, c: 28011}, {f: 4, c: 28016},
  12527. {f: 2, c: 28021}, {f: 2, c: 28026}, {f: 5, c: 28029}, {f: 2, c: 28035},
  12528. 28038, {f: 2, c: 28042}, 28045, {f: 2, c: 28047}, 28050, {f: 5, c: 28054},
  12529. 28060, 28066, 28069, {f: 2, c: 28076}, {f: 2, c: 28080}, {f: 2, c: 28083},
  12530. {f: 2, c: 28086}, {f: 6, c: 28089}, {f: 3, c: 28097}, {f: 3, c: 28104},
  12531. {f: 4, c: 28109}, {f: 4, c: 28114}, 28119, {f: 3, c: 28122}, 28127,
  12532. {f: 2, c: 28130}, 28133, {f: 3, c: 28135}, 28141, {f: 2, c: 28143}, 28146,
  12533. 28148, 28152, {f: 8, c: 28157}, {f: 4, c: 28166}, 28171, 28175,
  12534. {f: 2, c: 28178}, 28181, {f: 2, c: 28184}, {f: 2, c: 28187},
  12535. {f: 2, c: 28190}, 28194, {f: 2, c: 28199}, 28202, 28206, {f: 2, c: 28208},
  12536. 28211, {f: 3, c: 28213}, 28217, {f: 3, c: 28219}, {f: 4, c: 28223},
  12537. {f: 8, c: 28229}, {f: 4, c: 28239}, 28245, 28247, {f: 2, c: 28249},
  12538. {f: 2, c: 28252}, {f: 11, c: 28256}, {f: 2, c: 28268}, {f: 14, c: 28272},
  12539. {f: 3, c: 28288}, 28292, {f: 2, c: 28295}, {f: 5, c: 28298},
  12540. {f: 5, c: 28305}, 28311, {f: 3, c: 28313}, 28318, {f: 2, c: 28320},
  12541. {f: 2, c: 28323}, 28326, {f: 2, c: 28328}, {f: 4, c: 28331}, 28336, 28339,
  12542. 28341, {f: 2, c: 28344}, 28348, {f: 3, c: 28350}, 28355, 28358,
  12543. {f: 3, c: 28360}, 28365, 28368, 28370, 28374, {f: 2, c: 28376},
  12544. {f: 3, c: 28379}, 28387, 28391, {f: 2, c: 28394}, {f: 2, c: 28397},
  12545. {f: 2, c: 28400}, 28403, {f: 2, c: 28405}, {f: 5, c: 28410}, 28416,
  12546. {f: 3, c: 28419}, {f: 2, c: 28423}, {f: 5, c: 28426}, {f: 3, c: 28432},
  12547. {f: 4, c: 28438}, {f: 5, c: 28443}, 28449, {f: 4, c: 28453}, 28462, 28464,
  12548. {f: 2, c: 28468}, 28471, {f: 5, c: 28473}, 28480, {f: 4, c: 28482},
  12549. {f: 3, c: 28488}, 28492, {f: 3, c: 28494}, {f: 2, c: 28498},
  12550. {f: 3, c: 28501}, {f: 2, c: 28506}, 28509, {f: 3, c: 28511}, 28515, 28517,
  12551. {f: 6, c: 28519}, 28529, 28531, {f: 2, c: 28533}, 28537, 28539,
  12552. {f: 2, c: 28541}, {f: 3, c: 28545}, 28549, {f: 2, c: 28554},
  12553. {f: 8, c: 28559}, {f: 4, c: 28568}, {f: 3, c: 28573}, {f: 2, c: 28578},
  12554. {f: 2, c: 28581}, 28584, {f: 4, c: 28586}, {f: 2, c: 28591}, 28594,
  12555. {f: 2, c: 28596}, {f: 2, c: 28599}, {f: 6, c: 28602}, {f: 5, c: 28612},
  12556. {f: 7, c: 28618}, {f: 2, c: 28627}, {f: 2, c: 28630}, {f: 2, c: 28633},
  12557. {f: 2, c: 28636}, {f: 2, c: 28642}, {f: 6, c: 28645}, {f: 2, c: 28652},
  12558. {f: 8, c: 28658}, 28667, 28669, {f: 6, c: 28671}, {f: 2, c: 28679}, 28682,
  12559. {f: 3, c: 28684}, 28688, {f: 3, c: 28690}, {f: 2, c: 28694}, 28697, 28700,
  12560. 28702, {f: 2, c: 28705}, {f: 3, c: 28708}, {f: 7, c: 28713}, 28721,
  12561. {f: 2, c: 28723}, {f: 3, c: 28726}, {f: 4, c: 28730}, {f: 4, c: 28735},
  12562. {f: 7, c: 28741}, {f: 2, c: 28749}, 28752, {f: 3, c: 28754},
  12563. {f: 2, c: 28758}, {f: 4, c: 28761}, {f: 4, c: 28767}, {f: 2, c: 28773},
  12564. {f: 3, c: 28776}, 28782, {f: 4, c: 28785}, 28791, {f: 3, c: 28793}, 28797,
  12565. {f: 4, c: 28801}, {f: 3, c: 28806}, {f: 3, c: 28811}, {f: 3, c: 28815},
  12566. 28819, {f: 2, c: 28823}, {f: 2, c: 28826}, {f: 13, c: 28830}, 28848, 28850,
  12567. {f: 3, c: 28852}, 28858, {f: 2, c: 28862}, {f: 4, c: 28868}, 28873,
  12568. {f: 4, c: 28875}, {f: 8, c: 28880}, 28890, {f: 3, c: 28892},
  12569. {f: 4, c: 28896}, 28901, 28906, 28910, {f: 4, c: 28912}, {f: 2, c: 28917},
  12570. 28920, {f: 3, c: 28922}, {f: 11, c: 28926}, {f: 5, c: 28939},
  12571. {f: 2, c: 28945}, 28948, 28951, {f: 6, c: 28955}, {f: 4, c: 28962},
  12572. {f: 8, c: 28967}, {f: 4, c: 28978}, {f: 14, c: 28983}, {f: 3, c: 28998},
  12573. 29003, 29005, {f: 3, c: 29007}, {f: 9, c: 29011}, 29021, {f: 3, c: 29023},
  12574. 29027, 29029, {f: 2, c: 29034}, 29037, {f: 3, c: 29039}, {f: 4, c: 29044},
  12575. 29049, {f: 2, c: 29051}, {f: 6, c: 29054}, {f: 5, c: 29061},
  12576. {f: 4, c: 29067}, {f: 2, c: 29072}, 29075, {f: 2, c: 29077},
  12577. {f: 5, c: 29082}, {f: 7, c: 29089}, {f: 3, c: 29097}, {f: 4, c: 29101},
  12578. 29106, 29108, {f: 3, c: 29110}, {f: 4, c: 29114}, {f: 2, c: 29119}, 29122,
  12579. {f: 4, c: 29124}, {f: 5, c: 29129}, {f: 3, c: 29135}, 29139,
  12580. {f: 3, c: 29142}, {f: 2, c: 29146}, {f: 2, c: 29149}, {f: 4, c: 29153},
  12581. {f: 5, c: 29160}, {f: 5, c: 29167}, {f: 4, c: 29173}, {f: 2, c: 29178},
  12582. 29181, {f: 7, c: 29183}, {f: 6, c: 29191}, {f: 2, c: 29198},
  12583. {f: 10, c: 29201}, 29212, {f: 10, c: 29214}, 29225, 29227,
  12584. {f: 3, c: 29229}, {f: 2, c: 29235}, 29244, {f: 7, c: 29248},
  12585. {f: 3, c: 29257}, {f: 4, c: 29262}, {f: 3, c: 29267}, 29271, 29274, 29276,
  12586. 29278, 29280, {f: 3, c: 29283}, 29288, {f: 4, c: 29290}, {f: 2, c: 29296},
  12587. {f: 2, c: 29299}, {f: 3, c: 29302}, {f: 2, c: 29307}, {f: 2, c: 29314},
  12588. {f: 5, c: 29317}, 29324, 29326, {f: 2, c: 29328}, {f: 3, c: 29331},
  12589. {f: 8, c: 29335}, {f: 2, c: 29344}, {f: 4, c: 29347}, {f: 4, c: 29352},
  12590. 29358, {f: 3, c: 29361}, 29365, {f: 6, c: 29370}, {f: 3, c: 29381},
  12591. {f: 4, c: 29385}, 29391, 29393, {f: 4, c: 29395}, 29400, {f: 4, c: 29402},
  12592. 29407, {f: 6, c: 29410}, {f: 2, c: 29418}, {f: 2, c: 29429},
  12593. {f: 3, c: 29438}, 29442, {f: 6, c: 29444}, {f: 3, c: 29451},
  12594. {f: 4, c: 29455}, 29460, {f: 3, c: 29464}, {f: 2, c: 29471},
  12595. {f: 2, c: 29475}, {f: 3, c: 29478}, 29485, {f: 2, c: 29487},
  12596. {f: 2, c: 29490}, 29493, 29498, {f: 2, c: 29500}, 29504, {f: 2, c: 29506},
  12597. {f: 7, c: 29510}, {f: 2, c: 29518}, 29521, {f: 4, c: 29523},
  12598. {f: 8, c: 29528}, {f: 7, c: 29537}, 29545, 29550, 29553, {f: 2, c: 29555},
  12599. 29558, 29561, 29565, 29567, {f: 3, c: 29569}, {f: 2, c: 29573}, 29576,
  12600. 29578, {f: 2, c: 29580}, {f: 2, c: 29583}, {f: 4, c: 29586},
  12601. {f: 4, c: 29591}, {f: 3, c: 29596}, {f: 2, c: 29600}, {f: 6, c: 29603},
  12602. 29610, {f: 2, c: 29612}, 29617, {f: 3, c: 29620}, {f: 2, c: 29624},
  12603. {f: 4, c: 29628}, 29633, {f: 5, c: 29635}, {f: 2, c: 29643}, 29646,
  12604. {f: 7, c: 29650}, {f: 4, c: 29658}, 29663, {f: 4, c: 29665}, 29670, 29672,
  12605. {f: 3, c: 29674}, {f: 4, c: 29678}, {f: 11, c: 29683}, {f: 4, c: 29695},
  12606. 29700, {f: 2, c: 29703}, {f: 4, c: 29707}, {f: 9, c: 29713},
  12607. {f: 6, c: 29724}, {f: 2, c: 29731}, 29735, 29737, 29739, 29741, 29743,
  12608. {f: 2, c: 29745}, {f: 5, c: 29751}, {f: 2, c: 29757}, 29760,
  12609. {f: 9, c: 29762}, {f: 9, c: 29772}, 29782, 29784, 29789, {f: 3, c: 29792},
  12610. {f: 5, c: 29796}, {f: 2, c: 29803}, {f: 2, c: 29806}, {f: 5, c: 29809},
  12611. {f: 6, c: 29816}, 29823, 29826, {f: 3, c: 29828}, 29832, 29834,
  12612. {f: 2, c: 29836}, 29839, {f: 11, c: 29841}, 29853, {f: 4, c: 29855},
  12613. {f: 2, c: 29860}, {f: 6, c: 29866}, {f: 9, c: 29873}, {f: 2, c: 29883},
  12614. {f: 12, c: 29886}, {f: 4, c: 29899}, {f: 2, c: 29904}, 29907,
  12615. {f: 5, c: 29909}, 29915, 29917, 29919, 29921, 29925, {f: 7, c: 29927},
  12616. {f: 4, c: 29936}, 29941, {f: 7, c: 29944}, {f: 4, c: 29952},
  12617. {f: 7, c: 29957}, 29966, 29968, 29970, {f: 4, c: 29972}, 29979,
  12618. {f: 2, c: 29981}, {f: 3, c: 29984}, 29988, {f: 2, c: 29990}, 29994, 29998,
  12619. 30004, 30006, 30009, {f: 2, c: 30012}, 30015, {f: 4, c: 30017},
  12620. {f: 2, c: 30022}, {f: 2, c: 30025}, 30029, {f: 4, c: 30032},
  12621. {f: 4, c: 30037}, {f: 4, c: 30046}, {f: 2, c: 30051}, {f: 3, c: 30055},
  12622. {f: 6, c: 30060}, 30067, 30069, 30071, {f: 5, c: 30074}, {f: 3, c: 30080},
  12623. {f: 2, c: 30084}, {f: 3, c: 30088}, {f: 3, c: 30092}, 30096, 30099, 30101,
  12624. 30104, {f: 2, c: 30107}, 30110, 30114, {f: 5, c: 30118}, 30125,
  12625. {f: 2, c: 30134}, {f: 2, c: 30138}, {f: 3, c: 30143}, 30150,
  12626. {f: 2, c: 30155}, {f: 4, c: 30158}, 30163, 30167, 30170, {f: 2, c: 30172},
  12627. {f: 3, c: 30175}, 30181, 30185, {f: 4, c: 30188}, {f: 2, c: 30194},
  12628. {f: 4, c: 30197}, {f: 2, c: 30202}, {f: 2, c: 30205}, 30212,
  12629. {f: 4, c: 30214}, {f: 2, c: 30222}, {f: 4, c: 30225}, 30230, 30234,
  12630. {f: 2, c: 30236}, 30243, 30248, 30252, {f: 2, c: 30254}, {f: 2, c: 30257},
  12631. {f: 2, c: 30262}, {f: 2, c: 30265}, 30269, 30273, {f: 2, c: 30276}, 30280,
  12632. {f: 2, c: 30282}, {f: 6, c: 30286}, 30293, 30295, {f: 3, c: 30297}, 30301,
  12633. {f: 2, c: 30304}, 30310, 30312, 30314, {f: 3, c: 30323}, [12136, 30326],
  12634. 30327, {f: 2, c: 30329}, {f: 3, c: 30335}, 30339, 30341, {f: 2, c: 30345},
  12635. {f: 2, c: 30348}, {f: 2, c: 30351}, 30354, {f: 2, c: 30356},
  12636. {f: 2, c: 30359}, {f: 9, c: 30363}, {f: 9, c: 30373}, {f: 2, c: 30383},
  12637. 30387, {f: 3, c: 30389}, 30393, {f: 4, c: 30395}, {f: 2, c: 30400},
  12638. {f: 2, c: 30403}, 30407, 30409, {f: 2, c: 30411}, 30419, 30421,
  12639. {f: 2, c: 30425}, {f: 2, c: 30428}, 30432, 30434, 30438, {f: 6, c: 30440},
  12640. 30448, 30451, {f: 3, c: 30453}, {f: 2, c: 30458}, 30461, {f: 2, c: 30463},
  12641. {f: 2, c: 30466}, {f: 2, c: 30469}, 30474, 30476, {f: 11, c: 30478},
  12642. {f: 4, c: 30491}, 30497, {f: 3, c: 30499}, 30503, {f: 3, c: 30506}, 30510,
  12643. {f: 5, c: 30512}, 30521, 30523, {f: 3, c: 30525}, 30530, {f: 3, c: 30532},
  12644. {f: 7, c: 30536}, {f: 8, c: 30546}, {f: 2, c: 30556}, {f: 2, c: 30559},
  12645. 30564, 30567, {f: 2, c: 30569}, {f: 12, c: 30573}, {f: 3, c: 30586},
  12646. {f: 3, c: 30593}, {f: 6, c: 30598}, {f: 2, c: 30607}, {f: 5, c: 30611},
  12647. {f: 5, c: 30617}, 30625, {f: 2, c: 30627}, 30630, 30632, 30635,
  12648. {f: 2, c: 30638}, {f: 2, c: 30641}, 30644, {f: 5, c: 30646}, 30654,
  12649. {f: 7, c: 30656}, {f: 5, c: 30664}, {f: 9, c: 30670}, {f: 2, c: 30680},
  12650. {f: 5, c: 30685}, 30692, 30694, 30696, 30698, {f: 3, c: 30704},
  12651. {f: 2, c: 30708}, 30711, {f: 4, c: 30713}, {f: 6, c: 30723},
  12652. {f: 2, c: 30730}, {f: 3, c: 30734}, 30739, 30741, 30745, 30747, 30750,
  12653. {f: 3, c: 30752}, 30756, 30760, {f: 2, c: 30762}, {f: 2, c: 30766},
  12654. {f: 3, c: 30769}, {f: 2, c: 30773}, 30781, 30783, {f: 2, c: 30785}, 30788,
  12655. 30790, {f: 4, c: 30792}, 30797, 30799, 30801, {f: 2, c: 30803},
  12656. {f: 5, c: 30808}, {f: 6, c: 30814}, {f: 3, c: 30821}, 30825,
  12657. {f: 7, c: 30832}, {f: 4, c: 30840}, {f: 10, c: 30845}, 30856,
  12658. {f: 2, c: 30858}, {f: 2, c: 30863}, 30866, {f: 3, c: 30868}, 30873,
  12659. {f: 2, c: 30877}, 30880, 30882, 30884, 30886, 30888, {f: 3, c: 30890},
  12660. {f: 2, c: 30894}, {f: 3, c: 30901}, 30907, 30909, {f: 2, c: 30911},
  12661. {f: 3, c: 30914}, {f: 3, c: 30918}, {f: 4, c: 30924}, {f: 3, c: 30929},
  12662. {f: 3, c: 30934}, {f: 8, c: 30939}, {f: 3, c: 30948}, {f: 3, c: 30953},
  12663. {f: 2, c: 30957}, {f: 2, c: 30960}, 30963, {f: 2, c: 30965},
  12664. {f: 2, c: 30968}, {f: 2, c: 30971}, {f: 3, c: 30974}, {f: 3, c: 30978},
  12665. {f: 8, c: 30982}, {f: 4, c: 30991}, {f: 5, c: 30996}, {f: 4, c: 31002},
  12666. {f: 5, c: 31007}, 31013, {f: 3, c: 31015}, {f: 4, c: 31021},
  12667. {f: 2, c: 31026}, {f: 5, c: 31029}, 31037, 31039, {f: 4, c: 31042}, 31047,
  12668. {f: 9, c: 31050}, {f: 2, c: 31060}, {f: 2, c: 31064}, 31073,
  12669. {f: 2, c: 31075}, 31078, {f: 4, c: 31081}, 31086, {f: 7, c: 31088}, 31097,
  12670. {f: 5, c: 31099}, {f: 2, c: 31106}, {f: 4, c: 31110}, {f: 2, c: 31115},
  12671. {f: 10, c: 31120}, {f: 11, c: 31131}, {f: 2, c: 31144}, {f: 3, c: 31147},
  12672. 31151, 31154, {f: 4, c: 31156}, [12145, 31160], 31164, 31167, 31170,
  12673. {f: 2, c: 31172}, {f: 2, c: 31175}, 31178, 31180, {f: 3, c: 31182},
  12674. {f: 2, c: 31187}, {f: 2, c: 31190}, {f: 6, c: 31193}, {f: 3, c: 31200},
  12675. 31205, 31208, 31210, 31212, 31214, {f: 7, c: 31217}, {f: 2, c: 31225},
  12676. 31228, {f: 2, c: 31230}, 31233, {f: 2, c: 31236}, {f: 4, c: 31239}, 31244,
  12677. {f: 5, c: 31247}, {f: 2, c: 31253}, {f: 2, c: 31256}, {f: 3, c: 31259},
  12678. 31263, {f: 2, c: 31265}, {f: 10, c: 31268}, {f: 2, c: 31279}, 31282,
  12679. {f: 3, c: 31284}, 31288, 31290, 31294, {f: 5, c: 31297}, {f: 5, c: 31303},
  12680. {f: 2, c: 31311}, {f: 5, c: 31314}, {f: 9, c: 31320}, {f: 6, c: 31331},
  12681. 31338, {f: 4, c: 31340}, {f: 3, c: 31345}, 31349, {f: 4, c: 31355}, 31362,
  12682. 31365, 31367, {f: 4, c: 31369}, {f: 3, c: 31374}, {f: 2, c: 31379},
  12683. {f: 3, c: 31385}, 31390, {f: 4, c: 31393}, 31399, 31403, {f: 4, c: 31407},
  12684. {f: 2, c: 31412}, {f: 3, c: 31415}, {f: 4, c: 31419}, {f: 4, c: 31424},
  12685. 31430, 31433, {f: 10, c: 31436}, {f: 2, c: 31447}, {f: 4, c: 31450},
  12686. {f: 2, c: 31457}, 31460, {f: 3, c: 31463}, {f: 2, c: 31467}, 31470,
  12687. {f: 6, c: 31472}, {f: 2, c: 31479}, {f: 2, c: 31483}, 31486,
  12688. {f: 3, c: 31488}, 31493, 31495, 31497, {f: 3, c: 31500}, 31504,
  12689. {f: 2, c: 31506}, {f: 3, c: 31510}, 31514, {f: 2, c: 31516}, 31519,
  12690. {f: 3, c: 31521}, 31527, 31529, 31533, {f: 2, c: 31535}, 31538,
  12691. {f: 4, c: 31540}, 31545, 31547, 31549, {f: 6, c: 31551}, 31560, 31562,
  12692. {f: 2, c: 31565}, 31571, 31573, 31575, 31577, 31580, {f: 2, c: 31582},
  12693. 31585, {f: 4, c: 31587}, {f: 6, c: 31592}, {f: 2, c: 31599},
  12694. {f: 2, c: 31603}, 31606, 31608, 31610, {f: 2, c: 31612}, 31615,
  12695. {f: 4, c: 31617}, {f: 5, c: 31622}, 31628, {f: 2, c: 31630},
  12696. {f: 3, c: 31633}, 31638, {f: 4, c: 31640}, {f: 3, c: 31646},
  12697. {f: 3, c: 31651}, {f: 3, c: 31662}, {f: 2, c: 31666}, {f: 3, c: 31669},
  12698. {f: 7, c: 31673}, {f: 2, c: 31682}, 31685, 31688, 31690, {f: 4, c: 31693},
  12699. 31698, {f: 5, c: 31700}, {f: 2, c: 31707}, {f: 3, c: 31710},
  12700. {f: 2, c: 31714}, {f: 2, c: 31719}, {f: 3, c: 31723}, {f: 2, c: 31727},
  12701. 31730, {f: 3, c: 31732}, {f: 4, c: 31736}, 31741, 31743, {f: 6, c: 31745},
  12702. {f: 3, c: 31752}, 31758, {f: 6, c: 31760}, {f: 7, c: 31767}, 31776, 31778,
  12703. {f: 2, c: 31780}, {f: 2, c: 31784}, {f: 12, c: 31788}, {f: 4, c: 31801},
  12704. 31810, {f: 8, c: 31812}, {f: 14, c: 31822}, {f: 2, c: 31837},
  12705. {f: 3, c: 31841}, {f: 4, c: 31845}, 31851, 31853, {f: 3, c: 31855},
  12706. {f: 6, c: 31861}, {f: 11, c: 31870}, {f: 7, c: 31882}, {f: 2, c: 31891},
  12707. 31894, {f: 3, c: 31897}, {f: 2, c: 31904}, 31907, {f: 4, c: 31910},
  12708. {f: 3, c: 31915}, {f: 2, c: 31919}, {f: 5, c: 31924}, {f: 2, c: 31930},
  12709. {f: 2, c: 31935}, {f: 3, c: 31938}, 31942, 31945, 31947, {f: 7, c: 31950},
  12710. 31960, {f: 2, c: 31962}, {f: 6, c: 31969}, {f: 6, c: 31977}, 31985, 31987,
  12711. 31989, 31991, 31994, {f: 2, c: 31996}, 31999, 32001, 32003, 32012,
  12712. {f: 2, c: 32014}, {f: 2, c: 32017}, 32022, 32024, {f: 3, c: 32029},
  12713. {f: 4, c: 32035}, {f: 3, c: 32040}, {f: 3, c: 32044}, {f: 5, c: 32052},
  12714. 32059, {f: 2, c: 32061}, 32065, 32067, 32069, {f: 7, c: 32071}, 32079,
  12715. {f: 12, c: 32081}, {f: 2, c: 32095}, {f: 3, c: 32099}, 32103,
  12716. {f: 5, c: 32105}, {f: 2, c: 32111}, {f: 2, c: 32116}, 32120,
  12717. {f: 7, c: 32122}, 32130, {f: 2, c: 32132}, 32135, {f: 5, c: 32138},
  12718. {f: 3, c: 32144}, {f: 8, c: 32148}, 32157, {f: 3, c: 32159},
  12719. {f: 2, c: 32164}, {f: 4, c: 32167}, 32175, {f: 3, c: 32181}, 32188,
  12720. {f: 4, c: 32192}, {f: 2, c: 32197}, {f: 2, c: 32200}, {f: 5, c: 32204},
  12721. 32211, {f: 2, c: 32213}, {f: 3, c: 32218}, 32223, 32226, {f: 2, c: 32228},
  12722. 32231, {f: 2, c: 32234}, {f: 2, c: 32237}, 32240, 32243, 32245,
  12723. {f: 2, c: 32247}, 32250, {f: 12, c: 32252}, {f: 4, c: 32268},
  12724. {f: 9, c: 32274}, 32284, {f: 3, c: 32288}, {f: 3, c: 32292},
  12725. {f: 3, c: 32296}, 32300, {f: 2, c: 32303}, 32307, 32312, 32314, 32316,
  12726. {f: 2, c: 32319}, {f: 3, c: 32322}, {f: 10, c: 32328}, 32339,
  12727. {f: 4, c: 32342}, {f: 3, c: 32347}, {f: 3, c: 32351}, {f: 6, c: 32355},
  12728. 32364, {f: 2, c: 32369}, {f: 5, c: 32372}, {f: 2, c: 32378},
  12729. {f: 3, c: 32383}, {f: 5, c: 32387}, 32393, 32395, 32398, {f: 3, c: 32400},
  12730. 32405, 32407, {f: 2, c: 32409}, {f: 2, c: 32413}, 32430, 32436,
  12731. {f: 2, c: 32443}, 32470, 32484, 32492, 32505, 32522, 32528, 32542, 32567,
  12732. 32569, {f: 7, c: 32571}, 32579, {f: 6, c: 32582}, 32589, 32591,
  12733. {f: 2, c: 32594}, 32598, 32601, {f: 4, c: 32603}, 32608, {f: 5, c: 32611},
  12734. {f: 3, c: 32619}, 32623, 32627, {f: 2, c: 32629}, 32632, {f: 4, c: 32634},
  12735. {f: 2, c: 32639}, {f: 3, c: 32642}, 32647, 32649, 32651, 32653,
  12736. {f: 5, c: 32655}, {f: 5, c: 32661}, {f: 2, c: 32667}, 32672,
  12737. {f: 2, c: 32674}, 32678, 32680, {f: 5, c: 32682}, 32689, {f: 5, c: 32691},
  12738. {f: 2, c: 32698}, 32702, 32704, {f: 3, c: 32706}, {f: 4, c: 32710}, 32715,
  12739. 32717, {f: 3, c: 32719}, 32723, {f: 2, c: 32726}, {f: 6, c: 32729},
  12740. {f: 3, c: 32738}, {f: 2, c: 32743}, {f: 4, c: 32746}, 32751, 32754,
  12741. {f: 5, c: 32756}, 32762, {f: 3, c: 32765}, 32770, {f: 4, c: 32775},
  12742. {f: 2, c: 32782}, 32785, 32787, {f: 2, c: 32794}, {f: 3, c: 32797}, 32801,
  12743. {f: 2, c: 32803}, 32811, 32813, {f: 2, c: 32815}, 32818, 32820,
  12744. {f: 2, c: 32825}, 32828, 32830, {f: 2, c: 32832}, {f: 2, c: 32836},
  12745. {f: 3, c: 32839}, {f: 4, c: 32846}, 32851, 32853, 32855, 32857,
  12746. {f: 3, c: 32859}, {f: 10, c: 32863}, {f: 4, c: 32875}, 32884, 32888,
  12747. {f: 3, c: 32890}, {f: 2, c: 32897}, 32904, 32906, {f: 6, c: 32909},
  12748. {f: 2, c: 32916}, 32919, 32921, 32926, 32931, {f: 3, c: 32934}, 32940,
  12749. 32944, 32947, {f: 2, c: 32949}, {f: 2, c: 32952}, 32955, 32965,
  12750. {f: 5, c: 32967}, {f: 7, c: 32975}, 32984, {f: 2, c: 32991},
  12751. {f: 2, c: 32994}, 32998, 33006, 33013, 33015, 33017, 33019,
  12752. {f: 4, c: 33022}, {f: 2, c: 33027}, {f: 2, c: 33031}, {f: 2, c: 33035},
  12753. 33045, 33047, 33049, {f: 2, c: 33052}, {f: 13, c: 33055}, {f: 2, c: 33069},
  12754. 33072, {f: 3, c: 33075}, 33079, {f: 4, c: 33082}, {f: 7, c: 33087}, 33095,
  12755. 33097, 33101, 33103, 33106, {f: 2, c: 33111}, {f: 5, c: 33115},
  12756. {f: 3, c: 33122}, 33128, 33130, 33132, 33135, {f: 2, c: 33138},
  12757. {f: 3, c: 33141}, 33153, {f: 5, c: 33155}, 33161, {f: 4, c: 33163}, 33168,
  12758. {f: 6, c: 33170}, 33177, {f: 2, c: 33182}, {f: 2, c: 33185},
  12759. {f: 2, c: 33188}, 33191, {f: 8, c: 33195}, {f: 6, c: 33204}, 33212,
  12760. {f: 2, c: 33220}, {f: 2, c: 33223}, 33227, 33230, {f: 8, c: 33232}, 33241,
  12761. {f: 4, c: 33243}, {f: 2, c: 33249}, {f: 3, c: 33252}, 33257, 33259,
  12762. {f: 5, c: 33262}, {f: 5, c: 33269}, 33277, 33279, 33283, 33291,
  12763. {f: 2, c: 33294}, 33297, 33299, {f: 6, c: 33301}, 33309, 33312,
  12764. {f: 4, c: 33316}, 33321, 33326, 33330, 33338, {f: 2, c: 33340},
  12765. {f: 5, c: 33343}, {f: 2, c: 33349}, 33352, 33354, {f: 3, c: 33356},
  12766. {f: 8, c: 33360}, {f: 4, c: 33371}, {f: 4, c: 33376}, 33381, 33383,
  12767. {f: 2, c: 33385}, {f: 2, c: 33388}, {f: 2, c: 33397}, [12171, 33400],
  12768. {f: 2, c: 33403}, {f: 2, c: 33408}, 33411, {f: 3, c: 33413}, 33417, 33420,
  12769. 33424, {f: 4, c: 33427}, {f: 2, c: 33434}, 33438, 33440, {f: 2, c: 33442},
  12770. 33447, 33458, {f: 2, c: 33461}, 33466, 33468, {f: 2, c: 33471},
  12771. {f: 2, c: 33474}, {f: 2, c: 33477}, 33481, 33488, 33494, {f: 2, c: 33497},
  12772. 33501, 33506, {f: 3, c: 33512}, {f: 3, c: 33516}, 33520, {f: 2, c: 33522},
  12773. {f: 2, c: 33525}, 33528, 33530, {f: 5, c: 33532}, {f: 2, c: 33546}, 33549,
  12774. 33552, {f: 2, c: 33554}, 33558, {f: 2, c: 33560}, {f: 10, c: 33565},
  12775. {f: 2, c: 33577}, 33582, 33584, 33586, 33591, 33595, {f: 3, c: 33597},
  12776. {f: 2, c: 33601}, {f: 2, c: 33604}, 33608, {f: 5, c: 33610}, 33619,
  12777. {f: 5, c: 33621}, 33629, 33634, {f: 7, c: 33648}, {f: 2, c: 33657},
  12778. {f: 7, c: 33662}, {f: 2, c: 33671}, {f: 3, c: 33675}, {f: 3, c: 33679},
  12779. {f: 2, c: 33684}, 33687, {f: 2, c: 33689}, 33693, 33695, 33697,
  12780. {f: 4, c: 33699}, {f: 4, c: 33708}, 33717, 33723, {f: 2, c: 33726},
  12781. {f: 3, c: 33730}, 33734, {f: 2, c: 33736}, 33739, {f: 2, c: 33741},
  12782. {f: 4, c: 33744}, 33749, 33751, {f: 3, c: 33753}, 33758, {f: 3, c: 33762},
  12783. {f: 3, c: 33766}, {f: 4, c: 33771}, {f: 5, c: 33779}, {f: 3, c: 33786},
  12784. {f: 3, c: 33790}, 33794, 33797, {f: 2, c: 33800}, 33808, {f: 6, c: 33810},
  12785. {f: 3, c: 33817}, {f: 6, c: 33822}, {f: 3, c: 33833}, {f: 4, c: 33837},
  12786. {f: 3, c: 33842}, {f: 2, c: 33846}, {f: 3, c: 33849}, {f: 8, c: 33854},
  12787. {f: 2, c: 33863}, {f: 7, c: 33866}, {f: 4, c: 33875}, 33880,
  12788. {f: 4, c: 33885}, 33890, 33893, {f: 2, c: 33895}, 33898, 33902, 33904,
  12789. 33906, 33908, 33913, {f: 7, c: 33915}, {f: 4, c: 33923}, 33930, 33933,
  12790. {f: 4, c: 33935}, {f: 2, c: 33941}, 33944, {f: 2, c: 33946},
  12791. {f: 4, c: 33949}, {f: 13, c: 33954}, {f: 2, c: 33968}, 33971,
  12792. {f: 3, c: 33973}, 33979, 33982, {f: 2, c: 33986}, {f: 4, c: 33989}, 33996,
  12793. {f: 2, c: 33998}, 34002, {f: 2, c: 34004}, {f: 6, c: 34007}, 34014,
  12794. {f: 2, c: 34017}, 34020, {f: 5, c: 34023}, 34029, {f: 11, c: 34033}, 34046,
  12795. {f: 12, c: 34048}, {f: 4, c: 34061}, 34066, {f: 2, c: 34069},
  12796. {f: 2, c: 34072}, {f: 3, c: 34075}, 34080, 34082, {f: 2, c: 34084},
  12797. {f: 4, c: 34087}, {f: 9, c: 34094}, {f: 3, c: 34110}, 34114,
  12798. {f: 2, c: 34116}, 34119, {f: 3, c: 34123}, {f: 3, c: 34127}, 34132, 34135,
  12799. {f: 4, c: 34138}, {f: 3, c: 34143}, 34147, {f: 3, c: 34149},
  12800. {f: 2, c: 34155}, {f: 4, c: 34158}, 34163, {f: 2, c: 34165}, 34168,
  12801. {f: 2, c: 34172}, {f: 5, c: 34175}, 34182, 34185, 34187, {f: 2, c: 34189},
  12802. 34192, {f: 2, c: 34194}, {f: 6, c: 34197}, {f: 2, c: 34205},
  12803. {f: 4, c: 34208}, 34213, 34215, {f: 3, c: 34219}, {f: 6, c: 34225}, 34232,
  12804. {f: 6, c: 34235}, {f: 7, c: 34242}, {f: 3, c: 34250}, {f: 2, c: 34257},
  12805. 34260, {f: 6, c: 34262}, {f: 6, c: 34270}, {f: 3, c: 34278},
  12806. {f: 9, c: 34283}, 34293, {f: 2, c: 34295}, {f: 3, c: 34300},
  12807. {f: 4, c: 34304}, {f: 3, c: 34312}, {f: 5, c: 34316}, {f: 4, c: 34322},
  12808. {f: 3, c: 34327}, {f: 3, c: 34331}, {f: 3, c: 34335}, {f: 4, c: 34339},
  12809. 34344, {f: 3, c: 34346}, {f: 10, c: 34350}, 34361, 34363, {f: 2, c: 34365},
  12810. {f: 13, c: 34368}, {f: 2, c: 34386}, {f: 4, c: 34390}, 34395, 34397,
  12811. {f: 2, c: 34400}, {f: 4, c: 34403}, {f: 3, c: 34408}, 34413,
  12812. {f: 2, c: 34415}, {f: 7, c: 34418}, {f: 7, c: 34435}, {f: 5, c: 34446},
  12813. 34452, {f: 6, c: 34454}, {f: 5, c: 34462}, {f: 2, c: 34469}, 34475,
  12814. {f: 2, c: 34477}, {f: 2, c: 34482}, {f: 3, c: 34487}, {f: 5, c: 34491},
  12815. {f: 3, c: 34497}, 34501, 34504, {f: 2, c: 34508}, {f: 2, c: 34514},
  12816. {f: 3, c: 34517}, 34522, {f: 2, c: 34524}, {f: 4, c: 34528},
  12817. {f: 4, c: 34533}, {f: 3, c: 34538}, 34543, {f: 3, c: 34549},
  12818. {f: 3, c: 34555}, 34559, 34561, {f: 2, c: 34564}, {f: 2, c: 34571},
  12819. {f: 4, c: 34574}, 34580, 34582, 34585, 34587, 34589, {f: 2, c: 34591},
  12820. 34596, {f: 3, c: 34598}, {f: 4, c: 34602}, {f: 2, c: 34607},
  12821. {f: 2, c: 34610}, {f: 2, c: 34613}, {f: 3, c: 34616}, {f: 2, c: 34620},
  12822. {f: 7, c: 34624}, {f: 2, c: 34634}, 34637, {f: 4, c: 34639}, 34644, 34646,
  12823. 34648, {f: 6, c: 34650}, {f: 2, c: 34657}, {f: 7, c: 34663}, 34671,
  12824. {f: 3, c: 34673}, 34677, 34679, {f: 2, c: 34681}, {f: 3, c: 34687},
  12825. {f: 2, c: 34694}, {f: 2, c: 34697}, 34700, {f: 5, c: 34702},
  12826. {f: 3, c: 34708}, {f: 6, c: 34712}, {f: 2, c: 34720}, {f: 5, c: 34723},
  12827. {f: 2, c: 34729}, 34734, {f: 3, c: 34736}, 34740, {f: 4, c: 34742}, 34748,
  12828. {f: 2, c: 34750}, {f: 3, c: 34753}, 34757, 34759, 34761, {f: 2, c: 34764},
  12829. {f: 2, c: 34767}, {f: 7, c: 34772}, {f: 4, c: 34780}, {f: 2, c: 34785},
  12830. 34788, {f: 4, c: 34790}, 34795, 34797, {f: 2, c: 34800}, {f: 3, c: 34803},
  12831. {f: 2, c: 34807}, 34810, {f: 2, c: 34812}, {f: 4, c: 34815}, 34820,
  12832. {f: 3, c: 34823}, {f: 5, c: 34827}, 34834, 34836, {f: 4, c: 34839},
  12833. {f: 3, c: 34844}, 34848, {f: 13, c: 34852}, {f: 3, c: 34867},
  12834. {f: 2, c: 34871}, 34874, {f: 3, c: 34877}, {f: 3, c: 34881},
  12835. {f: 3, c: 34887}, 34891, {f: 5, c: 34894}, {f: 2, c: 34901}, 34904, 34906,
  12836. 34908, {f: 3, c: 34910}, {f: 2, c: 34918}, 34922, 34925, 34927, 34929,
  12837. {f: 4, c: 34931}, 34936, {f: 3, c: 34938}, 34944, 34947, {f: 2, c: 34950},
  12838. {f: 2, c: 34953}, 34956, {f: 4, c: 34958}, {f: 3, c: 34963},
  12839. {f: 5, c: 34967}, {f: 5, c: 34973}, 34979, {f: 6, c: 34981}, 34988,
  12840. {f: 3, c: 34990}, {f: 5, c: 34994}, {f: 4, c: 35000}, {f: 4, c: 35005},
  12841. {f: 2, c: 35011}, {f: 2, c: 35015}, {f: 3, c: 35019}, {f: 2, c: 35024},
  12842. 35027, {f: 2, c: 35030}, {f: 2, c: 35034}, 35038, {f: 2, c: 35040},
  12843. {f: 2, c: 35046}, {f: 7, c: 35049}, 35058, {f: 3, c: 35061},
  12844. {f: 2, c: 35066}, {f: 3, c: 35071}, {f: 4, c: 35075}, {f: 2, c: 35080},
  12845. {f: 5, c: 35083}, 35089, {f: 5, c: 35092}, {f: 5, c: 35100},
  12846. {f: 3, c: 35106}, {f: 4, c: 35110}, {f: 4, c: 35116}, 35121, 35125, 35127,
  12847. {f: 2, c: 35129}, {f: 5, c: 35132}, {f: 2, c: 35138}, {f: 2, c: 35141},
  12848. {f: 14, c: 35144}, {f: 6, c: 35159}, {f: 3, c: 35169}, 35173,
  12849. {f: 3, c: 35175}, 35179, {f: 2, c: 35181}, {f: 2, c: 35184},
  12850. {f: 8, c: 35187}, {f: 2, c: 35196}, [12177, 35198], 35200, 35202,
  12851. {f: 2, c: 35204}, {f: 4, c: 35207}, {f: 3, c: 35212}, {f: 3, c: 35216},
  12852. {f: 2, c: 35220}, 35223, {f: 8, c: 35225}, {f: 4, c: 35234},
  12853. {f: 3, c: 35239}, 35243, {f: 2, c: 35245}, {f: 2, c: 35248},
  12854. {f: 4, c: 35251}, {f: 2, c: 35256}, {f: 2, c: 35259}, 35262, 35267, 35277,
  12855. {f: 3, c: 35283}, {f: 3, c: 35287}, 35291, 35293, {f: 4, c: 35295}, 35300,
  12856. {f: 4, c: 35303}, {f: 3, c: 35308}, {f: 3, c: 35312}, 35317, 35319,
  12857. {f: 7, c: 35321}, {f: 3, c: 35332}, 35337, 35339, 35341, 35343,
  12858. {f: 2, c: 35345}, 35348, 35351, {f: 2, c: 35353}, 35356, 35358,
  12859. {f: 3, c: 35360}, 35364, {f: 4, c: 35366}, {f: 2, c: 35371},
  12860. {f: 3, c: 35374}, {f: 2, c: 35378}, 35381, {f: 3, c: 35383},
  12861. {f: 3, c: 35387}, {f: 2, c: 35391}, {f: 4, c: 35394}, 35399,
  12862. {f: 5, c: 35401}, 35407, 35409, 35411, {f: 2, c: 35414}, {f: 2, c: 35417},
  12863. {f: 2, c: 35420}, {f: 2, c: 35423}, {f: 2, c: 35428}, {f: 2, c: 35431},
  12864. 35434, 35439, 35444, {f: 3, c: 35446}, {f: 2, c: 35450}, {f: 2, c: 35453},
  12865. {f: 4, c: 35456}, 35464, {f: 2, c: 35467}, {f: 3, c: 35470}, 35476,
  12866. {f: 2, c: 35478}, 35481, {f: 3, c: 35483}, 35487, 35490, 35495,
  12867. {f: 3, c: 35497}, {f: 3, c: 35501}, 35505, {f: 3, c: 35507},
  12868. {f: 2, c: 35511}, {f: 2, c: 35514}, {f: 2, c: 35517}, {f: 2, c: 35520},
  12869. 35523, {f: 2, c: 35525}, 35528, 35530, 35532, 35534, 35536,
  12870. {f: 3, c: 35539}, {f: 3, c: 35544}, 35549, {f: 3, c: 35551}, 35555, 35557,
  12871. {f: 3, c: 35560}, 35564, {f: 2, c: 35567}, 35570, {f: 2, c: 35572}, 35577,
  12872. 35579, 35581, 35583, 35587, 35590, {f: 2, c: 35592}, {f: 3, c: 35595},
  12873. 35599, {f: 3, c: 35601}, 35605, 35608, 35612, {f: 3, c: 35614},
  12874. {f: 4, c: 35618}, 35623, {f: 2, c: 35625}, {f: 5, c: 35630},
  12875. {f: 5, c: 35636}, {f: 4, c: 35642}, {f: 10, c: 35647}, {f: 4, c: 35658},
  12876. {f: 6, c: 35664}, 35671, 35675, {f: 9, c: 35677}, {f: 4, c: 35687},
  12877. {f: 2, c: 35693}, {f: 3, c: 35697}, {f: 2, c: 35701}, {f: 5, c: 35704},
  12878. {f: 2, c: 35710}, {f: 9, c: 35713}, {f: 3, c: 35723}, {f: 3, c: 35727},
  12879. 35732, {f: 5, c: 35735}, 35741, 35743, 35756, 35761, 35771, 35783, 35792,
  12880. 35818, 35849, 35870, {f: 9, c: 35896}, {f: 4, c: 35906}, {f: 2, c: 35914},
  12881. {f: 3, c: 35917}, {f: 4, c: 35921}, {f: 4, c: 35926}, {f: 6, c: 35931},
  12882. {f: 7, c: 35939}, {f: 7, c: 35948}, {f: 4, c: 35956}, {f: 7, c: 35963},
  12883. {f: 2, c: 35971}, {f: 3, c: 35974}, 35979, {f: 7, c: 35981},
  12884. {f: 3, c: 35989}, {f: 4, c: 35993}, 35999, {f: 4, c: 36003},
  12885. {f: 2, c: 36013}, 36017, 36021, 36025, 36030, 36038, 36041,
  12886. {f: 6, c: 36043}, 36052, {f: 4, c: 36054}, 36059, 36061, 36063, 36069,
  12887. {f: 2, c: 36072}, {f: 6, c: 36078}, {f: 5, c: 36085}, {f: 5, c: 36095},
  12888. {f: 2, c: 36102}, 36105, 36108, 36110, {f: 5, c: 36113}, {f: 4, c: 36119},
  12889. 36128, {f: 2, c: 36177}, 36183, 36191, 36197, {f: 3, c: 36200}, 36204,
  12890. {f: 2, c: 36206}, {f: 2, c: 36209}, {f: 9, c: 36216}, {f: 2, c: 36226},
  12891. {f: 4, c: 36230}, {f: 5, c: 36236}, {f: 2, c: 36242}, {f: 3, c: 36246},
  12892. {f: 5, c: 36250}, {f: 3, c: 36256}, {f: 4, c: 36260}, {f: 8, c: 36265},
  12893. {f: 2, c: 36278}, 36281, 36283, 36285, {f: 3, c: 36288}, 36293,
  12894. {f: 4, c: 36295}, 36301, 36304, {f: 4, c: 36306}, {f: 2, c: 36312}, 36316,
  12895. {f: 3, c: 36320}, {f: 3, c: 36325}, 36329, {f: 2, c: 36333},
  12896. {f: 3, c: 36336}, 36340, 36342, 36348, {f: 7, c: 36350}, {f: 3, c: 36358},
  12897. 36363, {f: 2, c: 36365}, {f: 3, c: 36369}, {f: 8, c: 36373},
  12898. {f: 2, c: 36384}, {f: 5, c: 36388}, 36395, 36397, 36400, {f: 2, c: 36402},
  12899. {f: 3, c: 36406}, {f: 2, c: 36411}, {f: 2, c: 36414}, 36419,
  12900. {f: 2, c: 36421}, {f: 4, c: 36429}, {f: 2, c: 36435}, {f: 3, c: 36438},
  12901. {f: 9, c: 36442}, {f: 2, c: 36452}, {f: 2, c: 36455}, {f: 2, c: 36458},
  12902. 36462, 36465, 36467, 36469, {f: 3, c: 36471}, 36475, {f: 2, c: 36477},
  12903. 36480, {f: 3, c: 36482}, 36486, 36488, 36492, 36494, {f: 5, c: 36501},
  12904. 36507, 36509, {f: 2, c: 36511}, {f: 3, c: 36514}, {f: 3, c: 36519},
  12905. {f: 2, c: 36525}, {f: 2, c: 36528}, {f: 7, c: 36531}, {f: 5, c: 36539},
  12906. {f: 9, c: 36545}, {f: 3, c: 36559}, 36563, {f: 6, c: 36565},
  12907. {f: 3, c: 36572}, {f: 4, c: 36576}, {f: 6, c: 36581}, {f: 6, c: 36588},
  12908. {f: 5, c: 36595}, 36605, {f: 4, c: 36607}, 36612, 36614, 36616,
  12909. {f: 7, c: 36619}, 36627, {f: 5, c: 36630}, {f: 5, c: 36640},
  12910. {f: 2, c: 36647}, {f: 4, c: 36651}, {f: 3, c: 36656}, {f: 4, c: 36660},
  12911. {f: 2, c: 36665}, {f: 2, c: 36668}, {f: 2, c: 36672}, 36675,
  12912. {f: 2, c: 36679}, {f: 3, c: 36682}, {f: 5, c: 36687}, {f: 10, c: 36693},
  12913. 36704, 36707, 36709, 36714, 36736, 36748, 36754, 36765, {f: 3, c: 36768},
  12914. {f: 2, c: 36772}, 36775, 36778, 36780, {f: 2, c: 36787}, [12193, 36789],
  12915. {f: 2, c: 36791}, {f: 3, c: 36794}, {f: 2, c: 36799}, 36803, 36806,
  12916. {f: 5, c: 36809}, 36815, 36818, {f: 2, c: 36822}, 36826, {f: 2, c: 36832},
  12917. 36835, 36839, 36844, 36847, {f: 2, c: 36849}, {f: 2, c: 36853},
  12918. {f: 3, c: 36858}, {f: 2, c: 36862}, {f: 2, c: 36871}, 36876, 36878, 36883,
  12919. 36888, 36892, {f: 2, c: 36900}, {f: 6, c: 36903}, {f: 2, c: 36912},
  12920. {f: 2, c: 36915}, 36919, {f: 2, c: 36921}, 36925, {f: 2, c: 36927}, 36931,
  12921. {f: 2, c: 36933}, {f: 3, c: 36936}, 36940, 36950, {f: 2, c: 36953}, 36957,
  12922. 36959, 36961, 36964, {f: 2, c: 36966}, {f: 3, c: 36970}, {f: 3, c: 36975},
  12923. 36979, 36982, 36985, 36987, 36990, {f: 2, c: 36997}, 37001,
  12924. {f: 3, c: 37004}, 37010, 37012, 37014, 37016, 37018, 37020,
  12925. {f: 3, c: 37022}, {f: 2, c: 37028}, {f: 3, c: 37031}, 37035, 37037, 37042,
  12926. 37047, {f: 2, c: 37052}, {f: 2, c: 37055}, {f: 2, c: 37058}, 37062,
  12927. {f: 2, c: 37064}, {f: 3, c: 37067}, 37074, {f: 3, c: 37076},
  12928. {f: 3, c: 37080}, 37086, 37088, {f: 3, c: 37091}, {f: 2, c: 37097}, 37100,
  12929. 37102, {f: 4, c: 37104}, {f: 2, c: 37110}, {f: 4, c: 37113},
  12930. {f: 3, c: 37119}, 37123, 37125, {f: 2, c: 37127}, {f: 8, c: 37130}, 37139,
  12931. 37141, {f: 2, c: 37143}, {f: 4, c: 37146}, {f: 3, c: 37151},
  12932. {f: 3, c: 37156}, {f: 5, c: 37160}, 37166, 37171, 37173, {f: 2, c: 37175},
  12933. {f: 8, c: 37179}, {f: 2, c: 37188}, 37191, 37201, {f: 4, c: 37203},
  12934. {f: 2, c: 37208}, {f: 2, c: 37211}, {f: 2, c: 37215}, {f: 3, c: 37222},
  12935. 37227, 37229, 37235, {f: 3, c: 37242}, {f: 5, c: 37248}, 37254, 37256,
  12936. 37258, {f: 2, c: 37262}, {f: 3, c: 37267}, {f: 3, c: 37271},
  12937. {f: 5, c: 37277}, {f: 6, c: 37284}, {f: 4, c: 37296}, {f: 4, c: 37302},
  12938. {f: 5, c: 37307}, 37314, 37316, [12196, 37318], 37320, 37328, 37334,
  12939. {f: 2, c: 37338}, {f: 5, c: 37342}, {f: 2, c: 37349}, 37352,
  12940. {f: 11, c: 37354}, 37366, 37368, {f: 5, c: 37371}, {f: 2, c: 37378},
  12941. {f: 3, c: 37381}, {f: 3, c: 37386}, 37391, {f: 2, c: 37394},
  12942. {f: 8, c: 37398}, {f: 4, c: 37407}, 37412, {f: 6, c: 37416}, 37423,
  12943. {f: 2, c: 37425}, {f: 2, c: 37429}, {f: 2, c: 37435}, {f: 4, c: 37441},
  12944. {f: 2, c: 37446}, {f: 3, c: 37450}, {f: 3, c: 37454}, {f: 3, c: 37458},
  12945. 37462, {f: 2, c: 37464}, {f: 2, c: 37468}, {f: 3, c: 37471},
  12946. {f: 3, c: 37475}, {f: 5, c: 37479}, {f: 6, c: 37486}, {f: 3, c: 37493},
  12947. 37497, {f: 3, c: 37500}, {f: 2, c: 37505}, 37508, {f: 8, c: 37510},
  12948. {f: 2, c: 37519}, 37522, {f: 2, c: 37524}, 37527, 37529, 37531,
  12949. {f: 3, c: 37533}, {f: 2, c: 37537}, 37540, 37543, 37549, {f: 2, c: 37551},
  12950. {f: 5, c: 37554}, 37560, 37562, {f: 4, c: 37565}, 37570, 37572, 37574,
  12951. {f: 3, c: 37577}, {f: 2, c: 37581}, {f: 2, c: 37584}, {f: 10, c: 37587},
  12952. 37598, {f: 3, c: 37600}, 37607, 37609, {f: 2, c: 37611}, {f: 4, c: 37618},
  12953. 37623, {f: 3, c: 37625}, {f: 4, c: 37629}, {f: 4, c: 37634},
  12954. {f: 7, c: 37641}, 37649, {f: 2, c: 37651}, {f: 2, c: 37654},
  12955. {f: 3, c: 37660}, 37665, {f: 3, c: 37667}, 37671, {f: 2, c: 37673},
  12956. {f: 2, c: 37676}, {f: 2, c: 37680}, {f: 2, c: 37684}, 37687,
  12957. {f: 5, c: 37689}, 37695, 37698, {f: 2, c: 37700}, {f: 3, c: 37704}, 37708,
  12958. {f: 6, c: 37710}, {f: 3, c: 37717}, {f: 2, c: 37721}, {f: 8, c: 37724},
  12959. {f: 3, c: 37734}, 37739, {f: 3, c: 37741}, {f: 4, c: 37745},
  12960. {f: 3, c: 37751}, {f: 3, c: 37755}, {f: 3, c: 37759}, 37763,
  12961. {f: 2, c: 37765}, {f: 2, c: 37768}, {f: 4, c: 37771}, {f: 6, c: 37776},
  12962. 37783, {f: 9, c: 37785}, {f: 2, c: 37796}, 37800, 37803, 37805, 37807,
  12963. {f: 2, c: 37809}, 37812, {f: 2, c: 37814}, {f: 6, c: 37817},
  12964. {f: 3, c: 37824}, {f: 3, c: 37828}, 37833, 37835, {f: 3, c: 37838},
  12965. {f: 4, c: 37842}, {f: 3, c: 37849}, 37856, 37859, {f: 3, c: 37861},
  12966. {f: 12, c: 37865}, 37878, 37880, {f: 9, c: 37882}, {f: 7, c: 37892},
  12967. {f: 4, c: 37900}, 37905, {f: 3, c: 37909}, {f: 3, c: 37914},
  12968. {f: 2, c: 37918}, {f: 5, c: 37921}, {f: 5, c: 37929}, {f: 3, c: 37935},
  12969. 37940, {f: 2, c: 37942}, 37945, {f: 3, c: 37947}, {f: 4, c: 37952},
  12970. {f: 5, c: 37957}, 37963, {f: 5, c: 37965}, 37971, {f: 11, c: 37973},
  12971. {f: 2, c: 37985}, 37988, {f: 5, c: 37990}, 37996, {f: 2, c: 37998}, 38001,
  12972. {f: 4, c: 38003}, 38008, {f: 2, c: 38010}, {f: 5, c: 38016}, 38033, 38038,
  12973. 38040, 38087, 38095, {f: 2, c: 38099}, 38106, 38118, 38139, 38172, 38176,
  12974. 38183, 38195, 38205, 38211, 38216, 38219, 38229, 38234, 38240, 38254,
  12975. {f: 2, c: 38260}, {f: 7, c: 38264}, 38273, {f: 2, c: 38276},
  12976. {f: 2, c: 38279}, 38282, 38285, 38288, 38290, {f: 3, c: 38293},
  12977. {f: 8, c: 38297}, 38306, {f: 2, c: 38310}, 38314, {f: 4, c: 38318},
  12978. {f: 3, c: 38323}, {f: 2, c: 38327}, 38330, {f: 3, c: 38336},
  12979. {f: 2, c: 38340}, 38343, 38345, {f: 3, c: 38349}, {f: 3, c: 38353},
  12980. {f: 5, c: 38359}, 38365, {f: 2, c: 38367}, {f: 2, c: 38371},
  12981. {f: 2, c: 38374}, 38380, 38399, 38407, 38419, 38424, 38427, 38430, 38432,
  12982. {f: 7, c: 38435}, {f: 3, c: 38443}, {f: 2, c: 38447}, {f: 4, c: 38455},
  12983. 38462, 38465, 38467, 38474, {f: 2, c: 38478}, {f: 3, c: 38481},
  12984. {f: 2, c: 38486}, {f: 2, c: 38489}, 38492, 38494, 38496, {f: 2, c: 38501},
  12985. 38507, {f: 3, c: 38509}, 38513, {f: 4, c: 38521}, {f: 7, c: 38526}, 38535,
  12986. 38537, 38540, {f: 3, c: 38545}, 38550, 38554, {f: 10, c: 38557}, 38569,
  12987. {f: 5, c: 38571}, 38578, 38581, 38583, 38586, 38591, {f: 2, c: 38594},
  12988. 38600, {f: 2, c: 38602}, {f: 2, c: 38608}, {f: 2, c: 38611},
  12989. {f: 2, c: 38615}, 38618, {f: 3, c: 38621}, 38625, {f: 4, c: 38628},
  12990. {f: 4, c: 38635}, {f: 2, c: 38640}, {f: 2, c: 38644}, 38648, 38650,
  12991. {f: 2, c: 38652}, 38655, {f: 2, c: 38658}, 38661, {f: 3, c: 38666},
  12992. {f: 3, c: 38672}, {f: 2, c: 38676}, {f: 5, c: 38679}, 38685,
  12993. {f: 8, c: 38687}, {f: 2, c: 38696}, {f: 2, c: 38699}, {f: 2, c: 38702},
  12994. 38705, {f: 5, c: 38707}, {f: 3, c: 38714}, {f: 3, c: 38719}, 38723,
  12995. {f: 3, c: 38725}, {f: 8, c: 38729}, [12205, 38737], {f: 2, c: 38740},
  12996. {f: 2, c: 38743}, {f: 2, c: 38748}, 38751, {f: 2, c: 38755},
  12997. {f: 2, c: 38758}, {f: 9, c: 38762}, 38773, {f: 5, c: 38775},
  12998. {f: 8, c: 38781}, {f: 5, c: 38790}, 38796, 38798, 38800, 38803,
  12999. {f: 3, c: 38805}, {f: 7, c: 38809}, {f: 2, c: 38817}, {f: 2, c: 38820},
  13000. {f: 4, c: 38823}, 38828, 38830, {f: 2, c: 38832}, 38835, {f: 8, c: 38837},
  13001. {f: 5, c: 38846}, {f: 2, c: 38852}, {f: 2, c: 38855}, 38858,
  13002. {f: 6, c: 38861}, {f: 5, c: 38868}, {f: 2, c: 38874}, 38877,
  13003. {f: 7, c: 38879}, 38888, {f: 5, c: 38894}, 38900, {f: 8, c: 38903}, 38912,
  13004. 38916, 38921, 38923, 38925, {f: 3, c: 38932}, {f: 3, c: 38937},
  13005. {f: 4, c: 38941}, {f: 2, c: 38946}, 38949, {f: 6, c: 38951},
  13006. {f: 2, c: 38958}, {f: 6, c: 38961}, {f: 2, c: 38969}, 38972,
  13007. {f: 8, c: 38974}, {f: 5, c: 38983}, {f: 4, c: 38991}, {f: 3, c: 38997},
  13008. 39002, {f: 2, c: 39004}, {f: 3, c: 39007}, {f: 2, c: 39011}, 39014,
  13009. {f: 3, c: 39016}, {f: 2, c: 39021}, 39026, 39051, 39054, 39058, 39061,
  13010. 39065, 39075, {f: 5, c: 39081}, 39088, 39090, {f: 2, c: 39092},
  13011. {f: 5, c: 39095}, {f: 7, c: 39101}, 39109, 39111, {f: 5, c: 39113},
  13012. {f: 2, c: 39119}, 39124, {f: 2, c: 39126}, {f: 2, c: 39132}, 39137,
  13013. {f: 4, c: 39139}, 39148, 39150, {f: 2, c: 39152}, 39155, {f: 7, c: 39157},
  13014. {f: 4, c: 39167}, 39172, {f: 3, c: 39174}, 39179, {f: 2, c: 39182},
  13015. {f: 4, c: 39188}, {f: 2, c: 39193}, {f: 2, c: 39196}, {f: 2, c: 39199},
  13016. {f: 6, c: 39202}, {f: 5, c: 39209}, {f: 4, c: 39215}, {f: 3, c: 39220},
  13017. {f: 4, c: 39224}, 39229, {f: 3, c: 39232}, 39236, {f: 2, c: 39238},
  13018. {f: 4, c: 39245}, 39251, 39254, {f: 4, c: 39256}, 39261, {f: 3, c: 39263},
  13019. 39268, 39270, 39283, {f: 2, c: 39288}, 39291, 39294, {f: 2, c: 39298},
  13020. 39305, 39308, 39310, {f: 11, c: 39322}, {f: 2, c: 39334}, {f: 3, c: 39337},
  13021. {f: 2, c: 39343}, 39346, {f: 12, c: 39349}, {f: 14, c: 39362}, 39379,
  13022. {f: 2, c: 39382}, 39386, 39388, 39390, 39392, {f: 10, c: 39395},
  13023. {f: 3, c: 39406}, {f: 13, c: 39410}, 39424, {f: 3, c: 39426},
  13024. {f: 7, c: 39430}, {f: 6, c: 39440}, {f: 2, c: 39447}, {f: 17, c: 39450},
  13025. 39468, 39471, {f: 5, c: 39473}, {f: 5, c: 39481}, 39487, {f: 4, c: 39494},
  13026. {f: 2, c: 39499}, 39502, {f: 5, c: 39504}, 39510, {f: 2, c: 39512},
  13027. {f: 3, c: 39516}, {f: 2, c: 39520}, 39523, {f: 4, c: 39526}, 39531, 39538,
  13028. 39555, 39561, {f: 2, c: 39565}, {f: 2, c: 39572}, 39577, 39590,
  13029. {f: 6, c: 39593}, {f: 4, c: 39602}, 39609, 39611, {f: 3, c: 39613},
  13030. {f: 2, c: 39619}, {f: 5, c: 39622}, {f: 2, c: 39629}, 39632, 39639,
  13031. {f: 6, c: 39641}, 39648, {f: 4, c: 39650}, {f: 4, c: 39655}, 39660,
  13032. {f: 9, c: 39664}, 39674, {f: 7, c: 39676}, {f: 2, c: 39684}, 39687,
  13033. {f: 4, c: 39689}, 39694, {f: 3, c: 39696}, {f: 6, c: 39700},
  13034. {f: 4, c: 39707}, {f: 2, c: 39712}, 39716, 39718, 39720, {f: 4, c: 39722},
  13035. 39728, {f: 8, c: 39731}, {f: 4, c: 39741}, 39750, {f: 3, c: 39754}, 39760,
  13036. {f: 2, c: 39762}, {f: 3, c: 39765}, 39769, {f: 20, c: 39771},
  13037. {f: 4, c: 39792}, {f: 2, c: 39797}, {f: 9, c: 39800}, 39810,
  13038. {f: 10, c: 39812}, 39823, {f: 7, c: 39827}, {f: 2, c: 39835},
  13039. {f: 11, c: 39839}, 39852, {f: 17, c: 39855}, {f: 5, c: 39874}, 39880,
  13040. {f: 9, c: 39883}, 39893, {f: 4, c: 39895}, 39900, {f: 3, c: 39902}, 39907,
  13041. {f: 2, c: 39909}, 39913, {f: 4, c: 39916}, {f: 3, c: 39921},
  13042. {f: 8, c: 39925}, 39934, {f: 8, c: 39936}, {f: 3, c: 39946},
  13043. {f: 2, c: 39950}, 39953, {f: 12, c: 39956}, {f: 2, c: 39969}, 39972,
  13044. {f: 2, c: 39974}, {f: 3, c: 39978}, {f: 3, c: 39982}, 39988, 39990, 39992,
  13045. 39994, {f: 2, c: 39996}, {f: 6, c: 39999}, {f: 2, c: 40006},
  13046. {f: 8, c: 40010}, 40019, 40021, {f: 4, c: 40025}, 40030, {f: 7, c: 40032},
  13047. {f: 5, c: 40040}, {f: 10, c: 40046}, 40057, 40059, {f: 2, c: 40061}, 40064,
  13048. {f: 2, c: 40067}, {f: 2, c: 40073}, 40076, 40079, 40083, {f: 4, c: 40086},
  13049. 40093, 40106, 40108, 40111, 40121, {f: 5, c: 40126}, {f: 2, c: 40136},
  13050. {f: 2, c: 40145}, {f: 2, c: 40154}, {f: 2, c: 40160}, {f: 2, c: 40163},
  13051. {f: 3, c: 40166}, {f: 2, c: 40170}, {f: 6, c: 40173}, 40181,
  13052. {f: 15, c: 40183}, 40200, {f: 11, c: 40202}, {f: 5, c: 40214}, 40220,
  13053. 40222, {f: 3, c: 40224}, {f: 2, c: 40228}, 40231, {f: 6, c: 40233},
  13054. {f: 10, c: 40241}, {f: 3, c: 40252}, {f: 2, c: 40256}, {f: 14, c: 40259},
  13055. {f: 8, c: 40276}, {f: 2, c: 40286}, {f: 8, c: 40290}, 40299,
  13056. {f: 2, c: 40301}, {f: 2, c: 40304}, {f: 20, c: 40307}, 40328,
  13057. {f: 9, c: 40330}, {f: 4, c: 40340}, 40345, {f: 10, c: 40347},
  13058. {f: 3, c: 40358}, {f: 5, c: 40362}, {f: 4, c: 40368}, {f: 6, c: 40373},
  13059. {f: 3, c: 40381}, 40385, 40387, {f: 14, c: 40389}, {f: 3, c: 40404}, 40408,
  13060. {f: 10, c: 40411}, {f: 8, c: 40423}, {f: 2, c: 40432}, {f: 4, c: 40436},
  13061. {f: 17, c: 40443}, {f: 8, c: 40461}, {f: 4, c: 40470}, 40476, 40484, 40487,
  13062. 40494, 40496, 40500, {f: 2, c: 40507}, 40512, 40525, 40528,
  13063. {f: 3, c: 40530}, 40534, 40537, 40541, {f: 4, c: 40543}, 40549,
  13064. {f: 2, c: 40558}, 40562, 40564, {f: 3, c: 40566}, 40571, {f: 2, c: 40576},
  13065. {f: 4, c: 40579}, {f: 2, c: 40585}, {f: 6, c: 40588}, {f: 3, c: 40596},
  13066. {f: 5, c: 40600}, 40606, {f: 5, c: 40608}, {f: 2, c: 40615},
  13067. {f: 5, c: 40618}, {f: 4, c: 40624}, {f: 2, c: 40630}, {f: 2, c: 40633},
  13068. 40636, {f: 4, c: 40639}, [12232, 40643], {f: 4, c: 40645},
  13069. {f: 2, c: 40650}, 40656, {f: 2, c: 40658}, {f: 3, c: 40661},
  13070. {f: 2, c: 40665}, 40673, {f: 2, c: 40675}, 40678, {f: 4, c: 40683},
  13071. {f: 2, c: 40688}, 40691, {f: 2, c: 40693}, 40696, 40698, {f: 9, c: 40704},
  13072. 40714, 40716, 40719, {f: 2, c: 40721}, 40724, 40726, 40728,
  13073. {f: 6, c: 40730}, 40737, {f: 9, c: 40739}, {f: 2, c: 40749},
  13074. {f: 7, c: 40752}, 40760, 40762, 40764, {f: 5, c: 40767}, {f: 5, c: 40773},
  13075. {f: 3, c: 40780}, 40787, {f: 4, c: 40789}, {f: 2, c: 40794},
  13076. {f: 2, c: 40797}, 40802, {f: 2, c: 40804}, {f: 3, c: 40807}, 40811,
  13077. {f: 5, c: 40813}, {f: 4, c: 40819}, {f: 7, c: 40824}, {f: 2, c: 40833},
  13078. {f: 2, c: 40846}, {f: 3, c: 40849}, {f: 3, c: 40854}, {f: 2, c: 40861},
  13079. {f: 5, c: 40865}, 63788, {f: 3, c: 64013}, 64017, {f: 2, c: 64019}, 64024,
  13080. {f: 3, c: 64031}, {f: 2, c: 64035}, {f: 3, c: 64039}, 11905,
  13081. [59414, 131207], [59415, 131209], [59416, 131276], 11908, 13427, 13383,
  13082. 11912, 11915, 59422, 13726, 13850, 13838, 11916, 11927, 14702, 14616,
  13083. 59430, 14799, 14815, 14963, 14800, {f: 2, c: 59435}, 15182, 15470, 15584,
  13084. 11943, [59441, 136663], 59442, 11946, 16470, 16735, 11950, 17207, 11955,
  13085. {f: 2, c: 11958}, [59451, 141711], 17329, 17324, 11963, 17373, 17622,
  13086. 18017, 17996, [59459, 132361], 18211, 18217, 18300, 18317, 11978, 18759,
  13087. 18810, 18813, {f: 2, c: 18818}, {f: 2, c: 18821}, 18847, 18843, 18871,
  13088. 18870, [59476, 133533], [59477, 147966], 19619, {f: 3, c: 19615}, 19575,
  13089. 19618, {f: 7, c: 19731}, 19886, 59492, {s: 226}, 8364, 165, 0, 0, 12351,
  13090. {s: 17}, 12436, {s: 14}, 12535, 12537, 12536, 12538, 0, {f: 3, c: 12339},
  13091. {f: 3, c: 12344}, {f: 3, c: 12586}, {f: 24, c: 12704}, 11904,
  13092. {f: 2, c: 11906}, {f: 3, c: 11909}, {f: 2, c: 11913}, {f: 10, c: 11917},
  13093. {f: 2, c: 11928}, {f: 12, c: 11931}, {f: 2, c: 11944}, {f: 3, c: 11947},
  13094. {f: 4, c: 11951}, {f: 2, c: 11956}, {f: 3, c: 11960}, {f: 14, c: 11964},
  13095. {f: 41, c: 11979}, {f: 71, c: 13312}, {f: 43, c: 13384},
  13096. {f: 298, c: 13428}, {f: 111, c: 13727}, {f: 11, c: 13839},
  13097. {f: 765, c: 13851}, {f: 85, c: 14617}, {f: 96, c: 14703},
  13098. {f: 14, c: 14801}, {f: 147, c: 14816}, {f: 218, c: 14964},
  13099. {f: 287, c: 15183}, {f: 113, c: 15471}, {f: 885, c: 15585},
  13100. {f: 264, c: 16471}, {f: 471, c: 16736}, {f: 116, c: 17208},
  13101. {f: 4, c: 17325}, {f: 43, c: 17330}, {f: 248, c: 17374},
  13102. {f: 373, c: 17623}, {f: 20, c: 17997}, {f: 193, c: 18018},
  13103. {f: 5, c: 18212}, {f: 82, c: 18218}, {f: 16, c: 18301}, {f: 441, c: 18318},
  13104. {f: 50, c: 18760}, {f: 2, c: 18811}, {f: 4, c: 18814}, 18820,
  13105. {f: 20, c: 18823}, {f: 3, c: 18844}, {f: 22, c: 18848}, {f: 703, c: 18872},
  13106. {f: 39, c: 19576}, {f: 111, c: 19620}, {f: 148, c: 19738},
  13107. {f: 7, c: 19887}]
  13108. };
  13109. var ARCFourCipher = (function ARCFourCipherClosure() {
  13110. function ARCFourCipher(key) {
  13111. this.a = 0;
  13112. this.b = 0;
  13113. var s = new Uint8Array(256);
  13114. var i, j = 0, tmp, keyLength = key.length;
  13115. for (i = 0; i < 256; ++i)
  13116. s[i] = i;
  13117. for (i = 0; i < 256; ++i) {
  13118. tmp = s[i];
  13119. j = (j + tmp + key[i % keyLength]) & 0xFF;
  13120. s[i] = s[j];
  13121. s[j] = tmp;
  13122. }
  13123. this.s = s;
  13124. }
  13125. ARCFourCipher.prototype = {
  13126. encryptBlock: function ARCFourCipher_encryptBlock(data) {
  13127. var i, n = data.length, tmp, tmp2;
  13128. var a = this.a, b = this.b, s = this.s;
  13129. var output = new Uint8Array(n);
  13130. for (i = 0; i < n; ++i) {
  13131. a = (a + 1) & 0xFF;
  13132. tmp = s[a];
  13133. b = (b + tmp) & 0xFF;
  13134. tmp2 = s[b];
  13135. s[a] = tmp2;
  13136. s[b] = tmp;
  13137. output[i] = data[i] ^ s[(tmp + tmp2) & 0xFF];
  13138. }
  13139. this.a = a;
  13140. this.b = b;
  13141. return output;
  13142. }
  13143. };
  13144. ARCFourCipher.prototype.decryptBlock = ARCFourCipher.prototype.encryptBlock;
  13145. return ARCFourCipher;
  13146. })();
  13147. var calculateMD5 = (function calculateMD5Closure() {
  13148. var r = new Uint8Array([
  13149. 7, 12, 17, 22, 7, 12, 17, 22, 7, 12, 17, 22, 7, 12, 17, 22,
  13150. 5, 9, 14, 20, 5, 9, 14, 20, 5, 9, 14, 20, 5, 9, 14, 20,
  13151. 4, 11, 16, 23, 4, 11, 16, 23, 4, 11, 16, 23, 4, 11, 16, 23,
  13152. 6, 10, 15, 21, 6, 10, 15, 21, 6, 10, 15, 21, 6, 10, 15, 21]);
  13153. var k = new Int32Array([
  13154. -680876936, -389564586, 606105819, -1044525330, -176418897, 1200080426,
  13155. -1473231341, -45705983, 1770035416, -1958414417, -42063, -1990404162,
  13156. 1804603682, -40341101, -1502002290, 1236535329, -165796510, -1069501632,
  13157. 643717713, -373897302, -701558691, 38016083, -660478335, -405537848,
  13158. 568446438, -1019803690, -187363961, 1163531501, -1444681467, -51403784,
  13159. 1735328473, -1926607734, -378558, -2022574463, 1839030562, -35309556,
  13160. -1530992060, 1272893353, -155497632, -1094730640, 681279174, -358537222,
  13161. -722521979, 76029189, -640364487, -421815835, 530742520, -995338651,
  13162. -198630844, 1126891415, -1416354905, -57434055, 1700485571, -1894986606,
  13163. -1051523, -2054922799, 1873313359, -30611744, -1560198380, 1309151649,
  13164. -145523070, -1120210379, 718787259, -343485551]);
  13165. function hash(data, offset, length) {
  13166. var h0 = 1732584193, h1 = -271733879, h2 = -1732584194, h3 = 271733878;
  13167. // pre-processing
  13168. var paddedLength = (length + 72) & ~63; // data + 9 extra bytes
  13169. var padded = new Uint8Array(paddedLength);
  13170. var i, j, n;
  13171. for (i = 0; i < length; ++i)
  13172. padded[i] = data[offset++];
  13173. padded[i++] = 0x80;
  13174. n = paddedLength - 8;
  13175. while (i < n)
  13176. padded[i++] = 0;
  13177. padded[i++] = (length << 3) & 0xFF;
  13178. padded[i++] = (length >> 5) & 0xFF;
  13179. padded[i++] = (length >> 13) & 0xFF;
  13180. padded[i++] = (length >> 21) & 0xFF;
  13181. padded[i++] = (length >>> 29) & 0xFF;
  13182. padded[i++] = 0;
  13183. padded[i++] = 0;
  13184. padded[i++] = 0;
  13185. // chunking
  13186. // TODO ArrayBuffer ?
  13187. var w = new Int32Array(16);
  13188. for (i = 0; i < paddedLength;) {
  13189. for (j = 0; j < 16; ++j, i += 4) {
  13190. w[j] = (padded[i] | (padded[i + 1] << 8) |
  13191. (padded[i + 2] << 16) | (padded[i + 3] << 24));
  13192. }
  13193. var a = h0, b = h1, c = h2, d = h3, f, g;
  13194. for (j = 0; j < 64; ++j) {
  13195. if (j < 16) {
  13196. f = (b & c) | ((~b) & d);
  13197. g = j;
  13198. } else if (j < 32) {
  13199. f = (d & b) | ((~d) & c);
  13200. g = (5 * j + 1) & 15;
  13201. } else if (j < 48) {
  13202. f = b ^ c ^ d;
  13203. g = (3 * j + 5) & 15;
  13204. } else {
  13205. f = c ^ (b | (~d));
  13206. g = (7 * j) & 15;
  13207. }
  13208. var tmp = d, rotateArg = (a + f + k[j] + w[g]) | 0, rotate = r[j];
  13209. d = c;
  13210. c = b;
  13211. b = (b + ((rotateArg << rotate) | (rotateArg >>> (32 - rotate)))) | 0;
  13212. a = tmp;
  13213. }
  13214. h0 = (h0 + a) | 0;
  13215. h1 = (h1 + b) | 0;
  13216. h2 = (h2 + c) | 0;
  13217. h3 = (h3 + d) | 0;
  13218. }
  13219. return new Uint8Array([
  13220. h0 & 0xFF, (h0 >> 8) & 0xFF, (h0 >> 16) & 0xFF, (h0 >>> 24) & 0xFF,
  13221. h1 & 0xFF, (h1 >> 8) & 0xFF, (h1 >> 16) & 0xFF, (h1 >>> 24) & 0xFF,
  13222. h2 & 0xFF, (h2 >> 8) & 0xFF, (h2 >> 16) & 0xFF, (h2 >>> 24) & 0xFF,
  13223. h3 & 0xFF, (h3 >> 8) & 0xFF, (h3 >> 16) & 0xFF, (h3 >>> 24) & 0xFF
  13224. ]);
  13225. }
  13226. return hash;
  13227. })();
  13228. var NullCipher = (function NullCipherClosure() {
  13229. function NullCipher() {
  13230. }
  13231. NullCipher.prototype = {
  13232. decryptBlock: function NullCipher_decryptBlock(data) {
  13233. return data;
  13234. }
  13235. };
  13236. return NullCipher;
  13237. })();
  13238. var AES128Cipher = (function AES128CipherClosure() {
  13239. var rcon = new Uint8Array([
  13240. 0x8d, 0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80, 0x1b, 0x36, 0x6c,
  13241. 0xd8, 0xab, 0x4d, 0x9a, 0x2f, 0x5e, 0xbc, 0x63, 0xc6, 0x97, 0x35, 0x6a,
  13242. 0xd4, 0xb3, 0x7d, 0xfa, 0xef, 0xc5, 0x91, 0x39, 0x72, 0xe4, 0xd3, 0xbd,
  13243. 0x61, 0xc2, 0x9f, 0x25, 0x4a, 0x94, 0x33, 0x66, 0xcc, 0x83, 0x1d, 0x3a,
  13244. 0x74, 0xe8, 0xcb, 0x8d, 0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80,
  13245. 0x1b, 0x36, 0x6c, 0xd8, 0xab, 0x4d, 0x9a, 0x2f, 0x5e, 0xbc, 0x63, 0xc6,
  13246. 0x97, 0x35, 0x6a, 0xd4, 0xb3, 0x7d, 0xfa, 0xef, 0xc5, 0x91, 0x39, 0x72,
  13247. 0xe4, 0xd3, 0xbd, 0x61, 0xc2, 0x9f, 0x25, 0x4a, 0x94, 0x33, 0x66, 0xcc,
  13248. 0x83, 0x1d, 0x3a, 0x74, 0xe8, 0xcb, 0x8d, 0x01, 0x02, 0x04, 0x08, 0x10,
  13249. 0x20, 0x40, 0x80, 0x1b, 0x36, 0x6c, 0xd8, 0xab, 0x4d, 0x9a, 0x2f, 0x5e,
  13250. 0xbc, 0x63, 0xc6, 0x97, 0x35, 0x6a, 0xd4, 0xb3, 0x7d, 0xfa, 0xef, 0xc5,
  13251. 0x91, 0x39, 0x72, 0xe4, 0xd3, 0xbd, 0x61, 0xc2, 0x9f, 0x25, 0x4a, 0x94,
  13252. 0x33, 0x66, 0xcc, 0x83, 0x1d, 0x3a, 0x74, 0xe8, 0xcb, 0x8d, 0x01, 0x02,
  13253. 0x04, 0x08, 0x10, 0x20, 0x40, 0x80, 0x1b, 0x36, 0x6c, 0xd8, 0xab, 0x4d,
  13254. 0x9a, 0x2f, 0x5e, 0xbc, 0x63, 0xc6, 0x97, 0x35, 0x6a, 0xd4, 0xb3, 0x7d,
  13255. 0xfa, 0xef, 0xc5, 0x91, 0x39, 0x72, 0xe4, 0xd3, 0xbd, 0x61, 0xc2, 0x9f,
  13256. 0x25, 0x4a, 0x94, 0x33, 0x66, 0xcc, 0x83, 0x1d, 0x3a, 0x74, 0xe8, 0xcb,
  13257. 0x8d, 0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80, 0x1b, 0x36, 0x6c,
  13258. 0xd8, 0xab, 0x4d, 0x9a, 0x2f, 0x5e, 0xbc, 0x63, 0xc6, 0x97, 0x35, 0x6a,
  13259. 0xd4, 0xb3, 0x7d, 0xfa, 0xef, 0xc5, 0x91, 0x39, 0x72, 0xe4, 0xd3, 0xbd,
  13260. 0x61, 0xc2, 0x9f, 0x25, 0x4a, 0x94, 0x33, 0x66, 0xcc, 0x83, 0x1d, 0x3a,
  13261. 0x74, 0xe8, 0xcb, 0x8d]);
  13262. var s = new Uint8Array([
  13263. 0x63, 0x7c, 0x77, 0x7b, 0xf2, 0x6b, 0x6f, 0xc5, 0x30, 0x01, 0x67, 0x2b,
  13264. 0xfe, 0xd7, 0xab, 0x76, 0xca, 0x82, 0xc9, 0x7d, 0xfa, 0x59, 0x47, 0xf0,
  13265. 0xad, 0xd4, 0xa2, 0xaf, 0x9c, 0xa4, 0x72, 0xc0, 0xb7, 0xfd, 0x93, 0x26,
  13266. 0x36, 0x3f, 0xf7, 0xcc, 0x34, 0xa5, 0xe5, 0xf1, 0x71, 0xd8, 0x31, 0x15,
  13267. 0x04, 0xc7, 0x23, 0xc3, 0x18, 0x96, 0x05, 0x9a, 0x07, 0x12, 0x80, 0xe2,
  13268. 0xeb, 0x27, 0xb2, 0x75, 0x09, 0x83, 0x2c, 0x1a, 0x1b, 0x6e, 0x5a, 0xa0,
  13269. 0x52, 0x3b, 0xd6, 0xb3, 0x29, 0xe3, 0x2f, 0x84, 0x53, 0xd1, 0x00, 0xed,
  13270. 0x20, 0xfc, 0xb1, 0x5b, 0x6a, 0xcb, 0xbe, 0x39, 0x4a, 0x4c, 0x58, 0xcf,
  13271. 0xd0, 0xef, 0xaa, 0xfb, 0x43, 0x4d, 0x33, 0x85, 0x45, 0xf9, 0x02, 0x7f,
  13272. 0x50, 0x3c, 0x9f, 0xa8, 0x51, 0xa3, 0x40, 0x8f, 0x92, 0x9d, 0x38, 0xf5,
  13273. 0xbc, 0xb6, 0xda, 0x21, 0x10, 0xff, 0xf3, 0xd2, 0xcd, 0x0c, 0x13, 0xec,
  13274. 0x5f, 0x97, 0x44, 0x17, 0xc4, 0xa7, 0x7e, 0x3d, 0x64, 0x5d, 0x19, 0x73,
  13275. 0x60, 0x81, 0x4f, 0xdc, 0x22, 0x2a, 0x90, 0x88, 0x46, 0xee, 0xb8, 0x14,
  13276. 0xde, 0x5e, 0x0b, 0xdb, 0xe0, 0x32, 0x3a, 0x0a, 0x49, 0x06, 0x24, 0x5c,
  13277. 0xc2, 0xd3, 0xac, 0x62, 0x91, 0x95, 0xe4, 0x79, 0xe7, 0xc8, 0x37, 0x6d,
  13278. 0x8d, 0xd5, 0x4e, 0xa9, 0x6c, 0x56, 0xf4, 0xea, 0x65, 0x7a, 0xae, 0x08,
  13279. 0xba, 0x78, 0x25, 0x2e, 0x1c, 0xa6, 0xb4, 0xc6, 0xe8, 0xdd, 0x74, 0x1f,
  13280. 0x4b, 0xbd, 0x8b, 0x8a, 0x70, 0x3e, 0xb5, 0x66, 0x48, 0x03, 0xf6, 0x0e,
  13281. 0x61, 0x35, 0x57, 0xb9, 0x86, 0xc1, 0x1d, 0x9e, 0xe1, 0xf8, 0x98, 0x11,
  13282. 0x69, 0xd9, 0x8e, 0x94, 0x9b, 0x1e, 0x87, 0xe9, 0xce, 0x55, 0x28, 0xdf,
  13283. 0x8c, 0xa1, 0x89, 0x0d, 0xbf, 0xe6, 0x42, 0x68, 0x41, 0x99, 0x2d, 0x0f,
  13284. 0xb0, 0x54, 0xbb, 0x16]);
  13285. var inv_s = new Uint8Array([
  13286. 0x52, 0x09, 0x6a, 0xd5, 0x30, 0x36, 0xa5, 0x38, 0xbf, 0x40, 0xa3, 0x9e,
  13287. 0x81, 0xf3, 0xd7, 0xfb, 0x7c, 0xe3, 0x39, 0x82, 0x9b, 0x2f, 0xff, 0x87,
  13288. 0x34, 0x8e, 0x43, 0x44, 0xc4, 0xde, 0xe9, 0xcb, 0x54, 0x7b, 0x94, 0x32,
  13289. 0xa6, 0xc2, 0x23, 0x3d, 0xee, 0x4c, 0x95, 0x0b, 0x42, 0xfa, 0xc3, 0x4e,
  13290. 0x08, 0x2e, 0xa1, 0x66, 0x28, 0xd9, 0x24, 0xb2, 0x76, 0x5b, 0xa2, 0x49,
  13291. 0x6d, 0x8b, 0xd1, 0x25, 0x72, 0xf8, 0xf6, 0x64, 0x86, 0x68, 0x98, 0x16,
  13292. 0xd4, 0xa4, 0x5c, 0xcc, 0x5d, 0x65, 0xb6, 0x92, 0x6c, 0x70, 0x48, 0x50,
  13293. 0xfd, 0xed, 0xb9, 0xda, 0x5e, 0x15, 0x46, 0x57, 0xa7, 0x8d, 0x9d, 0x84,
  13294. 0x90, 0xd8, 0xab, 0x00, 0x8c, 0xbc, 0xd3, 0x0a, 0xf7, 0xe4, 0x58, 0x05,
  13295. 0xb8, 0xb3, 0x45, 0x06, 0xd0, 0x2c, 0x1e, 0x8f, 0xca, 0x3f, 0x0f, 0x02,
  13296. 0xc1, 0xaf, 0xbd, 0x03, 0x01, 0x13, 0x8a, 0x6b, 0x3a, 0x91, 0x11, 0x41,
  13297. 0x4f, 0x67, 0xdc, 0xea, 0x97, 0xf2, 0xcf, 0xce, 0xf0, 0xb4, 0xe6, 0x73,
  13298. 0x96, 0xac, 0x74, 0x22, 0xe7, 0xad, 0x35, 0x85, 0xe2, 0xf9, 0x37, 0xe8,
  13299. 0x1c, 0x75, 0xdf, 0x6e, 0x47, 0xf1, 0x1a, 0x71, 0x1d, 0x29, 0xc5, 0x89,
  13300. 0x6f, 0xb7, 0x62, 0x0e, 0xaa, 0x18, 0xbe, 0x1b, 0xfc, 0x56, 0x3e, 0x4b,
  13301. 0xc6, 0xd2, 0x79, 0x20, 0x9a, 0xdb, 0xc0, 0xfe, 0x78, 0xcd, 0x5a, 0xf4,
  13302. 0x1f, 0xdd, 0xa8, 0x33, 0x88, 0x07, 0xc7, 0x31, 0xb1, 0x12, 0x10, 0x59,
  13303. 0x27, 0x80, 0xec, 0x5f, 0x60, 0x51, 0x7f, 0xa9, 0x19, 0xb5, 0x4a, 0x0d,
  13304. 0x2d, 0xe5, 0x7a, 0x9f, 0x93, 0xc9, 0x9c, 0xef, 0xa0, 0xe0, 0x3b, 0x4d,
  13305. 0xae, 0x2a, 0xf5, 0xb0, 0xc8, 0xeb, 0xbb, 0x3c, 0x83, 0x53, 0x99, 0x61,
  13306. 0x17, 0x2b, 0x04, 0x7e, 0xba, 0x77, 0xd6, 0x26, 0xe1, 0x69, 0x14, 0x63,
  13307. 0x55, 0x21, 0x0c, 0x7d]);
  13308. var mix = new Uint32Array([
  13309. 0x00000000, 0x0e090d0b, 0x1c121a16, 0x121b171d, 0x3824342c, 0x362d3927,
  13310. 0x24362e3a, 0x2a3f2331, 0x70486858, 0x7e416553, 0x6c5a724e, 0x62537f45,
  13311. 0x486c5c74, 0x4665517f, 0x547e4662, 0x5a774b69, 0xe090d0b0, 0xee99ddbb,
  13312. 0xfc82caa6, 0xf28bc7ad, 0xd8b4e49c, 0xd6bde997, 0xc4a6fe8a, 0xcaaff381,
  13313. 0x90d8b8e8, 0x9ed1b5e3, 0x8ccaa2fe, 0x82c3aff5, 0xa8fc8cc4, 0xa6f581cf,
  13314. 0xb4ee96d2, 0xbae79bd9, 0xdb3bbb7b, 0xd532b670, 0xc729a16d, 0xc920ac66,
  13315. 0xe31f8f57, 0xed16825c, 0xff0d9541, 0xf104984a, 0xab73d323, 0xa57ade28,
  13316. 0xb761c935, 0xb968c43e, 0x9357e70f, 0x9d5eea04, 0x8f45fd19, 0x814cf012,
  13317. 0x3bab6bcb, 0x35a266c0, 0x27b971dd, 0x29b07cd6, 0x038f5fe7, 0x0d8652ec,
  13318. 0x1f9d45f1, 0x119448fa, 0x4be30393, 0x45ea0e98, 0x57f11985, 0x59f8148e,
  13319. 0x73c737bf, 0x7dce3ab4, 0x6fd52da9, 0x61dc20a2, 0xad766df6, 0xa37f60fd,
  13320. 0xb16477e0, 0xbf6d7aeb, 0x955259da, 0x9b5b54d1, 0x894043cc, 0x87494ec7,
  13321. 0xdd3e05ae, 0xd33708a5, 0xc12c1fb8, 0xcf2512b3, 0xe51a3182, 0xeb133c89,
  13322. 0xf9082b94, 0xf701269f, 0x4de6bd46, 0x43efb04d, 0x51f4a750, 0x5ffdaa5b,
  13323. 0x75c2896a, 0x7bcb8461, 0x69d0937c, 0x67d99e77, 0x3daed51e, 0x33a7d815,
  13324. 0x21bccf08, 0x2fb5c203, 0x058ae132, 0x0b83ec39, 0x1998fb24, 0x1791f62f,
  13325. 0x764dd68d, 0x7844db86, 0x6a5fcc9b, 0x6456c190, 0x4e69e2a1, 0x4060efaa,
  13326. 0x527bf8b7, 0x5c72f5bc, 0x0605bed5, 0x080cb3de, 0x1a17a4c3, 0x141ea9c8,
  13327. 0x3e218af9, 0x302887f2, 0x223390ef, 0x2c3a9de4, 0x96dd063d, 0x98d40b36,
  13328. 0x8acf1c2b, 0x84c61120, 0xaef93211, 0xa0f03f1a, 0xb2eb2807, 0xbce2250c,
  13329. 0xe6956e65, 0xe89c636e, 0xfa877473, 0xf48e7978, 0xdeb15a49, 0xd0b85742,
  13330. 0xc2a3405f, 0xccaa4d54, 0x41ecdaf7, 0x4fe5d7fc, 0x5dfec0e1, 0x53f7cdea,
  13331. 0x79c8eedb, 0x77c1e3d0, 0x65daf4cd, 0x6bd3f9c6, 0x31a4b2af, 0x3fadbfa4,
  13332. 0x2db6a8b9, 0x23bfa5b2, 0x09808683, 0x07898b88, 0x15929c95, 0x1b9b919e,
  13333. 0xa17c0a47, 0xaf75074c, 0xbd6e1051, 0xb3671d5a, 0x99583e6b, 0x97513360,
  13334. 0x854a247d, 0x8b432976, 0xd134621f, 0xdf3d6f14, 0xcd267809, 0xc32f7502,
  13335. 0xe9105633, 0xe7195b38, 0xf5024c25, 0xfb0b412e, 0x9ad7618c, 0x94de6c87,
  13336. 0x86c57b9a, 0x88cc7691, 0xa2f355a0, 0xacfa58ab, 0xbee14fb6, 0xb0e842bd,
  13337. 0xea9f09d4, 0xe49604df, 0xf68d13c2, 0xf8841ec9, 0xd2bb3df8, 0xdcb230f3,
  13338. 0xcea927ee, 0xc0a02ae5, 0x7a47b13c, 0x744ebc37, 0x6655ab2a, 0x685ca621,
  13339. 0x42638510, 0x4c6a881b, 0x5e719f06, 0x5078920d, 0x0a0fd964, 0x0406d46f,
  13340. 0x161dc372, 0x1814ce79, 0x322bed48, 0x3c22e043, 0x2e39f75e, 0x2030fa55,
  13341. 0xec9ab701, 0xe293ba0a, 0xf088ad17, 0xfe81a01c, 0xd4be832d, 0xdab78e26,
  13342. 0xc8ac993b, 0xc6a59430, 0x9cd2df59, 0x92dbd252, 0x80c0c54f, 0x8ec9c844,
  13343. 0xa4f6eb75, 0xaaffe67e, 0xb8e4f163, 0xb6edfc68, 0x0c0a67b1, 0x02036aba,
  13344. 0x10187da7, 0x1e1170ac, 0x342e539d, 0x3a275e96, 0x283c498b, 0x26354480,
  13345. 0x7c420fe9, 0x724b02e2, 0x605015ff, 0x6e5918f4, 0x44663bc5, 0x4a6f36ce,
  13346. 0x587421d3, 0x567d2cd8, 0x37a10c7a, 0x39a80171, 0x2bb3166c, 0x25ba1b67,
  13347. 0x0f853856, 0x018c355d, 0x13972240, 0x1d9e2f4b, 0x47e96422, 0x49e06929,
  13348. 0x5bfb7e34, 0x55f2733f, 0x7fcd500e, 0x71c45d05, 0x63df4a18, 0x6dd64713,
  13349. 0xd731dcca, 0xd938d1c1, 0xcb23c6dc, 0xc52acbd7, 0xef15e8e6, 0xe11ce5ed,
  13350. 0xf307f2f0, 0xfd0efffb, 0xa779b492, 0xa970b999, 0xbb6bae84, 0xb562a38f,
  13351. 0x9f5d80be, 0x91548db5, 0x834f9aa8, 0x8d4697a3]);
  13352. function expandKey128(cipherKey) {
  13353. var b = 176, result = new Uint8Array(b);
  13354. result.set(cipherKey);
  13355. for (var j = 16, i = 1; j < b; ++i) {
  13356. // RotWord
  13357. var t1 = result[j - 3], t2 = result[j - 2],
  13358. t3 = result[j - 1], t4 = result[j - 4];
  13359. // SubWord
  13360. t1 = s[t1]; t2 = s[t2]; t3 = s[t3]; t4 = s[t4];
  13361. // Rcon
  13362. t1 = t1 ^ rcon[i];
  13363. for (var n = 0; n < 4; ++n) {
  13364. result[j] = (t1 ^= result[j - 16]); j++;
  13365. result[j] = (t2 ^= result[j - 16]); j++;
  13366. result[j] = (t3 ^= result[j - 16]); j++;
  13367. result[j] = (t4 ^= result[j - 16]); j++;
  13368. }
  13369. }
  13370. return result;
  13371. }
  13372. function decrypt128(input, key) {
  13373. var state = new Uint8Array(16);
  13374. state.set(input);
  13375. var i, j, k;
  13376. var t, u, v;
  13377. // AddRoundKey
  13378. for (j = 0, k = 160; j < 16; ++j, ++k)
  13379. state[j] ^= key[k];
  13380. for (i = 9; i >= 1; --i) {
  13381. // InvShiftRows
  13382. t = state[13]; state[13] = state[9]; state[9] = state[5];
  13383. state[5] = state[1]; state[1] = t;
  13384. t = state[14]; u = state[10]; state[14] = state[6];
  13385. state[10] = state[2]; state[6] = t; state[2] = u;
  13386. t = state[15]; u = state[11]; v = state[7]; state[15] = state[3];
  13387. state[11] = t; state[7] = u; state[3] = v;
  13388. // InvSubBytes
  13389. for (j = 0; j < 16; ++j)
  13390. state[j] = inv_s[state[j]];
  13391. // AddRoundKey
  13392. for (j = 0, k = i * 16; j < 16; ++j, ++k)
  13393. state[j] ^= key[k];
  13394. // InvMixColumns
  13395. for (j = 0; j < 16; j += 4) {
  13396. var s0 = mix[state[j]], s1 = mix[state[j + 1]],
  13397. s2 = mix[state[j + 2]], s3 = mix[state[j + 3]];
  13398. t = (s0 ^ (s1 >>> 8) ^ (s1 << 24) ^ (s2 >>> 16) ^ (s2 << 16) ^
  13399. (s3 >>> 24) ^ (s3 << 8));
  13400. state[j] = (t >>> 24) & 0xFF;
  13401. state[j + 1] = (t >> 16) & 0xFF;
  13402. state[j + 2] = (t >> 8) & 0xFF;
  13403. state[j + 3] = t & 0xFF;
  13404. }
  13405. }
  13406. // InvShiftRows
  13407. t = state[13]; state[13] = state[9]; state[9] = state[5];
  13408. state[5] = state[1]; state[1] = t;
  13409. t = state[14]; u = state[10]; state[14] = state[6];
  13410. state[10] = state[2]; state[6] = t; state[2] = u;
  13411. t = state[15]; u = state[11]; v = state[7]; state[15] = state[3];
  13412. state[11] = t; state[7] = u; state[3] = v;
  13413. for (j = 0; j < 16; ++j) {
  13414. // InvSubBytes
  13415. state[j] = inv_s[state[j]];
  13416. // AddRoundKey
  13417. state[j] ^= key[j];
  13418. }
  13419. return state;
  13420. }
  13421. function AES128Cipher(key) {
  13422. this.key = expandKey128(key);
  13423. this.buffer = new Uint8Array(16);
  13424. this.bufferPosition = 0;
  13425. }
  13426. function decryptBlock2(data, finalize) {
  13427. var i, j, ii, sourceLength = data.length,
  13428. buffer = this.buffer, bufferLength = this.bufferPosition,
  13429. result = [], iv = this.iv;
  13430. for (i = 0; i < sourceLength; ++i) {
  13431. buffer[bufferLength] = data[i];
  13432. ++bufferLength;
  13433. if (bufferLength < 16)
  13434. continue;
  13435. // buffer is full, decrypting
  13436. var plain = decrypt128(buffer, this.key);
  13437. // xor-ing the IV vector to get plain text
  13438. for (j = 0; j < 16; ++j)
  13439. plain[j] ^= iv[j];
  13440. iv = buffer;
  13441. result.push(plain);
  13442. buffer = new Uint8Array(16);
  13443. bufferLength = 0;
  13444. }
  13445. // saving incomplete buffer
  13446. this.buffer = buffer;
  13447. this.bufferLength = bufferLength;
  13448. this.iv = iv;
  13449. if (result.length === 0) {
  13450. return new Uint8Array([]);
  13451. }
  13452. // combining plain text blocks into one
  13453. var outputLength = 16 * result.length;
  13454. if (finalize) {
  13455. // undo a padding that is described in RFC 2898
  13456. var lastBlock = result[result.length - 1];
  13457. outputLength -= lastBlock[15];
  13458. result[result.length - 1] = lastBlock.subarray(0, 16 - lastBlock[15]);
  13459. }
  13460. var output = new Uint8Array(outputLength);
  13461. for (i = 0, j = 0, ii = result.length; i < ii; ++i, j += 16)
  13462. output.set(result[i], j);
  13463. return output;
  13464. }
  13465. AES128Cipher.prototype = {
  13466. decryptBlock: function AES128Cipher_decryptBlock(data, finalize) {
  13467. var i, sourceLength = data.length;
  13468. var buffer = this.buffer, bufferLength = this.bufferPosition;
  13469. // waiting for IV values -- they are at the start of the stream
  13470. for (i = 0; bufferLength < 16 && i < sourceLength; ++i, ++bufferLength)
  13471. buffer[bufferLength] = data[i];
  13472. if (bufferLength < 16) {
  13473. // need more data
  13474. this.bufferLength = bufferLength;
  13475. return new Uint8Array([]);
  13476. }
  13477. this.iv = buffer;
  13478. this.buffer = new Uint8Array(16);
  13479. this.bufferLength = 0;
  13480. // starting decryption
  13481. this.decryptBlock = decryptBlock2;
  13482. return this.decryptBlock(data.subarray(16), finalize);
  13483. }
  13484. };
  13485. return AES128Cipher;
  13486. })();
  13487. var CipherTransform = (function CipherTransformClosure() {
  13488. function CipherTransform(stringCipherConstructor, streamCipherConstructor) {
  13489. this.stringCipherConstructor = stringCipherConstructor;
  13490. this.streamCipherConstructor = streamCipherConstructor;
  13491. }
  13492. CipherTransform.prototype = {
  13493. createStream: function CipherTransform_createStream(stream) {
  13494. var cipher = new this.streamCipherConstructor();
  13495. return new DecryptStream(stream,
  13496. function cipherTransformDecryptStream(data, finalize) {
  13497. return cipher.decryptBlock(data, finalize);
  13498. }
  13499. );
  13500. },
  13501. decryptString: function CipherTransform_decryptString(s) {
  13502. var cipher = new this.stringCipherConstructor();
  13503. var data = stringToBytes(s);
  13504. data = cipher.decryptBlock(data, true);
  13505. return bytesToString(data);
  13506. }
  13507. };
  13508. return CipherTransform;
  13509. })();
  13510. var CipherTransformFactory = (function CipherTransformFactoryClosure() {
  13511. var defaultPasswordBytes = new Uint8Array([
  13512. 0x28, 0xBF, 0x4E, 0x5E, 0x4E, 0x75, 0x8A, 0x41,
  13513. 0x64, 0x00, 0x4E, 0x56, 0xFF, 0xFA, 0x01, 0x08,
  13514. 0x2E, 0x2E, 0x00, 0xB6, 0xD0, 0x68, 0x3E, 0x80,
  13515. 0x2F, 0x0C, 0xA9, 0xFE, 0x64, 0x53, 0x69, 0x7A]);
  13516. function prepareKeyData(fileId, password, ownerPassword, userPassword,
  13517. flags, revision, keyLength, encryptMetadata) {
  13518. var hashDataSize = 40 + ownerPassword.length + fileId.length;
  13519. var hashData = new Uint8Array(hashDataSize), i = 0, j, n;
  13520. if (password) {
  13521. n = Math.min(32, password.length);
  13522. for (; i < n; ++i)
  13523. hashData[i] = password[i];
  13524. }
  13525. j = 0;
  13526. while (i < 32) {
  13527. hashData[i++] = defaultPasswordBytes[j++];
  13528. }
  13529. // as now the padded password in the hashData[0..i]
  13530. for (j = 0, n = ownerPassword.length; j < n; ++j)
  13531. hashData[i++] = ownerPassword[j];
  13532. hashData[i++] = flags & 0xFF;
  13533. hashData[i++] = (flags >> 8) & 0xFF;
  13534. hashData[i++] = (flags >> 16) & 0xFF;
  13535. hashData[i++] = (flags >>> 24) & 0xFF;
  13536. for (j = 0, n = fileId.length; j < n; ++j)
  13537. hashData[i++] = fileId[j];
  13538. if (revision >= 4 && !encryptMetadata) {
  13539. hashData[i++] = 0xFF;
  13540. hashData[i++] = 0xFF;
  13541. hashData[i++] = 0xFF;
  13542. hashData[i++] = 0xFF;
  13543. }
  13544. var hash = calculateMD5(hashData, 0, i);
  13545. var keyLengthInBytes = keyLength >> 3;
  13546. if (revision >= 3) {
  13547. for (j = 0; j < 50; ++j) {
  13548. hash = calculateMD5(hash, 0, keyLengthInBytes);
  13549. }
  13550. }
  13551. var encryptionKey = hash.subarray(0, keyLengthInBytes);
  13552. var cipher, checkData;
  13553. if (revision >= 3) {
  13554. for (i = 0; i < 32; ++i)
  13555. hashData[i] = defaultPasswordBytes[i];
  13556. for (j = 0, n = fileId.length; j < n; ++j)
  13557. hashData[i++] = fileId[j];
  13558. cipher = new ARCFourCipher(encryptionKey);
  13559. var checkData = cipher.encryptBlock(calculateMD5(hashData, 0, i));
  13560. n = encryptionKey.length;
  13561. var derivedKey = new Uint8Array(n), k;
  13562. for (j = 1; j <= 19; ++j) {
  13563. for (k = 0; k < n; ++k)
  13564. derivedKey[k] = encryptionKey[k] ^ j;
  13565. cipher = new ARCFourCipher(derivedKey);
  13566. checkData = cipher.encryptBlock(checkData);
  13567. }
  13568. for (j = 0, n = checkData.length; j < n; ++j) {
  13569. if (userPassword[j] != checkData[j])
  13570. return null;
  13571. }
  13572. } else {
  13573. cipher = new ARCFourCipher(encryptionKey);
  13574. checkData = cipher.encryptBlock(defaultPasswordBytes);
  13575. for (j = 0, n = checkData.length; j < n; ++j) {
  13576. if (userPassword[j] != checkData[j])
  13577. return null;
  13578. }
  13579. }
  13580. return encryptionKey;
  13581. }
  13582. function decodeUserPassword(password, ownerPassword, revision, keyLength) {
  13583. var hashData = new Uint8Array(32), i = 0, j, n;
  13584. n = Math.min(32, password.length);
  13585. for (; i < n; ++i)
  13586. hashData[i] = password[i];
  13587. j = 0;
  13588. while (i < 32) {
  13589. hashData[i++] = defaultPasswordBytes[j++];
  13590. }
  13591. var hash = calculateMD5(hashData, 0, i);
  13592. var keyLengthInBytes = keyLength >> 3;
  13593. if (revision >= 3) {
  13594. for (j = 0; j < 50; ++j) {
  13595. hash = calculateMD5(hash, 0, hash.length);
  13596. }
  13597. }
  13598. var cipher, userPassword;
  13599. if (revision >= 3) {
  13600. userPassword = ownerPassword;
  13601. var derivedKey = new Uint8Array(keyLengthInBytes), k;
  13602. for (j = 19; j >= 0; j--) {
  13603. for (k = 0; k < keyLengthInBytes; ++k)
  13604. derivedKey[k] = hash[k] ^ j;
  13605. cipher = new ARCFourCipher(derivedKey);
  13606. userPassword = cipher.encryptBlock(userPassword);
  13607. }
  13608. } else {
  13609. cipher = new ARCFourCipher(hash.subarray(0, keyLengthInBytes));
  13610. userPassword = cipher.encryptBlock(ownerPassword);
  13611. }
  13612. return userPassword;
  13613. }
  13614. var identityName = new Name('Identity');
  13615. function CipherTransformFactory(dict, fileId, password) {
  13616. var filter = dict.get('Filter');
  13617. if (!isName(filter) || filter.name != 'Standard')
  13618. error('unknown encryption method');
  13619. this.dict = dict;
  13620. var algorithm = dict.get('V');
  13621. if (!isInt(algorithm) ||
  13622. (algorithm != 1 && algorithm != 2 && algorithm != 4))
  13623. error('unsupported encryption algorithm');
  13624. this.algorithm = algorithm;
  13625. var keyLength = dict.get('Length') || 40;
  13626. if (!isInt(keyLength) ||
  13627. keyLength < 40 || (keyLength % 8) !== 0)
  13628. error('invalid key length');
  13629. // prepare keys
  13630. var ownerPassword = stringToBytes(dict.get('O')).subarray(0, 32);
  13631. var userPassword = stringToBytes(dict.get('U')).subarray(0, 32);
  13632. var flags = dict.get('P');
  13633. var revision = dict.get('R');
  13634. var encryptMetadata = algorithm == 4 && // meaningful when V is 4
  13635. dict.get('EncryptMetadata') !== false; // makes true as default value
  13636. this.encryptMetadata = encryptMetadata;
  13637. var fileIdBytes = stringToBytes(fileId);
  13638. var passwordBytes;
  13639. if (password)
  13640. passwordBytes = stringToBytes(password);
  13641. var encryptionKey = prepareKeyData(fileIdBytes, passwordBytes,
  13642. ownerPassword, userPassword, flags,
  13643. revision, keyLength, encryptMetadata);
  13644. if (!encryptionKey && !password) {
  13645. throw new PasswordException('No password given',
  13646. PasswordResponses.NEED_PASSWORD);
  13647. } else if (!encryptionKey && password) {
  13648. // Attempting use the password as an owner password
  13649. var decodedPassword = decodeUserPassword(passwordBytes, ownerPassword,
  13650. revision, keyLength);
  13651. encryptionKey = prepareKeyData(fileIdBytes, decodedPassword,
  13652. ownerPassword, userPassword, flags,
  13653. revision, keyLength, encryptMetadata);
  13654. }
  13655. if (!encryptionKey)
  13656. throw new PasswordException('Incorrect Password',
  13657. PasswordResponses.INCORRECT_PASSWORD);
  13658. this.encryptionKey = encryptionKey;
  13659. if (algorithm == 4) {
  13660. this.cf = dict.get('CF');
  13661. this.stmf = dict.get('StmF') || identityName;
  13662. this.strf = dict.get('StrF') || identityName;
  13663. this.eff = dict.get('EFF') || this.strf;
  13664. }
  13665. }
  13666. function buildObjectKey(num, gen, encryptionKey, isAes) {
  13667. var key = new Uint8Array(encryptionKey.length + 9), i, n;
  13668. for (i = 0, n = encryptionKey.length; i < n; ++i)
  13669. key[i] = encryptionKey[i];
  13670. key[i++] = num & 0xFF;
  13671. key[i++] = (num >> 8) & 0xFF;
  13672. key[i++] = (num >> 16) & 0xFF;
  13673. key[i++] = gen & 0xFF;
  13674. key[i++] = (gen >> 8) & 0xFF;
  13675. if (isAes) {
  13676. key[i++] = 0x73;
  13677. key[i++] = 0x41;
  13678. key[i++] = 0x6C;
  13679. key[i++] = 0x54;
  13680. }
  13681. var hash = calculateMD5(key, 0, i);
  13682. return hash.subarray(0, Math.min(encryptionKey.length + 5, 16));
  13683. }
  13684. function buildCipherConstructor(cf, name, num, gen, key) {
  13685. var cryptFilter = cf.get(name.name);
  13686. var cfm;
  13687. if (cryptFilter !== null && cryptFilter !== undefined)
  13688. cfm = cryptFilter.get('CFM');
  13689. if (!cfm || cfm.name == 'None') {
  13690. return function cipherTransformFactoryBuildCipherConstructorNone() {
  13691. return new NullCipher();
  13692. };
  13693. }
  13694. if ('V2' == cfm.name) {
  13695. return function cipherTransformFactoryBuildCipherConstructorV2() {
  13696. return new ARCFourCipher(
  13697. buildObjectKey(num, gen, key, false));
  13698. };
  13699. }
  13700. if ('AESV2' == cfm.name) {
  13701. return function cipherTransformFactoryBuildCipherConstructorAESV2() {
  13702. return new AES128Cipher(
  13703. buildObjectKey(num, gen, key, true));
  13704. };
  13705. }
  13706. error('Unknown crypto method');
  13707. }
  13708. CipherTransformFactory.prototype = {
  13709. createCipherTransform:
  13710. function CipherTransformFactory_createCipherTransform(num, gen) {
  13711. if (this.algorithm == 4) {
  13712. return new CipherTransform(
  13713. buildCipherConstructor(this.cf, this.stmf,
  13714. num, gen, this.encryptionKey),
  13715. buildCipherConstructor(this.cf, this.strf,
  13716. num, gen, this.encryptionKey));
  13717. }
  13718. // algorithms 1 and 2
  13719. var key = buildObjectKey(num, gen, this.encryptionKey, false);
  13720. var cipherConstructor = function buildCipherCipherConstructor() {
  13721. return new ARCFourCipher(key);
  13722. };
  13723. return new CipherTransform(cipherConstructor, cipherConstructor);
  13724. }
  13725. };
  13726. return CipherTransformFactory;
  13727. })();
  13728. var PartialEvaluator = (function PartialEvaluatorClosure() {
  13729. function PartialEvaluator(pdfManager, xref, handler, pageIndex,
  13730. uniquePrefix, idCounters, fontCache) {
  13731. this.state = new EvalState();
  13732. this.stateStack = [];
  13733. this.pdfManager = pdfManager;
  13734. this.xref = xref;
  13735. this.handler = handler;
  13736. this.pageIndex = pageIndex;
  13737. this.uniquePrefix = uniquePrefix;
  13738. this.idCounters = idCounters;
  13739. this.fontCache = fontCache;
  13740. }
  13741. var TILING_PATTERN = 1, SHADING_PATTERN = 2;
  13742. PartialEvaluator.prototype = {
  13743. hasBlendModes: function PartialEvaluator_hasBlendModes(resources) {
  13744. if (!isDict(resources)) {
  13745. return false;
  13746. }
  13747. var nodes = [resources];
  13748. while (nodes.length) {
  13749. var node = nodes.shift();
  13750. // First check the current resources for blend modes.
  13751. var graphicStates = node.get('ExtGState');
  13752. if (isDict(graphicStates)) {
  13753. graphicStates = graphicStates.getAll();
  13754. for (var key in graphicStates) {
  13755. var graphicState = graphicStates[key];
  13756. var bm = graphicState['BM'];
  13757. if (isName(bm) && bm.name !== 'Normal') {
  13758. return true;
  13759. }
  13760. }
  13761. }
  13762. // Descend into the XObjects to look for more resources and blend modes.
  13763. var xObjects = node.get('XObject');
  13764. if (!isDict(xObjects)) {
  13765. continue;
  13766. }
  13767. xObjects = xObjects.getAll();
  13768. for (var key in xObjects) {
  13769. var xObject = xObjects[key];
  13770. if (!isStream(xObject)) {
  13771. continue;
  13772. }
  13773. var xResources = xObject.dict.get('Resources');
  13774. if (isDict(xResources)) {
  13775. nodes.push(xResources);
  13776. }
  13777. }
  13778. }
  13779. return false;
  13780. },
  13781. buildFormXObject: function PartialEvaluator_buildFormXObject(resources,
  13782. xobj, smask,
  13783. operatorList,
  13784. state) {
  13785. var self = this;
  13786. var matrix = xobj.dict.get('Matrix');
  13787. var bbox = xobj.dict.get('BBox');
  13788. var group = xobj.dict.get('Group');
  13789. if (group) {
  13790. var groupOptions = {
  13791. matrix: matrix,
  13792. bbox: bbox,
  13793. smask: !!smask,
  13794. isolated: false,
  13795. knockout: false
  13796. };
  13797. var groupSubtype = group.get('S');
  13798. if (isName(groupSubtype) && groupSubtype.name === 'Transparency') {
  13799. groupOptions.isolated = group.get('I') || false;
  13800. groupOptions.knockout = group.get('K') || false;
  13801. // There is also a group colorspace, but since we put everything in
  13802. // RGB I'm not sure we need it.
  13803. }
  13804. operatorList.addOp(OPS.beginGroup, [groupOptions]);
  13805. }
  13806. operatorList.addOp(OPS.paintFormXObjectBegin, [matrix, bbox]);
  13807. this.getOperatorList(xobj, xobj.dict.get('Resources') || resources,
  13808. operatorList, state);
  13809. operatorList.addOp(OPS.paintFormXObjectEnd, []);
  13810. if (group) {
  13811. operatorList.addOp(OPS.endGroup, [groupOptions]);
  13812. }
  13813. },
  13814. buildPaintImageXObject: function PartialEvaluator_buildPaintImageXObject(
  13815. resources, image, inline, operatorList) {
  13816. var self = this;
  13817. var dict = image.dict;
  13818. var w = dict.get('Width', 'W');
  13819. var h = dict.get('Height', 'H');
  13820. if (PDFJS.maxImageSize !== -1 && w * h > PDFJS.maxImageSize) {
  13821. warn('Image exceeded maximum allowed size and was removed.');
  13822. return;
  13823. }
  13824. var imageMask = dict.get('ImageMask', 'IM') || false;
  13825. if (imageMask) {
  13826. // This depends on a tmpCanvas beeing filled with the
  13827. // current fillStyle, such that processing the pixel
  13828. // data can't be done here. Instead of creating a
  13829. // complete PDFImage, only read the information needed
  13830. // for later.
  13831. var width = dict.get('Width', 'W');
  13832. var height = dict.get('Height', 'H');
  13833. var bitStrideLength = (width + 7) >> 3;
  13834. var imgArray = image.getBytes(bitStrideLength * height);
  13835. var decode = dict.get('Decode', 'D');
  13836. var inverseDecode = !!decode && decode[0] > 0;
  13837. operatorList.addOp(OPS.paintImageMaskXObject,
  13838. [PDFImage.createMask(imgArray, width, height, inverseDecode)]
  13839. );
  13840. return;
  13841. }
  13842. var softMask = dict.get('SMask', 'SM') || false;
  13843. var mask = dict.get('Mask') || false;
  13844. var SMALL_IMAGE_DIMENSIONS = 200;
  13845. // Inlining small images into the queue as RGB data
  13846. if (inline && !softMask && !mask &&
  13847. !(image instanceof JpegStream) &&
  13848. (w + h) < SMALL_IMAGE_DIMENSIONS) {
  13849. var imageObj = new PDFImage(this.xref, resources, image,
  13850. inline, null, null);
  13851. var imgData = imageObj.getImageData();
  13852. operatorList.addOp(OPS.paintInlineImageXObject, [imgData]);
  13853. return;
  13854. }
  13855. // If there is no imageMask, create the PDFImage and a lot
  13856. // of image processing can be done here.
  13857. var uniquePrefix = this.uniquePrefix || '';
  13858. var objId = 'img_' + uniquePrefix + (++this.idCounters.obj);
  13859. operatorList.addDependency(objId);
  13860. var args = [objId, w, h];
  13861. if (!softMask && !mask && image instanceof JpegStream &&
  13862. image.isNativelySupported(this.xref, resources)) {
  13863. // These JPEGs don't need any more processing so we can just send it.
  13864. operatorList.addOp(OPS.paintJpegXObject, args);
  13865. this.handler.send(
  13866. 'obj', [objId, this.pageIndex, 'JpegStream', image.getIR()]);
  13867. return;
  13868. }
  13869. PDFImage.buildImage(function(imageObj) {
  13870. var imgData = imageObj.getImageData();
  13871. self.handler.send('obj', [objId, self.pageIndex, 'Image', imgData],
  13872. null, [imgData.data.buffer]);
  13873. }, self.handler, self.xref, resources, image, inline);
  13874. operatorList.addOp(OPS.paintImageXObject, args);
  13875. },
  13876. handleTilingType: function PartialEvaluator_handleTilingType(
  13877. fn, args, resources, pattern, patternDict,
  13878. operatorList) {
  13879. // Create an IR of the pattern code.
  13880. var tilingOpList = this.getOperatorList(pattern,
  13881. patternDict.get('Resources') || resources);
  13882. // Add the dependencies to the parent operator list so they are resolved
  13883. // before sub operator list is executed synchronously.
  13884. operatorList.addDependencies(tilingOpList.dependencies);
  13885. operatorList.addOp(fn, TilingPattern.getIR({
  13886. fnArray: tilingOpList.fnArray,
  13887. argsArray: tilingOpList.argsArray
  13888. }, patternDict, args));
  13889. },
  13890. handleSetFont: function PartialEvaluator_handleSetFont(
  13891. resources, fontArgs, fontRef, operatorList) {
  13892. // TODO(mack): Not needed?
  13893. var fontName;
  13894. if (fontArgs) {
  13895. fontArgs = fontArgs.slice();
  13896. fontName = fontArgs[0].name;
  13897. }
  13898. var self = this;
  13899. var font = this.loadFont(fontName, fontRef, this.xref, resources,
  13900. operatorList);
  13901. this.state.font = font;
  13902. var loadedName = font.loadedName;
  13903. if (!font.sent) {
  13904. var fontData = font.translated.exportData();
  13905. self.handler.send('commonobj', [
  13906. loadedName,
  13907. 'Font',
  13908. fontData
  13909. ]);
  13910. font.sent = true;
  13911. }
  13912. return loadedName;
  13913. },
  13914. handleText: function PartialEvaluator_handleText(chars) {
  13915. var font = this.state.font.translated;
  13916. var glyphs = font.charsToGlyphs(chars);
  13917. var isAddToPathSet = !!(this.state.textRenderingMode &
  13918. TextRenderingMode.ADD_TO_PATH_FLAG);
  13919. if (font.data && (isAddToPathSet || PDFJS.disableFontFace)) {
  13920. for (var i = 0; i < glyphs.length; i++) {
  13921. if (glyphs[i] === null) {
  13922. continue;
  13923. }
  13924. var fontChar = glyphs[i].fontChar;
  13925. if (!font.renderer.hasBuiltPath(fontChar)) {
  13926. var path = font.renderer.getPathJs(fontChar);
  13927. this.handler.send('commonobj', [
  13928. font.loadedName + '_path_' + fontChar,
  13929. 'FontPath',
  13930. path
  13931. ]);
  13932. }
  13933. }
  13934. }
  13935. return glyphs;
  13936. },
  13937. setGState: function PartialEvaluator_setGState(resources, gState,
  13938. operatorList) {
  13939. var self = this;
  13940. // TODO(mack): This should be rewritten so that this function returns
  13941. // what should be added to the queue during each iteration
  13942. function setGStateForKey(gStateObj, key, value) {
  13943. switch (key) {
  13944. case 'Type':
  13945. break;
  13946. case 'LW':
  13947. case 'LC':
  13948. case 'LJ':
  13949. case 'ML':
  13950. case 'D':
  13951. case 'RI':
  13952. case 'FL':
  13953. case 'CA':
  13954. case 'ca':
  13955. gStateObj.push([key, value]);
  13956. break;
  13957. case 'Font':
  13958. var loadedName = self.handleSetFont(resources, null, value[0],
  13959. operatorList);
  13960. operatorList.addDependency(loadedName);
  13961. gStateObj.push([key, [loadedName, value[1]]]);
  13962. break;
  13963. case 'BM':
  13964. gStateObj.push([key, value]);
  13965. break;
  13966. case 'SMask':
  13967. // We support the default so don't trigger a warning bar.
  13968. if (!isName(value) || value.name != 'None')
  13969. UnsupportedManager.notify(UNSUPPORTED_FEATURES.smask);
  13970. break;
  13971. // Only generate info log messages for the following since
  13972. // they are unlikey to have a big impact on the rendering.
  13973. case 'OP':
  13974. case 'op':
  13975. case 'OPM':
  13976. case 'BG':
  13977. case 'BG2':
  13978. case 'UCR':
  13979. case 'UCR2':
  13980. case 'TR':
  13981. case 'TR2':
  13982. case 'HT':
  13983. case 'SM':
  13984. case 'SA':
  13985. case 'AIS':
  13986. case 'TK':
  13987. // TODO implement these operators.
  13988. info('graphic state operator ' + key);
  13989. break;
  13990. default:
  13991. info('Unknown graphic state operator ' + key);
  13992. break;
  13993. }
  13994. }
  13995. // This array holds the converted/processed state data.
  13996. var gStateObj = [];
  13997. var gStateMap = gState.map;
  13998. for (var key in gStateMap) {
  13999. var value = gStateMap[key];
  14000. setGStateForKey(gStateObj, key, value);
  14001. }
  14002. operatorList.addOp(OPS.setGState, [gStateObj]);
  14003. },
  14004. loadFont: function PartialEvaluator_loadFont(fontName, font, xref,
  14005. resources,
  14006. parentOperatorList) {
  14007. function errorFont() {
  14008. return {
  14009. translated: new ErrorFont('Font ' + fontName + ' is not available'),
  14010. loadedName: 'g_font_error'
  14011. };
  14012. }
  14013. var fontRef;
  14014. if (font) { // Loading by ref.
  14015. assert(isRef(font));
  14016. fontRef = font;
  14017. } else { // Loading by name.
  14018. var fontRes = resources.get('Font');
  14019. if (fontRes) {
  14020. fontRef = fontRes.getRaw(fontName);
  14021. } else {
  14022. warn('fontRes not available');
  14023. return errorFont();
  14024. }
  14025. }
  14026. if (this.fontCache.has(fontRef)) {
  14027. return this.fontCache.get(fontRef);
  14028. }
  14029. font = xref.fetchIfRef(fontRef);
  14030. if (!isDict(font)) {
  14031. return errorFont();
  14032. }
  14033. // Workaround for bad PDF generators that doesn't reference fonts
  14034. // properly, i.e. by not using an object identifier.
  14035. // Check if the fontRef is a Dict (as opposed to a standard object),
  14036. // in which case we don't cache the font and instead reference it by
  14037. // fontName in font.loadedName below.
  14038. var fontRefIsDict = isDict(fontRef);
  14039. if (!fontRefIsDict) {
  14040. this.fontCache.put(fontRef, font);
  14041. }
  14042. // keep track of each font we translated so the caller can
  14043. // load them asynchronously before calling display on a page
  14044. font.loadedName = 'g_font_' + (fontRefIsDict ?
  14045. fontName.replace(/\W/g, '') : (fontRef.num + '_' + fontRef.gen));
  14046. if (!font.translated) {
  14047. var translated;
  14048. try {
  14049. translated = this.translateFont(font, xref);
  14050. } catch (e) {
  14051. UnsupportedManager.notify(UNSUPPORTED_FEATURES.font);
  14052. translated = new ErrorFont(e instanceof Error ? e.message : e);
  14053. }
  14054. font.translated = translated;
  14055. }
  14056. if (font.translated.loadCharProcs) {
  14057. var charProcs = font.get('CharProcs').getAll();
  14058. var fontResources = font.get('Resources') || resources;
  14059. var charProcKeys = Object.keys(charProcs);
  14060. var charProcOperatorList = {};
  14061. for (var i = 0, n = charProcKeys.length; i < n; ++i) {
  14062. var key = charProcKeys[i];
  14063. var glyphStream = charProcs[key];
  14064. var operatorList = this.getOperatorList(glyphStream, fontResources);
  14065. charProcOperatorList[key] = operatorList.getIR();
  14066. if (!parentOperatorList) {
  14067. continue;
  14068. }
  14069. // Add the dependencies to the parent operator list so they are
  14070. // resolved before sub operator list is executed synchronously.
  14071. parentOperatorList.addDependencies(charProcOperatorList.dependencies);
  14072. }
  14073. font.translated.charProcOperatorList = charProcOperatorList;
  14074. font.loaded = true;
  14075. } else {
  14076. font.loaded = true;
  14077. }
  14078. return font;
  14079. },
  14080. getOperatorList: function PartialEvaluator_getOperatorList(stream,
  14081. resources,
  14082. operatorList,
  14083. evaluatorState) {
  14084. var self = this;
  14085. var xref = this.xref;
  14086. var handler = this.handler;
  14087. operatorList = operatorList || new OperatorList();
  14088. resources = resources || new Dict();
  14089. var xobjs = resources.get('XObject') || new Dict();
  14090. var patterns = resources.get('Pattern') || new Dict();
  14091. var preprocessor = new EvaluatorPreprocessor(stream, xref);
  14092. if (evaluatorState) {
  14093. preprocessor.setState(evaluatorState);
  14094. }
  14095. var promise = new LegacyPromise();
  14096. var operation;
  14097. while ((operation = preprocessor.read())) {
  14098. var args = operation.args;
  14099. var fn = operation.fn;
  14100. switch (fn) {
  14101. case OPS.setStrokeColorN:
  14102. case OPS.setFillColorN:
  14103. if (args[args.length - 1].code) {
  14104. break;
  14105. }
  14106. // compile tiling patterns
  14107. var patternName = args[args.length - 1];
  14108. // SCN/scn applies patterns along with normal colors
  14109. var pattern;
  14110. if (isName(patternName) &&
  14111. (pattern = patterns.get(patternName.name))) {
  14112. var dict = isStream(pattern) ? pattern.dict : pattern;
  14113. var typeNum = dict.get('PatternType');
  14114. if (typeNum == TILING_PATTERN) {
  14115. self.handleTilingType(fn, args, resources, pattern, dict,
  14116. operatorList);
  14117. args = [];
  14118. continue;
  14119. } else if (typeNum == SHADING_PATTERN) {
  14120. var shading = dict.get('Shading');
  14121. var matrix = dict.get('Matrix');
  14122. var pattern = Pattern.parseShading(shading, matrix, xref,
  14123. resources);
  14124. args = pattern.getIR();
  14125. } else {
  14126. error('Unkown PatternType ' + typeNum);
  14127. }
  14128. }
  14129. break;
  14130. case OPS.paintXObject:
  14131. if (args[0].code) {
  14132. break;
  14133. }
  14134. // eagerly compile XForm objects
  14135. var name = args[0].name;
  14136. var xobj = xobjs.get(name);
  14137. if (xobj) {
  14138. assertWellFormed(
  14139. isStream(xobj), 'XObject should be a stream');
  14140. var type = xobj.dict.get('Subtype');
  14141. assertWellFormed(
  14142. isName(type),
  14143. 'XObject should have a Name subtype'
  14144. );
  14145. if ('Form' == type.name) {
  14146. self.buildFormXObject(resources, xobj, null, operatorList,
  14147. preprocessor.getState());
  14148. args = [];
  14149. continue;
  14150. } else if ('Image' == type.name) {
  14151. self.buildPaintImageXObject(resources, xobj, false,
  14152. operatorList);
  14153. args = [];
  14154. continue;
  14155. } else {
  14156. error('Unhandled XObject subtype ' + type.name);
  14157. }
  14158. }
  14159. break;
  14160. case OPS.setFont:
  14161. // eagerly collect all fonts
  14162. var loadedName = self.handleSetFont(resources, args, null,
  14163. operatorList);
  14164. operatorList.addDependency(loadedName);
  14165. args[0] = loadedName;
  14166. break;
  14167. case OPS.endInlineImage:
  14168. self.buildPaintImageXObject(resources, args[0], true,
  14169. operatorList);
  14170. args = [];
  14171. continue;
  14172. case OPS.save:
  14173. var old = this.state;
  14174. this.stateStack.push(this.state);
  14175. this.state = old.clone();
  14176. break;
  14177. case OPS.restore:
  14178. var prev = this.stateStack.pop();
  14179. if (prev) {
  14180. this.state = prev;
  14181. }
  14182. break;
  14183. case OPS.showText:
  14184. args[0] = this.handleText(args[0]);
  14185. break;
  14186. case OPS.showSpacedText:
  14187. var arr = args[0];
  14188. var arrLength = arr.length;
  14189. for (var i = 0; i < arrLength; ++i) {
  14190. if (isString(arr[i])) {
  14191. arr[i] = this.handleText(arr[i]);
  14192. }
  14193. }
  14194. break;
  14195. case OPS.nextLineShowText:
  14196. args[0] = this.handleText(args[0]);
  14197. break;
  14198. case OPS.nextLineSetSpacingShowText:
  14199. args[2] = this.handleText(args[2]);
  14200. break;
  14201. case OPS.setTextRenderingMode:
  14202. this.state.textRenderingMode = args[0];
  14203. break;
  14204. // Parse the ColorSpace data to a raw format.
  14205. case OPS.setFillColorSpace:
  14206. case OPS.setStrokeColorSpace:
  14207. args = [ColorSpace.parseToIR(args[0], xref, resources)];
  14208. break;
  14209. case OPS.shadingFill:
  14210. var shadingRes = resources.get('Shading');
  14211. if (!shadingRes)
  14212. error('No shading resource found');
  14213. var shading = shadingRes.get(args[0].name);
  14214. if (!shading)
  14215. error('No shading object found');
  14216. var shadingFill = Pattern.parseShading(
  14217. shading, null, xref, resources);
  14218. var patternIR = shadingFill.getIR();
  14219. args = [patternIR];
  14220. fn = OPS.shadingFill;
  14221. break;
  14222. case OPS.setGState:
  14223. var dictName = args[0];
  14224. var extGState = resources.get('ExtGState');
  14225. if (!isDict(extGState) || !extGState.has(dictName.name))
  14226. break;
  14227. var gState = extGState.get(dictName.name);
  14228. self.setGState(resources, gState, operatorList);
  14229. args = [];
  14230. continue;
  14231. } // switch
  14232. operatorList.addOp(fn, args);
  14233. }
  14234. // some pdf don't close all restores inside object/form
  14235. // closing those for them
  14236. for (var i = 0, ii = preprocessor.savedStatesDepth; i < ii; i++) {
  14237. operatorList.addOp(OPS.restore, []);
  14238. }
  14239. return operatorList;
  14240. },
  14241. getTextContent: function PartialEvaluator_getTextContent(
  14242. stream, resources, state) {
  14243. var bidiTexts;
  14244. var SPACE_FACTOR = 0.35;
  14245. var MULTI_SPACE_FACTOR = 1.5;
  14246. var textState;
  14247. if (!state) {
  14248. textState = new TextState();
  14249. bidiTexts = [];
  14250. state = {
  14251. textState: textState,
  14252. bidiTexts: bidiTexts
  14253. };
  14254. } else {
  14255. bidiTexts = state.bidiTexts;
  14256. textState = state.textState;
  14257. }
  14258. var self = this;
  14259. var xref = this.xref;
  14260. function handleSetFont(fontName, fontRef) {
  14261. return self.loadFont(fontName, fontRef, xref, resources, null);
  14262. }
  14263. resources = xref.fetchIfRef(resources) || new Dict();
  14264. // The xobj is parsed iff it's needed, e.g. if there is a `DO` cmd.
  14265. var xobjs = null;
  14266. var preprocessor = new EvaluatorPreprocessor(stream, xref);
  14267. var res = resources;
  14268. var chunk = '';
  14269. var font = null;
  14270. var charSpace = 0, wordSpace = 0;
  14271. var operation;
  14272. while ((operation = preprocessor.read())) {
  14273. var fn = operation.fn;
  14274. var args = operation.args;
  14275. switch (fn) {
  14276. // TODO: Add support for SAVE/RESTORE and XFORM here.
  14277. case OPS.setFont:
  14278. font = handleSetFont(args[0].name).translated;
  14279. textState.fontSize = args[1];
  14280. break;
  14281. case OPS.setTextRise:
  14282. textState.textRise = args[0];
  14283. break;
  14284. case OPS.setHScale:
  14285. textState.textHScale = args[0] / 100;
  14286. break;
  14287. case OPS.setLeading:
  14288. textState.leading = args[0];
  14289. break;
  14290. case OPS.moveText:
  14291. textState.translateTextMatrix(args[0], args[1]);
  14292. break;
  14293. case OPS.setLeadingMoveText:
  14294. textState.leading = -args[1];
  14295. textState.translateTextMatrix(args[0], args[1]);
  14296. break;
  14297. case OPS.nextLine:
  14298. textState.translateTextMatrix(0, -textState.leading);
  14299. break;
  14300. case OPS.setTextMatrix:
  14301. textState.setTextMatrix(args[0], args[1],
  14302. args[2], args[3], args[4], args[5]);
  14303. break;
  14304. case OPS.setCharSpacing:
  14305. charSpace = args[0];
  14306. break;
  14307. case OPS.setWordSpacing:
  14308. wordSpace = args[0];
  14309. break;
  14310. case OPS.beginText:
  14311. textState.initialiseTextObj();
  14312. break;
  14313. case OPS.showSpacedText:
  14314. var items = args[0];
  14315. for (var j = 0, jj = items.length; j < jj; j++) {
  14316. if (typeof items[j] === 'string') {
  14317. chunk += fontCharsToUnicode(items[j], font);
  14318. } else if (items[j] < 0 && font.spaceWidth > 0) {
  14319. var fakeSpaces = -items[j] / font.spaceWidth;
  14320. if (fakeSpaces > MULTI_SPACE_FACTOR) {
  14321. fakeSpaces = Math.round(fakeSpaces);
  14322. while (fakeSpaces--) {
  14323. chunk += ' ';
  14324. }
  14325. } else if (fakeSpaces > SPACE_FACTOR) {
  14326. chunk += ' ';
  14327. }
  14328. }
  14329. }
  14330. break;
  14331. case OPS.showText:
  14332. chunk += fontCharsToUnicode(args[0], font);
  14333. break;
  14334. case OPS.nextLineShowText:
  14335. // For search, adding a extra white space for line breaks would be
  14336. // better here, but that causes too much spaces in the
  14337. // text-selection divs.
  14338. chunk += fontCharsToUnicode(args[0], font);
  14339. break;
  14340. case OPS.nextLineSetSpacingShowText:
  14341. // Note comment in "'"
  14342. chunk += fontCharsToUnicode(args[2], font);
  14343. break;
  14344. case OPS.paintXObject:
  14345. // Set the chunk such that the following if won't add something
  14346. // to the state.
  14347. chunk = '';
  14348. if (args[0].code) {
  14349. break;
  14350. }
  14351. if (!xobjs) {
  14352. xobjs = resources.get('XObject') || new Dict();
  14353. }
  14354. var name = args[0].name;
  14355. var xobj = xobjs.get(name);
  14356. if (!xobj)
  14357. break;
  14358. assertWellFormed(isStream(xobj), 'XObject should be a stream');
  14359. var type = xobj.dict.get('Subtype');
  14360. assertWellFormed(
  14361. isName(type),
  14362. 'XObject should have a Name subtype'
  14363. );
  14364. if ('Form' !== type.name)
  14365. break;
  14366. state = this.getTextContent(
  14367. xobj,
  14368. xobj.dict.get('Resources') || resources,
  14369. state
  14370. );
  14371. break;
  14372. case OPS.setGState:
  14373. var dictName = args[0];
  14374. var extGState = resources.get('ExtGState');
  14375. if (!isDict(extGState) || !extGState.has(dictName.name))
  14376. break;
  14377. var gsState = extGState.get(dictName.name);
  14378. for (var i = 0; i < gsState.length; i++) {
  14379. if (gsState[i] === 'Font') {
  14380. font = handleSetFont(args[0].name).translated;
  14381. }
  14382. }
  14383. break;
  14384. } // switch
  14385. if (chunk !== '') {
  14386. var bidiText = PDFJS.bidi(chunk, -1, font.vertical);
  14387. var renderParams = textState.calcRenderParams(preprocessor.ctm);
  14388. bidiText.x = renderParams.renderMatrix[4] - (textState.fontSize *
  14389. renderParams.vScale * Math.sin(renderParams.angle));
  14390. bidiText.y = renderParams.renderMatrix[5] + (textState.fontSize *
  14391. renderParams.vScale * Math.cos(renderParams.angle));
  14392. var fontHeight = textState.fontSize * renderParams.vScale;
  14393. var fontAscent = font.ascent ? font.ascent * fontHeight :
  14394. font.descent ? (1 + font.descent) * fontHeight : fontHeight;
  14395. bidiText.x = renderParams.renderMatrix[4] - (fontAscent *
  14396. Math.sin(renderParams.angle));
  14397. bidiText.y = renderParams.renderMatrix[5] + (fontAscent *
  14398. Math.cos(renderParams.angle));
  14399. if (bidiText.dir == 'ttb') {
  14400. bidiText.x += renderParams.vScale / 2;
  14401. bidiText.y -= renderParams.vScale;
  14402. }
  14403. bidiTexts.push(bidiText);
  14404. chunk = '';
  14405. }
  14406. } // while
  14407. return state;
  14408. },
  14409. extractDataStructures: function
  14410. partialEvaluatorExtractDataStructures(dict, baseDict,
  14411. xref, properties) {
  14412. // 9.10.2
  14413. var toUnicode = dict.get('ToUnicode') ||
  14414. baseDict.get('ToUnicode');
  14415. if (toUnicode)
  14416. properties.toUnicode = this.readToUnicode(toUnicode, xref, properties);
  14417. if (properties.composite) {
  14418. // CIDSystemInfo helps to match CID to glyphs
  14419. var cidSystemInfo = dict.get('CIDSystemInfo');
  14420. if (isDict(cidSystemInfo)) {
  14421. properties.cidSystemInfo = {
  14422. registry: cidSystemInfo.get('Registry'),
  14423. ordering: cidSystemInfo.get('Ordering'),
  14424. supplement: cidSystemInfo.get('Supplement')
  14425. };
  14426. }
  14427. var cidToGidMap = dict.get('CIDToGIDMap');
  14428. if (isStream(cidToGidMap))
  14429. properties.cidToGidMap = this.readCidToGidMap(cidToGidMap);
  14430. }
  14431. // Based on 9.6.6 of the spec the encoding can come from multiple places
  14432. // but should be prioritized in the following order:
  14433. // 1. Encoding dictionary
  14434. // 2. Encoding within font file (Type1 or Type1C)
  14435. // 3. Default (depends on font type)
  14436. // Differences applied to the above.
  14437. // Note: we don't fill in the encoding from the font file(2) here but use
  14438. // the flag overridableEncoding to signal that the font can override the
  14439. // encoding if it has one built in.
  14440. var overridableEncoding = true;
  14441. var hasEncoding = false;
  14442. var flags = properties.flags;
  14443. var differences = [];
  14444. var baseEncoding = properties.type === 'TrueType' ?
  14445. Encodings.WinAnsiEncoding :
  14446. Encodings.StandardEncoding;
  14447. // The Symbolic attribute can be misused for regular fonts
  14448. // Heuristic: we have to check if the font is a standard one and has
  14449. // Symbolic font name
  14450. if (!!(flags & FontFlags.Symbolic)) {
  14451. baseEncoding = !properties.file && /Symbol/i.test(properties.name) ?
  14452. Encodings.SymbolSetEncoding : Encodings.MacRomanEncoding;
  14453. }
  14454. if (dict.has('Encoding')) {
  14455. var encoding = dict.get('Encoding');
  14456. if (isDict(encoding)) {
  14457. var baseName = encoding.get('BaseEncoding');
  14458. if (baseName) {
  14459. overridableEncoding = false;
  14460. hasEncoding = true;
  14461. baseEncoding = Encodings[baseName.name];
  14462. }
  14463. // Load the differences between the base and original
  14464. if (encoding.has('Differences')) {
  14465. hasEncoding = true;
  14466. var diffEncoding = encoding.get('Differences');
  14467. var index = 0;
  14468. for (var j = 0, jj = diffEncoding.length; j < jj; j++) {
  14469. var data = diffEncoding[j];
  14470. if (isNum(data))
  14471. index = data;
  14472. else
  14473. differences[index++] = data.name;
  14474. }
  14475. }
  14476. } else if (isName(encoding)) {
  14477. overridableEncoding = false;
  14478. hasEncoding = true;
  14479. baseEncoding = Encodings[encoding.name];
  14480. } else {
  14481. error('Encoding is not a Name nor a Dict');
  14482. }
  14483. }
  14484. properties.differences = differences;
  14485. properties.baseEncoding = baseEncoding;
  14486. properties.hasEncoding = hasEncoding;
  14487. properties.overridableEncoding = overridableEncoding;
  14488. },
  14489. readToUnicode: function PartialEvaluator_readToUnicode(toUnicode, xref,
  14490. properties) {
  14491. var cmapObj = toUnicode;
  14492. var charToUnicode = [];
  14493. if (isName(cmapObj)) {
  14494. var isIdentityMap = cmapObj.name.substr(0, 9) == 'Identity-';
  14495. if (!isIdentityMap)
  14496. error('ToUnicode file cmap translation not implemented');
  14497. } else if (isStream(cmapObj)) {
  14498. var cmap = CMapFactory.create(cmapObj).map;
  14499. // Convert UTF-16BE
  14500. for (var i in cmap) {
  14501. var token = cmap[i];
  14502. var str = [];
  14503. for (var k = 0; k < token.length; k += 2) {
  14504. var w1 = (token.charCodeAt(k) << 8) | token.charCodeAt(k + 1);
  14505. if ((w1 & 0xF800) !== 0xD800) { // w1 < 0xD800 || w1 > 0xDFFF
  14506. str.push(w1);
  14507. continue;
  14508. }
  14509. k += 2;
  14510. var w2 = (token.charCodeAt(k) << 8) | token.charCodeAt(k + 1);
  14511. str.push(((w1 & 0x3ff) << 10) + (w2 & 0x3ff) + 0x10000);
  14512. }
  14513. cmap[i] = String.fromCharCode.apply(String, str);
  14514. }
  14515. return cmap;
  14516. }
  14517. return charToUnicode;
  14518. },
  14519. readCidToGidMap: function PartialEvaluator_readCidToGidMap(cidToGidStream) {
  14520. // Extract the encoding from the CIDToGIDMap
  14521. var glyphsData = cidToGidStream.getBytes();
  14522. // Set encoding 0 to later verify the font has an encoding
  14523. var result = [];
  14524. for (var j = 0, jj = glyphsData.length; j < jj; j++) {
  14525. var glyphID = (glyphsData[j++] << 8) | glyphsData[j];
  14526. if (glyphID === 0)
  14527. continue;
  14528. var code = j >> 1;
  14529. result[code] = glyphID;
  14530. }
  14531. return result;
  14532. },
  14533. extractWidths: function PartialEvaluator_extractWidths(dict,
  14534. xref,
  14535. descriptor,
  14536. properties) {
  14537. var glyphsWidths = [];
  14538. var defaultWidth = 0;
  14539. var glyphsVMetrics = [];
  14540. var defaultVMetrics;
  14541. if (properties.composite) {
  14542. defaultWidth = dict.get('DW') || 1000;
  14543. var widths = dict.get('W');
  14544. if (widths) {
  14545. for (var i = 0, ii = widths.length; i < ii; i++) {
  14546. var start = widths[i++];
  14547. var code = xref.fetchIfRef(widths[i]);
  14548. if (isArray(code)) {
  14549. for (var j = 0, jj = code.length; j < jj; j++)
  14550. glyphsWidths[start++] = code[j];
  14551. } else {
  14552. var width = widths[++i];
  14553. for (var j = start; j <= code; j++)
  14554. glyphsWidths[j] = width;
  14555. }
  14556. }
  14557. }
  14558. if (properties.vertical) {
  14559. var vmetrics = dict.get('DW2') || [880, -1000];
  14560. defaultVMetrics = [vmetrics[1], defaultWidth * 0.5, vmetrics[0]];
  14561. vmetrics = dict.get('W2');
  14562. if (vmetrics) {
  14563. for (var i = 0, ii = vmetrics.length; i < ii; i++) {
  14564. var start = vmetrics[i++];
  14565. var code = xref.fetchIfRef(vmetrics[i]);
  14566. if (isArray(code)) {
  14567. for (var j = 0, jj = code.length; j < jj; j++)
  14568. glyphsVMetrics[start++] = [code[j++], code[j++], code[j]];
  14569. } else {
  14570. var vmetric = [vmetrics[++i], vmetrics[++i], vmetrics[++i]];
  14571. for (var j = start; j <= code; j++)
  14572. glyphsVMetrics[j] = vmetric;
  14573. }
  14574. }
  14575. }
  14576. }
  14577. } else {
  14578. var firstChar = properties.firstChar;
  14579. var widths = dict.get('Widths');
  14580. if (widths) {
  14581. var j = firstChar;
  14582. for (var i = 0, ii = widths.length; i < ii; i++)
  14583. glyphsWidths[j++] = widths[i];
  14584. defaultWidth = parseFloat(descriptor.get('MissingWidth')) || 0;
  14585. } else {
  14586. // Trying get the BaseFont metrics (see comment above).
  14587. var baseFontName = dict.get('BaseFont');
  14588. if (isName(baseFontName)) {
  14589. var metrics = this.getBaseFontMetrics(baseFontName.name);
  14590. glyphsWidths = metrics.widths;
  14591. defaultWidth = metrics.defaultWidth;
  14592. }
  14593. }
  14594. }
  14595. // Heuristic: detection of monospace font by checking all non-zero widths
  14596. var isMonospace = true, firstWidth = defaultWidth;
  14597. for (var glyph in glyphsWidths) {
  14598. var glyphWidth = glyphsWidths[glyph];
  14599. if (!glyphWidth)
  14600. continue;
  14601. if (!firstWidth) {
  14602. firstWidth = glyphWidth;
  14603. continue;
  14604. }
  14605. if (firstWidth != glyphWidth) {
  14606. isMonospace = false;
  14607. break;
  14608. }
  14609. }
  14610. if (isMonospace)
  14611. properties.flags |= FontFlags.FixedPitch;
  14612. properties.defaultWidth = defaultWidth;
  14613. properties.widths = glyphsWidths;
  14614. properties.defaultVMetrics = defaultVMetrics;
  14615. properties.vmetrics = glyphsVMetrics;
  14616. },
  14617. isSerifFont: function PartialEvaluator_isSerifFont(baseFontName) {
  14618. // Simulating descriptor flags attribute
  14619. var fontNameWoStyle = baseFontName.split('-')[0];
  14620. return (fontNameWoStyle in serifFonts) ||
  14621. (fontNameWoStyle.search(/serif/gi) !== -1);
  14622. },
  14623. getBaseFontMetrics: function PartialEvaluator_getBaseFontMetrics(name) {
  14624. var defaultWidth = 0, widths = [], monospace = false;
  14625. var lookupName = stdFontMap[name] || name;
  14626. if (!(lookupName in Metrics)) {
  14627. // Use default fonts for looking up font metrics if the passed
  14628. // font is not a base font
  14629. if (this.isSerifFont(name)) {
  14630. lookupName = 'Times-Roman';
  14631. } else {
  14632. lookupName = 'Helvetica';
  14633. }
  14634. }
  14635. var glyphWidths = Metrics[lookupName];
  14636. if (isNum(glyphWidths)) {
  14637. defaultWidth = glyphWidths;
  14638. monospace = true;
  14639. } else {
  14640. widths = glyphWidths;
  14641. }
  14642. return {
  14643. defaultWidth: defaultWidth,
  14644. monospace: monospace,
  14645. widths: widths
  14646. };
  14647. },
  14648. translateFont: function PartialEvaluator_translateFont(dict,
  14649. xref) {
  14650. var baseDict = dict;
  14651. var type = dict.get('Subtype');
  14652. assertWellFormed(isName(type), 'invalid font Subtype');
  14653. var composite = false;
  14654. if (type.name == 'Type0') {
  14655. // If font is a composite
  14656. // - get the descendant font
  14657. // - set the type according to the descendant font
  14658. // - get the FontDescriptor from the descendant font
  14659. var df = dict.get('DescendantFonts');
  14660. if (!df)
  14661. error('Descendant fonts are not specified');
  14662. dict = isArray(df) ? xref.fetchIfRef(df[0]) : df;
  14663. type = dict.get('Subtype');
  14664. assertWellFormed(isName(type), 'invalid font Subtype');
  14665. composite = true;
  14666. }
  14667. var maxCharIndex = composite ? 0xFFFF : 0xFF;
  14668. var descriptor = dict.get('FontDescriptor');
  14669. if (!descriptor) {
  14670. if (type.name == 'Type3') {
  14671. // FontDescriptor is only required for Type3 fonts when the document
  14672. // is a tagged pdf. Create a barbebones one to get by.
  14673. descriptor = new Dict();
  14674. descriptor.set('FontName', new Name(type.name));
  14675. } else {
  14676. // Before PDF 1.5 if the font was one of the base 14 fonts, having a
  14677. // FontDescriptor was not required.
  14678. // This case is here for compatibility.
  14679. var baseFontName = dict.get('BaseFont');
  14680. if (!isName(baseFontName))
  14681. error('Base font is not specified');
  14682. // Using base font name as a font name.
  14683. baseFontName = baseFontName.name.replace(/[,_]/g, '-');
  14684. var metrics = this.getBaseFontMetrics(baseFontName);
  14685. // Simulating descriptor flags attribute
  14686. var fontNameWoStyle = baseFontName.split('-')[0];
  14687. var flags = (
  14688. this.isSerifFont(fontNameWoStyle) ? FontFlags.Serif : 0) |
  14689. (metrics.monospace ? FontFlags.FixedPitch : 0) |
  14690. (symbolsFonts[fontNameWoStyle] ? FontFlags.Symbolic :
  14691. FontFlags.Nonsymbolic);
  14692. var properties = {
  14693. type: type.name,
  14694. name: baseFontName,
  14695. widths: metrics.widths,
  14696. defaultWidth: metrics.defaultWidth,
  14697. flags: flags,
  14698. firstChar: 0,
  14699. lastChar: maxCharIndex
  14700. };
  14701. this.extractDataStructures(dict, dict, xref, properties);
  14702. return new Font(baseFontName, null, properties);
  14703. }
  14704. }
  14705. // According to the spec if 'FontDescriptor' is declared, 'FirstChar',
  14706. // 'LastChar' and 'Widths' should exist too, but some PDF encoders seem
  14707. // to ignore this rule when a variant of a standart font is used.
  14708. // TODO Fill the width array depending on which of the base font this is
  14709. // a variant.
  14710. var firstChar = dict.get('FirstChar') || 0;
  14711. var lastChar = dict.get('LastChar') || maxCharIndex;
  14712. var fontName = descriptor.get('FontName');
  14713. var baseFont = dict.get('BaseFont');
  14714. // Some bad pdf's have a string as the font name.
  14715. if (isString(fontName)) {
  14716. fontName = new Name(fontName);
  14717. }
  14718. if (isString(baseFont)) {
  14719. baseFont = new Name(baseFont);
  14720. }
  14721. if (type.name !== 'Type3') {
  14722. var fontNameStr = fontName && fontName.name;
  14723. var baseFontStr = baseFont && baseFont.name;
  14724. if (fontNameStr !== baseFontStr) {
  14725. info('The FontDescriptor\'s FontName is "' + fontNameStr +
  14726. '" but should be the same as the Font\'s BaseFont "' +
  14727. baseFontStr + '"');
  14728. }
  14729. }
  14730. fontName = fontName || baseFont;
  14731. assertWellFormed(isName(fontName), 'invalid font name');
  14732. var fontFile = descriptor.get('FontFile', 'FontFile2', 'FontFile3');
  14733. if (fontFile) {
  14734. if (fontFile.dict) {
  14735. var subtype = fontFile.dict.get('Subtype');
  14736. if (subtype)
  14737. subtype = subtype.name;
  14738. var length1 = fontFile.dict.get('Length1');
  14739. var length2 = fontFile.dict.get('Length2');
  14740. }
  14741. }
  14742. var properties = {
  14743. type: type.name,
  14744. name: fontName.name,
  14745. subtype: subtype,
  14746. file: fontFile,
  14747. length1: length1,
  14748. length2: length2,
  14749. loadedName: baseDict.loadedName,
  14750. composite: composite,
  14751. wideChars: composite,
  14752. fixedPitch: false,
  14753. fontMatrix: dict.get('FontMatrix') || FONT_IDENTITY_MATRIX,
  14754. firstChar: firstChar || 0,
  14755. lastChar: lastChar || maxCharIndex,
  14756. bbox: descriptor.get('FontBBox'),
  14757. ascent: descriptor.get('Ascent'),
  14758. descent: descriptor.get('Descent'),
  14759. xHeight: descriptor.get('XHeight'),
  14760. capHeight: descriptor.get('CapHeight'),
  14761. flags: descriptor.get('Flags'),
  14762. italicAngle: descriptor.get('ItalicAngle'),
  14763. coded: false
  14764. };
  14765. if (composite) {
  14766. var cidEncoding = baseDict.get('Encoding');
  14767. if (isName(cidEncoding)) {
  14768. properties.cidEncoding = cidEncoding.name;
  14769. properties.vertical = /-V$/.test(cidEncoding.name);
  14770. }
  14771. properties.cmap = CMapFactory.create(cidEncoding);
  14772. }
  14773. this.extractWidths(dict, xref, descriptor, properties);
  14774. this.extractDataStructures(dict, baseDict, xref, properties);
  14775. if (type.name === 'Type3') {
  14776. properties.coded = true;
  14777. }
  14778. return new Font(fontName.name, fontFile, properties);
  14779. }
  14780. };
  14781. PartialEvaluator.optimizeQueue =
  14782. function PartialEvaluator_optimizeQueue(queue) {
  14783. function squash(array, index, howMany, element) {
  14784. if (isArray(array)) {
  14785. array.splice(index, howMany, element);
  14786. } else {
  14787. // Replace the element.
  14788. array[index] = element;
  14789. // Shift everything after the element up.
  14790. var sub = array.subarray(index + howMany);
  14791. array.set(sub, index + 1);
  14792. }
  14793. }
  14794. var fnArray = queue.fnArray, argsArray = queue.argsArray;
  14795. // grouping paintInlineImageXObject's into paintInlineImageXObjectGroup
  14796. // searching for (save, transform, paintInlineImageXObject, restore)+
  14797. var MIN_IMAGES_IN_INLINE_IMAGES_BLOCK = 10;
  14798. var MAX_IMAGES_IN_INLINE_IMAGES_BLOCK = 200;
  14799. var MAX_WIDTH = 1000;
  14800. var IMAGE_PADDING = 1;
  14801. for (var i = 0, ii = argsArray.length; i < ii; i++) {
  14802. if (fnArray[i] === OPS.paintInlineImageXObject &&
  14803. fnArray[i - 2] === OPS.save && fnArray[i - 1] === OPS.transform &&
  14804. fnArray[i + 1] === OPS.restore) {
  14805. var j = i - 2;
  14806. for (i += 2; i < ii && fnArray[i - 4] === fnArray[i]; i++) {
  14807. }
  14808. var count = Math.min((i - j) >> 2,
  14809. MAX_IMAGES_IN_INLINE_IMAGES_BLOCK);
  14810. if (count < MIN_IMAGES_IN_INLINE_IMAGES_BLOCK) {
  14811. continue;
  14812. }
  14813. // assuming that heights of those image is too small (~1 pixel)
  14814. // packing as much as possible by lines
  14815. var maxX = 0;
  14816. var map = [], maxLineHeight = 0;
  14817. var currentX = IMAGE_PADDING, currentY = IMAGE_PADDING;
  14818. for (var q = 0; q < count; q++) {
  14819. var transform = argsArray[j + (q << 2) + 1];
  14820. var img = argsArray[j + (q << 2) + 2][0];
  14821. if (currentX + img.width > MAX_WIDTH) {
  14822. // starting new line
  14823. maxX = Math.max(maxX, currentX);
  14824. currentY += maxLineHeight + 2 * IMAGE_PADDING;
  14825. currentX = 0;
  14826. maxLineHeight = 0;
  14827. }
  14828. map.push({
  14829. transform: transform,
  14830. x: currentX, y: currentY,
  14831. w: img.width, h: img.height
  14832. });
  14833. currentX += img.width + 2 * IMAGE_PADDING;
  14834. maxLineHeight = Math.max(maxLineHeight, img.height);
  14835. }
  14836. var imgWidth = Math.max(maxX, currentX) + IMAGE_PADDING;
  14837. var imgHeight = currentY + maxLineHeight + IMAGE_PADDING;
  14838. var imgData = new Uint8Array(imgWidth * imgHeight * 4);
  14839. var imgRowSize = imgWidth << 2;
  14840. for (var q = 0; q < count; q++) {
  14841. var data = argsArray[j + (q << 2) + 2][0].data;
  14842. // copy image by lines and extends pixels into padding
  14843. var rowSize = map[q].w << 2;
  14844. var dataOffset = 0;
  14845. var offset = (map[q].x + map[q].y * imgWidth) << 2;
  14846. imgData.set(
  14847. data.subarray(0, rowSize), offset - imgRowSize);
  14848. for (var k = 0, kk = map[q].h; k < kk; k++) {
  14849. imgData.set(
  14850. data.subarray(dataOffset, dataOffset + rowSize), offset);
  14851. dataOffset += rowSize;
  14852. offset += imgRowSize;
  14853. }
  14854. imgData.set(
  14855. data.subarray(dataOffset - rowSize, dataOffset), offset);
  14856. while (offset >= 0) {
  14857. data[offset - 4] = data[offset];
  14858. data[offset - 3] = data[offset + 1];
  14859. data[offset - 2] = data[offset + 2];
  14860. data[offset - 1] = data[offset + 3];
  14861. data[offset + rowSize] = data[offset + rowSize - 4];
  14862. data[offset + rowSize + 1] = data[offset + rowSize - 3];
  14863. data[offset + rowSize + 2] = data[offset + rowSize - 2];
  14864. data[offset + rowSize + 3] = data[offset + rowSize - 1];
  14865. offset -= imgRowSize;
  14866. }
  14867. }
  14868. // replacing queue items
  14869. squash(fnArray, j, count * 4, OPS.paintInlineImageXObjectGroup);
  14870. argsArray.splice(j, count * 4,
  14871. [{width: imgWidth, height: imgHeight, data: imgData}, map]);
  14872. i = j;
  14873. ii = argsArray.length;
  14874. }
  14875. }
  14876. // grouping paintImageMaskXObject's into paintImageMaskXObjectGroup
  14877. // searching for (save, transform, paintImageMaskXObject, restore)+
  14878. var MIN_IMAGES_IN_MASKS_BLOCK = 10;
  14879. var MAX_IMAGES_IN_MASKS_BLOCK = 100;
  14880. for (var i = 0, ii = argsArray.length; i < ii; i++) {
  14881. if (fnArray[i] === OPS.paintImageMaskXObject &&
  14882. fnArray[i - 2] === OPS.save && fnArray[i - 1] === OPS.transform &&
  14883. fnArray[i + 1] === OPS.restore) {
  14884. var j = i - 2;
  14885. for (i += 2; i < ii && fnArray[i - 4] === fnArray[i]; i++) {
  14886. }
  14887. var count = Math.min((i - j) >> 2,
  14888. MAX_IMAGES_IN_MASKS_BLOCK);
  14889. if (count < MIN_IMAGES_IN_MASKS_BLOCK) {
  14890. continue;
  14891. }
  14892. var images = [];
  14893. for (var q = 0; q < count; q++) {
  14894. var transform = argsArray[j + (q << 2) + 1];
  14895. var maskParams = argsArray[j + (q << 2) + 2][0];
  14896. images.push({data: maskParams.data, width: maskParams.width,
  14897. height: maskParams.height, transform: transform});
  14898. }
  14899. // replacing queue items
  14900. squash(fnArray, j, count * 4, OPS.paintImageMaskXObjectGroup);
  14901. argsArray.splice(j, count * 4, [images]);
  14902. i = j;
  14903. ii = argsArray.length;
  14904. }
  14905. }
  14906. };
  14907. return PartialEvaluator;
  14908. })();
  14909. var OperatorList = (function OperatorListClosure() {
  14910. var CHUNK_SIZE = 100;
  14911. function getTransfers(queue) {
  14912. var transfers = [];
  14913. var fnArray = queue.fnArray, argsArray = queue.argsArray;
  14914. for (var i = 0, ii = queue.length; i < ii; i++) {
  14915. switch (fnArray[i]) {
  14916. case OPS.paintInlineImageXObject:
  14917. case OPS.paintInlineImageXObjectGroup:
  14918. case OPS.paintImageMaskXObject:
  14919. var arg = argsArray[i][0]; // first param in imgData
  14920. transfers.push(arg.data.buffer);
  14921. break;
  14922. }
  14923. }
  14924. return transfers;
  14925. }
  14926. function OperatorList(messageHandler, pageIndex) {
  14927. this.messageHandler = messageHandler;
  14928. // When there isn't a message handler the fn array needs to be able to grow
  14929. // since we can't flush the operators.
  14930. if (messageHandler) {
  14931. this.fnArray = new Uint8Array(CHUNK_SIZE);
  14932. } else {
  14933. this.fnArray = [];
  14934. }
  14935. this.argsArray = [];
  14936. this.dependencies = {},
  14937. this.pageIndex = pageIndex;
  14938. this.fnIndex = 0;
  14939. }
  14940. OperatorList.prototype = {
  14941. get length() {
  14942. return this.argsArray.length;
  14943. },
  14944. addOp: function(fn, args) {
  14945. if (this.messageHandler) {
  14946. this.fnArray[this.fnIndex++] = fn;
  14947. this.argsArray.push(args);
  14948. if (this.fnIndex >= CHUNK_SIZE) {
  14949. this.flush();
  14950. }
  14951. } else {
  14952. this.fnArray.push(fn);
  14953. this.argsArray.push(args);
  14954. }
  14955. },
  14956. addDependency: function(dependency) {
  14957. if (dependency in this.dependencies) {
  14958. return;
  14959. }
  14960. this.dependencies[dependency] = true;
  14961. this.addOp(OPS.dependency, [dependency]);
  14962. },
  14963. addDependencies: function(dependencies) {
  14964. for (var key in dependencies) {
  14965. this.addDependency(key);
  14966. }
  14967. },
  14968. addOpList: function(opList) {
  14969. Util.extendObj(this.dependencies, opList.dependencies);
  14970. for (var i = 0, ii = opList.length; i < ii; i++) {
  14971. this.addOp(opList.fnArray[i], opList.argsArray[i]);
  14972. }
  14973. },
  14974. getIR: function() {
  14975. return {
  14976. fnArray: this.fnArray,
  14977. argsArray: this.argsArray,
  14978. length: this.length
  14979. };
  14980. },
  14981. flush: function(lastChunk) {
  14982. PartialEvaluator.optimizeQueue(this);
  14983. var transfers = getTransfers(this);
  14984. this.messageHandler.send('RenderPageChunk', {
  14985. operatorList: {
  14986. fnArray: this.fnArray,
  14987. argsArray: this.argsArray,
  14988. lastChunk: lastChunk,
  14989. length: this.length
  14990. },
  14991. pageIndex: this.pageIndex
  14992. }, null, transfers);
  14993. this.dependencies = [];
  14994. this.fnIndex = 0;
  14995. this.argsArray = [];
  14996. }
  14997. };
  14998. return OperatorList;
  14999. })();
  15000. var TextState = (function TextStateClosure() {
  15001. function TextState() {
  15002. this.fontSize = 0;
  15003. this.textMatrix = [1, 0, 0, 1, 0, 0];
  15004. this.stateStack = [];
  15005. //textState variables
  15006. this.leading = 0;
  15007. this.textHScale = 1;
  15008. this.textRise = 0;
  15009. }
  15010. TextState.prototype = {
  15011. initialiseTextObj: function TextState_initialiseTextObj() {
  15012. var m = this.textMatrix;
  15013. m[0] = 1, m[1] = 0, m[2] = 0, m[3] = 1, m[4] = 0, m[5] = 0;
  15014. },
  15015. setTextMatrix: function TextState_setTextMatrix(a, b, c, d, e, f) {
  15016. var m = this.textMatrix;
  15017. m[0] = a, m[1] = b, m[2] = c, m[3] = d, m[4] = e, m[5] = f;
  15018. },
  15019. translateTextMatrix: function TextState_translateTextMatrix(x, y) {
  15020. var m = this.textMatrix;
  15021. m[4] = m[0] * x + m[2] * y + m[4];
  15022. m[5] = m[1] * x + m[3] * y + m[5];
  15023. },
  15024. calcRenderParams: function TextState_calcRenderingParams(cm) {
  15025. var tm = this.textMatrix;
  15026. var a = this.fontSize;
  15027. var b = a * this.textHScale;
  15028. var c = this.textRise;
  15029. var vScale = Math.sqrt((tm[2] * tm[2]) + (tm[3] * tm[3]));
  15030. var angle = Math.atan2(tm[1], tm[0]);
  15031. var m0 = tm[0] * cm[0] + tm[1] * cm[2];
  15032. var m1 = tm[0] * cm[1] + tm[1] * cm[3];
  15033. var m2 = tm[2] * cm[0] + tm[3] * cm[2];
  15034. var m3 = tm[2] * cm[1] + tm[3] * cm[3];
  15035. var m4 = tm[4] * cm[0] + tm[5] * cm[2] + cm[4];
  15036. var m5 = tm[4] * cm[1] + tm[5] * cm[3] + cm[5];
  15037. var renderMatrix = [
  15038. b * m0,
  15039. b * m1,
  15040. a * m2,
  15041. a * m3,
  15042. c * m2 + m4,
  15043. c * m3 + m5
  15044. ];
  15045. return {
  15046. renderMatrix: renderMatrix,
  15047. vScale: vScale,
  15048. angle: angle
  15049. };
  15050. },
  15051. };
  15052. return TextState;
  15053. })();
  15054. var EvalState = (function EvalStateClosure() {
  15055. function EvalState() {
  15056. this.font = null;
  15057. this.textRenderingMode = TextRenderingMode.FILL;
  15058. }
  15059. EvalState.prototype = {
  15060. clone: function CanvasExtraState_clone() {
  15061. return Object.create(this);
  15062. },
  15063. };
  15064. return EvalState;
  15065. })();
  15066. var EvaluatorPreprocessor = (function EvaluatorPreprocessor() {
  15067. // Specifies properties for each command
  15068. //
  15069. // If variableArgs === true: [0, `numArgs`] expected
  15070. // If variableArgs === false: exactly `numArgs` expected
  15071. var OP_MAP = {
  15072. // Graphic state
  15073. w: { id: OPS.setLineWidth, numArgs: 1, variableArgs: false },
  15074. J: { id: OPS.setLineCap, numArgs: 1, variableArgs: false },
  15075. j: { id: OPS.setLineJoin, numArgs: 1, variableArgs: false },
  15076. M: { id: OPS.setMiterLimit, numArgs: 1, variableArgs: false },
  15077. d: { id: OPS.setDash, numArgs: 2, variableArgs: false },
  15078. ri: { id: OPS.setRenderingIntent, numArgs: 1, variableArgs: false },
  15079. i: { id: OPS.setFlatness, numArgs: 1, variableArgs: false },
  15080. gs: { id: OPS.setGState, numArgs: 1, variableArgs: false },
  15081. q: { id: OPS.save, numArgs: 0, variableArgs: false },
  15082. Q: { id: OPS.restore, numArgs: 0, variableArgs: false },
  15083. cm: { id: OPS.transform, numArgs: 6, variableArgs: false },
  15084. // Path
  15085. m: { id: OPS.moveTo, numArgs: 2, variableArgs: false },
  15086. l: { id: OPS.lineTo, numArgs: 2, variableArgs: false },
  15087. c: { id: OPS.curveTo, numArgs: 6, variableArgs: false },
  15088. v: { id: OPS.curveTo2, numArgs: 4, variableArgs: false },
  15089. y: { id: OPS.curveTo3, numArgs: 4, variableArgs: false },
  15090. h: { id: OPS.closePath, numArgs: 0, variableArgs: false },
  15091. re: { id: OPS.rectangle, numArgs: 4, variableArgs: false },
  15092. S: { id: OPS.stroke, numArgs: 0, variableArgs: false },
  15093. s: { id: OPS.closeStroke, numArgs: 0, variableArgs: false },
  15094. f: { id: OPS.fill, numArgs: 0, variableArgs: false },
  15095. F: { id: OPS.fill, numArgs: 0, variableArgs: false },
  15096. 'f*': { id: OPS.eoFill, numArgs: 0, variableArgs: false },
  15097. B: { id: OPS.fillStroke, numArgs: 0, variableArgs: false },
  15098. 'B*': { id: OPS.eoFillStroke, numArgs: 0, variableArgs: false },
  15099. b: { id: OPS.closeFillStroke, numArgs: 0, variableArgs: false },
  15100. 'b*': { id: OPS.closeEOFillStroke, numArgs: 0, variableArgs: false },
  15101. n: { id: OPS.endPath, numArgs: 0, variableArgs: false },
  15102. // Clipping
  15103. W: { id: OPS.clip, numArgs: 0, variableArgs: false },
  15104. 'W*': { id: OPS.eoClip, numArgs: 0, variableArgs: false },
  15105. // Text
  15106. BT: { id: OPS.beginText, numArgs: 0, variableArgs: false },
  15107. ET: { id: OPS.endText, numArgs: 0, variableArgs: false },
  15108. Tc: { id: OPS.setCharSpacing, numArgs: 1, variableArgs: false },
  15109. Tw: { id: OPS.setWordSpacing, numArgs: 1, variableArgs: false },
  15110. Tz: { id: OPS.setHScale, numArgs: 1, variableArgs: false },
  15111. TL: { id: OPS.setLeading, numArgs: 1, variableArgs: false },
  15112. Tf: { id: OPS.setFont, numArgs: 2, variableArgs: false },
  15113. Tr: { id: OPS.setTextRenderingMode, numArgs: 1, variableArgs: false },
  15114. Ts: { id: OPS.setTextRise, numArgs: 1, variableArgs: false },
  15115. Td: { id: OPS.moveText, numArgs: 2, variableArgs: false },
  15116. TD: { id: OPS.setLeadingMoveText, numArgs: 2, variableArgs: false },
  15117. Tm: { id: OPS.setTextMatrix, numArgs: 6, variableArgs: false },
  15118. 'T*': { id: OPS.nextLine, numArgs: 0, variableArgs: false },
  15119. Tj: { id: OPS.showText, numArgs: 1, variableArgs: false },
  15120. TJ: { id: OPS.showSpacedText, numArgs: 1, variableArgs: false },
  15121. '\'': { id: OPS.nextLineShowText, numArgs: 1, variableArgs: false },
  15122. '"': { id: OPS.nextLineSetSpacingShowText, numArgs: 3,
  15123. variableArgs: false },
  15124. // Type3 fonts
  15125. d0: { id: OPS.setCharWidth, numArgs: 2, variableArgs: false },
  15126. d1: { id: OPS.setCharWidthAndBounds, numArgs: 6, variableArgs: false },
  15127. // Color
  15128. CS: { id: OPS.setStrokeColorSpace, numArgs: 1, variableArgs: false },
  15129. cs: { id: OPS.setFillColorSpace, numArgs: 1, variableArgs: false },
  15130. SC: { id: OPS.setStrokeColor, numArgs: 4, variableArgs: true },
  15131. SCN: { id: OPS.setStrokeColorN, numArgs: 33, variableArgs: true },
  15132. sc: { id: OPS.setFillColor, numArgs: 4, variableArgs: true },
  15133. scn: { id: OPS.setFillColorN, numArgs: 33, variableArgs: true },
  15134. G: { id: OPS.setStrokeGray, numArgs: 1, variableArgs: false },
  15135. g: { id: OPS.setFillGray, numArgs: 1, variableArgs: false },
  15136. RG: { id: OPS.setStrokeRGBColor, numArgs: 3, variableArgs: false },
  15137. rg: { id: OPS.setFillRGBColor, numArgs: 3, variableArgs: false },
  15138. K: { id: OPS.setStrokeCMYKColor, numArgs: 4, variableArgs: false },
  15139. k: { id: OPS.setFillCMYKColor, numArgs: 4, variableArgs: false },
  15140. // Shading
  15141. sh: { id: OPS.shadingFill, numArgs: 1, variableArgs: false },
  15142. // Images
  15143. BI: { id: OPS.beginInlineImage, numArgs: 0, variableArgs: false },
  15144. ID: { id: OPS.beginImageData, numArgs: 0, variableArgs: false },
  15145. EI: { id: OPS.endInlineImage, numArgs: 1, variableArgs: false },
  15146. // XObjects
  15147. Do: { id: OPS.paintXObject, numArgs: 1, variableArgs: false },
  15148. MP: { id: OPS.markPoint, numArgs: 1, variableArgs: false },
  15149. DP: { id: OPS.markPointProps, numArgs: 2, variableArgs: false },
  15150. BMC: { id: OPS.beginMarkedContent, numArgs: 1, variableArgs: false },
  15151. BDC: { id: OPS.beginMarkedContentProps, numArgs: 2,
  15152. variableArgs: false },
  15153. EMC: { id: OPS.endMarkedContent, numArgs: 0, variableArgs: false },
  15154. // Compatibility
  15155. BX: { id: OPS.beginCompat, numArgs: 0, variableArgs: false },
  15156. EX: { id: OPS.endCompat, numArgs: 0, variableArgs: false },
  15157. // (reserved partial commands for the lexer)
  15158. BM: null,
  15159. BD: null,
  15160. 'true': null,
  15161. fa: null,
  15162. fal: null,
  15163. fals: null,
  15164. 'false': null,
  15165. nu: null,
  15166. nul: null,
  15167. 'null': null
  15168. };
  15169. function EvaluatorPreprocessor(stream, xref) {
  15170. // TODO(mduan): pass array of knownCommands rather than OP_MAP
  15171. // dictionary
  15172. this.parser = new Parser(new Lexer(stream, OP_MAP), false, xref);
  15173. this.ctm = new Float32Array([1, 0, 0, 1, 0, 0]);
  15174. this.savedStates = [];
  15175. }
  15176. EvaluatorPreprocessor.prototype = {
  15177. get savedStatesDepth() {
  15178. return this.savedStates.length;
  15179. },
  15180. read: function EvaluatorPreprocessor_read() {
  15181. var args = [];
  15182. while (true) {
  15183. var obj = this.parser.getObj();
  15184. if (isEOF(obj)) {
  15185. return null; // no more commands
  15186. }
  15187. if (!isCmd(obj)) {
  15188. // argument
  15189. if (obj !== null && obj !== undefined) {
  15190. args.push(obj instanceof Dict ? obj.getAll() : obj);
  15191. assertWellFormed(args.length <= 33, 'Too many arguments');
  15192. }
  15193. continue;
  15194. }
  15195. var cmd = obj.cmd;
  15196. // Check that the command is valid
  15197. var opSpec = OP_MAP[cmd];
  15198. if (!opSpec) {
  15199. warn('Unknown command "' + cmd + '"');
  15200. continue;
  15201. }
  15202. var fn = opSpec.id;
  15203. // Validate the number of arguments for the command
  15204. if (opSpec.variableArgs) {
  15205. if (args.length > opSpec.numArgs) {
  15206. info('Command ' + fn + ': expected [0,' + opSpec.numArgs +
  15207. '] args, but received ' + args.length + ' args');
  15208. }
  15209. } else {
  15210. if (args.length < opSpec.numArgs) {
  15211. // If we receive too few args, it's not possible to possible
  15212. // to execute the command, so skip the command
  15213. info('Command ' + fn + ': because expected ' +
  15214. opSpec.numArgs + ' args, but received ' + args.length +
  15215. ' args; skipping');
  15216. args = [];
  15217. continue;
  15218. } else if (args.length > opSpec.numArgs) {
  15219. info('Command ' + fn + ': expected ' + opSpec.numArgs +
  15220. ' args, but received ' + args.length + ' args');
  15221. }
  15222. }
  15223. // TODO figure out how to type-check vararg functions
  15224. this.preprocessCommand(fn, args);
  15225. return {fn: fn, args: args};
  15226. }
  15227. },
  15228. getState: function EvaluatorPreprocessor_getState() {
  15229. return {
  15230. ctm: this.ctm
  15231. };
  15232. },
  15233. setState: function EvaluatorPreprocessor_setState(state) {
  15234. this.ctm = state.ctm;
  15235. },
  15236. preprocessCommand: function EvaluatorPreprocessor_preprocessCommand(fn,
  15237. args) {
  15238. switch (fn | 0) {
  15239. case OPS.save:
  15240. this.savedStates.push(this.getState());
  15241. break;
  15242. case OPS.restore:
  15243. var previousState = this.savedStates.pop();
  15244. if (previousState) {
  15245. this.setState(previousState);
  15246. }
  15247. break;
  15248. case OPS.transform:
  15249. var ctm = this.ctm;
  15250. var m = new Float32Array(6);
  15251. m[0] = ctm[0] * args[0] + ctm[2] * args[1];
  15252. m[1] = ctm[1] * args[0] + ctm[3] * args[1];
  15253. m[2] = ctm[0] * args[2] + ctm[2] * args[3];
  15254. m[3] = ctm[1] * args[2] + ctm[3] * args[3];
  15255. m[4] = ctm[0] * args[4] + ctm[2] * args[5] + ctm[4];
  15256. m[5] = ctm[1] * args[4] + ctm[3] * args[5] + ctm[5];
  15257. this.ctm = m;
  15258. break;
  15259. }
  15260. }
  15261. };
  15262. return EvaluatorPreprocessor;
  15263. })();
  15264. // Unicode Private Use Area
  15265. var CMAP_GLYPH_OFFSET = 0xE000;
  15266. var GLYPH_AREA_SIZE = 0x1900;
  15267. var SYMBOLIC_FONT_GLYPH_OFFSET = 0xF000;
  15268. // PDF Glyph Space Units are one Thousandth of a TextSpace Unit
  15269. // except for Type 3 fonts
  15270. var PDF_GLYPH_SPACE_UNITS = 1000;
  15271. // Hinting is currently disabled due to unknown problems on windows
  15272. // in tracemonkey and various other pdfs with type1 fonts.
  15273. var HINTING_ENABLED = false;
  15274. // Accented charactars are not displayed properly on windows, using this flag
  15275. // to control analysis of seac charstrings.
  15276. var SEAC_ANALYSIS_ENABLED = false;
  15277. var FontFlags = {
  15278. FixedPitch: 1,
  15279. Serif: 2,
  15280. Symbolic: 4,
  15281. Script: 8,
  15282. Nonsymbolic: 32,
  15283. Italic: 64,
  15284. AllCap: 65536,
  15285. SmallCap: 131072,
  15286. ForceBold: 262144
  15287. };
  15288. var Encodings = {
  15289. ExpertEncoding: ['', '', '', '', '', '', '', '', '', '', '', '', '', '', '',
  15290. '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '',
  15291. 'space', 'exclamsmall', 'Hungarumlautsmall', '', 'dollaroldstyle',
  15292. 'dollarsuperior', 'ampersandsmall', 'Acutesmall', 'parenleftsuperior',
  15293. 'parenrightsuperior', 'twodotenleader', 'onedotenleader', 'comma',
  15294. 'hyphen', 'period', 'fraction', 'zerooldstyle', 'oneoldstyle',
  15295. 'twooldstyle', 'threeoldstyle', 'fouroldstyle', 'fiveoldstyle',
  15296. 'sixoldstyle', 'sevenoldstyle', 'eightoldstyle', 'nineoldstyle', 'colon',
  15297. 'semicolon', 'commasuperior', 'threequartersemdash', 'periodsuperior',
  15298. 'questionsmall', '', 'asuperior', 'bsuperior', 'centsuperior', 'dsuperior',
  15299. 'esuperior', '', '', 'isuperior', '', '', 'lsuperior', 'msuperior',
  15300. 'nsuperior', 'osuperior', '', '', 'rsuperior', 'ssuperior', 'tsuperior',
  15301. '', 'ff', 'fi', 'fl', 'ffi', 'ffl', 'parenleftinferior', '',
  15302. 'parenrightinferior', 'Circumflexsmall', 'hyphensuperior', 'Gravesmall',
  15303. 'Asmall', 'Bsmall', 'Csmall', 'Dsmall', 'Esmall', 'Fsmall', 'Gsmall',
  15304. 'Hsmall', 'Ismall', 'Jsmall', 'Ksmall', 'Lsmall', 'Msmall', 'Nsmall',
  15305. 'Osmall', 'Psmall', 'Qsmall', 'Rsmall', 'Ssmall', 'Tsmall', 'Usmall',
  15306. 'Vsmall', 'Wsmall', 'Xsmall', 'Ysmall', 'Zsmall', 'colonmonetary',
  15307. 'onefitted', 'rupiah', 'Tildesmall', '', '', '', '', '', '', '', '', '',
  15308. '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '',
  15309. '', '', '', '', '', '', 'exclamdownsmall', 'centoldstyle', 'Lslashsmall',
  15310. '', '', 'Scaronsmall', 'Zcaronsmall', 'Dieresissmall', 'Brevesmall',
  15311. 'Caronsmall', '', 'Dotaccentsmall', '', '', 'Macronsmall', '', '',
  15312. 'figuredash', 'hypheninferior', '', '', 'Ogoneksmall', 'Ringsmall',
  15313. 'Cedillasmall', '', '', '', 'onequarter', 'onehalf', 'threequarters',
  15314. 'questiondownsmall', 'oneeighth', 'threeeighths', 'fiveeighths',
  15315. 'seveneighths', 'onethird', 'twothirds', '', '', 'zerosuperior',
  15316. 'onesuperior', 'twosuperior', 'threesuperior', 'foursuperior',
  15317. 'fivesuperior', 'sixsuperior', 'sevensuperior', 'eightsuperior',
  15318. 'ninesuperior', 'zeroinferior', 'oneinferior', 'twoinferior',
  15319. 'threeinferior', 'fourinferior', 'fiveinferior', 'sixinferior',
  15320. 'seveninferior', 'eightinferior', 'nineinferior', 'centinferior',
  15321. 'dollarinferior', 'periodinferior', 'commainferior', 'Agravesmall',
  15322. 'Aacutesmall', 'Acircumflexsmall', 'Atildesmall', 'Adieresissmall',
  15323. 'Aringsmall', 'AEsmall', 'Ccedillasmall', 'Egravesmall', 'Eacutesmall',
  15324. 'Ecircumflexsmall', 'Edieresissmall', 'Igravesmall', 'Iacutesmall',
  15325. 'Icircumflexsmall', 'Idieresissmall', 'Ethsmall', 'Ntildesmall',
  15326. 'Ogravesmall', 'Oacutesmall', 'Ocircumflexsmall', 'Otildesmall',
  15327. 'Odieresissmall', 'OEsmall', 'Oslashsmall', 'Ugravesmall', 'Uacutesmall',
  15328. 'Ucircumflexsmall', 'Udieresissmall', 'Yacutesmall', 'Thornsmall',
  15329. 'Ydieresissmall'],
  15330. MacExpertEncoding: ['', '', '', '', '', '', '', '', '', '', '', '', '', '',
  15331. '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '',
  15332. 'space', 'exclamsmall', 'Hungarumlautsmall', 'centoldstyle',
  15333. 'dollaroldstyle', 'dollarsuperior', 'ampersandsmall', 'Acutesmall',
  15334. 'parenleftsuperior', 'parenrightsuperior', 'twodotenleader',
  15335. 'onedotenleader', 'comma', 'hyphen', 'period', 'fraction', 'zerooldstyle',
  15336. 'oneoldstyle', 'twooldstyle', 'threeoldstyle', 'fouroldstyle',
  15337. 'fiveoldstyle', 'sixoldstyle', 'sevenoldstyle', 'eightoldstyle',
  15338. 'nineoldstyle', 'colon', 'semicolon', '', 'threequartersemdash', '',
  15339. 'questionsmall', '', '', '', '', 'Ethsmall', '', '', 'onequarter',
  15340. 'onehalf', 'threequarters', 'oneeighth', 'threeeighths', 'fiveeighths',
  15341. 'seveneighths', 'onethird', 'twothirds', '', '', '', '', '', '', 'ff',
  15342. 'fi', 'fl', 'ffi', 'ffl', 'parenleftinferior', '', 'parenrightinferior',
  15343. 'Circumflexsmall', 'hypheninferior', 'Gravesmall', 'Asmall', 'Bsmall',
  15344. 'Csmall', 'Dsmall', 'Esmall', 'Fsmall', 'Gsmall', 'Hsmall', 'Ismall',
  15345. 'Jsmall', 'Ksmall', 'Lsmall', 'Msmall', 'Nsmall', 'Osmall', 'Psmall',
  15346. 'Qsmall', 'Rsmall', 'Ssmall', 'Tsmall', 'Usmall', 'Vsmall', 'Wsmall',
  15347. 'Xsmall', 'Ysmall', 'Zsmall', 'colonmonetary', 'onefitted', 'rupiah',
  15348. 'Tildesmall', '', '', 'asuperior', 'centsuperior', '', '', '', '',
  15349. 'Aacutesmall', 'Agravesmall', 'Acircumflexsmall', 'Adieresissmall',
  15350. 'Atildesmall', 'Aringsmall', 'Ccedillasmall', 'Eacutesmall', 'Egravesmall',
  15351. 'Ecircumflexsmall', 'Edieresissmall', 'Iacutesmall', 'Igravesmall',
  15352. 'Icircumflexsmall', 'Idieresissmall', 'Ntildesmall', 'Oacutesmall',
  15353. 'Ogravesmall', 'Ocircumflexsmall', 'Odieresissmall', 'Otildesmall',
  15354. 'Uacutesmall', 'Ugravesmall', 'Ucircumflexsmall', 'Udieresissmall', '',
  15355. 'eightsuperior', 'fourinferior', 'threeinferior', 'sixinferior',
  15356. 'eightinferior', 'seveninferior', 'Scaronsmall', '', 'centinferior',
  15357. 'twoinferior', '', 'Dieresissmall', '', 'Caronsmall', 'osuperior',
  15358. 'fiveinferior', '', 'commainferior', 'periodinferior', 'Yacutesmall', '',
  15359. 'dollarinferior', '', 'Thornsmall', '', 'nineinferior', 'zeroinferior',
  15360. 'Zcaronsmall', 'AEsmall', 'Oslashsmall', 'questiondownsmall',
  15361. 'oneinferior', 'Lslashsmall', '', '', '', '', '', '', 'Cedillasmall', '',
  15362. '', '', '', '', 'OEsmall', 'figuredash', 'hyphensuperior', '', '', '', '',
  15363. 'exclamdownsmall', '', 'Ydieresissmall', '', 'onesuperior', 'twosuperior',
  15364. 'threesuperior', 'foursuperior', 'fivesuperior', 'sixsuperior',
  15365. 'sevensuperior', 'ninesuperior', 'zerosuperior', '', 'esuperior',
  15366. 'rsuperior', 'tsuperior', '', '', 'isuperior', 'ssuperior', 'dsuperior',
  15367. '', '', '', '', '', 'lsuperior', 'Ogoneksmall', 'Brevesmall',
  15368. 'Macronsmall', 'bsuperior', 'nsuperior', 'msuperior', 'commasuperior',
  15369. 'periodsuperior', 'Dotaccentsmall', 'Ringsmall'],
  15370. MacRomanEncoding: ['', '', '', '', '', '', '', '', '', '', '', '', '', '', '',
  15371. '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '',
  15372. 'space', 'exclam', 'quotedbl', 'numbersign', 'dollar', 'percent',
  15373. 'ampersand', 'quotesingle', 'parenleft', 'parenright', 'asterisk', 'plus',
  15374. 'comma', 'hyphen', 'period', 'slash', 'zero', 'one', 'two', 'three',
  15375. 'four', 'five', 'six', 'seven', 'eight', 'nine', 'colon', 'semicolon',
  15376. 'less', 'equal', 'greater', 'question', 'at', 'A', 'B', 'C', 'D', 'E', 'F',
  15377. 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U',
  15378. 'V', 'W', 'X', 'Y', 'Z', 'bracketleft', 'backslash', 'bracketright',
  15379. 'asciicircum', 'underscore', 'grave', 'a', 'b', 'c', 'd', 'e', 'f', 'g',
  15380. 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v',
  15381. 'w', 'x', 'y', 'z', 'braceleft', 'bar', 'braceright', 'asciitilde', '',
  15382. 'Adieresis', 'Aring', 'Ccedilla', 'Eacute', 'Ntilde', 'Odieresis',
  15383. 'Udieresis', 'aacute', 'agrave', 'acircumflex', 'adieresis', 'atilde',
  15384. 'aring', 'ccedilla', 'eacute', 'egrave', 'ecircumflex', 'edieresis',
  15385. 'iacute', 'igrave', 'icircumflex', 'idieresis', 'ntilde', 'oacute',
  15386. 'ograve', 'ocircumflex', 'odieresis', 'otilde', 'uacute', 'ugrave',
  15387. 'ucircumflex', 'udieresis', 'dagger', 'degree', 'cent', 'sterling',
  15388. 'section', 'bullet', 'paragraph', 'germandbls', 'registered', 'copyright',
  15389. 'trademark', 'acute', 'dieresis', 'notequal', 'AE', 'Oslash', 'infinity',
  15390. 'plusminus', 'lessequal', 'greaterequal', 'yen', 'mu', 'partialdiff',
  15391. 'summation', 'product', 'pi', 'integral', 'ordfeminine', 'ordmasculine',
  15392. 'Omega', 'ae', 'oslash', 'questiondown', 'exclamdown', 'logicalnot',
  15393. 'radical', 'florin', 'approxequal', 'Delta', 'guillemotleft',
  15394. 'guillemotright', 'ellipsis', '', 'Agrave', 'Atilde', 'Otilde', 'OE',
  15395. 'oe', 'endash', 'emdash', 'quotedblleft', 'quotedblright', 'quoteleft',
  15396. 'quoteright', 'divide', 'lozenge', 'ydieresis', 'Ydieresis', 'fraction',
  15397. 'currency', 'guilsinglleft', 'guilsinglright', 'fi', 'fl', 'daggerdbl',
  15398. 'periodcentered', 'quotesinglbase', 'quotedblbase', 'perthousand',
  15399. 'Acircumflex', 'Ecircumflex', 'Aacute', 'Edieresis', 'Egrave', 'Iacute',
  15400. 'Icircumflex', 'Idieresis', 'Igrave', 'Oacute', 'Ocircumflex', 'apple',
  15401. 'Ograve', 'Uacute', 'Ucircumflex', 'Ugrave', 'dotlessi', 'circumflex',
  15402. 'tilde', 'macron', 'breve', 'dotaccent', 'ring', 'cedilla', 'hungarumlaut',
  15403. 'ogonek', 'caron'],
  15404. StandardEncoding: ['', '', '', '', '', '', '', '', '', '', '', '', '', '', '',
  15405. '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '',
  15406. 'space', 'exclam', 'quotedbl', 'numbersign', 'dollar', 'percent',
  15407. 'ampersand', 'quoteright', 'parenleft', 'parenright', 'asterisk', 'plus',
  15408. 'comma', 'hyphen', 'period', 'slash', 'zero', 'one', 'two', 'three',
  15409. 'four', 'five', 'six', 'seven', 'eight', 'nine', 'colon', 'semicolon',
  15410. 'less', 'equal', 'greater', 'question', 'at', 'A', 'B', 'C', 'D', 'E', 'F',
  15411. 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U',
  15412. 'V', 'W', 'X', 'Y', 'Z', 'bracketleft', 'backslash', 'bracketright',
  15413. 'asciicircum', 'underscore', 'quoteleft', 'a', 'b', 'c', 'd', 'e', 'f',
  15414. 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u',
  15415. 'v', 'w', 'x', 'y', 'z', 'braceleft', 'bar', 'braceright', 'asciitilde',
  15416. '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '',
  15417. '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 'exclamdown',
  15418. 'cent', 'sterling', 'fraction', 'yen', 'florin', 'section', 'currency',
  15419. 'quotesingle', 'quotedblleft', 'guillemotleft', 'guilsinglleft',
  15420. 'guilsinglright', 'fi', 'fl', '', 'endash', 'dagger', 'daggerdbl',
  15421. 'periodcentered', '', 'paragraph', 'bullet', 'quotesinglbase',
  15422. 'quotedblbase', 'quotedblright', 'guillemotright', 'ellipsis',
  15423. 'perthousand', '', 'questiondown', '', 'grave', 'acute', 'circumflex',
  15424. 'tilde', 'macron', 'breve', 'dotaccent', 'dieresis', '', 'ring', 'cedilla',
  15425. '', 'hungarumlaut', 'ogonek', 'caron', 'emdash', '', '', '', '', '', '',
  15426. '', '', '', '', '', '', '', '', '', '', 'AE', '', 'ordfeminine', '', '',
  15427. '', '', 'Lslash', 'Oslash', 'OE', 'ordmasculine', '', '', '', '', '', 'ae',
  15428. '', '', '', 'dotlessi', '', '', 'lslash', 'oslash', 'oe', 'germandbls'],
  15429. WinAnsiEncoding: ['', '', '', '', '', '', '', '', '', '', '', '', '', '', '',
  15430. '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '',
  15431. 'space', 'exclam', 'quotedbl', 'numbersign', 'dollar', 'percent',
  15432. 'ampersand', 'quotesingle', 'parenleft', 'parenright', 'asterisk', 'plus',
  15433. 'comma', 'hyphen', 'period', 'slash', 'zero', 'one', 'two', 'three',
  15434. 'four', 'five', 'six', 'seven', 'eight', 'nine', 'colon', 'semicolon',
  15435. 'less', 'equal', 'greater', 'question', 'at', 'A', 'B', 'C', 'D', 'E', 'F',
  15436. 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U',
  15437. 'V', 'W', 'X', 'Y', 'Z', 'bracketleft', 'backslash', 'bracketright',
  15438. 'asciicircum', 'underscore', 'grave', 'a', 'b', 'c', 'd', 'e', 'f', 'g',
  15439. 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v',
  15440. 'w', 'x', 'y', 'z', 'braceleft', 'bar', 'braceright', 'asciitilde',
  15441. 'bullet', 'Euro', 'bullet', 'quotesinglbase', 'florin', 'quotedblbase',
  15442. 'ellipsis', 'dagger', 'daggerdbl', 'circumflex', 'perthousand', 'Scaron',
  15443. 'guilsinglleft', 'OE', 'bullet', 'Zcaron', 'bullet', 'bullet', 'quoteleft',
  15444. 'quoteright', 'quotedblleft', 'quotedblright', 'bullet', 'endash',
  15445. 'emdash', 'tilde', 'trademark', 'scaron', 'guilsinglright', 'oe', 'bullet',
  15446. 'zcaron', 'Ydieresis', '', 'exclamdown', 'cent', 'sterling',
  15447. 'currency', 'yen', 'brokenbar', 'section', 'dieresis', 'copyright',
  15448. 'ordfeminine', 'guillemotleft', 'logicalnot', 'hyphen', 'registered',
  15449. 'macron', 'degree', 'plusminus', 'twosuperior', 'threesuperior', 'acute',
  15450. 'mu', 'paragraph', 'periodcentered', 'cedilla', 'onesuperior',
  15451. 'ordmasculine', 'guillemotright', 'onequarter', 'onehalf', 'threequarters',
  15452. 'questiondown', 'Agrave', 'Aacute', 'Acircumflex', 'Atilde', 'Adieresis',
  15453. 'Aring', 'AE', 'Ccedilla', 'Egrave', 'Eacute', 'Ecircumflex', 'Edieresis',
  15454. 'Igrave', 'Iacute', 'Icircumflex', 'Idieresis', 'Eth', 'Ntilde', 'Ograve',
  15455. 'Oacute', 'Ocircumflex', 'Otilde', 'Odieresis', 'multiply', 'Oslash',
  15456. 'Ugrave', 'Uacute', 'Ucircumflex', 'Udieresis', 'Yacute', 'Thorn',
  15457. 'germandbls', 'agrave', 'aacute', 'acircumflex', 'atilde', 'adieresis',
  15458. 'aring', 'ae', 'ccedilla', 'egrave', 'eacute', 'ecircumflex', 'edieresis',
  15459. 'igrave', 'iacute', 'icircumflex', 'idieresis', 'eth', 'ntilde', 'ograve',
  15460. 'oacute', 'ocircumflex', 'otilde', 'odieresis', 'divide', 'oslash',
  15461. 'ugrave', 'uacute', 'ucircumflex', 'udieresis', 'yacute', 'thorn',
  15462. 'ydieresis'],
  15463. SymbolSetEncoding: ['', '', '', '', '', '', '', '', '', '', '', '', '', '',
  15464. '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '',
  15465. 'space', 'exclam', 'universal', 'numbersign', 'existential', 'percent',
  15466. 'ampersand', 'suchthat', 'parenleft', 'parenright', 'asteriskmath', 'plus',
  15467. 'comma', 'minus', 'period', 'slash', 'zero', 'one', 'two', 'three', 'four',
  15468. 'five', 'six', 'seven', 'eight', 'nine', 'colon', 'semicolon', 'less',
  15469. 'equal', 'greater', 'question', 'congruent', 'Alpha', 'Beta', 'Chi',
  15470. 'Delta', 'Epsilon', 'Phi', 'Gamma', 'Eta', 'Iota', 'theta1', 'Kappa',
  15471. 'Lambda', 'Mu', 'Nu', 'Omicron', 'Pi', 'Theta', 'Rho', 'Sigma', 'Tau',
  15472. 'Upsilon', 'sigma1', 'Omega', 'Xi', 'Psi', 'Zeta', 'bracketleft',
  15473. 'therefore', 'bracketright', 'perpendicular', 'underscore', 'radicalex',
  15474. 'alpha', 'beta', 'chi', 'delta', 'epsilon', 'phi', 'gamma', 'eta', 'iota',
  15475. 'phi1', 'kappa', 'lambda', 'mu', 'nu', 'omicron', 'pi', 'theta', 'rho',
  15476. 'sigma', 'tau', 'upsilon', 'omega1', 'omega', 'xi', 'psi', 'zeta',
  15477. 'braceleft', 'bar', 'braceright', 'similar', '', '', '', '', '', '', '',
  15478. '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '',
  15479. '', '', '', '', '', '', '', 'Euro', 'Upsilon1', 'minute', 'lessequal',
  15480. 'fraction', 'infinity', 'florin', 'club', 'diamond', 'heart', 'spade',
  15481. 'arrowboth', 'arrowleft', 'arrowup', 'arrowright', 'arrowdown', 'degree',
  15482. 'plusminus', 'second', 'greaterequal', 'multiply', 'proportional',
  15483. 'partialdiff', 'bullet', 'divide', 'notequal', 'equivalence',
  15484. 'approxequal', 'ellipsis', 'arrowvertex', 'arrowhorizex', 'carriagereturn',
  15485. 'aleph', 'Ifraktur', 'Rfraktur', 'weierstrass', 'circlemultiply',
  15486. 'circleplus', 'emptyset', 'intersection', 'union', 'propersuperset',
  15487. 'reflexsuperset', 'notsubset', 'propersubset', 'reflexsubset', 'element',
  15488. 'notelement', 'angle', 'gradient', 'registerserif', 'copyrightserif',
  15489. 'trademarkserif', 'product', 'radical', 'dotmath', 'logicalnot',
  15490. 'logicaland', 'logicalor', 'arrowdblboth', 'arrowdblleft', 'arrowdblup',
  15491. 'arrowdblright', 'arrowdbldown', 'lozenge', 'angleleft', 'registersans',
  15492. 'copyrightsans', 'trademarksans', 'summation', 'parenlefttp',
  15493. 'parenleftex', 'parenleftbt', 'bracketlefttp', 'bracketleftex',
  15494. 'bracketleftbt', 'bracelefttp', 'braceleftmid', 'braceleftbt', 'braceex',
  15495. '', 'angleright', 'integral', 'integraltp', 'integralex', 'integralbt',
  15496. 'parenrighttp', 'parenrightex', 'parenrightbt', 'bracketrighttp',
  15497. 'bracketrightex', 'bracketrightbt', 'bracerighttp', 'bracerightmid',
  15498. 'bracerightbt'],
  15499. zapfDingbatsEncoding: ['', '', '', '', '', '', '', '', '', '', '', '', '', '',
  15500. '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '',
  15501. 'space', 'a1', 'a2', 'a202', 'a3', 'a4', 'a5', 'a119', 'a118', 'a117',
  15502. 'a11', 'a12', 'a13', 'a14', 'a15', 'a16', 'a105', 'a17', 'a18', 'a19',
  15503. 'a20', 'a21', 'a22', 'a23', 'a24', 'a25', 'a26', 'a27', 'a28', 'a6', 'a7',
  15504. 'a8', 'a9', 'a10', 'a29', 'a30', 'a31', 'a32', 'a33', 'a34', 'a35', 'a36',
  15505. 'a37', 'a38', 'a39', 'a40', 'a41', 'a42', 'a43', 'a44', 'a45', 'a46',
  15506. 'a47', 'a48', 'a49', 'a50', 'a51', 'a52', 'a53', 'a54', 'a55', 'a56',
  15507. 'a57', 'a58', 'a59', 'a60', 'a61', 'a62', 'a63', 'a64', 'a65', 'a66',
  15508. 'a67', 'a68', 'a69', 'a70', 'a71', 'a72', 'a73', 'a74', 'a203', 'a75',
  15509. 'a204', 'a76', 'a77', 'a78', 'a79', 'a81', 'a82', 'a83', 'a84', 'a97',
  15510. 'a98', 'a99', 'a100', '', '', '', '', '', '', '', '', '', '', '', '', '',
  15511. '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '',
  15512. '', '', 'a101', 'a102', 'a103', 'a104', 'a106', 'a107', 'a108', 'a112',
  15513. 'a111', 'a110', 'a109', 'a120', 'a121', 'a122', 'a123', 'a124', 'a125',
  15514. 'a126', 'a127', 'a128', 'a129', 'a130', 'a131', 'a132', 'a133', 'a134',
  15515. 'a135', 'a136', 'a137', 'a138', 'a139', 'a140', 'a141', 'a142', 'a143',
  15516. 'a144', 'a145', 'a146', 'a147', 'a148', 'a149', 'a150', 'a151', 'a152',
  15517. 'a153', 'a154', 'a155', 'a156', 'a157', 'a158', 'a159', 'a160', 'a161',
  15518. 'a163', 'a164', 'a196', 'a165', 'a192', 'a166', 'a167', 'a168', 'a169',
  15519. 'a170', 'a171', 'a172', 'a173', 'a162', 'a174', 'a175', 'a176', 'a177',
  15520. 'a178', 'a179', 'a193', 'a180', 'a199', 'a181', 'a200', 'a182', '', 'a201',
  15521. 'a183', 'a184', 'a197', 'a185', 'a194', 'a198', 'a186', 'a195', 'a187',
  15522. 'a188', 'a189', 'a190', 'a191']
  15523. };
  15524. /**
  15525. * Hold a map of decoded fonts and of the standard fourteen Type1
  15526. * fonts and their acronyms.
  15527. */
  15528. var stdFontMap = {
  15529. 'ArialNarrow': 'Helvetica',
  15530. 'ArialNarrow-Bold': 'Helvetica-Bold',
  15531. 'ArialNarrow-BoldItalic': 'Helvetica-BoldOblique',
  15532. 'ArialNarrow-Italic': 'Helvetica-Oblique',
  15533. 'ArialBlack': 'Helvetica',
  15534. 'ArialBlack-Bold': 'Helvetica-Bold',
  15535. 'ArialBlack-BoldItalic': 'Helvetica-BoldOblique',
  15536. 'ArialBlack-Italic': 'Helvetica-Oblique',
  15537. 'Arial': 'Helvetica',
  15538. 'Arial-Bold': 'Helvetica-Bold',
  15539. 'Arial-BoldItalic': 'Helvetica-BoldOblique',
  15540. 'Arial-Italic': 'Helvetica-Oblique',
  15541. 'Arial-BoldItalicMT': 'Helvetica-BoldOblique',
  15542. 'Arial-BoldMT': 'Helvetica-Bold',
  15543. 'Arial-ItalicMT': 'Helvetica-Oblique',
  15544. 'ArialMT': 'Helvetica',
  15545. 'Courier-Bold': 'Courier-Bold',
  15546. 'Courier-BoldItalic': 'Courier-BoldOblique',
  15547. 'Courier-Italic': 'Courier-Oblique',
  15548. 'CourierNew': 'Courier',
  15549. 'CourierNew-Bold': 'Courier-Bold',
  15550. 'CourierNew-BoldItalic': 'Courier-BoldOblique',
  15551. 'CourierNew-Italic': 'Courier-Oblique',
  15552. 'CourierNewPS-BoldItalicMT': 'Courier-BoldOblique',
  15553. 'CourierNewPS-BoldMT': 'Courier-Bold',
  15554. 'CourierNewPS-ItalicMT': 'Courier-Oblique',
  15555. 'CourierNewPSMT': 'Courier',
  15556. 'Helvetica-Bold': 'Helvetica-Bold',
  15557. 'Helvetica-BoldItalic': 'Helvetica-BoldOblique',
  15558. 'Helvetica-Italic': 'Helvetica-Oblique',
  15559. 'Symbol-Bold': 'Symbol',
  15560. 'Symbol-BoldItalic': 'Symbol',
  15561. 'Symbol-Italic': 'Symbol',
  15562. 'TimesNewRoman': 'Times-Roman',
  15563. 'TimesNewRoman-Bold': 'Times-Bold',
  15564. 'TimesNewRoman-BoldItalic': 'Times-BoldItalic',
  15565. 'TimesNewRoman-Italic': 'Times-Italic',
  15566. 'TimesNewRomanPS': 'Times-Roman',
  15567. 'TimesNewRomanPS-Bold': 'Times-Bold',
  15568. 'TimesNewRomanPS-BoldItalic': 'Times-BoldItalic',
  15569. 'TimesNewRomanPS-BoldItalicMT': 'Times-BoldItalic',
  15570. 'TimesNewRomanPS-BoldMT': 'Times-Bold',
  15571. 'TimesNewRomanPS-Italic': 'Times-Italic',
  15572. 'TimesNewRomanPS-ItalicMT': 'Times-Italic',
  15573. 'TimesNewRomanPSMT': 'Times-Roman',
  15574. 'TimesNewRomanPSMT-Bold': 'Times-Bold',
  15575. 'TimesNewRomanPSMT-BoldItalic': 'Times-BoldItalic',
  15576. 'TimesNewRomanPSMT-Italic': 'Times-Italic'
  15577. };
  15578. /**
  15579. * Holds the map of the non-standard fonts that might be included as a standard
  15580. * fonts without glyph data.
  15581. */
  15582. var nonStdFontMap = {
  15583. 'ComicSansMS': 'Comic Sans MS',
  15584. 'ComicSansMS-Bold': 'Comic Sans MS-Bold',
  15585. 'ComicSansMS-BoldItalic': 'Comic Sans MS-BoldItalic',
  15586. 'ComicSansMS-Italic': 'Comic Sans MS-Italic',
  15587. 'LucidaConsole': 'Courier',
  15588. 'LucidaConsole-Bold': 'Courier-Bold',
  15589. 'LucidaConsole-BoldItalic': 'Courier-BoldOblique',
  15590. 'LucidaConsole-Italic': 'Courier-Oblique',
  15591. 'MS-Gothic': 'MS Gothic',
  15592. 'MS-Gothic-Bold': 'MS Gothic-Bold',
  15593. 'MS-Gothic-BoldItalic': 'MS Gothic-BoldItalic',
  15594. 'MS-Gothic-Italic': 'MS Gothic-Italic',
  15595. 'MS-Mincho': 'MS Mincho',
  15596. 'MS-Mincho-Bold': 'MS Mincho-Bold',
  15597. 'MS-Mincho-BoldItalic': 'MS Mincho-BoldItalic',
  15598. 'MS-Mincho-Italic': 'MS Mincho-Italic',
  15599. 'MS-PGothic': 'MS PGothic',
  15600. 'MS-PGothic-Bold': 'MS PGothic-Bold',
  15601. 'MS-PGothic-BoldItalic': 'MS PGothic-BoldItalic',
  15602. 'MS-PGothic-Italic': 'MS PGothic-Italic',
  15603. 'MS-PMincho': 'MS PMincho',
  15604. 'MS-PMincho-Bold': 'MS PMincho-Bold',
  15605. 'MS-PMincho-BoldItalic': 'MS PMincho-BoldItalic',
  15606. 'MS-PMincho-Italic': 'MS PMincho-Italic',
  15607. };
  15608. var serifFonts = {
  15609. 'Adobe Jenson': true, 'Adobe Text': true, 'Albertus': true,
  15610. 'Aldus': true, 'Alexandria': true, 'Algerian': true,
  15611. 'American Typewriter': true, 'Antiqua': true, 'Apex': true,
  15612. 'Arno': true, 'Aster': true, 'Aurora': true,
  15613. 'Baskerville': true, 'Bell': true, 'Bembo': true,
  15614. 'Bembo Schoolbook': true, 'Benguiat': true, 'Berkeley Old Style': true,
  15615. 'Bernhard Modern': true, 'Berthold City': true, 'Bodoni': true,
  15616. 'Bauer Bodoni': true, 'Book Antiqua': true, 'Bookman': true,
  15617. 'Bordeaux Roman': true, 'Californian FB': true, 'Calisto': true,
  15618. 'Calvert': true, 'Capitals': true, 'Cambria': true,
  15619. 'Cartier': true, 'Caslon': true, 'Catull': true,
  15620. 'Centaur': true, 'Century Old Style': true, 'Century Schoolbook': true,
  15621. 'Chaparral': true, 'Charis SIL': true, 'Cheltenham': true,
  15622. 'Cholla Slab': true, 'Clarendon': true, 'Clearface': true,
  15623. 'Cochin': true, 'Colonna': true, 'Computer Modern': true,
  15624. 'Concrete Roman': true, 'Constantia': true, 'Cooper Black': true,
  15625. 'Corona': true, 'Ecotype': true, 'Egyptienne': true,
  15626. 'Elephant': true, 'Excelsior': true, 'Fairfield': true,
  15627. 'FF Scala': true, 'Folkard': true, 'Footlight': true,
  15628. 'FreeSerif': true, 'Friz Quadrata': true, 'Garamond': true,
  15629. 'Gentium': true, 'Georgia': true, 'Gloucester': true,
  15630. 'Goudy Old Style': true, 'Goudy Schoolbook': true, 'Goudy Pro Font': true,
  15631. 'Granjon': true, 'Guardian Egyptian': true, 'Heather': true,
  15632. 'Hercules': true, 'High Tower Text': true, 'Hiroshige': true,
  15633. 'Hoefler Text': true, 'Humana Serif': true, 'Imprint': true,
  15634. 'Ionic No. 5': true, 'Janson': true, 'Joanna': true,
  15635. 'Korinna': true, 'Lexicon': true, 'Liberation Serif': true,
  15636. 'Linux Libertine': true, 'Literaturnaya': true, 'Lucida': true,
  15637. 'Lucida Bright': true, 'Melior': true, 'Memphis': true,
  15638. 'Miller': true, 'Minion': true, 'Modern': true,
  15639. 'Mona Lisa': true, 'Mrs Eaves': true, 'MS Serif': true,
  15640. 'Museo Slab': true, 'New York': true, 'Nimbus Roman': true,
  15641. 'NPS Rawlinson Roadway': true, 'Palatino': true, 'Perpetua': true,
  15642. 'Plantin': true, 'Plantin Schoolbook': true, 'Playbill': true,
  15643. 'Poor Richard': true, 'Rawlinson Roadway': true, 'Renault': true,
  15644. 'Requiem': true, 'Rockwell': true, 'Roman': true,
  15645. 'Rotis Serif': true, 'Sabon': true, 'Scala': true,
  15646. 'Seagull': true, 'Sistina': true, 'Souvenir': true,
  15647. 'STIX': true, 'Stone Informal': true, 'Stone Serif': true,
  15648. 'Sylfaen': true, 'Times': true, 'Trajan': true,
  15649. 'Trinité': true, 'Trump Mediaeval': true, 'Utopia': true,
  15650. 'Vale Type': true, 'Bitstream Vera': true, 'Vera Serif': true,
  15651. 'Versailles': true, 'Wanted': true, 'Weiss': true,
  15652. 'Wide Latin': true, 'Windsor': true, 'XITS': true
  15653. };
  15654. var symbolsFonts = {
  15655. 'Dingbats': true, 'Symbol': true, 'ZapfDingbats': true
  15656. };
  15657. var CMapConverterList = {
  15658. 'H': jis7ToUnicode,
  15659. 'V': jis7ToUnicode,
  15660. 'EUC-H': eucjpToUnicode,
  15661. 'EUC-V': eucjpToUnicode,
  15662. '83pv-RKSJ-H': sjis83pvToUnicode,
  15663. '90pv-RKSJ-H': sjis90pvToUnicode,
  15664. '90ms-RKSJ-H': sjisToUnicode,
  15665. '90ms-RKSJ-V': sjisToUnicode,
  15666. '90msp-RKSJ-H': sjisToUnicode,
  15667. '90msp-RKSJ-V': sjisToUnicode,
  15668. 'GBK-EUC-H': gbkToUnicode,
  15669. 'GBKp-EUC-H': gbkToUnicode,
  15670. 'B5pc-H': big5ToUnicode,
  15671. 'ETenms-B5-H': big5ToUnicode,
  15672. 'ETenms-B5-V': big5ToUnicode,
  15673. };
  15674. // CMaps using Hankaku (Halfwidth) Latin glyphs instead of proportional one.
  15675. // We need to distinguish them to get correct widths from CIDFont dicts.
  15676. var HalfwidthCMaps = {
  15677. 'H': true,
  15678. 'V': true,
  15679. 'EUC-H': true,
  15680. 'EUC-V': true,
  15681. '90ms-RKSJ-H': true,
  15682. '90ms-RKSJ-V': true,
  15683. 'UniJIS-UCS2-HW-H': true,
  15684. 'UniJIS-UCS2-HW-V': true
  15685. };
  15686. // Glyph map for well-known standard fonts. Sometimes Ghostscript uses CID fonts
  15687. // but does not embed the CID to GID mapping. The mapping is incomplete for all
  15688. // glyphs, but common for some set of the standard fonts.
  15689. var GlyphMapForStandardFonts = {
  15690. '2': 10, '3': 32, '4': 33, '5': 34, '6': 35, '7': 36, '8': 37, '9': 38,
  15691. '10': 39, '11': 40, '12': 41, '13': 42, '14': 43, '15': 44, '16': 173,
  15692. '17': 46, '18': 47, '19': 48, '20': 49, '21': 50, '22': 51, '23': 52,
  15693. '24': 53, '25': 54, '26': 55, '27': 56, '28': 57, '29': 58, '30': 894,
  15694. '31': 60, '32': 61, '33': 62, '34': 63, '35': 64, '36': 65, '37': 66,
  15695. '38': 67, '39': 68, '40': 69, '41': 70, '42': 71, '43': 72, '44': 73,
  15696. '45': 74, '46': 75, '47': 76, '48': 77, '49': 78, '50': 79, '51': 80,
  15697. '52': 81, '53': 82, '54': 83, '55': 84, '56': 85, '57': 86, '58': 87,
  15698. '59': 88, '60': 89, '61': 90, '62': 91, '63': 92, '64': 93, '65': 94,
  15699. '66': 95, '67': 96, '68': 97, '69': 98, '70': 99, '71': 100, '72': 101,
  15700. '73': 102, '74': 103, '75': 104, '76': 105, '77': 106, '78': 107, '79': 108,
  15701. '80': 109, '81': 110, '82': 111, '83': 112, '84': 113, '85': 114, '86': 115,
  15702. '87': 116, '88': 117, '89': 118, '90': 119, '91': 120, '92': 121, '93': 122,
  15703. '94': 123, '95': 124, '96': 125, '97': 126, '98': 196, '99': 197, '100': 199,
  15704. '101': 201, '102': 209, '103': 214, '104': 220, '105': 225, '106': 224,
  15705. '107': 226, '108': 228, '109': 227, '110': 229, '111': 231, '112': 233,
  15706. '113': 232, '114': 234, '115': 235, '116': 237, '117': 236, '118': 238,
  15707. '119': 239, '120': 241, '121': 243, '122': 242, '123': 244, '124': 246,
  15708. '125': 245, '126': 250, '127': 249, '128': 251, '129': 252, '130': 8224,
  15709. '131': 176, '132': 162, '133': 163, '134': 167, '135': 8226, '136': 182,
  15710. '137': 223, '138': 174, '139': 169, '140': 8482, '141': 180, '142': 168,
  15711. '143': 8800, '144': 198, '145': 216, '146': 8734, '147': 177, '148': 8804,
  15712. '149': 8805, '150': 165, '151': 181, '152': 8706, '153': 8721, '154': 8719,
  15713. '156': 8747, '157': 170, '158': 186, '159': 8486, '160': 230, '161': 248,
  15714. '162': 191, '163': 161, '164': 172, '165': 8730, '166': 402, '167': 8776,
  15715. '168': 8710, '169': 171, '170': 187, '171': 8230, '210': 218, '305': 963,
  15716. '306': 964, '307': 966, '308': 8215, '309': 8252, '310': 8319, '311': 8359,
  15717. '312': 8592, '313': 8593, '337': 9552, '493': 1039, '494': 1040, '705': 1524,
  15718. '706': 8362, '710': 64288, '711': 64298, '759': 1617, '761': 1776,
  15719. '763': 1778, '775': 1652, '777': 1764, '778': 1780, '779': 1781, '780': 1782,
  15720. '782': 771, '783': 64726, '786': 8363, '788': 8532, '790': 768, '791': 769,
  15721. '792': 768, '795': 803, '797': 64336, '798': 64337, '799': 64342,
  15722. '800': 64343, '801': 64344, '802': 64345, '803': 64362, '804': 64363,
  15723. '805': 64364, '2424': 7821, '2425': 7822, '2426': 7823, '2427': 7824,
  15724. '2428': 7825, '2429': 7826, '2430': 7827, '2433': 7682, '2678': 8045,
  15725. '2679': 8046, '2830': 1552, '2838': 686, '2840': 751, '2842': 753,
  15726. '2843': 754, '2844': 755, '2846': 757, '2856': 767, '2857': 848, '2858': 849,
  15727. '2862': 853, '2863': 854, '2864': 855, '2865': 861, '2866': 862, '2906': 7460,
  15728. '2908': 7462, '2909': 7463, '2910': 7464, '2912': 7466, '2913': 7467,
  15729. '2914': 7468, '2916': 7470, '2917': 7471, '2918': 7472, '2920': 7474,
  15730. '2921': 7475, '2922': 7476, '2924': 7478, '2925': 7479, '2926': 7480,
  15731. '2928': 7482, '2929': 7483, '2930': 7484, '2932': 7486, '2933': 7487,
  15732. '2934': 7488, '2936': 7490, '2937': 7491, '2938': 7492, '2940': 7494,
  15733. '2941': 7495, '2942': 7496, '2944': 7498, '2946': 7500, '2948': 7502,
  15734. '2950': 7504, '2951': 7505, '2952': 7506, '2954': 7508, '2955': 7509,
  15735. '2956': 7510, '2958': 7512, '2959': 7513, '2960': 7514, '2962': 7516,
  15736. '2963': 7517, '2964': 7518, '2966': 7520, '2967': 7521, '2968': 7522,
  15737. '2970': 7524, '2971': 7525, '2972': 7526, '2974': 7528, '2975': 7529,
  15738. '2976': 7530, '2978': 1537, '2979': 1538, '2980': 1539, '2982': 1549,
  15739. '2983': 1551, '2984': 1552, '2986': 1554, '2987': 1555, '2988': 1556,
  15740. '2990': 1623, '2991': 1624, '2995': 1775, '2999': 1791, '3002': 64290,
  15741. '3003': 64291, '3004': 64292, '3006': 64294, '3007': 64295, '3008': 64296,
  15742. '3011': 1900, '3014': 8223, '3015': 8244, '3017': 7532, '3018': 7533,
  15743. '3019': 7534, '3075': 7590, '3076': 7591, '3079': 7594, '3080': 7595,
  15744. '3083': 7598, '3084': 7599, '3087': 7602, '3088': 7603, '3091': 7606,
  15745. '3092': 7607, '3095': 7610, '3096': 7611, '3099': 7614, '3100': 7615,
  15746. '3103': 7618, '3104': 7619, '3107': 8337, '3108': 8338, '3116': 1884,
  15747. '3119': 1885, '3120': 1885, '3123': 1886, '3124': 1886, '3127': 1887,
  15748. '3128': 1887, '3131': 1888, '3132': 1888, '3135': 1889, '3136': 1889,
  15749. '3139': 1890, '3140': 1890, '3143': 1891, '3144': 1891, '3147': 1892,
  15750. '3148': 1892, '3153': 580, '3154': 581, '3157': 584, '3158': 585, '3161': 588,
  15751. '3162': 589, '3165': 891, '3166': 892, '3169': 1274, '3170': 1275,
  15752. '3173': 1278, '3174': 1279, '3181': 7622, '3182': 7623, '3282': 11799,
  15753. '3316': 578, '3379': 42785, '3393': 1159, '3416': 8377
  15754. };
  15755. var decodeBytes;
  15756. if (typeof TextDecoder !== 'undefined') {
  15757. // The encodings supported by TextDecoder can be found at:
  15758. // http://encoding.spec.whatwg.org/#concept-encoding-get
  15759. decodeBytes = function(bytes, encoding, fatal) {
  15760. return new TextDecoder(encoding, {fatal: !!fatal}).decode(bytes);
  15761. };
  15762. } else if (typeof FileReaderSync !== 'undefined') {
  15763. decodeBytes = function(bytes, encoding) {
  15764. return new FileReaderSync().readAsText(new Blob([bytes]), encoding);
  15765. };
  15766. } else {
  15767. // Clear the list so that decodeBytes will never be called.
  15768. CMapConverterList = {};
  15769. }
  15770. function jis7ToUnicode(str) {
  15771. var bytes = stringToBytes(str);
  15772. var length = bytes.length;
  15773. for (var i = 0; i < length; ++i) {
  15774. bytes[i] |= 0x80;
  15775. }
  15776. return decodeBytes(bytes, 'euc-jp');
  15777. }
  15778. function eucjpToUnicode(str) {
  15779. return decodeBytes(stringToBytes(str), 'euc-jp');
  15780. }
  15781. function sjisToUnicode(str) {
  15782. return decodeBytes(stringToBytes(str), 'shift_jis');
  15783. }
  15784. function sjis83pvToUnicode(str) {
  15785. var bytes = stringToBytes(str);
  15786. try {
  15787. // TODO: 83pv has incompatible mappings in ed40..ee9c range.
  15788. return decodeBytes(bytes, 'shift_jis', true);
  15789. } catch (e) {
  15790. warn('Unsupported 83pv character found');
  15791. // Just retry without checking errors for now.
  15792. return decodeBytes(bytes, 'shift_jis');
  15793. }
  15794. }
  15795. function sjis90pvToUnicode(str) {
  15796. var bytes = stringToBytes(str);
  15797. try {
  15798. // TODO: 90pv has incompatible mappings in 8740..879c and eb41..ee9c.
  15799. return decodeBytes(bytes, 'shift_jis', true);
  15800. } catch (e) {
  15801. warn('Unsupported 90pv character found');
  15802. // Just retry without checking errors for now.
  15803. return decodeBytes(bytes, 'shift_jis');
  15804. }
  15805. }
  15806. function gbkToUnicode(str) {
  15807. return decodeBytes(stringToBytes(str), 'gbk');
  15808. }
  15809. function big5ToUnicode(str) {
  15810. return decodeBytes(stringToBytes(str), 'big5');
  15811. }
  15812. // Some characters, e.g. copyrightserif, mapped to the private use area and
  15813. // might not be displayed using standard fonts. Mapping/hacking well-known chars
  15814. // to the similar equivalents in the normal characters range.
  15815. function mapPrivateUseChars(code) {
  15816. switch (code) {
  15817. case 0xF8E9: // copyrightsans
  15818. case 0xF6D9: // copyrightserif
  15819. return 0x00A9; // copyright
  15820. default:
  15821. return code;
  15822. }
  15823. }
  15824. var UnicodeRanges = [
  15825. { 'begin': 0x0000, 'end': 0x007F }, // Basic Latin
  15826. { 'begin': 0x0080, 'end': 0x00FF }, // Latin-1 Supplement
  15827. { 'begin': 0x0100, 'end': 0x017F }, // Latin Extended-A
  15828. { 'begin': 0x0180, 'end': 0x024F }, // Latin Extended-B
  15829. { 'begin': 0x0250, 'end': 0x02AF }, // IPA Extensions
  15830. { 'begin': 0x02B0, 'end': 0x02FF }, // Spacing Modifier Letters
  15831. { 'begin': 0x0300, 'end': 0x036F }, // Combining Diacritical Marks
  15832. { 'begin': 0x0370, 'end': 0x03FF }, // Greek and Coptic
  15833. { 'begin': 0x2C80, 'end': 0x2CFF }, // Coptic
  15834. { 'begin': 0x0400, 'end': 0x04FF }, // Cyrillic
  15835. { 'begin': 0x0530, 'end': 0x058F }, // Armenian
  15836. { 'begin': 0x0590, 'end': 0x05FF }, // Hebrew
  15837. { 'begin': 0xA500, 'end': 0xA63F }, // Vai
  15838. { 'begin': 0x0600, 'end': 0x06FF }, // Arabic
  15839. { 'begin': 0x07C0, 'end': 0x07FF }, // NKo
  15840. { 'begin': 0x0900, 'end': 0x097F }, // Devanagari
  15841. { 'begin': 0x0980, 'end': 0x09FF }, // Bengali
  15842. { 'begin': 0x0A00, 'end': 0x0A7F }, // Gurmukhi
  15843. { 'begin': 0x0A80, 'end': 0x0AFF }, // Gujarati
  15844. { 'begin': 0x0B00, 'end': 0x0B7F }, // Oriya
  15845. { 'begin': 0x0B80, 'end': 0x0BFF }, // Tamil
  15846. { 'begin': 0x0C00, 'end': 0x0C7F }, // Telugu
  15847. { 'begin': 0x0C80, 'end': 0x0CFF }, // Kannada
  15848. { 'begin': 0x0D00, 'end': 0x0D7F }, // Malayalam
  15849. { 'begin': 0x0E00, 'end': 0x0E7F }, // Thai
  15850. { 'begin': 0x0E80, 'end': 0x0EFF }, // Lao
  15851. { 'begin': 0x10A0, 'end': 0x10FF }, // Georgian
  15852. { 'begin': 0x1B00, 'end': 0x1B7F }, // Balinese
  15853. { 'begin': 0x1100, 'end': 0x11FF }, // Hangul Jamo
  15854. { 'begin': 0x1E00, 'end': 0x1EFF }, // Latin Extended Additional
  15855. { 'begin': 0x1F00, 'end': 0x1FFF }, // Greek Extended
  15856. { 'begin': 0x2000, 'end': 0x206F }, // General Punctuation
  15857. { 'begin': 0x2070, 'end': 0x209F }, // Superscripts And Subscripts
  15858. { 'begin': 0x20A0, 'end': 0x20CF }, // Currency Symbol
  15859. { 'begin': 0x20D0, 'end': 0x20FF }, // Combining Diacritical Marks For Symbols
  15860. { 'begin': 0x2100, 'end': 0x214F }, // Letterlike Symbols
  15861. { 'begin': 0x2150, 'end': 0x218F }, // Number Forms
  15862. { 'begin': 0x2190, 'end': 0x21FF }, // Arrows
  15863. { 'begin': 0x2200, 'end': 0x22FF }, // Mathematical Operators
  15864. { 'begin': 0x2300, 'end': 0x23FF }, // Miscellaneous Technical
  15865. { 'begin': 0x2400, 'end': 0x243F }, // Control Pictures
  15866. { 'begin': 0x2440, 'end': 0x245F }, // Optical Character Recognition
  15867. { 'begin': 0x2460, 'end': 0x24FF }, // Enclosed Alphanumerics
  15868. { 'begin': 0x2500, 'end': 0x257F }, // Box Drawing
  15869. { 'begin': 0x2580, 'end': 0x259F }, // Block Elements
  15870. { 'begin': 0x25A0, 'end': 0x25FF }, // Geometric Shapes
  15871. { 'begin': 0x2600, 'end': 0x26FF }, // Miscellaneous Symbols
  15872. { 'begin': 0x2700, 'end': 0x27BF }, // Dingbats
  15873. { 'begin': 0x3000, 'end': 0x303F }, // CJK Symbols And Punctuation
  15874. { 'begin': 0x3040, 'end': 0x309F }, // Hiragana
  15875. { 'begin': 0x30A0, 'end': 0x30FF }, // Katakana
  15876. { 'begin': 0x3100, 'end': 0x312F }, // Bopomofo
  15877. { 'begin': 0x3130, 'end': 0x318F }, // Hangul Compatibility Jamo
  15878. { 'begin': 0xA840, 'end': 0xA87F }, // Phags-pa
  15879. { 'begin': 0x3200, 'end': 0x32FF }, // Enclosed CJK Letters And Months
  15880. { 'begin': 0x3300, 'end': 0x33FF }, // CJK Compatibility
  15881. { 'begin': 0xAC00, 'end': 0xD7AF }, // Hangul Syllables
  15882. { 'begin': 0xD800, 'end': 0xDFFF }, // Non-Plane 0 *
  15883. { 'begin': 0x10900, 'end': 0x1091F }, // Phoenicia
  15884. { 'begin': 0x4E00, 'end': 0x9FFF }, // CJK Unified Ideographs
  15885. { 'begin': 0xE000, 'end': 0xF8FF }, // Private Use Area (plane 0)
  15886. { 'begin': 0x31C0, 'end': 0x31EF }, // CJK Strokes
  15887. { 'begin': 0xFB00, 'end': 0xFB4F }, // Alphabetic Presentation Forms
  15888. { 'begin': 0xFB50, 'end': 0xFDFF }, // Arabic Presentation Forms-A
  15889. { 'begin': 0xFE20, 'end': 0xFE2F }, // Combining Half Marks
  15890. { 'begin': 0xFE10, 'end': 0xFE1F }, // Vertical Forms
  15891. { 'begin': 0xFE50, 'end': 0xFE6F }, // Small Form Variants
  15892. { 'begin': 0xFE70, 'end': 0xFEFF }, // Arabic Presentation Forms-B
  15893. { 'begin': 0xFF00, 'end': 0xFFEF }, // Halfwidth And Fullwidth Forms
  15894. { 'begin': 0xFFF0, 'end': 0xFFFF }, // Specials
  15895. { 'begin': 0x0F00, 'end': 0x0FFF }, // Tibetan
  15896. { 'begin': 0x0700, 'end': 0x074F }, // Syriac
  15897. { 'begin': 0x0780, 'end': 0x07BF }, // Thaana
  15898. { 'begin': 0x0D80, 'end': 0x0DFF }, // Sinhala
  15899. { 'begin': 0x1000, 'end': 0x109F }, // Myanmar
  15900. { 'begin': 0x1200, 'end': 0x137F }, // Ethiopic
  15901. { 'begin': 0x13A0, 'end': 0x13FF }, // Cherokee
  15902. { 'begin': 0x1400, 'end': 0x167F }, // Unified Canadian Aboriginal Syllabics
  15903. { 'begin': 0x1680, 'end': 0x169F }, // Ogham
  15904. { 'begin': 0x16A0, 'end': 0x16FF }, // Runic
  15905. { 'begin': 0x1780, 'end': 0x17FF }, // Khmer
  15906. { 'begin': 0x1800, 'end': 0x18AF }, // Mongolian
  15907. { 'begin': 0x2800, 'end': 0x28FF }, // Braille Patterns
  15908. { 'begin': 0xA000, 'end': 0xA48F }, // Yi Syllables
  15909. { 'begin': 0x1700, 'end': 0x171F }, // Tagalog
  15910. { 'begin': 0x10300, 'end': 0x1032F }, // Old Italic
  15911. { 'begin': 0x10330, 'end': 0x1034F }, // Gothic
  15912. { 'begin': 0x10400, 'end': 0x1044F }, // Deseret
  15913. { 'begin': 0x1D000, 'end': 0x1D0FF }, // Byzantine Musical Symbols
  15914. { 'begin': 0x1D400, 'end': 0x1D7FF }, // Mathematical Alphanumeric Symbols
  15915. { 'begin': 0xFF000, 'end': 0xFFFFD }, // Private Use (plane 15)
  15916. { 'begin': 0xFE00, 'end': 0xFE0F }, // Variation Selectors
  15917. { 'begin': 0xE0000, 'end': 0xE007F }, // Tags
  15918. { 'begin': 0x1900, 'end': 0x194F }, // Limbu
  15919. { 'begin': 0x1950, 'end': 0x197F }, // Tai Le
  15920. { 'begin': 0x1980, 'end': 0x19DF }, // New Tai Lue
  15921. { 'begin': 0x1A00, 'end': 0x1A1F }, // Buginese
  15922. { 'begin': 0x2C00, 'end': 0x2C5F }, // Glagolitic
  15923. { 'begin': 0x2D30, 'end': 0x2D7F }, // Tifinagh
  15924. { 'begin': 0x4DC0, 'end': 0x4DFF }, // Yijing Hexagram Symbols
  15925. { 'begin': 0xA800, 'end': 0xA82F }, // Syloti Nagri
  15926. { 'begin': 0x10000, 'end': 0x1007F }, // Linear B Syllabary
  15927. { 'begin': 0x10140, 'end': 0x1018F }, // Ancient Greek Numbers
  15928. { 'begin': 0x10380, 'end': 0x1039F }, // Ugaritic
  15929. { 'begin': 0x103A0, 'end': 0x103DF }, // Old Persian
  15930. { 'begin': 0x10450, 'end': 0x1047F }, // Shavian
  15931. { 'begin': 0x10480, 'end': 0x104AF }, // Osmanya
  15932. { 'begin': 0x10800, 'end': 0x1083F }, // Cypriot Syllabary
  15933. { 'begin': 0x10A00, 'end': 0x10A5F }, // Kharoshthi
  15934. { 'begin': 0x1D300, 'end': 0x1D35F }, // Tai Xuan Jing Symbols
  15935. { 'begin': 0x12000, 'end': 0x123FF }, // Cuneiform
  15936. { 'begin': 0x1D360, 'end': 0x1D37F }, // Counting Rod Numerals
  15937. { 'begin': 0x1B80, 'end': 0x1BBF }, // Sundanese
  15938. { 'begin': 0x1C00, 'end': 0x1C4F }, // Lepcha
  15939. { 'begin': 0x1C50, 'end': 0x1C7F }, // Ol Chiki
  15940. { 'begin': 0xA880, 'end': 0xA8DF }, // Saurashtra
  15941. { 'begin': 0xA900, 'end': 0xA92F }, // Kayah Li
  15942. { 'begin': 0xA930, 'end': 0xA95F }, // Rejang
  15943. { 'begin': 0xAA00, 'end': 0xAA5F }, // Cham
  15944. { 'begin': 0x10190, 'end': 0x101CF }, // Ancient Symbols
  15945. { 'begin': 0x101D0, 'end': 0x101FF }, // Phaistos Disc
  15946. { 'begin': 0x102A0, 'end': 0x102DF }, // Carian
  15947. { 'begin': 0x1F030, 'end': 0x1F09F } // Domino Tiles
  15948. ];
  15949. var MacStandardGlyphOrdering = [
  15950. '.notdef', '.null', 'nonmarkingreturn', 'space', 'exclam', 'quotedbl',
  15951. 'numbersign', 'dollar', 'percent', 'ampersand', 'quotesingle', 'parenleft',
  15952. 'parenright', 'asterisk', 'plus', 'comma', 'hyphen', 'period', 'slash',
  15953. 'zero', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight',
  15954. 'nine', 'colon', 'semicolon', 'less', 'equal', 'greater', 'question', 'at',
  15955. 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O',
  15956. 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', 'bracketleft',
  15957. 'backslash', 'bracketright', 'asciicircum', 'underscore', 'grave', 'a', 'b',
  15958. 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q',
  15959. 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', 'braceleft', 'bar', 'braceright',
  15960. 'asciitilde', 'Adieresis', 'Aring', 'Ccedilla', 'Eacute', 'Ntilde',
  15961. 'Odieresis', 'Udieresis', 'aacute', 'agrave', 'acircumflex', 'adieresis',
  15962. 'atilde', 'aring', 'ccedilla', 'eacute', 'egrave', 'ecircumflex', 'edieresis',
  15963. 'iacute', 'igrave', 'icircumflex', 'idieresis', 'ntilde', 'oacute', 'ograve',
  15964. 'ocircumflex', 'odieresis', 'otilde', 'uacute', 'ugrave', 'ucircumflex',
  15965. 'udieresis', 'dagger', 'degree', 'cent', 'sterling', 'section', 'bullet',
  15966. 'paragraph', 'germandbls', 'registered', 'copyright', 'trademark', 'acute',
  15967. 'dieresis', 'notequal', 'AE', 'Oslash', 'infinity', 'plusminus', 'lessequal',
  15968. 'greaterequal', 'yen', 'mu', 'partialdiff', 'summation', 'product', 'pi',
  15969. 'integral', 'ordfeminine', 'ordmasculine', 'Omega', 'ae', 'oslash',
  15970. 'questiondown', 'exclamdown', 'logicalnot', 'radical', 'florin',
  15971. 'approxequal', 'Delta', 'guillemotleft', 'guillemotright', 'ellipsis',
  15972. 'nonbreakingspace', 'Agrave', 'Atilde', 'Otilde', 'OE', 'oe', 'endash',
  15973. 'emdash', 'quotedblleft', 'quotedblright', 'quoteleft', 'quoteright',
  15974. 'divide', 'lozenge', 'ydieresis', 'Ydieresis', 'fraction', 'currency',
  15975. 'guilsinglleft', 'guilsinglright', 'fi', 'fl', 'daggerdbl', 'periodcentered',
  15976. 'quotesinglbase', 'quotedblbase', 'perthousand', 'Acircumflex',
  15977. 'Ecircumflex', 'Aacute', 'Edieresis', 'Egrave', 'Iacute', 'Icircumflex',
  15978. 'Idieresis', 'Igrave', 'Oacute', 'Ocircumflex', 'apple', 'Ograve', 'Uacute',
  15979. 'Ucircumflex', 'Ugrave', 'dotlessi', 'circumflex', 'tilde', 'macron',
  15980. 'breve', 'dotaccent', 'ring', 'cedilla', 'hungarumlaut', 'ogonek', 'caron',
  15981. 'Lslash', 'lslash', 'Scaron', 'scaron', 'Zcaron', 'zcaron', 'brokenbar',
  15982. 'Eth', 'eth', 'Yacute', 'yacute', 'Thorn', 'thorn', 'minus', 'multiply',
  15983. 'onesuperior', 'twosuperior', 'threesuperior', 'onehalf', 'onequarter',
  15984. 'threequarters', 'franc', 'Gbreve', 'gbreve', 'Idotaccent', 'Scedilla',
  15985. 'scedilla', 'Cacute', 'cacute', 'Ccaron', 'ccaron', 'dcroat'];
  15986. function getUnicodeRangeFor(value) {
  15987. for (var i = 0, ii = UnicodeRanges.length; i < ii; i++) {
  15988. var range = UnicodeRanges[i];
  15989. if (value >= range.begin && value < range.end)
  15990. return i;
  15991. }
  15992. return -1;
  15993. }
  15994. function isRTLRangeFor(value) {
  15995. var range = UnicodeRanges[13];
  15996. if (value >= range.begin && value < range.end)
  15997. return true;
  15998. range = UnicodeRanges[11];
  15999. if (value >= range.begin && value < range.end)
  16000. return true;
  16001. return false;
  16002. }
  16003. function isSpecialUnicode(unicode) {
  16004. return (unicode <= 0x1F || (unicode >= 127 && unicode < GLYPH_AREA_SIZE)) ||
  16005. (unicode >= CMAP_GLYPH_OFFSET &&
  16006. unicode < CMAP_GLYPH_OFFSET + GLYPH_AREA_SIZE);
  16007. }
  16008. // The normalization table is obtained by filtering the Unicode characters
  16009. // database with <compat> entries.
  16010. var NormalizedUnicodes = {
  16011. '\u00A8': '\u0020\u0308',
  16012. '\u00AF': '\u0020\u0304',
  16013. '\u00B4': '\u0020\u0301',
  16014. '\u00B5': '\u03BC',
  16015. '\u00B8': '\u0020\u0327',
  16016. '\u0132': '\u0049\u004A',
  16017. '\u0133': '\u0069\u006A',
  16018. '\u013F': '\u004C\u00B7',
  16019. '\u0140': '\u006C\u00B7',
  16020. '\u0149': '\u02BC\u006E',
  16021. '\u017F': '\u0073',
  16022. '\u01C4': '\u0044\u017D',
  16023. '\u01C5': '\u0044\u017E',
  16024. '\u01C6': '\u0064\u017E',
  16025. '\u01C7': '\u004C\u004A',
  16026. '\u01C8': '\u004C\u006A',
  16027. '\u01C9': '\u006C\u006A',
  16028. '\u01CA': '\u004E\u004A',
  16029. '\u01CB': '\u004E\u006A',
  16030. '\u01CC': '\u006E\u006A',
  16031. '\u01F1': '\u0044\u005A',
  16032. '\u01F2': '\u0044\u007A',
  16033. '\u01F3': '\u0064\u007A',
  16034. '\u02D8': '\u0020\u0306',
  16035. '\u02D9': '\u0020\u0307',
  16036. '\u02DA': '\u0020\u030A',
  16037. '\u02DB': '\u0020\u0328',
  16038. '\u02DC': '\u0020\u0303',
  16039. '\u02DD': '\u0020\u030B',
  16040. '\u037A': '\u0020\u0345',
  16041. '\u0384': '\u0020\u0301',
  16042. '\u03D0': '\u03B2',
  16043. '\u03D1': '\u03B8',
  16044. '\u03D2': '\u03A5',
  16045. '\u03D5': '\u03C6',
  16046. '\u03D6': '\u03C0',
  16047. '\u03F0': '\u03BA',
  16048. '\u03F1': '\u03C1',
  16049. '\u03F2': '\u03C2',
  16050. '\u03F4': '\u0398',
  16051. '\u03F5': '\u03B5',
  16052. '\u03F9': '\u03A3',
  16053. '\u0587': '\u0565\u0582',
  16054. '\u0675': '\u0627\u0674',
  16055. '\u0676': '\u0648\u0674',
  16056. '\u0677': '\u06C7\u0674',
  16057. '\u0678': '\u064A\u0674',
  16058. '\u0E33': '\u0E4D\u0E32',
  16059. '\u0EB3': '\u0ECD\u0EB2',
  16060. '\u0EDC': '\u0EAB\u0E99',
  16061. '\u0EDD': '\u0EAB\u0EA1',
  16062. '\u0F77': '\u0FB2\u0F81',
  16063. '\u0F79': '\u0FB3\u0F81',
  16064. '\u1E9A': '\u0061\u02BE',
  16065. '\u1FBD': '\u0020\u0313',
  16066. '\u1FBF': '\u0020\u0313',
  16067. '\u1FC0': '\u0020\u0342',
  16068. '\u1FFE': '\u0020\u0314',
  16069. '\u2002': '\u0020',
  16070. '\u2003': '\u0020',
  16071. '\u2004': '\u0020',
  16072. '\u2005': '\u0020',
  16073. '\u2006': '\u0020',
  16074. '\u2008': '\u0020',
  16075. '\u2009': '\u0020',
  16076. '\u200A': '\u0020',
  16077. '\u2017': '\u0020\u0333',
  16078. '\u2024': '\u002E',
  16079. '\u2025': '\u002E\u002E',
  16080. '\u2026': '\u002E\u002E\u002E',
  16081. '\u2033': '\u2032\u2032',
  16082. '\u2034': '\u2032\u2032\u2032',
  16083. '\u2036': '\u2035\u2035',
  16084. '\u2037': '\u2035\u2035\u2035',
  16085. '\u203C': '\u0021\u0021',
  16086. '\u203E': '\u0020\u0305',
  16087. '\u2047': '\u003F\u003F',
  16088. '\u2048': '\u003F\u0021',
  16089. '\u2049': '\u0021\u003F',
  16090. '\u2057': '\u2032\u2032\u2032\u2032',
  16091. '\u205F': '\u0020',
  16092. '\u20A8': '\u0052\u0073',
  16093. '\u2100': '\u0061\u002F\u0063',
  16094. '\u2101': '\u0061\u002F\u0073',
  16095. '\u2103': '\u00B0\u0043',
  16096. '\u2105': '\u0063\u002F\u006F',
  16097. '\u2106': '\u0063\u002F\u0075',
  16098. '\u2107': '\u0190',
  16099. '\u2109': '\u00B0\u0046',
  16100. '\u2116': '\u004E\u006F',
  16101. '\u2121': '\u0054\u0045\u004C',
  16102. '\u2135': '\u05D0',
  16103. '\u2136': '\u05D1',
  16104. '\u2137': '\u05D2',
  16105. '\u2138': '\u05D3',
  16106. '\u213B': '\u0046\u0041\u0058',
  16107. '\u2160': '\u0049',
  16108. '\u2161': '\u0049\u0049',
  16109. '\u2162': '\u0049\u0049\u0049',
  16110. '\u2163': '\u0049\u0056',
  16111. '\u2164': '\u0056',
  16112. '\u2165': '\u0056\u0049',
  16113. '\u2166': '\u0056\u0049\u0049',
  16114. '\u2167': '\u0056\u0049\u0049\u0049',
  16115. '\u2168': '\u0049\u0058',
  16116. '\u2169': '\u0058',
  16117. '\u216A': '\u0058\u0049',
  16118. '\u216B': '\u0058\u0049\u0049',
  16119. '\u216C': '\u004C',
  16120. '\u216D': '\u0043',
  16121. '\u216E': '\u0044',
  16122. '\u216F': '\u004D',
  16123. '\u2170': '\u0069',
  16124. '\u2171': '\u0069\u0069',
  16125. '\u2172': '\u0069\u0069\u0069',
  16126. '\u2173': '\u0069\u0076',
  16127. '\u2174': '\u0076',
  16128. '\u2175': '\u0076\u0069',
  16129. '\u2176': '\u0076\u0069\u0069',
  16130. '\u2177': '\u0076\u0069\u0069\u0069',
  16131. '\u2178': '\u0069\u0078',
  16132. '\u2179': '\u0078',
  16133. '\u217A': '\u0078\u0069',
  16134. '\u217B': '\u0078\u0069\u0069',
  16135. '\u217C': '\u006C',
  16136. '\u217D': '\u0063',
  16137. '\u217E': '\u0064',
  16138. '\u217F': '\u006D',
  16139. '\u222C': '\u222B\u222B',
  16140. '\u222D': '\u222B\u222B\u222B',
  16141. '\u222F': '\u222E\u222E',
  16142. '\u2230': '\u222E\u222E\u222E',
  16143. '\u2474': '\u0028\u0031\u0029',
  16144. '\u2475': '\u0028\u0032\u0029',
  16145. '\u2476': '\u0028\u0033\u0029',
  16146. '\u2477': '\u0028\u0034\u0029',
  16147. '\u2478': '\u0028\u0035\u0029',
  16148. '\u2479': '\u0028\u0036\u0029',
  16149. '\u247A': '\u0028\u0037\u0029',
  16150. '\u247B': '\u0028\u0038\u0029',
  16151. '\u247C': '\u0028\u0039\u0029',
  16152. '\u247D': '\u0028\u0031\u0030\u0029',
  16153. '\u247E': '\u0028\u0031\u0031\u0029',
  16154. '\u247F': '\u0028\u0031\u0032\u0029',
  16155. '\u2480': '\u0028\u0031\u0033\u0029',
  16156. '\u2481': '\u0028\u0031\u0034\u0029',
  16157. '\u2482': '\u0028\u0031\u0035\u0029',
  16158. '\u2483': '\u0028\u0031\u0036\u0029',
  16159. '\u2484': '\u0028\u0031\u0037\u0029',
  16160. '\u2485': '\u0028\u0031\u0038\u0029',
  16161. '\u2486': '\u0028\u0031\u0039\u0029',
  16162. '\u2487': '\u0028\u0032\u0030\u0029',
  16163. '\u2488': '\u0031\u002E',
  16164. '\u2489': '\u0032\u002E',
  16165. '\u248A': '\u0033\u002E',
  16166. '\u248B': '\u0034\u002E',
  16167. '\u248C': '\u0035\u002E',
  16168. '\u248D': '\u0036\u002E',
  16169. '\u248E': '\u0037\u002E',
  16170. '\u248F': '\u0038\u002E',
  16171. '\u2490': '\u0039\u002E',
  16172. '\u2491': '\u0031\u0030\u002E',
  16173. '\u2492': '\u0031\u0031\u002E',
  16174. '\u2493': '\u0031\u0032\u002E',
  16175. '\u2494': '\u0031\u0033\u002E',
  16176. '\u2495': '\u0031\u0034\u002E',
  16177. '\u2496': '\u0031\u0035\u002E',
  16178. '\u2497': '\u0031\u0036\u002E',
  16179. '\u2498': '\u0031\u0037\u002E',
  16180. '\u2499': '\u0031\u0038\u002E',
  16181. '\u249A': '\u0031\u0039\u002E',
  16182. '\u249B': '\u0032\u0030\u002E',
  16183. '\u249C': '\u0028\u0061\u0029',
  16184. '\u249D': '\u0028\u0062\u0029',
  16185. '\u249E': '\u0028\u0063\u0029',
  16186. '\u249F': '\u0028\u0064\u0029',
  16187. '\u24A0': '\u0028\u0065\u0029',
  16188. '\u24A1': '\u0028\u0066\u0029',
  16189. '\u24A2': '\u0028\u0067\u0029',
  16190. '\u24A3': '\u0028\u0068\u0029',
  16191. '\u24A4': '\u0028\u0069\u0029',
  16192. '\u24A5': '\u0028\u006A\u0029',
  16193. '\u24A6': '\u0028\u006B\u0029',
  16194. '\u24A7': '\u0028\u006C\u0029',
  16195. '\u24A8': '\u0028\u006D\u0029',
  16196. '\u24A9': '\u0028\u006E\u0029',
  16197. '\u24AA': '\u0028\u006F\u0029',
  16198. '\u24AB': '\u0028\u0070\u0029',
  16199. '\u24AC': '\u0028\u0071\u0029',
  16200. '\u24AD': '\u0028\u0072\u0029',
  16201. '\u24AE': '\u0028\u0073\u0029',
  16202. '\u24AF': '\u0028\u0074\u0029',
  16203. '\u24B0': '\u0028\u0075\u0029',
  16204. '\u24B1': '\u0028\u0076\u0029',
  16205. '\u24B2': '\u0028\u0077\u0029',
  16206. '\u24B3': '\u0028\u0078\u0029',
  16207. '\u24B4': '\u0028\u0079\u0029',
  16208. '\u24B5': '\u0028\u007A\u0029',
  16209. '\u2A0C': '\u222B\u222B\u222B\u222B',
  16210. '\u2A74': '\u003A\u003A\u003D',
  16211. '\u2A75': '\u003D\u003D',
  16212. '\u2A76': '\u003D\u003D\u003D',
  16213. '\u2E9F': '\u6BCD',
  16214. '\u2EF3': '\u9F9F',
  16215. '\u2F00': '\u4E00',
  16216. '\u2F01': '\u4E28',
  16217. '\u2F02': '\u4E36',
  16218. '\u2F03': '\u4E3F',
  16219. '\u2F04': '\u4E59',
  16220. '\u2F05': '\u4E85',
  16221. '\u2F06': '\u4E8C',
  16222. '\u2F07': '\u4EA0',
  16223. '\u2F08': '\u4EBA',
  16224. '\u2F09': '\u513F',
  16225. '\u2F0A': '\u5165',
  16226. '\u2F0B': '\u516B',
  16227. '\u2F0C': '\u5182',
  16228. '\u2F0D': '\u5196',
  16229. '\u2F0E': '\u51AB',
  16230. '\u2F0F': '\u51E0',
  16231. '\u2F10': '\u51F5',
  16232. '\u2F11': '\u5200',
  16233. '\u2F12': '\u529B',
  16234. '\u2F13': '\u52F9',
  16235. '\u2F14': '\u5315',
  16236. '\u2F15': '\u531A',
  16237. '\u2F16': '\u5338',
  16238. '\u2F17': '\u5341',
  16239. '\u2F18': '\u535C',
  16240. '\u2F19': '\u5369',
  16241. '\u2F1A': '\u5382',
  16242. '\u2F1B': '\u53B6',
  16243. '\u2F1C': '\u53C8',
  16244. '\u2F1D': '\u53E3',
  16245. '\u2F1E': '\u56D7',
  16246. '\u2F1F': '\u571F',
  16247. '\u2F20': '\u58EB',
  16248. '\u2F21': '\u5902',
  16249. '\u2F22': '\u590A',
  16250. '\u2F23': '\u5915',
  16251. '\u2F24': '\u5927',
  16252. '\u2F25': '\u5973',
  16253. '\u2F26': '\u5B50',
  16254. '\u2F27': '\u5B80',
  16255. '\u2F28': '\u5BF8',
  16256. '\u2F29': '\u5C0F',
  16257. '\u2F2A': '\u5C22',
  16258. '\u2F2B': '\u5C38',
  16259. '\u2F2C': '\u5C6E',
  16260. '\u2F2D': '\u5C71',
  16261. '\u2F2E': '\u5DDB',
  16262. '\u2F2F': '\u5DE5',
  16263. '\u2F30': '\u5DF1',
  16264. '\u2F31': '\u5DFE',
  16265. '\u2F32': '\u5E72',
  16266. '\u2F33': '\u5E7A',
  16267. '\u2F34': '\u5E7F',
  16268. '\u2F35': '\u5EF4',
  16269. '\u2F36': '\u5EFE',
  16270. '\u2F37': '\u5F0B',
  16271. '\u2F38': '\u5F13',
  16272. '\u2F39': '\u5F50',
  16273. '\u2F3A': '\u5F61',
  16274. '\u2F3B': '\u5F73',
  16275. '\u2F3C': '\u5FC3',
  16276. '\u2F3D': '\u6208',
  16277. '\u2F3E': '\u6236',
  16278. '\u2F3F': '\u624B',
  16279. '\u2F40': '\u652F',
  16280. '\u2F41': '\u6534',
  16281. '\u2F42': '\u6587',
  16282. '\u2F43': '\u6597',
  16283. '\u2F44': '\u65A4',
  16284. '\u2F45': '\u65B9',
  16285. '\u2F46': '\u65E0',
  16286. '\u2F47': '\u65E5',
  16287. '\u2F48': '\u66F0',
  16288. '\u2F49': '\u6708',
  16289. '\u2F4A': '\u6728',
  16290. '\u2F4B': '\u6B20',
  16291. '\u2F4C': '\u6B62',
  16292. '\u2F4D': '\u6B79',
  16293. '\u2F4E': '\u6BB3',
  16294. '\u2F4F': '\u6BCB',
  16295. '\u2F50': '\u6BD4',
  16296. '\u2F51': '\u6BDB',
  16297. '\u2F52': '\u6C0F',
  16298. '\u2F53': '\u6C14',
  16299. '\u2F54': '\u6C34',
  16300. '\u2F55': '\u706B',
  16301. '\u2F56': '\u722A',
  16302. '\u2F57': '\u7236',
  16303. '\u2F58': '\u723B',
  16304. '\u2F59': '\u723F',
  16305. '\u2F5A': '\u7247',
  16306. '\u2F5B': '\u7259',
  16307. '\u2F5C': '\u725B',
  16308. '\u2F5D': '\u72AC',
  16309. '\u2F5E': '\u7384',
  16310. '\u2F5F': '\u7389',
  16311. '\u2F60': '\u74DC',
  16312. '\u2F61': '\u74E6',
  16313. '\u2F62': '\u7518',
  16314. '\u2F63': '\u751F',
  16315. '\u2F64': '\u7528',
  16316. '\u2F65': '\u7530',
  16317. '\u2F66': '\u758B',
  16318. '\u2F67': '\u7592',
  16319. '\u2F68': '\u7676',
  16320. '\u2F69': '\u767D',
  16321. '\u2F6A': '\u76AE',
  16322. '\u2F6B': '\u76BF',
  16323. '\u2F6C': '\u76EE',
  16324. '\u2F6D': '\u77DB',
  16325. '\u2F6E': '\u77E2',
  16326. '\u2F6F': '\u77F3',
  16327. '\u2F70': '\u793A',
  16328. '\u2F71': '\u79B8',
  16329. '\u2F72': '\u79BE',
  16330. '\u2F73': '\u7A74',
  16331. '\u2F74': '\u7ACB',
  16332. '\u2F75': '\u7AF9',
  16333. '\u2F76': '\u7C73',
  16334. '\u2F77': '\u7CF8',
  16335. '\u2F78': '\u7F36',
  16336. '\u2F79': '\u7F51',
  16337. '\u2F7A': '\u7F8A',
  16338. '\u2F7B': '\u7FBD',
  16339. '\u2F7C': '\u8001',
  16340. '\u2F7D': '\u800C',
  16341. '\u2F7E': '\u8012',
  16342. '\u2F7F': '\u8033',
  16343. '\u2F80': '\u807F',
  16344. '\u2F81': '\u8089',
  16345. '\u2F82': '\u81E3',
  16346. '\u2F83': '\u81EA',
  16347. '\u2F84': '\u81F3',
  16348. '\u2F85': '\u81FC',
  16349. '\u2F86': '\u820C',
  16350. '\u2F87': '\u821B',
  16351. '\u2F88': '\u821F',
  16352. '\u2F89': '\u826E',
  16353. '\u2F8A': '\u8272',
  16354. '\u2F8B': '\u8278',
  16355. '\u2F8C': '\u864D',
  16356. '\u2F8D': '\u866B',
  16357. '\u2F8E': '\u8840',
  16358. '\u2F8F': '\u884C',
  16359. '\u2F90': '\u8863',
  16360. '\u2F91': '\u897E',
  16361. '\u2F92': '\u898B',
  16362. '\u2F93': '\u89D2',
  16363. '\u2F94': '\u8A00',
  16364. '\u2F95': '\u8C37',
  16365. '\u2F96': '\u8C46',
  16366. '\u2F97': '\u8C55',
  16367. '\u2F98': '\u8C78',
  16368. '\u2F99': '\u8C9D',
  16369. '\u2F9A': '\u8D64',
  16370. '\u2F9B': '\u8D70',
  16371. '\u2F9C': '\u8DB3',
  16372. '\u2F9D': '\u8EAB',
  16373. '\u2F9E': '\u8ECA',
  16374. '\u2F9F': '\u8F9B',
  16375. '\u2FA0': '\u8FB0',
  16376. '\u2FA1': '\u8FB5',
  16377. '\u2FA2': '\u9091',
  16378. '\u2FA3': '\u9149',
  16379. '\u2FA4': '\u91C6',
  16380. '\u2FA5': '\u91CC',
  16381. '\u2FA6': '\u91D1',
  16382. '\u2FA7': '\u9577',
  16383. '\u2FA8': '\u9580',
  16384. '\u2FA9': '\u961C',
  16385. '\u2FAA': '\u96B6',
  16386. '\u2FAB': '\u96B9',
  16387. '\u2FAC': '\u96E8',
  16388. '\u2FAD': '\u9751',
  16389. '\u2FAE': '\u975E',
  16390. '\u2FAF': '\u9762',
  16391. '\u2FB0': '\u9769',
  16392. '\u2FB1': '\u97CB',
  16393. '\u2FB2': '\u97ED',
  16394. '\u2FB3': '\u97F3',
  16395. '\u2FB4': '\u9801',
  16396. '\u2FB5': '\u98A8',
  16397. '\u2FB6': '\u98DB',
  16398. '\u2FB7': '\u98DF',
  16399. '\u2FB8': '\u9996',
  16400. '\u2FB9': '\u9999',
  16401. '\u2FBA': '\u99AC',
  16402. '\u2FBB': '\u9AA8',
  16403. '\u2FBC': '\u9AD8',
  16404. '\u2FBD': '\u9ADF',
  16405. '\u2FBE': '\u9B25',
  16406. '\u2FBF': '\u9B2F',
  16407. '\u2FC0': '\u9B32',
  16408. '\u2FC1': '\u9B3C',
  16409. '\u2FC2': '\u9B5A',
  16410. '\u2FC3': '\u9CE5',
  16411. '\u2FC4': '\u9E75',
  16412. '\u2FC5': '\u9E7F',
  16413. '\u2FC6': '\u9EA5',
  16414. '\u2FC7': '\u9EBB',
  16415. '\u2FC8': '\u9EC3',
  16416. '\u2FC9': '\u9ECD',
  16417. '\u2FCA': '\u9ED1',
  16418. '\u2FCB': '\u9EF9',
  16419. '\u2FCC': '\u9EFD',
  16420. '\u2FCD': '\u9F0E',
  16421. '\u2FCE': '\u9F13',
  16422. '\u2FCF': '\u9F20',
  16423. '\u2FD0': '\u9F3B',
  16424. '\u2FD1': '\u9F4A',
  16425. '\u2FD2': '\u9F52',
  16426. '\u2FD3': '\u9F8D',
  16427. '\u2FD4': '\u9F9C',
  16428. '\u2FD5': '\u9FA0',
  16429. '\u3036': '\u3012',
  16430. '\u3038': '\u5341',
  16431. '\u3039': '\u5344',
  16432. '\u303A': '\u5345',
  16433. '\u309B': '\u0020\u3099',
  16434. '\u309C': '\u0020\u309A',
  16435. '\u3131': '\u1100',
  16436. '\u3132': '\u1101',
  16437. '\u3133': '\u11AA',
  16438. '\u3134': '\u1102',
  16439. '\u3135': '\u11AC',
  16440. '\u3136': '\u11AD',
  16441. '\u3137': '\u1103',
  16442. '\u3138': '\u1104',
  16443. '\u3139': '\u1105',
  16444. '\u313A': '\u11B0',
  16445. '\u313B': '\u11B1',
  16446. '\u313C': '\u11B2',
  16447. '\u313D': '\u11B3',
  16448. '\u313E': '\u11B4',
  16449. '\u313F': '\u11B5',
  16450. '\u3140': '\u111A',
  16451. '\u3141': '\u1106',
  16452. '\u3142': '\u1107',
  16453. '\u3143': '\u1108',
  16454. '\u3144': '\u1121',
  16455. '\u3145': '\u1109',
  16456. '\u3146': '\u110A',
  16457. '\u3147': '\u110B',
  16458. '\u3148': '\u110C',
  16459. '\u3149': '\u110D',
  16460. '\u314A': '\u110E',
  16461. '\u314B': '\u110F',
  16462. '\u314C': '\u1110',
  16463. '\u314D': '\u1111',
  16464. '\u314E': '\u1112',
  16465. '\u314F': '\u1161',
  16466. '\u3150': '\u1162',
  16467. '\u3151': '\u1163',
  16468. '\u3152': '\u1164',
  16469. '\u3153': '\u1165',
  16470. '\u3154': '\u1166',
  16471. '\u3155': '\u1167',
  16472. '\u3156': '\u1168',
  16473. '\u3157': '\u1169',
  16474. '\u3158': '\u116A',
  16475. '\u3159': '\u116B',
  16476. '\u315A': '\u116C',
  16477. '\u315B': '\u116D',
  16478. '\u315C': '\u116E',
  16479. '\u315D': '\u116F',
  16480. '\u315E': '\u1170',
  16481. '\u315F': '\u1171',
  16482. '\u3160': '\u1172',
  16483. '\u3161': '\u1173',
  16484. '\u3162': '\u1174',
  16485. '\u3163': '\u1175',
  16486. '\u3164': '\u1160',
  16487. '\u3165': '\u1114',
  16488. '\u3166': '\u1115',
  16489. '\u3167': '\u11C7',
  16490. '\u3168': '\u11C8',
  16491. '\u3169': '\u11CC',
  16492. '\u316A': '\u11CE',
  16493. '\u316B': '\u11D3',
  16494. '\u316C': '\u11D7',
  16495. '\u316D': '\u11D9',
  16496. '\u316E': '\u111C',
  16497. '\u316F': '\u11DD',
  16498. '\u3170': '\u11DF',
  16499. '\u3171': '\u111D',
  16500. '\u3172': '\u111E',
  16501. '\u3173': '\u1120',
  16502. '\u3174': '\u1122',
  16503. '\u3175': '\u1123',
  16504. '\u3176': '\u1127',
  16505. '\u3177': '\u1129',
  16506. '\u3178': '\u112B',
  16507. '\u3179': '\u112C',
  16508. '\u317A': '\u112D',
  16509. '\u317B': '\u112E',
  16510. '\u317C': '\u112F',
  16511. '\u317D': '\u1132',
  16512. '\u317E': '\u1136',
  16513. '\u317F': '\u1140',
  16514. '\u3180': '\u1147',
  16515. '\u3181': '\u114C',
  16516. '\u3182': '\u11F1',
  16517. '\u3183': '\u11F2',
  16518. '\u3184': '\u1157',
  16519. '\u3185': '\u1158',
  16520. '\u3186': '\u1159',
  16521. '\u3187': '\u1184',
  16522. '\u3188': '\u1185',
  16523. '\u3189': '\u1188',
  16524. '\u318A': '\u1191',
  16525. '\u318B': '\u1192',
  16526. '\u318C': '\u1194',
  16527. '\u318D': '\u119E',
  16528. '\u318E': '\u11A1',
  16529. '\u3200': '\u0028\u1100\u0029',
  16530. '\u3201': '\u0028\u1102\u0029',
  16531. '\u3202': '\u0028\u1103\u0029',
  16532. '\u3203': '\u0028\u1105\u0029',
  16533. '\u3204': '\u0028\u1106\u0029',
  16534. '\u3205': '\u0028\u1107\u0029',
  16535. '\u3206': '\u0028\u1109\u0029',
  16536. '\u3207': '\u0028\u110B\u0029',
  16537. '\u3208': '\u0028\u110C\u0029',
  16538. '\u3209': '\u0028\u110E\u0029',
  16539. '\u320A': '\u0028\u110F\u0029',
  16540. '\u320B': '\u0028\u1110\u0029',
  16541. '\u320C': '\u0028\u1111\u0029',
  16542. '\u320D': '\u0028\u1112\u0029',
  16543. '\u320E': '\u0028\u1100\u1161\u0029',
  16544. '\u320F': '\u0028\u1102\u1161\u0029',
  16545. '\u3210': '\u0028\u1103\u1161\u0029',
  16546. '\u3211': '\u0028\u1105\u1161\u0029',
  16547. '\u3212': '\u0028\u1106\u1161\u0029',
  16548. '\u3213': '\u0028\u1107\u1161\u0029',
  16549. '\u3214': '\u0028\u1109\u1161\u0029',
  16550. '\u3215': '\u0028\u110B\u1161\u0029',
  16551. '\u3216': '\u0028\u110C\u1161\u0029',
  16552. '\u3217': '\u0028\u110E\u1161\u0029',
  16553. '\u3218': '\u0028\u110F\u1161\u0029',
  16554. '\u3219': '\u0028\u1110\u1161\u0029',
  16555. '\u321A': '\u0028\u1111\u1161\u0029',
  16556. '\u321B': '\u0028\u1112\u1161\u0029',
  16557. '\u321C': '\u0028\u110C\u116E\u0029',
  16558. '\u321D': '\u0028\u110B\u1169\u110C\u1165\u11AB\u0029',
  16559. '\u321E': '\u0028\u110B\u1169\u1112\u116E\u0029',
  16560. '\u3220': '\u0028\u4E00\u0029',
  16561. '\u3221': '\u0028\u4E8C\u0029',
  16562. '\u3222': '\u0028\u4E09\u0029',
  16563. '\u3223': '\u0028\u56DB\u0029',
  16564. '\u3224': '\u0028\u4E94\u0029',
  16565. '\u3225': '\u0028\u516D\u0029',
  16566. '\u3226': '\u0028\u4E03\u0029',
  16567. '\u3227': '\u0028\u516B\u0029',
  16568. '\u3228': '\u0028\u4E5D\u0029',
  16569. '\u3229': '\u0028\u5341\u0029',
  16570. '\u322A': '\u0028\u6708\u0029',
  16571. '\u322B': '\u0028\u706B\u0029',
  16572. '\u322C': '\u0028\u6C34\u0029',
  16573. '\u322D': '\u0028\u6728\u0029',
  16574. '\u322E': '\u0028\u91D1\u0029',
  16575. '\u322F': '\u0028\u571F\u0029',
  16576. '\u3230': '\u0028\u65E5\u0029',
  16577. '\u3231': '\u0028\u682A\u0029',
  16578. '\u3232': '\u0028\u6709\u0029',
  16579. '\u3233': '\u0028\u793E\u0029',
  16580. '\u3234': '\u0028\u540D\u0029',
  16581. '\u3235': '\u0028\u7279\u0029',
  16582. '\u3236': '\u0028\u8CA1\u0029',
  16583. '\u3237': '\u0028\u795D\u0029',
  16584. '\u3238': '\u0028\u52B4\u0029',
  16585. '\u3239': '\u0028\u4EE3\u0029',
  16586. '\u323A': '\u0028\u547C\u0029',
  16587. '\u323B': '\u0028\u5B66\u0029',
  16588. '\u323C': '\u0028\u76E3\u0029',
  16589. '\u323D': '\u0028\u4F01\u0029',
  16590. '\u323E': '\u0028\u8CC7\u0029',
  16591. '\u323F': '\u0028\u5354\u0029',
  16592. '\u3240': '\u0028\u796D\u0029',
  16593. '\u3241': '\u0028\u4F11\u0029',
  16594. '\u3242': '\u0028\u81EA\u0029',
  16595. '\u3243': '\u0028\u81F3\u0029',
  16596. '\u32C0': '\u0031\u6708',
  16597. '\u32C1': '\u0032\u6708',
  16598. '\u32C2': '\u0033\u6708',
  16599. '\u32C3': '\u0034\u6708',
  16600. '\u32C4': '\u0035\u6708',
  16601. '\u32C5': '\u0036\u6708',
  16602. '\u32C6': '\u0037\u6708',
  16603. '\u32C7': '\u0038\u6708',
  16604. '\u32C8': '\u0039\u6708',
  16605. '\u32C9': '\u0031\u0030\u6708',
  16606. '\u32CA': '\u0031\u0031\u6708',
  16607. '\u32CB': '\u0031\u0032\u6708',
  16608. '\u3358': '\u0030\u70B9',
  16609. '\u3359': '\u0031\u70B9',
  16610. '\u335A': '\u0032\u70B9',
  16611. '\u335B': '\u0033\u70B9',
  16612. '\u335C': '\u0034\u70B9',
  16613. '\u335D': '\u0035\u70B9',
  16614. '\u335E': '\u0036\u70B9',
  16615. '\u335F': '\u0037\u70B9',
  16616. '\u3360': '\u0038\u70B9',
  16617. '\u3361': '\u0039\u70B9',
  16618. '\u3362': '\u0031\u0030\u70B9',
  16619. '\u3363': '\u0031\u0031\u70B9',
  16620. '\u3364': '\u0031\u0032\u70B9',
  16621. '\u3365': '\u0031\u0033\u70B9',
  16622. '\u3366': '\u0031\u0034\u70B9',
  16623. '\u3367': '\u0031\u0035\u70B9',
  16624. '\u3368': '\u0031\u0036\u70B9',
  16625. '\u3369': '\u0031\u0037\u70B9',
  16626. '\u336A': '\u0031\u0038\u70B9',
  16627. '\u336B': '\u0031\u0039\u70B9',
  16628. '\u336C': '\u0032\u0030\u70B9',
  16629. '\u336D': '\u0032\u0031\u70B9',
  16630. '\u336E': '\u0032\u0032\u70B9',
  16631. '\u336F': '\u0032\u0033\u70B9',
  16632. '\u3370': '\u0032\u0034\u70B9',
  16633. '\u33E0': '\u0031\u65E5',
  16634. '\u33E1': '\u0032\u65E5',
  16635. '\u33E2': '\u0033\u65E5',
  16636. '\u33E3': '\u0034\u65E5',
  16637. '\u33E4': '\u0035\u65E5',
  16638. '\u33E5': '\u0036\u65E5',
  16639. '\u33E6': '\u0037\u65E5',
  16640. '\u33E7': '\u0038\u65E5',
  16641. '\u33E8': '\u0039\u65E5',
  16642. '\u33E9': '\u0031\u0030\u65E5',
  16643. '\u33EA': '\u0031\u0031\u65E5',
  16644. '\u33EB': '\u0031\u0032\u65E5',
  16645. '\u33EC': '\u0031\u0033\u65E5',
  16646. '\u33ED': '\u0031\u0034\u65E5',
  16647. '\u33EE': '\u0031\u0035\u65E5',
  16648. '\u33EF': '\u0031\u0036\u65E5',
  16649. '\u33F0': '\u0031\u0037\u65E5',
  16650. '\u33F1': '\u0031\u0038\u65E5',
  16651. '\u33F2': '\u0031\u0039\u65E5',
  16652. '\u33F3': '\u0032\u0030\u65E5',
  16653. '\u33F4': '\u0032\u0031\u65E5',
  16654. '\u33F5': '\u0032\u0032\u65E5',
  16655. '\u33F6': '\u0032\u0033\u65E5',
  16656. '\u33F7': '\u0032\u0034\u65E5',
  16657. '\u33F8': '\u0032\u0035\u65E5',
  16658. '\u33F9': '\u0032\u0036\u65E5',
  16659. '\u33FA': '\u0032\u0037\u65E5',
  16660. '\u33FB': '\u0032\u0038\u65E5',
  16661. '\u33FC': '\u0032\u0039\u65E5',
  16662. '\u33FD': '\u0033\u0030\u65E5',
  16663. '\u33FE': '\u0033\u0031\u65E5',
  16664. '\uFB00': '\u0066\u0066',
  16665. '\uFB01': '\u0066\u0069',
  16666. '\uFB02': '\u0066\u006C',
  16667. '\uFB03': '\u0066\u0066\u0069',
  16668. '\uFB04': '\u0066\u0066\u006C',
  16669. '\uFB05': '\u017F\u0074',
  16670. '\uFB06': '\u0073\u0074',
  16671. '\uFB13': '\u0574\u0576',
  16672. '\uFB14': '\u0574\u0565',
  16673. '\uFB15': '\u0574\u056B',
  16674. '\uFB16': '\u057E\u0576',
  16675. '\uFB17': '\u0574\u056D',
  16676. '\uFB4F': '\u05D0\u05DC',
  16677. '\uFB50': '\u0671',
  16678. '\uFB51': '\u0671',
  16679. '\uFB52': '\u067B',
  16680. '\uFB53': '\u067B',
  16681. '\uFB54': '\u067B',
  16682. '\uFB55': '\u067B',
  16683. '\uFB56': '\u067E',
  16684. '\uFB57': '\u067E',
  16685. '\uFB58': '\u067E',
  16686. '\uFB59': '\u067E',
  16687. '\uFB5A': '\u0680',
  16688. '\uFB5B': '\u0680',
  16689. '\uFB5C': '\u0680',
  16690. '\uFB5D': '\u0680',
  16691. '\uFB5E': '\u067A',
  16692. '\uFB5F': '\u067A',
  16693. '\uFB60': '\u067A',
  16694. '\uFB61': '\u067A',
  16695. '\uFB62': '\u067F',
  16696. '\uFB63': '\u067F',
  16697. '\uFB64': '\u067F',
  16698. '\uFB65': '\u067F',
  16699. '\uFB66': '\u0679',
  16700. '\uFB67': '\u0679',
  16701. '\uFB68': '\u0679',
  16702. '\uFB69': '\u0679',
  16703. '\uFB6A': '\u06A4',
  16704. '\uFB6B': '\u06A4',
  16705. '\uFB6C': '\u06A4',
  16706. '\uFB6D': '\u06A4',
  16707. '\uFB6E': '\u06A6',
  16708. '\uFB6F': '\u06A6',
  16709. '\uFB70': '\u06A6',
  16710. '\uFB71': '\u06A6',
  16711. '\uFB72': '\u0684',
  16712. '\uFB73': '\u0684',
  16713. '\uFB74': '\u0684',
  16714. '\uFB75': '\u0684',
  16715. '\uFB76': '\u0683',
  16716. '\uFB77': '\u0683',
  16717. '\uFB78': '\u0683',
  16718. '\uFB79': '\u0683',
  16719. '\uFB7A': '\u0686',
  16720. '\uFB7B': '\u0686',
  16721. '\uFB7C': '\u0686',
  16722. '\uFB7D': '\u0686',
  16723. '\uFB7E': '\u0687',
  16724. '\uFB7F': '\u0687',
  16725. '\uFB80': '\u0687',
  16726. '\uFB81': '\u0687',
  16727. '\uFB82': '\u068D',
  16728. '\uFB83': '\u068D',
  16729. '\uFB84': '\u068C',
  16730. '\uFB85': '\u068C',
  16731. '\uFB86': '\u068E',
  16732. '\uFB87': '\u068E',
  16733. '\uFB88': '\u0688',
  16734. '\uFB89': '\u0688',
  16735. '\uFB8A': '\u0698',
  16736. '\uFB8B': '\u0698',
  16737. '\uFB8C': '\u0691',
  16738. '\uFB8D': '\u0691',
  16739. '\uFB8E': '\u06A9',
  16740. '\uFB8F': '\u06A9',
  16741. '\uFB90': '\u06A9',
  16742. '\uFB91': '\u06A9',
  16743. '\uFB92': '\u06AF',
  16744. '\uFB93': '\u06AF',
  16745. '\uFB94': '\u06AF',
  16746. '\uFB95': '\u06AF',
  16747. '\uFB96': '\u06B3',
  16748. '\uFB97': '\u06B3',
  16749. '\uFB98': '\u06B3',
  16750. '\uFB99': '\u06B3',
  16751. '\uFB9A': '\u06B1',
  16752. '\uFB9B': '\u06B1',
  16753. '\uFB9C': '\u06B1',
  16754. '\uFB9D': '\u06B1',
  16755. '\uFB9E': '\u06BA',
  16756. '\uFB9F': '\u06BA',
  16757. '\uFBA0': '\u06BB',
  16758. '\uFBA1': '\u06BB',
  16759. '\uFBA2': '\u06BB',
  16760. '\uFBA3': '\u06BB',
  16761. '\uFBA4': '\u06C0',
  16762. '\uFBA5': '\u06C0',
  16763. '\uFBA6': '\u06C1',
  16764. '\uFBA7': '\u06C1',
  16765. '\uFBA8': '\u06C1',
  16766. '\uFBA9': '\u06C1',
  16767. '\uFBAA': '\u06BE',
  16768. '\uFBAB': '\u06BE',
  16769. '\uFBAC': '\u06BE',
  16770. '\uFBAD': '\u06BE',
  16771. '\uFBAE': '\u06D2',
  16772. '\uFBAF': '\u06D2',
  16773. '\uFBB0': '\u06D3',
  16774. '\uFBB1': '\u06D3',
  16775. '\uFBD3': '\u06AD',
  16776. '\uFBD4': '\u06AD',
  16777. '\uFBD5': '\u06AD',
  16778. '\uFBD6': '\u06AD',
  16779. '\uFBD7': '\u06C7',
  16780. '\uFBD8': '\u06C7',
  16781. '\uFBD9': '\u06C6',
  16782. '\uFBDA': '\u06C6',
  16783. '\uFBDB': '\u06C8',
  16784. '\uFBDC': '\u06C8',
  16785. '\uFBDD': '\u0677',
  16786. '\uFBDE': '\u06CB',
  16787. '\uFBDF': '\u06CB',
  16788. '\uFBE0': '\u06C5',
  16789. '\uFBE1': '\u06C5',
  16790. '\uFBE2': '\u06C9',
  16791. '\uFBE3': '\u06C9',
  16792. '\uFBE4': '\u06D0',
  16793. '\uFBE5': '\u06D0',
  16794. '\uFBE6': '\u06D0',
  16795. '\uFBE7': '\u06D0',
  16796. '\uFBE8': '\u0649',
  16797. '\uFBE9': '\u0649',
  16798. '\uFBEA': '\u0626\u0627',
  16799. '\uFBEB': '\u0626\u0627',
  16800. '\uFBEC': '\u0626\u06D5',
  16801. '\uFBED': '\u0626\u06D5',
  16802. '\uFBEE': '\u0626\u0648',
  16803. '\uFBEF': '\u0626\u0648',
  16804. '\uFBF0': '\u0626\u06C7',
  16805. '\uFBF1': '\u0626\u06C7',
  16806. '\uFBF2': '\u0626\u06C6',
  16807. '\uFBF3': '\u0626\u06C6',
  16808. '\uFBF4': '\u0626\u06C8',
  16809. '\uFBF5': '\u0626\u06C8',
  16810. '\uFBF6': '\u0626\u06D0',
  16811. '\uFBF7': '\u0626\u06D0',
  16812. '\uFBF8': '\u0626\u06D0',
  16813. '\uFBF9': '\u0626\u0649',
  16814. '\uFBFA': '\u0626\u0649',
  16815. '\uFBFB': '\u0626\u0649',
  16816. '\uFBFC': '\u06CC',
  16817. '\uFBFD': '\u06CC',
  16818. '\uFBFE': '\u06CC',
  16819. '\uFBFF': '\u06CC',
  16820. '\uFC00': '\u0626\u062C',
  16821. '\uFC01': '\u0626\u062D',
  16822. '\uFC02': '\u0626\u0645',
  16823. '\uFC03': '\u0626\u0649',
  16824. '\uFC04': '\u0626\u064A',
  16825. '\uFC05': '\u0628\u062C',
  16826. '\uFC06': '\u0628\u062D',
  16827. '\uFC07': '\u0628\u062E',
  16828. '\uFC08': '\u0628\u0645',
  16829. '\uFC09': '\u0628\u0649',
  16830. '\uFC0A': '\u0628\u064A',
  16831. '\uFC0B': '\u062A\u062C',
  16832. '\uFC0C': '\u062A\u062D',
  16833. '\uFC0D': '\u062A\u062E',
  16834. '\uFC0E': '\u062A\u0645',
  16835. '\uFC0F': '\u062A\u0649',
  16836. '\uFC10': '\u062A\u064A',
  16837. '\uFC11': '\u062B\u062C',
  16838. '\uFC12': '\u062B\u0645',
  16839. '\uFC13': '\u062B\u0649',
  16840. '\uFC14': '\u062B\u064A',
  16841. '\uFC15': '\u062C\u062D',
  16842. '\uFC16': '\u062C\u0645',
  16843. '\uFC17': '\u062D\u062C',
  16844. '\uFC18': '\u062D\u0645',
  16845. '\uFC19': '\u062E\u062C',
  16846. '\uFC1A': '\u062E\u062D',
  16847. '\uFC1B': '\u062E\u0645',
  16848. '\uFC1C': '\u0633\u062C',
  16849. '\uFC1D': '\u0633\u062D',
  16850. '\uFC1E': '\u0633\u062E',
  16851. '\uFC1F': '\u0633\u0645',
  16852. '\uFC20': '\u0635\u062D',
  16853. '\uFC21': '\u0635\u0645',
  16854. '\uFC22': '\u0636\u062C',
  16855. '\uFC23': '\u0636\u062D',
  16856. '\uFC24': '\u0636\u062E',
  16857. '\uFC25': '\u0636\u0645',
  16858. '\uFC26': '\u0637\u062D',
  16859. '\uFC27': '\u0637\u0645',
  16860. '\uFC28': '\u0638\u0645',
  16861. '\uFC29': '\u0639\u062C',
  16862. '\uFC2A': '\u0639\u0645',
  16863. '\uFC2B': '\u063A\u062C',
  16864. '\uFC2C': '\u063A\u0645',
  16865. '\uFC2D': '\u0641\u062C',
  16866. '\uFC2E': '\u0641\u062D',
  16867. '\uFC2F': '\u0641\u062E',
  16868. '\uFC30': '\u0641\u0645',
  16869. '\uFC31': '\u0641\u0649',
  16870. '\uFC32': '\u0641\u064A',
  16871. '\uFC33': '\u0642\u062D',
  16872. '\uFC34': '\u0642\u0645',
  16873. '\uFC35': '\u0642\u0649',
  16874. '\uFC36': '\u0642\u064A',
  16875. '\uFC37': '\u0643\u0627',
  16876. '\uFC38': '\u0643\u062C',
  16877. '\uFC39': '\u0643\u062D',
  16878. '\uFC3A': '\u0643\u062E',
  16879. '\uFC3B': '\u0643\u0644',
  16880. '\uFC3C': '\u0643\u0645',
  16881. '\uFC3D': '\u0643\u0649',
  16882. '\uFC3E': '\u0643\u064A',
  16883. '\uFC3F': '\u0644\u062C',
  16884. '\uFC40': '\u0644\u062D',
  16885. '\uFC41': '\u0644\u062E',
  16886. '\uFC42': '\u0644\u0645',
  16887. '\uFC43': '\u0644\u0649',
  16888. '\uFC44': '\u0644\u064A',
  16889. '\uFC45': '\u0645\u062C',
  16890. '\uFC46': '\u0645\u062D',
  16891. '\uFC47': '\u0645\u062E',
  16892. '\uFC48': '\u0645\u0645',
  16893. '\uFC49': '\u0645\u0649',
  16894. '\uFC4A': '\u0645\u064A',
  16895. '\uFC4B': '\u0646\u062C',
  16896. '\uFC4C': '\u0646\u062D',
  16897. '\uFC4D': '\u0646\u062E',
  16898. '\uFC4E': '\u0646\u0645',
  16899. '\uFC4F': '\u0646\u0649',
  16900. '\uFC50': '\u0646\u064A',
  16901. '\uFC51': '\u0647\u062C',
  16902. '\uFC52': '\u0647\u0645',
  16903. '\uFC53': '\u0647\u0649',
  16904. '\uFC54': '\u0647\u064A',
  16905. '\uFC55': '\u064A\u062C',
  16906. '\uFC56': '\u064A\u062D',
  16907. '\uFC57': '\u064A\u062E',
  16908. '\uFC58': '\u064A\u0645',
  16909. '\uFC59': '\u064A\u0649',
  16910. '\uFC5A': '\u064A\u064A',
  16911. '\uFC5B': '\u0630\u0670',
  16912. '\uFC5C': '\u0631\u0670',
  16913. '\uFC5D': '\u0649\u0670',
  16914. '\uFC5E': '\u0020\u064C\u0651',
  16915. '\uFC5F': '\u0020\u064D\u0651',
  16916. '\uFC60': '\u0020\u064E\u0651',
  16917. '\uFC61': '\u0020\u064F\u0651',
  16918. '\uFC62': '\u0020\u0650\u0651',
  16919. '\uFC63': '\u0020\u0651\u0670',
  16920. '\uFC64': '\u0626\u0631',
  16921. '\uFC65': '\u0626\u0632',
  16922. '\uFC66': '\u0626\u0645',
  16923. '\uFC67': '\u0626\u0646',
  16924. '\uFC68': '\u0626\u0649',
  16925. '\uFC69': '\u0626\u064A',
  16926. '\uFC6A': '\u0628\u0631',
  16927. '\uFC6B': '\u0628\u0632',
  16928. '\uFC6C': '\u0628\u0645',
  16929. '\uFC6D': '\u0628\u0646',
  16930. '\uFC6E': '\u0628\u0649',
  16931. '\uFC6F': '\u0628\u064A',
  16932. '\uFC70': '\u062A\u0631',
  16933. '\uFC71': '\u062A\u0632',
  16934. '\uFC72': '\u062A\u0645',
  16935. '\uFC73': '\u062A\u0646',
  16936. '\uFC74': '\u062A\u0649',
  16937. '\uFC75': '\u062A\u064A',
  16938. '\uFC76': '\u062B\u0631',
  16939. '\uFC77': '\u062B\u0632',
  16940. '\uFC78': '\u062B\u0645',
  16941. '\uFC79': '\u062B\u0646',
  16942. '\uFC7A': '\u062B\u0649',
  16943. '\uFC7B': '\u062B\u064A',
  16944. '\uFC7C': '\u0641\u0649',
  16945. '\uFC7D': '\u0641\u064A',
  16946. '\uFC7E': '\u0642\u0649',
  16947. '\uFC7F': '\u0642\u064A',
  16948. '\uFC80': '\u0643\u0627',
  16949. '\uFC81': '\u0643\u0644',
  16950. '\uFC82': '\u0643\u0645',
  16951. '\uFC83': '\u0643\u0649',
  16952. '\uFC84': '\u0643\u064A',
  16953. '\uFC85': '\u0644\u0645',
  16954. '\uFC86': '\u0644\u0649',
  16955. '\uFC87': '\u0644\u064A',
  16956. '\uFC88': '\u0645\u0627',
  16957. '\uFC89': '\u0645\u0645',
  16958. '\uFC8A': '\u0646\u0631',
  16959. '\uFC8B': '\u0646\u0632',
  16960. '\uFC8C': '\u0646\u0645',
  16961. '\uFC8D': '\u0646\u0646',
  16962. '\uFC8E': '\u0646\u0649',
  16963. '\uFC8F': '\u0646\u064A',
  16964. '\uFC90': '\u0649\u0670',
  16965. '\uFC91': '\u064A\u0631',
  16966. '\uFC92': '\u064A\u0632',
  16967. '\uFC93': '\u064A\u0645',
  16968. '\uFC94': '\u064A\u0646',
  16969. '\uFC95': '\u064A\u0649',
  16970. '\uFC96': '\u064A\u064A',
  16971. '\uFC97': '\u0626\u062C',
  16972. '\uFC98': '\u0626\u062D',
  16973. '\uFC99': '\u0626\u062E',
  16974. '\uFC9A': '\u0626\u0645',
  16975. '\uFC9B': '\u0626\u0647',
  16976. '\uFC9C': '\u0628\u062C',
  16977. '\uFC9D': '\u0628\u062D',
  16978. '\uFC9E': '\u0628\u062E',
  16979. '\uFC9F': '\u0628\u0645',
  16980. '\uFCA0': '\u0628\u0647',
  16981. '\uFCA1': '\u062A\u062C',
  16982. '\uFCA2': '\u062A\u062D',
  16983. '\uFCA3': '\u062A\u062E',
  16984. '\uFCA4': '\u062A\u0645',
  16985. '\uFCA5': '\u062A\u0647',
  16986. '\uFCA6': '\u062B\u0645',
  16987. '\uFCA7': '\u062C\u062D',
  16988. '\uFCA8': '\u062C\u0645',
  16989. '\uFCA9': '\u062D\u062C',
  16990. '\uFCAA': '\u062D\u0645',
  16991. '\uFCAB': '\u062E\u062C',
  16992. '\uFCAC': '\u062E\u0645',
  16993. '\uFCAD': '\u0633\u062C',
  16994. '\uFCAE': '\u0633\u062D',
  16995. '\uFCAF': '\u0633\u062E',
  16996. '\uFCB0': '\u0633\u0645',
  16997. '\uFCB1': '\u0635\u062D',
  16998. '\uFCB2': '\u0635\u062E',
  16999. '\uFCB3': '\u0635\u0645',
  17000. '\uFCB4': '\u0636\u062C',
  17001. '\uFCB5': '\u0636\u062D',
  17002. '\uFCB6': '\u0636\u062E',
  17003. '\uFCB7': '\u0636\u0645',
  17004. '\uFCB8': '\u0637\u062D',
  17005. '\uFCB9': '\u0638\u0645',
  17006. '\uFCBA': '\u0639\u062C',
  17007. '\uFCBB': '\u0639\u0645',
  17008. '\uFCBC': '\u063A\u062C',
  17009. '\uFCBD': '\u063A\u0645',
  17010. '\uFCBE': '\u0641\u062C',
  17011. '\uFCBF': '\u0641\u062D',
  17012. '\uFCC0': '\u0641\u062E',
  17013. '\uFCC1': '\u0641\u0645',
  17014. '\uFCC2': '\u0642\u062D',
  17015. '\uFCC3': '\u0642\u0645',
  17016. '\uFCC4': '\u0643\u062C',
  17017. '\uFCC5': '\u0643\u062D',
  17018. '\uFCC6': '\u0643\u062E',
  17019. '\uFCC7': '\u0643\u0644',
  17020. '\uFCC8': '\u0643\u0645',
  17021. '\uFCC9': '\u0644\u062C',
  17022. '\uFCCA': '\u0644\u062D',
  17023. '\uFCCB': '\u0644\u062E',
  17024. '\uFCCC': '\u0644\u0645',
  17025. '\uFCCD': '\u0644\u0647',
  17026. '\uFCCE': '\u0645\u062C',
  17027. '\uFCCF': '\u0645\u062D',
  17028. '\uFCD0': '\u0645\u062E',
  17029. '\uFCD1': '\u0645\u0645',
  17030. '\uFCD2': '\u0646\u062C',
  17031. '\uFCD3': '\u0646\u062D',
  17032. '\uFCD4': '\u0646\u062E',
  17033. '\uFCD5': '\u0646\u0645',
  17034. '\uFCD6': '\u0646\u0647',
  17035. '\uFCD7': '\u0647\u062C',
  17036. '\uFCD8': '\u0647\u0645',
  17037. '\uFCD9': '\u0647\u0670',
  17038. '\uFCDA': '\u064A\u062C',
  17039. '\uFCDB': '\u064A\u062D',
  17040. '\uFCDC': '\u064A\u062E',
  17041. '\uFCDD': '\u064A\u0645',
  17042. '\uFCDE': '\u064A\u0647',
  17043. '\uFCDF': '\u0626\u0645',
  17044. '\uFCE0': '\u0626\u0647',
  17045. '\uFCE1': '\u0628\u0645',
  17046. '\uFCE2': '\u0628\u0647',
  17047. '\uFCE3': '\u062A\u0645',
  17048. '\uFCE4': '\u062A\u0647',
  17049. '\uFCE5': '\u062B\u0645',
  17050. '\uFCE6': '\u062B\u0647',
  17051. '\uFCE7': '\u0633\u0645',
  17052. '\uFCE8': '\u0633\u0647',
  17053. '\uFCE9': '\u0634\u0645',
  17054. '\uFCEA': '\u0634\u0647',
  17055. '\uFCEB': '\u0643\u0644',
  17056. '\uFCEC': '\u0643\u0645',
  17057. '\uFCED': '\u0644\u0645',
  17058. '\uFCEE': '\u0646\u0645',
  17059. '\uFCEF': '\u0646\u0647',
  17060. '\uFCF0': '\u064A\u0645',
  17061. '\uFCF1': '\u064A\u0647',
  17062. '\uFCF2': '\u0640\u064E\u0651',
  17063. '\uFCF3': '\u0640\u064F\u0651',
  17064. '\uFCF4': '\u0640\u0650\u0651',
  17065. '\uFCF5': '\u0637\u0649',
  17066. '\uFCF6': '\u0637\u064A',
  17067. '\uFCF7': '\u0639\u0649',
  17068. '\uFCF8': '\u0639\u064A',
  17069. '\uFCF9': '\u063A\u0649',
  17070. '\uFCFA': '\u063A\u064A',
  17071. '\uFCFB': '\u0633\u0649',
  17072. '\uFCFC': '\u0633\u064A',
  17073. '\uFCFD': '\u0634\u0649',
  17074. '\uFCFE': '\u0634\u064A',
  17075. '\uFCFF': '\u062D\u0649',
  17076. '\uFD00': '\u062D\u064A',
  17077. '\uFD01': '\u062C\u0649',
  17078. '\uFD02': '\u062C\u064A',
  17079. '\uFD03': '\u062E\u0649',
  17080. '\uFD04': '\u062E\u064A',
  17081. '\uFD05': '\u0635\u0649',
  17082. '\uFD06': '\u0635\u064A',
  17083. '\uFD07': '\u0636\u0649',
  17084. '\uFD08': '\u0636\u064A',
  17085. '\uFD09': '\u0634\u062C',
  17086. '\uFD0A': '\u0634\u062D',
  17087. '\uFD0B': '\u0634\u062E',
  17088. '\uFD0C': '\u0634\u0645',
  17089. '\uFD0D': '\u0634\u0631',
  17090. '\uFD0E': '\u0633\u0631',
  17091. '\uFD0F': '\u0635\u0631',
  17092. '\uFD10': '\u0636\u0631',
  17093. '\uFD11': '\u0637\u0649',
  17094. '\uFD12': '\u0637\u064A',
  17095. '\uFD13': '\u0639\u0649',
  17096. '\uFD14': '\u0639\u064A',
  17097. '\uFD15': '\u063A\u0649',
  17098. '\uFD16': '\u063A\u064A',
  17099. '\uFD17': '\u0633\u0649',
  17100. '\uFD18': '\u0633\u064A',
  17101. '\uFD19': '\u0634\u0649',
  17102. '\uFD1A': '\u0634\u064A',
  17103. '\uFD1B': '\u062D\u0649',
  17104. '\uFD1C': '\u062D\u064A',
  17105. '\uFD1D': '\u062C\u0649',
  17106. '\uFD1E': '\u062C\u064A',
  17107. '\uFD1F': '\u062E\u0649',
  17108. '\uFD20': '\u062E\u064A',
  17109. '\uFD21': '\u0635\u0649',
  17110. '\uFD22': '\u0635\u064A',
  17111. '\uFD23': '\u0636\u0649',
  17112. '\uFD24': '\u0636\u064A',
  17113. '\uFD25': '\u0634\u062C',
  17114. '\uFD26': '\u0634\u062D',
  17115. '\uFD27': '\u0634\u062E',
  17116. '\uFD28': '\u0634\u0645',
  17117. '\uFD29': '\u0634\u0631',
  17118. '\uFD2A': '\u0633\u0631',
  17119. '\uFD2B': '\u0635\u0631',
  17120. '\uFD2C': '\u0636\u0631',
  17121. '\uFD2D': '\u0634\u062C',
  17122. '\uFD2E': '\u0634\u062D',
  17123. '\uFD2F': '\u0634\u062E',
  17124. '\uFD30': '\u0634\u0645',
  17125. '\uFD31': '\u0633\u0647',
  17126. '\uFD32': '\u0634\u0647',
  17127. '\uFD33': '\u0637\u0645',
  17128. '\uFD34': '\u0633\u062C',
  17129. '\uFD35': '\u0633\u062D',
  17130. '\uFD36': '\u0633\u062E',
  17131. '\uFD37': '\u0634\u062C',
  17132. '\uFD38': '\u0634\u062D',
  17133. '\uFD39': '\u0634\u062E',
  17134. '\uFD3A': '\u0637\u0645',
  17135. '\uFD3B': '\u0638\u0645',
  17136. '\uFD3C': '\u0627\u064B',
  17137. '\uFD3D': '\u0627\u064B',
  17138. '\uFD50': '\u062A\u062C\u0645',
  17139. '\uFD51': '\u062A\u062D\u062C',
  17140. '\uFD52': '\u062A\u062D\u062C',
  17141. '\uFD53': '\u062A\u062D\u0645',
  17142. '\uFD54': '\u062A\u062E\u0645',
  17143. '\uFD55': '\u062A\u0645\u062C',
  17144. '\uFD56': '\u062A\u0645\u062D',
  17145. '\uFD57': '\u062A\u0645\u062E',
  17146. '\uFD58': '\u062C\u0645\u062D',
  17147. '\uFD59': '\u062C\u0645\u062D',
  17148. '\uFD5A': '\u062D\u0645\u064A',
  17149. '\uFD5B': '\u062D\u0645\u0649',
  17150. '\uFD5C': '\u0633\u062D\u062C',
  17151. '\uFD5D': '\u0633\u062C\u062D',
  17152. '\uFD5E': '\u0633\u062C\u0649',
  17153. '\uFD5F': '\u0633\u0645\u062D',
  17154. '\uFD60': '\u0633\u0645\u062D',
  17155. '\uFD61': '\u0633\u0645\u062C',
  17156. '\uFD62': '\u0633\u0645\u0645',
  17157. '\uFD63': '\u0633\u0645\u0645',
  17158. '\uFD64': '\u0635\u062D\u062D',
  17159. '\uFD65': '\u0635\u062D\u062D',
  17160. '\uFD66': '\u0635\u0645\u0645',
  17161. '\uFD67': '\u0634\u062D\u0645',
  17162. '\uFD68': '\u0634\u062D\u0645',
  17163. '\uFD69': '\u0634\u062C\u064A',
  17164. '\uFD6A': '\u0634\u0645\u062E',
  17165. '\uFD6B': '\u0634\u0645\u062E',
  17166. '\uFD6C': '\u0634\u0645\u0645',
  17167. '\uFD6D': '\u0634\u0645\u0645',
  17168. '\uFD6E': '\u0636\u062D\u0649',
  17169. '\uFD6F': '\u0636\u062E\u0645',
  17170. '\uFD70': '\u0636\u062E\u0645',
  17171. '\uFD71': '\u0637\u0645\u062D',
  17172. '\uFD72': '\u0637\u0645\u062D',
  17173. '\uFD73': '\u0637\u0645\u0645',
  17174. '\uFD74': '\u0637\u0645\u064A',
  17175. '\uFD75': '\u0639\u062C\u0645',
  17176. '\uFD76': '\u0639\u0645\u0645',
  17177. '\uFD77': '\u0639\u0645\u0645',
  17178. '\uFD78': '\u0639\u0645\u0649',
  17179. '\uFD79': '\u063A\u0645\u0645',
  17180. '\uFD7A': '\u063A\u0645\u064A',
  17181. '\uFD7B': '\u063A\u0645\u0649',
  17182. '\uFD7C': '\u0641\u062E\u0645',
  17183. '\uFD7D': '\u0641\u062E\u0645',
  17184. '\uFD7E': '\u0642\u0645\u062D',
  17185. '\uFD7F': '\u0642\u0645\u0645',
  17186. '\uFD80': '\u0644\u062D\u0645',
  17187. '\uFD81': '\u0644\u062D\u064A',
  17188. '\uFD82': '\u0644\u062D\u0649',
  17189. '\uFD83': '\u0644\u062C\u062C',
  17190. '\uFD84': '\u0644\u062C\u062C',
  17191. '\uFD85': '\u0644\u062E\u0645',
  17192. '\uFD86': '\u0644\u062E\u0645',
  17193. '\uFD87': '\u0644\u0645\u062D',
  17194. '\uFD88': '\u0644\u0645\u062D',
  17195. '\uFD89': '\u0645\u062D\u062C',
  17196. '\uFD8A': '\u0645\u062D\u0645',
  17197. '\uFD8B': '\u0645\u062D\u064A',
  17198. '\uFD8C': '\u0645\u062C\u062D',
  17199. '\uFD8D': '\u0645\u062C\u0645',
  17200. '\uFD8E': '\u0645\u062E\u062C',
  17201. '\uFD8F': '\u0645\u062E\u0645',
  17202. '\uFD92': '\u0645\u062C\u062E',
  17203. '\uFD93': '\u0647\u0645\u062C',
  17204. '\uFD94': '\u0647\u0645\u0645',
  17205. '\uFD95': '\u0646\u062D\u0645',
  17206. '\uFD96': '\u0646\u062D\u0649',
  17207. '\uFD97': '\u0646\u062C\u0645',
  17208. '\uFD98': '\u0646\u062C\u0645',
  17209. '\uFD99': '\u0646\u062C\u0649',
  17210. '\uFD9A': '\u0646\u0645\u064A',
  17211. '\uFD9B': '\u0646\u0645\u0649',
  17212. '\uFD9C': '\u064A\u0645\u0645',
  17213. '\uFD9D': '\u064A\u0645\u0645',
  17214. '\uFD9E': '\u0628\u062E\u064A',
  17215. '\uFD9F': '\u062A\u062C\u064A',
  17216. '\uFDA0': '\u062A\u062C\u0649',
  17217. '\uFDA1': '\u062A\u062E\u064A',
  17218. '\uFDA2': '\u062A\u062E\u0649',
  17219. '\uFDA3': '\u062A\u0645\u064A',
  17220. '\uFDA4': '\u062A\u0645\u0649',
  17221. '\uFDA5': '\u062C\u0645\u064A',
  17222. '\uFDA6': '\u062C\u062D\u0649',
  17223. '\uFDA7': '\u062C\u0645\u0649',
  17224. '\uFDA8': '\u0633\u062E\u0649',
  17225. '\uFDA9': '\u0635\u062D\u064A',
  17226. '\uFDAA': '\u0634\u062D\u064A',
  17227. '\uFDAB': '\u0636\u062D\u064A',
  17228. '\uFDAC': '\u0644\u062C\u064A',
  17229. '\uFDAD': '\u0644\u0645\u064A',
  17230. '\uFDAE': '\u064A\u062D\u064A',
  17231. '\uFDAF': '\u064A\u062C\u064A',
  17232. '\uFDB0': '\u064A\u0645\u064A',
  17233. '\uFDB1': '\u0645\u0645\u064A',
  17234. '\uFDB2': '\u0642\u0645\u064A',
  17235. '\uFDB3': '\u0646\u062D\u064A',
  17236. '\uFDB4': '\u0642\u0645\u062D',
  17237. '\uFDB5': '\u0644\u062D\u0645',
  17238. '\uFDB6': '\u0639\u0645\u064A',
  17239. '\uFDB7': '\u0643\u0645\u064A',
  17240. '\uFDB8': '\u0646\u062C\u062D',
  17241. '\uFDB9': '\u0645\u062E\u064A',
  17242. '\uFDBA': '\u0644\u062C\u0645',
  17243. '\uFDBB': '\u0643\u0645\u0645',
  17244. '\uFDBC': '\u0644\u062C\u0645',
  17245. '\uFDBD': '\u0646\u062C\u062D',
  17246. '\uFDBE': '\u062C\u062D\u064A',
  17247. '\uFDBF': '\u062D\u062C\u064A',
  17248. '\uFDC0': '\u0645\u062C\u064A',
  17249. '\uFDC1': '\u0641\u0645\u064A',
  17250. '\uFDC2': '\u0628\u062D\u064A',
  17251. '\uFDC3': '\u0643\u0645\u0645',
  17252. '\uFDC4': '\u0639\u062C\u0645',
  17253. '\uFDC5': '\u0635\u0645\u0645',
  17254. '\uFDC6': '\u0633\u062E\u064A',
  17255. '\uFDC7': '\u0646\u062C\u064A',
  17256. '\uFE49': '\u203E',
  17257. '\uFE4A': '\u203E',
  17258. '\uFE4B': '\u203E',
  17259. '\uFE4C': '\u203E',
  17260. '\uFE4D': '\u005F',
  17261. '\uFE4E': '\u005F',
  17262. '\uFE4F': '\u005F',
  17263. '\uFE80': '\u0621',
  17264. '\uFE81': '\u0622',
  17265. '\uFE82': '\u0622',
  17266. '\uFE83': '\u0623',
  17267. '\uFE84': '\u0623',
  17268. '\uFE85': '\u0624',
  17269. '\uFE86': '\u0624',
  17270. '\uFE87': '\u0625',
  17271. '\uFE88': '\u0625',
  17272. '\uFE89': '\u0626',
  17273. '\uFE8A': '\u0626',
  17274. '\uFE8B': '\u0626',
  17275. '\uFE8C': '\u0626',
  17276. '\uFE8D': '\u0627',
  17277. '\uFE8E': '\u0627',
  17278. '\uFE8F': '\u0628',
  17279. '\uFE90': '\u0628',
  17280. '\uFE91': '\u0628',
  17281. '\uFE92': '\u0628',
  17282. '\uFE93': '\u0629',
  17283. '\uFE94': '\u0629',
  17284. '\uFE95': '\u062A',
  17285. '\uFE96': '\u062A',
  17286. '\uFE97': '\u062A',
  17287. '\uFE98': '\u062A',
  17288. '\uFE99': '\u062B',
  17289. '\uFE9A': '\u062B',
  17290. '\uFE9B': '\u062B',
  17291. '\uFE9C': '\u062B',
  17292. '\uFE9D': '\u062C',
  17293. '\uFE9E': '\u062C',
  17294. '\uFE9F': '\u062C',
  17295. '\uFEA0': '\u062C',
  17296. '\uFEA1': '\u062D',
  17297. '\uFEA2': '\u062D',
  17298. '\uFEA3': '\u062D',
  17299. '\uFEA4': '\u062D',
  17300. '\uFEA5': '\u062E',
  17301. '\uFEA6': '\u062E',
  17302. '\uFEA7': '\u062E',
  17303. '\uFEA8': '\u062E',
  17304. '\uFEA9': '\u062F',
  17305. '\uFEAA': '\u062F',
  17306. '\uFEAB': '\u0630',
  17307. '\uFEAC': '\u0630',
  17308. '\uFEAD': '\u0631',
  17309. '\uFEAE': '\u0631',
  17310. '\uFEAF': '\u0632',
  17311. '\uFEB0': '\u0632',
  17312. '\uFEB1': '\u0633',
  17313. '\uFEB2': '\u0633',
  17314. '\uFEB3': '\u0633',
  17315. '\uFEB4': '\u0633',
  17316. '\uFEB5': '\u0634',
  17317. '\uFEB6': '\u0634',
  17318. '\uFEB7': '\u0634',
  17319. '\uFEB8': '\u0634',
  17320. '\uFEB9': '\u0635',
  17321. '\uFEBA': '\u0635',
  17322. '\uFEBB': '\u0635',
  17323. '\uFEBC': '\u0635',
  17324. '\uFEBD': '\u0636',
  17325. '\uFEBE': '\u0636',
  17326. '\uFEBF': '\u0636',
  17327. '\uFEC0': '\u0636',
  17328. '\uFEC1': '\u0637',
  17329. '\uFEC2': '\u0637',
  17330. '\uFEC3': '\u0637',
  17331. '\uFEC4': '\u0637',
  17332. '\uFEC5': '\u0638',
  17333. '\uFEC6': '\u0638',
  17334. '\uFEC7': '\u0638',
  17335. '\uFEC8': '\u0638',
  17336. '\uFEC9': '\u0639',
  17337. '\uFECA': '\u0639',
  17338. '\uFECB': '\u0639',
  17339. '\uFECC': '\u0639',
  17340. '\uFECD': '\u063A',
  17341. '\uFECE': '\u063A',
  17342. '\uFECF': '\u063A',
  17343. '\uFED0': '\u063A',
  17344. '\uFED1': '\u0641',
  17345. '\uFED2': '\u0641',
  17346. '\uFED3': '\u0641',
  17347. '\uFED4': '\u0641',
  17348. '\uFED5': '\u0642',
  17349. '\uFED6': '\u0642',
  17350. '\uFED7': '\u0642',
  17351. '\uFED8': '\u0642',
  17352. '\uFED9': '\u0643',
  17353. '\uFEDA': '\u0643',
  17354. '\uFEDB': '\u0643',
  17355. '\uFEDC': '\u0643',
  17356. '\uFEDD': '\u0644',
  17357. '\uFEDE': '\u0644',
  17358. '\uFEDF': '\u0644',
  17359. '\uFEE0': '\u0644',
  17360. '\uFEE1': '\u0645',
  17361. '\uFEE2': '\u0645',
  17362. '\uFEE3': '\u0645',
  17363. '\uFEE4': '\u0645',
  17364. '\uFEE5': '\u0646',
  17365. '\uFEE6': '\u0646',
  17366. '\uFEE7': '\u0646',
  17367. '\uFEE8': '\u0646',
  17368. '\uFEE9': '\u0647',
  17369. '\uFEEA': '\u0647',
  17370. '\uFEEB': '\u0647',
  17371. '\uFEEC': '\u0647',
  17372. '\uFEED': '\u0648',
  17373. '\uFEEE': '\u0648',
  17374. '\uFEEF': '\u0649',
  17375. '\uFEF0': '\u0649',
  17376. '\uFEF1': '\u064A',
  17377. '\uFEF2': '\u064A',
  17378. '\uFEF3': '\u064A',
  17379. '\uFEF4': '\u064A',
  17380. '\uFEF5': '\u0644\u0622',
  17381. '\uFEF6': '\u0644\u0622',
  17382. '\uFEF7': '\u0644\u0623',
  17383. '\uFEF8': '\u0644\u0623',
  17384. '\uFEF9': '\u0644\u0625',
  17385. '\uFEFA': '\u0644\u0625',
  17386. '\uFEFB': '\u0644\u0627',
  17387. '\uFEFC': '\u0644\u0627'
  17388. };
  17389. function reverseIfRtl(chars) {
  17390. var charsLength = chars.length;
  17391. //reverse an arabic ligature
  17392. if (charsLength <= 1 || !isRTLRangeFor(chars.charCodeAt(0)))
  17393. return chars;
  17394. var s = '';
  17395. for (var ii = charsLength - 1; ii >= 0; ii--)
  17396. s += chars[ii];
  17397. return s;
  17398. }
  17399. function fontCharsToUnicode(charCodes, font) {
  17400. var glyphs = font.charsToGlyphs(charCodes);
  17401. var result = '';
  17402. for (var i = 0, ii = glyphs.length; i < ii; i++) {
  17403. var glyph = glyphs[i];
  17404. if (!glyph)
  17405. continue;
  17406. var glyphUnicode = glyph.unicode;
  17407. if (glyphUnicode in NormalizedUnicodes)
  17408. glyphUnicode = NormalizedUnicodes[glyphUnicode];
  17409. result += reverseIfRtl(glyphUnicode);
  17410. }
  17411. return result;
  17412. }
  17413. function adjustWidths(properties) {
  17414. if (properties.fontMatrix[0] === FONT_IDENTITY_MATRIX[0]) {
  17415. return;
  17416. }
  17417. // adjusting width to fontMatrix scale
  17418. var scale = 0.001 / properties.fontMatrix[0];
  17419. var glyphsWidths = properties.widths;
  17420. for (var glyph in glyphsWidths) {
  17421. glyphsWidths[glyph] *= scale;
  17422. }
  17423. properties.defaultWidth *= scale;
  17424. }
  17425. /**
  17426. * 'Font' is the class the outside world should use, it encapsulate all the font
  17427. * decoding logics whatever type it is (assuming the font type is supported).
  17428. *
  17429. * For example to read a Type1 font and to attach it to the document:
  17430. * var type1Font = new Font("MyFontName", binaryFile, propertiesObject);
  17431. * type1Font.bind();
  17432. */
  17433. var Font = (function FontClosure() {
  17434. function Font(name, file, properties) {
  17435. this.name = name;
  17436. this.loadedName = properties.loadedName;
  17437. this.coded = properties.coded;
  17438. this.loadCharProcs = properties.coded;
  17439. this.sizes = [];
  17440. var names = name.split('+');
  17441. names = names.length > 1 ? names[1] : names[0];
  17442. names = names.split(/[-,_]/g)[0];
  17443. this.isSerifFont = !!(properties.flags & FontFlags.Serif);
  17444. this.isSymbolicFont = !!(properties.flags & FontFlags.Symbolic);
  17445. this.isMonospace = !!(properties.flags & FontFlags.FixedPitch);
  17446. var type = properties.type;
  17447. this.type = type;
  17448. this.fallbackName = this.isMonospace ? 'monospace' :
  17449. this.isSerifFont ? 'serif' : 'sans-serif';
  17450. this.differences = properties.differences;
  17451. this.widths = properties.widths;
  17452. this.defaultWidth = properties.defaultWidth;
  17453. this.composite = properties.composite;
  17454. this.wideChars = properties.wideChars;
  17455. this.hasEncoding = properties.hasEncoding;
  17456. this.cmap = properties.cmap;
  17457. this.ascent = properties.ascent / PDF_GLYPH_SPACE_UNITS;
  17458. this.descent = properties.descent / PDF_GLYPH_SPACE_UNITS;
  17459. this.fontMatrix = properties.fontMatrix;
  17460. if (properties.type == 'Type3') {
  17461. this.encoding = properties.baseEncoding;
  17462. return;
  17463. }
  17464. // Trying to fix encoding using glyph CIDSystemInfo.
  17465. this.loadCidToUnicode(properties);
  17466. this.cidEncoding = properties.cidEncoding;
  17467. this.vertical = properties.vertical;
  17468. if (this.vertical) {
  17469. this.vmetrics = properties.vmetrics;
  17470. this.defaultVMetrics = properties.defaultVMetrics;
  17471. }
  17472. if (properties.toUnicode && properties.toUnicode.length > 0)
  17473. this.toUnicode = properties.toUnicode;
  17474. else
  17475. this.rebuildToUnicode(properties);
  17476. this.toFontChar = this.buildToFontChar(this.toUnicode);
  17477. if (!file) {
  17478. // The file data is not specified. Trying to fix the font name
  17479. // to be used with the canvas.font.
  17480. var fontName = name.replace(/[,_]/g, '-');
  17481. var isStandardFont = fontName in stdFontMap;
  17482. fontName = stdFontMap[fontName] || nonStdFontMap[fontName] || fontName;
  17483. this.bold = (fontName.search(/bold/gi) != -1);
  17484. this.italic = (fontName.search(/oblique/gi) != -1) ||
  17485. (fontName.search(/italic/gi) != -1);
  17486. // Use 'name' instead of 'fontName' here because the original
  17487. // name ArialBlack for example will be replaced by Helvetica.
  17488. this.black = (name.search(/Black/g) != -1);
  17489. // if at least one width is present, remeasure all chars when exists
  17490. this.remeasure = Object.keys(this.widths).length > 0;
  17491. this.encoding = properties.baseEncoding;
  17492. this.noUnicodeAdaptation = true;
  17493. if (isStandardFont && type === 'CIDFontType2' &&
  17494. properties.cidEncoding.indexOf('Identity-') === 0) {
  17495. // Standard fonts might be embedded as CID font without glyph mapping.
  17496. // Building one based on GlyphMapForStandardFonts.
  17497. var map = [];
  17498. for (var code in GlyphMapForStandardFonts) {
  17499. map[+code] = GlyphMapForStandardFonts[code];
  17500. }
  17501. this.toFontChar = map;
  17502. this.toUnicode = map;
  17503. }
  17504. this.loadedName = fontName.split('-')[0];
  17505. this.loading = false;
  17506. return;
  17507. }
  17508. // Some fonts might use wrong font types for Type1C or CIDFontType0C
  17509. var subtype = properties.subtype;
  17510. if (subtype == 'Type1C' && (type != 'Type1' && type != 'MMType1'))
  17511. type = 'Type1';
  17512. if (subtype == 'CIDFontType0C' && type != 'CIDFontType0')
  17513. type = 'CIDFontType0';
  17514. // XXX: Temporarily change the type for open type so we trigger a warning.
  17515. // This should be removed when we add support for open type.
  17516. if (subtype === 'OpenType') {
  17517. type = 'OpenType';
  17518. }
  17519. var data;
  17520. switch (type) {
  17521. case 'Type1':
  17522. case 'CIDFontType0':
  17523. this.mimetype = 'font/opentype';
  17524. var cff = (subtype == 'Type1C' || subtype == 'CIDFontType0C') ?
  17525. new CFFFont(file, properties) : new Type1Font(name, file, properties);
  17526. adjustWidths(properties);
  17527. // Wrap the CFF data inside an OTF font file
  17528. data = this.convert(name, cff, properties);
  17529. break;
  17530. case 'OpenType':
  17531. case 'TrueType':
  17532. case 'CIDFontType2':
  17533. this.mimetype = 'font/opentype';
  17534. // Repair the TrueType file. It is can be damaged in the point of
  17535. // view of the sanitizer
  17536. data = this.checkAndRepair(name, file, properties);
  17537. break;
  17538. default:
  17539. error('Font ' + type + ' is not supported');
  17540. break;
  17541. }
  17542. this.data = data;
  17543. // Transfer some properties again that could change during font conversion
  17544. this.fontMatrix = properties.fontMatrix;
  17545. this.widths = properties.widths;
  17546. this.defaultWidth = properties.defaultWidth;
  17547. this.encoding = properties.baseEncoding;
  17548. this.seacMap = properties.seacMap;
  17549. this.loading = true;
  17550. }
  17551. var numFonts = 0;
  17552. function getUniqueName() {
  17553. return 'pdfFont' + numFonts++;
  17554. }
  17555. function stringToArray(str) {
  17556. var array = [];
  17557. for (var i = 0, ii = str.length; i < ii; ++i)
  17558. array[i] = str.charCodeAt(i);
  17559. return array;
  17560. }
  17561. function arrayToString(arr) {
  17562. var str = '';
  17563. for (var i = 0, ii = arr.length; i < ii; ++i)
  17564. str += String.fromCharCode(arr[i]);
  17565. return str;
  17566. }
  17567. function int16(bytes) {
  17568. return (bytes[0] << 8) + (bytes[1] & 0xff);
  17569. }
  17570. function int32(bytes) {
  17571. return (bytes[0] << 24) + (bytes[1] << 16) +
  17572. (bytes[2] << 8) + (bytes[3] & 0xff);
  17573. }
  17574. function getMaxPower2(number) {
  17575. var maxPower = 0;
  17576. var value = number;
  17577. while (value >= 2) {
  17578. value /= 2;
  17579. maxPower++;
  17580. }
  17581. value = 2;
  17582. for (var i = 1; i < maxPower; i++)
  17583. value *= 2;
  17584. return value;
  17585. }
  17586. function string16(value) {
  17587. return String.fromCharCode((value >> 8) & 0xff) +
  17588. String.fromCharCode(value & 0xff);
  17589. }
  17590. function safeString16(value) {
  17591. // clamp value to the 16-bit int range
  17592. value = value > 0x7FFF ? 0x7FFF : value < -0x8000 ? -0x8000 : value;
  17593. return String.fromCharCode((value >> 8) & 0xff) +
  17594. String.fromCharCode(value & 0xff);
  17595. }
  17596. function string32(value) {
  17597. return String.fromCharCode((value >> 24) & 0xff) +
  17598. String.fromCharCode((value >> 16) & 0xff) +
  17599. String.fromCharCode((value >> 8) & 0xff) +
  17600. String.fromCharCode(value & 0xff);
  17601. }
  17602. function createOpenTypeHeader(sfnt, file, numTables) {
  17603. // Windows hates the Mac TrueType sfnt version number
  17604. if (sfnt == 'true')
  17605. sfnt = string32(0x00010000);
  17606. // sfnt version (4 bytes)
  17607. var header = sfnt;
  17608. // numTables (2 bytes)
  17609. header += string16(numTables);
  17610. // searchRange (2 bytes)
  17611. var tablesMaxPower2 = getMaxPower2(numTables);
  17612. var searchRange = tablesMaxPower2 * 16;
  17613. header += string16(searchRange);
  17614. // entrySelector (2 bytes)
  17615. header += string16(Math.log(tablesMaxPower2) / Math.log(2));
  17616. // rangeShift (2 bytes)
  17617. header += string16(numTables * 16 - searchRange);
  17618. file.file += header;
  17619. file.virtualOffset += header.length;
  17620. }
  17621. function createTableEntry(file, tag, data) {
  17622. // offset
  17623. var offset = file.virtualOffset;
  17624. // length
  17625. var length = data.length;
  17626. // Per spec tables must be 4-bytes align so add padding as needed
  17627. while (data.length & 3)
  17628. data.push(0x00);
  17629. while (file.virtualOffset & 3)
  17630. file.virtualOffset++;
  17631. // checksum
  17632. var checksum = 0, n = data.length;
  17633. for (var i = 0; i < n; i += 4)
  17634. checksum = (checksum + int32([data[i], data[i + 1], data[i + 2],
  17635. data[i + 3]])) | 0;
  17636. var tableEntry = (tag + string32(checksum) +
  17637. string32(offset) + string32(length));
  17638. file.file += tableEntry;
  17639. file.virtualOffset += data.length;
  17640. }
  17641. function getRanges(glyphs, deltas) {
  17642. // Array.sort() sorts by characters, not numerically, so convert to an
  17643. // array of characters.
  17644. var codes = [];
  17645. var length = glyphs.length;
  17646. for (var n = 0; n < length; ++n)
  17647. codes.push({ unicode: glyphs[n].unicode, code: n });
  17648. codes.sort(function fontGetRangesSort(a, b) {
  17649. return a.unicode - b.unicode;
  17650. });
  17651. // Split the sorted codes into ranges.
  17652. var ranges = [];
  17653. for (var n = 0; n < length; ) {
  17654. var start = codes[n].unicode;
  17655. var codeIndices = [deltas ? deltas[codes[n].code] : codes[n].code + 1];
  17656. ++n;
  17657. var end = start;
  17658. while (n < length && end + 1 == codes[n].unicode) {
  17659. codeIndices.push(deltas ? deltas[codes[n].code] : codes[n].code + 1);
  17660. ++end;
  17661. ++n;
  17662. if (end === 0xFFFF) { break; }
  17663. }
  17664. ranges.push([start, end, codeIndices]);
  17665. }
  17666. return ranges;
  17667. }
  17668. function createCmapTable(glyphs, deltas) {
  17669. var ranges = getRanges(glyphs, deltas);
  17670. var numTables = ranges[ranges.length - 1][1] > 0xFFFF ? 2 : 1;
  17671. var cmap = '\x00\x00' + // version
  17672. string16(numTables) + // numTables
  17673. '\x00\x03' + // platformID
  17674. '\x00\x01' + // encodingID
  17675. string32(4 + numTables * 8); // start of the table record
  17676. for (var i = ranges.length - 1; i >= 0; --i) {
  17677. if (ranges[i][0] <= 0xFFFF) { break; }
  17678. }
  17679. var bmpLength = i + 1;
  17680. if (ranges[i][0] < 0xFFFF && ranges[i][1] === 0xFFFF) {
  17681. ranges[i][1] = 0xFFFE;
  17682. }
  17683. var trailingRangesCount = ranges[i][1] < 0xFFFF ? 1 : 0;
  17684. var segCount = bmpLength + trailingRangesCount;
  17685. var segCount2 = segCount * 2;
  17686. var searchRange = getMaxPower2(segCount) * 2;
  17687. var searchEntry = Math.log(segCount) / Math.log(2);
  17688. var rangeShift = 2 * segCount - searchRange;
  17689. // Fill up the 4 parallel arrays describing the segments.
  17690. var startCount = '';
  17691. var endCount = '';
  17692. var idDeltas = '';
  17693. var idRangeOffsets = '';
  17694. var glyphsIds = '';
  17695. var bias = 0;
  17696. for (var i = 0, ii = bmpLength; i < ii; i++) {
  17697. var range = ranges[i];
  17698. var start = range[0];
  17699. var end = range[1];
  17700. startCount += string16(start);
  17701. endCount += string16(end);
  17702. var codes = range[2];
  17703. var contiguous = true;
  17704. for (var j = 1, jj = codes.length; j < jj; ++j) {
  17705. if (codes[j] !== codes[j - 1] + 1) {
  17706. contiguous = false;
  17707. break;
  17708. }
  17709. }
  17710. if (!contiguous) {
  17711. var offset = (segCount - i) * 2 + bias * 2;
  17712. bias += (end - start + 1);
  17713. idDeltas += string16(0);
  17714. idRangeOffsets += string16(offset);
  17715. for (var j = 0, jj = codes.length; j < jj; ++j) {
  17716. glyphsIds += string16(codes[j]);
  17717. }
  17718. } else {
  17719. var startCode = codes[0];
  17720. idDeltas += string16((startCode - start) & 0xFFFF);
  17721. idRangeOffsets += string16(0);
  17722. }
  17723. }
  17724. if (trailingRangesCount > 0) {
  17725. endCount += '\xFF\xFF';
  17726. startCount += '\xFF\xFF';
  17727. idDeltas += '\x00\x01';
  17728. idRangeOffsets += '\x00\x00';
  17729. }
  17730. var format314 = '\x00\x00' + // language
  17731. string16(segCount2) +
  17732. string16(searchRange) +
  17733. string16(searchEntry) +
  17734. string16(rangeShift) +
  17735. endCount + '\x00\x00' + startCount +
  17736. idDeltas + idRangeOffsets + glyphsIds;
  17737. var format31012 = '';
  17738. var header31012 = '';
  17739. if (numTables > 1) {
  17740. cmap += '\x00\x03' + // platformID
  17741. '\x00\x0A' + // encodingID
  17742. string32(4 + numTables * 8 +
  17743. 4 + format314.length); // start of the table record
  17744. format31012 = '';
  17745. for (var i = 0, ii = ranges.length; i < ii; i++) {
  17746. var range = ranges[i];
  17747. var start = range[0];
  17748. var codes = range[2];
  17749. var code = codes[0];
  17750. for (var j = 1, jj = codes.length; j < jj; ++j) {
  17751. if (codes[j] !== codes[j - 1] + 1) {
  17752. var end = range[0] + j - 1;
  17753. format31012 += string32(start) + // startCharCode
  17754. string32(end) + // endCharCode
  17755. string32(code); // startGlyphID
  17756. start = end + 1;
  17757. code = codes[j];
  17758. }
  17759. }
  17760. format31012 += string32(start) + // startCharCode
  17761. string32(range[1]) + // endCharCode
  17762. string32(code); // startGlyphID
  17763. }
  17764. header31012 = '\x00\x0C' + // format
  17765. '\x00\x00' + // reserved
  17766. string32(format31012.length + 16) + // length
  17767. '\x00\x00\x00\x00' + // language
  17768. string32(format31012.length / 12); // nGroups
  17769. }
  17770. return stringToArray(cmap +
  17771. '\x00\x04' + // format
  17772. string16(format314.length + 4) + // length
  17773. format314 + header31012 + format31012);
  17774. }
  17775. function validateOS2Table(os2) {
  17776. var stream = new Stream(os2.data);
  17777. var version = int16(stream.getBytes(2));
  17778. // TODO verify all OS/2 tables fields, but currently we validate only those
  17779. // that give us issues
  17780. stream.getBytes(60); // skipping type, misc sizes, panose, unicode ranges
  17781. var selection = int16(stream.getBytes(2));
  17782. if (version < 4 && (selection & 0x0300)) {
  17783. return false;
  17784. }
  17785. var firstChar = int16(stream.getBytes(2));
  17786. var lastChar = int16(stream.getBytes(2));
  17787. if (firstChar > lastChar) {
  17788. return false;
  17789. }
  17790. stream.getBytes(6); // skipping sTypoAscender/Descender/LineGap
  17791. var usWinAscent = int16(stream.getBytes(2));
  17792. if (usWinAscent === 0) { // makes font unreadable by windows
  17793. return false;
  17794. }
  17795. // OS/2 appears to be valid, resetting some fields
  17796. os2.data[8] = os2.data[9] = 0; // IE rejects fonts if fsType != 0
  17797. return true;
  17798. }
  17799. function createOS2Table(properties, charstrings, override) {
  17800. override = override || {
  17801. unitsPerEm: 0,
  17802. yMax: 0,
  17803. yMin: 0,
  17804. ascent: 0,
  17805. descent: 0
  17806. };
  17807. var ulUnicodeRange1 = 0;
  17808. var ulUnicodeRange2 = 0;
  17809. var ulUnicodeRange3 = 0;
  17810. var ulUnicodeRange4 = 0;
  17811. var firstCharIndex = null;
  17812. var lastCharIndex = 0;
  17813. if (charstrings) {
  17814. for (var i = 0; i < charstrings.length; ++i) {
  17815. var code = charstrings[i].unicode;
  17816. if (firstCharIndex > code || !firstCharIndex)
  17817. firstCharIndex = code;
  17818. if (lastCharIndex < code)
  17819. lastCharIndex = code;
  17820. var position = getUnicodeRangeFor(code);
  17821. if (position < 32) {
  17822. ulUnicodeRange1 |= 1 << position;
  17823. } else if (position < 64) {
  17824. ulUnicodeRange2 |= 1 << position - 32;
  17825. } else if (position < 96) {
  17826. ulUnicodeRange3 |= 1 << position - 64;
  17827. } else if (position < 123) {
  17828. ulUnicodeRange4 |= 1 << position - 96;
  17829. } else {
  17830. error('Unicode ranges Bits > 123 are reserved for internal usage');
  17831. }
  17832. }
  17833. } else {
  17834. // TODO
  17835. firstCharIndex = 0;
  17836. lastCharIndex = 255;
  17837. }
  17838. var bbox = properties.bbox || [0, 0, 0, 0];
  17839. var unitsPerEm = override.unitsPerEm ||
  17840. 1 / (properties.fontMatrix || FONT_IDENTITY_MATRIX)[0];
  17841. // if the font units differ to the PDF glyph space units
  17842. // then scale up the values
  17843. var scale = properties.ascentScaled ? 1.0 :
  17844. unitsPerEm / PDF_GLYPH_SPACE_UNITS;
  17845. var typoAscent = override.ascent || Math.round(scale *
  17846. (properties.ascent || bbox[3]));
  17847. var typoDescent = override.descent || Math.round(scale *
  17848. (properties.descent || bbox[1]));
  17849. if (typoDescent > 0 && properties.descent > 0 && bbox[1] < 0) {
  17850. typoDescent = -typoDescent; // fixing incorrect descent
  17851. }
  17852. var winAscent = override.yMax || typoAscent;
  17853. var winDescent = -override.yMin || -typoDescent;
  17854. return '\x00\x03' + // version
  17855. '\x02\x24' + // xAvgCharWidth
  17856. '\x01\xF4' + // usWeightClass
  17857. '\x00\x05' + // usWidthClass
  17858. '\x00\x00' + // fstype (0 to let the font loads via font-face on IE)
  17859. '\x02\x8A' + // ySubscriptXSize
  17860. '\x02\xBB' + // ySubscriptYSize
  17861. '\x00\x00' + // ySubscriptXOffset
  17862. '\x00\x8C' + // ySubscriptYOffset
  17863. '\x02\x8A' + // ySuperScriptXSize
  17864. '\x02\xBB' + // ySuperScriptYSize
  17865. '\x00\x00' + // ySuperScriptXOffset
  17866. '\x01\xDF' + // ySuperScriptYOffset
  17867. '\x00\x31' + // yStrikeOutSize
  17868. '\x01\x02' + // yStrikeOutPosition
  17869. '\x00\x00' + // sFamilyClass
  17870. '\x00\x00\x06' +
  17871. String.fromCharCode(properties.fixedPitch ? 0x09 : 0x00) +
  17872. '\x00\x00\x00\x00\x00\x00' + // Panose
  17873. string32(ulUnicodeRange1) + // ulUnicodeRange1 (Bits 0-31)
  17874. string32(ulUnicodeRange2) + // ulUnicodeRange2 (Bits 32-63)
  17875. string32(ulUnicodeRange3) + // ulUnicodeRange3 (Bits 64-95)
  17876. string32(ulUnicodeRange4) + // ulUnicodeRange4 (Bits 96-127)
  17877. '\x2A\x32\x31\x2A' + // achVendID
  17878. string16(properties.italicAngle ? 1 : 0) + // fsSelection
  17879. string16(firstCharIndex ||
  17880. properties.firstChar) + // usFirstCharIndex
  17881. string16(lastCharIndex || properties.lastChar) + // usLastCharIndex
  17882. string16(typoAscent) + // sTypoAscender
  17883. string16(typoDescent) + // sTypoDescender
  17884. '\x00\x64' + // sTypoLineGap (7%-10% of the unitsPerEM value)
  17885. string16(winAscent) + // usWinAscent
  17886. string16(winDescent) + // usWinDescent
  17887. '\x00\x00\x00\x00' + // ulCodePageRange1 (Bits 0-31)
  17888. '\x00\x00\x00\x00' + // ulCodePageRange2 (Bits 32-63)
  17889. string16(properties.xHeight) + // sxHeight
  17890. string16(properties.capHeight) + // sCapHeight
  17891. string16(0) + // usDefaultChar
  17892. string16(firstCharIndex || properties.firstChar) + // usBreakChar
  17893. '\x00\x03'; // usMaxContext
  17894. }
  17895. function createPostTable(properties) {
  17896. var angle = Math.floor(properties.italicAngle * (Math.pow(2, 16)));
  17897. return '\x00\x03\x00\x00' + // Version number
  17898. string32(angle) + // italicAngle
  17899. '\x00\x00' + // underlinePosition
  17900. '\x00\x00' + // underlineThickness
  17901. string32(properties.fixedPitch) + // isFixedPitch
  17902. '\x00\x00\x00\x00' + // minMemType42
  17903. '\x00\x00\x00\x00' + // maxMemType42
  17904. '\x00\x00\x00\x00' + // minMemType1
  17905. '\x00\x00\x00\x00'; // maxMemType1
  17906. }
  17907. function createNameTable(name, proto) {
  17908. if (!proto) {
  17909. proto = [[], []]; // no strings and unicode strings
  17910. }
  17911. var strings = [
  17912. proto[0][0] || 'Original licence', // 0.Copyright
  17913. proto[0][1] || name, // 1.Font family
  17914. proto[0][2] || 'Unknown', // 2.Font subfamily (font weight)
  17915. proto[0][3] || 'uniqueID', // 3.Unique ID
  17916. proto[0][4] || name, // 4.Full font name
  17917. proto[0][5] || 'Version 0.11', // 5.Version
  17918. proto[0][6] || '', // 6.Postscript name
  17919. proto[0][7] || 'Unknown', // 7.Trademark
  17920. proto[0][8] || 'Unknown', // 8.Manufacturer
  17921. proto[0][9] || 'Unknown' // 9.Designer
  17922. ];
  17923. // Mac want 1-byte per character strings while Windows want
  17924. // 2-bytes per character, so duplicate the names table
  17925. var stringsUnicode = [];
  17926. for (var i = 0, ii = strings.length; i < ii; i++) {
  17927. var str = proto[1][i] || strings[i];
  17928. var strUnicode = '';
  17929. for (var j = 0, jj = str.length; j < jj; j++)
  17930. strUnicode += string16(str.charCodeAt(j));
  17931. stringsUnicode.push(strUnicode);
  17932. }
  17933. var names = [strings, stringsUnicode];
  17934. var platforms = ['\x00\x01', '\x00\x03'];
  17935. var encodings = ['\x00\x00', '\x00\x01'];
  17936. var languages = ['\x00\x00', '\x04\x09'];
  17937. var namesRecordCount = strings.length * platforms.length;
  17938. var nameTable =
  17939. '\x00\x00' + // format
  17940. string16(namesRecordCount) + // Number of names Record
  17941. string16(namesRecordCount * 12 + 6); // Storage
  17942. // Build the name records field
  17943. var strOffset = 0;
  17944. for (var i = 0, ii = platforms.length; i < ii; i++) {
  17945. var strs = names[i];
  17946. for (var j = 0, jj = strs.length; j < jj; j++) {
  17947. var str = strs[j];
  17948. var nameRecord =
  17949. platforms[i] + // platform ID
  17950. encodings[i] + // encoding ID
  17951. languages[i] + // language ID
  17952. string16(j) + // name ID
  17953. string16(str.length) +
  17954. string16(strOffset);
  17955. nameTable += nameRecord;
  17956. strOffset += str.length;
  17957. }
  17958. }
  17959. nameTable += strings.join('') + stringsUnicode.join('');
  17960. return nameTable;
  17961. }
  17962. // Normalize the charcodes in the cmap table into unicode values
  17963. // that will work with the (3, 1) cmap table we will write out.
  17964. function cmapCharcodeToUnicode(charcode, symbolic, platformId, encodingId) {
  17965. var unicode;
  17966. if (symbolic) {
  17967. // These codes will be shifted into the range
  17968. // SYMBOLIC_FONT_GLYPH_OFFSET to (SYMBOLIC_FONT_GLYPH_OFFSET + 0xFF)
  17969. // so that they are not in the control character range that could
  17970. // be displayed as spaces by browsers.
  17971. if (platformId === 3 && encodingId === 0 ||
  17972. platformId === 1 && encodingId === 0) {
  17973. unicode = SYMBOLIC_FONT_GLYPH_OFFSET | (charcode & 0xFF);
  17974. }
  17975. } else {
  17976. if (platformId === 3 && encodingId === 1) {
  17977. // A (3, 1) table is alredy unicode (Microsoft Unicode format)
  17978. unicode = charcode;
  17979. } else if (platformId === 1 && encodingId === 0) {
  17980. // TODO(mack): Should apply the changes to convert the
  17981. // MacRomanEncoding to Mac OS Roman encoding in 9.6.6.4
  17982. // table 115 of the pdf spec
  17983. var glyphName = Encodings.MacRomanEncoding[charcode];
  17984. if (glyphName) {
  17985. unicode = GlyphsUnicode[glyphName];
  17986. }
  17987. }
  17988. }
  17989. return unicode;
  17990. }
  17991. Font.prototype = {
  17992. name: null,
  17993. font: null,
  17994. mimetype: null,
  17995. encoding: null,
  17996. get renderer() {
  17997. var renderer = FontRendererFactory.create(this);
  17998. return shadow(this, 'renderer', renderer);
  17999. },
  18000. exportData: function Font_exportData() {
  18001. var data = {};
  18002. for (var i in this) {
  18003. if (this.hasOwnProperty(i))
  18004. data[i] = this[i];
  18005. }
  18006. return data;
  18007. },
  18008. checkAndRepair: function Font_checkAndRepair(name, font, properties) {
  18009. function readTableEntry(file) {
  18010. var tag = file.getBytes(4);
  18011. tag = String.fromCharCode(tag[0]) +
  18012. String.fromCharCode(tag[1]) +
  18013. String.fromCharCode(tag[2]) +
  18014. String.fromCharCode(tag[3]);
  18015. var checksum = int32(file.getBytes(4));
  18016. var offset = int32(file.getBytes(4));
  18017. var length = int32(file.getBytes(4));
  18018. // Read the table associated data
  18019. var previousPosition = file.pos;
  18020. file.pos = file.start ? file.start : 0;
  18021. file.skip(offset);
  18022. var data = file.getBytes(length);
  18023. file.pos = previousPosition;
  18024. if (tag == 'head') {
  18025. // clearing checksum adjustment
  18026. data[8] = data[9] = data[10] = data[11] = 0;
  18027. data[17] |= 0x20; //Set font optimized for cleartype flag
  18028. }
  18029. return {
  18030. tag: tag,
  18031. checksum: checksum,
  18032. length: length,
  18033. offset: offset,
  18034. data: data
  18035. };
  18036. }
  18037. function readOpenTypeHeader(ttf) {
  18038. return {
  18039. version: arrayToString(ttf.getBytes(4)),
  18040. numTables: int16(ttf.getBytes(2)),
  18041. searchRange: int16(ttf.getBytes(2)),
  18042. entrySelector: int16(ttf.getBytes(2)),
  18043. rangeShift: int16(ttf.getBytes(2))
  18044. };
  18045. }
  18046. function createGlyphNameMap(glyphs, ids, properties) {
  18047. var glyphNames = properties.glyphNames;
  18048. if (!glyphNames) {
  18049. properties.glyphNameMap = {};
  18050. return;
  18051. }
  18052. var glyphsLength = glyphs.length;
  18053. var glyphNameMap = {};
  18054. var encoding = [];
  18055. for (var i = 0; i < glyphsLength; ++i) {
  18056. var glyphName = glyphNames[ids[i]];
  18057. if (!glyphName)
  18058. continue;
  18059. var unicode = glyphs[i].unicode;
  18060. glyphNameMap[glyphName] = unicode;
  18061. var code = glyphs[i].code;
  18062. encoding[code] = glyphName;
  18063. }
  18064. properties.glyphNameMap = glyphNameMap;
  18065. if (properties.overridableEncoding)
  18066. properties.baseEncoding = encoding;
  18067. }
  18068. /**
  18069. * Read the appropriate subtable from the cmap according to 9.6.6.4 from
  18070. * PDF spec
  18071. */
  18072. function readCmapTable(cmap, font, hasEncoding, isSymbolicFont) {
  18073. var start = (font.start ? font.start : 0) + cmap.offset;
  18074. font.pos = start;
  18075. var version = int16(font.getBytes(2));
  18076. var numTables = int16(font.getBytes(2));
  18077. var potentialTable;
  18078. var foundPreferredTable;
  18079. // There's an order of preference in terms of which cmap subtable we
  18080. // want to use. So scan through them to find our preferred table.
  18081. for (var i = 0; i < numTables; i++) {
  18082. var platformId = int16(font.getBytes(2));
  18083. var encodingId = int16(font.getBytes(2));
  18084. var offset = int32(font.getBytes(4));
  18085. var useTable = false;
  18086. var canBreak = false;
  18087. // The following block implements the following from the spec:
  18088. //
  18089. // When the font has no Encoding entry, or the font descriptor’s
  18090. // Symbolic flag is set (in which case the Encoding entry
  18091. // is ignored), this shall occur:
  18092. // - If the font contains a (3, 0) subtable, the range of
  18093. // - Otherwise, the (1, 0) subtable will be used.
  18094. // Otherwise, if the font does have an encoding:
  18095. // - Use the (3, 1) cmap subtable
  18096. // - Otherwise, use the (1, 0) subtable if present
  18097. //
  18098. // The following diverges slightly from the above spec in order
  18099. // to handle the case that hasEncoding and isSymbolicFont are both
  18100. // true. In this, based on the ordering of the rules in the spec,
  18101. // my interpretation is that we should be acting as if the font is
  18102. // symbolic.
  18103. //
  18104. // However, in this case, the test pdf 'preistabelle.pdf'
  18105. // is interpreting this case as a non-symbolic font. In this case
  18106. // though, 'presitabelle.pdf' does contain a (3, 1) table and does
  18107. // not contain a (3, 0) table which indicates it is non-symbolic.
  18108. //
  18109. // Thus, I am using this heurisitic of looking at which table is
  18110. // found to truly determine whether or not the font is symbolic.
  18111. // That is, if the specific symbolic/non-symbolic font specific
  18112. // tables (3, 0) or (3, 1) is found, that information is used for
  18113. // deciding if the font is symbolic or not.
  18114. //
  18115. // TODO(mack): This section needs some more thought on whether the
  18116. // heuristic is good enough. For now, it passes all the regression
  18117. // tests.
  18118. if (isSymbolicFont && platformId === 3 && encodingId === 0) {
  18119. useTable = true;
  18120. canBreak = true;
  18121. foundPreferredTable = true;
  18122. } else if (hasEncoding && platformId === 3 && encodingId === 1) {
  18123. useTable = true;
  18124. canBreak = true;
  18125. foundPreferredTable = true;
  18126. // Update the isSymbolicFont based on this heuristic
  18127. isSymbolicFont = false;
  18128. } else if (platformId === 1 && encodingId === 0 &&
  18129. !foundPreferredTable) {
  18130. useTable = true;
  18131. foundPreferredTable = true;
  18132. } else if (!potentialTable) {
  18133. // We will use an arbitrary table if we cannot find a preferred
  18134. // table
  18135. useTable = true;
  18136. }
  18137. if (useTable) {
  18138. potentialTable = {
  18139. platformId: platformId,
  18140. encodingId: encodingId,
  18141. offset: offset,
  18142. isSymbolicFont: isSymbolicFont
  18143. };
  18144. }
  18145. if (canBreak) {
  18146. break;
  18147. }
  18148. }
  18149. if (!potentialTable) {
  18150. error('Could not find a cmap table');
  18151. return;
  18152. }
  18153. if (!foundPreferredTable) {
  18154. warn('Did not find a cmap of suitable format. Interpreting (' +
  18155. potentialTable.platformId + ', ' + potentialTable.encodingId +
  18156. ') as (3, 1) table');
  18157. potentialTable.platformId = 3;
  18158. potentialTable.encodingId = 1;
  18159. }
  18160. font.pos = start + potentialTable.offset;
  18161. var format = int16(font.getBytes(2));
  18162. var length = int16(font.getBytes(2));
  18163. var language = int16(font.getBytes(2));
  18164. var hasShortCmap = false;
  18165. var mappings = [];
  18166. // TODO(mack): refactor this cmap subtable reading logic out
  18167. if (format === 0) {
  18168. for (var j = 0; j < 256; j++) {
  18169. var index = font.getByte();
  18170. if (!index) {
  18171. continue;
  18172. }
  18173. mappings.push({
  18174. charcode: j,
  18175. glyphId: index
  18176. });
  18177. }
  18178. hasShortCmap = true;
  18179. } else if (format === 4) {
  18180. // re-creating the table in format 4 since the encoding
  18181. // might be changed
  18182. var segCount = (int16(font.getBytes(2)) >> 1);
  18183. font.getBytes(6); // skipping range fields
  18184. var segIndex, segments = [];
  18185. for (segIndex = 0; segIndex < segCount; segIndex++) {
  18186. segments.push({ end: int16(font.getBytes(2)) });
  18187. }
  18188. font.getBytes(2);
  18189. for (segIndex = 0; segIndex < segCount; segIndex++) {
  18190. segments[segIndex].start = int16(font.getBytes(2));
  18191. }
  18192. for (segIndex = 0; segIndex < segCount; segIndex++) {
  18193. segments[segIndex].delta = int16(font.getBytes(2));
  18194. }
  18195. var offsetsCount = 0;
  18196. for (segIndex = 0; segIndex < segCount; segIndex++) {
  18197. var segment = segments[segIndex];
  18198. var rangeOffset = int16(font.getBytes(2));
  18199. if (!rangeOffset) {
  18200. segment.offsetIndex = -1;
  18201. continue;
  18202. }
  18203. var offsetIndex = (rangeOffset >> 1) - (segCount - segIndex);
  18204. segment.offsetIndex = offsetIndex;
  18205. offsetsCount = Math.max(offsetsCount, offsetIndex +
  18206. segment.end - segment.start + 1);
  18207. }
  18208. var offsets = [];
  18209. for (var j = 0; j < offsetsCount; j++) {
  18210. offsets.push(int16(font.getBytes(2)));
  18211. }
  18212. for (segIndex = 0; segIndex < segCount; segIndex++) {
  18213. var segment = segments[segIndex];
  18214. var start = segment.start, end = segment.end;
  18215. var delta = segment.delta, offsetIndex = segment.offsetIndex;
  18216. for (var j = start; j <= end; j++) {
  18217. if (j == 0xFFFF) {
  18218. continue;
  18219. }
  18220. var glyphId = offsetIndex < 0 ? j :
  18221. offsets[offsetIndex + j - start];
  18222. glyphId = (glyphId + delta) & 0xFFFF;
  18223. if (glyphId === 0) {
  18224. continue;
  18225. }
  18226. mappings.push({
  18227. charcode: j,
  18228. glyphId: glyphId
  18229. });
  18230. }
  18231. }
  18232. } else if (format == 6) {
  18233. // Format 6 is a 2-bytes dense mapping, which means the font data
  18234. // lives glue together even if they are pretty far in the unicode
  18235. // table. (This looks weird, so I can have missed something), this
  18236. // works on Linux but seems to fails on Mac so let's rewrite the
  18237. // cmap table to a 3-1-4 style
  18238. var firstCode = int16(font.getBytes(2));
  18239. var entryCount = int16(font.getBytes(2));
  18240. var glyphs = [];
  18241. var ids = [];
  18242. for (var j = 0; j < entryCount; j++) {
  18243. var glyphId = int16(font.getBytes(2));
  18244. var charcode = firstCode + j;
  18245. mappings.push({
  18246. charcode: charcode,
  18247. glyphId: glyphId
  18248. });
  18249. }
  18250. } else {
  18251. error('cmap table has unsupported format: ' + format);
  18252. }
  18253. // removing duplicate entries
  18254. mappings.sort(function (a, b) {
  18255. return a.charcode - b.charcode;
  18256. });
  18257. for (var i = 1; i < mappings.length; i++) {
  18258. if (mappings[i - 1].charcode === mappings[i].charcode) {
  18259. mappings.splice(i, 1);
  18260. i--;
  18261. }
  18262. }
  18263. return {
  18264. platformId: potentialTable.platformId,
  18265. encodingId: potentialTable.encodingId,
  18266. isSymbolicFont: potentialTable.isSymbolicFont,
  18267. mappings: mappings,
  18268. hasShortCmap: hasShortCmap
  18269. };
  18270. }
  18271. function sanitizeMetrics(font, header, metrics, numGlyphs) {
  18272. if (!header) {
  18273. if (metrics) {
  18274. metrics.data = null;
  18275. }
  18276. return;
  18277. }
  18278. font.pos = (font.start ? font.start : 0) + header.offset;
  18279. font.pos += header.length - 2;
  18280. var numOfMetrics = int16(font.getBytes(2));
  18281. if (numOfMetrics > numGlyphs) {
  18282. info('The numOfMetrics (' + numOfMetrics + ') should not be ' +
  18283. 'greater than the numGlyphs (' + numGlyphs + ')');
  18284. // Reduce numOfMetrics if it is greater than numGlyphs
  18285. numOfMetrics = numGlyphs;
  18286. header.data[34] = (numOfMetrics & 0xff00) >> 8;
  18287. header.data[35] = numOfMetrics & 0x00ff;
  18288. }
  18289. var numOfSidebearings = numGlyphs - numOfMetrics;
  18290. var numMissing = numOfSidebearings -
  18291. ((metrics.length - numOfMetrics * 4) >> 1);
  18292. if (numMissing > 0) {
  18293. font.pos = (font.start ? font.start : 0) + metrics.offset;
  18294. var entries = '';
  18295. for (var i = 0, ii = metrics.length; i < ii; i++)
  18296. entries += String.fromCharCode(font.getByte());
  18297. for (var i = 0; i < numMissing; i++)
  18298. entries += '\x00\x00';
  18299. metrics.data = stringToArray(entries);
  18300. }
  18301. }
  18302. function sanitizeGlyph(source, sourceStart, sourceEnd, dest, destStart,
  18303. hintsValid) {
  18304. if (sourceEnd - sourceStart <= 12) {
  18305. // glyph with data less than 12 is invalid one
  18306. return 0;
  18307. }
  18308. var glyf = source.subarray(sourceStart, sourceEnd);
  18309. var contoursCount = (glyf[0] << 8) | glyf[1];
  18310. if (contoursCount & 0x8000) {
  18311. // complex glyph, writing as is
  18312. dest.set(glyf, destStart);
  18313. return glyf.length;
  18314. }
  18315. var j = 10, flagsCount = 0;
  18316. for (var i = 0; i < contoursCount; i++) {
  18317. var endPoint = (glyf[j] << 8) | glyf[j + 1];
  18318. flagsCount = endPoint + 1;
  18319. j += 2;
  18320. }
  18321. // skipping instructions
  18322. var instructionsStart = j;
  18323. var instructionsLength = (glyf[j] << 8) | glyf[j + 1];
  18324. j += 2 + instructionsLength;
  18325. var instructionsEnd = j;
  18326. // validating flags
  18327. var coordinatesLength = 0;
  18328. for (var i = 0; i < flagsCount; i++) {
  18329. var flag = glyf[j++];
  18330. if (flag & 0xC0) {
  18331. // reserved flags must be zero, cleaning up
  18332. glyf[j - 1] = flag & 0x3F;
  18333. }
  18334. var xyLength = ((flag & 2) ? 1 : (flag & 16) ? 0 : 2) +
  18335. ((flag & 4) ? 1 : (flag & 32) ? 0 : 2);
  18336. coordinatesLength += xyLength;
  18337. if (flag & 8) {
  18338. var repeat = glyf[j++];
  18339. i += repeat;
  18340. coordinatesLength += repeat * xyLength;
  18341. }
  18342. }
  18343. // glyph without coordinates will be rejected
  18344. if (coordinatesLength === 0) {
  18345. return 0;
  18346. }
  18347. var glyphDataLength = j + coordinatesLength;
  18348. if (glyphDataLength > glyf.length) {
  18349. // not enough data for coordinates
  18350. return 0;
  18351. }
  18352. if (!hintsValid && instructionsLength > 0) {
  18353. dest.set(glyf.subarray(0, instructionsStart), destStart);
  18354. dest.set([0, 0], destStart + instructionsStart);
  18355. dest.set(glyf.subarray(instructionsEnd, glyphDataLength),
  18356. destStart + instructionsStart + 2);
  18357. glyphDataLength -= instructionsLength;
  18358. if (glyf.length - glyphDataLength > 3) {
  18359. glyphDataLength = (glyphDataLength + 3) & ~3;
  18360. }
  18361. return glyphDataLength;
  18362. }
  18363. if (glyf.length - glyphDataLength > 3) {
  18364. // truncating and aligning to 4 bytes the long glyph data
  18365. glyphDataLength = (glyphDataLength + 3) & ~3;
  18366. dest.set(glyf.subarray(0, glyphDataLength), destStart);
  18367. return glyphDataLength;
  18368. }
  18369. // glyph data is fine
  18370. dest.set(glyf, destStart);
  18371. return glyf.length;
  18372. }
  18373. function sanitizeHead(head, numGlyphs, locaLength) {
  18374. var data = head.data;
  18375. // Validate version:
  18376. // Should always be 0x00010000
  18377. var version = int32([data[0], data[1], data[2], data[3]]);
  18378. if (version >> 16 !== 1) {
  18379. info('Attempting to fix invalid version in head table: ' + version);
  18380. data[0] = 0;
  18381. data[1] = 1;
  18382. data[2] = 0;
  18383. data[3] = 0;
  18384. }
  18385. var indexToLocFormat = int16([data[50], data[51]]);
  18386. if (indexToLocFormat < 0 || indexToLocFormat > 1) {
  18387. info('Attempting to fix invalid indexToLocFormat in head table: ' +
  18388. indexToLocFormat);
  18389. // The value of indexToLocFormat should be 0 if the loca table
  18390. // consists of short offsets, and should be 1 if the loca table
  18391. // consists of long offsets.
  18392. //
  18393. // The number of entries in the loca table should be numGlyphs + 1.
  18394. //
  18395. // Using this information, we can work backwards to deduce if the
  18396. // size of each offset in the loca table, and thus figure out the
  18397. // appropriate value for indexToLocFormat.
  18398. var numGlyphsPlusOne = numGlyphs + 1;
  18399. if (locaLength === numGlyphsPlusOne << 1) {
  18400. // 0x0000 indicates the loca table consists of short offsets
  18401. data[50] = 0;
  18402. data[51] = 0;
  18403. } else if (locaLength === numGlyphsPlusOne << 2) {
  18404. // 0x0001 indicates the loca table consists of long offsets
  18405. data[50] = 0;
  18406. data[51] = 1;
  18407. } else {
  18408. warn('Could not fix indexToLocFormat: ' + indexToLocFormat);
  18409. }
  18410. }
  18411. }
  18412. function sanitizeGlyphLocations(loca, glyf, numGlyphs,
  18413. isGlyphLocationsLong, hintsValid,
  18414. dupFirstEntry) {
  18415. var itemSize, itemDecode, itemEncode;
  18416. if (isGlyphLocationsLong) {
  18417. itemSize = 4;
  18418. itemDecode = function fontItemDecodeLong(data, offset) {
  18419. return (data[offset] << 24) | (data[offset + 1] << 16) |
  18420. (data[offset + 2] << 8) | data[offset + 3];
  18421. };
  18422. itemEncode = function fontItemEncodeLong(data, offset, value) {
  18423. data[offset] = (value >>> 24) & 0xFF;
  18424. data[offset + 1] = (value >> 16) & 0xFF;
  18425. data[offset + 2] = (value >> 8) & 0xFF;
  18426. data[offset + 3] = value & 0xFF;
  18427. };
  18428. } else {
  18429. itemSize = 2;
  18430. itemDecode = function fontItemDecode(data, offset) {
  18431. return (data[offset] << 9) | (data[offset + 1] << 1);
  18432. };
  18433. itemEncode = function fontItemEncode(data, offset, value) {
  18434. data[offset] = (value >> 9) & 0xFF;
  18435. data[offset + 1] = (value >> 1) & 0xFF;
  18436. };
  18437. }
  18438. var locaData = loca.data;
  18439. var locaDataSize = itemSize * (1 + numGlyphs);
  18440. // is loca.data too short or long?
  18441. if (locaData.length !== locaDataSize) {
  18442. locaData = new Uint8Array(locaDataSize);
  18443. locaData.set(loca.data.subarray(0, locaDataSize));
  18444. loca.data = locaData;
  18445. }
  18446. // removing the invalid glyphs
  18447. var oldGlyfData = glyf.data;
  18448. var oldGlyfDataLength = oldGlyfData.length;
  18449. var newGlyfData = new Uint8Array(oldGlyfDataLength);
  18450. var startOffset = itemDecode(locaData, 0);
  18451. var writeOffset = 0;
  18452. itemEncode(locaData, 0, writeOffset);
  18453. for (var i = 0, j = itemSize; i < numGlyphs; i++, j += itemSize) {
  18454. var endOffset = itemDecode(locaData, j);
  18455. if (endOffset > oldGlyfDataLength) {
  18456. // glyph end offset points outside glyf data, rejecting the glyph
  18457. itemEncode(locaData, j, writeOffset);
  18458. startOffset = endOffset;
  18459. continue;
  18460. }
  18461. var newLength = sanitizeGlyph(oldGlyfData, startOffset, endOffset,
  18462. newGlyfData, writeOffset, hintsValid);
  18463. writeOffset += newLength;
  18464. itemEncode(locaData, j, writeOffset);
  18465. startOffset = endOffset;
  18466. }
  18467. if (writeOffset === 0) {
  18468. // glyf table cannot be empty -- redoing the glyf and loca tables
  18469. // to have single glyph with one point
  18470. var simpleGlyph = new Uint8Array(
  18471. [0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 49, 0]);
  18472. for (var i = 0, j = itemSize; i < numGlyphs; i++, j += itemSize)
  18473. itemEncode(locaData, j, simpleGlyph.length);
  18474. glyf.data = simpleGlyph;
  18475. return;
  18476. }
  18477. if (dupFirstEntry) {
  18478. var firstEntryLength = itemDecode(locaData, itemSize);
  18479. if (newGlyfData.length > firstEntryLength + writeOffset) {
  18480. glyf.data = newGlyfData.subarray(0, firstEntryLength + writeOffset);
  18481. } else {
  18482. glyf.data = new Uint8Array(firstEntryLength + writeOffset);
  18483. glyf.data.set(newGlyfData.subarray(0, writeOffset));
  18484. }
  18485. glyf.data.set(newGlyfData.subarray(0, firstEntryLength), writeOffset);
  18486. itemEncode(loca.data, locaData.length - itemSize,
  18487. writeOffset + firstEntryLength);
  18488. } else {
  18489. glyf.data = newGlyfData.subarray(0, writeOffset);
  18490. }
  18491. }
  18492. function readPostScriptTable(post, properties, maxpNumGlyphs) {
  18493. var start = (font.start ? font.start : 0) + post.offset;
  18494. font.pos = start;
  18495. var length = post.length, end = start + length;
  18496. var version = int32(font.getBytes(4));
  18497. // skip rest to the tables
  18498. font.getBytes(28);
  18499. var glyphNames;
  18500. var valid = true;
  18501. switch (version) {
  18502. case 0x00010000:
  18503. glyphNames = MacStandardGlyphOrdering;
  18504. break;
  18505. case 0x00020000:
  18506. var numGlyphs = int16(font.getBytes(2));
  18507. if (numGlyphs != maxpNumGlyphs) {
  18508. valid = false;
  18509. break;
  18510. }
  18511. var glyphNameIndexes = [];
  18512. for (var i = 0; i < numGlyphs; ++i) {
  18513. var index = int16(font.getBytes(2));
  18514. if (index >= 32768) {
  18515. valid = false;
  18516. break;
  18517. }
  18518. glyphNameIndexes.push(index);
  18519. }
  18520. if (!valid) {
  18521. break;
  18522. }
  18523. var customNames = [];
  18524. while (font.pos < end) {
  18525. var stringLength = font.getByte();
  18526. var string = '';
  18527. for (var i = 0; i < stringLength; ++i) {
  18528. string += String.fromCharCode(font.getByte());
  18529. }
  18530. customNames.push(string);
  18531. }
  18532. glyphNames = [];
  18533. for (var i = 0; i < numGlyphs; ++i) {
  18534. var j = glyphNameIndexes[i];
  18535. if (j < 258) {
  18536. glyphNames.push(MacStandardGlyphOrdering[j]);
  18537. continue;
  18538. }
  18539. glyphNames.push(customNames[j - 258]);
  18540. }
  18541. break;
  18542. case 0x00030000:
  18543. break;
  18544. default:
  18545. warn('Unknown/unsupported post table version ' + version);
  18546. valid = false;
  18547. break;
  18548. }
  18549. properties.glyphNames = glyphNames;
  18550. return valid;
  18551. }
  18552. function readNameTable(nameTable) {
  18553. var start = (font.start ? font.start : 0) + nameTable.offset;
  18554. font.pos = start;
  18555. var names = [[], []];
  18556. var length = nameTable.length, end = start + length;
  18557. var format = int16(font.getBytes(2));
  18558. var FORMAT_0_HEADER_LENGTH = 6;
  18559. if (format !== 0 || length < FORMAT_0_HEADER_LENGTH) {
  18560. // unsupported name table format or table "too" small
  18561. return names;
  18562. }
  18563. var numRecords = int16(font.getBytes(2));
  18564. var stringsStart = int16(font.getBytes(2));
  18565. var records = [];
  18566. var NAME_RECORD_LENGTH = 12;
  18567. for (var i = 0; i < numRecords &&
  18568. font.pos + NAME_RECORD_LENGTH <= end; i++) {
  18569. var r = {
  18570. platform: int16(font.getBytes(2)),
  18571. encoding: int16(font.getBytes(2)),
  18572. language: int16(font.getBytes(2)),
  18573. name: int16(font.getBytes(2)),
  18574. length: int16(font.getBytes(2)),
  18575. offset: int16(font.getBytes(2))
  18576. };
  18577. // using only Macintosh and Windows platform/encoding names
  18578. if ((r.platform == 1 && r.encoding === 0 && r.language === 0) ||
  18579. (r.platform == 3 && r.encoding == 1 && r.language == 0x409)) {
  18580. records.push(r);
  18581. }
  18582. }
  18583. for (var i = 0, ii = records.length; i < ii; i++) {
  18584. var record = records[i];
  18585. var pos = start + stringsStart + record.offset;
  18586. if (pos + record.length > end) {
  18587. continue; // outside of name table, ignoring
  18588. }
  18589. font.pos = pos;
  18590. var nameIndex = record.name;
  18591. var encoding = record.encoding ? 1 : 0;
  18592. if (record.encoding) {
  18593. // unicode
  18594. var str = '';
  18595. for (var j = 0, jj = record.length; j < jj; j += 2) {
  18596. str += String.fromCharCode(int16(font.getBytes(2)));
  18597. }
  18598. names[1][nameIndex] = str;
  18599. } else {
  18600. names[0][nameIndex] = bytesToString(font.getBytes(record.length));
  18601. }
  18602. }
  18603. return names;
  18604. }
  18605. var TTOpsStackDeltas = [
  18606. 0, 0, 0, 0, 0, 0, 0, 0, -2, -2, -2, -2, 0, 0, -2, -5,
  18607. -1, -1, -1, -1, -1, -1, -1, -1, 0, 0, -1, 0, -1, -1, -1, -1,
  18608. 1, -1, -999, 0, 1, 0, -1, -2, 0, -1, -2, -1, -1, 0, -1, -1,
  18609. 0, 0, -999, -999, -1, -1, -1, -1, -2, -999, -2, -2, -999, 0, -2, -2,
  18610. 0, 0, -2, 0, -2, 0, 0, 0, -2, -1, -1, 1, 1, 0, 0, -1,
  18611. -1, -1, -1, -1, -1, -1, 0, 0, -1, 0, -1, -1, 0, -999, -1, -1,
  18612. -1, -1, -1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  18613. -2, -999, -999, -999, -999, -999, -1, -1, -2, -2, 0, 0, 0, 0, -1, -1,
  18614. -999, -2, -2, 0, 0, -1, -2, -2, 0, 0, 0, -1, -1, -1, -2];
  18615. // 0xC0-DF == -1 and 0xE0-FF == -2
  18616. function sanitizeTTProgram(table, ttContext) {
  18617. var data = table.data;
  18618. var i = 0, n, lastEndf = 0, lastDeff = 0;
  18619. var stack = [];
  18620. var callstack = [];
  18621. var functionsCalled = [];
  18622. var tooComplexToFollowFunctions =
  18623. ttContext.tooComplexToFollowFunctions;
  18624. var inFDEF = false, ifLevel = 0, inELSE = 0;
  18625. for (var ii = data.length; i < ii;) {
  18626. var op = data[i++];
  18627. // The TrueType instruction set docs can be found at
  18628. // https://developer.apple.com/fonts/TTRefMan/RM05/Chap5.html
  18629. if (op === 0x40) { // NPUSHB - pushes n bytes
  18630. n = data[i++];
  18631. if (inFDEF || inELSE) {
  18632. i += n;
  18633. } else {
  18634. for (var j = 0; j < n; j++) {
  18635. stack.push(data[i++]);
  18636. }
  18637. }
  18638. } else if (op === 0x41) { // NPUSHW - pushes n words
  18639. n = data[i++];
  18640. if (inFDEF || inELSE) {
  18641. i += n * 2;
  18642. } else {
  18643. for (var j = 0; j < n; j++) {
  18644. var b = data[i++];
  18645. stack.push((b << 8) | data[i++]);
  18646. }
  18647. }
  18648. } else if ((op & 0xF8) === 0xB0) { // PUSHB - pushes bytes
  18649. n = op - 0xB0 + 1;
  18650. if (inFDEF || inELSE) {
  18651. i += n;
  18652. } else {
  18653. for (var j = 0; j < n; j++) {
  18654. stack.push(data[i++]);
  18655. }
  18656. }
  18657. } else if ((op & 0xF8) === 0xB8) { // PUSHW - pushes words
  18658. n = op - 0xB8 + 1;
  18659. if (inFDEF || inELSE) {
  18660. i += n * 2;
  18661. } else {
  18662. for (var j = 0; j < n; j++) {
  18663. var b = data[i++];
  18664. stack.push((b << 8) | data[i++]);
  18665. }
  18666. }
  18667. } else if (op === 0x2B && !tooComplexToFollowFunctions) { // CALL
  18668. if (!inFDEF && !inELSE) {
  18669. // collecting inforamtion about which functions are used
  18670. var funcId = stack[stack.length - 1];
  18671. ttContext.functionsUsed[funcId] = true;
  18672. if (funcId in ttContext.functionsStackDeltas) {
  18673. stack.length += ttContext.functionsStackDeltas[funcId];
  18674. } else if (funcId in ttContext.functionsDefined &&
  18675. functionsCalled.indexOf(funcId) < 0) {
  18676. callstack.push({data: data, i: i, stackTop: stack.length - 1});
  18677. functionsCalled.push(funcId);
  18678. var pc = ttContext.functionsDefined[funcId];
  18679. if (!pc) {
  18680. warn('TT: CALL non-existent function');
  18681. ttContext.hintsValid = false;
  18682. return;
  18683. }
  18684. data = pc.data;
  18685. i = pc.i;
  18686. }
  18687. }
  18688. } else if (op === 0x2C && !tooComplexToFollowFunctions) { // FDEF
  18689. if (inFDEF || inELSE) {
  18690. warn('TT: nested FDEFs not allowed');
  18691. tooComplexToFollowFunctions = true;
  18692. }
  18693. inFDEF = true;
  18694. // collecting inforamtion about which functions are defined
  18695. lastDeff = i;
  18696. var funcId = stack.pop();
  18697. ttContext.functionsDefined[funcId] = {data: data, i: i};
  18698. } else if (op === 0x2D) { // ENDF - end of function
  18699. if (inFDEF) {
  18700. inFDEF = false;
  18701. lastEndf = i;
  18702. } else {
  18703. var pc = callstack.pop();
  18704. if (!pc) {
  18705. warn('TT: ENDF bad stack');
  18706. ttContext.hintsValid = false;
  18707. return;
  18708. }
  18709. var funcId = functionsCalled.pop();
  18710. data = pc.data;
  18711. i = pc.i;
  18712. ttContext.functionsStackDeltas[funcId] =
  18713. stack.length - pc.stackTop;
  18714. }
  18715. } else if (op === 0x89) { // IDEF - instruction definition
  18716. if (inFDEF || inELSE) {
  18717. warn('TT: nested IDEFs not allowed');
  18718. tooComplexToFollowFunctions = true;
  18719. }
  18720. inFDEF = true;
  18721. // recording it as a function to track ENDF
  18722. lastDeff = i;
  18723. } else if (op === 0x58) { // IF
  18724. ++ifLevel;
  18725. } else if (op === 0x1B) { // ELSE
  18726. inELSE = ifLevel;
  18727. } else if (op === 0x59) { // EIF
  18728. if (inELSE === ifLevel) {
  18729. inELSE = 0;
  18730. }
  18731. --ifLevel;
  18732. } else if (op === 0x1C) { // JMPR
  18733. var offset = stack[stack.length - 1];
  18734. // only jumping forward to prevent infinite loop
  18735. if (offset > 0) { i += offset - 1; }
  18736. }
  18737. // Adjusting stack not extactly, but just enough to get function id
  18738. if (!inFDEF && !inELSE) {
  18739. var stackDelta = op <= 0x8E ? TTOpsStackDeltas[op] :
  18740. op >= 0xC0 && op <= 0xDF ? -1 : op >= 0xE0 ? -2 : 0;
  18741. if (op >= 0x71 && op <= 0x75) {
  18742. n = stack.pop();
  18743. if (n === n) {
  18744. stackDelta = -n * 2;
  18745. }
  18746. }
  18747. while (stackDelta < 0 && stack.length > 0) {
  18748. stack.pop();
  18749. stackDelta++;
  18750. }
  18751. while (stackDelta > 0) {
  18752. stack.push(NaN); // pushing any number into stack
  18753. stackDelta--;
  18754. }
  18755. }
  18756. }
  18757. ttContext.tooComplexToFollowFunctions = tooComplexToFollowFunctions;
  18758. var content = [data];
  18759. if (i > data.length) {
  18760. content.push(new Uint8Array(i - data.length));
  18761. }
  18762. if (lastDeff > lastEndf) {
  18763. warn('TT: complementing a missing function tail');
  18764. // new function definition started, but not finished
  18765. // complete function by [CLEAR, ENDF]
  18766. content.push(new Uint8Array([0x22, 0x2D]));
  18767. }
  18768. foldTTTable(table, content);
  18769. }
  18770. function checkInvalidFunctions(ttContext, maxFunctionDefs) {
  18771. if (ttContext.tooComplexToFollowFunctions) {
  18772. return;
  18773. }
  18774. for (var j = 0, jj = ttContext.functionsUsed.length; j < jj; j++) {
  18775. if (j > maxFunctionDefs) {
  18776. warn('TT: invalid function id: ' + j);
  18777. ttContext.hintsValid = false;
  18778. return;
  18779. }
  18780. if (ttContext.functionsUsed[j] && !ttContext.functionsDefined[j]) {
  18781. warn('TT: undefined function: ' + j);
  18782. ttContext.hintsValid = false;
  18783. return;
  18784. }
  18785. }
  18786. }
  18787. function foldTTTable(table, content) {
  18788. if (content.length > 1) {
  18789. // concatenating the content items
  18790. var newLength = 0;
  18791. for (var j = 0, jj = content.length; j < jj; j++) {
  18792. newLength += content[j].length;
  18793. }
  18794. newLength = (newLength + 3) & ~3;
  18795. var result = new Uint8Array(newLength);
  18796. var pos = 0;
  18797. for (var j = 0, jj = content.length; j < jj; j++) {
  18798. result.set(content[j], pos);
  18799. pos += content[j].length;
  18800. }
  18801. table.data = result;
  18802. table.length = newLength;
  18803. }
  18804. }
  18805. function sanitizeTTPrograms(fpgm, prep, cvt) {
  18806. var ttContext = {
  18807. functionsDefined: [],
  18808. functionsUsed: [],
  18809. functionsStackDeltas: [],
  18810. tooComplexToFollowFunctions: false,
  18811. hintsValid: true
  18812. };
  18813. if (fpgm) {
  18814. sanitizeTTProgram(fpgm, ttContext);
  18815. }
  18816. if (prep) {
  18817. sanitizeTTProgram(prep, ttContext);
  18818. }
  18819. if (fpgm) {
  18820. checkInvalidFunctions(ttContext, maxFunctionDefs);
  18821. }
  18822. if (cvt && (cvt.length & 1)) {
  18823. var cvtData = new Uint8Array(cvt.length + 1);
  18824. cvtData.set(cvt.data);
  18825. cvt.data = cvtData;
  18826. }
  18827. return ttContext.hintsValid;
  18828. }
  18829. // The following steps modify the original font data, making copy
  18830. font = new Stream(new Uint8Array(font.getBytes()));
  18831. var VALID_TABLES = ['OS/2', 'cmap', 'head', 'hhea', 'hmtx', 'maxp',
  18832. 'name', 'post', 'loca', 'glyf', 'fpgm', 'prep', 'cvt ', 'CFF '];
  18833. var header = readOpenTypeHeader(font);
  18834. var numTables = header.numTables;
  18835. var tables = { 'OS/2': null, cmap: null, head: null, hhea: null,
  18836. hmtx: null, maxp: null, name: null, post: null};
  18837. for (var i = 0; i < numTables; i++) {
  18838. var table = readTableEntry(font);
  18839. if (VALID_TABLES.indexOf(table.tag) < 0) {
  18840. continue; // skipping table if it's not a required or optional table
  18841. }
  18842. if (table.length === 0) {
  18843. continue; // skipping empty tables
  18844. }
  18845. tables[table.tag] = table;
  18846. }
  18847. var isTrueType = !tables['CFF '];
  18848. if (!isTrueType) {
  18849. // OpenType font
  18850. if (!tables.head || !tables.hhea || !tables.maxp || !tables.post) {
  18851. // no major tables: throwing everything at CFFFont
  18852. var cffFile = new Stream(tables['CFF '].data);
  18853. var cff = new CFFFont(cffFile, properties);
  18854. return this.convert(name, cff, properties);
  18855. }
  18856. delete tables.glyf;
  18857. delete tables.loca;
  18858. delete tables.fpgm;
  18859. delete tables.prep;
  18860. delete tables['cvt '];
  18861. } else {
  18862. if (!tables.glyf || !tables.loca) {
  18863. error('Required "glyf" or "loca" tables are not found');
  18864. }
  18865. }
  18866. if (!tables.maxp) {
  18867. error('Required "maxp" table is not found');
  18868. }
  18869. font.pos = (font.start || 0) + tables.maxp.offset;
  18870. var version = int32(font.getBytes(4));
  18871. var numGlyphs = int16(font.getBytes(2));
  18872. var maxFunctionDefs = 0;
  18873. if (version >= 0x00010000 && tables.maxp.length >= 22) {
  18874. // maxZones can be invalid
  18875. font.pos += 8;
  18876. var maxZones = int16(font.getBytes(2));
  18877. if (maxZones > 2) { // reset to 2 if font has invalid maxZones
  18878. tables.maxp.data[14] = 0;
  18879. tables.maxp.data[15] = 2;
  18880. }
  18881. font.pos += 4;
  18882. maxFunctionDefs = int16(font.getBytes(2));
  18883. }
  18884. var dupFirstEntry = false;
  18885. if (properties.type == 'CIDFontType2' && properties.toUnicode &&
  18886. properties.toUnicode[0] > '\u0000') {
  18887. // oracle's defect (see 3427), duplicating first entry
  18888. dupFirstEntry = true;
  18889. numGlyphs++;
  18890. tables.maxp.data[4] = numGlyphs >> 8;
  18891. tables.maxp.data[5] = numGlyphs & 255;
  18892. }
  18893. var hintsValid = sanitizeTTPrograms(tables.fpgm, tables.prep,
  18894. tables['cvt '], maxFunctionDefs);
  18895. if (!hintsValid) {
  18896. delete tables.fpgm;
  18897. delete tables.prep;
  18898. delete tables['cvt '];
  18899. }
  18900. // Tables needs to be written by ascendant alphabetic order
  18901. var tablesNames = Object.keys(tables);
  18902. tablesNames.sort();
  18903. numTables = tablesNames.length;
  18904. // header and new offsets. Table entry information is appended to the
  18905. // end of file. The virtualOffset represents where to put the actual
  18906. // data of a particular table;
  18907. var ttf = {
  18908. file: '',
  18909. virtualOffset: numTables * (4 * 4)
  18910. };
  18911. // The new numbers of tables will be the last one plus the num
  18912. // of missing tables
  18913. createOpenTypeHeader(header.version, ttf, numTables);
  18914. // Ensure the hmtx table contains the advance width and
  18915. // sidebearings information for numGlyphs in the maxp table
  18916. sanitizeMetrics(font, tables.hhea, tables.hmtx, numGlyphs);
  18917. if (!tables.head) {
  18918. error('Required "head" table is not found');
  18919. }
  18920. sanitizeHead(tables.head, numGlyphs, isTrueType ? tables.loca.length : 0);
  18921. if (isTrueType) {
  18922. var isGlyphLocationsLong = int16([tables.head.data[50],
  18923. tables.head.data[51]]);
  18924. sanitizeGlyphLocations(tables.loca, tables.glyf, numGlyphs,
  18925. isGlyphLocationsLong, hintsValid, dupFirstEntry);
  18926. }
  18927. if (!tables.hhea) {
  18928. error('Required "hhea" table is not found');
  18929. }
  18930. // Sanitizer reduces the glyph advanceWidth to the maxAdvanceWidth
  18931. // Sometimes it's 0. That needs to be fixed
  18932. if (tables.hhea.data[10] === 0 && tables.hhea.data[11] === 0) {
  18933. tables.hhea.data[10] = 0xFF;
  18934. tables.hhea.data[11] = 0xFF;
  18935. }
  18936. // The 'post' table has glyphs names.
  18937. if (tables.post) {
  18938. var valid = readPostScriptTable(tables.post, properties, numGlyphs);
  18939. if (!valid) {
  18940. tables.post = null;
  18941. }
  18942. }
  18943. var glyphs, ids;
  18944. if (properties.type == 'CIDFontType2') {
  18945. // Replace the old CMAP table with a shiny new one
  18946. // Type2 composite fonts map characters directly to glyphs so the cmap
  18947. // table must be replaced.
  18948. // canvas fillText will reencode some characters even if the font has a
  18949. // glyph at that position - e.g. newline is converted to a space and
  18950. // U+00AD (soft hyphen) is not drawn.
  18951. // So, offset all the glyphs by 0xFF to avoid these cases and use
  18952. // the encoding to map incoming characters to the new glyph positions
  18953. if (!tables.cmap) {
  18954. tables.cmap = {
  18955. tag: 'cmap',
  18956. data: null
  18957. };
  18958. }
  18959. var cidToGidMap = properties.cidToGidMap || [];
  18960. var gidToCidMap = [0];
  18961. if (cidToGidMap.length > 0) {
  18962. for (var j = cidToGidMap.length - 1; j >= 0; j--) {
  18963. var gid = cidToGidMap[j];
  18964. if (gid)
  18965. gidToCidMap[gid] = j;
  18966. }
  18967. // filling the gaps using CID above the CIDs currently used in font
  18968. var nextCid = cidToGidMap.length;
  18969. for (var i = 1; i < numGlyphs; i++) {
  18970. if (!gidToCidMap[i])
  18971. gidToCidMap[i] = nextCid++;
  18972. }
  18973. } else {
  18974. for (var i = 1; i < numGlyphs; i++) {
  18975. gidToCidMap[i] = i;
  18976. }
  18977. if (dupFirstEntry) {
  18978. gidToCidMap[numGlyphs - 1] = 0;
  18979. }
  18980. }
  18981. glyphs = [];
  18982. ids = [];
  18983. var usedUnicodes = [];
  18984. var unassignedUnicodeItems = [];
  18985. var toFontChar = this.cidToFontChar || this.toFontChar;
  18986. for (var i = 1; i < numGlyphs; i++) {
  18987. var cid = gidToCidMap[i];
  18988. var unicode = toFontChar[cid];
  18989. if (!unicode || typeof unicode !== 'number' ||
  18990. isSpecialUnicode(unicode) || unicode in usedUnicodes) {
  18991. unassignedUnicodeItems.push(i);
  18992. continue;
  18993. }
  18994. usedUnicodes[unicode] = true;
  18995. glyphs.push({ unicode: unicode, code: cid });
  18996. ids.push(i);
  18997. }
  18998. // unassigned codepoints will never be used for non-Identity CMap
  18999. // because the input will be Unicode
  19000. if (!this.cidToFontChar) {
  19001. // trying to fit as many unassigned symbols as we can
  19002. // in the range allocated for the user defined symbols
  19003. var unusedUnicode = CMAP_GLYPH_OFFSET;
  19004. for (var j = 0, jj = unassignedUnicodeItems.length; j < jj; j++) {
  19005. var i = unassignedUnicodeItems[j];
  19006. var cid = gidToCidMap[i];
  19007. while (unusedUnicode in usedUnicodes)
  19008. unusedUnicode++;
  19009. if (unusedUnicode >= CMAP_GLYPH_OFFSET + GLYPH_AREA_SIZE)
  19010. break;
  19011. var unicode = unusedUnicode++;
  19012. this.toFontChar[cid] = unicode;
  19013. usedUnicodes[unicode] = true;
  19014. glyphs.push({ unicode: unicode, code: cid });
  19015. ids.push(i);
  19016. }
  19017. }
  19018. } else {
  19019. this.useToFontChar = true;
  19020. // Most of the following logic in this code branch is based on the
  19021. // 9.6.6.4 of the PDF spec.
  19022. // TODO(mack):
  19023. // We are using this.hasEncoding to mean that the encoding is either
  19024. // MacRomanEncoding or WinAnsiEncoding (following spec in 9.6.6.4),
  19025. // but this.hasEncoding is currently true for any encodings on the
  19026. // Encodings object (e.g. MacExpertEncoding). So should consider using
  19027. // better check for this.
  19028. var cmapTable = readCmapTable(tables.cmap, font, this.hasEncoding,
  19029. this.isSymbolicFont);
  19030. // TODO(mack): If the (3, 0) cmap table used, then the font is
  19031. // symbolic. The range of charcodes in the cmap table should be
  19032. // one of the following:
  19033. // -> 0x0000 - 0x00FF
  19034. // -> 0xF000 - 0xF0FF
  19035. // -> 0xF100 - 0xF1FF
  19036. // -> 0xF200 - 0xF2FF
  19037. // If it is not, we should change not consider this a symbolic font
  19038. this.isSymbolicFont = cmapTable.isSymbolicFont;
  19039. var cmapPlatformId = cmapTable.platformId;
  19040. var cmapEncodingId = cmapTable.encodingId;
  19041. var cmapMappings = cmapTable.mappings;
  19042. var cmapMappingsLength = cmapMappings.length;
  19043. var glyphs = [];
  19044. var ids = [];
  19045. for (var i = 0; i < cmapMappingsLength; ++i) {
  19046. var cmapMapping = cmapMappings[i];
  19047. var charcode = cmapMapping.charcode;
  19048. var unicode = cmapCharcodeToUnicode(charcode, this.isSymbolicFont,
  19049. cmapPlatformId, cmapEncodingId);
  19050. if (!unicode) {
  19051. // TODO(mack): gotta check if skipping mappings where we cannot find
  19052. // a unicode is the correct behaviour
  19053. continue;
  19054. }
  19055. glyphs.push({
  19056. code: charcode,
  19057. unicode: unicode
  19058. });
  19059. ids.push(cmapMapping.glyphId);
  19060. }
  19061. var hasShortCmap = cmapTable.hasShortCmap;
  19062. var toFontChar = this.toFontChar;
  19063. if (hasShortCmap && ids.length == numGlyphs) {
  19064. // Fixes the short cmap tables -- some generators use incorrect
  19065. // glyph id.
  19066. for (var i = 0, ii = ids.length; i < ii; i++) {
  19067. ids[i] = i;
  19068. }
  19069. }
  19070. // Rewrite the whole toFontChar dictionary with a new one using the
  19071. // information from the mappings in the cmap table.
  19072. var newToFontChar = [];
  19073. if (this.isSymbolicFont) {
  19074. for (var i = 0, ii = glyphs.length; i < ii; i++) {
  19075. var glyph = glyphs[i];
  19076. // For (3, 0) cmap tables:
  19077. // The charcode key being stored in toFontChar is the lower byte
  19078. // of the two-byte charcodes of the cmap table since according to
  19079. // the spec: 'each byte from the string shall be prepended with the
  19080. // high byte of the range [of charcodes in the cmap table], to form
  19081. // a two-byte character, which shall be used to select the
  19082. // associated glyph description from the subtable'.
  19083. //
  19084. // For (1, 0) cmap tables:
  19085. // 'single bytes from the string shall be used to look up the
  19086. // associated glyph descriptions from the subtable'. This means
  19087. // charcodes in the cmap will be single bytes, so no-op since
  19088. // glyph.code & 0xFF === glyph.code
  19089. newToFontChar[glyph.code & 0xFF] = glyph.unicode;
  19090. }
  19091. } else {
  19092. var encoding = properties.baseEncoding;
  19093. var differences = properties.differences;
  19094. // TODO(mack): check if it is necessary to shift control characters
  19095. // for non-symbolic fonts so that browsers dont't render them using
  19096. // space characters
  19097. var glyphCodeMapping = cmapTable.glyphCodeMapping;
  19098. for (var charcode = 0; charcode < encoding.length; ++charcode) {
  19099. if (!encoding.hasOwnProperty(charcode)) {
  19100. continue;
  19101. }
  19102. // Since the cmap table that we will be writing out is a (3, 1)
  19103. // unicode table, in this section we will rewrites the charcodes
  19104. // in the pdf into unicodes
  19105. var glyphName = encoding[charcode];
  19106. // A nonsymbolic font should not have a Differences array, but
  19107. // if it does have one, we should still use it
  19108. if (charcode in differences) {
  19109. glyphName = differences[charcode];
  19110. }
  19111. // Finally, any undefined entries in the table shall be filled
  19112. // using StandardEncoding
  19113. if (!glyphName) {
  19114. glyphName = Encodings.StandardEncoding[charcode];
  19115. }
  19116. // TODO(mack): Handle the case that the glyph name cannot be
  19117. // mapped as specified, in which case the glyph name shall be
  19118. // looked up in the font program's 'post' table (if one is
  19119. // present) and the associated glyph id shall be used.
  19120. //
  19121. // For now, we're just using the '.notdef' glyph name in this
  19122. // case.
  19123. glyphName = glyphName || '.notdef';
  19124. var unicode = GlyphsUnicode[glyphName];
  19125. newToFontChar[charcode] = unicode;
  19126. }
  19127. }
  19128. this.toFontChar = toFontChar = newToFontChar;
  19129. createGlyphNameMap(glyphs, ids, properties);
  19130. this.glyphNameMap = properties.glyphNameMap;
  19131. }
  19132. if (glyphs.length === 0) {
  19133. // defines at least one glyph
  19134. glyphs.push({ unicode: 0xF000, code: 0xF000, glyph: '.notdef' });
  19135. ids.push(0);
  19136. }
  19137. // Converting glyphs and ids into font's cmap table
  19138. tables.cmap.data = createCmapTable(glyphs, ids);
  19139. var unicodeIsEnabled = [];
  19140. for (var i = 0, ii = glyphs.length; i < ii; i++) {
  19141. unicodeIsEnabled[glyphs[i].unicode] = true;
  19142. }
  19143. this.unicodeIsEnabled = unicodeIsEnabled;
  19144. if (!tables['OS/2'] || !validateOS2Table(tables['OS/2'])) {
  19145. // extract some more font properties from the OpenType head and
  19146. // hhea tables; yMin and descent value are always negative
  19147. var override = {
  19148. unitsPerEm: int16([tables.head.data[18], tables.head.data[19]]),
  19149. yMax: int16([tables.head.data[42], tables.head.data[43]]),
  19150. yMin: int16([tables.head.data[38], tables.head.data[39]]) - 0x10000,
  19151. ascent: int16([tables.hhea.data[4], tables.hhea.data[5]]),
  19152. descent: int16([tables.hhea.data[6], tables.hhea.data[7]]) - 0x10000
  19153. };
  19154. tables['OS/2'] = {
  19155. tag: 'OS/2',
  19156. data: stringToArray(createOS2Table(properties, glyphs, override))
  19157. };
  19158. }
  19159. // Rewrite the 'post' table if needed
  19160. if (!tables.post) {
  19161. tables.post = {
  19162. tag: 'post',
  19163. data: stringToArray(createPostTable(properties))
  19164. };
  19165. }
  19166. if (!isTrueType) {
  19167. try {
  19168. // Trying to repair CFF file
  19169. var cffFile = new Stream(tables['CFF '].data);
  19170. var parser = new CFFParser(cffFile, properties);
  19171. var cff = parser.parse();
  19172. var compiler = new CFFCompiler(cff);
  19173. tables['CFF '].data = compiler.compile();
  19174. } catch (e) {
  19175. warn('Failed to compile font ' + properties.loadedName);
  19176. }
  19177. }
  19178. // Re-creating 'name' table
  19179. if (!tables.name) {
  19180. tables.name = {
  19181. tag: 'name',
  19182. data: stringToArray(createNameTable(this.name))
  19183. };
  19184. } else {
  19185. // ... using existing 'name' table as prototype
  19186. var namePrototype = readNameTable(tables.name);
  19187. tables.name.data = stringToArray(createNameTable(name, namePrototype));
  19188. }
  19189. // rewrite the tables but tweak offsets
  19190. for (var i = 0; i < numTables; i++) {
  19191. var table = tables[tablesNames[i]];
  19192. var data = [];
  19193. var tableData = table.data;
  19194. for (var j = 0, jj = tableData.length; j < jj; j++)
  19195. data.push(tableData[j]);
  19196. createTableEntry(ttf, table.tag, data);
  19197. }
  19198. // Add the table datas
  19199. for (var i = 0; i < numTables; i++) {
  19200. var table = tables[tablesNames[i]];
  19201. var tableData = table.data;
  19202. ttf.file += arrayToString(tableData);
  19203. // 4-byte aligned data
  19204. while (ttf.file.length & 3)
  19205. ttf.file += String.fromCharCode(0);
  19206. }
  19207. return stringToArray(ttf.file);
  19208. },
  19209. convert: function Font_convert(fontName, font, properties) {
  19210. function isFixedPitch(glyphs) {
  19211. for (var i = 0, ii = glyphs.length - 1; i < ii; i++) {
  19212. if (glyphs[i] != glyphs[i + 1])
  19213. return false;
  19214. }
  19215. return true;
  19216. }
  19217. // The offsets object holds at the same time a representation of where
  19218. // to write the table entry information about a table and another offset
  19219. // representing the offset where to draw the actual data of a particular
  19220. // table
  19221. var REQ_TABLES_CNT = 9;
  19222. var otf = {
  19223. file: '',
  19224. virtualOffset: 9 * (4 * 4)
  19225. };
  19226. createOpenTypeHeader('\x4F\x54\x54\x4F', otf, 9);
  19227. var charstrings = font.charstrings;
  19228. properties.fixedPitch = isFixedPitch(charstrings);
  19229. var glyphNameMap = {};
  19230. for (var i = 0; i < charstrings.length; ++i) {
  19231. var charstring = charstrings[i];
  19232. glyphNameMap[charstring.glyph] = charstring.unicode;
  19233. }
  19234. this.glyphNameMap = glyphNameMap;
  19235. var seacs = font.seacs;
  19236. if (SEAC_ANALYSIS_ENABLED && seacs) {
  19237. var seacMap = [];
  19238. var matrix = properties.fontMatrix || FONT_IDENTITY_MATRIX;
  19239. for (var i = 0; i < charstrings.length; ++i) {
  19240. var charstring = charstrings[i];
  19241. var seac = seacs[charstring.gid];
  19242. if (!seac) {
  19243. continue;
  19244. }
  19245. var baseGlyphName = Encodings.StandardEncoding[seac[2]];
  19246. var baseUnicode = glyphNameMap[baseGlyphName];
  19247. var accentGlyphName = Encodings.StandardEncoding[seac[3]];
  19248. var accentUnicode = glyphNameMap[accentGlyphName];
  19249. if (!baseUnicode || !accentUnicode) {
  19250. continue;
  19251. }
  19252. var accentOffset = {
  19253. x: seac[0] * matrix[0] + seac[1] * matrix[2] + matrix[4],
  19254. y: seac[0] * matrix[1] + seac[1] * matrix[3] + matrix[5]
  19255. };
  19256. seacMap[charstring.unicode] = {
  19257. baseUnicode: baseUnicode,
  19258. accentUnicode: accentUnicode,
  19259. accentOffset: accentOffset
  19260. };
  19261. }
  19262. properties.seacMap = seacMap;
  19263. }
  19264. if (properties.overridableEncoding && (properties.subtype == 'Type1C' ||
  19265. properties.subtype == 'CIDFontType0C')) {
  19266. var encoding = [];
  19267. for (var i = 0; i < charstrings.length; ++i) {
  19268. var charstring = charstrings[i];
  19269. encoding[charstring.code] = charstring.glyph;
  19270. }
  19271. properties.baseEncoding = encoding;
  19272. }
  19273. if (properties.subtype == 'CIDFontType0C') {
  19274. var toFontChar = [];
  19275. for (var i = 0; i < charstrings.length; ++i) {
  19276. var charstring = charstrings[i];
  19277. toFontChar[charstring.code] = charstring.unicode;
  19278. }
  19279. this.toFontChar = toFontChar;
  19280. }
  19281. var unitsPerEm = 1 / (properties.fontMatrix || FONT_IDENTITY_MATRIX)[0];
  19282. var fields = {
  19283. // PostScript Font Program
  19284. 'CFF ': font.data,
  19285. // OS/2 and Windows Specific metrics
  19286. 'OS/2': stringToArray(createOS2Table(properties, charstrings)),
  19287. // Character to glyphs mapping
  19288. 'cmap': createCmapTable(charstrings.slice(),
  19289. ('glyphIds' in font) ? font.glyphIds : null),
  19290. // Font header
  19291. 'head': (function fontFieldsHead() {
  19292. return stringToArray(
  19293. '\x00\x01\x00\x00' + // Version number
  19294. '\x00\x00\x10\x00' + // fontRevision
  19295. '\x00\x00\x00\x00' + // checksumAdjustement
  19296. '\x5F\x0F\x3C\xF5' + // magicNumber
  19297. '\x00\x00' + // Flags
  19298. safeString16(unitsPerEm) + // unitsPerEM
  19299. '\x00\x00\x00\x00\x9e\x0b\x7e\x27' + // creation date
  19300. '\x00\x00\x00\x00\x9e\x0b\x7e\x27' + // modifification date
  19301. '\x00\x00' + // xMin
  19302. safeString16(properties.descent) + // yMin
  19303. '\x0F\xFF' + // xMax
  19304. safeString16(properties.ascent) + // yMax
  19305. string16(properties.italicAngle ? 2 : 0) + // macStyle
  19306. '\x00\x11' + // lowestRecPPEM
  19307. '\x00\x00' + // fontDirectionHint
  19308. '\x00\x00' + // indexToLocFormat
  19309. '\x00\x00'); // glyphDataFormat
  19310. })(),
  19311. // Horizontal header
  19312. 'hhea': (function fontFieldsHhea() {
  19313. return stringToArray(
  19314. '\x00\x01\x00\x00' + // Version number
  19315. safeString16(properties.ascent) + // Typographic Ascent
  19316. safeString16(properties.descent) + // Typographic Descent
  19317. '\x00\x00' + // Line Gap
  19318. '\xFF\xFF' + // advanceWidthMax
  19319. '\x00\x00' + // minLeftSidebearing
  19320. '\x00\x00' + // minRightSidebearing
  19321. '\x00\x00' + // xMaxExtent
  19322. safeString16(properties.capHeight) + // caretSlopeRise
  19323. safeString16(Math.tan(properties.italicAngle) *
  19324. properties.xHeight) + // caretSlopeRun
  19325. '\x00\x00' + // caretOffset
  19326. '\x00\x00' + // -reserved-
  19327. '\x00\x00' + // -reserved-
  19328. '\x00\x00' + // -reserved-
  19329. '\x00\x00' + // -reserved-
  19330. '\x00\x00' + // metricDataFormat
  19331. string16(charstrings.length + 1)); // Number of HMetrics
  19332. })(),
  19333. // Horizontal metrics
  19334. 'hmtx': (function fontFieldsHmtx() {
  19335. var hmtx = '\x00\x00\x00\x00'; // Fake .notdef
  19336. for (var i = 0, ii = charstrings.length; i < ii; i++) {
  19337. var charstring = charstrings[i];
  19338. var width = 'width' in charstring ? charstring.width : 0;
  19339. hmtx += string16(width) + string16(0);
  19340. }
  19341. return stringToArray(hmtx);
  19342. })(),
  19343. // Maximum profile
  19344. 'maxp': (function fontFieldsMaxp() {
  19345. return stringToArray(
  19346. '\x00\x00\x50\x00' + // Version number
  19347. string16(charstrings.length + 1)); // Num of glyphs
  19348. })(),
  19349. // Naming tables
  19350. 'name': stringToArray(createNameTable(fontName)),
  19351. // PostScript informations
  19352. 'post': stringToArray(createPostTable(properties))
  19353. };
  19354. for (var field in fields)
  19355. createTableEntry(otf, field, fields[field]);
  19356. for (var field in fields) {
  19357. var table = fields[field];
  19358. otf.file += arrayToString(table);
  19359. }
  19360. return stringToArray(otf.file);
  19361. },
  19362. buildToFontChar: function Font_buildToFontChar(toUnicode) {
  19363. var result = [];
  19364. var unusedUnicode = CMAP_GLYPH_OFFSET;
  19365. for (var i = 0, ii = toUnicode.length; i < ii; i++) {
  19366. var unicode = toUnicode[i];
  19367. var fontCharCode = typeof unicode === 'object' ? unusedUnicode++ :
  19368. unicode;
  19369. if (typeof unicode !== 'undefined') {
  19370. if (isString(fontCharCode) && fontCharCode.length === 1) {
  19371. fontCharCode = fontCharCode.charCodeAt(0);
  19372. }
  19373. result[i] = fontCharCode;
  19374. }
  19375. }
  19376. return result;
  19377. },
  19378. rebuildToUnicode: function Font_rebuildToUnicode(properties) {
  19379. var firstChar = properties.firstChar, lastChar = properties.lastChar;
  19380. var map = [];
  19381. var toUnicode = this.toUnicode || this.cidToUnicode;
  19382. if (toUnicode) {
  19383. var isIdentityMap = toUnicode.length === 0;
  19384. for (var i = firstChar, ii = lastChar; i <= ii; i++) {
  19385. // TODO missing map the character according font's CMap
  19386. map[i] = isIdentityMap ? String.fromCharCode(i) : toUnicode[i];
  19387. }
  19388. } else {
  19389. for (var i = firstChar, ii = lastChar; i <= ii; i++) {
  19390. var glyph = properties.differences[i];
  19391. if (!glyph)
  19392. glyph = properties.baseEncoding[i];
  19393. if (!!glyph && (glyph in GlyphsUnicode))
  19394. map[i] = String.fromCharCode(GlyphsUnicode[glyph]);
  19395. }
  19396. }
  19397. this.toUnicode = map;
  19398. },
  19399. loadCidToUnicode: function Font_loadCidToUnicode(properties) {
  19400. if (!properties.cidSystemInfo)
  19401. return;
  19402. var cidToUnicodeMap = [], unicodeToCIDMap = [];
  19403. this.cidToUnicode = cidToUnicodeMap;
  19404. this.unicodeToCID = unicodeToCIDMap;
  19405. var cidEncoding = properties.cidEncoding;
  19406. if (properties.toUnicode) {
  19407. if (cidEncoding && cidEncoding.indexOf('Identity-') !== 0) {
  19408. warn('Need to create a reverse mapping from \'ToUnicode\' CMap');
  19409. }
  19410. return; // 'ToUnicode' CMap will be used
  19411. }
  19412. var cidSystemInfo = properties.cidSystemInfo;
  19413. var cidToUnicode;
  19414. if (cidSystemInfo) {
  19415. cidToUnicode = CIDToUnicodeMaps[
  19416. cidSystemInfo.registry + '-' + cidSystemInfo.ordering];
  19417. }
  19418. if (!cidToUnicode)
  19419. return; // identity encoding
  19420. var overwrite = HalfwidthCMaps[cidEncoding];
  19421. var cid = 1, i, j, k, ii;
  19422. for (i = 0, ii = cidToUnicode.length; i < ii; ++i) {
  19423. var unicode = cidToUnicode[i];
  19424. if (isArray(unicode)) {
  19425. var length = unicode.length;
  19426. for (j = 0; j < length; j++) {
  19427. cidToUnicodeMap[cid] = k = unicode[j];
  19428. if (!unicodeToCIDMap[k] || overwrite) {
  19429. unicodeToCIDMap[k] = cid;
  19430. }
  19431. }
  19432. cid++;
  19433. } else if (typeof unicode === 'object') {
  19434. var fillLength = unicode.f;
  19435. if (fillLength) {
  19436. k = unicode.c;
  19437. for (j = 0; j < fillLength; ++j) {
  19438. cidToUnicodeMap[cid] = k;
  19439. if (!unicodeToCIDMap[k] || overwrite) {
  19440. unicodeToCIDMap[k] = cid;
  19441. }
  19442. cid++;
  19443. k++;
  19444. }
  19445. } else
  19446. cid += unicode.s;
  19447. } else if (unicode) {
  19448. cidToUnicodeMap[cid] = unicode;
  19449. if (!unicodeToCIDMap[unicode] || overwrite) {
  19450. unicodeToCIDMap[unicode] = cid;
  19451. }
  19452. cid++;
  19453. } else
  19454. cid++;
  19455. }
  19456. if (!cidEncoding) {
  19457. return;
  19458. }
  19459. if (cidEncoding.indexOf('Identity-') !== 0) {
  19460. // input is already Unicode for non-Identity CMap encodings.
  19461. this.cidToUnicode = [];
  19462. // For CIDFontType2, however, we need cid-to-Unicode conversion
  19463. // to rebuild cmap.
  19464. if (properties.type == 'CIDFontType2') {
  19465. this.cidToFontChar = cidToUnicodeMap;
  19466. }
  19467. } else {
  19468. // We don't have to do reverse conversions if the string is
  19469. // already CID.
  19470. this.unicodeToCID = [];
  19471. }
  19472. },
  19473. get spaceWidth() {
  19474. if ('_shadowWidth' in this) {
  19475. return this._shadowWidth;
  19476. }
  19477. // trying to estimate space character width
  19478. var possibleSpaceReplacements = ['space', 'minus', 'one', 'i'];
  19479. var width;
  19480. for (var i = 0, ii = possibleSpaceReplacements.length; i < ii; i++) {
  19481. var glyphName = possibleSpaceReplacements[i];
  19482. // if possible, getting width by glyph name
  19483. if (glyphName in this.widths) {
  19484. width = this.widths[glyphName];
  19485. break;
  19486. }
  19487. var glyphUnicode = GlyphsUnicode[glyphName];
  19488. // finding the charcode via unicodeToCID map
  19489. var charcode = 0;
  19490. if (this.composite)
  19491. charcode = this.unicodeToCID[glyphUnicode];
  19492. // ... via toUnicode map
  19493. if (!charcode && 'toUnicode' in this)
  19494. charcode = this.toUnicode.indexOf(glyphUnicode);
  19495. // setting it to unicode if negative or undefined
  19496. if (charcode <= 0)
  19497. charcode = glyphUnicode;
  19498. // trying to get width via charcode
  19499. width = this.widths[charcode];
  19500. if (width)
  19501. break; // the non-zero width found
  19502. }
  19503. width = width || this.defaultWidth;
  19504. // Do not shadow the property here. See discussion:
  19505. // https://github.com/mozilla/pdf.js/pull/2127#discussion_r1662280
  19506. this._shadowWidth = width;
  19507. return width;
  19508. },
  19509. charToGlyph: function Font_charToGlyph(charcode) {
  19510. var fontCharCode, width, operatorList, disabled;
  19511. var width = this.widths[charcode];
  19512. var vmetric = this.vmetrics && this.vmetrics[charcode];
  19513. switch (this.type) {
  19514. case 'CIDFontType0':
  19515. var cid = this.unicodeToCID[charcode] || charcode;
  19516. if (this.unicodeToCID.length > 0) {
  19517. width = this.widths[cid];
  19518. vmetric = this.vmetrics && this.vmetrics[cid];
  19519. }
  19520. if (this.noUnicodeAdaptation) {
  19521. fontCharCode = this.toFontChar[charcode] || charcode;
  19522. break;
  19523. }
  19524. // CIDFontType0 is not encoded in Unicode.
  19525. fontCharCode = this.toFontChar[cid] || cid;
  19526. break;
  19527. case 'CIDFontType2':
  19528. if (this.unicodeToCID.length > 0) {
  19529. var cid = this.unicodeToCID[charcode] || charcode;
  19530. width = this.widths[cid];
  19531. vmetric = this.vmetrics && this.vmetrics[cid];
  19532. fontCharCode = charcode;
  19533. break;
  19534. }
  19535. fontCharCode = this.toFontChar[charcode] || charcode;
  19536. break;
  19537. case 'MMType1': // XXX at the moment only "standard" fonts are supported
  19538. case 'Type1':
  19539. var glyphName = this.differences[charcode] || this.encoding[charcode];
  19540. if (!isNum(width))
  19541. width = this.widths[glyphName];
  19542. if (this.noUnicodeAdaptation) {
  19543. fontCharCode = mapPrivateUseChars(GlyphsUnicode[glyphName] ||
  19544. charcode);
  19545. break;
  19546. }
  19547. fontCharCode = this.glyphNameMap[glyphName] ||
  19548. GlyphsUnicode[glyphName] || charcode;
  19549. break;
  19550. case 'Type3':
  19551. var glyphName = this.differences[charcode] || this.encoding[charcode];
  19552. operatorList = this.charProcOperatorList[glyphName];
  19553. fontCharCode = charcode;
  19554. break;
  19555. case 'TrueType':
  19556. if (this.useToFontChar) {
  19557. fontCharCode = this.toFontChar[charcode] || charcode;
  19558. break;
  19559. }
  19560. var glyphName = this.differences[charcode] || this.encoding[charcode];
  19561. if (!glyphName)
  19562. glyphName = Encodings.StandardEncoding[charcode];
  19563. if (!isNum(width))
  19564. width = this.widths[glyphName];
  19565. if (this.noUnicodeAdaptation) {
  19566. fontCharCode = GlyphsUnicode[glyphName] || charcode;
  19567. break;
  19568. }
  19569. if (!this.hasEncoding || this.isSymbolicFont) {
  19570. fontCharCode = this.useToFontChar ? this.toFontChar[charcode] :
  19571. charcode;
  19572. break;
  19573. }
  19574. // MacRoman encoding address by re-encoding the cmap table
  19575. fontCharCode = glyphName in this.glyphNameMap ?
  19576. this.glyphNameMap[glyphName] : GlyphsUnicode[glyphName];
  19577. break;
  19578. default:
  19579. warn('Unsupported font type: ' + this.type);
  19580. break;
  19581. }
  19582. var unicodeChars = !('toUnicode' in this) ? charcode :
  19583. this.toUnicode[charcode] || charcode;
  19584. if (typeof unicodeChars === 'number') {
  19585. unicodeChars = String.fromCharCode(unicodeChars);
  19586. }
  19587. width = isNum(width) ? width : this.defaultWidth;
  19588. disabled = this.unicodeIsEnabled ?
  19589. !this.unicodeIsEnabled[fontCharCode] : false;
  19590. var accent = null;
  19591. if (this.seacMap && this.seacMap[fontCharCode]) {
  19592. var seac = this.seacMap[fontCharCode];
  19593. fontCharCode = seac.baseUnicode;
  19594. accent = {
  19595. fontChar: String.fromCharCode(seac.accentUnicode),
  19596. offset: seac.accentOffset
  19597. };
  19598. }
  19599. return {
  19600. fontChar: String.fromCharCode(fontCharCode),
  19601. unicode: unicodeChars,
  19602. accent: accent,
  19603. width: width,
  19604. vmetric: vmetric,
  19605. disabled: disabled,
  19606. operatorList: operatorList
  19607. };
  19608. },
  19609. charsToGlyphs: function Font_charsToGlyphs(chars) {
  19610. var charsCache = this.charsCache;
  19611. var glyphs;
  19612. // if we translated this string before, just grab it from the cache
  19613. if (charsCache) {
  19614. glyphs = charsCache[chars];
  19615. if (glyphs)
  19616. return glyphs;
  19617. }
  19618. // lazily create the translation cache
  19619. if (!charsCache)
  19620. charsCache = this.charsCache = Object.create(null);
  19621. glyphs = [];
  19622. var charsCacheKey = chars;
  19623. var converter;
  19624. var cidEncoding = this.cidEncoding;
  19625. if (cidEncoding) {
  19626. converter = CMapConverterList[cidEncoding];
  19627. if (converter) {
  19628. chars = converter(chars);
  19629. } else if (cidEncoding.indexOf('Uni') !== 0 &&
  19630. cidEncoding.indexOf('Identity-') !== 0) {
  19631. warn('Unsupported CMap: ' + cidEncoding);
  19632. }
  19633. }
  19634. if (!converter && this.cmap) {
  19635. var i = 0;
  19636. // composite fonts have multi-byte strings convert the string from
  19637. // single-byte to multi-byte
  19638. while (i < chars.length) {
  19639. var c = this.cmap.readCharCode(chars, i);
  19640. var charcode = c[0];
  19641. var length = c[1];
  19642. i += length;
  19643. var glyph = this.charToGlyph(charcode);
  19644. glyphs.push(glyph);
  19645. // placing null after each word break charcode (ASCII SPACE)
  19646. // Ignore occurences of 0x20 in multiple-byte codes.
  19647. if (length === 1 && chars.charCodeAt(i - 1) === 0x20) {
  19648. glyphs.push(null);
  19649. }
  19650. }
  19651. }
  19652. else {
  19653. for (var i = 0, ii = chars.length; i < ii; ++i) {
  19654. var charcode = chars.charCodeAt(i);
  19655. var glyph = this.charToGlyph(charcode);
  19656. glyphs.push(glyph);
  19657. if (charcode == 0x20)
  19658. glyphs.push(null);
  19659. }
  19660. }
  19661. // Enter the translated string into the cache
  19662. return (charsCache[charsCacheKey] = glyphs);
  19663. }
  19664. };
  19665. return Font;
  19666. })();
  19667. var ErrorFont = (function ErrorFontClosure() {
  19668. function ErrorFont(error) {
  19669. this.error = error;
  19670. }
  19671. ErrorFont.prototype = {
  19672. charsToGlyphs: function ErrorFont_charsToGlyphs() {
  19673. return [];
  19674. },
  19675. exportData: function ErrorFont_exportData() {
  19676. return {error: this.error};
  19677. }
  19678. };
  19679. return ErrorFont;
  19680. })();
  19681. /*
  19682. * CharStrings are encoded following the the CharString Encoding sequence
  19683. * describe in Chapter 6 of the "Adobe Type1 Font Format" specification.
  19684. * The value in a byte indicates a command, a number, or subsequent bytes
  19685. * that are to be interpreted in a special way.
  19686. *
  19687. * CharString Number Encoding:
  19688. * A CharString byte containing the values from 32 through 255 inclusive
  19689. * indicate an integer. These values are decoded in four ranges.
  19690. *
  19691. * 1. A CharString byte containing a value, v, between 32 and 246 inclusive,
  19692. * indicate the integer v - 139. Thus, the integer values from -107 through
  19693. * 107 inclusive may be encoded in single byte.
  19694. *
  19695. * 2. A CharString byte containing a value, v, between 247 and 250 inclusive,
  19696. * indicates an integer involving the next byte, w, according to the formula:
  19697. * [(v - 247) x 256] + w + 108
  19698. *
  19699. * 3. A CharString byte containing a value, v, between 251 and 254 inclusive,
  19700. * indicates an integer involving the next byte, w, according to the formula:
  19701. * -[(v - 251) * 256] - w - 108
  19702. *
  19703. * 4. A CharString containing the value 255 indicates that the next 4 bytes
  19704. * are a two complement signed integer. The first of these bytes contains the
  19705. * highest order bits, the second byte contains the next higher order bits
  19706. * and the fourth byte contain the lowest order bits.
  19707. *
  19708. *
  19709. * CharString Command Encoding:
  19710. * CharStrings commands are encoded in 1 or 2 bytes.
  19711. *
  19712. * Single byte commands are encoded in 1 byte that contains a value between
  19713. * 0 and 31 inclusive.
  19714. * If a command byte contains the value 12, then the value in the next byte
  19715. * indicates a command. This "escape" mechanism allows many extra commands
  19716. * to be encoded and this encoding technique helps to minimize the length of
  19717. * the charStrings.
  19718. */
  19719. var Type1CharString = (function Type1CharStringClosure() {
  19720. var COMMAND_MAP = {
  19721. 'hstem': [1],
  19722. 'vstem': [3],
  19723. 'vmoveto': [4],
  19724. 'rlineto': [5],
  19725. 'hlineto': [6],
  19726. 'vlineto': [7],
  19727. 'rrcurveto': [8],
  19728. 'callsubr': [10],
  19729. 'flex': [12, 35],
  19730. 'drop' : [12, 18],
  19731. 'endchar': [14],
  19732. 'rmoveto': [21],
  19733. 'hmoveto': [22],
  19734. 'vhcurveto': [30],
  19735. 'hvcurveto': [31]
  19736. };
  19737. function Type1CharString() {
  19738. this.width = 0;
  19739. this.lsb = 0;
  19740. this.flexing = false;
  19741. this.output = [];
  19742. this.stack = [];
  19743. }
  19744. Type1CharString.prototype = {
  19745. convert: function Type1CharString_convert(encoded, subrs) {
  19746. var count = encoded.length;
  19747. var error = false;
  19748. for (var i = 0; i < count; i++) {
  19749. var value = encoded[i];
  19750. if (value < 32) {
  19751. if (value === 12) {
  19752. value = (value << 8) + encoded[++i];
  19753. }
  19754. switch (value) {
  19755. case 1: // hstem
  19756. if (!HINTING_ENABLED) {
  19757. this.stack = [];
  19758. break;
  19759. }
  19760. error = this.executeCommand(2, COMMAND_MAP.hstem);
  19761. break;
  19762. case 3: // vstem
  19763. if (!HINTING_ENABLED) {
  19764. this.stack = [];
  19765. break;
  19766. }
  19767. error = this.executeCommand(2, COMMAND_MAP.vstem);
  19768. break;
  19769. case 4: // vmoveto
  19770. if (this.flexing) {
  19771. if (this.stack.length < 1) {
  19772. error = true;
  19773. break;
  19774. }
  19775. // Add the dx for flex and but also swap the values so they are
  19776. // the right order.
  19777. var dy = this.stack.pop();
  19778. this.stack.push(0, dy);
  19779. break;
  19780. }
  19781. error = this.executeCommand(1, COMMAND_MAP.vmoveto);
  19782. break;
  19783. case 5: // rlineto
  19784. error = this.executeCommand(2, COMMAND_MAP.rlineto);
  19785. break;
  19786. case 6: // hlineto
  19787. error = this.executeCommand(1, COMMAND_MAP.hlineto);
  19788. break;
  19789. case 7: // vlineto
  19790. error = this.executeCommand(1, COMMAND_MAP.vlineto);
  19791. break;
  19792. case 8: // rrcurveto
  19793. error = this.executeCommand(6, COMMAND_MAP.rrcurveto);
  19794. break;
  19795. case 9: // closepath
  19796. // closepath is a Type1 command that does not take argument and is
  19797. // useless in Type2 and it can simply be ignored.
  19798. this.stack = [];
  19799. break;
  19800. case 10: // callsubr
  19801. if (this.stack.length < 1) {
  19802. error = true;
  19803. break;
  19804. }
  19805. var subrNumber = this.stack.pop();
  19806. error = this.convert(subrs[subrNumber], subrs);
  19807. break;
  19808. case 11: // return
  19809. return error;
  19810. case 13: // hsbw
  19811. if (this.stack.length < 2) {
  19812. error = true;
  19813. break;
  19814. }
  19815. // To convert to type2 we have to move the width value to the
  19816. // first part of the charstring and then use hmoveto with lsb.
  19817. var wx = this.stack.pop();
  19818. var sbx = this.stack.pop();
  19819. this.lsb = sbx;
  19820. this.width = wx;
  19821. this.stack.push(sbx);
  19822. error = this.executeCommand(1, COMMAND_MAP.hmoveto);
  19823. break;
  19824. case 14: // endchar
  19825. this.output.push(COMMAND_MAP.endchar[0]);
  19826. break;
  19827. case 21: // rmoveto
  19828. if (this.flexing) {
  19829. break;
  19830. }
  19831. error = this.executeCommand(2, COMMAND_MAP.rmoveto);
  19832. break;
  19833. case 22: // hmoveto
  19834. if (this.flexing) {
  19835. // Add the dy for flex.
  19836. this.stack.push(0);
  19837. break;
  19838. }
  19839. error = this.executeCommand(1, COMMAND_MAP.hmoveto);
  19840. break;
  19841. case 30: // vhcurveto
  19842. error = this.executeCommand(4, COMMAND_MAP.vhcurveto);
  19843. break;
  19844. case 31: // hvcurveto
  19845. error = this.executeCommand(4, COMMAND_MAP.hvcurveto);
  19846. break;
  19847. case (12 << 8) + 0: // dotsection
  19848. // dotsection is a Type1 command to specify some hinting feature
  19849. // for dots that do not take a parameter and it can safely be
  19850. // ignored for Type2.
  19851. this.stack = [];
  19852. break;
  19853. case (12 << 8) + 1: // vstem3
  19854. if (!HINTING_ENABLED) {
  19855. this.stack = [];
  19856. break;
  19857. }
  19858. // [vh]stem3 are Type1 only and Type2 supports [vh]stem with
  19859. // multiple parameters, so instead of returning [vh]stem3 take a
  19860. // shortcut and return [vhstem] instead.
  19861. error = this.executeCommand(2, COMMAND_MAP.vstem);
  19862. break;
  19863. case (12 << 8) + 2: // hstem3
  19864. if (!HINTING_ENABLED) {
  19865. this.stack = [];
  19866. break;
  19867. }
  19868. // See vstem3.
  19869. error = this.executeCommand(2, COMMAND_MAP.hstem);
  19870. break;
  19871. case (12 << 8) + 6: // seac
  19872. // seac is like type 2's special endchar but it doesn't use the
  19873. // first argument asb, so remove it.
  19874. if (SEAC_ANALYSIS_ENABLED) {
  19875. this.seac = this.stack.splice(-4, 4);
  19876. error = this.executeCommand(0, COMMAND_MAP.endchar);
  19877. } else {
  19878. error = this.executeCommand(4, COMMAND_MAP.endchar);
  19879. }
  19880. break;
  19881. case (12 << 8) + 7: // sbw
  19882. if (this.stack.length < 4) {
  19883. error = true;
  19884. break;
  19885. }
  19886. // To convert to type2 we have to move the width value to the
  19887. // first part of the charstring and then use rmoveto with
  19888. // (dx, dy). The height argument will not be used for vmtx and
  19889. // vhea tables reconstruction -- ignoring it.
  19890. var wy = this.stack.pop();
  19891. var wx = this.stack.pop();
  19892. var sby = this.stack.pop();
  19893. var sbx = this.stack.pop();
  19894. this.lsb = sbx;
  19895. this.width = wx;
  19896. this.stack.push(sbx, sby);
  19897. error = this.executeCommand(2, COMMAND_MAP.rmoveto);
  19898. break;
  19899. case (12 << 8) + 12: // div
  19900. if (this.stack.length < 2) {
  19901. error = true;
  19902. break;
  19903. }
  19904. var num2 = this.stack.pop();
  19905. var num1 = this.stack.pop();
  19906. this.stack.push(num1 / num2);
  19907. break;
  19908. case (12 << 8) + 16: // callothersubr
  19909. if (this.stack.length < 2) {
  19910. error = true;
  19911. break;
  19912. }
  19913. var subrNumber = this.stack.pop();
  19914. var numArgs = this.stack.pop();
  19915. if (subrNumber === 0 && numArgs === 3) {
  19916. var flexArgs = this.stack.splice(this.stack.length - 17, 17);
  19917. this.stack.push(
  19918. flexArgs[2] + flexArgs[0], // bcp1x + rpx
  19919. flexArgs[3] + flexArgs[1], // bcp1y + rpy
  19920. flexArgs[4], // bcp2x
  19921. flexArgs[5], // bcp2y
  19922. flexArgs[6], // p2x
  19923. flexArgs[7], // p2y
  19924. flexArgs[8], // bcp3x
  19925. flexArgs[9], // bcp3y
  19926. flexArgs[10], // bcp4x
  19927. flexArgs[11], // bcp4y
  19928. flexArgs[12], // p3x
  19929. flexArgs[13], // p3y
  19930. flexArgs[14] // flexDepth
  19931. // 15 = finalx unused by flex
  19932. // 16 = finaly unused by flex
  19933. );
  19934. error = this.executeCommand(13, COMMAND_MAP.flex, true);
  19935. this.flexing = false;
  19936. this.stack.push(flexArgs[15], flexArgs[16]);
  19937. } else if (subrNumber === 1 && numArgs === 0) {
  19938. this.flexing = true;
  19939. }
  19940. break;
  19941. case (12 << 8) + 17: // pop
  19942. // Ignore this since it is only used with othersubr.
  19943. break;
  19944. case (12 << 8) + 33: // setcurrentpoint
  19945. // Ignore for now.
  19946. this.stack = [];
  19947. break;
  19948. default:
  19949. warn('Unknown type 1 charstring command of "' + value + '"');
  19950. break;
  19951. }
  19952. if (error) {
  19953. break;
  19954. }
  19955. continue;
  19956. } else if (value <= 246) {
  19957. value = value - 139;
  19958. } else if (value <= 250) {
  19959. value = ((value - 247) * 256) + encoded[++i] + 108;
  19960. } else if (value <= 254) {
  19961. value = -((value - 251) * 256) - encoded[++i] - 108;
  19962. } else {
  19963. value = (encoded[++i] & 0xff) << 24 | (encoded[++i] & 0xff) << 16 |
  19964. (encoded[++i] & 0xff) << 8 | (encoded[++i] & 0xff) << 0;
  19965. }
  19966. this.stack.push(value);
  19967. }
  19968. return error;
  19969. },
  19970. executeCommand: function(howManyArgs, command, keepStack) {
  19971. var stackLength = this.stack.length;
  19972. if (howManyArgs > stackLength) {
  19973. return true;
  19974. }
  19975. var start = stackLength - howManyArgs;
  19976. for (var i = start; i < stackLength; i++) {
  19977. var value = this.stack[i];
  19978. if (value === (value | 0)) { // int
  19979. this.output.push(28, (value >> 8) & 0xff, value & 0xff);
  19980. } else { // fixed point
  19981. value = (65536 * value) | 0;
  19982. this.output.push(255,
  19983. (value >> 24) & 0xFF,
  19984. (value >> 16) & 0xFF,
  19985. (value >> 8) & 0xFF,
  19986. value & 0xFF);
  19987. }
  19988. }
  19989. this.output.push.apply(this.output, command);
  19990. if (keepStack) {
  19991. this.stack.splice(start, howManyArgs);
  19992. } else {
  19993. this.stack = [];
  19994. }
  19995. return false;
  19996. }
  19997. };
  19998. return Type1CharString;
  19999. })();
  20000. /*
  20001. * Type1Parser encapsulate the needed code for parsing a Type1 font
  20002. * program. Some of its logic depends on the Type2 charstrings
  20003. * structure.
  20004. * Note: this doesn't really parse the font since that would require evaluation
  20005. * of PostScript, but it is possible in most cases to extract what we need
  20006. * without a full parse.
  20007. */
  20008. var Type1Parser = (function Type1ParserClosure() {
  20009. /*
  20010. * Decrypt a Sequence of Ciphertext Bytes to Produce the Original Sequence
  20011. * of Plaintext Bytes. The function took a key as a parameter which can be
  20012. * for decrypting the eexec block of for decoding charStrings.
  20013. */
  20014. var EEXEC_ENCRYPT_KEY = 55665;
  20015. var CHAR_STRS_ENCRYPT_KEY = 4330;
  20016. function decrypt(stream, key, discardNumber) {
  20017. var r = key, c1 = 52845, c2 = 22719;
  20018. var decryptedString = [];
  20019. var value = '';
  20020. var count = stream.length;
  20021. for (var i = 0; i < count; i++) {
  20022. value = stream[i];
  20023. decryptedString[i] = value ^ (r >> 8);
  20024. r = ((value + r) * c1 + c2) & ((1 << 16) - 1);
  20025. }
  20026. return decryptedString.slice(discardNumber);
  20027. }
  20028. function isSpecial(c) {
  20029. return c === 0x2F || // '/'
  20030. c === 0x5B || c === 0x5D || // '[', ']'
  20031. c === 0x7B || c === 0x7D || // '{', '}'
  20032. c === 0x28 || c === 0x29; // '(', ')'
  20033. }
  20034. function Type1Parser(stream, encrypted) {
  20035. if (encrypted) {
  20036. stream = new Stream(decrypt(stream.getBytes(), EEXEC_ENCRYPT_KEY, 4));
  20037. }
  20038. this.stream = stream;
  20039. this.nextChar();
  20040. }
  20041. Type1Parser.prototype = {
  20042. readNumberArray: function Type1Parser_readNumberArray() {
  20043. this.getToken(); // read '[' or '{' (arrays can start with either)
  20044. var array = [];
  20045. while (true) {
  20046. var token = this.getToken();
  20047. if (token === null || token === ']' || token === '}') {
  20048. break;
  20049. }
  20050. array.push(parseFloat(token || 0));
  20051. }
  20052. return array;
  20053. },
  20054. readNumber: function Type1Parser_readNumber() {
  20055. var token = this.getToken();
  20056. return parseFloat(token || 0);
  20057. },
  20058. readInt: function Type1Parser_readInt() {
  20059. // Use '| 0' to prevent setting a double into length such as the double
  20060. // does not flow into the loop variable.
  20061. var token = this.getToken();
  20062. return parseInt(token || 0, 10) | 0;
  20063. },
  20064. readBoolean: function Type1Parser_readBoolean() {
  20065. var token = this.getToken();
  20066. // Use 1 and 0 since that's what type2 charstrings use.
  20067. return token === 'true' ? 1 : 0;
  20068. },
  20069. nextChar : function Type1_nextChar() {
  20070. return (this.currentChar = this.stream.getByte());
  20071. },
  20072. getToken: function Type1Parser_getToken() {
  20073. // Eat whitespace and comments.
  20074. var comment = false;
  20075. var ch = this.currentChar;
  20076. while (true) {
  20077. if (ch === -1) {
  20078. return null;
  20079. }
  20080. if (comment) {
  20081. if (ch === 0x0A || ch === 0x0D) {
  20082. comment = false;
  20083. }
  20084. } else if (ch === 0x25) { // '%'
  20085. comment = true;
  20086. } else if (!Lexer.isSpace(ch)) {
  20087. break;
  20088. }
  20089. ch = this.nextChar();
  20090. }
  20091. if (isSpecial(ch)) {
  20092. this.nextChar();
  20093. return String.fromCharCode(ch);
  20094. }
  20095. var token = '';
  20096. do {
  20097. token += String.fromCharCode(ch);
  20098. ch = this.nextChar();
  20099. } while (ch >= 0 && !Lexer.isSpace(ch) && !isSpecial(ch));
  20100. return token;
  20101. },
  20102. /*
  20103. * Returns an object containing a Subrs array and a CharStrings
  20104. * array extracted from and eexec encrypted block of data
  20105. */
  20106. extractFontProgram: function Type1Parser_extractFontProgram() {
  20107. var stream = this.stream;
  20108. var subrs = [], charstrings = [];
  20109. var program = {
  20110. subrs: [],
  20111. charstrings: [],
  20112. properties: {
  20113. 'privateData': {
  20114. 'lenIV': 4
  20115. }
  20116. }
  20117. };
  20118. var token;
  20119. while ((token = this.getToken()) !== null) {
  20120. if (token !== '/') {
  20121. continue;
  20122. }
  20123. token = this.getToken();
  20124. switch (token) {
  20125. case 'CharStrings':
  20126. // The number immediately following CharStrings must be greater or
  20127. // equal to the number of CharStrings.
  20128. this.getToken();
  20129. this.getToken(); // read in 'dict'
  20130. this.getToken(); // read in 'dup'
  20131. this.getToken(); // read in 'begin'
  20132. while(true) {
  20133. token = this.getToken();
  20134. if (token === null || token === 'end') {
  20135. break;
  20136. }
  20137. if (token !== '/') {
  20138. continue;
  20139. }
  20140. var glyph = this.getToken();
  20141. var length = this.readInt();
  20142. this.getToken(); // read in 'RD' or '-|'
  20143. var data = stream.makeSubStream(stream.pos, length);
  20144. var lenIV = program.properties.privateData['lenIV'];
  20145. var encoded = decrypt(data.getBytes(), CHAR_STRS_ENCRYPT_KEY,
  20146. lenIV);
  20147. // Skip past the required space and binary data.
  20148. stream.skip(length);
  20149. this.nextChar();
  20150. token = this.getToken(); // read in 'ND' or '|-'
  20151. if (token === 'noaccess') {
  20152. this.getToken(); // read in 'def'
  20153. }
  20154. charstrings.push({
  20155. glyph: glyph,
  20156. encoded: encoded
  20157. });
  20158. }
  20159. break;
  20160. case 'Subrs':
  20161. var num = this.readInt();
  20162. this.getToken(); // read in 'array'
  20163. while ((token = this.getToken()) === 'dup') {
  20164. var index = this.readInt();
  20165. var length = this.readInt();
  20166. this.getToken(); // read in 'RD' or '-|'
  20167. var data = stream.makeSubStream(stream.pos, length);
  20168. var lenIV = program.properties.privateData['lenIV'];
  20169. var encoded = decrypt(data.getBytes(), CHAR_STRS_ENCRYPT_KEY,
  20170. lenIV);
  20171. // Skip past the required space and binary data.
  20172. stream.skip(length);
  20173. this.nextChar();
  20174. token = this.getToken(); // read in 'NP' or '|'
  20175. if (token === 'noaccess') {
  20176. this.getToken(); // read in 'put'
  20177. }
  20178. subrs[index] = encoded;
  20179. }
  20180. break;
  20181. case 'BlueValues':
  20182. case 'OtherBlues':
  20183. case 'FamilyBlues':
  20184. case 'FamilyOtherBlues':
  20185. var blueArray = this.readNumberArray();
  20186. // *Blue* values may contain invalid data: disables reading of
  20187. // those values when hinting is disabled.
  20188. if (blueArray.length > 0 && (blueArray.length % 2) === 0 &&
  20189. HINTING_ENABLED) {
  20190. program.properties.privateData[token] = blueArray;
  20191. }
  20192. break;
  20193. case 'StemSnapH':
  20194. case 'StemSnapV':
  20195. program.properties.privateData[token] = this.readNumberArray();
  20196. break;
  20197. case 'StdHW':
  20198. case 'StdVW':
  20199. program.properties.privateData[token] =
  20200. this.readNumberArray()[0];
  20201. break;
  20202. case 'BlueShift':
  20203. case 'lenIV':
  20204. case 'BlueFuzz':
  20205. case 'BlueScale':
  20206. case 'LanguageGroup':
  20207. case 'ExpansionFactor':
  20208. program.properties.privateData[token] = this.readNumber();
  20209. break;
  20210. case 'ForceBold':
  20211. program.properties.privateData[token] = this.readBoolean();
  20212. break;
  20213. }
  20214. }
  20215. for (var i = 0; i < charstrings.length; i++) {
  20216. var glyph = charstrings[i].glyph;
  20217. var encoded = charstrings[i].encoded;
  20218. var charString = new Type1CharString();
  20219. var error = charString.convert(encoded, subrs);
  20220. var output = charString.output;
  20221. if (error) {
  20222. // It seems when FreeType encounters an error while evaluating a glyph
  20223. // that it completely ignores the glyph so we'll mimic that behaviour
  20224. // here and put an endchar to make the validator happy.
  20225. output = [14];
  20226. }
  20227. program.charstrings.push({
  20228. glyph: glyph,
  20229. data: output,
  20230. seac: charString.seac,
  20231. lsb: charString.lsb,
  20232. width: charString.width
  20233. });
  20234. }
  20235. return program;
  20236. },
  20237. extractFontHeader: function Type1Parser_extractFontHeader(properties) {
  20238. var token;
  20239. while ((token = this.getToken()) !== null) {
  20240. if (token !== '/') {
  20241. continue;
  20242. }
  20243. token = this.getToken();
  20244. switch (token) {
  20245. case 'FontMatrix':
  20246. var matrix = this.readNumberArray();
  20247. properties.fontMatrix = matrix;
  20248. break;
  20249. case 'Encoding':
  20250. var encodingArg = this.getToken();
  20251. var encoding;
  20252. if (!/^\d+$/.test(encodingArg)) {
  20253. // encoding name is specified
  20254. encoding = Encodings[encodingArg];
  20255. } else {
  20256. encoding = [];
  20257. var size = parseInt(encodingArg, 10) | 0;
  20258. this.getToken(); // read in 'array'
  20259. for (var j = 0; j < size; j++) {
  20260. var token = this.getToken();
  20261. // skipping till first dup or def (e.g. ignoring for statement)
  20262. while (token !== 'dup' && token !== 'def') {
  20263. token = this.getToken();
  20264. if (token === null) {
  20265. return; // invalid header
  20266. }
  20267. }
  20268. if (token === 'def') {
  20269. break; // read all array data
  20270. }
  20271. var index = this.readInt();
  20272. this.getToken(); // read in '/'
  20273. var glyph = this.getToken();
  20274. encoding[index] = glyph;
  20275. this.getToken(); // read the in 'put'
  20276. }
  20277. }
  20278. if (properties.overridableEncoding && encoding) {
  20279. properties.baseEncoding = encoding;
  20280. break;
  20281. }
  20282. break;
  20283. case 'FontBBox':
  20284. var fontBBox = this.readNumberArray();
  20285. // adjusting ascent/descent
  20286. properties.ascent = fontBBox[3];
  20287. properties.descent = fontBBox[1];
  20288. properties.ascentScaled = true;
  20289. break;
  20290. }
  20291. }
  20292. }
  20293. };
  20294. return Type1Parser;
  20295. })();
  20296. /**
  20297. * The CFF class takes a Type1 file and wrap it into a
  20298. * 'Compact Font Format' which itself embed Type2 charstrings.
  20299. */
  20300. var CFFStandardStrings = [
  20301. '.notdef', 'space', 'exclam', 'quotedbl', 'numbersign', 'dollar', 'percent',
  20302. 'ampersand', 'quoteright', 'parenleft', 'parenright', 'asterisk', 'plus',
  20303. 'comma', 'hyphen', 'period', 'slash', 'zero', 'one', 'two', 'three', 'four',
  20304. 'five', 'six', 'seven', 'eight', 'nine', 'colon', 'semicolon', 'less',
  20305. 'equal', 'greater', 'question', 'at', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H',
  20306. 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W',
  20307. 'X', 'Y', 'Z', 'bracketleft', 'backslash', 'bracketright', 'asciicircum',
  20308. 'underscore', 'quoteleft', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j',
  20309. 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y',
  20310. 'z', 'braceleft', 'bar', 'braceright', 'asciitilde', 'exclamdown', 'cent',
  20311. 'sterling', 'fraction', 'yen', 'florin', 'section', 'currency',
  20312. 'quotesingle', 'quotedblleft', 'guillemotleft', 'guilsinglleft',
  20313. 'guilsinglright', 'fi', 'fl', 'endash', 'dagger', 'daggerdbl',
  20314. 'periodcentered', 'paragraph', 'bullet', 'quotesinglbase', 'quotedblbase',
  20315. 'quotedblright', 'guillemotright', 'ellipsis', 'perthousand', 'questiondown',
  20316. 'grave', 'acute', 'circumflex', 'tilde', 'macron', 'breve', 'dotaccent',
  20317. 'dieresis', 'ring', 'cedilla', 'hungarumlaut', 'ogonek', 'caron', 'emdash',
  20318. 'AE', 'ordfeminine', 'Lslash', 'Oslash', 'OE', 'ordmasculine', 'ae',
  20319. 'dotlessi', 'lslash', 'oslash', 'oe', 'germandbls', 'onesuperior',
  20320. 'logicalnot', 'mu', 'trademark', 'Eth', 'onehalf', 'plusminus', 'Thorn',
  20321. 'onequarter', 'divide', 'brokenbar', 'degree', 'thorn', 'threequarters',
  20322. 'twosuperior', 'registered', 'minus', 'eth', 'multiply', 'threesuperior',
  20323. 'copyright', 'Aacute', 'Acircumflex', 'Adieresis', 'Agrave', 'Aring',
  20324. 'Atilde', 'Ccedilla', 'Eacute', 'Ecircumflex', 'Edieresis', 'Egrave',
  20325. 'Iacute', 'Icircumflex', 'Idieresis', 'Igrave', 'Ntilde', 'Oacute',
  20326. 'Ocircumflex', 'Odieresis', 'Ograve', 'Otilde', 'Scaron', 'Uacute',
  20327. 'Ucircumflex', 'Udieresis', 'Ugrave', 'Yacute', 'Ydieresis', 'Zcaron',
  20328. 'aacute', 'acircumflex', 'adieresis', 'agrave', 'aring', 'atilde',
  20329. 'ccedilla', 'eacute', 'ecircumflex', 'edieresis', 'egrave', 'iacute',
  20330. 'icircumflex', 'idieresis', 'igrave', 'ntilde', 'oacute', 'ocircumflex',
  20331. 'odieresis', 'ograve', 'otilde', 'scaron', 'uacute', 'ucircumflex',
  20332. 'udieresis', 'ugrave', 'yacute', 'ydieresis', 'zcaron', 'exclamsmall',
  20333. 'Hungarumlautsmall', 'dollaroldstyle', 'dollarsuperior', 'ampersandsmall',
  20334. 'Acutesmall', 'parenleftsuperior', 'parenrightsuperior', '266 ff',
  20335. 'onedotenleader', 'zerooldstyle', 'oneoldstyle', 'twooldstyle',
  20336. 'threeoldstyle', 'fouroldstyle', 'fiveoldstyle', 'sixoldstyle',
  20337. 'sevenoldstyle', 'eightoldstyle', 'nineoldstyle', 'commasuperior',
  20338. 'threequartersemdash', 'periodsuperior', 'questionsmall', 'asuperior',
  20339. 'bsuperior', 'centsuperior', 'dsuperior', 'esuperior', 'isuperior',
  20340. 'lsuperior', 'msuperior', 'nsuperior', 'osuperior', 'rsuperior', 'ssuperior',
  20341. 'tsuperior', 'ff', 'ffi', 'ffl', 'parenleftinferior', 'parenrightinferior',
  20342. 'Circumflexsmall', 'hyphensuperior', 'Gravesmall', 'Asmall', 'Bsmall',
  20343. 'Csmall', 'Dsmall', 'Esmall', 'Fsmall', 'Gsmall', 'Hsmall', 'Ismall',
  20344. 'Jsmall', 'Ksmall', 'Lsmall', 'Msmall', 'Nsmall', 'Osmall', 'Psmall',
  20345. 'Qsmall', 'Rsmall', 'Ssmall', 'Tsmall', 'Usmall', 'Vsmall', 'Wsmall',
  20346. 'Xsmall', 'Ysmall', 'Zsmall', 'colonmonetary', 'onefitted', 'rupiah',
  20347. 'Tildesmall', 'exclamdownsmall', 'centoldstyle', 'Lslashsmall',
  20348. 'Scaronsmall', 'Zcaronsmall', 'Dieresissmall', 'Brevesmall', 'Caronsmall',
  20349. 'Dotaccentsmall', 'Macronsmall', 'figuredash', 'hypheninferior',
  20350. 'Ogoneksmall', 'Ringsmall', 'Cedillasmall', 'questiondownsmall', 'oneeighth',
  20351. 'threeeighths', 'fiveeighths', 'seveneighths', 'onethird', 'twothirds',
  20352. 'zerosuperior', 'foursuperior', 'fivesuperior', 'sixsuperior',
  20353. 'sevensuperior', 'eightsuperior', 'ninesuperior', 'zeroinferior',
  20354. 'oneinferior', 'twoinferior', 'threeinferior', 'fourinferior',
  20355. 'fiveinferior', 'sixinferior', 'seveninferior', 'eightinferior',
  20356. 'nineinferior', 'centinferior', 'dollarinferior', 'periodinferior',
  20357. 'commainferior', 'Agravesmall', 'Aacutesmall', 'Acircumflexsmall',
  20358. 'Atildesmall', 'Adieresissmall', 'Aringsmall', 'AEsmall', 'Ccedillasmall',
  20359. 'Egravesmall', 'Eacutesmall', 'Ecircumflexsmall', 'Edieresissmall',
  20360. 'Igravesmall', 'Iacutesmall', 'Icircumflexsmall', 'Idieresissmall',
  20361. 'Ethsmall', 'Ntildesmall', 'Ogravesmall', 'Oacutesmall', 'Ocircumflexsmall',
  20362. 'Otildesmall', 'Odieresissmall', 'OEsmall', 'Oslashsmall', 'Ugravesmall',
  20363. 'Uacutesmall', 'Ucircumflexsmall', 'Udieresissmall', 'Yacutesmall',
  20364. 'Thornsmall', 'Ydieresissmall', '001.000', '001.001', '001.002', '001.003',
  20365. 'Black', 'Bold', 'Book', 'Light', 'Medium', 'Regular', 'Roman', 'Semibold'
  20366. ];
  20367. // Type1Font is also a CIDFontType0.
  20368. var Type1Font = function Type1Font(name, file, properties) {
  20369. // Some bad generators embed pfb file as is, we have to strip 6-byte headers.
  20370. // Also, length1 and length2 might be off by 6 bytes as well.
  20371. // http://www.math.ubc.ca/~cass/piscript/type1.pdf
  20372. var PFB_HEADER_SIZE = 6;
  20373. var headerBlockLength = properties.length1;
  20374. var eexecBlockLength = properties.length2;
  20375. var pfbHeader = file.peekBytes(PFB_HEADER_SIZE);
  20376. var pfbHeaderPresent = pfbHeader[0] == 0x80 && pfbHeader[1] == 0x01;
  20377. if (pfbHeaderPresent) {
  20378. file.skip(PFB_HEADER_SIZE);
  20379. headerBlockLength = (pfbHeader[5] << 24) | (pfbHeader[4] << 16) |
  20380. (pfbHeader[3] << 8) | pfbHeader[2];
  20381. }
  20382. // Get the data block containing glyphs and subrs informations
  20383. var headerBlock = new Stream(file.getBytes(headerBlockLength));
  20384. var headerBlockParser = new Type1Parser(headerBlock);
  20385. headerBlockParser.extractFontHeader(properties);
  20386. if (pfbHeaderPresent) {
  20387. pfbHeader = file.getBytes(PFB_HEADER_SIZE);
  20388. eexecBlockLength = (pfbHeader[5] << 24) | (pfbHeader[4] << 16) |
  20389. (pfbHeader[3] << 8) | pfbHeader[2];
  20390. }
  20391. // Decrypt the data blocks and retrieve it's content
  20392. var eexecBlock = new Stream(file.getBytes(eexecBlockLength));
  20393. var eexecBlockParser = new Type1Parser(eexecBlock, true);
  20394. var data = eexecBlockParser.extractFontProgram();
  20395. for (var info in data.properties)
  20396. properties[info] = data.properties[info];
  20397. var charstrings = this.getOrderedCharStrings(data.charstrings, properties);
  20398. var type2Charstrings = this.getType2Charstrings(charstrings);
  20399. var subrs = this.getType2Subrs(data.subrs);
  20400. this.charstrings = charstrings;
  20401. this.data = this.wrap(name, type2Charstrings, this.charstrings,
  20402. subrs, properties);
  20403. this.seacs = this.getSeacs(data.charstrings);
  20404. };
  20405. Type1Font.prototype = {
  20406. getOrderedCharStrings: function Type1Font_getOrderedCharStrings(glyphs,
  20407. properties) {
  20408. var charstrings = [];
  20409. var usedUnicodes = [];
  20410. var i, length, glyphName;
  20411. var unusedUnicode = CMAP_GLYPH_OFFSET;
  20412. for (i = 0, length = glyphs.length; i < length; i++) {
  20413. var item = glyphs[i];
  20414. var glyphName = item.glyph;
  20415. var unicode = glyphName in GlyphsUnicode ?
  20416. GlyphsUnicode[glyphName] : unusedUnicode++;
  20417. while (usedUnicodes[unicode]) {
  20418. unicode = unusedUnicode++;
  20419. }
  20420. usedUnicodes[unicode] = true;
  20421. charstrings.push({
  20422. glyph: glyphName,
  20423. unicode: unicode,
  20424. gid: i,
  20425. charstring: item.data,
  20426. width: item.width,
  20427. lsb: item.lsb
  20428. });
  20429. }
  20430. charstrings.sort(function charstrings_sort(a, b) {
  20431. return a.unicode - b.unicode;
  20432. });
  20433. return charstrings;
  20434. },
  20435. getSeacs: function Type1Font_getSeacs(charstrings) {
  20436. var i, ii;
  20437. var seacMap = [];
  20438. for (i = 0, ii = charstrings.length; i < ii; i++) {
  20439. var charstring = charstrings[i];
  20440. if (charstring.seac) {
  20441. seacMap[i] = charstring.seac;
  20442. }
  20443. }
  20444. return seacMap;
  20445. },
  20446. getType2Charstrings: function Type1Font_getType2Charstrings(
  20447. type1Charstrings) {
  20448. var type2Charstrings = [];
  20449. for (var i = 0, ii = type1Charstrings.length; i < ii; i++) {
  20450. type2Charstrings.push(type1Charstrings[i].charstring);
  20451. }
  20452. return type2Charstrings;
  20453. },
  20454. getType2Subrs: function Type1Font_getType2Subrs(type1Subrs) {
  20455. var bias = 0;
  20456. var count = type1Subrs.length;
  20457. if (count < 1133)
  20458. bias = 107;
  20459. else if (count < 33769)
  20460. bias = 1131;
  20461. else
  20462. bias = 32768;
  20463. // Add a bunch of empty subrs to deal with the Type2 bias
  20464. var type2Subrs = [];
  20465. for (var i = 0; i < bias; i++)
  20466. type2Subrs.push([0x0B]);
  20467. for (var i = 0; i < count; i++) {
  20468. type2Subrs.push(type1Subrs[i]);
  20469. }
  20470. return type2Subrs;
  20471. },
  20472. wrap: function Type1Font_wrap(name, glyphs, charstrings, subrs, properties) {
  20473. var cff = new CFF();
  20474. cff.header = new CFFHeader(1, 0, 4, 4);
  20475. cff.names = [name];
  20476. var topDict = new CFFTopDict();
  20477. // CFF strings IDs 0...390 are predefined names, so refering
  20478. // to entries in our own String INDEX starts at SID 391.
  20479. topDict.setByName('version', 391);
  20480. topDict.setByName('Notice', 392);
  20481. topDict.setByName('FullName', 393);
  20482. topDict.setByName('FamilyName', 394);
  20483. topDict.setByName('Weight', 395);
  20484. topDict.setByName('Encoding', null); // placeholder
  20485. topDict.setByName('FontMatrix', properties.fontMatrix);
  20486. topDict.setByName('FontBBox', properties.bbox);
  20487. topDict.setByName('charset', null); // placeholder
  20488. topDict.setByName('CharStrings', null); // placeholder
  20489. topDict.setByName('Private', null); // placeholder
  20490. cff.topDict = topDict;
  20491. var strings = new CFFStrings();
  20492. strings.add('Version 0.11'); // Version
  20493. strings.add('See original notice'); // Notice
  20494. strings.add(name); // FullName
  20495. strings.add(name); // FamilyName
  20496. strings.add('Medium'); // Weight
  20497. cff.strings = strings;
  20498. cff.globalSubrIndex = new CFFIndex();
  20499. var count = glyphs.length;
  20500. var charsetArray = [0];
  20501. for (var i = 0; i < count; i++) {
  20502. var index = CFFStandardStrings.indexOf(charstrings[i].glyph);
  20503. // Some characters like asterikmath && circlecopyrt are
  20504. // missing from the original strings, for the moment let's
  20505. // map them to .notdef and see later if it cause any
  20506. // problems
  20507. if (index == -1)
  20508. index = 0;
  20509. charsetArray.push((index >> 8) & 0xff, index & 0xff);
  20510. }
  20511. cff.charset = new CFFCharset(false, 0, [], charsetArray);
  20512. var charStringsIndex = new CFFIndex();
  20513. charStringsIndex.add([0x8B, 0x0E]); // .notdef
  20514. for (var i = 0; i < count; i++) {
  20515. charStringsIndex.add(glyphs[i]);
  20516. }
  20517. cff.charStrings = charStringsIndex;
  20518. var privateDict = new CFFPrivateDict();
  20519. privateDict.setByName('Subrs', null); // placeholder
  20520. var fields = [
  20521. 'BlueValues',
  20522. 'OtherBlues',
  20523. 'FamilyBlues',
  20524. 'FamilyOtherBlues',
  20525. 'StemSnapH',
  20526. 'StemSnapV',
  20527. 'BlueShift',
  20528. 'BlueFuzz',
  20529. 'BlueScale',
  20530. 'LanguageGroup',
  20531. 'ExpansionFactor',
  20532. 'ForceBold',
  20533. 'StdHW',
  20534. 'StdVW'
  20535. ];
  20536. for (var i = 0, ii = fields.length; i < ii; i++) {
  20537. var field = fields[i];
  20538. if (!properties.privateData.hasOwnProperty(field))
  20539. continue;
  20540. var value = properties.privateData[field];
  20541. if (isArray(value)) {
  20542. // All of the private dictionary array data in CFF must be stored as
  20543. // "delta-encoded" numbers.
  20544. for (var j = value.length - 1; j > 0; j--) {
  20545. value[j] -= value[j - 1]; // ... difference from previous value
  20546. }
  20547. }
  20548. privateDict.setByName(field, value);
  20549. }
  20550. cff.topDict.privateDict = privateDict;
  20551. var subrIndex = new CFFIndex();
  20552. for (var i = 0, ii = subrs.length; i < ii; i++) {
  20553. subrIndex.add(subrs[i]);
  20554. }
  20555. privateDict.subrsIndex = subrIndex;
  20556. var compiler = new CFFCompiler(cff);
  20557. return compiler.compile();
  20558. }
  20559. };
  20560. var CFFFont = (function CFFFontClosure() {
  20561. function CFFFont(file, properties) {
  20562. this.properties = properties;
  20563. var parser = new CFFParser(file, properties);
  20564. this.cff = parser.parse();
  20565. var compiler = new CFFCompiler(this.cff);
  20566. this.readExtra();
  20567. try {
  20568. this.data = compiler.compile();
  20569. } catch (e) {
  20570. warn('Failed to compile font ' + properties.loadedName);
  20571. // There may have just been an issue with the compiler, set the data
  20572. // anyway and hope the font loaded.
  20573. this.data = file;
  20574. }
  20575. }
  20576. CFFFont.prototype = {
  20577. readExtra: function CFFFont_readExtra() {
  20578. // charstrings contains info about glyphs (one element per glyph
  20579. // containing mappings for {unicode, width})
  20580. var charstrings = this.getCharStrings();
  20581. // create the mapping between charstring and glyph id
  20582. var glyphIds = [];
  20583. for (var i = 0, ii = charstrings.length; i < ii; i++)
  20584. glyphIds.push(charstrings[i].gid);
  20585. this.charstrings = charstrings;
  20586. this.glyphIds = glyphIds;
  20587. this.seacs = this.cff.seacs;
  20588. },
  20589. getCharStrings: function CFFFont_getCharStrings() {
  20590. var cff = this.cff;
  20591. var charsets = cff.charset.charset;
  20592. var encoding = cff.encoding ? cff.encoding.encoding : null;
  20593. var charstrings = [];
  20594. var unicodeUsed = [];
  20595. var unassignedUnicodeItems = [];
  20596. var inverseEncoding = [];
  20597. var gidStart = 0;
  20598. if (charsets[0] === '.notdef') {
  20599. gidStart = 1;
  20600. }
  20601. // According to section 9.7.4.2 CIDFontType0C glyph selection should be
  20602. // handled differently.
  20603. if (this.properties.subtype === 'CIDFontType0C') {
  20604. if (this.cff.isCIDFont) {
  20605. // If the font is actually a CID font then we should use the charset
  20606. // to map CIDs to GIDs.
  20607. inverseEncoding = charsets;
  20608. } else {
  20609. // If it is NOT actually a CID font then CIDs should be mapped
  20610. // directly to GIDs.
  20611. inverseEncoding = [];
  20612. for (var i = 0, ii = cff.charStrings.count; i < ii; i++) {
  20613. inverseEncoding.push(i);
  20614. }
  20615. // Use the identity map for charsets as well.
  20616. charsets = inverseEncoding;
  20617. }
  20618. } else {
  20619. for (var charcode in encoding) {
  20620. var gid = encoding[charcode];
  20621. if (gid in inverseEncoding) {
  20622. // Glyphs can be multiply-encoded if there was an encoding
  20623. // supplement. Convert to an array and append the charcode.
  20624. var previousCharcode = inverseEncoding[gid];
  20625. if (!isArray(previousCharcode)) {
  20626. inverseEncoding[gid] = [previousCharcode];
  20627. }
  20628. inverseEncoding[gid].push(charcode | 0);
  20629. } else {
  20630. inverseEncoding[gid] = charcode | 0;
  20631. }
  20632. }
  20633. }
  20634. for (var i = gidStart, ii = charsets.length; i < ii; i++) {
  20635. var glyph = charsets[i];
  20636. var codes = inverseEncoding[i];
  20637. if (!isArray(codes)) {
  20638. codes = [codes];
  20639. }
  20640. for (var j = 0; j < codes.length; j++) {
  20641. var code = codes[j];
  20642. if (!code || isSpecialUnicode(code)) {
  20643. unassignedUnicodeItems.push(i, code);
  20644. continue;
  20645. }
  20646. charstrings.push({
  20647. unicode: code,
  20648. code: code,
  20649. gid: i,
  20650. glyph: glyph
  20651. });
  20652. unicodeUsed[code] = true;
  20653. }
  20654. }
  20655. var nextUnusedUnicode = CMAP_GLYPH_OFFSET;
  20656. for (var j = 0, jj = unassignedUnicodeItems.length; j < jj; j += 2) {
  20657. var i = unassignedUnicodeItems[j];
  20658. // giving unicode value anyway
  20659. while (nextUnusedUnicode in unicodeUsed)
  20660. nextUnusedUnicode++;
  20661. var unicode = nextUnusedUnicode++;
  20662. charstrings.push({
  20663. unicode: unicode,
  20664. code: unassignedUnicodeItems[j + 1] || 0,
  20665. gid: i,
  20666. glyph: charsets[i]
  20667. });
  20668. }
  20669. // sort the array by the unicode value (again)
  20670. charstrings.sort(function getCharStringsSort(a, b) {
  20671. return a.unicode - b.unicode;
  20672. });
  20673. return charstrings;
  20674. }
  20675. };
  20676. return CFFFont;
  20677. })();
  20678. var CFFParser = (function CFFParserClosure() {
  20679. var CharstringValidationData = [
  20680. null,
  20681. { id: 'hstem', min: 2, resetStack: true, stem: true },
  20682. null,
  20683. { id: 'vstem', min: 2, resetStack: true, stem: true },
  20684. { id: 'vmoveto', min: 1, resetStack: true },
  20685. { id: 'rlineto', min: 2, resetStack: true },
  20686. { id: 'hlineto', min: 1, resetStack: true },
  20687. { id: 'vlineto', min: 1, resetStack: true },
  20688. { id: 'rrcurveto', min: 6, resetStack: true },
  20689. null,
  20690. { id: 'callsubr', min: 1, undefStack: true },
  20691. { id: 'return', min: 0, undefStack: true },
  20692. null, // 12
  20693. null,
  20694. null, // endchar
  20695. null,
  20696. null,
  20697. null,
  20698. { id: 'hstemhm', min: 2, resetStack: true, stem: true },
  20699. null, // hintmask
  20700. null, // cntrmask
  20701. { id: 'rmoveto', min: 2, resetStack: true },
  20702. { id: 'hmoveto', min: 1, resetStack: true },
  20703. { id: 'vstemhm', min: 2, resetStack: true, stem: true },
  20704. { id: 'rcurveline', min: 8, resetStack: true },
  20705. { id: 'rlinecurve', min: 8, resetStack: true },
  20706. { id: 'vvcurveto', min: 4, resetStack: true },
  20707. { id: 'hhcurveto', min: 4, resetStack: true },
  20708. null, // shortint
  20709. { id: 'callgsubr', min: 1, undefStack: true },
  20710. { id: 'vhcurveto', min: 4, resetStack: true },
  20711. { id: 'hvcurveto', min: 4, resetStack: true }
  20712. ];
  20713. var CharstringValidationData12 = [
  20714. null,
  20715. null,
  20716. null,
  20717. { id: 'and', min: 2, stackDelta: -1 },
  20718. { id: 'or', min: 2, stackDelta: -1 },
  20719. { id: 'not', min: 1, stackDelta: 0 },
  20720. null,
  20721. null,
  20722. null,
  20723. { id: 'abs', min: 1, stackDelta: 0 },
  20724. { id: 'add', min: 2, stackDelta: -1,
  20725. stackFn: function stack_div(stack, index) {
  20726. stack[index - 2] = stack[index - 2] + stack[index - 1];
  20727. }
  20728. },
  20729. { id: 'sub', min: 2, stackDelta: -1,
  20730. stackFn: function stack_div(stack, index) {
  20731. stack[index - 2] = stack[index - 2] - stack[index - 1];
  20732. }
  20733. },
  20734. { id: 'div', min: 2, stackDelta: -1,
  20735. stackFn: function stack_div(stack, index) {
  20736. stack[index - 2] = stack[index - 2] / stack[index - 1];
  20737. }
  20738. },
  20739. null,
  20740. { id: 'neg', min: 1, stackDelta: 0,
  20741. stackFn: function stack_div(stack, index) {
  20742. stack[index - 1] = -stack[index - 1];
  20743. }
  20744. },
  20745. { id: 'eq', min: 2, stackDelta: -1 },
  20746. null,
  20747. null,
  20748. { id: 'drop', min: 1, stackDelta: -1 },
  20749. null,
  20750. { id: 'put', min: 2, stackDelta: -2 },
  20751. { id: 'get', min: 1, stackDelta: 0 },
  20752. { id: 'ifelse', min: 4, stackDelta: -3 },
  20753. { id: 'random', min: 0, stackDelta: 1 },
  20754. { id: 'mul', min: 2, stackDelta: -1,
  20755. stackFn: function stack_div(stack, index) {
  20756. stack[index - 2] = stack[index - 2] * stack[index - 1];
  20757. }
  20758. },
  20759. null,
  20760. { id: 'sqrt', min: 1, stackDelta: 0 },
  20761. { id: 'dup', min: 1, stackDelta: 1 },
  20762. { id: 'exch', min: 2, stackDelta: 0 },
  20763. { id: 'index', min: 2, stackDelta: 0 },
  20764. { id: 'roll', min: 3, stackDelta: -2 },
  20765. null,
  20766. null,
  20767. null,
  20768. { id: 'hflex', min: 7, resetStack: true },
  20769. { id: 'flex', min: 13, resetStack: true },
  20770. { id: 'hflex1', min: 9, resetStack: true },
  20771. { id: 'flex1', min: 11, resetStack: true }
  20772. ];
  20773. function CFFParser(file, properties) {
  20774. this.bytes = file.getBytes();
  20775. this.properties = properties;
  20776. }
  20777. CFFParser.prototype = {
  20778. parse: function CFFParser_parse() {
  20779. var properties = this.properties;
  20780. var cff = new CFF();
  20781. this.cff = cff;
  20782. // The first five sections must be in order, all the others are reached
  20783. // via offsets contained in one of the below.
  20784. var header = this.parseHeader();
  20785. var nameIndex = this.parseIndex(header.endPos);
  20786. var topDictIndex = this.parseIndex(nameIndex.endPos);
  20787. var stringIndex = this.parseIndex(topDictIndex.endPos);
  20788. var globalSubrIndex = this.parseIndex(stringIndex.endPos);
  20789. var topDictParsed = this.parseDict(topDictIndex.obj.get(0));
  20790. var topDict = this.createDict(CFFTopDict, topDictParsed, cff.strings);
  20791. cff.header = header.obj;
  20792. cff.names = this.parseNameIndex(nameIndex.obj);
  20793. cff.strings = this.parseStringIndex(stringIndex.obj);
  20794. cff.topDict = topDict;
  20795. cff.globalSubrIndex = globalSubrIndex.obj;
  20796. this.parsePrivateDict(cff.topDict);
  20797. cff.isCIDFont = topDict.hasName('ROS');
  20798. var charStringOffset = topDict.getByName('CharStrings');
  20799. var charStringsAndSeacs = this.parseCharStrings(charStringOffset);
  20800. cff.charStrings = charStringsAndSeacs.charStrings;
  20801. cff.seacs = charStringsAndSeacs.seacs;
  20802. var fontMatrix = topDict.getByName('FontMatrix');
  20803. if (fontMatrix) {
  20804. properties.fontMatrix = fontMatrix;
  20805. }
  20806. var fontBBox = topDict.getByName('FontBBox');
  20807. if (fontBBox) {
  20808. // adjusting ascent/descent
  20809. properties.ascent = fontBBox[3];
  20810. properties.descent = fontBBox[1];
  20811. properties.ascentScaled = true;
  20812. }
  20813. var charset, encoding;
  20814. if (cff.isCIDFont) {
  20815. var fdArrayIndex = this.parseIndex(topDict.getByName('FDArray')).obj;
  20816. for (var i = 0, ii = fdArrayIndex.count; i < ii; ++i) {
  20817. var dictRaw = fdArrayIndex.get(i);
  20818. var fontDict = this.createDict(CFFTopDict, this.parseDict(dictRaw),
  20819. cff.strings);
  20820. this.parsePrivateDict(fontDict);
  20821. cff.fdArray.push(fontDict);
  20822. }
  20823. // cid fonts don't have an encoding
  20824. encoding = null;
  20825. charset = this.parseCharsets(topDict.getByName('charset'),
  20826. cff.charStrings.count, cff.strings, true);
  20827. cff.fdSelect = this.parseFDSelect(topDict.getByName('FDSelect'),
  20828. cff.charStrings.count);
  20829. } else {
  20830. charset = this.parseCharsets(topDict.getByName('charset'),
  20831. cff.charStrings.count, cff.strings, false);
  20832. encoding = this.parseEncoding(topDict.getByName('Encoding'),
  20833. properties,
  20834. cff.strings, charset.charset);
  20835. }
  20836. cff.charset = charset;
  20837. cff.encoding = encoding;
  20838. return cff;
  20839. },
  20840. parseHeader: function CFFParser_parseHeader() {
  20841. var bytes = this.bytes;
  20842. var offset = 0;
  20843. while (bytes[offset] != 1)
  20844. ++offset;
  20845. if (offset !== 0) {
  20846. info('cff data is shifted');
  20847. bytes = bytes.subarray(offset);
  20848. this.bytes = bytes;
  20849. }
  20850. var major = bytes[0];
  20851. var minor = bytes[1];
  20852. var hdrSize = bytes[2];
  20853. var offSize = bytes[3];
  20854. var header = new CFFHeader(major, minor, hdrSize, offSize);
  20855. return {obj: header, endPos: hdrSize};
  20856. },
  20857. parseDict: function CFFParser_parseDict(dict) {
  20858. var pos = 0;
  20859. function parseOperand() {
  20860. var value = dict[pos++];
  20861. if (value === 30) {
  20862. return parseFloatOperand(pos);
  20863. } else if (value === 28) {
  20864. value = dict[pos++];
  20865. value = ((value << 24) | (dict[pos++] << 16)) >> 16;
  20866. return value;
  20867. } else if (value === 29) {
  20868. value = dict[pos++];
  20869. value = (value << 8) | dict[pos++];
  20870. value = (value << 8) | dict[pos++];
  20871. value = (value << 8) | dict[pos++];
  20872. return value;
  20873. } else if (value >= 32 && value <= 246) {
  20874. return value - 139;
  20875. } else if (value >= 247 && value <= 250) {
  20876. return ((value - 247) * 256) + dict[pos++] + 108;
  20877. } else if (value >= 251 && value <= 254) {
  20878. return -((value - 251) * 256) - dict[pos++] - 108;
  20879. } else {
  20880. error('255 is not a valid DICT command');
  20881. }
  20882. return -1;
  20883. }
  20884. function parseFloatOperand() {
  20885. var str = '';
  20886. var eof = 15;
  20887. var lookup = ['0', '1', '2', '3', '4', '5', '6', '7', '8',
  20888. '9', '.', 'E', 'E-', null, '-'];
  20889. var length = dict.length;
  20890. while (pos < length) {
  20891. var b = dict[pos++];
  20892. var b1 = b >> 4;
  20893. var b2 = b & 15;
  20894. if (b1 == eof)
  20895. break;
  20896. str += lookup[b1];
  20897. if (b2 == eof)
  20898. break;
  20899. str += lookup[b2];
  20900. }
  20901. return parseFloat(str);
  20902. }
  20903. var operands = [];
  20904. var entries = [];
  20905. var pos = 0;
  20906. var end = dict.length;
  20907. while (pos < end) {
  20908. var b = dict[pos];
  20909. if (b <= 21) {
  20910. if (b === 12)
  20911. b = (b << 8) | dict[++pos];
  20912. entries.push([b, operands]);
  20913. operands = [];
  20914. ++pos;
  20915. } else {
  20916. operands.push(parseOperand());
  20917. }
  20918. }
  20919. return entries;
  20920. },
  20921. parseIndex: function CFFParser_parseIndex(pos) {
  20922. var cffIndex = new CFFIndex();
  20923. var bytes = this.bytes;
  20924. var count = (bytes[pos++] << 8) | bytes[pos++];
  20925. var offsets = [];
  20926. var start = pos;
  20927. var end = pos;
  20928. if (count !== 0) {
  20929. var offsetSize = bytes[pos++];
  20930. // add 1 for offset to determine size of last object
  20931. var startPos = pos + ((count + 1) * offsetSize) - 1;
  20932. for (var i = 0, ii = count + 1; i < ii; ++i) {
  20933. var offset = 0;
  20934. for (var j = 0; j < offsetSize; ++j) {
  20935. offset <<= 8;
  20936. offset += bytes[pos++];
  20937. }
  20938. offsets.push(startPos + offset);
  20939. }
  20940. end = offsets[count];
  20941. }
  20942. for (var i = 0, ii = offsets.length - 1; i < ii; ++i) {
  20943. var offsetStart = offsets[i];
  20944. var offsetEnd = offsets[i + 1];
  20945. cffIndex.add(bytes.subarray(offsetStart, offsetEnd));
  20946. }
  20947. return {obj: cffIndex, endPos: end};
  20948. },
  20949. parseNameIndex: function CFFParser_parseNameIndex(index) {
  20950. var names = [];
  20951. for (var i = 0, ii = index.count; i < ii; ++i) {
  20952. var name = index.get(i);
  20953. // OTS doesn't allow names to be over 127 characters.
  20954. var length = Math.min(name.length, 127);
  20955. var data = [];
  20956. // OTS also only permits certain characters in the name.
  20957. for (var j = 0; j < length; ++j) {
  20958. var c = name[j];
  20959. if (j === 0 && c === 0) {
  20960. data[j] = c;
  20961. continue;
  20962. }
  20963. if ((c < 33 || c > 126) || c === 91 /* [ */ || c === 93 /* ] */ ||
  20964. c === 40 /* ( */ || c === 41 /* ) */ || c === 123 /* { */ ||
  20965. c === 125 /* } */ || c === 60 /* < */ || c === 62 /* > */ ||
  20966. c === 47 /* / */ || c === 37 /* % */) {
  20967. data[j] = 95;
  20968. continue;
  20969. }
  20970. data[j] = c;
  20971. }
  20972. names.push(String.fromCharCode.apply(null, data));
  20973. }
  20974. return names;
  20975. },
  20976. parseStringIndex: function CFFParser_parseStringIndex(index) {
  20977. var strings = new CFFStrings();
  20978. for (var i = 0, ii = index.count; i < ii; ++i) {
  20979. var data = index.get(i);
  20980. strings.add(String.fromCharCode.apply(null, data));
  20981. }
  20982. return strings;
  20983. },
  20984. createDict: function CFFParser_createDict(Type, dict, strings) {
  20985. var cffDict = new Type(strings);
  20986. var types = cffDict.types;
  20987. for (var i = 0, ii = dict.length; i < ii; ++i) {
  20988. var pair = dict[i];
  20989. var key = pair[0];
  20990. var value = pair[1];
  20991. cffDict.setByKey(key, value);
  20992. }
  20993. return cffDict;
  20994. },
  20995. parseCharStrings: function CFFParser_parseCharStrings(charStringOffset) {
  20996. var charStrings = this.parseIndex(charStringOffset).obj;
  20997. var seacs = [];
  20998. var count = charStrings.count;
  20999. for (var i = 0; i < count; i++) {
  21000. var charstring = charStrings.get(i);
  21001. var stackSize = 0;
  21002. var stack = [];
  21003. var undefStack = true;
  21004. var hints = 0;
  21005. var valid = true;
  21006. var data = charstring;
  21007. var length = data.length;
  21008. for (var j = 0; j < length;) {
  21009. var value = data[j++];
  21010. var validationCommand = null;
  21011. if (value == 12) {
  21012. var q = data[j++];
  21013. if (q === 0) {
  21014. // The CFF specification state that the 'dotsection' command
  21015. // (12, 0) is deprecated and treated as a no-op, but all Type2
  21016. // charstrings processors should support them. Unfortunately
  21017. // the font sanitizer don't. As a workaround the sequence (12, 0)
  21018. // is replaced by a useless (0, hmoveto).
  21019. data[j - 2] = 139;
  21020. data[j - 1] = 22;
  21021. stackSize = 0;
  21022. } else {
  21023. validationCommand = CharstringValidationData12[q];
  21024. }
  21025. } else if (value === 28) { // number (16 bit)
  21026. stack[stackSize] = ((data[j] << 24) | (data[j + 1] << 16)) >> 16;
  21027. j += 2;
  21028. stackSize++;
  21029. } else if (value == 14) {
  21030. if (stackSize >= 4) {
  21031. stackSize -= 4;
  21032. if (SEAC_ANALYSIS_ENABLED) {
  21033. seacs[i] = stack.slice(stackSize, stackSize + 4);
  21034. valid = false;
  21035. }
  21036. }
  21037. } else if (value >= 32 && value <= 246) { // number
  21038. stack[stackSize] = value - 139;
  21039. stackSize++;
  21040. } else if (value >= 247 && value <= 254) { // number (+1 bytes)
  21041. stack[stackSize] = value < 251 ?
  21042. ((value - 247) << 8) + data[j] + 108 :
  21043. -((value - 251) << 8) - data[j] - 108;
  21044. j++;
  21045. stackSize++;
  21046. } else if (value == 255) { // number (32 bit)
  21047. stack[stackSize] = ((data[j] << 24) | (data[j + 1] << 16) |
  21048. (data[j + 2] << 8) | data[j + 3]) / 65536;
  21049. j += 4;
  21050. stackSize++;
  21051. } else if (value == 19 || value == 20) {
  21052. hints += stackSize >> 1;
  21053. j += (hints + 7) >> 3; // skipping right amount of hints flag data
  21054. stackSize = 0;
  21055. } else {
  21056. validationCommand = CharstringValidationData[value];
  21057. }
  21058. if (validationCommand) {
  21059. if (validationCommand.stem) {
  21060. hints += stackSize >> 1;
  21061. }
  21062. if ('min' in validationCommand) {
  21063. if (!undefStack && stackSize < validationCommand.min) {
  21064. warn('Not enough parameters for ' + validationCommand.id +
  21065. '; actual: ' + stackSize +
  21066. ', expected: ' + validationCommand.min);
  21067. valid = false;
  21068. break;
  21069. }
  21070. }
  21071. if ('stackDelta' in validationCommand) {
  21072. if ('stackFn' in validationCommand) {
  21073. validationCommand.stackFn(stack, stackSize);
  21074. }
  21075. stackSize += validationCommand.stackDelta;
  21076. } else if (validationCommand.resetStack) {
  21077. stackSize = 0;
  21078. undefStack = false;
  21079. } else if (validationCommand.undefStack) {
  21080. stackSize = 0;
  21081. undefStack = true;
  21082. }
  21083. }
  21084. }
  21085. if (!valid) {
  21086. // resetting invalid charstring to single 'endchar'
  21087. charStrings.set(i, new Uint8Array([14]));
  21088. }
  21089. }
  21090. return { charStrings: charStrings, seacs: seacs };
  21091. },
  21092. emptyPrivateDictionary:
  21093. function CFFParser_emptyPrivateDictionary(parentDict) {
  21094. var privateDict = this.createDict(CFFPrivateDict, [],
  21095. parentDict.strings);
  21096. parentDict.setByKey(18, [0, 0]);
  21097. parentDict.privateDict = privateDict;
  21098. },
  21099. parsePrivateDict: function CFFParser_parsePrivateDict(parentDict) {
  21100. // no private dict, do nothing
  21101. if (!parentDict.hasName('Private')) {
  21102. this.emptyPrivateDictionary(parentDict);
  21103. return;
  21104. }
  21105. var privateOffset = parentDict.getByName('Private');
  21106. // make sure the params are formatted correctly
  21107. if (!isArray(privateOffset) || privateOffset.length !== 2) {
  21108. parentDict.removeByName('Private');
  21109. return;
  21110. }
  21111. var size = privateOffset[0];
  21112. var offset = privateOffset[1];
  21113. // remove empty dicts or ones that refer to invalid location
  21114. if (size === 0 || offset >= this.bytes.length) {
  21115. this.emptyPrivateDictionary(parentDict);
  21116. return;
  21117. }
  21118. var privateDictEnd = offset + size;
  21119. var dictData = this.bytes.subarray(offset, privateDictEnd);
  21120. var dict = this.parseDict(dictData);
  21121. var privateDict = this.createDict(CFFPrivateDict, dict,
  21122. parentDict.strings);
  21123. parentDict.privateDict = privateDict;
  21124. // Parse the Subrs index also since it's relative to the private dict.
  21125. if (!privateDict.getByName('Subrs'))
  21126. return;
  21127. var subrsOffset = privateDict.getByName('Subrs');
  21128. var relativeOffset = offset + subrsOffset;
  21129. // Validate the offset.
  21130. if (subrsOffset === 0 || relativeOffset >= this.bytes.length) {
  21131. this.emptyPrivateDictionary(parentDict);
  21132. return;
  21133. }
  21134. var subrsIndex = this.parseIndex(relativeOffset);
  21135. privateDict.subrsIndex = subrsIndex.obj;
  21136. },
  21137. parseCharsets: function CFFParser_parseCharsets(pos, length, strings, cid) {
  21138. if (pos === 0) {
  21139. return new CFFCharset(true, CFFCharsetPredefinedTypes.ISO_ADOBE,
  21140. ISOAdobeCharset);
  21141. } else if (pos == 1) {
  21142. return new CFFCharset(true, CFFCharsetPredefinedTypes.EXPERT,
  21143. ExpertCharset);
  21144. } else if (pos == 2) {
  21145. return new CFFCharset(true, CFFCharsetPredefinedTypes.EXPERT_SUBSET,
  21146. ExpertSubsetCharset);
  21147. }
  21148. var bytes = this.bytes;
  21149. var start = pos;
  21150. var format = bytes[pos++];
  21151. var charset = ['.notdef'];
  21152. // subtract 1 for the .notdef glyph
  21153. length -= 1;
  21154. switch (format) {
  21155. case 0:
  21156. for (var i = 0; i < length; i++) {
  21157. var id = (bytes[pos++] << 8) | bytes[pos++];
  21158. charset.push(cid ? id : strings.get(id));
  21159. }
  21160. break;
  21161. case 1:
  21162. while (charset.length <= length) {
  21163. var id = (bytes[pos++] << 8) | bytes[pos++];
  21164. var count = bytes[pos++];
  21165. for (var i = 0; i <= count; i++)
  21166. charset.push(cid ? id++ : strings.get(id++));
  21167. }
  21168. break;
  21169. case 2:
  21170. while (charset.length <= length) {
  21171. var id = (bytes[pos++] << 8) | bytes[pos++];
  21172. var count = (bytes[pos++] << 8) | bytes[pos++];
  21173. for (var i = 0; i <= count; i++)
  21174. charset.push(cid ? id++ : strings.get(id++));
  21175. }
  21176. break;
  21177. default:
  21178. error('Unknown charset format');
  21179. }
  21180. // Raw won't be needed if we actually compile the charset.
  21181. var end = pos;
  21182. var raw = bytes.subarray(start, end);
  21183. return new CFFCharset(false, format, charset, raw);
  21184. },
  21185. parseEncoding: function CFFParser_parseEncoding(pos,
  21186. properties,
  21187. strings,
  21188. charset) {
  21189. var encoding = {};
  21190. var bytes = this.bytes;
  21191. var predefined = false;
  21192. var hasSupplement = false;
  21193. var format;
  21194. var raw = null;
  21195. function readSupplement() {
  21196. var supplementsCount = bytes[pos++];
  21197. for (var i = 0; i < supplementsCount; i++) {
  21198. var code = bytes[pos++];
  21199. var sid = (bytes[pos++] << 8) + (bytes[pos++] & 0xff);
  21200. encoding[code] = charset.indexOf(strings.get(sid));
  21201. }
  21202. }
  21203. if (pos === 0 || pos == 1) {
  21204. predefined = true;
  21205. format = pos;
  21206. var baseEncoding = pos ? Encodings.ExpertEncoding :
  21207. Encodings.StandardEncoding;
  21208. for (var i = 0, ii = charset.length; i < ii; i++) {
  21209. var index = baseEncoding.indexOf(charset[i]);
  21210. if (index != -1) {
  21211. encoding[index] = i;
  21212. }
  21213. }
  21214. } else {
  21215. var dataStart = pos;
  21216. var format = bytes[pos++];
  21217. switch (format & 0x7f) {
  21218. case 0:
  21219. var glyphsCount = bytes[pos++];
  21220. for (var i = 1; i <= glyphsCount; i++)
  21221. encoding[bytes[pos++]] = i;
  21222. break;
  21223. case 1:
  21224. var rangesCount = bytes[pos++];
  21225. var gid = 1;
  21226. for (var i = 0; i < rangesCount; i++) {
  21227. var start = bytes[pos++];
  21228. var left = bytes[pos++];
  21229. for (var j = start; j <= start + left; j++)
  21230. encoding[j] = gid++;
  21231. }
  21232. break;
  21233. default:
  21234. error('Unknow encoding format: ' + format + ' in CFF');
  21235. break;
  21236. }
  21237. var dataEnd = pos;
  21238. if (format & 0x80) {
  21239. // The font sanitizer does not support CFF encoding with a
  21240. // supplement, since the encoding is not really used to map
  21241. // between gid to glyph, let's overwrite what is declared in
  21242. // the top dictionary to let the sanitizer think the font use
  21243. // StandardEncoding, that's a lie but that's ok.
  21244. bytes[dataStart] &= 0x7f;
  21245. readSupplement();
  21246. hasSupplement = true;
  21247. }
  21248. raw = bytes.subarray(dataStart, dataEnd);
  21249. }
  21250. format = format & 0x7f;
  21251. return new CFFEncoding(predefined, format, encoding, raw);
  21252. },
  21253. parseFDSelect: function CFFParser_parseFDSelect(pos, length) {
  21254. var start = pos;
  21255. var bytes = this.bytes;
  21256. var format = bytes[pos++];
  21257. var fdSelect = [];
  21258. switch (format) {
  21259. case 0:
  21260. for (var i = 0; i < length; ++i) {
  21261. var id = bytes[pos++];
  21262. fdSelect.push(id);
  21263. }
  21264. break;
  21265. case 3:
  21266. var rangesCount = (bytes[pos++] << 8) | bytes[pos++];
  21267. for (var i = 0; i < rangesCount; ++i) {
  21268. var first = (bytes[pos++] << 8) | bytes[pos++];
  21269. var fdIndex = bytes[pos++];
  21270. var next = (bytes[pos] << 8) | bytes[pos + 1];
  21271. for (var j = first; j < next; ++j)
  21272. fdSelect.push(fdIndex);
  21273. }
  21274. // Advance past the sentinel(next).
  21275. pos += 2;
  21276. break;
  21277. default:
  21278. error('Unknown fdselect format ' + format);
  21279. break;
  21280. }
  21281. var end = pos;
  21282. return new CFFFDSelect(fdSelect, bytes.subarray(start, end));
  21283. }
  21284. };
  21285. return CFFParser;
  21286. })();
  21287. // Compact Font Format
  21288. var CFF = (function CFFClosure() {
  21289. function CFF() {
  21290. this.header = null;
  21291. this.names = [];
  21292. this.topDict = null;
  21293. this.strings = new CFFStrings();
  21294. this.globalSubrIndex = null;
  21295. // The following could really be per font, but since we only have one font
  21296. // store them here.
  21297. this.encoding = null;
  21298. this.charset = null;
  21299. this.charStrings = null;
  21300. this.fdArray = [];
  21301. this.fdSelect = null;
  21302. this.isCIDFont = false;
  21303. }
  21304. return CFF;
  21305. })();
  21306. var CFFHeader = (function CFFHeaderClosure() {
  21307. function CFFHeader(major, minor, hdrSize, offSize) {
  21308. this.major = major;
  21309. this.minor = minor;
  21310. this.hdrSize = hdrSize;
  21311. this.offSize = offSize;
  21312. }
  21313. return CFFHeader;
  21314. })();
  21315. var CFFStrings = (function CFFStringsClosure() {
  21316. function CFFStrings() {
  21317. this.strings = [];
  21318. }
  21319. CFFStrings.prototype = {
  21320. get: function CFFStrings_get(index) {
  21321. if (index >= 0 && index <= 390)
  21322. return CFFStandardStrings[index];
  21323. if (index - 391 <= this.strings.length)
  21324. return this.strings[index - 391];
  21325. return CFFStandardStrings[0];
  21326. },
  21327. add: function CFFStrings_add(value) {
  21328. this.strings.push(value);
  21329. },
  21330. get count() {
  21331. return this.strings.length;
  21332. }
  21333. };
  21334. return CFFStrings;
  21335. })();
  21336. var CFFIndex = (function CFFIndexClosure() {
  21337. function CFFIndex() {
  21338. this.objects = [];
  21339. this.length = 0;
  21340. }
  21341. CFFIndex.prototype = {
  21342. add: function CFFIndex_add(data) {
  21343. this.length += data.length;
  21344. this.objects.push(data);
  21345. },
  21346. set: function CFFIndex_set(index, data) {
  21347. this.length += data.length - this.objects[index].length;
  21348. this.objects[index] = data;
  21349. },
  21350. get: function CFFIndex_get(index) {
  21351. return this.objects[index];
  21352. },
  21353. get count() {
  21354. return this.objects.length;
  21355. }
  21356. };
  21357. return CFFIndex;
  21358. })();
  21359. var CFFDict = (function CFFDictClosure() {
  21360. function CFFDict(tables, strings) {
  21361. this.keyToNameMap = tables.keyToNameMap;
  21362. this.nameToKeyMap = tables.nameToKeyMap;
  21363. this.defaults = tables.defaults;
  21364. this.types = tables.types;
  21365. this.opcodes = tables.opcodes;
  21366. this.order = tables.order;
  21367. this.strings = strings;
  21368. this.values = {};
  21369. }
  21370. CFFDict.prototype = {
  21371. // value should always be an array
  21372. setByKey: function CFFDict_setByKey(key, value) {
  21373. if (!(key in this.keyToNameMap))
  21374. return false;
  21375. // ignore empty values
  21376. if (value.length === 0)
  21377. return true;
  21378. var type = this.types[key];
  21379. // remove the array wrapping these types of values
  21380. if (type === 'num' || type === 'sid' || type === 'offset')
  21381. value = value[0];
  21382. this.values[key] = value;
  21383. return true;
  21384. },
  21385. setByName: function CFFDict_setByName(name, value) {
  21386. if (!(name in this.nameToKeyMap)) {
  21387. error('Invalid dictionary name "' + name + '"');
  21388. }
  21389. this.values[this.nameToKeyMap[name]] = value;
  21390. },
  21391. hasName: function CFFDict_hasName(name) {
  21392. return this.nameToKeyMap[name] in this.values;
  21393. },
  21394. getByName: function CFFDict_getByName(name) {
  21395. if (!(name in this.nameToKeyMap))
  21396. error('Invalid dictionary name "' + name + '"');
  21397. var key = this.nameToKeyMap[name];
  21398. if (!(key in this.values))
  21399. return this.defaults[key];
  21400. return this.values[key];
  21401. },
  21402. removeByName: function CFFDict_removeByName(name) {
  21403. delete this.values[this.nameToKeyMap[name]];
  21404. }
  21405. };
  21406. CFFDict.createTables = function CFFDict_createTables(layout) {
  21407. var tables = {
  21408. keyToNameMap: {},
  21409. nameToKeyMap: {},
  21410. defaults: {},
  21411. types: {},
  21412. opcodes: {},
  21413. order: []
  21414. };
  21415. for (var i = 0, ii = layout.length; i < ii; ++i) {
  21416. var entry = layout[i];
  21417. var key = isArray(entry[0]) ? (entry[0][0] << 8) + entry[0][1] : entry[0];
  21418. tables.keyToNameMap[key] = entry[1];
  21419. tables.nameToKeyMap[entry[1]] = key;
  21420. tables.types[key] = entry[2];
  21421. tables.defaults[key] = entry[3];
  21422. tables.opcodes[key] = isArray(entry[0]) ? entry[0] : [entry[0]];
  21423. tables.order.push(key);
  21424. }
  21425. return tables;
  21426. };
  21427. return CFFDict;
  21428. })();
  21429. var CFFTopDict = (function CFFTopDictClosure() {
  21430. var layout = [
  21431. [[12, 30], 'ROS', ['sid', 'sid', 'num'], null],
  21432. [[12, 20], 'SyntheticBase', 'num', null],
  21433. [0, 'version', 'sid', null],
  21434. [1, 'Notice', 'sid', null],
  21435. [[12, 0], 'Copyright', 'sid', null],
  21436. [2, 'FullName', 'sid', null],
  21437. [3, 'FamilyName', 'sid', null],
  21438. [4, 'Weight', 'sid', null],
  21439. [[12, 1], 'isFixedPitch', 'num', 0],
  21440. [[12, 2], 'ItalicAngle', 'num', 0],
  21441. [[12, 3], 'UnderlinePosition', 'num', -100],
  21442. [[12, 4], 'UnderlineThickness', 'num', 50],
  21443. [[12, 5], 'PaintType', 'num', 0],
  21444. [[12, 6], 'CharstringType', 'num', 2],
  21445. [[12, 7], 'FontMatrix', ['num', 'num', 'num', 'num', 'num', 'num'],
  21446. [0.001, 0, 0, 0.001, 0, 0]],
  21447. [13, 'UniqueID', 'num', null],
  21448. [5, 'FontBBox', ['num', 'num', 'num', 'num'], [0, 0, 0, 0]],
  21449. [[12, 8], 'StrokeWidth', 'num', 0],
  21450. [14, 'XUID', 'array', null],
  21451. [15, 'charset', 'offset', 0],
  21452. [16, 'Encoding', 'offset', 0],
  21453. [17, 'CharStrings', 'offset', 0],
  21454. [18, 'Private', ['offset', 'offset'], null],
  21455. [[12, 21], 'PostScript', 'sid', null],
  21456. [[12, 22], 'BaseFontName', 'sid', null],
  21457. [[12, 23], 'BaseFontBlend', 'delta', null],
  21458. [[12, 31], 'CIDFontVersion', 'num', 0],
  21459. [[12, 32], 'CIDFontRevision', 'num', 0],
  21460. [[12, 33], 'CIDFontType', 'num', 0],
  21461. [[12, 34], 'CIDCount', 'num', 8720],
  21462. [[12, 35], 'UIDBase', 'num', null],
  21463. // XXX: CID Fonts on DirectWrite 6.1 only seem to work if FDSelect comes
  21464. // before FDArray.
  21465. [[12, 37], 'FDSelect', 'offset', null],
  21466. [[12, 36], 'FDArray', 'offset', null],
  21467. [[12, 38], 'FontName', 'sid', null]
  21468. ];
  21469. var tables = null;
  21470. function CFFTopDict(strings) {
  21471. if (tables === null)
  21472. tables = CFFDict.createTables(layout);
  21473. CFFDict.call(this, tables, strings);
  21474. this.privateDict = null;
  21475. }
  21476. CFFTopDict.prototype = Object.create(CFFDict.prototype);
  21477. return CFFTopDict;
  21478. })();
  21479. var CFFPrivateDict = (function CFFPrivateDictClosure() {
  21480. var layout = [
  21481. [6, 'BlueValues', 'delta', null],
  21482. [7, 'OtherBlues', 'delta', null],
  21483. [8, 'FamilyBlues', 'delta', null],
  21484. [9, 'FamilyOtherBlues', 'delta', null],
  21485. [[12, 9], 'BlueScale', 'num', 0.039625],
  21486. [[12, 10], 'BlueShift', 'num', 7],
  21487. [[12, 11], 'BlueFuzz', 'num', 1],
  21488. [10, 'StdHW', 'num', null],
  21489. [11, 'StdVW', 'num', null],
  21490. [[12, 12], 'StemSnapH', 'delta', null],
  21491. [[12, 13], 'StemSnapV', 'delta', null],
  21492. [[12, 14], 'ForceBold', 'num', 0],
  21493. [[12, 17], 'LanguageGroup', 'num', 0],
  21494. [[12, 18], 'ExpansionFactor', 'num', 0.06],
  21495. [[12, 19], 'initialRandomSeed', 'num', 0],
  21496. [20, 'defaultWidthX', 'num', 0],
  21497. [21, 'nominalWidthX', 'num', 0],
  21498. [19, 'Subrs', 'offset', null]
  21499. ];
  21500. var tables = null;
  21501. function CFFPrivateDict(strings) {
  21502. if (tables === null)
  21503. tables = CFFDict.createTables(layout);
  21504. CFFDict.call(this, tables, strings);
  21505. this.subrsIndex = null;
  21506. }
  21507. CFFPrivateDict.prototype = Object.create(CFFDict.prototype);
  21508. return CFFPrivateDict;
  21509. })();
  21510. var CFFCharsetPredefinedTypes = {
  21511. ISO_ADOBE: 0,
  21512. EXPERT: 1,
  21513. EXPERT_SUBSET: 2
  21514. };
  21515. var CFFCharsetEmbeddedTypes = {
  21516. FORMAT0: 0,
  21517. FORMAT1: 1,
  21518. FORMAT2: 2
  21519. };
  21520. var CFFCharset = (function CFFCharsetClosure() {
  21521. function CFFCharset(predefined, format, charset, raw) {
  21522. this.predefined = predefined;
  21523. this.format = format;
  21524. this.charset = charset;
  21525. this.raw = raw;
  21526. }
  21527. return CFFCharset;
  21528. })();
  21529. var CFFEncodingPredefinedTypes = {
  21530. STANDARD: 0,
  21531. EXPERT: 1
  21532. };
  21533. var CFFCharsetEmbeddedTypes = {
  21534. FORMAT0: 0,
  21535. FORMAT1: 1
  21536. };
  21537. var CFFEncoding = (function CFFEncodingClosure() {
  21538. function CFFEncoding(predefined, format, encoding, raw) {
  21539. this.predefined = predefined;
  21540. this.format = format;
  21541. this.encoding = encoding;
  21542. this.raw = raw;
  21543. }
  21544. return CFFEncoding;
  21545. })();
  21546. var CFFFDSelect = (function CFFFDSelectClosure() {
  21547. function CFFFDSelect(fdSelect, raw) {
  21548. this.fdSelect = fdSelect;
  21549. this.raw = raw;
  21550. }
  21551. return CFFFDSelect;
  21552. })();
  21553. // Helper class to keep track of where an offset is within the data and helps
  21554. // filling in that offset once it's known.
  21555. var CFFOffsetTracker = (function CFFOffsetTrackerClosure() {
  21556. function CFFOffsetTracker() {
  21557. this.offsets = {};
  21558. }
  21559. CFFOffsetTracker.prototype = {
  21560. isTracking: function CFFOffsetTracker_isTracking(key) {
  21561. return key in this.offsets;
  21562. },
  21563. track: function CFFOffsetTracker_track(key, location) {
  21564. if (key in this.offsets)
  21565. error('Already tracking location of ' + key);
  21566. this.offsets[key] = location;
  21567. },
  21568. offset: function CFFOffsetTracker_offset(value) {
  21569. for (var key in this.offsets) {
  21570. this.offsets[key] += value;
  21571. }
  21572. },
  21573. setEntryLocation: function CFFOffsetTracker_setEntryLocation(key,
  21574. values,
  21575. output) {
  21576. if (!(key in this.offsets))
  21577. error('Not tracking location of ' + key);
  21578. var data = output.data;
  21579. var dataOffset = this.offsets[key];
  21580. var size = 5;
  21581. for (var i = 0, ii = values.length; i < ii; ++i) {
  21582. var offset0 = i * size + dataOffset;
  21583. var offset1 = offset0 + 1;
  21584. var offset2 = offset0 + 2;
  21585. var offset3 = offset0 + 3;
  21586. var offset4 = offset0 + 4;
  21587. // It's easy to screw up offsets so perform this sanity check.
  21588. if (data[offset0] !== 0x1d || data[offset1] !== 0 ||
  21589. data[offset2] !== 0 || data[offset3] !== 0 || data[offset4] !== 0)
  21590. error('writing to an offset that is not empty');
  21591. var value = values[i];
  21592. data[offset0] = 0x1d;
  21593. data[offset1] = (value >> 24) & 0xFF;
  21594. data[offset2] = (value >> 16) & 0xFF;
  21595. data[offset3] = (value >> 8) & 0xFF;
  21596. data[offset4] = value & 0xFF;
  21597. }
  21598. }
  21599. };
  21600. return CFFOffsetTracker;
  21601. })();
  21602. // Takes a CFF and converts it to the binary representation.
  21603. var CFFCompiler = (function CFFCompilerClosure() {
  21604. function stringToArray(str) {
  21605. var array = [];
  21606. for (var i = 0, ii = str.length; i < ii; ++i)
  21607. array[i] = str.charCodeAt(i);
  21608. return array;
  21609. }
  21610. function CFFCompiler(cff) {
  21611. this.cff = cff;
  21612. }
  21613. CFFCompiler.prototype = {
  21614. compile: function CFFCompiler_compile() {
  21615. var cff = this.cff;
  21616. var output = {
  21617. data: [],
  21618. length: 0,
  21619. add: function CFFCompiler_add(data) {
  21620. this.data = this.data.concat(data);
  21621. this.length = this.data.length;
  21622. }
  21623. };
  21624. // Compile the five entries that must be in order.
  21625. var header = this.compileHeader(cff.header);
  21626. output.add(header);
  21627. var nameIndex = this.compileNameIndex(cff.names);
  21628. output.add(nameIndex);
  21629. if (cff.isCIDFont) {
  21630. // The spec is unclear on how font matrices should relate to each other
  21631. // when there is one in the main top dict and the sub top dicts.
  21632. // Windows handles this differently than linux and osx so we have to
  21633. // normalize to work on all.
  21634. // Rules based off of some mailing list discussions:
  21635. // - If main font has a matrix and subfont doesn't, use the main matrix.
  21636. // - If no main font matrix and there is a subfont matrix, use the
  21637. // subfont matrix.
  21638. // - If both have matrices, concat together.
  21639. // - If neither have matrices, use default.
  21640. // To make this work on all platforms we move the top matrix into each
  21641. // sub top dict and concat if necessary.
  21642. if (cff.topDict.hasName('FontMatrix')) {
  21643. var base = cff.topDict.getByName('FontMatrix');
  21644. cff.topDict.removeByName('FontMatrix');
  21645. for (var i = 0, ii = cff.fdArray.length; i < ii; i++) {
  21646. var subDict = cff.fdArray[i];
  21647. var matrix = base.slice(0);
  21648. if (subDict.hasName('FontMatrix')) {
  21649. matrix = Util.transform(matrix, subDict.getByName('FontMatrix'));
  21650. }
  21651. subDict.setByName('FontMatrix', matrix);
  21652. }
  21653. }
  21654. }
  21655. var compiled = this.compileTopDicts([cff.topDict],
  21656. output.length,
  21657. cff.isCIDFont);
  21658. output.add(compiled.output);
  21659. var topDictTracker = compiled.trackers[0];
  21660. var stringIndex = this.compileStringIndex(cff.strings.strings);
  21661. output.add(stringIndex);
  21662. var globalSubrIndex = this.compileIndex(cff.globalSubrIndex);
  21663. output.add(globalSubrIndex);
  21664. // Now start on the other entries that have no specfic order.
  21665. if (cff.encoding && cff.topDict.hasName('Encoding')) {
  21666. if (cff.encoding.predefined) {
  21667. topDictTracker.setEntryLocation('Encoding', [cff.encoding.format],
  21668. output);
  21669. } else {
  21670. var encoding = this.compileEncoding(cff.encoding);
  21671. topDictTracker.setEntryLocation('Encoding', [output.length], output);
  21672. output.add(encoding);
  21673. }
  21674. }
  21675. if (cff.charset && cff.topDict.hasName('charset')) {
  21676. if (cff.charset.predefined) {
  21677. topDictTracker.setEntryLocation('charset', [cff.charset.format],
  21678. output);
  21679. } else {
  21680. var charset = this.compileCharset(cff.charset);
  21681. topDictTracker.setEntryLocation('charset', [output.length], output);
  21682. output.add(charset);
  21683. }
  21684. }
  21685. var charStrings = this.compileCharStrings(cff.charStrings);
  21686. topDictTracker.setEntryLocation('CharStrings', [output.length], output);
  21687. output.add(charStrings);
  21688. if (cff.isCIDFont) {
  21689. // For some reason FDSelect must be in front of FDArray on windows. OSX
  21690. // and linux don't seem to care.
  21691. topDictTracker.setEntryLocation('FDSelect', [output.length], output);
  21692. var fdSelect = this.compileFDSelect(cff.fdSelect.raw);
  21693. output.add(fdSelect);
  21694. // It is unclear if the sub font dictionary can have CID related
  21695. // dictionary keys, but the sanitizer doesn't like them so remove them.
  21696. var compiled = this.compileTopDicts(cff.fdArray, output.length, true);
  21697. topDictTracker.setEntryLocation('FDArray', [output.length], output);
  21698. output.add(compiled.output);
  21699. var fontDictTrackers = compiled.trackers;
  21700. this.compilePrivateDicts(cff.fdArray, fontDictTrackers, output);
  21701. }
  21702. this.compilePrivateDicts([cff.topDict], [topDictTracker], output);
  21703. // If the font data ends with INDEX whose object data is zero-length,
  21704. // the sanitizer will bail out. Add a dummy byte to avoid that.
  21705. output.add([0]);
  21706. return output.data;
  21707. },
  21708. encodeNumber: function CFFCompiler_encodeNumber(value) {
  21709. if (parseFloat(value) == parseInt(value, 10) && !isNaN(value)) // isInt
  21710. return this.encodeInteger(value);
  21711. else
  21712. return this.encodeFloat(value);
  21713. },
  21714. encodeFloat: function CFFCompiler_encodeFloat(num) {
  21715. var value = num.toString();
  21716. // rounding inaccurate doubles
  21717. var m = /\.(\d*?)(?:9{5,20}|0{5,20})\d{0,2}(?:e(.+)|$)/.exec(value);
  21718. if (m) {
  21719. var epsilon = parseFloat('1e' + ((m[2] ? +m[2] : 0) + m[1].length));
  21720. value = (Math.round(num * epsilon) / epsilon).toString();
  21721. }
  21722. var nibbles = '';
  21723. for (var i = 0, ii = value.length; i < ii; ++i) {
  21724. var a = value[i];
  21725. if (a === 'e') {
  21726. nibbles += value[++i] === '-' ? 'c' : 'b';
  21727. } else if (a === '.') {
  21728. nibbles += 'a';
  21729. } else if (a === '-') {
  21730. nibbles += 'e';
  21731. } else {
  21732. nibbles += a;
  21733. }
  21734. }
  21735. nibbles += (nibbles.length & 1) ? 'f' : 'ff';
  21736. var out = [30];
  21737. for (var i = 0, ii = nibbles.length; i < ii; i += 2) {
  21738. out.push(parseInt(nibbles.substr(i, 2), 16));
  21739. }
  21740. return out;
  21741. },
  21742. encodeInteger: function CFFCompiler_encodeInteger(value) {
  21743. var code;
  21744. if (value >= -107 && value <= 107) {
  21745. code = [value + 139];
  21746. } else if (value >= 108 && value <= 1131) {
  21747. value = [value - 108];
  21748. code = [(value >> 8) + 247, value & 0xFF];
  21749. } else if (value >= -1131 && value <= -108) {
  21750. value = -value - 108;
  21751. code = [(value >> 8) + 251, value & 0xFF];
  21752. } else if (value >= -32768 && value <= 32767) {
  21753. code = [0x1c, (value >> 8) & 0xFF, value & 0xFF];
  21754. } else {
  21755. code = [0x1d,
  21756. (value >> 24) & 0xFF,
  21757. (value >> 16) & 0xFF,
  21758. (value >> 8) & 0xFF,
  21759. value & 0xFF];
  21760. }
  21761. return code;
  21762. },
  21763. compileHeader: function CFFCompiler_compileHeader(header) {
  21764. return [
  21765. header.major,
  21766. header.minor,
  21767. header.hdrSize,
  21768. header.offSize
  21769. ];
  21770. },
  21771. compileNameIndex: function CFFCompiler_compileNameIndex(names) {
  21772. var nameIndex = new CFFIndex();
  21773. for (var i = 0, ii = names.length; i < ii; ++i)
  21774. nameIndex.add(stringToArray(names[i]));
  21775. return this.compileIndex(nameIndex);
  21776. },
  21777. compileTopDicts: function CFFCompiler_compileTopDicts(dicts,
  21778. length,
  21779. removeCidKeys) {
  21780. var fontDictTrackers = [];
  21781. var fdArrayIndex = new CFFIndex();
  21782. for (var i = 0, ii = dicts.length; i < ii; ++i) {
  21783. var fontDict = dicts[i];
  21784. if (removeCidKeys) {
  21785. fontDict.removeByName('CIDFontVersion');
  21786. fontDict.removeByName('CIDFontRevision');
  21787. fontDict.removeByName('CIDFontType');
  21788. fontDict.removeByName('CIDCount');
  21789. fontDict.removeByName('UIDBase');
  21790. }
  21791. var fontDictTracker = new CFFOffsetTracker();
  21792. var fontDictData = this.compileDict(fontDict, fontDictTracker);
  21793. fontDictTrackers.push(fontDictTracker);
  21794. fdArrayIndex.add(fontDictData);
  21795. fontDictTracker.offset(length);
  21796. }
  21797. fdArrayIndex = this.compileIndex(fdArrayIndex, fontDictTrackers);
  21798. return {
  21799. trackers: fontDictTrackers,
  21800. output: fdArrayIndex
  21801. };
  21802. },
  21803. compilePrivateDicts: function CFFCompiler_compilePrivateDicts(dicts,
  21804. trackers,
  21805. output) {
  21806. for (var i = 0, ii = dicts.length; i < ii; ++i) {
  21807. var fontDict = dicts[i];
  21808. assert(fontDict.privateDict && fontDict.hasName('Private'),
  21809. 'There must be an private dictionary.');
  21810. var privateDict = fontDict.privateDict;
  21811. var privateDictTracker = new CFFOffsetTracker();
  21812. var privateDictData = this.compileDict(privateDict, privateDictTracker);
  21813. var outputLength = output.length;
  21814. privateDictTracker.offset(outputLength);
  21815. if (!privateDictData.length) {
  21816. // The private dictionary was empty, set the output length to zero to
  21817. // ensure the offset length isn't out of bounds in the eyes of the
  21818. // sanitizer.
  21819. outputLength = 0;
  21820. }
  21821. trackers[i].setEntryLocation('Private',
  21822. [privateDictData.length, outputLength],
  21823. output);
  21824. output.add(privateDictData);
  21825. if (privateDict.subrsIndex && privateDict.hasName('Subrs')) {
  21826. var subrs = this.compileIndex(privateDict.subrsIndex);
  21827. privateDictTracker.setEntryLocation('Subrs', [privateDictData.length],
  21828. output);
  21829. output.add(subrs);
  21830. }
  21831. }
  21832. },
  21833. compileDict: function CFFCompiler_compileDict(dict, offsetTracker) {
  21834. var out = [];
  21835. // The dictionary keys must be in a certain order.
  21836. var order = dict.order;
  21837. for (var i = 0; i < order.length; ++i) {
  21838. var key = order[i];
  21839. if (!(key in dict.values))
  21840. continue;
  21841. var values = dict.values[key];
  21842. var types = dict.types[key];
  21843. if (!isArray(types)) types = [types];
  21844. if (!isArray(values)) values = [values];
  21845. // Remove any empty dict values.
  21846. if (values.length === 0)
  21847. continue;
  21848. for (var j = 0, jj = types.length; j < jj; ++j) {
  21849. var type = types[j];
  21850. var value = values[j];
  21851. switch (type) {
  21852. case 'num':
  21853. case 'sid':
  21854. out = out.concat(this.encodeNumber(value));
  21855. break;
  21856. case 'offset':
  21857. // For offsets we just insert a 32bit integer so we don't have to
  21858. // deal with figuring out the length of the offset when it gets
  21859. // replaced later on by the compiler.
  21860. var name = dict.keyToNameMap[key];
  21861. // Some offsets have the offset and the length, so just record the
  21862. // position of the first one.
  21863. if (!offsetTracker.isTracking(name))
  21864. offsetTracker.track(name, out.length);
  21865. out = out.concat([0x1d, 0, 0, 0, 0]);
  21866. break;
  21867. case 'array':
  21868. case 'delta':
  21869. out = out.concat(this.encodeNumber(value));
  21870. for (var k = 1, kk = values.length; k < kk; ++k)
  21871. out = out.concat(this.encodeNumber(values[k]));
  21872. break;
  21873. default:
  21874. error('Unknown data type of ' + type);
  21875. break;
  21876. }
  21877. }
  21878. out = out.concat(dict.opcodes[key]);
  21879. }
  21880. return out;
  21881. },
  21882. compileStringIndex: function CFFCompiler_compileStringIndex(strings) {
  21883. var stringIndex = new CFFIndex();
  21884. for (var i = 0, ii = strings.length; i < ii; ++i)
  21885. stringIndex.add(stringToArray(strings[i]));
  21886. return this.compileIndex(stringIndex);
  21887. },
  21888. compileGlobalSubrIndex: function CFFCompiler_compileGlobalSubrIndex() {
  21889. var globalSubrIndex = this.cff.globalSubrIndex;
  21890. this.out.writeByteArray(this.compileIndex(globalSubrIndex));
  21891. },
  21892. compileCharStrings: function CFFCompiler_compileCharStrings(charStrings) {
  21893. return this.compileIndex(charStrings);
  21894. },
  21895. compileCharset: function CFFCompiler_compileCharset(charset) {
  21896. return this.compileTypedArray(charset.raw);
  21897. },
  21898. compileEncoding: function CFFCompiler_compileEncoding(encoding) {
  21899. return this.compileTypedArray(encoding.raw);
  21900. },
  21901. compileFDSelect: function CFFCompiler_compileFDSelect(fdSelect) {
  21902. return this.compileTypedArray(fdSelect);
  21903. },
  21904. compileTypedArray: function CFFCompiler_compileTypedArray(data) {
  21905. var out = [];
  21906. for (var i = 0, ii = data.length; i < ii; ++i)
  21907. out[i] = data[i];
  21908. return out;
  21909. },
  21910. compileIndex: function CFFCompiler_compileIndex(index, trackers) {
  21911. trackers = trackers || [];
  21912. var objects = index.objects;
  21913. // First 2 bytes contains the number of objects contained into this index
  21914. var count = objects.length;
  21915. // If there is no object, just create an index. This technically
  21916. // should just be [0, 0] but OTS has an issue with that.
  21917. if (count === 0)
  21918. return [0, 0, 0];
  21919. var data = [(count >> 8) & 0xFF, count & 0xff];
  21920. var lastOffset = 1;
  21921. for (var i = 0; i < count; ++i)
  21922. lastOffset += objects[i].length;
  21923. var offsetSize;
  21924. if (lastOffset < 0x100)
  21925. offsetSize = 1;
  21926. else if (lastOffset < 0x10000)
  21927. offsetSize = 2;
  21928. else if (lastOffset < 0x1000000)
  21929. offsetSize = 3;
  21930. else
  21931. offsetSize = 4;
  21932. // Next byte contains the offset size use to reference object in the file
  21933. data.push(offsetSize);
  21934. // Add another offset after this one because we need a new offset
  21935. var relativeOffset = 1;
  21936. for (var i = 0; i < count + 1; i++) {
  21937. if (offsetSize === 1) {
  21938. data.push(relativeOffset & 0xFF);
  21939. } else if (offsetSize === 2) {
  21940. data.push((relativeOffset >> 8) & 0xFF,
  21941. relativeOffset & 0xFF);
  21942. } else if (offsetSize === 3) {
  21943. data.push((relativeOffset >> 16) & 0xFF,
  21944. (relativeOffset >> 8) & 0xFF,
  21945. relativeOffset & 0xFF);
  21946. } else {
  21947. data.push((relativeOffset >>> 24) & 0xFF,
  21948. (relativeOffset >> 16) & 0xFF,
  21949. (relativeOffset >> 8) & 0xFF,
  21950. relativeOffset & 0xFF);
  21951. }
  21952. if (objects[i])
  21953. relativeOffset += objects[i].length;
  21954. }
  21955. var offset = data.length;
  21956. for (var i = 0; i < count; i++) {
  21957. // Notify the tracker where the object will be offset in the data.
  21958. if (trackers[i])
  21959. trackers[i].offset(data.length);
  21960. for (var j = 0, jj = objects[i].length; j < jj; j++)
  21961. data.push(objects[i][j]);
  21962. }
  21963. return data;
  21964. }
  21965. };
  21966. return CFFCompiler;
  21967. })();
  21968. // Workaround for seac on Windows.
  21969. (function checkSeacSupport() {
  21970. if (/Windows/.test(navigator.userAgent)) {
  21971. SEAC_ANALYSIS_ENABLED = true;
  21972. }
  21973. })();
  21974. // Workaround for Private Use Area characters in Chrome on Windows
  21975. // http://code.google.com/p/chromium/issues/detail?id=122465
  21976. // https://github.com/mozilla/pdf.js/issues/1689
  21977. (function checkChromeWindows() {
  21978. if (/Windows.*Chrome/.test(navigator.userAgent)) {
  21979. SYMBOLIC_FONT_GLYPH_OFFSET = 0xF100;
  21980. }
  21981. })();
  21982. var FontRendererFactory = (function FontRendererFactoryClosure() {
  21983. function getLong(data, offset) {
  21984. return (data[offset] << 24) | (data[offset + 1] << 16) |
  21985. (data[offset + 2] << 8) | data[offset + 3];
  21986. }
  21987. function getUshort(data, offset) {
  21988. return (data[offset] << 8) | data[offset + 1];
  21989. }
  21990. function parseCmap(data, start, end) {
  21991. var offset = getUshort(data, start + 2) === 1 ? getLong(data, start + 8) :
  21992. getLong(data, start + 16);
  21993. var format = getUshort(data, start + offset);
  21994. if (format === 4) {
  21995. var length = getUshort(data, start + offset + 2);
  21996. var segCount = getUshort(data, start + offset + 6) >> 1;
  21997. var p = start + offset + 14;
  21998. var ranges = [];
  21999. for (var i = 0; i < segCount; i++, p += 2) {
  22000. ranges[i] = {end: getUshort(data, p)};
  22001. }
  22002. p += 2;
  22003. for (var i = 0; i < segCount; i++, p += 2) {
  22004. ranges[i].start = getUshort(data, p);
  22005. }
  22006. for (var i = 0; i < segCount; i++, p += 2) {
  22007. ranges[i].idDelta = getUshort(data, p);
  22008. }
  22009. for (var i = 0; i < segCount; i++, p += 2) {
  22010. var idOffset = getUshort(data, p);
  22011. if (idOffset === 0) {
  22012. continue;
  22013. }
  22014. ranges[i].ids = [];
  22015. for (var j = 0, jj = ranges[i].end - ranges[i].start + 1; j < jj; j++) {
  22016. ranges[i].ids[j] = getUshort(data, p + idOffset);
  22017. idOffset += 2;
  22018. }
  22019. }
  22020. return ranges;
  22021. } else if (format === 12) {
  22022. var length = getLong(data, start + offset + 4);
  22023. var groups = getLong(data, start + offset + 12);
  22024. var p = start + offset + 16;
  22025. var ranges = [];
  22026. for (var i = 0; i < groups; i++) {
  22027. ranges.push({
  22028. start: getLong(data, p),
  22029. end: getLong(data, p + 4),
  22030. idDelta: getLong(data, p + 8) - getLong(data, p)
  22031. });
  22032. p += 12;
  22033. }
  22034. return ranges;
  22035. }
  22036. error('not supported cmap: ' + format);
  22037. }
  22038. function parseCff(data, start, end) {
  22039. var properties = {};
  22040. var parser = new CFFParser(
  22041. new Stream(data, start, end - start), properties);
  22042. var cff = parser.parse();
  22043. return {
  22044. glyphs: cff.charStrings.objects,
  22045. subrs: cff.topDict.privateDict && cff.topDict.privateDict.subrsIndex &&
  22046. cff.topDict.privateDict.subrsIndex.objects,
  22047. gsubrs: cff.globalSubrIndex && cff.globalSubrIndex.objects
  22048. };
  22049. }
  22050. function parseGlyfTable(glyf, loca, isGlyphLocationsLong) {
  22051. var itemSize, itemDecode;
  22052. if (isGlyphLocationsLong) {
  22053. itemSize = 4;
  22054. itemDecode = function fontItemDecodeLong(data, offset) {
  22055. return (data[offset] << 24) | (data[offset + 1] << 16) |
  22056. (data[offset + 2] << 8) | data[offset + 3];
  22057. };
  22058. } else {
  22059. itemSize = 2;
  22060. itemDecode = function fontItemDecode(data, offset) {
  22061. return (data[offset] << 9) | (data[offset + 1] << 1);
  22062. };
  22063. }
  22064. var glyphs = [];
  22065. var startOffset = itemDecode(loca, 0);
  22066. for (var j = itemSize; j < loca.length; j += itemSize) {
  22067. var endOffset = itemDecode(loca, j);
  22068. glyphs.push(glyf.subarray(startOffset, endOffset));
  22069. startOffset = endOffset;
  22070. }
  22071. return glyphs;
  22072. }
  22073. function lookupCmap(ranges, unicode) {
  22074. var code = unicode.charCodeAt(0);
  22075. var l = 0, r = ranges.length - 1;
  22076. while (l < r) {
  22077. var c = (l + r + 1) >> 1;
  22078. if (code < ranges[c].start) {
  22079. r = c - 1;
  22080. } else {
  22081. l = c;
  22082. }
  22083. }
  22084. if (ranges[l].start <= code && code <= ranges[l].end) {
  22085. return (ranges[l].idDelta + (ranges[l].ids ?
  22086. ranges[l].ids[code - ranges[l].start] : code)) & 0xFFFF;
  22087. }
  22088. return 0;
  22089. }
  22090. function compileGlyf(code, js, font) {
  22091. function moveTo(x, y) {
  22092. js.push('c.moveTo(' + x + ',' + y + ');');
  22093. }
  22094. function lineTo(x, y) {
  22095. js.push('c.lineTo(' + x + ',' + y + ');');
  22096. }
  22097. function quadraticCurveTo(xa, ya, x, y) {
  22098. js.push('c.quadraticCurveTo(' + xa + ',' + ya + ',' +
  22099. x + ',' + y + ');');
  22100. }
  22101. var i = 0;
  22102. var numberOfContours = ((code[i] << 24) | (code[i + 1] << 16)) >> 16;
  22103. var xMin = ((code[i + 2] << 24) | (code[i + 3] << 16)) >> 16;
  22104. var yMin = ((code[i + 4] << 24) | (code[i + 5] << 16)) >> 16;
  22105. var xMax = ((code[i + 6] << 24) | (code[i + 7] << 16)) >> 16;
  22106. var yMax = ((code[i + 8] << 24) | (code[i + 9] << 16)) >> 16;
  22107. i += 10;
  22108. if (numberOfContours < 0) {
  22109. // composite glyph
  22110. var x = 0, y = 0;
  22111. do {
  22112. var flags = (code[i] << 8) | code[i + 1];
  22113. var glyphIndex = (code[i + 2] << 8) | code[i + 3];
  22114. i += 4;
  22115. var arg1, arg2;
  22116. if ((flags & 0x01)) {
  22117. arg1 = ((code[i] << 24) | (code[i + 1] << 16)) >> 16;
  22118. arg2 = ((code[i + 2] << 24) | (code[i + 3] << 16)) >> 16;
  22119. i += 4;
  22120. } else {
  22121. arg1 = code[i++]; arg2 = code[i++];
  22122. }
  22123. if ((flags & 0x02)) {
  22124. x = arg1;
  22125. y = arg2;
  22126. } else {
  22127. x = 0; y = 0; // TODO "they are points" ?
  22128. }
  22129. var scaleX = 1, scaleY = 1, scale01 = 0, scale10 = 0;
  22130. if ((flags & 0x08)) {
  22131. scaleX =
  22132. scaleY = ((code[i] << 24) | (code[i + 1] << 16)) / 1073741824;
  22133. i += 2;
  22134. } else if ((flags & 0x40)) {
  22135. scaleX = ((code[i] << 24) | (code[i + 1] << 16)) / 1073741824;
  22136. scaleY = ((code[i + 2] << 24) | (code[i + 3] << 16)) / 1073741824;
  22137. i += 4;
  22138. } else if ((flags & 0x80)) {
  22139. scaleX = ((code[i] << 24) | (code[i + 1] << 16)) / 1073741824;
  22140. scale01 = ((code[i + 2] << 24) | (code[i + 3] << 16)) / 1073741824;
  22141. scale10 = ((code[i + 4] << 24) | (code[i + 5] << 16)) / 1073741824;
  22142. scaleY = ((code[i + 6] << 24) | (code[i + 7] << 16)) / 1073741824;
  22143. i += 8;
  22144. }
  22145. var subglyph = font.glyphs[glyphIndex];
  22146. if (subglyph) {
  22147. js.push('c.save();');
  22148. js.push('c.transform(' + scaleX + ',' + scale01 + ',' +
  22149. scale10 + ',' + scaleY + ',' + x + ',' + y + ');');
  22150. compileGlyf(subglyph, js, font);
  22151. js.push('c.restore();');
  22152. }
  22153. } while ((flags & 0x20));
  22154. } else {
  22155. // simple glyph
  22156. var endPtsOfContours = [];
  22157. for (var j = 0; j < numberOfContours; j++) {
  22158. endPtsOfContours.push((code[i] << 8) | code[i + 1]);
  22159. i += 2;
  22160. }
  22161. var instructionLength = (code[i] << 8) | code[i + 1];
  22162. i += 2 + instructionLength; // skipping the instructions
  22163. var numberOfPoints = endPtsOfContours[endPtsOfContours.length - 1] + 1;
  22164. var points = [];
  22165. while (points.length < numberOfPoints) {
  22166. var flags = code[i++], repeat = 1;
  22167. if ((flags & 0x08)) {
  22168. repeat += code[i++];
  22169. }
  22170. while (repeat-- > 0) {
  22171. points.push({flags: flags});
  22172. }
  22173. }
  22174. var x = 0, y = 0;
  22175. for (var j = 0; j < numberOfPoints; j++) {
  22176. switch (points[j].flags & 0x12) {
  22177. case 0x00:
  22178. x += ((code[i] << 24) | (code[i + 1] << 16)) >> 16;
  22179. i += 2;
  22180. break;
  22181. case 0x02:
  22182. x -= code[i++];
  22183. break;
  22184. case 0x12:
  22185. x += code[i++];
  22186. break;
  22187. }
  22188. points[j].x = x;
  22189. }
  22190. for (var j = 0; j < numberOfPoints; j++) {
  22191. switch (points[j].flags & 0x24) {
  22192. case 0x00:
  22193. y += ((code[i] << 24) | (code[i + 1] << 16)) >> 16;
  22194. i += 2;
  22195. break;
  22196. case 0x04:
  22197. y -= code[i++];
  22198. break;
  22199. case 0x24:
  22200. y += code[i++];
  22201. break;
  22202. }
  22203. points[j].y = y;
  22204. }
  22205. var startPoint = 0;
  22206. for (var i = 0; i < numberOfContours; i++) {
  22207. var endPoint = endPtsOfContours[i];
  22208. // contours might have implicit points, which is located in the middle
  22209. // between two neighboring off-curve points
  22210. var contour = points.slice(startPoint, endPoint + 1);
  22211. if ((contour[0].flags & 1)) {
  22212. contour.push(contour[0]); // using start point at the contour end
  22213. } else if ((contour[contour.length - 1].flags & 1)) {
  22214. // first is off-curve point, trying to use one from the end
  22215. contour.unshift(contour[contour.length - 1]);
  22216. } else {
  22217. // start and end are off-curve points, creating implicit one
  22218. var p = {
  22219. flags: 1,
  22220. x: (contour[0].x + contour[contour.length - 1].x) / 2,
  22221. y: (contour[0].y + contour[contour.length - 1].y) / 2
  22222. };
  22223. contour.unshift(p);
  22224. contour.push(p);
  22225. }
  22226. moveTo(contour[0].x, contour[0].y);
  22227. for (var j = 1, jj = contour.length; j < jj; j++) {
  22228. if ((contour[j].flags & 1)) {
  22229. lineTo(contour[j].x, contour[j].y);
  22230. } else if ((contour[j + 1].flags & 1)){
  22231. quadraticCurveTo(contour[j].x, contour[j].y,
  22232. contour[j + 1].x, contour[j + 1].y);
  22233. j++;
  22234. } else {
  22235. quadraticCurveTo(contour[j].x, contour[j].y,
  22236. (contour[j].x + contour[j + 1].x) / 2,
  22237. (contour[j].y + contour[j + 1].y) / 2);
  22238. }
  22239. }
  22240. startPoint = endPoint + 1;
  22241. }
  22242. }
  22243. }
  22244. function compileCharString(code, js, font) {
  22245. var stack = [];
  22246. var x = 0, y = 0;
  22247. var stems = 0;
  22248. function moveTo(x, y) {
  22249. js.push('c.moveTo(' + x + ',' + y + ');');
  22250. }
  22251. function lineTo(x, y) {
  22252. js.push('c.lineTo(' + x + ',' + y + ');');
  22253. }
  22254. function bezierCurveTo(x1, y1, x2, y2, x, y) {
  22255. js.push('c.bezierCurveTo(' + x1 + ',' + y1 + ',' + x2 + ',' + y2 + ',' +
  22256. x + ',' + y + ');');
  22257. }
  22258. function parse(code) {
  22259. var i = 0;
  22260. while (i < code.length) {
  22261. var stackClean = false;
  22262. var v = code[i++];
  22263. switch (v) {
  22264. case 1: // hstem
  22265. stems += stack.length >> 1;
  22266. stackClean = true;
  22267. break;
  22268. case 3: // vstem
  22269. stems += stack.length >> 1;
  22270. stackClean = true;
  22271. break;
  22272. case 4: // vmoveto
  22273. y += stack.pop();
  22274. moveTo(x, y);
  22275. stackClean = true;
  22276. break;
  22277. case 5: // rlineto
  22278. while (stack.length > 0) {
  22279. x += stack.shift();
  22280. y += stack.shift();
  22281. lineTo(x, y);
  22282. }
  22283. break;
  22284. case 6: // hlineto
  22285. while (stack.length > 0) {
  22286. x += stack.shift();
  22287. lineTo(x, y);
  22288. if (stack.length === 0) {
  22289. break;
  22290. }
  22291. y += stack.shift();
  22292. lineTo(x, y);
  22293. }
  22294. break;
  22295. case 7: // vlineto
  22296. while (stack.length > 0) {
  22297. y += stack.shift();
  22298. lineTo(x, y);
  22299. if (stack.length === 0) {
  22300. break;
  22301. }
  22302. x += stack.shift();
  22303. lineTo(x, y);
  22304. }
  22305. break;
  22306. case 8: // rrcurveto
  22307. while (stack.length > 0) {
  22308. var xa = x + stack.shift(), ya = y + stack.shift();
  22309. var xb = xa + stack.shift(), yb = ya + stack.shift();
  22310. x = xb + stack.shift(); y = yb + stack.shift();
  22311. bezierCurveTo(xa, ya, xb, yb, x, y);
  22312. }
  22313. break;
  22314. case 10: // callsubr
  22315. var n = stack.pop() + font.subrsBias;
  22316. var subrCode = font.subrs[n];
  22317. if (subrCode) {
  22318. parse(subrCode);
  22319. }
  22320. break;
  22321. case 11: // return
  22322. return;
  22323. case 12:
  22324. v = code[i++];
  22325. switch (v) {
  22326. case 34: // flex
  22327. var xa = x + stack.shift();
  22328. var xb = xa + stack.shift(), y1 = y + stack.shift();
  22329. x = xb + stack.shift();
  22330. bezierCurveTo(xa, y, xb, y1, x, y1);
  22331. var xa = x + stack.shift();
  22332. var xb = xa + stack.shift();
  22333. x = xb + stack.shift();
  22334. bezierCurveTo(xa, y1, xb, y, x, y);
  22335. break;
  22336. case 35: // flex
  22337. var xa = x + stack.shift(), ya = y + stack.shift();
  22338. var xb = xa + stack.shift(), yb = ya + stack.shift();
  22339. x = xb + stack.shift(); y = yb + stack.shift();
  22340. bezierCurveTo(xa, ya, xb, yb, x, y);
  22341. var xa = x + stack.shift(), ya = y + stack.shift();
  22342. var xb = xa + stack.shift(), yb = ya + stack.shift();
  22343. x = xb + stack.shift(); y = yb + stack.shift();
  22344. bezierCurveTo(xa, ya, xb, yb, x, y);
  22345. stack.pop(); // fd
  22346. break;
  22347. case 36: // hflex1
  22348. var xa = x + stack.shift(), y1 = y + stack.shift();
  22349. var xb = xa + stack.shift(), y2 = y1 + stack.shift();
  22350. x = xb + stack.shift();
  22351. bezierCurveTo(xa, y1, xb, y2, x, y2);
  22352. var xa = x + stack.shift();
  22353. var xb = xa + stack.shift(), y3 = y2 + stack.shift();
  22354. x = xb + stack.shift();
  22355. bezierCurveTo(xa, y2, xb, y3, x, y);
  22356. break;
  22357. case 37: // flex1
  22358. var x0 = x, y0 = y;
  22359. var xa = x + stack.shift(), ya = y + stack.shift();
  22360. var xb = xa + stack.shift(), yb = ya + stack.shift();
  22361. x = xb + stack.shift(); y = yb + stack.shift();
  22362. bezierCurveTo(xa, ya, xb, yb, x, y);
  22363. var xa = x + stack.shift(), ya = y + stack.shift();
  22364. var xb = xa + stack.shift(), yb = ya + stack.shift();
  22365. x = xb; y = yb;
  22366. if (Math.abs(x - x0) > Math.abs(y - y0))
  22367. x += stack.shift();
  22368. else
  22369. y += stack.shift();
  22370. bezierCurveTo(xa, ya, xb, yb, x, y);
  22371. break;
  22372. default:
  22373. error('unknown operator: 12 ' + v);
  22374. }
  22375. break;
  22376. case 14: // endchar
  22377. if (stack.length >= 4) {
  22378. var achar = stack.pop();
  22379. var bchar = stack.pop();
  22380. y = stack.pop();
  22381. x = stack.pop();
  22382. js.push('c.save();');
  22383. js.push('c.translate('+ x + ',' + y + ');');
  22384. var gid = lookupCmap(font.cmap, String.fromCharCode(
  22385. font.glyphNameMap[Encodings.StandardEncoding[achar]]));
  22386. compileCharString(font.glyphs[gid], js, font);
  22387. js.push('c.restore();');
  22388. gid = lookupCmap(font.cmap, String.fromCharCode(
  22389. font.glyphNameMap[Encodings.StandardEncoding[bchar]]));
  22390. compileCharString(font.glyphs[gid], js, font);
  22391. }
  22392. return;
  22393. case 18: // hstemhm
  22394. stems += stack.length >> 1;
  22395. stackClean = true;
  22396. break;
  22397. case 19: // hintmask
  22398. stems += stack.length >> 1;
  22399. i += (stems + 7) >> 3;
  22400. stackClean = true;
  22401. break;
  22402. case 20: // cntrmask
  22403. stems += stack.length >> 1;
  22404. i += (stems + 7) >> 3;
  22405. stackClean = true;
  22406. break;
  22407. case 21: // rmoveto
  22408. y += stack.pop();
  22409. x += stack.pop();
  22410. moveTo(x, y);
  22411. stackClean = true;
  22412. break;
  22413. case 22: // hmoveto
  22414. x += stack.pop();
  22415. moveTo(x, y);
  22416. stackClean = true;
  22417. break;
  22418. case 23: // vstemhm
  22419. stems += stack.length >> 1;
  22420. stackClean = true;
  22421. break;
  22422. case 24: // rcurveline
  22423. while (stack.length > 2) {
  22424. var xa = x + stack.shift(), ya = y + stack.shift();
  22425. var xb = xa + stack.shift(), yb = ya + stack.shift();
  22426. x = xb + stack.shift(); y = yb + stack.shift();
  22427. bezierCurveTo(xa, ya, xb, yb, x, y);
  22428. }
  22429. x += stack.shift();
  22430. y += stack.shift();
  22431. lineTo(x, y);
  22432. break;
  22433. case 25: // rlinecurve
  22434. while (stack.length > 6) {
  22435. x += stack.shift();
  22436. y += stack.shift();
  22437. lineTo(x, y);
  22438. }
  22439. var xa = x + stack.shift(), ya = y + stack.shift();
  22440. var xb = xa + stack.shift(), yb = ya + stack.shift();
  22441. x = xb + stack.shift(); y = yb + stack.shift();
  22442. bezierCurveTo(xa, ya, xb, yb, x, y);
  22443. break;
  22444. case 26: // vvcurveto
  22445. if (stack.length % 2) {
  22446. x += stack.shift();
  22447. }
  22448. while (stack.length > 0) {
  22449. var xa = x, ya = y + stack.shift();
  22450. var xb = xa + stack.shift(), yb = ya + stack.shift();
  22451. x = xb; y = yb + stack.shift();
  22452. bezierCurveTo(xa, ya, xb, yb, x, y);
  22453. }
  22454. break;
  22455. case 27: // hhcurveto
  22456. if (stack.length % 2) {
  22457. y += stack.shift();
  22458. }
  22459. while (stack.length > 0) {
  22460. var xa = x + stack.shift(), ya = y;
  22461. var xb = xa + stack.shift(), yb = ya + stack.shift();
  22462. x = xb + stack.shift(); y = yb;
  22463. bezierCurveTo(xa, ya, xb, yb, x, y);
  22464. }
  22465. break;
  22466. case 28:
  22467. stack.push(((code[i] << 24) | (code[i + 1] << 16)) >> 16);
  22468. i += 2;
  22469. break;
  22470. case 29: // callgsubr
  22471. var n = stack.pop() + font.gsubrsBias;
  22472. var subrCode = font.gsubrs[n];
  22473. if (subrCode) {
  22474. parse(subrCode);
  22475. }
  22476. break;
  22477. case 30: // vhcurveto
  22478. while (stack.length > 0) {
  22479. var xa = x, ya = y + stack.shift();
  22480. var xb = xa + stack.shift(), yb = ya + stack.shift();
  22481. x = xb + stack.shift();
  22482. y = yb + (stack.length === 1 ? stack.shift() : 0);
  22483. bezierCurveTo(xa, ya, xb, yb, x, y);
  22484. if (stack.length === 0) {
  22485. break;
  22486. }
  22487. var xa = x + stack.shift(), ya = y;
  22488. var xb = xa + stack.shift(), yb = ya + stack.shift();
  22489. y = yb + stack.shift();
  22490. x = xb + (stack.length === 1 ? stack.shift() : 0);
  22491. bezierCurveTo(xa, ya, xb, yb, x, y);
  22492. }
  22493. break;
  22494. case 31: // hvcurveto
  22495. while (stack.length > 0) {
  22496. var xa = x + stack.shift(), ya = y;
  22497. var xb = xa + stack.shift(), yb = ya + stack.shift();
  22498. y = yb + stack.shift();
  22499. x = xb + (stack.length === 1 ? stack.shift() : 0);
  22500. bezierCurveTo(xa, ya, xb, yb, x, y);
  22501. if (stack.length === 0) {
  22502. break;
  22503. }
  22504. var xa = x, ya = y + stack.shift();
  22505. var xb = xa + stack.shift(), yb = ya + stack.shift();
  22506. x = xb + stack.shift();
  22507. y = yb + (stack.length === 1 ? stack.shift() : 0);
  22508. bezierCurveTo(xa, ya, xb, yb, x, y);
  22509. }
  22510. break;
  22511. default:
  22512. if (v < 32)
  22513. error('unknown operator: ' + v);
  22514. if (v < 247)
  22515. stack.push(v - 139);
  22516. else if (v < 251)
  22517. stack.push((v - 247) * 256 + code[i++] + 108);
  22518. else if (v < 255)
  22519. stack.push(-(v - 251) * 256 - code[i++] - 108);
  22520. else {
  22521. stack.push(((code[i] << 24) | (code[i + 1] << 16) |
  22522. (code[i + 2] << 8) | code[i + 3]) / 65536);
  22523. i += 4;
  22524. }
  22525. break;
  22526. }
  22527. if (stackClean) {
  22528. stack.length = 0;
  22529. }
  22530. }
  22531. }
  22532. parse(code);
  22533. }
  22534. var noop = '';
  22535. function CompiledFont(fontMatrix) {
  22536. this.compiledGlyphs = {};
  22537. this.fontMatrix = fontMatrix;
  22538. }
  22539. CompiledFont.prototype = {
  22540. getPathJs: function (unicode) {
  22541. var gid = lookupCmap(this.cmap, unicode);
  22542. var fn = this.compiledGlyphs[gid];
  22543. if (!fn) {
  22544. this.compiledGlyphs[gid] = fn = this.compileGlyph(this.glyphs[gid]);
  22545. }
  22546. return fn;
  22547. },
  22548. compileGlyph: function (code) {
  22549. if (!code || code.length === 0 || code[0] === 14) {
  22550. return noop;
  22551. }
  22552. var js = [];
  22553. js.push('c.save();');
  22554. js.push('c.transform(' + this.fontMatrix.join(',') + ');');
  22555. js.push('c.scale(size, -size);');
  22556. this.compileGlyphImpl(code, js);
  22557. js.push('c.restore();');
  22558. return js.join('\n');
  22559. },
  22560. compileGlyphImpl: function () {
  22561. error('Children classes should implement this.');
  22562. },
  22563. hasBuiltPath: function (unicode) {
  22564. var gid = lookupCmap(this.cmap, unicode);
  22565. return gid in this.compiledGlyphs;
  22566. }
  22567. };
  22568. function TrueTypeCompiled(glyphs, cmap, fontMatrix) {
  22569. fontMatrix = fontMatrix || [0.000488, 0, 0, 0.000488, 0, 0];
  22570. CompiledFont.call(this, fontMatrix);
  22571. this.glyphs = glyphs;
  22572. this.cmap = cmap;
  22573. this.compiledGlyphs = [];
  22574. }
  22575. Util.inherit(TrueTypeCompiled, CompiledFont, {
  22576. compileGlyphImpl: function (code, js) {
  22577. compileGlyf(code, js, this);
  22578. }
  22579. });
  22580. function Type2Compiled(cffInfo, cmap, fontMatrix, glyphNameMap) {
  22581. fontMatrix = fontMatrix || [0.001, 0, 0, 0.001, 0, 0];
  22582. CompiledFont.call(this, fontMatrix);
  22583. this.glyphs = cffInfo.glyphs;
  22584. this.gsubrs = cffInfo.gsubrs || [];
  22585. this.subrs = cffInfo.subrs || [];
  22586. this.cmap = cmap;
  22587. this.glyphNameMap = glyphNameMap || GlyphsUnicode;
  22588. this.compiledGlyphs = [];
  22589. this.gsubrsBias = this.gsubrs.length < 1240 ? 107 :
  22590. this.gsubrs.length < 33900 ? 1131 : 32768;
  22591. this.subrsBias = this.subrs.length < 1240 ? 107 :
  22592. this.subrs.length < 33900 ? 1131 : 32768;
  22593. }
  22594. Util.inherit(Type2Compiled, CompiledFont, {
  22595. compileGlyphImpl: function (code, js) {
  22596. compileCharString(code, js, this);
  22597. }
  22598. });
  22599. return {
  22600. create: function FontRendererFactory_create(font) {
  22601. var data = new Uint8Array(font.data);
  22602. var cmap, glyf, loca, cff, indexToLocFormat, unitsPerEm;
  22603. var numTables = getUshort(data, 4);
  22604. for (var i = 0, p = 12; i < numTables; i++, p += 16) {
  22605. var tag = String.fromCharCode.apply(null, data.subarray(p, p + 4));
  22606. var offset = getLong(data, p + 8);
  22607. var length = getLong(data, p + 12);
  22608. switch (tag) {
  22609. case 'cmap':
  22610. cmap = parseCmap(data, offset, offset + length);
  22611. break;
  22612. case 'glyf':
  22613. glyf = data.subarray(offset, offset + length);
  22614. break;
  22615. case 'loca':
  22616. loca = data.subarray(offset, offset + length);
  22617. break;
  22618. case 'head':
  22619. unitsPerEm = getUshort(data, offset + 18);
  22620. indexToLocFormat = getUshort(data, offset + 50);
  22621. break;
  22622. case 'CFF ':
  22623. cff = parseCff(data, offset, offset + length);
  22624. break;
  22625. }
  22626. }
  22627. if (glyf) {
  22628. var fontMatrix = !unitsPerEm ? font.fontMatrix :
  22629. [1 / unitsPerEm, 0, 0, 1 / unitsPerEm, 0, 0];
  22630. return new TrueTypeCompiled(
  22631. parseGlyfTable(glyf, loca, indexToLocFormat), cmap, fontMatrix);
  22632. } else {
  22633. return new Type2Compiled(cff, cmap, font.fontMatrix, font.glyphNameMap);
  22634. }
  22635. }
  22636. };
  22637. })();
  22638. var GlyphsUnicode = {
  22639. A: 0x0041,
  22640. AE: 0x00C6,
  22641. AEacute: 0x01FC,
  22642. AEmacron: 0x01E2,
  22643. AEsmall: 0xF7E6,
  22644. Aacute: 0x00C1,
  22645. Aacutesmall: 0xF7E1,
  22646. Abreve: 0x0102,
  22647. Abreveacute: 0x1EAE,
  22648. Abrevecyrillic: 0x04D0,
  22649. Abrevedotbelow: 0x1EB6,
  22650. Abrevegrave: 0x1EB0,
  22651. Abrevehookabove: 0x1EB2,
  22652. Abrevetilde: 0x1EB4,
  22653. Acaron: 0x01CD,
  22654. Acircle: 0x24B6,
  22655. Acircumflex: 0x00C2,
  22656. Acircumflexacute: 0x1EA4,
  22657. Acircumflexdotbelow: 0x1EAC,
  22658. Acircumflexgrave: 0x1EA6,
  22659. Acircumflexhookabove: 0x1EA8,
  22660. Acircumflexsmall: 0xF7E2,
  22661. Acircumflextilde: 0x1EAA,
  22662. Acute: 0xF6C9,
  22663. Acutesmall: 0xF7B4,
  22664. Acyrillic: 0x0410,
  22665. Adblgrave: 0x0200,
  22666. Adieresis: 0x00C4,
  22667. Adieresiscyrillic: 0x04D2,
  22668. Adieresismacron: 0x01DE,
  22669. Adieresissmall: 0xF7E4,
  22670. Adotbelow: 0x1EA0,
  22671. Adotmacron: 0x01E0,
  22672. Agrave: 0x00C0,
  22673. Agravesmall: 0xF7E0,
  22674. Ahookabove: 0x1EA2,
  22675. Aiecyrillic: 0x04D4,
  22676. Ainvertedbreve: 0x0202,
  22677. Alpha: 0x0391,
  22678. Alphatonos: 0x0386,
  22679. Amacron: 0x0100,
  22680. Amonospace: 0xFF21,
  22681. Aogonek: 0x0104,
  22682. Aring: 0x00C5,
  22683. Aringacute: 0x01FA,
  22684. Aringbelow: 0x1E00,
  22685. Aringsmall: 0xF7E5,
  22686. Asmall: 0xF761,
  22687. Atilde: 0x00C3,
  22688. Atildesmall: 0xF7E3,
  22689. Aybarmenian: 0x0531,
  22690. B: 0x0042,
  22691. Bcircle: 0x24B7,
  22692. Bdotaccent: 0x1E02,
  22693. Bdotbelow: 0x1E04,
  22694. Becyrillic: 0x0411,
  22695. Benarmenian: 0x0532,
  22696. Beta: 0x0392,
  22697. Bhook: 0x0181,
  22698. Blinebelow: 0x1E06,
  22699. Bmonospace: 0xFF22,
  22700. Brevesmall: 0xF6F4,
  22701. Bsmall: 0xF762,
  22702. Btopbar: 0x0182,
  22703. C: 0x0043,
  22704. Caarmenian: 0x053E,
  22705. Cacute: 0x0106,
  22706. Caron: 0xF6CA,
  22707. Caronsmall: 0xF6F5,
  22708. Ccaron: 0x010C,
  22709. Ccedilla: 0x00C7,
  22710. Ccedillaacute: 0x1E08,
  22711. Ccedillasmall: 0xF7E7,
  22712. Ccircle: 0x24B8,
  22713. Ccircumflex: 0x0108,
  22714. Cdot: 0x010A,
  22715. Cdotaccent: 0x010A,
  22716. Cedillasmall: 0xF7B8,
  22717. Chaarmenian: 0x0549,
  22718. Cheabkhasiancyrillic: 0x04BC,
  22719. Checyrillic: 0x0427,
  22720. Chedescenderabkhasiancyrillic: 0x04BE,
  22721. Chedescendercyrillic: 0x04B6,
  22722. Chedieresiscyrillic: 0x04F4,
  22723. Cheharmenian: 0x0543,
  22724. Chekhakassiancyrillic: 0x04CB,
  22725. Cheverticalstrokecyrillic: 0x04B8,
  22726. Chi: 0x03A7,
  22727. Chook: 0x0187,
  22728. Circumflexsmall: 0xF6F6,
  22729. Cmonospace: 0xFF23,
  22730. Coarmenian: 0x0551,
  22731. Csmall: 0xF763,
  22732. D: 0x0044,
  22733. DZ: 0x01F1,
  22734. DZcaron: 0x01C4,
  22735. Daarmenian: 0x0534,
  22736. Dafrican: 0x0189,
  22737. Dcaron: 0x010E,
  22738. Dcedilla: 0x1E10,
  22739. Dcircle: 0x24B9,
  22740. Dcircumflexbelow: 0x1E12,
  22741. Dcroat: 0x0110,
  22742. Ddotaccent: 0x1E0A,
  22743. Ddotbelow: 0x1E0C,
  22744. Decyrillic: 0x0414,
  22745. Deicoptic: 0x03EE,
  22746. Delta: 0x2206,
  22747. Deltagreek: 0x0394,
  22748. Dhook: 0x018A,
  22749. Dieresis: 0xF6CB,
  22750. DieresisAcute: 0xF6CC,
  22751. DieresisGrave: 0xF6CD,
  22752. Dieresissmall: 0xF7A8,
  22753. Digammagreek: 0x03DC,
  22754. Djecyrillic: 0x0402,
  22755. Dlinebelow: 0x1E0E,
  22756. Dmonospace: 0xFF24,
  22757. Dotaccentsmall: 0xF6F7,
  22758. Dslash: 0x0110,
  22759. Dsmall: 0xF764,
  22760. Dtopbar: 0x018B,
  22761. Dz: 0x01F2,
  22762. Dzcaron: 0x01C5,
  22763. Dzeabkhasiancyrillic: 0x04E0,
  22764. Dzecyrillic: 0x0405,
  22765. Dzhecyrillic: 0x040F,
  22766. E: 0x0045,
  22767. Eacute: 0x00C9,
  22768. Eacutesmall: 0xF7E9,
  22769. Ebreve: 0x0114,
  22770. Ecaron: 0x011A,
  22771. Ecedillabreve: 0x1E1C,
  22772. Echarmenian: 0x0535,
  22773. Ecircle: 0x24BA,
  22774. Ecircumflex: 0x00CA,
  22775. Ecircumflexacute: 0x1EBE,
  22776. Ecircumflexbelow: 0x1E18,
  22777. Ecircumflexdotbelow: 0x1EC6,
  22778. Ecircumflexgrave: 0x1EC0,
  22779. Ecircumflexhookabove: 0x1EC2,
  22780. Ecircumflexsmall: 0xF7EA,
  22781. Ecircumflextilde: 0x1EC4,
  22782. Ecyrillic: 0x0404,
  22783. Edblgrave: 0x0204,
  22784. Edieresis: 0x00CB,
  22785. Edieresissmall: 0xF7EB,
  22786. Edot: 0x0116,
  22787. Edotaccent: 0x0116,
  22788. Edotbelow: 0x1EB8,
  22789. Efcyrillic: 0x0424,
  22790. Egrave: 0x00C8,
  22791. Egravesmall: 0xF7E8,
  22792. Eharmenian: 0x0537,
  22793. Ehookabove: 0x1EBA,
  22794. Eightroman: 0x2167,
  22795. Einvertedbreve: 0x0206,
  22796. Eiotifiedcyrillic: 0x0464,
  22797. Elcyrillic: 0x041B,
  22798. Elevenroman: 0x216A,
  22799. Emacron: 0x0112,
  22800. Emacronacute: 0x1E16,
  22801. Emacrongrave: 0x1E14,
  22802. Emcyrillic: 0x041C,
  22803. Emonospace: 0xFF25,
  22804. Encyrillic: 0x041D,
  22805. Endescendercyrillic: 0x04A2,
  22806. Eng: 0x014A,
  22807. Enghecyrillic: 0x04A4,
  22808. Enhookcyrillic: 0x04C7,
  22809. Eogonek: 0x0118,
  22810. Eopen: 0x0190,
  22811. Epsilon: 0x0395,
  22812. Epsilontonos: 0x0388,
  22813. Ercyrillic: 0x0420,
  22814. Ereversed: 0x018E,
  22815. Ereversedcyrillic: 0x042D,
  22816. Escyrillic: 0x0421,
  22817. Esdescendercyrillic: 0x04AA,
  22818. Esh: 0x01A9,
  22819. Esmall: 0xF765,
  22820. Eta: 0x0397,
  22821. Etarmenian: 0x0538,
  22822. Etatonos: 0x0389,
  22823. Eth: 0x00D0,
  22824. Ethsmall: 0xF7F0,
  22825. Etilde: 0x1EBC,
  22826. Etildebelow: 0x1E1A,
  22827. Euro: 0x20AC,
  22828. Ezh: 0x01B7,
  22829. Ezhcaron: 0x01EE,
  22830. Ezhreversed: 0x01B8,
  22831. F: 0x0046,
  22832. Fcircle: 0x24BB,
  22833. Fdotaccent: 0x1E1E,
  22834. Feharmenian: 0x0556,
  22835. Feicoptic: 0x03E4,
  22836. Fhook: 0x0191,
  22837. Fitacyrillic: 0x0472,
  22838. Fiveroman: 0x2164,
  22839. Fmonospace: 0xFF26,
  22840. Fourroman: 0x2163,
  22841. Fsmall: 0xF766,
  22842. G: 0x0047,
  22843. GBsquare: 0x3387,
  22844. Gacute: 0x01F4,
  22845. Gamma: 0x0393,
  22846. Gammaafrican: 0x0194,
  22847. Gangiacoptic: 0x03EA,
  22848. Gbreve: 0x011E,
  22849. Gcaron: 0x01E6,
  22850. Gcedilla: 0x0122,
  22851. Gcircle: 0x24BC,
  22852. Gcircumflex: 0x011C,
  22853. Gcommaaccent: 0x0122,
  22854. Gdot: 0x0120,
  22855. Gdotaccent: 0x0120,
  22856. Gecyrillic: 0x0413,
  22857. Ghadarmenian: 0x0542,
  22858. Ghemiddlehookcyrillic: 0x0494,
  22859. Ghestrokecyrillic: 0x0492,
  22860. Gheupturncyrillic: 0x0490,
  22861. Ghook: 0x0193,
  22862. Gimarmenian: 0x0533,
  22863. Gjecyrillic: 0x0403,
  22864. Gmacron: 0x1E20,
  22865. Gmonospace: 0xFF27,
  22866. Grave: 0xF6CE,
  22867. Gravesmall: 0xF760,
  22868. Gsmall: 0xF767,
  22869. Gsmallhook: 0x029B,
  22870. Gstroke: 0x01E4,
  22871. H: 0x0048,
  22872. H18533: 0x25CF,
  22873. H18543: 0x25AA,
  22874. H18551: 0x25AB,
  22875. H22073: 0x25A1,
  22876. HPsquare: 0x33CB,
  22877. Haabkhasiancyrillic: 0x04A8,
  22878. Hadescendercyrillic: 0x04B2,
  22879. Hardsigncyrillic: 0x042A,
  22880. Hbar: 0x0126,
  22881. Hbrevebelow: 0x1E2A,
  22882. Hcedilla: 0x1E28,
  22883. Hcircle: 0x24BD,
  22884. Hcircumflex: 0x0124,
  22885. Hdieresis: 0x1E26,
  22886. Hdotaccent: 0x1E22,
  22887. Hdotbelow: 0x1E24,
  22888. Hmonospace: 0xFF28,
  22889. Hoarmenian: 0x0540,
  22890. Horicoptic: 0x03E8,
  22891. Hsmall: 0xF768,
  22892. Hungarumlaut: 0xF6CF,
  22893. Hungarumlautsmall: 0xF6F8,
  22894. Hzsquare: 0x3390,
  22895. I: 0x0049,
  22896. IAcyrillic: 0x042F,
  22897. IJ: 0x0132,
  22898. IUcyrillic: 0x042E,
  22899. Iacute: 0x00CD,
  22900. Iacutesmall: 0xF7ED,
  22901. Ibreve: 0x012C,
  22902. Icaron: 0x01CF,
  22903. Icircle: 0x24BE,
  22904. Icircumflex: 0x00CE,
  22905. Icircumflexsmall: 0xF7EE,
  22906. Icyrillic: 0x0406,
  22907. Idblgrave: 0x0208,
  22908. Idieresis: 0x00CF,
  22909. Idieresisacute: 0x1E2E,
  22910. Idieresiscyrillic: 0x04E4,
  22911. Idieresissmall: 0xF7EF,
  22912. Idot: 0x0130,
  22913. Idotaccent: 0x0130,
  22914. Idotbelow: 0x1ECA,
  22915. Iebrevecyrillic: 0x04D6,
  22916. Iecyrillic: 0x0415,
  22917. Ifraktur: 0x2111,
  22918. Igrave: 0x00CC,
  22919. Igravesmall: 0xF7EC,
  22920. Ihookabove: 0x1EC8,
  22921. Iicyrillic: 0x0418,
  22922. Iinvertedbreve: 0x020A,
  22923. Iishortcyrillic: 0x0419,
  22924. Imacron: 0x012A,
  22925. Imacroncyrillic: 0x04E2,
  22926. Imonospace: 0xFF29,
  22927. Iniarmenian: 0x053B,
  22928. Iocyrillic: 0x0401,
  22929. Iogonek: 0x012E,
  22930. Iota: 0x0399,
  22931. Iotaafrican: 0x0196,
  22932. Iotadieresis: 0x03AA,
  22933. Iotatonos: 0x038A,
  22934. Ismall: 0xF769,
  22935. Istroke: 0x0197,
  22936. Itilde: 0x0128,
  22937. Itildebelow: 0x1E2C,
  22938. Izhitsacyrillic: 0x0474,
  22939. Izhitsadblgravecyrillic: 0x0476,
  22940. J: 0x004A,
  22941. Jaarmenian: 0x0541,
  22942. Jcircle: 0x24BF,
  22943. Jcircumflex: 0x0134,
  22944. Jecyrillic: 0x0408,
  22945. Jheharmenian: 0x054B,
  22946. Jmonospace: 0xFF2A,
  22947. Jsmall: 0xF76A,
  22948. K: 0x004B,
  22949. KBsquare: 0x3385,
  22950. KKsquare: 0x33CD,
  22951. Kabashkircyrillic: 0x04A0,
  22952. Kacute: 0x1E30,
  22953. Kacyrillic: 0x041A,
  22954. Kadescendercyrillic: 0x049A,
  22955. Kahookcyrillic: 0x04C3,
  22956. Kappa: 0x039A,
  22957. Kastrokecyrillic: 0x049E,
  22958. Kaverticalstrokecyrillic: 0x049C,
  22959. Kcaron: 0x01E8,
  22960. Kcedilla: 0x0136,
  22961. Kcircle: 0x24C0,
  22962. Kcommaaccent: 0x0136,
  22963. Kdotbelow: 0x1E32,
  22964. Keharmenian: 0x0554,
  22965. Kenarmenian: 0x053F,
  22966. Khacyrillic: 0x0425,
  22967. Kheicoptic: 0x03E6,
  22968. Khook: 0x0198,
  22969. Kjecyrillic: 0x040C,
  22970. Klinebelow: 0x1E34,
  22971. Kmonospace: 0xFF2B,
  22972. Koppacyrillic: 0x0480,
  22973. Koppagreek: 0x03DE,
  22974. Ksicyrillic: 0x046E,
  22975. Ksmall: 0xF76B,
  22976. L: 0x004C,
  22977. LJ: 0x01C7,
  22978. LL: 0xF6BF,
  22979. Lacute: 0x0139,
  22980. Lambda: 0x039B,
  22981. Lcaron: 0x013D,
  22982. Lcedilla: 0x013B,
  22983. Lcircle: 0x24C1,
  22984. Lcircumflexbelow: 0x1E3C,
  22985. Lcommaaccent: 0x013B,
  22986. Ldot: 0x013F,
  22987. Ldotaccent: 0x013F,
  22988. Ldotbelow: 0x1E36,
  22989. Ldotbelowmacron: 0x1E38,
  22990. Liwnarmenian: 0x053C,
  22991. Lj: 0x01C8,
  22992. Ljecyrillic: 0x0409,
  22993. Llinebelow: 0x1E3A,
  22994. Lmonospace: 0xFF2C,
  22995. Lslash: 0x0141,
  22996. Lslashsmall: 0xF6F9,
  22997. Lsmall: 0xF76C,
  22998. M: 0x004D,
  22999. MBsquare: 0x3386,
  23000. Macron: 0xF6D0,
  23001. Macronsmall: 0xF7AF,
  23002. Macute: 0x1E3E,
  23003. Mcircle: 0x24C2,
  23004. Mdotaccent: 0x1E40,
  23005. Mdotbelow: 0x1E42,
  23006. Menarmenian: 0x0544,
  23007. Mmonospace: 0xFF2D,
  23008. Msmall: 0xF76D,
  23009. Mturned: 0x019C,
  23010. Mu: 0x039C,
  23011. N: 0x004E,
  23012. NJ: 0x01CA,
  23013. Nacute: 0x0143,
  23014. Ncaron: 0x0147,
  23015. Ncedilla: 0x0145,
  23016. Ncircle: 0x24C3,
  23017. Ncircumflexbelow: 0x1E4A,
  23018. Ncommaaccent: 0x0145,
  23019. Ndotaccent: 0x1E44,
  23020. Ndotbelow: 0x1E46,
  23021. Nhookleft: 0x019D,
  23022. Nineroman: 0x2168,
  23023. Nj: 0x01CB,
  23024. Njecyrillic: 0x040A,
  23025. Nlinebelow: 0x1E48,
  23026. Nmonospace: 0xFF2E,
  23027. Nowarmenian: 0x0546,
  23028. Nsmall: 0xF76E,
  23029. Ntilde: 0x00D1,
  23030. Ntildesmall: 0xF7F1,
  23031. Nu: 0x039D,
  23032. O: 0x004F,
  23033. OE: 0x0152,
  23034. OEsmall: 0xF6FA,
  23035. Oacute: 0x00D3,
  23036. Oacutesmall: 0xF7F3,
  23037. Obarredcyrillic: 0x04E8,
  23038. Obarreddieresiscyrillic: 0x04EA,
  23039. Obreve: 0x014E,
  23040. Ocaron: 0x01D1,
  23041. Ocenteredtilde: 0x019F,
  23042. Ocircle: 0x24C4,
  23043. Ocircumflex: 0x00D4,
  23044. Ocircumflexacute: 0x1ED0,
  23045. Ocircumflexdotbelow: 0x1ED8,
  23046. Ocircumflexgrave: 0x1ED2,
  23047. Ocircumflexhookabove: 0x1ED4,
  23048. Ocircumflexsmall: 0xF7F4,
  23049. Ocircumflextilde: 0x1ED6,
  23050. Ocyrillic: 0x041E,
  23051. Odblacute: 0x0150,
  23052. Odblgrave: 0x020C,
  23053. Odieresis: 0x00D6,
  23054. Odieresiscyrillic: 0x04E6,
  23055. Odieresissmall: 0xF7F6,
  23056. Odotbelow: 0x1ECC,
  23057. Ogoneksmall: 0xF6FB,
  23058. Ograve: 0x00D2,
  23059. Ogravesmall: 0xF7F2,
  23060. Oharmenian: 0x0555,
  23061. Ohm: 0x2126,
  23062. Ohookabove: 0x1ECE,
  23063. Ohorn: 0x01A0,
  23064. Ohornacute: 0x1EDA,
  23065. Ohorndotbelow: 0x1EE2,
  23066. Ohorngrave: 0x1EDC,
  23067. Ohornhookabove: 0x1EDE,
  23068. Ohorntilde: 0x1EE0,
  23069. Ohungarumlaut: 0x0150,
  23070. Oi: 0x01A2,
  23071. Oinvertedbreve: 0x020E,
  23072. Omacron: 0x014C,
  23073. Omacronacute: 0x1E52,
  23074. Omacrongrave: 0x1E50,
  23075. Omega: 0x2126,
  23076. Omegacyrillic: 0x0460,
  23077. Omegagreek: 0x03A9,
  23078. Omegaroundcyrillic: 0x047A,
  23079. Omegatitlocyrillic: 0x047C,
  23080. Omegatonos: 0x038F,
  23081. Omicron: 0x039F,
  23082. Omicrontonos: 0x038C,
  23083. Omonospace: 0xFF2F,
  23084. Oneroman: 0x2160,
  23085. Oogonek: 0x01EA,
  23086. Oogonekmacron: 0x01EC,
  23087. Oopen: 0x0186,
  23088. Oslash: 0x00D8,
  23089. Oslashacute: 0x01FE,
  23090. Oslashsmall: 0xF7F8,
  23091. Osmall: 0xF76F,
  23092. Ostrokeacute: 0x01FE,
  23093. Otcyrillic: 0x047E,
  23094. Otilde: 0x00D5,
  23095. Otildeacute: 0x1E4C,
  23096. Otildedieresis: 0x1E4E,
  23097. Otildesmall: 0xF7F5,
  23098. P: 0x0050,
  23099. Pacute: 0x1E54,
  23100. Pcircle: 0x24C5,
  23101. Pdotaccent: 0x1E56,
  23102. Pecyrillic: 0x041F,
  23103. Peharmenian: 0x054A,
  23104. Pemiddlehookcyrillic: 0x04A6,
  23105. Phi: 0x03A6,
  23106. Phook: 0x01A4,
  23107. Pi: 0x03A0,
  23108. Piwrarmenian: 0x0553,
  23109. Pmonospace: 0xFF30,
  23110. Psi: 0x03A8,
  23111. Psicyrillic: 0x0470,
  23112. Psmall: 0xF770,
  23113. Q: 0x0051,
  23114. Qcircle: 0x24C6,
  23115. Qmonospace: 0xFF31,
  23116. Qsmall: 0xF771,
  23117. R: 0x0052,
  23118. Raarmenian: 0x054C,
  23119. Racute: 0x0154,
  23120. Rcaron: 0x0158,
  23121. Rcedilla: 0x0156,
  23122. Rcircle: 0x24C7,
  23123. Rcommaaccent: 0x0156,
  23124. Rdblgrave: 0x0210,
  23125. Rdotaccent: 0x1E58,
  23126. Rdotbelow: 0x1E5A,
  23127. Rdotbelowmacron: 0x1E5C,
  23128. Reharmenian: 0x0550,
  23129. Rfraktur: 0x211C,
  23130. Rho: 0x03A1,
  23131. Ringsmall: 0xF6FC,
  23132. Rinvertedbreve: 0x0212,
  23133. Rlinebelow: 0x1E5E,
  23134. Rmonospace: 0xFF32,
  23135. Rsmall: 0xF772,
  23136. Rsmallinverted: 0x0281,
  23137. Rsmallinvertedsuperior: 0x02B6,
  23138. S: 0x0053,
  23139. SF010000: 0x250C,
  23140. SF020000: 0x2514,
  23141. SF030000: 0x2510,
  23142. SF040000: 0x2518,
  23143. SF050000: 0x253C,
  23144. SF060000: 0x252C,
  23145. SF070000: 0x2534,
  23146. SF080000: 0x251C,
  23147. SF090000: 0x2524,
  23148. SF100000: 0x2500,
  23149. SF110000: 0x2502,
  23150. SF190000: 0x2561,
  23151. SF200000: 0x2562,
  23152. SF210000: 0x2556,
  23153. SF220000: 0x2555,
  23154. SF230000: 0x2563,
  23155. SF240000: 0x2551,
  23156. SF250000: 0x2557,
  23157. SF260000: 0x255D,
  23158. SF270000: 0x255C,
  23159. SF280000: 0x255B,
  23160. SF360000: 0x255E,
  23161. SF370000: 0x255F,
  23162. SF380000: 0x255A,
  23163. SF390000: 0x2554,
  23164. SF400000: 0x2569,
  23165. SF410000: 0x2566,
  23166. SF420000: 0x2560,
  23167. SF430000: 0x2550,
  23168. SF440000: 0x256C,
  23169. SF450000: 0x2567,
  23170. SF460000: 0x2568,
  23171. SF470000: 0x2564,
  23172. SF480000: 0x2565,
  23173. SF490000: 0x2559,
  23174. SF500000: 0x2558,
  23175. SF510000: 0x2552,
  23176. SF520000: 0x2553,
  23177. SF530000: 0x256B,
  23178. SF540000: 0x256A,
  23179. Sacute: 0x015A,
  23180. Sacutedotaccent: 0x1E64,
  23181. Sampigreek: 0x03E0,
  23182. Scaron: 0x0160,
  23183. Scarondotaccent: 0x1E66,
  23184. Scaronsmall: 0xF6FD,
  23185. Scedilla: 0x015E,
  23186. Schwa: 0x018F,
  23187. Schwacyrillic: 0x04D8,
  23188. Schwadieresiscyrillic: 0x04DA,
  23189. Scircle: 0x24C8,
  23190. Scircumflex: 0x015C,
  23191. Scommaaccent: 0x0218,
  23192. Sdotaccent: 0x1E60,
  23193. Sdotbelow: 0x1E62,
  23194. Sdotbelowdotaccent: 0x1E68,
  23195. Seharmenian: 0x054D,
  23196. Sevenroman: 0x2166,
  23197. Shaarmenian: 0x0547,
  23198. Shacyrillic: 0x0428,
  23199. Shchacyrillic: 0x0429,
  23200. Sheicoptic: 0x03E2,
  23201. Shhacyrillic: 0x04BA,
  23202. Shimacoptic: 0x03EC,
  23203. Sigma: 0x03A3,
  23204. Sixroman: 0x2165,
  23205. Smonospace: 0xFF33,
  23206. Softsigncyrillic: 0x042C,
  23207. Ssmall: 0xF773,
  23208. Stigmagreek: 0x03DA,
  23209. T: 0x0054,
  23210. Tau: 0x03A4,
  23211. Tbar: 0x0166,
  23212. Tcaron: 0x0164,
  23213. Tcedilla: 0x0162,
  23214. Tcircle: 0x24C9,
  23215. Tcircumflexbelow: 0x1E70,
  23216. Tcommaaccent: 0x0162,
  23217. Tdotaccent: 0x1E6A,
  23218. Tdotbelow: 0x1E6C,
  23219. Tecyrillic: 0x0422,
  23220. Tedescendercyrillic: 0x04AC,
  23221. Tenroman: 0x2169,
  23222. Tetsecyrillic: 0x04B4,
  23223. Theta: 0x0398,
  23224. Thook: 0x01AC,
  23225. Thorn: 0x00DE,
  23226. Thornsmall: 0xF7FE,
  23227. Threeroman: 0x2162,
  23228. Tildesmall: 0xF6FE,
  23229. Tiwnarmenian: 0x054F,
  23230. Tlinebelow: 0x1E6E,
  23231. Tmonospace: 0xFF34,
  23232. Toarmenian: 0x0539,
  23233. Tonefive: 0x01BC,
  23234. Tonesix: 0x0184,
  23235. Tonetwo: 0x01A7,
  23236. Tretroflexhook: 0x01AE,
  23237. Tsecyrillic: 0x0426,
  23238. Tshecyrillic: 0x040B,
  23239. Tsmall: 0xF774,
  23240. Twelveroman: 0x216B,
  23241. Tworoman: 0x2161,
  23242. U: 0x0055,
  23243. Uacute: 0x00DA,
  23244. Uacutesmall: 0xF7FA,
  23245. Ubreve: 0x016C,
  23246. Ucaron: 0x01D3,
  23247. Ucircle: 0x24CA,
  23248. Ucircumflex: 0x00DB,
  23249. Ucircumflexbelow: 0x1E76,
  23250. Ucircumflexsmall: 0xF7FB,
  23251. Ucyrillic: 0x0423,
  23252. Udblacute: 0x0170,
  23253. Udblgrave: 0x0214,
  23254. Udieresis: 0x00DC,
  23255. Udieresisacute: 0x01D7,
  23256. Udieresisbelow: 0x1E72,
  23257. Udieresiscaron: 0x01D9,
  23258. Udieresiscyrillic: 0x04F0,
  23259. Udieresisgrave: 0x01DB,
  23260. Udieresismacron: 0x01D5,
  23261. Udieresissmall: 0xF7FC,
  23262. Udotbelow: 0x1EE4,
  23263. Ugrave: 0x00D9,
  23264. Ugravesmall: 0xF7F9,
  23265. Uhookabove: 0x1EE6,
  23266. Uhorn: 0x01AF,
  23267. Uhornacute: 0x1EE8,
  23268. Uhorndotbelow: 0x1EF0,
  23269. Uhorngrave: 0x1EEA,
  23270. Uhornhookabove: 0x1EEC,
  23271. Uhorntilde: 0x1EEE,
  23272. Uhungarumlaut: 0x0170,
  23273. Uhungarumlautcyrillic: 0x04F2,
  23274. Uinvertedbreve: 0x0216,
  23275. Ukcyrillic: 0x0478,
  23276. Umacron: 0x016A,
  23277. Umacroncyrillic: 0x04EE,
  23278. Umacrondieresis: 0x1E7A,
  23279. Umonospace: 0xFF35,
  23280. Uogonek: 0x0172,
  23281. Upsilon: 0x03A5,
  23282. Upsilon1: 0x03D2,
  23283. Upsilonacutehooksymbolgreek: 0x03D3,
  23284. Upsilonafrican: 0x01B1,
  23285. Upsilondieresis: 0x03AB,
  23286. Upsilondieresishooksymbolgreek: 0x03D4,
  23287. Upsilonhooksymbol: 0x03D2,
  23288. Upsilontonos: 0x038E,
  23289. Uring: 0x016E,
  23290. Ushortcyrillic: 0x040E,
  23291. Usmall: 0xF775,
  23292. Ustraightcyrillic: 0x04AE,
  23293. Ustraightstrokecyrillic: 0x04B0,
  23294. Utilde: 0x0168,
  23295. Utildeacute: 0x1E78,
  23296. Utildebelow: 0x1E74,
  23297. V: 0x0056,
  23298. Vcircle: 0x24CB,
  23299. Vdotbelow: 0x1E7E,
  23300. Vecyrillic: 0x0412,
  23301. Vewarmenian: 0x054E,
  23302. Vhook: 0x01B2,
  23303. Vmonospace: 0xFF36,
  23304. Voarmenian: 0x0548,
  23305. Vsmall: 0xF776,
  23306. Vtilde: 0x1E7C,
  23307. W: 0x0057,
  23308. Wacute: 0x1E82,
  23309. Wcircle: 0x24CC,
  23310. Wcircumflex: 0x0174,
  23311. Wdieresis: 0x1E84,
  23312. Wdotaccent: 0x1E86,
  23313. Wdotbelow: 0x1E88,
  23314. Wgrave: 0x1E80,
  23315. Wmonospace: 0xFF37,
  23316. Wsmall: 0xF777,
  23317. X: 0x0058,
  23318. Xcircle: 0x24CD,
  23319. Xdieresis: 0x1E8C,
  23320. Xdotaccent: 0x1E8A,
  23321. Xeharmenian: 0x053D,
  23322. Xi: 0x039E,
  23323. Xmonospace: 0xFF38,
  23324. Xsmall: 0xF778,
  23325. Y: 0x0059,
  23326. Yacute: 0x00DD,
  23327. Yacutesmall: 0xF7FD,
  23328. Yatcyrillic: 0x0462,
  23329. Ycircle: 0x24CE,
  23330. Ycircumflex: 0x0176,
  23331. Ydieresis: 0x0178,
  23332. Ydieresissmall: 0xF7FF,
  23333. Ydotaccent: 0x1E8E,
  23334. Ydotbelow: 0x1EF4,
  23335. Yericyrillic: 0x042B,
  23336. Yerudieresiscyrillic: 0x04F8,
  23337. Ygrave: 0x1EF2,
  23338. Yhook: 0x01B3,
  23339. Yhookabove: 0x1EF6,
  23340. Yiarmenian: 0x0545,
  23341. Yicyrillic: 0x0407,
  23342. Yiwnarmenian: 0x0552,
  23343. Ymonospace: 0xFF39,
  23344. Ysmall: 0xF779,
  23345. Ytilde: 0x1EF8,
  23346. Yusbigcyrillic: 0x046A,
  23347. Yusbigiotifiedcyrillic: 0x046C,
  23348. Yuslittlecyrillic: 0x0466,
  23349. Yuslittleiotifiedcyrillic: 0x0468,
  23350. Z: 0x005A,
  23351. Zaarmenian: 0x0536,
  23352. Zacute: 0x0179,
  23353. Zcaron: 0x017D,
  23354. Zcaronsmall: 0xF6FF,
  23355. Zcircle: 0x24CF,
  23356. Zcircumflex: 0x1E90,
  23357. Zdot: 0x017B,
  23358. Zdotaccent: 0x017B,
  23359. Zdotbelow: 0x1E92,
  23360. Zecyrillic: 0x0417,
  23361. Zedescendercyrillic: 0x0498,
  23362. Zedieresiscyrillic: 0x04DE,
  23363. Zeta: 0x0396,
  23364. Zhearmenian: 0x053A,
  23365. Zhebrevecyrillic: 0x04C1,
  23366. Zhecyrillic: 0x0416,
  23367. Zhedescendercyrillic: 0x0496,
  23368. Zhedieresiscyrillic: 0x04DC,
  23369. Zlinebelow: 0x1E94,
  23370. Zmonospace: 0xFF3A,
  23371. Zsmall: 0xF77A,
  23372. Zstroke: 0x01B5,
  23373. a: 0x0061,
  23374. aabengali: 0x0986,
  23375. aacute: 0x00E1,
  23376. aadeva: 0x0906,
  23377. aagujarati: 0x0A86,
  23378. aagurmukhi: 0x0A06,
  23379. aamatragurmukhi: 0x0A3E,
  23380. aarusquare: 0x3303,
  23381. aavowelsignbengali: 0x09BE,
  23382. aavowelsigndeva: 0x093E,
  23383. aavowelsigngujarati: 0x0ABE,
  23384. abbreviationmarkarmenian: 0x055F,
  23385. abbreviationsigndeva: 0x0970,
  23386. abengali: 0x0985,
  23387. abopomofo: 0x311A,
  23388. abreve: 0x0103,
  23389. abreveacute: 0x1EAF,
  23390. abrevecyrillic: 0x04D1,
  23391. abrevedotbelow: 0x1EB7,
  23392. abrevegrave: 0x1EB1,
  23393. abrevehookabove: 0x1EB3,
  23394. abrevetilde: 0x1EB5,
  23395. acaron: 0x01CE,
  23396. acircle: 0x24D0,
  23397. acircumflex: 0x00E2,
  23398. acircumflexacute: 0x1EA5,
  23399. acircumflexdotbelow: 0x1EAD,
  23400. acircumflexgrave: 0x1EA7,
  23401. acircumflexhookabove: 0x1EA9,
  23402. acircumflextilde: 0x1EAB,
  23403. acute: 0x00B4,
  23404. acutebelowcmb: 0x0317,
  23405. acutecmb: 0x0301,
  23406. acutecomb: 0x0301,
  23407. acutedeva: 0x0954,
  23408. acutelowmod: 0x02CF,
  23409. acutetonecmb: 0x0341,
  23410. acyrillic: 0x0430,
  23411. adblgrave: 0x0201,
  23412. addakgurmukhi: 0x0A71,
  23413. adeva: 0x0905,
  23414. adieresis: 0x00E4,
  23415. adieresiscyrillic: 0x04D3,
  23416. adieresismacron: 0x01DF,
  23417. adotbelow: 0x1EA1,
  23418. adotmacron: 0x01E1,
  23419. ae: 0x00E6,
  23420. aeacute: 0x01FD,
  23421. aekorean: 0x3150,
  23422. aemacron: 0x01E3,
  23423. afii00208: 0x2015,
  23424. afii08941: 0x20A4,
  23425. afii10017: 0x0410,
  23426. afii10018: 0x0411,
  23427. afii10019: 0x0412,
  23428. afii10020: 0x0413,
  23429. afii10021: 0x0414,
  23430. afii10022: 0x0415,
  23431. afii10023: 0x0401,
  23432. afii10024: 0x0416,
  23433. afii10025: 0x0417,
  23434. afii10026: 0x0418,
  23435. afii10027: 0x0419,
  23436. afii10028: 0x041A,
  23437. afii10029: 0x041B,
  23438. afii10030: 0x041C,
  23439. afii10031: 0x041D,
  23440. afii10032: 0x041E,
  23441. afii10033: 0x041F,
  23442. afii10034: 0x0420,
  23443. afii10035: 0x0421,
  23444. afii10036: 0x0422,
  23445. afii10037: 0x0423,
  23446. afii10038: 0x0424,
  23447. afii10039: 0x0425,
  23448. afii10040: 0x0426,
  23449. afii10041: 0x0427,
  23450. afii10042: 0x0428,
  23451. afii10043: 0x0429,
  23452. afii10044: 0x042A,
  23453. afii10045: 0x042B,
  23454. afii10046: 0x042C,
  23455. afii10047: 0x042D,
  23456. afii10048: 0x042E,
  23457. afii10049: 0x042F,
  23458. afii10050: 0x0490,
  23459. afii10051: 0x0402,
  23460. afii10052: 0x0403,
  23461. afii10053: 0x0404,
  23462. afii10054: 0x0405,
  23463. afii10055: 0x0406,
  23464. afii10056: 0x0407,
  23465. afii10057: 0x0408,
  23466. afii10058: 0x0409,
  23467. afii10059: 0x040A,
  23468. afii10060: 0x040B,
  23469. afii10061: 0x040C,
  23470. afii10062: 0x040E,
  23471. afii10063: 0xF6C4,
  23472. afii10064: 0xF6C5,
  23473. afii10065: 0x0430,
  23474. afii10066: 0x0431,
  23475. afii10067: 0x0432,
  23476. afii10068: 0x0433,
  23477. afii10069: 0x0434,
  23478. afii10070: 0x0435,
  23479. afii10071: 0x0451,
  23480. afii10072: 0x0436,
  23481. afii10073: 0x0437,
  23482. afii10074: 0x0438,
  23483. afii10075: 0x0439,
  23484. afii10076: 0x043A,
  23485. afii10077: 0x043B,
  23486. afii10078: 0x043C,
  23487. afii10079: 0x043D,
  23488. afii10080: 0x043E,
  23489. afii10081: 0x043F,
  23490. afii10082: 0x0440,
  23491. afii10083: 0x0441,
  23492. afii10084: 0x0442,
  23493. afii10085: 0x0443,
  23494. afii10086: 0x0444,
  23495. afii10087: 0x0445,
  23496. afii10088: 0x0446,
  23497. afii10089: 0x0447,
  23498. afii10090: 0x0448,
  23499. afii10091: 0x0449,
  23500. afii10092: 0x044A,
  23501. afii10093: 0x044B,
  23502. afii10094: 0x044C,
  23503. afii10095: 0x044D,
  23504. afii10096: 0x044E,
  23505. afii10097: 0x044F,
  23506. afii10098: 0x0491,
  23507. afii10099: 0x0452,
  23508. afii10100: 0x0453,
  23509. afii10101: 0x0454,
  23510. afii10102: 0x0455,
  23511. afii10103: 0x0456,
  23512. afii10104: 0x0457,
  23513. afii10105: 0x0458,
  23514. afii10106: 0x0459,
  23515. afii10107: 0x045A,
  23516. afii10108: 0x045B,
  23517. afii10109: 0x045C,
  23518. afii10110: 0x045E,
  23519. afii10145: 0x040F,
  23520. afii10146: 0x0462,
  23521. afii10147: 0x0472,
  23522. afii10148: 0x0474,
  23523. afii10192: 0xF6C6,
  23524. afii10193: 0x045F,
  23525. afii10194: 0x0463,
  23526. afii10195: 0x0473,
  23527. afii10196: 0x0475,
  23528. afii10831: 0xF6C7,
  23529. afii10832: 0xF6C8,
  23530. afii10846: 0x04D9,
  23531. afii299: 0x200E,
  23532. afii300: 0x200F,
  23533. afii301: 0x200D,
  23534. afii57381: 0x066A,
  23535. afii57388: 0x060C,
  23536. afii57392: 0x0660,
  23537. afii57393: 0x0661,
  23538. afii57394: 0x0662,
  23539. afii57395: 0x0663,
  23540. afii57396: 0x0664,
  23541. afii57397: 0x0665,
  23542. afii57398: 0x0666,
  23543. afii57399: 0x0667,
  23544. afii57400: 0x0668,
  23545. afii57401: 0x0669,
  23546. afii57403: 0x061B,
  23547. afii57407: 0x061F,
  23548. afii57409: 0x0621,
  23549. afii57410: 0x0622,
  23550. afii57411: 0x0623,
  23551. afii57412: 0x0624,
  23552. afii57413: 0x0625,
  23553. afii57414: 0x0626,
  23554. afii57415: 0x0627,
  23555. afii57416: 0x0628,
  23556. afii57417: 0x0629,
  23557. afii57418: 0x062A,
  23558. afii57419: 0x062B,
  23559. afii57420: 0x062C,
  23560. afii57421: 0x062D,
  23561. afii57422: 0x062E,
  23562. afii57423: 0x062F,
  23563. afii57424: 0x0630,
  23564. afii57425: 0x0631,
  23565. afii57426: 0x0632,
  23566. afii57427: 0x0633,
  23567. afii57428: 0x0634,
  23568. afii57429: 0x0635,
  23569. afii57430: 0x0636,
  23570. afii57431: 0x0637,
  23571. afii57432: 0x0638,
  23572. afii57433: 0x0639,
  23573. afii57434: 0x063A,
  23574. afii57440: 0x0640,
  23575. afii57441: 0x0641,
  23576. afii57442: 0x0642,
  23577. afii57443: 0x0643,
  23578. afii57444: 0x0644,
  23579. afii57445: 0x0645,
  23580. afii57446: 0x0646,
  23581. afii57448: 0x0648,
  23582. afii57449: 0x0649,
  23583. afii57450: 0x064A,
  23584. afii57451: 0x064B,
  23585. afii57452: 0x064C,
  23586. afii57453: 0x064D,
  23587. afii57454: 0x064E,
  23588. afii57455: 0x064F,
  23589. afii57456: 0x0650,
  23590. afii57457: 0x0651,
  23591. afii57458: 0x0652,
  23592. afii57470: 0x0647,
  23593. afii57505: 0x06A4,
  23594. afii57506: 0x067E,
  23595. afii57507: 0x0686,
  23596. afii57508: 0x0698,
  23597. afii57509: 0x06AF,
  23598. afii57511: 0x0679,
  23599. afii57512: 0x0688,
  23600. afii57513: 0x0691,
  23601. afii57514: 0x06BA,
  23602. afii57519: 0x06D2,
  23603. afii57534: 0x06D5,
  23604. afii57636: 0x20AA,
  23605. afii57645: 0x05BE,
  23606. afii57658: 0x05C3,
  23607. afii57664: 0x05D0,
  23608. afii57665: 0x05D1,
  23609. afii57666: 0x05D2,
  23610. afii57667: 0x05D3,
  23611. afii57668: 0x05D4,
  23612. afii57669: 0x05D5,
  23613. afii57670: 0x05D6,
  23614. afii57671: 0x05D7,
  23615. afii57672: 0x05D8,
  23616. afii57673: 0x05D9,
  23617. afii57674: 0x05DA,
  23618. afii57675: 0x05DB,
  23619. afii57676: 0x05DC,
  23620. afii57677: 0x05DD,
  23621. afii57678: 0x05DE,
  23622. afii57679: 0x05DF,
  23623. afii57680: 0x05E0,
  23624. afii57681: 0x05E1,
  23625. afii57682: 0x05E2,
  23626. afii57683: 0x05E3,
  23627. afii57684: 0x05E4,
  23628. afii57685: 0x05E5,
  23629. afii57686: 0x05E6,
  23630. afii57687: 0x05E7,
  23631. afii57688: 0x05E8,
  23632. afii57689: 0x05E9,
  23633. afii57690: 0x05EA,
  23634. afii57694: 0xFB2A,
  23635. afii57695: 0xFB2B,
  23636. afii57700: 0xFB4B,
  23637. afii57705: 0xFB1F,
  23638. afii57716: 0x05F0,
  23639. afii57717: 0x05F1,
  23640. afii57718: 0x05F2,
  23641. afii57723: 0xFB35,
  23642. afii57793: 0x05B4,
  23643. afii57794: 0x05B5,
  23644. afii57795: 0x05B6,
  23645. afii57796: 0x05BB,
  23646. afii57797: 0x05B8,
  23647. afii57798: 0x05B7,
  23648. afii57799: 0x05B0,
  23649. afii57800: 0x05B2,
  23650. afii57801: 0x05B1,
  23651. afii57802: 0x05B3,
  23652. afii57803: 0x05C2,
  23653. afii57804: 0x05C1,
  23654. afii57806: 0x05B9,
  23655. afii57807: 0x05BC,
  23656. afii57839: 0x05BD,
  23657. afii57841: 0x05BF,
  23658. afii57842: 0x05C0,
  23659. afii57929: 0x02BC,
  23660. afii61248: 0x2105,
  23661. afii61289: 0x2113,
  23662. afii61352: 0x2116,
  23663. afii61573: 0x202C,
  23664. afii61574: 0x202D,
  23665. afii61575: 0x202E,
  23666. afii61664: 0x200C,
  23667. afii63167: 0x066D,
  23668. afii64937: 0x02BD,
  23669. agrave: 0x00E0,
  23670. agujarati: 0x0A85,
  23671. agurmukhi: 0x0A05,
  23672. ahiragana: 0x3042,
  23673. ahookabove: 0x1EA3,
  23674. aibengali: 0x0990,
  23675. aibopomofo: 0x311E,
  23676. aideva: 0x0910,
  23677. aiecyrillic: 0x04D5,
  23678. aigujarati: 0x0A90,
  23679. aigurmukhi: 0x0A10,
  23680. aimatragurmukhi: 0x0A48,
  23681. ainarabic: 0x0639,
  23682. ainfinalarabic: 0xFECA,
  23683. aininitialarabic: 0xFECB,
  23684. ainmedialarabic: 0xFECC,
  23685. ainvertedbreve: 0x0203,
  23686. aivowelsignbengali: 0x09C8,
  23687. aivowelsigndeva: 0x0948,
  23688. aivowelsigngujarati: 0x0AC8,
  23689. akatakana: 0x30A2,
  23690. akatakanahalfwidth: 0xFF71,
  23691. akorean: 0x314F,
  23692. alef: 0x05D0,
  23693. alefarabic: 0x0627,
  23694. alefdageshhebrew: 0xFB30,
  23695. aleffinalarabic: 0xFE8E,
  23696. alefhamzaabovearabic: 0x0623,
  23697. alefhamzaabovefinalarabic: 0xFE84,
  23698. alefhamzabelowarabic: 0x0625,
  23699. alefhamzabelowfinalarabic: 0xFE88,
  23700. alefhebrew: 0x05D0,
  23701. aleflamedhebrew: 0xFB4F,
  23702. alefmaddaabovearabic: 0x0622,
  23703. alefmaddaabovefinalarabic: 0xFE82,
  23704. alefmaksuraarabic: 0x0649,
  23705. alefmaksurafinalarabic: 0xFEF0,
  23706. alefmaksurainitialarabic: 0xFEF3,
  23707. alefmaksuramedialarabic: 0xFEF4,
  23708. alefpatahhebrew: 0xFB2E,
  23709. alefqamatshebrew: 0xFB2F,
  23710. aleph: 0x2135,
  23711. allequal: 0x224C,
  23712. alpha: 0x03B1,
  23713. alphatonos: 0x03AC,
  23714. amacron: 0x0101,
  23715. amonospace: 0xFF41,
  23716. ampersand: 0x0026,
  23717. ampersandmonospace: 0xFF06,
  23718. ampersandsmall: 0xF726,
  23719. amsquare: 0x33C2,
  23720. anbopomofo: 0x3122,
  23721. angbopomofo: 0x3124,
  23722. angbracketleft: 0x3008, // This glyph is missing from Adobe's original list.
  23723. angbracketright: 0x3009, // This glyph is missing from Adobe's original list.
  23724. angkhankhuthai: 0x0E5A,
  23725. angle: 0x2220,
  23726. anglebracketleft: 0x3008,
  23727. anglebracketleftvertical: 0xFE3F,
  23728. anglebracketright: 0x3009,
  23729. anglebracketrightvertical: 0xFE40,
  23730. angleleft: 0x2329,
  23731. angleright: 0x232A,
  23732. angstrom: 0x212B,
  23733. anoteleia: 0x0387,
  23734. anudattadeva: 0x0952,
  23735. anusvarabengali: 0x0982,
  23736. anusvaradeva: 0x0902,
  23737. anusvaragujarati: 0x0A82,
  23738. aogonek: 0x0105,
  23739. apaatosquare: 0x3300,
  23740. aparen: 0x249C,
  23741. apostrophearmenian: 0x055A,
  23742. apostrophemod: 0x02BC,
  23743. apple: 0xF8FF,
  23744. approaches: 0x2250,
  23745. approxequal: 0x2248,
  23746. approxequalorimage: 0x2252,
  23747. approximatelyequal: 0x2245,
  23748. araeaekorean: 0x318E,
  23749. araeakorean: 0x318D,
  23750. arc: 0x2312,
  23751. arighthalfring: 0x1E9A,
  23752. aring: 0x00E5,
  23753. aringacute: 0x01FB,
  23754. aringbelow: 0x1E01,
  23755. arrowboth: 0x2194,
  23756. arrowdashdown: 0x21E3,
  23757. arrowdashleft: 0x21E0,
  23758. arrowdashright: 0x21E2,
  23759. arrowdashup: 0x21E1,
  23760. arrowdblboth: 0x21D4,
  23761. arrowdbldown: 0x21D3,
  23762. arrowdblleft: 0x21D0,
  23763. arrowdblright: 0x21D2,
  23764. arrowdblup: 0x21D1,
  23765. arrowdown: 0x2193,
  23766. arrowdownleft: 0x2199,
  23767. arrowdownright: 0x2198,
  23768. arrowdownwhite: 0x21E9,
  23769. arrowheaddownmod: 0x02C5,
  23770. arrowheadleftmod: 0x02C2,
  23771. arrowheadrightmod: 0x02C3,
  23772. arrowheadupmod: 0x02C4,
  23773. arrowhorizex: 0xF8E7,
  23774. arrowleft: 0x2190,
  23775. arrowleftdbl: 0x21D0,
  23776. arrowleftdblstroke: 0x21CD,
  23777. arrowleftoverright: 0x21C6,
  23778. arrowleftwhite: 0x21E6,
  23779. arrowright: 0x2192,
  23780. arrowrightdblstroke: 0x21CF,
  23781. arrowrightheavy: 0x279E,
  23782. arrowrightoverleft: 0x21C4,
  23783. arrowrightwhite: 0x21E8,
  23784. arrowtableft: 0x21E4,
  23785. arrowtabright: 0x21E5,
  23786. arrowup: 0x2191,
  23787. arrowupdn: 0x2195,
  23788. arrowupdnbse: 0x21A8,
  23789. arrowupdownbase: 0x21A8,
  23790. arrowupleft: 0x2196,
  23791. arrowupleftofdown: 0x21C5,
  23792. arrowupright: 0x2197,
  23793. arrowupwhite: 0x21E7,
  23794. arrowvertex: 0xF8E6,
  23795. asciicircum: 0x005E,
  23796. asciicircummonospace: 0xFF3E,
  23797. asciitilde: 0x007E,
  23798. asciitildemonospace: 0xFF5E,
  23799. ascript: 0x0251,
  23800. ascriptturned: 0x0252,
  23801. asmallhiragana: 0x3041,
  23802. asmallkatakana: 0x30A1,
  23803. asmallkatakanahalfwidth: 0xFF67,
  23804. asterisk: 0x002A,
  23805. asteriskaltonearabic: 0x066D,
  23806. asteriskarabic: 0x066D,
  23807. asteriskmath: 0x2217,
  23808. asteriskmonospace: 0xFF0A,
  23809. asterisksmall: 0xFE61,
  23810. asterism: 0x2042,
  23811. asuperior: 0xF6E9,
  23812. asymptoticallyequal: 0x2243,
  23813. at: 0x0040,
  23814. atilde: 0x00E3,
  23815. atmonospace: 0xFF20,
  23816. atsmall: 0xFE6B,
  23817. aturned: 0x0250,
  23818. aubengali: 0x0994,
  23819. aubopomofo: 0x3120,
  23820. audeva: 0x0914,
  23821. augujarati: 0x0A94,
  23822. augurmukhi: 0x0A14,
  23823. aulengthmarkbengali: 0x09D7,
  23824. aumatragurmukhi: 0x0A4C,
  23825. auvowelsignbengali: 0x09CC,
  23826. auvowelsigndeva: 0x094C,
  23827. auvowelsigngujarati: 0x0ACC,
  23828. avagrahadeva: 0x093D,
  23829. aybarmenian: 0x0561,
  23830. ayin: 0x05E2,
  23831. ayinaltonehebrew: 0xFB20,
  23832. ayinhebrew: 0x05E2,
  23833. b: 0x0062,
  23834. babengali: 0x09AC,
  23835. backslash: 0x005C,
  23836. backslashmonospace: 0xFF3C,
  23837. badeva: 0x092C,
  23838. bagujarati: 0x0AAC,
  23839. bagurmukhi: 0x0A2C,
  23840. bahiragana: 0x3070,
  23841. bahtthai: 0x0E3F,
  23842. bakatakana: 0x30D0,
  23843. bar: 0x007C,
  23844. barmonospace: 0xFF5C,
  23845. bbopomofo: 0x3105,
  23846. bcircle: 0x24D1,
  23847. bdotaccent: 0x1E03,
  23848. bdotbelow: 0x1E05,
  23849. beamedsixteenthnotes: 0x266C,
  23850. because: 0x2235,
  23851. becyrillic: 0x0431,
  23852. beharabic: 0x0628,
  23853. behfinalarabic: 0xFE90,
  23854. behinitialarabic: 0xFE91,
  23855. behiragana: 0x3079,
  23856. behmedialarabic: 0xFE92,
  23857. behmeeminitialarabic: 0xFC9F,
  23858. behmeemisolatedarabic: 0xFC08,
  23859. behnoonfinalarabic: 0xFC6D,
  23860. bekatakana: 0x30D9,
  23861. benarmenian: 0x0562,
  23862. bet: 0x05D1,
  23863. beta: 0x03B2,
  23864. betasymbolgreek: 0x03D0,
  23865. betdagesh: 0xFB31,
  23866. betdageshhebrew: 0xFB31,
  23867. bethebrew: 0x05D1,
  23868. betrafehebrew: 0xFB4C,
  23869. bhabengali: 0x09AD,
  23870. bhadeva: 0x092D,
  23871. bhagujarati: 0x0AAD,
  23872. bhagurmukhi: 0x0A2D,
  23873. bhook: 0x0253,
  23874. bihiragana: 0x3073,
  23875. bikatakana: 0x30D3,
  23876. bilabialclick: 0x0298,
  23877. bindigurmukhi: 0x0A02,
  23878. birusquare: 0x3331,
  23879. blackcircle: 0x25CF,
  23880. blackdiamond: 0x25C6,
  23881. blackdownpointingtriangle: 0x25BC,
  23882. blackleftpointingpointer: 0x25C4,
  23883. blackleftpointingtriangle: 0x25C0,
  23884. blacklenticularbracketleft: 0x3010,
  23885. blacklenticularbracketleftvertical: 0xFE3B,
  23886. blacklenticularbracketright: 0x3011,
  23887. blacklenticularbracketrightvertical: 0xFE3C,
  23888. blacklowerlefttriangle: 0x25E3,
  23889. blacklowerrighttriangle: 0x25E2,
  23890. blackrectangle: 0x25AC,
  23891. blackrightpointingpointer: 0x25BA,
  23892. blackrightpointingtriangle: 0x25B6,
  23893. blacksmallsquare: 0x25AA,
  23894. blacksmilingface: 0x263B,
  23895. blacksquare: 0x25A0,
  23896. blackstar: 0x2605,
  23897. blackupperlefttriangle: 0x25E4,
  23898. blackupperrighttriangle: 0x25E5,
  23899. blackuppointingsmalltriangle: 0x25B4,
  23900. blackuppointingtriangle: 0x25B2,
  23901. blank: 0x2423,
  23902. blinebelow: 0x1E07,
  23903. block: 0x2588,
  23904. bmonospace: 0xFF42,
  23905. bobaimaithai: 0x0E1A,
  23906. bohiragana: 0x307C,
  23907. bokatakana: 0x30DC,
  23908. bparen: 0x249D,
  23909. bqsquare: 0x33C3,
  23910. braceex: 0xF8F4,
  23911. braceleft: 0x007B,
  23912. braceleftbt: 0xF8F3,
  23913. braceleftmid: 0xF8F2,
  23914. braceleftmonospace: 0xFF5B,
  23915. braceleftsmall: 0xFE5B,
  23916. bracelefttp: 0xF8F1,
  23917. braceleftvertical: 0xFE37,
  23918. braceright: 0x007D,
  23919. bracerightbt: 0xF8FE,
  23920. bracerightmid: 0xF8FD,
  23921. bracerightmonospace: 0xFF5D,
  23922. bracerightsmall: 0xFE5C,
  23923. bracerighttp: 0xF8FC,
  23924. bracerightvertical: 0xFE38,
  23925. bracketleft: 0x005B,
  23926. bracketleftbt: 0xF8F0,
  23927. bracketleftex: 0xF8EF,
  23928. bracketleftmonospace: 0xFF3B,
  23929. bracketlefttp: 0xF8EE,
  23930. bracketright: 0x005D,
  23931. bracketrightbt: 0xF8FB,
  23932. bracketrightex: 0xF8FA,
  23933. bracketrightmonospace: 0xFF3D,
  23934. bracketrighttp: 0xF8F9,
  23935. breve: 0x02D8,
  23936. brevebelowcmb: 0x032E,
  23937. brevecmb: 0x0306,
  23938. breveinvertedbelowcmb: 0x032F,
  23939. breveinvertedcmb: 0x0311,
  23940. breveinverteddoublecmb: 0x0361,
  23941. bridgebelowcmb: 0x032A,
  23942. bridgeinvertedbelowcmb: 0x033A,
  23943. brokenbar: 0x00A6,
  23944. bstroke: 0x0180,
  23945. bsuperior: 0xF6EA,
  23946. btopbar: 0x0183,
  23947. buhiragana: 0x3076,
  23948. bukatakana: 0x30D6,
  23949. bullet: 0x2022,
  23950. bulletinverse: 0x25D8,
  23951. bulletoperator: 0x2219,
  23952. bullseye: 0x25CE,
  23953. c: 0x0063,
  23954. caarmenian: 0x056E,
  23955. cabengali: 0x099A,
  23956. cacute: 0x0107,
  23957. cadeva: 0x091A,
  23958. cagujarati: 0x0A9A,
  23959. cagurmukhi: 0x0A1A,
  23960. calsquare: 0x3388,
  23961. candrabindubengali: 0x0981,
  23962. candrabinducmb: 0x0310,
  23963. candrabindudeva: 0x0901,
  23964. candrabindugujarati: 0x0A81,
  23965. capslock: 0x21EA,
  23966. careof: 0x2105,
  23967. caron: 0x02C7,
  23968. caronbelowcmb: 0x032C,
  23969. caroncmb: 0x030C,
  23970. carriagereturn: 0x21B5,
  23971. cbopomofo: 0x3118,
  23972. ccaron: 0x010D,
  23973. ccedilla: 0x00E7,
  23974. ccedillaacute: 0x1E09,
  23975. ccircle: 0x24D2,
  23976. ccircumflex: 0x0109,
  23977. ccurl: 0x0255,
  23978. cdot: 0x010B,
  23979. cdotaccent: 0x010B,
  23980. cdsquare: 0x33C5,
  23981. cedilla: 0x00B8,
  23982. cedillacmb: 0x0327,
  23983. cent: 0x00A2,
  23984. centigrade: 0x2103,
  23985. centinferior: 0xF6DF,
  23986. centmonospace: 0xFFE0,
  23987. centoldstyle: 0xF7A2,
  23988. centsuperior: 0xF6E0,
  23989. chaarmenian: 0x0579,
  23990. chabengali: 0x099B,
  23991. chadeva: 0x091B,
  23992. chagujarati: 0x0A9B,
  23993. chagurmukhi: 0x0A1B,
  23994. chbopomofo: 0x3114,
  23995. cheabkhasiancyrillic: 0x04BD,
  23996. checkmark: 0x2713,
  23997. checyrillic: 0x0447,
  23998. chedescenderabkhasiancyrillic: 0x04BF,
  23999. chedescendercyrillic: 0x04B7,
  24000. chedieresiscyrillic: 0x04F5,
  24001. cheharmenian: 0x0573,
  24002. chekhakassiancyrillic: 0x04CC,
  24003. cheverticalstrokecyrillic: 0x04B9,
  24004. chi: 0x03C7,
  24005. chieuchacirclekorean: 0x3277,
  24006. chieuchaparenkorean: 0x3217,
  24007. chieuchcirclekorean: 0x3269,
  24008. chieuchkorean: 0x314A,
  24009. chieuchparenkorean: 0x3209,
  24010. chochangthai: 0x0E0A,
  24011. chochanthai: 0x0E08,
  24012. chochingthai: 0x0E09,
  24013. chochoethai: 0x0E0C,
  24014. chook: 0x0188,
  24015. cieucacirclekorean: 0x3276,
  24016. cieucaparenkorean: 0x3216,
  24017. cieuccirclekorean: 0x3268,
  24018. cieuckorean: 0x3148,
  24019. cieucparenkorean: 0x3208,
  24020. cieucuparenkorean: 0x321C,
  24021. circle: 0x25CB,
  24022. circlecopyrt: 0x00A9, // This glyph is missing from Adobe's original list.
  24023. circlemultiply: 0x2297,
  24024. circleot: 0x2299,
  24025. circleplus: 0x2295,
  24026. circlepostalmark: 0x3036,
  24027. circlewithlefthalfblack: 0x25D0,
  24028. circlewithrighthalfblack: 0x25D1,
  24029. circumflex: 0x02C6,
  24030. circumflexbelowcmb: 0x032D,
  24031. circumflexcmb: 0x0302,
  24032. clear: 0x2327,
  24033. clickalveolar: 0x01C2,
  24034. clickdental: 0x01C0,
  24035. clicklateral: 0x01C1,
  24036. clickretroflex: 0x01C3,
  24037. club: 0x2663,
  24038. clubsuitblack: 0x2663,
  24039. clubsuitwhite: 0x2667,
  24040. cmcubedsquare: 0x33A4,
  24041. cmonospace: 0xFF43,
  24042. cmsquaredsquare: 0x33A0,
  24043. coarmenian: 0x0581,
  24044. colon: 0x003A,
  24045. colonmonetary: 0x20A1,
  24046. colonmonospace: 0xFF1A,
  24047. colonsign: 0x20A1,
  24048. colonsmall: 0xFE55,
  24049. colontriangularhalfmod: 0x02D1,
  24050. colontriangularmod: 0x02D0,
  24051. comma: 0x002C,
  24052. commaabovecmb: 0x0313,
  24053. commaaboverightcmb: 0x0315,
  24054. commaaccent: 0xF6C3,
  24055. commaarabic: 0x060C,
  24056. commaarmenian: 0x055D,
  24057. commainferior: 0xF6E1,
  24058. commamonospace: 0xFF0C,
  24059. commareversedabovecmb: 0x0314,
  24060. commareversedmod: 0x02BD,
  24061. commasmall: 0xFE50,
  24062. commasuperior: 0xF6E2,
  24063. commaturnedabovecmb: 0x0312,
  24064. commaturnedmod: 0x02BB,
  24065. compass: 0x263C,
  24066. congruent: 0x2245,
  24067. contourintegral: 0x222E,
  24068. control: 0x2303,
  24069. controlACK: 0x0006,
  24070. controlBEL: 0x0007,
  24071. controlBS: 0x0008,
  24072. controlCAN: 0x0018,
  24073. controlCR: 0x000D,
  24074. controlDC1: 0x0011,
  24075. controlDC2: 0x0012,
  24076. controlDC3: 0x0013,
  24077. controlDC4: 0x0014,
  24078. controlDEL: 0x007F,
  24079. controlDLE: 0x0010,
  24080. controlEM: 0x0019,
  24081. controlENQ: 0x0005,
  24082. controlEOT: 0x0004,
  24083. controlESC: 0x001B,
  24084. controlETB: 0x0017,
  24085. controlETX: 0x0003,
  24086. controlFF: 0x000C,
  24087. controlFS: 0x001C,
  24088. controlGS: 0x001D,
  24089. controlHT: 0x0009,
  24090. controlLF: 0x000A,
  24091. controlNAK: 0x0015,
  24092. controlRS: 0x001E,
  24093. controlSI: 0x000F,
  24094. controlSO: 0x000E,
  24095. controlSOT: 0x0002,
  24096. controlSTX: 0x0001,
  24097. controlSUB: 0x001A,
  24098. controlSYN: 0x0016,
  24099. controlUS: 0x001F,
  24100. controlVT: 0x000B,
  24101. copyright: 0x00A9,
  24102. copyrightsans: 0xF8E9,
  24103. copyrightserif: 0xF6D9,
  24104. cornerbracketleft: 0x300C,
  24105. cornerbracketlefthalfwidth: 0xFF62,
  24106. cornerbracketleftvertical: 0xFE41,
  24107. cornerbracketright: 0x300D,
  24108. cornerbracketrighthalfwidth: 0xFF63,
  24109. cornerbracketrightvertical: 0xFE42,
  24110. corporationsquare: 0x337F,
  24111. cosquare: 0x33C7,
  24112. coverkgsquare: 0x33C6,
  24113. cparen: 0x249E,
  24114. cruzeiro: 0x20A2,
  24115. cstretched: 0x0297,
  24116. curlyand: 0x22CF,
  24117. curlyor: 0x22CE,
  24118. currency: 0x00A4,
  24119. cyrBreve: 0xF6D1,
  24120. cyrFlex: 0xF6D2,
  24121. cyrbreve: 0xF6D4,
  24122. cyrflex: 0xF6D5,
  24123. d: 0x0064,
  24124. daarmenian: 0x0564,
  24125. dabengali: 0x09A6,
  24126. dadarabic: 0x0636,
  24127. dadeva: 0x0926,
  24128. dadfinalarabic: 0xFEBE,
  24129. dadinitialarabic: 0xFEBF,
  24130. dadmedialarabic: 0xFEC0,
  24131. dagesh: 0x05BC,
  24132. dageshhebrew: 0x05BC,
  24133. dagger: 0x2020,
  24134. daggerdbl: 0x2021,
  24135. dagujarati: 0x0AA6,
  24136. dagurmukhi: 0x0A26,
  24137. dahiragana: 0x3060,
  24138. dakatakana: 0x30C0,
  24139. dalarabic: 0x062F,
  24140. dalet: 0x05D3,
  24141. daletdagesh: 0xFB33,
  24142. daletdageshhebrew: 0xFB33,
  24143. dalethebrew: 0x05D3,
  24144. dalfinalarabic: 0xFEAA,
  24145. dammaarabic: 0x064F,
  24146. dammalowarabic: 0x064F,
  24147. dammatanaltonearabic: 0x064C,
  24148. dammatanarabic: 0x064C,
  24149. danda: 0x0964,
  24150. dargahebrew: 0x05A7,
  24151. dargalefthebrew: 0x05A7,
  24152. dasiapneumatacyrilliccmb: 0x0485,
  24153. dblGrave: 0xF6D3,
  24154. dblanglebracketleft: 0x300A,
  24155. dblanglebracketleftvertical: 0xFE3D,
  24156. dblanglebracketright: 0x300B,
  24157. dblanglebracketrightvertical: 0xFE3E,
  24158. dblarchinvertedbelowcmb: 0x032B,
  24159. dblarrowleft: 0x21D4,
  24160. dblarrowright: 0x21D2,
  24161. dbldanda: 0x0965,
  24162. dblgrave: 0xF6D6,
  24163. dblgravecmb: 0x030F,
  24164. dblintegral: 0x222C,
  24165. dbllowline: 0x2017,
  24166. dbllowlinecmb: 0x0333,
  24167. dbloverlinecmb: 0x033F,
  24168. dblprimemod: 0x02BA,
  24169. dblverticalbar: 0x2016,
  24170. dblverticallineabovecmb: 0x030E,
  24171. dbopomofo: 0x3109,
  24172. dbsquare: 0x33C8,
  24173. dcaron: 0x010F,
  24174. dcedilla: 0x1E11,
  24175. dcircle: 0x24D3,
  24176. dcircumflexbelow: 0x1E13,
  24177. dcroat: 0x0111,
  24178. ddabengali: 0x09A1,
  24179. ddadeva: 0x0921,
  24180. ddagujarati: 0x0AA1,
  24181. ddagurmukhi: 0x0A21,
  24182. ddalarabic: 0x0688,
  24183. ddalfinalarabic: 0xFB89,
  24184. dddhadeva: 0x095C,
  24185. ddhabengali: 0x09A2,
  24186. ddhadeva: 0x0922,
  24187. ddhagujarati: 0x0AA2,
  24188. ddhagurmukhi: 0x0A22,
  24189. ddotaccent: 0x1E0B,
  24190. ddotbelow: 0x1E0D,
  24191. decimalseparatorarabic: 0x066B,
  24192. decimalseparatorpersian: 0x066B,
  24193. decyrillic: 0x0434,
  24194. degree: 0x00B0,
  24195. dehihebrew: 0x05AD,
  24196. dehiragana: 0x3067,
  24197. deicoptic: 0x03EF,
  24198. dekatakana: 0x30C7,
  24199. deleteleft: 0x232B,
  24200. deleteright: 0x2326,
  24201. delta: 0x03B4,
  24202. deltaturned: 0x018D,
  24203. denominatorminusonenumeratorbengali: 0x09F8,
  24204. dezh: 0x02A4,
  24205. dhabengali: 0x09A7,
  24206. dhadeva: 0x0927,
  24207. dhagujarati: 0x0AA7,
  24208. dhagurmukhi: 0x0A27,
  24209. dhook: 0x0257,
  24210. dialytikatonos: 0x0385,
  24211. dialytikatonoscmb: 0x0344,
  24212. diamond: 0x2666,
  24213. diamondsuitwhite: 0x2662,
  24214. dieresis: 0x00A8,
  24215. dieresisacute: 0xF6D7,
  24216. dieresisbelowcmb: 0x0324,
  24217. dieresiscmb: 0x0308,
  24218. dieresisgrave: 0xF6D8,
  24219. dieresistonos: 0x0385,
  24220. dihiragana: 0x3062,
  24221. dikatakana: 0x30C2,
  24222. dittomark: 0x3003,
  24223. divide: 0x00F7,
  24224. divides: 0x2223,
  24225. divisionslash: 0x2215,
  24226. djecyrillic: 0x0452,
  24227. dkshade: 0x2593,
  24228. dlinebelow: 0x1E0F,
  24229. dlsquare: 0x3397,
  24230. dmacron: 0x0111,
  24231. dmonospace: 0xFF44,
  24232. dnblock: 0x2584,
  24233. dochadathai: 0x0E0E,
  24234. dodekthai: 0x0E14,
  24235. dohiragana: 0x3069,
  24236. dokatakana: 0x30C9,
  24237. dollar: 0x0024,
  24238. dollarinferior: 0xF6E3,
  24239. dollarmonospace: 0xFF04,
  24240. dollaroldstyle: 0xF724,
  24241. dollarsmall: 0xFE69,
  24242. dollarsuperior: 0xF6E4,
  24243. dong: 0x20AB,
  24244. dorusquare: 0x3326,
  24245. dotaccent: 0x02D9,
  24246. dotaccentcmb: 0x0307,
  24247. dotbelowcmb: 0x0323,
  24248. dotbelowcomb: 0x0323,
  24249. dotkatakana: 0x30FB,
  24250. dotlessi: 0x0131,
  24251. dotlessj: 0xF6BE,
  24252. dotlessjstrokehook: 0x0284,
  24253. dotmath: 0x22C5,
  24254. dottedcircle: 0x25CC,
  24255. doubleyodpatah: 0xFB1F,
  24256. doubleyodpatahhebrew: 0xFB1F,
  24257. downtackbelowcmb: 0x031E,
  24258. downtackmod: 0x02D5,
  24259. dparen: 0x249F,
  24260. dsuperior: 0xF6EB,
  24261. dtail: 0x0256,
  24262. dtopbar: 0x018C,
  24263. duhiragana: 0x3065,
  24264. dukatakana: 0x30C5,
  24265. dz: 0x01F3,
  24266. dzaltone: 0x02A3,
  24267. dzcaron: 0x01C6,
  24268. dzcurl: 0x02A5,
  24269. dzeabkhasiancyrillic: 0x04E1,
  24270. dzecyrillic: 0x0455,
  24271. dzhecyrillic: 0x045F,
  24272. e: 0x0065,
  24273. eacute: 0x00E9,
  24274. earth: 0x2641,
  24275. ebengali: 0x098F,
  24276. ebopomofo: 0x311C,
  24277. ebreve: 0x0115,
  24278. ecandradeva: 0x090D,
  24279. ecandragujarati: 0x0A8D,
  24280. ecandravowelsigndeva: 0x0945,
  24281. ecandravowelsigngujarati: 0x0AC5,
  24282. ecaron: 0x011B,
  24283. ecedillabreve: 0x1E1D,
  24284. echarmenian: 0x0565,
  24285. echyiwnarmenian: 0x0587,
  24286. ecircle: 0x24D4,
  24287. ecircumflex: 0x00EA,
  24288. ecircumflexacute: 0x1EBF,
  24289. ecircumflexbelow: 0x1E19,
  24290. ecircumflexdotbelow: 0x1EC7,
  24291. ecircumflexgrave: 0x1EC1,
  24292. ecircumflexhookabove: 0x1EC3,
  24293. ecircumflextilde: 0x1EC5,
  24294. ecyrillic: 0x0454,
  24295. edblgrave: 0x0205,
  24296. edeva: 0x090F,
  24297. edieresis: 0x00EB,
  24298. edot: 0x0117,
  24299. edotaccent: 0x0117,
  24300. edotbelow: 0x1EB9,
  24301. eegurmukhi: 0x0A0F,
  24302. eematragurmukhi: 0x0A47,
  24303. efcyrillic: 0x0444,
  24304. egrave: 0x00E8,
  24305. egujarati: 0x0A8F,
  24306. eharmenian: 0x0567,
  24307. ehbopomofo: 0x311D,
  24308. ehiragana: 0x3048,
  24309. ehookabove: 0x1EBB,
  24310. eibopomofo: 0x311F,
  24311. eight: 0x0038,
  24312. eightarabic: 0x0668,
  24313. eightbengali: 0x09EE,
  24314. eightcircle: 0x2467,
  24315. eightcircleinversesansserif: 0x2791,
  24316. eightdeva: 0x096E,
  24317. eighteencircle: 0x2471,
  24318. eighteenparen: 0x2485,
  24319. eighteenperiod: 0x2499,
  24320. eightgujarati: 0x0AEE,
  24321. eightgurmukhi: 0x0A6E,
  24322. eighthackarabic: 0x0668,
  24323. eighthangzhou: 0x3028,
  24324. eighthnotebeamed: 0x266B,
  24325. eightideographicparen: 0x3227,
  24326. eightinferior: 0x2088,
  24327. eightmonospace: 0xFF18,
  24328. eightoldstyle: 0xF738,
  24329. eightparen: 0x247B,
  24330. eightperiod: 0x248F,
  24331. eightpersian: 0x06F8,
  24332. eightroman: 0x2177,
  24333. eightsuperior: 0x2078,
  24334. eightthai: 0x0E58,
  24335. einvertedbreve: 0x0207,
  24336. eiotifiedcyrillic: 0x0465,
  24337. ekatakana: 0x30A8,
  24338. ekatakanahalfwidth: 0xFF74,
  24339. ekonkargurmukhi: 0x0A74,
  24340. ekorean: 0x3154,
  24341. elcyrillic: 0x043B,
  24342. element: 0x2208,
  24343. elevencircle: 0x246A,
  24344. elevenparen: 0x247E,
  24345. elevenperiod: 0x2492,
  24346. elevenroman: 0x217A,
  24347. ellipsis: 0x2026,
  24348. ellipsisvertical: 0x22EE,
  24349. emacron: 0x0113,
  24350. emacronacute: 0x1E17,
  24351. emacrongrave: 0x1E15,
  24352. emcyrillic: 0x043C,
  24353. emdash: 0x2014,
  24354. emdashvertical: 0xFE31,
  24355. emonospace: 0xFF45,
  24356. emphasismarkarmenian: 0x055B,
  24357. emptyset: 0x2205,
  24358. enbopomofo: 0x3123,
  24359. encyrillic: 0x043D,
  24360. endash: 0x2013,
  24361. endashvertical: 0xFE32,
  24362. endescendercyrillic: 0x04A3,
  24363. eng: 0x014B,
  24364. engbopomofo: 0x3125,
  24365. enghecyrillic: 0x04A5,
  24366. enhookcyrillic: 0x04C8,
  24367. enspace: 0x2002,
  24368. eogonek: 0x0119,
  24369. eokorean: 0x3153,
  24370. eopen: 0x025B,
  24371. eopenclosed: 0x029A,
  24372. eopenreversed: 0x025C,
  24373. eopenreversedclosed: 0x025E,
  24374. eopenreversedhook: 0x025D,
  24375. eparen: 0x24A0,
  24376. epsilon: 0x03B5,
  24377. epsilontonos: 0x03AD,
  24378. equal: 0x003D,
  24379. equalmonospace: 0xFF1D,
  24380. equalsmall: 0xFE66,
  24381. equalsuperior: 0x207C,
  24382. equivalence: 0x2261,
  24383. erbopomofo: 0x3126,
  24384. ercyrillic: 0x0440,
  24385. ereversed: 0x0258,
  24386. ereversedcyrillic: 0x044D,
  24387. escyrillic: 0x0441,
  24388. esdescendercyrillic: 0x04AB,
  24389. esh: 0x0283,
  24390. eshcurl: 0x0286,
  24391. eshortdeva: 0x090E,
  24392. eshortvowelsigndeva: 0x0946,
  24393. eshreversedloop: 0x01AA,
  24394. eshsquatreversed: 0x0285,
  24395. esmallhiragana: 0x3047,
  24396. esmallkatakana: 0x30A7,
  24397. esmallkatakanahalfwidth: 0xFF6A,
  24398. estimated: 0x212E,
  24399. esuperior: 0xF6EC,
  24400. eta: 0x03B7,
  24401. etarmenian: 0x0568,
  24402. etatonos: 0x03AE,
  24403. eth: 0x00F0,
  24404. etilde: 0x1EBD,
  24405. etildebelow: 0x1E1B,
  24406. etnahtafoukhhebrew: 0x0591,
  24407. etnahtafoukhlefthebrew: 0x0591,
  24408. etnahtahebrew: 0x0591,
  24409. etnahtalefthebrew: 0x0591,
  24410. eturned: 0x01DD,
  24411. eukorean: 0x3161,
  24412. euro: 0x20AC,
  24413. evowelsignbengali: 0x09C7,
  24414. evowelsigndeva: 0x0947,
  24415. evowelsigngujarati: 0x0AC7,
  24416. exclam: 0x0021,
  24417. exclamarmenian: 0x055C,
  24418. exclamdbl: 0x203C,
  24419. exclamdown: 0x00A1,
  24420. exclamdownsmall: 0xF7A1,
  24421. exclammonospace: 0xFF01,
  24422. exclamsmall: 0xF721,
  24423. existential: 0x2203,
  24424. ezh: 0x0292,
  24425. ezhcaron: 0x01EF,
  24426. ezhcurl: 0x0293,
  24427. ezhreversed: 0x01B9,
  24428. ezhtail: 0x01BA,
  24429. f: 0x0066,
  24430. fadeva: 0x095E,
  24431. fagurmukhi: 0x0A5E,
  24432. fahrenheit: 0x2109,
  24433. fathaarabic: 0x064E,
  24434. fathalowarabic: 0x064E,
  24435. fathatanarabic: 0x064B,
  24436. fbopomofo: 0x3108,
  24437. fcircle: 0x24D5,
  24438. fdotaccent: 0x1E1F,
  24439. feharabic: 0x0641,
  24440. feharmenian: 0x0586,
  24441. fehfinalarabic: 0xFED2,
  24442. fehinitialarabic: 0xFED3,
  24443. fehmedialarabic: 0xFED4,
  24444. feicoptic: 0x03E5,
  24445. female: 0x2640,
  24446. ff: 0xFB00,
  24447. ffi: 0xFB03,
  24448. ffl: 0xFB04,
  24449. fi: 0xFB01,
  24450. fifteencircle: 0x246E,
  24451. fifteenparen: 0x2482,
  24452. fifteenperiod: 0x2496,
  24453. figuredash: 0x2012,
  24454. filledbox: 0x25A0,
  24455. filledrect: 0x25AC,
  24456. finalkaf: 0x05DA,
  24457. finalkafdagesh: 0xFB3A,
  24458. finalkafdageshhebrew: 0xFB3A,
  24459. finalkafhebrew: 0x05DA,
  24460. finalmem: 0x05DD,
  24461. finalmemhebrew: 0x05DD,
  24462. finalnun: 0x05DF,
  24463. finalnunhebrew: 0x05DF,
  24464. finalpe: 0x05E3,
  24465. finalpehebrew: 0x05E3,
  24466. finaltsadi: 0x05E5,
  24467. finaltsadihebrew: 0x05E5,
  24468. firsttonechinese: 0x02C9,
  24469. fisheye: 0x25C9,
  24470. fitacyrillic: 0x0473,
  24471. five: 0x0035,
  24472. fivearabic: 0x0665,
  24473. fivebengali: 0x09EB,
  24474. fivecircle: 0x2464,
  24475. fivecircleinversesansserif: 0x278E,
  24476. fivedeva: 0x096B,
  24477. fiveeighths: 0x215D,
  24478. fivegujarati: 0x0AEB,
  24479. fivegurmukhi: 0x0A6B,
  24480. fivehackarabic: 0x0665,
  24481. fivehangzhou: 0x3025,
  24482. fiveideographicparen: 0x3224,
  24483. fiveinferior: 0x2085,
  24484. fivemonospace: 0xFF15,
  24485. fiveoldstyle: 0xF735,
  24486. fiveparen: 0x2478,
  24487. fiveperiod: 0x248C,
  24488. fivepersian: 0x06F5,
  24489. fiveroman: 0x2174,
  24490. fivesuperior: 0x2075,
  24491. fivethai: 0x0E55,
  24492. fl: 0xFB02,
  24493. florin: 0x0192,
  24494. fmonospace: 0xFF46,
  24495. fmsquare: 0x3399,
  24496. fofanthai: 0x0E1F,
  24497. fofathai: 0x0E1D,
  24498. fongmanthai: 0x0E4F,
  24499. forall: 0x2200,
  24500. four: 0x0034,
  24501. fourarabic: 0x0664,
  24502. fourbengali: 0x09EA,
  24503. fourcircle: 0x2463,
  24504. fourcircleinversesansserif: 0x278D,
  24505. fourdeva: 0x096A,
  24506. fourgujarati: 0x0AEA,
  24507. fourgurmukhi: 0x0A6A,
  24508. fourhackarabic: 0x0664,
  24509. fourhangzhou: 0x3024,
  24510. fourideographicparen: 0x3223,
  24511. fourinferior: 0x2084,
  24512. fourmonospace: 0xFF14,
  24513. fournumeratorbengali: 0x09F7,
  24514. fouroldstyle: 0xF734,
  24515. fourparen: 0x2477,
  24516. fourperiod: 0x248B,
  24517. fourpersian: 0x06F4,
  24518. fourroman: 0x2173,
  24519. foursuperior: 0x2074,
  24520. fourteencircle: 0x246D,
  24521. fourteenparen: 0x2481,
  24522. fourteenperiod: 0x2495,
  24523. fourthai: 0x0E54,
  24524. fourthtonechinese: 0x02CB,
  24525. fparen: 0x24A1,
  24526. fraction: 0x2044,
  24527. franc: 0x20A3,
  24528. g: 0x0067,
  24529. gabengali: 0x0997,
  24530. gacute: 0x01F5,
  24531. gadeva: 0x0917,
  24532. gafarabic: 0x06AF,
  24533. gaffinalarabic: 0xFB93,
  24534. gafinitialarabic: 0xFB94,
  24535. gafmedialarabic: 0xFB95,
  24536. gagujarati: 0x0A97,
  24537. gagurmukhi: 0x0A17,
  24538. gahiragana: 0x304C,
  24539. gakatakana: 0x30AC,
  24540. gamma: 0x03B3,
  24541. gammalatinsmall: 0x0263,
  24542. gammasuperior: 0x02E0,
  24543. gangiacoptic: 0x03EB,
  24544. gbopomofo: 0x310D,
  24545. gbreve: 0x011F,
  24546. gcaron: 0x01E7,
  24547. gcedilla: 0x0123,
  24548. gcircle: 0x24D6,
  24549. gcircumflex: 0x011D,
  24550. gcommaaccent: 0x0123,
  24551. gdot: 0x0121,
  24552. gdotaccent: 0x0121,
  24553. gecyrillic: 0x0433,
  24554. gehiragana: 0x3052,
  24555. gekatakana: 0x30B2,
  24556. geometricallyequal: 0x2251,
  24557. gereshaccenthebrew: 0x059C,
  24558. gereshhebrew: 0x05F3,
  24559. gereshmuqdamhebrew: 0x059D,
  24560. germandbls: 0x00DF,
  24561. gershayimaccenthebrew: 0x059E,
  24562. gershayimhebrew: 0x05F4,
  24563. getamark: 0x3013,
  24564. ghabengali: 0x0998,
  24565. ghadarmenian: 0x0572,
  24566. ghadeva: 0x0918,
  24567. ghagujarati: 0x0A98,
  24568. ghagurmukhi: 0x0A18,
  24569. ghainarabic: 0x063A,
  24570. ghainfinalarabic: 0xFECE,
  24571. ghaininitialarabic: 0xFECF,
  24572. ghainmedialarabic: 0xFED0,
  24573. ghemiddlehookcyrillic: 0x0495,
  24574. ghestrokecyrillic: 0x0493,
  24575. gheupturncyrillic: 0x0491,
  24576. ghhadeva: 0x095A,
  24577. ghhagurmukhi: 0x0A5A,
  24578. ghook: 0x0260,
  24579. ghzsquare: 0x3393,
  24580. gihiragana: 0x304E,
  24581. gikatakana: 0x30AE,
  24582. gimarmenian: 0x0563,
  24583. gimel: 0x05D2,
  24584. gimeldagesh: 0xFB32,
  24585. gimeldageshhebrew: 0xFB32,
  24586. gimelhebrew: 0x05D2,
  24587. gjecyrillic: 0x0453,
  24588. glottalinvertedstroke: 0x01BE,
  24589. glottalstop: 0x0294,
  24590. glottalstopinverted: 0x0296,
  24591. glottalstopmod: 0x02C0,
  24592. glottalstopreversed: 0x0295,
  24593. glottalstopreversedmod: 0x02C1,
  24594. glottalstopreversedsuperior: 0x02E4,
  24595. glottalstopstroke: 0x02A1,
  24596. glottalstopstrokereversed: 0x02A2,
  24597. gmacron: 0x1E21,
  24598. gmonospace: 0xFF47,
  24599. gohiragana: 0x3054,
  24600. gokatakana: 0x30B4,
  24601. gparen: 0x24A2,
  24602. gpasquare: 0x33AC,
  24603. gradient: 0x2207,
  24604. grave: 0x0060,
  24605. gravebelowcmb: 0x0316,
  24606. gravecmb: 0x0300,
  24607. gravecomb: 0x0300,
  24608. gravedeva: 0x0953,
  24609. gravelowmod: 0x02CE,
  24610. gravemonospace: 0xFF40,
  24611. gravetonecmb: 0x0340,
  24612. greater: 0x003E,
  24613. greaterequal: 0x2265,
  24614. greaterequalorless: 0x22DB,
  24615. greatermonospace: 0xFF1E,
  24616. greaterorequivalent: 0x2273,
  24617. greaterorless: 0x2277,
  24618. greateroverequal: 0x2267,
  24619. greatersmall: 0xFE65,
  24620. gscript: 0x0261,
  24621. gstroke: 0x01E5,
  24622. guhiragana: 0x3050,
  24623. guillemotleft: 0x00AB,
  24624. guillemotright: 0x00BB,
  24625. guilsinglleft: 0x2039,
  24626. guilsinglright: 0x203A,
  24627. gukatakana: 0x30B0,
  24628. guramusquare: 0x3318,
  24629. gysquare: 0x33C9,
  24630. h: 0x0068,
  24631. haabkhasiancyrillic: 0x04A9,
  24632. haaltonearabic: 0x06C1,
  24633. habengali: 0x09B9,
  24634. hadescendercyrillic: 0x04B3,
  24635. hadeva: 0x0939,
  24636. hagujarati: 0x0AB9,
  24637. hagurmukhi: 0x0A39,
  24638. haharabic: 0x062D,
  24639. hahfinalarabic: 0xFEA2,
  24640. hahinitialarabic: 0xFEA3,
  24641. hahiragana: 0x306F,
  24642. hahmedialarabic: 0xFEA4,
  24643. haitusquare: 0x332A,
  24644. hakatakana: 0x30CF,
  24645. hakatakanahalfwidth: 0xFF8A,
  24646. halantgurmukhi: 0x0A4D,
  24647. hamzaarabic: 0x0621,
  24648. hamzalowarabic: 0x0621,
  24649. hangulfiller: 0x3164,
  24650. hardsigncyrillic: 0x044A,
  24651. harpoonleftbarbup: 0x21BC,
  24652. harpoonrightbarbup: 0x21C0,
  24653. hasquare: 0x33CA,
  24654. hatafpatah: 0x05B2,
  24655. hatafpatah16: 0x05B2,
  24656. hatafpatah23: 0x05B2,
  24657. hatafpatah2f: 0x05B2,
  24658. hatafpatahhebrew: 0x05B2,
  24659. hatafpatahnarrowhebrew: 0x05B2,
  24660. hatafpatahquarterhebrew: 0x05B2,
  24661. hatafpatahwidehebrew: 0x05B2,
  24662. hatafqamats: 0x05B3,
  24663. hatafqamats1b: 0x05B3,
  24664. hatafqamats28: 0x05B3,
  24665. hatafqamats34: 0x05B3,
  24666. hatafqamatshebrew: 0x05B3,
  24667. hatafqamatsnarrowhebrew: 0x05B3,
  24668. hatafqamatsquarterhebrew: 0x05B3,
  24669. hatafqamatswidehebrew: 0x05B3,
  24670. hatafsegol: 0x05B1,
  24671. hatafsegol17: 0x05B1,
  24672. hatafsegol24: 0x05B1,
  24673. hatafsegol30: 0x05B1,
  24674. hatafsegolhebrew: 0x05B1,
  24675. hatafsegolnarrowhebrew: 0x05B1,
  24676. hatafsegolquarterhebrew: 0x05B1,
  24677. hatafsegolwidehebrew: 0x05B1,
  24678. hbar: 0x0127,
  24679. hbopomofo: 0x310F,
  24680. hbrevebelow: 0x1E2B,
  24681. hcedilla: 0x1E29,
  24682. hcircle: 0x24D7,
  24683. hcircumflex: 0x0125,
  24684. hdieresis: 0x1E27,
  24685. hdotaccent: 0x1E23,
  24686. hdotbelow: 0x1E25,
  24687. he: 0x05D4,
  24688. heart: 0x2665,
  24689. heartsuitblack: 0x2665,
  24690. heartsuitwhite: 0x2661,
  24691. hedagesh: 0xFB34,
  24692. hedageshhebrew: 0xFB34,
  24693. hehaltonearabic: 0x06C1,
  24694. heharabic: 0x0647,
  24695. hehebrew: 0x05D4,
  24696. hehfinalaltonearabic: 0xFBA7,
  24697. hehfinalalttwoarabic: 0xFEEA,
  24698. hehfinalarabic: 0xFEEA,
  24699. hehhamzaabovefinalarabic: 0xFBA5,
  24700. hehhamzaaboveisolatedarabic: 0xFBA4,
  24701. hehinitialaltonearabic: 0xFBA8,
  24702. hehinitialarabic: 0xFEEB,
  24703. hehiragana: 0x3078,
  24704. hehmedialaltonearabic: 0xFBA9,
  24705. hehmedialarabic: 0xFEEC,
  24706. heiseierasquare: 0x337B,
  24707. hekatakana: 0x30D8,
  24708. hekatakanahalfwidth: 0xFF8D,
  24709. hekutaarusquare: 0x3336,
  24710. henghook: 0x0267,
  24711. herutusquare: 0x3339,
  24712. het: 0x05D7,
  24713. hethebrew: 0x05D7,
  24714. hhook: 0x0266,
  24715. hhooksuperior: 0x02B1,
  24716. hieuhacirclekorean: 0x327B,
  24717. hieuhaparenkorean: 0x321B,
  24718. hieuhcirclekorean: 0x326D,
  24719. hieuhkorean: 0x314E,
  24720. hieuhparenkorean: 0x320D,
  24721. hihiragana: 0x3072,
  24722. hikatakana: 0x30D2,
  24723. hikatakanahalfwidth: 0xFF8B,
  24724. hiriq: 0x05B4,
  24725. hiriq14: 0x05B4,
  24726. hiriq21: 0x05B4,
  24727. hiriq2d: 0x05B4,
  24728. hiriqhebrew: 0x05B4,
  24729. hiriqnarrowhebrew: 0x05B4,
  24730. hiriqquarterhebrew: 0x05B4,
  24731. hiriqwidehebrew: 0x05B4,
  24732. hlinebelow: 0x1E96,
  24733. hmonospace: 0xFF48,
  24734. hoarmenian: 0x0570,
  24735. hohipthai: 0x0E2B,
  24736. hohiragana: 0x307B,
  24737. hokatakana: 0x30DB,
  24738. hokatakanahalfwidth: 0xFF8E,
  24739. holam: 0x05B9,
  24740. holam19: 0x05B9,
  24741. holam26: 0x05B9,
  24742. holam32: 0x05B9,
  24743. holamhebrew: 0x05B9,
  24744. holamnarrowhebrew: 0x05B9,
  24745. holamquarterhebrew: 0x05B9,
  24746. holamwidehebrew: 0x05B9,
  24747. honokhukthai: 0x0E2E,
  24748. hookabovecomb: 0x0309,
  24749. hookcmb: 0x0309,
  24750. hookpalatalizedbelowcmb: 0x0321,
  24751. hookretroflexbelowcmb: 0x0322,
  24752. hoonsquare: 0x3342,
  24753. horicoptic: 0x03E9,
  24754. horizontalbar: 0x2015,
  24755. horncmb: 0x031B,
  24756. hotsprings: 0x2668,
  24757. house: 0x2302,
  24758. hparen: 0x24A3,
  24759. hsuperior: 0x02B0,
  24760. hturned: 0x0265,
  24761. huhiragana: 0x3075,
  24762. huiitosquare: 0x3333,
  24763. hukatakana: 0x30D5,
  24764. hukatakanahalfwidth: 0xFF8C,
  24765. hungarumlaut: 0x02DD,
  24766. hungarumlautcmb: 0x030B,
  24767. hv: 0x0195,
  24768. hyphen: 0x002D,
  24769. hypheninferior: 0xF6E5,
  24770. hyphenmonospace: 0xFF0D,
  24771. hyphensmall: 0xFE63,
  24772. hyphensuperior: 0xF6E6,
  24773. hyphentwo: 0x2010,
  24774. i: 0x0069,
  24775. iacute: 0x00ED,
  24776. iacyrillic: 0x044F,
  24777. ibengali: 0x0987,
  24778. ibopomofo: 0x3127,
  24779. ibreve: 0x012D,
  24780. icaron: 0x01D0,
  24781. icircle: 0x24D8,
  24782. icircumflex: 0x00EE,
  24783. icyrillic: 0x0456,
  24784. idblgrave: 0x0209,
  24785. ideographearthcircle: 0x328F,
  24786. ideographfirecircle: 0x328B,
  24787. ideographicallianceparen: 0x323F,
  24788. ideographiccallparen: 0x323A,
  24789. ideographiccentrecircle: 0x32A5,
  24790. ideographicclose: 0x3006,
  24791. ideographiccomma: 0x3001,
  24792. ideographiccommaleft: 0xFF64,
  24793. ideographiccongratulationparen: 0x3237,
  24794. ideographiccorrectcircle: 0x32A3,
  24795. ideographicearthparen: 0x322F,
  24796. ideographicenterpriseparen: 0x323D,
  24797. ideographicexcellentcircle: 0x329D,
  24798. ideographicfestivalparen: 0x3240,
  24799. ideographicfinancialcircle: 0x3296,
  24800. ideographicfinancialparen: 0x3236,
  24801. ideographicfireparen: 0x322B,
  24802. ideographichaveparen: 0x3232,
  24803. ideographichighcircle: 0x32A4,
  24804. ideographiciterationmark: 0x3005,
  24805. ideographiclaborcircle: 0x3298,
  24806. ideographiclaborparen: 0x3238,
  24807. ideographicleftcircle: 0x32A7,
  24808. ideographiclowcircle: 0x32A6,
  24809. ideographicmedicinecircle: 0x32A9,
  24810. ideographicmetalparen: 0x322E,
  24811. ideographicmoonparen: 0x322A,
  24812. ideographicnameparen: 0x3234,
  24813. ideographicperiod: 0x3002,
  24814. ideographicprintcircle: 0x329E,
  24815. ideographicreachparen: 0x3243,
  24816. ideographicrepresentparen: 0x3239,
  24817. ideographicresourceparen: 0x323E,
  24818. ideographicrightcircle: 0x32A8,
  24819. ideographicsecretcircle: 0x3299,
  24820. ideographicselfparen: 0x3242,
  24821. ideographicsocietyparen: 0x3233,
  24822. ideographicspace: 0x3000,
  24823. ideographicspecialparen: 0x3235,
  24824. ideographicstockparen: 0x3231,
  24825. ideographicstudyparen: 0x323B,
  24826. ideographicsunparen: 0x3230,
  24827. ideographicsuperviseparen: 0x323C,
  24828. ideographicwaterparen: 0x322C,
  24829. ideographicwoodparen: 0x322D,
  24830. ideographiczero: 0x3007,
  24831. ideographmetalcircle: 0x328E,
  24832. ideographmooncircle: 0x328A,
  24833. ideographnamecircle: 0x3294,
  24834. ideographsuncircle: 0x3290,
  24835. ideographwatercircle: 0x328C,
  24836. ideographwoodcircle: 0x328D,
  24837. ideva: 0x0907,
  24838. idieresis: 0x00EF,
  24839. idieresisacute: 0x1E2F,
  24840. idieresiscyrillic: 0x04E5,
  24841. idotbelow: 0x1ECB,
  24842. iebrevecyrillic: 0x04D7,
  24843. iecyrillic: 0x0435,
  24844. ieungacirclekorean: 0x3275,
  24845. ieungaparenkorean: 0x3215,
  24846. ieungcirclekorean: 0x3267,
  24847. ieungkorean: 0x3147,
  24848. ieungparenkorean: 0x3207,
  24849. igrave: 0x00EC,
  24850. igujarati: 0x0A87,
  24851. igurmukhi: 0x0A07,
  24852. ihiragana: 0x3044,
  24853. ihookabove: 0x1EC9,
  24854. iibengali: 0x0988,
  24855. iicyrillic: 0x0438,
  24856. iideva: 0x0908,
  24857. iigujarati: 0x0A88,
  24858. iigurmukhi: 0x0A08,
  24859. iimatragurmukhi: 0x0A40,
  24860. iinvertedbreve: 0x020B,
  24861. iishortcyrillic: 0x0439,
  24862. iivowelsignbengali: 0x09C0,
  24863. iivowelsigndeva: 0x0940,
  24864. iivowelsigngujarati: 0x0AC0,
  24865. ij: 0x0133,
  24866. ikatakana: 0x30A4,
  24867. ikatakanahalfwidth: 0xFF72,
  24868. ikorean: 0x3163,
  24869. ilde: 0x02DC,
  24870. iluyhebrew: 0x05AC,
  24871. imacron: 0x012B,
  24872. imacroncyrillic: 0x04E3,
  24873. imageorapproximatelyequal: 0x2253,
  24874. imatragurmukhi: 0x0A3F,
  24875. imonospace: 0xFF49,
  24876. increment: 0x2206,
  24877. infinity: 0x221E,
  24878. iniarmenian: 0x056B,
  24879. integral: 0x222B,
  24880. integralbottom: 0x2321,
  24881. integralbt: 0x2321,
  24882. integralex: 0xF8F5,
  24883. integraltop: 0x2320,
  24884. integraltp: 0x2320,
  24885. intersection: 0x2229,
  24886. intisquare: 0x3305,
  24887. invbullet: 0x25D8,
  24888. invcircle: 0x25D9,
  24889. invsmileface: 0x263B,
  24890. iocyrillic: 0x0451,
  24891. iogonek: 0x012F,
  24892. iota: 0x03B9,
  24893. iotadieresis: 0x03CA,
  24894. iotadieresistonos: 0x0390,
  24895. iotalatin: 0x0269,
  24896. iotatonos: 0x03AF,
  24897. iparen: 0x24A4,
  24898. irigurmukhi: 0x0A72,
  24899. ismallhiragana: 0x3043,
  24900. ismallkatakana: 0x30A3,
  24901. ismallkatakanahalfwidth: 0xFF68,
  24902. issharbengali: 0x09FA,
  24903. istroke: 0x0268,
  24904. isuperior: 0xF6ED,
  24905. iterationhiragana: 0x309D,
  24906. iterationkatakana: 0x30FD,
  24907. itilde: 0x0129,
  24908. itildebelow: 0x1E2D,
  24909. iubopomofo: 0x3129,
  24910. iucyrillic: 0x044E,
  24911. ivowelsignbengali: 0x09BF,
  24912. ivowelsigndeva: 0x093F,
  24913. ivowelsigngujarati: 0x0ABF,
  24914. izhitsacyrillic: 0x0475,
  24915. izhitsadblgravecyrillic: 0x0477,
  24916. j: 0x006A,
  24917. jaarmenian: 0x0571,
  24918. jabengali: 0x099C,
  24919. jadeva: 0x091C,
  24920. jagujarati: 0x0A9C,
  24921. jagurmukhi: 0x0A1C,
  24922. jbopomofo: 0x3110,
  24923. jcaron: 0x01F0,
  24924. jcircle: 0x24D9,
  24925. jcircumflex: 0x0135,
  24926. jcrossedtail: 0x029D,
  24927. jdotlessstroke: 0x025F,
  24928. jecyrillic: 0x0458,
  24929. jeemarabic: 0x062C,
  24930. jeemfinalarabic: 0xFE9E,
  24931. jeeminitialarabic: 0xFE9F,
  24932. jeemmedialarabic: 0xFEA0,
  24933. jeharabic: 0x0698,
  24934. jehfinalarabic: 0xFB8B,
  24935. jhabengali: 0x099D,
  24936. jhadeva: 0x091D,
  24937. jhagujarati: 0x0A9D,
  24938. jhagurmukhi: 0x0A1D,
  24939. jheharmenian: 0x057B,
  24940. jis: 0x3004,
  24941. jmonospace: 0xFF4A,
  24942. jparen: 0x24A5,
  24943. jsuperior: 0x02B2,
  24944. k: 0x006B,
  24945. kabashkircyrillic: 0x04A1,
  24946. kabengali: 0x0995,
  24947. kacute: 0x1E31,
  24948. kacyrillic: 0x043A,
  24949. kadescendercyrillic: 0x049B,
  24950. kadeva: 0x0915,
  24951. kaf: 0x05DB,
  24952. kafarabic: 0x0643,
  24953. kafdagesh: 0xFB3B,
  24954. kafdageshhebrew: 0xFB3B,
  24955. kaffinalarabic: 0xFEDA,
  24956. kafhebrew: 0x05DB,
  24957. kafinitialarabic: 0xFEDB,
  24958. kafmedialarabic: 0xFEDC,
  24959. kafrafehebrew: 0xFB4D,
  24960. kagujarati: 0x0A95,
  24961. kagurmukhi: 0x0A15,
  24962. kahiragana: 0x304B,
  24963. kahookcyrillic: 0x04C4,
  24964. kakatakana: 0x30AB,
  24965. kakatakanahalfwidth: 0xFF76,
  24966. kappa: 0x03BA,
  24967. kappasymbolgreek: 0x03F0,
  24968. kapyeounmieumkorean: 0x3171,
  24969. kapyeounphieuphkorean: 0x3184,
  24970. kapyeounpieupkorean: 0x3178,
  24971. kapyeounssangpieupkorean: 0x3179,
  24972. karoriisquare: 0x330D,
  24973. kashidaautoarabic: 0x0640,
  24974. kashidaautonosidebearingarabic: 0x0640,
  24975. kasmallkatakana: 0x30F5,
  24976. kasquare: 0x3384,
  24977. kasraarabic: 0x0650,
  24978. kasratanarabic: 0x064D,
  24979. kastrokecyrillic: 0x049F,
  24980. katahiraprolongmarkhalfwidth: 0xFF70,
  24981. kaverticalstrokecyrillic: 0x049D,
  24982. kbopomofo: 0x310E,
  24983. kcalsquare: 0x3389,
  24984. kcaron: 0x01E9,
  24985. kcedilla: 0x0137,
  24986. kcircle: 0x24DA,
  24987. kcommaaccent: 0x0137,
  24988. kdotbelow: 0x1E33,
  24989. keharmenian: 0x0584,
  24990. kehiragana: 0x3051,
  24991. kekatakana: 0x30B1,
  24992. kekatakanahalfwidth: 0xFF79,
  24993. kenarmenian: 0x056F,
  24994. kesmallkatakana: 0x30F6,
  24995. kgreenlandic: 0x0138,
  24996. khabengali: 0x0996,
  24997. khacyrillic: 0x0445,
  24998. khadeva: 0x0916,
  24999. khagujarati: 0x0A96,
  25000. khagurmukhi: 0x0A16,
  25001. khaharabic: 0x062E,
  25002. khahfinalarabic: 0xFEA6,
  25003. khahinitialarabic: 0xFEA7,
  25004. khahmedialarabic: 0xFEA8,
  25005. kheicoptic: 0x03E7,
  25006. khhadeva: 0x0959,
  25007. khhagurmukhi: 0x0A59,
  25008. khieukhacirclekorean: 0x3278,
  25009. khieukhaparenkorean: 0x3218,
  25010. khieukhcirclekorean: 0x326A,
  25011. khieukhkorean: 0x314B,
  25012. khieukhparenkorean: 0x320A,
  25013. khokhaithai: 0x0E02,
  25014. khokhonthai: 0x0E05,
  25015. khokhuatthai: 0x0E03,
  25016. khokhwaithai: 0x0E04,
  25017. khomutthai: 0x0E5B,
  25018. khook: 0x0199,
  25019. khorakhangthai: 0x0E06,
  25020. khzsquare: 0x3391,
  25021. kihiragana: 0x304D,
  25022. kikatakana: 0x30AD,
  25023. kikatakanahalfwidth: 0xFF77,
  25024. kiroguramusquare: 0x3315,
  25025. kiromeetorusquare: 0x3316,
  25026. kirosquare: 0x3314,
  25027. kiyeokacirclekorean: 0x326E,
  25028. kiyeokaparenkorean: 0x320E,
  25029. kiyeokcirclekorean: 0x3260,
  25030. kiyeokkorean: 0x3131,
  25031. kiyeokparenkorean: 0x3200,
  25032. kiyeoksioskorean: 0x3133,
  25033. kjecyrillic: 0x045C,
  25034. klinebelow: 0x1E35,
  25035. klsquare: 0x3398,
  25036. kmcubedsquare: 0x33A6,
  25037. kmonospace: 0xFF4B,
  25038. kmsquaredsquare: 0x33A2,
  25039. kohiragana: 0x3053,
  25040. kohmsquare: 0x33C0,
  25041. kokaithai: 0x0E01,
  25042. kokatakana: 0x30B3,
  25043. kokatakanahalfwidth: 0xFF7A,
  25044. kooposquare: 0x331E,
  25045. koppacyrillic: 0x0481,
  25046. koreanstandardsymbol: 0x327F,
  25047. koroniscmb: 0x0343,
  25048. kparen: 0x24A6,
  25049. kpasquare: 0x33AA,
  25050. ksicyrillic: 0x046F,
  25051. ktsquare: 0x33CF,
  25052. kturned: 0x029E,
  25053. kuhiragana: 0x304F,
  25054. kukatakana: 0x30AF,
  25055. kukatakanahalfwidth: 0xFF78,
  25056. kvsquare: 0x33B8,
  25057. kwsquare: 0x33BE,
  25058. l: 0x006C,
  25059. labengali: 0x09B2,
  25060. lacute: 0x013A,
  25061. ladeva: 0x0932,
  25062. lagujarati: 0x0AB2,
  25063. lagurmukhi: 0x0A32,
  25064. lakkhangyaothai: 0x0E45,
  25065. lamaleffinalarabic: 0xFEFC,
  25066. lamalefhamzaabovefinalarabic: 0xFEF8,
  25067. lamalefhamzaaboveisolatedarabic: 0xFEF7,
  25068. lamalefhamzabelowfinalarabic: 0xFEFA,
  25069. lamalefhamzabelowisolatedarabic: 0xFEF9,
  25070. lamalefisolatedarabic: 0xFEFB,
  25071. lamalefmaddaabovefinalarabic: 0xFEF6,
  25072. lamalefmaddaaboveisolatedarabic: 0xFEF5,
  25073. lamarabic: 0x0644,
  25074. lambda: 0x03BB,
  25075. lambdastroke: 0x019B,
  25076. lamed: 0x05DC,
  25077. lameddagesh: 0xFB3C,
  25078. lameddageshhebrew: 0xFB3C,
  25079. lamedhebrew: 0x05DC,
  25080. lamfinalarabic: 0xFEDE,
  25081. lamhahinitialarabic: 0xFCCA,
  25082. laminitialarabic: 0xFEDF,
  25083. lamjeeminitialarabic: 0xFCC9,
  25084. lamkhahinitialarabic: 0xFCCB,
  25085. lamlamhehisolatedarabic: 0xFDF2,
  25086. lammedialarabic: 0xFEE0,
  25087. lammeemhahinitialarabic: 0xFD88,
  25088. lammeeminitialarabic: 0xFCCC,
  25089. largecircle: 0x25EF,
  25090. lbar: 0x019A,
  25091. lbelt: 0x026C,
  25092. lbopomofo: 0x310C,
  25093. lcaron: 0x013E,
  25094. lcedilla: 0x013C,
  25095. lcircle: 0x24DB,
  25096. lcircumflexbelow: 0x1E3D,
  25097. lcommaaccent: 0x013C,
  25098. ldot: 0x0140,
  25099. ldotaccent: 0x0140,
  25100. ldotbelow: 0x1E37,
  25101. ldotbelowmacron: 0x1E39,
  25102. leftangleabovecmb: 0x031A,
  25103. lefttackbelowcmb: 0x0318,
  25104. less: 0x003C,
  25105. lessequal: 0x2264,
  25106. lessequalorgreater: 0x22DA,
  25107. lessmonospace: 0xFF1C,
  25108. lessorequivalent: 0x2272,
  25109. lessorgreater: 0x2276,
  25110. lessoverequal: 0x2266,
  25111. lesssmall: 0xFE64,
  25112. lezh: 0x026E,
  25113. lfblock: 0x258C,
  25114. lhookretroflex: 0x026D,
  25115. lira: 0x20A4,
  25116. liwnarmenian: 0x056C,
  25117. lj: 0x01C9,
  25118. ljecyrillic: 0x0459,
  25119. ll: 0xF6C0,
  25120. lladeva: 0x0933,
  25121. llagujarati: 0x0AB3,
  25122. llinebelow: 0x1E3B,
  25123. llladeva: 0x0934,
  25124. llvocalicbengali: 0x09E1,
  25125. llvocalicdeva: 0x0961,
  25126. llvocalicvowelsignbengali: 0x09E3,
  25127. llvocalicvowelsigndeva: 0x0963,
  25128. lmiddletilde: 0x026B,
  25129. lmonospace: 0xFF4C,
  25130. lmsquare: 0x33D0,
  25131. lochulathai: 0x0E2C,
  25132. logicaland: 0x2227,
  25133. logicalnot: 0x00AC,
  25134. logicalnotreversed: 0x2310,
  25135. logicalor: 0x2228,
  25136. lolingthai: 0x0E25,
  25137. longs: 0x017F,
  25138. lowlinecenterline: 0xFE4E,
  25139. lowlinecmb: 0x0332,
  25140. lowlinedashed: 0xFE4D,
  25141. lozenge: 0x25CA,
  25142. lparen: 0x24A7,
  25143. lslash: 0x0142,
  25144. lsquare: 0x2113,
  25145. lsuperior: 0xF6EE,
  25146. ltshade: 0x2591,
  25147. luthai: 0x0E26,
  25148. lvocalicbengali: 0x098C,
  25149. lvocalicdeva: 0x090C,
  25150. lvocalicvowelsignbengali: 0x09E2,
  25151. lvocalicvowelsigndeva: 0x0962,
  25152. lxsquare: 0x33D3,
  25153. m: 0x006D,
  25154. mabengali: 0x09AE,
  25155. macron: 0x00AF,
  25156. macronbelowcmb: 0x0331,
  25157. macroncmb: 0x0304,
  25158. macronlowmod: 0x02CD,
  25159. macronmonospace: 0xFFE3,
  25160. macute: 0x1E3F,
  25161. madeva: 0x092E,
  25162. magujarati: 0x0AAE,
  25163. magurmukhi: 0x0A2E,
  25164. mahapakhhebrew: 0x05A4,
  25165. mahapakhlefthebrew: 0x05A4,
  25166. mahiragana: 0x307E,
  25167. maichattawalowleftthai: 0xF895,
  25168. maichattawalowrightthai: 0xF894,
  25169. maichattawathai: 0x0E4B,
  25170. maichattawaupperleftthai: 0xF893,
  25171. maieklowleftthai: 0xF88C,
  25172. maieklowrightthai: 0xF88B,
  25173. maiekthai: 0x0E48,
  25174. maiekupperleftthai: 0xF88A,
  25175. maihanakatleftthai: 0xF884,
  25176. maihanakatthai: 0x0E31,
  25177. maitaikhuleftthai: 0xF889,
  25178. maitaikhuthai: 0x0E47,
  25179. maitholowleftthai: 0xF88F,
  25180. maitholowrightthai: 0xF88E,
  25181. maithothai: 0x0E49,
  25182. maithoupperleftthai: 0xF88D,
  25183. maitrilowleftthai: 0xF892,
  25184. maitrilowrightthai: 0xF891,
  25185. maitrithai: 0x0E4A,
  25186. maitriupperleftthai: 0xF890,
  25187. maiyamokthai: 0x0E46,
  25188. makatakana: 0x30DE,
  25189. makatakanahalfwidth: 0xFF8F,
  25190. male: 0x2642,
  25191. mansyonsquare: 0x3347,
  25192. maqafhebrew: 0x05BE,
  25193. mars: 0x2642,
  25194. masoracirclehebrew: 0x05AF,
  25195. masquare: 0x3383,
  25196. mbopomofo: 0x3107,
  25197. mbsquare: 0x33D4,
  25198. mcircle: 0x24DC,
  25199. mcubedsquare: 0x33A5,
  25200. mdotaccent: 0x1E41,
  25201. mdotbelow: 0x1E43,
  25202. meemarabic: 0x0645,
  25203. meemfinalarabic: 0xFEE2,
  25204. meeminitialarabic: 0xFEE3,
  25205. meemmedialarabic: 0xFEE4,
  25206. meemmeeminitialarabic: 0xFCD1,
  25207. meemmeemisolatedarabic: 0xFC48,
  25208. meetorusquare: 0x334D,
  25209. mehiragana: 0x3081,
  25210. meizierasquare: 0x337E,
  25211. mekatakana: 0x30E1,
  25212. mekatakanahalfwidth: 0xFF92,
  25213. mem: 0x05DE,
  25214. memdagesh: 0xFB3E,
  25215. memdageshhebrew: 0xFB3E,
  25216. memhebrew: 0x05DE,
  25217. menarmenian: 0x0574,
  25218. merkhahebrew: 0x05A5,
  25219. merkhakefulahebrew: 0x05A6,
  25220. merkhakefulalefthebrew: 0x05A6,
  25221. merkhalefthebrew: 0x05A5,
  25222. mhook: 0x0271,
  25223. mhzsquare: 0x3392,
  25224. middledotkatakanahalfwidth: 0xFF65,
  25225. middot: 0x00B7,
  25226. mieumacirclekorean: 0x3272,
  25227. mieumaparenkorean: 0x3212,
  25228. mieumcirclekorean: 0x3264,
  25229. mieumkorean: 0x3141,
  25230. mieumpansioskorean: 0x3170,
  25231. mieumparenkorean: 0x3204,
  25232. mieumpieupkorean: 0x316E,
  25233. mieumsioskorean: 0x316F,
  25234. mihiragana: 0x307F,
  25235. mikatakana: 0x30DF,
  25236. mikatakanahalfwidth: 0xFF90,
  25237. minus: 0x2212,
  25238. minusbelowcmb: 0x0320,
  25239. minuscircle: 0x2296,
  25240. minusmod: 0x02D7,
  25241. minusplus: 0x2213,
  25242. minute: 0x2032,
  25243. miribaarusquare: 0x334A,
  25244. mirisquare: 0x3349,
  25245. mlonglegturned: 0x0270,
  25246. mlsquare: 0x3396,
  25247. mmcubedsquare: 0x33A3,
  25248. mmonospace: 0xFF4D,
  25249. mmsquaredsquare: 0x339F,
  25250. mohiragana: 0x3082,
  25251. mohmsquare: 0x33C1,
  25252. mokatakana: 0x30E2,
  25253. mokatakanahalfwidth: 0xFF93,
  25254. molsquare: 0x33D6,
  25255. momathai: 0x0E21,
  25256. moverssquare: 0x33A7,
  25257. moverssquaredsquare: 0x33A8,
  25258. mparen: 0x24A8,
  25259. mpasquare: 0x33AB,
  25260. mssquare: 0x33B3,
  25261. msuperior: 0xF6EF,
  25262. mturned: 0x026F,
  25263. mu: 0x00B5,
  25264. mu1: 0x00B5,
  25265. muasquare: 0x3382,
  25266. muchgreater: 0x226B,
  25267. muchless: 0x226A,
  25268. mufsquare: 0x338C,
  25269. mugreek: 0x03BC,
  25270. mugsquare: 0x338D,
  25271. muhiragana: 0x3080,
  25272. mukatakana: 0x30E0,
  25273. mukatakanahalfwidth: 0xFF91,
  25274. mulsquare: 0x3395,
  25275. multiply: 0x00D7,
  25276. mumsquare: 0x339B,
  25277. munahhebrew: 0x05A3,
  25278. munahlefthebrew: 0x05A3,
  25279. musicalnote: 0x266A,
  25280. musicalnotedbl: 0x266B,
  25281. musicflatsign: 0x266D,
  25282. musicsharpsign: 0x266F,
  25283. mussquare: 0x33B2,
  25284. muvsquare: 0x33B6,
  25285. muwsquare: 0x33BC,
  25286. mvmegasquare: 0x33B9,
  25287. mvsquare: 0x33B7,
  25288. mwmegasquare: 0x33BF,
  25289. mwsquare: 0x33BD,
  25290. n: 0x006E,
  25291. nabengali: 0x09A8,
  25292. nabla: 0x2207,
  25293. nacute: 0x0144,
  25294. nadeva: 0x0928,
  25295. nagujarati: 0x0AA8,
  25296. nagurmukhi: 0x0A28,
  25297. nahiragana: 0x306A,
  25298. nakatakana: 0x30CA,
  25299. nakatakanahalfwidth: 0xFF85,
  25300. napostrophe: 0x0149,
  25301. nasquare: 0x3381,
  25302. nbopomofo: 0x310B,
  25303. nbspace: 0x00A0,
  25304. ncaron: 0x0148,
  25305. ncedilla: 0x0146,
  25306. ncircle: 0x24DD,
  25307. ncircumflexbelow: 0x1E4B,
  25308. ncommaaccent: 0x0146,
  25309. ndotaccent: 0x1E45,
  25310. ndotbelow: 0x1E47,
  25311. nehiragana: 0x306D,
  25312. nekatakana: 0x30CD,
  25313. nekatakanahalfwidth: 0xFF88,
  25314. newsheqelsign: 0x20AA,
  25315. nfsquare: 0x338B,
  25316. ngabengali: 0x0999,
  25317. ngadeva: 0x0919,
  25318. ngagujarati: 0x0A99,
  25319. ngagurmukhi: 0x0A19,
  25320. ngonguthai: 0x0E07,
  25321. nhiragana: 0x3093,
  25322. nhookleft: 0x0272,
  25323. nhookretroflex: 0x0273,
  25324. nieunacirclekorean: 0x326F,
  25325. nieunaparenkorean: 0x320F,
  25326. nieuncieuckorean: 0x3135,
  25327. nieuncirclekorean: 0x3261,
  25328. nieunhieuhkorean: 0x3136,
  25329. nieunkorean: 0x3134,
  25330. nieunpansioskorean: 0x3168,
  25331. nieunparenkorean: 0x3201,
  25332. nieunsioskorean: 0x3167,
  25333. nieuntikeutkorean: 0x3166,
  25334. nihiragana: 0x306B,
  25335. nikatakana: 0x30CB,
  25336. nikatakanahalfwidth: 0xFF86,
  25337. nikhahitleftthai: 0xF899,
  25338. nikhahitthai: 0x0E4D,
  25339. nine: 0x0039,
  25340. ninearabic: 0x0669,
  25341. ninebengali: 0x09EF,
  25342. ninecircle: 0x2468,
  25343. ninecircleinversesansserif: 0x2792,
  25344. ninedeva: 0x096F,
  25345. ninegujarati: 0x0AEF,
  25346. ninegurmukhi: 0x0A6F,
  25347. ninehackarabic: 0x0669,
  25348. ninehangzhou: 0x3029,
  25349. nineideographicparen: 0x3228,
  25350. nineinferior: 0x2089,
  25351. ninemonospace: 0xFF19,
  25352. nineoldstyle: 0xF739,
  25353. nineparen: 0x247C,
  25354. nineperiod: 0x2490,
  25355. ninepersian: 0x06F9,
  25356. nineroman: 0x2178,
  25357. ninesuperior: 0x2079,
  25358. nineteencircle: 0x2472,
  25359. nineteenparen: 0x2486,
  25360. nineteenperiod: 0x249A,
  25361. ninethai: 0x0E59,
  25362. nj: 0x01CC,
  25363. njecyrillic: 0x045A,
  25364. nkatakana: 0x30F3,
  25365. nkatakanahalfwidth: 0xFF9D,
  25366. nlegrightlong: 0x019E,
  25367. nlinebelow: 0x1E49,
  25368. nmonospace: 0xFF4E,
  25369. nmsquare: 0x339A,
  25370. nnabengali: 0x09A3,
  25371. nnadeva: 0x0923,
  25372. nnagujarati: 0x0AA3,
  25373. nnagurmukhi: 0x0A23,
  25374. nnnadeva: 0x0929,
  25375. nohiragana: 0x306E,
  25376. nokatakana: 0x30CE,
  25377. nokatakanahalfwidth: 0xFF89,
  25378. nonbreakingspace: 0x00A0,
  25379. nonenthai: 0x0E13,
  25380. nonuthai: 0x0E19,
  25381. noonarabic: 0x0646,
  25382. noonfinalarabic: 0xFEE6,
  25383. noonghunnaarabic: 0x06BA,
  25384. noonghunnafinalarabic: 0xFB9F,
  25385. nooninitialarabic: 0xFEE7,
  25386. noonjeeminitialarabic: 0xFCD2,
  25387. noonjeemisolatedarabic: 0xFC4B,
  25388. noonmedialarabic: 0xFEE8,
  25389. noonmeeminitialarabic: 0xFCD5,
  25390. noonmeemisolatedarabic: 0xFC4E,
  25391. noonnoonfinalarabic: 0xFC8D,
  25392. notcontains: 0x220C,
  25393. notelement: 0x2209,
  25394. notelementof: 0x2209,
  25395. notequal: 0x2260,
  25396. notgreater: 0x226F,
  25397. notgreaternorequal: 0x2271,
  25398. notgreaternorless: 0x2279,
  25399. notidentical: 0x2262,
  25400. notless: 0x226E,
  25401. notlessnorequal: 0x2270,
  25402. notparallel: 0x2226,
  25403. notprecedes: 0x2280,
  25404. notsubset: 0x2284,
  25405. notsucceeds: 0x2281,
  25406. notsuperset: 0x2285,
  25407. nowarmenian: 0x0576,
  25408. nparen: 0x24A9,
  25409. nssquare: 0x33B1,
  25410. nsuperior: 0x207F,
  25411. ntilde: 0x00F1,
  25412. nu: 0x03BD,
  25413. nuhiragana: 0x306C,
  25414. nukatakana: 0x30CC,
  25415. nukatakanahalfwidth: 0xFF87,
  25416. nuktabengali: 0x09BC,
  25417. nuktadeva: 0x093C,
  25418. nuktagujarati: 0x0ABC,
  25419. nuktagurmukhi: 0x0A3C,
  25420. numbersign: 0x0023,
  25421. numbersignmonospace: 0xFF03,
  25422. numbersignsmall: 0xFE5F,
  25423. numeralsigngreek: 0x0374,
  25424. numeralsignlowergreek: 0x0375,
  25425. numero: 0x2116,
  25426. nun: 0x05E0,
  25427. nundagesh: 0xFB40,
  25428. nundageshhebrew: 0xFB40,
  25429. nunhebrew: 0x05E0,
  25430. nvsquare: 0x33B5,
  25431. nwsquare: 0x33BB,
  25432. nyabengali: 0x099E,
  25433. nyadeva: 0x091E,
  25434. nyagujarati: 0x0A9E,
  25435. nyagurmukhi: 0x0A1E,
  25436. o: 0x006F,
  25437. oacute: 0x00F3,
  25438. oangthai: 0x0E2D,
  25439. obarred: 0x0275,
  25440. obarredcyrillic: 0x04E9,
  25441. obarreddieresiscyrillic: 0x04EB,
  25442. obengali: 0x0993,
  25443. obopomofo: 0x311B,
  25444. obreve: 0x014F,
  25445. ocandradeva: 0x0911,
  25446. ocandragujarati: 0x0A91,
  25447. ocandravowelsigndeva: 0x0949,
  25448. ocandravowelsigngujarati: 0x0AC9,
  25449. ocaron: 0x01D2,
  25450. ocircle: 0x24DE,
  25451. ocircumflex: 0x00F4,
  25452. ocircumflexacute: 0x1ED1,
  25453. ocircumflexdotbelow: 0x1ED9,
  25454. ocircumflexgrave: 0x1ED3,
  25455. ocircumflexhookabove: 0x1ED5,
  25456. ocircumflextilde: 0x1ED7,
  25457. ocyrillic: 0x043E,
  25458. odblacute: 0x0151,
  25459. odblgrave: 0x020D,
  25460. odeva: 0x0913,
  25461. odieresis: 0x00F6,
  25462. odieresiscyrillic: 0x04E7,
  25463. odotbelow: 0x1ECD,
  25464. oe: 0x0153,
  25465. oekorean: 0x315A,
  25466. ogonek: 0x02DB,
  25467. ogonekcmb: 0x0328,
  25468. ograve: 0x00F2,
  25469. ogujarati: 0x0A93,
  25470. oharmenian: 0x0585,
  25471. ohiragana: 0x304A,
  25472. ohookabove: 0x1ECF,
  25473. ohorn: 0x01A1,
  25474. ohornacute: 0x1EDB,
  25475. ohorndotbelow: 0x1EE3,
  25476. ohorngrave: 0x1EDD,
  25477. ohornhookabove: 0x1EDF,
  25478. ohorntilde: 0x1EE1,
  25479. ohungarumlaut: 0x0151,
  25480. oi: 0x01A3,
  25481. oinvertedbreve: 0x020F,
  25482. okatakana: 0x30AA,
  25483. okatakanahalfwidth: 0xFF75,
  25484. okorean: 0x3157,
  25485. olehebrew: 0x05AB,
  25486. omacron: 0x014D,
  25487. omacronacute: 0x1E53,
  25488. omacrongrave: 0x1E51,
  25489. omdeva: 0x0950,
  25490. omega: 0x03C9,
  25491. omega1: 0x03D6,
  25492. omegacyrillic: 0x0461,
  25493. omegalatinclosed: 0x0277,
  25494. omegaroundcyrillic: 0x047B,
  25495. omegatitlocyrillic: 0x047D,
  25496. omegatonos: 0x03CE,
  25497. omgujarati: 0x0AD0,
  25498. omicron: 0x03BF,
  25499. omicrontonos: 0x03CC,
  25500. omonospace: 0xFF4F,
  25501. one: 0x0031,
  25502. onearabic: 0x0661,
  25503. onebengali: 0x09E7,
  25504. onecircle: 0x2460,
  25505. onecircleinversesansserif: 0x278A,
  25506. onedeva: 0x0967,
  25507. onedotenleader: 0x2024,
  25508. oneeighth: 0x215B,
  25509. onefitted: 0xF6DC,
  25510. onegujarati: 0x0AE7,
  25511. onegurmukhi: 0x0A67,
  25512. onehackarabic: 0x0661,
  25513. onehalf: 0x00BD,
  25514. onehangzhou: 0x3021,
  25515. oneideographicparen: 0x3220,
  25516. oneinferior: 0x2081,
  25517. onemonospace: 0xFF11,
  25518. onenumeratorbengali: 0x09F4,
  25519. oneoldstyle: 0xF731,
  25520. oneparen: 0x2474,
  25521. oneperiod: 0x2488,
  25522. onepersian: 0x06F1,
  25523. onequarter: 0x00BC,
  25524. oneroman: 0x2170,
  25525. onesuperior: 0x00B9,
  25526. onethai: 0x0E51,
  25527. onethird: 0x2153,
  25528. oogonek: 0x01EB,
  25529. oogonekmacron: 0x01ED,
  25530. oogurmukhi: 0x0A13,
  25531. oomatragurmukhi: 0x0A4B,
  25532. oopen: 0x0254,
  25533. oparen: 0x24AA,
  25534. openbullet: 0x25E6,
  25535. option: 0x2325,
  25536. ordfeminine: 0x00AA,
  25537. ordmasculine: 0x00BA,
  25538. orthogonal: 0x221F,
  25539. oshortdeva: 0x0912,
  25540. oshortvowelsigndeva: 0x094A,
  25541. oslash: 0x00F8,
  25542. oslashacute: 0x01FF,
  25543. osmallhiragana: 0x3049,
  25544. osmallkatakana: 0x30A9,
  25545. osmallkatakanahalfwidth: 0xFF6B,
  25546. ostrokeacute: 0x01FF,
  25547. osuperior: 0xF6F0,
  25548. otcyrillic: 0x047F,
  25549. otilde: 0x00F5,
  25550. otildeacute: 0x1E4D,
  25551. otildedieresis: 0x1E4F,
  25552. oubopomofo: 0x3121,
  25553. overline: 0x203E,
  25554. overlinecenterline: 0xFE4A,
  25555. overlinecmb: 0x0305,
  25556. overlinedashed: 0xFE49,
  25557. overlinedblwavy: 0xFE4C,
  25558. overlinewavy: 0xFE4B,
  25559. overscore: 0x00AF,
  25560. ovowelsignbengali: 0x09CB,
  25561. ovowelsigndeva: 0x094B,
  25562. ovowelsigngujarati: 0x0ACB,
  25563. p: 0x0070,
  25564. paampssquare: 0x3380,
  25565. paasentosquare: 0x332B,
  25566. pabengali: 0x09AA,
  25567. pacute: 0x1E55,
  25568. padeva: 0x092A,
  25569. pagedown: 0x21DF,
  25570. pageup: 0x21DE,
  25571. pagujarati: 0x0AAA,
  25572. pagurmukhi: 0x0A2A,
  25573. pahiragana: 0x3071,
  25574. paiyannoithai: 0x0E2F,
  25575. pakatakana: 0x30D1,
  25576. palatalizationcyrilliccmb: 0x0484,
  25577. palochkacyrillic: 0x04C0,
  25578. pansioskorean: 0x317F,
  25579. paragraph: 0x00B6,
  25580. parallel: 0x2225,
  25581. parenleft: 0x0028,
  25582. parenleftaltonearabic: 0xFD3E,
  25583. parenleftbt: 0xF8ED,
  25584. parenleftex: 0xF8EC,
  25585. parenleftinferior: 0x208D,
  25586. parenleftmonospace: 0xFF08,
  25587. parenleftsmall: 0xFE59,
  25588. parenleftsuperior: 0x207D,
  25589. parenlefttp: 0xF8EB,
  25590. parenleftvertical: 0xFE35,
  25591. parenright: 0x0029,
  25592. parenrightaltonearabic: 0xFD3F,
  25593. parenrightbt: 0xF8F8,
  25594. parenrightex: 0xF8F7,
  25595. parenrightinferior: 0x208E,
  25596. parenrightmonospace: 0xFF09,
  25597. parenrightsmall: 0xFE5A,
  25598. parenrightsuperior: 0x207E,
  25599. parenrighttp: 0xF8F6,
  25600. parenrightvertical: 0xFE36,
  25601. partialdiff: 0x2202,
  25602. paseqhebrew: 0x05C0,
  25603. pashtahebrew: 0x0599,
  25604. pasquare: 0x33A9,
  25605. patah: 0x05B7,
  25606. patah11: 0x05B7,
  25607. patah1d: 0x05B7,
  25608. patah2a: 0x05B7,
  25609. patahhebrew: 0x05B7,
  25610. patahnarrowhebrew: 0x05B7,
  25611. patahquarterhebrew: 0x05B7,
  25612. patahwidehebrew: 0x05B7,
  25613. pazerhebrew: 0x05A1,
  25614. pbopomofo: 0x3106,
  25615. pcircle: 0x24DF,
  25616. pdotaccent: 0x1E57,
  25617. pe: 0x05E4,
  25618. pecyrillic: 0x043F,
  25619. pedagesh: 0xFB44,
  25620. pedageshhebrew: 0xFB44,
  25621. peezisquare: 0x333B,
  25622. pefinaldageshhebrew: 0xFB43,
  25623. peharabic: 0x067E,
  25624. peharmenian: 0x057A,
  25625. pehebrew: 0x05E4,
  25626. pehfinalarabic: 0xFB57,
  25627. pehinitialarabic: 0xFB58,
  25628. pehiragana: 0x307A,
  25629. pehmedialarabic: 0xFB59,
  25630. pekatakana: 0x30DA,
  25631. pemiddlehookcyrillic: 0x04A7,
  25632. perafehebrew: 0xFB4E,
  25633. percent: 0x0025,
  25634. percentarabic: 0x066A,
  25635. percentmonospace: 0xFF05,
  25636. percentsmall: 0xFE6A,
  25637. period: 0x002E,
  25638. periodarmenian: 0x0589,
  25639. periodcentered: 0x00B7,
  25640. periodhalfwidth: 0xFF61,
  25641. periodinferior: 0xF6E7,
  25642. periodmonospace: 0xFF0E,
  25643. periodsmall: 0xFE52,
  25644. periodsuperior: 0xF6E8,
  25645. perispomenigreekcmb: 0x0342,
  25646. perpendicular: 0x22A5,
  25647. perthousand: 0x2030,
  25648. peseta: 0x20A7,
  25649. pfsquare: 0x338A,
  25650. phabengali: 0x09AB,
  25651. phadeva: 0x092B,
  25652. phagujarati: 0x0AAB,
  25653. phagurmukhi: 0x0A2B,
  25654. phi: 0x03C6,
  25655. phi1: 0x03D5,
  25656. phieuphacirclekorean: 0x327A,
  25657. phieuphaparenkorean: 0x321A,
  25658. phieuphcirclekorean: 0x326C,
  25659. phieuphkorean: 0x314D,
  25660. phieuphparenkorean: 0x320C,
  25661. philatin: 0x0278,
  25662. phinthuthai: 0x0E3A,
  25663. phisymbolgreek: 0x03D5,
  25664. phook: 0x01A5,
  25665. phophanthai: 0x0E1E,
  25666. phophungthai: 0x0E1C,
  25667. phosamphaothai: 0x0E20,
  25668. pi: 0x03C0,
  25669. pieupacirclekorean: 0x3273,
  25670. pieupaparenkorean: 0x3213,
  25671. pieupcieuckorean: 0x3176,
  25672. pieupcirclekorean: 0x3265,
  25673. pieupkiyeokkorean: 0x3172,
  25674. pieupkorean: 0x3142,
  25675. pieupparenkorean: 0x3205,
  25676. pieupsioskiyeokkorean: 0x3174,
  25677. pieupsioskorean: 0x3144,
  25678. pieupsiostikeutkorean: 0x3175,
  25679. pieupthieuthkorean: 0x3177,
  25680. pieuptikeutkorean: 0x3173,
  25681. pihiragana: 0x3074,
  25682. pikatakana: 0x30D4,
  25683. pisymbolgreek: 0x03D6,
  25684. piwrarmenian: 0x0583,
  25685. plus: 0x002B,
  25686. plusbelowcmb: 0x031F,
  25687. pluscircle: 0x2295,
  25688. plusminus: 0x00B1,
  25689. plusmod: 0x02D6,
  25690. plusmonospace: 0xFF0B,
  25691. plussmall: 0xFE62,
  25692. plussuperior: 0x207A,
  25693. pmonospace: 0xFF50,
  25694. pmsquare: 0x33D8,
  25695. pohiragana: 0x307D,
  25696. pointingindexdownwhite: 0x261F,
  25697. pointingindexleftwhite: 0x261C,
  25698. pointingindexrightwhite: 0x261E,
  25699. pointingindexupwhite: 0x261D,
  25700. pokatakana: 0x30DD,
  25701. poplathai: 0x0E1B,
  25702. postalmark: 0x3012,
  25703. postalmarkface: 0x3020,
  25704. pparen: 0x24AB,
  25705. precedes: 0x227A,
  25706. prescription: 0x211E,
  25707. primemod: 0x02B9,
  25708. primereversed: 0x2035,
  25709. product: 0x220F,
  25710. projective: 0x2305,
  25711. prolongedkana: 0x30FC,
  25712. propellor: 0x2318,
  25713. propersubset: 0x2282,
  25714. propersuperset: 0x2283,
  25715. proportion: 0x2237,
  25716. proportional: 0x221D,
  25717. psi: 0x03C8,
  25718. psicyrillic: 0x0471,
  25719. psilipneumatacyrilliccmb: 0x0486,
  25720. pssquare: 0x33B0,
  25721. puhiragana: 0x3077,
  25722. pukatakana: 0x30D7,
  25723. pvsquare: 0x33B4,
  25724. pwsquare: 0x33BA,
  25725. q: 0x0071,
  25726. qadeva: 0x0958,
  25727. qadmahebrew: 0x05A8,
  25728. qafarabic: 0x0642,
  25729. qaffinalarabic: 0xFED6,
  25730. qafinitialarabic: 0xFED7,
  25731. qafmedialarabic: 0xFED8,
  25732. qamats: 0x05B8,
  25733. qamats10: 0x05B8,
  25734. qamats1a: 0x05B8,
  25735. qamats1c: 0x05B8,
  25736. qamats27: 0x05B8,
  25737. qamats29: 0x05B8,
  25738. qamats33: 0x05B8,
  25739. qamatsde: 0x05B8,
  25740. qamatshebrew: 0x05B8,
  25741. qamatsnarrowhebrew: 0x05B8,
  25742. qamatsqatanhebrew: 0x05B8,
  25743. qamatsqatannarrowhebrew: 0x05B8,
  25744. qamatsqatanquarterhebrew: 0x05B8,
  25745. qamatsqatanwidehebrew: 0x05B8,
  25746. qamatsquarterhebrew: 0x05B8,
  25747. qamatswidehebrew: 0x05B8,
  25748. qarneyparahebrew: 0x059F,
  25749. qbopomofo: 0x3111,
  25750. qcircle: 0x24E0,
  25751. qhook: 0x02A0,
  25752. qmonospace: 0xFF51,
  25753. qof: 0x05E7,
  25754. qofdagesh: 0xFB47,
  25755. qofdageshhebrew: 0xFB47,
  25756. qofhebrew: 0x05E7,
  25757. qparen: 0x24AC,
  25758. quarternote: 0x2669,
  25759. qubuts: 0x05BB,
  25760. qubuts18: 0x05BB,
  25761. qubuts25: 0x05BB,
  25762. qubuts31: 0x05BB,
  25763. qubutshebrew: 0x05BB,
  25764. qubutsnarrowhebrew: 0x05BB,
  25765. qubutsquarterhebrew: 0x05BB,
  25766. qubutswidehebrew: 0x05BB,
  25767. question: 0x003F,
  25768. questionarabic: 0x061F,
  25769. questionarmenian: 0x055E,
  25770. questiondown: 0x00BF,
  25771. questiondownsmall: 0xF7BF,
  25772. questiongreek: 0x037E,
  25773. questionmonospace: 0xFF1F,
  25774. questionsmall: 0xF73F,
  25775. quotedbl: 0x0022,
  25776. quotedblbase: 0x201E,
  25777. quotedblleft: 0x201C,
  25778. quotedblmonospace: 0xFF02,
  25779. quotedblprime: 0x301E,
  25780. quotedblprimereversed: 0x301D,
  25781. quotedblright: 0x201D,
  25782. quoteleft: 0x2018,
  25783. quoteleftreversed: 0x201B,
  25784. quotereversed: 0x201B,
  25785. quoteright: 0x2019,
  25786. quoterightn: 0x0149,
  25787. quotesinglbase: 0x201A,
  25788. quotesingle: 0x0027,
  25789. quotesinglemonospace: 0xFF07,
  25790. r: 0x0072,
  25791. raarmenian: 0x057C,
  25792. rabengali: 0x09B0,
  25793. racute: 0x0155,
  25794. radeva: 0x0930,
  25795. radical: 0x221A,
  25796. radicalex: 0xF8E5,
  25797. radoverssquare: 0x33AE,
  25798. radoverssquaredsquare: 0x33AF,
  25799. radsquare: 0x33AD,
  25800. rafe: 0x05BF,
  25801. rafehebrew: 0x05BF,
  25802. ragujarati: 0x0AB0,
  25803. ragurmukhi: 0x0A30,
  25804. rahiragana: 0x3089,
  25805. rakatakana: 0x30E9,
  25806. rakatakanahalfwidth: 0xFF97,
  25807. ralowerdiagonalbengali: 0x09F1,
  25808. ramiddlediagonalbengali: 0x09F0,
  25809. ramshorn: 0x0264,
  25810. ratio: 0x2236,
  25811. rbopomofo: 0x3116,
  25812. rcaron: 0x0159,
  25813. rcedilla: 0x0157,
  25814. rcircle: 0x24E1,
  25815. rcommaaccent: 0x0157,
  25816. rdblgrave: 0x0211,
  25817. rdotaccent: 0x1E59,
  25818. rdotbelow: 0x1E5B,
  25819. rdotbelowmacron: 0x1E5D,
  25820. referencemark: 0x203B,
  25821. reflexsubset: 0x2286,
  25822. reflexsuperset: 0x2287,
  25823. registered: 0x00AE,
  25824. registersans: 0xF8E8,
  25825. registerserif: 0xF6DA,
  25826. reharabic: 0x0631,
  25827. reharmenian: 0x0580,
  25828. rehfinalarabic: 0xFEAE,
  25829. rehiragana: 0x308C,
  25830. rekatakana: 0x30EC,
  25831. rekatakanahalfwidth: 0xFF9A,
  25832. resh: 0x05E8,
  25833. reshdageshhebrew: 0xFB48,
  25834. reshhebrew: 0x05E8,
  25835. reversedtilde: 0x223D,
  25836. reviahebrew: 0x0597,
  25837. reviamugrashhebrew: 0x0597,
  25838. revlogicalnot: 0x2310,
  25839. rfishhook: 0x027E,
  25840. rfishhookreversed: 0x027F,
  25841. rhabengali: 0x09DD,
  25842. rhadeva: 0x095D,
  25843. rho: 0x03C1,
  25844. rhook: 0x027D,
  25845. rhookturned: 0x027B,
  25846. rhookturnedsuperior: 0x02B5,
  25847. rhosymbolgreek: 0x03F1,
  25848. rhotichookmod: 0x02DE,
  25849. rieulacirclekorean: 0x3271,
  25850. rieulaparenkorean: 0x3211,
  25851. rieulcirclekorean: 0x3263,
  25852. rieulhieuhkorean: 0x3140,
  25853. rieulkiyeokkorean: 0x313A,
  25854. rieulkiyeoksioskorean: 0x3169,
  25855. rieulkorean: 0x3139,
  25856. rieulmieumkorean: 0x313B,
  25857. rieulpansioskorean: 0x316C,
  25858. rieulparenkorean: 0x3203,
  25859. rieulphieuphkorean: 0x313F,
  25860. rieulpieupkorean: 0x313C,
  25861. rieulpieupsioskorean: 0x316B,
  25862. rieulsioskorean: 0x313D,
  25863. rieulthieuthkorean: 0x313E,
  25864. rieultikeutkorean: 0x316A,
  25865. rieulyeorinhieuhkorean: 0x316D,
  25866. rightangle: 0x221F,
  25867. righttackbelowcmb: 0x0319,
  25868. righttriangle: 0x22BF,
  25869. rihiragana: 0x308A,
  25870. rikatakana: 0x30EA,
  25871. rikatakanahalfwidth: 0xFF98,
  25872. ring: 0x02DA,
  25873. ringbelowcmb: 0x0325,
  25874. ringcmb: 0x030A,
  25875. ringhalfleft: 0x02BF,
  25876. ringhalfleftarmenian: 0x0559,
  25877. ringhalfleftbelowcmb: 0x031C,
  25878. ringhalfleftcentered: 0x02D3,
  25879. ringhalfright: 0x02BE,
  25880. ringhalfrightbelowcmb: 0x0339,
  25881. ringhalfrightcentered: 0x02D2,
  25882. rinvertedbreve: 0x0213,
  25883. rittorusquare: 0x3351,
  25884. rlinebelow: 0x1E5F,
  25885. rlongleg: 0x027C,
  25886. rlonglegturned: 0x027A,
  25887. rmonospace: 0xFF52,
  25888. rohiragana: 0x308D,
  25889. rokatakana: 0x30ED,
  25890. rokatakanahalfwidth: 0xFF9B,
  25891. roruathai: 0x0E23,
  25892. rparen: 0x24AD,
  25893. rrabengali: 0x09DC,
  25894. rradeva: 0x0931,
  25895. rragurmukhi: 0x0A5C,
  25896. rreharabic: 0x0691,
  25897. rrehfinalarabic: 0xFB8D,
  25898. rrvocalicbengali: 0x09E0,
  25899. rrvocalicdeva: 0x0960,
  25900. rrvocalicgujarati: 0x0AE0,
  25901. rrvocalicvowelsignbengali: 0x09C4,
  25902. rrvocalicvowelsigndeva: 0x0944,
  25903. rrvocalicvowelsigngujarati: 0x0AC4,
  25904. rsuperior: 0xF6F1,
  25905. rtblock: 0x2590,
  25906. rturned: 0x0279,
  25907. rturnedsuperior: 0x02B4,
  25908. ruhiragana: 0x308B,
  25909. rukatakana: 0x30EB,
  25910. rukatakanahalfwidth: 0xFF99,
  25911. rupeemarkbengali: 0x09F2,
  25912. rupeesignbengali: 0x09F3,
  25913. rupiah: 0xF6DD,
  25914. ruthai: 0x0E24,
  25915. rvocalicbengali: 0x098B,
  25916. rvocalicdeva: 0x090B,
  25917. rvocalicgujarati: 0x0A8B,
  25918. rvocalicvowelsignbengali: 0x09C3,
  25919. rvocalicvowelsigndeva: 0x0943,
  25920. rvocalicvowelsigngujarati: 0x0AC3,
  25921. s: 0x0073,
  25922. sabengali: 0x09B8,
  25923. sacute: 0x015B,
  25924. sacutedotaccent: 0x1E65,
  25925. sadarabic: 0x0635,
  25926. sadeva: 0x0938,
  25927. sadfinalarabic: 0xFEBA,
  25928. sadinitialarabic: 0xFEBB,
  25929. sadmedialarabic: 0xFEBC,
  25930. sagujarati: 0x0AB8,
  25931. sagurmukhi: 0x0A38,
  25932. sahiragana: 0x3055,
  25933. sakatakana: 0x30B5,
  25934. sakatakanahalfwidth: 0xFF7B,
  25935. sallallahoualayhewasallamarabic: 0xFDFA,
  25936. samekh: 0x05E1,
  25937. samekhdagesh: 0xFB41,
  25938. samekhdageshhebrew: 0xFB41,
  25939. samekhhebrew: 0x05E1,
  25940. saraaathai: 0x0E32,
  25941. saraaethai: 0x0E41,
  25942. saraaimaimalaithai: 0x0E44,
  25943. saraaimaimuanthai: 0x0E43,
  25944. saraamthai: 0x0E33,
  25945. saraathai: 0x0E30,
  25946. saraethai: 0x0E40,
  25947. saraiileftthai: 0xF886,
  25948. saraiithai: 0x0E35,
  25949. saraileftthai: 0xF885,
  25950. saraithai: 0x0E34,
  25951. saraothai: 0x0E42,
  25952. saraueeleftthai: 0xF888,
  25953. saraueethai: 0x0E37,
  25954. saraueleftthai: 0xF887,
  25955. sarauethai: 0x0E36,
  25956. sarauthai: 0x0E38,
  25957. sarauuthai: 0x0E39,
  25958. sbopomofo: 0x3119,
  25959. scaron: 0x0161,
  25960. scarondotaccent: 0x1E67,
  25961. scedilla: 0x015F,
  25962. schwa: 0x0259,
  25963. schwacyrillic: 0x04D9,
  25964. schwadieresiscyrillic: 0x04DB,
  25965. schwahook: 0x025A,
  25966. scircle: 0x24E2,
  25967. scircumflex: 0x015D,
  25968. scommaaccent: 0x0219,
  25969. sdotaccent: 0x1E61,
  25970. sdotbelow: 0x1E63,
  25971. sdotbelowdotaccent: 0x1E69,
  25972. seagullbelowcmb: 0x033C,
  25973. second: 0x2033,
  25974. secondtonechinese: 0x02CA,
  25975. section: 0x00A7,
  25976. seenarabic: 0x0633,
  25977. seenfinalarabic: 0xFEB2,
  25978. seeninitialarabic: 0xFEB3,
  25979. seenmedialarabic: 0xFEB4,
  25980. segol: 0x05B6,
  25981. segol13: 0x05B6,
  25982. segol1f: 0x05B6,
  25983. segol2c: 0x05B6,
  25984. segolhebrew: 0x05B6,
  25985. segolnarrowhebrew: 0x05B6,
  25986. segolquarterhebrew: 0x05B6,
  25987. segoltahebrew: 0x0592,
  25988. segolwidehebrew: 0x05B6,
  25989. seharmenian: 0x057D,
  25990. sehiragana: 0x305B,
  25991. sekatakana: 0x30BB,
  25992. sekatakanahalfwidth: 0xFF7E,
  25993. semicolon: 0x003B,
  25994. semicolonarabic: 0x061B,
  25995. semicolonmonospace: 0xFF1B,
  25996. semicolonsmall: 0xFE54,
  25997. semivoicedmarkkana: 0x309C,
  25998. semivoicedmarkkanahalfwidth: 0xFF9F,
  25999. sentisquare: 0x3322,
  26000. sentosquare: 0x3323,
  26001. seven: 0x0037,
  26002. sevenarabic: 0x0667,
  26003. sevenbengali: 0x09ED,
  26004. sevencircle: 0x2466,
  26005. sevencircleinversesansserif: 0x2790,
  26006. sevendeva: 0x096D,
  26007. seveneighths: 0x215E,
  26008. sevengujarati: 0x0AED,
  26009. sevengurmukhi: 0x0A6D,
  26010. sevenhackarabic: 0x0667,
  26011. sevenhangzhou: 0x3027,
  26012. sevenideographicparen: 0x3226,
  26013. seveninferior: 0x2087,
  26014. sevenmonospace: 0xFF17,
  26015. sevenoldstyle: 0xF737,
  26016. sevenparen: 0x247A,
  26017. sevenperiod: 0x248E,
  26018. sevenpersian: 0x06F7,
  26019. sevenroman: 0x2176,
  26020. sevensuperior: 0x2077,
  26021. seventeencircle: 0x2470,
  26022. seventeenparen: 0x2484,
  26023. seventeenperiod: 0x2498,
  26024. seventhai: 0x0E57,
  26025. sfthyphen: 0x00AD,
  26026. shaarmenian: 0x0577,
  26027. shabengali: 0x09B6,
  26028. shacyrillic: 0x0448,
  26029. shaddaarabic: 0x0651,
  26030. shaddadammaarabic: 0xFC61,
  26031. shaddadammatanarabic: 0xFC5E,
  26032. shaddafathaarabic: 0xFC60,
  26033. shaddakasraarabic: 0xFC62,
  26034. shaddakasratanarabic: 0xFC5F,
  26035. shade: 0x2592,
  26036. shadedark: 0x2593,
  26037. shadelight: 0x2591,
  26038. shademedium: 0x2592,
  26039. shadeva: 0x0936,
  26040. shagujarati: 0x0AB6,
  26041. shagurmukhi: 0x0A36,
  26042. shalshelethebrew: 0x0593,
  26043. shbopomofo: 0x3115,
  26044. shchacyrillic: 0x0449,
  26045. sheenarabic: 0x0634,
  26046. sheenfinalarabic: 0xFEB6,
  26047. sheeninitialarabic: 0xFEB7,
  26048. sheenmedialarabic: 0xFEB8,
  26049. sheicoptic: 0x03E3,
  26050. sheqel: 0x20AA,
  26051. sheqelhebrew: 0x20AA,
  26052. sheva: 0x05B0,
  26053. sheva115: 0x05B0,
  26054. sheva15: 0x05B0,
  26055. sheva22: 0x05B0,
  26056. sheva2e: 0x05B0,
  26057. shevahebrew: 0x05B0,
  26058. shevanarrowhebrew: 0x05B0,
  26059. shevaquarterhebrew: 0x05B0,
  26060. shevawidehebrew: 0x05B0,
  26061. shhacyrillic: 0x04BB,
  26062. shimacoptic: 0x03ED,
  26063. shin: 0x05E9,
  26064. shindagesh: 0xFB49,
  26065. shindageshhebrew: 0xFB49,
  26066. shindageshshindot: 0xFB2C,
  26067. shindageshshindothebrew: 0xFB2C,
  26068. shindageshsindot: 0xFB2D,
  26069. shindageshsindothebrew: 0xFB2D,
  26070. shindothebrew: 0x05C1,
  26071. shinhebrew: 0x05E9,
  26072. shinshindot: 0xFB2A,
  26073. shinshindothebrew: 0xFB2A,
  26074. shinsindot: 0xFB2B,
  26075. shinsindothebrew: 0xFB2B,
  26076. shook: 0x0282,
  26077. sigma: 0x03C3,
  26078. sigma1: 0x03C2,
  26079. sigmafinal: 0x03C2,
  26080. sigmalunatesymbolgreek: 0x03F2,
  26081. sihiragana: 0x3057,
  26082. sikatakana: 0x30B7,
  26083. sikatakanahalfwidth: 0xFF7C,
  26084. siluqhebrew: 0x05BD,
  26085. siluqlefthebrew: 0x05BD,
  26086. similar: 0x223C,
  26087. sindothebrew: 0x05C2,
  26088. siosacirclekorean: 0x3274,
  26089. siosaparenkorean: 0x3214,
  26090. sioscieuckorean: 0x317E,
  26091. sioscirclekorean: 0x3266,
  26092. sioskiyeokkorean: 0x317A,
  26093. sioskorean: 0x3145,
  26094. siosnieunkorean: 0x317B,
  26095. siosparenkorean: 0x3206,
  26096. siospieupkorean: 0x317D,
  26097. siostikeutkorean: 0x317C,
  26098. six: 0x0036,
  26099. sixarabic: 0x0666,
  26100. sixbengali: 0x09EC,
  26101. sixcircle: 0x2465,
  26102. sixcircleinversesansserif: 0x278F,
  26103. sixdeva: 0x096C,
  26104. sixgujarati: 0x0AEC,
  26105. sixgurmukhi: 0x0A6C,
  26106. sixhackarabic: 0x0666,
  26107. sixhangzhou: 0x3026,
  26108. sixideographicparen: 0x3225,
  26109. sixinferior: 0x2086,
  26110. sixmonospace: 0xFF16,
  26111. sixoldstyle: 0xF736,
  26112. sixparen: 0x2479,
  26113. sixperiod: 0x248D,
  26114. sixpersian: 0x06F6,
  26115. sixroman: 0x2175,
  26116. sixsuperior: 0x2076,
  26117. sixteencircle: 0x246F,
  26118. sixteencurrencydenominatorbengali: 0x09F9,
  26119. sixteenparen: 0x2483,
  26120. sixteenperiod: 0x2497,
  26121. sixthai: 0x0E56,
  26122. slash: 0x002F,
  26123. slashmonospace: 0xFF0F,
  26124. slong: 0x017F,
  26125. slongdotaccent: 0x1E9B,
  26126. smileface: 0x263A,
  26127. smonospace: 0xFF53,
  26128. sofpasuqhebrew: 0x05C3,
  26129. softhyphen: 0x00AD,
  26130. softsigncyrillic: 0x044C,
  26131. sohiragana: 0x305D,
  26132. sokatakana: 0x30BD,
  26133. sokatakanahalfwidth: 0xFF7F,
  26134. soliduslongoverlaycmb: 0x0338,
  26135. solidusshortoverlaycmb: 0x0337,
  26136. sorusithai: 0x0E29,
  26137. sosalathai: 0x0E28,
  26138. sosothai: 0x0E0B,
  26139. sosuathai: 0x0E2A,
  26140. space: 0x0020,
  26141. spacehackarabic: 0x0020,
  26142. spade: 0x2660,
  26143. spadesuitblack: 0x2660,
  26144. spadesuitwhite: 0x2664,
  26145. sparen: 0x24AE,
  26146. squarebelowcmb: 0x033B,
  26147. squarecc: 0x33C4,
  26148. squarecm: 0x339D,
  26149. squarediagonalcrosshatchfill: 0x25A9,
  26150. squarehorizontalfill: 0x25A4,
  26151. squarekg: 0x338F,
  26152. squarekm: 0x339E,
  26153. squarekmcapital: 0x33CE,
  26154. squareln: 0x33D1,
  26155. squarelog: 0x33D2,
  26156. squaremg: 0x338E,
  26157. squaremil: 0x33D5,
  26158. squaremm: 0x339C,
  26159. squaremsquared: 0x33A1,
  26160. squareorthogonalcrosshatchfill: 0x25A6,
  26161. squareupperlefttolowerrightfill: 0x25A7,
  26162. squareupperrighttolowerleftfill: 0x25A8,
  26163. squareverticalfill: 0x25A5,
  26164. squarewhitewithsmallblack: 0x25A3,
  26165. srsquare: 0x33DB,
  26166. ssabengali: 0x09B7,
  26167. ssadeva: 0x0937,
  26168. ssagujarati: 0x0AB7,
  26169. ssangcieuckorean: 0x3149,
  26170. ssanghieuhkorean: 0x3185,
  26171. ssangieungkorean: 0x3180,
  26172. ssangkiyeokkorean: 0x3132,
  26173. ssangnieunkorean: 0x3165,
  26174. ssangpieupkorean: 0x3143,
  26175. ssangsioskorean: 0x3146,
  26176. ssangtikeutkorean: 0x3138,
  26177. ssuperior: 0xF6F2,
  26178. sterling: 0x00A3,
  26179. sterlingmonospace: 0xFFE1,
  26180. strokelongoverlaycmb: 0x0336,
  26181. strokeshortoverlaycmb: 0x0335,
  26182. subset: 0x2282,
  26183. subsetnotequal: 0x228A,
  26184. subsetorequal: 0x2286,
  26185. succeeds: 0x227B,
  26186. suchthat: 0x220B,
  26187. suhiragana: 0x3059,
  26188. sukatakana: 0x30B9,
  26189. sukatakanahalfwidth: 0xFF7D,
  26190. sukunarabic: 0x0652,
  26191. summation: 0x2211,
  26192. sun: 0x263C,
  26193. superset: 0x2283,
  26194. supersetnotequal: 0x228B,
  26195. supersetorequal: 0x2287,
  26196. svsquare: 0x33DC,
  26197. syouwaerasquare: 0x337C,
  26198. t: 0x0074,
  26199. tabengali: 0x09A4,
  26200. tackdown: 0x22A4,
  26201. tackleft: 0x22A3,
  26202. tadeva: 0x0924,
  26203. tagujarati: 0x0AA4,
  26204. tagurmukhi: 0x0A24,
  26205. taharabic: 0x0637,
  26206. tahfinalarabic: 0xFEC2,
  26207. tahinitialarabic: 0xFEC3,
  26208. tahiragana: 0x305F,
  26209. tahmedialarabic: 0xFEC4,
  26210. taisyouerasquare: 0x337D,
  26211. takatakana: 0x30BF,
  26212. takatakanahalfwidth: 0xFF80,
  26213. tatweelarabic: 0x0640,
  26214. tau: 0x03C4,
  26215. tav: 0x05EA,
  26216. tavdages: 0xFB4A,
  26217. tavdagesh: 0xFB4A,
  26218. tavdageshhebrew: 0xFB4A,
  26219. tavhebrew: 0x05EA,
  26220. tbar: 0x0167,
  26221. tbopomofo: 0x310A,
  26222. tcaron: 0x0165,
  26223. tccurl: 0x02A8,
  26224. tcedilla: 0x0163,
  26225. tcheharabic: 0x0686,
  26226. tchehfinalarabic: 0xFB7B,
  26227. tchehinitialarabic: 0xFB7C,
  26228. tchehmedialarabic: 0xFB7D,
  26229. tcircle: 0x24E3,
  26230. tcircumflexbelow: 0x1E71,
  26231. tcommaaccent: 0x0163,
  26232. tdieresis: 0x1E97,
  26233. tdotaccent: 0x1E6B,
  26234. tdotbelow: 0x1E6D,
  26235. tecyrillic: 0x0442,
  26236. tedescendercyrillic: 0x04AD,
  26237. teharabic: 0x062A,
  26238. tehfinalarabic: 0xFE96,
  26239. tehhahinitialarabic: 0xFCA2,
  26240. tehhahisolatedarabic: 0xFC0C,
  26241. tehinitialarabic: 0xFE97,
  26242. tehiragana: 0x3066,
  26243. tehjeeminitialarabic: 0xFCA1,
  26244. tehjeemisolatedarabic: 0xFC0B,
  26245. tehmarbutaarabic: 0x0629,
  26246. tehmarbutafinalarabic: 0xFE94,
  26247. tehmedialarabic: 0xFE98,
  26248. tehmeeminitialarabic: 0xFCA4,
  26249. tehmeemisolatedarabic: 0xFC0E,
  26250. tehnoonfinalarabic: 0xFC73,
  26251. tekatakana: 0x30C6,
  26252. tekatakanahalfwidth: 0xFF83,
  26253. telephone: 0x2121,
  26254. telephoneblack: 0x260E,
  26255. telishagedolahebrew: 0x05A0,
  26256. telishaqetanahebrew: 0x05A9,
  26257. tencircle: 0x2469,
  26258. tenideographicparen: 0x3229,
  26259. tenparen: 0x247D,
  26260. tenperiod: 0x2491,
  26261. tenroman: 0x2179,
  26262. tesh: 0x02A7,
  26263. tet: 0x05D8,
  26264. tetdagesh: 0xFB38,
  26265. tetdageshhebrew: 0xFB38,
  26266. tethebrew: 0x05D8,
  26267. tetsecyrillic: 0x04B5,
  26268. tevirhebrew: 0x059B,
  26269. tevirlefthebrew: 0x059B,
  26270. thabengali: 0x09A5,
  26271. thadeva: 0x0925,
  26272. thagujarati: 0x0AA5,
  26273. thagurmukhi: 0x0A25,
  26274. thalarabic: 0x0630,
  26275. thalfinalarabic: 0xFEAC,
  26276. thanthakhatlowleftthai: 0xF898,
  26277. thanthakhatlowrightthai: 0xF897,
  26278. thanthakhatthai: 0x0E4C,
  26279. thanthakhatupperleftthai: 0xF896,
  26280. theharabic: 0x062B,
  26281. thehfinalarabic: 0xFE9A,
  26282. thehinitialarabic: 0xFE9B,
  26283. thehmedialarabic: 0xFE9C,
  26284. thereexists: 0x2203,
  26285. therefore: 0x2234,
  26286. theta: 0x03B8,
  26287. theta1: 0x03D1,
  26288. thetasymbolgreek: 0x03D1,
  26289. thieuthacirclekorean: 0x3279,
  26290. thieuthaparenkorean: 0x3219,
  26291. thieuthcirclekorean: 0x326B,
  26292. thieuthkorean: 0x314C,
  26293. thieuthparenkorean: 0x320B,
  26294. thirteencircle: 0x246C,
  26295. thirteenparen: 0x2480,
  26296. thirteenperiod: 0x2494,
  26297. thonangmonthothai: 0x0E11,
  26298. thook: 0x01AD,
  26299. thophuthaothai: 0x0E12,
  26300. thorn: 0x00FE,
  26301. thothahanthai: 0x0E17,
  26302. thothanthai: 0x0E10,
  26303. thothongthai: 0x0E18,
  26304. thothungthai: 0x0E16,
  26305. thousandcyrillic: 0x0482,
  26306. thousandsseparatorarabic: 0x066C,
  26307. thousandsseparatorpersian: 0x066C,
  26308. three: 0x0033,
  26309. threearabic: 0x0663,
  26310. threebengali: 0x09E9,
  26311. threecircle: 0x2462,
  26312. threecircleinversesansserif: 0x278C,
  26313. threedeva: 0x0969,
  26314. threeeighths: 0x215C,
  26315. threegujarati: 0x0AE9,
  26316. threegurmukhi: 0x0A69,
  26317. threehackarabic: 0x0663,
  26318. threehangzhou: 0x3023,
  26319. threeideographicparen: 0x3222,
  26320. threeinferior: 0x2083,
  26321. threemonospace: 0xFF13,
  26322. threenumeratorbengali: 0x09F6,
  26323. threeoldstyle: 0xF733,
  26324. threeparen: 0x2476,
  26325. threeperiod: 0x248A,
  26326. threepersian: 0x06F3,
  26327. threequarters: 0x00BE,
  26328. threequartersemdash: 0xF6DE,
  26329. threeroman: 0x2172,
  26330. threesuperior: 0x00B3,
  26331. threethai: 0x0E53,
  26332. thzsquare: 0x3394,
  26333. tihiragana: 0x3061,
  26334. tikatakana: 0x30C1,
  26335. tikatakanahalfwidth: 0xFF81,
  26336. tikeutacirclekorean: 0x3270,
  26337. tikeutaparenkorean: 0x3210,
  26338. tikeutcirclekorean: 0x3262,
  26339. tikeutkorean: 0x3137,
  26340. tikeutparenkorean: 0x3202,
  26341. tilde: 0x02DC,
  26342. tildebelowcmb: 0x0330,
  26343. tildecmb: 0x0303,
  26344. tildecomb: 0x0303,
  26345. tildedoublecmb: 0x0360,
  26346. tildeoperator: 0x223C,
  26347. tildeoverlaycmb: 0x0334,
  26348. tildeverticalcmb: 0x033E,
  26349. timescircle: 0x2297,
  26350. tipehahebrew: 0x0596,
  26351. tipehalefthebrew: 0x0596,
  26352. tippigurmukhi: 0x0A70,
  26353. titlocyrilliccmb: 0x0483,
  26354. tiwnarmenian: 0x057F,
  26355. tlinebelow: 0x1E6F,
  26356. tmonospace: 0xFF54,
  26357. toarmenian: 0x0569,
  26358. tohiragana: 0x3068,
  26359. tokatakana: 0x30C8,
  26360. tokatakanahalfwidth: 0xFF84,
  26361. tonebarextrahighmod: 0x02E5,
  26362. tonebarextralowmod: 0x02E9,
  26363. tonebarhighmod: 0x02E6,
  26364. tonebarlowmod: 0x02E8,
  26365. tonebarmidmod: 0x02E7,
  26366. tonefive: 0x01BD,
  26367. tonesix: 0x0185,
  26368. tonetwo: 0x01A8,
  26369. tonos: 0x0384,
  26370. tonsquare: 0x3327,
  26371. topatakthai: 0x0E0F,
  26372. tortoiseshellbracketleft: 0x3014,
  26373. tortoiseshellbracketleftsmall: 0xFE5D,
  26374. tortoiseshellbracketleftvertical: 0xFE39,
  26375. tortoiseshellbracketright: 0x3015,
  26376. tortoiseshellbracketrightsmall: 0xFE5E,
  26377. tortoiseshellbracketrightvertical: 0xFE3A,
  26378. totaothai: 0x0E15,
  26379. tpalatalhook: 0x01AB,
  26380. tparen: 0x24AF,
  26381. trademark: 0x2122,
  26382. trademarksans: 0xF8EA,
  26383. trademarkserif: 0xF6DB,
  26384. tretroflexhook: 0x0288,
  26385. triagdn: 0x25BC,
  26386. triaglf: 0x25C4,
  26387. triagrt: 0x25BA,
  26388. triagup: 0x25B2,
  26389. ts: 0x02A6,
  26390. tsadi: 0x05E6,
  26391. tsadidagesh: 0xFB46,
  26392. tsadidageshhebrew: 0xFB46,
  26393. tsadihebrew: 0x05E6,
  26394. tsecyrillic: 0x0446,
  26395. tsere: 0x05B5,
  26396. tsere12: 0x05B5,
  26397. tsere1e: 0x05B5,
  26398. tsere2b: 0x05B5,
  26399. tserehebrew: 0x05B5,
  26400. tserenarrowhebrew: 0x05B5,
  26401. tserequarterhebrew: 0x05B5,
  26402. tserewidehebrew: 0x05B5,
  26403. tshecyrillic: 0x045B,
  26404. tsuperior: 0xF6F3,
  26405. ttabengali: 0x099F,
  26406. ttadeva: 0x091F,
  26407. ttagujarati: 0x0A9F,
  26408. ttagurmukhi: 0x0A1F,
  26409. tteharabic: 0x0679,
  26410. ttehfinalarabic: 0xFB67,
  26411. ttehinitialarabic: 0xFB68,
  26412. ttehmedialarabic: 0xFB69,
  26413. tthabengali: 0x09A0,
  26414. tthadeva: 0x0920,
  26415. tthagujarati: 0x0AA0,
  26416. tthagurmukhi: 0x0A20,
  26417. tturned: 0x0287,
  26418. tuhiragana: 0x3064,
  26419. tukatakana: 0x30C4,
  26420. tukatakanahalfwidth: 0xFF82,
  26421. tusmallhiragana: 0x3063,
  26422. tusmallkatakana: 0x30C3,
  26423. tusmallkatakanahalfwidth: 0xFF6F,
  26424. twelvecircle: 0x246B,
  26425. twelveparen: 0x247F,
  26426. twelveperiod: 0x2493,
  26427. twelveroman: 0x217B,
  26428. twentycircle: 0x2473,
  26429. twentyhangzhou: 0x5344,
  26430. twentyparen: 0x2487,
  26431. twentyperiod: 0x249B,
  26432. two: 0x0032,
  26433. twoarabic: 0x0662,
  26434. twobengali: 0x09E8,
  26435. twocircle: 0x2461,
  26436. twocircleinversesansserif: 0x278B,
  26437. twodeva: 0x0968,
  26438. twodotenleader: 0x2025,
  26439. twodotleader: 0x2025,
  26440. twodotleadervertical: 0xFE30,
  26441. twogujarati: 0x0AE8,
  26442. twogurmukhi: 0x0A68,
  26443. twohackarabic: 0x0662,
  26444. twohangzhou: 0x3022,
  26445. twoideographicparen: 0x3221,
  26446. twoinferior: 0x2082,
  26447. twomonospace: 0xFF12,
  26448. twonumeratorbengali: 0x09F5,
  26449. twooldstyle: 0xF732,
  26450. twoparen: 0x2475,
  26451. twoperiod: 0x2489,
  26452. twopersian: 0x06F2,
  26453. tworoman: 0x2171,
  26454. twostroke: 0x01BB,
  26455. twosuperior: 0x00B2,
  26456. twothai: 0x0E52,
  26457. twothirds: 0x2154,
  26458. u: 0x0075,
  26459. uacute: 0x00FA,
  26460. ubar: 0x0289,
  26461. ubengali: 0x0989,
  26462. ubopomofo: 0x3128,
  26463. ubreve: 0x016D,
  26464. ucaron: 0x01D4,
  26465. ucircle: 0x24E4,
  26466. ucircumflex: 0x00FB,
  26467. ucircumflexbelow: 0x1E77,
  26468. ucyrillic: 0x0443,
  26469. udattadeva: 0x0951,
  26470. udblacute: 0x0171,
  26471. udblgrave: 0x0215,
  26472. udeva: 0x0909,
  26473. udieresis: 0x00FC,
  26474. udieresisacute: 0x01D8,
  26475. udieresisbelow: 0x1E73,
  26476. udieresiscaron: 0x01DA,
  26477. udieresiscyrillic: 0x04F1,
  26478. udieresisgrave: 0x01DC,
  26479. udieresismacron: 0x01D6,
  26480. udotbelow: 0x1EE5,
  26481. ugrave: 0x00F9,
  26482. ugujarati: 0x0A89,
  26483. ugurmukhi: 0x0A09,
  26484. uhiragana: 0x3046,
  26485. uhookabove: 0x1EE7,
  26486. uhorn: 0x01B0,
  26487. uhornacute: 0x1EE9,
  26488. uhorndotbelow: 0x1EF1,
  26489. uhorngrave: 0x1EEB,
  26490. uhornhookabove: 0x1EED,
  26491. uhorntilde: 0x1EEF,
  26492. uhungarumlaut: 0x0171,
  26493. uhungarumlautcyrillic: 0x04F3,
  26494. uinvertedbreve: 0x0217,
  26495. ukatakana: 0x30A6,
  26496. ukatakanahalfwidth: 0xFF73,
  26497. ukcyrillic: 0x0479,
  26498. ukorean: 0x315C,
  26499. umacron: 0x016B,
  26500. umacroncyrillic: 0x04EF,
  26501. umacrondieresis: 0x1E7B,
  26502. umatragurmukhi: 0x0A41,
  26503. umonospace: 0xFF55,
  26504. underscore: 0x005F,
  26505. underscoredbl: 0x2017,
  26506. underscoremonospace: 0xFF3F,
  26507. underscorevertical: 0xFE33,
  26508. underscorewavy: 0xFE4F,
  26509. union: 0x222A,
  26510. universal: 0x2200,
  26511. uogonek: 0x0173,
  26512. uparen: 0x24B0,
  26513. upblock: 0x2580,
  26514. upperdothebrew: 0x05C4,
  26515. upsilon: 0x03C5,
  26516. upsilondieresis: 0x03CB,
  26517. upsilondieresistonos: 0x03B0,
  26518. upsilonlatin: 0x028A,
  26519. upsilontonos: 0x03CD,
  26520. uptackbelowcmb: 0x031D,
  26521. uptackmod: 0x02D4,
  26522. uragurmukhi: 0x0A73,
  26523. uring: 0x016F,
  26524. ushortcyrillic: 0x045E,
  26525. usmallhiragana: 0x3045,
  26526. usmallkatakana: 0x30A5,
  26527. usmallkatakanahalfwidth: 0xFF69,
  26528. ustraightcyrillic: 0x04AF,
  26529. ustraightstrokecyrillic: 0x04B1,
  26530. utilde: 0x0169,
  26531. utildeacute: 0x1E79,
  26532. utildebelow: 0x1E75,
  26533. uubengali: 0x098A,
  26534. uudeva: 0x090A,
  26535. uugujarati: 0x0A8A,
  26536. uugurmukhi: 0x0A0A,
  26537. uumatragurmukhi: 0x0A42,
  26538. uuvowelsignbengali: 0x09C2,
  26539. uuvowelsigndeva: 0x0942,
  26540. uuvowelsigngujarati: 0x0AC2,
  26541. uvowelsignbengali: 0x09C1,
  26542. uvowelsigndeva: 0x0941,
  26543. uvowelsigngujarati: 0x0AC1,
  26544. v: 0x0076,
  26545. vadeva: 0x0935,
  26546. vagujarati: 0x0AB5,
  26547. vagurmukhi: 0x0A35,
  26548. vakatakana: 0x30F7,
  26549. vav: 0x05D5,
  26550. vavdagesh: 0xFB35,
  26551. vavdagesh65: 0xFB35,
  26552. vavdageshhebrew: 0xFB35,
  26553. vavhebrew: 0x05D5,
  26554. vavholam: 0xFB4B,
  26555. vavholamhebrew: 0xFB4B,
  26556. vavvavhebrew: 0x05F0,
  26557. vavyodhebrew: 0x05F1,
  26558. vcircle: 0x24E5,
  26559. vdotbelow: 0x1E7F,
  26560. vecyrillic: 0x0432,
  26561. veharabic: 0x06A4,
  26562. vehfinalarabic: 0xFB6B,
  26563. vehinitialarabic: 0xFB6C,
  26564. vehmedialarabic: 0xFB6D,
  26565. vekatakana: 0x30F9,
  26566. venus: 0x2640,
  26567. verticalbar: 0x007C,
  26568. verticallineabovecmb: 0x030D,
  26569. verticallinebelowcmb: 0x0329,
  26570. verticallinelowmod: 0x02CC,
  26571. verticallinemod: 0x02C8,
  26572. vewarmenian: 0x057E,
  26573. vhook: 0x028B,
  26574. vikatakana: 0x30F8,
  26575. viramabengali: 0x09CD,
  26576. viramadeva: 0x094D,
  26577. viramagujarati: 0x0ACD,
  26578. visargabengali: 0x0983,
  26579. visargadeva: 0x0903,
  26580. visargagujarati: 0x0A83,
  26581. vmonospace: 0xFF56,
  26582. voarmenian: 0x0578,
  26583. voicediterationhiragana: 0x309E,
  26584. voicediterationkatakana: 0x30FE,
  26585. voicedmarkkana: 0x309B,
  26586. voicedmarkkanahalfwidth: 0xFF9E,
  26587. vokatakana: 0x30FA,
  26588. vparen: 0x24B1,
  26589. vtilde: 0x1E7D,
  26590. vturned: 0x028C,
  26591. vuhiragana: 0x3094,
  26592. vukatakana: 0x30F4,
  26593. w: 0x0077,
  26594. wacute: 0x1E83,
  26595. waekorean: 0x3159,
  26596. wahiragana: 0x308F,
  26597. wakatakana: 0x30EF,
  26598. wakatakanahalfwidth: 0xFF9C,
  26599. wakorean: 0x3158,
  26600. wasmallhiragana: 0x308E,
  26601. wasmallkatakana: 0x30EE,
  26602. wattosquare: 0x3357,
  26603. wavedash: 0x301C,
  26604. wavyunderscorevertical: 0xFE34,
  26605. wawarabic: 0x0648,
  26606. wawfinalarabic: 0xFEEE,
  26607. wawhamzaabovearabic: 0x0624,
  26608. wawhamzaabovefinalarabic: 0xFE86,
  26609. wbsquare: 0x33DD,
  26610. wcircle: 0x24E6,
  26611. wcircumflex: 0x0175,
  26612. wdieresis: 0x1E85,
  26613. wdotaccent: 0x1E87,
  26614. wdotbelow: 0x1E89,
  26615. wehiragana: 0x3091,
  26616. weierstrass: 0x2118,
  26617. wekatakana: 0x30F1,
  26618. wekorean: 0x315E,
  26619. weokorean: 0x315D,
  26620. wgrave: 0x1E81,
  26621. whitebullet: 0x25E6,
  26622. whitecircle: 0x25CB,
  26623. whitecircleinverse: 0x25D9,
  26624. whitecornerbracketleft: 0x300E,
  26625. whitecornerbracketleftvertical: 0xFE43,
  26626. whitecornerbracketright: 0x300F,
  26627. whitecornerbracketrightvertical: 0xFE44,
  26628. whitediamond: 0x25C7,
  26629. whitediamondcontainingblacksmalldiamond: 0x25C8,
  26630. whitedownpointingsmalltriangle: 0x25BF,
  26631. whitedownpointingtriangle: 0x25BD,
  26632. whiteleftpointingsmalltriangle: 0x25C3,
  26633. whiteleftpointingtriangle: 0x25C1,
  26634. whitelenticularbracketleft: 0x3016,
  26635. whitelenticularbracketright: 0x3017,
  26636. whiterightpointingsmalltriangle: 0x25B9,
  26637. whiterightpointingtriangle: 0x25B7,
  26638. whitesmallsquare: 0x25AB,
  26639. whitesmilingface: 0x263A,
  26640. whitesquare: 0x25A1,
  26641. whitestar: 0x2606,
  26642. whitetelephone: 0x260F,
  26643. whitetortoiseshellbracketleft: 0x3018,
  26644. whitetortoiseshellbracketright: 0x3019,
  26645. whiteuppointingsmalltriangle: 0x25B5,
  26646. whiteuppointingtriangle: 0x25B3,
  26647. wihiragana: 0x3090,
  26648. wikatakana: 0x30F0,
  26649. wikorean: 0x315F,
  26650. wmonospace: 0xFF57,
  26651. wohiragana: 0x3092,
  26652. wokatakana: 0x30F2,
  26653. wokatakanahalfwidth: 0xFF66,
  26654. won: 0x20A9,
  26655. wonmonospace: 0xFFE6,
  26656. wowaenthai: 0x0E27,
  26657. wparen: 0x24B2,
  26658. wring: 0x1E98,
  26659. wsuperior: 0x02B7,
  26660. wturned: 0x028D,
  26661. wynn: 0x01BF,
  26662. x: 0x0078,
  26663. xabovecmb: 0x033D,
  26664. xbopomofo: 0x3112,
  26665. xcircle: 0x24E7,
  26666. xdieresis: 0x1E8D,
  26667. xdotaccent: 0x1E8B,
  26668. xeharmenian: 0x056D,
  26669. xi: 0x03BE,
  26670. xmonospace: 0xFF58,
  26671. xparen: 0x24B3,
  26672. xsuperior: 0x02E3,
  26673. y: 0x0079,
  26674. yaadosquare: 0x334E,
  26675. yabengali: 0x09AF,
  26676. yacute: 0x00FD,
  26677. yadeva: 0x092F,
  26678. yaekorean: 0x3152,
  26679. yagujarati: 0x0AAF,
  26680. yagurmukhi: 0x0A2F,
  26681. yahiragana: 0x3084,
  26682. yakatakana: 0x30E4,
  26683. yakatakanahalfwidth: 0xFF94,
  26684. yakorean: 0x3151,
  26685. yamakkanthai: 0x0E4E,
  26686. yasmallhiragana: 0x3083,
  26687. yasmallkatakana: 0x30E3,
  26688. yasmallkatakanahalfwidth: 0xFF6C,
  26689. yatcyrillic: 0x0463,
  26690. ycircle: 0x24E8,
  26691. ycircumflex: 0x0177,
  26692. ydieresis: 0x00FF,
  26693. ydotaccent: 0x1E8F,
  26694. ydotbelow: 0x1EF5,
  26695. yeharabic: 0x064A,
  26696. yehbarreearabic: 0x06D2,
  26697. yehbarreefinalarabic: 0xFBAF,
  26698. yehfinalarabic: 0xFEF2,
  26699. yehhamzaabovearabic: 0x0626,
  26700. yehhamzaabovefinalarabic: 0xFE8A,
  26701. yehhamzaaboveinitialarabic: 0xFE8B,
  26702. yehhamzaabovemedialarabic: 0xFE8C,
  26703. yehinitialarabic: 0xFEF3,
  26704. yehmedialarabic: 0xFEF4,
  26705. yehmeeminitialarabic: 0xFCDD,
  26706. yehmeemisolatedarabic: 0xFC58,
  26707. yehnoonfinalarabic: 0xFC94,
  26708. yehthreedotsbelowarabic: 0x06D1,
  26709. yekorean: 0x3156,
  26710. yen: 0x00A5,
  26711. yenmonospace: 0xFFE5,
  26712. yeokorean: 0x3155,
  26713. yeorinhieuhkorean: 0x3186,
  26714. yerahbenyomohebrew: 0x05AA,
  26715. yerahbenyomolefthebrew: 0x05AA,
  26716. yericyrillic: 0x044B,
  26717. yerudieresiscyrillic: 0x04F9,
  26718. yesieungkorean: 0x3181,
  26719. yesieungpansioskorean: 0x3183,
  26720. yesieungsioskorean: 0x3182,
  26721. yetivhebrew: 0x059A,
  26722. ygrave: 0x1EF3,
  26723. yhook: 0x01B4,
  26724. yhookabove: 0x1EF7,
  26725. yiarmenian: 0x0575,
  26726. yicyrillic: 0x0457,
  26727. yikorean: 0x3162,
  26728. yinyang: 0x262F,
  26729. yiwnarmenian: 0x0582,
  26730. ymonospace: 0xFF59,
  26731. yod: 0x05D9,
  26732. yoddagesh: 0xFB39,
  26733. yoddageshhebrew: 0xFB39,
  26734. yodhebrew: 0x05D9,
  26735. yodyodhebrew: 0x05F2,
  26736. yodyodpatahhebrew: 0xFB1F,
  26737. yohiragana: 0x3088,
  26738. yoikorean: 0x3189,
  26739. yokatakana: 0x30E8,
  26740. yokatakanahalfwidth: 0xFF96,
  26741. yokorean: 0x315B,
  26742. yosmallhiragana: 0x3087,
  26743. yosmallkatakana: 0x30E7,
  26744. yosmallkatakanahalfwidth: 0xFF6E,
  26745. yotgreek: 0x03F3,
  26746. yoyaekorean: 0x3188,
  26747. yoyakorean: 0x3187,
  26748. yoyakthai: 0x0E22,
  26749. yoyingthai: 0x0E0D,
  26750. yparen: 0x24B4,
  26751. ypogegrammeni: 0x037A,
  26752. ypogegrammenigreekcmb: 0x0345,
  26753. yr: 0x01A6,
  26754. yring: 0x1E99,
  26755. ysuperior: 0x02B8,
  26756. ytilde: 0x1EF9,
  26757. yturned: 0x028E,
  26758. yuhiragana: 0x3086,
  26759. yuikorean: 0x318C,
  26760. yukatakana: 0x30E6,
  26761. yukatakanahalfwidth: 0xFF95,
  26762. yukorean: 0x3160,
  26763. yusbigcyrillic: 0x046B,
  26764. yusbigiotifiedcyrillic: 0x046D,
  26765. yuslittlecyrillic: 0x0467,
  26766. yuslittleiotifiedcyrillic: 0x0469,
  26767. yusmallhiragana: 0x3085,
  26768. yusmallkatakana: 0x30E5,
  26769. yusmallkatakanahalfwidth: 0xFF6D,
  26770. yuyekorean: 0x318B,
  26771. yuyeokorean: 0x318A,
  26772. yyabengali: 0x09DF,
  26773. yyadeva: 0x095F,
  26774. z: 0x007A,
  26775. zaarmenian: 0x0566,
  26776. zacute: 0x017A,
  26777. zadeva: 0x095B,
  26778. zagurmukhi: 0x0A5B,
  26779. zaharabic: 0x0638,
  26780. zahfinalarabic: 0xFEC6,
  26781. zahinitialarabic: 0xFEC7,
  26782. zahiragana: 0x3056,
  26783. zahmedialarabic: 0xFEC8,
  26784. zainarabic: 0x0632,
  26785. zainfinalarabic: 0xFEB0,
  26786. zakatakana: 0x30B6,
  26787. zaqefgadolhebrew: 0x0595,
  26788. zaqefqatanhebrew: 0x0594,
  26789. zarqahebrew: 0x0598,
  26790. zayin: 0x05D6,
  26791. zayindagesh: 0xFB36,
  26792. zayindageshhebrew: 0xFB36,
  26793. zayinhebrew: 0x05D6,
  26794. zbopomofo: 0x3117,
  26795. zcaron: 0x017E,
  26796. zcircle: 0x24E9,
  26797. zcircumflex: 0x1E91,
  26798. zcurl: 0x0291,
  26799. zdot: 0x017C,
  26800. zdotaccent: 0x017C,
  26801. zdotbelow: 0x1E93,
  26802. zecyrillic: 0x0437,
  26803. zedescendercyrillic: 0x0499,
  26804. zedieresiscyrillic: 0x04DF,
  26805. zehiragana: 0x305C,
  26806. zekatakana: 0x30BC,
  26807. zero: 0x0030,
  26808. zeroarabic: 0x0660,
  26809. zerobengali: 0x09E6,
  26810. zerodeva: 0x0966,
  26811. zerogujarati: 0x0AE6,
  26812. zerogurmukhi: 0x0A66,
  26813. zerohackarabic: 0x0660,
  26814. zeroinferior: 0x2080,
  26815. zeromonospace: 0xFF10,
  26816. zerooldstyle: 0xF730,
  26817. zeropersian: 0x06F0,
  26818. zerosuperior: 0x2070,
  26819. zerothai: 0x0E50,
  26820. zerowidthjoiner: 0xFEFF,
  26821. zerowidthnonjoiner: 0x200C,
  26822. zerowidthspace: 0x200B,
  26823. zeta: 0x03B6,
  26824. zhbopomofo: 0x3113,
  26825. zhearmenian: 0x056A,
  26826. zhebrevecyrillic: 0x04C2,
  26827. zhecyrillic: 0x0436,
  26828. zhedescendercyrillic: 0x0497,
  26829. zhedieresiscyrillic: 0x04DD,
  26830. zihiragana: 0x3058,
  26831. zikatakana: 0x30B8,
  26832. zinorhebrew: 0x05AE,
  26833. zlinebelow: 0x1E95,
  26834. zmonospace: 0xFF5A,
  26835. zohiragana: 0x305E,
  26836. zokatakana: 0x30BE,
  26837. zparen: 0x24B5,
  26838. zretroflexhook: 0x0290,
  26839. zstroke: 0x01B6,
  26840. zuhiragana: 0x305A,
  26841. zukatakana: 0x30BA,
  26842. '.notdef': 0x0000
  26843. };
  26844. var PDFImage = (function PDFImageClosure() {
  26845. /**
  26846. * Decode the image in the main thread if it supported. Resovles the promise
  26847. * when the image data is ready.
  26848. */
  26849. function handleImageData(handler, xref, res, image, promise) {
  26850. if (image instanceof JpegStream && image.isNativelyDecodable(xref, res)) {
  26851. // For natively supported jpegs send them to the main thread for decoding.
  26852. var dict = image.dict;
  26853. var colorSpace = dict.get('ColorSpace', 'CS');
  26854. colorSpace = ColorSpace.parse(colorSpace, xref, res);
  26855. var numComps = colorSpace.numComps;
  26856. handler.send('JpegDecode', [image.getIR(), numComps], function(message) {
  26857. var data = message.data;
  26858. var stream = new Stream(data, 0, data.length, image.dict);
  26859. promise.resolve(stream);
  26860. });
  26861. } else {
  26862. promise.resolve(image);
  26863. }
  26864. }
  26865. /**
  26866. * Decode and clamp a value. The formula is different from the spec because we
  26867. * don't decode to float range [0,1], we decode it in the [0,max] range.
  26868. */
  26869. function decodeAndClamp(value, addend, coefficient, max) {
  26870. value = addend + value * coefficient;
  26871. // Clamp the value to the range
  26872. return value < 0 ? 0 : value > max ? max : value;
  26873. }
  26874. function PDFImage(xref, res, image, inline, smask, mask, isMask) {
  26875. this.image = image;
  26876. if (image.getParams) {
  26877. // JPX/JPEG2000 streams directly contain bits per component
  26878. // and color space mode information.
  26879. warn('get params from actual stream');
  26880. // var bits = ...
  26881. // var colorspace = ...
  26882. }
  26883. // TODO cache rendered images?
  26884. var dict = image.dict;
  26885. this.width = dict.get('Width', 'W');
  26886. this.height = dict.get('Height', 'H');
  26887. if (this.width < 1 || this.height < 1)
  26888. error('Invalid image width: ' + this.width + ' or height: ' +
  26889. this.height);
  26890. this.interpolate = dict.get('Interpolate', 'I') || false;
  26891. this.imageMask = dict.get('ImageMask', 'IM') || false;
  26892. this.matte = dict.get('Matte') || false;
  26893. var bitsPerComponent = image.bitsPerComponent;
  26894. if (!bitsPerComponent) {
  26895. bitsPerComponent = dict.get('BitsPerComponent', 'BPC');
  26896. if (!bitsPerComponent) {
  26897. if (this.imageMask)
  26898. bitsPerComponent = 1;
  26899. else
  26900. error('Bits per component missing in image: ' + this.imageMask);
  26901. }
  26902. }
  26903. this.bpc = bitsPerComponent;
  26904. if (!this.imageMask) {
  26905. var colorSpace = dict.get('ColorSpace', 'CS');
  26906. if (!colorSpace) {
  26907. warn('JPX images (which don"t require color spaces');
  26908. colorSpace = new Name('DeviceRGB');
  26909. }
  26910. this.colorSpace = ColorSpace.parse(colorSpace, xref, res);
  26911. this.numComps = this.colorSpace.numComps;
  26912. }
  26913. this.decode = dict.get('Decode', 'D');
  26914. this.needsDecode = false;
  26915. if (this.decode &&
  26916. ((this.colorSpace && !this.colorSpace.isDefaultDecode(this.decode)) ||
  26917. (isMask && !ColorSpace.isDefaultDecode(this.decode, 1)))) {
  26918. this.needsDecode = true;
  26919. // Do some preprocessing to avoid more math.
  26920. var max = (1 << bitsPerComponent) - 1;
  26921. this.decodeCoefficients = [];
  26922. this.decodeAddends = [];
  26923. for (var i = 0, j = 0; i < this.decode.length; i += 2, ++j) {
  26924. var dmin = this.decode[i];
  26925. var dmax = this.decode[i + 1];
  26926. this.decodeCoefficients[j] = dmax - dmin;
  26927. this.decodeAddends[j] = max * dmin;
  26928. }
  26929. }
  26930. if (smask) {
  26931. this.smask = new PDFImage(xref, res, smask, false);
  26932. } else if (mask) {
  26933. if (isStream(mask)) {
  26934. this.mask = new PDFImage(xref, res, mask, false, null, null, true);
  26935. } else {
  26936. // Color key mask (just an array).
  26937. this.mask = mask;
  26938. }
  26939. }
  26940. }
  26941. /**
  26942. * Handles processing of image data and calls the callback with an argument
  26943. * of a PDFImage when the image is ready to be used.
  26944. */
  26945. PDFImage.buildImage = function PDFImage_buildImage(callback, handler, xref,
  26946. res, image, inline) {
  26947. var imageDataPromise = new LegacyPromise();
  26948. var smaskPromise = new LegacyPromise();
  26949. var maskPromise = new LegacyPromise();
  26950. // The image data and smask data may not be ready yet, wait till both are
  26951. // resolved.
  26952. Promise.all([imageDataPromise, smaskPromise, maskPromise]).then(
  26953. function(results) {
  26954. var imageData = results[0], smaskData = results[1], maskData = results[2];
  26955. var image = new PDFImage(xref, res, imageData, inline, smaskData,
  26956. maskData);
  26957. callback(image);
  26958. });
  26959. handleImageData(handler, xref, res, image, imageDataPromise);
  26960. var smask = image.dict.get('SMask');
  26961. var mask = image.dict.get('Mask');
  26962. if (smask) {
  26963. handleImageData(handler, xref, res, smask, smaskPromise);
  26964. maskPromise.resolve(null);
  26965. } else {
  26966. smaskPromise.resolve(null);
  26967. if (mask) {
  26968. if (isStream(mask)) {
  26969. handleImageData(handler, xref, res, mask, maskPromise);
  26970. } else if (isArray(mask)) {
  26971. maskPromise.resolve(mask);
  26972. } else {
  26973. warn('Unsupported mask format.');
  26974. maskPromise.resolve(null);
  26975. }
  26976. } else {
  26977. maskPromise.resolve(null);
  26978. }
  26979. }
  26980. };
  26981. /**
  26982. * Resize an image using the nearest neighbor algorithm. Currently only
  26983. * supports one and three component images.
  26984. * @param {TypedArray} pixels The original image with one component.
  26985. * @param {Number} bpc Number of bits per component.
  26986. * @param {Number} components Number of color components, 1 or 3 is supported.
  26987. * @param {Number} w1 Original width.
  26988. * @param {Number} h1 Original height.
  26989. * @param {Number} w2 New width.
  26990. * @param {Number} h2 New height.
  26991. * @return {TypedArray} Resized image data.
  26992. */
  26993. PDFImage.resize = function PDFImage_resize(pixels, bpc, components,
  26994. w1, h1, w2, h2) {
  26995. var length = w2 * h2 * components;
  26996. var temp = bpc <= 8 ? new Uint8Array(length) :
  26997. bpc <= 16 ? new Uint16Array(length) : new Uint32Array(length);
  26998. var xRatio = w1 / w2;
  26999. var yRatio = h1 / h2;
  27000. var px, py, newIndex, oldIndex;
  27001. for (var i = 0; i < h2; i++) {
  27002. for (var j = 0; j < w2; j++) {
  27003. px = Math.floor(j * xRatio);
  27004. py = Math.floor(i * yRatio);
  27005. newIndex = (i * w2) + j;
  27006. oldIndex = ((py * w1) + px);
  27007. if (components === 1) {
  27008. temp[newIndex] = pixels[oldIndex];
  27009. } else if (components === 3) {
  27010. newIndex *= 3;
  27011. oldIndex *= 3;
  27012. temp[newIndex] = pixels[oldIndex];
  27013. temp[newIndex + 1] = pixels[oldIndex + 1];
  27014. temp[newIndex + 2] = pixels[oldIndex + 2];
  27015. }
  27016. }
  27017. }
  27018. return temp;
  27019. };
  27020. PDFImage.createMask = function PDFImage_createMask(imgArray, width, height,
  27021. inverseDecode) {
  27022. // Copy imgArray into a typed array (inverting if necessary) so it can be
  27023. // transferred to the main thread.
  27024. var length = ((width + 7) >> 3) * height;
  27025. var data = new Uint8Array(length);
  27026. if (inverseDecode) {
  27027. for (var i = 0; i < length; i++) {
  27028. data[i] = ~imgArray[i];
  27029. }
  27030. } else {
  27031. for (var i = 0; i < length; i++) {
  27032. data[i] = imgArray[i];
  27033. }
  27034. }
  27035. return {data: data, width: width, height: height};
  27036. };
  27037. PDFImage.prototype = {
  27038. get drawWidth() {
  27039. if (!this.smask)
  27040. return this.width;
  27041. return Math.max(this.width, this.smask.width);
  27042. },
  27043. get drawHeight() {
  27044. if (!this.smask)
  27045. return this.height;
  27046. return Math.max(this.height, this.smask.height);
  27047. },
  27048. decodeBuffer: function PDFImage_decodeBuffer(buffer) {
  27049. var bpc = this.bpc;
  27050. var decodeMap = this.decode;
  27051. var numComps = this.numComps;
  27052. var decodeAddends, decodeCoefficients;
  27053. var decodeAddends = this.decodeAddends;
  27054. var decodeCoefficients = this.decodeCoefficients;
  27055. var max = (1 << bpc) - 1;
  27056. if (bpc === 1) {
  27057. // If the buffer needed decode that means it just needs to be inverted.
  27058. for (var i = 0, ii = buffer.length; i < ii; i++) {
  27059. buffer[i] = +!(buffer[i]);
  27060. }
  27061. return;
  27062. }
  27063. var index = 0;
  27064. for (var i = 0, ii = this.width * this.height; i < ii; i++) {
  27065. for (var j = 0; j < numComps; j++) {
  27066. buffer[index] = decodeAndClamp(buffer[index], decodeAddends[j],
  27067. decodeCoefficients[j], max);
  27068. index++;
  27069. }
  27070. }
  27071. },
  27072. getComponents: function PDFImage_getComponents(buffer) {
  27073. var bpc = this.bpc;
  27074. // This image doesn't require any extra work.
  27075. if (bpc === 8)
  27076. return buffer;
  27077. var bufferLength = buffer.length;
  27078. var width = this.width;
  27079. var height = this.height;
  27080. var numComps = this.numComps;
  27081. var length = width * height * numComps;
  27082. var bufferPos = 0;
  27083. var output = bpc <= 8 ? new Uint8Array(length) :
  27084. bpc <= 16 ? new Uint16Array(length) : new Uint32Array(length);
  27085. var rowComps = width * numComps;
  27086. var max = (1 << bpc) - 1;
  27087. if (bpc === 1) {
  27088. // Optimization for reading 1 bpc images.
  27089. var mask = 0;
  27090. var buf = 0;
  27091. for (var i = 0, ii = length; i < ii; ++i) {
  27092. if (i % rowComps === 0) {
  27093. mask = 0;
  27094. buf = 0;
  27095. } else {
  27096. mask >>= 1;
  27097. }
  27098. if (mask <= 0) {
  27099. buf = buffer[bufferPos++];
  27100. mask = 128;
  27101. }
  27102. output[i] = +!!(buf & mask);
  27103. }
  27104. } else {
  27105. // The general case that handles all other bpc values.
  27106. var bits = 0, buf = 0;
  27107. for (var i = 0, ii = length; i < ii; ++i) {
  27108. if (i % rowComps === 0) {
  27109. buf = 0;
  27110. bits = 0;
  27111. }
  27112. while (bits < bpc) {
  27113. buf = (buf << 8) | buffer[bufferPos++];
  27114. bits += 8;
  27115. }
  27116. var remainingBits = bits - bpc;
  27117. var value = buf >> remainingBits;
  27118. output[i] = value < 0 ? 0 : value > max ? max : value;
  27119. buf = buf & ((1 << remainingBits) - 1);
  27120. bits = remainingBits;
  27121. }
  27122. }
  27123. return output;
  27124. },
  27125. getOpacity: function PDFImage_getOpacity(width, height, image) {
  27126. var smask = this.smask;
  27127. var mask = this.mask;
  27128. var originalWidth = this.width;
  27129. var originalHeight = this.height;
  27130. var buf;
  27131. if (smask) {
  27132. var sw = smask.width;
  27133. var sh = smask.height;
  27134. buf = new Uint8Array(sw * sh);
  27135. smask.fillGrayBuffer(buf);
  27136. if (sw != width || sh != height)
  27137. buf = PDFImage.resize(buf, smask.bpc, 1, sw, sh, width, height);
  27138. } else if (mask) {
  27139. if (mask instanceof PDFImage) {
  27140. var sw = mask.width;
  27141. var sh = mask.height;
  27142. buf = new Uint8Array(sw * sh);
  27143. mask.numComps = 1;
  27144. mask.fillGrayBuffer(buf);
  27145. // Need to invert values in buffer
  27146. for (var i = 0, ii = sw * sh; i < ii; ++i)
  27147. buf[i] = 255 - buf[i];
  27148. if (sw != width || sh != height)
  27149. buf = PDFImage.resize(buf, mask.bpc, 1, sw, sh, width, height);
  27150. } else if (isArray(mask)) {
  27151. // Color key mask: if any of the compontents are outside the range
  27152. // then they should be painted.
  27153. buf = new Uint8Array(width * height);
  27154. var numComps = this.numComps;
  27155. for (var i = 0, ii = width * height; i < ii; ++i) {
  27156. var opacity = 0;
  27157. var imageOffset = i * numComps;
  27158. for (var j = 0; j < numComps; ++j) {
  27159. var color = image[imageOffset + j];
  27160. var maskOffset = j * 2;
  27161. if (color < mask[maskOffset] || color > mask[maskOffset + 1]) {
  27162. opacity = 255;
  27163. break;
  27164. }
  27165. }
  27166. buf[i] = opacity;
  27167. }
  27168. } else {
  27169. error('Unknown mask format.');
  27170. }
  27171. } else {
  27172. buf = new Uint8Array(width * height);
  27173. for (var i = 0, ii = width * height; i < ii; ++i)
  27174. buf[i] = 255;
  27175. }
  27176. return buf;
  27177. },
  27178. undoPreblend: function PDFImage_undoPreblend(buffer, width, height) {
  27179. var matte = this.smask && this.smask.matte;
  27180. if (!matte) {
  27181. return;
  27182. }
  27183. function clamp(value) {
  27184. return (value < 0 ? 0 : value > 255 ? 255 : value) | 0;
  27185. }
  27186. var matteRgb = this.colorSpace.getRgb(matte, 0);
  27187. var length = width * height * 4;
  27188. for (var i = 0; i < length; i += 4) {
  27189. var alpha = buffer[i + 3];
  27190. if (alpha === 0) {
  27191. // according formula we have to get Infinity in all components
  27192. // making it as white (tipical paper color) should be okay
  27193. buffer[i] = 255;
  27194. buffer[i + 1] = 255;
  27195. buffer[i + 2] = 255;
  27196. continue;
  27197. }
  27198. var k = 255 / alpha;
  27199. buffer[i] = clamp((buffer[i] - matteRgb[0]) * k + matteRgb[0]);
  27200. buffer[i + 1] = clamp((buffer[i + 1] - matteRgb[1]) * k + matteRgb[1]);
  27201. buffer[i + 2] = clamp((buffer[i + 2] - matteRgb[2]) * k + matteRgb[2]);
  27202. }
  27203. },
  27204. fillRgbaBuffer: function PDFImage_fillRgbaBuffer(buffer, width, height) {
  27205. var numComps = this.numComps;
  27206. var originalWidth = this.width;
  27207. var originalHeight = this.height;
  27208. var bpc = this.bpc;
  27209. // rows start at byte boundary;
  27210. var rowBytes = (originalWidth * numComps * bpc + 7) >> 3;
  27211. var imgArray = this.getImageBytes(originalHeight * rowBytes);
  27212. // imgArray can be incomplete (e.g. after CCITT fax encoding)
  27213. var actualHeight = 0 | (imgArray.length / rowBytes *
  27214. height / originalHeight);
  27215. var comps = this.getComponents(imgArray);
  27216. // Build opacity here since color key masking needs to be perormed on
  27217. // undecoded values.
  27218. var opacity = this.getOpacity(width, height, comps);
  27219. if (this.needsDecode) {
  27220. this.decodeBuffer(comps);
  27221. }
  27222. var rgbBuf = this.colorSpace.createRgbBuffer(comps, 0,
  27223. originalWidth * originalHeight, bpc);
  27224. if (originalWidth != width || originalHeight != height)
  27225. rgbBuf = PDFImage.resize(rgbBuf, this.bpc, 3, originalWidth,
  27226. originalHeight, width, height);
  27227. var compsPos = 0;
  27228. var opacityPos = 0;
  27229. var length = width * actualHeight * 4;
  27230. for (var i = 0; i < length; i += 4) {
  27231. buffer[i] = rgbBuf[compsPos++];
  27232. buffer[i + 1] = rgbBuf[compsPos++];
  27233. buffer[i + 2] = rgbBuf[compsPos++];
  27234. buffer[i + 3] = opacity[opacityPos++];
  27235. }
  27236. this.undoPreblend(buffer, width, actualHeight);
  27237. },
  27238. fillGrayBuffer: function PDFImage_fillGrayBuffer(buffer) {
  27239. var numComps = this.numComps;
  27240. if (numComps != 1)
  27241. error('Reading gray scale from a color image: ' + numComps);
  27242. var width = this.width;
  27243. var height = this.height;
  27244. var bpc = this.bpc;
  27245. // rows start at byte boundary;
  27246. var rowBytes = (width * numComps * bpc + 7) >> 3;
  27247. var imgArray = this.getImageBytes(height * rowBytes);
  27248. var comps = this.getComponents(imgArray);
  27249. if (this.needsDecode) {
  27250. this.decodeBuffer(comps);
  27251. }
  27252. var length = width * height;
  27253. // we aren't using a colorspace so we need to scale the value
  27254. var scale = 255 / ((1 << bpc) - 1);
  27255. for (var i = 0; i < length; ++i)
  27256. buffer[i] = (scale * comps[i]) | 0;
  27257. },
  27258. getImageData: function PDFImage_getImageData() {
  27259. var drawWidth = this.drawWidth;
  27260. var drawHeight = this.drawHeight;
  27261. var imgData = {
  27262. width: drawWidth,
  27263. height: drawHeight,
  27264. data: new Uint8Array(drawWidth * drawHeight * 4)
  27265. };
  27266. var pixels = imgData.data;
  27267. this.fillRgbaBuffer(pixels, drawWidth, drawHeight);
  27268. return imgData;
  27269. },
  27270. getImageBytes: function PDFImage_getImageBytes(length) {
  27271. this.image.reset();
  27272. return this.image.getBytes(length);
  27273. }
  27274. };
  27275. return PDFImage;
  27276. })();
  27277. // The Metrics object contains glyph widths (in glyph space units).
  27278. // As per PDF spec, for most fonts (Type 3 being an exception) a glyph
  27279. // space unit corresponds to 1/1000th of text space unit.
  27280. var Metrics = {
  27281. 'Courier': 600,
  27282. 'Courier-Bold': 600,
  27283. 'Courier-BoldOblique': 600,
  27284. 'Courier-Oblique': 600,
  27285. 'Helvetica' : {
  27286. 'space': 278,
  27287. 'exclam': 278,
  27288. 'quotedbl': 355,
  27289. 'numbersign': 556,
  27290. 'dollar': 556,
  27291. 'percent': 889,
  27292. 'ampersand': 667,
  27293. 'quoteright': 222,
  27294. 'parenleft': 333,
  27295. 'parenright': 333,
  27296. 'asterisk': 389,
  27297. 'plus': 584,
  27298. 'comma': 278,
  27299. 'hyphen': 333,
  27300. 'period': 278,
  27301. 'slash': 278,
  27302. 'zero': 556,
  27303. 'one': 556,
  27304. 'two': 556,
  27305. 'three': 556,
  27306. 'four': 556,
  27307. 'five': 556,
  27308. 'six': 556,
  27309. 'seven': 556,
  27310. 'eight': 556,
  27311. 'nine': 556,
  27312. 'colon': 278,
  27313. 'semicolon': 278,
  27314. 'less': 584,
  27315. 'equal': 584,
  27316. 'greater': 584,
  27317. 'question': 556,
  27318. 'at': 1015,
  27319. 'A': 667,
  27320. 'B': 667,
  27321. 'C': 722,
  27322. 'D': 722,
  27323. 'E': 667,
  27324. 'F': 611,
  27325. 'G': 778,
  27326. 'H': 722,
  27327. 'I': 278,
  27328. 'J': 500,
  27329. 'K': 667,
  27330. 'L': 556,
  27331. 'M': 833,
  27332. 'N': 722,
  27333. 'O': 778,
  27334. 'P': 667,
  27335. 'Q': 778,
  27336. 'R': 722,
  27337. 'S': 667,
  27338. 'T': 611,
  27339. 'U': 722,
  27340. 'V': 667,
  27341. 'W': 944,
  27342. 'X': 667,
  27343. 'Y': 667,
  27344. 'Z': 611,
  27345. 'bracketleft': 278,
  27346. 'backslash': 278,
  27347. 'bracketright': 278,
  27348. 'asciicircum': 469,
  27349. 'underscore': 556,
  27350. 'quoteleft': 222,
  27351. 'a': 556,
  27352. 'b': 556,
  27353. 'c': 500,
  27354. 'd': 556,
  27355. 'e': 556,
  27356. 'f': 278,
  27357. 'g': 556,
  27358. 'h': 556,
  27359. 'i': 222,
  27360. 'j': 222,
  27361. 'k': 500,
  27362. 'l': 222,
  27363. 'm': 833,
  27364. 'n': 556,
  27365. 'o': 556,
  27366. 'p': 556,
  27367. 'q': 556,
  27368. 'r': 333,
  27369. 's': 500,
  27370. 't': 278,
  27371. 'u': 556,
  27372. 'v': 500,
  27373. 'w': 722,
  27374. 'x': 500,
  27375. 'y': 500,
  27376. 'z': 500,
  27377. 'braceleft': 334,
  27378. 'bar': 260,
  27379. 'braceright': 334,
  27380. 'asciitilde': 584,
  27381. 'exclamdown': 333,
  27382. 'cent': 556,
  27383. 'sterling': 556,
  27384. 'fraction': 167,
  27385. 'yen': 556,
  27386. 'florin': 556,
  27387. 'section': 556,
  27388. 'currency': 556,
  27389. 'quotesingle': 191,
  27390. 'quotedblleft': 333,
  27391. 'guillemotleft': 556,
  27392. 'guilsinglleft': 333,
  27393. 'guilsinglright': 333,
  27394. 'fi': 500,
  27395. 'fl': 500,
  27396. 'endash': 556,
  27397. 'dagger': 556,
  27398. 'daggerdbl': 556,
  27399. 'periodcentered': 278,
  27400. 'paragraph': 537,
  27401. 'bullet': 350,
  27402. 'quotesinglbase': 222,
  27403. 'quotedblbase': 333,
  27404. 'quotedblright': 333,
  27405. 'guillemotright': 556,
  27406. 'ellipsis': 1000,
  27407. 'perthousand': 1000,
  27408. 'questiondown': 611,
  27409. 'grave': 333,
  27410. 'acute': 333,
  27411. 'circumflex': 333,
  27412. 'tilde': 333,
  27413. 'macron': 333,
  27414. 'breve': 333,
  27415. 'dotaccent': 333,
  27416. 'dieresis': 333,
  27417. 'ring': 333,
  27418. 'cedilla': 333,
  27419. 'hungarumlaut': 333,
  27420. 'ogonek': 333,
  27421. 'caron': 333,
  27422. 'emdash': 1000,
  27423. 'AE': 1000,
  27424. 'ordfeminine': 370,
  27425. 'Lslash': 556,
  27426. 'Oslash': 778,
  27427. 'OE': 1000,
  27428. 'ordmasculine': 365,
  27429. 'ae': 889,
  27430. 'dotlessi': 278,
  27431. 'lslash': 222,
  27432. 'oslash': 611,
  27433. 'oe': 944,
  27434. 'germandbls': 611,
  27435. 'Idieresis': 278,
  27436. 'eacute': 556,
  27437. 'abreve': 556,
  27438. 'uhungarumlaut': 556,
  27439. 'ecaron': 556,
  27440. 'Ydieresis': 667,
  27441. 'divide': 584,
  27442. 'Yacute': 667,
  27443. 'Acircumflex': 667,
  27444. 'aacute': 556,
  27445. 'Ucircumflex': 722,
  27446. 'yacute': 500,
  27447. 'scommaaccent': 500,
  27448. 'ecircumflex': 556,
  27449. 'Uring': 722,
  27450. 'Udieresis': 722,
  27451. 'aogonek': 556,
  27452. 'Uacute': 722,
  27453. 'uogonek': 556,
  27454. 'Edieresis': 667,
  27455. 'Dcroat': 722,
  27456. 'commaaccent': 250,
  27457. 'copyright': 737,
  27458. 'Emacron': 667,
  27459. 'ccaron': 500,
  27460. 'aring': 556,
  27461. 'Ncommaaccent': 722,
  27462. 'lacute': 222,
  27463. 'agrave': 556,
  27464. 'Tcommaaccent': 611,
  27465. 'Cacute': 722,
  27466. 'atilde': 556,
  27467. 'Edotaccent': 667,
  27468. 'scaron': 500,
  27469. 'scedilla': 500,
  27470. 'iacute': 278,
  27471. 'lozenge': 471,
  27472. 'Rcaron': 722,
  27473. 'Gcommaaccent': 778,
  27474. 'ucircumflex': 556,
  27475. 'acircumflex': 556,
  27476. 'Amacron': 667,
  27477. 'rcaron': 333,
  27478. 'ccedilla': 500,
  27479. 'Zdotaccent': 611,
  27480. 'Thorn': 667,
  27481. 'Omacron': 778,
  27482. 'Racute': 722,
  27483. 'Sacute': 667,
  27484. 'dcaron': 643,
  27485. 'Umacron': 722,
  27486. 'uring': 556,
  27487. 'threesuperior': 333,
  27488. 'Ograve': 778,
  27489. 'Agrave': 667,
  27490. 'Abreve': 667,
  27491. 'multiply': 584,
  27492. 'uacute': 556,
  27493. 'Tcaron': 611,
  27494. 'partialdiff': 476,
  27495. 'ydieresis': 500,
  27496. 'Nacute': 722,
  27497. 'icircumflex': 278,
  27498. 'Ecircumflex': 667,
  27499. 'adieresis': 556,
  27500. 'edieresis': 556,
  27501. 'cacute': 500,
  27502. 'nacute': 556,
  27503. 'umacron': 556,
  27504. 'Ncaron': 722,
  27505. 'Iacute': 278,
  27506. 'plusminus': 584,
  27507. 'brokenbar': 260,
  27508. 'registered': 737,
  27509. 'Gbreve': 778,
  27510. 'Idotaccent': 278,
  27511. 'summation': 600,
  27512. 'Egrave': 667,
  27513. 'racute': 333,
  27514. 'omacron': 556,
  27515. 'Zacute': 611,
  27516. 'Zcaron': 611,
  27517. 'greaterequal': 549,
  27518. 'Eth': 722,
  27519. 'Ccedilla': 722,
  27520. 'lcommaaccent': 222,
  27521. 'tcaron': 317,
  27522. 'eogonek': 556,
  27523. 'Uogonek': 722,
  27524. 'Aacute': 667,
  27525. 'Adieresis': 667,
  27526. 'egrave': 556,
  27527. 'zacute': 500,
  27528. 'iogonek': 222,
  27529. 'Oacute': 778,
  27530. 'oacute': 556,
  27531. 'amacron': 556,
  27532. 'sacute': 500,
  27533. 'idieresis': 278,
  27534. 'Ocircumflex': 778,
  27535. 'Ugrave': 722,
  27536. 'Delta': 612,
  27537. 'thorn': 556,
  27538. 'twosuperior': 333,
  27539. 'Odieresis': 778,
  27540. 'mu': 556,
  27541. 'igrave': 278,
  27542. 'ohungarumlaut': 556,
  27543. 'Eogonek': 667,
  27544. 'dcroat': 556,
  27545. 'threequarters': 834,
  27546. 'Scedilla': 667,
  27547. 'lcaron': 299,
  27548. 'Kcommaaccent': 667,
  27549. 'Lacute': 556,
  27550. 'trademark': 1000,
  27551. 'edotaccent': 556,
  27552. 'Igrave': 278,
  27553. 'Imacron': 278,
  27554. 'Lcaron': 556,
  27555. 'onehalf': 834,
  27556. 'lessequal': 549,
  27557. 'ocircumflex': 556,
  27558. 'ntilde': 556,
  27559. 'Uhungarumlaut': 722,
  27560. 'Eacute': 667,
  27561. 'emacron': 556,
  27562. 'gbreve': 556,
  27563. 'onequarter': 834,
  27564. 'Scaron': 667,
  27565. 'Scommaaccent': 667,
  27566. 'Ohungarumlaut': 778,
  27567. 'degree': 400,
  27568. 'ograve': 556,
  27569. 'Ccaron': 722,
  27570. 'ugrave': 556,
  27571. 'radical': 453,
  27572. 'Dcaron': 722,
  27573. 'rcommaaccent': 333,
  27574. 'Ntilde': 722,
  27575. 'otilde': 556,
  27576. 'Rcommaaccent': 722,
  27577. 'Lcommaaccent': 556,
  27578. 'Atilde': 667,
  27579. 'Aogonek': 667,
  27580. 'Aring': 667,
  27581. 'Otilde': 778,
  27582. 'zdotaccent': 500,
  27583. 'Ecaron': 667,
  27584. 'Iogonek': 278,
  27585. 'kcommaaccent': 500,
  27586. 'minus': 584,
  27587. 'Icircumflex': 278,
  27588. 'ncaron': 556,
  27589. 'tcommaaccent': 278,
  27590. 'logicalnot': 584,
  27591. 'odieresis': 556,
  27592. 'udieresis': 556,
  27593. 'notequal': 549,
  27594. 'gcommaaccent': 556,
  27595. 'eth': 556,
  27596. 'zcaron': 500,
  27597. 'ncommaaccent': 556,
  27598. 'onesuperior': 333,
  27599. 'imacron': 278,
  27600. 'Euro': 556
  27601. },
  27602. 'Helvetica-Bold': {
  27603. 'space': 278,
  27604. 'exclam': 333,
  27605. 'quotedbl': 474,
  27606. 'numbersign': 556,
  27607. 'dollar': 556,
  27608. 'percent': 889,
  27609. 'ampersand': 722,
  27610. 'quoteright': 278,
  27611. 'parenleft': 333,
  27612. 'parenright': 333,
  27613. 'asterisk': 389,
  27614. 'plus': 584,
  27615. 'comma': 278,
  27616. 'hyphen': 333,
  27617. 'period': 278,
  27618. 'slash': 278,
  27619. 'zero': 556,
  27620. 'one': 556,
  27621. 'two': 556,
  27622. 'three': 556,
  27623. 'four': 556,
  27624. 'five': 556,
  27625. 'six': 556,
  27626. 'seven': 556,
  27627. 'eight': 556,
  27628. 'nine': 556,
  27629. 'colon': 333,
  27630. 'semicolon': 333,
  27631. 'less': 584,
  27632. 'equal': 584,
  27633. 'greater': 584,
  27634. 'question': 611,
  27635. 'at': 975,
  27636. 'A': 722,
  27637. 'B': 722,
  27638. 'C': 722,
  27639. 'D': 722,
  27640. 'E': 667,
  27641. 'F': 611,
  27642. 'G': 778,
  27643. 'H': 722,
  27644. 'I': 278,
  27645. 'J': 556,
  27646. 'K': 722,
  27647. 'L': 611,
  27648. 'M': 833,
  27649. 'N': 722,
  27650. 'O': 778,
  27651. 'P': 667,
  27652. 'Q': 778,
  27653. 'R': 722,
  27654. 'S': 667,
  27655. 'T': 611,
  27656. 'U': 722,
  27657. 'V': 667,
  27658. 'W': 944,
  27659. 'X': 667,
  27660. 'Y': 667,
  27661. 'Z': 611,
  27662. 'bracketleft': 333,
  27663. 'backslash': 278,
  27664. 'bracketright': 333,
  27665. 'asciicircum': 584,
  27666. 'underscore': 556,
  27667. 'quoteleft': 278,
  27668. 'a': 556,
  27669. 'b': 611,
  27670. 'c': 556,
  27671. 'd': 611,
  27672. 'e': 556,
  27673. 'f': 333,
  27674. 'g': 611,
  27675. 'h': 611,
  27676. 'i': 278,
  27677. 'j': 278,
  27678. 'k': 556,
  27679. 'l': 278,
  27680. 'm': 889,
  27681. 'n': 611,
  27682. 'o': 611,
  27683. 'p': 611,
  27684. 'q': 611,
  27685. 'r': 389,
  27686. 's': 556,
  27687. 't': 333,
  27688. 'u': 611,
  27689. 'v': 556,
  27690. 'w': 778,
  27691. 'x': 556,
  27692. 'y': 556,
  27693. 'z': 500,
  27694. 'braceleft': 389,
  27695. 'bar': 280,
  27696. 'braceright': 389,
  27697. 'asciitilde': 584,
  27698. 'exclamdown': 333,
  27699. 'cent': 556,
  27700. 'sterling': 556,
  27701. 'fraction': 167,
  27702. 'yen': 556,
  27703. 'florin': 556,
  27704. 'section': 556,
  27705. 'currency': 556,
  27706. 'quotesingle': 238,
  27707. 'quotedblleft': 500,
  27708. 'guillemotleft': 556,
  27709. 'guilsinglleft': 333,
  27710. 'guilsinglright': 333,
  27711. 'fi': 611,
  27712. 'fl': 611,
  27713. 'endash': 556,
  27714. 'dagger': 556,
  27715. 'daggerdbl': 556,
  27716. 'periodcentered': 278,
  27717. 'paragraph': 556,
  27718. 'bullet': 350,
  27719. 'quotesinglbase': 278,
  27720. 'quotedblbase': 500,
  27721. 'quotedblright': 500,
  27722. 'guillemotright': 556,
  27723. 'ellipsis': 1000,
  27724. 'perthousand': 1000,
  27725. 'questiondown': 611,
  27726. 'grave': 333,
  27727. 'acute': 333,
  27728. 'circumflex': 333,
  27729. 'tilde': 333,
  27730. 'macron': 333,
  27731. 'breve': 333,
  27732. 'dotaccent': 333,
  27733. 'dieresis': 333,
  27734. 'ring': 333,
  27735. 'cedilla': 333,
  27736. 'hungarumlaut': 333,
  27737. 'ogonek': 333,
  27738. 'caron': 333,
  27739. 'emdash': 1000,
  27740. 'AE': 1000,
  27741. 'ordfeminine': 370,
  27742. 'Lslash': 611,
  27743. 'Oslash': 778,
  27744. 'OE': 1000,
  27745. 'ordmasculine': 365,
  27746. 'ae': 889,
  27747. 'dotlessi': 278,
  27748. 'lslash': 278,
  27749. 'oslash': 611,
  27750. 'oe': 944,
  27751. 'germandbls': 611,
  27752. 'Idieresis': 278,
  27753. 'eacute': 556,
  27754. 'abreve': 556,
  27755. 'uhungarumlaut': 611,
  27756. 'ecaron': 556,
  27757. 'Ydieresis': 667,
  27758. 'divide': 584,
  27759. 'Yacute': 667,
  27760. 'Acircumflex': 722,
  27761. 'aacute': 556,
  27762. 'Ucircumflex': 722,
  27763. 'yacute': 556,
  27764. 'scommaaccent': 556,
  27765. 'ecircumflex': 556,
  27766. 'Uring': 722,
  27767. 'Udieresis': 722,
  27768. 'aogonek': 556,
  27769. 'Uacute': 722,
  27770. 'uogonek': 611,
  27771. 'Edieresis': 667,
  27772. 'Dcroat': 722,
  27773. 'commaaccent': 250,
  27774. 'copyright': 737,
  27775. 'Emacron': 667,
  27776. 'ccaron': 556,
  27777. 'aring': 556,
  27778. 'Ncommaaccent': 722,
  27779. 'lacute': 278,
  27780. 'agrave': 556,
  27781. 'Tcommaaccent': 611,
  27782. 'Cacute': 722,
  27783. 'atilde': 556,
  27784. 'Edotaccent': 667,
  27785. 'scaron': 556,
  27786. 'scedilla': 556,
  27787. 'iacute': 278,
  27788. 'lozenge': 494,
  27789. 'Rcaron': 722,
  27790. 'Gcommaaccent': 778,
  27791. 'ucircumflex': 611,
  27792. 'acircumflex': 556,
  27793. 'Amacron': 722,
  27794. 'rcaron': 389,
  27795. 'ccedilla': 556,
  27796. 'Zdotaccent': 611,
  27797. 'Thorn': 667,
  27798. 'Omacron': 778,
  27799. 'Racute': 722,
  27800. 'Sacute': 667,
  27801. 'dcaron': 743,
  27802. 'Umacron': 722,
  27803. 'uring': 611,
  27804. 'threesuperior': 333,
  27805. 'Ograve': 778,
  27806. 'Agrave': 722,
  27807. 'Abreve': 722,
  27808. 'multiply': 584,
  27809. 'uacute': 611,
  27810. 'Tcaron': 611,
  27811. 'partialdiff': 494,
  27812. 'ydieresis': 556,
  27813. 'Nacute': 722,
  27814. 'icircumflex': 278,
  27815. 'Ecircumflex': 667,
  27816. 'adieresis': 556,
  27817. 'edieresis': 556,
  27818. 'cacute': 556,
  27819. 'nacute': 611,
  27820. 'umacron': 611,
  27821. 'Ncaron': 722,
  27822. 'Iacute': 278,
  27823. 'plusminus': 584,
  27824. 'brokenbar': 280,
  27825. 'registered': 737,
  27826. 'Gbreve': 778,
  27827. 'Idotaccent': 278,
  27828. 'summation': 600,
  27829. 'Egrave': 667,
  27830. 'racute': 389,
  27831. 'omacron': 611,
  27832. 'Zacute': 611,
  27833. 'Zcaron': 611,
  27834. 'greaterequal': 549,
  27835. 'Eth': 722,
  27836. 'Ccedilla': 722,
  27837. 'lcommaaccent': 278,
  27838. 'tcaron': 389,
  27839. 'eogonek': 556,
  27840. 'Uogonek': 722,
  27841. 'Aacute': 722,
  27842. 'Adieresis': 722,
  27843. 'egrave': 556,
  27844. 'zacute': 500,
  27845. 'iogonek': 278,
  27846. 'Oacute': 778,
  27847. 'oacute': 611,
  27848. 'amacron': 556,
  27849. 'sacute': 556,
  27850. 'idieresis': 278,
  27851. 'Ocircumflex': 778,
  27852. 'Ugrave': 722,
  27853. 'Delta': 612,
  27854. 'thorn': 611,
  27855. 'twosuperior': 333,
  27856. 'Odieresis': 778,
  27857. 'mu': 611,
  27858. 'igrave': 278,
  27859. 'ohungarumlaut': 611,
  27860. 'Eogonek': 667,
  27861. 'dcroat': 611,
  27862. 'threequarters': 834,
  27863. 'Scedilla': 667,
  27864. 'lcaron': 400,
  27865. 'Kcommaaccent': 722,
  27866. 'Lacute': 611,
  27867. 'trademark': 1000,
  27868. 'edotaccent': 556,
  27869. 'Igrave': 278,
  27870. 'Imacron': 278,
  27871. 'Lcaron': 611,
  27872. 'onehalf': 834,
  27873. 'lessequal': 549,
  27874. 'ocircumflex': 611,
  27875. 'ntilde': 611,
  27876. 'Uhungarumlaut': 722,
  27877. 'Eacute': 667,
  27878. 'emacron': 556,
  27879. 'gbreve': 611,
  27880. 'onequarter': 834,
  27881. 'Scaron': 667,
  27882. 'Scommaaccent': 667,
  27883. 'Ohungarumlaut': 778,
  27884. 'degree': 400,
  27885. 'ograve': 611,
  27886. 'Ccaron': 722,
  27887. 'ugrave': 611,
  27888. 'radical': 549,
  27889. 'Dcaron': 722,
  27890. 'rcommaaccent': 389,
  27891. 'Ntilde': 722,
  27892. 'otilde': 611,
  27893. 'Rcommaaccent': 722,
  27894. 'Lcommaaccent': 611,
  27895. 'Atilde': 722,
  27896. 'Aogonek': 722,
  27897. 'Aring': 722,
  27898. 'Otilde': 778,
  27899. 'zdotaccent': 500,
  27900. 'Ecaron': 667,
  27901. 'Iogonek': 278,
  27902. 'kcommaaccent': 556,
  27903. 'minus': 584,
  27904. 'Icircumflex': 278,
  27905. 'ncaron': 611,
  27906. 'tcommaaccent': 333,
  27907. 'logicalnot': 584,
  27908. 'odieresis': 611,
  27909. 'udieresis': 611,
  27910. 'notequal': 549,
  27911. 'gcommaaccent': 611,
  27912. 'eth': 611,
  27913. 'zcaron': 500,
  27914. 'ncommaaccent': 611,
  27915. 'onesuperior': 333,
  27916. 'imacron': 278,
  27917. 'Euro': 556
  27918. },
  27919. 'Helvetica-BoldOblique': {
  27920. 'space': 278,
  27921. 'exclam': 333,
  27922. 'quotedbl': 474,
  27923. 'numbersign': 556,
  27924. 'dollar': 556,
  27925. 'percent': 889,
  27926. 'ampersand': 722,
  27927. 'quoteright': 278,
  27928. 'parenleft': 333,
  27929. 'parenright': 333,
  27930. 'asterisk': 389,
  27931. 'plus': 584,
  27932. 'comma': 278,
  27933. 'hyphen': 333,
  27934. 'period': 278,
  27935. 'slash': 278,
  27936. 'zero': 556,
  27937. 'one': 556,
  27938. 'two': 556,
  27939. 'three': 556,
  27940. 'four': 556,
  27941. 'five': 556,
  27942. 'six': 556,
  27943. 'seven': 556,
  27944. 'eight': 556,
  27945. 'nine': 556,
  27946. 'colon': 333,
  27947. 'semicolon': 333,
  27948. 'less': 584,
  27949. 'equal': 584,
  27950. 'greater': 584,
  27951. 'question': 611,
  27952. 'at': 975,
  27953. 'A': 722,
  27954. 'B': 722,
  27955. 'C': 722,
  27956. 'D': 722,
  27957. 'E': 667,
  27958. 'F': 611,
  27959. 'G': 778,
  27960. 'H': 722,
  27961. 'I': 278,
  27962. 'J': 556,
  27963. 'K': 722,
  27964. 'L': 611,
  27965. 'M': 833,
  27966. 'N': 722,
  27967. 'O': 778,
  27968. 'P': 667,
  27969. 'Q': 778,
  27970. 'R': 722,
  27971. 'S': 667,
  27972. 'T': 611,
  27973. 'U': 722,
  27974. 'V': 667,
  27975. 'W': 944,
  27976. 'X': 667,
  27977. 'Y': 667,
  27978. 'Z': 611,
  27979. 'bracketleft': 333,
  27980. 'backslash': 278,
  27981. 'bracketright': 333,
  27982. 'asciicircum': 584,
  27983. 'underscore': 556,
  27984. 'quoteleft': 278,
  27985. 'a': 556,
  27986. 'b': 611,
  27987. 'c': 556,
  27988. 'd': 611,
  27989. 'e': 556,
  27990. 'f': 333,
  27991. 'g': 611,
  27992. 'h': 611,
  27993. 'i': 278,
  27994. 'j': 278,
  27995. 'k': 556,
  27996. 'l': 278,
  27997. 'm': 889,
  27998. 'n': 611,
  27999. 'o': 611,
  28000. 'p': 611,
  28001. 'q': 611,
  28002. 'r': 389,
  28003. 's': 556,
  28004. 't': 333,
  28005. 'u': 611,
  28006. 'v': 556,
  28007. 'w': 778,
  28008. 'x': 556,
  28009. 'y': 556,
  28010. 'z': 500,
  28011. 'braceleft': 389,
  28012. 'bar': 280,
  28013. 'braceright': 389,
  28014. 'asciitilde': 584,
  28015. 'exclamdown': 333,
  28016. 'cent': 556,
  28017. 'sterling': 556,
  28018. 'fraction': 167,
  28019. 'yen': 556,
  28020. 'florin': 556,
  28021. 'section': 556,
  28022. 'currency': 556,
  28023. 'quotesingle': 238,
  28024. 'quotedblleft': 500,
  28025. 'guillemotleft': 556,
  28026. 'guilsinglleft': 333,
  28027. 'guilsinglright': 333,
  28028. 'fi': 611,
  28029. 'fl': 611,
  28030. 'endash': 556,
  28031. 'dagger': 556,
  28032. 'daggerdbl': 556,
  28033. 'periodcentered': 278,
  28034. 'paragraph': 556,
  28035. 'bullet': 350,
  28036. 'quotesinglbase': 278,
  28037. 'quotedblbase': 500,
  28038. 'quotedblright': 500,
  28039. 'guillemotright': 556,
  28040. 'ellipsis': 1000,
  28041. 'perthousand': 1000,
  28042. 'questiondown': 611,
  28043. 'grave': 333,
  28044. 'acute': 333,
  28045. 'circumflex': 333,
  28046. 'tilde': 333,
  28047. 'macron': 333,
  28048. 'breve': 333,
  28049. 'dotaccent': 333,
  28050. 'dieresis': 333,
  28051. 'ring': 333,
  28052. 'cedilla': 333,
  28053. 'hungarumlaut': 333,
  28054. 'ogonek': 333,
  28055. 'caron': 333,
  28056. 'emdash': 1000,
  28057. 'AE': 1000,
  28058. 'ordfeminine': 370,
  28059. 'Lslash': 611,
  28060. 'Oslash': 778,
  28061. 'OE': 1000,
  28062. 'ordmasculine': 365,
  28063. 'ae': 889,
  28064. 'dotlessi': 278,
  28065. 'lslash': 278,
  28066. 'oslash': 611,
  28067. 'oe': 944,
  28068. 'germandbls': 611,
  28069. 'Idieresis': 278,
  28070. 'eacute': 556,
  28071. 'abreve': 556,
  28072. 'uhungarumlaut': 611,
  28073. 'ecaron': 556,
  28074. 'Ydieresis': 667,
  28075. 'divide': 584,
  28076. 'Yacute': 667,
  28077. 'Acircumflex': 722,
  28078. 'aacute': 556,
  28079. 'Ucircumflex': 722,
  28080. 'yacute': 556,
  28081. 'scommaaccent': 556,
  28082. 'ecircumflex': 556,
  28083. 'Uring': 722,
  28084. 'Udieresis': 722,
  28085. 'aogonek': 556,
  28086. 'Uacute': 722,
  28087. 'uogonek': 611,
  28088. 'Edieresis': 667,
  28089. 'Dcroat': 722,
  28090. 'commaaccent': 250,
  28091. 'copyright': 737,
  28092. 'Emacron': 667,
  28093. 'ccaron': 556,
  28094. 'aring': 556,
  28095. 'Ncommaaccent': 722,
  28096. 'lacute': 278,
  28097. 'agrave': 556,
  28098. 'Tcommaaccent': 611,
  28099. 'Cacute': 722,
  28100. 'atilde': 556,
  28101. 'Edotaccent': 667,
  28102. 'scaron': 556,
  28103. 'scedilla': 556,
  28104. 'iacute': 278,
  28105. 'lozenge': 494,
  28106. 'Rcaron': 722,
  28107. 'Gcommaaccent': 778,
  28108. 'ucircumflex': 611,
  28109. 'acircumflex': 556,
  28110. 'Amacron': 722,
  28111. 'rcaron': 389,
  28112. 'ccedilla': 556,
  28113. 'Zdotaccent': 611,
  28114. 'Thorn': 667,
  28115. 'Omacron': 778,
  28116. 'Racute': 722,
  28117. 'Sacute': 667,
  28118. 'dcaron': 743,
  28119. 'Umacron': 722,
  28120. 'uring': 611,
  28121. 'threesuperior': 333,
  28122. 'Ograve': 778,
  28123. 'Agrave': 722,
  28124. 'Abreve': 722,
  28125. 'multiply': 584,
  28126. 'uacute': 611,
  28127. 'Tcaron': 611,
  28128. 'partialdiff': 494,
  28129. 'ydieresis': 556,
  28130. 'Nacute': 722,
  28131. 'icircumflex': 278,
  28132. 'Ecircumflex': 667,
  28133. 'adieresis': 556,
  28134. 'edieresis': 556,
  28135. 'cacute': 556,
  28136. 'nacute': 611,
  28137. 'umacron': 611,
  28138. 'Ncaron': 722,
  28139. 'Iacute': 278,
  28140. 'plusminus': 584,
  28141. 'brokenbar': 280,
  28142. 'registered': 737,
  28143. 'Gbreve': 778,
  28144. 'Idotaccent': 278,
  28145. 'summation': 600,
  28146. 'Egrave': 667,
  28147. 'racute': 389,
  28148. 'omacron': 611,
  28149. 'Zacute': 611,
  28150. 'Zcaron': 611,
  28151. 'greaterequal': 549,
  28152. 'Eth': 722,
  28153. 'Ccedilla': 722,
  28154. 'lcommaaccent': 278,
  28155. 'tcaron': 389,
  28156. 'eogonek': 556,
  28157. 'Uogonek': 722,
  28158. 'Aacute': 722,
  28159. 'Adieresis': 722,
  28160. 'egrave': 556,
  28161. 'zacute': 500,
  28162. 'iogonek': 278,
  28163. 'Oacute': 778,
  28164. 'oacute': 611,
  28165. 'amacron': 556,
  28166. 'sacute': 556,
  28167. 'idieresis': 278,
  28168. 'Ocircumflex': 778,
  28169. 'Ugrave': 722,
  28170. 'Delta': 612,
  28171. 'thorn': 611,
  28172. 'twosuperior': 333,
  28173. 'Odieresis': 778,
  28174. 'mu': 611,
  28175. 'igrave': 278,
  28176. 'ohungarumlaut': 611,
  28177. 'Eogonek': 667,
  28178. 'dcroat': 611,
  28179. 'threequarters': 834,
  28180. 'Scedilla': 667,
  28181. 'lcaron': 400,
  28182. 'Kcommaaccent': 722,
  28183. 'Lacute': 611,
  28184. 'trademark': 1000,
  28185. 'edotaccent': 556,
  28186. 'Igrave': 278,
  28187. 'Imacron': 278,
  28188. 'Lcaron': 611,
  28189. 'onehalf': 834,
  28190. 'lessequal': 549,
  28191. 'ocircumflex': 611,
  28192. 'ntilde': 611,
  28193. 'Uhungarumlaut': 722,
  28194. 'Eacute': 667,
  28195. 'emacron': 556,
  28196. 'gbreve': 611,
  28197. 'onequarter': 834,
  28198. 'Scaron': 667,
  28199. 'Scommaaccent': 667,
  28200. 'Ohungarumlaut': 778,
  28201. 'degree': 400,
  28202. 'ograve': 611,
  28203. 'Ccaron': 722,
  28204. 'ugrave': 611,
  28205. 'radical': 549,
  28206. 'Dcaron': 722,
  28207. 'rcommaaccent': 389,
  28208. 'Ntilde': 722,
  28209. 'otilde': 611,
  28210. 'Rcommaaccent': 722,
  28211. 'Lcommaaccent': 611,
  28212. 'Atilde': 722,
  28213. 'Aogonek': 722,
  28214. 'Aring': 722,
  28215. 'Otilde': 778,
  28216. 'zdotaccent': 500,
  28217. 'Ecaron': 667,
  28218. 'Iogonek': 278,
  28219. 'kcommaaccent': 556,
  28220. 'minus': 584,
  28221. 'Icircumflex': 278,
  28222. 'ncaron': 611,
  28223. 'tcommaaccent': 333,
  28224. 'logicalnot': 584,
  28225. 'odieresis': 611,
  28226. 'udieresis': 611,
  28227. 'notequal': 549,
  28228. 'gcommaaccent': 611,
  28229. 'eth': 611,
  28230. 'zcaron': 500,
  28231. 'ncommaaccent': 611,
  28232. 'onesuperior': 333,
  28233. 'imacron': 278,
  28234. 'Euro': 556
  28235. },
  28236. 'Helvetica-Oblique' : {
  28237. 'space': 278,
  28238. 'exclam': 278,
  28239. 'quotedbl': 355,
  28240. 'numbersign': 556,
  28241. 'dollar': 556,
  28242. 'percent': 889,
  28243. 'ampersand': 667,
  28244. 'quoteright': 222,
  28245. 'parenleft': 333,
  28246. 'parenright': 333,
  28247. 'asterisk': 389,
  28248. 'plus': 584,
  28249. 'comma': 278,
  28250. 'hyphen': 333,
  28251. 'period': 278,
  28252. 'slash': 278,
  28253. 'zero': 556,
  28254. 'one': 556,
  28255. 'two': 556,
  28256. 'three': 556,
  28257. 'four': 556,
  28258. 'five': 556,
  28259. 'six': 556,
  28260. 'seven': 556,
  28261. 'eight': 556,
  28262. 'nine': 556,
  28263. 'colon': 278,
  28264. 'semicolon': 278,
  28265. 'less': 584,
  28266. 'equal': 584,
  28267. 'greater': 584,
  28268. 'question': 556,
  28269. 'at': 1015,
  28270. 'A': 667,
  28271. 'B': 667,
  28272. 'C': 722,
  28273. 'D': 722,
  28274. 'E': 667,
  28275. 'F': 611,
  28276. 'G': 778,
  28277. 'H': 722,
  28278. 'I': 278,
  28279. 'J': 500,
  28280. 'K': 667,
  28281. 'L': 556,
  28282. 'M': 833,
  28283. 'N': 722,
  28284. 'O': 778,
  28285. 'P': 667,
  28286. 'Q': 778,
  28287. 'R': 722,
  28288. 'S': 667,
  28289. 'T': 611,
  28290. 'U': 722,
  28291. 'V': 667,
  28292. 'W': 944,
  28293. 'X': 667,
  28294. 'Y': 667,
  28295. 'Z': 611,
  28296. 'bracketleft': 278,
  28297. 'backslash': 278,
  28298. 'bracketright': 278,
  28299. 'asciicircum': 469,
  28300. 'underscore': 556,
  28301. 'quoteleft': 222,
  28302. 'a': 556,
  28303. 'b': 556,
  28304. 'c': 500,
  28305. 'd': 556,
  28306. 'e': 556,
  28307. 'f': 278,
  28308. 'g': 556,
  28309. 'h': 556,
  28310. 'i': 222,
  28311. 'j': 222,
  28312. 'k': 500,
  28313. 'l': 222,
  28314. 'm': 833,
  28315. 'n': 556,
  28316. 'o': 556,
  28317. 'p': 556,
  28318. 'q': 556,
  28319. 'r': 333,
  28320. 's': 500,
  28321. 't': 278,
  28322. 'u': 556,
  28323. 'v': 500,
  28324. 'w': 722,
  28325. 'x': 500,
  28326. 'y': 500,
  28327. 'z': 500,
  28328. 'braceleft': 334,
  28329. 'bar': 260,
  28330. 'braceright': 334,
  28331. 'asciitilde': 584,
  28332. 'exclamdown': 333,
  28333. 'cent': 556,
  28334. 'sterling': 556,
  28335. 'fraction': 167,
  28336. 'yen': 556,
  28337. 'florin': 556,
  28338. 'section': 556,
  28339. 'currency': 556,
  28340. 'quotesingle': 191,
  28341. 'quotedblleft': 333,
  28342. 'guillemotleft': 556,
  28343. 'guilsinglleft': 333,
  28344. 'guilsinglright': 333,
  28345. 'fi': 500,
  28346. 'fl': 500,
  28347. 'endash': 556,
  28348. 'dagger': 556,
  28349. 'daggerdbl': 556,
  28350. 'periodcentered': 278,
  28351. 'paragraph': 537,
  28352. 'bullet': 350,
  28353. 'quotesinglbase': 222,
  28354. 'quotedblbase': 333,
  28355. 'quotedblright': 333,
  28356. 'guillemotright': 556,
  28357. 'ellipsis': 1000,
  28358. 'perthousand': 1000,
  28359. 'questiondown': 611,
  28360. 'grave': 333,
  28361. 'acute': 333,
  28362. 'circumflex': 333,
  28363. 'tilde': 333,
  28364. 'macron': 333,
  28365. 'breve': 333,
  28366. 'dotaccent': 333,
  28367. 'dieresis': 333,
  28368. 'ring': 333,
  28369. 'cedilla': 333,
  28370. 'hungarumlaut': 333,
  28371. 'ogonek': 333,
  28372. 'caron': 333,
  28373. 'emdash': 1000,
  28374. 'AE': 1000,
  28375. 'ordfeminine': 370,
  28376. 'Lslash': 556,
  28377. 'Oslash': 778,
  28378. 'OE': 1000,
  28379. 'ordmasculine': 365,
  28380. 'ae': 889,
  28381. 'dotlessi': 278,
  28382. 'lslash': 222,
  28383. 'oslash': 611,
  28384. 'oe': 944,
  28385. 'germandbls': 611,
  28386. 'Idieresis': 278,
  28387. 'eacute': 556,
  28388. 'abreve': 556,
  28389. 'uhungarumlaut': 556,
  28390. 'ecaron': 556,
  28391. 'Ydieresis': 667,
  28392. 'divide': 584,
  28393. 'Yacute': 667,
  28394. 'Acircumflex': 667,
  28395. 'aacute': 556,
  28396. 'Ucircumflex': 722,
  28397. 'yacute': 500,
  28398. 'scommaaccent': 500,
  28399. 'ecircumflex': 556,
  28400. 'Uring': 722,
  28401. 'Udieresis': 722,
  28402. 'aogonek': 556,
  28403. 'Uacute': 722,
  28404. 'uogonek': 556,
  28405. 'Edieresis': 667,
  28406. 'Dcroat': 722,
  28407. 'commaaccent': 250,
  28408. 'copyright': 737,
  28409. 'Emacron': 667,
  28410. 'ccaron': 500,
  28411. 'aring': 556,
  28412. 'Ncommaaccent': 722,
  28413. 'lacute': 222,
  28414. 'agrave': 556,
  28415. 'Tcommaaccent': 611,
  28416. 'Cacute': 722,
  28417. 'atilde': 556,
  28418. 'Edotaccent': 667,
  28419. 'scaron': 500,
  28420. 'scedilla': 500,
  28421. 'iacute': 278,
  28422. 'lozenge': 471,
  28423. 'Rcaron': 722,
  28424. 'Gcommaaccent': 778,
  28425. 'ucircumflex': 556,
  28426. 'acircumflex': 556,
  28427. 'Amacron': 667,
  28428. 'rcaron': 333,
  28429. 'ccedilla': 500,
  28430. 'Zdotaccent': 611,
  28431. 'Thorn': 667,
  28432. 'Omacron': 778,
  28433. 'Racute': 722,
  28434. 'Sacute': 667,
  28435. 'dcaron': 643,
  28436. 'Umacron': 722,
  28437. 'uring': 556,
  28438. 'threesuperior': 333,
  28439. 'Ograve': 778,
  28440. 'Agrave': 667,
  28441. 'Abreve': 667,
  28442. 'multiply': 584,
  28443. 'uacute': 556,
  28444. 'Tcaron': 611,
  28445. 'partialdiff': 476,
  28446. 'ydieresis': 500,
  28447. 'Nacute': 722,
  28448. 'icircumflex': 278,
  28449. 'Ecircumflex': 667,
  28450. 'adieresis': 556,
  28451. 'edieresis': 556,
  28452. 'cacute': 500,
  28453. 'nacute': 556,
  28454. 'umacron': 556,
  28455. 'Ncaron': 722,
  28456. 'Iacute': 278,
  28457. 'plusminus': 584,
  28458. 'brokenbar': 260,
  28459. 'registered': 737,
  28460. 'Gbreve': 778,
  28461. 'Idotaccent': 278,
  28462. 'summation': 600,
  28463. 'Egrave': 667,
  28464. 'racute': 333,
  28465. 'omacron': 556,
  28466. 'Zacute': 611,
  28467. 'Zcaron': 611,
  28468. 'greaterequal': 549,
  28469. 'Eth': 722,
  28470. 'Ccedilla': 722,
  28471. 'lcommaaccent': 222,
  28472. 'tcaron': 317,
  28473. 'eogonek': 556,
  28474. 'Uogonek': 722,
  28475. 'Aacute': 667,
  28476. 'Adieresis': 667,
  28477. 'egrave': 556,
  28478. 'zacute': 500,
  28479. 'iogonek': 222,
  28480. 'Oacute': 778,
  28481. 'oacute': 556,
  28482. 'amacron': 556,
  28483. 'sacute': 500,
  28484. 'idieresis': 278,
  28485. 'Ocircumflex': 778,
  28486. 'Ugrave': 722,
  28487. 'Delta': 612,
  28488. 'thorn': 556,
  28489. 'twosuperior': 333,
  28490. 'Odieresis': 778,
  28491. 'mu': 556,
  28492. 'igrave': 278,
  28493. 'ohungarumlaut': 556,
  28494. 'Eogonek': 667,
  28495. 'dcroat': 556,
  28496. 'threequarters': 834,
  28497. 'Scedilla': 667,
  28498. 'lcaron': 299,
  28499. 'Kcommaaccent': 667,
  28500. 'Lacute': 556,
  28501. 'trademark': 1000,
  28502. 'edotaccent': 556,
  28503. 'Igrave': 278,
  28504. 'Imacron': 278,
  28505. 'Lcaron': 556,
  28506. 'onehalf': 834,
  28507. 'lessequal': 549,
  28508. 'ocircumflex': 556,
  28509. 'ntilde': 556,
  28510. 'Uhungarumlaut': 722,
  28511. 'Eacute': 667,
  28512. 'emacron': 556,
  28513. 'gbreve': 556,
  28514. 'onequarter': 834,
  28515. 'Scaron': 667,
  28516. 'Scommaaccent': 667,
  28517. 'Ohungarumlaut': 778,
  28518. 'degree': 400,
  28519. 'ograve': 556,
  28520. 'Ccaron': 722,
  28521. 'ugrave': 556,
  28522. 'radical': 453,
  28523. 'Dcaron': 722,
  28524. 'rcommaaccent': 333,
  28525. 'Ntilde': 722,
  28526. 'otilde': 556,
  28527. 'Rcommaaccent': 722,
  28528. 'Lcommaaccent': 556,
  28529. 'Atilde': 667,
  28530. 'Aogonek': 667,
  28531. 'Aring': 667,
  28532. 'Otilde': 778,
  28533. 'zdotaccent': 500,
  28534. 'Ecaron': 667,
  28535. 'Iogonek': 278,
  28536. 'kcommaaccent': 500,
  28537. 'minus': 584,
  28538. 'Icircumflex': 278,
  28539. 'ncaron': 556,
  28540. 'tcommaaccent': 278,
  28541. 'logicalnot': 584,
  28542. 'odieresis': 556,
  28543. 'udieresis': 556,
  28544. 'notequal': 549,
  28545. 'gcommaaccent': 556,
  28546. 'eth': 556,
  28547. 'zcaron': 500,
  28548. 'ncommaaccent': 556,
  28549. 'onesuperior': 333,
  28550. 'imacron': 278,
  28551. 'Euro': 556
  28552. },
  28553. 'Symbol': {
  28554. 'space': 250,
  28555. 'exclam': 333,
  28556. 'universal': 713,
  28557. 'numbersign': 500,
  28558. 'existential': 549,
  28559. 'percent': 833,
  28560. 'ampersand': 778,
  28561. 'suchthat': 439,
  28562. 'parenleft': 333,
  28563. 'parenright': 333,
  28564. 'asteriskmath': 500,
  28565. 'plus': 549,
  28566. 'comma': 250,
  28567. 'minus': 549,
  28568. 'period': 250,
  28569. 'slash': 278,
  28570. 'zero': 500,
  28571. 'one': 500,
  28572. 'two': 500,
  28573. 'three': 500,
  28574. 'four': 500,
  28575. 'five': 500,
  28576. 'six': 500,
  28577. 'seven': 500,
  28578. 'eight': 500,
  28579. 'nine': 500,
  28580. 'colon': 278,
  28581. 'semicolon': 278,
  28582. 'less': 549,
  28583. 'equal': 549,
  28584. 'greater': 549,
  28585. 'question': 444,
  28586. 'congruent': 549,
  28587. 'Alpha': 722,
  28588. 'Beta': 667,
  28589. 'Chi': 722,
  28590. 'Delta': 612,
  28591. 'Epsilon': 611,
  28592. 'Phi': 763,
  28593. 'Gamma': 603,
  28594. 'Eta': 722,
  28595. 'Iota': 333,
  28596. 'theta1': 631,
  28597. 'Kappa': 722,
  28598. 'Lambda': 686,
  28599. 'Mu': 889,
  28600. 'Nu': 722,
  28601. 'Omicron': 722,
  28602. 'Pi': 768,
  28603. 'Theta': 741,
  28604. 'Rho': 556,
  28605. 'Sigma': 592,
  28606. 'Tau': 611,
  28607. 'Upsilon': 690,
  28608. 'sigma1': 439,
  28609. 'Omega': 768,
  28610. 'Xi': 645,
  28611. 'Psi': 795,
  28612. 'Zeta': 611,
  28613. 'bracketleft': 333,
  28614. 'therefore': 863,
  28615. 'bracketright': 333,
  28616. 'perpendicular': 658,
  28617. 'underscore': 500,
  28618. 'radicalex': 500,
  28619. 'alpha': 631,
  28620. 'beta': 549,
  28621. 'chi': 549,
  28622. 'delta': 494,
  28623. 'epsilon': 439,
  28624. 'phi': 521,
  28625. 'gamma': 411,
  28626. 'eta': 603,
  28627. 'iota': 329,
  28628. 'phi1': 603,
  28629. 'kappa': 549,
  28630. 'lambda': 549,
  28631. 'mu': 576,
  28632. 'nu': 521,
  28633. 'omicron': 549,
  28634. 'pi': 549,
  28635. 'theta': 521,
  28636. 'rho': 549,
  28637. 'sigma': 603,
  28638. 'tau': 439,
  28639. 'upsilon': 576,
  28640. 'omega1': 713,
  28641. 'omega': 686,
  28642. 'xi': 493,
  28643. 'psi': 686,
  28644. 'zeta': 494,
  28645. 'braceleft': 480,
  28646. 'bar': 200,
  28647. 'braceright': 480,
  28648. 'similar': 549,
  28649. 'Euro': 750,
  28650. 'Upsilon1': 620,
  28651. 'minute': 247,
  28652. 'lessequal': 549,
  28653. 'fraction': 167,
  28654. 'infinity': 713,
  28655. 'florin': 500,
  28656. 'club': 753,
  28657. 'diamond': 753,
  28658. 'heart': 753,
  28659. 'spade': 753,
  28660. 'arrowboth': 1042,
  28661. 'arrowleft': 987,
  28662. 'arrowup': 603,
  28663. 'arrowright': 987,
  28664. 'arrowdown': 603,
  28665. 'degree': 400,
  28666. 'plusminus': 549,
  28667. 'second': 411,
  28668. 'greaterequal': 549,
  28669. 'multiply': 549,
  28670. 'proportional': 713,
  28671. 'partialdiff': 494,
  28672. 'bullet': 460,
  28673. 'divide': 549,
  28674. 'notequal': 549,
  28675. 'equivalence': 549,
  28676. 'approxequal': 549,
  28677. 'ellipsis': 1000,
  28678. 'arrowvertex': 603,
  28679. 'arrowhorizex': 1000,
  28680. 'carriagereturn': 658,
  28681. 'aleph': 823,
  28682. 'Ifraktur': 686,
  28683. 'Rfraktur': 795,
  28684. 'weierstrass': 987,
  28685. 'circlemultiply': 768,
  28686. 'circleplus': 768,
  28687. 'emptyset': 823,
  28688. 'intersection': 768,
  28689. 'union': 768,
  28690. 'propersuperset': 713,
  28691. 'reflexsuperset': 713,
  28692. 'notsubset': 713,
  28693. 'propersubset': 713,
  28694. 'reflexsubset': 713,
  28695. 'element': 713,
  28696. 'notelement': 713,
  28697. 'angle': 768,
  28698. 'gradient': 713,
  28699. 'registerserif': 790,
  28700. 'copyrightserif': 790,
  28701. 'trademarkserif': 890,
  28702. 'product': 823,
  28703. 'radical': 549,
  28704. 'dotmath': 250,
  28705. 'logicalnot': 713,
  28706. 'logicaland': 603,
  28707. 'logicalor': 603,
  28708. 'arrowdblboth': 1042,
  28709. 'arrowdblleft': 987,
  28710. 'arrowdblup': 603,
  28711. 'arrowdblright': 987,
  28712. 'arrowdbldown': 603,
  28713. 'lozenge': 494,
  28714. 'angleleft': 329,
  28715. 'registersans': 790,
  28716. 'copyrightsans': 790,
  28717. 'trademarksans': 786,
  28718. 'summation': 713,
  28719. 'parenlefttp': 384,
  28720. 'parenleftex': 384,
  28721. 'parenleftbt': 384,
  28722. 'bracketlefttp': 384,
  28723. 'bracketleftex': 384,
  28724. 'bracketleftbt': 384,
  28725. 'bracelefttp': 494,
  28726. 'braceleftmid': 494,
  28727. 'braceleftbt': 494,
  28728. 'braceex': 494,
  28729. 'angleright': 329,
  28730. 'integral': 274,
  28731. 'integraltp': 686,
  28732. 'integralex': 686,
  28733. 'integralbt': 686,
  28734. 'parenrighttp': 384,
  28735. 'parenrightex': 384,
  28736. 'parenrightbt': 384,
  28737. 'bracketrighttp': 384,
  28738. 'bracketrightex': 384,
  28739. 'bracketrightbt': 384,
  28740. 'bracerighttp': 494,
  28741. 'bracerightmid': 494,
  28742. 'bracerightbt': 494,
  28743. 'apple': 790
  28744. },
  28745. 'Times-Roman': {
  28746. 'space': 250,
  28747. 'exclam': 333,
  28748. 'quotedbl': 408,
  28749. 'numbersign': 500,
  28750. 'dollar': 500,
  28751. 'percent': 833,
  28752. 'ampersand': 778,
  28753. 'quoteright': 333,
  28754. 'parenleft': 333,
  28755. 'parenright': 333,
  28756. 'asterisk': 500,
  28757. 'plus': 564,
  28758. 'comma': 250,
  28759. 'hyphen': 333,
  28760. 'period': 250,
  28761. 'slash': 278,
  28762. 'zero': 500,
  28763. 'one': 500,
  28764. 'two': 500,
  28765. 'three': 500,
  28766. 'four': 500,
  28767. 'five': 500,
  28768. 'six': 500,
  28769. 'seven': 500,
  28770. 'eight': 500,
  28771. 'nine': 500,
  28772. 'colon': 278,
  28773. 'semicolon': 278,
  28774. 'less': 564,
  28775. 'equal': 564,
  28776. 'greater': 564,
  28777. 'question': 444,
  28778. 'at': 921,
  28779. 'A': 722,
  28780. 'B': 667,
  28781. 'C': 667,
  28782. 'D': 722,
  28783. 'E': 611,
  28784. 'F': 556,
  28785. 'G': 722,
  28786. 'H': 722,
  28787. 'I': 333,
  28788. 'J': 389,
  28789. 'K': 722,
  28790. 'L': 611,
  28791. 'M': 889,
  28792. 'N': 722,
  28793. 'O': 722,
  28794. 'P': 556,
  28795. 'Q': 722,
  28796. 'R': 667,
  28797. 'S': 556,
  28798. 'T': 611,
  28799. 'U': 722,
  28800. 'V': 722,
  28801. 'W': 944,
  28802. 'X': 722,
  28803. 'Y': 722,
  28804. 'Z': 611,
  28805. 'bracketleft': 333,
  28806. 'backslash': 278,
  28807. 'bracketright': 333,
  28808. 'asciicircum': 469,
  28809. 'underscore': 500,
  28810. 'quoteleft': 333,
  28811. 'a': 444,
  28812. 'b': 500,
  28813. 'c': 444,
  28814. 'd': 500,
  28815. 'e': 444,
  28816. 'f': 333,
  28817. 'g': 500,
  28818. 'h': 500,
  28819. 'i': 278,
  28820. 'j': 278,
  28821. 'k': 500,
  28822. 'l': 278,
  28823. 'm': 778,
  28824. 'n': 500,
  28825. 'o': 500,
  28826. 'p': 500,
  28827. 'q': 500,
  28828. 'r': 333,
  28829. 's': 389,
  28830. 't': 278,
  28831. 'u': 500,
  28832. 'v': 500,
  28833. 'w': 722,
  28834. 'x': 500,
  28835. 'y': 500,
  28836. 'z': 444,
  28837. 'braceleft': 480,
  28838. 'bar': 200,
  28839. 'braceright': 480,
  28840. 'asciitilde': 541,
  28841. 'exclamdown': 333,
  28842. 'cent': 500,
  28843. 'sterling': 500,
  28844. 'fraction': 167,
  28845. 'yen': 500,
  28846. 'florin': 500,
  28847. 'section': 500,
  28848. 'currency': 500,
  28849. 'quotesingle': 180,
  28850. 'quotedblleft': 444,
  28851. 'guillemotleft': 500,
  28852. 'guilsinglleft': 333,
  28853. 'guilsinglright': 333,
  28854. 'fi': 556,
  28855. 'fl': 556,
  28856. 'endash': 500,
  28857. 'dagger': 500,
  28858. 'daggerdbl': 500,
  28859. 'periodcentered': 250,
  28860. 'paragraph': 453,
  28861. 'bullet': 350,
  28862. 'quotesinglbase': 333,
  28863. 'quotedblbase': 444,
  28864. 'quotedblright': 444,
  28865. 'guillemotright': 500,
  28866. 'ellipsis': 1000,
  28867. 'perthousand': 1000,
  28868. 'questiondown': 444,
  28869. 'grave': 333,
  28870. 'acute': 333,
  28871. 'circumflex': 333,
  28872. 'tilde': 333,
  28873. 'macron': 333,
  28874. 'breve': 333,
  28875. 'dotaccent': 333,
  28876. 'dieresis': 333,
  28877. 'ring': 333,
  28878. 'cedilla': 333,
  28879. 'hungarumlaut': 333,
  28880. 'ogonek': 333,
  28881. 'caron': 333,
  28882. 'emdash': 1000,
  28883. 'AE': 889,
  28884. 'ordfeminine': 276,
  28885. 'Lslash': 611,
  28886. 'Oslash': 722,
  28887. 'OE': 889,
  28888. 'ordmasculine': 310,
  28889. 'ae': 667,
  28890. 'dotlessi': 278,
  28891. 'lslash': 278,
  28892. 'oslash': 500,
  28893. 'oe': 722,
  28894. 'germandbls': 500,
  28895. 'Idieresis': 333,
  28896. 'eacute': 444,
  28897. 'abreve': 444,
  28898. 'uhungarumlaut': 500,
  28899. 'ecaron': 444,
  28900. 'Ydieresis': 722,
  28901. 'divide': 564,
  28902. 'Yacute': 722,
  28903. 'Acircumflex': 722,
  28904. 'aacute': 444,
  28905. 'Ucircumflex': 722,
  28906. 'yacute': 500,
  28907. 'scommaaccent': 389,
  28908. 'ecircumflex': 444,
  28909. 'Uring': 722,
  28910. 'Udieresis': 722,
  28911. 'aogonek': 444,
  28912. 'Uacute': 722,
  28913. 'uogonek': 500,
  28914. 'Edieresis': 611,
  28915. 'Dcroat': 722,
  28916. 'commaaccent': 250,
  28917. 'copyright': 760,
  28918. 'Emacron': 611,
  28919. 'ccaron': 444,
  28920. 'aring': 444,
  28921. 'Ncommaaccent': 722,
  28922. 'lacute': 278,
  28923. 'agrave': 444,
  28924. 'Tcommaaccent': 611,
  28925. 'Cacute': 667,
  28926. 'atilde': 444,
  28927. 'Edotaccent': 611,
  28928. 'scaron': 389,
  28929. 'scedilla': 389,
  28930. 'iacute': 278,
  28931. 'lozenge': 471,
  28932. 'Rcaron': 667,
  28933. 'Gcommaaccent': 722,
  28934. 'ucircumflex': 500,
  28935. 'acircumflex': 444,
  28936. 'Amacron': 722,
  28937. 'rcaron': 333,
  28938. 'ccedilla': 444,
  28939. 'Zdotaccent': 611,
  28940. 'Thorn': 556,
  28941. 'Omacron': 722,
  28942. 'Racute': 667,
  28943. 'Sacute': 556,
  28944. 'dcaron': 588,
  28945. 'Umacron': 722,
  28946. 'uring': 500,
  28947. 'threesuperior': 300,
  28948. 'Ograve': 722,
  28949. 'Agrave': 722,
  28950. 'Abreve': 722,
  28951. 'multiply': 564,
  28952. 'uacute': 500,
  28953. 'Tcaron': 611,
  28954. 'partialdiff': 476,
  28955. 'ydieresis': 500,
  28956. 'Nacute': 722,
  28957. 'icircumflex': 278,
  28958. 'Ecircumflex': 611,
  28959. 'adieresis': 444,
  28960. 'edieresis': 444,
  28961. 'cacute': 444,
  28962. 'nacute': 500,
  28963. 'umacron': 500,
  28964. 'Ncaron': 722,
  28965. 'Iacute': 333,
  28966. 'plusminus': 564,
  28967. 'brokenbar': 200,
  28968. 'registered': 760,
  28969. 'Gbreve': 722,
  28970. 'Idotaccent': 333,
  28971. 'summation': 600,
  28972. 'Egrave': 611,
  28973. 'racute': 333,
  28974. 'omacron': 500,
  28975. 'Zacute': 611,
  28976. 'Zcaron': 611,
  28977. 'greaterequal': 549,
  28978. 'Eth': 722,
  28979. 'Ccedilla': 667,
  28980. 'lcommaaccent': 278,
  28981. 'tcaron': 326,
  28982. 'eogonek': 444,
  28983. 'Uogonek': 722,
  28984. 'Aacute': 722,
  28985. 'Adieresis': 722,
  28986. 'egrave': 444,
  28987. 'zacute': 444,
  28988. 'iogonek': 278,
  28989. 'Oacute': 722,
  28990. 'oacute': 500,
  28991. 'amacron': 444,
  28992. 'sacute': 389,
  28993. 'idieresis': 278,
  28994. 'Ocircumflex': 722,
  28995. 'Ugrave': 722,
  28996. 'Delta': 612,
  28997. 'thorn': 500,
  28998. 'twosuperior': 300,
  28999. 'Odieresis': 722,
  29000. 'mu': 500,
  29001. 'igrave': 278,
  29002. 'ohungarumlaut': 500,
  29003. 'Eogonek': 611,
  29004. 'dcroat': 500,
  29005. 'threequarters': 750,
  29006. 'Scedilla': 556,
  29007. 'lcaron': 344,
  29008. 'Kcommaaccent': 722,
  29009. 'Lacute': 611,
  29010. 'trademark': 980,
  29011. 'edotaccent': 444,
  29012. 'Igrave': 333,
  29013. 'Imacron': 333,
  29014. 'Lcaron': 611,
  29015. 'onehalf': 750,
  29016. 'lessequal': 549,
  29017. 'ocircumflex': 500,
  29018. 'ntilde': 500,
  29019. 'Uhungarumlaut': 722,
  29020. 'Eacute': 611,
  29021. 'emacron': 444,
  29022. 'gbreve': 500,
  29023. 'onequarter': 750,
  29024. 'Scaron': 556,
  29025. 'Scommaaccent': 556,
  29026. 'Ohungarumlaut': 722,
  29027. 'degree': 400,
  29028. 'ograve': 500,
  29029. 'Ccaron': 667,
  29030. 'ugrave': 500,
  29031. 'radical': 453,
  29032. 'Dcaron': 722,
  29033. 'rcommaaccent': 333,
  29034. 'Ntilde': 722,
  29035. 'otilde': 500,
  29036. 'Rcommaaccent': 667,
  29037. 'Lcommaaccent': 611,
  29038. 'Atilde': 722,
  29039. 'Aogonek': 722,
  29040. 'Aring': 722,
  29041. 'Otilde': 722,
  29042. 'zdotaccent': 444,
  29043. 'Ecaron': 611,
  29044. 'Iogonek': 333,
  29045. 'kcommaaccent': 500,
  29046. 'minus': 564,
  29047. 'Icircumflex': 333,
  29048. 'ncaron': 500,
  29049. 'tcommaaccent': 278,
  29050. 'logicalnot': 564,
  29051. 'odieresis': 500,
  29052. 'udieresis': 500,
  29053. 'notequal': 549,
  29054. 'gcommaaccent': 500,
  29055. 'eth': 500,
  29056. 'zcaron': 444,
  29057. 'ncommaaccent': 500,
  29058. 'onesuperior': 300,
  29059. 'imacron': 278,
  29060. 'Euro': 500
  29061. },
  29062. 'Times-Bold': {
  29063. 'space': 250,
  29064. 'exclam': 333,
  29065. 'quotedbl': 555,
  29066. 'numbersign': 500,
  29067. 'dollar': 500,
  29068. 'percent': 1000,
  29069. 'ampersand': 833,
  29070. 'quoteright': 333,
  29071. 'parenleft': 333,
  29072. 'parenright': 333,
  29073. 'asterisk': 500,
  29074. 'plus': 570,
  29075. 'comma': 250,
  29076. 'hyphen': 333,
  29077. 'period': 250,
  29078. 'slash': 278,
  29079. 'zero': 500,
  29080. 'one': 500,
  29081. 'two': 500,
  29082. 'three': 500,
  29083. 'four': 500,
  29084. 'five': 500,
  29085. 'six': 500,
  29086. 'seven': 500,
  29087. 'eight': 500,
  29088. 'nine': 500,
  29089. 'colon': 333,
  29090. 'semicolon': 333,
  29091. 'less': 570,
  29092. 'equal': 570,
  29093. 'greater': 570,
  29094. 'question': 500,
  29095. 'at': 930,
  29096. 'A': 722,
  29097. 'B': 667,
  29098. 'C': 722,
  29099. 'D': 722,
  29100. 'E': 667,
  29101. 'F': 611,
  29102. 'G': 778,
  29103. 'H': 778,
  29104. 'I': 389,
  29105. 'J': 500,
  29106. 'K': 778,
  29107. 'L': 667,
  29108. 'M': 944,
  29109. 'N': 722,
  29110. 'O': 778,
  29111. 'P': 611,
  29112. 'Q': 778,
  29113. 'R': 722,
  29114. 'S': 556,
  29115. 'T': 667,
  29116. 'U': 722,
  29117. 'V': 722,
  29118. 'W': 1000,
  29119. 'X': 722,
  29120. 'Y': 722,
  29121. 'Z': 667,
  29122. 'bracketleft': 333,
  29123. 'backslash': 278,
  29124. 'bracketright': 333,
  29125. 'asciicircum': 581,
  29126. 'underscore': 500,
  29127. 'quoteleft': 333,
  29128. 'a': 500,
  29129. 'b': 556,
  29130. 'c': 444,
  29131. 'd': 556,
  29132. 'e': 444,
  29133. 'f': 333,
  29134. 'g': 500,
  29135. 'h': 556,
  29136. 'i': 278,
  29137. 'j': 333,
  29138. 'k': 556,
  29139. 'l': 278,
  29140. 'm': 833,
  29141. 'n': 556,
  29142. 'o': 500,
  29143. 'p': 556,
  29144. 'q': 556,
  29145. 'r': 444,
  29146. 's': 389,
  29147. 't': 333,
  29148. 'u': 556,
  29149. 'v': 500,
  29150. 'w': 722,
  29151. 'x': 500,
  29152. 'y': 500,
  29153. 'z': 444,
  29154. 'braceleft': 394,
  29155. 'bar': 220,
  29156. 'braceright': 394,
  29157. 'asciitilde': 520,
  29158. 'exclamdown': 333,
  29159. 'cent': 500,
  29160. 'sterling': 500,
  29161. 'fraction': 167,
  29162. 'yen': 500,
  29163. 'florin': 500,
  29164. 'section': 500,
  29165. 'currency': 500,
  29166. 'quotesingle': 278,
  29167. 'quotedblleft': 500,
  29168. 'guillemotleft': 500,
  29169. 'guilsinglleft': 333,
  29170. 'guilsinglright': 333,
  29171. 'fi': 556,
  29172. 'fl': 556,
  29173. 'endash': 500,
  29174. 'dagger': 500,
  29175. 'daggerdbl': 500,
  29176. 'periodcentered': 250,
  29177. 'paragraph': 540,
  29178. 'bullet': 350,
  29179. 'quotesinglbase': 333,
  29180. 'quotedblbase': 500,
  29181. 'quotedblright': 500,
  29182. 'guillemotright': 500,
  29183. 'ellipsis': 1000,
  29184. 'perthousand': 1000,
  29185. 'questiondown': 500,
  29186. 'grave': 333,
  29187. 'acute': 333,
  29188. 'circumflex': 333,
  29189. 'tilde': 333,
  29190. 'macron': 333,
  29191. 'breve': 333,
  29192. 'dotaccent': 333,
  29193. 'dieresis': 333,
  29194. 'ring': 333,
  29195. 'cedilla': 333,
  29196. 'hungarumlaut': 333,
  29197. 'ogonek': 333,
  29198. 'caron': 333,
  29199. 'emdash': 1000,
  29200. 'AE': 1000,
  29201. 'ordfeminine': 300,
  29202. 'Lslash': 667,
  29203. 'Oslash': 778,
  29204. 'OE': 1000,
  29205. 'ordmasculine': 330,
  29206. 'ae': 722,
  29207. 'dotlessi': 278,
  29208. 'lslash': 278,
  29209. 'oslash': 500,
  29210. 'oe': 722,
  29211. 'germandbls': 556,
  29212. 'Idieresis': 389,
  29213. 'eacute': 444,
  29214. 'abreve': 500,
  29215. 'uhungarumlaut': 556,
  29216. 'ecaron': 444,
  29217. 'Ydieresis': 722,
  29218. 'divide': 570,
  29219. 'Yacute': 722,
  29220. 'Acircumflex': 722,
  29221. 'aacute': 500,
  29222. 'Ucircumflex': 722,
  29223. 'yacute': 500,
  29224. 'scommaaccent': 389,
  29225. 'ecircumflex': 444,
  29226. 'Uring': 722,
  29227. 'Udieresis': 722,
  29228. 'aogonek': 500,
  29229. 'Uacute': 722,
  29230. 'uogonek': 556,
  29231. 'Edieresis': 667,
  29232. 'Dcroat': 722,
  29233. 'commaaccent': 250,
  29234. 'copyright': 747,
  29235. 'Emacron': 667,
  29236. 'ccaron': 444,
  29237. 'aring': 500,
  29238. 'Ncommaaccent': 722,
  29239. 'lacute': 278,
  29240. 'agrave': 500,
  29241. 'Tcommaaccent': 667,
  29242. 'Cacute': 722,
  29243. 'atilde': 500,
  29244. 'Edotaccent': 667,
  29245. 'scaron': 389,
  29246. 'scedilla': 389,
  29247. 'iacute': 278,
  29248. 'lozenge': 494,
  29249. 'Rcaron': 722,
  29250. 'Gcommaaccent': 778,
  29251. 'ucircumflex': 556,
  29252. 'acircumflex': 500,
  29253. 'Amacron': 722,
  29254. 'rcaron': 444,
  29255. 'ccedilla': 444,
  29256. 'Zdotaccent': 667,
  29257. 'Thorn': 611,
  29258. 'Omacron': 778,
  29259. 'Racute': 722,
  29260. 'Sacute': 556,
  29261. 'dcaron': 672,
  29262. 'Umacron': 722,
  29263. 'uring': 556,
  29264. 'threesuperior': 300,
  29265. 'Ograve': 778,
  29266. 'Agrave': 722,
  29267. 'Abreve': 722,
  29268. 'multiply': 570,
  29269. 'uacute': 556,
  29270. 'Tcaron': 667,
  29271. 'partialdiff': 494,
  29272. 'ydieresis': 500,
  29273. 'Nacute': 722,
  29274. 'icircumflex': 278,
  29275. 'Ecircumflex': 667,
  29276. 'adieresis': 500,
  29277. 'edieresis': 444,
  29278. 'cacute': 444,
  29279. 'nacute': 556,
  29280. 'umacron': 556,
  29281. 'Ncaron': 722,
  29282. 'Iacute': 389,
  29283. 'plusminus': 570,
  29284. 'brokenbar': 220,
  29285. 'registered': 747,
  29286. 'Gbreve': 778,
  29287. 'Idotaccent': 389,
  29288. 'summation': 600,
  29289. 'Egrave': 667,
  29290. 'racute': 444,
  29291. 'omacron': 500,
  29292. 'Zacute': 667,
  29293. 'Zcaron': 667,
  29294. 'greaterequal': 549,
  29295. 'Eth': 722,
  29296. 'Ccedilla': 722,
  29297. 'lcommaaccent': 278,
  29298. 'tcaron': 416,
  29299. 'eogonek': 444,
  29300. 'Uogonek': 722,
  29301. 'Aacute': 722,
  29302. 'Adieresis': 722,
  29303. 'egrave': 444,
  29304. 'zacute': 444,
  29305. 'iogonek': 278,
  29306. 'Oacute': 778,
  29307. 'oacute': 500,
  29308. 'amacron': 500,
  29309. 'sacute': 389,
  29310. 'idieresis': 278,
  29311. 'Ocircumflex': 778,
  29312. 'Ugrave': 722,
  29313. 'Delta': 612,
  29314. 'thorn': 556,
  29315. 'twosuperior': 300,
  29316. 'Odieresis': 778,
  29317. 'mu': 556,
  29318. 'igrave': 278,
  29319. 'ohungarumlaut': 500,
  29320. 'Eogonek': 667,
  29321. 'dcroat': 556,
  29322. 'threequarters': 750,
  29323. 'Scedilla': 556,
  29324. 'lcaron': 394,
  29325. 'Kcommaaccent': 778,
  29326. 'Lacute': 667,
  29327. 'trademark': 1000,
  29328. 'edotaccent': 444,
  29329. 'Igrave': 389,
  29330. 'Imacron': 389,
  29331. 'Lcaron': 667,
  29332. 'onehalf': 750,
  29333. 'lessequal': 549,
  29334. 'ocircumflex': 500,
  29335. 'ntilde': 556,
  29336. 'Uhungarumlaut': 722,
  29337. 'Eacute': 667,
  29338. 'emacron': 444,
  29339. 'gbreve': 500,
  29340. 'onequarter': 750,
  29341. 'Scaron': 556,
  29342. 'Scommaaccent': 556,
  29343. 'Ohungarumlaut': 778,
  29344. 'degree': 400,
  29345. 'ograve': 500,
  29346. 'Ccaron': 722,
  29347. 'ugrave': 556,
  29348. 'radical': 549,
  29349. 'Dcaron': 722,
  29350. 'rcommaaccent': 444,
  29351. 'Ntilde': 722,
  29352. 'otilde': 500,
  29353. 'Rcommaaccent': 722,
  29354. 'Lcommaaccent': 667,
  29355. 'Atilde': 722,
  29356. 'Aogonek': 722,
  29357. 'Aring': 722,
  29358. 'Otilde': 778,
  29359. 'zdotaccent': 444,
  29360. 'Ecaron': 667,
  29361. 'Iogonek': 389,
  29362. 'kcommaaccent': 556,
  29363. 'minus': 570,
  29364. 'Icircumflex': 389,
  29365. 'ncaron': 556,
  29366. 'tcommaaccent': 333,
  29367. 'logicalnot': 570,
  29368. 'odieresis': 500,
  29369. 'udieresis': 556,
  29370. 'notequal': 549,
  29371. 'gcommaaccent': 500,
  29372. 'eth': 500,
  29373. 'zcaron': 444,
  29374. 'ncommaaccent': 556,
  29375. 'onesuperior': 300,
  29376. 'imacron': 278,
  29377. 'Euro': 500
  29378. },
  29379. 'Times-BoldItalic': {
  29380. 'space': 250,
  29381. 'exclam': 389,
  29382. 'quotedbl': 555,
  29383. 'numbersign': 500,
  29384. 'dollar': 500,
  29385. 'percent': 833,
  29386. 'ampersand': 778,
  29387. 'quoteright': 333,
  29388. 'parenleft': 333,
  29389. 'parenright': 333,
  29390. 'asterisk': 500,
  29391. 'plus': 570,
  29392. 'comma': 250,
  29393. 'hyphen': 333,
  29394. 'period': 250,
  29395. 'slash': 278,
  29396. 'zero': 500,
  29397. 'one': 500,
  29398. 'two': 500,
  29399. 'three': 500,
  29400. 'four': 500,
  29401. 'five': 500,
  29402. 'six': 500,
  29403. 'seven': 500,
  29404. 'eight': 500,
  29405. 'nine': 500,
  29406. 'colon': 333,
  29407. 'semicolon': 333,
  29408. 'less': 570,
  29409. 'equal': 570,
  29410. 'greater': 570,
  29411. 'question': 500,
  29412. 'at': 832,
  29413. 'A': 667,
  29414. 'B': 667,
  29415. 'C': 667,
  29416. 'D': 722,
  29417. 'E': 667,
  29418. 'F': 667,
  29419. 'G': 722,
  29420. 'H': 778,
  29421. 'I': 389,
  29422. 'J': 500,
  29423. 'K': 667,
  29424. 'L': 611,
  29425. 'M': 889,
  29426. 'N': 722,
  29427. 'O': 722,
  29428. 'P': 611,
  29429. 'Q': 722,
  29430. 'R': 667,
  29431. 'S': 556,
  29432. 'T': 611,
  29433. 'U': 722,
  29434. 'V': 667,
  29435. 'W': 889,
  29436. 'X': 667,
  29437. 'Y': 611,
  29438. 'Z': 611,
  29439. 'bracketleft': 333,
  29440. 'backslash': 278,
  29441. 'bracketright': 333,
  29442. 'asciicircum': 570,
  29443. 'underscore': 500,
  29444. 'quoteleft': 333,
  29445. 'a': 500,
  29446. 'b': 500,
  29447. 'c': 444,
  29448. 'd': 500,
  29449. 'e': 444,
  29450. 'f': 333,
  29451. 'g': 500,
  29452. 'h': 556,
  29453. 'i': 278,
  29454. 'j': 278,
  29455. 'k': 500,
  29456. 'l': 278,
  29457. 'm': 778,
  29458. 'n': 556,
  29459. 'o': 500,
  29460. 'p': 500,
  29461. 'q': 500,
  29462. 'r': 389,
  29463. 's': 389,
  29464. 't': 278,
  29465. 'u': 556,
  29466. 'v': 444,
  29467. 'w': 667,
  29468. 'x': 500,
  29469. 'y': 444,
  29470. 'z': 389,
  29471. 'braceleft': 348,
  29472. 'bar': 220,
  29473. 'braceright': 348,
  29474. 'asciitilde': 570,
  29475. 'exclamdown': 389,
  29476. 'cent': 500,
  29477. 'sterling': 500,
  29478. 'fraction': 167,
  29479. 'yen': 500,
  29480. 'florin': 500,
  29481. 'section': 500,
  29482. 'currency': 500,
  29483. 'quotesingle': 278,
  29484. 'quotedblleft': 500,
  29485. 'guillemotleft': 500,
  29486. 'guilsinglleft': 333,
  29487. 'guilsinglright': 333,
  29488. 'fi': 556,
  29489. 'fl': 556,
  29490. 'endash': 500,
  29491. 'dagger': 500,
  29492. 'daggerdbl': 500,
  29493. 'periodcentered': 250,
  29494. 'paragraph': 500,
  29495. 'bullet': 350,
  29496. 'quotesinglbase': 333,
  29497. 'quotedblbase': 500,
  29498. 'quotedblright': 500,
  29499. 'guillemotright': 500,
  29500. 'ellipsis': 1000,
  29501. 'perthousand': 1000,
  29502. 'questiondown': 500,
  29503. 'grave': 333,
  29504. 'acute': 333,
  29505. 'circumflex': 333,
  29506. 'tilde': 333,
  29507. 'macron': 333,
  29508. 'breve': 333,
  29509. 'dotaccent': 333,
  29510. 'dieresis': 333,
  29511. 'ring': 333,
  29512. 'cedilla': 333,
  29513. 'hungarumlaut': 333,
  29514. 'ogonek': 333,
  29515. 'caron': 333,
  29516. 'emdash': 1000,
  29517. 'AE': 944,
  29518. 'ordfeminine': 266,
  29519. 'Lslash': 611,
  29520. 'Oslash': 722,
  29521. 'OE': 944,
  29522. 'ordmasculine': 300,
  29523. 'ae': 722,
  29524. 'dotlessi': 278,
  29525. 'lslash': 278,
  29526. 'oslash': 500,
  29527. 'oe': 722,
  29528. 'germandbls': 500,
  29529. 'Idieresis': 389,
  29530. 'eacute': 444,
  29531. 'abreve': 500,
  29532. 'uhungarumlaut': 556,
  29533. 'ecaron': 444,
  29534. 'Ydieresis': 611,
  29535. 'divide': 570,
  29536. 'Yacute': 611,
  29537. 'Acircumflex': 667,
  29538. 'aacute': 500,
  29539. 'Ucircumflex': 722,
  29540. 'yacute': 444,
  29541. 'scommaaccent': 389,
  29542. 'ecircumflex': 444,
  29543. 'Uring': 722,
  29544. 'Udieresis': 722,
  29545. 'aogonek': 500,
  29546. 'Uacute': 722,
  29547. 'uogonek': 556,
  29548. 'Edieresis': 667,
  29549. 'Dcroat': 722,
  29550. 'commaaccent': 250,
  29551. 'copyright': 747,
  29552. 'Emacron': 667,
  29553. 'ccaron': 444,
  29554. 'aring': 500,
  29555. 'Ncommaaccent': 722,
  29556. 'lacute': 278,
  29557. 'agrave': 500,
  29558. 'Tcommaaccent': 611,
  29559. 'Cacute': 667,
  29560. 'atilde': 500,
  29561. 'Edotaccent': 667,
  29562. 'scaron': 389,
  29563. 'scedilla': 389,
  29564. 'iacute': 278,
  29565. 'lozenge': 494,
  29566. 'Rcaron': 667,
  29567. 'Gcommaaccent': 722,
  29568. 'ucircumflex': 556,
  29569. 'acircumflex': 500,
  29570. 'Amacron': 667,
  29571. 'rcaron': 389,
  29572. 'ccedilla': 444,
  29573. 'Zdotaccent': 611,
  29574. 'Thorn': 611,
  29575. 'Omacron': 722,
  29576. 'Racute': 667,
  29577. 'Sacute': 556,
  29578. 'dcaron': 608,
  29579. 'Umacron': 722,
  29580. 'uring': 556,
  29581. 'threesuperior': 300,
  29582. 'Ograve': 722,
  29583. 'Agrave': 667,
  29584. 'Abreve': 667,
  29585. 'multiply': 570,
  29586. 'uacute': 556,
  29587. 'Tcaron': 611,
  29588. 'partialdiff': 494,
  29589. 'ydieresis': 444,
  29590. 'Nacute': 722,
  29591. 'icircumflex': 278,
  29592. 'Ecircumflex': 667,
  29593. 'adieresis': 500,
  29594. 'edieresis': 444,
  29595. 'cacute': 444,
  29596. 'nacute': 556,
  29597. 'umacron': 556,
  29598. 'Ncaron': 722,
  29599. 'Iacute': 389,
  29600. 'plusminus': 570,
  29601. 'brokenbar': 220,
  29602. 'registered': 747,
  29603. 'Gbreve': 722,
  29604. 'Idotaccent': 389,
  29605. 'summation': 600,
  29606. 'Egrave': 667,
  29607. 'racute': 389,
  29608. 'omacron': 500,
  29609. 'Zacute': 611,
  29610. 'Zcaron': 611,
  29611. 'greaterequal': 549,
  29612. 'Eth': 722,
  29613. 'Ccedilla': 667,
  29614. 'lcommaaccent': 278,
  29615. 'tcaron': 366,
  29616. 'eogonek': 444,
  29617. 'Uogonek': 722,
  29618. 'Aacute': 667,
  29619. 'Adieresis': 667,
  29620. 'egrave': 444,
  29621. 'zacute': 389,
  29622. 'iogonek': 278,
  29623. 'Oacute': 722,
  29624. 'oacute': 500,
  29625. 'amacron': 500,
  29626. 'sacute': 389,
  29627. 'idieresis': 278,
  29628. 'Ocircumflex': 722,
  29629. 'Ugrave': 722,
  29630. 'Delta': 612,
  29631. 'thorn': 500,
  29632. 'twosuperior': 300,
  29633. 'Odieresis': 722,
  29634. 'mu': 576,
  29635. 'igrave': 278,
  29636. 'ohungarumlaut': 500,
  29637. 'Eogonek': 667,
  29638. 'dcroat': 500,
  29639. 'threequarters': 750,
  29640. 'Scedilla': 556,
  29641. 'lcaron': 382,
  29642. 'Kcommaaccent': 667,
  29643. 'Lacute': 611,
  29644. 'trademark': 1000,
  29645. 'edotaccent': 444,
  29646. 'Igrave': 389,
  29647. 'Imacron': 389,
  29648. 'Lcaron': 611,
  29649. 'onehalf': 750,
  29650. 'lessequal': 549,
  29651. 'ocircumflex': 500,
  29652. 'ntilde': 556,
  29653. 'Uhungarumlaut': 722,
  29654. 'Eacute': 667,
  29655. 'emacron': 444,
  29656. 'gbreve': 500,
  29657. 'onequarter': 750,
  29658. 'Scaron': 556,
  29659. 'Scommaaccent': 556,
  29660. 'Ohungarumlaut': 722,
  29661. 'degree': 400,
  29662. 'ograve': 500,
  29663. 'Ccaron': 667,
  29664. 'ugrave': 556,
  29665. 'radical': 549,
  29666. 'Dcaron': 722,
  29667. 'rcommaaccent': 389,
  29668. 'Ntilde': 722,
  29669. 'otilde': 500,
  29670. 'Rcommaaccent': 667,
  29671. 'Lcommaaccent': 611,
  29672. 'Atilde': 667,
  29673. 'Aogonek': 667,
  29674. 'Aring': 667,
  29675. 'Otilde': 722,
  29676. 'zdotaccent': 389,
  29677. 'Ecaron': 667,
  29678. 'Iogonek': 389,
  29679. 'kcommaaccent': 500,
  29680. 'minus': 606,
  29681. 'Icircumflex': 389,
  29682. 'ncaron': 556,
  29683. 'tcommaaccent': 278,
  29684. 'logicalnot': 606,
  29685. 'odieresis': 500,
  29686. 'udieresis': 556,
  29687. 'notequal': 549,
  29688. 'gcommaaccent': 500,
  29689. 'eth': 500,
  29690. 'zcaron': 389,
  29691. 'ncommaaccent': 556,
  29692. 'onesuperior': 300,
  29693. 'imacron': 278,
  29694. 'Euro': 500
  29695. },
  29696. 'Times-Italic': {
  29697. 'space': 250,
  29698. 'exclam': 333,
  29699. 'quotedbl': 420,
  29700. 'numbersign': 500,
  29701. 'dollar': 500,
  29702. 'percent': 833,
  29703. 'ampersand': 778,
  29704. 'quoteright': 333,
  29705. 'parenleft': 333,
  29706. 'parenright': 333,
  29707. 'asterisk': 500,
  29708. 'plus': 675,
  29709. 'comma': 250,
  29710. 'hyphen': 333,
  29711. 'period': 250,
  29712. 'slash': 278,
  29713. 'zero': 500,
  29714. 'one': 500,
  29715. 'two': 500,
  29716. 'three': 500,
  29717. 'four': 500,
  29718. 'five': 500,
  29719. 'six': 500,
  29720. 'seven': 500,
  29721. 'eight': 500,
  29722. 'nine': 500,
  29723. 'colon': 333,
  29724. 'semicolon': 333,
  29725. 'less': 675,
  29726. 'equal': 675,
  29727. 'greater': 675,
  29728. 'question': 500,
  29729. 'at': 920,
  29730. 'A': 611,
  29731. 'B': 611,
  29732. 'C': 667,
  29733. 'D': 722,
  29734. 'E': 611,
  29735. 'F': 611,
  29736. 'G': 722,
  29737. 'H': 722,
  29738. 'I': 333,
  29739. 'J': 444,
  29740. 'K': 667,
  29741. 'L': 556,
  29742. 'M': 833,
  29743. 'N': 667,
  29744. 'O': 722,
  29745. 'P': 611,
  29746. 'Q': 722,
  29747. 'R': 611,
  29748. 'S': 500,
  29749. 'T': 556,
  29750. 'U': 722,
  29751. 'V': 611,
  29752. 'W': 833,
  29753. 'X': 611,
  29754. 'Y': 556,
  29755. 'Z': 556,
  29756. 'bracketleft': 389,
  29757. 'backslash': 278,
  29758. 'bracketright': 389,
  29759. 'asciicircum': 422,
  29760. 'underscore': 500,
  29761. 'quoteleft': 333,
  29762. 'a': 500,
  29763. 'b': 500,
  29764. 'c': 444,
  29765. 'd': 500,
  29766. 'e': 444,
  29767. 'f': 278,
  29768. 'g': 500,
  29769. 'h': 500,
  29770. 'i': 278,
  29771. 'j': 278,
  29772. 'k': 444,
  29773. 'l': 278,
  29774. 'm': 722,
  29775. 'n': 500,
  29776. 'o': 500,
  29777. 'p': 500,
  29778. 'q': 500,
  29779. 'r': 389,
  29780. 's': 389,
  29781. 't': 278,
  29782. 'u': 500,
  29783. 'v': 444,
  29784. 'w': 667,
  29785. 'x': 444,
  29786. 'y': 444,
  29787. 'z': 389,
  29788. 'braceleft': 400,
  29789. 'bar': 275,
  29790. 'braceright': 400,
  29791. 'asciitilde': 541,
  29792. 'exclamdown': 389,
  29793. 'cent': 500,
  29794. 'sterling': 500,
  29795. 'fraction': 167,
  29796. 'yen': 500,
  29797. 'florin': 500,
  29798. 'section': 500,
  29799. 'currency': 500,
  29800. 'quotesingle': 214,
  29801. 'quotedblleft': 556,
  29802. 'guillemotleft': 500,
  29803. 'guilsinglleft': 333,
  29804. 'guilsinglright': 333,
  29805. 'fi': 500,
  29806. 'fl': 500,
  29807. 'endash': 500,
  29808. 'dagger': 500,
  29809. 'daggerdbl': 500,
  29810. 'periodcentered': 250,
  29811. 'paragraph': 523,
  29812. 'bullet': 350,
  29813. 'quotesinglbase': 333,
  29814. 'quotedblbase': 556,
  29815. 'quotedblright': 556,
  29816. 'guillemotright': 500,
  29817. 'ellipsis': 889,
  29818. 'perthousand': 1000,
  29819. 'questiondown': 500,
  29820. 'grave': 333,
  29821. 'acute': 333,
  29822. 'circumflex': 333,
  29823. 'tilde': 333,
  29824. 'macron': 333,
  29825. 'breve': 333,
  29826. 'dotaccent': 333,
  29827. 'dieresis': 333,
  29828. 'ring': 333,
  29829. 'cedilla': 333,
  29830. 'hungarumlaut': 333,
  29831. 'ogonek': 333,
  29832. 'caron': 333,
  29833. 'emdash': 889,
  29834. 'AE': 889,
  29835. 'ordfeminine': 276,
  29836. 'Lslash': 556,
  29837. 'Oslash': 722,
  29838. 'OE': 944,
  29839. 'ordmasculine': 310,
  29840. 'ae': 667,
  29841. 'dotlessi': 278,
  29842. 'lslash': 278,
  29843. 'oslash': 500,
  29844. 'oe': 667,
  29845. 'germandbls': 500,
  29846. 'Idieresis': 333,
  29847. 'eacute': 444,
  29848. 'abreve': 500,
  29849. 'uhungarumlaut': 500,
  29850. 'ecaron': 444,
  29851. 'Ydieresis': 556,
  29852. 'divide': 675,
  29853. 'Yacute': 556,
  29854. 'Acircumflex': 611,
  29855. 'aacute': 500,
  29856. 'Ucircumflex': 722,
  29857. 'yacute': 444,
  29858. 'scommaaccent': 389,
  29859. 'ecircumflex': 444,
  29860. 'Uring': 722,
  29861. 'Udieresis': 722,
  29862. 'aogonek': 500,
  29863. 'Uacute': 722,
  29864. 'uogonek': 500,
  29865. 'Edieresis': 611,
  29866. 'Dcroat': 722,
  29867. 'commaaccent': 250,
  29868. 'copyright': 760,
  29869. 'Emacron': 611,
  29870. 'ccaron': 444,
  29871. 'aring': 500,
  29872. 'Ncommaaccent': 667,
  29873. 'lacute': 278,
  29874. 'agrave': 500,
  29875. 'Tcommaaccent': 556,
  29876. 'Cacute': 667,
  29877. 'atilde': 500,
  29878. 'Edotaccent': 611,
  29879. 'scaron': 389,
  29880. 'scedilla': 389,
  29881. 'iacute': 278,
  29882. 'lozenge': 471,
  29883. 'Rcaron': 611,
  29884. 'Gcommaaccent': 722,
  29885. 'ucircumflex': 500,
  29886. 'acircumflex': 500,
  29887. 'Amacron': 611,
  29888. 'rcaron': 389,
  29889. 'ccedilla': 444,
  29890. 'Zdotaccent': 556,
  29891. 'Thorn': 611,
  29892. 'Omacron': 722,
  29893. 'Racute': 611,
  29894. 'Sacute': 500,
  29895. 'dcaron': 544,
  29896. 'Umacron': 722,
  29897. 'uring': 500,
  29898. 'threesuperior': 300,
  29899. 'Ograve': 722,
  29900. 'Agrave': 611,
  29901. 'Abreve': 611,
  29902. 'multiply': 675,
  29903. 'uacute': 500,
  29904. 'Tcaron': 556,
  29905. 'partialdiff': 476,
  29906. 'ydieresis': 444,
  29907. 'Nacute': 667,
  29908. 'icircumflex': 278,
  29909. 'Ecircumflex': 611,
  29910. 'adieresis': 500,
  29911. 'edieresis': 444,
  29912. 'cacute': 444,
  29913. 'nacute': 500,
  29914. 'umacron': 500,
  29915. 'Ncaron': 667,
  29916. 'Iacute': 333,
  29917. 'plusminus': 675,
  29918. 'brokenbar': 275,
  29919. 'registered': 760,
  29920. 'Gbreve': 722,
  29921. 'Idotaccent': 333,
  29922. 'summation': 600,
  29923. 'Egrave': 611,
  29924. 'racute': 389,
  29925. 'omacron': 500,
  29926. 'Zacute': 556,
  29927. 'Zcaron': 556,
  29928. 'greaterequal': 549,
  29929. 'Eth': 722,
  29930. 'Ccedilla': 667,
  29931. 'lcommaaccent': 278,
  29932. 'tcaron': 300,
  29933. 'eogonek': 444,
  29934. 'Uogonek': 722,
  29935. 'Aacute': 611,
  29936. 'Adieresis': 611,
  29937. 'egrave': 444,
  29938. 'zacute': 389,
  29939. 'iogonek': 278,
  29940. 'Oacute': 722,
  29941. 'oacute': 500,
  29942. 'amacron': 500,
  29943. 'sacute': 389,
  29944. 'idieresis': 278,
  29945. 'Ocircumflex': 722,
  29946. 'Ugrave': 722,
  29947. 'Delta': 612,
  29948. 'thorn': 500,
  29949. 'twosuperior': 300,
  29950. 'Odieresis': 722,
  29951. 'mu': 500,
  29952. 'igrave': 278,
  29953. 'ohungarumlaut': 500,
  29954. 'Eogonek': 611,
  29955. 'dcroat': 500,
  29956. 'threequarters': 750,
  29957. 'Scedilla': 500,
  29958. 'lcaron': 300,
  29959. 'Kcommaaccent': 667,
  29960. 'Lacute': 556,
  29961. 'trademark': 980,
  29962. 'edotaccent': 444,
  29963. 'Igrave': 333,
  29964. 'Imacron': 333,
  29965. 'Lcaron': 611,
  29966. 'onehalf': 750,
  29967. 'lessequal': 549,
  29968. 'ocircumflex': 500,
  29969. 'ntilde': 500,
  29970. 'Uhungarumlaut': 722,
  29971. 'Eacute': 611,
  29972. 'emacron': 444,
  29973. 'gbreve': 500,
  29974. 'onequarter': 750,
  29975. 'Scaron': 500,
  29976. 'Scommaaccent': 500,
  29977. 'Ohungarumlaut': 722,
  29978. 'degree': 400,
  29979. 'ograve': 500,
  29980. 'Ccaron': 667,
  29981. 'ugrave': 500,
  29982. 'radical': 453,
  29983. 'Dcaron': 722,
  29984. 'rcommaaccent': 389,
  29985. 'Ntilde': 667,
  29986. 'otilde': 500,
  29987. 'Rcommaaccent': 611,
  29988. 'Lcommaaccent': 556,
  29989. 'Atilde': 611,
  29990. 'Aogonek': 611,
  29991. 'Aring': 611,
  29992. 'Otilde': 722,
  29993. 'zdotaccent': 389,
  29994. 'Ecaron': 611,
  29995. 'Iogonek': 333,
  29996. 'kcommaaccent': 444,
  29997. 'minus': 675,
  29998. 'Icircumflex': 333,
  29999. 'ncaron': 500,
  30000. 'tcommaaccent': 278,
  30001. 'logicalnot': 675,
  30002. 'odieresis': 500,
  30003. 'udieresis': 500,
  30004. 'notequal': 549,
  30005. 'gcommaaccent': 500,
  30006. 'eth': 500,
  30007. 'zcaron': 389,
  30008. 'ncommaaccent': 500,
  30009. 'onesuperior': 300,
  30010. 'imacron': 278,
  30011. 'Euro': 500
  30012. },
  30013. 'ZapfDingbats': {
  30014. 'space': 278,
  30015. 'a1': 974,
  30016. 'a2': 961,
  30017. 'a202': 974,
  30018. 'a3': 980,
  30019. 'a4': 719,
  30020. 'a5': 789,
  30021. 'a119': 790,
  30022. 'a118': 791,
  30023. 'a117': 690,
  30024. 'a11': 960,
  30025. 'a12': 939,
  30026. 'a13': 549,
  30027. 'a14': 855,
  30028. 'a15': 911,
  30029. 'a16': 933,
  30030. 'a105': 911,
  30031. 'a17': 945,
  30032. 'a18': 974,
  30033. 'a19': 755,
  30034. 'a20': 846,
  30035. 'a21': 762,
  30036. 'a22': 761,
  30037. 'a23': 571,
  30038. 'a24': 677,
  30039. 'a25': 763,
  30040. 'a26': 760,
  30041. 'a27': 759,
  30042. 'a28': 754,
  30043. 'a6': 494,
  30044. 'a7': 552,
  30045. 'a8': 537,
  30046. 'a9': 577,
  30047. 'a10': 692,
  30048. 'a29': 786,
  30049. 'a30': 788,
  30050. 'a31': 788,
  30051. 'a32': 790,
  30052. 'a33': 793,
  30053. 'a34': 794,
  30054. 'a35': 816,
  30055. 'a36': 823,
  30056. 'a37': 789,
  30057. 'a38': 841,
  30058. 'a39': 823,
  30059. 'a40': 833,
  30060. 'a41': 816,
  30061. 'a42': 831,
  30062. 'a43': 923,
  30063. 'a44': 744,
  30064. 'a45': 723,
  30065. 'a46': 749,
  30066. 'a47': 790,
  30067. 'a48': 792,
  30068. 'a49': 695,
  30069. 'a50': 776,
  30070. 'a51': 768,
  30071. 'a52': 792,
  30072. 'a53': 759,
  30073. 'a54': 707,
  30074. 'a55': 708,
  30075. 'a56': 682,
  30076. 'a57': 701,
  30077. 'a58': 826,
  30078. 'a59': 815,
  30079. 'a60': 789,
  30080. 'a61': 789,
  30081. 'a62': 707,
  30082. 'a63': 687,
  30083. 'a64': 696,
  30084. 'a65': 689,
  30085. 'a66': 786,
  30086. 'a67': 787,
  30087. 'a68': 713,
  30088. 'a69': 791,
  30089. 'a70': 785,
  30090. 'a71': 791,
  30091. 'a72': 873,
  30092. 'a73': 761,
  30093. 'a74': 762,
  30094. 'a203': 762,
  30095. 'a75': 759,
  30096. 'a204': 759,
  30097. 'a76': 892,
  30098. 'a77': 892,
  30099. 'a78': 788,
  30100. 'a79': 784,
  30101. 'a81': 438,
  30102. 'a82': 138,
  30103. 'a83': 277,
  30104. 'a84': 415,
  30105. 'a97': 392,
  30106. 'a98': 392,
  30107. 'a99': 668,
  30108. 'a100': 668,
  30109. 'a89': 390,
  30110. 'a90': 390,
  30111. 'a93': 317,
  30112. 'a94': 317,
  30113. 'a91': 276,
  30114. 'a92': 276,
  30115. 'a205': 509,
  30116. 'a85': 509,
  30117. 'a206': 410,
  30118. 'a86': 410,
  30119. 'a87': 234,
  30120. 'a88': 234,
  30121. 'a95': 334,
  30122. 'a96': 334,
  30123. 'a101': 732,
  30124. 'a102': 544,
  30125. 'a103': 544,
  30126. 'a104': 910,
  30127. 'a106': 667,
  30128. 'a107': 760,
  30129. 'a108': 760,
  30130. 'a112': 776,
  30131. 'a111': 595,
  30132. 'a110': 694,
  30133. 'a109': 626,
  30134. 'a120': 788,
  30135. 'a121': 788,
  30136. 'a122': 788,
  30137. 'a123': 788,
  30138. 'a124': 788,
  30139. 'a125': 788,
  30140. 'a126': 788,
  30141. 'a127': 788,
  30142. 'a128': 788,
  30143. 'a129': 788,
  30144. 'a130': 788,
  30145. 'a131': 788,
  30146. 'a132': 788,
  30147. 'a133': 788,
  30148. 'a134': 788,
  30149. 'a135': 788,
  30150. 'a136': 788,
  30151. 'a137': 788,
  30152. 'a138': 788,
  30153. 'a139': 788,
  30154. 'a140': 788,
  30155. 'a141': 788,
  30156. 'a142': 788,
  30157. 'a143': 788,
  30158. 'a144': 788,
  30159. 'a145': 788,
  30160. 'a146': 788,
  30161. 'a147': 788,
  30162. 'a148': 788,
  30163. 'a149': 788,
  30164. 'a150': 788,
  30165. 'a151': 788,
  30166. 'a152': 788,
  30167. 'a153': 788,
  30168. 'a154': 788,
  30169. 'a155': 788,
  30170. 'a156': 788,
  30171. 'a157': 788,
  30172. 'a158': 788,
  30173. 'a159': 788,
  30174. 'a160': 894,
  30175. 'a161': 838,
  30176. 'a163': 1016,
  30177. 'a164': 458,
  30178. 'a196': 748,
  30179. 'a165': 924,
  30180. 'a192': 748,
  30181. 'a166': 918,
  30182. 'a167': 927,
  30183. 'a168': 928,
  30184. 'a169': 928,
  30185. 'a170': 834,
  30186. 'a171': 873,
  30187. 'a172': 828,
  30188. 'a173': 924,
  30189. 'a162': 924,
  30190. 'a174': 917,
  30191. 'a175': 930,
  30192. 'a176': 931,
  30193. 'a177': 463,
  30194. 'a178': 883,
  30195. 'a179': 836,
  30196. 'a193': 836,
  30197. 'a180': 867,
  30198. 'a199': 867,
  30199. 'a181': 696,
  30200. 'a200': 696,
  30201. 'a182': 874,
  30202. 'a201': 874,
  30203. 'a183': 760,
  30204. 'a184': 946,
  30205. 'a197': 771,
  30206. 'a185': 865,
  30207. 'a194': 771,
  30208. 'a198': 888,
  30209. 'a186': 967,
  30210. 'a195': 888,
  30211. 'a187': 831,
  30212. 'a188': 873,
  30213. 'a189': 927,
  30214. 'a190': 970,
  30215. 'a191': 918
  30216. }
  30217. };
  30218. var EOF = {};
  30219. function isEOF(v) {
  30220. return v == EOF;
  30221. }
  30222. var Parser = (function ParserClosure() {
  30223. function Parser(lexer, allowStreams, xref) {
  30224. this.lexer = lexer;
  30225. this.allowStreams = allowStreams;
  30226. this.xref = xref;
  30227. this.refill();
  30228. }
  30229. Parser.prototype = {
  30230. refill: function Parser_refill() {
  30231. this.buf1 = this.lexer.getObj();
  30232. this.buf2 = this.lexer.getObj();
  30233. },
  30234. shift: function Parser_shift() {
  30235. if (isCmd(this.buf2, 'ID')) {
  30236. this.buf1 = this.buf2;
  30237. this.buf2 = null;
  30238. } else {
  30239. this.buf1 = this.buf2;
  30240. this.buf2 = this.lexer.getObj();
  30241. }
  30242. },
  30243. getObj: function Parser_getObj(cipherTransform) {
  30244. if (isCmd(this.buf1, 'BI')) { // inline image
  30245. this.shift();
  30246. return this.makeInlineImage(cipherTransform);
  30247. }
  30248. if (isCmd(this.buf1, '[')) { // array
  30249. this.shift();
  30250. var array = [];
  30251. while (!isCmd(this.buf1, ']') && !isEOF(this.buf1))
  30252. array.push(this.getObj(cipherTransform));
  30253. if (isEOF(this.buf1))
  30254. error('End of file inside array');
  30255. this.shift();
  30256. return array;
  30257. }
  30258. if (isCmd(this.buf1, '<<')) { // dictionary or stream
  30259. this.shift();
  30260. var dict = new Dict(this.xref);
  30261. while (!isCmd(this.buf1, '>>') && !isEOF(this.buf1)) {
  30262. if (!isName(this.buf1)) {
  30263. info('Malformed dictionary, key must be a name object');
  30264. this.shift();
  30265. continue;
  30266. }
  30267. var key = this.buf1.name;
  30268. this.shift();
  30269. if (isEOF(this.buf1))
  30270. break;
  30271. dict.set(key, this.getObj(cipherTransform));
  30272. }
  30273. if (isEOF(this.buf1))
  30274. error('End of file inside dictionary');
  30275. // stream objects are not allowed inside content streams or
  30276. // object streams
  30277. if (isCmd(this.buf2, 'stream')) {
  30278. return this.allowStreams ?
  30279. this.makeStream(dict, cipherTransform) : dict;
  30280. }
  30281. this.shift();
  30282. return dict;
  30283. }
  30284. if (isInt(this.buf1)) { // indirect reference or integer
  30285. var num = this.buf1;
  30286. this.shift();
  30287. if (isInt(this.buf1) && isCmd(this.buf2, 'R')) {
  30288. var ref = new Ref(num, this.buf1);
  30289. this.shift();
  30290. this.shift();
  30291. return ref;
  30292. }
  30293. return num;
  30294. }
  30295. if (isString(this.buf1)) { // string
  30296. var str = this.buf1;
  30297. this.shift();
  30298. if (cipherTransform)
  30299. str = cipherTransform.decryptString(str);
  30300. return str;
  30301. }
  30302. // simple object
  30303. var obj = this.buf1;
  30304. this.shift();
  30305. return obj;
  30306. },
  30307. makeInlineImage: function Parser_makeInlineImage(cipherTransform) {
  30308. var lexer = this.lexer;
  30309. var stream = lexer.stream;
  30310. // parse dictionary
  30311. var dict = new Dict();
  30312. while (!isCmd(this.buf1, 'ID') && !isEOF(this.buf1)) {
  30313. if (!isName(this.buf1))
  30314. error('Dictionary key must be a name object');
  30315. var key = this.buf1.name;
  30316. this.shift();
  30317. if (isEOF(this.buf1))
  30318. break;
  30319. dict.set(key, this.getObj(cipherTransform));
  30320. }
  30321. // parse image stream
  30322. var startPos = stream.pos;
  30323. // searching for the /EI\s/
  30324. var state = 0, ch, i, ii;
  30325. while (state != 4 && (ch = stream.getByte()) !== -1) {
  30326. switch (ch | 0) {
  30327. case 0x20:
  30328. case 0x0D:
  30329. case 0x0A:
  30330. // let's check next five bytes to be ASCII... just be sure
  30331. var followingBytes = stream.peekBytes(5);
  30332. for (i = 0, ii = followingBytes.length; i < ii; i++) {
  30333. ch = followingBytes[i];
  30334. if (ch !== 0x0A && ch !== 0x0D && (ch < 0x20 || ch > 0x7F)) {
  30335. // not a LF, CR, SPACE or any visible ASCII character
  30336. state = 0;
  30337. break; // some binary stuff found, resetting the state
  30338. }
  30339. }
  30340. state = state === 3 ? 4 : 0;
  30341. break;
  30342. case 0x45:
  30343. state = 2;
  30344. break;
  30345. case 0x49:
  30346. state = state === 2 ? 3 : 0;
  30347. break;
  30348. default:
  30349. state = 0;
  30350. break;
  30351. }
  30352. }
  30353. var length = (stream.pos - 4) - startPos;
  30354. var imageStream = stream.makeSubStream(startPos, length, dict);
  30355. if (cipherTransform)
  30356. imageStream = cipherTransform.createStream(imageStream);
  30357. imageStream = this.filter(imageStream, dict, length);
  30358. imageStream.dict = dict;
  30359. this.buf2 = Cmd.get('EI');
  30360. this.shift();
  30361. return imageStream;
  30362. },
  30363. fetchIfRef: function Parser_fetchIfRef(obj) {
  30364. // not relying on the xref.fetchIfRef -- xref might not be set
  30365. return isRef(obj) ? this.xref.fetch(obj) : obj;
  30366. },
  30367. makeStream: function Parser_makeStream(dict, cipherTransform) {
  30368. var lexer = this.lexer;
  30369. var stream = lexer.stream;
  30370. // get stream start position
  30371. lexer.skipToNextLine();
  30372. var pos = stream.pos - 1;
  30373. // get length
  30374. var length = this.fetchIfRef(dict.get('Length'));
  30375. if (!isInt(length)) {
  30376. info('Bad ' + length + ' attribute in stream');
  30377. length = 0;
  30378. }
  30379. // skip over the stream data
  30380. stream.pos = pos + length;
  30381. lexer.nextChar();
  30382. this.shift(); // '>>'
  30383. this.shift(); // 'stream'
  30384. if (!isCmd(this.buf1, 'endstream')) {
  30385. // bad stream length, scanning for endstream
  30386. stream.pos = pos;
  30387. var SCAN_BLOCK_SIZE = 2048;
  30388. var ENDSTREAM_SIGNATURE_LENGTH = 9;
  30389. var ENDSTREAM_SIGNATURE = [0x65, 0x6E, 0x64, 0x73, 0x74, 0x72, 0x65,
  30390. 0x61, 0x6D];
  30391. var skipped = 0, found = false;
  30392. while (stream.pos < stream.end) {
  30393. var scanBytes = stream.peekBytes(SCAN_BLOCK_SIZE);
  30394. var scanLength = scanBytes.length - ENDSTREAM_SIGNATURE_LENGTH;
  30395. var found = false, i, ii, j;
  30396. for (i = 0, j = 0; i < scanLength; i++) {
  30397. var b = scanBytes[i];
  30398. if (b !== ENDSTREAM_SIGNATURE[j]) {
  30399. i -= j;
  30400. j = 0;
  30401. } else {
  30402. j++;
  30403. if (j >= ENDSTREAM_SIGNATURE_LENGTH) {
  30404. found = true;
  30405. break;
  30406. }
  30407. }
  30408. }
  30409. if (found) {
  30410. skipped += i - ENDSTREAM_SIGNATURE_LENGTH;
  30411. stream.pos += i - ENDSTREAM_SIGNATURE_LENGTH;
  30412. break;
  30413. }
  30414. skipped += scanLength;
  30415. stream.pos += scanLength;
  30416. }
  30417. if (!found) {
  30418. error('Missing endstream');
  30419. }
  30420. length = skipped;
  30421. lexer.nextChar();
  30422. this.shift();
  30423. this.shift();
  30424. }
  30425. this.shift(); // 'endstream'
  30426. stream = stream.makeSubStream(pos, length, dict);
  30427. if (cipherTransform)
  30428. stream = cipherTransform.createStream(stream);
  30429. stream = this.filter(stream, dict, length);
  30430. stream.dict = dict;
  30431. return stream;
  30432. },
  30433. filter: function Parser_filter(stream, dict, length) {
  30434. var filter = this.fetchIfRef(dict.get('Filter', 'F'));
  30435. var params = this.fetchIfRef(dict.get('DecodeParms', 'DP'));
  30436. if (isName(filter))
  30437. return this.makeFilter(stream, filter.name, length, params);
  30438. if (isArray(filter)) {
  30439. var filterArray = filter;
  30440. var paramsArray = params;
  30441. for (var i = 0, ii = filterArray.length; i < ii; ++i) {
  30442. filter = filterArray[i];
  30443. if (!isName(filter))
  30444. error('Bad filter name: ' + filter);
  30445. params = null;
  30446. if (isArray(paramsArray) && (i in paramsArray))
  30447. params = paramsArray[i];
  30448. stream = this.makeFilter(stream, filter.name, length, params);
  30449. // after the first stream the length variable is invalid
  30450. length = null;
  30451. }
  30452. }
  30453. return stream;
  30454. },
  30455. makeFilter: function Parser_makeFilter(stream, name, length, params) {
  30456. if (stream.dict.get('Length') === 0) {
  30457. return new NullStream(stream);
  30458. }
  30459. if (name == 'FlateDecode' || name == 'Fl') {
  30460. if (params) {
  30461. return new PredictorStream(new FlateStream(stream), params);
  30462. }
  30463. return new FlateStream(stream);
  30464. }
  30465. if (name == 'LZWDecode' || name == 'LZW') {
  30466. var earlyChange = 1;
  30467. if (params) {
  30468. if (params.has('EarlyChange'))
  30469. earlyChange = params.get('EarlyChange');
  30470. return new PredictorStream(
  30471. new LZWStream(stream, earlyChange), params);
  30472. }
  30473. return new LZWStream(stream, earlyChange);
  30474. }
  30475. if (name == 'DCTDecode' || name == 'DCT') {
  30476. var bytes = stream.getBytes(length);
  30477. return new JpegStream(bytes, stream.dict, this.xref);
  30478. }
  30479. if (name == 'JPXDecode' || name == 'JPX') {
  30480. var bytes = stream.getBytes(length);
  30481. return new JpxStream(bytes, stream.dict);
  30482. }
  30483. if (name == 'ASCII85Decode' || name == 'A85') {
  30484. return new Ascii85Stream(stream);
  30485. }
  30486. if (name == 'ASCIIHexDecode' || name == 'AHx') {
  30487. return new AsciiHexStream(stream);
  30488. }
  30489. if (name == 'CCITTFaxDecode' || name == 'CCF') {
  30490. return new CCITTFaxStream(stream, params);
  30491. }
  30492. if (name == 'RunLengthDecode' || name == 'RL') {
  30493. return new RunLengthStream(stream);
  30494. }
  30495. if (name == 'JBIG2Decode') {
  30496. var bytes = stream.getBytes(length);
  30497. return new Jbig2Stream(bytes, stream.dict);
  30498. }
  30499. warn('filter "' + name + '" not supported yet');
  30500. return stream;
  30501. }
  30502. };
  30503. return Parser;
  30504. })();
  30505. var Lexer = (function LexerClosure() {
  30506. function Lexer(stream, knownCommands) {
  30507. this.stream = stream;
  30508. this.nextChar();
  30509. // The PDFs might have "glued" commands with other commands, operands or
  30510. // literals, e.g. "q1". The knownCommands is a dictionary of the valid
  30511. // commands and their prefixes. The prefixes are built the following way:
  30512. // if there a command that is a prefix of the other valid command or
  30513. // literal (e.g. 'f' and 'false') the following prefixes must be included,
  30514. // 'fa', 'fal', 'fals'. The prefixes are not needed, if the command has no
  30515. // other commands or literals as a prefix. The knowCommands is optional.
  30516. this.knownCommands = knownCommands;
  30517. }
  30518. Lexer.isSpace = function Lexer_isSpace(ch) {
  30519. // space is one of the following characters: SPACE, TAB, CR, or LF
  30520. return ch === 0x20 || ch === 0x09 || ch === 0x0D || ch === 0x0A;
  30521. };
  30522. // A '1' in this array means the character is white space. A '1' or
  30523. // '2' means the character ends a name or command.
  30524. var specialChars = [
  30525. 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 1, 0, 0, // 0x
  30526. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 1x
  30527. 1, 0, 0, 0, 0, 2, 0, 0, 2, 2, 0, 0, 0, 0, 0, 2, // 2x
  30528. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 2, 0, // 3x
  30529. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 4x
  30530. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 2, 0, 0, // 5x
  30531. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 6x
  30532. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 2, 0, 0, // 7x
  30533. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 8x
  30534. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 9x
  30535. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // ax
  30536. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // bx
  30537. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // cx
  30538. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // dx
  30539. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // ex
  30540. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 // fx
  30541. ];
  30542. function toHexDigit(ch) {
  30543. if (ch >= 0x30 && ch <= 0x39) { // '0'-'9'
  30544. return ch & 0x0F;
  30545. }
  30546. if ((ch >= 0x41 && ch <= 0x46) || (ch >= 0x61 && ch <= 0x66)) {
  30547. // 'A'-'F', 'a'-'f'
  30548. return (ch & 0x0F) + 9;
  30549. }
  30550. return -1;
  30551. }
  30552. Lexer.prototype = {
  30553. nextChar: function Lexer_nextChar() {
  30554. return (this.currentChar = this.stream.getByte());
  30555. },
  30556. getNumber: function Lexer_getNumber() {
  30557. var floating = false;
  30558. var ch = this.currentChar;
  30559. var str = String.fromCharCode(ch);
  30560. while ((ch = this.nextChar()) >= 0) {
  30561. if (ch === 0x2E && !floating) { // '.'
  30562. str += '.';
  30563. floating = true;
  30564. } else if (ch === 0x2D) { // '-'
  30565. // ignore minus signs in the middle of numbers to match
  30566. // Adobe's behavior
  30567. warn('Badly formated number');
  30568. } else if (ch >= 0x30 && ch <= 0x39) { // '0'-'9'
  30569. str += String.fromCharCode(ch);
  30570. } else if (ch === 0x45 || ch === 0x65) { // 'E', 'e'
  30571. floating = true;
  30572. } else {
  30573. // the last character doesn't belong to us
  30574. break;
  30575. }
  30576. }
  30577. var value = parseFloat(str);
  30578. if (isNaN(value))
  30579. error('Invalid floating point number: ' + value);
  30580. return value;
  30581. },
  30582. getString: function Lexer_getString() {
  30583. var numParen = 1;
  30584. var done = false;
  30585. var str = '';
  30586. var ch = this.nextChar();
  30587. while (true) {
  30588. var charBuffered = false;
  30589. switch (ch | 0) {
  30590. case -1:
  30591. warn('Unterminated string');
  30592. done = true;
  30593. break;
  30594. case 0x28: // '('
  30595. ++numParen;
  30596. str += '(';
  30597. break;
  30598. case 0x29: // ')'
  30599. if (--numParen === 0) {
  30600. this.nextChar(); // consume strings ')'
  30601. done = true;
  30602. } else {
  30603. str += ')';
  30604. }
  30605. break;
  30606. case 0x5C: // '\\'
  30607. ch = this.nextChar();
  30608. switch (ch) {
  30609. case -1:
  30610. warn('Unterminated string');
  30611. done = true;
  30612. break;
  30613. case 0x6E: // 'n'
  30614. str += '\n';
  30615. break;
  30616. case 0x72: // 'r'
  30617. str += '\r';
  30618. break;
  30619. case 0x74: // 't'
  30620. str += '\t';
  30621. break;
  30622. case 0x62: // 'b'
  30623. str += '\b';
  30624. break;
  30625. case 0x66: // 'f'
  30626. str += '\f';
  30627. break;
  30628. case 0x5C: // '\'
  30629. case 0x28: // '('
  30630. case 0x29: // ')'
  30631. str += String.fromCharCode(ch);
  30632. break;
  30633. case 0x30: case 0x31: case 0x32: case 0x33: // '0'-'3'
  30634. case 0x34: case 0x35: case 0x36: case 0x37: // '4'-'7'
  30635. var x = ch & 0x0F;
  30636. ch = this.nextChar();
  30637. charBuffered = true;
  30638. if (ch >= 0x30 && ch <= 0x37) { // '0'-'7'
  30639. x = (x << 3) + (ch & 0x0F);
  30640. ch = this.nextChar();
  30641. if (ch >= 0x30 && ch <= 0x37) { // '0'-'7'
  30642. charBuffered = false;
  30643. x = (x << 3) + (ch & 0x0F);
  30644. }
  30645. }
  30646. str += String.fromCharCode(x);
  30647. break;
  30648. case 0x0A: case 0x0D: // LF, CR
  30649. break;
  30650. default:
  30651. str += String.fromCharCode(ch);
  30652. break;
  30653. }
  30654. break;
  30655. default:
  30656. str += String.fromCharCode(ch);
  30657. break;
  30658. }
  30659. if (done) {
  30660. break;
  30661. }
  30662. if (!charBuffered) {
  30663. ch = this.nextChar();
  30664. }
  30665. }
  30666. return str;
  30667. },
  30668. getName: function Lexer_getName() {
  30669. var str = '', ch;
  30670. while ((ch = this.nextChar()) >= 0 && !specialChars[ch]) {
  30671. if (ch === 0x23) { // '#'
  30672. ch = this.nextChar();
  30673. var x = toHexDigit(ch);
  30674. if (x != -1) {
  30675. var x2 = toHexDigit(this.nextChar());
  30676. if (x2 == -1)
  30677. error('Illegal digit in hex char in name: ' + x2);
  30678. str += String.fromCharCode((x << 4) | x2);
  30679. } else {
  30680. str += '#';
  30681. str += String.fromCharCode(ch);
  30682. }
  30683. } else {
  30684. str += String.fromCharCode(ch);
  30685. }
  30686. }
  30687. if (str.length > 128) {
  30688. error('Warning: name token is longer than allowed by the spec: ' +
  30689. str.length);
  30690. }
  30691. return new Name(str);
  30692. },
  30693. getHexString: function Lexer_getHexString() {
  30694. var str = '';
  30695. var ch = this.currentChar;
  30696. var isFirstHex = true;
  30697. var firstDigit;
  30698. var secondDigit;
  30699. while (true) {
  30700. if (ch < 0) {
  30701. warn('Unterminated hex string');
  30702. break;
  30703. } else if (ch === 0x3E) { // '>'
  30704. this.nextChar();
  30705. break;
  30706. } else if (specialChars[ch] === 1) {
  30707. ch = this.nextChar();
  30708. continue;
  30709. } else {
  30710. if (isFirstHex) {
  30711. firstDigit = toHexDigit(ch);
  30712. if (firstDigit === -1) {
  30713. warn('Ignoring invalid character "' + ch + '" in hex string');
  30714. ch = this.nextChar();
  30715. continue;
  30716. }
  30717. } else {
  30718. secondDigit = toHexDigit(ch);
  30719. if (secondDigit === -1) {
  30720. warn('Ignoring invalid character "' + ch + '" in hex string');
  30721. ch = this.nextChar();
  30722. continue;
  30723. }
  30724. str += String.fromCharCode((firstDigit << 4) | secondDigit);
  30725. }
  30726. isFirstHex = !isFirstHex;
  30727. ch = this.nextChar();
  30728. }
  30729. }
  30730. return str;
  30731. },
  30732. getObj: function Lexer_getObj() {
  30733. // skip whitespace and comments
  30734. var comment = false;
  30735. var ch = this.currentChar;
  30736. while (true) {
  30737. if (ch < 0) {
  30738. return EOF;
  30739. }
  30740. if (comment) {
  30741. if (ch === 0x0A || ch == 0x0D) // LF, CR
  30742. comment = false;
  30743. } else if (ch === 0x25) { // '%'
  30744. comment = true;
  30745. } else if (specialChars[ch] !== 1) {
  30746. break;
  30747. }
  30748. ch = this.nextChar();
  30749. }
  30750. // start reading token
  30751. switch (ch | 0) {
  30752. case 0x30: case 0x31: case 0x32: case 0x33: case 0x34: // '0'-'4'
  30753. case 0x35: case 0x36: case 0x37: case 0x38: case 0x39: // '5'-'9'
  30754. case 0x2B: case 0x2D: case 0x2E: // '+', '-', '.'
  30755. return this.getNumber();
  30756. case 0x28: // '('
  30757. return this.getString();
  30758. case 0x2F: // '/'
  30759. return this.getName();
  30760. // array punctuation
  30761. case 0x5B: // '['
  30762. this.nextChar();
  30763. return Cmd.get('[');
  30764. case 0x5D: // ']'
  30765. this.nextChar();
  30766. return Cmd.get(']');
  30767. // hex string or dict punctuation
  30768. case 0x3C: // '<'
  30769. ch = this.nextChar();
  30770. if (ch === 0x3C) {
  30771. // dict punctuation
  30772. this.nextChar();
  30773. return Cmd.get('<<');
  30774. }
  30775. return this.getHexString();
  30776. // dict punctuation
  30777. case 0x3E: // '>'
  30778. ch = this.nextChar();
  30779. if (ch === 0x3E) {
  30780. this.nextChar();
  30781. return Cmd.get('>>');
  30782. }
  30783. return Cmd.get('>');
  30784. case 0x7B: // '{'
  30785. this.nextChar();
  30786. return Cmd.get('{');
  30787. case 0x7D: // '}'
  30788. this.nextChar();
  30789. return Cmd.get('}');
  30790. case 0x29: // ')'
  30791. error('Illegal character: ' + ch);
  30792. break;
  30793. }
  30794. // command
  30795. var str = String.fromCharCode(ch);
  30796. var knownCommands = this.knownCommands;
  30797. var knownCommandFound = knownCommands && (str in knownCommands);
  30798. while ((ch = this.nextChar()) >= 0 && !specialChars[ch]) {
  30799. // stop if known command is found and next character does not make
  30800. // the str a command
  30801. var possibleCommand = str + String.fromCharCode(ch);
  30802. if (knownCommandFound && !(possibleCommand in knownCommands)) {
  30803. break;
  30804. }
  30805. if (str.length == 128)
  30806. error('Command token too long: ' + str.length);
  30807. str = possibleCommand;
  30808. knownCommandFound = knownCommands && (str in knownCommands);
  30809. }
  30810. if (str == 'true')
  30811. return true;
  30812. if (str == 'false')
  30813. return false;
  30814. if (str == 'null')
  30815. return null;
  30816. return Cmd.get(str);
  30817. },
  30818. skipToNextLine: function Lexer_skipToNextLine() {
  30819. var stream = this.stream;
  30820. var ch = this.currentChar;
  30821. while (ch >= 0) {
  30822. if (ch === 0x0D) { // CR
  30823. ch = this.nextChar();
  30824. if (ch === 0x0A) { // LF
  30825. this.nextChar();
  30826. }
  30827. break;
  30828. } else if (ch === 0x0A) { // LF
  30829. this.nextChar();
  30830. break;
  30831. }
  30832. ch = this.nextChar();
  30833. }
  30834. }
  30835. };
  30836. return Lexer;
  30837. })();
  30838. var Linearization = (function LinearizationClosure() {
  30839. function Linearization(stream) {
  30840. this.parser = new Parser(new Lexer(stream), false, null);
  30841. var obj1 = this.parser.getObj();
  30842. var obj2 = this.parser.getObj();
  30843. var obj3 = this.parser.getObj();
  30844. this.linDict = this.parser.getObj();
  30845. if (isInt(obj1) && isInt(obj2) && isCmd(obj3, 'obj') &&
  30846. isDict(this.linDict)) {
  30847. var obj = this.linDict.get('Linearized');
  30848. if (!(isNum(obj) && obj > 0))
  30849. this.linDict = null;
  30850. }
  30851. }
  30852. Linearization.prototype = {
  30853. getInt: function Linearization_getInt(name) {
  30854. var linDict = this.linDict;
  30855. var obj;
  30856. if (isDict(linDict) &&
  30857. isInt(obj = linDict.get(name)) &&
  30858. obj > 0) {
  30859. return obj;
  30860. }
  30861. error('"' + name + '" field in linearization table is invalid');
  30862. },
  30863. getHint: function Linearization_getHint(index) {
  30864. var linDict = this.linDict;
  30865. var obj1, obj2;
  30866. if (isDict(linDict) &&
  30867. isArray(obj1 = linDict.get('H')) &&
  30868. obj1.length >= 2 &&
  30869. isInt(obj2 = obj1[index]) &&
  30870. obj2 > 0) {
  30871. return obj2;
  30872. }
  30873. error('Hints table in linearization table is invalid: ' + index);
  30874. },
  30875. get length() {
  30876. if (!isDict(this.linDict))
  30877. return 0;
  30878. return this.getInt('L');
  30879. },
  30880. get hintsOffset() {
  30881. return this.getHint(0);
  30882. },
  30883. get hintsLength() {
  30884. return this.getHint(1);
  30885. },
  30886. get hintsOffset2() {
  30887. return this.getHint(2);
  30888. },
  30889. get hintsLenth2() {
  30890. return this.getHint(3);
  30891. },
  30892. get objectNumberFirst() {
  30893. return this.getInt('O');
  30894. },
  30895. get endFirst() {
  30896. return this.getInt('E');
  30897. },
  30898. get numPages() {
  30899. return this.getInt('N');
  30900. },
  30901. get mainXRefEntriesOffset() {
  30902. return this.getInt('T');
  30903. },
  30904. get pageFirst() {
  30905. return this.getInt('P');
  30906. }
  30907. };
  30908. return Linearization;
  30909. })();
  30910. var Stream = (function StreamClosure() {
  30911. function Stream(arrayBuffer, start, length, dict) {
  30912. this.bytes = arrayBuffer instanceof Uint8Array ? arrayBuffer :
  30913. new Uint8Array(arrayBuffer);
  30914. this.start = start || 0;
  30915. this.pos = this.start;
  30916. this.end = (start + length) || this.bytes.length;
  30917. this.dict = dict;
  30918. }
  30919. // required methods for a stream. if a particular stream does not
  30920. // implement these, an error should be thrown
  30921. Stream.prototype = {
  30922. get length() {
  30923. return this.end - this.start;
  30924. },
  30925. getByte: function Stream_getByte() {
  30926. if (this.pos >= this.end)
  30927. return -1;
  30928. return this.bytes[this.pos++];
  30929. },
  30930. // returns subarray of original buffer
  30931. // should only be read
  30932. getBytes: function Stream_getBytes(length) {
  30933. var bytes = this.bytes;
  30934. var pos = this.pos;
  30935. var strEnd = this.end;
  30936. if (!length)
  30937. return bytes.subarray(pos, strEnd);
  30938. var end = pos + length;
  30939. if (end > strEnd)
  30940. end = strEnd;
  30941. this.pos = end;
  30942. return bytes.subarray(pos, end);
  30943. },
  30944. peekBytes: function Stream_peekBytes(length) {
  30945. var bytes = this.getBytes(length);
  30946. this.pos -= bytes.length;
  30947. return bytes;
  30948. },
  30949. skip: function Stream_skip(n) {
  30950. if (!n)
  30951. n = 1;
  30952. this.pos += n;
  30953. },
  30954. reset: function Stream_reset() {
  30955. this.pos = this.start;
  30956. },
  30957. moveStart: function Stream_moveStart() {
  30958. this.start = this.pos;
  30959. },
  30960. makeSubStream: function Stream_makeSubStream(start, length, dict) {
  30961. return new Stream(this.bytes.buffer, start, length, dict);
  30962. },
  30963. isStream: true
  30964. };
  30965. return Stream;
  30966. })();
  30967. var StringStream = (function StringStreamClosure() {
  30968. function StringStream(str) {
  30969. var length = str.length;
  30970. var bytes = new Uint8Array(length);
  30971. for (var n = 0; n < length; ++n)
  30972. bytes[n] = str.charCodeAt(n);
  30973. Stream.call(this, bytes);
  30974. }
  30975. StringStream.prototype = Stream.prototype;
  30976. return StringStream;
  30977. })();
  30978. // super class for the decoding streams
  30979. var DecodeStream = (function DecodeStreamClosure() {
  30980. function DecodeStream() {
  30981. this.pos = 0;
  30982. this.bufferLength = 0;
  30983. this.eof = false;
  30984. this.buffer = null;
  30985. }
  30986. DecodeStream.prototype = {
  30987. ensureBuffer: function DecodeStream_ensureBuffer(requested) {
  30988. var buffer = this.buffer;
  30989. var current = buffer ? buffer.byteLength : 0;
  30990. if (requested < current)
  30991. return buffer;
  30992. var size = 512;
  30993. while (size < requested)
  30994. size <<= 1;
  30995. var buffer2 = new Uint8Array(size);
  30996. for (var i = 0; i < current; ++i)
  30997. buffer2[i] = buffer[i];
  30998. return (this.buffer = buffer2);
  30999. },
  31000. getByte: function DecodeStream_getByte() {
  31001. var pos = this.pos;
  31002. while (this.bufferLength <= pos) {
  31003. if (this.eof)
  31004. return -1;
  31005. this.readBlock();
  31006. }
  31007. return this.buffer[this.pos++];
  31008. },
  31009. getBytes: function DecodeStream_getBytes(length) {
  31010. var end, pos = this.pos;
  31011. if (length) {
  31012. this.ensureBuffer(pos + length);
  31013. end = pos + length;
  31014. while (!this.eof && this.bufferLength < end)
  31015. this.readBlock();
  31016. var bufEnd = this.bufferLength;
  31017. if (end > bufEnd)
  31018. end = bufEnd;
  31019. } else {
  31020. while (!this.eof)
  31021. this.readBlock();
  31022. end = this.bufferLength;
  31023. // checking if bufferLength is still 0 then
  31024. // the buffer has to be initialized
  31025. if (!end)
  31026. this.buffer = new Uint8Array(0);
  31027. }
  31028. this.pos = end;
  31029. return this.buffer.subarray(pos, end);
  31030. },
  31031. peekBytes: function DecodeStream_peekBytes(length) {
  31032. var bytes = this.getBytes(length);
  31033. this.pos -= bytes.length;
  31034. return bytes;
  31035. },
  31036. makeSubStream: function DecodeStream_makeSubStream(start, length, dict) {
  31037. var end = start + length;
  31038. while (this.bufferLength <= end && !this.eof)
  31039. this.readBlock();
  31040. return new Stream(this.buffer, start, length, dict);
  31041. },
  31042. skip: function Stream_skip(n) {
  31043. if (!n)
  31044. n = 1;
  31045. this.pos += n;
  31046. },
  31047. reset: function DecodeStream_reset() {
  31048. this.pos = 0;
  31049. },
  31050. getBaseStreams: function DecodeStream_getBaseStreams() {
  31051. if (this.str && this.str.getBaseStreams) {
  31052. return this.str.getBaseStreams();
  31053. }
  31054. return [];
  31055. }
  31056. };
  31057. return DecodeStream;
  31058. })();
  31059. var FakeStream = (function FakeStreamClosure() {
  31060. function FakeStream(stream) {
  31061. this.dict = stream.dict;
  31062. DecodeStream.call(this);
  31063. }
  31064. FakeStream.prototype = Object.create(DecodeStream.prototype);
  31065. FakeStream.prototype.readBlock = function FakeStream_readBlock() {
  31066. var bufferLength = this.bufferLength;
  31067. bufferLength += 1024;
  31068. var buffer = this.ensureBuffer(bufferLength);
  31069. this.bufferLength = bufferLength;
  31070. };
  31071. FakeStream.prototype.getBytes = function FakeStream_getBytes(length) {
  31072. var end, pos = this.pos;
  31073. if (length) {
  31074. this.ensureBuffer(pos + length);
  31075. end = pos + length;
  31076. while (!this.eof && this.bufferLength < end)
  31077. this.readBlock();
  31078. var bufEnd = this.bufferLength;
  31079. if (end > bufEnd)
  31080. end = bufEnd;
  31081. } else {
  31082. this.eof = true;
  31083. end = this.bufferLength;
  31084. }
  31085. this.pos = end;
  31086. return this.buffer.subarray(pos, end);
  31087. };
  31088. return FakeStream;
  31089. })();
  31090. var StreamsSequenceStream = (function StreamsSequenceStreamClosure() {
  31091. function StreamsSequenceStream(streams) {
  31092. this.streams = streams;
  31093. DecodeStream.call(this);
  31094. }
  31095. StreamsSequenceStream.prototype = Object.create(DecodeStream.prototype);
  31096. StreamsSequenceStream.prototype.readBlock =
  31097. function streamSequenceStreamReadBlock() {
  31098. var streams = this.streams;
  31099. if (streams.length === 0) {
  31100. this.eof = true;
  31101. return;
  31102. }
  31103. var stream = streams.shift();
  31104. var chunk = stream.getBytes();
  31105. var bufferLength = this.bufferLength;
  31106. var newLength = bufferLength + chunk.length;
  31107. var buffer = this.ensureBuffer(newLength);
  31108. buffer.set(chunk, bufferLength);
  31109. this.bufferLength = newLength;
  31110. };
  31111. StreamsSequenceStream.prototype.getBaseStreams =
  31112. function StreamsSequenceStream_getBaseStreams() {
  31113. var baseStreams = [];
  31114. for (var i = 0, ii = this.streams.length; i < ii; i++) {
  31115. var stream = this.streams[i];
  31116. if (stream.getBaseStreams) {
  31117. Util.concatenateToArray(baseStreams, stream.getBaseStreams());
  31118. }
  31119. }
  31120. return baseStreams;
  31121. };
  31122. return StreamsSequenceStream;
  31123. })();
  31124. var FlateStream = (function FlateStreamClosure() {
  31125. var codeLenCodeMap = new Uint32Array([
  31126. 16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15
  31127. ]);
  31128. var lengthDecode = new Uint32Array([
  31129. 0x00003, 0x00004, 0x00005, 0x00006, 0x00007, 0x00008, 0x00009, 0x0000a,
  31130. 0x1000b, 0x1000d, 0x1000f, 0x10011, 0x20013, 0x20017, 0x2001b, 0x2001f,
  31131. 0x30023, 0x3002b, 0x30033, 0x3003b, 0x40043, 0x40053, 0x40063, 0x40073,
  31132. 0x50083, 0x500a3, 0x500c3, 0x500e3, 0x00102, 0x00102, 0x00102
  31133. ]);
  31134. var distDecode = new Uint32Array([
  31135. 0x00001, 0x00002, 0x00003, 0x00004, 0x10005, 0x10007, 0x20009, 0x2000d,
  31136. 0x30011, 0x30019, 0x40021, 0x40031, 0x50041, 0x50061, 0x60081, 0x600c1,
  31137. 0x70101, 0x70181, 0x80201, 0x80301, 0x90401, 0x90601, 0xa0801, 0xa0c01,
  31138. 0xb1001, 0xb1801, 0xc2001, 0xc3001, 0xd4001, 0xd6001
  31139. ]);
  31140. var fixedLitCodeTab = [new Uint32Array([
  31141. 0x70100, 0x80050, 0x80010, 0x80118, 0x70110, 0x80070, 0x80030, 0x900c0,
  31142. 0x70108, 0x80060, 0x80020, 0x900a0, 0x80000, 0x80080, 0x80040, 0x900e0,
  31143. 0x70104, 0x80058, 0x80018, 0x90090, 0x70114, 0x80078, 0x80038, 0x900d0,
  31144. 0x7010c, 0x80068, 0x80028, 0x900b0, 0x80008, 0x80088, 0x80048, 0x900f0,
  31145. 0x70102, 0x80054, 0x80014, 0x8011c, 0x70112, 0x80074, 0x80034, 0x900c8,
  31146. 0x7010a, 0x80064, 0x80024, 0x900a8, 0x80004, 0x80084, 0x80044, 0x900e8,
  31147. 0x70106, 0x8005c, 0x8001c, 0x90098, 0x70116, 0x8007c, 0x8003c, 0x900d8,
  31148. 0x7010e, 0x8006c, 0x8002c, 0x900b8, 0x8000c, 0x8008c, 0x8004c, 0x900f8,
  31149. 0x70101, 0x80052, 0x80012, 0x8011a, 0x70111, 0x80072, 0x80032, 0x900c4,
  31150. 0x70109, 0x80062, 0x80022, 0x900a4, 0x80002, 0x80082, 0x80042, 0x900e4,
  31151. 0x70105, 0x8005a, 0x8001a, 0x90094, 0x70115, 0x8007a, 0x8003a, 0x900d4,
  31152. 0x7010d, 0x8006a, 0x8002a, 0x900b4, 0x8000a, 0x8008a, 0x8004a, 0x900f4,
  31153. 0x70103, 0x80056, 0x80016, 0x8011e, 0x70113, 0x80076, 0x80036, 0x900cc,
  31154. 0x7010b, 0x80066, 0x80026, 0x900ac, 0x80006, 0x80086, 0x80046, 0x900ec,
  31155. 0x70107, 0x8005e, 0x8001e, 0x9009c, 0x70117, 0x8007e, 0x8003e, 0x900dc,
  31156. 0x7010f, 0x8006e, 0x8002e, 0x900bc, 0x8000e, 0x8008e, 0x8004e, 0x900fc,
  31157. 0x70100, 0x80051, 0x80011, 0x80119, 0x70110, 0x80071, 0x80031, 0x900c2,
  31158. 0x70108, 0x80061, 0x80021, 0x900a2, 0x80001, 0x80081, 0x80041, 0x900e2,
  31159. 0x70104, 0x80059, 0x80019, 0x90092, 0x70114, 0x80079, 0x80039, 0x900d2,
  31160. 0x7010c, 0x80069, 0x80029, 0x900b2, 0x80009, 0x80089, 0x80049, 0x900f2,
  31161. 0x70102, 0x80055, 0x80015, 0x8011d, 0x70112, 0x80075, 0x80035, 0x900ca,
  31162. 0x7010a, 0x80065, 0x80025, 0x900aa, 0x80005, 0x80085, 0x80045, 0x900ea,
  31163. 0x70106, 0x8005d, 0x8001d, 0x9009a, 0x70116, 0x8007d, 0x8003d, 0x900da,
  31164. 0x7010e, 0x8006d, 0x8002d, 0x900ba, 0x8000d, 0x8008d, 0x8004d, 0x900fa,
  31165. 0x70101, 0x80053, 0x80013, 0x8011b, 0x70111, 0x80073, 0x80033, 0x900c6,
  31166. 0x70109, 0x80063, 0x80023, 0x900a6, 0x80003, 0x80083, 0x80043, 0x900e6,
  31167. 0x70105, 0x8005b, 0x8001b, 0x90096, 0x70115, 0x8007b, 0x8003b, 0x900d6,
  31168. 0x7010d, 0x8006b, 0x8002b, 0x900b6, 0x8000b, 0x8008b, 0x8004b, 0x900f6,
  31169. 0x70103, 0x80057, 0x80017, 0x8011f, 0x70113, 0x80077, 0x80037, 0x900ce,
  31170. 0x7010b, 0x80067, 0x80027, 0x900ae, 0x80007, 0x80087, 0x80047, 0x900ee,
  31171. 0x70107, 0x8005f, 0x8001f, 0x9009e, 0x70117, 0x8007f, 0x8003f, 0x900de,
  31172. 0x7010f, 0x8006f, 0x8002f, 0x900be, 0x8000f, 0x8008f, 0x8004f, 0x900fe,
  31173. 0x70100, 0x80050, 0x80010, 0x80118, 0x70110, 0x80070, 0x80030, 0x900c1,
  31174. 0x70108, 0x80060, 0x80020, 0x900a1, 0x80000, 0x80080, 0x80040, 0x900e1,
  31175. 0x70104, 0x80058, 0x80018, 0x90091, 0x70114, 0x80078, 0x80038, 0x900d1,
  31176. 0x7010c, 0x80068, 0x80028, 0x900b1, 0x80008, 0x80088, 0x80048, 0x900f1,
  31177. 0x70102, 0x80054, 0x80014, 0x8011c, 0x70112, 0x80074, 0x80034, 0x900c9,
  31178. 0x7010a, 0x80064, 0x80024, 0x900a9, 0x80004, 0x80084, 0x80044, 0x900e9,
  31179. 0x70106, 0x8005c, 0x8001c, 0x90099, 0x70116, 0x8007c, 0x8003c, 0x900d9,
  31180. 0x7010e, 0x8006c, 0x8002c, 0x900b9, 0x8000c, 0x8008c, 0x8004c, 0x900f9,
  31181. 0x70101, 0x80052, 0x80012, 0x8011a, 0x70111, 0x80072, 0x80032, 0x900c5,
  31182. 0x70109, 0x80062, 0x80022, 0x900a5, 0x80002, 0x80082, 0x80042, 0x900e5,
  31183. 0x70105, 0x8005a, 0x8001a, 0x90095, 0x70115, 0x8007a, 0x8003a, 0x900d5,
  31184. 0x7010d, 0x8006a, 0x8002a, 0x900b5, 0x8000a, 0x8008a, 0x8004a, 0x900f5,
  31185. 0x70103, 0x80056, 0x80016, 0x8011e, 0x70113, 0x80076, 0x80036, 0x900cd,
  31186. 0x7010b, 0x80066, 0x80026, 0x900ad, 0x80006, 0x80086, 0x80046, 0x900ed,
  31187. 0x70107, 0x8005e, 0x8001e, 0x9009d, 0x70117, 0x8007e, 0x8003e, 0x900dd,
  31188. 0x7010f, 0x8006e, 0x8002e, 0x900bd, 0x8000e, 0x8008e, 0x8004e, 0x900fd,
  31189. 0x70100, 0x80051, 0x80011, 0x80119, 0x70110, 0x80071, 0x80031, 0x900c3,
  31190. 0x70108, 0x80061, 0x80021, 0x900a3, 0x80001, 0x80081, 0x80041, 0x900e3,
  31191. 0x70104, 0x80059, 0x80019, 0x90093, 0x70114, 0x80079, 0x80039, 0x900d3,
  31192. 0x7010c, 0x80069, 0x80029, 0x900b3, 0x80009, 0x80089, 0x80049, 0x900f3,
  31193. 0x70102, 0x80055, 0x80015, 0x8011d, 0x70112, 0x80075, 0x80035, 0x900cb,
  31194. 0x7010a, 0x80065, 0x80025, 0x900ab, 0x80005, 0x80085, 0x80045, 0x900eb,
  31195. 0x70106, 0x8005d, 0x8001d, 0x9009b, 0x70116, 0x8007d, 0x8003d, 0x900db,
  31196. 0x7010e, 0x8006d, 0x8002d, 0x900bb, 0x8000d, 0x8008d, 0x8004d, 0x900fb,
  31197. 0x70101, 0x80053, 0x80013, 0x8011b, 0x70111, 0x80073, 0x80033, 0x900c7,
  31198. 0x70109, 0x80063, 0x80023, 0x900a7, 0x80003, 0x80083, 0x80043, 0x900e7,
  31199. 0x70105, 0x8005b, 0x8001b, 0x90097, 0x70115, 0x8007b, 0x8003b, 0x900d7,
  31200. 0x7010d, 0x8006b, 0x8002b, 0x900b7, 0x8000b, 0x8008b, 0x8004b, 0x900f7,
  31201. 0x70103, 0x80057, 0x80017, 0x8011f, 0x70113, 0x80077, 0x80037, 0x900cf,
  31202. 0x7010b, 0x80067, 0x80027, 0x900af, 0x80007, 0x80087, 0x80047, 0x900ef,
  31203. 0x70107, 0x8005f, 0x8001f, 0x9009f, 0x70117, 0x8007f, 0x8003f, 0x900df,
  31204. 0x7010f, 0x8006f, 0x8002f, 0x900bf, 0x8000f, 0x8008f, 0x8004f, 0x900ff
  31205. ]), 9];
  31206. var fixedDistCodeTab = [new Uint32Array([
  31207. 0x50000, 0x50010, 0x50008, 0x50018, 0x50004, 0x50014, 0x5000c, 0x5001c,
  31208. 0x50002, 0x50012, 0x5000a, 0x5001a, 0x50006, 0x50016, 0x5000e, 0x00000,
  31209. 0x50001, 0x50011, 0x50009, 0x50019, 0x50005, 0x50015, 0x5000d, 0x5001d,
  31210. 0x50003, 0x50013, 0x5000b, 0x5001b, 0x50007, 0x50017, 0x5000f, 0x00000
  31211. ]), 5];
  31212. function FlateStream(stream) {
  31213. var bytes = stream.getBytes();
  31214. var bytesPos = 0;
  31215. this.dict = stream.dict;
  31216. var cmf = bytes[bytesPos++];
  31217. var flg = bytes[bytesPos++];
  31218. if (cmf == -1 || flg == -1)
  31219. error('Invalid header in flate stream: ' + cmf + ', ' + flg);
  31220. if ((cmf & 0x0f) != 0x08)
  31221. error('Unknown compression method in flate stream: ' + cmf + ', ' + flg);
  31222. if ((((cmf << 8) + flg) % 31) !== 0)
  31223. error('Bad FCHECK in flate stream: ' + cmf + ', ' + flg);
  31224. if (flg & 0x20)
  31225. error('FDICT bit set in flate stream: ' + cmf + ', ' + flg);
  31226. this.bytes = bytes;
  31227. this.bytesPos = bytesPos;
  31228. this.codeSize = 0;
  31229. this.codeBuf = 0;
  31230. DecodeStream.call(this);
  31231. }
  31232. FlateStream.prototype = Object.create(DecodeStream.prototype);
  31233. FlateStream.prototype.getBits = function FlateStream_getBits(bits) {
  31234. var codeSize = this.codeSize;
  31235. var codeBuf = this.codeBuf;
  31236. var bytes = this.bytes;
  31237. var bytesPos = this.bytesPos;
  31238. var b;
  31239. while (codeSize < bits) {
  31240. if (typeof (b = bytes[bytesPos++]) == 'undefined')
  31241. error('Bad encoding in flate stream');
  31242. codeBuf |= b << codeSize;
  31243. codeSize += 8;
  31244. }
  31245. b = codeBuf & ((1 << bits) - 1);
  31246. this.codeBuf = codeBuf >> bits;
  31247. this.codeSize = codeSize -= bits;
  31248. this.bytesPos = bytesPos;
  31249. return b;
  31250. };
  31251. FlateStream.prototype.getCode = function FlateStream_getCode(table) {
  31252. var codes = table[0];
  31253. var maxLen = table[1];
  31254. var codeSize = this.codeSize;
  31255. var codeBuf = this.codeBuf;
  31256. var bytes = this.bytes;
  31257. var bytesPos = this.bytesPos;
  31258. while (codeSize < maxLen) {
  31259. var b;
  31260. if (typeof (b = bytes[bytesPos++]) == 'undefined')
  31261. error('Bad encoding in flate stream');
  31262. codeBuf |= (b << codeSize);
  31263. codeSize += 8;
  31264. }
  31265. var code = codes[codeBuf & ((1 << maxLen) - 1)];
  31266. var codeLen = code >> 16;
  31267. var codeVal = code & 0xffff;
  31268. if (codeSize === 0 || codeSize < codeLen || codeLen === 0)
  31269. error('Bad encoding in flate stream');
  31270. this.codeBuf = (codeBuf >> codeLen);
  31271. this.codeSize = (codeSize - codeLen);
  31272. this.bytesPos = bytesPos;
  31273. return codeVal;
  31274. };
  31275. FlateStream.prototype.generateHuffmanTable =
  31276. function flateStreamGenerateHuffmanTable(lengths) {
  31277. var n = lengths.length;
  31278. // find max code length
  31279. var maxLen = 0;
  31280. for (var i = 0; i < n; ++i) {
  31281. if (lengths[i] > maxLen)
  31282. maxLen = lengths[i];
  31283. }
  31284. // build the table
  31285. var size = 1 << maxLen;
  31286. var codes = new Uint32Array(size);
  31287. for (var len = 1, code = 0, skip = 2;
  31288. len <= maxLen;
  31289. ++len, code <<= 1, skip <<= 1) {
  31290. for (var val = 0; val < n; ++val) {
  31291. if (lengths[val] == len) {
  31292. // bit-reverse the code
  31293. var code2 = 0;
  31294. var t = code;
  31295. for (var i = 0; i < len; ++i) {
  31296. code2 = (code2 << 1) | (t & 1);
  31297. t >>= 1;
  31298. }
  31299. // fill the table entries
  31300. for (var i = code2; i < size; i += skip)
  31301. codes[i] = (len << 16) | val;
  31302. ++code;
  31303. }
  31304. }
  31305. }
  31306. return [codes, maxLen];
  31307. };
  31308. FlateStream.prototype.readBlock = function FlateStream_readBlock() {
  31309. // read block header
  31310. var hdr = this.getBits(3);
  31311. if (hdr & 1)
  31312. this.eof = true;
  31313. hdr >>= 1;
  31314. if (hdr === 0) { // uncompressed block
  31315. var bytes = this.bytes;
  31316. var bytesPos = this.bytesPos;
  31317. var b;
  31318. if (typeof (b = bytes[bytesPos++]) == 'undefined')
  31319. error('Bad block header in flate stream');
  31320. var blockLen = b;
  31321. if (typeof (b = bytes[bytesPos++]) == 'undefined')
  31322. error('Bad block header in flate stream');
  31323. blockLen |= (b << 8);
  31324. if (typeof (b = bytes[bytesPos++]) == 'undefined')
  31325. error('Bad block header in flate stream');
  31326. var check = b;
  31327. if (typeof (b = bytes[bytesPos++]) == 'undefined')
  31328. error('Bad block header in flate stream');
  31329. check |= (b << 8);
  31330. if (check != (~blockLen & 0xffff) &&
  31331. (blockLen !== 0 || check !== 0)) {
  31332. // Ignoring error for bad "empty" block (see issue 1277)
  31333. error('Bad uncompressed block length in flate stream');
  31334. }
  31335. this.codeBuf = 0;
  31336. this.codeSize = 0;
  31337. var bufferLength = this.bufferLength;
  31338. var buffer = this.ensureBuffer(bufferLength + blockLen);
  31339. var end = bufferLength + blockLen;
  31340. this.bufferLength = end;
  31341. if (blockLen === 0) {
  31342. if (typeof bytes[bytesPos] == 'undefined') {
  31343. this.eof = true;
  31344. }
  31345. } else {
  31346. for (var n = bufferLength; n < end; ++n) {
  31347. if (typeof (b = bytes[bytesPos++]) == 'undefined') {
  31348. this.eof = true;
  31349. break;
  31350. }
  31351. buffer[n] = b;
  31352. }
  31353. }
  31354. this.bytesPos = bytesPos;
  31355. return;
  31356. }
  31357. var litCodeTable;
  31358. var distCodeTable;
  31359. if (hdr == 1) { // compressed block, fixed codes
  31360. litCodeTable = fixedLitCodeTab;
  31361. distCodeTable = fixedDistCodeTab;
  31362. } else if (hdr == 2) { // compressed block, dynamic codes
  31363. var numLitCodes = this.getBits(5) + 257;
  31364. var numDistCodes = this.getBits(5) + 1;
  31365. var numCodeLenCodes = this.getBits(4) + 4;
  31366. // build the code lengths code table
  31367. var codeLenCodeLengths = new Uint8Array(codeLenCodeMap.length);
  31368. for (var i = 0; i < numCodeLenCodes; ++i)
  31369. codeLenCodeLengths[codeLenCodeMap[i]] = this.getBits(3);
  31370. var codeLenCodeTab = this.generateHuffmanTable(codeLenCodeLengths);
  31371. // build the literal and distance code tables
  31372. var len = 0;
  31373. var i = 0;
  31374. var codes = numLitCodes + numDistCodes;
  31375. var codeLengths = new Uint8Array(codes);
  31376. while (i < codes) {
  31377. var code = this.getCode(codeLenCodeTab);
  31378. if (code == 16) {
  31379. var bitsLength = 2, bitsOffset = 3, what = len;
  31380. } else if (code == 17) {
  31381. var bitsLength = 3, bitsOffset = 3, what = (len = 0);
  31382. } else if (code == 18) {
  31383. var bitsLength = 7, bitsOffset = 11, what = (len = 0);
  31384. } else {
  31385. codeLengths[i++] = len = code;
  31386. continue;
  31387. }
  31388. var repeatLength = this.getBits(bitsLength) + bitsOffset;
  31389. while (repeatLength-- > 0)
  31390. codeLengths[i++] = what;
  31391. }
  31392. litCodeTable =
  31393. this.generateHuffmanTable(codeLengths.subarray(0, numLitCodes));
  31394. distCodeTable =
  31395. this.generateHuffmanTable(codeLengths.subarray(numLitCodes, codes));
  31396. } else {
  31397. error('Unknown block type in flate stream');
  31398. }
  31399. var buffer = this.buffer;
  31400. var limit = buffer ? buffer.length : 0;
  31401. var pos = this.bufferLength;
  31402. while (true) {
  31403. var code1 = this.getCode(litCodeTable);
  31404. if (code1 < 256) {
  31405. if (pos + 1 >= limit) {
  31406. buffer = this.ensureBuffer(pos + 1);
  31407. limit = buffer.length;
  31408. }
  31409. buffer[pos++] = code1;
  31410. continue;
  31411. }
  31412. if (code1 == 256) {
  31413. this.bufferLength = pos;
  31414. return;
  31415. }
  31416. code1 -= 257;
  31417. code1 = lengthDecode[code1];
  31418. var code2 = code1 >> 16;
  31419. if (code2 > 0)
  31420. code2 = this.getBits(code2);
  31421. var len = (code1 & 0xffff) + code2;
  31422. code1 = this.getCode(distCodeTable);
  31423. code1 = distDecode[code1];
  31424. code2 = code1 >> 16;
  31425. if (code2 > 0)
  31426. code2 = this.getBits(code2);
  31427. var dist = (code1 & 0xffff) + code2;
  31428. if (pos + len >= limit) {
  31429. buffer = this.ensureBuffer(pos + len);
  31430. limit = buffer.length;
  31431. }
  31432. for (var k = 0; k < len; ++k, ++pos)
  31433. buffer[pos] = buffer[pos - dist];
  31434. }
  31435. };
  31436. return FlateStream;
  31437. })();
  31438. var PredictorStream = (function PredictorStreamClosure() {
  31439. function PredictorStream(str, params) {
  31440. var predictor = this.predictor = params.get('Predictor') || 1;
  31441. if (predictor <= 1)
  31442. return str; // no prediction
  31443. if (predictor !== 2 && (predictor < 10 || predictor > 15))
  31444. error('Unsupported predictor: ' + predictor);
  31445. if (predictor === 2)
  31446. this.readBlock = this.readBlockTiff;
  31447. else
  31448. this.readBlock = this.readBlockPng;
  31449. this.str = str;
  31450. this.dict = str.dict;
  31451. var colors = this.colors = params.get('Colors') || 1;
  31452. var bits = this.bits = params.get('BitsPerComponent') || 8;
  31453. var columns = this.columns = params.get('Columns') || 1;
  31454. this.pixBytes = (colors * bits + 7) >> 3;
  31455. this.rowBytes = (columns * colors * bits + 7) >> 3;
  31456. DecodeStream.call(this);
  31457. return this;
  31458. }
  31459. PredictorStream.prototype = Object.create(DecodeStream.prototype);
  31460. PredictorStream.prototype.readBlockTiff =
  31461. function predictorStreamReadBlockTiff() {
  31462. var rowBytes = this.rowBytes;
  31463. var bufferLength = this.bufferLength;
  31464. var buffer = this.ensureBuffer(bufferLength + rowBytes);
  31465. var bits = this.bits;
  31466. var colors = this.colors;
  31467. var rawBytes = this.str.getBytes(rowBytes);
  31468. this.eof = !rawBytes.length;
  31469. if (this.eof) {
  31470. return;
  31471. }
  31472. var inbuf = 0, outbuf = 0;
  31473. var inbits = 0, outbits = 0;
  31474. var pos = bufferLength;
  31475. if (bits === 1) {
  31476. for (var i = 0; i < rowBytes; ++i) {
  31477. var c = rawBytes[i];
  31478. inbuf = (inbuf << 8) | c;
  31479. // bitwise addition is exclusive or
  31480. // first shift inbuf and then add
  31481. buffer[pos++] = (c ^ (inbuf >> colors)) & 0xFF;
  31482. // truncate inbuf (assumes colors < 16)
  31483. inbuf &= 0xFFFF;
  31484. }
  31485. } else if (bits === 8) {
  31486. for (var i = 0; i < colors; ++i)
  31487. buffer[pos++] = rawBytes[i];
  31488. for (; i < rowBytes; ++i) {
  31489. buffer[pos] = buffer[pos - colors] + rawBytes[i];
  31490. pos++;
  31491. }
  31492. } else {
  31493. var compArray = new Uint8Array(colors + 1);
  31494. var bitMask = (1 << bits) - 1;
  31495. var j = 0, k = bufferLength;
  31496. var columns = this.columns;
  31497. for (var i = 0; i < columns; ++i) {
  31498. for (var kk = 0; kk < colors; ++kk) {
  31499. if (inbits < bits) {
  31500. inbuf = (inbuf << 8) | (rawBytes[j++] & 0xFF);
  31501. inbits += 8;
  31502. }
  31503. compArray[kk] = (compArray[kk] +
  31504. (inbuf >> (inbits - bits))) & bitMask;
  31505. inbits -= bits;
  31506. outbuf = (outbuf << bits) | compArray[kk];
  31507. outbits += bits;
  31508. if (outbits >= 8) {
  31509. buffer[k++] = (outbuf >> (outbits - 8)) & 0xFF;
  31510. outbits -= 8;
  31511. }
  31512. }
  31513. }
  31514. if (outbits > 0) {
  31515. buffer[k++] = (outbuf << (8 - outbits)) +
  31516. (inbuf & ((1 << (8 - outbits)) - 1));
  31517. }
  31518. }
  31519. this.bufferLength += rowBytes;
  31520. };
  31521. PredictorStream.prototype.readBlockPng =
  31522. function predictorStreamReadBlockPng() {
  31523. var rowBytes = this.rowBytes;
  31524. var pixBytes = this.pixBytes;
  31525. var predictor = this.str.getByte();
  31526. var rawBytes = this.str.getBytes(rowBytes);
  31527. this.eof = !rawBytes.length;
  31528. if (this.eof) {
  31529. return;
  31530. }
  31531. var bufferLength = this.bufferLength;
  31532. var buffer = this.ensureBuffer(bufferLength + rowBytes);
  31533. var prevRow = buffer.subarray(bufferLength - rowBytes, bufferLength);
  31534. if (prevRow.length === 0)
  31535. prevRow = new Uint8Array(rowBytes);
  31536. var j = bufferLength;
  31537. switch (predictor) {
  31538. case 0:
  31539. for (var i = 0; i < rowBytes; ++i)
  31540. buffer[j++] = rawBytes[i];
  31541. break;
  31542. case 1:
  31543. for (var i = 0; i < pixBytes; ++i)
  31544. buffer[j++] = rawBytes[i];
  31545. for (; i < rowBytes; ++i) {
  31546. buffer[j] = (buffer[j - pixBytes] + rawBytes[i]) & 0xFF;
  31547. j++;
  31548. }
  31549. break;
  31550. case 2:
  31551. for (var i = 0; i < rowBytes; ++i)
  31552. buffer[j++] = (prevRow[i] + rawBytes[i]) & 0xFF;
  31553. break;
  31554. case 3:
  31555. for (var i = 0; i < pixBytes; ++i)
  31556. buffer[j++] = (prevRow[i] >> 1) + rawBytes[i];
  31557. for (; i < rowBytes; ++i) {
  31558. buffer[j] = (((prevRow[i] + buffer[j - pixBytes]) >> 1) +
  31559. rawBytes[i]) & 0xFF;
  31560. j++;
  31561. }
  31562. break;
  31563. case 4:
  31564. // we need to save the up left pixels values. the simplest way
  31565. // is to create a new buffer
  31566. for (var i = 0; i < pixBytes; ++i) {
  31567. var up = prevRow[i];
  31568. var c = rawBytes[i];
  31569. buffer[j++] = up + c;
  31570. }
  31571. for (; i < rowBytes; ++i) {
  31572. var up = prevRow[i];
  31573. var upLeft = prevRow[i - pixBytes];
  31574. var left = buffer[j - pixBytes];
  31575. var p = left + up - upLeft;
  31576. var pa = p - left;
  31577. if (pa < 0)
  31578. pa = -pa;
  31579. var pb = p - up;
  31580. if (pb < 0)
  31581. pb = -pb;
  31582. var pc = p - upLeft;
  31583. if (pc < 0)
  31584. pc = -pc;
  31585. var c = rawBytes[i];
  31586. if (pa <= pb && pa <= pc)
  31587. buffer[j++] = left + c;
  31588. else if (pb <= pc)
  31589. buffer[j++] = up + c;
  31590. else
  31591. buffer[j++] = upLeft + c;
  31592. }
  31593. break;
  31594. default:
  31595. error('Unsupported predictor: ' + predictor);
  31596. }
  31597. this.bufferLength += rowBytes;
  31598. };
  31599. return PredictorStream;
  31600. })();
  31601. /**
  31602. * Depending on the type of JPEG a JpegStream is handled in different ways. For
  31603. * JPEG's that are supported natively such as DeviceGray and DeviceRGB the image
  31604. * data is stored and then loaded by the browser. For unsupported JPEG's we use
  31605. * a library to decode these images and the stream behaves like all the other
  31606. * DecodeStreams.
  31607. */
  31608. var JpegStream = (function JpegStreamClosure() {
  31609. function JpegStream(bytes, dict, xref) {
  31610. // TODO: per poppler, some images may have 'junk' before that
  31611. // need to be removed
  31612. this.dict = dict;
  31613. this.bytes = bytes;
  31614. DecodeStream.call(this);
  31615. }
  31616. JpegStream.prototype = Object.create(DecodeStream.prototype);
  31617. JpegStream.prototype.ensureBuffer = function JpegStream_ensureBuffer(req) {
  31618. if (this.bufferLength)
  31619. return;
  31620. try {
  31621. var jpegImage = new JpegImage();
  31622. if (this.colorTransform != -1)
  31623. jpegImage.colorTransform = this.colorTransform;
  31624. jpegImage.parse(this.bytes);
  31625. var width = jpegImage.width;
  31626. var height = jpegImage.height;
  31627. var data = jpegImage.getData(width, height);
  31628. this.buffer = data;
  31629. this.bufferLength = data.length;
  31630. this.eof = true;
  31631. } catch (e) {
  31632. error('JPEG error: ' + e);
  31633. }
  31634. };
  31635. JpegStream.prototype.getIR = function JpegStream_getIR() {
  31636. return PDFJS.createObjectURL(this.bytes, 'image/jpeg');
  31637. };
  31638. /**
  31639. * Checks if the image can be decoded and displayed by the browser without any
  31640. * further processing such as color space conversions.
  31641. */
  31642. JpegStream.prototype.isNativelySupported =
  31643. function JpegStream_isNativelySupported(xref, res) {
  31644. var cs = ColorSpace.parse(this.dict.get('ColorSpace', 'CS'), xref, res);
  31645. return cs.name === 'DeviceGray' || cs.name === 'DeviceRGB';
  31646. };
  31647. /**
  31648. * Checks if the image can be decoded by the browser.
  31649. */
  31650. JpegStream.prototype.isNativelyDecodable =
  31651. function JpegStream_isNativelyDecodable(xref, res) {
  31652. var cs = ColorSpace.parse(this.dict.get('ColorSpace', 'CS'), xref, res);
  31653. var numComps = cs.numComps;
  31654. return numComps == 1 || numComps == 3;
  31655. };
  31656. return JpegStream;
  31657. })();
  31658. /**
  31659. * For JPEG 2000's we use a library to decode these images and
  31660. * the stream behaves like all the other DecodeStreams.
  31661. */
  31662. var JpxStream = (function JpxStreamClosure() {
  31663. function JpxStream(bytes, dict) {
  31664. this.dict = dict;
  31665. this.bytes = bytes;
  31666. DecodeStream.call(this);
  31667. }
  31668. JpxStream.prototype = Object.create(DecodeStream.prototype);
  31669. JpxStream.prototype.ensureBuffer = function JpxStream_ensureBuffer(req) {
  31670. if (this.bufferLength)
  31671. return;
  31672. var jpxImage = new JpxImage();
  31673. jpxImage.parse(this.bytes);
  31674. var width = jpxImage.width;
  31675. var height = jpxImage.height;
  31676. var componentsCount = jpxImage.componentsCount;
  31677. if (componentsCount != 1 && componentsCount != 3 && componentsCount != 4)
  31678. error('JPX with ' + componentsCount + ' components is not supported');
  31679. var data = new Uint8Array(width * height * componentsCount);
  31680. for (var k = 0, kk = jpxImage.tiles.length; k < kk; k++) {
  31681. var tileCompoments = jpxImage.tiles[k];
  31682. var tileWidth = tileCompoments[0].width;
  31683. var tileHeight = tileCompoments[0].height;
  31684. var tileLeft = tileCompoments[0].left;
  31685. var tileTop = tileCompoments[0].top;
  31686. var dataPosition, sourcePosition, data0, data1, data2, data3, rowFeed;
  31687. switch (componentsCount) {
  31688. case 1:
  31689. data0 = tileCompoments[0].items;
  31690. dataPosition = width * tileTop + tileLeft;
  31691. rowFeed = width - tileWidth;
  31692. sourcePosition = 0;
  31693. for (var j = 0; j < tileHeight; j++) {
  31694. for (var i = 0; i < tileWidth; i++)
  31695. data[dataPosition++] = data0[sourcePosition++];
  31696. dataPosition += rowFeed;
  31697. }
  31698. break;
  31699. case 3:
  31700. data0 = tileCompoments[0].items;
  31701. data1 = tileCompoments[1].items;
  31702. data2 = tileCompoments[2].items;
  31703. dataPosition = (width * tileTop + tileLeft) * 3;
  31704. rowFeed = (width - tileWidth) * 3;
  31705. sourcePosition = 0;
  31706. for (var j = 0; j < tileHeight; j++) {
  31707. for (var i = 0; i < tileWidth; i++) {
  31708. data[dataPosition++] = data0[sourcePosition];
  31709. data[dataPosition++] = data1[sourcePosition];
  31710. data[dataPosition++] = data2[sourcePosition];
  31711. sourcePosition++;
  31712. }
  31713. dataPosition += rowFeed;
  31714. }
  31715. break;
  31716. case 4:
  31717. data0 = tileCompoments[0].items;
  31718. data1 = tileCompoments[1].items;
  31719. data2 = tileCompoments[2].items;
  31720. data3 = tileCompoments[3].items;
  31721. dataPosition = (width * tileTop + tileLeft) * 4;
  31722. rowFeed = (width - tileWidth) * 4;
  31723. sourcePosition = 0;
  31724. for (var j = 0; j < tileHeight; j++) {
  31725. for (var i = 0; i < tileWidth; i++) {
  31726. data[dataPosition++] = data0[sourcePosition];
  31727. data[dataPosition++] = data1[sourcePosition];
  31728. data[dataPosition++] = data2[sourcePosition];
  31729. data[dataPosition++] = data3[sourcePosition];
  31730. sourcePosition++;
  31731. }
  31732. dataPosition += rowFeed;
  31733. }
  31734. break;
  31735. }
  31736. }
  31737. this.buffer = data;
  31738. this.bufferLength = data.length;
  31739. this.eof = true;
  31740. };
  31741. return JpxStream;
  31742. })();
  31743. /**
  31744. * For JBIG2's we use a library to decode these images and
  31745. * the stream behaves like all the other DecodeStreams.
  31746. */
  31747. var Jbig2Stream = (function Jbig2StreamClosure() {
  31748. function Jbig2Stream(bytes, dict) {
  31749. this.dict = dict;
  31750. this.bytes = bytes;
  31751. DecodeStream.call(this);
  31752. }
  31753. Jbig2Stream.prototype = Object.create(DecodeStream.prototype);
  31754. Jbig2Stream.prototype.ensureBuffer = function Jbig2Stream_ensureBuffer(req) {
  31755. if (this.bufferLength)
  31756. return;
  31757. var jbig2Image = new Jbig2Image();
  31758. var chunks = [], decodeParams = this.dict.get('DecodeParms');
  31759. // According to the PDF specification, DecodeParms can be either
  31760. // a dictionary, or an array whose elements are dictionaries.
  31761. if (isArray(decodeParams)) {
  31762. if (decodeParams.length > 1) {
  31763. warn('JBIG2 - \'DecodeParms\' array with multiple elements ' +
  31764. 'not supported.');
  31765. }
  31766. decodeParams = decodeParams[0];
  31767. }
  31768. if (decodeParams && decodeParams.has('JBIG2Globals')) {
  31769. var globalsStream = decodeParams.get('JBIG2Globals');
  31770. var globals = globalsStream.getBytes();
  31771. chunks.push({data: globals, start: 0, end: globals.length});
  31772. }
  31773. chunks.push({data: this.bytes, start: 0, end: this.bytes.length});
  31774. var data = jbig2Image.parseChunks(chunks);
  31775. var dataLength = data.length;
  31776. // JBIG2 had black as 1 and white as 0, inverting the colors
  31777. for (var i = 0; i < dataLength; i++)
  31778. data[i] ^= 0xFF;
  31779. this.buffer = data;
  31780. this.bufferLength = dataLength;
  31781. this.eof = true;
  31782. };
  31783. return Jbig2Stream;
  31784. })();
  31785. var DecryptStream = (function DecryptStreamClosure() {
  31786. function DecryptStream(str, decrypt) {
  31787. this.str = str;
  31788. this.dict = str.dict;
  31789. this.decrypt = decrypt;
  31790. this.nextChunk = null;
  31791. this.initialized = false;
  31792. DecodeStream.call(this);
  31793. }
  31794. var chunkSize = 512;
  31795. DecryptStream.prototype = Object.create(DecodeStream.prototype);
  31796. DecryptStream.prototype.readBlock = function DecryptStream_readBlock() {
  31797. var chunk;
  31798. if (this.initialized) {
  31799. chunk = this.nextChunk;
  31800. } else {
  31801. chunk = this.str.getBytes(chunkSize);
  31802. this.initialized = true;
  31803. }
  31804. if (!chunk || chunk.length === 0) {
  31805. this.eof = true;
  31806. return;
  31807. }
  31808. this.nextChunk = this.str.getBytes(chunkSize);
  31809. var hasMoreData = this.nextChunk && this.nextChunk.length > 0;
  31810. var decrypt = this.decrypt;
  31811. chunk = decrypt(chunk, !hasMoreData);
  31812. var bufferLength = this.bufferLength;
  31813. var i, n = chunk.length;
  31814. var buffer = this.ensureBuffer(bufferLength + n);
  31815. for (i = 0; i < n; i++)
  31816. buffer[bufferLength++] = chunk[i];
  31817. this.bufferLength = bufferLength;
  31818. };
  31819. return DecryptStream;
  31820. })();
  31821. var Ascii85Stream = (function Ascii85StreamClosure() {
  31822. function Ascii85Stream(str) {
  31823. this.str = str;
  31824. this.dict = str.dict;
  31825. this.input = new Uint8Array(5);
  31826. DecodeStream.call(this);
  31827. }
  31828. Ascii85Stream.prototype = Object.create(DecodeStream.prototype);
  31829. Ascii85Stream.prototype.readBlock = function Ascii85Stream_readBlock() {
  31830. var TILDA_CHAR = 0x7E; // '~'
  31831. var Z_LOWER_CHAR = 0x7A; // 'z'
  31832. var EOF = -1;
  31833. var str = this.str;
  31834. var c = str.getByte();
  31835. while (Lexer.isSpace(c)) {
  31836. c = str.getByte();
  31837. }
  31838. if (c === EOF || c === TILDA_CHAR) {
  31839. this.eof = true;
  31840. return;
  31841. }
  31842. var bufferLength = this.bufferLength, buffer;
  31843. // special code for z
  31844. if (c == Z_LOWER_CHAR) {
  31845. buffer = this.ensureBuffer(bufferLength + 4);
  31846. for (var i = 0; i < 4; ++i)
  31847. buffer[bufferLength + i] = 0;
  31848. this.bufferLength += 4;
  31849. } else {
  31850. var input = this.input;
  31851. input[0] = c;
  31852. for (var i = 1; i < 5; ++i) {
  31853. c = str.getByte();
  31854. while (Lexer.isSpace(c)) {
  31855. c = str.getByte();
  31856. }
  31857. input[i] = c;
  31858. if (c === EOF || c == TILDA_CHAR)
  31859. break;
  31860. }
  31861. buffer = this.ensureBuffer(bufferLength + i - 1);
  31862. this.bufferLength += i - 1;
  31863. // partial ending;
  31864. if (i < 5) {
  31865. for (; i < 5; ++i)
  31866. input[i] = 0x21 + 84;
  31867. this.eof = true;
  31868. }
  31869. var t = 0;
  31870. for (var i = 0; i < 5; ++i)
  31871. t = t * 85 + (input[i] - 0x21);
  31872. for (var i = 3; i >= 0; --i) {
  31873. buffer[bufferLength + i] = t & 0xFF;
  31874. t >>= 8;
  31875. }
  31876. }
  31877. };
  31878. return Ascii85Stream;
  31879. })();
  31880. var AsciiHexStream = (function AsciiHexStreamClosure() {
  31881. function AsciiHexStream(str) {
  31882. this.str = str;
  31883. this.dict = str.dict;
  31884. this.firstDigit = -1;
  31885. DecodeStream.call(this);
  31886. }
  31887. AsciiHexStream.prototype = Object.create(DecodeStream.prototype);
  31888. AsciiHexStream.prototype.readBlock = function AsciiHexStream_readBlock() {
  31889. var UPSTREAM_BLOCK_SIZE = 8000;
  31890. var bytes = this.str.getBytes(UPSTREAM_BLOCK_SIZE);
  31891. if (!bytes.length) {
  31892. this.eof = true;
  31893. return;
  31894. }
  31895. var maxDecodeLength = (bytes.length + 1) >> 1;
  31896. var buffer = this.ensureBuffer(this.bufferLength + maxDecodeLength);
  31897. var bufferLength = this.bufferLength;
  31898. var firstDigit = this.firstDigit;
  31899. for (var i = 0, ii = bytes.length; i < ii; i++) {
  31900. var ch = bytes[i], digit;
  31901. if (ch >= 0x30 && ch <= 0x39) { // '0'-'9'
  31902. digit = ch & 0x0F;
  31903. } else if ((ch >= 0x41 && ch <= 0x46) || (ch >= 0x61 && ch <= 0x66)) {
  31904. // 'A'-'Z', 'a'-'z'
  31905. digit = (ch & 0x0F) + 9;
  31906. } else if (ch === 0x3E) { // '>'
  31907. this.eof = true;
  31908. break;
  31909. } else { // probably whitespace
  31910. continue; // ignoring
  31911. }
  31912. if (firstDigit < 0) {
  31913. firstDigit = digit;
  31914. } else {
  31915. buffer[bufferLength++] = (firstDigit << 4) | digit;
  31916. firstDigit = -1;
  31917. }
  31918. }
  31919. if (firstDigit >= 0 && this.eof) {
  31920. // incomplete byte
  31921. buffer[bufferLength++] = (firstDigit << 4);
  31922. firstDigit = -1;
  31923. }
  31924. this.firstDigit = firstDigit;
  31925. this.bufferLength = bufferLength;
  31926. };
  31927. return AsciiHexStream;
  31928. })();
  31929. var RunLengthStream = (function RunLengthStreamClosure() {
  31930. function RunLengthStream(str) {
  31931. this.str = str;
  31932. this.dict = str.dict;
  31933. DecodeStream.call(this);
  31934. }
  31935. RunLengthStream.prototype = Object.create(DecodeStream.prototype);
  31936. RunLengthStream.prototype.readBlock = function RunLengthStream_readBlock() {
  31937. // The repeatHeader has following format. The first byte defines type of run
  31938. // and amount of bytes to repeat/copy: n = 0 through 127 - copy next n bytes
  31939. // (in addition to the second byte from the header), n = 129 through 255 -
  31940. // duplicate the second byte from the header (257 - n) times, n = 128 - end.
  31941. var repeatHeader = this.str.getBytes(2);
  31942. if (!repeatHeader || repeatHeader.length < 2 || repeatHeader[0] == 128) {
  31943. this.eof = true;
  31944. return;
  31945. }
  31946. var bufferLength = this.bufferLength;
  31947. var n = repeatHeader[0];
  31948. if (n < 128) {
  31949. // copy n bytes
  31950. var buffer = this.ensureBuffer(bufferLength + n + 1);
  31951. buffer[bufferLength++] = repeatHeader[1];
  31952. if (n > 0) {
  31953. var source = this.str.getBytes(n);
  31954. buffer.set(source, bufferLength);
  31955. bufferLength += n;
  31956. }
  31957. } else {
  31958. n = 257 - n;
  31959. var b = repeatHeader[1];
  31960. var buffer = this.ensureBuffer(bufferLength + n + 1);
  31961. for (var i = 0; i < n; i++)
  31962. buffer[bufferLength++] = b;
  31963. }
  31964. this.bufferLength = bufferLength;
  31965. };
  31966. return RunLengthStream;
  31967. })();
  31968. var CCITTFaxStream = (function CCITTFaxStreamClosure() {
  31969. var ccittEOL = -2;
  31970. var twoDimPass = 0;
  31971. var twoDimHoriz = 1;
  31972. var twoDimVert0 = 2;
  31973. var twoDimVertR1 = 3;
  31974. var twoDimVertL1 = 4;
  31975. var twoDimVertR2 = 5;
  31976. var twoDimVertL2 = 6;
  31977. var twoDimVertR3 = 7;
  31978. var twoDimVertL3 = 8;
  31979. var twoDimTable = [
  31980. [-1, -1], [-1, -1], // 000000x
  31981. [7, twoDimVertL3], // 0000010
  31982. [7, twoDimVertR3], // 0000011
  31983. [6, twoDimVertL2], [6, twoDimVertL2], // 000010x
  31984. [6, twoDimVertR2], [6, twoDimVertR2], // 000011x
  31985. [4, twoDimPass], [4, twoDimPass], // 0001xxx
  31986. [4, twoDimPass], [4, twoDimPass],
  31987. [4, twoDimPass], [4, twoDimPass],
  31988. [4, twoDimPass], [4, twoDimPass],
  31989. [3, twoDimHoriz], [3, twoDimHoriz], // 001xxxx
  31990. [3, twoDimHoriz], [3, twoDimHoriz],
  31991. [3, twoDimHoriz], [3, twoDimHoriz],
  31992. [3, twoDimHoriz], [3, twoDimHoriz],
  31993. [3, twoDimHoriz], [3, twoDimHoriz],
  31994. [3, twoDimHoriz], [3, twoDimHoriz],
  31995. [3, twoDimHoriz], [3, twoDimHoriz],
  31996. [3, twoDimHoriz], [3, twoDimHoriz],
  31997. [3, twoDimVertL1], [3, twoDimVertL1], // 010xxxx
  31998. [3, twoDimVertL1], [3, twoDimVertL1],
  31999. [3, twoDimVertL1], [3, twoDimVertL1],
  32000. [3, twoDimVertL1], [3, twoDimVertL1],
  32001. [3, twoDimVertL1], [3, twoDimVertL1],
  32002. [3, twoDimVertL1], [3, twoDimVertL1],
  32003. [3, twoDimVertL1], [3, twoDimVertL1],
  32004. [3, twoDimVertL1], [3, twoDimVertL1],
  32005. [3, twoDimVertR1], [3, twoDimVertR1], // 011xxxx
  32006. [3, twoDimVertR1], [3, twoDimVertR1],
  32007. [3, twoDimVertR1], [3, twoDimVertR1],
  32008. [3, twoDimVertR1], [3, twoDimVertR1],
  32009. [3, twoDimVertR1], [3, twoDimVertR1],
  32010. [3, twoDimVertR1], [3, twoDimVertR1],
  32011. [3, twoDimVertR1], [3, twoDimVertR1],
  32012. [3, twoDimVertR1], [3, twoDimVertR1],
  32013. [1, twoDimVert0], [1, twoDimVert0], // 1xxxxxx
  32014. [1, twoDimVert0], [1, twoDimVert0],
  32015. [1, twoDimVert0], [1, twoDimVert0],
  32016. [1, twoDimVert0], [1, twoDimVert0],
  32017. [1, twoDimVert0], [1, twoDimVert0],
  32018. [1, twoDimVert0], [1, twoDimVert0],
  32019. [1, twoDimVert0], [1, twoDimVert0],
  32020. [1, twoDimVert0], [1, twoDimVert0],
  32021. [1, twoDimVert0], [1, twoDimVert0],
  32022. [1, twoDimVert0], [1, twoDimVert0],
  32023. [1, twoDimVert0], [1, twoDimVert0],
  32024. [1, twoDimVert0], [1, twoDimVert0],
  32025. [1, twoDimVert0], [1, twoDimVert0],
  32026. [1, twoDimVert0], [1, twoDimVert0],
  32027. [1, twoDimVert0], [1, twoDimVert0],
  32028. [1, twoDimVert0], [1, twoDimVert0],
  32029. [1, twoDimVert0], [1, twoDimVert0],
  32030. [1, twoDimVert0], [1, twoDimVert0],
  32031. [1, twoDimVert0], [1, twoDimVert0],
  32032. [1, twoDimVert0], [1, twoDimVert0],
  32033. [1, twoDimVert0], [1, twoDimVert0],
  32034. [1, twoDimVert0], [1, twoDimVert0],
  32035. [1, twoDimVert0], [1, twoDimVert0],
  32036. [1, twoDimVert0], [1, twoDimVert0],
  32037. [1, twoDimVert0], [1, twoDimVert0],
  32038. [1, twoDimVert0], [1, twoDimVert0],
  32039. [1, twoDimVert0], [1, twoDimVert0],
  32040. [1, twoDimVert0], [1, twoDimVert0],
  32041. [1, twoDimVert0], [1, twoDimVert0],
  32042. [1, twoDimVert0], [1, twoDimVert0],
  32043. [1, twoDimVert0], [1, twoDimVert0],
  32044. [1, twoDimVert0], [1, twoDimVert0]
  32045. ];
  32046. var whiteTable1 = [
  32047. [-1, -1], // 00000
  32048. [12, ccittEOL], // 00001
  32049. [-1, -1], [-1, -1], // 0001x
  32050. [-1, -1], [-1, -1], [-1, -1], [-1, -1], // 001xx
  32051. [-1, -1], [-1, -1], [-1, -1], [-1, -1], // 010xx
  32052. [-1, -1], [-1, -1], [-1, -1], [-1, -1], // 011xx
  32053. [11, 1792], [11, 1792], // 1000x
  32054. [12, 1984], // 10010
  32055. [12, 2048], // 10011
  32056. [12, 2112], // 10100
  32057. [12, 2176], // 10101
  32058. [12, 2240], // 10110
  32059. [12, 2304], // 10111
  32060. [11, 1856], [11, 1856], // 1100x
  32061. [11, 1920], [11, 1920], // 1101x
  32062. [12, 2368], // 11100
  32063. [12, 2432], // 11101
  32064. [12, 2496], // 11110
  32065. [12, 2560] // 11111
  32066. ];
  32067. var whiteTable2 = [
  32068. [-1, -1], [-1, -1], [-1, -1], [-1, -1], // 0000000xx
  32069. [8, 29], [8, 29], // 00000010x
  32070. [8, 30], [8, 30], // 00000011x
  32071. [8, 45], [8, 45], // 00000100x
  32072. [8, 46], [8, 46], // 00000101x
  32073. [7, 22], [7, 22], [7, 22], [7, 22], // 0000011xx
  32074. [7, 23], [7, 23], [7, 23], [7, 23], // 0000100xx
  32075. [8, 47], [8, 47], // 00001010x
  32076. [8, 48], [8, 48], // 00001011x
  32077. [6, 13], [6, 13], [6, 13], [6, 13], // 000011xxx
  32078. [6, 13], [6, 13], [6, 13], [6, 13],
  32079. [7, 20], [7, 20], [7, 20], [7, 20], // 0001000xx
  32080. [8, 33], [8, 33], // 00010010x
  32081. [8, 34], [8, 34], // 00010011x
  32082. [8, 35], [8, 35], // 00010100x
  32083. [8, 36], [8, 36], // 00010101x
  32084. [8, 37], [8, 37], // 00010110x
  32085. [8, 38], [8, 38], // 00010111x
  32086. [7, 19], [7, 19], [7, 19], [7, 19], // 0001100xx
  32087. [8, 31], [8, 31], // 00011010x
  32088. [8, 32], [8, 32], // 00011011x
  32089. [6, 1], [6, 1], [6, 1], [6, 1], // 000111xxx
  32090. [6, 1], [6, 1], [6, 1], [6, 1],
  32091. [6, 12], [6, 12], [6, 12], [6, 12], // 001000xxx
  32092. [6, 12], [6, 12], [6, 12], [6, 12],
  32093. [8, 53], [8, 53], // 00100100x
  32094. [8, 54], [8, 54], // 00100101x
  32095. [7, 26], [7, 26], [7, 26], [7, 26], // 0010011xx
  32096. [8, 39], [8, 39], // 00101000x
  32097. [8, 40], [8, 40], // 00101001x
  32098. [8, 41], [8, 41], // 00101010x
  32099. [8, 42], [8, 42], // 00101011x
  32100. [8, 43], [8, 43], // 00101100x
  32101. [8, 44], [8, 44], // 00101101x
  32102. [7, 21], [7, 21], [7, 21], [7, 21], // 0010111xx
  32103. [7, 28], [7, 28], [7, 28], [7, 28], // 0011000xx
  32104. [8, 61], [8, 61], // 00110010x
  32105. [8, 62], [8, 62], // 00110011x
  32106. [8, 63], [8, 63], // 00110100x
  32107. [8, 0], [8, 0], // 00110101x
  32108. [8, 320], [8, 320], // 00110110x
  32109. [8, 384], [8, 384], // 00110111x
  32110. [5, 10], [5, 10], [5, 10], [5, 10], // 00111xxxx
  32111. [5, 10], [5, 10], [5, 10], [5, 10],
  32112. [5, 10], [5, 10], [5, 10], [5, 10],
  32113. [5, 10], [5, 10], [5, 10], [5, 10],
  32114. [5, 11], [5, 11], [5, 11], [5, 11], // 01000xxxx
  32115. [5, 11], [5, 11], [5, 11], [5, 11],
  32116. [5, 11], [5, 11], [5, 11], [5, 11],
  32117. [5, 11], [5, 11], [5, 11], [5, 11],
  32118. [7, 27], [7, 27], [7, 27], [7, 27], // 0100100xx
  32119. [8, 59], [8, 59], // 01001010x
  32120. [8, 60], [8, 60], // 01001011x
  32121. [9, 1472], // 010011000
  32122. [9, 1536], // 010011001
  32123. [9, 1600], // 010011010
  32124. [9, 1728], // 010011011
  32125. [7, 18], [7, 18], [7, 18], [7, 18], // 0100111xx
  32126. [7, 24], [7, 24], [7, 24], [7, 24], // 0101000xx
  32127. [8, 49], [8, 49], // 01010010x
  32128. [8, 50], [8, 50], // 01010011x
  32129. [8, 51], [8, 51], // 01010100x
  32130. [8, 52], [8, 52], // 01010101x
  32131. [7, 25], [7, 25], [7, 25], [7, 25], // 0101011xx
  32132. [8, 55], [8, 55], // 01011000x
  32133. [8, 56], [8, 56], // 01011001x
  32134. [8, 57], [8, 57], // 01011010x
  32135. [8, 58], [8, 58], // 01011011x
  32136. [6, 192], [6, 192], [6, 192], [6, 192], // 010111xxx
  32137. [6, 192], [6, 192], [6, 192], [6, 192],
  32138. [6, 1664], [6, 1664], [6, 1664], [6, 1664], // 011000xxx
  32139. [6, 1664], [6, 1664], [6, 1664], [6, 1664],
  32140. [8, 448], [8, 448], // 01100100x
  32141. [8, 512], [8, 512], // 01100101x
  32142. [9, 704], // 011001100
  32143. [9, 768], // 011001101
  32144. [8, 640], [8, 640], // 01100111x
  32145. [8, 576], [8, 576], // 01101000x
  32146. [9, 832], // 011010010
  32147. [9, 896], // 011010011
  32148. [9, 960], // 011010100
  32149. [9, 1024], // 011010101
  32150. [9, 1088], // 011010110
  32151. [9, 1152], // 011010111
  32152. [9, 1216], // 011011000
  32153. [9, 1280], // 011011001
  32154. [9, 1344], // 011011010
  32155. [9, 1408], // 011011011
  32156. [7, 256], [7, 256], [7, 256], [7, 256], // 0110111xx
  32157. [4, 2], [4, 2], [4, 2], [4, 2], // 0111xxxxx
  32158. [4, 2], [4, 2], [4, 2], [4, 2],
  32159. [4, 2], [4, 2], [4, 2], [4, 2],
  32160. [4, 2], [4, 2], [4, 2], [4, 2],
  32161. [4, 2], [4, 2], [4, 2], [4, 2],
  32162. [4, 2], [4, 2], [4, 2], [4, 2],
  32163. [4, 2], [4, 2], [4, 2], [4, 2],
  32164. [4, 2], [4, 2], [4, 2], [4, 2],
  32165. [4, 3], [4, 3], [4, 3], [4, 3], // 1000xxxxx
  32166. [4, 3], [4, 3], [4, 3], [4, 3],
  32167. [4, 3], [4, 3], [4, 3], [4, 3],
  32168. [4, 3], [4, 3], [4, 3], [4, 3],
  32169. [4, 3], [4, 3], [4, 3], [4, 3],
  32170. [4, 3], [4, 3], [4, 3], [4, 3],
  32171. [4, 3], [4, 3], [4, 3], [4, 3],
  32172. [4, 3], [4, 3], [4, 3], [4, 3],
  32173. [5, 128], [5, 128], [5, 128], [5, 128], // 10010xxxx
  32174. [5, 128], [5, 128], [5, 128], [5, 128],
  32175. [5, 128], [5, 128], [5, 128], [5, 128],
  32176. [5, 128], [5, 128], [5, 128], [5, 128],
  32177. [5, 8], [5, 8], [5, 8], [5, 8], // 10011xxxx
  32178. [5, 8], [5, 8], [5, 8], [5, 8],
  32179. [5, 8], [5, 8], [5, 8], [5, 8],
  32180. [5, 8], [5, 8], [5, 8], [5, 8],
  32181. [5, 9], [5, 9], [5, 9], [5, 9], // 10100xxxx
  32182. [5, 9], [5, 9], [5, 9], [5, 9],
  32183. [5, 9], [5, 9], [5, 9], [5, 9],
  32184. [5, 9], [5, 9], [5, 9], [5, 9],
  32185. [6, 16], [6, 16], [6, 16], [6, 16], // 101010xxx
  32186. [6, 16], [6, 16], [6, 16], [6, 16],
  32187. [6, 17], [6, 17], [6, 17], [6, 17], // 101011xxx
  32188. [6, 17], [6, 17], [6, 17], [6, 17],
  32189. [4, 4], [4, 4], [4, 4], [4, 4], // 1011xxxxx
  32190. [4, 4], [4, 4], [4, 4], [4, 4],
  32191. [4, 4], [4, 4], [4, 4], [4, 4],
  32192. [4, 4], [4, 4], [4, 4], [4, 4],
  32193. [4, 4], [4, 4], [4, 4], [4, 4],
  32194. [4, 4], [4, 4], [4, 4], [4, 4],
  32195. [4, 4], [4, 4], [4, 4], [4, 4],
  32196. [4, 4], [4, 4], [4, 4], [4, 4],
  32197. [4, 5], [4, 5], [4, 5], [4, 5], // 1100xxxxx
  32198. [4, 5], [4, 5], [4, 5], [4, 5],
  32199. [4, 5], [4, 5], [4, 5], [4, 5],
  32200. [4, 5], [4, 5], [4, 5], [4, 5],
  32201. [4, 5], [4, 5], [4, 5], [4, 5],
  32202. [4, 5], [4, 5], [4, 5], [4, 5],
  32203. [4, 5], [4, 5], [4, 5], [4, 5],
  32204. [4, 5], [4, 5], [4, 5], [4, 5],
  32205. [6, 14], [6, 14], [6, 14], [6, 14], // 110100xxx
  32206. [6, 14], [6, 14], [6, 14], [6, 14],
  32207. [6, 15], [6, 15], [6, 15], [6, 15], // 110101xxx
  32208. [6, 15], [6, 15], [6, 15], [6, 15],
  32209. [5, 64], [5, 64], [5, 64], [5, 64], // 11011xxxx
  32210. [5, 64], [5, 64], [5, 64], [5, 64],
  32211. [5, 64], [5, 64], [5, 64], [5, 64],
  32212. [5, 64], [5, 64], [5, 64], [5, 64],
  32213. [4, 6], [4, 6], [4, 6], [4, 6], // 1110xxxxx
  32214. [4, 6], [4, 6], [4, 6], [4, 6],
  32215. [4, 6], [4, 6], [4, 6], [4, 6],
  32216. [4, 6], [4, 6], [4, 6], [4, 6],
  32217. [4, 6], [4, 6], [4, 6], [4, 6],
  32218. [4, 6], [4, 6], [4, 6], [4, 6],
  32219. [4, 6], [4, 6], [4, 6], [4, 6],
  32220. [4, 6], [4, 6], [4, 6], [4, 6],
  32221. [4, 7], [4, 7], [4, 7], [4, 7], // 1111xxxxx
  32222. [4, 7], [4, 7], [4, 7], [4, 7],
  32223. [4, 7], [4, 7], [4, 7], [4, 7],
  32224. [4, 7], [4, 7], [4, 7], [4, 7],
  32225. [4, 7], [4, 7], [4, 7], [4, 7],
  32226. [4, 7], [4, 7], [4, 7], [4, 7],
  32227. [4, 7], [4, 7], [4, 7], [4, 7],
  32228. [4, 7], [4, 7], [4, 7], [4, 7]
  32229. ];
  32230. var blackTable1 = [
  32231. [-1, -1], [-1, -1], // 000000000000x
  32232. [12, ccittEOL], [12, ccittEOL], // 000000000001x
  32233. [-1, -1], [-1, -1], [-1, -1], [-1, -1], // 00000000001xx
  32234. [-1, -1], [-1, -1], [-1, -1], [-1, -1], // 00000000010xx
  32235. [-1, -1], [-1, -1], [-1, -1], [-1, -1], // 00000000011xx
  32236. [-1, -1], [-1, -1], [-1, -1], [-1, -1], // 00000000100xx
  32237. [-1, -1], [-1, -1], [-1, -1], [-1, -1], // 00000000101xx
  32238. [-1, -1], [-1, -1], [-1, -1], [-1, -1], // 00000000110xx
  32239. [-1, -1], [-1, -1], [-1, -1], [-1, -1], // 00000000111xx
  32240. [11, 1792], [11, 1792], [11, 1792], [11, 1792], // 00000001000xx
  32241. [12, 1984], [12, 1984], // 000000010010x
  32242. [12, 2048], [12, 2048], // 000000010011x
  32243. [12, 2112], [12, 2112], // 000000010100x
  32244. [12, 2176], [12, 2176], // 000000010101x
  32245. [12, 2240], [12, 2240], // 000000010110x
  32246. [12, 2304], [12, 2304], // 000000010111x
  32247. [11, 1856], [11, 1856], [11, 1856], [11, 1856], // 00000001100xx
  32248. [11, 1920], [11, 1920], [11, 1920], [11, 1920], // 00000001101xx
  32249. [12, 2368], [12, 2368], // 000000011100x
  32250. [12, 2432], [12, 2432], // 000000011101x
  32251. [12, 2496], [12, 2496], // 000000011110x
  32252. [12, 2560], [12, 2560], // 000000011111x
  32253. [10, 18], [10, 18], [10, 18], [10, 18], // 0000001000xxx
  32254. [10, 18], [10, 18], [10, 18], [10, 18],
  32255. [12, 52], [12, 52], // 000000100100x
  32256. [13, 640], // 0000001001010
  32257. [13, 704], // 0000001001011
  32258. [13, 768], // 0000001001100
  32259. [13, 832], // 0000001001101
  32260. [12, 55], [12, 55], // 000000100111x
  32261. [12, 56], [12, 56], // 000000101000x
  32262. [13, 1280], // 0000001010010
  32263. [13, 1344], // 0000001010011
  32264. [13, 1408], // 0000001010100
  32265. [13, 1472], // 0000001010101
  32266. [12, 59], [12, 59], // 000000101011x
  32267. [12, 60], [12, 60], // 000000101100x
  32268. [13, 1536], // 0000001011010
  32269. [13, 1600], // 0000001011011
  32270. [11, 24], [11, 24], [11, 24], [11, 24], // 00000010111xx
  32271. [11, 25], [11, 25], [11, 25], [11, 25], // 00000011000xx
  32272. [13, 1664], // 0000001100100
  32273. [13, 1728], // 0000001100101
  32274. [12, 320], [12, 320], // 000000110011x
  32275. [12, 384], [12, 384], // 000000110100x
  32276. [12, 448], [12, 448], // 000000110101x
  32277. [13, 512], // 0000001101100
  32278. [13, 576], // 0000001101101
  32279. [12, 53], [12, 53], // 000000110111x
  32280. [12, 54], [12, 54], // 000000111000x
  32281. [13, 896], // 0000001110010
  32282. [13, 960], // 0000001110011
  32283. [13, 1024], // 0000001110100
  32284. [13, 1088], // 0000001110101
  32285. [13, 1152], // 0000001110110
  32286. [13, 1216], // 0000001110111
  32287. [10, 64], [10, 64], [10, 64], [10, 64], // 0000001111xxx
  32288. [10, 64], [10, 64], [10, 64], [10, 64]
  32289. ];
  32290. var blackTable2 = [
  32291. [8, 13], [8, 13], [8, 13], [8, 13], // 00000100xxxx
  32292. [8, 13], [8, 13], [8, 13], [8, 13],
  32293. [8, 13], [8, 13], [8, 13], [8, 13],
  32294. [8, 13], [8, 13], [8, 13], [8, 13],
  32295. [11, 23], [11, 23], // 00000101000x
  32296. [12, 50], // 000001010010
  32297. [12, 51], // 000001010011
  32298. [12, 44], // 000001010100
  32299. [12, 45], // 000001010101
  32300. [12, 46], // 000001010110
  32301. [12, 47], // 000001010111
  32302. [12, 57], // 000001011000
  32303. [12, 58], // 000001011001
  32304. [12, 61], // 000001011010
  32305. [12, 256], // 000001011011
  32306. [10, 16], [10, 16], [10, 16], [10, 16], // 0000010111xx
  32307. [10, 17], [10, 17], [10, 17], [10, 17], // 0000011000xx
  32308. [12, 48], // 000001100100
  32309. [12, 49], // 000001100101
  32310. [12, 62], // 000001100110
  32311. [12, 63], // 000001100111
  32312. [12, 30], // 000001101000
  32313. [12, 31], // 000001101001
  32314. [12, 32], // 000001101010
  32315. [12, 33], // 000001101011
  32316. [12, 40], // 000001101100
  32317. [12, 41], // 000001101101
  32318. [11, 22], [11, 22], // 00000110111x
  32319. [8, 14], [8, 14], [8, 14], [8, 14], // 00000111xxxx
  32320. [8, 14], [8, 14], [8, 14], [8, 14],
  32321. [8, 14], [8, 14], [8, 14], [8, 14],
  32322. [8, 14], [8, 14], [8, 14], [8, 14],
  32323. [7, 10], [7, 10], [7, 10], [7, 10], // 0000100xxxxx
  32324. [7, 10], [7, 10], [7, 10], [7, 10],
  32325. [7, 10], [7, 10], [7, 10], [7, 10],
  32326. [7, 10], [7, 10], [7, 10], [7, 10],
  32327. [7, 10], [7, 10], [7, 10], [7, 10],
  32328. [7, 10], [7, 10], [7, 10], [7, 10],
  32329. [7, 10], [7, 10], [7, 10], [7, 10],
  32330. [7, 10], [7, 10], [7, 10], [7, 10],
  32331. [7, 11], [7, 11], [7, 11], [7, 11], // 0000101xxxxx
  32332. [7, 11], [7, 11], [7, 11], [7, 11],
  32333. [7, 11], [7, 11], [7, 11], [7, 11],
  32334. [7, 11], [7, 11], [7, 11], [7, 11],
  32335. [7, 11], [7, 11], [7, 11], [7, 11],
  32336. [7, 11], [7, 11], [7, 11], [7, 11],
  32337. [7, 11], [7, 11], [7, 11], [7, 11],
  32338. [7, 11], [7, 11], [7, 11], [7, 11],
  32339. [9, 15], [9, 15], [9, 15], [9, 15], // 000011000xxx
  32340. [9, 15], [9, 15], [9, 15], [9, 15],
  32341. [12, 128], // 000011001000
  32342. [12, 192], // 000011001001
  32343. [12, 26], // 000011001010
  32344. [12, 27], // 000011001011
  32345. [12, 28], // 000011001100
  32346. [12, 29], // 000011001101
  32347. [11, 19], [11, 19], // 00001100111x
  32348. [11, 20], [11, 20], // 00001101000x
  32349. [12, 34], // 000011010010
  32350. [12, 35], // 000011010011
  32351. [12, 36], // 000011010100
  32352. [12, 37], // 000011010101
  32353. [12, 38], // 000011010110
  32354. [12, 39], // 000011010111
  32355. [11, 21], [11, 21], // 00001101100x
  32356. [12, 42], // 000011011010
  32357. [12, 43], // 000011011011
  32358. [10, 0], [10, 0], [10, 0], [10, 0], // 0000110111xx
  32359. [7, 12], [7, 12], [7, 12], [7, 12], // 0000111xxxxx
  32360. [7, 12], [7, 12], [7, 12], [7, 12],
  32361. [7, 12], [7, 12], [7, 12], [7, 12],
  32362. [7, 12], [7, 12], [7, 12], [7, 12],
  32363. [7, 12], [7, 12], [7, 12], [7, 12],
  32364. [7, 12], [7, 12], [7, 12], [7, 12],
  32365. [7, 12], [7, 12], [7, 12], [7, 12],
  32366. [7, 12], [7, 12], [7, 12], [7, 12]
  32367. ];
  32368. var blackTable3 = [
  32369. [-1, -1], [-1, -1], [-1, -1], [-1, -1], // 0000xx
  32370. [6, 9], // 000100
  32371. [6, 8], // 000101
  32372. [5, 7], [5, 7], // 00011x
  32373. [4, 6], [4, 6], [4, 6], [4, 6], // 0010xx
  32374. [4, 5], [4, 5], [4, 5], [4, 5], // 0011xx
  32375. [3, 1], [3, 1], [3, 1], [3, 1], // 010xxx
  32376. [3, 1], [3, 1], [3, 1], [3, 1],
  32377. [3, 4], [3, 4], [3, 4], [3, 4], // 011xxx
  32378. [3, 4], [3, 4], [3, 4], [3, 4],
  32379. [2, 3], [2, 3], [2, 3], [2, 3], // 10xxxx
  32380. [2, 3], [2, 3], [2, 3], [2, 3],
  32381. [2, 3], [2, 3], [2, 3], [2, 3],
  32382. [2, 3], [2, 3], [2, 3], [2, 3],
  32383. [2, 2], [2, 2], [2, 2], [2, 2], // 11xxxx
  32384. [2, 2], [2, 2], [2, 2], [2, 2],
  32385. [2, 2], [2, 2], [2, 2], [2, 2],
  32386. [2, 2], [2, 2], [2, 2], [2, 2]
  32387. ];
  32388. function CCITTFaxStream(str, params) {
  32389. this.str = str;
  32390. this.dict = str.dict;
  32391. params = params || new Dict();
  32392. this.encoding = params.get('K') || 0;
  32393. this.eoline = params.get('EndOfLine') || false;
  32394. this.byteAlign = params.get('EncodedByteAlign') || false;
  32395. this.columns = params.get('Columns') || 1728;
  32396. this.rows = params.get('Rows') || 0;
  32397. var eoblock = params.get('EndOfBlock');
  32398. if (eoblock === null || eoblock === undefined)
  32399. eoblock = true;
  32400. this.eoblock = eoblock;
  32401. this.black = params.get('BlackIs1') || false;
  32402. this.codingLine = new Uint32Array(this.columns + 1);
  32403. this.refLine = new Uint32Array(this.columns + 2);
  32404. this.codingLine[0] = this.columns;
  32405. this.codingPos = 0;
  32406. this.row = 0;
  32407. this.nextLine2D = this.encoding < 0;
  32408. this.inputBits = 0;
  32409. this.inputBuf = 0;
  32410. this.outputBits = 0;
  32411. this.buf = EOF;
  32412. var code1;
  32413. while ((code1 = this.lookBits(12)) === 0) {
  32414. this.eatBits(1);
  32415. }
  32416. if (code1 == 1) {
  32417. this.eatBits(12);
  32418. }
  32419. if (this.encoding > 0) {
  32420. this.nextLine2D = !this.lookBits(1);
  32421. this.eatBits(1);
  32422. }
  32423. DecodeStream.call(this);
  32424. }
  32425. CCITTFaxStream.prototype = Object.create(DecodeStream.prototype);
  32426. CCITTFaxStream.prototype.readBlock = function CCITTFaxStream_readBlock() {
  32427. while (!this.eof) {
  32428. var c = this.lookChar();
  32429. this.buf = EOF;
  32430. this.ensureBuffer(this.bufferLength + 1);
  32431. this.buffer[this.bufferLength++] = c;
  32432. }
  32433. };
  32434. CCITTFaxStream.prototype.addPixels =
  32435. function ccittFaxStreamAddPixels(a1, blackPixels) {
  32436. var codingLine = this.codingLine;
  32437. var codingPos = this.codingPos;
  32438. if (a1 > codingLine[codingPos]) {
  32439. if (a1 > this.columns) {
  32440. info('row is wrong length');
  32441. this.err = true;
  32442. a1 = this.columns;
  32443. }
  32444. if ((codingPos & 1) ^ blackPixels) {
  32445. ++codingPos;
  32446. }
  32447. codingLine[codingPos] = a1;
  32448. }
  32449. this.codingPos = codingPos;
  32450. };
  32451. CCITTFaxStream.prototype.addPixelsNeg =
  32452. function ccittFaxStreamAddPixelsNeg(a1, blackPixels) {
  32453. var codingLine = this.codingLine;
  32454. var codingPos = this.codingPos;
  32455. if (a1 > codingLine[codingPos]) {
  32456. if (a1 > this.columns) {
  32457. info('row is wrong length');
  32458. this.err = true;
  32459. a1 = this.columns;
  32460. }
  32461. if ((codingPos & 1) ^ blackPixels)
  32462. ++codingPos;
  32463. codingLine[codingPos] = a1;
  32464. } else if (a1 < codingLine[codingPos]) {
  32465. if (a1 < 0) {
  32466. info('invalid code');
  32467. this.err = true;
  32468. a1 = 0;
  32469. }
  32470. while (codingPos > 0 && a1 < codingLine[codingPos - 1])
  32471. --codingPos;
  32472. codingLine[codingPos] = a1;
  32473. }
  32474. this.codingPos = codingPos;
  32475. };
  32476. CCITTFaxStream.prototype.lookChar = function CCITTFaxStream_lookChar() {
  32477. if (this.buf != EOF)
  32478. return this.buf;
  32479. var refLine = this.refLine;
  32480. var codingLine = this.codingLine;
  32481. var columns = this.columns;
  32482. var refPos, blackPixels, bits;
  32483. if (this.outputBits === 0) {
  32484. if (this.eof)
  32485. return null;
  32486. this.err = false;
  32487. var code1, code2, code3;
  32488. if (this.nextLine2D) {
  32489. for (var i = 0; codingLine[i] < columns; ++i)
  32490. refLine[i] = codingLine[i];
  32491. refLine[i++] = columns;
  32492. refLine[i] = columns;
  32493. codingLine[0] = 0;
  32494. this.codingPos = 0;
  32495. refPos = 0;
  32496. blackPixels = 0;
  32497. while (codingLine[this.codingPos] < columns) {
  32498. code1 = this.getTwoDimCode();
  32499. switch (code1) {
  32500. case twoDimPass:
  32501. this.addPixels(refLine[refPos + 1], blackPixels);
  32502. if (refLine[refPos + 1] < columns)
  32503. refPos += 2;
  32504. break;
  32505. case twoDimHoriz:
  32506. code1 = code2 = 0;
  32507. if (blackPixels) {
  32508. do {
  32509. code1 += (code3 = this.getBlackCode());
  32510. } while (code3 >= 64);
  32511. do {
  32512. code2 += (code3 = this.getWhiteCode());
  32513. } while (code3 >= 64);
  32514. } else {
  32515. do {
  32516. code1 += (code3 = this.getWhiteCode());
  32517. } while (code3 >= 64);
  32518. do {
  32519. code2 += (code3 = this.getBlackCode());
  32520. } while (code3 >= 64);
  32521. }
  32522. this.addPixels(codingLine[this.codingPos] +
  32523. code1, blackPixels);
  32524. if (codingLine[this.codingPos] < columns) {
  32525. this.addPixels(codingLine[this.codingPos] + code2,
  32526. blackPixels ^ 1);
  32527. }
  32528. while (refLine[refPos] <= codingLine[this.codingPos] &&
  32529. refLine[refPos] < columns) {
  32530. refPos += 2;
  32531. }
  32532. break;
  32533. case twoDimVertR3:
  32534. this.addPixels(refLine[refPos] + 3, blackPixels);
  32535. blackPixels ^= 1;
  32536. if (codingLine[this.codingPos] < columns) {
  32537. ++refPos;
  32538. while (refLine[refPos] <= codingLine[this.codingPos] &&
  32539. refLine[refPos] < columns)
  32540. refPos += 2;
  32541. }
  32542. break;
  32543. case twoDimVertR2:
  32544. this.addPixels(refLine[refPos] + 2, blackPixels);
  32545. blackPixels ^= 1;
  32546. if (codingLine[this.codingPos] < columns) {
  32547. ++refPos;
  32548. while (refLine[refPos] <= codingLine[this.codingPos] &&
  32549. refLine[refPos] < columns) {
  32550. refPos += 2;
  32551. }
  32552. }
  32553. break;
  32554. case twoDimVertR1:
  32555. this.addPixels(refLine[refPos] + 1, blackPixels);
  32556. blackPixels ^= 1;
  32557. if (codingLine[this.codingPos] < columns) {
  32558. ++refPos;
  32559. while (refLine[refPos] <= codingLine[this.codingPos] &&
  32560. refLine[refPos] < columns)
  32561. refPos += 2;
  32562. }
  32563. break;
  32564. case twoDimVert0:
  32565. this.addPixels(refLine[refPos], blackPixels);
  32566. blackPixels ^= 1;
  32567. if (codingLine[this.codingPos] < columns) {
  32568. ++refPos;
  32569. while (refLine[refPos] <= codingLine[this.codingPos] &&
  32570. refLine[refPos] < columns)
  32571. refPos += 2;
  32572. }
  32573. break;
  32574. case twoDimVertL3:
  32575. this.addPixelsNeg(refLine[refPos] - 3, blackPixels);
  32576. blackPixels ^= 1;
  32577. if (codingLine[this.codingPos] < columns) {
  32578. if (refPos > 0)
  32579. --refPos;
  32580. else
  32581. ++refPos;
  32582. while (refLine[refPos] <= codingLine[this.codingPos] &&
  32583. refLine[refPos] < columns)
  32584. refPos += 2;
  32585. }
  32586. break;
  32587. case twoDimVertL2:
  32588. this.addPixelsNeg(refLine[refPos] - 2, blackPixels);
  32589. blackPixels ^= 1;
  32590. if (codingLine[this.codingPos] < columns) {
  32591. if (refPos > 0)
  32592. --refPos;
  32593. else
  32594. ++refPos;
  32595. while (refLine[refPos] <= codingLine[this.codingPos] &&
  32596. refLine[refPos] < columns)
  32597. refPos += 2;
  32598. }
  32599. break;
  32600. case twoDimVertL1:
  32601. this.addPixelsNeg(refLine[refPos] - 1, blackPixels);
  32602. blackPixels ^= 1;
  32603. if (codingLine[this.codingPos] < columns) {
  32604. if (refPos > 0)
  32605. --refPos;
  32606. else
  32607. ++refPos;
  32608. while (refLine[refPos] <= codingLine[this.codingPos] &&
  32609. refLine[refPos] < columns)
  32610. refPos += 2;
  32611. }
  32612. break;
  32613. case EOF:
  32614. this.addPixels(columns, 0);
  32615. this.eof = true;
  32616. break;
  32617. default:
  32618. info('bad 2d code');
  32619. this.addPixels(columns, 0);
  32620. this.err = true;
  32621. }
  32622. }
  32623. } else {
  32624. codingLine[0] = 0;
  32625. this.codingPos = 0;
  32626. blackPixels = 0;
  32627. while (codingLine[this.codingPos] < columns) {
  32628. code1 = 0;
  32629. if (blackPixels) {
  32630. do {
  32631. code1 += (code3 = this.getBlackCode());
  32632. } while (code3 >= 64);
  32633. } else {
  32634. do {
  32635. code1 += (code3 = this.getWhiteCode());
  32636. } while (code3 >= 64);
  32637. }
  32638. this.addPixels(codingLine[this.codingPos] + code1, blackPixels);
  32639. blackPixels ^= 1;
  32640. }
  32641. }
  32642. if (this.byteAlign)
  32643. this.inputBits &= ~7;
  32644. var gotEOL = false;
  32645. if (!this.eoblock && this.row == this.rows - 1) {
  32646. this.eof = true;
  32647. } else {
  32648. code1 = this.lookBits(12);
  32649. while (code1 === 0) {
  32650. this.eatBits(1);
  32651. code1 = this.lookBits(12);
  32652. }
  32653. if (code1 == 1) {
  32654. this.eatBits(12);
  32655. gotEOL = true;
  32656. } else if (code1 == EOF) {
  32657. this.eof = true;
  32658. }
  32659. }
  32660. if (!this.eof && this.encoding > 0) {
  32661. this.nextLine2D = !this.lookBits(1);
  32662. this.eatBits(1);
  32663. }
  32664. if (this.eoblock && gotEOL) {
  32665. code1 = this.lookBits(12);
  32666. if (code1 == 1) {
  32667. this.eatBits(12);
  32668. if (this.encoding > 0) {
  32669. this.lookBits(1);
  32670. this.eatBits(1);
  32671. }
  32672. if (this.encoding >= 0) {
  32673. for (var i = 0; i < 4; ++i) {
  32674. code1 = this.lookBits(12);
  32675. if (code1 != 1)
  32676. info('bad rtc code: ' + code1);
  32677. this.eatBits(12);
  32678. if (this.encoding > 0) {
  32679. this.lookBits(1);
  32680. this.eatBits(1);
  32681. }
  32682. }
  32683. }
  32684. this.eof = true;
  32685. }
  32686. } else if (this.err && this.eoline) {
  32687. while (true) {
  32688. code1 = this.lookBits(13);
  32689. if (code1 == EOF) {
  32690. this.eof = true;
  32691. return null;
  32692. }
  32693. if ((code1 >> 1) == 1) {
  32694. break;
  32695. }
  32696. this.eatBits(1);
  32697. }
  32698. this.eatBits(12);
  32699. if (this.encoding > 0) {
  32700. this.eatBits(1);
  32701. this.nextLine2D = !(code1 & 1);
  32702. }
  32703. }
  32704. if (codingLine[0] > 0)
  32705. this.outputBits = codingLine[this.codingPos = 0];
  32706. else
  32707. this.outputBits = codingLine[this.codingPos = 1];
  32708. this.row++;
  32709. }
  32710. if (this.outputBits >= 8) {
  32711. this.buf = (this.codingPos & 1) ? 0 : 0xFF;
  32712. this.outputBits -= 8;
  32713. if (this.outputBits === 0 && codingLine[this.codingPos] < columns) {
  32714. this.codingPos++;
  32715. this.outputBits = (codingLine[this.codingPos] -
  32716. codingLine[this.codingPos - 1]);
  32717. }
  32718. } else {
  32719. var bits = 8;
  32720. this.buf = 0;
  32721. do {
  32722. if (this.outputBits > bits) {
  32723. this.buf <<= bits;
  32724. if (!(this.codingPos & 1)) {
  32725. this.buf |= 0xFF >> (8 - bits);
  32726. }
  32727. this.outputBits -= bits;
  32728. bits = 0;
  32729. } else {
  32730. this.buf <<= this.outputBits;
  32731. if (!(this.codingPos & 1)) {
  32732. this.buf |= 0xFF >> (8 - this.outputBits);
  32733. }
  32734. bits -= this.outputBits;
  32735. this.outputBits = 0;
  32736. if (codingLine[this.codingPos] < columns) {
  32737. this.codingPos++;
  32738. this.outputBits = (codingLine[this.codingPos] -
  32739. codingLine[this.codingPos - 1]);
  32740. } else if (bits > 0) {
  32741. this.buf <<= bits;
  32742. bits = 0;
  32743. }
  32744. }
  32745. } while (bits);
  32746. }
  32747. if (this.black) {
  32748. this.buf ^= 0xFF;
  32749. }
  32750. return this.buf;
  32751. };
  32752. // This functions returns the code found from the table.
  32753. // The start and end parameters set the boundaries for searching the table.
  32754. // The limit parameter is optional. Function returns an array with three
  32755. // values. The first array element indicates whether a valid code is being
  32756. // returned. The second array element is the actual code. The third array
  32757. // element indicates whether EOF was reached.
  32758. CCITTFaxStream.prototype.findTableCode =
  32759. function ccittFaxStreamFindTableCode(start, end, table, limit) {
  32760. var limitValue = limit || 0;
  32761. for (var i = start; i <= end; ++i) {
  32762. var code = this.lookBits(i);
  32763. if (code == EOF)
  32764. return [true, 1, false];
  32765. if (i < end)
  32766. code <<= end - i;
  32767. if (!limitValue || code >= limitValue) {
  32768. var p = table[code - limitValue];
  32769. if (p[0] == i) {
  32770. this.eatBits(i);
  32771. return [true, p[1], true];
  32772. }
  32773. }
  32774. }
  32775. return [false, 0, false];
  32776. };
  32777. CCITTFaxStream.prototype.getTwoDimCode =
  32778. function ccittFaxStreamGetTwoDimCode() {
  32779. var code = 0;
  32780. var p;
  32781. if (this.eoblock) {
  32782. code = this.lookBits(7);
  32783. p = twoDimTable[code];
  32784. if (p && p[0] > 0) {
  32785. this.eatBits(p[0]);
  32786. return p[1];
  32787. }
  32788. } else {
  32789. var result = this.findTableCode(1, 7, twoDimTable);
  32790. if (result[0] && result[2])
  32791. return result[1];
  32792. }
  32793. info('Bad two dim code');
  32794. return EOF;
  32795. };
  32796. CCITTFaxStream.prototype.getWhiteCode =
  32797. function ccittFaxStreamGetWhiteCode() {
  32798. var code = 0;
  32799. var p;
  32800. var n;
  32801. if (this.eoblock) {
  32802. code = this.lookBits(12);
  32803. if (code == EOF)
  32804. return 1;
  32805. if ((code >> 5) === 0)
  32806. p = whiteTable1[code];
  32807. else
  32808. p = whiteTable2[code >> 3];
  32809. if (p[0] > 0) {
  32810. this.eatBits(p[0]);
  32811. return p[1];
  32812. }
  32813. } else {
  32814. var result = this.findTableCode(1, 9, whiteTable2);
  32815. if (result[0])
  32816. return result[1];
  32817. result = this.findTableCode(11, 12, whiteTable1);
  32818. if (result[0])
  32819. return result[1];
  32820. }
  32821. info('bad white code');
  32822. this.eatBits(1);
  32823. return 1;
  32824. };
  32825. CCITTFaxStream.prototype.getBlackCode =
  32826. function ccittFaxStreamGetBlackCode() {
  32827. var code, p;
  32828. if (this.eoblock) {
  32829. code = this.lookBits(13);
  32830. if (code == EOF)
  32831. return 1;
  32832. if ((code >> 7) === 0)
  32833. p = blackTable1[code];
  32834. else if ((code >> 9) === 0 && (code >> 7) !== 0)
  32835. p = blackTable2[(code >> 1) - 64];
  32836. else
  32837. p = blackTable3[code >> 7];
  32838. if (p[0] > 0) {
  32839. this.eatBits(p[0]);
  32840. return p[1];
  32841. }
  32842. } else {
  32843. var result = this.findTableCode(2, 6, blackTable3);
  32844. if (result[0])
  32845. return result[1];
  32846. result = this.findTableCode(7, 12, blackTable2, 64);
  32847. if (result[0])
  32848. return result[1];
  32849. result = this.findTableCode(10, 13, blackTable1);
  32850. if (result[0])
  32851. return result[1];
  32852. }
  32853. info('bad black code');
  32854. this.eatBits(1);
  32855. return 1;
  32856. };
  32857. CCITTFaxStream.prototype.lookBits = function CCITTFaxStream_lookBits(n) {
  32858. var c;
  32859. while (this.inputBits < n) {
  32860. if ((c = this.str.getByte()) === -1) {
  32861. if (this.inputBits === 0)
  32862. return EOF;
  32863. return ((this.inputBuf << (n - this.inputBits)) &
  32864. (0xFFFF >> (16 - n)));
  32865. }
  32866. this.inputBuf = (this.inputBuf << 8) + c;
  32867. this.inputBits += 8;
  32868. }
  32869. return (this.inputBuf >> (this.inputBits - n)) & (0xFFFF >> (16 - n));
  32870. };
  32871. CCITTFaxStream.prototype.eatBits = function CCITTFaxStream_eatBits(n) {
  32872. if ((this.inputBits -= n) < 0)
  32873. this.inputBits = 0;
  32874. };
  32875. return CCITTFaxStream;
  32876. })();
  32877. var LZWStream = (function LZWStreamClosure() {
  32878. function LZWStream(str, earlyChange) {
  32879. this.str = str;
  32880. this.dict = str.dict;
  32881. this.cachedData = 0;
  32882. this.bitsCached = 0;
  32883. var maxLzwDictionarySize = 4096;
  32884. var lzwState = {
  32885. earlyChange: earlyChange,
  32886. codeLength: 9,
  32887. nextCode: 258,
  32888. dictionaryValues: new Uint8Array(maxLzwDictionarySize),
  32889. dictionaryLengths: new Uint16Array(maxLzwDictionarySize),
  32890. dictionaryPrevCodes: new Uint16Array(maxLzwDictionarySize),
  32891. currentSequence: new Uint8Array(maxLzwDictionarySize),
  32892. currentSequenceLength: 0
  32893. };
  32894. for (var i = 0; i < 256; ++i) {
  32895. lzwState.dictionaryValues[i] = i;
  32896. lzwState.dictionaryLengths[i] = 1;
  32897. }
  32898. this.lzwState = lzwState;
  32899. DecodeStream.call(this);
  32900. }
  32901. LZWStream.prototype = Object.create(DecodeStream.prototype);
  32902. LZWStream.prototype.readBits = function LZWStream_readBits(n) {
  32903. var bitsCached = this.bitsCached;
  32904. var cachedData = this.cachedData;
  32905. while (bitsCached < n) {
  32906. var c = this.str.getByte();
  32907. if (c === -1) {
  32908. this.eof = true;
  32909. return null;
  32910. }
  32911. cachedData = (cachedData << 8) | c;
  32912. bitsCached += 8;
  32913. }
  32914. this.bitsCached = (bitsCached -= n);
  32915. this.cachedData = cachedData;
  32916. this.lastCode = null;
  32917. return (cachedData >>> bitsCached) & ((1 << n) - 1);
  32918. };
  32919. LZWStream.prototype.readBlock = function LZWStream_readBlock() {
  32920. var blockSize = 512;
  32921. var estimatedDecodedSize = blockSize * 2, decodedSizeDelta = blockSize;
  32922. var i, j, q;
  32923. var lzwState = this.lzwState;
  32924. if (!lzwState)
  32925. return; // eof was found
  32926. var earlyChange = lzwState.earlyChange;
  32927. var nextCode = lzwState.nextCode;
  32928. var dictionaryValues = lzwState.dictionaryValues;
  32929. var dictionaryLengths = lzwState.dictionaryLengths;
  32930. var dictionaryPrevCodes = lzwState.dictionaryPrevCodes;
  32931. var codeLength = lzwState.codeLength;
  32932. var prevCode = lzwState.prevCode;
  32933. var currentSequence = lzwState.currentSequence;
  32934. var currentSequenceLength = lzwState.currentSequenceLength;
  32935. var decodedLength = 0;
  32936. var currentBufferLength = this.bufferLength;
  32937. var buffer = this.ensureBuffer(this.bufferLength + estimatedDecodedSize);
  32938. for (i = 0; i < blockSize; i++) {
  32939. var code = this.readBits(codeLength);
  32940. var hasPrev = currentSequenceLength > 0;
  32941. if (code < 256) {
  32942. currentSequence[0] = code;
  32943. currentSequenceLength = 1;
  32944. } else if (code >= 258) {
  32945. if (code < nextCode) {
  32946. currentSequenceLength = dictionaryLengths[code];
  32947. for (j = currentSequenceLength - 1, q = code; j >= 0; j--) {
  32948. currentSequence[j] = dictionaryValues[q];
  32949. q = dictionaryPrevCodes[q];
  32950. }
  32951. } else {
  32952. currentSequence[currentSequenceLength++] = currentSequence[0];
  32953. }
  32954. } else if (code == 256) {
  32955. codeLength = 9;
  32956. nextCode = 258;
  32957. currentSequenceLength = 0;
  32958. continue;
  32959. } else {
  32960. this.eof = true;
  32961. delete this.lzwState;
  32962. break;
  32963. }
  32964. if (hasPrev) {
  32965. dictionaryPrevCodes[nextCode] = prevCode;
  32966. dictionaryLengths[nextCode] = dictionaryLengths[prevCode] + 1;
  32967. dictionaryValues[nextCode] = currentSequence[0];
  32968. nextCode++;
  32969. codeLength = (nextCode + earlyChange) & (nextCode + earlyChange - 1) ?
  32970. codeLength : Math.min(Math.log(nextCode + earlyChange) /
  32971. 0.6931471805599453 + 1, 12) | 0;
  32972. }
  32973. prevCode = code;
  32974. decodedLength += currentSequenceLength;
  32975. if (estimatedDecodedSize < decodedLength) {
  32976. do {
  32977. estimatedDecodedSize += decodedSizeDelta;
  32978. } while (estimatedDecodedSize < decodedLength);
  32979. buffer = this.ensureBuffer(this.bufferLength + estimatedDecodedSize);
  32980. }
  32981. for (j = 0; j < currentSequenceLength; j++)
  32982. buffer[currentBufferLength++] = currentSequence[j];
  32983. }
  32984. lzwState.nextCode = nextCode;
  32985. lzwState.codeLength = codeLength;
  32986. lzwState.prevCode = prevCode;
  32987. lzwState.currentSequenceLength = currentSequenceLength;
  32988. this.bufferLength = currentBufferLength;
  32989. };
  32990. return LZWStream;
  32991. })();
  32992. var NullStream = (function NullStreamClosure() {
  32993. function NullStream() {
  32994. Stream.call(this, new Uint8Array(0));
  32995. }
  32996. NullStream.prototype = Stream.prototype;
  32997. return NullStream;
  32998. })();
  32999. var WorkerMessageHandler = PDFJS.WorkerMessageHandler = {
  33000. setup: function wphSetup(handler) {
  33001. var pdfManager;
  33002. function loadDocument(recoveryMode) {
  33003. var loadDocumentPromise = new LegacyPromise();
  33004. var parseSuccess = function parseSuccess() {
  33005. var numPagesPromise = pdfManager.ensureModel('numPages');
  33006. var fingerprintPromise = pdfManager.ensureModel('fingerprint');
  33007. var outlinePromise = pdfManager.ensureCatalog('documentOutline');
  33008. var infoPromise = pdfManager.ensureModel('documentInfo');
  33009. var metadataPromise = pdfManager.ensureCatalog('metadata');
  33010. var encryptedPromise = pdfManager.ensureXRef('encrypt');
  33011. var javaScriptPromise = pdfManager.ensureCatalog('javaScript');
  33012. Promise.all([numPagesPromise, fingerprintPromise, outlinePromise,
  33013. infoPromise, metadataPromise, encryptedPromise,
  33014. javaScriptPromise]).then(
  33015. function onDocReady(results) {
  33016. var doc = {
  33017. numPages: results[0],
  33018. fingerprint: results[1],
  33019. outline: results[2],
  33020. info: results[3],
  33021. metadata: results[4],
  33022. encrypted: !!results[5],
  33023. javaScript: results[6]
  33024. };
  33025. loadDocumentPromise.resolve(doc);
  33026. },
  33027. parseFailure);
  33028. };
  33029. var parseFailure = function parseFailure(e) {
  33030. loadDocumentPromise.reject(e);
  33031. };
  33032. pdfManager.ensureModel('checkHeader', []).then(function() {
  33033. pdfManager.ensureModel('parseStartXRef', []).then(function() {
  33034. pdfManager.ensureModel('parse', [recoveryMode]).then(
  33035. parseSuccess, parseFailure);
  33036. }, parseFailure);
  33037. }, parseFailure);
  33038. return loadDocumentPromise;
  33039. }
  33040. function getPdfManager(data) {
  33041. var pdfManagerPromise = new LegacyPromise();
  33042. var source = data.source;
  33043. var disableRange = data.disableRange;
  33044. if (source.data) {
  33045. try {
  33046. pdfManager = new LocalPdfManager(source.data, source.password);
  33047. pdfManagerPromise.resolve();
  33048. } catch (ex) {
  33049. pdfManagerPromise.reject(ex);
  33050. }
  33051. return pdfManagerPromise;
  33052. } else if (source.chunkedViewerLoading) {
  33053. try {
  33054. pdfManager = new NetworkPdfManager(source, handler);
  33055. pdfManagerPromise.resolve();
  33056. } catch (ex) {
  33057. pdfManagerPromise.reject(ex);
  33058. }
  33059. return pdfManagerPromise;
  33060. }
  33061. var networkManager = new NetworkManager(source.url, {
  33062. httpHeaders: source.httpHeaders,
  33063. withCredentials: source.withCredentials
  33064. });
  33065. var fullRequestXhrId = networkManager.requestFull({
  33066. onHeadersReceived: function onHeadersReceived() {
  33067. if (disableRange) {
  33068. return;
  33069. }
  33070. var fullRequestXhr = networkManager.getRequestXhr(fullRequestXhrId);
  33071. if (fullRequestXhr.getResponseHeader('Accept-Ranges') !== 'bytes') {
  33072. return;
  33073. }
  33074. var contentEncoding =
  33075. fullRequestXhr.getResponseHeader('Content-Encoding') || 'identity';
  33076. if (contentEncoding !== 'identity') {
  33077. return;
  33078. }
  33079. var length = fullRequestXhr.getResponseHeader('Content-Length');
  33080. length = parseInt(length, 10);
  33081. if (!isInt(length)) {
  33082. return;
  33083. }
  33084. // NOTE: by cancelling the full request, and then issuing range
  33085. // requests, there will be an issue for sites where you can only
  33086. // request the pdf once. However, if this is the case, then the
  33087. // server should not be returning that it can support range requests.
  33088. networkManager.abortRequest(fullRequestXhrId);
  33089. source.length = length;
  33090. try {
  33091. pdfManager = new NetworkPdfManager(source, handler);
  33092. pdfManagerPromise.resolve(pdfManager);
  33093. } catch (ex) {
  33094. pdfManagerPromise.reject(ex);
  33095. }
  33096. },
  33097. onDone: function onDone(args) {
  33098. // the data is array, instantiating directly from it
  33099. try {
  33100. pdfManager = new LocalPdfManager(args.chunk, source.password);
  33101. pdfManagerPromise.resolve();
  33102. } catch (ex) {
  33103. pdfManagerPromise.reject(ex);
  33104. }
  33105. },
  33106. onError: function onError(status) {
  33107. if (status == 404) {
  33108. var exception = new MissingPDFException( 'Missing PDF "' +
  33109. source.url + '".');
  33110. handler.send('MissingPDF', { exception: exception });
  33111. } else {
  33112. handler.send('DocError', 'Unexpected server response (' +
  33113. status + ') while retrieving PDF "' +
  33114. source.url + '".');
  33115. }
  33116. },
  33117. onProgress: function onProgress(evt) {
  33118. handler.send('DocProgress', {
  33119. loaded: evt.loaded,
  33120. total: evt.lengthComputable ? evt.total : void(0)
  33121. });
  33122. }
  33123. });
  33124. return pdfManagerPromise;
  33125. }
  33126. handler.on('test', function wphSetupTest(data) {
  33127. // check if Uint8Array can be sent to worker
  33128. if (!(data instanceof Uint8Array)) {
  33129. handler.send('test', false);
  33130. return;
  33131. }
  33132. // making sure postMessage transfers are working
  33133. var supportTransfers = data[0] === 255;
  33134. handler.postMessageTransfers = supportTransfers;
  33135. // check if the response property is supported by xhr
  33136. var xhr = new XMLHttpRequest();
  33137. var responseExists = 'response' in xhr;
  33138. // check if the property is actually implemented
  33139. try {
  33140. var dummy = xhr.responseType;
  33141. } catch (e) {
  33142. responseExists = false;
  33143. }
  33144. if (!responseExists) {
  33145. handler.send('test', false);
  33146. return;
  33147. }
  33148. handler.send('test', {
  33149. supportTypedArray: true,
  33150. supportTransfers: supportTransfers
  33151. });
  33152. });
  33153. handler.on('GetDocRequest', function wphSetupDoc(data) {
  33154. var onSuccess = function(doc) {
  33155. handler.send('GetDoc', { pdfInfo: doc });
  33156. };
  33157. var onFailure = function(e) {
  33158. if (e instanceof PasswordException) {
  33159. if (e.code === PasswordResponses.NEED_PASSWORD) {
  33160. handler.send('NeedPassword', {
  33161. exception: e
  33162. });
  33163. } else if (e.code === PasswordResponses.INCORRECT_PASSWORD) {
  33164. handler.send('IncorrectPassword', {
  33165. exception: e
  33166. });
  33167. }
  33168. } else if (e instanceof InvalidPDFException) {
  33169. handler.send('InvalidPDF', {
  33170. exception: e
  33171. });
  33172. } else if (e instanceof MissingPDFException) {
  33173. handler.send('MissingPDF', {
  33174. exception: e
  33175. });
  33176. } else {
  33177. handler.send('UnknownError', {
  33178. exception: new UnknownErrorException(e.message, e.toString())
  33179. });
  33180. }
  33181. };
  33182. PDFJS.maxImageSize = data.maxImageSize === undefined ?
  33183. -1 : data.maxImageSize;
  33184. PDFJS.disableFontFace = data.disableFontFace;
  33185. PDFJS.disableCreateObjectURL = data.disableCreateObjectURL;
  33186. PDFJS.verbosity = data.verbosity;
  33187. getPdfManager(data).then(function pdfManagerReady() {
  33188. loadDocument(false).then(onSuccess, function loadFailure(ex) {
  33189. // Try again with recoveryMode == true
  33190. if (!(ex instanceof XRefParseException)) {
  33191. if (ex instanceof PasswordException) {
  33192. // after password exception prepare to receive a new password
  33193. // to repeat loading
  33194. pdfManager.passwordChangedPromise =
  33195. new LegacyPromise();
  33196. pdfManager.passwordChangedPromise.then(pdfManagerReady);
  33197. }
  33198. onFailure(ex);
  33199. return;
  33200. }
  33201. pdfManager.requestLoadedStream();
  33202. pdfManager.onLoadedStream().then(function() {
  33203. loadDocument(true).then(onSuccess, onFailure);
  33204. });
  33205. }, onFailure);
  33206. }, onFailure);
  33207. });
  33208. handler.on('GetPageRequest', function wphSetupGetPage(data) {
  33209. var pageIndex = data.pageIndex;
  33210. pdfManager.getPage(pageIndex).then(function(page) {
  33211. var rotatePromise = pdfManager.ensure(page, 'rotate');
  33212. var refPromise = pdfManager.ensure(page, 'ref');
  33213. var viewPromise = pdfManager.ensure(page, 'view');
  33214. Promise.all([rotatePromise, refPromise, viewPromise]).then(
  33215. function(results) {
  33216. var page = {
  33217. pageIndex: data.pageIndex,
  33218. rotate: results[0],
  33219. ref: results[1],
  33220. view: results[2]
  33221. };
  33222. handler.send('GetPage', { pageInfo: page });
  33223. });
  33224. });
  33225. });
  33226. handler.on('GetPageIndex', function wphSetupGetPageIndex(data, deferred) {
  33227. var ref = new Ref(data.ref.num, data.ref.gen);
  33228. pdfManager.pdfModel.catalog.getPageIndex(ref).then(function (pageIndex) {
  33229. deferred.resolve(pageIndex);
  33230. }, deferred.reject);
  33231. });
  33232. handler.on('GetDestinations',
  33233. function wphSetupGetDestinations(data, deferred) {
  33234. pdfManager.ensureCatalog('destinations').then(function(destinations) {
  33235. deferred.resolve(destinations);
  33236. });
  33237. }
  33238. );
  33239. handler.on('GetData', function wphSetupGetData(data, deferred) {
  33240. pdfManager.requestLoadedStream();
  33241. pdfManager.onLoadedStream().then(function(stream) {
  33242. deferred.resolve(stream.bytes);
  33243. });
  33244. });
  33245. handler.on('DataLoaded', function wphSetupDataLoaded(data, deferred) {
  33246. pdfManager.onLoadedStream().then(function(stream) {
  33247. deferred.resolve({ length: stream.bytes.byteLength });
  33248. });
  33249. });
  33250. handler.on('UpdatePassword', function wphSetupUpdatePassword(data) {
  33251. pdfManager.updatePassword(data);
  33252. });
  33253. handler.on('GetAnnotationsRequest', function wphSetupGetAnnotations(data) {
  33254. pdfManager.getPage(data.pageIndex).then(function(page) {
  33255. pdfManager.ensure(page, 'getAnnotationsData', []).then(
  33256. function(annotationsData) {
  33257. handler.send('GetAnnotations', {
  33258. pageIndex: data.pageIndex,
  33259. annotations: annotationsData
  33260. });
  33261. }
  33262. );
  33263. });
  33264. });
  33265. handler.on('RenderPageRequest', function wphSetupRenderPage(data) {
  33266. pdfManager.getPage(data.pageIndex).then(function(page) {
  33267. var pageNum = data.pageIndex + 1;
  33268. var start = Date.now();
  33269. // Pre compile the pdf page and fetch the fonts/images.
  33270. page.getOperatorList(handler).then(function(operatorList) {
  33271. info('page=%d - getOperatorList: time=%dms, len=%d', pageNum,
  33272. Date.now() - start, operatorList.fnArray.length);
  33273. }, function(e) {
  33274. var minimumStackMessage =
  33275. 'worker.js: while trying to getPage() and getOperatorList()';
  33276. var wrappedException;
  33277. // Turn the error into an obj that can be serialized
  33278. if (typeof e === 'string') {
  33279. wrappedException = {
  33280. message: e,
  33281. stack: minimumStackMessage
  33282. };
  33283. } else if (typeof e === 'object') {
  33284. wrappedException = {
  33285. message: e.message || e.toString(),
  33286. stack: e.stack || minimumStackMessage
  33287. };
  33288. } else {
  33289. wrappedException = {
  33290. message: 'Unknown exception type: ' + (typeof e),
  33291. stack: minimumStackMessage
  33292. };
  33293. }
  33294. handler.send('PageError', {
  33295. pageNum: pageNum,
  33296. error: wrappedException
  33297. });
  33298. });
  33299. });
  33300. }, this);
  33301. handler.on('GetTextContent', function wphExtractText(data, deferred) {
  33302. pdfManager.getPage(data.pageIndex).then(function(page) {
  33303. var pageNum = data.pageIndex + 1;
  33304. var start = Date.now();
  33305. page.extractTextContent().then(function(textContent) {
  33306. deferred.resolve(textContent);
  33307. info('text indexing: page=%d - time=%dms', pageNum,
  33308. Date.now() - start);
  33309. }, function (e) {
  33310. // Skip errored pages
  33311. deferred.reject(e);
  33312. });
  33313. });
  33314. });
  33315. handler.on('Cleanup', function wphCleanup(data, deferred) {
  33316. pdfManager.cleanup();
  33317. deferred.resolve(true);
  33318. });
  33319. handler.on('Terminate', function wphTerminate(data, deferred) {
  33320. pdfManager.terminate();
  33321. deferred.resolve();
  33322. });
  33323. }
  33324. };
  33325. var consoleTimer = {};
  33326. var workerConsole = {
  33327. log: function log() {
  33328. var args = Array.prototype.slice.call(arguments);
  33329. globalScope.postMessage({
  33330. action: 'console_log',
  33331. data: args
  33332. });
  33333. },
  33334. error: function error() {
  33335. var args = Array.prototype.slice.call(arguments);
  33336. globalScope.postMessage({
  33337. action: 'console_error',
  33338. data: args
  33339. });
  33340. throw 'pdf.js execution error';
  33341. },
  33342. time: function time(name) {
  33343. consoleTimer[name] = Date.now();
  33344. },
  33345. timeEnd: function timeEnd(name) {
  33346. var time = consoleTimer[name];
  33347. if (!time) {
  33348. error('Unknown timer name ' + name);
  33349. }
  33350. this.log('Timer:', name, Date.now() - time);
  33351. }
  33352. };
  33353. // Worker thread?
  33354. if (typeof window === 'undefined') {
  33355. if (!('console' in globalScope)) {
  33356. globalScope.console = workerConsole;
  33357. }
  33358. // Listen for unsupported features so we can pass them on to the main thread.
  33359. PDFJS.UnsupportedManager.listen(function (msg) {
  33360. globalScope.postMessage({
  33361. action: '_unsupported_feature',
  33362. data: msg
  33363. });
  33364. });
  33365. var handler = new MessageHandler('worker_processor', this);
  33366. WorkerMessageHandler.setup(handler);
  33367. }
  33368. var JpxImage = (function JpxImageClosure() {
  33369. // Table E.1
  33370. var SubbandsGainLog2 = {
  33371. 'LL': 0,
  33372. 'LH': 1,
  33373. 'HL': 1,
  33374. 'HH': 2
  33375. };
  33376. function JpxImage() {
  33377. this.failOnCorruptedImage = false;
  33378. }
  33379. JpxImage.prototype = {
  33380. load: function JpxImage_load(url) {
  33381. var xhr = new XMLHttpRequest();
  33382. xhr.open('GET', url, true);
  33383. xhr.responseType = 'arraybuffer';
  33384. xhr.onload = (function() {
  33385. // TODO catch parse error
  33386. var data = new Uint8Array(xhr.response || xhr.mozResponseArrayBuffer);
  33387. this.parse(data);
  33388. if (this.onload)
  33389. this.onload();
  33390. }).bind(this);
  33391. xhr.send(null);
  33392. },
  33393. parse: function JpxImage_parse(data) {
  33394. function readUint(data, offset, bytes) {
  33395. var n = 0;
  33396. for (var i = 0; i < bytes; i++)
  33397. n = n * 256 + (data[offset + i] & 0xFF);
  33398. return n;
  33399. }
  33400. var position = 0, length = data.length;
  33401. while (position < length) {
  33402. var headerSize = 8;
  33403. var lbox = readUint(data, position, 4);
  33404. var tbox = readUint(data, position + 4, 4);
  33405. position += headerSize;
  33406. if (lbox == 1) {
  33407. lbox = readUint(data, position, 8);
  33408. position += 8;
  33409. headerSize += 8;
  33410. }
  33411. if (lbox === 0)
  33412. lbox = length - position + headerSize;
  33413. if (lbox < headerSize)
  33414. error('JPX error: Invalid box field size');
  33415. var dataLength = lbox - headerSize;
  33416. var jumpDataLength = true;
  33417. switch (tbox) {
  33418. case 0x6A501A1A: // 'jP\032\032'
  33419. // TODO
  33420. break;
  33421. case 0x6A703268: // 'jp2h'
  33422. jumpDataLength = false; // parsing child boxes
  33423. break;
  33424. case 0x636F6C72: // 'colr'
  33425. // TODO
  33426. break;
  33427. case 0x6A703263: // 'jp2c'
  33428. this.parseCodestream(data, position, position + dataLength);
  33429. break;
  33430. }
  33431. if (jumpDataLength)
  33432. position += dataLength;
  33433. }
  33434. },
  33435. parseCodestream: function JpxImage_parseCodestream(data, start, end) {
  33436. var context = {};
  33437. try {
  33438. var position = start;
  33439. while (position < end) {
  33440. var code = readUint16(data, position);
  33441. position += 2;
  33442. var length = 0, j;
  33443. switch (code) {
  33444. case 0xFF4F: // Start of codestream (SOC)
  33445. context.mainHeader = true;
  33446. break;
  33447. case 0xFFD9: // End of codestream (EOC)
  33448. break;
  33449. case 0xFF51: // Image and tile size (SIZ)
  33450. length = readUint16(data, position);
  33451. var siz = {};
  33452. siz.Xsiz = readUint32(data, position + 4);
  33453. siz.Ysiz = readUint32(data, position + 8);
  33454. siz.XOsiz = readUint32(data, position + 12);
  33455. siz.YOsiz = readUint32(data, position + 16);
  33456. siz.XTsiz = readUint32(data, position + 20);
  33457. siz.YTsiz = readUint32(data, position + 24);
  33458. siz.XTOsiz = readUint32(data, position + 28);
  33459. siz.YTOsiz = readUint32(data, position + 32);
  33460. var componentsCount = readUint16(data, position + 36);
  33461. siz.Csiz = componentsCount;
  33462. var components = [];
  33463. j = position + 38;
  33464. for (var i = 0; i < componentsCount; i++) {
  33465. var component = {
  33466. precision: (data[j] & 0x7F) + 1,
  33467. isSigned: !!(data[j] & 0x80),
  33468. XRsiz: data[j + 1],
  33469. YRsiz: data[j + 1]
  33470. };
  33471. calculateComponentDimensions(component, siz);
  33472. components.push(component);
  33473. }
  33474. context.SIZ = siz;
  33475. context.components = components;
  33476. calculateTileGrids(context, components);
  33477. context.QCC = [];
  33478. context.COC = [];
  33479. break;
  33480. case 0xFF5C: // Quantization default (QCD)
  33481. length = readUint16(data, position);
  33482. var qcd = {};
  33483. j = position + 2;
  33484. var sqcd = data[j++];
  33485. var spqcdSize, scalarExpounded;
  33486. switch (sqcd & 0x1F) {
  33487. case 0:
  33488. spqcdSize = 8;
  33489. scalarExpounded = true;
  33490. break;
  33491. case 1:
  33492. spqcdSize = 16;
  33493. scalarExpounded = false;
  33494. break;
  33495. case 2:
  33496. spqcdSize = 16;
  33497. scalarExpounded = true;
  33498. break;
  33499. default:
  33500. throw 'Invalid SQcd value ' + sqcd;
  33501. }
  33502. qcd.noQuantization = spqcdSize == 8;
  33503. qcd.scalarExpounded = scalarExpounded;
  33504. qcd.guardBits = sqcd >> 5;
  33505. var spqcds = [];
  33506. while (j < length + position) {
  33507. var spqcd = {};
  33508. if (spqcdSize == 8) {
  33509. spqcd.epsilon = data[j++] >> 3;
  33510. spqcd.mu = 0;
  33511. } else {
  33512. spqcd.epsilon = data[j] >> 3;
  33513. spqcd.mu = ((data[j] & 0x7) << 8) | data[j + 1];
  33514. j += 2;
  33515. }
  33516. spqcds.push(spqcd);
  33517. }
  33518. qcd.SPqcds = spqcds;
  33519. if (context.mainHeader)
  33520. context.QCD = qcd;
  33521. else {
  33522. context.currentTile.QCD = qcd;
  33523. context.currentTile.QCC = [];
  33524. }
  33525. break;
  33526. case 0xFF5D: // Quantization component (QCC)
  33527. length = readUint16(data, position);
  33528. var qcc = {};
  33529. j = position + 2;
  33530. var cqcc;
  33531. if (context.SIZ.Csiz < 257)
  33532. cqcc = data[j++];
  33533. else {
  33534. cqcc = readUint16(data, j);
  33535. j += 2;
  33536. }
  33537. var sqcd = data[j++];
  33538. var spqcdSize, scalarExpounded;
  33539. switch (sqcd & 0x1F) {
  33540. case 0:
  33541. spqcdSize = 8;
  33542. scalarExpounded = true;
  33543. break;
  33544. case 1:
  33545. spqcdSize = 16;
  33546. scalarExpounded = false;
  33547. break;
  33548. case 2:
  33549. spqcdSize = 16;
  33550. scalarExpounded = true;
  33551. break;
  33552. default:
  33553. throw 'Invalid SQcd value ' + sqcd;
  33554. }
  33555. qcc.noQuantization = spqcdSize == 8;
  33556. qcc.scalarExpounded = scalarExpounded;
  33557. qcc.guardBits = sqcd >> 5;
  33558. var spqcds = [];
  33559. while (j < length + position) {
  33560. var spqcd = {};
  33561. if (spqcdSize == 8) {
  33562. spqcd.epsilon = data[j++] >> 3;
  33563. spqcd.mu = 0;
  33564. } else {
  33565. spqcd.epsilon = data[j] >> 3;
  33566. spqcd.mu = ((data[j] & 0x7) << 8) | data[j + 1];
  33567. j += 2;
  33568. }
  33569. spqcds.push(spqcd);
  33570. }
  33571. qcc.SPqcds = spqcds;
  33572. if (context.mainHeader)
  33573. context.QCC[cqcc] = qcc;
  33574. else
  33575. context.currentTile.QCC[cqcc] = qcc;
  33576. break;
  33577. case 0xFF52: // Coding style default (COD)
  33578. length = readUint16(data, position);
  33579. var cod = {};
  33580. j = position + 2;
  33581. var scod = data[j++];
  33582. cod.entropyCoderWithCustomPrecincts = !!(scod & 1);
  33583. cod.sopMarkerUsed = !!(scod & 2);
  33584. cod.ephMarkerUsed = !!(scod & 4);
  33585. var codingStyle = {};
  33586. cod.progressionOrder = data[j++];
  33587. cod.layersCount = readUint16(data, j);
  33588. j += 2;
  33589. cod.multipleComponentTransform = data[j++];
  33590. cod.decompositionLevelsCount = data[j++];
  33591. cod.xcb = (data[j++] & 0xF) + 2;
  33592. cod.ycb = (data[j++] & 0xF) + 2;
  33593. var blockStyle = data[j++];
  33594. cod.selectiveArithmeticCodingBypass = !!(blockStyle & 1);
  33595. cod.resetContextProbabilities = !!(blockStyle & 2);
  33596. cod.terminationOnEachCodingPass = !!(blockStyle & 4);
  33597. cod.verticalyStripe = !!(blockStyle & 8);
  33598. cod.predictableTermination = !!(blockStyle & 16);
  33599. cod.segmentationSymbolUsed = !!(blockStyle & 32);
  33600. cod.transformation = data[j++];
  33601. if (cod.entropyCoderWithCustomPrecincts) {
  33602. var precinctsSizes = {};
  33603. while (j < length + position) {
  33604. var precinctsSize = data[j];
  33605. precinctsSizes.push({
  33606. PPx: precinctsSize & 0xF,
  33607. PPy: precinctsSize >> 4
  33608. });
  33609. }
  33610. cod.precinctsSizes = precinctsSizes;
  33611. }
  33612. if (cod.sopMarkerUsed || cod.ephMarkerUsed ||
  33613. cod.selectiveArithmeticCodingBypass ||
  33614. cod.resetContextProbabilities ||
  33615. cod.terminationOnEachCodingPass ||
  33616. cod.verticalyStripe || cod.predictableTermination)
  33617. throw 'Unsupported COD options: ' +
  33618. globalScope.JSON.stringify(cod);
  33619. if (context.mainHeader)
  33620. context.COD = cod;
  33621. else {
  33622. context.currentTile.COD = cod;
  33623. context.currentTile.COC = [];
  33624. }
  33625. break;
  33626. case 0xFF90: // Start of tile-part (SOT)
  33627. length = readUint16(data, position);
  33628. var tile = {};
  33629. tile.index = readUint16(data, position + 2);
  33630. tile.length = readUint32(data, position + 4);
  33631. tile.dataEnd = tile.length + position - 2;
  33632. tile.partIndex = data[position + 8];
  33633. tile.partsCount = data[position + 9];
  33634. context.mainHeader = false;
  33635. if (tile.partIndex === 0) {
  33636. // reset component specific settings
  33637. tile.COD = context.COD;
  33638. tile.COC = context.COC.slice(0); // clone of the global COC
  33639. tile.QCD = context.QCD;
  33640. tile.QCC = context.QCC.slice(0); // clone of the global COC
  33641. }
  33642. context.currentTile = tile;
  33643. break;
  33644. case 0xFF93: // Start of data (SOD)
  33645. var tile = context.currentTile;
  33646. if (tile.partIndex === 0) {
  33647. initializeTile(context, tile.index);
  33648. buildPackets(context);
  33649. }
  33650. // moving to the end of the data
  33651. length = tile.dataEnd - position;
  33652. parseTilePackets(context, data, position, length);
  33653. break;
  33654. case 0xFF64: // Comment (COM)
  33655. length = readUint16(data, position);
  33656. // skipping content
  33657. break;
  33658. default:
  33659. throw 'Unknown codestream code: ' + code.toString(16);
  33660. }
  33661. position += length;
  33662. }
  33663. } catch (e) {
  33664. if (this.failOnCorruptedImage)
  33665. error('JPX error: ' + e);
  33666. else
  33667. warn('JPX error: ' + e + '. Trying to recover');
  33668. }
  33669. this.tiles = transformComponents(context);
  33670. this.width = context.SIZ.Xsiz - context.SIZ.XOsiz;
  33671. this.height = context.SIZ.Ysiz - context.SIZ.YOsiz;
  33672. this.componentsCount = context.SIZ.Csiz;
  33673. }
  33674. };
  33675. function readUint32(data, offset) {
  33676. return (data[offset] << 24) | (data[offset + 1] << 16) |
  33677. (data[offset + 2] << 8) | data[offset + 3];
  33678. }
  33679. function readUint16(data, offset) {
  33680. return (data[offset] << 8) | data[offset + 1];
  33681. }
  33682. function log2(x) {
  33683. var n = 1, i = 0;
  33684. while (x > n) {
  33685. n <<= 1;
  33686. i++;
  33687. }
  33688. return i;
  33689. }
  33690. function calculateComponentDimensions(component, siz) {
  33691. // Section B.2 Component mapping
  33692. component.x0 = Math.ceil(siz.XOsiz / component.XRsiz);
  33693. component.x1 = Math.ceil(siz.Xsiz / component.XRsiz);
  33694. component.y0 = Math.ceil(siz.YOsiz / component.YRsiz);
  33695. component.y1 = Math.ceil(siz.Ysiz / component.YRsiz);
  33696. component.width = component.x1 - component.x0;
  33697. component.height = component.y1 - component.y0;
  33698. }
  33699. function calculateTileGrids(context, components) {
  33700. var siz = context.SIZ;
  33701. // Section B.3 Division into tile and tile-components
  33702. var tiles = [];
  33703. var numXtiles = Math.ceil((siz.Xsiz - siz.XTOsiz) / siz.XTsiz);
  33704. var numYtiles = Math.ceil((siz.Ysiz - siz.YTOsiz) / siz.YTsiz);
  33705. for (var q = 0; q < numYtiles; q++) {
  33706. for (var p = 0; p < numXtiles; p++) {
  33707. var tile = {};
  33708. tile.tx0 = Math.max(siz.XTOsiz + p * siz.XTsiz, siz.XOsiz);
  33709. tile.ty0 = Math.max(siz.YTOsiz + q * siz.YTsiz, siz.YOsiz);
  33710. tile.tx1 = Math.min(siz.XTOsiz + (p + 1) * siz.XTsiz, siz.Xsiz);
  33711. tile.ty1 = Math.min(siz.YTOsiz + (q + 1) * siz.YTsiz, siz.Ysiz);
  33712. tile.width = tile.tx1 - tile.tx0;
  33713. tile.height = tile.ty1 - tile.ty0;
  33714. tile.components = [];
  33715. tiles.push(tile);
  33716. }
  33717. }
  33718. context.tiles = tiles;
  33719. var componentsCount = siz.Csiz;
  33720. for (var i = 0, ii = componentsCount; i < ii; i++) {
  33721. var component = components[i];
  33722. var tileComponents = [];
  33723. for (var j = 0, jj = tiles.length; j < jj; j++) {
  33724. var tileComponent = {}, tile = tiles[j];
  33725. tileComponent.tcx0 = Math.ceil(tile.tx0 / component.XRsiz);
  33726. tileComponent.tcy0 = Math.ceil(tile.ty0 / component.YRsiz);
  33727. tileComponent.tcx1 = Math.ceil(tile.tx1 / component.XRsiz);
  33728. tileComponent.tcy1 = Math.ceil(tile.ty1 / component.YRsiz);
  33729. tileComponent.width = tileComponent.tcx1 - tileComponent.tcx0;
  33730. tileComponent.height = tileComponent.tcy1 - tileComponent.tcy0;
  33731. tile.components[i] = tileComponent;
  33732. }
  33733. }
  33734. }
  33735. function getBlocksDimensions(context, component, r) {
  33736. var codOrCoc = component.codingStyleParameters;
  33737. var result = {};
  33738. if (!codOrCoc.entropyCoderWithCustomPrecincts) {
  33739. result.PPx = 15;
  33740. result.PPy = 15;
  33741. } else {
  33742. result.PPx = codOrCoc.precinctsSizes[r].PPx;
  33743. result.PPy = codOrCoc.precinctsSizes[r].PPy;
  33744. }
  33745. // calculate codeblock size as described in section B.7
  33746. result.xcb_ = r > 0 ? Math.min(codOrCoc.xcb, result.PPx - 1) :
  33747. Math.min(codOrCoc.xcb, result.PPx);
  33748. result.ycb_ = r > 0 ? Math.min(codOrCoc.ycb, result.PPy - 1) :
  33749. Math.min(codOrCoc.ycb, result.PPy);
  33750. return result;
  33751. }
  33752. function buildPrecincts(context, resolution, dimensions) {
  33753. // Section B.6 Division resolution to precincts
  33754. var precinctWidth = 1 << dimensions.PPx;
  33755. var precinctHeight = 1 << dimensions.PPy;
  33756. var numprecinctswide = resolution.trx1 > resolution.trx0 ?
  33757. Math.ceil(resolution.trx1 / precinctWidth) -
  33758. Math.floor(resolution.trx0 / precinctWidth) : 0;
  33759. var numprecinctshigh = resolution.try1 > resolution.try0 ?
  33760. Math.ceil(resolution.try1 / precinctHeight) -
  33761. Math.floor(resolution.try0 / precinctHeight) : 0;
  33762. var numprecincts = numprecinctswide * numprecinctshigh;
  33763. var precinctXOffset = Math.floor(resolution.trx0 / precinctWidth) *
  33764. precinctWidth;
  33765. var precinctYOffset = Math.floor(resolution.try0 / precinctHeight) *
  33766. precinctHeight;
  33767. resolution.precinctParameters = {
  33768. precinctXOffset: precinctXOffset,
  33769. precinctYOffset: precinctYOffset,
  33770. precinctWidth: precinctWidth,
  33771. precinctHeight: precinctHeight,
  33772. numprecinctswide: numprecinctswide,
  33773. numprecinctshigh: numprecinctshigh,
  33774. numprecincts: numprecincts
  33775. };
  33776. }
  33777. function buildCodeblocks(context, subband, dimensions) {
  33778. // Section B.7 Division sub-band into code-blocks
  33779. var xcb_ = dimensions.xcb_;
  33780. var ycb_ = dimensions.ycb_;
  33781. var codeblockWidth = 1 << xcb_;
  33782. var codeblockHeight = 1 << ycb_;
  33783. var cbx0 = Math.floor(subband.tbx0 / codeblockWidth);
  33784. var cby0 = Math.floor(subband.tby0 / codeblockHeight);
  33785. var cbx1 = Math.ceil(subband.tbx1 / codeblockWidth);
  33786. var cby1 = Math.ceil(subband.tby1 / codeblockHeight);
  33787. var precinctParameters = subband.resolution.precinctParameters;
  33788. var codeblocks = [];
  33789. var precincts = [];
  33790. for (var j = cby0; j < cby1; j++) {
  33791. for (var i = cbx0; i < cbx1; i++) {
  33792. var codeblock = {
  33793. cbx: i,
  33794. cby: j,
  33795. tbx0: codeblockWidth * i,
  33796. tby0: codeblockHeight * j,
  33797. tbx1: codeblockWidth * (i + 1),
  33798. tby1: codeblockHeight * (j + 1)
  33799. };
  33800. // calculate precinct number
  33801. var pi = Math.floor((codeblock.tbx0 -
  33802. precinctParameters.precinctXOffset) /
  33803. precinctParameters.precinctWidth);
  33804. var pj = Math.floor((codeblock.tby0 -
  33805. precinctParameters.precinctYOffset) /
  33806. precinctParameters.precinctHeight);
  33807. var precinctNumber = pj +
  33808. pi * precinctParameters.numprecinctswide;
  33809. codeblock.tbx0_ = Math.max(subband.tbx0, codeblock.tbx0);
  33810. codeblock.tby0_ = Math.max(subband.tby0, codeblock.tby0);
  33811. codeblock.tbx1_ = Math.min(subband.tbx1, codeblock.tbx1);
  33812. codeblock.tby1_ = Math.min(subband.tby1, codeblock.tby1);
  33813. codeblock.precinctNumber = precinctNumber;
  33814. codeblock.subbandType = subband.type;
  33815. var coefficientsLength = (codeblock.tbx1_ - codeblock.tbx0_) *
  33816. (codeblock.tby1_ - codeblock.tby0_);
  33817. codeblock.Lblock = 3;
  33818. codeblocks.push(codeblock);
  33819. // building precinct for the sub-band
  33820. var precinct;
  33821. if (precinctNumber in precincts) {
  33822. precinct = precincts[precinctNumber];
  33823. precinct.cbxMin = Math.min(precinct.cbxMin, i);
  33824. precinct.cbyMin = Math.min(precinct.cbyMin, j);
  33825. precinct.cbxMax = Math.max(precinct.cbxMax, i);
  33826. precinct.cbyMax = Math.max(precinct.cbyMax, j);
  33827. } else {
  33828. precincts[precinctNumber] = precinct = {
  33829. cbxMin: i,
  33830. cbyMin: j,
  33831. cbxMax: i,
  33832. cbyMax: j
  33833. };
  33834. }
  33835. codeblock.precinct = precinct;
  33836. }
  33837. }
  33838. subband.codeblockParameters = {
  33839. codeblockWidth: xcb_,
  33840. codeblockHeight: ycb_,
  33841. numcodeblockwide: cbx1 - cbx0 + 1,
  33842. numcodeblockhigh: cby1 - cby1 + 1
  33843. };
  33844. subband.codeblocks = codeblocks;
  33845. for (var i = 0, ii = codeblocks.length; i < ii; i++) {
  33846. var codeblock = codeblocks[i];
  33847. var precinctNumber = codeblock.precinctNumber;
  33848. }
  33849. subband.precincts = precincts;
  33850. }
  33851. function createPacket(resolution, precinctNumber, layerNumber) {
  33852. var precinctCodeblocks = [];
  33853. // Section B.10.8 Order of info in packet
  33854. var subbands = resolution.subbands;
  33855. // sub-bands already ordered in 'LL', 'HL', 'LH', and 'HH' sequence
  33856. for (var i = 0, ii = subbands.length; i < ii; i++) {
  33857. var subband = subbands[i];
  33858. var codeblocks = subband.codeblocks;
  33859. for (var j = 0, jj = codeblocks.length; j < jj; j++) {
  33860. var codeblock = codeblocks[j];
  33861. if (codeblock.precinctNumber != precinctNumber)
  33862. continue;
  33863. precinctCodeblocks.push(codeblock);
  33864. }
  33865. }
  33866. return {
  33867. layerNumber: layerNumber,
  33868. codeblocks: precinctCodeblocks
  33869. };
  33870. }
  33871. function LayerResolutionComponentPositionIterator(context) {
  33872. var siz = context.SIZ;
  33873. var tileIndex = context.currentTile.index;
  33874. var tile = context.tiles[tileIndex];
  33875. var layersCount = tile.codingStyleDefaultParameters.layersCount;
  33876. var componentsCount = siz.Csiz;
  33877. var maxDecompositionLevelsCount = 0;
  33878. for (var q = 0; q < componentsCount; q++) {
  33879. maxDecompositionLevelsCount = Math.max(maxDecompositionLevelsCount,
  33880. tile.components[q].codingStyleParameters.decompositionLevelsCount);
  33881. }
  33882. var l = 0, r = 0, i = 0, k = 0;
  33883. this.nextPacket = function JpxImage_nextPacket() {
  33884. // Section B.12.1.1 Layer-resolution-component-position
  33885. for (; l < layersCount; l++) {
  33886. for (; r <= maxDecompositionLevelsCount; r++) {
  33887. for (; i < componentsCount; i++) {
  33888. var component = tile.components[i];
  33889. if (r > component.codingStyleParameters.decompositionLevelsCount)
  33890. continue;
  33891. var resolution = component.resolutions[r];
  33892. var numprecincts = resolution.precinctParameters.numprecincts;
  33893. for (; k < numprecincts;) {
  33894. var packet = createPacket(resolution, k, l);
  33895. k++;
  33896. return packet;
  33897. }
  33898. k = 0;
  33899. }
  33900. i = 0;
  33901. }
  33902. r = 0;
  33903. }
  33904. throw 'Out of packets';
  33905. };
  33906. }
  33907. function ResolutionLayerComponentPositionIterator(context) {
  33908. var siz = context.SIZ;
  33909. var tileIndex = context.currentTile.index;
  33910. var tile = context.tiles[tileIndex];
  33911. var layersCount = tile.codingStyleDefaultParameters.layersCount;
  33912. var componentsCount = siz.Csiz;
  33913. var maxDecompositionLevelsCount = 0;
  33914. for (var q = 0; q < componentsCount; q++) {
  33915. maxDecompositionLevelsCount = Math.max(maxDecompositionLevelsCount,
  33916. tile.components[q].codingStyleParameters.decompositionLevelsCount);
  33917. }
  33918. var r = 0, l = 0, i = 0, k = 0;
  33919. this.nextPacket = function JpxImage_nextPacket() {
  33920. // Section B.12.1.2 Resolution-layer-component-position
  33921. for (; r <= maxDecompositionLevelsCount; r++) {
  33922. for (; l < layersCount; l++) {
  33923. for (; i < componentsCount; i++) {
  33924. var component = tile.components[i];
  33925. if (r > component.codingStyleParameters.decompositionLevelsCount)
  33926. continue;
  33927. var resolution = component.resolutions[r];
  33928. var numprecincts = resolution.precinctParameters.numprecincts;
  33929. for (; k < numprecincts;) {
  33930. var packet = createPacket(resolution, k, l);
  33931. k++;
  33932. return packet;
  33933. }
  33934. k = 0;
  33935. }
  33936. i = 0;
  33937. }
  33938. l = 0;
  33939. }
  33940. throw 'Out of packets';
  33941. };
  33942. }
  33943. function buildPackets(context) {
  33944. var siz = context.SIZ;
  33945. var tileIndex = context.currentTile.index;
  33946. var tile = context.tiles[tileIndex];
  33947. var componentsCount = siz.Csiz;
  33948. // Creating resolutions and sub-bands for each component
  33949. for (var c = 0; c < componentsCount; c++) {
  33950. var component = tile.components[c];
  33951. var decompositionLevelsCount =
  33952. component.codingStyleParameters.decompositionLevelsCount;
  33953. // Section B.5 Resolution levels and sub-bands
  33954. var resolutions = [];
  33955. var subbands = [];
  33956. for (var r = 0; r <= decompositionLevelsCount; r++) {
  33957. var blocksDimensions = getBlocksDimensions(context, component, r);
  33958. var resolution = {};
  33959. var scale = 1 << (decompositionLevelsCount - r);
  33960. resolution.trx0 = Math.ceil(component.tcx0 / scale);
  33961. resolution.try0 = Math.ceil(component.tcy0 / scale);
  33962. resolution.trx1 = Math.ceil(component.tcx1 / scale);
  33963. resolution.try1 = Math.ceil(component.tcy1 / scale);
  33964. buildPrecincts(context, resolution, blocksDimensions);
  33965. resolutions.push(resolution);
  33966. var subband;
  33967. if (r === 0) {
  33968. // one sub-band (LL) with last decomposition
  33969. subband = {};
  33970. subband.type = 'LL';
  33971. subband.tbx0 = Math.ceil(component.tcx0 / scale);
  33972. subband.tby0 = Math.ceil(component.tcy0 / scale);
  33973. subband.tbx1 = Math.ceil(component.tcx1 / scale);
  33974. subband.tby1 = Math.ceil(component.tcy1 / scale);
  33975. subband.resolution = resolution;
  33976. buildCodeblocks(context, subband, blocksDimensions);
  33977. subbands.push(subband);
  33978. resolution.subbands = [subband];
  33979. } else {
  33980. var bscale = 1 << (decompositionLevelsCount - r + 1);
  33981. var resolutionSubbands = [];
  33982. // three sub-bands (HL, LH and HH) with rest of decompositions
  33983. subband = {};
  33984. subband.type = 'HL';
  33985. subband.tbx0 = Math.ceil(component.tcx0 / bscale - 0.5);
  33986. subband.tby0 = Math.ceil(component.tcy0 / bscale);
  33987. subband.tbx1 = Math.ceil(component.tcx1 / bscale - 0.5);
  33988. subband.tby1 = Math.ceil(component.tcy1 / bscale);
  33989. subband.resolution = resolution;
  33990. buildCodeblocks(context, subband, blocksDimensions);
  33991. subbands.push(subband);
  33992. resolutionSubbands.push(subband);
  33993. subband = {};
  33994. subband.type = 'LH';
  33995. subband.tbx0 = Math.ceil(component.tcx0 / bscale);
  33996. subband.tby0 = Math.ceil(component.tcy0 / bscale - 0.5);
  33997. subband.tbx1 = Math.ceil(component.tcx1 / bscale);
  33998. subband.tby1 = Math.ceil(component.tcy1 / bscale - 0.5);
  33999. subband.resolution = resolution;
  34000. buildCodeblocks(context, subband, blocksDimensions);
  34001. subbands.push(subband);
  34002. resolutionSubbands.push(subband);
  34003. subband = {};
  34004. subband.type = 'HH';
  34005. subband.tbx0 = Math.ceil(component.tcx0 / bscale - 0.5);
  34006. subband.tby0 = Math.ceil(component.tcy0 / bscale - 0.5);
  34007. subband.tbx1 = Math.ceil(component.tcx1 / bscale - 0.5);
  34008. subband.tby1 = Math.ceil(component.tcy1 / bscale - 0.5);
  34009. subband.resolution = resolution;
  34010. buildCodeblocks(context, subband, blocksDimensions);
  34011. subbands.push(subband);
  34012. resolutionSubbands.push(subband);
  34013. resolution.subbands = resolutionSubbands;
  34014. }
  34015. }
  34016. component.resolutions = resolutions;
  34017. component.subbands = subbands;
  34018. }
  34019. // Generate the packets sequence
  34020. var progressionOrder = tile.codingStyleDefaultParameters.progressionOrder;
  34021. var packetsIterator;
  34022. switch (progressionOrder) {
  34023. case 0:
  34024. tile.packetsIterator =
  34025. new LayerResolutionComponentPositionIterator(context);
  34026. break;
  34027. case 1:
  34028. tile.packetsIterator =
  34029. new ResolutionLayerComponentPositionIterator(context);
  34030. break;
  34031. default:
  34032. throw 'Unsupported progression order ' + progressionOrder;
  34033. }
  34034. }
  34035. function parseTilePackets(context, data, offset, dataLength) {
  34036. var position = 0;
  34037. var buffer, bufferSize = 0, skipNextBit = false;
  34038. function readBits(count) {
  34039. while (bufferSize < count) {
  34040. var b = data[offset + position];
  34041. position++;
  34042. if (skipNextBit) {
  34043. buffer = (buffer << 7) | b;
  34044. bufferSize += 7;
  34045. skipNextBit = false;
  34046. } else {
  34047. buffer = (buffer << 8) | b;
  34048. bufferSize += 8;
  34049. }
  34050. if (b == 0xFF) {
  34051. skipNextBit = true;
  34052. }
  34053. }
  34054. bufferSize -= count;
  34055. return (buffer >>> bufferSize) & ((1 << count) - 1);
  34056. }
  34057. function alignToByte() {
  34058. bufferSize = 0;
  34059. if (skipNextBit) {
  34060. position++;
  34061. skipNextBit = false;
  34062. }
  34063. }
  34064. function readCodingpasses() {
  34065. var value = readBits(1);
  34066. if (value === 0)
  34067. return 1;
  34068. value = (value << 1) | readBits(1);
  34069. if (value == 0x02)
  34070. return 2;
  34071. value = (value << 2) | readBits(2);
  34072. if (value <= 0x0E)
  34073. return (value & 0x03) + 3;
  34074. value = (value << 5) | readBits(5);
  34075. if (value <= 0x1FE)
  34076. return (value & 0x1F) + 6;
  34077. value = (value << 7) | readBits(7);
  34078. return (value & 0x7F) + 37;
  34079. }
  34080. var tileIndex = context.currentTile.index;
  34081. var tile = context.tiles[tileIndex];
  34082. var packetsIterator = tile.packetsIterator;
  34083. while (position < dataLength) {
  34084. var packet = packetsIterator.nextPacket();
  34085. if (!readBits(1)) {
  34086. alignToByte();
  34087. continue;
  34088. }
  34089. var layerNumber = packet.layerNumber;
  34090. var queue = [];
  34091. for (var i = 0, ii = packet.codeblocks.length; i < ii; i++) {
  34092. var codeblock = packet.codeblocks[i];
  34093. var precinct = codeblock.precinct;
  34094. var codeblockColumn = codeblock.cbx - precinct.cbxMin;
  34095. var codeblockRow = codeblock.cby - precinct.cbyMin;
  34096. var codeblockIncluded = false;
  34097. var firstTimeInclusion = false;
  34098. if ('included' in codeblock) {
  34099. codeblockIncluded = !!readBits(1);
  34100. } else {
  34101. // reading inclusion tree
  34102. var precinct = codeblock.precinct;
  34103. var inclusionTree, zeroBitPlanesTree;
  34104. if ('inclusionTree' in precinct) {
  34105. inclusionTree = precinct.inclusionTree;
  34106. } else {
  34107. // building inclusion and zero bit-planes trees
  34108. var width = precinct.cbxMax - precinct.cbxMin + 1;
  34109. var height = precinct.cbyMax - precinct.cbyMin + 1;
  34110. inclusionTree = new InclusionTree(width, height, layerNumber);
  34111. zeroBitPlanesTree = new TagTree(width, height);
  34112. precinct.inclusionTree = inclusionTree;
  34113. precinct.zeroBitPlanesTree = zeroBitPlanesTree;
  34114. }
  34115. if (inclusionTree.reset(codeblockColumn, codeblockRow, layerNumber)) {
  34116. while (true) {
  34117. if (readBits(1)) {
  34118. var valueReady = !inclusionTree.nextLevel();
  34119. if (valueReady) {
  34120. codeblock.included = true;
  34121. codeblockIncluded = firstTimeInclusion = true;
  34122. break;
  34123. }
  34124. } else {
  34125. inclusionTree.incrementValue(layerNumber);
  34126. break;
  34127. }
  34128. }
  34129. }
  34130. }
  34131. if (!codeblockIncluded)
  34132. continue;
  34133. if (firstTimeInclusion) {
  34134. zeroBitPlanesTree = precinct.zeroBitPlanesTree;
  34135. zeroBitPlanesTree.reset(codeblockColumn, codeblockRow);
  34136. while (true) {
  34137. if (readBits(1)) {
  34138. var valueReady = !zeroBitPlanesTree.nextLevel();
  34139. if (valueReady)
  34140. break;
  34141. } else
  34142. zeroBitPlanesTree.incrementValue();
  34143. }
  34144. codeblock.zeroBitPlanes = zeroBitPlanesTree.value;
  34145. }
  34146. var codingpasses = readCodingpasses();
  34147. while (readBits(1))
  34148. codeblock.Lblock++;
  34149. var codingpassesLog2 = log2(codingpasses);
  34150. // rounding down log2
  34151. var bits = ((codingpasses < (1 << codingpassesLog2)) ?
  34152. codingpassesLog2 - 1 : codingpassesLog2) + codeblock.Lblock;
  34153. var codedDataLength = readBits(bits);
  34154. queue.push({
  34155. codeblock: codeblock,
  34156. codingpasses: codingpasses,
  34157. dataLength: codedDataLength
  34158. });
  34159. }
  34160. alignToByte();
  34161. while (queue.length > 0) {
  34162. var packetItem = queue.shift();
  34163. var codeblock = packetItem.codeblock;
  34164. if (!('data' in codeblock))
  34165. codeblock.data = [];
  34166. codeblock.data.push({
  34167. data: data,
  34168. start: offset + position,
  34169. end: offset + position + packetItem.dataLength,
  34170. codingpasses: packetItem.codingpasses
  34171. });
  34172. position += packetItem.dataLength;
  34173. }
  34174. }
  34175. return position;
  34176. }
  34177. function copyCoefficients(coefficients, x0, y0, width, height,
  34178. delta, mb, codeblocks, transformation,
  34179. segmentationSymbolUsed) {
  34180. var r = 0.5; // formula (E-6)
  34181. for (var i = 0, ii = codeblocks.length; i < ii; ++i) {
  34182. var codeblock = codeblocks[i];
  34183. var blockWidth = codeblock.tbx1_ - codeblock.tbx0_;
  34184. var blockHeight = codeblock.tby1_ - codeblock.tby0_;
  34185. if (blockWidth === 0 || blockHeight === 0)
  34186. continue;
  34187. if (!('data' in codeblock))
  34188. continue;
  34189. var bitModel, currentCodingpassType;
  34190. bitModel = new BitModel(blockWidth, blockHeight, codeblock.subbandType,
  34191. codeblock.zeroBitPlanes);
  34192. currentCodingpassType = 2; // first bit plane starts from cleanup
  34193. // collect data
  34194. var data = codeblock.data, totalLength = 0, codingpasses = 0;
  34195. for (var q = 0, qq = data.length; q < qq; q++) {
  34196. var dataItem = data[q];
  34197. totalLength += dataItem.end - dataItem.start;
  34198. codingpasses += dataItem.codingpasses;
  34199. }
  34200. var encodedData = new Uint8Array(totalLength), k = 0;
  34201. for (var q = 0, qq = data.length; q < qq; q++) {
  34202. var dataItem = data[q];
  34203. var chunk = dataItem.data.subarray(dataItem.start, dataItem.end);
  34204. encodedData.set(chunk, k);
  34205. k += chunk.length;
  34206. }
  34207. // decoding the item
  34208. var decoder = new ArithmeticDecoder(encodedData, 0, totalLength);
  34209. bitModel.setDecoder(decoder);
  34210. for (var q = 0; q < codingpasses; q++) {
  34211. switch (currentCodingpassType) {
  34212. case 0:
  34213. bitModel.runSignificancePropogationPass();
  34214. break;
  34215. case 1:
  34216. bitModel.runMagnitudeRefinementPass();
  34217. break;
  34218. case 2:
  34219. bitModel.runCleanupPass();
  34220. if (segmentationSymbolUsed)
  34221. bitModel.checkSegmentationSymbol();
  34222. break;
  34223. }
  34224. currentCodingpassType = (currentCodingpassType + 1) % 3;
  34225. }
  34226. var offset = (codeblock.tbx0_ - x0) + (codeblock.tby0_ - y0) * width;
  34227. var position = 0;
  34228. for (var j = 0; j < blockHeight; j++) {
  34229. for (var k = 0; k < blockWidth; k++) {
  34230. var n = (bitModel.coefficentsSign[position] ? -1 : 1) *
  34231. bitModel.coefficentsMagnitude[position];
  34232. var nb = bitModel.bitsDecoded[position], correction;
  34233. if (transformation === 0 || mb > nb) {
  34234. // use r only if transformation is irreversible or
  34235. // not all bitplanes were decoded for reversible transformation
  34236. n += n < 0 ? n - r : n > 0 ? n + r : 0;
  34237. correction = 1 << (mb - nb);
  34238. } else
  34239. correction = 1;
  34240. coefficients[offset++] = n * correction * delta;
  34241. position++;
  34242. }
  34243. offset += width - blockWidth;
  34244. }
  34245. }
  34246. }
  34247. function transformTile(context, tile, c) {
  34248. var component = tile.components[c];
  34249. var codingStyleParameters = component.codingStyleParameters;
  34250. var quantizationParameters = component.quantizationParameters;
  34251. var decompositionLevelsCount =
  34252. codingStyleParameters.decompositionLevelsCount;
  34253. var spqcds = quantizationParameters.SPqcds;
  34254. var scalarExpounded = quantizationParameters.scalarExpounded;
  34255. var guardBits = quantizationParameters.guardBits;
  34256. var transformation = codingStyleParameters.transformation;
  34257. var segmentationSymbolUsed = codingStyleParameters.segmentationSymbolUsed;
  34258. var precision = context.components[c].precision;
  34259. var subbandCoefficients = [];
  34260. var k = 0, b = 0;
  34261. for (var i = 0; i <= decompositionLevelsCount; i++) {
  34262. var resolution = component.resolutions[i];
  34263. for (var j = 0, jj = resolution.subbands.length; j < jj; j++) {
  34264. var mu, epsilon;
  34265. if (!scalarExpounded) {
  34266. // formula E-5
  34267. mu = spqcds[0].mu;
  34268. epsilon = spqcds[0].epsilon + (i > 0 ? 1 - i : 0);
  34269. } else {
  34270. mu = spqcds[b].mu;
  34271. epsilon = spqcds[b].epsilon;
  34272. }
  34273. var subband = resolution.subbands[j];
  34274. var width = subband.tbx1 - subband.tbx0;
  34275. var height = subband.tby1 - subband.tby0;
  34276. var gainLog2 = SubbandsGainLog2[subband.type];
  34277. // calulate quantization coefficient (Section E.1.1.1)
  34278. var delta = Math.pow(2, (precision + gainLog2) - epsilon) *
  34279. (1 + mu / 2048);
  34280. var mb = (guardBits + epsilon - 1);
  34281. var coefficients = new Float32Array(width * height);
  34282. copyCoefficients(coefficients, subband.tbx0, subband.tby0,
  34283. width, height, delta, mb, subband.codeblocks, transformation,
  34284. segmentationSymbolUsed);
  34285. subbandCoefficients.push({
  34286. width: width,
  34287. height: height,
  34288. items: coefficients
  34289. });
  34290. b++;
  34291. }
  34292. }
  34293. var transformation = codingStyleParameters.transformation;
  34294. var transform = transformation === 0 ? new IrreversibleTransform() :
  34295. new ReversibleTransform();
  34296. var result = transform.calculate(subbandCoefficients,
  34297. component.tcx0, component.tcy0);
  34298. return {
  34299. left: component.tcx0,
  34300. top: component.tcy0,
  34301. width: result.width,
  34302. height: result.height,
  34303. items: result.items
  34304. };
  34305. }
  34306. function transformComponents(context) {
  34307. var siz = context.SIZ;
  34308. var components = context.components;
  34309. var componentsCount = siz.Csiz;
  34310. var resultImages = [];
  34311. for (var i = 0, ii = context.tiles.length; i < ii; i++) {
  34312. var tile = context.tiles[i];
  34313. var result = [];
  34314. for (var c = 0; c < componentsCount; c++) {
  34315. var image = transformTile(context, tile, c);
  34316. result.push(image);
  34317. }
  34318. // Section G.2.2 Inverse multi component transform
  34319. if (tile.codingStyleDefaultParameters.multipleComponentTransform) {
  34320. var y0items = result[0].items;
  34321. var y1items = result[1].items;
  34322. var y2items = result[2].items;
  34323. for (var j = 0, jj = y0items.length; j < jj; j++) {
  34324. var y0 = y0items[j], y1 = y1items[j], y2 = y2items[j];
  34325. var i1 = y0 - ((y2 + y1) >> 2);
  34326. y1items[j] = i1;
  34327. y0items[j] = y2 + i1;
  34328. y2items[j] = y1 + i1;
  34329. }
  34330. }
  34331. // Section G.1 DC level shifting to unsigned component values
  34332. for (var c = 0; c < componentsCount; c++) {
  34333. var component = components[c];
  34334. if (component.isSigned)
  34335. continue;
  34336. var offset = 1 << (component.precision - 1);
  34337. var tileImage = result[c];
  34338. var items = tileImage.items;
  34339. for (var j = 0, jj = items.length; j < jj; j++)
  34340. items[j] += offset;
  34341. }
  34342. // To simplify things: shift and clamp output to 8 bit unsigned
  34343. for (var c = 0; c < componentsCount; c++) {
  34344. var component = components[c];
  34345. var offset = component.isSigned ? 128 : 0;
  34346. var shift = component.precision - 8;
  34347. var tileImage = result[c];
  34348. var items = tileImage.items;
  34349. var data = new Uint8Array(items.length);
  34350. for (var j = 0, jj = items.length; j < jj; j++) {
  34351. var value = (items[j] >> shift) + offset;
  34352. data[j] = value < 0 ? 0 : value > 255 ? 255 : value;
  34353. }
  34354. result[c].items = data;
  34355. }
  34356. resultImages.push(result);
  34357. }
  34358. return resultImages;
  34359. }
  34360. function initializeTile(context, tileIndex) {
  34361. var siz = context.SIZ;
  34362. var componentsCount = siz.Csiz;
  34363. var tile = context.tiles[tileIndex];
  34364. var resultTiles = [];
  34365. for (var c = 0; c < componentsCount; c++) {
  34366. var component = tile.components[c];
  34367. var qcdOrQcc = c in context.currentTile.QCC ?
  34368. context.currentTile.QCC[c] : context.currentTile.QCD;
  34369. component.quantizationParameters = qcdOrQcc;
  34370. var codOrCoc = c in context.currentTile.COC ?
  34371. context.currentTile.COC[c] : context.currentTile.COD;
  34372. component.codingStyleParameters = codOrCoc;
  34373. }
  34374. tile.codingStyleDefaultParameters = context.currentTile.COD;
  34375. }
  34376. // Section B.10.2 Tag trees
  34377. var TagTree = (function TagTreeClosure() {
  34378. function TagTree(width, height) {
  34379. var levelsLength = log2(Math.max(width, height)) + 1;
  34380. this.levels = [];
  34381. for (var i = 0; i < levelsLength; i++) {
  34382. var level = {
  34383. width: width,
  34384. height: height,
  34385. items: []
  34386. };
  34387. this.levels.push(level);
  34388. width = Math.ceil(width / 2);
  34389. height = Math.ceil(height / 2);
  34390. }
  34391. }
  34392. TagTree.prototype = {
  34393. reset: function TagTree_reset(i, j) {
  34394. var currentLevel = 0, value = 0;
  34395. while (currentLevel < this.levels.length) {
  34396. var level = this.levels[currentLevel];
  34397. var index = i + j * level.width;
  34398. if (index in level.items) {
  34399. value = level.items[index];
  34400. break;
  34401. }
  34402. level.index = index;
  34403. i >>= 1;
  34404. j >>= 1;
  34405. currentLevel++;
  34406. }
  34407. currentLevel--;
  34408. var level = this.levels[currentLevel];
  34409. level.items[level.index] = value;
  34410. this.currentLevel = currentLevel;
  34411. delete this.value;
  34412. },
  34413. incrementValue: function TagTree_incrementValue() {
  34414. var level = this.levels[this.currentLevel];
  34415. level.items[level.index]++;
  34416. },
  34417. nextLevel: function TagTree_nextLevel() {
  34418. var currentLevel = this.currentLevel;
  34419. var level = this.levels[currentLevel];
  34420. var value = level.items[level.index];
  34421. currentLevel--;
  34422. if (currentLevel < 0) {
  34423. this.value = value;
  34424. return false;
  34425. }
  34426. this.currentLevel = currentLevel;
  34427. var level = this.levels[currentLevel];
  34428. level.items[level.index] = value;
  34429. return true;
  34430. }
  34431. };
  34432. return TagTree;
  34433. })();
  34434. var InclusionTree = (function InclusionTreeClosure() {
  34435. function InclusionTree(width, height, defaultValue) {
  34436. var levelsLength = log2(Math.max(width, height)) + 1;
  34437. this.levels = [];
  34438. for (var i = 0; i < levelsLength; i++) {
  34439. var items = new Uint8Array(width * height);
  34440. for (var j = 0, jj = items.length; j < jj; j++)
  34441. items[j] = defaultValue;
  34442. var level = {
  34443. width: width,
  34444. height: height,
  34445. items: items
  34446. };
  34447. this.levels.push(level);
  34448. width = Math.ceil(width / 2);
  34449. height = Math.ceil(height / 2);
  34450. }
  34451. }
  34452. InclusionTree.prototype = {
  34453. reset: function InclusionTree_reset(i, j, stopValue) {
  34454. var currentLevel = 0;
  34455. while (currentLevel < this.levels.length) {
  34456. var level = this.levels[currentLevel];
  34457. var index = i + j * level.width;
  34458. level.index = index;
  34459. var value = level.items[index];
  34460. if (value == 0xFF)
  34461. break;
  34462. if (value > stopValue) {
  34463. this.currentLevel = currentLevel;
  34464. // already know about this one, propagating the value to top levels
  34465. this.propagateValues();
  34466. return false;
  34467. }
  34468. i >>= 1;
  34469. j >>= 1;
  34470. currentLevel++;
  34471. }
  34472. this.currentLevel = currentLevel - 1;
  34473. return true;
  34474. },
  34475. incrementValue: function InclusionTree_incrementValue(stopValue) {
  34476. var level = this.levels[this.currentLevel];
  34477. level.items[level.index] = stopValue + 1;
  34478. this.propagateValues();
  34479. },
  34480. propagateValues: function InclusionTree_propagateValues() {
  34481. var levelIndex = this.currentLevel;
  34482. var level = this.levels[levelIndex];
  34483. var currentValue = level.items[level.index];
  34484. while (--levelIndex >= 0) {
  34485. var level = this.levels[levelIndex];
  34486. level.items[level.index] = currentValue;
  34487. }
  34488. },
  34489. nextLevel: function InclusionTree_nextLevel() {
  34490. var currentLevel = this.currentLevel;
  34491. var level = this.levels[currentLevel];
  34492. var value = level.items[level.index];
  34493. level.items[level.index] = 0xFF;
  34494. currentLevel--;
  34495. if (currentLevel < 0)
  34496. return false;
  34497. this.currentLevel = currentLevel;
  34498. var level = this.levels[currentLevel];
  34499. level.items[level.index] = value;
  34500. return true;
  34501. }
  34502. };
  34503. return InclusionTree;
  34504. })();
  34505. // Implements C.3. Arithmetic decoding procedures
  34506. var ArithmeticDecoder = (function ArithmeticDecoderClosure() {
  34507. var QeTable = [
  34508. {qe: 0x5601, nmps: 1, nlps: 1, switchFlag: 1},
  34509. {qe: 0x3401, nmps: 2, nlps: 6, switchFlag: 0},
  34510. {qe: 0x1801, nmps: 3, nlps: 9, switchFlag: 0},
  34511. {qe: 0x0AC1, nmps: 4, nlps: 12, switchFlag: 0},
  34512. {qe: 0x0521, nmps: 5, nlps: 29, switchFlag: 0},
  34513. {qe: 0x0221, nmps: 38, nlps: 33, switchFlag: 0},
  34514. {qe: 0x5601, nmps: 7, nlps: 6, switchFlag: 1},
  34515. {qe: 0x5401, nmps: 8, nlps: 14, switchFlag: 0},
  34516. {qe: 0x4801, nmps: 9, nlps: 14, switchFlag: 0},
  34517. {qe: 0x3801, nmps: 10, nlps: 14, switchFlag: 0},
  34518. {qe: 0x3001, nmps: 11, nlps: 17, switchFlag: 0},
  34519. {qe: 0x2401, nmps: 12, nlps: 18, switchFlag: 0},
  34520. {qe: 0x1C01, nmps: 13, nlps: 20, switchFlag: 0},
  34521. {qe: 0x1601, nmps: 29, nlps: 21, switchFlag: 0},
  34522. {qe: 0x5601, nmps: 15, nlps: 14, switchFlag: 1},
  34523. {qe: 0x5401, nmps: 16, nlps: 14, switchFlag: 0},
  34524. {qe: 0x5101, nmps: 17, nlps: 15, switchFlag: 0},
  34525. {qe: 0x4801, nmps: 18, nlps: 16, switchFlag: 0},
  34526. {qe: 0x3801, nmps: 19, nlps: 17, switchFlag: 0},
  34527. {qe: 0x3401, nmps: 20, nlps: 18, switchFlag: 0},
  34528. {qe: 0x3001, nmps: 21, nlps: 19, switchFlag: 0},
  34529. {qe: 0x2801, nmps: 22, nlps: 19, switchFlag: 0},
  34530. {qe: 0x2401, nmps: 23, nlps: 20, switchFlag: 0},
  34531. {qe: 0x2201, nmps: 24, nlps: 21, switchFlag: 0},
  34532. {qe: 0x1C01, nmps: 25, nlps: 22, switchFlag: 0},
  34533. {qe: 0x1801, nmps: 26, nlps: 23, switchFlag: 0},
  34534. {qe: 0x1601, nmps: 27, nlps: 24, switchFlag: 0},
  34535. {qe: 0x1401, nmps: 28, nlps: 25, switchFlag: 0},
  34536. {qe: 0x1201, nmps: 29, nlps: 26, switchFlag: 0},
  34537. {qe: 0x1101, nmps: 30, nlps: 27, switchFlag: 0},
  34538. {qe: 0x0AC1, nmps: 31, nlps: 28, switchFlag: 0},
  34539. {qe: 0x09C1, nmps: 32, nlps: 29, switchFlag: 0},
  34540. {qe: 0x08A1, nmps: 33, nlps: 30, switchFlag: 0},
  34541. {qe: 0x0521, nmps: 34, nlps: 31, switchFlag: 0},
  34542. {qe: 0x0441, nmps: 35, nlps: 32, switchFlag: 0},
  34543. {qe: 0x02A1, nmps: 36, nlps: 33, switchFlag: 0},
  34544. {qe: 0x0221, nmps: 37, nlps: 34, switchFlag: 0},
  34545. {qe: 0x0141, nmps: 38, nlps: 35, switchFlag: 0},
  34546. {qe: 0x0111, nmps: 39, nlps: 36, switchFlag: 0},
  34547. {qe: 0x0085, nmps: 40, nlps: 37, switchFlag: 0},
  34548. {qe: 0x0049, nmps: 41, nlps: 38, switchFlag: 0},
  34549. {qe: 0x0025, nmps: 42, nlps: 39, switchFlag: 0},
  34550. {qe: 0x0015, nmps: 43, nlps: 40, switchFlag: 0},
  34551. {qe: 0x0009, nmps: 44, nlps: 41, switchFlag: 0},
  34552. {qe: 0x0005, nmps: 45, nlps: 42, switchFlag: 0},
  34553. {qe: 0x0001, nmps: 45, nlps: 43, switchFlag: 0},
  34554. {qe: 0x5601, nmps: 46, nlps: 46, switchFlag: 0}
  34555. ];
  34556. function ArithmeticDecoder(data, start, end) {
  34557. this.data = data;
  34558. this.bp = start;
  34559. this.dataEnd = end;
  34560. this.chigh = data[start];
  34561. this.clow = 0;
  34562. this.byteIn();
  34563. this.chigh = ((this.chigh << 7) & 0xFFFF) | ((this.clow >> 9) & 0x7F);
  34564. this.clow = (this.clow << 7) & 0xFFFF;
  34565. this.ct -= 7;
  34566. this.a = 0x8000;
  34567. }
  34568. ArithmeticDecoder.prototype = {
  34569. byteIn: function ArithmeticDecoder_byteIn() {
  34570. var data = this.data;
  34571. var bp = this.bp;
  34572. if (data[bp] == 0xFF) {
  34573. var b1 = data[bp + 1];
  34574. if (b1 > 0x8F) {
  34575. this.clow += 0xFF00;
  34576. this.ct = 8;
  34577. } else {
  34578. bp++;
  34579. this.clow += (data[bp] << 9);
  34580. this.ct = 7;
  34581. this.bp = bp;
  34582. }
  34583. } else {
  34584. bp++;
  34585. this.clow += bp < this.dataEnd ? (data[bp] << 8) : 0xFF00;
  34586. this.ct = 8;
  34587. this.bp = bp;
  34588. }
  34589. if (this.clow > 0xFFFF) {
  34590. this.chigh += (this.clow >> 16);
  34591. this.clow &= 0xFFFF;
  34592. }
  34593. },
  34594. readBit: function ArithmeticDecoder_readBit(cx) {
  34595. var qeIcx = QeTable[cx.index].qe;
  34596. this.a -= qeIcx;
  34597. if (this.chigh < qeIcx) {
  34598. var d = this.exchangeLps(cx);
  34599. this.renormD();
  34600. return d;
  34601. } else {
  34602. this.chigh -= qeIcx;
  34603. if ((this.a & 0x8000) === 0) {
  34604. var d = this.exchangeMps(cx);
  34605. this.renormD();
  34606. return d;
  34607. } else {
  34608. return cx.mps;
  34609. }
  34610. }
  34611. },
  34612. renormD: function ArithmeticDecoder_renormD() {
  34613. do {
  34614. if (this.ct === 0)
  34615. this.byteIn();
  34616. this.a <<= 1;
  34617. this.chigh = ((this.chigh << 1) & 0xFFFF) | ((this.clow >> 15) & 1);
  34618. this.clow = (this.clow << 1) & 0xFFFF;
  34619. this.ct--;
  34620. } while ((this.a & 0x8000) === 0);
  34621. },
  34622. exchangeMps: function ArithmeticDecoder_exchangeMps(cx) {
  34623. var d;
  34624. var qeTableIcx = QeTable[cx.index];
  34625. if (this.a < qeTableIcx.qe) {
  34626. d = 1 - cx.mps;
  34627. if (qeTableIcx.switchFlag == 1) {
  34628. cx.mps = 1 - cx.mps;
  34629. }
  34630. cx.index = qeTableIcx.nlps;
  34631. } else {
  34632. d = cx.mps;
  34633. cx.index = qeTableIcx.nmps;
  34634. }
  34635. return d;
  34636. },
  34637. exchangeLps: function ArithmeticDecoder_exchangeLps(cx) {
  34638. var d;
  34639. var qeTableIcx = QeTable[cx.index];
  34640. if (this.a < qeTableIcx.qe) {
  34641. this.a = qeTableIcx.qe;
  34642. d = cx.mps;
  34643. cx.index = qeTableIcx.nmps;
  34644. } else {
  34645. this.a = qeTableIcx.qe;
  34646. d = 1 - cx.mps;
  34647. if (qeTableIcx.switchFlag == 1) {
  34648. cx.mps = 1 - cx.mps;
  34649. }
  34650. cx.index = qeTableIcx.nlps;
  34651. }
  34652. return d;
  34653. }
  34654. };
  34655. return ArithmeticDecoder;
  34656. })();
  34657. // Section D. Coefficient bit modeling
  34658. var BitModel = (function BitModelClosure() {
  34659. // Table D-1
  34660. // The index is binary presentation: 0dddvvhh, ddd - sum of Di (0..4),
  34661. // vv - sum of Vi (0..2), and hh - sum of Hi (0..2)
  34662. var LLAndLHContextsLabel = new Uint8Array([
  34663. 0, 5, 8, 0, 3, 7, 8, 0, 4, 7, 8, 0, 0, 0, 0, 0, 1, 6, 8, 0, 3, 7, 8, 0, 4,
  34664. 7, 8, 0, 0, 0, 0, 0, 2, 6, 8, 0, 3, 7, 8, 0, 4, 7, 8, 0, 0, 0, 0, 0, 2, 6,
  34665. 8, 0, 3, 7, 8, 0, 4, 7, 8, 0, 0, 0, 0, 0, 2, 6, 8, 0, 3, 7, 8, 0, 4, 7, 8
  34666. ]);
  34667. var HLContextLabel = new Uint8Array([
  34668. 0, 3, 4, 0, 5, 7, 7, 0, 8, 8, 8, 0, 0, 0, 0, 0, 1, 3, 4, 0, 6, 7, 7, 0, 8,
  34669. 8, 8, 0, 0, 0, 0, 0, 2, 3, 4, 0, 6, 7, 7, 0, 8, 8, 8, 0, 0, 0, 0, 0, 2, 3,
  34670. 4, 0, 6, 7, 7, 0, 8, 8, 8, 0, 0, 0, 0, 0, 2, 3, 4, 0, 6, 7, 7, 0, 8, 8, 8
  34671. ]);
  34672. var HHContextLabel = new Uint8Array([
  34673. 0, 1, 2, 0, 1, 2, 2, 0, 2, 2, 2, 0, 0, 0, 0, 0, 3, 4, 5, 0, 4, 5, 5, 0, 5,
  34674. 5, 5, 0, 0, 0, 0, 0, 6, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 0, 0, 0, 0, 8, 8,
  34675. 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 0, 0, 0, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8
  34676. ]);
  34677. // Table D-2
  34678. function calcSignContribution(significance0, sign0, significance1, sign1) {
  34679. if (significance1) {
  34680. if (!sign1)
  34681. return significance0 ? (!sign0 ? 1 : 0) : 1;
  34682. else
  34683. return significance0 ? (!sign0 ? 0 : -1) : -1;
  34684. } else
  34685. return significance0 ? (!sign0 ? 1 : -1) : 0;
  34686. }
  34687. // Table D-3
  34688. var SignContextLabels = [
  34689. {contextLabel: 13, xorBit: 0},
  34690. {contextLabel: 12, xorBit: 0},
  34691. {contextLabel: 11, xorBit: 0},
  34692. {contextLabel: 10, xorBit: 0},
  34693. {contextLabel: 9, xorBit: 0},
  34694. {contextLabel: 10, xorBit: 1},
  34695. {contextLabel: 11, xorBit: 1},
  34696. {contextLabel: 12, xorBit: 1},
  34697. {contextLabel: 13, xorBit: 1}
  34698. ];
  34699. function BitModel(width, height, subband, zeroBitPlanes) {
  34700. this.width = width;
  34701. this.height = height;
  34702. this.contextLabelTable = subband == 'HH' ? HHContextLabel :
  34703. subband == 'HL' ? HLContextLabel : LLAndLHContextsLabel;
  34704. var coefficientCount = width * height;
  34705. // coefficients outside the encoding region treated as insignificant
  34706. // add border state cells for significanceState
  34707. this.neighborsSignificance = new Uint8Array(coefficientCount);
  34708. this.coefficentsSign = new Uint8Array(coefficientCount);
  34709. this.coefficentsMagnitude = new Uint32Array(coefficientCount);
  34710. this.processingFlags = new Uint8Array(coefficientCount);
  34711. var bitsDecoded = new Uint8Array(this.width * this.height);
  34712. for (var i = 0, ii = bitsDecoded.length; i < ii; i++)
  34713. bitsDecoded[i] = zeroBitPlanes;
  34714. this.bitsDecoded = bitsDecoded;
  34715. this.reset();
  34716. }
  34717. BitModel.prototype = {
  34718. setDecoder: function BitModel_setDecoder(decoder) {
  34719. this.decoder = decoder;
  34720. },
  34721. reset: function BitModel_reset() {
  34722. this.uniformContext = {index: 46, mps: 0};
  34723. this.runLengthContext = {index: 3, mps: 0};
  34724. this.contexts = [];
  34725. this.contexts.push({index: 4, mps: 0});
  34726. for (var i = 1; i <= 16; i++)
  34727. this.contexts.push({index: 0, mps: 0});
  34728. },
  34729. setNeighborsSignificance:
  34730. function BitModel_setNeighborsSignificance(row, column) {
  34731. var neighborsSignificance = this.neighborsSignificance;
  34732. var width = this.width, height = this.height;
  34733. var index = row * width + column;
  34734. if (row > 0) {
  34735. if (column > 0)
  34736. neighborsSignificance[index - width - 1] += 0x10;
  34737. if (column + 1 < width)
  34738. neighborsSignificance[index - width + 1] += 0x10;
  34739. neighborsSignificance[index - width] += 0x04;
  34740. }
  34741. if (row + 1 < height) {
  34742. if (column > 0)
  34743. neighborsSignificance[index + width - 1] += 0x10;
  34744. if (column + 1 < width)
  34745. neighborsSignificance[index + width + 1] += 0x10;
  34746. neighborsSignificance[index + width] += 0x04;
  34747. }
  34748. if (column > 0)
  34749. neighborsSignificance[index - 1] += 0x01;
  34750. if (column + 1 < width)
  34751. neighborsSignificance[index + 1] += 0x01;
  34752. neighborsSignificance[index] |= 0x80;
  34753. },
  34754. runSignificancePropogationPass:
  34755. function BitModel_runSignificancePropogationPass() {
  34756. var decoder = this.decoder;
  34757. var width = this.width, height = this.height;
  34758. var coefficentsMagnitude = this.coefficentsMagnitude;
  34759. var coefficentsSign = this.coefficentsSign;
  34760. var contextLabels = this.contextLabels;
  34761. var neighborsSignificance = this.neighborsSignificance;
  34762. var processingFlags = this.processingFlags;
  34763. var contexts = this.contexts;
  34764. var labels = this.contextLabelTable;
  34765. var bitsDecoded = this.bitsDecoded;
  34766. // clear processed flag
  34767. var processedInverseMask = ~1;
  34768. var processedMask = 1;
  34769. var firstMagnitudeBitMask = 2;
  34770. for (var q = 0, qq = width * height; q < qq; q++)
  34771. processingFlags[q] &= processedInverseMask;
  34772. for (var i0 = 0; i0 < height; i0 += 4) {
  34773. for (var j = 0; j < width; j++) {
  34774. var index = i0 * width + j;
  34775. for (var i1 = 0; i1 < 4; i1++, index += width) {
  34776. var i = i0 + i1;
  34777. if (i >= height)
  34778. break;
  34779. if (coefficentsMagnitude[index] || !neighborsSignificance[index])
  34780. continue;
  34781. var contextLabel = labels[neighborsSignificance[index]];
  34782. var cx = contexts[contextLabel];
  34783. var decision = decoder.readBit(cx);
  34784. if (decision) {
  34785. var sign = this.decodeSignBit(i, j);
  34786. coefficentsSign[index] = sign;
  34787. coefficentsMagnitude[index] = 1;
  34788. this.setNeighborsSignificance(i, j);
  34789. processingFlags[index] |= firstMagnitudeBitMask;
  34790. }
  34791. bitsDecoded[index]++;
  34792. processingFlags[index] |= processedMask;
  34793. }
  34794. }
  34795. }
  34796. },
  34797. decodeSignBit: function BitModel_decodeSignBit(row, column) {
  34798. var width = this.width, height = this.height;
  34799. var index = row * width + column;
  34800. var coefficentsMagnitude = this.coefficentsMagnitude;
  34801. var coefficentsSign = this.coefficentsSign;
  34802. var horizontalContribution = calcSignContribution(
  34803. column > 0 && coefficentsMagnitude[index - 1],
  34804. coefficentsSign[index - 1],
  34805. column + 1 < width && coefficentsMagnitude[index + 1],
  34806. coefficentsSign[index + 1]);
  34807. var verticalContribution = calcSignContribution(
  34808. row > 0 && coefficentsMagnitude[index - width],
  34809. coefficentsSign[index - width],
  34810. row + 1 < height && coefficentsMagnitude[index + width],
  34811. coefficentsSign[index + width]);
  34812. var contextLabelAndXor = SignContextLabels[
  34813. 3 * (1 - horizontalContribution) + (1 - verticalContribution)];
  34814. var contextLabel = contextLabelAndXor.contextLabel;
  34815. var cx = this.contexts[contextLabel];
  34816. var decoded = this.decoder.readBit(cx);
  34817. return decoded ^ contextLabelAndXor.xorBit;
  34818. },
  34819. runMagnitudeRefinementPass:
  34820. function BitModel_runMagnitudeRefinementPass() {
  34821. var decoder = this.decoder;
  34822. var width = this.width, height = this.height;
  34823. var coefficentsMagnitude = this.coefficentsMagnitude;
  34824. var neighborsSignificance = this.neighborsSignificance;
  34825. var contexts = this.contexts;
  34826. var bitsDecoded = this.bitsDecoded;
  34827. var processingFlags = this.processingFlags;
  34828. var processedMask = 1;
  34829. var firstMagnitudeBitMask = 2;
  34830. for (var i0 = 0; i0 < height; i0 += 4) {
  34831. for (var j = 0; j < width; j++) {
  34832. for (var i1 = 0; i1 < 4; i1++) {
  34833. var i = i0 + i1;
  34834. if (i >= height)
  34835. break;
  34836. var index = i * width + j;
  34837. // significant but not those that have just become
  34838. if (!coefficentsMagnitude[index] ||
  34839. (processingFlags[index] & processedMask) !== 0)
  34840. continue;
  34841. var contextLabel = 16;
  34842. if ((processingFlags[index] &
  34843. firstMagnitudeBitMask) !== 0) {
  34844. processingFlags[i * width + j] ^= firstMagnitudeBitMask;
  34845. // first refinement
  34846. var significance = neighborsSignificance[index];
  34847. var sumOfSignificance = (significance & 3) +
  34848. ((significance >> 2) & 3) + ((significance >> 4) & 7);
  34849. contextLabel = sumOfSignificance >= 1 ? 15 : 14;
  34850. }
  34851. var cx = contexts[contextLabel];
  34852. var bit = decoder.readBit(cx);
  34853. coefficentsMagnitude[index] =
  34854. (coefficentsMagnitude[index] << 1) | bit;
  34855. bitsDecoded[index]++;
  34856. processingFlags[index] |= processedMask;
  34857. }
  34858. }
  34859. }
  34860. },
  34861. runCleanupPass: function BitModel_runCleanupPass() {
  34862. var decoder = this.decoder;
  34863. var width = this.width, height = this.height;
  34864. var neighborsSignificance = this.neighborsSignificance;
  34865. var significanceState = this.significanceState;
  34866. var coefficentsMagnitude = this.coefficentsMagnitude;
  34867. var coefficentsSign = this.coefficentsSign;
  34868. var contexts = this.contexts;
  34869. var labels = this.contextLabelTable;
  34870. var bitsDecoded = this.bitsDecoded;
  34871. var processingFlags = this.processingFlags;
  34872. var processedMask = 1;
  34873. var firstMagnitudeBitMask = 2;
  34874. var oneRowDown = width;
  34875. var twoRowsDown = width * 2;
  34876. var threeRowsDown = width * 3;
  34877. for (var i0 = 0; i0 < height; i0 += 4) {
  34878. for (var j = 0; j < width; j++) {
  34879. var index0 = i0 * width + j;
  34880. // using the property: labels[neighborsSignificance[index]] == 0
  34881. // when neighborsSignificance[index] == 0
  34882. var allEmpty = i0 + 3 < height &&
  34883. processingFlags[index0] === 0 &&
  34884. processingFlags[index0 + oneRowDown] === 0 &&
  34885. processingFlags[index0 + twoRowsDown] === 0 &&
  34886. processingFlags[index0 + threeRowsDown] === 0 &&
  34887. neighborsSignificance[index0] === 0 &&
  34888. neighborsSignificance[index0 + oneRowDown] === 0 &&
  34889. neighborsSignificance[index0 + twoRowsDown] === 0 &&
  34890. neighborsSignificance[index0 + threeRowsDown] === 0;
  34891. var i1 = 0, index = index0;
  34892. var cx, i;
  34893. if (allEmpty) {
  34894. cx = this.runLengthContext;
  34895. var hasSignificantCoefficent = decoder.readBit(cx);
  34896. if (!hasSignificantCoefficent) {
  34897. bitsDecoded[index0]++;
  34898. bitsDecoded[index0 + oneRowDown]++;
  34899. bitsDecoded[index0 + twoRowsDown]++;
  34900. bitsDecoded[index0 + threeRowsDown]++;
  34901. continue; // next column
  34902. }
  34903. cx = this.uniformContext;
  34904. i1 = (decoder.readBit(cx) << 1) | decoder.readBit(cx);
  34905. i = i0 + i1;
  34906. index += i1 * width;
  34907. var sign = this.decodeSignBit(i, j);
  34908. coefficentsSign[index] = sign;
  34909. coefficentsMagnitude[index] = 1;
  34910. this.setNeighborsSignificance(i, j);
  34911. processingFlags[index] |= firstMagnitudeBitMask;
  34912. index = index0;
  34913. for (var i2 = i0; i2 <= i; i2++, index += width)
  34914. bitsDecoded[index]++;
  34915. i1++;
  34916. }
  34917. for (; i1 < 4; i1++, index += width) {
  34918. i = i0 + i1;
  34919. if (i >= height)
  34920. break;
  34921. if (coefficentsMagnitude[index] ||
  34922. (processingFlags[index] & processedMask) !== 0)
  34923. continue;
  34924. var contextLabel = labels[neighborsSignificance[index]];
  34925. cx = contexts[contextLabel];
  34926. var decision = decoder.readBit(cx);
  34927. if (decision == 1) {
  34928. var sign = this.decodeSignBit(i, j);
  34929. coefficentsSign[index] = sign;
  34930. coefficentsMagnitude[index] = 1;
  34931. this.setNeighborsSignificance(i, j);
  34932. processingFlags[index] |= firstMagnitudeBitMask;
  34933. }
  34934. bitsDecoded[index]++;
  34935. }
  34936. }
  34937. }
  34938. },
  34939. checkSegmentationSymbol: function BitModel_checkSegmentationSymbol() {
  34940. var decoder = this.decoder;
  34941. var cx = this.uniformContext;
  34942. var symbol = (decoder.readBit(cx) << 3) | (decoder.readBit(cx) << 2) |
  34943. (decoder.readBit(cx) << 1) | decoder.readBit(cx);
  34944. if (symbol != 0xA)
  34945. throw 'Invalid segmentation symbol';
  34946. }
  34947. };
  34948. return BitModel;
  34949. })();
  34950. // Section F, Discrete wavelet transofrmation
  34951. var Transform = (function TransformClosure() {
  34952. function Transform() {
  34953. }
  34954. Transform.prototype.calculate =
  34955. function transformCalculate(subbands, u0, v0) {
  34956. var ll = subbands[0];
  34957. for (var i = 1, ii = subbands.length, j = 1; i < ii; i += 3, j++) {
  34958. ll = this.iterate(ll, subbands[i], subbands[i + 1],
  34959. subbands[i + 2], u0, v0);
  34960. }
  34961. return ll;
  34962. };
  34963. Transform.prototype.expand = function expand(buffer, bufferPadding, step) {
  34964. // Section F.3.7 extending... using max extension of 4
  34965. var i1 = bufferPadding - 1, j1 = bufferPadding + 1;
  34966. var i2 = bufferPadding + step - 2, j2 = bufferPadding + step;
  34967. buffer[i1--] = buffer[j1++];
  34968. buffer[j2++] = buffer[i2--];
  34969. buffer[i1--] = buffer[j1++];
  34970. buffer[j2++] = buffer[i2--];
  34971. buffer[i1--] = buffer[j1++];
  34972. buffer[j2++] = buffer[i2--];
  34973. buffer[i1--] = buffer[j1++];
  34974. buffer[j2++] = buffer[i2--];
  34975. };
  34976. Transform.prototype.iterate = function Transform_iterate(ll, hl, lh, hh,
  34977. u0, v0) {
  34978. var llWidth = ll.width, llHeight = ll.height, llItems = ll.items;
  34979. var hlWidth = hl.width, hlHeight = hl.height, hlItems = hl.items;
  34980. var lhWidth = lh.width, lhHeight = lh.height, lhItems = lh.items;
  34981. var hhWidth = hh.width, hhHeight = hh.height, hhItems = hh.items;
  34982. // Section F.3.3 interleave
  34983. var width = llWidth + hlWidth;
  34984. var height = llHeight + lhHeight;
  34985. var items = new Float32Array(width * height);
  34986. for (var i = 0, ii = llHeight; i < ii; i++) {
  34987. var k = i * llWidth, l = i * 2 * width;
  34988. for (var j = 0, jj = llWidth; j < jj; j++, k++, l += 2)
  34989. items[l] = llItems[k];
  34990. }
  34991. for (var i = 0, ii = hlHeight; i < ii; i++) {
  34992. var k = i * hlWidth, l = i * 2 * width + 1;
  34993. for (var j = 0, jj = hlWidth; j < jj; j++, k++, l += 2)
  34994. items[l] = hlItems[k];
  34995. }
  34996. for (var i = 0, ii = lhHeight; i < ii; i++) {
  34997. var k = i * lhWidth, l = (i * 2 + 1) * width;
  34998. for (var j = 0, jj = lhWidth; j < jj; j++, k++, l += 2)
  34999. items[l] = lhItems[k];
  35000. }
  35001. for (var i = 0, ii = hhHeight; i < ii; i++) {
  35002. var k = i * hhWidth, l = (i * 2 + 1) * width + 1;
  35003. for (var j = 0, jj = hhWidth; j < jj; j++, k++, l += 2)
  35004. items[l] = hhItems[k];
  35005. }
  35006. var bufferPadding = 4;
  35007. var bufferLength = new Float32Array(Math.max(width, height) +
  35008. 2 * bufferPadding);
  35009. var buffer = new Float32Array(bufferLength);
  35010. var bufferOut = new Float32Array(bufferLength);
  35011. // Section F.3.4 HOR_SR
  35012. for (var v = 0; v < height; v++) {
  35013. if (width == 1) {
  35014. // if width = 1, when u0 even keep items as is, when odd divide by 2
  35015. if ((u0 % 1) !== 0) {
  35016. items[v * width] /= 2;
  35017. }
  35018. continue;
  35019. }
  35020. var k = v * width;
  35021. var l = bufferPadding;
  35022. for (var u = 0; u < width; u++, k++, l++)
  35023. buffer[l] = items[k];
  35024. this.expand(buffer, bufferPadding, width);
  35025. this.filter(buffer, bufferPadding, width, u0, bufferOut);
  35026. k = v * width;
  35027. l = bufferPadding;
  35028. for (var u = 0; u < width; u++, k++, l++)
  35029. items[k] = bufferOut[l];
  35030. }
  35031. // Section F.3.5 VER_SR
  35032. for (var u = 0; u < width; u++) {
  35033. if (height == 1) {
  35034. // if height = 1, when v0 even keep items as is, when odd divide by 2
  35035. if ((v0 % 1) !== 0) {
  35036. items[u] /= 2;
  35037. }
  35038. continue;
  35039. }
  35040. var k = u;
  35041. var l = bufferPadding;
  35042. for (var v = 0; v < height; v++, k += width, l++)
  35043. buffer[l] = items[k];
  35044. this.expand(buffer, bufferPadding, height);
  35045. this.filter(buffer, bufferPadding, height, v0, bufferOut);
  35046. k = u;
  35047. l = bufferPadding;
  35048. for (var v = 0; v < height; v++, k += width, l++)
  35049. items[k] = bufferOut[l];
  35050. }
  35051. return {
  35052. width: width,
  35053. height: height,
  35054. items: items
  35055. };
  35056. };
  35057. return Transform;
  35058. })();
  35059. // Section 3.8.2 Irreversible 9-7 filter
  35060. var IrreversibleTransform = (function IrreversibleTransformClosure() {
  35061. function IrreversibleTransform() {
  35062. Transform.call(this);
  35063. }
  35064. IrreversibleTransform.prototype = Object.create(Transform.prototype);
  35065. IrreversibleTransform.prototype.filter =
  35066. function irreversibleTransformFilter(y, offset, length, i0, x) {
  35067. var i0_ = Math.floor(i0 / 2);
  35068. var i1_ = Math.floor((i0 + length) / 2);
  35069. var offset_ = offset - (i0 % 1);
  35070. var alpha = -1.586134342059924;
  35071. var beta = -0.052980118572961;
  35072. var gamma = 0.882911075530934;
  35073. var delta = 0.443506852043971;
  35074. var K = 1.230174104914001;
  35075. var K_ = 1 / K;
  35076. // step 1
  35077. var j = offset_ - 2;
  35078. for (var n = i0_ - 1, nn = i1_ + 2; n < nn; n++, j += 2)
  35079. x[j] = K * y[j];
  35080. // step 2
  35081. var j = offset_ - 3;
  35082. for (var n = i0_ - 2, nn = i1_ + 2; n < nn; n++, j += 2)
  35083. x[j] = K_ * y[j];
  35084. // step 3
  35085. var j = offset_ - 2;
  35086. for (var n = i0_ - 1, nn = i1_ + 2; n < nn; n++, j += 2)
  35087. x[j] -= delta * (x[j - 1] + x[j + 1]);
  35088. // step 4
  35089. var j = offset_ - 1;
  35090. for (var n = i0_ - 1, nn = i1_ + 1; n < nn; n++, j += 2)
  35091. x[j] -= gamma * (x[j - 1] + x[j + 1]);
  35092. // step 5
  35093. var j = offset_;
  35094. for (var n = i0_, nn = i1_ + 1; n < nn; n++, j += 2)
  35095. x[j] -= beta * (x[j - 1] + x[j + 1]);
  35096. // step 6
  35097. var j = offset_ + 1;
  35098. for (var n = i0_, nn = i1_; n < nn; n++, j += 2)
  35099. x[j] -= alpha * (x[j - 1] + x[j + 1]);
  35100. };
  35101. return IrreversibleTransform;
  35102. })();
  35103. // Section 3.8.1 Reversible 5-3 filter
  35104. var ReversibleTransform = (function ReversibleTransformClosure() {
  35105. function ReversibleTransform() {
  35106. Transform.call(this);
  35107. }
  35108. ReversibleTransform.prototype = Object.create(Transform.prototype);
  35109. ReversibleTransform.prototype.filter =
  35110. function reversibleTransformFilter(y, offset, length, i0, x) {
  35111. var i0_ = Math.floor(i0 / 2);
  35112. var i1_ = Math.floor((i0 + length) / 2);
  35113. var offset_ = offset - (i0 % 1);
  35114. for (var n = i0_, nn = i1_ + 1, j = offset_; n < nn; n++, j += 2)
  35115. x[j] = y[j] - Math.floor((y[j - 1] + y[j + 1] + 2) / 4);
  35116. for (var n = i0_, nn = i1_, j = offset_ + 1; n < nn; n++, j += 2)
  35117. x[j] = y[j] + Math.floor((x[j - 1] + x[j + 1]) / 2);
  35118. };
  35119. return ReversibleTransform;
  35120. })();
  35121. return JpxImage;
  35122. })();
  35123. var Jbig2Image = (function Jbig2ImageClosure() {
  35124. // Annex E. Arithmetic Coding
  35125. var ArithmeticDecoder = (function ArithmeticDecoderClosure() {
  35126. var QeTable = [
  35127. {qe: 0x5601, nmps: 1, nlps: 1, switchFlag: 1},
  35128. {qe: 0x3401, nmps: 2, nlps: 6, switchFlag: 0},
  35129. {qe: 0x1801, nmps: 3, nlps: 9, switchFlag: 0},
  35130. {qe: 0x0AC1, nmps: 4, nlps: 12, switchFlag: 0},
  35131. {qe: 0x0521, nmps: 5, nlps: 29, switchFlag: 0},
  35132. {qe: 0x0221, nmps: 38, nlps: 33, switchFlag: 0},
  35133. {qe: 0x5601, nmps: 7, nlps: 6, switchFlag: 1},
  35134. {qe: 0x5401, nmps: 8, nlps: 14, switchFlag: 0},
  35135. {qe: 0x4801, nmps: 9, nlps: 14, switchFlag: 0},
  35136. {qe: 0x3801, nmps: 10, nlps: 14, switchFlag: 0},
  35137. {qe: 0x3001, nmps: 11, nlps: 17, switchFlag: 0},
  35138. {qe: 0x2401, nmps: 12, nlps: 18, switchFlag: 0},
  35139. {qe: 0x1C01, nmps: 13, nlps: 20, switchFlag: 0},
  35140. {qe: 0x1601, nmps: 29, nlps: 21, switchFlag: 0},
  35141. {qe: 0x5601, nmps: 15, nlps: 14, switchFlag: 1},
  35142. {qe: 0x5401, nmps: 16, nlps: 14, switchFlag: 0},
  35143. {qe: 0x5101, nmps: 17, nlps: 15, switchFlag: 0},
  35144. {qe: 0x4801, nmps: 18, nlps: 16, switchFlag: 0},
  35145. {qe: 0x3801, nmps: 19, nlps: 17, switchFlag: 0},
  35146. {qe: 0x3401, nmps: 20, nlps: 18, switchFlag: 0},
  35147. {qe: 0x3001, nmps: 21, nlps: 19, switchFlag: 0},
  35148. {qe: 0x2801, nmps: 22, nlps: 19, switchFlag: 0},
  35149. {qe: 0x2401, nmps: 23, nlps: 20, switchFlag: 0},
  35150. {qe: 0x2201, nmps: 24, nlps: 21, switchFlag: 0},
  35151. {qe: 0x1C01, nmps: 25, nlps: 22, switchFlag: 0},
  35152. {qe: 0x1801, nmps: 26, nlps: 23, switchFlag: 0},
  35153. {qe: 0x1601, nmps: 27, nlps: 24, switchFlag: 0},
  35154. {qe: 0x1401, nmps: 28, nlps: 25, switchFlag: 0},
  35155. {qe: 0x1201, nmps: 29, nlps: 26, switchFlag: 0},
  35156. {qe: 0x1101, nmps: 30, nlps: 27, switchFlag: 0},
  35157. {qe: 0x0AC1, nmps: 31, nlps: 28, switchFlag: 0},
  35158. {qe: 0x09C1, nmps: 32, nlps: 29, switchFlag: 0},
  35159. {qe: 0x08A1, nmps: 33, nlps: 30, switchFlag: 0},
  35160. {qe: 0x0521, nmps: 34, nlps: 31, switchFlag: 0},
  35161. {qe: 0x0441, nmps: 35, nlps: 32, switchFlag: 0},
  35162. {qe: 0x02A1, nmps: 36, nlps: 33, switchFlag: 0},
  35163. {qe: 0x0221, nmps: 37, nlps: 34, switchFlag: 0},
  35164. {qe: 0x0141, nmps: 38, nlps: 35, switchFlag: 0},
  35165. {qe: 0x0111, nmps: 39, nlps: 36, switchFlag: 0},
  35166. {qe: 0x0085, nmps: 40, nlps: 37, switchFlag: 0},
  35167. {qe: 0x0049, nmps: 41, nlps: 38, switchFlag: 0},
  35168. {qe: 0x0025, nmps: 42, nlps: 39, switchFlag: 0},
  35169. {qe: 0x0015, nmps: 43, nlps: 40, switchFlag: 0},
  35170. {qe: 0x0009, nmps: 44, nlps: 41, switchFlag: 0},
  35171. {qe: 0x0005, nmps: 45, nlps: 42, switchFlag: 0},
  35172. {qe: 0x0001, nmps: 45, nlps: 43, switchFlag: 0},
  35173. {qe: 0x5601, nmps: 46, nlps: 46, switchFlag: 0}
  35174. ];
  35175. function ArithmeticDecoder(data, start, end) {
  35176. this.data = data;
  35177. this.bp = start;
  35178. this.dataEnd = end;
  35179. this.chigh = data[start];
  35180. this.clow = 0;
  35181. this.byteIn();
  35182. this.chigh = ((this.chigh << 7) & 0xFFFF) | ((this.clow >> 9) & 0x7F);
  35183. this.clow = (this.clow << 7) & 0xFFFF;
  35184. this.ct -= 7;
  35185. this.a = 0x8000;
  35186. }
  35187. ArithmeticDecoder.prototype = {
  35188. byteIn: function ArithmeticDecoder_byteIn() {
  35189. var data = this.data;
  35190. var bp = this.bp;
  35191. if (data[bp] == 0xFF) {
  35192. var b1 = data[bp + 1];
  35193. if (b1 > 0x8F) {
  35194. this.clow += 0xFF00;
  35195. this.ct = 8;
  35196. } else {
  35197. bp++;
  35198. this.clow += (data[bp] << 9);
  35199. this.ct = 7;
  35200. this.bp = bp;
  35201. }
  35202. } else {
  35203. bp++;
  35204. this.clow += bp < this.dataEnd ? (data[bp] << 8) : 0xFF00;
  35205. this.ct = 8;
  35206. this.bp = bp;
  35207. }
  35208. if (this.clow > 0xFFFF) {
  35209. this.chigh += (this.clow >> 16);
  35210. this.clow &= 0xFFFF;
  35211. }
  35212. },
  35213. readBit: function ArithmeticDecoder_readBit(contexts, pos) {
  35214. // contexts are packed into 1 byte:
  35215. // highest 7 bits carry cx.index, lowest bit carries cx.mps
  35216. var cx_index = contexts[pos] >> 1, cx_mps = contexts[pos] & 1;
  35217. var qeTableIcx = QeTable[cx_index];
  35218. var qeIcx = qeTableIcx.qe;
  35219. var nmpsIcx = qeTableIcx.nmps;
  35220. var nlpsIcx = qeTableIcx.nlps;
  35221. var switchIcx = qeTableIcx.switchFlag;
  35222. var d;
  35223. this.a -= qeIcx;
  35224. if (this.chigh < qeIcx) {
  35225. // exchangeLps
  35226. if (this.a < qeIcx) {
  35227. this.a = qeIcx;
  35228. d = cx_mps;
  35229. cx_index = nmpsIcx;
  35230. } else {
  35231. this.a = qeIcx;
  35232. d = 1 - cx_mps;
  35233. if (switchIcx) {
  35234. cx_mps = d;
  35235. }
  35236. cx_index = nlpsIcx;
  35237. }
  35238. } else {
  35239. this.chigh -= qeIcx;
  35240. if ((this.a & 0x8000) !== 0) {
  35241. return cx_mps;
  35242. }
  35243. // exchangeMps
  35244. if (this.a < qeIcx) {
  35245. d = 1 - cx_mps;
  35246. if (switchIcx) {
  35247. cx_mps = d;
  35248. }
  35249. cx_index = nlpsIcx;
  35250. } else {
  35251. d = cx_mps;
  35252. cx_index = nmpsIcx;
  35253. }
  35254. }
  35255. // renormD;
  35256. do {
  35257. if (this.ct === 0)
  35258. this.byteIn();
  35259. this.a <<= 1;
  35260. this.chigh = ((this.chigh << 1) & 0xFFFF) | ((this.clow >> 15) & 1);
  35261. this.clow = (this.clow << 1) & 0xFFFF;
  35262. this.ct--;
  35263. } while ((this.a & 0x8000) === 0);
  35264. contexts[pos] = cx_index << 1 | cx_mps;
  35265. return d;
  35266. }
  35267. };
  35268. return ArithmeticDecoder;
  35269. })();
  35270. // Utility data structures
  35271. function ContextCache() {}
  35272. ContextCache.prototype = {
  35273. getContexts: function(id) {
  35274. if (id in this)
  35275. return this[id];
  35276. return (this[id] = new Int8Array(1<<16));
  35277. }
  35278. };
  35279. function DecodingContext(data, start, end) {
  35280. this.data = data;
  35281. this.start = start;
  35282. this.end = end;
  35283. }
  35284. DecodingContext.prototype = {
  35285. get decoder() {
  35286. var decoder = new ArithmeticDecoder(this.data, this.start, this.end);
  35287. return shadow(this, 'decoder', decoder);
  35288. },
  35289. get contextCache() {
  35290. var cache = new ContextCache();
  35291. return shadow(this, 'contextCache', cache);
  35292. }
  35293. };
  35294. // Annex A. Arithmetic Integer Decoding Procedure
  35295. // A.2 Procedure for decoding values
  35296. function decodeInteger(contextCache, procedure, decoder) {
  35297. var contexts = contextCache.getContexts(procedure);
  35298. var prev = 1;
  35299. var state = 1, v = 0, s;
  35300. var toRead = 32, offset = 4436; // defaults for state 7
  35301. while (state) {
  35302. var bit = decoder.readBit(contexts, prev);
  35303. prev = prev < 256 ? (prev << 1) | bit :
  35304. (((prev << 1) | bit) & 511) | 256;
  35305. switch (state) {
  35306. case 1:
  35307. s = !!bit;
  35308. break;
  35309. case 2:
  35310. if (bit) break;
  35311. state = 7;
  35312. toRead = 2;
  35313. offset = 0;
  35314. break;
  35315. case 3:
  35316. if (bit) break;
  35317. state = 7;
  35318. toRead = 4;
  35319. offset = 4;
  35320. break;
  35321. case 4:
  35322. if (bit) break;
  35323. state = 7;
  35324. toRead = 6;
  35325. offset = 20;
  35326. break;
  35327. case 5:
  35328. if (bit) break;
  35329. state = 7;
  35330. toRead = 8;
  35331. offset = 84;
  35332. break;
  35333. case 6:
  35334. if (bit) break;
  35335. state = 7;
  35336. toRead = 12;
  35337. offset = 340;
  35338. break;
  35339. default:
  35340. v = v * 2 + bit;
  35341. if (--toRead === 0)
  35342. state = 0;
  35343. continue;
  35344. }
  35345. state++;
  35346. }
  35347. v += offset;
  35348. return !s ? v : v > 0 ? -v : null;
  35349. }
  35350. // A.3 The IAID decoding procedure
  35351. function decodeIAID(contextCache, decoder, codeLength) {
  35352. var contexts = contextCache.getContexts('IAID');
  35353. var prev = 1;
  35354. for (var i = 0; i < codeLength; i++) {
  35355. var bit = decoder.readBit(contexts, prev);
  35356. prev = (prev * 2) + bit;
  35357. }
  35358. if (codeLength < 31)
  35359. return prev & ((1 << codeLength) - 1);
  35360. else
  35361. return prev - Math.pow(2, codeLength);
  35362. }
  35363. // 7.3 Segment types
  35364. var SegmentTypes = [
  35365. 'SymbolDictionary', null, null, null, 'IntermediateTextRegion', null,
  35366. 'ImmediateTextRegion', 'ImmediateLosslessTextRegion', null, null, null,
  35367. null, null, null, null, null, 'patternDictionary', null, null, null,
  35368. 'IntermediateHalftoneRegion', null, 'ImmediateHalftoneRegion',
  35369. 'ImmediateLosslessHalftoneRegion', null, null, null, null, null, null, null,
  35370. null, null, null, null, null, 'IntermediateGenericRegion', null,
  35371. 'ImmediateGenericRegion', 'ImmediateLosslessGenericRegion',
  35372. 'IntermediateGenericRefinementRegion', null,
  35373. 'ImmediateGenericRefinementRegion',
  35374. 'ImmediateLosslessGenericRefinementRegion', null, null, null, null,
  35375. 'PageInformation', 'EndOfPage', 'EndOfStripe', 'EndOfFile', 'Profiles',
  35376. 'Tables', null, null, null, null, null, null, null, null,
  35377. 'Extension'
  35378. ];
  35379. var CodingTemplates = [
  35380. [{x: -1, y: -2}, {x: 0, y: -2}, {x: 1, y: -2}, {x: -2, y: -1},
  35381. {x: -1, y: -1}, {x: 0, y: -1}, {x: 1, y: -1}, {x: 2, y: -1},
  35382. {x: -4, y: 0}, {x: -3, y: 0}, {x: -2, y: 0}, {x: -1, y: 0}],
  35383. [{x: -1, y: -2}, {x: 0, y: -2}, {x: 1, y: -2}, {x: 2, y: -2},
  35384. {x: -2, y: -1}, {x: -1, y: -1}, {x: 0, y: -1}, {x: 1, y: -1},
  35385. {x: 2, y: -1}, {x: -3, y: 0}, {x: -2, y: 0}, {x: -1, y: 0}],
  35386. [{x: -1, y: -2}, {x: 0, y: -2}, {x: 1, y: -2}, {x: -2, y: -1},
  35387. {x: -1, y: -1}, {x: 0, y: -1}, {x: 1, y: -1}, {x: -2, y: 0},
  35388. {x: -1, y: 0}],
  35389. [{x: -3, y: -1}, {x: -2, y: -1}, {x: -1, y: -1}, {x: 0, y: -1},
  35390. {x: 1, y: -1}, {x: -4, y: 0}, {x: -3, y: 0}, {x: -2, y: 0}, {x: -1, y: 0}]
  35391. ];
  35392. var RefinementTemplates = [
  35393. {
  35394. coding: [{x: 0, y: -1}, {x: 1, y: -1}, {x: -1, y: 0}],
  35395. reference: [{x: 0, y: -1}, {x: 1, y: -1}, {x: -1, y: 0}, {x: 0, y: 0},
  35396. {x: 1, y: 0}, {x: -1, y: 1}, {x: 0, y: 1}, {x: 1, y: 1}]
  35397. },
  35398. {
  35399. coding: [{x: -1, y: -1}, {x: 0, y: -1}, {x: 1, y: -1}, {x: -1, y: 0}],
  35400. reference: [{x: 0, y: -1}, {x: -1, y: 0}, {x: 0, y: 0}, {x: 1, y: 0},
  35401. {x: 0, y: 1}, {x: 1, y: 1}]
  35402. }
  35403. ];
  35404. var ReusedContexts = [
  35405. 0x1CD3, // '00111001101' (template) + '0011' (at),
  35406. 0x079A, // '001111001101' + '0',
  35407. 0x00E3, // '001110001' + '1',
  35408. 0x018B // '011000101' + '1'
  35409. ];
  35410. var RefinementReusedContexts = [
  35411. 0x0020, // '000' + '0' (coding) + '00010000' + '0' (reference)
  35412. 0x0008 // '0000' + '001000'
  35413. ];
  35414. function log2(x) {
  35415. var n = 1, i = 0;
  35416. while (x > n) {
  35417. n <<= 1;
  35418. i++;
  35419. }
  35420. return i;
  35421. }
  35422. function readInt32(data, start) {
  35423. return (data[start] << 24) | (data[start + 1] << 16) |
  35424. (data[start + 2] << 8) | data[start + 3];
  35425. }
  35426. function readUint32(data, start) {
  35427. var value = readInt32(data, start);
  35428. return value & 0x80000000 ? (value + 4294967296) : value;
  35429. }
  35430. function readUint16(data, start) {
  35431. return (data[start] << 8) | data[start + 1];
  35432. }
  35433. function readInt8(data, start) {
  35434. return (data[start] << 24) >> 24;
  35435. }
  35436. // 6.2 Generic Region Decoding Procedure
  35437. function decodeBitmap(mmr, width, height, templateIndex, prediction, skip, at,
  35438. decodingContext) {
  35439. if (mmr)
  35440. error('JBIG2 error: MMR encoding is not supported');
  35441. var useskip = !!skip;
  35442. var template = CodingTemplates[templateIndex].concat(at);
  35443. var templateLength = template.length;
  35444. var templateX = new Int32Array(templateLength);
  35445. var templateY = new Int32Array(templateLength);
  35446. for (var k = 0; k < templateLength; k++) {
  35447. templateX[k] = template[k].x;
  35448. templateY[k] = template[k].y;
  35449. }
  35450. var pseudoPixelContext = ReusedContexts[templateIndex];
  35451. var bitmap = [];
  35452. var decoder = decodingContext.decoder;
  35453. var contexts = decodingContext.contextCache.getContexts('GB');
  35454. var ltp = 0;
  35455. for (var i = 0; i < height; i++) {
  35456. if (prediction) {
  35457. var sltp = decoder.readBit(contexts, pseudoPixelContext);
  35458. ltp ^= sltp;
  35459. }
  35460. if (ltp) {
  35461. bitmap.push(bitmap[bitmap.length - 1]); // duplicate previous row
  35462. continue;
  35463. }
  35464. var row = new Uint8Array(width);
  35465. bitmap.push(row);
  35466. for (var j = 0; j < width; j++) {
  35467. if (useskip && skip[i][j]) {
  35468. row[j] = 0;
  35469. continue;
  35470. }
  35471. var contextLabel = 0;
  35472. for (var k = 0; k < templateLength; k++) {
  35473. var i0 = i + templateY[k], j0 = j + templateX[k];
  35474. if (i0 < 0 || j0 < 0 || j0 >= width)
  35475. contextLabel <<= 1; // out of bound pixel
  35476. else
  35477. contextLabel = (contextLabel << 1) | bitmap[i0][j0];
  35478. }
  35479. var pixel = decoder.readBit(contexts, contextLabel);
  35480. row[j] = pixel;
  35481. }
  35482. }
  35483. return bitmap;
  35484. }
  35485. // 6.3.2 Generic Refinement Region Decoding Procedure
  35486. function decodeRefinement(width, height, templateIndex, referenceBitmap,
  35487. offsetX, offsetY, prediction, at,
  35488. decodingContext) {
  35489. var codingTemplate = RefinementTemplates[templateIndex].coding;
  35490. if (templateIndex === 0)
  35491. codingTemplate = codingTemplate.concat([at[0]]);
  35492. var codingTemplateLength = codingTemplate.length;
  35493. var codingTemplateX = new Int32Array(codingTemplateLength);
  35494. var codingTemplateY = new Int32Array(codingTemplateLength);
  35495. for (var k = 0; k < codingTemplateLength; k++) {
  35496. codingTemplateX[k] = codingTemplate[k].x;
  35497. codingTemplateY[k] = codingTemplate[k].y;
  35498. }
  35499. var referenceTemplate = RefinementTemplates[templateIndex].reference;
  35500. if (templateIndex === 0)
  35501. referenceTemplate = referenceTemplate.concat([at[1]]);
  35502. var referenceTemplateLength = referenceTemplate.length;
  35503. var referenceTemplateX = new Int32Array(referenceTemplateLength);
  35504. var referenceTemplateY = new Int32Array(referenceTemplateLength);
  35505. for (var k = 0; k < referenceTemplateLength; k++) {
  35506. referenceTemplateX[k] = referenceTemplate[k].x;
  35507. referenceTemplateY[k] = referenceTemplate[k].y;
  35508. }
  35509. var referenceWidth = referenceBitmap[0].length;
  35510. var referenceHeight = referenceBitmap.length;
  35511. var pseudoPixelContext = RefinementReusedContexts[templateIndex];
  35512. var bitmap = [];
  35513. var decoder = decodingContext.decoder;
  35514. var contexts = decodingContext.contextCache.getContexts('GR');
  35515. var ltp = 0;
  35516. for (var i = 0; i < height; i++) {
  35517. if (prediction) {
  35518. var sltp = decoder.readBit(contexts, pseudoPixelContext);
  35519. ltp ^= sltp;
  35520. }
  35521. var row = new Uint8Array(width);
  35522. bitmap.push(row);
  35523. for (var j = 0; j < width; j++) {
  35524. if (ltp)
  35525. error('JBIG2 error: prediction is not supported');
  35526. var contextLabel = 0;
  35527. for (var k = 0; k < codingTemplateLength; k++) {
  35528. var i0 = i + codingTemplateY[k], j0 = j + codingTemplateX[k];
  35529. if (i0 < 0 || j0 < 0 || j0 >= width)
  35530. contextLabel <<= 1; // out of bound pixel
  35531. else
  35532. contextLabel = (contextLabel << 1) | bitmap[i0][j0];
  35533. }
  35534. for (var k = 0; k < referenceTemplateLength; k++) {
  35535. var i0 = i + referenceTemplateY[k] + offsetY;
  35536. var j0 = j + referenceTemplateX[k] + offsetX;
  35537. if (i0 < 0 || i0 >= referenceHeight || j0 < 0 || j0 >= referenceWidth)
  35538. contextLabel <<= 1; // out of bound pixel
  35539. else
  35540. contextLabel = (contextLabel << 1) | referenceBitmap[i0][j0];
  35541. }
  35542. var pixel = decoder.readBit(contexts, contextLabel);
  35543. row[j] = pixel;
  35544. }
  35545. }
  35546. return bitmap;
  35547. }
  35548. // 6.5.5 Decoding the symbol dictionary
  35549. function decodeSymbolDictionary(huffman, refinement, symbols,
  35550. numberOfNewSymbols, numberOfExportedSymbols,
  35551. huffmanTables, templateIndex, at,
  35552. refinementTemplateIndex, refinementAt,
  35553. decodingContext) {
  35554. if (huffman)
  35555. error('JBIG2 error: huffman is not supported');
  35556. var newSymbols = [];
  35557. var currentHeight = 0;
  35558. var symbolCodeLength = log2(symbols.length + numberOfNewSymbols);
  35559. var decoder = decodingContext.decoder;
  35560. var contextCache = decodingContext.contextCache;
  35561. while (newSymbols.length < numberOfNewSymbols) {
  35562. var deltaHeight = decodeInteger(contextCache, 'IADH', decoder); // 6.5.6
  35563. currentHeight += deltaHeight;
  35564. var currentWidth = 0;
  35565. var totalWidth = 0;
  35566. while (true) {
  35567. var deltaWidth = decodeInteger(contextCache, 'IADW', decoder); // 6.5.7
  35568. if (deltaWidth === null)
  35569. break; // OOB
  35570. currentWidth += deltaWidth;
  35571. totalWidth += currentWidth;
  35572. var bitmap;
  35573. if (refinement) {
  35574. // 6.5.8.2 Refinement/aggregate-coded symbol bitmap
  35575. var numberOfInstances = decodeInteger(contextCache, 'IAAI', decoder);
  35576. if (numberOfInstances > 1)
  35577. error('JBIG2 error: number of instances > 1 is not supported');
  35578. var symbolId = decodeIAID(contextCache, decoder, symbolCodeLength);
  35579. var rdx = decodeInteger(contextCache, 'IARDX', decoder); // 6.4.11.3
  35580. var rdy = decodeInteger(contextCache, 'IARDY', decoder); // 6.4.11.4
  35581. var symbol = symbolId < symbols.length ? symbols[symbolId] :
  35582. newSymbols[symbolId - symbols.length];
  35583. bitmap = decodeRefinement(currentWidth, currentHeight,
  35584. refinementTemplateIndex, symbol, rdx, rdy, false, refinementAt,
  35585. decodingContext);
  35586. } else {
  35587. // 6.5.8.1 Direct-coded symbol bitmap
  35588. bitmap = decodeBitmap(false, currentWidth, currentHeight,
  35589. templateIndex, false, null, at, decodingContext);
  35590. }
  35591. newSymbols.push(bitmap);
  35592. }
  35593. }
  35594. // 6.5.10 Exported symbols
  35595. var exportedSymbols = [];
  35596. var flags = [], currentFlag = false;
  35597. var totalSymbolsLength = symbols.length + numberOfNewSymbols;
  35598. while (flags.length < totalSymbolsLength) {
  35599. var runLength = decodeInteger(contextCache, 'IAEX', decoder);
  35600. while (runLength--)
  35601. flags.push(currentFlag);
  35602. currentFlag = !currentFlag;
  35603. }
  35604. for (var i = 0, ii = symbols.length; i < ii; i++)
  35605. if (flags[i]) exportedSymbols.push(symbols[i]);
  35606. for (var j = 0; j < numberOfNewSymbols; i++, j++)
  35607. if (flags[i]) exportedSymbols.push(newSymbols[j]);
  35608. return exportedSymbols;
  35609. }
  35610. function decodeTextRegion(huffman, refinement, width, height,
  35611. defaultPixelValue, numberOfSymbolInstances,
  35612. stripSize, inputSymbols, symbolCodeLength,
  35613. transposed, dsOffset, referenceCorner,
  35614. combinationOperator, huffmanTables,
  35615. refinementTemplateIndex, refinementAt,
  35616. decodingContext) {
  35617. if (huffman)
  35618. error('JBIG2 error: huffman is not supported');
  35619. // Prepare bitmap
  35620. var bitmap = [];
  35621. for (var i = 0; i < height; i++) {
  35622. var row = new Uint8Array(width);
  35623. if (defaultPixelValue) {
  35624. for (var j = 0; j < width; j++)
  35625. row[j] = defaultPixelValue;
  35626. }
  35627. bitmap.push(row);
  35628. }
  35629. var decoder = decodingContext.decoder;
  35630. var contextCache = decodingContext.contextCache;
  35631. var stripT = -decodeInteger(contextCache, 'IADT', decoder); // 6.4.6
  35632. var firstS = 0;
  35633. var i = 0;
  35634. while (i < numberOfSymbolInstances) {
  35635. var deltaT = decodeInteger(contextCache, 'IADT', decoder); // 6.4.6
  35636. stripT += deltaT;
  35637. var deltaFirstS = decodeInteger(contextCache, 'IAFS', decoder); // 6.4.7
  35638. firstS += deltaFirstS;
  35639. var currentS = firstS;
  35640. do {
  35641. var currentT = stripSize == 1 ? 0 :
  35642. decodeInteger(contextCache, 'IAIT', decoder); // 6.4.9
  35643. var t = stripSize * stripT + currentT;
  35644. var symbolId = decodeIAID(contextCache, decoder, symbolCodeLength);
  35645. var applyRefinement = refinement &&
  35646. decodeInteger(contextCache, 'IARI', decoder);
  35647. var symbolBitmap = inputSymbols[symbolId];
  35648. var symbolWidth = symbolBitmap[0].length;
  35649. var symbolHeight = symbolBitmap.length;
  35650. if (applyRefinement) {
  35651. var rdw = decodeInteger(contextCache, 'IARDW', decoder); // 6.4.11.1
  35652. var rdh = decodeInteger(contextCache, 'IARDH', decoder); // 6.4.11.2
  35653. var rdx = decodeInteger(contextCache, 'IARDX', decoder); // 6.4.11.3
  35654. var rdy = decodeInteger(contextCache, 'IARDY', decoder); // 6.4.11.4
  35655. symbolWidth += rdw;
  35656. symbolHeight += rdh;
  35657. symbolBitmap = decodeRefinement(symbolWidth, symbolHeight,
  35658. refinementTemplateIndex, symbolBitmap, (rdw >> 1) + rdx,
  35659. (rdh >> 1) + rdy, false, refinementAt,
  35660. decodingContext);
  35661. }
  35662. var offsetT = t - ((referenceCorner & 1) ? 0 : symbolHeight);
  35663. var offsetS = currentS - ((referenceCorner & 2) ? symbolWidth : 0);
  35664. if (transposed) {
  35665. // Place Symbol Bitmap from T1,S1
  35666. for (var s2 = 0; s2 < symbolHeight; s2++) {
  35667. var row = bitmap[offsetS + s2];
  35668. if (!row) {
  35669. continue;
  35670. }
  35671. var symbolRow = symbolBitmap[s2];
  35672. // To ignore Parts of Symbol bitmap which goes
  35673. // outside bitmap region
  35674. var maxWidth = Math.min(width - offsetT, symbolWidth);
  35675. switch (combinationOperator) {
  35676. case 0: // OR
  35677. for (var t2 = 0; t2 < maxWidth; t2++) {
  35678. row[offsetT + t2] |= symbolRow[t2];
  35679. }
  35680. break;
  35681. case 2: // XOR
  35682. for (var t2 = 0; t2 < maxWidth; t2++) {
  35683. row[offsetT + t2] ^= symbolRow[t2];
  35684. }
  35685. break;
  35686. default:
  35687. error('JBIG2 error: operator ' + combinationOperator +
  35688. ' is not supported');
  35689. }
  35690. }
  35691. currentS += symbolHeight - 1;
  35692. } else {
  35693. for (var t2 = 0; t2 < symbolHeight; t2++) {
  35694. var row = bitmap[offsetT + t2];
  35695. if (!row) {
  35696. continue;
  35697. }
  35698. var symbolRow = symbolBitmap[t2];
  35699. switch (combinationOperator) {
  35700. case 0: // OR
  35701. for (var s2 = 0; s2 < symbolWidth; s2++) {
  35702. row[offsetS + s2] |= symbolRow[s2];
  35703. }
  35704. break;
  35705. case 2: // XOR
  35706. for (var s2 = 0; s2 < symbolWidth; s2++) {
  35707. row[offsetS + s2] ^= symbolRow[s2];
  35708. }
  35709. break;
  35710. default:
  35711. error('JBIG2 error: operator ' + combinationOperator +
  35712. ' is not supported');
  35713. }
  35714. }
  35715. currentS += symbolWidth - 1;
  35716. }
  35717. i++;
  35718. var deltaS = decodeInteger(contextCache, 'IADS', decoder); // 6.4.8
  35719. if (deltaS === null)
  35720. break; // OOB
  35721. currentS += deltaS + dsOffset;
  35722. } while (true);
  35723. }
  35724. return bitmap;
  35725. }
  35726. function readSegmentHeader(data, start) {
  35727. var segmentHeader = {};
  35728. segmentHeader.number = readUint32(data, start);
  35729. var flags = data[start + 4];
  35730. var segmentType = flags & 0x3F;
  35731. if (!SegmentTypes[segmentType])
  35732. error('JBIG2 error: invalid segment type: ' + segmentType);
  35733. segmentHeader.type = segmentType;
  35734. segmentHeader.typeName = SegmentTypes[segmentType];
  35735. segmentHeader.deferredNonRetain = !!(flags & 0x80);
  35736. var pageAssociationFieldSize = !!(flags & 0x40);
  35737. var referredFlags = data[start + 5];
  35738. var referredToCount = (referredFlags >> 5) & 7;
  35739. var retainBits = [referredFlags & 31];
  35740. var position = start + 6;
  35741. if (referredFlags == 7) {
  35742. referredToCount = readInt32(data, position - 1) & 0x1FFFFFFF;
  35743. position += 3;
  35744. var bytes = (referredToCount + 7) >> 3;
  35745. retainBits[0] = data[position++];
  35746. while (--bytes > 0) {
  35747. retainBits.push(data[position++]);
  35748. }
  35749. } else if (referredFlags == 5 || referredFlags == 6)
  35750. error('JBIG2 error: invalid referred-to flags');
  35751. segmentHeader.retainBits = retainBits;
  35752. var referredToSegmentNumberSize = segmentHeader.number <= 256 ? 1 :
  35753. segmentHeader.number <= 65536 ? 2 : 4;
  35754. var referredTo = [];
  35755. for (var i = 0; i < referredToCount; i++) {
  35756. var number = referredToSegmentNumberSize == 1 ? data[position] :
  35757. referredToSegmentNumberSize == 2 ? readUint16(data, position) :
  35758. readUint32(data, position);
  35759. referredTo.push(number);
  35760. position += referredToSegmentNumberSize;
  35761. }
  35762. segmentHeader.referredTo = referredTo;
  35763. if (!pageAssociationFieldSize)
  35764. segmentHeader.pageAssociation = data[position++];
  35765. else {
  35766. segmentHeader.pageAssociation = readUint32(data, position);
  35767. position += 4;
  35768. }
  35769. segmentHeader.length = readUint32(data, position);
  35770. position += 4;
  35771. if (segmentHeader.length == 0xFFFFFFFF) {
  35772. // 7.2.7 Segment data length, unknown segment length
  35773. if (segmentType === 38) { // ImmediateGenericRegion
  35774. var genericRegionInfo = readRegionSegmentInformation(data, position);
  35775. var genericRegionSegmentFlags = data[position +
  35776. RegionSegmentInformationFieldLength];
  35777. var genericRegionMmr = !!(genericRegionSegmentFlags & 1);
  35778. // searching for the segment end
  35779. var searchPatternLength = 6;
  35780. var searchPattern = new Uint8Array(searchPatternLength);
  35781. if (!genericRegionMmr) {
  35782. searchPattern[0] = 0xFF;
  35783. searchPattern[1] = 0xAC;
  35784. }
  35785. searchPattern[2] = (genericRegionInfo.height >>> 24) & 0xFF;
  35786. searchPattern[3] = (genericRegionInfo.height >> 16) & 0xFF;
  35787. searchPattern[4] = (genericRegionInfo.height >> 8) & 0xFF;
  35788. searchPattern[5] = genericRegionInfo.height & 0xFF;
  35789. for (var i = position, ii = data.length; i < ii; i++) {
  35790. var j = 0;
  35791. while (j < searchPatternLength && searchPattern[j] === data[i + j]) {
  35792. j++;
  35793. }
  35794. if (j == searchPatternLength) {
  35795. segmentHeader.length = i + searchPatternLength;
  35796. break;
  35797. }
  35798. }
  35799. if (segmentHeader.length == 0xFFFFFFFF) {
  35800. error('JBIG2 error: segment end was not found');
  35801. }
  35802. } else {
  35803. error('JBIG2 error: invalid unknown segment length');
  35804. }
  35805. }
  35806. segmentHeader.headerEnd = position;
  35807. return segmentHeader;
  35808. }
  35809. function readSegments(header, data, start, end) {
  35810. var segments = [];
  35811. var position = start;
  35812. while (position < end) {
  35813. var segmentHeader = readSegmentHeader(data, position);
  35814. position = segmentHeader.headerEnd;
  35815. var segment = {
  35816. header: segmentHeader,
  35817. data: data
  35818. };
  35819. if (!header.randomAccess) {
  35820. segment.start = position;
  35821. position += segmentHeader.length;
  35822. segment.end = position;
  35823. }
  35824. segments.push(segment);
  35825. if (segmentHeader.type == 51)
  35826. break; // end of file is found
  35827. }
  35828. if (header.randomAccess) {
  35829. for (var i = 0, ii = segments.length; i < ii; i++) {
  35830. segments[i].start = position;
  35831. position += segments[i].header.length;
  35832. segments[i].end = position;
  35833. }
  35834. }
  35835. return segments;
  35836. }
  35837. // 7.4.1 Region segment information field
  35838. function readRegionSegmentInformation(data, start) {
  35839. return {
  35840. width: readUint32(data, start),
  35841. height: readUint32(data, start + 4),
  35842. x: readUint32(data, start + 8),
  35843. y: readUint32(data, start + 12),
  35844. combinationOperator: data[start + 16] & 7
  35845. };
  35846. }
  35847. var RegionSegmentInformationFieldLength = 17;
  35848. function processSegment(segment, visitor) {
  35849. var header = segment.header;
  35850. var data = segment.data, position = segment.start, end = segment.end;
  35851. var args;
  35852. switch (header.type) {
  35853. case 0: // SymbolDictionary
  35854. // 7.4.2 Symbol dictionary segment syntax
  35855. var dictionary = {};
  35856. var dictionaryFlags = readUint16(data, position); // 7.4.2.1.1
  35857. dictionary.huffman = !!(dictionaryFlags & 1);
  35858. dictionary.refinement = !!(dictionaryFlags & 2);
  35859. dictionary.huffmanDHSelector = (dictionaryFlags >> 2) & 3;
  35860. dictionary.huffmanDWSelector = (dictionaryFlags >> 4) & 3;
  35861. dictionary.bitmapSizeSelector = (dictionaryFlags >> 6) & 1;
  35862. dictionary.aggregationInstancesSelector = (dictionaryFlags >> 7) & 1;
  35863. dictionary.bitmapCodingContextUsed = !!(dictionaryFlags & 256);
  35864. dictionary.bitmapCodingContextRetained = !!(dictionaryFlags & 512);
  35865. dictionary.template = (dictionaryFlags >> 10) & 3;
  35866. dictionary.refinementTemplate = (dictionaryFlags >> 12) & 1;
  35867. position += 2;
  35868. if (!dictionary.huffman) {
  35869. var atLength = dictionary.template === 0 ? 4 : 1;
  35870. var at = [];
  35871. for (var i = 0; i < atLength; i++) {
  35872. at.push({
  35873. x: readInt8(data, position),
  35874. y: readInt8(data, position + 1)
  35875. });
  35876. position += 2;
  35877. }
  35878. dictionary.at = at;
  35879. }
  35880. if (dictionary.refinement && !dictionary.refinementTemplate) {
  35881. var at = [];
  35882. for (var i = 0; i < 2; i++) {
  35883. at.push({
  35884. x: readInt8(data, position),
  35885. y: readInt8(data, position + 1)
  35886. });
  35887. position += 2;
  35888. }
  35889. dictionary.refinementAt = at;
  35890. }
  35891. dictionary.numberOfExportedSymbols = readUint32(data, position);
  35892. position += 4;
  35893. dictionary.numberOfNewSymbols = readUint32(data, position);
  35894. position += 4;
  35895. args = [dictionary, header.number, header.referredTo,
  35896. data, position, end];
  35897. break;
  35898. case 6: // ImmediateTextRegion
  35899. case 7: // ImmediateLosslessTextRegion
  35900. var textRegion = {};
  35901. textRegion.info = readRegionSegmentInformation(data, position);
  35902. position += RegionSegmentInformationFieldLength;
  35903. var textRegionSegmentFlags = readUint16(data, position);
  35904. position += 2;
  35905. textRegion.huffman = !!(textRegionSegmentFlags & 1);
  35906. textRegion.refinement = !!(textRegionSegmentFlags & 2);
  35907. textRegion.stripSize = 1 << ((textRegionSegmentFlags >> 2) & 3);
  35908. textRegion.referenceCorner = (textRegionSegmentFlags >> 4) & 3;
  35909. textRegion.transposed = !!(textRegionSegmentFlags & 64);
  35910. textRegion.combinationOperator = (textRegionSegmentFlags >> 7) & 3;
  35911. textRegion.defaultPixelValue = (textRegionSegmentFlags >> 9) & 1;
  35912. textRegion.dsOffset = (textRegionSegmentFlags << 17) >> 27;
  35913. textRegion.refinementTemplate = (textRegionSegmentFlags >> 15) & 1;
  35914. if (textRegion.huffman) {
  35915. var textRegionHuffmanFlags = readUint16(data, position);
  35916. position += 2;
  35917. textRegion.huffmanFS = (textRegionHuffmanFlags) & 3;
  35918. textRegion.huffmanDS = (textRegionHuffmanFlags >> 2) & 3;
  35919. textRegion.huffmanDT = (textRegionHuffmanFlags >> 4) & 3;
  35920. textRegion.huffmanRefinementDW = (textRegionHuffmanFlags >> 6) & 3;
  35921. textRegion.huffmanRefinementDH = (textRegionHuffmanFlags >> 8) & 3;
  35922. textRegion.huffmanRefinementDX = (textRegionHuffmanFlags >> 10) & 3;
  35923. textRegion.huffmanRefinementDY = (textRegionHuffmanFlags >> 12) & 3;
  35924. textRegion.huffmanRefinementSizeSelector =
  35925. !!(textRegionHuffmanFlags & 14);
  35926. }
  35927. if (textRegion.refinement && !textRegion.refinementTemplate) {
  35928. var at = [];
  35929. for (var i = 0; i < 2; i++) {
  35930. at.push({
  35931. x: readInt8(data, position),
  35932. y: readInt8(data, position + 1)
  35933. });
  35934. position += 2;
  35935. }
  35936. textRegion.refinementAt = at;
  35937. }
  35938. textRegion.numberOfSymbolInstances = readUint32(data, position);
  35939. position += 4;
  35940. // TODO 7.4.3.1.7 Symbol ID Huffman table decoding
  35941. if (textRegion.huffman)
  35942. error('JBIG2 error: huffman is not supported');
  35943. args = [textRegion, header.referredTo, data, position, end];
  35944. break;
  35945. case 38: // ImmediateGenericRegion
  35946. case 39: // ImmediateLosslessGenericRegion
  35947. var genericRegion = {};
  35948. genericRegion.info = readRegionSegmentInformation(data, position);
  35949. position += RegionSegmentInformationFieldLength;
  35950. var genericRegionSegmentFlags = data[position++];
  35951. genericRegion.mmr = !!(genericRegionSegmentFlags & 1);
  35952. genericRegion.template = (genericRegionSegmentFlags >> 1) & 3;
  35953. genericRegion.prediction = !!(genericRegionSegmentFlags & 8);
  35954. if (!genericRegion.mmr) {
  35955. var atLength = genericRegion.template === 0 ? 4 : 1;
  35956. var at = [];
  35957. for (var i = 0; i < atLength; i++) {
  35958. at.push({
  35959. x: readInt8(data, position),
  35960. y: readInt8(data, position + 1)
  35961. });
  35962. position += 2;
  35963. }
  35964. genericRegion.at = at;
  35965. }
  35966. args = [genericRegion, data, position, end];
  35967. break;
  35968. case 48: // PageInformation
  35969. var pageInfo = {
  35970. width: readUint32(data, position),
  35971. height: readUint32(data, position + 4),
  35972. resolutionX: readUint32(data, position + 8),
  35973. resolutionY: readUint32(data, position + 12)
  35974. };
  35975. if (pageInfo.height == 0xFFFFFFFF)
  35976. delete pageInfo.height;
  35977. var pageSegmentFlags = data[position + 16];
  35978. var pageStripingInformatiom = readUint16(data, position + 17);
  35979. pageInfo.lossless = !!(pageSegmentFlags & 1);
  35980. pageInfo.refinement = !!(pageSegmentFlags & 2);
  35981. pageInfo.defaultPixelValue = (pageSegmentFlags >> 2) & 1;
  35982. pageInfo.combinationOperator = (pageSegmentFlags >> 3) & 3;
  35983. pageInfo.requiresBuffer = !!(pageSegmentFlags & 32);
  35984. pageInfo.combinationOperatorOverride = !!(pageSegmentFlags & 64);
  35985. args = [pageInfo];
  35986. break;
  35987. case 49: // EndOfPage
  35988. break;
  35989. case 50: // EndOfStripe
  35990. break;
  35991. case 51: // EndOfFile
  35992. break;
  35993. case 62: // 7.4.15 defines 2 extension types which
  35994. // are comments and can be ignored.
  35995. break;
  35996. default:
  35997. error('JBIG2 error: segment type ' + header.typeName + '(' +
  35998. header.type + ') is not implemented');
  35999. }
  36000. var callbackName = 'on' + header.typeName;
  36001. if (callbackName in visitor)
  36002. visitor[callbackName].apply(visitor, args);
  36003. }
  36004. function processSegments(segments, visitor) {
  36005. for (var i = 0, ii = segments.length; i < ii; i++)
  36006. processSegment(segments[i], visitor);
  36007. }
  36008. function parseJbig2(data, start, end) {
  36009. var position = start;
  36010. if (data[position] != 0x97 || data[position + 1] != 0x4A ||
  36011. data[position + 2] != 0x42 || data[position + 3] != 0x32 ||
  36012. data[position + 4] != 0x0D || data[position + 5] != 0x0A ||
  36013. data[position + 6] != 0x1A || data[position + 7] != 0x0A)
  36014. error('JBIG2 error: invalid header');
  36015. var header = {};
  36016. position += 8;
  36017. var flags = data[position++];
  36018. header.randomAccess = !(flags & 1);
  36019. if (!(flags & 2)) {
  36020. header.numberOfPages = readUint32(data, position);
  36021. position += 4;
  36022. }
  36023. var segments = readSegments(header, data, position, end);
  36024. error('Not implemented');
  36025. // processSegments(segments, new SimpleSegmentVisitor());
  36026. }
  36027. function parseJbig2Chunks(chunks) {
  36028. var visitor = new SimpleSegmentVisitor();
  36029. for (var i = 0, ii = chunks.length; i < ii; i++) {
  36030. var chunk = chunks[i];
  36031. var segments = readSegments({}, chunk.data, chunk.start, chunk.end);
  36032. processSegments(segments, visitor);
  36033. }
  36034. return visitor.buffer;
  36035. }
  36036. function SimpleSegmentVisitor() {}
  36037. SimpleSegmentVisitor.prototype = {
  36038. onPageInformation: function SimpleSegmentVisitor_onPageInformation(info) {
  36039. this.currentPageInfo = info;
  36040. var rowSize = (info.width + 7) >> 3;
  36041. var buffer = new Uint8Array(rowSize * info.height);
  36042. var fill = info.defaultPixelValue ? 0xFF : 0;
  36043. for (var i = 0, ii = buffer.length; i < ii; i++)
  36044. buffer[i] = fill;
  36045. this.buffer = buffer;
  36046. },
  36047. drawBitmap: function SimpleSegmentVisitor_drawBitmap(regionInfo, bitmap) {
  36048. var pageInfo = this.currentPageInfo;
  36049. var width = regionInfo.width, height = regionInfo.height;
  36050. var rowSize = (pageInfo.width + 7) >> 3;
  36051. var combinationOperator = pageInfo.combinationOperatorOverride ?
  36052. regionInfo.combinationOperator : pageInfo.combinationOperator;
  36053. var buffer = this.buffer;
  36054. for (var i = 0; i < height; i++) {
  36055. var mask = 128 >> (regionInfo.x & 7);
  36056. var offset = (i + regionInfo.y) * rowSize + (regionInfo.x >> 3);
  36057. switch (combinationOperator) {
  36058. case 0: // OR
  36059. for (var j = 0; j < width; j++) {
  36060. buffer[offset] |= bitmap[i][j] ? mask : 0;
  36061. mask >>= 1;
  36062. if (!mask) {
  36063. mask = 128;
  36064. offset++;
  36065. }
  36066. }
  36067. break;
  36068. case 2: // XOR
  36069. for (var j = 0; j < width; j++) {
  36070. buffer[offset] ^= bitmap[i][j] ? mask : 0;
  36071. mask >>= 1;
  36072. if (!mask) {
  36073. mask = 128;
  36074. offset++;
  36075. }
  36076. }
  36077. break;
  36078. default:
  36079. error('JBIG2 error: operator ' + combinationOperator +
  36080. ' is not supported');
  36081. }
  36082. }
  36083. },
  36084. onImmediateGenericRegion:
  36085. function SimpleSegmentVisitor_onImmediateGenericRegion(region, data,
  36086. start, end) {
  36087. var regionInfo = region.info;
  36088. var decodingContext = new DecodingContext(data, start, end);
  36089. var bitmap = decodeBitmap(region.mmr, regionInfo.width, regionInfo.height,
  36090. region.template, region.prediction, null,
  36091. region.at, decodingContext);
  36092. this.drawBitmap(regionInfo, bitmap);
  36093. },
  36094. onImmediateLosslessGenericRegion:
  36095. function SimpleSegmentVisitor_onImmediateLosslessGenericRegion() {
  36096. this.onImmediateGenericRegion.apply(this, arguments);
  36097. },
  36098. onSymbolDictionary:
  36099. function SimpleSegmentVisitor_onSymbolDictionary(dictionary,
  36100. currentSegment,
  36101. referredSegments,
  36102. data, start, end) {
  36103. var huffmanTables;
  36104. if (dictionary.huffman)
  36105. error('JBIG2 error: huffman is not supported');
  36106. // Combines exported symbols from all referred segments
  36107. var symbols = this.symbols;
  36108. if (!symbols)
  36109. this.symbols = symbols = {};
  36110. var inputSymbols = [];
  36111. for (var i = 0, ii = referredSegments.length; i < ii; i++)
  36112. inputSymbols = inputSymbols.concat(symbols[referredSegments[i]]);
  36113. var decodingContext = new DecodingContext(data, start, end);
  36114. symbols[currentSegment] = decodeSymbolDictionary(dictionary.huffman,
  36115. dictionary.refinement, inputSymbols, dictionary.numberOfNewSymbols,
  36116. dictionary.numberOfExportedSymbols, huffmanTables,
  36117. dictionary.template, dictionary.at,
  36118. dictionary.refinementTemplate, dictionary.refinementAt,
  36119. decodingContext);
  36120. },
  36121. onImmediateTextRegion:
  36122. function SimpleSegmentVisitor_onImmediateTextRegion(region,
  36123. referredSegments,
  36124. data, start, end) {
  36125. var regionInfo = region.info;
  36126. var huffmanTables;
  36127. // Combines exported symbols from all referred segments
  36128. var symbols = this.symbols;
  36129. var inputSymbols = [];
  36130. for (var i = 0, ii = referredSegments.length; i < ii; i++)
  36131. inputSymbols = inputSymbols.concat(symbols[referredSegments[i]]);
  36132. var symbolCodeLength = log2(inputSymbols.length);
  36133. var decodingContext = new DecodingContext(data, start, end);
  36134. var bitmap = decodeTextRegion(region.huffman, region.refinement,
  36135. regionInfo.width, regionInfo.height, region.defaultPixelValue,
  36136. region.numberOfSymbolInstances, region.stripSize, inputSymbols,
  36137. symbolCodeLength, region.transposed, region.dsOffset,
  36138. region.referenceCorner, region.combinationOperator, huffmanTables,
  36139. region.refinementTemplate, region.refinementAt, decodingContext);
  36140. this.drawBitmap(regionInfo, bitmap);
  36141. },
  36142. onImmediateLosslessTextRegion:
  36143. function SimpleSegmentVisitor_onImmediateLosslessTextRegion() {
  36144. this.onImmediateTextRegion.apply(this, arguments);
  36145. }
  36146. };
  36147. function Jbig2Image() {}
  36148. Jbig2Image.prototype = {
  36149. parseChunks: function Jbig2Image_parseChunks(chunks) {
  36150. return parseJbig2Chunks(chunks);
  36151. }
  36152. };
  36153. return Jbig2Image;
  36154. })();
  36155. var bidi = PDFJS.bidi = (function bidiClosure() {
  36156. // Character types for symbols from 0000 to 00FF.
  36157. var baseTypes = [
  36158. 'BN', 'BN', 'BN', 'BN', 'BN', 'BN', 'BN', 'BN', 'BN', 'S', 'B', 'S', 'WS',
  36159. 'B', 'BN', 'BN', 'BN', 'BN', 'BN', 'BN', 'BN', 'BN', 'BN', 'BN', 'BN', 'BN',
  36160. 'BN', 'BN', 'B', 'B', 'B', 'S', 'WS', 'ON', 'ON', 'ET', 'ET', 'ET', 'ON',
  36161. 'ON', 'ON', 'ON', 'ON', 'ON', 'CS', 'ON', 'CS', 'ON', 'EN', 'EN', 'EN',
  36162. 'EN', 'EN', 'EN', 'EN', 'EN', 'EN', 'EN', 'ON', 'ON', 'ON', 'ON', 'ON',
  36163. 'ON', 'ON', 'L', 'L', 'L', 'L', 'L', 'L', 'L', 'L', 'L', 'L', 'L', 'L', 'L',
  36164. 'L', 'L', 'L', 'L', 'L', 'L', 'L', 'L', 'L', 'L', 'L', 'L', 'L', 'ON', 'ON',
  36165. 'ON', 'ON', 'ON', 'ON', 'L', 'L', 'L', 'L', 'L', 'L', 'L', 'L', 'L', 'L',
  36166. 'L', 'L', 'L', 'L', 'L', 'L', 'L', 'L', 'L', 'L', 'L', 'L', 'L', 'L', 'L',
  36167. 'L', 'ON', 'ON', 'ON', 'ON', 'BN', 'BN', 'BN', 'BN', 'BN', 'BN', 'B', 'BN',
  36168. 'BN', 'BN', 'BN', 'BN', 'BN', 'BN', 'BN', 'BN', 'BN', 'BN', 'BN', 'BN',
  36169. 'BN', 'BN', 'BN', 'BN', 'BN', 'BN', 'BN', 'BN', 'BN', 'BN', 'BN', 'BN',
  36170. 'BN', 'CS', 'ON', 'ET', 'ET', 'ET', 'ET', 'ON', 'ON', 'ON', 'ON', 'L', 'ON',
  36171. 'ON', 'ON', 'ON', 'ON', 'ET', 'ET', 'EN', 'EN', 'ON', 'L', 'ON', 'ON', 'ON',
  36172. 'EN', 'L', 'ON', 'ON', 'ON', 'ON', 'ON', 'L', 'L', 'L', 'L', 'L', 'L', 'L',
  36173. 'L', 'L', 'L', 'L', 'L', 'L', 'L', 'L', 'L', 'L', 'L', 'L', 'L', 'L', 'L',
  36174. 'L', 'ON', 'L', 'L', 'L', 'L', 'L', 'L', 'L', 'L', 'L', 'L', 'L', 'L', 'L',
  36175. 'L', 'L', 'L', 'L', 'L', 'L', 'L', 'L', 'L', 'L', 'L', 'L', 'L', 'L', 'L',
  36176. 'L', 'L', 'L', 'ON', 'L', 'L', 'L', 'L', 'L', 'L', 'L', 'L'
  36177. ];
  36178. // Character types for symbols from 0600 to 06FF
  36179. var arabicTypes = [
  36180. 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL',
  36181. 'CS', 'AL', 'ON', 'ON', 'NSM', 'NSM', 'NSM', 'NSM', 'NSM', 'NSM', 'AL',
  36182. 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL',
  36183. 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL',
  36184. 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL',
  36185. 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL',
  36186. 'AL', 'AL', 'AL', 'AL', 'NSM', 'NSM', 'NSM', 'NSM', 'NSM', 'NSM', 'NSM',
  36187. 'NSM', 'NSM', 'NSM', 'NSM', 'NSM', 'NSM', 'NSM', 'AL', 'AL', 'AL', 'AL',
  36188. 'AL', 'AL', 'AL', 'AN', 'AN', 'AN', 'AN', 'AN', 'AN', 'AN', 'AN', 'AN',
  36189. 'AN', 'ET', 'AN', 'AN', 'AL', 'AL', 'AL', 'NSM', 'AL', 'AL', 'AL', 'AL',
  36190. 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL',
  36191. 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL',
  36192. 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL',
  36193. 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL',
  36194. 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL',
  36195. 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL',
  36196. 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL',
  36197. 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL',
  36198. 'AL', 'NSM', 'NSM', 'NSM', 'NSM', 'NSM', 'NSM', 'NSM', 'NSM', 'NSM', 'NSM',
  36199. 'NSM', 'NSM', 'NSM', 'NSM', 'NSM', 'NSM', 'NSM', 'NSM', 'NSM', 'ON', 'NSM',
  36200. 'NSM', 'NSM', 'NSM', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL',
  36201. 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL', 'AL'
  36202. ];
  36203. function isOdd(i) {
  36204. return (i & 1) !== 0;
  36205. }
  36206. function isEven(i) {
  36207. return (i & 1) === 0;
  36208. }
  36209. function findUnequal(arr, start, value) {
  36210. var j;
  36211. for (var j = start, jj = arr.length; j < jj; ++j) {
  36212. if (arr[j] != value)
  36213. return j;
  36214. }
  36215. return j;
  36216. }
  36217. function setValues(arr, start, end, value) {
  36218. for (var j = start; j < end; ++j) {
  36219. arr[j] = value;
  36220. }
  36221. }
  36222. function reverseValues(arr, start, end) {
  36223. for (var i = start, j = end - 1; i < j; ++i, --j) {
  36224. var temp = arr[i];
  36225. arr[i] = arr[j];
  36226. arr[j] = temp;
  36227. }
  36228. }
  36229. function mirrorGlyphs(c) {
  36230. /*
  36231. # BidiMirroring-1.txt
  36232. 0028; 0029 # LEFT PARENTHESIS
  36233. 0029; 0028 # RIGHT PARENTHESIS
  36234. 003C; 003E # LESS-THAN SIGN
  36235. 003E; 003C # GREATER-THAN SIGN
  36236. 005B; 005D # LEFT SQUARE BRACKET
  36237. 005D; 005B # RIGHT SQUARE BRACKET
  36238. 007B; 007D # LEFT CURLY BRACKET
  36239. 007D; 007B # RIGHT CURLY BRACKET
  36240. 00AB; 00BB # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
  36241. 00BB; 00AB # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
  36242. */
  36243. switch (c) {
  36244. case '(':
  36245. return ')';
  36246. case ')':
  36247. return '(';
  36248. case '<':
  36249. return '>';
  36250. case '>':
  36251. return '<';
  36252. case ']':
  36253. return '[';
  36254. case '[':
  36255. return ']';
  36256. case '}':
  36257. return '{';
  36258. case '{':
  36259. return '}';
  36260. case '\u00AB':
  36261. return '\u00BB';
  36262. case '\u00BB':
  36263. return '\u00AB';
  36264. default:
  36265. return c;
  36266. }
  36267. }
  36268. function BidiResult(str, isLTR, vertical) {
  36269. this.str = str;
  36270. this.dir = vertical ? 'ttb' : isLTR ? 'ltr' : 'rtl';
  36271. }
  36272. function bidi(str, startLevel, vertical) {
  36273. var isLTR = true;
  36274. var strLength = str.length;
  36275. if (strLength === 0 || vertical)
  36276. return new BidiResult(str, isLTR, vertical);
  36277. // get types, fill arrays
  36278. var chars = [];
  36279. var types = [];
  36280. var oldtypes = [];
  36281. var numBidi = 0;
  36282. for (var i = 0; i < strLength; ++i) {
  36283. chars[i] = str.charAt(i);
  36284. var charCode = str.charCodeAt(i);
  36285. var charType = 'L';
  36286. if (charCode <= 0x00ff)
  36287. charType = baseTypes[charCode];
  36288. else if (0x0590 <= charCode && charCode <= 0x05f4)
  36289. charType = 'R';
  36290. else if (0x0600 <= charCode && charCode <= 0x06ff)
  36291. charType = arabicTypes[charCode & 0xff];
  36292. else if (0x0700 <= charCode && charCode <= 0x08AC)
  36293. charType = 'AL';
  36294. if (charType == 'R' || charType == 'AL' || charType == 'AN')
  36295. numBidi++;
  36296. oldtypes[i] = types[i] = charType;
  36297. }
  36298. // detect the bidi method
  36299. // if there are no rtl characters then no bidi needed
  36300. // if less than 30% chars are rtl then string is primarily ltr
  36301. // if more than 30% chars are rtl then string is primarily rtl
  36302. if (numBidi === 0) {
  36303. isLTR = true;
  36304. return new BidiResult(str, isLTR);
  36305. }
  36306. if (startLevel == -1) {
  36307. if ((strLength / numBidi) < 0.3) {
  36308. isLTR = true;
  36309. startLevel = 0;
  36310. } else {
  36311. isLTR = false;
  36312. startLevel = 1;
  36313. }
  36314. }
  36315. var levels = [];
  36316. for (var i = 0; i < strLength; ++i) {
  36317. levels[i] = startLevel;
  36318. }
  36319. /*
  36320. X1-X10: skip most of this, since we are NOT doing the embeddings.
  36321. */
  36322. var e = isOdd(startLevel) ? 'R' : 'L';
  36323. var sor = e;
  36324. var eor = sor;
  36325. /*
  36326. W1. Examine each non-spacing mark (NSM) in the level run, and change the
  36327. type of the NSM to the type of the previous character. If the NSM is at the
  36328. start of the level run, it will get the type of sor.
  36329. */
  36330. var lastType = sor;
  36331. for (var i = 0; i < strLength; ++i) {
  36332. if (types[i] == 'NSM')
  36333. types[i] = lastType;
  36334. else
  36335. lastType = types[i];
  36336. }
  36337. /*
  36338. W2. Search backwards from each instance of a European number until the
  36339. first strong type (R, L, AL, or sor) is found. If an AL is found, change
  36340. the type of the European number to Arabic number.
  36341. */
  36342. var lastType = sor;
  36343. for (var i = 0; i < strLength; ++i) {
  36344. var t = types[i];
  36345. if (t == 'EN')
  36346. types[i] = (lastType == 'AL') ? 'AN' : 'EN';
  36347. else if (t == 'R' || t == 'L' || t == 'AL')
  36348. lastType = t;
  36349. }
  36350. /*
  36351. W3. Change all ALs to R.
  36352. */
  36353. for (var i = 0; i < strLength; ++i) {
  36354. var t = types[i];
  36355. if (t == 'AL')
  36356. types[i] = 'R';
  36357. }
  36358. /*
  36359. W4. A single European separator between two European numbers changes to a
  36360. European number. A single common separator between two numbers of the same
  36361. type changes to that type:
  36362. */
  36363. for (var i = 1; i < strLength - 1; ++i) {
  36364. if (types[i] == 'ES' && types[i - 1] == 'EN' && types[i + 1] == 'EN')
  36365. types[i] = 'EN';
  36366. if (types[i] == 'CS' && (types[i - 1] == 'EN' || types[i - 1] == 'AN') &&
  36367. types[i + 1] == types[i - 1])
  36368. types[i] = types[i - 1];
  36369. }
  36370. /*
  36371. W5. A sequence of European terminators adjacent to European numbers changes
  36372. to all European numbers:
  36373. */
  36374. for (var i = 0; i < strLength; ++i) {
  36375. if (types[i] == 'EN') {
  36376. // do before
  36377. for (var j = i - 1; j >= 0; --j) {
  36378. if (types[j] != 'ET')
  36379. break;
  36380. types[j] = 'EN';
  36381. }
  36382. // do after
  36383. for (var j = i + 1; j < strLength; --j) {
  36384. if (types[j] != 'ET')
  36385. break;
  36386. types[j] = 'EN';
  36387. }
  36388. }
  36389. }
  36390. /*
  36391. W6. Otherwise, separators and terminators change to Other Neutral:
  36392. */
  36393. for (var i = 0; i < strLength; ++i) {
  36394. var t = types[i];
  36395. if (t == 'WS' || t == 'ES' || t == 'ET' || t == 'CS')
  36396. types[i] = 'ON';
  36397. }
  36398. /*
  36399. W7. Search backwards from each instance of a European number until the
  36400. first strong type (R, L, or sor) is found. If an L is found, then change
  36401. the type of the European number to L.
  36402. */
  36403. var lastType = sor;
  36404. for (var i = 0; i < strLength; ++i) {
  36405. var t = types[i];
  36406. if (t == 'EN')
  36407. types[i] = (lastType == 'L') ? 'L' : 'EN';
  36408. else if (t == 'R' || t == 'L')
  36409. lastType = t;
  36410. }
  36411. /*
  36412. N1. A sequence of neutrals takes the direction of the surrounding strong
  36413. text if the text on both sides has the same direction. European and Arabic
  36414. numbers are treated as though they were R. Start-of-level-run (sor) and
  36415. end-of-level-run (eor) are used at level run boundaries.
  36416. */
  36417. for (var i = 0; i < strLength; ++i) {
  36418. if (types[i] == 'ON') {
  36419. var end = findUnequal(types, i + 1, 'ON');
  36420. var before = sor;
  36421. if (i > 0)
  36422. before = types[i - 1];
  36423. var after = eor;
  36424. if (end + 1 < strLength)
  36425. after = types[end + 1];
  36426. if (before != 'L')
  36427. before = 'R';
  36428. if (after != 'L')
  36429. after = 'R';
  36430. if (before == after)
  36431. setValues(types, i, end, before);
  36432. i = end - 1; // reset to end (-1 so next iteration is ok)
  36433. }
  36434. }
  36435. /*
  36436. N2. Any remaining neutrals take the embedding direction.
  36437. */
  36438. for (var i = 0; i < strLength; ++i) {
  36439. if (types[i] == 'ON')
  36440. types[i] = e;
  36441. }
  36442. /*
  36443. I1. For all characters with an even (left-to-right) embedding direction,
  36444. those of type R go up one level and those of type AN or EN go up two
  36445. levels.
  36446. I2. For all characters with an odd (right-to-left) embedding direction,
  36447. those of type L, EN or AN go up one level.
  36448. */
  36449. for (var i = 0; i < strLength; ++i) {
  36450. var t = types[i];
  36451. if (isEven(levels[i])) {
  36452. if (t == 'R') {
  36453. levels[i] += 1;
  36454. } else if (t == 'AN' || t == 'EN') {
  36455. levels[i] += 2;
  36456. }
  36457. } else { // isOdd, so
  36458. if (t == 'L' || t == 'AN' || t == 'EN') {
  36459. levels[i] += 1;
  36460. }
  36461. }
  36462. }
  36463. /*
  36464. L1. On each line, reset the embedding level of the following characters to
  36465. the paragraph embedding level:
  36466. segment separators,
  36467. paragraph separators,
  36468. any sequence of whitespace characters preceding a segment separator or
  36469. paragraph separator, and any sequence of white space characters at the end
  36470. of the line.
  36471. */
  36472. // don't bother as text is only single line
  36473. /*
  36474. L2. From the highest level found in the text to the lowest odd level on
  36475. each line, reverse any contiguous sequence of characters that are at that
  36476. level or higher.
  36477. */
  36478. // find highest level & lowest odd level
  36479. var highestLevel = -1;
  36480. var lowestOddLevel = 99;
  36481. for (var i = 0, ii = levels.length; i < ii; ++i) {
  36482. var level = levels[i];
  36483. if (highestLevel < level)
  36484. highestLevel = level;
  36485. if (lowestOddLevel > level && isOdd(level))
  36486. lowestOddLevel = level;
  36487. }
  36488. // now reverse between those limits
  36489. for (var level = highestLevel; level >= lowestOddLevel; --level) {
  36490. // find segments to reverse
  36491. var start = -1;
  36492. for (var i = 0, ii = levels.length; i < ii; ++i) {
  36493. if (levels[i] < level) {
  36494. if (start >= 0) {
  36495. reverseValues(chars, start, i);
  36496. start = -1;
  36497. }
  36498. } else if (start < 0) {
  36499. start = i;
  36500. }
  36501. }
  36502. if (start >= 0) {
  36503. reverseValues(chars, start, levels.length);
  36504. }
  36505. }
  36506. /*
  36507. L3. Combining marks applied to a right-to-left base character will at this
  36508. point precede their base character. If the rendering engine expects them to
  36509. follow the base characters in the final display process, then the ordering
  36510. of the marks and the base character must be reversed.
  36511. */
  36512. // don't bother for now
  36513. /*
  36514. L4. A character that possesses the mirrored property as specified by
  36515. Section 4.7, Mirrored, must be depicted by a mirrored glyph if the resolved
  36516. directionality of that character is R.
  36517. */
  36518. // don't mirror as characters are already mirrored in the pdf
  36519. // Finally, return string
  36520. var result = '';
  36521. for (var i = 0, ii = chars.length; i < ii; ++i) {
  36522. var ch = chars[i];
  36523. if (ch != '<' && ch != '>')
  36524. result += ch;
  36525. }
  36526. return new BidiResult(result, isLTR);
  36527. }
  36528. return bidi;
  36529. })();
  36530. var CMAP_CODESPACES = {
  36531. 'Adobe-CNS1-0': [[], [0, 14335]],
  36532. 'Adobe-CNS1-1': [[], [0, 17407]],
  36533. 'Adobe-CNS1-2': [[], [0, 17663]],
  36534. 'Adobe-CNS1-3': [[], [0, 18943]],
  36535. 'Adobe-CNS1-4': [[], [0, 19199]],
  36536. 'Adobe-CNS1-5': [[], [0, 19199]],
  36537. 'Adobe-CNS1-6': [[], [0, 19199]],
  36538. 'Adobe-CNS1-UCS2': [[], [0, 65535]],
  36539. 'B5-H': [[0, 128], [41280, 65278]],
  36540. 'B5-V': [[0, 128], [41280, 65278]],
  36541. 'B5pc-H': [[0, 128, 253, 255], [41280, 64766]],
  36542. 'B5pc-V': [[0, 128, 253, 255], [41280, 64766]],
  36543. 'CNS-EUC-H': [[0, 128], [41377, 65278], [],
  36544. [2392957345, 2392981246, 2393022881, 2393046782, 2393088417, 2393112318]],
  36545. 'CNS-EUC-V': [[0, 128], [41377, 65278], [],
  36546. [2392957345, 2392981246, 2393022881, 2393046782, 2393088417, 2393112318]],
  36547. 'CNS1-H': [[], [8481, 32382]],
  36548. 'CNS1-V': [[], [8481, 32382]],
  36549. 'CNS2-H': [[], [8481, 32382]],
  36550. 'CNS2-V': [[], [8481, 32382]],
  36551. 'ETen-B5-H': [[0, 128], [41280, 65278]],
  36552. 'ETen-B5-V': [[0, 128], [41280, 65278]],
  36553. 'ETenms-B5-H': [[0, 128], [41280, 65278]],
  36554. 'ETenms-B5-V': [[0, 128], [41280, 65278]],
  36555. 'ETHK-B5-H': [[0, 128], [34624, 65278]],
  36556. 'ETHK-B5-V': [[0, 128], [34624, 65278]],
  36557. 'HKdla-B5-H': [[0, 128], [41280, 65278]],
  36558. 'HKdla-B5-V': [[0, 128], [41280, 65278]],
  36559. 'HKdlb-B5-H': [[0, 128], [36416, 65278]],
  36560. 'HKdlb-B5-V': [[0, 128], [36416, 65278]],
  36561. 'HKgccs-B5-H': [[0, 128], [35392, 65278]],
  36562. 'HKgccs-B5-V': [[0, 128], [35392, 65278]],
  36563. 'HKm314-B5-H': [[0, 128], [41280, 65278]],
  36564. 'HKm314-B5-V': [[0, 128], [41280, 65278]],
  36565. 'HKm471-B5-H': [[0, 128], [41280, 65278]],
  36566. 'HKm471-B5-V': [[0, 128], [41280, 65278]],
  36567. 'HKscs-B5-H': [[0, 128], [34624, 65278]],
  36568. 'HKscs-B5-V': [[0, 128], [34624, 65278]],
  36569. 'UniCNS-UCS2-H': [[], [0, 55295, 57344, 65535]],
  36570. 'UniCNS-UCS2-V': [[], [0, 55295, 57344, 65535]],
  36571. 'UniCNS-UTF16-H': [[], [0, 55295, 57344, 65535], [],
  36572. [3623934976, 3690979327]],
  36573. 'UniCNS-UTF16-V': [[], [0, 55295, 57344, 65535], [],
  36574. [3623934976, 3690979327]],
  36575. 'Adobe-GB1-0': [[], [0, 7935]],
  36576. 'Adobe-GB1-1': [[], [0, 9983]],
  36577. 'Adobe-GB1-2': [[], [0, 22271]],
  36578. 'Adobe-GB1-3': [[], [0, 22527]],
  36579. 'Adobe-GB1-4': [[], [0, 29183]],
  36580. 'Adobe-GB1-5': [[], [0, 30463]],
  36581. 'Adobe-GB1-UCS2': [[], [0, 65535]],
  36582. 'GB-EUC-H': [[0, 128], [41377, 65278]],
  36583. 'GB-EUC-V': [[0, 128], [41377, 65278]],
  36584. 'GB-H': [[], [8481, 32382]],
  36585. 'GB-V': [[], [8481, 32382]],
  36586. 'GBK-EUC-H': [[0, 128], [33088, 65278]],
  36587. 'GBK-EUC-V': [[0, 128], [33088, 65278]],
  36588. 'GBK2K-H': [[0, 127], [33088, 65278], [], [2167439664, 4265213497]],
  36589. 'GBK2K-V': [[0, 127], [33088, 65278], [], [2167439664, 4265213497]],
  36590. 'GBKp-EUC-H': [[0, 128], [33088, 65278]],
  36591. 'GBKp-EUC-V': [[0, 128], [33088, 65278]],
  36592. 'GBpc-EUC-H': [[0, 128, 253, 255], [41377, 64766]],
  36593. 'GBpc-EUC-V': [[0, 128, 253, 255], [41377, 64766]],
  36594. 'GBT-EUC-H': [[0, 128], [41377, 65278]],
  36595. 'GBT-EUC-V': [[0, 128], [41377, 65278]],
  36596. 'GBT-H': [[], [8481, 32382]],
  36597. 'GBT-V': [[], [8481, 32382]],
  36598. 'GBTpc-EUC-H': [[0, 128, 253, 255], [41377, 64766]],
  36599. 'GBTpc-EUC-V': [[0, 128, 253, 255], [41377, 64766]],
  36600. 'UniGB-UCS2-H': [[], [0, 55295, 57344, 65535]],
  36601. 'UniGB-UCS2-V': [[], [0, 55295, 57344, 65535]],
  36602. 'UniGB-UTF16-H': [[], [0, 55295, 57344, 65535], [], [3623934976, 3690979327]],
  36603. 'UniGB-UTF16-V': [[], [0, 55295, 57344, 65535], [], [3623934976, 3690979327]],
  36604. '78-EUC-H': [[0, 128], [36512, 36575, 41377, 65278]],
  36605. '78-EUC-V': [[0, 128], [36512, 36575, 41377, 65278]],
  36606. '78-H': [[], [8481, 32382]],
  36607. '78-RKSJ-H': [[0, 128, 160, 223], [33088, 40956, 57408, 64764]],
  36608. '78-RKSJ-V': [[0, 128, 160, 223], [33088, 40956, 57408, 64764]],
  36609. '78-V': [[], [8481, 32382]],
  36610. '78ms-RKSJ-H': [[0, 128, 160, 223], [33088, 40956, 57408, 64764]],
  36611. '78ms-RKSJ-V': [[0, 128, 160, 223], [33088, 40956, 57408, 64764]],
  36612. '83pv-RKSJ-H': [[0, 128, 160, 223, 253, 255], [33088, 40956, 57408, 64764]],
  36613. '90ms-RKSJ-H': [[0, 128, 160, 223], [33088, 40956, 57408, 64764]],
  36614. '90ms-RKSJ-V': [[0, 128, 160, 223], [33088, 40956, 57408, 64764]],
  36615. '90msp-RKSJ-H': [[0, 128, 160, 223], [33088, 40956, 57408, 64764]],
  36616. '90msp-RKSJ-V': [[0, 128, 160, 223], [33088, 40956, 57408, 64764]],
  36617. '90pv-RKSJ-H': [[0, 128, 160, 223, 253, 255], [33088, 40956, 57408, 64764]],
  36618. '90pv-RKSJ-V': [[0, 128, 160, 223, 253, 255], [33088, 40956, 57408, 64764]],
  36619. 'Add-H': [[], [8481, 32382]],
  36620. 'Add-RKSJ-H': [[0, 128, 160, 223], [33088, 40956, 57408, 64764]],
  36621. 'Add-RKSJ-V': [[0, 128, 160, 223], [33088, 40956, 57408, 64764]],
  36622. 'Add-V': [[], [8481, 32382]],
  36623. 'Adobe-Japan1-0': [[], [0, 8447]],
  36624. 'Adobe-Japan1-1': [[], [0, 8447]],
  36625. 'Adobe-Japan1-2': [[], [0, 8959]],
  36626. 'Adobe-Japan1-3': [[], [0, 9471]],
  36627. 'Adobe-Japan1-4': [[], [0, 15615]],
  36628. 'Adobe-Japan1-5': [[], [0, 20479]],
  36629. 'Adobe-Japan1-6': [[], [0, 23295]],
  36630. 'Adobe-Japan1-UCS2': [[], [0, 65535]],
  36631. 'Adobe-Japan2-0': [[], [0, 6143]],
  36632. 'EUC-H': [[0, 128], [36512, 36575, 41377, 65278]],
  36633. 'EUC-V': [[0, 128], [36512, 36575, 41377, 65278]],
  36634. 'Ext-H': [[], [8481, 32382]],
  36635. 'Ext-RKSJ-H': [[0, 128, 160, 223], [33088, 40956, 57408, 64764]],
  36636. 'Ext-RKSJ-V': [[0, 128, 160, 223], [33088, 40956, 57408, 64764]],
  36637. 'Ext-V': [[], [8481, 32382]],
  36638. 'H': [[], [8481, 32382]],
  36639. 'Hankaku': [[0, 255], []],
  36640. 'Hiragana': [[0, 255], []],
  36641. 'Hojo-EUC-H': [[], [], [9413025, 9436926], []],
  36642. 'Hojo-EUC-V': [[], [], [9413025, 9436926], []],
  36643. 'Hojo-H': [[], [8481, 32382]],
  36644. 'Hojo-V': [[], [8481, 32382]],
  36645. 'Katakana': [[0, 255], []],
  36646. 'NWP-H': [[], [8481, 32382]],
  36647. 'NWP-V': [[], [8481, 32382]],
  36648. 'RKSJ-H': [[0, 128, 160, 223], [33088, 40956, 57408, 64764]],
  36649. 'RKSJ-V': [[0, 128, 160, 223], [33088, 40956, 57408, 64764]],
  36650. 'Roman': [[0, 255], []],
  36651. 'UniHojo-UCS2-H': [[], [0, 55295, 57344, 65535]],
  36652. 'UniHojo-UCS2-V': [[], [0, 55295, 57344, 65535]],
  36653. 'UniHojo-UTF16-H': [[], [0, 55295, 57344, 65535], [],
  36654. [3623934976, 3690979327]],
  36655. 'UniHojo-UTF16-V': [[], [0, 55295, 57344, 65535], [],
  36656. [3623934976, 3690979327]],
  36657. 'UniJIS-UCS2-H': [[], [0, 55295, 57344, 65535]],
  36658. 'UniJIS-UCS2-HW-H': [[], [0, 55295, 57344, 65535]],
  36659. 'UniJIS-UCS2-HW-V': [[], [0, 55295, 57344, 65535]],
  36660. 'UniJIS-UCS2-V': [[], [0, 55295, 57344, 65535]],
  36661. 'UniJIS-UTF16-H': [[], [0, 55295, 57344, 65535], [],
  36662. [3623934976, 3690979327]],
  36663. 'UniJIS-UTF16-V': [[], [0, 55295, 57344, 65535], [],
  36664. [3623934976, 3690979327]],
  36665. 'UniJISPro-UCS2-HW-V': [[], [0, 55295, 57344, 65535]],
  36666. 'UniJISPro-UCS2-V': [[], [0, 55295, 57344, 65535]],
  36667. 'V': [[], [8481, 32382]],
  36668. 'WP-Symbol': [[0, 255], []],
  36669. 'Adobe-Korea1-0': [[], [0, 9471]],
  36670. 'Adobe-Korea1-1': [[], [0, 18175]],
  36671. 'Adobe-Korea1-2': [[], [0, 18431]],
  36672. 'Adobe-Korea1-UCS2': [[], [0, 65535]],
  36673. 'KSC-EUC-H': [[0, 128], [41377, 65278]],
  36674. 'KSC-EUC-V': [[0, 128], [41377, 65278]],
  36675. 'KSC-H': [[], [8481, 32382]],
  36676. 'KSC-Johab-H': [[0, 128], [33857, 54270, 55345, 57086, 57393, 63998]],
  36677. 'KSC-Johab-V': [[0, 128], [33857, 54270, 55345, 57086, 57393, 63998]],
  36678. 'KSC-V': [[], [8481, 32382]],
  36679. 'KSCms-UHC-H': [[0, 128], [33089, 65278]],
  36680. 'KSCms-UHC-HW-H': [[0, 128], [33089, 65278]],
  36681. 'KSCms-UHC-HW-V': [[0, 128], [33089, 65278]],
  36682. 'KSCms-UHC-V': [[0, 128], [33089, 65278]],
  36683. 'KSCpc-EUC-H': [[0, 132, 254, 255], [41281, 65022]],
  36684. 'KSCpc-EUC-V': [[0, 132, 254, 255], [41281, 65022]],
  36685. 'UniKS-UCS2-H': [[], [0, 55295, 57344, 65535]],
  36686. 'UniKS-UCS2-V': [[], [0, 55295, 57344, 65535]],
  36687. 'UniKS-UTF16-H': [[], [0, 55295, 57344, 65535], [], [3623934976, 3690979327]],
  36688. 'UniKS-UTF16-V': [[], [0, 55295, 57344, 65535], [], [3623934976, 3690979327]]
  36689. };
  36690. // CMap, not to be confused with TrueType's cmap.
  36691. var CMap = (function CMapClosure() {
  36692. function CMap() {
  36693. // Codespace ranges are stored as follows:
  36694. // [[1BytePairs], [2BytePairs], [3BytePairs], [4BytePairs]]
  36695. // where nBytePairs are ranges e.g. [low1, high1, low2, high2, ...]
  36696. this.codespaceRanges = [[], [], [], []];
  36697. this.map = [];
  36698. this.vertical = false;
  36699. }
  36700. CMap.prototype = {
  36701. addCodespaceRange: function(n, low, high) {
  36702. this.codespaceRanges[n - 1].push(low, high);
  36703. },
  36704. mapRange: function(low, high, dstLow) {
  36705. var lastByte = dstLow.length - 1;
  36706. while (low <= high) {
  36707. this.map[low] = dstLow;
  36708. // Only the last byte has to be incremented.
  36709. dstLow = dstLow.substr(0, lastByte) +
  36710. String.fromCharCode(dstLow.charCodeAt(lastByte) + 1);
  36711. ++low;
  36712. }
  36713. },
  36714. mapRangeToArray: function(low, high, array) {
  36715. var i = 0;
  36716. while (low <= high) {
  36717. this.map[low] = array[i++];
  36718. ++low;
  36719. }
  36720. },
  36721. mapOne: function(src, dst) {
  36722. this.map[src] = dst;
  36723. },
  36724. lookup: function(code) {
  36725. return this.map[code];
  36726. },
  36727. readCharCode: function(str, offset) {
  36728. var c = 0;
  36729. var codespaceRanges = this.codespaceRanges;
  36730. var codespaceRangesLen = this.codespaceRanges.length;
  36731. // 9.7.6.2 CMap Mapping
  36732. // The code length is at most 4.
  36733. for (var n = 0; n < codespaceRangesLen; n++) {
  36734. c = ((c << 8) | str.charCodeAt(offset + n)) >>> 0;
  36735. // Check each codespace range to see if it falls within.
  36736. var codespaceRange = codespaceRanges[n];
  36737. for (var k = 0, kk = codespaceRange.length; k < kk;) {
  36738. var low = codespaceRange[k++];
  36739. var high = codespaceRange[k++];
  36740. if (c >= low && c <= high) {
  36741. return [c, n + 1];
  36742. }
  36743. }
  36744. }
  36745. return [0, 1];
  36746. }
  36747. };
  36748. return CMap;
  36749. })();
  36750. var IdentityCMap = (function IdentityCMapClosure() {
  36751. function IdentityCMap(vertical, n) {
  36752. CMap.call(this);
  36753. this.vertical = vertical;
  36754. this.addCodespaceRange(n, 0, 0xffff);
  36755. this.mapRange(0, 0xffff, '\u0000');
  36756. }
  36757. Util.inherit(IdentityCMap, CMap, {});
  36758. return IdentityCMap;
  36759. })();
  36760. var CMapFactory = (function CMapFactoryClosure() {
  36761. function strToInt(str) {
  36762. var a = 0;
  36763. for (var i = 0; i < str.length; i++) {
  36764. a = (a << 8) | str.charCodeAt(i);
  36765. }
  36766. return a >>> 0;
  36767. }
  36768. function expectString(obj) {
  36769. if (!isString(obj)) {
  36770. error('Malformed CMap: expected string.');
  36771. }
  36772. }
  36773. function expectInt(obj) {
  36774. if (!isInt(obj)) {
  36775. error('Malformed CMap: expected int.');
  36776. }
  36777. }
  36778. function parseBfChar(cMap, lexer) {
  36779. while (true) {
  36780. var obj = lexer.getObj();
  36781. if (isEOF(obj)) {
  36782. break;
  36783. }
  36784. if (isCmd(obj, 'endbfchar')) {
  36785. return;
  36786. }
  36787. expectString(obj);
  36788. var src = strToInt(obj);
  36789. obj = lexer.getObj();
  36790. // TODO are /dstName used?
  36791. expectString(obj);
  36792. var dst = obj;
  36793. cMap.mapOne(src, dst);
  36794. }
  36795. }
  36796. function parseBfRange(cMap, lexer) {
  36797. while (true) {
  36798. var obj = lexer.getObj();
  36799. if (isEOF(obj)) {
  36800. break;
  36801. }
  36802. if (isCmd(obj, 'endbfrange')) {
  36803. return;
  36804. }
  36805. expectString(obj);
  36806. var low = strToInt(obj);
  36807. obj = lexer.getObj();
  36808. expectString(obj);
  36809. var high = strToInt(obj);
  36810. obj = lexer.getObj();
  36811. if (isInt(obj) || isString(obj)) {
  36812. var dstLow = isInt(obj) ? String.fromCharCode(obj) : obj;
  36813. cMap.mapRange(low, high, dstLow);
  36814. } else if (isCmd(obj, '[')) {
  36815. obj = lexer.getObj();
  36816. var array = [];
  36817. while (!isCmd(obj, ']') && !isEOF(obj)) {
  36818. array.push(obj);
  36819. obj = lexer.getObj();
  36820. }
  36821. cMap.mapRangeToArray(low, high, array);
  36822. } else {
  36823. break;
  36824. }
  36825. }
  36826. error('Invalid bf range.');
  36827. }
  36828. function parseCidChar(cMap, lexer) {
  36829. while (true) {
  36830. var obj = lexer.getObj();
  36831. if (isEOF(obj)) {
  36832. break;
  36833. }
  36834. if (isCmd(obj, 'endcidchar')) {
  36835. return;
  36836. }
  36837. expectString(obj);
  36838. var src = strToInt(obj);
  36839. obj = lexer.getObj();
  36840. expectInt(obj);
  36841. var dst = String.fromCharCode(obj);
  36842. cMap.mapOne(src, dst);
  36843. }
  36844. }
  36845. function parseCidRange(cMap, lexer) {
  36846. while (true) {
  36847. var obj = lexer.getObj();
  36848. if (isEOF(obj)) {
  36849. break;
  36850. }
  36851. if (isCmd(obj, 'endcidrange')) {
  36852. return;
  36853. }
  36854. expectString(obj);
  36855. var low = strToInt(obj);
  36856. obj = lexer.getObj();
  36857. expectString(obj);
  36858. var high = strToInt(obj);
  36859. obj = lexer.getObj();
  36860. expectInt(obj);
  36861. var dstLow = String.fromCharCode(obj);
  36862. cMap.mapRange(low, high, dstLow);
  36863. }
  36864. }
  36865. function parseCodespaceRange(cMap, lexer) {
  36866. while (true) {
  36867. var obj = lexer.getObj();
  36868. if (isEOF(obj)) {
  36869. break;
  36870. }
  36871. if (isCmd(obj, 'endcodespacerange')) {
  36872. return;
  36873. }
  36874. if (!isString(obj)) {
  36875. break;
  36876. }
  36877. var low = strToInt(obj);
  36878. obj = lexer.getObj();
  36879. if (!isString(obj)) {
  36880. break;
  36881. }
  36882. var high = strToInt(obj);
  36883. cMap.addCodespaceRange(obj.length, low, high);
  36884. }
  36885. error('Invalid codespace range.');
  36886. }
  36887. function parseCmap(cMap, lexer) {
  36888. objLoop: while (true) {
  36889. var obj = lexer.getObj();
  36890. if (isEOF(obj)) {
  36891. break;
  36892. } else if (isCmd(obj)) {
  36893. switch (obj.cmd) {
  36894. case 'endcMap':
  36895. break objLoop;
  36896. case 'usecMap':
  36897. // TODO
  36898. break;
  36899. case 'begincodespacerange':
  36900. parseCodespaceRange(cMap, lexer);
  36901. break;
  36902. case 'beginbfchar':
  36903. parseBfChar(cMap, lexer);
  36904. break;
  36905. case 'begincidchar':
  36906. parseCidChar(cMap, lexer);
  36907. break;
  36908. case 'beginbfrange':
  36909. parseBfRange(cMap, lexer);
  36910. break;
  36911. case 'begincidrange':
  36912. parseCidRange(cMap, lexer);
  36913. break;
  36914. }
  36915. }
  36916. }
  36917. }
  36918. return {
  36919. create: function (encoding) {
  36920. if (isName(encoding)) {
  36921. switch (encoding.name) {
  36922. case 'Identity-H':
  36923. return new IdentityCMap(false, 2);
  36924. case 'Identity-V':
  36925. return new IdentityCMap(true, 2);
  36926. default:
  36927. if (encoding.name in CMAP_CODESPACES) {
  36928. // XXX: Temporary hack so the correct amount of bytes are read in
  36929. // CMap.readCharCode.
  36930. var cMap = new CMap();
  36931. cMap.codespaceRanges = CMAP_CODESPACES[encoding.name];
  36932. return cMap;
  36933. }
  36934. return null;
  36935. }
  36936. } else if (isStream(encoding)) {
  36937. var cMap = new CMap();
  36938. var lexer = new Lexer(encoding);
  36939. try {
  36940. parseCmap(cMap, lexer);
  36941. } catch (e) {
  36942. warn('Invalid CMap data. ' + e);
  36943. }
  36944. return cMap;
  36945. }
  36946. error('Encoding required.');
  36947. }
  36948. };
  36949. })();
  36950. /* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- /
  36951. /* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
  36952. /*
  36953. Copyright 2011 notmasteryet
  36954. Licensed under the Apache License, Version 2.0 (the "License");
  36955. you may not use this file except in compliance with the License.
  36956. You may obtain a copy of the License at
  36957. http://www.apache.org/licenses/LICENSE-2.0
  36958. Unless required by applicable law or agreed to in writing, software
  36959. distributed under the License is distributed on an "AS IS" BASIS,
  36960. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  36961. See the License for the specific language governing permissions and
  36962. limitations under the License.
  36963. */
  36964. // - The JPEG specification can be found in the ITU CCITT Recommendation T.81
  36965. // (www.w3.org/Graphics/JPEG/itu-t81.pdf)
  36966. // - The JFIF specification can be found in the JPEG File Interchange Format
  36967. // (www.w3.org/Graphics/JPEG/jfif3.pdf)
  36968. // - The Adobe Application-Specific JPEG markers in the Supporting the DCT Filters
  36969. // in PostScript Level 2, Technical Note #5116
  36970. // (partners.adobe.com/public/developer/en/ps/sdk/5116.DCT_Filter.pdf)
  36971. var JpegImage = (function jpegImage() {
  36972. "use strict";
  36973. var dctZigZag = new Int32Array([
  36974. 0,
  36975. 1, 8,
  36976. 16, 9, 2,
  36977. 3, 10, 17, 24,
  36978. 32, 25, 18, 11, 4,
  36979. 5, 12, 19, 26, 33, 40,
  36980. 48, 41, 34, 27, 20, 13, 6,
  36981. 7, 14, 21, 28, 35, 42, 49, 56,
  36982. 57, 50, 43, 36, 29, 22, 15,
  36983. 23, 30, 37, 44, 51, 58,
  36984. 59, 52, 45, 38, 31,
  36985. 39, 46, 53, 60,
  36986. 61, 54, 47,
  36987. 55, 62,
  36988. 63
  36989. ]);
  36990. var dctCos1 = 4017 // cos(pi/16)
  36991. var dctSin1 = 799 // sin(pi/16)
  36992. var dctCos3 = 3406 // cos(3*pi/16)
  36993. var dctSin3 = 2276 // sin(3*pi/16)
  36994. var dctCos6 = 1567 // cos(6*pi/16)
  36995. var dctSin6 = 3784 // sin(6*pi/16)
  36996. var dctSqrt2 = 5793 // sqrt(2)
  36997. var dctSqrt1d2 = 2896 // sqrt(2) / 2
  36998. function constructor() {
  36999. }
  37000. function buildHuffmanTable(codeLengths, values) {
  37001. var k = 0, code = [], i, j, length = 16;
  37002. while (length > 0 && !codeLengths[length - 1])
  37003. length--;
  37004. code.push({children: [], index: 0});
  37005. var p = code[0], q;
  37006. for (i = 0; i < length; i++) {
  37007. for (j = 0; j < codeLengths[i]; j++) {
  37008. p = code.pop();
  37009. p.children[p.index] = values[k];
  37010. while (p.index > 0) {
  37011. p = code.pop();
  37012. }
  37013. p.index++;
  37014. code.push(p);
  37015. while (code.length <= i) {
  37016. code.push(q = {children: [], index: 0});
  37017. p.children[p.index] = q.children;
  37018. p = q;
  37019. }
  37020. k++;
  37021. }
  37022. if (i + 1 < length) {
  37023. // p here points to last code
  37024. code.push(q = {children: [], index: 0});
  37025. p.children[p.index] = q.children;
  37026. p = q;
  37027. }
  37028. }
  37029. return code[0].children;
  37030. }
  37031. function decodeScan(data, offset,
  37032. frame, components, resetInterval,
  37033. spectralStart, spectralEnd,
  37034. successivePrev, successive) {
  37035. var precision = frame.precision;
  37036. var samplesPerLine = frame.samplesPerLine;
  37037. var scanLines = frame.scanLines;
  37038. var mcusPerLine = frame.mcusPerLine;
  37039. var progressive = frame.progressive;
  37040. var maxH = frame.maxH, maxV = frame.maxV;
  37041. var startOffset = offset, bitsData = 0, bitsCount = 0;
  37042. function readBit() {
  37043. if (bitsCount > 0) {
  37044. bitsCount--;
  37045. return (bitsData >> bitsCount) & 1;
  37046. }
  37047. bitsData = data[offset++];
  37048. if (bitsData == 0xFF) {
  37049. var nextByte = data[offset++];
  37050. if (nextByte) {
  37051. throw "unexpected marker: " + ((bitsData << 8) | nextByte).toString(16);
  37052. }
  37053. // unstuff 0
  37054. }
  37055. bitsCount = 7;
  37056. return bitsData >>> 7;
  37057. }
  37058. function decodeHuffman(tree) {
  37059. var node = tree, bit;
  37060. while ((bit = readBit()) !== null) {
  37061. node = node[bit];
  37062. if (typeof node === 'number')
  37063. return node;
  37064. if (typeof node !== 'object')
  37065. throw "invalid huffman sequence";
  37066. }
  37067. return null;
  37068. }
  37069. function receive(length) {
  37070. var n = 0;
  37071. while (length > 0) {
  37072. var bit = readBit();
  37073. if (bit === null) return;
  37074. n = (n << 1) | bit;
  37075. length--;
  37076. }
  37077. return n;
  37078. }
  37079. function receiveAndExtend(length) {
  37080. var n = receive(length);
  37081. if (n >= 1 << (length - 1))
  37082. return n;
  37083. return n + (-1 << length) + 1;
  37084. }
  37085. function decodeBaseline(component, zz) {
  37086. var t = decodeHuffman(component.huffmanTableDC);
  37087. var diff = t === 0 ? 0 : receiveAndExtend(t);
  37088. zz[0]= (component.pred += diff);
  37089. var k = 1;
  37090. while (k < 64) {
  37091. var rs = decodeHuffman(component.huffmanTableAC);
  37092. var s = rs & 15, r = rs >> 4;
  37093. if (s === 0) {
  37094. if (r < 15)
  37095. break;
  37096. k += 16;
  37097. continue;
  37098. }
  37099. k += r;
  37100. var z = dctZigZag[k];
  37101. zz[z] = receiveAndExtend(s);
  37102. k++;
  37103. }
  37104. }
  37105. function decodeDCFirst(component, zz) {
  37106. var t = decodeHuffman(component.huffmanTableDC);
  37107. var diff = t === 0 ? 0 : (receiveAndExtend(t) << successive);
  37108. zz[0] = (component.pred += diff);
  37109. }
  37110. function decodeDCSuccessive(component, zz) {
  37111. zz[0] |= readBit() << successive;
  37112. }
  37113. var eobrun = 0;
  37114. function decodeACFirst(component, zz) {
  37115. if (eobrun > 0) {
  37116. eobrun--;
  37117. return;
  37118. }
  37119. var k = spectralStart, e = spectralEnd;
  37120. while (k <= e) {
  37121. var rs = decodeHuffman(component.huffmanTableAC);
  37122. var s = rs & 15, r = rs >> 4;
  37123. if (s === 0) {
  37124. if (r < 15) {
  37125. eobrun = receive(r) + (1 << r) - 1;
  37126. break;
  37127. }
  37128. k += 16;
  37129. continue;
  37130. }
  37131. k += r;
  37132. var z = dctZigZag[k];
  37133. zz[z] = receiveAndExtend(s) * (1 << successive);
  37134. k++;
  37135. }
  37136. }
  37137. var successiveACState = 0, successiveACNextValue;
  37138. function decodeACSuccessive(component, zz) {
  37139. var k = spectralStart, e = spectralEnd, r = 0;
  37140. while (k <= e) {
  37141. var z = dctZigZag[k];
  37142. switch (successiveACState) {
  37143. case 0: // initial state
  37144. var rs = decodeHuffman(component.huffmanTableAC);
  37145. var s = rs & 15, r = rs >> 4;
  37146. if (s === 0) {
  37147. if (r < 15) {
  37148. eobrun = receive(r) + (1 << r);
  37149. successiveACState = 4;
  37150. } else {
  37151. r = 16;
  37152. successiveACState = 1;
  37153. }
  37154. } else {
  37155. if (s !== 1)
  37156. throw "invalid ACn encoding";
  37157. successiveACNextValue = receiveAndExtend(s);
  37158. successiveACState = r ? 2 : 3;
  37159. }
  37160. continue;
  37161. case 1: // skipping r zero items
  37162. case 2:
  37163. if (zz[z])
  37164. zz[z] += (readBit() << successive);
  37165. else {
  37166. r--;
  37167. if (r === 0)
  37168. successiveACState = successiveACState == 2 ? 3 : 0;
  37169. }
  37170. break;
  37171. case 3: // set value for a zero item
  37172. if (zz[z])
  37173. zz[z] += (readBit() << successive);
  37174. else {
  37175. zz[z] = successiveACNextValue << successive;
  37176. successiveACState = 0;
  37177. }
  37178. break;
  37179. case 4: // eob
  37180. if (zz[z])
  37181. zz[z] += (readBit() << successive);
  37182. break;
  37183. }
  37184. k++;
  37185. }
  37186. if (successiveACState === 4) {
  37187. eobrun--;
  37188. if (eobrun === 0)
  37189. successiveACState = 0;
  37190. }
  37191. }
  37192. function decodeMcu(component, decode, mcu, row, col) {
  37193. var mcuRow = (mcu / mcusPerLine) | 0;
  37194. var mcuCol = mcu % mcusPerLine;
  37195. var blockRow = mcuRow * component.v + row;
  37196. var blockCol = mcuCol * component.h + col;
  37197. decode(component, component.blocks[blockRow][blockCol]);
  37198. }
  37199. function decodeBlock(component, decode, mcu) {
  37200. var blockRow = (mcu / component.blocksPerLine) | 0;
  37201. var blockCol = mcu % component.blocksPerLine;
  37202. decode(component, component.blocks[blockRow][blockCol]);
  37203. }
  37204. var componentsLength = components.length;
  37205. var component, i, j, k, n;
  37206. var decodeFn;
  37207. if (progressive) {
  37208. if (spectralStart === 0)
  37209. decodeFn = successivePrev === 0 ? decodeDCFirst : decodeDCSuccessive;
  37210. else
  37211. decodeFn = successivePrev === 0 ? decodeACFirst : decodeACSuccessive;
  37212. } else {
  37213. decodeFn = decodeBaseline;
  37214. }
  37215. var mcu = 0, marker;
  37216. var mcuExpected;
  37217. if (componentsLength == 1) {
  37218. mcuExpected = components[0].blocksPerLine * components[0].blocksPerColumn;
  37219. } else {
  37220. mcuExpected = mcusPerLine * frame.mcusPerColumn;
  37221. }
  37222. if (!resetInterval) resetInterval = mcuExpected;
  37223. var h, v;
  37224. while (mcu < mcuExpected) {
  37225. // reset interval stuff
  37226. for (i = 0; i < componentsLength; i++)
  37227. components[i].pred = 0;
  37228. eobrun = 0;
  37229. if (componentsLength == 1) {
  37230. component = components[0];
  37231. for (n = 0; n < resetInterval; n++) {
  37232. decodeBlock(component, decodeFn, mcu);
  37233. mcu++;
  37234. }
  37235. } else {
  37236. for (n = 0; n < resetInterval; n++) {
  37237. for (i = 0; i < componentsLength; i++) {
  37238. component = components[i];
  37239. h = component.h;
  37240. v = component.v;
  37241. for (j = 0; j < v; j++) {
  37242. for (k = 0; k < h; k++) {
  37243. decodeMcu(component, decodeFn, mcu, j, k);
  37244. }
  37245. }
  37246. }
  37247. mcu++;
  37248. }
  37249. }
  37250. // find marker
  37251. bitsCount = 0;
  37252. marker = (data[offset] << 8) | data[offset + 1];
  37253. if (marker <= 0xFF00) {
  37254. throw "marker was not found";
  37255. }
  37256. if (marker >= 0xFFD0 && marker <= 0xFFD7) { // RSTx
  37257. offset += 2;
  37258. }
  37259. else
  37260. break;
  37261. }
  37262. return offset - startOffset;
  37263. }
  37264. function buildComponentData(frame, component) {
  37265. var lines = [];
  37266. var blocksPerLine = component.blocksPerLine;
  37267. var blocksPerColumn = component.blocksPerColumn;
  37268. var samplesPerLine = blocksPerLine << 3;
  37269. var R = new Int32Array(64), r = new Uint8Array(64);
  37270. // A port of poppler's IDCT method which in turn is taken from:
  37271. // Christoph Loeffler, Adriaan Ligtenberg, George S. Moschytz,
  37272. // "Practical Fast 1-D DCT Algorithms with 11 Multiplications",
  37273. // IEEE Intl. Conf. on Acoustics, Speech & Signal Processing, 1989,
  37274. // 988-991.
  37275. function quantizeAndInverse(zz, dataOut, dataIn) {
  37276. var qt = component.quantizationTable;
  37277. var v0, v1, v2, v3, v4, v5, v6, v7, t;
  37278. var p = dataIn;
  37279. var i;
  37280. // dequant
  37281. for (i = 0; i < 64; i++)
  37282. p[i] = zz[i] * qt[i];
  37283. // inverse DCT on rows
  37284. for (i = 0; i < 8; ++i) {
  37285. var row = 8 * i;
  37286. // check for all-zero AC coefficients
  37287. if (p[1 + row] == 0 && p[2 + row] == 0 && p[3 + row] == 0 &&
  37288. p[4 + row] == 0 && p[5 + row] == 0 && p[6 + row] == 0 &&
  37289. p[7 + row] == 0) {
  37290. t = (dctSqrt2 * p[0 + row] + 512) >> 10;
  37291. p[0 + row] = t;
  37292. p[1 + row] = t;
  37293. p[2 + row] = t;
  37294. p[3 + row] = t;
  37295. p[4 + row] = t;
  37296. p[5 + row] = t;
  37297. p[6 + row] = t;
  37298. p[7 + row] = t;
  37299. continue;
  37300. }
  37301. // stage 4
  37302. v0 = (dctSqrt2 * p[0 + row] + 128) >> 8;
  37303. v1 = (dctSqrt2 * p[4 + row] + 128) >> 8;
  37304. v2 = p[2 + row];
  37305. v3 = p[6 + row];
  37306. v4 = (dctSqrt1d2 * (p[1 + row] - p[7 + row]) + 128) >> 8;
  37307. v7 = (dctSqrt1d2 * (p[1 + row] + p[7 + row]) + 128) >> 8;
  37308. v5 = p[3 + row] << 4;
  37309. v6 = p[5 + row] << 4;
  37310. // stage 3
  37311. t = (v0 - v1+ 1) >> 1;
  37312. v0 = (v0 + v1 + 1) >> 1;
  37313. v1 = t;
  37314. t = (v2 * dctSin6 + v3 * dctCos6 + 128) >> 8;
  37315. v2 = (v2 * dctCos6 - v3 * dctSin6 + 128) >> 8;
  37316. v3 = t;
  37317. t = (v4 - v6 + 1) >> 1;
  37318. v4 = (v4 + v6 + 1) >> 1;
  37319. v6 = t;
  37320. t = (v7 + v5 + 1) >> 1;
  37321. v5 = (v7 - v5 + 1) >> 1;
  37322. v7 = t;
  37323. // stage 2
  37324. t = (v0 - v3 + 1) >> 1;
  37325. v0 = (v0 + v3 + 1) >> 1;
  37326. v3 = t;
  37327. t = (v1 - v2 + 1) >> 1;
  37328. v1 = (v1 + v2 + 1) >> 1;
  37329. v2 = t;
  37330. t = (v4 * dctSin3 + v7 * dctCos3 + 2048) >> 12;
  37331. v4 = (v4 * dctCos3 - v7 * dctSin3 + 2048) >> 12;
  37332. v7 = t;
  37333. t = (v5 * dctSin1 + v6 * dctCos1 + 2048) >> 12;
  37334. v5 = (v5 * dctCos1 - v6 * dctSin1 + 2048) >> 12;
  37335. v6 = t;
  37336. // stage 1
  37337. p[0 + row] = v0 + v7;
  37338. p[7 + row] = v0 - v7;
  37339. p[1 + row] = v1 + v6;
  37340. p[6 + row] = v1 - v6;
  37341. p[2 + row] = v2 + v5;
  37342. p[5 + row] = v2 - v5;
  37343. p[3 + row] = v3 + v4;
  37344. p[4 + row] = v3 - v4;
  37345. }
  37346. // inverse DCT on columns
  37347. for (i = 0; i < 8; ++i) {
  37348. var col = i;
  37349. // check for all-zero AC coefficients
  37350. if (p[1*8 + col] == 0 && p[2*8 + col] == 0 && p[3*8 + col] == 0 &&
  37351. p[4*8 + col] == 0 && p[5*8 + col] == 0 && p[6*8 + col] == 0 &&
  37352. p[7*8 + col] == 0) {
  37353. t = (dctSqrt2 * dataIn[i+0] + 8192) >> 14;
  37354. p[0*8 + col] = t;
  37355. p[1*8 + col] = t;
  37356. p[2*8 + col] = t;
  37357. p[3*8 + col] = t;
  37358. p[4*8 + col] = t;
  37359. p[5*8 + col] = t;
  37360. p[6*8 + col] = t;
  37361. p[7*8 + col] = t;
  37362. continue;
  37363. }
  37364. // stage 4
  37365. v0 = (dctSqrt2 * p[0*8 + col] + 2048) >> 12;
  37366. v1 = (dctSqrt2 * p[4*8 + col] + 2048) >> 12;
  37367. v2 = p[2*8 + col];
  37368. v3 = p[6*8 + col];
  37369. v4 = (dctSqrt1d2 * (p[1*8 + col] - p[7*8 + col]) + 2048) >> 12;
  37370. v7 = (dctSqrt1d2 * (p[1*8 + col] + p[7*8 + col]) + 2048) >> 12;
  37371. v5 = p[3*8 + col];
  37372. v6 = p[5*8 + col];
  37373. // stage 3
  37374. t = (v0 - v1 + 1) >> 1;
  37375. v0 = (v0 + v1 + 1) >> 1;
  37376. v1 = t;
  37377. t = (v2 * dctSin6 + v3 * dctCos6 + 2048) >> 12;
  37378. v2 = (v2 * dctCos6 - v3 * dctSin6 + 2048) >> 12;
  37379. v3 = t;
  37380. t = (v4 - v6 + 1) >> 1;
  37381. v4 = (v4 + v6 + 1) >> 1;
  37382. v6 = t;
  37383. t = (v7 + v5 + 1) >> 1;
  37384. v5 = (v7 - v5 + 1) >> 1;
  37385. v7 = t;
  37386. // stage 2
  37387. t = (v0 - v3 + 1) >> 1;
  37388. v0 = (v0 + v3 + 1) >> 1;
  37389. v3 = t;
  37390. t = (v1 - v2 + 1) >> 1;
  37391. v1 = (v1 + v2 + 1) >> 1;
  37392. v2 = t;
  37393. t = (v4 * dctSin3 + v7 * dctCos3 + 2048) >> 12;
  37394. v4 = (v4 * dctCos3 - v7 * dctSin3 + 2048) >> 12;
  37395. v7 = t;
  37396. t = (v5 * dctSin1 + v6 * dctCos1 + 2048) >> 12;
  37397. v5 = (v5 * dctCos1 - v6 * dctSin1 + 2048) >> 12;
  37398. v6 = t;
  37399. // stage 1
  37400. p[0*8 + col] = v0 + v7;
  37401. p[7*8 + col] = v0 - v7;
  37402. p[1*8 + col] = v1 + v6;
  37403. p[6*8 + col] = v1 - v6;
  37404. p[2*8 + col] = v2 + v5;
  37405. p[5*8 + col] = v2 - v5;
  37406. p[3*8 + col] = v3 + v4;
  37407. p[4*8 + col] = v3 - v4;
  37408. }
  37409. // convert to 8-bit integers
  37410. for (i = 0; i < 64; ++i) {
  37411. var sample = 128 + ((p[i] + 8) >> 4);
  37412. dataOut[i] = sample < 0 ? 0 : sample > 0xFF ? 0xFF : sample;
  37413. }
  37414. }
  37415. var i, j;
  37416. for (var blockRow = 0; blockRow < blocksPerColumn; blockRow++) {
  37417. var scanLine = blockRow << 3;
  37418. for (i = 0; i < 8; i++)
  37419. lines.push(new Uint8Array(samplesPerLine));
  37420. for (var blockCol = 0; blockCol < blocksPerLine; blockCol++) {
  37421. quantizeAndInverse(component.blocks[blockRow][blockCol], r, R);
  37422. var offset = 0, sample = blockCol << 3;
  37423. for (j = 0; j < 8; j++) {
  37424. var line = lines[scanLine + j];
  37425. for (i = 0; i < 8; i++)
  37426. line[sample + i] = r[offset++];
  37427. }
  37428. }
  37429. }
  37430. return lines;
  37431. }
  37432. function clampTo8bit(a) {
  37433. return a < 0 ? 0 : a > 255 ? 255 : a;
  37434. }
  37435. constructor.prototype = {
  37436. load: function load(path) {
  37437. var xhr = new XMLHttpRequest();
  37438. xhr.open("GET", path, true);
  37439. xhr.responseType = "arraybuffer";
  37440. xhr.onload = (function() {
  37441. // TODO catch parse error
  37442. var data = new Uint8Array(xhr.response || xhr.mozResponseArrayBuffer);
  37443. this.parse(data);
  37444. if (this.onload)
  37445. this.onload();
  37446. }).bind(this);
  37447. xhr.send(null);
  37448. },
  37449. parse: function parse(data) {
  37450. var offset = 0, length = data.length;
  37451. function readUint16() {
  37452. var value = (data[offset] << 8) | data[offset + 1];
  37453. offset += 2;
  37454. return value;
  37455. }
  37456. function readDataBlock() {
  37457. var length = readUint16();
  37458. var array = data.subarray(offset, offset + length - 2);
  37459. offset += array.length;
  37460. return array;
  37461. }
  37462. function prepareComponents(frame) {
  37463. var maxH = 0, maxV = 0;
  37464. var component, componentId;
  37465. for (componentId in frame.components) {
  37466. if (frame.components.hasOwnProperty(componentId)) {
  37467. component = frame.components[componentId];
  37468. if (maxH < component.h) maxH = component.h;
  37469. if (maxV < component.v) maxV = component.v;
  37470. }
  37471. }
  37472. var mcusPerLine = Math.ceil(frame.samplesPerLine / 8 / maxH);
  37473. var mcusPerColumn = Math.ceil(frame.scanLines / 8 / maxV);
  37474. for (componentId in frame.components) {
  37475. if (frame.components.hasOwnProperty(componentId)) {
  37476. component = frame.components[componentId];
  37477. var blocksPerLine = Math.ceil(Math.ceil(frame.samplesPerLine / 8) * component.h / maxH);
  37478. var blocksPerColumn = Math.ceil(Math.ceil(frame.scanLines / 8) * component.v / maxV);
  37479. var blocksPerLineForMcu = mcusPerLine * component.h;
  37480. var blocksPerColumnForMcu = mcusPerColumn * component.v;
  37481. var blocks = [];
  37482. for (var i = 0; i < blocksPerColumnForMcu; i++) {
  37483. var row = [];
  37484. for (var j = 0; j < blocksPerLineForMcu; j++)
  37485. row.push(new Int32Array(64));
  37486. blocks.push(row);
  37487. }
  37488. component.blocksPerLine = blocksPerLine;
  37489. component.blocksPerColumn = blocksPerColumn;
  37490. component.blocks = blocks;
  37491. }
  37492. }
  37493. frame.maxH = maxH;
  37494. frame.maxV = maxV;
  37495. frame.mcusPerLine = mcusPerLine;
  37496. frame.mcusPerColumn = mcusPerColumn;
  37497. }
  37498. var jfif = null;
  37499. var adobe = null;
  37500. var pixels = null;
  37501. var frame, resetInterval;
  37502. var quantizationTables = [], frames = [];
  37503. var huffmanTablesAC = [], huffmanTablesDC = [];
  37504. var fileMarker = readUint16();
  37505. if (fileMarker != 0xFFD8) { // SOI (Start of Image)
  37506. throw "SOI not found";
  37507. }
  37508. fileMarker = readUint16();
  37509. while (fileMarker != 0xFFD9) { // EOI (End of image)
  37510. var i, j, l;
  37511. switch(fileMarker) {
  37512. case 0xFFE0: // APP0 (Application Specific)
  37513. case 0xFFE1: // APP1
  37514. case 0xFFE2: // APP2
  37515. case 0xFFE3: // APP3
  37516. case 0xFFE4: // APP4
  37517. case 0xFFE5: // APP5
  37518. case 0xFFE6: // APP6
  37519. case 0xFFE7: // APP7
  37520. case 0xFFE8: // APP8
  37521. case 0xFFE9: // APP9
  37522. case 0xFFEA: // APP10
  37523. case 0xFFEB: // APP11
  37524. case 0xFFEC: // APP12
  37525. case 0xFFED: // APP13
  37526. case 0xFFEE: // APP14
  37527. case 0xFFEF: // APP15
  37528. case 0xFFFE: // COM (Comment)
  37529. var appData = readDataBlock();
  37530. if (fileMarker === 0xFFE0) {
  37531. if (appData[0] === 0x4A && appData[1] === 0x46 && appData[2] === 0x49 &&
  37532. appData[3] === 0x46 && appData[4] === 0) { // 'JFIF\x00'
  37533. jfif = {
  37534. version: { major: appData[5], minor: appData[6] },
  37535. densityUnits: appData[7],
  37536. xDensity: (appData[8] << 8) | appData[9],
  37537. yDensity: (appData[10] << 8) | appData[11],
  37538. thumbWidth: appData[12],
  37539. thumbHeight: appData[13],
  37540. thumbData: appData.subarray(14, 14 + 3 * appData[12] * appData[13])
  37541. };
  37542. }
  37543. }
  37544. // TODO APP1 - Exif
  37545. if (fileMarker === 0xFFEE) {
  37546. if (appData[0] === 0x41 && appData[1] === 0x64 && appData[2] === 0x6F &&
  37547. appData[3] === 0x62 && appData[4] === 0x65 && appData[5] === 0) { // 'Adobe\x00'
  37548. adobe = {
  37549. version: appData[6],
  37550. flags0: (appData[7] << 8) | appData[8],
  37551. flags1: (appData[9] << 8) | appData[10],
  37552. transformCode: appData[11]
  37553. };
  37554. }
  37555. }
  37556. break;
  37557. case 0xFFDB: // DQT (Define Quantization Tables)
  37558. var quantizationTablesLength = readUint16();
  37559. var quantizationTablesEnd = quantizationTablesLength + offset - 2;
  37560. while (offset < quantizationTablesEnd) {
  37561. var quantizationTableSpec = data[offset++];
  37562. var tableData = new Int32Array(64);
  37563. if ((quantizationTableSpec >> 4) === 0) { // 8 bit values
  37564. for (j = 0; j < 64; j++) {
  37565. var z = dctZigZag[j];
  37566. tableData[z] = data[offset++];
  37567. }
  37568. } else if ((quantizationTableSpec >> 4) === 1) { //16 bit
  37569. for (j = 0; j < 64; j++) {
  37570. var z = dctZigZag[j];
  37571. tableData[z] = readUint16();
  37572. }
  37573. } else
  37574. throw "DQT: invalid table spec";
  37575. quantizationTables[quantizationTableSpec & 15] = tableData;
  37576. }
  37577. break;
  37578. case 0xFFC0: // SOF0 (Start of Frame, Baseline DCT)
  37579. case 0xFFC1: // SOF1 (Start of Frame, Extended DCT)
  37580. case 0xFFC2: // SOF2 (Start of Frame, Progressive DCT)
  37581. readUint16(); // skip data length
  37582. frame = {};
  37583. frame.extended = (fileMarker === 0xFFC1);
  37584. frame.progressive = (fileMarker === 0xFFC2);
  37585. frame.precision = data[offset++];
  37586. frame.scanLines = readUint16();
  37587. frame.samplesPerLine = readUint16();
  37588. frame.components = {};
  37589. frame.componentsOrder = [];
  37590. var componentsCount = data[offset++], componentId;
  37591. var maxH = 0, maxV = 0;
  37592. for (i = 0; i < componentsCount; i++) {
  37593. componentId = data[offset];
  37594. var h = data[offset + 1] >> 4;
  37595. var v = data[offset + 1] & 15;
  37596. var qId = data[offset + 2];
  37597. frame.componentsOrder.push(componentId);
  37598. frame.components[componentId] = {
  37599. h: h,
  37600. v: v,
  37601. quantizationTable: quantizationTables[qId]
  37602. };
  37603. offset += 3;
  37604. }
  37605. prepareComponents(frame);
  37606. frames.push(frame);
  37607. break;
  37608. case 0xFFC4: // DHT (Define Huffman Tables)
  37609. var huffmanLength = readUint16();
  37610. for (i = 2; i < huffmanLength;) {
  37611. var huffmanTableSpec = data[offset++];
  37612. var codeLengths = new Uint8Array(16);
  37613. var codeLengthSum = 0;
  37614. for (j = 0; j < 16; j++, offset++)
  37615. codeLengthSum += (codeLengths[j] = data[offset]);
  37616. var huffmanValues = new Uint8Array(codeLengthSum);
  37617. for (j = 0; j < codeLengthSum; j++, offset++)
  37618. huffmanValues[j] = data[offset];
  37619. i += 17 + codeLengthSum;
  37620. ((huffmanTableSpec >> 4) === 0 ?
  37621. huffmanTablesDC : huffmanTablesAC)[huffmanTableSpec & 15] =
  37622. buildHuffmanTable(codeLengths, huffmanValues);
  37623. }
  37624. break;
  37625. case 0xFFDD: // DRI (Define Restart Interval)
  37626. readUint16(); // skip data length
  37627. resetInterval = readUint16();
  37628. break;
  37629. case 0xFFDA: // SOS (Start of Scan)
  37630. var scanLength = readUint16();
  37631. var selectorsCount = data[offset++];
  37632. var components = [], component;
  37633. for (i = 0; i < selectorsCount; i++) {
  37634. component = frame.components[data[offset++]];
  37635. var tableSpec = data[offset++];
  37636. component.huffmanTableDC = huffmanTablesDC[tableSpec >> 4];
  37637. component.huffmanTableAC = huffmanTablesAC[tableSpec & 15];
  37638. components.push(component);
  37639. }
  37640. var spectralStart = data[offset++];
  37641. var spectralEnd = data[offset++];
  37642. var successiveApproximation = data[offset++];
  37643. var processed = decodeScan(data, offset,
  37644. frame, components, resetInterval,
  37645. spectralStart, spectralEnd,
  37646. successiveApproximation >> 4, successiveApproximation & 15);
  37647. offset += processed;
  37648. break;
  37649. default:
  37650. if (data[offset - 3] == 0xFF &&
  37651. data[offset - 2] >= 0xC0 && data[offset - 2] <= 0xFE) {
  37652. // could be incorrect encoding -- last 0xFF byte of the previous
  37653. // block was eaten by the encoder
  37654. offset -= 3;
  37655. break;
  37656. }
  37657. throw "unknown JPEG marker " + fileMarker.toString(16);
  37658. }
  37659. fileMarker = readUint16();
  37660. }
  37661. if (frames.length != 1)
  37662. throw "only single frame JPEGs supported";
  37663. this.width = frame.samplesPerLine;
  37664. this.height = frame.scanLines;
  37665. this.jfif = jfif;
  37666. this.adobe = adobe;
  37667. this.components = [];
  37668. for (var i = 0; i < frame.componentsOrder.length; i++) {
  37669. var component = frame.components[frame.componentsOrder[i]];
  37670. this.components.push({
  37671. lines: buildComponentData(frame, component),
  37672. scaleX: component.h / frame.maxH,
  37673. scaleY: component.v / frame.maxV
  37674. });
  37675. }
  37676. },
  37677. getData: function getData(width, height) {
  37678. var scaleX = this.width / width, scaleY = this.height / height;
  37679. var component1, component2, component3, component4;
  37680. var component1Line, component2Line, component3Line, component4Line;
  37681. var x, y;
  37682. var offset = 0;
  37683. var Y, Cb, Cr, K, C, M, Ye, R, G, B;
  37684. var colorTransform;
  37685. var dataLength = width * height * this.components.length;
  37686. var data = new Uint8Array(dataLength);
  37687. switch (this.components.length) {
  37688. case 1:
  37689. component1 = this.components[0];
  37690. for (y = 0; y < height; y++) {
  37691. component1Line = component1.lines[0 | (y * component1.scaleY * scaleY)];
  37692. for (x = 0; x < width; x++) {
  37693. Y = component1Line[0 | (x * component1.scaleX * scaleX)];
  37694. data[offset++] = Y;
  37695. }
  37696. }
  37697. break;
  37698. case 2:
  37699. // PDF might compress two component data in custom colorspace
  37700. component1 = this.components[0];
  37701. component2 = this.components[1];
  37702. for (y = 0; y < height; y++) {
  37703. component1Line = component1.lines[0 | (y * component1.scaleY * scaleY)];
  37704. component2Line = component2.lines[0 | (y * component2.scaleY * scaleY)];
  37705. for (x = 0; x < width; x++) {
  37706. Y = component1Line[0 | (x * component1.scaleX * scaleX)];
  37707. data[offset++] = Y;
  37708. Y = component2Line[0 | (x * component2.scaleX * scaleX)];
  37709. data[offset++] = Y;
  37710. }
  37711. }
  37712. break;
  37713. case 3:
  37714. // The default transform for three components is true
  37715. colorTransform = true;
  37716. // The adobe transform marker overrides any previous setting
  37717. if (this.adobe && this.adobe.transformCode)
  37718. colorTransform = true;
  37719. else if (typeof this.colorTransform !== 'undefined')
  37720. colorTransform = !!this.colorTransform;
  37721. component1 = this.components[0];
  37722. component2 = this.components[1];
  37723. component3 = this.components[2];
  37724. for (y = 0; y < height; y++) {
  37725. component1Line = component1.lines[0 | (y * component1.scaleY * scaleY)];
  37726. component2Line = component2.lines[0 | (y * component2.scaleY * scaleY)];
  37727. component3Line = component3.lines[0 | (y * component3.scaleY * scaleY)];
  37728. for (x = 0; x < width; x++) {
  37729. if (!colorTransform) {
  37730. R = component1Line[0 | (x * component1.scaleX * scaleX)];
  37731. G = component2Line[0 | (x * component2.scaleX * scaleX)];
  37732. B = component3Line[0 | (x * component3.scaleX * scaleX)];
  37733. } else {
  37734. Y = component1Line[0 | (x * component1.scaleX * scaleX)];
  37735. Cb = component2Line[0 | (x * component2.scaleX * scaleX)];
  37736. Cr = component3Line[0 | (x * component3.scaleX * scaleX)];
  37737. R = clampTo8bit(Y + 1.402 * (Cr - 128));
  37738. G = clampTo8bit(Y - 0.3441363 * (Cb - 128) - 0.71413636 * (Cr - 128));
  37739. B = clampTo8bit(Y + 1.772 * (Cb - 128));
  37740. }
  37741. data[offset++] = R;
  37742. data[offset++] = G;
  37743. data[offset++] = B;
  37744. }
  37745. }
  37746. break;
  37747. case 4:
  37748. // The default transform for four components is false
  37749. colorTransform = false;
  37750. // The adobe transform marker overrides any previous setting
  37751. if (this.adobe && this.adobe.transformCode)
  37752. colorTransform = true;
  37753. else if (typeof this.colorTransform !== 'undefined')
  37754. colorTransform = !!this.colorTransform;
  37755. component1 = this.components[0];
  37756. component2 = this.components[1];
  37757. component3 = this.components[2];
  37758. component4 = this.components[3];
  37759. for (y = 0; y < height; y++) {
  37760. component1Line = component1.lines[0 | (y * component1.scaleY * scaleY)];
  37761. component2Line = component2.lines[0 | (y * component2.scaleY * scaleY)];
  37762. component3Line = component3.lines[0 | (y * component3.scaleY * scaleY)];
  37763. component4Line = component4.lines[0 | (y * component4.scaleY * scaleY)];
  37764. for (x = 0; x < width; x++) {
  37765. if (!colorTransform) {
  37766. C = component1Line[0 | (x * component1.scaleX * scaleX)];
  37767. M = component2Line[0 | (x * component2.scaleX * scaleX)];
  37768. Ye = component3Line[0 | (x * component3.scaleX * scaleX)];
  37769. K = component4Line[0 | (x * component4.scaleX * scaleX)];
  37770. } else {
  37771. Y = component1Line[0 | (x * component1.scaleX * scaleX)];
  37772. Cb = component2Line[0 | (x * component2.scaleX * scaleX)];
  37773. Cr = component3Line[0 | (x * component3.scaleX * scaleX)];
  37774. K = component4Line[0 | (x * component4.scaleX * scaleX)];
  37775. C = 255 - clampTo8bit(Y + 1.402 * (Cr - 128));
  37776. M = 255 - clampTo8bit(Y - 0.3441363 * (Cb - 128) - 0.71413636 * (Cr - 128));
  37777. Ye = 255 - clampTo8bit(Y + 1.772 * (Cb - 128));
  37778. }
  37779. data[offset++] = C;
  37780. data[offset++] = M;
  37781. data[offset++] = Ye;
  37782. data[offset++] = K;
  37783. }
  37784. }
  37785. break;
  37786. default:
  37787. throw 'Unsupported color mode';
  37788. }
  37789. return data;
  37790. },
  37791. copyToImageData: function copyToImageData(imageData) {
  37792. var width = imageData.width, height = imageData.height;
  37793. var imageDataArray = imageData.data;
  37794. var data = this.getData(width, height);
  37795. var i = 0, j = 0, x, y;
  37796. var Y, K, C, M, R, G, B;
  37797. switch (this.components.length) {
  37798. case 1:
  37799. for (y = 0; y < height; y++) {
  37800. for (x = 0; x < width; x++) {
  37801. Y = data[i++];
  37802. imageDataArray[j++] = Y;
  37803. imageDataArray[j++] = Y;
  37804. imageDataArray[j++] = Y;
  37805. imageDataArray[j++] = 255;
  37806. }
  37807. }
  37808. break;
  37809. case 3:
  37810. for (y = 0; y < height; y++) {
  37811. for (x = 0; x < width; x++) {
  37812. R = data[i++];
  37813. G = data[i++];
  37814. B = data[i++];
  37815. imageDataArray[j++] = R;
  37816. imageDataArray[j++] = G;
  37817. imageDataArray[j++] = B;
  37818. imageDataArray[j++] = 255;
  37819. }
  37820. }
  37821. break;
  37822. case 4:
  37823. for (y = 0; y < height; y++) {
  37824. for (x = 0; x < width; x++) {
  37825. C = data[i++];
  37826. M = data[i++];
  37827. Y = data[i++];
  37828. K = data[i++];
  37829. R = 255 - clampTo8bit(C * (1 - K / 255) + K);
  37830. G = 255 - clampTo8bit(M * (1 - K / 255) + K);
  37831. B = 255 - clampTo8bit(Y * (1 - K / 255) + K);
  37832. imageDataArray[j++] = R;
  37833. imageDataArray[j++] = G;
  37834. imageDataArray[j++] = B;
  37835. imageDataArray[j++] = 255;
  37836. }
  37837. }
  37838. break;
  37839. default:
  37840. throw 'Unsupported color mode';
  37841. }
  37842. }
  37843. };
  37844. return constructor;
  37845. })();
  37846. }).call((typeof window === 'undefined') ? this : window);
  37847. if (!PDFJS.workerSrc && typeof document !== 'undefined') {
  37848. // workerSrc is not set -- using last script url to define default location
  37849. PDFJS.workerSrc = (function () {
  37850. 'use strict';
  37851. var scriptTagContainer = document.body ||
  37852. document.getElementsByTagName('head')[0];
  37853. var pdfjsSrc = scriptTagContainer.lastChild.src;
  37854. return pdfjsSrc && pdfjsSrc.replace(/\.js$/i, '.worker.js');
  37855. })();
  37856. }