PageSourceSearch

https://bildung.vds.de/assets/root-xjjZQCkR.js

js vds.de collected 2026-10-02 10:40:12 UTC 5,301 bytes, 1 lines download raw bytes

1import{w as b,t as w,v as y,j as t,q as x,k as j,u as E,r as c,M as S,x as v,O as C,S as T,y as _}from"./vendor-react-C0V4k5TI.js";import{t as N,bm as k,bn as D,H as l,T as p,bo as A,bp as L,bq as B,br as H,bs as I,bt as P,bu as F,bv as q,bw as R,bx as O}from"./app-common-CkgX2N8J.js";import{b as M}from"./vendor-sentry-Dp9OaPNx.js";import"./vendor-i18n-BrvI76NV.js";import"./vendor-floating-ui-B-JdPKDr.js";import"./vendor-dayjs-BbPr0rQ-.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new n.Error().stack;e&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[e]="a530cd0d-8952-4092-b774-cf9df5f730ef",n._sentryDebugIdIdentifier="sentry-dbid-a530cd0d-8952-4092-b774-cf9df5f730ef")}catch{}})();const V=N({slots:{htmlElementStyles:"bg-white overflow-x-clip",bodyElementStyles:["overflow-x-hidden max-w-screen text-black mx-auto hyphens-auto","selection:text-turquoise-light selection:bg-brand-blue"],mainElementStyles:""}}),{htmlElementStyles:G,bodyElementStyles:$}=V(),se={lang:n=>n.lang,breadcrumb:{text:"Startseite",pathname:"/"},i18n:"common"},U={maxStep:0,items:[],containsSelectableDiscounts:!1},J=async({serverLoader:n})=>{const[e,s,o]=await Promise.all([n(),fetch("/api/me",{credentials:"include"}).then(a=>a.json()),fetch("/shopping-cart-api",{credentials:"include"}).then(a=>a.json())]);return{...e,user:s.user,shoppingCart:o.shoppingCart}};J.hydrate=!0;function ne({data:n}){const{metaTitle:e,metaDescription:s,debug:o}=n,a=[{charset:"UTF-8"},{title:e},{name:"description",content:s},{name:"viewport",content:"width=device-width, initial-scale=1.0, viewport-fit=cover"}];return o&&a.push({name:"robots",content:"noindex, nofollow"}),a}const ae=()=>[{rel:"icon",href:k},{rel:"stylesheet",href:D},{rel:"preload",href:"/locales/de/common.json",as:"fetch",crossOrigin:"anonymous"},{rel:"preload",href:"/locales/de/home.json",as:"fetch",crossOrigin:"anonymous"},{rel:"preload",as:"image",href:"/image/hero__hero_courses.png?width=1200&quality=80&format=webp",type:"image/webp"},{rel:"preload",as:"image",href:"/image/hero__hero_company-seminar.png?width=1200&quality=80&format=webp",type:"image/webp"}],oe=w(function({error:e}){return y(e)?t.jsxs("section",{children:[t.jsxs(l.H1,{children:[e.status," ",e.statusText]}),t.jsx(p,{as:"p",children:e.data})]}):e instanceof Error?(console.error(e),M(e),t.jsxs("section",{children:[t.jsx(l.H1,{children:"Es ist ein Fehler aufgetreten"}),t.jsx(p,{as:"p",children:"Bitte versuchen Sie es später erneut."})]})):t.jsx(l.H1,{children:"Unknown Error"})}),re=b(function(){const e=x(),s=j({key:"shopping-cart"}),{i18n:o}=E(),[a,r]=c.useState(e.shoppingCart??U);return c.useEffect(()=>{e.shoppingCart&&r(e.shoppingCart)},[e.shoppingCart]),c.useEffect(()=>{var i;(i=s.data)!=null&&i.shoppingCart&&r(s.data.shoppingCart)},[s.data]),c.useEffect(()=>{Q(e.debug),K(e.ENV.GTM_ID),z(e.ENV.CHATBASE_ID)},[e.ENV.GTM_ID,e.debug,e.ENV.CHATBASE_ID]),c.useEffect(()=>{e.chatbaseToken&&typeof window<"u"&&window.chatbase&&window.chatbase("identify",{token:e.chatbaseToken})},[e.chatbaseToken]),t.jsxs("html",{lang:e.locale,dir:o.dir(),"data-theme":"light",className:G(),children:[t.jsxs("head",{children:[t.jsx(S,{}),t.jsx(v,{}),t.jsx("script",{dangerouslySetInnerHTML:{__html:`window.ENV = ${JSON.stringify(e.ENV)}; window.CHATBASE_TOKEN = ${JSON.stringify(e.chatbaseToken)};`}})]}),t.jsxs("body",{className:$(),children:[e.ENV.GTM_ID&&t.jsx("noscript",{children:t.jsx("iframe",{title:"Google Tag Manager",src:`https://www.googletagmanager.com/ns.html?id=${e.ENV.GTM_ID}`,height:"0",width:"0",style:{display:"none",visibility:"hidden"}})}),t.jsx(A,{featureFlags:e.featureFlags,children:t.jsx(L,{locations:e.locations,debug:e.debug,children:t.jsx(B,{user:e.user??void 0,children:t.jsx(H,{children:t.jsx(I,{shoppingCart:a,children:t.jsx(P,{children:t.jsx(F,{header:t.jsx(R,{}),footer:t.jsx(q,{image:e.footerImage}),children:t.jsx(C,{})})})})})})})}),t.jsx(T,{}),t.jsx(O,{}),t.jsx(_,{})]})]})});let u=!1;function K(n){!n||u||(((e,s,o,a,r)=>{var h;e.dataLayer||(e.dataLayer=[]),e.dataLayer.push({"gtm.start":Date.now(),event:"gtm.js"});const i=s.getElementsByTagName(o)[0],d=s.createElement(o),g="";d.async=!0,d.src=`https://www.googletagmanager.com/gtm.js?id=${r}${g}`,(h=i==null?void 0:i.parentNode)==null||h.insertBefore(d,i)})(window,document,"script","dataLayer",n),u=!0)}let m=!1;function Q(n){m||(((e,s,o)=>{var i;const a=e.createElement(s);a.id=o,a.src="https://web.cmp.usercentrics.eu/ui/loader.js",a.setAttribute("data-settings-id","HHxRQr-FRLBbw-"),a.setAttribute("data-cmp-version","2.0.0");const r=e.getElementsByTagName(s)[0];(i=r==null?void 0:r.parentNode)==null||i.insertBefore(a,r)})(document,"script","usercentrics-cmp"),m=!0)}let f=!1;function z(n){if(!n||f)return;if(typeof window<"u"){const s=(...o)=>{s.q||(s.q=[]),s.q.push(o)};window.chatbase=new Proxy(s,{get(o,a){return a==="q"?o.q:(...r)=>o(a,...r)}})}const e=()=>{const s=document.createElement("script");s.src="https://www.chatbase.co/embed.min.js",s.id=n,s.setAttribute("domain","www.chatbase.co"),document.body.appendChild(s)};document.readyState==="complete"?e():window.addEventListener("load",e),f=!0}export{oe as ErrorBoundary,J as clientLoader,re as default,se as handle,ae as links,ne as meta};

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.