zx-contextmenu.umd.js 125 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034
  1. (function webpackUniversalModuleDefinition(root, factory) {
  2. if(typeof exports === 'object' && typeof module === 'object')
  3. module.exports = factory();
  4. else if(typeof define === 'function' && define.amd)
  5. define([], factory);
  6. else if(typeof exports === 'object')
  7. exports["zx-contextmenu"] = factory();
  8. else
  9. root["zx-contextmenu"] = factory();
  10. })((typeof self !== 'undefined' ? self : this), function() {
  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 = "fa7c");
  95. /******/ })
  96. /************************************************************************/
  97. /******/ ({
  98. /***/ "0288":
  99. /***/ (function(module, exports) {
  100. var g;
  101. // This works in non-strict mode
  102. g = (function() {
  103. return this;
  104. })();
  105. try {
  106. // This works if eval is allowed (see CSP)
  107. g = g || new Function("return this")();
  108. } catch (e) {
  109. // This works if the window reference is available
  110. if (typeof window === "object") g = window;
  111. }
  112. // g can still be undefined, but nothing to do about it...
  113. // We return undefined, instead of nothing here, so it's
  114. // easier to handle this case. if(!global) { ...}
  115. module.exports = g;
  116. /***/ }),
  117. /***/ "053b":
  118. /***/ (function(module, exports, __webpack_require__) {
  119. var DESCRIPTORS = __webpack_require__("1e2c");
  120. var defineProperty = __webpack_require__("d910").f;
  121. var FunctionPrototype = Function.prototype;
  122. var FunctionPrototypeToString = FunctionPrototype.toString;
  123. var nameRE = /^\s*function ([^ (]*)/;
  124. var NAME = 'name';
  125. // Function instances `.name` property
  126. // https://tc39.github.io/ecma262/#sec-function-instances-name
  127. if (DESCRIPTORS && !(NAME in FunctionPrototype)) {
  128. defineProperty(FunctionPrototype, NAME, {
  129. configurable: true,
  130. get: function () {
  131. try {
  132. return FunctionPrototypeToString.call(this).match(nameRE)[1];
  133. } catch (error) {
  134. return '';
  135. }
  136. }
  137. });
  138. }
  139. /***/ }),
  140. /***/ "064b":
  141. /***/ (function(module, exports) {
  142. // iterable DOM collections
  143. // flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods
  144. module.exports = {
  145. CSSRuleList: 0,
  146. CSSStyleDeclaration: 0,
  147. CSSValueList: 0,
  148. ClientRectList: 0,
  149. DOMRectList: 0,
  150. DOMStringList: 0,
  151. DOMTokenList: 1,
  152. DataTransferItemList: 0,
  153. FileList: 0,
  154. HTMLAllCollection: 0,
  155. HTMLCollection: 0,
  156. HTMLFormElement: 0,
  157. HTMLSelectElement: 0,
  158. MediaList: 0,
  159. MimeTypeArray: 0,
  160. NamedNodeMap: 0,
  161. NodeList: 1,
  162. PaintRequestList: 0,
  163. Plugin: 0,
  164. PluginArray: 0,
  165. SVGLengthList: 0,
  166. SVGNumberList: 0,
  167. SVGPathSegList: 0,
  168. SVGPointList: 0,
  169. SVGStringList: 0,
  170. SVGTransformList: 0,
  171. SourceBufferList: 0,
  172. StyleSheetList: 0,
  173. TextTrackCueList: 0,
  174. TextTrackList: 0,
  175. TouchList: 0
  176. };
  177. /***/ }),
  178. /***/ "08ba":
  179. /***/ (function(module, exports, __webpack_require__) {
  180. var global = __webpack_require__("d890");
  181. var DOMIterables = __webpack_require__("064b");
  182. var forEach = __webpack_require__("3c10");
  183. var createNonEnumerableProperty = __webpack_require__("0fc1");
  184. for (var COLLECTION_NAME in DOMIterables) {
  185. var Collection = global[COLLECTION_NAME];
  186. var CollectionPrototype = Collection && Collection.prototype;
  187. // some Chrome versions have non-configurable methods on DOMTokenList
  188. if (CollectionPrototype && CollectionPrototype.forEach !== forEach) try {
  189. createNonEnumerableProperty(CollectionPrototype, 'forEach', forEach);
  190. } catch (error) {
  191. CollectionPrototype.forEach = forEach;
  192. }
  193. }
  194. /***/ }),
  195. /***/ "0a51":
  196. /***/ (function(module, exports, __webpack_require__) {
  197. "use strict";
  198. // `Symbol.prototype.description` getter
  199. // https://tc39.github.io/ecma262/#sec-symbol.prototype.description
  200. var $ = __webpack_require__("1c8b");
  201. var DESCRIPTORS = __webpack_require__("1e2c");
  202. var global = __webpack_require__("d890");
  203. var has = __webpack_require__("faa8");
  204. var isObject = __webpack_require__("a719");
  205. var defineProperty = __webpack_require__("d910").f;
  206. var copyConstructorProperties = __webpack_require__("c69d");
  207. var NativeSymbol = global.Symbol;
  208. if (DESCRIPTORS && typeof NativeSymbol == 'function' && (!('description' in NativeSymbol.prototype) ||
  209. // Safari 12 bug
  210. NativeSymbol().description !== undefined
  211. )) {
  212. var EmptyStringDescriptionStore = {};
  213. // wrap Symbol constructor for correct work with undefined description
  214. var SymbolWrapper = function Symbol() {
  215. var description = arguments.length < 1 || arguments[0] === undefined ? undefined : String(arguments[0]);
  216. var result = this instanceof SymbolWrapper
  217. ? new NativeSymbol(description)
  218. // in Edge 13, String(Symbol(undefined)) === 'Symbol(undefined)'
  219. : description === undefined ? NativeSymbol() : NativeSymbol(description);
  220. if (description === '') EmptyStringDescriptionStore[result] = true;
  221. return result;
  222. };
  223. copyConstructorProperties(SymbolWrapper, NativeSymbol);
  224. var symbolPrototype = SymbolWrapper.prototype = NativeSymbol.prototype;
  225. symbolPrototype.constructor = SymbolWrapper;
  226. var symbolToString = symbolPrototype.toString;
  227. var native = String(NativeSymbol('test')) == 'Symbol(test)';
  228. var regexp = /^Symbol\((.*)\)[^)]+$/;
  229. defineProperty(symbolPrototype, 'description', {
  230. configurable: true,
  231. get: function description() {
  232. var symbol = isObject(this) ? this.valueOf() : this;
  233. var string = symbolToString.call(symbol);
  234. if (has(EmptyStringDescriptionStore, symbol)) return '';
  235. var desc = native ? string.slice(7, -1) : string.replace(regexp, '$1');
  236. return desc === '' ? undefined : desc;
  237. }
  238. });
  239. $({ global: true, forced: true }, {
  240. Symbol: SymbolWrapper
  241. });
  242. }
  243. /***/ }),
  244. /***/ "0a60":
  245. /***/ (function(module, exports) {
  246. exports.f = Object.getOwnPropertySymbols;
  247. /***/ }),
  248. /***/ "0c3c":
  249. /***/ (function(module, exports) {
  250. module.exports = function (it) {
  251. if (typeof it != 'function') {
  252. throw TypeError(String(it) + ' is not a function');
  253. } return it;
  254. };
  255. /***/ }),
  256. /***/ "0fc1":
  257. /***/ (function(module, exports, __webpack_require__) {
  258. var DESCRIPTORS = __webpack_require__("1e2c");
  259. var definePropertyModule = __webpack_require__("d910");
  260. var createPropertyDescriptor = __webpack_require__("38b9");
  261. module.exports = DESCRIPTORS ? function (object, key, value) {
  262. return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));
  263. } : function (object, key, value) {
  264. object[key] = value;
  265. return object;
  266. };
  267. /***/ }),
  268. /***/ "1025":
  269. /***/ (function(module, exports, __webpack_require__) {
  270. var store = __webpack_require__("3a08");
  271. var functionToString = Function.toString;
  272. // this helper broken in `3.4.1-3.4.4`, so we can't use `shared` helper
  273. if (typeof store.inspectSource != 'function') {
  274. store.inspectSource = function (it) {
  275. return functionToString.call(it);
  276. };
  277. }
  278. module.exports = store.inspectSource;
  279. /***/ }),
  280. /***/ "18f6":
  281. /***/ (function(module, exports) {
  282. // IE8- don't enum bug keys
  283. module.exports = [
  284. 'constructor',
  285. 'hasOwnProperty',
  286. 'isPrototypeOf',
  287. 'propertyIsEnumerable',
  288. 'toLocaleString',
  289. 'toString',
  290. 'valueOf'
  291. ];
  292. /***/ }),
  293. /***/ "1944":
  294. /***/ (function(module, exports, __webpack_require__) {
  295. var global = __webpack_require__("d890");
  296. var createNonEnumerableProperty = __webpack_require__("0fc1");
  297. var has = __webpack_require__("faa8");
  298. var setGlobal = __webpack_require__("e4db");
  299. var inspectSource = __webpack_require__("1025");
  300. var InternalStateModule = __webpack_require__("b702");
  301. var getInternalState = InternalStateModule.get;
  302. var enforceInternalState = InternalStateModule.enforce;
  303. var TEMPLATE = String(String).split('String');
  304. (module.exports = function (O, key, value, options) {
  305. var unsafe = options ? !!options.unsafe : false;
  306. var simple = options ? !!options.enumerable : false;
  307. var noTargetGet = options ? !!options.noTargetGet : false;
  308. if (typeof value == 'function') {
  309. if (typeof key == 'string' && !has(value, 'name')) createNonEnumerableProperty(value, 'name', key);
  310. enforceInternalState(value).source = TEMPLATE.join(typeof key == 'string' ? key : '');
  311. }
  312. if (O === global) {
  313. if (simple) O[key] = value;
  314. else setGlobal(key, value);
  315. return;
  316. } else if (!unsafe) {
  317. delete O[key];
  318. } else if (!noTargetGet && O[key]) {
  319. simple = true;
  320. }
  321. if (simple) O[key] = value;
  322. else createNonEnumerableProperty(O, key, value);
  323. // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
  324. })(Function.prototype, 'toString', function toString() {
  325. return typeof this == 'function' && getInternalState(this).source || inspectSource(this);
  326. });
  327. /***/ }),
  328. /***/ "1b99":
  329. /***/ (function(module, exports, __webpack_require__) {
  330. var global = __webpack_require__("d890");
  331. module.exports = global;
  332. /***/ }),
  333. /***/ "1bbd":
  334. /***/ (function(module, exports, __webpack_require__) {
  335. "use strict";
  336. var toPrimitive = __webpack_require__("9f67");
  337. var definePropertyModule = __webpack_require__("d910");
  338. var createPropertyDescriptor = __webpack_require__("38b9");
  339. module.exports = function (object, key, value) {
  340. var propertyKey = toPrimitive(key);
  341. if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value));
  342. else object[propertyKey] = value;
  343. };
  344. /***/ }),
  345. /***/ "1c2e":
  346. /***/ (function(module, exports, __webpack_require__) {
  347. "use strict";
  348. var redefine = __webpack_require__("1944");
  349. var anObject = __webpack_require__("857c");
  350. var fails = __webpack_require__("efe2");
  351. var flags = __webpack_require__("99ad");
  352. var TO_STRING = 'toString';
  353. var RegExpPrototype = RegExp.prototype;
  354. var nativeToString = RegExpPrototype[TO_STRING];
  355. var NOT_GENERIC = fails(function () { return nativeToString.call({ source: 'a', flags: 'b' }) != '/a/b'; });
  356. // FF44- RegExp#toString has a wrong name
  357. var INCORRECT_NAME = nativeToString.name != TO_STRING;
  358. // `RegExp.prototype.toString` method
  359. // https://tc39.github.io/ecma262/#sec-regexp.prototype.tostring
  360. if (NOT_GENERIC || INCORRECT_NAME) {
  361. redefine(RegExp.prototype, TO_STRING, function toString() {
  362. var R = anObject(this);
  363. var p = String(R.source);
  364. var rf = R.flags;
  365. var f = String(rf === undefined && R instanceof RegExp && !('flags' in RegExpPrototype) ? flags.call(R) : rf);
  366. return '/' + p + '/' + f;
  367. }, { unsafe: true });
  368. }
  369. /***/ }),
  370. /***/ "1c8b":
  371. /***/ (function(module, exports, __webpack_require__) {
  372. var global = __webpack_require__("d890");
  373. var getOwnPropertyDescriptor = __webpack_require__("aa6b").f;
  374. var createNonEnumerableProperty = __webpack_require__("0fc1");
  375. var redefine = __webpack_require__("1944");
  376. var setGlobal = __webpack_require__("e4db");
  377. var copyConstructorProperties = __webpack_require__("c69d");
  378. var isForced = __webpack_require__("e8d6");
  379. /*
  380. options.target - name of the target object
  381. options.global - target is the global object
  382. options.stat - export as static methods of target
  383. options.proto - export as prototype methods of target
  384. options.real - real prototype method for the `pure` version
  385. options.forced - export even if the native feature is available
  386. options.bind - bind methods to the target, required for the `pure` version
  387. options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
  388. options.unsafe - use the simple assignment of property instead of delete + defineProperty
  389. options.sham - add a flag to not completely full polyfills
  390. options.enumerable - export as enumerable property
  391. options.noTargetGet - prevent calling a getter on target
  392. */
  393. module.exports = function (options, source) {
  394. var TARGET = options.target;
  395. var GLOBAL = options.global;
  396. var STATIC = options.stat;
  397. var FORCED, target, key, targetProperty, sourceProperty, descriptor;
  398. if (GLOBAL) {
  399. target = global;
  400. } else if (STATIC) {
  401. target = global[TARGET] || setGlobal(TARGET, {});
  402. } else {
  403. target = (global[TARGET] || {}).prototype;
  404. }
  405. if (target) for (key in source) {
  406. sourceProperty = source[key];
  407. if (options.noTargetGet) {
  408. descriptor = getOwnPropertyDescriptor(target, key);
  409. targetProperty = descriptor && descriptor.value;
  410. } else targetProperty = target[key];
  411. FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
  412. // contained in target
  413. if (!FORCED && targetProperty !== undefined) {
  414. if (typeof sourceProperty === typeof targetProperty) continue;
  415. copyConstructorProperties(sourceProperty, targetProperty);
  416. }
  417. // add a flag to not completely full polyfills
  418. if (options.sham || (targetProperty && targetProperty.sham)) {
  419. createNonEnumerableProperty(sourceProperty, 'sham', true);
  420. }
  421. // extend global
  422. redefine(target, key, sourceProperty, options);
  423. }
  424. };
  425. /***/ }),
  426. /***/ "1ca1":
  427. /***/ (function(module, exports, __webpack_require__) {
  428. var isObject = __webpack_require__("a719");
  429. var isArray = __webpack_require__("74e7");
  430. var wellKnownSymbol = __webpack_require__("90fb");
  431. var SPECIES = wellKnownSymbol('species');
  432. // `ArraySpeciesCreate` abstract operation
  433. // https://tc39.github.io/ecma262/#sec-arrayspeciescreate
  434. module.exports = function (originalArray, length) {
  435. var C;
  436. if (isArray(originalArray)) {
  437. C = originalArray.constructor;
  438. // cross-realm fallback
  439. if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;
  440. else if (isObject(C)) {
  441. C = C[SPECIES];
  442. if (C === null) C = undefined;
  443. }
  444. } return new (C === undefined ? Array : C)(length === 0 ? 0 : length);
  445. };
  446. /***/ }),
  447. /***/ "1e2c":
  448. /***/ (function(module, exports, __webpack_require__) {
  449. var fails = __webpack_require__("efe2");
  450. // Thank's IE8 for his funny defineProperty
  451. module.exports = !fails(function () {
  452. return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
  453. });
  454. /***/ }),
  455. /***/ "1ea7":
  456. /***/ (function(module, exports, __webpack_require__) {
  457. var fails = __webpack_require__("efe2");
  458. var wellKnownSymbol = __webpack_require__("90fb");
  459. var V8_VERSION = __webpack_require__("f594");
  460. var SPECIES = wellKnownSymbol('species');
  461. module.exports = function (METHOD_NAME) {
  462. // We can't use this feature detection in V8 since it causes
  463. // deoptimization and serious performance degradation
  464. // https://github.com/zloirock/core-js/issues/677
  465. return V8_VERSION >= 51 || !fails(function () {
  466. var array = [];
  467. var constructor = array.constructor = {};
  468. constructor[SPECIES] = function () {
  469. return { foo: 1 };
  470. };
  471. return array[METHOD_NAME](Boolean).foo !== 1;
  472. });
  473. };
  474. /***/ }),
  475. /***/ "2039":
  476. /***/ (function(module, exports, __webpack_require__) {
  477. var DESCRIPTORS = __webpack_require__("1e2c");
  478. var fails = __webpack_require__("efe2");
  479. var createElement = __webpack_require__("ae25");
  480. // Thank's IE8 for his funny defineProperty
  481. module.exports = !DESCRIPTORS && !fails(function () {
  482. return Object.defineProperty(createElement('div'), 'a', {
  483. get: function () { return 7; }
  484. }).a != 7;
  485. });
  486. /***/ }),
  487. /***/ "2118":
  488. /***/ (function(module, exports) {
  489. var toString = {}.toString;
  490. module.exports = function (it) {
  491. return toString.call(it).slice(8, -1);
  492. };
  493. /***/ }),
  494. /***/ "258f":
  495. /***/ (function(module, exports, __webpack_require__) {
  496. var wellKnownSymbol = __webpack_require__("90fb");
  497. var create = __webpack_require__("6d60");
  498. var definePropertyModule = __webpack_require__("d910");
  499. var UNSCOPABLES = wellKnownSymbol('unscopables');
  500. var ArrayPrototype = Array.prototype;
  501. // Array.prototype[@@unscopables]
  502. // https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables
  503. if (ArrayPrototype[UNSCOPABLES] == undefined) {
  504. definePropertyModule.f(ArrayPrototype, UNSCOPABLES, {
  505. configurable: true,
  506. value: create(null)
  507. });
  508. }
  509. // add a key to Array.prototype[@@unscopables]
  510. module.exports = function (key) {
  511. ArrayPrototype[UNSCOPABLES][key] = true;
  512. };
  513. /***/ }),
  514. /***/ "2732":
  515. /***/ (function(module, exports) {
  516. // `RequireObjectCoercible` abstract operation
  517. // https://tc39.github.io/ecma262/#sec-requireobjectcoercible
  518. module.exports = function (it) {
  519. if (it == undefined) throw TypeError("Can't call method on " + it);
  520. return it;
  521. };
  522. /***/ }),
  523. /***/ "27b5":
  524. /***/ (function(module, exports, __webpack_require__) {
  525. var defineProperty = __webpack_require__("d910").f;
  526. var has = __webpack_require__("faa8");
  527. var wellKnownSymbol = __webpack_require__("90fb");
  528. var TO_STRING_TAG = wellKnownSymbol('toStringTag');
  529. module.exports = function (it, TAG, STATIC) {
  530. if (it && !has(it = STATIC ? it : it.prototype, TO_STRING_TAG)) {
  531. defineProperty(it, TO_STRING_TAG, { configurable: true, value: TAG });
  532. }
  533. };
  534. /***/ }),
  535. /***/ "2a91":
  536. /***/ (function(module, exports, __webpack_require__) {
  537. var TO_STRING_TAG_SUPPORT = __webpack_require__("47ae");
  538. var classofRaw = __webpack_require__("2118");
  539. var wellKnownSymbol = __webpack_require__("90fb");
  540. var TO_STRING_TAG = wellKnownSymbol('toStringTag');
  541. // ES3 wrong here
  542. var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
  543. // fallback for IE11 Script Access Denied error
  544. var tryGet = function (it, key) {
  545. try {
  546. return it[key];
  547. } catch (error) { /* empty */ }
  548. };
  549. // getting tag from ES6+ `Object.prototype.toString`
  550. module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
  551. var O, tag, result;
  552. return it === undefined ? 'Undefined' : it === null ? 'Null'
  553. // @@toStringTag case
  554. : typeof (tag = tryGet(O = Object(it), TO_STRING_TAG)) == 'string' ? tag
  555. // builtinTag case
  556. : CORRECT_ARGUMENTS ? classofRaw(O)
  557. // ES3 arguments fallback
  558. : (result = classofRaw(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : result;
  559. };
  560. /***/ }),
  561. /***/ "2abc":
  562. /***/ (function(module, exports, __webpack_require__) {
  563. "use strict";
  564. var getPrototypeOf = __webpack_require__("908e");
  565. var createNonEnumerableProperty = __webpack_require__("0fc1");
  566. var has = __webpack_require__("faa8");
  567. var wellKnownSymbol = __webpack_require__("90fb");
  568. var IS_PURE = __webpack_require__("9b9d");
  569. var ITERATOR = wellKnownSymbol('iterator');
  570. var BUGGY_SAFARI_ITERATORS = false;
  571. var returnThis = function () { return this; };
  572. // `%IteratorPrototype%` object
  573. // https://tc39.github.io/ecma262/#sec-%iteratorprototype%-object
  574. var IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator;
  575. if ([].keys) {
  576. arrayIterator = [].keys();
  577. // Safari 8 has buggy iterators w/o `next`
  578. if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true;
  579. else {
  580. PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator));
  581. if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype;
  582. }
  583. }
  584. if (IteratorPrototype == undefined) IteratorPrototype = {};
  585. // 25.1.2.1.1 %IteratorPrototype%[@@iterator]()
  586. if (!IS_PURE && !has(IteratorPrototype, ITERATOR)) {
  587. createNonEnumerableProperty(IteratorPrototype, ITERATOR, returnThis);
  588. }
  589. module.exports = {
  590. IteratorPrototype: IteratorPrototype,
  591. BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS
  592. };
  593. /***/ }),
  594. /***/ "3553":
  595. /***/ (function(module, exports, __webpack_require__) {
  596. var requireObjectCoercible = __webpack_require__("2732");
  597. // `ToObject` abstract operation
  598. // https://tc39.github.io/ecma262/#sec-toobject
  599. module.exports = function (argument) {
  600. return Object(requireObjectCoercible(argument));
  601. };
  602. /***/ }),
  603. /***/ "38b9":
  604. /***/ (function(module, exports) {
  605. module.exports = function (bitmap, value) {
  606. return {
  607. enumerable: !(bitmap & 1),
  608. configurable: !(bitmap & 2),
  609. writable: !(bitmap & 4),
  610. value: value
  611. };
  612. };
  613. /***/ }),
  614. /***/ "3a08":
  615. /***/ (function(module, exports, __webpack_require__) {
  616. var global = __webpack_require__("d890");
  617. var setGlobal = __webpack_require__("e4db");
  618. var SHARED = '__core-js_shared__';
  619. var store = global[SHARED] || setGlobal(SHARED, {});
  620. module.exports = store;
  621. /***/ }),
  622. /***/ "3c10":
  623. /***/ (function(module, exports, __webpack_require__) {
  624. "use strict";
  625. var $forEach = __webpack_require__("5dfd").forEach;
  626. var arrayMethodIsStrict = __webpack_require__("d7e1");
  627. var arrayMethodUsesToLength = __webpack_require__("ff9c");
  628. var STRICT_METHOD = arrayMethodIsStrict('forEach');
  629. var USES_TO_LENGTH = arrayMethodUsesToLength('forEach');
  630. // `Array.prototype.forEach` method implementation
  631. // https://tc39.github.io/ecma262/#sec-array.prototype.foreach
  632. module.exports = (!STRICT_METHOD || !USES_TO_LENGTH) ? function forEach(callbackfn /* , thisArg */) {
  633. return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
  634. } : [].forEach;
  635. /***/ }),
  636. /***/ "3da3":
  637. /***/ (function(module, exports) {
  638. var ceil = Math.ceil;
  639. var floor = Math.floor;
  640. // `ToInteger` abstract operation
  641. // https://tc39.github.io/ecma262/#sec-tointeger
  642. module.exports = function (argument) {
  643. return isNaN(argument = +argument) ? 0 : (argument > 0 ? floor : ceil)(argument);
  644. };
  645. /***/ }),
  646. /***/ "4194":
  647. /***/ (function(module, exports, __webpack_require__) {
  648. "use strict";
  649. var $ = __webpack_require__("1c8b");
  650. var $find = __webpack_require__("5dfd").find;
  651. var addToUnscopables = __webpack_require__("258f");
  652. var arrayMethodUsesToLength = __webpack_require__("ff9c");
  653. var FIND = 'find';
  654. var SKIPS_HOLES = true;
  655. var USES_TO_LENGTH = arrayMethodUsesToLength(FIND);
  656. // Shouldn't skip holes
  657. if (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES = false; });
  658. // `Array.prototype.find` method
  659. // https://tc39.github.io/ecma262/#sec-array.prototype.find
  660. $({ target: 'Array', proto: true, forced: SKIPS_HOLES || !USES_TO_LENGTH }, {
  661. find: function find(callbackfn /* , that = undefined */) {
  662. return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
  663. }
  664. });
  665. // https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables
  666. addToUnscopables(FIND);
  667. /***/ }),
  668. /***/ "4350":
  669. /***/ (function(module, exports, __webpack_require__) {
  670. var wellKnownSymbol = __webpack_require__("90fb");
  671. exports.f = wellKnownSymbol;
  672. /***/ }),
  673. /***/ "45af":
  674. /***/ (function(module, exports, __webpack_require__) {
  675. var toIndexedObject = __webpack_require__("da10");
  676. var toLength = __webpack_require__("d88d");
  677. var toAbsoluteIndex = __webpack_require__("e1d6");
  678. // `Array.prototype.{ indexOf, includes }` methods implementation
  679. var createMethod = function (IS_INCLUDES) {
  680. return function ($this, el, fromIndex) {
  681. var O = toIndexedObject($this);
  682. var length = toLength(O.length);
  683. var index = toAbsoluteIndex(fromIndex, length);
  684. var value;
  685. // Array#includes uses SameValueZero equality algorithm
  686. // eslint-disable-next-line no-self-compare
  687. if (IS_INCLUDES && el != el) while (length > index) {
  688. value = O[index++];
  689. // eslint-disable-next-line no-self-compare
  690. if (value != value) return true;
  691. // Array#indexOf ignores holes, Array#includes - not
  692. } else for (;length > index; index++) {
  693. if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
  694. } return !IS_INCLUDES && -1;
  695. };
  696. };
  697. module.exports = {
  698. // `Array.prototype.includes` method
  699. // https://tc39.github.io/ecma262/#sec-array.prototype.includes
  700. includes: createMethod(true),
  701. // `Array.prototype.indexOf` method
  702. // https://tc39.github.io/ecma262/#sec-array.prototype.indexof
  703. indexOf: createMethod(false)
  704. };
  705. /***/ }),
  706. /***/ "47ae":
  707. /***/ (function(module, exports, __webpack_require__) {
  708. var wellKnownSymbol = __webpack_require__("90fb");
  709. var TO_STRING_TAG = wellKnownSymbol('toStringTag');
  710. var test = {};
  711. test[TO_STRING_TAG] = 'z';
  712. module.exports = String(test) === '[object z]';
  713. /***/ }),
  714. /***/ "4fda":
  715. /***/ (function(module, exports, __webpack_require__) {
  716. var getBuiltIn = __webpack_require__("6d7a");
  717. module.exports = getBuiltIn('navigator', 'userAgent') || '';
  718. /***/ }),
  719. /***/ "50fb":
  720. /***/ (function(module, exports, __webpack_require__) {
  721. var anObject = __webpack_require__("857c");
  722. var aPossiblePrototype = __webpack_require__("d1fd");
  723. // `Object.setPrototypeOf` method
  724. // https://tc39.github.io/ecma262/#sec-object.setprototypeof
  725. // Works with __proto__ only. Old v8 can't work with null proto objects.
  726. /* eslint-disable no-proto */
  727. module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {
  728. var CORRECT_SETTER = false;
  729. var test = {};
  730. var setter;
  731. try {
  732. setter = Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set;
  733. setter.call(test, []);
  734. CORRECT_SETTER = test instanceof Array;
  735. } catch (error) { /* empty */ }
  736. return function setPrototypeOf(O, proto) {
  737. anObject(O);
  738. aPossiblePrototype(proto);
  739. if (CORRECT_SETTER) setter.call(O, proto);
  740. else O.__proto__ = proto;
  741. return O;
  742. };
  743. }() : undefined);
  744. /***/ }),
  745. /***/ "513c":
  746. /***/ (function(module, exports, __webpack_require__) {
  747. "use strict";
  748. var DESCRIPTORS = __webpack_require__("1e2c");
  749. var global = __webpack_require__("d890");
  750. var isForced = __webpack_require__("e8d6");
  751. var redefine = __webpack_require__("1944");
  752. var has = __webpack_require__("faa8");
  753. var classof = __webpack_require__("2118");
  754. var inheritIfRequired = __webpack_require__("7063");
  755. var toPrimitive = __webpack_require__("9f67");
  756. var fails = __webpack_require__("efe2");
  757. var create = __webpack_require__("6d60");
  758. var getOwnPropertyNames = __webpack_require__("b338").f;
  759. var getOwnPropertyDescriptor = __webpack_require__("aa6b").f;
  760. var defineProperty = __webpack_require__("d910").f;
  761. var trim = __webpack_require__("c10f").trim;
  762. var NUMBER = 'Number';
  763. var NativeNumber = global[NUMBER];
  764. var NumberPrototype = NativeNumber.prototype;
  765. // Opera ~12 has broken Object#toString
  766. var BROKEN_CLASSOF = classof(create(NumberPrototype)) == NUMBER;
  767. // `ToNumber` abstract operation
  768. // https://tc39.github.io/ecma262/#sec-tonumber
  769. var toNumber = function (argument) {
  770. var it = toPrimitive(argument, false);
  771. var first, third, radix, maxCode, digits, length, index, code;
  772. if (typeof it == 'string' && it.length > 2) {
  773. it = trim(it);
  774. first = it.charCodeAt(0);
  775. if (first === 43 || first === 45) {
  776. third = it.charCodeAt(2);
  777. if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix
  778. } else if (first === 48) {
  779. switch (it.charCodeAt(1)) {
  780. case 66: case 98: radix = 2; maxCode = 49; break; // fast equal of /^0b[01]+$/i
  781. case 79: case 111: radix = 8; maxCode = 55; break; // fast equal of /^0o[0-7]+$/i
  782. default: return +it;
  783. }
  784. digits = it.slice(2);
  785. length = digits.length;
  786. for (index = 0; index < length; index++) {
  787. code = digits.charCodeAt(index);
  788. // parseInt parses a string to a first unavailable symbol
  789. // but ToNumber should return NaN if a string contains unavailable symbols
  790. if (code < 48 || code > maxCode) return NaN;
  791. } return parseInt(digits, radix);
  792. }
  793. } return +it;
  794. };
  795. // `Number` constructor
  796. // https://tc39.github.io/ecma262/#sec-number-constructor
  797. if (isForced(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNumber('+0x1'))) {
  798. var NumberWrapper = function Number(value) {
  799. var it = arguments.length < 1 ? 0 : value;
  800. var dummy = this;
  801. return dummy instanceof NumberWrapper
  802. // check on 1..constructor(foo) case
  803. && (BROKEN_CLASSOF ? fails(function () { NumberPrototype.valueOf.call(dummy); }) : classof(dummy) != NUMBER)
  804. ? inheritIfRequired(new NativeNumber(toNumber(it)), dummy, NumberWrapper) : toNumber(it);
  805. };
  806. for (var keys = DESCRIPTORS ? getOwnPropertyNames(NativeNumber) : (
  807. // ES3:
  808. 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +
  809. // ES2015 (in case, if modules with ES2015 Number statics required before):
  810. 'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' +
  811. 'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger'
  812. ).split(','), j = 0, key; keys.length > j; j++) {
  813. if (has(NativeNumber, key = keys[j]) && !has(NumberWrapper, key)) {
  814. defineProperty(NumberWrapper, key, getOwnPropertyDescriptor(NativeNumber, key));
  815. }
  816. }
  817. NumberWrapper.prototype = NumberPrototype;
  818. NumberPrototype.constructor = NumberWrapper;
  819. redefine(global, NUMBER, NumberWrapper);
  820. }
  821. /***/ }),
  822. /***/ "52f9":
  823. /***/ (function(module, exports, __webpack_require__) {
  824. "use strict";
  825. var TO_STRING_TAG_SUPPORT = __webpack_require__("47ae");
  826. var classof = __webpack_require__("2a91");
  827. // `Object.prototype.toString` method implementation
  828. // https://tc39.github.io/ecma262/#sec-object.prototype.tostring
  829. module.exports = TO_STRING_TAG_SUPPORT ? {}.toString : function toString() {
  830. return '[object ' + classof(this) + ']';
  831. };
  832. /***/ }),
  833. /***/ "5717":
  834. /***/ (function(module, exports, __webpack_require__) {
  835. // extracted by mini-css-extract-plugin
  836. /***/ }),
  837. /***/ "5dfd":
  838. /***/ (function(module, exports, __webpack_require__) {
  839. var bind = __webpack_require__("e349");
  840. var IndexedObject = __webpack_require__("692f");
  841. var toObject = __webpack_require__("3553");
  842. var toLength = __webpack_require__("d88d");
  843. var arraySpeciesCreate = __webpack_require__("1ca1");
  844. var push = [].push;
  845. // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex }` methods implementation
  846. var createMethod = function (TYPE) {
  847. var IS_MAP = TYPE == 1;
  848. var IS_FILTER = TYPE == 2;
  849. var IS_SOME = TYPE == 3;
  850. var IS_EVERY = TYPE == 4;
  851. var IS_FIND_INDEX = TYPE == 6;
  852. var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
  853. return function ($this, callbackfn, that, specificCreate) {
  854. var O = toObject($this);
  855. var self = IndexedObject(O);
  856. var boundFunction = bind(callbackfn, that, 3);
  857. var length = toLength(self.length);
  858. var index = 0;
  859. var create = specificCreate || arraySpeciesCreate;
  860. var target = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined;
  861. var value, result;
  862. for (;length > index; index++) if (NO_HOLES || index in self) {
  863. value = self[index];
  864. result = boundFunction(value, index, O);
  865. if (TYPE) {
  866. if (IS_MAP) target[index] = result; // map
  867. else if (result) switch (TYPE) {
  868. case 3: return true; // some
  869. case 5: return value; // find
  870. case 6: return index; // findIndex
  871. case 2: push.call(target, value); // filter
  872. } else if (IS_EVERY) return false; // every
  873. }
  874. }
  875. return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;
  876. };
  877. };
  878. module.exports = {
  879. // `Array.prototype.forEach` method
  880. // https://tc39.github.io/ecma262/#sec-array.prototype.foreach
  881. forEach: createMethod(0),
  882. // `Array.prototype.map` method
  883. // https://tc39.github.io/ecma262/#sec-array.prototype.map
  884. map: createMethod(1),
  885. // `Array.prototype.filter` method
  886. // https://tc39.github.io/ecma262/#sec-array.prototype.filter
  887. filter: createMethod(2),
  888. // `Array.prototype.some` method
  889. // https://tc39.github.io/ecma262/#sec-array.prototype.some
  890. some: createMethod(3),
  891. // `Array.prototype.every` method
  892. // https://tc39.github.io/ecma262/#sec-array.prototype.every
  893. every: createMethod(4),
  894. // `Array.prototype.find` method
  895. // https://tc39.github.io/ecma262/#sec-array.prototype.find
  896. find: createMethod(5),
  897. // `Array.prototype.findIndex` method
  898. // https://tc39.github.io/ecma262/#sec-array.prototype.findIndex
  899. findIndex: createMethod(6)
  900. };
  901. /***/ }),
  902. /***/ "604f":
  903. /***/ (function(module, exports, __webpack_require__) {
  904. var global = __webpack_require__("d890");
  905. var inspectSource = __webpack_require__("1025");
  906. var WeakMap = global.WeakMap;
  907. module.exports = typeof WeakMap === 'function' && /native code/.test(inspectSource(WeakMap));
  908. /***/ }),
  909. /***/ "692f":
  910. /***/ (function(module, exports, __webpack_require__) {
  911. var fails = __webpack_require__("efe2");
  912. var classof = __webpack_require__("2118");
  913. var split = ''.split;
  914. // fallback for non-array-like ES3 and non-enumerable old V8 strings
  915. module.exports = fails(function () {
  916. // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
  917. // eslint-disable-next-line no-prototype-builtins
  918. return !Object('z').propertyIsEnumerable(0);
  919. }) ? function (it) {
  920. return classof(it) == 'String' ? split.call(it, '') : Object(it);
  921. } : Object;
  922. /***/ }),
  923. /***/ "69c5":
  924. /***/ (function(module, exports, __webpack_require__) {
  925. var anObject = __webpack_require__("857c");
  926. // call something on iterator step with safe closing on error
  927. module.exports = function (iterator, fn, value, ENTRIES) {
  928. try {
  929. return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value);
  930. // 7.4.6 IteratorClose(iterator, completion)
  931. } catch (error) {
  932. var returnMethod = iterator['return'];
  933. if (returnMethod !== undefined) anObject(returnMethod.call(iterator));
  934. throw error;
  935. }
  936. };
  937. /***/ }),
  938. /***/ "69fa":
  939. /***/ (function(module, exports, __webpack_require__) {
  940. "use strict";
  941. var IteratorPrototype = __webpack_require__("2abc").IteratorPrototype;
  942. var create = __webpack_require__("6d60");
  943. var createPropertyDescriptor = __webpack_require__("38b9");
  944. var setToStringTag = __webpack_require__("27b5");
  945. var Iterators = __webpack_require__("9806");
  946. var returnThis = function () { return this; };
  947. module.exports = function (IteratorConstructor, NAME, next) {
  948. var TO_STRING_TAG = NAME + ' Iterator';
  949. IteratorConstructor.prototype = create(IteratorPrototype, { next: createPropertyDescriptor(1, next) });
  950. setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true);
  951. Iterators[TO_STRING_TAG] = returnThis;
  952. return IteratorConstructor;
  953. };
  954. /***/ }),
  955. /***/ "6d28":
  956. /***/ (function(module, exports, __webpack_require__) {
  957. var IS_PURE = __webpack_require__("9b9d");
  958. var store = __webpack_require__("3a08");
  959. (module.exports = function (key, value) {
  960. return store[key] || (store[key] = value !== undefined ? value : {});
  961. })('versions', []).push({
  962. version: '3.6.5',
  963. mode: IS_PURE ? 'pure' : 'global',
  964. copyright: '© 2020 Denis Pushkarev (zloirock.ru)'
  965. });
  966. /***/ }),
  967. /***/ "6d51":
  968. /***/ (function(module, exports, __webpack_require__) {
  969. var path = __webpack_require__("1b99");
  970. var has = __webpack_require__("faa8");
  971. var wrappedWellKnownSymbolModule = __webpack_require__("4350");
  972. var defineProperty = __webpack_require__("d910").f;
  973. module.exports = function (NAME) {
  974. var Symbol = path.Symbol || (path.Symbol = {});
  975. if (!has(Symbol, NAME)) defineProperty(Symbol, NAME, {
  976. value: wrappedWellKnownSymbolModule.f(NAME)
  977. });
  978. };
  979. /***/ }),
  980. /***/ "6d60":
  981. /***/ (function(module, exports, __webpack_require__) {
  982. var anObject = __webpack_require__("857c");
  983. var defineProperties = __webpack_require__("dbe8");
  984. var enumBugKeys = __webpack_require__("18f6");
  985. var hiddenKeys = __webpack_require__("d5a8");
  986. var html = __webpack_require__("6fdf");
  987. var documentCreateElement = __webpack_require__("ae25");
  988. var sharedKey = __webpack_require__("7db2");
  989. var GT = '>';
  990. var LT = '<';
  991. var PROTOTYPE = 'prototype';
  992. var SCRIPT = 'script';
  993. var IE_PROTO = sharedKey('IE_PROTO');
  994. var EmptyConstructor = function () { /* empty */ };
  995. var scriptTag = function (content) {
  996. return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
  997. };
  998. // Create object with fake `null` prototype: use ActiveX Object with cleared prototype
  999. var NullProtoObjectViaActiveX = function (activeXDocument) {
  1000. activeXDocument.write(scriptTag(''));
  1001. activeXDocument.close();
  1002. var temp = activeXDocument.parentWindow.Object;
  1003. activeXDocument = null; // avoid memory leak
  1004. return temp;
  1005. };
  1006. // Create object with fake `null` prototype: use iframe Object with cleared prototype
  1007. var NullProtoObjectViaIFrame = function () {
  1008. // Thrash, waste and sodomy: IE GC bug
  1009. var iframe = documentCreateElement('iframe');
  1010. var JS = 'java' + SCRIPT + ':';
  1011. var iframeDocument;
  1012. iframe.style.display = 'none';
  1013. html.appendChild(iframe);
  1014. // https://github.com/zloirock/core-js/issues/475
  1015. iframe.src = String(JS);
  1016. iframeDocument = iframe.contentWindow.document;
  1017. iframeDocument.open();
  1018. iframeDocument.write(scriptTag('document.F=Object'));
  1019. iframeDocument.close();
  1020. return iframeDocument.F;
  1021. };
  1022. // Check for document.domain and active x support
  1023. // No need to use active x approach when document.domain is not set
  1024. // see https://github.com/es-shims/es5-shim/issues/150
  1025. // variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
  1026. // avoid IE GC bug
  1027. var activeXDocument;
  1028. var NullProtoObject = function () {
  1029. try {
  1030. /* global ActiveXObject */
  1031. activeXDocument = document.domain && new ActiveXObject('htmlfile');
  1032. } catch (error) { /* ignore */ }
  1033. NullProtoObject = activeXDocument ? NullProtoObjectViaActiveX(activeXDocument) : NullProtoObjectViaIFrame();
  1034. var length = enumBugKeys.length;
  1035. while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
  1036. return NullProtoObject();
  1037. };
  1038. hiddenKeys[IE_PROTO] = true;
  1039. // `Object.create` method
  1040. // https://tc39.github.io/ecma262/#sec-object.create
  1041. module.exports = Object.create || function create(O, Properties) {
  1042. var result;
  1043. if (O !== null) {
  1044. EmptyConstructor[PROTOTYPE] = anObject(O);
  1045. result = new EmptyConstructor();
  1046. EmptyConstructor[PROTOTYPE] = null;
  1047. // add "__proto__" for Object.getPrototypeOf polyfill
  1048. result[IE_PROTO] = O;
  1049. } else result = NullProtoObject();
  1050. return Properties === undefined ? result : defineProperties(result, Properties);
  1051. };
  1052. /***/ }),
  1053. /***/ "6d7a":
  1054. /***/ (function(module, exports, __webpack_require__) {
  1055. var path = __webpack_require__("1b99");
  1056. var global = __webpack_require__("d890");
  1057. var aFunction = function (variable) {
  1058. return typeof variable == 'function' ? variable : undefined;
  1059. };
  1060. module.exports = function (namespace, method) {
  1061. return arguments.length < 2 ? aFunction(path[namespace]) || aFunction(global[namespace])
  1062. : path[namespace] && path[namespace][method] || global[namespace] && global[namespace][method];
  1063. };
  1064. /***/ }),
  1065. /***/ "6fdf":
  1066. /***/ (function(module, exports, __webpack_require__) {
  1067. var getBuiltIn = __webpack_require__("6d7a");
  1068. module.exports = getBuiltIn('document', 'documentElement');
  1069. /***/ }),
  1070. /***/ "7063":
  1071. /***/ (function(module, exports, __webpack_require__) {
  1072. var isObject = __webpack_require__("a719");
  1073. var setPrototypeOf = __webpack_require__("50fb");
  1074. // makes subclassing work correct for wrapped built-ins
  1075. module.exports = function ($this, dummy, Wrapper) {
  1076. var NewTarget, NewTargetPrototype;
  1077. if (
  1078. // it can work only with native `setPrototypeOf`
  1079. setPrototypeOf &&
  1080. // we haven't completely correct pre-ES6 way for getting `new.target`, so use this
  1081. typeof (NewTarget = dummy.constructor) == 'function' &&
  1082. NewTarget !== Wrapper &&
  1083. isObject(NewTargetPrototype = NewTarget.prototype) &&
  1084. NewTargetPrototype !== Wrapper.prototype
  1085. ) setPrototypeOf($this, NewTargetPrototype);
  1086. return $this;
  1087. };
  1088. /***/ }),
  1089. /***/ "74cb":
  1090. /***/ (function(module, exports, __webpack_require__) {
  1091. var NATIVE_SYMBOL = __webpack_require__("c54b");
  1092. module.exports = NATIVE_SYMBOL
  1093. // eslint-disable-next-line no-undef
  1094. && !Symbol.sham
  1095. // eslint-disable-next-line no-undef
  1096. && typeof Symbol.iterator == 'symbol';
  1097. /***/ }),
  1098. /***/ "74e7":
  1099. /***/ (function(module, exports, __webpack_require__) {
  1100. var classof = __webpack_require__("2118");
  1101. // `IsArray` abstract operation
  1102. // https://tc39.github.io/ecma262/#sec-isarray
  1103. module.exports = Array.isArray || function isArray(arg) {
  1104. return classof(arg) == 'Array';
  1105. };
  1106. /***/ }),
  1107. /***/ "77ad":
  1108. /***/ (function(module, exports, __webpack_require__) {
  1109. "use strict";
  1110. var $ = __webpack_require__("1c8b");
  1111. var isObject = __webpack_require__("a719");
  1112. var isArray = __webpack_require__("74e7");
  1113. var toAbsoluteIndex = __webpack_require__("e1d6");
  1114. var toLength = __webpack_require__("d88d");
  1115. var toIndexedObject = __webpack_require__("da10");
  1116. var createProperty = __webpack_require__("1bbd");
  1117. var wellKnownSymbol = __webpack_require__("90fb");
  1118. var arrayMethodHasSpeciesSupport = __webpack_require__("1ea7");
  1119. var arrayMethodUsesToLength = __webpack_require__("ff9c");
  1120. var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('slice');
  1121. var USES_TO_LENGTH = arrayMethodUsesToLength('slice', { ACCESSORS: true, 0: 0, 1: 2 });
  1122. var SPECIES = wellKnownSymbol('species');
  1123. var nativeSlice = [].slice;
  1124. var max = Math.max;
  1125. // `Array.prototype.slice` method
  1126. // https://tc39.github.io/ecma262/#sec-array.prototype.slice
  1127. // fallback for not array-like ES3 strings and DOM objects
  1128. $({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGTH }, {
  1129. slice: function slice(start, end) {
  1130. var O = toIndexedObject(this);
  1131. var length = toLength(O.length);
  1132. var k = toAbsoluteIndex(start, length);
  1133. var fin = toAbsoluteIndex(end === undefined ? length : end, length);
  1134. // inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible
  1135. var Constructor, result, n;
  1136. if (isArray(O)) {
  1137. Constructor = O.constructor;
  1138. // cross-realm fallback
  1139. if (typeof Constructor == 'function' && (Constructor === Array || isArray(Constructor.prototype))) {
  1140. Constructor = undefined;
  1141. } else if (isObject(Constructor)) {
  1142. Constructor = Constructor[SPECIES];
  1143. if (Constructor === null) Constructor = undefined;
  1144. }
  1145. if (Constructor === Array || Constructor === undefined) {
  1146. return nativeSlice.call(O, k, fin);
  1147. }
  1148. }
  1149. result = new (Constructor === undefined ? Array : Constructor)(max(fin - k, 0));
  1150. for (n = 0; k < fin; k++, n++) if (k in O) createProperty(result, n, O[k]);
  1151. result.length = n;
  1152. return result;
  1153. }
  1154. });
  1155. /***/ }),
  1156. /***/ "79e4":
  1157. /***/ (function(module, exports, __webpack_require__) {
  1158. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;// addapted from the document.currentScript polyfill by Adam Miller
  1159. // MIT license
  1160. // source: https://github.com/amiller-gh/currentScript-polyfill
  1161. // added support for Firefox https://bugzilla.mozilla.org/show_bug.cgi?id=1620505
  1162. (function (root, factory) {
  1163. if (true) {
  1164. !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  1165. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  1166. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  1167. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
  1168. } else {}
  1169. }(typeof self !== 'undefined' ? self : this, function () {
  1170. function getCurrentScript () {
  1171. var descriptor = Object.getOwnPropertyDescriptor(document, 'currentScript')
  1172. // for chrome
  1173. if (!descriptor && 'currentScript' in document && document.currentScript) {
  1174. return document.currentScript
  1175. }
  1176. // for other browsers with native support for currentScript
  1177. if (descriptor && descriptor.get !== getCurrentScript && document.currentScript) {
  1178. return document.currentScript
  1179. }
  1180. // IE 8-10 support script readyState
  1181. // IE 11+ & Firefox support stack trace
  1182. try {
  1183. throw new Error();
  1184. }
  1185. catch (err) {
  1186. // Find the second match for the "at" string to get file src url from stack.
  1187. var ieStackRegExp = /.*at [^(]*\((.*):(.+):(.+)\)$/ig,
  1188. ffStackRegExp = /@([^@]*):(\d+):(\d+)\s*$/ig,
  1189. stackDetails = ieStackRegExp.exec(err.stack) || ffStackRegExp.exec(err.stack),
  1190. scriptLocation = (stackDetails && stackDetails[1]) || false,
  1191. line = (stackDetails && stackDetails[2]) || false,
  1192. currentLocation = document.location.href.replace(document.location.hash, ''),
  1193. pageSource,
  1194. inlineScriptSourceRegExp,
  1195. inlineScriptSource,
  1196. scripts = document.getElementsByTagName('script'); // Live NodeList collection
  1197. if (scriptLocation === currentLocation) {
  1198. pageSource = document.documentElement.outerHTML;
  1199. inlineScriptSourceRegExp = new RegExp('(?:[^\\n]+?\\n){0,' + (line - 2) + '}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*', 'i');
  1200. inlineScriptSource = pageSource.replace(inlineScriptSourceRegExp, '$1').trim();
  1201. }
  1202. for (var i = 0; i < scripts.length; i++) {
  1203. // If ready state is interactive, return the script tag
  1204. if (scripts[i].readyState === 'interactive') {
  1205. return scripts[i];
  1206. }
  1207. // If src matches, return the script tag
  1208. if (scripts[i].src === scriptLocation) {
  1209. return scripts[i];
  1210. }
  1211. // If inline source matches, return the script tag
  1212. if (
  1213. scriptLocation === currentLocation &&
  1214. scripts[i].innerHTML &&
  1215. scripts[i].innerHTML.trim() === inlineScriptSource
  1216. ) {
  1217. return scripts[i];
  1218. }
  1219. }
  1220. // If no match, return null
  1221. return null;
  1222. }
  1223. };
  1224. return getCurrentScript
  1225. }));
  1226. /***/ }),
  1227. /***/ "7db2":
  1228. /***/ (function(module, exports, __webpack_require__) {
  1229. var shared = __webpack_require__("6d28");
  1230. var uid = __webpack_require__("7e8b");
  1231. var keys = shared('keys');
  1232. module.exports = function (key) {
  1233. return keys[key] || (keys[key] = uid(key));
  1234. };
  1235. /***/ }),
  1236. /***/ "7e8b":
  1237. /***/ (function(module, exports) {
  1238. var id = 0;
  1239. var postfix = Math.random();
  1240. module.exports = function (key) {
  1241. return 'Symbol(' + String(key === undefined ? '' : key) + ')_' + (++id + postfix).toString(36);
  1242. };
  1243. /***/ }),
  1244. /***/ "857c":
  1245. /***/ (function(module, exports, __webpack_require__) {
  1246. var isObject = __webpack_require__("a719");
  1247. module.exports = function (it) {
  1248. if (!isObject(it)) {
  1249. throw TypeError(String(it) + ' is not an object');
  1250. } return it;
  1251. };
  1252. /***/ }),
  1253. /***/ "8d44":
  1254. /***/ (function(module, exports, __webpack_require__) {
  1255. var getBuiltIn = __webpack_require__("6d7a");
  1256. var getOwnPropertyNamesModule = __webpack_require__("b338");
  1257. var getOwnPropertySymbolsModule = __webpack_require__("0a60");
  1258. var anObject = __webpack_require__("857c");
  1259. // all object keys, includes non-enumerable and symbols
  1260. module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
  1261. var keys = getOwnPropertyNamesModule.f(anObject(it));
  1262. var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
  1263. return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it)) : keys;
  1264. };
  1265. /***/ }),
  1266. /***/ "908e":
  1267. /***/ (function(module, exports, __webpack_require__) {
  1268. var has = __webpack_require__("faa8");
  1269. var toObject = __webpack_require__("3553");
  1270. var sharedKey = __webpack_require__("7db2");
  1271. var CORRECT_PROTOTYPE_GETTER = __webpack_require__("eec6");
  1272. var IE_PROTO = sharedKey('IE_PROTO');
  1273. var ObjectPrototype = Object.prototype;
  1274. // `Object.getPrototypeOf` method
  1275. // https://tc39.github.io/ecma262/#sec-object.getprototypeof
  1276. module.exports = CORRECT_PROTOTYPE_GETTER ? Object.getPrototypeOf : function (O) {
  1277. O = toObject(O);
  1278. if (has(O, IE_PROTO)) return O[IE_PROTO];
  1279. if (typeof O.constructor == 'function' && O instanceof O.constructor) {
  1280. return O.constructor.prototype;
  1281. } return O instanceof Object ? ObjectPrototype : null;
  1282. };
  1283. /***/ }),
  1284. /***/ "90fb":
  1285. /***/ (function(module, exports, __webpack_require__) {
  1286. var global = __webpack_require__("d890");
  1287. var shared = __webpack_require__("6d28");
  1288. var has = __webpack_require__("faa8");
  1289. var uid = __webpack_require__("7e8b");
  1290. var NATIVE_SYMBOL = __webpack_require__("c54b");
  1291. var USE_SYMBOL_AS_UID = __webpack_require__("74cb");
  1292. var WellKnownSymbolsStore = shared('wks');
  1293. var Symbol = global.Symbol;
  1294. var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol : Symbol && Symbol.withoutSetter || uid;
  1295. module.exports = function (name) {
  1296. if (!has(WellKnownSymbolsStore, name)) {
  1297. if (NATIVE_SYMBOL && has(Symbol, name)) WellKnownSymbolsStore[name] = Symbol[name];
  1298. else WellKnownSymbolsStore[name] = createWellKnownSymbol('Symbol.' + name);
  1299. } return WellKnownSymbolsStore[name];
  1300. };
  1301. /***/ }),
  1302. /***/ "96db":
  1303. /***/ (function(module, exports, __webpack_require__) {
  1304. "use strict";
  1305. var charAt = __webpack_require__("f62c").charAt;
  1306. var InternalStateModule = __webpack_require__("b702");
  1307. var defineIterator = __webpack_require__("99ee");
  1308. var STRING_ITERATOR = 'String Iterator';
  1309. var setInternalState = InternalStateModule.set;
  1310. var getInternalState = InternalStateModule.getterFor(STRING_ITERATOR);
  1311. // `String.prototype[@@iterator]` method
  1312. // https://tc39.github.io/ecma262/#sec-string.prototype-@@iterator
  1313. defineIterator(String, 'String', function (iterated) {
  1314. setInternalState(this, {
  1315. type: STRING_ITERATOR,
  1316. string: String(iterated),
  1317. index: 0
  1318. });
  1319. // `%StringIteratorPrototype%.next` method
  1320. // https://tc39.github.io/ecma262/#sec-%stringiteratorprototype%.next
  1321. }, function next() {
  1322. var state = getInternalState(this);
  1323. var string = state.string;
  1324. var index = state.index;
  1325. var point;
  1326. if (index >= string.length) return { value: undefined, done: true };
  1327. point = charAt(string, index);
  1328. state.index += point.length;
  1329. return { value: point, done: false };
  1330. });
  1331. /***/ }),
  1332. /***/ "9806":
  1333. /***/ (function(module, exports) {
  1334. module.exports = {};
  1335. /***/ }),
  1336. /***/ "98a9":
  1337. /***/ (function(module, exports, __webpack_require__) {
  1338. var wellKnownSymbol = __webpack_require__("90fb");
  1339. var Iterators = __webpack_require__("9806");
  1340. var ITERATOR = wellKnownSymbol('iterator');
  1341. var ArrayPrototype = Array.prototype;
  1342. // check on default Array iterator
  1343. module.exports = function (it) {
  1344. return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it);
  1345. };
  1346. /***/ }),
  1347. /***/ "98e0":
  1348. /***/ (function(module, exports, __webpack_require__) {
  1349. var $ = __webpack_require__("1c8b");
  1350. var from = __webpack_require__("e62b");
  1351. var checkCorrectnessOfIteration = __webpack_require__("f471");
  1352. var INCORRECT_ITERATION = !checkCorrectnessOfIteration(function (iterable) {
  1353. Array.from(iterable);
  1354. });
  1355. // `Array.from` method
  1356. // https://tc39.github.io/ecma262/#sec-array.from
  1357. $({ target: 'Array', stat: true, forced: INCORRECT_ITERATION }, {
  1358. from: from
  1359. });
  1360. /***/ }),
  1361. /***/ "99ad":
  1362. /***/ (function(module, exports, __webpack_require__) {
  1363. "use strict";
  1364. var anObject = __webpack_require__("857c");
  1365. // `RegExp.prototype.flags` getter implementation
  1366. // https://tc39.github.io/ecma262/#sec-get-regexp.prototype.flags
  1367. module.exports = function () {
  1368. var that = anObject(this);
  1369. var result = '';
  1370. if (that.global) result += 'g';
  1371. if (that.ignoreCase) result += 'i';
  1372. if (that.multiline) result += 'm';
  1373. if (that.dotAll) result += 's';
  1374. if (that.unicode) result += 'u';
  1375. if (that.sticky) result += 'y';
  1376. return result;
  1377. };
  1378. /***/ }),
  1379. /***/ "99ee":
  1380. /***/ (function(module, exports, __webpack_require__) {
  1381. "use strict";
  1382. var $ = __webpack_require__("1c8b");
  1383. var createIteratorConstructor = __webpack_require__("69fa");
  1384. var getPrototypeOf = __webpack_require__("908e");
  1385. var setPrototypeOf = __webpack_require__("50fb");
  1386. var setToStringTag = __webpack_require__("27b5");
  1387. var createNonEnumerableProperty = __webpack_require__("0fc1");
  1388. var redefine = __webpack_require__("1944");
  1389. var wellKnownSymbol = __webpack_require__("90fb");
  1390. var IS_PURE = __webpack_require__("9b9d");
  1391. var Iterators = __webpack_require__("9806");
  1392. var IteratorsCore = __webpack_require__("2abc");
  1393. var IteratorPrototype = IteratorsCore.IteratorPrototype;
  1394. var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
  1395. var ITERATOR = wellKnownSymbol('iterator');
  1396. var KEYS = 'keys';
  1397. var VALUES = 'values';
  1398. var ENTRIES = 'entries';
  1399. var returnThis = function () { return this; };
  1400. module.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {
  1401. createIteratorConstructor(IteratorConstructor, NAME, next);
  1402. var getIterationMethod = function (KIND) {
  1403. if (KIND === DEFAULT && defaultIterator) return defaultIterator;
  1404. if (!BUGGY_SAFARI_ITERATORS && KIND in IterablePrototype) return IterablePrototype[KIND];
  1405. switch (KIND) {
  1406. case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };
  1407. case VALUES: return function values() { return new IteratorConstructor(this, KIND); };
  1408. case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };
  1409. } return function () { return new IteratorConstructor(this); };
  1410. };
  1411. var TO_STRING_TAG = NAME + ' Iterator';
  1412. var INCORRECT_VALUES_NAME = false;
  1413. var IterablePrototype = Iterable.prototype;
  1414. var nativeIterator = IterablePrototype[ITERATOR]
  1415. || IterablePrototype['@@iterator']
  1416. || DEFAULT && IterablePrototype[DEFAULT];
  1417. var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);
  1418. var anyNativeIterator = NAME == 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;
  1419. var CurrentIteratorPrototype, methods, KEY;
  1420. // fix native
  1421. if (anyNativeIterator) {
  1422. CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));
  1423. if (IteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {
  1424. if (!IS_PURE && getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {
  1425. if (setPrototypeOf) {
  1426. setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);
  1427. } else if (typeof CurrentIteratorPrototype[ITERATOR] != 'function') {
  1428. createNonEnumerableProperty(CurrentIteratorPrototype, ITERATOR, returnThis);
  1429. }
  1430. }
  1431. // Set @@toStringTag to native iterators
  1432. setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true, true);
  1433. if (IS_PURE) Iterators[TO_STRING_TAG] = returnThis;
  1434. }
  1435. }
  1436. // fix Array#{values, @@iterator}.name in V8 / FF
  1437. if (DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) {
  1438. INCORRECT_VALUES_NAME = true;
  1439. defaultIterator = function values() { return nativeIterator.call(this); };
  1440. }
  1441. // define iterator
  1442. if ((!IS_PURE || FORCED) && IterablePrototype[ITERATOR] !== defaultIterator) {
  1443. createNonEnumerableProperty(IterablePrototype, ITERATOR, defaultIterator);
  1444. }
  1445. Iterators[NAME] = defaultIterator;
  1446. // export additional methods
  1447. if (DEFAULT) {
  1448. methods = {
  1449. values: getIterationMethod(VALUES),
  1450. keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),
  1451. entries: getIterationMethod(ENTRIES)
  1452. };
  1453. if (FORCED) for (KEY in methods) {
  1454. if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
  1455. redefine(IterablePrototype, KEY, methods[KEY]);
  1456. }
  1457. } else $({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
  1458. }
  1459. return methods;
  1460. };
  1461. /***/ }),
  1462. /***/ "9b11":
  1463. /***/ (function(module, exports, __webpack_require__) {
  1464. var defineWellKnownSymbol = __webpack_require__("6d51");
  1465. // `Symbol.iterator` well-known symbol
  1466. // https://tc39.github.io/ecma262/#sec-symbol.iterator
  1467. defineWellKnownSymbol('iterator');
  1468. /***/ }),
  1469. /***/ "9b9d":
  1470. /***/ (function(module, exports) {
  1471. module.exports = false;
  1472. /***/ }),
  1473. /***/ "9f67":
  1474. /***/ (function(module, exports, __webpack_require__) {
  1475. var isObject = __webpack_require__("a719");
  1476. // `ToPrimitive` abstract operation
  1477. // https://tc39.github.io/ecma262/#sec-toprimitive
  1478. // instead of the ES6 spec version, we didn't implement @@toPrimitive case
  1479. // and the second argument - flag - preferred type is a string
  1480. module.exports = function (input, PREFERRED_STRING) {
  1481. if (!isObject(input)) return input;
  1482. var fn, val;
  1483. if (PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;
  1484. if (typeof (fn = input.valueOf) == 'function' && !isObject(val = fn.call(input))) return val;
  1485. if (!PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;
  1486. throw TypeError("Can't convert object to primitive value");
  1487. };
  1488. /***/ }),
  1489. /***/ "a133":
  1490. /***/ (function(module, exports, __webpack_require__) {
  1491. "use strict";
  1492. var toIndexedObject = __webpack_require__("da10");
  1493. var addToUnscopables = __webpack_require__("258f");
  1494. var Iterators = __webpack_require__("9806");
  1495. var InternalStateModule = __webpack_require__("b702");
  1496. var defineIterator = __webpack_require__("99ee");
  1497. var ARRAY_ITERATOR = 'Array Iterator';
  1498. var setInternalState = InternalStateModule.set;
  1499. var getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR);
  1500. // `Array.prototype.entries` method
  1501. // https://tc39.github.io/ecma262/#sec-array.prototype.entries
  1502. // `Array.prototype.keys` method
  1503. // https://tc39.github.io/ecma262/#sec-array.prototype.keys
  1504. // `Array.prototype.values` method
  1505. // https://tc39.github.io/ecma262/#sec-array.prototype.values
  1506. // `Array.prototype[@@iterator]` method
  1507. // https://tc39.github.io/ecma262/#sec-array.prototype-@@iterator
  1508. // `CreateArrayIterator` internal method
  1509. // https://tc39.github.io/ecma262/#sec-createarrayiterator
  1510. module.exports = defineIterator(Array, 'Array', function (iterated, kind) {
  1511. setInternalState(this, {
  1512. type: ARRAY_ITERATOR,
  1513. target: toIndexedObject(iterated), // target
  1514. index: 0, // next index
  1515. kind: kind // kind
  1516. });
  1517. // `%ArrayIteratorPrototype%.next` method
  1518. // https://tc39.github.io/ecma262/#sec-%arrayiteratorprototype%.next
  1519. }, function () {
  1520. var state = getInternalState(this);
  1521. var target = state.target;
  1522. var kind = state.kind;
  1523. var index = state.index++;
  1524. if (!target || index >= target.length) {
  1525. state.target = undefined;
  1526. return { value: undefined, done: true };
  1527. }
  1528. if (kind == 'keys') return { value: index, done: false };
  1529. if (kind == 'values') return { value: target[index], done: false };
  1530. return { value: [index, target[index]], done: false };
  1531. }, 'values');
  1532. // argumentsList[@@iterator] is %ArrayProto_values%
  1533. // https://tc39.github.io/ecma262/#sec-createunmappedargumentsobject
  1534. // https://tc39.github.io/ecma262/#sec-createmappedargumentsobject
  1535. Iterators.Arguments = Iterators.Array;
  1536. // https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables
  1537. addToUnscopables('keys');
  1538. addToUnscopables('values');
  1539. addToUnscopables('entries');
  1540. /***/ }),
  1541. /***/ "a719":
  1542. /***/ (function(module, exports) {
  1543. module.exports = function (it) {
  1544. return typeof it === 'object' ? it !== null : typeof it === 'function';
  1545. };
  1546. /***/ }),
  1547. /***/ "aa6b":
  1548. /***/ (function(module, exports, __webpack_require__) {
  1549. var DESCRIPTORS = __webpack_require__("1e2c");
  1550. var propertyIsEnumerableModule = __webpack_require__("ef71");
  1551. var createPropertyDescriptor = __webpack_require__("38b9");
  1552. var toIndexedObject = __webpack_require__("da10");
  1553. var toPrimitive = __webpack_require__("9f67");
  1554. var has = __webpack_require__("faa8");
  1555. var IE8_DOM_DEFINE = __webpack_require__("2039");
  1556. var nativeGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
  1557. // `Object.getOwnPropertyDescriptor` method
  1558. // https://tc39.github.io/ecma262/#sec-object.getownpropertydescriptor
  1559. exports.f = DESCRIPTORS ? nativeGetOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
  1560. O = toIndexedObject(O);
  1561. P = toPrimitive(P, true);
  1562. if (IE8_DOM_DEFINE) try {
  1563. return nativeGetOwnPropertyDescriptor(O, P);
  1564. } catch (error) { /* empty */ }
  1565. if (has(O, P)) return createPropertyDescriptor(!propertyIsEnumerableModule.f.call(O, P), O[P]);
  1566. };
  1567. /***/ }),
  1568. /***/ "ae25":
  1569. /***/ (function(module, exports, __webpack_require__) {
  1570. var global = __webpack_require__("d890");
  1571. var isObject = __webpack_require__("a719");
  1572. var document = global.document;
  1573. // typeof document.createElement is 'object' in old IE
  1574. var EXISTS = isObject(document) && isObject(document.createElement);
  1575. module.exports = function (it) {
  1576. return EXISTS ? document.createElement(it) : {};
  1577. };
  1578. /***/ }),
  1579. /***/ "af86":
  1580. /***/ (function(module, exports, __webpack_require__) {
  1581. var global = __webpack_require__("d890");
  1582. var DOMIterables = __webpack_require__("064b");
  1583. var ArrayIteratorMethods = __webpack_require__("a133");
  1584. var createNonEnumerableProperty = __webpack_require__("0fc1");
  1585. var wellKnownSymbol = __webpack_require__("90fb");
  1586. var ITERATOR = wellKnownSymbol('iterator');
  1587. var TO_STRING_TAG = wellKnownSymbol('toStringTag');
  1588. var ArrayValues = ArrayIteratorMethods.values;
  1589. for (var COLLECTION_NAME in DOMIterables) {
  1590. var Collection = global[COLLECTION_NAME];
  1591. var CollectionPrototype = Collection && Collection.prototype;
  1592. if (CollectionPrototype) {
  1593. // some Chrome versions have non-configurable methods on DOMTokenList
  1594. if (CollectionPrototype[ITERATOR] !== ArrayValues) try {
  1595. createNonEnumerableProperty(CollectionPrototype, ITERATOR, ArrayValues);
  1596. } catch (error) {
  1597. CollectionPrototype[ITERATOR] = ArrayValues;
  1598. }
  1599. if (!CollectionPrototype[TO_STRING_TAG]) {
  1600. createNonEnumerableProperty(CollectionPrototype, TO_STRING_TAG, COLLECTION_NAME);
  1601. }
  1602. if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {
  1603. // some Chrome versions have non-configurable methods on DOMTokenList
  1604. if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try {
  1605. createNonEnumerableProperty(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);
  1606. } catch (error) {
  1607. CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME];
  1608. }
  1609. }
  1610. }
  1611. }
  1612. /***/ }),
  1613. /***/ "b338":
  1614. /***/ (function(module, exports, __webpack_require__) {
  1615. var internalObjectKeys = __webpack_require__("ead4");
  1616. var enumBugKeys = __webpack_require__("18f6");
  1617. var hiddenKeys = enumBugKeys.concat('length', 'prototype');
  1618. // `Object.getOwnPropertyNames` method
  1619. // https://tc39.github.io/ecma262/#sec-object.getownpropertynames
  1620. exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
  1621. return internalObjectKeys(O, hiddenKeys);
  1622. };
  1623. /***/ }),
  1624. /***/ "b4fb":
  1625. /***/ (function(module, exports, __webpack_require__) {
  1626. "use strict";
  1627. var $ = __webpack_require__("1c8b");
  1628. var fails = __webpack_require__("efe2");
  1629. var isArray = __webpack_require__("74e7");
  1630. var isObject = __webpack_require__("a719");
  1631. var toObject = __webpack_require__("3553");
  1632. var toLength = __webpack_require__("d88d");
  1633. var createProperty = __webpack_require__("1bbd");
  1634. var arraySpeciesCreate = __webpack_require__("1ca1");
  1635. var arrayMethodHasSpeciesSupport = __webpack_require__("1ea7");
  1636. var wellKnownSymbol = __webpack_require__("90fb");
  1637. var V8_VERSION = __webpack_require__("f594");
  1638. var IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');
  1639. var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;
  1640. var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded';
  1641. // We can't use this feature detection in V8 since it causes
  1642. // deoptimization and serious performance degradation
  1643. // https://github.com/zloirock/core-js/issues/679
  1644. var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails(function () {
  1645. var array = [];
  1646. array[IS_CONCAT_SPREADABLE] = false;
  1647. return array.concat()[0] !== array;
  1648. });
  1649. var SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('concat');
  1650. var isConcatSpreadable = function (O) {
  1651. if (!isObject(O)) return false;
  1652. var spreadable = O[IS_CONCAT_SPREADABLE];
  1653. return spreadable !== undefined ? !!spreadable : isArray(O);
  1654. };
  1655. var FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT;
  1656. // `Array.prototype.concat` method
  1657. // https://tc39.github.io/ecma262/#sec-array.prototype.concat
  1658. // with adding support of @@isConcatSpreadable and @@species
  1659. $({ target: 'Array', proto: true, forced: FORCED }, {
  1660. concat: function concat(arg) { // eslint-disable-line no-unused-vars
  1661. var O = toObject(this);
  1662. var A = arraySpeciesCreate(O, 0);
  1663. var n = 0;
  1664. var i, k, length, len, E;
  1665. for (i = -1, length = arguments.length; i < length; i++) {
  1666. E = i === -1 ? O : arguments[i];
  1667. if (isConcatSpreadable(E)) {
  1668. len = toLength(E.length);
  1669. if (n + len > MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
  1670. for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);
  1671. } else {
  1672. if (n >= MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
  1673. createProperty(A, n++, E);
  1674. }
  1675. }
  1676. A.length = n;
  1677. return A;
  1678. }
  1679. });
  1680. /***/ }),
  1681. /***/ "b60f":
  1682. /***/ (function(module, exports, __webpack_require__) {
  1683. var classof = __webpack_require__("2a91");
  1684. var Iterators = __webpack_require__("9806");
  1685. var wellKnownSymbol = __webpack_require__("90fb");
  1686. var ITERATOR = wellKnownSymbol('iterator');
  1687. module.exports = function (it) {
  1688. if (it != undefined) return it[ITERATOR]
  1689. || it['@@iterator']
  1690. || Iterators[classof(it)];
  1691. };
  1692. /***/ }),
  1693. /***/ "b702":
  1694. /***/ (function(module, exports, __webpack_require__) {
  1695. var NATIVE_WEAK_MAP = __webpack_require__("604f");
  1696. var global = __webpack_require__("d890");
  1697. var isObject = __webpack_require__("a719");
  1698. var createNonEnumerableProperty = __webpack_require__("0fc1");
  1699. var objectHas = __webpack_require__("faa8");
  1700. var sharedKey = __webpack_require__("7db2");
  1701. var hiddenKeys = __webpack_require__("d5a8");
  1702. var WeakMap = global.WeakMap;
  1703. var set, get, has;
  1704. var enforce = function (it) {
  1705. return has(it) ? get(it) : set(it, {});
  1706. };
  1707. var getterFor = function (TYPE) {
  1708. return function (it) {
  1709. var state;
  1710. if (!isObject(it) || (state = get(it)).type !== TYPE) {
  1711. throw TypeError('Incompatible receiver, ' + TYPE + ' required');
  1712. } return state;
  1713. };
  1714. };
  1715. if (NATIVE_WEAK_MAP) {
  1716. var store = new WeakMap();
  1717. var wmget = store.get;
  1718. var wmhas = store.has;
  1719. var wmset = store.set;
  1720. set = function (it, metadata) {
  1721. wmset.call(store, it, metadata);
  1722. return metadata;
  1723. };
  1724. get = function (it) {
  1725. return wmget.call(store, it) || {};
  1726. };
  1727. has = function (it) {
  1728. return wmhas.call(store, it);
  1729. };
  1730. } else {
  1731. var STATE = sharedKey('state');
  1732. hiddenKeys[STATE] = true;
  1733. set = function (it, metadata) {
  1734. createNonEnumerableProperty(it, STATE, metadata);
  1735. return metadata;
  1736. };
  1737. get = function (it) {
  1738. return objectHas(it, STATE) ? it[STATE] : {};
  1739. };
  1740. has = function (it) {
  1741. return objectHas(it, STATE);
  1742. };
  1743. }
  1744. module.exports = {
  1745. set: set,
  1746. get: get,
  1747. has: has,
  1748. enforce: enforce,
  1749. getterFor: getterFor
  1750. };
  1751. /***/ }),
  1752. /***/ "c051":
  1753. /***/ (function(module, exports, __webpack_require__) {
  1754. var toIndexedObject = __webpack_require__("da10");
  1755. var nativeGetOwnPropertyNames = __webpack_require__("b338").f;
  1756. var toString = {}.toString;
  1757. var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames
  1758. ? Object.getOwnPropertyNames(window) : [];
  1759. var getWindowNames = function (it) {
  1760. try {
  1761. return nativeGetOwnPropertyNames(it);
  1762. } catch (error) {
  1763. return windowNames.slice();
  1764. }
  1765. };
  1766. // fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window
  1767. module.exports.f = function getOwnPropertyNames(it) {
  1768. return windowNames && toString.call(it) == '[object Window]'
  1769. ? getWindowNames(it)
  1770. : nativeGetOwnPropertyNames(toIndexedObject(it));
  1771. };
  1772. /***/ }),
  1773. /***/ "c10f":
  1774. /***/ (function(module, exports, __webpack_require__) {
  1775. var requireObjectCoercible = __webpack_require__("2732");
  1776. var whitespaces = __webpack_require__("fc8c");
  1777. var whitespace = '[' + whitespaces + ']';
  1778. var ltrim = RegExp('^' + whitespace + whitespace + '*');
  1779. var rtrim = RegExp(whitespace + whitespace + '*$');
  1780. // `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation
  1781. var createMethod = function (TYPE) {
  1782. return function ($this) {
  1783. var string = String(requireObjectCoercible($this));
  1784. if (TYPE & 1) string = string.replace(ltrim, '');
  1785. if (TYPE & 2) string = string.replace(rtrim, '');
  1786. return string;
  1787. };
  1788. };
  1789. module.exports = {
  1790. // `String.prototype.{ trimLeft, trimStart }` methods
  1791. // https://tc39.github.io/ecma262/#sec-string.prototype.trimstart
  1792. start: createMethod(1),
  1793. // `String.prototype.{ trimRight, trimEnd }` methods
  1794. // https://tc39.github.io/ecma262/#sec-string.prototype.trimend
  1795. end: createMethod(2),
  1796. // `String.prototype.trim` method
  1797. // https://tc39.github.io/ecma262/#sec-string.prototype.trim
  1798. trim: createMethod(3)
  1799. };
  1800. /***/ }),
  1801. /***/ "c54b":
  1802. /***/ (function(module, exports, __webpack_require__) {
  1803. var fails = __webpack_require__("efe2");
  1804. module.exports = !!Object.getOwnPropertySymbols && !fails(function () {
  1805. // Chrome 38 Symbol has incorrect toString conversion
  1806. // eslint-disable-next-line no-undef
  1807. return !String(Symbol());
  1808. });
  1809. /***/ }),
  1810. /***/ "c69d":
  1811. /***/ (function(module, exports, __webpack_require__) {
  1812. var has = __webpack_require__("faa8");
  1813. var ownKeys = __webpack_require__("8d44");
  1814. var getOwnPropertyDescriptorModule = __webpack_require__("aa6b");
  1815. var definePropertyModule = __webpack_require__("d910");
  1816. module.exports = function (target, source) {
  1817. var keys = ownKeys(source);
  1818. var defineProperty = definePropertyModule.f;
  1819. var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
  1820. for (var i = 0; i < keys.length; i++) {
  1821. var key = keys[i];
  1822. if (!has(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key));
  1823. }
  1824. };
  1825. /***/ }),
  1826. /***/ "cbab":
  1827. /***/ (function(module, exports, __webpack_require__) {
  1828. var internalObjectKeys = __webpack_require__("ead4");
  1829. var enumBugKeys = __webpack_require__("18f6");
  1830. // `Object.keys` method
  1831. // https://tc39.github.io/ecma262/#sec-object.keys
  1832. module.exports = Object.keys || function keys(O) {
  1833. return internalObjectKeys(O, enumBugKeys);
  1834. };
  1835. /***/ }),
  1836. /***/ "d1fd":
  1837. /***/ (function(module, exports, __webpack_require__) {
  1838. var isObject = __webpack_require__("a719");
  1839. module.exports = function (it) {
  1840. if (!isObject(it) && it !== null) {
  1841. throw TypeError("Can't set " + String(it) + ' as a prototype');
  1842. } return it;
  1843. };
  1844. /***/ }),
  1845. /***/ "d497":
  1846. /***/ (function(module, exports, __webpack_require__) {
  1847. "use strict";
  1848. var $ = __webpack_require__("1c8b");
  1849. var $some = __webpack_require__("5dfd").some;
  1850. var arrayMethodIsStrict = __webpack_require__("d7e1");
  1851. var arrayMethodUsesToLength = __webpack_require__("ff9c");
  1852. var STRICT_METHOD = arrayMethodIsStrict('some');
  1853. var USES_TO_LENGTH = arrayMethodUsesToLength('some');
  1854. // `Array.prototype.some` method
  1855. // https://tc39.github.io/ecma262/#sec-array.prototype.some
  1856. $({ target: 'Array', proto: true, forced: !STRICT_METHOD || !USES_TO_LENGTH }, {
  1857. some: function some(callbackfn /* , thisArg */) {
  1858. return $some(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
  1859. }
  1860. });
  1861. /***/ }),
  1862. /***/ "d5a8":
  1863. /***/ (function(module, exports) {
  1864. module.exports = {};
  1865. /***/ }),
  1866. /***/ "d7e1":
  1867. /***/ (function(module, exports, __webpack_require__) {
  1868. "use strict";
  1869. var fails = __webpack_require__("efe2");
  1870. module.exports = function (METHOD_NAME, argument) {
  1871. var method = [][METHOD_NAME];
  1872. return !!method && fails(function () {
  1873. // eslint-disable-next-line no-useless-call,no-throw-literal
  1874. method.call(null, argument || function () { throw 1; }, 1);
  1875. });
  1876. };
  1877. /***/ }),
  1878. /***/ "d88d":
  1879. /***/ (function(module, exports, __webpack_require__) {
  1880. var toInteger = __webpack_require__("3da3");
  1881. var min = Math.min;
  1882. // `ToLength` abstract operation
  1883. // https://tc39.github.io/ecma262/#sec-tolength
  1884. module.exports = function (argument) {
  1885. return argument > 0 ? min(toInteger(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
  1886. };
  1887. /***/ }),
  1888. /***/ "d890":
  1889. /***/ (function(module, exports, __webpack_require__) {
  1890. /* WEBPACK VAR INJECTION */(function(global) {var check = function (it) {
  1891. return it && it.Math == Math && it;
  1892. };
  1893. // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
  1894. module.exports =
  1895. // eslint-disable-next-line no-undef
  1896. check(typeof globalThis == 'object' && globalThis) ||
  1897. check(typeof window == 'object' && window) ||
  1898. check(typeof self == 'object' && self) ||
  1899. check(typeof global == 'object' && global) ||
  1900. // eslint-disable-next-line no-new-func
  1901. Function('return this')();
  1902. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("0288")))
  1903. /***/ }),
  1904. /***/ "d910":
  1905. /***/ (function(module, exports, __webpack_require__) {
  1906. var DESCRIPTORS = __webpack_require__("1e2c");
  1907. var IE8_DOM_DEFINE = __webpack_require__("2039");
  1908. var anObject = __webpack_require__("857c");
  1909. var toPrimitive = __webpack_require__("9f67");
  1910. var nativeDefineProperty = Object.defineProperty;
  1911. // `Object.defineProperty` method
  1912. // https://tc39.github.io/ecma262/#sec-object.defineproperty
  1913. exports.f = DESCRIPTORS ? nativeDefineProperty : function defineProperty(O, P, Attributes) {
  1914. anObject(O);
  1915. P = toPrimitive(P, true);
  1916. anObject(Attributes);
  1917. if (IE8_DOM_DEFINE) try {
  1918. return nativeDefineProperty(O, P, Attributes);
  1919. } catch (error) { /* empty */ }
  1920. if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported');
  1921. if ('value' in Attributes) O[P] = Attributes.value;
  1922. return O;
  1923. };
  1924. /***/ }),
  1925. /***/ "da10":
  1926. /***/ (function(module, exports, __webpack_require__) {
  1927. // toObject with fallback for non-array-like ES3 strings
  1928. var IndexedObject = __webpack_require__("692f");
  1929. var requireObjectCoercible = __webpack_require__("2732");
  1930. module.exports = function (it) {
  1931. return IndexedObject(requireObjectCoercible(it));
  1932. };
  1933. /***/ }),
  1934. /***/ "dbe8":
  1935. /***/ (function(module, exports, __webpack_require__) {
  1936. var DESCRIPTORS = __webpack_require__("1e2c");
  1937. var definePropertyModule = __webpack_require__("d910");
  1938. var anObject = __webpack_require__("857c");
  1939. var objectKeys = __webpack_require__("cbab");
  1940. // `Object.defineProperties` method
  1941. // https://tc39.github.io/ecma262/#sec-object.defineproperties
  1942. module.exports = DESCRIPTORS ? Object.defineProperties : function defineProperties(O, Properties) {
  1943. anObject(O);
  1944. var keys = objectKeys(Properties);
  1945. var length = keys.length;
  1946. var index = 0;
  1947. var key;
  1948. while (length > index) definePropertyModule.f(O, key = keys[index++], Properties[key]);
  1949. return O;
  1950. };
  1951. /***/ }),
  1952. /***/ "e18c":
  1953. /***/ (function(module, exports, __webpack_require__) {
  1954. var TO_STRING_TAG_SUPPORT = __webpack_require__("47ae");
  1955. var redefine = __webpack_require__("1944");
  1956. var toString = __webpack_require__("52f9");
  1957. // `Object.prototype.toString` method
  1958. // https://tc39.github.io/ecma262/#sec-object.prototype.tostring
  1959. if (!TO_STRING_TAG_SUPPORT) {
  1960. redefine(Object.prototype, 'toString', toString, { unsafe: true });
  1961. }
  1962. /***/ }),
  1963. /***/ "e1d6":
  1964. /***/ (function(module, exports, __webpack_require__) {
  1965. var toInteger = __webpack_require__("3da3");
  1966. var max = Math.max;
  1967. var min = Math.min;
  1968. // Helper for a popular repeating case of the spec:
  1969. // Let integer be ? ToInteger(index).
  1970. // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
  1971. module.exports = function (index, length) {
  1972. var integer = toInteger(index);
  1973. return integer < 0 ? max(integer + length, 0) : min(integer, length);
  1974. };
  1975. /***/ }),
  1976. /***/ "e349":
  1977. /***/ (function(module, exports, __webpack_require__) {
  1978. var aFunction = __webpack_require__("0c3c");
  1979. // optional / simple context binding
  1980. module.exports = function (fn, that, length) {
  1981. aFunction(fn);
  1982. if (that === undefined) return fn;
  1983. switch (length) {
  1984. case 0: return function () {
  1985. return fn.call(that);
  1986. };
  1987. case 1: return function (a) {
  1988. return fn.call(that, a);
  1989. };
  1990. case 2: return function (a, b) {
  1991. return fn.call(that, a, b);
  1992. };
  1993. case 3: return function (a, b, c) {
  1994. return fn.call(that, a, b, c);
  1995. };
  1996. }
  1997. return function (/* ...args */) {
  1998. return fn.apply(that, arguments);
  1999. };
  2000. };
  2001. /***/ }),
  2002. /***/ "e4db":
  2003. /***/ (function(module, exports, __webpack_require__) {
  2004. var global = __webpack_require__("d890");
  2005. var createNonEnumerableProperty = __webpack_require__("0fc1");
  2006. module.exports = function (key, value) {
  2007. try {
  2008. createNonEnumerableProperty(global, key, value);
  2009. } catch (error) {
  2010. global[key] = value;
  2011. } return value;
  2012. };
  2013. /***/ }),
  2014. /***/ "e62b":
  2015. /***/ (function(module, exports, __webpack_require__) {
  2016. "use strict";
  2017. var bind = __webpack_require__("e349");
  2018. var toObject = __webpack_require__("3553");
  2019. var callWithSafeIterationClosing = __webpack_require__("69c5");
  2020. var isArrayIteratorMethod = __webpack_require__("98a9");
  2021. var toLength = __webpack_require__("d88d");
  2022. var createProperty = __webpack_require__("1bbd");
  2023. var getIteratorMethod = __webpack_require__("b60f");
  2024. // `Array.from` method implementation
  2025. // https://tc39.github.io/ecma262/#sec-array.from
  2026. module.exports = function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) {
  2027. var O = toObject(arrayLike);
  2028. var C = typeof this == 'function' ? this : Array;
  2029. var argumentsLength = arguments.length;
  2030. var mapfn = argumentsLength > 1 ? arguments[1] : undefined;
  2031. var mapping = mapfn !== undefined;
  2032. var iteratorMethod = getIteratorMethod(O);
  2033. var index = 0;
  2034. var length, result, step, iterator, next, value;
  2035. if (mapping) mapfn = bind(mapfn, argumentsLength > 2 ? arguments[2] : undefined, 2);
  2036. // if the target is not iterable or it's an array with the default iterator - use a simple case
  2037. if (iteratorMethod != undefined && !(C == Array && isArrayIteratorMethod(iteratorMethod))) {
  2038. iterator = iteratorMethod.call(O);
  2039. next = iterator.next;
  2040. result = new C();
  2041. for (;!(step = next.call(iterator)).done; index++) {
  2042. value = mapping ? callWithSafeIterationClosing(iterator, mapfn, [step.value, index], true) : step.value;
  2043. createProperty(result, index, value);
  2044. }
  2045. } else {
  2046. length = toLength(O.length);
  2047. result = new C(length);
  2048. for (;length > index; index++) {
  2049. value = mapping ? mapfn(O[index], index) : O[index];
  2050. createProperty(result, index, value);
  2051. }
  2052. }
  2053. result.length = index;
  2054. return result;
  2055. };
  2056. /***/ }),
  2057. /***/ "e8d6":
  2058. /***/ (function(module, exports, __webpack_require__) {
  2059. var fails = __webpack_require__("efe2");
  2060. var replacement = /#|\.prototype\./;
  2061. var isForced = function (feature, detection) {
  2062. var value = data[normalize(feature)];
  2063. return value == POLYFILL ? true
  2064. : value == NATIVE ? false
  2065. : typeof detection == 'function' ? fails(detection)
  2066. : !!detection;
  2067. };
  2068. var normalize = isForced.normalize = function (string) {
  2069. return String(string).replace(replacement, '.').toLowerCase();
  2070. };
  2071. var data = isForced.data = {};
  2072. var NATIVE = isForced.NATIVE = 'N';
  2073. var POLYFILL = isForced.POLYFILL = 'P';
  2074. module.exports = isForced;
  2075. /***/ }),
  2076. /***/ "ead4":
  2077. /***/ (function(module, exports, __webpack_require__) {
  2078. var has = __webpack_require__("faa8");
  2079. var toIndexedObject = __webpack_require__("da10");
  2080. var indexOf = __webpack_require__("45af").indexOf;
  2081. var hiddenKeys = __webpack_require__("d5a8");
  2082. module.exports = function (object, names) {
  2083. var O = toIndexedObject(object);
  2084. var i = 0;
  2085. var result = [];
  2086. var key;
  2087. for (key in O) !has(hiddenKeys, key) && has(O, key) && result.push(key);
  2088. // Don't enum bug & hidden keys
  2089. while (names.length > i) if (has(O, key = names[i++])) {
  2090. ~indexOf(result, key) || result.push(key);
  2091. }
  2092. return result;
  2093. };
  2094. /***/ }),
  2095. /***/ "eec6":
  2096. /***/ (function(module, exports, __webpack_require__) {
  2097. var fails = __webpack_require__("efe2");
  2098. module.exports = !fails(function () {
  2099. function F() { /* empty */ }
  2100. F.prototype.constructor = null;
  2101. return Object.getPrototypeOf(new F()) !== F.prototype;
  2102. });
  2103. /***/ }),
  2104. /***/ "ef71":
  2105. /***/ (function(module, exports, __webpack_require__) {
  2106. "use strict";
  2107. var nativePropertyIsEnumerable = {}.propertyIsEnumerable;
  2108. var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
  2109. // Nashorn ~ JDK8 bug
  2110. var NASHORN_BUG = getOwnPropertyDescriptor && !nativePropertyIsEnumerable.call({ 1: 2 }, 1);
  2111. // `Object.prototype.propertyIsEnumerable` method implementation
  2112. // https://tc39.github.io/ecma262/#sec-object.prototype.propertyisenumerable
  2113. exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
  2114. var descriptor = getOwnPropertyDescriptor(this, V);
  2115. return !!descriptor && descriptor.enumerable;
  2116. } : nativePropertyIsEnumerable;
  2117. /***/ }),
  2118. /***/ "efe2":
  2119. /***/ (function(module, exports) {
  2120. module.exports = function (exec) {
  2121. try {
  2122. return !!exec();
  2123. } catch (error) {
  2124. return true;
  2125. }
  2126. };
  2127. /***/ }),
  2128. /***/ "f3dd":
  2129. /***/ (function(module, exports, __webpack_require__) {
  2130. "use strict";
  2131. var $ = __webpack_require__("1c8b");
  2132. var global = __webpack_require__("d890");
  2133. var getBuiltIn = __webpack_require__("6d7a");
  2134. var IS_PURE = __webpack_require__("9b9d");
  2135. var DESCRIPTORS = __webpack_require__("1e2c");
  2136. var NATIVE_SYMBOL = __webpack_require__("c54b");
  2137. var USE_SYMBOL_AS_UID = __webpack_require__("74cb");
  2138. var fails = __webpack_require__("efe2");
  2139. var has = __webpack_require__("faa8");
  2140. var isArray = __webpack_require__("74e7");
  2141. var isObject = __webpack_require__("a719");
  2142. var anObject = __webpack_require__("857c");
  2143. var toObject = __webpack_require__("3553");
  2144. var toIndexedObject = __webpack_require__("da10");
  2145. var toPrimitive = __webpack_require__("9f67");
  2146. var createPropertyDescriptor = __webpack_require__("38b9");
  2147. var nativeObjectCreate = __webpack_require__("6d60");
  2148. var objectKeys = __webpack_require__("cbab");
  2149. var getOwnPropertyNamesModule = __webpack_require__("b338");
  2150. var getOwnPropertyNamesExternal = __webpack_require__("c051");
  2151. var getOwnPropertySymbolsModule = __webpack_require__("0a60");
  2152. var getOwnPropertyDescriptorModule = __webpack_require__("aa6b");
  2153. var definePropertyModule = __webpack_require__("d910");
  2154. var propertyIsEnumerableModule = __webpack_require__("ef71");
  2155. var createNonEnumerableProperty = __webpack_require__("0fc1");
  2156. var redefine = __webpack_require__("1944");
  2157. var shared = __webpack_require__("6d28");
  2158. var sharedKey = __webpack_require__("7db2");
  2159. var hiddenKeys = __webpack_require__("d5a8");
  2160. var uid = __webpack_require__("7e8b");
  2161. var wellKnownSymbol = __webpack_require__("90fb");
  2162. var wrappedWellKnownSymbolModule = __webpack_require__("4350");
  2163. var defineWellKnownSymbol = __webpack_require__("6d51");
  2164. var setToStringTag = __webpack_require__("27b5");
  2165. var InternalStateModule = __webpack_require__("b702");
  2166. var $forEach = __webpack_require__("5dfd").forEach;
  2167. var HIDDEN = sharedKey('hidden');
  2168. var SYMBOL = 'Symbol';
  2169. var PROTOTYPE = 'prototype';
  2170. var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
  2171. var setInternalState = InternalStateModule.set;
  2172. var getInternalState = InternalStateModule.getterFor(SYMBOL);
  2173. var ObjectPrototype = Object[PROTOTYPE];
  2174. var $Symbol = global.Symbol;
  2175. var $stringify = getBuiltIn('JSON', 'stringify');
  2176. var nativeGetOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
  2177. var nativeDefineProperty = definePropertyModule.f;
  2178. var nativeGetOwnPropertyNames = getOwnPropertyNamesExternal.f;
  2179. var nativePropertyIsEnumerable = propertyIsEnumerableModule.f;
  2180. var AllSymbols = shared('symbols');
  2181. var ObjectPrototypeSymbols = shared('op-symbols');
  2182. var StringToSymbolRegistry = shared('string-to-symbol-registry');
  2183. var SymbolToStringRegistry = shared('symbol-to-string-registry');
  2184. var WellKnownSymbolsStore = shared('wks');
  2185. var QObject = global.QObject;
  2186. // Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173
  2187. var USE_SETTER = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;
  2188. // fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687
  2189. var setSymbolDescriptor = DESCRIPTORS && fails(function () {
  2190. return nativeObjectCreate(nativeDefineProperty({}, 'a', {
  2191. get: function () { return nativeDefineProperty(this, 'a', { value: 7 }).a; }
  2192. })).a != 7;
  2193. }) ? function (O, P, Attributes) {
  2194. var ObjectPrototypeDescriptor = nativeGetOwnPropertyDescriptor(ObjectPrototype, P);
  2195. if (ObjectPrototypeDescriptor) delete ObjectPrototype[P];
  2196. nativeDefineProperty(O, P, Attributes);
  2197. if (ObjectPrototypeDescriptor && O !== ObjectPrototype) {
  2198. nativeDefineProperty(ObjectPrototype, P, ObjectPrototypeDescriptor);
  2199. }
  2200. } : nativeDefineProperty;
  2201. var wrap = function (tag, description) {
  2202. var symbol = AllSymbols[tag] = nativeObjectCreate($Symbol[PROTOTYPE]);
  2203. setInternalState(symbol, {
  2204. type: SYMBOL,
  2205. tag: tag,
  2206. description: description
  2207. });
  2208. if (!DESCRIPTORS) symbol.description = description;
  2209. return symbol;
  2210. };
  2211. var isSymbol = USE_SYMBOL_AS_UID ? function (it) {
  2212. return typeof it == 'symbol';
  2213. } : function (it) {
  2214. return Object(it) instanceof $Symbol;
  2215. };
  2216. var $defineProperty = function defineProperty(O, P, Attributes) {
  2217. if (O === ObjectPrototype) $defineProperty(ObjectPrototypeSymbols, P, Attributes);
  2218. anObject(O);
  2219. var key = toPrimitive(P, true);
  2220. anObject(Attributes);
  2221. if (has(AllSymbols, key)) {
  2222. if (!Attributes.enumerable) {
  2223. if (!has(O, HIDDEN)) nativeDefineProperty(O, HIDDEN, createPropertyDescriptor(1, {}));
  2224. O[HIDDEN][key] = true;
  2225. } else {
  2226. if (has(O, HIDDEN) && O[HIDDEN][key]) O[HIDDEN][key] = false;
  2227. Attributes = nativeObjectCreate(Attributes, { enumerable: createPropertyDescriptor(0, false) });
  2228. } return setSymbolDescriptor(O, key, Attributes);
  2229. } return nativeDefineProperty(O, key, Attributes);
  2230. };
  2231. var $defineProperties = function defineProperties(O, Properties) {
  2232. anObject(O);
  2233. var properties = toIndexedObject(Properties);
  2234. var keys = objectKeys(properties).concat($getOwnPropertySymbols(properties));
  2235. $forEach(keys, function (key) {
  2236. if (!DESCRIPTORS || $propertyIsEnumerable.call(properties, key)) $defineProperty(O, key, properties[key]);
  2237. });
  2238. return O;
  2239. };
  2240. var $create = function create(O, Properties) {
  2241. return Properties === undefined ? nativeObjectCreate(O) : $defineProperties(nativeObjectCreate(O), Properties);
  2242. };
  2243. var $propertyIsEnumerable = function propertyIsEnumerable(V) {
  2244. var P = toPrimitive(V, true);
  2245. var enumerable = nativePropertyIsEnumerable.call(this, P);
  2246. if (this === ObjectPrototype && has(AllSymbols, P) && !has(ObjectPrototypeSymbols, P)) return false;
  2247. return enumerable || !has(this, P) || !has(AllSymbols, P) || has(this, HIDDEN) && this[HIDDEN][P] ? enumerable : true;
  2248. };
  2249. var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(O, P) {
  2250. var it = toIndexedObject(O);
  2251. var key = toPrimitive(P, true);
  2252. if (it === ObjectPrototype && has(AllSymbols, key) && !has(ObjectPrototypeSymbols, key)) return;
  2253. var descriptor = nativeGetOwnPropertyDescriptor(it, key);
  2254. if (descriptor && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) {
  2255. descriptor.enumerable = true;
  2256. }
  2257. return descriptor;
  2258. };
  2259. var $getOwnPropertyNames = function getOwnPropertyNames(O) {
  2260. var names = nativeGetOwnPropertyNames(toIndexedObject(O));
  2261. var result = [];
  2262. $forEach(names, function (key) {
  2263. if (!has(AllSymbols, key) && !has(hiddenKeys, key)) result.push(key);
  2264. });
  2265. return result;
  2266. };
  2267. var $getOwnPropertySymbols = function getOwnPropertySymbols(O) {
  2268. var IS_OBJECT_PROTOTYPE = O === ObjectPrototype;
  2269. var names = nativeGetOwnPropertyNames(IS_OBJECT_PROTOTYPE ? ObjectPrototypeSymbols : toIndexedObject(O));
  2270. var result = [];
  2271. $forEach(names, function (key) {
  2272. if (has(AllSymbols, key) && (!IS_OBJECT_PROTOTYPE || has(ObjectPrototype, key))) {
  2273. result.push(AllSymbols[key]);
  2274. }
  2275. });
  2276. return result;
  2277. };
  2278. // `Symbol` constructor
  2279. // https://tc39.github.io/ecma262/#sec-symbol-constructor
  2280. if (!NATIVE_SYMBOL) {
  2281. $Symbol = function Symbol() {
  2282. if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor');
  2283. var description = !arguments.length || arguments[0] === undefined ? undefined : String(arguments[0]);
  2284. var tag = uid(description);
  2285. var setter = function (value) {
  2286. if (this === ObjectPrototype) setter.call(ObjectPrototypeSymbols, value);
  2287. if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false;
  2288. setSymbolDescriptor(this, tag, createPropertyDescriptor(1, value));
  2289. };
  2290. if (DESCRIPTORS && USE_SETTER) setSymbolDescriptor(ObjectPrototype, tag, { configurable: true, set: setter });
  2291. return wrap(tag, description);
  2292. };
  2293. redefine($Symbol[PROTOTYPE], 'toString', function toString() {
  2294. return getInternalState(this).tag;
  2295. });
  2296. redefine($Symbol, 'withoutSetter', function (description) {
  2297. return wrap(uid(description), description);
  2298. });
  2299. propertyIsEnumerableModule.f = $propertyIsEnumerable;
  2300. definePropertyModule.f = $defineProperty;
  2301. getOwnPropertyDescriptorModule.f = $getOwnPropertyDescriptor;
  2302. getOwnPropertyNamesModule.f = getOwnPropertyNamesExternal.f = $getOwnPropertyNames;
  2303. getOwnPropertySymbolsModule.f = $getOwnPropertySymbols;
  2304. wrappedWellKnownSymbolModule.f = function (name) {
  2305. return wrap(wellKnownSymbol(name), name);
  2306. };
  2307. if (DESCRIPTORS) {
  2308. // https://github.com/tc39/proposal-Symbol-description
  2309. nativeDefineProperty($Symbol[PROTOTYPE], 'description', {
  2310. configurable: true,
  2311. get: function description() {
  2312. return getInternalState(this).description;
  2313. }
  2314. });
  2315. if (!IS_PURE) {
  2316. redefine(ObjectPrototype, 'propertyIsEnumerable', $propertyIsEnumerable, { unsafe: true });
  2317. }
  2318. }
  2319. }
  2320. $({ global: true, wrap: true, forced: !NATIVE_SYMBOL, sham: !NATIVE_SYMBOL }, {
  2321. Symbol: $Symbol
  2322. });
  2323. $forEach(objectKeys(WellKnownSymbolsStore), function (name) {
  2324. defineWellKnownSymbol(name);
  2325. });
  2326. $({ target: SYMBOL, stat: true, forced: !NATIVE_SYMBOL }, {
  2327. // `Symbol.for` method
  2328. // https://tc39.github.io/ecma262/#sec-symbol.for
  2329. 'for': function (key) {
  2330. var string = String(key);
  2331. if (has(StringToSymbolRegistry, string)) return StringToSymbolRegistry[string];
  2332. var symbol = $Symbol(string);
  2333. StringToSymbolRegistry[string] = symbol;
  2334. SymbolToStringRegistry[symbol] = string;
  2335. return symbol;
  2336. },
  2337. // `Symbol.keyFor` method
  2338. // https://tc39.github.io/ecma262/#sec-symbol.keyfor
  2339. keyFor: function keyFor(sym) {
  2340. if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol');
  2341. if (has(SymbolToStringRegistry, sym)) return SymbolToStringRegistry[sym];
  2342. },
  2343. useSetter: function () { USE_SETTER = true; },
  2344. useSimple: function () { USE_SETTER = false; }
  2345. });
  2346. $({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL, sham: !DESCRIPTORS }, {
  2347. // `Object.create` method
  2348. // https://tc39.github.io/ecma262/#sec-object.create
  2349. create: $create,
  2350. // `Object.defineProperty` method
  2351. // https://tc39.github.io/ecma262/#sec-object.defineproperty
  2352. defineProperty: $defineProperty,
  2353. // `Object.defineProperties` method
  2354. // https://tc39.github.io/ecma262/#sec-object.defineproperties
  2355. defineProperties: $defineProperties,
  2356. // `Object.getOwnPropertyDescriptor` method
  2357. // https://tc39.github.io/ecma262/#sec-object.getownpropertydescriptors
  2358. getOwnPropertyDescriptor: $getOwnPropertyDescriptor
  2359. });
  2360. $({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL }, {
  2361. // `Object.getOwnPropertyNames` method
  2362. // https://tc39.github.io/ecma262/#sec-object.getownpropertynames
  2363. getOwnPropertyNames: $getOwnPropertyNames,
  2364. // `Object.getOwnPropertySymbols` method
  2365. // https://tc39.github.io/ecma262/#sec-object.getownpropertysymbols
  2366. getOwnPropertySymbols: $getOwnPropertySymbols
  2367. });
  2368. // Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives
  2369. // https://bugs.chromium.org/p/v8/issues/detail?id=3443
  2370. $({ target: 'Object', stat: true, forced: fails(function () { getOwnPropertySymbolsModule.f(1); }) }, {
  2371. getOwnPropertySymbols: function getOwnPropertySymbols(it) {
  2372. return getOwnPropertySymbolsModule.f(toObject(it));
  2373. }
  2374. });
  2375. // `JSON.stringify` method behavior with symbols
  2376. // https://tc39.github.io/ecma262/#sec-json.stringify
  2377. if ($stringify) {
  2378. var FORCED_JSON_STRINGIFY = !NATIVE_SYMBOL || fails(function () {
  2379. var symbol = $Symbol();
  2380. // MS Edge converts symbol values to JSON as {}
  2381. return $stringify([symbol]) != '[null]'
  2382. // WebKit converts symbol values to JSON as null
  2383. || $stringify({ a: symbol }) != '{}'
  2384. // V8 throws on boxed symbols
  2385. || $stringify(Object(symbol)) != '{}';
  2386. });
  2387. $({ target: 'JSON', stat: true, forced: FORCED_JSON_STRINGIFY }, {
  2388. // eslint-disable-next-line no-unused-vars
  2389. stringify: function stringify(it, replacer, space) {
  2390. var args = [it];
  2391. var index = 1;
  2392. var $replacer;
  2393. while (arguments.length > index) args.push(arguments[index++]);
  2394. $replacer = replacer;
  2395. if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined
  2396. if (!isArray(replacer)) replacer = function (key, value) {
  2397. if (typeof $replacer == 'function') value = $replacer.call(this, key, value);
  2398. if (!isSymbol(value)) return value;
  2399. };
  2400. args[1] = replacer;
  2401. return $stringify.apply(null, args);
  2402. }
  2403. });
  2404. }
  2405. // `Symbol.prototype[@@toPrimitive]` method
  2406. // https://tc39.github.io/ecma262/#sec-symbol.prototype-@@toprimitive
  2407. if (!$Symbol[PROTOTYPE][TO_PRIMITIVE]) {
  2408. createNonEnumerableProperty($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf);
  2409. }
  2410. // `Symbol.prototype[@@toStringTag]` property
  2411. // https://tc39.github.io/ecma262/#sec-symbol.prototype-@@tostringtag
  2412. setToStringTag($Symbol, SYMBOL);
  2413. hiddenKeys[HIDDEN] = true;
  2414. /***/ }),
  2415. /***/ "f471":
  2416. /***/ (function(module, exports, __webpack_require__) {
  2417. var wellKnownSymbol = __webpack_require__("90fb");
  2418. var ITERATOR = wellKnownSymbol('iterator');
  2419. var SAFE_CLOSING = false;
  2420. try {
  2421. var called = 0;
  2422. var iteratorWithReturn = {
  2423. next: function () {
  2424. return { done: !!called++ };
  2425. },
  2426. 'return': function () {
  2427. SAFE_CLOSING = true;
  2428. }
  2429. };
  2430. iteratorWithReturn[ITERATOR] = function () {
  2431. return this;
  2432. };
  2433. // eslint-disable-next-line no-throw-literal
  2434. Array.from(iteratorWithReturn, function () { throw 2; });
  2435. } catch (error) { /* empty */ }
  2436. module.exports = function (exec, SKIP_CLOSING) {
  2437. if (!SKIP_CLOSING && !SAFE_CLOSING) return false;
  2438. var ITERATION_SUPPORT = false;
  2439. try {
  2440. var object = {};
  2441. object[ITERATOR] = function () {
  2442. return {
  2443. next: function () {
  2444. return { done: ITERATION_SUPPORT = true };
  2445. }
  2446. };
  2447. };
  2448. exec(object);
  2449. } catch (error) { /* empty */ }
  2450. return ITERATION_SUPPORT;
  2451. };
  2452. /***/ }),
  2453. /***/ "f594":
  2454. /***/ (function(module, exports, __webpack_require__) {
  2455. var global = __webpack_require__("d890");
  2456. var userAgent = __webpack_require__("4fda");
  2457. var process = global.process;
  2458. var versions = process && process.versions;
  2459. var v8 = versions && versions.v8;
  2460. var match, version;
  2461. if (v8) {
  2462. match = v8.split('.');
  2463. version = match[0] + match[1];
  2464. } else if (userAgent) {
  2465. match = userAgent.match(/Edge\/(\d+)/);
  2466. if (!match || match[1] >= 74) {
  2467. match = userAgent.match(/Chrome\/(\d+)/);
  2468. if (match) version = match[1];
  2469. }
  2470. }
  2471. module.exports = version && +version;
  2472. /***/ }),
  2473. /***/ "f62c":
  2474. /***/ (function(module, exports, __webpack_require__) {
  2475. var toInteger = __webpack_require__("3da3");
  2476. var requireObjectCoercible = __webpack_require__("2732");
  2477. // `String.prototype.{ codePointAt, at }` methods implementation
  2478. var createMethod = function (CONVERT_TO_STRING) {
  2479. return function ($this, pos) {
  2480. var S = String(requireObjectCoercible($this));
  2481. var position = toInteger(pos);
  2482. var size = S.length;
  2483. var first, second;
  2484. if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;
  2485. first = S.charCodeAt(position);
  2486. return first < 0xD800 || first > 0xDBFF || position + 1 === size
  2487. || (second = S.charCodeAt(position + 1)) < 0xDC00 || second > 0xDFFF
  2488. ? CONVERT_TO_STRING ? S.charAt(position) : first
  2489. : CONVERT_TO_STRING ? S.slice(position, position + 2) : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;
  2490. };
  2491. };
  2492. module.exports = {
  2493. // `String.prototype.codePointAt` method
  2494. // https://tc39.github.io/ecma262/#sec-string.prototype.codepointat
  2495. codeAt: createMethod(false),
  2496. // `String.prototype.at` method
  2497. // https://github.com/mathiasbynens/String.prototype.at
  2498. charAt: createMethod(true)
  2499. };
  2500. /***/ }),
  2501. /***/ "fa7c":
  2502. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  2503. "use strict";
  2504. // ESM COMPAT FLAG
  2505. __webpack_require__.r(__webpack_exports__);
  2506. // EXPORTS
  2507. __webpack_require__.d(__webpack_exports__, "directive", function() { return /* reexport */ directive; });
  2508. __webpack_require__.d(__webpack_exports__, "VabContextmenu", function() { return /* reexport */ VabContextmenu; });
  2509. __webpack_require__.d(__webpack_exports__, "VabContextmenuItem", function() { return /* reexport */ VabContextmenuItem; });
  2510. __webpack_require__.d(__webpack_exports__, "VabContextmenuSubmenu", function() { return /* reexport */ VabContextmenuSubmenu; });
  2511. __webpack_require__.d(__webpack_exports__, "VabContextmenuGroup", function() { return /* reexport */ VabContextmenuGroup; });
  2512. // CONCATENATED MODULE: ./node_modules/_@vue_cli-service@4.5.6@@vue/cli-service/lib/commands/build/setPublicPath.js
  2513. // This file is imported into lib/wc client bundles.
  2514. if (typeof window !== 'undefined') {
  2515. var currentScript = window.document.currentScript
  2516. if (true) {
  2517. var getCurrentScript = __webpack_require__("79e4")
  2518. currentScript = getCurrentScript()
  2519. // for backward compatibility, because previously we directly included the polyfill
  2520. if (!('currentScript' in document)) {
  2521. Object.defineProperty(document, 'currentScript', { get: getCurrentScript })
  2522. }
  2523. }
  2524. var src = currentScript && currentScript.src.match(/(.+\/)[^/]+\.js(\?.*)?$/)
  2525. if (src) {
  2526. __webpack_require__.p = src[1] // eslint-disable-line
  2527. }
  2528. }
  2529. // Indicate to webpack that this file can be concatenated
  2530. /* harmony default export */ var setPublicPath = (null);
  2531. // EXTERNAL MODULE: ./node_modules/_core-js@3.6.5@core-js/modules/es.function.name.js
  2532. var es_function_name = __webpack_require__("053b");
  2533. // EXTERNAL MODULE: ./src/styles/index.css
  2534. var styles = __webpack_require__("5717");
  2535. // EXTERNAL MODULE: ./node_modules/_core-js@3.6.5@core-js/modules/es.object.to-string.js
  2536. var es_object_to_string = __webpack_require__("e18c");
  2537. // EXTERNAL MODULE: ./node_modules/_core-js@3.6.5@core-js/modules/es.regexp.to-string.js
  2538. var es_regexp_to_string = __webpack_require__("1c2e");
  2539. // CONCATENATED MODULE: ./src/components/directive.js
  2540. /* harmony default export */ var directive = ({
  2541. inserted: function inserted(el, binding, vnode) {
  2542. var node = vnode.context.$refs[binding.arg] || vnode.context.$refs[binding.value];
  2543. var contextmenu = Object.prototype.toString.call(node) === "[object Array]" ? node[0] : node;
  2544. contextmenu.addRef({
  2545. el: el,
  2546. vnode: vnode
  2547. });
  2548. contextmenu.$contextmenuId = el.id || contextmenu._uid;
  2549. }
  2550. });
  2551. // CONCATENATED MODULE: ./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a88fa506-vue-loader-template"}!./node_modules/_vue-loader@15.9.3@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.3@vue-loader/lib??vue-loader-options!./src/components/VabContextmenu.vue?vue&type=template&id=05677131&
  2552. var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ul',{directives:[{name:"show",rawName:"v-show",value:(_vm.visible),expression:"visible"}],ref:"contextmenu",class:_vm.contextmenuCls,style:(_vm.style)},[_vm._t("default")],2)}
  2553. var staticRenderFns = []
  2554. // CONCATENATED MODULE: ./src/components/VabContextmenu.vue?vue&type=template&id=05677131&
  2555. // EXTERNAL MODULE: ./node_modules/_core-js@3.6.5@core-js/modules/es.array.find.js
  2556. var es_array_find = __webpack_require__("4194");
  2557. // EXTERNAL MODULE: ./node_modules/_core-js@3.6.5@core-js/modules/es.array.for-each.js
  2558. var es_array_for_each = __webpack_require__("fe59");
  2559. // EXTERNAL MODULE: ./node_modules/_core-js@3.6.5@core-js/modules/es.array.some.js
  2560. var es_array_some = __webpack_require__("d497");
  2561. // EXTERNAL MODULE: ./node_modules/_core-js@3.6.5@core-js/modules/es.object.keys.js
  2562. var es_object_keys = __webpack_require__("fe8a");
  2563. // EXTERNAL MODULE: ./node_modules/_core-js@3.6.5@core-js/modules/web.dom-collections.for-each.js
  2564. var web_dom_collections_for_each = __webpack_require__("08ba");
  2565. // CONCATENATED MODULE: ./node_modules/_@babel_runtime@7.11.2@@babel/runtime/helpers/esm/defineProperty.js
  2566. function _defineProperty(obj, key, value) {
  2567. if (key in obj) {
  2568. Object.defineProperty(obj, key, {
  2569. value: value,
  2570. enumerable: true,
  2571. configurable: true,
  2572. writable: true
  2573. });
  2574. } else {
  2575. obj[key] = value;
  2576. }
  2577. return obj;
  2578. }
  2579. // CONCATENATED MODULE: ./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!./node_modules/_babel-loader@8.1.0@babel-loader/lib!./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.3@vue-loader/lib??vue-loader-options!./src/components/VabContextmenu.vue?vue&type=script&lang=js&
  2580. //
  2581. //
  2582. //
  2583. //
  2584. //
  2585. //
  2586. /* harmony default export */ var VabContextmenuvue_type_script_lang_js_ = ({
  2587. name: "VabContextmenu",
  2588. provide: function provide() {
  2589. return {
  2590. $$contextmenu: this
  2591. };
  2592. },
  2593. props: {
  2594. eventType: {
  2595. type: String,
  2596. default: "contextmenu"
  2597. },
  2598. theme: {
  2599. type: String,
  2600. default: "default"
  2601. },
  2602. autoPlacement: {
  2603. type: Boolean,
  2604. default: true
  2605. },
  2606. disabled: Boolean
  2607. },
  2608. data: function data() {
  2609. return {
  2610. visible: false,
  2611. references: [],
  2612. style: {
  2613. top: 0,
  2614. left: 0
  2615. }
  2616. };
  2617. },
  2618. computed: {
  2619. clickOutsideHandler: function clickOutsideHandler() {
  2620. return this.visible ? this.hide : function () {};
  2621. },
  2622. isClick: function isClick() {
  2623. return this.eventType === "click";
  2624. },
  2625. contextmenuCls: function contextmenuCls() {
  2626. return ["vab-contextmenu", "vab-contextmenu--".concat(this.theme)];
  2627. }
  2628. },
  2629. watch: {
  2630. visible: function visible(value) {
  2631. if (value) {
  2632. this.$emit("show", this);
  2633. document.body.addEventListener("click", this.handleBodyClick);
  2634. } else {
  2635. this.$emit("hide", this);
  2636. document.body.removeEventListener("click", this.handleBodyClick);
  2637. }
  2638. }
  2639. },
  2640. mounted: function mounted() {
  2641. document.body.appendChild(this.$el);
  2642. if (window.$$VContextmenu) {
  2643. window.$$VContextmenu[this.$contextmenuId] = this;
  2644. } else {
  2645. window.$$VContextmenu = _defineProperty({}, this.$contextmenuId, this);
  2646. }
  2647. },
  2648. beforeDestroy: function beforeDestroy() {
  2649. var _this = this;
  2650. document.body.removeChild(this.$el);
  2651. delete window.$$VContextmenu[this.$contextmenuId];
  2652. this.references.forEach(function (ref) {
  2653. ref.el.removeEventListener(_this.eventType, _this.handleReferenceContextmenu);
  2654. });
  2655. document.body.removeEventListener("click", this.handleBodyClick);
  2656. },
  2657. methods: {
  2658. addRef: function addRef(ref) {
  2659. // FIXME: 如何处理 removeRef?
  2660. this.references.push(ref);
  2661. ref.el.addEventListener(this.eventType, this.handleReferenceContextmenu);
  2662. },
  2663. handleReferenceContextmenu: function handleReferenceContextmenu(event) {
  2664. var _this2 = this;
  2665. event.preventDefault();
  2666. if (this.disabled) return;
  2667. var reference = this.references.find(function (ref) {
  2668. return ref.el.contains(event.target);
  2669. });
  2670. this.$emit("contextmenu", reference ? reference.vnode : null);
  2671. var eventX = event.pageX;
  2672. var eventY = event.pageY;
  2673. this.show();
  2674. this.$nextTick(function () {
  2675. var contextmenuPosition = {
  2676. top: eventY,
  2677. left: eventX
  2678. };
  2679. if (_this2.autoPlacement) {
  2680. var contextmenuWidth = _this2.$refs.contextmenu.clientWidth;
  2681. var contextmenuHeight = _this2.$refs.contextmenu.clientHeight;
  2682. if (contextmenuHeight + eventY >= window.innerHeight) {
  2683. contextmenuPosition.top -= contextmenuHeight;
  2684. }
  2685. if (contextmenuWidth + eventX >= window.innerWidth) {
  2686. contextmenuPosition.left -= contextmenuWidth;
  2687. }
  2688. }
  2689. _this2.style = {
  2690. top: "".concat(contextmenuPosition.top, "px"),
  2691. left: "".concat(contextmenuPosition.left, "px")
  2692. };
  2693. });
  2694. },
  2695. handleBodyClick: function handleBodyClick(event) {
  2696. var notOutside = this.$el.contains(event.target) || this.isClick && this.references.some(function (ref) {
  2697. return ref.el.contains(event.target);
  2698. });
  2699. if (!notOutside) {
  2700. this.visible = false;
  2701. }
  2702. },
  2703. show: function show(position) {
  2704. var _this3 = this;
  2705. Object.keys(window.$$VContextmenu).forEach(function (key) {
  2706. if (key !== _this3.$contextmenuId) {
  2707. window.$$VContextmenu[key].hide();
  2708. }
  2709. });
  2710. if (position) {
  2711. this.style = {
  2712. top: "".concat(position.top, "px"),
  2713. left: "".concat(position.left, "px")
  2714. };
  2715. }
  2716. this.visible = true;
  2717. },
  2718. hide: function hide() {
  2719. this.visible = false;
  2720. },
  2721. hideAll: function hideAll() {
  2722. Object.keys(window.$$VContextmenu).forEach(function (key) {
  2723. window.$$VContextmenu[key].hide();
  2724. });
  2725. }
  2726. }
  2727. });
  2728. // CONCATENATED MODULE: ./src/components/VabContextmenu.vue?vue&type=script&lang=js&
  2729. /* harmony default export */ var components_VabContextmenuvue_type_script_lang_js_ = (VabContextmenuvue_type_script_lang_js_);
  2730. // CONCATENATED MODULE: ./node_modules/_vue-loader@15.9.3@vue-loader/lib/runtime/componentNormalizer.js
  2731. /* globals __VUE_SSR_CONTEXT__ */
  2732. // IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
  2733. // This module is a runtime utility for cleaner component module output and will
  2734. // be included in the final webpack user bundle.
  2735. function normalizeComponent (
  2736. scriptExports,
  2737. render,
  2738. staticRenderFns,
  2739. functionalTemplate,
  2740. injectStyles,
  2741. scopeId,
  2742. moduleIdentifier, /* server only */
  2743. shadowMode /* vue-cli only */
  2744. ) {
  2745. // Vue.extend constructor export interop
  2746. var options = typeof scriptExports === 'function'
  2747. ? scriptExports.options
  2748. : scriptExports
  2749. // render functions
  2750. if (render) {
  2751. options.render = render
  2752. options.staticRenderFns = staticRenderFns
  2753. options._compiled = true
  2754. }
  2755. // functional template
  2756. if (functionalTemplate) {
  2757. options.functional = true
  2758. }
  2759. // scopedId
  2760. if (scopeId) {
  2761. options._scopeId = 'data-v-' + scopeId
  2762. }
  2763. var hook
  2764. if (moduleIdentifier) { // server build
  2765. hook = function (context) {
  2766. // 2.3 injection
  2767. context =
  2768. context || // cached call
  2769. (this.$vnode && this.$vnode.ssrContext) || // stateful
  2770. (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
  2771. // 2.2 with runInNewContext: true
  2772. if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
  2773. context = __VUE_SSR_CONTEXT__
  2774. }
  2775. // inject component styles
  2776. if (injectStyles) {
  2777. injectStyles.call(this, context)
  2778. }
  2779. // register component module identifier for async chunk inferrence
  2780. if (context && context._registeredComponents) {
  2781. context._registeredComponents.add(moduleIdentifier)
  2782. }
  2783. }
  2784. // used by ssr in case component is cached and beforeCreate
  2785. // never gets called
  2786. options._ssrRegister = hook
  2787. } else if (injectStyles) {
  2788. hook = shadowMode
  2789. ? function () {
  2790. injectStyles.call(
  2791. this,
  2792. (options.functional ? this.parent : this).$root.$options.shadowRoot
  2793. )
  2794. }
  2795. : injectStyles
  2796. }
  2797. if (hook) {
  2798. if (options.functional) {
  2799. // for template-only hot-reload because in that case the render fn doesn't
  2800. // go through the normalizer
  2801. options._injectStyles = hook
  2802. // register for functional component in vue file
  2803. var originalRender = options.render
  2804. options.render = function renderWithStyleInjection (h, context) {
  2805. hook.call(context)
  2806. return originalRender(h, context)
  2807. }
  2808. } else {
  2809. // inject component registration as beforeCreate hook
  2810. var existing = options.beforeCreate
  2811. options.beforeCreate = existing
  2812. ? [].concat(existing, hook)
  2813. : [hook]
  2814. }
  2815. }
  2816. return {
  2817. exports: scriptExports,
  2818. options: options
  2819. }
  2820. }
  2821. // CONCATENATED MODULE: ./src/components/VabContextmenu.vue
  2822. /* normalize component */
  2823. var component = normalizeComponent(
  2824. components_VabContextmenuvue_type_script_lang_js_,
  2825. render,
  2826. staticRenderFns,
  2827. false,
  2828. null,
  2829. null,
  2830. null
  2831. )
  2832. /* harmony default export */ var VabContextmenu = (component.exports);
  2833. // CONCATENATED MODULE: ./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a88fa506-vue-loader-template"}!./node_modules/_vue-loader@15.9.3@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.3@vue-loader/lib??vue-loader-options!./src/components/VabContextmenuItem.vue?vue&type=template&id=f27304aa&
  2834. var VabContextmenuItemvue_type_template_id_f27304aa_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.divider)?_c('li',{staticClass:"vab-contextmenu-divider"}):_c('li',{class:_vm.classname,on:{"click":_vm.handleClick,"mouseenter":_vm.handleMouseenter,"mouseleave":_vm.handleMouseleave}},[_vm._t("default")],2)}
  2835. var VabContextmenuItemvue_type_template_id_f27304aa_staticRenderFns = []
  2836. // CONCATENATED MODULE: ./src/components/VabContextmenuItem.vue?vue&type=template&id=f27304aa&
  2837. // CONCATENATED MODULE: ./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!./node_modules/_babel-loader@8.1.0@babel-loader/lib!./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.3@vue-loader/lib??vue-loader-options!./src/components/VabContextmenuItem.vue?vue&type=script&lang=js&
  2838. //
  2839. //
  2840. //
  2841. //
  2842. //
  2843. //
  2844. //
  2845. //
  2846. //
  2847. //
  2848. //
  2849. //
  2850. //
  2851. //
  2852. /* harmony default export */ var VabContextmenuItemvue_type_script_lang_js_ = ({
  2853. name: "VabContextmenuItem",
  2854. inject: ["$$contextmenu"],
  2855. props: {
  2856. divider: Boolean,
  2857. disabled: Boolean,
  2858. autoHide: {
  2859. type: Boolean,
  2860. default: true
  2861. }
  2862. },
  2863. data: function data() {
  2864. return {
  2865. hover: false
  2866. };
  2867. },
  2868. computed: {
  2869. classname: function classname() {
  2870. return {
  2871. "vab-contextmenu-item": !this.divider,
  2872. "vab-contextmenu-item--hover": this.hover,
  2873. "vab-contextmenu-item--disabled": this.disabled
  2874. };
  2875. }
  2876. },
  2877. methods: {
  2878. handleMouseenter: function handleMouseenter(event) {
  2879. if (this.disabled) return;
  2880. this.hover = true;
  2881. this.$emit("mouseenter", this, event);
  2882. },
  2883. handleMouseleave: function handleMouseleave(event) {
  2884. if (this.disabled) return;
  2885. this.hover = false;
  2886. this.$emit("mouseleave", this, event);
  2887. },
  2888. handleClick: function handleClick(event) {
  2889. if (this.disabled) return;
  2890. this.$emit("click", this, event);
  2891. this.autoHide && this.$$contextmenu.hide();
  2892. }
  2893. }
  2894. });
  2895. // CONCATENATED MODULE: ./src/components/VabContextmenuItem.vue?vue&type=script&lang=js&
  2896. /* harmony default export */ var components_VabContextmenuItemvue_type_script_lang_js_ = (VabContextmenuItemvue_type_script_lang_js_);
  2897. // CONCATENATED MODULE: ./src/components/VabContextmenuItem.vue
  2898. /* normalize component */
  2899. var VabContextmenuItem_component = normalizeComponent(
  2900. components_VabContextmenuItemvue_type_script_lang_js_,
  2901. VabContextmenuItemvue_type_template_id_f27304aa_render,
  2902. VabContextmenuItemvue_type_template_id_f27304aa_staticRenderFns,
  2903. false,
  2904. null,
  2905. null,
  2906. null
  2907. )
  2908. /* harmony default export */ var VabContextmenuItem = (VabContextmenuItem_component.exports);
  2909. // CONCATENATED MODULE: ./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a88fa506-vue-loader-template"}!./node_modules/_vue-loader@15.9.3@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.3@vue-loader/lib??vue-loader-options!./src/components/VabContextmenuSubmenu.vue?vue&type=template&id=10e48211&
  2910. var VabContextmenuSubmenuvue_type_template_id_10e48211_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',{class:_vm.classname,on:{"mouseenter":_vm.handleMouseenter,"mouseleave":_vm.handleMouseleave}},[_c('span',{staticClass:"vab-contextmenu-submenu__title"},[_vm._t("title",[_vm._v(_vm._s(_vm.title))]),_c('span',{staticClass:"vab-contextmenu-iconfont vab-contextmenu-submenu__icon"})],2),_c('ul',{directives:[{name:"show",rawName:"v-show",value:(_vm.hover),expression:"hover"}],ref:"submenu",class:_vm.submenuCls},[_vm._t("default")],2)])}
  2911. var VabContextmenuSubmenuvue_type_template_id_10e48211_staticRenderFns = []
  2912. // CONCATENATED MODULE: ./src/components/VabContextmenuSubmenu.vue?vue&type=template&id=10e48211&
  2913. // EXTERNAL MODULE: ./node_modules/_core-js@3.6.5@core-js/modules/es.array.concat.js
  2914. var es_array_concat = __webpack_require__("b4fb");
  2915. // CONCATENATED MODULE: ./node_modules/_@babel_runtime@7.11.2@@babel/runtime/helpers/esm/arrayLikeToArray.js
  2916. function _arrayLikeToArray(arr, len) {
  2917. if (len == null || len > arr.length) len = arr.length;
  2918. for (var i = 0, arr2 = new Array(len); i < len; i++) {
  2919. arr2[i] = arr[i];
  2920. }
  2921. return arr2;
  2922. }
  2923. // CONCATENATED MODULE: ./node_modules/_@babel_runtime@7.11.2@@babel/runtime/helpers/esm/arrayWithoutHoles.js
  2924. function _arrayWithoutHoles(arr) {
  2925. if (Array.isArray(arr)) return _arrayLikeToArray(arr);
  2926. }
  2927. // EXTERNAL MODULE: ./node_modules/_core-js@3.6.5@core-js/modules/es.symbol.js
  2928. var es_symbol = __webpack_require__("f3dd");
  2929. // EXTERNAL MODULE: ./node_modules/_core-js@3.6.5@core-js/modules/es.symbol.description.js
  2930. var es_symbol_description = __webpack_require__("0a51");
  2931. // EXTERNAL MODULE: ./node_modules/_core-js@3.6.5@core-js/modules/es.symbol.iterator.js
  2932. var es_symbol_iterator = __webpack_require__("9b11");
  2933. // EXTERNAL MODULE: ./node_modules/_core-js@3.6.5@core-js/modules/es.array.from.js
  2934. var es_array_from = __webpack_require__("98e0");
  2935. // EXTERNAL MODULE: ./node_modules/_core-js@3.6.5@core-js/modules/es.array.iterator.js
  2936. var es_array_iterator = __webpack_require__("a133");
  2937. // EXTERNAL MODULE: ./node_modules/_core-js@3.6.5@core-js/modules/es.string.iterator.js
  2938. var es_string_iterator = __webpack_require__("96db");
  2939. // EXTERNAL MODULE: ./node_modules/_core-js@3.6.5@core-js/modules/web.dom-collections.iterator.js
  2940. var web_dom_collections_iterator = __webpack_require__("af86");
  2941. // CONCATENATED MODULE: ./node_modules/_@babel_runtime@7.11.2@@babel/runtime/helpers/esm/iterableToArray.js
  2942. function _iterableToArray(iter) {
  2943. if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter);
  2944. }
  2945. // EXTERNAL MODULE: ./node_modules/_core-js@3.6.5@core-js/modules/es.array.slice.js
  2946. var es_array_slice = __webpack_require__("77ad");
  2947. // CONCATENATED MODULE: ./node_modules/_@babel_runtime@7.11.2@@babel/runtime/helpers/esm/unsupportedIterableToArray.js
  2948. function _unsupportedIterableToArray(o, minLen) {
  2949. if (!o) return;
  2950. if (typeof o === "string") return _arrayLikeToArray(o, minLen);
  2951. var n = Object.prototype.toString.call(o).slice(8, -1);
  2952. if (n === "Object" && o.constructor) n = o.constructor.name;
  2953. if (n === "Map" || n === "Set") return Array.from(o);
  2954. if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
  2955. }
  2956. // CONCATENATED MODULE: ./node_modules/_@babel_runtime@7.11.2@@babel/runtime/helpers/esm/nonIterableSpread.js
  2957. function _nonIterableSpread() {
  2958. throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
  2959. }
  2960. // CONCATENATED MODULE: ./node_modules/_@babel_runtime@7.11.2@@babel/runtime/helpers/esm/toConsumableArray.js
  2961. function _toConsumableArray(arr) {
  2962. return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
  2963. }
  2964. // CONCATENATED MODULE: ./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!./node_modules/_babel-loader@8.1.0@babel-loader/lib!./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.3@vue-loader/lib??vue-loader-options!./src/components/VabContextmenuSubmenu.vue?vue&type=script&lang=js&
  2965. //
  2966. //
  2967. //
  2968. //
  2969. //
  2970. //
  2971. //
  2972. //
  2973. //
  2974. //
  2975. //
  2976. //
  2977. //
  2978. //
  2979. //
  2980. //
  2981. //
  2982. //
  2983. /* harmony default export */ var VabContextmenuSubmenuvue_type_script_lang_js_ = ({
  2984. name: "VabContextmenuSubmenu",
  2985. props: {
  2986. title: String,
  2987. disabled: Boolean
  2988. },
  2989. data: function data() {
  2990. return {
  2991. hover: false,
  2992. submenuPlacement: []
  2993. };
  2994. },
  2995. computed: {
  2996. classname: function classname() {
  2997. return {
  2998. "vab-contextmenu-item": true,
  2999. "vab-contextmenu-submenu": true,
  3000. "vab-contextmenu-item--hover": this.hover,
  3001. "vab-contextmenu-item--disabled": this.disabled
  3002. };
  3003. },
  3004. submenuCls: function submenuCls() {
  3005. return ["vab-contextmenu"].concat(_toConsumableArray(this.submenuPlacement));
  3006. }
  3007. },
  3008. methods: {
  3009. handleMouseenter: function handleMouseenter(event) {
  3010. var _this = this;
  3011. if (this.disabled) return;
  3012. var target = event.target;
  3013. var targetDimension = target.getBoundingClientRect();
  3014. this.hover = true;
  3015. this.$emit("mouseenter", this, event);
  3016. this.$nextTick(function () {
  3017. var submenuWidth = _this.$refs.submenu.clientWidth;
  3018. var submenuHeight = _this.$refs.submenu.clientHeight;
  3019. var submenuPlacement = [];
  3020. if (targetDimension.right + submenuWidth >= window.innerWidth) {
  3021. submenuPlacement.push("left");
  3022. } else {
  3023. submenuPlacement.push("right");
  3024. }
  3025. if (targetDimension.bottom + submenuHeight >= window.innerHeight) {
  3026. submenuPlacement.push("bottom");
  3027. } else {
  3028. submenuPlacement.push("top");
  3029. }
  3030. _this.submenuPlacement = submenuPlacement;
  3031. });
  3032. },
  3033. handleMouseleave: function handleMouseleave(event) {
  3034. if (this.disabled) return;
  3035. this.hover = false;
  3036. this.$emit("mouseleave", this, event);
  3037. }
  3038. }
  3039. });
  3040. // CONCATENATED MODULE: ./src/components/VabContextmenuSubmenu.vue?vue&type=script&lang=js&
  3041. /* harmony default export */ var components_VabContextmenuSubmenuvue_type_script_lang_js_ = (VabContextmenuSubmenuvue_type_script_lang_js_);
  3042. // CONCATENATED MODULE: ./src/components/VabContextmenuSubmenu.vue
  3043. /* normalize component */
  3044. var VabContextmenuSubmenu_component = normalizeComponent(
  3045. components_VabContextmenuSubmenuvue_type_script_lang_js_,
  3046. VabContextmenuSubmenuvue_type_template_id_10e48211_render,
  3047. VabContextmenuSubmenuvue_type_template_id_10e48211_staticRenderFns,
  3048. false,
  3049. null,
  3050. null,
  3051. null
  3052. )
  3053. /* harmony default export */ var VabContextmenuSubmenu = (VabContextmenuSubmenu_component.exports);
  3054. // CONCATENATED MODULE: ./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a88fa506-vue-loader-template"}!./node_modules/_vue-loader@15.9.3@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.3@vue-loader/lib??vue-loader-options!./src/components/VabContextmenuGroup.vue?vue&type=template&id=1a94dbc6&
  3055. var VabContextmenuGroupvue_type_template_id_1a94dbc6_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',{staticClass:"vab-contextmenu-group"},[_c('ul',{staticClass:"vab-contextmenu-group__menus",style:(_vm.menusStyle)},[_vm._t("default")],2)])}
  3056. var VabContextmenuGroupvue_type_template_id_1a94dbc6_staticRenderFns = []
  3057. // CONCATENATED MODULE: ./src/components/VabContextmenuGroup.vue?vue&type=template&id=1a94dbc6&
  3058. // EXTERNAL MODULE: ./node_modules/_core-js@3.6.5@core-js/modules/es.number.constructor.js
  3059. var es_number_constructor = __webpack_require__("513c");
  3060. // CONCATENATED MODULE: ./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!./node_modules/_babel-loader@8.1.0@babel-loader/lib!./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.3@vue-loader/lib??vue-loader-options!./src/components/VabContextmenuGroup.vue?vue&type=script&lang=js&
  3061. //
  3062. //
  3063. //
  3064. //
  3065. //
  3066. //
  3067. //
  3068. //
  3069. /* harmony default export */ var VabContextmenuGroupvue_type_script_lang_js_ = ({
  3070. name: "VabContextmenuGroup",
  3071. props: {
  3072. maxWidth: [Number, String]
  3073. },
  3074. computed: {
  3075. menusStyle: function menusStyle() {
  3076. if (!this.maxWidth) return null;
  3077. var style = {
  3078. "max-width": typeof this.maxWidth === "number" ? "".concat(this.maxWidth, "px") : this.maxWidth,
  3079. "overflow-x": "auto"
  3080. };
  3081. return style;
  3082. }
  3083. }
  3084. });
  3085. // CONCATENATED MODULE: ./src/components/VabContextmenuGroup.vue?vue&type=script&lang=js&
  3086. /* harmony default export */ var components_VabContextmenuGroupvue_type_script_lang_js_ = (VabContextmenuGroupvue_type_script_lang_js_);
  3087. // CONCATENATED MODULE: ./src/components/VabContextmenuGroup.vue
  3088. /* normalize component */
  3089. var VabContextmenuGroup_component = normalizeComponent(
  3090. components_VabContextmenuGroupvue_type_script_lang_js_,
  3091. VabContextmenuGroupvue_type_template_id_1a94dbc6_render,
  3092. VabContextmenuGroupvue_type_template_id_1a94dbc6_staticRenderFns,
  3093. false,
  3094. null,
  3095. null,
  3096. null
  3097. )
  3098. /* harmony default export */ var VabContextmenuGroup = (VabContextmenuGroup_component.exports);
  3099. // CONCATENATED MODULE: ./src/components/export.js
  3100. var export_install = function install(Vue) {
  3101. Vue.directive("contextmenu", directive);
  3102. Vue.component(VabContextmenu.name, VabContextmenu);
  3103. Vue.component(VabContextmenuItem.name, VabContextmenuItem);
  3104. Vue.component(VabContextmenuSubmenu.name, VabContextmenuSubmenu);
  3105. Vue.component(VabContextmenuGroup.name, VabContextmenuGroup);
  3106. };
  3107. if (typeof window !== "undefined" && window.Vue) {
  3108. export_install(window.Vue);
  3109. }
  3110. /* harmony default export */ var components_export = ({
  3111. install: export_install
  3112. });
  3113. // CONCATENATED MODULE: ./node_modules/_@vue_cli-service@4.5.6@@vue/cli-service/lib/commands/build/entry-lib.js
  3114. /* harmony default export */ var entry_lib = __webpack_exports__["default"] = (components_export);
  3115. /***/ }),
  3116. /***/ "faa8":
  3117. /***/ (function(module, exports) {
  3118. var hasOwnProperty = {}.hasOwnProperty;
  3119. module.exports = function (it, key) {
  3120. return hasOwnProperty.call(it, key);
  3121. };
  3122. /***/ }),
  3123. /***/ "fc8c":
  3124. /***/ (function(module, exports) {
  3125. // a string of all valid unicode whitespaces
  3126. // eslint-disable-next-line max-len
  3127. module.exports = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
  3128. /***/ }),
  3129. /***/ "fe59":
  3130. /***/ (function(module, exports, __webpack_require__) {
  3131. "use strict";
  3132. var $ = __webpack_require__("1c8b");
  3133. var forEach = __webpack_require__("3c10");
  3134. // `Array.prototype.forEach` method
  3135. // https://tc39.github.io/ecma262/#sec-array.prototype.foreach
  3136. $({ target: 'Array', proto: true, forced: [].forEach != forEach }, {
  3137. forEach: forEach
  3138. });
  3139. /***/ }),
  3140. /***/ "fe8a":
  3141. /***/ (function(module, exports, __webpack_require__) {
  3142. var $ = __webpack_require__("1c8b");
  3143. var toObject = __webpack_require__("3553");
  3144. var nativeKeys = __webpack_require__("cbab");
  3145. var fails = __webpack_require__("efe2");
  3146. var FAILS_ON_PRIMITIVES = fails(function () { nativeKeys(1); });
  3147. // `Object.keys` method
  3148. // https://tc39.github.io/ecma262/#sec-object.keys
  3149. $({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {
  3150. keys: function keys(it) {
  3151. return nativeKeys(toObject(it));
  3152. }
  3153. });
  3154. /***/ }),
  3155. /***/ "ff9c":
  3156. /***/ (function(module, exports, __webpack_require__) {
  3157. var DESCRIPTORS = __webpack_require__("1e2c");
  3158. var fails = __webpack_require__("efe2");
  3159. var has = __webpack_require__("faa8");
  3160. var defineProperty = Object.defineProperty;
  3161. var cache = {};
  3162. var thrower = function (it) { throw it; };
  3163. module.exports = function (METHOD_NAME, options) {
  3164. if (has(cache, METHOD_NAME)) return cache[METHOD_NAME];
  3165. if (!options) options = {};
  3166. var method = [][METHOD_NAME];
  3167. var ACCESSORS = has(options, 'ACCESSORS') ? options.ACCESSORS : false;
  3168. var argument0 = has(options, 0) ? options[0] : thrower;
  3169. var argument1 = has(options, 1) ? options[1] : undefined;
  3170. return cache[METHOD_NAME] = !!method && !fails(function () {
  3171. if (ACCESSORS && !DESCRIPTORS) return true;
  3172. var O = { length: -1 };
  3173. if (ACCESSORS) defineProperty(O, 1, { enumerable: true, get: thrower });
  3174. else O[1] = 1;
  3175. method.call(O, argument0, argument1);
  3176. });
  3177. };
  3178. /***/ })
  3179. /******/ });
  3180. });