| @@ -1,4 +1,4 @@ | ||
| 1 | 1 | /******/ (() => { // webpackBootstrap |
| 2 | 2 | /******/ "use strict"; |
| 3 | 3 | /******/ var __webpack_modules__ = ({ |
| 4 | 4 | |
| @@ -75,13 +75,13 @@ | ||
| 75 | 75 | /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/blocks */ "@wordpress/blocks"); |
| 76 | 76 | /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__); |
| 77 | 77 | /* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/data */ "@wordpress/data"); |
| 78 | 78 | /* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_1__); |
| 79 | -/** | |
| 80 | - * Check if the block can be loaded in the current template. | |
| 81 | - * | |
| 82 | - * @since 4.2.8.4 | |
| 83 | - * @version 1.0.0 | |
| 79 | +/** | |
| 80 | + * Check if the block can be loaded in the current template. | |
| 81 | + * | |
| 82 | + * @since 4.2.8.4 | |
| 83 | + * @version 1.0.0 | |
| 84 | 84 | */ |
| 85 | 85 | |
| 86 | 86 | |
| 87 | 87 | let currentPostIdOld = null; |
| @@ -192,19 +192,19 @@ | ||
| 192 | 192 | |
| 193 | 193 | /******/ }); |
| 194 | 194 | /************************************************************************/ |
| 195 | 195 | /******/ // The module cache |
| 196 | -/******/ var __webpack_module_cache__ = {}; | |
| 196 | +/******/ const __webpack_module_cache__ = {}; | |
| 197 | 197 | /******/ |
| 198 | 198 | /******/ // The require function |
| 199 | 199 | /******/ function __webpack_require__(moduleId) { |
| 200 | 200 | /******/ // Check if module is in cache |
| 201 | -/******/ var cachedModule = __webpack_module_cache__[moduleId]; | |
| 201 | +/******/ const cachedModule = __webpack_module_cache__[moduleId]; | |
| 202 | 202 | /******/ if (cachedModule !== undefined) { |
| 203 | 203 | /******/ return cachedModule.exports; |
| 204 | 204 | /******/ } |
| 205 | 205 | /******/ // Create a new module (and put it into the cache) |
| 206 | -/******/ var module = __webpack_module_cache__[moduleId] = { | |
| 206 | +/******/ const module = __webpack_module_cache__[moduleId] = { | |
| 207 | 207 | /******/ // no module.id needed |
| 208 | 208 | /******/ // no module.loaded needed |
| 209 | 209 | /******/ exports: {} |
| 210 | 210 | /******/ }; |
| @@ -211,9 +211,9 @@ | ||
| 211 | 211 | /******/ |
| 212 | 212 | /******/ // Execute the module function |
| 213 | 213 | /******/ if (!(moduleId in __webpack_modules__)) { |
| 214 | 214 | /******/ delete __webpack_module_cache__[moduleId]; |
| 215 | -/******/ var e = new Error("Cannot find module '" + moduleId + "'"); | |
| 215 | +/******/ const e = new Error("Cannot find module '" + moduleId + "'"); | |
| 216 | 216 | /******/ e.code = 'MODULE_NOT_FOUND'; |
| 217 | 217 | /******/ throw e; |
| 218 | 218 | /******/ } |
| 219 | 219 | /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); |
| @@ -226,9 +226,9 @@ | ||
| 226 | 226 | /******/ /* webpack/runtime/compat get default export */ |
| 227 | 227 | /******/ (() => { |
| 228 | 228 | /******/ // getDefaultExport function for compatibility with non-harmony modules |
| 229 | 229 | /******/ __webpack_require__.n = (module) => { |
| 230 | -/******/ var getter = module && module.__esModule ? | |
| 230 | +/******/ const getter = module && module.__esModule ? | |
| 231 | 231 | /******/ () => (module['default']) : |
| 232 | 232 | /******/ () => (module); |
| 233 | 233 | /******/ __webpack_require__.d(getter, { a: getter }); |
| 234 | 234 | /******/ return getter; |
| @@ -236,14 +236,29 @@ | ||
| 236 | 236 | /******/ })(); |
| 237 | 237 | /******/ |
| 238 | 238 | /******/ /* webpack/runtime/define property getters */ |
| 239 | 239 | /******/ (() => { |
| 240 | -/******/ // define getter functions for harmony exports | |
| 240 | +/******/ // define getter/value functions for harmony exports | |
| 241 | 241 | /******/ __webpack_require__.d = (exports, definition) => { |
| 242 | -/******/ for(var key in definition) { | |
| 243 | -/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { | |
| 244 | -/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); | |
| 242 | +/******/ if(Array.isArray(definition)) { | |
| 243 | +/******/ var i = 0; | |
| 244 | +/******/ while(i < definition.length) { | |
| 245 | +/******/ var key = definition[i++]; | |
| 246 | +/******/ var binding = definition[i++]; | |
| 247 | +/******/ if(!__webpack_require__.o(exports, key)) { | |
| 248 | +/******/ if(binding === 0) { | |
| 249 | +/******/ Object.defineProperty(exports, key, { enumerable: true, value: definition[i++] }); | |
| 250 | +/******/ } else { | |
| 251 | +/******/ Object.defineProperty(exports, key, { enumerable: true, get: binding }); | |
| 252 | +/******/ } | |
| 253 | +/******/ } else if(binding === 0) { i++; } | |
| 245 | 254 | /******/ } |
| 255 | +/******/ } else { | |
| 256 | +/******/ for(var key in definition) { | |
| 257 | +/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { | |
| 258 | +/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); | |
| 259 | +/******/ } | |
| 260 | +/******/ } | |
| 246 | 261 | /******/ } |
| 247 | 262 | /******/ }; |
| 248 | 263 | /******/ })(); |
| 249 | 264 | /******/ |
| @@ -248,9 +263,9 @@ | ||
| 248 | 263 | /******/ })(); |
| 249 | 264 | /******/ |
| 250 | 265 | /******/ /* webpack/runtime/hasOwnProperty shorthand */ |
| 251 | 266 | /******/ (() => { |
| 252 | -/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) | |
| 267 | +/******/ __webpack_require__.o = (obj, prop) => (Object.hasOwn(obj, prop)) | |
| 253 | 268 | /******/ })(); |
| 254 | 269 | /******/ |
| 255 | 270 | /******/ /* webpack/runtime/make namespace object */ |
| 256 | 271 | /******/ (() => { |
| @@ -255,9 +270,9 @@ | ||
| 255 | 270 | /******/ /* webpack/runtime/make namespace object */ |
| 256 | 271 | /******/ (() => { |
| 257 | 272 | /******/ // define __esModule on exports |
| 258 | 273 | /******/ __webpack_require__.r = (exports) => { |
| 259 | -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { | |
| 274 | +/******/ if(Symbol.toStringTag) { | |
| 260 | 275 | /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); |
| 261 | 276 | /******/ } |
| 262 | 277 | /******/ Object.defineProperty(exports, '__esModule', { value: true }); |
| 263 | 278 | /******/ }; |
| @@ -263,9 +278,9 @@ | ||
| 263 | 278 | /******/ }; |
| 264 | 279 | /******/ })(); |
| 265 | 280 | /******/ |
| 266 | 281 | /************************************************************************/ |
| 267 | -var __webpack_exports__ = {}; | |
| 282 | +let __webpack_exports__ = {}; | |
| 268 | 283 | // This entry needs to be wrapped in an IIFE because it needs to be isolated against other modules in the chunk. |
| 269 | 284 | (() => { |
| 270 | 285 | /*!*****************************************************************************!*\ |
| 271 | 286 | !*** ./assets/src/apps/js/blocks/single-course-item/item-progress/index.js ***! |
| @@ -276,10 +291,10 @@ | ||
| 276 | 291 | /* harmony import */ var _block_json__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./block.json */ "./assets/src/apps/js/blocks/single-course-item/item-progress/block.json"); |
| 277 | 292 | /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/blocks */ "@wordpress/blocks"); |
| 278 | 293 | /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_3__); |
| 279 | 294 | /* harmony import */ var _utilBlock_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utilBlock.js */ "./assets/src/apps/js/blocks/utilBlock.js"); |
| 280 | -/** | |
| 281 | - * Register block item progress. | |
| 295 | +/** | |
| 296 | + * Register block item progress. | |
| 282 | 297 | */ |
| 283 | 298 | |
| 284 | 299 | |
| 285 | 300 | |