{"version":3,"file":"index-ATJq7pzJ.js","sources":["../../../packs/frontend/components/MainFobizzNavbar/LoginOffcanvas.vue","../../../packs/frontend/components/MainFobizzNavbar/LoginDropdown.vue","../../../packs/frontend/components/MainFobizzNavbar/NotificationIcon.vue","../../../packs/frontend/components/MainFobizzNavbar/IconButton.vue","../../../packs/frontend/components/MainFobizzNavbar/MyFobizzMenuHeader.vue","../../../packs/frontend/components/MainFobizzNavbar/MyFobizzMenuLink.vue","../../../packs/frontend/images/Meine_Schule_Icon.svg","../../../packs/frontend/images/Meine_Schullizenz_Icon.svg","../../../packs/frontend/composables/useUserProfileStatus.ts","../../../packs/frontend/components/MainFobizzNavbar/MyFobizzOffcanvas.vue","../../../packs/frontend/components/MainFobizzNavbar/Search.vue","../../../packs/frontend/components/MainFobizzNavbar/Tabs.vue","../../../packs/frontend/components/MainFobizzNavbar/index.vue"],"sourcesContent":["\n\n\n\n\n\n\n","\n\n\n\n\n\n\n","\n\n\n\n\n\n\n","\n\n\n\n\n","\n\n\n\n\n","\n\n\n\n\n","export default \"data:image/svg+xml,%3csvg%20width='20'%20height='17'%20viewBox='0%200%2020%2017'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M4.42857%203.93008V16M15.5714%203.93008V16M12.1429%2016V11.2582C12.1429%2011.0202%2011.951%2010.8272%2011.7143%2010.8272H8.28571C8.04902%2010.8272%207.85714%2011.0202%207.85714%2011.2582V16M1.85714%2016H18.1429C18.6162%2016%2019%2015.614%2019%2015.1379V6.94756C19%206.47142%2018.6162%206.08543%2018.1429%206.08543H16.4286C15.9552%206.08543%2015.5714%205.69943%2015.5714%205.22329V4.05064C15.5714%203.71436%2015.377%203.40877%2015.0735%203.26785L10.3592%201.07935C10.1313%200.97355%209.86872%200.973549%209.64081%201.07935L4.92652%203.26785C4.62296%203.40877%204.42857%203.71436%204.42857%204.05064V5.22329C4.42857%205.69943%204.04482%206.08543%203.57143%206.08543H1.85714C1.38376%206.08543%201%206.47142%201%206.94756V15.1379C1%2015.614%201.38376%2016%201.85714%2016ZM11.7143%206.08543C11.7143%207.03772%2010.9468%207.8097%2010%207.8097C9.05323%207.8097%208.28571%207.03772%208.28571%206.08543C8.28571%205.13314%209.05323%204.36115%2010%204.36115C10.9468%204.36115%2011.7143%205.13314%2011.7143%206.08543Z'%20stroke='%23444444'/%3e%3c/svg%3e\"","export default \"data:image/svg+xml,%3csvg%20width='24'%20height='18'%20viewBox='0%200%2024%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M16.5%2016H1.85714C1.38376%2016%201%2015.614%201%2015.1379V6.94756C1%206.47142%201.38376%206.08543%201.85714%206.08543H3.57143C4.04482%206.08543%204.42857%205.69943%204.42857%205.22329V4.05064C4.42857%203.71436%204.62296%203.40877%204.92652%203.26785L9.64081%201.07935C9.86872%200.973549%2010.1313%200.97355%2010.3592%201.07935L15.0735%203.26785C15.377%203.40877%2015.5714%203.71436%2015.5714%204.05064V5.22329C15.5714%205.69943%2015.9552%206.08543%2016.4286%206.08543H18.1429C18.6162%206.08543%2019%206.47142%2019%206.94756V10.8272M4.42857%203.93008V16M15.5714%203.93008V16M12.1429%2016V11.2582C12.1429%2011.0202%2011.951%2010.8272%2011.7143%2010.8272H8.28571C8.04902%2010.8272%207.85714%2011.0202%207.85714%2011.2582V16M11.7143%206.08543C11.7143%207.03772%2010.9468%207.8097%2010%207.8097C9.05323%207.8097%208.28571%207.03772%208.28571%206.08543C8.28571%205.13314%209.05323%204.36115%2010%204.36115C10.9468%204.36115%2011.7143%205.13314%2011.7143%206.08543Z'%20stroke='%23444'/%3e%3cpath%20d='M21.4457%2012.8207L21.4457%2012.8207C21.4284%2012.8379%2021.4122%2012.8562%2021.3972%2012.8754L21.3972%2012.8754L20.2262%2014.3675L19.709%2013.8504C19.3856%2013.527%2018.8613%2013.527%2018.5379%2013.8504C18.2145%2014.1738%2018.2145%2014.6981%2018.5379%2015.0215L18.8678%2014.6915L18.5379%2015.0215L19.6957%2016.1793C20.0191%2016.5027%2020.5434%2016.5027%2020.8668%2016.1793C20.8827%2016.1634%2020.8977%2016.1467%2020.9118%2016.1291L20.9118%2016.1291L22.6473%2013.9597C22.9399%2013.6344%2022.9297%2013.1336%2022.6168%2012.8207L22.2633%2013.1742L22.6168%2012.8207C22.2934%2012.4973%2021.7691%2012.4973%2021.4457%2012.8207ZM23.5%2014.5C23.5%2016.1569%2022.1569%2017.5%2020.5%2017.5C18.8431%2017.5%2017.5%2016.1569%2017.5%2014.5C17.5%2012.8431%2018.8431%2011.5%2020.5%2011.5C22.1569%2011.5%2023.5%2012.8431%2023.5%2014.5Z'%20fill='%23444'%20stroke='%23444'%20stroke-linejoin='round'/%3e%3c/svg%3e\"","export const useUserProfileStatus = () => {\n const userStore = useUserStore();\n const { t } = useI18n();\n\n const licenseFor = (license: string): \"pro\" | \"group\" | \"basic\" => {\n if ([\"pro\", \"pro_free\"].includes(license)) {\n return \"pro\";\n }\n\n if ([\"group\", \"group_free\"].includes(license)) {\n return \"group\";\n }\n\n if ([\"free\", \"basic\"].includes(license)) {\n return \"basic\";\n }\n\n return \"basic\";\n };\n\n const profileSubscriptionUrl = \"/profile_subscription\";\n const companyUrl = \"/schule\";\n\n const getCoursesUrl = (license: string) => {\n if (license === \"pro\") {\n return profileSubscriptionUrl;\n }\n\n if (license === \"group\") {\n return companyUrl;\n }\n\n return \"/\";\n };\n\n const getToolsUrl = (license: string) => {\n if (license === \"pro\") {\n return profileSubscriptionUrl;\n }\n\n if (license === \"group\") {\n return companyUrl;\n }\n\n return \"/preistabelle\";\n };\n\n const tools = computed(() => {\n const license = licenseFor(userStore.user?.toolsLicense || \"basic\");\n const label = t(`profileStatus.licenses.tools.${license}.label`);\n const tooltip = t(`profileStatus.licenses.tools.${license}.tooltip`);\n return {\n license,\n label,\n url: getToolsUrl(license),\n tooltip,\n };\n });\n\n const courses = computed(() => {\n const license = licenseFor(userStore.user?.coursesLicense || \"basic\");\n const label = t(`profileStatus.licenses.courses.${license}.label`);\n const tooltip = t(`profileStatus.licenses.courses.${license}.tooltip`);\n return {\n license,\n label,\n url: getCoursesUrl(license),\n tooltip,\n };\n });\n\n return {\n tools,\n courses,\n };\n};\n","\n\n\n\n\n \n \n
\n
\n
\n \n \n {{ t(\"links.logout\") }}\n \n
\n
\n
\n \n \n\n\n\n\n","\n\n\n\n\n\n \n 0\"\n >\n \n
\n \n
\n \n \n \n \n \n \n \n\n\n\n","\n\n\n\n\n\n\n","\n\n\n\n\n\n\n\n\n\n"],"names":["__default__","t","useI18n","userStore","useUserStore","props","__props","component","computed","toOrHref","mySchoolIcon","mySchoolLicenseIcon","useUserProfileStatus","licenseFor","license","profileSubscriptionUrl","companyUrl","getCoursesUrl","getToolsUrl","tools","label","tooltip","courses","logout","useSession","handleLogout","itemsService","materialsService","foldersService","useApiClient","platformApiClient","usePlatformApiClient","emit","__emit","inputRef","ref","listRef","searchTerm","coursesResults","myResults","galleryResults","folderResults","isLoading","showDropdown","isActive","combobox","start","Combobox","event","stop","onBeforeUnmount","queryClient","useQueryClient","useFoldersQuery","useQuery","keepPreviousData","search","query","result0","result1","result2","foldersQueryData","combinedResult","myResultIds","result","folder","nextTick","debouncedSearch","debounce","handleSearchInput","value","activate","handleBlur","isEmpty","clearAndClose","route","useRoute","getCurrentTabName","routeName","showPartnersTab","homeRouteActive","galleryRouteActive","partnerRouteActive","searchIsActive"],"mappings":"44CACeA,GAAA,CACb,KAAM,gCACR,4CAYM,KAAA,CAAE,EAAAC,CAAE,EAAIC,EAAQ,wgDCdPF,GAAA,CACb,KAAM,+BACR,uBAIM,KAAA,CAAE,EAAAC,CAAE,EAAIC,EAAQ,svBCNPF,GAAA,CACb,KAAM,kCACR,uBAIA,MAAMG,EAAYC,EAAa,oOCNhBJ,GAAA,CACb,KAAM,4BACR,0XCFeA,GAAA,CACb,KAAM,oCACR,oICFeA,GAAA,CACb,KAAM,kCACR,qKAeA,MAAMK,EAAQC,EAQRC,EAAYC,EAAS,IACrBH,EAAM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