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,EAAW,CAAC3M,KAAK,MAAKZ,SAAA,EACrBJ,EAAAA,EAAAA,KAAC6N,EAAAA,GAAO,CAAC/M,MAAO,EAAEV,SAAC,gCAGnBJ,EAAAA,EAAAA,KAACwO,EAAAA,GAAS,CAAApO,SAAC,+FACXJ,EAAAA,EAAAA,KAACyO,EAAAA,GAAoB,CAAC5K,OAAQqI,EAAQhI,KAAK7C,eAMrD,CAWA,MARA,WACE,IAAQqC,GAAOgL,EAAAA,EAAAA,aAAPhL,GACFiB,GAAajF,EAAAA,EAAAA,IAAaiP,EAAqBjL,IAErD,OAAKiB,EAAWT,MACTlE,EAAAA,EAAAA,KAACiM,EAAc,CAACC,QAASvH,KADH3E,EAAAA,EAAAA,KAAC4O,EAAAA,EAAQ,GAExC,C","sources":["components/breadcrumb/index.js","components/cards/resource-info/index.js","components/competency-box/index.js","components/metadata.js","data/atoms/breadcrumbs.js","data/atoms/concepts.js","data/configs/Concepts.js","data/repositories/concepts.js","hooks/useScrollIntoView.js","utils/BaseAtomFamilyFactory.js","utils/useBreadcrumbs.js","data/atoms/competency.js","views/competency-page/index.js"],"sourcesContent":["import { Space } from \"antd\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { useAtomValue } from \"jotai/utils\";\nimport breadcrumbsAtom from \"../../data/atoms/breadcrumbs\";\nimport { faChevronLeft, faHome } from '@fortawesome/free-solid-svg-icons';\nimport Link from \"../link\";\n\nimport './index.css';\n\nfunction Breadcrumb({ style, theme }) {\n const breadcrumbs = useAtomValue(breadcrumbsAtom);\n\n return (\n } style={style}>\n \n Home\n {\n breadcrumbs.length > 1 &&\n breadcrumbs.slice(0, -1).map(crumb =>\n < Link key={crumb.level} href={crumb.to}>\n {crumb.label}\n \n )\n }\n \n );\n}\n\nexport default Breadcrumb;\n","import { Space } from \"antd\";\nimport Link from \"../../link\";\n\n\nconst ResourceCard = ({ type, title, meta, badges, coverImage, slug, searchIndex, hideCover = false, defaultColor = \"#ffd600\", typeColors = {} }) => {\n const color = typeColors[type.code] ?? defaultColor;\n meta = Array.isArray(meta) ? meta : [meta];\n return (\n \n {hideCover !== true &&\n \n }\n \n {type.name}\n \n
\n
{title}
\n
\n {meta.filter(c => !!c).map((c, index) =>
{c}
)}\n {badges &&\n
\n {badges.map((badge, index) => {badge})}\n
\n }\n
\n
\n \n )\n}\n\nexport default ResourceCard;\n","import Link from '../link';\nimport Image from '../image';\n\nimport { Col, Row } from 'antd';\nimport { useAtomValue } from 'jotai/utils';\n\nimport './index.css';\nimport conceptsAtomFamily from '../../data/atoms/concepts';\n\nfunction CopmpetencyBox({ id, label, color, image, style, onClick, href, active, ...restProps }) {\n\n return (\n <>\n
\n
\n {`${label}\n
\n \n {label}\n \n
\n \n )\n}\n\nfunction CopmpetenciesSection({ active }) {\n const competencies = useAtomValue(conceptsAtomFamily(\"digital-literacy-competency\"));\n\n return (\n \n {\n competencies.data.map(competency => (\n \n \n \n ))\n }\n \n )\n}\n\nexport { CopmpetenciesSection, CopmpetencyBox };\nexport default CopmpetenciesSection;\n","import { Helmet } from \"react-helmet\";\n\n\nconst Metadata = ({ title, desctiption, canonicalURL, jsonld }) => (\n \n {title && {title}}\n {desctiption && }\n {canonicalURL && }\n {\n jsonld &&\n \n }\n \n\n);\n\nexport default Metadata;\n","import { atom } from 'jotai';\n\nconst RESET = Symbol(\"Reset signal for breadcumbs atom\");\nconst BACK = Symbol(\"Go back signal for breadcumbs atom\");\nconst shadowAtom = atom([]);\nconst breadcrumbsAtom = atom(\n (get) => get(shadowAtom),\n (get, set, value) => {\n if (value === RESET)\n set(shadowAtom, []);\n if (value === BACK)\n set(shadowAtom, prev => prev.slice(0, -1));\n\n if (!value.level || !value.to || !value.label)\n throw new Error(\"Define valid data for Breadcrumbs\");\n\n const newState = get(shadowAtom).filter(item => item.level < value.level);\n\n set(shadowAtom, [...newState, value]);\n }\n);\n\nexport { breadcrumbsAtom, RESET, BACK };\nexport default breadcrumbsAtom;","import BaseAtomFamilyFactory from '../../utils/BaseAtomFamilyFactory';\nimport repository from '../repositories/concepts.js';\n\nconst operations = {\n __name: \"concepts\",\n read: async (action, scheme) => {\n return [await repository.read(scheme)];\n },\n}\n\nconst conceptsAtomFamily = new BaseAtomFamilyFactory(operations);\nexport default conceptsAtomFamily;\n","const actions = {\n getAll: (scheme, params = {}) => {\n\n const filters = {\n ...params.filters,\n code: scheme,\n }\n\n return {\n method: \"get\",\n url: \"/concept-schemes\",\n params: {\n filters,\n populate: {\n concepts: {\n populate: {\n image: true,\n }\n }\n },\n }\n };\n },\n getByCode: (scheme, code, params = {}) => {\n\n const filters = {\n ...params.filters,\n scheme: { code: scheme },\n code: code,\n }\n\n return {\n method: \"get\",\n url: \"/concepts\",\n params: {\n filters,\n populate: {\n concepts: {\n populate: {\n scheme: true,\n image: true,\n }\n }\n },\n }\n };\n },\n get: (id) => {\n return {\n method: \"get\",\n url: `/concepts/${id}`,\n params: {\n populate: {\n scheme: true,\n image: true,\n },\n }\n };\n }\n};\n\nexport default actions;\n","import apiRequest from '../../utils/bccampusApiRequest.js';\nimport concepts from '../configs/Concepts.js';\n\nconst read = async (scheme, key) => {\n if (key) {\n const parsedKey = Number(key);\n\n if (isNaN(parsedKey)) return await getByCode(scheme, key);\n\n return await getById(key);\n }\n else {\n return await getAll(scheme);\n }\n}\n\nconst getById = async (id) => {\n const result = await apiRequest(concepts.get(id));\n return result.data;\n}\n\nconst getAll = async (scheme) => {\n const result = await apiRequest(concepts.getAll(scheme));\n return result.data[0]?.concepts ?? [];\n}\n\nconst getByCode = async (scheme, code) => {\n const result = await apiRequest(concepts.getByCode(scheme, code, {\n pagination: { pageSize: 1 }\n }));\n\n return result.data[0] ?? null;\n}\n\nconst readByParentSlug = async (slug) => {\n const result = await apiRequest(concepts.getAll({\n filters: { broader: { code: slug } }\n }));\n return result.data;\n}\n\nconst conceptsRepository = { read, getById, getByCode, readByParentSlug };\n\nexport { read }\nexport default conceptsRepository\n","import { useEffect } from \"react\";\nimport { useLocation } from \"react-router\";\nimport { canFocusable, getFocusableChilds } from \"../utils/query-focusables\";\n\nfunction useScrollIntoView() {\n const location = useLocation();\n\n useEffect(() => {\n let intervalExecCount = 0;\n const anchor = (location.hash) ? location.hash.replace(\"#\", \"\") : 'content-top';\n\n const intervalId = setInterval(() => {\n const targetEl = document.getElementById(anchor);\n intervalExecCount++;\n\n if (targetEl) {\n targetEl.scrollIntoView({ behavior: \"smooth\", block: \"start\" });\n\n if (canFocusable(targetEl)) {\n targetEl.focus({ preventScroll: true });\n }\n else {\n const focusables = getFocusableChilds(targetEl);\n focusables[0]?.focus({ preventScroll: true });\n }\n\n clearInterval(intervalId);\n } else if (intervalExecCount > 50) {\n clearInterval(intervalId);\n }\n }, 100);\n }, [location]);\n}\n\nexport default useScrollIntoView;\n","import { atomFamily } from 'jotai/utils';\nimport BaseAtomFactory from './BaseAtomFactory';\n\nconst BaseAtomFamilyFactory = function (operations, options) {\n const baseAtomFamily = atomFamily((key) => new BaseAtomFactory(operations, key, options));\n return baseAtomFamily;\n};\n\nexport default BaseAtomFamilyFactory;","import { useUpdateAtom } from 'jotai/utils';\nimport { useEffect } from 'react';\nimport { useLocation } from 'react-router-dom';\n\nimport breadcrumbsAtom from \"../data/atoms/breadcrumbs\";\n\n\nfunction useBreadcrumbs(item) {\n const location = useLocation();\n const setBreacrumbs = useUpdateAtom(breadcrumbsAtom);\n useEffect(\n () => {\n if (!item.to) item.to = location.pathname + location.search + location.hash;\n setBreacrumbs(item);\n },\n // eslint-disable-next-line\n [location]\n );\n}\n\nexport default useBreadcrumbs;","import BaseAtomFamilyFactory from '../../utils/BaseAtomFamilyFactory';\nimport repository from '../repositories/concepts.js';\n\nconst operations = {\n __name: \"competency\",\n read: async (action, id) => {\n return [await repository.read(\"digital-literacy-competency\", id)];\n },\n}\n\nconst competencyAtomFamily = new BaseAtomFamilyFactory(operations);\nexport default competencyAtomFamily;\n","import { useAtomValue } from 'jotai/utils';\n\nimport Metadata from '../../components/metadata';\nimport PageSection from '../../components/page-section';\n\nimport Breadcrumb from '../../components/breadcrumb';\nimport { Heading, Paragraph } from '../../components/typography';\nimport useBreadcrumbs from '../../utils/useBreadcrumbs';\nimport NotFound from '../not-found';\n\nimport searchClient from '../../utils/MeiliSearch';\nimport { useEffect, useState } from 'react';\nimport { Col, Row, Space } from 'antd';\nimport Image from '../../components/image';\nimport CopmpetenciesSection from '../../components/competency-box';\nimport useScrollIntoView from '../../hooks/useScrollIntoView';\nimport ResourceCard from '../../components/cards/resource-info';\nimport { useParams } from \"react-router-dom\";\nimport competencyAtomFamily from '../../data/atoms/competency';\n\nfunction CompetencyPage({ subject, path }) {\n const [resources, setResources] = useState({ learn: [], teach: [] });\n\n useBreadcrumbs({ level: 2, label: subject.data.name });\n\n const baseURL = process.env.REACT_APP_URL || window.location.origin;\n\n useScrollIntoView();\n\n useEffect(() => {\n searchClient.search(\"\",\n [\n `concepts.digital-literacy-competency = '${subject.data.name}'`,\n ],\n {\n limit: 100,\n }\n ).then(value => {\n const results = { learn: [], teach: [] };\n\n value.results.hits.forEach(hit => {\n if (hit.concepts[\"educational-use\"]?.includes(\"Professional Support\")) results.learn.push(hit);\n if (hit.concepts[\"educational-use\"]?.includes(\"Instruction\")) results.teach.push(hit);\n });\n\n setResources(results);\n });\n },\n // eslint-disable-next-line\n [subject]\n );\n\n return (\n
\n \n
\n \n \n \n {subject.data.name}\n \n \n {subject.data.image &&\n \n }\n {subject.data.description &&\n
\n }\n \n \n
\n
\n {resources.learn.length > 0 &&\n \n \n Learn this competency\n \n \n {resources.learn.map(resource =>\n \n \n \n )}\n \n \n }\n {resources.teach.length > 0 &&\n \n \n Teach this competency\n \n \n {resources.teach.map(resource =>\n \n \n \n )}\n \n \n }\n\n \n \n Explore other competencies\n \n Download and customize any of our peer-reviewed and highly-curated modules and resources.\n \n \n\n
\n
\n );\n}\n\n\nfunction Competency() {\n const { id } = useParams();\n const competency = useAtomValue(competencyAtomFamily(id));\n\n if (!competency.data) return \n return \n}\n\nexport default Competency;\n"],"names":["_ref","style","breadcrumbs","theme","useAtomValue","breadcrumbsAtom","_jsxs","Space","className","split","_jsx","FontAwesomeIcon","icon","faChevronLeft","children","Link","href","faHome","length","slice","map","crumb","to","label","level","_typeColors$type$code","type","title","meta","badges","coverImage","slug","_ref$hideCover","searchIndex","hideCover","_ref$defaultColor","defaultColor","_ref$typeColors","typeColors","color","code","Array","isArray","secondary","concat","position","width","height","backgroundColor","border","boxShadow","borderRadius","backgroundImage","backgroundSize","backgroundOrigin","backgroundRepeat","fontWeight","padding","name","paddingTop","filter","c","index","size","wrap","badge","fontSize","CopmpetencyBox","id","image","onClick","active","_objectWithoutProperties","_excluded","_Fragment","Image","data","alt","borderColor","cursor","_ref2","competencies","conceptsAtomFamily","Row","gutter","competency","_competency$meta","Col","xs","md","xl","desctiption","canonicalURL","jsonld","Helmet","content","rel","JSON","stringify","RESET","Symbol","BACK","shadowAtom","atom","get","set","value","prev","Error","newState","item","_toConsumableArray","operations","__name","read","_read","_asyncToGenerator","_regeneratorRuntime","mark","_callee","action","scheme","_context","next","repository","t0","sent","abrupt","stop","_x","_x2","apply","arguments","BaseAtomFamilyFactory","actions","getAll","params","undefined","method","url","filters","_objectSpread","populate","concepts","getByCode","key","parsedKey","Number","isNaN","getById","_callee2","result","_context2","apiRequest","_x3","_ref3","_callee3","_result$data$0$concep","_result$data$","_context3","_x4","_ref4","_callee4","_result$data$2","_context4","pagination","pageSize","_x5","_x6","readByParentSlug","_ref5","_callee5","_context5","broader","_x7","location","useLocation","useEffect","intervalExecCount","anchor","hash","replace","intervalId","setInterval","targetEl","document","getElementById","_focusables$","scrollIntoView","behavior","block","canFocusable","focus","preventScroll","getFocusableChilds","clearInterval","options","atomFamily","BaseAtomFactory","setBreacrumbs","useUpdateAtom","pathname","search","CompetencyPage","subject","path","_useState","useState","learn","teach","_useState2","_slicedToArray","resources","setResources","useBreadcrumbs","useScrollIntoView","searchClient","limit","then","results","hits","forEach","hit","_hit$concepts$educati","_hit$concepts$educati2","includes","push","Metadata","process","PageSection","Breadcrumb","Heading","align","description","dangerouslySetInnerHTML","__html","resource","_resource$meta","ResourceCard","excerpt","_resource$image","_resource$meta2","Paragraph","CopmpetenciesSection","useParams","competencyAtomFamily","NotFound"],"sourceRoot":""}