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G,KChDvF/D,EAAoBkE,QAAK/D,ECGzB,IAAIgE,EAAsBnE,EAAoBU,OAAEP,EAAW,CAAC,IAAI,MAAM,IAAOH,EAAoB,QACjGmE,EAAsBnE,EAAoBU,EAAEyD,E","sources":["webpack://humanportal/webpack/runtime/chunk loaded","webpack://humanportal/webpack/runtime/create fake namespace object","webpack://humanportal/./app/src/js/home/course/index.jsx","webpack://humanportal/./app/src/js/home/index.jsx","webpack://humanportal/webpack/bootstrap","webpack://humanportal/webpack/runtime/compat get default export","webpack://humanportal/webpack/runtime/define property getters","webpack://humanportal/webpack/runtime/global","webpack://humanportal/webpack/runtime/hasOwnProperty shorthand","webpack://humanportal/webpack/runtime/make namespace object","webpack://humanportal/webpack/runtime/node module decorator","webpack://humanportal/webpack/runtime/runtimeId","webpack://humanportal/webpack/runtime/jsonp chunk loading","webpack://humanportal/webpack/runtime/nonce","webpack://humanportal/webpack/startup"],"sourcesContent":["var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","var getProto = Object.getPrototypeOf ? (obj) => (Object.getPrototypeOf(obj)) : (obj) => (obj.__proto__);\nvar leafPrototypes;\n// create a fake namespace object\n// mode & 1: value is a module id, require it\n// mode & 2: merge all properties of value into the ns\n// mode & 4: return value when already ns object\n// mode & 16: return value when it's Promise-like\n// mode & 8|1: behave like require\n__webpack_require__.t = function(value, mode) {\n\tif(mode & 1) value = this(value);\n\tif(mode & 8) return value;\n\tif(typeof value === 'object' && value) {\n\t\tif((mode & 4) && value.__esModule) return value;\n\t\tif((mode & 16) && typeof value.then === 'function') return value;\n\t}\n\tvar ns = Object.create(null);\n\t__webpack_require__.r(ns);\n\tvar def = {};\n\tleafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];\n\tfor(var current = mode & 2 && value; typeof current == 'object' && !~leafPrototypes.indexOf(current); current = getProto(current)) {\n\t\tObject.getOwnPropertyNames(current).forEach((key) => (def[key] = () => (value[key])));\n\t}\n\tdef['default'] = () => (value);\n\t__webpack_require__.d(ns, def);\n\treturn ns;\n};","import React, { Component, useState, useEffect } from \"react\";\nimport { SimpleApp } from \"components/app\";\nimport Paginate from \"components/paginate\";\nimport { DatePicker, Search } from \"components/common\";\n\nconst getCustomClass = () => {\n switch (hp.store.numberOfColumnToShow) {\n case 1:\n return \"col-sm-12\";\n case 2:\n return \"col-sm-12 col-md-6\";\n case 3:\n return \"col-sm-12 col-md-6 col-lg-4\";\n case 6:\n return \"col-sm-12 col-md-6 col-lg-2\";\n case 12:\n return \"col-sm-12 col-md-6 col-lg-2\";\n default:\n return \"col-sm-12 col-md-6 col-lg-3\";\n }\n};\n\nconst CourseCard = ({ action }) => {\n let badges = [];\n if (action.badge) {\n badges.push(
{action.badge}
);\n }\n\n if (action.available || action.available === 0) {\n badges.push(\n action.available <= 0 ? (\n
{__(\"sites_soldout\")}
\n ) : (\n
\n {__(action.available == 1 ? \"sites_subscription_avaliable\" : \"sites_subscriptions_avaliable\", {\n available: action.available,\n })}\n
\n )\n );\n }\n\n return (\n
e.currentTarget.classList.toggle(\"flipped\")}>\n
\n {/* Frente do card */}\n
\n
{badges}
\n\n
\n {action.name}\n
\n
\n
\n

{action.coursetype_description}

\n

{action.name}

\n
\n
\n\n {/* Verso do card */}\n
\n
\n
\n {action.start && action.pub_date == 1 && (\n

\n \n Início: {action.start}\n

\n )}\n {action.end && action.pub_date == 1 && (\n

\n \n Fim: {action.end}\n

\n )}\n {action.location && (\n

\n \n Local: {action.location}\n

\n )}\n {action.courseaction_ref && (\n

\n \n Ref.: {action.courseaction_ref}\n

\n )}\n {action.duration_effect && (\n

\n \n Duração: {action.duration_effect}\n

\n )}\n {action.coursetype_description && (\n

\n \n Tipo: {action.coursetype_description}\n

\n )}\n {action.area && (\n

\n \n Área: {action.area}\n

\n )}\n \n
\n\n
\n \n Saber mais\n \n {hp.store.can_show_social_buttons && (\n
\n \n \n \n\n \n \n \n\n \n \n \n
\n )}\n
\n
\n
\n
\n
\n );\n};\n\nconst SearchContainer = ({ searchParams, selectedFilters, onSearch, active }) => {\n const [formValues, setFormValues] = useState(selectedFilters);\n\n const handleInputChange = (e) => {\n const { name, value } = e.target;\n handleFilterValues(value, name);\n };\n\n const handleDatePicker = (value, field) => {\n handleFilterValues(value, field);\n };\n\n const handleSearch = (value) => {\n handleFilterValues(value, \"keywords\");\n };\n\n const handleFilterValues = (value, field) => {\n const updatedFormValues = { ...formValues, [field]: value };\n setFormValues(updatedFormValues);\n onSearch(updatedFormValues);\n };\n\n return (\n
\n
\n
\n
\n
\n
\n \n
\n
\n handleDatePicker(value, \"evt_start\")}\n />\n
\n
\n handleDatePicker(value, \"evt_end\")}\n />\n
\n
\n\n
\n
\n \n \n {Object.entries(searchParams.carea).map(([key, value]) => (\n \n ))}\n \n
\n
\n \n \n {Object.entries(searchParams.ctype).map(([key, value]) => (\n \n ))}\n \n
\n
\n \n \n {Object.entries(searchParams.location).map(([key, value]) => (\n \n ))}\n \n
\n
\n
\n
\n
\n
\n );\n};\n\nclass CourseListManager extends Component {\n constructor(props) {\n super(props);\n this.state = {\n actions: {\n data: null,\n meta: {},\n },\n searchParams: {\n carea: null,\n ctype: null,\n location: null,\n },\n selectedFilters: {},\n currentPage: 1,\n isFilterVisible: false,\n };\n }\n\n componentDidMount() {\n this.loadData(1, true);\n }\n\n loadData(page = false, initialOnly = false) {\n const { selectedFilters } = this.state;\n const currentPage = page || this.state.currentPage;\n\n http.get(\"/homes/index.json\", { page: currentPage, ...selectedFilters }, (response, success) => {\n if (success && response.actions) {\n if (initialOnly) {\n const searchParams = {\n carea: response.carea,\n ctype: response.ctype,\n location: response.location,\n };\n this.setState({ searchParams });\n }\n\n this.setState({ actions: response.actions, currentPage: page });\n } else {\n this.setState({ actions: [] });\n }\n });\n }\n\n handleSearch = (selectedFilters) => {\n this.setState({ selectedFilters }, () => {\n this.loadData();\n });\n };\n\n toggleFilters = () => {\n this.setState({ isFilterVisible: !this.state.isFilterVisible, selectedFilters: {} }, (e) => {\n if (!this.state.isFilterVisible) {\n this.loadData();\n }\n });\n };\n\n render() {\n const { actions, searchParams, selectedFilters, isFilterVisible } = this.state;\n if (actions.data === null) {\n return
A carregar cursos...
;\n }\n\n const customClass = getCustomClass();\n\n return (\n \n
\n
\n
\n

{__(\"sites_course_catalog\")}

\n
\n
\n \n
\n
\n \n
\n
\n }\n nextLabel={}\n classNameEl={`col-12 ${customClass}`}\n paginationContainer={(content) => <>{content}}\n onPageChange={page => this.loadData(page.selected + 1)}\n renderItem={(item, i) => }\n >\n
\n
\n
\n
\n );\n }\n}\n\nexport default () => {\n return (\n \n \n \n );\n};\n","import { startup } from 'components/app'\nimport CourseList from './course/index'\n\nstartup({\n\tindex: CourseList\n})\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = (module) => {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","__webpack_require__.j = 962;","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t962: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkhumanportal\"] = self[\"webpackChunkhumanportal\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","__webpack_require__.nc = undefined;","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [179,121], () => (__webpack_require__(5770)))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["deferred","leafPrototypes","getProto","CourseCard","action","badges","badge","push","_jsx","className","badge_color","children","available","__","hp","store","course_card_image_top","onClick","e","currentTarget","classList","toggle","_jsxs","src","image","alt","name","coursetype_description","start","pub_date","end","location","courseaction_ref","duration_effect","area","href","link","can_show_social_buttons","target","facebook","linkedin","email","SearchContainer","searchParams","selectedFilters","onSearch","active","formValues","setFormValues","useState","handleInputChange","value","handleFilterValues","handleDatePicker","field","updatedFormValues","_objectSpread","id","Search","doSearch","DatePicker","model","onChange","area_code","Object","entries","carea","map","key","course_type","ctype","local_code","CourseListManager","Component","constructor","props","super","_defineProperty","this","setState","loadData","isFilterVisible","state","actions","data","meta","currentPage","componentDidMount","page","initialOnly","http","get","response","success","render","customClass","getCustomClass","numberOfColumnToShow","SimpleApp","toggleFilters","_Fragment","handleSearch","Paginate","items","itemCount","item_count","itemsPerPage","item_per_page","forcePage","previousLabel","nextLabel","classNameEl","paginationContainer","content","onPageChange","selected","renderItem","item","i","startup","index","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","loaded","__webpack_modules__","call","m","O","result","chunkIds","fn","priority","notFulfilled","Infinity","length","fulfilled","j","keys","every","splice","r","n","getter","__esModule","d","a","getPrototypeOf","obj","t","mode","then","ns","create","def","current","indexOf","getOwnPropertyNames","forEach","definition","o","defineProperty","enumerable","g","globalThis","Function","window","prop","prototype","hasOwnProperty","Symbol","toStringTag","nmd","paths","installedChunks","chunkId","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","some","chunkLoadingGlobal","self","bind","nc","__webpack_exports__"],"sourceRoot":""}