HEX
Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.30
System: Linux iZj6c1151k3ad370bosnmsZ 3.10.0-1160.76.1.el7.x86_64 #1 SMP Wed Aug 10 16:21:17 UTC 2022 x86_64
User: root (0)
PHP: 7.4.30
Disabled: NONE
Upload Files
File: /var/www/html/amberconcept/wp-content/plugins/zeen-engine/inc/ip/build/index.js.map
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/editor.scss","webpack:///./src/index.js","webpack:///./src/save.js","webpack:///external {\"this\":[\"wp\",\"blocks\"]}","webpack:///external {\"this\":[\"wp\",\"element\"]}","webpack:///external {\"this\":[\"wp\",\"i18n\"]}"],"names":["withSelect","wp","data","serverSideRender","el","element","createElement","InspectorControls","blockEditor","components","SelectControl","TextControl","PanelBody","registerBlockType","title","__","description","category","icon","width","height","d","supports","html","edit","select","query","per_page","posts","getEntityRecords","className","attributes","setAttributes","options","length","i","push","value","id","label","rendered","pid","block","save"],"mappings":";;;;;;;;;;;;;;;;QAAA;QACA;QACA;QACA;QACA;;QAEA;QACA;QACA;QACA,QAAQ,oBAAoB;QAC5B;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA,iBAAiB,4BAA4B;QAC7C;QACA;QACA,kBAAkB,2BAA2B;QAC7C;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;;QAEA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QAC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AAD,QACC,yEAAC,SAAD;AAAW,WAAK,EAAGf,0DAAE,CAAE,eAAF,EAAmB,MAAnB;AAArB,OACC,yEAAC,aAAD;AACM,WAAK,EAAGgB,UAAU,CAACU,GADzB;AAEM,cAAQ,EAAG,kBAAEJ,KAAF;AAAA,eAAaL,aAAa,CAAE;AAAES,aAAG,EAAEJ;AAAP,SAAF,CAA1B;AAAA,OAFjB;AAGM,WAAK,EAAGtB,0DAAE,CAAE,aAAF,EAAiB,MAAjB,CAHhB;AAIM,aAAO,EAAGkB;AAJhB,MADD,EAME,yEAAC,WAAD;AACM,WAAK,EAAGlB,0DAAE,CAAE,OAAF,EAAW,MAAX,CADhB;AAEA,cAAQ,EAAG,kBAAEsB,KAAF;AAAA,eAAaL,aAAa,CAAE;AAAElB,eAAK,EAAEuB;AAAT,SAAF,CAA1B;AAAA,OAFX;AAGA,WAAK,EAAEN,UAAU,CAACjB;AAHlB,MANF,CADD,CADD,EAeGV,EAAE,CAAED,gBAAF,EAAoB;AACXuC,WAAK,EAAE,wBADI;AAEXX,gBAAU,EAAEA;AAFD,KAApB,CAfL,CADD;AAsBA,GAjDK,CAtCsC;;AA0F5C;;;AAGAY,MAAI,EAAJA,6CAAIA;AA7FwC,CAA5B,CAAjB,C;;;;;;;;;;;;AChDA;AAAA;AAAA;AAAA;AAAA;;;;;AAKA;AAEA;;;;;;;;;;AASe,SAASA,IAAT,GAAgB;AAC9B,SAAO,IAAP;AACA,C;;;;;;;;;;;AClBD,aAAa,uCAAuC,EAAE,I;;;;;;;;;;;ACAtD,aAAa,wCAAwC,EAAE,I;;;;;;;;;;;ACAvD,aAAa,qCAAqC,EAAE,I","file":"index.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"index\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([\"./src/index.js\",\"style-index\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","// extracted by mini-css-extract-plugin","/**\n * Registers a new block provided a unique name and an object defining its behavior.\n *\n * @see https://developer.wordpress.org/block-editor/developers/block-api/#registering-a-block\n */\nimport { registerBlockType } from '@wordpress/blocks';\n\n/**\n * Retrieves the translation of text.\n *\n * @see https://developer.wordpress.org/block-editor/packages/packages-i18n/\n */\nimport { __ } from '@wordpress/i18n';\n\n/**\n * Lets webpack process CSS, SASS or SCSS files referenced in JavaScript files.\n * All files containing `style` keyword are bundled together. The code used\n * gets applied both to the front of your site and to the editor.\n *\n * @see https://www.npmjs.com/package/@wordpress/scripts#using-css\n */\nimport './style.scss';\nimport './editor.scss';\n/**\n * Internal dependencies\n */\nimport save from './save';\nconst {\n\twithSelect,\n} = wp.data;\nconst { serverSideRender } = wp;\n\n\nconst el = wp.element.createElement;\nconst {\n    InspectorControls,\n} = wp.blockEditor;\n\nconst {\n\tSelectControl,\n\tTextControl,\n    PanelBody,\n} = wp.components;\n/**\n * Every block starts by registering a new block type definition.\n *\n * @see https://developer.wordpress.org/block-editor/developers/block-api/#registering-a-block\n */\nregisterBlockType( 'zeen/block-inline-post', {\n\t/**\n\t * This is the display title for your block, which can be translated with `i18n` functions.\n\t * The block inserter will show this name.\n\t */\n\ttitle: __( 'Inline Post', 'zeen' ),\n\n\t/**\n\t * This is a short description for your block, can be translated with `i18n` functions.\n\t * It will be shown in the Block Tab in the Settings Sidebar.\n\t */\n\tdescription: __( 'Promote other posts with the Zeen Inline Post Block.', 'zeen' ),\n\n\t/**\n\t * Blocks are grouped into categories to help users browse and discover them.\n\t * The categories provided by core are `common`, `embed`, `formatting`, `layout` and `widgets`.\n\t */\n\tcategory: 'zeen-blocks',\n\n\t/**\n\t * An icon property should be specified to make it easier to identify a block.\n\t * These can be any of WordPress’ Dashicons, or a custom svg element.\n\t */\n\ticon: el('svg', { width: 20, height: 20 },\n\t  el('path', { d: \"M3,7 L9,7 L9,13 L3,13 L3,7 Z M1,4 L19,4 L19,5 L1,5 L1,4 Z M1,15 L19,15 L19,16 L1,16 L1,15 Z M11,11 L19,11 L19,12 L11,12 L11,11 Z M11,9 L15,9 L15,10 L11,10 L11,9 Z\" } )\n\t),\n\n\t/**\n\t * Optional block extended support features.\n\t */\n\tsupports: {\n\t\t// Removes support for an HTML mode.\n\t\thtml: false,\n\t},\n\n\t/**\n\t * @see ./edit.js\n\t */\n\tedit: withSelect( function( select ) {\n\t\tvar query = {\n\t\t\tper_page : -1,\n\t\t}\n        return {\n        \tposts: wp.data.select( 'core' ).getEntityRecords( 'postType', 'post', query ),\n        };\n    } )( function ( { className, attributes, setAttributes, posts } ) { \n    \tlet options = [];\n        if ( ! posts ) {\n            return __( 'Loading...', 'zeen' );\n        }\n\t\tif ( posts.length > 0 ) {\n\t\t\tfor (var i = 0; i < posts.length; i++) {\n\t\t\t\toptions.push({\n\t\t\t\t\tvalue: posts[i].id,\n\t\t\t\t\tlabel: posts[i].title.rendered\n\t\t\t\t});\n\t\t\t}\n\t\t}\n        if ( options.length === 0 ) {\n            return __( 'No published posts', 'zeen' );\n        }\n \t\tif ( typeof attributes.pid === 'undefined' && typeof posts[0] !== 'undefined' ) {\n \t\t\tsetAttributes( { pid: posts[0].id } );\n \t\t}\n \t\t\n\t\treturn (\n\t\t\t<div className={ className }>\n\t\t\t\t<InspectorControls>\n\t\t\t\t\t<PanelBody title={ __( 'Block Options', 'zeen' ) }>\n\t\t\t\t\t\t<SelectControl\n\t\t\t\t        value={ attributes.pid }\n\t\t\t\t        onChange={ ( value ) => setAttributes( { pid: value } ) }\n\t\t\t\t        label={ __( 'Select Post', 'zeen' ) }\n\t\t\t\t        options={ options } />\n\t\t\t\t \t\t<TextControl\n\t\t\t\t        \tlabel={ __( 'Title', 'zeen' ) }\n\t\t\t\t\t\t\tonChange={ ( value ) => setAttributes( { title: value } ) }\n\t\t\t\t\t\t\tvalue={attributes.title}\n\t\t\t\t\t\t/>\n\t\t\t\t\t</PanelBody>\n\t\t\t\t</InspectorControls>\n\t\t\t\t{ el( serverSideRender, {\n\t                block: \"zeen/block-inline-post\",\n\t                attributes: attributes\n\t            }) }\n\t\t\t</div>\n\t\t);\n\t},\n\t),\n\n\t/**\n\t * @see ./save.js\n\t */\n\tsave,\n} );\n","/**\n * Retrieves the translation of text.\n *\n * @see https://developer.wordpress.org/block-editor/packages/packages-i18n/\n */\nimport { __ } from '@wordpress/i18n';\n\n/**\n * The save function defines the way in which the different attributes should\n * be combined into the final markup, which is then serialized by the block\n * editor into `post_content`.\n *\n * @see https://developer.wordpress.org/block-editor/developers/block-api/block-edit-save/#save\n *\n * @return {WPElement} Element to render.\n */\nexport default function save() {\n\treturn null\n}\n","(function() { module.exports = this[\"wp\"][\"blocks\"]; }());","(function() { module.exports = this[\"wp\"][\"element\"]; }());","(function() { module.exports = this[\"wp\"][\"i18n\"]; }());"],"sourceRoot":""}