| 1 |
/******/ (() => { // webpackBootstrap |
| 2 |
/******/ "use strict"; |
| 3 |
/******/ var __webpack_modules__ = ({ |
| 4 |
|
| 5 |
/***/ "./assets/src/apps/js/blocks/single-instructor/edit.js" |
| 6 |
/*!*************************************************************!*\ |
| 7 |
!*** ./assets/src/apps/js/blocks/single-instructor/edit.js ***! |
| 8 |
\*************************************************************/ |
| 9 |
(__unused_webpack_module, __webpack_exports__, __webpack_require__) { |
| 10 |
|
| 11 |
__webpack_require__.r(__webpack_exports__); |
| 12 |
/* harmony export */ __webpack_require__.d(__webpack_exports__, { |
| 13 |
/* harmony export */ edit: () => (/* binding */ edit) |
| 14 |
/* harmony export */ }); |
| 15 |
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react"); |
| 16 |
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); |
| 17 |
/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/block-editor */ "@wordpress/block-editor"); |
| 18 |
/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__); |
| 19 |
|
| 20 |
|
| 21 |
const edit = props => { |
| 22 |
const blockProps = (0,_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__.useBlockProps)(); |
| 23 |
const TEMPLATE = []; |
| 24 |
return (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", { |
| 25 |
...blockProps |
| 26 |
}, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__.InnerBlocks, null))); |
| 27 |
}; |
| 28 |
|
| 29 |
/***/ }, |
| 30 |
|
| 31 |
/***/ "./assets/src/apps/js/blocks/single-instructor/save.js" |
| 32 |
/*!*************************************************************!*\ |
| 33 |
!*** ./assets/src/apps/js/blocks/single-instructor/save.js ***! |
| 34 |
\*************************************************************/ |
| 35 |
(__unused_webpack_module, __webpack_exports__, __webpack_require__) { |
| 36 |
|
| 37 |
__webpack_require__.r(__webpack_exports__); |
| 38 |
/* harmony export */ __webpack_require__.d(__webpack_exports__, { |
| 39 |
/* harmony export */ save: () => (/* binding */ save) |
| 40 |
/* harmony export */ }); |
| 41 |
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react"); |
| 42 |
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); |
| 43 |
/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/block-editor */ "@wordpress/block-editor"); |
| 44 |
/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__); |
| 45 |
|
| 46 |
|
| 47 |
const save = props => { |
| 48 |
return (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__.InnerBlocks.Content, null)); |
| 49 |
}; |
| 50 |
|
| 51 |
/***/ }, |
| 52 |
|
| 53 |
/***/ "react" |
| 54 |
/*!************************!*\ |
| 55 |
!*** external "React" ***! |
| 56 |
\************************/ |
| 57 |
(module) { |
| 58 |
|
| 59 |
module.exports = window["React"]; |
| 60 |
|
| 61 |
/***/ }, |
| 62 |
|
| 63 |
/***/ "@wordpress/block-editor" |
| 64 |
/*!*************************************!*\ |
| 65 |
!*** external ["wp","blockEditor"] ***! |
| 66 |
\*************************************/ |
| 67 |
(module) { |
| 68 |
|
| 69 |
module.exports = window["wp"]["blockEditor"]; |
| 70 |
|
| 71 |
/***/ }, |
| 72 |
|
| 73 |
/***/ "@wordpress/blocks" |
| 74 |
/*!********************************!*\ |
| 75 |
!*** external ["wp","blocks"] ***! |
| 76 |
\********************************/ |
| 77 |
(module) { |
| 78 |
|
| 79 |
module.exports = window["wp"]["blocks"]; |
| 80 |
|
| 81 |
/***/ }, |
| 82 |
|
| 83 |
/***/ "./assets/src/apps/js/blocks/single-instructor/block.json" |
| 84 |
/*!****************************************************************!*\ |
| 85 |
!*** ./assets/src/apps/js/blocks/single-instructor/block.json ***! |
| 86 |
\****************************************************************/ |
| 87 |
(module) { |
| 88 |
|
| 89 |
module.exports = /*#__PURE__*/JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"learnpress/single-instructor","title":"Single Instructor","category":"learnpress-category","icon":"archive","description":"Renders Template Single Instructor PHP templates.","textdomain":"learnpress","keywords":["learnpress single instructor","learnpress"],"usesContext":[],"supports":{"inserter":true,"reusable":true,"reorder":true,"html":false,"multiple":true,"wrapper":false}}'); |
| 90 |
|
| 91 |
/***/ } |
| 92 |
|
| 93 |
/******/ }); |
| 94 |
/************************************************************************/ |
| 95 |
/******/ // The module cache |
| 96 |
/******/ var __webpack_module_cache__ = {}; |
| 97 |
/******/ |
| 98 |
/******/ // The require function |
| 99 |
/******/ function __webpack_require__(moduleId) { |
| 100 |
/******/ // Check if module is in cache |
| 101 |
/******/ var cachedModule = __webpack_module_cache__[moduleId]; |
| 102 |
/******/ if (cachedModule !== undefined) { |
| 103 |
/******/ return cachedModule.exports; |
| 104 |
/******/ } |
| 105 |
/******/ // Create a new module (and put it into the cache) |
| 106 |
/******/ var module = __webpack_module_cache__[moduleId] = { |
| 107 |
/******/ // no module.id needed |
| 108 |
/******/ // no module.loaded needed |
| 109 |
/******/ exports: {} |
| 110 |
/******/ }; |
| 111 |
/******/ |
| 112 |
/******/ // Execute the module function |
| 113 |
/******/ if (!(moduleId in __webpack_modules__)) { |
| 114 |
/******/ delete __webpack_module_cache__[moduleId]; |
| 115 |
/******/ var e = new Error("Cannot find module '" + moduleId + "'"); |
| 116 |
/******/ e.code = 'MODULE_NOT_FOUND'; |
| 117 |
/******/ throw e; |
| 118 |
/******/ } |
| 119 |
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); |
| 120 |
/******/ |
| 121 |
/******/ // Return the exports of the module |
| 122 |
/******/ return module.exports; |
| 123 |
/******/ } |
| 124 |
/******/ |
| 125 |
/************************************************************************/ |
| 126 |
/******/ /* webpack/runtime/compat get default export */ |
| 127 |
/******/ (() => { |
| 128 |
/******/ // getDefaultExport function for compatibility with non-harmony modules |
| 129 |
/******/ __webpack_require__.n = (module) => { |
| 130 |
/******/ var getter = module && module.__esModule ? |
| 131 |
/******/ () => (module['default']) : |
| 132 |
/******/ () => (module); |
| 133 |
/******/ __webpack_require__.d(getter, { a: getter }); |
| 134 |
/******/ return getter; |
| 135 |
/******/ }; |
| 136 |
/******/ })(); |
| 137 |
/******/ |
| 138 |
/******/ /* webpack/runtime/define property getters */ |
| 139 |
/******/ (() => { |
| 140 |
/******/ // define getter functions for harmony exports |
| 141 |
/******/ __webpack_require__.d = (exports, definition) => { |
| 142 |
/******/ for(var key in definition) { |
| 143 |
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { |
| 144 |
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); |
| 145 |
/******/ } |
| 146 |
/******/ } |
| 147 |
/******/ }; |
| 148 |
/******/ })(); |
| 149 |
/******/ |
| 150 |
/******/ /* webpack/runtime/hasOwnProperty shorthand */ |
| 151 |
/******/ (() => { |
| 152 |
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) |
| 153 |
/******/ })(); |
| 154 |
/******/ |
| 155 |
/******/ /* webpack/runtime/make namespace object */ |
| 156 |
/******/ (() => { |
| 157 |
/******/ // define __esModule on exports |
| 158 |
/******/ __webpack_require__.r = (exports) => { |
| 159 |
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { |
| 160 |
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); |
| 161 |
/******/ } |
| 162 |
/******/ Object.defineProperty(exports, '__esModule', { value: true }); |
| 163 |
/******/ }; |
| 164 |
/******/ })(); |
| 165 |
/******/ |
| 166 |
/************************************************************************/ |
| 167 |
var __webpack_exports__ = {}; |
| 168 |
// This entry needs to be wrapped in an IIFE because it needs to be isolated against other modules in the chunk. |
| 169 |
(() => { |
| 170 |
/*!**************************************************************!*\ |
| 171 |
!*** ./assets/src/apps/js/blocks/single-instructor/index.js ***! |
| 172 |
\**************************************************************/ |
| 173 |
__webpack_require__.r(__webpack_exports__); |
| 174 |
/* harmony import */ var _edit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./edit */ "./assets/src/apps/js/blocks/single-instructor/edit.js"); |
| 175 |
/* harmony import */ var _save__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./save */ "./assets/src/apps/js/blocks/single-instructor/save.js"); |
| 176 |
/* harmony import */ var _block_json__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./block.json */ "./assets/src/apps/js/blocks/single-instructor/block.json"); |
| 177 |
/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/blocks */ "@wordpress/blocks"); |
| 178 |
/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_3__); |
| 179 |
/** |
| 180 |
* Register block single instructor property. |
| 181 |
*/ |
| 182 |
|
| 183 |
|
| 184 |
|
| 185 |
|
| 186 |
(0,_wordpress_blocks__WEBPACK_IMPORTED_MODULE_3__.registerBlockType)(_block_json__WEBPACK_IMPORTED_MODULE_2__.name, { |
| 187 |
..._block_json__WEBPACK_IMPORTED_MODULE_2__, |
| 188 |
edit: _edit__WEBPACK_IMPORTED_MODULE_0__.edit, |
| 189 |
save: _save__WEBPACK_IMPORTED_MODULE_1__.save |
| 190 |
}); |
| 191 |
})(); |
| 192 |
|
| 193 |
/******/ })() |
| 194 |
; |
| 195 |
//# sourceMappingURL=single-instructor.js.map |