summaryrefslogtreecommitdiffstats
path: root/devtools/client/debugger/test/mochitest/examples/sourcemapped/output/webpack4/esmodules-cjs.js
blob: ddfe435b273f6423e680ee2702fffd61039e96e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
var webpack4EsmodulesCjs =
/******/ (function(modules) { // webpackBootstrap
/******/ 	// The module cache
/******/ 	var installedModules = {};
/******/
/******/ 	// The require function
/******/ 	function __webpack_require__(moduleId) {
/******/
/******/ 		// Check if module is in cache
/******/ 		if(installedModules[moduleId]) {
/******/ 			return installedModules[moduleId].exports;
/******/ 		}
/******/ 		// Create a new module (and put it into the cache)
/******/ 		var module = installedModules[moduleId] = {
/******/ 			i: moduleId,
/******/ 			l: false,
/******/ 			exports: {}
/******/ 		};
/******/
/******/ 		// Execute the module function
/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ 		// Flag the module as loaded
/******/ 		module.l = true;
/******/
/******/ 		// Return the exports of the module
/******/ 		return module.exports;
/******/ 	}
/******/
/******/
/******/ 	// expose the modules object (__webpack_modules__)
/******/ 	__webpack_require__.m = modules;
/******/
/******/ 	// expose the module cache
/******/ 	__webpack_require__.c = installedModules;
/******/
/******/ 	// define getter function for harmony exports
/******/ 	__webpack_require__.d = function(exports, name, getter) {
/******/ 		if(!__webpack_require__.o(exports, name)) {
/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ 		}
/******/ 	};
/******/
/******/ 	// define __esModule on exports
/******/ 	__webpack_require__.r = function(exports) {
/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ 		}
/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
/******/ 	};
/******/
/******/ 	// create a fake namespace object
/******/ 	// mode & 1: value is a module id, require it
/******/ 	// mode & 2: merge all properties of value into the ns
/******/ 	// mode & 4: return value when already ns object
/******/ 	// mode & 8|1: behave like require
/******/ 	__webpack_require__.t = function(value, mode) {
/******/ 		if(mode & 1) value = __webpack_require__(value);
/******/ 		if(mode & 8) return value;
/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ 		var ns = Object.create(null);
/******/ 		__webpack_require__.r(ns);
/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ 		return ns;
/******/ 	};
/******/
/******/ 	// getDefaultExport function for compatibility with non-harmony modules
/******/ 	__webpack_require__.n = function(module) {
/******/ 		var getter = module && module.__esModule ?
/******/ 			function getDefault() { return module['default']; } :
/******/ 			function getModuleExports() { return module; };
/******/ 		__webpack_require__.d(getter, 'a', getter);
/******/ 		return getter;
/******/ 	};
/******/
/******/ 	// Object.prototype.hasOwnProperty.call
/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ 	// __webpack_public_path__
/******/ 	__webpack_require__.p = "";
/******/
/******/
/******/ 	// Load entry module and return exports
/******/ 	return __webpack_require__(__webpack_require__.s = "./input.js");
/******/ })
/************************************************************************/
/******/ ({

/***/ "./input.js":
/*!******************!*\
  !*** ./input.js ***!
  \******************/
/*! exports provided: default, example */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return root; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "example", function() { return example; });
/* harmony import */ var _src_mod1__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./src/mod1 */ "./src/mod1.js");
/* harmony import */ var _src_mod2__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./src/mod2 */ "./src/mod2.js");
/* harmony import */ var _src_mod3__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./src/mod3 */ "./src/mod3.js");
/* harmony import */ var _src_mod4__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./src/mod4 */ "./src/mod4.js");
/* harmony import */ var _src_mod5__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./src/mod5 */ "./src/mod5.js");
/* harmony import */ var _src_mod6__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./src/mod6 */ "./src/mod6.js");
/* harmony import */ var _src_mod7__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./src/mod7 */ "./src/mod7.js");
/* harmony import */ var _src_mod9__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./src/mod9 */ "./src/mod9.js");
/* harmony import */ var _src_mod10__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./src/mod10 */ "./src/mod10.js");
/* harmony import */ var _src_mod11__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./src/mod11 */ "./src/mod11.js");
/* harmony import */ var _src_optimized_out__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./src/optimized-out */ "./src/optimized-out.js");














Object(_src_optimized_out__WEBPACK_IMPORTED_MODULE_10__["default"])();

function root() {
  console.log("pause here", root);

  console.log(_src_mod1__WEBPACK_IMPORTED_MODULE_0__["default"]);
  console.log(_src_mod3__WEBPACK_IMPORTED_MODULE_2__["original"]);
  console.log(_src_mod2__WEBPACK_IMPORTED_MODULE_1__["aNamed"]);
  console.log(_src_mod2__WEBPACK_IMPORTED_MODULE_1__["aNamed"]);
  console.log(_src_mod4__WEBPACK_IMPORTED_MODULE_3__);

  try {
    // None of these are callable in this code, but we still want to make sure
    // they map properly even if the only reference is in a call expressions.
    console.log(Object(_src_mod5__WEBPACK_IMPORTED_MODULE_4__["default"])());
    console.log(Object(_src_mod7__WEBPACK_IMPORTED_MODULE_6__["original"])());
    console.log(Object(_src_mod6__WEBPACK_IMPORTED_MODULE_5__["aNamed2"])());
    console.log(Object(_src_mod6__WEBPACK_IMPORTED_MODULE_5__["aNamed2"])());

    console.log(new _src_mod9__WEBPACK_IMPORTED_MODULE_7__["default"]());
    console.log(new _src_mod11__WEBPACK_IMPORTED_MODULE_9__["original"]());
    console.log(new _src_mod10__WEBPACK_IMPORTED_MODULE_8__["aNamed3"]());
    console.log(new _src_mod10__WEBPACK_IMPORTED_MODULE_8__["aNamed3"]());
  } catch (e) {}
}

function example(){}


/***/ }),

/***/ "./src/mod1.js":
/*!*********************!*\
  !*** ./src/mod1.js ***!
  \*********************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = ("a-default");


/***/ }),

/***/ "./src/mod10.js":
/*!**********************!*\
  !*** ./src/mod10.js ***!
  \**********************/
/*! exports provided: aNamed3 */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "aNamed3", function() { return aNamed3; });
const aNamed3 = "a-named3";


/***/ }),

/***/ "./src/mod11.js":
/*!**********************!*\
  !*** ./src/mod11.js ***!
  \**********************/
/*! exports provided: original */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "original", function() { return original; });
const original = "an-original3";


/***/ }),

/***/ "./src/mod2.js":
/*!*********************!*\
  !*** ./src/mod2.js ***!
  \*********************/
/*! exports provided: aNamed */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "aNamed", function() { return aNamed; });
const aNamed = "a-named";


/***/ }),

/***/ "./src/mod3.js":
/*!*********************!*\
  !*** ./src/mod3.js ***!
  \*********************/
/*! exports provided: original */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "original", function() { return original; });
const original = "an-original";


/***/ }),

/***/ "./src/mod4.js":
/*!*********************!*\
  !*** ./src/mod4.js ***!
  \*********************/
/*! exports provided: default, aNamed */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "aNamed", function() { return aNamed; });
/* harmony default export */ __webpack_exports__["default"] = ("a-default");
const aNamed = "a-named";


/***/ }),

/***/ "./src/mod5.js":
/*!*********************!*\
  !*** ./src/mod5.js ***!
  \*********************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = ("a-default2");


/***/ }),

/***/ "./src/mod6.js":
/*!*********************!*\
  !*** ./src/mod6.js ***!
  \*********************/
/*! exports provided: aNamed2 */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "aNamed2", function() { return aNamed2; });
const aNamed2 = "a-named2";


/***/ }),

/***/ "./src/mod7.js":
/*!*********************!*\
  !*** ./src/mod7.js ***!
  \*********************/
/*! exports provided: original */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "original", function() { return original; });
const original = "an-original2";


/***/ }),

/***/ "./src/mod9.js":
/*!*********************!*\
  !*** ./src/mod9.js ***!
  \*********************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = ("a-default3");


/***/ }),

/***/ "./src/optimized-out.js":
/*!******************************!*\
  !*** ./src/optimized-out.js ***!
  \******************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return optimizedOut; });
function optimizedOut() {}


/***/ })

/******/ })["default"];
//# sourceMappingURL=esmodules-cjs.js.map