import{_ as p,i as l,G as _,B as f,r as e,o as t,a as i,w as n,p as c}from"./main-DtyiNRRn.js";const m={name:"CookieDeclaration",components:{ComponentWrapper:l,GridContainerFi:_,LoadingIndicator:f},data(){return{isMounted:!1}},mounted(){if(this.isMounted=!0,this.$fischer.cookieBotId()&&this.$refs.cookieDeclaration){const o=document.createElement("script");o.type="text/javascript",o.setAttribute("src",`https://consent.cookiebot.com/${this.$fischer.cookieBotId()}/cd.js`),o.async=!0,this.$refs.cookieDeclaration.appendChild(o)}else console.info("No CookieBot ID defined for this site")}},k={class:"fi-col-start-1 fi-col-end-13 md:fi-col-start-2 md:fi-col-end-12"},u={ref:"cookieDeclaration",class:"cookie-declaration-fi__content richtext-fi"};function h(o,$,C,B,s,x){const a=e("grid-container-fi"),r=e("loading-indicator"),d=e("component-wrapper");return t(),i(d,{class:"cookie-declaration-fi"},{default:n(()=>[s.isMounted?(t(),i(a,{key:0},{default:n(()=>[c("div",k,[c("div",u,null,512)])]),_:1})):(t(),i(r,{key:1,variant:"spinnerLocal"}))]),_:1})}const g=p(m,[["render",h]]);export{g as default};