RuntimeGlobals.js 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381
  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. * the chunk name of the chunk with the runtime
  156. */
  157. exports.chunkName = "__webpack_require__.cn";
  158. /**
  159. * the runtime id of the current runtime
  160. */
  161. exports.runtimeId = "__webpack_require__.j";
  162. /**
  163. * the filename of the script part of the chunk
  164. */
  165. exports.getChunkScriptFilename = "__webpack_require__.u";
  166. /**
  167. * the filename of the css part of the chunk
  168. */
  169. exports.getChunkCssFilename = "__webpack_require__.k";
  170. /**
  171. * a flag when a module/chunk/tree has css modules
  172. */
  173. exports.hasCssModules = "has css modules";
  174. /**
  175. * the filename of the script part of the hot update chunk
  176. */
  177. exports.getChunkUpdateScriptFilename = "__webpack_require__.hu";
  178. /**
  179. * the filename of the css part of the hot update chunk
  180. */
  181. exports.getChunkUpdateCssFilename = "__webpack_require__.hk";
  182. /**
  183. * startup signal from runtime
  184. * This will be called when the runtime chunk has been loaded.
  185. */
  186. exports.startup = "__webpack_require__.x";
  187. /**
  188. * @deprecated
  189. * creating a default startup function with the entry modules
  190. */
  191. exports.startupNoDefault = "__webpack_require__.x (no default handler)";
  192. /**
  193. * startup signal from runtime but only used to add logic after the startup
  194. */
  195. exports.startupOnlyAfter = "__webpack_require__.x (only after)";
  196. /**
  197. * startup signal from runtime but only used to add sync logic before the startup
  198. */
  199. exports.startupOnlyBefore = "__webpack_require__.x (only before)";
  200. /**
  201. * global callback functions for installing chunks
  202. */
  203. exports.chunkCallback = "webpackChunk";
  204. /**
  205. * method to startup an entrypoint with needed chunks.
  206. * Signature: (moduleId: Id, chunkIds: Id[]) => any.
  207. * Returns the exports of the module or a Promise
  208. */
  209. exports.startupEntrypoint = "__webpack_require__.X";
  210. /**
  211. * register deferred code, which will run when certain
  212. * chunks are loaded.
  213. * Signature: (chunkIds: Id[], fn: () => any, priority: int >= 0 = 0) => any
  214. * Returned value will be returned directly when all chunks are already loaded
  215. * When (priority & 1) it will wait for all other handlers with lower priority to
  216. * be executed before itself is executed
  217. */
  218. exports.onChunksLoaded = "__webpack_require__.O";
  219. /**
  220. * method to install a chunk that was loaded somehow
  221. * Signature: ({ id, ids, modules, runtime }) => void
  222. */
  223. exports.externalInstallChunk = "__webpack_require__.C";
  224. /**
  225. * interceptor for module executions
  226. */
  227. exports.interceptModuleExecution = "__webpack_require__.i";
  228. /**
  229. * the global object
  230. */
  231. exports.global = "__webpack_require__.g";
  232. /**
  233. * an object with all share scopes
  234. */
  235. exports.shareScopeMap = "__webpack_require__.S";
  236. /**
  237. * The sharing init sequence function (only runs once per share scope).
  238. * Has one argument, the name of the share scope.
  239. * Creates a share scope if not existing
  240. */
  241. exports.initializeSharing = "__webpack_require__.I";
  242. /**
  243. * The current scope when getting a module from a remote
  244. */
  245. exports.currentRemoteGetScope = "__webpack_require__.R";
  246. /**
  247. * the filename of the HMR manifest
  248. */
  249. exports.getUpdateManifestFilename = "__webpack_require__.hmrF";
  250. /**
  251. * function downloading the update manifest
  252. */
  253. exports.hmrDownloadManifest = "__webpack_require__.hmrM";
  254. /**
  255. * array with handler functions to download chunk updates
  256. */
  257. exports.hmrDownloadUpdateHandlers = "__webpack_require__.hmrC";
  258. /**
  259. * object with all hmr module data for all modules
  260. */
  261. exports.hmrModuleData = "__webpack_require__.hmrD";
  262. /**
  263. * array with handler functions when a module should be invalidated
  264. */
  265. exports.hmrInvalidateModuleHandlers = "__webpack_require__.hmrI";
  266. /**
  267. * the prefix for storing state of runtime modules when hmr is enabled
  268. */
  269. exports.hmrRuntimeStatePrefix = "__webpack_require__.hmrS";
  270. /**
  271. * the AMD define function
  272. */
  273. exports.amdDefine = "__webpack_require__.amdD";
  274. /**
  275. * the AMD options
  276. */
  277. exports.amdOptions = "__webpack_require__.amdO";
  278. /**
  279. * the System polyfill object
  280. */
  281. exports.system = "__webpack_require__.System";
  282. /**
  283. * the shorthand for Object.prototype.hasOwnProperty
  284. * using of it decreases the compiled bundle size
  285. */
  286. exports.hasOwnProperty = "__webpack_require__.o";
  287. /**
  288. * the System.register context object
  289. */
  290. exports.systemContext = "__webpack_require__.y";
  291. /**
  292. * the baseURI of current document
  293. */
  294. exports.baseURI = "__webpack_require__.b";
  295. /**
  296. * a RelativeURL class when relative URLs are used
  297. */
  298. exports.relativeUrl = "__webpack_require__.U";
  299. /**
  300. * Creates an async module. The body function must be a async function.
  301. * "module.exports" will be decorated with an AsyncModulePromise.
  302. * The body function will be called.
  303. * To handle async dependencies correctly do this: "([a, b, c] = await handleDependencies([a, b, c]));".
  304. * If "hasAwaitAfterDependencies" is truthy, "handleDependencies()" must be called at the end of the body function.
  305. * Signature: function(
  306. * module: Module,
  307. * body: (handleDependencies: (deps: AsyncModulePromise[]) => Promise<any[]> & () => void,
  308. * hasAwaitAfterDependencies?: boolean
  309. * ) => void
  310. */
  311. exports.asyncModule = "__webpack_require__.a";