scf-admin.asset.php
1 year ago
scf-admin.js
1 year ago
scf-admin.js.map
1 year ago
scf-admin.min.asset.php
1 year ago
scf-admin.min.js
1 year ago
scf-custom-post-types.asset.php
1 year ago
scf-custom-post-types.js
1 year ago
scf-custom-post-types.js.map
1 year ago
scf-custom-post-types.min.asset.php
1 year ago
scf-custom-post-types.min.js
1 year ago
scf-admin.js
592 lines
| 1 | /******/ (() => { // webpackBootstrap |
| 2 | /******/ "use strict"; |
| 3 | /******/ var __webpack_modules__ = ({ |
| 4 | |
| 5 | /***/ "./node_modules/@wordpress/icons/build-module/library/category.js": |
| 6 | /*!************************************************************************!*\ |
| 7 | !*** ./node_modules/@wordpress/icons/build-module/library/category.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 */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) |
| 14 | /* harmony export */ }); |
| 15 | /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/primitives */ "@wordpress/primitives"); |
| 16 | /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__); |
| 17 | /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); |
| 18 | /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__); |
| 19 | /** |
| 20 | * WordPress dependencies |
| 21 | */ |
| 22 | |
| 23 | |
| 24 | const category = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.SVG, { |
| 25 | viewBox: "0 0 24 24", |
| 26 | xmlns: "http://www.w3.org/2000/svg", |
| 27 | children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.Path, { |
| 28 | d: "M6 5.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5H6a.5.5 0 01-.5-.5V6a.5.5 0 01.5-.5zM4 6a2 2 0 012-2h3a2 2 0 012 2v3a2 2 0 01-2 2H6a2 2 0 01-2-2V6zm11-.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5V6a.5.5 0 01.5-.5zM13 6a2 2 0 012-2h3a2 2 0 012 2v3a2 2 0 01-2 2h-3a2 2 0 01-2-2V6zm5 8.5h-3a.5.5 0 00-.5.5v3a.5.5 0 00.5.5h3a.5.5 0 00.5-.5v-3a.5.5 0 00-.5-.5zM15 13a2 2 0 00-2 2v3a2 2 0 002 2h3a2 2 0 002-2v-3a2 2 0 00-2-2h-3zm-9 1.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5H6a.5.5 0 01-.5-.5v-3a.5.5 0 01.5-.5zM4 15a2 2 0 012-2h3a2 2 0 012 2v3a2 2 0 01-2 2H6a2 2 0 01-2-2v-3z", |
| 29 | fillRule: "evenodd", |
| 30 | clipRule: "evenodd" |
| 31 | }) |
| 32 | }); |
| 33 | /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (category); |
| 34 | //# sourceMappingURL=category.js.map |
| 35 | |
| 36 | /***/ }), |
| 37 | |
| 38 | /***/ "./node_modules/@wordpress/icons/build-module/library/download.js": |
| 39 | /*!************************************************************************!*\ |
| 40 | !*** ./node_modules/@wordpress/icons/build-module/library/download.js ***! |
| 41 | \************************************************************************/ |
| 42 | /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { |
| 43 | |
| 44 | __webpack_require__.r(__webpack_exports__); |
| 45 | /* harmony export */ __webpack_require__.d(__webpack_exports__, { |
| 46 | /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) |
| 47 | /* harmony export */ }); |
| 48 | /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/primitives */ "@wordpress/primitives"); |
| 49 | /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__); |
| 50 | /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); |
| 51 | /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__); |
| 52 | /** |
| 53 | * WordPress dependencies |
| 54 | */ |
| 55 | |
| 56 | |
| 57 | const download = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.SVG, { |
| 58 | xmlns: "http://www.w3.org/2000/svg", |
| 59 | viewBox: "0 0 24 24", |
| 60 | children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.Path, { |
| 61 | d: "M18 11.3l-1-1.1-4 4V3h-1.5v11.3L7 10.2l-1 1.1 6.2 5.8 5.8-5.8zm.5 3.7v3.5h-13V15H4v5h16v-5h-1.5z" |
| 62 | }) |
| 63 | }); |
| 64 | /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (download); |
| 65 | //# sourceMappingURL=download.js.map |
| 66 | |
| 67 | /***/ }), |
| 68 | |
| 69 | /***/ "./node_modules/@wordpress/icons/build-module/library/layout.js": |
| 70 | /*!**********************************************************************!*\ |
| 71 | !*** ./node_modules/@wordpress/icons/build-module/library/layout.js ***! |
| 72 | \**********************************************************************/ |
| 73 | /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { |
| 74 | |
| 75 | __webpack_require__.r(__webpack_exports__); |
| 76 | /* harmony export */ __webpack_require__.d(__webpack_exports__, { |
| 77 | /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) |
| 78 | /* harmony export */ }); |
| 79 | /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/primitives */ "@wordpress/primitives"); |
| 80 | /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__); |
| 81 | /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); |
| 82 | /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__); |
| 83 | /** |
| 84 | * WordPress dependencies |
| 85 | */ |
| 86 | |
| 87 | |
| 88 | const layout = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.SVG, { |
| 89 | xmlns: "http://www.w3.org/2000/svg", |
| 90 | viewBox: "0 0 24 24", |
| 91 | children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.Path, { |
| 92 | d: "M18 5.5H6a.5.5 0 00-.5.5v3h13V6a.5.5 0 00-.5-.5zm.5 5H10v8h8a.5.5 0 00.5-.5v-7.5zm-10 0h-3V18a.5.5 0 00.5.5h2.5v-8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z" |
| 93 | }) |
| 94 | }); |
| 95 | /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (layout); |
| 96 | //# sourceMappingURL=layout.js.map |
| 97 | |
| 98 | /***/ }), |
| 99 | |
| 100 | /***/ "./node_modules/@wordpress/icons/build-module/library/plus.js": |
| 101 | /*!********************************************************************!*\ |
| 102 | !*** ./node_modules/@wordpress/icons/build-module/library/plus.js ***! |
| 103 | \********************************************************************/ |
| 104 | /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { |
| 105 | |
| 106 | __webpack_require__.r(__webpack_exports__); |
| 107 | /* harmony export */ __webpack_require__.d(__webpack_exports__, { |
| 108 | /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) |
| 109 | /* harmony export */ }); |
| 110 | /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/primitives */ "@wordpress/primitives"); |
| 111 | /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__); |
| 112 | /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); |
| 113 | /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__); |
| 114 | /** |
| 115 | * WordPress dependencies |
| 116 | */ |
| 117 | |
| 118 | |
| 119 | const plus = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.SVG, { |
| 120 | xmlns: "http://www.w3.org/2000/svg", |
| 121 | viewBox: "0 0 24 24", |
| 122 | children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.Path, { |
| 123 | d: "M11 12.5V17.5H12.5V12.5H17.5V11H12.5V6H11V11H6V12.5H11Z" |
| 124 | }) |
| 125 | }); |
| 126 | /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (plus); |
| 127 | //# sourceMappingURL=plus.js.map |
| 128 | |
| 129 | /***/ }), |
| 130 | |
| 131 | /***/ "./node_modules/@wordpress/icons/build-module/library/post-list.js": |
| 132 | /*!*************************************************************************!*\ |
| 133 | !*** ./node_modules/@wordpress/icons/build-module/library/post-list.js ***! |
| 134 | \*************************************************************************/ |
| 135 | /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { |
| 136 | |
| 137 | __webpack_require__.r(__webpack_exports__); |
| 138 | /* harmony export */ __webpack_require__.d(__webpack_exports__, { |
| 139 | /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) |
| 140 | /* harmony export */ }); |
| 141 | /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/primitives */ "@wordpress/primitives"); |
| 142 | /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__); |
| 143 | /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); |
| 144 | /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__); |
| 145 | /** |
| 146 | * WordPress dependencies |
| 147 | */ |
| 148 | |
| 149 | |
| 150 | const postList = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.SVG, { |
| 151 | viewBox: "0 0 24 24", |
| 152 | xmlns: "http://www.w3.org/2000/svg", |
| 153 | children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.Path, { |
| 154 | d: "M18 5.5H6a.5.5 0 0 0-.5.5v12a.5.5 0 0 0 .5.5h12a.5.5 0 0 0 .5-.5V6a.5.5 0 0 0-.5-.5ZM6 4h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2Zm1 5h1.5v1.5H7V9Zm1.5 4.5H7V15h1.5v-1.5ZM10 9h7v1.5h-7V9Zm7 4.5h-7V15h7v-1.5Z" |
| 155 | }) |
| 156 | }); |
| 157 | /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (postList); |
| 158 | //# sourceMappingURL=post-list.js.map |
| 159 | |
| 160 | /***/ }), |
| 161 | |
| 162 | /***/ "./node_modules/@wordpress/icons/build-module/library/settings.js": |
| 163 | /*!************************************************************************!*\ |
| 164 | !*** ./node_modules/@wordpress/icons/build-module/library/settings.js ***! |
| 165 | \************************************************************************/ |
| 166 | /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { |
| 167 | |
| 168 | __webpack_require__.r(__webpack_exports__); |
| 169 | /* harmony export */ __webpack_require__.d(__webpack_exports__, { |
| 170 | /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) |
| 171 | /* harmony export */ }); |
| 172 | /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/primitives */ "@wordpress/primitives"); |
| 173 | /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__); |
| 174 | /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); |
| 175 | /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__); |
| 176 | /** |
| 177 | * WordPress dependencies |
| 178 | */ |
| 179 | |
| 180 | |
| 181 | const settings = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.SVG, { |
| 182 | xmlns: "http://www.w3.org/2000/svg", |
| 183 | viewBox: "0 0 24 24", |
| 184 | children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.Path, { |
| 185 | d: "m19 7.5h-7.628c-.3089-.87389-1.1423-1.5-2.122-1.5-.97966 0-1.81309.62611-2.12197 1.5h-2.12803v1.5h2.12803c.30888.87389 1.14231 1.5 2.12197 1.5.9797 0 1.8131-.62611 2.122-1.5h7.628z" |
| 186 | }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.Path, { |
| 187 | d: "m19 15h-2.128c-.3089-.8739-1.1423-1.5-2.122-1.5s-1.8131.6261-2.122 1.5h-7.628v1.5h7.628c.3089.8739 1.1423 1.5 2.122 1.5s1.8131-.6261 2.122-1.5h2.128z" |
| 188 | })] |
| 189 | }); |
| 190 | /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (settings); |
| 191 | //# sourceMappingURL=settings.js.map |
| 192 | |
| 193 | /***/ }), |
| 194 | |
| 195 | /***/ "./node_modules/@wordpress/icons/build-module/library/tool.js": |
| 196 | /*!********************************************************************!*\ |
| 197 | !*** ./node_modules/@wordpress/icons/build-module/library/tool.js ***! |
| 198 | \********************************************************************/ |
| 199 | /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { |
| 200 | |
| 201 | __webpack_require__.r(__webpack_exports__); |
| 202 | /* harmony export */ __webpack_require__.d(__webpack_exports__, { |
| 203 | /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) |
| 204 | /* harmony export */ }); |
| 205 | /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/primitives */ "@wordpress/primitives"); |
| 206 | /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__); |
| 207 | /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); |
| 208 | /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__); |
| 209 | /** |
| 210 | * WordPress dependencies |
| 211 | */ |
| 212 | |
| 213 | |
| 214 | const tool = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.SVG, { |
| 215 | xmlns: "http://www.w3.org/2000/svg", |
| 216 | viewBox: "0 0 24 24", |
| 217 | children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.Path, { |
| 218 | d: "M14.103 7.128l2.26-2.26a4 4 0 00-5.207 4.804L5.828 15a2 2 0 102.828 2.828l5.329-5.328a4 4 0 004.804-5.208l-2.261 2.26-1.912-.512-.513-1.912zm-7.214 9.64a.5.5 0 11.707-.707.5.5 0 01-.707.707z" |
| 219 | }) |
| 220 | }); |
| 221 | /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (tool); |
| 222 | //# sourceMappingURL=tool.js.map |
| 223 | |
| 224 | /***/ }), |
| 225 | |
| 226 | /***/ "./node_modules/@wordpress/icons/build-module/library/upload.js": |
| 227 | /*!**********************************************************************!*\ |
| 228 | !*** ./node_modules/@wordpress/icons/build-module/library/upload.js ***! |
| 229 | \**********************************************************************/ |
| 230 | /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { |
| 231 | |
| 232 | __webpack_require__.r(__webpack_exports__); |
| 233 | /* harmony export */ __webpack_require__.d(__webpack_exports__, { |
| 234 | /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) |
| 235 | /* harmony export */ }); |
| 236 | /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/primitives */ "@wordpress/primitives"); |
| 237 | /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__); |
| 238 | /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); |
| 239 | /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__); |
| 240 | /** |
| 241 | * WordPress dependencies |
| 242 | */ |
| 243 | |
| 244 | |
| 245 | const upload = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.SVG, { |
| 246 | xmlns: "http://www.w3.org/2000/svg", |
| 247 | viewBox: "0 0 24 24", |
| 248 | children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.Path, { |
| 249 | d: "M18.5 15v3.5H13V6.7l4.5 4.1 1-1.1-6.2-5.8-5.8 5.8 1 1.1 4-4v11.7h-6V15H4v5h16v-5z" |
| 250 | }) |
| 251 | }); |
| 252 | /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (upload); |
| 253 | //# sourceMappingURL=upload.js.map |
| 254 | |
| 255 | /***/ }), |
| 256 | |
| 257 | /***/ "@wordpress/components": |
| 258 | /*!************************************!*\ |
| 259 | !*** external ["wp","components"] ***! |
| 260 | \************************************/ |
| 261 | /***/ ((module) => { |
| 262 | |
| 263 | module.exports = window["wp"]["components"]; |
| 264 | |
| 265 | /***/ }), |
| 266 | |
| 267 | /***/ "@wordpress/data": |
| 268 | /*!******************************!*\ |
| 269 | !*** external ["wp","data"] ***! |
| 270 | \******************************/ |
| 271 | /***/ ((module) => { |
| 272 | |
| 273 | module.exports = window["wp"]["data"]; |
| 274 | |
| 275 | /***/ }), |
| 276 | |
| 277 | /***/ "@wordpress/element": |
| 278 | /*!*********************************!*\ |
| 279 | !*** external ["wp","element"] ***! |
| 280 | \*********************************/ |
| 281 | /***/ ((module) => { |
| 282 | |
| 283 | module.exports = window["wp"]["element"]; |
| 284 | |
| 285 | /***/ }), |
| 286 | |
| 287 | /***/ "@wordpress/i18n": |
| 288 | /*!******************************!*\ |
| 289 | !*** external ["wp","i18n"] ***! |
| 290 | \******************************/ |
| 291 | /***/ ((module) => { |
| 292 | |
| 293 | module.exports = window["wp"]["i18n"]; |
| 294 | |
| 295 | /***/ }), |
| 296 | |
| 297 | /***/ "@wordpress/primitives": |
| 298 | /*!************************************!*\ |
| 299 | !*** external ["wp","primitives"] ***! |
| 300 | \************************************/ |
| 301 | /***/ ((module) => { |
| 302 | |
| 303 | module.exports = window["wp"]["primitives"]; |
| 304 | |
| 305 | /***/ }), |
| 306 | |
| 307 | /***/ "@wordpress/url": |
| 308 | /*!*****************************!*\ |
| 309 | !*** external ["wp","url"] ***! |
| 310 | \*****************************/ |
| 311 | /***/ ((module) => { |
| 312 | |
| 313 | module.exports = window["wp"]["url"]; |
| 314 | |
| 315 | /***/ }), |
| 316 | |
| 317 | /***/ "react/jsx-runtime": |
| 318 | /*!**********************************!*\ |
| 319 | !*** external "ReactJSXRuntime" ***! |
| 320 | \**********************************/ |
| 321 | /***/ ((module) => { |
| 322 | |
| 323 | module.exports = window["ReactJSXRuntime"]; |
| 324 | |
| 325 | /***/ }) |
| 326 | |
| 327 | /******/ }); |
| 328 | /************************************************************************/ |
| 329 | /******/ // The module cache |
| 330 | /******/ var __webpack_module_cache__ = {}; |
| 331 | /******/ |
| 332 | /******/ // The require function |
| 333 | /******/ function __webpack_require__(moduleId) { |
| 334 | /******/ // Check if module is in cache |
| 335 | /******/ var cachedModule = __webpack_module_cache__[moduleId]; |
| 336 | /******/ if (cachedModule !== undefined) { |
| 337 | /******/ return cachedModule.exports; |
| 338 | /******/ } |
| 339 | /******/ // Create a new module (and put it into the cache) |
| 340 | /******/ var module = __webpack_module_cache__[moduleId] = { |
| 341 | /******/ // no module.id needed |
| 342 | /******/ // no module.loaded needed |
| 343 | /******/ exports: {} |
| 344 | /******/ }; |
| 345 | /******/ |
| 346 | /******/ // Execute the module function |
| 347 | /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); |
| 348 | /******/ |
| 349 | /******/ // Return the exports of the module |
| 350 | /******/ return module.exports; |
| 351 | /******/ } |
| 352 | /******/ |
| 353 | /************************************************************************/ |
| 354 | /******/ /* webpack/runtime/compat get default export */ |
| 355 | /******/ (() => { |
| 356 | /******/ // getDefaultExport function for compatibility with non-harmony modules |
| 357 | /******/ __webpack_require__.n = (module) => { |
| 358 | /******/ var getter = module && module.__esModule ? |
| 359 | /******/ () => (module['default']) : |
| 360 | /******/ () => (module); |
| 361 | /******/ __webpack_require__.d(getter, { a: getter }); |
| 362 | /******/ return getter; |
| 363 | /******/ }; |
| 364 | /******/ })(); |
| 365 | /******/ |
| 366 | /******/ /* webpack/runtime/define property getters */ |
| 367 | /******/ (() => { |
| 368 | /******/ // define getter functions for harmony exports |
| 369 | /******/ __webpack_require__.d = (exports, definition) => { |
| 370 | /******/ for(var key in definition) { |
| 371 | /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { |
| 372 | /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); |
| 373 | /******/ } |
| 374 | /******/ } |
| 375 | /******/ }; |
| 376 | /******/ })(); |
| 377 | /******/ |
| 378 | /******/ /* webpack/runtime/hasOwnProperty shorthand */ |
| 379 | /******/ (() => { |
| 380 | /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) |
| 381 | /******/ })(); |
| 382 | /******/ |
| 383 | /******/ /* webpack/runtime/make namespace object */ |
| 384 | /******/ (() => { |
| 385 | /******/ // define __esModule on exports |
| 386 | /******/ __webpack_require__.r = (exports) => { |
| 387 | /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { |
| 388 | /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); |
| 389 | /******/ } |
| 390 | /******/ Object.defineProperty(exports, '__esModule', { value: true }); |
| 391 | /******/ }; |
| 392 | /******/ })(); |
| 393 | /******/ |
| 394 | /************************************************************************/ |
| 395 | var __webpack_exports__ = {}; |
| 396 | // This entry needs to be wrapped in an IIFE because it needs to be isolated against other modules in the chunk. |
| 397 | (() => { |
| 398 | /*!**************************************************!*\ |
| 399 | !*** ./assets/src/js/commands/admin-commands.js ***! |
| 400 | \**************************************************/ |
| 401 | __webpack_require__.r(__webpack_exports__); |
| 402 | /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); |
| 403 | /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__); |
| 404 | /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element"); |
| 405 | /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__); |
| 406 | /* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components"); |
| 407 | /* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__); |
| 408 | /* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/data */ "@wordpress/data"); |
| 409 | /* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_3__); |
| 410 | /* harmony import */ var _wordpress_url__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @wordpress/url */ "@wordpress/url"); |
| 411 | /* harmony import */ var _wordpress_url__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_url__WEBPACK_IMPORTED_MODULE_4__); |
| 412 | /* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @wordpress/icons */ "./node_modules/@wordpress/icons/build-module/library/layout.js"); |
| 413 | /* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @wordpress/icons */ "./node_modules/@wordpress/icons/build-module/library/plus.js"); |
| 414 | /* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @wordpress/icons */ "./node_modules/@wordpress/icons/build-module/library/post-list.js"); |
| 415 | /* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @wordpress/icons */ "./node_modules/@wordpress/icons/build-module/library/category.js"); |
| 416 | /* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @wordpress/icons */ "./node_modules/@wordpress/icons/build-module/library/settings.js"); |
| 417 | /* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @wordpress/icons */ "./node_modules/@wordpress/icons/build-module/library/tool.js"); |
| 418 | /* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @wordpress/icons */ "./node_modules/@wordpress/icons/build-module/library/upload.js"); |
| 419 | /* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @wordpress/icons */ "./node_modules/@wordpress/icons/build-module/library/download.js"); |
| 420 | /** |
| 421 | * Admin Commands |
| 422 | * |
| 423 | * Core WordPress commands for Secure Custom Fields administration. |
| 424 | * This file registers navigation commands for all primary SCF admin screens, |
| 425 | * enabling quick access through the WordPress commands interface (Cmd+K / Ctrl+K). |
| 426 | * |
| 427 | * @since SCF 6.5.0 |
| 428 | */ |
| 429 | |
| 430 | /** |
| 431 | * WordPress dependencies |
| 432 | */ |
| 433 | |
| 434 | |
| 435 | |
| 436 | |
| 437 | |
| 438 | |
| 439 | |
| 440 | /** |
| 441 | * Register admin commands for SCF |
| 442 | */ |
| 443 | const registerAdminCommands = () => { |
| 444 | if (!(0,_wordpress_data__WEBPACK_IMPORTED_MODULE_3__.dispatch)('core/commands') || !window.acf?.data) { |
| 445 | return; |
| 446 | } |
| 447 | const commandStore = (0,_wordpress_data__WEBPACK_IMPORTED_MODULE_3__.dispatch)('core/commands'); |
| 448 | const adminUrl = window.acf?.data?.admin_url || ''; |
| 449 | const commands = [{ |
| 450 | name: 'field-groups', |
| 451 | label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Field Groups', 'secure-custom-fields'), |
| 452 | url: 'edit.php', |
| 453 | urlArgs: { |
| 454 | post_type: 'acf-field-group' |
| 455 | }, |
| 456 | icon: _wordpress_icons__WEBPACK_IMPORTED_MODULE_5__["default"], |
| 457 | description: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('SCF: View and manage custom field groups', 'secure-custom-fields'), |
| 458 | keywords: ['acf', 'custom fields', 'field editor', 'manage fields'] |
| 459 | }, { |
| 460 | name: 'new-field-group', |
| 461 | label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Create New Field Group', 'secure-custom-fields'), |
| 462 | url: 'post-new.php', |
| 463 | urlArgs: { |
| 464 | post_type: 'acf-field-group' |
| 465 | }, |
| 466 | icon: _wordpress_icons__WEBPACK_IMPORTED_MODULE_6__["default"], |
| 467 | description: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('SCF: Create a new field group to organize custom fields', 'secure-custom-fields'), |
| 468 | keywords: ['add', 'new', 'create', 'field group', 'custom fields'] |
| 469 | }, { |
| 470 | name: 'post-types', |
| 471 | label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Post Types', 'secure-custom-fields'), |
| 472 | url: 'edit.php', |
| 473 | urlArgs: { |
| 474 | post_type: 'acf-post-type' |
| 475 | }, |
| 476 | icon: _wordpress_icons__WEBPACK_IMPORTED_MODULE_7__["default"], |
| 477 | description: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('SCF: Manage custom post types', 'secure-custom-fields'), |
| 478 | keywords: ['cpt', 'content types', 'manage post types'] |
| 479 | }, { |
| 480 | name: 'new-post-type', |
| 481 | label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Create New Post Type', 'secure-custom-fields'), |
| 482 | url: 'post-new.php', |
| 483 | urlArgs: { |
| 484 | post_type: 'acf-post-type' |
| 485 | }, |
| 486 | icon: _wordpress_icons__WEBPACK_IMPORTED_MODULE_6__["default"], |
| 487 | description: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('SCF: Create a new custom post type', 'secure-custom-fields'), |
| 488 | keywords: ['add', 'new', 'create', 'cpt', 'content type'] |
| 489 | }, { |
| 490 | name: 'taxonomies', |
| 491 | label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Taxonomies', 'secure-custom-fields'), |
| 492 | url: 'edit.php', |
| 493 | urlArgs: { |
| 494 | post_type: 'acf-taxonomy' |
| 495 | }, |
| 496 | icon: _wordpress_icons__WEBPACK_IMPORTED_MODULE_8__["default"], |
| 497 | description: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('SCF: Manage custom taxonomies for organizing content', 'secure-custom-fields'), |
| 498 | keywords: ['categories', 'tags', 'terms', 'custom taxonomies'] |
| 499 | }, { |
| 500 | name: 'new-taxonomy', |
| 501 | label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Create New Taxonomy', 'secure-custom-fields'), |
| 502 | url: 'post-new.php', |
| 503 | urlArgs: { |
| 504 | post_type: 'acf-taxonomy' |
| 505 | }, |
| 506 | icon: _wordpress_icons__WEBPACK_IMPORTED_MODULE_6__["default"], |
| 507 | description: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('SCF: Create a new custom taxonomy', 'secure-custom-fields'), |
| 508 | keywords: ['add', 'new', 'create', 'taxonomy', 'categories', 'tags'] |
| 509 | }, { |
| 510 | name: 'options-pages', |
| 511 | label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Options Pages', 'secure-custom-fields'), |
| 512 | url: 'edit.php', |
| 513 | urlArgs: { |
| 514 | post_type: 'acf-ui-options-page' |
| 515 | }, |
| 516 | icon: _wordpress_icons__WEBPACK_IMPORTED_MODULE_9__["default"], |
| 517 | description: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('SCF: Manage custom options pages for global settings', 'secure-custom-fields'), |
| 518 | keywords: ['settings', 'global options', 'site options'] |
| 519 | }, { |
| 520 | name: 'new-options-page', |
| 521 | label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Create New Options Page', 'secure-custom-fields'), |
| 522 | url: 'post-new.php', |
| 523 | urlArgs: { |
| 524 | post_type: 'acf-ui-options-page' |
| 525 | }, |
| 526 | icon: _wordpress_icons__WEBPACK_IMPORTED_MODULE_6__["default"], |
| 527 | description: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('SCF: Create a new custom options page', 'secure-custom-fields'), |
| 528 | keywords: ['add', 'new', 'create', 'options', 'settings page'] |
| 529 | }, { |
| 530 | name: 'tools', |
| 531 | label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('SCF Tools', 'secure-custom-fields'), |
| 532 | url: 'admin.php', |
| 533 | urlArgs: { |
| 534 | page: 'acf-tools' |
| 535 | }, |
| 536 | icon: _wordpress_icons__WEBPACK_IMPORTED_MODULE_10__["default"], |
| 537 | description: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('SCF: Access SCF utility tools', 'secure-custom-fields'), |
| 538 | keywords: ['utilities', 'import export', 'json'] |
| 539 | }, { |
| 540 | name: 'import', |
| 541 | label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Import SCF Data', 'secure-custom-fields'), |
| 542 | url: 'admin.php', |
| 543 | urlArgs: { |
| 544 | page: 'acf-tools', |
| 545 | tool: 'import' |
| 546 | }, |
| 547 | icon: _wordpress_icons__WEBPACK_IMPORTED_MODULE_11__["default"], |
| 548 | description: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('SCF: Import field groups, post types, taxonomies, and options pages', 'secure-custom-fields'), |
| 549 | keywords: ['upload', 'json', 'migration', 'transfer'] |
| 550 | }, { |
| 551 | name: 'export', |
| 552 | label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Export SCF Data', 'secure-custom-fields'), |
| 553 | url: 'admin.php', |
| 554 | urlArgs: { |
| 555 | page: 'acf-tools', |
| 556 | tool: 'export' |
| 557 | }, |
| 558 | icon: _wordpress_icons__WEBPACK_IMPORTED_MODULE_12__["default"], |
| 559 | description: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('SCF: Export field groups, post types, taxonomies, and options pages', 'secure-custom-fields'), |
| 560 | keywords: ['download', 'json', 'backup', 'migration'] |
| 561 | }]; |
| 562 | commands.forEach(command => { |
| 563 | commandStore.registerCommand({ |
| 564 | name: 'scf/' + command.name, |
| 565 | label: command.label, |
| 566 | icon: (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_1__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.Icon, { |
| 567 | icon: command.icon |
| 568 | }), |
| 569 | context: 'admin', |
| 570 | description: command.description, |
| 571 | keywords: command.keywords, |
| 572 | callback: ({ |
| 573 | close |
| 574 | }) => { |
| 575 | document.location = command.urlArgs ? (0,_wordpress_url__WEBPACK_IMPORTED_MODULE_4__.addQueryArgs)(adminUrl + command.url, command.urlArgs) : adminUrl + command.url; |
| 576 | close(); |
| 577 | } |
| 578 | }); |
| 579 | }); |
| 580 | }; |
| 581 | if ('requestIdleCallback' in window) { |
| 582 | window.requestIdleCallback(registerAdminCommands, { |
| 583 | timeout: 500 |
| 584 | }); |
| 585 | } else { |
| 586 | setTimeout(registerAdminCommands, 500); |
| 587 | } |
| 588 | })(); |
| 589 | |
| 590 | /******/ })() |
| 591 | ; |
| 592 | //# sourceMappingURL=scf-admin.js.map |