/******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; /******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, /******/ l: false, /******/ exports: {} /******/ }; /******/ /******/ // Execute the module function /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); /******/ /******/ // Flag the module as loaded /******/ module.l = true; /******/ /******/ // Return the exports of the module /******/ return module.exports; /******/ } /******/ /******/ /******/ // expose the modules object (__webpack_modules__) /******/ __webpack_require__.m = modules; /******/ /******/ // expose the module cache /******/ __webpack_require__.c = installedModules; /******/ /******/ // define getter function for harmony exports /******/ __webpack_require__.d = function(exports, name, getter) { /******/ if(!__webpack_require__.o(exports, name)) { /******/ Object.defineProperty(exports, name, { /******/ configurable: false, /******/ enumerable: true, /******/ get: getter /******/ }); /******/ } /******/ }; /******/ /******/ // getDefaultExport function for compatibility with non-harmony modules /******/ __webpack_require__.n = function(module) { /******/ var getter = module && module.__esModule ? /******/ function getDefault() { return module['default']; } : /******/ function getModuleExports() { return module; }; /******/ __webpack_require__.d(getter, 'a', getter); /******/ return getter; /******/ }; /******/ /******/ // Object.prototype.hasOwnProperty.call /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; /******/ /******/ // __webpack_public_path__ /******/ __webpack_require__.p = ""; /******/ /******/ // Load entry module and return exports /******/ return __webpack_require__(__webpack_require__.s = 0); /******/ }) /************************************************************************/ /******/ ([ /* 0 */ /*!***********************!*\ !*** ./src/blocks.js ***! \***********************/ /*! no exports provided */ /*! all exports used */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; eval("Object.defineProperty(__webpack_exports__, \"__esModule\", { value: true });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__essgrid___ = __webpack_require__(/*! ./essgrid/ */ 1);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__essgrid____default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__essgrid___);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__wpgallery___ = __webpack_require__(/*! ./wpgallery/ */ 2);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__wpgallery____default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__wpgallery___);\n/**\n * Gutenberg Blocks\n *\n * All blocks related JavaScript files should be imported here.\n * You can create a new block folder in this dir and include code\n * for that block here as well.\n *\n * All blocks should be included here since this is the file that\n * Webpack is compiling as the input file.\n */\n\n\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMC5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL3NyYy9ibG9ja3MuanM/N2I1YiJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEd1dGVuYmVyZyBCbG9ja3NcbiAqXG4gKiBBbGwgYmxvY2tzIHJlbGF0ZWQgSmF2YVNjcmlwdCBmaWxlcyBzaG91bGQgYmUgaW1wb3J0ZWQgaGVyZS5cbiAqIFlvdSBjYW4gY3JlYXRlIGEgbmV3IGJsb2NrIGZvbGRlciBpbiB0aGlzIGRpciBhbmQgaW5jbHVkZSBjb2RlXG4gKiBmb3IgdGhhdCBibG9jayBoZXJlIGFzIHdlbGwuXG4gKlxuICogQWxsIGJsb2NrcyBzaG91bGQgYmUgaW5jbHVkZWQgaGVyZSBzaW5jZSB0aGlzIGlzIHRoZSBmaWxlIHRoYXRcbiAqIFdlYnBhY2sgaXMgY29tcGlsaW5nIGFzIHRoZSBpbnB1dCBmaWxlLlxuICovXG5cbmltcG9ydCAnLi9lc3NncmlkLyc7XG5pbXBvcnQgJy4vd3BnYWxsZXJ5Lyc7XG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9zcmMvYmxvY2tzLmpzXG4vLyBtb2R1bGUgaWQgPSAwXG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///0\n"); /***/ }), /* 1 */ /*!******************************!*\ !*** ./src/essgrid/index.js ***! \******************************/ /*! exports provided: EssGrid, default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; eval("/* unused harmony export EssGrid */\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__editor_scss__ = __webpack_require__(/*! ./editor.scss */ 3);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__editor_scss__);\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n/**\n * Block dependencies\n */\n\n\n/**\n * Internal block libraries\n */\nvar __ = wp.i18n.__;\nvar registerBlockType = wp.blocks.registerBlockType;\nvar _wp$components = wp.components,\n TextControl = _wp$components.TextControl,\n Button = _wp$components.Button;\nvar Component = wp.element.Component;\n\n/**\n * essgrid Editor Element\n */\n\nvar EssGrid = function (_Component) {\n _inherits(EssGrid, _Component);\n\n function EssGrid() {\n _classCallCheck(this, EssGrid);\n\n var _this = _possibleConstructorReturn(this, (EssGrid.__proto__ || Object.getPrototypeOf(EssGrid)).apply(this, arguments));\n\n var _this$props$attribute = _this.props.attributes,\n text = _this$props$attribute.text,\n gridTitle = _this$props$attribute.gridTitle;\n\n _this.state = {\n text: text,\n gridTitle: gridTitle\n };\n window.essgrid_react = {};\n return _this;\n }\n\n _createClass(EssGrid, [{\n key: 'render',\n value: function render() {\n var _this2 = this;\n\n var _props = this.props,\n _props$attributes = _props.attributes,\n text = _props$attributes.text,\n gridTitle = _props$attributes.gridTitle,\n setAttributes = _props.setAttributes;\n\n\n window.essgrid_react = this;\n\n var openDialog = function openDialog() {\n var data = false;\n essgrid_react = _this2;\n ESG.SC.openBlockSettings({ editor: 'gutenberg' });\n };\n\n var openEdit = function openEdit() {\n window.essgrid_react = _this2;\n\n var shortcode = _this2.state.text;\n var attributes = {};\n\n shortcode.match(/[\\w-]+=\".+?\"/g).forEach(function (attribute) {\n attribute = attribute.match(/([\\w-]+)=\"(.+?)\"/);\n attributes[attribute[1]] = attribute[2];\n });\n\n if (typeof attributes.alias === \"undefined\") return false;\n\n self.location.href = \"admin.php?page=essential-grid&view=grid-create&alias=\" + attributes.alias;\n };\n\n return wp.element.createElement(\n 'div',\n { className: 'essgrid_block' },\n wp.element.createElement(\n 'span',\n null,\n this.state.gridTitle,\n '\\xA0'\n ),\n wp.element.createElement(TextControl, {\n className: 'grid_slug',\n value: this.state.text,\n onChange: function onChange(text) {\n return setAttributes({ text: text });\n }\n }),\n wp.element.createElement(Button, {\n isDefault: true,\n onClick: openEdit,\n className: 'grid_edit_button editor_icon dashicons dashicons-edit'\n }),\n wp.element.createElement(\n Button,\n {\n isDefault: true,\n onClick: openDialog,\n className: 'grid_edit_button'\n },\n __('Select Grid', 'essgrid')\n )\n );\n }\n }]);\n\n return EssGrid;\n}(Component);\n\n/**\n * Register block\n */\n/* unused harmony default export */ var _unused_webpack_default_export = (registerBlockType('themepunch/essgrid', {\n title: __('Essential Grid', 'essgrid'),\n description: __('Add your Essential Grid.', 'essgrid'),\n category: 'common',\n icon: {\n src: 'screenoptions',\n background: '#c90000',\n color: 'white'\n },\n keywords: [__('image', 'essgrid'), __('gallery', 'essgrid'), __('grid', 'essgrid')],\n attributes: {\n text: {\n selector: '.essgrid',\n type: 'string',\n source: 'text'\n },\n gridTitle: {\n selector: '.essgrid',\n type: 'string',\n source: 'attribute',\n attribute: 'data-gridtitle'\n },\n alias: {\n type: 'string'\n }\n },\n edit: function edit(props) {\n var setAttributes = props.setAttributes;\n\n return wp.element.createElement(\n 'div',\n null,\n wp.element.createElement(EssGrid, Object.assign({ setAttributes: setAttributes }, props))\n );\n },\n save: function save(props) {\n var _props$attributes2 = props.attributes,\n text = _props$attributes2.text,\n gridTitle = _props$attributes2.gridTitle;\n\n return wp.element.createElement(\n 'div',\n { className: 'essgrid', 'data-gridtitle': gridTitle },\n text\n );\n }\n}));//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMS5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL3NyYy9lc3NncmlkL2luZGV4LmpzPzYwYmQiXSwic291cmNlc0NvbnRlbnQiOlsidmFyIF9jcmVhdGVDbGFzcyA9IGZ1bmN0aW9uICgpIHsgZnVuY3Rpb24gZGVmaW5lUHJvcGVydGllcyh0YXJnZXQsIHByb3BzKSB7IGZvciA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BO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///1\n"); /***/ }), /* 2 */ /*!********************************!*\ !*** ./src/wpgallery/index.js ***! \********************************/ /*! dynamic exports provided */ /***/ (function(module, exports) { eval("// import assign from 'lodash.assign';\n\nvar createHigherOrderComponent = wp.compose.createHigherOrderComponent;\nvar Fragment = wp.element.Fragment;\nvar _wp$components = wp.components,\n PanelBody = _wp$components.PanelBody,\n SelectControl = _wp$components.SelectControl,\n ToggleControl = _wp$components.ToggleControl,\n TextControl = _wp$components.TextControl;\nvar addFilter = wp.hooks.addFilter;\nvar __ = wp.i18n.__;\nvar _wp$blockEditor = wp.blockEditor,\n InspectorControls = _wp$blockEditor.InspectorControls,\n DimensionControl = _wp$blockEditor.DimensionControl;\n// Enable slider control on the following blocks\n\nvar EssGridGalleryAddOnBlocks = ['core/gallery'];\n\n/**\n * Add slider control attribute to block.\n *\n * @param {object} settings Current block settings.\n * @param {string} name Name of block.\n *\n * @returns {object} Modified block settings.\n */\nvar EssGridGalleryAddOnAddControl = function EssGridGalleryAddOnAddControl(settings, name) {\n\t// Do nothing if it's another block than our defined ones.\n\t// Or Default Grid is not set.\n\tif (!EssGridGalleryAddOnBlocks.includes(name)) {\n\t\treturn settings;\n\t}\n\n\tsettings.attributes = jQuery.extend(true, settings.attributes, {\n\t\tgrid: {\n\t\t\ttype: 'string',\n\t\t\tdefault: EssGridOptions.defGrid\n\t\t},\n\t\tcustomsettings: {\n\t\t\ttype: 'boolean',\n\t\t\tdefault: false\n\t\t},\n\t\tentryskin: {\n\t\t\ttpye: 'string'\n\t\t},\n\t\tlayoutsizing: {\n\t\t\ttpye: 'string'\n\t\t},\n\t\tgridlayout: {\n\t\t\ttpye: 'string'\n\t\t},\n\t\ttinyspacings: {\n\t\t\ttpye: 'string',\n\t\t\tdefault: '5'\n\t\t},\n\t\trowsunlimited: {\n\t\t\ttype: 'string',\n\t\t\tdefault: 'on'\n\t\t},\n\t\ttinyrows: {\n\t\t\ttype: 'string',\n\t\t\tdefault: 3\n\t\t},\n\t\tgridanimation: {\n\t\t\ttype: 'string'\n\t\t},\n\t\tusespinner: {\n\t\t\ttype: 'string'\n\t\t}\n\n\t});\n\n\treturn settings;\n};\n\naddFilter('blocks.registerBlockType', 'essgrid-gallery-addon-gutenberg-extension/attribute/grid', EssGridGalleryAddOnAddControl);\n\n/**\n * Add Slider Option to Block\n */\nvar EssGridGalleryAddOn = createHigherOrderComponent(function (BlockEdit) {\n\treturn function (props) {\n\t\t// Do nothing if it's another block than our defined ones.\n\t\t// Or do nothing when EssGrid Default Grid Option is not set\n\t\tif (!EssGridGalleryAddOnBlocks.includes(props.name) || EssGridOptions.defGrid == \"off\" || EssGridOptions.defGrid == \"\" || !EssGridOptions.defGrid) {\n\n\t\t\treturn wp.element.createElement(BlockEdit, props);\n\t\t}\n\t\tvar MySnackbarNotice = function MySnackbarNotice() {\n\t\t\treturn wp.element.createElement(\n\t\t\t\tSnackbar,\n\t\t\t\tnull,\n\t\t\t\t'Post published successfully.'\n\t\t\t);\n\t\t};\n\n\t\tvar _props$attributes = props.attributes,\n\t\t grid = _props$attributes.grid,\n\t\t entryskin = _props$attributes.entryskin,\n\t\t customsettings = _props$attributes.customsettings,\n\t\t layoutsizing = _props$attributes.layoutsizing,\n\t\t gridlayout = _props$attributes.gridlayout,\n\t\t tinyspacings = _props$attributes.tinyspacings,\n\t\t rowsunlimited = _props$attributes.rowsunlimited,\n\t\t tinyrows = _props$attributes.tinyrows,\n\t\t gridanimation = _props$attributes.gridanimation,\n\t\t usespinner = _props$attributes.usespinner;\n\n\t\t// add essgrid-gallery-addon-alias prefix class name\n\n\t\tif (grid) {\n\t\t\tprops.attributes.className = 'essgrid-gallery-' + grid;\n\t\t}\n\n\t\treturn wp.element.createElement(\n\t\t\tFragment,\n\t\t\tnull,\n\t\t\twp.element.createElement(BlockEdit, props),\n\t\t\twp.element.createElement(\n\t\t\t\tInspectorControls,\n\t\t\t\tnull,\n\t\t\t\twp.element.createElement(\n\t\t\t\t\tPanelBody,\n\t\t\t\t\t{\n\t\t\t\t\t\ttitle: 'Essential Grid',\n\t\t\t\t\t\tinitialOpen: grid\n\t\t\t\t\t},\n\t\t\t\t\twp.element.createElement(SelectControl, {\n\t\t\t\t\t\tlabel: __('Select Grid'),\n\t\t\t\t\t\tvalue: grid,\n\t\t\t\t\t\toptions: EssGridOptions.arrGrids,\n\t\t\t\t\t\tonChange: function onChange(grid) {\n\t\t\t\t\t\t\tprops.setAttributes({\n\t\t\t\t\t\t\t\tgrid: grid\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\t}),\n\t\t\t\t\tgrid && wp.element.createElement(ToggleControl, {\n\t\t\t\t\t\tlabel: __(\"Custom Settings\"),\n\t\t\t\t\t\tchecked: customsettings,\n\t\t\t\t\t\tonChange: function onChange(customsettings) {\n\t\t\t\t\t\t\tprops.setAttributes({\n\t\t\t\t\t\t\t\tcustomsettings: customsettings\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\t}),\n\t\t\t\t\tgrid && customsettings && [wp.element.createElement(SelectControl, {\n\t\t\t\t\t\tlabel: __('Grid Skin'),\n\t\t\t\t\t\tvalue: entryskin,\n\t\t\t\t\t\toptions: EssGridOptions.arrSkins,\n\t\t\t\t\t\tonChange: function onChange(entryskin) {\n\t\t\t\t\t\t\tprops.setAttributes({\n\t\t\t\t\t\t\t\tentryskin: entryskin\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\t}), wp.element.createElement(SelectControl, {\n\t\t\t\t\t\tlabel: __('Layout'),\n\t\t\t\t\t\tvalue: layoutsizing,\n\t\t\t\t\t\toptions: [{ label: __('Boxed'), value: 'boxed' }, { label: __('Fullwidth'), value: 'fullwidth' }],\n\t\t\t\t\t\tonChange: function onChange(layoutsizing) {\n\t\t\t\t\t\t\tprops.setAttributes({\n\t\t\t\t\t\t\t\tlayoutsizing: layoutsizing\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\t}), wp.element.createElement(SelectControl, {\n\t\t\t\t\t\tlabel: 'Grid Layout',\n\t\t\t\t\t\tvalue: gridlayout,\n\t\t\t\t\t\toptions: [{ value: 'even', label: __('Even') }, { value: 'masonry', label: __('Masonry') }, { value: 'cobbles', label: __('Cobbles') }],\n\t\t\t\t\t\tonChange: function onChange(gridlayout) {\n\t\t\t\t\t\t\tprops.setAttributes({\n\t\t\t\t\t\t\t\tgridlayout: gridlayout\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\t}), wp.element.createElement(TextControl, {\n\t\t\t\t\t\tlabel: __(\"Item Spacing (px)\"),\n\t\t\t\t\t\tvalue: tinyspacings,\n\t\t\t\t\t\ttype: 'number',\n\t\t\t\t\t\tonChange: function onChange(tinyspacings) {\n\t\t\t\t\t\t\tprops.setAttributes({\n\t\t\t\t\t\t\t\ttinyspacings: tinyspacings\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\t}), wp.element.createElement(SelectControl, {\n\t\t\t\t\t\tlabel: __('Pagination'),\n\t\t\t\t\t\tvalue: rowsunlimited,\n\t\t\t\t\t\toptions: [{ value: 'on', label: __('Disable') }, { value: 'off', label: __('Enable') }],\n\t\t\t\t\t\tonChange: function onChange(rowsunlimited) {\n\t\t\t\t\t\t\tprops.setAttributes({\n\t\t\t\t\t\t\t\trowsunlimited: rowsunlimited\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\t}), props.attributes.rowsunlimited == 'off' && wp.element.createElement(TextControl, {\n\t\t\t\t\t\tlabel: __(\"Rows per Page\"),\n\t\t\t\t\t\tvalue: tinyrows,\n\t\t\t\t\t\ttype: 'number',\n\t\t\t\t\t\tonChange: function onChange(tinyrows) {\n\t\t\t\t\t\t\tprops.setAttributes({\n\t\t\t\t\t\t\t\ttinyrows: tinyrows\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\t}), wp.element.createElement(SelectControl, {\n\t\t\t\t\t\tlabel: __('Filter & Page Animation'),\n\t\t\t\t\t\tvalue: gridanimation,\n\t\t\t\t\t\toptions: [{ value: 'fade', label: __('Fade') }, { value: 'horizontal-slide', label: __('Horizontal Slide') }, { value: 'vertical-slide', label: __('Vertical Slide') }],\n\t\t\t\t\t\tonChange: function onChange(gridanimation) {\n\t\t\t\t\t\t\tprops.setAttributes({\n\t\t\t\t\t\t\t\tgridanimation: gridanimation\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\t}), wp.element.createElement(SelectControl, {\n\t\t\t\t\t\tlabel: __('Choose Spinner'),\n\t\t\t\t\t\tvalue: usespinner,\n\t\t\t\t\t\toptions: [{ value: '-1', label: __('Off') }, { value: '0', label: '0' }, { value: '1', label: '1' }, { value: '2', label: '2' }, { value: '3', label: '3' }, { value: '4', label: '4' }, { value: '5', label: '5' }],\n\t\t\t\t\t\tonChange: function onChange(usespinner) {\n\t\t\t\t\t\t\tprops.setAttributes({\n\t\t\t\t\t\t\t\tusespinner: usespinner\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\t})]\n\t\t\t\t)\n\t\t\t)\n\t\t);\n\t};\n}, 'EssGridGalleryAddOn');\n\naddFilter('editor.BlockEdit', 'essgrid-gallery-addon-gutenberg-extension/with-grid-control', EssGridGalleryAddOn);\n\n/**\n * Assign alias to block class name\n *\n * @param {object} saveElementProps Props of save element.\n * @param {Object} blockType Block type information.\n * @param {Object} attributes Attributes of block.\n *\n * @returns {object} Modified props of save element.\n */\nvar addEssGridExtraProps = function addEssGridExtraProps(saveElementProps, blockType, attributes) {\n\t// Do nothing if it's another block than our defined ones.\n\tif (!EssGridGalleryAddOnBlocks.includes(blockType.name)) {\n\t\treturn saveElementProps;\n\t}\n\n\t//jQuery.extend(true, saveElementProps, { slider: { 'alias': attributes.slider } } );\n\treturn saveElementProps;\n};\n\naddFilter('blocks.getSaveContent.extraProps', 'essgrid-gallery-addon-gutenberg-extension/get-save-content/extra-props', addEssGridExtraProps);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMi5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL3NyYy93cGdhbGxlcnkvaW5kZXguanM/ZGM3ZiJdLCJzb3VyY2VzQ29udGVudCI6WyIvLyBpbXBvcnQgYXNzaWduIGZyb20gJ2xvZGFzaC5hc3NpZ24nO1xuXG52YXIgY3JlYXRlSGlnaGVyT3JkZXJDb21wb25lbnQgPSB3cC5jb21wb3NlLmNyZWF0ZUhpZ2hlck9yZGVyQ29tcG9uZW50O1xudmFyIEZyYWdtZW50ID0gd3AuZWxlbWVudC5GcmFnbWVudDtcbnZhciBfd3AkY29tcG9uZW50cyA9IHdwLmNvbXBvbmVudHMsXG4gICAgUGFuZWxCb2R5ID0gX3dwJGNvbXBvbmVudHMuUGFuZWxCb2R5LFxuICAgIFNlbGVjdENvbnRyb2wgPSBfd3AkY29tcG9uZW50cy5TZWxlY3RDb250cm9sLFxuICAgIFRvZ2dsZUNvbnRyb2wgPSBfd3AkY29tcG9uZW50cy5Ub2dnbGVDb250cm9sLFxuICAgIFRleHRDb250cm9sID0gX3dwJGNvbXBvbmVudHMuVGV4dENvbnRyb2w7XG52Y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0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///2\n"); /***/ }), /* 3 */ /*!*********************************!*\ !*** ./src/essgrid/editor.scss ***! \*********************************/ /*! dynamic exports provided */ /***/ (function(module, exports) { eval("// removed by extract-text-webpack-plugin//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL3NyYy9lc3NncmlkL2VkaXRvci5zY3NzPzhlZWUiXSwic291cmNlc0NvbnRlbnQiOlsiLy8gcmVtb3ZlZCBieSBleHRyYWN0LXRleHQtd2VicGFjay1wbHVnaW5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL3NyYy9lc3NncmlkL2VkaXRvci5zY3NzXG4vLyBtb2R1bGUgaWQgPSAzXG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUEiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///3\n"); /***/ }) /******/ ]);
Limpar mapa do rastreador Atualizar mapa do rastreador
# | URL | Status do rastreador | Operação |
---|
= Encontrado no cache
= Não encontrado no cache
= Lista de bloqueio por não ser armazenável em cache
= Lista de bloqueio
Ap\u00f3s abertura de notas para participantes, resultados devem ser divulgados para os consumidores em novembro<\/em><\/p>\n\n\n\n Terminou nesta segunda-feira (1\/8) o prazo para as 133 empresas frigor\u00edficas e 69 varejistas localizadas na Amaz\u00f4nia Legal responderem ao question\u00e1rio que avalia o Grau de Controle sobre seus fornecedores em rela\u00e7\u00e3o ao desmatamento. Entre os meses de agosto e setembro, a equipe t\u00e9cnica vai avaliar, analisar e organizar os dados das respostas recebidas, conforme previsto na Metodologia 2023<\/a>. No m\u00eas de setembro, as empresas participantes v\u00e3o receber um feedback com suas notas e, at\u00e9 outubro, devem autorizar a divulga\u00e7\u00e3o dos resultados, que se tornar\u00e3o p\u00fablicos em novembro.<\/p>\n\n\n\n Este ano, o indicador vai avaliar as empresas varejistas de duas formas: pelo Grau de Controle da cadeia e pelo Grau de Transpar\u00eancia P\u00fablica. A primeira depende das respostas das empresas, a segunda j\u00e1 est\u00e1 sendo feita com base em dados p\u00fablicos dispon\u00edveis nos sites. As notas ser\u00e3o apresentadas de maneira independente no mesmo relat\u00f3rio. Assim, a nota de Grau de Controle n\u00e3o impactar\u00e1 o resultado obtido no Grau de Transpar\u00eancia, ou vice-versa. <\/p>\n\n\n\n J\u00e1 as empresas frigor\u00edficas ser\u00e3o avaliadas por tr\u00eas indicadores: al\u00e9m do Grau de Controle da Cadeia e do Grau de Transpar\u00eancia P\u00fablica, tamb\u00e9m ser\u00e1 considerado o Grau de Exposi\u00e7\u00e3o ao Risco de Desmatamento. Trata-se de uma metodologia desenvolvida pelo Instituto do Homem e Meio Ambiente da Amaz\u00f4nia (Imazon) que, baseada em informa\u00e7\u00f5es sobre o local onde o gado \u00e9 adquirido, exist\u00eancia de vias terrestres ou fluviais, dist\u00e2ncia da fazenda, entre outros, mede o grau de exposi\u00e7\u00e3o ao desmatamento de cada frigor\u00edfico da regi\u00e3o.<\/p>\n\n\n\n Foto: depositphotos<\/em><\/p>\n","protected":false},"excerpt":{"rendered":" Ap\u00f3s abertura de notas para participantes, resultados devem ser divulgados para os consumidores em novembro<\/p>\n","protected":false},"author":990003,"featured_media":5777,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,23],"tags":[],"class_list":["post-5776","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","category-home-destaque-2"],"yoast_head":"\n