/******/ (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

Lista de sitemaps Saber mais

Total de sitemaps:
Encontrado no cache Não encontrado no cache Lista de bloqueio
# 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


Warning: Cannot modify header information - headers already sent by (output started at /home/u564475196/domains/radarverde.org.br/public_html/wp-content/plugins/head-footer-code/head-footer-code.php:1) in /home/u564475196/domains/radarverde.org.br/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home/u564475196/domains/radarverde.org.br/public_html/wp-content/plugins/head-footer-code/head-footer-code.php:1) in /home/u564475196/domains/radarverde.org.br/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home/u564475196/domains/radarverde.org.br/public_html/wp-content/plugins/head-footer-code/head-footer-code.php:1) in /home/u564475196/domains/radarverde.org.br/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home/u564475196/domains/radarverde.org.br/public_html/wp-content/plugins/head-footer-code/head-footer-code.php:1) in /home/u564475196/domains/radarverde.org.br/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home/u564475196/domains/radarverde.org.br/public_html/wp-content/plugins/head-footer-code/head-footer-code.php:1) in /home/u564475196/domains/radarverde.org.br/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home/u564475196/domains/radarverde.org.br/public_html/wp-content/plugins/head-footer-code/head-footer-code.php:1) in /home/u564475196/domains/radarverde.org.br/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home/u564475196/domains/radarverde.org.br/public_html/wp-content/plugins/head-footer-code/head-footer-code.php:1) in /home/u564475196/domains/radarverde.org.br/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home/u564475196/domains/radarverde.org.br/public_html/wp-content/plugins/head-footer-code/head-footer-code.php:1) in /home/u564475196/domains/radarverde.org.br/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1893
{"id":5156,"date":"2022-12-19T09:38:52","date_gmt":"2022-12-19T12:38:52","guid":{"rendered":"https:\/\/radarverde.org.br\/?p=5156"},"modified":"2022-12-19T09:40:05","modified_gmt":"2022-12-19T12:40:05","slug":"mpf-no-para-vai-obrigar-na-justica-que-frigorificos-rastreiem-suas-cadeias-de-suprimentos","status":"publish","type":"post","link":"https:\/\/radarverde.org.br\/mpf-no-para-vai-obrigar-na-justica-que-frigorificos-rastreiem-suas-cadeias-de-suprimentos\/","title":{"rendered":"MPF no Par\u00e1 vai obrigar na Justi\u00e7a que frigor\u00edficos rastreiem suas cadeias de suprimentos"},"content":{"rendered":"\n

Medida faz parte de novas a\u00e7\u00f5es a serem implementadas pelo Minist\u00e9rio P\u00fablico no \u00e2mbito do TAC da Carne. Grandes empresas, como JBS, ainda apresentam alto \u00edndice de inconformidade<\/em><\/p>\n\n\n\n

CRISTIANE PRIZIBISCZKI<\/a>\u00a0<\/strong><\/p>\n\n\n\n

O Minist\u00e9rio P\u00fablico Federal no Par\u00e1 informou nesta quinta-feira (15) que os frigor\u00edficos do estado que ainda n\u00e3o s\u00e3o signat\u00e1rios do acordo que pro\u00edbe a compra de gado de fazendas com desmatamento ilegal ser\u00e3o alvo de a\u00e7\u00e3o na Justi\u00e7a para que se responsabilizem pelos danos causados ao meio ambiente.<\/p>\n\n\n\n

A a\u00e7\u00e3o do MPF contra frigor\u00edficos n\u00e3o signat\u00e1rios faz parte de uma s\u00e9rie de novas medidas que ser\u00e3o adotadas pelo \u00f3rg\u00e3o no \u00e2mbito do Termo de Ajustamento de Conduta (TAC) da Carne, em vigor no estado desde 2009. O Par\u00e1 possui 49 frigor\u00edficos com volumes relevantes de venda, sendo que 13 deles ainda n\u00e3o assinaram o Termo.<\/p>\n\n\n\n

\"\"<\/a><\/figure>\n\n\n\n

No total, o estado contabilizou 3,5 milh\u00f5es de cabe\u00e7as de gado para abate e exporta\u00e7\u00e3o entre julho de 2019 e julho de 2020. Para avaliar se esta carne est\u00e1 livre de desmatamento, trabalho escravo ou n\u00e3o vem de \u00e1reas legalmente protegidas, o Minist\u00e9rio P\u00fablico no Par\u00e1 realizou o 4\u00ba ciclo de auditorias do TAC da Carne e encontrou que 94% dos frigor\u00edficos est\u00e3o em conformidade com as normas do acordo.<\/p>\n\n\n\n

O n\u00famero representa um avan\u00e7o em rela\u00e7\u00e3o \u00e0 auditoria realizada em 2020 \u2013 com resultados divulgados em 2021 \u2013, quando 90% das empresas estavam em conformidade.<\/p>\n\n\n\n

Neste ciclo de auditorias, o total de animais comercializados pelas empresas auditadas \u2013 por amostragem \u2013 representou 67% do volume do mercado no Par\u00e1, o que significa 2,3 milh\u00f5es de animais.<\/p>\n\n\n\n

Apesar do bom resultado, a auditoria cont\u00e9m algumas ressalvas: 11 empresas signat\u00e1rias com volume de carne relevante n\u00e3o apresentaram suas auditorias. De acordo com o MPF\/PA, an\u00e1lise preliminar realizada em conjunto com a Universidade Federal de Minas Gerais (UFMG) mostrou que se tais empresas fossem analisadas, a inconformidade entre elas seria de 33,5%. Tais n\u00fameros n\u00e3o entraram no resultado geral do 4\u00ba ciclo.<\/p>\n\n\n\n

As empresas que ainda n\u00e3o assinaram o acordo tamb\u00e9m representam um entrave na busca de toda a legalidade da cadeia paraense de carne. Somadas, elas s\u00e3o respons\u00e1veis por um volume de mais de 485 mil animais. Na auditoria autom\u00e1tica realizada pela UFMG, que tamb\u00e9m n\u00e3o entrou nos resultados do ciclo atual, 23,8% est\u00e3o inconformes.<\/p>\n\n\n\n

Dentre as n\u00e3o signat\u00e1rias do TAC da Carne no Par\u00e1 est\u00e1 a gigante Marfrig. Segundo o procurador Ricardo Negrini, a auditoria realizada pela empresa ainda est\u00e1 em curso, por isso os resultados n\u00e3o entraram nesta rodada.<\/p>\n\n\n\n

\u201cA empresa nunca tinha feito auditoria no Par\u00e1 do TAC do MPF, ela fazia por outro acordo, com outras regras. Mas agora ela est\u00e1 fazendo e, como o processo dela come\u00e7ou um pouco depois, ainda n\u00e3o terminou e n\u00e3o temos resultados para apresentar hoje, mas teremos mais um volume razo\u00e1vel que ser\u00e1 acrescentado\u201d, disse Negrini, durante apresenta\u00e7\u00e3o <\/a>dos resultados.<\/p>\n\n\n\n

Em outras ocasi\u00f5es, a Marfrig j\u00e1 se manifestou publicamente dizendo que n\u00e3o \u00e9 signat\u00e1ria do TAC no Par\u00e1 porque j\u00e1 teria assinado o TAC da pecu\u00e1ria em Mato Grosso, envolvendo toda a Amaz\u00f4nia Legal.<\/p>\n\n\n\n

A empresa se refere ao compromisso volunt\u00e1rio de zerar o desmatamento, chamado Compromisso P\u00fablico da Pecu\u00e1ria. Ele foi proposto pelo Greenpeace tamb\u00e9m em 2009 e assinado pela JBS, Marfrig e Minerva.<\/p>\n\n\n\n

JBS entre as piores<\/strong><\/p>\n\n\n\n

Por falar em JBS, pelo segundo ano consecutivo a empresa figurou entre as piores no ranking realizado pelo MPF. Segundo o Minist\u00e9rio P\u00fablico, 16,73% do gado comercializado pela empresa no Par\u00e1 \u00e9 proveniente de \u00e1rea com desmatamento ou cont\u00e9m outras ilegalidades. Isso representa um volume de 93.734 cabe\u00e7as de gado. Na auditoria do ciclo anterior, a inconformidade da empresa foi de 32%. <\/p>\n\n\n\n

Assim como no ano passado, a JBS manifestou discord\u00e2ncia quanto \u00e0 aplica\u00e7\u00e3o das regras do Minist\u00e9rio P\u00fablico e garantiu que o \u00edndice de irregularidades foi bem menor.<\/p>\n\n\n\n

A celeuma gira em torno de uma discuss\u00e3o t\u00e9cnica do TAC: o MPF usa dados de monitoramento de 2008 \u2013 considerando que o Termo de Ajustamento coloca como data de corte dia 1 de agosto de 2008. <\/p>\n\n\n\n

Os protocolos do Minist\u00e9rio, no entanto, falam em \u201cPRODES 2009\u201d (base de dados do INPE que \u00e9 utilizada nas auditorias) e \u00e9 nessa express\u00e3o que a empresa se baseia: ela justifica que n\u00e3o contou os dados de 2008 porque o termo fala em dados de 2009.<\/p>\n\n\n\n

\u201cO MPF n\u00e3o concorda com esta justificativa. O crit\u00e9rio do TAC sempre foi a data base de desmatamento, a partir de agosto de 2008, sem que a gente restrinja as bases que ser\u00e3o utilizadas. Cabe \u00e0 empresa, no momento de fazer a compra, verificar qual a data do desmatamento na fazenda [fornecedora]\u201d, diz Negrini.<\/p>\n\n\n\n

De qualquer forma, diz o procurador, a men\u00e7\u00e3o ao Prodes 2009 foi retirada do texto do compromisso. \u201cN\u00e3o \u00e9 nosso objetivo restringir qual base [de dados ser\u00e1 utilizada nas auditorias], o objetivo \u00e9 dizer a partir de qual per\u00edodo o desmatamento tem que ser bloqueado\u201d.<\/p>\n\n\n\n

O procurador afirma ainda que, mesmo que os dados de 2008 fossem retirados da an\u00e1lise, a empresa teria cerca de 9% de inconformidades. A nota de corte estabelecida pelo MPF nas auditorias deste ano \u00e9 7%. Empresas com mais do que essa quantidade de compras inconformes s\u00e3o consideradas irregulares.<\/p>\n\n\n\n

Al\u00e9m da JBS, outras tr\u00eas empresas amargaram as piores posi\u00e7\u00f5es no ranking de ilegalidades: Frigor\u00edfico Alian\u00e7a teve 47,3 % de inconformidade, Matadouro e Marchetaria Planalto, 21,7 %, e Frigor\u00edfico Altamira registrou 17,6% de compras inconformes.<\/p>\n\n\n\n

Apesar das porcentagens de irregularidades maiores do que a apresentada pela JBS, o volume de gado comercializado por elas \u00e9 bem menor: cerca de 31 mil cabe\u00e7as, considerando as tr\u00eas somadas.<\/p>\n\n\n\n

Juntas, estas quatro empresas comercializaram 124,6 mil cabe\u00e7as de gado de \u00e1reas com desmatamento ilegal, provenientes de \u00e1reas protegidas, como Unidades de Conserva\u00e7\u00e3o e Terras Ind\u00edgenas, ou com trabalho an\u00e1logo ao escravo.<\/p>\n\n\n\n

As auditorias do 4\u00ba Ciclo foram realizadas em 2021 e referem-se \u00e0s transa\u00e7\u00f5es feitas pelos frigor\u00edficos entre julho de 2019 e julho de 2020. As empresas auditoras foram Grant Thornton, GeoMaster e BDO.<\/p>\n\n\n\n

Novos avan\u00e7os <\/strong><\/p>\n\n\n\n

O TAC da Carne j\u00e1 tem 12 anos. Para especialistas no mercado da carne, o \u00edndice satisfat\u00f3rio seria 100% de cumprimento entre os frigor\u00edficos. Aplica\u00e7\u00e3o de multas a todas as compras irregulares e penas maiores para quem regrediu no \u00edndice seriam medidas mais efetivas de combate \u00e0s irregularidades, defendem.<\/p>\n\n\n\n

O MPF, no entanto, est\u00e1 implementando novas medidas no protocolo. Al\u00e9m do ajuizamento de a\u00e7\u00f5es contra empresas sem TAC, de forma a obrig\u00e1-las a aderir ao acordo e responsabiliza-las pelo dano causado ao meio ambiente, o Minist\u00e9rio P\u00fablico conta agora com um Comit\u00ea de Apoio ao TAC Par\u00e1, que oferece condi\u00e7\u00f5es de an\u00e1lise de dados antes inacess\u00edveis ao \u00f3rg\u00e3o.<\/p>\n\n\n\n

\u201c\u00c9 importante buscarmos mecanismos para trazer informa\u00e7\u00f5es n\u00e3o s\u00f3 com rela\u00e7\u00e3o aos frigor\u00edficos que est\u00e3o no TAC, mas todos do estado. Atualmente, o que acontece \u00e9 que aquele frigor\u00edfico que se esfor\u00e7a para aumentar a transpar\u00eancia, assinando o TAC e fazendo as auditorias, acaba tendo uma desvantagem em rela\u00e7\u00e3o aos que n\u00e3o fazem auditoria, o que causa uma assimetria de informa\u00e7\u00f5es e at\u00e9 uma concorr\u00eancia injusta. O objetivo \u00e9 trazer um ambiente de concorr\u00eancia justa e simetria de informa\u00e7\u00f5es\u201d, diz o pesquisador Raoni Raj\u00e3o, da UFMG.<\/p>\n\n\n\n

Ibama e Secretaria de Meio Ambiente do Par\u00e1 tamb\u00e9m far\u00e3o trabalho conjunto para fiscaliza\u00e7\u00e3o priorit\u00e1ria das empresas sem auditoria e as empresas varejistas do estado receber\u00e3o recomenda\u00e7\u00f5es do MPF para implementa\u00e7\u00e3o e fortalecimento das a\u00e7\u00f5es para gerenciamento de risco de desmatamento.<\/p>\n\n\n\n

Os fornecedores indiretos, o grande calcanhar de aquiles da cadeia da carne, tamb\u00e9m estar\u00e3o na mira do MPF. Eles ser\u00e3o alvo de auditorias autom\u00e1ticas por meio do programa Selo Verde. O Minist\u00e9rio P\u00fablico tamb\u00e9m se comprometeu a estabelecer um cronograma para inclus\u00e3o dos indiretos nos crit\u00e9rios de rastreamento.<\/p>\n\n\n\n

Esta reportagem foi, originalmente, publicada no O Eco, em 15 de dezembro de 2022.<\/a><\/p>\n\n\n\n

foto: depositphotos<\/p>\n","protected":false},"excerpt":{"rendered":"

Medida faz parte de novas a\u00e7\u00f5es a serem implementadas pelo Minist\u00e9rio P\u00fablico no \u00e2mbito do TAC da Carne. Grandes empresas, como JBS, ainda apresentam alto \u00edndice de inconformidade<\/p>\n","protected":false},"author":990003,"featured_media":5157,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,23],"tags":[],"class_list":["post-5156","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","category-home-destaque-2"],"yoast_head":"\nMPF no Par\u00e1 vai obrigar na Justi\u00e7a que frigor\u00edficos rastreiem suas cadeias de suprimentos - Radar Verde<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/radarverde.org.br\/mpf-no-para-vai-obrigar-na-justica-que-frigorificos-rastreiem-suas-cadeias-de-suprimentos\/\" \/>\n<meta property=\"og:locale\" content=\"pt_BR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"MPF no Par\u00e1 vai obrigar na Justi\u00e7a que frigor\u00edficos rastreiem suas cadeias de suprimentos - Radar Verde\" \/>\n<meta property=\"og:description\" content=\"Medida faz parte de novas a\u00e7\u00f5es a serem implementadas pelo Minist\u00e9rio P\u00fablico no \u00e2mbito do TAC da Carne. Grandes empresas, como JBS, ainda apresentam alto \u00edndice de inconformidade\" \/>\n<meta property=\"og:url\" content=\"https:\/\/radarverde.org.br\/mpf-no-para-vai-obrigar-na-justica-que-frigorificos-rastreiem-suas-cadeias-de-suprimentos\/\" \/>\n<meta property=\"og:site_name\" content=\"Radar Verde\" \/>\n<meta property=\"article:published_time\" content=\"2022-12-19T12:38:52+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-12-19T12:40:05+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/radarverde.org.br\/wp-content\/uploads\/2022\/12\/Depositphotos_363208410_L-1024x646.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"646\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Ang\u00e9lica Queiroz\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Escrito por\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ang\u00e9lica Queiroz\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. tempo de leitura\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/radarverde.org.br\/mpf-no-para-vai-obrigar-na-justica-que-frigorificos-rastreiem-suas-cadeias-de-suprimentos\/\",\"url\":\"https:\/\/radarverde.org.br\/mpf-no-para-vai-obrigar-na-justica-que-frigorificos-rastreiem-suas-cadeias-de-suprimentos\/\",\"name\":\"MPF no Par\u00e1 vai obrigar na Justi\u00e7a que frigor\u00edficos rastreiem suas cadeias de suprimentos - Radar Verde\",\"isPartOf\":{\"@id\":\"https:\/\/radarverde.org.br\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/radarverde.org.br\/mpf-no-para-vai-obrigar-na-justica-que-frigorificos-rastreiem-suas-cadeias-de-suprimentos\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/radarverde.org.br\/mpf-no-para-vai-obrigar-na-justica-que-frigorificos-rastreiem-suas-cadeias-de-suprimentos\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/radarverde.org.br\/wp-content\/uploads\/2022\/12\/Depositphotos_363208410_L.jpg\",\"datePublished\":\"2022-12-19T12:38:52+00:00\",\"dateModified\":\"2022-12-19T12:40:05+00:00\",\"author\":{\"@id\":\"https:\/\/radarverde.org.br\/#\/schema\/person\/34c4beeface91bcf631e9425095504fe\"},\"breadcrumb\":{\"@id\":\"https:\/\/radarverde.org.br\/mpf-no-para-vai-obrigar-na-justica-que-frigorificos-rastreiem-suas-cadeias-de-suprimentos\/#breadcrumb\"},\"inLanguage\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/radarverde.org.br\/mpf-no-para-vai-obrigar-na-justica-que-frigorificos-rastreiem-suas-cadeias-de-suprimentos\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\/\/radarverde.org.br\/mpf-no-para-vai-obrigar-na-justica-que-frigorificos-rastreiem-suas-cadeias-de-suprimentos\/#primaryimage\",\"url\":\"https:\/\/radarverde.org.br\/wp-content\/uploads\/2022\/12\/Depositphotos_363208410_L.jpg\",\"contentUrl\":\"https:\/\/radarverde.org.br\/wp-content\/uploads\/2022\/12\/Depositphotos_363208410_L.jpg\",\"width\":2000,\"height\":1261,\"caption\":\"itabela, bahia \/ brazil - october 19, 2010: Nellore heifers are seen on a farm in the municipality of itabela. *** Local Caption *** .\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/radarverde.org.br\/mpf-no-para-vai-obrigar-na-justica-que-frigorificos-rastreiem-suas-cadeias-de-suprimentos\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/radarverde.org.br\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"MPF no Par\u00e1 vai obrigar na Justi\u00e7a que frigor\u00edficos rastreiem suas cadeias de suprimentos\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/radarverde.org.br\/#website\",\"url\":\"https:\/\/radarverde.org.br\/\",\"name\":\"Radar Verde\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/radarverde.org.br\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"pt-BR\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/radarverde.org.br\/#\/schema\/person\/34c4beeface91bcf631e9425095504fe\",\"name\":\"Ang\u00e9lica Queiroz\",\"url\":\"https:\/\/radarverde.org.br\/author\/angelicaqueirozomundoquequeremos-com-br\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"MPF no Par\u00e1 vai obrigar na Justi\u00e7a que frigor\u00edficos rastreiem suas cadeias de suprimentos - Radar Verde","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/radarverde.org.br\/mpf-no-para-vai-obrigar-na-justica-que-frigorificos-rastreiem-suas-cadeias-de-suprimentos\/","og_locale":"pt_BR","og_type":"article","og_title":"MPF no Par\u00e1 vai obrigar na Justi\u00e7a que frigor\u00edficos rastreiem suas cadeias de suprimentos - Radar Verde","og_description":"Medida faz parte de novas a\u00e7\u00f5es a serem implementadas pelo Minist\u00e9rio P\u00fablico no \u00e2mbito do TAC da Carne. Grandes empresas, como JBS, ainda apresentam alto \u00edndice de inconformidade","og_url":"https:\/\/radarverde.org.br\/mpf-no-para-vai-obrigar-na-justica-que-frigorificos-rastreiem-suas-cadeias-de-suprimentos\/","og_site_name":"Radar Verde","article_published_time":"2022-12-19T12:38:52+00:00","article_modified_time":"2022-12-19T12:40:05+00:00","og_image":[{"width":1024,"height":646,"url":"https:\/\/radarverde.org.br\/wp-content\/uploads\/2022\/12\/Depositphotos_363208410_L-1024x646.jpg","type":"image\/jpeg"}],"author":"Ang\u00e9lica Queiroz","twitter_card":"summary_large_image","twitter_misc":{"Escrito por":"Ang\u00e9lica Queiroz","Est. tempo de leitura":"8 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/radarverde.org.br\/mpf-no-para-vai-obrigar-na-justica-que-frigorificos-rastreiem-suas-cadeias-de-suprimentos\/","url":"https:\/\/radarverde.org.br\/mpf-no-para-vai-obrigar-na-justica-que-frigorificos-rastreiem-suas-cadeias-de-suprimentos\/","name":"MPF no Par\u00e1 vai obrigar na Justi\u00e7a que frigor\u00edficos rastreiem suas cadeias de suprimentos - Radar Verde","isPartOf":{"@id":"https:\/\/radarverde.org.br\/#website"},"primaryImageOfPage":{"@id":"https:\/\/radarverde.org.br\/mpf-no-para-vai-obrigar-na-justica-que-frigorificos-rastreiem-suas-cadeias-de-suprimentos\/#primaryimage"},"image":{"@id":"https:\/\/radarverde.org.br\/mpf-no-para-vai-obrigar-na-justica-que-frigorificos-rastreiem-suas-cadeias-de-suprimentos\/#primaryimage"},"thumbnailUrl":"https:\/\/radarverde.org.br\/wp-content\/uploads\/2022\/12\/Depositphotos_363208410_L.jpg","datePublished":"2022-12-19T12:38:52+00:00","dateModified":"2022-12-19T12:40:05+00:00","author":{"@id":"https:\/\/radarverde.org.br\/#\/schema\/person\/34c4beeface91bcf631e9425095504fe"},"breadcrumb":{"@id":"https:\/\/radarverde.org.br\/mpf-no-para-vai-obrigar-na-justica-que-frigorificos-rastreiem-suas-cadeias-de-suprimentos\/#breadcrumb"},"inLanguage":"pt-BR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/radarverde.org.br\/mpf-no-para-vai-obrigar-na-justica-que-frigorificos-rastreiem-suas-cadeias-de-suprimentos\/"]}]},{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/radarverde.org.br\/mpf-no-para-vai-obrigar-na-justica-que-frigorificos-rastreiem-suas-cadeias-de-suprimentos\/#primaryimage","url":"https:\/\/radarverde.org.br\/wp-content\/uploads\/2022\/12\/Depositphotos_363208410_L.jpg","contentUrl":"https:\/\/radarverde.org.br\/wp-content\/uploads\/2022\/12\/Depositphotos_363208410_L.jpg","width":2000,"height":1261,"caption":"itabela, bahia \/ brazil - october 19, 2010: Nellore heifers are seen on a farm in the municipality of itabela. *** Local Caption *** ."},{"@type":"BreadcrumbList","@id":"https:\/\/radarverde.org.br\/mpf-no-para-vai-obrigar-na-justica-que-frigorificos-rastreiem-suas-cadeias-de-suprimentos\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/radarverde.org.br\/"},{"@type":"ListItem","position":2,"name":"MPF no Par\u00e1 vai obrigar na Justi\u00e7a que frigor\u00edficos rastreiem suas cadeias de suprimentos"}]},{"@type":"WebSite","@id":"https:\/\/radarverde.org.br\/#website","url":"https:\/\/radarverde.org.br\/","name":"Radar Verde","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/radarverde.org.br\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"pt-BR"},{"@type":"Person","@id":"https:\/\/radarverde.org.br\/#\/schema\/person\/34c4beeface91bcf631e9425095504fe","name":"Ang\u00e9lica Queiroz","url":"https:\/\/radarverde.org.br\/author\/angelicaqueirozomundoquequeremos-com-br\/"}]}},"_links":{"self":[{"href":"https:\/\/radarverde.org.br\/wp-json\/wp\/v2\/posts\/5156","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/radarverde.org.br\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/radarverde.org.br\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/radarverde.org.br\/wp-json\/wp\/v2\/users\/990003"}],"replies":[{"embeddable":true,"href":"https:\/\/radarverde.org.br\/wp-json\/wp\/v2\/comments?post=5156"}],"version-history":[{"count":2,"href":"https:\/\/radarverde.org.br\/wp-json\/wp\/v2\/posts\/5156\/revisions"}],"predecessor-version":[{"id":5159,"href":"https:\/\/radarverde.org.br\/wp-json\/wp\/v2\/posts\/5156\/revisions\/5159"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/radarverde.org.br\/wp-json\/wp\/v2\/media\/5157"}],"wp:attachment":[{"href":"https:\/\/radarverde.org.br\/wp-json\/wp\/v2\/media?parent=5156"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/radarverde.org.br\/wp-json\/wp\/v2\/categories?post=5156"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/radarverde.org.br\/wp-json\/wp\/v2\/tags?post=5156"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}