1"use strict";(self.webpackChunkportal_rc=self.webpackChunkportal_rc||[]).push([[9421,6453,6918],{33150:function(e,t,s){s.d(t,{W:function(){return i},t:function(){return n}});var a=s(82483);const i=(0,a.createContext)(null),n=()=>(0,a.useContext)(i)},79421:function(e,t,s){s.r(t),s.d(t,{HeroSection:function(){return g},default:function(){return j}});var a=s(17672),i=s(36364),n=s(24199),r=s(16453),l=s(46595),o=s(36918),c=s(33150),d=s(90133),u=s(46354),h=s(79872),p=s(66920),m=s(43965),x=s(56723);const b=e=>{let{className:t,title:s,description:a,...i}=e;return s?(0,x.jsx)("article",{className:t,...i,children:(0,x.jsx)(h.m,{max:!0,children:(0,x.jsxs)(u.Z,{withHover:!1,round:"xl",border:0,as:"article",background:"darkness",className:"flex p-8 z-1 flex-col gap-4 justify-between tablet:min-h-[228px] overflow-hidden",children:[(0,x.jsx)(p.o,{as:"h1",size:"headlineH2",className:"tablet:ui-headline_h1",children:s}),a&&(0,x.jsx)(p.o,{size:"bodyM",className:"tablet:ui-body_l",children:a}),(0,x.jsx)("img",{className:"hero-glow",alt:""})]})})}):null};var f=s(43296);const v=["research","news","datacatalogue","dashboards"],g=e=>{let{pagePath:t}=e;const{isMobile:s,isDesktop:g}=(0,f.l)(),j=(0,d.zy)().pathname.replace(/\/$/,""),w=(0,c.t)(),{t:y}=(0,n.p)(["researches.title","researches.description","dataset.title","dataset.description","news.title","news.description"]),N=(0,i.gh)(t||window.location.pathname,v);if("research"===N)return(0,x.jsx)(b,{className:"bento-section",title:y("researches.title"),description:y("researches.description")});if("news"===N)return(0,x.jsx)(b,{title:y("news.title"),description:y("news.description"),className:"bento-section"});if("dashboards"===N){var z,C;const e=j.split("/").filter(Boolean);if(2===e.length&&"dashboards"===e[1])return(0,x.jsx)(b,{title:y("dataset.title"),description:y("dataset.description"),className:"bento-section"});const t=(null===w||void 0===w||null===(z=w.data)||void 0===z?void 0:z.name)||y("dataset.title"),i=null===w||void 0===w||null===(C=w.data)||void 0===C?void 0:C.category,n=i?[{id:i.code,name:i.name}]:[],c=s?"ui-headline_h2":"ui-headline_h1";return(0,x.jsx)("article",{className:"mt-5 tablet:mt-12",children:(0,x.jsx)(h.m,{max:!0,children:(0,x.jsxs)(u.Z,{round:"xl",as:"div",withHover:!1,background:"dark",border:0,className:"flex flex-col items-stretch w-full p-8 gap-6 tablet:gap-8 justify-between overflow-hidden",children:[(0,x.jsxs)("div",{className:"flex items-start tablet:items-center justify-between gap-6 max-tablet:flex-col",children:[g&&(0,x.jsx)(r.ButtonHybrid,{icon:(0,x.jsx)(m.r,{width:24,height:24}),position:"left",href:a.WB,size:"md",label:y("dataset.title")}),s&&(0,x.jsx)(l.K,{size:"sm",href:a.WB,children:(0,x.jsx)(m.r,{width:16,height:16})}),g&&(0,x.jsx)("div",{className:"flex justify-end items-center gap-1 max-h-7.5 overflow-hidden flex-wrap max-tablet:max-w-none max-tablet:max-h-5.5",children:n.map((e=>(0,x.jsx)(o.Tag,{as:"span",children:e.name},e.id)))})]}),(0,x.jsx)(p.o,{as:"h1",className:c,children:t}),(0,x.jsx)("div",{className:"hero-glow"})]})})})}return null};var j=g},16453:function(e,t,s){s.r(t),s.d(t,{ButtonHybrid:function(){return l},default:function(){return o}});var a=s(46595),i=s(92526);const n={left:{sm:"pr-md pl-2xs py-2xs",md:"pr-lg pl-2xs py-2xs"},right:{sm:"pr-2xs pl-md py-2xs",md:"pr-2xs pl-lg py-2xs"}};var r=s(56723);const l=e=>{let{href:t,label:s,size:l,icon:o,position:c="right",...d}=e;const{buttonClassNames:u,iconButtonClassNames:h}=(e=>{let{position:t,size:s}=e;const a=n[t][s];return{buttonClassNames:"flex items-center gap-xl label_s !rounded-[1000px] text-ui-primary bg-ui-transparent border-1 \n border-ui-primary group ".concat("hover:text-ui-brand-inverse hover:bg-ui-primary hover:border-ui-primary"," ").concat(a," ").concat("transition-all duration-300 ease"," disabled:opacity-10"),iconButtonClassNames:"group-hover:bg-ui-brand-inverse group-hover:text-ui-primary"}})({position:c,size:l}),p=()=>(0,r.jsxs)(r.Fragment,{children:["left"===c&&(0,r.jsx)(a.A,{size:l,as:"span",className:h,children:o}),s,"right"===c&&(0,r.jsx)(a.A,{size:l,as:"span",className:h,children:o})]});return t?(0,r.jsx)(i.c,{to:t,className:u,...d,children:p()}):(0,r.jsx)("button",{type:"button",className:u,...d,children:p()})};var o=l},43965:function(e,t,s){s.d(t,{r:function(){return i}});var a=s(56723);const i=e=>{let{...t}=e;return(0,a.jsx)("svg",{viewBox:"0 0 16 16",width:"16",height:"16",...t,children:(0,a.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"m6.027 7.297 3.766-3.812a.51.51 0 0 1 .724 0c.2.203.2.531 0 .734L6.781 8l3.736 3.781c.2.203.2.531 0 .734a.51.51 0 0 1-.724 0L6.027 8.703a1 1 0 0 1 0-1.406"})})}},36918:function(e,t,s){s.r(t),s.d(t,{Tag:function(){return r}});var a=s(74176),i=s(75877),n=s(56723);const r=e=>{let{children:t,className:s="",size:r="md",asChild:l=!1,isActive:o=!1,withHover:c=!1,as:d="span",...u}=e;const h=l?a.D:d;return(0,n.jsx)(h,{className:(0,i.cn)("inline-flex bg-ui-primary/8 justify-center","rounded-full text-ui-primary border-none outline-none whitespace-nowrap","ui-label_s",{"bg-ui-accent-20":o,"transition-colors ease-in-out duration-300 hover:text-ui-accent":c,"px-sm py-xs":"sm"===r,"px-sm py-xs tablet:px-md tablet:py-sm":"md"===r},[s]),...u,children:t})};r.displayName="Tag"}}]); 2//# sourceMappingURL=9421.801cd60c.chunk.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.