RuntimeGlobals.js 9.1 KB

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