PageSourceSearch

https://www.nordkurier.de/assets/index-DFpvEvPW.js

js nordkurier.de collected 2026-09-24 08:47:34 UTC 423,198 bytes, 29 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/SveLightboxSwiper-B8DQj9rl.js","assets/vendor-react-gl_RECdO.js","assets/vendor-dayjs-BdtQUrUw.js","assets/vendor-ramda-BV7m7gNz.js","assets/vendor-stencils-DJ0ubNmc.js","assets/vendor-react-dom-CJBbSQHc.js","assets/entry.client-C8MizHBJ.js","assets/vendor-focus-trap-DP2HUxi4.js","assets/SveLightboxSwiper-Dqxo0i0e.css"])))=>i.map(i=>d[i]);
2import{c as Xe,b as xe,h as Fa,j as kc,u as st,k as C,A as M,l as Nc,m as be,U as vt,n as Xt,o as Qt,p as Lc,a as Bn,q as Ac,W as Ha,v as _,w as Pc,x as Ic,y as Mc}from"./vendor-stencils-DJ0ubNmc.js";import{c as G,b as f,j as s,r as Ec}from"./vendor-react-gl_RECdO.js";import{L as rt,a as _c,u as Qs}from"./entry.client-C8MizHBJ.js";import{a as $n,d as Pt,u as Vc,t as Dc,r as Rc,b as Bc}from"./vendor-dayjs-BdtQUrUw.js";import{b,l as Zt,c as at,H as Ua,g as Wa,G as xt,I as On,J as Je,K as $c,L as Oc,M as zc,N as Fc,O as Hc,B as ti,P as ei,e as ni,Q as qa,x as si,r as Ga,h as mt,R as Uc,S as Wc,T as qc,U as Be,V as Cn,F as ye,j as Za,W as Gc,X as Zc,Y as Kc,f as Yc,q as Ka,Z as Xc,_ as Ya,$ as Jc,w as sr,a0 as Qc,a1 as td,a2 as ed,A as Xa,a3 as nd,C as sd}from"./vendor-ramda-BV7m7gNz.js";import{F as id}from"./vendor-focus-trap-DP2HUxi4.js";const rd="modulepreload",ad=function(t){return"/"+t},ir={},Ja=function(e,n,i){let r=Promise.resolve();if(n&&n.length>0){let o=function(d){return Promise.all(d.map(m=>Promise.resolve(m).then(u=>({status:"fulfilled",value:u}),u=>({status:"rejected",reason:u}))))};document.getElementsByTagName("link");const l=document.querySelector("meta[property=csp-nonce]"),c=l?.nonce||l?.getAttribute("nonce");r=o(n.map(d=>{if(d=ad(d),d in ir)return;ir[d]=!0;const m=d.endsWith(".css"),u=m?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${d}"]${u}`))return;const h=document.createElement("link");if(h.rel=m?"stylesheet":rd,m||(h.as="script"),h.crossOrigin="",h.href=d,c&&h.setAttribute("nonce",c),document.head.appendChild(h),m)return new Promise((w,g)=>{h.addEventListener("load",w),h.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${d}`)))})}))}function a(o){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=o,window.dispatchEvent(l),!l.defaultPrevented)throw o}return r.then(o=>{for(const l of o||[])l.status==="rejected"&&a(l.reason);return e().catch(a)})};var es,rr;function od(){if(rr)return es;rr=1;const t=Symbol("required"),e=Symbol("chained");es={get required(){const u=o(this);return u[t]=!0,u},obj(u={},h={}){const w={type:"object",properties:{}};if(h.title&&(w.title=h.title),h.description&&(w.description=h.description),h.strict&&(w.additionalProperties=!1),h.dependencies&&m(w,h.dependencies),h.default!==void 0&&(w.default=h.default),h.required){if(!Array.isArray(h.required))throw new Error("'required' must be an array");w.required=h.required}for(const g in u){const p=u[g];let x;c(p)?x=r(w,g,p):(x=p,p[t]&&(w.required=w.required||[],w.required.push(g))),w.properties[g]=x}return n(this,w)},strictObj(u={},h={}){return h.strict=!0,this.obj(u,h)},enum(...u){return Array.isArray(u[0])&&(u=u[0]),n(this,{type:l(u[0]),enum:u})},const(u){return n(this,{const:u})},arrayOf(u,h){const w=a(u),g=n(this,{type:"array",items:w}),{minItems:p,maxItems:x,uniqueItems:y}=h||{};return p!==void 0&&(g.minItems=p),x!==void 0&&(g.maxItems=x),y!==void 0&&(g.uniqueItems=y),g},string(u){const{pattern:h,format:w,minLength:g,maxLength:p}=u||{},x={type:"string"};if(h)if(h instanceof RegExp){if(h.flags)throw new Error(`JSON schema does not support regexp flags: ${h}`);x.pattern=h.source}else x.pattern=h;return w&&(x.format=w),g&&(x.minLength=g),p&&(x.maxLength=p),n(this,x)},number(u){const{min:h,max:w,integer:g}=u||{},x={type:g?"integer":"number"};return h!=null&&(x.minimum=h),w!=null&&(x.maximum=w),n(this,x)},integer(u){return this.number({...u,integer:!0})},boolean(){return n(this,{type:"boolean"})},null(){return n(this,{type:"null"})},types(...u){const h={};for(let w of u)c(w)&&(w=r({},"",w)),i(w,h),Object.assign(h,w);return n(this,h)},definitions(u){const h=o(this);return h[e].definitions=u,h},$ref(u){return n(this,{$ref:u})},$id(u){const h=o(this);return h[e].$id=u,h},anyOf(...u){const h=Array.isArray(u[0])?u[0]:u;return n(this,{anyOf:h.map(a)})},oneOf(...u){const h=Array.isArray(u[0])?u[0]:u;return n(this,{oneOf:h.map(a)})},allOf(...u){const h=Array.isArray(u[0])?u[0]:u;return n(this,{allOf:h})}};function n(u,h){return u[t]&&(h[t]=!0),u[e]&&Object.assign(h,u[e]),h}function i(u,h){if(u.type&&h.type){const w=Array.isArray(u.type)?u.type:[u.type],g=Array.isArray(h.type)?h.type:[h.type];g.push(...w),u.type=g}}function r(u,h,w){const[g,...p]=w.split(":"),x={type:g};for(const y of p)y==="uri"&&(x.format="uri"),y==="date-time"&&(x.format="date-time"),y==="required"&&(u.required=u.required||[],u.required.push(h)),Math.floor(y)&&(x.minLength=1,x.maxLength=Math.floor(y));return x}function a(u){return c(u)?{type:u}:u}function o(u){return u[e]||(u=Object.create(u),u[e]={}),u}function l(u){return c(u)?"string":Array.isArray(u)?"array":d(u)?"number":u==null?"null":"object"}function c(u){return typeof u=="string"}function d(u){return typeof u=="number"}function m(u,h){const w={};for(const g in h){const p=h[g];
2w[g]=c(p)?[p]:p}u.dependencies=w}return es}var ld=od();const me=$n(ld),[cd,Bx,$x]=Xe({keyPath:"routing",schema:me.obj({})},{},({config:t})=>{const{route:e}=t,n={route:(i,r,a,o,l)=>({documentId:c,metadata:d})=>{if(e&&e instanceof Function)return e({documentId:c,metadata:d});if(d.route)return d.route;const m=n.getCategoryIdFromDocument(d,i),u=a[m];return[!0,"true"].includes(o)?n.articleHomeSubjectMatterPath({documentId:c,metadata:d,tenantSubjectMatter:l}):n.buildRouteFromDocumentHierarchy({documentId:c,metadata:d},u,r)},articleHomeSubjectMatterPath:({documentId:i,metadata:r,tenantSubjectMatter:a})=>{const o=`${encodeURIComponent(r.slug)}-${i}`,{mainSubjectMatter:l}=r;return`${a.find(d=>d.id===l)?.metadata?.fullPath}/${o}`},buildRouteFromDocumentHierarchy:({documentId:i,metadata:r},a,o)=>{let l=`${encodeURIComponent(r.slug)}-${i}`;if(a){const c=n.buildCategoryPath(a,o),d=r.pathPrefix?`/${r.pathPrefix}`:"";l=`${c}${d}/${l}`}return l},buildCategoryPath:(i,r)=>{const a=[];for(;i;)a.push(i.metadata.path),i=r[i.parent];const o=a.reverse().join("").replace("//","/");return o!=="/"?o:""},getCategoryIdFromDocument:(i,r)=>(i?.tenants||[]).find(l=>l.tenant===r)?.category||0,getRouteBuilder:(i,r,a,o,l)=>e&&e instanceof Function?e:n.route(i,r,a,o,l)};return n}),Ox=()=>xe(cd),dd=/-([a-z])/g,ud=(t,e)=>e.toUpperCase(),md=t=>(t=t.toLowerCase(),t.replace(dd,ud)),Qa=t=>t?.app?t?.document&&Object.keys(t?.document).length>0:t&&typeof t=="object"&&Object.keys(t).length>0,hd=G.createContext(null),to=()=>{const t=f.useContext(hd);if(!t)throw new Error("Context not provided!");return t},wd=t=>{const{children:e}=t;if(!e)throw new Error("Children must be provided");const n=Fa(),i=n?.app?n:to();if(Qa(i)){if(typeof e=="function"){const r=n?.app?{renderingDocument:i.document,...i.node}:{...i};return e(r)}else if(typeof e=="object")return G.cloneElement(e,{props:n?.app?{renderingDocument:i.document,...i.node}:i})}return null},pd=G.createContext(null),fd=()=>{const t=f.useContext(pd);if(!t)throw new Error("Renderer not provided!");return t},gd=G.createContext(null),eo=()=>{const t=f.useContext(gd);if(!t)throw new Error("Router not provided!");return t},ar={mainTitle:{name:"title",type:"doc-editable"},leadParagraph:{name:"lead-paragraph",type:"doc-editable"},image:{name:"image",type:"doc-image"},caption:{name:"caption",type:"doc-editable"},source:{name:"source",type:"doc-editable"},catchline:{name:"catchline",type:"doc-editable"},author:{name:"author-name",type:"doc-editable"},publishDate:{name:"publish-date",type:"doc-editable"},updateDate:{name:"update-date",type:"doc-editable"},date:{name:"date",type:"doc-editable"},header2:{name:"text",type:"doc-editable"},header3:{name:"text",type:"doc-editable"},header4:{name:"header",type:"doc-editable"},regionGroup:{name:"teaserList",type:"doc-include"},articleGroupList:{name:"teaserList",type:"doc-include"},highlightedArticlesGroup:{name:"teaserList",type:"doc-include"},pageContainer:{name:"page_body",type:"doc-container"},articleHeader:{name:"article_header",type:"doc-container"},articleBody:{name:"article_body",type:"doc-container"},paywallCards:{name:"paywall_cards",type:"doc-container"},paywallDetails:{name:"paywall_details",type:"doc-container"},popularListTitle:{name:"popular-list-title",type:"doc-editable"},sectionTitle:{name:"section-title",type:"doc-editable"},sectionSubtitle:{name:"section-subtitle",type:"doc-editable"},freeHtml:{name:"free-html",type:"doc-html"},selectLabel:{name:"select-label",type:"doc-editable"},paragraph:{name:"text",type:"doc-editable"},span:{name:"register-banner-button",type:"doc-editable"},paywallBannerSecondaryText:{name:"paywall-banner-secondary-text",type:"doc-editable"},paywallSubscriptionBoxContainer:{name:"paywallSubscriptionBoxContainer",type:"doc-container"},relatedArticlesContainer:{name:"related-articles",type:"doc-container"},teaser:{name:"teaser",type:"doc-include"},list:{name:"list",type:"doc-container"},listItem:{name:"text",type:"doc-editable"},blockquote:{name:"text",type:"doc-editable"},fullAuthor:{name:"author",type:"doc-editable"},articleGroupSmall:{name:"teaserList",type:"doc-include"},articleGroupLarge:{name:"teaserList",type:"doc-include"},articleTeaserList:{name:"teaserList",type:"doc-include"},categoryHeaders:{name:"categoryHeaders",type:"doc-include"},articleCategoryList:{name:"categoryList",type:"doc-include"},sectionA:{name:"sectionA",type:"doc-container"},sectionB:{name:"sectionB",type:"doc-container"},sectionC:{name:"sectionC",type:"doc-container"},containerOne:{name:"container_one",type:"doc-container"},containerTwo:{name:"container_two",type:"doc-container"},containerThree:{name:"container_three",type:"doc-container"},containerFour:{name:"container_four",type:"doc-container"},ctaTitle:{name:"ctaTitle",type:"doc-editable"},ctaParagraph:{name:"ctaParagraph",type:"doc-editable"},ctaBtn:{name:"ctaBtn",type:"doc-editable"},ctaLabel:{name:"ctaLabel",type:"doc-editable"},ctaLink:{name:"ctaLink",type:"doc-editable"},regionOptions:{name:"regionOptions",type:"doc-include"},relatedTopics:{name:"relatedTopics",type:"doc-include"},oEmbed:{name:"oembedDirective",type:"doc-include"},embed:{name:"embed",type:"doc-include"}
2,contributorEmail:{name:"contributorEmail",type:"doc-editable"},contributorPhone:{name:"contributorPhone",type:"doc-editable"},teaserExcerpt:{name:"teaser",type:"doc-editable"},link:{name:"link",type:"doc-link"},location:{name:"location",type:"doc-editable"},showChip:{name:"showChip",type:"doc-toggle"},contributorLink:{name:"contributorLink",type:"doc-editable"},showCaption:{name:"showCaption",type:"doc-toggle"},showButton:{name:"showButton",type:"doc-toggle"},analyticsList:{name:"analyticsData",type:"doc-include"},manualList:{name:"manualList",type:"doc-include"},sectionATitle:{name:"sectionATitle",type:"doc-editable"},sectionBTitle:{name:"sectionBTitle",type:"doc-editable"},sectionCTitle:{name:"sectionCTitle",type:"doc-editable"},tableData:{name:"tableData",type:"doc-editable"},tableBody:{name:"tableBody",type:"doc-container"},tableHeader:{name:"tableHeader",type:"doc-container"},tableRow:{name:"tableRow",type:"doc-container"},accordionItem:{name:"accordionItem",type:"doc-container"},showImage:{name:"showImage",type:"doc-toggle"},showTitle:{name:"showTitle",type:"doc-toggle"},showCatchline:{name:"showCatchline",type:"doc-toggle"},carouselContainer:{name:"carouselContainer",type:"doc-container"},showContainer:{name:"showContainer",type:"doc-toggle"}},N=t=>{if(Fa()?.app)return G.createElement(kc,{...t,attribute:ar[t.attribute].name});const n=fd(),i=to(),{attribute:r,useDesignProperties:a,children:o}=t;if(!r)throw new Error("Directive component must have valid attribute provided!");const l=ar[r];if(r&&!l)throw new Error(`Directive with attribute ${r} not recognized!`);if(!o)throw new Error("Directive component must have children element!");const c={style:{}},d={};Object.keys(t).forEach(w=>{w.startsWith("doc-")&&(d[w]=t[w])}),l&&(d[l.type]=l.name);const m=d["doc-toggle"];let u=!1,h=null;if(Qa(i)){const{content:w,includes:g,ldData:p,documentId:x,metadata:y}=i;if(u=m&&w?.[m]===!1,Object.keys(d).forEach(v=>{const S=d[v],j=w?.[S],k=g?.[S];switch(v){case"doc-style":const I=j;if(I&&typeof I=="object")for(const[A,E]of Object.entries(I)){const B=p.designProperties?.[A]?.cssPropertyName;B&&(c.style[md(B)]=E)}break;case"doc-container":case"doc-include":if(j?.params?.template&&k&&k.length>0){const A=k.map(B=>B.props.content),E=[{component:j?.params?.template,props:{key:j?.params?.template,content:A}}];h=G.createElement(n,{rendition:E})}else h=G.createElement(n,{rendition:k});!k&&j?.html&&(c.dangerouslySetInnerHTML={__html:j.html},c.children=null,h=null);break;case"doc-editable":c.dangerouslySetInnerHTML={__html:j},c.children=null;break;case"doc-image":c.src=j?.url,u=!c.src;break;case"doc-html":c.dangerouslySetInnerHTML={__html:j?.html},c.children=null;break;case"doc-link":const V=eo();y&&x?c.href=V({metadata:y,documentId:x}):j.metadata&&j.documentId?c.href=V({metadata:j.metadata,documentId:j.documentId}):j.href&&(c.href=j.href);break}}),a&&p.styles&&typeof p.styles=="object")for(const[,v]of Object.entries(p.styles))v&&(c.className=c.className?`${c.className} ${v}`:v);if(o&&!h&&(h=o),u)return null}else Object.keys(d).forEach(w=>{c[w]=d[w]}),h=o;return G.cloneElement(h,c)},Dt=G.createContext(null),ut=({IconComponent:t,customClasses:e,title:n,isDecorative:i,role:r=null})=>{const a=f.useId();return t?s.jsx(t,{isDecorative:i,id:a,customClasses:e,title:n,role:r}):null},bt=({isDecorative:t,title:e,titleId:n})=>!t&&e?n:null,xd=({customClasses:t,id:e,isDecorative:n,title:i,role:r})=>{const a=`${e}-title`;return s.jsxs("svg",{id:e,className:t,role:r,"aria-hidden":n,"aria-labelledby":bt({isDecorative:n,title:i,titleId:a}),width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[!n&&i&&s.jsx("title",{id:a,children:i}),s.jsx("path",{d:"M12.6 12L8 7.4L9.4 6L15.4 12L9.4 18L8 16.6L12.6 12Z",fill:"#57585C"})]})},no=({breadcrumbs:t,customClasses:e})=>{const n=st(),i=G.useContext(Dt)?.breadcrumbs||{},r=n?.systemdata?.documentType,a=n?.systemdata?.contentType,o=f.useRef(null),l=f.useRef([]),[c,d]=f.useState(0),m=i?.breadcrumbs?.slice(0,-1),u=t?.breadcrumbs?.slice(0,-1);f.useEffect(()=>{const w=()=>{window.innerWidth<=768&&g()};function g(){const p=o.current;
2if(!p)return;const x=l.current,y=x[x.length-1];if(!y)return;y.classList.remove("[&_span]:tw-truncate");const v=p.offsetWidth;let S=y.scrollWidth,j=0;for(let k=x.length-2;k>=0;k--)if(x[k]&&(S+=x[k].scrollWidth,S>v)){j=k+1;break}d(j),y.classList.add("[&_span]:tw-truncate")}return w(),window.addEventListener("resize",w()),()=>window.removeEventListener("resize",w())},[t]);const h=w=>w?s.jsxs("ol",{ref:o,"aria-label":"Breadcrumbs",className:`tw-items-center tw-flex tw-mb-2 print:tw-hidden
3          ${r==="article"?"tw-max-w-[660px] tw-mx-auto tw-w-full":""} ${e}
4        `,children:[c>0&&s.jsxs("li",{children:[s.jsx("span",{"aria-hidden":"true",children:"…"}),s.jsx("span",{className:"tw-sr-only",children:"Versteckte Breadcrumb-Elemente"})]}),w.map((g,p)=>p<c?s.jsx("li",{ref:x=>l.current[p]=x,"aria-hidden":"true",className:"tw-hidden"},`${g.link}-${p}`):s.jsx("li",{ref:x=>l.current[p]=x,className:"[&_.icon]:first:tw-hidden tw-py-3.5 tw-h-12 tw-inline-flex tw-items-center tw-min-w-0",children:s.jsxs(rt,{to:g.link,"aria-label":g.name,className:"tw-text-sm tw-inline-flex tw-flex-nowrap tw-items-center tw-text-neutral-10 hover:[&_span]:tw-text-primary-40 hover:!tw-decoration-primary-40 tw-decoration-1 hover:tw-underline focus:tw-border tw-border-solid tw-border-neutral-30 tw-rounded-sm tw-transition-all tw-duration-100 tw-ease-in tw-min-w-0 group",children:[s.jsx(ut,{customClasses:"[&_path]:tw-fill-neutral-10 icon group-hover:[&_path]:tw-fill-primary-40 tw-h-4 tw-w-4",IconComponent:xd,isDecorative:!0,title:"chevron-symbol rechts"}),s.jsx("span",{className:"tw-whitespace-nowrap tw-min-w-0 tw-inline-block",children:g.name})]})},`${g.link}-${p}`))]}):null;return i?.breadcrumbsEnabled?h(m):t?.breadcrumbsEnabled&&(["page","author-page","newsticker-page"].includes(r)||["topic-index-layout-page","topic-layout-page"].includes(a))?s.jsx("div",{className:"tw-max-w-wrapper-1000 tw-mx-auto tw-w-full",children:h(u)}):null},Tn=({customClasses:t,id:e,isDecorative:n,title:i,role:r})=>{const a=`${e}-title`;return s.jsxs("svg",{id:e,className:t,role:r,"aria-hidden":n,"aria-labelledby":bt({isDecorative:n,title:i,titleId:a}),width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[!n&&i&&s.jsx("title",{id:a,children:i}),s.jsx("path",{d:"M4.66667 1C2.64162 1 1 2.64162 1 4.66667V19.3333C1 21.3584 2.64162 23 4.66667 23H19.3333C21.3584 23 23 21.3584 23 19.3333V4.66667C23 2.64162 21.3584 1 19.3333 1H4.66667ZM5.7593 5.71429H9.91704L12.8696 9.90988L16.4524 5.71429H17.7619L13.4609 10.7498L18.7645 18.2857H14.6078L11.1815 13.418L7.02381 18.2857H5.71429L10.5902 12.578L5.7593 5.71429ZM7.76451 6.76191L15.1541 17.2381H16.7593L9.3697 6.76191H7.76451Z",fill:"#191C1E"})]})},Sn=({customClasses:t,id:e,isDecorative:n,title:i,role:r})=>{const a=`${e}-title`;return s.jsxs("svg",{id:e,className:t,role:r,"aria-hidden":n,"aria-labelledby":bt({isDecorative:n,title:i,titleId:a}),width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[!n&&i&&s.jsx("title",{id:a,children:i}),s.jsx("path",{fill:"#0866ff",d:"M23 12A11 11 0 1 0 9.34 22.68v-7.32H7.07V12h2.27v-1.45c0-3.74 1.7-5.48 5.37-5.48.7 0 1.9.14 2.4.28v3.04q-.42-.04-1.28-.04c-1.8 0-2.5.68-2.5 2.46V12h3.6l-.62 3.36h-2.98v7.56A11 11 0 0 0 23 12"}),s.jsx("path",{fill:"#fff",d:"m16.3 15.36.63-3.36h-3.6v-1.19c0-1.78.7-2.46 2.5-2.46q.86 0 1.27.04V5.35c-.49-.14-1.7-.28-2.39-.28-3.67 0-5.37 1.74-5.37 5.48V12H7.07v3.36h2.27v7.32a11 11 0 0 0 4 .24v-7.56z"})]})},kn=({customClasses:t,id:e,isDecorative:n,title:i,role:r})=>{const a=`${e}-title`;return s.jsxs("svg",{id:e,className:t,role:r,"aria-hidden":n,"aria-labelledby":bt({isDecorative:n,title:i,titleId:a}),width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[!n&&i&&s.jsx("title",{id:a,children:i}),s.jsx("path",{d:"M4 20C3.45 20 2.97917 19.8042 2.5875 19.4125C2.19583 19.0208 2 18.55 2 18V6C2 5.45 2.19583 4.97917 2.5875 4.5875C2.97917 4.19583 3.45 4 4 4H20C20.55 4 21.0208 4.19583 21.4125 4.5875C21.8042 4.97917 22 5.45 22 6V18C22 18.55 21.8042 19.0208 21.4125 19.4125C21.0208 19.8042 20.55 20 20 20H4ZM12 13L20 8V6L12 11L4 6V8L12 13Z",fill:"#B32922"})]})},Nn=({customClasses:t,id:e,isDecorative:n,title:i,role:r})=>{const a=`${e}-title`;return s.jsxs("svg",{id:e,className:t,role:r,"aria-hidden":n,"aria-labelledby":bt({isDecorative:n,title:i,titleId:a}),width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[!n&&i&&s.jsx("title",{id:a,children:i}),s.jsx("path",{d:"M11 17H7C5.61667 17 4.4375 16.5125 3.4625 15.5375C2.4875 14.5625 2 13.3833 2 12C2 10.6167 2.4875 9.4375 3.4625 8.4625C4.4375 7.4875 5.61667 7 7 7H11V9H7C6.16667 9 5.45833 9.29167 4.875 9.875C4.29167 10.4583 4 11.1667 4 12C4 12.8333 4.29167 13.5417 4.875 14.125C5.45833 14.7083 6.16667 15 7 15H11V17ZM8 13V11H16V13H8ZM13 17V1
45H17C17.8333 15 18.5417 14.7083 19.125 14.125C19.7083 13.5417 20 12.8333 20 12C20 11.1667 19.7083 10.4583 19.125 9.875C18.5417 9.29167 17.8333 9 17 9H13V7H17C18.3833 7 19.5625 7.4875 20.5375 8.4625C21.5125 9.4375 22 10.6167 22 12C22 13.3833 21.5125 14.5625 20.5375 15.5375C19.5625 16.5125 18.3833 17 17 17H13Z",fill:"#B32922"})]})},ii=({customClasses:t,id:e,isDecorative:n,title:i,role:r})=>{const a=`${e}-title`;return s.jsxs("svg",{id:e,className:t,role:r,"aria-hidden":n,"aria-labelledby":bt({isDecorative:n,title:i,titleId:a}),width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[!n&&i&&s.jsx("title",{id:a,children:i}),s.jsx("path",{d:"M10.6 16.6L17.65 9.55L16.25 8.15L10.6 13.8L7.75 10.95L6.35 12.35L10.6 16.6ZM12 22C10.6167 22 9.31667 21.7375 8.1 21.2125C6.88333 20.6875 5.825 19.975 4.925 19.075C4.025 18.175 3.3125 17.1167 2.7875 15.9C2.2625 14.6833 2 13.3833 2 12C2 10.6167 2.2625 9.31667 2.7875 8.1C3.3125 6.88333 4.025 5.825 4.925 4.925C5.825 4.025 6.88333 3.3125 8.1 2.7875C9.31667 2.2625 10.6167 2 12 2C13.3833 2 14.6833 2.2625 15.9 2.7875C17.1167 3.3125 18.175 4.025 19.075 4.925C19.975 5.825 20.6875 6.88333 21.2125 8.1C21.7375 9.31667 22 10.6167 22 12C22 13.3833 21.7375 14.6833 21.2125 15.9C20.6875 17.1167 19.975 18.175 19.075 19.075C18.175 19.975 17.1167 20.6875 15.9 21.2125C14.6833 21.7375 13.3833 22 12 22ZM12 20C14.2333 20 16.125 19.225 17.675 17.675C19.225 16.125 20 14.2333 20 12C20 9.76667 19.225 7.875 17.675 6.325C16.125 4.775 14.2333 4 12 4C9.76667 4 7.875 4.775 6.325 6.325C4.775 7.875 4 9.76667 4 12C4 14.2333 4.775 16.125 6.325 17.675C7.875 19.225 9.76667 20 12 20Z",fill:"#B32922"})]})},so=({customClasses:t,id:e,isDecorative:n,title:i,role:r})=>{const a=`${e}-title`;return s.jsxs("svg",{id:e,className:t,role:r,"aria-hidden":n,"aria-labelledby":bt({isDecorative:n,title:i,titleId:a}),width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[!n&&i&&s.jsx("title",{id:a,children:i}),s.jsx("path",{fill:"#25d366",d:"M19.8 4.2A11 11 0 0 0 12.04 1 10.94 10.94 0 0 0 1.09 11.9c0 1.91.5 3.79 1.46 5.44L1 22.98l5.8-1.51A10.94 10.94 0 0 0 23 11.9a10.8 10.8 0 0 0-3.2-7.7m-7.75 16.76a9 9 0 0 1-4.64-1.27l-.33-.2-3.45.9.92-3.34-.22-.34a9 9 0 0 1-1.39-4.82A9.1 9.1 0 0 1 18.5 5.5a9 9 0 0 1 2.66 6.41c0 5-4.09 9.05-9.1 9.05m4.99-6.79c-.27-.13-1.62-.79-1.87-.88-.25-.1-.43-.14-.62.14-.18.27-.7.88-.86 1.06s-.32.2-.6.07c-.27-.14-1.15-.42-2.2-1.35a8 8 0 0 1-1.52-1.89c-.16-.27-.02-.42.12-.55.12-.12.27-.32.41-.48s.18-.27.27-.45.05-.34-.02-.48-.61-1.48-.84-2.02c-.22-.53-.45-.46-.62-.47h-.52a1 1 0 0 0-.73.33c-.25.28-.96.94-.96 2.27 0 1.34.98 2.64 1.12 2.82.13.18 1.93 2.93 4.67 4.11q.98.4 1.56.57c.66.21 1.26.18 1.73.11.52-.08 1.62-.66 1.84-1.3.23-.63.23-1.17.16-1.29-.06-.11-.25-.18-.52-.31"})]})},io=({customClasses:t,id:e,isDecorative:n,title:i,role:r})=>{const a=`${e}-title`;return s.jsxs("svg",{id:e,className:t,role:r,"aria-hidden":n,"aria-labelledby":bt({isDecorative:n,title:i,titleId:a}),width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[!n&&i&&s.jsx("title",{id:a,children:i}),s.jsxs("g",{"clip-path":"url(#clip0_8346_157424)",children:[s.jsx("path",{d:"M23.9522 11.6415C23.9522 18.3032 18.733 23.2351 12 23.2351C10.791 23.2351 9.63064 23.0754 8.54012 22.7757C8.32833 22.7169 8.10315 22.7336 7.90188 22.822L5.5296 23.8695C4.90905 24.1435 4.20865 23.7022 4.18809 23.0243L4.12307 20.8977C4.11494 20.6357 3.99733 20.391 3.8018 20.2165C1.4759 18.1368 0.0478516 15.1263 0.0478516 11.6415C0.0478516 4.9798 5.26713 0.0478516 12 0.0478516C18.733 0.0478516 23.9522 4.9798 23.9522 11.6415Z",fill:"#0866FF"}),s.jsx("path",{d:"M15.2454 14.9789L19.4067 8.54768C19.825 7.9013 19.05 7.14879 18.4161 7.58624L14.0722 10.5824C13.9259 10.6833 13.7327 10.6862 13.5835 10.5896L9.72777 8.09493C9.40124 7.88361 8.9657 7.97732 8.75486 8.30337L4.59311 14.7346C4.17478 15.381 4.94976 16.1335 5.58371 15.696L9.92857 12.6994C10.0749 12.5985 10.268 12.5956 10.4172 12.6922L14.272 15.1864C14.5985 15.3977 15.0341 15.304 15.2454 14.978V14.9789Z",fill:"white"})]}),s.jsx("defs",{children:s.jsx("clipPath",{id:"clip0_8346_157424",children:s.jsx("rect",{width:"24",height:"24",fill:"white"})})})]})},[bd,zx]=Xe({section:"tenant",schema:me.obj({code:"string",origin:"string",originBases:{type:"object",additionalProperties:me.string({format:"uri"})},endpoint:"string"})},{},({config:t})=>({originBases:{},...t})),ri=()=>xe(bd),ve=({className:t,children:e,params:n={},id:i,style:r,...a})=>{const o=eo(),l=ri(),c=f.useMemo(()=>{const{metadata:g,documentId:p,href:x}=n;return g&&p?o({metadata:g.data??g,documentId:p}):x||""},[n,o]),{isExternal:d,normalizedHref:m}=f.useMemo(()=>
4{if(!c)return{isExternal:!1,normalizedHref:""};try{if(!c.startsWith("http://")&&!c.startsWith("https://")&&!c.startsWith("//"))return{isExternal:!1,normalizedHref:c};const g=new URL(c.startsWith("//")?`https:${c}`:c),p=l?.endpoint?new URL(l.endpoint):null;return p?g.hostname===p.hostname?{isExternal:!1,normalizedHref:`${g.pathname}${g.search}${g.hash}`}:{isExternal:!0,normalizedHref:c}:{isExternal:!0,normalizedHref:c}}catch{return{isExternal:!1,normalizedHref:c}}},[c,l?.endpoint]),{target:u,rel:h}=n,w={...a,className:t,id:i,target:u,rel:h,style:r};if(d){const g=u==="_blank"?h?`${h} noopener noreferrer`:"noopener noreferrer":h;return s.jsx("a",{href:m,...w,rel:g,children:e})}return s.jsx(rt,{to:m,...w,children:e})},yd={large:{withLabel:{component:"tw-h-12 tw-px-8 tw-py-3 tw-text-base tw-tracking-wide"}},medium:{withLabel:{component:"tw-py-3 tw-px-4 tw-text-sm tw-h-10"}},small:{withLabel:{component:"tw-py-2 tw-px-3 tw-text-[0.688rem] tw-leading-[0.75rem] tw-h-7"}}},vd={primary:"tw-bg-primary-40 tw-text-primary-100 tw-border-0 hover:tw-bg-primary-50 focus:tw-bg-primary-60 [&_span]:tw-text-primary-100",secondary:"tw-bg-transparent tw-text-primary-40 tw-border tw-border-solid tw-border-neutral-80 hover:tw-opacity-60 [&_span]:tw-text-primary-40",textOnly:"tw-text-primary-40 hover:tw-opacity-60"},jd={main:"tw-inline-flex tw-items-center tw-justify-center tw-gap-x-1 tw-rounded tw-font-primary tw-font-medium tw-cursor-pointer tw-transition-all tw-duration-200 tw-ease-in tw-whitespace-nowrap"},Ot=G.forwardRef(({customClassName:t="",className:e="",showIconLeft:n=!1,showIconRight:i=!1,showLabel:r=!0,label:a,size:o="large",sizeType:l="withLabel",variant:c="primary",ariaLabel:d,iconLeftProps:m,iconRightProps:u,onClick:h,to:w,params:g,id:p,dataAnalyticsProps:x,children:y},v)=>s.jsx(ve,{params:g??{href:w},id:p,ref:v,"aria-label":d,onClick:h,...x,className:`${jd.main} ${vd[c]} ${yd[o][l].component} ${t} ${e}`,children:y??s.jsxs(s.Fragment,{children:[n&&s.jsx(ut,{...m}),r&&a,i&&s.jsx(ut,{...u})]})})),Cd=t=>{if(!(g=>g?.props?.content||g?.props?.containers?.sectionA.length>0)(t))return null;let n="";if(t.props.content)n=t.props.content.title;else{const g=t.props?.containers?.sectionA;if(g&&g.length>0){const p=g.find(x=>x.component==="sve-article-info-title");p&&(n=p.content.title)}}const[i,r]=f.useState({twitter:"",facebook:"",email:"",whatsApp:"",facebookMessenger:""}),[a,o]=f.useState(!1),[l,c]=f.useState(!1);f.useEffect(()=>{o(window.innerWidth<=768);const g=window.location.href,p=encodeURIComponent(g),x=encodeURIComponent(n),y=`https://www.facebook.com/sharer/sharer.php?u=${p}`,v=`https://x.com/intent/tweet?url=${p}&text=${x}`,S=`mailto:?subject=${encodeURIComponent(`Empfehlung auf ${window.location.host}: `)}&body=${encodeURIComponent(`${n}
5${g}
6`)}`,j=`https://api.whatsapp.com/send?text=${x}%20${p}`,k=`fb-messenger://share/?link=${p}`;r({facebook:y,twitter:v,email:S,whatsApp:j,facebookMessenger:k})},[]);const d=()=>{if(navigator&&navigator.clipboard){const g=window.location.href;navigator.clipboard.writeText(g).then(()=>{c(!0),setTimeout(()=>{c(!1)},2e3)},p=>{console.log("Copy failed!",p)})}else console.log("Clipboard API not available ")},m=g=>{const y=(window.screen.width-568)/2,v=(window.screen.height-765)/2;window.open(g,"Social Media Popup",`height=765,width=568,resizable=1,scrollbars=1,left=${y},top=${v}`)},w=a?[{id:"whatsApp",ariaLabel:"Auf WhatsApp teilen",icon:so,iconTitle:"WhatsApp-Symbol",iconClasses:"",onClick:()=>m(i.whatsApp),trackingClassName:"article-share-whatsapp"},{id:"facebookMessenger",ariaLabel:"Im Facebook Messenger teilen",icon:io,iconTitle:"Facebook Messenger-Symbol",iconClasses:"",onClick:()=>m(i.facebookMessenger),trackingClassName:"article-share-facebook-messenger"},{id:"x",ariaLabel:"Auf X teilen",icon:Tn,iconTitle:"X-Symbol",iconClasses:"",onClick:()=>m(i.twitter),trackingClassName:"article-share-x"},{id:"facebook",ariaLabel:"Auf Facebook teilen",icon:Sn,iconTitle:"Facebook-Symbol",iconClasses:"",onClick:()=>m(i.facebook),trackingClassName:"article-share-facebook"},{id:"email",ariaLabel:"Per E-Mail teilen",icon:kn,iconTitle:"Email-Symbol",iconClasses:"[&_path]:tw-fill-primary-40",onClick:()=>m(i.email),trackingClassName:"article-share-mail"},{id:"copyLink",ariaLabel:"Link kopieren",icon:Nn,iconTitle:"Kopieren-Symbol",iconClasses:"[&_path]:tw-fill-primary-40",dynamic:!0,onClick:d,trackingClassName:"article-share-copy-link"}]:[{id:"x",ariaLabel:"Auf X teilen",icon:Tn,iconTitle:"X-Symbol",iconClasses:"",onClick:()=>m(i.twitter),trackingClassName:"article-share-x"},{id:"facebook",ariaLabel:"Auf Facebook teilen",icon:Sn,iconTitle:"Facebook-Symbol",iconClasses:"",onClick:()=>m(i.facebook),trackingClassName:"article-share-facebook"},{id:"email",ariaLabel:"Per E-Mail teilen",icon:kn,iconTitle:"Email-Symbol",iconClasses:"[&_path]:tw-fill-primary-40",onClick:()=>m(i.email),trackingClassName:"article-share-mail"},{id:"copyLink",ariaLabel:"Link kopieren",icon:Nn,iconTitle:"Kopieren-Symbol",iconClasses:"[&_path]:tw-fill-primary-40",dynamic:!0,onClick:d,trackingClassName:"article-share-copy-link"}];return s.jsx("div",{className:"tw-flex tw-items-center tw-gap-x-2 tw-ml-auto article_body",children:s.jsxs("div",{className:"tw-flex tw-justify-between tw-items-center tw-w-full md:tw-flex-col md:tw-items-start",children:[s.jsx(Ot,{to:"/",label:"Zur Startseite",ariaLabel:"Startseite",variant:"textOnly",size:"large",customClassName:"tr-back-to-home tw-text-label-lg !tw-px-0 !tw-py-0 !tw-no-underline"}),s.jsxs("div",{className:"tw-flex tw-items-center tw-flex-wrap",children:[s.jsx("span",{className:"tw-text-body-lg tw-text-neutral-20 tw-whitespace-nowrap tw-font-primary",children:"Teilen:"}),s.jsx("ul",{className:"tw-flex tw-items-center tw-gap-x-1 tw-list-none tw-m-0 tw-p-0 tw-h-12",children:w.map(({id:g,ariaLabel:p,icon:x,iconTitle:y,iconClasses:v,dynamic:S,onClick:j,trackingClassName:k})=>s.jsxs("li",{className:"tw-relative",children:[l&&S&&g==="copyLink"&&s.jsx("span",{className:"tw-absolute tw-bottom-[calc(100%+8px)] tw-right-0 tw-block tw-whitespace-nowrap tw-py-2 tw-px-3 tw-bg-tertiary-10 t
6w-rounded tw-text-label-md tw-font-primary tw-text-neutral-100 tw-shadow-[0_0_4px_rgba(0,0,0,0,0.25)]",children:"Link kopiert"}),s.jsx("button",{"aria-label":p,className:`${k} tw-flex tw-items-center tw-justify-center tw-w-12 tw-h-12 tw-cursor-pointer tw-bg-transparent tw-border-none tw-rounded-lg hover:tw-bg-neutral-0/[0.08] focus-visible:tw-bg-neutral-0/10 tw-p-0`,onClick:j,children:S&&g==="copyLink"?l?s.jsx(ii,{isDecorative:!0,title:"Kopiert-Symbol",customClasses:v}):s.jsx(ut,{IconComponent:x,isDecorative:!0,title:"Kopieren-Symbol",customClasses:v}):s.jsx(ut,{IconComponent:x,isDecorative:!0,title:y,customClasses:v})})]},g))})]})]})})},Td=({topic:t})=>s.jsx("li",{className:"tw-border tw-text-label-md tw-font-normal tw-leading-5 tw-h-8 sm:tw-font-normal tw-border-solid tw-bg-white tw-border-neutral-80 tw-py-1.5 tw-px-3 tw-font-primary tw-tracking-wider tw-rounded-full tw-transition-all tw-duration-200 tw-cursor-pointer hover:tw-bg-neutral-95 focus:tw-bg-neutral-95 focus:tw-border-neutral-30 tw-whitespace-nowrap",children:s.jsx(rt,{className:"tw-text-neutral-10 tw-inline-block !tw-no-underline",to:t.url,children:t.title})}),Sd=()=>{const{topics:t=[]}=_c();return t.length?s.jsx("nav",{className:"tw-w-full",children:s.jsx("ul",{className:"tw-flex tw-gap-2 tw-overflow-x-auto",children:t.map(e=>s.jsx(Td,{topic:e},e.doc_id))})}):null},ro=({articleProps:t})=>s.jsx("div",{className:"tw-pt-4 print:tw-hidden",children:s.jsx("div",{className:"article_body tw-px-4 lg:tw-px-0",children:s.jsxs("div",{className:"tw-flex tw-flex-col tw-pt-4 tw-border-t tw-border-t-primary-10 tw-border-solid",children:[s.jsx(Cd,{props:t}),s.jsx("div",{className:"tw-flex tw-items-center tw-py-6",children:s.jsx(Sd,{})})]})})}),kd=C("article-container",t=>{const e=b("",["containers","article_header",0],t);return s.jsxs("article",{className:"tw-max-w-[1000px] tw-mx-auto tw-w-full article-progressbar",children:[s.jsxs("div",{children:[s.jsx(no,{}),s.jsx(N,{attribute:"articleHeader",children:s.jsx("div",{})})]}),s.jsx("div",{className:"fp-grid-col-12",children:s.jsx("div",{className:"article_body tw-px-4 lg:tw-px-0",children:s.jsx(N,{attribute:"articleBody",children:s.jsx("div",{})})})}),s.jsx(ro,{articleProps:e})]})}),Nd=C("ticker-container",()=>s.jsxs("article",{className:"tw-px-0",children:[s.jsx("div",{children:s.jsx(N,{attribute:"articleHeader",children:s.jsx("div",{})})}),s.jsx(N,{attribute:"articleBody",children:s.jsx("div",{})})]})),H=(t,e,n)=>{if(!t)return;if(e=e||"teaserImage",n=n||"16:9",!t[e])return null;if(!t[e].crops)return t[e].url;const i=t[e].crops.find(r=>r.name===n);return i?i.url:t[e].url},ne=(t,e)=>{if(!t)return;if(e=e||"16:9",!t.crops)return t.url;const n=t.crops.find(i=>i.name===e);return n?n.url:t.url};var xn={exports:{}},Ld=xn.exports,or;function Ad(){return or||(or=1,function(t,e){(function(n,i,r){t.exports=r(),t.exports.default=r()})("slugify",Ld,function(){var n=JSON.parse(`{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ģ":"G","ģ":"g","Ĩ":"I","ĩ":"i","Ī":"i","ī":"i","Į":"I","į":"i","İ":"I","ı":"i","Ķ":"k","ķ":"k","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ō":"O","ō":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ"
6:"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Å ":"S","Å¡":"s","Å¢":"T","Å£":"t","Ť":"T","Å¥":"t","Ũ":"U","Å©":"u","Ū":"u","Å«":"u","Å®":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Å´":"W","ŵ":"w","Ŷ":"Y","Å·":"y","Ÿ":"Y","Ź":"Z","ź":"z","Å»":"Z","ż":"z","Ž":"Z","ž":"z","Ə":"E","ƒ":"f","Æ ":"O","Æ¡":"o","Ư":"U","ư":"u","Lj":"LJ","lj":"lj","Nj":"NJ","nj":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","ə":"e","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Î¥":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Ð¥":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","ѝ":"u","џ":"dz","Ґ":"G","ґ":"g","Ғ":"GH","ғ":"gh","Қ":"KH","қ":"kh","Ò¢":"NG","Ò£":"ng","Ò®":"UE","Ò¯":"ue","Ò°":"U","Ò±":"u","Òº":"H","Ò»":"h","Ә":"AE","ә":"ae","Ó¨":"OE","Ó©":"oe","Ô±":"A","Ô²":"B","Ô³":"G","Ô´":"D","Ôµ":"E","Ô¶":"Z","Ô·":"E'","Ô¸":"Y'","Ô¹":"T'","Ôº":"JH","Ô»":"I","Ô¼":"L","Ô½":"X","Ô¾":"C'","Ô¿":"K","Հ":"H","Ձ":"D'","Ղ":"GH","Ճ":"TW","Մ":"M","Յ":"Y","Ն":"N","Շ":"SH","Չ":"CH","Պ":"P","Ջ":"J","Ռ":"R'","Ս":"S","Վ":"V","Տ":"T","Ր":"R","Ց":"C","Փ":"P'","Ք":"Q'","Օ":"O''","Ֆ":"F","և":"EV","Ø¡":"a","Ø¢":"aa","Ø£":"a","ؤ":"u","Ø¥":"i","ئ":"e","ا":"a","ب":"b","Ø©":"h","ت":"t","Ø«":"th","ج":"j","Ø­":"h","Ø®":"kh","د":"d","ذ":"th","ر":"r","ز":"z","س":"s","Ø´":"sh","ص":"s","ض":"dh","Ø·":"t","ظ":"z","ع":"a","غ":"gh","ف":"f","ق":"q","ك":"k","ل":"l","م":"m","ن":"n","ه":"h","و":"w","ى":"a","ي":"y","ً":"an","ٌ":"on","ٍ":"en","َ":"a","ُ":"u","ِ":"e","ْ":"","Ù ":"0","Ù¡":"1","Ù¢":"2","Ù£":"3","Ù¤":"4","Ù¥":"5","Ù¦":"6","Ù§":"7","Ù¨":"8","Ù©":"9","Ù¾":"p","چ":"ch","ژ":"zh","Ú©":"k","Ú¯":"g","ی":"y","Û°":"0","Û±":"1","Û²":"2","Û³":"3","Û´":"4","Ûµ":"5","Û¶":"6","Û·":"7","Û¸":"8","Û¹":"9","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","á¹¢":"S","á¹£":"s","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","á» ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","á»§":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","á»­":"u","á»®":"U","ữ":"u","á»°":"U","á»±":"u","Ỳ":"Y","ỳ":"y","á»´":"Y","ỵ":"y","á»¶":"Y","á»·":"y","Ỹ":"Y","ỹ":"y","–":"-","‘":"'","’":"'","“":"\\"","”":"\\"","„":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","â
6‚§":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₸":"kazakhstani tenge","₹":"indian rupee","₺":"turkish lira","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","ï·¼":"rial","ﻵ":"laa","ï»·":"laa","ﻹ":"lai","ï»»":"la"}`),i=JSON.parse('{"bg":{"Й":"Y","Ц":"Ts","Щ":"Sht","Ъ":"A","Ь":"Y","й":"y","ц":"ts","щ":"sht","ъ":"a","ь":"y"},"de":{"Ä":"AE","ä":"ae","Ö":"OE","ö":"oe","Ü":"UE","ü":"ue","ß":"ss","%":"prozent","&":"und","|":"oder","∑":"summe","∞":"unendlich","♥":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","¢":"centavos","£":"libras","¤":"moneda","₣":"francos","∑":"suma","∞":"infinito","♥":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","¢":"centime","£":"livre","¤":"devise","₣":"franc","∑":"somme","∞":"infini","♥":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","¢":"centavo","∑":"soma","£":"libra","∞":"infinito","♥":"amor"},"uk":{"И":"Y","и":"y","Й":"Y","й":"y","Ц":"Ts","ц":"ts","Ð¥":"Kh","х":"kh","Щ":"Shch","щ":"shch","Г":"H","г":"h"},"vi":{"Đ":"D","đ":"d"},"da":{"Ø":"OE","ø":"oe","Å":"AA","Ã¥":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"større end"},"nb":{"&":"og","Å":"AA","Æ":"AE","Ø":"OE","Ã¥":"aa","æ":"ae","ø":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","Å":"AA","Ä":"AE","Ö":"OE","Ã¥":"aa","ä":"ae","ö":"oe"}}');function r(a,o){if(typeof a!="string")throw new Error("slugify: string argument expected");o=typeof o=="string"?{replacement:o}:o||{};var l=i[o.locale]||{},c=o.replacement===void 0?"-":o.replacement,d=o.trim===void 0?!0:o.trim,m=a.normalize().split("").reduce(function(u,h){var w=l[h];return w===void 0&&(w=n[h]),w===void 0&&(w=h),w===c&&(w=" "),u+w.replace(o.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")},"");return o.strict&&(m=m.replace(/[^A-Za-z0-9\s]/g,"")),d&&(m=m.trim()),m=m.replace(/\s+/g,c),o.lower&&(m=m.toLowerCase()),m}return r.extend=function(a){Object.assign(n,a)},r})}(xn)),xn.exports}var Pd=Ad();const Id=$n(Pd);function ao(t){return[{from:/ä/g,to:"ae"},{from:/ö/g,to:"oe"},{from:/ü/g,to:"ue"},{from:/ß/g,to:"ss"},{from:".",to:"-"}].forEach(n=>{t=t.replace(n.from,n.to)}),Id(t)}const Md="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='861.3'%20height='333.3'%20viewBox='0%200%20861.3%20333.3'%3e%3cdefs%3e%3cclipPath%20id='a'%20clipPathUnits='userSpaceOnUse'%3e%3cpath%20d='M0%202207h6460V293H0Z'/%3e%3c/clipPath%3e%3cclipPath%20id='b'%20clipPathUnits='userSpaceOnUse'%3e%3cpath%20d='M0%202207h6460V293H0Z'/%3e%3c/clipPath%3e%3c/defs%3e%3cg%20clip-path='url(%23a)'%20transform='matrix(.1333%200%200%20-.1333%200%20333)'%3e%3cpath%20fill='%23100f0d'%20d='M6221%20293H239A240%20240%200%200%200%200%20532v1436c0%20131%20108%20239%20239%20239h5982c131%200%20239-108%20239-239V532c0-131-108-239-239-239'/%3e%3cpath%20fill='%23a2a2a1'%20d='M6221%202207H239A240%20240%200%200%201%200%201968V532c0-131%20108-239%20239-239h5982c131%200%20239%20108%20239%20239v1436c0%20131-108%20239-239%20239m0-38c111%200%20201-90%20201-201V
6532c0-111-90-201-201-201H239c-111%200-201%2090-201%20201v1436c0%20111%2090%20201%20201%20201z'/%3e%3cpath%20fill='%23fff'%20d='M5117%20771h89v599h-89zm804%20383-102-259h-3l-106%20259h-96l159-362-91-202h93l246%20564zm-506-315c-29%200-70%2015-70%2051%200%2046%2051%2064%2095%2064%2039%200%2057-8%2081-20-7-55-55-95-106-95m11%20328c-65%200-132-28-160-91l80-33c17%2033%2048%2043%2081%2043%2046%200%2093-27%2094-76v-7c-16%2010-51%2023-93%2023-85%200-172-47-172-134%200-80%2070-132%20148-132%2060%200%2093%2027%20114%2059h3v-47h86v230c0%20106-79%20165-181%20165m-552-86h-127v205h127c67%200%20105-55%20105-102%200-46-38-103-105-103m-2%20289h-214V771h89v227h125c99%200%20196%2072%20196%20186s-97%20186-196%20186M3705%20839c-62%200-113%2052-113%20123%200%2072%2051%20124%20113%20124%2061%200%20109-52%20109-124%200-71-48-123-109-123m102%20282h-3c-20%2024-58%2045-107%2045-102%200-195-89-195-204%200-114%2093-203%20195-203%2049%200%2087%2022%20107%2046h3v-29c0-78-41-119-108-119-55%200-89%2039-103%2072l-78-32c23-54%2082-121%20181-121%20105%200%20193%2062%20193%20212v366h-85zm147-350h89v599h-89zm221%20198c-2%2078%2061%20119%20107%20119%2035%200%2065-18%2075-44zm278%2068c-17%2045-69%20129-175%20129-104%200-191-82-191-203%200-114%2086-204%20201-204%2094%200%20148%2057%20170%2090l-69%2047c-23-34-55-57-101-57q-67%200-98%2062l272%20113zm-2168%2067v-87h206q-9-72-47-108c-30-30-77-63-159-63a227%20227%200%200%200-227%20229%20227%20227%200%200%200%20382%20168l61%2061c-51%2049-120%2087-216%2087a321%20321%200%200%201-321-316c0-174%20146-316%20321-316q139%201%20220%2089c57%2057%2075%20137%2075%20202q0%2030-5%2054zm530-265c-62%200-115%2051-115%20124s53%20123%20115%20123c61%200%20115-50%20115-123s-54-124-115-124m0%20327c-113%200-205-85-205-203%200-117%2092-204%20205-204%20112%200%20204%2087%20204%20204%200%20118-92%20203-204%20203m445-327c-61%200-114%2051-114%20124s53%20123%20114%20123c62%200%20115-50%20115-123s-53-124-115-124m0%20327c-112%200-204-85-204-203%200-117%2092-204%20204-204%20113%200%20205%2087%20205%20204%200%20118-92%20203-205%20203'/%3e%3cpath%20fill='%23eb3131'%20d='M991%201278%20482%20737v-1a138%20138%200%200%201%20203-82h1l574%20331z'/%3e%3cpath%20fill='%23f6b60b'%20d='M1507%201370zl-247%20143-279-248%20280-280%20246%20143a138%20138%200%200%201%201%20242'/%3e%3cpath%20fill='%235778c5'%20d='M482%201763q-5-17-5-35V772q0-18%205-35l527%20527z'/%3e%3cpath%20fill='%233bad49'%20d='m995%201250%20264%20264-573%20332a138%20138%200%200%201-204-83z'/%3e%3c/g%3e%3cg%20fill='%23fff'%20clip-path='url(%23b)'%20transform='matrix(.1333%200%200%20-.1333%200%20333)'%3e%3cpath%20d='M2012%201590a98%2098%200%200%200-35%2052l42%2018q6-24%2020-34%2014-11%2033-11%2022%200%2035%2015t13%2040v207h46v-205q0-32-13-54-12-23-33-34-21-12-48-12-34%200-60%2018M2238%201877h181v-44h-135v-84h121v-43h-121v-84h135v-43h-181zM2544%201833h-83v44h212v-44h-83v-254h-46zM2708%201625l156%20208h-149v44h202v-47l-155-208h157v-43h-211zM3041%201833h-83v44h213v-44h-84v-254h-46zM3429%201621q22%200%2034%2013%2014%2013%2014%2032%200%2018-14%2031-13%2014-36%2014h-69v-90zm-7%20130q20%201%2033%2013a41%2041%200%200%201%200%2058q-12%2013-32%2013h-65v-84zm-110%20126h112q23%200%2044-11%2020-10%2032-28t12-40q0-23-11-39t-29-25v-2q22-8%2037-26%2013-19%2013-44%200-24-12-43-13-19-35-30-21-10-46-10h-117zM3583%201877h180v-44h-135v-84h122v-43h-122v-84h135v-43h-180zM3828%201877h46v-298h-46z'/%3e%3c/g%3e%3c/svg%3e",Ed="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='69'%20height='23'%20fill='none'%20viewBox='0%200%2069%2023'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23a6a6a6'%20d='M63.5%200H4.35q-.59.02-1.16.11a4%204%200%200%200-2.03%201.04A3.6%203.6%200%200%200%20.11%203.17q-.1.58-.1%201.16L0%204.86v13.82q.02.58.11%201.15a3.8%203.8%200%200%200%201.04%202.02%203.6%203.6%200%200%200%202.03%201.04%208%208%200%200%200%201.69.1l.63.01h59.16q.58-.02%201.16-.1a4%204%200%200%200%202.03-1.05%203.7%203.7%200%200%200%201.04-2.02%208%208%200%200%200%20.1-1.68l.01-.63V4.33q-.02-.58-.11-1.16A3.72%203.72%200%200%200%2065.82.11q-.58-.1-1.16-.1h-.53z'/%3e%3cpath%20fill='%23000'%20d='M4.87%2022.5h-.52q-.54-.02-1.08-.1a3.4%203.4%200%200%201-1.76-.9%203%203%200%200%201-.9-1.76%207%207%200%200%201-.1-1.6V4.34q0-.54.1-1.08a3.3%203.3%200%200%201%20.9-1.75A3.2%203.2%200%200%201%203.27.6Q3.8.5%204.35.5h60.3q.54%200%201.08.1.5.08.96.3a3.2%203.2%200%200%201%201.7%202.35%208%208%200%200%201%20.1%201.6v13.81q0%20.54-.1%201.07a3.3%203.3%200%200%201-.9%201.75%203%203%200%200%201-1.76.9%207%207%200%200%201-1.6.1H4.87'/%3e%3cpath%20fill='%23fff'%20d='M14.28%2011.67a2.8%202.8%200%200%201%201.36-2.38%203%203%200%200%200-2.3-1.25c-.97-.1-1.9.58-2.4.58s-1.26-.57-2.08-.55a3.1%203.1%200%200%200-2.58%201.57c-1.12%201.93-.28%204.76.78%206.31.54.76%201.16%201.61%201.98%201.58.8-.03%201.1-.5%202.06-.5s1.24.5%202.08.49%201.4-.77%201.91-1.54a6%206%200%200%200%20.88-1.78%202.8%202.8%200%200%201-1.69-2.53M12.7%207.02c.47-.56.7-1.28.65-2a2.9%202.9%200%200%200-2.37%201.85q-.17.5-.14%201.03a2.4%202.4%200%200%200%201.87-.88M24.4%2015.6h-2.74l-.65%201.94h-1.16l2.59-7.14h1.2l2.58%207.14h-1.17zm-2.45-.89h2.16l-1.07-3.13h-.03zM31.8%2014.93c0%201.62-.86%202.66-2.17%202.66a1.8%201.8%200%200%201-1.65-.91h-.02v2.58h-1.07v-6.93h1.04v.87h.02a1.9%201.9%200%200%201%201.66-.93c1.32%200%202.2%201.05%202.2%202.66m-1.1%200c0-1.05-.54-1.74-1.38-1.74-.81%200-1.36.7-1.36%201.74%200%201.05.55%201.75%201.36%201.75.84%200%201.38-.68%201.38-1.75M37.55%2014.93c0%201.62-.87%202.66-2.18%202.66a1.8%201.8%200%200%201-1.64-.91h-.02v2.58h-1.08v-6.93h1.04v.87h.02a1.9%201.9%200%200%201%201.66-.93c1.33%200%202.2%201.05%202.2%202.66m-1.1%200c0-1.05-.55-1.74-1.38-1.74s-1.37.7-1.37%201.74c0%201.05.55%201.75%201.37%201.75s1.38-.68%201.38-1.75M41.35%2015.55c.08.7.77%201.17%201.71%201.17.9%200%201.55-.47%201.55-1.1%200-.56-.39-.9-1.32-1.12l-.92-.22c-1.32-.32-1.93-.93-1.93-1.93%200-1.23%201.08-2.07%202.6-2.07s2.56.84%202.6%202.07h-1.09c-.06-.7-.66-1.14-1.52-1.14s-1.45.44-1.45%201.07c0%20.5.37.8%201.3%201.03l.79.2c1.47.34%202.08.93%202.08%201.97%200%201.34-1.07%202.17-2.77%202.17-1.59%200-2.66-.81-2.73-2.1zM48.06%2011.1v1.23h1v.85h-1v2.87q0%20.66.63.65l.36-.03v.85q-.3.05-.6.05c-1.06%200-1.47-.4-1.47-1.41v-2.98h-.76v-.85h.76V11.1zM49.63%2014.93c0-1.
664.96-2.66%202.47-2.66s2.48%201.02%202.48%202.66-.96%202.67-2.48%202.67-2.47-1.02-2.47-2.67m3.86%200c0-1.12-.52-1.78-1.39-1.78s-1.38.66-1.38%201.78.51%201.79%201.38%201.79%201.39-.66%201.39-1.79M55.46%2012.33h1.02v.89h.03a1.24%201.24%200%200%201%201.25-.95q.2%200%20.37.04v1a2%202%200%200%200-.48-.06%201.08%201.08%200%200%200-1.12%201.2v3.09h-1.07zM63.07%2016c-.14.95-1.06%201.6-2.25%201.6-1.51%200-2.46-1.01-2.46-2.64s.95-2.7%202.42-2.7c1.44%200%202.35%201%202.35%202.57v.37h-3.68v.06a1.35%201.35%200%200%200%201.4%201.48%201.2%201.2%200%200%200%201.2-.73zm-3.62-1.55h2.61a1.25%201.25%200%200%200-1.28-1.32%201.33%201.33%200%200%200-1.33%201.32M22.71%208.45h-2.14V5.02h.53v2.94h1.61zM23.25%207.72c0-.47.35-.74.97-.77l.7-.04v-.23q0-.42-.53-.43-.44%200-.54.3h-.5c.06-.45.48-.74%201.07-.74.65%200%201.01.33%201.01.87v1.77h-.49V8.1h-.04a.9.9%200%200%201-.78.4.8.8%200%200%201-.87-.77m1.67-.22v-.22l-.63.04q-.53.04-.52.38c0%20.23.2.36.48.36a.6.6%200%200%200%20.67-.56M26.1%207.16c0-.82.43-1.34%201.08-1.34a.9.9%200%200%201%20.8.45h.04V4.85h.51v3.6h-.49v-.4H28a.9.9%200%200%201-.82.44c-.66%200-1.07-.51-1.07-1.33m.54%200c0%20.54.26.88.69.88s.7-.34.7-.88-.27-.88-.7-.88-.7.33-.7.88M31.57%207.75a1.05%201.05%200%200%201-1.13.75%201.18%201.18%200%200%201-1.2-1.34%201.2%201.2%200%200%201%201.2-1.35c.72%200%201.16.5%201.16%201.3v.19h-1.83v.02a.7.7%200%200%200%20.69.75.6.6%200%200%200%20.61-.32zm-1.8-.83h1.3a.62.62%200%200%200-.63-.67.67.67%200%200%200-.67.67M32.29%205.86h.49v.41h.04a.8.8%200%200%201%20.77-.46.85.85%200%200%201%20.9.96v1.68h-.51V6.9q0-.62-.56-.62a.6.6%200%200%200-.62.66v1.51h-.51zM36.63%205.1a.33.33%200%200%201%20.38-.35.33.33%200%200%201%20.26.45.3.3%200%200%201-.31.2.3.3%200%200%201-.33-.3m.07.76h.51v2.6h-.5zM38.04%205.86h.5v.42h.03a.78.78%200%200%201%201.44%200h.04a.8.8%200%200%201%20.79-.47.77.77%200%200%201%20.83.86v1.78h-.51V6.8q0-.52-.5-.52a.53.53%200%200%200-.56.54v1.63h-.5v-1.7a.45.45%200%200%200-.5-.47.56.56%200%200%200-.55.59v1.58h-.51z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h69v23H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",_d="/assets/profileAvatar-Q8O12cQE.svg",je=t=>{const[e,n]=f.useState(!1),i=st(),r=G.useContext(Dt)?.theme||"sch",{config:a}=Qs("root"),o=()=>{n(!1)},l=b(_d,["authors","fallbackImageUrl"],a);if(!(p=>p?.props?.content||p?.props?.containers?.sectionA.length>0||p?.props?.containers?.sectionB.length>0)(t)||!i?.metadata?.topics)return null;const d=i?.metadata.topics.documents.map(p=>p.content_type==="author"?p:!1).filter(Boolean);function m(p){const x=p.length;return x===0?null:x===1?s.jsx("li",{children:s.jsx(g,{author:p[0]})}):x===2?s.jsxs(s.Fragment,{children:[s.jsx("li",{children:s.jsx(g,{author:p[0]})}),s.jsxs("li",{children:[s.jsx("span",{className:"tw-text-title-md tw-font-normal sm:tw-text-body-lg",children:" und "}),s.jsx(g,{author:p[1]})]})]}):s.jsxs(s.Fragment,{children:[p.slice(0,x-1).map((y,v)=>s.jsxs("li",{children:[s.jsx(g,{author:y}),v<x-2?",":" "," "]},y.id||v)),s.jsxs("li",{children:[s.jsx("span",{className:"tw-text-title-md tw-font-normal sm:tw-text-body-lg",children:"und "}),s.jsx(g,{author:p[x-1]})]})]})}const u=p=>{const x=typeof window<"u"?window.innerWidth<=768:!1;return x&&Zt(p)<=2?s.jsx("div",{className:"tw-flex tw-items-center",children:p.map((y,v)=>s.jsx(h,{author:y,className:`${v!==0?"-tw-ml-3 tw-outline-2 tw-outline-neutral-100 tw-outline-solid tw-outline":""}`},`author-${v}`))}):Zt(p)<=3&&!x?s.jsx("div",{className:"tw-flex tw-items-center",children:p.map((y,v)=>s.jsx(h,{author:y,className:`${v!==0?"-tw-ml-3 tw-outline-2 tw-outline-neutral-100 tw-outline-solid tw-outline":""}`},`author-${v}`))}):null},h=({author:p,className:x})=>{const y=H(p.metadata,"image","1:1")||l;return y?.startsWith?.("http")||y?.startsWith?.("data:")?s.jsx(M.ImageV2,{imageWidth:48,imageHeight:48,className:`tw-rounded-full tw-h-12 tw-w-12 tw-border tw-border-solid tw-border-neutral-80 tw-overflow-hidden [&>img]:tw-w-full [&>img]:tw-object-cover [&>img]:tw-h-full tw-shrink-0 ${x}`,alt:`${p.metadata.prename||""} ${p.metadata.surname||""}`,sizes:"48px",src:y,fallbackSrc:l}):s.jsx("img",{src:l,alt:`${p.metadata.prename||""} ${p.metadata.surname||""}`,className:`tw-rounded-full tw-h-12 tw-w-12 tw-border tw-border-solid tw-border-neutral-80 tw-overflow-hidden tw-object-cover tw-shrink-0 ${x}`})},w=({authorsList:p})=>Zt(p)===0?s.jsxs("div",{className:"tw-items-start tw-flex tw-text-title-md tw-gap-y-1 sm:tw-text-body-lg",children:[s.jsx("span",{className:"tw-font-normal",children:"Von "}),s.jsx("span",{className:"tw-flex tw-flex-wrap tw-gap-y-1",children:"Bauen & Wohnen"})]}):s.jsxs("div",{className:"tw-flex tw-items-center tw-gap-x-2",children:[u(p),s.jsxs("div",{className:"tw-items-start tw-flex tw-text-title-md tw-gap-y-1 sm:tw-text-body-lg",children:[s.jsx("span",{className:"tw-font-normal",children:"Von "}),s.jsx("ul",{className:"tw-flex tw-flex-wrap tw-gap-y-1",children:m(d)})]})]}),g=({author:p})=>s.jsx(rt,{to:at(Ua("/autoren/"),ao,Wa)([p?.metadata?.prename,p?.metadata?.surname,p?.id].filter(
6Boolean).join(" ")),children:s.jsxs("span",{className:"tw-text-title-md sm:tw-text-label-lg",children:[p?.metadata?.prename||""," ",p?.metadata?.surname||""]})});return s.jsx(s.Fragment,{children:s.jsxs("div",{className:"tw-gap-2 tw-flex",children:[s.jsx("div",{className:"tw-col-span-10 sm:tw-col-span-10 tw-flex",children:s.jsx(w,{authorsList:d})}),e&&s.jsx(id,{active:e,children:s.jsxs("div",{children:[s.jsx("div",{className:"tw-fixed tw-top-0 tw-left-0 tw-w-full tw-h-full tw-z-3 tw-bg-primary-0 tw-opacity-70",onClick:o}),s.jsxs("div",{"aria-hidden":"true",role:"dialog","aria-labelledby":"popup-title",className:"tw-text-left tw-fixed tw-top-1/2 tw-left-2/4 tw-bg-primary-100 -tw-translate-x-2/4 tw-p-6 -tw-translate-y-2/4 tw-z-4 tw-rounded-lg tw-max-w-[350px] [box-shadow:_0_4px_28.7px_0_#00000040]",children:[s.jsxs("div",{className:"tw-flex tw-w-full tw-justify-between tw-mb-4",children:[s.jsx("span",{id:"popup-title",className:"tw-text-title-md tw-mb-0",children:"Unsere App kann noch mehr"}),s.jsx("button",{onClick:o,children:s.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[s.jsx("mask",{id:"mask0_2987_4271",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"24",height:"24",children:s.jsx("rect",{width:"24",height:"24",fill:"#D9D9D9"})}),s.jsx("g",{mask:"url(#mask0_2987_4271)",children:s.jsx("path",{d:"M6.4 19L5 17.6L10.6 12L5 6.4L6.4 5L12 10.6L17.6 5L19 6.4L13.4 12L19 17.6L17.6 19L12 13.4L6.4 19Z",fill:"#191C1E"})})]})})]}),s.jsx("img",{className:"tw-mb-4 tw-max-w-full",width:"300",height:"143",src:r==="nkr"?"/nkr-popup.png":"/sve-popup.png",alt:""}),s.jsx("span",{className:"tw-text-body-md tw-mb-4 tw-block",children:"Digitale Zeitung, personalisierte Nachrichten, Dunkelmodus, Rabatte, Merkliste und mehr. Kostenlos ausprobieren!"}),s.jsx("span",{className:"tw-text-xs tw-text-neutral-10 tw-font-medium",children:"App in den Stores herunterladen"}),s.jsxs("div",{className:"tw-flex tw-gap-x-3 tw-items-center",children:[s.jsx(rt,{to:r==="nkr"?"https://play.google.com/store/apps/details?id=de.nordkurier.live&utm_source=nordkurier.de&utm_medium=button&utm_campaign=merken_vorlesen&utm_content=button_google_play_store":"https://play.google.com/store/apps/details?id=de.schwaebische.epaper&utm_source=schwaebische.de&utm_medium=button&utm_campaign=merken_vorlesen&utm_content=button_google_play_store",target:"_blank",rel:"noreferrer noopener",children:s.jsx("img",{width:"117",src:Md,alt:"App Download im Google Play Store"})}),s.jsx(rt,{to:r==="nkr"?"https://apps.apple.com/de/app/id1250964862?pt=1089427&ct=product_2501_merken_vorlesen&mt=8":"https://apps.apple.com/de/app/id432491155?pt=408680&ct=product_2501_merken_vorlesen&mt=8",target:"_blank",rel:"noreferrer noopener",children:s.jsx("img",{width:"105",src:Ed,alt:"App Download im Ap
6ple Store"})})]})]})]})})]})})},Vd=({customClasses:t,id:e,isDecorative:n,title:i,role:r})=>{const a=`${e}-title`;return s.jsxs("svg",{id:e,className:t,role:r,"aria-hidden":n,"aria-labelledby":bt({isDecorative:n,title:i,titleId:a}),width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[!n&&i&&s.jsx("title",{id:a,children:i}),s.jsx("path",{d:"M17 22C16.1667 22 15.4583 21.7083 14.875 21.125C14.2917 20.5417 14 19.8333 14 19C14 18.9 14.025 18.6667 14.075 18.3L7.05 14.2C6.78333 14.45 6.475 14.6458 6.125 14.7875C5.775 14.9292 5.4 15 5 15C4.16667 15 3.45833 14.7083 2.875 14.125C2.29167 13.5417 2 12.8333 2 12C2 11.1667 2.29167 10.4583 2.875 9.875C3.45833 9.29167 4.16667 9 5 9C5.4 9 5.775 9.07083 6.125 9.2125C6.475 9.35417 6.78333 9.55 7.05 9.8L14.075 5.7C14.0417 5.58333 14.0208 5.47083 14.0125 5.3625C14.0042 5.25417 14 5.13333 14 5C14 4.16667 14.2917 3.45833 14.875 2.875C15.4583 2.29167 16.1667 2 17 2C17.8333 2 18.5417 2.29167 19.125 2.875C19.7083 3.45833 20 4.16667 20 5C20 5.83333 19.7083 6.54167 19.125 7.125C18.5417 7.70833 17.8333 8 17 8C16.6 8 16.225 7.92917 15.875 7.7875C15.525 7.64583 15.2167 7.45 14.95 7.2L7.925 11.3C7.95833 11.4167 7.97917 11.5292 7.9875 11.6375C7.99583 11.7458 8 11.8667 8 12C8 12.1333 7.99583 12.2542 7.9875 12.3625C7.97917 12.4708 7.95833 12.5833 7.925 12.7L14.95 16.8C15.2167 16.55 15.525 16.3542 15.875 16.2125C16.225 16.0708 16.6 16 17 16C17.8333 16 18.5417 16.2917 19.125 16.875C19.7083 17.4583 20 18.1667 20 19C20 19.8333 19.7083 20.5417 19.125 21.125C18.5417 21.7083 17.8333 22 17 22ZM17 20C17.2833 20 17.5208 19.9042 17.7125 19.7125C17.9042 19.5208 18 19.2833 18 19C18 18.7167 17.9042 18.4792 17.7125 18.2875C17.5208 18.0958 17.2833 18 17 18C16.7167 18 16.4792 18.0958 16.2875 18.2875C16.0958 18.4792 16 18.7167 16 19C16 19.2833 16.0958 19.5208 16.2875 19.7125C16.4792 19.9042 16.7167 20 17 20ZM5 13C5.28333 13 5.52083 12.9042 5.7125 12.7125C5.90417 12.5208 6 12.2833 6 12C6 11.7167 5.90417 11.4792 5.7125 11.2875C5.52083 11.0958 5.28333 11 5 11C4.71667 11 4.47917 11.0958 4.2875 11.2875C4.09583 11.4792 4 11.7167 4 12C4 12.2833 4.09583 12.5208 4.2875 12.7125C4.47917 12.9042 4.71667 13 5 13ZM17 6C17.2833 6 17.5208 5.90417 17.7125 5.7125C17.9042 5.52083 18 5.28333 18 5C18 4.71667 17.9042 4.47917 17.7125 4.2875C17.5208 4.09583 17.2833 4 17 4C16.7167 4 16.4792 4.09583 16.2875 4.2875C16.0958 4.47917 16 4.71667 16 5C16 5.28333 16.0958 5.52083 16.2875 5.7125C16.4792 5.90417 16.7167 6 17 6Z",fill:"#B32922"})]})},lr=({customClasses:t,id:e,isDecorative:n,title:i,role:r})=>{const a=`${e}-title`;return s.jsxs("svg",{id:e,className:t,role:r,"aria-hidden":n,"aria-labelledby":bt({isDecorative:n,title:i,titleId:a}),width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[!n&&i&&s.jsx("title",{id:a,children:i}),s.jsx("mask",{id:"mask0_8346_264573",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"24",height:"24",children:s.jsx("rect",{width:"24",height:"24",fill:"#D9D9D9"})}),s.jsx("g",{mask:"url(#mask0_8346_264573)",children:s.jsx("path",{d:"M16 8V5H8V8H6V3H18V8H16ZM18 12.5C18.2833 12.5 18.5208 12.4042 18.7125 12.2125C18.9042 12.0208 19 11.7833 19 11.5C19 11.2167 18.9042 10.9792 18.7125 10.7875C18.5208 10.5958 18.2833 10.5 18 10.5C17.7167 10.5 17.4792 10.5958 17.2875 10.7875C17.0958 10.9792 17 11.2167 17 11.5C17 11.7833 17.0958 12.0208 17.2875 12.2125C17.4792 12.4042 17.7167 12.5 18 12.5ZM16 19V15H8V19H16ZM18 21H6V17H2V11C2 10.15 2.29167 9.4375 2.875 8.8625C3.45833 8.2875 4.16667 8 5 8H19C19.85 8 20.5625 8.2875 21.1375 8.8625C21.7125 9.4375 22 10.15 22 11V17H18V21ZM20 15V11C20 10.7167 19.9042 10.4792 19.7125 10.2875C19.5208 10.0958 19.2833 10 19 10H5C4.71667 10 4.47917 10.0958 4.2875 10.2875C4.09583 10.4792 4 10.7167 4 11V15H6V13H18V15H20Z",fill:"#B32922"})})]})},oo=f.createContext(null),Dd=()=>{const t=f.useContext(oo);if(!t)throw new Error("useBottomSheet must be used inside a BottomSheetContainer");return t},lo=({isOpen:t,onClose:e,children:n,sheetTitle:i,customClasses:r="",closeDelay:a=0})=>{const o=f.useRef(null),[l,c]=f.useState(t),[d,m]=f.useState(!1),[u,h]=f.useState(0),w=f.useRef(0),g=f.useRef(!1);f.useEffect(()=>{t?(c(!0),m(!1),h(0),g.current=!1):l&&p()},[t]);const p=()=>{g.current=!0,m(!0)},x=()=>p(),y=f.useRef(null),v=()=>{y.current&&clearTimeout(y.current),y.current=setTimeout(()=>{p()},a)};f.useEffect(()=>{if(d){const A=setTimeout(()=>{m(!1),g.current=!1,c(!1),e()},300);return()=>clearTimeout(A)}},[d]);const S=A=>{w.current=A.touches[0].clientY},j=A=>{if(g.current)return;const B=A.touches[0].clientY-w.current;B>0&&h(B)},k=()=>{g.current||(u>100?p():h(0))};f.useEffect(()=>{const A=document.body;return t?A.classList.add("tw-overflow-hidden"):A.classList.remove("tw-overflow-hidden"),()=>{A.classList.remove("tw-overflow-hidden")}},[t]);const I=A=>{o.current&&!o.current.contains(A.target)&&p()};f.useEffect(()=>(document.addEventListener("mousedown",I),document.addEventListener("touchstart",I),()=>{document.removeEventListener("mousedown",I),document.removeEventListener("touchstart",I)}),[]),f.useEffect(()=>()=>{y.current&&clearTimeout(y.current)},[]);const V=d?`calc(100% + ${u}px)`:`${u}px`;return l?s.jsx(oo.Provider,{value:{closeSheet:x,closeSheetWithDelay:v},children:s.jsx("div",{className:`tw-fixed tw-inset-0 tw-bg-neutral-0/40 tw-z-[999] ${r}`,children:s.jsx("div",{className:"tw-flex tw-items-end tw-h-full tw-w-full",children:s.jsxs("div",{style:{transform:`translateY(${V})`,transition:d||u===0?"transform 0.3s ease":"none"},ref:o,className:"tw-animate-slide-in-from-bottom tw-w-full tw-z-1 tw-bg-primary-100 t
6w-rounded-t-2xl tw-shadow-[0_-3px_8px_0_#00000040] tw-max-h-[50vh] tw-h-full tw-flex tw-flex-col tw-px-4",children:[s.jsx("div",{onTouchStart:S,onTouchMove:j,onTouchEnd:k,className:"tw-flex tw-justify-center tw-py-4",children:s.jsx("div",{className:"tw-bg-neutral-80 tw-rounded-full tw-w-10 tw-h-1"})}),s.jsx("p",{className:"tw-mb-0 tw-font-primary tw-text-title-md tw-py-3.5",children:i}),s.jsx("div",{className:"tw-h-full tw-overflow-auto",children:n}),s.jsx("div",{className:"tw-pt-5 tw-pb-2 md:tw-flex tw-items-center tw-justify-center tw-hidden tw-mt-auto",children:s.jsx("div",{className:"tw-bg-neutral-10 tw-rounded-full tw-w-[134px] tw-h-1"})})]})})})}):null},Rd=({item:t,isLinkCopied:e})=>{const{closeSheet:n,closeSheetWithDelay:i}=Dd(),r=()=>{t.onClick(),t.id==="copyLink"?i():n()};return s.jsx("li",{children:s.jsxs("button",{"aria-label":t.ariaLabel,className:`${t.trackingClassName} tw-flex tw-items-center tw-gap-x-2 tw-h-12 tw-cursor-pointer hover:tw-bg-neutral-0/[0.04] tw-w-full focus-visible:tw-bg-neutral-0/10 tw-px-0`,onClick:r,children:[t.dynamic&&t.id==="copyLink"?e?s.jsx(ii,{isDecorative:!0,title:"Kopiert-Symbol",customClasses:t.iconClasses}):s.jsx(ut,{IconComponent:t.icon,isDecorative:!0,title:"Kopieren-Symbol",customClasses:t.iconClasses}):s.jsx(ut,{IconComponent:t.icon,isDecorative:!0,title:t.iconTitle,customClasses:t.iconClasses||""}),s.jsx("span",{"aria-live":"assertive",className:"tw-text-body-md tw-neutral-10",children:t.dynamic&&t.id==="copyLink"?e?"Link kopiert":"Link kopieren":t.label})]})})},te=t=>{const e=f.useRef(null),n=f.useRef(null);if(!(j=>j?.props?.content||j?.props?.containers?.sectionA.length>0)(t))return null;let r="";if(t.props.content)r=t.props.content.title;else{const j=t.props?.containers?.sectionA;if(j&&j.length>0){const k=j.find(I=>I.component==="sve-article-info-title");k&&(r=k.content.title)}}const[a,o]=f.useState({twitter:"",facebook:"",email:"",mobileFacebook:"",mobileTwitter:"",whatsApp:"",facebookMessenger:""}),[l,c]=f.useState(!1),[d,m]=f.useState(!1),[u,h]=f.useState(!1),w=()=>{h(j=>!j)};f.useEffect(()=>{c(window.innerWidth<=768);const j=window.location.href,k=encodeURIComponent(j),I=encodeURIComponent(r),V=`https://www.facebook.com/sharer/sharer.php?u=${k}`,A=`https://x.com/intent/tweet?url=${k}&text=${I}`,E=`mailto:?subject=${encodeURIComponent(`Empfehlung auf ${window.location.host}: `)}&body=${encodeURIComponent(`${r}
7${j}
8`)}`,B=`https://m.facebook.com/share.php?u=${k}`,R=`https://api.whatsapp.com/send?text=${I}%20${k}`,F=`fb-messenger://share/?link=${k}`;o({facebook:V,twitter:A,email:E,whatsApp:R,facebookMessenger:F,mobileWebFacebook:B})},[]);const g=()=>{if(navigator&&navigator.clipboard){const j=window.location.href;navigator.clipboard.writeText(j).then(()=>{m(!0),setTimeout(()=>{m(!1),h(!1)},2e3)},k=>{console.log("Copy failed!",k)})}else console.log("Clipboard API not available ")},p=j=>{const V=(window.screen.width-568)/2,A=(window.screen.height-765)/2;window.open(j,"Social Media Popup",`height=765,width=568,resizable=1,scrollbars=1,left=${V},top=${A}`)},x=j=>{e.current&&!e.current.contains(j.target)&&n.current&&!n.current.contains(j.target)&&h(!1)};f.useEffect(()=>(document.addEventListener("mousedown",x),document.addEventListener("touchstart",x),()=>{document.removeEventListener("mousedown",x),document.removeEventListener("touchstart",x)}),[]);const y=[{id:"x",label:"X (ehem. Twitter)",ariaLabel:"Auf X teilen",icon:Tn,iconTitle:"X-Symbol",url:a.twitter,onClick:j=>p(j),socialLinkName:"twitter",needsUrl:!0,trackingClassName:"article-share-x"},{id:"facebook",label:"Facebook",ariaLabel:"Auf Facebook teilen",icon:Sn,iconTitle:"Facebook-Symbol",url:a.facebook,onClick:j=>p(j),socialLinkName:"facebook",needsUrl:!0,trackingClassName:"article-share-facebook"},{id:"email",label:"E-Mail",ariaLabel:"Per E-Mail teilen",icon:kn,iconTitle:"Email-Symbol",url:a.email,iconClasses:"[&_path]:tw-fill-primary-40",onClick:j=>p(j),socialLinkName:"email",needsUrl:!0,trackingClassName:"article-share-mail"},{id:"copyLink",label:"Link kopieren",ariaLabel:"Link kopieren",icon:Nn,iconClasses:"[&_path]:tw-fill-primary-40",dynamic:!0,onClick:g,needsUrl:!1,trackingClassName:"article-share-copy-link"},{id:"print",label:"Artikel drucken",ariaLabel:"Artikel drucken",icon:lr,iconTitle:"Drucken-Symbol",iconClasses:"[&_path]:tw-fill-primary-40",onClick:()=>window.print(),needsUrl:!1,trackingClassName:"article-print"}],v=[{id:"whatsApp",label:"WhatsApp",ariaLabel:"Auf WhatsApp teilen",icon:so,iconTitle:"WhatsApp-Symbol",onClick:()=>p(a.whatsApp),trackingClassName:"article-share-whatsapp"},{id:"facebookMessenger",label:"Facebook Messenger",ariaLabel:"Im Facebook Messenger teilen",icon:io,iconTitle:"Facebook Messenger-Symbol",onClick:()=>p(a.facebookMessenger),trackingClassName:"article-share-facebook-messenger"},{id:"twitter",label:"X (ehemals Twitter) ",ariaLabel:"Auf X teilen",icon:Tn,iconTitle:"X-Symbol",onClick:()=>p(a.twitter),trackingClassName:"article-share-x"},{id:"facebook",label:"Facebook",ariaLabel:"Auf Facebook teilen",icon:Sn,iconTitle:"Facebook-Symbol",onClick:()=>p(a.facebook),trackingClassName:"article-share-facebook"},{id:"email",label:"E-Mail",ariaLabel:"Per E-Mail teilen",icon:kn,iconTitle:"E-Mail-Symbol",iconClasses:"[&_path]:tw-fill-primary-40",onClick:()=>p(a.email),trackingClassName:"article-share-mail"},{id:"copyLink",label:"Link kopieren",ariaLabel:"Link kopieren",icon:Nn,iconClasses:"[&_path]:tw-fill-primary-40",dynamic:!0,onClick:g,trackingClassName:"article-share-copy-link"},{id:"print",label:"Artikel drucken",ariaLabel:"Artikel drucken",icon:lr,iconTitle:"Drucken-Symbol",iconClasses:"[&_path]:tw-fill-primary-40",onClick:()=>window.print(),needsUrl:!1,trackingClassName:"article-print"}],S=({id:j,label:k,ariaLabel:I,icon:V,iconTitle:A,iconClasses:E,dynamic:B,onClick:R,socialLinkName:F,needsUrl:J,trackingClassName:Z},T,D)=>s.jsx("li",{children:s.jsxs("button",{"aria-label":I,className:`${Z} tw-flex tw-items-center tw-gap-x-2 tw-h-12 tw-cursor-pointer hover:tw-bg-neutral-0/[0.04] tw-w-full focus-visible:tw-bg-neutral-0/10 ${D?"tw-px-0":"tw-px-4"}`,onClick:()=>{J?R(a[F]):R(),B||h(!1)},children:[B&&j==="copyLink"?T?s.jsx(ii,{isDecorative:!0,title:"Kopiert-Symbol",customClasses:E}):s.jsx(ut,{IconComponent:V,isDecorative:!0,title:"Kopieren-Symbol",customClasses:E}):s.jsx(ut,{IconComponent:V,isDecorative:!0,title:A,customClasses:E||""}),s.jsx("span",{className:"tw-text-body-md tw-neutral-10",children:B&&j==="copyLink"?T?"Link kopiert":"Link kopieren":k})]})},j);return s.jsxs("div",{className:"tw-flex tw-justify-end tw-ml-auto tw-relative",children:[s.jsxs("button",{ref:n,"aria-label":"Artikel teilen",onClick:w,className:"article-share-button tw-h-12 tw-flex tw-items-center tw-gap-x-1 tw-border tw-border-solid tw-border-neutral-80 tw-rounded-full tw-px-8 tw-ml-auto hover:tw-bg-neutral-0/[0.04] tw-bg-neutral-100 tw-cursor-pointer print:tw-hidden",children:[s.jsx(ut,{IconComponent:Vd,customClasses:"tw-h-6 tw-w-6 [&_path]:tw-fill-primary-40"}),s.jsx("span",{className:"tw-text-label-lg tw-text-primary-40",children:l?"Teilen":"Artikel teilen"})]}),u&&(l?s.jsx(lo,{sheetTitle:"Artikel teilen",isOpen:u,onClose:h,customClasses:"article-share-modal",closeDelay:2e3,children:s.jsx("ul",{className:"tw-flex tw-flex-col",children:v.map(j=>s.jsx(Rd,{item:j,isLinkCopied:d},j.id))})}):s.jsxs("div",{ref:e,className:"article-share-modal [@media(max-width:1030px)]:tw-right-full [@media(max-width:1030px)]:tw-left-auto tw-left-full -tw-bottom-10 tw-bg-neutral-100 tw-absolute tw-flex tw-flex-col tw-py-4 tw-w-[192px] tw-rounded-[10px] tw-shadow-[0px_12px_17.8px_0px_#001A231F,0px_4px_16px_0px_#000E131F,0px_12px_40px_0px_#00000012] print:tw-hidden",children:[s.jsx("span",{className:"tw-font-primary tw-text-label-lg tw-px-4 tw-inline-block",children:"Artikel teilen"}),s.jsx("ul",{children:y.map(j=>S(j,d,l))})]}))]})},zn={config:Symbol("ads/config")};xt(On("id"));const cr=t=>{if(Array.isArray(t)||t instanceof Set)return new Set(t);{const e=new Set;return e.add(t),e}},co=xt(Je(Oc("contentType",cr),$c(["placement","counting"],cr))),Bd=Je(co,zc(On("id"))),$d=Je(Fc,xt(([t,e])=>[t,{...e,id:t}]),Hc),uo=t=>({providers:$d(t.providers),byId:Bd(t.placeholders),placeholders:co(t.placeholders)}
8),gt={adProvider:Symbol("ads/provider"),adProviders:Symbol("ads/providerIndex"),adRenderer:Symbol("ads/renderer"),adVeto:Symbol("ads/veto")},Od=t=>be(gt.adVeto,()=>t),Fx=t=>({...be(gt.adProvider,()=>t),id:t.id}),zd=Nc(gt.adProviders,[gt.adProvider],"id"),Fd=be(gt.adRenderer,{providers:gt.adProviders,vetos:[gt.adVeto]},({providers:t,vetos:e})=>({config:n,placeholder:i,staticClasses:r})=>{const a=st();if(ti(d=>d({document:a,config:n,placeholder:i}),e))return null;const l=t.get(n.id);if(l==null)return console.warn(`A provider implementation with the specified id ${n.id} is not found within this app`),null;const c=l.renderer;return s.jsx(c,{config:n,placeholder:i,staticClasses:r})}),Hd=Od(({document:t,placeholder:e})=>e==null||e.contentType==null?!1:t==null?!0:!e.contentType.has(t.systemdata.contentType)),mo=vt("providers",zd,Fd,Hd),ai={ad:Symbol("ads/ad")},Ud=be(ai.ad,{config:zn.config,AdRenderer:gt.adRenderer},({config:t,AdRenderer:e})=>({placeholderId:n,idPostfix:i,staticClasses:r,documentId:a})=>{const o={...Xt(t.byId[n],`No configuration found for placeholder ${n}`),documentId:a},l=Xt(t.providers[o.provider],`No provider configuration found for ad provider ${o.provider} of placeholder ${n}`);return i&&(o.id=`${o.id}-${i}`,o.providerId=`${o.providerId}-${i}`),s.jsx(e,{config:l,placeholder:o,staticClasses:r})}),zt=t=>{const e=xe(ai.ad);return s.jsx(e,{...t})},Wd=vt("Ad-component",Ud),oi=Symbol(),qd=(t,e)=>({node:t,path:null,impl:e}),Ln=t=>t&&t.node,Fn=t=>t.impl.isBranch(t.node),ho=t=>(Qt(Fn(t),"Called children() on a leaf loc"),t.impl.children(t.node)),wo=(t,e,n)=>t.impl.makeNode(e,n),$e=t=>{if(Fn(t)){const e=ho(t);if(Hn(e)){const[n,...i]=e;return{...t,node:n,path:{l:[],r:i,pnodes:t.node.path?[...t.node.path,t.node]:[t.node],ppath:t.path}}}}},he=t=>{const{node:e,path:n}=t;if(n!=null){const{l:i,r,pnodes:a,ppath:o,isChanged:l}=n;if(Hn(a)){const c=fo(a);return l?{...t,node:wo(t,c,[...i||[],e,...r||[]]),path:o&&{...o,isChanged:!0}}:{...t,node:c,path:o}}}},Qe=t=>{if(t.path===oi)return Ln(t);{const e=he(t);return e==null?Ln(t):Qe(e)}},we=t=>{const{node:e,path:n}=t;if(n){const{l:i,r}=n;if(Hn(r))return{...t,node:tu(r),path:{...n,l:[...i||[],e],r:Qd(r)}}}},dr=t=>{const{node:e,path:n}=t;if(n){const{l:i,r}=n;if(Hn(i))return{node:fo(i),path:{...n,l:Jd(i),r:[e,...r||[]]},impl:t.impl}}},li=(t,e)=>({...t,node:e,path:{...t.path||{},isChanged:t.path&&t.path.isChanged||e!==t.node}}),Gd=(t,e,...n)=>li(t,e(Ln(t),...n)),Ts=(t,e)=>{const{node:n,path:i}=t;Qt(i!=null,"Cannot insert next to the root node");const{l:r}=i;return{...t,node:n,path:{...i,l:[...r||[],e],isChanged:!0}}},Zd=(t,e)=>li(t,wo(t,Ln(t),[...ho(t)||[],e])),Kd=t=>{if(po(t))return t;const e=n=>{let i=n;for(;i!=null;){const r=he(i);if(r!=null){const a=we(r);if(a!=null)return a;i=r}else return{...n,node:i.node,path:oi}}};return(Fn(t)?$e(t):void 0)||we(t)||e(t)},po=t=>t.path===oi,Yd=t=>t[t.length-1],Xd=t=>t.slice(0,-1),fo=Yd,Jd=Xd,Hn=t=>t!=null&&t.length>0,Qd=t=>t.slice(1),tu=t=>t[0],eu=t=>t,nu=(t,e)=>n=>t(e(n)),su=t=>(...e)=>e.reduce((n,i)=>t(i,n),eu),iu=su(nu),Oe=(t,...e)=>iu(...e)(t),ru=t=>({node:t.node,path:null,impl:t.impl}),Un=t=>Xt(t.impl.tag,"The zipper implementation needs to prived the tag fn")(t.node),go=t=>e=>Un(e)===t,au=t=>e=>Un(e)!==t,ci=t=>Un(t)!=null,ou=(t,e,n,...i)=>(Qt(Array.isArray(e)||typeof e=="string"),vo(t,Array.isArray(e)?lu(e):mu(e),n,...i)),xo=(t,e)=>{let n=t,i=$e(t);if(i==null)return t;for(;i!=null;i=we(i))i=e(i),n=i;return he(n)},bo=(t,e)=>{const n=ru(t);let i;for(i=n;!po(i);i=Kd(i))i=e(i);return li(t,Qe(i))},yo=(t,e)=>e(t),vo=(t,e,n,...i)=>{Qt(e.length>0&&e.length%2===0,"At least on pair of scanner / selector must be provided");const[r,a,...o]=e;return r(t,l=>a(l)?o.length===0?Gd(l,n,...i):vo(l,o,n,...i):l)},lu=t=>{if(Xt(Array.isArray(t),"an array of selectors must be provided"),t.length===0)return[yo,ci];const e=[];let n;for(let i of t)i==="//"||(typeof i=="string"&&(i=go(i)),Qt(typeof i=="function","Each sel must resolve to a predicate fn"),n==="//"?e.push(bo):e.push(xo),e.push(i)),n=i;return e},cu=/^([^|]+)\|?/,du=(t,e)=>n=>t(n)||e(n),jo=t=>{const e=t.match(cu);return e?[e[1],...jo(t.slice(e.index+e[0].length))]:[]},uu=t=>{if(t==="/")return[{recursive:!1,segment:"/"}];const e=/^(\/\/?)([^/]+)/;let n=t,i;const r=[];for(;i=n.match(e),i!=null;)r.push({recursive:i[1]==="//",segment:jo(i[2])}),n=n.slice(i.index+i[0].length);return Qt(n.length===0,`Was unable to parse the path ${t}, specifically the following segment: ${n}`),r},ur=t=>t.map(e=>e==="*"?ci:go(e)).reduce(du,()=>!1),mu=t=>(Qt(typeof t=="string","Path must be a string"),uu(t).flatMap(e=>e.segment==="/"?[yo,ci]:e.recursive?[bo,ur(e.segment)]:[xo,ur(e.segment)])),Wn=t=>t.metadata!=null&&Array.isArray(t.content),di=t=>t.containers!=null,qn=t=>t?.isSegment,hu=t=>{const e=[];
8for(const n in t.containers)e.push({isSegment:!0,name:n,tag:`#${n}`,content:t.containers[n]});return e},wu=t=>Wn(t)||di(t)||qn(t),pu=t=>Wn(t)?t.content:di(t)?hu(t):qn(t)?t.content:null,fu=(t,e)=>{if(Wn(t))return{...t,content:e};if(di(t)){const n={...t};for(const i of e)n.containers[i.name]=i.content;return n}else{if(qn(t))return{...t,content:e};throw new Error("This shouldn't happen")}},gu=(t,e)=>t?.content?.[e],xu=t=>Wn(t)?"":qn(t)?t.tag:t.identifier?.split(".")[1],bu={isBranch:wu,children:pu,makeNode:fu,tag:xu,prop:gu},ui=t=>qd(t,bu),yu={serverSideAdInjector:Symbol("ads/server-side-injector")},tn="__f_ads_ad_component",mi=`__f_ads.${tn}`,Co=(t,e)=>{const n=(()=>{switch(!0){case e.placement.every!=null:return ku(e);case e.placement.insertBefore!=null:return Su(e);default:return Nu(e,t.systemdata.documentId)}})();return Oe(t,ui,i=>ou(i,e.placement.in,n),Qe)},vu=(t,e,n,i,r,a)=>{const o=t;if(!Fn(t))return t;if(e===-2){const d=$e(t);if(!d)return o;let m=null,u=d;for(;u;)n(u)&&(m=u),u=we(u);if(m!=null&&i(m)&&r(dr(m))){const h=Ts(m,a);return he(h)}}if(e===-1)return Zd(t,a);if(t=$e(t),t==null)return o;let l=0,c=t;for(;l<e&&t!=null;)c=t,t=we(t),n(c)&&(l+=1);return t!=null&&i(t)&&r(dr(t))?(t=Ts(t,a),he(t)):o},ju=t=>t==null?[]:Array.isArray(t)?t:[t],Cu=new Set(["sve-related-topics","subtitle",tn]),hi=t=>Cu.has(t),Tu=t=>e=>{if(hi(e.node.component))return!1;const n=t.placement.counting;return au(tn)(e)&&(n==null||n.has(Un(e)))},ze=ei(!0),Su=t=>e=>{const n=t.placement.insertBefore||ze,i=(r,a)=>{if(t.placement.counting==null)return!1;const o=r==null||!hi(r);return t.placement.counting.has(a)&&o};return Oe(e,ui,r=>{let a=$e(r);if(!a)return r;let o=0,l=null;for(;a!=null;){const c=l?.node?.component,d=a.node.component;if(i(c,d)&&(o+=1),n(d,o))return r=Ts(a,To(t)),he(r);l=a,a=we(a)}return r},Qe)},ku=t=>e=>{const n=d=>hi(d)?0:t.placement.counting==null||t.placement.counting.has(d)?1:0,i=(d,m,u)=>{const h=t.placement.startFrom??0,w=u>=t.placement.every,g=t.placement.whenBefore||ze,p=t.placement.when||ze,x=r[m+1];return h&&w&&g(d)&&p(x)},r=[...e.content];let a=0;const o=e.content.map((d,m)=>{if(a+=n(d.component),!i(d,m,a))return!1;const u=m+1;return r.length===u?!1:(a=0,u)}).filter(Boolean);let l=0,c=0;return o.forEach(d=>{c+1>=6||(e.content.splice(d+l,0,Lu(t.id,c+1)),c++,l++)}),e},Nu=(t,e)=>n=>{let i=Oe(t.placement.nth,ju,qc((r,a)=>r<=a),Wc);return Be(i)===-1&&(i=[...Cn(i),-1]),Be(i)===-2&&(i=[...Cn(i),-2]),Oe(n,ui,r=>si((a,o)=>vu(a,o,Tu(t),t.placement.when||ze,t.placement.whenAfter||ze,To(t,e)),r,i),Qe)},To=(t,e)=>({identifier:mi,id:t.id,component:tn,documentId:e,ad:{placeholderId:t.id}}),Lu=(t,e)=>({identifier:mi,id:t,component:tn,ad:{placeholderId:t,idPostfix:e}}),Au=t=>t!=null,So=t=>e=>e.contentType.has(t),ko=t=>e=>ti(n=>n({placement:e}),t),No=t=>Oe(t,On("placeholders"),mt(Uc(Au,"placement"))),[Hx,Pu,Ux]=Xe({keyPath:"ads",schema:me.obj({})},{vetos:[gt.adVeto],adProviders:gt.adProviders},({config:t,vetos:e,adProviders:n})=>i=>{const r=uo(t),a=No(r);return ni(a)?qa:si(Co,i,Je(mt(So),Ga(ko(e)))(a))});vt("in-content-ad-placement-server-side",be(yu.serverSideAdInjector,{config:zn.config,vetos:[gt.adVeto]},({config:t,vetos:e})=>{const n=No(t);return ni(n)?qa:i=>si(Co,i,Je(mt(So),Ga(ko(e)))(n))}));const Iu=Lc(mi,{Ad:ai.ad},({Ad:t})=>()=>{const e=Bn();return s.jsx(t,{placeholderId:e.ad.placeholderId,idPostfix:e.ad.idPostfix,documentId:e.documentId})}),Lo={adScripts:Symbol("ads/adScripts")}
8,Mu=be(Lo.adScripts,{config:zn.config,providers:[gt.adProvider],vetoes:[gt.adVeto]},({config:t,providers:e,vetoes:n})=>({placeholder:i,pathName:r})=>{const a=st();return e.map(o=>{const l=Xt(t.providers[o.id],`No provider configuration found for ad provider ${o.id}`);if(ti(m=>m({document:a,config:l,pathName:r}),n))return null;const d=l.script?.[i]||[];return s.jsx(Eu,{scripts:d},o.id)})}),Eu=t=>s.jsx(s.Fragment,{children:t.scripts.map(({id:e,script:n,attributes:i,dnsLink:r})=>{Xt(i,`No attributes configuration found for script ${e}`);const a={},o={src:n??null,dangerouslySetInnerHTML:{__html:`${n}`}};return i.forEach(l=>{const[c,d]=l.split(/=(.+)/);c==="src"&&!d||(d?a[c]=d:a[c]=o?.[c]||"")}),s.jsxs(G.Fragment,{children:[s.jsx("script",{id:e,...a},e),r&&s.jsx("link",{rel:"dns-prefetch",href:r})]},e)})}),Wx=t=>{const e=xe(Lo.adScripts);return s.jsx(e,{...t})},_u=vt("AdScripts",Mu),Vu={config:zn.config},Du=Ac(Vu.config,"ads",{adProviders:gt.adProviders},({configSection:t,adProviders:e})=>uo(t)),Ao=f.createContext({}),qx=({context:t,children:e})=>(Xt(t,"You must provide context to create the AdsContext"),s.jsx(Ao.Provider,{value:t,children:e})),Gx=()=>f.useContext(Ao);vt("server-side-ads",mo,Pu);const Zx=vt("ads",mo,Wd,Du,Iu,_u);Pt.extend(Vc);Pt.extend(Dc);const ht=(t,e,n)=>{if(t)return e=e||"publish-date",n=n||"DD.MM.YYYY • HH:mm",t[e]?Pt(t[e]).tz("Europe/Paris").format(n):null},ee=(t,e)=>{const n=Pt(t),i=Pt(e);return n.isBefore(i)&&i.diff(n,"minute")>=1},Gn="data:image/svg+xml,%3csvg%20width='36'%20height='18'%20viewBox='0%200%2036%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%20%3e%3crect%20width='35.5771'%20height='18'%20rx='4'%20fill='%23006689'%20/%3e%3cpath%20d='M4%205.23047H18.5771V6.40305H4.66969C4.53348%206.21109%204.45116%206.1054%204.33523%205.90093C4.1911%205.64634%204.10342%205.50381%204%205.23047ZM5.17257%207.24116H18.5771V8.58133H6.34517C6.06637%208.33935%205.91517%208.19288%205.67548%207.91164C5.46401%207.66259%205.34645%207.51762%205.17257%207.24116V7.24116ZM7.18337%209.41954H18.5771V10.7597H9.19406C8.717%2010.5357%208.45223%2010.3923%208.02142%2010.09C7.67912%209.84952%207.48412%209.71011%207.18337%209.41954ZM11.0371%2011.5978H18.5771V12.7705H15.8967C14.9082%2012.7555%2014.345%2012.6655%2013.3831%2012.4352C12.4384%2012.2096%2011.916%2012.0114%2011.0371%2011.5978Z'%20fill='white'%20/%3e%3cmask%20id='mask0_5836_15160'%20maskUnits='userSpaceOnUse'%20x='18'%20y='1'%20width='17'%20height='16'%20%3e%3cpath%20d='M18.5771%201H34.5771V17H18.5771V1Z'%20fill='%23D9D9D9'%20/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_5836_15160)'%3e%3cpath%20d='M26.5773%2013.6654C26.3884%2013.6654%2026.2302%2013.6014%2026.1026%2013.4734C25.9746%2013.3458%2025.9106%2013.1876%2025.9106%2012.9987V9.66536H22.5773C22.3884%209.66536%2022.23%209.60136%2022.102%209.47336C21.9744%209.34581%2021.9106%209.18759%2021.9106%208.9987C21.9106%208.80981%2021.9744%208.65136%2022.102%208.52336C22.23%208.39581%2022.3884%208.33203%2022.5773%208.33203H25.9106V4.9987C25.9106%204.80981%2025.9746%204.65136%2026.1026%204.52336C26.2302%204.39581%2026.3884%204.33203%2026.5773%204.33203C26.7662%204.33203%2026.9246%204.39581%2027.0526%204.52336C27.1802%204.65136%2027.244%204.80981%2027.244%204.9987V8.33203H30.5773C30.7662%208.33203%2030.9244%208.39581%2031.052%208.52336C31.18%208.65136%2031.244%208.80981%2031.244%208.9987C31.244%209.18759%2031.18%209.34581%2031.052%209.47336C30.9244%209.60136%2030.7662%209.66536%2030.5773%209.66536H27.244V12.9987C27.244%2013.1876%2027.1802%2013.3458%2027.0526%2013.4734C26.9246%2013.6014%2026.7662%2013.6654%2026.5773%2013.6654Z'%20fill='white'%20/%3e%3c/g%3e%3c/svg%3e",Zn="data:image/svg+xml,%3csvg%20width='31'%20height='18'%20viewBox='0%200%2031%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%20%3e%3crect%20width='30.4286'%20height='18'%20rx='4'%20fill='%23B32922'%20/%3e%3cg%20clipPath='url(%23clip0_5858_15185)'%3e%3cpath%20opacity='0.68'%20d='M6.3577%204.875L4.00056%206.25L6.3577%207.625L8.71484%206.25L6.3577%204.875Z'%20fill='white'%20/%3e%3cpath%20opacity='0.83'%20d='M6.3577%207.625L4.00056%209L6.3577%2010.375L8.71484%209L6.3577%207.625Z'%20fill='white'%20/%3e%3cpath%20opacity='0.6'%20d='M6.3577%2010.375L4.00056%2011.75L6.3577%2013.125L8.71484%2011.75L6.3577%2010.375Z'%20fill='white'%20/%3e%3cpath%20opacity='0.6'%20d='M11.0716%204.875L8.71442%206.25L11.0716%207.625L13.4287%206.25L11.0716%204.875Z'%20fill='white'%20/%3e%3cpath%20opacity='0.48'%20d='M8.71415%203.5L6.357%204.875L8.71415%206.25L11.0713%204.875L8.71415%203.5Z'%20fill='white'%20/%3e%3cpath%20opacity='0.88'%20d='M11.0716%207.625L8.71442%209L11.0716%2010.375L13.4287%209L11.0716%207.625Z'%20fill='white'%20/%3e%3cpath%20opacity='0.8'%20d='M8.71415%209L11.0713%207.625L8.71415%206.25V9Z'%20fill='white'%20/%3e%3cpath%20opacity='0.55'%20d='M4.00028%2011.75L6.35742%2010.375L4.00028%209V11.75Z'%20fill='white'%20/%3e%3cpath%20opacity='0.75'%20d='M4.00028%209L6.35742%207.625L4.00028%206.25V9Z'%20fill='white'%20/%3e%3cpath%20opacity='0.5'%20d='M4.00028%206.25L6.35742%204.875L4.00028%203.5V6.25Z'%20fill='white'%20/%3e%3cpath%20opacity='0.7'%20d='M13.4287%2011.75L11.0716%2010.375L13.4287%209V11.75Z'%20fill='white'%20/%3e%3cpath%20opacity='0.78'%20d='M13.4287%209L11.0716%207.625L13.4287%206.25V9Z'%20fill='white'%20/%3e%3cpath%20opacity='0.45'%20d='M13.4287%206.25L11.0716%204.875L13.4287%203.5V6.25Z'%20fill='white'%20/%3e%3cpath%20opacity='0.9'%20d='M8.71484%209L6.3577%207.625L8.71484%206.25V9Z'%20fill='white'%20/%3e%3cpath%20opacity='0.95'%20d='M8.71415%2011.75L11.0713%2010.375L8.71415%209V11.75Z'%20fill='white'%20/%3e%3cpath%20d='M8.71484%2011.75L6.3577%2010.375L8.71484%209V11.75Z'%20fill='white'%20/%3e%3cpath%20opacity='0.65'%20d='M11.0716%2010.375L8.71442%2011.75L11.0716%2013.125L13.4287%2011.75L11.0716%2010.375Z'%20fill='white'%20/%3e%3cpath%20opacity='0.48'%20d='M8.71415%2011.75L6.357%2013.125L8.71415%2014.5L11.0713%2013.125L8.71415%2011.75Z'%20fill='white'%20/%3e%3c/g%3e%3cmask%20id='mask0_5858_15185'%20maskUnits='userSpaceOnUse'%20x='13'%20y='1'%20width='17'%20height='16'%20%3e%3cpath%20d='M13.4287%201H29.4287V17H13.4287V1Z'%20fill='%23D9D9D9'%20/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_5858_15185)'%3e%3cpath%20d='M21.4284%2013.6667C21.2395%2013.6667%2021.0813%2013.6027%2020.9537%2013.4747C20.8257%2013.3472%202
80.7617%2013.1889%2020.7617%2013V9.66671H17.4284C17.2395%209.66671%2017.0811%209.60271%2016.9531%209.47471C16.8255%209.34715%2016.7617%209.18893%2016.7617%209.00004C16.7617%208.81115%2016.8255%208.65271%2016.9531%208.52471C17.0811%208.39715%2017.2395%208.33337%2017.4284%208.33337H20.7617V5.00004C20.7617%204.81115%2020.8257%204.65271%2020.9537%204.52471C21.0813%204.39715%2021.2395%204.33337%2021.4284%204.33337C21.6173%204.33337%2021.7757%204.39715%2021.9037%204.52471C22.0313%204.65271%2022.0951%204.81115%2022.0951%205.00004V8.33337H25.4284C25.6173%208.33337%2025.7755%208.39715%2025.9031%208.52471C26.0311%208.65271%2026.0951%208.81115%2026.0951%209.00004C26.0951%209.18893%2026.0311%209.34715%2025.9031%209.47471C25.7755%209.60271%2025.6173%209.66671%2025.4284%209.66671H22.0951V13C22.0951%2013.1889%2022.0313%2013.3472%2021.9037%2013.4747C21.7757%2013.6027%2021.6173%2013.6667%2021.4284%2013.6667Z'%20fill='white'%20/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_5858_15185'%3e%3crect%20width='9.42857'%20height='11'%20fill='white'%20transform='matrix(-1%200%200%201%2013.4287%203.5)'%20/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Ru=(t,e)=>{const n=[],i=r=>{if(Array.isArray(r))for(let a=0;a<r.length;a++)i(r[a]);else if(typeof r=="object"&&r!==null){r.component===e&&n.push(r);for(const a in r)r.hasOwnProperty(a)&&i(r[a])}};return i(t),n},Kn=()=>{const t=st(),[e,n]=f.useState(!1),r=Ru(t.content,"sve-article-info-new")?.[0]?.content?.alternativeHeader||{},o=Object.keys(r).map(d=>r[d]).length>0,l=t?.metadata?.hideAds??!1,c=t?.systemdata?.contentType==="regular-advertorial-article";return o||l&&!c?null:(f.useEffect(()=>{const d=window?.$bp?.players,m=Object.keys(window?.$bp?.players||{}).length,u=window._bp,h=Array.isArray(u)&&u.length>0||!!u&&!Array.isArray(u),w=Array.from(document.querySelectorAll("script")).filter(p=>p.src.includes("targetvideo.min.js")).length;n(d&&!m||!(m||h||w));let g;return window.$bp||(g=document.createElement("script"),document.tvSingleEmbed=!0,g.setAttribute("data-cmp-src","https://player.target-video.com/player/build/targetvideo.min.js"),g.setAttribute("data-cmp-vendor","s1488"),g.setAttribute("class","cmplazyload"),g.type="text/plain",g.async=!0,document.body.appendChild(g)),()=>{document.blockTargetVideoReinit=!0,g&&document.body.removeChild(g),window?.$bp?.players&&Object.keys(window.$bp.players).forEach(p=>{window.$bp.players[p].destroy(),console.log("[FP-Target-Video] useEffect cleanup $bp.players ID:",p,window.$bp.players)}),delete document.blockTargetVideoReinit}},[]),s.jsx(s.Fragment,{children:e?s.jsx("target-video",{}):null}))},Bu=t=>t?.ticker?.total>0,$u=b(null,["metadata","tenants",0,"category"]),Ou=t=>at(xt(b(null,["metadata","label"])),mt(ye(t,["id"])),b([],["metadata","topics","documents"])),zu=C("sve-article-info",t=>{const{content:e,containers:n}=t,i=st(),r=b({},["alternativeHeader"],e),a=b("",["location"],e),o=b("",["metadata","readTime"],i),l=b("",["metadata","teaserImage"],i),c=b("",["metadata","paywall"],i),d=$u(i),m=Ou(d)(i),u=ht(i.metadata,"publish-date"),h=ht(i.metadata,"updated-date"),w=G.useContext(Dt)?.theme||"sch",g=Object.keys(r).map(p=>r[p]);return s.jsxs("div",{className:`tw-max-w-[660px] tw-mx-auto lg:tw-px-0 ${g.join(" ")}`,"doc-style":"alternativeHeader",children:[c==="premium"?s.jsxs(s.Fragment,{children:[" ",s.jsx("div",{className:"tw-inline-flex tw-align-sub tw-mr-2",children:w==="nkr"?s.jsx("img",{alt:"",src:Gn}):s.jsx("img",{alt:"",src:Zn})})]}):null,s.jsx(M.Catchline,{catchlineType:"p",className:"tw-text-primary-40 tw-font-primary tw-mb-0 tw-text-label-md md:tw-text-label-sm tw-inline-flex"}),s.jsx(M.MainTitle,{attribute:"title",className:"tw-text-headline-lg [&>a]:tw-text-neutral-10 tw-pt-3 sm:tw-text-headline-sm tw-break-words"}),s.jsx(M.LeadParagraph,{attribute:"lead-paragraph",className:"tw-text-title-md sm:tw-text-md tw-mt-3 sm:tw-mt-2"}),s.jsxs("p",{className:"tw-text-neutral-10 tw-text-body-md tw-mt-2 tw-font-primary tw-mb-6 sm:tw-mb-4",children:[a?s.jsx("span",{className:"tw-text-neutral-10 tw-tracking-wider tw-font-primary tw-text-body-sm tw-uppercase",children:a}):s.jsx("span",{className:"tw-text-neutral-10 tw-tracking-wider tw-font-primary tw-text-body-sm tw-uppercase",dangerouslySetInnerHTML:{__html:m}})," ",s.jsx("span",{className:"tw-text-body-sm",children:"•"})," ",s.jsxs("span",{className:"tw-text-neutral-10 tw-tracking-wider tw-uppercase tw-text-body-sm tw-font-primary",children:["Lesedauer: ",s.jsx(s.Fragment,{children:o})," min."]})]}),s.jsx("div",{className:"article-info-skyscraper-wrapper",children:s.jsx(zt,{placeholderId:"netpoint-skyscraper-1"})}),l?s.jsxs("figure",{className:"fp-article-info-image tw-text-[0]",children:[s.jsx(N,{attribute:"image",children:s.jsx(M.ImageV2,{fetchpriority:"high",imageWidth:1028,imageHeight:578,sizes:"(max-width: 992px) 100vw, 1028px",className:"tw-inline-flex [&>img]:tw-w-full [&>img]:tw-rounded [&>img]:tw-object-cover [&>img]:tw-aspect-video"})}),s.jsx(Kn,{}),s.jsxs("figcaption",{className:"tw-max-w-[660px] tw-mx-auto embedScreen:tw-px-4",children:[s.jsx(M.ImageCaption,{attribute:"caption",className:"tw-text-neutral-10 tw-text-[15px]"}),s.jsxs("div",{className:"tw-text-neutral-10 tw-inline tw-text-[15px]",children:[" ","(Foto:"," ",s.jsx(M.ImageSource,{attribute:"source",className:"tw-text-neutral-10"}),")"]})]})]}
8):null,s.jsx("div",{className:"alternative-container lg:tw-w-[100vw] tw-w-[1000px] -tw-ml-[173px] lg:-tw-ml-[calc((100vw-660px)/2)] embedScreen:-tw-mx-4 [&.alternative-container_.gallery-wrapper]:!tw-ml-0",children:s.jsx(N,{attribute:"articleHeader",children:s.jsx("div",{})})}),Bu(i)?null:s.jsxs("div",{className:"tw-border tw-border-solid tw-border-neutral-90 tw-p-4 tw-rounded sm:tw-py-2 sm:tw-px-3 tw-flex tw-flex-col tw-gap-y-2.5 print:tw-hidden tw-mt-8",children:[s.jsx(je,{props:t}),s.jsx("hr",{className:"tw-h-px tw-my-0 tw-bg-neutral-90 tw-border-none"}),s.jsxs("div",{className:"tw-gap-2 sm:tw-gap-0 tw-flex tw-align-center sm:tw-flex-col",children:[s.jsxs("div",{className:"tw-grow-0 tw-shrink-0 tw-text-neutral-10 tw-text-body-md",children:[s.jsx("span",{className:"tw-text-neutral-10 tw-text-body-md",children:"Veröffentlicht:"})," ",s.jsx(M.PublishDate,{className:"tw-text-neutral-10 tw-text-body-md",publishDate:u})," ","Uhr"]}),h&&ee(i.metadata["publish-date"],i.metadata["updated-date"])&&s.jsxs("div",{className:"tw-grow-0 tw-shrink-0 tw-text-body-md tw-text-tertiary-10",children:[s.jsx("span",{className:"tw-text-tertiary-10",children:"("}),s.jsx("span",{className:"tw-text-tertiary-10",children:"Aktualisiert: "}),s.jsx(M.UpdateDate,{className:"tw-text-tertiary-10",updatedDate:h})," ",s.jsx("span",{className:"tw-text-tertiary-10",children:" Uhr"}),s.jsx("span",{className:"tw-text-tertiary-10",children:")"})]})]})]}),s.jsx("div",{className:"tw-mt-4 tw-mb-2 tw-flex tw-items-center tw-gap-2",children:s.jsx(te,{props:{content:e,containers:n}})})]})}),Fu=t=>t?.ticker?.total>0,Hu=C("sve-article-info-new",({content:t,containers:e})=>{const n=st(),i=b({},["alternativeHeader"],t),r=Object.keys(i).map(l=>i[l]),a=ht(n.metadata,"publish-date"),o=ht(n.metadata,"updated-date");return s.jsxs("div",{className:`tw-max-w-[660px] tw-mx-auto lg:tw-px-0 ${r.join(" ")}`,"doc-style":"alternativeHeader",children:[s.jsx(N,{attribute:"sectionA",children:s.jsx("div",{})}),s.jsx("div",{className:"alternative-container tw-min-h-[578px] lg:tw-min-h-[56.25vw] lg:tw-w-[100vw] tw-w-[1000px] -tw-ml-[173px] lg:-tw-ml-[calc((100vw-660px)/2)] embedScreen:-tw-mx-4 [&.alternative-container_.gallery-wrapper]:!tw-ml-0",children:s.jsx(N,{attribute:"articleHeader",children:s.jsx("div",{})})}),s.jsx(N,{attribute:"sectionB",children:s.jsx("div",{})}),Fu(n)?null:s.jsxs("div",{className:"tw-border tw-border-solid tw-border-neutral-90 tw-p-4 tw-rounded sm:tw-py-2 sm:tw-px-3 tw-flex tw-flex-col tw-gap-y-2.5 print:tw-hidden tw-mt-8",children:[s.jsx(je,{props:{content:t,containers:e}}),s.jsx("hr",{className:"tw-h-px tw-my-0 tw-bg-neutral-90 tw-border-none"}),s.jsxs("div",{className:"tw-gap-2 sm:tw-gap-0 tw-flex tw-align-center sm:tw-flex-col",children:[s.jsxs("div",{className:"tw-grow-0 tw-shrink-0 tw-text-neutral-10 tw-text-body-md",children:[s.jsx("span",{className:"tw-text-neutral-10 tw-text-body-md",children:"Veröffentlicht:"})," ",s.jsx(M.PublishDate,{className:"tw-text-neutral-10 tw-text-body-md",publishDate:a})," ","Uhr"]}),o&&ee(n.metadata["publish-date"],n.metadata["updated-date"])&&s.jsxs("div",{className:"tw-grow-0 tw-shrink-0 tw-text-body-md tw-text-tertiary-10",children:[s.jsx("span",{className:"tw-text-tertiary-10",children:"("}),s.jsx("span",{className:"tw-text-tertiary-10",children:"Aktualisiert: "}),s.jsx(M.UpdateDate,{className:"tw-text-tertiary-10",updatedDate:o})," ",s.jsx("span",{className:"tw-text-tertiary-10",children:" Uhr"}),s.jsx("span",{className:"tw-text-tertiary-10",children:")"})]})]})]}),s.jsx("div",{className:"tw-mt-4 tw-mb-2 tw-flex tw-items-center tw-gap-2",children:s.jsx(te,{props:{content:t,containers:e}})})]})}),Uu=b(null,["metadata","tenants",0,"category"]),Wu=t=>at(xt(b(null,["metadata","label"])),mt(ye(t,["id"])),b([],["metadata","topics","documents"])),qu=C("sve-gallery-article-info",t=>{const{content:e,containers:n}=t,i=st(),r=b("",["metadata","paywall"],i),a=b("",["metadata","readTime"],i),o=b("",["location"],e),l=G.useContext(Dt)?.theme||"sch",c=ht(i.metadata,"publish-date"),d=ht(i.metadata,"updated-date"),m=Uu(i),u=Wu(m)(i);return s.jsxs("div",{className:"tw-max-w-[660px] tw-mx-auto lg:tw-px-0",children:[r==="premium"?s.jsxs(s.Fragment,{children:[" ",s.jsx("div",{className:"tw-inline-flex tw-align-sub tw-mr-2",children:l==="nkr"?s.jsx("img",{alt:"",src:Gn}):s.jsx("img",{alt:"",src:Zn})})]}
8):null,s.jsx(M.Catchline,{catchlineType:"p",className:"tw-text-primary-40 tw-font-primary tw-mb-0 tw-text-label-md md:tw-text-label-sm tw-inline-flex"}),s.jsx(M.MainTitle,{attribute:"title",className:"tw-text-headline-lg [&>a]:tw-text-neutral-10 tw-pt-3 sm:tw-text-headline-sm tw-break-words"}),s.jsx(M.LeadParagraph,{attribute:"lead-paragraph",className:"tw-text-title-md sm:tw-text-md tw-mt-3 sm:tw-mt-2"}),s.jsxs("p",{className:"tw-mt-2 tw-text-neutral-10 tw-tracking-wider tw-font-primary tw-text-body-sm",children:[o?s.jsx(s.Fragment,{children:s.jsx("span",{className:"tw-text-neutral-10 tw-tracking-wider tw-font-primary tw-text-body-sm tw-uppercase",children:o})}):s.jsx("span",{className:"tw-text-neutral-10 tw-tracking-wider tw-font-primary tw-text-body-sm",children:u})," ",s.jsx("span",{className:"tw-text-body-sm",children:"•"})," ",s.jsxs("span",{className:"tw-text-neutral-10 tw-tracking-wider tw-uppercase tw-text-body-sm tw-font-primary",children:["Lesedauer: ",s.jsx(s.Fragment,{children:a})," min."]})]}),s.jsx("div",{className:"article-info-skyscraper-wrapper",children:s.jsx(zt,{placeholderId:"netpoint-skyscraper-1"})}),s.jsx(N,{attribute:"teaser",children:s.jsx("div",{className:"editor-teaser",children:"Placeholder"})}),s.jsxs("div",{className:"tw-border tw-border-solid tw-border-neutral-90 tw-p-4 tw-rounded sm:tw-py-2 sm:tw-px-3 tw-flex tw-flex-col tw-gap-y-2.5 print:tw-hidden tw-mt-8",children:[s.jsx(je,{props:t}),s.jsx("hr",{className:"tw-h-px tw-my-0 tw-bg-neutral-90 tw-border-none"}),s.jsxs("div",{className:"tw-gap-2 sm:tw-gap-0 tw-flex tw-align-center sm:tw-flex-col",children:[s.jsxs("div",{className:"tw-grow-0 tw-shrink-0 tw-text-neutral-10 tw-text-body-md",children:[s.jsx("span",{className:"tw-text-neutral-10 tw-text-body-md",children:"Veröffentlicht:"})," ",s.jsx(M.PublishDate,{className:"tw-text-neutral-10 tw-text-body-md",publishDate:c})," ","Uhr"]}),d&&ee(i.metadata["publish-date"],i.metadata["updated-date"])&&s.jsxs("div",{className:"tw-grow-0 tw-shrink-0 tw-text-body-md tw-text-tertiary-10",children:[s.jsx("span",{className:"tw-text-tertiary-10",children:"("}),s.jsx("span",{className:"tw-text-tertiary-10",children:"Aktualisiert: "}),s.jsx(M.UpdateDate,{className:"tw-text-tertiary-10",updatedDate:d})," ",s.jsx("span",{className:"tw-text-tertiary-10",children:" Uhr"}),s.jsx("span",{className:"tw-text-tertiary-10",children:")"})]})]})]}),s.jsx("div",{className:"tw-mt-4 tw-mb-2 tw-flex tw-items-center tw-gap-2",children:s.jsx(te,{props:{content:e,containers:n}})})]})}),pe=({className:t,type:e,metadataType:n})=>{switch(e){case"regular-heimat-article":return Le("Leserinhalt",t);case"regular-advertorial-article":return Le("Anzeige",t);case"regular-sonderthemen-article":return Le("Anzeige",t);case"regular-gallery":return Le("Galerie",t);case"video":return null}return n==="gallery"?Le("Galerie",t):null},Le=(t,e)=>s.jsx("span",{className:"tw-text-body-sm tw-text-neutral-30 tw-mr-1 tw-py-0.5 tw-px-1.5 tw-rounded-[2px] tw-bg-neutral-95 !tw-break-normal "+(e||""),children:t}),Gu=C("sve-advertorial-article-info",t=>{const{content:e}=t,n=st(),i=b({},["alternativeHeader"],e),r=b(!1,["showCaption"],e),a=b("",["location"],e),o=b(null,["metadata","teaserImage"],n),l=b(null,["metadata"],n),c=b([],["tenants"],l),d=b([],["topics","documents"],l),m=b(0,["articleWords"],l),u=b(0,["readTime"],l),h=ht(l,"publish-date"),w=ht(l,"updated-date"),p=Math.ceil(m/179),x=u||(isNaN(p)?void 0:p),y=Zt(c)>0?b(null,[0,"category"],c):null,v=Zt(d)>0?d.filter(j=>j.id===y).map(j=>b("",["metadata","label"],j)):null,S=Object.keys(i).map(j=>i[j]);return s.jsxs("div",{className:`tw-max-w-[660px] tw-mx-auto lg:tw-px-0 article-progressbar ${S.join(" ")}`,"doc-style":"alternativeHeader",children:[s.jsxs("div",{className:"tw-line-clamp-1 tw-text-ellipsis tw-max-h-[20px] tw-flex tw-items-center",children:[s.jsx(pe,{type:"regular-advertorial-article"}),s.jsx(M.Catchline,{catchlineType:"p",className:"tw-text-ellipsis tw-break-words tw-max-h-[20px] tw-line-clamp-1 tw-leading-[1.5] tw-text-primary-40 tw-font-primary tw-mb-0 tw-text-label-md md:tw-text-label-sm tw-inline-flex"})]}),s.jsx(M.MainTitle,{attribute:"title",className:"tw-text-headline-lg [&>a]:tw-text-neutral-10 tw-pt-3 sm:tw-text-headline-sm tw-break-words"}),s.jsx(M.LeadParagraph,{attribute:"lead-paragraph",className:"tw-text-title-md sm:tw-text-md tw-mt-3 sm:tw-mt-2"}),s.jsxs("p",{className:"tw-text-neutral-10 tw-text-body-md tw-mt-2 tw-font-primary tw-mb-6 sm:tw-mb-4",children:[a?s.jsx("span",{className:"tw-text-neutral-10 tw-tracking-wider tw-font-primary tw-text-body-sm tw-uppercase",children:a}):s.jsx("span",{className:"tw-text-neutral-10 tw-tracking-wider tw-font-primary tw-text-body-sm tw-uppercase",children:v})," ",x>0&&s.jsxs("span",{className:"tw-text-neutral-10 tw-tracking-wider tw-uppercase tw-text-body-sm tw-font-primary",children:[s.jsx("span",{className:"tw-text-body-sm",children:"•"})," Lesedauer: ",x," ","min."]})]}),s.jsx("div",{className:"article-info-skyscraper-wrapper",children:s.jsx(zt,{placeholderId:"netpoint-skyscraper-1"})}),o?s.jsxs("figure",{className:"fp-article-info-image tw-text-[0]",children:[s.jsx(N,{attribute:"image",children:s.jsx(M.ImageV2,{fetchpriority:"high",decoding:"sync",imageWidth:1028,imageHeight:578,className:"tw-inline-flex [&>img]:tw-rounded [&>img]:tw-w-full [&>img]:tw-object-cover [&>
8img]:tw-aspect-video",sizes:"(max-width: 1030px) 100vw, 1030px"})}),s.jsx(Kn,{}),r?s.jsxs("figcaption",{className:"tw-max-w-[660px] tw-mx-auto embedScreen:tw-px-4",children:[s.jsx(M.ImageCaption,{attribute:"caption",className:"tw-text-neutral-10 tw-text-[15px]"}),s.jsxs("div",{className:"tw-text-neutral-10 tw-inline tw-text-[15px]",children:[" ","(Foto:"," ",s.jsx(M.ImageSource,{attribute:"source",className:"tw-text-neutral-10"}),")"]})]}):null]}):null,s.jsx("div",{className:"alternative-container lg:tw-w-[100vw] tw-w-[1000px] -tw-ml-[173px] lg:-tw-ml-[calc((100vw-660px)/2)] embedScreen:-tw-mx-4 sm:-tw-mx-4 [&.alternative-container_.gallery-wrapper]:!tw-ml-0",children:s.jsx(N,{attribute:"articleHeader",children:s.jsx("div",{})})}),s.jsxs("div",{className:"tw-border tw-border-solid tw-border-neutral-90 tw-p-4 tw-rounded sm:tw-py-2 sm:tw-px-3 tw-flex tw-flex-col tw-gap-y-2.5",children:[s.jsx(je,{props:t}),s.jsx("hr",{className:"tw-h-px tw-my-0 tw-bg-neutral-90 tw-border-none"}),s.jsxs("div",{className:"tw-gap-2 sm:tw-gap-0 tw-flex tw-align-center sm:tw-flex-col",children:[s.jsxs("div",{className:"tw-grow-0 tw-shrink-0 tw-text-neutral-10 tw-text-body-md",children:[s.jsx("span",{className:"tw-text-neutral-10 tw-text-body-md",children:"Veröffentlicht:"})," ",s.jsx(M.PublishDate,{className:"tw-text-neutral-10 tw-text-body-md",publishDate:h})," ","Uhr"]}),w&&ee(l["publish-date"],l["updated-date"])&&s.jsxs("div",{className:"tw-grow-0 tw-shrink-0 tw-text-body-md tw-text-tertiary-10",children:[s.jsx("span",{className:"tw-text-tertiary-10",children:"("}),s.jsx("span",{className:"tw-text-tertiary-10",children:"Aktualisiert: "}),s.jsx(M.UpdateDate,{className:"tw-text-tertiary-10",updatedDate:w})," ",s.jsx("span",{className:"tw-text-tertiary-10",children:" Uhr"}),s.jsx("span",{className:"tw-text-tertiary-10",children:")"})]})]})]}),s.jsx("div",{className:"tw-mt-4 tw-mb-2 tw-flex tw-items-center tw-gap-2",children:s.jsx(te,{props:t})})]})}),Zu=C("sve-sonderthemen-article-info",t=>{const{content:e}=t,n=st(),i=b({},["alternativeHeader"],e),r=b(!1,["showCaption"],e),a=b("",["location"],e),o=b(null,["metadata","teaserImage"],n),l=b(null,["metadata"],n),c=b([],["tenants"],l),d=b([],["topics","documents"],l),m=b(0,["articleWords"],l),u=b(0,["readTime"],l),h=ht(l,"publish-date"),w=ht(l,"updated-date"),p=Math.ceil(m/179),x=u||(isNaN(p)?void 0:p),y=Zt(c)>0?b(null,[0,"category"],c):null,v=Zt(d)>0?d.filter(j=>j.id===y).map(j=>b("",["metadata","label"],j)):null,S=Object.keys(i).map(j=>i[j]);return s.jsxs("div",{className:`tw-max-w-[660px] tw-mx-auto lg:tw-px-0 article-progressbar ${S.join(" ")}`,"doc-style":"alternativeHeader",children:[s.jsxs("div",{className:"tw-line-clamp-1 tw-text-ellipsis tw-max-h-[20px] tw-flex tw-items-center",children:[s.jsx(pe,{type:"regular-sonderthemen-article"}),s.jsx(M.Catchline,{catchlineType:"p",className:"tw-text-ellipsis tw-break-words tw-max-h-[20px] tw-line-clamp-1 tw-leading-[1.5] tw-text-primary-40 tw-font-primary tw-mb-0 tw-text-label-md md:tw-text-label-sm tw-inline-flex"})]}),s.jsx(M.MainTitle,{attribute:"title",className:"tw-text-headline-lg [&>a]:tw-text-neutral-10 tw-pt-3 sm:tw-text-headline-sm tw-break-words"}),s.jsx(M.LeadParagraph,{attribute:"lead-paragraph",className:"tw-text-title-md sm:tw-text-md tw-mt-3 sm:tw-mt-2"}),s.jsxs("p",{className:"tw-text-neutral-10 tw-text-body-md tw-mt-2 tw-font-primary tw-mb-6 sm:tw-mb-4",children:[a?s.jsx("span",{className:"tw-text-neutral-10 tw-tracking-wider tw-font-primary tw-text-body-sm tw-uppercase",children:a}):s.jsx("span",{className:"tw-text-neutral-10 tw-tracking-wider tw-font-primary tw-text-body-sm tw-uppercase",children:v})," ",x>0&&s.jsxs("span",{className:"tw-text-neutral-10 tw-tracking-wider tw-uppercase tw-text-body-sm tw-font-primary",children:[s.jsx("span",{className:"tw-text-body-sm",children:"•"})," Lesedauer: ",x," min"]})]}),s.jsx("div",{className:"article-info-skyscraper-wrapper",children:s.jsx(zt,{placeholderId:"netpoint-skyscraper-1"})}),o?s.jsxs("figure",{className:"fp-article-info-image tw-text-[0]",children:[s.jsx(N,{attribute:"image",children:s.jsx(M.ImageV2,{fetchpriority:"high",decoding:"sync",imageWidth:1028,imageHeight:578,className:"tw-inline-flex [&>img]:tw-rounded [&>img]:tw-w-full [&>img]:tw-object-cover [&>
8img]:tw-aspect-video",sizes:"(max-width: 1030px) 100vw, 1030px"})}),r?s.jsxs("figcaption",{className:"tw-max-w-[660px] tw-mx-auto embedScreen:tw-px-4",children:[s.jsx(M.ImageCaption,{attribute:"caption",className:"tw-text-neutral-10 tw-text-[15px]"}),s.jsxs("div",{className:"tw-text-neutral-10 tw-inline tw-text-[15px]",children:[" ","(Foto:"," ",s.jsx(M.ImageSource,{attribute:"source",className:"tw-text-neutral-10"}),")"]})]}):null]}):null,s.jsx("div",{className:"alternative-container lg:tw-w-[100vw] tw-w-[1000px] -tw-ml-[173px] lg:-tw-ml-[calc((100vw-660px)/2)] embedScreen:-tw-mx-4 sm:-tw-mx-4 [&.alternative-container_.gallery-wrapper]:!tw-ml-0",children:s.jsx(N,{attribute:"articleHeader",children:s.jsx("div",{})})}),s.jsxs("div",{className:"tw-border tw-border-solid tw-border-neutral-90 tw-p-4 tw-rounded sm:tw-py-2 sm:tw-px-3 tw-flex tw-flex-col tw-gap-y-2.5",children:[s.jsx(je,{props:t}),s.jsx("hr",{className:"tw-h-px tw-my-0 tw-bg-neutral-90 tw-border-none"}),s.jsxs("div",{className:"tw-gap-2 sm:tw-gap-0 tw-flex tw-align-center sm:tw-flex-col",children:[s.jsxs("div",{className:"tw-grow-0 tw-shrink-0 tw-text-neutral-10 tw-text-body-md",children:[s.jsx("span",{className:"tw-text-neutral-10 tw-text-body-md",children:"Veröffentlicht:"})," ",s.jsx(M.PublishDate,{className:"tw-text-neutral-10 tw-text-body-md",publishDate:h})," ","Uhr"]}),w&&ee(l["publish-date"],l["updated-date"])&&s.jsxs("div",{className:"tw-grow-0 tw-shrink-0 tw-text-body-md tw-text-tertiary-10",children:[s.jsx("span",{className:"tw-text-tertiary-10",children:"("}),s.jsx("span",{className:"tw-text-tertiary-10",children:"Aktualisiert: "}),s.jsx(M.UpdateDate,{className:"tw-text-tertiary-10",updatedDate:w})," ",s.jsx("span",{className:"tw-text-tertiary-10",children:" Uhr"}),s.jsx("span",{className:"tw-text-tertiary-10",children:")"})]})]})]}),s.jsx("div",{className:"tw-mt-4 tw-mb-2 tw-flex tw-items-center tw-gap-2",children:s.jsx(te,{props:t})})]})}),Ku=C("sve-print-article-info",()=>{const t=st(),e=b(null,["metadata","teaserImage"],t),n=ht(t.metadata,"publish-date"),i=ht(t.metadata,"updated-date");return s.jsxs("div",{className:"tw-max-w-[660px] tw-mx-auto lg:tw-px-0",children:[s.jsx(M.Catchline,{catchlineType:"p",className:"tw-text-primary-40 tw-font-primary tw-mb-0 tw-text-label-md md:tw-text-label-sm tw-inline-flex"})," ",s.jsx(M.MainTitle,{attribute:"title",className:"tw-text-headline-lg [&>a]:tw-text-neutral-10 tw-pt-3 sm:tw-text-headline-sm tw-break-words"}),s.jsx(M.LeadParagraph,{attribute:"lead-paragraph",className:"tw-text-title-md sm:tw-text-md tw-mt-3 sm:tw-mt-2"}),"",e?s.jsx("figure",{className:"fp-article-info-image tw-text-[0]",children:s.jsx(N,{attribute:"image",children:s.jsx(M.ImageV2,{fetchpriority:"high",imageWidth:1028,imageHeight:578,sizes:"(max-width: 992px) 100vw, 1028px",className:"tw-inline-flex [&>img]:tw-w-full [&>img]:tw-rounded [&>img]:tw-object-cover [&>img]:tw-aspect-video"})})}):null,s.jsx("div",{className:"sve-article-details tw-border tw-border-solid tw-border-neutral-90 tw-p-4 tw-rounded-sm sm:tw-py-2 sm:tw-px-3",children:s.jsxs("div",{className:"sve-date-container tw-gap-2 sm:tw-gap-0 tw-flex tw-align-center sm:tw-flex-col",children:[s.jsxs("div",{className:"sve-date-item tw-grow-0 tw-shrink-0 tw-basis-2/4",children:[s.jsx("span",{className:"tw-text-neutral-10 tw-mr-2",children:"Veröffentlicht:"}),s.jsx(M.PublishDate,{className:"tw-text-neutral-10",publishDate:n})]}),i&&ee(t.metadata["publish-date"],t.metadata["updated-date"])&&s.jsxs("div",{className:"tw-grow-0 tw-shrink-0 tw-basis-2/4",children:[s.jsxs("span",{className:"tw-text-neutral-10 tw-mr-2",children:["Aktualisiert:"," "]}),s.jsx(M.UpdateDate,{className:"tw-text-neutral-10",updatedDate:i})]})]})})]})}),Yu=C("sve-publisher-article-info",({content:t,containers:e})=>{const n=st(),i=b(null,["metadata","teaserImage"],n);return s.jsxs("div",{className:"tw-max-w-[660px] tw-mx-auto lg:tw-px-0",children:[s.jsx(M.Catchline,{catchlineType:"p",className:"tw-text-advertorial-0 tw-font-primary tw-mb-0 tw-text-label-md md:tw-text-label-sm tw-inline-flex"}),s.jsx(M.MainTitle,{attribute:"title",className:"tw-text-headline-lg [&>a]:tw-text-neutral-10 tw-pt-3 sm:tw-text-headline-sm tw-break-words"}),s.jsx(M.LeadParagraph,{attribute:"lead-paragraph",className:"tw-text-title-md sm:tw-text-md tw-mt-3 sm:tw-mt-2"}),s.jsx("div",{className:"article-info-skyscraper-wrapper",children:s.jsx(zt,{placeholderId:"netpoint-skyscraper-1"})}),i?s.jsx("figure",{className:"fp-article-info-image tw-text-[0]",children:s.jsx(N,{attribute:"image",children:s.jsx(M.ImageV2,{fetchpriority:"high",decoding:"sync",imageWidth:1028,imageHeight:578,className:"tw-inline-flex [&>img]:tw-w-full [&>img]:tw-rounded [&>img]:tw-object-cover [&>
8img]:tw-aspect-video",sizes:"(max-width: 1030px) 100vw, 1030px"})})}):null,s.jsx("div",{className:"tw-mt-4 tw-mb-2 tw-flex tw-items-center tw-gap-2",children:s.jsx(te,{props:{content:t,containers:e}})})]})}),Xu=C("sve-heimat-article-info",t=>{const{content:e,containers:n}=t,i=st(),r=b({},["alternativeHeader"],e),a=b("",["location"],e),o=b("",["metadata","readTime"],i),l=b("",["metadata","teaserImage"],i),c=ht(i.metadata,"publish-date"),d=ht(i.metadata,"updated-date"),m=Object.keys(r).map(u=>r[u]);return s.jsxs("div",{className:`tw-max-w-[660px] tw-mx-auto lg:tw-px-0 ${m.join(" ")}`,"doc-style":"alternativeHeader",children:[s.jsxs("div",{className:"tw-line-clamp-1 tw-text-ellipsis tw-max-h-[20px] tw-flex tw-items-center",children:[s.jsx(pe,{type:"regular-heimat-article"}),s.jsx(M.Catchline,{catchlineType:"p",className:"tw-text-ellipsis tw-break-words tw-max-h-[20px] tw-line-clamp-1 tw-leading-[1.5] tw-text-primary-40 tw-font-primary tw-mb-0 tw-text-label-md md:tw-text-label-sm tw-inline-flex"})]}),s.jsx(M.MainTitle,{attribute:"title",className:"tw-text-headline-lg [&>a]:tw-text-neutral-10 tw-pt-3 sm:tw-text-headline-sm tw-break-words"}),s.jsx(wd,{children:s.jsx(M.LeadParagraph,{attribute:"lead-paragraph",className:"tw-text-title-md sm:tw-text-md tw-mt-3 sm:tw-mt-2"})}),s.jsxs("p",{className:"sve-article-region tw-text-paywall-neutral tw-mt-2",children:[s.jsx("span",{className:"tw-text-neutral-10 tw-tracking-wider tw-uppercase tw-font-primary tw-text-body-sm",children:a})," ",s.jsx("span",{className:"tw-text-body-md",children:"•"})," ",s.jsxs("span",{className:"tw-text-neutral-10 tw-tracking-wider tw-uppercase tw-text-body-sm tw-font-primary sm:tw-text-body-sm",children:["Lesedauer: ",s.jsx(s.Fragment,{children:o}),"min"]})]}),s.jsx("div",{className:"article-info-skyscraper-wrapper",children:s.jsx(zt,{placeholderId:"netpoint-skyscraper-1"})}),l?s.jsxs("figure",{className:"fp-article-info-image tw-text-[0]",children:[s.jsx(N,{attribute:"image",children:s.jsx(M.ImageV2,{fetchpriority:"high",decoding:"sync",imageWidth:1028,imageHeight:578,className:"tw-inline-flex [&>img]:tw-w-full [&>img]:tw-object-cover [&>img]:tw-aspect-video",sizes:"(max-width: 1030px) 100vw, 1030px"})}),s.jsx(Kn,{}),s.jsxs("figcaption",{className:"tw-max-w-[660px] tw-mx-auto embedScreen:tw-px-4",children:[e.caption&&s.jsx(M.ImageCaption,{attribute:"caption",className:"tw-text-neutral-10 tw-text-[15px]"}),e.source&&s.jsxs("div",{className:"tw-text-neutral-10 tw-inline tw-text-[15px]",children:[" ","(Foto:"," ",s.jsx(M.ImageSource,{attribute:"source",className:"tw-text-neutral-10"}),")"]})]})]}):null,s.jsx("div",{className:"alternative-container lg:tw-w-[100vw] tw-w-[1000px] -tw-ml-[173px] lg:-tw-ml-[calc((100vw-660px)/2)] embedScreen:-tw-mx-4 [&.alternative-container_.gallery-wrapper]:!tw-ml-0",children:s.jsx(N,{attribute:"articleHeader",children:s.jsx("div",{})})}),s.jsxs("div",{className:"tw-border tw-border-solid tw-border-neutral-90 tw-p-4 tw-rounded sm:tw-py-2 sm:tw-px-3 tw-flex tw-flex-col tw-gap-y-2.5 print:tw-hidden tw-mt-8",children:[s.jsx(je,{props:t}),s.jsx("hr",{className:"tw-h-px tw-my-0 tw-bg-neutral-90 tw-border-none"}),s.jsxs("div",{className:"tw-gap-2 sm:tw-gap-0 tw-flex tw-align-center sm:tw-flex-col",children:[s.jsxs("div",{className:"tw-grow-0 tw-shrink-0 tw-text-neutral-10 tw-text-body-md",children:[s.jsx("span",{className:"tw-text-neutral-10 tw-text-body-md",children:"Veröffentlicht:"})," ",s.jsx(M.PublishDate,{className:"tw-text-neutral-10 tw-text-body-md",publishDate:c})," ","Uhr"]}),d&&ee(i.metadata["publish-date"],i.metadata["updated-date"])&&s.jsxs("div",{className:"tw-grow-0 tw-shrink-0 tw-text-body-md tw-text-tertiary-10",children:[s.jsx("span",{className:"tw-text-tertiary-10",children:"("}),s.jsx("span",{className:"tw-text-tertiary-10",children:"Aktualisiert: "}),s.jsx(M.UpdateDate,{className:"tw-text-tertiary-10",updatedDate:d})," ",s.jsx("span",{className:"tw-text-tertiary-10",children:" Uhr"}),s.jsx("span",{className:"tw-text-tertiary-10",children:")"})]})]})]}),s.jsx("div",{className:"tw-mt-4 tw-mb-2 tw-flex tw-items-center tw-gap-2",children:s.jsx(te,{props:{content:e,containers:n}})})]})}),Ju=b(null,["content",0,"containers","article_header",0,"content","image"]),Qu=at(Be,mt(Boolean),mt(ye("author",["content_type"])),b([],["metadata","topics","documents"])),tm=at(Gc,Za(" "),mt(Boolean),({prename:t="",surname:e=""})=>[t,e],b({},["metadata"])),em=at(Ua("/autoren/"),ao,Wa),nm=b(null,["metadata","image"]),sm=C("sve-ticker-info",({content:t,id:e})=>{const n=st(),i=b({},["alternativeHeader"],t),r=b("",["title"],t),a=Ju(n),o=Qu(n),l=tm(o),c=at(String,b("",["id"]))(o),d=at(em,Za(" "))([l,c]),m=b("",["systemdata","visiblePublicationDate"],n),u=ht({visiblePublicationDate:m},"visiblePublicationDate"),h=Object.keys(i).map(w=>i[w]);return s.jsxs("div",{id:e,className:`${h.join(" ")}`,"doc-style":"alternativeHeader",children:[s.jsx("div",{className:"article-info-skyscraper-wrapper",children:s.jsx(zt,{placeholderId:"netpoint-skyscraper-1"})}),a&&s.jsx("figure",{className:"fp-figure embed","data-component-name":"Image",children:s.jsx("div",{className:"fp-image-wrapper tw-mb-3 tw-h-auto tw-m-0",children:s.jsx(N,{attribute:"image",children:s.jsx(M.ImageV2,{className:"[&>img]:tw-w-full [&>img]:tw-rounded [&>
8img]:tw-max-w-full",sizes:"(max-width: 660px) 100vw, 660px"})})})}),s.jsx("div",{className:"alternative-container lg:tw-w-[100vw] tw-w-[1000px] -tw-ml-[173px] lg:-tw-ml-[calc((100vw-660px)/2)] embedScreen:-tw-mx-4 [&.alternative-container_.gallery-wrapper]:!tw-ml-0",children:s.jsx(N,{attribute:"articleHeader",children:s.jsx("div",{})})}),m?s.jsx(M.PublishDate,{className:"tw-text-neutral-10 tw-text-body-md tw-block tw-mb-3",publishDate:`${u} Uhr`}):null,r?s.jsx(rt,{to:`#${e}`,className:"!tw-no-underline",children:s.jsx("h2",{className:"tw-text-title-lg [&>a]:tw-text-neutral-10 tw-mb-3 tw-break-words",dangerouslySetInnerHTML:{__html:r}})}):null,o?s.jsx(s.Fragment,{children:s.jsxs("div",{className:"tw-mb-3 tw-flex tw-items-center tw-gap-x-2",children:[s.jsx("span",{className:"tw-text-body-md tw-text-neutral-10",children:"Von:"}),s.jsxs(rt,{to:d,className:"!tw-no-underline tw-flex tw-items-center tw-text-body-md tw-text-neutral-10 tw-gap-x-2",children:[nm(o)&&s.jsx(M.ImageV2,{imageWidth:24,imageHeight:24,className:"tw-self-start tw-rounded-full tw-w-6 tw-h-6 tw-overflow-hidden [&>img]:tw-max-w-full [&>img]:tw-object-cover [&>img]:tw-h-auto",alt:`${l}`,sizes:"24px",src:H(o.metadata,"image","1:1")}),s.jsx("span",{children:l})]})]})}):null]})}),im=C("sve-advertorial-article-contributor",({content:t})=>{const e=b("",["text"],t),n=b("",["contributorPhone"],t),i=b("",["contributorEmail"],t),r=b("",["contributorLink"],t);return s.jsxs("div",{className:"tw-mb-15 lg:tw-mb-4 [&_img]:tw-max-w-full [&_img]:tw-pt-6 [&_img]:tw-pb-2",children:[s.jsxs("p",{className:"tw-text-base tw-m-0",children:[" ",s.jsx("strong",{children:"Für den Inhalt dieses Artikels ist verantwortlich:"})]}),s.jsxs("div",{className:"tw-flex tw-flex-wrap tw-justify-start sm:tw-flex-col [&>*]:tw-max-w-1/2 [&>*]:sm:tw-max-w-full",children:[s.jsx(N,{attribute:"image",children:s.jsx(M.ImageV2,{className:"sve-contributor_logo [&>img]:tw-rounded",sizes:"(max-width: 576px) 100vw, 330px"})}),s.jsxs("div",{className:"tw-flex tw-flex-col tw-justify-between tw-pt-6 tw-pr-4 tw-pb-2 tw-pl-4 sm:tw-pl-0",children:[s.jsx("div",{children:s.jsx("p",{className:"tw-font-primary",dangerouslySetInnerHTML:{__html:e}})}),s.jsxs("div",{children:[s.jsx("p",{className:"tw-mb-0 tw-text-advertorial-0 tw-font-primary",children:s.jsxs(rt,{to:`tel:${n}`,children:[" ",n," "]})}),s.jsx("p",{className:"tw-mb-0 tw-text-advertorial-0 tw-font-primary",children:s.jsxs(rt,{to:`mailto:${i}`,children:[" ",i," "]})}),s.jsx("p",{className:"tw-mb-0 tw-text-advertorial-0 tw-font-primary",dangerouslySetInnerHTML:{__html:r}})]})]})]})]})}),rm=C("sve-page-container",()=>s.jsx("div",{className:"tw-px-4 tw-gap-y-0",children:s.jsx("div",{className:"tw-col-span-full",children:s.jsx(N,{attribute:"pageContainer",children:s.jsx("div",{})})})})),am="data:image/svg+xml,%3csvg%20width='9'%20height='5'%20viewBox='0%200%209%205'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%20%3e%3cpath%20d='M4.50045%204.96649C4.41156%204.96649%204.32823%204.95249%204.25045%204.92449C4.17267%204.89693%204.10045%204.84982%204.03378%204.78315L0.950449%201.69982C0.828226%201.5776%200.770004%201.42471%200.775782%201.24116C0.781115%201.05804%200.844893%200.905377%200.967115%200.783155C1.08934%200.660933%201.24489%200.599821%201.43378%200.599821C1.62267%200.599821%201.77823%200.660933%201.90045%200.783155L4.50045%203.38315L7.11712%200.766488C7.23934%200.644266%207.39223%200.585821%207.57578%200.591155C7.75889%200.596933%207.91156%200.660933%208.03378%200.783155C8.156%200.905377%208.21712%201.06093%208.21712%201.24982C8.21712%201.43871%208.156%201.59427%208.03378%201.71649L4.96712%204.78315C4.90045%204.84982%204.82823%204.89693%204.75045%204.92449C4.67267%204.95249%204.58934%204.96649%204.50045%204.96649Z'%20fill='%23191C1E'%20/%3e%3c/svg%3e",om="data:image/svg+xml,%3csvg%20width='9'%20height='5'%20viewBox='0%200%209%205'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%20%3e%3cpath%20d='M4.50045%200.0335083C4.58934%200.0335083%204.67267%200.0475083%204.75045%200.0755083C4.82823%200.103065%204.90045%200.150176%204.96712%200.216845L8.05045%203.30018C8.17267%203.4224%208.23089%203.57529%208.22511%203.75884C8.21978%203.94196%208.156%204.09463%208.03378%204.21685C7.91156%204.33907%207.75599%204.40018%207.56711%204.40018C7.37822%204.40018%207.22266%204.33907%207.10044%204.21685L4.50044%201.61685L1.88377%204.23352C1.76155%204.35574%201.60866%204.41418%201.42511%204.40884C1.242%204.40306%201.08934%204.33906%200.967116%204.21685C0.844892%204.09463%200.783772%203.93908%200.783772%203.75018C0.783772%203.56129%200.844892%203.40574%200.967116%203.28352L4.03378%200.216845C4.10045%200.150176%204.17267%200.103065%204.25045%200.0755083C4.32823%200.0475083%204.41156%200.0335083%204.50045%200.0335083Z'%20fill='%23191C1E'%20/%3e%3c/svg%3e",lm=C("sve-topic-header-info",({content:t})=>{const[e,n]=f.useState(!1),[i,r]=f.useState(!1),a=f.useRef(),o=(d,m)=>{m.forEach((u,h)=>{h>3&&(d?u.classList.add("tw-hidden"):u.classList.remove("tw-hidden"))})};f.useEffect(()=>{const d=a.current.querySelectorAll(".list-item");d.length-1>3&&(r(!0),o(!0,d)),a.current.querySelector(".list-item").classList.remove("tw-hidden")},[]);const l=()=>{n(!e);const d=a.current.querySelectorAll(".list-item");o(e,d)},c=b("",["caption"],t);return s.jsxs("header",{className:"sve-topic-header tw-px-4",children:[s.jsxs("figure",{className:"tw-relative tw-flex tw-justify-center tw-items-center tw-mx-0 tw-w-full",children:[s.jsx(N,{attribute:"image",children:s.jsx(M.ImageV2,{className:"[&_img]:tw-w-full [&>img]:tw-h-full [&_img]:tw-object-cover tw-h-[180px] tw-w-full",sizes:"(max-width: 1030px) 100v
8w, 1030px"})}),s.jsx("div",{className:"tw-absolute tw-h-full tw-w-full tw-bg-neutral-60 tw-bg-opacity-30"}),s.jsx("h1",{className:"tw-absolute tw-absolute tw-font-primary tw-font-bold tw-text-6xl tw-text-neutral-100",dangerouslySetInnerHTML:{__html:c}})]}),s.jsxs("section",{className:"tw-flex tw-flex-col tw-justify-center tw-items-center tw-pt-1 tw-pb-6 tw-mb-12 md:tw-mb-4",children:[s.jsx("div",{className:"tw-mt-2 tw-mb-4 tw-w-full",ref:a,children:s.jsx("ul",{className:"tw-p-3 tw-ml-3 tw-list-disc tw-list-inside [&>li]:tw-font-primary tw-transition-opacity tw-hidden list-item",children:s.jsx(N,{attribute:"list",children:s.jsx(s.Fragment,{})})})}),i?s.jsxs("button",{className:"tw-inline-flex tw-justify-center tw-items-center tw-py-2 tw-px-8 tw-gap-1 tw-border-2 tw-border-solid tw-border-neutral-10 tw-rounded",onClick:l,children:[s.jsx("span",{className:"tw-font-primary tw-text-sm tw-leading-4 tw-tracking-wider tw-font-bold sm tw-xs",children:e?"Weniger zeigen":"Mehr zeigen"}),s.jsx("img",{src:e?om:am,alt:""})]}):null]})]})}),cm=C("sve-related-topics",()=>s.jsx("div",{className:"tw-mb-15 tw-pb-0 tw-max-w-full tw-w-full tw-mx-auto md:tw-m-0 md:tw-py-4",children:s.jsx(N,{attribute:"relatedTopics",children:s.jsx("div",{})})})),Po=()=>s.jsx("aside",{role:"complementary","aria-label":"Empfohlene Artikel",className:"tw-mb-4 tw-flex tw-items-center tw-w-full tw-pb-5 sm:tw:mb-4 sm:!tw-mx-0 tw-max-w-wrapper-828 tw-border-b tw-border-solid tw-border-neutral-10 print:tw-hidden",children:s.jsxs("div",{className:"tw-flex-1",children:[s.jsx("p",{className:"tw-text-neutral-10 tw-text-title-md tw-pt-2 tw-pb-4 tw-font-primary tw-border-t tw-mb-0 tw-border-neutral-10 tw-border-solid",children:"Empfohlene Artikel"}),s.jsx(N,{attribute:"regionGroup",children:s.jsx("div",{className:"p-article-group-small-list"})})]})}),dm=C("sve-related-articles",Po),um=C("sve-related-articles-relateds",Po),mm=C("sve-page-main-teasers-list",()=>s.jsx("div",{className:"fp-article-group-small-main tw-mb-4",children:s.jsx("div",{children:s.jsx(N,{attribute:"regionGroup",children:s.jsx("div",{className:"fp-article-group-small-list"})})})})),hm=C("sve-homepage-main-teasers-list",()=>s.jsx("div",{className:"fp-article-group-small-main tw-my-4 tw-mb-15 tw-pb-0 lg:tw-mb-4 lg:tw-pb-4",children:s.jsx("div",{children:s.jsx(N,{attribute:"regionGroup",children:s.jsx("div",{className:"fp-article-group-small-list"})})})})),wm=C("sve-homepage-main-teasers-manual-list",()=>s.jsx("div",{className:"fp-article-group-small-main tw-mb-15 tw-pb-0 lg:tw-mb-4 lg:tw-pb-4",children:s.jsx("div",{children:s.jsx(N,{attribute:"regionGroup",children:s.jsx("div",{className:"fp-article-group-small-list"})})})})),pm=C("sve-small-subtitle",({content:t})=>{const e=b("",["subtitle"],t);return s.jsx("h3",{"doc-editable":"subtitle",className:"fp-article__subtitle tw-font-medium tw-col-span-6 tw-col-start-6 tw-mb-4 md:tw-mb-3 tw-text-xl sm:tw-text-md",dangerouslySetInnerHTML:{__html:e}})}),fm=C("sve-extra-small-subtitle",({content:t})=>{const e=b("",["section-title"],t);return s.jsx("div",{className:"tw-mb-6 lg:tw-mb-4",children:s.jsx("div",{className:"[&_h3]:tw-pt-1 tw-text-base [&_h3]:tw-font-primary",children:s.jsx("h4",{className:"tw-text-base tw-font-medium",dangerouslySetInnerHTML:{__html:e}})})})}),gm={xxl:{max:"1400px"},xl:{max:"1200px"},lg:{max:"992px"},md:{max:"768px"},sm:{max:"576px"},embedScreen:{max:"700px"}},xm=()=>{const t={};return Zc((e,n)=>{const i=e.max;t[n]=parseInt(i.split("p")[0],10)},gm),t},bm=({customClasses:t,id:e,isDecorative:n,title:i,role:r})=>{const a=`${e}-title`;return s.jsxs("svg",{id:e,className:t,role:r,"aria-hidden":n,"aria-labelledby":bt({isDecorative:n,title:i,titleId:a}),width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[!n&&i&&s.jsx("title",{id:a,children:i}),s.jsx("path",{d:"M8.53317 25.3333L6.6665 23.4667L14.1332 16L6.6665 8.53334L8.53317 6.66667L15.9998 14.1333L23.4665 6.66667L25.3332 8.53334L17.8665 16L25.3332 23.4667L23.4665 25.3333L15.9998 17.8667L8.53317 25.3333Z",fill:"white"})]})},ym=({customClasses:t,id:e,isDecorative:n,title:i,role:r})=>{const a=`${e}-title`;return s.jsxs("svg",{id:e,className:t,role:r,"aria-hidden":n,"aria-labelledby":bt({isDecorative:n,title:i,titleId:a}),width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[!n&&i&&s.jsx("title",{id:a,children:i}),s.jsx("path",{d:"M24.2625 19.5H6L6 16.5H24.2625L15.8625 8.1L18 6L30 18L18 30L15.8625 27.9L24.2625 19.5Z",fill:"#191C1E"})]})},vm=({customClasses:t,id:e,isDecorative:n,title:i,role:r})=>{const a=`${e}-title`;return s.jsxs("svg",{id:e,className:t,role:r,"aria-hidden":n,"aria-labelledby":bt({isDecorative:n,title:i,titleId:a}),width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[!n&&i&&s.jsx("title",{id:a,children:i}),s.jsx("path",{d:"M11.7375 16.5L30 16.5L30 19.5L11.7375 19.5L20.1375 27.9L18 30L6 18L18 6L20.1375 8.1L11.7375 16.5
8Z",fill:"#191C1E"})]})},jm=({customClasses:t,id:e,isDecorative:n,title:i,role:r})=>{const a=`${e}-title`;return s.jsxs("svg",{id:e,className:t,role:r,"aria-hidden":n,"aria-labelledby":bt({isDecorative:n,title:i,titleId:a}),width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[!n&&i&&s.jsx("title",{id:a,children:i}),s.jsx("mask",{id:"mask0_7761_120014",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"24",height:"24",children:s.jsx("rect",{width:"24",height:"24",fill:"#D9D9D9"})}),s.jsx("g",{mask:"url(#mask0_7761_120014)",children:s.jsx("path",{d:"M12 12C12.55 12 13.0208 11.8042 13.4125 11.4125C13.8042 11.0208 14 10.55 14 10C14 9.45 13.8042 8.97917 13.4125 8.5875C13.0208 8.19583 12.55 8 12 8C11.45 8 10.9792 8.19583 10.5875 8.5875C10.1958 8.97917 10 9.45 10 10C10 10.55 10.1958 11.0208 10.5875 11.4125C10.9792 11.8042 11.45 12 12 12ZM12 19.35C14.0333 17.4833 15.5417 15.7875 16.525 14.2625C17.5083 12.7375 18 11.3833 18 10.2C18 8.38333 17.4208 6.89583 16.2625 5.7375C15.1042 4.57917 13.6833 4 12 4C10.3167 4 8.89583 4.57917 7.7375 5.7375C6.57917 6.89583 6 8.38333 6 10.2C6 11.3833 6.49167 12.7375 7.475 14.2625C8.45833 15.7875 9.96667 17.4833 12 19.35ZM12 22C9.31667 19.7167 7.3125 17.5958 5.9875 15.6375C4.6625 13.6792 4 11.8667 4 10.2C4 7.7 4.80417 5.70833 6.4125 4.225C8.02083 2.74167 9.88333 2 12 2C14.1167 2 15.9792 2.74167 17.5875 4.225C19.1958 5.70833 20 7.7 20 10.2C20 11.8667 19.3375 13.6792 18.0125 15.6375C16.6875 17.5958 14.6833 19.7167 12 22Z",fill:"#B32922"})})]})},Me=({autoplayEnabled:t=!1,additionalClasses:e="",...n})=>{const[i,r]=f.useState(0),[a,o]=f.useState(!1),[l,c]=f.useState(!1),[d,m]=f.useState(!1),u=f.Children.toArray(n.children),[h,w]=f.useState(Math.min(5,u.length)),{sm:g}=xm(),[p,x]=f.useState(0),y=f.useRef(null),v=f.useRef(null),j=(y.current?.querySelectorAll(".carousel-item")||[]).length,k=!d&&j>3;f.useEffect(()=>{const L=y.current;if(!L)return;L.querySelectorAll(".carousel-item").forEach(W=>{W.style.flex=W.style.flex||"0 0 auto"});function O(){const W=L.querySelector(".carousel-item");if(!W){x(0);return}const et=Math.round(W.getBoundingClientRect().width),P=getComputedStyle(L),q=P.columnGap||P.gap||P.getPropertyValue("gap")||"0px",wt=parseFloat(q)||0;x(et+wt)}O();let U=null;if(typeof ResizeObserver<"u"){U=new ResizeObserver(O),U.observe(L);const W=L.querySelector(".carousel-item");W&&U.observe(W)}const Y=()=>O();return window.addEventListener("resize",Y),()=>{window.removeEventListener("resize",Y),U&&U.disconnect()}},[y]),f.useEffect(()=>{const L=v.current;if(!L)return;const $=()=>{L.scrollLeft+L.clientWidth>=L.scrollWidth-100&&w(O=>Math.min(O+3,u.length))};return L.addEventListener("scroll",$,{passive:!0}),()=>L.removeEventListener("scroll",$)},[u.length]),f.useEffect(()=>{window.innerWidth<g?m(!0):m(!1);const L=y.current.querySelectorAll(".carousel-item");o(!0),i===L.length-2?c(!1):c(!0)});const[I,V]=f.useState(null),[A,E]=f.useState(null),B=50,R=L=>{d||(E(null),V(L.targetTouches[0].clientX))},F=L=>{d||E(L.targetTouches[0].clientX)},J=()=>{if(d||!I||!A)return;const L=I-A,$=L>B,O=L<-50,U=y.current;$?(T(),U.classList.add("tr-carousel-swipe-left")):O&&(D(),U.classList.add("tr-carousel-swipe-right")),setTimeout(()=>{U.classList.remove("tr-carousel-swipe-left","tr-carousel-swipe-right")},500)};f.useEffect(()=>{if(t){const L=setTimeout(()=>{T()},4e3);return()=>clearTimeout(L)}},[i,t]);function Z(L){r(L)}function T(){if(d)return;const $=y.current.querySelectorAll(".carousel-item").length,O=d?1:3,U=$-O;if(i<U){const Y=i+1;Y+O>=$&&w(W=>Math.min(W+3,u.length)),Z(Y)}else Z(0)}function D(){if(d)return;const U=y.current.querySelectorAll(".carousel-item").length-(d?1:3);i>0?Z(i-1):Z(U)}return s.jsxs("div",{className:`tw-relative tw-mb-10 sm:tw-mb-4 [&_.slider-button]:hover:tw-flex ${a?"":"after:tw-hidden"} ${e}`,children:[s.jsx("div",{ref:v,className:"tw-overflow-hidden sm:tw-overflow-x-auto",onTouchStart:R,onTouchMove:F,onTouchEnd:J,children:s.jsx("div",{ref:y,className:"tw-flex tw-gap-x-4 carousel-container tw-transition tw-ease-out tr-carousel md:tw-pb-4",style:{transform:`translateX(-${i*p}px)`},children:u.slice(0,h)})}),k&&s.jsxs(s.Fragment,{children:[a?s.jsx("button",{className:"tw-absolute tw-hidden slider-button tr-carousel-arrow-left tw-w-10 tw-h-10 md:tw-flex tw-items-center tw-justify-center tw-top-[76px] tw-left-4 tw-bg-primary-0/70 tw-p-2 tw-rounded-full active:tw-shadow-none tw-shadow-carousel-btn tw-z-2 hover:tw-invert active:tw-invert-0 tw-transition-colors tw-duration-200 tw-ease-in-out","aria-label":"Zurück",onClick:D,disabled:!k,children:s.jsx(ut,{customClasses:"tw-w-6 tw-w-6 [&_path]:tw-fill-primary-100",IconComponent:vm,isDecorative:!1,title:"Zurück"})}):"",l?s.jsx("button",{className:"tw-absolute slider-button tw-hidden tr-carousel-arrow-right tw-top-[76px] md:tw-flex tw-items-center tw-justify-center tw-right-4 tw-w-10 tw-h-10 tw-bg-primary-0/70 tw-p-2 tw-rounded-full active:tw-shadow-none tw-shadow-carousel-btn tw-z-2 hover:tw-invert active:tw-invert-0 tw-transition-colors tw-duration-200 tw-ease-in-out","aria-label":"Vorwärts",onClick:T,children:s.jsx(ut,{customClasses:"tw-w-6 tw-w-6 [&_path]:tw-fill-primary-100",IconComponent:ym,isDecorative:!1,title:"Vorwärts"})}):""]})]})},Cm=G.useEffect,Tm=C("sve-popular-group",({content:t})=>{const[e,n]=G.useState(!0),i=()=>{window.innerWidth<768?n(!0):n(!1)};Cm(()=>(window.addEventListener("resize",i),i(),()=>{window.removeEventListener("resize",i)}),[]);const r=b("",["sectionATitle"],t),a=b("",["sectionBTitle"],t),o=b("",["sectionCTitle"],t);return s.jsxs("div",{className:"sve-popular-articles tw-mb-11 tw-pb-0 lg:tw-mb-4 lg:tw-pb-4 tw-grid tw-gap-y-4 md:tw-gap-y-0 tw-gap-x-8 tw-grid-cols-12 tw-grid-rows-1 component-border-top",children:[s.jsx("div",{className:"tw-z-0 tw-col-span-full",children:s.jsx("h2",{className:"sve-section_title !md:tw-text-title-lg tw-font-medium tw-flex tw-border-t tw-border-solid tw-border-neutral-10 tw-text-5xl !tw-pt-4 !tw-pb-1 tw-mb-1 [&>a]:after:tw-content-arrowRightNeutral [&>a]:after:tw-ml-2 [&>a]:after:tw-w-[18px] [&>a]:after:tw-inline-block [&>a]:tw-flex [&>a]:tw-items-center md:[&>a]:after:tw-w-4 [&>a]:tw-relative [&>a]:after:tw-absolute [&>a]:after:tw-top-1/2 [&>a]:after:-tw-translate-y-1/2 [&>a]:tw-pr-3 [&>a]:after:-tw-right-4",children:"Aktuell und gefragt"})}),s.jsx("div",{className:"tw-col-span-4 md:tw-col-span-full",children:s.jsxs("div",{className:"tw-block",children:[s.jsx("p",{className:"tw-text-tertiary-10 t
8w-font-primary tw-text-title-lg tw-mb-4 md:tw-text-title-md",dangerouslySetInnerHTML:{__html:r}}),s.jsx("list",{className:"sve-popular-list-new tw-block md:-tw-mb-4",children:e?s.jsx(Me,{autoplayEnabled:!1,children:s.jsx(N,{attribute:"sectionA",children:s.jsx("div",{})})}):s.jsx(N,{attribute:"sectionA",children:s.jsx("div",{})})})]})}),s.jsx("div",{className:"sve-list g-col-12 g-col-md-4 tw-col-span-4 md:tw-col-span-full",children:s.jsxs("div",{className:"sve-popular-list-wrapper tw-block",children:[s.jsx("p",{className:"tw-text-tertiary-10 tw-text-title-lg tw-font-primary tw-mb-4 md:tw-border-t md:tw-text-title-md md:tw-pt-4 md:tw-border-solid md:tw-border-neutral-80",dangerouslySetInnerHTML:{__html:a}}),s.jsx("list",{className:"sve-popular-list-new tw-block md:-tw-mb-4",children:e?s.jsx(Me,{autoplayEnabled:!1,children:s.jsx(N,{attribute:"sectionB",children:s.jsx("div",{})})}):s.jsx(N,{attribute:"sectionB",children:s.jsx("div",{})})})]})}),s.jsx("div",{className:"tw-col-span-4 md:tw-col-span-full",children:s.jsxs("div",{className:"tw-block",children:[s.jsx("p",{className:"tw-text-tertiary-10 tw-font-primary tw-text-title-lg tw-mb-4 md:tw-border-t md:tw-text-title-md md:tw-pt-4 md:tw-border-solid md:tw-border-neutral-80",dangerouslySetInnerHTML:{__html:o}}),s.jsx("list",{className:"sve-popular-list-new tw-block md:-tw-mb-4",children:e?s.jsx(Me,{autoplayEnabled:!1,children:s.jsx(N,{attribute:"sectionC",children:s.jsx("div",{})})}):s.jsx(N,{attribute:"sectionC",children:s.jsx("div",{})})})]})})]})}),Sm=C("sve-popular-list",()=>s.jsx(N,{attribute:"regionGroup",children:s.jsx("div",{className:"fp-article-group-small-list"})})),km="data:image/svg+xml,%3csvg%20width='11'%20height='14'%20viewBox='0%200%2011%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%20%3e%3cpath%20d='M5.5%2012.3771C6.89792%2011.0454%207.9349%209.83555%208.61094%208.74741C9.28698%207.65975%209.625%206.69384%209.625%205.84968C9.625%204.55372%209.22671%203.49245%208.43012%202.66589C7.634%201.8398%206.65729%201.42675%205.5%201.42675C4.34271%201.42675%203.36577%201.8398%202.56919%202.66589C1.77306%203.49245%201.375%204.55372%201.375%205.84968C1.375%206.69384%201.71302%207.65975%202.38906%208.74741C3.0651%209.83555%204.10208%2011.0454%205.5%2012.3771ZM5.5%2014C5.40833%2014%205.31667%2013.9822%205.225%2013.9465C5.13333%2013.9108%205.05313%2013.8633%204.98438%2013.8038C3.31146%2012.2701%202.0625%2010.8464%201.2375%209.53284C0.4125%208.2188%200%206.99108%200%205.84968C0%204.06624%200.552979%202.64544%201.65894%201.58726C2.76444%200.529087%204.04479%200%205.5%200C6.95521%200%208.23556%200.529087%209.34106%201.58726C10.447%202.64544%2011%204.06624%2011%205.84968C11%206.99108%2010.5875%208.2188%209.7625%209.53284C8.9375%2010.8464%207.68854%2012.2701%206.01562%2013.8038C5.94687%2013.8633%205.86667%2013.9108%205.775%2013.9465C5.68333%2013.9822%205.59167%2014%205.5%2014Z'%20fill='%231C1B1F'%20/%3e%3cpath%20d='M6.47681%206.961C6.20731%207.24064%205.8835%207.38046%205.50537%207.38046C5.12725%207.38046%204.80366%207.24064%204.53462%206.961C4.26512%206.68183%204.13037%206.34607%204.13037%205.95371C4.13037%205.56135%204.26512%205.22535%204.53462%204.94571C4.80366%204.66654%205.12725%204.52696%205.50537%204.52696C5.8835%204.52696%206.20731%204.66654%206.47681%204.94571C6.74585%205.22535%206.88037%205.56135%206.88037%205.95371C6.88037%206.34607%206.74585%206.68183%206.47681%206.961Z'%20fill='%231C1B1F'%20/%3e%3c/svg%3e",Nm=C("sve-popular-teaser",({content:t})=>{const e=b("",["catchline"],t),n=b("",["title"],t),i=b("",["region"],t);return s.jsx("div",{className:"tw-py-5",children:s.jsxs("a",{"doc-link":"link",className:"tw-inline-block",children:[s.jsx(N,{attribute:"image",children:s.jsx(M.ImageV2,{className:"[&>img]:tw-aspect-video [&>img]:tw-object-cover [&>img]:tw-h-full [&>img]:tw-w-full [&>img]:tw-rounded tw-mb-1",sizes:"(max-width: 768px) 100vw, 330px"})}),s.jsx("div",{children:s.jsxs("header",{children:[s.jsx("span",{className:"tw-text-primary-40 tw-text-sm tw-capitalize tw-font-bold tw-pb-1",dangerouslySetInnerHTML:{__html:e}}),s.jsx("h3",{className:"tw-text-md tw-mb-3",dangerouslySetInnerHTML:{__html:n}}),s.jsxs("div",{className:"tw-flex tw-items-center tw-text-sm tw-text-neutral-40 tw-mt-2",children:[s.jsx("img",{className:"tw-inline-block tw-mr-2",src:km,alt:""}),s.jsxs("span",{className:"tw-text-sm tw-font-bold tw-tracking-wider tw-text-neutral-40",children:["Region ",i]})]})]})})]})})}),Lm=C("sve-region-group",()=>s.jsx("div",{className:"fp-article-group-small",children:s.jsx("list",{children:s.jsx(N,{attribute:"regionGroup",children:s.jsx("div",{className:"fp-article-group-small-list"})})})})),Am=C("select-box-without-login",({content:t})=>{const e=b("",["selectLabel"],t);return s.jsx("div",{className:"tw-relative tw-bg-neutral-95 tw-rounded tw-p-5 -tw-mt-6 after:tw-content-empty after:tw-block after:tw-w-3 after:tw-h-3 after:tw-bg-neutral-95 after:tw-absolute after:tw-rotate-45 after:tw-origin-center after:tw-left-9 after:-tw-top-1",children:s.jsxs("div",{className:"tw-flex tw-justify-between tw-gap-4 sm:tw-flex-col",children:[s.jsx("div",{className:"tw-w-1/2 tw-font-medium sm:tw-w-full",dangerouslySetInnerHTML:{__html:e}}),s.jsx("div",{className:"sm:tw-w-full tw-w-1/2 tw-flex tw-justify-center tw-relative tw-max-w-[370px]",children:s.jsx(N,{attribute:"regionOptions",children:s.jsx("div",{})})})]})})});/*! js-cookie v3.0.1 | MIT */function ln(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)t[i]=n[i]}return t}var Pm={read:function(t){return t[0]==='"'&&(t=t.slice(1,-1)),t.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(t){return encodeURIComponent(t).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decode
8URIComponent)}};function Ss(t,e){function n(r,a,o){if(!(typeof document>"u")){o=ln({},e,o),typeof o.expires=="number"&&(o.expires=new Date(Date.now()+o.expires*864e5)),o.expires&&(o.expires=o.expires.toUTCString()),r=encodeURIComponent(r).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var l="";for(var c in o)o[c]&&(l+="; "+c,o[c]!==!0&&(l+="="+o[c].split(";")[0]));return document.cookie=r+"="+t.write(a,r)+l}}function i(r){if(!(typeof document>"u"||arguments.length&&!r)){for(var a=document.cookie?document.cookie.split("; "):[],o={},l=0;l<a.length;l++){var c=a[l].split("="),d=c.slice(1).join("=");try{var m=decodeURIComponent(c[0]);if(o[m]=t.read(d,m),r===m)break}catch{}}return r?o[r]:o}}return Object.create({set:n,get:i,remove:function(r,a){n(r,"",ln({},a,{expires:-1}))},withAttributes:function(r){return Ss(this.converter,ln({},this.attributes,r))},withConverter:function(r){return Ss(ln({},this.converter,r),this.attributes)}},{attributes:{value:Object.freeze(e)},converter:{value:Object.freeze(t)}})}var ns=Ss(Pm,{path:"/"});const de=ns.withConverter({write(t){try{const e=JSON.parse(t);if(typeof e!="object")throw new Error;t="j:"+JSON.stringify(e)}catch{}return ns.converter.write(t)},read(t){return t=ns.converter.read(t),t.slice(0,2)==="j:"?t.slice(2):t}}),wi="Account",Fe="Session",Im="Entitlements",Mm="Token",St="Region",pi="mppNextRegOp",An=0,Wt="Alle Regionen",yt=t=>{const e=window.localStorage.getItem(t);let n;try{n=JSON.parse(e)}catch{n=e}return n},He=(t,e)=>{window.localStorage.setItem(t,e)},Em=(t,e)=>{He(t,JSON.stringify(e))},_m=t=>{try{return window.localStorage.removeItem(t)}catch{return null}},Kx=()=>{const t=[wi,Im,Fe,Mm,St,pi];try{t.forEach(e=>_m(e))}catch{return null}},Vm=C("select-box-item",({content:t})=>{const e=f.useContext(Dt),n=async()=>{const{accountReference:o}=yt(wi),l=yt(St),c=yt(pi);try{const d=await fetch(`${e.osc.endpoint}/api/accounts/${o}`,{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({operation:c,region:l})});if(d.status===200)console.log("region stored");else{const m=await d.json();console.error(m.error||"")}}catch(d){console.error(d.message||"")}},i=async o=>{He(St,o);const l=yt(Fe);l&&l.longSessionActive&&await n(),window.location.reload()},[r,a]=G.useState(Wt);return f.useEffect(()=>{const o=window.localStorage.getItem(St);if(o!==null){for(const c in t)if(Number(o)===Number(t[c].id)){a(t[c].region);break}setTimeout(()=>{yt(Fe)?.longSessionActive||(de.remove("category"),He(St,An))},1e3)}else a(Wt);const l=()=>{const c=yt(St);if(c!==null){for(const d in t)if(Number(c)===Number(t[d].id)){a(t[d].region);break}}};return window.addEventListener("login",l),()=>{window.removeEventListener("login",l)}},[]),s.jsxs("details",{className:"tw-relative tw-w-full open:tw-z-1",children:[s.jsx("summary",{className:"tw-bg-transparent tw-border-2 tw-border-solid tw-border-neutral-0 tw-rounded-[30px] tw-w-full tw-items-center tw-inline-flex tw-justify-center tw-text-center tw-gap-2.5 tw-text-xs tw-font-bold tw-leading-4 tw-tracking-wider tw-cursor-pointer tw-list-none tw-p-[6px] after:tw-content-[''] after:tw-inline-block after:tw-w-[0.3rem] after:tw-h-[0.3rem] after:tw-border-b-2 after:tw-border-solid after:tw-border-current after:tw-border-l-2 after:tw-border-l-solid after:tw-rounded-bl-sm after:-tw-rotate-45 after:tw-translate-y-[2px] after:tw-origin-center after:tw-transition-transform after:tw-ease-in-out after:tw-duration-100 after:tw-mb-1 [counter-reset:radios] after:float-right",children:r}),s.jsxs("ul",{className:"tw-w-full tw-bg-primary-99 tw-absolute tw-top-[calc(100%+0.4rem)] tw-left-0 tw-p-4 tw-m-0 tw-box-border tw-border tw-border-solid tw-border-neutral-80 tw-max-h-m-placeholder tw-overflow-y-auto tw-shadow-list tw-rounded",children:[s.jsx("li",{className:"tw-m-0 tw-py-4 tw-border-b tw-border-solid tw-border-b-[#ccc] first:tw-pt-0 last:tw-pb-0 last:tw-border-b-0 [counter-reset:labels]",children:s.jsx("label",{className:"tw-w-full tw-flex tw-cursor-pointer tw-justify-between",onClick:()=>{de.remove("category"),i(An)},children:Wt})},"all-regions"),t.map(({region:o,id:l})=>s.jsx("li",{className:"tw-m-0 tw-py-4 tw-border-b tw-border-solid tw-border-b-[#ccc] first:tw-pt-0 last:tw-pb-0 last:tw-border-b-0 [counter-reset:labels]",children:s.jsx("label",{className:"tw-w-full tw-flex tw-cursor-pointer tw-justify-between",onClick:()=>{de.set("category",l,{sameSite:"none",secure:!0,expires:365}),i(l)},children:o})},l))]})]})}),Dm="data:image/svg+xml,%3csvg%20width='48'%20height='48'%20viewBox='0%200%2048%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='48'%20height='48'%20rx='24'%20fill='white'%20fill-opacity='0.8'/%3e%3cmask%20id='mask0_13797_3251'%2
80style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='12'%20y='12'%20width='24'%20height='24'%3e%3crect%20x='12'%20y='12'%20width='24'%20height='24'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_13797_3251)'%3e%3cpath%20d='M15%2033V25H17V29.6L29.6%2017H25V15H33V23H31V18.4L18.4%2031H23V33H15Z'%20fill='%231C1B1F'/%3e%3c/g%3e%3c/svg%3e",Rm=f.lazy(()=>Ja(()=>import("./SveLightboxSwiper-B8DQj9rl.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8]))),Bm=C("sve-image",({content:t})=>{const[e,n]=f.useState(!1),[i,r]=f.useState([]),a=b(!1,["showCaption"],t),o=b("",["caption"],t),l=b(null,["image"],t),c=()=>{if(!e&&l?.url){const d=b("",["url"],l);r([{src:d,alt:o}]),n(!0)}};return f.useEffect(()=>{const d=document.querySelector("article");if(d)return e?d.classList.add("tw-z-[9999999999]","tw-relative"):d.classList.remove("tw-z-[9999999999]","tw-relative"),()=>{d.classList.remove("tw-z-[9999999999]","tw-relative")}},[e]),s.jsxs("div",{className:"fp-image_wrapper tw-mb-6 tw-fill-primary-40 print:!tw-break-inside-avoid-page ",children:[s.jsx("figure",{className:"fp-figure tw-embed tw-text-[0]","data-component-name":"Image",role:"button",tabIndex:e?-1:0,onClick:c,onKeyDown:d=>!e&&d.key==="Enter"&&c(),children:s.jsxs("div",{className:"fp-image-wrapper tw-h-auto tw-m-0 tw-cursor-pointer",children:[s.jsx("div",{className:"tw-relative tw-inline-block",children:s.jsx(N,{attribute:"image",children:s.jsx(M.ImageV2,{className:"[&>img]:tw-w-full [&>img]:tw-rounded [&>img]:tw-max-w-full",sizes:"(max-width: 660px) 100vw, 660px"})})}),s.jsx("div",{className:"tw-absolute !tw-bottom-2 tw-right-2 tw-z-10 print:tw-hidden",children:s.jsx("img",{alt:"Bild vergrößern",className:"sm:tw-w-9 sm:tw-h-9",src:Dm})})]})}),a?s.jsx("figcaption",{className:"fp-image-info tw-mt-3",children:s.jsxs("div",{className:"fp-article_key-visual-details tw-text-[15px]",children:[s.jsx(N,{attribute:"caption",children:s.jsx("span",{className:"fp-article_key-visual-desc-field tw-text-neutral-10"})}),s.jsxs("span",{className:"fp-article_key-visual-label tw-text-neutral-10",children:[" ","(Foto:"," ",s.jsx(N,{attribute:"source",children:s.jsx("span",{className:"fp-article_key-visual-source-field tw-text-neutral-10"})}),")"]})]})}):null,e&&i.length>0&&s.jsx(f.Suspense,{fallback:null,children:s.jsx(Rm,{images:i,initialSlide:0,handleClose:()=>n(!1),isLightBoxOpen:e})})]})});function $m(t){const e="_bp.push(",n=t.indexOf(e);if(n===-1)return null;const i=n+e.length,r=t.indexOf("{",i);if(r===-1)return null;let a=0,o=-1;for(let c=r;c<t.length;c++){const d=t[c];if(d==="{")a++;else if(d==="}"&&(a--,a===0)){o=c;break}}if(o===-1)return null;const l=t.slice(r,o+1);try{return JSON.parse(l)}catch{return console.warn("[FP-Target-Video] Could not JSON.parse config:",l),null}}function Om(t){if(!t)return[];const e=t.querySelectorAll("script"),n=[];return e.forEach(i=>{const r=i.textContent||"";if(!r.includes("_bp.push"))return;const a=$m(r);a&&a.div&&a.obj&&n.push(a)}),n}function zm(t){const e=[];return t.forEach(n=>{const{div:i}=n;try{if(!document.getElementById(i)){console.warn("[FP-Target-Video] Div not found:",i);return}if(window.$bp?.players?.[i]){const a=window.$bp.players[i];console.warn("[FP-Target-Video] Existing player found (ignore if first non SPA load):",a)}window._bp=window._bp||[],Array.isArray(window._bp)?(console.log("[FP-Target-Video] SDK not loaded - initializing player via _bp.push (array queue):",i),window._bp.push(n),e.push(i)):(console.log("[FP-Target-Video] SDK loaded - initializing player via _bp.push (object):",i),window._bp.push(n),e.push(i))}catch(r){console.error("[FP-Target-Video] Failed to initialize player:",i,r)}}),e}function Fm(t){t.length&&window.$bp?.players&&t.forEach(e=>{try{const n=window.$bp.players[e];if(!n)return;typeof n.destroy=="function"?n.destroy():typeof n.remove=="function"&&n.remove(),delete window.$bp.players[e],console.log("[FP-Target-Video] Cleaned up player:",e)}catch(n){console.error("[FP-Target-Video] Cleanup error for",e,n)}})}const Hm=(t,e)=>t.html===e.html,Um=t=>{const{html:e,className:n}=t,i=f.useRef(null),r=f.useRef([]);return f.useEffect(()=>{if(!i.current||!(e.includes("_bp.push")||e.includes("targetvideo.min.js")||e.includes("brid.min.js")))return;const o=Om(i.current);if(!o.length)return;const l=setTimeout(()=>{const c=zm(o);r.current=c},150);return()=>{clearTimeout(l),Fm(r.current),r.current=[]}},[e]),s.jsx("div",{ref:i,dangerouslySetInnerHTML:{__html:e},className:n})},Jt=G.memo(Um,Hm),Wm=C("sve-pdf",({content:t})=>{const e=b(null,["pdf","html"],t);return e?s.jsx(Jt,{html:e,className:"fp-image_wrapper tw-mb-6"}):null}),qm=C("sve-gallery-image",({content:t})=>{const e=b("",["caption"],t),n=b("",["source"],t),i=b(!1,["showCaption"],t);return s.jsxs("div",{className:"fp-image_wrapper",children:[s.jsx("figure",{className:"fp-figure embed","data-component-name":"Image",children:s.jsx("div",{className:"fp-image-wrapper",children:s.jsx(N,{attribute:"image",children:s.jsx(M.ImageV2,{sizes:"(max-width: 685px) 100v
8w, 685px"})})})}),i?s.jsx("figcaption",{className:"fp-image-info",children:s.jsxs("div",{className:"fp-article_key-visual-details",children:[s.jsx("span",{className:"fp-article_key-visual-desc-field",children:e}),s.jsxs("span",{className:"fp-article_key-visual-label",children:[" ","(Foto:"," ",s.jsx("span",{className:"fp-article_key-visual-source-field",children:n}),")"]})]})}):null]})}),Gm=C("vertical-page-list",()=>s.jsx("div",{className:"tw-px-4 tw-mb-15 tw-pb-0 tw-w-full tw-mx-auto lg:twpb-4 md:tw-m-0",children:s.jsx("div",{className:"fp-teaser-list",children:s.jsx(N,{attribute:"regionGroup",children:s.jsx("div",{children:s.jsx("div",{className:"tw-min-h-s-placeholder tw-flex tw-justify-center tw-items-center tw-bg-ld-placeholder tw-m-2 ",children:"Placeholder"})})})})})),Zm=["script","iframe","img","video","audio","picture","source","embed","object"];function Km(t,e){if(!t||typeof t!="string")return null;const n=t.trim();try{let i=n;if(n.startsWith("//"))i="https:"+n;else if(!n.startsWith("http://")&&!n.startsWith("https://"))return null;const a=new URL(i).hostname.toLowerCase();for(const[o,l]of Object.entries(e))if(a===o||a.endsWith("."+o))return l;return null}catch{return null}}function fi(t,e=!1,n={}){if(!t)return{resultHtml:t,vendor:null,processed:!1,error:null};try{let i=null,r=!1;const a=[],o=Zm.join("|"),l=new RegExp(`(<(?:${o})\\b)([^>]*?\\bsrc\\s*=\\s*(?:"[^"]*"|'[^']*'|[^\\s>]+)[^>]*?)(\\s*/?>)`,"gi"),c=t.replace(l,(d,m,u,h)=>{const w=u.match(/\bsrc\s*=\s*(?:"([^"]*)"|'([^']*)'|([^\s>]+))/);if(!w)return d;const g=w[1]??w[2]??w[3];if(!g)return d;const p=Km(g,n);if(!p)return a.push(g),d;if(i||(i=p),r=!0,e)return d;let x=u.replace(/\bsrc\s*=\s*(?:"[^"]*"|'[^']*'|[^\s>]+)\s*/i,"");x+=` data-cmp-src="${g}" data-cmp-vendor="${p}" type="text/plain"`;const y=x.match(/\bclass\s*=\s*"([^"]*)"/i);return y?x=x.replace(/\bclass\s*=\s*"([^"]*)"/i,`class="${y[1]} cmplazyload"`):x+=' class="cmplazyload"',`${m}${x}${h}`});return i?{resultHtml:c,vendor:i,processed:r,error:a.length>0?`unmatched sources: ${a.join(", ")}`:null}:{resultHtml:t,vendor:null,processed:!1,error:"vendor not matched"}}catch(i){return{resultHtml:t,vendor:null,processed:!1,error:i.message}}}const Ym=G.createContext({}),gi=()=>f.useContext(Ym),Xm=C("sve-embed-code",({content:t})=>{const e=b(null,["embed","params","document","value","metadata","code"],t),n=st(),i=gi(),{fpGtmModeEmbedRender:r=!1}=n||{};if(!r)return s.jsx(Jt,{html:e,className:"fp-free-html-container tw-my-0 tw-mx-auto tw-block [&>div]:tw-mb-10 [&>*]:tw-max-w-[100%] [&>*]:tw-mx-auto"});const{resultHtml:a,vendor:o,processed:l,error:c}=fi(e,!1,i);return l&&!c?s.jsx(Jt,{html:a,className:"fp-free-html-container tw-my-0 tw-mx-auto tw-block [&>div]:tw-mb-10 [&>*]:tw-max-w-[100%] [&>*]:tw-mx-auto"}):!l||c?s.jsx("span",{style:{display:"none"},children:`Failed to process embed for vendor: ${o}, error: ${c}`}):null}),Yn=({link:t,className:e})=>s.jsx(Ot,{variant:"secondary",size:"large",to:t,label:"Mehr anzeigen",customClassName:`tw-col-span-12 tw-w-full ${e}`}),Jm=C("sve-small-teasers-list",({content:t})=>{const e=f.useRef(null),[n,i]=f.useState("");f.useEffect(()=>{if(e){const a=e.current.querySelector("a")?.getAttribute("href");i(a)}},[e]);const r=b("",["section-title"],t);return s.jsxs("div",{className:"fp-article-group-small fp-section small-teasers-list tw-mb-0 tw-pb-0 !tw-px-0 component-border-top",children:[s.jsxs("div",{children:[s.jsx("h2",{ref:e,className:"sve-section_title tw-font-medium tw-flex tw-border-t tw-border-solid tw-border-neutral-10 tw-text-5xl tw-py-4 tw-mb-1 [&>a]:after:tw-content-arrowRightNeutral [&>a]:after:tw-ml-2 [&>a]:after:tw-w-[18px] [&>a]:after:tw-inline-block [&>a]:tw-flex [&>a]:tw-items-center md:[&>a]:after:tw-w-4 [&>a]:tw-relative [&>a]:after:tw-absolute [&>a]:after:tw-top-1/2 [&>a]:after:-tw-translate-y-1/2 [&>a]:tw-pr-3 [&>a]:after:-tw-right-4","doc-editable":"title",dangerouslySetInnerHTML:{__html:r}}),s.jsx(N,{attribute:"regionGroup",children:s.jsx("div",{className:"fp-article-group-small-list"})})]}),n?s.jsx(Yn,{className:"tw-mt-8 sm:tw-mt-3",link:n}):""]})}),Qm="tw-flex tw-border-t tw-font-medium tw-border-solid tw-border-neutral-10 tw-py-4 tw-text-5xl tw-mb-1 tw-leading-[1] md:tw-text-xl [&>a]:tw-text-neutral-10 [&>a]:after:tw-content-arrowRightNeutral [&>a]:after:tw-ml-2 [&>a]:after:tw-w-[18px] [&>a]:after:tw-inline-block [&>a]:tw-flex [&>a]:tw-items-center md:[&>a]:after:tw-w-4 [&>a]:tw-relative [&>a]:after:tw-absolute [&>a]:after:tw-top-1/2 [&>a]:after:-tw-translate-y-1/2 [&>a]:tw-pr-3 [&>a]:after:-tw-right-4",t0=C("sve-category-section",({content:t})=>{const e=f.useRef(null),[n,i]=f.useState("");f.useEffect(()=>{if(e){const o=e.current.querySelector("a")?.getAttribute("href");i(o)}},[e]);const r=b(Qm,["title-color","css-title-color"],t),a=b("",["section-title"],t);return s.jsxs("div",{className:"tw-mb-15 tw-pb-0 tw-mt-4 lg:tw-pb-4",children:[s.jsxs("div",{children:[s.jsx("h2",{className:r,ref:e,dangerouslySetInnerHTML:{__html:a}}),s.jsx(N,{attribute:"regionGroup",children:s.jsx("div",{className:"fp-article-group-small-list"})})]}),n?s.jsx(Yn,{className:"tw-mt-8 sm:tw-mt-3",link:n}):""]})}),e0=C("sve-select-list",()=>s.jsx("div",{children:s.jsx("div",{children:s.jsx(N,{attribute:"regionGroup",children:s.jsx("div",{className:"fp-article-group-small-list"})})})})),Io=G.createContext(null),n0=C("sve-region-links",()=>{const t=G.useContext(Io)?.topnavigation||[];return s.jsxs("div",{className:"[&.doc-component]:tw-bg-neutral-95 [&.doc-component]:tw-mb-5 [&.doc-component]:tw-pb-4 tw-px-4 tw-mb-15 tw-pb-0 lg:tw-mb-4 lg:pb-4",children:[s.jsx("p",{className:"tw-mb-6 tw-font-primary tw-font-bold tw-font-md tw-font-primary sm:tw-text-base",children:"Regionen:"}),s.jsx("ul",{className:"tw-flex tw-flex-wrap tw-gap-2 ",children:t.map((e,n)=>s.jsx("li",{className:"tw-border-e tw-border-solid tw-border-neutral-10 last:tw-border-0",children:s.jsx(rt,{to:e.href||e.uri,className:"tw-pr-[7px] tw-font-semibold tw-text-md tw-text-neutral-10 tw-border-none sm:tw-text-base",children:e.label},n)}
8,n))})]})}),s0=C("sve-topic-section",({content:t})=>{const e=f.useRef(null),[n,i]=f.useState("");f.useEffect(()=>{if(e){const a=e.current.querySelector("a")?.getAttribute("href");i(a)}},[e]);const r=b("",["section-title"],t);return s.jsx("div",{className:"tw-py-4 tw-mb-15 lg:tw-mb-0 tw-pb-0 !tw-my-4 component-border-top",children:s.jsxs("div",{children:[s.jsx("h2",{ref:e,className:"tw-font-medium tw-flex tw-py-4 tw-px-0 tw-text-5xl md:tw-text-xl tw-text-neutral-10 [&>a]:tw-text-neutral-10 [&>a]:after:tw-content-arrowRightNeutral [&>a]:after:tw-ml-2 [&>a]:after:tw-w-[18px] [&>a]:after:tw-inline-block [&>a]:tw-flex [&>a]:tw-items-center tw-border-t tw-border-solid tw-border-neutral-10 tw-mb-1 md:[&>a]:after:tw-w-4 [&>a]:tw-relative [&>a]:after:tw-absolute [&>a]:after:-tw-right-6 [&>a]:after:tw-top-1/2 [&>a]:after:-tw-translate-y-1/2",dangerouslySetInnerHTML:{__html:r}}),s.jsx(N,{attribute:"regionGroup",children:s.jsx("div",{className:"fp-article-group-small-list"})}),n?s.jsx(Yn,{className:"tw-mt-8 sm:tw-mt-3",link:n}):""]})})}),i0=C("sve-topic-region-section",()=>s.jsx("div",{className:"fp-article-group-small",children:s.jsx("div",{children:s.jsx(N,{attribute:"regionGroup",children:s.jsx("div",{className:"fp-article-group-small-list"})})})})),r0=C("sve-related-articles-container",()=>s.jsx("aside",{role:"complementary","aria-label":"Empfohlene Artikel",className:"tw-w-container-350 tw-float-right !tw-ml-4 sm:tw-max-w-full tw-mb-4 tw-flex tw-items-center sm:tw-w-full sm:tw-float-none tw-pb-4 sm:tw:mb-4 sm:!tw-mx-0 tw-max-w-wrapper-828 sm:tw-p-0 sm:tw-pb-1 tw-border-b tw-border-solid tw-border-neutral-10 print:tw-hidden",children:s.jsxs("list",{className:"tw-flex-1 related-article-list ",children:[s.jsx("p",{className:"tw-text-neutral-10 tw-py-2 tw-border-t tw-mb-0 tw-text-title-md tw-font-medium tw-border-solid tw-border-b-neutral-10 tw-font-primary",children:"Empfohlene Artikel"}),s.jsx(N,{attribute:"relatedArticlesContainer",children:s.jsx("div",{className:"fp-article-group-small-list tw-mt-2"})})]})})),a0=C("sve-related-article-embed",()=>s.jsx(N,{attribute:"teaser",children:s.jsx("div",{})}));function o0(){return typeof window.localStorage>"u"?(console.warn("localStorage is not supported by this browser."),!1):navigator.cookieEnabled?!0:(console.warn("Cookies are not supported by this browser."),!1)}function cn(t){const e=window.localStorage.getItem(t);try{return JSON.parse(e)}catch{return e}}function mr(){const t=document.cookie.match(/sso-sessionId=([a-z0-9]+)/);return t?t[1]:""}function l0(t,e,n){const i=new Date;i.setTime(i.getTime()+n*24*60*60*1e3);const r=`expires=${i.toUTCString()}`;document.cookie=`${t}=${e};${r};path=/`}async function c0(t){let e={account:null,session:null,entitlements:null,userInsight:null};if(!o0())return e;const n=async u=>(await fetch(`${t}/api/session/${u}/user`,{method:"POST",mode:"cors",cache:"no-cache",credentials:"include",headers:{"Content-Type":"application/json"}})).json(),i=mr();if(!i)return e;const r=cn("Account"),a=cn("Session"),o=cn("Entitlements"),l=cn("UserInsight"),c=window.localStorage.getItem("Token"),d=!!c&&c!==i;if(!!i&&!r?.accountReference||d)try{const u=await n(i),h=u?.account,w=u?.session,g=u?.entitlements,p=h?.customParameters?.Region,x=h.customParameters.Region?"replace":"add";p&&(window.localStorage.setItem("Region",p),l0("category",p,30)),window.localStorage.setItem("mppNextRegOp",x),window.localStorage.setItem("Account",JSON.stringify(h)),window.localStorage.setItem("Session",JSON.stringify(w)),window.localStorage.setItem("Entitlements",JSON.stringify(g)),window.localStorage.setItem("Token",mr()),l&&window.localStorage.setItem("UserInsight",JSON.stringify(l)),window.dispatchEvent(new Event("login")),e={account:h,session:w,entitlements:g,...l?{userInsight:l}:{}}}catch(u){console.error("Error fetching user data:",u)}else e={account:r,session:a,entitlements:o,userInsight:l};return e}const Mo={user:null,session:null,entitlements:null,userInsight:null},Eo=f.createContext(Mo);function _o(){return f.useContext(Eo)}function Yx({children:t,osc:e}){const[n,i]=f.useState(Mo),[r,a]=f.useState(!1);return f.useEffect(()=>{let o=!0;async function l(){const c=e?.endpoint||"",d=await c0(c);o&&(i(d),r||(a(!0),window.dispatchEvent(new Event("pushAuthData"))))}return l(),()=>{o=!1}},[e]),s.jsx(Eo.Provider,{value:n,children:t})}const d0=C("sve-cta",({content:t})=>{const e=b(!1,["loggedIn"],t),n=b("",["ctaTitle"],t),i=b("",["ctaParagraph"],t),r=b("",["ctaBtn"],t),a=b("",["ctaLabel"],t),o=b("",["ctaLink"],t),l=_o();return b(!1,["session","longSessionActive"],l)&&e?null:s.jsx("div",{className:"tw-py-0 tw-mb-15 md:tw-ml-0 md:tw-mr-0 md:tw-p-0 md:tw-mb-4","doc-style":"loggedIn",children:s.jsx("div",{className:"tw-bg-primary-40 tw-rounded tw-text-primary-100 t
8w-p-10 md:tw-rounded-none sm:tw-py-10 sm:tw-px-5",children:s.jsxs("div",{className:"tw-grid tw-grid-cols-12 tw-grid-rows-1 tw-gap-y-5 tw-gap-x-6",children:[s.jsx("span",{children:s.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"42",height:"40",fill:"none",viewBox:"0 0 42 40",children:s.jsx("path",{fill:"#fbfcff",d:"M3 39.3q-1.2.4-2.1-.5t-.5-2.1l6.5-18A4 4 0 0 1 9.7 16q2.1-.5 3.8 1.1l9 9.1q1.6 1.5 1.2 3.8a4 4 0 0 1-2.6 2.8zM5.6 34l14.1-5-9.1-9.1zm17.5-13.4a1.4 1.4 0 0 1 0-2L33.2 8.4q1.6-1.5 3.9-1.6 2.2 0 3.8 1.6l.2.2q.4.3.4 1t-.4 1a1.4 1.4 0 0 1-2.1 0l-.2-.1q-.7-.7-1.7-.7t-1.8.7L25.1 20.8q-.4.3-1 .4-.6 0-1-.5m-8-8a1.4 1.4 0 0 1 0-2l.1-.2q.7-.7.7-1.7T15.2 7l-.3-.3q-.4-.4-.4-1t.5-1a1.4 1.4 0 0 1 2 0l.3.2q1.6 1.5 1.6 3.8 0 2.1-1.6 3.8l-.2.2q-.4.3-1 .4-.6 0-1-.5m4 4a1.4 1.4 0 0 1 0-2l6.1-6.2q.7-.7.7-1.8 0-1-.7-1.7L23 2.8q-.4-.4-.4-1t.5-1a1.4 1.4 0 0 1 2 0l2.2 2q1.5 1.6 1.6 4 0 2.1-1.6 3.8l-6.2 6.2q-.4.3-1 .4-.6 0-1-.5m8 8a1.4 1.4 0 0 1 0-2l2.1-2.2q1.6-1.6 3.9-1.6t3.8 1.6l2.2 2.2q.4.4.4 1t-.4 1a1.4 1.4 0 0 1-2.1 0l-2.2-2.1q-.7-.7-1.7-.7t-1.8.7l-2.2 2.2q-.4.3-1 .4-.6 0-1-.5"})})}),s.jsx("p",{className:"tw-text-primary-100 tw-mb-3 tw-font-primary tw-font-medium tw-col-start-2 sm:tw-col-start-3 md:tw-text-xl tw-col-end-12 tw-text-2xl",dangerouslySetInnerHTML:{__html:n}}),s.jsx("p",{className:"tw-font-primary tw-font-semibold md:tw-col-start-1 tw-col-start-2 tw-col-end-13 sm:tw-col-end-12 tw-text-primary-100 tw-pt-2 [&>a]:tw-text-neutral-100 [&>a]:tw-underline [&>a]:tw-cursor-pointer",dangerouslySetInnerHTML:{__html:i}}),s.jsx("div",{className:"tw-col-start-2 md:tw-col-start-1 tw-col-end-12 tw-font-medium tw-text-primary-100",children:s.jsx("button",{className:"tw-border-none tw-py-2 tw-px-4 tw-text-center tw-no-underline tw-inline-block tw-text-base tw-bg-primary-100 tw-transition-all tw-duration-200 tw-ease-in hover:tw-bg-primary-95 focus:tw-bg-primary-90 tw-font-bold tw-min-w-btn tw-rounded",children:s.jsx("span",{className:"tw-text-primary-40 [&>a]:tw-text-primary-40",dangerouslySetInnerHTML:{__html:r}})})}),s.jsxs("div",{className:"tw-col-start-2 md:tw-col-start-1 tw-col-end-12",children:[s.jsx("span",{className:"tw-col-start-2 md:tw-col-start-1 tw-col-end-12 tw-pr-2 tw-text-primary-100 tw-font-medium",dangerouslySetInnerHTML:{__html:a}}),s.jsx("span",{className:"tw-text-primary-100 [&>a]:tw-text-primary-100 tw-underline tw-cursor-pointer",dangerouslySetInnerHTML:{__html:o}})]})]})})})}),Vo="data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%200%2014%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%20%3e%3cpath%20d='M6.91732%2013.3236C6.76454%2013.1708%206.68454%2012.9763%206.67732%2012.7402C6.67065%2012.5041%206.74371%2012.3097%206.89648%2012.1569L10.9798%208.07357H1.66732C1.43121%208.07357%201.23315%207.99357%201.07315%207.83357C0.913707%207.67412%200.833984%207.47635%200.833984%207.24023C0.833984%207.00412%200.913707%206.80607%201.07315%206.64607C1.23315%206.48662%201.43121%206.4069%201.66732%206.4069H10.9798L6.89648%202.32357C6.74371%202.17079%206.67065%201.97635%206.67732%201.74023C6.68454%201.50412%206.76454%201.30968%206.91732%201.1569C7.0701%201.00412%207.26454%200.927734%207.50065%200.927734C7.73676%200.927734%207.93121%201.00412%208.08398%201.1569L13.584%206.6569C13.6673%206.72635%2013.7265%206.81301%2013.7615%206.9169C13.7959%207.02135%2013.8132%207.12912%2013.8132%207.24023C13.8132%207.35135%2013.7959%207.45551%2013.7615%207.55273C13.7265%207.64996%2013.6673%207.74023%2013.584%207.82357L8.08398%2013.3236C7.93121%2013.4763%207.73676%2013.5527%207.50065%2013.5527C7.26454%2013.5527%207.0701%2013.4763%206.91732%2013.3236Z'%20fill='%23191C1E'%20/%3e%3c/svg%3e",u0=C("sve-button",({content:t})=>{const e=b({},["link"],t),n=b("",["register-banner-button"],t);return s.jsx("div",{children:s.jsxs(ve,{params:e,className:"tw-mb-12 tw-inline-flex tw-items-center tw-gap-1 tw-text-md tw-leading-5 tw-font-bold tw-py-2 tw-pr-1 tw-border-b tw-border-solid tw-border-neutral-10 sm:tw-text-sm sm:tw-py-1",children:[s.jsx("span",{dangerouslySetInnerHTML:{__html:n}}),s.jsx("img",{src:Vo,alt:"Weiterlesen"})]})})}),m0=C("sve-breaking-news",()=>s.jsx("div",{className:"fp-breaking-news",children:s.jsx(N,{attribute:"regionGroup",children:s.jsx("div",{className:"fp-article-group-small-list"})})})),h0=C("disclaimer",()=>s.jsxs("div",{children:[s.jsx("hr",{}),s.jsx("h4",{className:"tw-font-primary tw-text-base tw-font-semibold tw-mb-2 tw-leading-5",children:"Disclaimer:"}),s.jsx("p",{className:"tw-mb-6",children:s.jsx("i",{children:"Die hier veröffentlichten Artikel wurden von Vereinen und Veranstaltern, Kir
8chengemeinden und Initiativen, Schulen und Kindergärten verfasst. Die Artikel wurden von unserer Redaktion geprüft und freigegeben. Für die Richtigkeit aller Angaben übernimmt der Verlag keine Gewähr."})})]})),w0=C("heimat-article-container",t=>{const e=b("",["containers","article_header",0],t);return s.jsxs("article",{className:"sm:tw-px-4 article-progressbar",children:[s.jsx("div",{className:"tw-col-span-full",children:s.jsxs("div",{className:"article_header",children:[s.jsx(no,{}),s.jsx(N,{attribute:"articleHeader",children:s.jsx("div",{})})]})}),s.jsx("div",{className:"tw-col-span-full",children:s.jsxs("div",{className:"article_body tw-px-4 lg:tw-px-0",children:[s.jsx(N,{attribute:"articleBody",children:s.jsx("div",{})}),s.jsxs("div",{children:[s.jsx("hr",{className:"tw-mt-6 tw-mb-7"}),s.jsx("p",{className:"tw-mb-6",children:s.jsx("i",{children:"Die hier veröffentlichten Artikel wurden von Vereinen und Veranstaltern, Kirchengemeinden und Initiativen, Schulen und Kindergärten verfasst. Die Artikel wurden von unserer Redaktion geprüft und freigegeben. Für die Richtigkeit aller Angaben übernimmt der Verlag keine Gewähr."})})]}),s.jsx(ro,{articleProps:e})]})})]})}),p0=C("sve-registration-paywall",({content:t})=>{const e=o=>{if(o.preventDefault(),o.target&&o.target.href){const l=window.location.href.split("?")[0];window.location.href=`${o.target.href}?redurl=${l}`}},n=o=>{o.preventDefault();const l=o.target.href||o.target.querySelectorAll("a")[0]?.href,c=window.location.href.split("?")[0],d=window.dataLayer.find(u=>u.hasOwnProperty("ld_section")),m={url:c,type:"article",section:d?.ld_section,paid:1,cntTag:["registration"],referer:document.referrer,nopv:1};Em("registrationEvent",m),window.location.href=`${l}?redurl=${c}`},i=b("",["text"],t),r=b("",["title"],t),a=b("",["register-banner-button"],t);return s.jsxs("div",{className:"tw-bg-neutral-100 tw-rounded tw-max-w-wrapper-470 tw-max-h-[80vh] tw-overflow-auto",children:[s.jsxs("div",{onClick:e,className:"tw-border-b tw-border-solid tw-border-neutral-90 tw-py-2 tw-text-center tw-mb-5 tw-flex tw-justify-center tw-items-center",children:[s.jsx("span",{children:"Bereits registriert?"}),s.jsx("span",{className:"tw-relative tw-flex tw-ml-2 before:tw-w-3 before:tw-h-3 before:tw-content-arrowRightPrimary  paywall_arrow-wrap tw-flex tw-justify-center tw-items-center tw-ml-2 before:tw-mb-[6px]",children:s.jsx("span",{className:"tw-text-primary-40 tw-ml-2",dangerouslySetInnerHTML:{__html:i}})})]}),s.jsxs("div",{className:"tw-mx-10",children:[s.jsx("h2",{className:"tw-mb-6",dangerouslySetInnerHTML:{__html:r}}),s.jsx("div",{className:"tw-mx-auto",children:s.jsx("ul",{className:"tw-m-0 tw-p-0 tw-list-disc tw-list-inside [&_li]:tw-leading-[1.3] [&_li]:before:!tw-content-checkmark-list-item [&_li]:before:tw-pt-0.5 [&_li]:before:!tw-inline-block [&_li]:before:tw-mr-2 [&_li]:before:tw-tracking-wide [&_li]:before:tw-align-middle [&_li]:before:tw-inline-block [&_li]:before:tw-leading-[1.3] [&_li]:tw-mb-3 [&_li]:tw-list-none [&_li]:sm:tw-text-sm [&_li]:tw-break-words [&_li]:tw-text-md [&_li]:tw-font-medium [&_li]:tw-flex [&_li]:tw-text-radio-checked [&_li]:tw-font-primary [&_li]:tw-leading-6 [&_li]:before:tw-opacity-100 [&_li]:tw-inline-block [&_li]:tw-font-primary",children:s.jsx(N,{attribute:"list",children:s.jsx("div",{})})})}),s.jsx("button",{onClick:n,className:"tw-block tw-text-center tw-rounded tw-text-neutral-100 tw-py-2 tw-px-4 tw-bg-primary-40 tw-my-7 tw-transition-all tw-duration-200 tw-ease-in hover:tw-bg-primary-50 focus:tw-bg-primary-60 sm:tw-mt-5 sm:tw-mb-4 [&_*]:tw-text-neutral-100",children:s.jsx("span",{dangerouslySetInnerHTML:{__html:a}})})]})]})}),f0=C("sve-subscription-box",({id:t,content:e})=>{const n=f.useRef(null),i=b(!1,["checked"],e),r=b(!1,["showChip"],e),a=b("",["catchline"],e),o=()=>{n?.current&&(n.current.checked=!0,document.dispatchEvent(new Event("subscription-box-selected")))};f.useEffect(()=>{i&&o()},[]);const l=`tw-flex tw-justify-between tw-border tw-border-solid tw-border-neutral-80 tw-p-2 tw-rounded-sm tw-relative ${i?"selected":""}  [&.selected]:tw-border-primary-40`;return s.jsxs("div",{id:`wrapper-${t}`,className:l,children:[s.jsxs("div",{className:"subscription_content tw-flex-1",children:[r?s.jsx("span",{children:s.jsx(N,{attribute:"span",children:s.jsx("span",{className:"tw-absolute tw-top-[-14px] tw-right-4 tw-bg-paywall-neutral tw-text-neutral-100 tw-py-1 tw-px-3 tw-rounded tw-uppercase tw-text-xs sm:tw-text-xxs",children:"Super SparPreis"})})}
8):null,s.jsx("h4",{className:"tw-uppercase tw-text-primary-40 tw-text-body-md sm:tw-text-xs",dangerouslySetInnerHTML:{__html:a}}),s.jsx(N,{attribute:"header4",children:s.jsx("h4",{className:"tw-text-base tw-font-medium tw-leading-5 sm:tw-text-sm",children:"4 Wochen kostenlos"})}),s.jsx(N,{attribute:"paragraph",children:s.jsx("p",{className:"sm:tw-text-sm tw-text-base tw-font-primary tw-font-medium tw-mb-0 tw-leading-5 ",children:"danach 9,90 € im Monat*"})})]}),s.jsx("label",{htmlFor:"subscription-paywall",className:"tw-sr-only",children:"Subscription Box"}),s.jsx("input",{ref:n,type:"radio",id:"subscription-paywall","data-wrapper":`wrapper-${t}`,"data-action":`action-${t}`,className:"tw-relative tw-appearance-none tw-w-5 tw-h-5 tw-self-center tw-ml-4 checked:hover:tw-border-radio-checked checked:before:tw-content-empty checked:before:tw-absolute checked:before:tw-left-0 checked:before:tw-top-0 checked:before:tw-w-4 checked:before:tw-h-4 checked:before:tw-border-2 checked:before:tw-border-solid checked:before:tw-border-primary-40 checked:before:tw-rounded-full checked:before:tw-bg-neutral-100 before:tw-w-4 before:tw-h-4 before:tw-border-2 before:tw-border-solid before:tw-border-primary-40 before:tw-rounded-full before:tw-bg-neutral-100 before:tw-content-empty"}),s.jsx("div",{onClick:o,className:"subscription_item-overlay"}),s.jsx(N,{attribute:"link",children:s.jsx("a",{id:`action-${t}`})})]})}),g0="data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%200%2014%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%20%3e%3cpath%20d='M6.3%2010.5H7.7V6.3H6.3V10.5ZM7%204.9C7.19833%204.9%207.3647%204.8328%207.4991%204.6984C7.63303%204.56447%207.7%204.39833
8%207.7%204.2C7.7%204.00167%207.63303%203.8353%207.4991%203.7009C7.3647%203.56697%207.19833%203.5%207%203.5C6.80167%203.5%206.63553%203.56697%206.5016%203.7009C6.3672%203.8353%206.3%204.00167%206.3%204.2C6.3%204.39833%206.3672%204.56447%206.5016%204.6984C6.63553%204.8328%206.80167%204.9%207%204.9ZM7%2014C6.03167%2014%205.12167%2013.8161%204.27%2013.4484C3.41833%2013.0811%202.6775%2012.5825%202.0475%2011.9525C1.4175%2011.3225%200.918867%2010.5817%200.5516%209.73C0.183867%208.87833%200%207.96833%200%207C0%206.03167%200.183867%205.12167%200.5516%204.27C0.918867%203.41833%201.4175%202.6775%202.0475%202.0475C2.6775%201.4175%203.41833%200.918633%204.27%200.5509C5.12167%200.183633%206.03167%200%207%200C7.96833%200%208.87833%200.183633%209.73%200.5509C10.5817%200.918633%2011.3225%201.4175%2011.9525%202.0475C12.5825%202.6775%2013.0811%203.41833%2013.4484%204.27C13.8161%205.12167%2014%206.03167%2014%207C14%207.96833%2013.8161%208.87833%2013.4484%209.73C13.0811%2010.5817%2012.5825%2011.3225%2011.9525%2011.9525C11.3225%2012.5825%2010.5817%2013.0811%209.73%2013.4484C8.87833%2013.8161%207.96833%2014%207%2014ZM7%2012.6C8.56333%2012.6%209.8875%2012.0575%2010.9725%2010.9725C12.0575%209.8875%2012.6%208.56333%2012.6%207C12.6%205.43667%2012.0575%204.1125%2010.9725%203.0275C9.8875%201.9425%208.56333%201.4%207%201.4C5.43667%201.4%204.1125%201.9425%203.0275%203.0275C1.9425%204.1125%201.4%205.43667%201.4%207C1.4%208.56333%201.9425%209.8875%203.0275%2010.9725C4.1125%2012.0575%205.43667%2012.6%207%2012.6Z'%20fill='%23191C1E'%20/%3e%3c/svg%3e",x0=C("sve-subscription-paywall",()=>{const t=G.useRef(null),e=(o,l)=>{o.className+=" "+l},n=(o,l)=>{for(var c=" "+o.className+" ";c.indexOf(" "+l+" ")!==-1;)c=c.replace(" "+l+" ","");o.className=c},i=(o=!1)=>{let l=null;for(let c=0;c<t.current.length;c++){const d=t.current[c];if(d.checked&&(l=d),o){const m=document.getElementById(d.getAttribute("data-wrapper"));m&&(n(m,"selected"),d.checked&&e(m,"selected"))}}return l},r=()=>{i(!0)};G.useEffect(()=>(document.addEventListener("subscription-box-selected",r),()=>{document.removeEventListener("subscription-box-selected",r)}));const a=()=>{const o=i(),l=document.getElementById(o.getAttribute("data-action"));l&&l.href&&window.location.replace(l.href)};return s.jsx("div",{className:"tw-bg-neutral-100 tw-rounded tw-max-w-wrapper-470 tw-max-h-[80vh] tw-overflow-auto",children:s.jsxs("div",{className:"tw-mx-10 sm:tw-mx-5",children:[s.jsxs("div",{className:"tw-flex tw-items-center tw-my-4 sm:tw-justify-center",children:[s.jsx("img",{src:g0,alt:"Info icon"}),s.jsx(N,{attribute:"header4",children:s.jsx("span",{className:"tw-inline-block tw-ml-2 tw-text-neutral-30",children:"Freie Plus-Inhalte leider aufgebraucht"})})]}),s.jsx(N,{attribute:"mainTitle",children:s.jsx("h2",{className:"tw-mb-6 sm:tw-mt-4 sm:tw-text-md",children:"Paywall Title"})}),s.jsx("form",{ref:t,action:"/",children:s.jsx(N,{attribute:"paywallSubscriptionBoxContainer",children:s.jsx("div",{})})}),s.jsx(N,{attribute:"paragraph",children:s.jsx("p",{className:"tw-font-primary tw-text-sm tw-font-medium tw-tracking-wide tw-text-neutral-50 tw-mt-2 tw-mb-4",children:"* Jederzeit kündbar"})}),s.jsx("div",{className:"tw-mx-auto",children:s.jsx("ul",{className:"tw-m-0 tw-p-0 tw-list-disc tw-list-inside [&_li]:tw-leading-[1.3] [&_li]:before:!tw-content-checkmark-list-item [&_li]:before:tw-pt-0.5 [&_li]:before:!tw-inline-block [&_li]:before:tw-mr-2 [&_li]:before:tw-tracking-wide [&_li]:before:tw-align-middle [&_li]:before:tw-inline-block [&_li]:before:tw-leading-[1.3] [&_li]:tw-list-none [&_li]:tw-text-md [&_li]:sm:tw-text-sm [&_li]:tw-font-medium [&_li]:tw-flex [&_li]:tw-text-paywall-neutral [&_li]:tw-font-primary [&_li]:!tw-leading-6 [&_li]:tw-mb-3 [&_li]:last:tw-mb-3 [&_li]:tw-font-primary",children:s.jsx(N,{attribute:"list",children:s.jsx("div",{})})})}),s.jsx("button",{onClick:a,className:"tw-block tw-bg-primary-40 tw-text-center tw-rounded tw-text-neutral-100 tw-py-2 tw-px-3 tw-w-full tw-my-7 tw-transition-all tw-duration-200 tw-ease-in",children:s.jsx(N,{attribute:"span",children:s.jsx("span",{className:"tw-text-neutral-100",children:"Kostenlos registrieren"})})})]})})}),b0=C("sve-hybrid-select-group",()=>s.jsxs("div",{className:"tw-relative tw-mb-15 tw-pb-0 tw-grid tw-gri
8d-cols-12 tw-grid-rows-1 md:tw-m-0 sm:tw-mb-10 lg:tw-pb-4",children:[s.jsx("div",{className:"tw-col-span-full",children:s.jsx(N,{attribute:"sectionA",children:s.jsx("div",{})})}),s.jsx("div",{className:"tw-col-span-full",children:s.jsx(N,{attribute:"sectionB",children:s.jsx("div",{})})})]})),y0=C("select-box-hybrid",()=>{const t=_o(),e=f.useContext(Dt)||{},[n,i]=f.useState(null),r=e.theme==="nkr"?"https://account.nordkurier.de/registrieren":"https://account.schwaebische.de/registrieren";return f.useEffect(()=>{const a=yt(St);a&&a!==n&&i(a)},[]),s.jsxs("div",{className:"tw-relative tw-rounded tw-border tw-border-solid tw-border-primary-100",children:[s.jsx("div",{className:"tw-flex tw-justify-between tw-gap-4 sm:tw-flex-col",children:s.jsx("div",{className:"tw-flex tw-justify-center tw-w-full tw-relative",children:s.jsx(N,{attribute:"regionOptions",children:s.jsx("div",{})})})}),!e?.generalConfig?.disableLoginForm&&!t?.session?.longSessionActive?s.jsxs("div",{className:"tw-mt-4 sm:tw-mt-2 tw-p-6 sm:tw-p-4 tw-bg-neutral-95 focus:tw-outline-none tw-flex tw-flex-col tw-gap-4",children:[s.jsx("div",{className:"sve-select-login_text",children:s.jsxs("span",{className:"tw-text-label-md",children:["Jetzt personalisieren und zukünftig an dieser Stelle Nachrichten aus Ihrer Region lesen.",s.jsx("span",{className:"tw-font-normal",children:" Es dauert nur eine Minute - Versprochen."})]})}),s.jsx(Ot,{variant:"primary",size:"large",to:r,label:"Kostenlos registrieren",customClassName:"tw-w-full"})]}):null]})}),v0={large:{withLabel:{component:"tw-h-12 tw-px-8 tw-py-3 tw-text-base tw-tracking-wide"}},medium:{withLabel:{component:"tw-py-3 tw-px-4 tw-text-sm tw-h-10"}},small:{withLabel:{component:"tw-py-2 tw-px-3 tw-text-[0.688rem] tw-leading-[0.75rem] tw-h-7"}}},j0={primary:"tw-bg-primary-40 tw-text-primary-100 tw-border-0 hover:tw-bg-primary-50 focus:tw-bg-primary-60 [&_span]:tw-text-primary-100",secondary:"tw-bg-transparent tw-text-primary-40 tw-border tw-border-solid tw-border-neutral-80 hover:tw-opacity-60 [&_span]:tw-text-primary-40",textOnly:"tw-text-primary-40 hover:tw-opacity-60"},C0={main:"tw-inline-flex tw-items-center tw-justify-center tw-gap-x-1 tw-rounded tw-font-primary tw-font-medium tw-cursor-pointer tw-transition-all tw-duration-200 tw-ease-in tw-whitespace-nowrap"},Do=G.forwardRef(({customClassName:t="",className:e="",showIconLeft:n=!1,showIconRight:i=!1,showLabel:r=!0,label:a,size:o="large",sizeType:l="withLabel",variant:c="primary",ariaLabel:d,iconLeftProps:m,iconRightProps:u,onClick:h,id:w,dataAnalyticsProps:g},p)=>s.jsxs("button",{id:w,onClick:h,ref:p,"aria-label":d,...g,className:`${C0.main} ${j0[c]} ${v0[o][l].component} ${t} ${e}`,children:[n&&s.jsx(ut,{...m}),r&&a,i&&s.jsx(ut,{...u})]})),T0=C("select-box-item-hybrid",({content:t,fpCustomParams:e})=>{const n=f.useContext(Dt),i=async()=>{const{accountReference:x}=yt(wi),y=yt(St),v=yt(pi);try{const S=await fetch(`${n.osc.endpoint}/api/accounts/${x}`,{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({operation:v,region:y})});if(S.status===200)console.log("region stored");else{const j=await S.json();console.error(j.error||"")}}catch(S){console.error(S.message||"")}},r=async x=>{He(St,x);const y=yt(Fe);y&&y.longSessionActive&&await i(),window.location.reload()},[a,o]=G.useState(e?.allRegionsHandle||Wt),[l,c]=G.useState(!1),[d,m]=G.useState(!1),u=f.useRef(null),h=f.useRef(null),w=x=>{u.current&&!u.current.contains(x.target)&&h.current&&!h.current.contains(x.target)&&c(!1)};f.useEffect(()=>(document.addEventListener("mousedown",w),document.addEventListener("touchstart",w),()=>{document.removeEventListener("mousedown",w),document.removeEventListener("touchstart",w)}),[]),f.useEffect(()=>{const x=document.getElementById("main"),y=document.querySelector("body"),v=()=>{const S=window.innerWidth<768;m(S),x&&(S&&l?(x.classList.add("tw-z-[99999]","tw-relative"),y.classList.add("tw-overflow-hidden")):(x.classList.remove("tw-z-[99999]","tw-relative"),y.classList.remove("tw-overflow-hidden")))};return v(),window.addEventListener("resize",v),()=>{window.removeEventListener("resize",v),x&&l&&(x.classList.remove("tw-z-[99999]","tw-relative"),y.classList.remove("tw-overflow-hidden"))}},[l]),f.useEffect(()=>{const x=window.localStorage.getItem(St);if(x!==null){for(const v in t)if(Number(x)===Number(t[v].id)){o(t[v].region);break}setTimeout(()=>{yt(Fe)?.longSessionActive||(de.remove("category"),He(St,An))},1e3)}else o(e?.allRegionsHandle||Wt);const y=()=>{const v=yt(St);if(v!==null){for(const S in t)if(Number(v)===Number(t[S].id)){o(t[S].region);break}}};return window.addEventListener("login",y),()=>{window.removeEventListener("login",y)}},[]);const g=()=>{c(x=>!x)},p=()=>s.jsxs("ul",{ref:u,"aria-label":"Regionen auswählen",className:"tw-overflow-auto",children:[s.jsx("li",{className:"tw-m-0 tw-py-3 tw-border-b tw-border-solid tw-border-b-neutral-80 last:tw-pb-0 last:tw-border-b-0 hover:tw-bg-neutral-95",children:s.jsx("button",{className:`tw-w-full tw-text-body-lg tw-truncate tw-text-start ${a===Wt||a===e?.allRegionsHandle?"tw-text-primary-40":""}`,onClick:()=>{g(),de.remove("category"),r(An)},children:Wt})},"all-regions"),t.map(({region:x,id:y})=>s.jsx("li",{className:"tw-m-0 tw-py-3 tw-border-b tw-border-solid tw-border-b-neutral-80 last:tw-pb-0 last:tw-border-b-0 hover:tw-bg-neutral-95",children:s.jsx("button",{className:`tw-w-full tw-text-body-lg tw-truncate tw-text-start  ${a===x?"tw-text-primary-40":""}`,onClick:()=>{g(),de.set("category",y,{sameSite:"none",secure:!0,expires:365}),r(y)},children:x})},y))]});return s.jsx("div",{className:"tw-w-full tw-z-2",children:s.jsxs("div",{className:"tw-flex tw-justify-between tw-items-center",children:[s.jsx("span",{className:"tw-flex tw-text-headline-md md:tw-text-title-lg tw-cursor-pointer tw-text-neutral-10",children:a}),s.jsxs("div",{className:"tw-relative",children:[s.jsx(Do,{ref:h,variant:"textOnly",size:"large",label:"Anpassen",showIconLeft:!0,iconLeftProps:{IconComponent:jm,customClasses:"[&_path]:tw-fill-primary-40"},className:"!tw-px-0",onClick:g}
8),d&&s.jsx(lo,{isOpen:l,onClose:c,sheetTitle:"Region wählen",children:s.jsx(p,{})}),!d&&l&&s.jsx("div",{className:"tw-p-4 tw-right-0 md:tw-pt-0 tw-absolute tw-w-[272px] tw-max-h-[270px] tw-z-1 tw-px-4 tw-flex tw-flex-col tw-bg-primary-100 tw-shadow-region-dropdown tw-rounded-[10px] md:tw-rounded-b-none md:tw-rounded-t-2xl tw-pr-2.5",children:s.jsx(p,{})})]})]})})}),S0=C("paywall-wrapper",()=>(G.useEffect(()=>(document.body.style.overflowY="hidden",()=>{document.body.style.overflowY="scroll"})),s.jsxs("div",{className:"tw-max-w-2xl tw-mx-auto tw-relative",children:[s.jsx("div",{className:"tw-z-2 tw-fixed tw-top-12 tw-left-0 tw-right-0 tw-bottom-auto tw-flex tw-justify-center tw-items-center tw-h-[calc(100%-48px)] tw-mx-5 sm:tw-top-auto sm:tw-bottom-4 sm:tw-h-auto",children:s.jsx(N,{attribute:"pageContainer",children:s.jsx("div",{})})}),s.jsx("div",{className:"sve-paywall-wrapper_overlay"})]}))),k0=C("p",()=>s.jsx(s.Fragment,{children:s.jsx(M.Paragraph,{attribute:"text",className:"paragraph tw-mx-auto tw-mb-6"})})),N0=C("p-infobox",()=>s.jsx(M.Paragraph,{attribute:"text",className:"paragraph tw-mx-auto tw-mb-6",children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."})),L0=C("question",()=>s.jsx(s.Fragment,{children:s.jsx(M.Paragraph,{attribute:"text",className:"paragraph tw-mx-auto tw-mb-6 tw-font-bold"})})),A0=C("blockquote",({content:t})=>{const e=b("",["text"],t),n=b("",["author"],t);return s.jsx("div",{className:"tw-mx-auto !tw-max-w-wrapper-828 tw-relative tw-break-words tw-mt-0 tw-mb-6",children:s.jsx("blockquote",{className:"tw-m-0 tw-italic tw-flex tw-items-start before:tw-hidden",children:s.jsxs("div",{className:"tw-flex tw-gap-4",children:[s.jsx("span",{className:"tw-relative tw-h-6 tw-w-6 sm:before:tw-static before:tw-content-single-quote before:tw-text-6xl before:tw-font-secondary before:tw-mr-4 before:tw-absolute sm:before:tw-text-4xl before:!tw-leading-[16px]"}),s.jsxs("span",{className:"tw-flex tw-flex-col tw-gap-4",children:[s.jsx("p",{className:"tw-text-secondary tw-mb-0 tw-text-base sm:tw-text-base",dangerouslySetInnerHTML:{__html:e}}),s.jsx("small",{className:"tw-text-sm tw-not-italic sm:tw-text-base tw-font-primary tw-font-medium tw-text-neutral-10 !tw-ml-0 tw-tracking-[0.5px] before:tw-content-['-'] before:tw-mr-1",dangerouslySetInnerHTML:{__html:n}})]})]})})})}),P0=C("embed",({content:t,renderingForEditor:e})=>{const n=t?.["free-html"]?.html,i=st(),r=gi(),{fpGtmModeEmbedRender:a=!1}=i||{};if(n&&!(a||e))return s.jsx(Jt,{html:n,className:"fp-free-html-container tw-my-0 tw-mx-auto tw-block [&>div]:tw-mb-10 [&>*]:tw-max-w-[100%] [&>*]:tw-mx-auto"});const{resultHtml:o,vendor:l,processed:c,error:d}=fi(n,e,r);return c&&!d?s.jsx(Jt,{html:o,className:"fp-free-html-container tw-my-0 tw-mx-auto tw-block [&>div]:tw-mb-10 [&>*]:tw-max-w-[100%] [&>*]:tw-mx-auto"}):!c||d?e?s.jsx(I0,{error:d,vendor:l}):s.jsx("span",{style:{display:"none"},children:`Failed to process embed for vendor: ${l}, error: ${d}`}):null}),I0=({error:t})=>{const e={display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",padding:"20px",backgroundColor:"#FFF5F5",border:"2px dashed #E53E3E",borderRadius:"8px",color:"#C53030",fontFamily:"sans-serif",margin:"10px 0",minHeight:"120px",textAlign:"center"},n={fontWeight:"bold",fontSize:"16px",marginBottom:"4px"},i={fontSize:"13px",opacity:.8},r={marginTop:"12px",padding:"8px 12px",backgroundColor:"rgba(197, 48, 48, 0.1)",borderRadius:"4px",fontSize:"13px",lineHeight:"1.4"},a=t==="vendor not matched";return s.jsxs("div",{style:e,children:[s.jsx("div",{style:n,children:"⚠️ Einbettung fehlgeschlagen"}),s.jsx("div",{style:i,children:a?"Fehler: Die URL des Embedcodes ist kein erlaubter Vendor, der Inhalt wird höchstwahrscheinlich blockiert.":`Fehler: ${t}`}),s.jsx("div",{style:r,children:a?s.jsxs(s.Fragment,{children:["Bitte den ",s.jsx("strong",{children:"Embed-HTML prüfen"})," oder"," ",s.jsx("strong",{children:"[email protected] kontaktieren"}),", um diesen Anbieter zur Whitelist hinzuzufügen."]}):s.jsx("strong",{children:"Bitte das Embed-HTML prüfen"})})]})},M0=C("embed-new",({content:t,renderingForEditor:e})=>{const n=t?.["free-html"]?.html,i=st(),r=gi(),{fpGtmModeEmbedRender:a=!1}=i||{};if(n&&!(a||e))return s.jsx(Jt,{html:n,className:"fp-free-html-container tw-my-0 tw-mx-auto tw-block [&>div]:tw-mb-10 [&>*]:tw-max-w-[100%] [&>*]:tw-mx-auto"});const{resultHtml:o,vendor:l,processed:c,error:d}=fi(n,e,r);return c&&!d?s.jsx(Jt,{html:o,className:"fp-free-html-container tw-my-0 tw-mx-auto tw-block [&>div]:tw-mb-10 [&>*]:tw-max-w-[100%] [&>*]:tw-mx-auto"}):!c||d?e?s.jsx(E0,{error:d,vendor:l}):s.jsx("span",{style:{display:"none"},children:`Failed to process embed for vendor: ${l}, error: ${d}`}):null}),E0=({error:t})=>{const e={display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",padding:"20px",backgroundColor:"#FFF5F5",border:"2px dashed #E53E3E",borderRadius:"8px",color:"#C53030",fontFamily:"sans-serif",margin:"10px 0",minHeight:"120px",textAlign:"center"},n={fontWeight:"bold",fontSize:"16px",marginBottom:"4px"},i={fontSize:"13px",opacity:.8},r={marginTop:"12px",padding:"8px 12px",backgroundColor:"rgba(197, 48, 48, 0.1)",borderRadius:"4px",fontSize:"13px",lineHeight:"1.4"},a=t==="vendor not matched";return s.jsxs("div",{style:e,children:[s.jsx("div",{style:n,children:"⚠️ Einbettung fehlgeschlagen"}),s.jsx("div",{style:i,children:a?"Fehler: Die URL des Embedcodes ist kein erlaubter Vendor, der Inhalt wird höchstwahrscheinlich blockiert.":`Fehler: ${t}`}),s.jsx("div",{style:r,children:a?s.jsxs(s.Fragment,{children:["Bitte den ",s.jsx("strong",{children:"Embed-HTML prüfen"})," oder"," ",s.jsx("strong",{children:"[email protected] kontaktieren"}),", um diesen Anbieter zur Whitelist hinzuzufügen."]}):s.jsx("strong",{children:"Bitte das Embed-HTML prüfen"})})]})},_0=C("horizontal-line",()=>s.jsx("hr",{className:"tw-my-8 tw-h-px tw-bg-neutral-90 tw-border-none tw-mx-auto tw-max-w-2xl"})),V0=C("list",()=>{const e=Bn()?.styles||{},n=Object.keys(e).map(i=>e[i]);return s.jsx(s.Fragment,{children:s.jsx("div",{className:`${n.join(" ")} tw-max-w-2xl [&.lower-latin>ul]:tw-list-lower-latin [&.lower-latin>ul>.list-item]:tw-list-image-none [&.lower-latin>ul]:tw-list-inside [&>ul]:tw-ml-3 [&>ul]:tw-px-3 [&>ul]:tw-mb-6 tw-mx-auto [&>ul]:tw-list-disc [&.decimal>ul]:tw-list-decimal [&>ul]:tw-list-inside [&.lower-roman>ul]:tw-list-lower-roman`,children:s.jsx("ul",{className:"list-content",children:s.jsx(N,{attribute:"list",children:s.jsx(s.Fragment,{})})})})})}),D0=C("list-item",({content:t})=>{const e=b("",["text"],t);return s.jsx("li",{className:"tw-list-item tw-font-secondary tw-text-md sm:tw-text-base tw-tracking-normal tw-leading-[1.625] tw-list-outside tw-mt-0 tw-mb-3 tw-p-0 marker:tw-text-neutral-10 list-item",dangerouslySetInnerHTML:{__html:e}})}),R0="data:image/svg+xml,%3csvg%20width='61'%20height='61'%20viewBox='0%200%2061%2061'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20opacity='0.6'%20filter='url(%23filter0_d_6206_75)'%3e%3crect%20x='10.
80934'%20y='9.9767'%20width='40'%20height='40'%20rx='8'%20transform='rotate(0.167101%2010.0934%209.9767)'%20fill='white'/%3e%3c/g%3e%3cg%20opacity='0.8'%3e%3cpath%20d='M26.0146%2037.0233L26.0554%2023.0233L37.0349%2030.0554L26.0146%2037.0233Z'%20fill='black'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_6206_75'%20x='-0.0232849'%20y='-0.0233002'%20width='60.1165'%20height='60.1165'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset/%3e%3cfeGaussianBlur%20stdDeviation='5'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.15%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_6206_75'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_6206_75'%20result='shape'/%3e%3c/filter%3e%3c/defs%3e%3c/svg%3e",ks=({iconSize:t,articleType:e})=>e==="video"?s.jsx("img",{className:`article-chip tw-absolute tw-top-1/2 tw-left-1/2 -tw-translate-x-1/2 -tw-translate-y-1/2 ${t==="small"?"!tw-h-[44px] !tw-w-[44px]":"!tw-h-15 !tw-w-15 sm:!tw-h-[44px] sm:!tw-w-[44px]"}`,src:R0,alt:""}):"",B0="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='168'%20height='32'%20fill='none'%20viewBox='0%200%2094%2018'%3e%3cpath%20fill='%23007fb3'%20d='M63.2.1h11.87V1H63.74c-.11-.15-.18-.23-.27-.38-.12-.2-.2-.31-.27-.52m.95%201.55h10.92v1.03H65.1a4%204%200%200%201-.96-1.03m1.64%201.68h9.28v1.03h-7.64a6%206%200%200%201-1.64-1.03M68.93%205h6.14v.9h-2.19a9%209%200%200%201-2.04-.25A9%209%200%200%201%2068.93%205'/%3e%3cpath%20fill='%23000'%20d='M37.27%203.33v5.25a3.3%203.3%200%200%200-2.63-1.15c-3.02%200-4.14%202.82-4.14%204.7%200%202.38%201.2%204.9%204.02%204.9%201.31%200%202.17-.76%202.75-1.31v1.1h3.6V3.33zm5.02%200v13.49h3.6v-4.6L48.75%2017l3.4-.95L49%2011.58l2.46-3.2-2.79-.92-2.52%203.65h-.24V3.33zM.12%203.98v12.84H3.1V9.3c1.24%202.13%203.8%205.19%205.69%207.52h2.55V3.98h-3v7.35C7.41%209.6%204.7%206.25%202.87%203.98zm17.27%203.45c-2.65%200-5.17%201.72-5.17%204.7%200%202.83%202.09%204.9%205.17%204.9%203.1%200%205.18-2.07%205.18-4.9%200-2.98-2.54-4.7-5.18-4.7m11.84%200c-1.32%200-1.71%201.45-1.87%201.86l-.28.73-.03-2.37h-3.6v9.17h3.6v-3.94c0-1.87%201-2.26%201.82-2.26.58%200%20.79.11%201.02.19l1.12-2.7c-.5-.4-1-.68-1.78-.68m40.01%200c-1.31%200-1.7%201.45-1.87%201.86l-.26.73-.05-2.37h-3.6v9.17h3.6v-3.94c0-1.87%201-2.26%201.83-2.26.57%200%20.78.11%201.02.19l1.11-2.7c-.5-.4-1-.68-1.78-.68m12.08%200c-3.42%200-5.06%202.35-5.06%204.62%200%202.7%202.3%204.98%204.89%204.98%201.15%200%202.67-.15%204.36-.97l-1-1.86c-.57.35-1.4.66-2.36.66-1.02%200-2.1-.7-2.1-2.2h5.46c.3-3.2-1.3-5.23-4.2-5.23m10.82%200c-1.31%200-1.7%201.45-1.87%201.86l-.26.73-.05-2.37h-3.6v9.17h3.6v-3.94c0-1.87%201-2.26%201.83-2.26.57%200%20.78.11%201.02.19l1.13-2.7c-.5-.4-1.02-.68-1.8-.68m-39.44.22v5.9c0%202.32%201.13%203.48%203%203.48%201.31%200%202.26-.51%203.01-1.49l.03%201.28h3.58V7.65h-3.6v5.22c0%201.48-.9%201.7-1.26%201.7-.83%200-1.16-.75-1.16-1.35V7.65zm18.86%200v9.17h3.6V7.65zm9.68%201.3c.85%200%201.33.66%201.24%202.16h-2.4c-.1-1.46.4-2.16%201.16-2.16m-63.85.1c1.17%200%201.53%201.7%201.53%203.07%200%201.45-.33%203.28-1.53%203.28-1.21%200-1.52-1.83-1.52-3.28%200-1.37.35-3.07%201.52-3.07m18.36.34c1.01%200%201.52%201.19%201.52%202.9%200%201.5-.47%202.89-1.44%202.89-.92%200-1.53-1.2-1.53-2.96%200-1.8.59-2.83%201.45-2.83'/%3e%3c/svg%3e",$0="/assets/sveLogoHeader-BMJjR5KN.svg",O0=({headerType:t,title:e})=>{const n=t||"p";return s.jsx(n,{className:"sve-teaser_title",dangerouslySetInnerHTML:{__html:e}})};function hr(t){if(/^a minute ago$/i.test(t))return"vor 1 Minute";if(/^an hour ago$/i.test(t))return"vor 1 Stunde";if(/(\d+)\sminutes?\sago/.test(t)){const e=t.match(/(\d+)/)[0];return e==="1"?"vor 1 Minute":`vor ${e} Minuten`}if(/(\d+)\shours?\sago/.test(t)){const e=t.match(/(\d+)/)[0];return e==="1"?"vor 1 Stunde":`vor ${e} Stunden`}if(/(\d+)\sdays?\sago/.test(t)){const e=t.match(/(\d+)/)[0];return e==="1"?"vor 1 Tag":`vor ${e} Tagen`}if(/(\d+)\syears?\sago/.test(t)){const e=t.match(/(\d+)/)[0];return e==="1"?"vor 1 Jahr":`vor ${e} Jahren`}if(/in\s(\d+)\syears?/.test(t)){const e=t.match(/(\d+)/)[0];return e==="1"?"vor 1 Jahren":`in ${e} Jahren`}return t}const K=t=>{const e=t.link,n=t.customClassNames||"";let i={to:e};if(typeof e=="object"){const{href:y,target:v}=e;i={to:y||"#",target:v,rel:v==="_blank"?"noopener noreferrer":void 0}}const{type:r,brands:a}=t.additionalDescription||{},{code:o}=ri()||{},l=a?.[o],c=l?.title||t.title,d=l?.catchline||t.catchline,m=l?.location||t.location,u=l?.lead||t.teaser,h={type:{medium:"sve-teaser_medium",large:"sve-teaser_large",small:"sve-teaser_small"},imageClass:t.imageRight&&t.type==="small"?" sve-teaser_image-right":"",hideImage:t.hideImage?" sve-teaser_no-image":"",teaser:["sve-teaser_catchline",t.contentType==="regular-publisher-article"?"advertorial":"",t.contentType==="regular-advertorial-article"?"advertorial":"",t.contentType==="regular-heimat-article"?"heimat":""],hideTeaser:{true:" tw-hidden",false:""}},w=()=>{switch(t.type){case"small":return{imageHeightVal:239,imageWidthVal:319};case"medium":return{imageHeightVal:275,imageWidthVal:489};case"large":return{imageHeightVal:561,imageWidthVal:998};default:return{imageHeightVal:200,imageWidthVal:200}}},{imageHeightVal:g,imageWidthVal:p}=w(),x=y=>y&&y.length>180?`${y.slice(0,180)}...`:y;return s.jsxs(rt,{...i,className:`[content-visibility:auto] ${[h.type[t.type]+h.imageClass+h.hideImage+h.hideTeaser[t.hideTeaser??!1]]} ${n}`,"aria-label":c,children:[!t.hideImage&&t.image&&t.mobileImage&&(r==="video"?s.jsxs("div",{className:"tw-relative sve-teaser_image tw-rounded",children:[s.jsx(M.ImageV2,{className:"sve-teaser_image tw-rounded",src:t.image,mobileSrc:t.mobileImage,alt:c,imageHeight:g,imageWidth:p,sizes:t.sizes||`${p}px`,fetchpriority:"lazy"}),s.jsx(ks,{iconSize:t.iconSize,articleType:r})]}):s.jsx(M.ImageV2,{className:"sve-teaser_image tw-rounded",src:t.image,mobileSrc:t.mobileImage,alt:c,imageHeight:g,imageWidth:p,sizes:t.sizes||`${p}px`,fetchpriority:"lazy"})),!t.hideImage&&!t.image&&s.jsx("picture",{className:"sve-teaser_image",children:s.jsx("img",{className:"sve-teaser_image-fallback tw-p-12 tw-rounded !tw-object-contain tw-bg-neutral-100 tw-border-solid tw-border tw-border-neutral-80",src:t.theme==="nkr"?B0:$0,alt:"",width:p,height:g,loading:"lazy"})}),s.jsxs("div",{className:"sve-teaser_content !tw-flex !tw-flex-col",children:[t.showPaywallBadge?s.jsx("span",{className:"sve-paid",children:s.jsx("img",{alt:"",width:31,height:18,src:t.theme==="nkr"?Gn:Zn})}):null,["regular-heimat-article","regular-advertorial-article","regular-sonderthemen-article","regular-gallery"].includes(t.contentType)||r==="gallery"?s.jsxs("div",{className:"tw-line-clamp-1 tw-text-ellipsis tw-max-h-[17px] tw-flex tw-items-center",children:[s.jsx(pe,{type:t.contentType,metadataType:r}),s.jsx("span",{title:d,className:"tw-text-ellipsis tw-max-h-[17px] tw-line-clamp-1 "+h.teaser.filter(Boolean).join(" "),children:d})]}):s.jsx("span",{title:d,className:"tw-text-ellipsis tw-max-h-[17px] tw-line-clamp-1 "+h.teaser.filter(Boolean).join(" "),children:d}),s.jsx(O0,{headerType:t?.headerType,title:c}),m?s.jsxs("p",{className:"sve-teaser_region",children:[hr(t.date?.replaceAll("/","."))," • ",m]}):s.jsxs("p",{className:"sve-teaser_region",children:[hr(t.date?.replaceAll("/","."))," •"," ",t.categoryLabel]}),!t.hideDescription&&s.jsx("p",{className:"sve-teaser_description",dangerouslySetInnerHTML:{__html:x(u)}}),t.publishDate&&s.jsx(M.PublishDate,{className:"tw-mt-2 tw-block tw-text-xs tw-font-medium",publishDate:t.publishDate})]})]})}
8,z0=C("article-teaser-template",K),[F0,Xx]=Xe({section:"links",schema:me.obj({shopLink:"string",kontoLink:"string"})},{},({config:t})=>t),Jx=()=>xe(F0),H0=G.createContext(null);var Ae={exports:{}},ss,wr;function U0(){if(wr)return ss;wr=1;function t(n){try{return JSON.stringify(n)}catch{return'"[Circular]"'}}ss=e;function e(n,i,r){var a=r&&r.stringify||t,o=1;if(typeof n=="object"&&n!==null){var l=i.length+o;if(l===1)return n;var c=new Array(l);c[0]=a(n);for(var d=1;d<l;d++)c[d]=a(i[d]);return c.join(" ")}if(typeof n!="string")return n;var m=i.length;if(m===0)return n;for(var u="",h=1-o,w=-1,g=n&&n.length||0,p=0;p<g;){if(n.charCodeAt(p)===37&&p+1<g){switch(w=w>-1?w:0,n.charCodeAt(p+1)){case 100:case 102:if(h>=m||i[h]==null)break;w<p&&(u+=n.slice(w,p)),u+=Number(i[h]),w=p+2,p++;break;case 105:if(h>=m||i[h]==null)break;w<p&&(u+=n.slice(w,p)),u+=Math.floor(Number(i[h])),w=p+2,p++;break;case 79:case 111:case 106:if(h>=m||i[h]===void 0)break;w<p&&(u+=n.slice(w,p));var x=typeof i[h];if(x==="string"){u+="'"+i[h]+"'",w=p+2,p++;break}if(x==="function"){u+=i[h].name||"<anonymous>",w=p+2,p++;break}u+=a(i[h]),w=p+2,p++;break;case 115:if(h>=m)break;w<p&&(u+=n.slice(w,p)),u+=String(i[h]),w=p+2,p++;break;case 37:w<p&&(u+=n.slice(w,p)),u+="%",w=p+2,p++,h--;break}++h}++p}return w===-1?n:(w<g&&(u+=n.slice(w)),u)}return ss}var pr;function W0(){if(pr)return Ae.exports;pr=1;const t=U0();Ae.exports=m;const e=Z().console||{},n={mapHttpRequest:V,mapHttpResponse:V,wrapRequestSerializer:A,wrapResponseSerializer:A,wrapErrorSerializer:A,req:V,res:V,err:k,errWithCause:k};function i(T,D){return T==="silent"?1/0:D.levels.values[T]}const r=Symbol("pino.logFuncs"),a=Symbol("pino.hierarchy"),o={error:"log",fatal:"error",warn:"error",info:"log",debug:"log",trace:"log"};function l(T,D){const L={logger:D,parent:T[a]};D[a]=L}function c(T,D,L){const $={};D.forEach(O=>{$[O]=L[O]?L[O]:e[O]||e[o[O]||"log"]||E}),T[r]=$}function d(T,D){return Array.isArray(T)?T.filter(function($){return $!=="!stdSerializers.err"}):T===!0?Object.keys(D):!1}function m(T){T=T||{},T.browser=T.browser||{};const D=T.browser.transmit;if(D&&typeof D.send!="function")throw Error("pino: transmit option must have a send function");const L=T.browser.write||e;T.browser.write&&(T.browser.asObject=!0);const $=T.serializers||{},O=d(T.browser.serialize,$);let U=T.browser.serialize;Array.isArray(T.browser.serialize)&&T.browser.serialize.indexOf("!stdSerializers.err")>-1&&(U=!1);const Y=Object.keys(T.customLevels||{}),W=["error","fatal","warn","info","debug","trace"].concat(Y);typeof L=="function"&&W.forEach(function(ot){L[ot]=L}),(T.enabled===!1||T.browser.disabled)&&(T.level="silent");const et=T.level||"info",P=Object.create(L);P.log||(P.log=E),c(P,W,L),l({},P),Object.defineProperty(P,"levelVal",{get:wt}),Object.defineProperty(P,"level",{get:Lt,set:pt});const q={transmit:D,serialize:O,asObject:T.browser.asObject,formatters:T.browser.formatters,levels:W,timestamp:I(T),messageKey:T.messageKey||"msg",onChild:T.onChild||E};P.levels=u(T),P.level=et,P.setMaxListeners=P.getMaxListeners=P.emit=P.addListener=P.on=P.prependListener=P.once=P.prependOnceListener=P.removeListener=P.removeAllListeners=P.listeners=P.listenerCount=P.eventNames=P.write=P.flush=E,P.serializers=$,P._serialize=O,P._stdErrSerialize=U,P.child=function(...ot){return jt.call(this,q,...ot)},D&&(P._logEvent=j());function wt(){return i(this.level,this)}function Lt(){return this._level}function pt(ot){if(ot!=="silent"&&!this.levels.values[ot])throw Error("unknown level "+ot);this._level=ot,g(this,q,P,"error"),g(this,q,P,"fatal"),g(this,q,P,"warn"),g(this,q,P,"info"),g(this,q,P,"debug"),g(this,q,P,"trace"),Y.forEach(Et=>{g(this,q,P,Et)})}function jt(ot,Et,ke){if(!Et)throw new Error("missing bindings for child Pino");ke=ke||{},O&&Et.serializers&&(ke.serializers=Et.serializers);const tr=ke.serializers;if(O&&tr){var an=Object.assign({},$,tr),er=T.browser.serialize===!0?Object.keys(an):O;delete Et.serializers,v([Et],er,an,this._stdErrSerialize)}function nr(on){this._childLevel=(on._childLevel|0)+1,this.bindings=Et,an&&(this.serializers=an,this._serialize=er),D&&(this._logEvent=j([].concat(on._logEvent.bindings,Et)))}nr.prototype=this;const Ne=new nr(this);return l(this,Ne),Ne.child=function(...on){return jt.call(this,ot,...on)},Ne.level=ke.level||this.level,ot.onChild(Ne),Ne}return P}function u(T){const D=T.customLevels||{},L=Object.assign({},m.levels.values,D),$=Object.assign({},m.levels.labels,h(D));return{values:L,labels:$}}function h(T){const D={};return Object.keys(T).forEach(function(L){D[T[L]]=L}),D}m.levels={values:{fatal:60,error:50,warn:40,info:30,debug:20,trace:10},labels:{10:"trace",20:"debug",30:"info",40:"warn",50:"error",60:"fatal"}},m.stdSerializers=n,m.stdTimeFunctions=Object.assign({},{nullTime:B,epochTime:R,unixTime:F,isoTime:J});function w(T){const D=[];T.bindings&&D.push(T.bindings);let L=T[a];for(;L.parent;)L=L.parent,L.logger.bindings&&D.push(L.logger.bindings);return D.reverse()}function g(T,D,L,$){if(Object.defineProperty(T,$,{value:i(T.level,L)>i($,L)?E:L[r][$],writable:!0,enumerable:!0,configurable:!0}),T[$]===E){if(!D.transmit)return;const U=D.transmit.level||T.level,Y=L.levels.values[U];if(L.levels.values[$]<Y)return}T[$]=x(T,D,L,$);const O=w(T);O.length!==0&&(T[$]=p(O,T[$]))}function p(T,D){return function(){return D.apply(this,[...T,...arguments])}}function x(T,D,L,$){return function(O){return function(){const Y=D.timestamp(),W=new Array(arguments.length),et=Object.getPrototypeOf&&Object.getPrototypeOf(this)===e?e:this;for(var P=0;P<W.length;P++)W[P]=arguments[P];var q=!1;if(D.serialize&&(v(W,this._serialize,this.serializers,this._stdErrSerialize),q=!0),D.asObject||D.formatters?O.call(et,y(this,$,W,Y,D)):O.apply(et,W),D.transmit){const wt=D.transmit.level||T._level,Lt=L.levels.values[wt],pt=L.levels.values[$];if(pt<Lt)return;S(this,{ts:Y,methodLevel:$,methodValue:pt,transmitValue:L.levels.values[D.transmit.level||T._level],send:D.transmit.send,val:i(T._level,L)},W,q)}}}(T[r][$])}function y(T,D,L,$,O){const{level:U,log:Y=Lt=>Lt}=O.formatters||{},W=L.slice();let et=W[0];const P={};if($&&(P.time=$),U){const Lt=U(D,T.levels.values[D]);Object.assign(P,Lt)}else P.level=T.levels.values[D];let q=(T._childLevel|0)+1;if(q<1&&(q=1),et!==null&&typeof et=="object"){for(;q--&&typeof W[0]=="object";)Object.assign(P,W.shift());et=W.length?t(W.shift(),W):void 0}else typeof et=="string"&&(et=t(W.shift(),W));return et!==void 0&&(P[O.messageKey]=et),Y(P)}function v(T,D,L,$){for(const O in T)if($&&T[O]instanceof Error)T[O]=m.stdSerializers.err(T[O]);else if(typeof T[O]=="object"&&!Array.isArray(T[O])&&D)for(const U in T[O])D.indexOf(U)>-1&&U in L&&(T[O][U]=L[U](T[O][U]))}function S(T,D,L,$=!1){const O=D.send,U=D.ts,Y=D.methodLevel,W=D.methodValue,et=D.val,P=T._logEvent.bindings;$||v(L,T._serialize||Object.keys(T.serializers),T.serializers,T._stdErrSerialize===void 0?!0:T._stdErrSerialize),T._logEvent.ts=U,T._logEvent.messages=L.filter(function(q){return P.indexOf(q)===-1}),T._logEvent.level.label=Y,T._logEvent.level.value=W,O(Y,T._logEvent,et),T._logEvent=j(P)}function j(T){return{ts:0,messages:[],bindings:T||[],level:{label:"",value:0}}}function k(T){const D={type:T.constructor.name,msg:T.message,stack:T.stack};for(const L in T)D[L]===void 0&&(D[L]=T[L]);return D}function I(T){return typeof T.timestamp=="function"?T.timestamp:T.timestamp===!1?B:R}function V(){return{}}function A(T){return T}function E(){}function B(){return!1}function R(){return Date.now()}function F(){return Math.round(Date.now()/1e3)}function J(){return new Date(Date.now()).toISOString()}function Z(){function T(D){return typeof D<"u"&&D}try{return typeof globalThis<"u"||Object.defineProperty(Object.prototype,"globalThis",{get:function(){return delete Object.prototype.globalThis,this.globalThis=this},configurable:!0}),globalThis}catch{return T(self)||T(window)||T(this)||{}}}return Ae.exports.default=m,Ae.exports.pino=m,Ae.exports}var q0=W0();const G0=$n(q0);var Z0={};const K0=()=>
8{if(typeof window>"u"){const{LOGGING_LEVEL:t="info"}=Z0;return t}return"info"},Y0=(t={})=>({...{level:K0()},...t}),X0=t=>G0(Y0(t)),is=X0(),Ue=async(t,e={},n=5e3,i)=>{const r=typeof window<"u",a=new AbortController,o=a.signal,l=setTimeout(()=>a.abort(),n),c=Date.now(),d=e.method||"GET";try{const m=await fetch(t,{...e,signal:o});clearTimeout(l);const u=Date.now()-c;return!r&&is.debug({time:Date.now(),req:`${d} ${t} ${i||""}`,res:m.status,responseTime:u,msg:"request completed"}),m}catch(m){clearTimeout(l);const u=Date.now()-c;if(m.name==="AbortError"){!r&&is.error({time:Date.now(),req:`${d} ${t}`,responseTime:u,debugLabel:i,msg:`Fetch request timed out after ${n}ms`});const h=new Error(`Fetch request to ${t} timed out after ${n}ms`);throw h.code=408,h}throw!r&&is.error({time:Date.now(),req:`${d} ${t}`,responseTime:u,debugLabel:i,msg:`Fetch request failed: ${m.message}`,error:m.stack}),m}},Qx=async()=>{try{const t=await Ue("/api/breaking-news",{method:"GET"},5e3);return t.status===204||!t.ok?null:await t.json()}catch(t){return console.error(`There was an error while fetching breaking news article. ${t.message}`),null}},fr=async t=>{try{const e=await Ue(`/api/document/composition/1/${t}`,{method:"GET",headers:{Authorization:"Basic ZGVsaXZlcnk6RXBxUzZzaFdMU1NtekNtRw==","Content-Type":"application/json"}},5e3);return e.ok?await e.json():null}catch{return console.error(`There was an error while fetching composition by document id: ${t}`),null}},J0=async t=>{try{const e=await Ue(`/api/ticker/${t}`);return e.ok?await e.json():null}catch{return console.error(`There was an error while fetching ticker with id: ${t}`),null}};["weather","news","local events today","sports","restaurants near me","traffic","breaking news","covid updates","restaurants","weather forecast"].sort((t,e)=>t.length!==e.length?t.length-e.length:t.localeCompare(e));const Q0=[{name:"Letzte 24 Stunden",value:"d1"},{name:"Letzte Woche",value:"w1"},{name:"Letzter Monat",value:"m1"},{name:"Letztes Jahr",value:"y1"}],th=[{name:"Artikel",value:"regular"},{name:"Bildergalerie",value:"gallery"},{name:"Video",value:"video"}],eh=[{name:"Alphabetisch A-Z",value:"alphabetical-sort-a-z"},{name:"Beliebtheit",value:"popularity-sort"},{name:"Nach Datum",value:"date-sort"}],Ro=Kc({name:b("N/A",["metadata","label"]),value:On("id")}),nh=t=>at(xt(Ro),mt(Boolean),xt(e=>t[e])),sh=at(xt(Ro),mt(ye("region",["metadata","ctype"])),Object.values),ih=({type:t,value:e})=>at(b(null,["name"]),Yc(n=>ye(e,["value"],n)),b([],[t])),rh=(t,e)=>{const n=new URLSearchParams;return n.set("q",t),Object.entries(e).forEach(([i,r])=>{i==="sorting"||r===null||r===void 0||(Array.isArray(r)?r.forEach(a=>n.append(i,a)):typeof r=="string"&&r.trim()!==""&&n.set(i,r))}),n.toString()},[ah,t3]=Xe({section:"search",schema:me.obj({})},{},({config:t})=>{const{availableCategories:e}=t,n=i=>({categories:nh(i)(e),regions:sh(i),dates:Q0,articleTypes:th,sorting:eh});return{getFilterDataByType:(i,r)=>n(r)[i],getFilterNameBySelectedValueAndType:({value:i,type:r},a)=>ih({type:r,value:["categories","regions"].includes(r)?Number(i):i})(n(a)),getSearchSuggestions:async({query:i,filters:r})=>{try{const a=await Ue(`/api/search-suggestions?${rh(i,r)}`);if(!a.ok){const l=`Could not fetch search suggestions. Response status: ${a.status}`;return console.error(l),{status:a.status,error:l}}const o=await a.json();return{status:200,data:b([],["documents"],o)}}catch(a){return{status:500,error:`Could not fetch Search Suggestions. ${a.message}`}}},getAuthorsSearchSuggestions:async({query:i})=>{try{const r=new URLSearchParams({q:i}),a=await Ue(`/api/authors-suggestions?${r.toString()}`);if(!a.ok){const l=`Could not fetch authors suggestions. Response status: ${a.status}`;return console.error(l),{status:a.status,error:l}}const o=await a.json();return{status:200,data:b([],["documents"],o)}}catch(r){return{status:500,error:`Could not fetch Authors Suggestions. ${r.message}`}}}}}),e3=()=>{const t=xe(ah),{filterCategories:e={}}=Qs("routes/suche")??{};return{getSearchSuggestions:t.getSearchSuggestions,getAuthorsSearchSuggestions:t.getAuthorsSearchSuggestions,getFilterDataByType:n=>t.getFilterDataByType(n,e),getFilterNameBySelectedValueAndType:({value:n,type:i})=>t.getFilterNameBySelectedValueAndType({value:n,type:i},e)}},oh=3*60*1e3,gr="inactivity_dismissed",lh=()=>{const[t,e]=f.useState(!1),n=f.useRef(null),i=f.useRef(!1),r=f.useRef(typeof sessionStorage<"u"&&!!sessionStorage.getItem(gr));f.useEffect(()=>{i.current=t,t?n.current&&clearTimeout(n.current):a()},[t]);const a=()=>{r.current||(n.current&&clearTimeout(n.current),n.current=setTimeout(()=>{r.current||e(!0)},oh))},o=()=>{!i.current&&!r.current&&a()};return f.useEffect(()=>{a();const d=["mousemove","mousedown","keydown","scroll","touchstart","touchmove"];return d.forEach(m=>{window.addEventListener(m,o)}),()=>{d.forEach(m=>{window.removeEventListener(m,o)}),n.current&&clearTimeout(n.current)}},[]),{isInactive:t,close:()=>{r.current=!0,sessionStorage.setItem(gr,"1"),n.current&&clearTimeout(n.current),e(!1)},reset:()=>{e(!1)}}};var rs={exports:{}},xr;function ch(){return xr||(xr=1,(()=>{var t={556:(r,a,o)=>{r.exports=o(694)()},694:(r,a,o)=>{var l=o(925);function c(){}function d(){}d.resetWarningCache=c,r.exports=function(){function m(w,g,p,x,y,v){if(v!==l){var S=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw S.name="Invariant Violation",S}}function u(){return m}m.isRequired=m;var h={array:m,bigint:m,bool:m,func:m,number:m,object:m,string:m,symbol
8:m,any:m,arrayOf:u,element:m,elementType:m,instanceOf:u,node:m,objectOf:u,oneOf:u,oneOfType:u,shape:u,exact:u,checkPropTypes:d,resetWarningCache:c};return h.PropTypes=h,h}},925:r=>{r.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}},e={};function n(r){var a=e[r];if(a!==void 0)return a.exports;var o=e[r]={exports:{}};return t[r](o,o.exports,n),o.exports}n.n=r=>{var a=r&&r.__esModule?()=>r.default:()=>r;return n.d(a,{a}),a},n.d=(r,a)=>{for(var o in a)n.o(a,o)&&!n.o(r,o)&&Object.defineProperty(r,o,{enumerable:!0,get:a[o]})},n.o=(r,a)=>Object.prototype.hasOwnProperty.call(r,a),n.r=r=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})};var i={};(()=>{n.r(i),n.d(i,{OutbrainWidget:()=>m});var r=n(556),a=n.n(r);const o=Ec();var l=n.n(o);function c(){return c=Object.assign?Object.assign.bind():function(u){for(var h=1;h<arguments.length;h++){var w=arguments[h];for(var g in w)({}).hasOwnProperty.call(w,g)&&(u[g]=w[g])}return u},c.apply(null,arguments)}var d=function(u){var h=u.attrs;return l().createElement("div",c({className:"OUTBRAIN"},h))},m=l().memo(function(u){var h,w=u.dataSrc,g=u.dataWidgetId,p=u.obUserId,x=p===void 0?"":p,y=u.obInstallationKey,v=y===void 0?"":y,S=u.obInstallationType,j=S===void 0?"":S,k=u.obAppVer,I=k===void 0?"":k,V=u.isSecured,A=V===void 0?"":V,E=u.obContentUrl,B=E===void 0?null:E,R=u.obPortalUrl,F=R===void 0?null:R,J=u.obBundleUrl,Z=J===void 0?null:J,T=u.obLanguage,D=T===void 0?null:T,L=u.obPsub,$=L===void 0?null:L,O=u.obAppId,U=O===void 0?null:O,Y=u.externalId,W=Y===void 0?null:Y,et=u.obDarkMode,P=et===void 0?null:et,q=(0,o.useRef)(null),wt=(h={"data-src":w,"data-widget-id":g,"data-ob-user-id":x,"data-ob-installation-key":v,"data-ob-installation-type":j,"data-ob-app-ver":I,"data-is-secured":A,"data-ob-contenturl":B,"data-ob-portalurl":F,"data-ob-bundleurl":Z,"data-ob-language":D,"data-ob-psub":$,"data-ob-app-id":U,"data-external-id":W,"data-dark-mode":P},Object.keys(h).reduce(function(pt,jt){return h[jt]!==null&&h[jt]!==""&&(pt[jt]=h[jt]),pt},{})),Lt=w||B||F||Z;return(0,o.useEffect)(function(){var pt,jt,ot;(pt=q.current.querySelector(".OUTBRAIN"))&&pt.getAttribute("data-ob-mark")||(jt=Lt,(ot=window.OBR)&&ot.extern&&typeof ot.extern.renderSpaWidgets=="function"&&ot.extern.renderSpaWidgets(jt))},[wt]),l().createElement("div",{ref:q,className:"OB-REACT-WRAPPER"},l().createElement(d,{key:Date.now(),attrs:wt}))});m.propTypes={dataSrc:a().string.isRequired,dataWidgetId:a().string.isRequired,obUserId:a().string,obInstallationKey:a().string,obInstallationType:a().string,obAppVer:a().string,isSecured:a().string,obContentUrl:a().string,obPortalUrl:a().string,obBundleUrl:a().string,obLanguage:a().string,obPsub:a().string,obAppId:a().string,externalId:a().string,obDarkMode:a().string}})(),rs.exports=i})()),rs.exports}var Bo=ch();const dn=$n(Bo),dh=Bo.OutbrainWidget||dn?.OutbrainWidget||(dn&&dn.default?dn.default.OutbrainWidget:null),n3=()=>{const{isInactive:t,close:e}=lh(),{id:n}=f.useContext(H0)||{},{config:i}=Qs("root"),[r,a]=f.useState(null),l=b("",["tenant","code"],i)==="sch"?"https://www.schwaebische.de/":"https://www.nordkurier.de/";return f.useEffect(()=>{n&&fetch(`/api/mega-menu/data?tenantId=${n}`).then(c=>{if(!c.ok){console.error("Error loading mega-menu live data.");return}return c.json()}).then(c=>{c?.produkteMiniPage&&a(c.produkteMiniPage)})},[n]),f.useEffect(()=>(t?document.body.style.overflow="hidden":document.body.style.overflow="",()=>{document.body.style.overflow=""}),[t]),t?s.jsx("div",{className:"tw-fixed tw-inset-0 tw-flex tw-items-center tw-justify-center tw-z-[9999999999999] tw-bg-neutral-0 tw-bg-opacity-20 tw-px-2 md:tw-py-10 print:tw-hidden",children:s.jsxs("div",{className:"tw-relative tw-bg-neutral-100 tw-rounded-3xl tw-p-4 lg:tw-max-h-[calc(100dvh-80px)] tw-flex tw-flex-col tw-animate-slide-in-from-left tw-w-[min(1040px,100%)]",children:[s.jsx("button",{className:"tw-flex tw-items-center tw-justify-center tw-ml-auto",onClick:e,"aria-label":"Close inactivity layer",children:s.jsx(ut,{IconComponent:bm,title:"close-icon",isDecorative:!1,customClasses:"[&_path]:tw-fill-neutral-10 tw-h-6 tw-w-6"})}),s.jsxs("div",{className:"tw-flex tw-gap-4 tw-h-full lg:tw-flex-col lg:tw-overflow-y-scroll",children:[s.jsx("div",{className:"tw-flex tw-gap-2 lg:tw-py-4 tw-px-8 tw-py-10 md:tw-px-0 lg:tw-order-3 tw-flex-[1_1_57%] md:tw-flex-none tw-items-center tw-justify-center [&_.two-column-wrapper]:tw-mb-0 [&_.two-column-wrapper_aside]:tw-col-span-full [&_aside>picture]:tw-h-[265px] lg:[&_aside>picture]:tw-h-[125px] lg:[&_aside>picture]:tw-w-auto [&_aside>picture_img]:tw-object-cover [&_aside>picture_img]:tw-h-full [&_aside:has(picture)]:tw-flex [&_aside:has(picture)]:tw-justify-center",children:r&&s.jsx(Ha,{document:r})}),s.jsx("div",{className:"tw-flex tw-flex-col lg:tw-order-1 lg:tw-basis-full tw-flex-[1_1_43%] md:tw-flex-auto tw-pl-4 tw-border-l tw-border-solid tw-border-l-neutral-80 lg:tw-border-l-0 lg:tw-pl-0 tw-relative lg:tw-overflow-y-auto lg:tw-min-h-0",children:s.jsxs("div",{className:"tw-absolute tw-flex tw-flex-col lg:tw-static tw-inset-0 tw-left-4",children:[s.jsx("p",{className:"tw-text-neutral-10 tw-text-title-lg tw-font-primary tw-m-0 tw-py-3",children:"Meistgelesene Nachrichten"}
8),s.jsx("aside",{"data-nosnippet":!0,"aria-label":"Leseempfehlungen und Anzeigen",className:"print:tw-hidden tw-overflow-auto tw-h-full",children:s.jsx(dh,{dataWidgetId:"MB_1",dataSrc:l})})]})})]})]})}):null};Pt.extend(Rc);Pt.locale("de");Pt.extend(Bc);Pt.updateLocale("de",{relativeTime:{future:"in %s",past:"vor %s",s:"%d Sekunden",m:"1 Minute",mm:"%d Minuten",h:"1 Stunde",hh:"%d Stunden",d:"1 Tag",dd:"%d Tagen",M:"1 Monat",MM:"%d Monaten",y:"1 Jahr",yy:"%d Jahren"}});const s3=t=>{const e=Pt(t),n=Pt();return n.diff(e,"hour")<24&&e.isBefore(n)?e.fromNow():e.format("DD.MM.YYYY")},uh=(t,e,n)=>{const i=e-t+1;if(i<=8)return Array.from({length:i},(o,l)=>t+l);const r=Array.from({length:3},(o,l)=>n-1+l),a=Array.from({length:2},(o,l)=>e-l).reverse();if(n<5)return[1,2,3,4,5,"...",...a];if(n>=5)return n>=e-4?[1,2,"...",...Array.from({length:6},(o,l)=>e-l).reverse()]:[1,2,"...",...r,"...",...a]},br=()=>Math.floor(Math.random()*1e5+1);function xi({start:t,end:e,clickedPage:n,handleClickPage:i,searchParams:r,pathname:a}){const[o,l]=f.useState([]);f.useEffect(()=>{l(uh(t,e,n))},[t,e,n]);const c=()=>{n!==e&&i(n+1)},d=()=>{n!==t&&i(n-1)},m=(h,w)=>{h.preventDefault(),w()},u=h=>{if(h==="...")return"";const w=new URLSearchParams(r);h===1?w.delete("page"):w.set("page",h);const g=w.toString();return`${a}${g?`?${g}`:""}`};return o.length>0&&s.jsxs("div",{className:"tw-flex tw-justify-between tw-items-center",children:[s.jsx(rt,{to:u(n-1),"aria-label":"Vorherige Seit",className:`tw-flex tw-items-center tw-justify-center tw-w-8 tw-h-8 tw-border tw-rounded tw-cursor-pointer tw-text-base tw-text-neutral-10 tw-items-center tw-justify-center hover:tw-bg-primary-40 hover:tw-text-primary-100
9              tw-transition tw-ease-in-out tw-duration-300 ${n===1?"tw-invisible":""}`,onClick:h=>m(h,d),children:s.jsxs("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[s.jsx("g",{id:"Material Icons",clipPath:"url(#clip0_4944_4452)",children:s.jsx("path",{id:"Vector",d:"M11.0324 5.03261C10.7399 4.74011 10.2674 4.74011 9.97486 5.03261L6.53236 8.47511C6.23986 8.76761 6.23986 9.24011 6.53236 9.53261L9.97486 12.9751C10.2674 13.2676 10.7399 13.2676 11.0324 12.9751C11.3249 12.6826 11.3249 12.2101 11.0324 11.9176L8.12236 9.00011L11.0324 6.09011C11.3249 5.79761 11.3174 5.31761 11.0324 5.03261Z",fill:"#191C1E"})}),s.jsx("defs",{children:s.jsx("clipPath",{id:"clip0_4944_4452",children:s.jsx("rect",{width:"18",height:"18",fill:"white"})})})]})}),s.jsx("div",{className:"tw-py-2 tw-flex tw-flex-wrap",children:o.map(h=>s.jsx("div",{className:"tw-py-1.5 tw-top-[11px] tw-pr-2 tw-flex",children:h==="..."?s.jsx("span",{"aria-hidden":"true",className:`tw-flex tw-w-8 tw-h-8 tw-border tw-rounded tw-cursor-pointer tw-border-neutral-90
10              tw-border-solid tw-text-base tw-text-neutral-10 tw-items-center tw-justify-center hover:tw-bg-primary-40 hover:tw-text-primary-100`,children:h}):s.jsx(rt,{to:u(h),"aria-label":`Seite ${h}`,className:`tw-flex tw-w-8 tw-h-8 tw-border tw-rounded tw-cursor-pointer tw-border-neutral-90 tw-border-solid tw-text-base tw-text-neutral-10 tw-items-center tw-justify-center hover:tw-bg-primary-40 hover:tw-text-primary-100
11              ${h===n?"tw-bg-primary-40 tw-border-primary-40 tw-text-primary-100":""}`,onClick:w=>m(w,()=>i(h)),children:h})},`${h}-${br()}-${br()}`))}),s.jsx(rt,{to:u(n+1),"aria-label":"Nächste Seite",className:`tw-flex tw-w-8 tw-h-8 tw-border tw-rounded tw-cursor-pointer tw-text-base tw-text-neutral-10 tw-items-center tw-justify-center hover:tw-bg-primary-40 hover:tw-text-primary-100
12              tw-transition tw-ease-in-out tw-duration-300 ${n===o.length?"tw-invisible":""}`,onClick:h=>m(h,c),children:s.jsxs("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[s.jsx("g",{id:"Material Icons",clipPath:"url(#clip0_4944_4471)",children:s.jsx("path",{id:"Vector",d:"M6.96742 5.03258C6.67492 5.32508 6.67492 5.79758 6.96742 6.09008L9.87742 9.00008L6.96742 11.9101C6.67492 12.2026 6.67492 12.6751 6.96742 12.9676C7.25992 13.2601 7.73242 13.2601 8.02492 12.9676L11.4674 9.52508C11.7599 9.23258 11.7599 8.76008 11.4674 8.46758L8.02492 5.02508C7.73992 4.74008 7.25992 4.74008 6.96742 5.03258Z",fill:"#191C1E"})}),s.jsx("defs",{children:s.jsx("clipPath",{id:"clip0_4944_4471",children:s.jsx("rect",{width:"18",height:"18",fill:"white"})})})]})})]})}const $o=f.createContext({}
12),un={categories:[],dates:null,regions:[],articleTypes:null,sorting:"date-sort"},i3=({children:t,value:e})=>{const{documents:n,filtersFromUrl:i,navigate:r,searchTerm:a,currentPage:o=1,total:l=0,itemsPerPage:c}=e,[d,m]=f.useState(un),[u,h]=f.useState(n),[w,g]=f.useState(o),p=Math.ceil(l/c);f.useEffect(()=>{Ka(i,d)||m({...un,...i})},[i]),f.useEffect(()=>{g(o)},[o]),f.useEffect(()=>{h(n)},[n]);const x=f.useCallback((E,B,R=1)=>{const F=new URLSearchParams;return F.set("q",E),R>1&&F.set("page",R),Object.entries(B).forEach(([J,Z])=>{Z!=null&&(Array.isArray(Z)?Z.forEach(T=>F.append(J,T)):typeof Z=="string"&&Z.trim()!==""&&F.set(J,Z))}),F.toString()},[]),y=f.useCallback((E,B,R=1)=>{!E||!r||r(`/suche/?${x(E,B,R)}`)},[r,x]),v=f.useCallback(E=>{E&&y(E,d)},[d,y]),S=({filterType:E,value:B})=>d[E]?Array.isArray(d[E])?d[E].includes(B):d[E]===B:!1,j=({filterType:E,value:B,multiSelect:R=!1})=>{m(F=>{const J=(()=>{if(R){const Z=F[E]||[];return{...F,[E]:Z.includes(B)?Z.filter(T=>T!==B):[...Z,B]}}else return{...F,[E]:F[E]===B?null:B}})();return a&&y(a,J),J})},k=({filterType:E})=>{m(B=>{const R={...B,[E]:Array.isArray(B[E])?[]:null};return a&&y(a,R),R})},I=()=>{m(un),a&&y(a,un)},V=f.useCallback(E=>{const B=typeof E=="function"?E(w):E;B!==w&&a&&y(a,d,B)},[w,a,d,y]),A=f.useMemo(()=>({filteredDocuments:u,filters:d,handleSearch:v,isSelected:S,updateFilter:j,resetFilter:k,resetAllFilters:I,currentPage:w,totalPages:p,setCurrentPage:V}),[u,d,v,S,j,k,I,w,p,V]);return s.jsx($o.Provider,{value:A,children:t})},r3=()=>f.useContext($o),Oo=f.createContext({}),a3=({children:t,value:e})=>{const{navigate:n,initialPage:i=1,searchTerm:r=""}=e,[a,o]=f.useState(i);f.useEffect(()=>{o(i)},[i]);const l=f.useCallback((h,w=1)=>{const g=new URLSearchParams;return g.set("q",h),w>1&&g.set("page",w),g.toString()},[]),c=f.useCallback(h=>{console.log("search term in provider",h),h&&n&&n(`/autoren?${l(h,1)}`)},[n,l]),d=f.useCallback((h,w=1)=>{!h||!n||n(`/suche/?${l(h,w)}`)},[n,l]),m=f.useCallback(h=>{if(n){const w=typeof h=="function"?h(a):h;n(`/suche/?${l(r,w)}`)}},[a,r,n,l]),u=f.useMemo(()=>({handleAuthorsSearch:c,setCurrentPage:m,navigateWithSearchterm:d}),[c,m,d]);return s.jsx(Oo.Provider,{value:u,children:t})},o3=()=>f.useContext(Oo),mh=t=>{const[e,n]=f.useState(1),i=b(!1,["includeMeta","params","enablePagination"],t),r=b(10,["includeMeta","params","maxCount"],t),a=b(r,["includeMeta","params","count"],t),o=t.content||[],l=Be(o),c=Math.ceil(o.length/a),d=f.useRef(null),m=u=>{n(u),d.current.scrollIntoView({behavior:"smooth"})};return s.jsxs("div",{ref:d,children:[s.jsx(K,{title:l.title,date:l.date,teaser:l.teaser,link:l.link,image:H(l,"image"),mobileImage:H(l,"image"),categoryLabel:l.categoryLabel,catchline:l.catchline,location:l.location,contentType:l.contentType,theme:l.theme,showPaywallBadge:l.paywall==="premium",type:"large",sizes:"(min-width: 1030px) 998px, calc(100vw - 32px)",headerType:"p",additionalDescription:l.additionalDescription},l.link),Cn(o).map((u,h)=>{const w=(e-1)*a,g=w+a,p=i&&!(w<=h&&g-1>h);return s.jsx(K,{title:u.title,date:u.date,teaser:u.teaser,link:u.link,image:H(u,"image","4:3"),mobileImage:H(u,"image","1:1"),categoryLabel:u.categoryLabel,catchline:u.catchline,location:u.location,contentType:u.contentType,theme:u.theme,showPaywallBadge:u.paywall==="premium",type:"small",sizes:"(max-width: 768px) 90px, calc(998px / 3)",headerType:"p",hideTeaser:p,additionalDescription:u.additionalDescription},u.link)}),i&&s.jsx(xi,{start:1,end:c,clickedPage:e,handleClickPage:m,searchParams:new URLSearchParams,pathname:""})]})},hh=C("category-section-template",mh),wh=({content:t})=>{const e=b({},[0],t);return s.jsxs("div",{children:[s.jsx(K,{title:e.title,date:e.date,teaser:e.teaser,link:e.link,image:e.image?.url,categoryLabel:e.categoryLabel,catchline:e.catchline,location:e.location,contentType:e.contentType,showPaywallBadge:e.paywall==="premium",type:"large"}),s.jsx(K,{title:e.title,date:e.date,teaser:e.teaser,link:e.link,image:e.image?.url,hideDescription:!0,categoryLabel:e.categoryLabel,catchline:e.catchline,location:e.location,contentType:e.contentType,theme:e.theme,showPaywallBadge:e.paywall==="premium",type:"medium"}),s.jsx(K,{title:e.title,date:e.date,teaser:e.title,link:e.link,image:e.image?.url,categoryLabel:e.categoryLabel,catchline:e.catchline,location:e.location,contentType:e.contentType,theme:e.theme,showPaywallBadge:e.paywall==="premium",type:"medium"}),s.jsx(K,{title:e.title,date:e.date,teaser:e.teaser,link:e.link,image:e.image?.url,hideDescription:!0,hideImage:!0,categoryLabel:e.categoryLabel,catchline:e.catchline,location:e.location,contentType:e.contentType,theme:e.theme,showPaywallBadge:e.paywall==="premium",type:"small"}),t.map(n=>s.jsx(K,{title:n.title,date:n.date,teaser:n.teaser,link:n.link,image:n.image?.url,categoryLabel:n.categoryLabel,catchline:n.catchline,location:n.location,contentType:n.contentType,theme:n.theme,showPaywallBadge:n.paywall==="premium",type:"small"},n.link))]})},ph=C("example-template",wh),fh=t=>{const[e,n]=f.useState(1),i=f.useRef(null),r=b(!1,["includeMeta","params","enablePagination"],t),a=b(10,["includeMeta","params","maxCount"],t),o=b(a,["includeMeta","params","count"],t),l=t.content||[],
12c=Math.ceil(l.length/o),d=u=>{n(u),i.current.scrollIntoView({behavior:"smooth"})},m=Be(l);return s.jsxs("div",{children:[s.jsx(K,{title:m.title,date:m.date,teaser:m.teaser,link:m.link,image:H(m,"image"),mobileImage:H(m,"image"),categoryLabel:m.categoryLabel,catchline:m.catchline,location:m.location,contentType:m.contentType,theme:m.theme,showPaywallBadge:m.paywall==="premium",type:"large",additionalDescription:m.additionalDescription},m.link),s.jsx("div",{ref:i,className:"fp-article-group-small",children:Cn(l).map((u,h)=>{const w=(e-1)*o,g=w+o,p=h%o,x=r&&!(w<=h&&g-1>h);return p===0||p===1?s.jsx(K,{title:u.title,date:u.date,teaser:u.teaser,link:u.link,image:H(u,"image"),mobileImage:H(u,"image"),categoryLabel:u.categoryLabel,catchline:u.catchline,location:u.location,contentType:u.contentType,theme:u.theme,showPaywallBadge:u.paywall==="premium",type:"medium",hideTeaser:x,additionalDescription:u.additionalDescription},u.link):s.jsx(K,{title:u.title,date:u.date,teaser:u.teaser,link:u.link,image:H(u,"image","4:3"),mobileImage:H(u,"image","1:1"),categoryLabel:u.categoryLabel,catchline:u.catchline,location:u.location,contentType:u.contentType,theme:u.theme,showPaywallBadge:u.paywall==="premium",type:"small",hideTeaser:x,additionalDescription:u.additionalDescription},u.link)})}),r&&s.jsx(xi,{start:1,end:c,clickedPage:e,handleClickPage:d,searchParams:new URLSearchParams,pathname:""})]})},gh=C("page-main-teasers-list-template",fh),xh=t=>{if(t.content.length===1)return t.content.map(e=>s.jsx("div",{className:"related-single-teaser",children:s.jsx(K,{title:e.title,date:e.date,teaser:e.teaser,link:e.link,image:H(e,"image","16:9"),mobileImage:H(e,"image","16:9"),categoryLabel:e.categoryLabel,catchline:e.catchline,imageRight:!0,hideDescription:!0,location:e.location,contentType:e.contentType,theme:e.theme,showPaywallBadge:e.paywall==="premium",type:"small",sizes:"(max-width: 768px) 90px, 112px",headerType:"p",additionalDescription:e.additionalDescription})},e.link));if(t.content.length===2)return s.jsx("div",{className:"tw-flex tw-gap-4 md:tw-flex-col",children:t.content.map(e=>s.jsx("div",{className:"tw-w-1/2 md:tw-w-full",children:s.jsx(K,{title:e.title,date:e.date,teaser:e.teaser,link:e.link,image:H(e,"image","1:1"),mobileImage:H(e,"image","1:1"),categoryLabel:e.categoryLabel,catchline:e.catchline,imageRight:!0,hideDescription:!0,location:e.location,contentType:e.contentType,theme:e.theme,showPaywallBadge:e.paywall==="premium",type:"small",sizes:"112px",headerType:"p",additionalDescription:e.additionalDescription})},e.link))});if(t.content.length===3)return s.jsx("div",{className:"tw-grid tw-grid-cols-3 md:tw-grid-cols-1 tw-gap-x-4 md:tw-gap-y-6",children:t.content.map(e=>s.jsx("div",{className:"carousel-item related-article-teaser tw-shrink-0",children:s.jsx("div",{className:"tw-bg-white",children:s.jsx(K,{title:e.title,date:e.date,teaser:e.teaser,link:e.link,image:H(e,"image"),mobileImage:H(e,"image"),location:e.location,catchline:e.catchline,contentType:e.contentType,categoryLabel:e.categoryLabel,theme:e.theme,showPaywallBadge:e.paywall==="premium",type:"large",sizes:"(max-width: 768px) 90px, calc(685px/3)",headerType:"p",additionalDescription:e.additionalDescription},e.link)})},e.link))});if(t.content.length>3)return s.jsx(Me,{additionalClasses:"!tw-mb-4",children:t.content.map(e=>s.jsx("div",{className:"carousel-item tw-w-[calc(33.33%_-(2rem/3))] tw-snap-start sm:tw-w-[70%] carousel-item-large tw-pr-4 related-article-teaser tw-shrink-0",children:s.jsx("div",{className:"tw-bg-white",children:s.jsx(K,{title:e.title,date:e.date,teaser:e.teaser,link:e.link,image:H(e,"image"),mobileImage:H(e,"image"),location:e.location,catchline:e.catchline,contentType:e.contentType,categoryLabel:e.categoryLabel,theme:e.theme,showPaywallBadge:e.paywall==="premium",type:"large",sizes:"(max-width: 576px) 70vw, calc(685px / 3 - 2rem / 3)",headerType:"p",additionalDescription:e.additionalDescription},e.link)})},e.link))})},bh=C("small-teasers-image-right-template",xh),yh=t=>{const[e,n]=f.useState(1),i=b(!1,["includeMeta","params","enablePagination"],t),r=b(10,["includeMeta","params","maxCount"],t),a=b(r,["includeMeta","params","count"],t),o=f.useRef(null),l=t.content||[],
12c=Math.ceil(l.length/a),d=m=>{n(m),o.current.scrollIntoView({behavior:"smooth"})};return s.jsxs("div",{ref:o,children:[l.map((m,u)=>{const h=(e-1)*a,w=h+a,g=i&&!(h<=u&&w>u);return s.jsx(K,{title:m.title,date:m.date,teaser:m.teaser,link:m.link,image:H(m,"image","4:3"),mobileImage:H(m,"image","1:1"),categoryLabel:m.categoryLabel,catchline:m.catchline,location:m.location,contentType:m.contentType,theme:m.theme,showPaywallBadge:m.paywall==="premium",type:"small",sizes:"(max-width: 768px) 90px, calc(998px / 3)",iconSize:"large",headerType:"p",hideTeaser:g,additionalDescription:m.additionalDescription},m.link)}),i&&s.jsx(xi,{start:1,end:c,clickedPage:e,handleClickPage:d,searchParams:new URLSearchParams,pathname:""})]})},vh=C("small-teasers-list-template",yh),jh=({content:t})=>{const e=b({},[0],t);return s.jsxs(s.Fragment,{children:[s.jsx(K,{title:e.title,date:e.date,teaser:e.teaser,link:e.link,image:H(e,"image","4:3"),mobileImage:H(e,"image"),location:e.location,catchline:e.catchline,contentType:e.contentType,categoryLabel:e.categoryLabel,theme:e.theme,showPaywallBadge:e.paywall==="premium",hideDescription:!0,hideImage:!1,type:"small",headerType:"p",additionalDescription:e.additionalDescription},e.link),t.map(n=>s.jsx(K,{title:n.title,date:n.date,teaser:n.teaser,link:n.link,image:H(n,"image"),mobileImage:H(n,"image"),location:n.location,catchline:n.catchline,contentType:n.contentType,categoryLabel:n.categoryLabel,theme:n.theme,showPaywallBadge:n.paywall==="premium",hideDescription:!0,hideImage:!0,type:"small",headerType:"p",additionalDescription:n.additionalDescription},n.link))]})},Ch=C("vertical-medium-small-template",jh),Th=({content:t})=>{const e=b({},[0],t);return s.jsxs("div",{children:[s.jsx(K,{title:e.title,date:e.date,teaser:e.teaser,link:e.link,image:H(e,"image"),mobileImage:H(e,"image"),location:e.location,catchline:e.catchline,contentType:e.contentType,categoryLabel:e.categoryLabel,theme:e.theme,showPaywallBadge:e.paywall==="premium",type:"large",headerType:"p",additionalDescription:e.additionalDescription},e.link),s.jsx("div",{className:"md:tw-m-0",children:t.map(n=>s.jsx(K,{title:n.title,date:n.date,teaser:n.teaser,link:n.link,image:H(n,"image","4:3"),mobileImage:H(n,"image","1:1"),location:n.location,catchline:n.catchline,contentType:n.contentType,categoryLabel:n.categoryLabel,theme:n.theme,showPaywallBadge:n.paywall==="premium",type:"small",headerType:"p",additionalDescription:n.additionalDescription},n.link))})]})},Sh=C("homepage-main-teasers-list-template",Th),bi=f.createContext({});function yi(t){const e=f.useRef(null);return e.current===null&&(e.current=t()),e.current}const vi=typeof window<"u",zo=vi?f.useLayoutEffect:f.useEffect,Xn=f.createContext(null);function ji(t,e){t.indexOf(e)===-1&&t.push(e)}function Ci(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const _t=(t,e,n)=>n>e?e:n<t?t:n;let Ti=()=>{};const Vt={},Fo=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t);function Ho(t){return typeof t=="object"&&t!==null}const Uo=t=>/^0[^.\s]+$/u.test(t);function Si(t){let e;return()=>(e===void 0&&(e=t()),e)}const Nt=t=>t,kh=(t,e)=>n=>e(t(n)),en=(...t)=>t.reduce(kh),We=(t,e,n)=>{const i=e-t;return i===0?1:(n-t)/i};class ki{constructor(){this.subscriptions=[]}add(e){return ji(this.subscriptions,e),()=>Ci(this.subscriptions,e)}notify(e,n,i){const r=this.subscriptions.length;if(r)if(r===1)this.subscriptions[0](e,n,i);else for(let a=0;a<r;a++){const o=this.subscriptions[a];o&&o(e,n,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const It=t=>t*1e3,kt=t=>t/1e3;function Wo(t,e){return e?t*(1e3/e):0}const qo=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t,Nh=1e-7,Lh=12;function Ah(t,e,n,i,r){let a,o,l=0;do o=e+(n-e)/2,a=qo(o,i,r)-t,a>0?n=o:e=o;while(Math.abs(a)>Nh&&++l<Lh);return o}function nn(t,e,n,i){if(t===e&&n===i)return Nt;const r=a=>Ah(a,0,1,t,n);return a=>a===0||a===1?a:qo(r(a),e,i)}const Go=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,Zo=t=>e=>1-t(1-e),Ko=nn(.33,1.53,.69,.99),Ni=Zo(Ko),Yo=Go(Ni),Xo=t=>(t*=2)<1?.5*Ni(t):.5*(2-Math.pow(2,-10*(t-1))),Li=t=>1-Math.sin(Math.acos(t)),Jo=Zo(Li),Qo=Go(Li),Ph=nn(.42,0,1,1),Ih=nn(0,0,.58,1),tl=nn(.42,0,.58,1),Mh=t=>Array.isArray(t)&&typeof t[0]!="number",el=t=>Array.isArray(t)&&typeof t[0]=="number",Eh={linear:Nt,easeIn:Ph,easeInOut:tl,easeOut:Ih,circIn:Li,circInOut:Qo,circOut:Jo,backIn:Ni,backInOut:Yo,backOut:Ko,anticipate:Xo},_h=t=>typeof t=="string",yr=t=>{if(el(t)){Ti(t.length===4);const[e,n,i,r]=t;return nn(e,n,i,r)}else if(_h(t))return Eh[t];return t},mn=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function Vh(t,e){let n=new Set,i=new Set,r=!1,a=!1;const o=new WeakSet;let l={delta:0,timestamp:0,isProcessing:!1};function c(m){o.has(m)&&(d.schedule(m),t()),m(l)}
vendor: 4,543 bytes, line 12
12const d={schedule:(m,u=!1,h=!1)=>{const g=h&&r?n:i;return u&&o.add(m),g.has(m)||g.add(m),m},cancel:m=>{i.delete(m),o.delete(m)},process:m=>{if(l=m,r){a=!0;return}r=!0,[n,i]=[i,n],n.forEach(c),n.clear(),r=!1,a&&(a=!1,d.process(m))}};return d}const Dh=40;function nl(t,e){let n=!1,i=!0;const r={delta:0,timestamp:0,isProcessing:!1},a=()=>n=!0,o=mn.reduce((S,j)=>(S[j]=Vh(a),S),{}),{setup:l,read:c,resolveKeyframes:d,preUpdate:m,update:u,preRender:h,render:w,postRender:g}=o,p=()=>{const S=Vt.useManualTiming?r.timestamp:performance.now();n=!1,Vt.useManualTiming||(r.delta=i?1e3/60:Math.max(Math.min(S-r.timestamp,Dh),1)),r.timestamp=S,r.isProcessing=!0,l.process(r),c.process(r),d.process(r),m.process(r),u.process(r),h.process(r),w.process(r),g.process(r),r.isProcessing=!1,n&&e&&(i=!1,t(p))},x=()=>{n=!0,i=!0,r.isProcessing||t(p)};return{schedule:mn.reduce((S,j)=>{const k=o[j];return S[j]=(I,V=!1,A=!1)=>(n||x(),k.schedule(I,V,A)),S},{}),cancel:S=>{for(let j=0;j<mn.length;j++)o[mn[j]].cancel(S)},state:r,steps:o}}const{schedule:X,cancel:Bt,state:lt,steps:as}=nl(typeof requestAnimationFrame<"u"?requestAnimationFrame:Nt,!0);let bn;function Rh(){bn=void 0}const ft={now:()=>(bn===void 0&&ft.set(lt.isProcessing||Vt.useManualTiming?lt.timestamp:performance.now()),bn),set:t=>{bn=t,queueMicrotask(Rh)}},sl=t=>e=>typeof e=="string"&&e.startsWith(t),Ai=sl("--"),Bh=sl("var(--"),Pi=t=>Bh(t)?$h.test(t.split("/*")[0].trim()):!1,$h=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Ce={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},qe={...Ce,transform:t=>_t(0,1,t)},hn={...Ce,default:1},Ee=t=>Math.round(t*1e5)/1e5,Ii=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Oh(t){return t==null}const zh=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Mi=(t,e)=>n=>!!(typeof n=="string"&&zh.test(n)&&n.startsWith(t)||e&&!Oh(n)&&Object.prototype.hasOwnProperty.call(n,e)),il=(t,e,n)=>i=>{if(typeof i!="string")return i;const[r,a,o,l]=i.match(Ii);return{[t]:parseFloat(r),[e]:parseFloat(a),[n]:parseFloat(o),alpha:l!==void 0?parseFloat(l):1}},Fh=t=>_t(0,255,t),os={...Ce,transform:t=>Math.round(Fh(t))},qt={test:Mi("rgb","red"),parse:il("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:i=1})=>"rgba("+os.transform(t)+", "+os.transform(e)+", "+os.transform(n)+", "+Ee(qe.transform(i))+")"};function Hh(t){let e="",n="",i="",r="";return t.length>5?(e=t.substring(1,3),n=t.substring(3,5),i=t.substring(5,7),r=t.substring(7,9)):(e=t.substring(1,2),n=t.substring(2,3),i=t.substring(3,4),r=t.substring(4,5),e+=e,n+=n,i+=i,r+=r),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(i,16),alpha:r?parseInt(r,16)/255:1}}const Ns={test:Mi("#"),parse:Hh,transform:qt.transform},sn=t=>({test:e=>typeof e=="string"&&e.endsWith(t)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${t}`}),Rt=sn("deg"),Mt=sn("%"),z=sn("px"),Uh=sn("vh"),Wh=sn("vw"),vr={...Mt,parse:t=>Mt.parse(t)/100,transform:t=>Mt.transform(t*100)},re={test:Mi("hsl","hue"),parse:il("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:i=1})=>"hsla("+Math.round(t)+", "+Mt.transform(Ee(e))+", "+Mt.transform(Ee(n))+", "+Ee(qe.transform(i))+")"},it={test:t=>qt.test(t)||Ns.test(t)||re.test(t),parse:t=>qt.test(t)?qt.parse(t):re.test(t)?re.parse(t):Ns.parse(t),transform:t=>typeof t=="string"?t:t.hasOwnProperty("red")?qt.transform(t):re.transform(t),getAnimatableNone:t=>{const e=it.parse(t);return e.alpha=0,it.transform(e)}},qh=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function Gh(t){return isNaN(t)&&typeof t=="string"&&(t.match(Ii)?.length||0)+(t.match(qh)?.length||0)>0}const rl="number",al="color",Zh="var",Kh="var(",jr="${}",Yh=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Ge(t){const e=t.toString(),n=[],i={color:[],number:[],var:[]},r=[];let a=0;const l=e.replace(Yh,c=>(it.test(c)?(i.color.push(a),r.push(al),n.push(it.parse(c))):c.startsWith(Kh)?(i.var.push(a),r.push(Zh),n.push(c)):(i.number.push(a),r.push(rl),n.push(parseFloat(c))),++a,jr)).split(jr);return{values:n,split:l,indexes:i,types:r}}function ol(t){return Ge(t).values}function ll(t){const{split:e,types:n}=Ge(t),i=e.length;return r=>{let a="";for(let o=0;o<i;o++)if(a+=e[o],r[o]!==void 0){const l=n[o];
12l===rl?a+=Ee(r[o]):l===al?a+=it.transform(r[o]):a+=r[o]}return a}}const Xh=t=>typeof t=="number"?0:it.test(t)?it.getAnimatableNone(t):t;function Jh(t){const e=ol(t);return ll(t)(e.map(Xh))}const $t={test:Gh,parse:ol,createTransformer:ll,getAnimatableNone:Jh};function ls(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+(e-t)*6*n:n<1/2?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function Qh({hue:t,saturation:e,lightness:n,alpha:i}){t/=360,e/=100,n/=100;let r=0,a=0,o=0;if(!e)r=a=o=n;else{const l=n<.5?n*(1+e):n+e-n*e,c=2*n-l;r=ls(c,l,t+1/3),a=ls(c,l,t),o=ls(c,l,t-1/3)}return{red:Math.round(r*255),green:Math.round(a*255),blue:Math.round(o*255),alpha:i}}function Pn(t,e){return n=>n>0?e:t}const Q=(t,e,n)=>t+(e-t)*n,cs=(t,e,n)=>{const i=t*t,r=n*(e*e-i)+i;return r<0?0:Math.sqrt(r)},tw=[Ns,qt,re],ew=t=>tw.find(e=>e.test(t));function Cr(t){const e=ew(t);if(!e)return!1;let n=e.parse(t);return e===re&&(n=Qh(n)),n}const Tr=(t,e)=>{const n=Cr(t),i=Cr(e);if(!n||!i)return Pn(t,e);const r={...n};return a=>(r.red=cs(n.red,i.red,a),r.green=cs(n.green,i.green,a),r.blue=cs(n.blue,i.blue,a),r.alpha=Q(n.alpha,i.alpha,a),qt.transform(r))},Ls=new Set(["none","hidden"]);function nw(t,e){return Ls.has(t)?n=>n<=0?t:e:n=>n>=1?e:t}function sw(t,e){return n=>Q(t,e,n)}function Ei(t){return typeof t=="number"?sw:typeof t=="string"?Pi(t)?Pn:it.test(t)?Tr:aw:Array.isArray(t)?cl:typeof t=="object"?it.test(t)?Tr:iw:Pn}function cl(t,e){const n=[...t],i=n.length,r=t.map((a,o)=>Ei(a)(a,e[o]));return a=>{for(let o=0;o<i;o++)n[o]=r[o](a);return n}}function iw(t,e){const n={...t,...e},i={};for(const r in n)t[r]!==void 0&&e[r]!==void 0&&(i[r]=Ei(t[r])(t[r],e[r]));return r=>{for(const a in i)n[a]=i[a](r);return n}}function rw(t,e){const n=[],i={color:0,var:0,number:0};for(let r=0;r<e.values.length;r++){const a=e.types[r],o=t.indexes[a][i[a]],l=t.values[o]??0;n[r]=l,i[a]++}return n}const aw=(t,e)=>{const n=$t.createTransformer(e),i=Ge(t),r=Ge(e);return i.indexes.var.length===r.indexes.var.length&&i.indexes.color.length===r.indexes.color.length&&i.indexes.number.length>=r.indexes.number.length?Ls.has(t)&&!r.values.length||Ls.has(e)&&!i.values.length?nw(t,e):en(cl(rw(i,r),r.values),n):Pn(t,e)};function dl(t,e,n){return typeof t=="number"&&typeof e=="number"&&typeof n=="number"?Q(t,e,n):Ei(t)(t,e)}const ow=t=>{const e=({timestamp:n})=>t(n);return{start:(n=!0)=>X.update(e,n),stop:()=>Bt(e),now:()=>lt.isProcessing?lt.timestamp:ft.now()}},ul=(t,e,n=10)=>{let i="";const r=Math.max(Math.round(e/n),2);for(let a=0;a<r;a++)i+=Math.round(t(a/(r-1))*1e4)/1e4+", ";return`linear(${i.substring(0,i.length-2)})`},In=2e4;function _i(t){let e=0;const n=50;let i=t.next(e);for(;!i.done&&e<In;)e+=n,i=t.next(e);return e>=In?1/0:e}function lw(t,e=100,n){const i=n({...t,keyframes:[0,e]}),r=Math.min(_i(i),In);return{type:"keyframes",ease:a=>i.next(r*a).value/e,duration:kt(r)}}const cw=5;function ml(t,e,n){const i=Math.max(e-cw,0);return Wo(n-t(i),e-i)}const tt={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},Sr=.001;function dw({duration:t=tt.duration,bounce:e=tt.bounce,velocity:n=tt.velocity,mass:i=tt.mass}){let r,a,o=1-e;o=_t(tt.minDamping,tt.maxDamping,o),t=_t(tt.minDuration,tt.maxDuration,kt(t)),o<1?(r=d=>{const m=d*o,u=m*t,h=m-n,w=As(d,o),g=Math.exp(-u);return Sr-h/w*g},a=d=>{const u=d*o*t,h=u*n+n,w=Math.pow(o,2)*Math.pow(d,2)*t,g=Math.exp(-u),p=As(Math.pow(d,2),o);return(-r(d)+Sr>0?-1:1)*((h-w)*g)/p}):(r=d=>{const m=Math.exp(-d*t),u=(d-n)*t+1;return-.001+m*u},a=d=>{const m=Math.exp(-d*t),u=(n-d)*(t*t);return m*u});const l=5/t,c=mw(r,a,l);if(t=It(t),isNaN(c))return{stiffness:tt.stiffness,damping:tt.damping,duration:t};{const d=Math.pow(c,2)*i;return{stiffness:d,damping:o*2*Math.sqrt(i*d),duration:t}}}const uw=12;function mw(t,e,n){let i=n;for(let r=1;r<uw;r++)i=i-t(i)/e(i);return i}function As(t,e){return t*Math.sqrt(1-e*e)}const hw=["duration","bounce"],ww=["stiffness","damping","mass"];function kr(t,e){return e.some(n=>t[n]!==void 0)}function pw(t){let e={velocity:tt.velocity,stiffness:tt.stiffness,damping:tt.damping,mass:tt.mass,isResolvedFromDuration:!1,...t};if(!kr(t,ww)&&kr(t,hw))if(t.visualDuration){const n=t.visualDuration,i=2*Math.PI/(n*1.2),r=i*i,a=2*_t(.05,1,1-(t.bounce||0))*Math.sqrt(r);e={...e,mass:tt.mass,stiffness:r,damping:a}}else{const n=dw(t);e={...e,...n,mass:tt.mass},e.isResolvedFromDuration=!0}return e}function Mn(t=tt.visualDuration,e=tt.bounce){const n=typeof t!="object"?{visualDuration:t,keyframes:[0,1],bounce:e}:t;let{restSpeed:i,restDelta:r}=n;const a=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],l={done:!1,value:a},{stiffness:c,damping:d,mass:m,duration:u,velocity:h,isResolvedFromDuration:w}=pw({...n,velocity:-kt(n.velocity||0)}),g=h||0,p=d/(2*Math.sqrt(c*m)),x=o-a,y=kt(Math.sqrt(c/m)),v=Math.abs(x)<5;i||(i=v?tt.restSpeed.granular:tt.restSpeed.default),r||(r=v?tt.restDelta.granular:tt.restDelta.default);let S;if(p<1){const k=As(y,p);S=I=>{const V=Math.exp(-p*y*I);return o-V*((g+p*y*x)/k*Math.sin(k*I)+x*Math.cos(k*I))}}else if(p===1)S=k=>o-Math.exp(-y*k)*(x+(g+y*x)*k);
12else{const k=y*Math.sqrt(p*p-1);S=I=>{const V=Math.exp(-p*y*I),A=Math.min(k*I,300);return o-V*((g+p*y*x)*Math.sinh(A)+k*x*Math.cosh(A))/k}}const j={calculatedDuration:w&&u||null,next:k=>{const I=S(k);if(w)l.done=k>=u;else{let V=k===0?g:0;p<1&&(V=k===0?It(g):ml(S,k,I));const A=Math.abs(V)<=i,E=Math.abs(o-I)<=r;l.done=A&&E}return l.value=l.done?o:I,l},toString:()=>{const k=Math.min(_i(j),In),I=ul(V=>j.next(k*V).value,k,30);return k+"ms "+I},toTransition:()=>{}};return j}Mn.applyToOptions=t=>{const e=lw(t,100,Mn);return t.ease=e.ease,t.duration=It(e.duration),t.type="keyframes",t};function Ps({keyframes:t,velocity:e=0,power:n=.8,timeConstant:i=325,bounceDamping:r=10,bounceStiffness:a=500,modifyTarget:o,min:l,max:c,restDelta:d=.5,restSpeed:m}){const u=t[0],h={done:!1,value:u},w=A=>l!==void 0&&A<l||c!==void 0&&A>c,g=A=>l===void 0?c:c===void 0||Math.abs(l-A)<Math.abs(c-A)?l:c;let p=n*e;const x=u+p,y=o===void 0?x:o(x);y!==x&&(p=y-u);const v=A=>-p*Math.exp(-A/i),S=A=>y+v(A),j=A=>{const E=v(A),B=S(A);h.done=Math.abs(E)<=d,h.value=h.done?y:B};let k,I;const V=A=>{w(h.value)&&(k=A,I=Mn({keyframes:[h.value,g(h.value)],velocity:ml(S,A,h.value),damping:r,stiffness:a,restDelta:d,restSpeed:m}))};return V(0),{calculatedDuration:null,next:A=>{let E=!1;return!I&&k===void 0&&(E=!0,j(A),V(A)),k!==void 0&&A>=k?I.next(A-k):(!E&&j(A),h)}}}function fw(t,e,n){const i=[],r=n||Vt.mix||dl,a=t.length-1;for(let o=0;o<a;o++){let l=r(t[o],t[o+1]);if(e){const c=Array.isArray(e)?e[o]||Nt:e;l=en(c,l)}i.push(l)}return i}function gw(t,e,{clamp:n=!0,ease:i,mixer:r}={}){const a=t.length;if(Ti(a===e.length),a===1)return()=>e[0];if(a===2&&e[0]===e[1])return()=>e[1];const o=t[0]===t[1];t[0]>t[a-1]&&(t=[...t].reverse(),e=[...e].reverse());const l=fw(e,i,r),c=l.length,d=m=>{if(o&&m<t[0])return e[0];let u=0;if(c>1)for(;u<t.length-2&&!(m<t[u+1]);u++);const h=We(t[u],t[u+1],m);return l[u](h)};return n?m=>d(_t(t[0],t[a-1],m)):d}function xw(t,e){const n=t[t.length-1];for(let i=1;i<=e;i++){const r=We(0,e,i);t.push(Q(n,1,r))}}function bw(t){const e=[0];return xw(e,t.length-1),e}function yw(t,e){return t.map(n=>n*e)}function vw(t,e){return t.map(()=>e||tl).splice(0,t.length-1)}function _e({duration:t=300,keyframes:e,times:n,ease:i="easeInOut"}){const r=Mh(i)?i.map(yr):yr(i),a={done:!1,value:e[0]},o=yw(n&&n.length===e.length?n:bw(e),t),l=gw(o,e,{ease:Array.isArray(r)?r:vw(e,r)});return{calculatedDuration:t,next:c=>(a.value=l(c),a.done=c>=t,a)}}const jw=t=>t!==null;function Vi(t,{repeat:e,repeatType:n="loop"},i,r=1){const a=t.filter(jw),l=r<0||e&&n!=="loop"&&e%2===1?0:a.length-1;return!l||i===void 0?a[l]:i}const Cw={decay:Ps,inertia:Ps,tween:_e,keyframes:_e,spring:Mn};function hl(t){typeof t.type=="string"&&(t.type=Cw[t.type])}class Di{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,n){return this.finished.then(e,n)}}const Tw=t=>t/100;class Ri extends Di{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:n}=this.options;n&&n.updatedAt!==ft.now()&&this.tick(ft.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=e,this.initAnimation(),this.play(),e.autoplay===!1&&this.pause()}initAnimation(){const{options:e}=this;hl(e);const{type:n=_e,repeat:i=0,repeatDelay:r=0,repeatType:a,velocity:o=0}=e;let{keyframes:l}=e;const c=n||_e;c!==_e&&typeof l[0]!="number"&&(this.mixKeyframes=en(Tw,dl(l[0],l[1])),l=[0,100]);const d=c({...e,keyframes:l});a==="mirror"&&(this.mirroredGenerator=c({...e,keyframes:[...l].reverse(),velocity:-o})),d.calculatedDuration===null&&(d.calculatedDuration=_i(d));const{calculatedDuration:m}=d;this.calculatedDuration=m,this.resolvedDuration=m+r,this.totalDuration=this.resolvedDuration*(i+1)-r,this.generator=d}updateTime(e){const n=Math.round(e-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(e,n=!1){const{generator:i,totalDuration:r,mixKeyframes:a,mirroredGenerator:o,resolvedDuration:l,calculatedDuration:c}=this;if(this.startTime===null)return i.next(0);const{delay:d=0,keyframes:m,repeat:u,repeatType:h,repeatDelay:w,type:g,onUpdate:p,finalKeyframe:x}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-r/this.speed,this.startTime)),n?this.currentTime=e:this.updateTime(e);const y=this.currentTime-d*(this.playbackSpeed>=0?1:-1),v=this.playbackSpeed>=0?y<0:y>r;this.currentTime=Math.max(y,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=r);let S=this.currentTime,j=i;if(u){const A=Math.min(this.currentTime,r)/l;let E=Math.floor(A),B=A%1;!B&&A>=1&&(B=1),B===1&&E--,E=Math.min(E,u+1),!!(E%2)&&(h==="reverse"?(B=1-B,w&&(B-=w/l)):h==="mirror"&&(j=o)),S=_t(0,1,B)*l}const k=v?{done:!1,value:m[0]}:j.next(S);a&&(k.value=a(k.value));let{done:I}=k;!v&&c!==null&&(I=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);const V=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&I);return V&&g!==Ps&&(k.value=Vi(m,this.options,x,this.speed)),p&&p(k.value),V&&this.finish(),
12k}then(e,n){return this.finished.then(e,n)}get duration(){return kt(this.calculatedDuration)}get iterationDuration(){const{delay:e=0}=this.options||{};return this.duration+kt(e)}get time(){return kt(this.currentTime)}set time(e){e=It(e),this.currentTime=e,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(e){this.updateTime(ft.now());const n=this.playbackSpeed!==e;this.playbackSpeed=e,n&&(this.time=kt(this.currentTime))}play(){if(this.isStopped)return;const{driver:e=ow,startTime:n}=this.options;this.driver||(this.driver=e(r=>this.tick(r))),this.options.onPlay?.();const i=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=i):this.holdTime!==null?this.startTime=i-this.holdTime:this.startTime||(this.startTime=n??i),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(ft.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),e.observe(this)}}function Sw(t){for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}const Gt=t=>t*180/Math.PI,Is=t=>{const e=Gt(Math.atan2(t[1],t[0]));return Ms(e)},kw={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:Is,rotateZ:Is,skewX:t=>Gt(Math.atan(t[1])),skewY:t=>Gt(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},Ms=t=>(t=t%360,t<0&&(t+=360),t),Nr=Is,Lr=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),Ar=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),Nw={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Lr,scaleY:Ar,scale:t=>(Lr(t)+Ar(t))/2,rotateX:t=>Ms(Gt(Math.atan2(t[6],t[5]))),rotateY:t=>Ms(Gt(Math.atan2(-t[2],t[0]))),rotateZ:Nr,rotate:Nr,skewX:t=>Gt(Math.atan(t[4])),skewY:t=>Gt(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function Es(t){return t.includes("scale")?1:0}function _s(t,e){if(!t||t==="none")return Es(e);const n=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let i,r;if(n)i=Nw,r=n;else{const l=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=kw,r=l}if(!r)return Es(e);const a=i[e],o=r[1].split(",").map(Aw);return typeof a=="function"?a(o):o[a]}const Lw=(t,e)=>{const{transform:n="none"}=getComputedStyle(t);return _s(n,e)};function Aw(t){return parseFloat(t.trim())}const Te=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Se=new Set(Te),Pr=t=>t===Ce||t===z,Pw=new Set(["x","y","z"]),Iw=Te.filter(t=>!Pw.has(t));function Mw(t){const e=[];return Iw.forEach(n=>{const i=t.getValue(n);i!==void 0&&(e.push([n,i.get()]),i.set(n.startsWith("scale")?1:0))}),e}const Kt={width:({x:t},{paddingLeft:e="0",paddingRight:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),height:({y:t},{paddingTop:e="0",paddingBottom:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:(t,{transform:e})=>_s(e,"x"),y:(t,{transform:e})=>_s(e,"y")};Kt.translateX=Kt.x;Kt.translateY=Kt.y;const Yt=new Set;let Vs=!1,Ds=!1,Rs=!1;function wl(){if(Ds){const t=Array.from(Yt).filter(i=>i.needsMeasurement),e=new Set(t.map(i=>i.element)),n=new Map;e.forEach(i=>{const r=Mw(i);r.length&&(n.set(i,r),i.render())}),t.forEach(i=>
12i.measureInitialState()),e.forEach(i=>{i.render();const r=n.get(i);r&&r.forEach(([a,o])=>{i.getValue(a)?.set(o)})}),t.forEach(i=>i.measureEndState()),t.forEach(i=>{i.suspendedScrollY!==void 0&&window.scrollTo(0,i.suspendedScrollY)})}Ds=!1,Vs=!1,Yt.forEach(t=>t.complete(Rs)),Yt.clear()}function pl(){Yt.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(Ds=!0)})}function Ew(){Rs=!0,pl(),wl(),Rs=!1}class Bi{constructor(e,n,i,r,a,o=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=n,this.name=i,this.motionValue=r,this.element=a,this.isAsync=o}scheduleResolve(){this.state="scheduled",this.isAsync?(Yt.add(this),Vs||(Vs=!0,X.read(pl),X.resolveKeyframes(wl))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:n,element:i,motionValue:r}=this;if(e[0]===null){const a=r?.get(),o=e[e.length-1];if(a!==void 0)e[0]=a;else if(i&&n){const l=i.readValue(n,o);l!=null&&(e[0]=l)}e[0]===void 0&&(e[0]=o),r&&a===void 0&&r.set(e[0])}Sw(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),Yt.delete(this)}cancel(){this.state==="scheduled"&&(Yt.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const _w=t=>t.startsWith("--");function Vw(t,e,n){_w(e)?t.style.setProperty(e,n):t.style[e]=n}const Dw=Si(()=>window.ScrollTimeline!==void 0),Rw={};function Bw(t,e){const n=Si(t);return()=>Rw[e]??n()}const fl=Bw(()=>{try{document.createElement("div").animate({opacity:0}
12,{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Ie=([t,e,n,i])=>`cubic-bezier(${t}, ${e}, ${n}, ${i})`,Ir={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Ie([0,.65,.55,1]),circOut:Ie([.55,0,1,.45]),backIn:Ie([.31,.01,.66,-.59]),backOut:Ie([.33,1.53,.69,.99])};function gl(t,e){if(t)return typeof t=="function"?fl()?ul(t,e):"ease-out":el(t)?Ie(t):Array.isArray(t)?t.map(n=>gl(n,e)||Ir.easeOut):Ir[t]}function $w(t,e,n,{delay:i=0,duration:r=300,repeat:a=0,repeatType:o="loop",ease:l="easeOut",times:c}={},d=void 0){const m={[e]:n};c&&(m.offset=c);const u=gl(l,r);Array.isArray(u)&&(m.easing=u);const h={delay:i,duration:r,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:a+1,direction:o==="reverse"?"alternate":"normal"};return d&&(h.pseudoElement=d),t.animate(m,h)}function xl(t){return typeof t=="function"&&"applyToOptions"in t}function Ow({type:t,...e}){return xl(t)&&fl()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}class zw extends Di{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,!e)return;const{element:n,name:i,keyframes:r,pseudoElement:a,allowFlatten:o=!1,finalKeyframe:l,onComplete:c}=e;this.isPseudoElement=!!a,this.allowFlatten=o,this.options=e,Ti(typeof e.type!="string");const d=Ow(e);this.animation=$w(n,i,r,d,a),d.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!a){const m=Vi(r,this.options,l,this.speed);this.updateMotionValue?this.updateMotionValue(m):Vw(n,i,m),this.animation.cancel()}c?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:e}=this;e==="idle"||e==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){const e=this.animation.effect?.getComputedTiming?.().duration||0;return kt(Number(e))}get iterationDuration(){const{delay:e=0}=this.options||{};return this.duration+kt(e)}get time(){return kt(Number(this.animation.currentTime)||0)}set time(e){this.finishedTime=null,this.animation.currentTime=It(e)}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(e){this.animation.startTime=e}attachTimeline({timeline:e,observe:n}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,e&&Dw()?(this.animation.timeline=e,Nt):n(this)}}const bl={anticipate:Xo,backInOut:Yo,circInOut:Qo};function Fw(t){return t in bl}function Hw(t){typeof t.ease=="string"&&Fw(t.ease)&&(t.ease=bl[t.ease])}const Mr=10;class Uw extends zw{constructor(e){Hw(e),hl(e),super(e),e.startTime&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){const{motionValue:n,onUpdate:i,onComplete:r,element:a,...o}=this.options;if(!n)return;if(e!==void 0){n.set(e);return}const l=new Ri({...o,autoplay:!1}),c=It(this.finishedTime??this.time);n.setWithVelocity(l.sample(c-Mr).value,l.sample(c).value,Mr),l.stop()}}const Er=(t,e)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&($t.test(t)||t==="0")&&!t.startsWith("url("));function Ww(t){const e=t[0];if(t.length===1)return!0;for(let n=0;n<t.length;n++)if(t[n]!==e)return!0}function qw(t,e,n,i){const r=t[0];if(r===null)return!1;if(e==="display"||e==="visibility")return!0;const a=t[t.length-1],o=Er(r,e),l=Er(a,e);return!o||!l?!1:Ww(t)||(n==="spring"||xl(n))&&i}function Bs(t){t.duration=0,t.type="keyframes"}const Gw=new Set(["opacity","clipPath","filter","transform"]),Zw=Si(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function Kw(t){const{motionValue:e,name:n,repeatDelay:i,repeatType:r,damping:a,type:o}=t;if(!(e?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:c,transformTemplate:d}=e.owner.getProps();return Zw()&&n&&Gw.has(n)&&(n!=="transform"||!d)&&!c&&!i&&r!=="mirror"&&a!==0&&o!=="inertia"}const Yw=40;class Xw extends Di{constructor({autoplay:e=!0,delay:n=0,type:i="keyframes",repeat:r=0,repeatDelay:a=0,repeatType:
12o="loop",keyframes:l,name:c,motionValue:d,element:m,...u}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=ft.now();const h={autoplay:e,delay:n,type:i,repeat:r,repeatDelay:a,repeatType:o,name:c,motionValue:d,element:m,...u},w=m?.KeyframeResolver||Bi;this.keyframeResolver=new w(l,(g,p,x)=>this.onKeyframesResolved(g,p,h,!x),c,d,m),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,n,i,r){this.keyframeResolver=void 0;const{name:a,type:o,velocity:l,delay:c,isHandoff:d,onUpdate:m}=i;this.resolvedAt=ft.now(),qw(e,a,o,l)||((Vt.instantAnimations||!c)&&m?.(Vi(e,i,n)),e[0]=e[e.length-1],Bs(i),i.repeat=0);const h={startTime:r?this.resolvedAt?this.resolvedAt-this.createdAt>Yw?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...i,keyframes:e},w=!d&&Kw(h)?new Uw({...h,element:h.motionValue.owner.current}):new Ri(h);w.finished.then(()=>this.notifyFinished()).catch(Nt),this.pendingTimeline&&(this.stopTimeline=w.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=w}get finished(){return this._animation?this.animation.finished:this._finished}then(e,n){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),Ew()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}const Jw=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Qw(t){const e=Jw.exec(t);if(!e)return[,];const[,n,i,r]=e;return[`--${n??i}`,r]}function yl(t,e,n=1){const[i,r]=Qw(t);if(!i)return;const a=window.getComputedStyle(e).getPropertyValue(i);if(a){const o=a.trim();return Fo(o)?parseFloat(o):o}return Pi(r)?yl(r,e,n+1):r}function $i(t,e){return t?.[e]??t?.default??t}const vl=new Set(["width","height","top","left","right","bottom",...Te]),t2={test:t=>t==="auto",parse:t=>t},jl=t=>e=>e.test(t),Cl=[Ce,z,Mt,Rt,Wh,Uh,t2],_r=t=>Cl.find(jl(t));function e2(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||Uo(t):!0}const n2=new Set(["brightness","contrast","saturate","opacity"]);function s2(t){const[e,n]=t.slice(0,-1).split("(");if(e==="drop-shadow")return t;const[i]=n.match(Ii)||[];if(!i)return t;const r=n.replace(i,"");let a=n2.has(e)?1:0;return i!==n&&(a*=100),e+"("+a+r+")"}const i2=/\b([a-z-]*)\(.*?\)/gu,$s={...$t,getAnimatableNone:t=>{const e=t.match(i2);return e?e.map(s2).join(" "):t}},Vr={...Ce,transform:Math.round},r2={rotate:Rt,rotateX:Rt,rotateY:Rt,rotateZ:Rt,scale:hn,scaleX:hn,scaleY:hn,scaleZ:hn,skew:Rt,skewX:Rt,skewY:Rt,distance:z,translateX:z,translateY:z,translateZ:z,x:z,y:z,z,perspective:z,transformPerspective:z,opacity:qe,originX:vr,originY:vr,originZ:z},Oi={borderWidth:z,borderTopWidth:z,borderRightWidth:z,borderBottomWidth:z,borderLeftWidth:z,borderRadius:z,radius:z,borderTopLeftRadius:z,borderTopRightRadius:z,borderBottomRightRadius:z,borderBottomLeftRadius:z,width:z,maxWidth:z,height:z,maxHeight:z,top:z,right:z,bottom:z,left:z,padding:z,paddingTop:z,paddingRight:z,paddingBottom:z,paddingLeft:z,margin:z,marginTop:z,marginRight:z,marginBottom:z,marginLeft:z,backgroundPositionX:z,backgroundPositionY:z,...r2,zIndex:Vr,fillOpacity:qe,strokeOpacity:qe,numOctaves:Vr},a2={...Oi,color:it,backgroundColor:it,outlineColor:it,fill:it,stroke:it,borderColor:it,borderTopColor:it,borderRightColor:it,borderBottomColor:it,borderLeftColor:it,filter:$s,WebkitFilter:$s},Tl=t=>a2[t];function Sl(t,e){let n=Tl(t);return n!==$s&&(n=$t),n.getAnimatableNone?n.getAnimatableNone(e):void 0}
12const o2=new Set(["auto","none","0"]);function l2(t,e,n){let i=0,r;for(;i<t.length&&!r;){const a=t[i];typeof a=="string"&&!o2.has(a)&&Ge(a).values.length&&(r=t[i]),i++}if(r&&n)for(const a of e)t[a]=Sl(n,r)}class c2 extends Bi{constructor(e,n,i,r,a){super(e,n,i,r,a,!0)}readKeyframes(){const{unresolvedKeyframes:e,element:n,name:i}=this;if(!n||!n.current)return;super.readKeyframes();for(let c=0;c<e.length;c++){let d=e[c];if(typeof d=="string"&&(d=d.trim(),Pi(d))){const m=yl(d,n.current);m!==void 0&&(e[c]=m),c===e.length-1&&(this.finalKeyframe=d)}}if(this.resolveNoneKeyframes(),!vl.has(i)||e.length!==2)return;const[r,a]=e,o=_r(r),l=_r(a);if(o!==l)if(Pr(o)&&Pr(l))for(let c=0;c<e.length;c++){const d=e[c];typeof d=="string"&&(e[c]=parseFloat(d))}else Kt[i]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:e,name:n}=this,i=[];for(let r=0;r<e.length;r++)(e[r]===null||e2(e[r]))&&i.push(r);i.length&&l2(e,i,n)}measureInitialState(){const{element:e,unresolvedKeyframes:n,name:i}=this;if(!e||!e.current)return;i==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Kt[i](e.measureViewportBox(),window.getComputedStyle(e.current)),n[0]=this.measuredOrigin;const r=n[n.length-1];r!==void 0&&e.getValue(i,r).jump(r,!1)}measureEndState(){const{element:e,name:n,unresolvedKeyframes:i}=this;if(!e||!e.current)return;const r=e.getValue(n);r&&r.jump(this.measuredOrigin,!1);const a=i.length-1,o=i[a];i[a]=Kt[n](e.measureViewportBox(),window.getComputedStyle(e.current)),o!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=o),this.removedTransforms?.length&&this.removedTransforms.forEac
12h(([l,c])=>{e.getValue(l).set(c)}),this.resolveNoneKeyframes()}}function d2(t,e,n){if(t instanceof EventTarget)return[t];if(typeof t=="string"){let i=document;const r=n?.[t]??i.querySelectorAll(t);return r?Array.from(r):[]}return Array.from(t)}const kl=(t,e)=>e&&typeof t=="number"?e.transform(t):t;function Nl(t){return Ho(t)&&"offsetHeight"in t}const Dr=30,u2=t=>!isNaN(parseFloat(t));class m2{constructor(e,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=i=>{const r=ft.now();if(this.updatedAt!==r&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(i),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const a of this.dependents)a.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=n.owner}setCurrent(e){this.current=e,this.updatedAt=ft.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=u2(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,n){this.events[e]||(this.events[e]=new ki);const i=this.events[e].add(n);return e==="change"?()=>{i(),X.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,n){this.passiveEffect=e,this.stopPassiveEffect=n}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,n,i){this.set(n),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-i}jump(e,n=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const e=ft.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>Dr)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,Dr);return Wo(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(e){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=e(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function fe(t,e){return new m2(t,e)}const{schedule:zi}=nl(queueMicrotask,!1),At={x:!1,y:!1};function Ll(){return At.x||At.y}function h2(t){return t==="x"||t==="y"?At[t]?null:(At[t]=!0,()=>{At[t]=!1}):At.x||At.y?null:(At.x=At.y=!0,()=>{At.x=At.y=!1})}function Al(t,e){const n=d2(t),i=new AbortController,r={passive:!0,...e,signal:i.signal};return[n,r,()=>i.abort()]}function Rr(t){return!(t.pointerType==="touch"||Ll())}function w2(t,e,n={}){const[i,r,a]=Al(t,n),o=l=>{if(!Rr(l))return;const{target:c}=l,d=e(c,l);if(typeof d!="function"||!c)return;const m=u=>{Rr(u)&&(d(u),c.removeEventListener("pointerleave",m))};c.addEventListener("pointerleave",m,r)};return i.forEach(l=>{l.addEventListener("pointerenter",o,r)}),a}const Pl=(t,e)=>e?t===e?!0:Pl(t,e.parentElement):!1,Fi=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1,p2=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function f2(t){return p2.has(t.tagName)||t.tabIndex!==-1}const yn=new WeakSet;function Br(t){return e=>{e.key==="Enter"&&t(e)}}function ds(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}const g2=(t,e)=>{const n=t.currentTarget;if(!n)return;const i=Br(()=>{if(yn.has(n))return;ds(n,"down");const r=Br(()=>{ds(n,"up")}),a=()=>ds(n,"cancel");n.addEventListener("keyup",r,e),n.addEventListener("blur",a,e)});n.addEventListener("keydown",i,e),n.addEventListener("blur",()=>n.removeEventListener("keydown",i),e)};function $r(t){return Fi(t)&&!Ll()}function x2(t,e,n={}){const[i,r,a]=Al(t,n),o=l=>{const c=l.currentTarget;if(!$r(l))return;yn.add(c);const d=e(c,l),m=(w,g)=>{window.removeEventListener("pointerup",u),window.removeEventListener("pointercancel",h),yn.has(c)&&yn.delete(c),$r(w)&&typeof d=="function"&&d(w,{success:g})},u=w=>{m(w,c===window||c===document||n.useGlobalTarget||Pl(c,w.target))},h=w=>{m(w,!1)};window.addEventListener("pointerup",u,r),window.addEventListener("pointercancel",h,r)};
12return i.forEach(l=>{(n.useGlobalTarget?window:l).addEventListener("pointerdown",o,r),Nl(l)&&(l.addEventListener("focus",d=>g2(d,r)),!f2(l)&&!l.hasAttribute("tabindex")&&(l.tabIndex=0))}),a}function Il(t){return Ho(t)&&"ownerSVGElement"in t}function b2(t){return Il(t)&&t.tagName==="svg"}const ct=t=>!!(t&&t.getVelocity),y2=[...Cl,it,$t],v2=t=>y2.find(jl(t)),Hi=f.createContext({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});function Or(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function j2(...t){return e=>{let n=!1;const i=t.map(r=>{const a=Or(r,e);return!n&&typeof a=="function"&&(n=!0),a});if(n)return()=>{for(let r=0;r<i.length;r++){const a=i[r];typeof a=="function"?a():Or(t[r],null)}}}}function C2(...t){return f.useCallback(j2(...t),t)}class T2 extends f.Component{getSnapshotBeforeUpdate(e){const n=this.props.childRef.current;if(n&&e.isPresent&&!this.props.isPresent){const i=n.offsetParent,r=Nl(i)&&i.offsetWidth||0,a=this.props.sizeRef.current;a.height=n.offsetHeight||0,a.width=n.offsetWidth||0,a.top=n.offsetTop,a.left=n.offsetLeft,a.right=r-a.width-a.left}return null}componentDidUpdate(){}render(){return this.props.children}}function S2({children:t,isPresent:e,anchorX:n,root:i}){const r=f.useId(),a=f.useRef(null),o=f.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:l}=f.useContext(Hi),c=C2(a,t?.ref);return f.useInsertionEffect(()=>{const{width:d,height:m,top:u,left:h,right:w}=o.current;if(e||!a.current||!d||!m)return;const g=n==="left"?`left: ${h}`:`right: ${w}`;a.current.dataset.motionPopId=r;const p=document.createElement("style");l&&(p.nonce=l);const x=i??document.head;return x.appendChild(p),p.sheet&&p.sheet.insertRule(`
13          [data-motion-pop-id="${r}"] {
14            position: absolute !important;
15            width: ${d}px !important;
16            height: ${m}px !important;
17            ${g}px !important;
18            top: ${u}px !important;
19          }
20        `),()=>{x.contains(p)&&x.removeChild(p)}},[e]),s.jsx(T2,{isPresent:e,childRef:a,sizeRef:o,children:f.cloneElement(t,{ref:c})})}const k2=({children:t,initial:e,isPresent:n,onExitComplete:i,custom:r,presenceAffectsLayout:a,mode:o,anchorX:l,root:c})=>{const d=yi(N2),m=f.useId();let u=!0,h=f.useMemo(()=>(u=!1,{id:m,initial:e,isPresent:n,custom:r,onExitComplete:w=>{d.set(w,!0);for(const g of d.values())if(!g)return;i&&i()},register:w=>(d.set(w,!1),()=>d.delete(w))}),[n,d,i]);return a&&u&&(h={...h}),f.useMemo(()=>{d.forEach((w,g)=>d.set(g,!1))},[n]),f.useEffect(()=>{!n&&!d.size&&i&&i()},[n]),o==="popLayout"&&(t=s.jsx(S2,{isPresent:n,anchorX:l,root:c,children:t})),s.jsx(Xn.Provider,{value:h,children:t})};function N2(){return new Map}function Ml(t=!0){const e=f.useContext(Xn);if(e===null)return[!0,null];const{isPresent:n,onExitComplete:i,register:r}=e,a=f.useId();f.useEffect(()=>{if(t)return r(a)},[t]);const o=f.useCallback(()=>t&&i&&i(a),[a,i,t]);return!n&&i?[!1,o]:[!0]}const wn=t=>t.key||"";function zr(t){const e=[];return f.Children.forEach(t,n=>{f.isValidElement(n)&&e.push(n)}),e}const L2=({children:t,custom:e,initial:n=!0,onExitComplete:i,presenceAffectsLayout:r=!0,mode:a="sync",propagate:o=!1,anchorX:l="left",root:c})=>{const[d,m]=Ml(o),u=f.useMemo(()=>zr(t),[t]),h=o&&!d?[]:u.map(wn),w=f.useRef(!0),g=f.useRef(u),p=yi(()=>new Map),[x,y]=f.useState(u),[v,S]=f.useState(u);zo(()=>{w.current=!1,g.current=u;for(let I=0;I<v.length;I++){const V=wn(v[I]);h.includes(V)?p.delete(V):p.get(V)!==!0&&p.set(V,!1)}},[v,h.length,h.join("-")]);const j=[];if(u!==x){let I=[...u];for(let V=0;V<v.length;V++){const A=v[V],E=wn(A);h.includes(E)||(I.splice(V,0,A),j.push(A))}return a==="wait"&&j.length&&(I=j),S(zr(I)),y(u),null}const{forceRender:k}=f.useContext(bi);return s.jsx(s.Fragment,{children:v.map(I=>{const V=wn(I),A=o&&!d?!1:u===v||h.includes(V),E=()=>{if(p.has(V))p.set(V,!0);else return;let B=!0;p.forEach(R=>{R||(B=!1)}),B&&(k?.(),S(g.current),o&&m?.(),i&&i())};return s.jsx(k2,{isPresent:A,initial:!w.current||n?void 0:!1,custom:e,presenceAffectsLayout:r,mode:a,root:c,onExitComplete:A?void 0:E,anchorX:l,children:I},V)})})},El=f.createContext({strict:!1}),Fr={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},ge={};for(const t in Fr)ge[t]={isEnabled:e=>Fr[t].some(n=>!!e[n])};function A2(t){for(const e in t)ge[e]={...ge[e],...t[e]}}const P2=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function En(t){return t.startsWith("while")||t.startsWith("drag")&&t!=="draggable"||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||P2.has(t)}let _l=t=>!En(t);function I2(t){typeof t=="function"&&(_l=e=>e.startsWith("on")?!En(e):t(e))}try{I2(require("@emotion/is-prop-valid").default)}catch{}function M2(t,e,n){const i={};for(const r in t)r==="values"&&typeof t.values=="object"||(_l(r)||n===!0&&En(r)||!e&&!En(r)||t.draggable&&r.startsWith("onDrag"))&&(i[r]=t[r]);return i}const Jn=f.createContext({});function Qn(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}function Ze(t){return typeof t=="string"||Array.isArray(t)}const Ui=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Wi=["initial",...
vendor: 4,866 bytes, line 20
20Ui];function ts(t){return Qn(t.animate)||Wi.some(e=>Ze(t[e]))}function Vl(t){return!!(ts(t)||t.variants)}function E2(t,e){if(ts(t)){const{initial:n,animate:i}=t;return{initial:n===!1||Ze(n)?n:void 0,animate:Ze(i)?i:void 0}}return t.inherit!==!1?e:{}}function _2(t){const{initial:e,animate:n}=E2(t,f.useContext(Jn));return f.useMemo(()=>({initial:e,animate:n}),[Hr(e),Hr(n)])}function Hr(t){return Array.isArray(t)?t.join(" "):t}const Ke={};function V2(t){for(const e in t)Ke[e]=t[e],Ai(e)&&(Ke[e].isCSSVariable=!0)}function Dl(t,{layout:e,layoutId:n}){return Se.has(t)||t.startsWith("origin")||(e||n!==void 0)&&(!!Ke[t]||t==="opacity")}const D2={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},R2=Te.length;function B2(t,e,n){let i="",r=!0;for(let a=0;a<R2;a++){const o=Te[a],l=t[o];if(l===void 0)continue;let c=!0;if(typeof l=="number"?c=l===(o.startsWith("scale")?1:0):c=parseFloat(l)===0,!c||n){const d=kl(l,Oi[o]);if(!c){r=!1;const m=D2[o]||o;i+=`${m}(${d}) `}n&&(e[o]=d)}}return i=i.trim(),n?i=n(e,r?"":i):r&&(i="none"),i}function qi(t,e,n){const{style:i,vars:r,transformOrigin:a}=t;let o=!1,l=!1;for(const c in e){const d=e[c];if(Se.has(c)){o=!0;continue}else if(Ai(c)){r[c]=d;continue}else{const m=kl(d,Oi[c]);c.startsWith("origin")?(l=!0,a[c]=m):i[c]=m}}if(e.transform||(o||n?i.transform=B2(e,t.transform,n):i.transform&&(i.transform="none")),l){const{originX:c="50%",originY:d="50%",originZ:m=0}=a;i.transformOrigin=`${c} ${d} ${m}`}}const Gi=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Rl(t,e,n){for(const i in e)!ct(e[i])&&!Dl(i,n)&&(t[i]=e[i])}function $2({transformTemplate:t},e){return f.useMemo(()=>{const n=Gi();return qi(n,e,t),Object.assign({},n.vars,n.style)},[e])}function O2(t,e){const n=t.style||{},i={};return Rl(i,n,t),Object.assign(i,$2(t,e)),i}function z2(t,e){const n={},i=O2(t,e);return t.drag&&t.dragListener!==!1&&(n.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=t.drag===!0?"none":`pan-${t.drag==="x"?"y":"x"}`),t.tabIndex===void 0&&(t.onTap||t.onTapStart||t.whileTap)&&(n.tabIndex=0),n.style=i,n}const F2={offset:"stroke-dashoffset",array:"stroke-dasharray"},H2={offset:"strokeDashoffset",array:"strokeDasharray"};function U2(t,e,n=1,i=0,r=!0){t.pathLength=1;const a=r?F2:H2;t[a.offset]=z.transform(-i);const o=z.transform(e),l=z.transform(n);t[a.array]=`${o} ${l}`}function Bl(t,{attrX:e,attrY:n,attrScale:i,pathLength:r,pathSpacing:a=1,pathOffset:o=0,...l},c,d,m){if(qi(t,l,d),c){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};const{attrs:u,style:h}=t;u.transform&&(h.transform=u.transform,delete u.transform),(h.transform||u.transformOrigin)&&(h.transformOrigin=u.transformOrigin??"50% 50%",delete u.transformOrigin),h.transform&&(h.transformBox=m?.transformBox??"fill-box",delete u.transformBox),e!==void 0&&(u.x=e),n!==void 0&&(u.y=n),i!==void 0&&(u.scale=i),r!==void 0&&U2(u,r,a,o,!1)}const $l=()=>({...Gi(),attrs:{}}),Ol=t=>typeof t=="string"&&t.toLowerCase()==="svg";function W2(t,e,n,i){const r=f.useMemo(()=>{const a=$l();return Bl(a,e,Ol(i),t.transformTemplate,t.style),{...a.attrs,style:{...a.style}}},[e]);if(t.style){const a={};Rl(a,t.style,t),r.style={...a,...r.style}}return r}const q2=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function Zi(t){return typeof t!="string"||t.includes("-")?!1:!!(q2.indexOf(t)>-1||/[A-Z]/u.test(t))}function G2(t,e,n,{latestValues:i},r,a=!1){const l=(Zi(t)?W2:z2)(e,i,r,t),c=M2(e,typeof t=="string",a),d=t!==f.Fragment?{...c,...l,ref:n}:{},{children:m}=e,u=f.useMemo(()=>ct(m)?m.get():m,[m]);return f.createElement(t,{...d,children:u})}function Ur(t){const e=[{},{}];return t?.values.forEach((n,i)=>{e[0][i]=n.get(),e[1][i]=n.getVelocity()}),e}function Ki(t,e,n,i){if(typeof e=="function"){const[r,a]=Ur(i);e=e(n!==void 0?n:t.custom,r,a)}if(typeof e=="string"&&(e=t.variants&&t.variants[e]),typeof e=="function"){const[r,a]=Ur(i);e=e(n!==void 0?n:t.custom,r,a)}return e}function vn(t){return ct(t)?t.get():t}function Z2({scrapeMotionValuesFromProps:t,createRenderState:e},n,i,r){return{latestValues:K2(n,i,r,t),renderState:e()}}function K2(t,e,n,i){const r={},a=i(t,{});for(const h in a)r[h]=vn(a[h]);let{initial:o,animate:l}=t;const c=ts(t),d=Vl(t);e&&d&&!c&&t.inherit!==!1&&(o===void 0&&(o=e.initial),l===void 0&&(l=e.animate));let m=n?n.initial===!1:!1;m=m||o===!1;const u=m?l:o;if(u&&typeof u!="boolean"&&!Qn(u)){const h=Array.isArray(u)?u:[u];for(let w=0;w<h.length;w++){const g=Ki(t,h[w]);if(g){const{transitionEnd:p,transition:x,...y}=g;for(const v in y){let S=y[v];if(Array.isArray(S)){const j=m?S.length-1:0;S=S[j]}S!==null&&(r[v]=S)}for(const v in p)r[v]=p[v]}}}return r}const zl=t=>
20(e,n)=>{const i=f.useContext(Jn),r=f.useContext(Xn),a=()=>Z2(t,e,i,r);return n?a():yi(a)};function Yi(t,e,n){const{style:i}=t,r={};for(const a in i)(ct(i[a])||e.style&&ct(e.style[a])||Dl(a,t)||n?.getValue(a)?.liveStyle!==void 0)&&(r[a]=i[a]);return r}const Y2=zl({scrapeMotionValuesFromProps:Yi,createRenderState:Gi});function Fl(t,e,n){const i=Yi(t,e,n);for(const r in t)if(ct(t[r])||ct(e[r])){const a=Te.indexOf(r)!==-1?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r;i[a]=t[r]}return i}const X2=zl({scrapeMotionValuesFromProps:Fl,createRenderState:$l}),J2=Symbol.for("motionComponentSymbol");function ae(t){return t&&typeof t=="object"&&Object.prototype.hasOwnProperty.call(t,"current")}function Q2(t,e,n){return f.useCallback(i=>{i&&t.onMount&&t.onMount(i),e&&(i?e.mount(i):e.unmount()),n&&(typeof n=="function"?n(i):ae(n)&&(n.current=i))},[e])}const Xi=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),tp="framerAppearId",Hl="data-"+Xi(tp),Ul=f.createContext({});function ep(t,e,n,i,r){const{visualElement:a}=f.useContext(Jn),o=f.useContext(El),l=f.useContext(Xn),c=f.useContext(Hi).reducedMotion,d=f.useRef(null);i=i||o.renderer,!d.current&&i&&(d.current=i(t,{visualState:e,parent:a,props:n,presenceContext:l,blockInitialAnimation:l?l.initial===!1:!1,reducedMotionConfig:c}));const m=d.current,u=f.useContext(Ul);m&&!m.projection&&r&&(m.type==="html"||m.type==="svg")&&np(d.current,n,r,u);const h=f.useRef(!1);f.useInsertionEffect(()=>{m&&h.current&&m.update(n,l)});const w=n[Hl],g=f.useRef(!!w&&!window.MotionHandoffIsComplete?.(w)&&window.MotionHasOptimisedAnimation?.(w));return zo(()=>{m&&(h.current=!0,window.MotionIsMounted=!0,m.updateFeatures(),m.scheduleRenderMicrotask(),g.current&&m.animationState&&m.animationState.animateChanges())}),f.useEffect(()=>{m&&(!g.current&&m.animationState&&m.animationState.animateChanges(),g.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(w)}),g.current=!1),m.enteringChildren=void 0)}),m}function np(t,e,n,i){const{layoutId:r,layout:a,drag:o,dragConstraints:l,layoutScroll:c,layoutRoot:d,layoutCrossfade:m}=e;t.projection=new n(t.latestValues,e["data-framer-portal-id"]?void 0:Wl(t.parent)),t.projection.setOptions({layoutId:r,layout:a,alwaysMeasureLayout:!!o||l&&ae(l),visualElement:t,animationType:typeof a=="string"?a:"both",initialPromotionConfig:i,crossfade:m,layoutScroll:c,layoutRoot:d})}function Wl(t){if(t)return t.options.allowProjection!==!1?t.projection:Wl(t.parent)}function us(t,{forwardMotionProps:e=!1}={},n,i){n&&A2(n);const r=Zi(t)?X2:Y2;function a(l,c){let d;const m={...f.useContext(Hi),...l,layoutId:sp(l)},{isStatic:u}=m,h=_2(l),w=r(l,u);if(!u&&vi){ip();const g=rp(m);d=g.MeasureLayout,h.visualElement=ep(t,w,m,i,g.ProjectionNode)}return s.jsxs(Jn.Provider,{value:h,children:[d&&h.visualElement?s.jsx(d,{visualElement:h.visualElement,...m}):null,G2(t,l,Q2(w,h.visualElement,c),w,u,e)]})}a.displayName=`motion.${typeof t=="string"?t:`create(${t.displayName??t.name??""})`}`;const o=f.forwardRef(a);return o[J2]=t,o}function sp({layoutId:t}){const e=f.useContext(bi).id;return e&&t!==void 0?e+"-"+t:t}function ip(t,e){f.useContext(El).strict}function rp(t){const{drag:e,layout:n}=ge;if(!e&&!n)return{};const i={...e,...n};return{MeasureLayout:e?.isEnabled(t)||n?.isEnabled(t)?i.MeasureLayout:void 0,ProjectionNode:i.ProjectionNode}}function ap(t,e){if(typeof Proxy>"u")return us;const n=new Map,i=(a,o)=>us(a,o,t,e),r=(a,o)=>i(a,o);return new Proxy(r,{get:(a,o)=>o==="create"?i:(n.has(o)||n.set(o,us(o,void 0,t,e)),n.get(o))})}function ql({top:t,left:e,right:n,bottom:i}){return{x:{min:e,max:n},y:{min:t,max:i}}}function op({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function lp(t,e){if(!e)return t;const n=e({x:t.left,y:t.top}),i=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:i.y,right:i.x}}function ms(t){return t===void 0||t===1}function Os({scale:t,scaleX:e,scaleY:n}){return!ms(t)||!ms(e)||!ms(n)}function Ut(t){return Os(t)||Gl(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function Gl(t){return Wr(t.x)||Wr(t.y)}function Wr(t){return t&&t!=="0%"}function _n(t,e,n){const i=t-n,r=e*i;return n+r}function qr(t,e,n,i,r){return r!==void 0&&(t=_n(t,r,i)),_n(t,n,i)+e}function zs(t,e=0,n=1,i,r){t.min=qr(t.min,e,n,i,r),t.max=qr(t.max,e,n,i,r)}function Zl(t,{x:e,y:n}){zs(t.x,e.translate,e.scale,e.originPoint),zs(t.y,n.translate,n.scale,n.originPoint)}const Gr=.999999999999,Zr=1.0000000000001;function cp(t,e,n,i=!1){const r=n.length;if(!r)return;e.x=e.y=1;let a,o;for(let l=0;l<r;l++){a=n[l],o=a.projectionDelta;const{visualElement:c}=a.options;c&&c.props.style&&c.props.style.display==="contents"||(i&&a.options.layoutScroll&&a.scroll&&a!==a.root&&le(t,{x:-a.scroll.offset.x,y:-a.scroll.offset.y}),o&&(e.x*=o.x.scale,e.y*=o.y.scale,Zl(t,o)),i&&Ut(a.latestValues)&&le(t,a.latestValues))}e.x<Zr&&e.x>Gr&&(e.x=1),e.y<Zr&&e.y>Gr&&(e.y=1)}function oe(t,e){t.min=t.min+e,t.max=t.max+e}function Kr(t,e,n,i,r=.5){const a=Q(t.min,t.max,r);zs(t,e,n,a,i)}function le(t,e){Kr(t.x,e.x,e.scaleX,e.scale,e.originX),Kr(t.y,e.y,e.scaleY,e.scale,e.originY)}function Kl(t,e){return ql(lp(t.getBoundingClientRect(),e))}function dp(t,e,n){const i=Kl(t,n),{scroll:r}=e;return r&&(oe(i.x,r.offset.x),oe(i.y,r.offset.y)),i}const Yr=()=>({translate:0,scale:1,origin:0,originPoint:0}),ce=()=>({x:Yr(),y:Yr()}),Xr=()=>({min:0,max:0}),nt=()=>({x:Xr(),y:Xr()}),Fs={current:null},Yl={current:!1};function up(){if(Yl.current=!0,!!vi)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>Fs.current=t.matches;t.addEventListener("change",e),e()}else Fs.current=!1}const mp=new WeakMap;function hp(t,e,n){for(const i in e){const r=e[i],a=n[i];if(ct(r))t.addValue(i,r);else if(ct(a))t.addValue(i,fe(r,{owner:t}));else if(a!==r)if(t.hasValue(i)){const o=t.getValue(i);
20o.liveStyle===!0?o.jump(r):o.hasAnimated||o.set(r)}else{const o=t.getStaticValue(i);t.addValue(i,fe(o!==void 0?o:r,{owner:t}))}}for(const i in n)e[i]===void 0&&t.removeValue(i);return e}const Jr=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class wp{scrapeMotionValuesFromProps(e,n,i){return{}}constructor({parent:e,props:n,presenceContext:i,reducedMotionConfig:r,blockInitialAnimation:a,visualState:o},l={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Bi,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const h=ft.now();this.renderScheduledAt<h&&(this.renderScheduledAt=h,X.render(this.render,!1,!0))};const{latestValues:c,renderState:d}=o;this.latestValues=c,this.baseTarget={...c},this.initialValues=n.initial?{...c}:{},this.renderState=d,this.parent=e,this.props=n,this.presenceContext=i,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.options=l,this.blockInitialAnimation=!!a,this.isControllingVariants=ts(n),this.isVariantNode=Vl(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);const{willChange:m,...u}=this.scrapeMotionValuesFromProps(n,{},this);for(const h in u){const w=u[h];c[h]!==void 0&&ct(w)&&w.set(c[h])}}mount(e){this.current=e,mp.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,i)=>this.bindToMotionValue(i,n)),Yl.current||up(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Fs.current,this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),Bt(this.notifyUpdate),Bt(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const e in this.events)this.events[e].clear();for(const e in this.features){const n=this.features[e];n&&(n.unmount(),n.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,n){this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();const i=Se.has(e);i&&this.onBindTransform&&this.onBindTransform();const r=n.on("change",o=>{this.latestValues[e]=o,this.props.onUpdate&&X.preRender(this.notifyUpdate),i&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let a;window.MotionCheckAppearSync&&(a=window.MotionCheckAppearSync(this,e,n)),this.valueSubscriptions.set(e,()=>{r(),a&&a(),n.owner&&n.stop()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e="animation";for(e in ge){const n=ge[e];if(!n)continue;const{isEnabled:i,Feature:r}=n;if(!this.features[e]&&r&&i(this.props)&&(this.features[e]=new r(this)),this.features[e]){const a=this.features[e];a.isMounted?a.update():(a.mount(),a.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):nt()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,n){this.latestValues[e]=n}update(e,n){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let i=0;i<Jr.length;i++){const r=Jr[i];this.propEventSubscriptions[r]&&(this.propEventSubscriptions[r](),delete this.propEventSubscriptions[r]);const a="on"+r,o=e[a];o&&(this.propEventSubscriptions[r]=this.on(r,o))}this.prevMotionValues=hp(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}
20addVariantChild(e){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(e),()=>n.variantChildren.delete(e)}addValue(e,n){const i=this.values.get(e);n!==i&&(i&&this.removeValue(e),this.bindToMotionValue(e,n),this.values.set(e,n),this.latestValues[e]=n.get())}removeValue(e){this.values.delete(e);const n=this.valueSubscriptions.get(e);n&&(n(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,n){if(this.props.values&&this.props.values[e])return this.props.values[e];let i=this.values.get(e);return i===void 0&&n!==void 0&&(i=fe(n===null?void 0:n,{owner:this}),this.addValue(e,i)),i}readValue(e,n){let i=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options);return i!=null&&(typeof i=="string"&&(Fo(i)||Uo(i))?i=parseFloat(i):!v2(i)&&$t.test(n)&&(i=Sl(e,n)),this.setBaseTarget(e,ct(i)?i.get():i)),ct(i)?i.get():i}setBaseTarget(e,n){this.baseTarget[e]=n}getBaseTarget(e){const{initial:n}=this.props;let i;if(typeof n=="string"||typeof n=="object"){const a=Ki(this.props,n,this.presenceContext?.custom);a&&(i=a[e])}if(n&&i!==void 0)return i;const r=this.getBaseTargetFromProps(this.props,e);return r!==void 0&&!ct(r)?r:this.initialValues[e]!==void 0&&i===void 0?void 0:this.baseTarget[e]}on(e,n){return this.events[e]||(this.events[e]=new ki),this.events[e].add(n)}notify(e,...n){this.events[e]&&this.events[e].notify(...n)}scheduleRenderMicrotask(){zi.render(this.render)}}class Xl extends wp{constructor(){super(...arguments),this.KeyframeResolver=c2}sortInstanceNodePosition(e,n){return e.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(e,n){return e.style?e.style[n]:void 0}removeValueFromRenderState(e,{vars:n,style:i}){delete n[e],delete i[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;ct(e)&&(this.childSubscription=e.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function Jl(t,{style:e,vars:n},i,r){const a=t.style;let o;for(o in e)a[o]=e[o];r?.applyProjectionStyles(a,i);for(o in n)a.setProperty(o,n[o])}function pp(t){return window.getComputedStyle(t)}class fp extends Xl{constructor(){super(...arguments),this.type="html",this.renderInstance=Jl}readValueFromInstance(e,n){if(Se.has(n))return this.projection?.isProjecting?Es(n):Lw(e,n);{const i=pp(e),r=(Ai(n)?i.getPropertyValue(n):i[n])||0;return typeof r=="string"?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:n}){return Kl(e,n)}build(e,n,i){qi(e,n,i.transformTemplate)}scrapeMotionValuesFromProps(e,n,i){return Yi(e,n,i)}}const Ql=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function gp(t,e,n,i){Jl(t,e,void 0,i);for(const r in e.attrs)t.setAttribute(Ql.has(r)?r:Xi(r),e.attrs[r])}class xp extends Xl{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=nt}getBaseTargetFromProps(e,n){return e[n]}readValueFromInstance(e,n){if(Se.has(n)){const i=Tl(n);return i&&i.default||0}return n=Ql.has(n)?n:Xi(n),e.getAttribute(n)}scrapeMotionValuesFromProps(e,n,i){return Fl(e,n,i)}build(e,n,i){Bl(e,n,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(e,n,i,r){gp(e,n,i,r)}mount(e){this.isSVGTag=Ol(e.tagName),super.mount(e)}}const bp=(t,e)=>Zi(t)?new xp(e):new fp(e,{allowProjection:t!==f.Fragment});function ue(t,e,n){const i=t.getProps();return Ki(i,e,n!==void 0?n:i.custom,t)}const Hs=t=>Array.isArray(t);function yp(t,e,n){t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,fe(n))}function vp(t){return Hs(t)?t[t.length-1]||0:t}function jp(t,e){const n=ue(t,e);let{transitionEnd:i={},transition:r={},...a}=n||{};a={...a,...i};for(const o in a){const l=vp(a[o]);yp(t,o,l)}}function Cp(t){return!!(ct(t)&&t.add)}function Us(t,e){const n=t.getValue("willChange");if(Cp(n))return n.add(e);if(!n&&Vt.WillChange){const i=new Vt.WillChange("auto");
20t.addValue("willChange",i),i.add(e)}}function tc(t){return t.props[Hl]}const Tp=t=>t!==null;function Sp(t,{repeat:e,repeatType:n="loop"},i){const r=t.filter(Tp),a=e&&n!=="loop"&&e%2===1?0:r.length-1;return r[a]}const kp={type:"spring",stiffness:500,damping:25,restSpeed:10},Np=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),Lp={type:"keyframes",duration:.8},Ap={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Pp=(t,{keyframes:e})=>e.length>2?Lp:Se.has(t)?t.startsWith("scale")?Np(e[1]):kp:Ap;function Ip({when:t,delay:e,delayChildren:n,staggerChildren:i,staggerDirection:r,repeat:a,repeatType:o,repeatDelay:l,from:c,elapsed:d,...m}){return!!Object.keys(m).length}const Ji=(t,e,n,i={},r,a)=>o=>{const l=$i(i,t)||{},c=l.delay||i.delay||0;let{elapsed:d=0}=i;d=d-It(c);const m={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:e.getVelocity(),...l,delay:-d,onUpdate:h=>{e.set(h),l.onUpdate&&l.onUpdate(h)},onComplete:()=>{o(),l.onComplete&&l.onComplete()},name:t,motionValue:e,element:a?void 0:r};Ip(l)||Object.assign(m,Pp(t,m)),m.duration&&(m.duration=It(m.duration)),m.repeatDelay&&(m.repeatDelay=It(m.repeatDelay)),m.from!==void 0&&(m.keyframes[0]=m.from);let u=!1;if((m.type===!1||m.duration===0&&!m.repeatDelay)&&(Bs(m),m.delay===0&&(u=!0)),(Vt.instantAnimations||Vt.skipAnimations)&&(u=!0,Bs(m),m.delay=0),m.allowFlatten=!l.type&&!l.ease,u&&!a&&e.get()!==void 0){const h=Sp(m.keyframes,l);if(h!==void 0){X.update(()=>{m.onUpdate(h),m.onComplete()});return}}return l.isSync?new Ri(m):new Xw(m)};function Mp({protectedKeys:t,needsAnimating:e},n){const i=t.hasOwnProperty(n)&&e[n]!==!0;return e[n]=!1,i}function ec(t,e,{delay:n=0,transitionOverride:i,type:r}={}){let{transition:a=t.getDefaultTransition(),transitionEnd:o,...l}=e;i&&(a=i);const c=[],d=r&&t.animationState&&t.animationState.getState()[r];for(const m in l){const u=t.getValue(m,t.latestValues[m]??null),h=l[m];if(h===void 0||d&&Mp(d,m))continue;const w={delay:n,...$i(a||{},m)},g=u.get();if(g!==void 0&&!u.isAnimating&&!Array.isArray(h)&&h===g&&!w.velocity)continue;let p=!1;if(window.MotionHandoffAnimation){const y=tc(t);if(y){const v=window.MotionHandoffAnimation(y,m,X);v!==null&&(w.startTime=v,p=!0)}}Us(t,m),u.start(Ji(m,u,h,t.shouldReduceMotion&&vl.has(m)?{type:!1}:w,t,p));const x=u.animation;x&&c.push(x)}return o&&Promise.all(c).then(()=>{X.update(()=>{o&&jp(t,o)})}),c}function nc(t,e,n,i=0,r=1){const a=Array.from(t).sort((d,m)=>d.sortNodePosition(m)).indexOf(e),o=t.size,l=(o-1)*i;return typeof n=="function"?n(a,o):r===1?a*i:l-a*i}function Ws(t,e,n={}){const i=ue(t,e,n.type==="exit"?t.presenceContext?.custom:void 0);let{transition:r=t.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(r=n.transitionOverride);const a=i?()=>Promise.all(ec(t,i,n)):()=>Promise.resolve(),o=t.variantChildren&&t.variantChildren.size?(c=0)=>{const{delayChildren:d=0,staggerChildren:m,staggerDirection:u}=r;return Ep(t,e,c,d,m,u,n)}:()=>Promise.resolve(),{when:l}=r;if(l){const[c,d]=l==="beforeChildren"?[a,o]:[o,a];return c().then(()=>d())}else return Promise.all([a(),o(n.delay)])}function Ep(t,e,n=0,i=0,r=0,a=1,o){const l=[];for(const c of t.variantChildren)c.notify("AnimationStart",e),l.push(Ws(c,e,{...o,delay:n+(typeof i=="function"?0:i)+nc(t.variantChildren,c,i,r,a)}).then(()=>c.notify("AnimationComplete",e)));return Promise.all(l)}function _p(t,e,n={}){t.notify("AnimationStart",e);let i;if(Array.isArray(e)){const r=e.map(a=>Ws(t,a,n));i=Promise.all(r)}else if(typeof e=="string")i=Ws(t,e,n);else{const r=typeof e=="function"?ue(t,e,n.custom):e;i=Promise.all(ec(t,r,n))}return i.then(()=>{t.notify("AnimationComplete",e)})}function sc(t,e){if(!Array.isArray(e))return!1;const n=e.length;if(n!==t.length)return!1;for(let i=0;i<n;i++)if(e[i]!==t[i])return!1;return!0}const Vp=Wi.length;function ic(t){if(!t)return;if(!t.isControllingVariants){const n=t.parent?ic(t.parent)||{}:{};return t.props.initial!==void 0&&(n.initial=t.props.initial),n}const e={};for(let n=0;n<Vp;n++){const i=Wi[n],r=t.props[i];(Ze(r)||r===!1)&&(e[i]=r)}return e}const Dp=[...Ui].reverse(),Rp=Ui.length;function Bp(t){return e=>Promise.all(e.map(({animation:n,options:i})=>_p(t,n,i)))}function $p(t){let e=Bp(t),n=Qr(),i=!0;const r=c=>(d,m)=>{const u=ue(t,m,c==="exit"?t.presenceContext?.custom:void 0);if(u){const{transition:h,transitionEnd:w,...g}=u;d={...d,...g,...w}}return d};function a(c){e=c(t)}function o(c){const{props:d}=t,m=ic(t.parent)||{},u=[],h=new Set;let w={},g=1/0;for(let x=0;x<Rp;x++){const y=Dp[x],v=n[y],S=d[y]!==void 0?d[y]:m[y],j=Ze(S),k=y===c?v.isActive:null;k===!1&&(g=x);let I=S===m[y]&&S!==d[y]&&j;if(I&&i&&t.manuallyAnimateOnMount&&(I=!1),v.protectedKeys={...w},!v.isActive&&k===null||!S&&!v.prevProp||Qn(S)||typeof S=="boolean")continue;const V=Op(v.prevProp,S);let A=V||y===c&&v.isActive&&!I&&j||x>g&&j,E=!1;const B=Array.isArray(S)?S:[S];let R=B.reduce(r(y),{});k===!1&&(R={});const{prevResolvedValues:F={}}=v,J={...F,...R},Z=L=>{A=!0,h.has(L)&&(E=!0,h.delete(L)),v.needsAnimating[L]=!0;const $=t.getValue(L);$&&($.liveStyle=!1)};for(const L in J){const $=R[L],O=F[L];if(w.hasOwnProperty(L))continue;let U=!1;Hs($)&&Hs(O)?U=!sc($,O):U=$!==O,U?$!=null?Z(L):h.add(L):$!==void 0&&h.has(L)?Z(L):v.protectedKeys[L]=!0}v.prevProp=S,v.prevResolvedValues=R,v.isActive&&(w={...w,...R}),i&&t.blockInitialAnimation&&(A=!1);const T=I&&V;A&&(!T||E)&&u.push(...B.map(L=>{const $={type:y};if(typeof L=="string"&&i&&!T&&t.manuallyAnimateOnMount&&t.parent){const{parent:O}=t,U=ue(O,L);if(O.enteringChildren&&U){const{delayChildren:Y}=U.transition||{};$.delay=nc(O.enteringChildren,t,Y)}}return{animation:L,options:$}}))}if(h.size){const x={};if(typeof d.initial!="boolean"){const y=ue(t,Array.isArray(d.initial)?d.initial[0]:d.initial);y&&y.transition&&(x.transition=y.transition)}
vendor: 22,121 bytes, line 20
20h.forEach(y=>{const v=t.getBaseTarget(y),S=t.getValue(y);S&&(S.liveStyle=!0),x[y]=v??null}),u.push({animation:x})}let p=!!u.length;return i&&(d.initial===!1||d.initial===d.animate)&&!t.manuallyAnimateOnMount&&(p=!1),i=!1,p?e(u):Promise.resolve()}function l(c,d){if(n[c].isActive===d)return Promise.resolve();t.variantChildren?.forEach(u=>u.animationState?.setActive(c,d)),n[c].isActive=d;const m=o(c);for(const u in n)n[u].protectedKeys={};return m}return{animateChanges:o,setActive:l,setAnimateFunction:a,getState:()=>n,reset:()=>{n=Qr()}}}function Op(t,e){return typeof e=="string"?e!==t:Array.isArray(e)?!sc(e,t):!1}function Ht(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Qr(){return{animate:Ht(!0),whileInView:Ht(),whileHover:Ht(),whileTap:Ht(),whileDrag:Ht(),whileFocus:Ht(),exit:Ht()}}class Ft{constructor(e){this.isMounted=!1,this.node=e}update(){}}class zp extends Ft{constructor(e){super(e),e.animationState||(e.animationState=$p(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();Qn(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:n}=this.node.prevProps||{};e!==n&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let Fp=0;class Hp extends Ft{constructor(){super(...arguments),this.id=Fp++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:n}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===i)return;const r=this.node.animationState.setActive("exit",!e);n&&!e&&r.then(()=>{n(this.id)})}mount(){const{register:e,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),e&&(this.unmount=e(this.id))}unmount(){}}const Up={animation:{Feature:zp},exit:{Feature:Hp}};function Ye(t,e,n,i={passive:!0}){return t.addEventListener(e,n,i),()=>t.removeEventListener(e,n)}function rn(t){return{point:{x:t.pageX,y:t.pageY}}}const Wp=t=>e=>Fi(e)&&t(e,rn(e));function Ve(t,e,n,i){return Ye(t,e,Wp(n),i)}const rc=1e-4,qp=1-rc,Gp=1+rc,ac=.01,Zp=0-ac,Kp=0+ac;function dt(t){return t.max-t.min}function Yp(t,e,n){return Math.abs(t-e)<=n}function ta(t,e,n,i=.5){t.origin=i,t.originPoint=Q(e.min,e.max,t.origin),t.scale=dt(n)/dt(e),t.translate=Q(n.min,n.max,t.origin)-t.originPoint,(t.scale>=qp&&t.scale<=Gp||isNaN(t.scale))&&(t.scale=1),(t.translate>=Zp&&t.translate<=Kp||isNaN(t.translate))&&(t.translate=0)}function De(t,e,n,i){ta(t.x,e.x,n.x,i?i.originX:void 0),ta(t.y,e.y,n.y,i?i.originY:void 0)}function ea(t,e,n){t.min=n.min+e.min,t.max=t.min+dt(e)}function Xp(t,e,n){ea(t.x,e.x,n.x),ea(t.y,e.y,n.y)}function na(t,e,n){t.min=e.min-n.min,t.max=t.min+dt(e)}function Re(t,e,n){na(t.x,e.x,n.x),na(t.y,e.y,n.y)}function Tt(t){return[t("x"),t("y")]}const oc=({current:t})=>t?t.ownerDocument.defaultView:null,sa=(t,e)=>Math.abs(t-e);function Jp(t,e){const n=sa(t.x,e.x),i=sa(t.y,e.y);return Math.sqrt(n**2+i**2)}class lc{constructor(e,n,{transformPagePoint:i,contextWindow:r=window,dragSnapToOrigin:a=!1,distanceThreshold:o=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const h=ws(this.lastMoveEventInfo,this.history),w=this.startEvent!==null,g=Jp(h.offset,{x:0,y:0})>=this.distanceThreshold;if(!w&&!g)return;const{point:p}=h,{timestamp:x}=lt;this.history.push({...p,timestamp:x});const{onStart:y,onMove:v}=this.handlers;w||(y&&y(this.lastMoveEvent,h),this.startEvent=this.lastMoveEvent),v&&v(this.lastMoveEvent,h)},this.handlePointerMove=(h,w)=>{this.lastMoveEvent=h,this.lastMoveEventInfo=hs(w,this.transformPagePoint),X.update(this.updatePoint,!0)},this.handlePointerUp=(h,w)=>{this.end();const{onEnd:g,onSessionEnd:p,resumeAnimation:x}=this.handlers;if(this.dragSnapToOrigin&&x&&x(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const y=ws(h.type==="pointercancel"?this.lastMoveEventInfo:hs(w,this.transformPagePoint),this.history);this.startEvent&&g&&g(h,y),p&&p(h,y)},!Fi(e))return;this.dragSnapToOrigin=a,this.handlers=n,this.transformPagePoint=i,this.distanceThreshold=o,this.contextWindow=r||window;const l=rn(e),c=hs(l,this.transformPagePoint),{point:d}=c,{timestamp:m}=lt;this.history=[{...d,timestamp:m}];const{onSessionStart:u}=n;u&&u(e,ws(c,this.history)),this.removeListeners=en(Ve(this.contextWindow,"pointermove",this.handlePointerMove),Ve(this.contextWindow,"pointerup",this.handlePointerUp),Ve(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),Bt(this.updatePoint)}}function hs(t,e){return e?{point:e(t.point)}:t}function ia(t,e){return{x:t.x-e.x,y:t.y-e.y}}function ws({point:t},e){return{point:t,delta:ia(t,cc(e)),offset:ia(t,Qp(e)),velocity:tf(e,.1)}}function Qp(t){return t[0]}function cc(t){return t[t.length-1]}function tf(t,e){if(t.length<2)return{x:0,y:0};let n=t.length-1,i=null;const r=cc(t);for(;n>=0&&(i=t[n],!(r.timestamp-i.timestamp>It(e)));)n--;if(!i)return{x:0,y:0};const a=kt(r.timestamp-i.timestamp);if(a===0)return{x:0,y:0};const o={x:(r.x-i.x)/a,y:(r.y-i.y)/a};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}function ef(t,{min:e,max:n},i){return e!==void 0&&t<e?t=i?Q(e,t,i.min):Math.max(t,e):n!==void 0&&t>n&&(t=i?Q(n,t,i.max):Math.min(t,n)),t}function ra(t,e,n){return{min:e!==void 0?t.min+e:void 0,max:n!==void 0?t.max+n-(t.max-t.min):void 0}}function nf(t,{top:e,left:n,bottom:i,right:r}){return{x:ra(t.x,n,r),y:ra(t.y,e,i)}}function aa(t,e){let n=e.min-t.min,i=e.max-t.max;return e.max-e.min<t.max-t.min&&([n,i]=[i,n]),{min:n,max:i}}function sf(t,e){return{x:aa(t.x,e.x),y:aa(t.y,e.y)}}function rf(t,e){let n=.5;const i=dt(t),r=dt(e);return r>i?n=We(e.min,e.max-i,t.min):i>r&&(n=We(t.min,t.max-r,e.min)),_t(0,1,n)}function af(t,e){const n={};return e.min!==void 0&&(n.min=e.min-t.min),e.max!==void 0&&(n.max=e.max-t.min),n}const qs=.35;function of(t=qs){return t===!1?t=0:t===!0&&(t=qs),{x:oa(t,"left","right"),y:oa(t,"top","bottom")}}function oa(t,e,n){return{min:la(t,e),max:la(t,n)}}function la(t,e){return typeof t=="number"?t:t[e]||0}const lf=new WeakMap;class cf{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=nt(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}start(e,{snapToCursor:n=!1,distanceThreshold:i}={}){const{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;const a=u=>{const{dragSnapToOrigin:h}=this.getProps();h?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(rn(u).point)},o=(u,h)=>{const{drag:w,dragPropagation:g,onDragStart:p}=this.getProps();if(w&&!g&&(this.openDragLock&&this.openDragLock(),this.openDragLock=h2(w),!this.openDragLock))return;this.latestPointerEvent=u,this.latestPanInfo=h,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Tt(y=>{let v=this.getAxisMotionValue(y).get()||0;if(Mt.test(v)){const{projection:S}=this.visualElement;if(S&&S.layout){const j=S.layout.layoutBox[y];j&&(v=dt(j)*(parseFloat(v)/100))}}this.originPoint[y]=v}),p&&X.postRender(()=>p(u,h)),Us(this.visualElement,"transform");const{animationState:x}=this.visualElement;x&&x.setActive("whileDrag",!0)},l=(u,h)=>{this.latestPointerEvent=u,this.latestPanInfo=h;const{dragPropagation:w,dragDirectionLock:g,onDirectionLock:p,onDrag:x}=this.getProps();if(!w&&!this.openDragLock)return;const{offset:y}=h;if(g&&this.currentDirection===null){this.currentDirection=df(y),this.currentDirection!==null&&p&&p(this.currentDirection);return}this.updateAxis("x",h.point,y),this.updateAxis("y",h.point,y),this.visualElement.render(),x&&x(u,h)},c=(u,h)=>{this.latestPointerEvent=u,this.latestPanInfo=h,this.stop(u,h),this.latestPointerEvent=null,this.latestPanInfo=null},d=()=>Tt(u=>this.getAnimationState(u)==="paused"&&this.getAxisMotionValue(u).animation?.play()),{dragSnapToOrigin:m}=this.getProps();this.panSession=new lc(e,{onSessionStart:a,onStart:o,onMove:l,onSessionEnd:c,resumeAnimation:d},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:m,distanceThreshold:i,contextWindow:oc(this.visualElement)})}stop(e,n){const i=e||this.latestPointerEvent,r=n||this.latestPanInfo,a=this.isDragging;if(this.cancel(),!a||!r||!i)return;const{velocity:o}=r;this.startAnimation(o);const{onDragEnd:l}=this.getProps();l&&X.postRender(()=>l(i,r))}cancel(){this.isDragging=!1;const{projection:e,animationState:n}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(e,n,i){const{drag:r}=this.getProps();if(!i||!pn(e,r,this.currentDirection))return;const a=this.getAxisMotionValue(e);let o=this.originPoint[e]+i[e];this.constraints&&this.constraints[e]&&(o=ef(o,this.constraints[e],this.elastic[e])),a.set(o)}resolveConstraints(){const{dragConstraints:e,dragElastic:n}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,r=this.constraints;e&&ae(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&i?this.constraints=nf(i.layoutBox,e):this.constraints=!1,this.elastic=of(n),r!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&Tt(a=>{this.constraints!==!1&&this.getAxisMotionValue(a)&&(this.constraints[a]=af(i.layoutBox[a],this.constraints[a]))})}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:n}=this.getProps();if(!e||!ae(e))return!1;const i=e.current,{projection:r}=this.visualElement;if(!r||!r.layout)return!1;const a=dp(i,r.root,this.visualElement.getTransformPagePoint());let o=sf(r.layout.layoutBox,a);if(n){const l=n(op(o));this.hasMutatedConstraints=!!l,l&&(o=ql(l))}return o}startAnimation(e){const{drag:n,dragMomentum:i,dragElastic:r,dragTransition:a,dragSnapToOrigin:o,onDragTransitionEnd:l}=this.getProps(),c=this.constraints||{},d=Tt(m=>{if(!pn(m,n,this.currentDirection))return;let u=c&&c[m]||{};o&&(u={min:0,max:0});const h=r?200:1e6,w=r?40:1e7,g={type:"inertia",velocity:i?e[m]:0,bounceStiffness:h,bounceDamping:w,timeConstant:750,restDelta:1,restSpeed:10,...a,...u};return this.startAxisValueAnimation(m,g)});return Promise.all(d).then(l)}startAxisValueAnimation(e,n){const i=this.getAxisMotionValue(e);return Us(this.visualElement,e),i.start(Ji(e,i,0,n,this.visualElement,!1))}stopAnimation(){Tt(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){Tt(e=>this.getAxisMotionValue(e).animation?.pause())}getAnimationState(e){return this.getAxisMotionValue(e).animation?.state}getAxisMotionValue(e){const n=`_drag${e.toUpperCase()}`,i=this.visualElement.getProps(),r=i[n];return r||this.visualElement.getValue(e,(i.initial?i.initial[e]:void 0)||0)}snapToCursor(e){Tt(n=>{const{drag:i}=this.getProps();if(!pn(n,i,this.currentDirection))return;const{projection:r}=this.visualElement,a=this.getAxisMotionValue(n);if(r&&r.layout){const{min:o,max:l}=r.layout.layoutBox[n];a.set(e[n]-Q(o,l,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:n}=this.getProps(),{projection:i}=this.visualElement;if(!ae(n)||!i||!this.constraints)return;this.stopAnimation();const r={x:0,y:0};Tt(o=>{const l=this.getAxisMotionValue(o);if(l&&this.constraints!==!1){const c=l.get();r[o]=rf({min:c,max:c},this.constraints[o])}});const{transformTemplate:a}=this.visualElement.getProps();this.visualElement.current.style.transform=a?a({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),Tt(o=>{if(!pn(o,e,null))return;const l=this.getAxisMotionValue(o),{min:c,max:d}=this.constraints[o];l.set(Q(c,d,r[o]))})}addListeners(){if(!this.visualElement.current)return;lf.set(this.visualElement,this);const e=this.visualElement.current,n=Ve(e,"pointerdown",c=>{const{drag:d,dragListener:m=!0}=this.getProps();d&&m&&this.start(c)}),i=()=>{const{dragConstraints:c}=this.getProps();ae(c)&&c.current&&(this.constraints=this.resolveRefConstraints())},{projection:r}=this.visualElement,a=r.addEventListener("measure",i);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),X.read(i);const o=Ye(window,"resize",()=>this.scalePositionWithinConstraints()),l=r.addEventListener("didUpdate",({delta:c,hasLayoutChanged:d})=>{this.isDragging&&d&&(Tt(m=>{const u=this.getAxisMotionValue(m);u&&(this.originPoint[m]+=c[m].translate,u.set(u.get()+c[m].translate))}),this.visualElement.render())});return()=>{o(),n(),a(),l&&l()}}getProps(){const e=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:i=!1,dragPropagation:r=!1,dragConstraints:a=!1,dragElastic:o=qs,dragMomentum:l=!0}=e;return{...e,drag:n,dragDirectionLock:i,dragPropagation:r,dragConstraints:a,dragElastic:o,dragMomentum:l}}}function pn(t,e,n){return(e===!0||e===t)&&(n===null||n===t)}function df(t,e=10){let n=null;return Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x"),n}class uf extends Ft{constructor(e){super(e),this.removeGroupControls=Nt,this.removeListeners=Nt,this.controls=new cf(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Nt}unmount(){this.removeGroupControls(),this.removeListeners()}}const ca=t=>(e,n)=>{t&&X.postRender(()=>t(e,n))};class mf extends Ft{constructor(){super(...arguments),this.removePointerDownListener=Nt}onPointerDown(e){this.session=new lc(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:oc(this.node)})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:n,onPan:i,onPanEnd:r}=this.node.getProps();return{onSessionStart:ca(e),onStart:ca(n),onMove:i,onEnd:(a,o)=>{delete this.session,r&&X.postRender(()=>r(a,o))}}}mount(){this.removePointerDownListener=Ve(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const jn={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function da(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}const Pe={correct:(t,e)=>{if(!e.target)return t;if(typeof t=="string")if(z.test(t))t=parseFloat(t);else return t;const n=da(t,e.target.x),i=da(t,e.target.y);return`${n}% ${i}%`}},hf={correct:(t,{treeScale:e,projectionDelta:n})=>{const i=t,r=$t.parse(t);if(r.length>5)return i;const a=$t.createTransformer(t),o=typeof r[0]!="number"?1:0,l=n.x.scale*e.x,c=n.y.scale*e.y;r[0+o]/=l,r[1+o]/=c;const d=Q(l,c,.5);return typeof r[2+o]=="number"&&(r[2+o]/=d),typeof r[3+o]=="number"&&(r[3+o]/=d),a(r)}};let ps=!1;class wf extends f.Component{componentDidMount(){const{visualElement:e,layoutGroup:n,switchLayoutGroup:i,layoutId:r}=this.props,{projection:a}=e;V2(pf),a&&(n.group&&n.group.add(a),i&&i.register&&r&&i.register(a),ps&&a.root.didUpdate(),a.addEventListener("animationComplete",()=>{this.safeToRemove()}),a.setOptions({...a.options,onExitComplete:()=>this.safeToRemove()})),jn.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:n,visualElement:i,drag:r,isPresent:a}=this.props,{projection:o}=i;return o&&(o.isPresent=a,ps=!0,r||e.layoutDependency!==n||n===void 0||e.isPresent!==a?o.willUpdate():this.safeToRemove(),e.isPresent!==a&&(a?o.promote():o.relegate()||X.postRender(()=>{const l=o.getStack();(!l||!l.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),zi.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:e,layoutGroup:n,switchLayoutGroup:i}=this.props,{projection:r}=e;ps=!0,r&&(r.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(r),i&&i.deregister&&i.deregister(r))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function dc(t){const[e,n]=Ml(),i=f.useContext(bi);return s.jsx(wf,{...t,layoutGroup:i,switchLayoutGroup:f.useContext(Ul),isPresent:e,safeToRemove:n})}const pf={borderRadius:{...Pe,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Pe,borderTopRightRadius:Pe,borderBottomLeftRadius:Pe,borderBottomRightRadius:Pe,boxShadow:hf};function ff(t,e,n){const i=ct(t)?t:fe(t);return i.start(Ji("",i,e,n)),i.animation}const gf=(t,e)=>t.depth-e.depth;class xf{constructor(){this.children=[],this.isDirty=!1}add(e){ji(this.children,e),this.isDirty=!0}remove(e){Ci(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(gf),this.isDirty=!1,this.children.forEach(e)}}function bf(t,e){const n=ft.now(),i=({timestamp:r})=>{const a=r-n;a>=e&&(Bt(i),t(a-e))};return X.setup(i,!0),()=>Bt(i)}const uc=["TopLeft","TopRight","BottomLeft","BottomRight"],yf=uc.length,ua=t=>typeof t=="string"?parseFloat(t):t,ma=t=>typeof t=="number"||z.test(t);function vf(t,e,n,i,r,a){r?(t.opacity=Q(0,n.opacity??1,jf(i)),t.opacityExit=Q(e.opacity??1,0,Cf(i))):a&&(t.opacity=Q(e.opacity??1,n.opacity??1,i));for(let o=0;o<yf;o++){const l=`border${uc[o]}Radius`;let c=ha(e,l),d=ha(n,l);if(c===void 0&&d===void 0)continue;c||(c=0),d||(d=0),c===0||d===0||ma(c)===ma(d)?(t[l]=Math.max(Q(ua(c),ua(d),i),0),(Mt.test(d)||Mt.test(c))&&(t[l]+="%")):t[l]=d}(e.rotate||n.rotate)&&(t.rotate=Q(e.rotate||0,n.rotate||0,i))}function ha(t,e){return t[e]!==void 0?t[e]:t.borderRadius}const jf=mc(0,.5,Jo),Cf=mc(.5,.95,Nt);function mc(t,e,n){return i=>i<t?0:i>e?1:n(We(t,e,i))}function wa(t,e){t.min=e.min,t.max=e.max}function Ct(t,e){wa(t.x,e.x),wa(t.y,e.y)}function pa(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function fa(t,e,n,i,r){return t-=e,t=_n(t,1/n,i),r!==void 0&&(t=_n(t,1/r,i)),t}function Tf(t,e=0,n=1,i=.5,r,a=t,o=t){if(Mt.test(e)&&(e=parseFloat(e),e=Q(o.min,o.max,e/100)-o.min),typeof e!="number")return;let l=Q(a.min,a.max,i);t===a&&(l-=e),t.min=fa(t.min,e,n,l,r),t.max=fa(t.max,e,n,l,r)}function ga(t,e,[n,i,r],a,o){Tf(t,e[n],e[i],e[r],e.scale,a,o)}const Sf=["x","scaleX","originX"],kf=["y","scaleY","originY"];function xa(t,e,n,i){ga(t.x,e,Sf,n?n.x:void 0,i?i.x:void 0),ga(t.y,e,kf,n?n.y:void 0,i?i.y:void 0)}function ba(t){return t.translate===0&&t.scale===1}function hc(t){return ba(t.x)&&ba(t.y)}function ya(t,e){return t.min===e.min&&t.max===e.max}function Nf(t,e){return ya(t.x,e.x)&&ya(t.y,e.y)}function va(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function wc(t,e){return va(t.x,e.x)&&va(t.y,e.y)}function ja(t){return dt(t.x)/dt(t.y)}function Ca(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class Lf{constructor(){this.members=[]}add(e){ji(this.members,e),e.scheduleRender()}remove(e){if(Ci(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(e){const n=this.members.findIndex(r=>e===r);if(n===0)return!1;let i;for(let r=n;r>=0;r--){const a=this.members[r];if(a.isPresent!==!1){i=a;break}}return i?(this.promote(i),!0):!1}promote(e,n){const i=this.lead;if(e!==i&&(this.prevLead=i,this.lead=e,e.show(),i)){i.instance&&i.scheduleRender(),e.scheduleRender(),e.resumeFrom=i,n&&(e.resumeFrom.preserveOpacity=!0),i.snapshot&&(e.snapshot=i.snapshot,e.snapshot.latestValues=i.animationValues||i.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:r}=e.options;r===!1&&i.hide()}}exitAnimationComplete(){this.members.forEach(e=>{const{options:n,resumingFrom:i}=e;n.onExitComplete&&n.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function Af(t,e,n){let i="";const r=t.x.translate/e.x,a=t.y.translate/e.y,o=n?.z||0;if((r||a||o)&&(i=`translate3d(${r}px, ${a}px, ${o}px) `),(e.x!==1||e.y!==1)&&(i+=`scale(${1/e.x}, ${1/e.y}) `),n){const{transformPerspective:d,rotate:m,rotateX:u,rotateY:h,skewX:w,skewY:g}=n;d&&(i=`perspective(${d}px) ${i}`),m&&(i+=`rotate(${m}deg) `),u&&(i+=`rotateX(${u}deg) `),h&&(i+=`rotateY(${h}deg) `),w&&(i+=`skewX(${w}deg) `),g&&(i+=`skewY(${g}deg) `)}const l=t.x.scale*e.x,c=t.y.scale*e.y;return(l!==1||c!==1)&&(i+=`scale(${l}, ${c})`),i||"none"}const fs=["","X","Y","Z"],Pf=1e3;let If=0;function gs(t,e,n,i){const{latestValues:r}=e;r[t]&&(n[t]=r[t],e.setStaticValue(t,0),i&&(i[t]=0))}function pc(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:e}=t.options;if(!e)return;const n=tc(e);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:r,layoutId:a}=t.options;window.MotionCancelOptimisedAnimation(n,"transform",X,!(r||a))}const{parent:i}=t;i&&!i.hasCheckedOptimisedAppear&&pc(i)}function fc({attachResizeListener:t,defaultParent:e,measureScroll:n,checkIsScrollRoot:i,resetTransform:r}){return class{constructor(o={},l=e?.()){this.id=If++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>
20{this.projectionUpdateScheduled=!1,this.nodes.forEach(_f),this.nodes.forEach(Bf),this.nodes.forEach($f),this.nodes.forEach(Vf)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=o,this.root=l?l.root||l:this,this.path=l?[...l.path,l]:[],this.parent=l,this.depth=l?l.depth+1:0;for(let c=0;c<this.path.length;c++)this.path[c].shouldResetTransform=!0;this.root===this&&(this.nodes=new xf)}addEventListener(o,l){return this.eventHandlers.has(o)||this.eventHandlers.set(o,new ki),this.eventHandlers.get(o).add(l)}notifyListeners(o,...l){const c=this.eventHandlers.get(o);c&&c.notify(...l)}hasListeners(o){return this.eventHandlers.has(o)}mount(o){if(this.instance)return;this.isSVG=Il(o)&&!b2(o),this.instance=o;const{layoutId:l,layout:c,visualElement:d}=this.options;if(d&&!d.current&&d.mount(o),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(c||l)&&(this.isLayoutDirty=!0),t){let m,u=0;const h=()=>this.root.updateBlockedByResize=!1;X.read(()=>{u=window.innerWidth}),t(o,()=>{const w=window.innerWidth;w!==u&&(u=w,this.root.updateBlockedByResize=!0,m&&m(),m=bf(h,250),jn.hasAnimatedSinceResize&&(jn.hasAnimatedSinceResize=!1,this.nodes.forEach(ka)))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&d&&(l||c)&&this.addEventListener("didUpdate",({delta:m,hasLayoutChanged:u,hasRelativeLayoutChanged:h,layout:w})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const g=this.options.transition||d.getDefaultTransition()||Uf,{onLayoutAnimationStart:p,onLayoutAnimationComplete:x}=d.getProps(),y=!this.targetLayout||!wc(this.targetLayout,w),v=!u&&h;if(this.options.layoutRoot||this.resumeFrom||v||u&&(y||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const S={...$i(g,"layout"),onPlay:p,onComplete:x};(d.shouldReduceMotion||this.options.layoutRoot)&&(S.delay=0,S.type=!1),this.startAnimation(S),this.setAnimationOrigin(m,v)}else u||ka(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=w})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const o=this.getStack();o&&o.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Bt(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(Of),this.animationId++)}getTransformTemplate(){const{visualElement:o}=this.options;return o&&o.getProps().transformTemplate}willUpdate(o=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&pc(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let m=0;m<this.path.length;m++){const u=this.path[m];u.shouldResetTransform=!0,u.updateScroll("snapshot"),u.options.layoutRoot&&u.willUpdate(!1)}const{layoutId:l,layout:c}=this.options;if(l===void 0&&!c)return;const d=this.getTransformTemplate();this.prevTransformTemplateValue=d?d(this.latestValues,""):void 0,this.updateSnapshot(),o&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Ta);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Sa);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(Rf),this.nodes.forEach(Mf),this.nodes.forEach(Ef)):this.nodes.forEach(Sa),this.clearAllSnapshots();const l=ft.now();lt.delta=_t(0,1e3/60,l-lt.timestamp),lt.timestamp=l,lt.isProcessing=!0,as.update.process(lt),as.preRender.process(lt),as.render.process(lt),lt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,zi.read(this.scheduleUpdate))}
vendor: 6,062 bytes, line 20
20clearAllSnapshots(){this.nodes.forEach(Df),this.sharedNodes.forEach(zf)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,X.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){X.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!dt(this.snapshot.measuredBox.x)&&!dt(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let c=0;c<this.path.length;c++)this.path[c].updateScroll();const o=this.layout;this.layout=this.measure(!1),this.layoutCorrected=nt(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:l}=this.options;l&&l.notify("LayoutMeasure",this.layout.layoutBox,o?o.layoutBox:void 0)}updateScroll(o="measure"){let l=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===o&&(l=!1),l&&this.instance){const c=i(this.instance);this.scroll={animationId:this.root.animationId,phase:o,isRoot:c,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:c}}}resetTransform(){if(!r)return;const o=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,l=this.projectionDelta&&!hc(this.projectionDelta),c=this.getTransformTemplate(),d=c?c(this.latestValues,""):void 0,m=d!==this.prevTransformTemplateValue;o&&this.instance&&(l||Ut(this.latestValues)||m)&&(r(this.instance,d),this.shouldResetTransform=!1,this.scheduleRender())}measure(o=!0){const l=this.measurePageBox();let c=this.removeElementScroll(l);return o&&(c=this.removeTransform(c)),Wf(c),{animationId:this.root.animationId,measuredBox:l,layoutBox:c,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:o}=this.options;if(!o)return nt();const l=o.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(qf))){const{scroll:d}=this.root;d&&(oe(l.x,d.offset.x),oe(l.y,d.offset.y))}return l}removeElementScroll(o){const l=nt();if(Ct(l,o),this.scroll?.wasRoot)return l;for(let c=0;c<this.path.length;c++){const d=this.path[c],{scroll:m,options:u}=d;d!==this.root&&m&&u.layoutScroll&&(m.wasRoot&&Ct(l,o),oe(l.x,m.offset.x),oe(l.y,m.offset.y))}return l}applyTransform(o,l=!1){const c=nt();Ct(c,o);for(let d=0;d<this.path.length;d++){const m=this.path[d];!l&&m.options.layoutScroll&&m.scroll&&m!==m.root&&le(c,{x:-m.scroll.offset.x,y:-m.scroll.offset.y}),Ut(m.latestValues)&&le(c,m.latestValues)}return Ut(this.latestValues)&&le(c,this.latestValues),c}removeTransform(o){const l=nt();Ct(l,o);for(let c=0;c<this.path.length;c++){const d=this.path[c];if(!d.instance||!Ut(d.latestValues))continue;Os(d.latestValues)&&d.updateSnapshot();const m=nt(),u=d.measurePageBox();Ct(m,u),xa(l,d.latestValues,d.snapshot?d.snapshot.layoutBox:void 0,m)}return Ut(this.latestValues)&&xa(l,this.latestValues),l}setTargetDelta(o){this.targetDelta=o,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(o){this.options={...this.options,...o,crossfade:o.crossfade!==void 0?o.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==lt.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(o=!1){const l=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=l.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=l.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=l.isSharedProjectionDirty);const c=!!this.resumingFrom||this!==l;if(!(o||c&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:m,layoutId:u}=this.options;if(!(!this.layout||!(m||u))){if(this.resolvedRelativeTargetAt=lt.timestamp,!this.targetDelta&&!this.relativeTarget){const h=this.getClosestProjectingParent();h&&h.layout&&this.animationProgress!==1?(this.relativeParent=h,this.forceRelativeParentToResolveTarget(),this.relativeTarget=nt(),this.relativeTargetOrigin=nt(),Re(this.relativeTargetOrigin,this.layout.layoutBox,h.layout.layoutBox),Ct(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=nt(),this.targetWithTransforms=nt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Xp(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Ct(this.target,this.layout.layoutBox),Zl(this.target,this.targetDelta)):Ct(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget)){this.attemptToResolveRelativeTarget=!1;const h=this.getClosestProjectingParent();h&&!!h.resumingFrom==!!this.resumingFrom&&!h.options.layoutScroll&&h.target&&this.animationProgress!==1?(this.relativeParent=h,this.forceRelativeParentToResolveTarget(),this.relativeTarget=nt(),this.relativeTargetOrigin=nt(),Re(this.relativeTargetOrigin,this.target,h.target),Ct(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||Os(this.parent.latestValues)||Gl(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){const o=this.getLead(),l=!!this.resumingFrom||this!==o;let c=!0;
20if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(c=!1),l&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(c=!1),this.resolvedRelativeTargetAt===lt.timestamp&&(c=!1),c)return;const{layout:d,layoutId:m}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(d||m))return;Ct(this.layoutCorrected,this.layout.layoutBox);const u=this.treeScale.x,h=this.treeScale.y;cp(this.layoutCorrected,this.treeScale,this.path,l),o.layout&&!o.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(o.target=o.layout.layoutBox,o.targetWithTransforms=nt());const{target:w}=o;if(!w){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(pa(this.prevProjectionDelta.x,this.projectionDelta.x),pa(this.prevProjectionDelta.y,this.projectionDelta.y)),De(this.projectionDelta,this.layoutCorrected,w,this.latestValues),(this.treeScale.x!==u||this.treeScale.y!==h||!Ca(this.projectionDelta.x,this.prevProjectionDelta.x)||!Ca(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",w))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(o=!0){if(this.options.visualElement?.scheduleRender(),o){const l=this.getStack();l&&l.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=ce(),this.projectionDelta=ce(),this.projectionDeltaWithTransform=ce()}setAnimationOrigin(o,l=!1){const c=this.snapshot,d=c?c.latestValues:{},m={...this.latestValues},u=ce();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!l;const h=nt(),w=c?c.source:void 0,g=this.layout?this.layout.source:void 0,p=w!==g,x=this.getStack(),y=!x||x.members.length<=1,v=!!(p&&!y&&this.options.crossfade===!0&&!this.path.some(Hf));this.animationProgress=0;let S;this.mixTargetDelta=j=>{const k=j/1e3;Na(u.x,o.x,k),Na(u.y,o.y,k),this.setTargetDelta(u),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Re(h,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Ff(this.relativeTarget,this.relativeTargetOrigin,h,k),S&&Nf(this.relativeTarget,S)&&(this.isProjectionDirty=!1),S||(S=nt()),Ct(S,this.relativeTarget)),p&&(this.animationValues=m,vf(m,d,this.latestValues,k,v,y)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=k},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(o){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(Bt(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=X.update(()=>{jn.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=fe(0)),this.currentAnimation=ff(this.motionValue,[0,1e3],{...o,velocity:0,isSync:!0,onUpdate:l=>{this.mixTargetDelta(l),o.onUpdate&&o.onUpdate(l)},onStop:()=>{},onComplete:()=>{o.onComplete&&o.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const o=this.getStack();o&&o.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Pf),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const o=this.getLead();let{targetWithTransforms:l,target:c,layout:d,latestValues:m}=o;if(!(!l||!c||!d)){if(this!==o&&this.layout&&d&&gc(this.options.animationType,this.layout.layoutBox,d.layoutBox)){c=this.target||nt();const u=dt(this.layout.layoutBox.x);
20c.x.min=o.target.x.min,c.x.max=c.x.min+u;const h=dt(this.layout.layoutBox.y);c.y.min=o.target.y.min,c.y.max=c.y.min+h}Ct(l,c),le(l,m),De(this.projectionDeltaWithTransform,this.layoutCorrected,l,m)}}registerSharedNode(o,l){this.sharedNodes.has(o)||this.sharedNodes.set(o,new Lf),this.sharedNodes.get(o).add(l);const d=l.options.initialPromotionConfig;l.promote({transition:d?d.transition:void 0,preserveFollowOpacity:d&&d.shouldPreserveFollowOpacity?d.shouldPreserveFollowOpacity(l):void 0})}isLead(){const o=this.getStack();return o?o.lead===this:!0}getLead(){const{layoutId:o}=this.options;return o?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:o}=this.options;return o?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:o}=this.options;if(o)return this.root.sharedNodes.get(o)}promote({needsReset:o,transition:l,preserveFollowOpacity:c}={}){const d=this.getStack();d&&d.promote(this,c),o&&(this.projectionDelta=void 0,this.needsReset=!0),l&&this.setOptions({transition:l})}relegate(){const o=this.getStack();return o?o.relegate(this):!1}resetSkewAndRotation(){const{visualElement:o}=this.options;if(!o)return;let l=!1;const{latestValues:c}=o;if((c.z||c.rotate||c.rotateX||c.rotateY||c.rotateZ||c.skewX||c.skewY)&&(l=!0),!l)return;const d={};c.z&&gs("z",o,d,this.animationValues);for(let m=0;m<fs.length;m++)gs(`rotate${fs[m]}`,o,d,this.animationValues),gs(`skew${fs[m]}`,o,d,this.animationValues);o.render();for(const m in d)o.setStaticValue(m,d[m]),this.animationValues&&(this.animationValues[m]=d[m]);o.scheduleRender()}applyProjectionStyles(o,l){if(!this.instance||this.isSVG)return;if(!this.isVisible){o.visibility="hidden";return}const c=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,o.visibility="",o.opacity="",o.pointerEvents=vn(l?.pointerEvents)||"",o.transform=c?c(this.latestValues,""):"none";return}const d=this.getLead();if(!this.projectionDelta||!this.layout||!d.target){this.options.layoutId&&(o.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,o.pointerEvents=vn(l?.pointerEvents)||""),this.hasProjected&&!Ut(this.latestValues)&&(o.transform=c?c({},""):"none",this.hasProjected=!1);return}o.visibility="";const m=d.animationValues||d.latestValues;this.applyTransformsToTarget();let u=Af(this.projectionDeltaWithTransform,this.treeScale,m);c&&(u=c(m,u)),o.transform=u;const{x:h,y:w}=this.projectionDelta;o.transformOrigin=`${h.origin*100}% ${w.origin*100}% 0`,d.animationValues?o.opacity=d===this?m.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:m.opacityExit:o.opacity=d===this?m.opacity!==void 0?m.opacity:"":m.opacityExit!==void 0?m.opacityExit:0;for(const g in Ke){if(m[g]===void 0)continue;const{correct:p,applyTo:x,isCSSVariable:y}=Ke[g],v=u==="none"?m[g]:p(m[g],d);if(x){const S=x.length;for(let j=0;j<S;j++)o[x[j]]=v}else y?this.options.visualElement.renderState.vars[g]=v:o[g]=v}this.options.layoutId&&(o.pointerEvents=d===this?vn(l?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(o=>o.currentAnimation?.stop()),this.root.nodes.forEach(Ta),this.root.sharedNodes.clear()}}}function Mf(t){t.updateLayout()}function Ef(t){const e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){const{layoutBox:n,measuredBox:i}=t.layout,{animationType:r}=t.options,a=e.source!==t.layout.source;r==="size"?Tt(m=>{const u=a?e.measuredBox[m]:e.layoutBox[m],h=dt(u);u.min=n[m].min,u.max=u.min+h}):gc(r,e.layoutBox,n)&&Tt(m=>{const u=a?e.measuredBox[m]:e.layoutBox[m],h=dt(n[m]);u.max=u.min+h,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[m].max=t.relativeTarget[m].min+h)});const o=ce();De(o,n,e.layoutBox);const l=ce();a?De(l,t.applyTransform(i,!0),e.measuredBox):De(l,n,e.layoutBox);const c=!hc(o);let d=!1;if(!t.resumeFrom){const m=t.getClosestProjectingParent();if(m&&!m.resumeFrom){const{snapshot:u,layout:h}=m;if(u&&h){const w=nt();Re(w,e.layoutBox,u.layoutBox);const g=nt();Re(g,n,h.layoutBox),wc(w,g)||(d=!0),m.options.layoutRoot&&(t.relativeTarget=g,t.relativeTargetOrigin=w,t.relativeParent=m)}}}t.notifyListeners("didUpdate",{layout:n,snapshot:e,delta:l,layoutDelta:o,hasLayoutChanged:c,hasRelativeLayoutChanged:d})}else if(t.isLead()){const{onExitComplete:n}=t.options;n&&n()}t.options.transition=void 0}function _f(t){t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.
20isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function Vf(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function Df(t){t.clearSnapshot()}function Ta(t){t.clearMeasurements()}function Sa(t){t.isLayoutDirty=!1}function Rf(t){const{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function ka(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function Bf(t){t.resolveTargetDelta()}function $f(t){t.calcProjection()}function Of(t){t.resetSkewAndRotation()}function zf(t){t.removeLeadSnapshot()}function Na(t,e,n){t.translate=Q(e.translate,0,n),t.scale=Q(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function La(t,e,n,i){t.min=Q(e.min,n.min,i),t.max=Q(e.max,n.max,i)}function Ff(t,e,n,i){La(t.x,e.x,n.x,i),La(t.y,e.y,n.y,i)}function Hf(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const Uf={duration:.45,ease:[.4,0,.1,1]},Aa=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),Pa=Aa("applewebkit/")&&!Aa("chrome/")?Math.round:Nt;function Ia(t){t.min=Pa(t.min),t.max=Pa(t.max)}function Wf(t){Ia(t.x),Ia(t.y)}function gc(t,e,n){return t==="position"||t==="preserve-aspect"&&!Yp(ja(e),ja(n),.2)}function qf(t){return t!==t.root&&t.scroll?.wasRoot}const Gf=fc({attachResizeListener:(t,e)=>Ye(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),xs={current:void 0},xc=fc({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!xs.current){const t=new Gf({});t.mount(window),t.setOptions({layoutScroll:!0}),xs.current=t}return xs.current},resetTransform:(t,e)=>{t.style.transform=e!==void 0?e:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"}),Zf={pan:{Feature:mf},drag:{Feature:uf,ProjectionNode:xc,MeasureLayout:dc}};function Ma(t,e,n){const{props:i}=t;t.animationState&&i.whileHover&&t.animationState.setActive("whileHover",n==="Start");const r="onHover"+n,a=i[r];a&&X.postRender(()=>a(e,rn(e)))}class Kf extends Ft{mount(){const{current:e}=this.node;e&&(this.unmount=w2(e,(n,i)=>(Ma(this.node,i,"Start"),r=>Ma(this.node,r,"End"))))}unmount(){}}class Yf extends Ft{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch{e=!0}!e||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=en(Ye(this.node.current,"focus",()=>this.onFocus()),Ye(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function Ea(t,e,n){const{props:i}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&i.whileTap&&t.animationState.setActive("whileTap",n==="Start");const r="onTap"+(n==="End"?"":n),a=i[r];a&&X.postRender(()=>a(e,rn(e)))}class Xf extends Ft{mount(){const{current:e}=this.node;e&&(this.unmount=x2(e,(n,i)=>(Ea(this.node,i,"Start"),(r,{success:a})=>Ea(this.node,r,a?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const Gs=new WeakMap,bs=new WeakMap,Jf=t=>{const e=Gs.get(t.target);e&&e(t)},Qf=t=>{t.forEach(Jf)};function t1({root:t,...e}){const n=t||document;bs.has(n)||bs.set(n,{});const i=bs.get(n),r=JSON.stringify(e);return i[r]||(i[r]=new IntersectionObserver(Qf,{root:t,...e})),i[r]}function e1(t,e,n){const i=t1(e);return Gs.set(t,n),i.observe(t),()=>{Gs.delete(t),i.unobserve(t)}}const n1={some:0,all:1};class s1 extends Ft{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:n,margin:i,amount:r="some",once:a}=e,o={root:n?n.current:void 0,rootMargin:i,threshold:typeof r=="number"?r:n1[r]},l=c=>{const{isIntersecting:d}=c;if(this.isInView===d||(this.isInView=d,a&&!d&&this.hasEnteredView))return;d&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",d);const{onViewportEnter:m,onViewportLeave:u}=this.node.getProps(),h=d?m:u;h&&h(c)};return e1(this.node.current,o,l)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:e,prevProps:n}=this.node;["amount","margin","root"].some(i1(e,n))&&this.startObserver()}unmount(){}}function i1({viewport:t={}},{viewport:e={}}={}){return n=>t[n]!==e[n]}const r1={inView:{Feature:s1},tap:{Feature:Xf},focus:{Feature:Yf},hover:{Feature:Kf}},a1={layout:{ProjectionNode:xc,MeasureLayout:dc}},o1={...Up,...r1,...Zf,...a1},l1=ap(o1,bp),c1=()=>s.jsx("svg",{className:"tr-image-gallery-arrow-left",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:s.jsx("path",{fill:"#fff",d:"M6.9 15.3.3 8.7 0 8.4 0 8v-.4l.3-.3L6.9.7q.3-.3.7-.3t.7.3.3.7-.3.7L3.4 7h11.2q.4 0 .7.3t.3.7-.3.7l-.7.3H3.4l4.9 4.9q.3.3.3.7t-.3.7l-.7.3z"})}),d1=()=>s.jsx("svg",{className:"tr-image-gallery-arrow-right",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:s.jsx("path",{fill:"#fff",d:"m7.3 15.3-.3-.7q0-.4.3-.7L12.2 9H1l-.7-.3L0 8q0-.4.3-.7T1 7h11.2l-5-4.9-.2-.7q0-.4.3-.7T8 .4t.7.3l6.6 6.6.2.3v.8l-.2.3-6.6 6.6-.7.3z"})}),u1=()=>s.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-label":"got to first slide",children:[s.jsx("polyline",{points:"9 14 4 9 9 4"}),s.jsx("path",{d:"M20 20v-7a4 4 0 0 0-4-4H4"})]}),m1=()=>s.jsx("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:s.jsx("path",{className:"tw-fill-primary-100",fill:"#191c1e",d:"m7 8.4-4.9 4.9-.7.3-.7-.3-.3-.7q0-.4.3-.7L5.6 7 .7 2.1l-.3-.7q0-.4.3-.7t.7-.3.7.3L7 5.6 11.9.7q.3-.3.7-.3t.7.3.3.7-.3.7L8.4 7l4.9 4.9q.3.3.3.7t-.3.7l-.7.3-.7-.3z"})}),_a=(t=!1)=>{const[e,n]=f.useState(t),i=f.useCallback(()=>n(r=>!r),[]);return[e,i]},h1=(t=0)=>{const[e,n]=f.useState(t),[i,r]=f.useState(t);return[e,()=>{e+1===i?n(0):e+1<i&&n(c=>c+1)},()=>{e===0?n(i-1):e-1>=0&&n(c=>c-1)},()=>{n(t)},r,n]},w1=(t,e)=>{const n=f.useRef(null),i=f.useRef(t);return f.useEffect(()=>{i.current=t}),f.useEffect(()=>{const r=()=>i.current();if(typeof e=="number")return n.current=window.setInterval(r,e),()=>window.clearInterval(n.current)},[e]),n.current},ys=(t,e=400)=>{if(!t)return t;try{const n=new URL(t);return n.searchParams.set("w",String(e)),n.searchParams.set("auto","compress,format"),n.toString()}catch{return t}},p1=f.lazy(()=>Ja(()=>import("./SveLightboxSwiper-B8DQj9rl.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8]))),f1=async t=>{const e=await t.map(n=>new Promise(function(i,r){const a=new Image;a.src=n,a.onload=i(),a.onerror=r()}));await Promise.all(e)},g1=({condition:t,wrapper:e,children:n})=>t?e(n):n,vs=({src:t,alt:e,position:n=""})=>s.jsx(M.ImageV2,{className:`fp-image-wrapper ${n} tw-shrink-0 tw-rounded tw-w-auto tw-max-w-full tw-h-full [&>img]:tw-h-full [&>img]:tw-w-auto`,src:t,alt:e,imageWidth:"75vw",imageHeight:"60vw",sizes:"(max-width: 992px) 75vw, 730px"}),x1=({slides:t,autoPlayTime:e=1e3})=>{const[n,i]=f.useState(!0),[r,a,o,l,c,d]=h1(),[m,u]=f.useState(null),[h,w]=f.useState(null),[g,p]=f.useState(null),[x,y]=f.useState(null),[v,S]=_a(),[j,k]=_a(),[I,V]=f.useState(null),[A,E]=f.useState(!1),[B,R]=f.useState(0),[F,J]=f.useState(!1);let Z=!1;const T=50;f.useEffect(()=>{const P=document.documentElement.clientWidth;P<1001&&P>685?V((P-685)/2):P<685?V(16):V(173),f1(t.map(q=>q.image)),c(t.length)},[t,c]),f.useEffect(()=>{if(!t||t.length===0||r<0||r>=t.length)return;const{title:P,text:q,image:wt,source:Lt}=t[r];w({title:P,text:q,image:wt,source:Lt});const pt=t.length-1;if(t.length===1)p(null),y(null);else if(t.length>=2){const jt=r===0?pt:r-1,ot=r===pt?0:r+1;p(t[jt]),y(t[ot])}r===pt&&v&&S()},[r,t,S,v]);const D=()=>{F||(o(),i(!1),J(!0))},L=()=>{F||(a(),i(!0),J(!0))};w1(()=>{L()},v?e:null);const $=f.useCallback(P=>{P.key==="Escape"&&j&&k(!1)},[j,k]);f.useEffect(()=>(document.addEventListener("keyup",$,!1),()=>{document.removeEventListener("keyup",$,!1)}),[$]);const O=P=>{let q=(r+P)%t.length;q<0&&(q=t.length+q),R(q),E(!0)},U=P=>{if(F)return;const q=P.touches[0].clientX;u(q),Z=!1},Y=P=>{if(F||m===null||Z)return;const q=P.touches[0].clientX,wt=m-q;if(wt>T){L(),u(null),Z=!0;return}if(wt<-50){D(),u(null),Z=!0;return}},W=()=>{u(null)},et={enter:P=>({x:P>0?1e3:-1e3}),center:{x:0,opacity:1},exit:P=>({x:P>0?-1e3:1e3,opacity:1})};return f.useEffect(()=>{const P=document.querySelector("article");
20if(P)return A?P.classList.add("tw-z-[9999999999]","tw-relative"):P.classList.remove("tw-z-[9999999999]","tw-relative"),()=>{P.classList.remove("tw-z-[9999999999]","tw-relative")}},[A]),!t||t.length===0?null:s.jsxs(g1,{condition:j,wrapper:P=>s.jsx("div",{className:"slide slider-fullscreen tw-text-primary-100 tw-relative tw-overflow-hidden",children:P}),children:[s.jsxs("div",{className:"md:[&>.slider-controls]:!tw-flex [&>.slider-controls]:hover:tw-flex [&>.slider-controls]:tw-hidden tr-gallery gallery-wrapper tw-ml-[-173px] tw-relative tw-h-[530px] tw-aspect-video lg:!tw-h-auto tw-w-[1000px] lg:tw-w-[100vw] lg:-tw-ml-4 tw-overflow-hidden tw-rounded lg:tw-rounded-none tw-z-0",style:{marginLeft:`${-I}px`},children:[s.jsx(L2,{initial:!1,custom:n?1:-1,children:s.jsxs(l1.div,{custom:n?1:-1,variants:et,initial:"enter",animate:"center",exit:"exit",transition:{x:{type:"spring",stiffness:300,damping:30},opacity:{duration:.2}},onAnimationComplete:()=>J(!1),className:"slider tw-w-[100vw] -tw-left-[calc(100vw-1000px)/2] lg:tw-left-0 slide tw-text-primary-100 tw-absolute tw-bg-primary-100 lg:tw-h-full tw-h-[530px] tw-flex tw-gap-3 tw-items-start tw-justify-center tw-z-0 group",onTouchStart:U,onTouchMove:Y,onTouchEnd:W,children:[s.jsx("div",{className:"tw-cursor-pointer tw-h-[530px] tw-overflow-hidden tw-w-[730px] tw-shrink-0 tw-flex tw-justify-center tw-relative before:tw-absolute before:tw-inset-0 before:tw-content-[''] before:tw-bg-[image:var(--bg-image-prev)] before:tw-bg-cover before:tw-bg-no-repeat before:tw-bg-center before:tw-blur-md}",onClick:()=>O(-1),style:{"--bg-image-prev":g?.image?`url(${ys(g.image)})`:"none"},children:s.jsx(vs,{src:g?.image,position:"gallery-image-previous"})}),s.jsxs("div",{className:"tw-cursor-pointer tw-h-[530px] tw-overflow-hidden tw-w-[730px] md:tw-w-screen tw-shrink-0 tw-flex tw-justify-center tw-relative before:tw-absolute before:tw-inset-0 before:tw-content-[''] before:tw-bg-[image:var(--bg-image)] before:tw-bg-cover before:tw-bg-no-repeat before:tw-bg-center before:tw-blur-md tw-relateve",style:{"--bg-image":h?.image?`url(${ys(h.image)})`:"none"},onClick:()=>O(0),children:[s.jsx("div",{className:"tw-absolute tw-left-4 tw-top-4 tw-h-8 tw-px-3 tw-text-body-md tw-z-1 tw-rounded tw-bg-neutral-10 tw-text-neutral-100 tw-flex tw-items-center",children:s.jsxs("span",{className:"tw-text-neutral-100",children:[r+1," von ",t.length]})}),s.jsx(vs,{src:h?.image,alt:h?.text})]}),s.jsx("div",{className:"tw-cursor-pointer tw-h-[530px] tw-overflow-hidden tw-w-[730px] tw-shrink-0 tw-flex tw-justify-center tw-relative before:tw-absolute before:tw-inset-0 before:tw-content-[''] before:tw-bg-[image:var(--bg-image-next)] before:tw-bg-cover before:tw-bg-no-repeat before:tw-bg-center before:tw-blur-md}",onClick:()=>O(1),style:{"--bg-image-next":x?.image?`url(${ys(x.image)})`:"none"},children:s.jsx(vs,{src:x?.image,position:"gallery-image-next"})})]},r)}),s.jsxs("div",{className:"slider-controls slider-action-wrapper tw-items-center tw-justify-center tw-flex-wrap tw-mt-4",children:[s.jsx("button",{className:"slider-action-button slider-action-button_prev tw-absolute tw-bg-primary-0/70 tw-z-10 tw-h-10 tw-w-10 tw-inline-flex tw-items-center tw-justify-center tw-text-primary-100 tw-transition-all tw-duration-200 tw-ease-in-out tw-rounded-full tw-mx-2 tw-my-0 disabled:tw-opacity-40 disabled:tw-cursor-not-allowed tw-left-2.5 tw-top-[calc(50%-10px)] -tw-translate-y-1/2 hover:tw-bg-primary-0",onClick:D,disabled:F,children:s.jsx(c1,{})}),s.jsx("button",{className:"slider-action-button slider-action-button_next tw-absolute tw-bg-primary-0/70 tw-z-10 tw-h-10 tw-w-10 tw-inline-flex tw-items-center tw-justify-center tw-text-primary-100 tw-transition-all tw-duration-200 tw-ease-in-out tw-rounded-full tw-mx-2 tw-my-0 disabled:tw-opacity-40 disabled:tw-cursor-not-allowed tw-right-2.5 tw-top-[calc(50%-10px)] -tw-translate-y-1/2 hover:tw-bg-primary-0",onClick:L,disabled:F,children:s.jsx(d1,{})}),s.jsx("button",{className:"slider-action-button slider-action-button_reset tw-absolute tw-bg-primary-0/70 tw-z-10 tw-h-10 tw-w-10 tw-inline-flex tw-items-center tw-justify-center tw-text-primary-100 t
20w-transition-all tw-duration-200 tw-ease-in-out tw-rounded-full tw-mx-2 tw-my-0 disabled:tw-opacity-40 disabled:tw-cursor-not-allowed ",onClick:l,children:s.jsx(u1,{})}),s.jsx("button",{className:`slider-action-button slider-action-button_fullscreenn ${j?"tw-absolute tw-bg-primary-0/70 tw-z-10 tw-h-10 tw-w-10 tw-inline-flex tw-items-center tw-justify-center tw-text-primary-100 tw-transition-all tw-duration-200 tw-ease-in-out tw-rounded-full tw-mx-2 tw-my-0 tw-top-3.5 tw-right-2.5 landscape:tw-bg-primary-0/70 landscape:tw-text-primary-100":"!tw-hidden"}`,onClick:k,children:s.jsx(m1,{})})]})]}),s.jsxs("div",{className:"fp-gallery-image-info tw-mb-3.5 tw-font-normal tw-text-sm tw-text-neutral-10 tw-py-2.5 tw-bg-primary-100 tw-mx-auto tw-my-0 tw-max-w-[660px] embedScreen:tw-px-4",children:[h?.text," ",h?.source?`(Foto: ${h.source})`:null]}),A&&s.jsx(f.Suspense,{fallback:null,children:s.jsx(p1,{images:t.map(({image:P,text:q})=>({src:P,alt:q||""})),initialSlide:B,handleClose:P=>{E(!1),d(P)},isLightBoxOpen:A})})]})},b1=Xc(["content","image"]),y1=(t,e)=>({text:sr(["content","caption"],t),image:H(t.content,"image"),source:sr(["content","source"],t),key:e}),v1=Ya(xt),j1=at(mt(Boolean),v1(Jc(b1,y1,ei(!1)))),C1=({content:t})=>{const e=b(null,[0],t);if(e){const n=b(!1,["preview"],e),i=b([],["content",0,"containers","article_body"],e),r=j1(i);return s.jsx(x1,{slides:r,preview:n})}return null},T1=C("gallery-embed-template",C1),S1=t=>{const{content:e,preview:n}=t;if(n)return s.jsxs("ul",{className:"tw-flex tw-flex-wrap tw-gap-3",children:[s.jsx("li",{className:"tw-border tw-text-label-md tw-font-normal tw-leading-5 tw-h-8 sm:tw-font-normal tw-border-solid tw-bg-white tw-border-neutral-80 tw-py-1.5 tw-px-3 tw-font-primary tw-tracking-wider tw-rounded-full tw-transition-all tw-duration-200 tw-cursor-pointer hover:tw-bg-neutral-95 focus:tw-bg-neutral-95 focus:tw-border-neutral-30 !tw-text-neutral-10 tw-inline-block !tw-no-underline",children:"Placeholder"}),s.jsx("li",{className:"tw-border tw-text-label-md tw-font-normal tw-leading-5 tw-h-8 sm:tw-font-normal tw-border-solid tw-bg-white tw-border-neutral-80 tw-py-1.5 tw-px-3 tw-font-primary tw-tracking-wider tw-rounded-full tw-transition-all tw-duration-200 tw-cursor-pointer hover:tw-bg-neutral-95 focus:tw-bg-neutral-95 focus:tw-border-neutral-30 !tw-text-neutral-10 tw-inline-block !tw-no-underline",children:"Topics"}),s.jsx("li",{className:"tw-border tw-text-label-md tw-font-normal tw-leading-5 tw-h-8 sm:tw-font-normal tw-border-solid tw-bg-white tw-border-neutral-80 tw-py-1.5 tw-px-3 tw-font-primary tw-tracking-wider tw-rounded-full tw-transition-all tw-duration-200 tw-cursor-pointer hover:tw-bg-neutral-95 focus:tw-bg-neutral-95 focus:tw-border-neutral-30 !tw-text-neutral-10 tw-inline-block !tw-no-underline",children:"For"}),s.jsx("li",{className:"tw-border tw-text-label-md tw-font-normal tw-leading-5 tw-h-8 sm:tw-font-normal tw-border-solid tw-bg-white tw-border-neutral-80 tw-py-1.5 tw-px-3 tw-font-primary tw-tracking-wider tw-rounded-full tw-transition-all tw-duration-200 tw-cursor-pointer hover:tw-bg-neutral-95 focus:tw-bg-neutral-95 focus:tw-border-neutral-30 !tw-text-neutral-10 tw-inline-block !tw-no-underline",children:"Editor"})]});const i=e&&e[0]?.menu,a=(G.useContext(Io)||{})[i];return a?s.jsx("nav",{children:s.jsx("ul",{className:"tw-flex tw-overflow-x-auto tw-whitespace-nowrap tw-gap-3 tw-pb-[0.7rem]",children:a.map(o=>o.href||o.uri||o.path?s.jsx("li",{className:"tw-border tw-text-label-md tw-font-normal tw-leading-5 tw-h-8 sm:tw-font-normal tw-border-solid tw-bg-white tw-border-neutral-80 tw-py-1.5 tw-px-3 tw-font-primary tw-tracking-wider tw-rounded-full tw-transition-all tw-duration-200 tw-cursor-pointer hover:tw-bg-neutral-95 focus:tw-bg-neutral-95 focus:tw-border-neutral-30",children:s.jsx(rt,{className:"tw-text-neutral-10 tw-inline-block !tw-no-underline",to:o.href||o.uri||o.path.substring(o.path.lastIndexOf("/")+1),children:o.label})},o.id):s.jsx(s.Fragment,{}))})}):null},k1=C("related-topics-template",S1),N1=t=>s.jsx("div",{children:s.jsx("div",{className:"fp-article-group-small advertorial-teaser-border",children:t.content.map(e=>s.jsx(K,{title:e.title,date:e.date,teaser:e.teaser,link:e.link,image:H(e,"image","4:3"),mobileImage:H(e,"image","1:1"),categoryLabel:e.categoryLabel,catchline:e.catchline,location:e.location,contentType:e.contentType,theme:e.theme,showPaywallBadge:e.paywall==="premium",type:"small",sizes:"(max-width: 768px) 90px, calc(998px / 3)",additionalDescription:e.additionalDescription},e.link))})}),L1=C("advertorial-teaser-template",N1),A1=({content:t})=>{const e=b({},[0],t);return s.jsx(K,{title:e.title,date:e.date,teaser:e.teaser,link:e.link,image:H(e,"image"),mobileImage:H(e,"image"),location:e.location,catchline:e.catchline,contentType:e.contentType,categoryLabel:e.categoryLabel,theme:e.theme,showPaywallBadge:e.paywall==="premium",type:"large",sizes:"(max-width: 576px) 70vw, calc(998px / 3)",headerType:"p",additionalDescription:e.additionalDescription},e.link)},P1=C("single-teaser-template",A1),I1=t=>t.content.map(e=>s.jsx("div",{className:"carousel-item tw-w-[calc(33.33%_-(2rem/3))] tw-snap-start sm:tw-w-[70%] tw-mb-4 tw-shrink-0 tw-bg-white",children:s.jsx(K,{title:e.title,date:e.date,teaser:e.teaser,link:e.link,image:H(e,"image"),mobileImage:H(e,"image"),location:e.location,catchline:e.catchline,contentType:e.contentType,categoryLabel:e.categoryLabel,theme:e.theme,showPaywallBadge:e.paywall==="premium",type:"large",sizes:"(max-width: 576px) 70vw, calc(998px / 3)",headerType:"p",additionalDescription:e.additionalDescription},e.link)},e.link)),M1=C("horizontal-teasers-list-template",I1),E1=({videoUrl:t,image:e,ldJson:n})=>{const i=f.useRef(null),[r,a]=f.useState(null);return f.useEffect(()=>((async()=>{try{const l=await fetch(t,{headers:{Range:"bytes=0-2097150"}});if(!l.ok&&l.status!==206){console.error("Failed to fetch video segment");return}const c=await l.blob(),d=URL.createObjectURL(c);a(d)}catch(l){console.error("Error fetching video segment:",l)}})(),()=>{r&&URL.revokeObjectURL(r)}),[t]),f.useEffect(()=>{if(!i.current)return;const o=i.current,l=["play","pause","timeupdate","volumechange","seeking","seeked","ended"],c=m=>{m.stopImmediatePropagation(),m.preventDefault()};l.forEach(m=>o.addEventListener(m,c,!0));const d=setInterval(()=>{o.currentTime=0},5e3);return()=>{l.forEach(m=>o.removeEventListener(m,c)),clearInterval(d)}},[r]),r?s.jsxs(s.Fragment,{children:[s.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:n}}),s.jsx("video",{ref:i,className:"tw-w-full tw-h-full tw-object-cover",src:r,poster:e,controls:!1,playsInl
20ine:!0,muted:!0,autoPlay:!0})]}):null},_1=t=>{const{additionalDescription:e,index:n=0,shouldLoad:i=!0,contentType:r}=t,a=e?.thumbnail?.video,{code:o}=ri()||{},l=e.brands?.[o],c=l?.title||t.title,d=l?.location||t.location,m=n===0;return s.jsx(rt,{to:t.link,"aria-label":c,className:"tr-entire-article-stage buhne-article tw-relative tw-rounded-xl sm:tw-rounded-none tw-aspect-video sm:tw-aspect-auto sm:tw-h-[442px] tw-w-full tw-basis-full tw-shrink-0",children:s.jsxs("div",{className:"tw-relative tw-h-full tw-w-full tw-flex tw-flex-col tw-justify-end tw-bg-neutral-70 tw-z-1",children:[i&&(a?s.jsx("div",{className:"tw-absolute tw-h-full tw-w-full tw-inset-0 tw-z-1 tw-overflow-hidden",children:s.jsx(E1,{videoUrl:e?.thumbnail?.video,imageUrl:e?.thumbnail?.image,ldJson:e?.thumbnail?.ldJson})}):s.jsx("div",{className:"tw-absolute tw-w-full tw-inset-0 tw-z-1 tw-overflow-hidden",children:s.jsx(M.ImageV2,{src:t.imageSrc,mobileSrc:t.mobileImageSrc,sizes:"(max-width: 1024px) 70vw, 968px",alt:"",fetchpriority:m?"high":"lazy",className:"tw-w-full sm:tw-h-full [&>img]:tw-animate-breathing [&>img]:tw-w-full [&>img]:sm:tw-h-full [&>img]:sm:tw-object-cover",imageHeight:543,imageWidth:968})})),s.jsx("div",{className:"tw-z-10 before:tw-h-[340px] tw-relative before:tw-absolute before:tw-content-empty before:tw-bg-overlay-buhne before:tw-w-full before:tw-bottom-0",children:s.jsxs("div",{className:"tw-flex tw-flex-col tw-gap-4 tw-px-6 tw-pb-6 tw-z-10 tw-relative tw-max-w-1/2 md:tw-max-w-full",children:[s.jsxs("div",{className:"tw-flex tw-flex-col tw-gap-1",children:[["regular-advertorial-article"].includes(r)&&s.jsx("span",{className:"tw-text-body-sm tw-font-primary tw-text-neutral-10 tw-inline-flex tw-items-center tw-rounded-sm tw-h-5 tw-bg-neutral-95 tw-px-1.5 tw-py-0.5 tw-leading-[1] tw-w-fit",children:"Anzeige"}),s.jsx("p",{className:"tw-mb-1 tw-font-primary tw-text-headline-sm tw-text-primary-100 [text-shadow:0_4px_8px_rgba(0,_0,_0,_0.10),_0_2px_4px_rgba(0,_0,_0,_0.06)]",children:c}),s.jsxs("p",{className:"tw-text-body-sm tw-text-primary-100 tw-mb-0",children:[d&&s.jsx("span",{className:"tw-mb-4 tw-font-primary tw-text-primary-100 tw-uppercase [text-shadow:0_4px_8px_rgba(0,_0,_0,_0.10),_0_2px_4px_rgba(0,_0,_0,_0.06)]",children:d}),s.jsxs("span",{className:" tw-tracking-wider tw-uppercase tw-text-primary-100 tw-font-primary sm:tw-text-body-sm",children:[" ",s.jsx("span",{className:"tw-text-body-sm tw-mx-1 tw-text-primary-100",children:"•"})," ","Lesedauer: ",t.additionalDescription.readTime," min"]})]})]}),s.jsx("div",{className:"tw-flex tw-justify-between tw-z-10",children:s.jsx("div",{className:"tw-mt-auto",children:s.jsx(Do,{variant:"primary",size:"medium",label:t.type==="video"?"Jetzt ansehen":"Jetzt lesen",onClick:()=>{window.location.href=`${t.link}`},customClassName:"tr-cta-stage tw-w-[117px]"})})})]})})]})})},V1=t=>{const e=t.content||[],[n,i]=f.useState(0),[r,a]=f.useState(1),[o,l]=f.useState(null),c=f.useRef(),[d,m]=f.useState(!1),[u,h]=f.useState(!1),[w,g]=f.useState(null),[p,x]=f.useState(5e3),y=f.useRef(null),v=f.useRef(),S=5e3;f.useEffect(()=>(d||(v.current=setInterval(()=>{x(R=>R-1e3)},1e3)),()=>{v.current&&clearInterval(v.current)}),[d]);const j=()=>{v.current&&(clearInterval(v.current),v.current=null)},k=R=>{j(),m(!0),g(R.touches[0].clientX)},I=R=>{m(!1),u>1?h(0):u<=0&&(w<0?(R.preventDefault(),E(),h(0)):w>=o-0&&(R.preventDefault(),A(),h(0)))};f.useEffect(()=>{c.current&&l(c.current.getBoundingClientRect().width),a(R=>Math.max(R,n+1))},[n,o]),f.useEffect(()=>(y.current=setTimeout(()=>{A()},p),()=>clearTimeout(y.current)),[n,p]);function V(R){i(R)}const A=()=>{const R=c.current.querySelectorAll(".buhne-article"),F=n+1;F<=R.length-1?V(n+1):F===R.length&&(V(0),i(0)),x(S)},E=()=>{const R=c.current.querySelectorAll(".buhne-article");n>0?V(n-1):V(R.length-1),x(S)};f.useEffect(()=>{let R=null;return d?(B(),R=setInterval(()=>{h(F=>F+1)},1e3)):!d&&u!==0&&(clearInterval(R),h(0)),()=>clearInterval(R)},[d,u]);const B=()=>{y.current&&(clearTimeout(y.current),y.current=null)};return s.jsxs("div",{className:"tw-flex tw-overflow-hidden tw-relative tw-rounded-xl sm:tw-rounded-none tw-z-1 sm:-tw-mx-4",children:[s.jsxs("div",{onTouchStart:k,onTouchEnd:I,ref:c,className:"potential-wrapper tw-w-full tw-relative tw-flex tw-z-1",children:[s.jsx("div",{className:"tw-h-[2px] tw-w-full tw-flex tw-gap-1 tw-absolute tw-top-5 tw-left-5 tw-z-10",style:{width:`${o-40}px`},children:e.map((R,F)=>s.jsx("div",{className:`slides-lines tw-relative tw-h-0.5 tw-shrink tw-bg-neutral-80 tw-rounded [&.active]:before:tw-bg-primary-100 before:tw-absolute before:tw-content-empty before:tw-h-full [&.active]:before:tw-w-0 [&.active]:before:tw-animate-fill-slide [&.passed]:before:tw-bg-neutral-100 [&.passed]:before:tw-w-full tw-max-w-12 sm:tw-max-w-[33.33%] tw-w-full ${F===n?"active":""} ${F<n?"passed":""} ${d?"before:![animation-play-state:paused]":"before:![animation-play-state:running]"}`},F))}),s.jsx("div",{className:"articles-slider tw-flex tw-w-full tw-transition-transform tw-duration-500 tw-ease-in",style:{transform:`translateX(-${n*o}px)`},children:e.map((R,F)=>{const J=b("",["link"],R),Z=b("",["contentType"],R),T=b("",["additionalDescription","type"],R),D=b(0,["additionalDescription","galleryImageCount"],R),L=b("",["location"],R),$=b("",["title"],R),O
20=b({},["additionalDescription"],R);return s.jsx(_1,{contentType:Z,type:T,galleryImageCount:D,imageSrc:H(R,"image","16:9"),mobileImageSrc:H(R,"image","4:3"),location:L,title:$,link:J,index:F,currentSlide:n,shouldLoad:F<=r,additionalDescription:O},J)})})]}),s.jsxs("div",{className:"tw-absolute tw-right-6 tw-bottom-6 tw-flex tw-gap-2 tw-z-10",children:[s.jsx("span",{onClick:E,role:"button",tabIndex:"0","aria-label":"Zurück",className:"tw-cursor-pointer tr-stage-arrow-left tw-h-10 tw-w-10 tw-flex tw-justify-center tw-items-center tw-bg-neutral-100 tw-opacity-70 tw-rounded-full tw-rotate-180 hover:tw-transition-all hover:tw-opacity-100 hover:tw-duration-200 hover:tw-ease-linear",children:s.jsx("svg",{className:"tr-stage-arrow-left",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:s.jsx("path",{d:"M9 18L15 12L9 6",stroke:"#191C1E",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}),s.jsx("span",{role:"button","aria-label":"Vorwärts",tabIndex:"0",onClick:A,className:"tw-cursor-pointer tr-stage-arrow-right tw-h-10 tw-w-10 tw-flex tw-justify-center tw-items-center tw-bg-neutral-100 tw-opacity-70 tw-rounded-full hover:tw-bg-neutral-100 hover:tw-transition-all hover:tw-opacity-100 hover:tw-duration-200 hover:tw-ease-linear",children:s.jsx("svg",{className:"tr-stage-arrow-right",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:s.jsx("path",{d:"M9 18L15 12L9 6",stroke:"#191C1E",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})]})]})},D1=C("buhne-teasers-list-template",V1),R1=t=>t.content.map(e=>s.jsx("div",{className:"beliebteste-artikel carousel-item",children:s.jsx(K,{title:e.title,date:e.date,teaser:e.teaser,hideDescription:!0,link:e.link,image:H(e,"image","1:1"),mobileImage:H(e,"image","4:3"),location:e.location,catchline:e.catchline,contentType:e.contentType,categoryLabel:e.categoryLabel,theme:e.theme,showPaywallBadge:e.paywall==="premium",type:"small",sizes:"(max-width: 768px) 64vw, 108px",headerType:"p",additionalDescription:e.additionalDescription},e.link)},e.link)),B1=C("beliebteste-artikel-template",R1);function $1(t){if(/^a minute ago$/i.test(t))return"vor 1 Minute";if(/^an hour ago$/i.test(t))return"vor 1 Stunde";if(/(\d+)\sminutes?\sago/.test(t)){const e=t.match(/(\d+)/)[0];return e==="1"?"vor 1 Minute":`vor ${e} Minuten`}if(/(\d+)\shours?\sago/.test(t)){const e=t.match(/(\d+)/)[0];return e==="1"?"vor 1 Stunde":`vor ${e} Stunden`}if(/(\d+)\sdays?\sago/.test(t)){const e=t.match(/(\d+)/)[0];return e==="1"?"vor 1 Tag":`vor ${e} Tagen`}if(/(\d+)\syears?\sago/.test(t)){const e=t.match(/(\d+)/)[0];return e==="1"?"vor 1 Jahr":`vor ${e} Jahren`}if(/in\s(\d+)\syears?/.test(t)){const e=t.match(/(\d+)/)[0];return e==="1"?"vor 1 Jahren":`in ${e} Jahren`}return t}const O1=t=>t.content.map((e,n)=>s.jsxs(rt,{to:e.link,"aria-label":e.title,className:`[&_.label]:hover:tw-underline lg:tw-flex-auto lg:tw-shrink-0 tw-flex-1 tw-min-w-0 hover:tw-cursor-pointer tw-flex tw-flex-col tw-gap-1 tw-pr-2 md:tw-pr-3.5 last:tw-pr-0 tw-max-w-[max(300px,33.333333333%)] tw-shrink-0 tw-w-full ${n<t.content.length-1?"tw-border-r tw-border-r-neutral-80 tw-border-solid":""}`,style:{maxWidth:"max(300px, 33.33333333%)"},children:[s.jsx("span",{className:"tw-text-tertiary-10 tw-uppercase tw-text-body-sm",children:$1(e.date?.replaceAll("/","."))}),s.jsx("span",{className:"label tw-text-neutral-10 tw-font-primary tw-text-label-lg tw-break-words",children:e.title})]},e.link)),z1=C("newsticker-template",O1),F1=["regular-heimat-article","regular-advertorial-article","regular-sonderthemen-article","regular-gallery"],Va=t=>F1.includes(t?.contentType)||t?.additionalDescription?.type==="gallery",H1=({fourArticles:t,topicTitle:e,wrapperClassName:n="",showBorderTop:i=!0})=>{const[r,...a]=t,o=b("",["additionalDescription","type"],r),l=i?"tw-border-t tw-border-solid tw-border-neutral-10 tw-mt-4":"";return s.jsxs("div",{className:`tw-mb-4 component-border-top ${l}`,children:[e&&s.jsx("h2",{className:"tw-text-title-md tw-mb-4 tw-mt-3 tw-block",children:`Neue Artikel: ${e}`}
20),s.jsxs("div",{className:`tw-grid tw-gap-x-4 md:tw-flex md:tw-flex-col tw-grid-cols-[44%_auto] ${n}`,children:[s.jsxs(rt,{className:"tw-pb-4",to:r.link,children:[o==="video"?s.jsxs("div",{className:"tw-relative",children:[s.jsx(ks,{iconSize:"small",articleType:o}),s.jsx(M.ImageV2,{className:"[&>img]:tw-w-full [&>img]:tw-aspect-video [&>img]:tw-object-cover [&>img]:tw-rounded md:[&>img]:tw-mb-4 [&>img]:tw-mb-2",sizes:"(max-width: 576px) 100vw, calc(998px / 2)",src:ne(r.image,"16:9"),alt:""})]}):s.jsx(M.ImageV2,{className:"[&>img]:tw-w-full [&>img]:tw-aspect-video [&>img]:tw-object-cover [&>img]:tw-rounded md:[&>img]:tw-mb-4 [&>img]:tw-mb-2",sizes:"(max-width: 576px) 100vw, calc(998px / 2)",src:ne(r.image,"16:9"),alt:""}),Va(r)?s.jsxs("div",{className:"tw-line-clamp-1 tw-text-ellipsis tw-flex tw-items-center tw-mb-2",children:[s.jsx(pe,{galleryImageCount:r?.additionalDescription?.galleryImageCount,type:r?.contentType,metadataType:r?.additionalDescription?.type}),s.jsx("span",{className:"tw-text-primary-40 tw-text-label-sm tw-block md:tw-text-label-md",children:r.catchline})]}):s.jsx("span",{className:"tw-text-primary-40 tw-text-label-sm tw-block md:tw-text-label-md tw-mb-2",children:r.catchline}),s.jsx("p",{className:"tw-text-label-lg tw-mb-2 tw-font-primary tw-line-clamp-2 md:tw-text-title-md",children:r?.title}),s.jsx("p",{className:"tw-text-body-md tw-font-primary tw-mb-2 tw-line-clamp-3 tw-hidden md:tw-block",children:r?.teaser}),s.jsxs("span",{className:"sve-article-region !tw-my-0 tw-text-body-sm tw-uppercase tw-text-tertiary-10 tw-font-primary",children:[r.date," • ",r?.location]})]}),s.jsx("div",{className:"tw-pl-4 tw-flex tw-flex-col md:tw-border-0 md:tw-pl-0 tw-border-l tw-border-neutral-80 tw-border-solid",children:a.map((c,d)=>{const m=`${c.link}-${d}`,u=b("",["additionalDescription","type"],c);return s.jsxs(rt,{className:`tw-flex tw-gap-x-2 tw-border-solid tw-border-neutral-80 tw-py-4 first:tw-pt-0 md:first:tw-border-t md:first:tw-border-t-neutral-80 md:first:tw-border-t-solid md:tw-py-4 md:first:tw-pt-4 ${d!==a.length-1?"tw-border-b":""}`,to:c.link,children:[u==="video"?s.jsxs("div",{className:"tw-relative tw-shrink-0 tw-flex",children:[s.jsx(ks,{iconSize:"small",articleType:u}),s.jsx(M.ImageV2,{className:"tw-inline-block [&>img]:tw-w-full tw-max-w-[200px] md:tw-max-w-[140px] tw-aspect-video [&>img]:tw-object-cover [&_img]:tw-h-full md:tw-w-[83px] md:tw-h-[83px] tw-overflow-hidden tw-rounded",sizes:"(max-width: 576px) 83px, (max-width: 768px) 140px, 200px",src:ne(c.image,"16:9"),mobileSrc:ne(c.image,"1:1"),alt:""})]}):s.jsx(M.ImageV2,{className:"tw-shrink-0 tw-inline-block [&>img]:tw-w-full tw-max-w-[200px] md:tw-max-w-[140px] tw-aspect-video [&>img]:tw-object-cover [&_img]:tw-h-full md:tw-w-[83px] md:tw-h-[83px] tw-overflow-hidden tw-rounded",sizes:"(max-width: 576px) 83px, (max-width: 768px) 140px, 200px",src:ne(c.image,"16:9"),mobileSrc:ne(c.image,"1:1"),alt:""}),s.jsxs("div",{children:[Va(c)?s.jsxs("div",{className:"tw-line-clamp-1 tw-text-ellipsis tw-flex tw-items-center tw-mb-1",children:[s.jsx(pe,{galleryImageCount:c?.additionalDescription?.galleryImageCount,type:c?.contentType,metadataType:c?.additionalDescription?.type}),s.jsx("span",{className:"tw-text-primary-40 tw-text-label-sm md:tw-text-label-md tw-block",children:c?.catchline})]}):s.jsx("span",{className:"tw-text-primary-40 tw-text-label-sm md:tw-text-label-md tw-block tw-mb-1",children:c?.catchline}),s.jsx("p",{className:"tw-text-label-lg tw-mb-2 tw-font-primary tw-line-clamp-2 md:tw-text-body-md md:tw-font-medium",children:c?.title}),s.jsxs("span",{className:"sve-article-region !tw-my-0 tw-text-body-sm tw-uppercase tw-text-tertiary-10 tw-font-primary",children:[c?.date," • ",c?.location]})]})]},m)})})]})]})},U1=({fourArticles:t,topicTitle:e,wrapperClassName:n="",showBorderTop:i=!0})=>s.jsx(H1,{fourArticles:t,topicTitle:e,wrapperClassName:n,showBorderTop:i}),W1=t=>{const e=t.content||[];return s.jsx(U1,{fourArticles:e,wrapperClassName:"tw-pt-4",showBorderTop:!1})},q1=C("region-teaser-new-template",W1),G1=C("oembed",()=>s.jsx(s.Fragment,{children:s.jsx("div",{className:"fp-ombed tw-mb-6",children:s.jsx(N,{attribute:"oEmbed",children:s.jsx("div",{})})})})),Z1=C("oembed-include",({content:t})=>{const e=b("",["html"],t);return s.jsxs(s.Fragment,{children:[e&&s.jsx("div",{dangerouslySetInnerHTML:{__html:e}}),!t&&s.jsx("div",{style:{minHeight:"200px",lineHeight:"200px",textAlign:"center",margin:"16px 0",backgroundImage:"https://livingdocsio.github.io/livingdocs-design-assets/docs/icons/component-icons/icon_component_embed.svg",backgroundColor:"#ebebeb"},children:"Embed Placeholder"})]})}),K1=C("section-header",({content:t})=>{const e=b("",["section-title"],t);return s.jsx("div",{className:"tw-mb-15 lg:tw-mb-4 tw-pb-0",children:s.jsx("div",{className:"[&_h3]:tw-pt-1 [&_h3]:tw-font-primary",children:s.jsx("h3",{dangerouslySetInnerHTML:{__html:e}})})})}),Y1=C("section-header-2",({content:t})=>{const e=b("",["section-title"],t);return s.jsx("div",{className:"tw-mb-4 tw-pb-0",children:s.jsx("div",{className:"[&_h3]:tw-pt-1 [&_h3]:tw-font-primary",children:s.jsx("h2",{dangerouslySetInnerHTML:{__html:e}})})})}),X1=C("section-header-1",({content:t})=>{const e=b("",["section-title"],t);return s.jsx("div",{className:"tw-mb-6 lg:tw-mb-4",children:s.jsx("div",{className:"[&_h3]:tw-pt-1 [&_h3]:tw-font-primary",children:s.jsx("h1",{dangerouslySetInnerHTML:{__html:e}})})})}),J1=C("section-header-4",({content:t})=>{const e=b("",["section-title"],t);return s.jsx("div",{className:"tw-mb-6 lg:tw-mb-4",children:s.jsx("div",{className:"[&_h3]:tw-pt-1 tw-text-base [&_h3]:tw-font-primary",children:s.jsx("h4",{className:"tw-text-base tw-font-medium",dangerouslySetInnerHTML:{__html:e}})})})}),Q1=C("subtitle",({content:t})=>{const e=b("",["subtitle"],t);return s.jsx("h2",{"doc-editable":"subtitle",className:"tw-font-medium tw-mb-4 tw-text-2xl md:tw-mb-3 tw-col-span-6 tw-col-start-6 sm:tw-text-xl",dangerouslySetInnerHTML:{__html:e}})}),tg=C("sve-gallery-container",()=>s.jsx("article",{className:"fp-grid-row",children:s.jsx("div",{className:"fp-grid-col-12",children:s.jsx("div",{className:"article_body tw-px-4 lg:tw-px-0",children:s.jsx(N,{attribute:"articleBody",children:s.jsx("div",{})})})})})),eg=C("sve-gallery-embed-teaser",()=>s.jsx("div",{children:s.jsx(N,{attribute:"teaser",children:s.jsx("div",{className:"editor-teaser tw-min-h-s-placeholder tw-bg-ld-placeholder tw-flex tw-items-center tw-justify-center tw-m-2"})})})),ng=C("sve-region-meine-heimat",({content:t})=>{const e=b("",["section-title"],t);return s.jsxs("div",{className:"fp-section fp-article-group-small sve-select-heimat tw-grid tw-mb-15 tw-mx-4 tw-pb-0 sm:tw-mb-10 grid",children:[s.jsx("div",{className:"g
20-col-12 g-col-md-12 tw-col-span-full",children:s.jsx("h2",{className:"sve-section_title tw-font-medium tw-text-neutral-10 tw-border-t tw-border-solid tw-border-neutral-10 tw-py-4 tw-flex tw-text-5xl tw-leading-4 tw-mb-1 md:tw-text-xl","doc-editable":"title",dangerouslySetInnerHTML:{__html:e}})}),s.jsx("div",{className:"sve-list tw-col-span-full",children:s.jsx(N,{attribute:"regionGroup",children:s.jsx("div",{className:"fp-article-group-small-list"})})}),s.jsx("div",{className:"sve-section_footer g-col-12 g-col-md-12",children:s.jsx("div",{className:"tw-flex tw-justify-center",children:s.jsx(N,{attribute:"sectionSubtitle",children:s.jsxs("p",{className:"tw-font-primary tw-mb-0 tw-py-0 tw-font-medium tw-inline-flex tw-items-center tw-gap-1 tw-text-neutral-10 tw-text-md tw-border-b tw-border-neutral-10 tw-border-solid [&>a]:tw-text-neutral-10","doc-editable":"subtitle",children:["Weitere „Heimat“ Artikel",s.jsx("img",{src:Vo,alt:""})]})})})})]})}),sg=C("sve-analytics-most-popular-list",()=>s.jsx(N,{attribute:"analyticsList",children:s.jsx("div",{className:""})})),ig=C("sve-manual-most-popular-list",()=>s.jsx(N,{attribute:"manualList",children:s.jsx("div",{className:"fp-article-group-small-list"})})),rg=C("sve-advertorial-teaser",()=>s.jsx("div",{className:"sve-advertorial-teaser",children:s.jsx("div",{className:"fp-article-group-small-main fp-section tw-px-4 tw-mb-15 tw-pb-0 lg:tw-mb-4 lg:tw-pb-4",children:s.jsx(N,{attribute:"regionGroup",children:s.jsx("div",{className:"fp-article-group-small-list"})})})})),ag=C("table",()=>s.jsx("div",{className:"tw-overflow-auto tw-border tw-w-full tw-border-neutral-80 tw-border-solid tw-rounded tw-mb-6 tw-text-left tw-mx-auto",children:s.jsx("div",{className:"[&>div]:tw-flex tw-w-full [&>div]:tw-justify-between",children:s.jsx(N,{attribute:"tableBody",children:s.jsx("div",{className:"tw-flex-col"})})})})),og=C("table-row",()=>s.jsx("div",{className:"[&>div]:tw-flex [&>div]:tw-justify-between [&_p]:odd:tw-bg-neutral-95 [&_p]:even:tw-bg-neutral-100 [&_p]:first:tw-font-medium [&_p]:first:tw-py-3 [&_p]:tw-py-2",children:s.jsx(N,{attribute:"tableRow",children:s.jsx("div",{})})})),lg=C("table-data",()=>s.jsx(N,{attribute:"tableData",children:s.jsx("p",{className:"tw-font-primary tw-border-b tw-border-solid tw-border-r last:tw-border-r-0 tw-border-neutral-80 tw-text-sm tw-leading-5 tw-mb-0 tw-p-2 tw-min-w-1/4 tw-basis-full sm:tw-min-w-[50%] tw-flex tw-items-center",children:"Daten"})})),cg=C("round-button",({content:t})=>{const[e,n]=f.useState(!1),i=b("",["register-banner-button"],t),r=b({},["link"],t);f.useEffect(()=>{n(document.getElementsByClassName("article_body").length>0)},[]);const a=e?"tw-px-0 tw-my-4":"sm:tw-px-4";return s.jsx("div",{className:`tw-my-0 md:tw-my-6 tw-max-w-wrapper-796 tw-mx-auto tw-text-center tw-mb-4 ${a}`,children:s.jsx(ve,{params:r,className:"tw-inline-flex tw-rounded tw-bg-primary-40 tw-transition-all tw-duration-200 tw-ease-in hover:tw-bg-primary-50 focus:tw-bg-primary-60 tw-cursor-pointer",children:s.jsx("span",{className:"tw-text-primary-100 sm:tw-px-3 tw-px-6 tw-py-2 tw-text-center sm:tw-text-xs md:tw-text-base tw-text-ellipsis",dangerouslySetInnerHTML:{__html:i}})})})}),dg=C("sve-topics-region-select-group",({content:t})=>{const e=f.useRef(null),[n,i]=f.useState(""),r=b("",["section-title"],t);return f.useEffect(()=>{if(e.current){const a=e.current?.querySelector("a")?.getAttribute("href");i(a)}},[e]),s.jsxs("div",{className:"tw-mb-15 tw-pb-0 tw-w-full tw-grid tw-gap-6 tw-grid-cold-12 grid",children:[s.jsx("div",{className:"tw-col-span-full",children:s.jsx("h3",{ref:e,className:"tw-flex tw-border-t tw-border-solid tw-text-primary-40 tw-font-primary tw-border-primary-40 tw-text-5xl tw-leading-[1] tw-mb-1 tw-py-4 tw-items-center md:tw-text-xl [&>a]:after:tw-content-arrowRightPrimary [&>a]:after:tw-w-5 md:[&>a]:after:tw-w-4 [&>a]:tw-relative [&>a]:after:tw-absolute [&>a]:after:tw-top-1/2 [&>a]:after:-tw-translate-y-1/2 [&>a]:tw-pr-3 [&>a]:after:-tw-right-4",dangerouslySetInnerHTML:{__html:r}})}),s.jsx("div",{className:"tw-col-span-full",children:s.jsx(N,{attribute:"sectionA",children:s.jsx("div",{})})}),s.jsx("div",{className:"tw-col-span-full",children:s.jsx(N,{attribute:"sectionB",children:s.jsx("div",{})})}),n?s.jsx(Yn,{className:"tw-mt-8 sm:tw-mt-3",link:n}):""]})}),ug=C("grid_2_columns",()=>{const n=(Bn()?.styles||{})["two-column-ratio"];let i,r;return n?(i=Number(n?.replace("ratio-","")),r=12-i):(i=6,r=6),s.jsxs("section",{className:"tw-grid tw-gri
20d-cols-12 tw-gap-8 sm:tw-gap-0 tw-mb-6 two-column-wrapper",children:[s.jsx("aside",{className:`tw-col-span-${i} sm:tw-col-span-full first-column`,children:s.jsx(N,{attribute:"containerOne",children:s.jsx("div",{})})}),s.jsx("aside",{className:`tw-col-span-${r} sm:tw-col-span-full second-column`,children:s.jsx(N,{attribute:"containerTwo",children:s.jsx("div",{})})})]})}),mg=C("grid_3_columns",()=>s.jsxs("section",{className:"tw-grid tw-grid-cols-12 tw-gap-8 sm:tw-gap-0 tw-mb-6",children:[s.jsx("aside",{className:"tw-col-span-4 sm:tw-col-span-full",children:s.jsx(N,{attribute:"containerOne",children:s.jsx("div",{})})}),s.jsx("aside",{className:"tw-col-span-4 sm:tw-col-span-full",children:s.jsx(N,{attribute:"containerTwo",children:s.jsx("div",{})})}),s.jsx("aside",{className:"tw-col-span-4 sm:tw-col-span-full",children:s.jsx(N,{attribute:"containerThree",children:s.jsx("div",{})})})]})),hg=C("grid_4_columns",()=>s.jsxs("section",{className:"tw-grid tw-grid-cols-12 tw-gap-8 sm:tw-gap-0 tw-mb-6",children:[s.jsx("aside",{className:"tw-col-span-3 sm:tw-col-span-full",children:s.jsx(N,{attribute:"containerOne",children:s.jsx("div",{})})}),s.jsx("aside",{className:"tw-col-span-3 sm:tw-col-span-full",children:s.jsx(N,{attribute:"containerTwo",children:s.jsx("div",{})})}),s.jsx("aside",{className:"tw-col-span-3 sm:tw-col-span-full",children:s.jsx(N,{attribute:"containerThree",children:s.jsx("div",{})})}),s.jsx("aside",{className:"tw-col-span-3 sm:tw-col-span-full",children:s.jsx(N,{attribute:"containerFour",children:s.jsx("div",{})})})]})),wg=C("sve-small-teaser",({content:t})=>{const e=b(null,["link"],t),n=b("",["title"],t),i=b("",["catchline"],t),r=b("",["location"],t),a=b("",["additionalDescription"],t),o=G.useContext(Dt)?.theme||"sch";return s.jsx("div",{className:"fp-article-group-small-main",children:s.jsx("div",{className:"fp-article-group-small tw-border-solid tw-border-t tw-border-neutral-90",children:s.jsx(K,{title:n,teaser:t["lead-paragraph"],link:e||"",image:H(t,"image","4:3"),mobileImage:H(t,"image","1:1"),catchline:i,location:r,showPaywallBridge:!1,additionalDescription:a,theme:o,type:"small",sizes:"(max-width: 768px) 90px, calc(998px / 3)",headerType:"p"},e?e.href:"")})})}),bc=({content:t})=>{const e=b(!1,["showImage"],t),n=b(!1,["showCatchline"],t),i=b("",["showTitle"],t),r=b("",["catchline"],t),a=b("",["section-title"],t);return s.jsx("div",{className:"sm:tw-max-w-full tw-mb-4 tw-flex tw-items-center sm:tw-w-full tw-p-4 sm:tw-float-none tw-border-neutral-90 tw-border-solid tw-border tw-pb-0 sm:tw:mb-4 sm:!tw-mx-0",children:s.jsxs("div",{className:"[&>*]:tw-clear-both [&>p]:tw-text-base [&>p]:tw-mb-3.5 [&>div>.list-content>li]:tw-text-base [&>div>.list-content>li]:tw-mb-3.5 [&>div>.list-content]:tw-py-0",children:[e?s.jsx("div",{className:"fp-image-wrapper",children:s.jsx("figure",{className:"fp-figure embed","data-component-name":"Image",children:s.jsx("div",{className:"fp-image-wrapper tw-mb-0",children:s.jsx(N,{attribute:"image",children:s.jsx(M.ImageV2,{className:"tw-w-[100px] tw-h-[100px] tw-object-cover tw-float-left tw-mr-4 tw-mb-4 [&>img]:!tw-w-[100px] [&>img]:!tw-h-[100px] [&>img]:tw-rounded [&>img]:tw-object-cover",imageWidth:100,imageHeight:100,sizes:"100px"})})})})}):null,n?s.jsx("span",{children:s.jsx("span",{className:"tw-text-primary-40 tw-text-body-md sm:tw-text-sm tw-inline-block tw-align-top !tw-leading-[1]",dangerouslySetInnerHTML:{__html:r}})}):null,i?s.jsx("span",{children:s.jsx("h4",{className:"tw-text-neutral-10 tw-text-xl !tw-clear-right tw-mb-4",dangerouslySetInnerHTML:{__html:a}})}):null,s.jsx(N,{attribute:"sectionA",children:s.jsx("div",{className:"tw-min-w-[300px] [&>p]:tw-text-base [&>p]:tw-mb-3.5 [&>.editor-only>ul>li]:tw-text-base [&>.editor-only>ul>li]:tw-p-0 [&>.editor-only>ul>li]:tw-mb-3.5 [&>.editor-only>ul]:tw-py-0"})})]})})},pg=C("infobox",bc),fg=C("infobox-p",bc),gg=C("sve-card",({content:t})=>{const e=b("",["section-title"],t),n=b("",["text"],t),i=b(!1,["showButton"],t),r=b({},["link"],t),a=b("",["register-banner-button"],t);
20return s.jsxs("div",{className:"tw-flex tw-flex-col tw-my-6 tw-rounded tw-overflow-hidden",children:[s.jsx(N,{attribute:"image",children:s.jsx(M.ImageV2,{className:"cards-teaser-image [&>img]:tw-w-full [&>img]:tw-aspect-video tw-object-cover [&>img]:tw-object-cover",sizes:"(max-width: 660px) 100vw, 660px"})}),s.jsxs("div",{className:"tw-p-4 tw-flex tw-flex-col tw-gap-4 tw-font-primary tw-bg-neutral-95",children:[s.jsx("h3",{className:"tw-text-md tw-mb-0 tw-font-primary tw-font-medium",dangerouslySetInnerHTML:{__html:e}}),s.jsx("p",{className:"tw-text-base tw-font-normal tw-font-primary tw-mb-0",dangerouslySetInnerHTML:{__html:n}}),i?s.jsx("div",{className:"tw-mt-auto",children:s.jsx(Ot,{params:r,label:a,size:"medium",variant:"primary",customClassName:"!tw-text-primary-100 !tw-no-underline"})}):null]})]})}),xg=C("sve-horizontal-card",({content:t})=>{const e=b("",["section-title"],t),n=b("",["text"],t),i=b(!1,["showButton"],t),r=b("",["register-banner-button"],t),a=b("",["link"],t);return s.jsxs("div",{className:"tw-flex tw-justify-end tw-relative sm:tw-static tw-my-6 sm:tw-flex-col tw-min-h-[200px] tw-rounded tw-overflow-hidden",children:[s.jsx(N,{attribute:"image",children:s.jsx(M.ImageV2,{className:"cards-teaser-image sm:tw-static sm:tw-h-[200px] tw-w-1/2 tw-absolute tw-top-0 tw-bottom-0 tw-left-0 [&>img]:tw-object-cover tw-object-cover [&>img]:tw-w-full [&>img]:tw-h-full tw-overflow-hidden sm:tw-w-full md:h-auto",sizes:"(max-width: 576px) 100vw, calc(998px / 2)"})}),s.jsxs("div",{className:"tw-p-4 tw-flex tw-flex-col tw-basis-1/2 tw-gap-4 tw-font-primary tw-bg-neutral-95",children:[s.jsx("h3",{className:"tw-text-md tw-font-primary tw-mb-0 tw-font-medium",dangerouslySetInnerHTML:{__html:e}}),s.jsx("p",{className:"tw-text-base tw-font-normal tw-font-primary tw-mb-0",dangerouslySetInnerHTML:{__html:n}}),i?s.jsx("div",{className:"tw-mt-auto",children:s.jsx(Ot,{size:"medium",params:a,children:s.jsx("span",{dangerouslySetInnerHTML:{__html:r}})})}):null]})]})}),bg=C("sve-overlay-card",({content:t})=>{const e=b("",["section-title"],t),n=b("",["text"],t),i=b(!1,["showButton"],t),r=b("",["register-banner-button"],t),a=b({},["link"],t);return s.jsxs("div",{className:"tw-relative tw-flex tw-flex-col tw-justify-end tw-my-6 tw-h-[360px]",children:[s.jsx(N,{attribute:"image",children:s.jsx(M.ImageV2,{className:"tw-cards-teaser-image tw-overflow-hidden tw-rounded [&>img]:tw-w-full [&>img]:tw-object-cover tw-absolute tw-w-full tw-inset-0 tw-h-full before:tw-absolute before:tw-content-empty before:tw-bg-overlay-card before:tw-w-full before:tw-h-full [&>img]:tw-h-full",sizes:"(max-width: 660px) 100vw, 660px"})}),s.jsxs("div",{className:"tw-flex tw-flex-col tw-p-4 tw-gap-2 tw-z-2",children:[s.jsx("h3",{className:"tw-text-neutral-100 tw-font-primary tw-text-xl tw-font-medium tw-mb-0",dangerouslySetInnerHTML:{__html:e}}),s.jsx("p",{className:"tw-text-neutral-100 tw-font-primary tw-text-sm tw-tracking-[0.25px] tw-font-normal tw-mb-0",dangerouslySetInnerHTML:{__html:n}}),i?s.jsx("div",{children:s.jsx(Ot,{params:a,size:"medium",variant:"primary",customClassName:"!tw-no-underline",children:s.jsx("span",{dangerouslySetInnerHTML:{__html:r}})})}):null]})]})}),Zs=0,Ks=1,Vn=2,Dn=3,Rn=4,yg=5,yc=6,vg=["preEnter","entering","entered","preExit","exiting","exited","unmounted"],jg=t=>({_s:t,status:vg[t],isEnter:t<Dn,isMounted:t!==yc,isResolved:t===Vn||t>Rn}),Ys=t=>t?yc:yg,Cg=(t,e)=>{switch(t){case Ks:case Zs:return Vn;case Rn:case Dn:return Ys(e)}},Tg=t=>typeof t=="object"?[t.enter,t.exit]:[t,t],Sg=(t,e)=>setTimeout(()=>{isNaN(document.body.offsetTop)||t(e+1)},0),js=(t,e,n,i,r,a)=>{clearTimeout(r);const o=jg(e),l=new Map(i.current);l.set(t,o),n(l),i.current=l,a&&a({key:t,current:o})},kg=({allowMultiple:t,enter:e=!0,exit:n=!0,preEnter:i,preExit:r,timeout:a,initialEntered:o,mountOnEnter:l,unmountOnExit:c,onStateChange:d}={})=>{const[m,u]=f.useState(new Map),h=f.useRef(m),w=f.useRef(new Map),[g,p]=Tg(a),x=f.useCallback((k,I)=>{const{initialEntered:V=o}=I||{},A=V?Vn:Ys(l);js(k,A,u,h),w.current.set(k,{})},[o,l]),y=f.useCallback(k=>{const I=new Map(h.current);return I.delete(k)?(u(I),h.current=I,w.current.delete(k),!0):!1},[]),v=f.useCallback(k=>{const I=h.current.get(k);if(!I)return;const{timeoutId:V}=w.current.get(k),A=Cg(I._s,c);A&&js(k,A,u,h,V,d)},[d,c]),S=f.useCallback((k,I)=>{const V=h.current.get(k);if(!V)return;const A=w.current.get(k),E=R=>
20{switch(js(k,R,u,h,A.timeoutId,d),R){case Ks:g>=0&&(A.timeoutId=setTimeout(()=>v(k),g));break;case Rn:p>=0&&(A.timeoutId=setTimeout(()=>v(k),p));break;case Zs:case Dn:A.timeoutId=Sg(E,R);break}},B=V.isEnter;typeof I!="boolean"&&(I=!B),I?B||(E(e?i?Zs:Ks:Vn),!t&&h.current.forEach((R,F)=>F!==k&&S(F,!1))):B&&E(n?r?Dn:Rn:Ys(c))},[d,v,t,e,n,i,r,g,p,c]),j=f.useCallback(k=>{if(!(!t&&k!==!1))for(const I of h.current.keys())S(I,k)},[t,S]);return{stateMap:m,toggle:S,toggleAll:j,endTransition:v,setItem:x,deleteItem:y}},fn=(t,e)=>t===!0||!!(t&&t[e]),Ng=({transition:t,transitionTimeout:e,...n}={})=>{const i=kg({timeout:e,enter:fn(t,"enter"),exit:fn(t,"exit"),preEnter:fn(t,"preEnter"),preExit:fn(t,"preExit"),...n});return{mountOnEnter:!!n.mountOnEnter,initialEntered:!!n.initialEntered,...i}},se="szh-accordion",Qi="szh-adn",vc=`data-${Qi}`,Xs=`data-${Qi}-btn`,jc=f.createContext({}),ie=(t,e,n)=>(i,r)=>{const a=e?`${t}__${e}`:t;let o=a;n&&Object.keys(n).forEach(c=>{const d=n[c];d&&(o+=` ${a}--${d===!0?c:`${c}-${d}`}`)});let l=typeof i=="function"?i(r):i;return typeof l=="string"&&(l=l.trim(),l&&(o+=` ${l}`)),o},Js=(t,e)=>{if(!e)return t;const n={...t};return Object.keys(e).forEach(i=>{const r=t[i],a=e[i];typeof a=="function"&&r?n[i]=(...o)=>{r(...o),a(...o)}:n[i]=a}),n},Lg=t=>s.jsx(jc.Provider,{...t}),Cs=t=>{do t=t.parentElement;while(t&&!t.hasAttribute(vc));return t},Da=(t,e,n)=>t?e>0?e-1:n-1:(e+1)%n,Ra=(t,e)=>{const{activeElement:n}=document;if(!n||!n.hasAttribute(Xs)||Cs(n)!==e.currentTarget)return;const i=e.currentTarget.querySelectorAll(`[${Xs}]`),{length:r}=i;for(let a=0;a<r;a++)if(i[a]===n){let o=Da(t,a,r);for(;Cs(i[a])!==Cs(i[o]);)o=Da(t,o,r);a!==o&&(e.preventDefault(),i[o].focus());break}},Ag=()=>({accordionProps:{[vc]:"",onKeyDown:e=>e.key==="ArrowUp"?Ra(!0,e):e.key==="ArrowDown"&&Ra(!1,e)}}),Cc=f.forwardRef(({providerValue:t,className:e,...n},i)=>{const{accordionProps:r}=Ag();return s.jsx(Lg,{value:t,children:s.jsx("div",{...Js(r,n),ref:i,className:ie(se)(e)})})});Cc.displayName="ControlledAccordion";const Tc=f.forwardRef(({allowMultiple:t,initialEntered:e,mountOnEnter:n,unmountOnExit:i,transition:r,transitionTimeout:a,onStateChange:o,...l},c)=>{const d=Ng({allowMultiple:t,initialEntered:e,mountOnEnter:n,unmountOnExit:i,transition:r,transitionTimeout:a,onStateChange:o});return s.jsx(Cc,{...l,ref:c,providerValue:d})});Tc.displayName="Accordion";let Pg=0;const Ig=()=>{const[t,e]=f.useState();return f.useEffect(()=>e(++Pg),[]),t&&`${Qi}-${t}`},Mg=G.useId||Ig,Eg=({state:t,toggle:e,disabled:n})=>{const i=Mg(),r=i&&i+"-",a={id:i,"aria-controls":r,"aria-expanded":t.isEnter,onClick:e};return n?a.disabled=!0:a[Xs]="",{buttonProps:a,panelProps:{id:r,"aria-labelledby":i,role:"region"}}},_g=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?f.useLayoutEffect:f.useEffect,Vg=({status:t,isResolved:e})=>{const[n,i]=f.useState(),r=f.useRef(null);return _g(()=>{(t==="preEnter"||t==="preExit")&&i(r.current.getBoundingClientRect().height)},[t]),[{height:t==="preEnter"||t==="exiting"?0:t==="entering"||t==="preExit"?n:void 0,overflow:e?void 0:"hidden"},r]};function Ba(t,e){typeof t=="function"?t(e):t.current=e}function $a(t,e){return f.useMemo(()=>t?e?n=>{Ba(t,n),Ba(e,n)}:t:e,[t,e])}const Dg=(t,e,n)=>{const{stateMap:i,mountOnEnter:r,initialEntered:a}=t,o=n??a;return i.get(e)||{status:o?"entered":r?"unmounted":"exited",isMounted:!r,isEnter:o,isResolved:!0}},Rg=()=>f.useContext(jc),Bg=({itemKey:t,initialEntered:e,disabled:n}={})=>{const i=f.useRef(null),r=Rg(),a=t??i.current,o=Dg(r,a,e),{setItem:l,deleteItem:c,toggle:d}=r;return f.useEffect(()=>{if(n)return;const m=t??i.current;return l(m,{initialEntered:e}),()=>void c(m)},[l,c,t,e,n]),{itemRef:i,state:o,toggle:f.useCallback(m=>d(a,m),[d,a])}},$g=t=>{const e=f.forwardRef(({itemKey:n,initialEntered:i,...r},a)=>s.jsx(t,{forwardedRef:a,...r,...Bg({itemKey:n,initialEntered:i,disabled:r.disabled})}));return e.displayName="WithAccordionItem",e},Oa=(t,e)=>typeof t=="function"?t(e):t,Sc=f.memo(({forwardedRef:t,itemRef:e,state:n,toggle:i,className:r,disabled:a,header:o,headingTag:l="h3",headingProps:c,buttonProps:d,contentProps:m,panelProps:u,children:h,...w})=>{const g={state:n,toggle:i,disabled:a},{buttonProps:p,panelProps:x}=Eg(g),[y,v]=Vg(n),S=$a(u?.ref,v),{status:j,isMounted:k,isEnter:I}=n;return s.jsxs("div",{...w,ref:$a(t,e),className:ie(se,"item",{status:j,expanded:I})(r,n),children:[s.jsx(l,{...c,style:{margin:0,...c?.style},className:ie(se,"item-heading")(c?.className,n),children:s.jsx("button",{...Js(p,d),type:"button",className:ie(se,"item-btn")(d?.className,n),children:Oa(o,g)})}),k&&s.jsx("div",{...m,style:{display:j==="exited"?"none":void 0,...y,...m?.style},className:ie(se,"item-content")(m?.className,n),children:s.jsx("div",{...Js(x,u),ref:S,className:ie(se,"item-panel")(u?.className,n),children:Oa(h,g)})})]})});Sc.displayName="AccordionItem";const Og=$g(Sc),zg=C("accordion",()=>s.jsx("div",{className:"tw-my-6 print:tw-hidden",children:s.jsx(Tc,{transition:!0,transitionTimeout:200,children:s.jsx(N,{attribute:"accordionItem",children:s.jsx("div",{})})})})),Fg="data:image/svg+xml,%3csvg%20width='10'%20height='2'%20viewBox='0%200%2010%202'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%20%3e%3cg%20clip-path='url(%23clip0_2550_2945)'%3e%3cpath%20d='M0.999674%201.66634C0.810786%201.66634%200.652341%201.60234%200.524341%201.47434C0.396786%201.34679%200.333008%201.18856%200.333008%200.999674C0.333008%200.810786%200.396786%200.652341%200.524341%200.524341C0.652341%200.396785%200.810786%200.333008%200.999674%200.333008H8.99967C9.18856%200.333008%209.34678%200.396785%209.47434%200.524341C9.60234%200.652341%209.66634%200.810786%209.66634%200.999674C9.66634%201.18856%209.60234%201.34679%209.47434%201.47434C9.34678%201.60234%209.18856%201.66634%208.99967%201.66634H0.999674Z'%20fill='%231C1B1F'%20/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2550_2945'%3e%3crect%20width='10'%20height='2'%20fill='white'%20/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Hg="data:image/svg+xml,%3csvg%20width='10'%20height='10'%20viewBox='0%200%2010%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%20%3e%3cg%20clip-path='url(%23clip0_2550_2947)'%3e%3cpath%20d='M5.0026%209.66927C4.81372%209.66927%204.65549%209.60527%204.52794%209.47727C4.39994%209.34972%204.33594%209.19149%204.33594%209.0026V5.66927H1.0026C0.813714%205.66927%200.65527%205.60527%200.52727%205.47727C0.399714%205.34972%200.335938%205.19149%200.335938%205.0026C0.335938%204.81372%200.399714%204.65527%200.52727%204.52727C0.65527%204.39972%200.813714%204.33594%201.0026%204.33594H4.33594V1.0026C4.33594%200.813714%204.39994%200.65527%204.52794%200.52727C4.65549%200.399714%204.81372%200.335938%205.0026%200.335938C5.19149%200.335938%205.34994%200.399714%205.47794%200.52727C5.60549%200.65527%205.66927%200.813714%205.66927%201.0026V4.33594H9.0026C9.19149%204.33594%209.34972%204.39972%209.47727%204.52727C9.60527%204.65527%209.66927%204.81372%209.66927%205.0026C9.66927%205.19149%209.60527%205.34972%209.47727%205.47727C9.34972%205.60527%209.19149%205.66927%209.0026%205.66927H5.66927V9.0026C5.66927%209.19149%205.60549%209.34972%205.47794%209.47727C5.34994%209.60527%205.19149%209.66927%205.0026%209.66927Z'%20fill='%23191C1E'%20/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2550_2947'%3e%3crect%20width='10'%20height='10'%20fill='white'%20/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Ug=C("accordion-item",({content:t})=>{const e=b("",["section-title"],t);return s.jsx("div",{children:s.jsx(Og,{header:({state:{isEnter:n}})=>s.jsxs(s.Fragment,{children:[s.jsx("span",{className:"tw-font-primary tw-font-medium tw-text-base tw-leading-5",dangerouslySetInnerHTML:{__html:e}}),n?s.jsx("img",{className:"tw-ml-auto tw-transition-transform tw-duration-200 tw-ease-out tw-w-3.5 tw-h-3.5",
20src:Fg,alt:"Text zuklappen"}):s.jsx("img",{className:"tw-ml-auto tw-transition-transform tw-duration-200 tw-ease-out tw-w-3.5 tw-h-3.5",src:Hg,alt:"Text aufklappen"})]}),buttonProps:{className:()=>"tw-flex tw-w-full tw-text-left tw-items-center"},className:"tw-border-solid tw-border-neutral-80 tw-border-b tw-py-3",contentProps:{className:"tw-transition-height tw-duration-200 tw-ease-out"},panelProps:{className:"tw-mt-2"},children:s.jsx("span",{className:"tw-transition-height tw-duration-200 tw-ease-out [&>*]:tw-text-base [&>*]:tw-font-secondary [&>*]:tw-font-normal [&>*]:tw-mb-0 [&>p]:tw-mx-0 [&>p]:tw-p-0",children:s.jsx(N,{className:"list-content",attribute:"list",children:s.jsx("ul",{})})})})})}),Wg=({content:t,image:e})=>{const[n,i]=f.useState(!0),r=f.useRef();f.useEffect(()=>{const d=r.current.querySelectorAll(".location-text")[0]?.innerHTML;i(d)});const a=b("",["catchline"],t),o=b("",["section-title"],t),l=b("",["location"],t),c=b("",["lead-paragraph"],t);return s.jsxs("div",{ref:r,className:"carousel-item tw-w-[calc(33.33%_-(2rem/3))] tw-snap-start sm:tw-w-[70%] tw-mb-4 tw-shrink-0 tw-bg-white tw-flex tw-flex-col tw-gap-2",children:[e&&s.jsx(M.ImageV2,{src:e,className:"tw-flex [&>img]:tw-w-full [&>img]:tw-aspect-5/3 [&>img]:tw-rounded tw-rounded-md [&>img]:tw-object-cover",sizes:"(max-width: 576px) 70vw, calc((660px - 2rem) / 3)"}),s.jsx("span",{className:"tw-text-body-md tw-text-primary-40 tw-break-words tw-inline-block tw-font-medium tw-tracking-wide",dangerouslySetInnerHTML:{__html:a}}),s.jsx("p",{className:"tw-text-md tw-font-medium tw-font-primary tw-mb-2",dangerouslySetInnerHTML:{__html:o}}),s.jsxs("div",{className:`carousel-item_location tw-flex tw-items-center tw-gap-x-2 tw-font-primary tw-font-medium tw-tracking-wider tw-text-xs ${n?"tw-block":"tw-hidden"}`,children:[s.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"11",height:"14",fill:"none",viewBox:"0 0 11 14",children:[s.jsx("path",{fill:"#757779",d:"M5.5 12.4q2-2 3.1-3.7 1-1.5 1-2.9 0-1.8-1.2-3.1a4 4 0 0 0-2.9-1.3 4 4 0 0 0-3 1.3q-1 1.2-1.1 3.1 0 1.4 1 3 1 1.5 3.1 3.6m0 1.6h-.3l-.2-.2q-2.6-2.3-3.8-4.3A7 7 0 0 1 0 5.8q0-2.6 1.7-4.2Q3.2 0 5.5 0q2.2 0 3.8 1.6Q11 3.2 11 5.8a7 7 0 0 1-1.2 3.7 22 22 0 0 1-4 4.4z"}),s.jsx("path",{fill:"#757779",d:"M6.5 7q-.4.3-1 .4-.6 0-1-.4t-.4-1q0-.7.4-1 .4-.5 1-.5t1 .4q.4.5.4 1 0 .7-.4 1"})]}),s.jsx("span",{className:"location-text tw-text-neutral-50 tw-font-normal tw-text-sm",dangerouslySetInnerHTML:{__html:l}})]}),s.jsx("p",{className:"tw-text-sm tw-font-normal tw-leading-5 tw-mb-0 tw-line-clamp-4",dangerouslySetInnerHTML:{__html:c}})]})},gn=t=>e=>e?.component===t,qg=Qc([[gn("carousel-item"),t=>[{content:t.content,component:"carousel-item"}]],[gn("carousel-list"),t=>t.containers?.manualList??[]],[gn("carousel-automatic-list"),t=>t.containers?.teaserList??[]],[gn("carousel-teaser"),t=>t.containers?.teaser??[]],[td,ei([])]]),Gg=ed(qg),Zg=C("carousel",()=>{const e=Bn()?.containers?.carouselContainer??[],n=Gg(e);return s.jsxs("div",{children:[s.jsx(N,{attribute:"sectionTitle",children:s.jsx("p",{className:"tw-text-neutral-10 tw-font-medium tw-mb-4 tw-font-primary tw-text-xl sm:tw-text-md",children:"Karusell titel"})}),s.jsx(Me,{children:n.map((i,r)=>{if(i.component==="carousel-item")return s.jsx(Wg,{content:i.content,image:i.content?.image?.originalUrl},r);const a=i?.content;return s.jsx("div",{className:"carousel-item tw-w-[calc(33.33%_-(2rem/3))] tw-snap-start sm:tw-w-[70%] tw-mb-4 tw-shrink-0 tw-bg-white",children:s.jsx(K,{title:a.title,date:a.date,teaser:a.teaser,link:a.link,image:H(a,"image"),mobileImage:H(a,"image"),location:a.location,catchline:a.catchline,contentType:a.contentType,categoryLabel:a.categoryLabel,theme:a.theme,showPaywallBadge:a.paywall==="premium",type:"large",sizes:"(max-width: 576px) 70vw, calc(998px / 3)",headerType:"p",additionalDescription:a.additionalDescription})},`${a.link}-${r}`)})})]})}),Kg=C("carousel-teaser",()=>s.jsx("div",{className:"carousel-item tw-w-[calc(33.33%_-(2rem/3))] tw-snap-start sm:tw-w-[70%] tw-mb-4 tw-shrink-0 [&_img]:tw-aspect-5/3 tw-bg-white",children:s.jsx(N,{attribute:"teaser",children:s.jsx("div",{})})})),Yg=C("carousel-list",()=>s.jsx(s.Fragment,{children:s.jsx(N,{attribute:"manualList",children:s.jsx(s.Fragment,{})})})),Xg=C("carousel-automatic-list",()=>s.jsx(s.Fragment,{children:s.jsx(N,{attribute:"regionGroup",children:s.jsx(s.Fragment,{})})})),Jg=C("how-to-container",({content:t})=>{const e=b("",["text"],t);return s.jsx(s.Fragment,{children:s.jsxs("div",{children:[s.jsx("span",{children:s.jsx("h3",{dangerouslySetInnerHTML:{__html:e}})}),s.jsx("section",{className:"tw-grid sm:tw-grid-cols-1 sm:tw-gap-0 tw-grid-cols-2 tw-gap-2",children:s.jsx(N,{attribute:"containerOne",children:s.jsx("div",{})})})]})})}),Qg=C("how-to-step",({content:t})=>{const e=b("",["text"],t),n=b("",["section-title"],t);return s.jsxs("div",{className:"tw-flex tw-flex-col tw-mb-6 tw-w-full",children:[s.jsx(N,{attribute:"image",children:s.jsx(M.ImageV2,{className:"cards-teaser-image tw-flex [&>img]:tw-rounded [&>img]:tw-w-full [&>
20img]:tw-object-cover",sizes:"(max-width: 576px) 100vw, 330px"})}),s.jsx("h3",{className:"tw-pt-4 tw-font-medium",dangerouslySetInnerHTML:{__html:n}}),s.jsx("p",{className:"tw-mb-2",dangerouslySetInnerHTML:{__html:e}}),s.jsx("div",{className:"[&>div]:tw-py-0 [&>div]:tw-mx-0 [&>div]:tw-my-2 [&>div]:sm:tw-px-0",children:s.jsx(N,{attribute:"containerOne",children:s.jsx("div",{})})})]})}),tx=C("sve-login-page-image",({content:t})=>{const e=b({},["link"],t);return s.jsxs("div",{children:[s.jsx("style",{children:`
21          img {
22            width: 100%;
23            height: auto;
24            display: block;
25            margin-top:30px;
26            border-radius: 0.25rem;
27            margin-bottom: 30px;
28          }
29        `}),s.jsx("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",overflow:"hidden"},children:s.jsx(ve,{params:e,style:{display:"flex",justifyContent:"center",width:"100%"},children:s.jsx("figure",{style:{margin:"0",padding:"0",maxWidth:"600px",textAlign:"center"},"data-component-name":"Image",children:s.jsx("div",{style:{height:"auto",margin:"0"},children:s.jsx(N,{style:{width:"100%",height:"auto",display:"block"},attribute:"image",children:s.jsx(M.ImageV2,{sizes:"(max-width: 600px) 100vw, 600px"})})})})})})]})}),ex=C("sve-login-page-container",()=>s.jsx("div",{children:s.jsx("div",{style:{fontFamily:"Ubuntu,sans-serif"},children:s.jsx(N,{attribute:"pageContainer",children:s.jsx("div",{})})})})),nx=C("paragraph-login-page",({content:t})=>{const e=b("",["text"],t);return s.jsx("div",{style:{placeItems:"center",textAlign:"center",width:"100%",marginBottom:"30px"},children:s.jsx("p",{style:{placeItems:"center",textAlign:"center",width:"100%"},dangerouslySetInnerHTML:{__html:e}})})}),sx=C("login-page-static-buttons",()=>s.jsxs("div",{style:{display:"flex",flexDirection:"column"},children:[s.jsx(N,{attribute:"paragraph",children:s.jsx("span",{style:{fontSize:"0.85rem",fontWeight:"500",marginBottom:"10px",textAlign:"center"},children:"Jetzt in der App"})}),s.jsx("div",{className:"app-buttons-container",style:{display:"flex",alignItems:"center",justifyContent:"center",gap:"8px",flexWrap:"wrap"},children:s.jsx(N,{attribute:"sectionA",children:s.jsx("div",{style:{display:"flex",justifyContent:"center"}})})})]})),ix=C("google-play-button",({content:t})=>{const e=b({},["link"],t);return s.jsx(ve,{params:e,id:"google-play-button",target:"_blank",rel:"noopener noreferrer",alt:"Google Play Store",children:s.jsx("div",{style:{borderRadius:"5px",justifyContent:"center",alignItems:"center",cursor:"pointer"},children:s.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"120",height:"40",fill:"none",viewBox:"0 0 120 40",children:[s.jsx("rect",{width:"119",height:"39",x:".5",y:".5",fill:"#000",rx:"5.5"}),s.jsx("rect",{width:"119",height:"39",x:".5",y:".5",stroke:"#a6a6a6",rx:"5.5"}),s.jsx("path",{fill:"#ea4335",d:"M17.8 19.46 8.1 30.01A2.6 2.6 0 0 0 10.63 32q.73 0 1.33-.37l.03-.02 10.93-6.45z"}),s.jsx("path",{fill:"#fbbc04",d:"M27.63 17.67v-.01l-4.73-2.8-5.32 4.84 5.34 5.46 4.7-2.77A2.7 2.7 0 0 0 29 20.02c0-1.01-.55-1.9-1.37-2.35"}),s.jsx("path",{fill:"#4285f4",d:"M8.09 10a3 3 0 0 0-.09.68v18.64q0 .36.09.69l10.05-10.28z"}),s.jsx("path",{fill:"#34a853",d:"m17.88 20 5.02-5.14-10.92-6.48q-.6-.37-1.35-.38c-1.22 0-2.24.84-2.54 1.99z"}),s.jsx("path",{fill:"#fff",d:"M38.47 15.16q-.8 0-1.4-.44-.6-.45-.83-1.22l.87-.36q.34 1.14 1.36 1.14.55 0 .9-.39.35-.4.35-1.03V7.84h.92v4.94q0 1.1-.59 1.75-.58.63-1.58.63m7.67-7.32v.88h-3.26v2.27h2.94v.86h-2.94v2.27h3.26V15h-4.18V7.84zm3.68.88V15h-.92V8.72h-2v-.88h4.92v.88zM57.3 15h-4.92v-.96l3.81-5.32h-3.65v-.88h4.72v.96l-3.8 5.32h3.84zm3.57-6.28V15h-.92V8.72h-2v-.88h4.92v.88zM66.03 15V7.84h2.59q.84 0 1.46.56.6.55.6 1.39 0 1.05-.96 1.49v.04a1.7 1.7 0 0 1 1.2 1.64q0 .88-.63 1.46t-1.53.58zm.92-6.28v2.19h1.67q.48 0 .82-.33.33-.34.33-.77 0-.42-.32-.76a1 1 0 0 0-.8-.33zm0 3.05v2.35h1.85q.5 0 .85-.35a1.15 1.15 0 0 0-.01-1.65 1.2 1.2 0 0 0-.88-.35zm9.2-3.93v.88h-3.27v2.27h2.94v.86h-2.94v2.27h3.26V15h-4.18V7.84zM78.3 15h-.92V7.84h.92zM93.52 31.41h1.63V20.4h-1.63zm14.67-7.05-1.87 4.78h-.05l-1.94-4.78h-1.76l2.9 6.68-1.65 3.7h1.7L110 24.37zm-9.24 5.8c-.53 0-1.28-.27-1.28-.94 0-.85.93-1.
2917 1.73-1.17.72 0 1.05.15 1.49.37a2 2 0 0 1-1.94 1.74m.2-6.04c-1.18 0-2.4.53-2.9 1.69l1.44.6c.3-.6.88-.8 1.49-.8.84 0 1.7.51 1.7 1.42v.11c-.29-.17-.92-.42-1.69-.42-1.56 0-3.14.86-3.14 2.48 0 1.47 1.27 2.42 2.7 2.42 1.1 0 1.7-.5 2.08-1.08h.06v.85h1.57v-4.22c0-1.96-1.44-3.05-3.31-3.05m-10.07 1.59h-2.31v-3.78h2.31A1.9 1.9 0 0 1 91 23.82c0 .85-.69 1.89-1.9 1.89m-.04-5.31h-3.9V31.4h1.63v-4.17h2.27c1.8 0 3.58-1.32 3.58-3.42s-1.77-3.42-3.58-3.42m-21.28 9.76c-1.13 0-2.07-.95-2.07-2.26s.94-2.28 2.07-2.28c1.1 0 1.98.97 1.98 2.28s-.87 2.26-1.98 2.26m1.87-5.18h-.06a2.6 2.6 0 0 0-1.95-.84 3.7 3.7 0 0 0-3.56 3.76 3.7 3.7 0 0 0 3.56 3.74c.88 0 1.59-.4 1.95-.85h.06v.54c0 1.43-.76 2.2-1.98 2.2-1 0-1.62-.73-1.87-1.34l-1.43.6c.41.99 1.5 2.21 3.3 2.21 1.9 0 3.53-1.14 3.53-3.9v-6.73h-1.55zm2.67 6.43h1.63V20.4H72.3zm4.04-3.63a2.05 2.05 0 0 1 1.94-2.19c.64 0 1.2.33 1.37.8zm5.06-1.25c-.31-.84-1.25-2.39-3.18-2.39-1.91 0-3.5 1.52-3.5 3.75 0 2.1 1.57 3.75 3.68 3.75 1.7 0 2.69-1.05 3.1-1.66l-1.27-.86c-.42.63-1 1.04-1.83 1.04q-1.24 0-1.8-1.13l4.97-2.08zm-39.55-1.24v1.6h3.77q-.17 1.32-.86 2a3.8 3.8 0 0 1-2.91 1.16 4.16 4.16 0 0 1-4.13-4.23 4.15 4.15 0 0 1 4.13-4.23 4 4 0 0 1 2.84 1.14l1.11-1.13c-.94-.9-2.2-1.6-3.95-1.6A5.87 5.87 0 0 0 36 25.82c0 3.2 2.67 5.82 5.85 5.82 1.72 0 3-.57 4.02-1.64a5.3 5.3 0 0 0 1.37-3.71q0-.56-.09-1zm9.67 4.87c-1.12 0-2.1-.94-2.1-2.27 0-1.35.98-2.27 2.1-2.27s2.1.92 2.1 2.27c0 1.33-.97 2.27-2.1 2.27m0-6.02a3.7 3.7 0 0 0-3.73 3.75 3.7 3.7 0 0 0 3.73 3.75 3.7 3.7 0 0 0 3.73-3.75 3.7 3.7 0 0 0-3.73-3.75m8.13 6.02c-1.13 0-2.1-.94-2.1-2.27 0-1.35.97-2.27 2.1-2.27s2.1.92 2.1 2.27c0 1.33-.97 2.27-2.1 2.27m0-6.02a3.7 3.7 0 0 0-3.73 3.75 3.7 3.7 0 0 0 3.73 3.75 3.7 3.7 0 0 0 3.73-3.75 3.7 3.7 0 0 0-3.73-3.75"})]})})})}),rx=C("app-store-button",({content:t})=>{const e=b({},["link"],t);return s.jsx(ve,{params:e,id:"app-store-button",target:"_blank",rel:"noopener noreferrer",alt:"Apple App Store",children:s.jsx("div",{style:{borderRadius:"5px",justifyContent:"center",alignItems:"center",cursor:"pointer"},children:s.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"120",height:"40",fill:"none",viewBox:"0 0 120 40",children:[s.jsx("rect",{width:"119",height:"39",x:".5",y:".5",fill:"#000",rx:"5.5"}),s.jsx("rect",{width:"119",height:"39",x:".5",y:".5",stroke:"#a6a6a6",rx:"5.5"}),s.jsx("path",{fill:"#fff",d:"M24.7 20.76a5.4 5.4 0 0 1 2.66-4.57 5.7 5.7 0 0 0-4.5-2.38c-1.9-.2-3.73 1.1-4.7 1.1s-2.47-1.08-4.07-1.05a6.1 6.1 0 0 0-5.05 3c-2.19 3.7-.56 9.12 1.53 12.1 1.05 1.46 2.27 3.1 3.87 3.04 1.57-.07 2.15-.98 4.04-.98 1.88 0 2.42.98 4.06.94 1.68-.03 2.74-1.47 3.75-2.94q1.13-1.58 1.71-3.4a5.4 5.4 0 0 1-2.4-1.95 5 5 0 0 1-.9-2.9M21.62 11.85A5.3 5.3 0 0 0 22.88 8c-1.4.14-2.7.8-3.62 1.83a5 5 0 0 0-1.3 3.7 4.7 4.7 0 0 0 3.66-1.68M40.43 13.63v.87h-3.64v-6h1v5.13zm2.32.94c-.9 0-1.52-.55-1.52-1.42 0-.82.57-1.37 1.64-1.37h1.18v-.44c0-.53-.34-.78-.88-.78-.53 0-.76.22-.84.53h-.92c.05-.78.64-1.3 1.8-1.3.99 0 1.8.4 1.8 1.56v3.15h-.92v-.6h-.04c-.21.35-.61.67-1.3.67m.3-.76c.56 0 1-.37 1-.88v-.5h-1.02c-.57 0-.82.29-.82.67 0 .49.4.71.84.71m4.97-4.02c.66 0 1.16.3 1.34.76h.05V8.2h.97v6.31h-.95v-.74h-.04c-.14.47-.7.8-1.38.8-1.07 0-1.76-.76-1.76-1.98v-.8c0-1.23.7-1.99 1.77-1.99m.28.8c-.65 0-1.06.49-1.06 1.33v.51c0 .85.41 1.33 1.08 1.33.66 0 1.09-.48 1.09-1.27v-.7c0-.72-.47-1.2-1.11-1.2m5.4 3.99c-1.27 0-2.06-.78-2.06-2.09v-.63c0-1.32.86-2.08 2-2.08 1.16 0 1.98.8 1.98 2.08v.55h-3.01v.23c0 .66.4 1.16 1.08 1.16.5 0 .86-.24.93-.53h.95c-.06.53-.63 1.3-1.88 1.3m-1.1-2.8h2.07v-.07c0-.7-.41-1.17-1.03-1.17s-1.03.47-1.03 1.17zm4.25 2.72V9.85h.96v.84h.05c.12-.36.46-.9 1.4-.9s1.56.51 1.56 1.57v3.14h-.98v-2.85c0-.71-.36-1.03-.91-1.03-.72 0-1.1.55-1.1 1.3v2.58zm7.38-6.04c0-.35.27-.6.64-.6.38 0 .65.25.65.6s-.27.59-.65.59c-.37 0-.64-.25-.64-.6m.16 6.04V9.85h.97v4.65zm2.54 0V9.85h.96v.76h.05c.1-.34.42-.83 1.27-.83.7 0 1.13.38 1.28.87h.04c.17-.43.62-.87 1.4-.87.96 0 1.52.55 1.52 1.46v3.26h-.97v-2.97c0-.59-.33-.93-.88-.93-.53 0-.93.4-.93 1.02v2.88h-.95v-2.94c0-.6-.36-.96-.9-.96-.52 0-.91.39-.91 1v2.9zM38.2 30.5h-2.02l4.13-12h2.23l4.12 12h-2.1l-1.07-3.32h-4.21zm3.23-9.92h-.08l-1.62 5.07h3.31zm10.83 10.05a2.9 2.9 0 0 1-2.6-1.42h-.08v4.38h-1.95V21.2h1.9v1.36h.07a3 3 0 0 1 2.7-1.48c2.1 0 3.58 1.57 3.58 4.35v.82c0 2.76-1.47 4.37-3.62 4.37m-.44-1.6c1.24 0 2.08-1 2.08-2.87v-.65c0-1.8-.8-2.83-2.12-2.83-1.36 0-2.21 1.1-2.21 2.82v.66c0 1.76.86 2.86 2.25 2.86m10.36 1.6a2.9 2.9 0 0 1-2.6-1.42h-.08v4.38h-1.95V21.2h1.9v1.36h.07a3 3 0 0 1 2.7-1.48c2.09 0 3.58 1.57 3.58 4.35v.82c0 2.76-1.47 4.37-3.62 4.37m-.45-1.6c1.24 0 2.09-1 2.09-2.87v-.65c0-1.8-.8-2.83-2.12-2.83-1.36 0-2.22 1.1-2.22 2.82v.66c0 1.76.87 2.86 2.25 2.86m8.1-1.86h1.96c.09 1.04 1 1.92 2.7 1.92 1.55 0 2.48-.73 2.48-1.86 0-.9
291-.62-1.4-1.9-1.71l-1.97-.5c-1.55-.36-2.94-1.28-2.94-3.23 0-2.3 2-3.55 4.34-3.55s4.27 1.26 4.31 3.5H76.9c-.1-1.02-.87-1.87-2.43-1.87-1.37 0-2.3.65-2.3 1.77 0 .78.54 1.35 1.66 1.6l1.96.48c1.8.44 3.17 1.3 3.17 3.33 0 2.36-1.9 3.69-4.62 3.69-3.34 0-4.46-1.95-4.5-3.57m11.51-5.96v-2.26h1.92v2.26h1.8v1.56h-1.8v4.96c0 1.01.37 1.3 1.42 1.3q.26 0 .44-.02v1.49c-.16.03-.53.06-.92.06-2.26 0-2.89-.8-2.89-2.67v-5.12h-1.28v-1.56zm9-.16c2.67 0 4.12 1.88 4.12 4.41v.75c0 2.62-1.44 4.45-4.12 4.45s-4.14-1.83-4.14-4.45v-.75c0-2.52 1.46-4.4 4.14-4.4m0 1.57c-1.45 0-2.18 1.18-2.18 2.87v.71c0 1.66.72 2.89 2.18 2.89 1.45 0 2.16-1.22 2.16-2.89v-.71c0-1.7-.71-2.87-2.16-2.87m5.77 7.88v-9.29h1.95v1.22h.07c.23-.58.93-1.35 2.22-1.35q.39 0 .66.05v1.72a4 4 0 0 0-.84-.07c-1.56 0-2.09.97-2.09 2.22v5.5zm9.63.16c-2.48 0-4.07-1.65-4.07-4.4v-.94c0-2.59 1.55-4.27 4-4.27 2.47 0 3.97 1.74 3.97 4.36v.89h-6.04v.22c0 1.56.84 2.6 2.17 2.6 1 0 1.67-.5 1.9-1.3h1.86c-.28 1.51-1.5 2.84-3.79 2.84m-2.14-5.72h4.13v-.02c0-1.32-.82-2.36-2.06-2.36s-2.07 1.04-2.07 2.36z"})]})})})}),ax=C("h2-login-page",({content:t})=>{const e=b("",["text"],t);return s.jsx("div",{style:{textAlign:"center",width:"100%",marginBottom:"30px"},children:s.jsx("h2",{dangerouslySetInnerHTML:{__html:e}})})}),za=at(xt(at(nd(["systemdata","content","metadata"]),b({},["data"]))),mt(at(Xa,ni,b({},["data"])))),ox=(t,e)=>at(mt(n=>Xa(sd(n,b([],["results"],t)))),b([],["results"]))(e),lx=Ya(xt),cx={total:0,results:[],data:[]};function dx(){const t=st(),e=b(null,["systemdata","documentId"],t),n=t?.ticker;console.log("[Ticker debug] document.ticker",n,{documentId:e});const[i,r]=f.useState(n||cx),[a,o]=f.useState(!1),l=f.useRef(null),c=f.useRef(null),d=20,m=f.useRef(!1),u=f.useRef(i);f.useEffect(()=>{u.current=i},[i]),f.useEffect(()=>{console.log("[Ticker debug] observer effect running",{loading:a,hasSentinel:!!l.current});const p=new IntersectionObserver(x=>{console.log("[Ticker debug] intersection callback",{isIntersecting:x[0].isIntersecting,loading:a}),x[0].isIntersecting&&!a&&h()},{rootMargin:"200px"});return l.current?p.observe(l.current):console.log("[Ticker debug] no sentinel to observe (hasMore is false or ref not attached yet)"),()=>p.disconnect()},[a]);const h=async()=>{if(console.log("[Ticker debug] loadMoreItems called",{isFetching:m.current,resultsLength:u.current.results.length}),m.current||!u.current.results.length){console.log("[Ticker debug] loadMoreItems bailing: guard hit");return}m.current=!0,o(!0);try{const p=u.current;if(p.data.length>=p.total){console.log("[Ticker debug] loadMoreItems bailing: all loaded",{dataLength:p.data.length,total:p.total});return}const x=p.results.filter(j=>!p.data.some(k=>k.systemdata.documentId===j));if(console.log("[Ticker debug] remaining ids to load",x),x.length===0){console.log("[Ticker debug] loadMoreItems bailing: remaining is empty");return}const y=x.slice(0,d);console.log("[Ticker debug] fetching composition for ids",y);const v=await Promise.all(xt(fr,y));console.log("[Ticker debug] composition fetch results",v);const S=za(v);console.log("[Ticker debug] newData after pickProps",S),r(j=>({...j,data:[...j.data,...S]}))}catch(p){console.error("Error fetching more:",p)}finally{m.current=!1,o(!1)}},w=async()=>{try{const p=await J0(e),x=u.current,y=ox(x,p);if(y.length>0){const v=await Promise.all(xt(fr,y)),S=za(v);r(j=>({...j,results:p.results,total:p.total,data:[...S,...j.data]})),setTimeout(()=>{c.current?.scrollIntoView({behavior:"smooth",block:"start"})},100)}}catch(p){console.error("Error refreshing ticker:",p)}};f.useEffect(()=>{if(!e)return;const p=setInterval(()=>{w()},3e4);return()=>clearInterval(p)},[e]);const g=i.data.length<i.total;return console.log("[Ticker debug] render",{total:i.total,resultsLength:i.results.length,dataLength:i.data.length,hasMore:g}),t?!n||n.total===0?(console.log("[Ticker debug] bailing: no ticker on document, or ticker.total === 0"),null):s.jsxs(s.Fragment,{children:[at(lx((p,x)=>s.jsx("div",{className:"ticker-wrap last:tw-border-0 tw-border-b tw-border-solid tw-mt-6 tw-border-neutral-80",ref:x===0?c:null,children:s.jsx(Ha,{document:p})},p?.systemdata?.documentId||`ticker-${x}`)),mt(at(Boolean,b(!1,["systemdata","documentId"]))),b([],["data"]))(i),g&&s.jsx("div",{ref:l,"aria-hidden":"true"})]}):(console.log("[Ticker debug] bailing: useDepictDocument() returned falsy"),null)}const ux=C("sve-ticker",()=>s.jsx(s.Fragment,{children:s.jsx(dx,{})})),mx=C("sve-article-info-catchline",()=>{const t=st(),e=at(Ka("premium"),b("",["metadata","paywall"]))(t),n=G.useContext(Dt)?.theme||"sch";return s.jsxs(s.Fragment,{children:[e?s.jsxs(s.Fragment,{children:[" ",s.jsx("div",{className:"tw-inline-flex tw-align-sub tw-mr-2",children:n==="nkr"?s.jsx("img",{alt:"",src:Gn}):s.jsx("img",{alt:"",src:Zn})})]}
29):null,s.jsx(M.Catchline,{catchlineType:"p",className:"tw-text-primary-40 tw-font-primary tw-mb-0 tw-text-label-md md:tw-text-label-sm tw-inline-flex"})]})}),hx=C("sve-article-info-title",()=>s.jsx(s.Fragment,{children:s.jsx(M.MainTitle,{attribute:"title",className:"tw-text-headline-lg [&>a]:tw-text-neutral-10 tw-pt-3 sm:tw-text-headline-sm tw-break-words"})})),wx=t=>at(xt(b(null,["metadata","label"])),mt(ye(t,"id"))),px=C("sve-article-info-location",({content:t})=>{const e=st(),n=b("",["location"],t),i=b([],["metadata","tenants"],e),r=b([],["metadata","topics","documents"],e),a=b("",["metadata","readTime"],e),o=b(null,["0","category"],i),l=wx(o)(r);return s.jsxs("p",{className:"tw-text-neutral-10 tw-text-body-md tw-mt-2 tw-font-primary tw-mb-6 sm:tw-mb-4",children:[n?s.jsx("span",{className:"tw-text-neutral-10 tw-tracking-wider tw-font-primary tw-text-body-sm tw-uppercase",dangerouslySetInnerHTML:{__html:n}}):s.jsx("span",{className:"tw-text-neutral-10 tw-tracking-wider tw-font-primary tw-text-body-sm",dangerouslySetInnerHTML:{__html:l}})," ",s.jsx("span",{className:"tw-text-body-sm",children:"•"})," ",s.jsxs("span",{className:"tw-text-neutral-10 tw-tracking-wider tw-uppercase tw-text-body-sm tw-font-primary",children:["Lesedauer: ",s.jsx(s.Fragment,{children:a})," min."]})]})}),fx=C("sve-article-info-image",()=>{const t=st(),e=b(null,["metadata","teaserImage"],t);return s.jsxs(s.Fragment,{children:[s.jsx("div",{className:"article-info-skyscraper-wrapper",children:s.jsx(zt,{placeholderId:"netpoint-skyscraper-1"})}),e?s.jsxs("figure",{className:"fp-article-info-image tw-text-[0]",children:[s.jsxs("div",{className:"tw-min-h-[578px] lg:tw-min-h-[56.25vw]",children:[s.jsx(N,{attribute:"image",children:s.jsx(M.ImageV2,{decoding:"sync",fetchpriority:"high",imageWidth:1028,imageHeight:578,type:"large",className:"tw-inline-flex [&>img]:tw-w-full [&>img]:tw-rounded [&>img]:tw-object-cover [&>img]:tw-aspect-video",sizes:"(max-width: 1030px) 100vw, 1030px"})}),s.jsx(Kn,{})]}),s.jsxs("figcaption",{className:"tw-max-w-[660px] md:tw-px-4 tw-mx-auto tw-text-left",children:[s.jsx(M.ImageCaption,{attribute:"caption",className:"tw-text-neutral-10 tw-text-[15px]"}),s.jsxs("div",{className:"tw-text-neutral-10 tw-inline tw-text-[15px]",children:[" ","(Foto:"," ",s.jsx(M.ImageSource,{attribute:"source",className:"tw-text-neutral-10"}),")"]})]})]}):null]})}),gx=C("sve-article-info-lead",()=>s.jsx(s.Fragment,{children:s.jsx(M.LeadParagraph,{attribute:"lead-paragraph",className:"tw-text-title-md sm:tw-text-md tw-mt-3 sm:tw-mt-2"})})),xx=C("sve-mini-page-image",()=>s.jsx(N,{attribute:"image",children:s.jsx(M.ImageV2,{className:"[&>img]:tw-w-full tw-col-span-6 tw-rounded tw-object-cover tw-inline-block tw-overflow-hidden tw-w-full",imageWidth:288,imageHeight:216,sizes:"640px"})})),bx=C("sve-mini-page-title",()=>s.jsx(N,{attribute:"paragraph",children:s.jsx("span",{className:"tw-text-label-md tw-mb-4 tw-block tw-line-clamp-2",children:"Title"})})),yx=C("sve-mini-page-catchline",()=>s.jsx(N,{attribute:"paragraph",children:s.jsx("span",{className:"tw-text-label-sm tw-block tw-mb-1 tw-text-tertiary-10",children:"Catchline"})})),vx=C("sve-mini-page-paragraph",()=>s.jsx(N,{attribute:"paragraph",children:s.jsx("span",{className:"tw-text-body-md tw-block tw-mb-3 tw-text-tertiary-10"})})),jx=C("sve-mini-page-ctabutton",({content:t})=>{const e=b({},["link"],t),n=b("",["register-banner-button"],t);return s.jsx(Ot,{variant:"secondary",size:"medium",params:e,customClassName:"tw-mt-3",children:s.jsx("span",{dangerouslySetInnerHTML:{__html:n}})})}),Cx=C("sve-mini-page-container",()=>s.jsx("div",{children:s.jsx(N,{attribute:"pageContainer",children:s.jsx("div",{})})})),Tx=C("newsticker",()=>s.jsx("div",{className:"fp-article-group-small-list tw-mb-4 [&:has(+.component-border-top)>div]:tw-border-b-0",children:s.jsxs("div",{className:"tw-flex tw-flex-col tw-gap-2 tw-pb-4 tw-border-y tw-border-y-neutral-10 tw-border-solid tw-pt-5",children:[s.jsxs("div",{className:"tw-flex tw-justify-between tw-items-center",children:[s.jsx("p",{className:"tw-flex tw-text-headline-md tw-text-neutral-10 tw-mb-0 tw-font-primary sm:tw-text-title-lg",children:"Das Neueste"}),s.jsx(Ot,{variant:"textOnly",size:"large",label:"Alle anzeigen",to:"/newsticker/",className:"tr-back-to-home !tw-px-0"})]}),s.jsx("div",{className:"tw-flex tw-overflow-x-auto md:tw-pb-4 tw-gap-4 [-ms-overflow-style:none] [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",children:s.jsx(N,{attribute:"regionGroup",children:s.jsx("div",{className:"tw-flex tw-gap-4 tw-overflow-x-auto md:tw-pb-4 [-ms-overflow-style:none] [scrollbar-width:none] [&::-webkit-scrollbar]:hidden"})})})]})})),Sx=vt("article-attrigutes",_("author-name","editable",{plainText:!0,excludeFromTextCount:!0}),_("catchline","editable"),_("subtitle","editable"),_("lead-paragraph","editable"),_("title","editable"),_("publish-date","editable"),_("update-date","editable"),_("date","editable"),_("text","editable"),_("article_header","container"),_("article_body","container"),_("list","container"),_("teaserList","include"),_("author","editable"),_("teaser","include"),_("embed","include"),_("categoryList","include"),_("related-articles","container"),_("paywall_cards","container"),_("paywall_details","container"),_("register-banner-button","editable"),_("paywall-banner-secondary-text","editable"),_("contributorEmail","editable"),_("contributorPhone","editable"),_("contributorLink","editable"),_("section-title","editable"),_("ctaTitle","editable"),_("ctaParagraph","editable"),_("ctaBtn","editable"),_("ctaLabel","editable"),_("ctaLink","editable"),_("location","editable"),_("showCaption","toggle"),_("tableHeader","container"),_("tableBody","container"),_("tableRow","container"),_("tableData","editable"),_("container_one","container"),_("container_two","container"),_("container_three","container"),_("container_four","container"),_("showImage","toggle"),_("showTitle","toggle"),_("showCatchline","toggle"),_("showContainer","toggle")),kx=vt("page-attrigutes",_("categoryHeaders","include"),_("page_body","container"),_("sectionA","container"),_("sectionB","container"),_("sectionC","container"),_("header","editable"),_("paywallSubscriptionBoxContainer","container"),_("section-title","editable"),_("select-label","editable"),_("regionOptions","include"),_("relatedTopics","include"),_("popular-list-title","editable"),_("oembedDirective","
29include"),_("section-subtitle","editable"),_("free-html","html"),_("link","link"),_("showChip","toggle"),_("showCaption","toggle"),_("analyticsData","include"),_("manualList","include"),_("sectionATitle","editable"),_("sectionBTitle","editable"),_("sectionCTitle","editable"),_("listGroup","container"),_("listGroupItem","editable"),_("accordionItem","container"),_("carouselContainer","container"),_("showButton","toggle")),Nx=vt("image-attributes",_("image","image"),_("caption","editable"),_("source","editable")),Lx=vt("teaser-attrigutes",_("teaserCategoryLink","editable")),Ax=vt("attributes",Sx,kx,Nx,Lx),Px=[P0,M0,mx,hx,px,fx,gx,k0,Bm,Wm,L0,xg,pg,fg,V0,D0,ag,og,lg,_0,bg,gg,A0,Q1,pm,fm,Xm,ug,mg,hg,ux,G1,Jg,Qg,Zg,Kg,Yg,Xg,zg,Ug,dm,um,cm,r0,a0,cg,Gu,Zu,im,Tm,Sm,ig,qu,eg,w0,Xu,kd,Nd,zu,Hu,Ku,Yu,sm,rm,lm,mm,hm,wm,Nm,Lm,Am,qm,Gm,ax,tx,ex,nx,sx,wg,b0,y0,dg,rg,sg,X1,m0,t0,s0,p0,tg,J1,Y1,K1,Z1,h0,N0,Jm,e0,n0,S0,x0,f0,d0,ng,Vm,i0,u0,T0,ix,rx,xx,bx,yx,vx,jx,Cx,Tx,ph,bh,vh,z0,gh,Sh,hh,Ch,T1,k1,L1,P1,M1,D1,B1,z1,q1],Ix=vt("template-components",...Px),c3=vt("sve-design-unit",Mc,Ix,Ic({}),Pc(()=>{}),Ax);export{Od as $,K as A,no as B,bm as C,_o as D,kn as E,Sn as F,Kx as G,yt as H,_m as I,xd as J,Dt as K,jm as L,Io as M,H1 as N,n3 as O,me as P,Bo as Q,gd as R,i3 as S,H0 as T,dn as U,Fx as V,zt as W,Tn as X,Gx as Y,bd as Z,zx as _,Wx as a,t3 as a0,Zx as a1,Xx as a2,Bx as a3,c3 as a4,qx as a5,Yx as a6,Ym as a7,Ja as a8,Do as b,r3 as c,e3 as d,o3 as e,s3 as f,a3 as g,bt as h,ut as i,Ot as j,V1 as k,vm as l,ym as m,eo as n,ys as o,_d as p,Md as q,ne as r,$0 as s,Ed as t,Ox as u,so as v,Jx as w,H as x,Qx as y,lo as z};

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.