babel-polyfill-6.2.js 312 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575
  1. (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(_dereq_,module,exports){
  2. (function (global){
  3. "use strict";
  4. _dereq_(327);
  5. _dereq_(328);
  6. _dereq_(2);
  7. if (global._babelPolyfill) {
  8. throw new Error("only one instance of babel-polyfill is allowed");
  9. }
  10. global._babelPolyfill = true;
  11. var DEFINE_PROPERTY = "defineProperty";
  12. function define(O, key, value) {
  13. O[key] || Object[DEFINE_PROPERTY](O, key, {
  14. writable: true,
  15. configurable: true,
  16. value: value
  17. });
  18. }
  19. define(String.prototype, "padLeft", "".padStart);
  20. define(String.prototype, "padRight", "".padEnd);
  21. "pop,reverse,shift,keys,values,entries,indexOf,every,some,forEach,map,filter,find,findIndex,includes,join,slice,concat,push,splice,unshift,sort,lastIndexOf,reduce,reduceRight,copyWithin,fill".split(",").forEach(function (key) {
  22. [][key] && define(Array, key, Function.call.bind([][key]));
  23. });
  24. }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
  25. },{"2":2,"327":327,"328":328}],2:[function(_dereq_,module,exports){
  26. _dereq_(130);
  27. module.exports = _dereq_(23).RegExp.escape;
  28. },{"130":130,"23":23}],3:[function(_dereq_,module,exports){
  29. module.exports = function (it) {
  30. if (typeof it != 'function') throw TypeError(it + ' is not a function!');
  31. return it;
  32. };
  33. },{}],4:[function(_dereq_,module,exports){
  34. var cof = _dereq_(18);
  35. module.exports = function (it, msg) {
  36. if (typeof it != 'number' && cof(it) != 'Number') throw TypeError(msg);
  37. return +it;
  38. };
  39. },{"18":18}],5:[function(_dereq_,module,exports){
  40. // 22.1.3.31 Array.prototype[@@unscopables]
  41. var UNSCOPABLES = _dereq_(128)('unscopables');
  42. var ArrayProto = Array.prototype;
  43. if (ArrayProto[UNSCOPABLES] == undefined) _dereq_(42)(ArrayProto, UNSCOPABLES, {});
  44. module.exports = function (key) {
  45. ArrayProto[UNSCOPABLES][key] = true;
  46. };
  47. },{"128":128,"42":42}],6:[function(_dereq_,module,exports){
  48. module.exports = function (it, Constructor, name, forbiddenField) {
  49. if (!(it instanceof Constructor) || (forbiddenField !== undefined && forbiddenField in it)) {
  50. throw TypeError(name + ': incorrect invocation!');
  51. } return it;
  52. };
  53. },{}],7:[function(_dereq_,module,exports){
  54. var isObject = _dereq_(51);
  55. module.exports = function (it) {
  56. if (!isObject(it)) throw TypeError(it + ' is not an object!');
  57. return it;
  58. };
  59. },{"51":51}],8:[function(_dereq_,module,exports){
  60. // 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length)
  61. 'use strict';
  62. var toObject = _dereq_(119);
  63. var toAbsoluteIndex = _dereq_(114);
  64. var toLength = _dereq_(118);
  65. module.exports = [].copyWithin || function copyWithin(target /* = 0 */, start /* = 0, end = @length */) {
  66. var O = toObject(this);
  67. var len = toLength(O.length);
  68. var to = toAbsoluteIndex(target, len);
  69. var from = toAbsoluteIndex(start, len);
  70. var end = arguments.length > 2 ? arguments[2] : undefined;
  71. var count = Math.min((end === undefined ? len : toAbsoluteIndex(end, len)) - from, len - to);
  72. var inc = 1;
  73. if (from < to && to < from + count) {
  74. inc = -1;
  75. from += count - 1;
  76. to += count - 1;
  77. }
  78. while (count-- > 0) {
  79. if (from in O) O[to] = O[from];
  80. else delete O[to];
  81. to += inc;
  82. from += inc;
  83. } return O;
  84. };
  85. },{"114":114,"118":118,"119":119}],9:[function(_dereq_,module,exports){
  86. // 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length)
  87. 'use strict';
  88. var toObject = _dereq_(119);
  89. var toAbsoluteIndex = _dereq_(114);
  90. var toLength = _dereq_(118);
  91. module.exports = function fill(value /* , start = 0, end = @length */) {
  92. var O = toObject(this);
  93. var length = toLength(O.length);
  94. var aLen = arguments.length;
  95. var index = toAbsoluteIndex(aLen > 1 ? arguments[1] : undefined, length);
  96. var end = aLen > 2 ? arguments[2] : undefined;
  97. var endPos = end === undefined ? length : toAbsoluteIndex(end, length);
  98. while (endPos > index) O[index++] = value;
  99. return O;
  100. };
  101. },{"114":114,"118":118,"119":119}],10:[function(_dereq_,module,exports){
  102. var forOf = _dereq_(39);
  103. module.exports = function (iter, ITERATOR) {
  104. var result = [];
  105. forOf(iter, false, result.push, result, ITERATOR);
  106. return result;
  107. };
  108. },{"39":39}],11:[function(_dereq_,module,exports){
  109. // false -> Array#indexOf
  110. // true -> Array#includes
  111. var toIObject = _dereq_(117);
  112. var toLength = _dereq_(118);
  113. var toAbsoluteIndex = _dereq_(114);
  114. module.exports = function (IS_INCLUDES) {
  115. return function ($this, el, fromIndex) {
  116. var O = toIObject($this);
  117. var length = toLength(O.length);
  118. var index = toAbsoluteIndex(fromIndex, length);
  119. var value;
  120. // Array#includes uses SameValueZero equality algorithm
  121. // eslint-disable-next-line no-self-compare
  122. if (IS_INCLUDES && el != el) while (length > index) {
  123. value = O[index++];
  124. // eslint-disable-next-line no-self-compare
  125. if (value != value) return true;
  126. // Array#indexOf ignores holes, Array#includes - not
  127. } else for (;length > index; index++) if (IS_INCLUDES || index in O) {
  128. if (O[index] === el) return IS_INCLUDES || index || 0;
  129. } return !IS_INCLUDES && -1;
  130. };
  131. };
  132. },{"114":114,"117":117,"118":118}],12:[function(_dereq_,module,exports){
  133. // 0 -> Array#forEach
  134. // 1 -> Array#map
  135. // 2 -> Array#filter
  136. // 3 -> Array#some
  137. // 4 -> Array#every
  138. // 5 -> Array#find
  139. // 6 -> Array#findIndex
  140. var ctx = _dereq_(25);
  141. var IObject = _dereq_(47);
  142. var toObject = _dereq_(119);
  143. var toLength = _dereq_(118);
  144. var asc = _dereq_(15);
  145. module.exports = function (TYPE, $create) {
  146. var IS_MAP = TYPE == 1;
  147. var IS_FILTER = TYPE == 2;
  148. var IS_SOME = TYPE == 3;
  149. var IS_EVERY = TYPE == 4;
  150. var IS_FIND_INDEX = TYPE == 6;
  151. var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
  152. var create = $create || asc;
  153. return function ($this, callbackfn, that) {
  154. var O = toObject($this);
  155. var self = IObject(O);
  156. var f = ctx(callbackfn, that, 3);
  157. var length = toLength(self.length);
  158. var index = 0;
  159. var result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined;
  160. var val, res;
  161. for (;length > index; index++) if (NO_HOLES || index in self) {
  162. val = self[index];
  163. res = f(val, index, O);
  164. if (TYPE) {
  165. if (IS_MAP) result[index] = res; // map
  166. else if (res) switch (TYPE) {
  167. case 3: return true; // some
  168. case 5: return val; // find
  169. case 6: return index; // findIndex
  170. case 2: result.push(val); // filter
  171. } else if (IS_EVERY) return false; // every
  172. }
  173. }
  174. return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result;
  175. };
  176. };
  177. },{"118":118,"119":119,"15":15,"25":25,"47":47}],13:[function(_dereq_,module,exports){
  178. var aFunction = _dereq_(3);
  179. var toObject = _dereq_(119);
  180. var IObject = _dereq_(47);
  181. var toLength = _dereq_(118);
  182. module.exports = function (that, callbackfn, aLen, memo, isRight) {
  183. aFunction(callbackfn);
  184. var O = toObject(that);
  185. var self = IObject(O);
  186. var length = toLength(O.length);
  187. var index = isRight ? length - 1 : 0;
  188. var i = isRight ? -1 : 1;
  189. if (aLen < 2) for (;;) {
  190. if (index in self) {
  191. memo = self[index];
  192. index += i;
  193. break;
  194. }
  195. index += i;
  196. if (isRight ? index < 0 : length <= index) {
  197. throw TypeError('Reduce of empty array with no initial value');
  198. }
  199. }
  200. for (;isRight ? index >= 0 : length > index; index += i) if (index in self) {
  201. memo = callbackfn(memo, self[index], index, O);
  202. }
  203. return memo;
  204. };
  205. },{"118":118,"119":119,"3":3,"47":47}],14:[function(_dereq_,module,exports){
  206. var isObject = _dereq_(51);
  207. var isArray = _dereq_(49);
  208. var SPECIES = _dereq_(128)('species');
  209. module.exports = function (original) {
  210. var C;
  211. if (isArray(original)) {
  212. C = original.constructor;
  213. // cross-realm fallback
  214. if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;
  215. if (isObject(C)) {
  216. C = C[SPECIES];
  217. if (C === null) C = undefined;
  218. }
  219. } return C === undefined ? Array : C;
  220. };
  221. },{"128":128,"49":49,"51":51}],15:[function(_dereq_,module,exports){
  222. // 9.4.2.3 ArraySpeciesCreate(originalArray, length)
  223. var speciesConstructor = _dereq_(14);
  224. module.exports = function (original, length) {
  225. return new (speciesConstructor(original))(length);
  226. };
  227. },{"14":14}],16:[function(_dereq_,module,exports){
  228. 'use strict';
  229. var aFunction = _dereq_(3);
  230. var isObject = _dereq_(51);
  231. var invoke = _dereq_(46);
  232. var arraySlice = [].slice;
  233. var factories = {};
  234. var construct = function (F, len, args) {
  235. if (!(len in factories)) {
  236. for (var n = [], i = 0; i < len; i++) n[i] = 'a[' + i + ']';
  237. // eslint-disable-next-line no-new-func
  238. factories[len] = Function('F,a', 'return new F(' + n.join(',') + ')');
  239. } return factories[len](F, args);
  240. };
  241. module.exports = Function.bind || function bind(that /* , ...args */) {
  242. var fn = aFunction(this);
  243. var partArgs = arraySlice.call(arguments, 1);
  244. var bound = function (/* args... */) {
  245. var args = partArgs.concat(arraySlice.call(arguments));
  246. return this instanceof bound ? construct(fn, args.length, args) : invoke(fn, args, that);
  247. };
  248. if (isObject(fn.prototype)) bound.prototype = fn.prototype;
  249. return bound;
  250. };
  251. },{"3":3,"46":46,"51":51}],17:[function(_dereq_,module,exports){
  252. // getting tag from 19.1.3.6 Object.prototype.toString()
  253. var cof = _dereq_(18);
  254. var TAG = _dereq_(128)('toStringTag');
  255. // ES3 wrong here
  256. var ARG = cof(function () { return arguments; }()) == 'Arguments';
  257. // fallback for IE11 Script Access Denied error
  258. var tryGet = function (it, key) {
  259. try {
  260. return it[key];
  261. } catch (e) { /* empty */ }
  262. };
  263. module.exports = function (it) {
  264. var O, T, B;
  265. return it === undefined ? 'Undefined' : it === null ? 'Null'
  266. // @@toStringTag case
  267. : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T
  268. // builtinTag case
  269. : ARG ? cof(O)
  270. // ES3 arguments fallback
  271. : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;
  272. };
  273. },{"128":128,"18":18}],18:[function(_dereq_,module,exports){
  274. var toString = {}.toString;
  275. module.exports = function (it) {
  276. return toString.call(it).slice(8, -1);
  277. };
  278. },{}],19:[function(_dereq_,module,exports){
  279. 'use strict';
  280. var dP = _dereq_(72).f;
  281. var create = _dereq_(71);
  282. var redefineAll = _dereq_(93);
  283. var ctx = _dereq_(25);
  284. var anInstance = _dereq_(6);
  285. var forOf = _dereq_(39);
  286. var $iterDefine = _dereq_(55);
  287. var step = _dereq_(57);
  288. var setSpecies = _dereq_(100);
  289. var DESCRIPTORS = _dereq_(29);
  290. var fastKey = _dereq_(66).fastKey;
  291. var validate = _dereq_(125);
  292. var SIZE = DESCRIPTORS ? '_s' : 'size';
  293. var getEntry = function (that, key) {
  294. // fast case
  295. var index = fastKey(key);
  296. var entry;
  297. if (index !== 'F') return that._i[index];
  298. // frozen object case
  299. for (entry = that._f; entry; entry = entry.n) {
  300. if (entry.k == key) return entry;
  301. }
  302. };
  303. module.exports = {
  304. getConstructor: function (wrapper, NAME, IS_MAP, ADDER) {
  305. var C = wrapper(function (that, iterable) {
  306. anInstance(that, C, NAME, '_i');
  307. that._t = NAME; // collection type
  308. that._i = create(null); // index
  309. that._f = undefined; // first entry
  310. that._l = undefined; // last entry
  311. that[SIZE] = 0; // size
  312. if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that);
  313. });
  314. redefineAll(C.prototype, {
  315. // 23.1.3.1 Map.prototype.clear()
  316. // 23.2.3.2 Set.prototype.clear()
  317. clear: function clear() {
  318. for (var that = validate(this, NAME), data = that._i, entry = that._f; entry; entry = entry.n) {
  319. entry.r = true;
  320. if (entry.p) entry.p = entry.p.n = undefined;
  321. delete data[entry.i];
  322. }
  323. that._f = that._l = undefined;
  324. that[SIZE] = 0;
  325. },
  326. // 23.1.3.3 Map.prototype.delete(key)
  327. // 23.2.3.4 Set.prototype.delete(value)
  328. 'delete': function (key) {
  329. var that = validate(this, NAME);
  330. var entry = getEntry(that, key);
  331. if (entry) {
  332. var next = entry.n;
  333. var prev = entry.p;
  334. delete that._i[entry.i];
  335. entry.r = true;
  336. if (prev) prev.n = next;
  337. if (next) next.p = prev;
  338. if (that._f == entry) that._f = next;
  339. if (that._l == entry) that._l = prev;
  340. that[SIZE]--;
  341. } return !!entry;
  342. },
  343. // 23.2.3.6 Set.prototype.forEach(callbackfn, thisArg = undefined)
  344. // 23.1.3.5 Map.prototype.forEach(callbackfn, thisArg = undefined)
  345. forEach: function forEach(callbackfn /* , that = undefined */) {
  346. validate(this, NAME);
  347. var f = ctx(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3);
  348. var entry;
  349. while (entry = entry ? entry.n : this._f) {
  350. f(entry.v, entry.k, this);
  351. // revert to the last existing entry
  352. while (entry && entry.r) entry = entry.p;
  353. }
  354. },
  355. // 23.1.3.7 Map.prototype.has(key)
  356. // 23.2.3.7 Set.prototype.has(value)
  357. has: function has(key) {
  358. return !!getEntry(validate(this, NAME), key);
  359. }
  360. });
  361. if (DESCRIPTORS) dP(C.prototype, 'size', {
  362. get: function () {
  363. return validate(this, NAME)[SIZE];
  364. }
  365. });
  366. return C;
  367. },
  368. def: function (that, key, value) {
  369. var entry = getEntry(that, key);
  370. var prev, index;
  371. // change existing entry
  372. if (entry) {
  373. entry.v = value;
  374. // create new entry
  375. } else {
  376. that._l = entry = {
  377. i: index = fastKey(key, true), // <- index
  378. k: key, // <- key
  379. v: value, // <- value
  380. p: prev = that._l, // <- previous entry
  381. n: undefined, // <- next entry
  382. r: false // <- removed
  383. };
  384. if (!that._f) that._f = entry;
  385. if (prev) prev.n = entry;
  386. that[SIZE]++;
  387. // add to index
  388. if (index !== 'F') that._i[index] = entry;
  389. } return that;
  390. },
  391. getEntry: getEntry,
  392. setStrong: function (C, NAME, IS_MAP) {
  393. // add .keys, .values, .entries, [@@iterator]
  394. // 23.1.3.4, 23.1.3.8, 23.1.3.11, 23.1.3.12, 23.2.3.5, 23.2.3.8, 23.2.3.10, 23.2.3.11
  395. $iterDefine(C, NAME, function (iterated, kind) {
  396. this._t = validate(iterated, NAME); // target
  397. this._k = kind; // kind
  398. this._l = undefined; // previous
  399. }, function () {
  400. var that = this;
  401. var kind = that._k;
  402. var entry = that._l;
  403. // revert to the last existing entry
  404. while (entry && entry.r) entry = entry.p;
  405. // get next entry
  406. if (!that._t || !(that._l = entry = entry ? entry.n : that._t._f)) {
  407. // or finish the iteration
  408. that._t = undefined;
  409. return step(1);
  410. }
  411. // return step by kind
  412. if (kind == 'keys') return step(0, entry.k);
  413. if (kind == 'values') return step(0, entry.v);
  414. return step(0, [entry.k, entry.v]);
  415. }, IS_MAP ? 'entries' : 'values', !IS_MAP, true);
  416. // add [@@species], 23.1.2.2, 23.2.2.2
  417. setSpecies(NAME);
  418. }
  419. };
  420. },{"100":100,"125":125,"25":25,"29":29,"39":39,"55":55,"57":57,"6":6,"66":66,"71":71,"72":72,"93":93}],20:[function(_dereq_,module,exports){
  421. // https://github.com/DavidBruant/Map-Set.prototype.toJSON
  422. var classof = _dereq_(17);
  423. var from = _dereq_(10);
  424. module.exports = function (NAME) {
  425. return function toJSON() {
  426. if (classof(this) != NAME) throw TypeError(NAME + "#toJSON isn't generic");
  427. return from(this);
  428. };
  429. };
  430. },{"10":10,"17":17}],21:[function(_dereq_,module,exports){
  431. 'use strict';
  432. var redefineAll = _dereq_(93);
  433. var getWeak = _dereq_(66).getWeak;
  434. var anObject = _dereq_(7);
  435. var isObject = _dereq_(51);
  436. var anInstance = _dereq_(6);
  437. var forOf = _dereq_(39);
  438. var createArrayMethod = _dereq_(12);
  439. var $has = _dereq_(41);
  440. var validate = _dereq_(125);
  441. var arrayFind = createArrayMethod(5);
  442. var arrayFindIndex = createArrayMethod(6);
  443. var id = 0;
  444. // fallback for uncaught frozen keys
  445. var uncaughtFrozenStore = function (that) {
  446. return that._l || (that._l = new UncaughtFrozenStore());
  447. };
  448. var UncaughtFrozenStore = function () {
  449. this.a = [];
  450. };
  451. var findUncaughtFrozen = function (store, key) {
  452. return arrayFind(store.a, function (it) {
  453. return it[0] === key;
  454. });
  455. };
  456. UncaughtFrozenStore.prototype = {
  457. get: function (key) {
  458. var entry = findUncaughtFrozen(this, key);
  459. if (entry) return entry[1];
  460. },
  461. has: function (key) {
  462. return !!findUncaughtFrozen(this, key);
  463. },
  464. set: function (key, value) {
  465. var entry = findUncaughtFrozen(this, key);
  466. if (entry) entry[1] = value;
  467. else this.a.push([key, value]);
  468. },
  469. 'delete': function (key) {
  470. var index = arrayFindIndex(this.a, function (it) {
  471. return it[0] === key;
  472. });
  473. if (~index) this.a.splice(index, 1);
  474. return !!~index;
  475. }
  476. };
  477. module.exports = {
  478. getConstructor: function (wrapper, NAME, IS_MAP, ADDER) {
  479. var C = wrapper(function (that, iterable) {
  480. anInstance(that, C, NAME, '_i');
  481. that._t = NAME; // collection type
  482. that._i = id++; // collection id
  483. that._l = undefined; // leak store for uncaught frozen objects
  484. if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that);
  485. });
  486. redefineAll(C.prototype, {
  487. // 23.3.3.2 WeakMap.prototype.delete(key)
  488. // 23.4.3.3 WeakSet.prototype.delete(value)
  489. 'delete': function (key) {
  490. if (!isObject(key)) return false;
  491. var data = getWeak(key);
  492. if (data === true) return uncaughtFrozenStore(validate(this, NAME))['delete'](key);
  493. return data && $has(data, this._i) && delete data[this._i];
  494. },
  495. // 23.3.3.4 WeakMap.prototype.has(key)
  496. // 23.4.3.4 WeakSet.prototype.has(value)
  497. has: function has(key) {
  498. if (!isObject(key)) return false;
  499. var data = getWeak(key);
  500. if (data === true) return uncaughtFrozenStore(validate(this, NAME)).has(key);
  501. return data && $has(data, this._i);
  502. }
  503. });
  504. return C;
  505. },
  506. def: function (that, key, value) {
  507. var data = getWeak(anObject(key), true);
  508. if (data === true) uncaughtFrozenStore(that).set(key, value);
  509. else data[that._i] = value;
  510. return that;
  511. },
  512. ufstore: uncaughtFrozenStore
  513. };
  514. },{"12":12,"125":125,"39":39,"41":41,"51":51,"6":6,"66":66,"7":7,"93":93}],22:[function(_dereq_,module,exports){
  515. 'use strict';
  516. var global = _dereq_(40);
  517. var $export = _dereq_(33);
  518. var redefine = _dereq_(94);
  519. var redefineAll = _dereq_(93);
  520. var meta = _dereq_(66);
  521. var forOf = _dereq_(39);
  522. var anInstance = _dereq_(6);
  523. var isObject = _dereq_(51);
  524. var fails = _dereq_(35);
  525. var $iterDetect = _dereq_(56);
  526. var setToStringTag = _dereq_(101);
  527. var inheritIfRequired = _dereq_(45);
  528. module.exports = function (NAME, wrapper, methods, common, IS_MAP, IS_WEAK) {
  529. var Base = global[NAME];
  530. var C = Base;
  531. var ADDER = IS_MAP ? 'set' : 'add';
  532. var proto = C && C.prototype;
  533. var O = {};
  534. var fixMethod = function (KEY) {
  535. var fn = proto[KEY];
  536. redefine(proto, KEY,
  537. KEY == 'delete' ? function (a) {
  538. return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a);
  539. } : KEY == 'has' ? function has(a) {
  540. return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a);
  541. } : KEY == 'get' ? function get(a) {
  542. return IS_WEAK && !isObject(a) ? undefined : fn.call(this, a === 0 ? 0 : a);
  543. } : KEY == 'add' ? function add(a) { fn.call(this, a === 0 ? 0 : a); return this; }
  544. : function set(a, b) { fn.call(this, a === 0 ? 0 : a, b); return this; }
  545. );
  546. };
  547. if (typeof C != 'function' || !(IS_WEAK || proto.forEach && !fails(function () {
  548. new C().entries().next();
  549. }))) {
  550. // create collection constructor
  551. C = common.getConstructor(wrapper, NAME, IS_MAP, ADDER);
  552. redefineAll(C.prototype, methods);
  553. meta.NEED = true;
  554. } else {
  555. var instance = new C();
  556. // early implementations not supports chaining
  557. var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance;
  558. // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false
  559. var THROWS_ON_PRIMITIVES = fails(function () { instance.has(1); });
  560. // most early implementations doesn't supports iterables, most modern - not close it correctly
  561. var ACCEPT_ITERABLES = $iterDetect(function (iter) { new C(iter); }); // eslint-disable-line no-new
  562. // for early implementations -0 and +0 not the same
  563. var BUGGY_ZERO = !IS_WEAK && fails(function () {
  564. // V8 ~ Chromium 42- fails only with 5+ elements
  565. var $instance = new C();
  566. var index = 5;
  567. while (index--) $instance[ADDER](index, index);
  568. return !$instance.has(-0);
  569. });
  570. if (!ACCEPT_ITERABLES) {
  571. C = wrapper(function (target, iterable) {
  572. anInstance(target, C, NAME);
  573. var that = inheritIfRequired(new Base(), target, C);
  574. if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that);
  575. return that;
  576. });
  577. C.prototype = proto;
  578. proto.constructor = C;
  579. }
  580. if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) {
  581. fixMethod('delete');
  582. fixMethod('has');
  583. IS_MAP && fixMethod('get');
  584. }
  585. if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER);
  586. // weak collections should not contains .clear method
  587. if (IS_WEAK && proto.clear) delete proto.clear;
  588. }
  589. setToStringTag(C, NAME);
  590. O[NAME] = C;
  591. $export($export.G + $export.W + $export.F * (C != Base), O);
  592. if (!IS_WEAK) common.setStrong(C, NAME, IS_MAP);
  593. return C;
  594. };
  595. },{"101":101,"33":33,"35":35,"39":39,"40":40,"45":45,"51":51,"56":56,"6":6,"66":66,"93":93,"94":94}],23:[function(_dereq_,module,exports){
  596. var core = module.exports = { version: '2.5.0' };
  597. if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef
  598. },{}],24:[function(_dereq_,module,exports){
  599. 'use strict';
  600. var $defineProperty = _dereq_(72);
  601. var createDesc = _dereq_(92);
  602. module.exports = function (object, index, value) {
  603. if (index in object) $defineProperty.f(object, index, createDesc(0, value));
  604. else object[index] = value;
  605. };
  606. },{"72":72,"92":92}],25:[function(_dereq_,module,exports){
  607. // optional / simple context binding
  608. var aFunction = _dereq_(3);
  609. module.exports = function (fn, that, length) {
  610. aFunction(fn);
  611. if (that === undefined) return fn;
  612. switch (length) {
  613. case 1: return function (a) {
  614. return fn.call(that, a);
  615. };
  616. case 2: return function (a, b) {
  617. return fn.call(that, a, b);
  618. };
  619. case 3: return function (a, b, c) {
  620. return fn.call(that, a, b, c);
  621. };
  622. }
  623. return function (/* ...args */) {
  624. return fn.apply(that, arguments);
  625. };
  626. };
  627. },{"3":3}],26:[function(_dereq_,module,exports){
  628. 'use strict';
  629. // 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString()
  630. var fails = _dereq_(35);
  631. var getTime = Date.prototype.getTime;
  632. var $toISOString = Date.prototype.toISOString;
  633. var lz = function (num) {
  634. return num > 9 ? num : '0' + num;
  635. };
  636. // PhantomJS / old WebKit has a broken implementations
  637. module.exports = (fails(function () {
  638. return $toISOString.call(new Date(-5e13 - 1)) != '0385-07-25T07:06:39.999Z';
  639. }) || !fails(function () {
  640. $toISOString.call(new Date(NaN));
  641. })) ? function toISOString() {
  642. if (!isFinite(getTime.call(this))) throw RangeError('Invalid time value');
  643. var d = this;
  644. var y = d.getUTCFullYear();
  645. var m = d.getUTCMilliseconds();
  646. var s = y < 0 ? '-' : y > 9999 ? '+' : '';
  647. return s + ('00000' + Math.abs(y)).slice(s ? -6 : -4) +
  648. '-' + lz(d.getUTCMonth() + 1) + '-' + lz(d.getUTCDate()) +
  649. 'T' + lz(d.getUTCHours()) + ':' + lz(d.getUTCMinutes()) +
  650. ':' + lz(d.getUTCSeconds()) + '.' + (m > 99 ? m : '0' + lz(m)) + 'Z';
  651. } : $toISOString;
  652. },{"35":35}],27:[function(_dereq_,module,exports){
  653. 'use strict';
  654. var anObject = _dereq_(7);
  655. var toPrimitive = _dereq_(120);
  656. var NUMBER = 'number';
  657. module.exports = function (hint) {
  658. if (hint !== 'string' && hint !== NUMBER && hint !== 'default') throw TypeError('Incorrect hint');
  659. return toPrimitive(anObject(this), hint != NUMBER);
  660. };
  661. },{"120":120,"7":7}],28:[function(_dereq_,module,exports){
  662. // 7.2.1 RequireObjectCoercible(argument)
  663. module.exports = function (it) {
  664. if (it == undefined) throw TypeError("Can't call method on " + it);
  665. return it;
  666. };
  667. },{}],29:[function(_dereq_,module,exports){
  668. // Thank's IE8 for his funny defineProperty
  669. module.exports = !_dereq_(35)(function () {
  670. return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
  671. });
  672. },{"35":35}],30:[function(_dereq_,module,exports){
  673. var isObject = _dereq_(51);
  674. var document = _dereq_(40).document;
  675. // typeof document.createElement is 'object' in old IE
  676. var is = isObject(document) && isObject(document.createElement);
  677. module.exports = function (it) {
  678. return is ? document.createElement(it) : {};
  679. };
  680. },{"40":40,"51":51}],31:[function(_dereq_,module,exports){
  681. // IE 8- don't enum bug keys
  682. module.exports = (
  683. 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'
  684. ).split(',');
  685. },{}],32:[function(_dereq_,module,exports){
  686. // all enumerable object keys, includes symbols
  687. var getKeys = _dereq_(81);
  688. var gOPS = _dereq_(78);
  689. var pIE = _dereq_(82);
  690. module.exports = function (it) {
  691. var result = getKeys(it);
  692. var getSymbols = gOPS.f;
  693. if (getSymbols) {
  694. var symbols = getSymbols(it);
  695. var isEnum = pIE.f;
  696. var i = 0;
  697. var key;
  698. while (symbols.length > i) if (isEnum.call(it, key = symbols[i++])) result.push(key);
  699. } return result;
  700. };
  701. },{"78":78,"81":81,"82":82}],33:[function(_dereq_,module,exports){
  702. var global = _dereq_(40);
  703. var core = _dereq_(23);
  704. var hide = _dereq_(42);
  705. var redefine = _dereq_(94);
  706. var ctx = _dereq_(25);
  707. var PROTOTYPE = 'prototype';
  708. var $export = function (type, name, source) {
  709. var IS_FORCED = type & $export.F;
  710. var IS_GLOBAL = type & $export.G;
  711. var IS_STATIC = type & $export.S;
  712. var IS_PROTO = type & $export.P;
  713. var IS_BIND = type & $export.B;
  714. var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE];
  715. var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});
  716. var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {});
  717. var key, own, out, exp;
  718. if (IS_GLOBAL) source = name;
  719. for (key in source) {
  720. // contains in native
  721. own = !IS_FORCED && target && target[key] !== undefined;
  722. // export native or passed
  723. out = (own ? target : source)[key];
  724. // bind timers to global for call from export context
  725. exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;
  726. // extend global
  727. if (target) redefine(target, key, out, type & $export.U);
  728. // export
  729. if (exports[key] != out) hide(exports, key, exp);
  730. if (IS_PROTO && expProto[key] != out) expProto[key] = out;
  731. }
  732. };
  733. global.core = core;
  734. // type bitmap
  735. $export.F = 1; // forced
  736. $export.G = 2; // global
  737. $export.S = 4; // static
  738. $export.P = 8; // proto
  739. $export.B = 16; // bind
  740. $export.W = 32; // wrap
  741. $export.U = 64; // safe
  742. $export.R = 128; // real proto method for `library`
  743. module.exports = $export;
  744. },{"23":23,"25":25,"40":40,"42":42,"94":94}],34:[function(_dereq_,module,exports){
  745. var MATCH = _dereq_(128)('match');
  746. module.exports = function (KEY) {
  747. var re = /./;
  748. try {
  749. '/./'[KEY](re);
  750. } catch (e) {
  751. try {
  752. re[MATCH] = false;
  753. return !'/./'[KEY](re);
  754. } catch (f) { /* empty */ }
  755. } return true;
  756. };
  757. },{"128":128}],35:[function(_dereq_,module,exports){
  758. module.exports = function (exec) {
  759. try {
  760. return !!exec();
  761. } catch (e) {
  762. return true;
  763. }
  764. };
  765. },{}],36:[function(_dereq_,module,exports){
  766. 'use strict';
  767. var hide = _dereq_(42);
  768. var redefine = _dereq_(94);
  769. var fails = _dereq_(35);
  770. var defined = _dereq_(28);
  771. var wks = _dereq_(128);
  772. module.exports = function (KEY, length, exec) {
  773. var SYMBOL = wks(KEY);
  774. var fns = exec(defined, SYMBOL, ''[KEY]);
  775. var strfn = fns[0];
  776. var rxfn = fns[1];
  777. if (fails(function () {
  778. var O = {};
  779. O[SYMBOL] = function () { return 7; };
  780. return ''[KEY](O) != 7;
  781. })) {
  782. redefine(String.prototype, KEY, strfn);
  783. hide(RegExp.prototype, SYMBOL, length == 2
  784. // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue)
  785. // 21.2.5.11 RegExp.prototype[@@split](string, limit)
  786. ? function (string, arg) { return rxfn.call(string, this, arg); }
  787. // 21.2.5.6 RegExp.prototype[@@match](string)
  788. // 21.2.5.9 RegExp.prototype[@@search](string)
  789. : function (string) { return rxfn.call(string, this); }
  790. );
  791. }
  792. };
  793. },{"128":128,"28":28,"35":35,"42":42,"94":94}],37:[function(_dereq_,module,exports){
  794. 'use strict';
  795. // 21.2.5.3 get RegExp.prototype.flags
  796. var anObject = _dereq_(7);
  797. module.exports = function () {
  798. var that = anObject(this);
  799. var result = '';
  800. if (that.global) result += 'g';
  801. if (that.ignoreCase) result += 'i';
  802. if (that.multiline) result += 'm';
  803. if (that.unicode) result += 'u';
  804. if (that.sticky) result += 'y';
  805. return result;
  806. };
  807. },{"7":7}],38:[function(_dereq_,module,exports){
  808. 'use strict';
  809. // https://tc39.github.io/proposal-flatMap/#sec-FlattenIntoArray
  810. var isArray = _dereq_(49);
  811. var isObject = _dereq_(51);
  812. var toLength = _dereq_(118);
  813. var ctx = _dereq_(25);
  814. var IS_CONCAT_SPREADABLE = _dereq_(128)('isConcatSpreadable');
  815. function flattenIntoArray(target, original, source, sourceLen, start, depth, mapper, thisArg) {
  816. var targetIndex = start;
  817. var sourceIndex = 0;
  818. var mapFn = mapper ? ctx(mapper, thisArg, 3) : false;
  819. var element, spreadable;
  820. while (sourceIndex < sourceLen) {
  821. if (sourceIndex in source) {
  822. element = mapFn ? mapFn(source[sourceIndex], sourceIndex, original) : source[sourceIndex];
  823. spreadable = false;
  824. if (isObject(element)) {
  825. spreadable = element[IS_CONCAT_SPREADABLE];
  826. spreadable = spreadable !== undefined ? !!spreadable : isArray(element);
  827. }
  828. if (spreadable && depth > 0) {
  829. targetIndex = flattenIntoArray(target, original, element, toLength(element.length), targetIndex, depth - 1) - 1;
  830. } else {
  831. if (targetIndex >= 0x1fffffffffffff) throw TypeError();
  832. target[targetIndex] = element;
  833. }
  834. targetIndex++;
  835. }
  836. sourceIndex++;
  837. }
  838. return targetIndex;
  839. }
  840. module.exports = flattenIntoArray;
  841. },{"118":118,"128":128,"25":25,"49":49,"51":51}],39:[function(_dereq_,module,exports){
  842. var ctx = _dereq_(25);
  843. var call = _dereq_(53);
  844. var isArrayIter = _dereq_(48);
  845. var anObject = _dereq_(7);
  846. var toLength = _dereq_(118);
  847. var getIterFn = _dereq_(129);
  848. var BREAK = {};
  849. var RETURN = {};
  850. var exports = module.exports = function (iterable, entries, fn, that, ITERATOR) {
  851. var iterFn = ITERATOR ? function () { return iterable; } : getIterFn(iterable);
  852. var f = ctx(fn, that, entries ? 2 : 1);
  853. var index = 0;
  854. var length, step, iterator, result;
  855. if (typeof iterFn != 'function') throw TypeError(iterable + ' is not iterable!');
  856. // fast case for arrays with default iterator
  857. if (isArrayIter(iterFn)) for (length = toLength(iterable.length); length > index; index++) {
  858. result = entries ? f(anObject(step = iterable[index])[0], step[1]) : f(iterable[index]);
  859. if (result === BREAK || result === RETURN) return result;
  860. } else for (iterator = iterFn.call(iterable); !(step = iterator.next()).done;) {
  861. result = call(iterator, f, step.value, entries);
  862. if (result === BREAK || result === RETURN) return result;
  863. }
  864. };
  865. exports.BREAK = BREAK;
  866. exports.RETURN = RETURN;
  867. },{"118":118,"129":129,"25":25,"48":48,"53":53,"7":7}],40:[function(_dereq_,module,exports){
  868. // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
  869. var global = module.exports = typeof window != 'undefined' && window.Math == Math
  870. ? window : typeof self != 'undefined' && self.Math == Math ? self
  871. // eslint-disable-next-line no-new-func
  872. : Function('return this')();
  873. if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef
  874. },{}],41:[function(_dereq_,module,exports){
  875. var hasOwnProperty = {}.hasOwnProperty;
  876. module.exports = function (it, key) {
  877. return hasOwnProperty.call(it, key);
  878. };
  879. },{}],42:[function(_dereq_,module,exports){
  880. var dP = _dereq_(72);
  881. var createDesc = _dereq_(92);
  882. module.exports = _dereq_(29) ? function (object, key, value) {
  883. return dP.f(object, key, createDesc(1, value));
  884. } : function (object, key, value) {
  885. object[key] = value;
  886. return object;
  887. };
  888. },{"29":29,"72":72,"92":92}],43:[function(_dereq_,module,exports){
  889. var document = _dereq_(40).document;
  890. module.exports = document && document.documentElement;
  891. },{"40":40}],44:[function(_dereq_,module,exports){
  892. module.exports = !_dereq_(29) && !_dereq_(35)(function () {
  893. return Object.defineProperty(_dereq_(30)('div'), 'a', { get: function () { return 7; } }).a != 7;
  894. });
  895. },{"29":29,"30":30,"35":35}],45:[function(_dereq_,module,exports){
  896. var isObject = _dereq_(51);
  897. var setPrototypeOf = _dereq_(99).set;
  898. module.exports = function (that, target, C) {
  899. var S = target.constructor;
  900. var P;
  901. if (S !== C && typeof S == 'function' && (P = S.prototype) !== C.prototype && isObject(P) && setPrototypeOf) {
  902. setPrototypeOf(that, P);
  903. } return that;
  904. };
  905. },{"51":51,"99":99}],46:[function(_dereq_,module,exports){
  906. // fast apply, http://jsperf.lnkit.com/fast-apply/5
  907. module.exports = function (fn, args, that) {
  908. var un = that === undefined;
  909. switch (args.length) {
  910. case 0: return un ? fn()
  911. : fn.call(that);
  912. case 1: return un ? fn(args[0])
  913. : fn.call(that, args[0]);
  914. case 2: return un ? fn(args[0], args[1])
  915. : fn.call(that, args[0], args[1]);
  916. case 3: return un ? fn(args[0], args[1], args[2])
  917. : fn.call(that, args[0], args[1], args[2]);
  918. case 4: return un ? fn(args[0], args[1], args[2], args[3])
  919. : fn.call(that, args[0], args[1], args[2], args[3]);
  920. } return fn.apply(that, args);
  921. };
  922. },{}],47:[function(_dereq_,module,exports){
  923. // fallback for non-array-like ES3 and non-enumerable old V8 strings
  924. var cof = _dereq_(18);
  925. // eslint-disable-next-line no-prototype-builtins
  926. module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
  927. return cof(it) == 'String' ? it.split('') : Object(it);
  928. };
  929. },{"18":18}],48:[function(_dereq_,module,exports){
  930. // check on default Array iterator
  931. var Iterators = _dereq_(58);
  932. var ITERATOR = _dereq_(128)('iterator');
  933. var ArrayProto = Array.prototype;
  934. module.exports = function (it) {
  935. return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it);
  936. };
  937. },{"128":128,"58":58}],49:[function(_dereq_,module,exports){
  938. // 7.2.2 IsArray(argument)
  939. var cof = _dereq_(18);
  940. module.exports = Array.isArray || function isArray(arg) {
  941. return cof(arg) == 'Array';
  942. };
  943. },{"18":18}],50:[function(_dereq_,module,exports){
  944. // 20.1.2.3 Number.isInteger(number)
  945. var isObject = _dereq_(51);
  946. var floor = Math.floor;
  947. module.exports = function isInteger(it) {
  948. return !isObject(it) && isFinite(it) && floor(it) === it;
  949. };
  950. },{"51":51}],51:[function(_dereq_,module,exports){
  951. module.exports = function (it) {
  952. return typeof it === 'object' ? it !== null : typeof it === 'function';
  953. };
  954. },{}],52:[function(_dereq_,module,exports){
  955. // 7.2.8 IsRegExp(argument)
  956. var isObject = _dereq_(51);
  957. var cof = _dereq_(18);
  958. var MATCH = _dereq_(128)('match');
  959. module.exports = function (it) {
  960. var isRegExp;
  961. return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : cof(it) == 'RegExp');
  962. };
  963. },{"128":128,"18":18,"51":51}],53:[function(_dereq_,module,exports){
  964. // call something on iterator step with safe closing on error
  965. var anObject = _dereq_(7);
  966. module.exports = function (iterator, fn, value, entries) {
  967. try {
  968. return entries ? fn(anObject(value)[0], value[1]) : fn(value);
  969. // 7.4.6 IteratorClose(iterator, completion)
  970. } catch (e) {
  971. var ret = iterator['return'];
  972. if (ret !== undefined) anObject(ret.call(iterator));
  973. throw e;
  974. }
  975. };
  976. },{"7":7}],54:[function(_dereq_,module,exports){
  977. 'use strict';
  978. var create = _dereq_(71);
  979. var descriptor = _dereq_(92);
  980. var setToStringTag = _dereq_(101);
  981. var IteratorPrototype = {};
  982. // 25.1.2.1.1 %IteratorPrototype%[@@iterator]()
  983. _dereq_(42)(IteratorPrototype, _dereq_(128)('iterator'), function () { return this; });
  984. module.exports = function (Constructor, NAME, next) {
  985. Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) });
  986. setToStringTag(Constructor, NAME + ' Iterator');
  987. };
  988. },{"101":101,"128":128,"42":42,"71":71,"92":92}],55:[function(_dereq_,module,exports){
  989. 'use strict';
  990. var LIBRARY = _dereq_(60);
  991. var $export = _dereq_(33);
  992. var redefine = _dereq_(94);
  993. var hide = _dereq_(42);
  994. var has = _dereq_(41);
  995. var Iterators = _dereq_(58);
  996. var $iterCreate = _dereq_(54);
  997. var setToStringTag = _dereq_(101);
  998. var getPrototypeOf = _dereq_(79);
  999. var ITERATOR = _dereq_(128)('iterator');
  1000. var BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next`
  1001. var FF_ITERATOR = '@@iterator';
  1002. var KEYS = 'keys';
  1003. var VALUES = 'values';
  1004. var returnThis = function () { return this; };
  1005. module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) {
  1006. $iterCreate(Constructor, NAME, next);
  1007. var getMethod = function (kind) {
  1008. if (!BUGGY && kind in proto) return proto[kind];
  1009. switch (kind) {
  1010. case KEYS: return function keys() { return new Constructor(this, kind); };
  1011. case VALUES: return function values() { return new Constructor(this, kind); };
  1012. } return function entries() { return new Constructor(this, kind); };
  1013. };
  1014. var TAG = NAME + ' Iterator';
  1015. var DEF_VALUES = DEFAULT == VALUES;
  1016. var VALUES_BUG = false;
  1017. var proto = Base.prototype;
  1018. var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT];
  1019. var $default = $native || getMethod(DEFAULT);
  1020. var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined;
  1021. var $anyNative = NAME == 'Array' ? proto.entries || $native : $native;
  1022. var methods, key, IteratorPrototype;
  1023. // Fix native
  1024. if ($anyNative) {
  1025. IteratorPrototype = getPrototypeOf($anyNative.call(new Base()));
  1026. if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) {
  1027. // Set @@toStringTag to native iterators
  1028. setToStringTag(IteratorPrototype, TAG, true);
  1029. // fix for some old engines
  1030. if (!LIBRARY && !has(IteratorPrototype, ITERATOR)) hide(IteratorPrototype, ITERATOR, returnThis);
  1031. }
  1032. }
  1033. // fix Array#{values, @@iterator}.name in V8 / FF
  1034. if (DEF_VALUES && $native && $native.name !== VALUES) {
  1035. VALUES_BUG = true;
  1036. $default = function values() { return $native.call(this); };
  1037. }
  1038. // Define iterator
  1039. if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) {
  1040. hide(proto, ITERATOR, $default);
  1041. }
  1042. // Plug for library
  1043. Iterators[NAME] = $default;
  1044. Iterators[TAG] = returnThis;
  1045. if (DEFAULT) {
  1046. methods = {
  1047. values: DEF_VALUES ? $default : getMethod(VALUES),
  1048. keys: IS_SET ? $default : getMethod(KEYS),
  1049. entries: $entries
  1050. };
  1051. if (FORCED) for (key in methods) {
  1052. if (!(key in proto)) redefine(proto, key, methods[key]);
  1053. } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);
  1054. }
  1055. return methods;
  1056. };
  1057. },{"101":101,"128":128,"33":33,"41":41,"42":42,"54":54,"58":58,"60":60,"79":79,"94":94}],56:[function(_dereq_,module,exports){
  1058. var ITERATOR = _dereq_(128)('iterator');
  1059. var SAFE_CLOSING = false;
  1060. try {
  1061. var riter = [7][ITERATOR]();
  1062. riter['return'] = function () { SAFE_CLOSING = true; };
  1063. // eslint-disable-next-line no-throw-literal
  1064. Array.from(riter, function () { throw 2; });
  1065. } catch (e) { /* empty */ }
  1066. module.exports = function (exec, skipClosing) {
  1067. if (!skipClosing && !SAFE_CLOSING) return false;
  1068. var safe = false;
  1069. try {
  1070. var arr = [7];
  1071. var iter = arr[ITERATOR]();
  1072. iter.next = function () { return { done: safe = true }; };
  1073. arr[ITERATOR] = function () { return iter; };
  1074. exec(arr);
  1075. } catch (e) { /* empty */ }
  1076. return safe;
  1077. };
  1078. },{"128":128}],57:[function(_dereq_,module,exports){
  1079. module.exports = function (done, value) {
  1080. return { value: value, done: !!done };
  1081. };
  1082. },{}],58:[function(_dereq_,module,exports){
  1083. module.exports = {};
  1084. },{}],59:[function(_dereq_,module,exports){
  1085. var getKeys = _dereq_(81);
  1086. var toIObject = _dereq_(117);
  1087. module.exports = function (object, el) {
  1088. var O = toIObject(object);
  1089. var keys = getKeys(O);
  1090. var length = keys.length;
  1091. var index = 0;
  1092. var key;
  1093. while (length > index) if (O[key = keys[index++]] === el) return key;
  1094. };
  1095. },{"117":117,"81":81}],60:[function(_dereq_,module,exports){
  1096. module.exports = false;
  1097. },{}],61:[function(_dereq_,module,exports){
  1098. // 20.2.2.14 Math.expm1(x)
  1099. var $expm1 = Math.expm1;
  1100. module.exports = (!$expm1
  1101. // Old FF bug
  1102. || $expm1(10) > 22025.465794806719 || $expm1(10) < 22025.4657948067165168
  1103. // Tor Browser bug
  1104. || $expm1(-2e-17) != -2e-17
  1105. ) ? function expm1(x) {
  1106. return (x = +x) == 0 ? x : x > -1e-6 && x < 1e-6 ? x + x * x / 2 : Math.exp(x) - 1;
  1107. } : $expm1;
  1108. },{}],62:[function(_dereq_,module,exports){
  1109. // 20.2.2.16 Math.fround(x)
  1110. var sign = _dereq_(65);
  1111. var pow = Math.pow;
  1112. var EPSILON = pow(2, -52);
  1113. var EPSILON32 = pow(2, -23);
  1114. var MAX32 = pow(2, 127) * (2 - EPSILON32);
  1115. var MIN32 = pow(2, -126);
  1116. var roundTiesToEven = function (n) {
  1117. return n + 1 / EPSILON - 1 / EPSILON;
  1118. };
  1119. module.exports = Math.fround || function fround(x) {
  1120. var $abs = Math.abs(x);
  1121. var $sign = sign(x);
  1122. var a, result;
  1123. if ($abs < MIN32) return $sign * roundTiesToEven($abs / MIN32 / EPSILON32) * MIN32 * EPSILON32;
  1124. a = (1 + EPSILON32 / EPSILON) * $abs;
  1125. result = a - (a - $abs);
  1126. // eslint-disable-next-line no-self-compare
  1127. if (result > MAX32 || result != result) return $sign * Infinity;
  1128. return $sign * result;
  1129. };
  1130. },{"65":65}],63:[function(_dereq_,module,exports){
  1131. // 20.2.2.20 Math.log1p(x)
  1132. module.exports = Math.log1p || function log1p(x) {
  1133. return (x = +x) > -1e-8 && x < 1e-8 ? x - x * x / 2 : Math.log(1 + x);
  1134. };
  1135. },{}],64:[function(_dereq_,module,exports){
  1136. // https://rwaldron.github.io/proposal-math-extensions/
  1137. module.exports = Math.scale || function scale(x, inLow, inHigh, outLow, outHigh) {
  1138. if (
  1139. arguments.length === 0
  1140. // eslint-disable-next-line no-self-compare
  1141. || x != x
  1142. // eslint-disable-next-line no-self-compare
  1143. || inLow != inLow
  1144. // eslint-disable-next-line no-self-compare
  1145. || inHigh != inHigh
  1146. // eslint-disable-next-line no-self-compare
  1147. || outLow != outLow
  1148. // eslint-disable-next-line no-self-compare
  1149. || outHigh != outHigh
  1150. ) return NaN;
  1151. if (x === Infinity || x === -Infinity) return x;
  1152. return (x - inLow) * (outHigh - outLow) / (inHigh - inLow) + outLow;
  1153. };
  1154. },{}],65:[function(_dereq_,module,exports){
  1155. // 20.2.2.28 Math.sign(x)
  1156. module.exports = Math.sign || function sign(x) {
  1157. // eslint-disable-next-line no-self-compare
  1158. return (x = +x) == 0 || x != x ? x : x < 0 ? -1 : 1;
  1159. };
  1160. },{}],66:[function(_dereq_,module,exports){
  1161. var META = _dereq_(124)('meta');
  1162. var isObject = _dereq_(51);
  1163. var has = _dereq_(41);
  1164. var setDesc = _dereq_(72).f;
  1165. var id = 0;
  1166. var isExtensible = Object.isExtensible || function () {
  1167. return true;
  1168. };
  1169. var FREEZE = !_dereq_(35)(function () {
  1170. return isExtensible(Object.preventExtensions({}));
  1171. });
  1172. var setMeta = function (it) {
  1173. setDesc(it, META, { value: {
  1174. i: 'O' + ++id, // object ID
  1175. w: {} // weak collections IDs
  1176. } });
  1177. };
  1178. var fastKey = function (it, create) {
  1179. // return primitive with prefix
  1180. if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;
  1181. if (!has(it, META)) {
  1182. // can't set metadata to uncaught frozen object
  1183. if (!isExtensible(it)) return 'F';
  1184. // not necessary to add metadata
  1185. if (!create) return 'E';
  1186. // add missing metadata
  1187. setMeta(it);
  1188. // return object ID
  1189. } return it[META].i;
  1190. };
  1191. var getWeak = function (it, create) {
  1192. if (!has(it, META)) {
  1193. // can't set metadata to uncaught frozen object
  1194. if (!isExtensible(it)) return true;
  1195. // not necessary to add metadata
  1196. if (!create) return false;
  1197. // add missing metadata
  1198. setMeta(it);
  1199. // return hash weak collections IDs
  1200. } return it[META].w;
  1201. };
  1202. // add metadata on freeze-family methods calling
  1203. var onFreeze = function (it) {
  1204. if (FREEZE && meta.NEED && isExtensible(it) && !has(it, META)) setMeta(it);
  1205. return it;
  1206. };
  1207. var meta = module.exports = {
  1208. KEY: META,
  1209. NEED: false,
  1210. fastKey: fastKey,
  1211. getWeak: getWeak,
  1212. onFreeze: onFreeze
  1213. };
  1214. },{"124":124,"35":35,"41":41,"51":51,"72":72}],67:[function(_dereq_,module,exports){
  1215. var Map = _dereq_(160);
  1216. var $export = _dereq_(33);
  1217. var shared = _dereq_(103)('metadata');
  1218. var store = shared.store || (shared.store = new (_dereq_(266))());
  1219. var getOrCreateMetadataMap = function (target, targetKey, create) {
  1220. var targetMetadata = store.get(target);
  1221. if (!targetMetadata) {
  1222. if (!create) return undefined;
  1223. store.set(target, targetMetadata = new Map());
  1224. }
  1225. var keyMetadata = targetMetadata.get(targetKey);
  1226. if (!keyMetadata) {
  1227. if (!create) return undefined;
  1228. targetMetadata.set(targetKey, keyMetadata = new Map());
  1229. } return keyMetadata;
  1230. };
  1231. var ordinaryHasOwnMetadata = function (MetadataKey, O, P) {
  1232. var metadataMap = getOrCreateMetadataMap(O, P, false);
  1233. return metadataMap === undefined ? false : metadataMap.has(MetadataKey);
  1234. };
  1235. var ordinaryGetOwnMetadata = function (MetadataKey, O, P) {
  1236. var metadataMap = getOrCreateMetadataMap(O, P, false);
  1237. return metadataMap === undefined ? undefined : metadataMap.get(MetadataKey);
  1238. };
  1239. var ordinaryDefineOwnMetadata = function (MetadataKey, MetadataValue, O, P) {
  1240. getOrCreateMetadataMap(O, P, true).set(MetadataKey, MetadataValue);
  1241. };
  1242. var ordinaryOwnMetadataKeys = function (target, targetKey) {
  1243. var metadataMap = getOrCreateMetadataMap(target, targetKey, false);
  1244. var keys = [];
  1245. if (metadataMap) metadataMap.forEach(function (_, key) { keys.push(key); });
  1246. return keys;
  1247. };
  1248. var toMetaKey = function (it) {
  1249. return it === undefined || typeof it == 'symbol' ? it : String(it);
  1250. };
  1251. var exp = function (O) {
  1252. $export($export.S, 'Reflect', O);
  1253. };
  1254. module.exports = {
  1255. store: store,
  1256. map: getOrCreateMetadataMap,
  1257. has: ordinaryHasOwnMetadata,
  1258. get: ordinaryGetOwnMetadata,
  1259. set: ordinaryDefineOwnMetadata,
  1260. keys: ordinaryOwnMetadataKeys,
  1261. key: toMetaKey,
  1262. exp: exp
  1263. };
  1264. },{"103":103,"160":160,"266":266,"33":33}],68:[function(_dereq_,module,exports){
  1265. var global = _dereq_(40);
  1266. var macrotask = _dereq_(113).set;
  1267. var Observer = global.MutationObserver || global.WebKitMutationObserver;
  1268. var process = global.process;
  1269. var Promise = global.Promise;
  1270. var isNode = _dereq_(18)(process) == 'process';
  1271. module.exports = function () {
  1272. var head, last, notify;
  1273. var flush = function () {
  1274. var parent, fn;
  1275. if (isNode && (parent = process.domain)) parent.exit();
  1276. while (head) {
  1277. fn = head.fn;
  1278. head = head.next;
  1279. try {
  1280. fn();
  1281. } catch (e) {
  1282. if (head) notify();
  1283. else last = undefined;
  1284. throw e;
  1285. }
  1286. } last = undefined;
  1287. if (parent) parent.enter();
  1288. };
  1289. // Node.js
  1290. if (isNode) {
  1291. notify = function () {
  1292. process.nextTick(flush);
  1293. };
  1294. // browsers with MutationObserver
  1295. } else if (Observer) {
  1296. var toggle = true;
  1297. var node = document.createTextNode('');
  1298. new Observer(flush).observe(node, { characterData: true }); // eslint-disable-line no-new
  1299. notify = function () {
  1300. node.data = toggle = !toggle;
  1301. };
  1302. // environments with maybe non-completely correct, but existent Promise
  1303. } else if (Promise && Promise.resolve) {
  1304. var promise = Promise.resolve();
  1305. notify = function () {
  1306. promise.then(flush);
  1307. };
  1308. // for other environments - macrotask based on:
  1309. // - setImmediate
  1310. // - MessageChannel
  1311. // - window.postMessag
  1312. // - onreadystatechange
  1313. // - setTimeout
  1314. } else {
  1315. notify = function () {
  1316. // strange IE + webpack dev server bug - use .call(global)
  1317. macrotask.call(global, flush);
  1318. };
  1319. }
  1320. return function (fn) {
  1321. var task = { fn: fn, next: undefined };
  1322. if (last) last.next = task;
  1323. if (!head) {
  1324. head = task;
  1325. notify();
  1326. } last = task;
  1327. };
  1328. };
  1329. },{"113":113,"18":18,"40":40}],69:[function(_dereq_,module,exports){
  1330. 'use strict';
  1331. // 25.4.1.5 NewPromiseCapability(C)
  1332. var aFunction = _dereq_(3);
  1333. function PromiseCapability(C) {
  1334. var resolve, reject;
  1335. this.promise = new C(function ($$resolve, $$reject) {
  1336. if (resolve !== undefined || reject !== undefined) throw TypeError('Bad Promise constructor');
  1337. resolve = $$resolve;
  1338. reject = $$reject;
  1339. });
  1340. this.resolve = aFunction(resolve);
  1341. this.reject = aFunction(reject);
  1342. }
  1343. module.exports.f = function (C) {
  1344. return new PromiseCapability(C);
  1345. };
  1346. },{"3":3}],70:[function(_dereq_,module,exports){
  1347. 'use strict';
  1348. // 19.1.2.1 Object.assign(target, source, ...)
  1349. var getKeys = _dereq_(81);
  1350. var gOPS = _dereq_(78);
  1351. var pIE = _dereq_(82);
  1352. var toObject = _dereq_(119);
  1353. var IObject = _dereq_(47);
  1354. var $assign = Object.assign;
  1355. // should work with symbols and should have deterministic property order (V8 bug)
  1356. module.exports = !$assign || _dereq_(35)(function () {
  1357. var A = {};
  1358. var B = {};
  1359. // eslint-disable-next-line no-undef
  1360. var S = Symbol();
  1361. var K = 'abcdefghijklmnopqrst';
  1362. A[S] = 7;
  1363. K.split('').forEach(function (k) { B[k] = k; });
  1364. return $assign({}, A)[S] != 7 || Object.keys($assign({}, B)).join('') != K;
  1365. }) ? function assign(target, source) { // eslint-disable-line no-unused-vars
  1366. var T = toObject(target);
  1367. var aLen = arguments.length;
  1368. var index = 1;
  1369. var getSymbols = gOPS.f;
  1370. var isEnum = pIE.f;
  1371. while (aLen > index) {
  1372. var S = IObject(arguments[index++]);
  1373. var keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S);
  1374. var length = keys.length;
  1375. var j = 0;
  1376. var key;
  1377. while (length > j) if (isEnum.call(S, key = keys[j++])) T[key] = S[key];
  1378. } return T;
  1379. } : $assign;
  1380. },{"119":119,"35":35,"47":47,"78":78,"81":81,"82":82}],71:[function(_dereq_,module,exports){
  1381. // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
  1382. var anObject = _dereq_(7);
  1383. var dPs = _dereq_(73);
  1384. var enumBugKeys = _dereq_(31);
  1385. var IE_PROTO = _dereq_(102)('IE_PROTO');
  1386. var Empty = function () { /* empty */ };
  1387. var PROTOTYPE = 'prototype';
  1388. // Create object with fake `null` prototype: use iframe Object with cleared prototype
  1389. var createDict = function () {
  1390. // Thrash, waste and sodomy: IE GC bug
  1391. var iframe = _dereq_(30)('iframe');
  1392. var i = enumBugKeys.length;
  1393. var lt = '<';
  1394. var gt = '>';
  1395. var iframeDocument;
  1396. iframe.style.display = 'none';
  1397. _dereq_(43).appendChild(iframe);
  1398. iframe.src = 'javascript:'; // eslint-disable-line no-script-url
  1399. // createDict = iframe.contentWindow.Object;
  1400. // html.removeChild(iframe);
  1401. iframeDocument = iframe.contentWindow.document;
  1402. iframeDocument.open();
  1403. iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);
  1404. iframeDocument.close();
  1405. createDict = iframeDocument.F;
  1406. while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]];
  1407. return createDict();
  1408. };
  1409. module.exports = Object.create || function create(O, Properties) {
  1410. var result;
  1411. if (O !== null) {
  1412. Empty[PROTOTYPE] = anObject(O);
  1413. result = new Empty();
  1414. Empty[PROTOTYPE] = null;
  1415. // add "__proto__" for Object.getPrototypeOf polyfill
  1416. result[IE_PROTO] = O;
  1417. } else result = createDict();
  1418. return Properties === undefined ? result : dPs(result, Properties);
  1419. };
  1420. },{"102":102,"30":30,"31":31,"43":43,"7":7,"73":73}],72:[function(_dereq_,module,exports){
  1421. var anObject = _dereq_(7);
  1422. var IE8_DOM_DEFINE = _dereq_(44);
  1423. var toPrimitive = _dereq_(120);
  1424. var dP = Object.defineProperty;
  1425. exports.f = _dereq_(29) ? Object.defineProperty : function defineProperty(O, P, Attributes) {
  1426. anObject(O);
  1427. P = toPrimitive(P, true);
  1428. anObject(Attributes);
  1429. if (IE8_DOM_DEFINE) try {
  1430. return dP(O, P, Attributes);
  1431. } catch (e) { /* empty */ }
  1432. if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');
  1433. if ('value' in Attributes) O[P] = Attributes.value;
  1434. return O;
  1435. };
  1436. },{"120":120,"29":29,"44":44,"7":7}],73:[function(_dereq_,module,exports){
  1437. var dP = _dereq_(72);
  1438. var anObject = _dereq_(7);
  1439. var getKeys = _dereq_(81);
  1440. module.exports = _dereq_(29) ? Object.defineProperties : function defineProperties(O, Properties) {
  1441. anObject(O);
  1442. var keys = getKeys(Properties);
  1443. var length = keys.length;
  1444. var i = 0;
  1445. var P;
  1446. while (length > i) dP.f(O, P = keys[i++], Properties[P]);
  1447. return O;
  1448. };
  1449. },{"29":29,"7":7,"72":72,"81":81}],74:[function(_dereq_,module,exports){
  1450. 'use strict';
  1451. // Forced replacement prototype accessors methods
  1452. module.exports = _dereq_(60) || !_dereq_(35)(function () {
  1453. var K = Math.random();
  1454. // In FF throws only define methods
  1455. // eslint-disable-next-line no-undef, no-useless-call
  1456. __defineSetter__.call(null, K, function () { /* empty */ });
  1457. delete _dereq_(40)[K];
  1458. });
  1459. },{"35":35,"40":40,"60":60}],75:[function(_dereq_,module,exports){
  1460. var pIE = _dereq_(82);
  1461. var createDesc = _dereq_(92);
  1462. var toIObject = _dereq_(117);
  1463. var toPrimitive = _dereq_(120);
  1464. var has = _dereq_(41);
  1465. var IE8_DOM_DEFINE = _dereq_(44);
  1466. var gOPD = Object.getOwnPropertyDescriptor;
  1467. exports.f = _dereq_(29) ? gOPD : function getOwnPropertyDescriptor(O, P) {
  1468. O = toIObject(O);
  1469. P = toPrimitive(P, true);
  1470. if (IE8_DOM_DEFINE) try {
  1471. return gOPD(O, P);
  1472. } catch (e) { /* empty */ }
  1473. if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]);
  1474. };
  1475. },{"117":117,"120":120,"29":29,"41":41,"44":44,"82":82,"92":92}],76:[function(_dereq_,module,exports){
  1476. // fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window
  1477. var toIObject = _dereq_(117);
  1478. var gOPN = _dereq_(77).f;
  1479. var toString = {}.toString;
  1480. var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames
  1481. ? Object.getOwnPropertyNames(window) : [];
  1482. var getWindowNames = function (it) {
  1483. try {
  1484. return gOPN(it);
  1485. } catch (e) {
  1486. return windowNames.slice();
  1487. }
  1488. };
  1489. module.exports.f = function getOwnPropertyNames(it) {
  1490. return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it));
  1491. };
  1492. },{"117":117,"77":77}],77:[function(_dereq_,module,exports){
  1493. // 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)
  1494. var $keys = _dereq_(80);
  1495. var hiddenKeys = _dereq_(31).concat('length', 'prototype');
  1496. exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
  1497. return $keys(O, hiddenKeys);
  1498. };
  1499. },{"31":31,"80":80}],78:[function(_dereq_,module,exports){
  1500. exports.f = Object.getOwnPropertySymbols;
  1501. },{}],79:[function(_dereq_,module,exports){
  1502. // 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)
  1503. var has = _dereq_(41);
  1504. var toObject = _dereq_(119);
  1505. var IE_PROTO = _dereq_(102)('IE_PROTO');
  1506. var ObjectProto = Object.prototype;
  1507. module.exports = Object.getPrototypeOf || function (O) {
  1508. O = toObject(O);
  1509. if (has(O, IE_PROTO)) return O[IE_PROTO];
  1510. if (typeof O.constructor == 'function' && O instanceof O.constructor) {
  1511. return O.constructor.prototype;
  1512. } return O instanceof Object ? ObjectProto : null;
  1513. };
  1514. },{"102":102,"119":119,"41":41}],80:[function(_dereq_,module,exports){
  1515. var has = _dereq_(41);
  1516. var toIObject = _dereq_(117);
  1517. var arrayIndexOf = _dereq_(11)(false);
  1518. var IE_PROTO = _dereq_(102)('IE_PROTO');
  1519. module.exports = function (object, names) {
  1520. var O = toIObject(object);
  1521. var i = 0;
  1522. var result = [];
  1523. var key;
  1524. for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key);
  1525. // Don't enum bug & hidden keys
  1526. while (names.length > i) if (has(O, key = names[i++])) {
  1527. ~arrayIndexOf(result, key) || result.push(key);
  1528. }
  1529. return result;
  1530. };
  1531. },{"102":102,"11":11,"117":117,"41":41}],81:[function(_dereq_,module,exports){
  1532. // 19.1.2.14 / 15.2.3.14 Object.keys(O)
  1533. var $keys = _dereq_(80);
  1534. var enumBugKeys = _dereq_(31);
  1535. module.exports = Object.keys || function keys(O) {
  1536. return $keys(O, enumBugKeys);
  1537. };
  1538. },{"31":31,"80":80}],82:[function(_dereq_,module,exports){
  1539. exports.f = {}.propertyIsEnumerable;
  1540. },{}],83:[function(_dereq_,module,exports){
  1541. // most Object methods by ES6 should accept primitives
  1542. var $export = _dereq_(33);
  1543. var core = _dereq_(23);
  1544. var fails = _dereq_(35);
  1545. module.exports = function (KEY, exec) {
  1546. var fn = (core.Object || {})[KEY] || Object[KEY];
  1547. var exp = {};
  1548. exp[KEY] = exec(fn);
  1549. $export($export.S + $export.F * fails(function () { fn(1); }), 'Object', exp);
  1550. };
  1551. },{"23":23,"33":33,"35":35}],84:[function(_dereq_,module,exports){
  1552. var getKeys = _dereq_(81);
  1553. var toIObject = _dereq_(117);
  1554. var isEnum = _dereq_(82).f;
  1555. module.exports = function (isEntries) {
  1556. return function (it) {
  1557. var O = toIObject(it);
  1558. var keys = getKeys(O);
  1559. var length = keys.length;
  1560. var i = 0;
  1561. var result = [];
  1562. var key;
  1563. while (length > i) if (isEnum.call(O, key = keys[i++])) {
  1564. result.push(isEntries ? [key, O[key]] : O[key]);
  1565. } return result;
  1566. };
  1567. };
  1568. },{"117":117,"81":81,"82":82}],85:[function(_dereq_,module,exports){
  1569. // all object keys, includes non-enumerable and symbols
  1570. var gOPN = _dereq_(77);
  1571. var gOPS = _dereq_(78);
  1572. var anObject = _dereq_(7);
  1573. var Reflect = _dereq_(40).Reflect;
  1574. module.exports = Reflect && Reflect.ownKeys || function ownKeys(it) {
  1575. var keys = gOPN.f(anObject(it));
  1576. var getSymbols = gOPS.f;
  1577. return getSymbols ? keys.concat(getSymbols(it)) : keys;
  1578. };
  1579. },{"40":40,"7":7,"77":77,"78":78}],86:[function(_dereq_,module,exports){
  1580. var $parseFloat = _dereq_(40).parseFloat;
  1581. var $trim = _dereq_(111).trim;
  1582. module.exports = 1 / $parseFloat(_dereq_(112) + '-0') !== -Infinity ? function parseFloat(str) {
  1583. var string = $trim(String(str), 3);
  1584. var result = $parseFloat(string);
  1585. return result === 0 && string.charAt(0) == '-' ? -0 : result;
  1586. } : $parseFloat;
  1587. },{"111":111,"112":112,"40":40}],87:[function(_dereq_,module,exports){
  1588. var $parseInt = _dereq_(40).parseInt;
  1589. var $trim = _dereq_(111).trim;
  1590. var ws = _dereq_(112);
  1591. var hex = /^[-+]?0[xX]/;
  1592. module.exports = $parseInt(ws + '08') !== 8 || $parseInt(ws + '0x16') !== 22 ? function parseInt(str, radix) {
  1593. var string = $trim(String(str), 3);
  1594. return $parseInt(string, (radix >>> 0) || (hex.test(string) ? 16 : 10));
  1595. } : $parseInt;
  1596. },{"111":111,"112":112,"40":40}],88:[function(_dereq_,module,exports){
  1597. 'use strict';
  1598. var path = _dereq_(89);
  1599. var invoke = _dereq_(46);
  1600. var aFunction = _dereq_(3);
  1601. module.exports = function (/* ...pargs */) {
  1602. var fn = aFunction(this);
  1603. var length = arguments.length;
  1604. var pargs = Array(length);
  1605. var i = 0;
  1606. var _ = path._;
  1607. var holder = false;
  1608. while (length > i) if ((pargs[i] = arguments[i++]) === _) holder = true;
  1609. return function (/* ...args */) {
  1610. var that = this;
  1611. var aLen = arguments.length;
  1612. var j = 0;
  1613. var k = 0;
  1614. var args;
  1615. if (!holder && !aLen) return invoke(fn, pargs, that);
  1616. args = pargs.slice();
  1617. if (holder) for (;length > j; j++) if (args[j] === _) args[j] = arguments[k++];
  1618. while (aLen > k) args.push(arguments[k++]);
  1619. return invoke(fn, args, that);
  1620. };
  1621. };
  1622. },{"3":3,"46":46,"89":89}],89:[function(_dereq_,module,exports){
  1623. module.exports = _dereq_(40);
  1624. },{"40":40}],90:[function(_dereq_,module,exports){
  1625. module.exports = function (exec) {
  1626. try {
  1627. return { e: false, v: exec() };
  1628. } catch (e) {
  1629. return { e: true, v: e };
  1630. }
  1631. };
  1632. },{}],91:[function(_dereq_,module,exports){
  1633. var newPromiseCapability = _dereq_(69);
  1634. module.exports = function (C, x) {
  1635. var promiseCapability = newPromiseCapability.f(C);
  1636. var resolve = promiseCapability.resolve;
  1637. resolve(x);
  1638. return promiseCapability.promise;
  1639. };
  1640. },{"69":69}],92:[function(_dereq_,module,exports){
  1641. module.exports = function (bitmap, value) {
  1642. return {
  1643. enumerable: !(bitmap & 1),
  1644. configurable: !(bitmap & 2),
  1645. writable: !(bitmap & 4),
  1646. value: value
  1647. };
  1648. };
  1649. },{}],93:[function(_dereq_,module,exports){
  1650. var redefine = _dereq_(94);
  1651. module.exports = function (target, src, safe) {
  1652. for (var key in src) redefine(target, key, src[key], safe);
  1653. return target;
  1654. };
  1655. },{"94":94}],94:[function(_dereq_,module,exports){
  1656. var global = _dereq_(40);
  1657. var hide = _dereq_(42);
  1658. var has = _dereq_(41);
  1659. var SRC = _dereq_(124)('src');
  1660. var TO_STRING = 'toString';
  1661. var $toString = Function[TO_STRING];
  1662. var TPL = ('' + $toString).split(TO_STRING);
  1663. _dereq_(23).inspectSource = function (it) {
  1664. return $toString.call(it);
  1665. };
  1666. (module.exports = function (O, key, val, safe) {
  1667. var isFunction = typeof val == 'function';
  1668. if (isFunction) has(val, 'name') || hide(val, 'name', key);
  1669. if (O[key] === val) return;
  1670. if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key)));
  1671. if (O === global) {
  1672. O[key] = val;
  1673. } else if (!safe) {
  1674. delete O[key];
  1675. hide(O, key, val);
  1676. } else if (O[key]) {
  1677. O[key] = val;
  1678. } else {
  1679. hide(O, key, val);
  1680. }
  1681. // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
  1682. })(Function.prototype, TO_STRING, function toString() {
  1683. return typeof this == 'function' && this[SRC] || $toString.call(this);
  1684. });
  1685. },{"124":124,"23":23,"40":40,"41":41,"42":42}],95:[function(_dereq_,module,exports){
  1686. module.exports = function (regExp, replace) {
  1687. var replacer = replace === Object(replace) ? function (part) {
  1688. return replace[part];
  1689. } : replace;
  1690. return function (it) {
  1691. return String(it).replace(regExp, replacer);
  1692. };
  1693. };
  1694. },{}],96:[function(_dereq_,module,exports){
  1695. // 7.2.9 SameValue(x, y)
  1696. module.exports = Object.is || function is(x, y) {
  1697. // eslint-disable-next-line no-self-compare
  1698. return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;
  1699. };
  1700. },{}],97:[function(_dereq_,module,exports){
  1701. 'use strict';
  1702. // https://tc39.github.io/proposal-setmap-offrom/
  1703. var $export = _dereq_(33);
  1704. var aFunction = _dereq_(3);
  1705. var ctx = _dereq_(25);
  1706. var forOf = _dereq_(39);
  1707. module.exports = function (COLLECTION) {
  1708. $export($export.S, COLLECTION, { from: function from(source /* , mapFn, thisArg */) {
  1709. var mapFn = arguments[1];
  1710. var mapping, A, n, cb;
  1711. aFunction(this);
  1712. mapping = mapFn !== undefined;
  1713. if (mapping) aFunction(mapFn);
  1714. if (source == undefined) return new this();
  1715. A = [];
  1716. if (mapping) {
  1717. n = 0;
  1718. cb = ctx(mapFn, arguments[2], 2);
  1719. forOf(source, false, function (nextItem) {
  1720. A.push(cb(nextItem, n++));
  1721. });
  1722. } else {
  1723. forOf(source, false, A.push, A);
  1724. }
  1725. return new this(A);
  1726. } });
  1727. };
  1728. },{"25":25,"3":3,"33":33,"39":39}],98:[function(_dereq_,module,exports){
  1729. 'use strict';
  1730. // https://tc39.github.io/proposal-setmap-offrom/
  1731. var $export = _dereq_(33);
  1732. module.exports = function (COLLECTION) {
  1733. $export($export.S, COLLECTION, { of: function of() {
  1734. var length = arguments.length;
  1735. var A = Array(length);
  1736. while (length--) A[length] = arguments[length];
  1737. return new this(A);
  1738. } });
  1739. };
  1740. },{"33":33}],99:[function(_dereq_,module,exports){
  1741. // Works with __proto__ only. Old v8 can't work with null proto objects.
  1742. /* eslint-disable no-proto */
  1743. var isObject = _dereq_(51);
  1744. var anObject = _dereq_(7);
  1745. var check = function (O, proto) {
  1746. anObject(O);
  1747. if (!isObject(proto) && proto !== null) throw TypeError(proto + ": can't set as prototype!");
  1748. };
  1749. module.exports = {
  1750. set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line
  1751. function (test, buggy, set) {
  1752. try {
  1753. set = _dereq_(25)(Function.call, _dereq_(75).f(Object.prototype, '__proto__').set, 2);
  1754. set(test, []);
  1755. buggy = !(test instanceof Array);
  1756. } catch (e) { buggy = true; }
  1757. return function setPrototypeOf(O, proto) {
  1758. check(O, proto);
  1759. if (buggy) O.__proto__ = proto;
  1760. else set(O, proto);
  1761. return O;
  1762. };
  1763. }({}, false) : undefined),
  1764. check: check
  1765. };
  1766. },{"25":25,"51":51,"7":7,"75":75}],100:[function(_dereq_,module,exports){
  1767. 'use strict';
  1768. var global = _dereq_(40);
  1769. var dP = _dereq_(72);
  1770. var DESCRIPTORS = _dereq_(29);
  1771. var SPECIES = _dereq_(128)('species');
  1772. module.exports = function (KEY) {
  1773. var C = global[KEY];
  1774. if (DESCRIPTORS && C && !C[SPECIES]) dP.f(C, SPECIES, {
  1775. configurable: true,
  1776. get: function () { return this; }
  1777. });
  1778. };
  1779. },{"128":128,"29":29,"40":40,"72":72}],101:[function(_dereq_,module,exports){
  1780. var def = _dereq_(72).f;
  1781. var has = _dereq_(41);
  1782. var TAG = _dereq_(128)('toStringTag');
  1783. module.exports = function (it, tag, stat) {
  1784. if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag });
  1785. };
  1786. },{"128":128,"41":41,"72":72}],102:[function(_dereq_,module,exports){
  1787. var shared = _dereq_(103)('keys');
  1788. var uid = _dereq_(124);
  1789. module.exports = function (key) {
  1790. return shared[key] || (shared[key] = uid(key));
  1791. };
  1792. },{"103":103,"124":124}],103:[function(_dereq_,module,exports){
  1793. var global = _dereq_(40);
  1794. var SHARED = '__core-js_shared__';
  1795. var store = global[SHARED] || (global[SHARED] = {});
  1796. module.exports = function (key) {
  1797. return store[key] || (store[key] = {});
  1798. };
  1799. },{"40":40}],104:[function(_dereq_,module,exports){
  1800. // 7.3.20 SpeciesConstructor(O, defaultConstructor)
  1801. var anObject = _dereq_(7);
  1802. var aFunction = _dereq_(3);
  1803. var SPECIES = _dereq_(128)('species');
  1804. module.exports = function (O, D) {
  1805. var C = anObject(O).constructor;
  1806. var S;
  1807. return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S);
  1808. };
  1809. },{"128":128,"3":3,"7":7}],105:[function(_dereq_,module,exports){
  1810. 'use strict';
  1811. var fails = _dereq_(35);
  1812. module.exports = function (method, arg) {
  1813. return !!method && fails(function () {
  1814. // eslint-disable-next-line no-useless-call
  1815. arg ? method.call(null, function () { /* empty */ }, 1) : method.call(null);
  1816. });
  1817. };
  1818. },{"35":35}],106:[function(_dereq_,module,exports){
  1819. var toInteger = _dereq_(116);
  1820. var defined = _dereq_(28);
  1821. // true -> String#at
  1822. // false -> String#codePointAt
  1823. module.exports = function (TO_STRING) {
  1824. return function (that, pos) {
  1825. var s = String(defined(that));
  1826. var i = toInteger(pos);
  1827. var l = s.length;
  1828. var a, b;
  1829. if (i < 0 || i >= l) return TO_STRING ? '' : undefined;
  1830. a = s.charCodeAt(i);
  1831. return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff
  1832. ? TO_STRING ? s.charAt(i) : a
  1833. : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;
  1834. };
  1835. };
  1836. },{"116":116,"28":28}],107:[function(_dereq_,module,exports){
  1837. // helper for String#{startsWith, endsWith, includes}
  1838. var isRegExp = _dereq_(52);
  1839. var defined = _dereq_(28);
  1840. module.exports = function (that, searchString, NAME) {
  1841. if (isRegExp(searchString)) throw TypeError('String#' + NAME + " doesn't accept regex!");
  1842. return String(defined(that));
  1843. };
  1844. },{"28":28,"52":52}],108:[function(_dereq_,module,exports){
  1845. var $export = _dereq_(33);
  1846. var fails = _dereq_(35);
  1847. var defined = _dereq_(28);
  1848. var quot = /"/g;
  1849. // B.2.3.2.1 CreateHTML(string, tag, attribute, value)
  1850. var createHTML = function (string, tag, attribute, value) {
  1851. var S = String(defined(string));
  1852. var p1 = '<' + tag;
  1853. if (attribute !== '') p1 += ' ' + attribute + '="' + String(value).replace(quot, '&quot;') + '"';
  1854. return p1 + '>' + S + '</' + tag + '>';
  1855. };
  1856. module.exports = function (NAME, exec) {
  1857. var O = {};
  1858. O[NAME] = exec(createHTML);
  1859. $export($export.P + $export.F * fails(function () {
  1860. var test = ''[NAME]('"');
  1861. return test !== test.toLowerCase() || test.split('"').length > 3;
  1862. }), 'String', O);
  1863. };
  1864. },{"28":28,"33":33,"35":35}],109:[function(_dereq_,module,exports){
  1865. // https://github.com/tc39/proposal-string-pad-start-end
  1866. var toLength = _dereq_(118);
  1867. var repeat = _dereq_(110);
  1868. var defined = _dereq_(28);
  1869. module.exports = function (that, maxLength, fillString, left) {
  1870. var S = String(defined(that));
  1871. var stringLength = S.length;
  1872. var fillStr = fillString === undefined ? ' ' : String(fillString);
  1873. var intMaxLength = toLength(maxLength);
  1874. if (intMaxLength <= stringLength || fillStr == '') return S;
  1875. var fillLen = intMaxLength - stringLength;
  1876. var stringFiller = repeat.call(fillStr, Math.ceil(fillLen / fillStr.length));
  1877. if (stringFiller.length > fillLen) stringFiller = stringFiller.slice(0, fillLen);
  1878. return left ? stringFiller + S : S + stringFiller;
  1879. };
  1880. },{"110":110,"118":118,"28":28}],110:[function(_dereq_,module,exports){
  1881. 'use strict';
  1882. var toInteger = _dereq_(116);
  1883. var defined = _dereq_(28);
  1884. module.exports = function repeat(count) {
  1885. var str = String(defined(this));
  1886. var res = '';
  1887. var n = toInteger(count);
  1888. if (n < 0 || n == Infinity) throw RangeError("Count can't be negative");
  1889. for (;n > 0; (n >>>= 1) && (str += str)) if (n & 1) res += str;
  1890. return res;
  1891. };
  1892. },{"116":116,"28":28}],111:[function(_dereq_,module,exports){
  1893. var $export = _dereq_(33);
  1894. var defined = _dereq_(28);
  1895. var fails = _dereq_(35);
  1896. var spaces = _dereq_(112);
  1897. var space = '[' + spaces + ']';
  1898. var non = '\u200b\u0085';
  1899. var ltrim = RegExp('^' + space + space + '*');
  1900. var rtrim = RegExp(space + space + '*$');
  1901. var exporter = function (KEY, exec, ALIAS) {
  1902. var exp = {};
  1903. var FORCE = fails(function () {
  1904. return !!spaces[KEY]() || non[KEY]() != non;
  1905. });
  1906. var fn = exp[KEY] = FORCE ? exec(trim) : spaces[KEY];
  1907. if (ALIAS) exp[ALIAS] = fn;
  1908. $export($export.P + $export.F * FORCE, 'String', exp);
  1909. };
  1910. // 1 -> String#trimLeft
  1911. // 2 -> String#trimRight
  1912. // 3 -> String#trim
  1913. var trim = exporter.trim = function (string, TYPE) {
  1914. string = String(defined(string));
  1915. if (TYPE & 1) string = string.replace(ltrim, '');
  1916. if (TYPE & 2) string = string.replace(rtrim, '');
  1917. return string;
  1918. };
  1919. module.exports = exporter;
  1920. },{"112":112,"28":28,"33":33,"35":35}],112:[function(_dereq_,module,exports){
  1921. module.exports = '\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003' +
  1922. '\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
  1923. },{}],113:[function(_dereq_,module,exports){
  1924. var ctx = _dereq_(25);
  1925. var invoke = _dereq_(46);
  1926. var html = _dereq_(43);
  1927. var cel = _dereq_(30);
  1928. var global = _dereq_(40);
  1929. var process = global.process;
  1930. var setTask = global.setImmediate;
  1931. var clearTask = global.clearImmediate;
  1932. var MessageChannel = global.MessageChannel;
  1933. var Dispatch = global.Dispatch;
  1934. var counter = 0;
  1935. var queue = {};
  1936. var ONREADYSTATECHANGE = 'onreadystatechange';
  1937. var defer, channel, port;
  1938. var run = function () {
  1939. var id = +this;
  1940. // eslint-disable-next-line no-prototype-builtins
  1941. if (queue.hasOwnProperty(id)) {
  1942. var fn = queue[id];
  1943. delete queue[id];
  1944. fn();
  1945. }
  1946. };
  1947. var listener = function (event) {
  1948. run.call(event.data);
  1949. };
  1950. // Node.js 0.9+ & IE10+ has setImmediate, otherwise:
  1951. if (!setTask || !clearTask) {
  1952. setTask = function setImmediate(fn) {
  1953. var args = [];
  1954. var i = 1;
  1955. while (arguments.length > i) args.push(arguments[i++]);
  1956. queue[++counter] = function () {
  1957. // eslint-disable-next-line no-new-func
  1958. invoke(typeof fn == 'function' ? fn : Function(fn), args);
  1959. };
  1960. defer(counter);
  1961. return counter;
  1962. };
  1963. clearTask = function clearImmediate(id) {
  1964. delete queue[id];
  1965. };
  1966. // Node.js 0.8-
  1967. if (_dereq_(18)(process) == 'process') {
  1968. defer = function (id) {
  1969. process.nextTick(ctx(run, id, 1));
  1970. };
  1971. // Sphere (JS game engine) Dispatch API
  1972. } else if (Dispatch && Dispatch.now) {
  1973. defer = function (id) {
  1974. Dispatch.now(ctx(run, id, 1));
  1975. };
  1976. // Browsers with MessageChannel, includes WebWorkers
  1977. } else if (MessageChannel) {
  1978. channel = new MessageChannel();
  1979. port = channel.port2;
  1980. channel.port1.onmessage = listener;
  1981. defer = ctx(port.postMessage, port, 1);
  1982. // Browsers with postMessage, skip WebWorkers
  1983. // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
  1984. } else if (global.addEventListener && typeof postMessage == 'function' && !global.importScripts) {
  1985. defer = function (id) {
  1986. global.postMessage(id + '', '*');
  1987. };
  1988. global.addEventListener('message', listener, false);
  1989. // IE8-
  1990. } else if (ONREADYSTATECHANGE in cel('script')) {
  1991. defer = function (id) {
  1992. html.appendChild(cel('script'))[ONREADYSTATECHANGE] = function () {
  1993. html.removeChild(this);
  1994. run.call(id);
  1995. };
  1996. };
  1997. // Rest old browsers
  1998. } else {
  1999. defer = function (id) {
  2000. setTimeout(ctx(run, id, 1), 0);
  2001. };
  2002. }
  2003. }
  2004. module.exports = {
  2005. set: setTask,
  2006. clear: clearTask
  2007. };
  2008. },{"18":18,"25":25,"30":30,"40":40,"43":43,"46":46}],114:[function(_dereq_,module,exports){
  2009. var toInteger = _dereq_(116);
  2010. var max = Math.max;
  2011. var min = Math.min;
  2012. module.exports = function (index, length) {
  2013. index = toInteger(index);
  2014. return index < 0 ? max(index + length, 0) : min(index, length);
  2015. };
  2016. },{"116":116}],115:[function(_dereq_,module,exports){
  2017. // https://tc39.github.io/ecma262/#sec-toindex
  2018. var toInteger = _dereq_(116);
  2019. var toLength = _dereq_(118);
  2020. module.exports = function (it) {
  2021. if (it === undefined) return 0;
  2022. var number = toInteger(it);
  2023. var length = toLength(number);
  2024. if (number !== length) throw RangeError('Wrong length!');
  2025. return length;
  2026. };
  2027. },{"116":116,"118":118}],116:[function(_dereq_,module,exports){
  2028. // 7.1.4 ToInteger
  2029. var ceil = Math.ceil;
  2030. var floor = Math.floor;
  2031. module.exports = function (it) {
  2032. return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);
  2033. };
  2034. },{}],117:[function(_dereq_,module,exports){
  2035. // to indexed object, toObject with fallback for non-array-like ES3 strings
  2036. var IObject = _dereq_(47);
  2037. var defined = _dereq_(28);
  2038. module.exports = function (it) {
  2039. return IObject(defined(it));
  2040. };
  2041. },{"28":28,"47":47}],118:[function(_dereq_,module,exports){
  2042. // 7.1.15 ToLength
  2043. var toInteger = _dereq_(116);
  2044. var min = Math.min;
  2045. module.exports = function (it) {
  2046. return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991
  2047. };
  2048. },{"116":116}],119:[function(_dereq_,module,exports){
  2049. // 7.1.13 ToObject(argument)
  2050. var defined = _dereq_(28);
  2051. module.exports = function (it) {
  2052. return Object(defined(it));
  2053. };
  2054. },{"28":28}],120:[function(_dereq_,module,exports){
  2055. // 7.1.1 ToPrimitive(input [, PreferredType])
  2056. var isObject = _dereq_(51);
  2057. // instead of the ES6 spec version, we didn't implement @@toPrimitive case
  2058. // and the second argument - flag - preferred type is a string
  2059. module.exports = function (it, S) {
  2060. if (!isObject(it)) return it;
  2061. var fn, val;
  2062. if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
  2063. if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;
  2064. if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
  2065. throw TypeError("Can't convert object to primitive value");
  2066. };
  2067. },{"51":51}],121:[function(_dereq_,module,exports){
  2068. 'use strict';
  2069. if (_dereq_(29)) {
  2070. var LIBRARY = _dereq_(60);
  2071. var global = _dereq_(40);
  2072. var fails = _dereq_(35);
  2073. var $export = _dereq_(33);
  2074. var $typed = _dereq_(123);
  2075. var $buffer = _dereq_(122);
  2076. var ctx = _dereq_(25);
  2077. var anInstance = _dereq_(6);
  2078. var propertyDesc = _dereq_(92);
  2079. var hide = _dereq_(42);
  2080. var redefineAll = _dereq_(93);
  2081. var toInteger = _dereq_(116);
  2082. var toLength = _dereq_(118);
  2083. var toIndex = _dereq_(115);
  2084. var toAbsoluteIndex = _dereq_(114);
  2085. var toPrimitive = _dereq_(120);
  2086. var has = _dereq_(41);
  2087. var classof = _dereq_(17);
  2088. var isObject = _dereq_(51);
  2089. var toObject = _dereq_(119);
  2090. var isArrayIter = _dereq_(48);
  2091. var create = _dereq_(71);
  2092. var getPrototypeOf = _dereq_(79);
  2093. var gOPN = _dereq_(77).f;
  2094. var getIterFn = _dereq_(129);
  2095. var uid = _dereq_(124);
  2096. var wks = _dereq_(128);
  2097. var createArrayMethod = _dereq_(12);
  2098. var createArrayIncludes = _dereq_(11);
  2099. var speciesConstructor = _dereq_(104);
  2100. var ArrayIterators = _dereq_(141);
  2101. var Iterators = _dereq_(58);
  2102. var $iterDetect = _dereq_(56);
  2103. var setSpecies = _dereq_(100);
  2104. var arrayFill = _dereq_(9);
  2105. var arrayCopyWithin = _dereq_(8);
  2106. var $DP = _dereq_(72);
  2107. var $GOPD = _dereq_(75);
  2108. var dP = $DP.f;
  2109. var gOPD = $GOPD.f;
  2110. var RangeError = global.RangeError;
  2111. var TypeError = global.TypeError;
  2112. var Uint8Array = global.Uint8Array;
  2113. var ARRAY_BUFFER = 'ArrayBuffer';
  2114. var SHARED_BUFFER = 'Shared' + ARRAY_BUFFER;
  2115. var BYTES_PER_ELEMENT = 'BYTES_PER_ELEMENT';
  2116. var PROTOTYPE = 'prototype';
  2117. var ArrayProto = Array[PROTOTYPE];
  2118. var $ArrayBuffer = $buffer.ArrayBuffer;
  2119. var $DataView = $buffer.DataView;
  2120. var arrayForEach = createArrayMethod(0);
  2121. var arrayFilter = createArrayMethod(2);
  2122. var arraySome = createArrayMethod(3);
  2123. var arrayEvery = createArrayMethod(4);
  2124. var arrayFind = createArrayMethod(5);
  2125. var arrayFindIndex = createArrayMethod(6);
  2126. var arrayIncludes = createArrayIncludes(true);
  2127. var arrayIndexOf = createArrayIncludes(false);
  2128. var arrayValues = ArrayIterators.values;
  2129. var arrayKeys = ArrayIterators.keys;
  2130. var arrayEntries = ArrayIterators.entries;
  2131. var arrayLastIndexOf = ArrayProto.lastIndexOf;
  2132. var arrayReduce = ArrayProto.reduce;
  2133. var arrayReduceRight = ArrayProto.reduceRight;
  2134. var arrayJoin = ArrayProto.join;
  2135. var arraySort = ArrayProto.sort;
  2136. var arraySlice = ArrayProto.slice;
  2137. var arrayToString = ArrayProto.toString;
  2138. var arrayToLocaleString = ArrayProto.toLocaleString;
  2139. var ITERATOR = wks('iterator');
  2140. var TAG = wks('toStringTag');
  2141. var TYPED_CONSTRUCTOR = uid('typed_constructor');
  2142. var DEF_CONSTRUCTOR = uid('def_constructor');
  2143. var ALL_CONSTRUCTORS = $typed.CONSTR;
  2144. var TYPED_ARRAY = $typed.TYPED;
  2145. var VIEW = $typed.VIEW;
  2146. var WRONG_LENGTH = 'Wrong length!';
  2147. var $map = createArrayMethod(1, function (O, length) {
  2148. return allocate(speciesConstructor(O, O[DEF_CONSTRUCTOR]), length);
  2149. });
  2150. var LITTLE_ENDIAN = fails(function () {
  2151. // eslint-disable-next-line no-undef
  2152. return new Uint8Array(new Uint16Array([1]).buffer)[0] === 1;
  2153. });
  2154. var FORCED_SET = !!Uint8Array && !!Uint8Array[PROTOTYPE].set && fails(function () {
  2155. new Uint8Array(1).set({});
  2156. });
  2157. var toOffset = function (it, BYTES) {
  2158. var offset = toInteger(it);
  2159. if (offset < 0 || offset % BYTES) throw RangeError('Wrong offset!');
  2160. return offset;
  2161. };
  2162. var validate = function (it) {
  2163. if (isObject(it) && TYPED_ARRAY in it) return it;
  2164. throw TypeError(it + ' is not a typed array!');
  2165. };
  2166. var allocate = function (C, length) {
  2167. if (!(isObject(C) && TYPED_CONSTRUCTOR in C)) {
  2168. throw TypeError('It is not a typed array constructor!');
  2169. } return new C(length);
  2170. };
  2171. var speciesFromList = function (O, list) {
  2172. return fromList(speciesConstructor(O, O[DEF_CONSTRUCTOR]), list);
  2173. };
  2174. var fromList = function (C, list) {
  2175. var index = 0;
  2176. var length = list.length;
  2177. var result = allocate(C, length);
  2178. while (length > index) result[index] = list[index++];
  2179. return result;
  2180. };
  2181. var addGetter = function (it, key, internal) {
  2182. dP(it, key, { get: function () { return this._d[internal]; } });
  2183. };
  2184. var $from = function from(source /* , mapfn, thisArg */) {
  2185. var O = toObject(source);
  2186. var aLen = arguments.length;
  2187. var mapfn = aLen > 1 ? arguments[1] : undefined;
  2188. var mapping = mapfn !== undefined;
  2189. var iterFn = getIterFn(O);
  2190. var i, length, values, result, step, iterator;
  2191. if (iterFn != undefined && !isArrayIter(iterFn)) {
  2192. for (iterator = iterFn.call(O), values = [], i = 0; !(step = iterator.next()).done; i++) {
  2193. values.push(step.value);
  2194. } O = values;
  2195. }
  2196. if (mapping && aLen > 2) mapfn = ctx(mapfn, arguments[2], 2);
  2197. for (i = 0, length = toLength(O.length), result = allocate(this, length); length > i; i++) {
  2198. result[i] = mapping ? mapfn(O[i], i) : O[i];
  2199. }
  2200. return result;
  2201. };
  2202. var $of = function of(/* ...items */) {
  2203. var index = 0;
  2204. var length = arguments.length;
  2205. var result = allocate(this, length);
  2206. while (length > index) result[index] = arguments[index++];
  2207. return result;
  2208. };
  2209. // iOS Safari 6.x fails here
  2210. var TO_LOCALE_BUG = !!Uint8Array && fails(function () { arrayToLocaleString.call(new Uint8Array(1)); });
  2211. var $toLocaleString = function toLocaleString() {
  2212. return arrayToLocaleString.apply(TO_LOCALE_BUG ? arraySlice.call(validate(this)) : validate(this), arguments);
  2213. };
  2214. var proto = {
  2215. copyWithin: function copyWithin(target, start /* , end */) {
  2216. return arrayCopyWithin.call(validate(this), target, start, arguments.length > 2 ? arguments[2] : undefined);
  2217. },
  2218. every: function every(callbackfn /* , thisArg */) {
  2219. return arrayEvery(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);
  2220. },
  2221. fill: function fill(value /* , start, end */) { // eslint-disable-line no-unused-vars
  2222. return arrayFill.apply(validate(this), arguments);
  2223. },
  2224. filter: function filter(callbackfn /* , thisArg */) {
  2225. return speciesFromList(this, arrayFilter(validate(this), callbackfn,
  2226. arguments.length > 1 ? arguments[1] : undefined));
  2227. },
  2228. find: function find(predicate /* , thisArg */) {
  2229. return arrayFind(validate(this), predicate, arguments.length > 1 ? arguments[1] : undefined);
  2230. },
  2231. findIndex: function findIndex(predicate /* , thisArg */) {
  2232. return arrayFindIndex(validate(this), predicate, arguments.length > 1 ? arguments[1] : undefined);
  2233. },
  2234. forEach: function forEach(callbackfn /* , thisArg */) {
  2235. arrayForEach(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);
  2236. },
  2237. indexOf: function indexOf(searchElement /* , fromIndex */) {
  2238. return arrayIndexOf(validate(this), searchElement, arguments.length > 1 ? arguments[1] : undefined);
  2239. },
  2240. includes: function includes(searchElement /* , fromIndex */) {
  2241. return arrayIncludes(validate(this), searchElement, arguments.length > 1 ? arguments[1] : undefined);
  2242. },
  2243. join: function join(separator) { // eslint-disable-line no-unused-vars
  2244. return arrayJoin.apply(validate(this), arguments);
  2245. },
  2246. lastIndexOf: function lastIndexOf(searchElement /* , fromIndex */) { // eslint-disable-line no-unused-vars
  2247. return arrayLastIndexOf.apply(validate(this), arguments);
  2248. },
  2249. map: function map(mapfn /* , thisArg */) {
  2250. return $map(validate(this), mapfn, arguments.length > 1 ? arguments[1] : undefined);
  2251. },
  2252. reduce: function reduce(callbackfn /* , initialValue */) { // eslint-disable-line no-unused-vars
  2253. return arrayReduce.apply(validate(this), arguments);
  2254. },
  2255. reduceRight: function reduceRight(callbackfn /* , initialValue */) { // eslint-disable-line no-unused-vars
  2256. return arrayReduceRight.apply(validate(this), arguments);
  2257. },
  2258. reverse: function reverse() {
  2259. var that = this;
  2260. var length = validate(that).length;
  2261. var middle = Math.floor(length / 2);
  2262. var index = 0;
  2263. var value;
  2264. while (index < middle) {
  2265. value = that[index];
  2266. that[index++] = that[--length];
  2267. that[length] = value;
  2268. } return that;
  2269. },
  2270. some: function some(callbackfn /* , thisArg */) {
  2271. return arraySome(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);
  2272. },
  2273. sort: function sort(comparefn) {
  2274. return arraySort.call(validate(this), comparefn);
  2275. },
  2276. subarray: function subarray(begin, end) {
  2277. var O = validate(this);
  2278. var length = O.length;
  2279. var $begin = toAbsoluteIndex(begin, length);
  2280. return new (speciesConstructor(O, O[DEF_CONSTRUCTOR]))(
  2281. O.buffer,
  2282. O.byteOffset + $begin * O.BYTES_PER_ELEMENT,
  2283. toLength((end === undefined ? length : toAbsoluteIndex(end, length)) - $begin)
  2284. );
  2285. }
  2286. };
  2287. var $slice = function slice(start, end) {
  2288. return speciesFromList(this, arraySlice.call(validate(this), start, end));
  2289. };
  2290. var $set = function set(arrayLike /* , offset */) {
  2291. validate(this);
  2292. var offset = toOffset(arguments[1], 1);
  2293. var length = this.length;
  2294. var src = toObject(arrayLike);
  2295. var len = toLength(src.length);
  2296. var index = 0;
  2297. if (len + offset > length) throw RangeError(WRONG_LENGTH);
  2298. while (index < len) this[offset + index] = src[index++];
  2299. };
  2300. var $iterators = {
  2301. entries: function entries() {
  2302. return arrayEntries.call(validate(this));
  2303. },
  2304. keys: function keys() {
  2305. return arrayKeys.call(validate(this));
  2306. },
  2307. values: function values() {
  2308. return arrayValues.call(validate(this));
  2309. }
  2310. };
  2311. var isTAIndex = function (target, key) {
  2312. return isObject(target)
  2313. && target[TYPED_ARRAY]
  2314. && typeof key != 'symbol'
  2315. && key in target
  2316. && String(+key) == String(key);
  2317. };
  2318. var $getDesc = function getOwnPropertyDescriptor(target, key) {
  2319. return isTAIndex(target, key = toPrimitive(key, true))
  2320. ? propertyDesc(2, target[key])
  2321. : gOPD(target, key);
  2322. };
  2323. var $setDesc = function defineProperty(target, key, desc) {
  2324. if (isTAIndex(target, key = toPrimitive(key, true))
  2325. && isObject(desc)
  2326. && has(desc, 'value')
  2327. && !has(desc, 'get')
  2328. && !has(desc, 'set')
  2329. // TODO: add validation descriptor w/o calling accessors
  2330. && !desc.configurable
  2331. && (!has(desc, 'writable') || desc.writable)
  2332. && (!has(desc, 'enumerable') || desc.enumerable)
  2333. ) {
  2334. target[key] = desc.value;
  2335. return target;
  2336. } return dP(target, key, desc);
  2337. };
  2338. if (!ALL_CONSTRUCTORS) {
  2339. $GOPD.f = $getDesc;
  2340. $DP.f = $setDesc;
  2341. }
  2342. $export($export.S + $export.F * !ALL_CONSTRUCTORS, 'Object', {
  2343. getOwnPropertyDescriptor: $getDesc,
  2344. defineProperty: $setDesc
  2345. });
  2346. if (fails(function () { arrayToString.call({}); })) {
  2347. arrayToString = arrayToLocaleString = function toString() {
  2348. return arrayJoin.call(this);
  2349. };
  2350. }
  2351. var $TypedArrayPrototype$ = redefineAll({}, proto);
  2352. redefineAll($TypedArrayPrototype$, $iterators);
  2353. hide($TypedArrayPrototype$, ITERATOR, $iterators.values);
  2354. redefineAll($TypedArrayPrototype$, {
  2355. slice: $slice,
  2356. set: $set,
  2357. constructor: function () { /* noop */ },
  2358. toString: arrayToString,
  2359. toLocaleString: $toLocaleString
  2360. });
  2361. addGetter($TypedArrayPrototype$, 'buffer', 'b');
  2362. addGetter($TypedArrayPrototype$, 'byteOffset', 'o');
  2363. addGetter($TypedArrayPrototype$, 'byteLength', 'l');
  2364. addGetter($TypedArrayPrototype$, 'length', 'e');
  2365. dP($TypedArrayPrototype$, TAG, {
  2366. get: function () { return this[TYPED_ARRAY]; }
  2367. });
  2368. // eslint-disable-next-line max-statements
  2369. module.exports = function (KEY, BYTES, wrapper, CLAMPED) {
  2370. CLAMPED = !!CLAMPED;
  2371. var NAME = KEY + (CLAMPED ? 'Clamped' : '') + 'Array';
  2372. var GETTER = 'get' + KEY;
  2373. var SETTER = 'set' + KEY;
  2374. var TypedArray = global[NAME];
  2375. var Base = TypedArray || {};
  2376. var TAC = TypedArray && getPrototypeOf(TypedArray);
  2377. var FORCED = !TypedArray || !$typed.ABV;
  2378. var O = {};
  2379. var TypedArrayPrototype = TypedArray && TypedArray[PROTOTYPE];
  2380. var getter = function (that, index) {
  2381. var data = that._d;
  2382. return data.v[GETTER](index * BYTES + data.o, LITTLE_ENDIAN);
  2383. };
  2384. var setter = function (that, index, value) {
  2385. var data = that._d;
  2386. if (CLAMPED) value = (value = Math.round(value)) < 0 ? 0 : value > 0xff ? 0xff : value & 0xff;
  2387. data.v[SETTER](index * BYTES + data.o, value, LITTLE_ENDIAN);
  2388. };
  2389. var addElement = function (that, index) {
  2390. dP(that, index, {
  2391. get: function () {
  2392. return getter(this, index);
  2393. },
  2394. set: function (value) {
  2395. return setter(this, index, value);
  2396. },
  2397. enumerable: true
  2398. });
  2399. };
  2400. if (FORCED) {
  2401. TypedArray = wrapper(function (that, data, $offset, $length) {
  2402. anInstance(that, TypedArray, NAME, '_d');
  2403. var index = 0;
  2404. var offset = 0;
  2405. var buffer, byteLength, length, klass;
  2406. if (!isObject(data)) {
  2407. length = toIndex(data);
  2408. byteLength = length * BYTES;
  2409. buffer = new $ArrayBuffer(byteLength);
  2410. } else if (data instanceof $ArrayBuffer || (klass = classof(data)) == ARRAY_BUFFER || klass == SHARED_BUFFER) {
  2411. buffer = data;
  2412. offset = toOffset($offset, BYTES);
  2413. var $len = data.byteLength;
  2414. if ($length === undefined) {
  2415. if ($len % BYTES) throw RangeError(WRONG_LENGTH);
  2416. byteLength = $len - offset;
  2417. if (byteLength < 0) throw RangeError(WRONG_LENGTH);
  2418. } else {
  2419. byteLength = toLength($length) * BYTES;
  2420. if (byteLength + offset > $len) throw RangeError(WRONG_LENGTH);
  2421. }
  2422. length = byteLength / BYTES;
  2423. } else if (TYPED_ARRAY in data) {
  2424. return fromList(TypedArray, data);
  2425. } else {
  2426. return $from.call(TypedArray, data);
  2427. }
  2428. hide(that, '_d', {
  2429. b: buffer,
  2430. o: offset,
  2431. l: byteLength,
  2432. e: length,
  2433. v: new $DataView(buffer)
  2434. });
  2435. while (index < length) addElement(that, index++);
  2436. });
  2437. TypedArrayPrototype = TypedArray[PROTOTYPE] = create($TypedArrayPrototype$);
  2438. hide(TypedArrayPrototype, 'constructor', TypedArray);
  2439. } else if (!fails(function () {
  2440. TypedArray(1);
  2441. }) || !fails(function () {
  2442. new TypedArray(-1); // eslint-disable-line no-new
  2443. }) || !$iterDetect(function (iter) {
  2444. new TypedArray(); // eslint-disable-line no-new
  2445. new TypedArray(null); // eslint-disable-line no-new
  2446. new TypedArray(1.5); // eslint-disable-line no-new
  2447. new TypedArray(iter); // eslint-disable-line no-new
  2448. }, true)) {
  2449. TypedArray = wrapper(function (that, data, $offset, $length) {
  2450. anInstance(that, TypedArray, NAME);
  2451. var klass;
  2452. // `ws` module bug, temporarily remove validation length for Uint8Array
  2453. // https://github.com/websockets/ws/pull/645
  2454. if (!isObject(data)) return new Base(toIndex(data));
  2455. if (data instanceof $ArrayBuffer || (klass = classof(data)) == ARRAY_BUFFER || klass == SHARED_BUFFER) {
  2456. return $length !== undefined
  2457. ? new Base(data, toOffset($offset, BYTES), $length)
  2458. : $offset !== undefined
  2459. ? new Base(data, toOffset($offset, BYTES))
  2460. : new Base(data);
  2461. }
  2462. if (TYPED_ARRAY in data) return fromList(TypedArray, data);
  2463. return $from.call(TypedArray, data);
  2464. });
  2465. arrayForEach(TAC !== Function.prototype ? gOPN(Base).concat(gOPN(TAC)) : gOPN(Base), function (key) {
  2466. if (!(key in TypedArray)) hide(TypedArray, key, Base[key]);
  2467. });
  2468. TypedArray[PROTOTYPE] = TypedArrayPrototype;
  2469. if (!LIBRARY) TypedArrayPrototype.constructor = TypedArray;
  2470. }
  2471. var $nativeIterator = TypedArrayPrototype[ITERATOR];
  2472. var CORRECT_ITER_NAME = !!$nativeIterator
  2473. && ($nativeIterator.name == 'values' || $nativeIterator.name == undefined);
  2474. var $iterator = $iterators.values;
  2475. hide(TypedArray, TYPED_CONSTRUCTOR, true);
  2476. hide(TypedArrayPrototype, TYPED_ARRAY, NAME);
  2477. hide(TypedArrayPrototype, VIEW, true);
  2478. hide(TypedArrayPrototype, DEF_CONSTRUCTOR, TypedArray);
  2479. if (CLAMPED ? new TypedArray(1)[TAG] != NAME : !(TAG in TypedArrayPrototype)) {
  2480. dP(TypedArrayPrototype, TAG, {
  2481. get: function () { return NAME; }
  2482. });
  2483. }
  2484. O[NAME] = TypedArray;
  2485. $export($export.G + $export.W + $export.F * (TypedArray != Base), O);
  2486. $export($export.S, NAME, {
  2487. BYTES_PER_ELEMENT: BYTES
  2488. });
  2489. $export($export.S + $export.F * fails(function () { Base.of.call(TypedArray, 1); }), NAME, {
  2490. from: $from,
  2491. of: $of
  2492. });
  2493. if (!(BYTES_PER_ELEMENT in TypedArrayPrototype)) hide(TypedArrayPrototype, BYTES_PER_ELEMENT, BYTES);
  2494. $export($export.P, NAME, proto);
  2495. setSpecies(NAME);
  2496. $export($export.P + $export.F * FORCED_SET, NAME, { set: $set });
  2497. $export($export.P + $export.F * !CORRECT_ITER_NAME, NAME, $iterators);
  2498. if (!LIBRARY && TypedArrayPrototype.toString != arrayToString) TypedArrayPrototype.toString = arrayToString;
  2499. $export($export.P + $export.F * fails(function () {
  2500. new TypedArray(1).slice();
  2501. }), NAME, { slice: $slice });
  2502. $export($export.P + $export.F * (fails(function () {
  2503. return [1, 2].toLocaleString() != new TypedArray([1, 2]).toLocaleString();
  2504. }) || !fails(function () {
  2505. TypedArrayPrototype.toLocaleString.call([1, 2]);
  2506. })), NAME, { toLocaleString: $toLocaleString });
  2507. Iterators[NAME] = CORRECT_ITER_NAME ? $nativeIterator : $iterator;
  2508. if (!LIBRARY && !CORRECT_ITER_NAME) hide(TypedArrayPrototype, ITERATOR, $iterator);
  2509. };
  2510. } else module.exports = function () { /* empty */ };
  2511. },{"100":100,"104":104,"11":11,"114":114,"115":115,"116":116,"118":118,"119":119,"12":12,"120":120,"122":122,"123":123,"124":124,"128":128,"129":129,"141":141,"17":17,"25":25,"29":29,"33":33,"35":35,"40":40,"41":41,"42":42,"48":48,"51":51,"56":56,"58":58,"6":6,"60":60,"71":71,"72":72,"75":75,"77":77,"79":79,"8":8,"9":9,"92":92,"93":93}],122:[function(_dereq_,module,exports){
  2512. 'use strict';
  2513. var global = _dereq_(40);
  2514. var DESCRIPTORS = _dereq_(29);
  2515. var LIBRARY = _dereq_(60);
  2516. var $typed = _dereq_(123);
  2517. var hide = _dereq_(42);
  2518. var redefineAll = _dereq_(93);
  2519. var fails = _dereq_(35);
  2520. var anInstance = _dereq_(6);
  2521. var toInteger = _dereq_(116);
  2522. var toLength = _dereq_(118);
  2523. var toIndex = _dereq_(115);
  2524. var gOPN = _dereq_(77).f;
  2525. var dP = _dereq_(72).f;
  2526. var arrayFill = _dereq_(9);
  2527. var setToStringTag = _dereq_(101);
  2528. var ARRAY_BUFFER = 'ArrayBuffer';
  2529. var DATA_VIEW = 'DataView';
  2530. var PROTOTYPE = 'prototype';
  2531. var WRONG_LENGTH = 'Wrong length!';
  2532. var WRONG_INDEX = 'Wrong index!';
  2533. var $ArrayBuffer = global[ARRAY_BUFFER];
  2534. var $DataView = global[DATA_VIEW];
  2535. var Math = global.Math;
  2536. var RangeError = global.RangeError;
  2537. // eslint-disable-next-line no-shadow-restricted-names
  2538. var Infinity = global.Infinity;
  2539. var BaseBuffer = $ArrayBuffer;
  2540. var abs = Math.abs;
  2541. var pow = Math.pow;
  2542. var floor = Math.floor;
  2543. var log = Math.log;
  2544. var LN2 = Math.LN2;
  2545. var BUFFER = 'buffer';
  2546. var BYTE_LENGTH = 'byteLength';
  2547. var BYTE_OFFSET = 'byteOffset';
  2548. var $BUFFER = DESCRIPTORS ? '_b' : BUFFER;
  2549. var $LENGTH = DESCRIPTORS ? '_l' : BYTE_LENGTH;
  2550. var $OFFSET = DESCRIPTORS ? '_o' : BYTE_OFFSET;
  2551. // IEEE754 conversions based on https://github.com/feross/ieee754
  2552. function packIEEE754(value, mLen, nBytes) {
  2553. var buffer = Array(nBytes);
  2554. var eLen = nBytes * 8 - mLen - 1;
  2555. var eMax = (1 << eLen) - 1;
  2556. var eBias = eMax >> 1;
  2557. var rt = mLen === 23 ? pow(2, -24) - pow(2, -77) : 0;
  2558. var i = 0;
  2559. var s = value < 0 || value === 0 && 1 / value < 0 ? 1 : 0;
  2560. var e, m, c;
  2561. value = abs(value);
  2562. // eslint-disable-next-line no-self-compare
  2563. if (value != value || value === Infinity) {
  2564. // eslint-disable-next-line no-self-compare
  2565. m = value != value ? 1 : 0;
  2566. e = eMax;
  2567. } else {
  2568. e = floor(log(value) / LN2);
  2569. if (value * (c = pow(2, -e)) < 1) {
  2570. e--;
  2571. c *= 2;
  2572. }
  2573. if (e + eBias >= 1) {
  2574. value += rt / c;
  2575. } else {
  2576. value += rt * pow(2, 1 - eBias);
  2577. }
  2578. if (value * c >= 2) {
  2579. e++;
  2580. c /= 2;
  2581. }
  2582. if (e + eBias >= eMax) {
  2583. m = 0;
  2584. e = eMax;
  2585. } else if (e + eBias >= 1) {
  2586. m = (value * c - 1) * pow(2, mLen);
  2587. e = e + eBias;
  2588. } else {
  2589. m = value * pow(2, eBias - 1) * pow(2, mLen);
  2590. e = 0;
  2591. }
  2592. }
  2593. for (; mLen >= 8; buffer[i++] = m & 255, m /= 256, mLen -= 8);
  2594. e = e << mLen | m;
  2595. eLen += mLen;
  2596. for (; eLen > 0; buffer[i++] = e & 255, e /= 256, eLen -= 8);
  2597. buffer[--i] |= s * 128;
  2598. return buffer;
  2599. }
  2600. function unpackIEEE754(buffer, mLen, nBytes) {
  2601. var eLen = nBytes * 8 - mLen - 1;
  2602. var eMax = (1 << eLen) - 1;
  2603. var eBias = eMax >> 1;
  2604. var nBits = eLen - 7;
  2605. var i = nBytes - 1;
  2606. var s = buffer[i--];
  2607. var e = s & 127;
  2608. var m;
  2609. s >>= 7;
  2610. for (; nBits > 0; e = e * 256 + buffer[i], i--, nBits -= 8);
  2611. m = e & (1 << -nBits) - 1;
  2612. e >>= -nBits;
  2613. nBits += mLen;
  2614. for (; nBits > 0; m = m * 256 + buffer[i], i--, nBits -= 8);
  2615. if (e === 0) {
  2616. e = 1 - eBias;
  2617. } else if (e === eMax) {
  2618. return m ? NaN : s ? -Infinity : Infinity;
  2619. } else {
  2620. m = m + pow(2, mLen);
  2621. e = e - eBias;
  2622. } return (s ? -1 : 1) * m * pow(2, e - mLen);
  2623. }
  2624. function unpackI32(bytes) {
  2625. return bytes[3] << 24 | bytes[2] << 16 | bytes[1] << 8 | bytes[0];
  2626. }
  2627. function packI8(it) {
  2628. return [it & 0xff];
  2629. }
  2630. function packI16(it) {
  2631. return [it & 0xff, it >> 8 & 0xff];
  2632. }
  2633. function packI32(it) {
  2634. return [it & 0xff, it >> 8 & 0xff, it >> 16 & 0xff, it >> 24 & 0xff];
  2635. }
  2636. function packF64(it) {
  2637. return packIEEE754(it, 52, 8);
  2638. }
  2639. function packF32(it) {
  2640. return packIEEE754(it, 23, 4);
  2641. }
  2642. function addGetter(C, key, internal) {
  2643. dP(C[PROTOTYPE], key, { get: function () { return this[internal]; } });
  2644. }
  2645. function get(view, bytes, index, isLittleEndian) {
  2646. var numIndex = +index;
  2647. var intIndex = toIndex(numIndex);
  2648. if (intIndex + bytes > view[$LENGTH]) throw RangeError(WRONG_INDEX);
  2649. var store = view[$BUFFER]._b;
  2650. var start = intIndex + view[$OFFSET];
  2651. var pack = store.slice(start, start + bytes);
  2652. return isLittleEndian ? pack : pack.reverse();
  2653. }
  2654. function set(view, bytes, index, conversion, value, isLittleEndian) {
  2655. var numIndex = +index;
  2656. var intIndex = toIndex(numIndex);
  2657. if (intIndex + bytes > view[$LENGTH]) throw RangeError(WRONG_INDEX);
  2658. var store = view[$BUFFER]._b;
  2659. var start = intIndex + view[$OFFSET];
  2660. var pack = conversion(+value);
  2661. for (var i = 0; i < bytes; i++) store[start + i] = pack[isLittleEndian ? i : bytes - i - 1];
  2662. }
  2663. if (!$typed.ABV) {
  2664. $ArrayBuffer = function ArrayBuffer(length) {
  2665. anInstance(this, $ArrayBuffer, ARRAY_BUFFER);
  2666. var byteLength = toIndex(length);
  2667. this._b = arrayFill.call(Array(byteLength), 0);
  2668. this[$LENGTH] = byteLength;
  2669. };
  2670. $DataView = function DataView(buffer, byteOffset, byteLength) {
  2671. anInstance(this, $DataView, DATA_VIEW);
  2672. anInstance(buffer, $ArrayBuffer, DATA_VIEW);
  2673. var bufferLength = buffer[$LENGTH];
  2674. var offset = toInteger(byteOffset);
  2675. if (offset < 0 || offset > bufferLength) throw RangeError('Wrong offset!');
  2676. byteLength = byteLength === undefined ? bufferLength - offset : toLength(byteLength);
  2677. if (offset + byteLength > bufferLength) throw RangeError(WRONG_LENGTH);
  2678. this[$BUFFER] = buffer;
  2679. this[$OFFSET] = offset;
  2680. this[$LENGTH] = byteLength;
  2681. };
  2682. if (DESCRIPTORS) {
  2683. addGetter($ArrayBuffer, BYTE_LENGTH, '_l');
  2684. addGetter($DataView, BUFFER, '_b');
  2685. addGetter($DataView, BYTE_LENGTH, '_l');
  2686. addGetter($DataView, BYTE_OFFSET, '_o');
  2687. }
  2688. redefineAll($DataView[PROTOTYPE], {
  2689. getInt8: function getInt8(byteOffset) {
  2690. return get(this, 1, byteOffset)[0] << 24 >> 24;
  2691. },
  2692. getUint8: function getUint8(byteOffset) {
  2693. return get(this, 1, byteOffset)[0];
  2694. },
  2695. getInt16: function getInt16(byteOffset /* , littleEndian */) {
  2696. var bytes = get(this, 2, byteOffset, arguments[1]);
  2697. return (bytes[1] << 8 | bytes[0]) << 16 >> 16;
  2698. },
  2699. getUint16: function getUint16(byteOffset /* , littleEndian */) {
  2700. var bytes = get(this, 2, byteOffset, arguments[1]);
  2701. return bytes[1] << 8 | bytes[0];
  2702. },
  2703. getInt32: function getInt32(byteOffset /* , littleEndian */) {
  2704. return unpackI32(get(this, 4, byteOffset, arguments[1]));
  2705. },
  2706. getUint32: function getUint32(byteOffset /* , littleEndian */) {
  2707. return unpackI32(get(this, 4, byteOffset, arguments[1])) >>> 0;
  2708. },
  2709. getFloat32: function getFloat32(byteOffset /* , littleEndian */) {
  2710. return unpackIEEE754(get(this, 4, byteOffset, arguments[1]), 23, 4);
  2711. },
  2712. getFloat64: function getFloat64(byteOffset /* , littleEndian */) {
  2713. return unpackIEEE754(get(this, 8, byteOffset, arguments[1]), 52, 8);
  2714. },
  2715. setInt8: function setInt8(byteOffset, value) {
  2716. set(this, 1, byteOffset, packI8, value);
  2717. },
  2718. setUint8: function setUint8(byteOffset, value) {
  2719. set(this, 1, byteOffset, packI8, value);
  2720. },
  2721. setInt16: function setInt16(byteOffset, value /* , littleEndian */) {
  2722. set(this, 2, byteOffset, packI16, value, arguments[2]);
  2723. },
  2724. setUint16: function setUint16(byteOffset, value /* , littleEndian */) {
  2725. set(this, 2, byteOffset, packI16, value, arguments[2]);
  2726. },
  2727. setInt32: function setInt32(byteOffset, value /* , littleEndian */) {
  2728. set(this, 4, byteOffset, packI32, value, arguments[2]);
  2729. },
  2730. setUint32: function setUint32(byteOffset, value /* , littleEndian */) {
  2731. set(this, 4, byteOffset, packI32, value, arguments[2]);
  2732. },
  2733. setFloat32: function setFloat32(byteOffset, value /* , littleEndian */) {
  2734. set(this, 4, byteOffset, packF32, value, arguments[2]);
  2735. },
  2736. setFloat64: function setFloat64(byteOffset, value /* , littleEndian */) {
  2737. set(this, 8, byteOffset, packF64, value, arguments[2]);
  2738. }
  2739. });
  2740. } else {
  2741. if (!fails(function () {
  2742. $ArrayBuffer(1);
  2743. }) || !fails(function () {
  2744. new $ArrayBuffer(-1); // eslint-disable-line no-new
  2745. }) || fails(function () {
  2746. new $ArrayBuffer(); // eslint-disable-line no-new
  2747. new $ArrayBuffer(1.5); // eslint-disable-line no-new
  2748. new $ArrayBuffer(NaN); // eslint-disable-line no-new
  2749. return $ArrayBuffer.name != ARRAY_BUFFER;
  2750. })) {
  2751. $ArrayBuffer = function ArrayBuffer(length) {
  2752. anInstance(this, $ArrayBuffer);
  2753. return new BaseBuffer(toIndex(length));
  2754. };
  2755. var ArrayBufferProto = $ArrayBuffer[PROTOTYPE] = BaseBuffer[PROTOTYPE];
  2756. for (var keys = gOPN(BaseBuffer), j = 0, key; keys.length > j;) {
  2757. if (!((key = keys[j++]) in $ArrayBuffer)) hide($ArrayBuffer, key, BaseBuffer[key]);
  2758. }
  2759. if (!LIBRARY) ArrayBufferProto.constructor = $ArrayBuffer;
  2760. }
  2761. // iOS Safari 7.x bug
  2762. var view = new $DataView(new $ArrayBuffer(2));
  2763. var $setInt8 = $DataView[PROTOTYPE].setInt8;
  2764. view.setInt8(0, 2147483648);
  2765. view.setInt8(1, 2147483649);
  2766. if (view.getInt8(0) || !view.getInt8(1)) redefineAll($DataView[PROTOTYPE], {
  2767. setInt8: function setInt8(byteOffset, value) {
  2768. $setInt8.call(this, byteOffset, value << 24 >> 24);
  2769. },
  2770. setUint8: function setUint8(byteOffset, value) {
  2771. $setInt8.call(this, byteOffset, value << 24 >> 24);
  2772. }
  2773. }, true);
  2774. }
  2775. setToStringTag($ArrayBuffer, ARRAY_BUFFER);
  2776. setToStringTag($DataView, DATA_VIEW);
  2777. hide($DataView[PROTOTYPE], $typed.VIEW, true);
  2778. exports[ARRAY_BUFFER] = $ArrayBuffer;
  2779. exports[DATA_VIEW] = $DataView;
  2780. },{"101":101,"115":115,"116":116,"118":118,"123":123,"29":29,"35":35,"40":40,"42":42,"6":6,"60":60,"72":72,"77":77,"9":9,"93":93}],123:[function(_dereq_,module,exports){
  2781. var global = _dereq_(40);
  2782. var hide = _dereq_(42);
  2783. var uid = _dereq_(124);
  2784. var TYPED = uid('typed_array');
  2785. var VIEW = uid('view');
  2786. var ABV = !!(global.ArrayBuffer && global.DataView);
  2787. var CONSTR = ABV;
  2788. var i = 0;
  2789. var l = 9;
  2790. var Typed;
  2791. var TypedArrayConstructors = (
  2792. 'Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array'
  2793. ).split(',');
  2794. while (i < l) {
  2795. if (Typed = global[TypedArrayConstructors[i++]]) {
  2796. hide(Typed.prototype, TYPED, true);
  2797. hide(Typed.prototype, VIEW, true);
  2798. } else CONSTR = false;
  2799. }
  2800. module.exports = {
  2801. ABV: ABV,
  2802. CONSTR: CONSTR,
  2803. TYPED: TYPED,
  2804. VIEW: VIEW
  2805. };
  2806. },{"124":124,"40":40,"42":42}],124:[function(_dereq_,module,exports){
  2807. var id = 0;
  2808. var px = Math.random();
  2809. module.exports = function (key) {
  2810. return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));
  2811. };
  2812. },{}],125:[function(_dereq_,module,exports){
  2813. var isObject = _dereq_(51);
  2814. module.exports = function (it, TYPE) {
  2815. if (!isObject(it) || it._t !== TYPE) throw TypeError('Incompatible receiver, ' + TYPE + ' required!');
  2816. return it;
  2817. };
  2818. },{"51":51}],126:[function(_dereq_,module,exports){
  2819. var global = _dereq_(40);
  2820. var core = _dereq_(23);
  2821. var LIBRARY = _dereq_(60);
  2822. var wksExt = _dereq_(127);
  2823. var defineProperty = _dereq_(72).f;
  2824. module.exports = function (name) {
  2825. var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {});
  2826. if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty($Symbol, name, { value: wksExt.f(name) });
  2827. };
  2828. },{"127":127,"23":23,"40":40,"60":60,"72":72}],127:[function(_dereq_,module,exports){
  2829. exports.f = _dereq_(128);
  2830. },{"128":128}],128:[function(_dereq_,module,exports){
  2831. var store = _dereq_(103)('wks');
  2832. var uid = _dereq_(124);
  2833. var Symbol = _dereq_(40).Symbol;
  2834. var USE_SYMBOL = typeof Symbol == 'function';
  2835. var $exports = module.exports = function (name) {
  2836. return store[name] || (store[name] =
  2837. USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));
  2838. };
  2839. $exports.store = store;
  2840. },{"103":103,"124":124,"40":40}],129:[function(_dereq_,module,exports){
  2841. var classof = _dereq_(17);
  2842. var ITERATOR = _dereq_(128)('iterator');
  2843. var Iterators = _dereq_(58);
  2844. module.exports = _dereq_(23).getIteratorMethod = function (it) {
  2845. if (it != undefined) return it[ITERATOR]
  2846. || it['@@iterator']
  2847. || Iterators[classof(it)];
  2848. };
  2849. },{"128":128,"17":17,"23":23,"58":58}],130:[function(_dereq_,module,exports){
  2850. // https://github.com/benjamingr/RexExp.escape
  2851. var $export = _dereq_(33);
  2852. var $re = _dereq_(95)(/[\\^$*+?.()|[\]{}]/g, '\\$&');
  2853. $export($export.S, 'RegExp', { escape: function escape(it) { return $re(it); } });
  2854. },{"33":33,"95":95}],131:[function(_dereq_,module,exports){
  2855. // 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length)
  2856. var $export = _dereq_(33);
  2857. $export($export.P, 'Array', { copyWithin: _dereq_(8) });
  2858. _dereq_(5)('copyWithin');
  2859. },{"33":33,"5":5,"8":8}],132:[function(_dereq_,module,exports){
  2860. 'use strict';
  2861. var $export = _dereq_(33);
  2862. var $every = _dereq_(12)(4);
  2863. $export($export.P + $export.F * !_dereq_(105)([].every, true), 'Array', {
  2864. // 22.1.3.5 / 15.4.4.16 Array.prototype.every(callbackfn [, thisArg])
  2865. every: function every(callbackfn /* , thisArg */) {
  2866. return $every(this, callbackfn, arguments[1]);
  2867. }
  2868. });
  2869. },{"105":105,"12":12,"33":33}],133:[function(_dereq_,module,exports){
  2870. // 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length)
  2871. var $export = _dereq_(33);
  2872. $export($export.P, 'Array', { fill: _dereq_(9) });
  2873. _dereq_(5)('fill');
  2874. },{"33":33,"5":5,"9":9}],134:[function(_dereq_,module,exports){
  2875. 'use strict';
  2876. var $export = _dereq_(33);
  2877. var $filter = _dereq_(12)(2);
  2878. $export($export.P + $export.F * !_dereq_(105)([].filter, true), 'Array', {
  2879. // 22.1.3.7 / 15.4.4.20 Array.prototype.filter(callbackfn [, thisArg])
  2880. filter: function filter(callbackfn /* , thisArg */) {
  2881. return $filter(this, callbackfn, arguments[1]);
  2882. }
  2883. });
  2884. },{"105":105,"12":12,"33":33}],135:[function(_dereq_,module,exports){
  2885. 'use strict';
  2886. // 22.1.3.9 Array.prototype.findIndex(predicate, thisArg = undefined)
  2887. var $export = _dereq_(33);
  2888. var $find = _dereq_(12)(6);
  2889. var KEY = 'findIndex';
  2890. var forced = true;
  2891. // Shouldn't skip holes
  2892. if (KEY in []) Array(1)[KEY](function () { forced = false; });
  2893. $export($export.P + $export.F * forced, 'Array', {
  2894. findIndex: function findIndex(callbackfn /* , that = undefined */) {
  2895. return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
  2896. }
  2897. });
  2898. _dereq_(5)(KEY);
  2899. },{"12":12,"33":33,"5":5}],136:[function(_dereq_,module,exports){
  2900. 'use strict';
  2901. // 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined)
  2902. var $export = _dereq_(33);
  2903. var $find = _dereq_(12)(5);
  2904. var KEY = 'find';
  2905. var forced = true;
  2906. // Shouldn't skip holes
  2907. if (KEY in []) Array(1)[KEY](function () { forced = false; });
  2908. $export($export.P + $export.F * forced, 'Array', {
  2909. find: function find(callbackfn /* , that = undefined */) {
  2910. return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
  2911. }
  2912. });
  2913. _dereq_(5)(KEY);
  2914. },{"12":12,"33":33,"5":5}],137:[function(_dereq_,module,exports){
  2915. 'use strict';
  2916. var $export = _dereq_(33);
  2917. var $forEach = _dereq_(12)(0);
  2918. var STRICT = _dereq_(105)([].forEach, true);
  2919. $export($export.P + $export.F * !STRICT, 'Array', {
  2920. // 22.1.3.10 / 15.4.4.18 Array.prototype.forEach(callbackfn [, thisArg])
  2921. forEach: function forEach(callbackfn /* , thisArg */) {
  2922. return $forEach(this, callbackfn, arguments[1]);
  2923. }
  2924. });
  2925. },{"105":105,"12":12,"33":33}],138:[function(_dereq_,module,exports){
  2926. 'use strict';
  2927. var ctx = _dereq_(25);
  2928. var $export = _dereq_(33);
  2929. var toObject = _dereq_(119);
  2930. var call = _dereq_(53);
  2931. var isArrayIter = _dereq_(48);
  2932. var toLength = _dereq_(118);
  2933. var createProperty = _dereq_(24);
  2934. var getIterFn = _dereq_(129);
  2935. $export($export.S + $export.F * !_dereq_(56)(function (iter) { Array.from(iter); }), 'Array', {
  2936. // 22.1.2.1 Array.from(arrayLike, mapfn = undefined, thisArg = undefined)
  2937. from: function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) {
  2938. var O = toObject(arrayLike);
  2939. var C = typeof this == 'function' ? this : Array;
  2940. var aLen = arguments.length;
  2941. var mapfn = aLen > 1 ? arguments[1] : undefined;
  2942. var mapping = mapfn !== undefined;
  2943. var index = 0;
  2944. var iterFn = getIterFn(O);
  2945. var length, result, step, iterator;
  2946. if (mapping) mapfn = ctx(mapfn, aLen > 2 ? arguments[2] : undefined, 2);
  2947. // if object isn't iterable or it's array with default iterator - use simple case
  2948. if (iterFn != undefined && !(C == Array && isArrayIter(iterFn))) {
  2949. for (iterator = iterFn.call(O), result = new C(); !(step = iterator.next()).done; index++) {
  2950. createProperty(result, index, mapping ? call(iterator, mapfn, [step.value, index], true) : step.value);
  2951. }
  2952. } else {
  2953. length = toLength(O.length);
  2954. for (result = new C(length); length > index; index++) {
  2955. createProperty(result, index, mapping ? mapfn(O[index], index) : O[index]);
  2956. }
  2957. }
  2958. result.length = index;
  2959. return result;
  2960. }
  2961. });
  2962. },{"118":118,"119":119,"129":129,"24":24,"25":25,"33":33,"48":48,"53":53,"56":56}],139:[function(_dereq_,module,exports){
  2963. 'use strict';
  2964. var $export = _dereq_(33);
  2965. var $indexOf = _dereq_(11)(false);
  2966. var $native = [].indexOf;
  2967. var NEGATIVE_ZERO = !!$native && 1 / [1].indexOf(1, -0) < 0;
  2968. $export($export.P + $export.F * (NEGATIVE_ZERO || !_dereq_(105)($native)), 'Array', {
  2969. // 22.1.3.11 / 15.4.4.14 Array.prototype.indexOf(searchElement [, fromIndex])
  2970. indexOf: function indexOf(searchElement /* , fromIndex = 0 */) {
  2971. return NEGATIVE_ZERO
  2972. // convert -0 to +0
  2973. ? $native.apply(this, arguments) || 0
  2974. : $indexOf(this, searchElement, arguments[1]);
  2975. }
  2976. });
  2977. },{"105":105,"11":11,"33":33}],140:[function(_dereq_,module,exports){
  2978. // 22.1.2.2 / 15.4.3.2 Array.isArray(arg)
  2979. var $export = _dereq_(33);
  2980. $export($export.S, 'Array', { isArray: _dereq_(49) });
  2981. },{"33":33,"49":49}],141:[function(_dereq_,module,exports){
  2982. 'use strict';
  2983. var addToUnscopables = _dereq_(5);
  2984. var step = _dereq_(57);
  2985. var Iterators = _dereq_(58);
  2986. var toIObject = _dereq_(117);
  2987. // 22.1.3.4 Array.prototype.entries()
  2988. // 22.1.3.13 Array.prototype.keys()
  2989. // 22.1.3.29 Array.prototype.values()
  2990. // 22.1.3.30 Array.prototype[@@iterator]()
  2991. module.exports = _dereq_(55)(Array, 'Array', function (iterated, kind) {
  2992. this._t = toIObject(iterated); // target
  2993. this._i = 0; // next index
  2994. this._k = kind; // kind
  2995. // 22.1.5.2.1 %ArrayIteratorPrototype%.next()
  2996. }, function () {
  2997. var O = this._t;
  2998. var kind = this._k;
  2999. var index = this._i++;
  3000. if (!O || index >= O.length) {
  3001. this._t = undefined;
  3002. return step(1);
  3003. }
  3004. if (kind == 'keys') return step(0, index);
  3005. if (kind == 'values') return step(0, O[index]);
  3006. return step(0, [index, O[index]]);
  3007. }, 'values');
  3008. // argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7)
  3009. Iterators.Arguments = Iterators.Array;
  3010. addToUnscopables('keys');
  3011. addToUnscopables('values');
  3012. addToUnscopables('entries');
  3013. },{"117":117,"5":5,"55":55,"57":57,"58":58}],142:[function(_dereq_,module,exports){
  3014. 'use strict';
  3015. // 22.1.3.13 Array.prototype.join(separator)
  3016. var $export = _dereq_(33);
  3017. var toIObject = _dereq_(117);
  3018. var arrayJoin = [].join;
  3019. // fallback for not array-like strings
  3020. $export($export.P + $export.F * (_dereq_(47) != Object || !_dereq_(105)(arrayJoin)), 'Array', {
  3021. join: function join(separator) {
  3022. return arrayJoin.call(toIObject(this), separator === undefined ? ',' : separator);
  3023. }
  3024. });
  3025. },{"105":105,"117":117,"33":33,"47":47}],143:[function(_dereq_,module,exports){
  3026. 'use strict';
  3027. var $export = _dereq_(33);
  3028. var toIObject = _dereq_(117);
  3029. var toInteger = _dereq_(116);
  3030. var toLength = _dereq_(118);
  3031. var $native = [].lastIndexOf;
  3032. var NEGATIVE_ZERO = !!$native && 1 / [1].lastIndexOf(1, -0) < 0;
  3033. $export($export.P + $export.F * (NEGATIVE_ZERO || !_dereq_(105)($native)), 'Array', {
  3034. // 22.1.3.14 / 15.4.4.15 Array.prototype.lastIndexOf(searchElement [, fromIndex])
  3035. lastIndexOf: function lastIndexOf(searchElement /* , fromIndex = @[*-1] */) {
  3036. // convert -0 to +0
  3037. if (NEGATIVE_ZERO) return $native.apply(this, arguments) || 0;
  3038. var O = toIObject(this);
  3039. var length = toLength(O.length);
  3040. var index = length - 1;
  3041. if (arguments.length > 1) index = Math.min(index, toInteger(arguments[1]));
  3042. if (index < 0) index = length + index;
  3043. for (;index >= 0; index--) if (index in O) if (O[index] === searchElement) return index || 0;
  3044. return -1;
  3045. }
  3046. });
  3047. },{"105":105,"116":116,"117":117,"118":118,"33":33}],144:[function(_dereq_,module,exports){
  3048. 'use strict';
  3049. var $export = _dereq_(33);
  3050. var $map = _dereq_(12)(1);
  3051. $export($export.P + $export.F * !_dereq_(105)([].map, true), 'Array', {
  3052. // 22.1.3.15 / 15.4.4.19 Array.prototype.map(callbackfn [, thisArg])
  3053. map: function map(callbackfn /* , thisArg */) {
  3054. return $map(this, callbackfn, arguments[1]);
  3055. }
  3056. });
  3057. },{"105":105,"12":12,"33":33}],145:[function(_dereq_,module,exports){
  3058. 'use strict';
  3059. var $export = _dereq_(33);
  3060. var createProperty = _dereq_(24);
  3061. // WebKit Array.of isn't generic
  3062. $export($export.S + $export.F * _dereq_(35)(function () {
  3063. function F() { /* empty */ }
  3064. return !(Array.of.call(F) instanceof F);
  3065. }), 'Array', {
  3066. // 22.1.2.3 Array.of( ...items)
  3067. of: function of(/* ...args */) {
  3068. var index = 0;
  3069. var aLen = arguments.length;
  3070. var result = new (typeof this == 'function' ? this : Array)(aLen);
  3071. while (aLen > index) createProperty(result, index, arguments[index++]);
  3072. result.length = aLen;
  3073. return result;
  3074. }
  3075. });
  3076. },{"24":24,"33":33,"35":35}],146:[function(_dereq_,module,exports){
  3077. 'use strict';
  3078. var $export = _dereq_(33);
  3079. var $reduce = _dereq_(13);
  3080. $export($export.P + $export.F * !_dereq_(105)([].reduceRight, true), 'Array', {
  3081. // 22.1.3.19 / 15.4.4.22 Array.prototype.reduceRight(callbackfn [, initialValue])
  3082. reduceRight: function reduceRight(callbackfn /* , initialValue */) {
  3083. return $reduce(this, callbackfn, arguments.length, arguments[1], true);
  3084. }
  3085. });
  3086. },{"105":105,"13":13,"33":33}],147:[function(_dereq_,module,exports){
  3087. 'use strict';
  3088. var $export = _dereq_(33);
  3089. var $reduce = _dereq_(13);
  3090. $export($export.P + $export.F * !_dereq_(105)([].reduce, true), 'Array', {
  3091. // 22.1.3.18 / 15.4.4.21 Array.prototype.reduce(callbackfn [, initialValue])
  3092. reduce: function reduce(callbackfn /* , initialValue */) {
  3093. return $reduce(this, callbackfn, arguments.length, arguments[1], false);
  3094. }
  3095. });
  3096. },{"105":105,"13":13,"33":33}],148:[function(_dereq_,module,exports){
  3097. 'use strict';
  3098. var $export = _dereq_(33);
  3099. var html = _dereq_(43);
  3100. var cof = _dereq_(18);
  3101. var toAbsoluteIndex = _dereq_(114);
  3102. var toLength = _dereq_(118);
  3103. var arraySlice = [].slice;
  3104. // fallback for not array-like ES3 strings and DOM objects
  3105. $export($export.P + $export.F * _dereq_(35)(function () {
  3106. if (html) arraySlice.call(html);
  3107. }), 'Array', {
  3108. slice: function slice(begin, end) {
  3109. var len = toLength(this.length);
  3110. var klass = cof(this);
  3111. end = end === undefined ? len : end;
  3112. if (klass == 'Array') return arraySlice.call(this, begin, end);
  3113. var start = toAbsoluteIndex(begin, len);
  3114. var upTo = toAbsoluteIndex(end, len);
  3115. var size = toLength(upTo - start);
  3116. var cloned = Array(size);
  3117. var i = 0;
  3118. for (; i < size; i++) cloned[i] = klass == 'String'
  3119. ? this.charAt(start + i)
  3120. : this[start + i];
  3121. return cloned;
  3122. }
  3123. });
  3124. },{"114":114,"118":118,"18":18,"33":33,"35":35,"43":43}],149:[function(_dereq_,module,exports){
  3125. 'use strict';
  3126. var $export = _dereq_(33);
  3127. var $some = _dereq_(12)(3);
  3128. $export($export.P + $export.F * !_dereq_(105)([].some, true), 'Array', {
  3129. // 22.1.3.23 / 15.4.4.17 Array.prototype.some(callbackfn [, thisArg])
  3130. some: function some(callbackfn /* , thisArg */) {
  3131. return $some(this, callbackfn, arguments[1]);
  3132. }
  3133. });
  3134. },{"105":105,"12":12,"33":33}],150:[function(_dereq_,module,exports){
  3135. 'use strict';
  3136. var $export = _dereq_(33);
  3137. var aFunction = _dereq_(3);
  3138. var toObject = _dereq_(119);
  3139. var fails = _dereq_(35);
  3140. var $sort = [].sort;
  3141. var test = [1, 2, 3];
  3142. $export($export.P + $export.F * (fails(function () {
  3143. // IE8-
  3144. test.sort(undefined);
  3145. }) || !fails(function () {
  3146. // V8 bug
  3147. test.sort(null);
  3148. // Old WebKit
  3149. }) || !_dereq_(105)($sort)), 'Array', {
  3150. // 22.1.3.25 Array.prototype.sort(comparefn)
  3151. sort: function sort(comparefn) {
  3152. return comparefn === undefined
  3153. ? $sort.call(toObject(this))
  3154. : $sort.call(toObject(this), aFunction(comparefn));
  3155. }
  3156. });
  3157. },{"105":105,"119":119,"3":3,"33":33,"35":35}],151:[function(_dereq_,module,exports){
  3158. _dereq_(100)('Array');
  3159. },{"100":100}],152:[function(_dereq_,module,exports){
  3160. // 20.3.3.1 / 15.9.4.4 Date.now()
  3161. var $export = _dereq_(33);
  3162. $export($export.S, 'Date', { now: function () { return new Date().getTime(); } });
  3163. },{"33":33}],153:[function(_dereq_,module,exports){
  3164. // 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString()
  3165. var $export = _dereq_(33);
  3166. var toISOString = _dereq_(26);
  3167. // PhantomJS / old WebKit has a broken implementations
  3168. $export($export.P + $export.F * (Date.prototype.toISOString !== toISOString), 'Date', {
  3169. toISOString: toISOString
  3170. });
  3171. },{"26":26,"33":33}],154:[function(_dereq_,module,exports){
  3172. 'use strict';
  3173. var $export = _dereq_(33);
  3174. var toObject = _dereq_(119);
  3175. var toPrimitive = _dereq_(120);
  3176. $export($export.P + $export.F * _dereq_(35)(function () {
  3177. return new Date(NaN).toJSON() !== null
  3178. || Date.prototype.toJSON.call({ toISOString: function () { return 1; } }) !== 1;
  3179. }), 'Date', {
  3180. // eslint-disable-next-line no-unused-vars
  3181. toJSON: function toJSON(key) {
  3182. var O = toObject(this);
  3183. var pv = toPrimitive(O);
  3184. return typeof pv == 'number' && !isFinite(pv) ? null : O.toISOString();
  3185. }
  3186. });
  3187. },{"119":119,"120":120,"33":33,"35":35}],155:[function(_dereq_,module,exports){
  3188. var TO_PRIMITIVE = _dereq_(128)('toPrimitive');
  3189. var proto = Date.prototype;
  3190. if (!(TO_PRIMITIVE in proto)) _dereq_(42)(proto, TO_PRIMITIVE, _dereq_(27));
  3191. },{"128":128,"27":27,"42":42}],156:[function(_dereq_,module,exports){
  3192. var DateProto = Date.prototype;
  3193. var INVALID_DATE = 'Invalid Date';
  3194. var TO_STRING = 'toString';
  3195. var $toString = DateProto[TO_STRING];
  3196. var getTime = DateProto.getTime;
  3197. if (new Date(NaN) + '' != INVALID_DATE) {
  3198. _dereq_(94)(DateProto, TO_STRING, function toString() {
  3199. var value = getTime.call(this);
  3200. // eslint-disable-next-line no-self-compare
  3201. return value === value ? $toString.call(this) : INVALID_DATE;
  3202. });
  3203. }
  3204. },{"94":94}],157:[function(_dereq_,module,exports){
  3205. // 19.2.3.2 / 15.3.4.5 Function.prototype.bind(thisArg, args...)
  3206. var $export = _dereq_(33);
  3207. $export($export.P, 'Function', { bind: _dereq_(16) });
  3208. },{"16":16,"33":33}],158:[function(_dereq_,module,exports){
  3209. 'use strict';
  3210. var isObject = _dereq_(51);
  3211. var getPrototypeOf = _dereq_(79);
  3212. var HAS_INSTANCE = _dereq_(128)('hasInstance');
  3213. var FunctionProto = Function.prototype;
  3214. // 19.2.3.6 Function.prototype[@@hasInstance](V)
  3215. if (!(HAS_INSTANCE in FunctionProto)) _dereq_(72).f(FunctionProto, HAS_INSTANCE, { value: function (O) {
  3216. if (typeof this != 'function' || !isObject(O)) return false;
  3217. if (!isObject(this.prototype)) return O instanceof this;
  3218. // for environment w/o native `@@hasInstance` logic enough `instanceof`, but add this:
  3219. while (O = getPrototypeOf(O)) if (this.prototype === O) return true;
  3220. return false;
  3221. } });
  3222. },{"128":128,"51":51,"72":72,"79":79}],159:[function(_dereq_,module,exports){
  3223. var dP = _dereq_(72).f;
  3224. var FProto = Function.prototype;
  3225. var nameRE = /^\s*function ([^ (]*)/;
  3226. var NAME = 'name';
  3227. // 19.2.4.2 name
  3228. NAME in FProto || _dereq_(29) && dP(FProto, NAME, {
  3229. configurable: true,
  3230. get: function () {
  3231. try {
  3232. return ('' + this).match(nameRE)[1];
  3233. } catch (e) {
  3234. return '';
  3235. }
  3236. }
  3237. });
  3238. },{"29":29,"72":72}],160:[function(_dereq_,module,exports){
  3239. 'use strict';
  3240. var strong = _dereq_(19);
  3241. var validate = _dereq_(125);
  3242. var MAP = 'Map';
  3243. // 23.1 Map Objects
  3244. module.exports = _dereq_(22)(MAP, function (get) {
  3245. return function Map() { return get(this, arguments.length > 0 ? arguments[0] : undefined); };
  3246. }, {
  3247. // 23.1.3.6 Map.prototype.get(key)
  3248. get: function get(key) {
  3249. var entry = strong.getEntry(validate(this, MAP), key);
  3250. return entry && entry.v;
  3251. },
  3252. // 23.1.3.9 Map.prototype.set(key, value)
  3253. set: function set(key, value) {
  3254. return strong.def(validate(this, MAP), key === 0 ? 0 : key, value);
  3255. }
  3256. }, strong, true);
  3257. },{"125":125,"19":19,"22":22}],161:[function(_dereq_,module,exports){
  3258. // 20.2.2.3 Math.acosh(x)
  3259. var $export = _dereq_(33);
  3260. var log1p = _dereq_(63);
  3261. var sqrt = Math.sqrt;
  3262. var $acosh = Math.acosh;
  3263. $export($export.S + $export.F * !($acosh
  3264. // V8 bug: https://code.google.com/p/v8/issues/detail?id=3509
  3265. && Math.floor($acosh(Number.MAX_VALUE)) == 710
  3266. // Tor Browser bug: Math.acosh(Infinity) -> NaN
  3267. && $acosh(Infinity) == Infinity
  3268. ), 'Math', {
  3269. acosh: function acosh(x) {
  3270. return (x = +x) < 1 ? NaN : x > 94906265.62425156
  3271. ? Math.log(x) + Math.LN2
  3272. : log1p(x - 1 + sqrt(x - 1) * sqrt(x + 1));
  3273. }
  3274. });
  3275. },{"33":33,"63":63}],162:[function(_dereq_,module,exports){
  3276. // 20.2.2.5 Math.asinh(x)
  3277. var $export = _dereq_(33);
  3278. var $asinh = Math.asinh;
  3279. function asinh(x) {
  3280. return !isFinite(x = +x) || x == 0 ? x : x < 0 ? -asinh(-x) : Math.log(x + Math.sqrt(x * x + 1));
  3281. }
  3282. // Tor Browser bug: Math.asinh(0) -> -0
  3283. $export($export.S + $export.F * !($asinh && 1 / $asinh(0) > 0), 'Math', { asinh: asinh });
  3284. },{"33":33}],163:[function(_dereq_,module,exports){
  3285. // 20.2.2.7 Math.atanh(x)
  3286. var $export = _dereq_(33);
  3287. var $atanh = Math.atanh;
  3288. // Tor Browser bug: Math.atanh(-0) -> 0
  3289. $export($export.S + $export.F * !($atanh && 1 / $atanh(-0) < 0), 'Math', {
  3290. atanh: function atanh(x) {
  3291. return (x = +x) == 0 ? x : Math.log((1 + x) / (1 - x)) / 2;
  3292. }
  3293. });
  3294. },{"33":33}],164:[function(_dereq_,module,exports){
  3295. // 20.2.2.9 Math.cbrt(x)
  3296. var $export = _dereq_(33);
  3297. var sign = _dereq_(65);
  3298. $export($export.S, 'Math', {
  3299. cbrt: function cbrt(x) {
  3300. return sign(x = +x) * Math.pow(Math.abs(x), 1 / 3);
  3301. }
  3302. });
  3303. },{"33":33,"65":65}],165:[function(_dereq_,module,exports){
  3304. // 20.2.2.11 Math.clz32(x)
  3305. var $export = _dereq_(33);
  3306. $export($export.S, 'Math', {
  3307. clz32: function clz32(x) {
  3308. return (x >>>= 0) ? 31 - Math.floor(Math.log(x + 0.5) * Math.LOG2E) : 32;
  3309. }
  3310. });
  3311. },{"33":33}],166:[function(_dereq_,module,exports){
  3312. // 20.2.2.12 Math.cosh(x)
  3313. var $export = _dereq_(33);
  3314. var exp = Math.exp;
  3315. $export($export.S, 'Math', {
  3316. cosh: function cosh(x) {
  3317. return (exp(x = +x) + exp(-x)) / 2;
  3318. }
  3319. });
  3320. },{"33":33}],167:[function(_dereq_,module,exports){
  3321. // 20.2.2.14 Math.expm1(x)
  3322. var $export = _dereq_(33);
  3323. var $expm1 = _dereq_(61);
  3324. $export($export.S + $export.F * ($expm1 != Math.expm1), 'Math', { expm1: $expm1 });
  3325. },{"33":33,"61":61}],168:[function(_dereq_,module,exports){
  3326. // 20.2.2.16 Math.fround(x)
  3327. var $export = _dereq_(33);
  3328. $export($export.S, 'Math', { fround: _dereq_(62) });
  3329. },{"33":33,"62":62}],169:[function(_dereq_,module,exports){
  3330. // 20.2.2.17 Math.hypot([value1[, value2[, … ]]])
  3331. var $export = _dereq_(33);
  3332. var abs = Math.abs;
  3333. $export($export.S, 'Math', {
  3334. hypot: function hypot(value1, value2) { // eslint-disable-line no-unused-vars
  3335. var sum = 0;
  3336. var i = 0;
  3337. var aLen = arguments.length;
  3338. var larg = 0;
  3339. var arg, div;
  3340. while (i < aLen) {
  3341. arg = abs(arguments[i++]);
  3342. if (larg < arg) {
  3343. div = larg / arg;
  3344. sum = sum * div * div + 1;
  3345. larg = arg;
  3346. } else if (arg > 0) {
  3347. div = arg / larg;
  3348. sum += div * div;
  3349. } else sum += arg;
  3350. }
  3351. return larg === Infinity ? Infinity : larg * Math.sqrt(sum);
  3352. }
  3353. });
  3354. },{"33":33}],170:[function(_dereq_,module,exports){
  3355. // 20.2.2.18 Math.imul(x, y)
  3356. var $export = _dereq_(33);
  3357. var $imul = Math.imul;
  3358. // some WebKit versions fails with big numbers, some has wrong arity
  3359. $export($export.S + $export.F * _dereq_(35)(function () {
  3360. return $imul(0xffffffff, 5) != -5 || $imul.length != 2;
  3361. }), 'Math', {
  3362. imul: function imul(x, y) {
  3363. var UINT16 = 0xffff;
  3364. var xn = +x;
  3365. var yn = +y;
  3366. var xl = UINT16 & xn;
  3367. var yl = UINT16 & yn;
  3368. return 0 | xl * yl + ((UINT16 & xn >>> 16) * yl + xl * (UINT16 & yn >>> 16) << 16 >>> 0);
  3369. }
  3370. });
  3371. },{"33":33,"35":35}],171:[function(_dereq_,module,exports){
  3372. // 20.2.2.21 Math.log10(x)
  3373. var $export = _dereq_(33);
  3374. $export($export.S, 'Math', {
  3375. log10: function log10(x) {
  3376. return Math.log(x) * Math.LOG10E;
  3377. }
  3378. });
  3379. },{"33":33}],172:[function(_dereq_,module,exports){
  3380. // 20.2.2.20 Math.log1p(x)
  3381. var $export = _dereq_(33);
  3382. $export($export.S, 'Math', { log1p: _dereq_(63) });
  3383. },{"33":33,"63":63}],173:[function(_dereq_,module,exports){
  3384. // 20.2.2.22 Math.log2(x)
  3385. var $export = _dereq_(33);
  3386. $export($export.S, 'Math', {
  3387. log2: function log2(x) {
  3388. return Math.log(x) / Math.LN2;
  3389. }
  3390. });
  3391. },{"33":33}],174:[function(_dereq_,module,exports){
  3392. // 20.2.2.28 Math.sign(x)
  3393. var $export = _dereq_(33);
  3394. $export($export.S, 'Math', { sign: _dereq_(65) });
  3395. },{"33":33,"65":65}],175:[function(_dereq_,module,exports){
  3396. // 20.2.2.30 Math.sinh(x)
  3397. var $export = _dereq_(33);
  3398. var expm1 = _dereq_(61);
  3399. var exp = Math.exp;
  3400. // V8 near Chromium 38 has a problem with very small numbers
  3401. $export($export.S + $export.F * _dereq_(35)(function () {
  3402. return !Math.sinh(-2e-17) != -2e-17;
  3403. }), 'Math', {
  3404. sinh: function sinh(x) {
  3405. return Math.abs(x = +x) < 1
  3406. ? (expm1(x) - expm1(-x)) / 2
  3407. : (exp(x - 1) - exp(-x - 1)) * (Math.E / 2);
  3408. }
  3409. });
  3410. },{"33":33,"35":35,"61":61}],176:[function(_dereq_,module,exports){
  3411. // 20.2.2.33 Math.tanh(x)
  3412. var $export = _dereq_(33);
  3413. var expm1 = _dereq_(61);
  3414. var exp = Math.exp;
  3415. $export($export.S, 'Math', {
  3416. tanh: function tanh(x) {
  3417. var a = expm1(x = +x);
  3418. var b = expm1(-x);
  3419. return a == Infinity ? 1 : b == Infinity ? -1 : (a - b) / (exp(x) + exp(-x));
  3420. }
  3421. });
  3422. },{"33":33,"61":61}],177:[function(_dereq_,module,exports){
  3423. // 20.2.2.34 Math.trunc(x)
  3424. var $export = _dereq_(33);
  3425. $export($export.S, 'Math', {
  3426. trunc: function trunc(it) {
  3427. return (it > 0 ? Math.floor : Math.ceil)(it);
  3428. }
  3429. });
  3430. },{"33":33}],178:[function(_dereq_,module,exports){
  3431. 'use strict';
  3432. var global = _dereq_(40);
  3433. var has = _dereq_(41);
  3434. var cof = _dereq_(18);
  3435. var inheritIfRequired = _dereq_(45);
  3436. var toPrimitive = _dereq_(120);
  3437. var fails = _dereq_(35);
  3438. var gOPN = _dereq_(77).f;
  3439. var gOPD = _dereq_(75).f;
  3440. var dP = _dereq_(72).f;
  3441. var $trim = _dereq_(111).trim;
  3442. var NUMBER = 'Number';
  3443. var $Number = global[NUMBER];
  3444. var Base = $Number;
  3445. var proto = $Number.prototype;
  3446. // Opera ~12 has broken Object#toString
  3447. var BROKEN_COF = cof(_dereq_(71)(proto)) == NUMBER;
  3448. var TRIM = 'trim' in String.prototype;
  3449. // 7.1.3 ToNumber(argument)
  3450. var toNumber = function (argument) {
  3451. var it = toPrimitive(argument, false);
  3452. if (typeof it == 'string' && it.length > 2) {
  3453. it = TRIM ? it.trim() : $trim(it, 3);
  3454. var first = it.charCodeAt(0);
  3455. var third, radix, maxCode;
  3456. if (first === 43 || first === 45) {
  3457. third = it.charCodeAt(2);
  3458. if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix
  3459. } else if (first === 48) {
  3460. switch (it.charCodeAt(1)) {
  3461. case 66: case 98: radix = 2; maxCode = 49; break; // fast equal /^0b[01]+$/i
  3462. case 79: case 111: radix = 8; maxCode = 55; break; // fast equal /^0o[0-7]+$/i
  3463. default: return +it;
  3464. }
  3465. for (var digits = it.slice(2), i = 0, l = digits.length, code; i < l; i++) {
  3466. code = digits.charCodeAt(i);
  3467. // parseInt parses a string to a first unavailable symbol
  3468. // but ToNumber should return NaN if a string contains unavailable symbols
  3469. if (code < 48 || code > maxCode) return NaN;
  3470. } return parseInt(digits, radix);
  3471. }
  3472. } return +it;
  3473. };
  3474. if (!$Number(' 0o1') || !$Number('0b1') || $Number('+0x1')) {
  3475. $Number = function Number(value) {
  3476. var it = arguments.length < 1 ? 0 : value;
  3477. var that = this;
  3478. return that instanceof $Number
  3479. // check on 1..constructor(foo) case
  3480. && (BROKEN_COF ? fails(function () { proto.valueOf.call(that); }) : cof(that) != NUMBER)
  3481. ? inheritIfRequired(new Base(toNumber(it)), that, $Number) : toNumber(it);
  3482. };
  3483. for (var keys = _dereq_(29) ? gOPN(Base) : (
  3484. // ES3:
  3485. 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +
  3486. // ES6 (in case, if modules with ES6 Number statics required before):
  3487. 'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' +
  3488. 'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger'
  3489. ).split(','), j = 0, key; keys.length > j; j++) {
  3490. if (has(Base, key = keys[j]) && !has($Number, key)) {
  3491. dP($Number, key, gOPD(Base, key));
  3492. }
  3493. }
  3494. $Number.prototype = proto;
  3495. proto.constructor = $Number;
  3496. _dereq_(94)(global, NUMBER, $Number);
  3497. }
  3498. },{"111":111,"120":120,"18":18,"29":29,"35":35,"40":40,"41":41,"45":45,"71":71,"72":72,"75":75,"77":77,"94":94}],179:[function(_dereq_,module,exports){
  3499. // 20.1.2.1 Number.EPSILON
  3500. var $export = _dereq_(33);
  3501. $export($export.S, 'Number', { EPSILON: Math.pow(2, -52) });
  3502. },{"33":33}],180:[function(_dereq_,module,exports){
  3503. // 20.1.2.2 Number.isFinite(number)
  3504. var $export = _dereq_(33);
  3505. var _isFinite = _dereq_(40).isFinite;
  3506. $export($export.S, 'Number', {
  3507. isFinite: function isFinite(it) {
  3508. return typeof it == 'number' && _isFinite(it);
  3509. }
  3510. });
  3511. },{"33":33,"40":40}],181:[function(_dereq_,module,exports){
  3512. // 20.1.2.3 Number.isInteger(number)
  3513. var $export = _dereq_(33);
  3514. $export($export.S, 'Number', { isInteger: _dereq_(50) });
  3515. },{"33":33,"50":50}],182:[function(_dereq_,module,exports){
  3516. // 20.1.2.4 Number.isNaN(number)
  3517. var $export = _dereq_(33);
  3518. $export($export.S, 'Number', {
  3519. isNaN: function isNaN(number) {
  3520. // eslint-disable-next-line no-self-compare
  3521. return number != number;
  3522. }
  3523. });
  3524. },{"33":33}],183:[function(_dereq_,module,exports){
  3525. // 20.1.2.5 Number.isSafeInteger(number)
  3526. var $export = _dereq_(33);
  3527. var isInteger = _dereq_(50);
  3528. var abs = Math.abs;
  3529. $export($export.S, 'Number', {
  3530. isSafeInteger: function isSafeInteger(number) {
  3531. return isInteger(number) && abs(number) <= 0x1fffffffffffff;
  3532. }
  3533. });
  3534. },{"33":33,"50":50}],184:[function(_dereq_,module,exports){
  3535. // 20.1.2.6 Number.MAX_SAFE_INTEGER
  3536. var $export = _dereq_(33);
  3537. $export($export.S, 'Number', { MAX_SAFE_INTEGER: 0x1fffffffffffff });
  3538. },{"33":33}],185:[function(_dereq_,module,exports){
  3539. // 20.1.2.10 Number.MIN_SAFE_INTEGER
  3540. var $export = _dereq_(33);
  3541. $export($export.S, 'Number', { MIN_SAFE_INTEGER: -0x1fffffffffffff });
  3542. },{"33":33}],186:[function(_dereq_,module,exports){
  3543. var $export = _dereq_(33);
  3544. var $parseFloat = _dereq_(86);
  3545. // 20.1.2.12 Number.parseFloat(string)
  3546. $export($export.S + $export.F * (Number.parseFloat != $parseFloat), 'Number', { parseFloat: $parseFloat });
  3547. },{"33":33,"86":86}],187:[function(_dereq_,module,exports){
  3548. var $export = _dereq_(33);
  3549. var $parseInt = _dereq_(87);
  3550. // 20.1.2.13 Number.parseInt(string, radix)
  3551. $export($export.S + $export.F * (Number.parseInt != $parseInt), 'Number', { parseInt: $parseInt });
  3552. },{"33":33,"87":87}],188:[function(_dereq_,module,exports){
  3553. 'use strict';
  3554. var $export = _dereq_(33);
  3555. var toInteger = _dereq_(116);
  3556. var aNumberValue = _dereq_(4);
  3557. var repeat = _dereq_(110);
  3558. var $toFixed = 1.0.toFixed;
  3559. var floor = Math.floor;
  3560. var data = [0, 0, 0, 0, 0, 0];
  3561. var ERROR = 'Number.toFixed: incorrect invocation!';
  3562. var ZERO = '0';
  3563. var multiply = function (n, c) {
  3564. var i = -1;
  3565. var c2 = c;
  3566. while (++i < 6) {
  3567. c2 += n * data[i];
  3568. data[i] = c2 % 1e7;
  3569. c2 = floor(c2 / 1e7);
  3570. }
  3571. };
  3572. var divide = function (n) {
  3573. var i = 6;
  3574. var c = 0;
  3575. while (--i >= 0) {
  3576. c += data[i];
  3577. data[i] = floor(c / n);
  3578. c = (c % n) * 1e7;
  3579. }
  3580. };
  3581. var numToString = function () {
  3582. var i = 6;
  3583. var s = '';
  3584. while (--i >= 0) {
  3585. if (s !== '' || i === 0 || data[i] !== 0) {
  3586. var t = String(data[i]);
  3587. s = s === '' ? t : s + repeat.call(ZERO, 7 - t.length) + t;
  3588. }
  3589. } return s;
  3590. };
  3591. var pow = function (x, n, acc) {
  3592. return n === 0 ? acc : n % 2 === 1 ? pow(x, n - 1, acc * x) : pow(x * x, n / 2, acc);
  3593. };
  3594. var log = function (x) {
  3595. var n = 0;
  3596. var x2 = x;
  3597. while (x2 >= 4096) {
  3598. n += 12;
  3599. x2 /= 4096;
  3600. }
  3601. while (x2 >= 2) {
  3602. n += 1;
  3603. x2 /= 2;
  3604. } return n;
  3605. };
  3606. $export($export.P + $export.F * (!!$toFixed && (
  3607. 0.00008.toFixed(3) !== '0.000' ||
  3608. 0.9.toFixed(0) !== '1' ||
  3609. 1.255.toFixed(2) !== '1.25' ||
  3610. 1000000000000000128.0.toFixed(0) !== '1000000000000000128'
  3611. ) || !_dereq_(35)(function () {
  3612. // V8 ~ Android 4.3-
  3613. $toFixed.call({});
  3614. })), 'Number', {
  3615. toFixed: function toFixed(fractionDigits) {
  3616. var x = aNumberValue(this, ERROR);
  3617. var f = toInteger(fractionDigits);
  3618. var s = '';
  3619. var m = ZERO;
  3620. var e, z, j, k;
  3621. if (f < 0 || f > 20) throw RangeError(ERROR);
  3622. // eslint-disable-next-line no-self-compare
  3623. if (x != x) return 'NaN';
  3624. if (x <= -1e21 || x >= 1e21) return String(x);
  3625. if (x < 0) {
  3626. s = '-';
  3627. x = -x;
  3628. }
  3629. if (x > 1e-21) {
  3630. e = log(x * pow(2, 69, 1)) - 69;
  3631. z = e < 0 ? x * pow(2, -e, 1) : x / pow(2, e, 1);
  3632. z *= 0x10000000000000;
  3633. e = 52 - e;
  3634. if (e > 0) {
  3635. multiply(0, z);
  3636. j = f;
  3637. while (j >= 7) {
  3638. multiply(1e7, 0);
  3639. j -= 7;
  3640. }
  3641. multiply(pow(10, j, 1), 0);
  3642. j = e - 1;
  3643. while (j >= 23) {
  3644. divide(1 << 23);
  3645. j -= 23;
  3646. }
  3647. divide(1 << j);
  3648. multiply(1, 1);
  3649. divide(2);
  3650. m = numToString();
  3651. } else {
  3652. multiply(0, z);
  3653. multiply(1 << -e, 0);
  3654. m = numToString() + repeat.call(ZERO, f);
  3655. }
  3656. }
  3657. if (f > 0) {
  3658. k = m.length;
  3659. m = s + (k <= f ? '0.' + repeat.call(ZERO, f - k) + m : m.slice(0, k - f) + '.' + m.slice(k - f));
  3660. } else {
  3661. m = s + m;
  3662. } return m;
  3663. }
  3664. });
  3665. },{"110":110,"116":116,"33":33,"35":35,"4":4}],189:[function(_dereq_,module,exports){
  3666. 'use strict';
  3667. var $export = _dereq_(33);
  3668. var $fails = _dereq_(35);
  3669. var aNumberValue = _dereq_(4);
  3670. var $toPrecision = 1.0.toPrecision;
  3671. $export($export.P + $export.F * ($fails(function () {
  3672. // IE7-
  3673. return $toPrecision.call(1, undefined) !== '1';
  3674. }) || !$fails(function () {
  3675. // V8 ~ Android 4.3-
  3676. $toPrecision.call({});
  3677. })), 'Number', {
  3678. toPrecision: function toPrecision(precision) {
  3679. var that = aNumberValue(this, 'Number#toPrecision: incorrect invocation!');
  3680. return precision === undefined ? $toPrecision.call(that) : $toPrecision.call(that, precision);
  3681. }
  3682. });
  3683. },{"33":33,"35":35,"4":4}],190:[function(_dereq_,module,exports){
  3684. // 19.1.3.1 Object.assign(target, source)
  3685. var $export = _dereq_(33);
  3686. $export($export.S + $export.F, 'Object', { assign: _dereq_(70) });
  3687. },{"33":33,"70":70}],191:[function(_dereq_,module,exports){
  3688. var $export = _dereq_(33);
  3689. // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
  3690. $export($export.S, 'Object', { create: _dereq_(71) });
  3691. },{"33":33,"71":71}],192:[function(_dereq_,module,exports){
  3692. var $export = _dereq_(33);
  3693. // 19.1.2.3 / 15.2.3.7 Object.defineProperties(O, Properties)
  3694. $export($export.S + $export.F * !_dereq_(29), 'Object', { defineProperties: _dereq_(73) });
  3695. },{"29":29,"33":33,"73":73}],193:[function(_dereq_,module,exports){
  3696. var $export = _dereq_(33);
  3697. // 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes)
  3698. $export($export.S + $export.F * !_dereq_(29), 'Object', { defineProperty: _dereq_(72).f });
  3699. },{"29":29,"33":33,"72":72}],194:[function(_dereq_,module,exports){
  3700. // 19.1.2.5 Object.freeze(O)
  3701. var isObject = _dereq_(51);
  3702. var meta = _dereq_(66).onFreeze;
  3703. _dereq_(83)('freeze', function ($freeze) {
  3704. return function freeze(it) {
  3705. return $freeze && isObject(it) ? $freeze(meta(it)) : it;
  3706. };
  3707. });
  3708. },{"51":51,"66":66,"83":83}],195:[function(_dereq_,module,exports){
  3709. // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)
  3710. var toIObject = _dereq_(117);
  3711. var $getOwnPropertyDescriptor = _dereq_(75).f;
  3712. _dereq_(83)('getOwnPropertyDescriptor', function () {
  3713. return function getOwnPropertyDescriptor(it, key) {
  3714. return $getOwnPropertyDescriptor(toIObject(it), key);
  3715. };
  3716. });
  3717. },{"117":117,"75":75,"83":83}],196:[function(_dereq_,module,exports){
  3718. // 19.1.2.7 Object.getOwnPropertyNames(O)
  3719. _dereq_(83)('getOwnPropertyNames', function () {
  3720. return _dereq_(76).f;
  3721. });
  3722. },{"76":76,"83":83}],197:[function(_dereq_,module,exports){
  3723. // 19.1.2.9 Object.getPrototypeOf(O)
  3724. var toObject = _dereq_(119);
  3725. var $getPrototypeOf = _dereq_(79);
  3726. _dereq_(83)('getPrototypeOf', function () {
  3727. return function getPrototypeOf(it) {
  3728. return $getPrototypeOf(toObject(it));
  3729. };
  3730. });
  3731. },{"119":119,"79":79,"83":83}],198:[function(_dereq_,module,exports){
  3732. // 19.1.2.11 Object.isExtensible(O)
  3733. var isObject = _dereq_(51);
  3734. _dereq_(83)('isExtensible', function ($isExtensible) {
  3735. return function isExtensible(it) {
  3736. return isObject(it) ? $isExtensible ? $isExtensible(it) : true : false;
  3737. };
  3738. });
  3739. },{"51":51,"83":83}],199:[function(_dereq_,module,exports){
  3740. // 19.1.2.12 Object.isFrozen(O)
  3741. var isObject = _dereq_(51);
  3742. _dereq_(83)('isFrozen', function ($isFrozen) {
  3743. return function isFrozen(it) {
  3744. return isObject(it) ? $isFrozen ? $isFrozen(it) : false : true;
  3745. };
  3746. });
  3747. },{"51":51,"83":83}],200:[function(_dereq_,module,exports){
  3748. // 19.1.2.13 Object.isSealed(O)
  3749. var isObject = _dereq_(51);
  3750. _dereq_(83)('isSealed', function ($isSealed) {
  3751. return function isSealed(it) {
  3752. return isObject(it) ? $isSealed ? $isSealed(it) : false : true;
  3753. };
  3754. });
  3755. },{"51":51,"83":83}],201:[function(_dereq_,module,exports){
  3756. // 19.1.3.10 Object.is(value1, value2)
  3757. var $export = _dereq_(33);
  3758. $export($export.S, 'Object', { is: _dereq_(96) });
  3759. },{"33":33,"96":96}],202:[function(_dereq_,module,exports){
  3760. // 19.1.2.14 Object.keys(O)
  3761. var toObject = _dereq_(119);
  3762. var $keys = _dereq_(81);
  3763. _dereq_(83)('keys', function () {
  3764. return function keys(it) {
  3765. return $keys(toObject(it));
  3766. };
  3767. });
  3768. },{"119":119,"81":81,"83":83}],203:[function(_dereq_,module,exports){
  3769. // 19.1.2.15 Object.preventExtensions(O)
  3770. var isObject = _dereq_(51);
  3771. var meta = _dereq_(66).onFreeze;
  3772. _dereq_(83)('preventExtensions', function ($preventExtensions) {
  3773. return function preventExtensions(it) {
  3774. return $preventExtensions && isObject(it) ? $preventExtensions(meta(it)) : it;
  3775. };
  3776. });
  3777. },{"51":51,"66":66,"83":83}],204:[function(_dereq_,module,exports){
  3778. // 19.1.2.17 Object.seal(O)
  3779. var isObject = _dereq_(51);
  3780. var meta = _dereq_(66).onFreeze;
  3781. _dereq_(83)('seal', function ($seal) {
  3782. return function seal(it) {
  3783. return $seal && isObject(it) ? $seal(meta(it)) : it;
  3784. };
  3785. });
  3786. },{"51":51,"66":66,"83":83}],205:[function(_dereq_,module,exports){
  3787. // 19.1.3.19 Object.setPrototypeOf(O, proto)
  3788. var $export = _dereq_(33);
  3789. $export($export.S, 'Object', { setPrototypeOf: _dereq_(99).set });
  3790. },{"33":33,"99":99}],206:[function(_dereq_,module,exports){
  3791. 'use strict';
  3792. // 19.1.3.6 Object.prototype.toString()
  3793. var classof = _dereq_(17);
  3794. var test = {};
  3795. test[_dereq_(128)('toStringTag')] = 'z';
  3796. if (test + '' != '[object z]') {
  3797. _dereq_(94)(Object.prototype, 'toString', function toString() {
  3798. return '[object ' + classof(this) + ']';
  3799. }, true);
  3800. }
  3801. },{"128":128,"17":17,"94":94}],207:[function(_dereq_,module,exports){
  3802. var $export = _dereq_(33);
  3803. var $parseFloat = _dereq_(86);
  3804. // 18.2.4 parseFloat(string)
  3805. $export($export.G + $export.F * (parseFloat != $parseFloat), { parseFloat: $parseFloat });
  3806. },{"33":33,"86":86}],208:[function(_dereq_,module,exports){
  3807. var $export = _dereq_(33);
  3808. var $parseInt = _dereq_(87);
  3809. // 18.2.5 parseInt(string, radix)
  3810. $export($export.G + $export.F * (parseInt != $parseInt), { parseInt: $parseInt });
  3811. },{"33":33,"87":87}],209:[function(_dereq_,module,exports){
  3812. 'use strict';
  3813. var LIBRARY = _dereq_(60);
  3814. var global = _dereq_(40);
  3815. var ctx = _dereq_(25);
  3816. var classof = _dereq_(17);
  3817. var $export = _dereq_(33);
  3818. var isObject = _dereq_(51);
  3819. var aFunction = _dereq_(3);
  3820. var anInstance = _dereq_(6);
  3821. var forOf = _dereq_(39);
  3822. var speciesConstructor = _dereq_(104);
  3823. var task = _dereq_(113).set;
  3824. var microtask = _dereq_(68)();
  3825. var newPromiseCapabilityModule = _dereq_(69);
  3826. var perform = _dereq_(90);
  3827. var promiseResolve = _dereq_(91);
  3828. var PROMISE = 'Promise';
  3829. var TypeError = global.TypeError;
  3830. var process = global.process;
  3831. var $Promise = global[PROMISE];
  3832. var isNode = classof(process) == 'process';
  3833. var empty = function () { /* empty */ };
  3834. var Internal, newGenericPromiseCapability, OwnPromiseCapability, Wrapper;
  3835. var newPromiseCapability = newGenericPromiseCapability = newPromiseCapabilityModule.f;
  3836. var USE_NATIVE = !!function () {
  3837. try {
  3838. // correct subclassing with @@species support
  3839. var promise = $Promise.resolve(1);
  3840. var FakePromise = (promise.constructor = {})[_dereq_(128)('species')] = function (exec) {
  3841. exec(empty, empty);
  3842. };
  3843. // unhandled rejections tracking support, NodeJS Promise without it fails @@species test
  3844. return (isNode || typeof PromiseRejectionEvent == 'function') && promise.then(empty) instanceof FakePromise;
  3845. } catch (e) { /* empty */ }
  3846. }();
  3847. // helpers
  3848. var sameConstructor = LIBRARY ? function (a, b) {
  3849. // with library wrapper special case
  3850. return a === b || a === $Promise && b === Wrapper;
  3851. } : function (a, b) {
  3852. return a === b;
  3853. };
  3854. var isThenable = function (it) {
  3855. var then;
  3856. return isObject(it) && typeof (then = it.then) == 'function' ? then : false;
  3857. };
  3858. var notify = function (promise, isReject) {
  3859. if (promise._n) return;
  3860. promise._n = true;
  3861. var chain = promise._c;
  3862. microtask(function () {
  3863. var value = promise._v;
  3864. var ok = promise._s == 1;
  3865. var i = 0;
  3866. var run = function (reaction) {
  3867. var handler = ok ? reaction.ok : reaction.fail;
  3868. var resolve = reaction.resolve;
  3869. var reject = reaction.reject;
  3870. var domain = reaction.domain;
  3871. var result, then;
  3872. try {
  3873. if (handler) {
  3874. if (!ok) {
  3875. if (promise._h == 2) onHandleUnhandled(promise);
  3876. promise._h = 1;
  3877. }
  3878. if (handler === true) result = value;
  3879. else {
  3880. if (domain) domain.enter();
  3881. result = handler(value);
  3882. if (domain) domain.exit();
  3883. }
  3884. if (result === reaction.promise) {
  3885. reject(TypeError('Promise-chain cycle'));
  3886. } else if (then = isThenable(result)) {
  3887. then.call(result, resolve, reject);
  3888. } else resolve(result);
  3889. } else reject(value);
  3890. } catch (e) {
  3891. reject(e);
  3892. }
  3893. };
  3894. while (chain.length > i) run(chain[i++]); // variable length - can't use forEach
  3895. promise._c = [];
  3896. promise._n = false;
  3897. if (isReject && !promise._h) onUnhandled(promise);
  3898. });
  3899. };
  3900. var onUnhandled = function (promise) {
  3901. task.call(global, function () {
  3902. var value = promise._v;
  3903. var unhandled = isUnhandled(promise);
  3904. var result, handler, console;
  3905. if (unhandled) {
  3906. result = perform(function () {
  3907. if (isNode) {
  3908. process.emit('unhandledRejection', value, promise);
  3909. } else if (handler = global.onunhandledrejection) {
  3910. handler({ promise: promise, reason: value });
  3911. } else if ((console = global.console) && console.error) {
  3912. console.error('Unhandled promise rejection', value);
  3913. }
  3914. });
  3915. // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should
  3916. promise._h = isNode || isUnhandled(promise) ? 2 : 1;
  3917. } promise._a = undefined;
  3918. if (unhandled && result.e) throw result.v;
  3919. });
  3920. };
  3921. var isUnhandled = function (promise) {
  3922. if (promise._h == 1) return false;
  3923. var chain = promise._a || promise._c;
  3924. var i = 0;
  3925. var reaction;
  3926. while (chain.length > i) {
  3927. reaction = chain[i++];
  3928. if (reaction.fail || !isUnhandled(reaction.promise)) return false;
  3929. } return true;
  3930. };
  3931. var onHandleUnhandled = function (promise) {
  3932. task.call(global, function () {
  3933. var handler;
  3934. if (isNode) {
  3935. process.emit('rejectionHandled', promise);
  3936. } else if (handler = global.onrejectionhandled) {
  3937. handler({ promise: promise, reason: promise._v });
  3938. }
  3939. });
  3940. };
  3941. var $reject = function (value) {
  3942. var promise = this;
  3943. if (promise._d) return;
  3944. promise._d = true;
  3945. promise = promise._w || promise; // unwrap
  3946. promise._v = value;
  3947. promise._s = 2;
  3948. if (!promise._a) promise._a = promise._c.slice();
  3949. notify(promise, true);
  3950. };
  3951. var $resolve = function (value) {
  3952. var promise = this;
  3953. var then;
  3954. if (promise._d) return;
  3955. promise._d = true;
  3956. promise = promise._w || promise; // unwrap
  3957. try {
  3958. if (promise === value) throw TypeError("Promise can't be resolved itself");
  3959. if (then = isThenable(value)) {
  3960. microtask(function () {
  3961. var wrapper = { _w: promise, _d: false }; // wrap
  3962. try {
  3963. then.call(value, ctx($resolve, wrapper, 1), ctx($reject, wrapper, 1));
  3964. } catch (e) {
  3965. $reject.call(wrapper, e);
  3966. }
  3967. });
  3968. } else {
  3969. promise._v = value;
  3970. promise._s = 1;
  3971. notify(promise, false);
  3972. }
  3973. } catch (e) {
  3974. $reject.call({ _w: promise, _d: false }, e); // wrap
  3975. }
  3976. };
  3977. // constructor polyfill
  3978. if (!USE_NATIVE) {
  3979. // 25.4.3.1 Promise(executor)
  3980. $Promise = function Promise(executor) {
  3981. anInstance(this, $Promise, PROMISE, '_h');
  3982. aFunction(executor);
  3983. Internal.call(this);
  3984. try {
  3985. executor(ctx($resolve, this, 1), ctx($reject, this, 1));
  3986. } catch (err) {
  3987. $reject.call(this, err);
  3988. }
  3989. };
  3990. // eslint-disable-next-line no-unused-vars
  3991. Internal = function Promise(executor) {
  3992. this._c = []; // <- awaiting reactions
  3993. this._a = undefined; // <- checked in isUnhandled reactions
  3994. this._s = 0; // <- state
  3995. this._d = false; // <- done
  3996. this._v = undefined; // <- value
  3997. this._h = 0; // <- rejection state, 0 - default, 1 - handled, 2 - unhandled
  3998. this._n = false; // <- notify
  3999. };
  4000. Internal.prototype = _dereq_(93)($Promise.prototype, {
  4001. // 25.4.5.3 Promise.prototype.then(onFulfilled, onRejected)
  4002. then: function then(onFulfilled, onRejected) {
  4003. var reaction = newPromiseCapability(speciesConstructor(this, $Promise));
  4004. reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true;
  4005. reaction.fail = typeof onRejected == 'function' && onRejected;
  4006. reaction.domain = isNode ? process.domain : undefined;
  4007. this._c.push(reaction);
  4008. if (this._a) this._a.push(reaction);
  4009. if (this._s) notify(this, false);
  4010. return reaction.promise;
  4011. },
  4012. // 25.4.5.1 Promise.prototype.catch(onRejected)
  4013. 'catch': function (onRejected) {
  4014. return this.then(undefined, onRejected);
  4015. }
  4016. });
  4017. OwnPromiseCapability = function () {
  4018. var promise = new Internal();
  4019. this.promise = promise;
  4020. this.resolve = ctx($resolve, promise, 1);
  4021. this.reject = ctx($reject, promise, 1);
  4022. };
  4023. newPromiseCapabilityModule.f = newPromiseCapability = function (C) {
  4024. return sameConstructor($Promise, C)
  4025. ? new OwnPromiseCapability(C)
  4026. : newGenericPromiseCapability(C);
  4027. };
  4028. }
  4029. $export($export.G + $export.W + $export.F * !USE_NATIVE, { Promise: $Promise });
  4030. _dereq_(101)($Promise, PROMISE);
  4031. _dereq_(100)(PROMISE);
  4032. Wrapper = _dereq_(23)[PROMISE];
  4033. // statics
  4034. $export($export.S + $export.F * !USE_NATIVE, PROMISE, {
  4035. // 25.4.4.5 Promise.reject(r)
  4036. reject: function reject(r) {
  4037. var capability = newPromiseCapability(this);
  4038. var $$reject = capability.reject;
  4039. $$reject(r);
  4040. return capability.promise;
  4041. }
  4042. });
  4043. $export($export.S + $export.F * (LIBRARY || !USE_NATIVE), PROMISE, {
  4044. // 25.4.4.6 Promise.resolve(x)
  4045. resolve: function resolve(x) {
  4046. // instanceof instead of internal slot check because we should fix it without replacement native Promise core
  4047. if (x instanceof $Promise && sameConstructor(x.constructor, this)) return x;
  4048. return promiseResolve(this, x);
  4049. }
  4050. });
  4051. $export($export.S + $export.F * !(USE_NATIVE && _dereq_(56)(function (iter) {
  4052. $Promise.all(iter)['catch'](empty);
  4053. })), PROMISE, {
  4054. // 25.4.4.1 Promise.all(iterable)
  4055. all: function all(iterable) {
  4056. var C = this;
  4057. var capability = newPromiseCapability(C);
  4058. var resolve = capability.resolve;
  4059. var reject = capability.reject;
  4060. var result = perform(function () {
  4061. var values = [];
  4062. var index = 0;
  4063. var remaining = 1;
  4064. forOf(iterable, false, function (promise) {
  4065. var $index = index++;
  4066. var alreadyCalled = false;
  4067. values.push(undefined);
  4068. remaining++;
  4069. C.resolve(promise).then(function (value) {
  4070. if (alreadyCalled) return;
  4071. alreadyCalled = true;
  4072. values[$index] = value;
  4073. --remaining || resolve(values);
  4074. }, reject);
  4075. });
  4076. --remaining || resolve(values);
  4077. });
  4078. if (result.e) reject(result.v);
  4079. return capability.promise;
  4080. },
  4081. // 25.4.4.4 Promise.race(iterable)
  4082. race: function race(iterable) {
  4083. var C = this;
  4084. var capability = newPromiseCapability(C);
  4085. var reject = capability.reject;
  4086. var result = perform(function () {
  4087. forOf(iterable, false, function (promise) {
  4088. C.resolve(promise).then(capability.resolve, reject);
  4089. });
  4090. });
  4091. if (result.e) reject(result.v);
  4092. return capability.promise;
  4093. }
  4094. });
  4095. },{"100":100,"101":101,"104":104,"113":113,"128":128,"17":17,"23":23,"25":25,"3":3,"33":33,"39":39,"40":40,"51":51,"56":56,"6":6,"60":60,"68":68,"69":69,"90":90,"91":91,"93":93}],210:[function(_dereq_,module,exports){
  4096. // 26.1.1 Reflect.apply(target, thisArgument, argumentsList)
  4097. var $export = _dereq_(33);
  4098. var aFunction = _dereq_(3);
  4099. var anObject = _dereq_(7);
  4100. var rApply = (_dereq_(40).Reflect || {}).apply;
  4101. var fApply = Function.apply;
  4102. // MS Edge argumentsList argument is optional
  4103. $export($export.S + $export.F * !_dereq_(35)(function () {
  4104. rApply(function () { /* empty */ });
  4105. }), 'Reflect', {
  4106. apply: function apply(target, thisArgument, argumentsList) {
  4107. var T = aFunction(target);
  4108. var L = anObject(argumentsList);
  4109. return rApply ? rApply(T, thisArgument, L) : fApply.call(T, thisArgument, L);
  4110. }
  4111. });
  4112. },{"3":3,"33":33,"35":35,"40":40,"7":7}],211:[function(_dereq_,module,exports){
  4113. // 26.1.2 Reflect.construct(target, argumentsList [, newTarget])
  4114. var $export = _dereq_(33);
  4115. var create = _dereq_(71);
  4116. var aFunction = _dereq_(3);
  4117. var anObject = _dereq_(7);
  4118. var isObject = _dereq_(51);
  4119. var fails = _dereq_(35);
  4120. var bind = _dereq_(16);
  4121. var rConstruct = (_dereq_(40).Reflect || {}).construct;
  4122. // MS Edge supports only 2 arguments and argumentsList argument is optional
  4123. // FF Nightly sets third argument as `new.target`, but does not create `this` from it
  4124. var NEW_TARGET_BUG = fails(function () {
  4125. function F() { /* empty */ }
  4126. return !(rConstruct(function () { /* empty */ }, [], F) instanceof F);
  4127. });
  4128. var ARGS_BUG = !fails(function () {
  4129. rConstruct(function () { /* empty */ });
  4130. });
  4131. $export($export.S + $export.F * (NEW_TARGET_BUG || ARGS_BUG), 'Reflect', {
  4132. construct: function construct(Target, args /* , newTarget */) {
  4133. aFunction(Target);
  4134. anObject(args);
  4135. var newTarget = arguments.length < 3 ? Target : aFunction(arguments[2]);
  4136. if (ARGS_BUG && !NEW_TARGET_BUG) return rConstruct(Target, args, newTarget);
  4137. if (Target == newTarget) {
  4138. // w/o altered newTarget, optimization for 0-4 arguments
  4139. switch (args.length) {
  4140. case 0: return new Target();
  4141. case 1: return new Target(args[0]);
  4142. case 2: return new Target(args[0], args[1]);
  4143. case 3: return new Target(args[0], args[1], args[2]);
  4144. case 4: return new Target(args[0], args[1], args[2], args[3]);
  4145. }
  4146. // w/o altered newTarget, lot of arguments case
  4147. var $args = [null];
  4148. $args.push.apply($args, args);
  4149. return new (bind.apply(Target, $args))();
  4150. }
  4151. // with altered newTarget, not support built-in constructors
  4152. var proto = newTarget.prototype;
  4153. var instance = create(isObject(proto) ? proto : Object.prototype);
  4154. var result = Function.apply.call(Target, instance, args);
  4155. return isObject(result) ? result : instance;
  4156. }
  4157. });
  4158. },{"16":16,"3":3,"33":33,"35":35,"40":40,"51":51,"7":7,"71":71}],212:[function(_dereq_,module,exports){
  4159. // 26.1.3 Reflect.defineProperty(target, propertyKey, attributes)
  4160. var dP = _dereq_(72);
  4161. var $export = _dereq_(33);
  4162. var anObject = _dereq_(7);
  4163. var toPrimitive = _dereq_(120);
  4164. // MS Edge has broken Reflect.defineProperty - throwing instead of returning false
  4165. $export($export.S + $export.F * _dereq_(35)(function () {
  4166. // eslint-disable-next-line no-undef
  4167. Reflect.defineProperty(dP.f({}, 1, { value: 1 }), 1, { value: 2 });
  4168. }), 'Reflect', {
  4169. defineProperty: function defineProperty(target, propertyKey, attributes) {
  4170. anObject(target);
  4171. propertyKey = toPrimitive(propertyKey, true);
  4172. anObject(attributes);
  4173. try {
  4174. dP.f(target, propertyKey, attributes);
  4175. return true;
  4176. } catch (e) {
  4177. return false;
  4178. }
  4179. }
  4180. });
  4181. },{"120":120,"33":33,"35":35,"7":7,"72":72}],213:[function(_dereq_,module,exports){
  4182. // 26.1.4 Reflect.deleteProperty(target, propertyKey)
  4183. var $export = _dereq_(33);
  4184. var gOPD = _dereq_(75).f;
  4185. var anObject = _dereq_(7);
  4186. $export($export.S, 'Reflect', {
  4187. deleteProperty: function deleteProperty(target, propertyKey) {
  4188. var desc = gOPD(anObject(target), propertyKey);
  4189. return desc && !desc.configurable ? false : delete target[propertyKey];
  4190. }
  4191. });
  4192. },{"33":33,"7":7,"75":75}],214:[function(_dereq_,module,exports){
  4193. 'use strict';
  4194. // 26.1.5 Reflect.enumerate(target)
  4195. var $export = _dereq_(33);
  4196. var anObject = _dereq_(7);
  4197. var Enumerate = function (iterated) {
  4198. this._t = anObject(iterated); // target
  4199. this._i = 0; // next index
  4200. var keys = this._k = []; // keys
  4201. var key;
  4202. for (key in iterated) keys.push(key);
  4203. };
  4204. _dereq_(54)(Enumerate, 'Object', function () {
  4205. var that = this;
  4206. var keys = that._k;
  4207. var key;
  4208. do {
  4209. if (that._i >= keys.length) return { value: undefined, done: true };
  4210. } while (!((key = keys[that._i++]) in that._t));
  4211. return { value: key, done: false };
  4212. });
  4213. $export($export.S, 'Reflect', {
  4214. enumerate: function enumerate(target) {
  4215. return new Enumerate(target);
  4216. }
  4217. });
  4218. },{"33":33,"54":54,"7":7}],215:[function(_dereq_,module,exports){
  4219. // 26.1.7 Reflect.getOwnPropertyDescriptor(target, propertyKey)
  4220. var gOPD = _dereq_(75);
  4221. var $export = _dereq_(33);
  4222. var anObject = _dereq_(7);
  4223. $export($export.S, 'Reflect', {
  4224. getOwnPropertyDescriptor: function getOwnPropertyDescriptor(target, propertyKey) {
  4225. return gOPD.f(anObject(target), propertyKey);
  4226. }
  4227. });
  4228. },{"33":33,"7":7,"75":75}],216:[function(_dereq_,module,exports){
  4229. // 26.1.8 Reflect.getPrototypeOf(target)
  4230. var $export = _dereq_(33);
  4231. var getProto = _dereq_(79);
  4232. var anObject = _dereq_(7);
  4233. $export($export.S, 'Reflect', {
  4234. getPrototypeOf: function getPrototypeOf(target) {
  4235. return getProto(anObject(target));
  4236. }
  4237. });
  4238. },{"33":33,"7":7,"79":79}],217:[function(_dereq_,module,exports){
  4239. // 26.1.6 Reflect.get(target, propertyKey [, receiver])
  4240. var gOPD = _dereq_(75);
  4241. var getPrototypeOf = _dereq_(79);
  4242. var has = _dereq_(41);
  4243. var $export = _dereq_(33);
  4244. var isObject = _dereq_(51);
  4245. var anObject = _dereq_(7);
  4246. function get(target, propertyKey /* , receiver */) {
  4247. var receiver = arguments.length < 3 ? target : arguments[2];
  4248. var desc, proto;
  4249. if (anObject(target) === receiver) return target[propertyKey];
  4250. if (desc = gOPD.f(target, propertyKey)) return has(desc, 'value')
  4251. ? desc.value
  4252. : desc.get !== undefined
  4253. ? desc.get.call(receiver)
  4254. : undefined;
  4255. if (isObject(proto = getPrototypeOf(target))) return get(proto, propertyKey, receiver);
  4256. }
  4257. $export($export.S, 'Reflect', { get: get });
  4258. },{"33":33,"41":41,"51":51,"7":7,"75":75,"79":79}],218:[function(_dereq_,module,exports){
  4259. // 26.1.9 Reflect.has(target, propertyKey)
  4260. var $export = _dereq_(33);
  4261. $export($export.S, 'Reflect', {
  4262. has: function has(target, propertyKey) {
  4263. return propertyKey in target;
  4264. }
  4265. });
  4266. },{"33":33}],219:[function(_dereq_,module,exports){
  4267. // 26.1.10 Reflect.isExtensible(target)
  4268. var $export = _dereq_(33);
  4269. var anObject = _dereq_(7);
  4270. var $isExtensible = Object.isExtensible;
  4271. $export($export.S, 'Reflect', {
  4272. isExtensible: function isExtensible(target) {
  4273. anObject(target);
  4274. return $isExtensible ? $isExtensible(target) : true;
  4275. }
  4276. });
  4277. },{"33":33,"7":7}],220:[function(_dereq_,module,exports){
  4278. // 26.1.11 Reflect.ownKeys(target)
  4279. var $export = _dereq_(33);
  4280. $export($export.S, 'Reflect', { ownKeys: _dereq_(85) });
  4281. },{"33":33,"85":85}],221:[function(_dereq_,module,exports){
  4282. // 26.1.12 Reflect.preventExtensions(target)
  4283. var $export = _dereq_(33);
  4284. var anObject = _dereq_(7);
  4285. var $preventExtensions = Object.preventExtensions;
  4286. $export($export.S, 'Reflect', {
  4287. preventExtensions: function preventExtensions(target) {
  4288. anObject(target);
  4289. try {
  4290. if ($preventExtensions) $preventExtensions(target);
  4291. return true;
  4292. } catch (e) {
  4293. return false;
  4294. }
  4295. }
  4296. });
  4297. },{"33":33,"7":7}],222:[function(_dereq_,module,exports){
  4298. // 26.1.14 Reflect.setPrototypeOf(target, proto)
  4299. var $export = _dereq_(33);
  4300. var setProto = _dereq_(99);
  4301. if (setProto) $export($export.S, 'Reflect', {
  4302. setPrototypeOf: function setPrototypeOf(target, proto) {
  4303. setProto.check(target, proto);
  4304. try {
  4305. setProto.set(target, proto);
  4306. return true;
  4307. } catch (e) {
  4308. return false;
  4309. }
  4310. }
  4311. });
  4312. },{"33":33,"99":99}],223:[function(_dereq_,module,exports){
  4313. // 26.1.13 Reflect.set(target, propertyKey, V [, receiver])
  4314. var dP = _dereq_(72);
  4315. var gOPD = _dereq_(75);
  4316. var getPrototypeOf = _dereq_(79);
  4317. var has = _dereq_(41);
  4318. var $export = _dereq_(33);
  4319. var createDesc = _dereq_(92);
  4320. var anObject = _dereq_(7);
  4321. var isObject = _dereq_(51);
  4322. function set(target, propertyKey, V /* , receiver */) {
  4323. var receiver = arguments.length < 4 ? target : arguments[3];
  4324. var ownDesc = gOPD.f(anObject(target), propertyKey);
  4325. var existingDescriptor, proto;
  4326. if (!ownDesc) {
  4327. if (isObject(proto = getPrototypeOf(target))) {
  4328. return set(proto, propertyKey, V, receiver);
  4329. }
  4330. ownDesc = createDesc(0);
  4331. }
  4332. if (has(ownDesc, 'value')) {
  4333. if (ownDesc.writable === false || !isObject(receiver)) return false;
  4334. existingDescriptor = gOPD.f(receiver, propertyKey) || createDesc(0);
  4335. existingDescriptor.value = V;
  4336. dP.f(receiver, propertyKey, existingDescriptor);
  4337. return true;
  4338. }
  4339. return ownDesc.set === undefined ? false : (ownDesc.set.call(receiver, V), true);
  4340. }
  4341. $export($export.S, 'Reflect', { set: set });
  4342. },{"33":33,"41":41,"51":51,"7":7,"72":72,"75":75,"79":79,"92":92}],224:[function(_dereq_,module,exports){
  4343. var global = _dereq_(40);
  4344. var inheritIfRequired = _dereq_(45);
  4345. var dP = _dereq_(72).f;
  4346. var gOPN = _dereq_(77).f;
  4347. var isRegExp = _dereq_(52);
  4348. var $flags = _dereq_(37);
  4349. var $RegExp = global.RegExp;
  4350. var Base = $RegExp;
  4351. var proto = $RegExp.prototype;
  4352. var re1 = /a/g;
  4353. var re2 = /a/g;
  4354. // "new" creates a new object, old webkit buggy here
  4355. var CORRECT_NEW = new $RegExp(re1) !== re1;
  4356. if (_dereq_(29) && (!CORRECT_NEW || _dereq_(35)(function () {
  4357. re2[_dereq_(128)('match')] = false;
  4358. // RegExp constructor can alter flags and IsRegExp works correct with @@match
  4359. return $RegExp(re1) != re1 || $RegExp(re2) == re2 || $RegExp(re1, 'i') != '/a/i';
  4360. }))) {
  4361. $RegExp = function RegExp(p, f) {
  4362. var tiRE = this instanceof $RegExp;
  4363. var piRE = isRegExp(p);
  4364. var fiU = f === undefined;
  4365. return !tiRE && piRE && p.constructor === $RegExp && fiU ? p
  4366. : inheritIfRequired(CORRECT_NEW
  4367. ? new Base(piRE && !fiU ? p.source : p, f)
  4368. : Base((piRE = p instanceof $RegExp) ? p.source : p, piRE && fiU ? $flags.call(p) : f)
  4369. , tiRE ? this : proto, $RegExp);
  4370. };
  4371. var proxy = function (key) {
  4372. key in $RegExp || dP($RegExp, key, {
  4373. configurable: true,
  4374. get: function () { return Base[key]; },
  4375. set: function (it) { Base[key] = it; }
  4376. });
  4377. };
  4378. for (var keys = gOPN(Base), i = 0; keys.length > i;) proxy(keys[i++]);
  4379. proto.constructor = $RegExp;
  4380. $RegExp.prototype = proto;
  4381. _dereq_(94)(global, 'RegExp', $RegExp);
  4382. }
  4383. _dereq_(100)('RegExp');
  4384. },{"100":100,"128":128,"29":29,"35":35,"37":37,"40":40,"45":45,"52":52,"72":72,"77":77,"94":94}],225:[function(_dereq_,module,exports){
  4385. // 21.2.5.3 get RegExp.prototype.flags()
  4386. if (_dereq_(29) && /./g.flags != 'g') _dereq_(72).f(RegExp.prototype, 'flags', {
  4387. configurable: true,
  4388. get: _dereq_(37)
  4389. });
  4390. },{"29":29,"37":37,"72":72}],226:[function(_dereq_,module,exports){
  4391. // @@match logic
  4392. _dereq_(36)('match', 1, function (defined, MATCH, $match) {
  4393. // 21.1.3.11 String.prototype.match(regexp)
  4394. return [function match(regexp) {
  4395. 'use strict';
  4396. var O = defined(this);
  4397. var fn = regexp == undefined ? undefined : regexp[MATCH];
  4398. return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[MATCH](String(O));
  4399. }, $match];
  4400. });
  4401. },{"36":36}],227:[function(_dereq_,module,exports){
  4402. // @@replace logic
  4403. _dereq_(36)('replace', 2, function (defined, REPLACE, $replace) {
  4404. // 21.1.3.14 String.prototype.replace(searchValue, replaceValue)
  4405. return [function replace(searchValue, replaceValue) {
  4406. 'use strict';
  4407. var O = defined(this);
  4408. var fn = searchValue == undefined ? undefined : searchValue[REPLACE];
  4409. return fn !== undefined
  4410. ? fn.call(searchValue, O, replaceValue)
  4411. : $replace.call(String(O), searchValue, replaceValue);
  4412. }, $replace];
  4413. });
  4414. },{"36":36}],228:[function(_dereq_,module,exports){
  4415. // @@search logic
  4416. _dereq_(36)('search', 1, function (defined, SEARCH, $search) {
  4417. // 21.1.3.15 String.prototype.search(regexp)
  4418. return [function search(regexp) {
  4419. 'use strict';
  4420. var O = defined(this);
  4421. var fn = regexp == undefined ? undefined : regexp[SEARCH];
  4422. return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[SEARCH](String(O));
  4423. }, $search];
  4424. });
  4425. },{"36":36}],229:[function(_dereq_,module,exports){
  4426. // @@split logic
  4427. _dereq_(36)('split', 2, function (defined, SPLIT, $split) {
  4428. 'use strict';
  4429. var isRegExp = _dereq_(52);
  4430. var _split = $split;
  4431. var $push = [].push;
  4432. var $SPLIT = 'split';
  4433. var LENGTH = 'length';
  4434. var LAST_INDEX = 'lastIndex';
  4435. if (
  4436. 'abbc'[$SPLIT](/(b)*/)[1] == 'c' ||
  4437. 'test'[$SPLIT](/(?:)/, -1)[LENGTH] != 4 ||
  4438. 'ab'[$SPLIT](/(?:ab)*/)[LENGTH] != 2 ||
  4439. '.'[$SPLIT](/(.?)(.?)/)[LENGTH] != 4 ||
  4440. '.'[$SPLIT](/()()/)[LENGTH] > 1 ||
  4441. ''[$SPLIT](/.?/)[LENGTH]
  4442. ) {
  4443. var NPCG = /()??/.exec('')[1] === undefined; // nonparticipating capturing group
  4444. // based on es5-shim implementation, need to rework it
  4445. $split = function (separator, limit) {
  4446. var string = String(this);
  4447. if (separator === undefined && limit === 0) return [];
  4448. // If `separator` is not a regex, use native split
  4449. if (!isRegExp(separator)) return _split.call(string, separator, limit);
  4450. var output = [];
  4451. var flags = (separator.ignoreCase ? 'i' : '') +
  4452. (separator.multiline ? 'm' : '') +
  4453. (separator.unicode ? 'u' : '') +
  4454. (separator.sticky ? 'y' : '');
  4455. var lastLastIndex = 0;
  4456. var splitLimit = limit === undefined ? 4294967295 : limit >>> 0;
  4457. // Make `global` and avoid `lastIndex` issues by working with a copy
  4458. var separatorCopy = new RegExp(separator.source, flags + 'g');
  4459. var separator2, match, lastIndex, lastLength, i;
  4460. // Doesn't need flags gy, but they don't hurt
  4461. if (!NPCG) separator2 = new RegExp('^' + separatorCopy.source + '$(?!\\s)', flags);
  4462. while (match = separatorCopy.exec(string)) {
  4463. // `separatorCopy.lastIndex` is not reliable cross-browser
  4464. lastIndex = match.index + match[0][LENGTH];
  4465. if (lastIndex > lastLastIndex) {
  4466. output.push(string.slice(lastLastIndex, match.index));
  4467. // Fix browsers whose `exec` methods don't consistently return `undefined` for NPCG
  4468. // eslint-disable-next-line no-loop-func
  4469. if (!NPCG && match[LENGTH] > 1) match[0].replace(separator2, function () {
  4470. for (i = 1; i < arguments[LENGTH] - 2; i++) if (arguments[i] === undefined) match[i] = undefined;
  4471. });
  4472. if (match[LENGTH] > 1 && match.index < string[LENGTH]) $push.apply(output, match.slice(1));
  4473. lastLength = match[0][LENGTH];
  4474. lastLastIndex = lastIndex;
  4475. if (output[LENGTH] >= splitLimit) break;
  4476. }
  4477. if (separatorCopy[LAST_INDEX] === match.index) separatorCopy[LAST_INDEX]++; // Avoid an infinite loop
  4478. }
  4479. if (lastLastIndex === string[LENGTH]) {
  4480. if (lastLength || !separatorCopy.test('')) output.push('');
  4481. } else output.push(string.slice(lastLastIndex));
  4482. return output[LENGTH] > splitLimit ? output.slice(0, splitLimit) : output;
  4483. };
  4484. // Chakra, V8
  4485. } else if ('0'[$SPLIT](undefined, 0)[LENGTH]) {
  4486. $split = function (separator, limit) {
  4487. return separator === undefined && limit === 0 ? [] : _split.call(this, separator, limit);
  4488. };
  4489. }
  4490. // 21.1.3.17 String.prototype.split(separator, limit)
  4491. return [function split(separator, limit) {
  4492. var O = defined(this);
  4493. var fn = separator == undefined ? undefined : separator[SPLIT];
  4494. return fn !== undefined ? fn.call(separator, O, limit) : $split.call(String(O), separator, limit);
  4495. }, $split];
  4496. });
  4497. },{"36":36,"52":52}],230:[function(_dereq_,module,exports){
  4498. 'use strict';
  4499. _dereq_(225);
  4500. var anObject = _dereq_(7);
  4501. var $flags = _dereq_(37);
  4502. var DESCRIPTORS = _dereq_(29);
  4503. var TO_STRING = 'toString';
  4504. var $toString = /./[TO_STRING];
  4505. var define = function (fn) {
  4506. _dereq_(94)(RegExp.prototype, TO_STRING, fn, true);
  4507. };
  4508. // 21.2.5.14 RegExp.prototype.toString()
  4509. if (_dereq_(35)(function () { return $toString.call({ source: 'a', flags: 'b' }) != '/a/b'; })) {
  4510. define(function toString() {
  4511. var R = anObject(this);
  4512. return '/'.concat(R.source, '/',
  4513. 'flags' in R ? R.flags : !DESCRIPTORS && R instanceof RegExp ? $flags.call(R) : undefined);
  4514. });
  4515. // FF44- RegExp#toString has a wrong name
  4516. } else if ($toString.name != TO_STRING) {
  4517. define(function toString() {
  4518. return $toString.call(this);
  4519. });
  4520. }
  4521. },{"225":225,"29":29,"35":35,"37":37,"7":7,"94":94}],231:[function(_dereq_,module,exports){
  4522. 'use strict';
  4523. var strong = _dereq_(19);
  4524. var validate = _dereq_(125);
  4525. var SET = 'Set';
  4526. // 23.2 Set Objects
  4527. module.exports = _dereq_(22)(SET, function (get) {
  4528. return function Set() { return get(this, arguments.length > 0 ? arguments[0] : undefined); };
  4529. }, {
  4530. // 23.2.3.1 Set.prototype.add(value)
  4531. add: function add(value) {
  4532. return strong.def(validate(this, SET), value = value === 0 ? 0 : value, value);
  4533. }
  4534. }, strong);
  4535. },{"125":125,"19":19,"22":22}],232:[function(_dereq_,module,exports){
  4536. 'use strict';
  4537. // B.2.3.2 String.prototype.anchor(name)
  4538. _dereq_(108)('anchor', function (createHTML) {
  4539. return function anchor(name) {
  4540. return createHTML(this, 'a', 'name', name);
  4541. };
  4542. });
  4543. },{"108":108}],233:[function(_dereq_,module,exports){
  4544. 'use strict';
  4545. // B.2.3.3 String.prototype.big()
  4546. _dereq_(108)('big', function (createHTML) {
  4547. return function big() {
  4548. return createHTML(this, 'big', '', '');
  4549. };
  4550. });
  4551. },{"108":108}],234:[function(_dereq_,module,exports){
  4552. 'use strict';
  4553. // B.2.3.4 String.prototype.blink()
  4554. _dereq_(108)('blink', function (createHTML) {
  4555. return function blink() {
  4556. return createHTML(this, 'blink', '', '');
  4557. };
  4558. });
  4559. },{"108":108}],235:[function(_dereq_,module,exports){
  4560. 'use strict';
  4561. // B.2.3.5 String.prototype.bold()
  4562. _dereq_(108)('bold', function (createHTML) {
  4563. return function bold() {
  4564. return createHTML(this, 'b', '', '');
  4565. };
  4566. });
  4567. },{"108":108}],236:[function(_dereq_,module,exports){
  4568. 'use strict';
  4569. var $export = _dereq_(33);
  4570. var $at = _dereq_(106)(false);
  4571. $export($export.P, 'String', {
  4572. // 21.1.3.3 String.prototype.codePointAt(pos)
  4573. codePointAt: function codePointAt(pos) {
  4574. return $at(this, pos);
  4575. }
  4576. });
  4577. },{"106":106,"33":33}],237:[function(_dereq_,module,exports){
  4578. // 21.1.3.6 String.prototype.endsWith(searchString [, endPosition])
  4579. 'use strict';
  4580. var $export = _dereq_(33);
  4581. var toLength = _dereq_(118);
  4582. var context = _dereq_(107);
  4583. var ENDS_WITH = 'endsWith';
  4584. var $endsWith = ''[ENDS_WITH];
  4585. $export($export.P + $export.F * _dereq_(34)(ENDS_WITH), 'String', {
  4586. endsWith: function endsWith(searchString /* , endPosition = @length */) {
  4587. var that = context(this, searchString, ENDS_WITH);
  4588. var endPosition = arguments.length > 1 ? arguments[1] : undefined;
  4589. var len = toLength(that.length);
  4590. var end = endPosition === undefined ? len : Math.min(toLength(endPosition), len);
  4591. var search = String(searchString);
  4592. return $endsWith
  4593. ? $endsWith.call(that, search, end)
  4594. : that.slice(end - search.length, end) === search;
  4595. }
  4596. });
  4597. },{"107":107,"118":118,"33":33,"34":34}],238:[function(_dereq_,module,exports){
  4598. 'use strict';
  4599. // B.2.3.6 String.prototype.fixed()
  4600. _dereq_(108)('fixed', function (createHTML) {
  4601. return function fixed() {
  4602. return createHTML(this, 'tt', '', '');
  4603. };
  4604. });
  4605. },{"108":108}],239:[function(_dereq_,module,exports){
  4606. 'use strict';
  4607. // B.2.3.7 String.prototype.fontcolor(color)
  4608. _dereq_(108)('fontcolor', function (createHTML) {
  4609. return function fontcolor(color) {
  4610. return createHTML(this, 'font', 'color', color);
  4611. };
  4612. });
  4613. },{"108":108}],240:[function(_dereq_,module,exports){
  4614. 'use strict';
  4615. // B.2.3.8 String.prototype.fontsize(size)
  4616. _dereq_(108)('fontsize', function (createHTML) {
  4617. return function fontsize(size) {
  4618. return createHTML(this, 'font', 'size', size);
  4619. };
  4620. });
  4621. },{"108":108}],241:[function(_dereq_,module,exports){
  4622. var $export = _dereq_(33);
  4623. var toAbsoluteIndex = _dereq_(114);
  4624. var fromCharCode = String.fromCharCode;
  4625. var $fromCodePoint = String.fromCodePoint;
  4626. // length should be 1, old FF problem
  4627. $export($export.S + $export.F * (!!$fromCodePoint && $fromCodePoint.length != 1), 'String', {
  4628. // 21.1.2.2 String.fromCodePoint(...codePoints)
  4629. fromCodePoint: function fromCodePoint(x) { // eslint-disable-line no-unused-vars
  4630. var res = [];
  4631. var aLen = arguments.length;
  4632. var i = 0;
  4633. var code;
  4634. while (aLen > i) {
  4635. code = +arguments[i++];
  4636. if (toAbsoluteIndex(code, 0x10ffff) !== code) throw RangeError(code + ' is not a valid code point');
  4637. res.push(code < 0x10000
  4638. ? fromCharCode(code)
  4639. : fromCharCode(((code -= 0x10000) >> 10) + 0xd800, code % 0x400 + 0xdc00)
  4640. );
  4641. } return res.join('');
  4642. }
  4643. });
  4644. },{"114":114,"33":33}],242:[function(_dereq_,module,exports){
  4645. // 21.1.3.7 String.prototype.includes(searchString, position = 0)
  4646. 'use strict';
  4647. var $export = _dereq_(33);
  4648. var context = _dereq_(107);
  4649. var INCLUDES = 'includes';
  4650. $export($export.P + $export.F * _dereq_(34)(INCLUDES), 'String', {
  4651. includes: function includes(searchString /* , position = 0 */) {
  4652. return !!~context(this, searchString, INCLUDES)
  4653. .indexOf(searchString, arguments.length > 1 ? arguments[1] : undefined);
  4654. }
  4655. });
  4656. },{"107":107,"33":33,"34":34}],243:[function(_dereq_,module,exports){
  4657. 'use strict';
  4658. // B.2.3.9 String.prototype.italics()
  4659. _dereq_(108)('italics', function (createHTML) {
  4660. return function italics() {
  4661. return createHTML(this, 'i', '', '');
  4662. };
  4663. });
  4664. },{"108":108}],244:[function(_dereq_,module,exports){
  4665. 'use strict';
  4666. var $at = _dereq_(106)(true);
  4667. // 21.1.3.27 String.prototype[@@iterator]()
  4668. _dereq_(55)(String, 'String', function (iterated) {
  4669. this._t = String(iterated); // target
  4670. this._i = 0; // next index
  4671. // 21.1.5.2.1 %StringIteratorPrototype%.next()
  4672. }, function () {
  4673. var O = this._t;
  4674. var index = this._i;
  4675. var point;
  4676. if (index >= O.length) return { value: undefined, done: true };
  4677. point = $at(O, index);
  4678. this._i += point.length;
  4679. return { value: point, done: false };
  4680. });
  4681. },{"106":106,"55":55}],245:[function(_dereq_,module,exports){
  4682. 'use strict';
  4683. // B.2.3.10 String.prototype.link(url)
  4684. _dereq_(108)('link', function (createHTML) {
  4685. return function link(url) {
  4686. return createHTML(this, 'a', 'href', url);
  4687. };
  4688. });
  4689. },{"108":108}],246:[function(_dereq_,module,exports){
  4690. var $export = _dereq_(33);
  4691. var toIObject = _dereq_(117);
  4692. var toLength = _dereq_(118);
  4693. $export($export.S, 'String', {
  4694. // 21.1.2.4 String.raw(callSite, ...substitutions)
  4695. raw: function raw(callSite) {
  4696. var tpl = toIObject(callSite.raw);
  4697. var len = toLength(tpl.length);
  4698. var aLen = arguments.length;
  4699. var res = [];
  4700. var i = 0;
  4701. while (len > i) {
  4702. res.push(String(tpl[i++]));
  4703. if (i < aLen) res.push(String(arguments[i]));
  4704. } return res.join('');
  4705. }
  4706. });
  4707. },{"117":117,"118":118,"33":33}],247:[function(_dereq_,module,exports){
  4708. var $export = _dereq_(33);
  4709. $export($export.P, 'String', {
  4710. // 21.1.3.13 String.prototype.repeat(count)
  4711. repeat: _dereq_(110)
  4712. });
  4713. },{"110":110,"33":33}],248:[function(_dereq_,module,exports){
  4714. 'use strict';
  4715. // B.2.3.11 String.prototype.small()
  4716. _dereq_(108)('small', function (createHTML) {
  4717. return function small() {
  4718. return createHTML(this, 'small', '', '');
  4719. };
  4720. });
  4721. },{"108":108}],249:[function(_dereq_,module,exports){
  4722. // 21.1.3.18 String.prototype.startsWith(searchString [, position ])
  4723. 'use strict';
  4724. var $export = _dereq_(33);
  4725. var toLength = _dereq_(118);
  4726. var context = _dereq_(107);
  4727. var STARTS_WITH = 'startsWith';
  4728. var $startsWith = ''[STARTS_WITH];
  4729. $export($export.P + $export.F * _dereq_(34)(STARTS_WITH), 'String', {
  4730. startsWith: function startsWith(searchString /* , position = 0 */) {
  4731. var that = context(this, searchString, STARTS_WITH);
  4732. var index = toLength(Math.min(arguments.length > 1 ? arguments[1] : undefined, that.length));
  4733. var search = String(searchString);
  4734. return $startsWith
  4735. ? $startsWith.call(that, search, index)
  4736. : that.slice(index, index + search.length) === search;
  4737. }
  4738. });
  4739. },{"107":107,"118":118,"33":33,"34":34}],250:[function(_dereq_,module,exports){
  4740. 'use strict';
  4741. // B.2.3.12 String.prototype.strike()
  4742. _dereq_(108)('strike', function (createHTML) {
  4743. return function strike() {
  4744. return createHTML(this, 'strike', '', '');
  4745. };
  4746. });
  4747. },{"108":108}],251:[function(_dereq_,module,exports){
  4748. 'use strict';
  4749. // B.2.3.13 String.prototype.sub()
  4750. _dereq_(108)('sub', function (createHTML) {
  4751. return function sub() {
  4752. return createHTML(this, 'sub', '', '');
  4753. };
  4754. });
  4755. },{"108":108}],252:[function(_dereq_,module,exports){
  4756. 'use strict';
  4757. // B.2.3.14 String.prototype.sup()
  4758. _dereq_(108)('sup', function (createHTML) {
  4759. return function sup() {
  4760. return createHTML(this, 'sup', '', '');
  4761. };
  4762. });
  4763. },{"108":108}],253:[function(_dereq_,module,exports){
  4764. 'use strict';
  4765. // 21.1.3.25 String.prototype.trim()
  4766. _dereq_(111)('trim', function ($trim) {
  4767. return function trim() {
  4768. return $trim(this, 3);
  4769. };
  4770. });
  4771. },{"111":111}],254:[function(_dereq_,module,exports){
  4772. 'use strict';
  4773. // ECMAScript 6 symbols shim
  4774. var global = _dereq_(40);
  4775. var has = _dereq_(41);
  4776. var DESCRIPTORS = _dereq_(29);
  4777. var $export = _dereq_(33);
  4778. var redefine = _dereq_(94);
  4779. var META = _dereq_(66).KEY;
  4780. var $fails = _dereq_(35);
  4781. var shared = _dereq_(103);
  4782. var setToStringTag = _dereq_(101);
  4783. var uid = _dereq_(124);
  4784. var wks = _dereq_(128);
  4785. var wksExt = _dereq_(127);
  4786. var wksDefine = _dereq_(126);
  4787. var keyOf = _dereq_(59);
  4788. var enumKeys = _dereq_(32);
  4789. var isArray = _dereq_(49);
  4790. var anObject = _dereq_(7);
  4791. var toIObject = _dereq_(117);
  4792. var toPrimitive = _dereq_(120);
  4793. var createDesc = _dereq_(92);
  4794. var _create = _dereq_(71);
  4795. var gOPNExt = _dereq_(76);
  4796. var $GOPD = _dereq_(75);
  4797. var $DP = _dereq_(72);
  4798. var $keys = _dereq_(81);
  4799. var gOPD = $GOPD.f;
  4800. var dP = $DP.f;
  4801. var gOPN = gOPNExt.f;
  4802. var $Symbol = global.Symbol;
  4803. var $JSON = global.JSON;
  4804. var _stringify = $JSON && $JSON.stringify;
  4805. var PROTOTYPE = 'prototype';
  4806. var HIDDEN = wks('_hidden');
  4807. var TO_PRIMITIVE = wks('toPrimitive');
  4808. var isEnum = {}.propertyIsEnumerable;
  4809. var SymbolRegistry = shared('symbol-registry');
  4810. var AllSymbols = shared('symbols');
  4811. var OPSymbols = shared('op-symbols');
  4812. var ObjectProto = Object[PROTOTYPE];
  4813. var USE_NATIVE = typeof $Symbol == 'function';
  4814. var QObject = global.QObject;
  4815. // Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173
  4816. var setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;
  4817. // fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687
  4818. var setSymbolDesc = DESCRIPTORS && $fails(function () {
  4819. return _create(dP({}, 'a', {
  4820. get: function () { return dP(this, 'a', { value: 7 }).a; }
  4821. })).a != 7;
  4822. }) ? function (it, key, D) {
  4823. var protoDesc = gOPD(ObjectProto, key);
  4824. if (protoDesc) delete ObjectProto[key];
  4825. dP(it, key, D);
  4826. if (protoDesc && it !== ObjectProto) dP(ObjectProto, key, protoDesc);
  4827. } : dP;
  4828. var wrap = function (tag) {
  4829. var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]);
  4830. sym._k = tag;
  4831. return sym;
  4832. };
  4833. var isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function (it) {
  4834. return typeof it == 'symbol';
  4835. } : function (it) {
  4836. return it instanceof $Symbol;
  4837. };
  4838. var $defineProperty = function defineProperty(it, key, D) {
  4839. if (it === ObjectProto) $defineProperty(OPSymbols, key, D);
  4840. anObject(it);
  4841. key = toPrimitive(key, true);
  4842. anObject(D);
  4843. if (has(AllSymbols, key)) {
  4844. if (!D.enumerable) {
  4845. if (!has(it, HIDDEN)) dP(it, HIDDEN, createDesc(1, {}));
  4846. it[HIDDEN][key] = true;
  4847. } else {
  4848. if (has(it, HIDDEN) && it[HIDDEN][key]) it[HIDDEN][key] = false;
  4849. D = _create(D, { enumerable: createDesc(0, false) });
  4850. } return setSymbolDesc(it, key, D);
  4851. } return dP(it, key, D);
  4852. };
  4853. var $defineProperties = function defineProperties(it, P) {
  4854. anObject(it);
  4855. var keys = enumKeys(P = toIObject(P));
  4856. var i = 0;
  4857. var l = keys.length;
  4858. var key;
  4859. while (l > i) $defineProperty(it, key = keys[i++], P[key]);
  4860. return it;
  4861. };
  4862. var $create = function create(it, P) {
  4863. return P === undefined ? _create(it) : $defineProperties(_create(it), P);
  4864. };
  4865. var $propertyIsEnumerable = function propertyIsEnumerable(key) {
  4866. var E = isEnum.call(this, key = toPrimitive(key, true));
  4867. if (this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return false;
  4868. return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true;
  4869. };
  4870. var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key) {
  4871. it = toIObject(it);
  4872. key = toPrimitive(key, true);
  4873. if (it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return;
  4874. var D = gOPD(it, key);
  4875. if (D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) D.enumerable = true;
  4876. return D;
  4877. };
  4878. var $getOwnPropertyNames = function getOwnPropertyNames(it) {
  4879. var names = gOPN(toIObject(it));
  4880. var result = [];
  4881. var i = 0;
  4882. var key;
  4883. while (names.length > i) {
  4884. if (!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META) result.push(key);
  4885. } return result;
  4886. };
  4887. var $getOwnPropertySymbols = function getOwnPropertySymbols(it) {
  4888. var IS_OP = it === ObjectProto;
  4889. var names = gOPN(IS_OP ? OPSymbols : toIObject(it));
  4890. var result = [];
  4891. var i = 0;
  4892. var key;
  4893. while (names.length > i) {
  4894. if (has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true)) result.push(AllSymbols[key]);
  4895. } return result;
  4896. };
  4897. // 19.4.1.1 Symbol([description])
  4898. if (!USE_NATIVE) {
  4899. $Symbol = function Symbol() {
  4900. if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor!');
  4901. var tag = uid(arguments.length > 0 ? arguments[0] : undefined);
  4902. var $set = function (value) {
  4903. if (this === ObjectProto) $set.call(OPSymbols, value);
  4904. if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false;
  4905. setSymbolDesc(this, tag, createDesc(1, value));
  4906. };
  4907. if (DESCRIPTORS && setter) setSymbolDesc(ObjectProto, tag, { configurable: true, set: $set });
  4908. return wrap(tag);
  4909. };
  4910. redefine($Symbol[PROTOTYPE], 'toString', function toString() {
  4911. return this._k;
  4912. });
  4913. $GOPD.f = $getOwnPropertyDescriptor;
  4914. $DP.f = $defineProperty;
  4915. _dereq_(77).f = gOPNExt.f = $getOwnPropertyNames;
  4916. _dereq_(82).f = $propertyIsEnumerable;
  4917. _dereq_(78).f = $getOwnPropertySymbols;
  4918. if (DESCRIPTORS && !_dereq_(60)) {
  4919. redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true);
  4920. }
  4921. wksExt.f = function (name) {
  4922. return wrap(wks(name));
  4923. };
  4924. }
  4925. $export($export.G + $export.W + $export.F * !USE_NATIVE, { Symbol: $Symbol });
  4926. for (var es6Symbols = (
  4927. // 19.4.2.2, 19.4.2.3, 19.4.2.4, 19.4.2.6, 19.4.2.8, 19.4.2.9, 19.4.2.10, 19.4.2.11, 19.4.2.12, 19.4.2.13, 19.4.2.14
  4928. 'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables'
  4929. ).split(','), j = 0; es6Symbols.length > j;)wks(es6Symbols[j++]);
  4930. for (var wellKnownSymbols = $keys(wks.store), k = 0; wellKnownSymbols.length > k;) wksDefine(wellKnownSymbols[k++]);
  4931. $export($export.S + $export.F * !USE_NATIVE, 'Symbol', {
  4932. // 19.4.2.1 Symbol.for(key)
  4933. 'for': function (key) {
  4934. return has(SymbolRegistry, key += '')
  4935. ? SymbolRegistry[key]
  4936. : SymbolRegistry[key] = $Symbol(key);
  4937. },
  4938. // 19.4.2.5 Symbol.keyFor(sym)
  4939. keyFor: function keyFor(key) {
  4940. if (isSymbol(key)) return keyOf(SymbolRegistry, key);
  4941. throw TypeError(key + ' is not a symbol!');
  4942. },
  4943. useSetter: function () { setter = true; },
  4944. useSimple: function () { setter = false; }
  4945. });
  4946. $export($export.S + $export.F * !USE_NATIVE, 'Object', {
  4947. // 19.1.2.2 Object.create(O [, Properties])
  4948. create: $create,
  4949. // 19.1.2.4 Object.defineProperty(O, P, Attributes)
  4950. defineProperty: $defineProperty,
  4951. // 19.1.2.3 Object.defineProperties(O, Properties)
  4952. defineProperties: $defineProperties,
  4953. // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)
  4954. getOwnPropertyDescriptor: $getOwnPropertyDescriptor,
  4955. // 19.1.2.7 Object.getOwnPropertyNames(O)
  4956. getOwnPropertyNames: $getOwnPropertyNames,
  4957. // 19.1.2.8 Object.getOwnPropertySymbols(O)
  4958. getOwnPropertySymbols: $getOwnPropertySymbols
  4959. });
  4960. // 24.3.2 JSON.stringify(value [, replacer [, space]])
  4961. $JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function () {
  4962. var S = $Symbol();
  4963. // MS Edge converts symbol values to JSON as {}
  4964. // WebKit converts symbol values to JSON as null
  4965. // V8 throws on boxed symbols
  4966. return _stringify([S]) != '[null]' || _stringify({ a: S }) != '{}' || _stringify(Object(S)) != '{}';
  4967. })), 'JSON', {
  4968. stringify: function stringify(it) {
  4969. if (it === undefined || isSymbol(it)) return; // IE8 returns string on undefined
  4970. var args = [it];
  4971. var i = 1;
  4972. var replacer, $replacer;
  4973. while (arguments.length > i) args.push(arguments[i++]);
  4974. replacer = args[1];
  4975. if (typeof replacer == 'function') $replacer = replacer;
  4976. if ($replacer || !isArray(replacer)) replacer = function (key, value) {
  4977. if ($replacer) value = $replacer.call(this, key, value);
  4978. if (!isSymbol(value)) return value;
  4979. };
  4980. args[1] = replacer;
  4981. return _stringify.apply($JSON, args);
  4982. }
  4983. });
  4984. // 19.4.3.4 Symbol.prototype[@@toPrimitive](hint)
  4985. $Symbol[PROTOTYPE][TO_PRIMITIVE] || _dereq_(42)($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf);
  4986. // 19.4.3.5 Symbol.prototype[@@toStringTag]
  4987. setToStringTag($Symbol, 'Symbol');
  4988. // 20.2.1.9 Math[@@toStringTag]
  4989. setToStringTag(Math, 'Math', true);
  4990. // 24.3.3 JSON[@@toStringTag]
  4991. setToStringTag(global.JSON, 'JSON', true);
  4992. },{"101":101,"103":103,"117":117,"120":120,"124":124,"126":126,"127":127,"128":128,"29":29,"32":32,"33":33,"35":35,"40":40,"41":41,"42":42,"49":49,"59":59,"60":60,"66":66,"7":7,"71":71,"72":72,"75":75,"76":76,"77":77,"78":78,"81":81,"82":82,"92":92,"94":94}],255:[function(_dereq_,module,exports){
  4993. 'use strict';
  4994. var $export = _dereq_(33);
  4995. var $typed = _dereq_(123);
  4996. var buffer = _dereq_(122);
  4997. var anObject = _dereq_(7);
  4998. var toAbsoluteIndex = _dereq_(114);
  4999. var toLength = _dereq_(118);
  5000. var isObject = _dereq_(51);
  5001. var ArrayBuffer = _dereq_(40).ArrayBuffer;
  5002. var speciesConstructor = _dereq_(104);
  5003. var $ArrayBuffer = buffer.ArrayBuffer;
  5004. var $DataView = buffer.DataView;
  5005. var $isView = $typed.ABV && ArrayBuffer.isView;
  5006. var $slice = $ArrayBuffer.prototype.slice;
  5007. var VIEW = $typed.VIEW;
  5008. var ARRAY_BUFFER = 'ArrayBuffer';
  5009. $export($export.G + $export.W + $export.F * (ArrayBuffer !== $ArrayBuffer), { ArrayBuffer: $ArrayBuffer });
  5010. $export($export.S + $export.F * !$typed.CONSTR, ARRAY_BUFFER, {
  5011. // 24.1.3.1 ArrayBuffer.isView(arg)
  5012. isView: function isView(it) {
  5013. return $isView && $isView(it) || isObject(it) && VIEW in it;
  5014. }
  5015. });
  5016. $export($export.P + $export.U + $export.F * _dereq_(35)(function () {
  5017. return !new $ArrayBuffer(2).slice(1, undefined).byteLength;
  5018. }), ARRAY_BUFFER, {
  5019. // 24.1.4.3 ArrayBuffer.prototype.slice(start, end)
  5020. slice: function slice(start, end) {
  5021. if ($slice !== undefined && end === undefined) return $slice.call(anObject(this), start); // FF fix
  5022. var len = anObject(this).byteLength;
  5023. var first = toAbsoluteIndex(start, len);
  5024. var final = toAbsoluteIndex(end === undefined ? len : end, len);
  5025. var result = new (speciesConstructor(this, $ArrayBuffer))(toLength(final - first));
  5026. var viewS = new $DataView(this);
  5027. var viewT = new $DataView(result);
  5028. var index = 0;
  5029. while (first < final) {
  5030. viewT.setUint8(index++, viewS.getUint8(first++));
  5031. } return result;
  5032. }
  5033. });
  5034. _dereq_(100)(ARRAY_BUFFER);
  5035. },{"100":100,"104":104,"114":114,"118":118,"122":122,"123":123,"33":33,"35":35,"40":40,"51":51,"7":7}],256:[function(_dereq_,module,exports){
  5036. var $export = _dereq_(33);
  5037. $export($export.G + $export.W + $export.F * !_dereq_(123).ABV, {
  5038. DataView: _dereq_(122).DataView
  5039. });
  5040. },{"122":122,"123":123,"33":33}],257:[function(_dereq_,module,exports){
  5041. _dereq_(121)('Float32', 4, function (init) {
  5042. return function Float32Array(data, byteOffset, length) {
  5043. return init(this, data, byteOffset, length);
  5044. };
  5045. });
  5046. },{"121":121}],258:[function(_dereq_,module,exports){
  5047. _dereq_(121)('Float64', 8, function (init) {
  5048. return function Float64Array(data, byteOffset, length) {
  5049. return init(this, data, byteOffset, length);
  5050. };
  5051. });
  5052. },{"121":121}],259:[function(_dereq_,module,exports){
  5053. _dereq_(121)('Int16', 2, function (init) {
  5054. return function Int16Array(data, byteOffset, length) {
  5055. return init(this, data, byteOffset, length);
  5056. };
  5057. });
  5058. },{"121":121}],260:[function(_dereq_,module,exports){
  5059. _dereq_(121)('Int32', 4, function (init) {
  5060. return function Int32Array(data, byteOffset, length) {
  5061. return init(this, data, byteOffset, length);
  5062. };
  5063. });
  5064. },{"121":121}],261:[function(_dereq_,module,exports){
  5065. _dereq_(121)('Int8', 1, function (init) {
  5066. return function Int8Array(data, byteOffset, length) {
  5067. return init(this, data, byteOffset, length);
  5068. };
  5069. });
  5070. },{"121":121}],262:[function(_dereq_,module,exports){
  5071. _dereq_(121)('Uint16', 2, function (init) {
  5072. return function Uint16Array(data, byteOffset, length) {
  5073. return init(this, data, byteOffset, length);
  5074. };
  5075. });
  5076. },{"121":121}],263:[function(_dereq_,module,exports){
  5077. _dereq_(121)('Uint32', 4, function (init) {
  5078. return function Uint32Array(data, byteOffset, length) {
  5079. return init(this, data, byteOffset, length);
  5080. };
  5081. });
  5082. },{"121":121}],264:[function(_dereq_,module,exports){
  5083. _dereq_(121)('Uint8', 1, function (init) {
  5084. return function Uint8Array(data, byteOffset, length) {
  5085. return init(this, data, byteOffset, length);
  5086. };
  5087. });
  5088. },{"121":121}],265:[function(_dereq_,module,exports){
  5089. _dereq_(121)('Uint8', 1, function (init) {
  5090. return function Uint8ClampedArray(data, byteOffset, length) {
  5091. return init(this, data, byteOffset, length);
  5092. };
  5093. }, true);
  5094. },{"121":121}],266:[function(_dereq_,module,exports){
  5095. 'use strict';
  5096. var each = _dereq_(12)(0);
  5097. var redefine = _dereq_(94);
  5098. var meta = _dereq_(66);
  5099. var assign = _dereq_(70);
  5100. var weak = _dereq_(21);
  5101. var isObject = _dereq_(51);
  5102. var fails = _dereq_(35);
  5103. var validate = _dereq_(125);
  5104. var WEAK_MAP = 'WeakMap';
  5105. var getWeak = meta.getWeak;
  5106. var isExtensible = Object.isExtensible;
  5107. var uncaughtFrozenStore = weak.ufstore;
  5108. var tmp = {};
  5109. var InternalMap;
  5110. var wrapper = function (get) {
  5111. return function WeakMap() {
  5112. return get(this, arguments.length > 0 ? arguments[0] : undefined);
  5113. };
  5114. };
  5115. var methods = {
  5116. // 23.3.3.3 WeakMap.prototype.get(key)
  5117. get: function get(key) {
  5118. if (isObject(key)) {
  5119. var data = getWeak(key);
  5120. if (data === true) return uncaughtFrozenStore(validate(this, WEAK_MAP)).get(key);
  5121. return data ? data[this._i] : undefined;
  5122. }
  5123. },
  5124. // 23.3.3.5 WeakMap.prototype.set(key, value)
  5125. set: function set(key, value) {
  5126. return weak.def(validate(this, WEAK_MAP), key, value);
  5127. }
  5128. };
  5129. // 23.3 WeakMap Objects
  5130. var $WeakMap = module.exports = _dereq_(22)(WEAK_MAP, wrapper, methods, weak, true, true);
  5131. // IE11 WeakMap frozen keys fix
  5132. if (fails(function () { return new $WeakMap().set((Object.freeze || Object)(tmp), 7).get(tmp) != 7; })) {
  5133. InternalMap = weak.getConstructor(wrapper, WEAK_MAP);
  5134. assign(InternalMap.prototype, methods);
  5135. meta.NEED = true;
  5136. each(['delete', 'has', 'get', 'set'], function (key) {
  5137. var proto = $WeakMap.prototype;
  5138. var method = proto[key];
  5139. redefine(proto, key, function (a, b) {
  5140. // store frozen objects on internal weakmap shim
  5141. if (isObject(a) && !isExtensible(a)) {
  5142. if (!this._f) this._f = new InternalMap();
  5143. var result = this._f[key](a, b);
  5144. return key == 'set' ? this : result;
  5145. // store all the rest on native weakmap
  5146. } return method.call(this, a, b);
  5147. });
  5148. });
  5149. }
  5150. },{"12":12,"125":125,"21":21,"22":22,"35":35,"51":51,"66":66,"70":70,"94":94}],267:[function(_dereq_,module,exports){
  5151. 'use strict';
  5152. var weak = _dereq_(21);
  5153. var validate = _dereq_(125);
  5154. var WEAK_SET = 'WeakSet';
  5155. // 23.4 WeakSet Objects
  5156. _dereq_(22)(WEAK_SET, function (get) {
  5157. return function WeakSet() { return get(this, arguments.length > 0 ? arguments[0] : undefined); };
  5158. }, {
  5159. // 23.4.3.1 WeakSet.prototype.add(value)
  5160. add: function add(value) {
  5161. return weak.def(validate(this, WEAK_SET), value, true);
  5162. }
  5163. }, weak, false, true);
  5164. },{"125":125,"21":21,"22":22}],268:[function(_dereq_,module,exports){
  5165. 'use strict';
  5166. // https://tc39.github.io/proposal-flatMap/#sec-Array.prototype.flatMap
  5167. var $export = _dereq_(33);
  5168. var flattenIntoArray = _dereq_(38);
  5169. var toObject = _dereq_(119);
  5170. var toLength = _dereq_(118);
  5171. var aFunction = _dereq_(3);
  5172. var arraySpeciesCreate = _dereq_(15);
  5173. $export($export.P, 'Array', {
  5174. flatMap: function flatMap(callbackfn /* , thisArg */) {
  5175. var O = toObject(this);
  5176. var sourceLen, A;
  5177. aFunction(callbackfn);
  5178. sourceLen = toLength(O.length);
  5179. A = arraySpeciesCreate(O, 0);
  5180. flattenIntoArray(A, O, O, sourceLen, 0, 1, callbackfn, arguments[1]);
  5181. return A;
  5182. }
  5183. });
  5184. _dereq_(5)('flatMap');
  5185. },{"118":118,"119":119,"15":15,"3":3,"33":33,"38":38,"5":5}],269:[function(_dereq_,module,exports){
  5186. 'use strict';
  5187. // https://tc39.github.io/proposal-flatMap/#sec-Array.prototype.flatten
  5188. var $export = _dereq_(33);
  5189. var flattenIntoArray = _dereq_(38);
  5190. var toObject = _dereq_(119);
  5191. var toLength = _dereq_(118);
  5192. var toInteger = _dereq_(116);
  5193. var arraySpeciesCreate = _dereq_(15);
  5194. $export($export.P, 'Array', {
  5195. flatten: function flatten(/* depthArg = 1 */) {
  5196. var depthArg = arguments[0];
  5197. var O = toObject(this);
  5198. var sourceLen = toLength(O.length);
  5199. var A = arraySpeciesCreate(O, 0);
  5200. flattenIntoArray(A, O, O, sourceLen, 0, depthArg === undefined ? 1 : toInteger(depthArg));
  5201. return A;
  5202. }
  5203. });
  5204. _dereq_(5)('flatten');
  5205. },{"116":116,"118":118,"119":119,"15":15,"33":33,"38":38,"5":5}],270:[function(_dereq_,module,exports){
  5206. 'use strict';
  5207. // https://github.com/tc39/Array.prototype.includes
  5208. var $export = _dereq_(33);
  5209. var $includes = _dereq_(11)(true);
  5210. $export($export.P, 'Array', {
  5211. includes: function includes(el /* , fromIndex = 0 */) {
  5212. return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
  5213. }
  5214. });
  5215. _dereq_(5)('includes');
  5216. },{"11":11,"33":33,"5":5}],271:[function(_dereq_,module,exports){
  5217. // https://github.com/rwaldron/tc39-notes/blob/master/es6/2014-09/sept-25.md#510-globalasap-for-enqueuing-a-microtask
  5218. var $export = _dereq_(33);
  5219. var microtask = _dereq_(68)();
  5220. var process = _dereq_(40).process;
  5221. var isNode = _dereq_(18)(process) == 'process';
  5222. $export($export.G, {
  5223. asap: function asap(fn) {
  5224. var domain = isNode && process.domain;
  5225. microtask(domain ? domain.bind(fn) : fn);
  5226. }
  5227. });
  5228. },{"18":18,"33":33,"40":40,"68":68}],272:[function(_dereq_,module,exports){
  5229. // https://github.com/ljharb/proposal-is-error
  5230. var $export = _dereq_(33);
  5231. var cof = _dereq_(18);
  5232. $export($export.S, 'Error', {
  5233. isError: function isError(it) {
  5234. return cof(it) === 'Error';
  5235. }
  5236. });
  5237. },{"18":18,"33":33}],273:[function(_dereq_,module,exports){
  5238. // https://github.com/tc39/proposal-global
  5239. var $export = _dereq_(33);
  5240. $export($export.G, { global: _dereq_(40) });
  5241. },{"33":33,"40":40}],274:[function(_dereq_,module,exports){
  5242. // https://tc39.github.io/proposal-setmap-offrom/#sec-map.from
  5243. _dereq_(97)('Map');
  5244. },{"97":97}],275:[function(_dereq_,module,exports){
  5245. // https://tc39.github.io/proposal-setmap-offrom/#sec-map.of
  5246. _dereq_(98)('Map');
  5247. },{"98":98}],276:[function(_dereq_,module,exports){
  5248. // https://github.com/DavidBruant/Map-Set.prototype.toJSON
  5249. var $export = _dereq_(33);
  5250. $export($export.P + $export.R, 'Map', { toJSON: _dereq_(20)('Map') });
  5251. },{"20":20,"33":33}],277:[function(_dereq_,module,exports){
  5252. // https://rwaldron.github.io/proposal-math-extensions/
  5253. var $export = _dereq_(33);
  5254. $export($export.S, 'Math', {
  5255. clamp: function clamp(x, lower, upper) {
  5256. return Math.min(upper, Math.max(lower, x));
  5257. }
  5258. });
  5259. },{"33":33}],278:[function(_dereq_,module,exports){
  5260. // https://rwaldron.github.io/proposal-math-extensions/
  5261. var $export = _dereq_(33);
  5262. $export($export.S, 'Math', { DEG_PER_RAD: Math.PI / 180 });
  5263. },{"33":33}],279:[function(_dereq_,module,exports){
  5264. // https://rwaldron.github.io/proposal-math-extensions/
  5265. var $export = _dereq_(33);
  5266. var RAD_PER_DEG = 180 / Math.PI;
  5267. $export($export.S, 'Math', {
  5268. degrees: function degrees(radians) {
  5269. return radians * RAD_PER_DEG;
  5270. }
  5271. });
  5272. },{"33":33}],280:[function(_dereq_,module,exports){
  5273. // https://rwaldron.github.io/proposal-math-extensions/
  5274. var $export = _dereq_(33);
  5275. var scale = _dereq_(64);
  5276. var fround = _dereq_(62);
  5277. $export($export.S, 'Math', {
  5278. fscale: function fscale(x, inLow, inHigh, outLow, outHigh) {
  5279. return fround(scale(x, inLow, inHigh, outLow, outHigh));
  5280. }
  5281. });
  5282. },{"33":33,"62":62,"64":64}],281:[function(_dereq_,module,exports){
  5283. // https://gist.github.com/BrendanEich/4294d5c212a6d2254703
  5284. var $export = _dereq_(33);
  5285. $export($export.S, 'Math', {
  5286. iaddh: function iaddh(x0, x1, y0, y1) {
  5287. var $x0 = x0 >>> 0;
  5288. var $x1 = x1 >>> 0;
  5289. var $y0 = y0 >>> 0;
  5290. return $x1 + (y1 >>> 0) + (($x0 & $y0 | ($x0 | $y0) & ~($x0 + $y0 >>> 0)) >>> 31) | 0;
  5291. }
  5292. });
  5293. },{"33":33}],282:[function(_dereq_,module,exports){
  5294. // https://gist.github.com/BrendanEich/4294d5c212a6d2254703
  5295. var $export = _dereq_(33);
  5296. $export($export.S, 'Math', {
  5297. imulh: function imulh(u, v) {
  5298. var UINT16 = 0xffff;
  5299. var $u = +u;
  5300. var $v = +v;
  5301. var u0 = $u & UINT16;
  5302. var v0 = $v & UINT16;
  5303. var u1 = $u >> 16;
  5304. var v1 = $v >> 16;
  5305. var t = (u1 * v0 >>> 0) + (u0 * v0 >>> 16);
  5306. return u1 * v1 + (t >> 16) + ((u0 * v1 >>> 0) + (t & UINT16) >> 16);
  5307. }
  5308. });
  5309. },{"33":33}],283:[function(_dereq_,module,exports){
  5310. // https://gist.github.com/BrendanEich/4294d5c212a6d2254703
  5311. var $export = _dereq_(33);
  5312. $export($export.S, 'Math', {
  5313. isubh: function isubh(x0, x1, y0, y1) {
  5314. var $x0 = x0 >>> 0;
  5315. var $x1 = x1 >>> 0;
  5316. var $y0 = y0 >>> 0;
  5317. return $x1 - (y1 >>> 0) - ((~$x0 & $y0 | ~($x0 ^ $y0) & $x0 - $y0 >>> 0) >>> 31) | 0;
  5318. }
  5319. });
  5320. },{"33":33}],284:[function(_dereq_,module,exports){
  5321. // https://rwaldron.github.io/proposal-math-extensions/
  5322. var $export = _dereq_(33);
  5323. $export($export.S, 'Math', { RAD_PER_DEG: 180 / Math.PI });
  5324. },{"33":33}],285:[function(_dereq_,module,exports){
  5325. // https://rwaldron.github.io/proposal-math-extensions/
  5326. var $export = _dereq_(33);
  5327. var DEG_PER_RAD = Math.PI / 180;
  5328. $export($export.S, 'Math', {
  5329. radians: function radians(degrees) {
  5330. return degrees * DEG_PER_RAD;
  5331. }
  5332. });
  5333. },{"33":33}],286:[function(_dereq_,module,exports){
  5334. // https://rwaldron.github.io/proposal-math-extensions/
  5335. var $export = _dereq_(33);
  5336. $export($export.S, 'Math', { scale: _dereq_(64) });
  5337. },{"33":33,"64":64}],287:[function(_dereq_,module,exports){
  5338. // http://jfbastien.github.io/papers/Math.signbit.html
  5339. var $export = _dereq_(33);
  5340. $export($export.S, 'Math', { signbit: function signbit(x) {
  5341. // eslint-disable-next-line no-self-compare
  5342. return (x = +x) != x ? x : x == 0 ? 1 / x == Infinity : x > 0;
  5343. } });
  5344. },{"33":33}],288:[function(_dereq_,module,exports){
  5345. // https://gist.github.com/BrendanEich/4294d5c212a6d2254703
  5346. var $export = _dereq_(33);
  5347. $export($export.S, 'Math', {
  5348. umulh: function umulh(u, v) {
  5349. var UINT16 = 0xffff;
  5350. var $u = +u;
  5351. var $v = +v;
  5352. var u0 = $u & UINT16;
  5353. var v0 = $v & UINT16;
  5354. var u1 = $u >>> 16;
  5355. var v1 = $v >>> 16;
  5356. var t = (u1 * v0 >>> 0) + (u0 * v0 >>> 16);
  5357. return u1 * v1 + (t >>> 16) + ((u0 * v1 >>> 0) + (t & UINT16) >>> 16);
  5358. }
  5359. });
  5360. },{"33":33}],289:[function(_dereq_,module,exports){
  5361. 'use strict';
  5362. var $export = _dereq_(33);
  5363. var toObject = _dereq_(119);
  5364. var aFunction = _dereq_(3);
  5365. var $defineProperty = _dereq_(72);
  5366. // B.2.2.2 Object.prototype.__defineGetter__(P, getter)
  5367. _dereq_(29) && $export($export.P + _dereq_(74), 'Object', {
  5368. __defineGetter__: function __defineGetter__(P, getter) {
  5369. $defineProperty.f(toObject(this), P, { get: aFunction(getter), enumerable: true, configurable: true });
  5370. }
  5371. });
  5372. },{"119":119,"29":29,"3":3,"33":33,"72":72,"74":74}],290:[function(_dereq_,module,exports){
  5373. 'use strict';
  5374. var $export = _dereq_(33);
  5375. var toObject = _dereq_(119);
  5376. var aFunction = _dereq_(3);
  5377. var $defineProperty = _dereq_(72);
  5378. // B.2.2.3 Object.prototype.__defineSetter__(P, setter)
  5379. _dereq_(29) && $export($export.P + _dereq_(74), 'Object', {
  5380. __defineSetter__: function __defineSetter__(P, setter) {
  5381. $defineProperty.f(toObject(this), P, { set: aFunction(setter), enumerable: true, configurable: true });
  5382. }
  5383. });
  5384. },{"119":119,"29":29,"3":3,"33":33,"72":72,"74":74}],291:[function(_dereq_,module,exports){
  5385. // https://github.com/tc39/proposal-object-values-entries
  5386. var $export = _dereq_(33);
  5387. var $entries = _dereq_(84)(true);
  5388. $export($export.S, 'Object', {
  5389. entries: function entries(it) {
  5390. return $entries(it);
  5391. }
  5392. });
  5393. },{"33":33,"84":84}],292:[function(_dereq_,module,exports){
  5394. // https://github.com/tc39/proposal-object-getownpropertydescriptors
  5395. var $export = _dereq_(33);
  5396. var ownKeys = _dereq_(85);
  5397. var toIObject = _dereq_(117);
  5398. var gOPD = _dereq_(75);
  5399. var createProperty = _dereq_(24);
  5400. $export($export.S, 'Object', {
  5401. getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object) {
  5402. var O = toIObject(object);
  5403. var getDesc = gOPD.f;
  5404. var keys = ownKeys(O);
  5405. var result = {};
  5406. var i = 0;
  5407. var key, desc;
  5408. while (keys.length > i) {
  5409. desc = getDesc(O, key = keys[i++]);
  5410. if (desc !== undefined) createProperty(result, key, desc);
  5411. }
  5412. return result;
  5413. }
  5414. });
  5415. },{"117":117,"24":24,"33":33,"75":75,"85":85}],293:[function(_dereq_,module,exports){
  5416. 'use strict';
  5417. var $export = _dereq_(33);
  5418. var toObject = _dereq_(119);
  5419. var toPrimitive = _dereq_(120);
  5420. var getPrototypeOf = _dereq_(79);
  5421. var getOwnPropertyDescriptor = _dereq_(75).f;
  5422. // B.2.2.4 Object.prototype.__lookupGetter__(P)
  5423. _dereq_(29) && $export($export.P + _dereq_(74), 'Object', {
  5424. __lookupGetter__: function __lookupGetter__(P) {
  5425. var O = toObject(this);
  5426. var K = toPrimitive(P, true);
  5427. var D;
  5428. do {
  5429. if (D = getOwnPropertyDescriptor(O, K)) return D.get;
  5430. } while (O = getPrototypeOf(O));
  5431. }
  5432. });
  5433. },{"119":119,"120":120,"29":29,"33":33,"74":74,"75":75,"79":79}],294:[function(_dereq_,module,exports){
  5434. 'use strict';
  5435. var $export = _dereq_(33);
  5436. var toObject = _dereq_(119);
  5437. var toPrimitive = _dereq_(120);
  5438. var getPrototypeOf = _dereq_(79);
  5439. var getOwnPropertyDescriptor = _dereq_(75).f;
  5440. // B.2.2.5 Object.prototype.__lookupSetter__(P)
  5441. _dereq_(29) && $export($export.P + _dereq_(74), 'Object', {
  5442. __lookupSetter__: function __lookupSetter__(P) {
  5443. var O = toObject(this);
  5444. var K = toPrimitive(P, true);
  5445. var D;
  5446. do {
  5447. if (D = getOwnPropertyDescriptor(O, K)) return D.set;
  5448. } while (O = getPrototypeOf(O));
  5449. }
  5450. });
  5451. },{"119":119,"120":120,"29":29,"33":33,"74":74,"75":75,"79":79}],295:[function(_dereq_,module,exports){
  5452. // https://github.com/tc39/proposal-object-values-entries
  5453. var $export = _dereq_(33);
  5454. var $values = _dereq_(84)(false);
  5455. $export($export.S, 'Object', {
  5456. values: function values(it) {
  5457. return $values(it);
  5458. }
  5459. });
  5460. },{"33":33,"84":84}],296:[function(_dereq_,module,exports){
  5461. 'use strict';
  5462. // https://github.com/zenparsing/es-observable
  5463. var $export = _dereq_(33);
  5464. var global = _dereq_(40);
  5465. var core = _dereq_(23);
  5466. var microtask = _dereq_(68)();
  5467. var OBSERVABLE = _dereq_(128)('observable');
  5468. var aFunction = _dereq_(3);
  5469. var anObject = _dereq_(7);
  5470. var anInstance = _dereq_(6);
  5471. var redefineAll = _dereq_(93);
  5472. var hide = _dereq_(42);
  5473. var forOf = _dereq_(39);
  5474. var RETURN = forOf.RETURN;
  5475. var getMethod = function (fn) {
  5476. return fn == null ? undefined : aFunction(fn);
  5477. };
  5478. var cleanupSubscription = function (subscription) {
  5479. var cleanup = subscription._c;
  5480. if (cleanup) {
  5481. subscription._c = undefined;
  5482. cleanup();
  5483. }
  5484. };
  5485. var subscriptionClosed = function (subscription) {
  5486. return subscription._o === undefined;
  5487. };
  5488. var closeSubscription = function (subscription) {
  5489. if (!subscriptionClosed(subscription)) {
  5490. subscription._o = undefined;
  5491. cleanupSubscription(subscription);
  5492. }
  5493. };
  5494. var Subscription = function (observer, subscriber) {
  5495. anObject(observer);
  5496. this._c = undefined;
  5497. this._o = observer;
  5498. observer = new SubscriptionObserver(this);
  5499. try {
  5500. var cleanup = subscriber(observer);
  5501. var subscription = cleanup;
  5502. if (cleanup != null) {
  5503. if (typeof cleanup.unsubscribe === 'function') cleanup = function () { subscription.unsubscribe(); };
  5504. else aFunction(cleanup);
  5505. this._c = cleanup;
  5506. }
  5507. } catch (e) {
  5508. observer.error(e);
  5509. return;
  5510. } if (subscriptionClosed(this)) cleanupSubscription(this);
  5511. };
  5512. Subscription.prototype = redefineAll({}, {
  5513. unsubscribe: function unsubscribe() { closeSubscription(this); }
  5514. });
  5515. var SubscriptionObserver = function (subscription) {
  5516. this._s = subscription;
  5517. };
  5518. SubscriptionObserver.prototype = redefineAll({}, {
  5519. next: function next(value) {
  5520. var subscription = this._s;
  5521. if (!subscriptionClosed(subscription)) {
  5522. var observer = subscription._o;
  5523. try {
  5524. var m = getMethod(observer.next);
  5525. if (m) return m.call(observer, value);
  5526. } catch (e) {
  5527. try {
  5528. closeSubscription(subscription);
  5529. } finally {
  5530. throw e;
  5531. }
  5532. }
  5533. }
  5534. },
  5535. error: function error(value) {
  5536. var subscription = this._s;
  5537. if (subscriptionClosed(subscription)) throw value;
  5538. var observer = subscription._o;
  5539. subscription._o = undefined;
  5540. try {
  5541. var m = getMethod(observer.error);
  5542. if (!m) throw value;
  5543. value = m.call(observer, value);
  5544. } catch (e) {
  5545. try {
  5546. cleanupSubscription(subscription);
  5547. } finally {
  5548. throw e;
  5549. }
  5550. } cleanupSubscription(subscription);
  5551. return value;
  5552. },
  5553. complete: function complete(value) {
  5554. var subscription = this._s;
  5555. if (!subscriptionClosed(subscription)) {
  5556. var observer = subscription._o;
  5557. subscription._o = undefined;
  5558. try {
  5559. var m = getMethod(observer.complete);
  5560. value = m ? m.call(observer, value) : undefined;
  5561. } catch (e) {
  5562. try {
  5563. cleanupSubscription(subscription);
  5564. } finally {
  5565. throw e;
  5566. }
  5567. } cleanupSubscription(subscription);
  5568. return value;
  5569. }
  5570. }
  5571. });
  5572. var $Observable = function Observable(subscriber) {
  5573. anInstance(this, $Observable, 'Observable', '_f')._f = aFunction(subscriber);
  5574. };
  5575. redefineAll($Observable.prototype, {
  5576. subscribe: function subscribe(observer) {
  5577. return new Subscription(observer, this._f);
  5578. },
  5579. forEach: function forEach(fn) {
  5580. var that = this;
  5581. return new (core.Promise || global.Promise)(function (resolve, reject) {
  5582. aFunction(fn);
  5583. var subscription = that.subscribe({
  5584. next: function (value) {
  5585. try {
  5586. return fn(value);
  5587. } catch (e) {
  5588. reject(e);
  5589. subscription.unsubscribe();
  5590. }
  5591. },
  5592. error: reject,
  5593. complete: resolve
  5594. });
  5595. });
  5596. }
  5597. });
  5598. redefineAll($Observable, {
  5599. from: function from(x) {
  5600. var C = typeof this === 'function' ? this : $Observable;
  5601. var method = getMethod(anObject(x)[OBSERVABLE]);
  5602. if (method) {
  5603. var observable = anObject(method.call(x));
  5604. return observable.constructor === C ? observable : new C(function (observer) {
  5605. return observable.subscribe(observer);
  5606. });
  5607. }
  5608. return new C(function (observer) {
  5609. var done = false;
  5610. microtask(function () {
  5611. if (!done) {
  5612. try {
  5613. if (forOf(x, false, function (it) {
  5614. observer.next(it);
  5615. if (done) return RETURN;
  5616. }) === RETURN) return;
  5617. } catch (e) {
  5618. if (done) throw e;
  5619. observer.error(e);
  5620. return;
  5621. } observer.complete();
  5622. }
  5623. });
  5624. return function () { done = true; };
  5625. });
  5626. },
  5627. of: function of() {
  5628. for (var i = 0, l = arguments.length, items = Array(l); i < l;) items[i] = arguments[i++];
  5629. return new (typeof this === 'function' ? this : $Observable)(function (observer) {
  5630. var done = false;
  5631. microtask(function () {
  5632. if (!done) {
  5633. for (var j = 0; j < items.length; ++j) {
  5634. observer.next(items[j]);
  5635. if (done) return;
  5636. } observer.complete();
  5637. }
  5638. });
  5639. return function () { done = true; };
  5640. });
  5641. }
  5642. });
  5643. hide($Observable.prototype, OBSERVABLE, function () { return this; });
  5644. $export($export.G, { Observable: $Observable });
  5645. _dereq_(100)('Observable');
  5646. },{"100":100,"128":128,"23":23,"3":3,"33":33,"39":39,"40":40,"42":42,"6":6,"68":68,"7":7,"93":93}],297:[function(_dereq_,module,exports){
  5647. // https://github.com/tc39/proposal-promise-finally
  5648. 'use strict';
  5649. var $export = _dereq_(33);
  5650. var core = _dereq_(23);
  5651. var global = _dereq_(40);
  5652. var speciesConstructor = _dereq_(104);
  5653. var promiseResolve = _dereq_(91);
  5654. $export($export.P + $export.R, 'Promise', { 'finally': function (onFinally) {
  5655. var C = speciesConstructor(this, core.Promise || global.Promise);
  5656. var isFunction = typeof onFinally == 'function';
  5657. return this.then(
  5658. isFunction ? function (x) {
  5659. return promiseResolve(C, onFinally()).then(function () { return x; });
  5660. } : onFinally,
  5661. isFunction ? function (e) {
  5662. return promiseResolve(C, onFinally()).then(function () { throw e; });
  5663. } : onFinally
  5664. );
  5665. } });
  5666. },{"104":104,"23":23,"33":33,"40":40,"91":91}],298:[function(_dereq_,module,exports){
  5667. 'use strict';
  5668. // https://github.com/tc39/proposal-promise-try
  5669. var $export = _dereq_(33);
  5670. var newPromiseCapability = _dereq_(69);
  5671. var perform = _dereq_(90);
  5672. $export($export.S, 'Promise', { 'try': function (callbackfn) {
  5673. var promiseCapability = newPromiseCapability.f(this);
  5674. var result = perform(callbackfn);
  5675. (result.e ? promiseCapability.reject : promiseCapability.resolve)(result.v);
  5676. return promiseCapability.promise;
  5677. } });
  5678. },{"33":33,"69":69,"90":90}],299:[function(_dereq_,module,exports){
  5679. var metadata = _dereq_(67);
  5680. var anObject = _dereq_(7);
  5681. var toMetaKey = metadata.key;
  5682. var ordinaryDefineOwnMetadata = metadata.set;
  5683. metadata.exp({ defineMetadata: function defineMetadata(metadataKey, metadataValue, target, targetKey) {
  5684. ordinaryDefineOwnMetadata(metadataKey, metadataValue, anObject(target), toMetaKey(targetKey));
  5685. } });
  5686. },{"67":67,"7":7}],300:[function(_dereq_,module,exports){
  5687. var metadata = _dereq_(67);
  5688. var anObject = _dereq_(7);
  5689. var toMetaKey = metadata.key;
  5690. var getOrCreateMetadataMap = metadata.map;
  5691. var store = metadata.store;
  5692. metadata.exp({ deleteMetadata: function deleteMetadata(metadataKey, target /* , targetKey */) {
  5693. var targetKey = arguments.length < 3 ? undefined : toMetaKey(arguments[2]);
  5694. var metadataMap = getOrCreateMetadataMap(anObject(target), targetKey, false);
  5695. if (metadataMap === undefined || !metadataMap['delete'](metadataKey)) return false;
  5696. if (metadataMap.size) return true;
  5697. var targetMetadata = store.get(target);
  5698. targetMetadata['delete'](targetKey);
  5699. return !!targetMetadata.size || store['delete'](target);
  5700. } });
  5701. },{"67":67,"7":7}],301:[function(_dereq_,module,exports){
  5702. var Set = _dereq_(231);
  5703. var from = _dereq_(10);
  5704. var metadata = _dereq_(67);
  5705. var anObject = _dereq_(7);
  5706. var getPrototypeOf = _dereq_(79);
  5707. var ordinaryOwnMetadataKeys = metadata.keys;
  5708. var toMetaKey = metadata.key;
  5709. var ordinaryMetadataKeys = function (O, P) {
  5710. var oKeys = ordinaryOwnMetadataKeys(O, P);
  5711. var parent = getPrototypeOf(O);
  5712. if (parent === null) return oKeys;
  5713. var pKeys = ordinaryMetadataKeys(parent, P);
  5714. return pKeys.length ? oKeys.length ? from(new Set(oKeys.concat(pKeys))) : pKeys : oKeys;
  5715. };
  5716. metadata.exp({ getMetadataKeys: function getMetadataKeys(target /* , targetKey */) {
  5717. return ordinaryMetadataKeys(anObject(target), arguments.length < 2 ? undefined : toMetaKey(arguments[1]));
  5718. } });
  5719. },{"10":10,"231":231,"67":67,"7":7,"79":79}],302:[function(_dereq_,module,exports){
  5720. var metadata = _dereq_(67);
  5721. var anObject = _dereq_(7);
  5722. var getPrototypeOf = _dereq_(79);
  5723. var ordinaryHasOwnMetadata = metadata.has;
  5724. var ordinaryGetOwnMetadata = metadata.get;
  5725. var toMetaKey = metadata.key;
  5726. var ordinaryGetMetadata = function (MetadataKey, O, P) {
  5727. var hasOwn = ordinaryHasOwnMetadata(MetadataKey, O, P);
  5728. if (hasOwn) return ordinaryGetOwnMetadata(MetadataKey, O, P);
  5729. var parent = getPrototypeOf(O);
  5730. return parent !== null ? ordinaryGetMetadata(MetadataKey, parent, P) : undefined;
  5731. };
  5732. metadata.exp({ getMetadata: function getMetadata(metadataKey, target /* , targetKey */) {
  5733. return ordinaryGetMetadata(metadataKey, anObject(target), arguments.length < 3 ? undefined : toMetaKey(arguments[2]));
  5734. } });
  5735. },{"67":67,"7":7,"79":79}],303:[function(_dereq_,module,exports){
  5736. var metadata = _dereq_(67);
  5737. var anObject = _dereq_(7);
  5738. var ordinaryOwnMetadataKeys = metadata.keys;
  5739. var toMetaKey = metadata.key;
  5740. metadata.exp({ getOwnMetadataKeys: function getOwnMetadataKeys(target /* , targetKey */) {
  5741. return ordinaryOwnMetadataKeys(anObject(target), arguments.length < 2 ? undefined : toMetaKey(arguments[1]));
  5742. } });
  5743. },{"67":67,"7":7}],304:[function(_dereq_,module,exports){
  5744. var metadata = _dereq_(67);
  5745. var anObject = _dereq_(7);
  5746. var ordinaryGetOwnMetadata = metadata.get;
  5747. var toMetaKey = metadata.key;
  5748. metadata.exp({ getOwnMetadata: function getOwnMetadata(metadataKey, target /* , targetKey */) {
  5749. return ordinaryGetOwnMetadata(metadataKey, anObject(target)
  5750. , arguments.length < 3 ? undefined : toMetaKey(arguments[2]));
  5751. } });
  5752. },{"67":67,"7":7}],305:[function(_dereq_,module,exports){
  5753. var metadata = _dereq_(67);
  5754. var anObject = _dereq_(7);
  5755. var getPrototypeOf = _dereq_(79);
  5756. var ordinaryHasOwnMetadata = metadata.has;
  5757. var toMetaKey = metadata.key;
  5758. var ordinaryHasMetadata = function (MetadataKey, O, P) {
  5759. var hasOwn = ordinaryHasOwnMetadata(MetadataKey, O, P);
  5760. if (hasOwn) return true;
  5761. var parent = getPrototypeOf(O);
  5762. return parent !== null ? ordinaryHasMetadata(MetadataKey, parent, P) : false;
  5763. };
  5764. metadata.exp({ hasMetadata: function hasMetadata(metadataKey, target /* , targetKey */) {
  5765. return ordinaryHasMetadata(metadataKey, anObject(target), arguments.length < 3 ? undefined : toMetaKey(arguments[2]));
  5766. } });
  5767. },{"67":67,"7":7,"79":79}],306:[function(_dereq_,module,exports){
  5768. var metadata = _dereq_(67);
  5769. var anObject = _dereq_(7);
  5770. var ordinaryHasOwnMetadata = metadata.has;
  5771. var toMetaKey = metadata.key;
  5772. metadata.exp({ hasOwnMetadata: function hasOwnMetadata(metadataKey, target /* , targetKey */) {
  5773. return ordinaryHasOwnMetadata(metadataKey, anObject(target)
  5774. , arguments.length < 3 ? undefined : toMetaKey(arguments[2]));
  5775. } });
  5776. },{"67":67,"7":7}],307:[function(_dereq_,module,exports){
  5777. var $metadata = _dereq_(67);
  5778. var anObject = _dereq_(7);
  5779. var aFunction = _dereq_(3);
  5780. var toMetaKey = $metadata.key;
  5781. var ordinaryDefineOwnMetadata = $metadata.set;
  5782. $metadata.exp({ metadata: function metadata(metadataKey, metadataValue) {
  5783. return function decorator(target, targetKey) {
  5784. ordinaryDefineOwnMetadata(
  5785. metadataKey, metadataValue,
  5786. (targetKey !== undefined ? anObject : aFunction)(target),
  5787. toMetaKey(targetKey)
  5788. );
  5789. };
  5790. } });
  5791. },{"3":3,"67":67,"7":7}],308:[function(_dereq_,module,exports){
  5792. // https://tc39.github.io/proposal-setmap-offrom/#sec-set.from
  5793. _dereq_(97)('Set');
  5794. },{"97":97}],309:[function(_dereq_,module,exports){
  5795. // https://tc39.github.io/proposal-setmap-offrom/#sec-set.of
  5796. _dereq_(98)('Set');
  5797. },{"98":98}],310:[function(_dereq_,module,exports){
  5798. // https://github.com/DavidBruant/Map-Set.prototype.toJSON
  5799. var $export = _dereq_(33);
  5800. $export($export.P + $export.R, 'Set', { toJSON: _dereq_(20)('Set') });
  5801. },{"20":20,"33":33}],311:[function(_dereq_,module,exports){
  5802. 'use strict';
  5803. // https://github.com/mathiasbynens/String.prototype.at
  5804. var $export = _dereq_(33);
  5805. var $at = _dereq_(106)(true);
  5806. $export($export.P, 'String', {
  5807. at: function at(pos) {
  5808. return $at(this, pos);
  5809. }
  5810. });
  5811. },{"106":106,"33":33}],312:[function(_dereq_,module,exports){
  5812. 'use strict';
  5813. // https://tc39.github.io/String.prototype.matchAll/
  5814. var $export = _dereq_(33);
  5815. var defined = _dereq_(28);
  5816. var toLength = _dereq_(118);
  5817. var isRegExp = _dereq_(52);
  5818. var getFlags = _dereq_(37);
  5819. var RegExpProto = RegExp.prototype;
  5820. var $RegExpStringIterator = function (regexp, string) {
  5821. this._r = regexp;
  5822. this._s = string;
  5823. };
  5824. _dereq_(54)($RegExpStringIterator, 'RegExp String', function next() {
  5825. var match = this._r.exec(this._s);
  5826. return { value: match, done: match === null };
  5827. });
  5828. $export($export.P, 'String', {
  5829. matchAll: function matchAll(regexp) {
  5830. defined(this);
  5831. if (!isRegExp(regexp)) throw TypeError(regexp + ' is not a regexp!');
  5832. var S = String(this);
  5833. var flags = 'flags' in RegExpProto ? String(regexp.flags) : getFlags.call(regexp);
  5834. var rx = new RegExp(regexp.source, ~flags.indexOf('g') ? flags : 'g' + flags);
  5835. rx.lastIndex = toLength(regexp.lastIndex);
  5836. return new $RegExpStringIterator(rx, S);
  5837. }
  5838. });
  5839. },{"118":118,"28":28,"33":33,"37":37,"52":52,"54":54}],313:[function(_dereq_,module,exports){
  5840. 'use strict';
  5841. // https://github.com/tc39/proposal-string-pad-start-end
  5842. var $export = _dereq_(33);
  5843. var $pad = _dereq_(109);
  5844. $export($export.P, 'String', {
  5845. padEnd: function padEnd(maxLength /* , fillString = ' ' */) {
  5846. return $pad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, false);
  5847. }
  5848. });
  5849. },{"109":109,"33":33}],314:[function(_dereq_,module,exports){
  5850. 'use strict';
  5851. // https://github.com/tc39/proposal-string-pad-start-end
  5852. var $export = _dereq_(33);
  5853. var $pad = _dereq_(109);
  5854. $export($export.P, 'String', {
  5855. padStart: function padStart(maxLength /* , fillString = ' ' */) {
  5856. return $pad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, true);
  5857. }
  5858. });
  5859. },{"109":109,"33":33}],315:[function(_dereq_,module,exports){
  5860. 'use strict';
  5861. // https://github.com/sebmarkbage/ecmascript-string-left-right-trim
  5862. _dereq_(111)('trimLeft', function ($trim) {
  5863. return function trimLeft() {
  5864. return $trim(this, 1);
  5865. };
  5866. }, 'trimStart');
  5867. },{"111":111}],316:[function(_dereq_,module,exports){
  5868. 'use strict';
  5869. // https://github.com/sebmarkbage/ecmascript-string-left-right-trim
  5870. _dereq_(111)('trimRight', function ($trim) {
  5871. return function trimRight() {
  5872. return $trim(this, 2);
  5873. };
  5874. }, 'trimEnd');
  5875. },{"111":111}],317:[function(_dereq_,module,exports){
  5876. _dereq_(126)('asyncIterator');
  5877. },{"126":126}],318:[function(_dereq_,module,exports){
  5878. _dereq_(126)('observable');
  5879. },{"126":126}],319:[function(_dereq_,module,exports){
  5880. // https://github.com/tc39/proposal-global
  5881. var $export = _dereq_(33);
  5882. $export($export.S, 'System', { global: _dereq_(40) });
  5883. },{"33":33,"40":40}],320:[function(_dereq_,module,exports){
  5884. // https://tc39.github.io/proposal-setmap-offrom/#sec-weakmap.from
  5885. _dereq_(97)('WeakMap');
  5886. },{"97":97}],321:[function(_dereq_,module,exports){
  5887. // https://tc39.github.io/proposal-setmap-offrom/#sec-weakmap.of
  5888. _dereq_(98)('WeakMap');
  5889. },{"98":98}],322:[function(_dereq_,module,exports){
  5890. // https://tc39.github.io/proposal-setmap-offrom/#sec-weakset.from
  5891. _dereq_(97)('WeakSet');
  5892. },{"97":97}],323:[function(_dereq_,module,exports){
  5893. // https://tc39.github.io/proposal-setmap-offrom/#sec-weakset.of
  5894. _dereq_(98)('WeakSet');
  5895. },{"98":98}],324:[function(_dereq_,module,exports){
  5896. var $iterators = _dereq_(141);
  5897. var getKeys = _dereq_(81);
  5898. var redefine = _dereq_(94);
  5899. var global = _dereq_(40);
  5900. var hide = _dereq_(42);
  5901. var Iterators = _dereq_(58);
  5902. var wks = _dereq_(128);
  5903. var ITERATOR = wks('iterator');
  5904. var TO_STRING_TAG = wks('toStringTag');
  5905. var ArrayValues = Iterators.Array;
  5906. var DOMIterables = {
  5907. CSSRuleList: true, // TODO: Not spec compliant, should be false.
  5908. CSSStyleDeclaration: false,
  5909. CSSValueList: false,
  5910. ClientRectList: false,
  5911. DOMRectList: false,
  5912. DOMStringList: false,
  5913. DOMTokenList: true,
  5914. DataTransferItemList: false,
  5915. FileList: false,
  5916. HTMLAllCollection: false,
  5917. HTMLCollection: false,
  5918. HTMLFormElement: false,
  5919. HTMLSelectElement: false,
  5920. MediaList: true, // TODO: Not spec compliant, should be false.
  5921. MimeTypeArray: false,
  5922. NamedNodeMap: false,
  5923. NodeList: true,
  5924. PaintRequestList: false,
  5925. Plugin: false,
  5926. PluginArray: false,
  5927. SVGLengthList: false,
  5928. SVGNumberList: false,
  5929. SVGPathSegList: false,
  5930. SVGPointList: false,
  5931. SVGStringList: false,
  5932. SVGTransformList: false,
  5933. SourceBufferList: false,
  5934. StyleSheetList: true, // TODO: Not spec compliant, should be false.
  5935. TextTrackCueList: false,
  5936. TextTrackList: false,
  5937. TouchList: false
  5938. };
  5939. for (var collections = getKeys(DOMIterables), i = 0; i < collections.length; i++) {
  5940. var NAME = collections[i];
  5941. var explicit = DOMIterables[NAME];
  5942. var Collection = global[NAME];
  5943. var proto = Collection && Collection.prototype;
  5944. var key;
  5945. if (proto) {
  5946. if (!proto[ITERATOR]) hide(proto, ITERATOR, ArrayValues);
  5947. if (!proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME);
  5948. Iterators[NAME] = ArrayValues;
  5949. if (explicit) for (key in $iterators) if (!proto[key]) redefine(proto, key, $iterators[key], true);
  5950. }
  5951. }
  5952. },{"128":128,"141":141,"40":40,"42":42,"58":58,"81":81,"94":94}],325:[function(_dereq_,module,exports){
  5953. var $export = _dereq_(33);
  5954. var $task = _dereq_(113);
  5955. $export($export.G + $export.B, {
  5956. setImmediate: $task.set,
  5957. clearImmediate: $task.clear
  5958. });
  5959. },{"113":113,"33":33}],326:[function(_dereq_,module,exports){
  5960. // ie9- setTimeout & setInterval additional parameters fix
  5961. var global = _dereq_(40);
  5962. var $export = _dereq_(33);
  5963. var invoke = _dereq_(46);
  5964. var partial = _dereq_(88);
  5965. var navigator = global.navigator;
  5966. var MSIE = !!navigator && /MSIE .\./.test(navigator.userAgent); // <- dirty ie9- check
  5967. var wrap = function (set) {
  5968. return MSIE ? function (fn, time /* , ...args */) {
  5969. return set(invoke(
  5970. partial,
  5971. [].slice.call(arguments, 2),
  5972. // eslint-disable-next-line no-new-func
  5973. typeof fn == 'function' ? fn : Function(fn)
  5974. ), time);
  5975. } : set;
  5976. };
  5977. $export($export.G + $export.B + $export.F * MSIE, {
  5978. setTimeout: wrap(global.setTimeout),
  5979. setInterval: wrap(global.setInterval)
  5980. });
  5981. },{"33":33,"40":40,"46":46,"88":88}],327:[function(_dereq_,module,exports){
  5982. _dereq_(254);
  5983. _dereq_(191);
  5984. _dereq_(193);
  5985. _dereq_(192);
  5986. _dereq_(195);
  5987. _dereq_(197);
  5988. _dereq_(202);
  5989. _dereq_(196);
  5990. _dereq_(194);
  5991. _dereq_(204);
  5992. _dereq_(203);
  5993. _dereq_(199);
  5994. _dereq_(200);
  5995. _dereq_(198);
  5996. _dereq_(190);
  5997. _dereq_(201);
  5998. _dereq_(205);
  5999. _dereq_(206);
  6000. _dereq_(157);
  6001. _dereq_(159);
  6002. _dereq_(158);
  6003. _dereq_(208);
  6004. _dereq_(207);
  6005. _dereq_(178);
  6006. _dereq_(188);
  6007. _dereq_(189);
  6008. _dereq_(179);
  6009. _dereq_(180);
  6010. _dereq_(181);
  6011. _dereq_(182);
  6012. _dereq_(183);
  6013. _dereq_(184);
  6014. _dereq_(185);
  6015. _dereq_(186);
  6016. _dereq_(187);
  6017. _dereq_(161);
  6018. _dereq_(162);
  6019. _dereq_(163);
  6020. _dereq_(164);
  6021. _dereq_(165);
  6022. _dereq_(166);
  6023. _dereq_(167);
  6024. _dereq_(168);
  6025. _dereq_(169);
  6026. _dereq_(170);
  6027. _dereq_(171);
  6028. _dereq_(172);
  6029. _dereq_(173);
  6030. _dereq_(174);
  6031. _dereq_(175);
  6032. _dereq_(176);
  6033. _dereq_(177);
  6034. _dereq_(241);
  6035. _dereq_(246);
  6036. _dereq_(253);
  6037. _dereq_(244);
  6038. _dereq_(236);
  6039. _dereq_(237);
  6040. _dereq_(242);
  6041. _dereq_(247);
  6042. _dereq_(249);
  6043. _dereq_(232);
  6044. _dereq_(233);
  6045. _dereq_(234);
  6046. _dereq_(235);
  6047. _dereq_(238);
  6048. _dereq_(239);
  6049. _dereq_(240);
  6050. _dereq_(243);
  6051. _dereq_(245);
  6052. _dereq_(248);
  6053. _dereq_(250);
  6054. _dereq_(251);
  6055. _dereq_(252);
  6056. _dereq_(152);
  6057. _dereq_(154);
  6058. _dereq_(153);
  6059. _dereq_(156);
  6060. _dereq_(155);
  6061. _dereq_(140);
  6062. _dereq_(138);
  6063. _dereq_(145);
  6064. _dereq_(142);
  6065. _dereq_(148);
  6066. _dereq_(150);
  6067. _dereq_(137);
  6068. _dereq_(144);
  6069. _dereq_(134);
  6070. _dereq_(149);
  6071. _dereq_(132);
  6072. _dereq_(147);
  6073. _dereq_(146);
  6074. _dereq_(139);
  6075. _dereq_(143);
  6076. _dereq_(131);
  6077. _dereq_(133);
  6078. _dereq_(136);
  6079. _dereq_(135);
  6080. _dereq_(151);
  6081. _dereq_(141);
  6082. _dereq_(224);
  6083. _dereq_(230);
  6084. _dereq_(225);
  6085. _dereq_(226);
  6086. _dereq_(227);
  6087. _dereq_(228);
  6088. _dereq_(229);
  6089. _dereq_(209);
  6090. _dereq_(160);
  6091. _dereq_(231);
  6092. _dereq_(266);
  6093. _dereq_(267);
  6094. _dereq_(255);
  6095. _dereq_(256);
  6096. _dereq_(261);
  6097. _dereq_(264);
  6098. _dereq_(265);
  6099. _dereq_(259);
  6100. _dereq_(262);
  6101. _dereq_(260);
  6102. _dereq_(263);
  6103. _dereq_(257);
  6104. _dereq_(258);
  6105. _dereq_(210);
  6106. _dereq_(211);
  6107. _dereq_(212);
  6108. _dereq_(213);
  6109. _dereq_(214);
  6110. _dereq_(217);
  6111. _dereq_(215);
  6112. _dereq_(216);
  6113. _dereq_(218);
  6114. _dereq_(219);
  6115. _dereq_(220);
  6116. _dereq_(221);
  6117. _dereq_(223);
  6118. _dereq_(222);
  6119. _dereq_(270);
  6120. _dereq_(268);
  6121. _dereq_(269);
  6122. _dereq_(311);
  6123. _dereq_(314);
  6124. _dereq_(313);
  6125. _dereq_(315);
  6126. _dereq_(316);
  6127. _dereq_(312);
  6128. _dereq_(317);
  6129. _dereq_(318);
  6130. _dereq_(292);
  6131. _dereq_(295);
  6132. _dereq_(291);
  6133. _dereq_(289);
  6134. _dereq_(290);
  6135. _dereq_(293);
  6136. _dereq_(294);
  6137. _dereq_(276);
  6138. _dereq_(310);
  6139. _dereq_(275);
  6140. _dereq_(309);
  6141. _dereq_(321);
  6142. _dereq_(323);
  6143. _dereq_(274);
  6144. _dereq_(308);
  6145. _dereq_(320);
  6146. _dereq_(322);
  6147. _dereq_(273);
  6148. _dereq_(319);
  6149. _dereq_(272);
  6150. _dereq_(277);
  6151. _dereq_(278);
  6152. _dereq_(279);
  6153. _dereq_(280);
  6154. _dereq_(281);
  6155. _dereq_(283);
  6156. _dereq_(282);
  6157. _dereq_(284);
  6158. _dereq_(285);
  6159. _dereq_(286);
  6160. _dereq_(288);
  6161. _dereq_(287);
  6162. _dereq_(297);
  6163. _dereq_(298);
  6164. _dereq_(299);
  6165. _dereq_(300);
  6166. _dereq_(302);
  6167. _dereq_(301);
  6168. _dereq_(304);
  6169. _dereq_(303);
  6170. _dereq_(305);
  6171. _dereq_(306);
  6172. _dereq_(307);
  6173. _dereq_(271);
  6174. _dereq_(296);
  6175. _dereq_(326);
  6176. _dereq_(325);
  6177. _dereq_(324);
  6178. module.exports = _dereq_(23);
  6179. },{"131":131,"132":132,"133":133,"134":134,"135":135,"136":136,"137":137,"138":138,"139":139,"140":140,"141":141,"142":142,"143":143,"144":144,"145":145,"146":146,"147":147,"148":148,"149":149,"150":150,"151":151,"152":152,"153":153,"154":154,"155":155,"156":156,"157":157,"158":158,"159":159,"160":160,"161":161,"162":162,"163":163,"164":164,"165":165,"166":166,"167":167,"168":168,"169":169,"170":170,"171":171,"172":172,"173":173,"174":174,"175":175,"176":176,"177":177,"178":178,"179":179,"180":180,"181":181,"182":182,"183":183,"184":184,"185":185,"186":186,"187":187,"188":188,"189":189,"190":190,"191":191,"192":192,"193":193,"194":194,"195":195,"196":196,"197":197,"198":198,"199":199,"200":200,"201":201,"202":202,"203":203,"204":204,"205":205,"206":206,"207":207,"208":208,"209":209,"210":210,"211":211,"212":212,"213":213,"214":214,"215":215,"216":216,"217":217,"218":218,"219":219,"220":220,"221":221,"222":222,"223":223,"224":224,"225":225,"226":226,"227":227,"228":228,"229":229,"23":23,"230":230,"231":231,"232":232,"233":233,"234":234,"235":235,"236":236,"237":237,"238":238,"239":239,"240":240,"241":241,"242":242,"243":243,"244":244,"245":245,"246":246,"247":247,"248":248,"249":249,"250":250,"251":251,"252":252,"253":253,"254":254,"255":255,"256":256,"257":257,"258":258,"259":259,"260":260,"261":261,"262":262,"263":263,"264":264,"265":265,"266":266,"267":267,"268":268,"269":269,"270":270,"271":271,"272":272,"273":273,"274":274,"275":275,"276":276,"277":277,"278":278,"279":279,"280":280,"281":281,"282":282,"283":283,"284":284,"285":285,"286":286,"287":287,"288":288,"289":289,"290":290,"291":291,"292":292,"293":293,"294":294,"295":295,"296":296,"297":297,"298":298,"299":299,"300":300,"301":301,"302":302,"303":303,"304":304,"305":305,"306":306,"307":307,"308":308,"309":309,"310":310,"311":311,"312":312,"313":313,"314":314,"315":315,"316":316,"317":317,"318":318,"319":319,"320":320,"321":321,"322":322,"323":323,"324":324,"325":325,"326":326}],328:[function(_dereq_,module,exports){
  6180. (function (global){
  6181. /**
  6182. * Copyright (c) 2014, Facebook, Inc.
  6183. * All rights reserved.
  6184. *
  6185. * This source code is licensed under the BSD-style license found in the
  6186. * https://raw.github.com/facebook/regenerator/master/LICENSE file. An
  6187. * additional grant of patent rights can be found in the PATENTS file in
  6188. * the same directory.
  6189. */
  6190. !(function(global) {
  6191. "use strict";
  6192. var Op = Object.prototype;
  6193. var hasOwn = Op.hasOwnProperty;
  6194. var undefined; // More compressible than void 0.
  6195. var $Symbol = typeof Symbol === "function" ? Symbol : {};
  6196. var iteratorSymbol = $Symbol.iterator || "@@iterator";
  6197. var asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator";
  6198. var toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
  6199. var inModule = typeof module === "object";
  6200. var runtime = global.regeneratorRuntime;
  6201. if (runtime) {
  6202. if (inModule) {
  6203. // If regeneratorRuntime is defined globally and we're in a module,
  6204. // make the exports object identical to regeneratorRuntime.
  6205. module.exports = runtime;
  6206. }
  6207. // Don't bother evaluating the rest of this file if the runtime was
  6208. // already defined globally.
  6209. return;
  6210. }
  6211. // Define the runtime globally (as expected by generated code) as either
  6212. // module.exports (if we're in a module) or a new, empty object.
  6213. runtime = global.regeneratorRuntime = inModule ? module.exports : {};
  6214. function wrap(innerFn, outerFn, self, tryLocsList) {
  6215. // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.
  6216. var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;
  6217. var generator = Object.create(protoGenerator.prototype);
  6218. var context = new Context(tryLocsList || []);
  6219. // The ._invoke method unifies the implementations of the .next,
  6220. // .throw, and .return methods.
  6221. generator._invoke = makeInvokeMethod(innerFn, self, context);
  6222. return generator;
  6223. }
  6224. runtime.wrap = wrap;
  6225. // Try/catch helper to minimize deoptimizations. Returns a completion
  6226. // record like context.tryEntries[i].completion. This interface could
  6227. // have been (and was previously) designed to take a closure to be
  6228. // invoked without arguments, but in all the cases we care about we
  6229. // already have an existing method we want to call, so there's no need
  6230. // to create a new function object. We can even get away with assuming
  6231. // the method takes exactly one argument, since that happens to be true
  6232. // in every case, so we don't have to touch the arguments object. The
  6233. // only additional allocation required is the completion record, which
  6234. // has a stable shape and so hopefully should be cheap to allocate.
  6235. function tryCatch(fn, obj, arg) {
  6236. try {
  6237. return { type: "normal", arg: fn.call(obj, arg) };
  6238. } catch (err) {
  6239. return { type: "throw", arg: err };
  6240. }
  6241. }
  6242. var GenStateSuspendedStart = "suspendedStart";
  6243. var GenStateSuspendedYield = "suspendedYield";
  6244. var GenStateExecuting = "executing";
  6245. var GenStateCompleted = "completed";
  6246. // Returning this object from the innerFn has the same effect as
  6247. // breaking out of the dispatch switch statement.
  6248. var ContinueSentinel = {};
  6249. // Dummy constructor functions that we use as the .constructor and
  6250. // .constructor.prototype properties for functions that return Generator
  6251. // objects. For full spec compliance, you may wish to configure your
  6252. // minifier not to mangle the names of these two functions.
  6253. function Generator() {}
  6254. function GeneratorFunction() {}
  6255. function GeneratorFunctionPrototype() {}
  6256. // This is a polyfill for %IteratorPrototype% for environments that
  6257. // don't natively support it.
  6258. var IteratorPrototype = {};
  6259. IteratorPrototype[iteratorSymbol] = function () {
  6260. return this;
  6261. };
  6262. var getProto = Object.getPrototypeOf;
  6263. var NativeIteratorPrototype = getProto && getProto(getProto(values([])));
  6264. if (NativeIteratorPrototype &&
  6265. NativeIteratorPrototype !== Op &&
  6266. hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) {
  6267. // This environment has a native %IteratorPrototype%; use it instead
  6268. // of the polyfill.
  6269. IteratorPrototype = NativeIteratorPrototype;
  6270. }
  6271. var Gp = GeneratorFunctionPrototype.prototype =
  6272. Generator.prototype = Object.create(IteratorPrototype);
  6273. GeneratorFunction.prototype = Gp.constructor = GeneratorFunctionPrototype;
  6274. GeneratorFunctionPrototype.constructor = GeneratorFunction;
  6275. GeneratorFunctionPrototype[toStringTagSymbol] =
  6276. GeneratorFunction.displayName = "GeneratorFunction";
  6277. // Helper for defining the .next, .throw, and .return methods of the
  6278. // Iterator interface in terms of a single ._invoke method.
  6279. function defineIteratorMethods(prototype) {
  6280. ["next", "throw", "return"].forEach(function(method) {
  6281. prototype[method] = function(arg) {
  6282. return this._invoke(method, arg);
  6283. };
  6284. });
  6285. }
  6286. runtime.isGeneratorFunction = function(genFun) {
  6287. var ctor = typeof genFun === "function" && genFun.constructor;
  6288. return ctor
  6289. ? ctor === GeneratorFunction ||
  6290. // For the native GeneratorFunction constructor, the best we can
  6291. // do is to check its .name property.
  6292. (ctor.displayName || ctor.name) === "GeneratorFunction"
  6293. : false;
  6294. };
  6295. runtime.mark = function(genFun) {
  6296. if (Object.setPrototypeOf) {
  6297. Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);
  6298. } else {
  6299. genFun.__proto__ = GeneratorFunctionPrototype;
  6300. if (!(toStringTagSymbol in genFun)) {
  6301. genFun[toStringTagSymbol] = "GeneratorFunction";
  6302. }
  6303. }
  6304. genFun.prototype = Object.create(Gp);
  6305. return genFun;
  6306. };
  6307. // Within the body of any async function, `await x` is transformed to
  6308. // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test
  6309. // `hasOwn.call(value, "__await")` to determine if the yielded value is
  6310. // meant to be awaited.
  6311. runtime.awrap = function(arg) {
  6312. return { __await: arg };
  6313. };
  6314. function AsyncIterator(generator) {
  6315. function invoke(method, arg, resolve, reject) {
  6316. var record = tryCatch(generator[method], generator, arg);
  6317. if (record.type === "throw") {
  6318. reject(record.arg);
  6319. } else {
  6320. var result = record.arg;
  6321. var value = result.value;
  6322. if (value &&
  6323. typeof value === "object" &&
  6324. hasOwn.call(value, "__await")) {
  6325. return Promise.resolve(value.__await).then(function(value) {
  6326. invoke("next", value, resolve, reject);
  6327. }, function(err) {
  6328. invoke("throw", err, resolve, reject);
  6329. });
  6330. }
  6331. return Promise.resolve(value).then(function(unwrapped) {
  6332. // When a yielded Promise is resolved, its final value becomes
  6333. // the .value of the Promise<{value,done}> result for the
  6334. // current iteration. If the Promise is rejected, however, the
  6335. // result for this iteration will be rejected with the same
  6336. // reason. Note that rejections of yielded Promises are not
  6337. // thrown back into the generator function, as is the case
  6338. // when an awaited Promise is rejected. This difference in
  6339. // behavior between yield and await is important, because it
  6340. // allows the consumer to decide what to do with the yielded
  6341. // rejection (swallow it and continue, manually .throw it back
  6342. // into the generator, abandon iteration, whatever). With
  6343. // await, by contrast, there is no opportunity to examine the
  6344. // rejection reason outside the generator function, so the
  6345. // only option is to throw it from the await expression, and
  6346. // let the generator function handle the exception.
  6347. result.value = unwrapped;
  6348. resolve(result);
  6349. }, reject);
  6350. }
  6351. }
  6352. if (typeof global.process === "object" && global.process.domain) {
  6353. invoke = global.process.domain.bind(invoke);
  6354. }
  6355. var previousPromise;
  6356. function enqueue(method, arg) {
  6357. function callInvokeWithMethodAndArg() {
  6358. return new Promise(function(resolve, reject) {
  6359. invoke(method, arg, resolve, reject);
  6360. });
  6361. }
  6362. return previousPromise =
  6363. // If enqueue has been called before, then we want to wait until
  6364. // all previous Promises have been resolved before calling invoke,
  6365. // so that results are always delivered in the correct order. If
  6366. // enqueue has not been called before, then it is important to
  6367. // call invoke immediately, without waiting on a callback to fire,
  6368. // so that the async generator function has the opportunity to do
  6369. // any necessary setup in a predictable way. This predictability
  6370. // is why the Promise constructor synchronously invokes its
  6371. // executor callback, and why async functions synchronously
  6372. // execute code before the first await. Since we implement simple
  6373. // async functions in terms of async generators, it is especially
  6374. // important to get this right, even though it requires care.
  6375. previousPromise ? previousPromise.then(
  6376. callInvokeWithMethodAndArg,
  6377. // Avoid propagating failures to Promises returned by later
  6378. // invocations of the iterator.
  6379. callInvokeWithMethodAndArg
  6380. ) : callInvokeWithMethodAndArg();
  6381. }
  6382. // Define the unified helper method that is used to implement .next,
  6383. // .throw, and .return (see defineIteratorMethods).
  6384. this._invoke = enqueue;
  6385. }
  6386. defineIteratorMethods(AsyncIterator.prototype);
  6387. AsyncIterator.prototype[asyncIteratorSymbol] = function () {
  6388. return this;
  6389. };
  6390. runtime.AsyncIterator = AsyncIterator;
  6391. // Note that simple async functions are implemented on top of
  6392. // AsyncIterator objects; they just return a Promise for the value of
  6393. // the final result produced by the iterator.
  6394. runtime.async = function(innerFn, outerFn, self, tryLocsList) {
  6395. var iter = new AsyncIterator(
  6396. wrap(innerFn, outerFn, self, tryLocsList)
  6397. );
  6398. return runtime.isGeneratorFunction(outerFn)
  6399. ? iter // If outerFn is a generator, return the full iterator.
  6400. : iter.next().then(function(result) {
  6401. return result.done ? result.value : iter.next();
  6402. });
  6403. };
  6404. function makeInvokeMethod(innerFn, self, context) {
  6405. var state = GenStateSuspendedStart;
  6406. return function invoke(method, arg) {
  6407. if (state === GenStateExecuting) {
  6408. throw new Error("Generator is already running");
  6409. }
  6410. if (state === GenStateCompleted) {
  6411. if (method === "throw") {
  6412. throw arg;
  6413. }
  6414. // Be forgiving, per 25.3.3.3.3 of the spec:
  6415. // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume
  6416. return doneResult();
  6417. }
  6418. context.method = method;
  6419. context.arg = arg;
  6420. while (true) {
  6421. var delegate = context.delegate;
  6422. if (delegate) {
  6423. var delegateResult = maybeInvokeDelegate(delegate, context);
  6424. if (delegateResult) {
  6425. if (delegateResult === ContinueSentinel) continue;
  6426. return delegateResult;
  6427. }
  6428. }
  6429. if (context.method === "next") {
  6430. // Setting context._sent for legacy support of Babel's
  6431. // function.sent implementation.
  6432. context.sent = context._sent = context.arg;
  6433. } else if (context.method === "throw") {
  6434. if (state === GenStateSuspendedStart) {
  6435. state = GenStateCompleted;
  6436. throw context.arg;
  6437. }
  6438. context.dispatchException(context.arg);
  6439. } else if (context.method === "return") {
  6440. context.abrupt("return", context.arg);
  6441. }
  6442. state = GenStateExecuting;
  6443. var record = tryCatch(innerFn, self, context);
  6444. if (record.type === "normal") {
  6445. // If an exception is thrown from innerFn, we leave state ===
  6446. // GenStateExecuting and loop back for another invocation.
  6447. state = context.done
  6448. ? GenStateCompleted
  6449. : GenStateSuspendedYield;
  6450. if (record.arg === ContinueSentinel) {
  6451. continue;
  6452. }
  6453. return {
  6454. value: record.arg,
  6455. done: context.done
  6456. };
  6457. } else if (record.type === "throw") {
  6458. state = GenStateCompleted;
  6459. // Dispatch the exception by looping back around to the
  6460. // context.dispatchException(context.arg) call above.
  6461. context.method = "throw";
  6462. context.arg = record.arg;
  6463. }
  6464. }
  6465. };
  6466. }
  6467. // Call delegate.iterator[context.method](context.arg) and handle the
  6468. // result, either by returning a { value, done } result from the
  6469. // delegate iterator, or by modifying context.method and context.arg,
  6470. // setting context.delegate to null, and returning the ContinueSentinel.
  6471. function maybeInvokeDelegate(delegate, context) {
  6472. var method = delegate.iterator[context.method];
  6473. if (method === undefined) {
  6474. // A .throw or .return when the delegate iterator has no .throw
  6475. // method always terminates the yield* loop.
  6476. context.delegate = null;
  6477. if (context.method === "throw") {
  6478. if (delegate.iterator.return) {
  6479. // If the delegate iterator has a return method, give it a
  6480. // chance to clean up.
  6481. context.method = "return";
  6482. context.arg = undefined;
  6483. maybeInvokeDelegate(delegate, context);
  6484. if (context.method === "throw") {
  6485. // If maybeInvokeDelegate(context) changed context.method from
  6486. // "return" to "throw", let that override the TypeError below.
  6487. return ContinueSentinel;
  6488. }
  6489. }
  6490. context.method = "throw";
  6491. context.arg = new TypeError(
  6492. "The iterator does not provide a 'throw' method");
  6493. }
  6494. return ContinueSentinel;
  6495. }
  6496. var record = tryCatch(method, delegate.iterator, context.arg);
  6497. if (record.type === "throw") {
  6498. context.method = "throw";
  6499. context.arg = record.arg;
  6500. context.delegate = null;
  6501. return ContinueSentinel;
  6502. }
  6503. var info = record.arg;
  6504. if (! info) {
  6505. context.method = "throw";
  6506. context.arg = new TypeError("iterator result is not an object");
  6507. context.delegate = null;
  6508. return ContinueSentinel;
  6509. }
  6510. if (info.done) {
  6511. // Assign the result of the finished delegate to the temporary
  6512. // variable specified by delegate.resultName (see delegateYield).
  6513. context[delegate.resultName] = info.value;
  6514. // Resume execution at the desired location (see delegateYield).
  6515. context.next = delegate.nextLoc;
  6516. // If context.method was "throw" but the delegate handled the
  6517. // exception, let the outer generator proceed normally. If
  6518. // context.method was "next", forget context.arg since it has been
  6519. // "consumed" by the delegate iterator. If context.method was
  6520. // "return", allow the original .return call to continue in the
  6521. // outer generator.
  6522. if (context.method !== "return") {
  6523. context.method = "next";
  6524. context.arg = undefined;
  6525. }
  6526. } else {
  6527. // Re-yield the result returned by the delegate method.
  6528. return info;
  6529. }
  6530. // The delegate iterator is finished, so forget it and continue with
  6531. // the outer generator.
  6532. context.delegate = null;
  6533. return ContinueSentinel;
  6534. }
  6535. // Define Generator.prototype.{next,throw,return} in terms of the
  6536. // unified ._invoke helper method.
  6537. defineIteratorMethods(Gp);
  6538. Gp[toStringTagSymbol] = "Generator";
  6539. // A Generator should always return itself as the iterator object when the
  6540. // @@iterator function is called on it. Some browsers' implementations of the
  6541. // iterator prototype chain incorrectly implement this, causing the Generator
  6542. // object to not be returned from this call. This ensures that doesn't happen.
  6543. // See https://github.com/facebook/regenerator/issues/274 for more details.
  6544. Gp[iteratorSymbol] = function() {
  6545. return this;
  6546. };
  6547. Gp.toString = function() {
  6548. return "[object Generator]";
  6549. };
  6550. function pushTryEntry(locs) {
  6551. var entry = { tryLoc: locs[0] };
  6552. if (1 in locs) {
  6553. entry.catchLoc = locs[1];
  6554. }
  6555. if (2 in locs) {
  6556. entry.finallyLoc = locs[2];
  6557. entry.afterLoc = locs[3];
  6558. }
  6559. this.tryEntries.push(entry);
  6560. }
  6561. function resetTryEntry(entry) {
  6562. var record = entry.completion || {};
  6563. record.type = "normal";
  6564. delete record.arg;
  6565. entry.completion = record;
  6566. }
  6567. function Context(tryLocsList) {
  6568. // The root entry object (effectively a try statement without a catch
  6569. // or a finally block) gives us a place to store values thrown from
  6570. // locations where there is no enclosing try statement.
  6571. this.tryEntries = [{ tryLoc: "root" }];
  6572. tryLocsList.forEach(pushTryEntry, this);
  6573. this.reset(true);
  6574. }
  6575. runtime.keys = function(object) {
  6576. var keys = [];
  6577. for (var key in object) {
  6578. keys.push(key);
  6579. }
  6580. keys.reverse();
  6581. // Rather than returning an object with a next method, we keep
  6582. // things simple and return the next function itself.
  6583. return function next() {
  6584. while (keys.length) {
  6585. var key = keys.pop();
  6586. if (key in object) {
  6587. next.value = key;
  6588. next.done = false;
  6589. return next;
  6590. }
  6591. }
  6592. // To avoid creating an additional object, we just hang the .value
  6593. // and .done properties off the next function object itself. This
  6594. // also ensures that the minifier will not anonymize the function.
  6595. next.done = true;
  6596. return next;
  6597. };
  6598. };
  6599. function values(iterable) {
  6600. if (iterable) {
  6601. var iteratorMethod = iterable[iteratorSymbol];
  6602. if (iteratorMethod) {
  6603. return iteratorMethod.call(iterable);
  6604. }
  6605. if (typeof iterable.next === "function") {
  6606. return iterable;
  6607. }
  6608. if (!isNaN(iterable.length)) {
  6609. var i = -1, next = function next() {
  6610. while (++i < iterable.length) {
  6611. if (hasOwn.call(iterable, i)) {
  6612. next.value = iterable[i];
  6613. next.done = false;
  6614. return next;
  6615. }
  6616. }
  6617. next.value = undefined;
  6618. next.done = true;
  6619. return next;
  6620. };
  6621. return next.next = next;
  6622. }
  6623. }
  6624. // Return an iterator with no values.
  6625. return { next: doneResult };
  6626. }
  6627. runtime.values = values;
  6628. function doneResult() {
  6629. return { value: undefined, done: true };
  6630. }
  6631. Context.prototype = {
  6632. constructor: Context,
  6633. reset: function(skipTempReset) {
  6634. this.prev = 0;
  6635. this.next = 0;
  6636. // Resetting context._sent for legacy support of Babel's
  6637. // function.sent implementation.
  6638. this.sent = this._sent = undefined;
  6639. this.done = false;
  6640. this.delegate = null;
  6641. this.method = "next";
  6642. this.arg = undefined;
  6643. this.tryEntries.forEach(resetTryEntry);
  6644. if (!skipTempReset) {
  6645. for (var name in this) {
  6646. // Not sure about the optimal order of these conditions:
  6647. if (name.charAt(0) === "t" &&
  6648. hasOwn.call(this, name) &&
  6649. !isNaN(+name.slice(1))) {
  6650. this[name] = undefined;
  6651. }
  6652. }
  6653. }
  6654. },
  6655. stop: function() {
  6656. this.done = true;
  6657. var rootEntry = this.tryEntries[0];
  6658. var rootRecord = rootEntry.completion;
  6659. if (rootRecord.type === "throw") {
  6660. throw rootRecord.arg;
  6661. }
  6662. return this.rval;
  6663. },
  6664. dispatchException: function(exception) {
  6665. if (this.done) {
  6666. throw exception;
  6667. }
  6668. var context = this;
  6669. function handle(loc, caught) {
  6670. record.type = "throw";
  6671. record.arg = exception;
  6672. context.next = loc;
  6673. if (caught) {
  6674. // If the dispatched exception was caught by a catch block,
  6675. // then let that catch block handle the exception normally.
  6676. context.method = "next";
  6677. context.arg = undefined;
  6678. }
  6679. return !! caught;
  6680. }
  6681. for (var i = this.tryEntries.length - 1; i >= 0; --i) {
  6682. var entry = this.tryEntries[i];
  6683. var record = entry.completion;
  6684. if (entry.tryLoc === "root") {
  6685. // Exception thrown outside of any try block that could handle
  6686. // it, so set the completion value of the entire function to
  6687. // throw the exception.
  6688. return handle("end");
  6689. }
  6690. if (entry.tryLoc <= this.prev) {
  6691. var hasCatch = hasOwn.call(entry, "catchLoc");
  6692. var hasFinally = hasOwn.call(entry, "finallyLoc");
  6693. if (hasCatch && hasFinally) {
  6694. if (this.prev < entry.catchLoc) {
  6695. return handle(entry.catchLoc, true);
  6696. } else if (this.prev < entry.finallyLoc) {
  6697. return handle(entry.finallyLoc);
  6698. }
  6699. } else if (hasCatch) {
  6700. if (this.prev < entry.catchLoc) {
  6701. return handle(entry.catchLoc, true);
  6702. }
  6703. } else if (hasFinally) {
  6704. if (this.prev < entry.finallyLoc) {
  6705. return handle(entry.finallyLoc);
  6706. }
  6707. } else {
  6708. throw new Error("try statement without catch or finally");
  6709. }
  6710. }
  6711. }
  6712. },
  6713. abrupt: function(type, arg) {
  6714. for (var i = this.tryEntries.length - 1; i >= 0; --i) {
  6715. var entry = this.tryEntries[i];
  6716. if (entry.tryLoc <= this.prev &&
  6717. hasOwn.call(entry, "finallyLoc") &&
  6718. this.prev < entry.finallyLoc) {
  6719. var finallyEntry = entry;
  6720. break;
  6721. }
  6722. }
  6723. if (finallyEntry &&
  6724. (type === "break" ||
  6725. type === "continue") &&
  6726. finallyEntry.tryLoc <= arg &&
  6727. arg <= finallyEntry.finallyLoc) {
  6728. // Ignore the finally entry if control is not jumping to a
  6729. // location outside the try/catch block.
  6730. finallyEntry = null;
  6731. }
  6732. var record = finallyEntry ? finallyEntry.completion : {};
  6733. record.type = type;
  6734. record.arg = arg;
  6735. if (finallyEntry) {
  6736. this.method = "next";
  6737. this.next = finallyEntry.finallyLoc;
  6738. return ContinueSentinel;
  6739. }
  6740. return this.complete(record);
  6741. },
  6742. complete: function(record, afterLoc) {
  6743. if (record.type === "throw") {
  6744. throw record.arg;
  6745. }
  6746. if (record.type === "break" ||
  6747. record.type === "continue") {
  6748. this.next = record.arg;
  6749. } else if (record.type === "return") {
  6750. this.rval = this.arg = record.arg;
  6751. this.method = "return";
  6752. this.next = "end";
  6753. } else if (record.type === "normal" && afterLoc) {
  6754. this.next = afterLoc;
  6755. }
  6756. return ContinueSentinel;
  6757. },
  6758. finish: function(finallyLoc) {
  6759. for (var i = this.tryEntries.length - 1; i >= 0; --i) {
  6760. var entry = this.tryEntries[i];
  6761. if (entry.finallyLoc === finallyLoc) {
  6762. this.complete(entry.completion, entry.afterLoc);
  6763. resetTryEntry(entry);
  6764. return ContinueSentinel;
  6765. }
  6766. }
  6767. },
  6768. "catch": function(tryLoc) {
  6769. for (var i = this.tryEntries.length - 1; i >= 0; --i) {
  6770. var entry = this.tryEntries[i];
  6771. if (entry.tryLoc === tryLoc) {
  6772. var record = entry.completion;
  6773. if (record.type === "throw") {
  6774. var thrown = record.arg;
  6775. resetTryEntry(entry);
  6776. }
  6777. return thrown;
  6778. }
  6779. }
  6780. // The context.catch method must only be called with a location
  6781. // argument that corresponds to a known catch block.
  6782. throw new Error("illegal catch attempt");
  6783. },
  6784. delegateYield: function(iterable, resultName, nextLoc) {
  6785. this.delegate = {
  6786. iterator: values(iterable),
  6787. resultName: resultName,
  6788. nextLoc: nextLoc
  6789. };
  6790. if (this.method === "next") {
  6791. // Deliberately forget the last sent value so that we don't
  6792. // accidentally pass it on to the delegate.
  6793. this.arg = undefined;
  6794. }
  6795. return ContinueSentinel;
  6796. }
  6797. };
  6798. })(
  6799. // Among the various tricks for obtaining a reference to the global
  6800. // object, this seems to be the most reliable technique that does not
  6801. // use indirect eval (which violates Content Security Policy).
  6802. typeof global === "object" ? global :
  6803. typeof window === "object" ? window :
  6804. typeof self === "object" ? self : this
  6805. );
  6806. }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
  6807. },{}]},{},[1]);