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C,GAAA,EAAC4C,IAAAA,UAAE,wDAEtB,GAAA7C,EAAAC,GAAA,EAAC+C,KAAAA,CAAAA,YAIP,GAAAhD,EAAAC,GAAA,EAACwC,OAAAA,CAAKC,OAAO,SAAST,UAAU,0BAC9B,GAAAjC,EAAAC,GAAA,EAAC0C,SAAAA,UAAO,eAQZ,GAAA3C,EAAAC,GAAA,EAACgD,EAAAA,EAAOA,CAAAA,CAAAA,MAEV,GAAAjD,EAAAC,GAAA,EAACiD,EAAAA,gBAAgBA,CAAAA,CAACC,MAAM,mBAG9B","sources":["webpack://_N_E/?c055","webpack://_N_E/./src/components/apollo.wrapper.tsx","webpack://_N_E/./src/app/layout.tsx","webpack://_N_E/./src/app/globals.css","webpack://_N_E/"],"sourcesContent":["import(/* webpackMode: \"eager\" */ \"/codebuild/output/src2573998257/src/faculdademetropolitana/src/app/layout.tsx\")","'use client'\n\nimport { ApolloLink, HttpLink } from '@apollo/client'\nimport {\n ApolloNextAppProvider,\n NextSSRApolloClient,\n NextSSRInMemoryCache,\n SSRMultipartLink,\n} from '@apollo/experimental-nextjs-app-support/ssr'\nimport { PropsWithChildren } from 'react'\n\nfunction makeClient() {\n const httpLink = new HttpLink({\n uri: 'http://strapi.faculdademetropolitana.edu.br/graphql',\n })\n\n return new NextSSRApolloClient({\n cache: new NextSSRInMemoryCache(),\n link:\n typeof window === 'undefined'\n ? ApolloLink.from([\n // In a SSR environment, if you use multipart features like\n // @defer, you need to decide how to handle these.\n // This strips all interfaces with a `@defer` directive from your queries.\n new SSRMultipartLink({\n stripDefer: true,\n }),\n httpLink,\n ])\n : httpLink,\n })\n}\n\nexport default function ApolloWrapper({ children }: PropsWithChildren) {\n return (\n \n {children}\n \n )\n}\n","'use client'\n\nimport './globals.css'\n\nimport { GoogleTagManager } from '@next/third-parties/google'\nimport moment from 'moment'\nimport { Open_Sans } from 'next/font/google'\nimport Link from 'next/link'\nimport Script from 'next/script'\nimport { ReactNode, useEffect } from 'react'\nimport { Toaster } from 'react-hot-toast'\n\nimport ApolloWrapper from '@/components/apollo.wrapper'\n\nconst open = Open_Sans({ subsets: ['latin'] })\n\nexport default function RootLayout({ children }: { children: ReactNode }) {\n useEffect(() => {\n const now = moment()\n const end = moment().add(7, 'days')\n\n const data = window.localStorage.getItem('visitante_premiado')\n\n if (data === null || now > moment(JSON.parse(data))) {\n window.localStorage.setItem('visitante_premiado', JSON.stringify(end))\n let item: any = document.getElementById('modal_visitante_premiado')\n item!.showModal()\n }\n }, [])\n\n return (\n \n \n \n \n \n \n \n {children}\n \n
\n
\n
\n \n
\n

\n Visitante Premiado - Bolsa Desconto\n

\n
\n
\n

\n Parabéns! Você Ganhou 1 Bolsa Desconto para iniciar sua\n Graduação ou Pós-graduação EAD na Faculdade Metropolitana - Nota\n Máxima no MEC!\n

\n
\n \n Quero Bolsa para Graduação EAD\n \n
\n \n Quero Bolsa para Pós-Graduação EAD\n \n
\n \n Quero Bolsa para Graduação Presencial - Administração\n \n
\n
\n
\n
\n
\n \n
\n
\n {/* */}\n \n \n \n \n )\n}\n","// extracted by mini-css-extract-plugin"],"names":["Promise","resolve","then","__webpack_require__","bind","makeClient","httpLink","HttpLink","uri","NextSSRApolloClient","cache","NextSSRInMemoryCache","link","ApolloWrapper","param","children","jsx_runtime","jsx","ApolloNextAppProvider","RootLayout","useEffect","now","moment","end","add","data","window","localStorage","getItem","JSON","parse","setItem","stringify","item","getElementById","showModal","jsxs","html","lang","head","rel","type","href","sizes","meta","name","content","Script","src","className","strategy","body","concat","open","dialog","id","div","form","method","button","p","b","Link","target","br","Toaster","GoogleTagManager","gtmId"],"sourceRoot":""}