1+ /******/ ( function ( modules ) { // webpackBootstrap
2+ /******/ // install a JSONP callback for chunk loading
3+ /******/ function webpackJsonpCallback ( data ) {
4+ /******/ var chunkIds = data [ 0 ] ;
5+ /******/ var moreModules = data [ 1 ] ;
6+ /******/
7+ /******/ // add "moreModules" to the modules object,
8+ /******/ // then flag all "chunkIds" as loaded and fire callback
9+ /******/ var moduleId , chunkId , i = 0 , resolves = [ ] ;
10+ /******/ for ( ; i < chunkIds . length ; i ++ ) {
11+ /******/ chunkId = chunkIds [ i ] ;
12+ /******/ if ( installedChunks [ chunkId ] ) {
13+ /******/ resolves . push ( installedChunks [ chunkId ] [ 0 ] ) ;
14+ /******/ }
15+ /******/ installedChunks [ chunkId ] = 0 ;
16+ /******/ }
17+ /******/ for ( moduleId in moreModules ) {
18+ /******/ if ( Object . prototype . hasOwnProperty . call ( moreModules , moduleId ) ) {
19+ /******/ modules [ moduleId ] = moreModules [ moduleId ] ;
20+ /******/ }
21+ /******/ }
22+ /******/ if ( parentJsonpFunction ) parentJsonpFunction ( data ) ;
23+ /******/ while ( resolves . length ) {
24+ /******/ resolves . shift ( ) ( ) ;
25+ /******/ }
26+ /******/
27+ /******/ } ;
28+ /******/
29+ /******/
30+ /******/ // The module cache
31+ /******/ var installedModules = { } ;
32+ /******/
33+ /******/ // object to store loaded CSS chunks
34+ /******/ var installedCssChunks = {
35+ /******/ "a" : 0
36+ /******/ }
37+ /******/
38+ /******/ // object to store loaded and loading chunks
39+ /******/ var installedChunks = {
40+ /******/ "a" : 0
41+ /******/ } ;
42+ /******/
43+ /******/
44+ /******/
45+ /******/ // The require function
46+ /******/ function __webpack_require__ ( moduleId ) {
47+ /******/
48+ /******/ // Check if module is in cache
49+ /******/ if ( installedModules [ moduleId ] ) {
50+ /******/ return installedModules [ moduleId ] . exports ;
51+ /******/ }
52+ /******/ // Create a new module (and put it into the cache)
53+ /******/ var module = installedModules [ moduleId ] = {
54+ /******/ i : moduleId ,
55+ /******/ l : false ,
56+ /******/ exports : { }
57+ /******/ } ;
58+ /******/
59+ /******/ // Execute the module function
60+ /******/ modules [ moduleId ] . call ( module . exports , module , module . exports , __webpack_require__ ) ;
61+ /******/
62+ /******/ // Flag the module as loaded
63+ /******/ module . l = true ;
64+ /******/
65+ /******/ // Return the exports of the module
66+ /******/ return module . exports ;
67+ /******/ }
68+ /******/
69+ /******/ // This file contains only the entry chunk.
70+ /******/ // The chunk loading function for additional chunks
71+ /******/ __webpack_require__ . e = function requireEnsure ( chunkId ) {
72+ /******/ var promises = [ ] ;
73+ /******/
74+ /******/
75+ /******/ // mini-css-extract-plugin CSS loading
76+ /******/ var cssChunks = { "b" :1 , "c" :1 , "d" :1 } ;
77+ /******/ if ( installedCssChunks [ chunkId ] ) promises . push ( installedCssChunks [ chunkId ] ) ;
78+ /******/ else if ( installedCssChunks [ chunkId ] !== 0 && cssChunks [ chunkId ] ) {
79+ /******/ promises . push ( installedCssChunks [ chunkId ] = new Promise ( function ( resolve , reject ) {
80+ /******/ var linkTag = document . createElement ( "link" ) ;
81+ /******/ linkTag . rel = "stylesheet" ;
82+ /******/ linkTag . onload = resolve ;
83+ /******/ linkTag . onerror = reject ;
84+ /******/ linkTag . href = __webpack_require__ . p + "" + ( { "b" :"b" , "c" :"c" , "d" :"d" } [ chunkId ] || chunkId ) + ".css" ;
85+ /******/ var head = document . getElementsByTagName ( "head" ) [ 0 ] ;
86+ /******/ head . appendChild ( linkTag ) ;
87+ /******/ installedCssChunks [ chunkId ] = 0 ;
88+ /******/ } ) ) ;
89+ /******/ }
90+ /******/
91+ /******/ // JSONP chunk loading for javascript
92+ /******/
93+ /******/ var installedChunkData = installedChunks [ chunkId ] ;
94+ /******/ if ( installedChunkData !== 0 ) { // 0 means "already installed".
95+ /******/
96+ /******/ // a Promise means "currently loading".
97+ /******/ if ( installedChunkData ) {
98+ /******/ promises . push ( installedChunkData [ 2 ] ) ;
99+ /******/ } else {
100+ /******/ // setup Promise in chunk cache
101+ /******/ var promise = new Promise ( function ( resolve , reject ) {
102+ /******/ installedChunkData = installedChunks [ chunkId ] = [ resolve , reject ] ;
103+ /******/ } ) ;
104+ /******/ promises . push ( installedChunkData [ 2 ] = promise ) ;
105+ /******/
106+ /******/ // start chunk loading
107+ /******/ var head = document . getElementsByTagName ( 'head' ) [ 0 ] ;
108+ /******/ var script = document . createElement ( 'script' ) ;
109+ /******/
110+ /******/ script . charset = 'utf-8' ;
111+ /******/ script . timeout = 120 ;
112+ /******/
113+ /******/ if ( __webpack_require__ . nc ) {
114+ /******/ script . setAttribute ( "nonce" , __webpack_require__ . nc ) ;
115+ /******/ }
116+ /******/ script . src = __webpack_require__ . p + "" + ( { "b" :"b" , "c" :"c" , "d" :"d" } [ chunkId ] || chunkId ) + "." + { "b" :"d480bf313112e7a53685" , "c" :"a4a040af3582138de2bc" , "d" :"d4007f0e18c8de4bc110" } [ chunkId ] + ".js" ;
117+ /******/ var timeout = setTimeout ( function ( ) {
118+ /******/ onScriptComplete ( { type : 'timeout' , target : script } ) ;
119+ /******/ } , 120000 ) ;
120+ /******/ script . onerror = script . onload = onScriptComplete ;
121+ /******/ function onScriptComplete ( event ) {
122+ /******/ // avoid mem leaks in IE.
123+ /******/ script . onerror = script . onload = null ;
124+ /******/ clearTimeout ( timeout ) ;
125+ /******/ var chunk = installedChunks [ chunkId ] ;
126+ /******/ if ( chunk !== 0 ) {
127+ /******/ if ( chunk ) {
128+ /******/ var errorType = event && ( event . type === 'load' ? 'missing' : event . type ) ;
129+ /******/ var realSrc = event && event . target && event . target . src ;
130+ /******/ var error = new Error ( 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')' ) ;
131+ /******/ error . type = errorType ;
132+ /******/ error . request = realSrc ;
133+ /******/ chunk [ 1 ] ( error ) ;
134+ /******/ }
135+ /******/ installedChunks [ chunkId ] = undefined ;
136+ /******/ }
137+ /******/ } ;
138+ /******/ head . appendChild ( script ) ;
139+ /******/ }
140+ /******/ }
141+ /******/ return Promise . all ( promises ) ;
142+ /******/ } ;
143+ /******/
144+ /******/ // expose the modules object (__webpack_modules__)
145+ /******/ __webpack_require__ . m = modules ;
146+ /******/
147+ /******/ // expose the module cache
148+ /******/ __webpack_require__ . c = installedModules ;
149+ /******/
150+ /******/ // define getter function for harmony exports
151+ /******/ __webpack_require__ . d = function ( exports , name , getter ) {
152+ /******/ if ( ! __webpack_require__ . o ( exports , name ) ) {
153+ /******/ Object . defineProperty ( exports , name , {
154+ /******/ configurable : false ,
155+ /******/ enumerable : true ,
156+ /******/ get : getter
157+ /******/ } ) ;
158+ /******/ }
159+ /******/ } ;
160+ /******/
161+ /******/ // define __esModule on exports
162+ /******/ __webpack_require__ . r = function ( exports ) {
163+ /******/ Object . defineProperty ( exports , '__esModule' , { value : true } ) ;
164+ /******/ } ;
165+ /******/
166+ /******/ // getDefaultExport function for compatibility with non-harmony modules
167+ /******/ __webpack_require__ . n = function ( module ) {
168+ /******/ var getter = module && module . __esModule ?
169+ /******/ function getDefault ( ) { return module [ 'default' ] ; } :
170+ /******/ function getModuleExports ( ) { return module ; } ;
171+ /******/ __webpack_require__ . d ( getter , 'a' , getter ) ;
172+ /******/ return getter ;
173+ /******/ } ;
174+ /******/
175+ /******/ // Object.prototype.hasOwnProperty.call
176+ /******/ __webpack_require__ . o = function ( object , property ) { return Object . prototype . hasOwnProperty . call ( object , property ) ; } ;
177+ /******/
178+ /******/ // __webpack_public_path__
179+ /******/ __webpack_require__ . p = "" ;
180+ /******/
181+ /******/ // on error function for async loading
182+ /******/ __webpack_require__ . oe = function ( err ) { console . error ( err ) ; throw err ; } ;
183+ /******/
184+ /******/ var jsonpArray = window [ "webpackJsonp" ] = window [ "webpackJsonp" ] || [ ] ;
185+ /******/ var oldJsonpFunction = jsonpArray . push . bind ( jsonpArray ) ;
186+ /******/ jsonpArray . push = webpackJsonpCallback ;
187+ /******/ jsonpArray = jsonpArray . slice ( ) ;
188+ /******/ for ( var i = 0 ; i < jsonpArray . length ; i ++ ) webpackJsonpCallback ( jsonpArray [ i ] ) ;
189+ /******/ var parentJsonpFunction = oldJsonpFunction ;
190+ /******/
191+ /******/
192+ /******/ // Load entry module and return exports
193+ /******/ return __webpack_require__ ( __webpack_require__ . s = "./a.js" ) ;
194+ /******/ } )
195+ /************************************************************************/
196+ /******/ ( {
197+
198+ /***/ "../node_modules/babel-plugin-dual-import/importCss.js" :
199+ /*!*************************************************************!*\
200+ !*** ../node_modules/babel-plugin-dual-import/importCss.js ***!
201+ \*************************************************************/
202+ /*! no static exports found */
203+ /***/ ( function ( module , exports , __webpack_require__ ) {
204+
205+ eval ( "/* eslint-disable */\n\nvar ADDED = {};\n\nmodule.exports = function(chunkName) {\n var href = getHref(chunkName)\n if (!href) {\n if (true) {\n if (typeof window === 'undefined' || !window.__CSS_CHUNKS__) {\n console.warn(\n '[DUAL-IMPORT] no css chunks hash found at \"window.__CSS_CHUNKS__\"'\n )\n return\n }\n\n console.warn(\n '[DUAL-IMPORT] no chunk, ',\n chunkName,\n ', found in \"window.__CSS_CHUNKS__\"'\n )\n }\n\n return\n }\n \n if (ADDED[href] === true) {\n return Promise.resolve();\n }\n ADDED[href] = true;\n\n var head = document.getElementsByTagName('head')[0]\n var link = document.createElement('link')\n\n link.href = href\n link.charset = 'utf-8'\n link.type = 'text/css'\n link.rel = 'stylesheet'\n link.timeout = 30000\n\n return new Promise(function(resolve, reject) {\n var timeout\n\n link.onerror = function() {\n link.onerror = link.onload = null // avoid mem leaks in IE.\n clearTimeout(timeout)\n var message = 'could not load css chunk:${chunkName}'\n reject(new Error(message))\n }\n\n // link.onload doesn't work well enough, but this will handle it\n // since images can't load css (this is a popular fix)\n var img = document.createElement('img')\n img.onerror = function() {\n link.onerror = img.onerror = null // avoid mem leaks in IE.\n clearTimeout(timeout)\n resolve()\n }\n\n timeout = setTimeout(link.onerror, link.timeout)\n head.appendChild(link)\n img.src = href\n })\n}\n\nfunction getHref(chunkName) {\n if (typeof window === 'undefined' || !window.__CSS_CHUNKS__) return null\n return window.__CSS_CHUNKS__[chunkName]\n}\n\n\n//# sourceURL=webpack:///../node_modules/babel-plugin-dual-import/importCss.js?" ) ;
206+
207+ /***/ } ) ,
208+
209+ /***/ "./a.css" :
210+ /*!***************!*\
211+ !*** ./a.css ***!
212+ \***************/
213+ /*! no static exports found */
214+ /***/ ( function ( module , exports , __webpack_require__ ) {
215+
216+ eval ( "// extracted by mini-css-extract-plugin\nmodule.exports = {\"a\":\"a__a--32HVX\"};\n\n//# sourceURL=webpack:///./a.css?" ) ;
217+
218+ /***/ } ) ,
219+
220+ /***/ "./a.js" :
221+ /*!**************!*\
222+ !*** ./a.js ***!
223+ \**************/
224+ /*! no exports provided */
225+ /***/ ( function ( module , __webpack_exports__ , __webpack_require__ ) {
226+
227+ "use strict" ;
228+ eval ( "__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var babel_plugin_dual_import_importCss_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! babel-plugin-dual-import/importCss.js */ \"../node_modules/babel-plugin-dual-import/importCss.js\");\n/* harmony import */ var babel_plugin_dual_import_importCss_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(babel_plugin_dual_import_importCss_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _a_css__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./a.css */ \"./a.css\");\n/* harmony import */ var _a_css__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_a_css__WEBPACK_IMPORTED_MODULE_1__);\n\n\n\nvar button = document.createElement('button');\nbutton.className = _a_css__WEBPACK_IMPORTED_MODULE_1___default.a.a;\nbutton.innerText = 'load modules';\nbutton.addEventListener('click', function () {\n button.innerText = 'loading...';\n Promise.all([__webpack_require__.e(/*! import() | b */ \"b\").then(__webpack_require__.bind(null, /*! ./b.js */ \"./b.js\")), babel_plugin_dual_import_importCss_js__WEBPACK_IMPORTED_MODULE_0___default()('b')]).then(function (proms) {\n return proms[0];\n }).then(function () {\n button.innerText = 'loaded';\n });\n});\n\ndocument.body.appendChild(button);\n\n//# sourceURL=webpack:///./a.js?" ) ;
229+
230+ /***/ } )
231+
232+ /******/ } ) ;
0 commit comments