| @@ -1,4 +1,4 @@ | ||
| 1 | 1 | /******/ (() => { // webpackBootstrap |
| 2 | 2 | /******/ "use strict"; |
| 3 | 3 | /******/ var __webpack_modules__ = ({ |
| 4 | 4 | |
| @@ -129,13 +129,13 @@ | ||
| 129 | 129 | /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/blocks */ "@wordpress/blocks"); |
| 130 | 130 | /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__); |
| 131 | 131 | /* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/data */ "@wordpress/data"); |
| 132 | 132 | /* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_1__); |
| 133 | -/** | |
| 134 | - * Check if the block can be loaded in the current template. | |
| 135 | - * | |
| 136 | - * @since 4.2.8.4 | |
| 137 | - * @version 1.0.0 | |
| 133 | +/** | |
| 134 | + * Check if the block can be loaded in the current template. | |
| 135 | + * | |
| 136 | + * @since 4.2.8.4 | |
| 137 | + * @version 1.0.0 | |
| 138 | 138 | */ |
| 139 | 139 | |
| 140 | 140 | |
| 141 | 141 | let currentPostIdOld = null; |
| @@ -246,19 +246,19 @@ | ||
| 246 | 246 | |
| 247 | 247 | /******/ }); |
| 248 | 248 | /************************************************************************/ |
| 249 | 249 | /******/ // The module cache |
| 250 | -/******/ var __webpack_module_cache__ = {}; | |
| 250 | +/******/ const __webpack_module_cache__ = {}; | |
| 251 | 251 | /******/ |
| 252 | 252 | /******/ // The require function |
| 253 | 253 | /******/ function __webpack_require__(moduleId) { |
| 254 | 254 | /******/ // Check if module is in cache |
| 255 | -/******/ var cachedModule = __webpack_module_cache__[moduleId]; | |
| 255 | +/******/ const cachedModule = __webpack_module_cache__[moduleId]; | |
| 256 | 256 | /******/ if (cachedModule !== undefined) { |
| 257 | 257 | /******/ return cachedModule.exports; |
| 258 | 258 | /******/ } |
| 259 | 259 | /******/ // Create a new module (and put it into the cache) |
| 260 | -/******/ var module = __webpack_module_cache__[moduleId] = { | |
| 260 | +/******/ const module = __webpack_module_cache__[moduleId] = { | |
| 261 | 261 | /******/ // no module.id needed |
| 262 | 262 | /******/ // no module.loaded needed |
| 263 | 263 | /******/ exports: {} |
| 264 | 264 | /******/ }; |
| @@ -265,9 +265,9 @@ | ||
| 265 | 265 | /******/ |
| 266 | 266 | /******/ // Execute the module function |
| 267 | 267 | /******/ if (!(moduleId in __webpack_modules__)) { |
| 268 | 268 | /******/ delete __webpack_module_cache__[moduleId]; |
| 269 | -/******/ var e = new Error("Cannot find module '" + moduleId + "'"); | |
| 269 | +/******/ const e = new Error("Cannot find module '" + moduleId + "'"); | |
| 270 | 270 | /******/ e.code = 'MODULE_NOT_FOUND'; |
| 271 | 271 | /******/ throw e; |
| 272 | 272 | /******/ } |
| 273 | 273 | /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); |
| @@ -280,9 +280,9 @@ | ||
| 280 | 280 | /******/ /* webpack/runtime/compat get default export */ |
| 281 | 281 | /******/ (() => { |
| 282 | 282 | /******/ // getDefaultExport function for compatibility with non-harmony modules |
| 283 | 283 | /******/ __webpack_require__.n = (module) => { |
| 284 | -/******/ var getter = module && module.__esModule ? | |
| 284 | +/******/ const getter = module && module.__esModule ? | |
| 285 | 285 | /******/ () => (module['default']) : |
| 286 | 286 | /******/ () => (module); |
| 287 | 287 | /******/ __webpack_require__.d(getter, { a: getter }); |
| 288 | 288 | /******/ return getter; |
| @@ -290,14 +290,29 @@ | ||
| 290 | 290 | /******/ })(); |
| 291 | 291 | /******/ |
| 292 | 292 | /******/ /* webpack/runtime/define property getters */ |
| 293 | 293 | /******/ (() => { |
| 294 | -/******/ // define getter functions for harmony exports | |
| 294 | +/******/ // define getter/value functions for harmony exports | |
| 295 | 295 | /******/ __webpack_require__.d = (exports, definition) => { |
| 296 | -/******/ for(var key in definition) { | |
| 297 | -/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { | |
| 298 | -/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); | |
| 296 | +/******/ if(Array.isArray(definition)) { | |
| 297 | +/******/ var i = 0; | |
| 298 | +/******/ while(i < definition.length) { | |
| 299 | +/******/ var key = definition[i++]; | |
| 300 | +/******/ var binding = definition[i++]; | |
| 301 | +/******/ if(!__webpack_require__.o(exports, key)) { | |
| 302 | +/******/ if(binding === 0) { | |
| 303 | +/******/ Object.defineProperty(exports, key, { enumerable: true, value: definition[i++] }); | |
| 304 | +/******/ } else { | |
| 305 | +/******/ Object.defineProperty(exports, key, { enumerable: true, get: binding }); | |
| 306 | +/******/ } | |
| 307 | +/******/ } else if(binding === 0) { i++; } | |
| 299 | 308 | /******/ } |
| 309 | +/******/ } else { | |
| 310 | +/******/ for(var key in definition) { | |
| 311 | +/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { | |
| 312 | +/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); | |
| 313 | +/******/ } | |
| 314 | +/******/ } | |
| 300 | 315 | /******/ } |
| 301 | 316 | /******/ }; |
| 302 | 317 | /******/ })(); |
| 303 | 318 | /******/ |
| @@ -302,9 +317,9 @@ | ||
| 302 | 317 | /******/ })(); |
| 303 | 318 | /******/ |
| 304 | 319 | /******/ /* webpack/runtime/hasOwnProperty shorthand */ |
| 305 | 320 | /******/ (() => { |
| 306 | -/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) | |
| 321 | +/******/ __webpack_require__.o = (obj, prop) => (Object.hasOwn(obj, prop)) | |
| 307 | 322 | /******/ })(); |
| 308 | 323 | /******/ |
| 309 | 324 | /******/ /* webpack/runtime/make namespace object */ |
| 310 | 325 | /******/ (() => { |
| @@ -309,9 +324,9 @@ | ||
| 309 | 324 | /******/ /* webpack/runtime/make namespace object */ |
| 310 | 325 | /******/ (() => { |
| 311 | 326 | /******/ // define __esModule on exports |
| 312 | 327 | /******/ __webpack_require__.r = (exports) => { |
| 313 | -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { | |
| 328 | +/******/ if(Symbol.toStringTag) { | |
| 314 | 329 | /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); |
| 315 | 330 | /******/ } |
| 316 | 331 | /******/ Object.defineProperty(exports, '__esModule', { value: true }); |
| 317 | 332 | /******/ }; |
| @@ -317,9 +332,9 @@ | ||
| 317 | 332 | /******/ }; |
| 318 | 333 | /******/ })(); |
| 319 | 334 | /******/ |
| 320 | 335 | /************************************************************************/ |
| 321 | -var __webpack_exports__ = {}; | |
| 336 | +let __webpack_exports__ = {}; | |
| 322 | 337 | // This entry needs to be wrapped in an IIFE because it needs to be isolated against other modules in the chunk. |
| 323 | 338 | (() => { |
| 324 | 339 | /*!**************************************************************************!*\ |
| 325 | 340 | !*** ./assets/src/apps/js/blocks/course-elements/course-button/index.js ***! |
| @@ -330,10 +345,10 @@ | ||
| 330 | 345 | /* harmony import */ var _block_json__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./block.json */ "./assets/src/apps/js/blocks/course-elements/course-button/block.json"); |
| 331 | 346 | /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/blocks */ "@wordpress/blocks"); |
| 332 | 347 | /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_3__); |
| 333 | 348 | /* harmony import */ var _utilBlock_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utilBlock.js */ "./assets/src/apps/js/blocks/utilBlock.js"); |
| 334 | -/** | |
| 335 | - * Register block course button. | |
| 349 | +/** | |
| 350 | + * Register block course button. | |
| 336 | 351 | */ |
| 337 | 352 | |
| 338 | 353 | |
| 339 | 354 | |