RuntimeGlobals.js 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457
  1. /*
  2. MIT License http://www.opensource.org/licenses/mit-license.php
  3. Author Tobias Koppers @sokra
  4. */
  5. "use strict";
  6. /**
  7. * the AMD define function
  8. */
  9. module.exports.amdDefine = "__webpack_require__.amdD";
  10. /**
  11. * the AMD options
  12. */
  13. module.exports.amdOptions = "__webpack_require__.amdO";
  14. /**
  15. * Creates an async module. The body function must be a async function.
  16. * "module.exports" will be decorated with an AsyncModulePromise.
  17. * The body function will be called.
  18. * To handle async dependencies correctly do this: "([a, b, c] = await handleDependencies([a, b, c]));".
  19. * If "hasAwaitAfterDependencies" is truthy, "handleDependencies()" must be called at the end of the body function.
  20. * Signature: function(
  21. * module: Module,
  22. * body: (handleDependencies: (deps: AsyncModulePromise[]) => Promise<any[]> & () => void,
  23. * hasAwaitAfterDependencies?: boolean
  24. * ) => void
  25. */
  26. module.exports.asyncModule = "__webpack_require__.a";
  27. /**
  28. * The internal symbol that asyncModule is using.
  29. */
  30. module.exports.asyncModuleDoneSymbol = "__webpack_require__.aD";
  31. /**
  32. * The internal symbol that asyncModule is using.
  33. */
  34. module.exports.asyncModuleExportSymbol = "__webpack_require__.aE";
  35. /**
  36. * the baseURI of current document
  37. */
  38. module.exports.baseURI = "__webpack_require__.b";
  39. /**
  40. * global callback functions for installing chunks
  41. */
  42. module.exports.chunkCallback = "webpackChunk";
  43. /**
  44. * the chunk name of the chunk with the runtime
  45. */
  46. module.exports.chunkName = "__webpack_require__.cn";
  47. /**
  48. * compatibility get default export
  49. */
  50. module.exports.compatGetDefaultExport = "__webpack_require__.n";
  51. /**
  52. * compile a wasm module from id and hash, returning WebAssembly.Module
  53. */
  54. module.exports.compileWasm = "__webpack_require__.vs";
  55. /**
  56. * create a fake namespace object
  57. */
  58. module.exports.createFakeNamespaceObject = "__webpack_require__.t";
  59. /**
  60. * function to promote a string to a TrustedScript using webpack's Trusted
  61. * Types policy
  62. * Arguments: (script: string) => TrustedScript
  63. */
  64. module.exports.createScript = "__webpack_require__.ts";
  65. /**
  66. * function to promote a string to a TrustedScriptURL using webpack's Trusted
  67. * Types policy
  68. * Arguments: (url: string) => TrustedScriptURL
  69. */
  70. module.exports.createScriptUrl = "__webpack_require__.tu";
  71. /**
  72. * merge multiple CSS stylesheets (CSSStyleSheet or string) into one CSS text string
  73. * Arguments: (sheets: Array<CSSStyleSheet | string> | CSSStyleSheet | string) => string
  74. */
  75. module.exports.cssInjectStyle = "__webpack_require__.is";
  76. module.exports.cssMergeStyleSheets = "__webpack_require__.mcs";
  77. /**
  78. * The current scope when getting a module from a remote
  79. */
  80. module.exports.currentRemoteGetScope = "__webpack_require__.R";
  81. /**
  82. * resolve async transitive dependencies for deferred module
  83. */
  84. module.exports.deferredModuleAsyncTransitiveDependencies =
  85. "__webpack_require__.zT";
  86. /**
  87. * the internal symbol for getting the async transitive dependencies for deferred module
  88. */
  89. module.exports.deferredModuleAsyncTransitiveDependenciesSymbol =
  90. "__webpack_require__.zS";
  91. /**
  92. * the exported property define getters function
  93. */
  94. module.exports.definePropertyGetters = "__webpack_require__.d";
  95. /**
  96. * the chunk ensure function
  97. */
  98. module.exports.ensureChunk = "__webpack_require__.e";
  99. /**
  100. * an object with handlers to ensure a chunk
  101. */
  102. module.exports.ensureChunkHandlers = "__webpack_require__.f";
  103. /**
  104. * a runtime requirement if ensureChunkHandlers should include loading of chunk needed for entries
  105. */
  106. module.exports.ensureChunkIncludeEntries =
  107. "__webpack_require__.f (include entries)";
  108. /**
  109. * the module id of the entry point
  110. */
  111. module.exports.entryModuleId = "__webpack_require__.s";
  112. /**
  113. * esm module id
  114. */
  115. module.exports.esmId = "__webpack_esm_id__";
  116. /**
  117. * esm module ids
  118. */
  119. module.exports.esmIds = "__webpack_esm_ids__";
  120. /**
  121. * esm modules
  122. */
  123. module.exports.esmModules = "__webpack_esm_modules__";
  124. /**
  125. * esm runtime
  126. */
  127. module.exports.esmRuntime = "__webpack_esm_runtime__";
  128. /**
  129. * the internal exports object
  130. */
  131. module.exports.exports = "__webpack_exports__";
  132. /**
  133. * method to install a chunk that was loaded somehow
  134. * Signature: ({ id, ids, modules, runtime }) => void
  135. */
  136. module.exports.externalInstallChunk = "__webpack_require__.C";
  137. /**
  138. * the filename of the css part of the chunk
  139. */
  140. module.exports.getChunkCssFilename = "__webpack_require__.k";
  141. /**
  142. * the filename of the script part of the chunk
  143. */
  144. module.exports.getChunkScriptFilename = "__webpack_require__.u";
  145. /**
  146. * the filename of the css part of the hot update chunk
  147. */
  148. module.exports.getChunkUpdateCssFilename = "__webpack_require__.hk";
  149. /**
  150. * the filename of the script part of the hot update chunk
  151. */
  152. module.exports.getChunkUpdateScriptFilename = "__webpack_require__.hu";
  153. /**
  154. * the webpack hash
  155. */
  156. module.exports.getFullHash = "__webpack_require__.h";
  157. /**
  158. * function to return webpack's Trusted Types policy
  159. * Arguments: () => TrustedTypePolicy
  160. */
  161. module.exports.getTrustedTypesPolicy = "__webpack_require__.tt";
  162. /**
  163. * the filename of the HMR manifest
  164. */
  165. module.exports.getUpdateManifestFilename = "__webpack_require__.hmrF";
  166. /**
  167. * the global object
  168. */
  169. module.exports.global = "__webpack_require__.g";
  170. /**
  171. * harmony module decorator
  172. */
  173. module.exports.harmonyModuleDecorator = "__webpack_require__.hmd";
  174. /**
  175. * a flag when a module/chunk/tree has css modules
  176. */
  177. module.exports.hasCssModules = "has css modules";
  178. /**
  179. * a flag when a chunk has a fetch priority
  180. */
  181. module.exports.hasFetchPriority = "has fetch priority";
  182. /**
  183. * the shorthand for Object.prototype.hasOwnProperty
  184. * using of it decreases the compiled bundle size
  185. */
  186. module.exports.hasOwnProperty = "__webpack_require__.o";
  187. /**
  188. * function downloading the update manifest
  189. */
  190. module.exports.hmrDownloadManifest = "__webpack_require__.hmrM";
  191. /**
  192. * array with handler functions to download chunk updates
  193. */
  194. module.exports.hmrDownloadUpdateHandlers = "__webpack_require__.hmrC";
  195. /**
  196. * array with handler functions when a module should be invalidated
  197. */
  198. module.exports.hmrInvalidateModuleHandlers = "__webpack_require__.hmrI";
  199. /**
  200. * object with all hmr module data for all modules
  201. */
  202. module.exports.hmrModuleData = "__webpack_require__.hmrD";
  203. /**
  204. * the prefix for storing state of runtime modules when hmr is enabled
  205. */
  206. module.exports.hmrRuntimeStatePrefix = "__webpack_require__.hmrS";
  207. /**
  208. * The sharing init sequence function (only runs once per share scope).
  209. * Has one argument, the name of the share scope.
  210. * Creates a share scope if not existing
  211. */
  212. module.exports.initializeSharing = "__webpack_require__.I";
  213. /**
  214. * instantiate a wasm instance from module exports object, id, hash and importsObject
  215. */
  216. module.exports.instantiateWasm = "__webpack_require__.v";
  217. /**
  218. * interceptor for module executions
  219. */
  220. module.exports.interceptModuleExecution = "__webpack_require__.i";
  221. /**
  222. * function to load a script tag.
  223. * Arguments: (url: string, done: (event) => void), key?: string | number, chunkId?: string | number) => void
  224. * done function is called when loading has finished or timeout occurred.
  225. * It will attach to existing script tags with data-webpack == uniqueName + ":" + key or src == url.
  226. */
  227. module.exports.loadScript = "__webpack_require__.l";
  228. /**
  229. * make a deferred namespace object
  230. */
  231. module.exports.makeDeferredNamespaceObject = "__webpack_require__.z";
  232. /**
  233. * define compatibility on export
  234. */
  235. module.exports.makeNamespaceObject = "__webpack_require__.r";
  236. /**
  237. * make a optimized deferred namespace object
  238. */
  239. module.exports.makeOptimizedDeferredNamespaceObject = "__webpack_require__.zO";
  240. /**
  241. * the internal module object
  242. */
  243. module.exports.module = "module";
  244. /**
  245. * the module cache
  246. */
  247. module.exports.moduleCache = "__webpack_require__.c";
  248. /**
  249. * the module functions
  250. */
  251. module.exports.moduleFactories = "__webpack_require__.m";
  252. /**
  253. * the module functions, with only write access
  254. */
  255. module.exports.moduleFactoriesAddOnly = "__webpack_require__.m (add only)";
  256. /**
  257. * the internal module object
  258. */
  259. module.exports.moduleId = "module.id";
  260. /**
  261. * the internal module object
  262. */
  263. module.exports.moduleLoaded = "module.loaded";
  264. /**
  265. * node.js module decorator
  266. */
  267. module.exports.nodeModuleDecorator = "__webpack_require__.nmd";
  268. /**
  269. * register deferred code, which will run when certain
  270. * chunks are loaded.
  271. * Signature: (chunkIds: Id[], fn: () => any, priority: int >= 0 = 0) => any
  272. * Returned value will be returned directly when all chunks are already loaded
  273. * When (priority & 1) it will wait for all other handlers with lower priority to
  274. * be executed before itself is executed
  275. */
  276. module.exports.onChunksLoaded = "__webpack_require__.O";
  277. /**
  278. * the chunk prefetch function
  279. */
  280. module.exports.prefetchChunk = "__webpack_require__.E";
  281. /**
  282. * an object with handlers to prefetch a chunk
  283. */
  284. module.exports.prefetchChunkHandlers = "__webpack_require__.F";
  285. /**
  286. * the chunk preload function
  287. */
  288. module.exports.preloadChunk = "__webpack_require__.G";
  289. /**
  290. * an object with handlers to preload a chunk
  291. */
  292. module.exports.preloadChunkHandlers = "__webpack_require__.H";
  293. /**
  294. * the bundle public path
  295. */
  296. module.exports.publicPath = "__webpack_require__.p";
  297. /**
  298. * a RelativeURL class when relative URLs are used
  299. */
  300. module.exports.relativeUrl = "__webpack_require__.U";
  301. /**
  302. * the internal require function
  303. */
  304. module.exports.require = "__webpack_require__";
  305. /**
  306. * access to properties of the internal require function/object
  307. */
  308. module.exports.requireScope = "__webpack_require__.*";
  309. /**
  310. * runtime need to return the exports of the last entry module
  311. */
  312. module.exports.returnExportsFromRuntime = "return-exports-from-runtime";
  313. /**
  314. * the runtime id of the current runtime
  315. */
  316. module.exports.runtimeId = "__webpack_require__.j";
  317. /**
  318. * the script nonce
  319. */
  320. module.exports.scriptNonce = "__webpack_require__.nc";
  321. /**
  322. * an object with all share scopes
  323. */
  324. module.exports.shareScopeMap = "__webpack_require__.S";
  325. /**
  326. * startup signal from runtime
  327. * This will be called when the runtime chunk has been loaded.
  328. */
  329. module.exports.startup = "__webpack_require__.x";
  330. /**
  331. * method to startup an entrypoint with needed chunks.
  332. * Signature: (moduleId: Id, chunkIds: Id[]) => any.
  333. * Returns the exports of the module or a Promise
  334. */
  335. module.exports.startupEntrypoint = "__webpack_require__.X";
  336. /**
  337. * Describes how this item operation behaves.
  338. * @deprecated
  339. * creating a default startup function with the entry modules
  340. */
  341. module.exports.startupNoDefault = "__webpack_require__.x (no default handler)";
  342. /**
  343. * startup signal from runtime but only used to add logic after the startup
  344. */
  345. module.exports.startupOnlyAfter = "__webpack_require__.x (only after)";
  346. /**
  347. * startup signal from runtime but only used to add sync logic before the startup
  348. */
  349. module.exports.startupOnlyBefore = "__webpack_require__.x (only before)";
  350. /**
  351. * the System polyfill object
  352. */
  353. module.exports.system = "__webpack_require__.System";
  354. /**
  355. * the System.register context object
  356. */
  357. module.exports.systemContext = "__webpack_require__.y";
  358. /**
  359. * top-level this need to be the exports object
  360. */
  361. module.exports.thisAsExports = "top-level-this-exports";
  362. /**
  363. * to binary helper, convert base64 to Uint8Array
  364. */
  365. module.exports.toBinary = "__webpack_require__.tb";
  366. /**
  367. * the uncaught error handler for the webpack runtime
  368. */
  369. module.exports.uncaughtErrorHandler = "__webpack_require__.oe";
  370. /**
  371. * an object containing all installed WebAssembly.Instance export objects keyed by module id
  372. */
  373. module.exports.wasmInstances = "__webpack_require__.w";