RuntimeGlobals.js 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521
  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. * analyzable single-chunk `import()` that keeps `ensureChunk` timing and deduplication:
  16. * resolves immediately for an installed chunk, else runs the literal import and installs it
  17. * Signature: (chunkId, () => Promise) => Promise
  18. */
  19. module.exports.analyzableChunkImport = "__webpack_require__.ei";
  20. /**
  21. * Creates an async module. The body function must be a async function.
  22. * "module.exports" will be decorated with an AsyncModulePromise.
  23. * The body function will be called.
  24. * To handle async dependencies correctly do this: "([a, b, c] = await handleDependencies([a, b, c]));".
  25. * If "hasAwaitAfterDependencies" is truthy, "handleDependencies()" must be called at the end of the body function.
  26. * Signature: function(
  27. * module: Module,
  28. * body: (handleDependencies: (deps: AsyncModulePromise[]) => Promise<any[]> & () => void,
  29. * hasAwaitAfterDependencies?: boolean
  30. * ) => void
  31. */
  32. module.exports.asyncModule = "__webpack_require__.a";
  33. /**
  34. * The internal symbol that asyncModule is using.
  35. */
  36. module.exports.asyncModuleDoneSymbol = "__webpack_require__.aD";
  37. /**
  38. * The internal symbol that asyncModule is using.
  39. */
  40. module.exports.asyncModuleExportSymbol = "__webpack_require__.aE";
  41. /**
  42. * Drives an async module body written as a generator function (used when the
  43. * target environment supports generators but not `async`/`await`).
  44. * It runs the generator, resolving each `yield`ed dependency promise, so the
  45. * body reads like a plain `async` function without emitting `async`/`await`.
  46. * Signature: function(body: GeneratorFunction) => (handleDependencies, result) => void
  47. */
  48. module.exports.asyncModuleGenerator = "__webpack_require__.aG";
  49. /**
  50. * the baseURI of current document
  51. */
  52. module.exports.baseURI = "__webpack_require__.b";
  53. /**
  54. * global callback functions for installing chunks
  55. */
  56. module.exports.chunkCallback = "webpackChunk";
  57. /**
  58. * the chunk name of the chunk with the runtime
  59. */
  60. module.exports.chunkName = "__webpack_require__.cn";
  61. /**
  62. * compatibility get default export
  63. */
  64. module.exports.compatGetDefaultExport = "__webpack_require__.n";
  65. /**
  66. * compile a wasm module from id and hash, returning WebAssembly.Module
  67. */
  68. module.exports.compileWasm = "__webpack_require__.vs";
  69. /**
  70. * wrap a concatenated module body as a lazy accessor, returning its exports
  71. */
  72. module.exports.concatenationWrap = "__webpack_require__.cw";
  73. /**
  74. * apply the `new` return-value rule to a concatenated module's exports
  75. */
  76. module.exports.constructRequire = "__webpack_require__.cr";
  77. /**
  78. * create a fake namespace object
  79. */
  80. module.exports.createFakeNamespaceObject = "__webpack_require__.t";
  81. /**
  82. * function to promote a string to a TrustedScript using webpack's Trusted
  83. * Types policy
  84. * Arguments: (script: string) => TrustedScript
  85. */
  86. module.exports.createScript = "__webpack_require__.ts";
  87. /**
  88. * function to promote a string to a TrustedScriptURL using webpack's Trusted
  89. * Types policy
  90. * Arguments: (url: string) => TrustedScriptURL
  91. */
  92. module.exports.createScriptUrl = "__webpack_require__.tu";
  93. module.exports.cssInjectStyle = "__webpack_require__.is";
  94. /**
  95. * The current scope when getting a module from a remote
  96. */
  97. module.exports.currentRemoteGetScope = "__webpack_require__.R";
  98. /**
  99. * resolve async transitive dependencies for deferred module
  100. */
  101. module.exports.deferredModuleAsyncTransitiveDependencies =
  102. "__webpack_require__.zT";
  103. /**
  104. * the internal symbol for getting the async transitive dependencies for deferred module
  105. */
  106. module.exports.deferredModuleAsyncTransitiveDependenciesSymbol =
  107. "__webpack_require__.zS";
  108. /**
  109. * the exported property define getters function
  110. */
  111. module.exports.definePropertyGetters = "__webpack_require__.d";
  112. /**
  113. * a runtime requirement if definePropertyGetters is called with an array of bindings
  114. */
  115. module.exports.definePropertyGettersFromArray = "__webpack_require__.d (array)";
  116. /**
  117. * the chunk ensure function
  118. */
  119. module.exports.ensureChunk = "__webpack_require__.e";
  120. /**
  121. * an object with handlers to ensure a chunk
  122. */
  123. module.exports.ensureChunkHandlers = "__webpack_require__.f";
  124. /**
  125. * a runtime requirement if ensureChunkHandlers should include loading of chunk needed for entries
  126. */
  127. module.exports.ensureChunkIncludeEntries =
  128. "__webpack_require__.f (include entries)";
  129. /**
  130. * the module id of the entry point
  131. */
  132. module.exports.entryModuleId = "__webpack_require__.s";
  133. /**
  134. * esm module ids
  135. */
  136. module.exports.esmIds = "__webpack_esm_ids__";
  137. /**
  138. * esm modules
  139. */
  140. module.exports.esmModules = "__webpack_esm_modules__";
  141. /**
  142. * esm runtime
  143. */
  144. module.exports.esmRuntime = "__webpack_esm_runtime__";
  145. /**
  146. * the internal exports object
  147. */
  148. module.exports.exports = "__webpack_exports__";
  149. /**
  150. * method to install a chunk that was loaded somehow
  151. * Signature: ({ id, ids, modules, runtime }) => void
  152. */
  153. module.exports.externalInstallChunk = "__webpack_require__.C";
  154. /**
  155. * the filename of the css part of the chunk
  156. */
  157. module.exports.getChunkCssFilename = "__webpack_require__.k";
  158. /**
  159. * the filename of the script part of the chunk
  160. */
  161. module.exports.getChunkScriptFilename = "__webpack_require__.u";
  162. /**
  163. * the filename of the css part of the hot update chunk
  164. */
  165. module.exports.getChunkUpdateCssFilename = "__webpack_require__.hk";
  166. /**
  167. * the filename of the script part of the hot update chunk
  168. */
  169. module.exports.getChunkUpdateScriptFilename = "__webpack_require__.hu";
  170. /**
  171. * function returning the CSS collected while rendering without a DOM as a
  172. * single string; empty when the styles went into the document instead
  173. * Arguments: () => string
  174. */
  175. module.exports.getCssServerStyles = "__webpack_require__.cs";
  176. /**
  177. * the webpack hash
  178. */
  179. module.exports.getFullHash = "__webpack_require__.h";
  180. /**
  181. * function to return webpack's Trusted Types policy
  182. * Arguments: () => TrustedTypePolicy
  183. */
  184. module.exports.getTrustedTypesPolicy = "__webpack_require__.tt";
  185. /**
  186. * the filename of the HMR manifest
  187. */
  188. module.exports.getUpdateManifestFilename = "__webpack_require__.hmrF";
  189. /**
  190. * the object url of the worklet bootstrap script (sets up `self`, `location` and
  191. * a throwing `importScripts` before worklet chunks are added)
  192. */
  193. module.exports.getWorkletBootstrap = "__webpack_require__.wb";
  194. /**
  195. * the global object
  196. */
  197. module.exports.global = "__webpack_require__.g";
  198. /**
  199. * harmony module decorator
  200. */
  201. module.exports.harmonyModuleDecorator = "__webpack_require__.hmd";
  202. /**
  203. * a flag when a module/chunk/tree has css modules
  204. */
  205. module.exports.hasCssModules = "has css modules";
  206. /**
  207. * a flag when a chunk has a fetch priority
  208. */
  209. module.exports.hasFetchPriority = "has fetch priority";
  210. /**
  211. * the shorthand for Object.prototype.hasOwnProperty
  212. * using of it decreases the compiled bundle size
  213. */
  214. module.exports.hasOwnProperty = "__webpack_require__.o";
  215. /**
  216. * function downloading the update manifest
  217. */
  218. module.exports.hmrDownloadManifest = "__webpack_require__.hmrM";
  219. /**
  220. * array with handler functions to download chunk updates
  221. */
  222. module.exports.hmrDownloadUpdateHandlers = "__webpack_require__.hmrC";
  223. /**
  224. * array with handler functions when a module should be invalidated
  225. */
  226. module.exports.hmrInvalidateModuleHandlers = "__webpack_require__.hmrI";
  227. /**
  228. * object with all hmr module data for all modules
  229. */
  230. module.exports.hmrModuleData = "__webpack_require__.hmrD";
  231. /**
  232. * the prefix for storing state of runtime modules when hmr is enabled
  233. */
  234. module.exports.hmrRuntimeStatePrefix = "__webpack_require__.hmrS";
  235. /**
  236. * The sharing init sequence function (only runs once per share scope).
  237. * Has one argument, the name of the share scope.
  238. * Creates a share scope if not existing
  239. */
  240. module.exports.initializeSharing = "__webpack_require__.I";
  241. /**
  242. * instantiate a wasm instance from module exports object, id, hash and importsObject
  243. */
  244. module.exports.instantiateWasm = "__webpack_require__.v";
  245. /**
  246. * interceptor for module executions
  247. */
  248. module.exports.interceptModuleExecution = "__webpack_require__.i";
  249. /**
  250. * function to load a script tag.
  251. * Arguments: (url: string, done: (event) => void), key?: string | number, chunkId?: string | number) => void
  252. * done function is called when loading has finished or timeout occurred.
  253. * It will attach to existing script tags with data-webpack == uniqueName + ":" + key or src == url.
  254. */
  255. module.exports.loadScript = "__webpack_require__.l";
  256. /**
  257. * make a deferred namespace object
  258. */
  259. module.exports.makeDeferredNamespaceObject = "__webpack_require__.z";
  260. /**
  261. * define compatibility on export
  262. */
  263. module.exports.makeNamespaceObject = "__webpack_require__.r";
  264. /**
  265. * make a optimized deferred namespace object
  266. */
  267. module.exports.makeOptimizedDeferredNamespaceObject = "__webpack_require__.zO";
  268. /**
  269. * the internal module object
  270. */
  271. module.exports.module = "module";
  272. /**
  273. * the module cache
  274. */
  275. module.exports.moduleCache = "__webpack_require__.c";
  276. /**
  277. * the module functions
  278. */
  279. module.exports.moduleFactories = "__webpack_require__.m";
  280. /**
  281. * the module functions, with only write access
  282. */
  283. module.exports.moduleFactoriesAddOnly = "__webpack_require__.m (add only)";
  284. /**
  285. * the internal module object
  286. */
  287. module.exports.moduleId = "module.id";
  288. /**
  289. * the internal module object
  290. */
  291. module.exports.moduleLoaded = "module.loaded";
  292. /**
  293. * node.js module decorator
  294. */
  295. module.exports.nodeModuleDecorator = "__webpack_require__.nmd";
  296. /**
  297. * register deferred code, which will run when certain
  298. * chunks are loaded.
  299. * Signature: (chunkIds: Id[], fn: () => any, priority: int >= 0 = 0) => any
  300. * Returned value will be returned directly when all chunks are already loaded
  301. * When (priority & 1) it will wait for all other handlers with lower priority to
  302. * be executed before itself is executed
  303. */
  304. module.exports.onChunksLoaded = "__webpack_require__.O";
  305. /**
  306. * the asset prefetch function: injects a
  307. * `<link rel="prefetch">` for an asset module URL
  308. */
  309. module.exports.prefetchAsset = "__webpack_require__.PA";
  310. /**
  311. * the chunk prefetch function
  312. */
  313. module.exports.prefetchChunk = "__webpack_require__.E";
  314. /**
  315. * an object with handlers to prefetch a chunk
  316. */
  317. module.exports.prefetchChunkHandlers = "__webpack_require__.F";
  318. /**
  319. * the asset preload function: injects a
  320. * `<link rel="preload">` for an asset module URL
  321. */
  322. module.exports.preloadAsset = "__webpack_require__.LA";
  323. /**
  324. * the chunk preload function
  325. */
  326. module.exports.preloadChunk = "__webpack_require__.G";
  327. /**
  328. * an object with handlers to preload a chunk
  329. */
  330. module.exports.preloadChunkHandlers = "__webpack_require__.H";
  331. /**
  332. * the bundle public path
  333. */
  334. module.exports.publicPath = "__webpack_require__.p";
  335. /**
  336. * a RelativeURL class when relative URLs are used
  337. */
  338. module.exports.relativeUrl = "__webpack_require__.U";
  339. /**
  340. * the internal require function
  341. */
  342. module.exports.require = "__webpack_require__";
  343. /**
  344. * access to properties of the internal require function/object
  345. */
  346. module.exports.requireScope = "__webpack_require__.*";
  347. /**
  348. * runtime need to return the exports of the last entry module
  349. */
  350. module.exports.returnExportsFromRuntime = "return-exports-from-runtime";
  351. /**
  352. * the runtime id of the current runtime
  353. */
  354. module.exports.runtimeId = "__webpack_require__.j";
  355. /**
  356. * the script nonce
  357. */
  358. module.exports.scriptNonce = "__webpack_require__.nc";
  359. /**
  360. * set .name to "default" for anonymous default exports per ES spec
  361. */
  362. module.exports.setAnonymousDefaultName = "__webpack_require__.dn";
  363. /**
  364. * an object with all share scopes
  365. */
  366. module.exports.shareScopeMap = "__webpack_require__.S";
  367. /**
  368. * startup signal from runtime
  369. * This will be called when the runtime chunk has been loaded.
  370. */
  371. module.exports.startup = "__webpack_require__.x";
  372. /**
  373. * marker requirement that adds the startup runtime module which fires
  374. * `<link rel="prefetch|preload">` for `new URL(..., import.meta.url)`
  375. * assets with `webpackPrefetch` / `webpackPreload` hints, before any
  376. * chunk module evaluates
  377. */
  378. module.exports.startupAssetHints = "__webpack_require__.SAH";
  379. /**
  380. * method to startup an entrypoint with needed chunks.
  381. * Signature: (moduleId: Id, chunkIds: Id[]) => any.
  382. * Returns the exports of the module or a Promise
  383. */
  384. module.exports.startupEntrypoint = "__webpack_require__.X";
  385. /**
  386. * Describes how this item operation behaves.
  387. * @deprecated
  388. * creating a default startup function with the entry modules
  389. */
  390. module.exports.startupNoDefault = "__webpack_require__.x (no default handler)";
  391. /**
  392. * startup signal from runtime but only used to add logic after the startup
  393. */
  394. module.exports.startupOnlyAfter = "__webpack_require__.x (only after)";
  395. /**
  396. * startup signal from runtime but only used to add sync logic before the startup
  397. */
  398. module.exports.startupOnlyBefore = "__webpack_require__.x (only before)";
  399. /**
  400. * the System polyfill object
  401. */
  402. module.exports.system = "__webpack_require__.System";
  403. /**
  404. * the System.register context object
  405. */
  406. module.exports.systemContext = "__webpack_require__.y";
  407. /**
  408. * top-level this need to be the exports object
  409. */
  410. module.exports.thisAsExports = "top-level-this-exports";
  411. /**
  412. * to binary helper, convert base64 to Uint8Array
  413. */
  414. module.exports.toBinary = "__webpack_require__.tb";
  415. /**
  416. * the uncaught error handler for the webpack runtime
  417. */
  418. module.exports.uncaughtErrorHandler = "__webpack_require__.oe";
  419. /**
  420. * an object containing all installed WebAssembly.Instance export objects keyed by module id
  421. */
  422. module.exports.wasmInstances = "__webpack_require__.w";
  423. /**
  424. * the Worker constructor for universal targets (global Worker or worker_threads)
  425. */
  426. module.exports.worker = "__webpack_require__.wc";