vue-router-tab.umd.js 151 KB

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