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AASA,IAAMrE,GAAkB,GACjCsE,MAAM7B,EAAAA,EAAAA,IAAQ,eAAgBvE,UAU/C,EEjfP,OATmBuG,IACjBxI,EAAAA,cAACyI,EAAAA,EAAM,CACLnH,MAAO,mBACPoH,YAAa,kBACbpJ,KAAM,UAENU,EAAAA,cAAC2I,GAAa,M","sources":["webpack://if-website/./node_modules/@contentful/rich-text-plain-text-renderer/dist/rich-text-plain-text-renderer.es5.js","webpack://if-website/./src/hooks/useWinnerFilters.js","webpack://if-website/./src/components/searchResultsRework/styles.module.scss","webpack://if-website/./src/components/searchResultsRework/components/storyItem/styles.module.scss","webpack://if-website/./src/components/searchResultsRework/components/storyItem/index.jsx","webpack://if-website/./src/components/searchResultsRework/components/winnerItem/styles.module.scss","webpack://if-website/./src/components/searchResultsRework/components/winnerItem/index.jsx","webpack://if-website/./src/components/searchResultsRework/components/spinner/index.jsx","webpack://if-website/./src/components/searchResultsRework/components/spinner/styles.module.scss","webpack://if-website/./src/hooks/useSearchResult.js","webpack://if-website/./src/components/searchResultsRework/index.jsx","webpack://if-website/./src/helpers/search.js","webpack://if-website/./src/pages/search/index.js"],"sourcesContent":["'use strict';\n\nObject.defineProperty(exports, '__esModule', {\n value: true\n});\nvar commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};\nfunction unwrapExports(x) {\n return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;\n}\nfunction createCommonjsModule(fn, module) {\n return module = {\n exports: {}\n }, fn(module, module.exports), module.exports;\n}\nvar blocks = createCommonjsModule(function (module, exports) {\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.BLOCKS = void 0;\n /**\n * Map of all Contentful block types. Blocks contain inline or block nodes.\n */\n var BLOCKS;\n (function (BLOCKS) {\n BLOCKS[\"DOCUMENT\"] = \"document\";\n BLOCKS[\"PARAGRAPH\"] = \"paragraph\";\n BLOCKS[\"HEADING_1\"] = \"heading-1\";\n BLOCKS[\"HEADING_2\"] = \"heading-2\";\n BLOCKS[\"HEADING_3\"] = \"heading-3\";\n BLOCKS[\"HEADING_4\"] = \"heading-4\";\n BLOCKS[\"HEADING_5\"] = \"heading-5\";\n BLOCKS[\"HEADING_6\"] = \"heading-6\";\n BLOCKS[\"OL_LIST\"] = \"ordered-list\";\n BLOCKS[\"UL_LIST\"] = \"unordered-list\";\n BLOCKS[\"LIST_ITEM\"] = \"list-item\";\n BLOCKS[\"HR\"] = \"hr\";\n BLOCKS[\"QUOTE\"] = \"blockquote\";\n BLOCKS[\"EMBEDDED_ENTRY\"] = \"embedded-entry-block\";\n BLOCKS[\"EMBEDDED_ASSET\"] = \"embedded-asset-block\";\n BLOCKS[\"TABLE\"] = \"table\";\n BLOCKS[\"TABLE_ROW\"] = \"table-row\";\n BLOCKS[\"TABLE_CELL\"] = \"table-cell\";\n BLOCKS[\"TABLE_HEADER_CELL\"] = \"table-header-cell\";\n })(BLOCKS = exports.BLOCKS || (exports.BLOCKS = {}));\n});\nunwrapExports(blocks);\nvar blocks_1 = blocks.BLOCKS;\nvar inlines = createCommonjsModule(function (module, exports) {\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.INLINES = void 0;\n /**\n * Map of all Contentful inline types. Inline contain inline or text nodes.\n */\n var INLINES;\n (function (INLINES) {\n INLINES[\"HYPERLINK\"] = \"hyperlink\";\n INLINES[\"ENTRY_HYPERLINK\"] = \"entry-hyperlink\";\n INLINES[\"ASSET_HYPERLINK\"] = \"asset-hyperlink\";\n INLINES[\"EMBEDDED_ENTRY\"] = \"embedded-entry-inline\";\n })(INLINES = exports.INLINES || (exports.INLINES = {}));\n});\nunwrapExports(inlines);\nvar inlines_1 = inlines.INLINES;\nvar marks = createCommonjsModule(function (module, exports) {\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n /**\n * Map of all Contentful marks.\n */\n var MARKS;\n (function (MARKS) {\n MARKS[\"BOLD\"] = \"bold\";\n MARKS[\"ITALIC\"] = \"italic\";\n MARKS[\"UNDERLINE\"] = \"underline\";\n MARKS[\"CODE\"] = \"code\";\n MARKS[\"SUPERSCRIPT\"] = \"superscript\";\n MARKS[\"SUBSCRIPT\"] = \"subscript\";\n })(MARKS || (MARKS = {}));\n exports.default = MARKS;\n});\nunwrapExports(marks);\nvar schemaConstraints = createCommonjsModule(function (module, exports) {\n var __spreadArray = commonjsGlobal && commonjsGlobal.__spreadArray || function (to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n };\n var __importDefault = commonjsGlobal && commonjsGlobal.__importDefault || function (mod) {\n return mod && mod.__esModule ? mod : {\n \"default\": mod\n };\n };\n var _a;\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.V1_MARKS = exports.V1_NODE_TYPES = exports.TEXT_CONTAINERS = exports.HEADINGS = exports.CONTAINERS = exports.VOID_BLOCKS = exports.TABLE_BLOCKS = exports.LIST_ITEM_BLOCKS = exports.TOP_LEVEL_BLOCKS = void 0;\n var marks_1 = __importDefault(marks);\n /**\n * Array of all top level block types.\n * Only these block types can be the direct children of the document.\n */\n exports.TOP_LEVEL_BLOCKS = [blocks.BLOCKS.PARAGRAPH, blocks.BLOCKS.HEADING_1, blocks.BLOCKS.HEADING_2, blocks.BLOCKS.HEADING_3, blocks.BLOCKS.HEADING_4, blocks.BLOCKS.HEADING_5, blocks.BLOCKS.HEADING_6, blocks.BLOCKS.OL_LIST, blocks.BLOCKS.UL_LIST, blocks.BLOCKS.HR, blocks.BLOCKS.QUOTE, blocks.BLOCKS.EMBEDDED_ENTRY, blocks.BLOCKS.EMBEDDED_ASSET, blocks.BLOCKS.TABLE];\n /**\n * Array of all allowed block types inside list items\n */\n exports.LIST_ITEM_BLOCKS = [blocks.BLOCKS.PARAGRAPH, blocks.BLOCKS.HEADING_1, blocks.BLOCKS.HEADING_2, blocks.BLOCKS.HEADING_3, blocks.BLOCKS.HEADING_4, blocks.BLOCKS.HEADING_5, blocks.BLOCKS.HEADING_6, blocks.BLOCKS.OL_LIST, blocks.BLOCKS.UL_LIST, blocks.BLOCKS.HR, blocks.BLOCKS.QUOTE, blocks.BLOCKS.EMBEDDED_ENTRY, blocks.BLOCKS.EMBEDDED_ASSET];\n exports.TABLE_BLOCKS = [blocks.BLOCKS.TABLE, blocks.BLOCKS.TABLE_ROW, blocks.BLOCKS.TABLE_CELL, blocks.BLOCKS.TABLE_HEADER_CELL];\n /**\n * Array of all void block types\n */\n exports.VOID_BLOCKS = [blocks.BLOCKS.HR, blocks.BLOCKS.EMBEDDED_ENTRY, blocks.BLOCKS.EMBEDDED_ASSET];\n /**\n * Dictionary of all container block types, and the set block types they accept as children.\n *\n * Note: This does not include `[BLOCKS.DOCUMENT]: TOP_LEVEL_BLOCKS`\n */\n exports.CONTAINERS = (_a = {}, _a[blocks.BLOCKS.OL_LIST] = [blocks.BLOCKS.LIST_ITEM], _a[blocks.BLOCKS.UL_LIST] = [blocks.BLOCKS.LIST_ITEM], _a[blocks.BLOCKS.LIST_ITEM] = exports.LIST_ITEM_BLOCKS, _a[blocks.BLOCKS.QUOTE] = [blocks.BLOCKS.PARAGRAPH], _a[blocks.BLOCKS.TABLE] = [blocks.BLOCKS.TABLE_ROW], _a[blocks.BLOCKS.TABLE_ROW] = [blocks.BLOCKS.TABLE_CELL, blocks.BLOCKS.TABLE_HEADER_CELL], _a[blocks.BLOCKS.TABLE_CELL] = [blocks.BLOCKS.PARAGRAPH], _a[blocks.BLOCKS.TABLE_HEADER_CELL] = [blocks.BLOCKS.PARAGRAPH], _a);\n /**\n * Array of all heading levels\n */\n exports.HEADINGS = [blocks.BLOCKS.HEADING_1, blocks.BLOCKS.HEADING_2, blocks.BLOCKS.HEADING_3, blocks.BLOCKS.HEADING_4, blocks.BLOCKS.HEADING_5, blocks.BLOCKS.HEADING_6];\n /**\n * Array of all block types that may contain text and inline nodes.\n */\n exports.TEXT_CONTAINERS = __spreadArray([blocks.BLOCKS.PARAGRAPH], exports.HEADINGS, true);\n /**\n * Node types before `tables` release.\n */\n exports.V1_NODE_TYPES = [blocks.BLOCKS.DOCUMENT, blocks.BLOCKS.PARAGRAPH, blocks.BLOCKS.HEADING_1, blocks.BLOCKS.HEADING_2, blocks.BLOCKS.HEADING_3, blocks.BLOCKS.HEADING_4, blocks.BLOCKS.HEADING_5, blocks.BLOCKS.HEADING_6, blocks.BLOCKS.OL_LIST, blocks.BLOCKS.UL_LIST, blocks.BLOCKS.LIST_ITEM, blocks.BLOCKS.HR, blocks.BLOCKS.QUOTE, blocks.BLOCKS.EMBEDDED_ENTRY, blocks.BLOCKS.EMBEDDED_ASSET, inlines.INLINES.HYPERLINK, inlines.INLINES.ENTRY_HYPERLINK, inlines.INLINES.ASSET_HYPERLINK, inlines.INLINES.EMBEDDED_ENTRY, 'text'];\n /**\n * Marks before `superscript` & `subscript` release.\n */\n exports.V1_MARKS = [marks_1.default.BOLD, marks_1.default.CODE, marks_1.default.ITALIC, marks_1.default.UNDERLINE];\n});\nunwrapExports(schemaConstraints);\nvar schemaConstraints_1 = schemaConstraints.V1_MARKS;\nvar schemaConstraints_2 = schemaConstraints.V1_NODE_TYPES;\nvar schemaConstraints_3 = schemaConstraints.TEXT_CONTAINERS;\nvar schemaConstraints_4 = schemaConstraints.HEADINGS;\nvar schemaConstraints_5 = schemaConstraints.CONTAINERS;\nvar schemaConstraints_6 = schemaConstraints.VOID_BLOCKS;\nvar schemaConstraints_7 = schemaConstraints.TABLE_BLOCKS;\nvar schemaConstraints_8 = schemaConstraints.LIST_ITEM_BLOCKS;\nvar schemaConstraints_9 = schemaConstraints.TOP_LEVEL_BLOCKS;\nvar types = createCommonjsModule(function (module, exports) {\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n});\nunwrapExports(types);\nvar nodeTypes = createCommonjsModule(function (module, exports) {\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n});\nunwrapExports(nodeTypes);\nvar emptyDocument = createCommonjsModule(function (module, exports) {\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n\n /**\n * A rich text document considered to be empty.\n * Any other document structure than this is not considered empty.\n */\n var EMPTY_DOCUMENT = {\n nodeType: blocks.BLOCKS.DOCUMENT,\n data: {},\n content: [{\n nodeType: blocks.BLOCKS.PARAGRAPH,\n data: {},\n content: [{\n nodeType: 'text',\n value: '',\n marks: [],\n data: {}\n }]\n }]\n };\n exports.default = EMPTY_DOCUMENT;\n});\nunwrapExports(emptyDocument);\nvar helpers = createCommonjsModule(function (module, exports) {\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.isText = exports.isBlock = exports.isInline = void 0;\n\n /**\n * Tiny replacement for Object.values(object).includes(key) to\n * avoid including CoreJS polyfills\n */\n function hasValue(obj, value) {\n for (var _i = 0, _a = Object.keys(obj); _i < _a.length; _i++) {\n var key = _a[_i];\n if (value === obj[key]) {\n return true;\n }\n }\n return false;\n }\n /**\n * Checks if the node is an instance of Inline.\n */\n function isInline(node) {\n return hasValue(inlines.INLINES, node.nodeType);\n }\n exports.isInline = isInline;\n /**\n * Checks if the node is an instance of Block.\n */\n function isBlock(node) {\n return hasValue(blocks.BLOCKS, node.nodeType);\n }\n exports.isBlock = isBlock;\n /**\n * Checks if the node is an instance of Text.\n */\n function isText(node) {\n return node.nodeType === 'text';\n }\n exports.isText = isText;\n});\nunwrapExports(helpers);\nvar helpers_1 = helpers.isText;\nvar helpers_2 = helpers.isBlock;\nvar helpers_3 = helpers.isInline;\nvar dist = createCommonjsModule(function (module, exports) {\n var __createBinding = commonjsGlobal && commonjsGlobal.__createBinding || (Object.create ? function (o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = {\n enumerable: true,\n get: function () {\n return m[k];\n }\n };\n }\n Object.defineProperty(o, k2, desc);\n } : function (o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n });\n var __setModuleDefault = commonjsGlobal && commonjsGlobal.__setModuleDefault || (Object.create ? function (o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n } : function (o, v) {\n o[\"default\"] = v;\n });\n var __exportStar = commonjsGlobal && commonjsGlobal.__exportStar || function (m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n };\n var __importStar = commonjsGlobal && commonjsGlobal.__importStar || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n };\n var __importDefault = commonjsGlobal && commonjsGlobal.__importDefault || function (mod) {\n return mod && mod.__esModule ? mod : {\n \"default\": mod\n };\n };\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.helpers = exports.EMPTY_DOCUMENT = exports.MARKS = exports.INLINES = exports.BLOCKS = void 0;\n Object.defineProperty(exports, \"BLOCKS\", {\n enumerable: true,\n get: function () {\n return blocks.BLOCKS;\n }\n });\n Object.defineProperty(exports, \"INLINES\", {\n enumerable: true,\n get: function () {\n return inlines.INLINES;\n }\n });\n Object.defineProperty(exports, \"MARKS\", {\n enumerable: true,\n get: function () {\n return __importDefault(marks).default;\n }\n });\n __exportStar(schemaConstraints, exports);\n __exportStar(types, exports);\n __exportStar(nodeTypes, exports);\n Object.defineProperty(exports, \"EMPTY_DOCUMENT\", {\n enumerable: true,\n get: function () {\n return __importDefault(emptyDocument).default;\n }\n });\n var helpers$1 = __importStar(helpers);\n exports.helpers = helpers$1;\n});\nunwrapExports(dist);\nvar dist_1 = dist.helpers;\nvar dist_2 = dist.EMPTY_DOCUMENT;\nvar dist_3 = dist.MARKS;\nvar dist_4 = dist.INLINES;\nvar dist_5 = dist.BLOCKS;\n\n/**\r\n * Returns the text value of a rich text document.\r\n *\r\n * NB: This can be applied to non text node of a structured text document,\r\n * hence the flexible typing.\r\n */\nfunction documentToPlainTextString(rootNode, blockDivisor) {\n if (blockDivisor === void 0) {\n blockDivisor = ' ';\n }\n if (!rootNode || !rootNode.content) {\n /**\r\n * Handles edge cases, such as when the value is not set in the CMA or the\r\n * field has not been properly validated, e.g. because of a user extension.\r\n * Note that we are nevertheless strictly type-casting `rootNode` as\r\n * Block | Inline. Valid rich text documents (and their branch block nodes)\r\n * should never lack a Node[] `content` property.\r\n */\n return '';\n }\n /**\r\n * Algorithm notes: We only want to apply spacing when a node is part of a\r\n * sequence. This is tricky because nodes can often be deeply nested within\r\n * non-semantic content arrays. For example, to get the text value of an\r\n * unordered list, we have to traverse like so:\r\n *\r\n * {\r\n * nodeType: BLOCKS.UL_LIST,\r\n * data: {},\r\n * content: [\r\n * {\r\n * nodeType: BLOCKS.LIST_ITEM,\r\n * data: {},\r\n * content: [{\r\n * nodeType: BLOCKS.PARAGRAPH,\r\n * data: {},\r\n * content: [\r\n * { nodeType: 'text', data: {}, value: 'List ', marks: [] },\r\n * { nodeType: 'text', data: {}, value: 'item', marks: [{ type: 'bold' }] }\r\n * ]\r\n * }]\r\n * },\r\n * {\r\n * nodeType: BLOCKS.LIST_ITEM,\r\n * data: {},\r\n * content: [{\r\n * nodeType: BLOCKS.PARAGRAPH,\r\n * data: {},\r\n * content: [\r\n * { nodeType: 'text', data: {}, value: 'Another list item', marks: [] }\r\n * ]\r\n * }]\r\n * },\r\n * {\r\n * nodeType: BLOCKS.LIST_ITEM,\r\n * data: {},\r\n * content: [{\r\n * nodeType: BLOCKS.HR,\r\n * data: {},\r\n * content: [],\r\n * }]\r\n * },\r\n * {\r\n * nodeType: BLOCKS.LIST_ITEM,\r\n * data: {},\r\n * content: [{\r\n * nodeType: BLOCKS.PARAGRAPH,\r\n * data:\r\n * content: [\r\n * { nodeType: 'text', data: {}, value: 'Yet another list item', marks: [] }\r\n * ]\r\n * }]\r\n * },\r\n * }]\r\n * }\r\n *\r\n * We want there to be a space between 'List item' and 'Another list item' (to\r\n * denote a visual line break, which conventionally appears between non-text\r\n * node sequences) but not a redundant space between 'List ' and 'item'.\r\n * Moreover, we want just a _singular_ space between 'Another list item' and\r\n * 'Yet another list item' - the non-semantic HR between the two nodes should\r\n * not denote an additional space.\r\n */\n return rootNode.content.reduce(function (acc, node, i) {\n var nodeTextValue;\n if (dist_1.isText(node)) {\n nodeTextValue = node.value;\n } else if (dist_1.isBlock(node) || dist_1.isInline(node)) {\n nodeTextValue = documentToPlainTextString(node, blockDivisor);\n if (!nodeTextValue.length) {\n return acc;\n }\n }\n var nextNode = rootNode.content[i + 1];\n var isNextNodeBlock = nextNode && dist_1.isBlock(nextNode);\n var divisor = isNextNodeBlock ? blockDivisor : '';\n return acc + nodeTextValue + divisor;\n }, '');\n}\nexports.documentToPlainTextString = documentToPlainTextString;","import { useEffect, useState } from 'react';\nimport { getAPIRoot } from '../helpers/fetch';\nimport { getYearFilters, getOpenedFilters } from '../helpers/filters';\nimport { API_ROUTES, AWARD_IDS, AWARDS } from '../utils/constants';\n\nconst withCustomAwardsAndSorted = (awards, type) => {\n const iFDAward = awards.find((award) => award.id === AWARD_IDS.IFDA);\n const iFDATalentAward = awards.find((award) => award.id === AWARD_IDS.IFDSA);\n const iFSIPAward = awards.find((award) => award.id === AWARD_IDS.IFSIP);\n\n return [\n ...(type === 'project'\n ? [\n iFDAward,\n {\n id: AWARD_IDS.IFDA_GOLD,\n name: AWARDS.IFDA_GOLD,\n year: iFDAward.year,\n },\n ]\n : []),\n ...(type === 'student'\n ? [\n {\n ...iFDATalentAward,\n name: AWARDS.IFDSA,\n year: iFDATalentAward.year,\n },\n {\n id: AWARD_IDS.IFDSA_BEST,\n name: AWARDS.IFDSA_BEST,\n year: iFDATalentAward.year,\n },\n ]\n : []),\n ...(!type || type === 'sip'\n ? [\n {\n ...iFSIPAward,\n hide: true,\n name: AWARDS.IFSIP,\n locked: true,\n },\n ]\n : []),\n ];\n};\n\n// adapt current filters to what backend expects\nconst prepareFiltersForAPI = (filters, apiFilters, seed, count) => {\n const filtersForAPI = {\n // only one award can be selected\n award:\n filters?.awards?.map((filter) => {\n // map fake award ids (sub awards) to their respective award\n if (filter === AWARD_IDS.IFDA_GOLD) {\n return AWARD_IDS.IFDA;\n } else if (filter === AWARD_IDS.IFDSA_BEST) {\n return AWARD_IDS.IFDSA;\n } else if (filter === AWARD_IDS.IF_SIP_SUPPORTED) {\n return AWARD_IDS.IFSIP;\n }\n\n return filter;\n })[0] ?? AWARD_IDS.IFDA,\n // if there are regions selected but no countries, grab all countries from those regions\n countries:\n (filters?.region?.length && filters?.countries?.length === 0\n ? apiFilters?.countries\n .filter((country) => filters?.region?.includes(country.region))\n .map((country) => country.id)\n : filters?.countries) || [],\n range: filters?.time[0],\n seed: filters?.seed || seed,\n count,\n find: filters?.find || '',\n disciplines: filters?.disciplines || [],\n categories: [AWARD_IDS.IFDA_GOLD, AWARD_IDS.IFDA].some((filter) =>\n filters?.awards?.includes(filter)\n )\n ? filters?.categories || []\n : [],\n isGoldAward: filters?.awards?.includes(AWARD_IDS.IFDA_GOLD),\n isBestOfYear: filters?.awards?.includes(AWARD_IDS.IFDSA_BEST),\n isSupportedByIF: filters?.awards?.includes(AWARD_IDS.IF_SIP_SUPPORTED),\n profileId: Number(filters?.profile?.split('|id=')?.pop()) || 0,\n };\n\n return JSON.stringify(filtersForAPI);\n};\n\nexport const useWinnerFilters = (\n filters,\n items = [],\n type = null,\n isInSearch\n) => {\n const [totalCount, setTotalCount] = useState(null);\n const [apiFilters, setApiFilters] = useState({});\n const [visibleFilters, setVisibleFilters] = useState(null);\n const [page, setPage] = useState(filters.page || 0);\n const [tempFilters, setTempFilters] = useState(null); // used when deferred\n const [results, setResults] = useState([]);\n const [loading, setLoading] = useState(true);\n const [noMoreResults, setNoMoreResults] = useState(true);\n const [payload, setPayload] = useState('');\n const [seed, setSeed] = useState(filters.seed || '');\n const [windowLocation, setWindowLocation] = useState(null);\n\n useEffect(() => {\n setWindowLocation(window.location);\n }, []);\n\n // get filters from backend when component loads\n useEffect(() => {\n getAPIFilters();\n }, []);\n\n // initialize visible filters after receiving possible filters from backend\n // change them if filters changed\n useEffect(() => {\n if (Object.values(apiFilters).length) {\n const newVisibleFilters = {\n sort: [\n {\n id: 'desc',\n name: 'Newest',\n },\n {\n id: 'asc',\n name: 'Oldest',\n },\n {\n id: 'random',\n name: 'Random',\n },\n ],\n ...apiFilters,\n categories: getCategories(),\n disciplines: getDisciplines(),\n countries: getCountries(),\n };\n\n // reset page every time filters change\n setPage(0);\n\n setVisibleFilters(newVisibleFilters);\n }\n }, [apiFilters, filters]);\n\n // update results once we have calculated what filters should be visible\n useEffect(() => {\n if (visibleFilters && filters) {\n updateResults();\n }\n }, [visibleFilters]);\n\n // update results on page change (only used with infinite scrolling)\n useEffect(() => {\n if (page > 0 && !isInSearch) {\n updateResults();\n }\n }, [page]);\n\n const increasePage = () => {\n setPage((prevPage) => prevPage + 1);\n };\n\n // returns categories that should be visible\n // if not gold award nor iFDA, show sipTalentCategories\n const getCategories = () => {\n return apiFilters?.categories ?? [];\n };\n\n // returns disciplines that should be visible\n // disciplines should only be shown when iFDA or gold award selected\n const getDisciplines = () => {\n return apiFilters?.disciplines ?? [];\n };\n\n // returns country filters that should be visible\n const getCountries = () => {\n // if more than 1 region selected, remove countries\n if (filters?.region?.length > 1) {\n return [];\n }\n // if 1 region selected, only show countries from that region\n if (filters?.region?.length === 1) {\n const regionName = apiFilters?.region?.find(\n (region) => region.id === filters?.region[0]\n ).id;\n return apiFilters?.countries?.filter(\n (country) => country.region === regionName\n );\n }\n // if no regions selected, show all countries\n if (!filters?.region?.length) {\n return apiFilters?.countries;\n }\n };\n\n useEffect(() => {\n sessionStorage?.setItem(\n `${type}QueryParams`,\n new URLSearchParams(windowLocation?.search).toString()\n );\n if (isInSearch) {\n sessionStorage?.setItem('returnToSearchPage', true);\n } else {\n sessionStorage?.removeItem('returnToSearchPage');\n }\n }, [windowLocation?.search]);\n\n useEffect(() => {\n const payloadObj = JSON.parse(payload || '{}');\n sessionStorage?.setItem(\n `${type}Payload`,\n JSON.stringify({\n ...payloadObj,\n sort: filters.sort,\n page,\n })\n );\n }, [payload]);\n\n useEffect(() => {\n sessionStorage?.setItem(`${type}Count`, totalCount);\n }, [totalCount]);\n\n // const getInspirationResults = async () => {\n // let apiRoot = await getAPIRoot();\n // const url = `${apiRoot}${API_ROUTES.ENTRIES_RANDOM}/15`;\n // const options = {\n // method: 'GET',\n // redirect: 'follow',\n // headers: {\n // 'Content-Type': 'application/json',\n // },\n // };\n\n // const response = await fetch(url, options);\n // const json = await response.json();\n\n // return json['items'];\n // };\n\n const getFiltersThatShouldApply = () => {\n // get only filters that are visible\n return Object.fromEntries(\n Object.entries(filters).map(([key, appliedFilter]) => {\n if (Array.isArray(appliedFilter)) {\n return [\n key,\n appliedFilter.filter((appliedFilterItem) =>\n visibleFilters?.[key].find(\n (visibleFilter) => visibleFilter.id === appliedFilterItem\n )\n ),\n ];\n } else {\n return [key, appliedFilter];\n }\n })\n );\n };\n\n const getFilteredResultsJsonResponse = async () => {\n let apiRoot = await getAPIRoot();\n const itemsPerPage = isInSearch ? 28 : 18;\n\n const filtersThatShouldApply = getFiltersThatShouldApply();\n\n const _payload = prepareFiltersForAPI(\n filtersThatShouldApply,\n apiFilters,\n seed,\n itemsPerPage\n );\n setPayload(_payload);\n const url = `${apiRoot}${\n API_ROUTES.SEARCH_WINNER\n }/${page}/${itemsPerPage}?order=${filters.sort || 'desc'}`;\n const options = {\n method: 'POST',\n redirect: 'follow',\n credentials: 'include',\n headers: {\n 'Content-Type': 'application/json',\n },\n body: _payload,\n };\n\n const response = await fetch(url, options);\n return response.json();\n };\n\n const getDynamicFilters = async (localApiFilters = apiFilters) => {\n let apiRoot = await getAPIRoot();\n\n const url = apiRoot + API_ROUTES.SEARCH_WINNER_DYNAMIC_FILTER;\n\n const fullPayload = prepareFiltersForAPI(filters, localApiFilters);\n\n const options = {\n method: 'POST',\n redirect: 'follow',\n headers: {\n 'Content-Type': 'application/json',\n },\n body: fullPayload,\n };\n\n const response = await fetch(url, options);\n return response.json();\n };\n\n // get filters from backend, rename them and set state\n const getAPIFilters = async () => {\n let apiRoot = await getAPIRoot();\n const url = apiRoot + API_ROUTES.SEARCH_WINNER_FILTER;\n\n const response = await fetch(url, {\n method: 'POST',\n });\n const _apiFilters = await response.json();\n\n const tempApiFilters = {\n awards: withCustomAwardsAndSorted(_apiFilters['awards'], type),\n time: getYearFilters({\n allTime: true,\n type,\n }),\n ...(type == 'project' && { disciplines: _apiFilters['disciplines'] }),\n region: _apiFilters['regions'],\n countries: _apiFilters['countries'],\n };\n\n const dynamicApiFilters = await getDynamicFilters(tempApiFilters);\n\n setApiFilters({\n ...tempApiFilters,\n ...dynamicApiFilters,\n awards: withCustomAwardsAndSorted(dynamicApiFilters['awards'], type),\n });\n };\n\n const updateResults = async () => {\n if (filters?.inspiration) {\n setResults(await getInspirationResults());\n setNoMoreResults(true);\n }\n\n const json = await getFilteredResultsJsonResponse();\n\n if (!json.items.length) {\n setNoMoreResults(true);\n }\n\n setTotalCount(json.count);\n setSeed(json.seed);\n\n if (page > 0) {\n const _results = results.concat(json.items);\n if (_results.length === json.count) {\n setNoMoreResults(true);\n }\n setResults(_results);\n } else {\n setResults(json.items);\n setNoMoreResults(json.items.length === json.count);\n }\n\n setLoading(false);\n };\n\n return {\n visibleFilters,\n filterOrderByKey:\n type === 'sip'\n ? [\n 'sort',\n 'awards',\n 'time',\n 'disciplines',\n 'categories',\n 'region',\n 'countries',\n ]\n : [\n 'sort',\n 'awards',\n 'time',\n 'region',\n 'countries',\n 'disciplines',\n 'categories',\n ],\n increasePage,\n results,\n loading,\n noMoreResults,\n totalCount,\n openedFilters: getOpenedFilters(filters, ['sort', 'awards', 'time']),\n radioFiltersKeys: ['sip'].includes(type)\n ? ['sort', 'time']\n : ['sort', 'awards', 'time'],\n seed,\n year: visibleFilters?.awards?.[0].year || 2025,\n };\n};\n","// extracted by mini-css-extract-plugin\nexport var awardTab = \"styles-module--awardTab--8007b\";\nexport var awardsRadios = \"styles-module--awardsRadios--2fb06\";\nexport var awardsScrollable = \"styles-module--awardsScrollable--f9674\";\nexport var count = \"styles-module--count--c5165\";\nexport var disabled = \"styles-module--disabled--17ca9\";\nexport var main = \"styles-module--main--06589\";\nexport var noResults = \"styles-module--noResults--79d2e\";\nexport var radioButton = \"styles-module--radioButton--3fa55\";\nexport var results = \"styles-module--results--d092f\";\nexport var search = \"styles-module--search--2af5b\";\nexport var section = \"styles-module--section--2458d\";\nexport var sectionTitle = \"styles-module--sectionTitle--28b81\";\nexport var sectionTop = \"styles-module--sectionTop--e452e\";\nexport var selected = \"styles-module--selected--9d94f\";\nexport var showMore = \"styles-module--showMore--ec454\";\nexport var showMoreContainer = \"styles-module--showMoreContainer--ec300\";\nexport var text = \"styles-module--text--ff86f\";\nexport var winners = \"styles-module--winners--4c140\";","// extracted by mini-css-extract-plugin\nexport var articleType = \"styles-module--articleType--14ef8\";\nexport var emptyImageContainer = \"styles-module--emptyImageContainer--07c46\";\nexport var headline = \"styles-module--headline--21948\";\nexport var image = \"styles-module--image--2a90a\";\nexport var imageContainer = \"styles-module--imageContainer--6b425\";\nexport var infoContainer = \"styles-module--infoContainer--f99a1\";\nexport var item = \"styles-module--item--cc302\";\nexport var itemInnerContainer = \"styles-module--itemInnerContainer--c376e\";\nexport var metadata = \"styles-module--metadata--7da29\";\nexport var recommended = \"styles-module--recommended--6d623\";","import React, { useContext } from 'react';\nimport Image from '../../../ui/image';\nimport Link from '../../../ui/link';\nimport Text from '../../../ui/text';\nimport * as styles from './styles.module.scss';\nimport { combine } from '../../../../helpers/styles';\nimport { MicrocopyContext } from '../../../../context/microcopy.context';\nimport { getFormattedDate } from '../../../../helpers/getFormattedDate';\nimport { useLocale } from '../../../../context/locale.context';\n\nconst StoryItem = ({ slug, type, date, headline, image, asRecommended }) => {\n const { locale } = useLocale();\n\n const linkPrefix = {\n pressRelease: '/if-magazine/newsroom',\n article: '/if-magazine',\n page: '',\n '': '',\n };\n const link = `${linkPrefix[type]}/${slug}`;\n\n // Spanish localized date is not capitalized\n const getLocalizedDate = () => {\n const formatted = getFormattedDate(date, 'MMMM yyyy', locale);\n return locale === 'es'\n ? formatted.charAt(0).toUpperCase() + formatted.slice(1)\n : formatted;\n };\n\n return (\n <>\n \n
{subtitle}
\n{additionalInfo}
\n )}\n