1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6846],{7641:(e,a,t)=>{t.d(a,{X:()=>r});let r=({config:e,appName:a,locale:t,returnPublicContentUrl:r=!1})=>{let n=e?.[a];if(!n)return null;let o=t?.countryCode,s=t?.languageCode,{tld:u}=n,i=new URL(n["*"].default,u);if(!o)return i;let p=`${s}-${o}`,c=n[o.toLocaleLowerCase()];return r?c?.publicContentPage?new URL(c.publicContentPage,u):null:(c?.[p]?i.pathname=c[p]:c?.default&&(i.pathname=c.default),i)}},38685:(e,a,t)=>{t.d(a,{Z:()=>R,S:()=>P});var r=t(71151);let n=t(1433).env.NEXT_PUBLIC_APP_ENV??"development";(0,r.setLogger)({service:"frontend-toolkit",version:"0.10.0",env:n});let o=(0,r.getLogger)();var s=[{appName:"containerNext",icon:"ContainerNextIcon",recommended:["APPLICATOR"],countryCodes:[],groups:["CT_CN_GROUP"],isExternal:!1,requiresOktaAuth:!0,dataCy:"apps-menu-link-to-containernext"},{appName:"cms",icon:"KnaufIcon",recommended:["APPLICATOR","DISTRIBUTOR","DIY","INDUSTRY","INVESTOR","OTHER","PLANNER","PREFABRICATOR","NONE"],countryCodes:[],groups:["CT_GA_GROUP"],isExternal:!1,requiresOktaAuth:!0,dataCy:"apps-menu-link-to-knauf"},{appName:"account",icon:"AccountIcon",recommended:[],countryCodes:[],groups:["CT_GA_GROUP"],isExternal:!1,requiresOktaAuth:!0,dataCy:"apps-menu-link-to-account"},{appName:"dealerSuite",icon:"OrderOverviewIcon",recommended:["DISTRIBUTOR"],countryCodes:[],groups:["CT_DS_GROUP"],isExternal:!1,requiresOktaAuth:!0,dataCy:"apps-menu-link-to-dealer-suite"},{appName:"admin",icon:"AdminIcon",recommended:[],countryCodes:[],groups:["CT_KA_GROUP"],isExternal:!1,requiresOktaAuth:!0,dataCy:"apps-menu-link-to-admin"},{appName:"plannerSuite",icon:"SystemFinderIcon",recommended:["APPLICATOR","PLANNER"],countryCodes:[],groups:["CT_PS_GROUP"],isExternal:!1,requiresOktaAuth:!0,dataCy:"apps-menu-link-to-planner-suite"},{appName:"exclusiveContent",icon:"ExclusiveContentIcon",recommended:["APPLICATOR","DISTRIBUTOR","DIY","INDUSTRY","INVESTOR","OTHER","PLANNER","PREFABRICATOR","NONE"],countryCodes:[],groups:["CT_EC_DE_GROUP"],isExternal:!1,requiresOktaAuth:!0,dataCy:"apps-menu-link-to-exclusive-content"},{appName:"contractorClub",icon:"ApplicatorClubIcon",recommended:["APPLICATOR"],countryCodes:[],groups:["CT_FC_DE_GROUP"],isExternal:!1,requiresOktaAuth:!0,dataCy:"apps-menu-link-to-contractor-club"},{appName:"partnerProgram",icon:"PartnerProgramIcon",recommended:["DISTRIBUTOR"],countryCodes:[],groups:["CT_PP_DE_GROUP"],isExternal:!1,requiresOktaAuth:!0,dataCy:"apps-menu-link-to-partner-program"},{appName:"exclusiveContentNL",icon:"ExclusiveContentIcon",recommended:["APPLICATOR","DISTRIBUTOR","DIY","INDUSTRY","INVESTOR","OTHER","PLANNER","PREFABRICATOR","NONE"],countryCodes:[],groups:["CT_EC_NL_GROUP"],isExternal:!1,requiresOktaAuth:!0,dataCy:"apps-menu-link-to-exclusive-content-nl"},{appName:"partnerProgramNL",icon:"PartnerProgramIcon",recommended:["APPLICATOR","DISTRIBUTOR","DIY","INDUSTRY","INVESTOR","OTHER","PLANNER","PREFABRICATOR","NONE"],countryCodes:[],groups:["CT_PP_NL_GROUP"],isExternal:!1,requiresOktaAuth:!0,dataCy:"apps-menu-link-to-partner-program-nl"},{appName:"verifizierterHaendler",icon:"ServicesForDealersIcon",recommended:[],countryCodes:[],groups:["CT_VH_DE_GROUP"],isExternal:!1,requiresOktaAuth:!0,dataCy:"apps-menu-link-to-verifizierter-haendler"},{appName:"kontaktUndSupport",icon:"ContactAndSupportIcon",recommended:["APPLICATOR","DISTRIBUTOR","INDUSTRY","INVESTOR","OTHER","PLANNER","PREFABRICATOR","NONE"],countryCodes:[],groups:["CT_KS_DE_GROUP"],isExternal:!1,requiresOktaAuth:!0,dataCy:"apps-menu-link-to-kontakt-und-support"},{appName:"priser",icon:"PriceTagIcon",recommended:["DISTRIBUTOR"],countryCodes:[],groups:["CT_PR_DK_GROUP"],isExternal:!1,requiresOktaAuth:!0,dataCy:"apps-menu-link-to-upload-portal"},{appName:"uploadPortal",icon:"UploadPortalIcon",recommended:["NONE"],countryCodes:[],groups:["CT_UP_COMMON_GROUP","CT_UP_DE_GROUP","CT_UP_UK_GROUP","CT_UP_CH_GROUP","CT_UP_PL_GROUP","CT_UP_BE_GROUP","CT_UP_NL_GROUP","CT_UP_ES_GROUP","CT_UP_TR_GROUP","CT_UP_AT_GROUP","CT_UP_AE_GROUP","CT_UP_PT_GROUP","CT_UP_IT_GROUP","CT_UP_RS_GROUP","CT_UP_SE_GROUP","CT_UP_CL_GROUP","CT_UP_DK_GROUP","CT_UP_FR_GROUP","CT_UP_SK_GROUP","CT_UP_LV_GROUP","CT_UP_HR_GROUP","CT_UP_EE_GROUP","CT_UP_LT_GROUP","CT_UP_AR_GROUP","CT_UP_CZ_GROUP","CT_UP_RO_GROUP","CT_UP_MK_GROUP","CT_UP_BG_GROUP","CT_UP_XX_GROUP"],isExternal:!1,requiresOktaAuth:!0,dataCy:"apps-menu-link-to-upload-portal"},{appName:"knaufPlugin",icon:"BIMPluginIcon",recommended:["APPLICATOR","PLANNER"],countryCodes:[],groups:["CT_PS_GROUP"],isExternal:!1,requiresOktaAuth:!0,dataCy:"apps-menu-link-to-knauf-plugin"},{appName:"myProjects",icon:"MyProjectsIcon",recommended:["APPLICATOR","PLANNER"],countryCodes:[],groups:["CT_PS_GROUP"],isExternal:!1,requiresOktaAuth:!0,dataCy:"apps-menu-link-to-my-projects"},{appName:"testCertificate",icon:"TestCertificatesIcon",recommended:["APPLICATOR"],countryCodes:[],groups:["CT_TC_GROUP"],isExternal:!1,requiresOktaAuth:!0,dataCy:"apps-menu-link-to-test-certificate"}
1,{appName:"palletReturn",icon:"PalletReturnIcon",recommended:["DISTRIBUTOR"],countryCodes:[],groups:["CT_PR_GROUP"],isExternal:!1,requiresOktaAuth:!0,dataCy:"apps-menu-link-to-pallet-return"},{appName:"tuttiServiziItalia",icon:"TuttiIServiziIcon",recommended:[],countryCodes:["IT"],groups:["CT_TS_IT_GROUP"],isExternal:!0,requiresOktaAuth:!1,dataCy:"apps-menu-link-to-tutti-servizi-italia"},{appName:"catalogoListinoPreventivatore",icon:"CatalogoListinoEPreventivatoreIcon",recommended:[],countryCodes:["IT"],groups:["CT_CLP_IT_GROUP"],isExternal:!0,requiresOktaAuth:!1,dataCy:"apps-menu-link-to-catalogo-listino-preventivatore"},{appName:"ordiniOnline",icon:"OrdiniOnlineIcon",recommended:[],countryCodes:["IT"],groups:["CT_OO_IT_GROUP"],isExternal:!0,requiresOktaAuth:!1,dataCy:"apps-menu-link-to-ordini-online"},{appName:"customerCare",icon:"CustomerCareIcon",recommended:[],countryCodes:["IT"],groups:["CT_CC_IT_GROUP"],isExternal:!0,requiresOktaAuth:!1,dataCy:"apps-menu-link-to-customer-care"},{appName:"monEscapePro",icon:"MonEspaceProIknaufIcon",recommended:[],countryCodes:["FR"],groups:["CT_MEP_FR_GROUP"],isExternal:!0,requiresOktaAuth:!1,dataCy:"apps-menu-link-to-mon-escape-pro"},{appName:"knaufBatiChiffrage",icon:"BatiChiffrageIcon",recommended:[],countryCodes:["FR"],groups:["CT_KBC_FR_GROUP"],isExternal:!0,requiresOktaAuth:!1,dataCy:"apps-menu-link-to-knauf-bati-chiffrage"},{appName:"tarifDeLoffreGlobale",icon:"TarifDeLoffreGlobaleIcon",recommended:[],countryCodes:["FR"],groups:["CT_TLG_FR_GROUP"],isExternal:!0,requiresOktaAuth:!1,dataCy:"apps-menu-link-to-tarif-de-loffre-globale"},{appName:"expertek",icon:"ExpertekIcon",recommended:[],countryCodes:["AL","AT","BE","BA","BG","HR","CY","CZ","DK","EE","FI","FR","DE","GR","HU","IS","IE","IT","XK","LV","LI","LT","LU","MT","MD","MC","ME","NL","MK","NO","PL","PT","RO","RS","SK","SI","ES","SE","CH","TR","UA","GB"],groups:["CT_MC_ES_GROUP"],isExternal:!0,requiresOktaAuth:!0,dataCy:"apps-menu-link-to-expertek",unleashFlag:"show-expertek-app"},{appName:"uValueCalculator",icon:"UValueIcon",recommended:[],countryCodes:[],groups:["CT_UV_AP_GROUP"],isExternal:!1,requiresOktaAuth:!1,dataCy:"apps-menu-link-to-u-value-calculator",unleashFlag:"show-u-value-calculator-app"},{appName:"exclusiveContentAT",icon:"ExclusiveContentIcon",recommended:["APPLICATOR","DISTRIBUTOR","DIY","INDUSTRY","INVESTOR","OTHER","PLANNER","PREFABRICATOR","NONE"],countryCodes:[],groups:["CT_EC_AT_GROUP"],isExternal:!1,requiresOktaAuth:!0,dataCy:"apps-menu-link-to-exclusive-content-at",unleashFlag:"show-ec-at-app"},{appName:"brandPortal",icon:"BrandPortalIcon",recommended:[],countryCodes:[],groups:["CT_BRAND_GROUP"],isExternal:!1,requiresOktaAuth:!0,dataCy:"apps-menu-link-to-brand-portal",unleashFlag:"show-brand-portal-app"},{appName:"projectCalculator",icon:"ProjectCalculatorIcon",recommended:["APPLICATOR","PLANNER","DISTRIBUTOR","DIY"],countryCodes:[],groups:["CT_PC_GROUP"],isExternal:!1,requiresOktaAuth:!0,dataCy:"apps-menu-link-to-project-calculator",unleashFlag:"show-project-calculator-app"},{appName:"hyperFrame",icon:"HyperFrameIcon",recommended:[],countryCodes:[],groups:["CT_HB_GROUP"],isExternal:!1,requiresOktaAuth:!0,dataCy:"apps-menu-link-to-hyperframe",unleashFlag:"show-hyperframe-app"}],u=t(7641),i=t(19845),p=t(15865),c=t(95350),l=[{appName:"containerNext",icon:"ContainerNextIcon",recommended:["APPLICATOR"],countryCodes:["DE"],groups:["CT_CN_GROUP"],isExternal:!1,requiresOktaAuth:!0,hasPublicContentPage:!0,dataCy:"apps-menu-link-to-containernext",showToUnauthenticatedUsers:!0},{appName:"cms",icon:"KnaufIcon",recommended:["APPLICATOR","DISTRIBUTOR","DIY","INDUSTRY","INVESTOR","OTHER","PLANNER","PREFABRICATOR","NONE"],countryCodes:[],groups:["CT_GA_GROUP"],isExternal:!1,requiresOktaAuth:!0,dataCy:"apps-menu-link-to-knauf",showToUnauthenticatedUsers:!0},{appName:"account",icon:"AccountIcon",recommended:[],countryCodes:[],groups:["CT_GA_GROUP"],isExternal:!1,requiresOktaAuth:!0,dataCy:"apps-menu-link-to-account",showToUnauthenticatedUsers:!0},{appName:"dealerSuite",icon:"OrderOverviewIcon",recommended:["DISTRIBUTOR"],countryCodes:[],groups:["CT_DS_GROUP"],isExternal:!1,requiresOktaAuth:!0,dataCy:"apps-menu-link-to-dealer-suite",showToUnauthenticatedUsers:!0},{appName:"plannerSuite",icon:"SystemFinderIcon",recommended:["APPLICATOR","PLANNER"],countryCodes:[],groups:["CT_PS_GROUP"],isExternal:!1,requiresOktaAuth:!0,dataCy:"apps-menu-link-to-planner-suite",showToUnauthenticatedUsers:!0}
1,{appName:"exclusiveContent",icon:"ExclusiveContentIcon",recommended:["APPLICATOR","DISTRIBUTOR","DIY","INDUSTRY","INVESTOR","OTHER","PLANNER","PREFABRICATOR","NONE"],countryCodes:["DE"],groups:["CT_EC_DE_GROUP"],isExternal:!1,requiresOktaAuth:!0,dataCy:"apps-menu-link-to-exclusive-content",showToUnauthenticatedUsers:!0},{appName:"contractorClub",icon:"ApplicatorClubIcon",recommended:["APPLICATOR"],countryCodes:["DE"],groups:["CT_FC_DE_GROUP"],isExternal:!1,requiresOktaAuth:!0,hasPublicContentPage:!0,dataCy:"apps-menu-link-to-contractor-club",showToUnauthenticatedUsers:!0},{appName:"partnerProgram",icon:"PartnerProgramIcon",recommended:["DISTRIBUTOR"],countryCodes:["DE"],groups:["CT_PP_DE_GROUP"],isExternal:!1,requiresOktaAuth:!0,hasPublicContentPage:!0,dataCy:"apps-menu-link-to-partner-program",showToUnauthenticatedUsers:!0},{appName:"exclusiveContentNL",icon:"ExclusiveContentIcon",recommended:["APPLICATOR","DISTRIBUTOR","DIY","INDUSTRY","INVESTOR","OTHER","PLANNER","PREFABRICATOR","NONE"],countryCodes:["NL"],groups:["CT_EC_NL_GROUP"],isExternal:!1,requiresOktaAuth:!0,dataCy:"apps-menu-link-to-exclusive-content-nl"},{appName:"partnerProgramNL",icon:"PartnerProgramIcon",recommended:["APPLICATOR","DISTRIBUTOR","DIY","INDUSTRY","INVESTOR","OTHER","PLANNER","PREFABRICATOR","NONE"],countryCodes:["NL"],groups:["CT_PP_NL_GROUP"],isExternal:!1,requiresOktaAuth:!0,dataCy:"apps-menu-link-to-partner-program-nl"},{appName:"verifizierterHaendler",icon:"ServicesForDealersIcon",recommended:[],countryCodes:["DE"],groups:["CT_VH_DE_GROUP"],isExternal:!1,requiresOktaAuth:!0,dataCy:"apps-menu-link-to-verifizierter-haendler",showToUnauthenticatedUsers:!0},{appName:"kontaktUndSupport",icon:"ContactAndSupportIcon",recommended:["APPLICATOR","DISTRIBUTOR","INDUSTRY","INVESTOR","OTHER","PLANNER","PREFABRICATOR","NONE"],countryCodes:["DE"],groups:["CT_KS_DE_GROUP"],isExternal:!1,requiresOktaAuth:!0,dataCy:"apps-menu-link-to-kontakt-und-support",showToUnauthenticatedUsers:!0},{appName:"priser",icon:"PriceTagIcon",recommended:["DISTRIBUTOR"],countryCodes:["DK"],groups:["CT_PR_DK_GROUP"],isExternal:!1,requiresOktaAuth:!0,dataCy:"apps-menu-link-to-priser"},{appName:"knaufPlugin",icon:"BIMPluginIcon",recommended:["APPLICATOR","PLANNER"],countryCodes:[],groups:["CT_PS_GROUP"],isExternal:!1,requiresOktaAuth:!0,dataCy:"apps-menu-link-to-knauf-plugin",showToUnauthenticatedUsers:!0},{appName:"myProjects",icon:"MyProjectsIcon",recommended:["APPLICATOR","PLANNER"],countryCodes:[],groups:["CT_PS_GROUP"],isExternal:!1,requiresOktaAuth:!0,dataCy:"apps-menu-link-to-my-projects",showToUnauthenticatedUsers:!0},{appName:"testCertificate",icon:"TestCertificatesIcon",recommended:["APPLICATOR"],countryCodes:["DE"],groups:["CT_TC_GROUP"],isExternal:!1,requiresOktaAuth:!0,dataCy:"apps-menu-link-to-test-certificate",showToUnauthenticatedUsers:!0},{appName:"palletReturn",icon:"PalletReturnIcon",recommended:["DISTRIBUTOR"],countryCodes:["DE"],groups:["CT_PR_GROUP"],isExternal:!1,requiresOktaAuth:!0,dataCy:"apps-menu-link-to-pallet-return",showToUnauthenticatedUsers:!0},{appName:"tuttiServiziItalia",icon:"TuttiIServiziIcon",recommended:[],countryCodes:["IT"],groups:[],isExternal:!0,requiresOktaAuth:!1,dataCy:"apps-menu-link-to-tutti-servizi-italia",showToUnauthenticatedUsers:!0},{appName:"catalogoListinoPreventivatore",icon:"CatalogoListinoEPreventivatoreIcon",recommended:[],countryCodes:["IT"],groups:[],isExternal:!0,requiresOktaAuth:!1,dataCy:"apps-menu-link-to-catalogo-listino-preventivatore",showToUnauthenticatedUsers:!0},{appName:"ordiniOnline",icon:"OrdiniOnlineIcon",recommended:[],countryCodes:["IT"],groups:[],isExternal:!0,requiresOktaAuth:!1,dataCy:"apps-menu-link-to-ordini-online",showToUnauthenticatedUsers:!0},{appName:"customerCare",icon:"CustomerCareIcon",recommended:[],countryCodes:["IT"],groups:[],isExternal:!0,requiresOktaAuth:!1,dataCy:"apps-menu-link-to-customer-care",showToUnauthenticatedUsers:!0},{appName:"monEscapePro",icon:"MonEspaceProIknaufIcon",recommended:[],countryCodes:["FR"],groups:[],isExternal:!0,requiresOktaAuth:!1,dataCy:"apps-menu-link-to-mon-escape-pro"},{appName:"knaufBatiChiffrage",icon:"BatiChiffrageIcon",recommended:[],countryCodes:["FR"],groups:[],isExternal:!0,requiresOktaAuth:!1,dataCy:"apps-menu-link-to-knauf-bati-chiffrage"},{appName:"tarifDeLoffreGlobale",icon:"TarifDeLoffreGlobaleIcon",recommended:[],countryCodes:["FR"],groups:[],isExternal:!0,requiresOktaAuth:!1,dataCy:"apps-menu-link-to-tarif-de-loffre-globale"},{appName:"expertek",icon:"ExpertekIcon",recommended:[],countryCodes:["AL","AT","BE","BA","BG","HR","CY","CZ","DK","EE","FI","FR","DE","GR","HU","IS","IE","IT","XK","LV","LI","LT","LU","MT","MD","MC","ME","NL","MK","NO","PL","PT","RO","RS","SK","SI","ES","SE","CH","TR","UA","GB"],groups:["CT_MC_ES_GROUP"],isExternal:!0,requiresOktaAuth:!0,dataCy:"apps-menu-link-to-expertek",unleashFlag:"show-expertek-app",showToUnauthenticatedUsers:!0},{appName:"uValueCalculator",icon:"UValueIcon",recommended:[],countryCodes:["BE","NL","CH","DK"],groups:["CT_UV_AP_GROUP"],isExternal:!1,requiresOktaAuth:!1,dataCy:"apps-menu-link-to-u-value-calculator",unleashFlag:"show-u-value-calculator-app"}
1,{appName:"exclusiveContentAT",icon:"ExclusiveContentIcon",recommended:["APPLICATOR","DISTRIBUTOR","DIY","INDUSTRY","INVESTOR","OTHER","PLANNER","PREFABRICATOR","NONE"],countryCodes:["AT"],groups:["CT_EC_AT_GROUP"],isExternal:!1,requiresOktaAuth:!0,dataCy:"apps-menu-link-to-exclusive-content-at",unleashFlag:"show-ec-at-app"},{appName:"brandPortal",imageUrl:"https://media.knauf.com/a/LTY7dWUfPqorWDvKCc2KyM",countryCodes:[],groups:["CT_BRAND_GROUP"],isExternal:!1,requiresOktaAuth:!0}],d=t(59054),C=t(83390),m=t(24858);let R=(e,a)=>{let{t}=(0,i.useTranslation)("shared-nextjs"),r=((e,a)=>{let{t}=(0,i.useTranslation)("shared-nextjs"),{data:r,isPending:n}=(0,c.wV)(),l=(0,p.useUnleashClient)(),d=r?.user,C=d?.groups??[];if(n||void 0===d)return[];let m={languageCode:d.preferredLanguage,countryCode:d.countryCode},R=[];return(a&&a.length>0?a:s).map(e=>({...e,appName:e.appName,url:"",title:t(`application-names.${e.appName}`),description:t(`application-descriptions.${e.appName}`)})).filter(e=>(!e.unleashFlag||l.isEnabled(e.unleashFlag))&&C.some(a=>e.groups.includes(a))).forEach(a=>{try{let t=(0,u.X)({config:e,appName:a.appName,locale:m})?.toString()??"";R.push({...a,url:t,hasError:!t})}catch(e){o.error({err:e},"failed to get app launcher"),R.push({...a,hasError:!0})}}),R})(e,a),n=0===r.length,{data:l}=(0,c.wV)(),{user:d}=l??{},{push:C}=(0,m.useClickEvent)(),R=(e,a)=>()=>C({type:"cta",reference:{href:e.url,label:e.appName,external:e.isExternal},eventPayload:{page_section:"header",navigation_category:"app_overview",navigation_title:a,action:e.appName,target:e.url}}),P=[],T=[];r.forEach(e=>{(({app:e,user:a})=>!!a&&!(e.groups.length>0&&a?.groups?.every(a=>!e.groups.includes(a))))({app:e,user:d})&&((({app:e,user:a})=>{let t=a?.aboutYou;return void 0!==t&&e.recommended.includes(t)})({app:e,user:d})?P.push({hasError:e.hasError,appIcon:e.icon,appName:e.title,appUrl:e.url,dataCy:e.dataCy,onClick:R(e,"Recommended"),isExternal:e.isExternal}):T.push({hasError:e.hasError,appIcon:e.icon,appName:e.title,appUrl:e.url,dataCy:e.dataCy,onClick:R(e,"Other"),isExternal:e.isExternal}))});let O=[];return n&&O.push({header:t("errors.generic-error-in-app-launcher"),items:[]}),P.length?(O.push({header:t("recommended"),items:P}),O.push({header:t("other"),items:T})):O.push({header:"",items:T}),O},P=(e,a)=>{let{t}=(0,i.useTranslation)("shared-nextjs"),r=(({config:e,countryCode:a,appAccessConfig:t}={})=>{let{t:r}=(0,i.useTranslation)("shared-nextjs"),n=(0,p.useUnleashClient)(),s=(0,d.Z)(),{countryCode:c,languageCode:m}=(0,C.M)(s),R=a??c,P=[];return(t&&t.length>0?t:l).map(e=>({...e,url:"",title:r(`application-names.${e.appName}`),description:r(`application-descriptions.${e.appName}`)})).filter(e=>(!e.unleashFlag||n.isEnabled(e.unleashFlag))&&(0===e.countryCodes.length||e.countryCodes.includes(R??""))&&!!e.showToUnauthenticatedUsers).forEach(a=>{try{let t=(0,u.X)({config:e,appName:a.appName,locale:{countryCode:R??"",languageCode:m??""},returnPublicContentUrl:!!a.hasPublicContentPage})?.toString()??"";P.push({...a,url:t,hasError:!t})}catch(e){o.error({e},"Error processing public apps list"),P.push({...a,hasError:!0})}}),P})({config:e,appAccessConfig:a}),n=0===r.length,{push:s}=(0,m.useClickEvent)(),c=[];r.forEach(e=>{c.push({hasError:e.hasError,appIcon:e.icon,appName:e.title,appUrl:e.url,dataCy:e.dataCy,onClick:()=>s({type:"cta",reference:{href:e.url,label:e.appName,external:e.isExternal},eventPayload:{page_section:"header",navigation_category:"app_overview_public",navigation_title:"public_apps",action:e.appName,target:e.url}}),isExternal:e.isExternal})});let R=[];return n?R.push({header:t("errors.generic-error-in-app-launcher"),items:[]}):R.push({header:"",items:c}),R}},83390:(e,a,t)=>{t.d(a,{M:()=>r});let r=e=>{let a=e.match(/^([a-z]{2})-([A-Z]{2})$/);if(a){let[,e,t]=a;return{languageCode:e,countryCode:t}}let t=e.match(/^([a-z]{2})$/);if(t){let[,e]=t;return{languageCode:e,countryCode:null}}return{languageCode:null,countryCode:null}}},92492:(e,a,t)=>{t.d(a,{Z:()=>n});var r=t(80531);let n=(e="en")=>{let{locale:a=e}=(0,r.useParams)()??{};return a}}}]); 2//# sourceMappingURL=6846.98f4e8f254dc2d96.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.