vue-router-tab.common.js 151 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037
  1. module.exports =
  2. /******/ (function(modules) { // webpackBootstrap
  3. /******/ // The module cache
  4. /******/ var installedModules = {};
  5. /******/
  6. /******/ // The require function
  7. /******/ function __webpack_require__(moduleId) {
  8. /******/
  9. /******/ // Check if module is in cache
  10. /******/ if(installedModules[moduleId]) {
  11. /******/ return installedModules[moduleId].exports;
  12. /******/ }
  13. /******/ // Create a new module (and put it into the cache)
  14. /******/ var module = installedModules[moduleId] = {
  15. /******/ i: moduleId,
  16. /******/ l: false,
  17. /******/ exports: {}
  18. /******/ };
  19. /******/
  20. /******/ // Execute the module function
  21. /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
  22. /******/
  23. /******/ // Flag the module as loaded
  24. /******/ module.l = true;
  25. /******/
  26. /******/ // Return the exports of the module
  27. /******/ return module.exports;
  28. /******/ }
  29. /******/
  30. /******/
  31. /******/ // expose the modules object (__webpack_modules__)
  32. /******/ __webpack_require__.m = modules;
  33. /******/
  34. /******/ // expose the module cache
  35. /******/ __webpack_require__.c = installedModules;
  36. /******/
  37. /******/ // define getter function for harmony exports
  38. /******/ __webpack_require__.d = function(exports, name, getter) {
  39. /******/ if(!__webpack_require__.o(exports, name)) {
  40. /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
  41. /******/ }
  42. /******/ };
  43. /******/
  44. /******/ // define __esModule on exports
  45. /******/ __webpack_require__.r = function(exports) {
  46. /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
  47. /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
  48. /******/ }
  49. /******/ Object.defineProperty(exports, '__esModule', { value: true });
  50. /******/ };
  51. /******/
  52. /******/ // create a fake namespace object
  53. /******/ // mode & 1: value is a module id, require it
  54. /******/ // mode & 2: merge all properties of value into the ns
  55. /******/ // mode & 4: return value when already ns object
  56. /******/ // mode & 8|1: behave like require
  57. /******/ __webpack_require__.t = function(value, mode) {
  58. /******/ if(mode & 1) value = __webpack_require__(value);
  59. /******/ if(mode & 8) return value;
  60. /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
  61. /******/ var ns = Object.create(null);
  62. /******/ __webpack_require__.r(ns);
  63. /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
  64. /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
  65. /******/ return ns;
  66. /******/ };
  67. /******/
  68. /******/ // getDefaultExport function for compatibility with non-harmony modules
  69. /******/ __webpack_require__.n = function(module) {
  70. /******/ var getter = module && module.__esModule ?
  71. /******/ function getDefault() { return module['default']; } :
  72. /******/ function getModuleExports() { return module; };
  73. /******/ __webpack_require__.d(getter, 'a', getter);
  74. /******/ return getter;
  75. /******/ };
  76. /******/
  77. /******/ // Object.prototype.hasOwnProperty.call
  78. /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
  79. /******/
  80. /******/ // __webpack_public_path__
  81. /******/ __webpack_require__.p = "";
  82. /******/
  83. /******/
  84. /******/ // Load entry module and return exports
  85. /******/ return __webpack_require__(__webpack_require__.s = "fb15");
  86. /******/ })
  87. /************************************************************************/
  88. /******/ ({
  89. /***/ "014b":
  90. /***/ (function(module, exports, __webpack_require__) {
  91. "use strict";
  92. // ECMAScript 6 symbols shim
  93. var global = __webpack_require__("e53d");
  94. var has = __webpack_require__("07e3");
  95. var DESCRIPTORS = __webpack_require__("8e60");
  96. var $export = __webpack_require__("63b6");
  97. var redefine = __webpack_require__("9138");
  98. var META = __webpack_require__("ebfd").KEY;
  99. var $fails = __webpack_require__("294c");
  100. var shared = __webpack_require__("dbdb");
  101. var setToStringTag = __webpack_require__("45f2");
  102. var uid = __webpack_require__("62a0");
  103. var wks = __webpack_require__("5168");
  104. var wksExt = __webpack_require__("ccb9");
  105. var wksDefine = __webpack_require__("6718");
  106. var enumKeys = __webpack_require__("47ee");
  107. var isArray = __webpack_require__("9003");
  108. var anObject = __webpack_require__("e4ae");
  109. var isObject = __webpack_require__("f772");
  110. var toIObject = __webpack_require__("36c3");
  111. var toPrimitive = __webpack_require__("1bc3");
  112. var createDesc = __webpack_require__("aebd");
  113. var _create = __webpack_require__("a159");
  114. var gOPNExt = __webpack_require__("0395");
  115. var $GOPD = __webpack_require__("bf0b");
  116. var $DP = __webpack_require__("d9f6");
  117. var $keys = __webpack_require__("c3a1");
  118. var gOPD = $GOPD.f;
  119. var dP = $DP.f;
  120. var gOPN = gOPNExt.f;
  121. var $Symbol = global.Symbol;
  122. var $JSON = global.JSON;
  123. var _stringify = $JSON && $JSON.stringify;
  124. var PROTOTYPE = 'prototype';
  125. var HIDDEN = wks('_hidden');
  126. var TO_PRIMITIVE = wks('toPrimitive');
  127. var isEnum = {}.propertyIsEnumerable;
  128. var SymbolRegistry = shared('symbol-registry');
  129. var AllSymbols = shared('symbols');
  130. var OPSymbols = shared('op-symbols');
  131. var ObjectProto = Object[PROTOTYPE];
  132. var USE_NATIVE = typeof $Symbol == 'function';
  133. var QObject = global.QObject;
  134. // Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173
  135. var setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;
  136. // fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687
  137. var setSymbolDesc = DESCRIPTORS && $fails(function () {
  138. return _create(dP({}, 'a', {
  139. get: function () { return dP(this, 'a', { value: 7 }).a; }
  140. })).a != 7;
  141. }) ? function (it, key, D) {
  142. var protoDesc = gOPD(ObjectProto, key);
  143. if (protoDesc) delete ObjectProto[key];
  144. dP(it, key, D);
  145. if (protoDesc && it !== ObjectProto) dP(ObjectProto, key, protoDesc);
  146. } : dP;
  147. var wrap = function (tag) {
  148. var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]);
  149. sym._k = tag;
  150. return sym;
  151. };
  152. var isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function (it) {
  153. return typeof it == 'symbol';
  154. } : function (it) {
  155. return it instanceof $Symbol;
  156. };
  157. var $defineProperty = function defineProperty(it, key, D) {
  158. if (it === ObjectProto) $defineProperty(OPSymbols, key, D);
  159. anObject(it);
  160. key = toPrimitive(key, true);
  161. anObject(D);
  162. if (has(AllSymbols, key)) {
  163. if (!D.enumerable) {
  164. if (!has(it, HIDDEN)) dP(it, HIDDEN, createDesc(1, {}));
  165. it[HIDDEN][key] = true;
  166. } else {
  167. if (has(it, HIDDEN) && it[HIDDEN][key]) it[HIDDEN][key] = false;
  168. D = _create(D, { enumerable: createDesc(0, false) });
  169. } return setSymbolDesc(it, key, D);
  170. } return dP(it, key, D);
  171. };
  172. var $defineProperties = function defineProperties(it, P) {
  173. anObject(it);
  174. var keys = enumKeys(P = toIObject(P));
  175. var i = 0;
  176. var l = keys.length;
  177. var key;
  178. while (l > i) $defineProperty(it, key = keys[i++], P[key]);
  179. return it;
  180. };
  181. var $create = function create(it, P) {
  182. return P === undefined ? _create(it) : $defineProperties(_create(it), P);
  183. };
  184. var $propertyIsEnumerable = function propertyIsEnumerable(key) {
  185. var E = isEnum.call(this, key = toPrimitive(key, true));
  186. if (this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return false;
  187. return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true;
  188. };
  189. var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key) {
  190. it = toIObject(it);
  191. key = toPrimitive(key, true);
  192. if (it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return;
  193. var D = gOPD(it, key);
  194. if (D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) D.enumerable = true;
  195. return D;
  196. };
  197. var $getOwnPropertyNames = function getOwnPropertyNames(it) {
  198. var names = gOPN(toIObject(it));
  199. var result = [];
  200. var i = 0;
  201. var key;
  202. while (names.length > i) {
  203. if (!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META) result.push(key);
  204. } return result;
  205. };
  206. var $getOwnPropertySymbols = function getOwnPropertySymbols(it) {
  207. var IS_OP = it === ObjectProto;
  208. var names = gOPN(IS_OP ? OPSymbols : toIObject(it));
  209. var result = [];
  210. var i = 0;
  211. var key;
  212. while (names.length > i) {
  213. if (has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true)) result.push(AllSymbols[key]);
  214. } return result;
  215. };
  216. // 19.4.1.1 Symbol([description])
  217. if (!USE_NATIVE) {
  218. $Symbol = function Symbol() {
  219. if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor!');
  220. var tag = uid(arguments.length > 0 ? arguments[0] : undefined);
  221. var $set = function (value) {
  222. if (this === ObjectProto) $set.call(OPSymbols, value);
  223. if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false;
  224. setSymbolDesc(this, tag, createDesc(1, value));
  225. };
  226. if (DESCRIPTORS && setter) setSymbolDesc(ObjectProto, tag, { configurable: true, set: $set });
  227. return wrap(tag);
  228. };
  229. redefine($Symbol[PROTOTYPE], 'toString', function toString() {
  230. return this._k;
  231. });
  232. $GOPD.f = $getOwnPropertyDescriptor;
  233. $DP.f = $defineProperty;
  234. __webpack_require__("6abf").f = gOPNExt.f = $getOwnPropertyNames;
  235. __webpack_require__("355d").f = $propertyIsEnumerable;
  236. __webpack_require__("9aa9").f = $getOwnPropertySymbols;
  237. if (DESCRIPTORS && !__webpack_require__("b8e3")) {
  238. redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true);
  239. }
  240. wksExt.f = function (name) {
  241. return wrap(wks(name));
  242. };
  243. }
  244. $export($export.G + $export.W + $export.F * !USE_NATIVE, { Symbol: $Symbol });
  245. for (var es6Symbols = (
  246. // 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
  247. 'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables'
  248. ).split(','), j = 0; es6Symbols.length > j;)wks(es6Symbols[j++]);
  249. for (var wellKnownSymbols = $keys(wks.store), k = 0; wellKnownSymbols.length > k;) wksDefine(wellKnownSymbols[k++]);
  250. $export($export.S + $export.F * !USE_NATIVE, 'Symbol', {
  251. // 19.4.2.1 Symbol.for(key)
  252. 'for': function (key) {
  253. return has(SymbolRegistry, key += '')
  254. ? SymbolRegistry[key]
  255. : SymbolRegistry[key] = $Symbol(key);
  256. },
  257. // 19.4.2.5 Symbol.keyFor(sym)
  258. keyFor: function keyFor(sym) {
  259. if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol!');
  260. for (var key in SymbolRegistry) if (SymbolRegistry[key] === sym) return key;
  261. },
  262. useSetter: function () { setter = true; },
  263. useSimple: function () { setter = false; }
  264. });
  265. $export($export.S + $export.F * !USE_NATIVE, 'Object', {
  266. // 19.1.2.2 Object.create(O [, Properties])
  267. create: $create,
  268. // 19.1.2.4 Object.defineProperty(O, P, Attributes)
  269. defineProperty: $defineProperty,
  270. // 19.1.2.3 Object.defineProperties(O, Properties)
  271. defineProperties: $defineProperties,
  272. // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)
  273. getOwnPropertyDescriptor: $getOwnPropertyDescriptor,
  274. // 19.1.2.7 Object.getOwnPropertyNames(O)
  275. getOwnPropertyNames: $getOwnPropertyNames,
  276. // 19.1.2.8 Object.getOwnPropertySymbols(O)
  277. getOwnPropertySymbols: $getOwnPropertySymbols
  278. });
  279. // 24.3.2 JSON.stringify(value [, replacer [, space]])
  280. $JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function () {
  281. var S = $Symbol();
  282. // MS Edge converts symbol values to JSON as {}
  283. // WebKit converts symbol values to JSON as null
  284. // V8 throws on boxed symbols
  285. return _stringify([S]) != '[null]' || _stringify({ a: S }) != '{}' || _stringify(Object(S)) != '{}';
  286. })), 'JSON', {
  287. stringify: function stringify(it) {
  288. var args = [it];
  289. var i = 1;
  290. var replacer, $replacer;
  291. while (arguments.length > i) args.push(arguments[i++]);
  292. $replacer = replacer = args[1];
  293. if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined
  294. if (!isArray(replacer)) replacer = function (key, value) {
  295. if (typeof $replacer == 'function') value = $replacer.call(this, key, value);
  296. if (!isSymbol(value)) return value;
  297. };
  298. args[1] = replacer;
  299. return _stringify.apply($JSON, args);
  300. }
  301. });
  302. // 19.4.3.4 Symbol.prototype[@@toPrimitive](hint)
  303. $Symbol[PROTOTYPE][TO_PRIMITIVE] || __webpack_require__("35e8")($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf);
  304. // 19.4.3.5 Symbol.prototype[@@toStringTag]
  305. setToStringTag($Symbol, 'Symbol');
  306. // 20.2.1.9 Math[@@toStringTag]
  307. setToStringTag(Math, 'Math', true);
  308. // 24.3.3 JSON[@@toStringTag]
  309. setToStringTag(global.JSON, 'JSON', true);
  310. /***/ }),
  311. /***/ "02f4":
  312. /***/ (function(module, exports, __webpack_require__) {
  313. var toInteger = __webpack_require__("4588");
  314. var defined = __webpack_require__("be13");
  315. // true -> String#at
  316. // false -> String#codePointAt
  317. module.exports = function (TO_STRING) {
  318. return function (that, pos) {
  319. var s = String(defined(that));
  320. var i = toInteger(pos);
  321. var l = s.length;
  322. var a, b;
  323. if (i < 0 || i >= l) return TO_STRING ? '' : undefined;
  324. a = s.charCodeAt(i);
  325. return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff
  326. ? TO_STRING ? s.charAt(i) : a
  327. : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;
  328. };
  329. };
  330. /***/ }),
  331. /***/ "0390":
  332. /***/ (function(module, exports, __webpack_require__) {
  333. "use strict";
  334. var at = __webpack_require__("02f4")(true);
  335. // `AdvanceStringIndex` abstract operation
  336. // https://tc39.github.io/ecma262/#sec-advancestringindex
  337. module.exports = function (S, index, unicode) {
  338. return index + (unicode ? at(S, index).length : 1);
  339. };
  340. /***/ }),
  341. /***/ "0395":
  342. /***/ (function(module, exports, __webpack_require__) {
  343. // fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window
  344. var toIObject = __webpack_require__("36c3");
  345. var gOPN = __webpack_require__("6abf").f;
  346. var toString = {}.toString;
  347. var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames
  348. ? Object.getOwnPropertyNames(window) : [];
  349. var getWindowNames = function (it) {
  350. try {
  351. return gOPN(it);
  352. } catch (e) {
  353. return windowNames.slice();
  354. }
  355. };
  356. module.exports.f = function getOwnPropertyNames(it) {
  357. return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it));
  358. };
  359. /***/ }),
  360. /***/ "07e3":
  361. /***/ (function(module, exports) {
  362. var hasOwnProperty = {}.hasOwnProperty;
  363. module.exports = function (it, key) {
  364. return hasOwnProperty.call(it, key);
  365. };
  366. /***/ }),
  367. /***/ "097d":
  368. /***/ (function(module, exports, __webpack_require__) {
  369. "use strict";
  370. // https://github.com/tc39/proposal-promise-finally
  371. var $export = __webpack_require__("5ca1");
  372. var core = __webpack_require__("8378");
  373. var global = __webpack_require__("7726");
  374. var speciesConstructor = __webpack_require__("ebd6");
  375. var promiseResolve = __webpack_require__("bcaa");
  376. $export($export.P + $export.R, 'Promise', { 'finally': function (onFinally) {
  377. var C = speciesConstructor(this, core.Promise || global.Promise);
  378. var isFunction = typeof onFinally == 'function';
  379. return this.then(
  380. isFunction ? function (x) {
  381. return promiseResolve(C, onFinally()).then(function () { return x; });
  382. } : onFinally,
  383. isFunction ? function (e) {
  384. return promiseResolve(C, onFinally()).then(function () { throw e; });
  385. } : onFinally
  386. );
  387. } });
  388. /***/ }),
  389. /***/ "0a49":
  390. /***/ (function(module, exports, __webpack_require__) {
  391. // 0 -> Array#forEach
  392. // 1 -> Array#map
  393. // 2 -> Array#filter
  394. // 3 -> Array#some
  395. // 4 -> Array#every
  396. // 5 -> Array#find
  397. // 6 -> Array#findIndex
  398. var ctx = __webpack_require__("9b43");
  399. var IObject = __webpack_require__("626a");
  400. var toObject = __webpack_require__("4bf8");
  401. var toLength = __webpack_require__("9def");
  402. var asc = __webpack_require__("cd1c");
  403. module.exports = function (TYPE, $create) {
  404. var IS_MAP = TYPE == 1;
  405. var IS_FILTER = TYPE == 2;
  406. var IS_SOME = TYPE == 3;
  407. var IS_EVERY = TYPE == 4;
  408. var IS_FIND_INDEX = TYPE == 6;
  409. var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
  410. var create = $create || asc;
  411. return function ($this, callbackfn, that) {
  412. var O = toObject($this);
  413. var self = IObject(O);
  414. var f = ctx(callbackfn, that, 3);
  415. var length = toLength(self.length);
  416. var index = 0;
  417. var result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined;
  418. var val, res;
  419. for (;length > index; index++) if (NO_HOLES || index in self) {
  420. val = self[index];
  421. res = f(val, index, O);
  422. if (TYPE) {
  423. if (IS_MAP) result[index] = res; // map
  424. else if (res) switch (TYPE) {
  425. case 3: return true; // some
  426. case 5: return val; // find
  427. case 6: return index; // findIndex
  428. case 2: result.push(val); // filter
  429. } else if (IS_EVERY) return false; // every
  430. }
  431. }
  432. return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result;
  433. };
  434. };
  435. /***/ }),
  436. /***/ "0bfb":
  437. /***/ (function(module, exports, __webpack_require__) {
  438. "use strict";
  439. // 21.2.5.3 get RegExp.prototype.flags
  440. var anObject = __webpack_require__("cb7c");
  441. module.exports = function () {
  442. var that = anObject(this);
  443. var result = '';
  444. if (that.global) result += 'g';
  445. if (that.ignoreCase) result += 'i';
  446. if (that.multiline) result += 'm';
  447. if (that.unicode) result += 'u';
  448. if (that.sticky) result += 'y';
  449. return result;
  450. };
  451. /***/ }),
  452. /***/ "0fc9":
  453. /***/ (function(module, exports, __webpack_require__) {
  454. var toInteger = __webpack_require__("3a38");
  455. var max = Math.max;
  456. var min = Math.min;
  457. module.exports = function (index, length) {
  458. index = toInteger(index);
  459. return index < 0 ? max(index + length, 0) : min(index, length);
  460. };
  461. /***/ }),
  462. /***/ "1169":
  463. /***/ (function(module, exports, __webpack_require__) {
  464. // 7.2.2 IsArray(argument)
  465. var cof = __webpack_require__("2d95");
  466. module.exports = Array.isArray || function isArray(arg) {
  467. return cof(arg) == 'Array';
  468. };
  469. /***/ }),
  470. /***/ "1173":
  471. /***/ (function(module, exports) {
  472. module.exports = function (it, Constructor, name, forbiddenField) {
  473. if (!(it instanceof Constructor) || (forbiddenField !== undefined && forbiddenField in it)) {
  474. throw TypeError(name + ': incorrect invocation!');
  475. } return it;
  476. };
  477. /***/ }),
  478. /***/ "1654":
  479. /***/ (function(module, exports, __webpack_require__) {
  480. "use strict";
  481. var $at = __webpack_require__("71c1")(true);
  482. // 21.1.3.27 String.prototype[@@iterator]()
  483. __webpack_require__("30f1")(String, 'String', function (iterated) {
  484. this._t = String(iterated); // target
  485. this._i = 0; // next index
  486. // 21.1.5.2.1 %StringIteratorPrototype%.next()
  487. }, function () {
  488. var O = this._t;
  489. var index = this._i;
  490. var point;
  491. if (index >= O.length) return { value: undefined, done: true };
  492. point = $at(O, index);
  493. this._i += point.length;
  494. return { value: point, done: false };
  495. });
  496. /***/ }),
  497. /***/ "1691":
  498. /***/ (function(module, exports) {
  499. // IE 8- don't enum bug keys
  500. module.exports = (
  501. 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'
  502. ).split(',');
  503. /***/ }),
  504. /***/ "199b":
  505. /***/ (function(module, exports, __webpack_require__) {
  506. // extracted by mini-css-extract-plugin
  507. /***/ }),
  508. /***/ "1af6":
  509. /***/ (function(module, exports, __webpack_require__) {
  510. // 22.1.2.2 / 15.4.3.2 Array.isArray(arg)
  511. var $export = __webpack_require__("63b6");
  512. $export($export.S, 'Array', { isArray: __webpack_require__("9003") });
  513. /***/ }),
  514. /***/ "1bc3":
  515. /***/ (function(module, exports, __webpack_require__) {
  516. // 7.1.1 ToPrimitive(input [, PreferredType])
  517. var isObject = __webpack_require__("f772");
  518. // instead of the ES6 spec version, we didn't implement @@toPrimitive case
  519. // and the second argument - flag - preferred type is a string
  520. module.exports = function (it, S) {
  521. if (!isObject(it)) return it;
  522. var fn, val;
  523. if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
  524. if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;
  525. if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
  526. throw TypeError("Can't convert object to primitive value");
  527. };
  528. /***/ }),
  529. /***/ "1ec9":
  530. /***/ (function(module, exports, __webpack_require__) {
  531. var isObject = __webpack_require__("f772");
  532. var document = __webpack_require__("e53d").document;
  533. // typeof document.createElement is 'object' in old IE
  534. var is = isObject(document) && isObject(document.createElement);
  535. module.exports = function (it) {
  536. return is ? document.createElement(it) : {};
  537. };
  538. /***/ }),
  539. /***/ "20d6":
  540. /***/ (function(module, exports, __webpack_require__) {
  541. "use strict";
  542. // 22.1.3.9 Array.prototype.findIndex(predicate, thisArg = undefined)
  543. var $export = __webpack_require__("5ca1");
  544. var $find = __webpack_require__("0a49")(6);
  545. var KEY = 'findIndex';
  546. var forced = true;
  547. // Shouldn't skip holes
  548. if (KEY in []) Array(1)[KEY](function () { forced = false; });
  549. $export($export.P + $export.F * forced, 'Array', {
  550. findIndex: function findIndex(callbackfn /* , that = undefined */) {
  551. return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
  552. }
  553. });
  554. __webpack_require__("9c6c")(KEY);
  555. /***/ }),
  556. /***/ "214f":
  557. /***/ (function(module, exports, __webpack_require__) {
  558. "use strict";
  559. __webpack_require__("b0c5");
  560. var redefine = __webpack_require__("2aba");
  561. var hide = __webpack_require__("32e9");
  562. var fails = __webpack_require__("79e5");
  563. var defined = __webpack_require__("be13");
  564. var wks = __webpack_require__("2b4c");
  565. var regexpExec = __webpack_require__("520a");
  566. var SPECIES = wks('species');
  567. var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {
  568. // #replace needs built-in support for named groups.
  569. // #match works fine because it just return the exec results, even if it has
  570. // a "grops" property.
  571. var re = /./;
  572. re.exec = function () {
  573. var result = [];
  574. result.groups = { a: '7' };
  575. return result;
  576. };
  577. return ''.replace(re, '$<a>') !== '7';
  578. });
  579. var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = (function () {
  580. // Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec
  581. var re = /(?:)/;
  582. var originalExec = re.exec;
  583. re.exec = function () { return originalExec.apply(this, arguments); };
  584. var result = 'ab'.split(re);
  585. return result.length === 2 && result[0] === 'a' && result[1] === 'b';
  586. })();
  587. module.exports = function (KEY, length, exec) {
  588. var SYMBOL = wks(KEY);
  589. var DELEGATES_TO_SYMBOL = !fails(function () {
  590. // String methods call symbol-named RegEp methods
  591. var O = {};
  592. O[SYMBOL] = function () { return 7; };
  593. return ''[KEY](O) != 7;
  594. });
  595. var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL ? !fails(function () {
  596. // Symbol-named RegExp methods call .exec
  597. var execCalled = false;
  598. var re = /a/;
  599. re.exec = function () { execCalled = true; return null; };
  600. if (KEY === 'split') {
  601. // RegExp[@@split] doesn't call the regex's exec method, but first creates
  602. // a new one. We need to return the patched regex when creating the new one.
  603. re.constructor = {};
  604. re.constructor[SPECIES] = function () { return re; };
  605. }
  606. re[SYMBOL]('');
  607. return !execCalled;
  608. }) : undefined;
  609. if (
  610. !DELEGATES_TO_SYMBOL ||
  611. !DELEGATES_TO_EXEC ||
  612. (KEY === 'replace' && !REPLACE_SUPPORTS_NAMED_GROUPS) ||
  613. (KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC)
  614. ) {
  615. var nativeRegExpMethod = /./[SYMBOL];
  616. var fns = exec(
  617. defined,
  618. SYMBOL,
  619. ''[KEY],
  620. function maybeCallNative(nativeMethod, regexp, str, arg2, forceStringMethod) {
  621. if (regexp.exec === regexpExec) {
  622. if (DELEGATES_TO_SYMBOL && !forceStringMethod) {
  623. // The native String method already delegates to @@method (this
  624. // polyfilled function), leasing to infinite recursion.
  625. // We avoid it by directly calling the native @@method method.
  626. return { done: true, value: nativeRegExpMethod.call(regexp, str, arg2) };
  627. }
  628. return { done: true, value: nativeMethod.call(str, regexp, arg2) };
  629. }
  630. return { done: false };
  631. }
  632. );
  633. var strfn = fns[0];
  634. var rxfn = fns[1];
  635. redefine(String.prototype, KEY, strfn);
  636. hide(RegExp.prototype, SYMBOL, length == 2
  637. // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue)
  638. // 21.2.5.11 RegExp.prototype[@@split](string, limit)
  639. ? function (string, arg) { return rxfn.call(string, this, arg); }
  640. // 21.2.5.6 RegExp.prototype[@@match](string)
  641. // 21.2.5.9 RegExp.prototype[@@search](string)
  642. : function (string) { return rxfn.call(string, this); }
  643. );
  644. }
  645. };
  646. /***/ }),
  647. /***/ "230e":
  648. /***/ (function(module, exports, __webpack_require__) {
  649. var isObject = __webpack_require__("d3f4");
  650. var document = __webpack_require__("7726").document;
  651. // typeof document.createElement is 'object' in old IE
  652. var is = isObject(document) && isObject(document.createElement);
  653. module.exports = function (it) {
  654. return is ? document.createElement(it) : {};
  655. };
  656. /***/ }),
  657. /***/ "23c6":
  658. /***/ (function(module, exports, __webpack_require__) {
  659. // getting tag from 19.1.3.6 Object.prototype.toString()
  660. var cof = __webpack_require__("2d95");
  661. var TAG = __webpack_require__("2b4c")('toStringTag');
  662. // ES3 wrong here
  663. var ARG = cof(function () { return arguments; }()) == 'Arguments';
  664. // fallback for IE11 Script Access Denied error
  665. var tryGet = function (it, key) {
  666. try {
  667. return it[key];
  668. } catch (e) { /* empty */ }
  669. };
  670. module.exports = function (it) {
  671. var O, T, B;
  672. return it === undefined ? 'Undefined' : it === null ? 'Null'
  673. // @@toStringTag case
  674. : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T
  675. // builtinTag case
  676. : ARG ? cof(O)
  677. // ES3 arguments fallback
  678. : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;
  679. };
  680. /***/ }),
  681. /***/ "241e":
  682. /***/ (function(module, exports, __webpack_require__) {
  683. // 7.1.13 ToObject(argument)
  684. var defined = __webpack_require__("25eb");
  685. module.exports = function (it) {
  686. return Object(defined(it));
  687. };
  688. /***/ }),
  689. /***/ "24c5":
  690. /***/ (function(module, exports, __webpack_require__) {
  691. "use strict";
  692. var LIBRARY = __webpack_require__("b8e3");
  693. var global = __webpack_require__("e53d");
  694. var ctx = __webpack_require__("d864");
  695. var classof = __webpack_require__("40c3");
  696. var $export = __webpack_require__("63b6");
  697. var isObject = __webpack_require__("f772");
  698. var aFunction = __webpack_require__("79aa");
  699. var anInstance = __webpack_require__("1173");
  700. var forOf = __webpack_require__("a22a");
  701. var speciesConstructor = __webpack_require__("f201");
  702. var task = __webpack_require__("4178").set;
  703. var microtask = __webpack_require__("aba2")();
  704. var newPromiseCapabilityModule = __webpack_require__("656e");
  705. var perform = __webpack_require__("4439");
  706. var userAgent = __webpack_require__("bc13");
  707. var promiseResolve = __webpack_require__("cd78");
  708. var PROMISE = 'Promise';
  709. var TypeError = global.TypeError;
  710. var process = global.process;
  711. var versions = process && process.versions;
  712. var v8 = versions && versions.v8 || '';
  713. var $Promise = global[PROMISE];
  714. var isNode = classof(process) == 'process';
  715. var empty = function () { /* empty */ };
  716. var Internal, newGenericPromiseCapability, OwnPromiseCapability, Wrapper;
  717. var newPromiseCapability = newGenericPromiseCapability = newPromiseCapabilityModule.f;
  718. var USE_NATIVE = !!function () {
  719. try {
  720. // correct subclassing with @@species support
  721. var promise = $Promise.resolve(1);
  722. var FakePromise = (promise.constructor = {})[__webpack_require__("5168")('species')] = function (exec) {
  723. exec(empty, empty);
  724. };
  725. // unhandled rejections tracking support, NodeJS Promise without it fails @@species test
  726. return (isNode || typeof PromiseRejectionEvent == 'function')
  727. && promise.then(empty) instanceof FakePromise
  728. // v8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables
  729. // https://bugs.chromium.org/p/chromium/issues/detail?id=830565
  730. // we can't detect it synchronously, so just check versions
  731. && v8.indexOf('6.6') !== 0
  732. && userAgent.indexOf('Chrome/66') === -1;
  733. } catch (e) { /* empty */ }
  734. }();
  735. // helpers
  736. var isThenable = function (it) {
  737. var then;
  738. return isObject(it) && typeof (then = it.then) == 'function' ? then : false;
  739. };
  740. var notify = function (promise, isReject) {
  741. if (promise._n) return;
  742. promise._n = true;
  743. var chain = promise._c;
  744. microtask(function () {
  745. var value = promise._v;
  746. var ok = promise._s == 1;
  747. var i = 0;
  748. var run = function (reaction) {
  749. var handler = ok ? reaction.ok : reaction.fail;
  750. var resolve = reaction.resolve;
  751. var reject = reaction.reject;
  752. var domain = reaction.domain;
  753. var result, then, exited;
  754. try {
  755. if (handler) {
  756. if (!ok) {
  757. if (promise._h == 2) onHandleUnhandled(promise);
  758. promise._h = 1;
  759. }
  760. if (handler === true) result = value;
  761. else {
  762. if (domain) domain.enter();
  763. result = handler(value); // may throw
  764. if (domain) {
  765. domain.exit();
  766. exited = true;
  767. }
  768. }
  769. if (result === reaction.promise) {
  770. reject(TypeError('Promise-chain cycle'));
  771. } else if (then = isThenable(result)) {
  772. then.call(result, resolve, reject);
  773. } else resolve(result);
  774. } else reject(value);
  775. } catch (e) {
  776. if (domain && !exited) domain.exit();
  777. reject(e);
  778. }
  779. };
  780. while (chain.length > i) run(chain[i++]); // variable length - can't use forEach
  781. promise._c = [];
  782. promise._n = false;
  783. if (isReject && !promise._h) onUnhandled(promise);
  784. });
  785. };
  786. var onUnhandled = function (promise) {
  787. task.call(global, function () {
  788. var value = promise._v;
  789. var unhandled = isUnhandled(promise);
  790. var result, handler, console;
  791. if (unhandled) {
  792. result = perform(function () {
  793. if (isNode) {
  794. process.emit('unhandledRejection', value, promise);
  795. } else if (handler = global.onunhandledrejection) {
  796. handler({ promise: promise, reason: value });
  797. } else if ((console = global.console) && console.error) {
  798. console.error('Unhandled promise rejection', value);
  799. }
  800. });
  801. // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should
  802. promise._h = isNode || isUnhandled(promise) ? 2 : 1;
  803. } promise._a = undefined;
  804. if (unhandled && result.e) throw result.v;
  805. });
  806. };
  807. var isUnhandled = function (promise) {
  808. return promise._h !== 1 && (promise._a || promise._c).length === 0;
  809. };
  810. var onHandleUnhandled = function (promise) {
  811. task.call(global, function () {
  812. var handler;
  813. if (isNode) {
  814. process.emit('rejectionHandled', promise);
  815. } else if (handler = global.onrejectionhandled) {
  816. handler({ promise: promise, reason: promise._v });
  817. }
  818. });
  819. };
  820. var $reject = function (value) {
  821. var promise = this;
  822. if (promise._d) return;
  823. promise._d = true;
  824. promise = promise._w || promise; // unwrap
  825. promise._v = value;
  826. promise._s = 2;
  827. if (!promise._a) promise._a = promise._c.slice();
  828. notify(promise, true);
  829. };
  830. var $resolve = function (value) {
  831. var promise = this;
  832. var then;
  833. if (promise._d) return;
  834. promise._d = true;
  835. promise = promise._w || promise; // unwrap
  836. try {
  837. if (promise === value) throw TypeError("Promise can't be resolved itself");
  838. if (then = isThenable(value)) {
  839. microtask(function () {
  840. var wrapper = { _w: promise, _d: false }; // wrap
  841. try {
  842. then.call(value, ctx($resolve, wrapper, 1), ctx($reject, wrapper, 1));
  843. } catch (e) {
  844. $reject.call(wrapper, e);
  845. }
  846. });
  847. } else {
  848. promise._v = value;
  849. promise._s = 1;
  850. notify(promise, false);
  851. }
  852. } catch (e) {
  853. $reject.call({ _w: promise, _d: false }, e); // wrap
  854. }
  855. };
  856. // constructor polyfill
  857. if (!USE_NATIVE) {
  858. // 25.4.3.1 Promise(executor)
  859. $Promise = function Promise(executor) {
  860. anInstance(this, $Promise, PROMISE, '_h');
  861. aFunction(executor);
  862. Internal.call(this);
  863. try {
  864. executor(ctx($resolve, this, 1), ctx($reject, this, 1));
  865. } catch (err) {
  866. $reject.call(this, err);
  867. }
  868. };
  869. // eslint-disable-next-line no-unused-vars
  870. Internal = function Promise(executor) {
  871. this._c = []; // <- awaiting reactions
  872. this._a = undefined; // <- checked in isUnhandled reactions
  873. this._s = 0; // <- state
  874. this._d = false; // <- done
  875. this._v = undefined; // <- value
  876. this._h = 0; // <- rejection state, 0 - default, 1 - handled, 2 - unhandled
  877. this._n = false; // <- notify
  878. };
  879. Internal.prototype = __webpack_require__("5c95")($Promise.prototype, {
  880. // 25.4.5.3 Promise.prototype.then(onFulfilled, onRejected)
  881. then: function then(onFulfilled, onRejected) {
  882. var reaction = newPromiseCapability(speciesConstructor(this, $Promise));
  883. reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true;
  884. reaction.fail = typeof onRejected == 'function' && onRejected;
  885. reaction.domain = isNode ? process.domain : undefined;
  886. this._c.push(reaction);
  887. if (this._a) this._a.push(reaction);
  888. if (this._s) notify(this, false);
  889. return reaction.promise;
  890. },
  891. // 25.4.5.1 Promise.prototype.catch(onRejected)
  892. 'catch': function (onRejected) {
  893. return this.then(undefined, onRejected);
  894. }
  895. });
  896. OwnPromiseCapability = function () {
  897. var promise = new Internal();
  898. this.promise = promise;
  899. this.resolve = ctx($resolve, promise, 1);
  900. this.reject = ctx($reject, promise, 1);
  901. };
  902. newPromiseCapabilityModule.f = newPromiseCapability = function (C) {
  903. return C === $Promise || C === Wrapper
  904. ? new OwnPromiseCapability(C)
  905. : newGenericPromiseCapability(C);
  906. };
  907. }
  908. $export($export.G + $export.W + $export.F * !USE_NATIVE, { Promise: $Promise });
  909. __webpack_require__("45f2")($Promise, PROMISE);
  910. __webpack_require__("4c95")(PROMISE);
  911. Wrapper = __webpack_require__("584a")[PROMISE];
  912. // statics
  913. $export($export.S + $export.F * !USE_NATIVE, PROMISE, {
  914. // 25.4.4.5 Promise.reject(r)
  915. reject: function reject(r) {
  916. var capability = newPromiseCapability(this);
  917. var $$reject = capability.reject;
  918. $$reject(r);
  919. return capability.promise;
  920. }
  921. });
  922. $export($export.S + $export.F * (LIBRARY || !USE_NATIVE), PROMISE, {
  923. // 25.4.4.6 Promise.resolve(x)
  924. resolve: function resolve(x) {
  925. return promiseResolve(LIBRARY && this === Wrapper ? $Promise : this, x);
  926. }
  927. });
  928. $export($export.S + $export.F * !(USE_NATIVE && __webpack_require__("4ee1")(function (iter) {
  929. $Promise.all(iter)['catch'](empty);
  930. })), PROMISE, {
  931. // 25.4.4.1 Promise.all(iterable)
  932. all: function all(iterable) {
  933. var C = this;
  934. var capability = newPromiseCapability(C);
  935. var resolve = capability.resolve;
  936. var reject = capability.reject;
  937. var result = perform(function () {
  938. var values = [];
  939. var index = 0;
  940. var remaining = 1;
  941. forOf(iterable, false, function (promise) {
  942. var $index = index++;
  943. var alreadyCalled = false;
  944. values.push(undefined);
  945. remaining++;
  946. C.resolve(promise).then(function (value) {
  947. if (alreadyCalled) return;
  948. alreadyCalled = true;
  949. values[$index] = value;
  950. --remaining || resolve(values);
  951. }, reject);
  952. });
  953. --remaining || resolve(values);
  954. });
  955. if (result.e) reject(result.v);
  956. return capability.promise;
  957. },
  958. // 25.4.4.4 Promise.race(iterable)
  959. race: function race(iterable) {
  960. var C = this;
  961. var capability = newPromiseCapability(C);
  962. var reject = capability.reject;
  963. var result = perform(function () {
  964. forOf(iterable, false, function (promise) {
  965. C.resolve(promise).then(capability.resolve, reject);
  966. });
  967. });
  968. if (result.e) reject(result.v);
  969. return capability.promise;
  970. }
  971. });
  972. /***/ }),
  973. /***/ "25eb":
  974. /***/ (function(module, exports) {
  975. // 7.2.1 RequireObjectCoercible(argument)
  976. module.exports = function (it) {
  977. if (it == undefined) throw TypeError("Can't call method on " + it);
  978. return it;
  979. };
  980. /***/ }),
  981. /***/ "28a5":
  982. /***/ (function(module, exports, __webpack_require__) {
  983. "use strict";
  984. var isRegExp = __webpack_require__("aae3");
  985. var anObject = __webpack_require__("cb7c");
  986. var speciesConstructor = __webpack_require__("ebd6");
  987. var advanceStringIndex = __webpack_require__("0390");
  988. var toLength = __webpack_require__("9def");
  989. var callRegExpExec = __webpack_require__("5f1b");
  990. var regexpExec = __webpack_require__("520a");
  991. var fails = __webpack_require__("79e5");
  992. var $min = Math.min;
  993. var $push = [].push;
  994. var $SPLIT = 'split';
  995. var LENGTH = 'length';
  996. var LAST_INDEX = 'lastIndex';
  997. var MAX_UINT32 = 0xffffffff;
  998. // babel-minify transpiles RegExp('x', 'y') -> /x/y and it causes SyntaxError
  999. var SUPPORTS_Y = !fails(function () { RegExp(MAX_UINT32, 'y'); });
  1000. // @@split logic
  1001. __webpack_require__("214f")('split', 2, function (defined, SPLIT, $split, maybeCallNative) {
  1002. var internalSplit;
  1003. if (
  1004. 'abbc'[$SPLIT](/(b)*/)[1] == 'c' ||
  1005. 'test'[$SPLIT](/(?:)/, -1)[LENGTH] != 4 ||
  1006. 'ab'[$SPLIT](/(?:ab)*/)[LENGTH] != 2 ||
  1007. '.'[$SPLIT](/(.?)(.?)/)[LENGTH] != 4 ||
  1008. '.'[$SPLIT](/()()/)[LENGTH] > 1 ||
  1009. ''[$SPLIT](/.?/)[LENGTH]
  1010. ) {
  1011. // based on es5-shim implementation, need to rework it
  1012. internalSplit = function (separator, limit) {
  1013. var string = String(this);
  1014. if (separator === undefined && limit === 0) return [];
  1015. // If `separator` is not a regex, use native split
  1016. if (!isRegExp(separator)) return $split.call(string, separator, limit);
  1017. var output = [];
  1018. var flags = (separator.ignoreCase ? 'i' : '') +
  1019. (separator.multiline ? 'm' : '') +
  1020. (separator.unicode ? 'u' : '') +
  1021. (separator.sticky ? 'y' : '');
  1022. var lastLastIndex = 0;
  1023. var splitLimit = limit === undefined ? MAX_UINT32 : limit >>> 0;
  1024. // Make `global` and avoid `lastIndex` issues by working with a copy
  1025. var separatorCopy = new RegExp(separator.source, flags + 'g');
  1026. var match, lastIndex, lastLength;
  1027. while (match = regexpExec.call(separatorCopy, string)) {
  1028. lastIndex = separatorCopy[LAST_INDEX];
  1029. if (lastIndex > lastLastIndex) {
  1030. output.push(string.slice(lastLastIndex, match.index));
  1031. if (match[LENGTH] > 1 && match.index < string[LENGTH]) $push.apply(output, match.slice(1));
  1032. lastLength = match[0][LENGTH];
  1033. lastLastIndex = lastIndex;
  1034. if (output[LENGTH] >= splitLimit) break;
  1035. }
  1036. if (separatorCopy[LAST_INDEX] === match.index) separatorCopy[LAST_INDEX]++; // Avoid an infinite loop
  1037. }
  1038. if (lastLastIndex === string[LENGTH]) {
  1039. if (lastLength || !separatorCopy.test('')) output.push('');
  1040. } else output.push(string.slice(lastLastIndex));
  1041. return output[LENGTH] > splitLimit ? output.slice(0, splitLimit) : output;
  1042. };
  1043. // Chakra, V8
  1044. } else if ('0'[$SPLIT](undefined, 0)[LENGTH]) {
  1045. internalSplit = function (separator, limit) {
  1046. return separator === undefined && limit === 0 ? [] : $split.call(this, separator, limit);
  1047. };
  1048. } else {
  1049. internalSplit = $split;
  1050. }
  1051. return [
  1052. // `String.prototype.split` method
  1053. // https://tc39.github.io/ecma262/#sec-string.prototype.split
  1054. function split(separator, limit) {
  1055. var O = defined(this);
  1056. var splitter = separator == undefined ? undefined : separator[SPLIT];
  1057. return splitter !== undefined
  1058. ? splitter.call(separator, O, limit)
  1059. : internalSplit.call(String(O), separator, limit);
  1060. },
  1061. // `RegExp.prototype[@@split]` method
  1062. // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@split
  1063. //
  1064. // NOTE: This cannot be properly polyfilled in engines that don't support
  1065. // the 'y' flag.
  1066. function (regexp, limit) {
  1067. var res = maybeCallNative(internalSplit, regexp, this, limit, internalSplit !== $split);
  1068. if (res.done) return res.value;
  1069. var rx = anObject(regexp);
  1070. var S = String(this);
  1071. var C = speciesConstructor(rx, RegExp);
  1072. var unicodeMatching = rx.unicode;
  1073. var flags = (rx.ignoreCase ? 'i' : '') +
  1074. (rx.multiline ? 'm' : '') +
  1075. (rx.unicode ? 'u' : '') +
  1076. (SUPPORTS_Y ? 'y' : 'g');
  1077. // ^(? + rx + ) is needed, in combination with some S slicing, to
  1078. // simulate the 'y' flag.
  1079. var splitter = new C(SUPPORTS_Y ? rx : '^(?:' + rx.source + ')', flags);
  1080. var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;
  1081. if (lim === 0) return [];
  1082. if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : [];
  1083. var p = 0;
  1084. var q = 0;
  1085. var A = [];
  1086. while (q < S.length) {
  1087. splitter.lastIndex = SUPPORTS_Y ? q : 0;
  1088. var z = callRegExpExec(splitter, SUPPORTS_Y ? S : S.slice(q));
  1089. var e;
  1090. if (
  1091. z === null ||
  1092. (e = $min(toLength(splitter.lastIndex + (SUPPORTS_Y ? 0 : q)), S.length)) === p
  1093. ) {
  1094. q = advanceStringIndex(S, q, unicodeMatching);
  1095. } else {
  1096. A.push(S.slice(p, q));
  1097. if (A.length === lim) return A;
  1098. for (var i = 1; i <= z.length - 1; i++) {
  1099. A.push(z[i]);
  1100. if (A.length === lim) return A;
  1101. }
  1102. q = p = e;
  1103. }
  1104. }
  1105. A.push(S.slice(p));
  1106. return A;
  1107. }
  1108. ];
  1109. });
  1110. /***/ }),
  1111. /***/ "294c":
  1112. /***/ (function(module, exports) {
  1113. module.exports = function (exec) {
  1114. try {
  1115. return !!exec();
  1116. } catch (e) {
  1117. return true;
  1118. }
  1119. };
  1120. /***/ }),
  1121. /***/ "2aba":
  1122. /***/ (function(module, exports, __webpack_require__) {
  1123. var global = __webpack_require__("7726");
  1124. var hide = __webpack_require__("32e9");
  1125. var has = __webpack_require__("69a8");
  1126. var SRC = __webpack_require__("ca5a")('src');
  1127. var $toString = __webpack_require__("fa5b");
  1128. var TO_STRING = 'toString';
  1129. var TPL = ('' + $toString).split(TO_STRING);
  1130. __webpack_require__("8378").inspectSource = function (it) {
  1131. return $toString.call(it);
  1132. };
  1133. (module.exports = function (O, key, val, safe) {
  1134. var isFunction = typeof val == 'function';
  1135. if (isFunction) has(val, 'name') || hide(val, 'name', key);
  1136. if (O[key] === val) return;
  1137. if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key)));
  1138. if (O === global) {
  1139. O[key] = val;
  1140. } else if (!safe) {
  1141. delete O[key];
  1142. hide(O, key, val);
  1143. } else if (O[key]) {
  1144. O[key] = val;
  1145. } else {
  1146. hide(O, key, val);
  1147. }
  1148. // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
  1149. })(Function.prototype, TO_STRING, function toString() {
  1150. return typeof this == 'function' && this[SRC] || $toString.call(this);
  1151. });
  1152. /***/ }),
  1153. /***/ "2b4c":
  1154. /***/ (function(module, exports, __webpack_require__) {
  1155. var store = __webpack_require__("5537")('wks');
  1156. var uid = __webpack_require__("ca5a");
  1157. var Symbol = __webpack_require__("7726").Symbol;
  1158. var USE_SYMBOL = typeof Symbol == 'function';
  1159. var $exports = module.exports = function (name) {
  1160. return store[name] || (store[name] =
  1161. USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));
  1162. };
  1163. $exports.store = store;
  1164. /***/ }),
  1165. /***/ "2d00":
  1166. /***/ (function(module, exports) {
  1167. module.exports = false;
  1168. /***/ }),
  1169. /***/ "2d95":
  1170. /***/ (function(module, exports) {
  1171. var toString = {}.toString;
  1172. module.exports = function (it) {
  1173. return toString.call(it).slice(8, -1);
  1174. };
  1175. /***/ }),
  1176. /***/ "3024":
  1177. /***/ (function(module, exports) {
  1178. // fast apply, http://jsperf.lnkit.com/fast-apply/5
  1179. module.exports = function (fn, args, that) {
  1180. var un = that === undefined;
  1181. switch (args.length) {
  1182. case 0: return un ? fn()
  1183. : fn.call(that);
  1184. case 1: return un ? fn(args[0])
  1185. : fn.call(that, args[0]);
  1186. case 2: return un ? fn(args[0], args[1])
  1187. : fn.call(that, args[0], args[1]);
  1188. case 3: return un ? fn(args[0], args[1], args[2])
  1189. : fn.call(that, args[0], args[1], args[2]);
  1190. case 4: return un ? fn(args[0], args[1], args[2], args[3])
  1191. : fn.call(that, args[0], args[1], args[2], args[3]);
  1192. } return fn.apply(that, args);
  1193. };
  1194. /***/ }),
  1195. /***/ "30f1":
  1196. /***/ (function(module, exports, __webpack_require__) {
  1197. "use strict";
  1198. var LIBRARY = __webpack_require__("b8e3");
  1199. var $export = __webpack_require__("63b6");
  1200. var redefine = __webpack_require__("9138");
  1201. var hide = __webpack_require__("35e8");
  1202. var Iterators = __webpack_require__("481b");
  1203. var $iterCreate = __webpack_require__("8f60");
  1204. var setToStringTag = __webpack_require__("45f2");
  1205. var getPrototypeOf = __webpack_require__("53e2");
  1206. var ITERATOR = __webpack_require__("5168")('iterator');
  1207. var BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next`
  1208. var FF_ITERATOR = '@@iterator';
  1209. var KEYS = 'keys';
  1210. var VALUES = 'values';
  1211. var returnThis = function () { return this; };
  1212. module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) {
  1213. $iterCreate(Constructor, NAME, next);
  1214. var getMethod = function (kind) {
  1215. if (!BUGGY && kind in proto) return proto[kind];
  1216. switch (kind) {
  1217. case KEYS: return function keys() { return new Constructor(this, kind); };
  1218. case VALUES: return function values() { return new Constructor(this, kind); };
  1219. } return function entries() { return new Constructor(this, kind); };
  1220. };
  1221. var TAG = NAME + ' Iterator';
  1222. var DEF_VALUES = DEFAULT == VALUES;
  1223. var VALUES_BUG = false;
  1224. var proto = Base.prototype;
  1225. var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT];
  1226. var $default = $native || getMethod(DEFAULT);
  1227. var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined;
  1228. var $anyNative = NAME == 'Array' ? proto.entries || $native : $native;
  1229. var methods, key, IteratorPrototype;
  1230. // Fix native
  1231. if ($anyNative) {
  1232. IteratorPrototype = getPrototypeOf($anyNative.call(new Base()));
  1233. if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) {
  1234. // Set @@toStringTag to native iterators
  1235. setToStringTag(IteratorPrototype, TAG, true);
  1236. // fix for some old engines
  1237. if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis);
  1238. }
  1239. }
  1240. // fix Array#{values, @@iterator}.name in V8 / FF
  1241. if (DEF_VALUES && $native && $native.name !== VALUES) {
  1242. VALUES_BUG = true;
  1243. $default = function values() { return $native.call(this); };
  1244. }
  1245. // Define iterator
  1246. if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) {
  1247. hide(proto, ITERATOR, $default);
  1248. }
  1249. // Plug for library
  1250. Iterators[NAME] = $default;
  1251. Iterators[TAG] = returnThis;
  1252. if (DEFAULT) {
  1253. methods = {
  1254. values: DEF_VALUES ? $default : getMethod(VALUES),
  1255. keys: IS_SET ? $default : getMethod(KEYS),
  1256. entries: $entries
  1257. };
  1258. if (FORCED) for (key in methods) {
  1259. if (!(key in proto)) redefine(proto, key, methods[key]);
  1260. } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);
  1261. }
  1262. return methods;
  1263. };
  1264. /***/ }),
  1265. /***/ "32a6":
  1266. /***/ (function(module, exports, __webpack_require__) {
  1267. // 19.1.2.14 Object.keys(O)
  1268. var toObject = __webpack_require__("241e");
  1269. var $keys = __webpack_require__("c3a1");
  1270. __webpack_require__("ce7e")('keys', function () {
  1271. return function keys(it) {
  1272. return $keys(toObject(it));
  1273. };
  1274. });
  1275. /***/ }),
  1276. /***/ "32e9":
  1277. /***/ (function(module, exports, __webpack_require__) {
  1278. var dP = __webpack_require__("86cc");
  1279. var createDesc = __webpack_require__("4630");
  1280. module.exports = __webpack_require__("9e1e") ? function (object, key, value) {
  1281. return dP.f(object, key, createDesc(1, value));
  1282. } : function (object, key, value) {
  1283. object[key] = value;
  1284. return object;
  1285. };
  1286. /***/ }),
  1287. /***/ "32fc":
  1288. /***/ (function(module, exports, __webpack_require__) {
  1289. var document = __webpack_require__("e53d").document;
  1290. module.exports = document && document.documentElement;
  1291. /***/ }),
  1292. /***/ "335c":
  1293. /***/ (function(module, exports, __webpack_require__) {
  1294. // fallback for non-array-like ES3 and non-enumerable old V8 strings
  1295. var cof = __webpack_require__("6b4c");
  1296. // eslint-disable-next-line no-prototype-builtins
  1297. module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
  1298. return cof(it) == 'String' ? it.split('') : Object(it);
  1299. };
  1300. /***/ }),
  1301. /***/ "355d":
  1302. /***/ (function(module, exports) {
  1303. exports.f = {}.propertyIsEnumerable;
  1304. /***/ }),
  1305. /***/ "35e8":
  1306. /***/ (function(module, exports, __webpack_require__) {
  1307. var dP = __webpack_require__("d9f6");
  1308. var createDesc = __webpack_require__("aebd");
  1309. module.exports = __webpack_require__("8e60") ? function (object, key, value) {
  1310. return dP.f(object, key, createDesc(1, value));
  1311. } : function (object, key, value) {
  1312. object[key] = value;
  1313. return object;
  1314. };
  1315. /***/ }),
  1316. /***/ "36c3":
  1317. /***/ (function(module, exports, __webpack_require__) {
  1318. // to indexed object, toObject with fallback for non-array-like ES3 strings
  1319. var IObject = __webpack_require__("335c");
  1320. var defined = __webpack_require__("25eb");
  1321. module.exports = function (it) {
  1322. return IObject(defined(it));
  1323. };
  1324. /***/ }),
  1325. /***/ "3702":
  1326. /***/ (function(module, exports, __webpack_require__) {
  1327. // check on default Array iterator
  1328. var Iterators = __webpack_require__("481b");
  1329. var ITERATOR = __webpack_require__("5168")('iterator');
  1330. var ArrayProto = Array.prototype;
  1331. module.exports = function (it) {
  1332. return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it);
  1333. };
  1334. /***/ }),
  1335. /***/ "3a38":
  1336. /***/ (function(module, exports) {
  1337. // 7.1.4 ToInteger
  1338. var ceil = Math.ceil;
  1339. var floor = Math.floor;
  1340. module.exports = function (it) {
  1341. return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);
  1342. };
  1343. /***/ }),
  1344. /***/ "3c11":
  1345. /***/ (function(module, exports, __webpack_require__) {
  1346. "use strict";
  1347. // https://github.com/tc39/proposal-promise-finally
  1348. var $export = __webpack_require__("63b6");
  1349. var core = __webpack_require__("584a");
  1350. var global = __webpack_require__("e53d");
  1351. var speciesConstructor = __webpack_require__("f201");
  1352. var promiseResolve = __webpack_require__("cd78");
  1353. $export($export.P + $export.R, 'Promise', { 'finally': function (onFinally) {
  1354. var C = speciesConstructor(this, core.Promise || global.Promise);
  1355. var isFunction = typeof onFinally == 'function';
  1356. return this.then(
  1357. isFunction ? function (x) {
  1358. return promiseResolve(C, onFinally()).then(function () { return x; });
  1359. } : onFinally,
  1360. isFunction ? function (e) {
  1361. return promiseResolve(C, onFinally()).then(function () { throw e; });
  1362. } : onFinally
  1363. );
  1364. } });
  1365. /***/ }),
  1366. /***/ "40c3":
  1367. /***/ (function(module, exports, __webpack_require__) {
  1368. // getting tag from 19.1.3.6 Object.prototype.toString()
  1369. var cof = __webpack_require__("6b4c");
  1370. var TAG = __webpack_require__("5168")('toStringTag');
  1371. // ES3 wrong here
  1372. var ARG = cof(function () { return arguments; }()) == 'Arguments';
  1373. // fallback for IE11 Script Access Denied error
  1374. var tryGet = function (it, key) {
  1375. try {
  1376. return it[key];
  1377. } catch (e) { /* empty */ }
  1378. };
  1379. module.exports = function (it) {
  1380. var O, T, B;
  1381. return it === undefined ? 'Undefined' : it === null ? 'Null'
  1382. // @@toStringTag case
  1383. : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T
  1384. // builtinTag case
  1385. : ARG ? cof(O)
  1386. // ES3 arguments fallback
  1387. : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;
  1388. };
  1389. /***/ }),
  1390. /***/ "4178":
  1391. /***/ (function(module, exports, __webpack_require__) {
  1392. var ctx = __webpack_require__("d864");
  1393. var invoke = __webpack_require__("3024");
  1394. var html = __webpack_require__("32fc");
  1395. var cel = __webpack_require__("1ec9");
  1396. var global = __webpack_require__("e53d");
  1397. var process = global.process;
  1398. var setTask = global.setImmediate;
  1399. var clearTask = global.clearImmediate;
  1400. var MessageChannel = global.MessageChannel;
  1401. var Dispatch = global.Dispatch;
  1402. var counter = 0;
  1403. var queue = {};
  1404. var ONREADYSTATECHANGE = 'onreadystatechange';
  1405. var defer, channel, port;
  1406. var run = function () {
  1407. var id = +this;
  1408. // eslint-disable-next-line no-prototype-builtins
  1409. if (queue.hasOwnProperty(id)) {
  1410. var fn = queue[id];
  1411. delete queue[id];
  1412. fn();
  1413. }
  1414. };
  1415. var listener = function (event) {
  1416. run.call(event.data);
  1417. };
  1418. // Node.js 0.9+ & IE10+ has setImmediate, otherwise:
  1419. if (!setTask || !clearTask) {
  1420. setTask = function setImmediate(fn) {
  1421. var args = [];
  1422. var i = 1;
  1423. while (arguments.length > i) args.push(arguments[i++]);
  1424. queue[++counter] = function () {
  1425. // eslint-disable-next-line no-new-func
  1426. invoke(typeof fn == 'function' ? fn : Function(fn), args);
  1427. };
  1428. defer(counter);
  1429. return counter;
  1430. };
  1431. clearTask = function clearImmediate(id) {
  1432. delete queue[id];
  1433. };
  1434. // Node.js 0.8-
  1435. if (__webpack_require__("6b4c")(process) == 'process') {
  1436. defer = function (id) {
  1437. process.nextTick(ctx(run, id, 1));
  1438. };
  1439. // Sphere (JS game engine) Dispatch API
  1440. } else if (Dispatch && Dispatch.now) {
  1441. defer = function (id) {
  1442. Dispatch.now(ctx(run, id, 1));
  1443. };
  1444. // Browsers with MessageChannel, includes WebWorkers
  1445. } else if (MessageChannel) {
  1446. channel = new MessageChannel();
  1447. port = channel.port2;
  1448. channel.port1.onmessage = listener;
  1449. defer = ctx(port.postMessage, port, 1);
  1450. // Browsers with postMessage, skip WebWorkers
  1451. // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
  1452. } else if (global.addEventListener && typeof postMessage == 'function' && !global.importScripts) {
  1453. defer = function (id) {
  1454. global.postMessage(id + '', '*');
  1455. };
  1456. global.addEventListener('message', listener, false);
  1457. // IE8-
  1458. } else if (ONREADYSTATECHANGE in cel('script')) {
  1459. defer = function (id) {
  1460. html.appendChild(cel('script'))[ONREADYSTATECHANGE] = function () {
  1461. html.removeChild(this);
  1462. run.call(id);
  1463. };
  1464. };
  1465. // Rest old browsers
  1466. } else {
  1467. defer = function (id) {
  1468. setTimeout(ctx(run, id, 1), 0);
  1469. };
  1470. }
  1471. }
  1472. module.exports = {
  1473. set: setTask,
  1474. clear: clearTask
  1475. };
  1476. /***/ }),
  1477. /***/ "43fc":
  1478. /***/ (function(module, exports, __webpack_require__) {
  1479. "use strict";
  1480. // https://github.com/tc39/proposal-promise-try
  1481. var $export = __webpack_require__("63b6");
  1482. var newPromiseCapability = __webpack_require__("656e");
  1483. var perform = __webpack_require__("4439");
  1484. $export($export.S, 'Promise', { 'try': function (callbackfn) {
  1485. var promiseCapability = newPromiseCapability.f(this);
  1486. var result = perform(callbackfn);
  1487. (result.e ? promiseCapability.reject : promiseCapability.resolve)(result.v);
  1488. return promiseCapability.promise;
  1489. } });
  1490. /***/ }),
  1491. /***/ "4439":
  1492. /***/ (function(module, exports) {
  1493. module.exports = function (exec) {
  1494. try {
  1495. return { e: false, v: exec() };
  1496. } catch (e) {
  1497. return { e: true, v: e };
  1498. }
  1499. };
  1500. /***/ }),
  1501. /***/ "4588":
  1502. /***/ (function(module, exports) {
  1503. // 7.1.4 ToInteger
  1504. var ceil = Math.ceil;
  1505. var floor = Math.floor;
  1506. module.exports = function (it) {
  1507. return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);
  1508. };
  1509. /***/ }),
  1510. /***/ "45f2":
  1511. /***/ (function(module, exports, __webpack_require__) {
  1512. var def = __webpack_require__("d9f6").f;
  1513. var has = __webpack_require__("07e3");
  1514. var TAG = __webpack_require__("5168")('toStringTag');
  1515. module.exports = function (it, tag, stat) {
  1516. if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag });
  1517. };
  1518. /***/ }),
  1519. /***/ "4630":
  1520. /***/ (function(module, exports) {
  1521. module.exports = function (bitmap, value) {
  1522. return {
  1523. enumerable: !(bitmap & 1),
  1524. configurable: !(bitmap & 2),
  1525. writable: !(bitmap & 4),
  1526. value: value
  1527. };
  1528. };
  1529. /***/ }),
  1530. /***/ "469f":
  1531. /***/ (function(module, exports, __webpack_require__) {
  1532. __webpack_require__("6c1c");
  1533. __webpack_require__("1654");
  1534. module.exports = __webpack_require__("7d7b");
  1535. /***/ }),
  1536. /***/ "47ee":
  1537. /***/ (function(module, exports, __webpack_require__) {
  1538. // all enumerable object keys, includes symbols
  1539. var getKeys = __webpack_require__("c3a1");
  1540. var gOPS = __webpack_require__("9aa9");
  1541. var pIE = __webpack_require__("355d");
  1542. module.exports = function (it) {
  1543. var result = getKeys(it);
  1544. var getSymbols = gOPS.f;
  1545. if (getSymbols) {
  1546. var symbols = getSymbols(it);
  1547. var isEnum = pIE.f;
  1548. var i = 0;
  1549. var key;
  1550. while (symbols.length > i) if (isEnum.call(it, key = symbols[i++])) result.push(key);
  1551. } return result;
  1552. };
  1553. /***/ }),
  1554. /***/ "481b":
  1555. /***/ (function(module, exports) {
  1556. module.exports = {};
  1557. /***/ }),
  1558. /***/ "4917":
  1559. /***/ (function(module, exports, __webpack_require__) {
  1560. "use strict";
  1561. var anObject = __webpack_require__("cb7c");
  1562. var toLength = __webpack_require__("9def");
  1563. var advanceStringIndex = __webpack_require__("0390");
  1564. var regExpExec = __webpack_require__("5f1b");
  1565. // @@match logic
  1566. __webpack_require__("214f")('match', 1, function (defined, MATCH, $match, maybeCallNative) {
  1567. return [
  1568. // `String.prototype.match` method
  1569. // https://tc39.github.io/ecma262/#sec-string.prototype.match
  1570. function match(regexp) {
  1571. var O = defined(this);
  1572. var fn = regexp == undefined ? undefined : regexp[MATCH];
  1573. return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[MATCH](String(O));
  1574. },
  1575. // `RegExp.prototype[@@match]` method
  1576. // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@match
  1577. function (regexp) {
  1578. var res = maybeCallNative($match, regexp, this);
  1579. if (res.done) return res.value;
  1580. var rx = anObject(regexp);
  1581. var S = String(this);
  1582. if (!rx.global) return regExpExec(rx, S);
  1583. var fullUnicode = rx.unicode;
  1584. rx.lastIndex = 0;
  1585. var A = [];
  1586. var n = 0;
  1587. var result;
  1588. while ((result = regExpExec(rx, S)) !== null) {
  1589. var matchStr = String(result[0]);
  1590. A[n] = matchStr;
  1591. if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);
  1592. n++;
  1593. }
  1594. return n === 0 ? null : A;
  1595. }
  1596. ];
  1597. });
  1598. /***/ }),
  1599. /***/ "4aa6":
  1600. /***/ (function(module, exports, __webpack_require__) {
  1601. module.exports = __webpack_require__("dc62");
  1602. /***/ }),
  1603. /***/ "4bf8":
  1604. /***/ (function(module, exports, __webpack_require__) {
  1605. // 7.1.13 ToObject(argument)
  1606. var defined = __webpack_require__("be13");
  1607. module.exports = function (it) {
  1608. return Object(defined(it));
  1609. };
  1610. /***/ }),
  1611. /***/ "4c95":
  1612. /***/ (function(module, exports, __webpack_require__) {
  1613. "use strict";
  1614. var global = __webpack_require__("e53d");
  1615. var core = __webpack_require__("584a");
  1616. var dP = __webpack_require__("d9f6");
  1617. var DESCRIPTORS = __webpack_require__("8e60");
  1618. var SPECIES = __webpack_require__("5168")('species');
  1619. module.exports = function (KEY) {
  1620. var C = typeof core[KEY] == 'function' ? core[KEY] : global[KEY];
  1621. if (DESCRIPTORS && C && !C[SPECIES]) dP.f(C, SPECIES, {
  1622. configurable: true,
  1623. get: function () { return this; }
  1624. });
  1625. };
  1626. /***/ }),
  1627. /***/ "4ee1":
  1628. /***/ (function(module, exports, __webpack_require__) {
  1629. var ITERATOR = __webpack_require__("5168")('iterator');
  1630. var SAFE_CLOSING = false;
  1631. try {
  1632. var riter = [7][ITERATOR]();
  1633. riter['return'] = function () { SAFE_CLOSING = true; };
  1634. // eslint-disable-next-line no-throw-literal
  1635. Array.from(riter, function () { throw 2; });
  1636. } catch (e) { /* empty */ }
  1637. module.exports = function (exec, skipClosing) {
  1638. if (!skipClosing && !SAFE_CLOSING) return false;
  1639. var safe = false;
  1640. try {
  1641. var arr = [7];
  1642. var iter = arr[ITERATOR]();
  1643. iter.next = function () { return { done: safe = true }; };
  1644. arr[ITERATOR] = function () { return iter; };
  1645. exec(arr);
  1646. } catch (e) { /* empty */ }
  1647. return safe;
  1648. };
  1649. /***/ }),
  1650. /***/ "50ed":
  1651. /***/ (function(module, exports) {
  1652. module.exports = function (done, value) {
  1653. return { value: value, done: !!done };
  1654. };
  1655. /***/ }),
  1656. /***/ "5168":
  1657. /***/ (function(module, exports, __webpack_require__) {
  1658. var store = __webpack_require__("dbdb")('wks');
  1659. var uid = __webpack_require__("62a0");
  1660. var Symbol = __webpack_require__("e53d").Symbol;
  1661. var USE_SYMBOL = typeof Symbol == 'function';
  1662. var $exports = module.exports = function (name) {
  1663. return store[name] || (store[name] =
  1664. USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));
  1665. };
  1666. $exports.store = store;
  1667. /***/ }),
  1668. /***/ "5176":
  1669. /***/ (function(module, exports, __webpack_require__) {
  1670. module.exports = __webpack_require__("51b6");
  1671. /***/ }),
  1672. /***/ "51b6":
  1673. /***/ (function(module, exports, __webpack_require__) {
  1674. __webpack_require__("a3c3");
  1675. module.exports = __webpack_require__("584a").Object.assign;
  1676. /***/ }),
  1677. /***/ "520a":
  1678. /***/ (function(module, exports, __webpack_require__) {
  1679. "use strict";
  1680. var regexpFlags = __webpack_require__("0bfb");
  1681. var nativeExec = RegExp.prototype.exec;
  1682. // This always refers to the native implementation, because the
  1683. // String#replace polyfill uses ./fix-regexp-well-known-symbol-logic.js,
  1684. // which loads this file before patching the method.
  1685. var nativeReplace = String.prototype.replace;
  1686. var patchedExec = nativeExec;
  1687. var LAST_INDEX = 'lastIndex';
  1688. var UPDATES_LAST_INDEX_WRONG = (function () {
  1689. var re1 = /a/,
  1690. re2 = /b*/g;
  1691. nativeExec.call(re1, 'a');
  1692. nativeExec.call(re2, 'a');
  1693. return re1[LAST_INDEX] !== 0 || re2[LAST_INDEX] !== 0;
  1694. })();
  1695. // nonparticipating capturing group, copied from es5-shim's String#split patch.
  1696. var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;
  1697. var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED;
  1698. if (PATCH) {
  1699. patchedExec = function exec(str) {
  1700. var re = this;
  1701. var lastIndex, reCopy, match, i;
  1702. if (NPCG_INCLUDED) {
  1703. reCopy = new RegExp('^' + re.source + '$(?!\\s)', regexpFlags.call(re));
  1704. }
  1705. if (UPDATES_LAST_INDEX_WRONG) lastIndex = re[LAST_INDEX];
  1706. match = nativeExec.call(re, str);
  1707. if (UPDATES_LAST_INDEX_WRONG && match) {
  1708. re[LAST_INDEX] = re.global ? match.index + match[0].length : lastIndex;
  1709. }
  1710. if (NPCG_INCLUDED && match && match.length > 1) {
  1711. // Fix browsers whose `exec` methods don't consistently return `undefined`
  1712. // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/
  1713. // eslint-disable-next-line no-loop-func
  1714. nativeReplace.call(match[0], reCopy, function () {
  1715. for (i = 1; i < arguments.length - 2; i++) {
  1716. if (arguments[i] === undefined) match[i] = undefined;
  1717. }
  1718. });
  1719. }
  1720. return match;
  1721. };
  1722. }
  1723. module.exports = patchedExec;
  1724. /***/ }),
  1725. /***/ "53e2":
  1726. /***/ (function(module, exports, __webpack_require__) {
  1727. // 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)
  1728. var has = __webpack_require__("07e3");
  1729. var toObject = __webpack_require__("241e");
  1730. var IE_PROTO = __webpack_require__("5559")('IE_PROTO');
  1731. var ObjectProto = Object.prototype;
  1732. module.exports = Object.getPrototypeOf || function (O) {
  1733. O = toObject(O);
  1734. if (has(O, IE_PROTO)) return O[IE_PROTO];
  1735. if (typeof O.constructor == 'function' && O instanceof O.constructor) {
  1736. return O.constructor.prototype;
  1737. } return O instanceof Object ? ObjectProto : null;
  1738. };
  1739. /***/ }),
  1740. /***/ "5537":
  1741. /***/ (function(module, exports, __webpack_require__) {
  1742. var core = __webpack_require__("8378");
  1743. var global = __webpack_require__("7726");
  1744. var SHARED = '__core-js_shared__';
  1745. var store = global[SHARED] || (global[SHARED] = {});
  1746. (module.exports = function (key, value) {
  1747. return store[key] || (store[key] = value !== undefined ? value : {});
  1748. })('versions', []).push({
  1749. version: core.version,
  1750. mode: __webpack_require__("2d00") ? 'pure' : 'global',
  1751. copyright: '© 2019 Denis Pushkarev (zloirock.ru)'
  1752. });
  1753. /***/ }),
  1754. /***/ "5559":
  1755. /***/ (function(module, exports, __webpack_require__) {
  1756. var shared = __webpack_require__("dbdb")('keys');
  1757. var uid = __webpack_require__("62a0");
  1758. module.exports = function (key) {
  1759. return shared[key] || (shared[key] = uid(key));
  1760. };
  1761. /***/ }),
  1762. /***/ "584a":
  1763. /***/ (function(module, exports) {
  1764. var core = module.exports = { version: '2.6.5' };
  1765. if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef
  1766. /***/ }),
  1767. /***/ "5b4e":
  1768. /***/ (function(module, exports, __webpack_require__) {
  1769. // false -> Array#indexOf
  1770. // true -> Array#includes
  1771. var toIObject = __webpack_require__("36c3");
  1772. var toLength = __webpack_require__("b447");
  1773. var toAbsoluteIndex = __webpack_require__("0fc9");
  1774. module.exports = function (IS_INCLUDES) {
  1775. return function ($this, el, fromIndex) {
  1776. var O = toIObject($this);
  1777. var length = toLength(O.length);
  1778. var index = toAbsoluteIndex(fromIndex, length);
  1779. var value;
  1780. // Array#includes uses SameValueZero equality algorithm
  1781. // eslint-disable-next-line no-self-compare
  1782. if (IS_INCLUDES && el != el) while (length > index) {
  1783. value = O[index++];
  1784. // eslint-disable-next-line no-self-compare
  1785. if (value != value) return true;
  1786. // Array#indexOf ignores holes, Array#includes - not
  1787. } else for (;length > index; index++) if (IS_INCLUDES || index in O) {
  1788. if (O[index] === el) return IS_INCLUDES || index || 0;
  1789. } return !IS_INCLUDES && -1;
  1790. };
  1791. };
  1792. /***/ }),
  1793. /***/ "5c95":
  1794. /***/ (function(module, exports, __webpack_require__) {
  1795. var hide = __webpack_require__("35e8");
  1796. module.exports = function (target, src, safe) {
  1797. for (var key in src) {
  1798. if (safe && target[key]) target[key] = src[key];
  1799. else hide(target, key, src[key]);
  1800. } return target;
  1801. };
  1802. /***/ }),
  1803. /***/ "5ca1":
  1804. /***/ (function(module, exports, __webpack_require__) {
  1805. var global = __webpack_require__("7726");
  1806. var core = __webpack_require__("8378");
  1807. var hide = __webpack_require__("32e9");
  1808. var redefine = __webpack_require__("2aba");
  1809. var ctx = __webpack_require__("9b43");
  1810. var PROTOTYPE = 'prototype';
  1811. var $export = function (type, name, source) {
  1812. var IS_FORCED = type & $export.F;
  1813. var IS_GLOBAL = type & $export.G;
  1814. var IS_STATIC = type & $export.S;
  1815. var IS_PROTO = type & $export.P;
  1816. var IS_BIND = type & $export.B;
  1817. var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE];
  1818. var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});
  1819. var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {});
  1820. var key, own, out, exp;
  1821. if (IS_GLOBAL) source = name;
  1822. for (key in source) {
  1823. // contains in native
  1824. own = !IS_FORCED && target && target[key] !== undefined;
  1825. // export native or passed
  1826. out = (own ? target : source)[key];
  1827. // bind timers to global for call from export context
  1828. exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;
  1829. // extend global
  1830. if (target) redefine(target, key, out, type & $export.U);
  1831. // export
  1832. if (exports[key] != out) hide(exports, key, exp);
  1833. if (IS_PROTO && expProto[key] != out) expProto[key] = out;
  1834. }
  1835. };
  1836. global.core = core;
  1837. // type bitmap
  1838. $export.F = 1; // forced
  1839. $export.G = 2; // global
  1840. $export.S = 4; // static
  1841. $export.P = 8; // proto
  1842. $export.B = 16; // bind
  1843. $export.W = 32; // wrap
  1844. $export.U = 64; // safe
  1845. $export.R = 128; // real proto method for `library`
  1846. module.exports = $export;
  1847. /***/ }),
  1848. /***/ "5d58":
  1849. /***/ (function(module, exports, __webpack_require__) {
  1850. module.exports = __webpack_require__("d8d6");
  1851. /***/ }),
  1852. /***/ "5d73":
  1853. /***/ (function(module, exports, __webpack_require__) {
  1854. module.exports = __webpack_require__("469f");
  1855. /***/ }),
  1856. /***/ "5f1b":
  1857. /***/ (function(module, exports, __webpack_require__) {
  1858. "use strict";
  1859. var classof = __webpack_require__("23c6");
  1860. var builtinExec = RegExp.prototype.exec;
  1861. // `RegExpExec` abstract operation
  1862. // https://tc39.github.io/ecma262/#sec-regexpexec
  1863. module.exports = function (R, S) {
  1864. var exec = R.exec;
  1865. if (typeof exec === 'function') {
  1866. var result = exec.call(R, S);
  1867. if (typeof result !== 'object') {
  1868. throw new TypeError('RegExp exec method returned something other than an Object or null');
  1869. }
  1870. return result;
  1871. }
  1872. if (classof(R) !== 'RegExp') {
  1873. throw new TypeError('RegExp#exec called on incompatible receiver');
  1874. }
  1875. return builtinExec.call(R, S);
  1876. };
  1877. /***/ }),
  1878. /***/ "626a":
  1879. /***/ (function(module, exports, __webpack_require__) {
  1880. // fallback for non-array-like ES3 and non-enumerable old V8 strings
  1881. var cof = __webpack_require__("2d95");
  1882. // eslint-disable-next-line no-prototype-builtins
  1883. module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
  1884. return cof(it) == 'String' ? it.split('') : Object(it);
  1885. };
  1886. /***/ }),
  1887. /***/ "62a0":
  1888. /***/ (function(module, exports) {
  1889. var id = 0;
  1890. var px = Math.random();
  1891. module.exports = function (key) {
  1892. return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));
  1893. };
  1894. /***/ }),
  1895. /***/ "63b6":
  1896. /***/ (function(module, exports, __webpack_require__) {
  1897. var global = __webpack_require__("e53d");
  1898. var core = __webpack_require__("584a");
  1899. var ctx = __webpack_require__("d864");
  1900. var hide = __webpack_require__("35e8");
  1901. var has = __webpack_require__("07e3");
  1902. var PROTOTYPE = 'prototype';
  1903. var $export = function (type, name, source) {
  1904. var IS_FORCED = type & $export.F;
  1905. var IS_GLOBAL = type & $export.G;
  1906. var IS_STATIC = type & $export.S;
  1907. var IS_PROTO = type & $export.P;
  1908. var IS_BIND = type & $export.B;
  1909. var IS_WRAP = type & $export.W;
  1910. var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});
  1911. var expProto = exports[PROTOTYPE];
  1912. var target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE];
  1913. var key, own, out;
  1914. if (IS_GLOBAL) source = name;
  1915. for (key in source) {
  1916. // contains in native
  1917. own = !IS_FORCED && target && target[key] !== undefined;
  1918. if (own && has(exports, key)) continue;
  1919. // export native or passed
  1920. out = own ? target[key] : source[key];
  1921. // prevent global pollution for namespaces
  1922. exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key]
  1923. // bind timers to global for call from export context
  1924. : IS_BIND && own ? ctx(out, global)
  1925. // wrap global constructors for prevent change them in library
  1926. : IS_WRAP && target[key] == out ? (function (C) {
  1927. var F = function (a, b, c) {
  1928. if (this instanceof C) {
  1929. switch (arguments.length) {
  1930. case 0: return new C();
  1931. case 1: return new C(a);
  1932. case 2: return new C(a, b);
  1933. } return new C(a, b, c);
  1934. } return C.apply(this, arguments);
  1935. };
  1936. F[PROTOTYPE] = C[PROTOTYPE];
  1937. return F;
  1938. // make static versions for prototype methods
  1939. })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;
  1940. // export proto methods to core.%CONSTRUCTOR%.methods.%NAME%
  1941. if (IS_PROTO) {
  1942. (exports.virtual || (exports.virtual = {}))[key] = out;
  1943. // export proto methods to core.%CONSTRUCTOR%.prototype.%NAME%
  1944. if (type & $export.R && expProto && !expProto[key]) hide(expProto, key, out);
  1945. }
  1946. }
  1947. };
  1948. // type bitmap
  1949. $export.F = 1; // forced
  1950. $export.G = 2; // global
  1951. $export.S = 4; // static
  1952. $export.P = 8; // proto
  1953. $export.B = 16; // bind
  1954. $export.W = 32; // wrap
  1955. $export.U = 64; // safe
  1956. $export.R = 128; // real proto method for `library`
  1957. module.exports = $export;
  1958. /***/ }),
  1959. /***/ "656e":
  1960. /***/ (function(module, exports, __webpack_require__) {
  1961. "use strict";
  1962. // 25.4.1.5 NewPromiseCapability(C)
  1963. var aFunction = __webpack_require__("79aa");
  1964. function PromiseCapability(C) {
  1965. var resolve, reject;
  1966. this.promise = new C(function ($$resolve, $$reject) {
  1967. if (resolve !== undefined || reject !== undefined) throw TypeError('Bad Promise constructor');
  1968. resolve = $$resolve;
  1969. reject = $$reject;
  1970. });
  1971. this.resolve = aFunction(resolve);
  1972. this.reject = aFunction(reject);
  1973. }
  1974. module.exports.f = function (C) {
  1975. return new PromiseCapability(C);
  1976. };
  1977. /***/ }),
  1978. /***/ "6718":
  1979. /***/ (function(module, exports, __webpack_require__) {
  1980. var global = __webpack_require__("e53d");
  1981. var core = __webpack_require__("584a");
  1982. var LIBRARY = __webpack_require__("b8e3");
  1983. var wksExt = __webpack_require__("ccb9");
  1984. var defineProperty = __webpack_require__("d9f6").f;
  1985. module.exports = function (name) {
  1986. var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {});
  1987. if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty($Symbol, name, { value: wksExt.f(name) });
  1988. };
  1989. /***/ }),
  1990. /***/ "67bb":
  1991. /***/ (function(module, exports, __webpack_require__) {
  1992. module.exports = __webpack_require__("f921");
  1993. /***/ }),
  1994. /***/ "696e":
  1995. /***/ (function(module, exports, __webpack_require__) {
  1996. __webpack_require__("c207");
  1997. __webpack_require__("1654");
  1998. __webpack_require__("6c1c");
  1999. __webpack_require__("24c5");
  2000. __webpack_require__("3c11");
  2001. __webpack_require__("43fc");
  2002. module.exports = __webpack_require__("584a").Promise;
  2003. /***/ }),
  2004. /***/ "69a8":
  2005. /***/ (function(module, exports) {
  2006. var hasOwnProperty = {}.hasOwnProperty;
  2007. module.exports = function (it, key) {
  2008. return hasOwnProperty.call(it, key);
  2009. };
  2010. /***/ }),
  2011. /***/ "69d3":
  2012. /***/ (function(module, exports, __webpack_require__) {
  2013. __webpack_require__("6718")('asyncIterator');
  2014. /***/ }),
  2015. /***/ "6a99":
  2016. /***/ (function(module, exports, __webpack_require__) {
  2017. // 7.1.1 ToPrimitive(input [, PreferredType])
  2018. var isObject = __webpack_require__("d3f4");
  2019. // instead of the ES6 spec version, we didn't implement @@toPrimitive case
  2020. // and the second argument - flag - preferred type is a string
  2021. module.exports = function (it, S) {
  2022. if (!isObject(it)) return it;
  2023. var fn, val;
  2024. if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
  2025. if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;
  2026. if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
  2027. throw TypeError("Can't convert object to primitive value");
  2028. };
  2029. /***/ }),
  2030. /***/ "6abf":
  2031. /***/ (function(module, exports, __webpack_require__) {
  2032. // 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)
  2033. var $keys = __webpack_require__("e6f3");
  2034. var hiddenKeys = __webpack_require__("1691").concat('length', 'prototype');
  2035. exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
  2036. return $keys(O, hiddenKeys);
  2037. };
  2038. /***/ }),
  2039. /***/ "6b4c":
  2040. /***/ (function(module, exports) {
  2041. var toString = {}.toString;
  2042. module.exports = function (it) {
  2043. return toString.call(it).slice(8, -1);
  2044. };
  2045. /***/ }),
  2046. /***/ "6c1c":
  2047. /***/ (function(module, exports, __webpack_require__) {
  2048. __webpack_require__("c367");
  2049. var global = __webpack_require__("e53d");
  2050. var hide = __webpack_require__("35e8");
  2051. var Iterators = __webpack_require__("481b");
  2052. var TO_STRING_TAG = __webpack_require__("5168")('toStringTag');
  2053. var DOMIterables = ('CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,' +
  2054. 'DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,' +
  2055. 'MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,' +
  2056. 'SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,' +
  2057. 'TextTrackList,TouchList').split(',');
  2058. for (var i = 0; i < DOMIterables.length; i++) {
  2059. var NAME = DOMIterables[i];
  2060. var Collection = global[NAME];
  2061. var proto = Collection && Collection.prototype;
  2062. if (proto && !proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME);
  2063. Iterators[NAME] = Iterators.Array;
  2064. }
  2065. /***/ }),
  2066. /***/ "71c1":
  2067. /***/ (function(module, exports, __webpack_require__) {
  2068. var toInteger = __webpack_require__("3a38");
  2069. var defined = __webpack_require__("25eb");
  2070. // true -> String#at
  2071. // false -> String#codePointAt
  2072. module.exports = function (TO_STRING) {
  2073. return function (that, pos) {
  2074. var s = String(defined(that));
  2075. var i = toInteger(pos);
  2076. var l = s.length;
  2077. var a, b;
  2078. if (i < 0 || i >= l) return TO_STRING ? '' : undefined;
  2079. a = s.charCodeAt(i);
  2080. return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff
  2081. ? TO_STRING ? s.charAt(i) : a
  2082. : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;
  2083. };
  2084. };
  2085. /***/ }),
  2086. /***/ "7514":
  2087. /***/ (function(module, exports, __webpack_require__) {
  2088. "use strict";
  2089. // 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined)
  2090. var $export = __webpack_require__("5ca1");
  2091. var $find = __webpack_require__("0a49")(5);
  2092. var KEY = 'find';
  2093. var forced = true;
  2094. // Shouldn't skip holes
  2095. if (KEY in []) Array(1)[KEY](function () { forced = false; });
  2096. $export($export.P + $export.F * forced, 'Array', {
  2097. find: function find(callbackfn /* , that = undefined */) {
  2098. return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
  2099. }
  2100. });
  2101. __webpack_require__("9c6c")(KEY);
  2102. /***/ }),
  2103. /***/ "765d":
  2104. /***/ (function(module, exports, __webpack_require__) {
  2105. __webpack_require__("6718")('observable');
  2106. /***/ }),
  2107. /***/ "7726":
  2108. /***/ (function(module, exports) {
  2109. // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
  2110. var global = module.exports = typeof window != 'undefined' && window.Math == Math
  2111. ? window : typeof self != 'undefined' && self.Math == Math ? self
  2112. // eslint-disable-next-line no-new-func
  2113. : Function('return this')();
  2114. if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef
  2115. /***/ }),
  2116. /***/ "794b":
  2117. /***/ (function(module, exports, __webpack_require__) {
  2118. module.exports = !__webpack_require__("8e60") && !__webpack_require__("294c")(function () {
  2119. return Object.defineProperty(__webpack_require__("1ec9")('div'), 'a', { get: function () { return 7; } }).a != 7;
  2120. });
  2121. /***/ }),
  2122. /***/ "795b":
  2123. /***/ (function(module, exports, __webpack_require__) {
  2124. module.exports = __webpack_require__("696e");
  2125. /***/ }),
  2126. /***/ "79aa":
  2127. /***/ (function(module, exports) {
  2128. module.exports = function (it) {
  2129. if (typeof it != 'function') throw TypeError(it + ' is not a function!');
  2130. return it;
  2131. };
  2132. /***/ }),
  2133. /***/ "79e5":
  2134. /***/ (function(module, exports) {
  2135. module.exports = function (exec) {
  2136. try {
  2137. return !!exec();
  2138. } catch (e) {
  2139. return true;
  2140. }
  2141. };
  2142. /***/ }),
  2143. /***/ "7cd6":
  2144. /***/ (function(module, exports, __webpack_require__) {
  2145. var classof = __webpack_require__("40c3");
  2146. var ITERATOR = __webpack_require__("5168")('iterator');
  2147. var Iterators = __webpack_require__("481b");
  2148. module.exports = __webpack_require__("584a").getIteratorMethod = function (it) {
  2149. if (it != undefined) return it[ITERATOR]
  2150. || it['@@iterator']
  2151. || Iterators[classof(it)];
  2152. };
  2153. /***/ }),
  2154. /***/ "7d7b":
  2155. /***/ (function(module, exports, __webpack_require__) {
  2156. var anObject = __webpack_require__("e4ae");
  2157. var get = __webpack_require__("7cd6");
  2158. module.exports = __webpack_require__("584a").getIterator = function (it) {
  2159. var iterFn = get(it);
  2160. if (typeof iterFn != 'function') throw TypeError(it + ' is not iterable!');
  2161. return anObject(iterFn.call(it));
  2162. };
  2163. /***/ }),
  2164. /***/ "7e90":
  2165. /***/ (function(module, exports, __webpack_require__) {
  2166. var dP = __webpack_require__("d9f6");
  2167. var anObject = __webpack_require__("e4ae");
  2168. var getKeys = __webpack_require__("c3a1");
  2169. module.exports = __webpack_require__("8e60") ? Object.defineProperties : function defineProperties(O, Properties) {
  2170. anObject(O);
  2171. var keys = getKeys(Properties);
  2172. var length = keys.length;
  2173. var i = 0;
  2174. var P;
  2175. while (length > i) dP.f(O, P = keys[i++], Properties[P]);
  2176. return O;
  2177. };
  2178. /***/ }),
  2179. /***/ "7f7f":
  2180. /***/ (function(module, exports, __webpack_require__) {
  2181. var dP = __webpack_require__("86cc").f;
  2182. var FProto = Function.prototype;
  2183. var nameRE = /^\s*function ([^ (]*)/;
  2184. var NAME = 'name';
  2185. // 19.2.4.2 name
  2186. NAME in FProto || __webpack_require__("9e1e") && dP(FProto, NAME, {
  2187. configurable: true,
  2188. get: function () {
  2189. try {
  2190. return ('' + this).match(nameRE)[1];
  2191. } catch (e) {
  2192. return '';
  2193. }
  2194. }
  2195. });
  2196. /***/ }),
  2197. /***/ "8378":
  2198. /***/ (function(module, exports) {
  2199. var core = module.exports = { version: '2.6.5' };
  2200. if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef
  2201. /***/ }),
  2202. /***/ "8436":
  2203. /***/ (function(module, exports) {
  2204. module.exports = function () { /* empty */ };
  2205. /***/ }),
  2206. /***/ "86cc":
  2207. /***/ (function(module, exports, __webpack_require__) {
  2208. var anObject = __webpack_require__("cb7c");
  2209. var IE8_DOM_DEFINE = __webpack_require__("c69a");
  2210. var toPrimitive = __webpack_require__("6a99");
  2211. var dP = Object.defineProperty;
  2212. exports.f = __webpack_require__("9e1e") ? Object.defineProperty : function defineProperty(O, P, Attributes) {
  2213. anObject(O);
  2214. P = toPrimitive(P, true);
  2215. anObject(Attributes);
  2216. if (IE8_DOM_DEFINE) try {
  2217. return dP(O, P, Attributes);
  2218. } catch (e) { /* empty */ }
  2219. if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');
  2220. if ('value' in Attributes) O[P] = Attributes.value;
  2221. return O;
  2222. };
  2223. /***/ }),
  2224. /***/ "8880":
  2225. /***/ (function(module, exports, __webpack_require__) {
  2226. // extracted by mini-css-extract-plugin
  2227. /***/ }),
  2228. /***/ "8aae":
  2229. /***/ (function(module, exports, __webpack_require__) {
  2230. __webpack_require__("32a6");
  2231. module.exports = __webpack_require__("584a").Object.keys;
  2232. /***/ }),
  2233. /***/ "8bbf":
  2234. /***/ (function(module, exports) {
  2235. module.exports = require("vue");
  2236. /***/ }),
  2237. /***/ "8e60":
  2238. /***/ (function(module, exports, __webpack_require__) {
  2239. // Thank's IE8 for his funny defineProperty
  2240. module.exports = !__webpack_require__("294c")(function () {
  2241. return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
  2242. });
  2243. /***/ }),
  2244. /***/ "8f60":
  2245. /***/ (function(module, exports, __webpack_require__) {
  2246. "use strict";
  2247. var create = __webpack_require__("a159");
  2248. var descriptor = __webpack_require__("aebd");
  2249. var setToStringTag = __webpack_require__("45f2");
  2250. var IteratorPrototype = {};
  2251. // 25.1.2.1.1 %IteratorPrototype%[@@iterator]()
  2252. __webpack_require__("35e8")(IteratorPrototype, __webpack_require__("5168")('iterator'), function () { return this; });
  2253. module.exports = function (Constructor, NAME, next) {
  2254. Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) });
  2255. setToStringTag(Constructor, NAME + ' Iterator');
  2256. };
  2257. /***/ }),
  2258. /***/ "9003":
  2259. /***/ (function(module, exports, __webpack_require__) {
  2260. // 7.2.2 IsArray(argument)
  2261. var cof = __webpack_require__("6b4c");
  2262. module.exports = Array.isArray || function isArray(arg) {
  2263. return cof(arg) == 'Array';
  2264. };
  2265. /***/ }),
  2266. /***/ "9138":
  2267. /***/ (function(module, exports, __webpack_require__) {
  2268. module.exports = __webpack_require__("35e8");
  2269. /***/ }),
  2270. /***/ "9306":
  2271. /***/ (function(module, exports, __webpack_require__) {
  2272. "use strict";
  2273. // 19.1.2.1 Object.assign(target, source, ...)
  2274. var getKeys = __webpack_require__("c3a1");
  2275. var gOPS = __webpack_require__("9aa9");
  2276. var pIE = __webpack_require__("355d");
  2277. var toObject = __webpack_require__("241e");
  2278. var IObject = __webpack_require__("335c");
  2279. var $assign = Object.assign;
  2280. // should work with symbols and should have deterministic property order (V8 bug)
  2281. module.exports = !$assign || __webpack_require__("294c")(function () {
  2282. var A = {};
  2283. var B = {};
  2284. // eslint-disable-next-line no-undef
  2285. var S = Symbol();
  2286. var K = 'abcdefghijklmnopqrst';
  2287. A[S] = 7;
  2288. K.split('').forEach(function (k) { B[k] = k; });
  2289. return $assign({}, A)[S] != 7 || Object.keys($assign({}, B)).join('') != K;
  2290. }) ? function assign(target, source) { // eslint-disable-line no-unused-vars
  2291. var T = toObject(target);
  2292. var aLen = arguments.length;
  2293. var index = 1;
  2294. var getSymbols = gOPS.f;
  2295. var isEnum = pIE.f;
  2296. while (aLen > index) {
  2297. var S = IObject(arguments[index++]);
  2298. var keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S);
  2299. var length = keys.length;
  2300. var j = 0;
  2301. var key;
  2302. while (length > j) if (isEnum.call(S, key = keys[j++])) T[key] = S[key];
  2303. } return T;
  2304. } : $assign;
  2305. /***/ }),
  2306. /***/ "9427":
  2307. /***/ (function(module, exports, __webpack_require__) {
  2308. var $export = __webpack_require__("63b6");
  2309. // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
  2310. $export($export.S, 'Object', { create: __webpack_require__("a159") });
  2311. /***/ }),
  2312. /***/ "9aa9":
  2313. /***/ (function(module, exports) {
  2314. exports.f = Object.getOwnPropertySymbols;
  2315. /***/ }),
  2316. /***/ "9b43":
  2317. /***/ (function(module, exports, __webpack_require__) {
  2318. // optional / simple context binding
  2319. var aFunction = __webpack_require__("d8e8");
  2320. module.exports = function (fn, that, length) {
  2321. aFunction(fn);
  2322. if (that === undefined) return fn;
  2323. switch (length) {
  2324. case 1: return function (a) {
  2325. return fn.call(that, a);
  2326. };
  2327. case 2: return function (a, b) {
  2328. return fn.call(that, a, b);
  2329. };
  2330. case 3: return function (a, b, c) {
  2331. return fn.call(that, a, b, c);
  2332. };
  2333. }
  2334. return function (/* ...args */) {
  2335. return fn.apply(that, arguments);
  2336. };
  2337. };
  2338. /***/ }),
  2339. /***/ "9c6c":
  2340. /***/ (function(module, exports, __webpack_require__) {
  2341. // 22.1.3.31 Array.prototype[@@unscopables]
  2342. var UNSCOPABLES = __webpack_require__("2b4c")('unscopables');
  2343. var ArrayProto = Array.prototype;
  2344. if (ArrayProto[UNSCOPABLES] == undefined) __webpack_require__("32e9")(ArrayProto, UNSCOPABLES, {});
  2345. module.exports = function (key) {
  2346. ArrayProto[UNSCOPABLES][key] = true;
  2347. };
  2348. /***/ }),
  2349. /***/ "9def":
  2350. /***/ (function(module, exports, __webpack_require__) {
  2351. // 7.1.15 ToLength
  2352. var toInteger = __webpack_require__("4588");
  2353. var min = Math.min;
  2354. module.exports = function (it) {
  2355. return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991
  2356. };
  2357. /***/ }),
  2358. /***/ "9e1e":
  2359. /***/ (function(module, exports, __webpack_require__) {
  2360. // Thank's IE8 for his funny defineProperty
  2361. module.exports = !__webpack_require__("79e5")(function () {
  2362. return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
  2363. });
  2364. /***/ }),
  2365. /***/ "a159":
  2366. /***/ (function(module, exports, __webpack_require__) {
  2367. // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
  2368. var anObject = __webpack_require__("e4ae");
  2369. var dPs = __webpack_require__("7e90");
  2370. var enumBugKeys = __webpack_require__("1691");
  2371. var IE_PROTO = __webpack_require__("5559")('IE_PROTO');
  2372. var Empty = function () { /* empty */ };
  2373. var PROTOTYPE = 'prototype';
  2374. // Create object with fake `null` prototype: use iframe Object with cleared prototype
  2375. var createDict = function () {
  2376. // Thrash, waste and sodomy: IE GC bug
  2377. var iframe = __webpack_require__("1ec9")('iframe');
  2378. var i = enumBugKeys.length;
  2379. var lt = '<';
  2380. var gt = '>';
  2381. var iframeDocument;
  2382. iframe.style.display = 'none';
  2383. __webpack_require__("32fc").appendChild(iframe);
  2384. iframe.src = 'javascript:'; // eslint-disable-line no-script-url
  2385. // createDict = iframe.contentWindow.Object;
  2386. // html.removeChild(iframe);
  2387. iframeDocument = iframe.contentWindow.document;
  2388. iframeDocument.open();
  2389. iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);
  2390. iframeDocument.close();
  2391. createDict = iframeDocument.F;
  2392. while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]];
  2393. return createDict();
  2394. };
  2395. module.exports = Object.create || function create(O, Properties) {
  2396. var result;
  2397. if (O !== null) {
  2398. Empty[PROTOTYPE] = anObject(O);
  2399. result = new Empty();
  2400. Empty[PROTOTYPE] = null;
  2401. // add "__proto__" for Object.getPrototypeOf polyfill
  2402. result[IE_PROTO] = O;
  2403. } else result = createDict();
  2404. return Properties === undefined ? result : dPs(result, Properties);
  2405. };
  2406. /***/ }),
  2407. /***/ "a22a":
  2408. /***/ (function(module, exports, __webpack_require__) {
  2409. var ctx = __webpack_require__("d864");
  2410. var call = __webpack_require__("b0dc");
  2411. var isArrayIter = __webpack_require__("3702");
  2412. var anObject = __webpack_require__("e4ae");
  2413. var toLength = __webpack_require__("b447");
  2414. var getIterFn = __webpack_require__("7cd6");
  2415. var BREAK = {};
  2416. var RETURN = {};
  2417. var exports = module.exports = function (iterable, entries, fn, that, ITERATOR) {
  2418. var iterFn = ITERATOR ? function () { return iterable; } : getIterFn(iterable);
  2419. var f = ctx(fn, that, entries ? 2 : 1);
  2420. var index = 0;
  2421. var length, step, iterator, result;
  2422. if (typeof iterFn != 'function') throw TypeError(iterable + ' is not iterable!');
  2423. // fast case for arrays with default iterator
  2424. if (isArrayIter(iterFn)) for (length = toLength(iterable.length); length > index; index++) {
  2425. result = entries ? f(anObject(step = iterable[index])[0], step[1]) : f(iterable[index]);
  2426. if (result === BREAK || result === RETURN) return result;
  2427. } else for (iterator = iterFn.call(iterable); !(step = iterator.next()).done;) {
  2428. result = call(iterator, f, step.value, entries);
  2429. if (result === BREAK || result === RETURN) return result;
  2430. }
  2431. };
  2432. exports.BREAK = BREAK;
  2433. exports.RETURN = RETURN;
  2434. /***/ }),
  2435. /***/ "a3c3":
  2436. /***/ (function(module, exports, __webpack_require__) {
  2437. // 19.1.3.1 Object.assign(target, source)
  2438. var $export = __webpack_require__("63b6");
  2439. $export($export.S + $export.F, 'Object', { assign: __webpack_require__("9306") });
  2440. /***/ }),
  2441. /***/ "a481":
  2442. /***/ (function(module, exports, __webpack_require__) {
  2443. "use strict";
  2444. var anObject = __webpack_require__("cb7c");
  2445. var toObject = __webpack_require__("4bf8");
  2446. var toLength = __webpack_require__("9def");
  2447. var toInteger = __webpack_require__("4588");
  2448. var advanceStringIndex = __webpack_require__("0390");
  2449. var regExpExec = __webpack_require__("5f1b");
  2450. var max = Math.max;
  2451. var min = Math.min;
  2452. var floor = Math.floor;
  2453. var SUBSTITUTION_SYMBOLS = /\$([$&`']|\d\d?|<[^>]*>)/g;
  2454. var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&`']|\d\d?)/g;
  2455. var maybeToString = function (it) {
  2456. return it === undefined ? it : String(it);
  2457. };
  2458. // @@replace logic
  2459. __webpack_require__("214f")('replace', 2, function (defined, REPLACE, $replace, maybeCallNative) {
  2460. return [
  2461. // `String.prototype.replace` method
  2462. // https://tc39.github.io/ecma262/#sec-string.prototype.replace
  2463. function replace(searchValue, replaceValue) {
  2464. var O = defined(this);
  2465. var fn = searchValue == undefined ? undefined : searchValue[REPLACE];
  2466. return fn !== undefined
  2467. ? fn.call(searchValue, O, replaceValue)
  2468. : $replace.call(String(O), searchValue, replaceValue);
  2469. },
  2470. // `RegExp.prototype[@@replace]` method
  2471. // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@replace
  2472. function (regexp, replaceValue) {
  2473. var res = maybeCallNative($replace, regexp, this, replaceValue);
  2474. if (res.done) return res.value;
  2475. var rx = anObject(regexp);
  2476. var S = String(this);
  2477. var functionalReplace = typeof replaceValue === 'function';
  2478. if (!functionalReplace) replaceValue = String(replaceValue);
  2479. var global = rx.global;
  2480. if (global) {
  2481. var fullUnicode = rx.unicode;
  2482. rx.lastIndex = 0;
  2483. }
  2484. var results = [];
  2485. while (true) {
  2486. var result = regExpExec(rx, S);
  2487. if (result === null) break;
  2488. results.push(result);
  2489. if (!global) break;
  2490. var matchStr = String(result[0]);
  2491. if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);
  2492. }
  2493. var accumulatedResult = '';
  2494. var nextSourcePosition = 0;
  2495. for (var i = 0; i < results.length; i++) {
  2496. result = results[i];
  2497. var matched = String(result[0]);
  2498. var position = max(min(toInteger(result.index), S.length), 0);
  2499. var captures = [];
  2500. // NOTE: This is equivalent to
  2501. // captures = result.slice(1).map(maybeToString)
  2502. // but for some reason `nativeSlice.call(result, 1, result.length)` (called in
  2503. // the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and
  2504. // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.
  2505. for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j]));
  2506. var namedCaptures = result.groups;
  2507. if (functionalReplace) {
  2508. var replacerArgs = [matched].concat(captures, position, S);
  2509. if (namedCaptures !== undefined) replacerArgs.push(namedCaptures);
  2510. var replacement = String(replaceValue.apply(undefined, replacerArgs));
  2511. } else {
  2512. replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);
  2513. }
  2514. if (position >= nextSourcePosition) {
  2515. accumulatedResult += S.slice(nextSourcePosition, position) + replacement;
  2516. nextSourcePosition = position + matched.length;
  2517. }
  2518. }
  2519. return accumulatedResult + S.slice(nextSourcePosition);
  2520. }
  2521. ];
  2522. // https://tc39.github.io/ecma262/#sec-getsubstitution
  2523. function getSubstitution(matched, str, position, captures, namedCaptures, replacement) {
  2524. var tailPos = position + matched.length;
  2525. var m = captures.length;
  2526. var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;
  2527. if (namedCaptures !== undefined) {
  2528. namedCaptures = toObject(namedCaptures);
  2529. symbols = SUBSTITUTION_SYMBOLS;
  2530. }
  2531. return $replace.call(replacement, symbols, function (match, ch) {
  2532. var capture;
  2533. switch (ch.charAt(0)) {
  2534. case '$': return '$';
  2535. case '&': return matched;
  2536. case '`': return str.slice(0, position);
  2537. case "'": return str.slice(tailPos);
  2538. case '<':
  2539. capture = namedCaptures[ch.slice(1, -1)];
  2540. break;
  2541. default: // \d\d?
  2542. var n = +ch;
  2543. if (n === 0) return match;
  2544. if (n > m) {
  2545. var f = floor(n / 10);
  2546. if (f === 0) return match;
  2547. if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1);
  2548. return match;
  2549. }
  2550. capture = captures[n - 1];
  2551. }
  2552. return capture === undefined ? '' : capture;
  2553. });
  2554. }
  2555. });
  2556. /***/ }),
  2557. /***/ "a4bb":
  2558. /***/ (function(module, exports, __webpack_require__) {
  2559. module.exports = __webpack_require__("8aae");
  2560. /***/ }),
  2561. /***/ "a5b8":
  2562. /***/ (function(module, exports, __webpack_require__) {
  2563. "use strict";
  2564. // 25.4.1.5 NewPromiseCapability(C)
  2565. var aFunction = __webpack_require__("d8e8");
  2566. function PromiseCapability(C) {
  2567. var resolve, reject;
  2568. this.promise = new C(function ($$resolve, $$reject) {
  2569. if (resolve !== undefined || reject !== undefined) throw TypeError('Bad Promise constructor');
  2570. resolve = $$resolve;
  2571. reject = $$reject;
  2572. });
  2573. this.resolve = aFunction(resolve);
  2574. this.reject = aFunction(reject);
  2575. }
  2576. module.exports.f = function (C) {
  2577. return new PromiseCapability(C);
  2578. };
  2579. /***/ }),
  2580. /***/ "a745":
  2581. /***/ (function(module, exports, __webpack_require__) {
  2582. module.exports = __webpack_require__("f410");
  2583. /***/ }),
  2584. /***/ "aae3":
  2585. /***/ (function(module, exports, __webpack_require__) {
  2586. // 7.2.8 IsRegExp(argument)
  2587. var isObject = __webpack_require__("d3f4");
  2588. var cof = __webpack_require__("2d95");
  2589. var MATCH = __webpack_require__("2b4c")('match');
  2590. module.exports = function (it) {
  2591. var isRegExp;
  2592. return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : cof(it) == 'RegExp');
  2593. };
  2594. /***/ }),
  2595. /***/ "aba2":
  2596. /***/ (function(module, exports, __webpack_require__) {
  2597. var global = __webpack_require__("e53d");
  2598. var macrotask = __webpack_require__("4178").set;
  2599. var Observer = global.MutationObserver || global.WebKitMutationObserver;
  2600. var process = global.process;
  2601. var Promise = global.Promise;
  2602. var isNode = __webpack_require__("6b4c")(process) == 'process';
  2603. module.exports = function () {
  2604. var head, last, notify;
  2605. var flush = function () {
  2606. var parent, fn;
  2607. if (isNode && (parent = process.domain)) parent.exit();
  2608. while (head) {
  2609. fn = head.fn;
  2610. head = head.next;
  2611. try {
  2612. fn();
  2613. } catch (e) {
  2614. if (head) notify();
  2615. else last = undefined;
  2616. throw e;
  2617. }
  2618. } last = undefined;
  2619. if (parent) parent.enter();
  2620. };
  2621. // Node.js
  2622. if (isNode) {
  2623. notify = function () {
  2624. process.nextTick(flush);
  2625. };
  2626. // browsers with MutationObserver, except iOS Safari - https://github.com/zloirock/core-js/issues/339
  2627. } else if (Observer && !(global.navigator && global.navigator.standalone)) {
  2628. var toggle = true;
  2629. var node = document.createTextNode('');
  2630. new Observer(flush).observe(node, { characterData: true }); // eslint-disable-line no-new
  2631. notify = function () {
  2632. node.data = toggle = !toggle;
  2633. };
  2634. // environments with maybe non-completely correct, but existent Promise
  2635. } else if (Promise && Promise.resolve) {
  2636. // Promise.resolve without an argument throws an error in LG WebOS 2
  2637. var promise = Promise.resolve(undefined);
  2638. notify = function () {
  2639. promise.then(flush);
  2640. };
  2641. // for other environments - macrotask based on:
  2642. // - setImmediate
  2643. // - MessageChannel
  2644. // - window.postMessag
  2645. // - onreadystatechange
  2646. // - setTimeout
  2647. } else {
  2648. notify = function () {
  2649. // strange IE + webpack dev server bug - use .call(global)
  2650. macrotask.call(global, flush);
  2651. };
  2652. }
  2653. return function (fn) {
  2654. var task = { fn: fn, next: undefined };
  2655. if (last) last.next = task;
  2656. if (!head) {
  2657. head = task;
  2658. notify();
  2659. } last = task;
  2660. };
  2661. };
  2662. /***/ }),
  2663. /***/ "aebd":
  2664. /***/ (function(module, exports) {
  2665. module.exports = function (bitmap, value) {
  2666. return {
  2667. enumerable: !(bitmap & 1),
  2668. configurable: !(bitmap & 2),
  2669. writable: !(bitmap & 4),
  2670. value: value
  2671. };
  2672. };
  2673. /***/ }),
  2674. /***/ "b0c5":
  2675. /***/ (function(module, exports, __webpack_require__) {
  2676. "use strict";
  2677. var regexpExec = __webpack_require__("520a");
  2678. __webpack_require__("5ca1")({
  2679. target: 'RegExp',
  2680. proto: true,
  2681. forced: regexpExec !== /./.exec
  2682. }, {
  2683. exec: regexpExec
  2684. });
  2685. /***/ }),
  2686. /***/ "b0dc":
  2687. /***/ (function(module, exports, __webpack_require__) {
  2688. // call something on iterator step with safe closing on error
  2689. var anObject = __webpack_require__("e4ae");
  2690. module.exports = function (iterator, fn, value, entries) {
  2691. try {
  2692. return entries ? fn(anObject(value)[0], value[1]) : fn(value);
  2693. // 7.4.6 IteratorClose(iterator, completion)
  2694. } catch (e) {
  2695. var ret = iterator['return'];
  2696. if (ret !== undefined) anObject(ret.call(iterator));
  2697. throw e;
  2698. }
  2699. };
  2700. /***/ }),
  2701. /***/ "b447":
  2702. /***/ (function(module, exports, __webpack_require__) {
  2703. // 7.1.15 ToLength
  2704. var toInteger = __webpack_require__("3a38");
  2705. var min = Math.min;
  2706. module.exports = function (it) {
  2707. return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991
  2708. };
  2709. /***/ }),
  2710. /***/ "b8e3":
  2711. /***/ (function(module, exports) {
  2712. module.exports = true;
  2713. /***/ }),
  2714. /***/ "bc13":
  2715. /***/ (function(module, exports, __webpack_require__) {
  2716. var global = __webpack_require__("e53d");
  2717. var navigator = global.navigator;
  2718. module.exports = navigator && navigator.userAgent || '';
  2719. /***/ }),
  2720. /***/ "bcaa":
  2721. /***/ (function(module, exports, __webpack_require__) {
  2722. var anObject = __webpack_require__("cb7c");
  2723. var isObject = __webpack_require__("d3f4");
  2724. var newPromiseCapability = __webpack_require__("a5b8");
  2725. module.exports = function (C, x) {
  2726. anObject(C);
  2727. if (isObject(x) && x.constructor === C) return x;
  2728. var promiseCapability = newPromiseCapability.f(C);
  2729. var resolve = promiseCapability.resolve;
  2730. resolve(x);
  2731. return promiseCapability.promise;
  2732. };
  2733. /***/ }),
  2734. /***/ "be13":
  2735. /***/ (function(module, exports) {
  2736. // 7.2.1 RequireObjectCoercible(argument)
  2737. module.exports = function (it) {
  2738. if (it == undefined) throw TypeError("Can't call method on " + it);
  2739. return it;
  2740. };
  2741. /***/ }),
  2742. /***/ "bf0b":
  2743. /***/ (function(module, exports, __webpack_require__) {
  2744. var pIE = __webpack_require__("355d");
  2745. var createDesc = __webpack_require__("aebd");
  2746. var toIObject = __webpack_require__("36c3");
  2747. var toPrimitive = __webpack_require__("1bc3");
  2748. var has = __webpack_require__("07e3");
  2749. var IE8_DOM_DEFINE = __webpack_require__("794b");
  2750. var gOPD = Object.getOwnPropertyDescriptor;
  2751. exports.f = __webpack_require__("8e60") ? gOPD : function getOwnPropertyDescriptor(O, P) {
  2752. O = toIObject(O);
  2753. P = toPrimitive(P, true);
  2754. if (IE8_DOM_DEFINE) try {
  2755. return gOPD(O, P);
  2756. } catch (e) { /* empty */ }
  2757. if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]);
  2758. };
  2759. /***/ }),
  2760. /***/ "c207":
  2761. /***/ (function(module, exports) {
  2762. /***/ }),
  2763. /***/ "c367":
  2764. /***/ (function(module, exports, __webpack_require__) {
  2765. "use strict";
  2766. var addToUnscopables = __webpack_require__("8436");
  2767. var step = __webpack_require__("50ed");
  2768. var Iterators = __webpack_require__("481b");
  2769. var toIObject = __webpack_require__("36c3");
  2770. // 22.1.3.4 Array.prototype.entries()
  2771. // 22.1.3.13 Array.prototype.keys()
  2772. // 22.1.3.29 Array.prototype.values()
  2773. // 22.1.3.30 Array.prototype[@@iterator]()
  2774. module.exports = __webpack_require__("30f1")(Array, 'Array', function (iterated, kind) {
  2775. this._t = toIObject(iterated); // target
  2776. this._i = 0; // next index
  2777. this._k = kind; // kind
  2778. // 22.1.5.2.1 %ArrayIteratorPrototype%.next()
  2779. }, function () {
  2780. var O = this._t;
  2781. var kind = this._k;
  2782. var index = this._i++;
  2783. if (!O || index >= O.length) {
  2784. this._t = undefined;
  2785. return step(1);
  2786. }
  2787. if (kind == 'keys') return step(0, index);
  2788. if (kind == 'values') return step(0, O[index]);
  2789. return step(0, [index, O[index]]);
  2790. }, 'values');
  2791. // argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7)
  2792. Iterators.Arguments = Iterators.Array;
  2793. addToUnscopables('keys');
  2794. addToUnscopables('values');
  2795. addToUnscopables('entries');
  2796. /***/ }),
  2797. /***/ "c3a1":
  2798. /***/ (function(module, exports, __webpack_require__) {
  2799. // 19.1.2.14 / 15.2.3.14 Object.keys(O)
  2800. var $keys = __webpack_require__("e6f3");
  2801. var enumBugKeys = __webpack_require__("1691");
  2802. module.exports = Object.keys || function keys(O) {
  2803. return $keys(O, enumBugKeys);
  2804. };
  2805. /***/ }),
  2806. /***/ "c69a":
  2807. /***/ (function(module, exports, __webpack_require__) {
  2808. module.exports = !__webpack_require__("9e1e") && !__webpack_require__("79e5")(function () {
  2809. return Object.defineProperty(__webpack_require__("230e")('div'), 'a', { get: function () { return 7; } }).a != 7;
  2810. });
  2811. /***/ }),
  2812. /***/ "ca5a":
  2813. /***/ (function(module, exports) {
  2814. var id = 0;
  2815. var px = Math.random();
  2816. module.exports = function (key) {
  2817. return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));
  2818. };
  2819. /***/ }),
  2820. /***/ "cb7c":
  2821. /***/ (function(module, exports, __webpack_require__) {
  2822. var isObject = __webpack_require__("d3f4");
  2823. module.exports = function (it) {
  2824. if (!isObject(it)) throw TypeError(it + ' is not an object!');
  2825. return it;
  2826. };
  2827. /***/ }),
  2828. /***/ "ccb9":
  2829. /***/ (function(module, exports, __webpack_require__) {
  2830. exports.f = __webpack_require__("5168");
  2831. /***/ }),
  2832. /***/ "cd1c":
  2833. /***/ (function(module, exports, __webpack_require__) {
  2834. // 9.4.2.3 ArraySpeciesCreate(originalArray, length)
  2835. var speciesConstructor = __webpack_require__("e853");
  2836. module.exports = function (original, length) {
  2837. return new (speciesConstructor(original))(length);
  2838. };
  2839. /***/ }),
  2840. /***/ "cd78":
  2841. /***/ (function(module, exports, __webpack_require__) {
  2842. var anObject = __webpack_require__("e4ae");
  2843. var isObject = __webpack_require__("f772");
  2844. var newPromiseCapability = __webpack_require__("656e");
  2845. module.exports = function (C, x) {
  2846. anObject(C);
  2847. if (isObject(x) && x.constructor === C) return x;
  2848. var promiseCapability = newPromiseCapability.f(C);
  2849. var resolve = promiseCapability.resolve;
  2850. resolve(x);
  2851. return promiseCapability.promise;
  2852. };
  2853. /***/ }),
  2854. /***/ "ce7e":
  2855. /***/ (function(module, exports, __webpack_require__) {
  2856. // most Object methods by ES6 should accept primitives
  2857. var $export = __webpack_require__("63b6");
  2858. var core = __webpack_require__("584a");
  2859. var fails = __webpack_require__("294c");
  2860. module.exports = function (KEY, exec) {
  2861. var fn = (core.Object || {})[KEY] || Object[KEY];
  2862. var exp = {};
  2863. exp[KEY] = exec(fn);
  2864. $export($export.S + $export.F * fails(function () { fn(1); }), 'Object', exp);
  2865. };
  2866. /***/ }),
  2867. /***/ "d3f4":
  2868. /***/ (function(module, exports) {
  2869. module.exports = function (it) {
  2870. return typeof it === 'object' ? it !== null : typeof it === 'function';
  2871. };
  2872. /***/ }),
  2873. /***/ "d864":
  2874. /***/ (function(module, exports, __webpack_require__) {
  2875. // optional / simple context binding
  2876. var aFunction = __webpack_require__("79aa");
  2877. module.exports = function (fn, that, length) {
  2878. aFunction(fn);
  2879. if (that === undefined) return fn;
  2880. switch (length) {
  2881. case 1: return function (a) {
  2882. return fn.call(that, a);
  2883. };
  2884. case 2: return function (a, b) {
  2885. return fn.call(that, a, b);
  2886. };
  2887. case 3: return function (a, b, c) {
  2888. return fn.call(that, a, b, c);
  2889. };
  2890. }
  2891. return function (/* ...args */) {
  2892. return fn.apply(that, arguments);
  2893. };
  2894. };
  2895. /***/ }),
  2896. /***/ "d8d6":
  2897. /***/ (function(module, exports, __webpack_require__) {
  2898. __webpack_require__("1654");
  2899. __webpack_require__("6c1c");
  2900. module.exports = __webpack_require__("ccb9").f('iterator');
  2901. /***/ }),
  2902. /***/ "d8de":
  2903. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  2904. "use strict";
  2905. /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_transition_scss_vue_type_style_index_1_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("199b");
  2906. /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_transition_scss_vue_type_style_index_1_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_transition_scss_vue_type_style_index_1_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
  2907. /* unused harmony reexport * */
  2908. /* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_transition_scss_vue_type_style_index_1_lang_scss___WEBPACK_IMPORTED_MODULE_0___default.a);
  2909. /***/ }),
  2910. /***/ "d8e8":
  2911. /***/ (function(module, exports) {
  2912. module.exports = function (it) {
  2913. if (typeof it != 'function') throw TypeError(it + ' is not a function!');
  2914. return it;
  2915. };
  2916. /***/ }),
  2917. /***/ "d9f6":
  2918. /***/ (function(module, exports, __webpack_require__) {
  2919. var anObject = __webpack_require__("e4ae");
  2920. var IE8_DOM_DEFINE = __webpack_require__("794b");
  2921. var toPrimitive = __webpack_require__("1bc3");
  2922. var dP = Object.defineProperty;
  2923. exports.f = __webpack_require__("8e60") ? Object.defineProperty : function defineProperty(O, P, Attributes) {
  2924. anObject(O);
  2925. P = toPrimitive(P, true);
  2926. anObject(Attributes);
  2927. if (IE8_DOM_DEFINE) try {
  2928. return dP(O, P, Attributes);
  2929. } catch (e) { /* empty */ }
  2930. if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');
  2931. if ('value' in Attributes) O[P] = Attributes.value;
  2932. return O;
  2933. };
  2934. /***/ }),
  2935. /***/ "dbdb":
  2936. /***/ (function(module, exports, __webpack_require__) {
  2937. var core = __webpack_require__("584a");
  2938. var global = __webpack_require__("e53d");
  2939. var SHARED = '__core-js_shared__';
  2940. var store = global[SHARED] || (global[SHARED] = {});
  2941. (module.exports = function (key, value) {
  2942. return store[key] || (store[key] = value !== undefined ? value : {});
  2943. })('versions', []).push({
  2944. version: core.version,
  2945. mode: __webpack_require__("b8e3") ? 'pure' : 'global',
  2946. copyright: '© 2019 Denis Pushkarev (zloirock.ru)'
  2947. });
  2948. /***/ }),
  2949. /***/ "dc62":
  2950. /***/ (function(module, exports, __webpack_require__) {
  2951. __webpack_require__("9427");
  2952. var $Object = __webpack_require__("584a").Object;
  2953. module.exports = function create(P, D) {
  2954. return $Object.create(P, D);
  2955. };
  2956. /***/ }),
  2957. /***/ "e4ae":
  2958. /***/ (function(module, exports, __webpack_require__) {
  2959. var isObject = __webpack_require__("f772");
  2960. module.exports = function (it) {
  2961. if (!isObject(it)) throw TypeError(it + ' is not an object!');
  2962. return it;
  2963. };
  2964. /***/ }),
  2965. /***/ "e53d":
  2966. /***/ (function(module, exports) {
  2967. // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
  2968. var global = module.exports = typeof window != 'undefined' && window.Math == Math
  2969. ? window : typeof self != 'undefined' && self.Math == Math ? self
  2970. // eslint-disable-next-line no-new-func
  2971. : Function('return this')();
  2972. if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef
  2973. /***/ }),
  2974. /***/ "e6f3":
  2975. /***/ (function(module, exports, __webpack_require__) {
  2976. var has = __webpack_require__("07e3");
  2977. var toIObject = __webpack_require__("36c3");
  2978. var arrayIndexOf = __webpack_require__("5b4e")(false);
  2979. var IE_PROTO = __webpack_require__("5559")('IE_PROTO');
  2980. module.exports = function (object, names) {
  2981. var O = toIObject(object);
  2982. var i = 0;
  2983. var result = [];
  2984. var key;
  2985. for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key);
  2986. // Don't enum bug & hidden keys
  2987. while (names.length > i) if (has(O, key = names[i++])) {
  2988. ~arrayIndexOf(result, key) || result.push(key);
  2989. }
  2990. return result;
  2991. };
  2992. /***/ }),
  2993. /***/ "e853":
  2994. /***/ (function(module, exports, __webpack_require__) {
  2995. var isObject = __webpack_require__("d3f4");
  2996. var isArray = __webpack_require__("1169");
  2997. var SPECIES = __webpack_require__("2b4c")('species');
  2998. module.exports = function (original) {
  2999. var C;
  3000. if (isArray(original)) {
  3001. C = original.constructor;
  3002. // cross-realm fallback
  3003. if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;
  3004. if (isObject(C)) {
  3005. C = C[SPECIES];
  3006. if (C === null) C = undefined;
  3007. }
  3008. } return C === undefined ? Array : C;
  3009. };
  3010. /***/ }),
  3011. /***/ "ebd6":
  3012. /***/ (function(module, exports, __webpack_require__) {
  3013. // 7.3.20 SpeciesConstructor(O, defaultConstructor)
  3014. var anObject = __webpack_require__("cb7c");
  3015. var aFunction = __webpack_require__("d8e8");
  3016. var SPECIES = __webpack_require__("2b4c")('species');
  3017. module.exports = function (O, D) {
  3018. var C = anObject(O).constructor;
  3019. var S;
  3020. return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S);
  3021. };
  3022. /***/ }),
  3023. /***/ "ebfd":
  3024. /***/ (function(module, exports, __webpack_require__) {
  3025. var META = __webpack_require__("62a0")('meta');
  3026. var isObject = __webpack_require__("f772");
  3027. var has = __webpack_require__("07e3");
  3028. var setDesc = __webpack_require__("d9f6").f;
  3029. var id = 0;
  3030. var isExtensible = Object.isExtensible || function () {
  3031. return true;
  3032. };
  3033. var FREEZE = !__webpack_require__("294c")(function () {
  3034. return isExtensible(Object.preventExtensions({}));
  3035. });
  3036. var setMeta = function (it) {
  3037. setDesc(it, META, { value: {
  3038. i: 'O' + ++id, // object ID
  3039. w: {} // weak collections IDs
  3040. } });
  3041. };
  3042. var fastKey = function (it, create) {
  3043. // return primitive with prefix
  3044. if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;
  3045. if (!has(it, META)) {
  3046. // can't set metadata to uncaught frozen object
  3047. if (!isExtensible(it)) return 'F';
  3048. // not necessary to add metadata
  3049. if (!create) return 'E';
  3050. // add missing metadata
  3051. setMeta(it);
  3052. // return object ID
  3053. } return it[META].i;
  3054. };
  3055. var getWeak = function (it, create) {
  3056. if (!has(it, META)) {
  3057. // can't set metadata to uncaught frozen object
  3058. if (!isExtensible(it)) return true;
  3059. // not necessary to add metadata
  3060. if (!create) return false;
  3061. // add missing metadata
  3062. setMeta(it);
  3063. // return hash weak collections IDs
  3064. } return it[META].w;
  3065. };
  3066. // add metadata on freeze-family methods calling
  3067. var onFreeze = function (it) {
  3068. if (FREEZE && meta.NEED && isExtensible(it) && !has(it, META)) setMeta(it);
  3069. return it;
  3070. };
  3071. var meta = module.exports = {
  3072. KEY: META,
  3073. NEED: false,
  3074. fastKey: fastKey,
  3075. getWeak: getWeak,
  3076. onFreeze: onFreeze
  3077. };
  3078. /***/ }),
  3079. /***/ "f143":
  3080. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  3081. "use strict";
  3082. /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_RouterTab_scss_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("8880");
  3083. /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_RouterTab_scss_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_RouterTab_scss_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
  3084. /* unused harmony reexport * */
  3085. /* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_RouterTab_scss_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0___default.a);
  3086. /***/ }),
  3087. /***/ "f201":
  3088. /***/ (function(module, exports, __webpack_require__) {
  3089. // 7.3.20 SpeciesConstructor(O, defaultConstructor)
  3090. var anObject = __webpack_require__("e4ae");
  3091. var aFunction = __webpack_require__("79aa");
  3092. var SPECIES = __webpack_require__("5168")('species');
  3093. module.exports = function (O, D) {
  3094. var C = anObject(O).constructor;
  3095. var S;
  3096. return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S);
  3097. };
  3098. /***/ }),
  3099. /***/ "f410":
  3100. /***/ (function(module, exports, __webpack_require__) {
  3101. __webpack_require__("1af6");
  3102. module.exports = __webpack_require__("584a").Array.isArray;
  3103. /***/ }),
  3104. /***/ "f772":
  3105. /***/ (function(module, exports) {
  3106. module.exports = function (it) {
  3107. return typeof it === 'object' ? it !== null : typeof it === 'function';
  3108. };
  3109. /***/ }),
  3110. /***/ "f921":
  3111. /***/ (function(module, exports, __webpack_require__) {
  3112. __webpack_require__("014b");
  3113. __webpack_require__("c207");
  3114. __webpack_require__("69d3");
  3115. __webpack_require__("765d");
  3116. module.exports = __webpack_require__("584a").Symbol;
  3117. /***/ }),
  3118. /***/ "fa5b":
  3119. /***/ (function(module, exports, __webpack_require__) {
  3120. module.exports = __webpack_require__("5537")('native-function-to-string', Function.toString);
  3121. /***/ }),
  3122. /***/ "fb15":
  3123. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  3124. "use strict";
  3125. __webpack_require__.r(__webpack_exports__);
  3126. // CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js
  3127. // This file is imported into lib/wc client bundles.
  3128. if (typeof window !== 'undefined') {
  3129. var setPublicPath_i
  3130. if ((setPublicPath_i = window.document.currentScript) && (setPublicPath_i = setPublicPath_i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))) {
  3131. __webpack_require__.p = setPublicPath_i[1] // eslint-disable-line
  3132. }
  3133. }
  3134. // Indicate to webpack that this file can be concatenated
  3135. /* harmony default export */ var setPublicPath = (null);
  3136. // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.function.name.js
  3137. var es6_function_name = __webpack_require__("7f7f");
  3138. // CONCATENATED MODULE: ./src/lib/RouterTab/mixins/RouterPage.js
  3139. // 路由页面混入
  3140. /* harmony default export */ var RouterPage = ({
  3141. // 创建前记录缓存
  3142. created: function created() {
  3143. var $route = this.$route,
  3144. $vnode = this.$vnode;
  3145. var $alive = $vnode && $vnode.data.routerAlive;
  3146. if (!$alive) return false; // 标记为路由页面
  3147. this._isRouterPage = true;
  3148. var key = $alive.getAliveKey($route); // 更新缓存数据
  3149. var cacheItem = $alive.set(key, {
  3150. route: $route,
  3151. vm: this
  3152. }); // 监听routerTab字段,更新页签信息
  3153. this.$watch('routeTab', function (val, old) {
  3154. cacheItem.tab = typeof val === 'string' ? {
  3155. title: val
  3156. } : val;
  3157. $alive.set(key, cacheItem);
  3158. }, {
  3159. deep: true,
  3160. immediate: true
  3161. });
  3162. },
  3163. // 解决webpack热加载后组件缓存不更新
  3164. activated: function activated() {
  3165. var $routerTab = this.$routerTab,
  3166. $vnode = this.$vnode,
  3167. _isRouterPage = this._isRouterPage;
  3168. if (!_isRouterPage) return false;
  3169. var ctorId = $vnode.componentOptions.Ctor.cid; // 热加载后Ctor.cid改变
  3170. if (this._ctorId && this._ctorId !== ctorId) {
  3171. this.$destroy();
  3172. $routerTab.refreshTab();
  3173. }
  3174. this._ctorId = ctorId;
  3175. }
  3176. });
  3177. // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3ddf277b-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/lib/RouterTab/components/RouterTab.vue?vue&type=template&id=275388c3&
  3178. var RouterTabvue_type_template_id_275388c3_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"router-tab"},[_c('header',{staticClass:"router-tab-header"},[_c('div',{staticClass:"router-tab-scroll"},[_c('transition-group',_vm._b({staticClass:"router-tab-nav",attrs:{"tag":"ul"},on:{"after-enter":_vm.onTabTransitionEnd,"after-leave":_vm.onTabTransitionEnd}},'transition-group',typeof _vm.tabTransition === 'string' ? { name: _vm.tabTransition } : _vm.tabTransition,false),_vm._l((_vm.items),function(ref,index){
  3179. var id = ref.id;
  3180. var to = ref.to;
  3181. var title = ref.title;
  3182. var icon = ref.icon;
  3183. var tips = ref.tips;
  3184. var closable = ref.closable;
  3185. return _c('router-link',{key:id || to,staticClass:"router-tab-item",class:{ actived: _vm.activedTab === id, contextmenu: _vm.contextmenu.id === id },attrs:{"tag":"li","title":tips || title || '',"to":to},nativeOn:{"contextmenu":function($event){$event.preventDefault();return (function (e) { return _vm.showContextmenu(id, index, e); })($event)}}},[_vm._t("default",[(icon)?_c('i',{staticClass:"tab-icon",class:icon}):_vm._e(),_c('span',{staticClass:"tab-title"},[_vm._v(_vm._s(title || _vm.lang.tab.untitled))]),(closable !== false && _vm.items.length > 1)?_c('i',{staticClass:"tab-close",attrs:{"title":_vm.lang.contextmenu.close},on:{"click":function($event){$event.preventDefault();return _vm.closeTab(id)}}}):_vm._e()],null,{
  3186. tab: _vm.items[index],
  3187. tabs: _vm.items,
  3188. index: index
  3189. })],2)}),1)],1),_c('a',{staticClass:"el-icon-caret-left nav-prev",on:{"click":function($event){return _vm.tabScroll('left')}}}),_c('a',{staticClass:"el-icon-caret-right nav-next",on:{"click":function($event){return _vm.tabScroll('right')}}})]),_c('div',{staticClass:"router-tab-container",class:{ loading: _vm.loading }},[_c('router-alive',{ref:"routerAlive",attrs:{"alive-key":_vm.aliveKey},on:{"update":_vm.updateTab}},[_c('transition',_vm._b({attrs:{"appear":""},on:{"after-enter":_vm.onPageTransitionEnd,"after-leave":_vm.onPageTransitionEnd}},'transition',typeof _vm.pageTransition === 'string' ? { name: _vm.pageTransition } : _vm.pageTransition,false),[(_vm.isRouterAlive)?_c('router-view',_vm._b({ref:"routerView"},'router-view',_vm.routerView,false)):_vm._e()],1)],1)],1),_c('transition',{attrs:{"name":"router-tab-zoom-lt"}},[(_vm.contextmenu.id)?_c('div',{staticClass:"router-tab-contextmenu",style:(("left: " + (_vm.contextmenu.left) + "px; top: " + (_vm.contextmenu.top) + "px;"))},[_c('a',{staticClass:"contextmenu-item",attrs:{"disabled":!_vm.isContextTabActived},on:{"click":function($event){_vm.isContextTabActived && _vm.refreshTab(_vm.contextmenu.id)}}},[_vm._v("\n "+_vm._s(_vm.lang.contextmenu.refresh)+"\n ")]),_c('a',{staticClass:"contextmenu-item",attrs:{"disabled":_vm.items.length < 2},on:{"click":function($event){_vm.items.length > 1 && _vm.refreshAll()}}},[_vm._v("\n "+_vm._s(_vm.lang.contextmenu.refreshAll)+"\n ")]),_c('a',{staticClass:"contextmenu-item",attrs:{"disabled":!_vm.isContextTabCanBeClosed},on:{"click":function($event){_vm.isContextTabCanBeClosed && _vm.closeTab(_vm.contextmenu.id)}}},[_vm._v("\n "+_vm._s(_vm.lang.contextmenu.close)+"\n ")]),_c('a',{staticClass:"contextmenu-item",attrs:{"disabled":!_vm.tabsLeft.length},on:{"click":function($event){_vm.tabsLeft.length && _vm.closeMulti(_vm.tabsLeft)}}},[_vm._v("\n "+_vm._s(_vm.lang.contextmenu.closeLefts)+"\n ")]),_c('a',{staticClass:"contextmenu-item",attrs:{"disabled":!_vm.tabsRight.length},on:{"click":function($event){_vm.tabsRight.length && _vm.closeMulti(_vm.tabsRight)}}},[_vm._v("\n "+_vm._s(_vm.lang.contextmenu.closeRights)+"\n ")]),_c('a',{staticClass:"contextmenu-item",attrs:{"disabled":!_vm.tabsOther.length},on:{"click":function($event){_vm.tabsOther.length && _vm.closeMulti(_vm.tabsOther)}}},[_vm._v("\n "+_vm._s(_vm.lang.contextmenu.closeOthers)+"\n ")])]):_vm._e()])],1)}
  3190. var staticRenderFns = []
  3191. // CONCATENATED MODULE: ./src/lib/RouterTab/components/RouterTab.vue?vue&type=template&id=275388c3&
  3192. // EXTERNAL MODULE: ./node_modules/@babel/runtime-corejs2/core-js/object/keys.js
  3193. var keys = __webpack_require__("a4bb");
  3194. var keys_default = /*#__PURE__*/__webpack_require__.n(keys);
  3195. // EXTERNAL MODULE: ./node_modules/core-js/modules/es7.promise.finally.js
  3196. var es7_promise_finally = __webpack_require__("097d");
  3197. // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.regexp.replace.js
  3198. var es6_regexp_replace = __webpack_require__("a481");
  3199. // EXTERNAL MODULE: ./node_modules/@babel/runtime-corejs2/core-js/promise.js
  3200. var promise = __webpack_require__("795b");
  3201. var promise_default = /*#__PURE__*/__webpack_require__.n(promise);
  3202. // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.regexp.split.js
  3203. var es6_regexp_split = __webpack_require__("28a5");
  3204. // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.array.find.js
  3205. var es6_array_find = __webpack_require__("7514");
  3206. // EXTERNAL MODULE: ./node_modules/@babel/runtime-corejs2/core-js/object/assign.js
  3207. var object_assign = __webpack_require__("5176");
  3208. var assign_default = /*#__PURE__*/__webpack_require__.n(object_assign);
  3209. // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.array.find-index.js
  3210. var es6_array_find_index = __webpack_require__("20d6");
  3211. // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.regexp.match.js
  3212. var es6_regexp_match = __webpack_require__("4917");
  3213. // EXTERNAL MODULE: ./node_modules/@babel/runtime-corejs2/core-js/symbol/iterator.js
  3214. var iterator = __webpack_require__("5d58");
  3215. var iterator_default = /*#__PURE__*/__webpack_require__.n(iterator);
  3216. // EXTERNAL MODULE: ./node_modules/@babel/runtime-corejs2/core-js/symbol.js
  3217. var symbol = __webpack_require__("67bb");
  3218. var symbol_default = /*#__PURE__*/__webpack_require__.n(symbol);
  3219. // CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/typeof.js
  3220. function typeof_typeof2(obj) { if (typeof symbol_default.a === "function" && typeof iterator_default.a === "symbol") { typeof_typeof2 = function _typeof2(obj) { return typeof obj; }; } else { typeof_typeof2 = function _typeof2(obj) { return obj && typeof symbol_default.a === "function" && obj.constructor === symbol_default.a && obj !== symbol_default.a.prototype ? "symbol" : typeof obj; }; } return typeof_typeof2(obj); }
  3221. function typeof_typeof(obj) {
  3222. if (typeof symbol_default.a === "function" && typeof_typeof2(iterator_default.a) === "symbol") {
  3223. typeof_typeof = function _typeof(obj) {
  3224. return typeof_typeof2(obj);
  3225. };
  3226. } else {
  3227. typeof_typeof = function _typeof(obj) {
  3228. return obj && typeof symbol_default.a === "function" && obj.constructor === symbol_default.a && obj !== symbol_default.a.prototype ? "symbol" : typeof_typeof2(obj);
  3229. };
  3230. }
  3231. return typeof_typeof(obj);
  3232. }
  3233. // EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
  3234. var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__("8bbf");
  3235. var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_vue_commonjs2_vue_root_Vue_);
  3236. // EXTERNAL MODULE: ./node_modules/@babel/runtime-corejs2/core-js/object/create.js
  3237. var create = __webpack_require__("4aa6");
  3238. var create_default = /*#__PURE__*/__webpack_require__.n(create);
  3239. // EXTERNAL MODULE: ./node_modules/@babel/runtime-corejs2/core-js/array/is-array.js
  3240. var is_array = __webpack_require__("a745");
  3241. var is_array_default = /*#__PURE__*/__webpack_require__.n(is_array);
  3242. // EXTERNAL MODULE: ./node_modules/@babel/runtime-corejs2/core-js/get-iterator.js
  3243. var get_iterator = __webpack_require__("5d73");
  3244. var get_iterator_default = /*#__PURE__*/__webpack_require__.n(get_iterator);
  3245. // CONCATENATED MODULE: ./src/lib/RouterTab/util.js
  3246. // 空对象和数组
  3247. var emptyObj = create_default()(null);
  3248. var emptyArray = [];
  3249. var logPrefix = '[vue-router-tab]:'; // 是否定义
  3250. function isDef(v) {
  3251. return v !== undefined && v !== null;
  3252. } // 防抖
  3253. function debounce(fn) {
  3254. var delay = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 200;
  3255. var timeout = null;
  3256. return function () {
  3257. var context = this;
  3258. var args = arguments;
  3259. clearTimeout(timeout);
  3260. timeout = setTimeout(function () {
  3261. fn.call(context, args);
  3262. }, delay);
  3263. };
  3264. } // 队列执行promise
  3265. function promiseQueue(promises) {
  3266. var isFinally = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
  3267. var queue = promise_default.a.resolve();
  3268. var type = isFinally ? 'finally' : 'then';
  3269. var _iteratorNormalCompletion = true;
  3270. var _didIteratorError = false;
  3271. var _iteratorError = undefined;
  3272. try {
  3273. for (var _iterator = get_iterator_default()(promises), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
  3274. var item = _step.value;
  3275. queue = queue[type](item);
  3276. }
  3277. } catch (err) {
  3278. _didIteratorError = true;
  3279. _iteratorError = err;
  3280. } finally {
  3281. try {
  3282. if (!_iteratorNormalCompletion && _iterator.return != null) {
  3283. _iterator.return();
  3284. }
  3285. } finally {
  3286. if (_didIteratorError) {
  3287. throw _iteratorError;
  3288. }
  3289. }
  3290. }
  3291. return queue;
  3292. } // 滚动
  3293. function scrollTo($el) {
  3294. var left = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
  3295. var top = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;
  3296. if ($el.scrollTo) {
  3297. $el.scrollTo({
  3298. left: left,
  3299. top: top,
  3300. behavior: 'smooth'
  3301. });
  3302. } else {
  3303. $el.scrollLeft = left;
  3304. $el.scrollTop = top;
  3305. }
  3306. }
  3307. /* 组件方法 */
  3308. // 获取第一个子组件
  3309. function getFirstComponentChild(children) {
  3310. if (is_array_default()(children)) {
  3311. for (var i = 0; i < children.length; i++) {
  3312. var c = children[i];
  3313. if (isDef(c) && (isDef(c.componentOptions) || isAsyncPlaceholder(c))) {
  3314. return c;
  3315. }
  3316. }
  3317. }
  3318. } // 获取缓存key
  3319. function getAliveKey() {
  3320. var route = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.$route;
  3321. var aliveKey = route.meta && route.meta.aliveKey || this.aliveKey || 'path';
  3322. if (typeof aliveKey === 'function') {
  3323. return aliveKey.bind(this)(route);
  3324. }
  3325. return route[aliveKey];
  3326. }
  3327. /* 路由方法 */
  3328. // 是否异步占位
  3329. function isAsyncPlaceholder(node) {
  3330. return node.isComment && node.asyncFactory;
  3331. } // 获取路由不带hash的路径
  3332. function getPathWithoutHash(route) {
  3333. return route.hash ? route.fullPath.replace(route.hash, '') : route.fullPath;
  3334. } // 是否相似路由
  3335. function isAlikeRoute(route1, route2) {
  3336. return getPathWithoutHash(route1) === getPathWithoutHash(route2);
  3337. } // 获取路由页面组件
  3338. function getRouteComponent(_ref) {
  3339. var matched = _ref.matched;
  3340. return matched[matched.length - 1].components.default;
  3341. } // 路由是否共用组件
  3342. function isSameComponentRoute(route1, route2) {
  3343. return getRouteComponent(route1) === getRouteComponent(route2);
  3344. }
  3345. // CONCATENATED MODULE: ./src/lib/RouterTab/components/RouterAlive.js
  3346. /* harmony default export */ var RouterAlive = ({
  3347. name: 'RouterAlive',
  3348. props: {
  3349. // 缓存key,如果为函数,则参数为route
  3350. aliveKey: {
  3351. type: [String, Function],
  3352. default: 'path'
  3353. }
  3354. },
  3355. beforeCreate: function beforeCreate() {
  3356. assign_default()(this, {
  3357. cache: create_default()(null),
  3358. lastRoute: this.$route
  3359. });
  3360. },
  3361. render: function render() {
  3362. var slot = this.$slots.default;
  3363. var vnode = getFirstComponentChild(slot);
  3364. var vmOpts = vnode && vnode.componentOptions;
  3365. if (vmOpts) {
  3366. var cache = this.cache,
  3367. $route = this.$route,
  3368. lastRoute = this.lastRoute; // 如果是transition组件,页面组件则为子元素
  3369. var pageNode = vmOpts.tag === 'transition' ? vmOpts.children[0] : vnode;
  3370. if (pageNode && pageNode.componentOptions) {
  3371. // 获取缓存
  3372. var key = this.getAliveKey();
  3373. var cacheItem = cache[key];
  3374. var _ref = cacheItem || emptyObj,
  3375. cacheVm = _ref.vm,
  3376. cacheRoute = _ref.route; // 是否需要重载路由强制刷新页面组件
  3377. var needReloadRouter = false; // 路由是否改变
  3378. var isRouteChange = lastRoute !== $route; // 是否跟上次路由共用组件
  3379. var isSameComponent = isRouteChange && isSameComponentRoute($route, lastRoute);
  3380. if (isRouteChange) {
  3381. // 更新上次路由
  3382. this.lastRoute = $route; // 添加缓存
  3383. if (!cacheItem) this.set(key, {
  3384. route: $route
  3385. });
  3386. }
  3387. if (cacheVm) {
  3388. // 缓存组件的路由地址除hash外一致则取缓存的组件
  3389. if (isAlikeRoute(cacheRoute, $route)) {
  3390. pageNode.componentInstance = cacheVm;
  3391. } else {
  3392. // 缓存组件路由地址不匹配则销毁缓存并重载路由
  3393. cacheVm.$destroy();
  3394. cacheItem.vm = null;
  3395. needReloadRouter = true;
  3396. }
  3397. } // 路由改变后但组件相同需重载路由
  3398. if (isSameComponent) needReloadRouter = true; // 重载路由以强制更新页面
  3399. needReloadRouter && this.$routerTab.reloadRouter(); // 标记为keepAlive和routerAlive
  3400. pageNode.data.keepAlive = true;
  3401. pageNode.data.routerAlive = this;
  3402. }
  3403. }
  3404. return vnode || slot && slot[0];
  3405. },
  3406. methods: {
  3407. getAliveKey: getAliveKey,
  3408. // 设置缓存项
  3409. set: function set(key, item) {
  3410. var cache = this.cache;
  3411. this.$emit('update', key, item); // 更新缓存数据
  3412. return cache[key] = item;
  3413. },
  3414. // 删除缓存项
  3415. remove: function remove(key) {
  3416. var cache = this.cache;
  3417. var item = cache[key]; // 销毁组件实例
  3418. if (item) {
  3419. item.vm && item.vm.$destroy();
  3420. delete cache[key];
  3421. }
  3422. this.$emit('remove', [key]);
  3423. },
  3424. // 清理缓存
  3425. clear: function clear(key) {
  3426. var item = this.cache[key];
  3427. var vm = item && item.vm;
  3428. if (vm) {
  3429. vm.$destroy();
  3430. item.vm = null;
  3431. }
  3432. }
  3433. }
  3434. });
  3435. // CONCATENATED MODULE: ./src/lib/RouterTab/lang/zh-CN.js
  3436. /* harmony default export */ var zh_CN = ({
  3437. tab: {
  3438. untitled: '无标题'
  3439. },
  3440. contextmenu: {
  3441. refresh: '刷新',
  3442. refreshAll: '刷新所有',
  3443. close: '关闭',
  3444. closeLefts: '关闭左侧',
  3445. closeRights: '关闭右侧',
  3446. closeOthers: '关闭其他'
  3447. },
  3448. msg: {
  3449. keepOneTab: '至少应保留1个页签'
  3450. }
  3451. });
  3452. // CONCATENATED MODULE: ./src/lib/RouterTab/lang/en.js
  3453. /* harmony default export */ var en = ({
  3454. tab: {
  3455. untitled: 'Untitled'
  3456. },
  3457. contextmenu: {
  3458. refresh: 'Refresh',
  3459. refreshAll: 'Refresh All',
  3460. close: 'Close',
  3461. closeLefts: 'Close to the Left',
  3462. closeRights: 'Close to the Right',
  3463. closeOthers: 'Close Others'
  3464. },
  3465. msg: {
  3466. keepOneTab: 'Keep at least 1 tab'
  3467. }
  3468. });
  3469. // CONCATENATED MODULE: ./src/lib/RouterTab/lang/index.js
  3470. /* harmony default export */ var RouterTab_lang = ({
  3471. 'zh-CN': zh_CN,
  3472. en: en
  3473. });
  3474. // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-eslint/node_modules/eslint-loader??ref--13-0!./src/lib/RouterTab/components/RouterTab.js?vue&type=script&lang=js&
  3475. /* harmony default export */ var RouterTabvue_type_script_lang_js_ = ({
  3476. name: 'RouterTab',
  3477. components: {
  3478. RouterAlive: RouterAlive
  3479. },
  3480. props: {
  3481. // 缓存key,如果为函数,则参数为route
  3482. aliveKey: RouterAlive.props.aliveKey,
  3483. // 语言配置
  3484. // - 为字符串时,可以设置为内置的语言 'zh-CN' (默认) 和 'en'
  3485. // - 为对象时,可设置自定义的语言
  3486. i18n: {
  3487. type: [String, Object],
  3488. default: 'zh-CN'
  3489. },
  3490. // 初始页签数据
  3491. tabs: {
  3492. type: Array,
  3493. default: function _default() {
  3494. return [];
  3495. }
  3496. },
  3497. // router-view组件配置
  3498. routerView: Object,
  3499. // 页签过渡效果
  3500. tabTransition: {
  3501. type: [String, Object],
  3502. default: 'router-tab-zoom-lb'
  3503. },
  3504. // 页面过渡效果
  3505. pageTransition: {
  3506. type: [String, Object],
  3507. default: function _default() {
  3508. return {
  3509. name: 'router-tab-swap',
  3510. mode: 'out-in'
  3511. };
  3512. }
  3513. }
  3514. },
  3515. data: function data() {
  3516. return {
  3517. loading: false,
  3518. // 路由页面loading
  3519. items: [],
  3520. // 页签项
  3521. activedTab: null,
  3522. // 当前激活的页签
  3523. isRouterAlive: true,
  3524. // 右键菜单
  3525. contextmenu: {
  3526. id: null,
  3527. index: -1,
  3528. left: 0,
  3529. top: 0
  3530. }
  3531. };
  3532. },
  3533. computed: {
  3534. // 语言内容
  3535. lang: function lang() {
  3536. var lang = null;
  3537. var i18n = this.i18n;
  3538. if (typeof i18n === 'string') {
  3539. lang = RouterTab_lang[i18n];
  3540. } else if (typeof_typeof(i18n) === 'object') {
  3541. lang = i18n;
  3542. } // 找不到语言配置,则使用英文
  3543. if (!lang) lang = RouterTab_lang['en'];
  3544. return lang;
  3545. },
  3546. // 右键菜单是否当前页签
  3547. isContextTabActived: function isContextTabActived() {
  3548. return this.contextmenu.id === this.activedTab;
  3549. },
  3550. // 右键页签是否允许关闭
  3551. isContextTabCanBeClosed: function isContextTabCanBeClosed() {
  3552. var items = this.items,
  3553. contextmenu = this.contextmenu;
  3554. var contextTab = items[contextmenu.index];
  3555. return items.length > 1 && contextTab && contextTab.closable !== false;
  3556. },
  3557. // 左侧可关闭的页签
  3558. tabsLeft: function tabsLeft() {
  3559. var items = this.items,
  3560. _this$contextmenu = this.contextmenu,
  3561. id = _this$contextmenu.id,
  3562. index = _this$contextmenu.index;
  3563. return id ? items.slice(0, index).filter(function (_ref) {
  3564. var closable = _ref.closable;
  3565. return closable !== false;
  3566. }) : emptyArray;
  3567. },
  3568. // 左侧可关闭的页签
  3569. tabsRight: function tabsRight() {
  3570. var items = this.items,
  3571. _this$contextmenu2 = this.contextmenu,
  3572. id = _this$contextmenu2.id,
  3573. index = _this$contextmenu2.index;
  3574. return id ? items.slice(index + 1).filter(function (_ref2) {
  3575. var closable = _ref2.closable;
  3576. return closable !== false;
  3577. }) : emptyArray;
  3578. },
  3579. // 其他可关闭的页签
  3580. tabsOther: function tabsOther() {
  3581. var items = this.items,
  3582. id = this.contextmenu.id;
  3583. return id ? items.filter(function (_ref3) {
  3584. var closable = _ref3.closable,
  3585. tid = _ref3.id;
  3586. return closable !== false && id !== tid;
  3587. }) : emptyArray;
  3588. }
  3589. },
  3590. watch: {
  3591. // 路由切换更新激活的页签
  3592. $route: function $route(_$route) {
  3593. this.loading = false;
  3594. this.hideContextmenu();
  3595. this.updateActivedTab();
  3596. this.fixCommentPage();
  3597. },
  3598. activedTab: function activedTab() {
  3599. var _this = this;
  3600. // 激活页签时,如果当前页签不在可视区域,则滚动显示页签
  3601. this.$nextTick(function () {
  3602. var $cur = _this.$el.querySelector('.router-tab-nav .actived');
  3603. var $scr = _this.$el.querySelector('.router-tab-scroll');
  3604. if ($cur) {
  3605. var cLeft = $cur.offsetLeft;
  3606. var sLeft = $scr.scrollLeft;
  3607. if (cLeft < sLeft || cLeft + $cur.clientWidth > sLeft + $scr.clientWidth) {
  3608. _this.adjust();
  3609. }
  3610. }
  3611. });
  3612. },
  3613. // 监听右键菜单显示关闭
  3614. 'contextmenu.id': function contextmenuId(val, old) {
  3615. var _this2 = this;
  3616. if (!old && val) {
  3617. // 显示右键菜单,绑定点击关闭事件
  3618. document.addEventListener('click', this.onClick = function (e) {
  3619. if (e.target !== _this2.$el.querySelector('.router-tab-contextmenu')) {
  3620. _this2.hideContextmenu();
  3621. }
  3622. });
  3623. } else if (old && !val) {
  3624. // 隐藏右键菜单,移除点击关闭事件
  3625. document.removeEventListener('click', this.onClick);
  3626. }
  3627. }
  3628. },
  3629. beforeCreate: function beforeCreate() {
  3630. // 添加到原型链
  3631. external_commonjs_vue_commonjs2_vue_root_Vue_default.a.prototype.$routerTab = this;
  3632. },
  3633. created: function created() {
  3634. this.getTabItems();
  3635. this.updateActivedTab();
  3636. this.$router.beforeEach(this.routerPageLeaveGuard);
  3637. },
  3638. mounted: function mounted() {
  3639. // 页面载入和浏览器窗口大小改变时调整Tab滚动显示
  3640. window.addEventListener('resize', this.onResize = debounce(this.adjust));
  3641. },
  3642. destroyed: function destroyed() {
  3643. // 销毁后移除监听事件
  3644. window.removeEventListener('resize', this.onResize);
  3645. },
  3646. methods: {
  3647. getAliveKey: getAliveKey,
  3648. // 页面离开导航守卫
  3649. routerPageLeaveGuard: function routerPageLeaveGuard(to, from, next) {
  3650. if (this._isDestroyed) {
  3651. var hooks = this.$router.beforeHooks;
  3652. var idx = hooks.indexOf(this.routerPageLeaveGuard); // 移除已销毁的RouterTab实例注册的导航守卫
  3653. if (idx > -1) hooks.splice(idx, 1);
  3654. next();
  3655. } else {
  3656. var id = this.getAliveKey(to);
  3657. var $alive = this.$refs.routerAlive;
  3658. var _ref4 = $alive && $alive.cache[id] || emptyObj,
  3659. cacheRoute = _ref4.route; // 如果不是相同路由则检查beforePageLeave
  3660. if (cacheRoute && !isAlikeRoute(to, cacheRoute)) {
  3661. this.pageLeavePromise(id, 'replace').then(function () {
  3662. return next();
  3663. }).catch(function () {
  3664. return next(false);
  3665. });
  3666. } else {
  3667. next();
  3668. }
  3669. }
  3670. },
  3671. // 根据初始页签数据生成页签列表
  3672. getTabItems: function getTabItems() {
  3673. var _this3 = this;
  3674. var tabs = this.tabs,
  3675. $router = this.$router;
  3676. var ids = {};
  3677. this.items = tabs.map(function (item, index) {
  3678. var _ref5 = typeof item === 'string' ? {
  3679. to: item
  3680. } : item || emptyObj,
  3681. to = _ref5.to,
  3682. closable = _ref5.closable,
  3683. title = _ref5.title,
  3684. tips = _ref5.tips;
  3685. var route = to && $router.match(to);
  3686. if (route) {
  3687. var tab = _this3.getRouteTab(route);
  3688. var id = tab.id; // 根据id去重
  3689. if (!ids[id]) {
  3690. // 初始 tab 数据
  3691. if (title) tab.title = title;
  3692. if (tips) tab.tips = tips;
  3693. tab.closable = closable !== false;
  3694. return ids[id] = tab;
  3695. }
  3696. }
  3697. }).filter(function (item) {
  3698. return !!item;
  3699. });
  3700. },
  3701. // 更新激活的页签
  3702. updateActivedTab: function updateActivedTab() {
  3703. this.activedTab = this.getAliveKey();
  3704. },
  3705. // 更新tab数据
  3706. updateTab: function updateTab(key, _ref6) {
  3707. var route = _ref6.route,
  3708. tab = _ref6.tab;
  3709. var items = this.items,
  3710. getRouteTab = this.getRouteTab;
  3711. var matchIdx = items.findIndex(function (_ref7) {
  3712. var id = _ref7.id;
  3713. return id === key;
  3714. });
  3715. var item = assign_default()(getRouteTab(route), tab);
  3716. if (matchIdx > -1) {
  3717. var matchTab = items[matchIdx];
  3718. item.closable = matchTab.closable !== false;
  3719. this.$set(items, matchIdx, item);
  3720. } else {
  3721. items.push(item);
  3722. }
  3723. },
  3724. // 从路由地址获取 AliveKey
  3725. getTabIdByLocation: function getTabIdByLocation(location) {
  3726. var fullMatch = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
  3727. if (!location) return;
  3728. var $route = this.$router.match(location, this.$router.currentRoute); // 路由地址精确匹配页签
  3729. if (fullMatch) {
  3730. var matchPath = getPathWithoutHash($route);
  3731. var matchTab = this.items.find(function (_ref8) {
  3732. var to = _ref8.to;
  3733. return to.split('#')[0] === matchPath;
  3734. });
  3735. if (matchTab) {
  3736. return matchTab.id;
  3737. }
  3738. } else {
  3739. return this.getAliveKey($route);
  3740. }
  3741. },
  3742. // 从route中获取tab数据
  3743. getRouteTab: function getRouteTab(route) {
  3744. var id = this.getAliveKey(route);
  3745. var to = route.fullPath,
  3746. meta = route.meta;
  3747. var title = meta.title,
  3748. icon = meta.icon,
  3749. tips = meta.tips;
  3750. return {
  3751. id: id,
  3752. to: to,
  3753. title: title,
  3754. icon: icon,
  3755. tips: tips
  3756. };
  3757. },
  3758. // 页面离开Promise
  3759. pageLeavePromise: function pageLeavePromise(id, type) {
  3760. var _this4 = this;
  3761. return new promise_default.a(function (resolve, reject) {
  3762. var $alive = _this4.$refs.routerAlive;
  3763. var tab = _this4.items.find(function (item) {
  3764. return item.id === id;
  3765. }); // 当前页签
  3766. var _ref9 = $alive.cache[id] || emptyObj,
  3767. vm = _ref9.vm; // 缓存数据
  3768. var beforePageLeave = vm && vm.$vnode.componentOptions.Ctor.options.beforePageLeave;
  3769. if (typeof beforePageLeave === 'function') {
  3770. // 页签关闭前
  3771. beforePageLeave.bind(vm)(resolve, reject, tab, type);
  3772. } else {
  3773. resolve();
  3774. }
  3775. });
  3776. },
  3777. // 关闭tab项
  3778. closeTabItem: function closeTabItem(id) {
  3779. var items = this.items;
  3780. var $alive = this.$refs.routerAlive;
  3781. var idx = items.findIndex(function (item) {
  3782. return item.id === id;
  3783. });
  3784. if (items.length === 1) {
  3785. return promise_default.a.reject(new Error(this.lang.msg.keepOneTab));
  3786. }
  3787. return this.pageLeavePromise(id, 'close').then(function () {
  3788. // 承诺关闭后移除页签和缓存
  3789. $alive.remove(id);
  3790. idx > -1 && items.splice(idx, 1);
  3791. }).catch(function (e) {});
  3792. },
  3793. // 通过路由地址关闭页签
  3794. close: function close(location) {
  3795. var fullMatch = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
  3796. if (location) {
  3797. var id = this.getTabIdByLocation(location, fullMatch);
  3798. if (id) {
  3799. this.closeTab(id);
  3800. }
  3801. } else {
  3802. this.closeTab();
  3803. }
  3804. },
  3805. // 通过页签id关闭页签
  3806. closeTab: function closeTab() {
  3807. var id = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.activedTab;
  3808. var activedTab = this.activedTab,
  3809. items = this.items,
  3810. $router = this.$router;
  3811. var idx = items.findIndex(function (item) {
  3812. return item.id === id;
  3813. });
  3814. this.closeTabItem(id).then(function () {
  3815. // 如果关闭当前页签,则打开后一个页签
  3816. if (activedTab === id) {
  3817. var nextTab = items[idx] || items[idx - 1];
  3818. $router.replace(nextTab.to);
  3819. }
  3820. }).catch(function (e) {
  3821. return console.warn(logPrefix, e.message);
  3822. });
  3823. },
  3824. // 关闭多个页签
  3825. closeMulti: function closeMulti(tabs) {
  3826. var _this5 = this;
  3827. var items = this.items,
  3828. $router = this.$router,
  3829. contextmenu = this.contextmenu,
  3830. closeTabItem = this.closeTabItem;
  3831. var nextTab = items.find(function (_ref10) {
  3832. var id = _ref10.id;
  3833. return id === contextmenu.id;
  3834. }); // 队列执行关闭promise
  3835. promiseQueue(tabs.map(function (_ref11) {
  3836. var id = _ref11.id;
  3837. return function () {
  3838. closeTabItem(id);
  3839. };
  3840. })).finally(function () {
  3841. // 当前页签如已关闭,则打开右键选中页签
  3842. if (items.findIndex(function (_ref12) {
  3843. var id = _ref12.id;
  3844. return id === _this5.activedTab;
  3845. }) === -1) {
  3846. $router.replace(nextTab.to);
  3847. }
  3848. });
  3849. },
  3850. // 通过路由地址刷新页签
  3851. refresh: function refresh(location) {
  3852. var fullMatch = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
  3853. if (location) {
  3854. var id = this.getTabIdByLocation(location, fullMatch);
  3855. if (id) {
  3856. this.refreshTab(id);
  3857. }
  3858. } else {
  3859. this.refreshTab();
  3860. }
  3861. },
  3862. // 通过页签id刷新页签
  3863. refreshTab: function refreshTab() {
  3864. var _this6 = this;
  3865. var id = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.activedTab;
  3866. this.pageLeavePromise(id, 'refresh').then(function () {
  3867. _this6.$refs.routerAlive.clear(id);
  3868. if (id === _this6.activedTab) _this6.reloadRouter();
  3869. });
  3870. },
  3871. /**
  3872. * 刷新所有页签
  3873. * @param {boolean} [force=false] 是否强制刷新,如果强制则忽略页面beforePageLeave
  3874. */
  3875. refreshAll: function refreshAll() {
  3876. var _this7 = this;
  3877. var force = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
  3878. var $alive = this.$refs.routerAlive;
  3879. var cache = $alive.cache;
  3880. var promises = keys_default()(cache).map(function (id) {
  3881. return function () {
  3882. if (!force) {
  3883. return _this7.pageLeavePromise(id, 'refresh').then(function () {
  3884. $alive.clear(id);
  3885. });
  3886. } else {
  3887. $alive.clear(id);
  3888. }
  3889. };
  3890. });
  3891. promiseQueue(promises).finally(this.reloadRouter);
  3892. },
  3893. // 重载路由组件
  3894. reloadRouter: function reloadRouter() {
  3895. var _this8 = this;
  3896. var ignoreTransition = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
  3897. this.isRouterAlive = false; // 默认在页面过渡结束后会设置 isRouterAlive 为 true
  3898. // 如果过渡事件失效,则需传入 ignoreTransition 为 true 手动更改
  3899. if (ignoreTransition) {
  3900. this.$nextTick(function () {
  3901. _this8.isRouterAlive = true;
  3902. });
  3903. }
  3904. },
  3905. // 页签过渡结束
  3906. onTabTransitionEnd: function onTabTransitionEnd() {
  3907. this.adjust();
  3908. },
  3909. // 页面过渡结束
  3910. onPageTransitionEnd: function onPageTransitionEnd() {
  3911. if (!this.isRouterAlive) this.isRouterAlive = true;
  3912. },
  3913. // 显示页签右键菜单
  3914. showContextmenu: function showContextmenu(id, index, e) {
  3915. // 菜单定位
  3916. var _ref13 = e || emptyObj,
  3917. top = _ref13.y,
  3918. left = _ref13.x;
  3919. assign_default()(this.contextmenu, {
  3920. id: id,
  3921. index: index,
  3922. top: top,
  3923. left: left
  3924. });
  3925. },
  3926. // 关闭页签右键菜单
  3927. hideContextmenu: function hideContextmenu() {
  3928. this.showContextmenu(null, -1);
  3929. },
  3930. // Tab滚动
  3931. tabScroll: function tabScroll(direction) {
  3932. var $tab = this.$el.querySelector('.router-tab-header');
  3933. var $scr = $tab.querySelector('.router-tab-scroll');
  3934. var space = $tab.clientWidth - 110;
  3935. scrollTo($scr, $scr.scrollLeft + (direction === 'left' ? -space : space));
  3936. },
  3937. // 调整Tab滚动显示
  3938. adjust: function adjust() {
  3939. var $tab = this.$el.querySelector('.router-tab-header');
  3940. var $scr = $tab.querySelector('.router-tab-scroll');
  3941. var $nav = $scr.querySelector('.router-tab-nav');
  3942. var $cur = $nav.querySelector('.actived');
  3943. var isScroll = $nav.clientWidth > $scr.clientWidth; // 判断是否需要滚动
  3944. $tab.classList[isScroll ? 'add' : 'remove']('is-scroll');
  3945. if ($cur && isScroll) {
  3946. scrollTo($scr, $cur.offsetLeft + ($cur.clientWidth - $scr.clientWidth) / 2);
  3947. }
  3948. },
  3949. // 修复:当快速频繁切换页签时,旧页面离开过渡效果尚未完成,新页面内容无法正常mount,内容节点为comment类型
  3950. fixCommentPage: function fixCommentPage() {
  3951. if (this.$refs.routerAlive.$el.nodeType === 8) {
  3952. this.reloadRouter(true);
  3953. }
  3954. }
  3955. }
  3956. });
  3957. // CONCATENATED MODULE: ./src/lib/RouterTab/components/RouterTab.js?vue&type=script&lang=js&
  3958. /* harmony default export */ var components_RouterTabvue_type_script_lang_js_ = (RouterTabvue_type_script_lang_js_);
  3959. // EXTERNAL MODULE: ./src/lib/RouterTab/scss/RouterTab.scss?vue&type=style&index=0&lang=scss&
  3960. var RouterTabvue_type_style_index_0_lang_scss_ = __webpack_require__("f143");
  3961. // EXTERNAL MODULE: ./src/lib/RouterTab/scss/transition.scss?vue&type=style&index=1&lang=scss&
  3962. var transitionvue_type_style_index_1_lang_scss_ = __webpack_require__("d8de");
  3963. // CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js
  3964. /* globals __VUE_SSR_CONTEXT__ */
  3965. // IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
  3966. // This module is a runtime utility for cleaner component module output and will
  3967. // be included in the final webpack user bundle.
  3968. function normalizeComponent (
  3969. scriptExports,
  3970. render,
  3971. staticRenderFns,
  3972. functionalTemplate,
  3973. injectStyles,
  3974. scopeId,
  3975. moduleIdentifier, /* server only */
  3976. shadowMode /* vue-cli only */
  3977. ) {
  3978. // Vue.extend constructor export interop
  3979. var options = typeof scriptExports === 'function'
  3980. ? scriptExports.options
  3981. : scriptExports
  3982. // render functions
  3983. if (render) {
  3984. options.render = render
  3985. options.staticRenderFns = staticRenderFns
  3986. options._compiled = true
  3987. }
  3988. // functional template
  3989. if (functionalTemplate) {
  3990. options.functional = true
  3991. }
  3992. // scopedId
  3993. if (scopeId) {
  3994. options._scopeId = 'data-v-' + scopeId
  3995. }
  3996. var hook
  3997. if (moduleIdentifier) { // server build
  3998. hook = function (context) {
  3999. // 2.3 injection
  4000. context =
  4001. context || // cached call
  4002. (this.$vnode && this.$vnode.ssrContext) || // stateful
  4003. (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
  4004. // 2.2 with runInNewContext: true
  4005. if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
  4006. context = __VUE_SSR_CONTEXT__
  4007. }
  4008. // inject component styles
  4009. if (injectStyles) {
  4010. injectStyles.call(this, context)
  4011. }
  4012. // register component module identifier for async chunk inferrence
  4013. if (context && context._registeredComponents) {
  4014. context._registeredComponents.add(moduleIdentifier)
  4015. }
  4016. }
  4017. // used by ssr in case component is cached and beforeCreate
  4018. // never gets called
  4019. options._ssrRegister = hook
  4020. } else if (injectStyles) {
  4021. hook = shadowMode
  4022. ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) }
  4023. : injectStyles
  4024. }
  4025. if (hook) {
  4026. if (options.functional) {
  4027. // for template-only hot-reload because in that case the render fn doesn't
  4028. // go through the normalizer
  4029. options._injectStyles = hook
  4030. // register for functioal component in vue file
  4031. var originalRender = options.render
  4032. options.render = function renderWithStyleInjection (h, context) {
  4033. hook.call(context)
  4034. return originalRender(h, context)
  4035. }
  4036. } else {
  4037. // inject component registration as beforeCreate hook
  4038. var existing = options.beforeCreate
  4039. options.beforeCreate = existing
  4040. ? [].concat(existing, hook)
  4041. : [hook]
  4042. }
  4043. }
  4044. return {
  4045. exports: scriptExports,
  4046. options: options
  4047. }
  4048. }
  4049. // CONCATENATED MODULE: ./src/lib/RouterTab/components/RouterTab.vue
  4050. /* normalize component */
  4051. var component = normalizeComponent(
  4052. components_RouterTabvue_type_script_lang_js_,
  4053. RouterTabvue_type_template_id_275388c3_render,
  4054. staticRenderFns,
  4055. false,
  4056. null,
  4057. null,
  4058. null
  4059. )
  4060. /* harmony default export */ var RouterTab = (component.exports);
  4061. // CONCATENATED MODULE: ./src/lib/RouterTab/index.js
  4062. // 安装
  4063. RouterTab.install = function install(Vue, options) {
  4064. if (install.installed) return;
  4065. install.installed = true;
  4066. Vue.component(RouterTab.name, RouterTab);
  4067. Vue.mixin(RouterPage);
  4068. }; // 如果浏览器环境且拥有全局Vue,则自动安装组件
  4069. if (typeof window !== 'undefined' && window.Vue) {
  4070. window.Vue.use(RouterTab);
  4071. }
  4072. /* harmony default export */ var lib_RouterTab = (RouterTab);
  4073. // CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
  4074. /* harmony default export */ var entry_lib = __webpack_exports__["default"] = (lib_RouterTab);
  4075. /***/ })
  4076. /******/ });
  4077. //# sourceMappingURL=vue-router-tab.common.js.map