polyfill_7_2_5.js 225 KB

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