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A,CAAAZ,EAAA","sources":["webpack://_N_E/?971d","webpack://_N_E/./node_modules/next/dist/shared/lib/image-external.js","webpack://_N_E/./node_modules/next/dist/shared/lib/lazy-dynamic/dynamic-no-ssr.js","webpack://_N_E/./src/components/FormPosts.tsx","webpack://_N_E/./src/components/GalleryPosts.tsx","webpack://_N_E/./node_modules/next/dist/compiled/react-experimental/cjs/react-jsx-runtime.production.min.js","webpack://_N_E/./node_modules/next/dist/compiled/react-experimental/jsx-runtime.js","webpack://_N_E/./node_modules/next/image.js","webpack://_N_E/./node_modules/next/navigation.js","webpack://_N_E/"],"sourcesContent":["import(/* webpackMode: \"eager\" */ \"/codebuild/output/src2573998257/src/faculdademetropolitana/node_modules/next/dist/client/image-component.js\");\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src2573998257/src/faculdademetropolitana/node_modules/next/dist/client/link.js\");\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src2573998257/src/faculdademetropolitana/node_modules/next/dist/shared/lib/lazy-dynamic/dynamic-no-ssr.js\");\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src2573998257/src/faculdademetropolitana/src/components/FormPosts.tsx\");\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src2573998257/src/faculdademetropolitana/src/components/GalleryPosts.tsx\")","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n0 && (module.exports = {\n unstable_getImgProps: null,\n default: null\n});\nfunction _export(target, all) {\n for(var name in all)Object.defineProperty(target, name, {\n enumerable: true,\n get: all[name]\n });\n}\n_export(exports, {\n unstable_getImgProps: function() {\n return unstable_getImgProps;\n },\n default: function() {\n return _default;\n }\n});\nconst _interop_require_default = require(\"@swc/helpers/_/_interop_require_default\");\nconst _getimgprops = require(\"./get-img-props\");\nconst _warnonce = require(\"./utils/warn-once\");\nconst _imagecomponent = require(\"../../client/image-component\");\nconst _imageloader = /*#__PURE__*/ _interop_require_default._(require(\"next/dist/shared/lib/image-loader\"));\nconst unstable_getImgProps = (imgProps)=>{\n (0, _warnonce.warnOnce)(\"Warning: unstable_getImgProps() is experimental and may change or be removed at any time. Use at your own risk.\");\n const { props } = (0, _getimgprops.getImgProps)(imgProps, {\n defaultLoader: _imageloader.default,\n // This is replaced by webpack define plugin\n imgConf: process.env.__NEXT_IMAGE_OPTS\n });\n for (const [key, value] of Object.entries(props)){\n if (value === undefined) {\n delete props[key];\n }\n }\n return {\n props\n };\n};\nconst _default = _imagecomponent.Image;\n\n//# sourceMappingURL=image-external.js.map","\"use client\";\n\n\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n0 && (module.exports = {\n suspense: null,\n NoSSR: null\n});\nfunction _export(target, all) {\n for(var name in all)Object.defineProperty(target, name, {\n enumerable: true,\n get: all[name]\n });\n}\n_export(exports, {\n suspense: function() {\n return suspense;\n },\n NoSSR: function() {\n return NoSSR;\n }\n});\nconst _nossrerror = require(\"./no-ssr-error\");\nfunction suspense() {\n const error = new Error(_nossrerror.NEXT_DYNAMIC_NO_SSR_CODE);\n error.digest = _nossrerror.NEXT_DYNAMIC_NO_SSR_CODE;\n throw error;\n}\nfunction NoSSR(param) {\n let { children } = param;\n if (typeof window === \"undefined\") {\n suspense();\n }\n return children;\n}\n\n//# sourceMappingURL=dynamic-no-ssr.js.map","'use client'\nimport { useRouter } from 'next/navigation'\nimport React, { useState } from 'react'\n\nexport default function FormPosts() {\n const [query, setQuery] = useState('')\n const router = useRouter()\n\n const handleSubmit = (e: React.FormEvent) => {\n e.preventDefault()\n router.push('/todas-noticias?search=' + query)\n }\n\n return (\n <>\n
\n

\n pesquisar\n

\n
\n setQuery(e.target.value)}\n value={query}\n />\n \n \n \n \n \n
\n
\n \n )\n}\n","'use client'\n\nimport Image from 'next/image'\nimport React, { useState } from 'react'\n\nexport default function GalleryPosts({ listImage }: any) {\n const [indexCurrent, setIndexCurrent] = useState(0)\n const [currentImage, setCurrentImage] = useState('')\n const isOpen = currentImage != ''\n\n function handleClickOpenImage(index: number) {\n setIndexCurrent(index)\n setCurrentImage(listImage[index].attributes.url)\n }\n\n function handleCloseLightBox() {\n setCurrentImage('')\n }\n\n function handleNavigate(direction: 'next' | 'previous') {\n let index = direction === 'next' ? indexCurrent + 1 : indexCurrent - 1\n\n if (index < 0) {\n index = listImage.length - 1\n }\n\n if (index >= listImage.length) {\n index = 0\n }\n\n setIndexCurrent(index)\n setCurrentImage(listImage[index].attributes.url)\n }\n\n return (\n <>\n {listImage &&\n listImage.map((img: any, index: number) => (\n
\n handleClickOpenImage(index)}\n />\n
\n ))}\n\n {isOpen && (\n
\n \n \n \n handleNavigate('previous')}\n >\n \n \n {currentImage && (\n <>\n \n
\n handleNavigate('previous')}\n >\n \n \n handleNavigate('next')}\n >\n \n \n
\n \n )}\n handleNavigate('next')}\n >\n \n \n
\n )}\n \n )\n}\n","/**\n * @license React\n * react-jsx-runtime.production.min.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';var f=require(\"next/dist/compiled/react-experimental\"),k=Symbol.for(\"react.element\"),l=Symbol.for(\"react.fragment\"),m=Object.prototype.hasOwnProperty,n=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};\nfunction q(c,a,g){var b,d={},e=null,h=null;void 0!==g&&(e=\"\"+g);void 0!==a.key&&(e=\"\"+a.key);void 0!==a.ref&&(h=a.ref);for(b in a)m.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return{$$typeof:k,type:c,key:e,ref:h,props:d,_owner:n.current}}exports.Fragment=l;exports.jsx=q;exports.jsxs=q;\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.min.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n","module.exports = require('./dist/shared/lib/image-external')\n","module.exports = require('./dist/client/components/navigation')\n"],"names":["Promise","resolve","then","__webpack_require__","t","bind","Object","value","_export","target","all","name","defineProperty","enumerable","get","exports","unstable_getImgProps","default","_default","_interop_require_default","require","_getimgprops","_warnonce","_imagecomponent","_imageloader","_","warnOnce","props","getImgProps","imgProps","defaultLoader","imgConf","process","key","entries","undefined","Image","suspense","NoSSR","_nossrerror","error","NEXT_DYNAMIC_NO_SSR_CODE","digest","param","children","FormPosts","query","setQuery","useState","router","useRouter","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","jsx","Fragment","jsxs","form","onSubmit","e","preventDefault","push","h2","className","div","input","type","placeholder","onChange","button","title","svg","aria-hidden","xmlns","fill","viewBox","path","stroke","strokeLinecap","strokeLinejoin","strokeWidth","d","GalleryPosts","listImage","indexCurrent","setIndexCurrent","currentImage","setCurrentImage","handleNavigate","direction","index","length","attributes","url","map","img","src","alt","width","height","onClick","isOpen","f","k","Symbol","for","l","m","prototype","hasOwnProperty","n","__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED","ReactCurrentOwner","p","ref","__self","__source","q","c","a","g","b","h","call","defaultProps","$$typeof","_owner","current","module"],"sourceRoot":""}