{"version":3,"file":"ArticleListAnchorSelect.chunk.3ed34b92ed4c1a843802.js","mappings":"qMAMO,MAAMA,EAA+FC,IACxG,MAAM,SAAEC,EAAQ,0BAAEC,GAA8BF,EAEhD,OACIG,EAAAA,cAAAA,EAAAA,SAAA,KACKF,EAASG,OAAS,GACfD,EAAAA,cAACE,EAAAA,EAAQ,CACLC,UCZsB,uBDatBC,YAAaL,EACbM,QAASP,EAASQ,KAAIC,IAAW,CAAGC,KAAMD,EAAQE,MAAOC,MAAOH,EAAQI,mBACxEC,eAAgBF,IAASG,EAAAA,EAAAA,IAA0BH,KAG5D,C","sources":["webpack://Kristiania.Web/./Features/Blocks/ArticleListAnchorSelect/ArticleListAnchorSelect.tsx","webpack://Kristiania.Web/./Features/Blocks/ArticleListAnchorSelect/ArticleListAnchorSelect.module.css?8e12"],"sourcesContent":["import * as React from 'react';\nimport { Dropdown } from '../../Partials/Dropdown/Dropdown';\nimport { smoothScrollToSectionById } from '../../Partials/Utils/utils';\nimport styles from './ArticleListAnchorSelect.module.css';\nimport type { ArticleListAnchorSelectViewModel } from './ArticleListAnchorSelectViewModel.csharp';\n\nexport const ArticleListAnchorSelect: React.FC> = props => {\n const { sections, chooseCategoryTranslation } = props;\n\n return (\n <>\n {sections.length > 0 && (\n ({ text: section.title, value: section.sectionBlockId }))}\n onValueChanged={value => smoothScrollToSectionById(value)}\n />\n )}\n \n );\n};\n","// extracted by mini-css-extract-plugin\nexport default {\"ArticleListAnchorSelect\":\"pdEmTJ9UhMZxk2sekfJm\"};"],"names":["ArticleListAnchorSelect","props","sections","chooseCategoryTranslation","React","length","Dropdown","className","placeholder","options","map","section","text","title","value","sectionBlockId","onValueChanged","smoothScrollToSectionById"],"sourceRoot":""}